import * as i0 from '@angular/core';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import * as i3 from 'angular-svg-icon';
import { AngularSvgIconModule } from 'angular-svg-icon';
import * as i1 from '@angular/material/icon';
import * as i2 from '@angular/platform-browser';

class MobiCloudIconsModule {
    constructor(matIconRegistry, domSanitizer, iconReg) {
        this.matIconRegistry = matIconRegistry;
        this.domSanitizer = domSanitizer;
        this.iconReg = iconReg;
        const image_prefix = "mobicloud_";
        const imageNames = [
            'add', 'apps', 'back', 'forward', 'no_img',
            'barcode', 'check_mark', 'check_mark_box', 'check_rounded', 'bullet',
            'click_and_collect', 'close', 'close_box',
            'collapse', 'company',
            'customer', 'data',
            'data_applications', 'delete',
            'employee', 'expand',
            'go_to', 'image_catalog',
            'inventory', 'journal',
            'asset', 'location',
            'lines', 'management',
            'module',
            'planning', 'product',
            'product_config', 'production',
            'profile', 'myprofile',
            'master_user', 'master_admin',
            'refresh', 'refresh_box',
            'sales', 'sales_order',
            'save', 'undo', 'service',
            'setup', 'system_user',
            'time_category', 'time_journal',
            'expand_arrows', 'collapse_arrows',
            'arrow_left', 'language',
            'edit', 'edit_box',
            'go_back', 'go_to',
            'logout', 'menu',
            'theme_dark', 'theme_default',
            'project', 'burger_menu', 'product_catalog',
            'password_visibility', 'password_visibility_off',
            'clear', 'more', 'add_circle', 'add_small', 'edit_small', 'remove_circle',
            'password_reset',
            'beacon', 'beacon_group', 'beacon_metadata', 'document_catalog', 'document_properties',
            'documents', 'filterchannel', 'gantview', 'images',
            'inventlocation', 'planboard', 'projecttask', 'serviceobject',
            'dimensiontype', 'package', 'picking', 'printer',
            'schema', 'shipment', 'sync',
            'batch', 'pallet', 'payroll_vendor', 'shipment_vendor', 'vendor',
            'journal_counting', 'journal_receiving', 'journal_transfer', 'transaction',
            'map', 'map_position', 'map_slides', 'planning_map',
            'debug', 'error', 'info', 'trace', 'warning', 'diagnostics', 'logfile',
            'absence', 'car', 'constructionworker', 'supplement',
            'approve', 'approve_journal', 'arrow_left_square', 'car_filled',
            'counting', 'download', 'download_document', 'finance',
            'holiday', 'import', 'keyboard', 'mobile_app',
            'toad', 'packagingbox', 'payroll', 'payroll_interval',
            'payroll_journal', 'purchase_order', 'payroll2', 'receive',
            'search', 'time', 'transfer', 'workrule', 'web_analysis',
            'milage_journal', 'payroll_category', 'currency', 'unit', 'email',
            'report', 'report_multi', 'dashboard',
            'zoom_in', 'zoom_out', 'settings',
            'workcenter', 'add_circle2', 'approved', 'attachment1', 'attachment2', 'attachment3',
            'barcode2', 'barcode3', 'barcode4', 'bar-code5', 'brands', 'category', 'checklist_settings', 'checklist1', 'checklist2',
            'checklist3', 'color1', 'color2', 'container', 'delivery_mode', 'delivery_term',
            'dollar_circle', 'download_document2', 'download_document3',
            'download2', 'download-pdf1', 'download-pdf2', 'email_sign', 'email2', 'email3',
            'email4', 'folder', 'inventory_obect1', 'inventory_obect2',
            'product_config', 'product_size', 'productgroup1', 'productgroup2', 'qr_code',
            'report2', 'report3', 'report4', 'sequence1', 'sequence2', 'size',
            'structure', 'tag', 'taskpart_approved', 'taskpart_completed', 'taskpart_created',
            'taskpart_invoiced', 'taskpart_started', 'time2', 'timeline1', 'timeline2', 'timeline3',
            'letter-color', 'package-color', 'pallet-color', 'pickingapp-color', 'fullscreen',
            'email_sign2', 'license', 'masteruser', 'organization', 'repository', 'server', 'software',
            'deadline', 'warning3', 'warning2', 'calendar', 'block', 'cross', 'warning-sign', 'warning1',
            'dollar-symbol', 'chat', 'bell', 'computer_worker', 'project_manager', 'managers', 'revenue',
            'capacity', 'progress', 'task-delegate', 'task_add', 'task_complete', 'task_plan', 'task',
            'giftcard', 'voucher', 'upload', 'upload2', 'play', 'onhand', 'onhand2',
            'inventory_app', 'service_app', 'comeandgo_app', 'webshop_app',
            'pallet_management_app', 'sales_app', 'mobimanagement_app', 'consignment_app',
            'loyaltyplus_app'
        ];
        for (const imageIndex in imageNames) {
            this.iconReg.loadSvg(`assets/svg/${imageNames[imageIndex]}.svg`, image_prefix + imageNames[imageIndex])?.subscribe();
            this.matIconRegistry.addSvgIcon(image_prefix + imageNames[imageIndex], this.domSanitizer.bypassSecurityTrustResourceUrl(`assets/svg/${imageNames[imageIndex]}.svg`));
        }
        this.iconReg.loadSvg(`assets/svg/mobicloud_logo.svg`, 'mobicloud_logo')?.subscribe();
        this.matIconRegistry.addSvgIcon('mobicloud_logo', this.domSanitizer.bypassSecurityTrustResourceUrl("assets/svg/mobicloud_logo.svg"));
        this.iconReg.loadSvg(`assets/svg/mobisolutions_logo.svg`, 'mobisolutions_logo')?.subscribe();
        this.matIconRegistry.addSvgIcon('mobisolutions_logo', this.domSanitizer.bypassSecurityTrustResourceUrl("assets/svg/mobisolutions_logo.svg"));
        this.iconReg.loadSvg(`assets/svg/mobisolutions_text.svg`, 'mobisolutions_text')?.subscribe();
        this.matIconRegistry.addSvgIcon('mobisolutions_text', this.domSanitizer.bypassSecurityTrustResourceUrl("assets/svg/mobisolutions_text.svg"));
    }
    static forRoot() {
        return {
            ngModule: MobiCloudIconsModule
        };
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MobiCloudIconsModule, deps: [{ token: i1.MatIconRegistry }, { token: i2.DomSanitizer }, { token: i3.SvgIconRegistryService }], target: i0.ɵɵFactoryTarget.NgModule }); }
    static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: MobiCloudIconsModule, imports: [CommonModule, i3.AngularSvgIconModule], exports: [AngularSvgIconModule] }); }
    static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MobiCloudIconsModule, imports: [CommonModule,
            AngularSvgIconModule.forRoot(), AngularSvgIconModule] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MobiCloudIconsModule, decorators: [{
            type: NgModule,
            args: [{
                    declarations: [],
                    imports: [
                        CommonModule,
                        AngularSvgIconModule.forRoot()
                    ],
                    exports: [AngularSvgIconModule]
                }]
        }], ctorParameters: () => [{ type: i1.MatIconRegistry }, { type: i2.DomSanitizer }, { type: i3.SvgIconRegistryService }] });

export { MobiCloudIconsModule };
//# sourceMappingURL=mobicloud-core-icons.mjs.map
