cmat 0.0.117 → 0.0.119
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/fesm2022/cmat-components-adapter.mjs +9 -9
- package/fesm2022/cmat-components-breadcrumb.mjs +10 -9
- package/fesm2022/cmat-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/cmat-components-card.mjs +6 -6
- package/fesm2022/cmat-components-card.mjs.map +1 -1
- package/fesm2022/cmat-components-carousel.mjs +16 -16
- package/fesm2022/cmat-components-carousel.mjs.map +1 -1
- package/fesm2022/cmat-components-cascade.mjs +1 -863
- package/fesm2022/cmat-components-chip-input.mjs +11 -11
- package/fesm2022/cmat-components-code-editor.mjs +3 -3
- package/fesm2022/cmat-components-color-picker.mjs +45 -45
- package/fesm2022/cmat-components-color-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-custom-formly.mjs +214 -214
- package/fesm2022/cmat-components-custom-formly.mjs.map +1 -1
- package/fesm2022/cmat-components-data-picker.mjs +43 -40
- package/fesm2022/cmat-components-data-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-date-range.mjs +15 -16
- package/fesm2022/cmat-components-date-range.mjs.map +1 -1
- package/fesm2022/cmat-components-date-time-display.mjs +4 -4
- package/fesm2022/cmat-components-drawer.mjs +9 -9
- package/fesm2022/cmat-components-drawer.mjs.map +1 -1
- package/fesm2022/cmat-components-empty-state.mjs +4 -4
- package/fesm2022/cmat-components-file-preview.mjs +4 -4
- package/fesm2022/cmat-components-filter-toolbar.mjs +12 -13
- package/fesm2022/cmat-components-filter-toolbar.mjs.map +1 -1
- package/fesm2022/cmat-components-form-actions.mjs +6 -6
- package/fesm2022/cmat-components-fullscreen.mjs +4 -4
- package/fesm2022/cmat-components-highlight.mjs +7 -7
- package/fesm2022/cmat-components-image-viewer.mjs +7 -7
- package/fesm2022/cmat-components-image-viewer.mjs.map +1 -1
- package/fesm2022/cmat-components-inline-loading.mjs +3 -3
- package/fesm2022/cmat-components-json-editor.mjs +7 -7
- package/fesm2022/cmat-components-json-editor.mjs.map +1 -1
- package/fesm2022/cmat-components-knob-input.mjs +6 -6
- package/fesm2022/cmat-components-loading-overlay.mjs +5 -5
- package/fesm2022/cmat-components-loading-overlay.mjs.map +1 -1
- package/fesm2022/cmat-components-masonry.mjs +4 -4
- package/fesm2022/cmat-components-material-color-picker.mjs +1 -337
- package/fesm2022/cmat-components-material-datetimepicker.mjs +1 -4312
- package/fesm2022/cmat-components-navigation.mjs +1 -3081
- package/fesm2022/cmat-components-opt-input.mjs +1 -542
- package/fesm2022/cmat-components-org-chart.mjs +1 -529
- package/fesm2022/cmat-components-page-header.mjs +4 -4
- package/fesm2022/cmat-components-pagination.mjs +21 -21
- package/fesm2022/cmat-components-pagination.mjs.map +1 -1
- package/fesm2022/cmat-components-password-strength.mjs +1 -880
- package/fesm2022/cmat-components-popover.mjs +1 -1022
- package/fesm2022/cmat-components-progress-bar.mjs +4 -4
- package/fesm2022/cmat-components-qrcode.mjs +3 -3
- package/fesm2022/cmat-components-rating.mjs +8 -8
- package/fesm2022/cmat-components-rich-text-editor.mjs +3 -3
- package/fesm2022/cmat-components-select-search.mjs +1 -930
- package/fesm2022/cmat-components-select-table.mjs +39 -39
- package/fesm2022/cmat-components-select-table.mjs.map +1 -1
- package/fesm2022/cmat-components-select-tree.mjs +28 -27
- package/fesm2022/cmat-components-select-tree.mjs.map +1 -1
- package/fesm2022/cmat-components-skeleton.mjs +5 -5
- package/fesm2022/cmat-components-skeleton.mjs.map +1 -1
- package/fesm2022/cmat-components-speed-dial.mjs +12 -12
- package/fesm2022/cmat-components-speed-dial.mjs.map +1 -1
- package/fesm2022/cmat-components-status-tag.mjs +6 -6
- package/fesm2022/cmat-components-status-tag.mjs.map +1 -1
- package/fesm2022/cmat-components-table-toolbar.mjs +4 -4
- package/fesm2022/cmat-components-timeline.mjs +19 -19
- package/fesm2022/cmat-components-timeline.mjs.map +1 -1
- package/fesm2022/cmat-components-toast.mjs +14 -14
- package/fesm2022/cmat-components-toast.mjs.map +1 -1
- package/fesm2022/cmat-components-transfer-picker.mjs +48 -49
- package/fesm2022/cmat-components-transfer-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-treetable.mjs +8 -8
- package/fesm2022/cmat-components-upload.mjs +17 -17
- package/fesm2022/cmat-components-x6-angular-shape.mjs +1 -1
- package/fesm2022/cmat-directives-animate-on-scroll.mjs +1 -221
- package/fesm2022/cmat-directives-arrow-cursor.mjs +3 -3
- package/fesm2022/cmat-directives-autofocus.mjs +3 -3
- package/fesm2022/cmat-directives-data-exporter.mjs +1 -544
- package/fesm2022/cmat-directives-debounce.mjs +1 -163
- package/fesm2022/cmat-directives-digit-only.mjs +6 -6
- package/fesm2022/cmat-directives-equal-validator.mjs +3 -3
- package/fesm2022/cmat-directives-seamless-auto-scroll.mjs +3 -3
- package/fesm2022/cmat-lib-mock-api.mjs +8 -8
- package/fesm2022/cmat-pipes-bytes.mjs +3 -3
- package/fesm2022/cmat-pipes-date-format.mjs +3 -3
- package/fesm2022/cmat-pipes-find-by-key.mjs +3 -3
- package/fesm2022/cmat-pipes-group-by.mjs +3 -3
- package/fesm2022/cmat-pipes-keys.mjs +3 -3
- package/fesm2022/cmat-pipes-secure.mjs +6 -6
- package/fesm2022/cmat-pipes-uppercase.mjs +3 -3
- package/fesm2022/cmat-reports.mjs +86 -80
- package/fesm2022/cmat-reports.mjs.map +1 -1
- package/fesm2022/cmat-services-alert.mjs +4 -4
- package/fesm2022/cmat-services-config.mjs +6 -6
- package/fesm2022/cmat-services-confirmation.mjs +1 -185
- package/fesm2022/cmat-services-data.mjs +5 -5
- package/fesm2022/cmat-services-export-as.mjs +4 -4
- package/fesm2022/cmat-services-loading.mjs +6 -6
- package/fesm2022/cmat-services-local-storage.mjs +3 -3
- package/fesm2022/cmat-services-media-watcher.mjs +4 -4
- package/fesm2022/cmat-services-platform.mjs +4 -4
- package/fesm2022/cmat-services-print.mjs +3 -3
- package/fesm2022/cmat-services-splash-screen.mjs +4 -4
- package/fesm2022/cmat-services-title.mjs +6 -6
- package/fesm2022/cmat-services-translation.mjs +4 -4
- package/fesm2022/cmat-services-utils.mjs +7 -7
- package/fesm2022/cmat.mjs +77 -39579
- package/fesm2022/public-api-BE83BHd7.mjs +930 -0
- package/fesm2022/public-api-BE83BHd7.mjs.map +1 -0
- package/fesm2022/public-api-BcmOSkgf.mjs +542 -0
- package/fesm2022/public-api-BcmOSkgf.mjs.map +1 -0
- package/fesm2022/public-api-BmMqKDzm.mjs +4312 -0
- package/fesm2022/public-api-BmMqKDzm.mjs.map +1 -0
- package/fesm2022/public-api-BnRFazGR.mjs +221 -0
- package/fesm2022/public-api-BnRFazGR.mjs.map +1 -0
- package/fesm2022/public-api-C9N9rKkB.mjs +185 -0
- package/fesm2022/public-api-C9N9rKkB.mjs.map +1 -0
- package/fesm2022/public-api-CXmCX9ZQ.mjs +863 -0
- package/fesm2022/public-api-CXmCX9ZQ.mjs.map +1 -0
- package/fesm2022/public-api-CfILyvuV.mjs +880 -0
- package/fesm2022/public-api-CfILyvuV.mjs.map +1 -0
- package/fesm2022/public-api-CgtBw-7O.mjs +163 -0
- package/fesm2022/public-api-CgtBw-7O.mjs.map +1 -0
- package/fesm2022/public-api-DEtzrfqy.mjs +544 -0
- package/fesm2022/public-api-DEtzrfqy.mjs.map +1 -0
- package/fesm2022/public-api-EK51WC1y.mjs +1022 -0
- package/fesm2022/public-api-EK51WC1y.mjs.map +1 -0
- package/fesm2022/public-api-IpTsAgZ4.mjs +3081 -0
- package/fesm2022/public-api-IpTsAgZ4.mjs.map +1 -0
- package/fesm2022/public-api-iRaKIVmd.mjs +338 -0
- package/fesm2022/public-api-iRaKIVmd.mjs.map +1 -0
- package/fesm2022/public-api-nzzDLiDj.mjs +529 -0
- package/fesm2022/public-api-nzzDLiDj.mjs.map +1 -0
- package/fesm2022/{cmat-quill-docx-exporter-D9Eo73Wq.mjs → quill-docx-exporter-D9Eo73Wq.mjs} +1 -1
- package/fesm2022/quill-docx-exporter-D9Eo73Wq.mjs.map +1 -0
- package/package.json +23 -22
- package/types/cmat-components-breadcrumb.d.ts +1 -1
- package/types/cmat-components-chip-input.d.ts +3 -3
- package/types/cmat-components-custom-formly.d.ts +2 -857
- package/types/cmat-components-data-picker.d.ts +12 -6
- package/types/cmat-components-date-range.d.ts +1 -1
- package/types/cmat-components-drawer.d.ts +1 -1
- package/types/cmat-components-form-actions.d.ts +1 -1
- package/types/cmat-components-knob-input.d.ts +1 -1
- package/types/cmat-components-masonry.d.ts +2 -1
- package/types/cmat-components-material-color-picker.d.ts +1 -1
- package/types/cmat-components-material-datetimepicker.d.ts +2 -836
- package/types/cmat-components-navigation.d.ts +1 -1
- package/types/cmat-components-opt-input.d.ts +2 -113
- package/types/cmat-components-org-chart.d.ts +1 -1
- package/types/cmat-components-page-header.d.ts +1 -1
- package/types/cmat-components-password-strength.d.ts +2 -201
- package/types/cmat-components-popover.d.ts +2 -270
- package/types/cmat-components-qrcode.d.ts +2 -113
- package/types/cmat-components-rating.d.ts +1 -1
- package/types/cmat-components-rich-text-editor.d.ts +1 -1
- package/types/cmat-components-select-search.d.ts +2 -200
- package/types/cmat-components-select-table.d.ts +3 -3
- package/types/cmat-components-select-tree.d.ts +6 -5
- package/types/cmat-components-status-tag.d.ts +2 -2
- package/types/cmat-components-toast.d.ts +2 -1
- package/types/cmat-components-transfer-picker.d.ts +2 -2
- package/types/cmat-components-upload.d.ts +1 -1
- package/types/cmat-components-x6-angular-shape.d.ts +1 -1
- package/types/cmat-directives-data-exporter.d.ts +1 -1
- package/types/cmat-directives-debounce.d.ts +2 -34
- package/types/cmat-directives-equal-validator.d.ts +1 -1
- package/types/cmat-directives-seamless-auto-scroll.d.ts +1 -1
- package/types/cmat-lib-mock-api.d.ts +3 -2
- package/types/cmat-pipes-secure.d.ts +1 -1
- package/types/cmat-reports.d.ts +6 -6
- package/types/cmat-services-alert.d.ts +1 -1
- package/types/cmat-services-confirmation.d.ts +2 -36
- package/types/cmat-services-data.d.ts +1 -1
- package/types/cmat-services-export-as.d.ts +1 -1
- package/types/cmat-services-loading.d.ts +1 -1
- package/types/cmat-services-translation.d.ts +1 -1
- package/types/cmat-services-utils.d.ts +2 -2
- package/types/cmat.d.ts +78 -7676
- package/types/public-api-BFGGDRK3.d.ts +201 -0
- package/types/public-api-BXS379ev.d.ts +202 -0
- package/types/public-api-C4CvABGO.d.ts +114 -0
- package/types/public-api-CSYz4G5Z.d.ts +271 -0
- package/types/public-api-NSrmlKKH.d.ts +114 -0
- package/types/public-api-PfNpHSSm.d.ts +837 -0
- package/types/public-api-f3WtygQS.d.ts +35 -0
- package/types/public-api-nBuSXSMJ.d.ts +858 -0
- package/types/public-api-yYeZrUAV.d.ts +37 -0
- package/fesm2022/cmat-components-cascade.mjs.map +0 -1
- package/fesm2022/cmat-components-custom-formly-quill-docx-exporter-BwwGX2Ie.mjs +0 -294
- package/fesm2022/cmat-components-custom-formly-quill-docx-exporter-BwwGX2Ie.mjs.map +0 -1
- package/fesm2022/cmat-components-material-color-picker.mjs.map +0 -1
- package/fesm2022/cmat-components-material-datetimepicker.mjs.map +0 -1
- package/fesm2022/cmat-components-navigation.mjs.map +0 -1
- package/fesm2022/cmat-components-opt-input.mjs.map +0 -1
- package/fesm2022/cmat-components-org-chart.mjs.map +0 -1
- package/fesm2022/cmat-components-password-strength.mjs.map +0 -1
- package/fesm2022/cmat-components-popover.mjs.map +0 -1
- package/fesm2022/cmat-components-select-search.mjs.map +0 -1
- package/fesm2022/cmat-directives-animate-on-scroll.mjs.map +0 -1
- package/fesm2022/cmat-directives-data-exporter.mjs.map +0 -1
- package/fesm2022/cmat-directives-debounce.mjs.map +0 -1
- package/fesm2022/cmat-quill-docx-exporter-D9Eo73Wq.mjs.map +0 -1
- package/fesm2022/cmat-services-confirmation.mjs.map +0 -1
- package/fesm2022/cmat.mjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { HttpResponseBase } from "@angular/common/http";
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
import { Injectable, signal } from "@angular/core";
|
|
3
|
+
import { HttpResponseBase } from "@angular/common/http";
|
|
4
4
|
import { CmatUtilsService } from "cmat/services/utils";
|
|
5
5
|
var CmatAlertDialog = class {
|
|
6
6
|
constructor(message, type, okCallback, cancelCallback, defaultValue, okLabel, cancelLabel) {
|
|
@@ -224,7 +224,7 @@ var CmatAlertService = class CmatAlertService {
|
|
|
224
224
|
static {
|
|
225
225
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
226
226
|
minVersion: "12.0.0",
|
|
227
|
-
version: "22.
|
|
227
|
+
version: "22.3.0",
|
|
228
228
|
ngImport: i0,
|
|
229
229
|
type: CmatAlertService,
|
|
230
230
|
deps: [],
|
|
@@ -234,7 +234,7 @@ var CmatAlertService = class CmatAlertService {
|
|
|
234
234
|
static {
|
|
235
235
|
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
236
236
|
minVersion: "12.0.0",
|
|
237
|
-
version: "22.
|
|
237
|
+
version: "22.3.0",
|
|
238
238
|
ngImport: i0,
|
|
239
239
|
type: CmatAlertService,
|
|
240
240
|
providedIn: "root"
|
|
@@ -243,7 +243,7 @@ var CmatAlertService = class CmatAlertService {
|
|
|
243
243
|
};
|
|
244
244
|
i0.ɵɵngDeclareClassMetadata({
|
|
245
245
|
minVersion: "12.0.0",
|
|
246
|
-
version: "22.
|
|
246
|
+
version: "22.3.0",
|
|
247
247
|
ngImport: i0,
|
|
248
248
|
type: CmatAlertService,
|
|
249
249
|
decorators: [{
|
|
@@ -33,7 +33,7 @@ var CmatConfigService = class CmatConfigService {
|
|
|
33
33
|
static {
|
|
34
34
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
35
35
|
minVersion: "12.0.0",
|
|
36
|
-
version: "22.
|
|
36
|
+
version: "22.3.0",
|
|
37
37
|
ngImport: i0,
|
|
38
38
|
type: CmatConfigService,
|
|
39
39
|
deps: [],
|
|
@@ -43,7 +43,7 @@ var CmatConfigService = class CmatConfigService {
|
|
|
43
43
|
static {
|
|
44
44
|
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
45
45
|
minVersion: "12.0.0",
|
|
46
|
-
version: "22.
|
|
46
|
+
version: "22.3.0",
|
|
47
47
|
ngImport: i0,
|
|
48
48
|
type: CmatConfigService,
|
|
49
49
|
providedIn: "root"
|
|
@@ -52,7 +52,7 @@ var CmatConfigService = class CmatConfigService {
|
|
|
52
52
|
};
|
|
53
53
|
i0.ɵɵngDeclareClassMetadata({
|
|
54
54
|
minVersion: "12.0.0",
|
|
55
|
-
version: "22.
|
|
55
|
+
version: "22.3.0",
|
|
56
56
|
ngImport: i0,
|
|
57
57
|
type: CmatConfigService,
|
|
58
58
|
decorators: [{
|
|
@@ -79,7 +79,7 @@ var CmatUrlStateConfigService = class CmatUrlStateConfigService {
|
|
|
79
79
|
static {
|
|
80
80
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
81
81
|
minVersion: "12.0.0",
|
|
82
|
-
version: "22.
|
|
82
|
+
version: "22.3.0",
|
|
83
83
|
ngImport: i0,
|
|
84
84
|
type: CmatUrlStateConfigService,
|
|
85
85
|
deps: [],
|
|
@@ -89,7 +89,7 @@ var CmatUrlStateConfigService = class CmatUrlStateConfigService {
|
|
|
89
89
|
static {
|
|
90
90
|
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
91
91
|
minVersion: "12.0.0",
|
|
92
|
-
version: "22.
|
|
92
|
+
version: "22.3.0",
|
|
93
93
|
ngImport: i0,
|
|
94
94
|
type: CmatUrlStateConfigService,
|
|
95
95
|
providedIn: "root"
|
|
@@ -98,7 +98,7 @@ var CmatUrlStateConfigService = class CmatUrlStateConfigService {
|
|
|
98
98
|
};
|
|
99
99
|
i0.ɵɵngDeclareClassMetadata({
|
|
100
100
|
minVersion: "12.0.0",
|
|
101
|
-
version: "22.
|
|
101
|
+
version: "22.3.0",
|
|
102
102
|
ngImport: i0,
|
|
103
103
|
type: CmatUrlStateConfigService,
|
|
104
104
|
decorators: [{
|
|
@@ -1,185 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { Component, Injectable, ViewEncapsulation, inject } from "@angular/core";
|
|
3
|
-
import * as i2 from "@angular/material/dialog";
|
|
4
|
-
import { MAT_DIALOG_DATA, MatDialog, MatDialogModule, MatDialogRef } from "@angular/material/dialog";
|
|
5
|
-
import { merge } from "lodash-es";
|
|
6
|
-
import { NgClass } from "@angular/common";
|
|
7
|
-
import * as i1 from "@angular/material/button";
|
|
8
|
-
import { MatButtonModule } from "@angular/material/button";
|
|
9
|
-
import * as i3 from "@angular/material/icon";
|
|
10
|
-
import { MatIconModule } from "@angular/material/icon";
|
|
11
|
-
var CmatConfirmationDialogComponent = class CmatConfirmationDialogComponent {
|
|
12
|
-
constructor() {
|
|
13
|
-
this.data = inject(MAT_DIALOG_DATA);
|
|
14
|
-
this.matDialogRef = inject(MatDialogRef);
|
|
15
|
-
}
|
|
16
|
-
static {
|
|
17
|
-
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
18
|
-
minVersion: "12.0.0",
|
|
19
|
-
version: "22.2.4",
|
|
20
|
-
ngImport: i0,
|
|
21
|
-
type: CmatConfirmationDialogComponent,
|
|
22
|
-
deps: [],
|
|
23
|
-
target: i0.ɵɵFactoryTarget.Component
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
static {
|
|
27
|
-
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
28
|
-
minVersion: "17.0.0",
|
|
29
|
-
version: "22.2.4",
|
|
30
|
-
type: CmatConfirmationDialogComponent,
|
|
31
|
-
isStandalone: true,
|
|
32
|
-
selector: "cmat-confirmation-dialog",
|
|
33
|
-
ngImport: i0,
|
|
34
|
-
template: "<div class=\"relative flex flex-col w-full h-full\">\r\n\r\n \r\n @if (data.dismissible) {\r\n <div class=\"absolute top-0 right-0 pt-4 pr-4\">\r\n <button type=\"button\" matIconButton [matDialogClose]=\"undefined\">\r\n <mat-icon class=\"text-secondary\" [svgIcon]=\"'heroicons_outline:x-mark'\"></mat-icon>\r\n </button>\r\n </div>\r\n }\r\n\r\n \r\n <div class=\"flex flex-col md:flex-row items-center md:items-start p-8 pb-6 md:pb-8\">\r\n\r\n \r\n @if (data.icon?.show) {\r\n <div class=\"flex flex-none items-center justify-center w-10 h-10 md:mr-4 rounded-full\" [ngClass]=\"{'text-primary-600 bg-primary-100 dark:text-primary-50 dark:bg-primary-600': data.icon.color === 'primary',\r\n 'text-accent-600 bg-accent-100 dark:text-accent-50 dark:bg-accent-600': data.icon.color === 'accent',\r\n 'text-warn-600 bg-warn-100 dark:text-warn-50 dark:bg-warn-600': data.icon.color === 'warn',\r\n 'text-slate-600 bg-slate-100 dark:text-slate-50 dark:bg-slate-600': data.icon.color === 'basic',\r\n 'text-blue-600 bg-blue-100 dark:text-blue-50 dark:bg-blue-600': data.icon.color === 'info',\r\n 'text-emerald-500 bg-emerald-100 dark:text-emerald-50 dark:bg-emerald-500': data.icon.color === 'success',\r\n 'text-amber-500 bg-amber-100 dark:text-amber-50 dark:bg-amber-500': data.icon.color === 'warning',\r\n 'text-red-600 bg-red-100 dark:text-red-50 dark:bg-red-600': data.icon.color === 'error'\r\n }\">\r\n @if (data.icon.name) {\r\n <mat-icon class=\"text-current\" [svgIcon]=\"data.icon.name||''\"></mat-icon>\r\n }\r\n </div>\r\n }\r\n\r\n @if (data.title || data.message) {\r\n <div\r\n class=\"flex flex-col items-center md:items-start mt-4 md:mt-0 md:pr-8 gap-1 text-center md:text-left\">\r\n \r\n @if (data.title) {\r\n <div class=\"text-xl leading-6 font-medium\" [innerHTML]=\"data.title\"></div>\r\n }\r\n \r\n @if (data.message) {\r\n <div class=\"text-secondary\" [innerHTML]=\"data.message\"></div>\r\n }\r\n </div>\r\n }\r\n\r\n </div>\r\n\r\n \r\n @if (data.actions.confirm?.show || data.actions.cancel?.show) {\r\n <div\r\n class=\"flex items-center justify-center md:justify-end px-6 py-4 flex-row gap-3 bg-slate-50 dark:bg-black/10\">\r\n \r\n @if (data.actions.confirm?.show) {\r\n <button type=\"button\" matButton=\"filled\" [color]=\"data.actions.confirm.color\"\r\n [matDialogClose]=\"'confirmed'\">\r\n {{data.actions.confirm.label}}\r\n </button>\r\n }\r\n \r\n @if (data.actions.cancel?.show) {\r\n <button type=\"button\" matButton=\"outlined\" [matDialogClose]=\"'cancelled'\">\r\n {{data.actions.cancel.label}}\r\n </button>\r\n }\r\n </div>\r\n }\r\n\r\n</div>",
|
|
35
|
-
styles: [".cmat-confirmation-dialog-panel .mat-mdc-dialog-container{padding:0!important}\n"],
|
|
36
|
-
dependencies: [
|
|
37
|
-
{
|
|
38
|
-
kind: "ngmodule",
|
|
39
|
-
type: MatButtonModule
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
kind: "component",
|
|
43
|
-
type: i1.MatButton,
|
|
44
|
-
selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ",
|
|
45
|
-
inputs: ["matButton"],
|
|
46
|
-
exportAs: ["matButton", "matAnchor"]
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
kind: "component",
|
|
50
|
-
type: i1.MatIconButton,
|
|
51
|
-
selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]",
|
|
52
|
-
exportAs: ["matButton", "matAnchor"]
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
kind: "ngmodule",
|
|
56
|
-
type: MatDialogModule
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
kind: "directive",
|
|
60
|
-
type: i2.MatDialogClose,
|
|
61
|
-
selector: "[mat-dialog-close], [matDialogClose]",
|
|
62
|
-
inputs: [
|
|
63
|
-
"aria-label",
|
|
64
|
-
"type",
|
|
65
|
-
"mat-dialog-close",
|
|
66
|
-
"matDialogClose"
|
|
67
|
-
],
|
|
68
|
-
exportAs: ["matDialogClose"]
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
kind: "ngmodule",
|
|
72
|
-
type: MatIconModule
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
kind: "component",
|
|
76
|
-
type: i3.MatIcon,
|
|
77
|
-
selector: "mat-icon",
|
|
78
|
-
inputs: [
|
|
79
|
-
"color",
|
|
80
|
-
"inline",
|
|
81
|
-
"svgIcon",
|
|
82
|
-
"fontSet",
|
|
83
|
-
"fontIcon"
|
|
84
|
-
],
|
|
85
|
-
exportAs: ["matIcon"]
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
kind: "directive",
|
|
89
|
-
type: NgClass,
|
|
90
|
-
selector: "[ngClass]",
|
|
91
|
-
inputs: ["class", "ngClass"]
|
|
92
|
-
}
|
|
93
|
-
],
|
|
94
|
-
encapsulation: i0.ViewEncapsulation.None
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({
|
|
99
|
-
minVersion: "12.0.0",
|
|
100
|
-
version: "22.2.4",
|
|
101
|
-
ngImport: i0,
|
|
102
|
-
type: CmatConfirmationDialogComponent,
|
|
103
|
-
decorators: [{
|
|
104
|
-
type: Component,
|
|
105
|
-
args: [{
|
|
106
|
-
selector: "cmat-confirmation-dialog",
|
|
107
|
-
encapsulation: ViewEncapsulation.None,
|
|
108
|
-
imports: [
|
|
109
|
-
MatButtonModule,
|
|
110
|
-
MatDialogModule,
|
|
111
|
-
MatIconModule,
|
|
112
|
-
NgClass
|
|
113
|
-
],
|
|
114
|
-
template: "<div class=\"relative flex flex-col w-full h-full\">\r\n\r\n \r\n @if (data.dismissible) {\r\n <div class=\"absolute top-0 right-0 pt-4 pr-4\">\r\n <button type=\"button\" matIconButton [matDialogClose]=\"undefined\">\r\n <mat-icon class=\"text-secondary\" [svgIcon]=\"'heroicons_outline:x-mark'\"></mat-icon>\r\n </button>\r\n </div>\r\n }\r\n\r\n \r\n <div class=\"flex flex-col md:flex-row items-center md:items-start p-8 pb-6 md:pb-8\">\r\n\r\n \r\n @if (data.icon?.show) {\r\n <div class=\"flex flex-none items-center justify-center w-10 h-10 md:mr-4 rounded-full\" [ngClass]=\"{'text-primary-600 bg-primary-100 dark:text-primary-50 dark:bg-primary-600': data.icon.color === 'primary',\r\n 'text-accent-600 bg-accent-100 dark:text-accent-50 dark:bg-accent-600': data.icon.color === 'accent',\r\n 'text-warn-600 bg-warn-100 dark:text-warn-50 dark:bg-warn-600': data.icon.color === 'warn',\r\n 'text-slate-600 bg-slate-100 dark:text-slate-50 dark:bg-slate-600': data.icon.color === 'basic',\r\n 'text-blue-600 bg-blue-100 dark:text-blue-50 dark:bg-blue-600': data.icon.color === 'info',\r\n 'text-emerald-500 bg-emerald-100 dark:text-emerald-50 dark:bg-emerald-500': data.icon.color === 'success',\r\n 'text-amber-500 bg-amber-100 dark:text-amber-50 dark:bg-amber-500': data.icon.color === 'warning',\r\n 'text-red-600 bg-red-100 dark:text-red-50 dark:bg-red-600': data.icon.color === 'error'\r\n }\">\r\n @if (data.icon.name) {\r\n <mat-icon class=\"text-current\" [svgIcon]=\"data.icon.name||''\"></mat-icon>\r\n }\r\n </div>\r\n }\r\n\r\n @if (data.title || data.message) {\r\n <div\r\n class=\"flex flex-col items-center md:items-start mt-4 md:mt-0 md:pr-8 gap-1 text-center md:text-left\">\r\n \r\n @if (data.title) {\r\n <div class=\"text-xl leading-6 font-medium\" [innerHTML]=\"data.title\"></div>\r\n }\r\n \r\n @if (data.message) {\r\n <div class=\"text-secondary\" [innerHTML]=\"data.message\"></div>\r\n }\r\n </div>\r\n }\r\n\r\n </div>\r\n\r\n \r\n @if (data.actions.confirm?.show || data.actions.cancel?.show) {\r\n <div\r\n class=\"flex items-center justify-center md:justify-end px-6 py-4 flex-row gap-3 bg-slate-50 dark:bg-black/10\">\r\n \r\n @if (data.actions.confirm?.show) {\r\n <button type=\"button\" matButton=\"filled\" [color]=\"data.actions.confirm.color\"\r\n [matDialogClose]=\"'confirmed'\">\r\n {{data.actions.confirm.label}}\r\n </button>\r\n }\r\n \r\n @if (data.actions.cancel?.show) {\r\n <button type=\"button\" matButton=\"outlined\" [matDialogClose]=\"'cancelled'\">\r\n {{data.actions.cancel.label}}\r\n </button>\r\n }\r\n </div>\r\n }\r\n\r\n</div>",
|
|
115
|
-
styles: [".cmat-confirmation-dialog-panel .mat-mdc-dialog-container{padding:0!important}\n"]
|
|
116
|
-
}]
|
|
117
|
-
}]
|
|
118
|
-
});
|
|
119
|
-
var CmatConfirmationService = class CmatConfirmationService {
|
|
120
|
-
constructor() {
|
|
121
|
-
this._matDialog = inject(MatDialog);
|
|
122
|
-
this._defaultConfig = {
|
|
123
|
-
title: "确认操作",
|
|
124
|
-
message: "确认此操作吗?",
|
|
125
|
-
icon: {
|
|
126
|
-
show: true,
|
|
127
|
-
name: "heroicons_outline:exclamation-triangle",
|
|
128
|
-
color: "warn"
|
|
129
|
-
},
|
|
130
|
-
actions: {
|
|
131
|
-
confirm: {
|
|
132
|
-
show: true,
|
|
133
|
-
label: "确认",
|
|
134
|
-
color: "warn"
|
|
135
|
-
},
|
|
136
|
-
cancel: {
|
|
137
|
-
show: true,
|
|
138
|
-
label: "取消"
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
dismissible: false
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
open(config) {
|
|
145
|
-
const userConfig = merge({}, this._defaultConfig, config);
|
|
146
|
-
return this._matDialog.open(CmatConfirmationDialogComponent, {
|
|
147
|
-
autoFocus: false,
|
|
148
|
-
disableClose: !userConfig.dismissible,
|
|
149
|
-
data: userConfig,
|
|
150
|
-
panelClass: "cmat-confirmation-dialog-panel"
|
|
151
|
-
});
|
|
152
|
-
}
|
|
153
|
-
static {
|
|
154
|
-
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
155
|
-
minVersion: "12.0.0",
|
|
156
|
-
version: "22.2.4",
|
|
157
|
-
ngImport: i0,
|
|
158
|
-
type: CmatConfirmationService,
|
|
159
|
-
deps: [],
|
|
160
|
-
target: i0.ɵɵFactoryTarget.Injectable
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
static {
|
|
164
|
-
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
165
|
-
minVersion: "12.0.0",
|
|
166
|
-
version: "22.2.4",
|
|
167
|
-
ngImport: i0,
|
|
168
|
-
type: CmatConfirmationService,
|
|
169
|
-
providedIn: "root"
|
|
170
|
-
});
|
|
171
|
-
}
|
|
172
|
-
};
|
|
173
|
-
i0.ɵɵngDeclareClassMetadata({
|
|
174
|
-
minVersion: "12.0.0",
|
|
175
|
-
version: "22.2.4",
|
|
176
|
-
ngImport: i0,
|
|
177
|
-
type: CmatConfirmationService,
|
|
178
|
-
decorators: [{
|
|
179
|
-
type: Injectable,
|
|
180
|
-
args: [{ providedIn: "root" }]
|
|
181
|
-
}]
|
|
182
|
-
});
|
|
183
|
-
export { CmatConfirmationService };
|
|
184
|
-
|
|
185
|
-
//# sourceMappingURL=cmat-services-confirmation.mjs.map
|
|
1
|
+
export { t as CmatConfirmationService } from "./public-api-C9N9rKkB.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { HttpClient, HttpParams } from "@angular/common/http";
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
import { Injectable, effect, inject } from "@angular/core";
|
|
3
|
+
import { catchError, map, retry } from "rxjs/operators";
|
|
4
|
+
import { HttpClient, HttpParams } from "@angular/common/http";
|
|
4
5
|
import { CmatUrlStateConfigService } from "cmat/services/config";
|
|
5
6
|
import { CmatUtilsService } from "cmat/services/utils";
|
|
6
|
-
import { catchError, map, retry } from "rxjs/operators";
|
|
7
7
|
var CmatDataService = class CmatDataService {
|
|
8
8
|
constructor() {
|
|
9
9
|
this._http = inject(HttpClient);
|
|
@@ -104,7 +104,7 @@ var CmatDataService = class CmatDataService {
|
|
|
104
104
|
static {
|
|
105
105
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
106
106
|
minVersion: "12.0.0",
|
|
107
|
-
version: "22.
|
|
107
|
+
version: "22.3.0",
|
|
108
108
|
ngImport: i0,
|
|
109
109
|
type: CmatDataService,
|
|
110
110
|
deps: [],
|
|
@@ -114,7 +114,7 @@ var CmatDataService = class CmatDataService {
|
|
|
114
114
|
static {
|
|
115
115
|
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
116
116
|
minVersion: "12.0.0",
|
|
117
|
-
version: "22.
|
|
117
|
+
version: "22.3.0",
|
|
118
118
|
ngImport: i0,
|
|
119
119
|
type: CmatDataService,
|
|
120
120
|
providedIn: "root"
|
|
@@ -123,7 +123,7 @@ var CmatDataService = class CmatDataService {
|
|
|
123
123
|
};
|
|
124
124
|
i0.ɵɵngDeclareClassMetadata({
|
|
125
125
|
minVersion: "12.0.0",
|
|
126
|
-
version: "22.
|
|
126
|
+
version: "22.3.0",
|
|
127
127
|
ngImport: i0,
|
|
128
128
|
type: CmatDataService,
|
|
129
129
|
decorators: [{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { Injectable } from "@angular/core";
|
|
3
|
-
import * as FileSaver from "file-saver-es";
|
|
4
3
|
import { Observable } from "rxjs";
|
|
4
|
+
import * as FileSaver from "file-saver-es";
|
|
5
5
|
import * as XLSX from "xlsx";
|
|
6
6
|
var CmatExportAsService = class CmatExportAsService {
|
|
7
7
|
get(config) {
|
|
@@ -134,7 +134,7 @@ var CmatExportAsService = class CmatExportAsService {
|
|
|
134
134
|
static {
|
|
135
135
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
136
136
|
minVersion: "12.0.0",
|
|
137
|
-
version: "22.
|
|
137
|
+
version: "22.3.0",
|
|
138
138
|
ngImport: i0,
|
|
139
139
|
type: CmatExportAsService,
|
|
140
140
|
deps: [],
|
|
@@ -144,7 +144,7 @@ var CmatExportAsService = class CmatExportAsService {
|
|
|
144
144
|
static {
|
|
145
145
|
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
146
146
|
minVersion: "12.0.0",
|
|
147
|
-
version: "22.
|
|
147
|
+
version: "22.3.0",
|
|
148
148
|
ngImport: i0,
|
|
149
149
|
type: CmatExportAsService,
|
|
150
150
|
providedIn: "root"
|
|
@@ -153,7 +153,7 @@ var CmatExportAsService = class CmatExportAsService {
|
|
|
153
153
|
};
|
|
154
154
|
i0.ɵɵngDeclareClassMetadata({
|
|
155
155
|
minVersion: "12.0.0",
|
|
156
|
-
version: "22.
|
|
156
|
+
version: "22.3.0",
|
|
157
157
|
ngImport: i0,
|
|
158
158
|
type: CmatExportAsService,
|
|
159
159
|
decorators: [{
|
|
@@ -48,7 +48,7 @@ var CmatLoadingService = class CmatLoadingService {
|
|
|
48
48
|
static {
|
|
49
49
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
50
50
|
minVersion: "12.0.0",
|
|
51
|
-
version: "22.
|
|
51
|
+
version: "22.3.0",
|
|
52
52
|
ngImport: i0,
|
|
53
53
|
type: CmatLoadingService,
|
|
54
54
|
deps: [],
|
|
@@ -58,7 +58,7 @@ var CmatLoadingService = class CmatLoadingService {
|
|
|
58
58
|
static {
|
|
59
59
|
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
60
60
|
minVersion: "12.0.0",
|
|
61
|
-
version: "22.
|
|
61
|
+
version: "22.3.0",
|
|
62
62
|
ngImport: i0,
|
|
63
63
|
type: CmatLoadingService,
|
|
64
64
|
providedIn: "root"
|
|
@@ -67,7 +67,7 @@ var CmatLoadingService = class CmatLoadingService {
|
|
|
67
67
|
};
|
|
68
68
|
i0.ɵɵngDeclareClassMetadata({
|
|
69
69
|
minVersion: "12.0.0",
|
|
70
|
-
version: "22.
|
|
70
|
+
version: "22.3.0",
|
|
71
71
|
ngImport: i0,
|
|
72
72
|
type: CmatLoadingService,
|
|
73
73
|
decorators: [{
|
|
@@ -89,7 +89,7 @@ var CmatLoadingInterceptor = class CmatLoadingInterceptor {
|
|
|
89
89
|
static {
|
|
90
90
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
91
91
|
minVersion: "12.0.0",
|
|
92
|
-
version: "22.
|
|
92
|
+
version: "22.3.0",
|
|
93
93
|
ngImport: i0,
|
|
94
94
|
type: CmatLoadingInterceptor,
|
|
95
95
|
deps: [],
|
|
@@ -99,7 +99,7 @@ var CmatLoadingInterceptor = class CmatLoadingInterceptor {
|
|
|
99
99
|
static {
|
|
100
100
|
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
101
101
|
minVersion: "12.0.0",
|
|
102
|
-
version: "22.
|
|
102
|
+
version: "22.3.0",
|
|
103
103
|
ngImport: i0,
|
|
104
104
|
type: CmatLoadingInterceptor
|
|
105
105
|
});
|
|
@@ -107,7 +107,7 @@ var CmatLoadingInterceptor = class CmatLoadingInterceptor {
|
|
|
107
107
|
};
|
|
108
108
|
i0.ɵɵngDeclareClassMetadata({
|
|
109
109
|
minVersion: "12.0.0",
|
|
110
|
-
version: "22.
|
|
110
|
+
version: "22.3.0",
|
|
111
111
|
ngImport: i0,
|
|
112
112
|
type: CmatLoadingInterceptor,
|
|
113
113
|
decorators: [{ type: Injectable }]
|
|
@@ -44,7 +44,7 @@ var CmatLocalStorageService = class CmatLocalStorageService {
|
|
|
44
44
|
static {
|
|
45
45
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
46
46
|
minVersion: "12.0.0",
|
|
47
|
-
version: "22.
|
|
47
|
+
version: "22.3.0",
|
|
48
48
|
ngImport: i0,
|
|
49
49
|
type: CmatLocalStorageService,
|
|
50
50
|
deps: [],
|
|
@@ -54,7 +54,7 @@ var CmatLocalStorageService = class CmatLocalStorageService {
|
|
|
54
54
|
static {
|
|
55
55
|
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
56
56
|
minVersion: "12.0.0",
|
|
57
|
-
version: "22.
|
|
57
|
+
version: "22.3.0",
|
|
58
58
|
ngImport: i0,
|
|
59
59
|
type: CmatLocalStorageService,
|
|
60
60
|
providedIn: "root"
|
|
@@ -63,7 +63,7 @@ var CmatLocalStorageService = class CmatLocalStorageService {
|
|
|
63
63
|
};
|
|
64
64
|
i0.ɵɵngDeclareClassMetadata({
|
|
65
65
|
minVersion: "12.0.0",
|
|
66
|
-
version: "22.
|
|
66
|
+
version: "22.3.0",
|
|
67
67
|
ngImport: i0,
|
|
68
68
|
type: CmatLocalStorageService,
|
|
69
69
|
decorators: [{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BreakpointObserver } from "@angular/cdk/layout";
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
import { Injectable, effect, inject, signal } from "@angular/core";
|
|
3
|
+
import { BreakpointObserver } from "@angular/cdk/layout";
|
|
4
4
|
import { CmatConfigService } from "cmat/services/config";
|
|
5
5
|
var CmatMediaWatcherService = class CmatMediaWatcherService {
|
|
6
6
|
constructor() {
|
|
@@ -37,7 +37,7 @@ var CmatMediaWatcherService = class CmatMediaWatcherService {
|
|
|
37
37
|
static {
|
|
38
38
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
39
39
|
minVersion: "12.0.0",
|
|
40
|
-
version: "22.
|
|
40
|
+
version: "22.3.0",
|
|
41
41
|
ngImport: i0,
|
|
42
42
|
type: CmatMediaWatcherService,
|
|
43
43
|
deps: [],
|
|
@@ -47,7 +47,7 @@ var CmatMediaWatcherService = class CmatMediaWatcherService {
|
|
|
47
47
|
static {
|
|
48
48
|
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
49
49
|
minVersion: "12.0.0",
|
|
50
|
-
version: "22.
|
|
50
|
+
version: "22.3.0",
|
|
51
51
|
ngImport: i0,
|
|
52
52
|
type: CmatMediaWatcherService,
|
|
53
53
|
providedIn: "root"
|
|
@@ -56,7 +56,7 @@ var CmatMediaWatcherService = class CmatMediaWatcherService {
|
|
|
56
56
|
};
|
|
57
57
|
i0.ɵɵngDeclareClassMetadata({
|
|
58
58
|
minVersion: "12.0.0",
|
|
59
|
-
version: "22.
|
|
59
|
+
version: "22.3.0",
|
|
60
60
|
ngImport: i0,
|
|
61
61
|
type: CmatMediaWatcherService,
|
|
62
62
|
decorators: [{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Platform } from "@angular/cdk/platform";
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
import { Injectable, inject } from "@angular/core";
|
|
3
|
+
import { Platform } from "@angular/cdk/platform";
|
|
4
4
|
var CmatPlatformService = class CmatPlatformService {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.osName = "os-unknown";
|
|
@@ -16,7 +16,7 @@ var CmatPlatformService = class CmatPlatformService {
|
|
|
16
16
|
static {
|
|
17
17
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
18
18
|
minVersion: "12.0.0",
|
|
19
|
-
version: "22.
|
|
19
|
+
version: "22.3.0",
|
|
20
20
|
ngImport: i0,
|
|
21
21
|
type: CmatPlatformService,
|
|
22
22
|
deps: [],
|
|
@@ -26,7 +26,7 @@ var CmatPlatformService = class CmatPlatformService {
|
|
|
26
26
|
static {
|
|
27
27
|
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
28
28
|
minVersion: "12.0.0",
|
|
29
|
-
version: "22.
|
|
29
|
+
version: "22.3.0",
|
|
30
30
|
ngImport: i0,
|
|
31
31
|
type: CmatPlatformService,
|
|
32
32
|
providedIn: "root"
|
|
@@ -35,7 +35,7 @@ var CmatPlatformService = class CmatPlatformService {
|
|
|
35
35
|
};
|
|
36
36
|
i0.ɵɵngDeclareClassMetadata({
|
|
37
37
|
minVersion: "12.0.0",
|
|
38
|
-
version: "22.
|
|
38
|
+
version: "22.3.0",
|
|
39
39
|
ngImport: i0,
|
|
40
40
|
type: CmatPlatformService,
|
|
41
41
|
decorators: [{
|
|
@@ -960,7 +960,7 @@ var CmatPrintService = class CmatPrintService {
|
|
|
960
960
|
static {
|
|
961
961
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
962
962
|
minVersion: "12.0.0",
|
|
963
|
-
version: "22.
|
|
963
|
+
version: "22.3.0",
|
|
964
964
|
ngImport: i0,
|
|
965
965
|
type: CmatPrintService,
|
|
966
966
|
deps: [],
|
|
@@ -970,7 +970,7 @@ var CmatPrintService = class CmatPrintService {
|
|
|
970
970
|
static {
|
|
971
971
|
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
972
972
|
minVersion: "12.0.0",
|
|
973
|
-
version: "22.
|
|
973
|
+
version: "22.3.0",
|
|
974
974
|
ngImport: i0,
|
|
975
975
|
type: CmatPrintService,
|
|
976
976
|
providedIn: "root"
|
|
@@ -979,7 +979,7 @@ var CmatPrintService = class CmatPrintService {
|
|
|
979
979
|
};
|
|
980
980
|
i0.ɵɵngDeclareClassMetadata({
|
|
981
981
|
minVersion: "12.0.0",
|
|
982
|
-
version: "22.
|
|
982
|
+
version: "22.3.0",
|
|
983
983
|
ngImport: i0,
|
|
984
984
|
type: CmatPrintService,
|
|
985
985
|
decorators: [{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { DOCUMENT, DestroyRef, Injectable, inject } from "@angular/core";
|
|
3
|
-
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
4
3
|
import { NavigationEnd, Router } from "@angular/router";
|
|
4
|
+
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
5
5
|
import { filter, take } from "rxjs/operators";
|
|
6
6
|
var CmatSplashScreenService = class CmatSplashScreenService {
|
|
7
7
|
constructor() {
|
|
@@ -21,7 +21,7 @@ var CmatSplashScreenService = class CmatSplashScreenService {
|
|
|
21
21
|
static {
|
|
22
22
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
23
23
|
minVersion: "12.0.0",
|
|
24
|
-
version: "22.
|
|
24
|
+
version: "22.3.0",
|
|
25
25
|
ngImport: i0,
|
|
26
26
|
type: CmatSplashScreenService,
|
|
27
27
|
deps: [],
|
|
@@ -31,7 +31,7 @@ var CmatSplashScreenService = class CmatSplashScreenService {
|
|
|
31
31
|
static {
|
|
32
32
|
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
33
33
|
minVersion: "12.0.0",
|
|
34
|
-
version: "22.
|
|
34
|
+
version: "22.3.0",
|
|
35
35
|
ngImport: i0,
|
|
36
36
|
type: CmatSplashScreenService,
|
|
37
37
|
providedIn: "root"
|
|
@@ -40,7 +40,7 @@ var CmatSplashScreenService = class CmatSplashScreenService {
|
|
|
40
40
|
};
|
|
41
41
|
i0.ɵɵngDeclareClassMetadata({
|
|
42
42
|
minVersion: "12.0.0",
|
|
43
|
-
version: "22.
|
|
43
|
+
version: "22.3.0",
|
|
44
44
|
ngImport: i0,
|
|
45
45
|
type: CmatSplashScreenService,
|
|
46
46
|
decorators: [{
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { DestroyRef, Injectable, inject } from "@angular/core";
|
|
3
|
-
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
4
|
-
import { Title } from "@angular/platform-browser";
|
|
5
3
|
import { NavigationEnd, Router } from "@angular/router";
|
|
6
|
-
import {
|
|
4
|
+
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
7
5
|
import { filter, map, mergeMap } from "rxjs/operators";
|
|
6
|
+
import { CmatUtilsService } from "cmat/services/utils";
|
|
7
|
+
import { Title } from "@angular/platform-browser";
|
|
8
8
|
var CmatTitleService = class CmatTitleService {
|
|
9
9
|
constructor() {
|
|
10
10
|
this._destroyRef = inject(DestroyRef);
|
|
@@ -25,7 +25,7 @@ var CmatTitleService = class CmatTitleService {
|
|
|
25
25
|
static {
|
|
26
26
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
27
27
|
minVersion: "12.0.0",
|
|
28
|
-
version: "22.
|
|
28
|
+
version: "22.3.0",
|
|
29
29
|
ngImport: i0,
|
|
30
30
|
type: CmatTitleService,
|
|
31
31
|
deps: [],
|
|
@@ -35,7 +35,7 @@ var CmatTitleService = class CmatTitleService {
|
|
|
35
35
|
static {
|
|
36
36
|
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
37
37
|
minVersion: "12.0.0",
|
|
38
|
-
version: "22.
|
|
38
|
+
version: "22.3.0",
|
|
39
39
|
ngImport: i0,
|
|
40
40
|
type: CmatTitleService,
|
|
41
41
|
providedIn: "root"
|
|
@@ -44,7 +44,7 @@ var CmatTitleService = class CmatTitleService {
|
|
|
44
44
|
};
|
|
45
45
|
i0.ɵɵngDeclareClassMetadata({
|
|
46
46
|
minVersion: "12.0.0",
|
|
47
|
-
version: "22.
|
|
47
|
+
version: "22.3.0",
|
|
48
48
|
ngImport: i0,
|
|
49
49
|
type: CmatTitleService,
|
|
50
50
|
decorators: [{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { Injectable, inject, signal } from "@angular/core";
|
|
3
|
-
import { TranslateService } from "@ngx-translate/core";
|
|
4
3
|
import { firstValueFrom } from "rxjs";
|
|
4
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
5
5
|
var CmatTranslationService = class CmatTranslationService {
|
|
6
6
|
constructor() {
|
|
7
7
|
this._translate = inject(TranslateService);
|
|
@@ -47,7 +47,7 @@ var CmatTranslationService = class CmatTranslationService {
|
|
|
47
47
|
static {
|
|
48
48
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
49
49
|
minVersion: "12.0.0",
|
|
50
|
-
version: "22.
|
|
50
|
+
version: "22.3.0",
|
|
51
51
|
ngImport: i0,
|
|
52
52
|
type: CmatTranslationService,
|
|
53
53
|
deps: [],
|
|
@@ -57,7 +57,7 @@ var CmatTranslationService = class CmatTranslationService {
|
|
|
57
57
|
static {
|
|
58
58
|
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
59
59
|
minVersion: "12.0.0",
|
|
60
|
-
version: "22.
|
|
60
|
+
version: "22.3.0",
|
|
61
61
|
ngImport: i0,
|
|
62
62
|
type: CmatTranslationService,
|
|
63
63
|
providedIn: "root"
|
|
@@ -66,7 +66,7 @@ var CmatTranslationService = class CmatTranslationService {
|
|
|
66
66
|
};
|
|
67
67
|
i0.ɵɵngDeclareClassMetadata({
|
|
68
68
|
minVersion: "12.0.0",
|
|
69
|
-
version: "22.
|
|
69
|
+
version: "22.3.0",
|
|
70
70
|
ngImport: i0,
|
|
71
71
|
type: CmatTranslationService,
|
|
72
72
|
decorators: [{
|