OSDN Git Service

435ba7379f315404e3a856bc2d97e06725d601e7
[pettanr/pettanr.git] / app / assets / javascripts / manifest / work / forms.js.coffee.erb
1 #マニフェスト\r
2 @elements = [\r
3   {\r
4     name: 'panel_picture',\r
5     path_name: 'panel_pictures', \r
6     parts: []\r
7   },\r
8   {\r
9     name: 'speech_balloon',\r
10     path_name: 'circle_speech_balloon/speech_balloons', \r
11     parts: ['balloon', 'speech']\r
12   },\r
13   {\r
14     name: 'ground_picture',\r
15     path_name: 'ground_pictures', \r
16     parts: []\r
17   },\r
18   {\r
19     name: 'ground_color',\r
20     path_name: 'ground_colors', \r
21     parts: []\r
22   },\r
23 ]\r
24 @forms = {\r
25   base: {\r
26     panel: {\r
27       fields: {\r
28         caption: {\r
29           args: {\r
30             column: 'caption',\r
31             label: {\r
32             },\r
33             tag: {\r
34               type: 'text',\r
35             },\r
36             row_break: true,\r
37           },\r
38         },\r
39         width: {\r
40           args: {\r
41             column: 'width',\r
42             label: {\r
43             },\r
44             tag: {\r
45               type: 'number',\r
46               args: {\r
47                 size: 5, \r
48               },\r
49             },\r
50           },\r
51         },\r
52         height: {\r
53           args: {\r
54             column: 'height',\r
55             label: {\r
56             },\r
57             tag: {\r
58               type: 'number',\r
59               args: {\r
60                 size: 5, \r
61               }, \r
62             },\r
63             row_break: true, \r
64           },\r
65         },\r
66         border: {\r
67           args: {\r
68             column: 'border',\r
69             label: {\r
70             },\r
71             tag: {\r
72               type: 'number',\r
73               args: {\r
74                 size: 5, \r
75               },\r
76             },\r
77           },\r
78         },\r
79         publish: {\r
80           args: {\r
81             column: 'publish',\r
82             label: {\r
83             },\r
84             tag: {\r
85               type: 'select',\r
86             },\r
87             row_break: true,\r
88           },\r
89         },\r
90         id: {\r
91           args: {\r
92             column: 'id',\r
93             label: {\r
94               type: 'none',\r
95             },\r
96             tag: {\r
97               type: 'hidden',\r
98             },\r
99           },\r
100         },\r
101         author_id: {\r
102           args: {\r
103             column: 'author_id',\r
104             label: {\r
105               type: 'none',\r
106             },\r
107             tag: {\r
108               type: 'hidden',\r
109             },\r
110           },\r
111         },\r
112       },\r
113       field_names: [\r
114         'caption',\r
115         'width',\r
116         'height',\r
117         'border',\r
118         'publish',\r
119         'id',\r
120         'author_id',\r
121       ]\r
122     },\r
123     panel_picture: {\r
124       fields: {\r
125         caption: {\r
126           args: {\r
127             column: 'caption',\r
128             label: {\r
129             },\r
130             tag: {\r
131               type: 'text',\r
132             },\r
133             row_break: true,\r
134           },\r
135         },\r
136         x: {\r
137           args: {\r
138             column: 'x',\r
139             label: {\r
140             },\r
141             tag: {\r
142               type: 'number',\r
143               args: {\r
144                 size: 5, \r
145               },\r
146             },\r
147           },\r
148         },\r
149         y: {\r
150           args: {\r
151             column: 'y',\r
152             label: {\r
153             },\r
154             tag: {\r
155               type: 'number',\r
156               args: {\r
157                 size: 5, \r
158               },\r
159             },\r
160             row_break: true,\r
161           },\r
162         },\r
163         width: {\r
164           args: {\r
165             column: 'width',\r
166             label: {\r
167             },\r
168             tag: {\r
169               type: 'number',\r
170               args: {\r
171                 size: 5, \r
172               },\r
173             },\r
174             helpers: {\r
175               size: {\r
176                 type: 'size',\r
177                 args: {\r
178                   path: 'panels/size_helper',\r
179                   class: 'panel_picture_width_tool', \r
180                 },\r
181               },\r
182             },\r
183             row_break: true,\r
184           },\r
185         },\r
186         height: {\r
187           args: {\r
188             column: 'height',\r
189             label: {\r
190             },\r
191             tag: {\r
192               type: 'number',\r
193               args: {\r
194                 size: 5, \r
195               }, \r
196             },\r
197             helpers: {\r
198               size: {\r
199                 type: 'size',\r
200                 args: {\r
201                   path: 'panels/size_helper',\r
202                   class: 'panel_picture_height_tool', \r
203                 },\r
204               },\r
205             },\r
206             row_break: true,\r
207           },\r
208         },\r
209         link: {\r
210           args: {\r
211             column: 'link',\r
212             label: {\r
213             },\r
214             tag: {\r
215               type: 'text',\r
216             },\r
217             row_break: true,\r
218           },\r
219         },\r
220         id: {\r
221           args: {\r
222             column: 'id',\r
223             label: {\r
224               type: 'none',\r
225             },\r
226             tag: {\r
227               type: 'hidden',\r
228             },\r
229           },\r
230         },\r
231         panel_id: {\r
232           args: {\r
233             column: 'panel_id',\r
234             label: {\r
235               type: 'none',\r
236             },\r
237             tag: {\r
238               type: 'hidden',\r
239             },\r
240           },\r
241         },\r
242         picture_id: {\r
243           args: {\r
244             column: 'picture_id',\r
245             label: {\r
246             },\r
247             tag: {\r
248               type: 'hidden',\r
249             },\r
250             helpers: {\r
251               popup: {\r
252                 type: 'size',\r
253                 args: {\r
254                   path: 'panels/popup_helper',\r
255                   source: 'pictures',\r
256                 },\r
257               },\r
258             },\r
259           },\r
260         },\r
261         z: {\r
262           args: {\r
263             column: 'z',\r
264             label: {\r
265               type: 'none',\r
266             },\r
267             tag: {\r
268               type: 'hidden',\r
269             },\r
270           },\r
271         },\r
272         t: {\r
273           args: {\r
274             column: 't',\r
275             label: {\r
276               type: 'none',\r
277             },\r
278             tag: {\r
279               type: 'hidden',\r
280             },\r
281           },\r
282         },\r
283       },\r
284       field_names: [\r
285         'caption',\r
286         'x',\r
287         'y',\r
288         'width',\r
289         'height',\r
290         'link',\r
291         'id',\r
292         'panel_id',\r
293         'picture_id',\r
294         'z',\r
295         't',\r
296       ]\r
297     },\r
298     speech_balloon: {\r
299       fields: {\r
300         'speech_balloon.id': {\r
301           args: {\r
302             column: 'id',\r
303             label: {\r
304               type: 'none',\r
305             },\r
306             tag: {\r
307               type: 'hidden',\r
308             },\r
309           },\r
310         },\r
311         'speech_balloon.panel_id': {\r
312           args: {\r
313             column: 'panel_id',\r
314             label: {\r
315               type: 'none',\r
316             },\r
317             tag: {\r
318               type: 'hidden',\r
319             },\r
320           },\r
321         },\r
322         'speech_balloon.speech_balloon_template_id': {\r
323           args: {\r
324             column: 'speech_balloon_template_id',\r
325             label: {\r
326               type: 'none',\r
327             },\r
328             tag: {\r
329               type: 'hidden',\r
330             },\r
331           },\r
332         },\r
333         'speech_balloon.caption': {\r
334           args: {\r
335             column: 'caption',\r
336             label: {\r
337             },\r
338             tag: {\r
339               type: 'text',\r
340             },\r
341             row_break: true,\r
342           },\r
343         },\r
344         'speech_balloon.z': {\r
345           args: {\r
346             column: 'z',\r
347             label: {\r
348               type: 'none',\r
349             },\r
350             tag: {\r
351               type: 'hidden',\r
352             },\r
353           },\r
354         },\r
355         'speech_balloon.t': {\r
356           args: {\r
357             column: 't',\r
358             label: {\r
359               type: 'none',\r
360             },\r
361             tag: {\r
362               type: 'hidden',\r
363             },\r
364           },\r
365         },\r
366         'speech_balloon.classname': {\r
367           args: {\r
368             column: 'classname',\r
369             label: {\r
370               type: 'none',\r
371             },\r
372             tag: {\r
373               type: 'hidden',\r
374             },\r
375           },\r
376         },\r
377         'speech_balloon.settings': {\r
378           args: {\r
379             column: 'settings',\r
380             label: {\r
381               type: 'none',\r
382             },\r
383             tag: {\r
384               type: 'hidden',\r
385             },\r
386           },\r
387         },\r
388         'balloon.id': {\r
389           type: 'part',\r
390           args: {\r
391             model: 'balloon',\r
392             part: 'balloon',\r
393             column: 'id',\r
394             label: {\r
395               type: 'none',\r
396             },\r
397             tag: {\r
398               type: 'hidden',\r
399             },\r
400           },\r
401         },\r
402         'balloon.speech_balloon_id': {\r
403           type: 'part',\r
404           args: {\r
405             model: 'balloon',\r
406             part: 'balloon',\r
407             column: 'speech_balloon_id',\r
408             label: {\r
409               type: 'none',\r
410             },\r
411             tag: {\r
412               type: 'hidden',\r
413             },\r
414           },\r
415         },\r
416         'balloon.system_picture_id': {\r
417           type: 'part',\r
418           args: {\r
419             model: 'balloon',\r
420             part: 'balloon',\r
421             column: 'system_picture_id',\r
422             label: {\r
423               type: 'none',\r
424             },\r
425             tag: {\r
426               type: 'hidden',\r
427             },\r
428           },\r
429         },\r
430         'balloon.r': {\r
431           type: 'part',\r
432           args: {\r
433             model: 'balloon',\r
434             part: 'balloon',\r
435             column: 'r',\r
436             label: {\r
437             },\r
438             tag: {\r
439               type: 'number',\r
440               args: {\r
441                 size: 5, \r
442               },\r
443             },\r
444             helpers: {\r
445               tail_angle: {\r
446                 type: 'size',\r
447                 args: {\r
448                   path: 'panels/tail_angle_helper',\r
449                 },\r
450               },\r
451             },\r
452             row_break: true,\r
453           },\r
454         },\r
455         'balloon.x': {\r
456           type: 'part',\r
457           args: {\r
458             model: 'balloon',\r
459             part: 'balloon',\r
460             column: 'x',\r
461             label: {\r
462             },\r
463             tag: {\r
464               type: 'number',\r
465               args: {\r
466                 size: 5, \r
467               },\r
468             },\r
469           },\r
470         },\r
471         'balloon.y': {\r
472           type: 'part',\r
473           args: {\r
474             model: 'balloon',\r
475             part: 'balloon',\r
476             column: 'y',\r
477             label: {\r
478             },\r
479             tag: {\r
480               type: 'number',\r
481               args: {\r
482                 size: 5, \r
483               },\r
484             },\r
485             row_break: true,\r
486           },\r
487         },\r
488         'balloon.width': {\r
489           type: 'part',\r
490           args: {\r
491             model: 'balloon',\r
492             part: 'balloon',\r
493             column: 'width',\r
494             label: {\r
495             },\r
496             tag: {\r
497               type: 'number',\r
498               args: {\r
499                 size: 5, \r
500               },\r
501             },\r
502           },\r
503         },\r
504         'balloon.height': {\r
505           type: 'part',\r
506           args: {\r
507             model: 'balloon',\r
508             part: 'balloon',\r
509             column: 'height',\r
510             label: {\r
511             },\r
512             tag: {\r
513               type: 'number',\r
514               args: {\r
515                 size: 5, \r
516               },\r
517             },\r
518             row_break: true,\r
519           },\r
520         },\r
521         'balloon.settings': {\r
522           type: 'part',\r
523           args: {\r
524             model: 'balloon',\r
525             part: 'balloon',\r
526             column: 'settings',\r
527             label: {\r
528               type: 'none',\r
529             },\r
530             tag: {\r
531               type: 'hidden',\r
532             },\r
533           },\r
534         },\r
535         'speech.id': {\r
536           type: 'part',\r
537           args: {\r
538             model: 'speech',\r
539             part: 'speech',\r
540             column: 'id',\r
541             label: {\r
542               type: 'none',\r
543             },\r
544             tag: {\r
545               type: 'hidden',\r
546             },\r
547           },\r
548         },\r
549         'speech.speech_balloon_id': {\r
550           type: 'part',\r
551           args: {\r
552             model: 'speech',\r
553             part: 'speech',\r
554             column: 'speech_balloon_id',\r
555             label: {\r
556               type: 'none',\r
557             },\r
558             tag: {\r
559               type: 'hidden',\r
560             },\r
561           },\r
562         },\r
563         'speech.x': {\r
564           type: 'part',\r
565           args: {\r
566             model: 'speech',\r
567             part: 'speech',\r
568             column: 'x',\r
569             label: {\r
570               type: 'none',\r
571             },\r
572             tag: {\r
573               type: 'hidden',\r
574             },\r
575           },\r
576         },\r
577         'speech.y': {\r
578           type: 'part',\r
579           args: {\r
580             model: 'speech',\r
581             part: 'speech',\r
582             column: 'y',\r
583             label: {\r
584               type: 'none',\r
585             },\r
586             tag: {\r
587               type: 'hidden',\r
588             },\r
589           },\r
590         },\r
591         'speech.width': {\r
592           type: 'part',\r
593           args: {\r
594             model: 'speech',\r
595             part: 'speech',\r
596             column: 'width',\r
597             label: {\r
598               type: 'none',\r
599             },\r
600             tag: {\r
601               type: 'hidden',\r
602             },\r
603           },\r
604         },\r
605         'speech.height': {\r
606           type: 'part',\r
607           args: {\r
608             model: 'speech',\r
609             part: 'speech',\r
610             column: 'height',\r
611             label: {\r
612               type: 'none',\r
613             },\r
614             tag: {\r
615               type: 'hidden',\r
616             },\r
617           },\r
618         },\r
619         'speech.writing_format_id': {\r
620           type: 'part',\r
621           args: {\r
622             model: 'speech',\r
623             part: 'speech',\r
624             column: 'writing_format_id',\r
625             label: {\r
626             },\r
627             tag: {\r
628               type: 'select',\r
629             },\r
630           },\r
631         },\r
632         'speech.font_size': {\r
633           type: 'part',\r
634           args: {\r
635             model: 'speech',\r
636             part: 'speech',\r
637             column: 'font_size',\r
638             label: {\r
639             },\r
640             tag: {\r
641               type: 'select',\r
642             },\r
643             row_break: true,\r
644           },\r
645         },\r
646         'speech.text_align': {\r
647           type: 'part',\r
648           args: {\r
649             model: 'speech',\r
650             part: 'speech',\r
651             column: 'text_align',\r
652             label: {\r
653             },\r
654             tag: {\r
655               type: 'select',\r
656             },\r
657           },\r
658         },\r
659         'speech.quotes': {\r
660           type: 'part',\r
661           args: {\r
662             model: 'speech',\r
663             part: 'speech',\r
664             column: 'quotes',\r
665             label: {\r
666             },\r
667             tag: {\r
668               type: 'text',\r
669               args: {\r
670                 size: 5, \r
671               },\r
672             },\r
673           },\r
674         },\r
675         'speech.content': {\r
676           type: 'part',\r
677           args: {\r
678             model: 'speech',\r
679             part: 'speech',\r
680             column: 'content',\r
681             label: {\r
682               row_break: true,\r
683             },\r
684             tag: {\r
685               type: 'text_area',\r
686               args: {\r
687                 size: '45x5', \r
688               },\r
689             },\r
690           },\r
691         },\r
692         'speech.fore_color': {\r
693           type: 'part',\r
694           args: {\r
695             model: 'speech',\r
696             part: 'speech',\r
697             column: 'fore_color',\r
698             label: {\r
699               row_break: true,\r
700             },\r
701             tag: {\r
702               type: 'hidden',\r
703             },\r
704             helpers: {\r
705               color: {\r
706                 type: 'size',\r
707                 args: {\r
708                   path: 'panels/color_helper',\r
709                   wrapper: 'speech-fore_color-wrap',\r
710                 },\r
711               },\r
712             },\r
713           },\r
714         },\r
715         'speech.settings': {\r
716           type: 'part',\r
717           args: {\r
718             model: 'speech',\r
719             part: 'speech',\r
720             column: 'settings',\r
721             label: {\r
722               type: 'none',\r
723             },\r
724             tag: {\r
725               type: 'hidden',\r
726             },\r
727           },\r
728         },\r
729       },\r
730     },\r
731     ground_picture: {\r
732       fields: {\r
733         id: {\r
734           args: {\r
735             column: 'id',\r
736             label: {\r
737               type: 'none',\r
738             },\r
739             tag: {\r
740               type: 'hidden',\r
741             },\r
742           },\r
743         },\r
744         panel_id: {\r
745           args: {\r
746             column: 'panel_id',\r
747             label: {\r
748               type: 'none',\r
749             },\r
750             tag: {\r
751               type: 'hidden',\r
752             },\r
753           },\r
754         },\r
755         picture_id: {\r
756           args: {\r
757             column: 'picture_id',\r
758             label: {\r
759               type: 'none',\r
760             },\r
761             tag: {\r
762               type: 'hidden',\r
763             },\r
764           },\r
765         },\r
766         caption: {\r
767           args: {\r
768             column: 'caption',\r
769             label: {\r
770             },\r
771             tag: {\r
772               type: 'text',\r
773             },\r
774             row_break: true,\r
775           },\r
776         },\r
777         repeat: {\r
778           args: {\r
779             column: 'repeat',\r
780             label: {\r
781             },\r
782             tag: {\r
783               type: 'select',\r
784               args: {\r
785                 source: 'magic_number',\r
786                 key: 'ground_picture_repeat_items',\r
787               },\r
788             },\r
789             row_break: true,\r
790           },\r
791         },\r
792         x: {\r
793           args: {\r
794             column: 'x',\r
795             label: {\r
796             },\r
797             tag: {\r
798               type: 'number',\r
799               args: {\r
800                 size: 5, \r
801               },\r
802             },\r
803           },\r
804         },\r
805         y: {\r
806           args: {\r
807             column: 'y',\r
808             label: {\r
809             },\r
810             tag: {\r
811               type: 'number',\r
812               args: {\r
813                 size: 5, \r
814               },\r
815             },\r
816             row_break: true,\r
817           },\r
818         },\r
819         z: {\r
820           args: {\r
821             column: 'z',\r
822             label: {\r
823               type: 'none',\r
824             },\r
825             tag: {\r
826               type: 'hidden',\r
827             },\r
828           },\r
829         },\r
830         t: {\r
831           args: {\r
832             column: 't',\r
833             label: {\r
834               type: 'none',\r
835             },\r
836             tag: {\r
837               type: 'hidden',\r
838             },\r
839           },\r
840         },\r
841       },\r
842       field_names: [\r
843         'caption',\r
844         'repeat',\r
845         'x',\r
846         'y',\r
847         'z',\r
848         't',\r
849         'id',\r
850         'panel_id',\r
851         'picture_id',\r
852       ]\r
853     },\r
854     ground_color: {\r
855       fields: {\r
856         id: {\r
857           args: {\r
858             column: 'id',\r
859             label: {\r
860               type: 'none',\r
861             },\r
862             tag: {\r
863               type: 'hidden',\r
864             },\r
865           },\r
866         },\r
867         panel_id: {\r
868           args: {\r
869             column: 'panel_id',\r
870             label: {\r
871               type: 'none',\r
872             },\r
873             tag: {\r
874               type: 'hidden',\r
875             },\r
876           },\r
877         },\r
878         caption: {\r
879           args: {\r
880             column: 'caption',\r
881             label: {\r
882             },\r
883             tag: {\r
884               type: 'text',\r
885             },\r
886             row_break: true,\r
887           },\r
888         },\r
889         code: {\r
890           args: {\r
891             column: 'code',\r
892             label: {\r
893               row_break: true,\r
894             },\r
895             tag: {\r
896               type: 'hidden',\r
897             },\r
898             helpers: {\r
899               color: {\r
900                 type: 'size',\r
901                 args: {\r
902                   path: 'panels/color_helper',\r
903                   wrapper: 'ground_color-code-wrap'\r
904                 },\r
905               }\r
906             },\r
907             row_break: true,\r
908           },\r
909         },\r
910         orientation: {\r
911           args: {\r
912             column: 'orientation',\r
913             label: {\r
914             },\r
915             tag: {\r
916               type: 'select',\r
917             },\r
918             row_break: true,\r
919           },\r
920         },\r
921         xy: {\r
922           args: {\r
923             column: 'xy',\r
924             label: {\r
925             },\r
926             tag: {\r
927               type: 'number',\r
928               args: {\r
929                 size: 5, \r
930               },\r
931             },\r
932           },\r
933         },\r
934         wh: {\r
935           args: {\r
936             column: 'wh',\r
937             label: {\r
938             },\r
939             tag: {\r
940               type: 'number',\r
941               args: {\r
942                 size: 5, \r
943               }\r
944             },\r
945             row_break: true,\r
946           },\r
947         },\r
948         z: {\r
949           args: {\r
950             column: 'z',\r
951             label: {\r
952               type: 'none',\r
953             },\r
954             tag: {\r
955               type: 'hidden',\r
956             },\r
957           },\r
958         },\r
959         t: {\r
960           args: {\r
961             column: 't',\r
962             label: {\r
963               type: 'none',\r
964             },\r
965             tag: {\r
966               type: 'hidden',\r
967             },\r
968           },\r
969         },\r
970       },\r
971       field_names: [\r
972         'id',\r
973         'panel_id',\r
974         'caption',\r
975         'code',\r
976         'orientation',\r
977         'xy',\r
978         'wh',\r
979         'z',\r
980         't',\r
981       ]\r
982     }\r
983   },\r
984   extend: {\r
985     CircleSpeechBalloon: {\r
986       base: 'speech_balloon',\r
987       fields: {\r
988       },\r
989       field_names: [\r
990         'speech_balloon.caption',\r
991         'balloon.r',\r
992         'balloon.x',\r
993         'balloon.y',\r
994         'balloon.width',\r
995         'balloon.height',\r
996         'balloon.id',\r
997         'balloon.speech_balloon_id',\r
998         'balloon.system_picture_id',\r
999         'balloon.settings',\r
1000         'speech.writing_format_id',\r
1001         'speech.font_size',\r
1002         'speech.text_align',\r
1003         'speech.quotes',\r
1004         'speech.content',\r
1005         'speech.fore_color',\r
1006         'speech.id',\r
1007         'speech.speech_balloon_id',\r
1008         'speech.x',\r
1009         'speech.y',\r
1010         'speech.width',\r
1011         'speech.height',\r
1012         'speech.settings',\r
1013         'speech_balloon.id',\r
1014         'speech_balloon.panel_id',\r
1015         'speech_balloon.speech_balloon_template_id',\r
1016         'speech_balloon.classname',\r
1017         'speech_balloon.z',\r
1018         'speech_balloon.t',\r
1019         'speech_balloon.settings',\r
1020       ]\r
1021     },\r
1022     PlainSpeechBalloon: {\r
1023       base: 'speech_balloon',\r
1024       fields: {\r
1025         'balloon.r': {\r
1026           type: 'part',\r
1027           args: {\r
1028             model: 'balloon',\r
1029             part: 'balloon',\r
1030             column: 'r',\r
1031             label: {\r
1032               type: 'none',\r
1033             },\r
1034             tag: {\r
1035               type: 'hidden',\r
1036             },\r
1037           },\r
1038         },\r
1039       },\r
1040       field_names: [\r
1041         'speech_balloon.caption',\r
1042         'balloon.r',\r
1043         'balloon.x',\r
1044         'balloon.y',\r
1045         'balloon.width',\r
1046         'balloon.height',\r
1047         'balloon.id',\r
1048         'balloon.speech_balloon_id',\r
1049         'balloon.system_picture_id',\r
1050         'balloon.settings',\r
1051         'speech.writing_format_id',\r
1052         'speech.font_size',\r
1053         'speech.text_align',\r
1054         'speech.quotes',\r
1055         'speech.content',\r
1056         'speech.fore_color',\r
1057         'speech.id',\r
1058         'speech.speech_balloon_id',\r
1059         'speech.x',\r
1060         'speech.y',\r
1061         'speech.width',\r
1062         'speech.height',\r
1063         'speech.settings',\r
1064         'speech_balloon.id',\r
1065         'speech_balloon.panel_id',\r
1066         'speech_balloon.speech_balloon_template_id',\r
1067         'speech_balloon.classname',\r
1068         'speech_balloon.z',\r
1069         'speech_balloon.t',\r
1070         'speech_balloon.settings',\r
1071       ]\r
1072     },\r
1073     SquareSpeechBalloon: {\r
1074       base: 'speech_balloon',\r
1075       fields: {\r
1076         'balloon.r': {\r
1077           type: 'part',\r
1078           args: {\r
1079             model: 'balloon',\r
1080             part: 'balloon',\r
1081             column: 'r',\r
1082             label: {\r
1083               type: 'none',\r
1084             },\r
1085             tag: {\r
1086               type: 'hidden',\r
1087             },\r
1088           },\r
1089         },\r
1090       },\r
1091       field_names: [\r
1092         'speech_balloon.caption',\r
1093         'balloon.r',\r
1094         'balloon.x',\r
1095         'balloon.y',\r
1096         'balloon.width',\r
1097         'balloon.height',\r
1098         'balloon.id',\r
1099         'balloon.speech_balloon_id',\r
1100         'balloon.system_picture_id',\r
1101         'balloon.settings',\r
1102         'speech.writing_format_id',\r
1103         'speech.font_size',\r
1104         'speech.text_align',\r
1105         'speech.quotes',\r
1106         'speech.content',\r
1107         'speech.fore_color',\r
1108         'speech.id',\r
1109         'speech.speech_balloon_id',\r
1110         'speech.x',\r
1111         'speech.y',\r
1112         'speech.width',\r
1113         'speech.height',\r
1114         'speech.settings',\r
1115         'speech_balloon.id',\r
1116         'speech_balloon.panel_id',\r
1117         'speech_balloon.speech_balloon_template_id',\r
1118         'speech_balloon.classname',\r
1119         'speech_balloon.z',\r
1120         'speech_balloon.t',\r
1121         'speech_balloon.settings',\r
1122       ]\r
1123     },\r
1124   }\r
1125 }\r
1126 @repeat_texts = ['repeat', 'repeat-x', 'repeat-y', 'no-repeat']\r
1127 \r
1128 @text_align_texts = ['left', 'left', 'right', 'center']\r
1129 \r