Socket
Socket
Sign inDemoInstall

plat-comp-ng

Package Overview
Dependencies
1
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    plat-comp-ng

基础平台通用组件,包括顶部导航栏模块、侧边栏模块、以及环境切换模块 ## 导航栏模块 - 调用 ``


Version published
Weekly downloads
29
Maintainers
1
Install size
455 kB
Created
Weekly downloads
 

Readme

Source

仓库说明

基础平台通用组件,包括顶部导航栏模块、侧边栏模块、以及环境切换模块

导航栏模块

  • 调用 <app-flat-navbar [uic_api]="uic_api" [env]="env" (menuList)="onChange($event)"></app-flat-navbar>

env: 当前环境id

menuList: 返回导航栏的所有数据信息。

uic_api: uic的ip及端口

侧边栏

  • 调用 <app-plat-leftnav [uic_api]="uic_api"></app-plat-leftnav>

env: 当前环境id

onSortTitleChange: 点击每一项是传递出当前项的名称

uic_api: uic的ip及端口

环境切换模块

  • 调用 <app-flat-env [uic_api]="uic_api" (onEnvChange)="handler($event)"></app-flat-env>

onEnvChange: 返回一个对象{id,name}

uic_api: uic的ip及端口

工作流通知框组件

  • 调用 <app-plat-notice [notice_api]="notice_api"></app-plat-notice>

notice_api // ip地址配置

  • 格式: {uic_api: '...', workflow_api: '...'}

用户中心组件

  • 调用 <app-plat-user [env]="env" [uic_api]="uic_api"></app-plat-user>

0.2.1版本更新:home点击跳转到http://pass.didapinche.com/portal

0.2.2版本更新:navbar组件的样式问题。

0.2.7版本更新:登出接口加上时间戳

0.2.8版本更新:icon替换

0.2.9版本更新:navbar接口替换成一个接口,不再循环调取二级菜单。angular技术栈升级到7版本

FAQs

Last updated on 08 Apr 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc