@steedos-widgets/amis-lib 1.0.36 → 1.0.37

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.
@@ -0,0 +1,15 @@
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
+ };
@@ -203,11 +203,6 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
203
203
  id: string;
204
204
  source: {
205
205
  method: string;
206
- /**
207
- * 记录详细界面中相关表顶部头amisSchema
208
- * @param {*} relatedObjectSchema 相关对象UISchema
209
- * @returns amisSchema
210
- */
211
206
  url: string;
212
207
  dataType: string;
213
208
  headers: {
@@ -81,6 +81,9 @@ export function getObjectHeaderToolbar(mainObject: any, formFactor: any, { showD
81
81
  uiSchema: string;
82
82
  listName: string;
83
83
  };
84
+ headers: {
85
+ Authorization: string;
86
+ };
84
87
  };
85
88
  };
86
89
  actionType: string;
@@ -0,0 +1,14 @@
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;
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.36",
4
+ "version": "1.0.37",
5
5
  "unpkg": "./dist/index.umd.js",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.esm.js",
@@ -58,5 +58,5 @@
58
58
  "dependencies": {
59
59
  "lodash": "^4.17.21"
60
60
  },
61
- "gitHead": "1cdee0db43ce4fd49a02366bc27cc5903e6fa70a"
61
+ "gitHead": "c3287912d6bd797f0fcd6160421ccd14a5343d7e"
62
62
  }