angular-matecu 4.0.2 → 4.0.3
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.
- package/esm2022/angular-matecu.mjs +5 -0
- package/esm2022/lib/components/matecu-alert-box/matecu-alert-box.component.mjs +67 -0
- package/esm2022/lib/components/matecu-alert-dialog/matecu-alert-dialog.component.mjs +54 -0
- package/esm2022/lib/components/matecu-alert-snack-bar/matecu-alert-snack-bar.component.mjs +43 -0
- package/esm2022/lib/components/matecu-spinner/matecu-spinner.component.mjs +58 -0
- package/esm2022/lib/components/matecu-topbar-action/matecu-topbar-action.component.mjs +18 -0
- package/esm2022/lib/components/matecu-topbar-body/matecu-topbar-body.component.mjs +17 -0
- package/esm2022/lib/components/matecu-topbar-fab/matecu-topbar-fab.component.mjs +43 -0
- package/esm2022/lib/components/matecu-topbar-header-column/matecu-topbar-header-column.component.mjs +12 -0
- package/esm2022/lib/components/matecu-topbar-header-row/matecu-topbar-header-row.component.mjs +29 -0
- package/esm2022/lib/components/matecu-topbar-layout/matecu-topbar-layout.component.mjs +112 -0
- package/esm2022/lib/components/matecu-topbar-search/matecu-topbar-search.component.mjs +93 -0
- package/esm2022/lib/components/matecu-topbar-title/matecu-topbar-title.component.mjs +18 -0
- package/esm2022/lib/modules/matecu-alert-box/matecu-alert-box.module.mjs +24 -0
- package/esm2022/lib/modules/matecu-spinner/matecu-spinner.module.mjs +22 -0
- package/esm2022/lib/modules/matecu-topbar-layout/matecu-topbar-layout.module.mjs +83 -0
- package/esm2022/lib/services/matecu-snack-bar.service.mjs +66 -0
- package/esm2022/lib/services/matecu-spinner.service.mjs +44 -0
- package/esm2022/lib/types/matecu-alert-dialog.mjs +2 -0
- package/esm2022/lib/types/matecu-alert-snackbar.mjs +2 -0
- package/esm2022/lib/types/matecu-altert-box-type.mjs +8 -0
- package/esm2022/public-api.mjs +32 -0
- package/fesm2022/angular-matecu.mjs +735 -0
- package/fesm2022/angular-matecu.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/matecu-alert-box/matecu-alert-box.component.d.ts +19 -0
- package/lib/components/matecu-alert-dialog/matecu-alert-dialog.component.d.ts +22 -0
- package/lib/components/matecu-alert-snack-bar/matecu-alert-snack-bar.component.d.ts +20 -0
- package/lib/components/matecu-spinner/matecu-spinner.component.d.ts +20 -0
- package/lib/components/matecu-topbar-action/matecu-topbar-action.component.d.ts +9 -0
- package/lib/components/matecu-topbar-body/matecu-topbar-body.component.d.ts +6 -0
- package/lib/components/matecu-topbar-fab/matecu-topbar-fab.component.d.ts +12 -0
- package/lib/components/matecu-topbar-header-column/matecu-topbar-header-column.component.d.ts +5 -0
- package/lib/components/matecu-topbar-header-row/matecu-topbar-header-row.component.d.ts +8 -0
- package/lib/components/matecu-topbar-layout/matecu-topbar-layout.component.d.ts +27 -0
- package/lib/components/matecu-topbar-search/matecu-topbar-search.component.d.ts +27 -0
- package/lib/components/matecu-topbar-title/matecu-topbar-title.component.d.ts +9 -0
- package/lib/modules/matecu-alert-box/matecu-alert-box.module.d.ts +14 -0
- package/lib/modules/matecu-spinner/matecu-spinner.module.d.ts +8 -0
- package/lib/modules/matecu-topbar-layout/matecu-topbar-layout.module.d.ts +19 -0
- package/lib/services/matecu-snack-bar.service.d.ts +17 -0
- package/lib/services/matecu-spinner.service.d.ts +15 -0
- package/lib/types/matecu-alert-dialog.d.ts +9 -0
- package/{src/lib/types/matecu-alert-snackbar.ts → lib/types/matecu-alert-snackbar.d.ts} +4 -5
- package/lib/types/matecu-altert-box-type.d.ts +6 -0
- package/package.json +19 -4
- package/{src/public-api.ts → public-api.d.ts} +0 -7
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -13
- package/src/lib/components/matecu-alert-box/matecu-alert-box.component.html +0 -11
- package/src/lib/components/matecu-alert-box/matecu-alert-box.component.scss +0 -39
- package/src/lib/components/matecu-alert-box/matecu-alert-box.component.spec.ts +0 -25
- package/src/lib/components/matecu-alert-box/matecu-alert-box.component.ts +0 -60
- package/src/lib/components/matecu-alert-dialog/matecu-alert-dialog.component.html +0 -14
- package/src/lib/components/matecu-alert-dialog/matecu-alert-dialog.component.scss +0 -5
- package/src/lib/components/matecu-alert-dialog/matecu-alert-dialog.component.spec.ts +0 -25
- package/src/lib/components/matecu-alert-dialog/matecu-alert-dialog.component.ts +0 -53
- package/src/lib/components/matecu-alert-snack-bar/matecu-alert-snack-bar.component.html +0 -8
- package/src/lib/components/matecu-alert-snack-bar/matecu-alert-snack-bar.component.scss +0 -34
- package/src/lib/components/matecu-alert-snack-bar/matecu-alert-snack-bar.component.spec.ts +0 -25
- package/src/lib/components/matecu-alert-snack-bar/matecu-alert-snack-bar.component.ts +0 -45
- package/src/lib/components/matecu-spinner/matecu-spinner.component.css +0 -15
- package/src/lib/components/matecu-spinner/matecu-spinner.component.html +0 -35
- package/src/lib/components/matecu-spinner/matecu-spinner.component.spec.ts +0 -25
- package/src/lib/components/matecu-spinner/matecu-spinner.component.ts +0 -50
- package/src/lib/components/matecu-spinner/spinner-loader.component.scss +0 -13
- package/src/lib/components/matecu-topbar-action/matecu-topbar-action.component.html +0 -1
- package/src/lib/components/matecu-topbar-action/matecu-topbar-action.component.scss +0 -19
- package/src/lib/components/matecu-topbar-action/matecu-topbar-action.component.spec.ts +0 -25
- package/src/lib/components/matecu-topbar-action/matecu-topbar-action.component.ts +0 -14
- package/src/lib/components/matecu-topbar-body/matecu-topbar-body.component.html +0 -1
- package/src/lib/components/matecu-topbar-body/matecu-topbar-body.component.scss +0 -14
- package/src/lib/components/matecu-topbar-body/matecu-topbar-body.component.spec.ts +0 -25
- package/src/lib/components/matecu-topbar-body/matecu-topbar-body.component.ts +0 -11
- package/src/lib/components/matecu-topbar-fab/matecu-topbar-fab.component.html +0 -3
- package/src/lib/components/matecu-topbar-fab/matecu-topbar-fab.component.scss +0 -19
- package/src/lib/components/matecu-topbar-fab/matecu-topbar-fab.component.spec.ts +0 -25
- package/src/lib/components/matecu-topbar-fab/matecu-topbar-fab.component.ts +0 -31
- package/src/lib/components/matecu-topbar-header-column/matecu-topbar-header-column.component.html +0 -1
- package/src/lib/components/matecu-topbar-header-column/matecu-topbar-header-column.component.scss +0 -8
- package/src/lib/components/matecu-topbar-header-column/matecu-topbar-header-column.component.spec.ts +0 -23
- package/src/lib/components/matecu-topbar-header-column/matecu-topbar-header-column.component.ts +0 -11
- package/src/lib/components/matecu-topbar-header-row/matecu-topbar-header-row.component.html +0 -13
- package/src/lib/components/matecu-topbar-header-row/matecu-topbar-header-row.component.scss +0 -34
- package/src/lib/components/matecu-topbar-header-row/matecu-topbar-header-row.component.spec.ts +0 -23
- package/src/lib/components/matecu-topbar-header-row/matecu-topbar-header-row.component.ts +0 -18
- package/src/lib/components/matecu-topbar-layout/matecu-topbar-layout.component.html +0 -7
- package/src/lib/components/matecu-topbar-layout/matecu-topbar-layout.component.scss +0 -49
- package/src/lib/components/matecu-topbar-layout/matecu-topbar-layout.component.spec.ts +0 -25
- package/src/lib/components/matecu-topbar-layout/matecu-topbar-layout.component.ts +0 -112
- package/src/lib/components/matecu-topbar-search/matecu-topbar-search.component.html +0 -29
- package/src/lib/components/matecu-topbar-search/matecu-topbar-search.component.scss +0 -90
- package/src/lib/components/matecu-topbar-search/matecu-topbar-search.component.spec.ts +0 -25
- package/src/lib/components/matecu-topbar-search/matecu-topbar-search.component.ts +0 -92
- package/src/lib/components/matecu-topbar-title/matecu-topbar-title.component.html +0 -1
- package/src/lib/components/matecu-topbar-title/matecu-topbar-title.component.scss +0 -91
- package/src/lib/components/matecu-topbar-title/matecu-topbar-title.component.spec.ts +0 -25
- package/src/lib/components/matecu-topbar-title/matecu-topbar-title.component.ts +0 -14
- package/src/lib/modules/matecu-alert-box/matecu-alert-box.module.ts +0 -16
- package/src/lib/modules/matecu-spinner/matecu-spinner.module.ts +0 -14
- package/src/lib/modules/matecu-topbar-layout/matecu-topbar-layout.module.ts +0 -45
- package/src/lib/services/matecu-snack-bar.service.spec.ts +0 -16
- package/src/lib/services/matecu-snack-bar.service.ts +0 -66
- package/src/lib/services/matecu-spinner.service.spec.ts +0 -16
- package/src/lib/services/matecu-spinner.service.ts +0 -40
- package/src/lib/types/matecu-alert-dialog.ts +0 -10
- package/src/lib/types/matecu-altert-box-type.ts +0 -6
- package/src/test.ts +0 -17
- package/tsconfig.lib.json +0 -24
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
- package/tslint.json +0 -17
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"angular-matecu.mjs","sources":["../../../projects/angular-matecu/src/lib/services/matecu-spinner.service.ts","../../../projects/angular-matecu/src/lib/components/matecu-spinner/matecu-spinner.component.ts","../../../projects/angular-matecu/src/lib/components/matecu-spinner/matecu-spinner.component.html","../../../projects/angular-matecu/src/lib/modules/matecu-spinner/matecu-spinner.module.ts","../../../projects/angular-matecu/src/lib/components/matecu-topbar-layout/matecu-topbar-layout.component.ts","../../../projects/angular-matecu/src/lib/components/matecu-topbar-layout/matecu-topbar-layout.component.html","../../../projects/angular-matecu/src/lib/components/matecu-topbar-title/matecu-topbar-title.component.ts","../../../projects/angular-matecu/src/lib/components/matecu-topbar-title/matecu-topbar-title.component.html","../../../projects/angular-matecu/src/lib/components/matecu-topbar-body/matecu-topbar-body.component.ts","../../../projects/angular-matecu/src/lib/components/matecu-topbar-body/matecu-topbar-body.component.html","../../../projects/angular-matecu/src/lib/components/matecu-topbar-fab/matecu-topbar-fab.component.ts","../../../projects/angular-matecu/src/lib/components/matecu-topbar-fab/matecu-topbar-fab.component.html","../../../projects/angular-matecu/src/lib/components/matecu-topbar-search/matecu-topbar-search.component.ts","../../../projects/angular-matecu/src/lib/components/matecu-topbar-search/matecu-topbar-search.component.html","../../../projects/angular-matecu/src/lib/components/matecu-topbar-action/matecu-topbar-action.component.ts","../../../projects/angular-matecu/src/lib/components/matecu-topbar-action/matecu-topbar-action.component.html","../../../projects/angular-matecu/src/lib/components/matecu-topbar-header-row/matecu-topbar-header-row.component.ts","../../../projects/angular-matecu/src/lib/components/matecu-topbar-header-row/matecu-topbar-header-row.component.html","../../../projects/angular-matecu/src/lib/components/matecu-topbar-header-column/matecu-topbar-header-column.component.ts","../../../projects/angular-matecu/src/lib/components/matecu-topbar-header-column/matecu-topbar-header-column.component.html","../../../projects/angular-matecu/src/lib/modules/matecu-topbar-layout/matecu-topbar-layout.module.ts","../../../projects/angular-matecu/src/lib/types/matecu-altert-box-type.ts","../../../projects/angular-matecu/src/lib/components/matecu-alert-box/matecu-alert-box.component.ts","../../../projects/angular-matecu/src/lib/components/matecu-alert-box/matecu-alert-box.component.html","../../../projects/angular-matecu/src/lib/components/matecu-alert-dialog/matecu-alert-dialog.component.ts","../../../projects/angular-matecu/src/lib/components/matecu-alert-dialog/matecu-alert-dialog.component.html","../../../projects/angular-matecu/src/lib/components/matecu-alert-snack-bar/matecu-alert-snack-bar.component.ts","../../../projects/angular-matecu/src/lib/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/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 { CommonModule } from '@angular/common';\nimport { Component, HostBinding, Input, OnDestroy, OnInit } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { takeUntil, tap } from 'rxjs/operators';\nimport { MatecuSpinnerService } from '../../services/matecu-spinner.service';\n@Component({\n selector: 'matecu-spinner',\n templateUrl: './matecu-spinner.component.html',\n styleUrls: ['./matecu-spinner.component.css'],\n standalone: true,\n imports: [CommonModule]\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';\n\n@NgModule({\n declarations: [],\n imports: [\n CommonModule, MatecuSpinnerComponent\n ],\n exports: [\n MatecuSpinnerComponent\n ]\n})\nexport class MatecuSpinnerModule { }\n","import { CommonModule } from '@angular/common';\nimport {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n HostBinding,\n Input,\n NgZone,\n OnDestroy,\n Output,\n ViewChild,\n} from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { fromEvent, Subject } from 'rxjs';\nimport { takeUntil, 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 standalone: true,\n imports: [CommonModule, MatButtonModule, MatIconModule, MatToolbarModule],\n})\nexport class MatecuTopbarLayoutComponent implements AfterViewInit, OnDestroy {\n private _scrolled = false;\n private _prominent = false;\n get scrolled() {\n return this._scrolled;\n }\n set scrolled(value: boolean) {\n this._scrolled = value;\n this.className = this.className.replace(/scrolled/g, '').trim();\n if (this.scrolled) {\n this.className = `${this.className} scrolled`;\n }\n }\n private destroy$ = new Subject<void>();\n @Input() mobileStyle = false;\n @Output() mobileStyleChange = new EventEmitter<boolean>();\n @Input() mobileWidth = 768;\n @Output() whenResize = new EventEmitter<number>();\n @Input() get prominent() {\n return this._prominent;\n }\n set prominent(value: boolean) {\n this._prominent = value;\n this.className = this.className.replace(/prominent/g, '').trim();\n if (this.prominent) {\n this.className = `${this.className} prominent`;\n }\n }\n @HostBinding('class') className = 'matecu-topbar-layout';\n @ViewChild('mtbBody') bodyElement?: ElementRef;\n\n constructor(\n private elementRef: ElementRef,\n private changeDetector: ChangeDetectorRef,\n private zone: NgZone\n ) {}\n ngOnDestroy(): void {\n this.destroy$.next();\n this.destroy$.complete();\n }\n private spyScroll(scrollabe: HTMLElement) {\n if (!scrollabe) {\n return;\n }\n const maxScrollHeight = scrollabe.scrollHeight;\n const scrollableHeight = scrollabe.clientHeight;\n if (scrollableHeight > maxScrollHeight) {\n return;\n }\n const scrollPosition = scrollabe.scrollTop;\n this.scrolled = scrollPosition > 20;\n }\n ngAfterViewInit(): void {\n const layoutElement = this.elementRef.nativeElement;\n const resizeObserver = new ResizeObserver(() => {\n const width = layoutElement?.clientWidth;\n if (!width) {\n return;\n }\n this.mobileStyle = width <= this.mobileWidth;\n this.zone.run(() => {\n this.mobileStyleChange.emit(this.mobileStyle);\n this.whenResize.emit(width);\n });\n });\n resizeObserver.observe(layoutElement!);\n this.destroy$.pipe(tap(() => resizeObserver.disconnect())).subscribe();\n if (this.bodyElement) {\n fromEvent(this.bodyElement.nativeElement, 'scroll')\n .pipe(\n tap(() => this.spyScroll(this.bodyElement?.nativeElement!)),\n takeUntil(this.destroy$)\n )\n .subscribe();\n }\n }\n scrollTop() {\n if (!this.bodyElement) {\n return;\n }\n this.bodyElement.nativeElement.scroll({\n top: 0,\n behavior: 'smooth',\n });\n }\n}\n","<div class=\"matecu-topbar-layout__bar\">\n <ng-content select=\"matecu-topbar-header-row[first-row]\"></ng-content>\n <ng-content select=\"matecu-topbar-header-row[second-row]\"></ng-content>\n</div>\n<div class=\"matecu-topbar-layout__body\" #mtbBody>\n <ng-content select=\"matecu-topbar-body\"></ng-content>\n</div>\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 standalone: true,\n})\nexport class MatecuTopbarTitleComponent implements OnInit {\n @HostBinding('class') className = 'matecu-topbar-title';\n constructor() {}\n\n ngOnInit(): void {}\n}\n","<ng-content></ng-content>","import { Component, HostBinding } 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 standalone: true,\n})\nexport class MatecuTopbarBodyComponent {\n @HostBinding('class') className = 'matecu-topbar-body';\n}\n","<ng-content></ng-content>","import { CommonModule } from '@angular/common';\nimport { Component, HostBinding, Input } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\n\n@Component({\n selector: 'matecu-topbar-fab',\n templateUrl: './matecu-topbar-fab.component.html',\n styleUrls: ['./matecu-topbar-fab.component.scss'],\n standalone: true,\n imports: [CommonModule, MatButtonModule],\n})\nexport class MatecuTopbarFabComponent {\n private _mobileStyle = false;\n private mainClassName = 'matecu-topbar-fab';\n @Input() display = true;\n @Input() get mobileStyle() {\n return this._mobileStyle;\n }\n set mobileStyle(value: boolean) {\n this._mobileStyle = value;\n this.className = this.className.replace(/mobile-style/g, '').trim();\n if (this._mobileStyle) {\n this.className = `${this.className} mobile-style`;\n }\n }\n\n @HostBinding('class') className = this.mainClassName;\n @HostBinding('style.display') get color() {\n return this.display ? 'flex' : 'none';\n }\n}\n","<ng-container *ngIf=\"display\">\n <ng-content></ng-content>\n</ng-container>\n","import { CommonModule } from '@angular/common';\nimport {\n Component,\n EventEmitter,\n HostBinding,\n Input,\n OnInit,\n Output,\n} from '@angular/core';\nimport { FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { Subject } from 'rxjs';\nimport {\n debounceTime,\n distinctUntilChanged,\n map,\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 standalone: true,\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n MatIconModule,\n MatButtonModule,\n ],\n})\nexport class MatecuTopbarSearchComponent implements OnInit {\n hasValue = false;\n activeMobileSearch = false;\n inputCtrl = new FormControl('');\n private _value = '';\n private _mobileStyle = false;\n\n private destroy$ = new Subject<void>();\n @Input() display = true;\n @Input() placeholder = '';\n @Input() delyValueChanges = 300; // valor en milisegundos\n @Input() get value() {\n return this._value;\n }\n set value(v: string) {\n this._value = v;\n this.inputCtrl.setValue(v);\n }\n @Input() get mobileStyle() {\n return this._mobileStyle;\n }\n set mobileStyle(value: boolean) {\n this._mobileStyle = value;\n this.className = this.className.replace(/mobile-style/g, '').trim();\n if (this._mobileStyle) {\n this.className = `${this.className} mobile-style`;\n }\n }\n @Output() valueChange = new EventEmitter<string>();\n @HostBinding() className = 'matecu-topbar-search';\n @HostBinding('style.display') get color() {\n return this.display ? 'flex' : 'none';\n }\n ngOnInit(): void {\n this.inputCtrl.valueChanges\n .pipe(\n map((value) => value ?? ''),\n tap(this.updateHasValueFn()),\n debounceTime(this.delyValueChanges),\n distinctUntilChanged(),\n tap((value) => this.valueChange.emit(value!)),\n takeUntil(this.destroy$)\n )\n .subscribe();\n }\n toggleActiveMobildeSearch() {\n this.activeMobileSearch = !this.activeMobileSearch;\n }\n clearSearch() {\n this.inputCtrl.setValue('');\n this.activeMobileSearch = false;\n }\n updateHasValueFn() {\n return (value: string): void => {\n this.hasValue = value.length > 0;\n };\n }\n}\n","<ng-container *ngIf=\"display\">\n <button\n class=\"matecu-topbar-search-mobile-only\"\n [ngClass]=\"{ 'mobile-style': mobileStyle }\"\n (click)=\"toggleActiveMobildeSearch()\"\n >\n <mat-icon>search</mat-icon>\n </button>\n <div\n class=\"matecu-topbar-search\"\n [ngClass]=\"{\n 'mobile-style': mobileStyle,\n 'active-mobile': activeMobileSearch\n }\"\n >\n <span class=\"matecu-topbar-search__icon matecu-topbar-search__icon--search\">\n <mat-icon>search</mat-icon>\n </span>\n <ng-container *ngIf=\"hasValue || mobileStyle\">\n <button\n class=\"matecu-topbar-search__icon matecu-topbar-search__icon--clear\"\n (click)=\"clearSearch()\"\n >\n <mat-icon>close</mat-icon>\n </button>\n </ng-container>\n <input type=\"text\" [placeholder]=\"placeholder\" [formControl]=\"inputCtrl\" />\n </div>\n</ng-container>\n","import { Component, HostBinding, OnInit } from '@angular/core';\n\n@Component({\n selector: 'matecu-topbar-action',\n templateUrl: './matecu-topbar-action.component.html',\n styleUrls: ['./matecu-topbar-action.component.scss'],\n standalone: true,\n})\nexport class MatecuTopbarActionComponent implements OnInit {\n @HostBinding('class') className = 'matecu-topbar-action';\n constructor() {}\n\n ngOnInit(): void {}\n}\n","<ng-content></ng-content>\n","import { Component, HostBinding, Input } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatToolbarModule } from '@angular/material/toolbar';\n\n@Component({\n selector: 'matecu-topbar-header-row',\n standalone: true,\n imports: [CommonModule, MatToolbarModule],\n templateUrl: './matecu-topbar-header-row.component.html',\n styleUrls: ['./matecu-topbar-header-row.component.scss'],\n})\nexport class MatecuTopbarHeaderRowComponent {\n @Input() display = true;\n @HostBinding('class') className = 'matecu-topbar-header-row';\n @HostBinding('style.display') get color() {\n return this.display ? 'flex' : 'none';\n }\n}\n","<ng-container *ngIf=\"display\">\n <div\n class=\"matecu-topbar-header-row__column matecu-topbar-header-row__column--left\"\n >\n <ng-content select=\"matecu-topbar-header-column[left-column]\"></ng-content>\n </div>\n\n <div\n class=\"matecu-topbar-header-row__column matecu-topbar-header-row__column--right\"\n >\n <ng-content select=\"matecu-topbar-header-column[right-column]\"></ng-content>\n </div>\n</ng-container>\n","import { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'matecu-topbar-header-column',\n standalone: true,\n imports: [CommonModule],\n templateUrl: './matecu-topbar-header-column.component.html',\n styleUrls: ['./matecu-topbar-header-column.component.scss'],\n})\nexport class MatecuTopbarHeaderColumnComponent {}\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 { MatecuTopbarActionComponent } from '../../components/matecu-topbar-action/matecu-topbar-action.component';\nimport { MatecuTopbarHeaderRowComponent } from '../../components/matecu-topbar-header-row/matecu-topbar-header-row.component';\nimport { MatecuTopbarHeaderColumnComponent } from '../../components/matecu-topbar-header-column/matecu-topbar-header-column.component';\n\n@NgModule({\n declarations: [],\n imports: [\n CommonModule,\n MatToolbarModule,\n MatIconModule,\n FormsModule,\n ReactiveFormsModule,\n MatButtonModule,\n MatecuTopbarLayoutComponent,\n MatecuTopbarTitleComponent,\n MatecuTopbarBodyComponent,\n MatecuTopbarFabComponent,\n MatecuTopbarSearchComponent,\n MatecuTopbarActionComponent,\n MatecuTopbarHeaderRowComponent,\n MatecuTopbarHeaderColumnComponent,\n ],\n exports: [\n MatecuTopbarLayoutComponent,\n MatecuTopbarTitleComponent,\n MatecuTopbarBodyComponent,\n MatecuTopbarFabComponent,\n MatecuTopbarSearchComponent,\n MatecuTopbarActionComponent,\n MatecuTopbarHeaderRowComponent,\n MatecuTopbarHeaderColumnComponent,\n ],\n})\nexport class MatecuTopbarLayoutModule {}\n","export enum MatecuAlertBoxType {\n warning = 'warning',\n success = 'success',\n danger = 'danger',\n info = 'info',\n}\n","import { CommonModule } from '@angular/common';\nimport { Component, HostBinding, Input, OnInit } from '@angular/core';\nimport { MatIconModule } from '@angular/material/icon';\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 standalone: true,\n imports: [CommonModule, MatIconModule]\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 { CommonModule } from '@angular/common';\nimport { Component, Inject, OnInit } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MAT_DIALOG_DATA, MatDialogRef, MatDialogModule } from '@angular/material/dialog';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatecuAlertDialogData } from '../../types/matecu-alert-dialog';\nimport { MatecuAlertBoxComponent } from '../matecu-alert-box/matecu-alert-box.component';\n@Component({\n selector: 'matecu-alert-dialog',\n templateUrl: './matecu-alert-dialog.component.html',\n styleUrls: ['./matecu-alert-dialog.component.scss'],\n standalone: true,\n imports: [CommonModule, MatDialogModule, MatIconModule, MatecuAlertBoxComponent, MatButtonModule]\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 { CommonModule } from '@angular/common';\nimport { Component, HostBinding, Inject, OnInit } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatSnackBarModule, 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 standalone: true,\n imports: [CommonModule, MatButtonModule, MatSnackBarModule]\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> \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: [],\n imports: [CommonModule, MatIconModule, MatDialogModule, MatButtonModule, MatSnackBarModule, MatecuAlertBoxComponent, MatecuAlertDialogComponent, MatecuAlertSnackBarComponent],\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 * spinner\n */\nexport * from './lib/modules/matecu-spinner/matecu-spinner.module';\nexport * from './lib/components/matecu-spinner/matecu-spinner.component';\nexport * from './lib/services/matecu-spinner.service';\n\n/**\n * topbar-layout\n */\nexport * from './lib/modules/matecu-topbar-layout/matecu-topbar-layout.module';\nexport * from './lib/components/matecu-topbar-body/matecu-topbar-body.component';\nexport * from './lib/components/matecu-topbar-fab/matecu-topbar-fab.component';\nexport * from './lib/components/matecu-topbar-layout/matecu-topbar-layout.component';\nexport * from './lib/components/matecu-topbar-title/matecu-topbar-title.component';\nexport * from './lib/components/matecu-topbar-search/matecu-topbar-search.component';\nexport * from './lib/components/matecu-topbar-action/matecu-topbar-action.component';\nexport * from './lib/components/matecu-topbar-header-row/matecu-topbar-header-row.component';\nexport * from './lib/components/matecu-topbar-header-column/matecu-topbar-header-column.component';\n\n/**\n * alert-box\n */\n\nexport * from './lib/modules/matecu-alert-box/matecu-alert-box.module';\nexport * from './lib/components/matecu-alert-box/matecu-alert-box.component';\nexport * from './lib/components/matecu-alert-dialog/matecu-alert-dialog.component';\nexport * from './lib/components/matecu-alert-snack-bar/matecu-alert-snack-bar.component';\nexport * from './lib/types/matecu-altert-box-type';\nexport * from './lib/types/matecu-alert-dialog';\nexport * from './lib/services/matecu-snack-bar.service';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.MatecuSpinnerService","i2","i1","i3"],"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,CAC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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,EAAA;;2FAEP,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAHjC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;ACRD;;AAEG;AAEH;;AAEG;;ACNH;;AAEG;;;;"}
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatecuAlertBoxType } from '../../types/matecu-altert-box-type';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MatecuAlertBoxComponent implements OnInit {
|
|
5
|
+
classNameBase: string;
|
|
6
|
+
alertColor?: MatecuAlertBoxType | undefined | string | null;
|
|
7
|
+
iconValue?: string | null | undefined;
|
|
8
|
+
private alertIcon;
|
|
9
|
+
get color(): MatecuAlertBoxType | undefined | string | null;
|
|
10
|
+
set color(value: MatecuAlertBoxType | undefined | string | null);
|
|
11
|
+
get icon(): boolean;
|
|
12
|
+
set icon(value: boolean);
|
|
13
|
+
className: string;
|
|
14
|
+
constructor();
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
private updateIcon;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatecuAlertBoxComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatecuAlertBoxComponent, "matecu-alert-box", never, { "color": { "alias": "color"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { MatecuAlertDialogData } from '../../types/matecu-alert-dialog';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MatecuAlertDialogComponent implements OnInit {
|
|
6
|
+
dialogData: MatecuAlertDialogData;
|
|
7
|
+
dialogRef: MatDialogRef<MatecuAlertDialogComponent>;
|
|
8
|
+
hasTitle: boolean;
|
|
9
|
+
hasDismissBtn: boolean;
|
|
10
|
+
hasActionBtn: boolean;
|
|
11
|
+
showActions: boolean;
|
|
12
|
+
constructor(dialogData: MatecuAlertDialogData, dialogRef: MatDialogRef<MatecuAlertDialogComponent>);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
activateAction(): void;
|
|
15
|
+
private setHasTitle;
|
|
16
|
+
private setHasDismissBtn;
|
|
17
|
+
private setHasActionBtn;
|
|
18
|
+
private setShowActions;
|
|
19
|
+
private isValidString;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatecuAlertDialogComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatecuAlertDialogComponent, "matecu-alert-dialog", never, {}, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -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, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { MatecuSpinnerService } from '../../services/matecu-spinner.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MatecuSpinnerComponent implements OnInit, OnDestroy {
|
|
5
|
+
private spinnerService;
|
|
6
|
+
private destroy$;
|
|
7
|
+
private hiddenClass;
|
|
8
|
+
private activeCache;
|
|
9
|
+
className: string;
|
|
10
|
+
color: string;
|
|
11
|
+
global: boolean;
|
|
12
|
+
get active(): boolean;
|
|
13
|
+
set active(value: boolean);
|
|
14
|
+
size: string;
|
|
15
|
+
constructor(spinnerService: MatecuSpinnerService);
|
|
16
|
+
ngOnDestroy(): void;
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatecuSpinnerComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatecuSpinnerComponent, "matecu-spinner", never, { "color": { "alias": "color"; "required": false; }; "global": { "alias": "global"; "required": false; }; "active": { "alias": "active"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MatecuTopbarActionComponent implements OnInit {
|
|
4
|
+
className: string;
|
|
5
|
+
constructor();
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatecuTopbarActionComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatecuTopbarActionComponent, "matecu-topbar-action", never, {}, {}, never, ["*"], true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MatecuTopbarBodyComponent {
|
|
3
|
+
className: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatecuTopbarBodyComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatecuTopbarBodyComponent, "matecu-topbar-body", never, {}, {}, never, ["*"], true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MatecuTopbarFabComponent {
|
|
3
|
+
private _mobileStyle;
|
|
4
|
+
private mainClassName;
|
|
5
|
+
display: boolean;
|
|
6
|
+
get mobileStyle(): boolean;
|
|
7
|
+
set mobileStyle(value: boolean);
|
|
8
|
+
className: string;
|
|
9
|
+
get color(): "flex" | "none";
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatecuTopbarFabComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatecuTopbarFabComponent, "matecu-topbar-fab", never, { "display": { "alias": "display"; "required": false; }; "mobileStyle": { "alias": "mobileStyle"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MatecuTopbarHeaderColumnComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatecuTopbarHeaderColumnComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatecuTopbarHeaderColumnComponent, "matecu-topbar-header-column", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MatecuTopbarHeaderRowComponent {
|
|
3
|
+
display: boolean;
|
|
4
|
+
className: string;
|
|
5
|
+
get color(): "flex" | "none";
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatecuTopbarHeaderRowComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatecuTopbarHeaderRowComponent, "matecu-topbar-header-row", never, { "display": { "alias": "display"; "required": false; }; }, {}, never, ["matecu-topbar-header-column[left-column]", "matecu-topbar-header-column[right-column]"], true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MatecuTopbarLayoutComponent implements AfterViewInit, OnDestroy {
|
|
4
|
+
private elementRef;
|
|
5
|
+
private changeDetector;
|
|
6
|
+
private zone;
|
|
7
|
+
private _scrolled;
|
|
8
|
+
private _prominent;
|
|
9
|
+
get scrolled(): boolean;
|
|
10
|
+
set scrolled(value: boolean);
|
|
11
|
+
private destroy$;
|
|
12
|
+
mobileStyle: boolean;
|
|
13
|
+
mobileStyleChange: EventEmitter<boolean>;
|
|
14
|
+
mobileWidth: number;
|
|
15
|
+
whenResize: EventEmitter<number>;
|
|
16
|
+
get prominent(): boolean;
|
|
17
|
+
set prominent(value: boolean);
|
|
18
|
+
className: string;
|
|
19
|
+
bodyElement?: ElementRef;
|
|
20
|
+
constructor(elementRef: ElementRef, changeDetector: ChangeDetectorRef, zone: NgZone);
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
private spyScroll;
|
|
23
|
+
ngAfterViewInit(): void;
|
|
24
|
+
scrollTop(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatecuTopbarLayoutComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatecuTopbarLayoutComponent, "matecu-topbar-layout", never, { "mobileStyle": { "alias": "mobileStyle"; "required": false; }; "mobileWidth": { "alias": "mobileWidth"; "required": false; }; "prominent": { "alias": "prominent"; "required": false; }; }, { "mobileStyleChange": "mobileStyleChange"; "whenResize": "whenResize"; }, never, ["matecu-topbar-header-row[first-row]", "matecu-topbar-header-row[second-row]", "matecu-topbar-body"], true, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MatecuTopbarSearchComponent implements OnInit {
|
|
5
|
+
hasValue: boolean;
|
|
6
|
+
activeMobileSearch: boolean;
|
|
7
|
+
inputCtrl: FormControl<string | null>;
|
|
8
|
+
private _value;
|
|
9
|
+
private _mobileStyle;
|
|
10
|
+
private destroy$;
|
|
11
|
+
display: boolean;
|
|
12
|
+
placeholder: string;
|
|
13
|
+
delyValueChanges: number;
|
|
14
|
+
get value(): string;
|
|
15
|
+
set value(v: string);
|
|
16
|
+
get mobileStyle(): boolean;
|
|
17
|
+
set mobileStyle(value: boolean);
|
|
18
|
+
valueChange: EventEmitter<string>;
|
|
19
|
+
className: string;
|
|
20
|
+
get color(): "flex" | "none";
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
toggleActiveMobildeSearch(): void;
|
|
23
|
+
clearSearch(): void;
|
|
24
|
+
updateHasValueFn(): (value: string) => void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatecuTopbarSearchComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatecuTopbarSearchComponent, "matecu-topbar-search", never, { "display": { "alias": "display"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "delyValueChanges": { "alias": "delyValueChanges"; "required": false; }; "value": { "alias": "value"; "required": false; }; "mobileStyle": { "alias": "mobileStyle"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MatecuTopbarTitleComponent implements OnInit {
|
|
4
|
+
className: string;
|
|
5
|
+
constructor();
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatecuTopbarTitleComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatecuTopbarTitleComponent, "matecu-topbar-title", never, {}, {}, never, ["*"], true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@angular/material/icon";
|
|
4
|
+
import * as i3 from "@angular/material/dialog";
|
|
5
|
+
import * as i4 from "@angular/material/button";
|
|
6
|
+
import * as i5 from "@angular/material/snack-bar";
|
|
7
|
+
import * as i6 from "../../components/matecu-alert-box/matecu-alert-box.component";
|
|
8
|
+
import * as i7 from "../../components/matecu-alert-dialog/matecu-alert-dialog.component";
|
|
9
|
+
import * as i8 from "../../components/matecu-alert-snack-bar/matecu-alert-snack-bar.component";
|
|
10
|
+
export declare class MatecuAlertBoxModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatecuAlertBoxModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatecuAlertBoxModule, never, [typeof i1.CommonModule, typeof i2.MatIconModule, typeof i3.MatDialogModule, typeof i4.MatButtonModule, typeof i5.MatSnackBarModule, typeof i6.MatecuAlertBoxComponent, typeof i7.MatecuAlertDialogComponent, typeof i8.MatecuAlertSnackBarComponent], [typeof i6.MatecuAlertBoxComponent]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatecuAlertBoxModule>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "../../components/matecu-spinner/matecu-spinner.component";
|
|
4
|
+
export declare class MatecuSpinnerModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatecuSpinnerModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatecuSpinnerModule, never, [typeof i1.CommonModule, typeof i2.MatecuSpinnerComponent], [typeof i2.MatecuSpinnerComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatecuSpinnerModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@angular/material/toolbar";
|
|
4
|
+
import * as i3 from "@angular/material/icon";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "@angular/material/button";
|
|
7
|
+
import * as i6 from "../../components/matecu-topbar-layout/matecu-topbar-layout.component";
|
|
8
|
+
import * as i7 from "../../components/matecu-topbar-title/matecu-topbar-title.component";
|
|
9
|
+
import * as i8 from "../../components/matecu-topbar-body/matecu-topbar-body.component";
|
|
10
|
+
import * as i9 from "../../components/matecu-topbar-fab/matecu-topbar-fab.component";
|
|
11
|
+
import * as i10 from "../../components/matecu-topbar-search/matecu-topbar-search.component";
|
|
12
|
+
import * as i11 from "../../components/matecu-topbar-action/matecu-topbar-action.component";
|
|
13
|
+
import * as i12 from "../../components/matecu-topbar-header-row/matecu-topbar-header-row.component";
|
|
14
|
+
import * as i13 from "../../components/matecu-topbar-header-column/matecu-topbar-header-column.component";
|
|
15
|
+
export declare class MatecuTopbarLayoutModule {
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatecuTopbarLayoutModule, never>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatecuTopbarLayoutModule, never, [typeof i1.CommonModule, typeof i2.MatToolbarModule, typeof i3.MatIconModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.MatButtonModule, typeof i6.MatecuTopbarLayoutComponent, typeof i7.MatecuTopbarTitleComponent, typeof i8.MatecuTopbarBodyComponent, typeof i9.MatecuTopbarFabComponent, typeof i10.MatecuTopbarSearchComponent, typeof i11.MatecuTopbarActionComponent, typeof i12.MatecuTopbarHeaderRowComponent, typeof i13.MatecuTopbarHeaderColumnComponent], [typeof i6.MatecuTopbarLayoutComponent, typeof i7.MatecuTopbarTitleComponent, typeof i8.MatecuTopbarBodyComponent, typeof i9.MatecuTopbarFabComponent, typeof i10.MatecuTopbarSearchComponent, typeof i11.MatecuTopbarActionComponent, typeof i12.MatecuTopbarHeaderRowComponent, typeof i13.MatecuTopbarHeaderColumnComponent]>;
|
|
18
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatecuTopbarLayoutModule>;
|
|
19
|
+
}
|
|
@@ -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,15 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MatecuSpinnerService {
|
|
4
|
+
private active$;
|
|
5
|
+
private requestsKeys;
|
|
6
|
+
constructor();
|
|
7
|
+
watch(): Observable<boolean>;
|
|
8
|
+
add(customKey?: string): string;
|
|
9
|
+
remove(key: string): void;
|
|
10
|
+
clear(): void;
|
|
11
|
+
private updateStatus;
|
|
12
|
+
private createKey;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatecuSpinnerService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MatecuSpinnerService>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { MatecuAlertBoxType } from './matecu-altert-box-type';
|
|
2
|
+
export interface MatecuAlertDialogData {
|
|
3
|
+
message: string;
|
|
4
|
+
title?: string | null | undefined;
|
|
5
|
+
action?: string | null | undefined;
|
|
6
|
+
icon?: boolean | null | undefined;
|
|
7
|
+
type?: MatecuAlertBoxType | string | null | undefined;
|
|
8
|
+
dismissText?: string | null | undefined;
|
|
9
|
+
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { MatecuAlertBoxType } from './matecu-altert-box-type';
|
|
2
|
-
|
|
3
2
|
export interface MatecuAlertSnackBarData {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
message: string;
|
|
4
|
+
title: string;
|
|
5
|
+
action?: string;
|
|
6
|
+
type: MatecuAlertBoxType;
|
|
8
7
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "angular-matecu",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^15.x || ^16.x || ^17.x"
|
|
5
|
+
"@angular/common": "^15.x || ^16.x || ^17.x",
|
|
6
6
|
"@angular/core": "^15.x || ^16.x || ^17.x",
|
|
7
7
|
"@angular/material": "^15.x || ^16.x || ^17.x"
|
|
8
8
|
},
|
|
9
|
-
"dependencies": {
|
|
10
|
-
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"tslib": "^2.3.0"
|
|
11
|
+
},
|
|
12
|
+
"module": "fesm2022/angular-matecu.mjs",
|
|
13
|
+
"typings": "index.d.ts",
|
|
14
|
+
"exports": {
|
|
15
|
+
"./package.json": {
|
|
16
|
+
"default": "./package.json"
|
|
17
|
+
},
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./index.d.ts",
|
|
20
|
+
"esm2022": "./esm2022/angular-matecu.mjs",
|
|
21
|
+
"esm": "./esm2022/angular-matecu.mjs",
|
|
22
|
+
"default": "./fesm2022/angular-matecu.mjs"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"sideEffects": false
|
|
11
26
|
}
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Public API Surface of angular-matecu
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
1
|
/**
|
|
6
2
|
* spinner
|
|
7
3
|
*/
|
|
8
4
|
export * from './lib/modules/matecu-spinner/matecu-spinner.module';
|
|
9
5
|
export * from './lib/components/matecu-spinner/matecu-spinner.component';
|
|
10
6
|
export * from './lib/services/matecu-spinner.service';
|
|
11
|
-
|
|
12
7
|
/**
|
|
13
8
|
* topbar-layout
|
|
14
9
|
*/
|
|
@@ -21,11 +16,9 @@ export * from './lib/components/matecu-topbar-search/matecu-topbar-search.compon
|
|
|
21
16
|
export * from './lib/components/matecu-topbar-action/matecu-topbar-action.component';
|
|
22
17
|
export * from './lib/components/matecu-topbar-header-row/matecu-topbar-header-row.component';
|
|
23
18
|
export * from './lib/components/matecu-topbar-header-column/matecu-topbar-header-column.component';
|
|
24
|
-
|
|
25
19
|
/**
|
|
26
20
|
* alert-box
|
|
27
21
|
*/
|
|
28
|
-
|
|
29
22
|
export * from './lib/modules/matecu-alert-box/matecu-alert-box.module';
|
|
30
23
|
export * from './lib/components/matecu-alert-box/matecu-alert-box.component';
|
|
31
24
|
export * from './lib/components/matecu-alert-dialog/matecu-alert-dialog.component';
|
package/karma.conf.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
// Karma configuration file, see link for more information
|
|
2
|
-
// https://karma-runner.github.io/1.0/config/configuration-file.html
|
|
3
|
-
|
|
4
|
-
module.exports = function (config) {
|
|
5
|
-
config.set({
|
|
6
|
-
basePath: '',
|
|
7
|
-
frameworks: ['jasmine', '@angular-devkit/build-angular'],
|
|
8
|
-
plugins: [
|
|
9
|
-
require('karma-jasmine'),
|
|
10
|
-
require('karma-chrome-launcher'),
|
|
11
|
-
require('karma-jasmine-html-reporter'),
|
|
12
|
-
require('karma-coverage'),
|
|
13
|
-
require('@angular-devkit/build-angular/plugins/karma')
|
|
14
|
-
],
|
|
15
|
-
client: {
|
|
16
|
-
jasmine: {
|
|
17
|
-
// you can add configuration options for Jasmine here
|
|
18
|
-
// the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
|
|
19
|
-
// for example, you can disable the random execution with `random: false`
|
|
20
|
-
// or set a specific seed with `seed: 4321`
|
|
21
|
-
},
|
|
22
|
-
clearContext: false // leave Jasmine Spec Runner output visible in browser
|
|
23
|
-
},
|
|
24
|
-
jasmineHtmlReporter: {
|
|
25
|
-
suppressAll: true // removes the duplicated traces
|
|
26
|
-
},
|
|
27
|
-
coverageReporter: {
|
|
28
|
-
dir: require('path').join(__dirname, '../../coverage/angular-matecu'),
|
|
29
|
-
subdir: '.',
|
|
30
|
-
reporters: [
|
|
31
|
-
{ type: 'html' },
|
|
32
|
-
{ type: 'text-summary' }
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
reporters: ['progress', 'kjhtml'],
|
|
36
|
-
port: 9876,
|
|
37
|
-
colors: true,
|
|
38
|
-
logLevel: config.LOG_INFO,
|
|
39
|
-
autoWatch: true,
|
|
40
|
-
browsers: ['Chrome'],
|
|
41
|
-
singleRun: false,
|
|
42
|
-
restartOnFileChange: true
|
|
43
|
-
});
|
|
44
|
-
};
|
package/ng-package.json
DELETED