#マニフェスト @forms = { base: { scroll: { fields: { title: { args: { label: { args: { row_break: true, }, }, tag: { type: 'text', }, row_break: true, }, }, description: { args: { label: { args: { row_break: true, }, }, tag: { type: 'text_area', }, }, }, visible: { args: { tag: { type: 'select', }, row_break: true, }, }, id: { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, author_id: { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, }, field_names: [ 'title', 'description', 'visible', 'id', 'author_id', ] }, scroll_panel: { fields: { scroll_id: { args: { tag: { type: 'number', }, }, }, panel_id: { args: { tag: { type: 'number', }, }, }, t: { args: { tag: { type: 'number', }, }, }, id: { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, }, field_names: [ 'scroll_id', 'panel_id', 't', 'id', ] }, comic: { fields: { title: { args: { label: { args: { row_break: true, }, }, tag: { type: 'text', }, row_break: true, }, }, description: { args: { label: { args: { row_break: true, }, }, tag: { type: 'text_area', }, }, }, visible: { args: { tag: { type: 'select', }, row_break: true, }, }, id: { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, author_id: { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, }, field_names: [ 'title', 'description', 'visible', 'id', 'author_id', ] }, story: { fields: { comic_id: { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, title: { args: { label: { args: { row_break: true, }, }, tag: { type: 'text', }, row_break: true, }, }, description: { args: { label: { args: { row_break: true, }, }, tag: { type: 'text_area', }, row_break: true, }, }, visible: { args: { tag: { type: 'select', }, row_break: true, }, }, t: { args: { tag: { type: 'number', }, }, }, id: { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, author_id: { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, }, field_names: [ 'comic_id', 'title', 'description', 'visible', 't', 'id', 'author_id', ] }, story_sheet: { fields: { story_id: { args: { label: { type: 'none', }, tag: { type: 'number', }, }, }, sheet_id: { args: { label: { type: 'none', }, tag: { type: 'number', }, }, }, t: { args: { tag: { type: 'number', }, }, }, id: { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, }, field_names: [ 'story_id', 'sheet_id', 't', 'id', ] }, sheet: { fields: { caption: { args: { label: { args: { row_break: true, }, }, tag: { type: 'text', }, row_break: true, }, }, width: { args: { tag: { type: 'number', }, }, }, height: { args: { tag: { type: 'number', }, row_break: true, }, }, visible: { args: { tag: { type: 'select', }, row_break: true, }, }, id: { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, author_id: { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, }, field_names: [ 'caption', 'width', 'height', 'visible', 'id', 'author_id', ] }, sheet_panel: { fields: { sheet_id: { args: { tag: { type: 'number', }, }, }, panel_id: { args: { tag: { type: 'number', }, }, }, 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', }, }, }, id: { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, }, field_names: [ 'sheet_id', 'panel_id', 'x', 'y', 'z', 't', 'id', ] }, panel: { fields: { caption: { args: { tag: { type: 'text', }, row_break: true, }, }, width: { args: { tag: { type: 'number', }, }, }, height: { args: { tag: { type: 'number', }, row_break: true, }, }, border: { args: { tag: { type: 'number', }, }, }, publish: { args: { tag: { type: 'select', }, row_break: true, }, }, id: { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, author_id: { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, }, field_names: [ 'caption', 'width', 'height', 'border', 'publish', 'id', 'author_id', ] }, panel_picture: { fields: { caption: { args: { tag: { type: 'text', }, row_break: true, }, }, x: { args: { tag: { type: 'number', }, }, }, y: { args: { tag: { type: 'number', }, row_break: true, }, }, width: { args: { tag: { type: 'number', }, helpers: { size: { type: 'size', args: { dom_class: 'panel_picture_width_tool', }, }, }, row_break: true, }, }, height: { args: { 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, }, }, id: { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, panel_id: { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, picture_id: { args: { tag: { type: 'hidden', }, helpers: { popup: { type: 'popup', args: { source: 'pictures', }, }, }, }, }, z: { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, t: { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, }, field_names: [ 'caption', 'x', 'y', 'width', 'height', 'link', 'id', 'panel_id', 'picture_id', 'z', 't', ] }, speech_balloon: { fields: { 'speech_balloon.id': { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, 'speech_balloon.panel_id': { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, 'speech_balloon.speech_balloon_template_id': { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, 'speech_balloon.caption': { args: { tag: { type: 'text', }, row_break: true, }, }, 'speech_balloon.z': { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, 'speech_balloon.t': { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, 'speech_balloon.classname': { args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, 'speech_balloon.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.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.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.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.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: { 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', ] } 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: { base: 'speech_balloon', fields: { }, field_names: [ 'speech_balloon.caption', 'balloon.r', 'balloon.x', 'balloon.y', 'balloon.width', 'balloon.height', 'balloon.id', 'balloon.speech_balloon_id', 'balloon.system_picture_id', 'balloon.settings', 'speech.writing_format_id', 'speech.font_size', 'speech.text_align', 'speech.quotes', 'speech.content', 'speech.fore_color', 'speech.id', 'speech.speech_balloon_id', 'speech.x', 'speech.y', 'speech.width', 'speech.height', 'speech.settings', 'speech_balloon.id', 'speech_balloon.panel_id', 'speech_balloon.speech_balloon_template_id', 'speech_balloon.classname', 'speech_balloon.z', 'speech_balloon.t', 'speech_balloon.settings', ] }, PlainSpeechBalloon: { base: 'speech_balloon', fields: { 'balloon.r': { type: 'part', args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, }, field_names: [ 'speech_balloon.caption', 'balloon.r', 'balloon.x', 'balloon.y', 'balloon.width', 'balloon.height', 'balloon.id', 'balloon.speech_balloon_id', 'balloon.system_picture_id', 'balloon.settings', 'speech.writing_format_id', 'speech.font_size', 'speech.text_align', 'speech.quotes', 'speech.content', 'speech.fore_color', 'speech.id', 'speech.speech_balloon_id', 'speech.x', 'speech.y', 'speech.width', 'speech.height', 'speech.settings', 'speech_balloon.id', 'speech_balloon.panel_id', 'speech_balloon.speech_balloon_template_id', 'speech_balloon.classname', 'speech_balloon.z', 'speech_balloon.t', 'speech_balloon.settings', ] }, SquareSpeechBalloon: { base: 'speech_balloon', fields: { 'balloon.r': { type: 'part', args: { label: { type: 'none', }, tag: { type: 'hidden', }, }, }, }, field_names: [ 'speech_balloon.caption', 'balloon.r', 'balloon.x', 'balloon.y', 'balloon.width', 'balloon.height', 'balloon.id', 'balloon.speech_balloon_id', 'balloon.system_picture_id', 'balloon.settings', 'speech.writing_format_id', 'speech.font_size', 'speech.text_align', 'speech.quotes', 'speech.content', 'speech.fore_color', 'speech.id', 'speech.speech_balloon_id', 'speech.x', 'speech.y', 'speech.width', 'speech.height', 'speech.settings', 'speech_balloon.id', 'speech_balloon.panel_id', 'speech_balloon.speech_balloon_template_id', 'speech_balloon.classname', 'speech_balloon.z', 'speech_balloon.t', 'speech_balloon.settings', ] }, } } @repeat_texts = ['repeat', 'repeat-x', 'repeat-y', 'no-repeat'] @text_align_texts = ['left', 'left', 'right', 'center']