kwikid-agent-dashboard 0.0.39 → 0.0.40
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/bundles/kwikid-agent-dashboard.umd.js +1 -24
- package/bundles/kwikid-agent-dashboard.umd.js.map +1 -1
- package/esm2015/lib/v1/components/customer-tile/customer-tile.component.js +1 -3
- package/esm2015/lib/v1/kwikid-agent-dashboard.component.js +1 -2
- package/esm2015/lib/v2/kwikid-agent-dashboard.component.js +2 -11
- package/fesm2015/kwikid-agent-dashboard.js +1 -13
- package/fesm2015/kwikid-agent-dashboard.js.map +1 -1
- package/lib/v1/kwikid-agent-dashboard.component.d.ts +0 -1
- package/package.json +3 -3
|
@@ -1661,31 +1661,11 @@
|
|
|
1661
1661
|
this.onGetTaskList = new i0.EventEmitter();
|
|
1662
1662
|
this.onClickPerformAction = new i0.EventEmitter();
|
|
1663
1663
|
}
|
|
1664
|
-
KwikIDAgentDashboardComponentV2.prototype.ngOnInit = function () {
|
|
1665
|
-
console.log("Agent Dashboard Config", this.config);
|
|
1666
|
-
console.log("User Config", this.userConfig);
|
|
1667
|
-
console.log("Agent Info", this.agentInfo);
|
|
1668
|
-
console.log("Tasks List", this.taskList);
|
|
1669
|
-
};
|
|
1664
|
+
KwikIDAgentDashboardComponentV2.prototype.ngOnInit = function () { };
|
|
1670
1665
|
KwikIDAgentDashboardComponentV2.prototype.ngOnChanges = function (changes) {
|
|
1671
|
-
var e_1, _a;
|
|
1672
1666
|
var verifyChange = function (key) {
|
|
1673
1667
|
return changes.hasOwnProperty(key) && !changes[key].firstChange;
|
|
1674
1668
|
};
|
|
1675
|
-
try {
|
|
1676
|
-
for (var _b = __values(Object.entries(changes)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1677
|
-
var change = _c.value;
|
|
1678
|
-
var key = change[0];
|
|
1679
|
-
var value = change[1].currentValue;
|
|
1680
|
-
}
|
|
1681
|
-
}
|
|
1682
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1683
|
-
finally {
|
|
1684
|
-
try {
|
|
1685
|
-
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1686
|
-
}
|
|
1687
|
-
finally { if (e_1) throw e_1.error; }
|
|
1688
|
-
}
|
|
1689
1669
|
if (verifyChange("taskList")) {
|
|
1690
1670
|
this.taskList = changes.taskList.currentValue;
|
|
1691
1671
|
}
|
|
@@ -2818,7 +2798,6 @@
|
|
|
2818
2798
|
detailsConfig = this.config.dashboard.viewTaskDetails;
|
|
2819
2799
|
var data_1 = [];
|
|
2820
2800
|
detailsConfig.map(function (field) {
|
|
2821
|
-
console.log("vvvvv", field);
|
|
2822
2801
|
var value = kwikidToolkit.getObjectValueFromPath(_this.customer, field.value);
|
|
2823
2802
|
data_1.push({ label: field.label, value: value });
|
|
2824
2803
|
return true;
|
|
@@ -2836,7 +2815,6 @@
|
|
|
2836
2815
|
});
|
|
2837
2816
|
this.labelValuePairData = data_2;
|
|
2838
2817
|
}
|
|
2839
|
-
console.log("DATA", this.labelValuePairData);
|
|
2840
2818
|
this.labelValuePairConfig =
|
|
2841
2819
|
(_h = (_g = (_f = (_e = (_d = this.config) === null || _d === void 0 ? void 0 : _d.dashboard) === null || _e === void 0 ? void 0 : _e.taskUI) === null || _f === void 0 ? void 0 : _f.details) === null || _g === void 0 ? void 0 : _g.config) !== null && _h !== void 0 ? _h : {};
|
|
2842
2820
|
};
|
|
@@ -3209,7 +3187,6 @@
|
|
|
3209
3187
|
this.filterTaskList = new i0.EventEmitter();
|
|
3210
3188
|
this.onClickPerformAction = new i0.EventEmitter();
|
|
3211
3189
|
this.loading = true;
|
|
3212
|
-
this.console = console;
|
|
3213
3190
|
this.open = false;
|
|
3214
3191
|
this.allFormsData = {};
|
|
3215
3192
|
this.String = String;
|