@muziehdesign/components 18.2.0-beta.2096 → 18.2.0-beta.2114
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/design/_cdk-overlay.css +81 -0
- package/design/_dl.scss +8 -0
- package/design/_form.scss +110 -55
- package/esm2022/lib/components.module.mjs +2 -14
- package/esm2022/lib/date-display/date-display.pipe.mjs +1 -4
- package/esm2022/lib/drawer/drawer-container.component.mjs +21 -0
- package/esm2022/public-api.mjs +3 -4
- package/fesm2022/muziehdesign-components.mjs +25 -111
- package/fesm2022/muziehdesign-components.mjs.map +1 -1
- package/lib/components.module.d.ts +2 -4
- package/lib/date-display/date-display.pipe.d.ts +1 -4
- package/lib/drawer/drawer-container.component.d.ts +8 -0
- package/package.json +2 -1
- package/public-api.d.ts +1 -3
- package/design/_material.scss +0 -57
- package/design/_mixins.scss +0 -17
- package/design/_utilities.scss +0 -13
- package/esm2022/lib/date-display/date-display-config.mjs +0 -12
- package/esm2022/lib/date-display/date.pipe.mjs +0 -41
- package/esm2022/lib/inline-message/inline-message-dialog/inline-message-dialog.component.mjs +0 -25
- package/esm2022/lib/inline-message/inline-message.component.mjs +0 -31
- package/lib/date-display/date-display-config.d.ts +0 -10
- package/lib/date-display/date.pipe.d.ts +0 -12
- package/lib/inline-message/inline-message-dialog/inline-message-dialog.component.d.ts +0 -10
- package/lib/inline-message/inline-message.component.d.ts +0 -12
@@ -1,21 +1,20 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
-
import { InjectionToken, Component, Inject, Input, Pipe, EventEmitter, Optional, Output, ContentChild, Directive, HostListener, HostBinding, forwardRef, ViewChild, NgModule,
|
2
|
+
import { InjectionToken, Component, Inject, Input, Pipe, EventEmitter, Optional, Output, ContentChild, Directive, HostListener, HostBinding, forwardRef, ViewChild, NgModule, ElementRef, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';
|
3
3
|
import * as i1 from '@angular/common';
|
4
4
|
import { CommonModule, DatePipe } from '@angular/common';
|
5
5
|
import * as i1$1 from '@angular/router';
|
6
|
-
import { NavigationEnd, NavigationCancel, NavigationError, NavigationStart
|
6
|
+
import { NavigationEnd, NavigationCancel, NavigationError, NavigationStart } from '@angular/router';
|
7
7
|
import { race, BehaviorSubject, Subscription, fromEvent } from 'rxjs';
|
8
8
|
import { filter, delay, take, repeat } from 'rxjs/operators';
|
9
9
|
import { SubSink } from 'subsink';
|
10
10
|
import * as i1$2 from '@angular/platform-browser';
|
11
11
|
import { By } from '@angular/platform-browser';
|
12
|
-
import * as i1$
|
12
|
+
import * as i1$4 from '@angular/forms';
|
13
13
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, FormsModule, NgModel } from '@angular/forms';
|
14
14
|
import * as i1$3 from '@angular/material/datepicker';
|
15
15
|
import { MatDatepickerModule } from '@angular/material/datepicker';
|
16
|
-
import
|
17
|
-
import {
|
18
|
-
import { MatCommonModule } from '@angular/material/core';
|
16
|
+
import { CdkDialogContainer } from '@angular/cdk/dialog';
|
17
|
+
import { CdkPortalOutlet } from '@angular/cdk/portal';
|
19
18
|
|
20
19
|
const SVG_ICON_DEFAULT_OPTIONS = new InjectionToken('MzSvgIconOptions', {
|
21
20
|
providedIn: 'root',
|
@@ -429,9 +428,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImpor
|
|
429
428
|
}]
|
430
429
|
}] });
|
431
430
|
|
432
|
-
/**
|
433
|
-
* @deprecated use mzDate instead
|
434
|
-
*/
|
435
431
|
class DateDisplayPipe {
|
436
432
|
constructor(datePipe) {
|
437
433
|
this.datePipe = datePipe;
|
@@ -838,47 +834,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImpor
|
|
838
834
|
type: Input
|
839
835
|
}] } });
|
840
836
|
|
841
|
-
class InlineMessageDialogComponent {
|
842
|
-
constructor(data) {
|
843
|
-
this.data = data;
|
844
|
-
}
|
845
|
-
ngOnInit() {
|
846
|
-
this.body = this.data.body;
|
847
|
-
}
|
848
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: InlineMessageDialogComponent, deps: [{ token: DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
|
849
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.1", type: InlineMessageDialogComponent, isStandalone: true, selector: "mz-inline-message-dialog", ngImport: i0, template: "<div class=\"body\" *ngIf=\"body\">\n <ng-content *ngTemplateOutlet=\"body\"></ng-content>\n</div>", styles: [":host{display:block;background:#fff;border-radius:8px;padding:8px 16px}\n"], dependencies: [{ kind: "ngmodule", type: MatCommonModule }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: RouterModule }, { kind: "ngmodule", type: DialogModule }] }); }
|
850
|
-
}
|
851
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: InlineMessageDialogComponent, decorators: [{
|
852
|
-
type: Component,
|
853
|
-
args: [{ selector: 'mz-inline-message-dialog', imports: [MatCommonModule, CommonModule, RouterModule, DialogModule], standalone: true, template: "<div class=\"body\" *ngIf=\"body\">\n <ng-content *ngTemplateOutlet=\"body\"></ng-content>\n</div>", styles: [":host{display:block;background:#fff;border-radius:8px;padding:8px 16px}\n"] }]
|
854
|
-
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
855
|
-
type: Inject,
|
856
|
-
args: [DIALOG_DATA]
|
857
|
-
}] }] });
|
858
|
-
|
859
|
-
class InlineMessageComponent {
|
860
|
-
constructor(dialog) {
|
861
|
-
this.dialog = dialog;
|
862
|
-
}
|
863
|
-
ngOnInit() { }
|
864
|
-
openDialog() {
|
865
|
-
this.dialog.open(InlineMessageDialogComponent, {
|
866
|
-
minWidth: '300px',
|
867
|
-
data: {
|
868
|
-
body: this.body,
|
869
|
-
},
|
870
|
-
});
|
871
|
-
}
|
872
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: InlineMessageComponent, deps: [{ token: i1$4.Dialog }], target: i0.ɵɵFactoryTarget.Component }); }
|
873
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.1", type: InlineMessageComponent, isStandalone: true, selector: "mz-inline-message", inputs: { body: "body" }, ngImport: i0, template: "<div class=\"wrapper\">\n <button type=\"button\" (click)=\"openDialog()\" class=\"inline-message-btn\">i</button>\n</div>", styles: [".wrapper,.title{display:inline}.inline-message-btn{cursor:pointer;border-radius:50%;color:#fff;background-color:#4b5563;width:20px;height:20px;text-align:center;margin:0 5px}\n"], dependencies: [{ kind: "ngmodule", type: MatCommonModule }, { kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: RouterModule }, { kind: "ngmodule", type: DialogModule }] }); }
|
874
|
-
}
|
875
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: InlineMessageComponent, decorators: [{
|
876
|
-
type: Component,
|
877
|
-
args: [{ selector: 'mz-inline-message', imports: [MatCommonModule, CommonModule, RouterModule, DialogModule], standalone: true, template: "<div class=\"wrapper\">\n <button type=\"button\" (click)=\"openDialog()\" class=\"inline-message-btn\">i</button>\n</div>", styles: [".wrapper,.title{display:inline}.inline-message-btn{cursor:pointer;border-radius:50%;color:#fff;background-color:#4b5563;width:20px;height:20px;text-align:center;margin:0 5px}\n"] }]
|
878
|
-
}], ctorParameters: () => [{ type: i1$4.Dialog }], propDecorators: { body: [{
|
879
|
-
type: Input
|
880
|
-
}] } });
|
881
|
-
|
882
837
|
class TimeValueValidatorDirective {
|
883
838
|
constructor() { }
|
884
839
|
validate(control) {
|
@@ -975,8 +930,6 @@ class MuziehComponentsModule {
|
|
975
930
|
SortDirective,
|
976
931
|
SubjectDisplayPipe,
|
977
932
|
DateTimeComponent,
|
978
|
-
InlineMessageComponent,
|
979
|
-
InlineMessageDialogComponent,
|
980
933
|
TimeValueValidatorDirective], exports: [EnumDisplayPipe,
|
981
934
|
SpinnerComponent,
|
982
935
|
SvgIconComponent,
|
@@ -995,8 +948,6 @@ class MuziehComponentsModule {
|
|
995
948
|
ButtonDirective,
|
996
949
|
WizardProgressTrackerComponent,
|
997
950
|
DateTimeComponent,
|
998
|
-
InlineMessageComponent,
|
999
|
-
InlineMessageDialogComponent,
|
1000
951
|
TimeValueValidatorDirective] }); }
|
1001
952
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: MuziehComponentsModule, providers: [
|
1002
953
|
DatePipe,
|
@@ -1009,9 +960,7 @@ class MuziehComponentsModule {
|
|
1009
960
|
InfiniteScrollComponent,
|
1010
961
|
PaginationComponent,
|
1011
962
|
PageLoadingIndicatorComponent,
|
1012
|
-
DateTimeComponent
|
1013
|
-
InlineMessageComponent,
|
1014
|
-
InlineMessageDialogComponent] }); }
|
963
|
+
DateTimeComponent] }); }
|
1015
964
|
}
|
1016
965
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: MuziehComponentsModule, decorators: [{
|
1017
966
|
type: NgModule,
|
@@ -1037,8 +986,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImpor
|
|
1037
986
|
SortDirective,
|
1038
987
|
SubjectDisplayPipe,
|
1039
988
|
DateTimeComponent,
|
1040
|
-
InlineMessageComponent,
|
1041
|
-
InlineMessageDialogComponent,
|
1042
989
|
TimeValueValidatorDirective,
|
1043
990
|
],
|
1044
991
|
exports: [
|
@@ -1060,8 +1007,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImpor
|
|
1060
1007
|
ButtonDirective,
|
1061
1008
|
WizardProgressTrackerComponent,
|
1062
1009
|
DateTimeComponent,
|
1063
|
-
InlineMessageComponent,
|
1064
|
-
InlineMessageDialogComponent,
|
1065
1010
|
TimeValueValidatorDirective,
|
1066
1011
|
],
|
1067
1012
|
providers: [
|
@@ -1070,54 +1015,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImpor
|
|
1070
1015
|
}]
|
1071
1016
|
}] });
|
1072
1017
|
|
1073
|
-
const DATE_PIPE_CONFIG_OPTIONS = Object.freeze({
|
1074
|
-
formats: new Map([
|
1075
|
-
['short', 'MM/dd/yyyy hh:mm a'],
|
1076
|
-
['medium', 'MMM d y h:mm:ss a'],
|
1077
|
-
['shortDate', 'MM/dd/yyyy'],
|
1078
|
-
['mediumDate', 'MMM d y']
|
1079
|
-
]),
|
1080
|
-
dateFormat: 'short'
|
1081
|
-
});
|
1082
|
-
const MZ_DATE_PIPE_DEFAULT_OPTIONS = new InjectionToken('MzDateDisplayDefaultOptions');
|
1083
|
-
|
1084
|
-
class MzDatePipe extends DatePipe {
|
1085
|
-
constructor(locale, defaultMzOptions) {
|
1086
|
-
const o = defaultMzOptions || DATE_PIPE_CONFIG_OPTIONS;
|
1087
|
-
super(locale, null, o);
|
1088
|
-
this.options = o;
|
1089
|
-
}
|
1090
|
-
transform(value, format, timezone, locale) {
|
1091
|
-
let translatedFormat = format;
|
1092
|
-
let translatedTimezone = timezone;
|
1093
|
-
if (format) {
|
1094
|
-
translatedFormat = this.options.formats.get(format) || format;
|
1095
|
-
}
|
1096
|
-
if (timezone === 'original' && typeof value === 'string') {
|
1097
|
-
const match = value.match(/([+-]\d{2}:\d{2})$/);
|
1098
|
-
translatedTimezone = match ? match[1] : '+00:00';
|
1099
|
-
}
|
1100
|
-
return super.transform(value, translatedFormat, translatedTimezone, locale);
|
1101
|
-
}
|
1102
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: MzDatePipe, deps: [{ token: LOCALE_ID }, { token: MZ_DATE_PIPE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
1103
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: MzDatePipe, isStandalone: true, name: "mzDate" }); }
|
1104
|
-
}
|
1105
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: MzDatePipe, decorators: [{
|
1106
|
-
type: Pipe,
|
1107
|
-
args: [{
|
1108
|
-
name: 'mzDate',
|
1109
|
-
standalone: true,
|
1110
|
-
}]
|
1111
|
-
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
1112
|
-
type: Inject,
|
1113
|
-
args: [LOCALE_ID]
|
1114
|
-
}] }, { type: undefined, decorators: [{
|
1115
|
-
type: Optional
|
1116
|
-
}, {
|
1117
|
-
type: Inject,
|
1118
|
-
args: [MZ_DATE_PIPE_DEFAULT_OPTIONS]
|
1119
|
-
}] }] });
|
1120
|
-
|
1121
1018
|
class MzInlineEditComponent {
|
1122
1019
|
constructor(renderer) {
|
1123
1020
|
this.renderer = renderer;
|
@@ -1157,7 +1054,7 @@ class MzInlineEditComponent {
|
|
1157
1054
|
this.busy = false;
|
1158
1055
|
}
|
1159
1056
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: MzInlineEditComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
1160
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.1", type: MzInlineEditComponent, isStandalone: true, selector: "mz-inline-edit", inputs: { label: "label", layout: "layout" }, outputs: { save: "save" }, queries: [{ propertyName: "ngModel", first: true, predicate: NgModel, descendants: true }, { propertyName: "ngModelElement", first: true, predicate: NgModel, descendants: true, read: ElementRef }], ngImport: i0, template: "<form class=\"mz-inline-edit\" [ngClass]=\"{ 'horizontal': layout === 'horizontal', 'vertical': layout === 'vertical' }\">\n @if (isEditing || !label) {\n <ng-content></ng-content>\n } @else if (label && !isEditing) {\n <button type=\"button\" class=\"label-button\" (click)=\"activate()\">\n <span>\n {{ label }}\n </span>\n <span class=\"text-secondary label-button-icon\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\">\n <path d=\"M21.731 2.269a2.625 2.625 0 0 0-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 0 0 0-3.712ZM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 0 0-1.32 2.214l-.8 2.685a.75.75 0 0 0 .933.933l2.685-.8a5.25 5.25 0 0 0 2.214-1.32L19.513 8.2Z\" />\n </svg>\n </span>\n </button>\n } @if (isEditing) {\n <div class=\"edit-buttons\">\n <button type=\"submit\" mzButton [busy]=\"busy\" (click)=\"submitForm()\">Save</button>\n <button type=\"button\" class=\"button button-tertiary\" (click)=\"cancelEdit()\">Cancel</button>\n <!--<button mzButton [busy]=\"busy\" type=\"submit\" (click)=\"submitForm()\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"h-5 w-5\" viewBox=\"0 0 20 20\" fill=\"currentColor\">\n <path fill-rule=\"evenodd\" d=\"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z\" clip-rule=\"evenodd\" />\n </svg>\n </button>\n <button type=\"button\" mzButton variant=\"tertiary\" (click)=\"cancelEdit()\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"h-5 w-5\" viewBox=\"0 0 20 20\" fill=\"currentColor\">\n <path fill-rule=\"evenodd\" d=\"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\" clip-rule=\"evenodd\" />\n </svg>\n </button>-->\n </div>\n }\n</form>\n", styles: [".mz-inline-edit{display:flex}.mz-inline-edit.horizontal{flex-direction:row;gap:1rem}.mz-inline-edit.vertical{flex-direction:column;gap:.5rem}.label-button{display:flex;gap:1rem;cursor:pointer}.label-button-icon{width:1rem;height:1rem}.edit-buttons{display:flex;gap:.5rem}\n"], dependencies: [{ kind: "directive", type: ButtonDirective, selector: "[mzButton]", inputs: ["variant", "busy"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$
|
1057
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.1", type: MzInlineEditComponent, isStandalone: true, selector: "mz-inline-edit", inputs: { label: "label", layout: "layout" }, outputs: { save: "save" }, queries: [{ propertyName: "ngModel", first: true, predicate: NgModel, descendants: true }, { propertyName: "ngModelElement", first: true, predicate: NgModel, descendants: true, read: ElementRef }], ngImport: i0, template: "<form class=\"mz-inline-edit\" [ngClass]=\"{ 'horizontal': layout === 'horizontal', 'vertical': layout === 'vertical' }\">\n @if (isEditing || !label) {\n <ng-content></ng-content>\n } @else if (label && !isEditing) {\n <button type=\"button\" class=\"label-button\" (click)=\"activate()\">\n <span>\n {{ label }}\n </span>\n <span class=\"text-secondary label-button-icon\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\">\n <path d=\"M21.731 2.269a2.625 2.625 0 0 0-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 0 0 0-3.712ZM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 0 0-1.32 2.214l-.8 2.685a.75.75 0 0 0 .933.933l2.685-.8a5.25 5.25 0 0 0 2.214-1.32L19.513 8.2Z\" />\n </svg>\n </span>\n </button>\n } @if (isEditing) {\n <div class=\"edit-buttons\">\n <button type=\"submit\" mzButton [busy]=\"busy\" (click)=\"submitForm()\">Save</button>\n <button type=\"button\" class=\"button button-tertiary\" (click)=\"cancelEdit()\">Cancel</button>\n <!--<button mzButton [busy]=\"busy\" type=\"submit\" (click)=\"submitForm()\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"h-5 w-5\" viewBox=\"0 0 20 20\" fill=\"currentColor\">\n <path fill-rule=\"evenodd\" d=\"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z\" clip-rule=\"evenodd\" />\n </svg>\n </button>\n <button type=\"button\" mzButton variant=\"tertiary\" (click)=\"cancelEdit()\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"h-5 w-5\" viewBox=\"0 0 20 20\" fill=\"currentColor\">\n <path fill-rule=\"evenodd\" d=\"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\" clip-rule=\"evenodd\" />\n </svg>\n </button>-->\n </div>\n }\n</form>\n", styles: [".mz-inline-edit{display:flex}.mz-inline-edit.horizontal{flex-direction:row;gap:1rem}.mz-inline-edit.vertical{flex-direction:column;gap:.5rem}.label-button{display:flex;gap:1rem;cursor:pointer}.label-button-icon{width:1rem;height:1rem}.edit-buttons{display:flex;gap:.5rem}\n"], dependencies: [{ kind: "directive", type: ButtonDirective, selector: "[mzButton]", inputs: ["variant", "busy"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$4.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
|
1161
1058
|
}
|
1162
1059
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: MzInlineEditComponent, decorators: [{
|
1163
1060
|
type: Component,
|
@@ -1242,6 +1139,23 @@ class ResultTableHarness extends MuziehComponentHarness {
|
|
1242
1139
|
}
|
1243
1140
|
}
|
1244
1141
|
|
1142
|
+
class DrawerContainerComponent extends CdkDialogContainer {
|
1143
|
+
constructor() {
|
1144
|
+
super(...arguments);
|
1145
|
+
this.open = false;
|
1146
|
+
}
|
1147
|
+
_contentAttached() {
|
1148
|
+
super._contentAttached();
|
1149
|
+
this.open = true;
|
1150
|
+
}
|
1151
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: DrawerContainerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
1152
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.1", type: DrawerContainerComponent, isStandalone: true, selector: "mz-drawer-container", usesInheritance: true, ngImport: i0, template: "<div class=\"drawer-container\" [class.open]=\"open\">\n <ng-template cdkPortalOutlet />\n</div>", styles: [".drawer-container{background-color:#fff;min-width:300px;max-width:90%;padding:.5rem 1rem;overflow:auto;height:100vh;position:absolute;right:0;top:0;transition:translate .3s ease-out;translate:100%}.drawer-container.open{translate:0%}\n"], dependencies: [{ kind: "directive", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
1153
|
+
}
|
1154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: DrawerContainerComponent, decorators: [{
|
1155
|
+
type: Component,
|
1156
|
+
args: [{ selector: 'mz-drawer-container', standalone: true, imports: [CdkPortalOutlet], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, template: "<div class=\"drawer-container\" [class.open]=\"open\">\n <ng-template cdkPortalOutlet />\n</div>", styles: [".drawer-container{background-color:#fff;min-width:300px;max-width:90%;padding:.5rem 1rem;overflow:auto;height:100vh;position:absolute;right:0;top:0;transition:translate .3s ease-out;translate:100%}.drawer-container.open{translate:0%}\n"] }]
|
1157
|
+
}] });
|
1158
|
+
|
1245
1159
|
/*
|
1246
1160
|
* Public API Surface of components
|
1247
1161
|
*/
|
@@ -1250,5 +1164,5 @@ class ResultTableHarness extends MuziehComponentHarness {
|
|
1250
1164
|
* Generated bundle index. Do not edit.
|
1251
1165
|
*/
|
1252
1166
|
|
1253
|
-
export { AlertComponent, ButtonDirective, DateDisplayPipe, DateTimeComponent, EnumDisplayPipe, InfiniteScrollComponent,
|
1167
|
+
export { AlertComponent, ButtonDirective, DateDisplayPipe, DateTimeComponent, DrawerContainerComponent, EnumDisplayPipe, InfiniteScrollComponent, MuziehComponentHarness, MuziehComponentsModule, MzInlineEditComponent, PageHeaderComponent, PageLoadingIndicatorComponent, PaginationComponent, PhoneNumberPipe, ResultTableComponent, ResultTableHarness, SVG_ICON_DEFAULT_OPTIONS, SortDirective, SortKeyDirective, SpinnerComponent, SubjectDisplayPipe, SvgIconComponent, TimeValueAccessorDirective, TimeValueValidatorDirective, WizardProgressTrackerComponent };
|
1254
1168
|
//# sourceMappingURL=muziehdesign-components.mjs.map
|