@steedos-widgets/amis-lib 1.0.41 → 1.1.0-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.
@@ -7,6 +7,7 @@ export function getApprovalDrawerSchema(instance: any): Promise<{
7
7
  size: string;
8
8
  title: string;
9
9
  className: string;
10
+ drawerContainer: () => any;
10
11
  body: {
11
12
  type: string;
12
13
  debug: boolean;
@@ -203,6 +203,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
203
203
  size: string;
204
204
  title: string;
205
205
  className: string;
206
+ drawerContainer: () => any;
206
207
  body: {
207
208
  type: string;
208
209
  debug: boolean;
@@ -21,6 +21,8 @@ export function getInstanceInfo({ instanceId, box }: {
21
21
  step: any;
22
22
  lastCCStep: any;
23
23
  trace: any;
24
+ currentStep: any;
25
+ flowPermissions: any;
24
26
  approve: any;
25
27
  record_ids: any;
26
28
  related_instances: any;
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.41",
4
+ "version": "1.1.0-beta.1",
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": "da28a2d6ccd73d6efb1f1f47012d97c1b12953cf"
62
+ "gitHead": "7a5beff69165a6d5e2536678ad757bbb27f5f589"
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
@@ -1,15 +0,0 @@
1
- export declare const getDefaultRenderData: () => {
2
- context: {
3
- rootUrl: any;
4
- userId: any;
5
- tenantId: any;
6
- authToken: any;
7
- user: {};
8
- };
9
- global: {
10
- userId: any;
11
- spaceId: any;
12
- user: {};
13
- now: Date;
14
- };
15
- };
@@ -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;