@steedos-widgets/amis-lib 1.2.13 → 1.2.15
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/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/index.cjs.js +2246 -2006
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2247 -2007
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +2286 -2046
- package/dist/index.umd.js.map +1 -1
- package/dist/types/lib/converter/amis/fields/lookup.d.ts +1 -67
- package/dist/types/lib/converter/amis/fields/sections.d.ts +9 -0
- package/dist/types/lib/converter/amis/form.d.ts +9 -0
- package/dist/types/lib/converter/amis/index.d.ts +9 -0
- package/dist/types/lib/objects.d.ts +11 -0
- package/package.json +2 -2
|
@@ -76,73 +76,7 @@ export function lookupToAmisPicker(field: any, readonly: any, ctx: any): Promise
|
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
78
|
size: string;
|
|
79
|
-
pickerSchema:
|
|
80
|
-
mode: string;
|
|
81
|
-
name: string;
|
|
82
|
-
draggable: boolean;
|
|
83
|
-
headerToolbar: string[];
|
|
84
|
-
defaultParams: {
|
|
85
|
-
perPage: any;
|
|
86
|
-
};
|
|
87
|
-
syncLocation: boolean;
|
|
88
|
-
keepItemSelectionOnPageChange: boolean;
|
|
89
|
-
checkOnItemClick: boolean;
|
|
90
|
-
labelTpl: string;
|
|
91
|
-
listItem: {
|
|
92
|
-
body: {
|
|
93
|
-
name: any;
|
|
94
|
-
label: any;
|
|
95
|
-
sortable: any;
|
|
96
|
-
width: any;
|
|
97
|
-
type: string;
|
|
98
|
-
tpl: string;
|
|
99
|
-
toggled: any;
|
|
100
|
-
}[];
|
|
101
|
-
actions: {
|
|
102
|
-
icon: string;
|
|
103
|
-
label: string;
|
|
104
|
-
type: string;
|
|
105
|
-
actionType: string;
|
|
106
|
-
link: string;
|
|
107
|
-
}[];
|
|
108
|
-
};
|
|
109
|
-
} | {
|
|
110
|
-
mode: string;
|
|
111
|
-
name: string;
|
|
112
|
-
headerToolbarClassName: string;
|
|
113
|
-
className: string;
|
|
114
|
-
draggable: boolean;
|
|
115
|
-
defaultParams: {
|
|
116
|
-
perPage: any;
|
|
117
|
-
};
|
|
118
|
-
columns: {
|
|
119
|
-
name: any;
|
|
120
|
-
label: any;
|
|
121
|
-
sortable: any;
|
|
122
|
-
type: string;
|
|
123
|
-
level: string;
|
|
124
|
-
actionType: string;
|
|
125
|
-
link: string;
|
|
126
|
-
innerClassName: string;
|
|
127
|
-
body: {
|
|
128
|
-
type: string;
|
|
129
|
-
body: "type";
|
|
130
|
-
size: string;
|
|
131
|
-
className: string;
|
|
132
|
-
};
|
|
133
|
-
}[] | {
|
|
134
|
-
name: string;
|
|
135
|
-
type: string;
|
|
136
|
-
width: number;
|
|
137
|
-
placeholder: string;
|
|
138
|
-
}[];
|
|
139
|
-
syncLocation: boolean;
|
|
140
|
-
keepItemSelectionOnPageChange: boolean;
|
|
141
|
-
checkOnItemClick: boolean;
|
|
142
|
-
labelTpl: string;
|
|
143
|
-
autoFillHeight: boolean;
|
|
144
|
-
columnsTogglable: boolean;
|
|
145
|
-
};
|
|
79
|
+
pickerSchema: any;
|
|
146
80
|
joinValues: boolean;
|
|
147
81
|
extractValue: boolean;
|
|
148
82
|
}>;
|
|
@@ -3,4 +3,13 @@ export function getSections(permissionFields: any, formFields: any, ctx: any): P
|
|
|
3
3
|
title: any;
|
|
4
4
|
collapsable: boolean;
|
|
5
5
|
body: any[];
|
|
6
|
+
}[] | {
|
|
7
|
+
type: string;
|
|
8
|
+
tabs: {
|
|
9
|
+
type: string;
|
|
10
|
+
title: any;
|
|
11
|
+
collapsable: boolean;
|
|
12
|
+
body: any[];
|
|
13
|
+
}[];
|
|
14
|
+
tabsMode: any;
|
|
6
15
|
}[]>;
|
|
@@ -3,4 +3,13 @@ export function getFormBody(permissionFields: any, formFields: any, ctx: any): P
|
|
|
3
3
|
title: any;
|
|
4
4
|
collapsable: boolean;
|
|
5
5
|
body: any[];
|
|
6
|
+
}[] | {
|
|
7
|
+
type: string;
|
|
8
|
+
tabs: {
|
|
9
|
+
type: string;
|
|
10
|
+
title: any;
|
|
11
|
+
collapsable: boolean;
|
|
12
|
+
body: any[];
|
|
13
|
+
}[];
|
|
14
|
+
tabsMode: any;
|
|
6
15
|
}[]>;
|
|
@@ -89,6 +89,15 @@ export function getObjectDetail(objectSchema: any, recordId: any, ctx: any): Pro
|
|
|
89
89
|
title: any;
|
|
90
90
|
collapsable: boolean;
|
|
91
91
|
body: any[];
|
|
92
|
+
}[] | {
|
|
93
|
+
type: string;
|
|
94
|
+
tabs: {
|
|
95
|
+
type: string;
|
|
96
|
+
title: any;
|
|
97
|
+
collapsable: boolean;
|
|
98
|
+
body: any[];
|
|
99
|
+
}[];
|
|
100
|
+
tabsMode: any;
|
|
92
101
|
}[];
|
|
93
102
|
className: string;
|
|
94
103
|
actions: any[];
|
|
@@ -88,6 +88,15 @@ export function getViewSchema(objectName: any, recordId: any, ctx: any): Promise
|
|
|
88
88
|
title: any;
|
|
89
89
|
collapsable: boolean;
|
|
90
90
|
body: any[];
|
|
91
|
+
}[] | {
|
|
92
|
+
type: string;
|
|
93
|
+
tabs: {
|
|
94
|
+
type: string;
|
|
95
|
+
title: any;
|
|
96
|
+
collapsable: boolean;
|
|
97
|
+
body: any[];
|
|
98
|
+
}[];
|
|
99
|
+
tabsMode: any;
|
|
91
100
|
}[];
|
|
92
101
|
className: string;
|
|
93
102
|
actions: any[];
|
|
@@ -174,6 +183,7 @@ export function getListSchema(appName: any, objectName: any, listViewName: any,
|
|
|
174
183
|
adaptor: any;
|
|
175
184
|
headerToolbarItems: any;
|
|
176
185
|
filterVisible: any;
|
|
186
|
+
rowClassNameExpr: any;
|
|
177
187
|
};
|
|
178
188
|
isCustomAmisSchema?: undefined;
|
|
179
189
|
isCalendar?: undefined;
|
|
@@ -429,6 +439,7 @@ export function getObjectRelated({ appName, masterObjectName, objectName, relate
|
|
|
429
439
|
adaptor: any;
|
|
430
440
|
headerToolbarItems: any;
|
|
431
441
|
filterVisible: any;
|
|
442
|
+
rowClassNameExpr: any;
|
|
432
443
|
};
|
|
433
444
|
isCustomAmisSchema?: undefined;
|
|
434
445
|
isCalendar?: undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos-widgets/amis-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.15",
|
|
5
5
|
"unpkg": "./dist/index.umd.js",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.esm.js",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"lodash": "^4.17.21"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "0e118c5e3725006de990cb4273cdca4797ef992a"
|
|
63
63
|
}
|