import * as i0 from '@angular/core';
import { input, Component } from '@angular/core';
import { Card } from '@masterteam/components/card';
import { Avatar } from '@masterteam/components/avatar';

class StatisticCard {
    data = input.required(...(ngDevMode ? [{ debugName: "data" }] : []));
    static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: StatisticCard, deps: [], target: i0.ɵɵFactoryTarget.Component });
    static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.3", type: StatisticCard, isStandalone: true, selector: "mt-statistic-card", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<mt-card headless>\r\n  <div class=\"flex items-center gap-3 p-2\">\r\n    <mt-avatar\r\n      [style.--p-avatar-background]=\"'var(--p-' + data().color + '-100)'\"\r\n      [style.--p-avatar-color]=\"'var(--p-' + data().color + '-600)'\"\r\n      [icon]=\"data().icon\"\r\n      size=\"large\"\r\n      shape=\"square\"\r\n    ></mt-avatar>\r\n\r\n    <div class=\"flex flex-col gap-0.5\">\r\n      <span\r\n        class=\"text-lg font-semibold\"\r\n        [style.color]=\"'var(--p-' + data().color + '-600)'\"\r\n      >\r\n        {{ data().title }}\r\n      </span>\r\n      <span class=\"text-sm text-surface-500\">\r\n        {{ data().subTitle }}\r\n      </span>\r\n    </div>\r\n  </div>\r\n</mt-card>\r\n", styles: [""], dependencies: [{ kind: "component", type: Card, selector: "mt-card", inputs: ["class", "title", "paddingless"] }, { kind: "component", type: Avatar, selector: "mt-avatar", inputs: ["label", "icon", "image", "styleClass", "size", "shape", "badge", "badgeSize", "badgeSeverity"], outputs: ["onImageError"] }] });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: StatisticCard, decorators: [{
            type: Component,
            args: [{ selector: 'mt-statistic-card', standalone: true, imports: [Card, Avatar], template: "<mt-card headless>\r\n  <div class=\"flex items-center gap-3 p-2\">\r\n    <mt-avatar\r\n      [style.--p-avatar-background]=\"'var(--p-' + data().color + '-100)'\"\r\n      [style.--p-avatar-color]=\"'var(--p-' + data().color + '-600)'\"\r\n      [icon]=\"data().icon\"\r\n      size=\"large\"\r\n      shape=\"square\"\r\n    ></mt-avatar>\r\n\r\n    <div class=\"flex flex-col gap-0.5\">\r\n      <span\r\n        class=\"text-lg font-semibold\"\r\n        [style.color]=\"'var(--p-' + data().color + '-600)'\"\r\n      >\r\n        {{ data().title }}\r\n      </span>\r\n      <span class=\"text-sm text-surface-500\">\r\n        {{ data().subTitle }}\r\n      </span>\r\n    </div>\r\n  </div>\r\n</mt-card>\r\n" }]
        }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }] } });

/**
 * Generated bundle index. Do not edit.
 */

export { StatisticCard };
//# sourceMappingURL=masterteam-components-statistic-card.mjs.map
