@steedos-widgets/amis-object 6.10.1-beta.55 → 6.10.1-beta.57

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.
package/dist/assets.json CHANGED
@@ -11,31 +11,31 @@
11
11
  {
12
12
  "package": "@steedos-widgets/fullcalendar",
13
13
  "urls": [
14
- "https://unpkg.com/@steedos-widgets/fullcalendar@6.10.1-beta.55/dist/fullcalendar.umd.js",
15
- "https://unpkg.com/@steedos-widgets/fullcalendar@6.10.1-beta.55/dist/fullcalendar.umd.css"
14
+ "https://unpkg.com/@steedos-widgets/fullcalendar@6.10.1-beta.57/dist/fullcalendar.umd.js",
15
+ "https://unpkg.com/@steedos-widgets/fullcalendar@6.10.1-beta.57/dist/fullcalendar.umd.css"
16
16
  ],
17
17
  "library": "BuilderFullCalendar"
18
18
  },
19
19
  {
20
20
  "package": "@steedos-widgets/sortable",
21
21
  "urls": [
22
- "https://unpkg.com/@steedos-widgets/sortable@6.10.1-beta.55/dist/sortable.umd.js",
23
- "https://unpkg.com/@steedos-widgets/sortable@6.10.1-beta.55/dist/sortable.umd.css"
22
+ "https://unpkg.com/@steedos-widgets/sortable@6.10.1-beta.57/dist/sortable.umd.js",
23
+ "https://unpkg.com/@steedos-widgets/sortable@6.10.1-beta.57/dist/sortable.umd.css"
24
24
  ],
25
25
  "library": "BuilderSortable"
26
26
  },
27
27
  {
28
28
  "package": "steedos-lib",
29
29
  "urls": [
30
- "https://unpkg.com/@steedos-widgets/steedos-lib@6.10.1-beta.55/dist/index.umd.js"
30
+ "https://unpkg.com/@steedos-widgets/steedos-lib@6.10.1-beta.57/dist/index.umd.js"
31
31
  ],
32
32
  "library": "SteedosLib"
33
33
  },
34
34
  {
35
35
  "package": "@steedos-widgets/amis-object",
36
36
  "urls": [
37
- "https://unpkg.com/@steedos-widgets/amis-object@6.10.1-beta.55/dist/amis-object.umd.js",
38
- "https://unpkg.com/@steedos-widgets/amis-object@6.10.1-beta.55/dist/amis-object.umd.css"
37
+ "https://unpkg.com/@steedos-widgets/amis-object@6.10.1-beta.57/dist/amis-object.umd.js",
38
+ "https://unpkg.com/@steedos-widgets/amis-object@6.10.1-beta.57/dist/amis-object.umd.css"
39
39
  ],
40
40
  "library": "BuilderAmisObject"
41
41
  }
@@ -46,10 +46,10 @@
46
46
  "npm": {
47
47
  "package": "@steedos-widgets/fullcalendar"
48
48
  },
49
- "url": "https://unpkg.com/@steedos-widgets/fullcalendar@6.10.1-beta.55/dist/meta.js",
49
+ "url": "https://unpkg.com/@steedos-widgets/fullcalendar@6.10.1-beta.57/dist/meta.js",
50
50
  "urls": {
51
- "default": "https://unpkg.com/@steedos-widgets/fullcalendar@6.10.1-beta.55/dist/meta.js",
52
- "design": "https://unpkg.com/@steedos-widgets/fullcalendar@6.10.1-beta.55/dist/meta.js"
51
+ "default": "https://unpkg.com/@steedos-widgets/fullcalendar@6.10.1-beta.57/dist/meta.js",
52
+ "design": "https://unpkg.com/@steedos-widgets/fullcalendar@6.10.1-beta.57/dist/meta.js"
53
53
  }
54
54
  },
55
55
  {
@@ -57,10 +57,10 @@
57
57
  "npm": {
58
58
  "package": "@steedos-widgets/reactflow"
59
59
  },
60
- "url": "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.55/dist/meta.js",
60
+ "url": "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.57/dist/meta.js",
61
61
  "urls": {
62
- "default": "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.55/dist/meta.js",
63
- "design": "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.55/dist/meta.js"
62
+ "default": "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.57/dist/meta.js",
63
+ "design": "https://unpkg.com/@steedos-widgets/reactflow@6.10.1-beta.57/dist/meta.js"
64
64
  }
65
65
  },
66
66
  {
@@ -68,10 +68,10 @@
68
68
  "npm": {
69
69
  "package": "@steedos-widgets/sortable"
70
70
  },
71
- "url": "https://unpkg.com/@steedos-widgets/sortable@6.10.1-beta.55/dist/meta.js",
71
+ "url": "https://unpkg.com/@steedos-widgets/sortable@6.10.1-beta.57/dist/meta.js",
72
72
  "urls": {
73
- "default": "https://unpkg.com/@steedos-widgets/sortable@6.10.1-beta.55/dist/meta.js",
74
- "design": "https://unpkg.com/@steedos-widgets/sortable@6.10.1-beta.55/dist/meta.js"
73
+ "default": "https://unpkg.com/@steedos-widgets/sortable@6.10.1-beta.57/dist/meta.js",
74
+ "design": "https://unpkg.com/@steedos-widgets/sortable@6.10.1-beta.57/dist/meta.js"
75
75
  }
76
76
  },
77
77
  {
@@ -79,10 +79,10 @@
79
79
  "npm": {
80
80
  "package": "@steedos-widgets/amis-object"
81
81
  },
82
- "url": "https://unpkg.com/@steedos-widgets/amis-object@6.10.1-beta.55/dist/meta.js",
82
+ "url": "https://unpkg.com/@steedos-widgets/amis-object@6.10.1-beta.57/dist/meta.js",
83
83
  "urls": {
84
- "default": "https://unpkg.com/@steedos-widgets/amis-object@6.10.1-beta.55/dist/meta.js",
85
- "design": "https://unpkg.com/@steedos-widgets/amis-object@6.10.1-beta.55/dist/meta.js"
84
+ "default": "https://unpkg.com/@steedos-widgets/amis-object@6.10.1-beta.57/dist/meta.js",
85
+ "design": "https://unpkg.com/@steedos-widgets/amis-object@6.10.1-beta.57/dist/meta.js"
86
86
  }
87
87
  }
88
88
  ]
package/dist/meta.js CHANGED
@@ -1577,8 +1577,8 @@
1577
1577
  /*
1578
1578
  * @Author: baozhoutao@steedos.com
1579
1579
  * @Date: 2022-08-31 16:32:35
1580
- * @LastEditors: baozhoutao@steedos.com
1581
- * @LastEditTime: 2022-12-01 16:08:49
1580
+ * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
1581
+ * @LastEditTime: 2025-09-03 14:31:30
1582
1582
  * @Description:
1583
1583
  */
1584
1584
  var t$b = window.steedosI18next.t;
@@ -1601,13 +1601,23 @@
1601
1601
  {
1602
1602
  name: "objectApiName",
1603
1603
  propType: "string",
1604
- description: t$b('widgets-meta:steedos-record-service_props_objectApiName', '对象名称'),
1604
+ description: t$b('widgets-meta:steedos-record-service_props_objectApiName', '对象'),
1605
1605
  },
1606
1606
  {
1607
1607
  name: "recordId",
1608
1608
  propType: "string",
1609
- description: t$b('widgets-meta:steedos-record-service_props_recordId', '记录Id'),
1610
- }
1609
+ description: t$b('widgets-meta:steedos-record-service_props_recordId', '记录ID'),
1610
+ },
1611
+ {
1612
+ name: "initApiRequestAdaptor",
1613
+ propType: "string",
1614
+ description: t$b('widgets-meta:steedos-record-service_props_initApiRequestAdaptor', '初始化接口发送适配器'),
1615
+ },
1616
+ {
1617
+ name: "initApiAdaptor",
1618
+ propType: "string",
1619
+ description: t$b('widgets-meta:steedos-record-service_props_initApiAdaptor', '初始化接口接收适配器'),
1620
+ },
1611
1621
  ],
1612
1622
  preview: {},
1613
1623
  targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
@@ -1659,7 +1669,56 @@
1659
1669
  type: config$v.amis.name,
1660
1670
  objectApiName: 'space_users'
1661
1671
  },
1662
- panelTitle: t$b('widgets-meta:steedos-record-service_panelTitle', '设置')
1672
+ panelTitle: t$b('widgets-meta:steedos-record-service_panelTitle', '设置'),
1673
+ panelControls: [
1674
+ {
1675
+ "type": "select",
1676
+ mode: 'horizontal',
1677
+ horizontal: {
1678
+ left: 4,
1679
+ right: 8,
1680
+ justify: true
1681
+ },
1682
+ "label": t$b('widgets-meta:steedos-record-service_props_objectApiName', '对象'),
1683
+ "name": "objectApiName",
1684
+ "searchable": true,
1685
+ "multiple": false,
1686
+ "source": {
1687
+ "method": "get",
1688
+ "url": "/service/api/amis-design/objects",
1689
+ "requestAdaptor": "\n api.url = Builder.settings.rootUrl + api.url; \n if(!api.headers){\n api.headers = {}\n };\n api.headers.Authorization='Bearer ' + Builder.settings.tenantId + ',' + Builder.settings.authToken ;\n return api;\n ",
1690
+ "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"".concat(t$b('widgets-meta:steedos-record-service_props_objectApiName_currentObject', '当前对象'), "\",\n name: \"${objectName}\"\n });\n return payload;\n ")
1691
+ },
1692
+ "labelField": "label",
1693
+ "valueField": "name",
1694
+ "menuTpl": ""
1695
+ },
1696
+ {
1697
+ type: "input-text",
1698
+ name: "recordId",
1699
+ label: t$b('widgets-meta:steedos-record-service_props_recordId', '记录ID'),
1700
+ mode: 'horizontal',
1701
+ horizontal: {
1702
+ left: 4,
1703
+ right: 8,
1704
+ justify: true
1705
+ },
1706
+ },
1707
+ {
1708
+ type: "editor",
1709
+ name: "initApiRequestAdaptor",
1710
+ label: t$b('widgets-meta:steedos-record-service_props_initApiRequestAdaptor', '发送适配器'),
1711
+ language: "javascript",
1712
+ description: t$b('widgets-meta:steedos-record-service_props_tip_initApiRequestAdaptor', '函数签名:(api) => api, 数据在 api.data 中,修改后返回 api 对象。')
1713
+ },
1714
+ {
1715
+ type: "editor",
1716
+ name: "initApiAdaptor",
1717
+ label: t$b('widgets-meta:steedos-record-service_props_initApiAdaptor', '接收适配器'),
1718
+ language: "javascript",
1719
+ description: t$b('widgets-meta:steedos-record-service_props_tip_initApiAdaptor', '函数签名: (payload, response, api) => payload')
1720
+ }
1721
+ ]
1663
1722
  }
1664
1723
  } });
1665
1724
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@steedos-widgets/amis-object",
3
3
  "private": false,
4
- "version": "6.10.1-beta.55",
4
+ "version": "6.10.1-beta.57",
5
5
  "main": "dist/amis-object.cjs.js",
6
6
  "module": "dist/amis-object.esm.js",
7
7
  "unpkg": "dist/amis-object.umd.js",
@@ -61,10 +61,10 @@
61
61
  "uglify-js": "^3.17.0"
62
62
  },
63
63
  "dependencies": {
64
- "@steedos-widgets/amis-lib": "6.10.1-beta.55",
64
+ "@steedos-widgets/amis-lib": "6.10.1-beta.57",
65
65
  "autoprefixer": "^10.4.13",
66
66
  "postcss": "^8.4.19",
67
67
  "tailwindcss": "^3.2.4"
68
68
  },
69
- "gitHead": "0de5cb8057de0be04c498bca082ca6c1f5147d05"
69
+ "gitHead": "eca6419e146bca280ef706472e2a79492fef9429"
70
70
  }