@cqa-lib/cqa-ui 1.1.19 → 1.1.20
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/esm2020/lib/compare-runs/compare-runs.component.mjs +43 -14
- package/fesm2015/cqa-lib-cqa-ui.mjs +42 -13
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +42 -13
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/compare-runs/compare-runs.component.d.ts +4 -4
- package/package.json +1 -1
|
@@ -7244,7 +7244,7 @@ class CompareRunsComponent {
|
|
|
7244
7244
|
isShow: true,
|
|
7245
7245
|
weight: 1.5,
|
|
7246
7246
|
render: (row) => {
|
|
7247
|
-
if (row.runAStatus
|
|
7247
|
+
if (!row.runAStatus) {
|
|
7248
7248
|
return '<span class="cqa-text-xs cqa-text-[#9CA3AF]">—</span>';
|
|
7249
7249
|
}
|
|
7250
7250
|
return `
|
|
@@ -7261,7 +7261,7 @@ class CompareRunsComponent {
|
|
|
7261
7261
|
isShow: true,
|
|
7262
7262
|
weight: 1.5,
|
|
7263
7263
|
render: (row) => {
|
|
7264
|
-
if (row.runBStatus
|
|
7264
|
+
if (!row.runBStatus) {
|
|
7265
7265
|
return '<span class="cqa-text-xs cqa-text-[#636363]"> — </span>';
|
|
7266
7266
|
}
|
|
7267
7267
|
return `
|
|
@@ -7315,14 +7315,14 @@ class CompareRunsComponent {
|
|
|
7315
7315
|
}
|
|
7316
7316
|
renderStatusIcon(status) {
|
|
7317
7317
|
const upperStatus = status.toUpperCase();
|
|
7318
|
-
if (upperStatus === '
|
|
7318
|
+
if (upperStatus === 'SUCCESS') {
|
|
7319
7319
|
return `
|
|
7320
7320
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
7321
7321
|
<path d="M7.99998 14.6663C11.6819 14.6663 14.6666 11.6816 14.6666 7.99967C14.6666 4.31778 11.6819 1.33301 7.99998 1.33301C4.31808 1.33301 1.33331 4.31778 1.33331 7.99967C1.33331 11.6816 4.31808 14.6663 7.99998 14.6663Z" stroke="#00C950" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7322
7322
|
<path d="M6 8.00033L7.33333 9.33366L10 6.66699" stroke="#00C950" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7323
7323
|
</svg>`;
|
|
7324
7324
|
}
|
|
7325
|
-
else if (upperStatus === '
|
|
7325
|
+
else if (upperStatus === 'FAILURE') {
|
|
7326
7326
|
return `
|
|
7327
7327
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
7328
7328
|
<path d="M8.00004 14.6673C11.6819 14.6673 14.6667 11.6825 14.6667 8.00065C14.6667 4.31875 11.6819 1.33398 8.00004 1.33398C4.31814 1.33398 1.33337 4.31875 1.33337 8.00065C1.33337 11.6825 4.31814 14.6673 8.00004 14.6673Z" stroke="#FB2C36" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
@@ -7330,11 +7330,24 @@ class CompareRunsComponent {
|
|
|
7330
7330
|
<path d="M6 6L10 10" stroke="#FB2C36" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7331
7331
|
</svg>`;
|
|
7332
7332
|
}
|
|
7333
|
-
else if (upperStatus === 'NOT_EXECUTED') {
|
|
7333
|
+
else if (upperStatus === 'ABORTED' || upperStatus === 'STOPPED' || upperStatus === 'NOT_EXECUTED') {
|
|
7334
7334
|
return `
|
|
7335
7335
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
7336
7336
|
<path d="M8.00004 14.6673C11.6819 14.6673 14.6667 11.6825 14.6667 8.00065C14.6667 4.31875 11.6819 1.33398 8.00004 1.33398C4.31814 1.33398 1.33337 4.31875 1.33337 8.00065C1.33337 11.6825 4.31814 14.6673 8.00004 14.6673Z" stroke="#9CA3AF" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7337
7337
|
<path d="M6 8H10" stroke="#9CA3AF" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7338
|
+
</svg>`;
|
|
7339
|
+
}
|
|
7340
|
+
else if (upperStatus === 'QUEUED') {
|
|
7341
|
+
return `
|
|
7342
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none" class="cqa-animate-spin">
|
|
7343
|
+
<path d="M8 1.33331V3.99998" stroke="#3B82F6" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7344
|
+
<path d="M8 12V14.6666" stroke="#3B82F6" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7345
|
+
<path d="M1.33337 8H4.00004" stroke="#3B82F6" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7346
|
+
<path d="M12 8H14.6667" stroke="#3B82F6" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7347
|
+
<path d="M3.28662 3.28662L5.17329 5.17329" stroke="#3B82F6" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7348
|
+
<path d="M10.8267 10.8267L12.7133 12.7133" stroke="#3B82F6" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7349
|
+
<path d="M3.28662 12.7133L5.17329 10.8267" stroke="#3B82F6" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7350
|
+
<path d="M10.8267 5.17329L12.7133 3.28662" stroke="#3B82F6" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7338
7351
|
</svg>`;
|
|
7339
7352
|
}
|
|
7340
7353
|
else {
|
|
@@ -7388,7 +7401,9 @@ class CompareRunsComponent {
|
|
|
7388
7401
|
'SUCCESS': '#0B9D68',
|
|
7389
7402
|
'FAILURE': '#FB2C36',
|
|
7390
7403
|
'ABORTED': '#F59E0B',
|
|
7391
|
-
'
|
|
7404
|
+
'QUEUED': '#3B82F6',
|
|
7405
|
+
'NOT_EXECUTED': '#6B7280',
|
|
7406
|
+
'STOPPED': '#6B7280'
|
|
7392
7407
|
};
|
|
7393
7408
|
return colors[this.selectedRunA.result] || '#6B7280';
|
|
7394
7409
|
}
|
|
@@ -7399,7 +7414,9 @@ class CompareRunsComponent {
|
|
|
7399
7414
|
'SUCCESS': '#0B9D68',
|
|
7400
7415
|
'FAILURE': '#FB2C36',
|
|
7401
7416
|
'ABORTED': '#F59E0B',
|
|
7402
|
-
'
|
|
7417
|
+
'QUEUED': '#3B82F6',
|
|
7418
|
+
'NOT_EXECUTED': '#6B7280',
|
|
7419
|
+
'STOPPED': '#6B7280'
|
|
7403
7420
|
};
|
|
7404
7421
|
return colors[this.selectedRunB.result] || '#6B7280';
|
|
7405
7422
|
}
|
|
@@ -7410,7 +7427,9 @@ class CompareRunsComponent {
|
|
|
7410
7427
|
'SUCCESS': '#CFF2E5',
|
|
7411
7428
|
'FAILURE': '#FCD9D9',
|
|
7412
7429
|
'ABORTED': '#FEF3C7',
|
|
7413
|
-
'
|
|
7430
|
+
'QUEUED': '#DBEAFE',
|
|
7431
|
+
'NOT_EXECUTED': '#F3F4F6',
|
|
7432
|
+
'STOPPED': '#F3F4F6'
|
|
7414
7433
|
};
|
|
7415
7434
|
return colors[this.selectedRunA.result] || '#F3F4F6';
|
|
7416
7435
|
}
|
|
@@ -7421,7 +7440,9 @@ class CompareRunsComponent {
|
|
|
7421
7440
|
'SUCCESS': '#CFF2E5',
|
|
7422
7441
|
'FAILURE': '#FCD9D9',
|
|
7423
7442
|
'ABORTED': '#FEF3C7',
|
|
7424
|
-
'
|
|
7443
|
+
'QUEUED': '#DBEAFE',
|
|
7444
|
+
'NOT_EXECUTED': '#F3F4F6',
|
|
7445
|
+
'STOPPED': '#F3F4F6'
|
|
7425
7446
|
};
|
|
7426
7447
|
return colors[this.selectedRunB.result] || '#F3F4F6';
|
|
7427
7448
|
}
|
|
@@ -7432,7 +7453,9 @@ class CompareRunsComponent {
|
|
|
7432
7453
|
'SUCCESS': '#0DBD7D1A',
|
|
7433
7454
|
'FAILURE': '#EE3F3F1A',
|
|
7434
7455
|
'ABORTED': '#FEF3C7',
|
|
7435
|
-
'
|
|
7456
|
+
'QUEUED': '#DBEAFE',
|
|
7457
|
+
'NOT_EXECUTED': '#F3F4F6',
|
|
7458
|
+
'STOPPED': '#F3F4F6'
|
|
7436
7459
|
};
|
|
7437
7460
|
return colors[this.selectedRunA.result] || '#F3F4F6';
|
|
7438
7461
|
}
|
|
@@ -7443,7 +7466,9 @@ class CompareRunsComponent {
|
|
|
7443
7466
|
'SUCCESS': '#0DBD7D1A',
|
|
7444
7467
|
'FAILURE': '#EE3F3F1A',
|
|
7445
7468
|
'ABORTED': '#FEF3C7',
|
|
7446
|
-
'
|
|
7469
|
+
'QUEUED': '#DBEAFE',
|
|
7470
|
+
'NOT_EXECUTED': '#F3F4F6',
|
|
7471
|
+
'STOPPED': '#F3F4F6'
|
|
7447
7472
|
};
|
|
7448
7473
|
return colors[this.selectedRunB.result] || '#F3F4F6';
|
|
7449
7474
|
}
|
|
@@ -7469,7 +7494,9 @@ class CompareRunsComponent {
|
|
|
7469
7494
|
'SUCCESS': 'Passed',
|
|
7470
7495
|
'FAILURE': 'Failed',
|
|
7471
7496
|
'ABORTED': 'Aborted',
|
|
7472
|
-
'
|
|
7497
|
+
'QUEUED': 'Queued',
|
|
7498
|
+
'NOT_EXECUTED': 'Not Executed',
|
|
7499
|
+
'STOPPED': 'Stopped'
|
|
7473
7500
|
};
|
|
7474
7501
|
return labels[this.selectedRunA.result] || this.selectedRunA.result;
|
|
7475
7502
|
}
|
|
@@ -7480,7 +7507,9 @@ class CompareRunsComponent {
|
|
|
7480
7507
|
'SUCCESS': 'Passed',
|
|
7481
7508
|
'FAILURE': 'Failed',
|
|
7482
7509
|
'ABORTED': 'Aborted',
|
|
7483
|
-
'
|
|
7510
|
+
'QUEUED': 'Queued',
|
|
7511
|
+
'NOT_EXECUTED': 'Not Executed',
|
|
7512
|
+
'STOPPED': 'Stopped'
|
|
7484
7513
|
};
|
|
7485
7514
|
return labels[this.selectedRunB.result] || this.selectedRunB.result;
|
|
7486
7515
|
}
|