cat-qw-lib 1.0.42 → 1.0.44
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
|
@@ -5884,22 +5884,6 @@ class QueueRecordTableBuilderService extends TableBuilder {
|
|
|
5884
5884
|
}
|
|
5885
5885
|
record[field] = cellValue;
|
|
5886
5886
|
});
|
|
5887
|
-
//---------------------will remove this code and index in params later----code start---------////////
|
|
5888
|
-
// Inject dummy tasks data for first 5 records only
|
|
5889
|
-
const dummyTasks = ['0/0', '5/0', '0/5', '1/6', '1/4', '1/13'];
|
|
5890
|
-
if (index < 5) {
|
|
5891
|
-
record.tasks = dummyTasks[index];
|
|
5892
|
-
}
|
|
5893
|
-
const dummytaskCompletionPercent = [100, 0, 100, 14.29, 20, 7.14];
|
|
5894
|
-
if (index < 5) {
|
|
5895
|
-
record.taskCompletionPercent = dummytaskCompletionPercent[index];
|
|
5896
|
-
}
|
|
5897
|
-
const dummyPeding = ['100 days', '10 days', '98 days', '53 days', '75 days', '14 days'];
|
|
5898
|
-
if (index < 5) {
|
|
5899
|
-
record.pending = dummyPeding[index];
|
|
5900
|
-
}
|
|
5901
|
-
//---------------------will remove this code and index in params later----code end---------////////
|
|
5902
|
-
// console.log("-------record", record);
|
|
5903
5887
|
// Attach row-level ngClass expression for dynamic row styling
|
|
5904
5888
|
const rowStyles$1 = rowStyles;
|
|
5905
5889
|
if (rowStyles$1 && rowStyles$1.ngClass) {
|