@steedos-widgets/amis-lib 6.10.1 → 6.10.2-beta.1

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 getApprovalDrawerSchema(instance: any): Promise<{
1
+ export function getApprovalDrawerSchema(instance: any, submitEvents: any): Promise<{
2
2
  type: string;
3
3
  overlay: boolean;
4
4
  resizable: boolean;
@@ -234,71 +234,7 @@ export function getApprovalDrawerSchema(instance: any): Promise<{
234
234
  label: string;
235
235
  onEvent: {
236
236
  click: {
237
- actions: ({
238
- componentId: string;
239
- args: {
240
- api?: undefined;
241
- messages?: undefined;
242
- blank?: undefined;
243
- url?: undefined;
244
- };
245
- actionType: string;
246
- script: string;
247
- expression?: undefined;
248
- } | {
249
- componentId: string;
250
- args: {
251
- api?: undefined;
252
- messages?: undefined;
253
- blank?: undefined;
254
- url?: undefined;
255
- };
256
- actionType: string;
257
- script: string;
258
- expression: string;
259
- } | {
260
- componentId: string;
261
- args: {
262
- api: {
263
- url: string;
264
- method: string;
265
- dataType: string;
266
- data: {
267
- "&": string;
268
- $scopeId: string;
269
- };
270
- headers: {
271
- Authorization: string;
272
- };
273
- requestAdaptor: string;
274
- };
275
- messages: {
276
- success: string;
277
- };
278
- blank?: undefined;
279
- url?: undefined;
280
- };
281
- actionType: string;
282
- expression: string;
283
- script?: undefined;
284
- } | {
285
- componentId: string;
286
- args: {
287
- blank: boolean;
288
- url: any;
289
- api?: undefined;
290
- messages?: undefined;
291
- };
292
- actionType: string;
293
- expression: string;
294
- script?: undefined;
295
- } | {
296
- actionType: string;
297
- expression: string;
298
- componentId?: undefined;
299
- args?: undefined;
300
- script?: undefined;
301
- })[];
237
+ actions: any[];
302
238
  };
303
239
  };
304
240
  id: string;
@@ -446,71 +446,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
446
446
  label: string;
447
447
  onEvent: {
448
448
  click: {
449
- actions: ({
450
- componentId: string;
451
- args: {
452
- api?: undefined;
453
- messages?: undefined;
454
- blank?: undefined;
455
- url?: undefined;
456
- };
457
- actionType: string;
458
- script: string;
459
- expression?: undefined;
460
- } | {
461
- componentId: string;
462
- args: {
463
- api?: undefined;
464
- messages?: undefined;
465
- blank?: undefined;
466
- url?: undefined;
467
- };
468
- actionType: string;
469
- script: string;
470
- expression: string;
471
- } | {
472
- componentId: string;
473
- args: {
474
- api: {
475
- url: string;
476
- method: string;
477
- dataType: string;
478
- data: {
479
- "&": string;
480
- $scopeId: string;
481
- };
482
- headers: {
483
- Authorization: string;
484
- };
485
- requestAdaptor: string;
486
- };
487
- messages: {
488
- success: string;
489
- };
490
- blank?: undefined;
491
- url?: undefined;
492
- };
493
- actionType: string;
494
- expression: string;
495
- script?: undefined;
496
- } | {
497
- componentId: string;
498
- args: {
499
- blank: boolean;
500
- url: any;
501
- api?: undefined;
502
- messages?: undefined;
503
- };
504
- actionType: string;
505
- expression: string;
506
- script?: undefined;
507
- } | {
508
- actionType: string;
509
- expression: string;
510
- componentId?: undefined;
511
- args?: undefined;
512
- script?: undefined;
513
- })[];
449
+ actions: any[];
514
450
  };
515
451
  };
516
452
  id: string;
@@ -681,11 +617,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
681
617
  };
682
618
  change: {
683
619
  weight: number;
684
- actions: {
685
- actionType: string;
686
- componentId: string;
687
- args: {};
688
- }[];
620
+ actions: any[];
689
621
  };
690
622
  };
691
623
  })[];
@@ -700,14 +632,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
700
632
  }[];
701
633
  };
702
634
  inited: {
703
- actions: {
704
- actionType: string;
705
- componentId: string;
706
- args: {
707
- value: string;
708
- };
709
- expression: string;
710
- }[];
635
+ actions: any[];
711
636
  };
712
637
  };
713
638
  initApi: {
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.1",
4
+ "version": "6.10.2-beta.1",
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": "0579e42e8db9f51a3aaea6cd7accd67af87600f2"
64
+ "gitHead": "f1b70cd27c19419d276c3f5f07d8779c2b9df9f8"
65
65
  }