@steedos-widgets/amis-object 1.2.28 → 1.2.31

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,23 +11,23 @@
11
11
  {
12
12
  "package": "@steedos-widgets/fullcalendar",
13
13
  "urls": [
14
- "https://unpkg.com/@steedos-widgets/fullcalendar@1.2.28/dist/fullcalendar.umd.js",
15
- "https://unpkg.com/@steedos-widgets/fullcalendar@1.2.28/dist/fullcalendar.umd.css"
14
+ "https://unpkg.com/@steedos-widgets/fullcalendar@1.2.31/dist/fullcalendar.umd.js",
15
+ "https://unpkg.com/@steedos-widgets/fullcalendar@1.2.31/dist/fullcalendar.umd.css"
16
16
  ],
17
17
  "library": "BuilderFullCalendar"
18
18
  },
19
19
  {
20
20
  "package": "steedos-lib",
21
21
  "urls": [
22
- "https://unpkg.com/@steedos-widgets/steedos-lib@1.2.28/dist/index.umd.js"
22
+ "https://unpkg.com/@steedos-widgets/steedos-lib@1.2.31/dist/index.umd.js"
23
23
  ],
24
24
  "library": "SteedosLib"
25
25
  },
26
26
  {
27
27
  "package": "@steedos-widgets/amis-object",
28
28
  "urls": [
29
- "https://unpkg.com/@steedos-widgets/amis-object@1.2.28/dist/amis-object.umd.js",
30
- "https://unpkg.com/@steedos-widgets/amis-object@1.2.28/dist/amis-object.umd.css"
29
+ "https://unpkg.com/@steedos-widgets/amis-object@1.2.31/dist/amis-object.umd.js",
30
+ "https://unpkg.com/@steedos-widgets/amis-object@1.2.31/dist/amis-object.umd.css"
31
31
  ],
32
32
  "library": "BuilderAmisObject"
33
33
  }
@@ -38,10 +38,10 @@
38
38
  "npm": {
39
39
  "package": "@steedos-widgets/fullcalendar"
40
40
  },
41
- "url": "https://unpkg.com/@steedos-widgets/fullcalendar@1.2.28/dist/meta.js",
41
+ "url": "https://unpkg.com/@steedos-widgets/fullcalendar@1.2.31/dist/meta.js",
42
42
  "urls": {
43
- "default": "https://unpkg.com/@steedos-widgets/fullcalendar@1.2.28/dist/meta.js",
44
- "design": "https://unpkg.com/@steedos-widgets/fullcalendar@1.2.28/dist/meta.js"
43
+ "default": "https://unpkg.com/@steedos-widgets/fullcalendar@1.2.31/dist/meta.js",
44
+ "design": "https://unpkg.com/@steedos-widgets/fullcalendar@1.2.31/dist/meta.js"
45
45
  }
46
46
  },
47
47
  {
@@ -49,10 +49,10 @@
49
49
  "npm": {
50
50
  "package": "@steedos-widgets/amis-object"
51
51
  },
52
- "url": "https://unpkg.com/@steedos-widgets/amis-object@1.2.28/dist/meta.js",
52
+ "url": "https://unpkg.com/@steedos-widgets/amis-object@1.2.31/dist/meta.js",
53
53
  "urls": {
54
- "default": "https://unpkg.com/@steedos-widgets/amis-object@1.2.28/dist/meta.js",
55
- "design": "https://unpkg.com/@steedos-widgets/amis-object@1.2.28/dist/meta.js"
54
+ "default": "https://unpkg.com/@steedos-widgets/amis-object@1.2.31/dist/meta.js",
55
+ "design": "https://unpkg.com/@steedos-widgets/amis-object@1.2.31/dist/meta.js"
56
56
  }
57
57
  }
58
58
  ]
package/dist/meta.js CHANGED
@@ -812,7 +812,7 @@
812
812
  * @Author: baozhoutao@steedos.com
813
813
  * @Date: 2022-08-31 16:32:35
814
814
  * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
815
- * @LastEditTime: 2023-06-20 10:55:46
815
+ * @LastEditTime: 2023-07-04 18:04:30
816
816
  * @Description:
817
817
  */
818
818
  var config$t = {
@@ -959,11 +959,14 @@
959
959
  "method": "get",
960
960
  "url": "/service/api/amis-design/objects",
961
961
  "requestAdaptor": "api.url = Builder.settings.rootUrl + api.url; if(!api.headers){api.headers = {}};api.headers.Authorization='Bearer ' + Builder.settings.tenantId + ',' + Builder.settings.authToken ;return api;",
962
- "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"\u5F53\u524D\u5BF9\u8C61\",\n name: \"${objectName}\"\n });\n return payload;\n "
962
+ "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"\u5F53\u524D\u5BF9\u8C61\",\n name: \"${objectName}\",\n NAME_FIELD_KEY: \"name\"\n });\n return payload;\n "
963
963
  },
964
964
  "labelField": "label",
965
965
  "valueField": "name",
966
- "menuTpl": ""
966
+ "menuTpl": "",
967
+ "autoFill": {
968
+ "fields": "${(NAME_FIELD_KEY || 'name')|asArray}"
969
+ }
967
970
  },
968
971
  {
969
972
  type: "transfer-picker",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@steedos-widgets/amis-object",
3
3
  "private": false,
4
- "version": "1.2.28",
4
+ "version": "1.2.31",
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": "1.2.28",
64
+ "@steedos-widgets/amis-lib": "1.2.31",
65
65
  "autoprefixer": "^10.4.13",
66
66
  "postcss": "^8.4.19",
67
67
  "tailwindcss": "^3.2.4"
68
68
  },
69
- "gitHead": "6582f3589d8d98cf63fae5479aa1adca4be1ee5f"
69
+ "gitHead": "ded2cfcbc606e889d3b67da748f93f5162ceabb5"
70
70
  }