* feat: routes permissions
* fix: try to fix roles.pages action
* 多态关联
* bugfix
* fix: auto generate when option value is undefined or null
* feat: add pages' permissions saving/listing
* feat: add permission filter for getRoutes
* roles description
* feat: get root permissions all true and create user with default role
* feat: roles.collections list output with permission
* add permissions description
* fix: add context to parseApiJson
* fix: typo
* 小细节补充
Co-authored-by: mytharcher <mytharcher@gmail.com>
* fix: update method of permission
* 页面访问权限
* feat: add tabs update in role
* refactor: change main action permission check into single file
* feat: add pluginLoaded event listener for init page permissions
* refactor: change to can api
* refactor: use constants for role types
* refactor: can api
* 只处理 actions 表里的权限,其余跳过
* 注释掉 fields
* bugfix
* add: 详情模块编辑按钮权限判断
* test: add cases
* fix: add association permission judgment
* fix: add disabled property to drawer select
Co-authored-by: chenos <chenlinxh@gmail.com>
* Create node.js.yml
* fix: npm install command
* fix: try to fix github action fail by use same react version
* fix: try to fix github action fail by use same react version
* fix: try to fix github action fail by use same react version
* fix: try to fix github action fail by use same react version
* fix: try to fix github action fail by build dependencies
* fix: try to fix ci fail by types resolution
* fix: try to fix ci fail by types resolution
* fix: try to fix ci fail by types resolution
* fix: try to fix ci fail by types resolution
* fix: try to fix ci fail by types resolution
* fix: try to fix ci fail by set env
* fix: try to fix ci fail by pg version
* fix: try to fix ci fail by fix types
* fix(test): Type '""' is not assignable to type 'IndexType'.
* fix(test): Type '""' is not assignable to type 'IndexType'
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: mytharcher <mytharcher@gmail.com>
* feat: collection hooks
* export action middlewares
* add associated middleware
* cleanup
* add field interface options
* 调整配置参数
* 补充字段类型 options
* 继续调整配置参数
* 支持排序
* filterable & sortable & draggable
* feat: add random name for creating table (#23)
* feat: add random name for creating table
* fix: random number
* Feature: collections field (#24)
* feat: add random name for field and update table options
* fix: make field name required
* fix: this declaration
* showInXX 参数调整
* showInXX 放 component 里
* 继续调整参数
* 字段分组、pages 表配置参数等
* change date to datetime
* 选择类型字段的 options 改为 dataSource
* feat: refactor hooks initialization and add field options by interface (#25)
* feat: refactor hooks initialization and add field options by interface
* refactor: use model.set to build input values
* refactor: extend setter/getter to adapt field options
* fix: try to fix virtual field
* refactor: setter/getter of FieldModel
* 改进自定义 model 等细节
* 补充注释
* bugfix
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>