X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=app%2Fassets%2Fjavascripts%2Fmanifest%2Fwork%2Fforms.js.coffee.erb;h=ee5bbecc0a4f1cad2f1001e5649b71e7b2cdf89b;hb=a6cc2e1d02637b226e971eebe2fb8952d6410a6f;hp=71d45e17885b2c6e8b49e306176ab42d44949665;hpb=8f618d4d4b9c44d4c20e837e24cd5f5077dcba01;p=pettanr%2Fpettanr.git diff --git a/app/assets/javascripts/manifest/work/forms.js.coffee.erb b/app/assets/javascripts/manifest/work/forms.js.coffee.erb index 71d45e17..ee5bbecc 100644 --- a/app/assets/javascripts/manifest/work/forms.js.coffee.erb +++ b/app/assets/javascripts/manifest/work/forms.js.coffee.erb @@ -1,34 +1,14 @@ #マニフェスト -@elements = [ - { - name: 'panel_picture', - path_name: 'panel_pictures', - parts: [] - }, - { - name: 'speech_balloon', - path_name: 'circle_speech_balloon/speech_balloons', - parts: ['balloon', 'speech'] - }, - { - name: 'ground_picture', - path_name: 'ground_pictures', - parts: [] - }, - { - name: 'ground_color', - path_name: 'ground_colors', - parts: [] - }, -] @forms = { base: { - panel: { + scroll: { fields: { - caption: { + title: { args: { - column: 'caption', label: { + args: { + row_break: true, + }, }, tag: { type: 'text', @@ -36,51 +16,20 @@ row_break: true, }, }, - width: { + description: { args: { - column: 'width', label: { - }, - tag: { - type: 'number', args: { - size: 5, + row_break: true, }, }, - }, - }, - height: { - args: { - column: 'height', - label: { - }, - tag: { - type: 'number', - args: { - size: 5, - }, - }, - row_break: true, - }, - }, - border: { - args: { - column: 'border', - label: { - }, tag: { - type: 'number', - args: { - size: 5, - }, + type: 'text_area', }, }, }, - publish: { + visible: { args: { - column: 'publish', - label: { - }, tag: { type: 'select', }, @@ -89,9 +38,8 @@ }, id: { args: { - column: 'id', label: { - type: 'none ', + type: 'none', }, tag: { type: 'hidden', @@ -100,7 +48,6 @@ }, author_id: { args: { - column: 'author_id', label: { type: 'none', }, @@ -111,156 +58,91 @@ }, }, field_names: [ - 'caption', - 'width', - 'height', - 'border', - 'publish', + 'title', + 'description', + 'visible', 'id', 'author_id', ] }, - panel_picture: { + scroll_panel: { fields: { - caption: { + scroll_id: { args: { - column: 'caption', - label: { - }, tag: { - type: 'text', + type: 'number', }, - row_break: true, }, }, - x: { + panel_id: { args: { - column: 'x', - label: { - }, tag: { type: 'number', - args: { - size: 5, - }, }, }, }, - y: { + t: { args: { - column: 'y', - label: { - }, tag: { type: 'number', - args: { - size: 5, - }, }, - row_break: true, }, }, - width: { + id: { args: { - column: 'width', label: { + type: 'none', }, tag: { - type: 'number', - args: { - size: 5, - }, - }, - helpers: { - size: { - type: 'size', - args: { - path: 'panels/size_helper', - class: 'panel_picture_width_tool', - }, - }, + type: 'hidden', }, - row_break: true, }, }, - height: { + }, + field_names: [ + 'scroll_id', + 'panel_id', + 't', + 'id', + ] + }, + comic: { + fields: { + title: { args: { - column: 'height', label: { - }, - tag: { - type: 'number', args: { - size: 5, - }, - }, - helpers: { - size: { - type: 'size', - args: { - path: 'panels/size_helper', - class: 'panel_picture_height_tool', - }, + row_break: true, }, }, - row_break: true, - }, - }, - link: { - args: { - column: 'link', - label: { - }, tag: { type: 'text', }, row_break: true, }, }, - id: { - args: { - column: 'id', - label: { - type: 'none', - }, - tag: { - type: 'hidden', - }, - }, - }, - panel_id: { + description: { args: { - column: 'panel_id', label: { - type: 'none', + args: { + row_break: true, + }, }, tag: { - type: 'hidden', + type: 'text_area', }, }, }, - picture_id: { + visible: { args: { - column: 'picture_id', - label: { - }, tag: { - type: 'hidden', - }, - helpers: { - popup: { - type: 'size', - args: { - path: 'panels/popup_helper', - source: 'pictures', - }, - }, + type: 'select', }, + row_break: true, }, }, - z: { + id: { args: { - column: 'z', label: { type: 'none', }, @@ -269,9 +151,8 @@ }, }, }, - t: { + author_id: { args: { - column: 't', label: { type: 'none', }, @@ -282,24 +163,17 @@ }, }, field_names: [ - 'caption', - 'x', - 'y', - 'width', - 'height', - 'link', + 'title', + 'description', + 'visible', 'id', - 'panel_id', - 'picture_id', - 'z', - 't', + 'author_id', ] }, - speech_balloon: { + story: { fields: { - 'speech_balloon.id': { + comic_id: { args: { - column: 'id', label: { type: 'none', }, @@ -308,53 +182,49 @@ }, }, }, - 'speech_balloon.panel_id': { + title: { args: { - column: 'panel_id', label: { - type: 'none', + args: { + row_break: true, + }, }, tag: { - type: 'hidden', + type: 'text', }, + row_break: true, }, }, - 'speech_balloon.speech_balloon_template_id': { + description: { args: { - column: 'speech_balloon_template_id', label: { - type: 'none', + args: { + row_break: true, + }, }, tag: { - type: 'hidden', + type: 'text_area', }, + row_break: true, }, }, - 'speech_balloon.caption': { + visible: { args: { - column: 'caption', - label: { - }, tag: { - type: 'text', + type: 'select', }, row_break: true, }, }, - 'speech_balloon.z': { + t: { args: { - column: 'z', - label: { - type: 'none', - }, tag: { - type: 'hidden', + type: 'number', }, }, }, - 'speech_balloon.t': { + id: { args: { - column: 't', label: { type: 'none', }, @@ -363,9 +233,8 @@ }, }, }, - 'speech_balloon.classname': { + author_id: { args: { - column: 'classname', label: { type: 'none', }, @@ -374,51 +243,48 @@ }, }, }, - 'speech_balloon.settings': { + }, + field_names: [ + 'comic_id', + 'title', + 'description', + 'visible', + 't', + 'id', + 'author_id', + ] + }, + story_sheet: { + fields: { + story_id: { args: { - column: 'settings', label: { type: 'none', }, tag: { - type: 'hidden', + type: 'number', }, }, }, - 'balloon.id': { - type: 'part', + sheet_id: { args: { - model: 'balloon', - part: 'balloon', - column: 'id', label: { type: 'none', }, tag: { - type: 'hidden', + type: 'number', }, }, }, - 'balloon.speech_balloon_id': { - type: 'part', + t: { args: { - model: 'balloon', - part: 'balloon', - column: 'speech_balloon_id', - label: { - type: 'none', - }, tag: { - type: 'hidden', + type: 'number', }, }, }, - 'balloon.system_picture_id': { - type: 'part', + id: { args: { - model: 'balloon', - part: 'balloon', - column: 'system_picture_id', label: { type: 'none', }, @@ -427,159 +293,115 @@ }, }, }, - 'balloon.r': { - type: 'part', + }, + field_names: [ + 'story_id', + 'sheet_id', + 't', + 'id', + ] + }, + sheet: { + fields: { + caption: { args: { - model: 'balloon', - part: 'balloon', - column: 'r', label: { - }, - tag: { - type: 'number', args: { - size: 5, + row_break: true, }, }, - helpers: { - tail_angle: { - type: 'size', - args: { - path: 'panels/tail_angle_helper', - }, - }, + tag: { + type: 'text', }, row_break: true, }, }, - 'balloon.x': { - type: 'part', + width: { args: { - model: 'balloon', - part: 'balloon', - column: 'x', - label: { - }, tag: { type: 'number', - args: { - size: 5, - }, }, }, }, - 'balloon.y': { - type: 'part', + height: { args: { - model: 'balloon', - part: 'balloon', - column: 'y', - label: { - }, tag: { type: 'number', - args: { - size: 5, - }, + }, + row_break: true, + }, + }, + visible: { + args: { + tag: { + type: 'select', }, row_break: true, }, }, - 'balloon.width': { - type: 'part', + id: { args: { - model: 'balloon', - part: 'balloon', - column: 'width', label: { + type: 'none', }, tag: { - type: 'number', - args: { - size: 5, - }, + type: 'hidden', }, }, }, - 'balloon.height': { - type: 'part', + author_id: { args: { - model: 'balloon', - part: 'balloon', - column: 'height', label: { + type: 'none', }, tag: { - type: 'number', - args: { - size: 5, - }, + type: 'hidden', }, - row_break: true, }, }, - 'balloon.settings': { - type: 'part', + }, + field_names: [ + 'caption', + 'width', + 'height', + 'visible', + 'id', + 'author_id', + ] + }, + sheet_panel: { + fields: { + sheet_id: { args: { - model: 'balloon', - part: 'balloon', - column: 'settings', - label: { - type: 'none', - }, tag: { - type: 'hidden', + type: 'number', }, }, }, - 'speech.id': { - type: 'part', + panel_id: { args: { - model: 'speech', - part: 'speech', - column: 'id', - label: { - type: 'none', - }, tag: { - type: 'hidden', + type: 'number', }, }, }, - 'speech.speech_balloon_id': { - type: 'part', + x: { args: { - model: 'speech', - part: 'speech', - column: 'speech_balloon_id', - label: { - type: 'none', - }, tag: { - type: 'hidden', + type: 'number', }, }, }, - 'speech.x': { - type: 'part', + y: { args: { - model: 'speech', - part: 'speech', - column: 'x', - label: { - type: 'none', - }, tag: { - type: 'hidden', + type: 'number', }, + row_break: true, }, }, - 'speech.y': { - type: 'part', + z: { args: { - model: 'speech', - part: 'speech', - column: 'y', label: { type: 'none', }, @@ -588,12 +410,8 @@ }, }, }, - 'speech.width': { - type: 'part', + t: { args: { - model: 'speech', - part: 'speech', - column: 'width', label: { type: 'none', }, @@ -602,12 +420,8 @@ }, }, }, - 'speech.height': { - type: 'part', + id: { args: { - model: 'speech', - part: 'speech', - column: 'height', label: { type: 'none', }, @@ -616,108 +430,69 @@ }, }, }, - 'speech.writing_format_id': { - type: 'part', + }, + field_names: [ + 'sheet_id', + 'panel_id', + 'x', + 'y', + 'z', + 't', + 'id', + ] + }, + panel: { + fields: { + caption: { args: { - model: 'speech', - part: 'speech', - column: 'writing_format_id', - label: { - }, tag: { - type: 'select', + type: 'text', }, + row_break: true, }, }, - 'speech.font_size': { - type: 'part', + width: { args: { - model: 'speech', - part: 'speech', - column: 'font_size', - label: { - }, tag: { - type: 'select', + type: 'number', }, - row_break: true, }, }, - 'speech.text_align': { - type: 'part', + height: { args: { - model: 'speech', - part: 'speech', - column: 'text_align', - label: { - }, tag: { - type: 'select', + type: 'number', }, + row_break: true, }, }, - 'speech.quotes': { - type: 'part', + border: { args: { - model: 'speech', - part: 'speech', - column: 'quotes', - label: { - }, tag: { - type: 'text', - args: { - size: 5, - }, + type: 'number', }, }, }, - 'speech.content': { - type: 'part', + publish: { args: { - model: 'speech', - part: 'speech', - column: 'content', - label: { - row_break: true, - }, tag: { - type: 'text_area', - args: { - size: '45x5', - }, + type: 'select', }, + row_break: true, }, }, - 'speech.fore_color': { - type: 'part', + id: { args: { - model: 'speech', - part: 'speech', - column: 'fore_color', label: { - row_break: true, + type: 'none', }, tag: { type: 'hidden', }, - helpers: { - color: { - type: 'size', - args: { - path: 'panels/color_helper', - wrapper: 'speech-fore_color-wrap', - }, - }, - }, }, }, - 'speech.settings': { - type: 'part', + author_id: { args: { - model: 'speech', - part: 'speech', - column: 'settings', label: { type: 'none', }, @@ -727,98 +502,118 @@ }, }, }, + field_names: [ + 'caption', + 'width', + 'height', + 'border', + 'publish', + 'id', + 'author_id', + ] }, - ground_picture: { + panel_picture: { fields: { - id: { + caption: { args: { - column: 'id', - label: { - type: 'none', - }, tag: { - type: 'hidden', + type: 'text', }, + row_break: true, }, }, - panel_id: { + x: { args: { - column: 'panel_id', - label: { - type: 'none', - }, tag: { - type: 'hidden', + type: 'number', }, }, }, - picture_id: { + y: { args: { - column: 'picture_id', - label: { - type: 'none', + tag: { + type: 'number', }, + row_break: true, + }, + }, + width: { + args: { tag: { - type: 'hidden', + type: 'number', + }, + helpers: { + size: { + type: 'size', + args: { + dom_class: 'panel_picture_width_tool', + }, + }, }, + row_break: true, }, }, - caption: { + height: { args: { - column: 'caption', - label: { + tag: { + type: 'number', + }, + helpers: { + size: { + type: 'size', + args: { + dom_class: 'panel_picture_height_tool', + }, + }, }, + row_break: true, + }, + }, + link: { + args: { tag: { type: 'text', }, row_break: true, }, }, - repeat: { + id: { args: { - column: 'repeat', label: { + type: 'none', }, tag: { - type: 'select', - args: { - source: 'magic_number', - key: 'ground_picture_repeat_items', - }, + type: 'hidden', }, - row_break: true, }, }, - x: { + panel_id: { args: { - column: 'x', label: { + type: 'none', }, tag: { - type: 'number', - args: { - size: 5, - }, + type: 'hidden', }, }, }, - y: { + picture_id: { args: { - column: 'y', - label: { - }, tag: { - type: 'number', - args: { - size: 5, + type: 'hidden', + }, + helpers: { + popup: { + type: 'popup', + args: { + source: 'pictures', + }, }, }, - row_break: true, }, }, z: { args: { - column: 'z', label: { type: 'none', }, @@ -829,7 +624,6 @@ }, t: { args: { - column: 't', label: { type: 'none', }, @@ -841,21 +635,22 @@ }, field_names: [ 'caption', - 'repeat', 'x', 'y', - 'z', - 't', + 'width', + 'height', + 'link', 'id', 'panel_id', 'picture_id', + 'z', + 't', ] }, - ground_color: { + speech_balloon: { fields: { - id: { + 'speech_balloon.id': { args: { - column: 'id', label: { type: 'none', }, @@ -864,9 +659,8 @@ }, }, }, - panel_id: { + 'speech_balloon.panel_id': { args: { - column: 'panel_id', label: { type: 'none', }, @@ -875,79 +669,716 @@ }, }, }, - caption: { + 'speech_balloon.speech_balloon_template_id': { args: { - column: 'caption', label: { + type: 'none', + }, + tag: { + type: 'hidden', }, + }, + }, + 'speech_balloon.caption': { + args: { tag: { type: 'text', }, row_break: true, }, }, - code: { + 'speech_balloon.z': { args: { - column: 'code', label: { - row_break: true, + type: 'none', }, tag: { type: 'hidden', }, - helpers: { - color: { - type: 'size', - args: { - path: 'panels/color_helper', - wrapper: 'ground_color-code-wrap' - }, + }, + }, + 'speech_balloon.t': { + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + 'speech_balloon.speech_balloon_template_classname': { + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + 'speech_balloon.speech_balloon_template_settings': { + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + 'balloon.id': { + type: 'part', + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + 'balloon.speech_balloon_id': { + type: 'part', + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + 'balloon.speech_balloon_template_id': { + type: 'part', + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + 'balloon.system_picture_id': { + type: 'part', + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + 'balloon.r': { + type: 'part', + args: { + tag: { + type: 'number', + }, + helpers: { + tail_angle: { + type: 'size', + args: { + }, + }, + }, + row_break: true, + }, + }, + 'balloon.x': { + type: 'part', + args: { + tag: { + type: 'number', + }, + }, + }, + 'balloon.y': { + type: 'part', + args: { + label: { + }, + tag: { + type: 'number', + }, + row_break: true, + }, + }, + 'balloon.width': { + type: 'part', + args: { + tag: { + type: 'number', + }, + }, + }, + 'balloon.height': { + type: 'part', + args: { + tag: { + type: 'number', + }, + row_break: true, + }, + }, + 'balloon.speech_balloon_template_classname': { + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + 'balloon.speech_balloon_template_settings': { + type: 'part', + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + 'speech.id': { + type: 'part', + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + 'speech.speech_balloon_id': { + type: 'part', + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + 'speech.speech_balloon_template_id': { + type: 'part', + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + 'speech.x': { + type: 'part', + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + 'speech.y': { + type: 'part', + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + 'speech.width': { + type: 'part', + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + 'speech.height': { + type: 'part', + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + 'speech.writing_format_id': { + type: 'part', + args: { + tag: { + type: 'select', + }, + }, + }, + 'speech.font_size': { + type: 'part', + args: { + tag: { + type: 'select', + }, + row_break: true, + }, + }, + 'speech.text_align': { + type: 'part', + args: { + tag: { + type: 'select', + }, + }, + }, + 'speech.quotes': { + type: 'part', + args: { + tag: { + type: 'text', + }, + }, + }, + 'speech.content': { + type: 'part', + args: { + label: { + args: { + row_break: true, + }, + }, + tag: { + type: 'text_area', + args: { + options: { + size: '45x5', + }, + }, + }, + }, + }, + 'speech.fore_color': { + type: 'part', + args: { + label: { + row_break: true, + }, + tag: { + type: 'hidden', + }, + helpers: { + color: { + type: 'color', + args: { + wrapper: 'speech-fore_color-wrap', + }, + }, + }, + }, + }, + 'speech.speech_balloon_template_classname': { + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + 'speech.writing_format_classname': { + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + 'speech.speech_balloon_template_settings': { + type: 'part', + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + 'speech.writing_format_settings': { + type: 'part', + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + }, + }, + ground_picture: { + fields: { + id: { + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + panel_id: { + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + picture_id: { + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + caption: { + args: { + tag: { + type: 'text', + }, + row_break: true, + }, + }, + repeat: { + args: { + tag: { + type: 'select', + args: { + source: 'magic_number', + key: 'ground_picture_repeat_items', + }, + }, + row_break: true, + }, + }, + x: { + args: { + tag: { + type: 'number', + }, + }, + }, + y: { + args: { + tag: { + type: 'number', + }, + row_break: true, + }, + }, + z: { + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + t: { + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + }, + field_names: [ + 'caption', + 'repeat', + 'x', + 'y', + 'z', + 't', + 'id', + 'panel_id', + 'picture_id', + ] + }, + ground_color: { + fields: { + id: { + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + panel_id: { + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + caption: { + args: { + tag: { + type: 'text', + }, + row_break: true, + }, + }, + code: { + args: { + label: { + args: { + row_break: true, + }, + }, + tag: { + type: 'hidden', + }, + helpers: { + color: { + type: 'color', + args: { + wrapper: 'ground_color-code-wrap' + }, } }, row_break: true, }, }, - orientation: { + orientation: { + args: { + tag: { + type: 'select', + }, + row_break: true, + }, + }, + xy: { + args: { + tag: { + type: 'number', + }, + }, + }, + wh: { + args: { + tag: { + type: 'number', + }, + row_break: true, + }, + }, + z: { + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + t: { + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + }, + field_names: [ + 'id', + 'panel_id', + 'caption', + 'code', + 'orientation', + 'xy', + 'wh', + 'z', + 't', + ] + }, + speech_balloon_template: { + fields: { + id: { + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + name: { + args: { + tag: { + type: 'text', + }, + row_break: true, + }, + }, + classname: { args: { - column: 'orientation', - label: { + tag: { + type: 'text', }, + row_break: true, + }, + }, + caption: { + args: { tag: { - type: 'select', + type: 'text', }, row_break: true, }, }, - xy: { + t: { args: { - column: 'xy', - label: { + tag: { + type: 'number', }, + row_break: true, + }, + }, + system_picture_id: { + args: { tag: { type: 'number', - args: { - size: 5, - }, }, + row_break: true, }, }, - wh: { + settings: { + args: { + tag: { + type: 'text', + }, + row_break: true, + }, + }, + }, + field_names: [ + 'id', + 'name', + 'classname', + 'caption', + 't', + 'system_picture_id', + 'settings', + ] + }, + writing_format: { + fields: { + id: { args: { - column: 'wh', label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + name: { + args: { + tag: { + type: 'text', + }, + row_break: true, + }, + }, + classname: { + args: { + tag: { + type: 'text', + }, + row_break: true, + }, + }, + caption: { + args: { + tag: { + type: 'text', }, + row_break: true, + }, + }, + system_picture_id: { + args: { tag: { type: 'number', - args: { - size: 5, - } }, row_break: true, }, }, - z: { + settings: { + args: { + tag: { + type: 'text', + }, + row_break: true, + }, + }, + }, + field_names: [ + 'id', + 'name', + 'classname', + 'caption', + 'system_picture_id', + 'settings', + ] + }, + license_group: { + fields: { + id: { args: { - column: 'z', label: { type: 'none', }, @@ -956,9 +1387,61 @@ }, }, }, - t: { + name: { + args: { + tag: { + type: 'text', + }, + row_break: true, + }, + }, + classname: { + args: { + tag: { + type: 'text', + }, + row_break: true, + }, + }, + caption: { + args: { + tag: { + type: 'text', + }, + row_break: true, + }, + }, + url: { + args: { + tag: { + type: 'text', + }, + row_break: true, + }, + }, + }, + field_names: [ + 'id', + 'name', + 'classname', + 'caption', + 'url', + ] + }, + license: { + fields: { + id: { + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + license_group_id: { args: { - column: 't', label: { type: 'none', }, @@ -967,19 +1450,137 @@ }, }, }, + license_group_classname: { + args: { + tag: { + type: 'text', + }, + row_break: true, + }, + }, + name: { + args: { + tag: { + type: 'text', + }, + row_break: true, + }, + }, + caption: { + args: { + tag: { + type: 'text', + }, + row_break: true, + }, + }, + system_picture_id: { + args: { + tag: { + type: 'number', + }, + row_break: true, + }, + }, + url: { + args: { + tag: { + type: 'text', + }, + row_break: true, + }, + }, + license_group_settings: { + args: { + tag: { + type: 'text', + }, + row_break: true, + }, + }, + credit_picture_settings: { + args: { + tag: { + type: 'text', + }, + row_break: true, + }, + }, }, field_names: [ 'id', - 'panel_id', + 'license_group_id', + 'license_group_classname', + 'name', 'caption', - 'code', - 'orientation', - 'xy', - 'wh', - 'z', - 't', + 'system_picture_id', + 'url', + 'license_group_settings', + 'credit_picture_settings', ] } + author: { + fields: { + id: { + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + name: { + args: { + label: { + args: { + row_break: true, + }, + }, + tag: { + type: 'text', + }, + row_break: true, + }, + }, + }, + field_names: [ + 'id', + 'name', + ] + }, + artist: { + fields: { + id: { + args: { + label: { + type: 'none', + }, + tag: { + type: 'hidden', + }, + }, + }, + name: { + args: { + label: { + args: { + row_break: true, + }, + }, + tag: { + type: 'text', + }, + row_break: true, + }, + }, + }, + field_names: [ + 'id', + 'name', + ] + }, }, extend: { CircleSpeechBalloon: { @@ -996,7 +1597,9 @@ 'balloon.id', 'balloon.speech_balloon_id', 'balloon.system_picture_id', - 'balloon.settings', + 'balloon.speech_balloon_template_id', + 'balloon.speech_balloon_template_classname', + 'balloon.speech_balloon_template_settings', 'speech.writing_format_id', 'speech.font_size', 'speech.text_align', @@ -1009,14 +1612,18 @@ 'speech.y', 'speech.width', 'speech.height', - 'speech.settings', + 'speech.speech_balloon_template_id', + 'speech.speech_balloon_template_classname', + 'speech.speech_balloon_template_settings', + 'speech.writing_format_classname', + 'speech.writing_format_settings', 'speech_balloon.id', 'speech_balloon.panel_id', 'speech_balloon.speech_balloon_template_id', - 'speech_balloon.classname', + 'speech_balloon.speech_balloon_template_classname', 'speech_balloon.z', 'speech_balloon.t', - 'speech_balloon.settings', + 'speech_balloon.speech_balloon_template_settings', ] }, PlainSpeechBalloon: { @@ -1025,9 +1632,6 @@ 'balloon.r': { type: 'part', args: { - model: 'balloon', - part: 'balloon', - column: 'r', label: { type: 'none', }, @@ -1047,7 +1651,9 @@ 'balloon.id', 'balloon.speech_balloon_id', 'balloon.system_picture_id', - 'balloon.settings', + 'balloon.speech_balloon_template_id', + 'balloon.speech_balloon_template_classname', + 'balloon.speech_balloon_template_settings', 'speech.writing_format_id', 'speech.font_size', 'speech.text_align', @@ -1060,14 +1666,18 @@ 'speech.y', 'speech.width', 'speech.height', - 'speech.settings', + 'speech.speech_balloon_template_id', + 'speech.speech_balloon_template_classname', + 'speech.speech_balloon_template_settings', + 'speech.writing_format_classname', + 'speech.writing_format_settings', 'speech_balloon.id', 'speech_balloon.panel_id', 'speech_balloon.speech_balloon_template_id', - 'speech_balloon.classname', + 'speech_balloon.speech_balloon_template_classname', 'speech_balloon.z', 'speech_balloon.t', - 'speech_balloon.settings', + 'speech_balloon.speech_balloon_template_settings', ] }, SquareSpeechBalloon: { @@ -1076,9 +1686,6 @@ 'balloon.r': { type: 'part', args: { - model: 'balloon', - part: 'balloon', - column: 'r', label: { type: 'none', }, @@ -1098,7 +1705,9 @@ 'balloon.id', 'balloon.speech_balloon_id', 'balloon.system_picture_id', - 'balloon.settings', + 'balloon.speech_balloon_template_id', + 'balloon.speech_balloon_template_classname', + 'balloon.speech_balloon_template_settings', 'speech.writing_format_id', 'speech.font_size', 'speech.text_align', @@ -1111,14 +1720,18 @@ 'speech.y', 'speech.width', 'speech.height', - 'speech.settings', + 'speech.speech_balloon_template_id', + 'speech.speech_balloon_template_classname', + 'speech.speech_balloon_template_settings', + 'speech.writing_format_classname', + 'speech.writing_format_settings', 'speech_balloon.id', 'speech_balloon.panel_id', 'speech_balloon.speech_balloon_template_id', - 'speech_balloon.classname', + 'speech_balloon.speech_balloon_template_classname', 'speech_balloon.z', 'speech_balloon.t', - 'speech_balloon.settings', + 'speech_balloon.speech_balloon_template_settings', ] }, }