// import { ComponentMapNode } from "@illa-public/public-types"
import { BaseSetter } from "@/page/app/components/InspectPanel/PanelSetters/interface"
import { PanelFieldConfig } from "@/page/app/components/InspectPanel/interface"
import { ComponentMapNode } from "@/utils/generators/interface"

export interface ViewItemShape {
  id: string
  key: string
  label: string
  disabled?: string
  hidden?: string
}

export interface ViewSetterProps extends BaseSetter {
  value: ViewItemShape[]
  childrenSetter?: PanelFieldConfig[]
  componentNode: ComponentMapNode
}

export interface DragIconAndLabelProps {
  index: number
  label?: string
  isSelected: boolean
}
