"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = require("react");
var example_app_base_1 = require("@uifabric/example-app-base");
var data_1 = require("../CommandBar/examples/data");
var Callout_Basic_Example_1 = require("./examples/Callout.Basic.Example");
var Callout_Nested_Example_1 = require("./examples/Callout.Nested.Example");
var Callout_Directional_Example_1 = require("./examples/Callout.Directional.Example");
var Callout_Cover_Example_1 = require("./examples/Callout.Cover.Example");
var ComponentStatus_1 = require("../../demo/ComponentStatus/ComponentStatus");
var Callout_checklist_1 = require("./Callout.checklist");
var CalloutBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Callout/examples/Callout.Basic.Example.tsx');
var CalloutNestedExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Callout/examples/Callout.Nested.Example.tsx');
var CalloutDirectionalExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Callout/examples/Callout.Directional.Example.tsx');
var CalloutCoverExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Callout/examples/Callout.Cover.Example.tsx');
var CalloutPage = /** @class */ (function (_super) {
    tslib_1.__extends(CalloutPage, _super);
    function CalloutPage() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    CalloutPage.prototype.render = function () {
        var cmdBarParamsTextAndIcons = { items: data_1.items, farItems: null };
        return (React.createElement(example_app_base_1.ComponentPage, { title: "Callout", componentName: "CalloutExample", componentUrl: "https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/Callout", exampleCards: React.createElement("div", null,
                React.createElement(example_app_base_1.ExampleCard, { title: "Default Callout", code: CalloutBasicExampleCode },
                    React.createElement(Callout_Basic_Example_1.CalloutBasicExample, null)),
                React.createElement(example_app_base_1.ExampleCard, { title: "Nested Callout... Callout with a commandbar with a sub menu", code: CalloutNestedExampleCode },
                    React.createElement(Callout_Nested_Example_1.CalloutNestedExample, tslib_1.__assign({}, cmdBarParamsTextAndIcons))),
                React.createElement(example_app_base_1.ExampleCard, { title: "Callout with directional hint", code: CalloutDirectionalExampleCode },
                    React.createElement(Callout_Directional_Example_1.CalloutDirectionalExample, null)),
                React.createElement(example_app_base_1.ExampleCard, { title: "Callout with cover", code: CalloutCoverExampleCode },
                    React.createElement(Callout_Cover_Example_1.CalloutCoverExample, null))), propertiesTables: React.createElement("div", null,
                React.createElement(example_app_base_1.PropertiesTableSet, { sources: [require('!raw-loader!office-ui-fabric-react/src/components/Callout/Callout.types.ts')] }),
                React.createElement("p", null,
                    "Besides the above properties, the ",
                    React.createElement("code", null, "Callout"),
                    " component accepts all properties that the React",
                    ' ',
                    React.createElement("code", null, "button"),
                    " and ",
                    React.createElement("code", null, "a"),
                    " components accept.")), overview: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Callout/docs/CalloutOverview.md')), bestPractices: React.createElement("div", null), dos: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Callout/docs/CalloutDos.md')), donts: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Callout/docs/CalloutDonts.md')), isHeaderVisible: this.props.isHeaderVisible, componentStatus: React.createElement(ComponentStatus_1.ComponentStatus, tslib_1.__assign({}, Callout_checklist_1.CalloutStatus)) }));
    };
    return CalloutPage;
}(React.Component));
exports.CalloutPage = CalloutPage;
//# sourceMappingURL=CalloutPage.js.map