@steedos-widgets/amis-lib 3.6.4-beta.1 → 3.6.4-beta.2
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 +162 -47
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +144 -48
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +95 -81
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/lib/buttons.d.ts +1 -1
- package/dist/types/lib/converter/amis/fields/editor.d.ts +1 -0
- package/dist/types/lib/converter/amis/header.d.ts +24 -0
- package/dist/types/lib/input_table.d.ts +4 -0
- package/dist/types/lib/objects.d.ts +24 -0
- package/package.json +2 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from './lib/converter/amis/fields/lookup';
|
|
|
18
18
|
export * from './lib/converter/amis/fields/user';
|
|
19
19
|
export * from './lib/converter/amis/filters';
|
|
20
20
|
export * from './lib/converter/amis/header';
|
|
21
|
+
export * from './lib/converter/amis/tpl';
|
|
21
22
|
export * from './lib/converter/amis/fields_filter';
|
|
22
23
|
export * from './lib/router';
|
|
23
24
|
export * from './lib/assets';
|
|
@@ -536,10 +536,34 @@ export function getObjectRecordDetailHeader(objectSchema: any, recordId: any, op
|
|
|
536
536
|
className: string;
|
|
537
537
|
}[];
|
|
538
538
|
}[];
|
|
539
|
+
} | {
|
|
540
|
+
type: string;
|
|
541
|
+
visibleOn: string;
|
|
542
|
+
className: string;
|
|
543
|
+
onEvent: {
|
|
544
|
+
click: {
|
|
545
|
+
actions: {
|
|
546
|
+
componentId: string;
|
|
547
|
+
args: {};
|
|
548
|
+
actionType: string;
|
|
549
|
+
}[];
|
|
550
|
+
};
|
|
551
|
+
};
|
|
552
|
+
body: {
|
|
553
|
+
type: string;
|
|
554
|
+
category: string;
|
|
555
|
+
name: string;
|
|
556
|
+
colorVariant: string;
|
|
557
|
+
className: string;
|
|
558
|
+
}[];
|
|
559
|
+
tpl?: undefined;
|
|
539
560
|
} | {
|
|
540
561
|
type: string;
|
|
541
562
|
className: string;
|
|
542
563
|
tpl: string;
|
|
564
|
+
visibleOn?: undefined;
|
|
565
|
+
onEvent?: undefined;
|
|
566
|
+
body?: undefined;
|
|
543
567
|
})[];
|
|
544
568
|
md: string;
|
|
545
569
|
className: string;
|
|
@@ -171,10 +171,34 @@ export function getRecordDetailHeaderSchema(objectName: any, recordId: any, opti
|
|
|
171
171
|
className: string;
|
|
172
172
|
}[];
|
|
173
173
|
}[];
|
|
174
|
+
} | {
|
|
175
|
+
type: string;
|
|
176
|
+
visibleOn: string;
|
|
177
|
+
className: string;
|
|
178
|
+
onEvent: {
|
|
179
|
+
click: {
|
|
180
|
+
actions: {
|
|
181
|
+
componentId: string;
|
|
182
|
+
args: {};
|
|
183
|
+
actionType: string;
|
|
184
|
+
}[];
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
body: {
|
|
188
|
+
type: string;
|
|
189
|
+
category: string;
|
|
190
|
+
name: string;
|
|
191
|
+
colorVariant: string;
|
|
192
|
+
className: string;
|
|
193
|
+
}[];
|
|
194
|
+
tpl?: undefined;
|
|
174
195
|
} | {
|
|
175
196
|
type: string;
|
|
176
197
|
className: string;
|
|
177
198
|
tpl: string;
|
|
199
|
+
visibleOn?: undefined;
|
|
200
|
+
onEvent?: undefined;
|
|
201
|
+
body?: undefined;
|
|
178
202
|
})[];
|
|
179
203
|
md: string;
|
|
180
204
|
className: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos-widgets/amis-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "3.6.4-beta.
|
|
4
|
+
"version": "3.6.4-beta.2",
|
|
5
5
|
"unpkg": "./dist/index.umd.js",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.esm.js",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"lodash": "^4.17.21",
|
|
62
62
|
"react-i18next": "12.3.1"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "74e7975b7f134d1192dea186f90e0a1c6c11275c"
|
|
65
65
|
}
|