{!! Form::label('parameters[title]', 'Título da Seção', ['for' => 'interactive-table-section-title']) !!} {!! Form::text('parameters[title]', $data['title'] ?? '', ['class' => 'form-control', 'id' => 'interactive-table-section-title', 'placeholder' => 'Ex: Tabela de Resultados']) !!}
{!! Form::label('parameters[subtitle]', 'Subtítulo (Opcional)', ['for' => 'interactive-table-section-subtitle']) !!} {!! Form::text('parameters[subtitle]', $data['subtitle'] ?? '', ['class' => 'form-control', 'id' => 'interactive-table-section-subtitle', 'placeholder' => 'Ex: Confira os dados abaixo']) !!}

Basta copiar as células no Excel/Sheets e colar no campo abaixo. O sistema ajustará as colunas automaticamente.

{!! Form::textarea('parameters[table_content]', $data['table_content'] ?? '', [ 'class' => 'form-control', 'id' => 'table-content-input', 'rows' => 8, 'placeholder' => "Nome\tIdade\tCidade\nJoão\t30\tNatal\nMaria\t25\tMossoró", 'style' => 'font-family: monospace; white-space: pre; overflow-x: auto;' ]) !!}

Configurações Gerais da Tabela

{!! Form::label('parameters[search_position]', 'Posição da Busca', ['for' => 'select-search-position']) !!} {!! Form::select('parameters[search_position]', ['left' => 'Esquerda', 'center' => 'Centralizada', 'right' => 'Direita'], $data['search_position'] ?? 'right', ['class' => 'form-select', 'id' => 'select-search-position']) !!}
{!! Form::label('parameters[text_alignment]', 'Alinhamento do Texto na Tabela', ['for' => 'select-text-alignment']) !!} {!! Form::select('parameters[text_alignment]', ['left' => 'Esquerda', 'center' => 'Centralizado', 'right' => 'Direita'], $data['text_alignment'] ?? 'center', ['class' => 'form-select', 'id' => 'select-text-alignment']) !!}
{!! Form::label('parameters[table_width]', 'Largura da Tabela', ['for' => 'select-table-width']) !!} {!! Form::select('parameters[table_width]', ['100%' => '100%', '75%' => '75%', '50%' => '50%', 'custom' => 'Custom'], $data['table_width'] ?? '100%', ['class' => 'form-select', 'id' => 'select-table-width']) !!}
{!! Form::label('parameters[table_width_custom]', 'Valor (%)', ['for' => 'input-table-width-custom']) !!} {!! Form::number('parameters[table_width_custom]', $data['table_width_custom'] ?? '', ['class' => 'form-control', 'placeholder' => 'Ex: 60', 'id' => 'input-table-width-custom']) !!}

Título Independente da Tabela (Opcional)

{!! Form::label('parameters[table_title]', 'Título da Tabela', ['for' => 'input-table-title']) !!} {!! Form::text('parameters[table_title]', $data['table_title'] ?? '', ['class' => 'form-control', 'placeholder' => 'Ex: RESULTADO FINAL', 'id' => 'input-table-title']) !!}
{!! Form::label('parameters[table_title_bg_color]', 'Cor de Fundo', ['for' => 'table-title-bg-hex']) !!}
{!! Form::text('parameters[table_title_bg_color]', $data['table_title_bg_color'] ?? '#333333', ['class' => 'form-control', 'id' => 'table-title-bg-hex', 'placeholder' => 'Ex: #333333']) !!}
{!! Form::label('parameters[table_title_text_color]', 'Cor do Texto', ['for' => 'table-title-text-hex']) !!}
{!! Form::text('parameters[table_title_text_color]', $data['table_title_text_color'] ?? '#ffffff', ['class' => 'form-control', 'id' => 'table-title-text-hex', 'placeholder' => 'Ex: #ffffff']) !!}
{!! Form::label('parameters[table_title_alignment]', 'Alinhamento', ['for' => 'select-table-title-alignment']) !!} {!! Form::select('parameters[table_title_alignment]', ['left' => 'Esquerda', 'center' => 'Centralizado', 'right' => 'Direita'], $data['table_title_alignment'] ?? 'center', ['class' => 'form-select', 'id' => 'select-table-title-alignment']) !!}

Larguras das Colunas (%)

Defina a largura proporcional de cada coluna. Total atual: 0% (Ideal: 100%).