@ws-ui/shared 1.6.2 → 1.6.5
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.
- package/dist/declarations/index.d.ts +1 -0
- package/dist/declarations/webform/webform.d.ts +32 -15
- package/dist/index.cjs.js +36 -36
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1784 -1749
- package/dist/index.es.js.map +1 -1
- package/dist/services/api.d.ts +1 -1
- package/dist/tailwind.preset.js +3 -3
- package/dist/types/api.d.ts +1 -1
- package/dist/utils/explorer.d.ts +19 -3
- package/package.json +1 -1
|
@@ -148,7 +148,8 @@ declare namespace webforms {
|
|
|
148
148
|
| MemberFunctionEvent
|
|
149
149
|
| NavigationEvent
|
|
150
150
|
| SimpleActionEvent
|
|
151
|
-
| DialogActionEvent
|
|
151
|
+
| DialogActionEvent
|
|
152
|
+
| QodlyProActionEvent;
|
|
152
153
|
|
|
153
154
|
type EventExtra = {
|
|
154
155
|
shortcuts?: {
|
|
@@ -160,7 +161,12 @@ declare namespace webforms {
|
|
|
160
161
|
interface BaseEvent {
|
|
161
162
|
id: string;
|
|
162
163
|
events: string[];
|
|
163
|
-
type:
|
|
164
|
+
type:
|
|
165
|
+
| 'method'
|
|
166
|
+
| 'navigation'
|
|
167
|
+
| 'simple-action'
|
|
168
|
+
| 'dialog'
|
|
169
|
+
| 'qodly-pro-action';
|
|
164
170
|
disabled?: boolean;
|
|
165
171
|
extra?: EventExtra;
|
|
166
172
|
}
|
|
@@ -169,18 +175,18 @@ declare namespace webforms {
|
|
|
169
175
|
type: 'method';
|
|
170
176
|
params: MethodParam[];
|
|
171
177
|
} & Partial<{
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
178
|
+
method: string;
|
|
179
|
+
dataclass: string;
|
|
180
|
+
returns: Omit<MethodParam, 'id'>;
|
|
181
|
+
namespace: string;
|
|
182
|
+
code: string;
|
|
183
|
+
feedback: boolean;
|
|
184
|
+
datasource: string;
|
|
185
|
+
variadicType: string;
|
|
186
|
+
methodType?: 'dataclass' | 'singleton';
|
|
187
|
+
openIn: string;
|
|
188
|
+
allowedOnHTTPGET?: boolean;
|
|
189
|
+
}>;
|
|
184
190
|
|
|
185
191
|
type WebformStateActionType = 'add' | 'delete' | 'clear';
|
|
186
192
|
|
|
@@ -223,6 +229,17 @@ declare namespace webforms {
|
|
|
223
229
|
targetDialog: string;
|
|
224
230
|
}
|
|
225
231
|
|
|
232
|
+
type QodlyProActionEvent = BaseEvent & {
|
|
233
|
+
type: 'qodly-pro-action';
|
|
234
|
+
actionType: '4d-method' | 'auth';
|
|
235
|
+
} & Partial<{
|
|
236
|
+
action: string;
|
|
237
|
+
method: string;
|
|
238
|
+
params: MethodParam[];
|
|
239
|
+
returns: Omit<MethodParam, 'id'>;
|
|
240
|
+
variadicType: string;
|
|
241
|
+
}>;
|
|
242
|
+
|
|
226
243
|
interface NavigationEvent extends BaseEvent {
|
|
227
244
|
type: 'navigation';
|
|
228
245
|
parent: string;
|
|
@@ -255,7 +272,7 @@ declare namespace webforms {
|
|
|
255
272
|
|
|
256
273
|
type MethodReturn = Omit<MethodParam, 'name'>;
|
|
257
274
|
|
|
258
|
-
interface QueryParam extends MethodParam {
|
|
275
|
+
interface QueryParam extends MethodParam {}
|
|
259
276
|
|
|
260
277
|
interface OrderBy {
|
|
261
278
|
name: string; // replace with attribute
|