@datarailsshared/datarailsshared 1.4.175 → 1.4.176
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/assets/styles/colors.scss +5 -1
- package/bundles/datarailsshared-datarailsshared.umd.js +56 -0
- package/bundles/datarailsshared-datarailsshared.umd.js.map +1 -1
- package/datarailsshared-datarailsshared-1.4.176.tgz +0 -0
- package/datarailsshared-datarailsshared.d.ts +1 -0
- package/datarailsshared-datarailsshared.metadata.json +1 -1
- package/esm2015/datarailsshared-datarailsshared.js +2 -1
- package/esm2015/lib/dr-badge-status/dr-badge-status.component.js +25 -0
- package/esm2015/lib/dr-badge-status/dr-badge-status.module.js +20 -0
- package/esm2015/lib/models/badgeStatus.js +11 -0
- package/esm2015/public-api.js +3 -1
- package/fesm2015/datarailsshared-datarailsshared.js +51 -1
- package/fesm2015/datarailsshared-datarailsshared.js.map +1 -1
- package/lib/dr-badge-status/dr-badge-status.component.d.ts +10 -0
- package/lib/dr-badge-status/dr-badge-status.module.d.ts +2 -0
- package/lib/models/badgeStatus.d.ts +9 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/datarailsshared-datarailsshared-1.4.175.tgz +0 -0
|
@@ -26,7 +26,7 @@ $dr-color-gray: #9EA1AA;
|
|
|
26
26
|
$dr-color-gray-medium-light: #DFE0E3;
|
|
27
27
|
$dr-color-gray-light: #F0F1F4;
|
|
28
28
|
|
|
29
|
-
$dr-color-background-main-header: #
|
|
29
|
+
$dr-color-background-main-header: #0C142B;
|
|
30
30
|
$dr-color-background-main: #F6F7F8;
|
|
31
31
|
$dr-color-background-secondary: #FBFBFE;
|
|
32
32
|
$dr-color-background-white: #FFFFFF;
|
|
@@ -39,11 +39,15 @@ $dr-color-background-status-error: #F7D9DC;
|
|
|
39
39
|
$dr-color-background-status-info: #E6EFFF;
|
|
40
40
|
$dr-color-background-status-warning: #FFEDBF;
|
|
41
41
|
$dr-color-background-status-success: #DBF5E6;
|
|
42
|
+
$dr-color-background-status-progress: #F2F2FB;
|
|
43
|
+
$dr-color-background-status-regular: #F0F1F4;
|
|
42
44
|
|
|
43
45
|
$dr-color-status-error: #BF1D30;
|
|
44
46
|
$dr-color-status-info: #0B5AF9;
|
|
45
47
|
$dr-color-status-warning: #FFB800;
|
|
46
48
|
$dr-color-status-success: #03A678;
|
|
49
|
+
$dr-color-status-progress: #4646CE;
|
|
50
|
+
$dr-color-status-regular: #7E828E;
|
|
47
51
|
|
|
48
52
|
$dr-color-border-divider: #DFE0E3;
|
|
49
53
|
$dr-color-border-input: #9EA1AA;
|
|
@@ -4310,6 +4310,17 @@
|
|
|
4310
4310
|
return ChatMessage;
|
|
4311
4311
|
}());
|
|
4312
4312
|
|
|
4313
|
+
exports.BadgeStatus = void 0;
|
|
4314
|
+
(function (BadgeStatus) {
|
|
4315
|
+
BadgeStatus["INFO"] = "info";
|
|
4316
|
+
BadgeStatus["ERROR"] = "error";
|
|
4317
|
+
BadgeStatus["WARNING"] = "warning";
|
|
4318
|
+
BadgeStatus["SUCCESS"] = "success";
|
|
4319
|
+
BadgeStatus["REGULAR"] = "regular";
|
|
4320
|
+
BadgeStatus["PROGRESS"] = "progress";
|
|
4321
|
+
BadgeStatus["DOTTED"] = "dotted";
|
|
4322
|
+
})(exports.BadgeStatus || (exports.BadgeStatus = {}));
|
|
4323
|
+
|
|
4313
4324
|
var _a;
|
|
4314
4325
|
var allDateTags = (_a = {},
|
|
4315
4326
|
_a[TagsConfigSubType.YEAR] = {
|
|
@@ -7037,6 +7048,49 @@
|
|
|
7037
7048
|
},] }
|
|
7038
7049
|
];
|
|
7039
7050
|
|
|
7051
|
+
var DrBadgeStatusComponent = /** @class */ (function () {
|
|
7052
|
+
function DrBadgeStatusComponent() {
|
|
7053
|
+
this.theme = exports.BadgeStatus.REGULAR;
|
|
7054
|
+
}
|
|
7055
|
+
DrBadgeStatusComponent.prototype.ngOnInit = function () {
|
|
7056
|
+
};
|
|
7057
|
+
return DrBadgeStatusComponent;
|
|
7058
|
+
}());
|
|
7059
|
+
DrBadgeStatusComponent.decorators = [
|
|
7060
|
+
{ type: i0.Component, args: [{
|
|
7061
|
+
template: "<div class=\"badge-status\" [drTooltip]=\"tooltip\"\n [ngClass]=\"'badge-status--' + theme\">\n <i *ngIf=\"icon\" class=\"{{ icon }}\"></i>\n <span *ngIf=\"label\">{{ label }}</span>\n</div>\n",
|
|
7062
|
+
selector: 'dr-badge-status',
|
|
7063
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
7064
|
+
styles: [".badge-status{display:flex;align-items:center;font-family:\"Poppins\",sans-serif;font-style:normal;font-size:\"Poppins\",sans-serif;font-weight:12px;line-height:20px;font-weight:600;height:24px;padding:2px 8px 2px 4px;border-radius:4px;cursor:pointer}.badge-status i{font-size:20px;margin-right:4px}.badge-status--info{color:#0b5af9;background:#E6EFFF}.badge-status--error{color:#bf1d30;background:#F7D9DC}.badge-status--warning{color:#ffb800;background:#FFEDBF}.badge-status--success{color:#03a678;background:#DBF5E6}.badge-status--regular{color:#7e828e;background:#F0F1F4}.badge-status--progress{color:#4646ce;background:#F2F2FB}.badge-status--dotted{color:#7e828e;background:transparent}.badge-status--dotted i{display:none}\n"]
|
|
7065
|
+
},] }
|
|
7066
|
+
];
|
|
7067
|
+
DrBadgeStatusComponent.ctorParameters = function () { return []; };
|
|
7068
|
+
DrBadgeStatusComponent.propDecorators = {
|
|
7069
|
+
theme: [{ type: i0.Input }],
|
|
7070
|
+
icon: [{ type: i0.Input }],
|
|
7071
|
+
label: [{ type: i0.Input }],
|
|
7072
|
+
tooltip: [{ type: i0.Input }]
|
|
7073
|
+
};
|
|
7074
|
+
|
|
7075
|
+
var DrBadgeStatusModule = /** @class */ (function () {
|
|
7076
|
+
function DrBadgeStatusModule() {
|
|
7077
|
+
}
|
|
7078
|
+
return DrBadgeStatusModule;
|
|
7079
|
+
}());
|
|
7080
|
+
DrBadgeStatusModule.decorators = [
|
|
7081
|
+
{ type: i0.NgModule, args: [{
|
|
7082
|
+
imports: [
|
|
7083
|
+
common.CommonModule,
|
|
7084
|
+
DrTooltipModule
|
|
7085
|
+
],
|
|
7086
|
+
exports: [DrBadgeStatusComponent],
|
|
7087
|
+
providers: [],
|
|
7088
|
+
declarations: [
|
|
7089
|
+
DrBadgeStatusComponent
|
|
7090
|
+
],
|
|
7091
|
+
},] }
|
|
7092
|
+
];
|
|
7093
|
+
|
|
7040
7094
|
/* components */
|
|
7041
7095
|
|
|
7042
7096
|
/**
|
|
@@ -7059,6 +7113,7 @@
|
|
|
7059
7113
|
exports.DrAvatarComponent = DrAvatarComponent;
|
|
7060
7114
|
exports.DrAvatarModule = DrAvatarModule;
|
|
7061
7115
|
exports.DrAvatarPipe = DrAvatarPipe;
|
|
7116
|
+
exports.DrBadgeStatusModule = DrBadgeStatusModule;
|
|
7062
7117
|
exports.DrButtonComponent = DrButtonComponent;
|
|
7063
7118
|
exports.DrChatModule = DrChatModule;
|
|
7064
7119
|
exports.DrDetailsListComponent = DrDetailsListComponent;
|
|
@@ -7117,6 +7172,7 @@
|
|
|
7117
7172
|
exports["ɵba"] = DrChatCustomMessageDirective;
|
|
7118
7173
|
exports["ɵbb"] = DrScenarioConfigurationComponent;
|
|
7119
7174
|
exports["ɵbc"] = DrScenarioTagConfigurationComponent;
|
|
7175
|
+
exports["ɵbd"] = DrBadgeStatusComponent;
|
|
7120
7176
|
exports["ɵc"] = DrDatePickerComponent;
|
|
7121
7177
|
exports["ɵd"] = DrDatePickerService;
|
|
7122
7178
|
exports["ɵe"] = DrDatePickerWithTimeframeComponent;
|