myrta-ui 17.0.8 → 17.0.10
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/lib/components/alert/alert.component.mjs +3 -3
- package/esm2022/lib/components/alert/alert.module.mjs +4 -4
- package/esm2022/lib/components/badges/badges.module.mjs +4 -4
- package/esm2022/lib/components/badges/components/badge/badge.component.mjs +3 -3
- package/esm2022/lib/components/badges/components/badge-group/badge-group.component.mjs +3 -3
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.component.mjs +3 -3
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.module.mjs +4 -4
- package/esm2022/lib/components/button/button.component.mjs +3 -3
- package/esm2022/lib/components/button/button.module.mjs +4 -4
- package/esm2022/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.mjs +3 -3
- package/esm2022/lib/components/cdk-tooltip/cdk-tooltip.directive.mjs +3 -3
- package/esm2022/lib/components/cdk-tooltip/cdk-tooltip.module.mjs +4 -4
- package/esm2022/lib/components/chars-left/chars-left.component.mjs +3 -3
- package/esm2022/lib/components/chars-left/chars-left.module.mjs +4 -4
- package/esm2022/lib/components/dropdown/directives/hide-after-click.directive.mjs +3 -3
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/lib/components/dropdown/dropdown.module.mjs +4 -4
- package/esm2022/lib/components/error-message/error-message.component.mjs +3 -3
- package/esm2022/lib/components/error-message/error-message.module.mjs +4 -4
- package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/lib/components/form/checkbox/checkbox.module.mjs +4 -4
- package/esm2022/lib/components/form/checkbox-group/checkbox-group.component.mjs +4 -4
- package/esm2022/lib/components/form/checkbox-group/checkbox-group.module.mjs +4 -4
- package/esm2022/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.mjs +3 -3
- package/esm2022/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.mjs +3 -3
- package/esm2022/lib/components/form/editor/editor.component.mjs +9 -4
- package/esm2022/lib/components/form/editor/editor.module.mjs +4 -4
- package/esm2022/lib/components/form/input-date-time/input-date-time.component.mjs +3 -3
- package/esm2022/lib/components/form/input-date-time/input-date-time.module.mjs +4 -4
- package/esm2022/lib/components/form/input-datepicker/input-datepicker.component.mjs +3 -3
- package/esm2022/lib/components/form/input-datepicker/input-datepicker.module.mjs +4 -4
- package/esm2022/lib/components/form/input-file/input-file.component.mjs +3 -3
- package/esm2022/lib/components/form/input-file/input-file.module.mjs +4 -4
- package/esm2022/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.mjs +3 -3
- package/esm2022/lib/components/form/input-file-image/input-file-image.component.mjs +3 -3
- package/esm2022/lib/components/form/input-file-image/input-file-image.module.mjs +4 -4
- package/esm2022/lib/components/form/input-number/input-number.component.mjs +3 -3
- package/esm2022/lib/components/form/input-number/input-number.module.mjs +4 -4
- package/esm2022/lib/components/form/input-opt/components/input-opt/input-opt.component.mjs +3 -3
- package/esm2022/lib/components/form/input-opt/directives/opt-pattern.directive.mjs +3 -3
- package/esm2022/lib/components/form/input-opt/input-opt.module.mjs +4 -4
- package/esm2022/lib/components/form/input-opt/services/input-opt.service.mjs +3 -3
- package/esm2022/lib/components/form/input-password/input-password.component.mjs +3 -3
- package/esm2022/lib/components/form/input-password/input-password.module.mjs +4 -4
- package/esm2022/lib/components/form/input-phone/data/country-code.mjs +3 -3
- package/esm2022/lib/components/form/input-phone/directives/native-element-injector.directive.mjs +3 -3
- package/esm2022/lib/components/form/input-phone/input-phone.component.mjs +3 -3
- package/esm2022/lib/components/form/input-phone/input-phone.module.mjs +4 -4
- package/esm2022/lib/components/form/input-search/input-search.component.mjs +3 -3
- package/esm2022/lib/components/form/input-search/input-search.module.mjs +4 -4
- package/esm2022/lib/components/form/input-select/input-select.component.mjs +3 -3
- package/esm2022/lib/components/form/input-select/input-select.module.mjs +4 -4
- package/esm2022/lib/components/form/input-tel/directives/input-tel.directive.mjs +3 -3
- package/esm2022/lib/components/form/input-tel/input-tel.component.mjs +3 -3
- package/esm2022/lib/components/form/input-tel/input-tel.module.mjs +4 -4
- package/esm2022/lib/components/form/input-text/input-text.component.mjs +3 -3
- package/esm2022/lib/components/form/input-text/input-text.module.mjs +4 -4
- package/esm2022/lib/components/form/input-textarea/input-textarea.component.mjs +3 -3
- package/esm2022/lib/components/form/input-textarea/input-textarea.module.mjs +4 -4
- package/esm2022/lib/components/form/input-timepicker/input-timepicker.component.mjs +3 -3
- package/esm2022/lib/components/form/input-timepicker/input-timepicker.module.mjs +4 -4
- package/esm2022/lib/components/form/json-editor/json-editor.component.mjs +6 -6
- package/esm2022/lib/components/form/json-editor/json-editor.module.mjs +5 -5
- package/esm2022/lib/components/form/radio/radio.component.mjs +3 -3
- package/esm2022/lib/components/form/radio/radio.module.mjs +4 -4
- package/esm2022/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.mjs +3 -3
- package/esm2022/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.mjs +3 -3
- package/esm2022/lib/components/form/radio-group/radio-group.component.mjs +4 -4
- package/esm2022/lib/components/form/radio-group/radio-group.module.mjs +4 -4
- package/esm2022/lib/components/form/rating/rating.component.mjs +3 -3
- package/esm2022/lib/components/form/rating/rating.module.mjs +4 -4
- package/esm2022/lib/components/form/switch/switch.component.mjs +3 -3
- package/esm2022/lib/components/form/switch/switch.module.mjs +4 -4
- package/esm2022/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.mjs +3 -3
- package/esm2022/lib/components/gallery/components/gallery-item/gallery-item.component.mjs +3 -3
- package/esm2022/lib/components/gallery/gallery.component.mjs +3 -3
- package/esm2022/lib/components/gallery/gallery.module.mjs +4 -4
- package/esm2022/lib/components/gallery/services/gallery.service.mjs +3 -3
- package/esm2022/lib/components/hint-error-message/hint-error-message.component.mjs +3 -3
- package/esm2022/lib/components/hint-error-message/hint-error-message.module.mjs +4 -4
- package/esm2022/lib/components/icon-button/icon-button.component.mjs +3 -3
- package/esm2022/lib/components/icon-button/icon-button.module.mjs +4 -4
- package/esm2022/lib/components/label/label.component.mjs +3 -3
- package/esm2022/lib/components/label/label.module.mjs +4 -4
- package/esm2022/lib/components/link/link.component.mjs +3 -3
- package/esm2022/lib/components/link/link.module.mjs +4 -4
- package/esm2022/lib/components/loader/loader.component.mjs +3 -3
- package/esm2022/lib/components/loader/loader.module.mjs +4 -4
- package/esm2022/lib/components/modal/modal.component.mjs +3 -3
- package/esm2022/lib/components/modal/modal.module.mjs +4 -4
- package/esm2022/lib/components/pages-nav/pages-nav.component.mjs +3 -3
- package/esm2022/lib/components/pages-nav/pages-nav.module.mjs +4 -4
- package/esm2022/lib/components/paginator/paginator.component.mjs +3 -3
- package/esm2022/lib/components/paginator/paginator.module.mjs +4 -4
- package/esm2022/lib/components/pdf-viewer/pdf-viewer.component.mjs +5 -5
- package/esm2022/lib/components/pdf-viewer/pdf-viewer.module.mjs +4 -4
- package/esm2022/lib/components/progress/progress.component.mjs +3 -3
- package/esm2022/lib/components/progress/progress.module.mjs +4 -4
- package/esm2022/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.mjs +3 -3
- package/esm2022/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.mjs +3 -3
- package/esm2022/lib/components/save-state/components/save-state-editor/save-state-editor.component.mjs +3 -3
- package/esm2022/lib/components/save-state/components/save-state-input/save-state-input.component.mjs +3 -3
- package/esm2022/lib/components/save-state/components/save-state-switch/save-state-switch.component.mjs +3 -3
- package/esm2022/lib/components/save-state/save-state.component.mjs +3 -3
- package/esm2022/lib/components/save-state/save-state.module.mjs +4 -4
- package/esm2022/lib/components/stepper/stepper.component.mjs +3 -3
- package/esm2022/lib/components/stepper/stepper.module.mjs +4 -4
- package/esm2022/lib/components/table/components/column/column.component.mjs +3 -3
- package/esm2022/lib/components/table/table.component.mjs +3 -3
- package/esm2022/lib/components/table/table.module.mjs +4 -4
- package/esm2022/lib/components/tabs/tab/tab.component.mjs +3 -3
- package/esm2022/lib/components/tabs/tabs-group/tabs-group.component.mjs +3 -3
- package/esm2022/lib/components/tabs/tabs.module.mjs +4 -4
- package/esm2022/lib/components/tooltip/services/tooltip.service.mjs +3 -3
- package/esm2022/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.mjs +3 -3
- package/esm2022/lib/components/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/lib/components/tooltip/tooltip.module.mjs +4 -4
- package/esm2022/lib/components/truncate-text/directives/truncate-text.directive.mjs +3 -3
- package/esm2022/lib/components/truncate-text/truncate-text.component.mjs +3 -3
- package/esm2022/lib/components/truncate-text/truncate-text.module.mjs +4 -4
- package/esm2022/lib/components/warning-message/warning-message.component.mjs +3 -3
- package/esm2022/lib/components/warning-message/warning-message.module.mjs +4 -4
- package/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.component.mjs +3 -3
- package/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.module.mjs +4 -4
- package/esm2022/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.mjs +3 -3
- package/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.component.mjs +3 -3
- package/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.module.mjs +4 -4
- package/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.component.mjs +3 -3
- package/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.module.mjs +4 -4
- package/esm2022/lib/directives/autosize/autosize.directive.mjs +3 -3
- package/esm2022/lib/directives/autosize/autosize.module.mjs +4 -4
- package/esm2022/lib/directives/truncate/truncate.directive.mjs +3 -3
- package/esm2022/lib/directives/truncate/truncate.module.mjs +4 -4
- package/esm2022/lib/pipes/currency/currency.module.mjs +4 -4
- package/esm2022/lib/pipes/currency/currency.pipe.mjs +3 -3
- package/esm2022/lib/pipes/date/date-format.module.mjs +4 -4
- package/esm2022/lib/pipes/date/date-format.pipe.mjs +3 -3
- package/esm2022/lib/pipes/date/date-time-format.pipe.mjs +3 -3
- package/esm2022/lib/pipes/phone/phone-format.module.mjs +4 -4
- package/esm2022/lib/pipes/phone/phone-format.pipe.mjs +3 -3
- package/esm2022/lib/pipes/safe/safe.module.mjs +4 -4
- package/esm2022/lib/pipes/safe/safe.pipe.mjs +3 -3
- package/esm2022/lib/pipes/truncate/truncate.module.mjs +4 -4
- package/esm2022/lib/pipes/truncate/truncate.pipe.mjs +3 -3
- package/esm2022/lib/services/file-upload/file-upload.service.mjs +3 -3
- package/esm2022/lib/services/modal-service/components/alert-modal/alert-modal.component.mjs +3 -3
- package/esm2022/lib/services/modal-service/components/confirm-modal/confirm-modal.component.mjs +3 -3
- package/esm2022/lib/services/modal-service/modal-service.module.mjs +4 -4
- package/esm2022/lib/services/modal-service/modal-service.service.mjs +3 -3
- package/esm2022/lib/services/mrx-autosave/mrx-autosave.service.mjs +3 -3
- package/esm2022/lib/services/save-store/save-store.module.mjs +4 -4
- package/esm2022/lib/services/save-store/store/effect.mjs +3 -3
- package/esm2022/lib/services/toaster-service/components/toaster/toaster.component.mjs +3 -3
- package/esm2022/lib/services/toaster-service/toaster-service.module.mjs +4 -4
- package/esm2022/lib/services/toaster-service/toaster-service.service.mjs +3 -3
- package/fesm2022/myrta-ui.mjs +539 -534
- package/fesm2022/myrta-ui.mjs.map +1 -1
- package/lib/components/form/editor/editor.component.d.ts +1 -7
- package/package.json +1 -1
|
@@ -9,10 +9,10 @@ export class DateFormatPipe extends DatePipe {
|
|
|
9
9
|
}
|
|
10
10
|
return super.transform(value, format);
|
|
11
11
|
}
|
|
12
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
13
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
12
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DateFormatPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
|
|
13
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DateFormatPipe, name: "dateFormat" });
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DateFormatPipe, decorators: [{
|
|
16
16
|
type: Pipe,
|
|
17
17
|
args: [{
|
|
18
18
|
name: 'dateFormat'
|
|
@@ -9,10 +9,10 @@ export class DateTimeFormatPipe extends DatePipe {
|
|
|
9
9
|
}
|
|
10
10
|
return super.transform(value, format);
|
|
11
11
|
}
|
|
12
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
13
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
12
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DateTimeFormatPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
|
|
13
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DateTimeFormatPipe, name: "dateTimeFormat" });
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DateTimeFormatPipe, decorators: [{
|
|
16
16
|
type: Pipe,
|
|
17
17
|
args: [{
|
|
18
18
|
name: 'dateTimeFormat'
|
|
@@ -3,11 +3,11 @@ import { CommonModule } from '@angular/common';
|
|
|
3
3
|
import { PhoneFormatPipe } from './phone-format.pipe';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export class PhoneFormatModule {
|
|
6
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
8
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
6
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PhoneFormatModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: PhoneFormatModule, declarations: [PhoneFormatPipe], imports: [CommonModule], exports: [PhoneFormatPipe] });
|
|
8
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PhoneFormatModule, imports: [CommonModule] });
|
|
9
9
|
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PhoneFormatModule, decorators: [{
|
|
11
11
|
type: NgModule,
|
|
12
12
|
args: [{
|
|
13
13
|
declarations: [PhoneFormatPipe],
|
|
@@ -11,10 +11,10 @@ export class PhoneFormatPipe {
|
|
|
11
11
|
return '';
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
15
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
14
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PhoneFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
15
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: PhoneFormatPipe, name: "phoneFormat" });
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PhoneFormatPipe, decorators: [{
|
|
18
18
|
type: Pipe,
|
|
19
19
|
args: [{
|
|
20
20
|
name: 'phoneFormat'
|
|
@@ -3,11 +3,11 @@ import { CommonModule } from '@angular/common';
|
|
|
3
3
|
import { SafePipe } from "./safe.pipe";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export class SafeModule {
|
|
6
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
8
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
6
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SafeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: SafeModule, declarations: [SafePipe], imports: [CommonModule], exports: [SafePipe] });
|
|
8
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SafeModule, imports: [CommonModule] });
|
|
9
9
|
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SafeModule, decorators: [{
|
|
11
11
|
type: NgModule,
|
|
12
12
|
args: [{
|
|
13
13
|
declarations: [SafePipe],
|
|
@@ -9,10 +9,10 @@ export class SafePipe {
|
|
|
9
9
|
transform(html) {
|
|
10
10
|
return this.sanitizer.bypassSecurityTrustHtml(html);
|
|
11
11
|
}
|
|
12
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
13
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
12
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SafePipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
13
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: SafePipe, name: "safe" });
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SafePipe, decorators: [{
|
|
16
16
|
type: Pipe,
|
|
17
17
|
args: [{
|
|
18
18
|
name: 'safe'
|
|
@@ -3,11 +3,11 @@ import { CommonModule } from '@angular/common';
|
|
|
3
3
|
import { TruncatePipe } from './truncate.pipe';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export class TruncateModule {
|
|
6
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
8
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
6
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TruncateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: TruncateModule, declarations: [TruncatePipe], imports: [CommonModule], exports: [TruncatePipe] });
|
|
8
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TruncateModule, imports: [CommonModule] });
|
|
9
9
|
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TruncateModule, decorators: [{
|
|
11
11
|
type: NgModule,
|
|
12
12
|
args: [{
|
|
13
13
|
declarations: [TruncatePipe],
|
|
@@ -11,10 +11,10 @@ export class TruncatePipe {
|
|
|
11
11
|
return '';
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
15
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
14
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
15
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: TruncatePipe, name: "truncate" });
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TruncatePipe, decorators: [{
|
|
18
18
|
type: Pipe,
|
|
19
19
|
args: [{
|
|
20
20
|
name: 'truncate'
|
|
@@ -15,10 +15,10 @@ export class FileUploadService {
|
|
|
15
15
|
delete(url) {
|
|
16
16
|
return this.http.delete(url);
|
|
17
17
|
}
|
|
18
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
19
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FileUploadService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FileUploadService, providedIn: 'root' });
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FileUploadService, decorators: [{
|
|
22
22
|
type: Injectable,
|
|
23
23
|
args: [{
|
|
24
24
|
providedIn: 'root'
|
|
@@ -25,10 +25,10 @@ export class AlertModalComponent extends ModalServiceComponent {
|
|
|
25
25
|
close() {
|
|
26
26
|
this.dialogRef.close(this.result);
|
|
27
27
|
}
|
|
28
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
29
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
28
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AlertModalComponent, deps: [{ token: i1.ModalRef }, { token: MODAL_DATA }, { token: MODAL_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AlertModalComponent, isStandalone: true, selector: "mrx-default-alert-modal", usesInheritance: true, ngImport: i0, template: "<mrx-modal\r\n [customClasses]=\"config.customClasses || ''\"\r\n [title]=\"model.title\"\r\n [message]=\"model.message\"\r\n [color]=\"config.color || 'default'\"\r\n size=\"small\"\r\n (close)=\"close()\"\r\n (ok)=\"ok()\"\r\n>\r\n <ng-template #footerContent>\r\n <mrx-button\r\n [type]=\"'primary'\"\r\n [size]=\"'medium'\"\r\n [color]=\"config.color || 'default'\"\r\n (click)=\"ok()\"\r\n >\r\n {{ config.okText || '\u041E\u043A' }}\r\n </mrx-button>\r\n </ng-template>\r\n</mrx-modal>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: ModalModule }, { kind: "component", type: i2.ModalComponent, selector: "mrx-modal", inputs: ["title", "message", "okText", "closeText", "size", "color", "customClasses", "expandable", "isEmbed", "isClose", "isBack", "backText", "enableFooter", "alignButtons", "isLoading", "iconPosition"], outputs: ["ok", "close", "back"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i3.ButtonComponent, selector: "mrx-button", inputs: ["size", "type", "color", "iconPosition", "active", "disabled", "isLoading", "iconOnly", "customClasses", "label", "icon", "iconClass", "buttonType"], outputs: ["mrxClick"] }] });
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AlertModalComponent, decorators: [{
|
|
32
32
|
type: Component,
|
|
33
33
|
args: [{ selector: 'mrx-default-alert-modal', standalone: true, imports: [
|
|
34
34
|
ModalModule,
|
package/esm2022/lib/services/modal-service/components/confirm-modal/confirm-modal.component.mjs
CHANGED
|
@@ -29,10 +29,10 @@ export class ConfirmModalComponent extends ModalServiceComponent {
|
|
|
29
29
|
close() {
|
|
30
30
|
this.dialogRef.close(this.result);
|
|
31
31
|
}
|
|
32
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
33
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
32
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ConfirmModalComponent, deps: [{ token: i1.ModalRef }, { token: MODAL_DATA }, { token: MODAL_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
|
|
33
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ConfirmModalComponent, isStandalone: true, selector: "mrx-confirm-modal", usesInheritance: true, ngImport: i0, template: "<mrx-modal\r\n [customClasses]=\"config.customClasses || ''\"\r\n [title]=\"model.title\"\r\n [message]=\"model.message\"\r\n [color]=\"config.color || 'default'\"\r\n size=\"small\"\r\n (close)=\"close()\"\r\n (ok)=\"ok()\"\r\n>\r\n <ng-template #footerContent>\r\n <mrx-button\r\n [customClasses]=\"'mr-3'\"\r\n [type]=\"'secondary'\"\r\n [size]=\"'medium'\"\r\n [color]=\"config.color || 'default'\"\r\n (click)=\"cancel()\"\r\n >\r\n {{ config.cancelText || '\u041E\u0442\u043C\u0435\u043D\u0430' }}\r\n </mrx-button>\r\n <mrx-button\r\n [type]=\"'primary'\"\r\n [size]=\"'medium'\"\r\n [color]=\"config.color || 'default'\"\r\n (click)=\"ok()\"\r\n >\r\n {{ config.okText || '\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C' }}\r\n </mrx-button>\r\n </ng-template>\r\n</mrx-modal>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i2.ButtonComponent, selector: "mrx-button", inputs: ["size", "type", "color", "iconPosition", "active", "disabled", "isLoading", "iconOnly", "customClasses", "label", "icon", "iconClass", "buttonType"], outputs: ["mrxClick"] }, { kind: "ngmodule", type: ModalModule }, { kind: "component", type: i3.ModalComponent, selector: "mrx-modal", inputs: ["title", "message", "okText", "closeText", "size", "color", "customClasses", "expandable", "isEmbed", "isClose", "isBack", "backText", "enableFooter", "alignButtons", "isLoading", "iconPosition"], outputs: ["ok", "close", "back"] }] });
|
|
34
34
|
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ConfirmModalComponent, decorators: [{
|
|
36
36
|
type: Component,
|
|
37
37
|
args: [{ selector: 'mrx-confirm-modal', standalone: true, imports: [
|
|
38
38
|
ButtonModule,
|
|
@@ -4,15 +4,15 @@ import { AlertModalComponent } from './components/alert-modal/alert-modal.compon
|
|
|
4
4
|
import { ConfirmModalComponent } from './components/confirm-modal/confirm-modal.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class ModalServiceModule {
|
|
7
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
8
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalServiceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: ModalServiceModule, imports: [CommonModule,
|
|
9
9
|
AlertModalComponent,
|
|
10
10
|
ConfirmModalComponent] });
|
|
11
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
11
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalServiceModule, imports: [CommonModule,
|
|
12
12
|
AlertModalComponent,
|
|
13
13
|
ConfirmModalComponent] });
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalServiceModule, decorators: [{
|
|
16
16
|
type: NgModule,
|
|
17
17
|
args: [{
|
|
18
18
|
imports: [
|
|
@@ -72,10 +72,10 @@ export class ModalService {
|
|
|
72
72
|
overlayRef.attach(portal);
|
|
73
73
|
return dialogRef;
|
|
74
74
|
}
|
|
75
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
76
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
75
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalService, deps: [{ token: i1.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
76
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalService, providedIn: 'root' });
|
|
77
77
|
}
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalService, decorators: [{
|
|
79
79
|
type: Injectable,
|
|
80
80
|
args: [{
|
|
81
81
|
providedIn: 'root'
|
|
@@ -34,10 +34,10 @@ export class MrxAutosaveService {
|
|
|
34
34
|
get fields() {
|
|
35
35
|
return this._fields;
|
|
36
36
|
}
|
|
37
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
38
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
37
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MrxAutosaveService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
38
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MrxAutosaveService });
|
|
39
39
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3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uICAgIH0sIDIwMDApXHJcbiAgfVxyXG5cclxuICBwdWJsaWMgZ2V0IGZpZWxkcygpIHtcclxuICAgIHJldHVybiB0aGlzLl9maWVsZHNcclxuICB9XHJcbn1cclxuIl19
|
|
@@ -9,13 +9,13 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
import * as i1 from "@ngrx/store";
|
|
10
10
|
import * as i2 from "@ngrx/effects";
|
|
11
11
|
export class SaveStoreModule {
|
|
12
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
13
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
14
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
12
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SaveStoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: SaveStoreModule, imports: [CommonModule, i1.StoreFeatureModule, i2.EffectsFeatureModule] });
|
|
14
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SaveStoreModule, imports: [CommonModule,
|
|
15
15
|
StoreModule.forFeature(SAVE_STATE_MODULE_NAME, mrxAutoSaveStateReducer),
|
|
16
16
|
EffectsModule.forFeature([MrxAutoSaveEffects])] });
|
|
17
17
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SaveStoreModule, decorators: [{
|
|
19
19
|
type: NgModule,
|
|
20
20
|
args: [{
|
|
21
21
|
declarations: [],
|
|
@@ -51,10 +51,10 @@ export class MrxAutoSaveEffects {
|
|
|
51
51
|
this._actions$ = _actions$;
|
|
52
52
|
this._store = _store;
|
|
53
53
|
}
|
|
54
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
55
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
54
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MrxAutoSaveEffects, deps: [{ token: i1.Actions }, { token: i2.Store }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
55
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MrxAutoSaveEffects, providedIn: 'root' });
|
|
56
56
|
}
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MrxAutoSaveEffects, decorators: [{
|
|
58
58
|
type: Injectable,
|
|
59
59
|
args: [{ providedIn: 'root' }]
|
|
60
60
|
}], ctorParameters: () => [{ type: i1.Actions }, { type: i2.Store }] });
|
|
@@ -19,10 +19,10 @@ export class ToasterComponent extends Toast {
|
|
|
19
19
|
this.toastPackage.triggerAction();
|
|
20
20
|
return false;
|
|
21
21
|
}
|
|
22
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
23
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
22
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ToasterComponent, deps: [{ token: i1.ToastrService }, { token: i1.ToastPackage }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ToasterComponent, selector: "mrx-toaster", usesInheritance: true, ngImport: i0, template: "<div class=\"mrx-toaster__type-icon\">\r\n <ng-container [ngSwitch]=\"options.payload.colorType\">\r\n <ng-container *ngSwitchCase=\"ToasterType.Positive\">\r\n <span class=\"mrx-icon icon-check color-positive icon-font-16\"></span>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"ToasterType.Negative\">\r\n <span class=\"mrx-icon icon-close color-negative icon-font-16\"></span>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"ToasterType.Attention\">\r\n <span class=\"mrx-icon icon-attention color-attention icon-font-16\"></span>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <span class=\"mrx-icon icon-info color-info icon-font-16\"></span>\r\n </ng-container>\r\n </ng-container>\r\n</div>\r\n\r\n<div class=\"mrx-toaster__content\">\r\n <div class=\"mrx-toaster__title\">{{ title }}</div>\r\n <div\r\n *ngIf=\"message && options.enableHtml\"\r\n class=\"mrx-toaster__text\"\r\n [class]=\"options.messageClass\"\r\n [innerHTML]=\"message | safe\"\r\n ></div>\r\n\r\n <div\r\n *ngIf=\"message && !options.enableHtml\"\r\n class=\"mrx-toaster__text\"\r\n >{{ message }}</div>\r\n</div>\r\n\r\n<span\r\n *ngIf=\"options.closeButton\"\r\n (click)=\"remove()\"\r\n class=\"mrx-icon icon-close icon-font-16 mrx-toaster__close\"\r\n></span>\r\n", styles: [":host{position:relative;display:block;pointer-events:auto;border-radius:4px;box-shadow:0 1px 4px #3a3a3a4d;width:300px;max-width:calc(100vw - 32px);min-height:56px;padding:16px 24px 16px 48px}:host:not(:last-child){margin-bottom:16px}:host .mrx-toaster__type-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#fff;position:absolute;top:16px;left:16px}:host .mrx-toaster__content{display:flex;flex-direction:column;justify-content:center;min-height:24px}:host .mrx-toaster__close{position:absolute;top:8px;right:8px;color:#fff;cursor:pointer}:host.mrx-toaster-info{background-color:var(--brand-toast-info-bg-default, #BED6F1)}:host.mrx-toaster-info .mrx-toaster__title{color:var(--neutral-text-primary, #262626)}:host.mrx-toaster-info .mrx-toaster__text{color:var(--neutral-text-primary, #262626)}:host.mrx-toaster-info .mrx-toaster__type-icon{color:var(--neutral-text-primary, #262626)}:host.mrx-toaster-info .mrx-toaster__close{color:var(--neutral-text-primary, #262626)}:host.mrx-toaster-positive{background-color:var(--system-bg-controls-positive-default, #108E3A)}:host.mrx-toaster-positive .mrx-toaster__title{color:var(--neutral-text-inverse, #FFF)}:host.mrx-toaster-positive .mrx-toaster__text{color:var(--neutral-text-inverse, #FFF)}:host.mrx-toaster-positive .mrx-toaster__type-icon{color:var(--system-icon-positive, #2DA454)}:host.mrx-toaster-positive .mrx-toaster__close{color:var(--neutral-text-inverse, #FFF)}:host.mrx-toaster-negative{background-color:var(--system-bg-controls-negative-default, #B83B15)}:host.mrx-toaster-negative .mrx-toaster__title{color:var(--neutral-text-inverse, #FFF)}:host.mrx-toaster-negative .mrx-toaster__text{color:var(--neutral-text-inverse, #FFF)}:host.mrx-toaster-negative .mrx-toaster__type-icon{color:var(--system-icon-negative, #C65836)}:host.mrx-toaster-negative .mrx-toaster__close{color:var(--neutral-text-inverse, #FFF)}:host.mrx-toaster-attention{background-color:var(--system-bg-controls-attention-default, #CC6E07)}:host.mrx-toaster-attention .mrx-toaster__title{color:var(--neutral-text-inverse, #FFF)}:host.mrx-toaster-attention .mrx-toaster__text{color:var(--neutral-text-inverse, #FFF)}:host.mrx-toaster-attention .mrx-toaster__type-icon{color:var(--system-icon-attention, #D97508)}:host.mrx-toaster-attention .mrx-toaster__close{color:var(--neutral-text-inverse, #FFF)}:host .mrx-toaster__content .mrx-toaster__title{font-family:var(--body-md-bold-font-family, \"PT Sans\");font-size:var(--body-md-bold-font-size, 14px);font-weight:var(--body-md-bold-font-weight, 700);line-height:var(--body-md-bold-line-height, 16px)}:host .mrx-toaster__content .mrx-toaster__text{font-family:var(--body-md-font-family, \"PT Sans\");font-size:var(--body-md-font-size, 14px);font-weight:var(--body-md-font-weight, 400);line-height:var(--body-md-line-height, 20px)}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "pipe", type: i3.SafePipe, name: "safe" }] });
|
|
24
24
|
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ToasterComponent, decorators: [{
|
|
26
26
|
type: Component,
|
|
27
27
|
args: [{ selector: 'mrx-toaster', template: "<div class=\"mrx-toaster__type-icon\">\r\n <ng-container [ngSwitch]=\"options.payload.colorType\">\r\n <ng-container *ngSwitchCase=\"ToasterType.Positive\">\r\n <span class=\"mrx-icon icon-check color-positive icon-font-16\"></span>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"ToasterType.Negative\">\r\n <span class=\"mrx-icon icon-close color-negative icon-font-16\"></span>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"ToasterType.Attention\">\r\n <span class=\"mrx-icon icon-attention color-attention icon-font-16\"></span>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <span class=\"mrx-icon icon-info color-info icon-font-16\"></span>\r\n </ng-container>\r\n </ng-container>\r\n</div>\r\n\r\n<div class=\"mrx-toaster__content\">\r\n <div class=\"mrx-toaster__title\">{{ title }}</div>\r\n <div\r\n *ngIf=\"message && options.enableHtml\"\r\n class=\"mrx-toaster__text\"\r\n [class]=\"options.messageClass\"\r\n [innerHTML]=\"message | safe\"\r\n ></div>\r\n\r\n <div\r\n *ngIf=\"message && !options.enableHtml\"\r\n class=\"mrx-toaster__text\"\r\n >{{ message }}</div>\r\n</div>\r\n\r\n<span\r\n *ngIf=\"options.closeButton\"\r\n (click)=\"remove()\"\r\n class=\"mrx-icon icon-close icon-font-16 mrx-toaster__close\"\r\n></span>\r\n", styles: [":host{position:relative;display:block;pointer-events:auto;border-radius:4px;box-shadow:0 1px 4px #3a3a3a4d;width:300px;max-width:calc(100vw - 32px);min-height:56px;padding:16px 24px 16px 48px}:host:not(:last-child){margin-bottom:16px}:host .mrx-toaster__type-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#fff;position:absolute;top:16px;left:16px}:host .mrx-toaster__content{display:flex;flex-direction:column;justify-content:center;min-height:24px}:host .mrx-toaster__close{position:absolute;top:8px;right:8px;color:#fff;cursor:pointer}:host.mrx-toaster-info{background-color:var(--brand-toast-info-bg-default, #BED6F1)}:host.mrx-toaster-info .mrx-toaster__title{color:var(--neutral-text-primary, #262626)}:host.mrx-toaster-info .mrx-toaster__text{color:var(--neutral-text-primary, #262626)}:host.mrx-toaster-info .mrx-toaster__type-icon{color:var(--neutral-text-primary, #262626)}:host.mrx-toaster-info .mrx-toaster__close{color:var(--neutral-text-primary, #262626)}:host.mrx-toaster-positive{background-color:var(--system-bg-controls-positive-default, #108E3A)}:host.mrx-toaster-positive .mrx-toaster__title{color:var(--neutral-text-inverse, #FFF)}:host.mrx-toaster-positive .mrx-toaster__text{color:var(--neutral-text-inverse, #FFF)}:host.mrx-toaster-positive .mrx-toaster__type-icon{color:var(--system-icon-positive, #2DA454)}:host.mrx-toaster-positive .mrx-toaster__close{color:var(--neutral-text-inverse, #FFF)}:host.mrx-toaster-negative{background-color:var(--system-bg-controls-negative-default, #B83B15)}:host.mrx-toaster-negative .mrx-toaster__title{color:var(--neutral-text-inverse, #FFF)}:host.mrx-toaster-negative .mrx-toaster__text{color:var(--neutral-text-inverse, #FFF)}:host.mrx-toaster-negative .mrx-toaster__type-icon{color:var(--system-icon-negative, #C65836)}:host.mrx-toaster-negative .mrx-toaster__close{color:var(--neutral-text-inverse, #FFF)}:host.mrx-toaster-attention{background-color:var(--system-bg-controls-attention-default, #CC6E07)}:host.mrx-toaster-attention .mrx-toaster__title{color:var(--neutral-text-inverse, #FFF)}:host.mrx-toaster-attention .mrx-toaster__text{color:var(--neutral-text-inverse, #FFF)}:host.mrx-toaster-attention .mrx-toaster__type-icon{color:var(--system-icon-attention, #D97508)}:host.mrx-toaster-attention .mrx-toaster__close{color:var(--neutral-text-inverse, #FFF)}:host .mrx-toaster__content .mrx-toaster__title{font-family:var(--body-md-bold-font-family, \"PT Sans\");font-size:var(--body-md-bold-font-size, 14px);font-weight:var(--body-md-bold-font-weight, 700);line-height:var(--body-md-bold-line-height, 16px)}:host .mrx-toaster__content .mrx-toaster__text{font-family:var(--body-md-font-family, \"PT Sans\");font-size:var(--body-md-font-size, 14px);font-weight:var(--body-md-font-weight, 400);line-height:var(--body-md-line-height, 20px)}\n"] }]
|
|
28
28
|
}], ctorParameters: () => [{ type: i1.ToastrService }, { type: i1.ToastPackage }] });
|
|
@@ -7,9 +7,9 @@ import { SafeModule } from '../../pipes/safe/safe.module';
|
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
import * as i1 from "ngx-toastr";
|
|
9
9
|
export class ToasterServiceModule {
|
|
10
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
11
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
12
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ToasterServiceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: ToasterServiceModule, declarations: [ToasterComponent], imports: [CommonModule, i1.ToastrModule, SafeModule] });
|
|
12
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ToasterServiceModule, providers: [
|
|
13
13
|
ToastrService,
|
|
14
14
|
ToasterService
|
|
15
15
|
], imports: [CommonModule,
|
|
@@ -25,7 +25,7 @@ export class ToasterServiceModule {
|
|
|
25
25
|
}),
|
|
26
26
|
SafeModule] });
|
|
27
27
|
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ToasterServiceModule, decorators: [{
|
|
29
29
|
type: NgModule,
|
|
30
30
|
args: [{
|
|
31
31
|
declarations: [ToasterComponent],
|
|
@@ -41,10 +41,10 @@ export class ToasterService {
|
|
|
41
41
|
this._toasterService.info(data.message, data.title, toastConfig);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
45
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
44
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ToasterService, deps: [{ token: i1.ToastrService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
45
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ToasterService, providedIn: 'root' });
|
|
46
46
|
}
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ToasterService, decorators: [{
|
|
48
48
|
type: Injectable,
|
|
49
49
|
args: [{
|
|
50
50
|
providedIn: 'root'
|