@steedos-widgets/amis-lib 1.2.13 → 1.2.14

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.
@@ -76,73 +76,7 @@ export function lookupToAmisPicker(field: any, readonly: any, ctx: any): Promise
76
76
  };
77
77
  };
78
78
  size: string;
79
- pickerSchema: {
80
- mode: string;
81
- name: string;
82
- draggable: boolean;
83
- headerToolbar: string[];
84
- defaultParams: {
85
- perPage: any;
86
- };
87
- syncLocation: boolean;
88
- keepItemSelectionOnPageChange: boolean;
89
- checkOnItemClick: boolean;
90
- labelTpl: string;
91
- listItem: {
92
- body: {
93
- name: any;
94
- label: any;
95
- sortable: any;
96
- width: any;
97
- type: string;
98
- tpl: string;
99
- toggled: any;
100
- }[];
101
- actions: {
102
- icon: string;
103
- label: string;
104
- type: string;
105
- actionType: string;
106
- link: string;
107
- }[];
108
- };
109
- } | {
110
- mode: string;
111
- name: string;
112
- headerToolbarClassName: string;
113
- className: string;
114
- draggable: boolean;
115
- defaultParams: {
116
- perPage: any;
117
- };
118
- columns: {
119
- name: any;
120
- label: any;
121
- sortable: any;
122
- type: string;
123
- level: string;
124
- actionType: string;
125
- link: string;
126
- innerClassName: string;
127
- body: {
128
- type: string;
129
- body: "type";
130
- size: string;
131
- className: string;
132
- };
133
- }[] | {
134
- name: string;
135
- type: string;
136
- width: number;
137
- placeholder: string;
138
- }[];
139
- syncLocation: boolean;
140
- keepItemSelectionOnPageChange: boolean;
141
- checkOnItemClick: boolean;
142
- labelTpl: string;
143
- autoFillHeight: boolean;
144
- columnsTogglable: boolean;
145
- };
79
+ pickerSchema: any;
146
80
  joinValues: boolean;
147
81
  extractValue: boolean;
148
82
  }>;
@@ -3,4 +3,13 @@ export function getSections(permissionFields: any, formFields: any, ctx: any): P
3
3
  title: any;
4
4
  collapsable: boolean;
5
5
  body: any[];
6
+ }[] | {
7
+ type: string;
8
+ tabs: {
9
+ type: string;
10
+ title: any;
11
+ collapsable: boolean;
12
+ body: any[];
13
+ }[];
14
+ tabsMode: any;
6
15
  }[]>;
@@ -3,4 +3,13 @@ export function getFormBody(permissionFields: any, formFields: any, ctx: any): P
3
3
  title: any;
4
4
  collapsable: boolean;
5
5
  body: any[];
6
+ }[] | {
7
+ type: string;
8
+ tabs: {
9
+ type: string;
10
+ title: any;
11
+ collapsable: boolean;
12
+ body: any[];
13
+ }[];
14
+ tabsMode: any;
6
15
  }[]>;
@@ -89,6 +89,15 @@ export function getObjectDetail(objectSchema: any, recordId: any, ctx: any): Pro
89
89
  title: any;
90
90
  collapsable: boolean;
91
91
  body: any[];
92
+ }[] | {
93
+ type: string;
94
+ tabs: {
95
+ type: string;
96
+ title: any;
97
+ collapsable: boolean;
98
+ body: any[];
99
+ }[];
100
+ tabsMode: any;
92
101
  }[];
93
102
  className: string;
94
103
  actions: any[];
@@ -88,6 +88,15 @@ export function getViewSchema(objectName: any, recordId: any, ctx: any): Promise
88
88
  title: any;
89
89
  collapsable: boolean;
90
90
  body: any[];
91
+ }[] | {
92
+ type: string;
93
+ tabs: {
94
+ type: string;
95
+ title: any;
96
+ collapsable: boolean;
97
+ body: any[];
98
+ }[];
99
+ tabsMode: any;
91
100
  }[];
92
101
  className: string;
93
102
  actions: 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.2.13",
4
+ "version": "1.2.14",
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
  "dependencies": {
60
60
  "lodash": "^4.17.21"
61
61
  },
62
- "gitHead": "5353dd9ecf05817c4813bdca4eeb35b23d927d19"
62
+ "gitHead": "94da72e4759e157f7bf35430e783b22db7c06c0c"
63
63
  }