import { Injectable } from '@angular/core';
import { DEFAULT_CONFIG } from '../constant';
import * as i0 from "@angular/core";
export class ZUIToastDataService {
    constructor() {
        this.notifyItems = [];
        this.config = DEFAULT_CONFIG;
        this.setConfig = (config) => {
            this.config = Object.assign(Object.assign({}, this.config), config);
        };
        this.setNotifyItems = (notifyItems) => {
            this.notifyItems = notifyItems;
        };
    }
}
ZUIToastDataService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ZUIToastDataService_Factory() { return new ZUIToastDataService(); }, token: ZUIToastDataService, providedIn: "root" });
ZUIToastDataService.decorators = [
    { type: Injectable, args: [{ providedIn: 'root' },] }
];
//# sourceMappingURL=data.service.js.map