import * as tslib_1 from "tslib";
import * as React from 'react';
import { css, classNamesFunction } from '../../../Utilities';
import { ActivityItem } from '../ActivityItem';
import { getStyles } from './ActivityItem.Example.styles';
import { TestImages } from '../../../common/TestImages';
import { Icon } from '../../../Icon';
var ActivityItemCompactExample = /** @class */ (function (_super) {
    tslib_1.__extends(ActivityItemCompactExample, _super);
    function ActivityItemCompactExample() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    ActivityItemCompactExample.prototype.render = function () {
        var getClassNames = classNamesFunction();
        var classNames = getClassNames(getStyles);
        var activityItemExamples = [
            {
                key: 1,
                activityDescription: [
                    React.createElement("span", { key: 1, className: css(classNames.nameText) }, "Tahlia Whittle"),
                    React.createElement("span", { key: 2 }, " edited this file")
                ],
                activityPersonas: [
                    {
                        imageUrl: TestImages.personaFemale
                    }
                ],
                isCompact: true
            },
            {
                key: 2,
                activityDescription: [
                    React.createElement("span", { key: 1, className: css(classNames.nameText) }, "Patrick Loton"),
                    React.createElement("span", { key: 2 }, " and "),
                    React.createElement("span", { key: 3, className: css(classNames.nameText) },
                        ' ',
                        "6 others")
                ],
                activityPersonas: [
                    {
                        imageInitials: 'PT',
                        text: 'Robert Larsson'
                    },
                    {
                        imageUrl: TestImages.personaMale
                    },
                    {
                        imageInitials: 'EC',
                        text: 'Eduarda Costa'
                    }
                ],
                isCompact: true
            },
            {
                key: 3,
                activityDescription: [
                    React.createElement("span", { key: 1, className: css(classNames.nameText) }, "Sabrina De Luca"),
                    React.createElement("span", { key: 2 }, " added this file")
                ],
                activityIcon: React.createElement(Icon, { iconName: 'Add' }),
                isCompact: true
            },
            {
                key: 4,
                activityDescription: [
                    React.createElement("span", { key: 1, className: css(classNames.nameText) }, "Chuan Rojumanong"),
                    React.createElement("span", { key: 2 }, " shared this file")
                ],
                activityIcon: React.createElement(Icon, { iconName: 'Share' }),
                isCompact: true
            }
        ];
        var activityExampleList = [];
        activityItemExamples.forEach(function (item) {
            var props = item;
            activityExampleList.push(React.createElement(ActivityItem, tslib_1.__assign({}, props, { key: item.key, className: css(classNames.exampleRoot) })));
        });
        return React.createElement("div", null, activityExampleList);
    };
    return ActivityItemCompactExample;
}(React.Component));
export { ActivityItemCompactExample };
//# sourceMappingURL=ActivityItem.Compact.Example.js.map