import { html } from '@ni/fast-element';
import { MappingConfig } from './mapping-config';
import { spinnerTag } from '../../../spinner';
const spinnerTemplate = html `
    <${spinnerTag}
        title="${x => (x.textHidden ? x.text : '')}"
        aria-label="${x => x.text}"
        aria-hidden="${x => (x.textHidden ? 'false' : 'true')}"
    >
    </${spinnerTag}>
`;
/**
 * Mapping configuration corresponding to a spinner mapping
 */
export class MappingSpinnerConfig extends MappingConfig {
    constructor(text, textHidden) {
        super(text);
        this.textHidden = textHidden;
        this.spinnerTemplate = spinnerTemplate;
    }
}
//# sourceMappingURL=mapping-spinner-config.js.map