/**
 * @license
 * Copyright 2023 Tyler Technologies, Inc. 
 * License: Apache-2.0
 */
import { COMPONENT_NAME_PREFIX } from '../constants';
import { OPEN_ICON_CONSTANTS } from '../open-icon';
const elementName = `${COMPONENT_NAME_PREFIX}expansion-panel`;
const classes = {
    CONTAINER: 'forge-expansion-panel',
    HEADER: 'forge-expansion-panel__header',
    CONTENT: 'forge-expansion-panel__content'
};
const selectors = {
    CONTAINER: `.${classes.CONTAINER}`,
    HEADER: `.${classes.HEADER}`,
    CONTENT: `.${classes.CONTENT}`,
    HEADER_SLOT: `.${classes.HEADER} > slot[name=header]`,
    OPEN_ICON: `[slot=header] ${OPEN_ICON_CONSTANTS.elementName}`
};
const events = {
    TOGGLE: `${elementName}-toggle`
};
const attributes = {
    OPEN: 'open',
    ORIENTATION: 'orientation',
    USE_ANIMATIONS: 'use-animations',
    IGNORE: 'data-forge-ignore',
    IGNORE_ALT: 'forge-ignore'
};
const numbers = {
    COLLAPSE_ANIMATION_DURATION: 400,
    CLICK_DEBOUNCE_THRESHOLD: 200
};
const strings = {
    ORIENTATION_VERTICAL: 'vertical',
    ORIENTATION_HORIZONTAL: 'horizontal',
    EXPANSION_VERTICAL_TRANSITION: `height ${numbers.COLLAPSE_ANIMATION_DURATION}ms cubic-bezier(0.4, 0, 0.2, 1), opacity ${numbers.COLLAPSE_ANIMATION_DURATION}ms ease-in-out`,
    EXPANSION_HORIZONTAL_TRANSITION: `width ${numbers.COLLAPSE_ANIMATION_DURATION}ms cubic-bezier(0.4, 0, 0.2, 1), opacity ${numbers.COLLAPSE_ANIMATION_DURATION}ms ease-in-out`
};
export const EXPANSION_PANEL_CONSTANTS = {
    elementName,
    classes,
    selectors,
    events,
    attributes,
    numbers,
    strings
};
