@steedos-widgets/amis-lib 1.0.10 → 1.0.11

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.
@@ -37,131 +37,7 @@ export function getAmisObjectRelatedList(appName: any, objectName: any, recordId
37
37
  } | {
38
38
  uiSchema: any;
39
39
  isCalendar: boolean;
40
- amisSchema: {
41
- type: string;
42
- label: string;
43
- name: string;
44
- editable: any;
45
- selectable: any;
46
- selectMirror: any;
47
- onEvent: {
48
- getEvents: {
49
- weight: number;
50
- actions: {
51
- componentId: string;
52
- args: {};
53
- actionType: string;
54
- script: string;
55
- }[];
56
- };
57
- select: {
58
- weight: number;
59
- actions: {
60
- componentId: string;
61
- args: {};
62
- actionType: string;
63
- script: string;
64
- }[];
65
- };
66
- eventClick: {
67
- weight: number;
68
- actions: {
69
- componentId: string;
70
- args: {};
71
- actionType: string;
72
- script: string;
73
- }[];
74
- };
75
- eventAdd: {
76
- weight: number;
77
- actions: {
78
- componentId: string;
79
- args: {};
80
- actionType: string;
81
- script: string;
82
- }[];
83
- };
84
- eventChange: {
85
- weight: number;
86
- actions: ({
87
- actionType: string;
88
- args: {
89
- api: {
90
- method: string;
91
- url: string;
92
- data: {
93
- query: string;
94
- };
95
- headers: {
96
- Authorization: string;
97
- };
98
- };
99
- msgType?: undefined;
100
- msg?: undefined;
101
- position?: undefined;
102
- messages?: undefined;
103
- };
104
- expression?: undefined;
105
- } | {
106
- actionType: string;
107
- expression: string;
108
- args: {
109
- msgType: string;
110
- msg: string;
111
- position: string;
112
- api?: undefined;
113
- messages?: undefined;
114
- };
115
- } | {
116
- actionType: string;
117
- expression: string;
118
- args: {
119
- api: {
120
- method: string;
121
- url: string;
122
- data: {
123
- objectName: string;
124
- $: {
125
- _id: string;
126
- };
127
- $self: string;
128
- };
129
- requestAdaptor: string;
130
- adaptor: string;
131
- headers: {
132
- Authorization: string;
133
- };
134
- };
135
- messages: {
136
- success: string;
137
- failed: string;
138
- };
139
- msgType?: undefined;
140
- msg?: undefined;
141
- position?: undefined;
142
- };
143
- })[];
144
- };
145
- eventRemove: {
146
- weight: number;
147
- actions: {
148
- componentId: string;
149
- args: {};
150
- actionType: string;
151
- script: string;
152
- }[];
153
- };
154
- eventsSet: {
155
- weight: number;
156
- actions: {
157
- componentId: string;
158
- args: {};
159
- actionType: string;
160
- script: string;
161
- }[];
162
- };
163
- };
164
- };
40
+ amisSchema: any;
165
41
  isCustomAmisSchema?: undefined;
166
42
  } | {
167
43
  uiSchema: any;
@@ -185,6 +61,9 @@ export function getRecordDetailRelatedListSchema(objectName: any, recordId: any,
185
61
  id: string;
186
62
  className: string;
187
63
  data: {
64
+ "&": string;
65
+ appId: string;
66
+ app_id: string;
188
67
  masterObjectName: any;
189
68
  masterRecordId: string;
190
69
  relatedKey: any;
@@ -21,20 +21,8 @@ export namespace Router {
21
21
  objectName: any;
22
22
  listViewName: any;
23
23
  }): string;
24
- function getObjectDetailPath({ formFactor, appId, objectName, recordId, listViewName }: {
25
- formFactor: any;
26
- appId: any;
27
- objectName: any;
28
- recordId: any;
29
- listViewName: any;
30
- }): string;
31
- function getObjectDetailPath({ formFactor, appId, objectName, recordId, listViewName }: {
32
- formFactor: any;
33
- appId: any;
34
- objectName: any;
35
- recordId: any;
36
- listViewName: any;
37
- }): string;
24
+ function getObjectDetailPath(props: any): string;
25
+ function getObjectDetailPath(props: any): string;
38
26
  function getObjectRelatedViewPath({ formFactor, appId, masterObjectName, masterRecordId, objectName, foreignKey }: {
39
27
  formFactor: any;
40
28
  appId: 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.0.10",
4
+ "version": "1.0.11",
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": "3defe3a689449557ec240adaf3a9db146cb523ff"
61
+ "gitHead": "e92d3c34b635487f33725e5f820df1ea4b32b9c7"
62
62
  }