angular-matecu 2.0.7 → 2.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +29 -0
  2. package/{esm2015/angular-matecu.js → esm2020/angular-matecu.mjs} +0 -0
  3. package/{esm2015/lib/modules/matecu-alert-box/components/matecu-alert-box/matecu-alert-box.component.js → esm2020/lib/modules/matecu-alert-box/components/matecu-alert-box/matecu-alert-box.component.mjs} +5 -9
  4. package/esm2020/lib/modules/matecu-alert-box/components/matecu-alert-dialog/matecu-alert-dialog.component.mjs +51 -0
  5. package/esm2020/lib/modules/matecu-alert-box/components/matecu-alert-snack-bar/matecu-alert-snack-bar.component.mjs +41 -0
  6. package/esm2020/lib/modules/matecu-alert-box/matecu-alert-box.module.mjs +24 -0
  7. package/esm2020/lib/modules/matecu-alert-box/services/matecu-snack-bar.service.mjs +66 -0
  8. package/{esm2015/lib/modules/matecu-alert-box/types/matecu-alert-dialog.js → esm2020/lib/modules/matecu-alert-box/types/matecu-alert-dialog.mjs} +0 -0
  9. package/esm2020/lib/modules/matecu-alert-box/types/matecu-alert-snackbar.mjs +2 -0
  10. package/{esm2015/lib/modules/matecu-alert-box/types/matecu-altert-box-type.js → esm2020/lib/modules/matecu-alert-box/types/matecu-altert-box-type.mjs} +0 -0
  11. package/esm2020/lib/modules/matecu-spinner/components/matecu-spinner/matecu-spinner.component.mjs +57 -0
  12. package/{esm2015/lib/modules/matecu-spinner/matecu-spinner.module.js → esm2020/lib/modules/matecu-spinner/matecu-spinner.module.mjs} +4 -4
  13. package/{esm2015/lib/modules/matecu-spinner/services/matecu-spinner.service.js → esm2020/lib/modules/matecu-spinner/services/matecu-spinner.service.mjs} +3 -3
  14. package/{esm2015/lib/modules/matecu-topbar-layout/components/matecu-topbar-actions/matecu-topbar-actions.component.js → esm2020/lib/modules/matecu-topbar-layout/components/matecu-topbar-actions/matecu-topbar-actions.component.mjs} +5 -9
  15. package/{esm2015/lib/modules/matecu-topbar-layout/components/matecu-topbar-body/matecu-topbar-body.component.js → esm2020/lib/modules/matecu-topbar-layout/components/matecu-topbar-body/matecu-topbar-body.component.mjs} +5 -9
  16. package/{esm2015/lib/modules/matecu-topbar-layout/components/matecu-topbar-fab/matecu-topbar-fab.component.js → esm2020/lib/modules/matecu-topbar-layout/components/matecu-topbar-fab/matecu-topbar-fab.component.mjs} +5 -9
  17. package/esm2020/lib/modules/matecu-topbar-layout/components/matecu-topbar-layout/matecu-topbar-layout.component.mjs +99 -0
  18. package/esm2020/lib/modules/matecu-topbar-layout/components/matecu-topbar-search/matecu-topbar-search.component.mjs +81 -0
  19. package/{esm2015/lib/modules/matecu-topbar-layout/components/matecu-topbar-title/matecu-topbar-title.component.js → esm2020/lib/modules/matecu-topbar-layout/components/matecu-topbar-title/matecu-topbar-title.component.mjs} +5 -9
  20. package/{esm2015/lib/modules/matecu-topbar-layout/matecu-topbar-layout.module.js → esm2020/lib/modules/matecu-topbar-layout/matecu-topbar-layout.module.mjs} +4 -4
  21. package/esm2020/public-api.mjs +30 -0
  22. package/fesm2015/angular-matecu.mjs +668 -0
  23. package/fesm2015/angular-matecu.mjs.map +1 -0
  24. package/{fesm2015/angular-matecu.js → fesm2020/angular-matecu.mjs} +154 -93
  25. package/fesm2020/angular-matecu.mjs.map +1 -0
  26. package/lib/modules/matecu-alert-box/components/matecu-alert-snack-bar/matecu-alert-snack-bar.component.d.ts +20 -0
  27. package/lib/modules/matecu-alert-box/matecu-alert-box.module.d.ts +7 -5
  28. package/lib/modules/matecu-alert-box/services/matecu-snack-bar.service.d.ts +17 -0
  29. package/lib/modules/matecu-alert-box/types/matecu-alert-snackbar.d.ts +7 -0
  30. package/package.json +23 -10
  31. package/public-api.d.ts +2 -0
  32. package/bundles/angular-matecu.umd.js +0 -681
  33. package/bundles/angular-matecu.umd.js.map +0 -1
  34. package/esm2015/lib/modules/matecu-alert-box/components/matecu-alert-dialog/matecu-alert-dialog.component.js +0 -55
  35. package/esm2015/lib/modules/matecu-alert-box/matecu-alert-box.module.js +0 -23
  36. package/esm2015/lib/modules/matecu-spinner/components/matecu-spinner/matecu-spinner.component.js +0 -61
  37. package/esm2015/lib/modules/matecu-topbar-layout/components/matecu-topbar-layout/matecu-topbar-layout.component.js +0 -103
  38. package/esm2015/lib/modules/matecu-topbar-layout/components/matecu-topbar-search/matecu-topbar-search.component.js +0 -85
  39. package/esm2015/public-api.js +0 -28
  40. package/fesm2015/angular-matecu.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"angular-matecu.mjs","sources":["../../../projects/angular-matecu/src/lib/modules/matecu-spinner/services/matecu-spinner.service.ts","../../../projects/angular-matecu/src/lib/modules/matecu-spinner/components/matecu-spinner/matecu-spinner.component.ts","../../../projects/angular-matecu/src/lib/modules/matecu-spinner/components/matecu-spinner/matecu-spinner.component.html","../../../projects/angular-matecu/src/lib/modules/matecu-spinner/matecu-spinner.module.ts","../../../projects/angular-matecu/src/lib/modules/matecu-topbar-layout/components/matecu-topbar-layout/matecu-topbar-layout.component.ts","../../../projects/angular-matecu/src/lib/modules/matecu-topbar-layout/components/matecu-topbar-layout/matecu-topbar-layout.component.html","../../../projects/angular-matecu/src/lib/modules/matecu-topbar-layout/components/matecu-topbar-title/matecu-topbar-title.component.ts","../../../projects/angular-matecu/src/lib/modules/matecu-topbar-layout/components/matecu-topbar-title/matecu-topbar-title.component.html","../../../projects/angular-matecu/src/lib/modules/matecu-topbar-layout/components/matecu-topbar-body/matecu-topbar-body.component.ts","../../../projects/angular-matecu/src/lib/modules/matecu-topbar-layout/components/matecu-topbar-body/matecu-topbar-body.component.html","../../../projects/angular-matecu/src/lib/modules/matecu-topbar-layout/components/matecu-topbar-fab/matecu-topbar-fab.component.ts","../../../projects/angular-matecu/src/lib/modules/matecu-topbar-layout/components/matecu-topbar-fab/matecu-topbar-fab.component.html","../../../projects/angular-matecu/src/lib/modules/matecu-topbar-layout/components/matecu-topbar-search/matecu-topbar-search.component.ts","../../../projects/angular-matecu/src/lib/modules/matecu-topbar-layout/components/matecu-topbar-search/matecu-topbar-search.component.html","../../../projects/angular-matecu/src/lib/modules/matecu-topbar-layout/components/matecu-topbar-actions/matecu-topbar-actions.component.ts","../../../projects/angular-matecu/src/lib/modules/matecu-topbar-layout/components/matecu-topbar-actions/matecu-topbar-actions.component.html","../../../projects/angular-matecu/src/lib/modules/matecu-topbar-layout/matecu-topbar-layout.module.ts","../../../projects/angular-matecu/src/lib/modules/matecu-alert-box/types/matecu-altert-box-type.ts","../../../projects/angular-matecu/src/lib/modules/matecu-alert-box/components/matecu-alert-box/matecu-alert-box.component.ts","../../../projects/angular-matecu/src/lib/modules/matecu-alert-box/components/matecu-alert-box/matecu-alert-box.component.html","../../../projects/angular-matecu/src/lib/modules/matecu-alert-box/components/matecu-alert-dialog/matecu-alert-dialog.component.ts","../../../projects/angular-matecu/src/lib/modules/matecu-alert-box/components/matecu-alert-dialog/matecu-alert-dialog.component.html","../../../projects/angular-matecu/src/lib/modules/matecu-alert-box/components/matecu-alert-snack-bar/matecu-alert-snack-bar.component.ts","../../../projects/angular-matecu/src/lib/modules/matecu-alert-box/components/matecu-alert-snack-bar/matecu-alert-snack-bar.component.html","../../../projects/angular-matecu/src/lib/modules/matecu-alert-box/matecu-alert-box.module.ts","../../../projects/angular-matecu/src/lib/modules/matecu-alert-box/services/matecu-snack-bar.service.ts","../../../projects/angular-matecu/src/public-api.ts","../../../projects/angular-matecu/src/angular-matecu.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { BehaviorSubject, Observable } from 'rxjs';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MatecuSpinnerService {\n private active$ = new BehaviorSubject<boolean>(false);\n private requestsKeys: string[] = [];\n constructor() {}\n\n watch(): Observable<boolean> {\n return this.active$.pipe();\n }\n add(customKey?: string): string {\n const key = (typeof(customKey) === 'string' && customKey.length > 0) ? customKey : this.createKey();\n this.requestsKeys.push(key);\n this.updateStatus();\n return key;\n }\n remove(key: string): void {\n this.requestsKeys = this.requestsKeys.filter(\n (requestKey) => requestKey !== key\n );\n this.updateStatus();\n }\n clear(): void {\n this.requestsKeys = [];\n this.updateStatus();\n }\n private updateStatus(): void {\n const active = this.requestsKeys.length > 0;\n this.active$.next(active);\n }\n private createKey(): string {\n const time = new Date().getTime();\n const complement = Math.random();\n return `${time}__${complement}`;\n }\n}\n","import { Component, HostBinding, Input, OnDestroy, OnInit } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { MatecuSpinnerService } from '../../services/matecu-spinner.service';\nimport { takeUntil, tap } from 'rxjs/operators';\n@Component({\n selector: 'matecu-spinner',\n templateUrl: './matecu-spinner.component.html',\n styleUrls: ['./matecu-spinner.component.css']\n})\nexport class MatecuSpinnerComponent implements OnInit, OnDestroy {\n\n private destroy$ = new Subject();\n private hiddenClass = 'matecu-spinner--hidden';\n private activeCache = false;\n @HostBinding('class') className = 'matecu-spinner';\n @Input() color = '#2196F3';\n @Input() global = false;\n get active(): boolean{\n return this.activeCache;\n }\n @Input() set active(value: boolean) {\n if (this.global) {\n return;\n }\n this.activeCache = value;\n this.className = value\n ? this.className.replace(` ${this.hiddenClass}`, '')\n : (this.className += ` ${this.hiddenClass}`);\n }\n @Input() size = '70px';\n\n constructor(\n private spinnerService: MatecuSpinnerService,\n ) {}\n ngOnDestroy(): void {\n this.destroy$.next();\n this.destroy$.complete();\n }\n ngOnInit(): void {\n if (this.global) {\n this.spinnerService.watch().pipe(\n tap(value => this.activeCache = value),\n takeUntil(this.destroy$)\n ).subscribe();\n }\n }\n}\n","<ng-container *ngIf=\"active\">\n <svg xmlns:svg=\"http://www.w3.org/2000/svg\" [attr.width]=\"size\" [attr.height]=\"size\"\n xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.0\" viewBox=\"0 0 128 128\" xml:space=\"preserve\">\n <rect x=\"0\" y=\"0\" width=\"100%\" height=\"100%\" fill=\"transparent\" />\n <g>\n <path class=\"matecu-spinner__100\" d=\"M122.5 69.25H96.47a33.1 33.1 0 0 0 0-10.5h26.05a5.25 5.25 0 0 1 0 10.5z\" [attr.fill]=\"color\"\n fill-opacity=\"1\" />\n <path class=\"matecu-spinner__30\" d=\"M112.04 97.83L89.47 84.8a33.1 33.1 0 0 0 5.25-9.1l22.57 13.03a5.25 5.25 0 0 1-5.28 9.1z\" [attr.fill]=\"color\"\n fill-opacity=\"0.3\" />\n <path class=\"matecu-spinner__30\" d=\"M88.68 117.35L75.65 94.78a33.1 33.1 0 0 0 9.1-5.25l13.02 22.57a5.25 5.25 0 1 1-9.1 5.25z\"\n [attr.fill]=\"color\" fill-opacity=\"0.3\" />\n <path class=\"matecu-spinner__30\" d=\"M58.7 122.57V96.5a33.1 33.1 0 0 0 10.5 0v26.07a5.25 5.25 0 0 1-10.5 0z\" [attr.fill]=\"color\"\n fill-opacity=\"0.3\" />\n <path class=\"matecu-spinner__30\" d=\"M30.1 112.1l13.04-22.57a33.1 33.1 0 0 0 9.1 5.25L39.2 117.35a5.25 5.25 0 1 1-9.1-5.25z\" [attr.fill]=\"color\"\n fill-opacity=\"0.3\" />\n <path class=\"matecu-spinner__30\" d=\"M10.6 88.74L33.16 75.7a33.1 33.1 0 0 0 5.25 9.1L15.88 97.83a5.25 5.25 0 1 1-5.25-9.1z\" [attr.fill]=\"color\"\n fill-opacity=\"0.3\" />\n <path class=\"matecu-spinner__40\" d=\"M5.37 58.75h26.06a33.1 33.1 0 0 0 0 10.5H5.37a5.25 5.25 0 0 1 0-10.5z\" [attr.fill]=\"color\"\n fill-opacity=\"0.4\" />\n <path class=\"matecu-spinner__50\" d=\"M15.85 30.17L38.4 43.2a33.1 33.1 0 0 0-5.24 9.1L10.6 39.25a5.25 5.25 0 1 1 5.25-9.1z\" [attr.fill]=\"color\"\n fill-opacity=\"0.5\" />\n <path class=\"matecu-spinner__60\" d=\"M39.2 10.65l13.03 22.57a33.1 33.1 0 0 0-9.1 5.25l-13-22.57a5.25 5.25 0 1 1 9.1-5.25z\" [attr.fill]=\"color\"\n fill-opacity=\"0.6\" />\n <path class=\"matecu-spinner__70\" d=\"M69.2 5.43V31.5a33.1 33.1 0 0 0-10.5 0V5.42a5.25 5.25 0 1 1 10.5 0z\" [attr.fill]=\"color\"\n fill-opacity=\"0.7\" />\n <path class=\"matecu-spinner__80\" d=\"M97.77 15.9L84.75 38.47a33.1 33.1 0 0 0-9.1-5.25l13.03-22.57a5.25 5.25 0 1 1 9.1 5.25z\" [attr.fill]=\"color\"\n fill-opacity=\"0.8\" />\n <path class=\"matecu-spinner__90\" d=\"M117.3 39.26L94.7 52.3a33.1 33.1 0 0 0-5.25-9.1l22.57-13.03a5.25 5.25 0 0 1 5.25 9.1z\" [attr.fill]=\"color\"\n fill-opacity=\"0.9\" />\n <animateTransform attributeName=\"transform\" type=\"rotate\"\n values=\"0 64 64;30 64 64;60 64 64;90 64 64;120 64 64;150 64 64;180 64 64;210 64 64;240 64 64;270 64 64;300 64 64;330 64 64\"\n calcMode=\"discrete\" dur=\"600ms\" repeatCount=\"indefinite\"></animateTransform>\n </g>\n</svg>\n</ng-container>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatecuSpinnerComponent } from './components/matecu-spinner/matecu-spinner.component';\nimport { MatecuSpinnerService } from './services/matecu-spinner.service';\n\n\n\n@NgModule({\n declarations: [MatecuSpinnerComponent],\n imports: [\n CommonModule\n ],\n exports: [\n MatecuSpinnerComponent\n ]\n})\nexport class MatecuSpinnerModule { }\n","import {\n AfterViewInit,\n Component,\n ElementRef,\n EventEmitter,\n HostBinding,\n Input,\n OnInit,\n Output,\n ViewChild,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { ParamMap } from '@angular/router';\nimport { fromEvent, Observable, of } from 'rxjs';\nimport { map, tap } from 'rxjs/operators';\n@Component({\n selector: 'matecu-topbar-layout',\n templateUrl: './matecu-topbar-layout.component.html',\n styleUrls: ['./matecu-topbar-layout.component.scss'],\n})\nexport class MatecuTopbarLayoutComponent implements AfterViewInit {\n @HostBinding('class') className = 'matecu-topbar-layout';\n showSearchInput = false;\n search = false;\n searchInput: FormControl = new FormControl();\n isProminent = false;\n private scrollingClass = 'matecu-topbar-layout--scrolling';\n private prominentClass = 'matecu-topbar-layout--prominent';\n @Input() color = 'primary';\n @Input() navMenu = true;\n @Input() actionMenu = false;\n @Output() clickNavMenu = new EventEmitter<void>();\n @Output() clickActionMenu = new EventEmitter<void>();\n @Input() set prominent(value: boolean) {\n this.isProminent = value;\n if (value) {\n this.className += ' ' + this.prominentClass;\n } else {\n const regex = new RegExp(this.prominentClass, 'ig');\n this.className = this.className.replace(regex, '').trim();\n }\n }\n constructor() {}\n\n ngAfterViewInit(): void {\n this.spyScroll().subscribe();\n }\n\n toogleSearch(): void {\n this.showSearchInput = !this.showSearchInput;\n }\n closeSearch(): void {\n this.showSearchInput = false;\n this.searchInput.reset();\n }\n onMenuClick(): void {}\n onClickNavMenu(): void {\n this.clickNavMenu.emit();\n }\n onClickActionMenu(): void {\n this.clickActionMenu.emit();\n }\n spyScroll(): Observable<HTMLElement | null> {\n const scrollabe: HTMLElement | null = document.querySelector(\n '.matecu-topbar-body'\n );\n if (!scrollabe) {\n return of(null);\n }\n return fromEvent(scrollabe, 'scroll').pipe(\n tap(() => this.applyScrollStyles(scrollabe)),\n map(() => scrollabe)\n );\n }\n applyScrollStyles(scrollabe: HTMLElement): void {\n if (!scrollabe) {\n return;\n }\n const maxScrollHeight = scrollabe.scrollHeight;\n const screenHeight = screen.availHeight;\n if (screenHeight > maxScrollHeight) {\n return;\n }\n const scrollPosition = scrollabe.scrollTop;\n if (scrollPosition > 20) {\n this.className += ' ' + this.scrollingClass;\n }\n if (scrollPosition < 10) {\n const regexp = new RegExp(this.scrollingClass, 'ig');\n this.className = this.className.replace(regexp, '').trim();\n }\n }\n}\n"," <mat-toolbar [color]=\"color\">\n <ng-container *ngIf=\"navMenu\">\n <div class=\"matecu-topbar-layout__menu-btn\">\n <button mat-icon-button type=\"button\" (click)=\"onClickNavMenu()\">\n <mat-icon>menu</mat-icon>\n </button>\n </div>\n </ng-container>\n <ng-content select=\"matecu-topbar-fab\"></ng-content>\n <ng-content select=\"matecu-topbar-title\"></ng-content>\n <ng-content select=\"matecu-topbar-search\"></ng-content>\n <ng-content select=\"matecu-topbar-actions\"></ng-content>\n <ng-container *ngIf=\"actionMenu\">\n <div class=\"matecu-topbar-layout__more-actions-btn\">\n <button type=\"button\" (click)=\"onClickActionMenu()\" mat-icon-button>\n <mat-icon>more_vert</mat-icon>\n </button>\n </div>\n </ng-container>\n\n\n </mat-toolbar>\n <ng-content select=\"matecu-topbar-body\"></ng-content>\n","import { Component, HostBinding, OnInit } from '@angular/core';\n\n@Component({\n selector: 'matecu-topbar-title',\n templateUrl: './matecu-topbar-title.component.html',\n styleUrls: ['./matecu-topbar-title.component.scss']\n})\nexport class MatecuTopbarTitleComponent implements OnInit {\n\n @HostBinding('class') className = 'title';\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n","<ng-content></ng-content>","import { Component, ElementRef, HostBinding, OnInit } from '@angular/core';\n\n@Component({\n selector: 'matecu-topbar-body',\n templateUrl: './matecu-topbar-body.component.html',\n styleUrls: ['./matecu-topbar-body.component.scss'],\n})\nexport class MatecuTopbarBodyComponent implements OnInit {\n @HostBinding('class') className = 'matecu-topbar-body';\n constructor(private elementRef: ElementRef) {}\n\n ngOnInit(): void {}\n\n scrollTop(): void {\n const element = this.elementRef.nativeElement;\n if (!!element) {\n element.scroll({\n top: 0,\n behavior: 'smooth',\n });\n }\n }\n}\n","<ng-content></ng-content>","import {\n Component,\n EventEmitter,\n HostBinding,\n Input,\n OnInit,\n Output,\n} from '@angular/core';\n\n@Component({\n selector: 'matecu-topbar-fab',\n templateUrl: './matecu-topbar-fab.component.html',\n styleUrls: ['./matecu-topbar-fab.component.scss'],\n})\nexport class MatecuTopbarFabComponent implements OnInit {\n @Input() color = 'accent';\n @Input() extended = false;\n @Output() clickAction = new EventEmitter<void>();\n constructor() {}\n\n @HostBinding('class') className = 'matecu-topbar-fab';\n ngOnInit(): void {}\n\n onClickAction(): void {\n this.clickAction.emit();\n }\n}\n"," <button type=\"button\" mat-fab [ngClass]=\"{'extended': extended}\" [color]=\"color\" (click)=\"onClickAction()\">\n <ng-content></ng-content>\n </button>\n","import {\n Component,\n EventEmitter,\n HostBinding,\n Input,\n OnInit,\n Output,\n ViewEncapsulation,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { Subject } from 'rxjs';\nimport {\n debounceTime,\n distinctUntilChanged,\n takeUntil,\n tap,\n} from 'rxjs/operators';\n\n@Component({\n selector: 'matecu-topbar-search',\n templateUrl: './matecu-topbar-search.component.html',\n styleUrls: ['./matecu-topbar-search.component.scss'],\n})\nexport class MatecuTopbarSearchComponent implements OnInit {\n showMobileInput = false;\n searchInput = new FormControl();\n showDescktopCleanBtn = false;\n private destroy = new Subject();\n @Input() searchPlaceholder = 'Buscar';\n @Input() debounceTime = 500;\n @Input() inputType: 'text' | 'search' = 'text';\n @Input() cleanWhenClose = true;\n @Input() set value(val: string | null | undefined) {\n if (typeof val === 'string') {\n this.searchInput.setValue(val);\n } else {\n this.searchInput.reset();\n }\n }\n @Output() valueChange = new EventEmitter<string>();\n @Output() whenSearchChanges = new EventEmitter<string>();\n @HostBinding('class') className = 'matecu-topbar-search';\n constructor() {}\n\n ngOnInit(): void {\n this.watchSearch();\n }\n\n toogleSearch(): void {\n this.showMobileInput = !this.showMobileInput;\n }\n closeMobile(): void {\n if (this.cleanWhenClose) {\n this.searchInput.reset();\n }\n this.showMobileInput = false;\n }\n\n private watchSearch(): void {\n this.searchInput.valueChanges\n .pipe(\n tap((value) => this.setShowDescktopCleanBtn(value)),\n debounceTime(this.debounceTime),\n distinctUntilChanged(),\n tap((value) => this.searchChanges(value)),\n takeUntil(this.destroy)\n )\n .subscribe();\n }\n private searchChanges(searchVal?: string | null): void {\n const value =\n typeof searchVal === 'string' && searchVal.length > 0 ? searchVal : '';\n this.whenSearchChanges.emit(value);\n this.valueChange.emit(value);\n }\n private setShowDescktopCleanBtn(value: string | null | undefined): void {\n this.showDescktopCleanBtn = typeof value === 'string' && value.length > 0;\n }\n}\n","<button mat-icon-button class=\"only-mobile\" (click)=\"toogleSearch()\">\n <mat-icon>search</mat-icon>\n</button>\n\n<div class=\"matecu-topbar-search__input\" [ngClass]=\"{'mobile-input-active': showMobileInput}\">\n <mat-icon>search</mat-icon>\n <input [type]=\"inputType\" [formControl]=\"searchInput\" [placeholder]=\"searchPlaceholder\" />\n <button mat-icon-button (click)=\"closeMobile()\" [ngClass]=\"{'show-btn': showDescktopCleanBtn}\">\n <mat-icon>close</mat-icon>\n </button>\n\n</div>\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'matecu-topbar-actions',\n templateUrl: './matecu-topbar-actions.component.html',\n styleUrls: ['./matecu-topbar-actions.component.scss'],\n})\nexport class MatecuTopbarActionsComponent implements OnInit {\n constructor() {}\n\n ngOnInit(): void {}\n}\n","<ng-content></ng-content>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatecuTopbarLayoutComponent } from './components/matecu-topbar-layout/matecu-topbar-layout.component';\nimport { MatecuTopbarTitleComponent } from './components/matecu-topbar-title/matecu-topbar-title.component';\nimport { MatecuTopbarBodyComponent } from './components/matecu-topbar-body/matecu-topbar-body.component';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { MatIconModule } from '@angular/material/icon';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatecuTopbarFabComponent } from './components/matecu-topbar-fab/matecu-topbar-fab.component';\nimport { MatecuTopbarSearchComponent } from './components/matecu-topbar-search/matecu-topbar-search.component';\nimport { MatecuTopbarActionsComponent } from './components/matecu-topbar-actions/matecu-topbar-actions.component';\n\n@NgModule({\n declarations: [\n MatecuTopbarLayoutComponent,\n MatecuTopbarTitleComponent,\n MatecuTopbarBodyComponent,\n MatecuTopbarFabComponent,\n MatecuTopbarSearchComponent,\n MatecuTopbarActionsComponent,\n ],\n imports: [\n CommonModule,\n MatToolbarModule,\n MatIconModule,\n FormsModule,\n ReactiveFormsModule,\n MatButtonModule,\n ],\n exports: [\n MatecuTopbarLayoutComponent,\n MatecuTopbarTitleComponent,\n MatecuTopbarBodyComponent,\n MatecuTopbarFabComponent,\n MatecuTopbarSearchComponent,\n MatecuTopbarActionsComponent,\n ],\n})\nexport class MatecuTopbarLayoutModule {}\n","export enum MatecuAlertBoxType {\n warning = 'warning',\n success = 'success',\n danger = 'danger',\n info = 'info',\n}\n","import { Component, HostBinding, Input, OnInit } from '@angular/core';\nimport { MatecuAlertBoxType } from '../../types/matecu-altert-box-type';\n\n@Component({\n selector: 'matecu-alert-box',\n templateUrl: './matecu-alert-box.component.html',\n styleUrls: ['./matecu-alert-box.component.scss'],\n})\nexport class MatecuAlertBoxComponent implements OnInit {\n classNameBase = 'matecu-alert-box';\n alertColor?: MatecuAlertBoxType | undefined | string | null;\n iconValue?: string | null | undefined;\n private alertIcon = false;\n get color(): MatecuAlertBoxType | undefined | string | null {\n return this.alertColor;\n }\n @Input() set color(value: MatecuAlertBoxType | undefined | string | null) {\n this.alertColor = value;\n if (!!value) {\n this.className = `${this.classNameBase} ${this.classNameBase}--${value}`;\n } else {\n this.className = this.classNameBase;\n }\n this.updateIcon();\n }\n get icon(): boolean {\n return this.alertIcon;\n }\n @Input() set icon(value: boolean) {\n this.alertIcon = value;\n }\n @HostBinding('class') className = this.classNameBase;\n constructor() {}\n\n ngOnInit(): void {}\n\n private updateIcon(): void {\n switch (this.color) {\n case MatecuAlertBoxType.danger:\n this.iconValue = 'dangerous';\n break;\n case MatecuAlertBoxType.warning:\n this.iconValue = 'warning';\n break;\n case MatecuAlertBoxType.success:\n this.iconValue = 'check_circle';\n break;\n case MatecuAlertBoxType.info:\n this.iconValue = 'info';\n break;\n default:\n this.iconValue = null;\n break;\n }\n }\n}\n","<ng-container *ngIf=\"icon && iconValue\">\n <div class=\"matecu-alert-box__icon\">\n <mat-icon>{{iconValue}}</mat-icon>\n </div>\n</ng-container>\n<div class=\"matecu-alert-box__content\">\n <ng-content>\n\n\n </ng-content>\n</div>\n","import { Component, Inject, OnInit } from '@angular/core';\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\nimport { MatecuAlertDialogData } from '../../types/matecu-alert-dialog';\n@Component({\n selector: 'matecu-alert-dialog',\n templateUrl: './matecu-alert-dialog.component.html',\n styleUrls: ['./matecu-alert-dialog.component.scss'],\n})\nexport class MatecuAlertDialogComponent implements OnInit {\n hasTitle = false;\n hasDismissBtn = false;\n hasActionBtn = false;\n showActions = false;\n constructor(\n @Inject(MAT_DIALOG_DATA) public dialogData: MatecuAlertDialogData,\n public dialogRef: MatDialogRef<MatecuAlertDialogComponent>\n ) {\n this.setHasTitle();\n this.setHasDismissBtn();\n this.setHasActionBtn();\n this.setShowActions();\n }\n\n ngOnInit(): void {}\n\n activateAction(): void {\n this.dialogRef.close(true);\n }\n\n private setHasTitle(): void {\n this.hasTitle = this.isValidString(this.dialogData.title);\n }\n private setHasDismissBtn(): void {\n this.hasDismissBtn = this.isValidString(this.dialogData.dismissText);\n }\n\n private setHasActionBtn(): void {\n this.hasActionBtn = this.isValidString(this.dialogData.action);\n }\n private setShowActions(): void {\n this.showActions = this.hasActionBtn || this.hasDismissBtn;\n }\n private isValidString(str: string | null | undefined): boolean {\n const isValid = typeof str === 'string' && str.trim().length > 0;\n return isValid;\n }\n}\n","<h2 mat-dialog-title *ngIf=\"hasTitle\">{{dialogData.title}}</h2>\n<mat-dialog-content>\n\n <matecu-alert-box [color]=\"dialogData.type\" [icon]=\"!!dialogData.icon\">\n {{dialogData.message}}\n </matecu-alert-box>\n\n</mat-dialog-content>\n<mat-dialog-actions *ngIf=\"showActions\" align=\"end\">\n <button mat-button color=\"primary\" tabindex=\"-1\" mat-dialog-close\n *ngIf=\"hasDismissBtn\">{{dialogData.dismissText}}</button>\n <button mat-button color=\"primary\" tabindex=\"-2\" (click)=\"activateAction()\"\n *ngIf=\"hasActionBtn\">{{dialogData.action}}</button>\n</mat-dialog-actions>\n","import { Component, HostBinding, Inject, OnInit } from '@angular/core';\nimport { MatSnackBarRef, MAT_SNACK_BAR_DATA } from '@angular/material/snack-bar';\nimport { MatecuAlertSnackBarData } from '../../types/matecu-alert-snackbar';\nimport { MatecuAlertBoxType } from '../../types/matecu-altert-box-type';\n\n@Component({\n selector: 'matecu-alert-snack-bar',\n templateUrl: './matecu-alert-snack-bar.component.html',\n styleUrls: ['./matecu-alert-snack-bar.component.scss']\n})\nexport class MatecuAlertSnackBarComponent {\n\n title: string;\n message: string;\n action?: string;\n classNameBase = 'matecu-alert-snackbar';\n alertColor!: MatecuAlertBoxType ;\n get color(): MatecuAlertBoxType {\n return this.alertColor;\n }\n set color(value: MatecuAlertBoxType ) {\n this.alertColor = value;\n this.className = `${this.classNameBase} ${this.classNameBase}--${value}`;\n }\n @HostBinding('class') className = this.classNameBase;\n constructor(\n @Inject(MAT_SNACK_BAR_DATA) public data: MatecuAlertSnackBarData,\n private snackBarRef: MatSnackBarRef<MatecuAlertSnackBarComponent>) { \n this.title = data.title;\n this.message = data.message;\n this.action = data.action;\n this.color = data.type;\n\n }\n\n dismiss():void {\n this.snackBarRef.dismissWithAction();\n }\n\n\n}\n","<div>\n <strong>{{title}}</strong> &nbsp;\n <span>{{message}}</span>\n</div>\n<div *ngIf=\"!!action?.length\">\n\n <button mat-button color=\"accent\" (click)=\"dismiss()\">{{action}}</button>\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatecuAlertBoxComponent } from './components/matecu-alert-box/matecu-alert-box.component';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatecuAlertDialogComponent } from './components/matecu-alert-dialog/matecu-alert-dialog.component';\nimport { MatDialogModule } from '@angular/material/dialog';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatSnackBarModule } from '@angular/material/snack-bar';\nimport { MatecuAlertSnackBarComponent } from './components/matecu-alert-snack-bar/matecu-alert-snack-bar.component';\n\n@NgModule({\n declarations: [MatecuAlertBoxComponent, MatecuAlertDialogComponent, MatecuAlertSnackBarComponent],\n imports: [CommonModule, MatIconModule, MatDialogModule, MatButtonModule, MatSnackBarModule],\n exports: [MatecuAlertBoxComponent]\n})\nexport class MatecuAlertBoxModule {}\n","import { Injectable } from '@angular/core';\nimport { MatSnackBar, MatSnackBarConfig, MatSnackBarRef, TextOnlySnackBar } from '@angular/material/snack-bar';\nimport { MatecuAlertSnackBarComponent } from '../components/matecu-alert-snack-bar/matecu-alert-snack-bar.component';\nimport { MatecuAlertSnackBarData } from '../types/matecu-alert-snackbar';\nimport { MatecuAlertBoxType } from '../types/matecu-altert-box-type';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class MatecuSnackBarService {\n\n constructor(private snackBar: MatSnackBar) { }\n\n\n\n openError(error: string | Error, title?: string | null, action?: string, config?:MatSnackBarConfig<any>): MatSnackBarRef<MatecuAlertSnackBarComponent> {\n const message = this.getErrorMessage(error);\n const titleStr = title || 'ERROR';\n const type = MatecuAlertBoxType.danger;\n return this.openAlert(message, titleStr, type, action, config);\n }\n openSuccess(message: string, title?: string | null, action?: string, config?:MatSnackBarConfig<any>): MatSnackBarRef<MatecuAlertSnackBarComponent> {\n const titleStr = title || 'OK';\n const type = MatecuAlertBoxType.success;\n return this.openAlert(message, titleStr, type, action, config);\n }\n openWarning(message: string, title?: string | null, action?: string, config?:MatSnackBarConfig<any>): MatSnackBarRef<MatecuAlertSnackBarComponent> {\n const titleStr = title || 'WARNING';\n const type = MatecuAlertBoxType.warning;\n return this.openAlert(message, titleStr, type, action, config);\n }\n openInfo(message: string, title?: string | null, action?: string, config?:MatSnackBarConfig<any>): MatSnackBarRef<MatecuAlertSnackBarComponent> {\n const titleStr = title || 'INFO';\n const type = MatecuAlertBoxType.info;\n return this.openAlert(message, titleStr, type, action, config);\n }\n open(message: string, action?: string, config?: MatSnackBarConfig<any>): MatSnackBarRef<TextOnlySnackBar> {\n return this.snackBar.open(message, action,config);\n }\n dismiss(): void {\n this.snackBar.dismiss()\n }\n private openAlert(message: string, title: string, type: MatecuAlertBoxType, action?: string, config?:MatSnackBarConfig<any> ) {\n\n const data: MatecuAlertSnackBarData = {\n message,\n title,\n action,\n type\n }\n const dialogConfig = {...config, data}\n \n return this.snackBar.openFromComponent(MatecuAlertSnackBarComponent, dialogConfig);\n }\n\n private getErrorMessage(err: string | Error ): string {\n const error = new Error()\n if (typeof err === 'string') {\n return err;\n }\n if (err instanceof Error) {\n return err.message;\n }\n return '';\n }\n}\n","/*\n * Public API Surface of angular-matecu\n */\n\n/**\n * Modulo spinner\n */\nexport * from './lib/modules/matecu-spinner/matecu-spinner.module';\nexport * from './lib/modules/matecu-spinner/components/matecu-spinner/matecu-spinner.component';\nexport * from './lib/modules/matecu-spinner/services/matecu-spinner.service';\n\n/**\n * Módulo topbar-layout\n */\n\nexport * from './lib/modules/matecu-topbar-layout/matecu-topbar-layout.module';\nexport * from './lib/modules/matecu-topbar-layout/components/matecu-topbar-body/matecu-topbar-body.component';\nexport * from './lib/modules/matecu-topbar-layout/components/matecu-topbar-fab/matecu-topbar-fab.component';\nexport * from './lib/modules/matecu-topbar-layout/components/matecu-topbar-layout/matecu-topbar-layout.component';\nexport * from './lib/modules/matecu-topbar-layout/components/matecu-topbar-title/matecu-topbar-title.component';\nexport * from './lib/modules/matecu-topbar-layout/components/matecu-topbar-search/matecu-topbar-search.component';\nexport * from './lib/modules/matecu-topbar-layout/components/matecu-topbar-actions/matecu-topbar-actions.component';\n\n/**\n * Módulo alert-box\n */\n\nexport * from './lib/modules/matecu-alert-box/matecu-alert-box.module';\nexport * from './lib/modules/matecu-alert-box/components/matecu-alert-box/matecu-alert-box.component';\nexport * from './lib/modules/matecu-alert-box/components/matecu-alert-dialog/matecu-alert-dialog.component';\nexport * from './lib/modules/matecu-alert-box/components/matecu-alert-snack-bar/matecu-alert-snack-bar.component';\nexport * from './lib/modules/matecu-alert-box/types/matecu-altert-box-type';\nexport * from './lib/modules/matecu-alert-box/types/matecu-alert-dialog';\nexport * from './lib/modules/matecu-alert-box/services/matecu-snack-bar.service';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.MatecuSpinnerService","i2","i4","i1","i3","i2.MatecuAlertBoxComponent"],"mappings":";;;;;;;;;;;;;;;;;;;MAMa,oBAAoB,CAAA;AAG/B,IAAA,WAAA,GAAA;AAFQ,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,eAAe,CAAU,KAAK,CAAC,CAAC;QAC9C,IAAY,CAAA,YAAA,GAAa,EAAE,CAAC;KACpB;IAEhB,KAAK,GAAA;AACH,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;KAC5B;AACD,IAAA,GAAG,CAAC,SAAkB,EAAA;QACpB,MAAM,GAAG,GAAG,CAAC,QAAO,SAAS,CAAC,KAAK,QAAQ,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC,IAAI,SAAS,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;AACpG,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC5B,IAAI,CAAC,YAAY,EAAE,CAAC;AACpB,QAAA,OAAO,GAAG,CAAC;KACZ;AACD,IAAA,MAAM,CAAC,GAAW,EAAA;AAChB,QAAA,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,YAAY,CAAC,MAAM,CAC1C,CAAC,UAAU,KAAK,UAAU,KAAK,GAAG,CACnC,CAAC;QACF,IAAI,CAAC,YAAY,EAAE,CAAC;KACrB;IACD,KAAK,GAAA;AACH,QAAA,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QACvB,IAAI,CAAC,YAAY,EAAE,CAAC;KACrB;IACO,YAAY,GAAA;QAClB,MAAM,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC,MAAM,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AAD,IAAA,CAAA,WAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAArB,qBAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,cAFpB,MAAM,EAAA,CAAA,CAAA;2FAEP,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAHjC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;ACRD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -0,0 +1,20 @@
1
+ import { MatSnackBarRef } from '@angular/material/snack-bar';
2
+ import { MatecuAlertSnackBarData } from '../../types/matecu-alert-snackbar';
3
+ import { MatecuAlertBoxType } from '../../types/matecu-altert-box-type';
4
+ import * as i0 from "@angular/core";
5
+ export declare class MatecuAlertSnackBarComponent {
6
+ data: MatecuAlertSnackBarData;
7
+ private snackBarRef;
8
+ title: string;
9
+ message: string;
10
+ action?: string;
11
+ classNameBase: string;
12
+ alertColor: MatecuAlertBoxType;
13
+ get color(): MatecuAlertBoxType;
14
+ set color(value: MatecuAlertBoxType);
15
+ className: string;
16
+ constructor(data: MatecuAlertSnackBarData, snackBarRef: MatSnackBarRef<MatecuAlertSnackBarComponent>);
17
+ dismiss(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatecuAlertSnackBarComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatecuAlertSnackBarComponent, "matecu-alert-snack-bar", never, {}, {}, never, never>;
20
+ }
@@ -1,12 +1,14 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./components/matecu-alert-box/matecu-alert-box.component";
3
3
  import * as i2 from "./components/matecu-alert-dialog/matecu-alert-dialog.component";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@angular/material/icon";
6
- import * as i5 from "@angular/material/dialog";
7
- import * as i6 from "@angular/material/button";
4
+ import * as i3 from "./components/matecu-alert-snack-bar/matecu-alert-snack-bar.component";
5
+ import * as i4 from "@angular/common";
6
+ import * as i5 from "@angular/material/icon";
7
+ import * as i6 from "@angular/material/dialog";
8
+ import * as i7 from "@angular/material/button";
9
+ import * as i8 from "@angular/material/snack-bar";
8
10
  export declare class MatecuAlertBoxModule {
9
11
  static ɵfac: i0.ɵɵFactoryDeclaration<MatecuAlertBoxModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatecuAlertBoxModule, [typeof i1.MatecuAlertBoxComponent, typeof i2.MatecuAlertDialogComponent], [typeof i3.CommonModule, typeof i4.MatIconModule, typeof i5.MatDialogModule, typeof i6.MatButtonModule], [typeof i1.MatecuAlertBoxComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatecuAlertBoxModule, [typeof i1.MatecuAlertBoxComponent, typeof i2.MatecuAlertDialogComponent, typeof i3.MatecuAlertSnackBarComponent], [typeof i4.CommonModule, typeof i5.MatIconModule, typeof i6.MatDialogModule, typeof i7.MatButtonModule, typeof i8.MatSnackBarModule], [typeof i1.MatecuAlertBoxComponent]>;
11
13
  static ɵinj: i0.ɵɵInjectorDeclaration<MatecuAlertBoxModule>;
12
14
  }
@@ -0,0 +1,17 @@
1
+ import { MatSnackBar, MatSnackBarConfig, MatSnackBarRef, TextOnlySnackBar } from '@angular/material/snack-bar';
2
+ import { MatecuAlertSnackBarComponent } from '../components/matecu-alert-snack-bar/matecu-alert-snack-bar.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MatecuSnackBarService {
5
+ private snackBar;
6
+ constructor(snackBar: MatSnackBar);
7
+ openError(error: string | Error, title?: string | null, action?: string, config?: MatSnackBarConfig<any>): MatSnackBarRef<MatecuAlertSnackBarComponent>;
8
+ openSuccess(message: string, title?: string | null, action?: string, config?: MatSnackBarConfig<any>): MatSnackBarRef<MatecuAlertSnackBarComponent>;
9
+ openWarning(message: string, title?: string | null, action?: string, config?: MatSnackBarConfig<any>): MatSnackBarRef<MatecuAlertSnackBarComponent>;
10
+ openInfo(message: string, title?: string | null, action?: string, config?: MatSnackBarConfig<any>): MatSnackBarRef<MatecuAlertSnackBarComponent>;
11
+ open(message: string, action?: string, config?: MatSnackBarConfig<any>): MatSnackBarRef<TextOnlySnackBar>;
12
+ dismiss(): void;
13
+ private openAlert;
14
+ private getErrorMessage;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatecuSnackBarService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<MatecuSnackBarService>;
17
+ }
@@ -0,0 +1,7 @@
1
+ import { MatecuAlertBoxType } from './matecu-altert-box-type';
2
+ export interface MatecuAlertSnackBarData {
3
+ message: string;
4
+ title: string;
5
+ action?: string;
6
+ type: MatecuAlertBoxType;
7
+ }
package/package.json CHANGED
@@ -1,19 +1,32 @@
1
1
  {
2
2
  "name": "angular-matecu",
3
- "version": "2.0.7",
3
+ "version": "2.0.12",
4
4
  "peerDependencies": {
5
- "@angular/common": "^12.x",
6
- "@angular/core": "^12.x",
7
- "@angular/material": "^12.x"
5
+ "@angular/common": "^12.x || ^13.x || ^14.x",
6
+ "@angular/core": "^12.x || ^13.x || ^14.x",
7
+ "@angular/material": "^12.x || ^13.x || ^14.x"
8
8
  },
9
9
  "dependencies": {
10
- "tslib": "^2.1.0"
10
+ "tslib": "^2.3.0"
11
11
  },
12
- "main": "bundles/angular-matecu.umd.js",
13
- "module": "fesm2015/angular-matecu.js",
14
- "es2015": "fesm2015/angular-matecu.js",
15
- "esm2015": "esm2015/angular-matecu.js",
16
- "fesm2015": "fesm2015/angular-matecu.js",
12
+ "module": "fesm2015/angular-matecu.mjs",
13
+ "es2020": "fesm2020/angular-matecu.mjs",
14
+ "esm2020": "esm2020/angular-matecu.mjs",
15
+ "fesm2020": "fesm2020/angular-matecu.mjs",
16
+ "fesm2015": "fesm2015/angular-matecu.mjs",
17
17
  "typings": "angular-matecu.d.ts",
18
+ "exports": {
19
+ "./package.json": {
20
+ "default": "./package.json"
21
+ },
22
+ ".": {
23
+ "types": "./angular-matecu.d.ts",
24
+ "esm2020": "./esm2020/angular-matecu.mjs",
25
+ "es2020": "./fesm2020/angular-matecu.mjs",
26
+ "es2015": "./fesm2015/angular-matecu.mjs",
27
+ "node": "./fesm2015/angular-matecu.mjs",
28
+ "default": "./fesm2020/angular-matecu.mjs"
29
+ }
30
+ },
18
31
  "sideEffects": false
19
32
  }
package/public-api.d.ts CHANGED
@@ -20,5 +20,7 @@ export * from './lib/modules/matecu-topbar-layout/components/matecu-topbar-actio
20
20
  export * from './lib/modules/matecu-alert-box/matecu-alert-box.module';
21
21
  export * from './lib/modules/matecu-alert-box/components/matecu-alert-box/matecu-alert-box.component';
22
22
  export * from './lib/modules/matecu-alert-box/components/matecu-alert-dialog/matecu-alert-dialog.component';
23
+ export * from './lib/modules/matecu-alert-box/components/matecu-alert-snack-bar/matecu-alert-snack-bar.component';
23
24
  export * from './lib/modules/matecu-alert-box/types/matecu-altert-box-type';
24
25
  export * from './lib/modules/matecu-alert-box/types/matecu-alert-dialog';
26
+ export * from './lib/modules/matecu-alert-box/services/matecu-snack-bar.service';