"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = require("react");
var Link_1 = require("office-ui-fabric-react/lib/Link");
var example_app_base_1 = require("@uifabric/example-app-base");
var FocusTrapZone_Box_Example_1 = require("./examples/FocusTrapZone.Box.Example");
var FocusTrapZoneBoxExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/FocusTrapZone/examples/FocusTrapZone.Box.Example.tsx');
var FocusTrapZone_Box_FocusOnCustomElement_Example_1 = require("./examples/FocusTrapZone.Box.FocusOnCustomElement.Example");
var FocusTrapZoneBoxExampleWithFocusableItemCode = require('!raw-loader!office-ui-fabric-react/src/components/FocusTrapZone/examples/FocusTrapZone.Box.FocusOnCustomElement.Example.tsx');
var FocusTrapZone_Box_Click_Example_1 = require("./examples/FocusTrapZone.Box.Click.Example");
var FocusTrapZoneBoxClickExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/FocusTrapZone/examples/FocusTrapZone.Box.Click.Example.tsx');
var FocusTrapZone_Nested_Example_1 = require("./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(example_app_base_1.ComponentPage, { title: 'FocusTrapZone', componentName: 'FocusTrapZoneExample', exampleCards: React.createElement("div", null,
                React.createElement(example_app_base_1.ExampleCard, { title: 'Simple Box', code: FocusTrapZoneBoxExampleCode },
                    React.createElement(FocusTrapZone_Box_Example_1.default, null)),
                React.createElement(example_app_base_1.ExampleCard, { title: 'Simple Box with focus on custom focusable element', code: FocusTrapZoneBoxExampleWithFocusableItemCode },
                    React.createElement(FocusTrapZone_Box_FocusOnCustomElement_Example_1.default, null)),
                React.createElement(example_app_base_1.ExampleCard, { title: 'Simple Box with Clicking outside Trap Zone enabled', code: FocusTrapZoneBoxClickExampleCode },
                    React.createElement(FocusTrapZone_Box_Click_Example_1.default, null)),
                React.createElement(example_app_base_1.ExampleCard, { title: 'Multiple Nest FocusTrapZones', code: FocusTrapZoneNestedExampleCode },
                    React.createElement(FocusTrapZone_Nested_Example_1.default, null))), allowNativeProps: true, propertiesTables: React.createElement(example_app_base_1.PropertiesTableSet, { sources: [
                    require('!raw-loader!office-ui-fabric-react/src/components/FocusTrapZone/FocusTrapZone.types.ts')
                ] }), overview: React.createElement("div", null,
                React.createElement(Link_1.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));
exports.FocusTrapZonePage = FocusTrapZonePage;
//# sourceMappingURL=FocusTrapZonePage.js.map