@steedos/service-core-objects 3.0.0-beta.96 → 3.0.0-beta.97

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.
@@ -173,6 +173,8 @@ actions:
173
173
  label: Request Forward
174
174
  instance_cc:
175
175
  label: Carbon Copy
176
+ instance_relocate:
177
+ label: Relocate
176
178
  instance_new:
177
179
  label: New Request
178
180
  instance_delete:
@@ -197,4 +199,13 @@ CustomLabels:
197
199
  instance_action_instance_cc_dialog_field_users: Carbon Copy To
198
200
  instance_action_instance_cc_dialog_field_description: Carbon Copy Description
199
201
  instance_action_instance_cc_dialog_sub_title: Forward the currently selected file to the new process and continue to execute the approval operation.
200
-
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
+
@@ -173,6 +173,8 @@ actions:
173
173
  label: 转发
174
174
  instance_cc:
175
175
  label: 传阅
176
+ instance_relocate:
177
+ label: 重定位
176
178
  instance_new:
177
179
  label: 新建
178
180
  instance_delete_many:
@@ -195,3 +197,12 @@ CustomLabels:
195
197
  instance_action_instance_cc_dialog_field_users: 传阅对象
196
198
  instance_action_instance_cc_dialog_field_description: 传阅说明
197
199
  instance_action_instance_cc_dialog_sub_title: 将当前选中的文件转发到新的流程,继续执行审批操作
200
+ instance_action_terminate_dialog_title: 取消申请
201
+ instance_action_terminate_dialog_content: 请填写取消申请的理由
202
+ instance_action_terminate_dialog_msg_success: 取消申请成功!
203
+ instance_action_terminate_dialog_msg_failed: 取消申请失败
204
+ instance_action_instance_relocate_dialog_title: 重定位
205
+ instance_action_instance_relocate_dialog_title_prefix: 当前步骤:
206
+ instance_action_instance_relocate_dialog_field_reason: 请填写重定位的理由
207
+ instance_action_relocate_dialog_msg_success: 重定位成功
208
+ instance_action_relocate_dialog_msg_failed: 重定位失败
@@ -327,10 +327,6 @@
327
327
  "appId": "builder",
328
328
  "title": "",
329
329
  "context": {
330
- "rootUrl": "http://127.0.0.1:5800",
331
- "tenantId": "64a4d6dd7fe9acaf8c330a37",
332
- "userId": "683e09cd-8482-4034-bd29-5a30643e6c0f",
333
- "authToken": "2906ff4353c25cfe291352f899ba3446aa5577f3de7ad60e1aa500c60dee7ca6fb446412f1c9693775b4cc"
334
330
  }
335
331
  },
336
332
  "id": "u:de840f3523f2"
@@ -31,10 +31,6 @@
31
31
  "data": {
32
32
  "objectName": "organizations",
33
33
  "context": {
34
- "rootUrl": "http://127.0.0.1:5800",
35
- "tenantId": "654300b5074594d15147bcfa",
36
- "userId": "654300a4074594d15147bcf8",
37
- "authToken": "e9bcdfdc56579ec21b9e520e1e1a903a42fa829de27c9eb70f7e6caf8599f95e705d5aedf2336fbb818d98"
38
34
  }
39
35
  },
40
36
  "id": "u:b7fa9418ef38",
@@ -1,5 +1,5 @@
1
1
  {
2
- "type": "service",
2
+ "type": "page",
3
3
  "body": [
4
4
  {
5
5
  "type": "service",
@@ -14,7 +14,7 @@
14
14
  {
15
15
  "type": "wrapper",
16
16
  "size": "none",
17
- "className": "flex-shrink-0 min-w-[200px] overflow-y-auto border-r border-gray-200 lg:order-first lg:flex lg:flex-col hidden",
17
+ "className": "space-users-list-sidebar-wrapper flex-shrink-0 min-w-[220px] overflow-y-auto sm:rounded shadow bg-white my-4 ml-4 mr-1 lg:order-first lg:flex lg:flex-col ",
18
18
  "body": [
19
19
  {
20
20
  "type": "input-tree",
@@ -37,6 +37,19 @@
37
37
  "onEvent": {
38
38
  "change": {
39
39
  "actions": [
40
+ {
41
+ "actionType": "custom",
42
+ "script": "document.querySelector('.space-users-list-custom-page').classList.toggle('space-users-list-sidebar-open');"
43
+ },
44
+ {
45
+ "actionType": "setValue",
46
+ "componentId": "u:f6a209c8cf61",
47
+ "args": {
48
+ "value": {
49
+ "isVisible": "${!isVisible}"
50
+ }
51
+ }
52
+ },
40
53
  {
41
54
  "actionType": "setValue",
42
55
  "componentId": "u:f6a209c8cf61",
@@ -83,7 +96,41 @@
83
96
  }
84
97
  ],
85
98
  "id": "u:fd659f5c3657",
86
- "visibleOn": "${isVisible}"
99
+ "visibleOn": "${isVisible}",
100
+ "isFixedHeight": false,
101
+ "isFixedWidth": false
102
+ },
103
+ {
104
+ "type": "button",
105
+ "className": "space-users-sidebar-overlay",
106
+ "id": "u:773b1d00aab2",
107
+ "visibleOn": "${isVisible && isMobile}",
108
+ "body": [],
109
+ "onEvent": {
110
+ "click": {
111
+ "actions": [
112
+ {
113
+ "actionType": "custom",
114
+ "script": "document.querySelector('.space-users-list-custom-page').classList.toggle('space-users-list-sidebar-open');"
115
+ },
116
+ {
117
+ "actionType": "wait",
118
+ "args": {
119
+ "time": 500
120
+ }
121
+ },
122
+ {
123
+ "actionType": "setValue",
124
+ "componentId": "u:f6a209c8cf61",
125
+ "args": {
126
+ "value": {
127
+ "isVisible": "${!isVisible}"
128
+ }
129
+ }
130
+ }
131
+ ]
132
+ }
133
+ }
87
134
  },
88
135
  {
89
136
  "type": "wrapper",
@@ -101,26 +148,37 @@
101
148
  {
102
149
  "type": "button",
103
150
  "label": "",
104
- "align": "right",
151
+ "align": "left",
105
152
  "icon": "fa fa-bars",
106
153
  "className": "bg-white p-2 rounded border-gray-300 text-gray-500",
107
- "hiddenOn": "${window:innerWidth < 768}",
108
154
  "onEvent": {
109
155
  "click": {
110
156
  "actions": [
111
157
  {
112
158
  "actionType": "setValue",
113
- "componentId": "u:f6a209c8cf61",
114
159
  "args": {
115
160
  "value": {
116
161
  "isVisible": "${!isVisible}"
117
162
  }
118
- }
163
+ },
164
+ "componentId": "u:f6a209c8cf61"
165
+ },
166
+ {
167
+ "actionType": "wait",
168
+ "args": {
169
+ "time": 50
170
+ },
171
+ "expression": "${!isMobile}"
172
+ },
173
+ {
174
+ "actionType": "custom",
175
+ "script": "document.querySelector('.space-users-list-custom-page').classList.toggle('space-users-list-sidebar-open');"
119
176
  }
120
177
  ]
121
178
  }
122
179
  },
123
- "id": "u:6f237cc36419"
180
+ "id": "u:6f237cc36419",
181
+ "hiddenOn": "${window:innerWidth < 768 && false}"
124
182
  }
125
183
  ],
126
184
  "className": "bg-gray-100",
@@ -143,9 +201,11 @@
143
201
  }
144
202
  ],
145
203
  "data": {
146
- "isVisible": true
204
+ "isVisible": "${window:innerWidth > 768}",
205
+ "isMobile": "${window:innerWidth <= 768}"
147
206
  },
148
- "id": "u:f6a209c8cf61"
207
+ "id": "u:f6a209c8cf61",
208
+ "dsType": "api"
149
209
  }
150
210
  ],
151
211
  "regions": [
@@ -153,17 +213,162 @@
153
213
  ],
154
214
  "data": {
155
215
  "objectName": "space_users",
156
- "context": {}
216
+ "context": {
217
+ "rootUrl": "http://127.0.0.1:5600",
218
+ "tenantId": "68400b7542187738fb1bab2c",
219
+ "userId": "68400b7042187738fb1bab2a",
220
+ "authToken": "cc31877680017ca5bc8b6de2a9f1cb38debce7c39bd2f79e21c43400783f8c4d852662a1e443e9c44584be",
221
+ "user": {
222
+ "authToken": "cc31877680017ca5bc8b6de2a9f1cb38debce7c39bd2f79e21c43400783f8c4d852662a1e443e9c44584be",
223
+ "spaceId": "68400b7542187738fb1bab2c",
224
+ "userId": "68400b7042187738fb1bab2a",
225
+ "name": "YLH1",
226
+ "username": "yinlianghui",
227
+ "email": "yinlianghui@hotoa.com",
228
+ "utcOffset": null,
229
+ "steedos_id": "68400b7042187738fb1bab2a",
230
+ "locale": "en-us",
231
+ "language": "en",
232
+ "roles": [
233
+ "admin"
234
+ ],
235
+ "profile": "admin",
236
+ "user": "68400b7042187738fb1bab2a",
237
+ "user_accepted": true,
238
+ "organization": {
239
+ "_id": "68400b7542187738fb1bab2c",
240
+ "name": "TEW",
241
+ "fullname": "TEW",
242
+ "company_id": "68400b7542187738fb1bab2c"
243
+ },
244
+ "organizations": [
245
+ {
246
+ "_id": "68400b7542187738fb1bab2c",
247
+ "name": "TEW",
248
+ "fullname": "TEW",
249
+ "company_id": "68400b7542187738fb1bab2c"
250
+ },
251
+ {
252
+ "_id": "684784a17f4aeba0af86e0bb",
253
+ "name": "生产部",
254
+ "fullname": "生产部",
255
+ "company_id": "68400b7542187738fb1bab2c"
256
+ }
257
+ ],
258
+ "space": {
259
+ "_id": "68400b7542187738fb1bab2c",
260
+ "name": "TEW",
261
+ "admins": [
262
+ "68400b7042187738fb1bab2a",
263
+ "686ccd4a33466ba7d2a1fce6",
264
+ "686cc9f8b6409ed05d63c80d"
265
+ ]
266
+ },
267
+ "owner": "68400b7042187738fb1bab2a",
268
+ "created_by": "68400b7042187738fb1bab2a",
269
+ "created": "2025-06-04T09:01:41.340Z",
270
+ "modified_by": "68400b7042187738fb1bab2a",
271
+ "modified": "2025-08-31T09:38:56.388Z",
272
+ "email_verified": null,
273
+ "company_id": "68400b7542187738fb1bab2c",
274
+ "organizations_parents": [
275
+ "68400b7542187738fb1bab2c",
276
+ "684784a17f4aeba0af86e0bb"
277
+ ],
278
+ "company_ids": [
279
+ "68400b7542187738fb1bab2c"
280
+ ],
281
+ "spaces": [
282
+ {
283
+ "_id": "68400b7542187738fb1bab2c",
284
+ "name": "TEW",
285
+ "admins": [
286
+ "68400b7042187738fb1bab2a",
287
+ "686ccd4a33466ba7d2a1fce6",
288
+ "686cc9f8b6409ed05d63c80d"
289
+ ]
290
+ }
291
+ ],
292
+ "companies": [
293
+ {
294
+ "_id": "68400b7542187738fb1bab2c",
295
+ "name": "TEW",
296
+ "organization": "68400b7542187738fb1bab2c"
297
+ }
298
+ ],
299
+ "company": {
300
+ "_id": "68400b7542187738fb1bab2c",
301
+ "name": "TEW",
302
+ "organization": "68400b7542187738fb1bab2c"
303
+ },
304
+ "permission_shares": [],
305
+ "spaceUserId": "68400b7542187738fb1bab2d",
306
+ "is_space_admin": true,
307
+ "is_phone": false,
308
+ "is_tablet": false
309
+ }
310
+ }
157
311
  },
312
+ "id": "u:b7167e2fcaf0",
158
313
  "name": "page_space_users_list",
159
314
  "bodyClassName": "p-0",
160
- "id": "u:b7167e2fcaf0",
161
315
  "asideResizor": false,
162
316
  "pullRefresh": {
163
317
  "disabled": true
164
318
  },
165
- "className": "space-users-list h-full",
166
- "style": {
167
- "padding": "${displayAs == 'grid'?'':'0px'}"
319
+ "className": {
320
+ "space-users-list-custom-page h-full": true,
321
+ "space-users-list-mobile": "${window:innerWidth < 768}",
322
+ "space-users-list-pc space-users-list-sidebar-open": "${window:innerWidth > 768}"
323
+ },
324
+ "style": {},
325
+ "dsType": "api",
326
+ "themeCss": {
327
+ "baseControlClassName": {
328
+ "padding-and-margin:default": {
329
+ "padding": "${displayAs == 'grid'?'':'0px'}"
330
+ }
331
+ }
332
+ },
333
+ "css": {
334
+ ".space-users-list-custom-page.space-users-list-mobile .space-users-list-sidebar-wrapper": {
335
+ "z-index": "601",
336
+ "top": "50px",
337
+ "left": "0px",
338
+ "bottom": "0px",
339
+ "position": "fixed",
340
+ "margin": "0px"
341
+ },
342
+ ".space-users-list-custom-page.space-users-list-mobile .space-users-sidebar-overlay": {
343
+ "z-index": "600",
344
+ "position": "fixed",
345
+ "bottom": "0px",
346
+ "right": "0px",
347
+ "left": "0px",
348
+ "top": "50px"
349
+ },
350
+ ".space-users-list-custom-page .space-users-list-sidebar-wrapper": {
351
+ "transition": "0.5s ease transform",
352
+ "will-change": "transform",
353
+ "transform": "translate(-100%,0)",
354
+ "-webkit-transform": "translate(-100%,0)",
355
+ "-moz-transform": "translate(-100%,0)",
356
+ "-ms-transform": "translate(-100%,0)",
357
+ "-o-transform": "translate(-100%,0)"
358
+ },
359
+ ".space-users-list-custom-page.space-users-list-sidebar-open .space-users-list-sidebar-wrapper": {
360
+ "transform": "translate(0,0)",
361
+ "-webkit-transform": "translate(0,0)",
362
+ "-moz-transform": "translate(0,0)",
363
+ "-ms-transform": "translate(0,0)",
364
+ "-o-transform": "translate(0,0)"
365
+ },
366
+ ".space-users-list-custom-page.space-users-list-pc .space-users-list-sidebar-wrapper": {
367
+ "min-width": "0px",
368
+ "width": "0px"
369
+ },
370
+ ".space-users-list-custom-page.space-users-list-pc.space-users-list-sidebar-open .space-users-list-sidebar-wrapper": {
371
+ "min-width": "220px"
372
+ }
168
373
  }
169
374
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-core-objects",
3
- "version": "3.0.0-beta.96",
3
+ "version": "3.0.0-beta.97",
4
4
  "main": "package.service.js",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -10,12 +10,12 @@
10
10
  "steedos"
11
11
  ],
12
12
  "dependencies": {
13
- "@steedos/service-package-loader": "3.0.0-beta.96",
13
+ "@steedos/service-package-loader": "3.0.0-beta.97",
14
14
  "json2xls": "^0.1.2",
15
15
  "lodash": "^4.17.21"
16
16
  },
17
17
  "description": "steedos package",
18
18
  "repository": {},
19
19
  "license": "MIT",
20
- "gitHead": "96b68e266d217fce7ae35724edca75e53930db14"
20
+ "gitHead": "ebcf37d746bcbaf2a4bd29b651e25b0d63983dc5"
21
21
  }