@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,411 @@
|
|
|
1
|
+
@import './mixin.scss';
|
|
2
|
+
|
|
3
|
+
$main-width: var(--oio-menu-area-width);
|
|
4
|
+
|
|
5
|
+
.k-oinone-menu-wrapper {
|
|
6
|
+
height: 100%;
|
|
7
|
+
position: relative;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
background-color: var(--oio-menu-background-color);
|
|
11
|
+
transition: width 0.5s;
|
|
12
|
+
border-right: 1px solid var(--oio-menu-border-color);
|
|
13
|
+
|
|
14
|
+
&.collapsed {
|
|
15
|
+
width: 72px;
|
|
16
|
+
transition: width 0.5s;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
width: $main-width;
|
|
20
|
+
.menu-search {
|
|
21
|
+
display: var(--oio-menu-search-display);
|
|
22
|
+
margin: var(--oio-margin) var(--oio-margin) var(--oio-margin-xs) var(--oio-margin);
|
|
23
|
+
transition: width 0.5s;
|
|
24
|
+
|
|
25
|
+
.ant-select {
|
|
26
|
+
.ant-select-arrow {
|
|
27
|
+
top: 45%;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ant-select-selector {
|
|
32
|
+
background-color: var(--oio-menu-search-background-color);
|
|
33
|
+
height: var(--oio-height);
|
|
34
|
+
|
|
35
|
+
.ant-select-selection-item {
|
|
36
|
+
line-height: var(--oio-height);
|
|
37
|
+
vertical-align: middle;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.ant-select-selection-search-input {
|
|
41
|
+
height: var(--oio-height);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ant-select-selection-placeholder {
|
|
45
|
+
line-height: var(--oio-height);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.oio-select.ant-select .ant-select-selector,
|
|
51
|
+
.oio-select.ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
|
52
|
+
background-color: var(--oio-menu-select-background);
|
|
53
|
+
border-color: var(--oio-menu-border-color);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.oio-select .ant-select-selection-placeholder {
|
|
57
|
+
color: var(--oio-menu-select-placeholder-color);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.oio-select.ant-select .ant-select-selector,
|
|
61
|
+
.oio-select.ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
|
62
|
+
color: var(--oio-menu-select-color);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.menu-area {
|
|
66
|
+
background-color: var(--oio-menu-background-color);
|
|
67
|
+
flex: 1;
|
|
68
|
+
overflow: hidden;
|
|
69
|
+
|
|
70
|
+
&::-webkit-scrollbar {
|
|
71
|
+
display: none;
|
|
72
|
+
scrollbar-width: 0;
|
|
73
|
+
}
|
|
74
|
+
&:hover {
|
|
75
|
+
overflow: hidden auto;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.menu-content {
|
|
80
|
+
height: 100%;
|
|
81
|
+
padding: 0 var(--oio-padding);
|
|
82
|
+
width: $main-width;
|
|
83
|
+
margin-top: var(--oio-menu-margin-top);
|
|
84
|
+
position: relative;
|
|
85
|
+
|
|
86
|
+
.ant-menu-title-content span:not(.oio-icon) {
|
|
87
|
+
transition: all 0.4s;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&.collapsed {
|
|
91
|
+
.ant-menu-inline-collapsed {
|
|
92
|
+
margin-left: var(--oio-menu-collapsed-popup-margin-left);
|
|
93
|
+
.ant-menu-title-content span:not(.oio-icon) {
|
|
94
|
+
opacity: 0;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
.ant-menu {
|
|
98
|
+
padding: var(--oio-menu-collapsed-popup-item-padding);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
.ant-spin-nested-loading {
|
|
102
|
+
position: static;
|
|
103
|
+
}
|
|
104
|
+
.oio-spin {
|
|
105
|
+
top: 50%;
|
|
106
|
+
transform: translate(0, -50%);
|
|
107
|
+
position: absolute;
|
|
108
|
+
height: 100%;
|
|
109
|
+
width: 100%;
|
|
110
|
+
display: flex;
|
|
111
|
+
align-items: center;
|
|
112
|
+
justify-content: center;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.ant-menu-inline {
|
|
116
|
+
.ant-menu-item-group-list .ant-menu-submenu-title,
|
|
117
|
+
.ant-menu-submenu-title {
|
|
118
|
+
padding-right: 0;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.root-menu {
|
|
122
|
+
.ant-menu-submenu-title {
|
|
123
|
+
padding-right: var(--oio-padding-md);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.oinone-menu {
|
|
130
|
+
border: none;
|
|
131
|
+
background-color: var(--oio-menu-background-color);
|
|
132
|
+
color: var(--oio-menu-font-color);
|
|
133
|
+
|
|
134
|
+
.oio-icon {
|
|
135
|
+
vertical-align: baseline;
|
|
136
|
+
margin-right: var(--oio-margin-sm);
|
|
137
|
+
transition: all 0.2s;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.ant-menu-submenu-title .ant-menu-item .ant-menu-item-icon {
|
|
141
|
+
vertical-align: 0;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* 默认缩进
|
|
146
|
+
*/
|
|
147
|
+
@include menuInlineIndentMixin(16px, 16px, 20px, 16px);
|
|
148
|
+
|
|
149
|
+
.ant-menu-inline .ant-menu-item,
|
|
150
|
+
.ant-menu-inline .ant-menu-submenu-title,
|
|
151
|
+
.ant-menu-vertical-left .ant-menu-item,
|
|
152
|
+
.ant-menu-vertical-left .ant-menu-submenu-title,
|
|
153
|
+
.ant-menu-vertical-right .ant-menu-item,
|
|
154
|
+
.ant-menu-vertical-right .ant-menu-submenu-title,
|
|
155
|
+
.ant-menu-vertical .ant-menu-item,
|
|
156
|
+
.ant-menu-vertical .ant-menu-submenu-title {
|
|
157
|
+
margin-top: var(--oio-menu-item-margin-top);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.ant-menu-submenu-open.ant-menu-submenu-title {
|
|
161
|
+
.title-content {
|
|
162
|
+
color: rgba(0, 0, 0, 0.85) !important;
|
|
163
|
+
font-weight: 500;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
.ant-menu-submenu-active {
|
|
167
|
+
.ant-menu-submenu-title {
|
|
168
|
+
color: var(--oio-menu-active-parent-title-color) !important;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
.ant-menu-inline .ant-menu-submenu {
|
|
172
|
+
margin-bottom: 0;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.ant-menu-sub.ant-menu-inline {
|
|
176
|
+
background: var(--oio-menu-expand-background-color);
|
|
177
|
+
color: var(--oio-menu-font-color);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.ant-menu-submenu-title,
|
|
181
|
+
.ant-menu-item {
|
|
182
|
+
line-height: var(--oio-menu-item-height);
|
|
183
|
+
height: var(--oio-menu-item-height);
|
|
184
|
+
&:hover {
|
|
185
|
+
background-color: var(--oio-menu-hover-background-color);
|
|
186
|
+
border-radius: var(--oio-menu-border-radius);
|
|
187
|
+
.oio-icon {
|
|
188
|
+
color: var(--oio-menu-root-title-hover-icon-color);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
margin-bottom: 0;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.oio-sub-menu-menu-item {
|
|
195
|
+
padding-right: 0;
|
|
196
|
+
position: relative;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.ant-menu-sub.ant-menu-inline > .ant-menu-item,
|
|
200
|
+
.ant-menu-sub.ant-menu-inline > .ant-menu-submenu > .ant-menu-submenu-title {
|
|
201
|
+
line-height: var(--oio-menu-item-height);
|
|
202
|
+
height: var(--oio-menu-item-height);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.ant-menu-submenu-title {
|
|
206
|
+
&:hover {
|
|
207
|
+
background: var(--oio-menu-hover-background-color);
|
|
208
|
+
border-radius: var(--oio-menu-border-radius);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.ant-menu-item-active,
|
|
213
|
+
.ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open,
|
|
214
|
+
.ant-menu-submenu-active,
|
|
215
|
+
.ant-menu-submenu-title:hover {
|
|
216
|
+
& > .ant-menu-title-content {
|
|
217
|
+
color: var(--oio-menu-root-title-hover-color);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
& > .oio-icon {
|
|
221
|
+
color: var(--oio-menu-root-title-hover-icon-color);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
.ant-menu-item-selected {
|
|
225
|
+
height: var(--oio-menu-item-height);
|
|
226
|
+
& > .ant-menu-title-content {
|
|
227
|
+
color: var(--oio-menu-selected-title-color);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
&:hover {
|
|
231
|
+
& > .ant-menu-title-content {
|
|
232
|
+
color: var(--oio-menu-selected-title-hover-color);
|
|
233
|
+
.oio-icon {
|
|
234
|
+
color: var(--oio-menu-selected-icon-color);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
&.root-menu {
|
|
239
|
+
background-color: var(--oio-menu-selected-root-background-color) !important;
|
|
240
|
+
& > .ant-menu-title-content {
|
|
241
|
+
color: var(--oio-menu-selected-root-title-color);
|
|
242
|
+
.oio-icon {
|
|
243
|
+
color: var(--oio-menu-selected-root-title-color);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.ant-menu-submenu-selected {
|
|
250
|
+
&.root-menu {
|
|
251
|
+
background-color: transparent;
|
|
252
|
+
.ant-menu-submenu-title {
|
|
253
|
+
&:hover {
|
|
254
|
+
background-color: var(--oio-menu-selected-root-background-color);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
&.not-root-menu {
|
|
259
|
+
.ant-menu-submenu-title {
|
|
260
|
+
&:hover {
|
|
261
|
+
background-color: var(--oio-menu-hover-background-color);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
& > .ant-menu-submenu-title > .ant-menu-title-content {
|
|
266
|
+
color: var(--oio-menu-selected-root-title-color);
|
|
267
|
+
.oio-icon {
|
|
268
|
+
color: var(--oio-menu-selected-root-icon-color);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
&:not(.ant-menu-horizontal) {
|
|
274
|
+
.ant-menu-item-selected {
|
|
275
|
+
background-color: var(--oio-menu-selected-background-color);
|
|
276
|
+
height: var(--oio-menu-item-height);
|
|
277
|
+
border-radius: var(--oio-menu-selected-root-border-radius);
|
|
278
|
+
|
|
279
|
+
.title-content {
|
|
280
|
+
color: var(--oio-primary-color);
|
|
281
|
+
font-weight: 500;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
&:after {
|
|
285
|
+
display: none !important;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.ant-menu-sub {
|
|
291
|
+
background: var(--oio-body-background);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.menu-footer {
|
|
296
|
+
transition: width 0.5s;
|
|
297
|
+
width: 100%;
|
|
298
|
+
display: flex;
|
|
299
|
+
align-items: flex-end;
|
|
300
|
+
|
|
301
|
+
.menu-toggle-collapsed {
|
|
302
|
+
margin: 16px;
|
|
303
|
+
overflow: hidden;
|
|
304
|
+
flex: 1;
|
|
305
|
+
cursor: pointer;
|
|
306
|
+
height: var(--oio-menu-collapsed-button-height);
|
|
307
|
+
line-height: var(--oio-menu-collapsed-button-line-height);
|
|
308
|
+
box-sizing: border-box;
|
|
309
|
+
border-radius: var(--oio-menu-collapsed-button-border-radius);
|
|
310
|
+
background-color: var(--oio-menu-collapsed-button-background-color);
|
|
311
|
+
|
|
312
|
+
&:hover {
|
|
313
|
+
background-color: var(--oio-menu-collapsed-button-hover-background-color);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
justify-content: center;
|
|
317
|
+
align-items: center;
|
|
318
|
+
|
|
319
|
+
.collapsed-icon {
|
|
320
|
+
margin-left: 16px;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.collapsed-text {
|
|
324
|
+
margin-left: 29px;
|
|
325
|
+
font-size: var(--oio-font-size);
|
|
326
|
+
color: var(--oio-menu-collapsed-button-title-color);
|
|
327
|
+
font-weight: 500;
|
|
328
|
+
transition: width 0.5s;
|
|
329
|
+
vertical-align: middle;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.menu-item-title {
|
|
335
|
+
display: flex;
|
|
336
|
+
flex-flow: row nowrap;
|
|
337
|
+
|
|
338
|
+
.title-content {
|
|
339
|
+
font-size: var(--oio-font-size);
|
|
340
|
+
color: var(--oio-text-color-secondary);
|
|
341
|
+
height: var(--oio-height);
|
|
342
|
+
font-weight: 500;
|
|
343
|
+
transition: width 0.5s;
|
|
344
|
+
white-space: nowrap;
|
|
345
|
+
overflow: hidden;
|
|
346
|
+
text-overflow: ellipsis;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.inline-menu-popup {
|
|
352
|
+
.ant-menu {
|
|
353
|
+
background-color: var(--oio-menu-background-color);
|
|
354
|
+
color: var(--oio-menu-font-color);
|
|
355
|
+
border-radius: var(--oio-border-radius);
|
|
356
|
+
|
|
357
|
+
.ant-menu-submenu-title {
|
|
358
|
+
display: flex;
|
|
359
|
+
align-items: center;
|
|
360
|
+
padding-right: 16px;
|
|
361
|
+
.ant-menu-title-content {
|
|
362
|
+
flex: 1;
|
|
363
|
+
margin-right: 10px;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.ant-menu-submenu-selected,
|
|
369
|
+
&.ant-menu-light .ant-menu-item-active,
|
|
370
|
+
&.ant-menu-light .ant-menu-item:hover,
|
|
371
|
+
&.ant-menu-light .ant-menu-submenu-active,
|
|
372
|
+
&.ant-menu-light .ant-menu-submenu-title:hover,
|
|
373
|
+
&.ant-menu-light .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open {
|
|
374
|
+
color: var(--oio-menu-selected-title-color);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.ant-menu-item:hover,
|
|
378
|
+
.ant-menu-submenu:hover {
|
|
379
|
+
background-color: var(--oio-menu-selected-background-color);
|
|
380
|
+
color: var(--oio-menu-selected-title-color);
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
|
|
384
|
+
background-color: var(--oio-menu-selected-background-color);
|
|
385
|
+
& > .ant-menu-title-content {
|
|
386
|
+
color: var(--oio-menu-selected-title-color);
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.default-menu-select-dropdown {
|
|
392
|
+
&.ant-select-dropdown {
|
|
393
|
+
background: var(--oio-menu-select-dropdown-background);
|
|
394
|
+
box-shadow: var(--oio-menu-select-dropdown-box-shadow);
|
|
395
|
+
&.ant-select-dropdown .ant-select-item {
|
|
396
|
+
color: var(--oio-menu-select-dropdown-color) !important;
|
|
397
|
+
}
|
|
398
|
+
&.ant-select-dropdown .ant-select-item.ant-select-item-option-selected .ant-select-item-option-content {
|
|
399
|
+
color: var(--oio-menu-select-dropdown-selected-color) !important;
|
|
400
|
+
}
|
|
401
|
+
&.ant-select-dropdown .ant-select-item.ant-select-item-option-selected {
|
|
402
|
+
background: var(--oio-menu-select-dropdown-selected) !important;
|
|
403
|
+
}
|
|
404
|
+
&.ant-select-dropdown .ant-select-item-option-active:not(.ant-select-item-option-disabled) {
|
|
405
|
+
background: var(--oio-menu-select-dropdown-selected);
|
|
406
|
+
}
|
|
407
|
+
&.ant-select-dropdown .ant-select-item:hover {
|
|
408
|
+
background: var(--oio-menu-select-dropdown-selected) !important;
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@import '../mixin.scss';
|
|
2
|
+
|
|
3
|
+
.oinone-menu.oinone-menu-theme2 {
|
|
4
|
+
.root-menu {
|
|
5
|
+
.ant-menu-sub {
|
|
6
|
+
position: relative;
|
|
7
|
+
&::before {
|
|
8
|
+
content: '';
|
|
9
|
+
position: absolute;
|
|
10
|
+
left: 20px;
|
|
11
|
+
height: calc(100% - var(--oio-menu-item-height) / 2);
|
|
12
|
+
width: 1px;
|
|
13
|
+
margin-left: 2px;
|
|
14
|
+
top: 1px;
|
|
15
|
+
background: var(--oio-border-color);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
& > li {
|
|
19
|
+
overflow: initial;
|
|
20
|
+
position: relative;
|
|
21
|
+
margin-left: 3px;
|
|
22
|
+
width: calc(100% - 3px);
|
|
23
|
+
&::before {
|
|
24
|
+
content: '';
|
|
25
|
+
position: absolute;
|
|
26
|
+
left: -12px;
|
|
27
|
+
top: calc(var(--oio-menu-item-height) / 2);
|
|
28
|
+
height: 1px;
|
|
29
|
+
width: 12px;
|
|
30
|
+
background: var(--oio-border-color);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@include menuInlineIndentMixin(16px, 16px, 32px, 8px);
|
|
37
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
@import '../mixin.scss';
|
|
2
|
+
|
|
3
|
+
.oinone-menu.oinone-menu-theme3 {
|
|
4
|
+
.oio-sub-menu-menu-item,
|
|
5
|
+
.not-root-menu {
|
|
6
|
+
/**
|
|
7
|
+
* 多层级菜单的左侧圆点
|
|
8
|
+
*/
|
|
9
|
+
.ant-menu-title-content {
|
|
10
|
+
position: relative;
|
|
11
|
+
padding-left: 16px;
|
|
12
|
+
&::before {
|
|
13
|
+
content: '';
|
|
14
|
+
position: absolute;
|
|
15
|
+
top: 50%;
|
|
16
|
+
left: 0;
|
|
17
|
+
transform: translate(0, -50%);
|
|
18
|
+
width: 6px;
|
|
19
|
+
height: 6px;
|
|
20
|
+
border-radius: 50%;
|
|
21
|
+
background: var(--oio-menu-default-icon-color);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.ant-menu-submenu-selected {
|
|
26
|
+
& > .ant-menu-submenu-title .ant-menu-title-content {
|
|
27
|
+
&::before {
|
|
28
|
+
background: var(--oio-primary-color);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.ant-menu-item-selected > .ant-menu-title-content {
|
|
35
|
+
&::before {
|
|
36
|
+
background: var(--oio-primary-color);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* 多层级菜单的左侧竖线
|
|
42
|
+
*/
|
|
43
|
+
.not-root-menu {
|
|
44
|
+
.ant-menu-sub {
|
|
45
|
+
position: relative;
|
|
46
|
+
&::before {
|
|
47
|
+
content: '';
|
|
48
|
+
position: absolute;
|
|
49
|
+
left: 16px;
|
|
50
|
+
height: 100%;
|
|
51
|
+
width: 1px;
|
|
52
|
+
margin-left: 2px;
|
|
53
|
+
background: var(--oio-border-color);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@include menuInlineIndentMixin(16px, 16px, 28px, 16px);
|
|
59
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
@import '../mixin.scss';
|
|
2
|
+
|
|
3
|
+
.oinone-menu.oinone-menu-theme4 {
|
|
4
|
+
.oio-sub-menu-menu-item,
|
|
5
|
+
.not-root-menu {
|
|
6
|
+
/**
|
|
7
|
+
* 多层级菜单的左侧圆点
|
|
8
|
+
*/
|
|
9
|
+
.ant-menu-title-content {
|
|
10
|
+
position: relative;
|
|
11
|
+
padding-left: 16px;
|
|
12
|
+
&::before {
|
|
13
|
+
content: '';
|
|
14
|
+
position: absolute;
|
|
15
|
+
top: 50%;
|
|
16
|
+
left: 0;
|
|
17
|
+
transform: translate(0, -50%);
|
|
18
|
+
width: 6px;
|
|
19
|
+
height: 6px;
|
|
20
|
+
border-radius: 50%;
|
|
21
|
+
background: var(--oio-menu-default-icon-color);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.ant-menu-submenu-selected {
|
|
26
|
+
& > .ant-menu-submenu-title .ant-menu-title-content {
|
|
27
|
+
&::before {
|
|
28
|
+
background: var(--oio-primary-color);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.ant-menu-item-selected > .ant-menu-title-content {
|
|
35
|
+
&::before {
|
|
36
|
+
background: var(--oio-primary-color);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.ant-menu-submenu-open {
|
|
41
|
+
border-radius: 4px;
|
|
42
|
+
padding-bottom: 2px;
|
|
43
|
+
background: var(--oio-menu-expand-background-color);
|
|
44
|
+
.ant-menu-sub.ant-menu-inline {
|
|
45
|
+
background: var(--oio-menu-expand-background-color);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
& > .ant-menu-title-content {
|
|
49
|
+
&::before {
|
|
50
|
+
background: var(--oio-primary-color);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@include menuInlineIndentMixin(16px, 16px, 16px, 16px);
|
|
56
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@import '../mixin.scss';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 含背景颜色的菜单, 箭头在左侧
|
|
5
|
+
*/
|
|
6
|
+
.oinone-menu.oinone-menu-theme5 {
|
|
7
|
+
.ant-menu-submenu-title {
|
|
8
|
+
flex-direction: row-reverse;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.ant-menu-submenu-open {
|
|
12
|
+
border-radius: 4px;
|
|
13
|
+
padding-bottom: 2px;
|
|
14
|
+
background: var(--oio-menu-expand-background-color);
|
|
15
|
+
.ant-menu-sub.ant-menu-inline {
|
|
16
|
+
background: var(--oio-menu-expand-background-color);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
& > .ant-menu-title-content {
|
|
20
|
+
&::before {
|
|
21
|
+
background: var(--oio-primary-color);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.ant-menu-item-selected {
|
|
27
|
+
.ant-menu-title-content {
|
|
28
|
+
position: relative;
|
|
29
|
+
&::after {
|
|
30
|
+
position: absolute;
|
|
31
|
+
display: block;
|
|
32
|
+
content: '';
|
|
33
|
+
height: 60%;
|
|
34
|
+
width: 2px;
|
|
35
|
+
top: 50%;
|
|
36
|
+
right: 1px;
|
|
37
|
+
transform: translate(0, -50%);
|
|
38
|
+
border-radius: 2px 0 0 2px;
|
|
39
|
+
background-color: var(--oio-menu-selected-title-color);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@include menuInlineIndentMixin(31px, 12px, 19px, 34px);
|
|
45
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@import '../mixin.scss';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 菜单左侧是个空心圆点
|
|
5
|
+
*/
|
|
6
|
+
.oinone-menu.oinone-menu-theme6 {
|
|
7
|
+
.oio-sub-menu-menu-item,
|
|
8
|
+
.not-root-menu {
|
|
9
|
+
/**
|
|
10
|
+
* 多层级菜单的左侧圆点
|
|
11
|
+
*/
|
|
12
|
+
.ant-menu-title-content {
|
|
13
|
+
position: relative;
|
|
14
|
+
padding-left: 16px;
|
|
15
|
+
&::before {
|
|
16
|
+
content: '';
|
|
17
|
+
position: absolute;
|
|
18
|
+
top: 50%;
|
|
19
|
+
left: 0;
|
|
20
|
+
transform: translate(0, -50%);
|
|
21
|
+
width: 6px;
|
|
22
|
+
height: 6px;
|
|
23
|
+
border-radius: 50%;
|
|
24
|
+
border: 1px solid var(--oio-menu-default-icon-color);
|
|
25
|
+
box-sizing: border-box;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.ant-menu-submenu-selected {
|
|
30
|
+
& > .ant-menu-submenu-title .ant-menu-title-content {
|
|
31
|
+
&::before {
|
|
32
|
+
border-color: var(--oio-primary-color);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.ant-menu-item-selected > .ant-menu-title-content {
|
|
39
|
+
&::before {
|
|
40
|
+
border-color: var(--oio-primary-color);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@include menuInlineIndentMixin(16px, 16px, 16px, 16px);
|
|
45
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@mixin menuInlineIndentMixin($rootMenuItemIndent, $subMenuItemIndent, $menuSubIndent, $inlineIndent) {
|
|
2
|
+
.root-menu-item {
|
|
3
|
+
padding-left: $rootMenuItemIndent !important;
|
|
4
|
+
}
|
|
5
|
+
.root-sub-menu-1,
|
|
6
|
+
.root-sub-menu-2,
|
|
7
|
+
.root-sub-menu-3,
|
|
8
|
+
.root-sub-menu-4,
|
|
9
|
+
.root-sub-menu-5,
|
|
10
|
+
.root-sub-menu-6 {
|
|
11
|
+
.ant-menu-submenu-title {
|
|
12
|
+
padding-left: $subMenuItemIndent !important;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.ant-menu-sub {
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
padding-left: $menuSubIndent !important;
|
|
18
|
+
& > .ant-menu-item {
|
|
19
|
+
padding-left: $inlineIndent !important;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|