Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@farris/discussion-group

Package Overview
Dependencies
Maintainers
19
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@farris/discussion-group

| 属性 | 说明 | 类型 | 默认值 | | ---| ----- | ------ | ------ | | personnelsPrimaryKey | 人员信息的唯一标识 | string | `id` | | personnelsDisplayKey | 人员显示的名称 | string | `name` | | replyPersonnelsDisplayKey | 高级人员搜索中名称 | sting | `userName` | | permissionList | 该评论可见选

  • 0.0.18
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-33.33%
Maintainers
19
Weekly downloads
 
Created
Source

DiscussionGroup

discussion-editor 评论区

属性

属性说明类型默认值
personnelsPrimaryKey人员信息的唯一标识stringid
personnelsDisplayKey人员显示的名称stringname
replyPersonnelsDisplayKey高级人员搜索中名称stinguserName
permissionList该评论可见选项permissionListOption-
cancelVisible评论是否支持取消booleanfalse
editHeight输入区高度number130
personnels常用人员列表array-
replyUser回复人员object-
attachFiles附件列表(上传附件成功后)FUploadFileExtend[]-
treeData高级人员搜索中树数据array-
treeIdField树结构唯一标识stringid
treeDisplayText树结构显示stingname

permissionListOption 评论可见选项

属性说明类型默认值
value上传的类型 RELATEDstringALL
text在页面中显示的名称 仅相关人员可见string所有人员可见

FUploadFileExtend 附件格式

属性说明类型
ididstring
size文件大小number
type文件类型string
extendfileName 和 metadataIdany / null
extendStatusnumber
extendHeadersstring / null
Events
事件名说明回调参数
selectionsChange高级人员搜索中点击确定`{info: confirm
lineDataChange高级人员搜索中选中某行人员数据
valueChange提交或取消评论ValueConfig[]
filePreview附件预览FUploadFileExtend
fileRemove附件删除FUploadFileExtend
fileUploadDone附件上传完成FUploadFileExtend

ValueConfig 评论区数据格式

属性说明类型
msgInfo评论类型 0 为取消 1 为提交number
text评论区内容string
mailTos@的人员列表array
visibility可见人员ALL
parentId回复的表单id`string
attachFiles附件列表

discussion-list 评论区列表

属性

属性说明类型默认值
personnelsDisplayKey展示的人员名称key值stringuserName
supportPaging是否支持分页booleantrue
pageSize每页显示条数number-
pageIndex当前页码number1
pageList每页显示条数选项number[][10,20,30,50]
total总条数number0
discussionData评论区数据array-

Event

事件名说明回调参数
replyMessage点击回复按钮该条评论数据
pageChanged修改页码当前页码
pageSizeChanged每页显示条数变化每页显示条数
filePreview附件预览当前附件数据
fileDownload附件下载当前附件数据

FAQs

Package last updated on 03 Mar 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc