@lowdefy/plugin-aws 4.0.2 → 4.2.0

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,1597 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Mock render - default - value[0] - S3UploadButton 1`] = `
4
- Array [
5
- Array [
6
- Object {
7
- "accept": undefined,
8
- "children": <ButtonBlock
9
- basePath=""
10
- blockId="default_button"
11
- components={
12
- Object {
13
- "Icon": [Function],
14
- "Link": [Function],
15
- }
16
- }
17
- content={Object {}}
18
- events={
19
- Object {
20
- "__getS3PostPolicy": Array [
21
- Object {
22
- "id": "__getS3PostPolicy",
23
- "params": Array [
24
- "s3PostPolicyRequestId",
25
- ],
26
- "type": "Request",
27
- },
28
- ],
29
- }
30
- }
31
- list={Array []}
32
- menus={Array []}
33
- methods={
34
- Object {
35
- "makeCssClass": [MockFunction],
36
- "registerEvent": [Function],
37
- "registerMethod": [Function],
38
- "setValue": [Function],
39
- "triggerEvent": [Function],
40
- }
41
- }
42
- properties={
43
- Object {
44
- "disabled": false,
45
- "icon": "UploadOutlined",
46
- "title": "Upload",
47
- "type": "default",
48
- }
49
- }
50
- required={false}
51
- user={Object {}}
52
- validation={
53
- Object {
54
- "errors": Array [],
55
- "status": null,
56
- "warnings": Array [],
57
- }
58
- }
59
- />,
60
- "customRequest": [Function],
61
- "disabled": false,
62
- "id": "default",
63
- "multiple": true,
64
- "onChange": [Function],
65
- "showUploadList": undefined,
66
- },
67
- Object {},
68
- ],
69
- Array [
70
- Object {
71
- "accept": undefined,
72
- "children": <ButtonBlock
73
- basePath=""
74
- blockId="default_button"
75
- components={
76
- Object {
77
- "Icon": [Function],
78
- "Link": [Function],
79
- }
80
- }
81
- content={Object {}}
82
- events={
83
- Object {
84
- "__getS3PostPolicy": Array [
85
- Object {
86
- "id": "__getS3PostPolicy",
87
- "params": Array [
88
- "s3PostPolicyRequestId",
89
- ],
90
- "type": "Request",
91
- },
92
- ],
93
- }
94
- }
95
- list={Array []}
96
- menus={Array []}
97
- methods={
98
- Object {
99
- "makeCssClass": [MockFunction],
100
- "registerEvent": [Function],
101
- "registerMethod": [Function],
102
- "setValue": [Function],
103
- "triggerEvent": [Function],
104
- }
105
- }
106
- properties={
107
- Object {
108
- "disabled": false,
109
- "icon": "UploadOutlined",
110
- "title": "Upload",
111
- "type": "default",
112
- }
113
- }
114
- required={false}
115
- user={Object {}}
116
- validation={
117
- Object {
118
- "errors": Array [],
119
- "status": null,
120
- "warnings": Array [],
121
- }
122
- }
123
- />,
124
- "customRequest": [Function],
125
- "disabled": false,
126
- "id": "default",
127
- "multiple": true,
128
- "onChange": [Function],
129
- "showUploadList": undefined,
130
- },
131
- Object {},
132
- ],
133
- ]
134
- `;
135
-
136
- exports[`Mock render - default - value[0] - S3UploadButton 2`] = `
137
- Array [
138
- Array [
139
- Object {
140
- "accept": undefined,
141
- "children": <ButtonBlock
142
- basePath=""
143
- blockId="default_button"
144
- components={
145
- Object {
146
- "Icon": [Function],
147
- "Link": [Function],
148
- }
149
- }
150
- content={Object {}}
151
- events={
152
- Object {
153
- "__getS3PostPolicy": Array [
154
- Object {
155
- "id": "__getS3PostPolicy",
156
- "params": Array [
157
- "s3PostPolicyRequestId",
158
- ],
159
- "type": "Request",
160
- },
161
- ],
162
- }
163
- }
164
- list={Array []}
165
- menus={Array []}
166
- methods={
167
- Object {
168
- "makeCssClass": [MockFunction],
169
- "registerEvent": [Function],
170
- "registerMethod": [Function],
171
- "setValue": [Function],
172
- "triggerEvent": [Function],
173
- }
174
- }
175
- properties={
176
- Object {
177
- "disabled": false,
178
- "icon": "UploadOutlined",
179
- "title": "Upload",
180
- "type": "default",
181
- }
182
- }
183
- required={false}
184
- user={Object {}}
185
- validation={
186
- Object {
187
- "errors": Array [],
188
- "status": null,
189
- "warnings": Array [],
190
- }
191
- }
192
- />,
193
- "customRequest": [Function],
194
- "disabled": false,
195
- "id": "default",
196
- "multiple": true,
197
- "onChange": [Function],
198
- "showUploadList": undefined,
199
- },
200
- Object {},
201
- ],
202
- Array [
203
- Object {
204
- "accept": undefined,
205
- "children": <ButtonBlock
206
- basePath=""
207
- blockId="default_button"
208
- components={
209
- Object {
210
- "Icon": [Function],
211
- "Link": [Function],
212
- }
213
- }
214
- content={Object {}}
215
- events={
216
- Object {
217
- "__getS3PostPolicy": Array [
218
- Object {
219
- "id": "__getS3PostPolicy",
220
- "params": Array [
221
- "s3PostPolicyRequestId",
222
- ],
223
- "type": "Request",
224
- },
225
- ],
226
- }
227
- }
228
- list={Array []}
229
- menus={Array []}
230
- methods={
231
- Object {
232
- "makeCssClass": [MockFunction],
233
- "registerEvent": [Function],
234
- "registerMethod": [Function],
235
- "setValue": [Function],
236
- "triggerEvent": [Function],
237
- }
238
- }
239
- properties={
240
- Object {
241
- "disabled": false,
242
- "icon": "UploadOutlined",
243
- "title": "Upload",
244
- "type": "default",
245
- }
246
- }
247
- required={false}
248
- user={Object {}}
249
- validation={
250
- Object {
251
- "errors": Array [],
252
- "status": null,
253
- "warnings": Array [],
254
- }
255
- }
256
- />,
257
- "customRequest": [Function],
258
- "disabled": false,
259
- "id": "default",
260
- "multiple": true,
261
- "onChange": [Function],
262
- "showUploadList": undefined,
263
- },
264
- Object {},
265
- ],
266
- ]
267
- `;
268
-
269
- exports[`Mock render - properties.accept - value[0] - S3UploadButton 1`] = `
270
- Array [
271
- Array [
272
- Object {
273
- "accept": ".png,.jpg",
274
- "children": <ButtonBlock
275
- basePath=""
276
- blockId="properties.accept_button"
277
- components={
278
- Object {
279
- "Icon": [Function],
280
- "Link": [Function],
281
- }
282
- }
283
- content={Object {}}
284
- events={
285
- Object {
286
- "__getS3PostPolicy": Array [
287
- Object {
288
- "id": "__getS3PostPolicy",
289
- "params": Array [
290
- "s3PostPolicyRequestId",
291
- ],
292
- "type": "Request",
293
- },
294
- ],
295
- }
296
- }
297
- list={Array []}
298
- menus={Array []}
299
- methods={
300
- Object {
301
- "makeCssClass": [MockFunction],
302
- "registerEvent": [Function],
303
- "registerMethod": [Function],
304
- "setValue": [Function],
305
- "triggerEvent": [Function],
306
- }
307
- }
308
- properties={
309
- Object {
310
- "disabled": false,
311
- "icon": "UploadOutlined",
312
- "title": "Upload",
313
- "type": "default",
314
- }
315
- }
316
- required={false}
317
- user={Object {}}
318
- validation={
319
- Object {
320
- "errors": Array [],
321
- "status": null,
322
- "warnings": Array [],
323
- }
324
- }
325
- />,
326
- "customRequest": [Function],
327
- "disabled": false,
328
- "id": "properties.accept",
329
- "multiple": true,
330
- "onChange": [Function],
331
- "showUploadList": undefined,
332
- },
333
- Object {},
334
- ],
335
- Array [
336
- Object {
337
- "accept": ".png,.jpg",
338
- "children": <ButtonBlock
339
- basePath=""
340
- blockId="properties.accept_button"
341
- components={
342
- Object {
343
- "Icon": [Function],
344
- "Link": [Function],
345
- }
346
- }
347
- content={Object {}}
348
- events={
349
- Object {
350
- "__getS3PostPolicy": Array [
351
- Object {
352
- "id": "__getS3PostPolicy",
353
- "params": Array [
354
- "s3PostPolicyRequestId",
355
- ],
356
- "type": "Request",
357
- },
358
- ],
359
- }
360
- }
361
- list={Array []}
362
- menus={Array []}
363
- methods={
364
- Object {
365
- "makeCssClass": [MockFunction],
366
- "registerEvent": [Function],
367
- "registerMethod": [Function],
368
- "setValue": [Function],
369
- "triggerEvent": [Function],
370
- }
371
- }
372
- properties={
373
- Object {
374
- "disabled": false,
375
- "icon": "UploadOutlined",
376
- "title": "Upload",
377
- "type": "default",
378
- }
379
- }
380
- required={false}
381
- user={Object {}}
382
- validation={
383
- Object {
384
- "errors": Array [],
385
- "status": null,
386
- "warnings": Array [],
387
- }
388
- }
389
- />,
390
- "customRequest": [Function],
391
- "disabled": false,
392
- "id": "properties.accept",
393
- "multiple": true,
394
- "onChange": [Function],
395
- "showUploadList": undefined,
396
- },
397
- Object {},
398
- ],
399
- ]
400
- `;
401
-
402
- exports[`Mock render - properties.accept - value[0] - S3UploadButton 2`] = `
403
- Array [
404
- Array [
405
- Object {
406
- "accept": ".png,.jpg",
407
- "children": <ButtonBlock
408
- basePath=""
409
- blockId="properties.accept_button"
410
- components={
411
- Object {
412
- "Icon": [Function],
413
- "Link": [Function],
414
- }
415
- }
416
- content={Object {}}
417
- events={
418
- Object {
419
- "__getS3PostPolicy": Array [
420
- Object {
421
- "id": "__getS3PostPolicy",
422
- "params": Array [
423
- "s3PostPolicyRequestId",
424
- ],
425
- "type": "Request",
426
- },
427
- ],
428
- }
429
- }
430
- list={Array []}
431
- menus={Array []}
432
- methods={
433
- Object {
434
- "makeCssClass": [MockFunction],
435
- "registerEvent": [Function],
436
- "registerMethod": [Function],
437
- "setValue": [Function],
438
- "triggerEvent": [Function],
439
- }
440
- }
441
- properties={
442
- Object {
443
- "disabled": false,
444
- "icon": "UploadOutlined",
445
- "title": "Upload",
446
- "type": "default",
447
- }
448
- }
449
- required={false}
450
- user={Object {}}
451
- validation={
452
- Object {
453
- "errors": Array [],
454
- "status": null,
455
- "warnings": Array [],
456
- }
457
- }
458
- />,
459
- "customRequest": [Function],
460
- "disabled": false,
461
- "id": "properties.accept",
462
- "multiple": true,
463
- "onChange": [Function],
464
- "showUploadList": undefined,
465
- },
466
- Object {},
467
- ],
468
- Array [
469
- Object {
470
- "accept": ".png,.jpg",
471
- "children": <ButtonBlock
472
- basePath=""
473
- blockId="properties.accept_button"
474
- components={
475
- Object {
476
- "Icon": [Function],
477
- "Link": [Function],
478
- }
479
- }
480
- content={Object {}}
481
- events={
482
- Object {
483
- "__getS3PostPolicy": Array [
484
- Object {
485
- "id": "__getS3PostPolicy",
486
- "params": Array [
487
- "s3PostPolicyRequestId",
488
- ],
489
- "type": "Request",
490
- },
491
- ],
492
- }
493
- }
494
- list={Array []}
495
- menus={Array []}
496
- methods={
497
- Object {
498
- "makeCssClass": [MockFunction],
499
- "registerEvent": [Function],
500
- "registerMethod": [Function],
501
- "setValue": [Function],
502
- "triggerEvent": [Function],
503
- }
504
- }
505
- properties={
506
- Object {
507
- "disabled": false,
508
- "icon": "UploadOutlined",
509
- "title": "Upload",
510
- "type": "default",
511
- }
512
- }
513
- required={false}
514
- user={Object {}}
515
- validation={
516
- Object {
517
- "errors": Array [],
518
- "status": null,
519
- "warnings": Array [],
520
- }
521
- }
522
- />,
523
- "customRequest": [Function],
524
- "disabled": false,
525
- "id": "properties.accept",
526
- "multiple": true,
527
- "onChange": [Function],
528
- "showUploadList": undefined,
529
- },
530
- Object {},
531
- ],
532
- ]
533
- `;
534
-
535
- exports[`Mock render - properties.button - value[0] - S3UploadButton 1`] = `
536
- Array [
537
- Array [
538
- Object {
539
- "accept": undefined,
540
- "children": <ButtonBlock
541
- basePath=""
542
- blockId="properties.button_button"
543
- components={
544
- Object {
545
- "Icon": [Function],
546
- "Link": [Function],
547
- }
548
- }
549
- content={Object {}}
550
- events={
551
- Object {
552
- "__getS3PostPolicy": Array [
553
- Object {
554
- "id": "__getS3PostPolicy",
555
- "params": Array [
556
- "s3PostPolicyRequestId",
557
- ],
558
- "type": "Request",
559
- },
560
- ],
561
- }
562
- }
563
- list={Array []}
564
- menus={Array []}
565
- methods={
566
- Object {
567
- "makeCssClass": [MockFunction],
568
- "registerEvent": [Function],
569
- "registerMethod": [Function],
570
- "setValue": [Function],
571
- "triggerEvent": [Function],
572
- }
573
- }
574
- properties={
575
- Object {
576
- "disabled": false,
577
- "icon": "UploadOutlined",
578
- "title": "Upload",
579
- "type": "primary",
580
- }
581
- }
582
- required={false}
583
- user={Object {}}
584
- validation={
585
- Object {
586
- "errors": Array [],
587
- "status": null,
588
- "warnings": Array [],
589
- }
590
- }
591
- />,
592
- "customRequest": [Function],
593
- "disabled": false,
594
- "id": "properties.button",
595
- "multiple": true,
596
- "onChange": [Function],
597
- "showUploadList": undefined,
598
- },
599
- Object {},
600
- ],
601
- Array [
602
- Object {
603
- "accept": undefined,
604
- "children": <ButtonBlock
605
- basePath=""
606
- blockId="properties.button_button"
607
- components={
608
- Object {
609
- "Icon": [Function],
610
- "Link": [Function],
611
- }
612
- }
613
- content={Object {}}
614
- events={
615
- Object {
616
- "__getS3PostPolicy": Array [
617
- Object {
618
- "id": "__getS3PostPolicy",
619
- "params": Array [
620
- "s3PostPolicyRequestId",
621
- ],
622
- "type": "Request",
623
- },
624
- ],
625
- }
626
- }
627
- list={Array []}
628
- menus={Array []}
629
- methods={
630
- Object {
631
- "makeCssClass": [MockFunction],
632
- "registerEvent": [Function],
633
- "registerMethod": [Function],
634
- "setValue": [Function],
635
- "triggerEvent": [Function],
636
- }
637
- }
638
- properties={
639
- Object {
640
- "disabled": false,
641
- "icon": "UploadOutlined",
642
- "title": "Upload",
643
- "type": "primary",
644
- }
645
- }
646
- required={false}
647
- user={Object {}}
648
- validation={
649
- Object {
650
- "errors": Array [],
651
- "status": null,
652
- "warnings": Array [],
653
- }
654
- }
655
- />,
656
- "customRequest": [Function],
657
- "disabled": false,
658
- "id": "properties.button",
659
- "multiple": true,
660
- "onChange": [Function],
661
- "showUploadList": undefined,
662
- },
663
- Object {},
664
- ],
665
- ]
666
- `;
667
-
668
- exports[`Mock render - properties.button - value[0] - S3UploadButton 2`] = `
669
- Array [
670
- Array [
671
- Object {
672
- "accept": undefined,
673
- "children": <ButtonBlock
674
- basePath=""
675
- blockId="properties.button_button"
676
- components={
677
- Object {
678
- "Icon": [Function],
679
- "Link": [Function],
680
- }
681
- }
682
- content={Object {}}
683
- events={
684
- Object {
685
- "__getS3PostPolicy": Array [
686
- Object {
687
- "id": "__getS3PostPolicy",
688
- "params": Array [
689
- "s3PostPolicyRequestId",
690
- ],
691
- "type": "Request",
692
- },
693
- ],
694
- }
695
- }
696
- list={Array []}
697
- menus={Array []}
698
- methods={
699
- Object {
700
- "makeCssClass": [MockFunction],
701
- "registerEvent": [Function],
702
- "registerMethod": [Function],
703
- "setValue": [Function],
704
- "triggerEvent": [Function],
705
- }
706
- }
707
- properties={
708
- Object {
709
- "disabled": false,
710
- "icon": "UploadOutlined",
711
- "title": "Upload",
712
- "type": "primary",
713
- }
714
- }
715
- required={false}
716
- user={Object {}}
717
- validation={
718
- Object {
719
- "errors": Array [],
720
- "status": null,
721
- "warnings": Array [],
722
- }
723
- }
724
- />,
725
- "customRequest": [Function],
726
- "disabled": false,
727
- "id": "properties.button",
728
- "multiple": true,
729
- "onChange": [Function],
730
- "showUploadList": undefined,
731
- },
732
- Object {},
733
- ],
734
- Array [
735
- Object {
736
- "accept": undefined,
737
- "children": <ButtonBlock
738
- basePath=""
739
- blockId="properties.button_button"
740
- components={
741
- Object {
742
- "Icon": [Function],
743
- "Link": [Function],
744
- }
745
- }
746
- content={Object {}}
747
- events={
748
- Object {
749
- "__getS3PostPolicy": Array [
750
- Object {
751
- "id": "__getS3PostPolicy",
752
- "params": Array [
753
- "s3PostPolicyRequestId",
754
- ],
755
- "type": "Request",
756
- },
757
- ],
758
- }
759
- }
760
- list={Array []}
761
- menus={Array []}
762
- methods={
763
- Object {
764
- "makeCssClass": [MockFunction],
765
- "registerEvent": [Function],
766
- "registerMethod": [Function],
767
- "setValue": [Function],
768
- "triggerEvent": [Function],
769
- }
770
- }
771
- properties={
772
- Object {
773
- "disabled": false,
774
- "icon": "UploadOutlined",
775
- "title": "Upload",
776
- "type": "primary",
777
- }
778
- }
779
- required={false}
780
- user={Object {}}
781
- validation={
782
- Object {
783
- "errors": Array [],
784
- "status": null,
785
- "warnings": Array [],
786
- }
787
- }
788
- />,
789
- "customRequest": [Function],
790
- "disabled": false,
791
- "id": "properties.button",
792
- "multiple": true,
793
- "onChange": [Function],
794
- "showUploadList": undefined,
795
- },
796
- Object {},
797
- ],
798
- ]
799
- `;
800
-
801
- exports[`Mock render - properties.disabled - value[0] - S3UploadButton 1`] = `
802
- Array [
803
- Array [
804
- Object {
805
- "accept": undefined,
806
- "children": <ButtonBlock
807
- basePath=""
808
- blockId="properties.disabled_button"
809
- components={
810
- Object {
811
- "Icon": [Function],
812
- "Link": [Function],
813
- }
814
- }
815
- content={Object {}}
816
- events={
817
- Object {
818
- "__getS3PostPolicy": Array [
819
- Object {
820
- "id": "__getS3PostPolicy",
821
- "params": Array [
822
- "s3PostPolicyRequestId",
823
- ],
824
- "type": "Request",
825
- },
826
- ],
827
- }
828
- }
829
- list={Array []}
830
- menus={Array []}
831
- methods={
832
- Object {
833
- "makeCssClass": [MockFunction],
834
- "registerEvent": [Function],
835
- "registerMethod": [Function],
836
- "setValue": [Function],
837
- "triggerEvent": [Function],
838
- }
839
- }
840
- properties={
841
- Object {
842
- "disabled": true,
843
- "icon": "UploadOutlined",
844
- "title": "Upload",
845
- "type": "default",
846
- }
847
- }
848
- required={false}
849
- user={Object {}}
850
- validation={
851
- Object {
852
- "errors": Array [],
853
- "status": null,
854
- "warnings": Array [],
855
- }
856
- }
857
- />,
858
- "customRequest": [Function],
859
- "disabled": true,
860
- "id": "properties.disabled",
861
- "multiple": true,
862
- "onChange": [Function],
863
- "showUploadList": undefined,
864
- },
865
- Object {},
866
- ],
867
- Array [
868
- Object {
869
- "accept": undefined,
870
- "children": <ButtonBlock
871
- basePath=""
872
- blockId="properties.disabled_button"
873
- components={
874
- Object {
875
- "Icon": [Function],
876
- "Link": [Function],
877
- }
878
- }
879
- content={Object {}}
880
- events={
881
- Object {
882
- "__getS3PostPolicy": Array [
883
- Object {
884
- "id": "__getS3PostPolicy",
885
- "params": Array [
886
- "s3PostPolicyRequestId",
887
- ],
888
- "type": "Request",
889
- },
890
- ],
891
- }
892
- }
893
- list={Array []}
894
- menus={Array []}
895
- methods={
896
- Object {
897
- "makeCssClass": [MockFunction],
898
- "registerEvent": [Function],
899
- "registerMethod": [Function],
900
- "setValue": [Function],
901
- "triggerEvent": [Function],
902
- }
903
- }
904
- properties={
905
- Object {
906
- "disabled": true,
907
- "icon": "UploadOutlined",
908
- "title": "Upload",
909
- "type": "default",
910
- }
911
- }
912
- required={false}
913
- user={Object {}}
914
- validation={
915
- Object {
916
- "errors": Array [],
917
- "status": null,
918
- "warnings": Array [],
919
- }
920
- }
921
- />,
922
- "customRequest": [Function],
923
- "disabled": true,
924
- "id": "properties.disabled",
925
- "multiple": true,
926
- "onChange": [Function],
927
- "showUploadList": undefined,
928
- },
929
- Object {},
930
- ],
931
- ]
932
- `;
933
-
934
- exports[`Mock render - properties.disabled - value[0] - S3UploadButton 2`] = `
935
- Array [
936
- Array [
937
- Object {
938
- "accept": undefined,
939
- "children": <ButtonBlock
940
- basePath=""
941
- blockId="properties.disabled_button"
942
- components={
943
- Object {
944
- "Icon": [Function],
945
- "Link": [Function],
946
- }
947
- }
948
- content={Object {}}
949
- events={
950
- Object {
951
- "__getS3PostPolicy": Array [
952
- Object {
953
- "id": "__getS3PostPolicy",
954
- "params": Array [
955
- "s3PostPolicyRequestId",
956
- ],
957
- "type": "Request",
958
- },
959
- ],
960
- }
961
- }
962
- list={Array []}
963
- menus={Array []}
964
- methods={
965
- Object {
966
- "makeCssClass": [MockFunction],
967
- "registerEvent": [Function],
968
- "registerMethod": [Function],
969
- "setValue": [Function],
970
- "triggerEvent": [Function],
971
- }
972
- }
973
- properties={
974
- Object {
975
- "disabled": true,
976
- "icon": "UploadOutlined",
977
- "title": "Upload",
978
- "type": "default",
979
- }
980
- }
981
- required={false}
982
- user={Object {}}
983
- validation={
984
- Object {
985
- "errors": Array [],
986
- "status": null,
987
- "warnings": Array [],
988
- }
989
- }
990
- />,
991
- "customRequest": [Function],
992
- "disabled": true,
993
- "id": "properties.disabled",
994
- "multiple": true,
995
- "onChange": [Function],
996
- "showUploadList": undefined,
997
- },
998
- Object {},
999
- ],
1000
- Array [
1001
- Object {
1002
- "accept": undefined,
1003
- "children": <ButtonBlock
1004
- basePath=""
1005
- blockId="properties.disabled_button"
1006
- components={
1007
- Object {
1008
- "Icon": [Function],
1009
- "Link": [Function],
1010
- }
1011
- }
1012
- content={Object {}}
1013
- events={
1014
- Object {
1015
- "__getS3PostPolicy": Array [
1016
- Object {
1017
- "id": "__getS3PostPolicy",
1018
- "params": Array [
1019
- "s3PostPolicyRequestId",
1020
- ],
1021
- "type": "Request",
1022
- },
1023
- ],
1024
- }
1025
- }
1026
- list={Array []}
1027
- menus={Array []}
1028
- methods={
1029
- Object {
1030
- "makeCssClass": [MockFunction],
1031
- "registerEvent": [Function],
1032
- "registerMethod": [Function],
1033
- "setValue": [Function],
1034
- "triggerEvent": [Function],
1035
- }
1036
- }
1037
- properties={
1038
- Object {
1039
- "disabled": true,
1040
- "icon": "UploadOutlined",
1041
- "title": "Upload",
1042
- "type": "default",
1043
- }
1044
- }
1045
- required={false}
1046
- user={Object {}}
1047
- validation={
1048
- Object {
1049
- "errors": Array [],
1050
- "status": null,
1051
- "warnings": Array [],
1052
- }
1053
- }
1054
- />,
1055
- "customRequest": [Function],
1056
- "disabled": true,
1057
- "id": "properties.disabled",
1058
- "multiple": true,
1059
- "onChange": [Function],
1060
- "showUploadList": undefined,
1061
- },
1062
- Object {},
1063
- ],
1064
- ]
1065
- `;
1066
-
1067
- exports[`Mock render - properties.showUploadList - value[0] - S3UploadButton 1`] = `
1068
- Array [
1069
- Array [
1070
- Object {
1071
- "accept": undefined,
1072
- "children": <ButtonBlock
1073
- basePath=""
1074
- blockId="properties.showUploadList_button"
1075
- components={
1076
- Object {
1077
- "Icon": [Function],
1078
- "Link": [Function],
1079
- }
1080
- }
1081
- content={Object {}}
1082
- events={
1083
- Object {
1084
- "__getS3PostPolicy": Array [
1085
- Object {
1086
- "id": "__getS3PostPolicy",
1087
- "params": Array [
1088
- "s3PostPolicyRequestId",
1089
- ],
1090
- "type": "Request",
1091
- },
1092
- ],
1093
- }
1094
- }
1095
- list={Array []}
1096
- menus={Array []}
1097
- methods={
1098
- Object {
1099
- "makeCssClass": [MockFunction],
1100
- "registerEvent": [Function],
1101
- "registerMethod": [Function],
1102
- "setValue": [Function],
1103
- "triggerEvent": [Function],
1104
- }
1105
- }
1106
- properties={
1107
- Object {
1108
- "disabled": false,
1109
- "icon": "UploadOutlined",
1110
- "title": "Upload",
1111
- "type": "default",
1112
- }
1113
- }
1114
- required={false}
1115
- user={Object {}}
1116
- validation={
1117
- Object {
1118
- "errors": Array [],
1119
- "status": null,
1120
- "warnings": Array [],
1121
- }
1122
- }
1123
- />,
1124
- "customRequest": [Function],
1125
- "disabled": false,
1126
- "id": "properties.showUploadList",
1127
- "multiple": true,
1128
- "onChange": [Function],
1129
- "showUploadList": true,
1130
- },
1131
- Object {},
1132
- ],
1133
- Array [
1134
- Object {
1135
- "accept": undefined,
1136
- "children": <ButtonBlock
1137
- basePath=""
1138
- blockId="properties.showUploadList_button"
1139
- components={
1140
- Object {
1141
- "Icon": [Function],
1142
- "Link": [Function],
1143
- }
1144
- }
1145
- content={Object {}}
1146
- events={
1147
- Object {
1148
- "__getS3PostPolicy": Array [
1149
- Object {
1150
- "id": "__getS3PostPolicy",
1151
- "params": Array [
1152
- "s3PostPolicyRequestId",
1153
- ],
1154
- "type": "Request",
1155
- },
1156
- ],
1157
- }
1158
- }
1159
- list={Array []}
1160
- menus={Array []}
1161
- methods={
1162
- Object {
1163
- "makeCssClass": [MockFunction],
1164
- "registerEvent": [Function],
1165
- "registerMethod": [Function],
1166
- "setValue": [Function],
1167
- "triggerEvent": [Function],
1168
- }
1169
- }
1170
- properties={
1171
- Object {
1172
- "disabled": false,
1173
- "icon": "UploadOutlined",
1174
- "title": "Upload",
1175
- "type": "default",
1176
- }
1177
- }
1178
- required={false}
1179
- user={Object {}}
1180
- validation={
1181
- Object {
1182
- "errors": Array [],
1183
- "status": null,
1184
- "warnings": Array [],
1185
- }
1186
- }
1187
- />,
1188
- "customRequest": [Function],
1189
- "disabled": false,
1190
- "id": "properties.showUploadList",
1191
- "multiple": true,
1192
- "onChange": [Function],
1193
- "showUploadList": true,
1194
- },
1195
- Object {},
1196
- ],
1197
- ]
1198
- `;
1199
-
1200
- exports[`Mock render - properties.showUploadList - value[0] - S3UploadButton 2`] = `
1201
- Array [
1202
- Array [
1203
- Object {
1204
- "accept": undefined,
1205
- "children": <ButtonBlock
1206
- basePath=""
1207
- blockId="properties.showUploadList_button"
1208
- components={
1209
- Object {
1210
- "Icon": [Function],
1211
- "Link": [Function],
1212
- }
1213
- }
1214
- content={Object {}}
1215
- events={
1216
- Object {
1217
- "__getS3PostPolicy": Array [
1218
- Object {
1219
- "id": "__getS3PostPolicy",
1220
- "params": Array [
1221
- "s3PostPolicyRequestId",
1222
- ],
1223
- "type": "Request",
1224
- },
1225
- ],
1226
- }
1227
- }
1228
- list={Array []}
1229
- menus={Array []}
1230
- methods={
1231
- Object {
1232
- "makeCssClass": [MockFunction],
1233
- "registerEvent": [Function],
1234
- "registerMethod": [Function],
1235
- "setValue": [Function],
1236
- "triggerEvent": [Function],
1237
- }
1238
- }
1239
- properties={
1240
- Object {
1241
- "disabled": false,
1242
- "icon": "UploadOutlined",
1243
- "title": "Upload",
1244
- "type": "default",
1245
- }
1246
- }
1247
- required={false}
1248
- user={Object {}}
1249
- validation={
1250
- Object {
1251
- "errors": Array [],
1252
- "status": null,
1253
- "warnings": Array [],
1254
- }
1255
- }
1256
- />,
1257
- "customRequest": [Function],
1258
- "disabled": false,
1259
- "id": "properties.showUploadList",
1260
- "multiple": true,
1261
- "onChange": [Function],
1262
- "showUploadList": true,
1263
- },
1264
- Object {},
1265
- ],
1266
- Array [
1267
- Object {
1268
- "accept": undefined,
1269
- "children": <ButtonBlock
1270
- basePath=""
1271
- blockId="properties.showUploadList_button"
1272
- components={
1273
- Object {
1274
- "Icon": [Function],
1275
- "Link": [Function],
1276
- }
1277
- }
1278
- content={Object {}}
1279
- events={
1280
- Object {
1281
- "__getS3PostPolicy": Array [
1282
- Object {
1283
- "id": "__getS3PostPolicy",
1284
- "params": Array [
1285
- "s3PostPolicyRequestId",
1286
- ],
1287
- "type": "Request",
1288
- },
1289
- ],
1290
- }
1291
- }
1292
- list={Array []}
1293
- menus={Array []}
1294
- methods={
1295
- Object {
1296
- "makeCssClass": [MockFunction],
1297
- "registerEvent": [Function],
1298
- "registerMethod": [Function],
1299
- "setValue": [Function],
1300
- "triggerEvent": [Function],
1301
- }
1302
- }
1303
- properties={
1304
- Object {
1305
- "disabled": false,
1306
- "icon": "UploadOutlined",
1307
- "title": "Upload",
1308
- "type": "default",
1309
- }
1310
- }
1311
- required={false}
1312
- user={Object {}}
1313
- validation={
1314
- Object {
1315
- "errors": Array [],
1316
- "status": null,
1317
- "warnings": Array [],
1318
- }
1319
- }
1320
- />,
1321
- "customRequest": [Function],
1322
- "disabled": false,
1323
- "id": "properties.showUploadList",
1324
- "multiple": true,
1325
- "onChange": [Function],
1326
- "showUploadList": true,
1327
- },
1328
- Object {},
1329
- ],
1330
- ]
1331
- `;
1332
-
1333
- exports[`Mock render - properties.singleFile - value[0] - S3UploadButton 1`] = `
1334
- Array [
1335
- Array [
1336
- Object {
1337
- "accept": undefined,
1338
- "children": <ButtonBlock
1339
- basePath=""
1340
- blockId="properties.singleFile_button"
1341
- components={
1342
- Object {
1343
- "Icon": [Function],
1344
- "Link": [Function],
1345
- }
1346
- }
1347
- content={Object {}}
1348
- events={
1349
- Object {
1350
- "__getS3PostPolicy": Array [
1351
- Object {
1352
- "id": "__getS3PostPolicy",
1353
- "params": Array [
1354
- "s3PostPolicyRequestId",
1355
- ],
1356
- "type": "Request",
1357
- },
1358
- ],
1359
- }
1360
- }
1361
- list={Array []}
1362
- menus={Array []}
1363
- methods={
1364
- Object {
1365
- "makeCssClass": [MockFunction],
1366
- "registerEvent": [Function],
1367
- "registerMethod": [Function],
1368
- "setValue": [Function],
1369
- "triggerEvent": [Function],
1370
- }
1371
- }
1372
- properties={
1373
- Object {
1374
- "disabled": false,
1375
- "icon": "UploadOutlined",
1376
- "title": "Upload",
1377
- "type": "default",
1378
- }
1379
- }
1380
- required={false}
1381
- user={Object {}}
1382
- validation={
1383
- Object {
1384
- "errors": Array [],
1385
- "status": null,
1386
- "warnings": Array [],
1387
- }
1388
- }
1389
- />,
1390
- "customRequest": [Function],
1391
- "disabled": false,
1392
- "id": "properties.singleFile",
1393
- "multiple": false,
1394
- "onChange": [Function],
1395
- "showUploadList": undefined,
1396
- },
1397
- Object {},
1398
- ],
1399
- Array [
1400
- Object {
1401
- "accept": undefined,
1402
- "children": <ButtonBlock
1403
- basePath=""
1404
- blockId="properties.singleFile_button"
1405
- components={
1406
- Object {
1407
- "Icon": [Function],
1408
- "Link": [Function],
1409
- }
1410
- }
1411
- content={Object {}}
1412
- events={
1413
- Object {
1414
- "__getS3PostPolicy": Array [
1415
- Object {
1416
- "id": "__getS3PostPolicy",
1417
- "params": Array [
1418
- "s3PostPolicyRequestId",
1419
- ],
1420
- "type": "Request",
1421
- },
1422
- ],
1423
- }
1424
- }
1425
- list={Array []}
1426
- menus={Array []}
1427
- methods={
1428
- Object {
1429
- "makeCssClass": [MockFunction],
1430
- "registerEvent": [Function],
1431
- "registerMethod": [Function],
1432
- "setValue": [Function],
1433
- "triggerEvent": [Function],
1434
- }
1435
- }
1436
- properties={
1437
- Object {
1438
- "disabled": false,
1439
- "icon": "UploadOutlined",
1440
- "title": "Upload",
1441
- "type": "default",
1442
- }
1443
- }
1444
- required={false}
1445
- user={Object {}}
1446
- validation={
1447
- Object {
1448
- "errors": Array [],
1449
- "status": null,
1450
- "warnings": Array [],
1451
- }
1452
- }
1453
- />,
1454
- "customRequest": [Function],
1455
- "disabled": false,
1456
- "id": "properties.singleFile",
1457
- "multiple": false,
1458
- "onChange": [Function],
1459
- "showUploadList": undefined,
1460
- },
1461
- Object {},
1462
- ],
1463
- ]
1464
- `;
1465
-
1466
- exports[`Mock render - properties.singleFile - value[0] - S3UploadButton 2`] = `
1467
- Array [
1468
- Array [
1469
- Object {
1470
- "accept": undefined,
1471
- "children": <ButtonBlock
1472
- basePath=""
1473
- blockId="properties.singleFile_button"
1474
- components={
1475
- Object {
1476
- "Icon": [Function],
1477
- "Link": [Function],
1478
- }
1479
- }
1480
- content={Object {}}
1481
- events={
1482
- Object {
1483
- "__getS3PostPolicy": Array [
1484
- Object {
1485
- "id": "__getS3PostPolicy",
1486
- "params": Array [
1487
- "s3PostPolicyRequestId",
1488
- ],
1489
- "type": "Request",
1490
- },
1491
- ],
1492
- }
1493
- }
1494
- list={Array []}
1495
- menus={Array []}
1496
- methods={
1497
- Object {
1498
- "makeCssClass": [MockFunction],
1499
- "registerEvent": [Function],
1500
- "registerMethod": [Function],
1501
- "setValue": [Function],
1502
- "triggerEvent": [Function],
1503
- }
1504
- }
1505
- properties={
1506
- Object {
1507
- "disabled": false,
1508
- "icon": "UploadOutlined",
1509
- "title": "Upload",
1510
- "type": "default",
1511
- }
1512
- }
1513
- required={false}
1514
- user={Object {}}
1515
- validation={
1516
- Object {
1517
- "errors": Array [],
1518
- "status": null,
1519
- "warnings": Array [],
1520
- }
1521
- }
1522
- />,
1523
- "customRequest": [Function],
1524
- "disabled": false,
1525
- "id": "properties.singleFile",
1526
- "multiple": false,
1527
- "onChange": [Function],
1528
- "showUploadList": undefined,
1529
- },
1530
- Object {},
1531
- ],
1532
- Array [
1533
- Object {
1534
- "accept": undefined,
1535
- "children": <ButtonBlock
1536
- basePath=""
1537
- blockId="properties.singleFile_button"
1538
- components={
1539
- Object {
1540
- "Icon": [Function],
1541
- "Link": [Function],
1542
- }
1543
- }
1544
- content={Object {}}
1545
- events={
1546
- Object {
1547
- "__getS3PostPolicy": Array [
1548
- Object {
1549
- "id": "__getS3PostPolicy",
1550
- "params": Array [
1551
- "s3PostPolicyRequestId",
1552
- ],
1553
- "type": "Request",
1554
- },
1555
- ],
1556
- }
1557
- }
1558
- list={Array []}
1559
- menus={Array []}
1560
- methods={
1561
- Object {
1562
- "makeCssClass": [MockFunction],
1563
- "registerEvent": [Function],
1564
- "registerMethod": [Function],
1565
- "setValue": [Function],
1566
- "triggerEvent": [Function],
1567
- }
1568
- }
1569
- properties={
1570
- Object {
1571
- "disabled": false,
1572
- "icon": "UploadOutlined",
1573
- "title": "Upload",
1574
- "type": "default",
1575
- }
1576
- }
1577
- required={false}
1578
- user={Object {}}
1579
- validation={
1580
- Object {
1581
- "errors": Array [],
1582
- "status": null,
1583
- "warnings": Array [],
1584
- }
1585
- }
1586
- />,
1587
- "customRequest": [Function],
1588
- "disabled": false,
1589
- "id": "properties.singleFile",
1590
- "multiple": false,
1591
- "onChange": [Function],
1592
- "showUploadList": undefined,
1593
- },
1594
- Object {},
1595
- ],
1596
- ]
1597
- `;