tnx-shared 5.3.170 → 5.3.171
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 +3 -6
- 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-base.d.ts.map +1 -1
- package/classes/base/list-component-base.d.ts.map +1 -1
- package/esm2015/classes/base/list-base.js +3 -7
- package/esm2015/classes/base/list-component-base.js +2 -1
- package/fesm2015/tnx-shared.js +3 -6
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
package/fesm2015/tnx-shared.js
CHANGED
|
@@ -18761,6 +18761,7 @@ class ListComponentBase extends ComponentBase {
|
|
|
18761
18761
|
if (!this.serviceCode && this.setting.baseService) {
|
|
18762
18762
|
this.serviceCode = this.setting.baseService.serviceCode;
|
|
18763
18763
|
}
|
|
18764
|
+
this.isBtnReady = this.setting.hiddenAuthorizeButton;
|
|
18764
18765
|
if (this.authorizePath) {
|
|
18765
18766
|
this.authorizePaths[ComCtxConstants.COMMON.ADD] = `${this.authorizePath}/ADD`;
|
|
18766
18767
|
this.authorizePaths[ComCtxConstants.COMMON.EDIT] = `${this.authorizePath}/EDIT`;
|
|
@@ -22645,13 +22646,9 @@ class ListBase extends ComponentBaseWithButton {
|
|
|
22645
22646
|
}
|
|
22646
22647
|
setAuthorizeButtons() {
|
|
22647
22648
|
return __awaiter(this, void 0, void 0, function* () {
|
|
22648
|
-
if (this.setting.hiddenAuthorizeButton) {
|
|
22649
|
-
|
|
22650
|
-
this.crudList.setBtnReady(true);
|
|
22651
|
-
}
|
|
22652
|
-
return;
|
|
22649
|
+
if (this.crudList && !this.setting.hiddenAuthorizeButton) {
|
|
22650
|
+
this.crudList.setAuthorizeButton(this.lstButtonElement[EnumProperties.RESULTS]);
|
|
22653
22651
|
}
|
|
22654
|
-
this.crudList.setAuthorizeButton(this.lstButtonElement[EnumProperties.RESULTS]);
|
|
22655
22652
|
});
|
|
22656
22653
|
}
|
|
22657
22654
|
beforeRenderDataSource(datasource) {
|