"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = require("react");
var react_next_1 = require("@fluentui/react-next");
var Checkbox_1 = require("@fluentui/react-next/lib-commonjs/Checkbox");
var Label_1 = require("@fluentui/react-next/lib-commonjs/Label");
var Stack_1 = require("@fluentui/react-next/lib-commonjs/Stack");
var example_data_1 = require("@uifabric/example-data");
exports.PersonaBasicExample = function () {
    var _a = React.useState(true), renderDetails = _a[0], updateRenderDetails = _a[1];
    var onChange = function (ev, checked) {
        updateRenderDetails(!!checked);
    };
    var examplePersona = {
        imageUrl: example_data_1.TestImages.personaFemale,
        imageInitials: 'AL',
        text: 'Annie Lindqvist',
        secondaryText: 'Software Engineer',
        tertiaryText: 'In a meeting',
        optionalText: 'Available at 4:00pm',
    };
    return (React.createElement(Stack_1.Stack, { tokens: { childrenGap: 10 } },
        React.createElement(Checkbox_1.Checkbox, { label: "Include persona details", checked: renderDetails, 
            // eslint-disable-next-line react/jsx-no-bind
            onChange: onChange }),
        React.createElement(Label_1.Label, null, "Size 8 Persona, with no presence"),
        React.createElement(react_next_1.Persona, tslib_1.__assign({}, examplePersona, { size: react_next_1.PersonaSize.size8, hidePersonaDetails: !renderDetails, imageAlt: "Annie Lindqvist, no presence detected" })),
        React.createElement(Label_1.Label, null, "Size 8 Persona, with presence"),
        React.createElement(react_next_1.Persona, tslib_1.__assign({}, examplePersona, { size: react_next_1.PersonaSize.size8, presence: react_next_1.PersonaPresence.offline, hidePersonaDetails: !renderDetails, imageAlt: "Annie Lindqvist, status is offline" })),
        React.createElement(Label_1.Label, null, "Size 24 Persona"),
        React.createElement(react_next_1.Persona, tslib_1.__assign({}, examplePersona, { size: react_next_1.PersonaSize.size24, presence: react_next_1.PersonaPresence.online, hidePersonaDetails: !renderDetails, imageAlt: "Annie Lindqvist, status is online" })),
        React.createElement(Label_1.Label, null, "Size 32 Persona"),
        React.createElement(react_next_1.Persona, tslib_1.__assign({}, examplePersona, { size: react_next_1.PersonaSize.size32, presence: react_next_1.PersonaPresence.online, hidePersonaDetails: !renderDetails, imageAlt: "Annie Lindqvist, status is online" })),
        React.createElement(Label_1.Label, null, "Size 40 Persona"),
        React.createElement(react_next_1.Persona, tslib_1.__assign({}, examplePersona, { size: react_next_1.PersonaSize.size40, presence: react_next_1.PersonaPresence.away, hidePersonaDetails: !renderDetails, imageAlt: "Annie Lindqvist, status is away" })),
        React.createElement(Label_1.Label, null, "Size 48 Persona (default) "),
        React.createElement(react_next_1.Persona, tslib_1.__assign({}, examplePersona, { hidePersonaDetails: !renderDetails, presence: react_next_1.PersonaPresence.busy, imageAlt: "Annie Lindqvist, status is busy" })),
        React.createElement(Label_1.Label, null, "Size 56 Persona (default) "),
        React.createElement(react_next_1.Persona, tslib_1.__assign({}, examplePersona, { size: react_next_1.PersonaSize.size56, hidePersonaDetails: !renderDetails, presence: react_next_1.PersonaPresence.online, imageAlt: "Annie Lindqvist, status is online" })),
        React.createElement(Label_1.Label, null, "Size 72 Persona"),
        React.createElement(react_next_1.Persona, tslib_1.__assign({}, examplePersona, { size: react_next_1.PersonaSize.size72, presence: react_next_1.PersonaPresence.dnd, hidePersonaDetails: !renderDetails, imageAlt: "Annie Lindqvist, status is dnd" })),
        React.createElement(Label_1.Label, null, "Size 100 Persona"),
        React.createElement(react_next_1.Persona, tslib_1.__assign({}, examplePersona, { size: react_next_1.PersonaSize.size100, presence: react_next_1.PersonaPresence.blocked, hidePersonaDetails: !renderDetails, imageAlt: "Annie Lindqvist, status is blocked" })),
        React.createElement(Label_1.Label, null, "Size 120 Persona"),
        React.createElement(react_next_1.Persona, tslib_1.__assign({}, examplePersona, { size: react_next_1.PersonaSize.size120, presence: react_next_1.PersonaPresence.away, hidePersonaDetails: !renderDetails, imageAlt: "Annie Lindqvist, status is away" }))));
};
//# sourceMappingURL=Persona.Basic.Example.js.map