// flynt-disable field-lower-snake-case
// flynt-disable missing-array-limits
// flynt-disable missing-deprecated-field-annotation

syntax = "proto3";

package wix.rich_content.v1;

import "wix/rich_content/v1/common.proto";
import "google/protobuf/wrappers.proto";

message TableData {

  message Dimensions {
    repeated int32 colsWidthRatio = 1; // An array representing relative width of each column in relation to the other columns.
    repeated int32 rowsHeight = 2; // An array representing the height of each row in pixels.
    repeated int32 colsMinWidth = 3; // An array representing the minimum width of each column in pixels.
  }

  PluginContainerData container_data = 1; // Styling for the table's container.
  Dimensions dimensions = 2; // The table's dimensions.
  google.protobuf.BoolValue header = 3 [deprecated = true]; // Deprecated: Use `rowHeader` and `columnHeader` instead.
  google.protobuf.BoolValue row_header = 4; // Sets whether the table's first row is a header. Defaults to `false`.
  google.protobuf.BoolValue column_header = 5; // Sets whether the table's first column is a header. Defaults to `false`.
}
