import * as tslib_1 from "tslib";
import * as React from 'react';
import { Link } from 'office-ui-fabric-react/lib/Link';
import { ExampleCard, ComponentPage, PropertiesTableSet } from '@uifabric/example-app-base';
import FocusTrapZoneBoxExample from './examples/FocusTrapZone.Box.Example';
var FocusTrapZoneBoxExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/FocusTrapZone/examples/FocusTrapZone.Box.Example.tsx');
import FocusTrapZoneBoxExampleWithFocusableItem from './examples/FocusTrapZone.Box.FocusOnCustomElement.Example';
var FocusTrapZoneBoxExampleWithFocusableItemCode = require('!raw-loader!office-ui-fabric-react/src/components/FocusTrapZone/examples/FocusTrapZone.Box.FocusOnCustomElement.Example.tsx');
import FocusTrapZoneBoxClickExample from './examples/FocusTrapZone.Box.Click.Example';
var FocusTrapZoneBoxClickExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/FocusTrapZone/examples/FocusTrapZone.Box.Click.Example.tsx');
import FocusTrapZoneNestedExample from './examples/FocusTrapZone.Nested.Example';
var FocusTrapZoneNestedExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/FocusTrapZone/examples/FocusTrapZone.Nested.Example.tsx');
var FocusTrapZonePage = /** @class */ (function (_super) {
    tslib_1.__extends(FocusTrapZonePage, _super);
    function FocusTrapZonePage() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    FocusTrapZonePage.prototype.render = function () {
        return (React.createElement(ComponentPage, { title: 'FocusTrapZone', componentName: 'FocusTrapZoneExample', exampleCards: React.createElement("div", null,
                React.createElement(ExampleCard, { title: 'Simple Box', code: FocusTrapZoneBoxExampleCode },
                    React.createElement(FocusTrapZoneBoxExample, null)),
                React.createElement(ExampleCard, { title: 'Simple Box with focus on custom focusable element', code: FocusTrapZoneBoxExampleWithFocusableItemCode },
                    React.createElement(FocusTrapZoneBoxExampleWithFocusableItem, null)),
                React.createElement(ExampleCard, { title: 'Simple Box with Clicking outside Trap Zone enabled', code: FocusTrapZoneBoxClickExampleCode },
                    React.createElement(FocusTrapZoneBoxClickExample, null)),
                React.createElement(ExampleCard, { title: 'Multiple Nest FocusTrapZones', code: FocusTrapZoneNestedExampleCode },
                    React.createElement(FocusTrapZoneNestedExample, null))), allowNativeProps: true, propertiesTables: React.createElement(PropertiesTableSet, { sources: [
                    require('!raw-loader!office-ui-fabric-react/src/components/FocusTrapZone/FocusTrapZone.types.ts')
                ] }), overview: React.createElement("div", null,
                React.createElement(Link, { target: '_blank', href: 'http://dev.office.com/fabric/utilities/FocusTrapZone' }, "FocusTrapZone"),
                React.createElement("span", null, " is used to trap the focus in any html element. Pressing tab will circle focus within the inner focusable elements of the FocusTrapZone.")), isHeaderVisible: this.props.isHeaderVisible }));
    };
    return FocusTrapZonePage;
}(React.Component));
export { FocusTrapZonePage };
//# sourceMappingURL=FocusTrapZonePage.js.map