@steedos-widgets/amis-lib 1.0.42 → 1.1.0-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 +9877 -301
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +9759 -308
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +9885 -306
- package/dist/index.umd.js.map +1 -1
- package/dist/types/lib/converter/amis/fields/lookup.d.ts +1 -0
- package/dist/types/workflow/approve.d.ts +4 -0
- package/dist/types/workflow/flow.d.ts +5 -0
- package/package.json +3 -2
- package/dist/index.d.ts +0 -24
- package/dist/render.d.ts +0 -15
- package/dist/utils/object.d.ts +0 -14
|
@@ -7,6 +7,9 @@ export function getApprovalDrawerSchema(instance: any): Promise<{
|
|
|
7
7
|
size: string;
|
|
8
8
|
title: string;
|
|
9
9
|
className: string;
|
|
10
|
+
headerClassName: string;
|
|
11
|
+
bodyClassName: string;
|
|
12
|
+
footerClassName: string;
|
|
10
13
|
drawerContainer: () => any;
|
|
11
14
|
body: {
|
|
12
15
|
type: string;
|
|
@@ -73,6 +76,7 @@ export function getApprovalDrawerSchema(instance: any): Promise<{
|
|
|
73
76
|
id: string;
|
|
74
77
|
multiple: boolean;
|
|
75
78
|
required: boolean;
|
|
79
|
+
selectFirst: boolean;
|
|
76
80
|
source: {
|
|
77
81
|
url: string;
|
|
78
82
|
headers: {
|
|
@@ -2,6 +2,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
2
2
|
type: string;
|
|
3
3
|
name: string;
|
|
4
4
|
className: string;
|
|
5
|
+
bodyClassName: string;
|
|
5
6
|
title: {
|
|
6
7
|
type: string;
|
|
7
8
|
label: string;
|
|
@@ -203,6 +204,9 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
203
204
|
size: string;
|
|
204
205
|
title: string;
|
|
205
206
|
className: string;
|
|
207
|
+
headerClassName: string;
|
|
208
|
+
bodyClassName: string;
|
|
209
|
+
footerClassName: string;
|
|
206
210
|
drawerContainer: () => any;
|
|
207
211
|
body: {
|
|
208
212
|
type: string;
|
|
@@ -269,6 +273,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
269
273
|
id: string;
|
|
270
274
|
multiple: boolean;
|
|
271
275
|
required: boolean;
|
|
276
|
+
selectFirst: boolean;
|
|
272
277
|
source: {
|
|
273
278
|
url: string;
|
|
274
279
|
headers: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos-widgets/amis-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.1.0-beta.2",
|
|
5
5
|
"unpkg": "./dist/index.umd.js",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.esm.js",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"prebuild": "rimraf dist",
|
|
14
14
|
"watch": "rollup -c rollup.config.ts -w",
|
|
15
15
|
"build": "yarn build-types && yarn build-rollup",
|
|
16
|
+
"build-object": "yarn prebuild && yarn build-types && yarn build-rollup",
|
|
16
17
|
"build-types": "tsc --emitDeclarationOnly --declaration --declarationDir dist/types",
|
|
17
18
|
"build-rollup": "rollup -c rollup.config.ts",
|
|
18
19
|
"uglifyjs": "yarn uglifyjs dist/index.umd.js -o dist/index.umd.min.js"
|
|
@@ -58,5 +59,5 @@
|
|
|
58
59
|
"dependencies": {
|
|
59
60
|
"lodash": "^4.17.21"
|
|
60
61
|
},
|
|
61
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "139b31ee61017f20ff040f27b4082386f8244c03"
|
|
62
63
|
}
|
package/dist/index.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export * from './lib/amis';
|
|
2
|
-
export * from './lib/objects';
|
|
3
|
-
export * from './lib/objectsRelated';
|
|
4
|
-
export * from './lib/page_init';
|
|
5
|
-
export * from './lib/apps';
|
|
6
|
-
export * from './lib/buttons';
|
|
7
|
-
export * from './lib/defaultsDeep';
|
|
8
|
-
export * from './lib/expression';
|
|
9
|
-
export * from './lib/notification';
|
|
10
|
-
export * from './lib/page';
|
|
11
|
-
export * from './lib/public.env';
|
|
12
|
-
export * from './lib/record';
|
|
13
|
-
export * from './lib/space_users';
|
|
14
|
-
export * from './lib/steedos.client.js';
|
|
15
|
-
export * as Field from './lib/converter/amis/fields/index';
|
|
16
|
-
export * from './lib/converter/amis/fields/lookup';
|
|
17
|
-
export * from './lib/converter/amis/fields/user';
|
|
18
|
-
export * from './lib/converter/amis/filters';
|
|
19
|
-
export * from './lib/converter/amis/header';
|
|
20
|
-
export * from './lib/converter/amis/fields_filter';
|
|
21
|
-
export * from './lib/workflow/flow';
|
|
22
|
-
export * from './lib/assets';
|
|
23
|
-
export * from './utils/object';
|
|
24
|
-
export * from './render';
|
package/dist/render.d.ts
DELETED
package/dist/utils/object.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare function createObject(superProps?: {
|
|
2
|
-
[propName: string]: any;
|
|
3
|
-
}, props?: {
|
|
4
|
-
[propName: string]: any;
|
|
5
|
-
}, properties?: any): object;
|
|
6
|
-
export declare function cloneObject(target: any, persistOwnProps?: boolean): any;
|
|
7
|
-
export declare function extendObject(target: any, src?: any, persistOwnProps?: boolean): any;
|
|
8
|
-
export declare function isObject(obj: any): boolean;
|
|
9
|
-
export declare function setVariable(data: {
|
|
10
|
-
[propName: string]: any;
|
|
11
|
-
}, key: string, value: any, convertKeyToPath?: boolean): void;
|
|
12
|
-
export declare function deleteVariable(data: {
|
|
13
|
-
[propName: string]: any;
|
|
14
|
-
}, key: string): void;
|