import { Component, Input } from '@angular/core';
export class SdQuickAction {
    constructor() {
        this.isOpened = false;
        this.open = () => {
            this.isOpened = true;
        };
        this.close = () => {
            this.isOpened = false;
        };
    }
}
SdQuickAction.decorators = [
    { type: Component, args: [{
                selector: 'sd-quick-action',
                template: "<div class=\"c-quick-action media align-items-center\" [ngClass]=\"{'active': isOpened}\">\r\n  <div class=\"media-body mr-16 text-grey\">\r\n    <ng-content select=\"[sdMessage]\"></ng-content>\r\n  </div>\r\n  <ng-content select=\"[sdAction]\"></ng-content>\r\n</div>",
                styles: [".c-quick-action{background-color:#fff;border-radius:4px;bottom:90px;box-shadow:0 .4px .8px rgba(0,0,0,.1),0 3px 6px rgba(0,0,0,.2);left:0;margin:auto;min-width:400px;opacity:0;pointer-events:none;position:fixed;right:0;transform:translate3d(0,100%,0);transition:all .2s ease-in-out;visibility:hidden;width:-webkit-max-content;width:-moz-max-content;width:max-content;z-index:99}.c-quick-action.active{opacity:1;pointer-events:all;transform:translateZ(0);visibility:visible}"]
            },] }
];
SdQuickAction.ctorParameters = () => [];
SdQuickAction.propDecorators = {
    isOpened: [{ type: Input }]
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVpY2stYWN0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJDOi9Vc2Vycy91c2VyL0RvY3VtZW50cy9saWItY29yZS11aS9wcm9qZWN0cy9zZC1jb3JlL3F1aWNrLWFjdGlvbi8iLCJzb3VyY2VzIjpbInNyYy9saWIvcXVpY2stYWN0aW9uLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQU9qRCxNQUFNLE9BQU8sYUFBYTtJQUV4QjtRQURTLGFBQVEsR0FBRyxLQUFLLENBQUM7UUFFMUIsU0FBSSxHQUFHLEdBQUcsRUFBRTtZQ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