@datarailsshared/datarailsshared 1.5.422 → 1.5.426

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.
@@ -25,6 +25,7 @@ $dr-color-yellow-super-light: #fff8ee;
25
25
 
26
26
  $dr-color-gray-dark: #4e566c;
27
27
  $dr-color-gray-medium-dark: #7e828e;
28
+ $dr-color-gray-darker: #373c4c;
28
29
  $dr-color-gray: #9ea1aa;
29
30
  $dr-color-gray-medium-light: #dfe0e3;
30
31
  $dr-color-gray-light: #f0f1f4;
@@ -2,18 +2,13 @@ import { ChangeDetectionStrategy, Component, HostBinding, Input } from '@angular
2
2
  import { DrAlertTheme } from './enums/dr-alert-theme.enum';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "@angular/common";
5
- function DrAlertComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
6
- i0.ɵɵelementContainerStart(0);
7
- i0.ɵɵelement(1, "i");
8
- i0.ɵɵelementStart(2, "span", 4);
9
- i0.ɵɵtext(3);
5
+ function DrAlertComponent_span_2_Template(rf, ctx) { if (rf & 1) {
6
+ i0.ɵɵelementStart(0, "span", 4);
7
+ i0.ɵɵtext(1);
10
8
  i0.ɵɵelementEnd();
11
- i0.ɵɵelementContainerEnd();
12
9
  } if (rf & 2) {
13
10
  const ctx_r0 = i0.ɵɵnextContext();
14
11
  i0.ɵɵadvance(1);
15
- i0.ɵɵclassMap("dr-alert__icon " + ctx_r0.themeIconClass);
16
- i0.ɵɵadvance(2);
17
12
  i0.ɵɵtextInterpolate(ctx_r0.text);
18
13
  } }
19
14
  const _c0 = ["*"];
@@ -37,22 +32,25 @@ export class DrAlertComponent {
37
32
  /** @nocollapse */ static { this.ɵfac = function DrAlertComponent_Factory(t) { return new (t || DrAlertComponent)(); }; }
38
33
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAlertComponent, selectors: [["dr-alert"]], hostVars: 2, hostBindings: function DrAlertComponent_HostBindings(rf, ctx) { if (rf & 2) {
39
34
  i0.ɵɵclassMap(ctx.elementClass);
40
- } }, inputs: { theme: "theme", customIconClass: "customIconClass", text: "text" }, ngContentSelectors: _c0, decls: 5, vars: 1, consts: [[1, "dr-alert__content-wrapper"], [4, "ngIf"], [1, "dr-alert__custom-content"], ["contentRef", ""], [1, "dr-alert__text"]], template: function DrAlertComponent_Template(rf, ctx) { if (rf & 1) {
35
+ } }, inputs: { theme: "theme", customIconClass: "customIconClass", text: "text" }, ngContentSelectors: _c0, decls: 6, vars: 3, consts: [[1, "dr-alert__content-wrapper"], ["class", "dr-alert__text", 4, "ngIf"], [1, "dr-alert__custom-content"], ["contentRef", ""], [1, "dr-alert__text"]], template: function DrAlertComponent_Template(rf, ctx) { if (rf & 1) {
41
36
  i0.ɵɵprojectionDef();
42
37
  i0.ɵɵelementStart(0, "div", 0);
43
- i0.ɵɵtemplate(1, DrAlertComponent_ng_container_1_Template, 4, 3, "ng-container", 1);
44
- i0.ɵɵelementStart(2, "div", 2, 3);
45
- i0.ɵɵprojection(4);
38
+ i0.ɵɵelement(1, "i");
39
+ i0.ɵɵtemplate(2, DrAlertComponent_span_2_Template, 2, 1, "span", 1);
40
+ i0.ɵɵelementStart(3, "div", 2, 3);
41
+ i0.ɵɵprojection(5);
46
42
  i0.ɵɵelementEnd()();
47
43
  } if (rf & 2) {
48
- const _r1 = i0.ɵɵreference(3);
44
+ const _r1 = i0.ɵɵreference(4);
45
+ i0.ɵɵadvance(1);
46
+ i0.ɵɵclassMap("dr-alert__icon " + ctx.themeIconClass);
49
47
  i0.ɵɵadvance(1);
50
48
  i0.ɵɵproperty("ngIf", !_r1.innerHTML.trim());
51
49
  } }, dependencies: [i1.NgIf], styles: ["[_nghost-%COMP%]{font-family:Poppins,sans-serif;display:flex;padding:8px 16px;align-items:center;border-radius:8px;min-height:56px;color:#6d6e6f}.dr-alert--info[_nghost-%COMP%]{background:#e6efff}.dr-alert--bold-error[_nghost-%COMP%]{color:#fff;background:#bf1d30}.dr-alert--error[_nghost-%COMP%]{background:#f7d9dc}.dr-alert--warning[_nghost-%COMP%]{background:#ffefc7}.dr-alert--success[_nghost-%COMP%]{background:#dbf5e6}[_nghost-%COMP%] .dr-alert__content-wrapper[_ngcontent-%COMP%]{display:flex;font-size:12px}[_nghost-%COMP%] .dr-alert__text[_ngcontent-%COMP%], [_nghost-%COMP%] .dr-alert__icon[_ngcontent-%COMP%], [_nghost-%COMP%] .dr-alert__custom-content[_ngcontent-%COMP%]{line-height:20px}[_nghost-%COMP%] .dr-alert__text[_ngcontent-%COMP%], [_nghost-%COMP%] .dr-alert__custom-content[_ngcontent-%COMP%]{margin-left:8px;white-space:pre-line}"], changeDetection: 0 }); }
52
50
  }
53
51
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrAlertComponent, [{
54
52
  type: Component,
55
- args: [{ selector: 'dr-alert', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"dr-alert__content-wrapper\">\n <ng-container *ngIf=\"!contentRef.innerHTML.trim()\">\n <i [class]=\"'dr-alert__icon ' + themeIconClass\"></i>\n <span class=\"dr-alert__text\">{{ text }}</span>\n </ng-container>\n <div class=\"dr-alert__custom-content\" #contentRef>\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [":host{font-family:Poppins,sans-serif;display:flex;padding:8px 16px;align-items:center;border-radius:8px;min-height:56px;color:#6d6e6f}:host.dr-alert--info{background:#e6efff}:host.dr-alert--bold-error{color:#fff;background:#bf1d30}:host.dr-alert--error{background:#f7d9dc}:host.dr-alert--warning{background:#ffefc7}:host.dr-alert--success{background:#dbf5e6}:host .dr-alert__content-wrapper{display:flex;font-size:12px}:host .dr-alert__text,:host .dr-alert__icon,:host .dr-alert__custom-content{line-height:20px}:host .dr-alert__text,:host .dr-alert__custom-content{margin-left:8px;white-space:pre-line}\n"] }]
53
+ args: [{ selector: 'dr-alert', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"dr-alert__content-wrapper\">\n <i [class]=\"'dr-alert__icon ' + themeIconClass\"></i>\n <span *ngIf=\"!contentRef.innerHTML.trim()\" class=\"dr-alert__text\">{{ text }}</span>\n <div class=\"dr-alert__custom-content\" #contentRef>\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [":host{font-family:Poppins,sans-serif;display:flex;padding:8px 16px;align-items:center;border-radius:8px;min-height:56px;color:#6d6e6f}:host.dr-alert--info{background:#e6efff}:host.dr-alert--bold-error{color:#fff;background:#bf1d30}:host.dr-alert--error{background:#f7d9dc}:host.dr-alert--warning{background:#ffefc7}:host.dr-alert--success{background:#dbf5e6}:host .dr-alert__content-wrapper{display:flex;font-size:12px}:host .dr-alert__text,:host .dr-alert__icon,:host .dr-alert__custom-content{line-height:20px}:host .dr-alert__text,:host .dr-alert__custom-content{margin-left:8px;white-space:pre-line}\n"] }]
56
54
  }], null, { theme: [{
57
55
  type: Input
58
56
  }], customIconClass: [{
@@ -63,4 +61,4 @@ export class DrAlertComponent {
63
61
  type: HostBinding,
64
62
  args: ['class']
65
63
  }] }); })();
66
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHItYWxlcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZGF0YXJhaWxzc2hhcmVkL3NyYy9saWIvZHItYWxlcnQvZHItYWxlcnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZGF0YXJhaWxzc2hhcmVkL3NyYy9saWIvZHItYWxlcnQvZHItYWxlcnQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3ZGLE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udCB7XG4gICAgQElucHV0KCkgdGhlbWU6IERyQWxlcnRUaGVtZSA9IERyQWxlcnRUaGVtZS5JTkZPO1xuICAgIEBJbnB1dCgpIGN1c3RvbUljb25DbGFzczogc3RyaW5nO1xuICAgIEBJbnB1dCgpIHRleHQ6IHN0cmluZztcblxuICAgIEBIb3N0QmluZGluZygnY2xhc3MnKVxuICAgIGdldCBlbGVtZW50Q2xhc3MoKTogc3RyaW5nIHtcbiAgICAgICAgcmV0dXJuIGBkci1hbGVydCBkci1hbGVydC0tJHt0aGlzLnRoZW1lfWA7XG4gICAgfVxuXG4gICAgcHVibGljIGdldCB0aGVtZUljb25DbGFzcygpOiBzdHJpbmcge1xuICAgICAgICByZXR1cm4gdGhpcy5jdXN0b21JY29uQ2xhc3MgfHwgQUxFUlRfVEhFTUVfSUNPTlNbdGhpcy50aGVtZV07XG4gICAgfVxufVxuIiwiPGRpdiBjbGFzcz1cImRyLWFsZXJ0X19jb250ZW50LXdyYXBwZXJcIj5cbiAgICA8bmctY29udGFpbmVyICpuZ0lmPVwiIWNvbnRlbnRSZWYuaW5uZXJIVE1MLnRyaW0oKVwiPlxuICAgICAgICA8aSBbY2xhc3NdPVwiJ2RyLWFsZXJ0X19pY29uICcgKyB0aGVtZUljb25DbGFzc1wiPjwvaT5cbiAgICAgICAgPHNwYW4gY2xhc3M9XCJkci1hbGVydF9fdGV4dFwiPnt7IHRleHQgfX08L3NwYW4+XG4gICAgPC9uZy1jb250YWluZXI+XG4gICAgPGRpdiBjbGFzcz1cImRyLWFsZXJ0X19jdXN0b20tY29udGVudFwiICNjb250ZW50UmVmPlxuICAgICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
64
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHItYWxlcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4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cz1cImRyLWFsZXJ0X19jdXN0b20tY29udGVudFwiICNjb250ZW50UmVmPlxuICAgICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
@@ -6353,18 +6353,13 @@ var DrAlertTheme;
6353
6353
  DrAlertTheme["INFO"] = "info";
6354
6354
  })(DrAlertTheme || (DrAlertTheme = {}));
6355
6355
 
6356
- function DrAlertComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
6357
- i0.ɵɵelementContainerStart(0);
6358
- i0.ɵɵelement(1, "i");
6359
- i0.ɵɵelementStart(2, "span", 4);
6360
- i0.ɵɵtext(3);
6356
+ function DrAlertComponent_span_2_Template(rf, ctx) { if (rf & 1) {
6357
+ i0.ɵɵelementStart(0, "span", 4);
6358
+ i0.ɵɵtext(1);
6361
6359
  i0.ɵɵelementEnd();
6362
- i0.ɵɵelementContainerEnd();
6363
6360
  } if (rf & 2) {
6364
6361
  const ctx_r0 = i0.ɵɵnextContext();
6365
6362
  i0.ɵɵadvance(1);
6366
- i0.ɵɵclassMap("dr-alert__icon " + ctx_r0.themeIconClass);
6367
- i0.ɵɵadvance(2);
6368
6363
  i0.ɵɵtextInterpolate(ctx_r0.text);
6369
6364
  } }
6370
6365
  const _c0$j = ["*"];
@@ -6388,22 +6383,25 @@ class DrAlertComponent {
6388
6383
  /** @nocollapse */ static { this.ɵfac = function DrAlertComponent_Factory(t) { return new (t || DrAlertComponent)(); }; }
6389
6384
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAlertComponent, selectors: [["dr-alert"]], hostVars: 2, hostBindings: function DrAlertComponent_HostBindings(rf, ctx) { if (rf & 2) {
6390
6385
  i0.ɵɵclassMap(ctx.elementClass);
6391
- } }, inputs: { theme: "theme", customIconClass: "customIconClass", text: "text" }, ngContentSelectors: _c0$j, decls: 5, vars: 1, consts: [[1, "dr-alert__content-wrapper"], [4, "ngIf"], [1, "dr-alert__custom-content"], ["contentRef", ""], [1, "dr-alert__text"]], template: function DrAlertComponent_Template(rf, ctx) { if (rf & 1) {
6386
+ } }, inputs: { theme: "theme", customIconClass: "customIconClass", text: "text" }, ngContentSelectors: _c0$j, decls: 6, vars: 3, consts: [[1, "dr-alert__content-wrapper"], ["class", "dr-alert__text", 4, "ngIf"], [1, "dr-alert__custom-content"], ["contentRef", ""], [1, "dr-alert__text"]], template: function DrAlertComponent_Template(rf, ctx) { if (rf & 1) {
6392
6387
  i0.ɵɵprojectionDef();
6393
6388
  i0.ɵɵelementStart(0, "div", 0);
6394
- i0.ɵɵtemplate(1, DrAlertComponent_ng_container_1_Template, 4, 3, "ng-container", 1);
6395
- i0.ɵɵelementStart(2, "div", 2, 3);
6396
- i0.ɵɵprojection(4);
6389
+ i0.ɵɵelement(1, "i");
6390
+ i0.ɵɵtemplate(2, DrAlertComponent_span_2_Template, 2, 1, "span", 1);
6391
+ i0.ɵɵelementStart(3, "div", 2, 3);
6392
+ i0.ɵɵprojection(5);
6397
6393
  i0.ɵɵelementEnd()();
6398
6394
  } if (rf & 2) {
6399
- const _r1 = i0.ɵɵreference(3);
6395
+ const _r1 = i0.ɵɵreference(4);
6396
+ i0.ɵɵadvance(1);
6397
+ i0.ɵɵclassMap("dr-alert__icon " + ctx.themeIconClass);
6400
6398
  i0.ɵɵadvance(1);
6401
6399
  i0.ɵɵproperty("ngIf", !_r1.innerHTML.trim());
6402
6400
  } }, dependencies: [i1.NgIf], styles: ["[_nghost-%COMP%]{font-family:Poppins,sans-serif;display:flex;padding:8px 16px;align-items:center;border-radius:8px;min-height:56px;color:#6d6e6f}.dr-alert--info[_nghost-%COMP%]{background:#e6efff}.dr-alert--bold-error[_nghost-%COMP%]{color:#fff;background:#bf1d30}.dr-alert--error[_nghost-%COMP%]{background:#f7d9dc}.dr-alert--warning[_nghost-%COMP%]{background:#ffefc7}.dr-alert--success[_nghost-%COMP%]{background:#dbf5e6}[_nghost-%COMP%] .dr-alert__content-wrapper[_ngcontent-%COMP%]{display:flex;font-size:12px}[_nghost-%COMP%] .dr-alert__text[_ngcontent-%COMP%], [_nghost-%COMP%] .dr-alert__icon[_ngcontent-%COMP%], [_nghost-%COMP%] .dr-alert__custom-content[_ngcontent-%COMP%]{line-height:20px}[_nghost-%COMP%] .dr-alert__text[_ngcontent-%COMP%], [_nghost-%COMP%] .dr-alert__custom-content[_ngcontent-%COMP%]{margin-left:8px;white-space:pre-line}"], changeDetection: 0 }); }
6403
6401
  }
6404
6402
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrAlertComponent, [{
6405
6403
  type: Component,
6406
- args: [{ selector: 'dr-alert', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"dr-alert__content-wrapper\">\n <ng-container *ngIf=\"!contentRef.innerHTML.trim()\">\n <i [class]=\"'dr-alert__icon ' + themeIconClass\"></i>\n <span class=\"dr-alert__text\">{{ text }}</span>\n </ng-container>\n <div class=\"dr-alert__custom-content\" #contentRef>\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [":host{font-family:Poppins,sans-serif;display:flex;padding:8px 16px;align-items:center;border-radius:8px;min-height:56px;color:#6d6e6f}:host.dr-alert--info{background:#e6efff}:host.dr-alert--bold-error{color:#fff;background:#bf1d30}:host.dr-alert--error{background:#f7d9dc}:host.dr-alert--warning{background:#ffefc7}:host.dr-alert--success{background:#dbf5e6}:host .dr-alert__content-wrapper{display:flex;font-size:12px}:host .dr-alert__text,:host .dr-alert__icon,:host .dr-alert__custom-content{line-height:20px}:host .dr-alert__text,:host .dr-alert__custom-content{margin-left:8px;white-space:pre-line}\n"] }]
6404
+ args: [{ selector: 'dr-alert', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"dr-alert__content-wrapper\">\n <i [class]=\"'dr-alert__icon ' + themeIconClass\"></i>\n <span *ngIf=\"!contentRef.innerHTML.trim()\" class=\"dr-alert__text\">{{ text }}</span>\n <div class=\"dr-alert__custom-content\" #contentRef>\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [":host{font-family:Poppins,sans-serif;display:flex;padding:8px 16px;align-items:center;border-radius:8px;min-height:56px;color:#6d6e6f}:host.dr-alert--info{background:#e6efff}:host.dr-alert--bold-error{color:#fff;background:#bf1d30}:host.dr-alert--error{background:#f7d9dc}:host.dr-alert--warning{background:#ffefc7}:host.dr-alert--success{background:#dbf5e6}:host .dr-alert__content-wrapper{display:flex;font-size:12px}:host .dr-alert__text,:host .dr-alert__icon,:host .dr-alert__custom-content{line-height:20px}:host .dr-alert__text,:host .dr-alert__custom-content{margin-left:8px;white-space:pre-line}\n"] }]
6407
6405
  }], null, { theme: [{
6408
6406
  type: Input
6409
6407
  }], customIconClass: [{