@steedos-widgets/amis-lib 6.3.11-beta.7 → 6.3.11-beta.8

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.
@@ -11,7 +11,7 @@ export function getReadonlyFormInitApi(object: any, recordId: any, fields: any,
11
11
  Authorization: string;
12
12
  };
13
13
  }>;
14
- export function getScriptForAddUrlPrefixForImgFields(fields: any): string;
14
+ export function getScriptForAddUrlPrefixForImgFields(fields: any, readonly: any): string;
15
15
  export function getEditFormInitApi(object: any, recordId: any, fields: any, options: any): Promise<{
16
16
  method: string;
17
17
  url: string;
@@ -26,8 +26,27 @@ export function getAmisFileReadonlySchema(steedosField: any, ctx?: {}): Promise<
26
26
  labelClassName?: undefined;
27
27
  label?: undefined;
28
28
  };
29
- placeholder?: undefined;
29
+ tpl?: undefined;
30
30
  className?: undefined;
31
+ onEvent?: undefined;
32
+ placeholder?: undefined;
33
+ source?: undefined;
34
+ } | {
35
+ type: string;
36
+ tpl: string;
37
+ className: string;
38
+ onEvent: {
39
+ click: {
40
+ actions: {
41
+ script: string;
42
+ actionType: string;
43
+ }[];
44
+ weight: number;
45
+ };
46
+ };
47
+ name?: undefined;
48
+ items?: undefined;
49
+ placeholder?: undefined;
31
50
  source?: undefined;
32
51
  };
33
52
  defaultImage?: undefined;
@@ -71,6 +90,8 @@ export function getAmisFileReadonlySchema(steedosField: any, ctx?: {}): Promise<
71
90
  };
72
91
  };
73
92
  name?: undefined;
93
+ tpl?: undefined;
94
+ onEvent?: undefined;
74
95
  };
75
96
  defaultImage?: undefined;
76
97
  enlargeAble?: undefined;
@@ -118,8 +139,27 @@ export function getAmisFileSchema(steedosField: any, readonly: any, ctx: any): P
118
139
  labelClassName?: undefined;
119
140
  label?: undefined;
120
141
  };
121
- placeholder?: undefined;
142
+ tpl?: undefined;
122
143
  className?: undefined;
144
+ onEvent?: undefined;
145
+ placeholder?: undefined;
146
+ source?: undefined;
147
+ } | {
148
+ type: string;
149
+ tpl: string;
150
+ className: string;
151
+ onEvent: {
152
+ click: {
153
+ actions: {
154
+ script: string;
155
+ actionType: string;
156
+ }[];
157
+ weight: number;
158
+ };
159
+ };
160
+ name?: undefined;
161
+ items?: undefined;
162
+ placeholder?: undefined;
123
163
  source?: undefined;
124
164
  };
125
165
  defaultImage?: undefined;
@@ -163,6 +203,8 @@ export function getAmisFileSchema(steedosField: any, readonly: any, ctx: any): P
163
203
  };
164
204
  };
165
205
  name?: undefined;
206
+ tpl?: undefined;
207
+ onEvent?: undefined;
166
208
  };
167
209
  defaultImage?: undefined;
168
210
  enlargeAble?: undefined;
@@ -1,5 +1,5 @@
1
1
  export function getSvgUrl(source: any, name: any): string;
2
- export function getImageFieldUrl(url: any): any;
2
+ export function getImageFieldUrl(url: any, readonly: any): any;
3
3
  export function getContrastColor(bgColor: any): "#ffffff" | "#000000";
4
4
  export function getLookupListView(refObjectConfig: any): null;
5
5
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@steedos-widgets/amis-lib",
3
3
  "private": false,
4
- "version": "6.3.11-beta.7",
4
+ "version": "6.3.11-beta.8",
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": "a891fa65471921d0e1e6f9a014a1647fbecebd5b"
64
+ "gitHead": "87bdc3388701c995cfa52874fd7523500e4be6d3"
65
65
  }