@steedos-widgets/amis-lib 1.3.14 → 1.3.16

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.
@@ -6,9 +6,10 @@ export function getBaseFields(readonly: any): {
6
6
  className: string;
7
7
  tpl: string;
8
8
  }[];
9
- export function getAmisFieldType(sField: any): "url" | "date" | "datetime" | "number" | "select" | "image" | "text" | "picker" | "table" | "html" | "markdown" | "password" | "email" | "textarea" | "checkbox";
9
+ export function getAmisFieldType(sField: any): "url" | "date" | "datetime" | "number" | "select" | "image" | "text" | "picker" | "table" | "html" | "markdown" | "password" | "email" | "textarea" | "checkbox" | "steedos-input-table";
10
10
  export function getObjectFieldSubFields(mainField: any, fields: any): any;
11
11
  export function getGridFieldSubFields(mainField: any, fields: any): any;
12
+ export function getTabledFieldSubFields(mainField: any, fields: any): any;
12
13
  /**
13
14
  * TODO 处理权限
14
15
  * @param {*} object steedos object
@@ -1,3 +1,9 @@
1
+ export function getReferenceToSync(field: any): {
2
+ objectName: any;
3
+ valueField: any;
4
+ labelField: any;
5
+ NAME_FIELD_KEY: any;
6
+ };
1
7
  export function getLookupSapceUserTreeSchema(isMobile: any): ({
2
8
  type: string;
3
9
  className: string;
@@ -371,6 +377,12 @@ export function getIdsPickerSchema(field: any, readonly: any, ctx: any): Promise
371
377
  joinValues: boolean;
372
378
  extractValue: boolean;
373
379
  }>;
380
+ export function getReferenceToFieldSchema(field: any, refObjectConfig: any): {
381
+ objectName: any;
382
+ valueField: any;
383
+ labelField: any;
384
+ NAME_FIELD_KEY: any;
385
+ };
374
386
  export function getReferenceTo(field: any): Promise<{
375
387
  objectName: any;
376
388
  valueField: any;
@@ -1,7 +1,8 @@
1
- export function getObjectHeaderToolbar(mainObject: any, fields: any, formFactor: any, { showDisplayAs, hiddenCount, headerToolbarItems, filterVisible, isLookup, keywordsSearchBoxName }?: {
1
+ export function getObjectHeaderToolbar(mainObject: any, fields: any, formFactor: any, { showDisplayAs, hiddenCount, headerToolbarItems, crudId, filterVisible, isLookup, keywordsSearchBoxName }?: {
2
2
  showDisplayAs?: boolean;
3
3
  hiddenCount?: boolean;
4
4
  headerToolbarItems: any;
5
+ crudId: any;
5
6
  filterVisible?: boolean;
6
7
  isLookup?: boolean;
7
8
  keywordsSearchBoxName: any;
@@ -226,5 +227,11 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
226
227
  script: string;
227
228
  }[];
228
229
  };
230
+ change: {
231
+ actions: {
232
+ actionType: string;
233
+ script: string;
234
+ }[];
235
+ };
229
236
  };
230
237
  }>;
@@ -9,7 +9,7 @@ export function getAmisInputTableSchema(props: any, readonly: any): Promise<{
9
9
  showIndex: any;
10
10
  perPage: any;
11
11
  id: any;
12
- columns: any[];
12
+ columns: any;
13
13
  strictMode: boolean;
14
14
  showTableAddBtn: boolean;
15
15
  showFooterAddBtn: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@steedos-widgets/amis-lib",
3
3
  "private": false,
4
- "version": "1.3.14",
4
+ "version": "1.3.16",
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": "dc2ef13db1c9e63ff77eb708f920b266e77d2756"
64
+ "gitHead": "9dcffb0762807385032d09f79c0cf2bb45e21edf"
65
65
  }