import { Replacing } from '../behaviour/Replacing';
import * as SketchBehaviours from '../component/SketchBehaviours';
import * as Sketcher from './Sketcher';
const factory = (detail, _spec) => ({
    uid: detail.uid,
    dom: detail.dom,
    behaviours: SketchBehaviours.augment(detail.tabviewBehaviours, [
        Replacing.config({})
    ]),
    domModification: {
        attributes: { role: 'tabpanel' }
    }
});
const Tabview = Sketcher.single({
    name: 'Tabview',
    configFields: [
        SketchBehaviours.field('tabviewBehaviours', [Replacing])
    ],
    factory
});
export { Tabview };
//# sourceMappingURL=Tabview.js.map