matcha-components 18.0.30 → 18.0.31
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/README.md +5 -5
- package/esm2022/lib/matcha-button/button.directive.mjs +37 -29
- package/esm2022/lib/matcha-components.module.mjs +8 -6
- package/esm2022/lib/matcha-divider/divider/divider.component.mjs +47 -0
- package/esm2022/lib/matcha-divider/divider.module.mjs +9 -5
- package/esm2022/lib/matcha-icon/icon.component.mjs +1 -3
- package/esm2022/lib/matcha-modal/matcha-modal.module.mjs +56 -0
- package/esm2022/lib/matcha-modal/modal/modal.component.mjs +34 -0
- package/esm2022/lib/matcha-modal/modal-content/modal-content.component.mjs +11 -0
- package/esm2022/lib/matcha-modal/modal-footer/modal-footer.component.mjs +20 -0
- package/esm2022/lib/matcha-modal/modal-header/modal-header.component.mjs +12 -0
- package/esm2022/lib/matcha-modal/modal-options/modal-options.component.mjs +11 -0
- package/esm2022/lib/{matcha-divider/divider.directive.mjs → matcha-stepper/stepper.directive.mjs} +7 -7
- package/esm2022/lib/matcha-stepper/stepper.module.mjs +18 -0
- package/esm2022/lib/matcha-title/title/title.component.mjs +63 -0
- package/esm2022/lib/matcha-title/title/title.directive.mjs +21 -0
- package/esm2022/lib/matcha-title/title.module.mjs +19 -0
- package/esm2022/public-api.mjs +13 -6
- package/fesm2022/matcha-components.mjs +340 -136
- package/fesm2022/matcha-components.mjs.map +1 -1
- package/lib/matcha-button/button.directive.d.ts +8 -1
- package/lib/matcha-components.module.d.ts +37 -35
- package/lib/matcha-divider/divider/divider.component.d.ts +11 -0
- package/lib/matcha-divider/divider.module.d.ts +2 -2
- package/lib/matcha-icon/icon.component.d.ts +0 -2
- package/lib/matcha-modal/matcha-modal.module.d.ts +15 -0
- package/lib/matcha-modal/modal/modal.component.d.ts +12 -0
- package/lib/matcha-modal/modal-content/modal-content.component.d.ts +5 -0
- package/lib/matcha-modal/modal-footer/modal-footer.component.d.ts +6 -0
- package/lib/matcha-modal/modal-header/modal-header.component.d.ts +5 -0
- package/lib/matcha-modal/modal-options/modal-options.component.d.ts +5 -0
- package/lib/matcha-stepper/stepper.directive.d.ts +9 -0
- package/lib/matcha-stepper/stepper.module.d.ts +8 -0
- package/lib/matcha-title/title/title.component.d.ts +20 -0
- package/lib/matcha-title/title/title.directive.d.ts +10 -0
- package/lib/matcha-title/title.module.d.ts +9 -0
- package/package.json +1 -1
- package/public-api.d.ts +12 -5
- package/esm2022/lib/matcha-headers/headers.module.mjs +0 -20
- package/esm2022/lib/matcha-headers/headine/headline.component.mjs +0 -24
- package/esm2022/lib/matcha-headers/subhead/subhead.component.mjs +0 -24
- package/esm2022/lib/matcha-headers/title/title.component.mjs +0 -24
- package/lib/matcha-divider/divider.directive.d.ts +0 -9
- package/lib/matcha-headers/headers.module.d.ts +0 -10
- package/lib/matcha-headers/headine/headline.component.d.ts +0 -8
- package/lib/matcha-headers/subhead/subhead.component.d.ts +0 -8
- package/lib/matcha-headers/title/title.component.d.ts +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input, ElementRef, Renderer2, Inject, HostListener, NgModule, Directive } from '@angular/core';
|
|
2
|
+
import { Component, Input, EventEmitter, Output, ElementRef, Renderer2, Inject, HostListener, NgModule, Directive } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
|
|
@@ -51,70 +51,110 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImpor
|
|
|
51
51
|
type: Input
|
|
52
52
|
}] } });
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class MatchaDividerComponent {
|
|
55
55
|
constructor() {
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
56
|
+
this.gap = null;
|
|
57
|
+
this.gapSm = null;
|
|
58
|
+
this.gapMd = null;
|
|
59
|
+
this.gapLg = null;
|
|
60
|
+
this.gapXl = null;
|
|
58
61
|
}
|
|
59
62
|
get classes() {
|
|
60
|
-
const
|
|
61
|
-
const
|
|
63
|
+
const gap = this.gap ? `my-${this.gap}` : '';
|
|
64
|
+
const gapSm = this.gapSm ? `my-sm-${this.gapSm}` : '';
|
|
65
|
+
const gapMd = this.gapMd ? `my-md-${this.gapMd}` : '';
|
|
66
|
+
const gapLg = this.gapLg ? `my-lg-${this.gapLg}` : '';
|
|
67
|
+
const gapXl = this.gapXl ? `my-xl-${this.gapXl}` : '';
|
|
68
|
+
let activeClasses = 'flex-column w-100-p bt-2 border-color-disabled';
|
|
69
|
+
activeClasses += gap ? ` ${gap}` : '';
|
|
70
|
+
activeClasses += gapSm ? ` ${gapSm}` : '';
|
|
71
|
+
activeClasses += gapMd ? ` ${gapMd}` : '';
|
|
72
|
+
activeClasses += gapLg ? ` ${gapLg}` : '';
|
|
73
|
+
activeClasses += gapXl ? ` ${gapXl}` : '';
|
|
62
74
|
return activeClasses;
|
|
63
75
|
}
|
|
64
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type:
|
|
65
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.0", type:
|
|
76
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaDividerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
77
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.0", type: MatchaDividerComponent, selector: "matcha-divider", inputs: { gap: "gap", gapSm: ["gap-sm", "gapSm"], gapMd: ["gap-md", "gapMd"], gapLg: ["gap-lg", "gapLg"], gapXl: ["gap-xl", "gapXl"] }, ngImport: i0, template: "<div [class]=\"classes\"></div>\n", styles: [""] }); }
|
|
66
78
|
}
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type:
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaDividerComponent, decorators: [{
|
|
68
80
|
type: Component,
|
|
69
|
-
args: [{ selector: 'matcha-
|
|
70
|
-
}], propDecorators: {
|
|
71
|
-
type: Input
|
|
72
|
-
|
|
73
|
-
|
|
81
|
+
args: [{ selector: 'matcha-divider', template: "<div [class]=\"classes\"></div>\n" }]
|
|
82
|
+
}], propDecorators: { gap: [{
|
|
83
|
+
type: Input,
|
|
84
|
+
args: ['gap']
|
|
85
|
+
}], gapSm: [{
|
|
86
|
+
type: Input,
|
|
87
|
+
args: ['gap-sm']
|
|
88
|
+
}], gapMd: [{
|
|
89
|
+
type: Input,
|
|
90
|
+
args: ['gap-md']
|
|
91
|
+
}], gapLg: [{
|
|
92
|
+
type: Input,
|
|
93
|
+
args: ['gap-lg']
|
|
94
|
+
}], gapXl: [{
|
|
95
|
+
type: Input,
|
|
96
|
+
args: ['gap-xl']
|
|
74
97
|
}] } });
|
|
75
98
|
|
|
76
|
-
|
|
99
|
+
// matcha-title <matcha-title color="fg" level="1" loading="false" type="pill" icon="icon" (iconClick)="emitIconAction($event)"></matcha-title>
|
|
100
|
+
class MatchaTitleComponent {
|
|
77
101
|
constructor() {
|
|
78
|
-
this.
|
|
102
|
+
this.color = null;
|
|
103
|
+
this.level = 1;
|
|
79
104
|
this.loading = false;
|
|
105
|
+
this.type = 'pill';
|
|
106
|
+
this.icon = '';
|
|
107
|
+
this.iconClick = new EventEmitter();
|
|
108
|
+
this.levelClasses = {
|
|
109
|
+
1: 'fw-900 fs-12 lh-12 text-uppercase',
|
|
110
|
+
2: 'fw-900 fs-14 lh-16',
|
|
111
|
+
3: 'fw-900 fs-16 lh-18',
|
|
112
|
+
4: 'fw-900 fs-20 lh-22',
|
|
113
|
+
5: 'fw-900 fs-20 lh-22',
|
|
114
|
+
6: 'fw-900 fs-32 lh-32',
|
|
115
|
+
7: 'fw-900 fs-40 lh-40',
|
|
116
|
+
};
|
|
80
117
|
}
|
|
81
|
-
|
|
82
|
-
const bullet = this.
|
|
83
|
-
const
|
|
84
|
-
return
|
|
118
|
+
getTypes() {
|
|
119
|
+
const bullet = this.color ? `background-${this.color} ` : 'background-fg';
|
|
120
|
+
const icon = this.icon ? `i-matcha-${this.icon}` : '';
|
|
121
|
+
return this.type === 'pill' ? `min-h-24 h-24 max-h-24 max-w-8 w-8 min-w-8 position-relative mr-8 radius-8 ${bullet}` :
|
|
122
|
+
this.type === 'bullet' ? `min-h-8 h-8 max-h-8 max-w-8 w-8 min-w-8 position-relative mr-8 radius-8 ${this.color ? `background-${this.color}` : 'background-fg'}` :
|
|
123
|
+
this.type === 'icon' ? `position-relative mr-8 radius-8 ${icon} ${this.color ? `color-${this.color}` : 'color-placeholder'}` :
|
|
124
|
+
this.type === 'none' ? `d-none--force` : '';
|
|
85
125
|
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaSubheadComponent, decorators: [{
|
|
90
|
-
type: Component,
|
|
91
|
-
args: [{ selector: 'matcha-subhead', template: "<h5 class=\"lh-16 d-flex flex-align-center m-0 fw-900\"><span [class]=\"classes\"></span><ng-content></ng-content></h5>\n" }]
|
|
92
|
-
}], propDecorators: { bulletColor: [{
|
|
93
|
-
type: Input
|
|
94
|
-
}], loading: [{
|
|
95
|
-
type: Input
|
|
96
|
-
}] } });
|
|
97
|
-
|
|
98
|
-
class MatchaTitleComponent {
|
|
99
|
-
constructor() {
|
|
100
|
-
this.bulletColor = 'accent';
|
|
101
|
-
this.loading = false;
|
|
126
|
+
get signClasses() {
|
|
127
|
+
const activeClasses = `d-flex ${this.getTypes()} ${this.loading ? 'loading' : ''}`;
|
|
128
|
+
return activeClasses;
|
|
102
129
|
}
|
|
103
|
-
get
|
|
104
|
-
const
|
|
105
|
-
const
|
|
130
|
+
get textClasses() {
|
|
131
|
+
const classes = `d-inline-block position-relative mr-8 radius-8`;
|
|
132
|
+
const level = this.levelClasses[this.level] ? this.levelClasses[this.level] : '';
|
|
133
|
+
const activeClasses = `${classes} ${level} ${this.loading ? 'loading' : ''}`;
|
|
106
134
|
return activeClasses;
|
|
107
135
|
}
|
|
136
|
+
emitIconAction() {
|
|
137
|
+
const data = { icon: this.icon };
|
|
138
|
+
this.iconClick.emit(data);
|
|
139
|
+
}
|
|
108
140
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
109
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.0", type: MatchaTitleComponent, selector: "matcha-title", inputs: {
|
|
141
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.0", type: MatchaTitleComponent, selector: "matcha-title", inputs: { color: "color", level: "level", loading: "loading", type: "type", icon: "icon" }, outputs: { iconClick: "iconClick" }, ngImport: i0, template: "<!-- <matcha-title level=\"1\" type=\"bullet\"></matcha-title> -->\n\n<div class=\"d-flex flex-align-center m-0\">\n <span [class]=\"signClasses\" (click)=\"emitIconAction()\"></span>\n <span [class]=\"textClasses\">\n <ng-content></ng-content>\n </span>\n</div>\n", styles: [""] }); }
|
|
110
142
|
}
|
|
111
143
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaTitleComponent, decorators: [{
|
|
112
144
|
type: Component,
|
|
113
|
-
args: [{ selector: 'matcha-title', template: "<
|
|
114
|
-
}], propDecorators: {
|
|
145
|
+
args: [{ selector: 'matcha-title', template: "<!-- <matcha-title level=\"1\" type=\"bullet\"></matcha-title> -->\n\n<div class=\"d-flex flex-align-center m-0\">\n <span [class]=\"signClasses\" (click)=\"emitIconAction()\"></span>\n <span [class]=\"textClasses\">\n <ng-content></ng-content>\n </span>\n</div>\n" }]
|
|
146
|
+
}], propDecorators: { color: [{
|
|
147
|
+
type: Input
|
|
148
|
+
}], level: [{
|
|
115
149
|
type: Input
|
|
116
150
|
}], loading: [{
|
|
117
151
|
type: Input
|
|
152
|
+
}], type: [{
|
|
153
|
+
type: Input
|
|
154
|
+
}], icon: [{
|
|
155
|
+
type: Input
|
|
156
|
+
}], iconClick: [{
|
|
157
|
+
type: Output
|
|
118
158
|
}] } });
|
|
119
159
|
|
|
120
160
|
class MatchaIconComponent {
|
|
@@ -150,8 +190,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImpor
|
|
|
150
190
|
}], loading: [{
|
|
151
191
|
type: Input
|
|
152
192
|
}] } });
|
|
153
|
-
class MatchaCardFooter {
|
|
154
|
-
}
|
|
155
193
|
|
|
156
194
|
class MatchaGridComponent {
|
|
157
195
|
getStringSplited(inputValue) {
|
|
@@ -336,6 +374,82 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImpor
|
|
|
336
374
|
args: ['gap-xl']
|
|
337
375
|
}] } });
|
|
338
376
|
|
|
377
|
+
class MatchaModalContentComponent {
|
|
378
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaModalContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
379
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.0", type: MatchaModalContentComponent, selector: "matcha-modal-content", ngImport: i0, template: "\n<div class=\"py-24 pt-0 overflow-auto\">\n <div class=\"matcha-card-flat matcha-background-transparent p-0 d-flex-column mb-24\">\n <div class=\"d-flex-column matcha-card-flat matcha-background-transparent px-24 py-0\">\n <ng-content></ng-content>\n <!-- <h4 class=\"fw-700 my-24\">{{channel?.name}}</h4>\n <div *ngIf=\"channel?.image\" class=\"container\">\n <div\n class=\"w-100-p aspect-ratio-16x9 d-flex-column d-flex-space-between overflow-hidden position-relative matcha-background-disabled border-radius-8\">\n <div class=\"front-image d-flex-column h-100-p p-24\">\n <div\n class=\"position-absolute align-top align-left w-100-p aspect-ratio-16x9 d-flex-center-center\">\n <div class=\"position-absolute align-top align-left w-100-p aspect-ratio-16x9\" [ngStyle]=\"{\n background: 'url(' + channel?.image + ') no-repeat center center / cover',\n filter: 'blur(100px)'\n }\"></div>\n <div class=\"position-absolute align-top align-left w-100-p aspect-ratio-16x9\" [ngStyle]=\"{\n background: 'url(' + channel?.image + ') no-repeat center center / cover'\n }\"></div>\n </div>\n </div>\n </div>\n </div>\n <div *ngIf=\"!channel?.image\" class=\"container min-h-220 d-flex\">\n <div class=\"w-100-p min-h-220 matcha-background-disabled border-radius-8\">\n <div class=\"front-image h-100-p p-24 d-flex-center-center\">\n <span class=\"i-matcha-gallery i-size-lg fs-72 lh-72 w-72 h-72 matcha-color-placeholder\"></span>\n </div>\n </div>\n </div>\n <div class=\"py-24\">\n <span class=\"par-m matcha-color-placeholder\">\n <span [innerHTML]=\"channel.description ? getFormattedText(channel.description) : 'N\u00E3o dispon\u00EDvel'\"></span>\n </span>\n </div>\n <collapsible-section class=\"flatten\" color=\"primary\" nameRef=\"advancedOptions\" title=\"Dados extras\"\n [labelMore]=\"'ACTION.SEE_MORE' | translate\" [labelLess]=\"'ACTION.SEE_LESS' | translate\">\n <div class=\"d-flex-column gap-16\">\n <span>• Configura\u00E7\u00F5es do canal</span>\n <div class=\"matcha-card\">\n <div class=\"d-flex-space-between\">\n <span>Permitir o usu\u00E1rio compartilhar canal?</span>\n <span>{{channel.can_share ? 'Sim' : 'N\u00E3o'}}</span>\n </div>\n </div>\n\n <div class=\"matcha-card mb-24\">\n <div class=\"d-flex-space-between\">\n <span>Est\u00E1 ao vivo agora?</span>\n <span>{{ channel.is_live ? ('ACTION.YES' | translate) : ('ACTION.NO' | translate)}}</span>\n </div>\n </div>\n </div>\n </collapsible-section> -->\n </div>\n </div>\n</div>\n", styles: [""] }); }
|
|
380
|
+
}
|
|
381
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaModalContentComponent, decorators: [{
|
|
382
|
+
type: Component,
|
|
383
|
+
args: [{ selector: 'matcha-modal-content', template: "\n<div class=\"py-24 pt-0 overflow-auto\">\n <div class=\"matcha-card-flat matcha-background-transparent p-0 d-flex-column mb-24\">\n <div class=\"d-flex-column matcha-card-flat matcha-background-transparent px-24 py-0\">\n <ng-content></ng-content>\n <!-- <h4 class=\"fw-700 my-24\">{{channel?.name}}</h4>\n <div *ngIf=\"channel?.image\" class=\"container\">\n <div\n class=\"w-100-p aspect-ratio-16x9 d-flex-column d-flex-space-between overflow-hidden position-relative matcha-background-disabled border-radius-8\">\n <div class=\"front-image d-flex-column h-100-p p-24\">\n <div\n class=\"position-absolute align-top align-left w-100-p aspect-ratio-16x9 d-flex-center-center\">\n <div class=\"position-absolute align-top align-left w-100-p aspect-ratio-16x9\" [ngStyle]=\"{\n background: 'url(' + channel?.image + ') no-repeat center center / cover',\n filter: 'blur(100px)'\n }\"></div>\n <div class=\"position-absolute align-top align-left w-100-p aspect-ratio-16x9\" [ngStyle]=\"{\n background: 'url(' + channel?.image + ') no-repeat center center / cover'\n }\"></div>\n </div>\n </div>\n </div>\n </div>\n <div *ngIf=\"!channel?.image\" class=\"container min-h-220 d-flex\">\n <div class=\"w-100-p min-h-220 matcha-background-disabled border-radius-8\">\n <div class=\"front-image h-100-p p-24 d-flex-center-center\">\n <span class=\"i-matcha-gallery i-size-lg fs-72 lh-72 w-72 h-72 matcha-color-placeholder\"></span>\n </div>\n </div>\n </div>\n <div class=\"py-24\">\n <span class=\"par-m matcha-color-placeholder\">\n <span [innerHTML]=\"channel.description ? getFormattedText(channel.description) : 'N\u00E3o dispon\u00EDvel'\"></span>\n </span>\n </div>\n <collapsible-section class=\"flatten\" color=\"primary\" nameRef=\"advancedOptions\" title=\"Dados extras\"\n [labelMore]=\"'ACTION.SEE_MORE' | translate\" [labelLess]=\"'ACTION.SEE_LESS' | translate\">\n <div class=\"d-flex-column gap-16\">\n <span>• Configura\u00E7\u00F5es do canal</span>\n <div class=\"matcha-card\">\n <div class=\"d-flex-space-between\">\n <span>Permitir o usu\u00E1rio compartilhar canal?</span>\n <span>{{channel.can_share ? 'Sim' : 'N\u00E3o'}}</span>\n </div>\n </div>\n\n <div class=\"matcha-card mb-24\">\n <div class=\"d-flex-space-between\">\n <span>Est\u00E1 ao vivo agora?</span>\n <span>{{ channel.is_live ? ('ACTION.YES' | translate) : ('ACTION.NO' | translate)}}</span>\n </div>\n </div>\n </div>\n </collapsible-section> -->\n </div>\n </div>\n</div>\n" }]
|
|
384
|
+
}] });
|
|
385
|
+
|
|
386
|
+
class MatchaModalHeaderComponent {
|
|
387
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaModalHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
388
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.0", type: MatchaModalHeaderComponent, selector: "matcha-modal-header", ngImport: i0, template: "<!-- [@animate]=\"{ value: '*', params: { delay: '100ms' } }\" -->\n<!-- MATCHA CHECK -->\n<div class=\"matcha-section\">\n <div class=\"d-flex flex-wrap flex-space-between mb-16 mb-sm-24\">\n <div class=\"flex-space-between flex-align-center\">\n <ng-content></ng-content>\n </div>\n <div class=\"flex-row flex-end gap-8\">\n <ng-content select=\"matcha-modal-options\"></ng-content>\n </div>\n </div>\n <matcha-divider></matcha-divider>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: MatchaDividerComponent, selector: "matcha-divider", inputs: ["gap", "gap-sm", "gap-md", "gap-lg", "gap-xl"] }] }); }
|
|
389
|
+
}
|
|
390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaModalHeaderComponent, decorators: [{
|
|
391
|
+
type: Component,
|
|
392
|
+
args: [{ selector: 'matcha-modal-header', template: "<!-- [@animate]=\"{ value: '*', params: { delay: '100ms' } }\" -->\n<!-- MATCHA CHECK -->\n<div class=\"matcha-section\">\n <div class=\"d-flex flex-wrap flex-space-between mb-16 mb-sm-24\">\n <div class=\"flex-space-between flex-align-center\">\n <ng-content></ng-content>\n </div>\n <div class=\"flex-row flex-end gap-8\">\n <ng-content select=\"matcha-modal-options\"></ng-content>\n </div>\n </div>\n <matcha-divider></matcha-divider>\n</div>\n" }]
|
|
393
|
+
}] });
|
|
394
|
+
|
|
395
|
+
class MatchaModalFooterComponent {
|
|
396
|
+
ngAfterViewInit() {
|
|
397
|
+
const modalFooter = document.querySelectorAll('matcha-modal-footer');
|
|
398
|
+
const buttons = modalFooter[0].querySelectorAll('.matcha-button');
|
|
399
|
+
buttons.forEach(button => {
|
|
400
|
+
button.classList.add('max-w-md-256');
|
|
401
|
+
button.classList.add('w-100-p');
|
|
402
|
+
});
|
|
403
|
+
}
|
|
404
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaModalFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
405
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.0", type: MatchaModalFooterComponent, selector: "matcha-modal-footer", ngImport: i0, template: "<matcha-divider></matcha-divider>\n<div class=\"flex-column flex-sm-row w-100-p flex-space-between pt-16 pt-md-24 gap-16\">\n <ng-content></ng-content>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: MatchaDividerComponent, selector: "matcha-divider", inputs: ["gap", "gap-sm", "gap-md", "gap-lg", "gap-xl"] }] }); }
|
|
406
|
+
}
|
|
407
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaModalFooterComponent, decorators: [{
|
|
408
|
+
type: Component,
|
|
409
|
+
args: [{ selector: 'matcha-modal-footer', template: "<matcha-divider></matcha-divider>\n<div class=\"flex-column flex-sm-row w-100-p flex-space-between pt-16 pt-md-24 gap-16\">\n <ng-content></ng-content>\n</div>\n" }]
|
|
410
|
+
}] });
|
|
411
|
+
|
|
412
|
+
class MatchaModalOptionsComponent {
|
|
413
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaModalOptionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
414
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.0", type: MatchaModalOptionsComponent, selector: "matcha-modal-options", ngImport: i0, template: "<div class=\"flex-row gap-8\">\n <ng-content></ng-content>\n</div>\n", styles: [""] }); }
|
|
415
|
+
}
|
|
416
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaModalOptionsComponent, decorators: [{
|
|
417
|
+
type: Component,
|
|
418
|
+
args: [{ selector: 'matcha-modal-options', template: "<div class=\"flex-row gap-8\">\n <ng-content></ng-content>\n</div>\n" }]
|
|
419
|
+
}] });
|
|
420
|
+
|
|
421
|
+
class MatchaModalComponent {
|
|
422
|
+
constructor() {
|
|
423
|
+
this.elevation = 0;
|
|
424
|
+
this.class = '';
|
|
425
|
+
this.icon = '';
|
|
426
|
+
this.iconClick = new EventEmitter();
|
|
427
|
+
}
|
|
428
|
+
get classes() {
|
|
429
|
+
const elevation = `elevation-z-${this.elevation}`;
|
|
430
|
+
const activeClasses = `background-surface radius-8 p-16 p-md-24 ${elevation} ${this.class}`;
|
|
431
|
+
return activeClasses;
|
|
432
|
+
}
|
|
433
|
+
emitIconAction() {
|
|
434
|
+
const data = { icon: this.icon };
|
|
435
|
+
this.iconClick.emit(data);
|
|
436
|
+
}
|
|
437
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
438
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.0", type: MatchaModalComponent, selector: "matcha-modal", inputs: { elevation: "elevation", class: "class", icon: "icon" }, outputs: { iconClick: "iconClick" }, ngImport: i0, template: "<!-- HOW TO USE:\n<page-header [title]=\"TITULO-AQU\" icon=\"ICONE-AQUI\" (iconClick)=\"FUN\u00C7\u00C3O-AO-CLICAR-NO-ICONE-AQUI\">\n <search-form (searchText)=\"searchText($event)\"></search-form>\n <button-toggle-view>\n BOT\u00C3O DE TOOGLE VIEW AQUI\n </button-toggle-view>\n <button-new>\n BOT\u00C3O DE NOVO AQUI\n </button-new>\n QUALQUER OUTRA FUNCIONALIDADE AQUI\n</page-header>\n-->\n<!-- CONTENT HEADER -->\n<div [class]=\"classes\">\n <ng-content></ng-content>\n</div>\n<!-- / CONTENT HEADER -->\n", styles: [""] }); }
|
|
439
|
+
}
|
|
440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaModalComponent, decorators: [{
|
|
441
|
+
type: Component,
|
|
442
|
+
args: [{ selector: 'matcha-modal', template: "<!-- HOW TO USE:\n<page-header [title]=\"TITULO-AQU\" icon=\"ICONE-AQUI\" (iconClick)=\"FUN\u00C7\u00C3O-AO-CLICAR-NO-ICONE-AQUI\">\n <search-form (searchText)=\"searchText($event)\"></search-form>\n <button-toggle-view>\n BOT\u00C3O DE TOOGLE VIEW AQUI\n </button-toggle-view>\n <button-new>\n BOT\u00C3O DE NOVO AQUI\n </button-new>\n QUALQUER OUTRA FUNCIONALIDADE AQUI\n</page-header>\n-->\n<!-- CONTENT HEADER -->\n<div [class]=\"classes\">\n <ng-content></ng-content>\n</div>\n<!-- / CONTENT HEADER -->\n" }]
|
|
443
|
+
}], propDecorators: { elevation: [{
|
|
444
|
+
type: Input
|
|
445
|
+
}], class: [{
|
|
446
|
+
type: Input
|
|
447
|
+
}], icon: [{
|
|
448
|
+
type: Input
|
|
449
|
+
}], iconClick: [{
|
|
450
|
+
type: Output
|
|
451
|
+
}] } });
|
|
452
|
+
|
|
339
453
|
class MatchaMenuComponent {
|
|
340
454
|
constructor(_elementRef, _renderer) {
|
|
341
455
|
this._elementRef = _elementRef;
|
|
@@ -387,6 +501,116 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImpor
|
|
|
387
501
|
args: ['mouseleave', ['$event']]
|
|
388
502
|
}] } });
|
|
389
503
|
|
|
504
|
+
class MatchaIconModule {
|
|
505
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
506
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: MatchaIconModule, declarations: [MatchaIconComponent], imports: [CommonModule], exports: [MatchaIconComponent] }); }
|
|
507
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaIconModule, imports: [CommonModule] }); }
|
|
508
|
+
}
|
|
509
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaIconModule, decorators: [{
|
|
510
|
+
type: NgModule,
|
|
511
|
+
args: [{
|
|
512
|
+
declarations: [MatchaIconComponent],
|
|
513
|
+
imports: [CommonModule],
|
|
514
|
+
exports: [MatchaIconComponent],
|
|
515
|
+
}]
|
|
516
|
+
}] });
|
|
517
|
+
|
|
518
|
+
class MatchaTitleDirective {
|
|
519
|
+
constructor(el, renderer) {
|
|
520
|
+
this.el = el;
|
|
521
|
+
this.renderer = renderer;
|
|
522
|
+
}
|
|
523
|
+
ngOnInit() {
|
|
524
|
+
// Adiciona a classe cursor-pointer ao elemento se o output iconClick estiver presente
|
|
525
|
+
this.renderer.addClass(this.el.nativeElement, 'cursor-pointer');
|
|
526
|
+
}
|
|
527
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaTitleDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
528
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.0", type: MatchaTitleDirective, selector: "[iconClick]", ngImport: i0 }); }
|
|
529
|
+
}
|
|
530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaTitleDirective, decorators: [{
|
|
531
|
+
type: Directive,
|
|
532
|
+
args: [{
|
|
533
|
+
selector: '[iconClick]'
|
|
534
|
+
}]
|
|
535
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }] });
|
|
536
|
+
|
|
537
|
+
class MatchaTitleModule {
|
|
538
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaTitleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
539
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: MatchaTitleModule, declarations: [MatchaTitleComponent, MatchaTitleDirective], imports: [CommonModule], exports: [MatchaTitleComponent, MatchaTitleDirective] }); }
|
|
540
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaTitleModule, imports: [CommonModule] }); }
|
|
541
|
+
}
|
|
542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaTitleModule, decorators: [{
|
|
543
|
+
type: NgModule,
|
|
544
|
+
args: [{
|
|
545
|
+
declarations: [MatchaTitleComponent, MatchaTitleDirective],
|
|
546
|
+
imports: [CommonModule],
|
|
547
|
+
exports: [MatchaTitleComponent, MatchaTitleDirective],
|
|
548
|
+
}]
|
|
549
|
+
}] });
|
|
550
|
+
|
|
551
|
+
class MatchaDividerModule {
|
|
552
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaDividerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
553
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: MatchaDividerModule, declarations: [MatchaDividerComponent], imports: [CommonModule], exports: [MatchaDividerComponent] }); }
|
|
554
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaDividerModule, imports: [CommonModule] }); }
|
|
555
|
+
}
|
|
556
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaDividerModule, decorators: [{
|
|
557
|
+
type: NgModule,
|
|
558
|
+
args: [{
|
|
559
|
+
declarations: [
|
|
560
|
+
MatchaDividerComponent
|
|
561
|
+
],
|
|
562
|
+
imports: [CommonModule],
|
|
563
|
+
exports: [
|
|
564
|
+
MatchaDividerComponent
|
|
565
|
+
],
|
|
566
|
+
}]
|
|
567
|
+
}] });
|
|
568
|
+
|
|
569
|
+
class MatchaModalModule {
|
|
570
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
571
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: MatchaModalModule, declarations: [MatchaModalHeaderComponent,
|
|
572
|
+
MatchaModalContentComponent,
|
|
573
|
+
MatchaModalFooterComponent,
|
|
574
|
+
MatchaModalOptionsComponent,
|
|
575
|
+
MatchaModalComponent], imports: [CommonModule,
|
|
576
|
+
MatchaIconModule,
|
|
577
|
+
MatchaTitleModule,
|
|
578
|
+
MatchaDividerModule], exports: [MatchaModalHeaderComponent,
|
|
579
|
+
MatchaModalContentComponent,
|
|
580
|
+
MatchaModalFooterComponent,
|
|
581
|
+
MatchaModalOptionsComponent,
|
|
582
|
+
MatchaModalComponent] }); }
|
|
583
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaModalModule, imports: [CommonModule,
|
|
584
|
+
MatchaIconModule,
|
|
585
|
+
MatchaTitleModule,
|
|
586
|
+
MatchaDividerModule] }); }
|
|
587
|
+
}
|
|
588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaModalModule, decorators: [{
|
|
589
|
+
type: NgModule,
|
|
590
|
+
args: [{
|
|
591
|
+
declarations: [
|
|
592
|
+
MatchaModalHeaderComponent,
|
|
593
|
+
MatchaModalContentComponent,
|
|
594
|
+
MatchaModalFooterComponent,
|
|
595
|
+
MatchaModalOptionsComponent,
|
|
596
|
+
MatchaModalComponent
|
|
597
|
+
],
|
|
598
|
+
imports: [
|
|
599
|
+
CommonModule,
|
|
600
|
+
MatchaIconModule,
|
|
601
|
+
MatchaTitleModule,
|
|
602
|
+
MatchaDividerModule
|
|
603
|
+
],
|
|
604
|
+
exports: [
|
|
605
|
+
MatchaModalHeaderComponent,
|
|
606
|
+
MatchaModalContentComponent,
|
|
607
|
+
MatchaModalFooterComponent,
|
|
608
|
+
MatchaModalOptionsComponent,
|
|
609
|
+
MatchaModalComponent
|
|
610
|
+
]
|
|
611
|
+
}]
|
|
612
|
+
}] });
|
|
613
|
+
|
|
390
614
|
class MatchaCardModule {
|
|
391
615
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
392
616
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: MatchaCardModule, declarations: [MatchaCardComponent], imports: [CommonModule], exports: [MatchaCardComponent] }); }
|
|
@@ -415,20 +639,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImpor
|
|
|
415
639
|
}]
|
|
416
640
|
}] });
|
|
417
641
|
|
|
418
|
-
class MatchaHeadersModule {
|
|
419
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaHeadersModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
420
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: MatchaHeadersModule, declarations: [MatchaTitleComponent, MatchaHeadlineComponent, MatchaSubheadComponent], imports: [CommonModule], exports: [MatchaTitleComponent, MatchaHeadlineComponent, MatchaSubheadComponent] }); }
|
|
421
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaHeadersModule, imports: [CommonModule] }); }
|
|
422
|
-
}
|
|
423
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaHeadersModule, decorators: [{
|
|
424
|
-
type: NgModule,
|
|
425
|
-
args: [{
|
|
426
|
-
declarations: [MatchaTitleComponent, MatchaHeadlineComponent, MatchaSubheadComponent],
|
|
427
|
-
imports: [CommonModule],
|
|
428
|
-
exports: [MatchaTitleComponent, MatchaHeadlineComponent, MatchaSubheadComponent],
|
|
429
|
-
}]
|
|
430
|
-
}] });
|
|
431
|
-
|
|
432
642
|
class MatchaAutocompleteDirective {
|
|
433
643
|
constructor(_elementRef, _renderer) {
|
|
434
644
|
this._elementRef = _elementRef;
|
|
@@ -628,7 +838,7 @@ class MatchaButtonDirective {
|
|
|
628
838
|
}
|
|
629
839
|
ngOnInit() {
|
|
630
840
|
this._renderer.addClass(this._elementRef.nativeElement, `matcha-button`);
|
|
631
|
-
this.
|
|
841
|
+
this.setConfig();
|
|
632
842
|
// Adicione o evento de clique apenas a elementos com a classe "matcha-button"
|
|
633
843
|
const buttons = document.querySelectorAll('.matcha-button');
|
|
634
844
|
buttons.forEach(button => {
|
|
@@ -637,9 +847,9 @@ class MatchaButtonDirective {
|
|
|
637
847
|
});
|
|
638
848
|
}
|
|
639
849
|
ngOnChanges() {
|
|
640
|
-
this.
|
|
850
|
+
this.setConfig();
|
|
641
851
|
}
|
|
642
|
-
|
|
852
|
+
clearConfig() {
|
|
643
853
|
// BG colors and FG contrast
|
|
644
854
|
this._renderer.removeClass(this._elementRef.nativeElement, `${this._config.color}`);
|
|
645
855
|
// FG colors only
|
|
@@ -654,29 +864,38 @@ class MatchaButtonDirective {
|
|
|
654
864
|
this._renderer.removeClass(this._elementRef.nativeElement, `matcha-button-pill`);
|
|
655
865
|
//icon
|
|
656
866
|
this._renderer.removeClass(this._elementRef.nativeElement, `matcha-button-basic`);
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
867
|
+
}
|
|
868
|
+
setConfig() {
|
|
869
|
+
this.clearConfig();
|
|
870
|
+
this.size ? this.setSize() : null;
|
|
871
|
+
this.color ? this.setColor() : null;
|
|
872
|
+
(this.outline === true || this.outline === 'true') ? this.setOutline() : null;
|
|
873
|
+
(this.pill === true || this.pill === 'true') ? this.setPill() : null;
|
|
874
|
+
(this.basic === true || this.basic === 'true') ? this.setBasic() : null;
|
|
875
|
+
(this.icon === true || this.icon === 'true') ? this.setIcon() : null;
|
|
876
|
+
}
|
|
877
|
+
setSize() {
|
|
878
|
+
this._renderer.addClass(this._elementRef.nativeElement, `matcha-button-${this.size}`);
|
|
879
|
+
this._config.size = this.size;
|
|
880
|
+
}
|
|
881
|
+
setColor() {
|
|
882
|
+
this._renderer.addClass(this._elementRef.nativeElement, `${this.color}`);
|
|
883
|
+
this._config.color = this.color;
|
|
884
|
+
}
|
|
885
|
+
setOutline() {
|
|
886
|
+
this._renderer.addClass(this._elementRef.nativeElement, `matcha-button-outline`);
|
|
887
|
+
this._renderer.addClass(this._elementRef.nativeElement, `color-${this.color}`);
|
|
888
|
+
}
|
|
889
|
+
setPill() {
|
|
890
|
+
this._renderer.addClass(this._elementRef.nativeElement, `matcha-button-pill`);
|
|
891
|
+
}
|
|
892
|
+
setBasic() {
|
|
893
|
+
this._renderer.removeClass(this._elementRef.nativeElement, `${this._config.color}`);
|
|
894
|
+
this._renderer.addClass(this._elementRef.nativeElement, `matcha-button-basic`);
|
|
895
|
+
this._renderer.addClass(this._elementRef.nativeElement, `color-${this.color}`);
|
|
896
|
+
}
|
|
897
|
+
setIcon() {
|
|
898
|
+
this._renderer.addClass(this._elementRef.nativeElement, `matcha-button-icon`);
|
|
680
899
|
}
|
|
681
900
|
addRippleEffect(e) {
|
|
682
901
|
var target = e.target;
|
|
@@ -711,8 +930,7 @@ class MatchaButtonDirective {
|
|
|
711
930
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaButtonDirective, decorators: [{
|
|
712
931
|
type: Directive,
|
|
713
932
|
args: [{
|
|
714
|
-
selector: '[matcha-button]'
|
|
715
|
-
standalone: false,
|
|
933
|
+
selector: '[matcha-button]'
|
|
716
934
|
}]
|
|
717
935
|
}], ctorParameters: () => [{ type: i0.ElementRef, decorators: [{
|
|
718
936
|
type: Inject,
|
|
@@ -884,37 +1102,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImpor
|
|
|
884
1102
|
}]
|
|
885
1103
|
}] });
|
|
886
1104
|
|
|
887
|
-
class MatchaDividerDirective {
|
|
888
|
-
constructor(_elementRef, _renderer) {
|
|
889
|
-
this._elementRef = _elementRef;
|
|
890
|
-
this._renderer = _renderer;
|
|
891
|
-
//this._elementRef.nativeElement.style.backgroundColor = 'grey';
|
|
892
|
-
this._renderer.addClass(this._elementRef.nativeElement, 'matcha-dialog');
|
|
893
|
-
}
|
|
894
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaDividerDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
895
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.0", type: MatchaDividerDirective, selector: "[matchaDivider]", ngImport: i0 }); }
|
|
896
|
-
}
|
|
897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaDividerDirective, decorators: [{
|
|
898
|
-
type: Directive,
|
|
899
|
-
args: [{
|
|
900
|
-
selector: '[matchaDivider]'
|
|
901
|
-
}]
|
|
902
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }] });
|
|
903
|
-
|
|
904
|
-
class MatchaDividerModule {
|
|
905
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaDividerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
906
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: MatchaDividerModule, declarations: [MatchaDividerDirective], imports: [CommonModule], exports: [MatchaDividerDirective] }); }
|
|
907
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaDividerModule, imports: [CommonModule] }); }
|
|
908
|
-
}
|
|
909
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaDividerModule, decorators: [{
|
|
910
|
-
type: NgModule,
|
|
911
|
-
args: [{
|
|
912
|
-
declarations: [MatchaDividerDirective],
|
|
913
|
-
imports: [CommonModule],
|
|
914
|
-
exports: [MatchaDividerDirective],
|
|
915
|
-
}]
|
|
916
|
-
}] });
|
|
917
|
-
|
|
918
1105
|
class MatchaElevationDirective {
|
|
919
1106
|
constructor(_elementRef, _renderer) {
|
|
920
1107
|
this._elementRef = _elementRef;
|
|
@@ -1023,20 +1210,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImpor
|
|
|
1023
1210
|
}]
|
|
1024
1211
|
}] });
|
|
1025
1212
|
|
|
1026
|
-
class MatchaIconModule {
|
|
1027
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1028
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: MatchaIconModule, declarations: [MatchaIconComponent], imports: [CommonModule], exports: [MatchaIconComponent] }); }
|
|
1029
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaIconModule, imports: [CommonModule] }); }
|
|
1030
|
-
}
|
|
1031
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaIconModule, decorators: [{
|
|
1032
|
-
type: NgModule,
|
|
1033
|
-
args: [{
|
|
1034
|
-
declarations: [MatchaIconComponent],
|
|
1035
|
-
imports: [CommonModule],
|
|
1036
|
-
exports: [MatchaIconComponent],
|
|
1037
|
-
}]
|
|
1038
|
-
}] });
|
|
1039
|
-
|
|
1040
1213
|
class MatchaInputDirective {
|
|
1041
1214
|
constructor(_elementRef, _renderer) {
|
|
1042
1215
|
this._elementRef = _elementRef;
|
|
@@ -1497,6 +1670,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImpor
|
|
|
1497
1670
|
}]
|
|
1498
1671
|
}] });
|
|
1499
1672
|
|
|
1673
|
+
class MatchaStepperDirective {
|
|
1674
|
+
constructor(_elementRef, _renderer) {
|
|
1675
|
+
this._elementRef = _elementRef;
|
|
1676
|
+
this._renderer = _renderer;
|
|
1677
|
+
//this._elementRef.nativeElement.style.backgroundColor = 'grey';
|
|
1678
|
+
this._renderer.addClass(this._elementRef.nativeElement, 'matcha-stepper');
|
|
1679
|
+
}
|
|
1680
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaStepperDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1681
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.0", type: MatchaStepperDirective, selector: "[matchaStepper]", ngImport: i0 }); }
|
|
1682
|
+
}
|
|
1683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaStepperDirective, decorators: [{
|
|
1684
|
+
type: Directive,
|
|
1685
|
+
args: [{
|
|
1686
|
+
selector: '[matchaStepper]'
|
|
1687
|
+
}]
|
|
1688
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }] });
|
|
1689
|
+
|
|
1690
|
+
class MatchaStepperModule {
|
|
1691
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaStepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1692
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: MatchaStepperModule, declarations: [MatchaStepperDirective], imports: [CommonModule], exports: [MatchaStepperDirective] }); }
|
|
1693
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaStepperModule, imports: [CommonModule] }); }
|
|
1694
|
+
}
|
|
1695
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaStepperModule, decorators: [{
|
|
1696
|
+
type: NgModule,
|
|
1697
|
+
args: [{
|
|
1698
|
+
declarations: [MatchaStepperDirective],
|
|
1699
|
+
imports: [CommonModule],
|
|
1700
|
+
exports: [MatchaStepperDirective],
|
|
1701
|
+
}]
|
|
1702
|
+
}] });
|
|
1703
|
+
|
|
1500
1704
|
class MatchaTableDirective {
|
|
1501
1705
|
constructor(_elementRef, _renderer) {
|
|
1502
1706
|
this._elementRef = _elementRef;
|
|
@@ -1644,8 +1848,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImpor
|
|
|
1644
1848
|
|
|
1645
1849
|
class MatchaComponentsModule {
|
|
1646
1850
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1647
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: MatchaComponentsModule, declarations: [MatchaOverflowDraggableComponent], imports: [MatchaMasonryModule, MatchaCardModule,
|
|
1648
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaComponentsModule, imports: [MatchaMasonryModule, MatchaCardModule,
|
|
1851
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: MatchaComponentsModule, declarations: [MatchaOverflowDraggableComponent], imports: [MatchaModalModule, MatchaMasonryModule, MatchaCardModule, MatchaTitleModule, MatchaAutocompleteModule, MatchaBadgeModule, MatchaTabsModule, MatchaBottomSheetModule, MatchaButtonToggleModule, MatchaButtonModule, MatchaCheckboxModule, MatchaChipsModule, MatchaDatepickerModule, MatchaDialogModule, MatchaDividerModule, MatchaElevationModule, MatchaExpansionModule, MatchaFormsModule, MatchaIconModule, MatchaInputModule, MatchaListModule, MatchaMenuModule, MatchaSidenavModule, MatchaPaginatorModule, MatchaProgressBarModule, MatchaProgressSpinnerModule, MatchaRadioButtonModule, MatchaSelectModule, MatchaSlideToggleModule, MatchaSliderModule, MatchaSnackBarModule, MatchaSortHeaderModule, MatchaStepperModule, MatchaTableModule, MatchaTabsModule, MatchaTooltipModule, MatchaTreeModule], exports: [MatchaModalModule, MatchaMasonryModule, MatchaCardModule, MatchaTitleModule, MatchaAutocompleteModule, MatchaBadgeModule, MatchaTabsModule, MatchaBottomSheetModule, MatchaButtonToggleModule, MatchaButtonModule, MatchaCheckboxModule, MatchaChipsModule, MatchaDatepickerModule, MatchaDialogModule, MatchaDividerModule, MatchaElevationModule, MatchaExpansionModule, MatchaFormsModule, MatchaIconModule, MatchaInputModule, MatchaListModule, MatchaMenuModule, MatchaSidenavModule, MatchaPaginatorModule, MatchaProgressBarModule, MatchaProgressSpinnerModule, MatchaRadioButtonModule, MatchaSelectModule, MatchaSlideToggleModule, MatchaSliderModule, MatchaSnackBarModule, MatchaSortHeaderModule, MatchaStepperModule, MatchaTableModule, MatchaTabsModule, MatchaTooltipModule, MatchaTreeModule] }); }
|
|
1852
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaComponentsModule, imports: [MatchaModalModule, MatchaMasonryModule, MatchaCardModule, MatchaTitleModule, MatchaAutocompleteModule, MatchaBadgeModule, MatchaTabsModule, MatchaBottomSheetModule, MatchaButtonToggleModule, MatchaButtonModule, MatchaCheckboxModule, MatchaChipsModule, MatchaDatepickerModule, MatchaDialogModule, MatchaDividerModule, MatchaElevationModule, MatchaExpansionModule, MatchaFormsModule, MatchaIconModule, MatchaInputModule, MatchaListModule, MatchaMenuModule, MatchaSidenavModule, MatchaPaginatorModule, MatchaProgressBarModule, MatchaProgressSpinnerModule, MatchaRadioButtonModule, MatchaSelectModule, MatchaSlideToggleModule, MatchaSliderModule, MatchaSnackBarModule, MatchaSortHeaderModule, MatchaStepperModule, MatchaTableModule, MatchaTabsModule, MatchaTooltipModule, MatchaTreeModule, MatchaModalModule, MatchaMasonryModule, MatchaCardModule, MatchaTitleModule, MatchaAutocompleteModule, MatchaBadgeModule, MatchaTabsModule, MatchaBottomSheetModule, MatchaButtonToggleModule, MatchaButtonModule, MatchaCheckboxModule, MatchaChipsModule, MatchaDatepickerModule, MatchaDialogModule, MatchaDividerModule, MatchaElevationModule, MatchaExpansionModule, MatchaFormsModule, MatchaIconModule, MatchaInputModule, MatchaListModule, MatchaMenuModule, MatchaSidenavModule, MatchaPaginatorModule, MatchaProgressBarModule, MatchaProgressSpinnerModule, MatchaRadioButtonModule, MatchaSelectModule, MatchaSlideToggleModule, MatchaSliderModule, MatchaSnackBarModule, MatchaSortHeaderModule, MatchaStepperModule, MatchaTableModule, MatchaTabsModule, MatchaTooltipModule, MatchaTreeModule] }); }
|
|
1649
1853
|
}
|
|
1650
1854
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaComponentsModule, decorators: [{
|
|
1651
1855
|
type: NgModule,
|
|
@@ -1653,8 +1857,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImpor
|
|
|
1653
1857
|
declarations: [
|
|
1654
1858
|
MatchaOverflowDraggableComponent
|
|
1655
1859
|
],
|
|
1656
|
-
imports: [MatchaMasonryModule, MatchaCardModule,
|
|
1657
|
-
exports: [MatchaMasonryModule, MatchaCardModule,
|
|
1860
|
+
imports: [MatchaModalModule, MatchaMasonryModule, MatchaCardModule, MatchaTitleModule, MatchaAutocompleteModule, MatchaBadgeModule, MatchaTabsModule, MatchaBottomSheetModule, MatchaButtonToggleModule, MatchaButtonModule, MatchaCheckboxModule, MatchaChipsModule, MatchaDatepickerModule, MatchaDialogModule, MatchaDividerModule, MatchaElevationModule, MatchaExpansionModule, MatchaFormsModule, MatchaIconModule, MatchaInputModule, MatchaListModule, MatchaMenuModule, MatchaSidenavModule, MatchaPaginatorModule, MatchaProgressBarModule, MatchaProgressSpinnerModule, MatchaRadioButtonModule, MatchaSelectModule, MatchaSlideToggleModule, MatchaSliderModule, MatchaSnackBarModule, MatchaSortHeaderModule, MatchaStepperModule, MatchaTableModule, MatchaTabsModule, MatchaTooltipModule, MatchaTreeModule],
|
|
1861
|
+
exports: [MatchaModalModule, MatchaMasonryModule, MatchaCardModule, MatchaTitleModule, MatchaAutocompleteModule, MatchaBadgeModule, MatchaTabsModule, MatchaBottomSheetModule, MatchaButtonToggleModule, MatchaButtonModule, MatchaCheckboxModule, MatchaChipsModule, MatchaDatepickerModule, MatchaDialogModule, MatchaDividerModule, MatchaElevationModule, MatchaExpansionModule, MatchaFormsModule, MatchaIconModule, MatchaInputModule, MatchaListModule, MatchaMenuModule, MatchaSidenavModule, MatchaPaginatorModule, MatchaProgressBarModule, MatchaProgressSpinnerModule, MatchaRadioButtonModule, MatchaSelectModule, MatchaSlideToggleModule, MatchaSliderModule, MatchaSnackBarModule, MatchaSortHeaderModule, MatchaStepperModule, MatchaTableModule, MatchaTabsModule, MatchaTooltipModule, MatchaTreeModule],
|
|
1658
1862
|
}]
|
|
1659
1863
|
}] });
|
|
1660
1864
|
|
|
@@ -1691,5 +1895,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImpor
|
|
|
1691
1895
|
* Generated bundle index. Do not edit.
|
|
1692
1896
|
*/
|
|
1693
1897
|
|
|
1694
|
-
export { MatchaAutocompleteDirective, MatchaAutocompleteModule, MatchaAutocompleteOverviewDirective, MatchaBadgeDirective, MatchaBadgeModule, MatchaBottomSheetDirective, MatchaBottomSheetModule, MatchaButtonDirective, MatchaButtonModule, MatchaButtonToggleDirective, MatchaButtonToggleModule, MatchaCardComponent,
|
|
1898
|
+
export { MatchaAutocompleteDirective, MatchaAutocompleteModule, MatchaAutocompleteOverviewDirective, MatchaBadgeDirective, MatchaBadgeModule, MatchaBottomSheetDirective, MatchaBottomSheetModule, MatchaButtonDirective, MatchaButtonModule, MatchaButtonToggleDirective, MatchaButtonToggleModule, MatchaCardComponent, MatchaCardModule, MatchaCheckboxDirective, MatchaCheckboxModule, MatchaChipsDirective, MatchaChipsModule, MatchaComponentsModule, MatchaDatepickerDirective, MatchaDatepickerModule, MatchaDialogDirective, MatchaDialogModule, MatchaDividerComponent, MatchaDividerModule, MatchaElevationDirective, MatchaElevationModule, MatchaExpansionDirective, MatchaExpansionModule, MatchaFormFieldDirective, MatchaFormsModule, MatchaGridComponent, MatchaGridModule, MatchaIconComponent, MatchaIconModule, MatchaInputDirective, MatchaInputModule, MatchaListDirective, MatchaListModule, MatchaMasonryComponent, MatchaMasonryModule, MatchaMenuComponent, MatchaMenuModule, MatchaMenuTriggerForDirective, MatchaModalComponent, MatchaModalContentComponent, MatchaModalFooterComponent, MatchaModalHeaderComponent, MatchaModalModule, MatchaModalOptionsComponent, MatchaPaginatorDirective, MatchaPaginatorModule, MatchaProgressBarDirective, MatchaProgressBarModule, MatchaProgressSpinnerDirective, MatchaProgressSpinnerModule, MatchaRadioButtonDirective, MatchaRadioButtonModule, MatchaSelectDirective, MatchaSelectModule, MatchaSidenavDirective, MatchaSidenavModule, MatchaSlideToggleDirective, MatchaSlideToggleModule, MatchaSliderDirective, MatchaSliderModule, MatchaSnackBarDirective, MatchaSnackBarModule, MatchaSortHeaderDirective, MatchaSortHeaderModule, MatchaStepperDirective, MatchaStepperModule, MatchaTableDirective, MatchaTableModule, MatchaTabsDirective, MatchaTabsModule, MatchaTitleComponent, MatchaTitleDirective, MatchaTitleModule, MatchaTooltipDirective, MatchaTooltipModule, MatchaTreeDirective, MatchaTreeModule };
|
|
1695
1899
|
//# sourceMappingURL=matcha-components.mjs.map
|