@steedos-widgets/amis-lib 6.10.53-beta.1 → 6.10.53-beta.10

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.
@@ -1,4 +1,4 @@
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, filterVisible, isLookup, keywordsSearchBoxName, displayAs }?: {
2
2
  showDisplayAs?: boolean;
3
3
  hiddenCount?: boolean;
4
4
  filterVisible?: boolean;
@@ -17,6 +17,9 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
17
17
  method: string;
18
18
  url: string;
19
19
  };
20
+ messages: {
21
+ validateFailed: string;
22
+ };
20
23
  debug: boolean;
21
24
  id: string;
22
25
  resetAfterSubmit: boolean;
@@ -259,13 +262,14 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
259
262
  valign: string;
260
263
  columnClassName: string;
261
264
  } | {
262
- body: {
265
+ body: ({
263
266
  type: string;
264
267
  id: string;
265
268
  api: {
266
269
  url: string;
267
270
  method: string;
268
271
  sendOn: string;
272
+ trackExpression: string;
269
273
  messages: {};
270
274
  requestAdaptor: string;
271
275
  adaptor: string;
@@ -309,6 +313,7 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
309
313
  url: string;
310
314
  method: string;
311
315
  sendOn: string;
316
+ trackExpression: string;
312
317
  messages: {};
313
318
  requestAdaptor: string;
314
319
  adaptor: string;
@@ -354,7 +359,16 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
354
359
  joinValues?: undefined;
355
360
  extractValue?: undefined;
356
361
  })[];
357
- }[];
362
+ tpl?: undefined;
363
+ visibleOn?: undefined;
364
+ } | {
365
+ type: string;
366
+ tpl: string;
367
+ visibleOn: string;
368
+ id?: undefined;
369
+ api?: undefined;
370
+ body?: undefined;
371
+ })[];
358
372
  id: string;
359
373
  valign: string;
360
374
  md?: undefined;
@@ -642,13 +656,14 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
642
656
  valign: string;
643
657
  columnClassName: string;
644
658
  } | {
645
- body: {
659
+ body: ({
646
660
  type: string;
647
661
  id: string;
648
662
  api: {
649
663
  url: string;
650
664
  method: string;
651
665
  sendOn: string;
666
+ trackExpression: string;
652
667
  messages: {};
653
668
  requestAdaptor: string;
654
669
  adaptor: string;
@@ -692,6 +707,7 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
692
707
  url: string;
693
708
  method: string;
694
709
  sendOn: string;
710
+ trackExpression: string;
695
711
  messages: {};
696
712
  requestAdaptor: string;
697
713
  adaptor: string;
@@ -737,7 +753,16 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
737
753
  joinValues?: undefined;
738
754
  extractValue?: undefined;
739
755
  })[];
740
- }[];
756
+ tpl?: undefined;
757
+ visibleOn?: undefined;
758
+ } | {
759
+ type: string;
760
+ tpl: string;
761
+ visibleOn: string;
762
+ id?: undefined;
763
+ api?: undefined;
764
+ body?: undefined;
765
+ })[];
741
766
  id: string;
742
767
  valign: string;
743
768
  md?: undefined;
@@ -65,7 +65,9 @@ export function getFlowFormSchema(instance: any, box: any, print: any): Promise<
65
65
  }[];
66
66
  id: string;
67
67
  messages: {};
68
- pullRefresh: {};
68
+ pullRefresh: {
69
+ disabled: boolean;
70
+ };
69
71
  regions: string[];
70
72
  onEvent: {
71
73
  "@data.@instanceDetail.changed": {
@@ -6,6 +6,7 @@ export function getInstanceInfo(props: any): Promise<{
6
6
  space: any;
7
7
  flow: any;
8
8
  form: any;
9
+ is_hidden: any;
9
10
  applicant: any;
10
11
  applicant_name: any;
11
12
  submitter: any;
@@ -1,7 +1,12 @@
1
1
  export function getRelatedRecords(instance: any): Promise<{
2
2
  type: string;
3
- tpl: string;
4
- }[]>;
3
+ size: string;
4
+ className: string;
5
+ body: {
6
+ type: string;
7
+ tpl: string;
8
+ }[];
9
+ }>;
5
10
  export function getRelatedInstances(instance: any): Promise<{
6
11
  type: string;
7
12
  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": "6.10.53-beta.1",
4
+ "version": "6.10.53-beta.10",
5
5
  "unpkg": "./dist/index.umd.js",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.esm.js",
@@ -59,5 +59,5 @@
59
59
  "i18next": "24.2.2",
60
60
  "lodash": "^4.17.21"
61
61
  },
62
- "gitHead": "4a05aa31f4e805e54a6325e5500783eae58a965a"
62
+ "gitHead": "b77a223bf120eb69c47bb85b52e5bbc0fb93d0aa"
63
63
  }