tnx-shared 5.3.196 → 5.3.198
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/tnx-shared.umd.js +4 -2
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/classes/base/list-component-base.d.ts +2 -2
- package/classes/base/list-component-base.d.ts.map +1 -1
- package/esm2015/classes/base/list-component-base.js +4 -2
- package/esm2015/components/congviec-picker/services/congviec.service.js +2 -2
- package/fesm2015/tnx-shared.js +4 -2
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
|
@@ -21213,7 +21213,7 @@
|
|
|
21213
21213
|
var CongViecService = /** @class */ (function (_super) {
|
|
21214
21214
|
__extends(CongViecService, _super);
|
|
21215
21215
|
function CongViecService(http, injector, _moduleConfigService, _dmLoaiCongViecService) {
|
|
21216
|
-
var _this = _super.call(this, http, injector, _moduleConfigService.getConfig().environment.apiDomain.
|
|
21216
|
+
var _this = _super.call(this, http, injector, _moduleConfigService.getConfig().environment.apiDomain.congviecEndpoint + "/" + _moduleConfigService.getConfig().environment.apiVersion + "/CongViec_Chinh") || this;
|
|
21217
21217
|
_this._dmLoaiCongViecService = _dmLoaiCongViecService;
|
|
21218
21218
|
_this.endPoint = _moduleConfigService.getConfig().environment.apiDomain.vanbanEndpoint;
|
|
21219
21219
|
_this._moduleConfig = _moduleConfigService.getConfig();
|
|
@@ -24548,7 +24548,9 @@
|
|
|
24548
24548
|
return [4 /*yield*/, this._federationService.loadRemoteNewComponent('commonapp', 'StartWorkflowComponent', this.startWorkflowViewContainer)];
|
|
24549
24549
|
case 13:
|
|
24550
24550
|
compRef = _g.sent();
|
|
24551
|
-
dialog
|
|
24551
|
+
if (dialog) {
|
|
24552
|
+
dialog.buttonTemplateInput = compRef.instance.buttonTemplate;
|
|
24553
|
+
}
|
|
24552
24554
|
compRef.workflows = workflowSetting.workflows;
|
|
24553
24555
|
compRef.defaultWorkflow = workflowSetting.workflowCode;
|
|
24554
24556
|
compRef.instance.onSaved.subscribe(function (event) { return _this.handleStartWorkflowFromDialog(event); });
|