@oinone/kunlun-vue-admin-layout 6.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/README.md +1 -0
- package/dist/oinone-kunlun-vue-admin-layout.css +1 -0
- package/dist/oinone-kunlun-vue-admin-layout.esm.js +12049 -0
- package/dist/oinone-kunlun-vue-admin-layout.scss +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/src/basic/MaskWidget.d.ts +17 -0
- package/dist/types/src/basic/index.d.ts +2 -0
- package/dist/types/src/basic/register/index.d.ts +1 -0
- package/dist/types/src/basic/register/manager.d.ts +7 -0
- package/dist/types/src/basic/token/BaseMaskWidget.d.ts +55 -0
- package/dist/types/src/basic/token/index.d.ts +1 -0
- package/dist/types/src/component/app-switcher/AppSwitcher.vue.d.ts +84 -0
- package/dist/types/src/component/app-switcher/AppSwitcherMask.vue.d.ts +61 -0
- package/dist/types/src/component/app-switcher/AppSwitcherWidget.d.ts +33 -0
- package/dist/types/src/component/app-switcher/index.d.ts +3 -0
- package/dist/types/src/component/breadcrumb/BreadcrumbWidget.d.ts +33 -0
- package/dist/types/src/component/breadcrumb/DefaultBreadcrumb.vue.d.ts +58 -0
- package/dist/types/src/component/breadcrumb/index.d.ts +2 -0
- package/dist/types/src/component/debug/Debug.vue.d.ts +11 -0
- package/dist/types/src/component/debug/DebugWidget.d.ts +8 -0
- package/dist/types/src/component/debug/constants.d.ts +2 -0
- package/dist/types/src/component/debug/index.d.ts +6 -0
- package/dist/types/src/component/debug/spi/DebugMaskEditor.d.ts +6 -0
- package/dist/types/src/component/debug/spi/DebugRouterInitializeService.d.ts +4 -0
- package/dist/types/src/component/debug/spi/index.d.ts +1 -0
- package/dist/types/src/component/debug/typing.d.ts +159 -0
- package/dist/types/src/component/debug/view/DebugMainView.vue.d.ts +28 -0
- package/dist/types/src/component/debug/view/DebugMainViewWidget.d.ts +9 -0
- package/dist/types/src/component/debug/view/components/DebugDefaultInfo.vue.d.ts +22 -0
- package/dist/types/src/component/debug/view/components/DebugJsonView.vue.d.ts +26 -0
- package/dist/types/src/component/debug/view/components/DebugRequestInfoPanel.vue.d.ts +22 -0
- package/dist/types/src/component/debug/view/components/DebugResponsePanel.vue.d.ts +12 -0
- package/dist/types/src/component/debug/view/debug-api/DebugApi.vue.d.ts +52 -0
- package/dist/types/src/component/debug/view/debug-api/DebugApiWidget.d.ts +32 -0
- package/dist/types/src/component/debug/view/debug-utils.d.ts +44 -0
- package/dist/types/src/component/debug/view/debug-view/DebugView.vue.d.ts +78 -0
- package/dist/types/src/component/debug/view/debug-view/DebugViewWidget.d.ts +26 -0
- package/dist/types/src/component/debug/view/index.d.ts +5 -0
- package/dist/types/src/component/debug/view/service/DebugRuntimeContextService.d.ts +18 -0
- package/dist/types/src/component/debug/view/service/DebugStackInfoService.d.ts +27 -0
- package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugDefaultRuntimeContextService.d.ts +6 -0
- package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeActionService.d.ts +7 -0
- package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeDslService.d.ts +6 -0
- package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeFieldService.d.ts +7 -0
- package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeLayoutService.d.ts +6 -0
- package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeMaskService.d.ts +6 -0
- package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeTemplateService.d.ts +6 -0
- package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeViewService.d.ts +6 -0
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugBizStackService.d.ts +6 -0
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugConfigureService.d.ts +4 -0
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugDefaultStackInfoService.d.ts +8 -0
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugExceptionStackService.d.ts +6 -0
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugFunctionService.d.ts +4 -0
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugHalfBizStackService.d.ts +6 -0
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugModelService.d.ts +4 -0
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugPureBizStackService.d.ts +6 -0
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugStacktraceGqlRequestContextService.d.ts +6 -0
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugStacktraceSceneAnalysisService.d.ts +7 -0
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugStacktraceSessionService.d.ts +6 -0
- package/dist/types/src/component/debug/view/service/index.d.ts +20 -0
- package/dist/types/src/component/debug/view/storage.d.ts +19 -0
- package/dist/types/src/component/debug/view/useDebugRequestInfo.d.ts +7 -0
- package/dist/types/src/component/divider/Divider.vue.d.ts +2 -0
- package/dist/types/src/component/divider/DividerWidget.d.ts +4 -0
- package/dist/types/src/component/divider/index.d.ts +1 -0
- package/dist/types/src/component/index.d.ts +14 -0
- package/dist/types/src/component/language/DefaultLanguage.vue.d.ts +34 -0
- package/dist/types/src/component/language/LanguageWidget.d.ts +16 -0
- package/dist/types/src/component/language/index.d.ts +1 -0
- package/dist/types/src/component/layout/BaseMaskLayoutWidget.d.ts +4 -0
- package/dist/types/src/component/layout/MaskBlock.vue.d.ts +24 -0
- package/dist/types/src/component/layout/block/MaskBlockWidget.d.ts +4 -0
- package/dist/types/src/component/layout/block/index.d.ts +1 -0
- package/dist/types/src/component/layout/container/MaskContainerWidget.d.ts +4 -0
- package/dist/types/src/component/layout/container/index.d.ts +1 -0
- package/dist/types/src/component/layout/content/MaskContentWidget.d.ts +7 -0
- package/dist/types/src/component/layout/content/index.d.ts +1 -0
- package/dist/types/src/component/layout/grid/Grid.vue.d.ts +2 -0
- package/dist/types/src/component/layout/grid/GridWidget.d.ts +9 -0
- package/dist/types/src/component/layout/grid/index.d.ts +1 -0
- package/dist/types/src/component/layout/header/MaskHeaderWidget.d.ts +4 -0
- package/dist/types/src/component/layout/header/index.d.ts +1 -0
- package/dist/types/src/component/layout/index.d.ts +9 -0
- package/dist/types/src/component/layout/mask/MaskRootWidget.d.ts +4 -0
- package/dist/types/src/component/layout/mask/index.d.ts +1 -0
- package/dist/types/src/component/layout/sidebar/MaskSidebarWidget.d.ts +10 -0
- package/dist/types/src/component/layout/sidebar/index.d.ts +1 -0
- package/dist/types/src/component/layout/widget/MaskCommonWidget.d.ts +14 -0
- package/dist/types/src/component/layout/widget/index.d.ts +1 -0
- package/dist/types/src/component/menu/DefaultMenu.vue.d.ts +115 -0
- package/dist/types/src/component/menu/DefaultSubMenu.vue.d.ts +17 -0
- package/dist/types/src/component/menu/MenuWidget.d.ts +71 -0
- package/dist/types/src/component/menu/index.d.ts +3 -0
- package/dist/types/src/component/multi-tabs/MultiTabs.vue.d.ts +151 -0
- package/dist/types/src/component/multi-tabs/MultiTabsWidget.d.ts +60 -0
- package/dist/types/src/component/multi-tabs/index.d.ts +2 -0
- package/dist/types/src/component/multi-tabs/typing.d.ts +6 -0
- package/dist/types/src/component/notification/DefaultNotification.vue.d.ts +61 -0
- package/dist/types/src/component/notification/NotificationWidget.d.ts +139 -0
- package/dist/types/src/component/notification/index.d.ts +2 -0
- package/dist/types/src/component/order-statistic/OrderStatistic.vue.d.ts +8 -0
- package/dist/types/src/component/order-statistic/index.d.ts +14 -0
- package/dist/types/src/component/partner-switcher/PartnerSwitcher.vue.d.ts +28 -0
- package/dist/types/src/component/partner-switcher/PartnerSwitcherWidget.d.ts +15 -0
- package/dist/types/src/component/partner-switcher/index.d.ts +6 -0
- package/dist/types/src/component/partner-switcher/service/PartnerSwitcherService.d.ts +17 -0
- package/dist/types/src/component/partner-switcher/service/impl/PartnerSwitcherServiceImpl.d.ts +17 -0
- package/dist/types/src/component/partner-switcher/service/index.d.ts +2 -0
- package/dist/types/src/component/partner-switcher/session/PartnerInfoSession.d.ts +26 -0
- package/dist/types/src/component/partner-switcher/session/impl/DefaultPartnerInfoSession.d.ts +15 -0
- package/dist/types/src/component/partner-switcher/session/index.d.ts +2 -0
- package/dist/types/src/component/partner-switcher/spi/PartnerSwitcherMaskEditor.d.ts +6 -0
- package/dist/types/src/component/partner-switcher/spi/index.d.ts +1 -0
- package/dist/types/src/component/partner-switcher/typing/index.d.ts +1 -0
- package/dist/types/src/component/partner-switcher/typing/partner.d.ts +20 -0
- package/dist/types/src/component/quick-search/QuickSearch.vue.d.ts +29 -0
- package/dist/types/src/component/quick-search/index.d.ts +24 -0
- package/dist/types/src/component/user/DefaultUser.vue.d.ts +39 -0
- package/dist/types/src/component/user/UserWidget.d.ts +16 -0
- package/dist/types/src/component/user/index.d.ts +1 -0
- package/dist/types/src/config/DebugConfig.d.ts +16 -0
- package/dist/types/src/config/PartnerSwitcherConfig.d.ts +16 -0
- package/dist/types/src/config/index.d.ts +2 -0
- package/dist/types/src/index.d.ts +10 -0
- package/dist/types/src/service/index.d.ts +5 -0
- package/dist/types/src/service/menu-service.d.ts +12 -0
- package/dist/types/src/service/message-service.d.ts +16 -0
- package/dist/types/src/service/module-service.d.ts +7 -0
- package/dist/types/src/service/top-bar-service.d.ts +10 -0
- package/dist/types/src/service/user-service.d.ts +4 -0
- package/dist/types/src/spi/index.d.ts +1 -0
- package/dist/types/src/spi/mask-editor.d.ts +54 -0
- package/dist/types/src/tags/Block.vue.d.ts +5 -0
- package/dist/types/src/tags/Breadcrumb.vue.d.ts +5 -0
- package/dist/types/src/tags/Container.vue.d.ts +5 -0
- package/dist/types/src/tags/Content.vue.d.ts +5 -0
- package/dist/types/src/tags/Header.vue.d.ts +5 -0
- package/dist/types/src/tags/Mask.vue.d.ts +5 -0
- package/dist/types/src/tags/MultiTabs.vue.d.ts +5 -0
- package/dist/types/src/tags/Sidebar.vue.d.ts +5 -0
- package/dist/types/src/tags/Widget.vue.d.ts +5 -0
- package/dist/types/src/tags/context/context.d.ts +8 -0
- package/dist/types/src/tags/context/index.d.ts +1 -0
- package/dist/types/src/tags/index.d.ts +6 -0
- package/dist/types/src/tags/mixin/MaskWidgetTagMixin.d.ts +2 -0
- package/dist/types/src/tags/mixin/index.d.ts +3 -0
- package/dist/types/src/tags/mixin/typing.d.ts +6 -0
- package/dist/types/src/tags/mixin/use-mask-widget-tag.d.ts +38 -0
- package/dist/types/src/tags/register/index.d.ts +1 -0
- package/dist/types/src/tags/register/manager.d.ts +9 -0
- package/dist/types/src/tags/resolve/index.d.ts +2 -0
- package/dist/types/src/tags/resolve/internal/index.d.ts +2 -0
- package/dist/types/src/tags/resolve/internal/typing.d.ts +5 -0
- package/dist/types/src/tags/resolve/internal/widget-resolve.d.ts +3 -0
- package/dist/types/src/tags/resolve/typing.d.ts +26 -0
- package/dist/types/src/tags/resolve/widget-resolve.d.ts +5 -0
- package/dist/types/src/template/default-mask.d.ts +2 -0
- package/dist/types/src/template/index.d.ts +6 -0
- package/dist/types/src/theme/index.d.ts +1 -0
- package/dist/types/src/typing/constant.d.ts +1 -0
- package/dist/types/src/typing/index.d.ts +3 -0
- package/dist/types/src/typing/menu.d.ts +12 -0
- package/dist/types/src/typing/stream-symble.d.ts +12 -0
- package/dist/types/src/util/HomepageUtils.d.ts +3 -0
- package/dist/types/src/util/MenuUtil.d.ts +5 -0
- package/dist/types/src/util/index.d.ts +3 -0
- package/dist/types/src/util/unauthorized-action.d.ts +14 -0
- package/dist/types/src/utils.d.ts +86 -0
- package/index.ts +1 -0
- package/package.json +47 -0
- package/rollup.config.js +33 -0
- package/src/basic/MaskWidget.ts +74 -0
- package/src/basic/index.ts +2 -0
- package/src/basic/register/index.ts +1 -0
- package/src/basic/register/manager.ts +17 -0
- package/src/basic/token/BaseMaskWidget.ts +187 -0
- package/src/basic/token/index.ts +1 -0
- package/src/component/app-switcher/AppSwitcher.vue +133 -0
- package/src/component/app-switcher/AppSwitcherMask.vue +237 -0
- package/src/component/app-switcher/AppSwitcherWidget.ts +152 -0
- package/src/component/app-switcher/index.ts +3 -0
- package/src/component/breadcrumb/BreadcrumbWidget.ts +167 -0
- package/src/component/breadcrumb/DefaultBreadcrumb.vue +95 -0
- package/src/component/breadcrumb/index.ts +2 -0
- package/src/component/debug/Debug.vue +28 -0
- package/src/component/debug/DebugWidget.ts +38 -0
- package/src/component/debug/constants.ts +3 -0
- package/src/component/debug/index.ts +6 -0
- package/src/component/debug/spi/DebugMaskEditor.ts +19 -0
- package/src/component/debug/spi/DebugRouterInitializeService.ts +21 -0
- package/src/component/debug/spi/index.ts +1 -0
- package/src/component/debug/typing.ts +191 -0
- package/src/component/debug/view/DebugMainView.vue +206 -0
- package/src/component/debug/view/DebugMainViewWidget.ts +42 -0
- package/src/component/debug/view/components/DebugDefaultInfo.vue +31 -0
- package/src/component/debug/view/components/DebugJsonView.vue +107 -0
- package/src/component/debug/view/components/DebugRequestInfoPanel.vue +129 -0
- package/src/component/debug/view/components/DebugResponsePanel.vue +66 -0
- package/src/component/debug/view/components/runtime-context/DebugRuntimeFieldComponent.vue +29 -0
- package/src/component/debug/view/debug-api/DebugApi.vue +225 -0
- package/src/component/debug/view/debug-api/DebugApiWidget.ts +400 -0
- package/src/component/debug/view/debug-utils.ts +114 -0
- package/src/component/debug/view/debug-view/DebugView.vue +331 -0
- package/src/component/debug/view/debug-view/DebugViewWidget.ts +181 -0
- package/src/component/debug/view/index.ts +6 -0
- package/src/component/debug/view/service/DebugRuntimeContextService.ts +21 -0
- package/src/component/debug/view/service/DebugStackInfoService.ts +33 -0
- package/src/component/debug/view/service/impl/runtime-context/DebugDefaultRuntimeContextService.ts +16 -0
- package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeActionService.ts +28 -0
- package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeDslService.ts +16 -0
- package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeFieldService.ts +33 -0
- package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeLayoutService.ts +16 -0
- package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeMaskService.ts +30 -0
- package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeTemplateService.ts +16 -0
- package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeViewService.ts +16 -0
- package/src/component/debug/view/service/impl/stack-info/DebugBizStackService.ts +19 -0
- package/src/component/debug/view/service/impl/stack-info/DebugConfigureService.ts +6 -0
- package/src/component/debug/view/service/impl/stack-info/DebugDefaultStackInfoService.ts +62 -0
- package/src/component/debug/view/service/impl/stack-info/DebugExceptionStackService.ts +19 -0
- package/src/component/debug/view/service/impl/stack-info/DebugFunctionService.ts +6 -0
- package/src/component/debug/view/service/impl/stack-info/DebugHalfBizStackService.ts +19 -0
- package/src/component/debug/view/service/impl/stack-info/DebugModelService.ts +6 -0
- package/src/component/debug/view/service/impl/stack-info/DebugPureBizStackService.ts +19 -0
- package/src/component/debug/view/service/impl/stack-info/DebugStacktraceGqlRequestContextService.ts +22 -0
- package/src/component/debug/view/service/impl/stack-info/DebugStacktraceSceneAnalysisService.ts +35 -0
- package/src/component/debug/view/service/impl/stack-info/DebugStacktraceSessionService.ts +19 -0
- package/src/component/debug/view/service/index.ts +22 -0
- package/src/component/debug/view/storage.ts +35 -0
- package/src/component/debug/view/useDebugRequestInfo.ts +17 -0
- package/src/component/divider/Divider.vue +15 -0
- package/src/component/divider/DividerWidget.ts +12 -0
- package/src/component/divider/index.ts +1 -0
- package/src/component/index.ts +15 -0
- package/src/component/language/DefaultLanguage.vue +111 -0
- package/src/component/language/LanguageWidget.ts +72 -0
- package/src/component/language/index.ts +1 -0
- package/src/component/layout/BaseMaskLayoutWidget.ts +12 -0
- package/src/component/layout/MaskBlock.vue +31 -0
- package/src/component/layout/block/MaskBlockWidget.ts +17 -0
- package/src/component/layout/block/index.ts +1 -0
- package/src/component/layout/container/MaskContainerWidget.ts +13 -0
- package/src/component/layout/container/index.ts +1 -0
- package/src/component/layout/content/MaskContentWidget.ts +41 -0
- package/src/component/layout/content/index.ts +1 -0
- package/src/component/layout/grid/Grid.vue +10 -0
- package/src/component/layout/grid/GridWidget.ts +62 -0
- package/src/component/layout/grid/index.ts +1 -0
- package/src/component/layout/header/MaskHeaderWidget.ts +13 -0
- package/src/component/layout/header/index.ts +1 -0
- package/src/component/layout/index.ts +9 -0
- package/src/component/layout/mask/MaskRootWidget.ts +13 -0
- package/src/component/layout/mask/index.ts +1 -0
- package/src/component/layout/sidebar/MaskSidebarWidget.ts +31 -0
- package/src/component/layout/sidebar/index.ts +1 -0
- package/src/component/layout/widget/MaskCommonWidget.ts +95 -0
- package/src/component/layout/widget/index.ts +1 -0
- package/src/component/menu/DefaultMenu.vue +252 -0
- package/src/component/menu/DefaultSubMenu.vue +68 -0
- package/src/component/menu/MenuWidget.ts +349 -0
- package/src/component/menu/index.ts +3 -0
- package/src/component/menu/style/common.scss +411 -0
- package/src/component/menu/style/index.scss +2 -0
- package/src/component/menu/style/menu-theme/index.scss +5 -0
- package/src/component/menu/style/menu-theme/theme2.scss +37 -0
- package/src/component/menu/style/menu-theme/theme3.scss +59 -0
- package/src/component/menu/style/menu-theme/theme4.scss +56 -0
- package/src/component/menu/style/menu-theme/theme5.scss +45 -0
- package/src/component/menu/style/menu-theme/theme6.scss +45 -0
- package/src/component/menu/style/mixin.scss +23 -0
- package/src/component/multi-tabs/MultiTabs.vue +475 -0
- package/src/component/multi-tabs/MultiTabsWidget.ts +450 -0
- package/src/component/multi-tabs/index.ts +2 -0
- package/src/component/multi-tabs/style/index.scss +217 -0
- package/src/component/multi-tabs/style/mixin.scss +13 -0
- package/src/component/multi-tabs/style/parameters.scss +2 -0
- package/src/component/multi-tabs/style/theme1.scss +92 -0
- package/src/component/multi-tabs/style/theme2.scss +89 -0
- package/src/component/multi-tabs/style/theme3.scss +60 -0
- package/src/component/multi-tabs/style/theme4.scss +85 -0
- package/src/component/multi-tabs/typing.ts +7 -0
- package/src/component/notification/DefaultNotification.vue +455 -0
- package/src/component/notification/NotificationWidget.ts +332 -0
- package/src/component/notification/index.ts +2 -0
- package/src/component/order-statistic/OrderStatistic.vue +12 -0
- package/src/component/order-statistic/index.ts +146 -0
- package/src/component/partner-switcher/PartnerSwitcher.vue +75 -0
- package/src/component/partner-switcher/PartnerSwitcherWidget.ts +70 -0
- package/src/component/partner-switcher/index.ts +6 -0
- package/src/component/partner-switcher/service/PartnerSwitcherService.ts +20 -0
- package/src/component/partner-switcher/service/impl/PartnerSwitcherServiceImpl.ts +48 -0
- package/src/component/partner-switcher/service/index.ts +2 -0
- package/src/component/partner-switcher/session/PartnerInfoSession.ts +32 -0
- package/src/component/partner-switcher/session/impl/DefaultPartnerInfoSession.ts +46 -0
- package/src/component/partner-switcher/session/index.ts +2 -0
- package/src/component/partner-switcher/spi/PartnerSwitcherMaskEditor.ts +24 -0
- package/src/component/partner-switcher/spi/index.ts +1 -0
- package/src/component/partner-switcher/typing/index.ts +1 -0
- package/src/component/partner-switcher/typing/partner.ts +22 -0
- package/src/component/quick-search/QuickSearch.vue +34 -0
- package/src/component/quick-search/index.ts +237 -0
- package/src/component/style/index.scss +4 -0
- package/src/component/style/layout.scss +229 -0
- package/src/component/user/DefaultUser.vue +92 -0
- package/src/component/user/UserWidget.ts +129 -0
- package/src/component/user/index.ts +1 -0
- package/src/config/DebugConfig.ts +30 -0
- package/src/config/PartnerSwitcherConfig.ts +30 -0
- package/src/config/index.ts +2 -0
- package/src/index.ts +11 -0
- package/src/service/index.ts +5 -0
- package/src/service/menu-service.ts +105 -0
- package/src/service/message-service.ts +65 -0
- package/src/service/module-service.ts +69 -0
- package/src/service/top-bar-service.ts +144 -0
- package/src/service/user-service.ts +10 -0
- package/src/shim-translate.d.ts +7 -0
- package/src/shim-vue.d.ts +6 -0
- package/src/spi/index.ts +1 -0
- package/src/spi/mask-editor.ts +102 -0
- package/src/tags/Block.vue +16 -0
- package/src/tags/Breadcrumb.vue +16 -0
- package/src/tags/Container.vue +16 -0
- package/src/tags/Content.vue +16 -0
- package/src/tags/Header.vue +16 -0
- package/src/tags/Mask.vue +16 -0
- package/src/tags/MultiTabs.vue +16 -0
- package/src/tags/Sidebar.vue +16 -0
- package/src/tags/Widget.vue +16 -0
- package/src/tags/context/context.ts +24 -0
- package/src/tags/context/index.ts +1 -0
- package/src/tags/index.ts +48 -0
- package/src/tags/mixin/MaskWidgetTagMixin.ts +79 -0
- package/src/tags/mixin/index.ts +3 -0
- package/src/tags/mixin/typing.ts +8 -0
- package/src/tags/mixin/use-mask-widget-tag.ts +172 -0
- package/src/tags/register/index.ts +1 -0
- package/src/tags/register/manager.ts +43 -0
- package/src/tags/resolve/index.ts +2 -0
- package/src/tags/resolve/internal/index.ts +2 -0
- package/src/tags/resolve/internal/typing.ts +6 -0
- package/src/tags/resolve/internal/widget-resolve.ts +57 -0
- package/src/tags/resolve/typing.ts +39 -0
- package/src/tags/resolve/widget-resolve.ts +64 -0
- package/src/template/default-mask.ts +51 -0
- package/src/template/index.ts +26 -0
- package/src/theme/index.ts +1 -0
- package/src/typing/constant.ts +3 -0
- package/src/typing/index.ts +3 -0
- package/src/typing/menu.ts +15 -0
- package/src/typing/stream-symble.ts +14 -0
- package/src/util/HomepageUtils.ts +41 -0
- package/src/util/MenuUtil.ts +18 -0
- package/src/util/index.ts +3 -0
- package/src/util/unauthorized-action.ts +98 -0
- package/src/utils.ts +716 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Constructor } from '@oinone/kunlun-shared';
|
|
2
|
+
import { getWidgetNotNull, RenderWidget, ViewWidget, VueWidget } from '@oinone/kunlun-vue-widget';
|
|
3
|
+
import { BaseMaskOptions, BaseMaskWidget, BaseMaskWidgetProps } from '../../../basic';
|
|
4
|
+
import { InternalMaskWidget } from '../typing';
|
|
5
|
+
import { DslDefinitionTypeProps } from './typing';
|
|
6
|
+
|
|
7
|
+
function createNormalItem(
|
|
8
|
+
widgets: VueWidget[],
|
|
9
|
+
parentHandle: string,
|
|
10
|
+
props: BaseMaskWidgetProps,
|
|
11
|
+
consumer: (parentWidget: VueWidget) => VueWidget
|
|
12
|
+
) {
|
|
13
|
+
const parentWidget = getWidgetNotNull(parentHandle);
|
|
14
|
+
const currentWidget = consumer(parentWidget);
|
|
15
|
+
widgets.push(currentWidget);
|
|
16
|
+
return currentWidget;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export function createMaskWidgetByDslNodeType(props: DslDefinitionTypeProps): RenderWidget | undefined {
|
|
20
|
+
const { parentHandle, dslNodeType, widget } = props;
|
|
21
|
+
let options: BaseMaskOptions;
|
|
22
|
+
if (dslNodeType === InternalMaskWidget.Widget) {
|
|
23
|
+
options = { dslNodeType };
|
|
24
|
+
} else {
|
|
25
|
+
options = { dslNodeType, widget };
|
|
26
|
+
}
|
|
27
|
+
let usingViewWidget = false;
|
|
28
|
+
let constructor: Constructor<BaseMaskWidget> | Constructor<ViewWidget> | undefined = BaseMaskWidget.Selector(options);
|
|
29
|
+
if (!constructor) {
|
|
30
|
+
constructor = ViewWidget.Selector({
|
|
31
|
+
tagName: dslNodeType,
|
|
32
|
+
widget
|
|
33
|
+
});
|
|
34
|
+
if (constructor) {
|
|
35
|
+
usingViewWidget = true;
|
|
36
|
+
} else {
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
let widgetRef: VueWidget | undefined;
|
|
41
|
+
const widgets: VueWidget[] = [];
|
|
42
|
+
const widgetInstance = createNormalItem(widgets, parentHandle, props, (parentWidget) => {
|
|
43
|
+
if (usingViewWidget) {
|
|
44
|
+
widgetRef = parentWidget.createWidget(constructor as Constructor<ViewWidget>, undefined, {
|
|
45
|
+
dslNode: props
|
|
46
|
+
});
|
|
47
|
+
} else {
|
|
48
|
+
widgetRef = parentWidget.createWidget(constructor as Constructor<BaseMaskWidget>, undefined, props);
|
|
49
|
+
}
|
|
50
|
+
return widgetRef;
|
|
51
|
+
});
|
|
52
|
+
return {
|
|
53
|
+
handle: widgetInstance.getHandle(),
|
|
54
|
+
widget: widgetRef!,
|
|
55
|
+
widgets
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { DslDefinition } from '@oinone/kunlun-dsl';
|
|
2
|
+
import { BaseMaskWidgetProps } from '../../basic';
|
|
3
|
+
|
|
4
|
+
export interface CreateMaskWidgetProps extends BaseMaskWidgetProps {
|
|
5
|
+
automatic?: boolean;
|
|
6
|
+
template?: DslDefinition;
|
|
7
|
+
parentHandle: string;
|
|
8
|
+
slotName?: string;
|
|
9
|
+
slotContext?: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export enum InternalMaskWidget {
|
|
13
|
+
/**
|
|
14
|
+
* 根标签
|
|
15
|
+
*/
|
|
16
|
+
Mask = 'mask',
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* 通用组件
|
|
20
|
+
*/
|
|
21
|
+
Widget = 'widget',
|
|
22
|
+
|
|
23
|
+
// region 布局组件
|
|
24
|
+
|
|
25
|
+
Header = 'header',
|
|
26
|
+
Container = 'container',
|
|
27
|
+
Content = 'content',
|
|
28
|
+
Block = 'block',
|
|
29
|
+
|
|
30
|
+
// endregion
|
|
31
|
+
|
|
32
|
+
// region 功能性组件
|
|
33
|
+
|
|
34
|
+
Sidebar = 'sidebar',
|
|
35
|
+
Breadcrumb = 'breadcrumb',
|
|
36
|
+
MultiTabs = 'multi-tabs'
|
|
37
|
+
|
|
38
|
+
// endregion
|
|
39
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { CastHelper } from '@oinone/kunlun-shared';
|
|
2
|
+
import { RenderWidget } from '@oinone/kunlun-vue-widget';
|
|
3
|
+
import { unref } from 'vue';
|
|
4
|
+
import { BaseMaskWidgetProps } from '../../basic';
|
|
5
|
+
import { defaultMaskContext } from '../context';
|
|
6
|
+
import { createMaskWidgetByDslNodeType } from './internal';
|
|
7
|
+
import { InternalMaskWidget } from './typing';
|
|
8
|
+
|
|
9
|
+
export type CreateMaskWidgetFunction<T extends BaseMaskWidgetProps = BaseMaskWidgetProps> = (
|
|
10
|
+
props: T
|
|
11
|
+
) => RenderWidget | undefined;
|
|
12
|
+
|
|
13
|
+
export function createMaskWidget(tag: string, props: BaseMaskWidgetProps): RenderWidget | undefined {
|
|
14
|
+
const fn = createMaskWidgetFunctionMap.get(tag);
|
|
15
|
+
if (!fn) {
|
|
16
|
+
console.error(`Invalid mask tag. value = ${tag}`);
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
Object.keys(defaultMaskContext).forEach((key) => {
|
|
20
|
+
const value = props[key];
|
|
21
|
+
if (key in props) {
|
|
22
|
+
props[key] = unref(value);
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
if (props.automatic == null) {
|
|
26
|
+
props.automatic = true;
|
|
27
|
+
}
|
|
28
|
+
return fn(props);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
const createMaskWidgetFunctionMap = new Map<string, CreateMaskWidgetFunction>();
|
|
32
|
+
|
|
33
|
+
export function registerMaskWidgetFunction<T extends BaseMaskWidgetProps = BaseMaskWidgetProps>(
|
|
34
|
+
tag: string,
|
|
35
|
+
fn?: CreateMaskWidgetFunction<T>
|
|
36
|
+
): boolean {
|
|
37
|
+
const isInternal = Object.values(InternalMaskWidget).findIndex((v) => v === tag) !== -1;
|
|
38
|
+
if (isInternal) {
|
|
39
|
+
console.warn(`The widget name is internal widget. value = ${tag}`);
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
createMaskWidgetFunctionMap.set(tag, CastHelper.cast(fn || createMaskWidgetByDslNodeType));
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
function registerInternalWidgetFunction<T extends BaseMaskWidgetProps = BaseMaskWidgetProps>(
|
|
47
|
+
widget: string,
|
|
48
|
+
fn: CreateMaskWidgetFunction<T>
|
|
49
|
+
) {
|
|
50
|
+
createMaskWidgetFunctionMap.set(widget, CastHelper.cast(fn));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
registerInternalWidgetFunction(InternalMaskWidget.Mask, createMaskWidgetByDslNodeType);
|
|
54
|
+
|
|
55
|
+
registerInternalWidgetFunction(InternalMaskWidget.Widget, createMaskWidgetByDslNodeType);
|
|
56
|
+
|
|
57
|
+
registerInternalWidgetFunction(InternalMaskWidget.Header, createMaskWidgetByDslNodeType);
|
|
58
|
+
registerInternalWidgetFunction(InternalMaskWidget.Container, createMaskWidgetByDslNodeType);
|
|
59
|
+
registerInternalWidgetFunction(InternalMaskWidget.Content, createMaskWidgetByDslNodeType);
|
|
60
|
+
registerInternalWidgetFunction(InternalMaskWidget.Block, createMaskWidgetByDslNodeType);
|
|
61
|
+
|
|
62
|
+
registerInternalWidgetFunction(InternalMaskWidget.Sidebar, createMaskWidgetByDslNodeType);
|
|
63
|
+
registerInternalWidgetFunction(InternalMaskWidget.Breadcrumb, createMaskWidgetByDslNodeType);
|
|
64
|
+
registerInternalWidgetFunction(InternalMaskWidget.MultiTabs, createMaskWidgetByDslNodeType);
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export const DefaultMask = `<mask>
|
|
2
|
+
<multi-tabs />
|
|
3
|
+
<header>
|
|
4
|
+
<widget widget="app-switcher" />
|
|
5
|
+
<block>
|
|
6
|
+
<widget widget="notification" />
|
|
7
|
+
<widget widget="divider" />
|
|
8
|
+
<widget widget="language" />
|
|
9
|
+
<widget widget="divider" />
|
|
10
|
+
<widget widget="user" />
|
|
11
|
+
</block>
|
|
12
|
+
</header>
|
|
13
|
+
<container>
|
|
14
|
+
<sidebar>
|
|
15
|
+
<widget widget="nav-menu" height="100%" />
|
|
16
|
+
</sidebar>
|
|
17
|
+
<content>
|
|
18
|
+
<breadcrumb />
|
|
19
|
+
<block width="100%">
|
|
20
|
+
<widget width="100%" widget="main-view" />
|
|
21
|
+
</block>
|
|
22
|
+
</content>
|
|
23
|
+
</container>
|
|
24
|
+
</mask>`;
|
|
25
|
+
|
|
26
|
+
export const InlineMultiTabsMaskXML = `<mask>
|
|
27
|
+
<header>
|
|
28
|
+
<widget widget="app-switcher" />
|
|
29
|
+
<block>
|
|
30
|
+
<widget widget="notification" />
|
|
31
|
+
<widget widget="divider" />
|
|
32
|
+
<widget widget="language" />
|
|
33
|
+
<widget widget="divider" />
|
|
34
|
+
<widget widget="user" />
|
|
35
|
+
</block>
|
|
36
|
+
</header>
|
|
37
|
+
<container>
|
|
38
|
+
<sidebar>
|
|
39
|
+
<widget widget="nav-menu" height="100%" />
|
|
40
|
+
</sidebar>
|
|
41
|
+
<block height="100%" flex="1 0 0" flexDirection="column" alignContent="flex-start" flexWrap="nowrap" overflow="hidden">
|
|
42
|
+
<multi-tabs inline="true" />
|
|
43
|
+
<content>
|
|
44
|
+
<breadcrumb />
|
|
45
|
+
<block width="100%">
|
|
46
|
+
<widget width="100%" widget="main-view" />
|
|
47
|
+
</block>
|
|
48
|
+
</content>
|
|
49
|
+
</block>
|
|
50
|
+
</container>
|
|
51
|
+
</mask>`;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { DslDefinition, XMLParse } from '@oinone/kunlun-dsl';
|
|
2
|
+
import { MultiTabsRuntimeManifestMergedConfigManager } from '@oinone/kunlun-engine';
|
|
3
|
+
import { SPI } from '@oinone/kunlun-spi';
|
|
4
|
+
import { debugConsole } from '@oinone/kunlun-shared';
|
|
5
|
+
import { MaskEditorContext, MaskEditorToken } from '../spi';
|
|
6
|
+
import { InlineMultiTabsMaskXML, DefaultMask } from './default-mask';
|
|
7
|
+
|
|
8
|
+
export function getDefaultMaskTemplate(): DslDefinition {
|
|
9
|
+
let maskTemplate = DefaultMask;
|
|
10
|
+
|
|
11
|
+
if (MultiTabsRuntimeManifestMergedConfigManager.isInline()) {
|
|
12
|
+
maskTemplate = InlineMultiTabsMaskXML;
|
|
13
|
+
}
|
|
14
|
+
debugConsole.log('使用默认mask', maskTemplate);
|
|
15
|
+
return maskTemplateEdit({ isDefault: true }, XMLParse.INSTANCE.parse(maskTemplate));
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export function maskTemplateEdit(context: MaskEditorContext, dsl: DslDefinition): DslDefinition {
|
|
19
|
+
const editors = SPI.RawInstantiates(MaskEditorToken);
|
|
20
|
+
for (const editor of editors) {
|
|
21
|
+
dsl = editor.edit(context, dsl);
|
|
22
|
+
}
|
|
23
|
+
return dsl;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { InlineMultiTabsMaskXML, DefaultMask };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const DEFAULT_PREFIX = 'oio';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IMenu } from '@oinone/kunlun-meta';
|
|
2
|
+
|
|
3
|
+
export interface RuntimeMenu extends IMenu {
|
|
4
|
+
title: string;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export interface MenuUrlParameters {
|
|
8
|
+
selectedKeys: string[];
|
|
9
|
+
openKeys: string[];
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface MenuUrlParameterOptions {
|
|
13
|
+
selectedKeys?: string[];
|
|
14
|
+
openKeys?: string[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 菜单折叠
|
|
3
|
+
*/
|
|
4
|
+
export const MenuCollapsedSymbol = Symbol('__menu_collapsed__');
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* 修改用户
|
|
8
|
+
*/
|
|
9
|
+
export const pamirsUserSymbol = Symbol('__pamirsUserSymbol__');
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* 新增应用
|
|
13
|
+
*/
|
|
14
|
+
export const appFinderSymbol = Symbol('__appFinderSymbol__');
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { generatorViewActionQueryParameter, ViewActionCache } from '@oinone/kunlun-engine';
|
|
2
|
+
import { getRouterInstance, Router } from '@oinone/kunlun-router';
|
|
3
|
+
import {
|
|
4
|
+
getUnauthorizedAction,
|
|
5
|
+
unauthorizedActionName,
|
|
6
|
+
urlHomepageModelName
|
|
7
|
+
} from './unauthorized-action';
|
|
8
|
+
import { IURLAction, ViewActionTarget } from "@oinone/kunlun-meta";
|
|
9
|
+
|
|
10
|
+
export async function gotoHomepage(module: string, moduleName: string, urlHomePage?: IURLAction, router: Router = getRouterInstance()) {
|
|
11
|
+
let homepage = await ViewActionCache.getHomepage(module);
|
|
12
|
+
if (!homepage) {
|
|
13
|
+
if (urlHomePage && urlHomePage.target === ViewActionTarget.Inner) {
|
|
14
|
+
homepage = getUnauthorizedAction({
|
|
15
|
+
moduleName,
|
|
16
|
+
model: urlHomepageModelName,
|
|
17
|
+
target: urlHomePage.target,
|
|
18
|
+
name: encodeURI(urlHomePage.url)
|
|
19
|
+
});
|
|
20
|
+
} else if (urlHomePage && urlHomePage.target === ViewActionTarget.OpenWindow) {
|
|
21
|
+
window.open(urlHomePage.url, '_blank');
|
|
22
|
+
return false;
|
|
23
|
+
} else {
|
|
24
|
+
homepage = getUnauthorizedAction({
|
|
25
|
+
moduleName,
|
|
26
|
+
name: unauthorizedActionName
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
router.push({
|
|
32
|
+
segments: [
|
|
33
|
+
{
|
|
34
|
+
path: 'page',
|
|
35
|
+
extra: { preserveParameter: false },
|
|
36
|
+
parameters: generatorViewActionQueryParameter(homepage, { moduleName, usingLastedUrlParameters: false })
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
});
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const MASK_CLASS = 'k-layout-mask';
|
|
2
|
+
const COLLAPSED_CLASS = 'collapsed';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* 菜单收起util类
|
|
6
|
+
* 菜单收起后统一处理appSwitcher menu对应的变化
|
|
7
|
+
* */
|
|
8
|
+
export function maskCollapsed(collapsed: boolean) {
|
|
9
|
+
const maskElement = document.getElementsByClassName(MASK_CLASS)[0];
|
|
10
|
+
if (!maskElement) {
|
|
11
|
+
throw new Error('mask element not found');
|
|
12
|
+
}
|
|
13
|
+
if (collapsed) {
|
|
14
|
+
maskElement.className = `${MASK_CLASS} ${COLLAPSED_CLASS}`;
|
|
15
|
+
} else {
|
|
16
|
+
maskElement.className = `${MASK_CLASS}`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { ActionType, ActionContextType, ViewType, ViewMode, ViewActionTarget, deepClone } from '@oinone/kunlun-meta';
|
|
2
|
+
import { DslDefinition, XMLParse, DslDefinitionType } from '@oinone/kunlun-dsl';
|
|
3
|
+
import { MultiTabsRuntimeManifestMergedConfigManager, RuntimeViewAction } from '@oinone/kunlun-engine';
|
|
4
|
+
import { getDefaultMaskTemplate } from '../template';
|
|
5
|
+
|
|
6
|
+
function findNodeByType(dsl: DslDefinition, dslNodeType: DslDefinitionType | string): DslDefinition | null {
|
|
7
|
+
function findNode(node: DslDefinition, nodeType: DslDefinitionType | string) {
|
|
8
|
+
if (node.dslNodeType === nodeType) {
|
|
9
|
+
return node;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
if (Array.isArray(node.widgets)) {
|
|
13
|
+
for (let i = 0; i < node.widgets.length; i++) {
|
|
14
|
+
const foundNode = findNode(node.widgets[i], nodeType);
|
|
15
|
+
if (foundNode) {
|
|
16
|
+
return foundNode;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
return findNode(dsl, dslNodeType);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export const unauthorizedActionName = 'unauthorized';
|
|
28
|
+
export const emptyHomepageModelName = '$$internal_empty_homepage_model';
|
|
29
|
+
export const urlHomepageModelName = '$$internal_url_homepage_model';
|
|
30
|
+
|
|
31
|
+
export const replaceStanderMainView = (dsl: DslDefinition) => {
|
|
32
|
+
const hasMainView = findNodeByType(dsl, 'main-view');
|
|
33
|
+
if (hasMainView) {
|
|
34
|
+
return dsl;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
const __dsl = deepClone(dsl) as DslDefinition;
|
|
38
|
+
|
|
39
|
+
const content = findNodeByType(__dsl, 'content');
|
|
40
|
+
if (!content) {
|
|
41
|
+
return getDefaultMaskTemplate();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
const widgetNode = findNodeByType(content, 'widget');
|
|
45
|
+
if (widgetNode) {
|
|
46
|
+
widgetNode.widget = 'main-view';
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
return __dsl;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export const getUnauthorizedAction = ({
|
|
53
|
+
moduleName,
|
|
54
|
+
model,
|
|
55
|
+
target,
|
|
56
|
+
name,
|
|
57
|
+
title
|
|
58
|
+
}: {
|
|
59
|
+
moduleName: string;
|
|
60
|
+
model?: string;
|
|
61
|
+
target?: ViewActionTarget;
|
|
62
|
+
name: string;
|
|
63
|
+
title?: string;
|
|
64
|
+
}): RuntimeViewAction => {
|
|
65
|
+
let t = target;
|
|
66
|
+
|
|
67
|
+
if (!t) {
|
|
68
|
+
if (MultiTabsRuntimeManifestMergedConfigManager.isEnabled(moduleName)) {
|
|
69
|
+
t = ViewActionTarget.OpenWindow;
|
|
70
|
+
} else {
|
|
71
|
+
t = ViewActionTarget.Router;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
const _model = model || emptyHomepageModelName;
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
title: title || '无权限访问',
|
|
79
|
+
moduleName,
|
|
80
|
+
model: _model,
|
|
81
|
+
modelName: unauthorizedActionName,
|
|
82
|
+
name,
|
|
83
|
+
actionType: ActionType.View,
|
|
84
|
+
contextType: ActionContextType.ContextFree,
|
|
85
|
+
target: t,
|
|
86
|
+
resModel: unauthorizedActionName,
|
|
87
|
+
resModelName: unauthorizedActionName,
|
|
88
|
+
resViewType: ViewType.Form,
|
|
89
|
+
resViewMode: ViewMode.Lookup,
|
|
90
|
+
resView: {
|
|
91
|
+
type: ViewType.Form,
|
|
92
|
+
model: _model,
|
|
93
|
+
name: unauthorizedActionName,
|
|
94
|
+
modelName: unauthorizedActionName,
|
|
95
|
+
template: XMLParse.INSTANCE.parse(`<view type="FORM"><element widget="UnauthorizedWidget"/></view>`)
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
};
|