var __extends = (this && this.__extends) || function (d, b) {
    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
    function __() { this.constructor = d; }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
define(["require", "exports", 'react', '../../../../index', '../../../../components/DocumentCard/DocumentCardActions', '../../../../components/DocumentCard/DocumentCardActivity', '../../../../components/DocumentCard/DocumentCardLocation', '../../../../components/DocumentCard/DocumentCardPreview', '../../../../components/DocumentCard/DocumentCardTitle'], function (require, exports, React, index_1, DocumentCardActions_1, DocumentCardActivity_1, DocumentCardLocation_1, DocumentCardPreview_1, DocumentCardTitle_1) {
    "use strict";
    var DocumentCardCompleteExample = (function (_super) {
        __extends(DocumentCardCompleteExample, _super);
        function DocumentCardCompleteExample() {
            _super.apply(this, arguments);
        }
        DocumentCardCompleteExample.prototype.render = function () {
            var previewProps = {
                previewImages: [
                    {
                        previewImageSrc: 'dist/document-preview.png',
                        iconSrc: 'dist/icon-ppt.png',
                        imageFit: index_1.ImageFit.cover,
                        width: 318,
                        height: 196,
                        accentColor: '#ce4b1f'
                    },
                    {
                        previewImageSrc: 'dist/document-preview2.png',
                        iconSrc: 'dist/icon-ppt.png',
                        imageFit: index_1.ImageFit.cover,
                        width: 318,
                        height: 196,
                        accentColor: '#ce4b1f'
                    },
                    {
                        previewImageSrc: 'dist/document-preview3.png',
                        iconSrc: 'dist/icon-ppt.png',
                        imageFit: index_1.ImageFit.cover,
                        width: 318,
                        height: 196,
                        accentColor: '#ce4b1f'
                    }
                ],
            };
            return (React.createElement(index_1.DocumentCard, {onClick: function () { console.log('You clicked the card.'); }}, React.createElement(DocumentCardPreview_1.DocumentCardPreview, React.__spread({}, previewProps)), React.createElement(DocumentCardLocation_1.DocumentCardLocation, {location: 'Marketing Documents', locationHref: 'http://microsoft.com', ariaLabel: 'Location, Marketing Documents'}), React.createElement(DocumentCardTitle_1.DocumentCardTitle, {title: 'Large_file_name_with_underscores_used_to_separate_all_of_the_words_and_there_are_so_many_words_it_needs_truncating.pptx +2', shouldTruncate: true}), React.createElement(DocumentCardActivity_1.DocumentCardActivity, {activity: 'Created Feb 23, 2016', people: [
                { name: 'Kat Larrson', profileImageSrc: 'dist/avatar-kat.png' },
                { name: 'Josh Hancock', profileImageSrc: '', initials: 'JH' },
                { name: 'Tina Dasani', profileImageSrc: 'dist/avatar-kat.png' }
            ]}), React.createElement(DocumentCardActions_1.DocumentCardActions, {actions: [
                { icon: 'share', onClick: function (ev) {
                        console.log('You clicked the share action.');
                        ev.preventDefault();
                        ev.stopPropagation();
                    }
                },
                { icon: 'pinLeft', onClick: function (ev) {
                        console.log('You clicked the pin action.');
                        ev.preventDefault();
                        ev.stopPropagation();
                    }
                },
                { icon: 'bell', onClick: function (ev) {
                        console.log('You clicked the bell action.');
                        ev.preventDefault();
                        ev.stopPropagation();
                    }
                },
            ], views: 432})));
        };
        return DocumentCardCompleteExample;
    }(React.Component));
    exports.DocumentCardCompleteExample = DocumentCardCompleteExample;
});
