"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var KeytipLayer_1 = require("office-ui-fabric-react/lib/KeytipLayer");
var React = require("react");
var example_app_base_1 = require("@uifabric/example-app-base");
var ComponentStatus_1 = require("../../demo/ComponentStatus/ComponentStatus");
var Keytip_checklist_1 = require("./Keytip.checklist");
var Keytips_Basic_Example_1 = require("./examples/Keytips.Basic.Example");
var Keytips_Button_Example_1 = require("./examples/Keytips.Button.Example");
var Keytips_CommandBar_Example_1 = require("./examples/Keytips.CommandBar.Example");
var Keytips_Overflow_Example_1 = require("./examples/Keytips.Overflow.Example");
var KeytipsBasicCode = require('!raw-loader!office-ui-fabric-react/src/components/Keytip/examples/Keytips.Basic.Example.tsx');
var KeytipsButtonCode = require('!raw-loader!office-ui-fabric-react/src/components/Keytip/examples/Keytips.Button.Example.tsx');
var KeytipsCommandBarCode = require('!raw-loader!office-ui-fabric-react/src/components/Keytip/examples/Keytips.CommandBar.Example.tsx');
var KeytipsOverflowCode = require('!raw-loader!office-ui-fabric-react/src/components/Keytip/examples/Keytips.Overflow.Example.tsx');
var KeytipsPage = /** @class */ (function (_super) {
    tslib_1.__extends(KeytipsPage, _super);
    function KeytipsPage() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    KeytipsPage.prototype.render = function () {
        return (React.createElement("div", null,
            React.createElement(example_app_base_1.ComponentPage, { title: "Keytips", componentName: "Keytips", exampleCards: React.createElement("div", null,
                    React.createElement("p", null, "Press Alt-Win to enable keytips, Esc to return up a level, and Alt-Win again to exit keytip mode"),
                    React.createElement(example_app_base_1.ExampleCard, { title: "Keytips on Buttons", code: KeytipsButtonCode },
                        React.createElement(Keytips_Button_Example_1.KeytipsButtonExample, null)),
                    React.createElement(example_app_base_1.ExampleCard, { title: "Keytips in a CommandBar", code: KeytipsCommandBarCode },
                        React.createElement(Keytips_CommandBar_Example_1.KeytipsCommandBarExample, null)),
                    React.createElement(example_app_base_1.ExampleCard, { title: "Keytips in an OverflowWell", code: KeytipsOverflowCode },
                        React.createElement(Keytips_Overflow_Example_1.KeytipsOverflowExample, null)),
                    React.createElement(example_app_base_1.ExampleCard, { title: "Keytips Example", code: KeytipsBasicCode },
                        React.createElement(Keytips_Basic_Example_1.KeytipsBasicExample, null))), propertiesTables: React.createElement(example_app_base_1.PropertiesTableSet, { sources: [
                        require('!raw-loader!office-ui-fabric-react/src/components/Keytip/Keytip.types.ts'),
                        require('!raw-loader!office-ui-fabric-react/src/components/KeytipLayer/KeytipLayer.types.ts')
                    ] }), overview: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Keytip/docs/KeytipOverview.md')), dos: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Keytip/docs/KeytipDos.md')), donts: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Keytip/docs/KeytipDonts.md')), isHeaderVisible: this.props.isHeaderVisible, componentStatus: React.createElement(ComponentStatus_1.ComponentStatus, tslib_1.__assign({}, Keytip_checklist_1.KeytipStatus)) }),
            React.createElement(KeytipLayer_1.KeytipLayer, { content: "Alt Windows" })));
    };
    return KeytipsPage;
}(React.Component));
exports.KeytipsPage = KeytipsPage;
//# sourceMappingURL=KeytipsPage.js.map