@abp/ng.theme.shared 5.0.1 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/abp-ng.theme.shared.d.ts +5 -5
- package/bundles/abp-ng.theme.shared-extensions.umd.js +1749 -1748
- package/bundles/abp-ng.theme.shared-extensions.umd.js.map +1 -1
- package/bundles/abp-ng.theme.shared-testing.umd.js +41 -41
- package/bundles/abp-ng.theme.shared-testing.umd.js.map +1 -1
- package/bundles/abp-ng.theme.shared.umd.js +2316 -2316
- package/bundles/abp-ng.theme.shared.umd.js.map +1 -1
- package/esm2015/abp-ng.theme.shared.js +4 -4
- package/esm2015/extensions/abp-ng.theme.shared-extensions.js +4 -4
- package/esm2015/extensions/lib/adapters/date-time.adapter.js +34 -34
- package/esm2015/extensions/lib/adapters/date.adapter.js +41 -41
- package/esm2015/extensions/lib/adapters/time.adapter.js +36 -36
- package/esm2015/extensions/lib/components/abstract-actions/abstract-actions.component.js +25 -25
- package/esm2015/extensions/lib/components/date-time-picker/date-time-picker.component.js +109 -109
- package/esm2015/extensions/lib/components/extensible-form/extensible-form-prop.component.js +164 -164
- package/esm2015/extensions/lib/components/extensible-form/extensible-form.component.js +70 -70
- package/esm2015/extensions/lib/components/extensible-table/extensible-table.component.js +134 -134
- package/esm2015/extensions/lib/components/grid-actions/grid-actions.component.js +45 -45
- package/esm2015/extensions/lib/components/page-toolbar/page-toolbar.component.js +46 -46
- package/esm2015/extensions/lib/constants/extra-properties.js +2 -2
- package/esm2015/extensions/lib/directives/disabled.directive.js +29 -29
- package/esm2015/extensions/lib/directives/prop-data.directive.js +41 -41
- package/esm2015/extensions/lib/enums/props.enum.js +2 -2
- package/esm2015/extensions/lib/models/actions.js +46 -46
- package/esm2015/extensions/lib/models/entity-actions.js +29 -29
- package/esm2015/extensions/lib/models/entity-props.js +36 -34
- package/esm2015/extensions/lib/models/form-props.js +52 -52
- package/esm2015/extensions/lib/models/internal/object-extensions.js +2 -2
- package/esm2015/extensions/lib/models/object-extensions.js +3 -3
- package/esm2015/extensions/lib/models/props.js +50 -50
- package/esm2015/extensions/lib/models/toolbar-actions.js +41 -41
- package/esm2015/extensions/lib/services/extensions.service.js +24 -24
- package/esm2015/extensions/lib/tokens/extensions.token.js +7 -7
- package/esm2015/extensions/lib/ui-extensions.module.js +92 -92
- package/esm2015/extensions/lib/utils/actions.util.js +9 -9
- package/esm2015/extensions/lib/utils/enum.util.js +42 -42
- package/esm2015/extensions/lib/utils/factory.util.js +4 -4
- package/esm2015/extensions/lib/utils/form-props.util.js +51 -51
- package/esm2015/extensions/lib/utils/localization.util.js +13 -13
- package/esm2015/extensions/lib/utils/props.util.js +14 -14
- package/esm2015/extensions/lib/utils/state.util.js +124 -124
- package/esm2015/extensions/lib/utils/typeahead.util.js +52 -52
- package/esm2015/extensions/lib/utils/validation.util.js +11 -11
- package/esm2015/extensions/public-api.js +28 -28
- package/esm2015/lib/animations/bounce.animations.js +17 -17
- package/esm2015/lib/animations/collapse.animations.js +50 -50
- package/esm2015/lib/animations/fade.animations.js +38 -38
- package/esm2015/lib/animations/index.js +7 -7
- package/esm2015/lib/animations/modal.animations.js +11 -11
- package/esm2015/lib/animations/slide.animations.js +8 -8
- package/esm2015/lib/animations/toast.animations.js +13 -13
- package/esm2015/lib/components/breadcrumb/breadcrumb.component.js +49 -49
- package/esm2015/lib/components/breadcrumb-items/breadcrumb-items.component.js +22 -22
- package/esm2015/lib/components/button/button.component.js +98 -98
- package/esm2015/lib/components/confirmation/confirmation.component.js +40 -40
- package/esm2015/lib/components/http-error-wrapper/http-error-wrapper.component.js +65 -65
- package/esm2015/lib/components/index.js +13 -13
- package/esm2015/lib/components/loader-bar/loader-bar.component.js +126 -126
- package/esm2015/lib/components/loading/loading.component.js +47 -47
- package/esm2015/lib/components/modal/modal-close.directive.js +28 -28
- package/esm2015/lib/components/modal/modal-ref.service.js +26 -26
- package/esm2015/lib/components/modal/modal.component.js +188 -188
- package/esm2015/lib/components/toast/toast.component.js +61 -61
- package/esm2015/lib/components/toast-container/toast-container.component.js +49 -49
- package/esm2015/lib/constants/styles.js +182 -182
- package/esm2015/lib/constants/validation.js +15 -15
- package/esm2015/lib/directives/ellipsis.directive.js +63 -63
- package/esm2015/lib/directives/index.js +5 -5
- package/esm2015/lib/directives/loading.directive.js +90 -90
- package/esm2015/lib/directives/ngx-datatable-default.directive.js +75 -75
- package/esm2015/lib/directives/ngx-datatable-list.directive.js +94 -94
- package/esm2015/lib/enums/index.js +2 -2
- package/esm2015/lib/enums/route-names.js +2 -2
- package/esm2015/lib/handlers/document-dir.handler.js +33 -33
- package/esm2015/lib/handlers/error.handler.js +292 -292
- package/esm2015/lib/handlers/index.js +3 -3
- package/esm2015/lib/models/common.js +2 -2
- package/esm2015/lib/models/confirmation.js +10 -10
- package/esm2015/lib/models/index.js +6 -6
- package/esm2015/lib/models/nav-item.js +7 -7
- package/esm2015/lib/models/statistics.js +2 -2
- package/esm2015/lib/models/toaster.js +2 -2
- package/esm2015/lib/providers/index.js +3 -3
- package/esm2015/lib/providers/ng-bootstrap-config.provider.js +17 -17
- package/esm2015/lib/providers/route.provider.js +18 -18
- package/esm2015/lib/services/confirmation.service.js +68 -68
- package/esm2015/lib/services/index.js +5 -5
- package/esm2015/lib/services/nav-items.service.js +51 -51
- package/esm2015/lib/services/page-alert.service.js +26 -26
- package/esm2015/lib/services/toaster.service.js +103 -103
- package/esm2015/lib/theme-shared.module.js +165 -165
- package/esm2015/lib/tokens/append-content.token.js +11 -11
- package/esm2015/lib/tokens/http-error.token.js +10 -10
- package/esm2015/lib/tokens/index.js +5 -5
- package/esm2015/lib/tokens/ngx-datatable-messages.token.js +8 -8
- package/esm2015/lib/tokens/suppress-unsaved-changes-warning.token.js +3 -3
- package/esm2015/lib/utils/date-parser-formatter.js +59 -59
- package/esm2015/lib/utils/index.js +3 -3
- package/esm2015/lib/utils/validation-utils.js +33 -33
- package/esm2015/public-api.js +16 -16
- package/esm2015/testing/abp-ng.theme.shared-testing.js +4 -4
- package/esm2015/testing/lib/models/config.js +2 -2
- package/esm2015/testing/lib/models/index.js +2 -2
- package/esm2015/testing/lib/theme-shared-testing.module.js +43 -43
- package/esm2015/testing/public-api.js +4 -4
- package/extensions/abp-ng.theme.shared-extensions.d.ts +5 -5
- package/extensions/lib/adapters/date-time.adapter.d.ts +11 -11
- package/extensions/lib/adapters/date.adapter.d.ts +9 -9
- package/extensions/lib/adapters/time.adapter.d.ts +8 -8
- package/extensions/lib/components/abstract-actions/abstract-actions.component.d.ts +14 -14
- package/extensions/lib/components/date-time-picker/date-time-picker.component.d.ts +16 -16
- package/extensions/lib/components/extensible-form/extensible-form-prop.component.d.ts +37 -37
- package/extensions/lib/components/extensible-form/extensible-form.component.d.ts +24 -24
- package/extensions/lib/components/extensible-table/extensible-table.component.d.ts +35 -35
- package/extensions/lib/components/grid-actions/grid-actions.component.d.ts +13 -13
- package/extensions/lib/components/page-toolbar/page-toolbar.component.d.ts +12 -12
- package/extensions/lib/constants/extra-properties.d.ts +1 -1
- package/extensions/lib/directives/disabled.directive.d.ts +11 -11
- package/extensions/lib/directives/prop-data.directive.d.ts +19 -19
- package/extensions/lib/enums/props.enum.d.ts +15 -15
- package/extensions/lib/models/actions.d.ts +35 -35
- package/extensions/lib/models/entity-actions.d.ts +22 -22
- package/extensions/lib/models/entity-props.d.ts +29 -29
- package/extensions/lib/models/form-props.d.ts +42 -42
- package/extensions/lib/models/internal/object-extensions.d.ts +85 -85
- package/extensions/lib/models/object-extensions.d.ts +2 -2
- package/extensions/lib/models/props.d.ts +39 -39
- package/extensions/lib/models/toolbar-actions.d.ts +29 -29
- package/extensions/lib/services/extensions.service.d.ts +14 -14
- package/extensions/lib/tokens/extensions.token.d.ts +14 -14
- package/extensions/lib/ui-extensions.module.d.ts +23 -23
- package/extensions/lib/utils/actions.util.d.ts +7 -7
- package/extensions/lib/utils/enum.util.d.ts +7 -7
- package/extensions/lib/utils/factory.util.d.ts +1 -1
- package/extensions/lib/utils/form-props.util.d.ts +3 -3
- package/extensions/lib/utils/localization.util.d.ts +3 -3
- package/extensions/lib/utils/props.util.d.ts +8 -8
- package/extensions/lib/utils/state.util.d.ts +5 -5
- package/extensions/lib/utils/typeahead.util.d.ts +11 -11
- package/extensions/lib/utils/validation.util.d.ts +3 -3
- package/extensions/public-api.d.ts +27 -27
- package/fesm2015/abp-ng.theme.shared-extensions.js +1263 -1262
- package/fesm2015/abp-ng.theme.shared-extensions.js.map +1 -1
- package/fesm2015/abp-ng.theme.shared-testing.js +37 -37
- package/fesm2015/abp-ng.theme.shared-testing.js.map +1 -1
- package/fesm2015/abp-ng.theme.shared.js +2117 -2117
- package/fesm2015/abp-ng.theme.shared.js.map +1 -1
- package/lib/animations/bounce.animations.d.ts +1 -1
- package/lib/animations/collapse.animations.d.ts +9 -9
- package/lib/animations/fade.animations.d.ts +10 -10
- package/lib/animations/index.d.ts +6 -6
- package/lib/animations/modal.animations.d.ts +2 -2
- package/lib/animations/slide.animations.d.ts +1 -1
- package/lib/animations/toast.animations.d.ts +1 -1
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +16 -16
- package/lib/components/breadcrumb-items/breadcrumb-items.component.d.ts +7 -7
- package/lib/components/button/button.component.d.ts +25 -25
- package/lib/components/confirmation/confirmation.component.d.ts +14 -14
- package/lib/components/http-error-wrapper/http-error-wrapper.component.d.ts +27 -27
- package/lib/components/index.d.ts +12 -12
- package/lib/components/loader-bar/loader-bar.component.d.ts +33 -33
- package/lib/components/loading/loading.component.d.ts +5 -5
- package/lib/components/modal/modal-close.directive.d.ts +9 -9
- package/lib/components/modal/modal-ref.service.d.ts +13 -13
- package/lib/components/modal/modal.component.d.ts +50 -50
- package/lib/components/toast/toast.component.d.ts +14 -14
- package/lib/components/toast-container/toast-container.component.d.ts +18 -18
- package/lib/constants/styles.d.ts +2 -2
- package/lib/constants/validation.d.ts +14 -14
- package/lib/directives/ellipsis.directive.d.ts +21 -21
- package/lib/directives/index.d.ts +4 -4
- package/lib/directives/loading.directive.d.ts +25 -25
- package/lib/directives/ngx-datatable-default.directive.d.ts +30 -30
- package/lib/directives/ngx-datatable-list.directive.d.ts +24 -24
- package/lib/enums/index.d.ts +1 -1
- package/lib/enums/route-names.d.ts +3 -3
- package/lib/handlers/document-dir.handler.d.ts +13 -13
- package/lib/handlers/error.handler.d.ts +82 -82
- package/lib/handlers/index.d.ts +2 -2
- package/lib/models/common.d.ts +19 -19
- package/lib/models/confirmation.d.ts +25 -25
- package/lib/models/index.d.ts +5 -5
- package/lib/models/nav-item.d.ts +11 -11
- package/lib/models/statistics.d.ts +12 -12
- package/lib/models/toaster.d.ts +30 -30
- package/lib/providers/index.d.ts +2 -2
- package/lib/providers/ng-bootstrap-config.provider.d.ts +8 -8
- package/lib/providers/route.provider.d.ts +8 -8
- package/lib/services/confirmation.service.d.ts +21 -21
- package/lib/services/index.d.ts +4 -4
- package/lib/services/nav-items.service.d.ts +13 -13
- package/lib/services/page-alert.service.d.ts +18 -18
- package/lib/services/toaster.service.d.ts +60 -60
- package/lib/theme-shared.module.d.ts +33 -33
- package/lib/tokens/append-content.token.d.ts +2 -2
- package/lib/tokens/http-error.token.d.ts +5 -5
- package/lib/tokens/index.d.ts +4 -4
- package/lib/tokens/ngx-datatable-messages.token.d.ts +12 -12
- package/lib/tokens/suppress-unsaved-changes-warning.token.d.ts +2 -2
- package/lib/utils/date-parser-formatter.d.ts +12 -12
- package/lib/utils/index.d.ts +2 -2
- package/lib/utils/validation-utils.d.ts +3 -3
- package/package.json +2 -2
- package/public-api.d.ts +12 -12
- package/testing/abp-ng.theme.shared-testing.d.ts +5 -5
- package/testing/lib/models/config.d.ts +4 -4
- package/testing/lib/models/index.d.ts +1 -1
- package/testing/lib/theme-shared-testing.module.d.ts +14 -14
- package/testing/public-api.d.ts +3 -3
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
import { Component, ElementRef, EventEmitter, Input, Output, Renderer2, ViewChild, } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "@abp/ng.core";
|
|
5
|
-
export class ButtonComponent {
|
|
6
|
-
constructor(renderer) {
|
|
7
|
-
this.renderer = renderer;
|
|
8
|
-
this.buttonId = '';
|
|
9
|
-
this.buttonClass = 'btn btn-primary';
|
|
10
|
-
this.buttonType = 'button';
|
|
11
|
-
this.loading = false;
|
|
12
|
-
this.disabled = false;
|
|
13
|
-
this.click = new EventEmitter();
|
|
14
|
-
this.focus = new EventEmitter();
|
|
15
|
-
this.blur = new EventEmitter();
|
|
16
|
-
this.abpClick = new EventEmitter();
|
|
17
|
-
this.abpFocus = new EventEmitter();
|
|
18
|
-
this.abpBlur = new EventEmitter();
|
|
19
|
-
}
|
|
20
|
-
get icon() {
|
|
21
|
-
return `${this.loading ? 'fa fa-spinner fa-spin' : this.iconClass || 'd-none'}`;
|
|
22
|
-
}
|
|
23
|
-
ngOnInit() {
|
|
24
|
-
if (this.attributes) {
|
|
25
|
-
Object.keys(this.attributes).forEach(key => {
|
|
26
|
-
var _a;
|
|
27
|
-
if ((_a = this.attributes) === null || _a === void 0 ? void 0 : _a[key]) {
|
|
28
|
-
this.renderer.setAttribute(this.buttonRef.nativeElement, key, this.attributes[key]);
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
ButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ButtonComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
-
ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ButtonComponent, selector: "abp-button", inputs: { buttonId: "buttonId", buttonClass: "buttonClass", buttonType: "buttonType", iconClass: "iconClass", loading: "loading", disabled: "disabled", attributes: "attributes" }, outputs: { click: "click", focus: "focus", blur: "blur", abpClick: "abpClick", abpFocus: "abpFocus", abpBlur: "abpBlur" }, viewQueries: [{ propertyName: "buttonRef", first: true, predicate: ["button"], descendants: true, static: true }], ngImport: i0, template: `
|
|
36
|
-
<button
|
|
37
|
-
#button
|
|
38
|
-
[id]="buttonId"
|
|
39
|
-
[attr.type]="buttonType"
|
|
40
|
-
[ngClass]="buttonClass"
|
|
41
|
-
[disabled]="loading || disabled"
|
|
42
|
-
(click.stop)="click.next($event); abpClick.next($event)"
|
|
43
|
-
(focus)="focus.next($event); abpFocus.next($event)"
|
|
44
|
-
(blur)="blur.next($event); abpBlur.next($event)"
|
|
45
|
-
>
|
|
46
|
-
<i [ngClass]="icon" class="me-1"></i><ng-content></ng-content>
|
|
47
|
-
</button>
|
|
48
|
-
`, isInline: true, directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.StopPropagationDirective, selector: "[click.stop]", outputs: ["click.stop"] }] });
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
50
|
-
type: Component,
|
|
51
|
-
args: [{
|
|
52
|
-
selector: 'abp-button',
|
|
53
|
-
template: `
|
|
54
|
-
<button
|
|
55
|
-
#button
|
|
56
|
-
[id]="buttonId"
|
|
57
|
-
[attr.type]="buttonType"
|
|
58
|
-
[ngClass]="buttonClass"
|
|
59
|
-
[disabled]="loading || disabled"
|
|
60
|
-
(click.stop)="click.next($event); abpClick.next($event)"
|
|
61
|
-
(focus)="focus.next($event); abpFocus.next($event)"
|
|
62
|
-
(blur)="blur.next($event); abpBlur.next($event)"
|
|
63
|
-
>
|
|
64
|
-
<i [ngClass]="icon" class="me-1"></i><ng-content></ng-content>
|
|
65
|
-
</button>
|
|
66
|
-
`,
|
|
67
|
-
}]
|
|
68
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { buttonId: [{
|
|
69
|
-
type: Input
|
|
70
|
-
}], buttonClass: [{
|
|
71
|
-
type: Input
|
|
72
|
-
}], buttonType: [{
|
|
73
|
-
type: Input
|
|
74
|
-
}], iconClass: [{
|
|
75
|
-
type: Input
|
|
76
|
-
}], loading: [{
|
|
77
|
-
type: Input
|
|
78
|
-
}], disabled: [{
|
|
79
|
-
type: Input
|
|
80
|
-
}], attributes: [{
|
|
81
|
-
type: Input
|
|
82
|
-
}], click: [{
|
|
83
|
-
type: Output
|
|
84
|
-
}], focus: [{
|
|
85
|
-
type: Output
|
|
86
|
-
}], blur: [{
|
|
87
|
-
type: Output
|
|
88
|
-
}], abpClick: [{
|
|
89
|
-
type: Output
|
|
90
|
-
}], abpFocus: [{
|
|
91
|
-
type: Output
|
|
92
|
-
}], abpBlur: [{
|
|
93
|
-
type: Output
|
|
94
|
-
}], buttonRef: [{
|
|
95
|
-
type: ViewChild,
|
|
96
|
-
args: ['button', { static: true }]
|
|
97
|
-
}] } });
|
|
98
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, ElementRef, EventEmitter, Input, Output, Renderer2, ViewChild, } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "@abp/ng.core";
|
|
5
|
+
export class ButtonComponent {
|
|
6
|
+
constructor(renderer) {
|
|
7
|
+
this.renderer = renderer;
|
|
8
|
+
this.buttonId = '';
|
|
9
|
+
this.buttonClass = 'btn btn-primary';
|
|
10
|
+
this.buttonType = 'button';
|
|
11
|
+
this.loading = false;
|
|
12
|
+
this.disabled = false;
|
|
13
|
+
this.click = new EventEmitter();
|
|
14
|
+
this.focus = new EventEmitter();
|
|
15
|
+
this.blur = new EventEmitter();
|
|
16
|
+
this.abpClick = new EventEmitter();
|
|
17
|
+
this.abpFocus = new EventEmitter();
|
|
18
|
+
this.abpBlur = new EventEmitter();
|
|
19
|
+
}
|
|
20
|
+
get icon() {
|
|
21
|
+
return `${this.loading ? 'fa fa-spinner fa-spin' : this.iconClass || 'd-none'}`;
|
|
22
|
+
}
|
|
23
|
+
ngOnInit() {
|
|
24
|
+
if (this.attributes) {
|
|
25
|
+
Object.keys(this.attributes).forEach(key => {
|
|
26
|
+
var _a;
|
|
27
|
+
if ((_a = this.attributes) === null || _a === void 0 ? void 0 : _a[key]) {
|
|
28
|
+
this.renderer.setAttribute(this.buttonRef.nativeElement, key, this.attributes[key]);
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
ButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ButtonComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
+
ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ButtonComponent, selector: "abp-button", inputs: { buttonId: "buttonId", buttonClass: "buttonClass", buttonType: "buttonType", iconClass: "iconClass", loading: "loading", disabled: "disabled", attributes: "attributes" }, outputs: { click: "click", focus: "focus", blur: "blur", abpClick: "abpClick", abpFocus: "abpFocus", abpBlur: "abpBlur" }, viewQueries: [{ propertyName: "buttonRef", first: true, predicate: ["button"], descendants: true, static: true }], ngImport: i0, template: `
|
|
36
|
+
<button
|
|
37
|
+
#button
|
|
38
|
+
[id]="buttonId"
|
|
39
|
+
[attr.type]="buttonType"
|
|
40
|
+
[ngClass]="buttonClass"
|
|
41
|
+
[disabled]="loading || disabled"
|
|
42
|
+
(click.stop)="click.next($event); abpClick.next($event)"
|
|
43
|
+
(focus)="focus.next($event); abpFocus.next($event)"
|
|
44
|
+
(blur)="blur.next($event); abpBlur.next($event)"
|
|
45
|
+
>
|
|
46
|
+
<i [ngClass]="icon" class="me-1"></i><ng-content></ng-content>
|
|
47
|
+
</button>
|
|
48
|
+
`, isInline: true, directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.StopPropagationDirective, selector: "[click.stop]", outputs: ["click.stop"] }] });
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
50
|
+
type: Component,
|
|
51
|
+
args: [{
|
|
52
|
+
selector: 'abp-button',
|
|
53
|
+
template: `
|
|
54
|
+
<button
|
|
55
|
+
#button
|
|
56
|
+
[id]="buttonId"
|
|
57
|
+
[attr.type]="buttonType"
|
|
58
|
+
[ngClass]="buttonClass"
|
|
59
|
+
[disabled]="loading || disabled"
|
|
60
|
+
(click.stop)="click.next($event); abpClick.next($event)"
|
|
61
|
+
(focus)="focus.next($event); abpFocus.next($event)"
|
|
62
|
+
(blur)="blur.next($event); abpBlur.next($event)"
|
|
63
|
+
>
|
|
64
|
+
<i [ngClass]="icon" class="me-1"></i><ng-content></ng-content>
|
|
65
|
+
</button>
|
|
66
|
+
`,
|
|
67
|
+
}]
|
|
68
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { buttonId: [{
|
|
69
|
+
type: Input
|
|
70
|
+
}], buttonClass: [{
|
|
71
|
+
type: Input
|
|
72
|
+
}], buttonType: [{
|
|
73
|
+
type: Input
|
|
74
|
+
}], iconClass: [{
|
|
75
|
+
type: Input
|
|
76
|
+
}], loading: [{
|
|
77
|
+
type: Input
|
|
78
|
+
}], disabled: [{
|
|
79
|
+
type: Input
|
|
80
|
+
}], attributes: [{
|
|
81
|
+
type: Input
|
|
82
|
+
}], click: [{
|
|
83
|
+
type: Output
|
|
84
|
+
}], focus: [{
|
|
85
|
+
type: Output
|
|
86
|
+
}], blur: [{
|
|
87
|
+
type: Output
|
|
88
|
+
}], abpClick: [{
|
|
89
|
+
type: Output
|
|
90
|
+
}], abpFocus: [{
|
|
91
|
+
type: Output
|
|
92
|
+
}], abpBlur: [{
|
|
93
|
+
type: Output
|
|
94
|
+
}], buttonRef: [{
|
|
95
|
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dXIgPSBuZXcgRXZlbnRFbWl0dGVyPEZvY3VzRXZlbnQ+KCk7XG5cbiAgQFZpZXdDaGlsZCgnYnV0dG9uJywgeyBzdGF0aWM6IHRydWUgfSlcbiAgYnV0dG9uUmVmITogRWxlbWVudFJlZjxIVE1MQnV0dG9uRWxlbWVudD47XG5cbiAgZ2V0IGljb24oKTogc3RyaW5nIHtcbiAgICByZXR1cm4gYCR7dGhpcy5sb2FkaW5nID8gJ2ZhIGZhLXNwaW5uZXIgZmEtc3BpbicgOiB0aGlzLmljb25DbGFzcyB8fCAnZC1ub25lJ31gO1xuICB9XG5cbiAgY29uc3RydWN0b3IocHJpdmF0ZSByZW5kZXJlcjogUmVuZGVyZXIyKSB7fVxuXG4gIG5nT25Jbml0KCkge1xuICAgIGlmICh0aGlzLmF0dHJpYnV0ZXMpIHtcbiAgICAgIE9iamVjdC5rZXlzKHRoaXMuYXR0cmlidXRlcykuZm9yRWFjaChrZXkgPT4ge1xuICAgICAgICBpZiAodGhpcy5hdHRyaWJ1dGVzPy5ba2V5XSkge1xuICAgICAgICAgIHRoaXMucmVuZGVyZXIuc2V0QXR0cmlidXRlKHRoaXMuYnV0dG9uUmVmLm5hdGl2ZUVsZW1lbnQsIGtleSwgdGhpcy5hdHRyaWJ1dGVzW2tleV0pO1xuICAgICAgICB9XG4gICAgICB9KTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { Confirmation } from '../../models/confirmation';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "@abp/ng.core";
|
|
6
|
-
export class ConfirmationComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.confirm = Confirmation.Status.confirm;
|
|
9
|
-
this.reject = Confirmation.Status.reject;
|
|
10
|
-
this.dismiss = Confirmation.Status.dismiss;
|
|
11
|
-
}
|
|
12
|
-
close(status) {
|
|
13
|
-
this.clear(status);
|
|
14
|
-
}
|
|
15
|
-
getIconClass({ severity }) {
|
|
16
|
-
switch (severity) {
|
|
17
|
-
case 'info':
|
|
18
|
-
return 'fa-info-circle';
|
|
19
|
-
case 'success':
|
|
20
|
-
return 'fa-check-circle';
|
|
21
|
-
case 'warning':
|
|
22
|
-
return 'fa-exclamation-triangle';
|
|
23
|
-
case 'error':
|
|
24
|
-
return 'fa-times-circle';
|
|
25
|
-
default:
|
|
26
|
-
return 'fa-question-circle';
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
ConfirmationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ConfirmationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
-
ConfirmationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ConfirmationComponent, selector: "abp-confirmation", ngImport: i0, template: "<div class=\"confirmation\" *ngIf=\"confirmation$ | async as data\">\
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ConfirmationComponent, decorators: [{
|
|
33
|
-
type: Component,
|
|
34
|
-
args: [{
|
|
35
|
-
selector: 'abp-confirmation',
|
|
36
|
-
templateUrl: './confirmation.component.html',
|
|
37
|
-
styleUrls: ['./confirmation.component.scss'],
|
|
38
|
-
}]
|
|
39
|
-
}] });
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { Confirmation } from '../../models/confirmation';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "@abp/ng.core";
|
|
6
|
+
export class ConfirmationComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.confirm = Confirmation.Status.confirm;
|
|
9
|
+
this.reject = Confirmation.Status.reject;
|
|
10
|
+
this.dismiss = Confirmation.Status.dismiss;
|
|
11
|
+
}
|
|
12
|
+
close(status) {
|
|
13
|
+
this.clear(status);
|
|
14
|
+
}
|
|
15
|
+
getIconClass({ severity }) {
|
|
16
|
+
switch (severity) {
|
|
17
|
+
case 'info':
|
|
18
|
+
return 'fa-info-circle';
|
|
19
|
+
case 'success':
|
|
20
|
+
return 'fa-check-circle';
|
|
21
|
+
case 'warning':
|
|
22
|
+
return 'fa-exclamation-triangle';
|
|
23
|
+
case 'error':
|
|
24
|
+
return 'fa-times-circle';
|
|
25
|
+
default:
|
|
26
|
+
return 'fa-question-circle';
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
ConfirmationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ConfirmationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
+
ConfirmationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ConfirmationComponent, selector: "abp-confirmation", ngImport: i0, template: "<div class=\"confirmation\" *ngIf=\"confirmation$ | async as data\">\n <div\n class=\"confirmation-backdrop\"\n (click)=\"data.options?.dismissible ? close(dismiss) : null\"\n ></div>\n <div class=\"confirmation-dialog\">\n <div class=\"icon-container\" [ngClass]=\"data.severity\" *ngIf=\"data.severity\">\n <i class=\"fa icon\" [ngClass]=\"getIconClass(data)\"></i>\n </div>\n <div class=\"content\">\n <h1\n class=\"title\"\n *ngIf=\"data.title\"\n [innerHTML]=\"data.title | abpLocalization: data.options?.titleLocalizationParams\"\n ></h1>\n <p\n class=\"message\"\n *ngIf=\"data.message\"\n [innerHTML]=\"data.message | abpLocalization: data.options?.messageLocalizationParams\"\n ></p>\n </div>\n <div class=\"footer\">\n <button\n id=\"cancel\"\n class=\"confirmation-button confirmation-button--reject\"\n [innerHTML]=\"data.options?.cancelText || 'AbpUi::Cancel' | abpLocalization\"\n *ngIf=\"!data?.options?.hideCancelBtn\"\n (click)=\"close(reject)\"\n ></button>\n <button\n id=\"confirm\"\n class=\"confirmation-button confirmation-button--approve\"\n [innerHTML]=\"data.options?.yesText || 'AbpUi::Yes' | abpLocalization\"\n *ngIf=\"!data?.options?.hideYesBtn\"\n (click)=\"close(confirm)\"\n ></button>\n </div>\n </div>\n</div>\n", styles: [".confirmation{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;z-index:1060}.confirmation .confirmation-backdrop{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:1061!important}.confirmation .confirmation-dialog{display:flex;flex-direction:column;margin:20px auto;padding:0;width:450px;min-height:300px;z-index:1062!important}@media screen and (max-width: 500px){.confirmation .confirmation-dialog{width:90vw}}.confirmation .confirmation-dialog .icon-container{display:flex;align-items:center;justify-content:center;margin:0 0 10px;padding:20px}.confirmation .confirmation-dialog .icon-container .icon{width:100px;height:100px;stroke-width:1;font-size:80px;text-align:center}.confirmation .confirmation-dialog .content{flex-grow:1;display:block}.confirmation .confirmation-dialog .content .title{display:block;margin:0;padding:0;font-size:27px;font-weight:600;text-align:center}.confirmation .confirmation-dialog .content .message{display:block;margin:10px auto;padding:20px;font-size:16px;font-weight:400;text-align:center}.confirmation .confirmation-dialog .footer{display:flex;align-items:center;justify-content:flex-end;margin:10px 0 0;padding:20px;width:100%}.confirmation .confirmation-dialog .footer .confirmation-button{display:inline-block;margin:0 5px;padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:600}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i1.AsyncPipe, "abpLocalization": i2.LocalizationPipe } });
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ConfirmationComponent, decorators: [{
|
|
33
|
+
type: Component,
|
|
34
|
+
args: [{
|
|
35
|
+
selector: 'abp-confirmation',
|
|
36
|
+
templateUrl: './confirmation.component.html',
|
|
37
|
+
styleUrls: ['./confirmation.component.scss'],
|
|
38
|
+
}]
|
|
39
|
+
}] });
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybWF0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3RoZW1lLXNoYXJlZC9zcmMvbGliL2NvbXBvbmVudHMvY29uZmlybWF0aW9uL2NvbmZpcm1hdGlvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy90aGVtZS1zaGFyZWQvc3JjL2xpYi9jb21wb25lbnRzL2NvbmZpcm1hdGlvbi9jb25maXJtYXRpb24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUxQyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sMkJBQTJCLENBQUM7Ozs7QUFPekQsTUFBTSxPQUFPLHFCQUFxQjtJQUxsQztRQU1FLFlBQU8sR0FBRyxZQUFZLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQztRQUN0QyxXQUFNLEdBQUcsWUFBWSxDQUFDLE1BQU0sQ0FBQyxNQUFNLENBQUM7UUFDcEMsWUFBTyxHQUFHLFlBQVksQ0FBQyxNQUFNLENBQUMsT0FBTyxDQUFDO0tBd0J2QztJQWxCQyxLQUFLLENBQUMsTUFBMkI7UUFDL0IsSUFBSSxDQUFDLEtBQUssQ0FBQyxNQUFNLENBQUMsQ0FBQztJQUNyQixDQUFDO0lBRUQsWUFBWSxDQUFDLEVBQUUsUUFBUSxFQUEyQjtR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hbGl6YXRpb25cIlxuICAgICAgICAqbmdJZj1cIiFkYXRhPy5vcHRpb25zPy5oaWRlQ2FuY2VsQnRuXCJcbiAgICAgICAgKGNsaWNrKT1cImNsb3NlKHJlamVjdClcIlxuICAgICAgPjwvYnV0dG9uPlxuICAgICAgPGJ1dHRvblxuICAgICAgICBpZD1cImNvbmZpcm1cIlxuICAgICAgICBjbGFzcz1cImNvbmZpcm1hdGlvbi1idXR0b24gY29uZmlybWF0aW9uLWJ1dHRvbi0tYXBwcm92ZVwiXG4gICAgICAgIFtpbm5lckhUTUxdPVwiZGF0YS5vcHRpb25zPy55ZXNUZXh0IHx8ICdBYnBVaTo6WWVzJyB8IGFicExvY2FsaXphdGlvblwiXG4gICAgICAgICpuZ0lmPVwiIWRhdGE/Lm9wdGlvbnM/LmhpZGVZZXNCdG5cIlxuICAgICAgICAoY2xpY2spPVwiY2xvc2UoY29uZmlybSlcIlxuICAgICAgPjwvYnV0dG9uPlxuICAgIDwvZGl2PlxuICA8L2Rpdj5cbjwvZGl2PlxuIl19
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import { SubscriptionService } from '@abp/ng.core';
|
|
2
|
-
import { Component, ElementRef, ViewChild, } from '@angular/core';
|
|
3
|
-
import { fromEvent } from 'rxjs';
|
|
4
|
-
import { debounceTime, filter } from 'rxjs/operators';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@abp/ng.core";
|
|
7
|
-
import * as i2 from "@angular/common";
|
|
8
|
-
import * as i3 from "@angular/router";
|
|
9
|
-
export class HttpErrorWrapperComponent {
|
|
10
|
-
constructor(subscription) {
|
|
11
|
-
this.subscription = subscription;
|
|
12
|
-
this.status = 0;
|
|
13
|
-
this.title = 'Oops!';
|
|
14
|
-
this.details = 'Sorry, an error has occured.';
|
|
15
|
-
this.customComponent = undefined;
|
|
16
|
-
this.hideCloseIcon = false;
|
|
17
|
-
this.isHomeShow = true;
|
|
18
|
-
}
|
|
19
|
-
get statusText() {
|
|
20
|
-
return this.status ? `[${this.status}]` : '';
|
|
21
|
-
}
|
|
22
|
-
ngOnInit() {
|
|
23
|
-
var _a;
|
|
24
|
-
this.backgroundColor =
|
|
25
|
-
((_a = window.getComputedStyle(document.body)) === null || _a === void 0 ? void 0 : _a.getPropertyValue('background-color')) || '#fff';
|
|
26
|
-
}
|
|
27
|
-
ngAfterViewInit() {
|
|
28
|
-
if (this.customComponent) {
|
|
29
|
-
const customComponentRef = this.cfRes
|
|
30
|
-
.resolveComponentFactory(this.customComponent)
|
|
31
|
-
.create(this.injector);
|
|
32
|
-
customComponentRef.instance.errorStatus = this.status;
|
|
33
|
-
customComponentRef.instance.destroy$ = this.destroy$;
|
|
34
|
-
this.appRef.attachView(customComponentRef.hostView);
|
|
35
|
-
if (this.containerRef) {
|
|
36
|
-
this.containerRef.nativeElement.appendChild(customComponentRef.hostView.rootNodes[0]);
|
|
37
|
-
}
|
|
38
|
-
customComponentRef.changeDetectorRef.detectChanges();
|
|
39
|
-
}
|
|
40
|
-
const keyup$ = fromEvent(document, 'keyup').pipe(debounceTime(150), filter((key) => key && key.key === 'Escape'));
|
|
41
|
-
this.subscription.addOne(keyup$, () => this.destroy());
|
|
42
|
-
}
|
|
43
|
-
ngOnDestroy() {
|
|
44
|
-
this.destroy();
|
|
45
|
-
}
|
|
46
|
-
destroy() {
|
|
47
|
-
this.destroy$.next();
|
|
48
|
-
this.destroy$.complete();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
HttpErrorWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: HttpErrorWrapperComponent, deps: [{ token: i1.SubscriptionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
52
|
-
HttpErrorWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: HttpErrorWrapperComponent, selector: "abp-http-error-wrapper", providers: [SubscriptionService], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], ngImport: i0, template: "<div\
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: HttpErrorWrapperComponent, decorators: [{
|
|
54
|
-
type: Component,
|
|
55
|
-
args: [{
|
|
56
|
-
selector: 'abp-http-error-wrapper',
|
|
57
|
-
templateUrl: './http-error-wrapper.component.html',
|
|
58
|
-
styleUrls: ['http-error-wrapper.component.scss'],
|
|
59
|
-
providers: [SubscriptionService],
|
|
60
|
-
}]
|
|
61
|
-
}], ctorParameters: function () { return [{ type: i1.SubscriptionService }]; }, propDecorators: { containerRef: [{
|
|
62
|
-
type: ViewChild,
|
|
63
|
-
args: ['container', { static: false }]
|
|
64
|
-
}] } });
|
|
65
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { SubscriptionService } from '@abp/ng.core';
|
|
2
|
+
import { Component, ElementRef, ViewChild, } from '@angular/core';
|
|
3
|
+
import { fromEvent } from 'rxjs';
|
|
4
|
+
import { debounceTime, filter } from 'rxjs/operators';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@abp/ng.core";
|
|
7
|
+
import * as i2 from "@angular/common";
|
|
8
|
+
import * as i3 from "@angular/router";
|
|
9
|
+
export class HttpErrorWrapperComponent {
|
|
10
|
+
constructor(subscription) {
|
|
11
|
+
this.subscription = subscription;
|
|
12
|
+
this.status = 0;
|
|
13
|
+
this.title = 'Oops!';
|
|
14
|
+
this.details = 'Sorry, an error has occured.';
|
|
15
|
+
this.customComponent = undefined;
|
|
16
|
+
this.hideCloseIcon = false;
|
|
17
|
+
this.isHomeShow = true;
|
|
18
|
+
}
|
|
19
|
+
get statusText() {
|
|
20
|
+
return this.status ? `[${this.status}]` : '';
|
|
21
|
+
}
|
|
22
|
+
ngOnInit() {
|
|
23
|
+
var _a;
|
|
24
|
+
this.backgroundColor =
|
|
25
|
+
((_a = window.getComputedStyle(document.body)) === null || _a === void 0 ? void 0 : _a.getPropertyValue('background-color')) || '#fff';
|
|
26
|
+
}
|
|
27
|
+
ngAfterViewInit() {
|
|
28
|
+
if (this.customComponent) {
|
|
29
|
+
const customComponentRef = this.cfRes
|
|
30
|
+
.resolveComponentFactory(this.customComponent)
|
|
31
|
+
.create(this.injector);
|
|
32
|
+
customComponentRef.instance.errorStatus = this.status;
|
|
33
|
+
customComponentRef.instance.destroy$ = this.destroy$;
|
|
34
|
+
this.appRef.attachView(customComponentRef.hostView);
|
|
35
|
+
if (this.containerRef) {
|
|
36
|
+
this.containerRef.nativeElement.appendChild(customComponentRef.hostView.rootNodes[0]);
|
|
37
|
+
}
|
|
38
|
+
customComponentRef.changeDetectorRef.detectChanges();
|
|
39
|
+
}
|
|
40
|
+
const keyup$ = fromEvent(document, 'keyup').pipe(debounceTime(150), filter((key) => key && key.key === 'Escape'));
|
|
41
|
+
this.subscription.addOne(keyup$, () => this.destroy());
|
|
42
|
+
}
|
|
43
|
+
ngOnDestroy() {
|
|
44
|
+
this.destroy();
|
|
45
|
+
}
|
|
46
|
+
destroy() {
|
|
47
|
+
this.destroy$.next();
|
|
48
|
+
this.destroy$.complete();
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
HttpErrorWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: HttpErrorWrapperComponent, deps: [{ token: i1.SubscriptionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
52
|
+
HttpErrorWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: HttpErrorWrapperComponent, selector: "abp-http-error-wrapper", providers: [SubscriptionService], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], ngImport: i0, template: "<div\n #container\n id=\"abp-http-error-container\"\n class=\"error\"\n [style.backgroundColor]=\"backgroundColor\"\n>\n <button\n *ngIf=\"!hideCloseIcon\"\n id=\"abp-close-button\"\n type=\"button\"\n class=\"btn-close me-2\"\n (click)=\"destroy()\"\n ></button>\n\n <div *ngIf=\"!customComponent\" class=\"row centered\">\n <div class=\"col-md-12\">\n <div class=\"error-template\">\n <h1>{{ statusText }} {{ title | abpLocalization }}</h1>\n <div class=\"error-details\">\n {{ details | abpLocalization }}\n </div>\n <div class=\"error-actions\">\n <a\n *ngIf=\"isHomeShow\"\n (click)=\"destroy()\"\n routerLink=\"/\"\n class=\"btn btn-primary btn-md mt-2\"\n ><span class=\"glyphicon glyphicon-home\"></span>\n {{ { key: '::Menu:Home', defaultValue: 'Home' } | abpLocalization }}\n </a>\n </div>\n </div>\n </div>\n </div>\n</div>\n", styles: [".error{position:fixed;top:0;width:100vw;height:100vh;z-index:999999}.centered{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}\n"], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }], pipes: { "abpLocalization": i1.LocalizationPipe } });
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: HttpErrorWrapperComponent, decorators: [{
|
|
54
|
+
type: Component,
|
|
55
|
+
args: [{
|
|
56
|
+
selector: 'abp-http-error-wrapper',
|
|
57
|
+
templateUrl: './http-error-wrapper.component.html',
|
|
58
|
+
styleUrls: ['http-error-wrapper.component.scss'],
|
|
59
|
+
providers: [SubscriptionService],
|
|
60
|
+
}]
|
|
61
|
+
}], ctorParameters: function () { return [{ type: i1.SubscriptionService }]; }, propDecorators: { containerRef: [{
|
|
62
|
+
type: ViewChild,
|
|
63
|
+
args: ['container', { static: false }]
|
|
64
|
+
}] } });
|
|
65
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJma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6YXRpb24gfX1cbiAgICAgICAgICA8L2E+XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export * from './breadcrumb-items/breadcrumb-items.component';
|
|
2
|
-
export * from './breadcrumb/breadcrumb.component';
|
|
3
|
-
export * from './button/button.component';
|
|
4
|
-
export * from './confirmation/confirmation.component';
|
|
5
|
-
export * from './http-error-wrapper/http-error-wrapper.component';
|
|
6
|
-
export * from './loader-bar/loader-bar.component';
|
|
7
|
-
export * from './loading/loading.component';
|
|
8
|
-
export * from './modal/modal-close.directive';
|
|
9
|
-
export * from './modal/modal-ref.service';
|
|
10
|
-
export * from './modal/modal.component';
|
|
11
|
-
export * from './toast-container/toast-container.component';
|
|
12
|
-
export * from './toast/toast.component';
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './breadcrumb-items/breadcrumb-items.component';
|
|
2
|
+
export * from './breadcrumb/breadcrumb.component';
|
|
3
|
+
export * from './button/button.component';
|
|
4
|
+
export * from './confirmation/confirmation.component';
|
|
5
|
+
export * from './http-error-wrapper/http-error-wrapper.component';
|
|
6
|
+
export * from './loader-bar/loader-bar.component';
|
|
7
|
+
export * from './loading/loading.component';
|
|
8
|
+
export * from './modal/modal-close.directive';
|
|
9
|
+
export * from './modal/modal-ref.service';
|
|
10
|
+
export * from './modal/modal.component';
|
|
11
|
+
export * from './toast-container/toast-container.component';
|
|
12
|
+
export * from './toast/toast.component';
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy90aGVtZS1zaGFyZWQvc3JjL2xpYi9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXS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