@steedos-widgets/amis-object 1.3.15 → 1.3.17-beta.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.
- package/dist/amis/AmisInputTable.d.ts +3 -1
- package/dist/amis-object.cjs.css +0 -4
- package/dist/amis-object.cjs.js +9995 -9651
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +0 -4
- package/dist/amis-object.esm.js +9996 -9652
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +0 -4
- package/dist/amis-object.umd.js +489 -458
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets.json +21 -21
- package/dist/meta.js +77 -12
- package/package.json +3 -3
package/dist/assets.json
CHANGED
|
@@ -11,39 +11,39 @@
|
|
|
11
11
|
{
|
|
12
12
|
"package": "@steedos-widgets/fullcalendar",
|
|
13
13
|
"urls": [
|
|
14
|
-
"https://unpkg.com/@steedos-widgets/fullcalendar@1.3.
|
|
15
|
-
"https://unpkg.com/@steedos-widgets/fullcalendar@1.3.
|
|
14
|
+
"https://unpkg.com/@steedos-widgets/fullcalendar@1.3.17-beta.1/dist/fullcalendar.umd.js",
|
|
15
|
+
"https://unpkg.com/@steedos-widgets/fullcalendar@1.3.17-beta.1/dist/fullcalendar.umd.css"
|
|
16
16
|
],
|
|
17
17
|
"library": "BuilderFullCalendar"
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
"package": "@steedos-widgets/reactflow",
|
|
21
21
|
"urls": [
|
|
22
|
-
"https://unpkg.com/@steedos-widgets/reactflow@1.3.
|
|
23
|
-
"https://unpkg.com/@steedos-widgets/reactflow@1.3.
|
|
22
|
+
"https://unpkg.com/@steedos-widgets/reactflow@1.3.17-beta.1/dist/reactflow.umd.js",
|
|
23
|
+
"https://unpkg.com/@steedos-widgets/reactflow@1.3.17-beta.1/dist/reactflow.umd.css"
|
|
24
24
|
],
|
|
25
25
|
"library": "BuilderReactFlow"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"package": "@steedos-widgets/sortable",
|
|
29
29
|
"urls": [
|
|
30
|
-
"https://unpkg.com/@steedos-widgets/sortable@1.3.
|
|
31
|
-
"https://unpkg.com/@steedos-widgets/sortable@1.3.
|
|
30
|
+
"https://unpkg.com/@steedos-widgets/sortable@1.3.17-beta.1/dist/sortable.umd.js",
|
|
31
|
+
"https://unpkg.com/@steedos-widgets/sortable@1.3.17-beta.1/dist/sortable.umd.css"
|
|
32
32
|
],
|
|
33
33
|
"library": "BuilderSortable"
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"package": "steedos-lib",
|
|
37
37
|
"urls": [
|
|
38
|
-
"https://unpkg.com/@steedos-widgets/steedos-lib@1.3.
|
|
38
|
+
"https://unpkg.com/@steedos-widgets/steedos-lib@1.3.17-beta.1/dist/index.umd.js"
|
|
39
39
|
],
|
|
40
40
|
"library": "SteedosLib"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"package": "@steedos-widgets/amis-object",
|
|
44
44
|
"urls": [
|
|
45
|
-
"https://unpkg.com/@steedos-widgets/amis-object@1.3.
|
|
46
|
-
"https://unpkg.com/@steedos-widgets/amis-object@1.3.
|
|
45
|
+
"https://unpkg.com/@steedos-widgets/amis-object@1.3.17-beta.1/dist/amis-object.umd.js",
|
|
46
|
+
"https://unpkg.com/@steedos-widgets/amis-object@1.3.17-beta.1/dist/amis-object.umd.css"
|
|
47
47
|
],
|
|
48
48
|
"library": "BuilderAmisObject"
|
|
49
49
|
}
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
"npm": {
|
|
55
55
|
"package": "@steedos-widgets/fullcalendar"
|
|
56
56
|
},
|
|
57
|
-
"url": "https://unpkg.com/@steedos-widgets/fullcalendar@1.3.
|
|
57
|
+
"url": "https://unpkg.com/@steedos-widgets/fullcalendar@1.3.17-beta.1/dist/meta.js",
|
|
58
58
|
"urls": {
|
|
59
|
-
"default": "https://unpkg.com/@steedos-widgets/fullcalendar@1.3.
|
|
60
|
-
"design": "https://unpkg.com/@steedos-widgets/fullcalendar@1.3.
|
|
59
|
+
"default": "https://unpkg.com/@steedos-widgets/fullcalendar@1.3.17-beta.1/dist/meta.js",
|
|
60
|
+
"design": "https://unpkg.com/@steedos-widgets/fullcalendar@1.3.17-beta.1/dist/meta.js"
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
{
|
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
"npm": {
|
|
66
66
|
"package": "@steedos-widgets/reactflow"
|
|
67
67
|
},
|
|
68
|
-
"url": "https://unpkg.com/@steedos-widgets/reactflow@1.3.
|
|
68
|
+
"url": "https://unpkg.com/@steedos-widgets/reactflow@1.3.17-beta.1/dist/meta.js",
|
|
69
69
|
"urls": {
|
|
70
|
-
"default": "https://unpkg.com/@steedos-widgets/reactflow@1.3.
|
|
71
|
-
"design": "https://unpkg.com/@steedos-widgets/reactflow@1.3.
|
|
70
|
+
"default": "https://unpkg.com/@steedos-widgets/reactflow@1.3.17-beta.1/dist/meta.js",
|
|
71
|
+
"design": "https://unpkg.com/@steedos-widgets/reactflow@1.3.17-beta.1/dist/meta.js"
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
{
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
"npm": {
|
|
77
77
|
"package": "@steedos-widgets/sortable"
|
|
78
78
|
},
|
|
79
|
-
"url": "https://unpkg.com/@steedos-widgets/sortable@1.3.
|
|
79
|
+
"url": "https://unpkg.com/@steedos-widgets/sortable@1.3.17-beta.1/dist/meta.js",
|
|
80
80
|
"urls": {
|
|
81
|
-
"default": "https://unpkg.com/@steedos-widgets/sortable@1.3.
|
|
82
|
-
"design": "https://unpkg.com/@steedos-widgets/sortable@1.3.
|
|
81
|
+
"default": "https://unpkg.com/@steedos-widgets/sortable@1.3.17-beta.1/dist/meta.js",
|
|
82
|
+
"design": "https://unpkg.com/@steedos-widgets/sortable@1.3.17-beta.1/dist/meta.js"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -87,10 +87,10 @@
|
|
|
87
87
|
"npm": {
|
|
88
88
|
"package": "@steedos-widgets/amis-object"
|
|
89
89
|
},
|
|
90
|
-
"url": "https://unpkg.com/@steedos-widgets/amis-object@1.3.
|
|
90
|
+
"url": "https://unpkg.com/@steedos-widgets/amis-object@1.3.17-beta.1/dist/meta.js",
|
|
91
91
|
"urls": {
|
|
92
|
-
"default": "https://unpkg.com/@steedos-widgets/amis-object@1.3.
|
|
93
|
-
"design": "https://unpkg.com/@steedos-widgets/amis-object@1.3.
|
|
92
|
+
"default": "https://unpkg.com/@steedos-widgets/amis-object@1.3.17-beta.1/dist/meta.js",
|
|
93
|
+
"design": "https://unpkg.com/@steedos-widgets/amis-object@1.3.17-beta.1/dist/meta.js"
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
]
|
package/dist/meta.js
CHANGED
|
@@ -993,8 +993,8 @@
|
|
|
993
993
|
/*
|
|
994
994
|
* @Author: baozhoutao@steedos.com
|
|
995
995
|
* @Date: 2022-08-31 16:32:35
|
|
996
|
-
* @LastEditors:
|
|
997
|
-
* @LastEditTime: 2023-
|
|
996
|
+
* @LastEditors: liaodaxue
|
|
997
|
+
* @LastEditTime: 2023-11-27 15:19:03
|
|
998
998
|
* @Description:
|
|
999
999
|
*/
|
|
1000
1000
|
var config$u = {
|
|
@@ -1146,14 +1146,25 @@
|
|
|
1146
1146
|
"labelField": "label",
|
|
1147
1147
|
"valueField": "name",
|
|
1148
1148
|
"menuTpl": "",
|
|
1149
|
-
"
|
|
1150
|
-
"
|
|
1149
|
+
"onEvent": {
|
|
1150
|
+
"change": {
|
|
1151
|
+
"actions": [
|
|
1152
|
+
{
|
|
1153
|
+
"componentId": "transfer-picker-fields",
|
|
1154
|
+
"actionType": "setValue",
|
|
1155
|
+
"args": {
|
|
1156
|
+
"value": "${(NAME_FIELD_KEY || 'name')|asArray}"
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
]
|
|
1160
|
+
}
|
|
1151
1161
|
}
|
|
1152
1162
|
},
|
|
1153
1163
|
{
|
|
1154
1164
|
type: "transfer-picker",
|
|
1155
1165
|
name: "fields",
|
|
1156
1166
|
label: "显示的字段",
|
|
1167
|
+
id: "transfer-picker-fields",
|
|
1157
1168
|
// mode: 'horizontal',
|
|
1158
1169
|
// horizontal: {
|
|
1159
1170
|
// left: 4,
|
|
@@ -1353,7 +1364,7 @@
|
|
|
1353
1364
|
"name": "sortOrder",
|
|
1354
1365
|
"label": "排序顺序",
|
|
1355
1366
|
"options": [{
|
|
1356
|
-
"label": "
|
|
1367
|
+
"label": "升序",
|
|
1357
1368
|
"value": "asc"
|
|
1358
1369
|
}, {
|
|
1359
1370
|
"label": "倒序",
|
|
@@ -3948,7 +3959,7 @@
|
|
|
3948
3959
|
* @Author: 殷亮辉 yinlianghui@hotoa.com
|
|
3949
3960
|
* @Date: 2023-11-15 09:50:22
|
|
3950
3961
|
* @LastEditors: 殷亮辉 yinlianghui@hotoa.com
|
|
3951
|
-
* @LastEditTime: 2023-11-
|
|
3962
|
+
* @LastEditTime: 2023-11-26 10:38:52
|
|
3952
3963
|
*/
|
|
3953
3964
|
var config = {
|
|
3954
3965
|
componentType: 'amisSchema',
|
|
@@ -4033,7 +4044,8 @@
|
|
|
4033
4044
|
weight: 1,
|
|
4034
4045
|
framework: "react"
|
|
4035
4046
|
},
|
|
4036
|
-
|
|
4047
|
+
plugin: {
|
|
4048
|
+
// plugin_disabled: {
|
|
4037
4049
|
rendererName: config.amis.name,
|
|
4038
4050
|
$schema: '/schemas/UnkownSchema.json',
|
|
4039
4051
|
name: config.title,
|
|
@@ -4107,6 +4119,12 @@
|
|
|
4107
4119
|
{
|
|
4108
4120
|
"type": "input-text",
|
|
4109
4121
|
"name": "name",
|
|
4122
|
+
mode: "horizontal",
|
|
4123
|
+
horizontal: {
|
|
4124
|
+
left: 3,
|
|
4125
|
+
right: 9,
|
|
4126
|
+
justify: true
|
|
4127
|
+
},
|
|
4110
4128
|
"label": "字段名"
|
|
4111
4129
|
},
|
|
4112
4130
|
{
|
|
@@ -4127,28 +4145,75 @@
|
|
|
4127
4145
|
language: "json"
|
|
4128
4146
|
},
|
|
4129
4147
|
{
|
|
4130
|
-
type: "
|
|
4148
|
+
type: "editor",
|
|
4149
|
+
name: "columns",
|
|
4150
|
+
label: "显示的列",
|
|
4151
|
+
"options": {
|
|
4152
|
+
"lineNumbers": "off"
|
|
4153
|
+
},
|
|
4154
|
+
pipeOut: function (value) {
|
|
4155
|
+
try {
|
|
4156
|
+
return value ? JSON.parse(value) : null;
|
|
4157
|
+
}
|
|
4158
|
+
catch (e) {
|
|
4159
|
+
}
|
|
4160
|
+
return value;
|
|
4161
|
+
},
|
|
4162
|
+
language: "json"
|
|
4163
|
+
},
|
|
4164
|
+
{
|
|
4165
|
+
type: "switch",
|
|
4131
4166
|
name: "addable",
|
|
4167
|
+
mode: "horizontal",
|
|
4168
|
+
horizontal: {
|
|
4169
|
+
left: 9,
|
|
4170
|
+
right: 4,
|
|
4171
|
+
justify: true
|
|
4172
|
+
},
|
|
4132
4173
|
label: '可新增',
|
|
4133
4174
|
},
|
|
4134
4175
|
{
|
|
4135
|
-
type: "
|
|
4176
|
+
type: "switch",
|
|
4136
4177
|
name: "editable",
|
|
4178
|
+
mode: "horizontal",
|
|
4179
|
+
horizontal: {
|
|
4180
|
+
left: 9,
|
|
4181
|
+
right: 4,
|
|
4182
|
+
justify: true
|
|
4183
|
+
},
|
|
4137
4184
|
label: '可编辑',
|
|
4138
4185
|
},
|
|
4139
4186
|
{
|
|
4140
|
-
type: "
|
|
4187
|
+
type: "switch",
|
|
4141
4188
|
name: "removable",
|
|
4189
|
+
mode: "horizontal",
|
|
4190
|
+
horizontal: {
|
|
4191
|
+
left: 9,
|
|
4192
|
+
right: 4,
|
|
4193
|
+
justify: true
|
|
4194
|
+
},
|
|
4142
4195
|
label: '可删除',
|
|
4143
4196
|
},
|
|
4144
4197
|
{
|
|
4145
|
-
type: "
|
|
4198
|
+
type: "switch",
|
|
4146
4199
|
name: "draggable",
|
|
4200
|
+
mode: "horizontal",
|
|
4201
|
+
horizontal: {
|
|
4202
|
+
left: 9,
|
|
4203
|
+
right: 4,
|
|
4204
|
+
justify: true
|
|
4205
|
+
},
|
|
4147
4206
|
label: '可拖拽',
|
|
4148
4207
|
},
|
|
4149
4208
|
{
|
|
4150
|
-
type: "
|
|
4209
|
+
type: "switch",
|
|
4151
4210
|
name: "showIndex",
|
|
4211
|
+
mode: "horizontal",
|
|
4212
|
+
horizontal: {
|
|
4213
|
+
left: 9,
|
|
4214
|
+
right: 4,
|
|
4215
|
+
justify: true
|
|
4216
|
+
},
|
|
4152
4217
|
label: '显示序号',
|
|
4153
4218
|
},
|
|
4154
4219
|
{
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos-widgets/amis-object",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.17-beta.1",
|
|
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.3.
|
|
64
|
+
"@steedos-widgets/amis-lib": "1.3.17-beta.1",
|
|
65
65
|
"autoprefixer": "^10.4.13",
|
|
66
66
|
"postcss": "^8.4.19",
|
|
67
67
|
"tailwindcss": "^3.2.4"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "570efdcea1034e79583076cf197d5e963deca77d"
|
|
70
70
|
}
|