@@ -34,38 +34,38 @@ public function buildForm(FormBuilderInterface $builder, array $options)
34
34
'error_bubbling ' => true ,
35
35
'attr ' => [
36
36
'data-controller ' => trim (($ options ['attr ' ]['data-controller ' ] ?? '' ).' symfony--ux-cropperjs--cropper ' ),
37
- 'data-public-url ' => $ options ['public_url ' ],
38
- 'data-view-mode ' => $ options ['view_mode ' ],
39
- 'data-drag-mode ' => $ options ['drag_mode ' ],
40
- 'data-aspect-ratio ' => $ options ['aspect_ratio ' ] ?: false ,
41
- 'data-initial-aspect-ratio ' => $ options ['initial_aspect_ratio ' ] ?: false ,
42
- 'data-responsive ' => $ options ['responsive ' ],
43
- 'data-restore ' => $ options ['restore ' ],
44
- 'data-check-cross-origin ' => $ options ['check_cross_origin ' ],
45
- 'data-check-orientation ' => $ options ['check_orientation ' ],
46
- 'data-modal ' => $ options ['modal ' ],
47
- 'data-guides ' => $ options ['guides ' ],
48
- 'data-center ' => $ options ['center ' ],
49
- 'data-highlight ' => $ options ['highlight ' ],
50
- 'data-background ' => $ options ['background ' ],
51
- 'data-auto-crop ' => $ options ['auto_crop ' ],
52
- 'data-auto-crop-area ' => $ options ['auto_crop_area ' ],
53
- 'data-movable ' => $ options ['movable ' ],
54
- 'data-rotatable ' => $ options ['rotatable ' ],
55
- 'data-scalable ' => $ options ['scalable ' ],
56
- 'data-zoomable ' => $ options ['zoomable ' ],
57
- 'data-zoom-on-touch ' => $ options ['zoom_on_touch ' ],
58
- 'data-zoom-on-wheel ' => $ options ['zoom_on_wheel ' ],
59
- 'data-wheel-zoom-ratio ' => $ options ['wheel_zoom_ratio ' ],
60
- 'data-crop-box-movable ' => $ options ['crop_box_movable ' ],
61
- 'data-crop-box-resizable ' => $ options ['crop_box_resizable ' ],
62
- 'data-toggle-drag-mode-on-dblclick ' => $ options ['toggle_drag_mode_on_dblclick ' ],
63
- 'data-min-container-width ' => $ options ['min_container_width ' ],
64
- 'data-min-container-height ' => $ options ['min_container_height ' ],
65
- 'data-min-canvas-width ' => $ options ['min_canvas_width ' ],
66
- 'data-min-canvas-height ' => $ options ['min_canvas_height ' ],
67
- 'data-min-crop-box-width ' => $ options ['min_crop_box_width ' ],
68
- 'data-min-crop-box-height ' => $ options ['min_crop_box_height ' ],
37
+ 'data-symfony--ux-cropperjs--cropper- public-url-value ' => $ options ['public_url ' ],
38
+ 'data-symfony--ux-cropperjs--cropper- view-mode-value ' => $ options ['view_mode ' ],
39
+ 'data-symfony--ux-cropperjs--cropper- drag-mode-value ' => $ options ['drag_mode ' ],
40
+ 'data-symfony--ux-cropperjs--cropper- aspect-ratio-value ' => $ options ['aspect_ratio ' ] ?: false ,
41
+ 'data-symfony--ux-cropperjs--cropper- initial-aspect-ratio-value ' => $ options ['initial_aspect_ratio ' ] ?: false ,
42
+ 'data-symfony--ux-cropperjs--cropper- responsive-value ' => $ options ['responsive ' ],
43
+ 'data-symfony--ux-cropperjs--cropper- restore-value ' => $ options ['restore ' ],
44
+ 'data-symfony--ux-cropperjs--cropper- check-cross-origin-value ' => $ options ['check_cross_origin ' ],
45
+ 'data-symfony--ux-cropperjs--cropper- check-orientation-value ' => $ options ['check_orientation ' ],
46
+ 'data-symfony--ux-cropperjs--cropper- modal-value ' => $ options ['modal ' ],
47
+ 'data-symfony--ux-cropperjs--cropper- guides-value ' => $ options ['guides ' ],
48
+ 'data-symfony--ux-cropperjs--cropper- center-value ' => $ options ['center ' ],
49
+ 'data-symfony--ux-cropperjs--cropper- highlight-value ' => $ options ['highlight ' ],
50
+ 'data-symfony--ux-cropperjs--cropper- background-value ' => $ options ['background ' ],
51
+ 'data-symfony--ux-cropperjs--cropper- auto-crop-value ' => $ options ['auto_crop ' ],
52
+ 'data-symfony--ux-cropperjs--cropper- auto-crop-area-value ' => $ options ['auto_crop_area ' ],
53
+ 'data-symfony--ux-cropperjs--cropper- movable-value ' => $ options ['movable ' ],
54
+ 'data-symfony--ux-cropperjs--cropper- rotatable-value ' => $ options ['rotatable ' ],
55
+ 'data-symfony--ux-cropperjs--cropper- scalable-value ' => $ options ['scalable ' ],
56
+ 'data-symfony--ux-cropperjs--cropper- zoomable-value ' => $ options ['zoomable ' ],
57
+ 'data-symfony--ux-cropperjs--cropper- zoom-on-touch-value ' => $ options ['zoom_on_touch ' ],
58
+ 'data-symfony--ux-cropperjs--cropper- zoom-on-wheel-value ' => $ options ['zoom_on_wheel ' ],
59
+ 'data-symfony--ux-cropperjs--cropper- wheel-zoom-ratio-value ' => $ options ['wheel_zoom_ratio ' ],
60
+ 'data-symfony--ux-cropperjs--cropper- crop-box-movable-value ' => $ options ['crop_box_movable ' ],
61
+ 'data-symfony--ux-cropperjs--cropper- crop-box-resizable-value ' => $ options ['crop_box_resizable ' ],
62
+ 'data-symfony--ux-cropperjs--cropper- toggle-drag-mode-on-dblclick-value ' => $ options ['toggle_drag_mode_on_dblclick ' ],
63
+ 'data-symfony--ux-cropperjs--cropper- min-container-width-value ' => $ options ['min_container_width ' ],
64
+ 'data-symfony--ux-cropperjs--cropper- min-container-height-value ' => $ options ['min_container_height ' ],
65
+ 'data-symfony--ux-cropperjs--cropper- min-canvas-width-value ' => $ options ['min_canvas_width ' ],
66
+ 'data-symfony--ux-cropperjs--cropper- min-canvas-height-value ' => $ options ['min_canvas_height ' ],
67
+ 'data-symfony--ux-cropperjs--cropper- min-crop-box-width-value ' => $ options ['min_crop_box_width ' ],
68
+ 'data-symfony--ux-cropperjs--cropper- min-crop-box-height-value ' => $ options ['min_crop_box_height ' ],
69
69
],
70
70
])
71
71
;
0 commit comments