cat-qw-lib 1.0.58 → 1.0.60
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/fesm2022/cat-qw-lib.mjs
CHANGED
|
@@ -5895,22 +5895,6 @@ class QueueRecordTableBuilderService extends TableBuilder {
|
|
|
5895
5895
|
}
|
|
5896
5896
|
record[field] = cellValue;
|
|
5897
5897
|
});
|
|
5898
|
-
//---------------------will remove this code and index in params later----code start---------////////
|
|
5899
|
-
// Inject dummy tasks data for first 5 records only
|
|
5900
|
-
const dummyTasks = ['0/0', '5/0', '0/5', '1/6', '1/4', '1/13'];
|
|
5901
|
-
if (index < 5) {
|
|
5902
|
-
record.tasks = dummyTasks[index];
|
|
5903
|
-
}
|
|
5904
|
-
const dummytaskCompletionPercent = [100, 0, 100, 14.29, 20, 7.14];
|
|
5905
|
-
if (index < 5) {
|
|
5906
|
-
record.taskCompletionPercent = dummytaskCompletionPercent[index];
|
|
5907
|
-
}
|
|
5908
|
-
const dummyPeding = ['100 days', '10 days', '98 days', '53 days', '75 days', '14 days'];
|
|
5909
|
-
if (index < 5) {
|
|
5910
|
-
record.pending = dummyPeding[index];
|
|
5911
|
-
}
|
|
5912
|
-
//---------------------will remove this code and index in params later----code end---------////////
|
|
5913
|
-
// console.log("-------record", record);
|
|
5914
5898
|
// Attach row-level ngClass expression for dynamic row styling
|
|
5915
5899
|
const rowStyles$1 = rowStyles;
|
|
5916
5900
|
if (rowStyles$1 && rowStyles$1.ngClass) {
|