import { VegaExpand, VegaClick, VegaDropdownClick, VegaReset, VegaDropdownSearch, VegaClose, VegaActionButtonClick, VegaChange, VegaEventClick, VegaDateDblClick, VegaMoreActionClick, VegaDateClick, VegaEventEdit, VegaPageUpdate, VegaRemove, VegaCreate, VegaSearch, VegaMonthYearChange, VegaClear, VegaSelectionChange, VegaDropdownShow, VegaDropdownHide, VegaSearchTrigger, VegaLabelButtonClick, VegaSelectFileChange, VegaRetry, VegaPreview, VegaFormSubmit, VegaFormReset, VegaValidate, VegaCancel, VegaNativeInputChange, VegaFocus, VegaBlur, VegaSuggestionItemClick, VegaPaste, VegaComplete, VegaCountryChange, VegaShow, VegaHide, VegaToggleStatus, VegaOpen, VegaStateUpdate, VegaGroupClick, VegaMenuClick, VegaActionClick, VegaPageSizeChange, VegaPopoverShow, VegaPopoverHide, VegaCurrentStepUpdate, VegaImageInserted, VegaSourceCodeChange, VegaSelectChange, VegaSelectAllChange, VegaRowClick, VegaRowExpand, VegaRowDragDrop, VegaRowSelect, VegaRowSelectAll, } from './vega-event-id';
const entries = [
  ['vega-accordion', [VegaExpand]],
  ['vega-app-header-button', [VegaClick, VegaDropdownClick, VegaReset, VegaDropdownSearch]],
  ['vega-banner', [VegaClose, VegaActionButtonClick]],
  ['vega-breadcrumb', [VegaClick]],
  ['vega-button', [VegaClick]],
  ['vega-button-circle', [VegaClick]],
  ['vega-button-group', [VegaClick]],
  ['vega-button-link', [VegaClick]],
  [
    'vega-calendar',
    [VegaChange, VegaEventClick, VegaDateDblClick, VegaMoreActionClick, VegaDateClick, VegaEventEdit],
  ],
  ['vega-carousel', [VegaPageUpdate]],
  ['vega-checkbox', [VegaChange]],
  ['vega-checkbox-group', [VegaChange]],
  ['vega-chip', [VegaClose, VegaClick]],
  ['vega-code-block', [VegaChange, VegaRemove]],
  ['vega-color-picker', [VegaChange]],
  ['vega-color-swatch', [VegaClick]],
  ['vega-color-swatch-picker', [VegaChange]],
  ['vega-combo-box', [VegaChange, VegaCreate, VegaSearch]],
  ['vega-date-picker', [VegaChange, VegaMonthYearChange]],
  ['vega-date-picker-calendar', [VegaClear, VegaMonthYearChange, VegaSelectionChange]],
  [
    'vega-dropdown',
    [
      VegaDropdownShow,
      VegaDropdownHide,
      VegaDropdownClick,
      VegaReset,
      VegaCreate,
      VegaDropdownSearch,
      VegaSearchTrigger,
    ],
  ],
  ['vega-dropdown-item', [VegaClick]],
  ['vega-field-label', [VegaClick, VegaLabelButtonClick]],
  ['vega-file-uploader', [VegaChange, VegaSelectFileChange, VegaRemove, VegaRetry, VegaPreview]],
  ['vega-form', [VegaFormSubmit, VegaFormReset, VegaValidate]],
  ['vega-image-uploader', [VegaChange, VegaRemove, VegaCancel]],
  [
    'vega-input',
    [
      VegaChange,
      VegaNativeInputChange,
      VegaFocus,
      VegaBlur,
      VegaLabelButtonClick,
      VegaSuggestionItemClick,
      VegaPaste,
    ],
  ],
  ['vega-input-credit-card', [VegaChange, VegaBlur, VegaFocus]],
  ['vega-input-numeric', [VegaChange]],
  ['vega-input-passcode', [VegaChange, VegaComplete]],
  ['vega-input-phone-number', [VegaChange, VegaCountryChange]],
  ['vega-input-range', [VegaChange]],
  [
    'vega-input-select',
    [VegaChange, VegaSearch, VegaSearchTrigger, VegaShow, VegaHide, VegaLabelButtonClick],
  ],
  ['vega-item-toggle', [VegaToggleStatus]],
  ['vega-modal', [VegaOpen, VegaClose]],
  ['vega-left-nav', [VegaStateUpdate]],
  ['vega-left-nav-group', [VegaGroupClick]],
  ['vega-left-nav-link', [VegaMenuClick]],
  ['vega-left-nav-section', [VegaActionClick]],
  ['vega-pagination', [VegaChange, VegaPageSizeChange]],
  ['vega-popover', [VegaPopoverShow, VegaPopoverHide]],
  ['vega-progress-tracker', [VegaCurrentStepUpdate]],
  ['vega-radio', [VegaChange, VegaFocus, VegaBlur]],
  ['vega-radio-group', [VegaChange]],
  ['vega-rich-text-editor', [VegaChange, VegaImageInserted, VegaSourceCodeChange]],
  ['vega-rich-text-editor-toolbar-button', [VegaClick]],
  ['vega-rich-text-image-editor', [VegaChange]],
  ['vega-rich-text-link-editor', [VegaChange]],
  ['vega-segment-control', [VegaChange]],
  ['vega-selection-chip', [VegaChange]],
  ['vega-selection-chip-group', [VegaChange]],
  ['vega-selection-tile', [VegaChange]],
  ['vega-selection-tile-group', [VegaChange]],
  ['vega-sidenav', [VegaStateUpdate]],
  ['vega-sidenav-link', [VegaClick]],
  ['vega-signature-capture', [VegaChange]],
  ['vega-stepper', [VegaChange]],
  ['vega-tab-group', [VegaClick]],
  [
    'vega-table',
    [
      VegaChange,
      VegaSelectChange,
      VegaSelectAllChange,
      VegaRowClick,
      VegaRowExpand,
      VegaRowDragDrop,
      VegaRowSelect,
      VegaRowSelectAll,
    ],
  ],
  ['vega-table-head-cell', [VegaClick]],
  ['vega-table-row', [VegaClick, VegaExpand]],
  ['vega-textarea', [VegaChange, VegaBlur, VegaLabelButtonClick]],
  ['vega-time-picker', [VegaChange]],
  ['vega-toggle-switch', [VegaChange]],
];
export const VEGA_COMPONENT_EVENT_MAP = new Map(entries);
