@steedos/service-core-objects 3.0.0-beta.99 → 3.0.1

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.
Files changed (79) hide show
  1. package/README.md +3 -3
  2. package/main/default/applications/.gitkeep +0 -0
  3. package/main/default/applications/admin.app.yml +179 -0
  4. package/main/default/client/socket.client.js +1 -1
  5. package/main/default/objectTranslations/announcements.en/announcements.en.objectTranslation.yml +37 -0
  6. package/main/default/objectTranslations/announcements.zh-CN/announcements.zh-CN.objectTranslation.yml +37 -0
  7. package/main/default/objectTranslations/audit_records.en/audit_records.en.objectTranslation.yml +1 -1
  8. package/main/default/objectTranslations/company.en/company.en.objectTranslation.yml +1 -1
  9. package/main/default/objectTranslations/logs.en/logs.en.objectTranslation.yml +1 -1
  10. package/main/default/objectTranslations/object_fields.en/object_fields.en.objectTranslation.yml +3 -3
  11. package/main/default/objectTranslations/object_fields.zh-CN/object_fields.zh-CN.objectTranslation.yml +1 -1
  12. package/main/default/objectTranslations/object_functions.en/object_functions.en.objectTranslation.yml +1 -5
  13. package/main/default/objectTranslations/object_functions.zh-CN/object_functions.zh-CN.objectTranslation.yml +1 -5
  14. package/main/default/objectTranslations/objects.en/objects.en.objectTranslation.yml +1 -1
  15. package/main/default/objectTranslations/operation_logs.en/operation_logs.en.objectTranslation.yml +1 -1
  16. package/main/default/objectTranslations/organizations.en/organizations.en.objectTranslation.yml +1 -1
  17. package/main/default/objectTranslations/process_delegation_rules.en/process_delegation_rules.en.objectTranslation.yml +1 -1
  18. package/main/default/objectTranslations/reports.en/reports.en.objectTranslation.yml +7 -1
  19. package/main/default/objectTranslations/reports.zh-CN/reports.zh-CN.objectTranslation.yml +7 -1
  20. package/main/default/objectTranslations/sessions.en/sessions.en.objectTranslation.yml +1 -1
  21. package/main/default/objectTranslations/settings.en/settings.en.objectTranslation.yml +1 -1
  22. package/main/default/objectTranslations/space_users.en/space_users.en.objectTranslation.yml +1 -1
  23. package/main/default/objects/_base/base.client.js +113 -114
  24. package/main/default/objects/_base/base.object.js +225 -217
  25. package/main/default/objects/_base/base.recordFieldAudit.trigger.js +3 -0
  26. package/main/default/objects/_base/base.trigger.js +7 -144
  27. package/main/default/objects/audit_records.object.yml +1 -1
  28. package/main/default/objects/cms_files/cms_files.object.yml +1 -1
  29. package/main/default/objects/company/company.object.yml +1 -1
  30. package/main/default/objects/license.object.yml +13 -33
  31. package/main/default/objects/logs/logs.object.yml +1 -1
  32. package/main/default/objects/notifications/fields/related_to.field.yml +12 -4
  33. package/main/default/objects/object_fields/fields/description.field.yml +11 -2
  34. package/main/default/objects/object_fields/fields/required.field.yml +1 -1
  35. package/main/default/objects/object_fields/listviews/all.listview.yml +1 -1
  36. package/main/default/objects/object_functions/buttons/open_api.button.yml +1 -3
  37. package/main/default/objects/object_functions/fields/script.field.yml +3 -2
  38. package/main/default/objects/object_functions/listviews/all.listview.yml +0 -1
  39. package/main/default/objects/object_functions/listviews/customize.listview.yml +0 -1
  40. package/main/default/objects/object_functions/object_functions.object.yml +1 -1
  41. package/main/default/objects/object_listviews/fields/extra_columns.field.yml +1 -1
  42. package/main/default/objects/object_triggers/fields/handler.field.yml +3 -2
  43. package/main/default/objects/object_webhooks/object_webhooks.object.yml +1 -1
  44. package/main/default/objects/objects/buttons/show_object.button.js +1 -1
  45. package/main/default/objects/permission_set/buttons/copy.button.yml +114 -0
  46. package/main/default/objects/permission_set/buttons/set_permission_tabs.button.yml +166 -0
  47. package/main/default/objects/{permission_set.object.yml → permission_set/permission_set.object.yml} +1 -1
  48. package/main/default/objects/reports.object.yml +125 -258
  49. package/main/default/objects/roles.object.yml +1 -0
  50. package/main/default/objects/sessions.object.yml +1 -1
  51. package/main/default/objects/space_users/buttons/clear_login_tokens.button.yml +1 -1
  52. package/main/default/objects/space_users/buttons/setPassword.button.js +12 -12
  53. package/main/default/objects/space_users/fields/password_expired.field.yml +1 -1
  54. package/main/default/pages/about.page.amis.json +21 -4
  55. package/main/default/pages/apps_form.page.amis.json +2 -1
  56. package/main/default/pages/cfs_files_record_preview.page.amis.json +8 -8
  57. package/main/default/pages/cms_files_preview.page.amis.json +7 -7
  58. package/main/default/pages/object_detail.page.amis.json +1 -1
  59. package/main/default/pages/space_users_list.page.amis.json +5 -2
  60. package/main/default/routes/amis_button_design.router.js +2 -12
  61. package/main/default/routes/amis_listview_design.router.js +2 -11
  62. package/main/default/routes/object_fields_design.ejs +2 -1
  63. package/main/default/routes/object_fields_design.router.js +1 -14
  64. package/main/default/services/spaces.service.js +1 -1
  65. package/main/default/services/users.service.js +5 -2
  66. package/main/default/tabs/admin_bull_dashboard.tab.yml +2 -1
  67. package/main/default/tabs/admin_object_functions.tab.yml +21 -0
  68. package/main/default/tabs/admin_swagger.tab.yml +22 -0
  69. package/main/default/translations/en.translation.yml +2 -2
  70. package/main/default/triggers/space_users.trigger.js +3 -3
  71. package/package.json +3 -4
  72. package/public/platform.css +5 -0
  73. package/main/default/objectTranslations/forms.en/forms.en.objectTranslation.yml +0 -191
  74. package/main/default/objectTranslations/forms.zh-CN/forms.zh-CN.objectTranslation.yml +0 -194
  75. package/main/default/objectTranslations/instances.en/instances.en.objectTranslation.yml +0 -211
  76. package/main/default/objectTranslations/instances.zh-CN/instances.zh-CN.objectTranslation.yml +0 -208
  77. package/main/default/objects/object_functions/fields/is_rest.field.yml +0 -5
  78. package/main/default/objects/spaces/buttons/upgrade.button.js +0 -12
  79. package/main/default/objects/spaces/buttons/upgrade.button.yml +0 -4
@@ -1,191 +0,0 @@
1
- name: forms
2
- label: Form
3
- description:
4
- fields:
5
- name:
6
- label: Name
7
- help:
8
- description:
9
- state:
10
- label: State
11
- help:
12
- options:
13
- - label: Enabled
14
- value: enabled
15
- - label: Disabled
16
- value: disabled
17
- description:
18
- description:
19
- label: Description
20
- help:
21
- description:
22
- category:
23
- label: Category
24
- help:
25
- description:
26
- is_valid:
27
- label: Valid
28
- help:
29
- description:
30
- instance_style:
31
- label: Instance Style
32
- help:
33
- options:
34
- - label: Table
35
- value: table
36
- - label: Default
37
- value: default
38
- description:
39
- historys:
40
- label: historys
41
- help:
42
- description:
43
- approve_on_create:
44
- label: Approve on Create
45
- help:
46
- description:
47
- approve_on_modify:
48
- label: Approve on Modify
49
- help:
50
- description:
51
- approve_on_delete:
52
- label: Approve on Delete
53
- help:
54
- description:
55
- enable_workflow:
56
- label: Enable Workflow
57
- help:
58
- description:
59
- enable_view_others:
60
- label: Enable View Others
61
- help:
62
- description:
63
- current:
64
- label: current
65
- help:
66
- description:
67
- current.form_script:
68
- label: Form Script
69
- help:
70
- description:
71
- current.name_forumla:
72
- label: Name Forumla
73
- help:
74
- description:
75
- current.fields:
76
- label: Fields
77
- help:
78
- description:
79
- current.fields.$.code:
80
- label: Code
81
- help:
82
- description:
83
- current.fields.$.name:
84
- label: Name
85
- help:
86
- description:
87
- current.fields.$.type:
88
- label: Type
89
- help:
90
- options:
91
- - label: Checkbox
92
- value: checkbox
93
- - label: DateTimeE
94
- value: dateTimeD
95
- - label: Date
96
- value: date
97
- - label: Time
98
- value: time
99
- - label: EmailGM
100
- - label: Group
101
- value: group
102
- - label: Input
103
- value: input
104
- - label: MultiSelect
105
- value: multiSelect
106
- - label: Number
107
- value: number
108
- - label: Password
109
- value: password
110
- - label: Radio
111
- value: radio
112
- - label: Section
113
- value: section
114
- - label: Select
115
- value: select
116
- - label: Table
117
- value: table
118
- - label: URL
119
- value: url
120
- - label: User
121
- value: user
122
- - label: GeolocationR
123
- value: geolocationR
124
- - label: Image
125
- value: image
126
- - label: File
127
- value: file
128
- - label: Lookup
129
- value: lookup
130
- description:
131
- current.fields.$.is_required:
132
- label: Required
133
- help:
134
- description:
135
- current.fields.$.is_wide:
136
- label: Wide
137
- help:
138
- description:
139
- current.fields.$.is_list_display:
140
- label: Display in List
141
- help:
142
- description:
143
- current.fields.$.is_searchable:
144
- label: Searchable
145
- help:
146
- description:
147
- current.fields.$.is_multiselect:
148
- label: Multiselect
149
- help:
150
- description:
151
- listviews:
152
- all:
153
- label: All Forms
154
- actions:
155
- standard_new:
156
- label: New
157
- standard_edit:
158
- label: Edit
159
- standard_delete:
160
- label: Delete
161
- designForm:
162
- label: Form Designer
163
- CustomLabels:
164
- _forms_field_code_error: Code %s must not contain '.'
165
- forms_field_current.fields:
166
- forms_field_current.fields_$_code:
167
- forms_field_current.fields_$_is_list_display:
168
- forms_field_current.fields_$_is_multiselect:
169
- forms_field_current.fields_$_is_required:
170
- forms_field_current.fields_$_is_searchable:
171
- forms_field_current.fields_$_is_wide:
172
- forms_field_current.fields_$_name:
173
- forms_field_current.fields_$_type:
174
- forms_field_current.fields_$_type_options_checkbox:
175
- forms_field_current.fields_$_type_options_date:
176
- forms_field_current.fields_$_type_options_dateTime:
177
- forms_field_current.fields_$_type_options_email:
178
- forms_field_current.fields_$_type_options_geolocation:
179
- forms_field_current.fields_$_type_options_group:
180
- forms_field_current.fields_$_type_options_input:
181
- forms_field_current.fields_$_type_options_multiSelect:
182
- forms_field_current.fields_$_type_options_number:
183
- forms_field_current.fields_$_type_options_password:
184
- forms_field_current.fields_$_type_options_radio:
185
- forms_field_current.fields_$_type_options_section:
186
- forms_field_current.fields_$_type_options_select:
187
- forms_field_current.fields_$_type_options_table:
188
- forms_field_current.fields_$_type_options_url:
189
- forms_field_current.fields_$_type_options_user:
190
- forms_field_current.form_script:
191
- forms_field_current.name_forumla:
@@ -1,194 +0,0 @@
1
- name: forms
2
- label: 表单
3
- description:
4
- fields:
5
- name:
6
- label: 表单
7
- help:
8
- description:
9
- state:
10
- label: 表单状态
11
- help:
12
- options:
13
- - label: 启用
14
- value: enabled
15
- - label: 停用
16
- value: disabled
17
- description:
18
- description:
19
- label: 表单描述
20
- help:
21
- description:
22
- category:
23
- label: 表单分类
24
- help:
25
- description:
26
- is_valid:
27
- label: 是否有效
28
- help:
29
- description:
30
- instance_style:
31
- label: 样式
32
- help:
33
- options:
34
- - label: 表格
35
- value: table
36
- - label: 默认
37
- value: default
38
- description:
39
- historys:
40
- label: 历史版本
41
- help:
42
- description:
43
- approve_on_create:
44
- label: 是否同意审批
45
- help:
46
- description:
47
- approve_on_modify:
48
- label: 是否修改审批
49
- help:
50
- description:
51
- approve_on_delete:
52
- label: 是否删除审批
53
- help:
54
- description:
55
- enable_workflow:
56
- label: 是否启用工作流
57
- help:
58
- description:
59
- enable_view_others:
60
- label: 是否查看其它表单
61
- help:
62
- description:
63
- current:
64
- label: 当前版本
65
- help:
66
- description:
67
- current.form_script:
68
- label: 表单脚本
69
- help:
70
- description:
71
- current.name_forumla:
72
- label: 标题公式
73
- help:
74
- description:
75
- current.fields:
76
- label: 字段
77
- help:
78
- description:
79
- current.fields.$.code:
80
- label: Api 名称
81
- help:
82
- description:
83
- current.fields.$.name:
84
- label: 名称
85
- help:
86
- description:
87
- current.fields.$.type:
88
- label: 类型
89
- help:
90
- options:
91
- - label: 勾选框
92
- value: checkbox
93
- - label: 日期时间
94
- value: dateTime
95
- - label: 日期
96
- value: date
97
- - label: 时间
98
- value: time
99
- - label: 电子邮件
100
- value: email
101
- - label: Group
102
- value: group
103
- - label: 输入框
104
- value: input
105
- - label: 多选框
106
- value: multiSelect
107
- - label: 数字框
108
- value: number
109
- - label: 密码
110
- value: password
111
- - label: 单选框
112
- value: radio
113
- - label: 分组
114
- value: section
115
- - label: 下拉框
116
- value: select
117
- - label: 表格
118
- value: table
119
- - label: 链接
120
- value: url
121
- - label: 选择用户
122
- value: user
123
- - label: Geolocation
124
- value: geolocation
125
- - label: 图片
126
- value: image
127
- - label: 附件
128
- value: file
129
- - label: 相关记录
130
- value: lookup
131
- description:
132
- current.fields.$.is_required:
133
- label: 必填
134
- help:
135
- description:
136
- current.fields.$.is_wide:
137
- label: 宽字段
138
- help:
139
- description:
140
- current.fields.$.is_list_display:
141
- label: 显示在列表内
142
- help:
143
- description:
144
- current.fields.$.is_searchable:
145
- label: 可搜索
146
- help:
147
- description:
148
- current.fields.$.is_multiselect:
149
- label: 可复选
150
- help:
151
- description:
152
- current.fields.$.visibleOn:
153
- label: 显隐的条件
154
- listviews:
155
- all:
156
- label: 所有
157
- actions:
158
- standard_new:
159
- label: 新建
160
- standard_edit:
161
- label: 编辑
162
- standard_delete:
163
- label: 删除
164
- designForm:
165
- label: 表单设计器
166
- CustomLabels:
167
- _forms_field_code_error: 字段名 %s 不能包含'.'
168
- forms_field_current.fields:
169
- forms_field_current.fields_$_code:
170
- forms_field_current.fields_$_is_list_display:
171
- forms_field_current.fields_$_is_multiselect:
172
- forms_field_current.fields_$_is_required:
173
- forms_field_current.fields_$_is_searchable:
174
- forms_field_current.fields_$_is_wide:
175
- forms_field_current.fields_$_name:
176
- forms_field_current.fields_$_type:
177
- forms_field_current.fields_$_type_options_checkbox:
178
- forms_field_current.fields_$_type_options_date:
179
- forms_field_current.fields_$_type_options_dateTime:
180
- forms_field_current.fields_$_type_options_email:
181
- forms_field_current.fields_$_type_options_geolocation:
182
- forms_field_current.fields_$_type_options_group:
183
- forms_field_current.fields_$_type_options_input:
184
- forms_field_current.fields_$_type_options_multiSelect:
185
- forms_field_current.fields_$_type_options_number:
186
- forms_field_current.fields_$_type_options_password:
187
- forms_field_current.fields_$_type_options_radio:
188
- forms_field_current.fields_$_type_options_section:
189
- forms_field_current.fields_$_type_options_select:
190
- forms_field_current.fields_$_type_options_table:
191
- forms_field_current.fields_$_type_options_url:
192
- forms_field_current.fields_$_type_options_user:
193
- forms_field_current.form_script:
194
- forms_field_current.name_forumla:
@@ -1,211 +0,0 @@
1
- name: instances
2
- label: Request
3
- description:
4
- fields:
5
- name:
6
- label: Name
7
- help:
8
- description:
9
- flow:
10
- label: Workflow
11
- help:
12
- description:
13
- flow_version:
14
- label: Workflow Version
15
- help:
16
- description:
17
- form:
18
- label: Form
19
- help:
20
- description:
21
- form_version:
22
- label: Form Version
23
- help:
24
- description:
25
- submitter:
26
- label: Submitter
27
- help:
28
- description:
29
- submitter_name:
30
- label: Submitter's Name
31
- help:
32
- description:
33
- submit_date:
34
- label: Submit Date
35
- help:
36
- description:
37
- applicant:
38
- label: Applicant
39
- help:
40
- description:
41
- applicant_name:
42
- label: Applicant's Name
43
- help:
44
- description:
45
- applicant_organization:
46
- label: Applicant Department
47
- help:
48
- description:
49
- applicant_organization_name:
50
- label: Applicant Department's Name
51
- help:
52
- description:
53
- applicant_organization_fullname:
54
- label: Applicant Department's Fullname
55
- help:
56
- description:
57
- code:
58
- label: Code
59
- help:
60
- description:
61
- values:
62
- label: Field Values
63
- help:
64
- description:
65
- inbox_users:
66
- label: Inbox Users
67
- help:
68
- description:
69
- outbox_users:
70
- label: Outbox Users
71
- help:
72
- description:
73
- traces:
74
- label: Processing Traces
75
- help:
76
- description:
77
- attachments:
78
- label: Attachments
79
- help:
80
- description:
81
- flow_name:
82
- label: Workflow Name
83
- help:
84
- description:
85
- category_name:
86
- label: Category Name
87
- help:
88
- description:
89
- category:
90
- label: Category
91
- help:
92
- description:
93
- state:
94
- label: Processing State
95
- help:
96
- options:
97
- - label: Draft
98
- value: draft
99
- - label: Pending
100
- value: pending
101
- - label: Completed
102
- value: completed
103
- description:
104
- is_archived:
105
- label: Archived
106
- help:
107
- description:
108
- is_deleted:
109
- label: Deleted
110
- help:
111
- description:
112
- related_instances:
113
- label: Related Instances
114
- help:
115
- description:
116
- record_ids:
117
- label: Record IDs
118
- help:
119
- description:
120
- record_ids.$.o:
121
- label:
122
- help:
123
- description:
124
- record_ids.$.ids:
125
- label:
126
- help:
127
- description:
128
- current_step_auto_submit:
129
- label: Auto Submit if Time Out
130
- help:
131
- description:
132
- current_step_name:
133
- label: Current Step Name
134
- help:
135
- description:
136
- applicant_company:
137
- label: Applicant's Division
138
- help:
139
- description:
140
- cc_count:
141
- label: CC Count
142
- help:
143
- description:
144
- listviews:
145
- all:
146
- label: All
147
- inbox:
148
- label: Inbox
149
- outbox:
150
- label: Outbox
151
- draft:
152
- label: Draft
153
- pending:
154
- label: In Progress
155
- completed:
156
- label: Finished
157
- monitor:
158
- label: Monitor
159
- actions:
160
- view_instance:
161
- label: View Instance
162
- instance_terminate:
163
- label: Cancel Request
164
- instance_save:
165
- label: Save
166
- instance_related:
167
- label: Linked requests
168
- instance_distribute:
169
- label: Distribute
170
- instance_submit:
171
- label: Submit
172
- instance_forward:
173
- label: Request Forward
174
- instance_cc:
175
- label: Carbon Copy
176
- instance_relocate:
177
- label: Relocate
178
- instance_new:
179
- label: New Request
180
- instance_delete:
181
- label: Delete
182
- instance_delete_many:
183
- label: Delete
184
- CustomLabels:
185
- instance_action_new_dialog_title: Please select the process
186
- instance_action_new_dialog_msg_success: Created successfully!
187
- instance_action_new_dialog_msg_failed: Created failed!
188
- instance_action_delete_many_msg_not_select: Please select at least one record
189
- instance_action_instance_save_msg_success: Temporary storage successful
190
- instance_action_instance_save_msg_failed: Temporary storage failed
191
- instance_action_instance_distribute_dialog_sub_title: Distribute the currently selected file to the new process and continue to execute the approval operation
192
- instance_action_instance_distribute_dialog_field_process: Process name
193
- instance_action_instance_distribute_dialog_field_users: Distribute to
194
- instance_action_instance_distribute_dialog_field_description: Description
195
- instance_action_instance_distribute_dialog_field_to_self: Distribute it to yourself too
196
- instance_action_instance_distribute_dialog_field_to_attachment: Save the original form as an attachment
197
- instance_action_instance_distribute_dialog_field_related: Automatically create associated files
198
- instance_action_instance_cc_dialog_title_prefix: "Current Step:"
199
- instance_action_instance_cc_dialog_field_users: Carbon Copy To
200
- instance_action_instance_cc_dialog_field_description: Carbon Copy Description
201
- instance_action_instance_cc_dialog_sub_title: Forward the currently selected file to the new process and continue to execute the approval operation.
202
- instance_action_terminate_dialog_title: Cancel Request
203
- instance_action_terminate_dialog_content: Please fill in the reasons for canceling the application
204
- instance_action_terminate_dialog_msg_success: The cancellation application has been successful!
205
- instance_action_terminate_dialog_msg_failed: The cancellation application failed.
206
- instance_action_instance_relocate_dialog_title: Relocate
207
- instance_action_instance_relocate_dialog_title_prefix: "Current Step:"
208
- instance_action_instance_relocate_dialog_field_reason: Please fill in the reasons for the Relocating
209
- instance_action_relocate_dialog_msg_success: Relocated successful
210
- instance_action_relocate_dialog_msg_failed: Relocated failed
211
-