@datarailsshared/datarailsshared 1.6.312 → 1.6.316
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/datarailsshared-datarailsshared-1.6.316.tgz +0 -0
- package/esm2022/lib/dr-system-message/dr-system-message.component.mjs +7 -8
- package/fesm2022/datarailsshared-datarailsshared.mjs +6 -7
- package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -1
- package/package.json +1 -1
- package/datarailsshared-datarailsshared-1.6.312.tgz +0 -0
|
Binary file
|
|
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
import * as i1 from "@angular/common";
|
|
7
7
|
function DrSystemMessageComponent_dr_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
8
8
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
9
|
-
i0.ɵɵelementStart(0, "dr-button",
|
|
9
|
+
i0.ɵɵelementStart(0, "dr-button", 3);
|
|
10
10
|
i0.ɵɵlistener("click", function DrSystemMessageComponent_dr_button_1_Template_dr_button_click_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.action.emit()); });
|
|
11
11
|
i0.ɵɵtext(1);
|
|
12
12
|
i0.ɵɵelementEnd();
|
|
@@ -50,22 +50,21 @@ export class DrSystemMessageComponent {
|
|
|
50
50
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrSystemMessageComponent, selectors: [["dr-system-message"]], hostVars: 3, hostBindings: function DrSystemMessageComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
51
51
|
i0.ɵɵsyntheticHostProperty("@slideMessage", ctx.animation);
|
|
52
52
|
i0.ɵɵclassMap(ctx.elementClasses);
|
|
53
|
-
} }, inputs: { message: "message", theme: "theme", actionButtonText: "actionButtonText" }, outputs: { action: "action", close: "close" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls:
|
|
53
|
+
} }, inputs: { message: "message", theme: "theme", actionButtonText: "actionButtonText" }, outputs: { action: "action", close: "close" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 3, vars: 2, consts: [[3, "innerHTML"], ["data-analytics", "system_message_action_button-0", 3, "theme", "click", 4, "ngIf"], ["theme", "icon", "icon", "dr-icon-exit", "aria-label", "Close message", "data-analytics", "system_message_close_button-0", 3, "click"], ["data-analytics", "system_message_action_button-0", 3, "theme", "click"]], template: function DrSystemMessageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
54
54
|
i0.ɵɵelement(0, "p", 0);
|
|
55
55
|
i0.ɵɵtemplate(1, DrSystemMessageComponent_dr_button_1_Template, 2, 2, "dr-button", 1);
|
|
56
|
-
i0.ɵɵelementStart(2, "button", 2);
|
|
57
|
-
i0.ɵɵlistener("click", function
|
|
58
|
-
i0.ɵɵelement(3, "i", 3);
|
|
56
|
+
i0.ɵɵelementStart(2, "dr-button", 2);
|
|
57
|
+
i0.ɵɵlistener("click", function DrSystemMessageComponent_Template_dr_button_click_2_listener() { return ctx.close.emit(); });
|
|
59
58
|
i0.ɵɵelementEnd();
|
|
60
59
|
} if (rf & 2) {
|
|
61
60
|
i0.ɵɵproperty("innerHTML", ctx.message, i0.ɵɵsanitizeHtml);
|
|
62
61
|
i0.ɵɵadvance(1);
|
|
63
62
|
i0.ɵɵproperty("ngIf", ctx.actionButtonText.length);
|
|
64
|
-
} }, dependencies: [CommonModule, i1.NgIf, DrButtonComponent], styles: ["[_nghost-%COMP%]{display:flex;justify-content:space-between;align-items:center;overflow:hidden;border:1px solid #dfe0e3;padding:8px 16px 8px 24px}.error[_nghost-%COMP%]{background-color:#f7d9dc;color:#333}.warning[_nghost-%COMP%]{background-color:#ffefc7;color:#333}.info[_nghost-%COMP%]{background-color:#e6efff;color:#333}.prime[_nghost-%COMP%]{background-color:#4646ce;color:#fff;border:none}[_nghost-%COMP%] p[_ngcontent-%COMP%]{font-family:Poppins,sans-serif;font-style:normal;font-size:14px;font-weight:400;line-height:24px;margin:0
|
|
63
|
+
} }, dependencies: [CommonModule, i1.NgIf, DrButtonComponent], styles: ["[_nghost-%COMP%]{display:flex;justify-content:space-between;align-items:center;overflow:hidden;border:1px solid #dfe0e3;padding:8px 16px 8px 24px}.error[_nghost-%COMP%]{background-color:#f7d9dc;color:#333}.warning[_nghost-%COMP%]{background-color:#ffefc7;color:#333}.info[_nghost-%COMP%]{background-color:#e6efff;color:#333}.prime[_nghost-%COMP%]{background-color:#4646ce;color:#fff;border:none}[_nghost-%COMP%] p[_ngcontent-%COMP%]{font-family:Poppins,sans-serif;font-style:normal;font-size:14px;font-weight:400;line-height:24px;margin:0;line-height:16px;flex:1}[_nghost-%COMP%] p[_ngcontent-%COMP%] a{color:inherit}[_nghost-%COMP%]:not(.prime) p[_ngcontent-%COMP%]{font-size:12px}[_nghost-%COMP%]:not(.prime) dr-button.ghost button{padding:4px 8px}[_nghost-%COMP%] dr-button[_ngcontent-%COMP%]{margin-left:8px}[_nghost-%COMP%] dr-button[icon=dr-icon-exit][_ngcontent-%COMP%]{margin-left:16px}[_nghost-%COMP%] dr-button[icon=dr-icon-exit][_ngcontent-%COMP%] button, [_nghost-%COMP%] dr-button[icon=dr-icon-exit][_ngcontent-%COMP%] button:hover, [_nghost-%COMP%] dr-button[icon=dr-icon-exit][_ngcontent-%COMP%] button:focus, [_nghost-%COMP%] dr-button[icon=dr-icon-exit][_ngcontent-%COMP%] button:active{background:none;border:none;color:inherit}[_nghost-%COMP%] dr-button[icon=dr-icon-exit][_ngcontent-%COMP%] button i:before{font-size:32px}"], data: { animation: [slideMessageAnimation] }, changeDetection: 0 }); }
|
|
65
64
|
}
|
|
66
65
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrSystemMessageComponent, [{
|
|
67
66
|
type: Component,
|
|
68
|
-
args: [{ selector: 'dr-system-message', standalone: true, imports: [CommonModule, DrButtonComponent], changeDetection: ChangeDetectionStrategy.OnPush, animations: [slideMessageAnimation], template: "<p [innerHTML]=\"message\"></p>\n\n<dr-button\n *ngIf=\"actionButtonText.length\"\n
|
|
67
|
+
args: [{ selector: 'dr-system-message', standalone: true, imports: [CommonModule, DrButtonComponent], changeDetection: ChangeDetectionStrategy.OnPush, animations: [slideMessageAnimation], template: "<p [innerHTML]=\"message\"></p>\n\n<dr-button\n *ngIf=\"actionButtonText.length\"\n [theme]=\"buttonType\"\n data-analytics=\"system_message_action_button-0\"\n (click)=\"action.emit()\">\n {{ actionButtonText }}\n</dr-button>\n\n\n<dr-button \n theme=\"icon\"\n icon=\"dr-icon-exit\"\n aria-label=\"Close message\"\n data-analytics=\"system_message_close_button-0\"\n (click)=\"close.emit()\">\n</dr-button>\n\n", styles: [":host{display:flex;justify-content:space-between;align-items:center;overflow:hidden;border:1px solid #dfe0e3;padding:8px 16px 8px 24px}:host.error{background-color:#f7d9dc;color:#333}:host.warning{background-color:#ffefc7;color:#333}:host.info{background-color:#e6efff;color:#333}:host.prime{background-color:#4646ce;color:#fff;border:none}:host p{font-family:Poppins,sans-serif;font-style:normal;font-size:14px;font-weight:400;line-height:24px;margin:0;line-height:16px;flex:1}:host p ::ng-deep a{color:inherit}:host:not(.prime) p{font-size:12px}:host:not(.prime) ::ng-deep dr-button.ghost button{padding:4px 8px}:host dr-button{margin-left:8px}:host dr-button[icon=dr-icon-exit]{margin-left:16px}:host dr-button[icon=dr-icon-exit] ::ng-deep button,:host dr-button[icon=dr-icon-exit] ::ng-deep button:hover,:host dr-button[icon=dr-icon-exit] ::ng-deep button:focus,:host dr-button[icon=dr-icon-exit] ::ng-deep button:active{background:none;border:none;color:inherit}:host dr-button[icon=dr-icon-exit] ::ng-deep button i:before{font-size:32px}\n"] }]
|
|
69
68
|
}], null, { message: [{
|
|
70
69
|
type: Input
|
|
71
70
|
}], theme: [{
|
|
@@ -83,4 +82,4 @@ export class DrSystemMessageComponent {
|
|
|
83
82
|
type: HostBinding,
|
|
84
83
|
args: ['class']
|
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vbiA9IHRydWU7XG4gICAgQEhvc3RCaW5kaW5nKCdjbGFzcycpXG4gICAgZ2V0IGVsZW1lbnRDbGFzc2VzKCkge1xuICAgICAgICByZXR1cm4gdGhpcy50aGVtZTtcbiAgICB9XG5cbiAgICBwdWJsaWMgZ2V0IGJ1dHRvblR5cGUoKTogQnV0dG9uVHlwZSB7XG4gICAgICAgIHJldHVybiB0aGlzLnRoZW1lID09PSAncHJpbWUnID8gJ3NlY29uZGFyeS13aGl0ZScgOiAnZ2hvc3QnO1xuICAgIH1cbn1cbiIsIjxwIFtpbm5lckhUTUxdPVwibWVzc2FnZVwiPjwvcD5cblxuPGRyLWJ1dHRvblxuICAgICpuZ0lmPVwiYWN0aW9uQnV0dG9uVGV4dC5sZW5ndGhcIlxuICAgIFt0aGVtZV09XCJidXR0b25UeXBlXCJcbiAgICBkYXRhLWFuYWx5dGljcz1cInN5c3RlbV9tZXNzYWdlX2FjdGlvbl9idXR0b24tMFwiXG4gICAgKGNsaWNrKT1cImFjdGlvbi5lbWl0KClcIj5cbiAgICB7eyBhY3Rpb25CdXR0b25UZXh0IH19XG48L2RyLWJ1dHRvbj5cblxuXG48ZHItYnV0dG9uIFxuICAgIHRoZW1lPVwiaWNvblwiXG4gICAgaWNvbj1cImRyLWljb24tZXhpdFwiXG4gICAgYXJpYS1sYWJlbD1cIkNsb3NlIG1lc3NhZ2VcIlxuICAgIGRhdGEtYW5hbHl0aWNzPVwic3lzdGVtX21lc3NhZ2VfY2xvc2VfYnV0dG9uLTBcIlxuICAgIChjbGljayk9XCJjbG9zZS5lbWl0KClcIj5cbjwvZHItYnV0dG9uPlxuXG4iXX0=
|
|
@@ -15297,7 +15297,7 @@ class DrBadgeComponent {
|
|
|
15297
15297
|
|
|
15298
15298
|
function DrSystemMessageComponent_dr_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
15299
15299
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
15300
|
-
i0.ɵɵelementStart(0, "dr-button",
|
|
15300
|
+
i0.ɵɵelementStart(0, "dr-button", 3);
|
|
15301
15301
|
i0.ɵɵlistener("click", function DrSystemMessageComponent_dr_button_1_Template_dr_button_click_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.action.emit()); });
|
|
15302
15302
|
i0.ɵɵtext(1);
|
|
15303
15303
|
i0.ɵɵelementEnd();
|
|
@@ -15341,22 +15341,21 @@ class DrSystemMessageComponent {
|
|
|
15341
15341
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrSystemMessageComponent, selectors: [["dr-system-message"]], hostVars: 3, hostBindings: function DrSystemMessageComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
15342
15342
|
i0.ɵɵsyntheticHostProperty("@slideMessage", ctx.animation);
|
|
15343
15343
|
i0.ɵɵclassMap(ctx.elementClasses);
|
|
15344
|
-
} }, inputs: { message: "message", theme: "theme", actionButtonText: "actionButtonText" }, outputs: { action: "action", close: "close" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls:
|
|
15344
|
+
} }, inputs: { message: "message", theme: "theme", actionButtonText: "actionButtonText" }, outputs: { action: "action", close: "close" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 3, vars: 2, consts: [[3, "innerHTML"], ["data-analytics", "system_message_action_button-0", 3, "theme", "click", 4, "ngIf"], ["theme", "icon", "icon", "dr-icon-exit", "aria-label", "Close message", "data-analytics", "system_message_close_button-0", 3, "click"], ["data-analytics", "system_message_action_button-0", 3, "theme", "click"]], template: function DrSystemMessageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15345
15345
|
i0.ɵɵelement(0, "p", 0);
|
|
15346
15346
|
i0.ɵɵtemplate(1, DrSystemMessageComponent_dr_button_1_Template, 2, 2, "dr-button", 1);
|
|
15347
|
-
i0.ɵɵelementStart(2, "button", 2);
|
|
15348
|
-
i0.ɵɵlistener("click", function
|
|
15349
|
-
i0.ɵɵelement(3, "i", 3);
|
|
15347
|
+
i0.ɵɵelementStart(2, "dr-button", 2);
|
|
15348
|
+
i0.ɵɵlistener("click", function DrSystemMessageComponent_Template_dr_button_click_2_listener() { return ctx.close.emit(); });
|
|
15350
15349
|
i0.ɵɵelementEnd();
|
|
15351
15350
|
} if (rf & 2) {
|
|
15352
15351
|
i0.ɵɵproperty("innerHTML", ctx.message, i0.ɵɵsanitizeHtml);
|
|
15353
15352
|
i0.ɵɵadvance(1);
|
|
15354
15353
|
i0.ɵɵproperty("ngIf", ctx.actionButtonText.length);
|
|
15355
|
-
} }, dependencies: [CommonModule, i1$1.NgIf, DrButtonComponent], styles: ["[_nghost-%COMP%]{display:flex;justify-content:space-between;align-items:center;overflow:hidden;border:1px solid #dfe0e3;padding:8px 16px 8px 24px}.error[_nghost-%COMP%]{background-color:#f7d9dc;color:#333}.warning[_nghost-%COMP%]{background-color:#ffefc7;color:#333}.info[_nghost-%COMP%]{background-color:#e6efff;color:#333}.prime[_nghost-%COMP%]{background-color:#4646ce;color:#fff;border:none}[_nghost-%COMP%] p[_ngcontent-%COMP%]{font-family:Poppins,sans-serif;font-style:normal;font-size:14px;font-weight:400;line-height:24px;margin:0
|
|
15354
|
+
} }, dependencies: [CommonModule, i1$1.NgIf, DrButtonComponent], styles: ["[_nghost-%COMP%]{display:flex;justify-content:space-between;align-items:center;overflow:hidden;border:1px solid #dfe0e3;padding:8px 16px 8px 24px}.error[_nghost-%COMP%]{background-color:#f7d9dc;color:#333}.warning[_nghost-%COMP%]{background-color:#ffefc7;color:#333}.info[_nghost-%COMP%]{background-color:#e6efff;color:#333}.prime[_nghost-%COMP%]{background-color:#4646ce;color:#fff;border:none}[_nghost-%COMP%] p[_ngcontent-%COMP%]{font-family:Poppins,sans-serif;font-style:normal;font-size:14px;font-weight:400;line-height:24px;margin:0;line-height:16px;flex:1}[_nghost-%COMP%] p[_ngcontent-%COMP%] a{color:inherit}[_nghost-%COMP%]:not(.prime) p[_ngcontent-%COMP%]{font-size:12px}[_nghost-%COMP%]:not(.prime) dr-button.ghost button{padding:4px 8px}[_nghost-%COMP%] dr-button[_ngcontent-%COMP%]{margin-left:8px}[_nghost-%COMP%] dr-button[icon=dr-icon-exit][_ngcontent-%COMP%]{margin-left:16px}[_nghost-%COMP%] dr-button[icon=dr-icon-exit][_ngcontent-%COMP%] button, [_nghost-%COMP%] dr-button[icon=dr-icon-exit][_ngcontent-%COMP%] button:hover, [_nghost-%COMP%] dr-button[icon=dr-icon-exit][_ngcontent-%COMP%] button:focus, [_nghost-%COMP%] dr-button[icon=dr-icon-exit][_ngcontent-%COMP%] button:active{background:none;border:none;color:inherit}[_nghost-%COMP%] dr-button[icon=dr-icon-exit][_ngcontent-%COMP%] button i:before{font-size:32px}"], data: { animation: [slideMessageAnimation] }, changeDetection: 0 }); }
|
|
15356
15355
|
}
|
|
15357
15356
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrSystemMessageComponent, [{
|
|
15358
15357
|
type: Component,
|
|
15359
|
-
args: [{ selector: 'dr-system-message', standalone: true, imports: [CommonModule, DrButtonComponent], changeDetection: ChangeDetectionStrategy.OnPush, animations: [slideMessageAnimation], template: "<p [innerHTML]=\"message\"></p>\n\n<dr-button\n *ngIf=\"actionButtonText.length\"\n
|
|
15358
|
+
args: [{ selector: 'dr-system-message', standalone: true, imports: [CommonModule, DrButtonComponent], changeDetection: ChangeDetectionStrategy.OnPush, animations: [slideMessageAnimation], template: "<p [innerHTML]=\"message\"></p>\n\n<dr-button\n *ngIf=\"actionButtonText.length\"\n [theme]=\"buttonType\"\n data-analytics=\"system_message_action_button-0\"\n (click)=\"action.emit()\">\n {{ actionButtonText }}\n</dr-button>\n\n\n<dr-button \n theme=\"icon\"\n icon=\"dr-icon-exit\"\n aria-label=\"Close message\"\n data-analytics=\"system_message_close_button-0\"\n (click)=\"close.emit()\">\n</dr-button>\n\n", styles: [":host{display:flex;justify-content:space-between;align-items:center;overflow:hidden;border:1px solid #dfe0e3;padding:8px 16px 8px 24px}:host.error{background-color:#f7d9dc;color:#333}:host.warning{background-color:#ffefc7;color:#333}:host.info{background-color:#e6efff;color:#333}:host.prime{background-color:#4646ce;color:#fff;border:none}:host p{font-family:Poppins,sans-serif;font-style:normal;font-size:14px;font-weight:400;line-height:24px;margin:0;line-height:16px;flex:1}:host p ::ng-deep a{color:inherit}:host:not(.prime) p{font-size:12px}:host:not(.prime) ::ng-deep dr-button.ghost button{padding:4px 8px}:host dr-button{margin-left:8px}:host dr-button[icon=dr-icon-exit]{margin-left:16px}:host dr-button[icon=dr-icon-exit] ::ng-deep button,:host dr-button[icon=dr-icon-exit] ::ng-deep button:hover,:host dr-button[icon=dr-icon-exit] ::ng-deep button:focus,:host dr-button[icon=dr-icon-exit] ::ng-deep button:active{background:none;border:none;color:inherit}:host dr-button[icon=dr-icon-exit] ::ng-deep button i:before{font-size:32px}\n"] }]
|
|
15360
15359
|
}], null, { message: [{
|
|
15361
15360
|
type: Input
|
|
15362
15361
|
}], theme: [{
|