tnx-shared 5.3.189 → 5.3.191
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 +6 -1
- 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 +1 -0
- package/classes/base/list-component-base.d.ts.map +1 -1
- package/components/settings/settings-authorize-button/settings-authorize-button.component.d.ts.map +1 -1
- package/esm2015/classes/base/list-component-base.js +5 -2
- package/esm2015/components/settings/settings-authorize-button/settings-authorize-button.component.js +3 -1
- package/fesm2015/tnx-shared.js +6 -1
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/tnx-shared.metadata.json +1 -1
|
@@ -21773,6 +21773,7 @@
|
|
|
21773
21773
|
_this.FileUploadMode = exports.FileUploadMode;
|
|
21774
21774
|
_this.Operator = exports.Operator;
|
|
21775
21775
|
_this.showSaveReorder = false;
|
|
21776
|
+
_this.settingDefault = new CrudListSetting();
|
|
21776
21777
|
_this._unSubscribeAll = new rxjs.Subject();
|
|
21777
21778
|
_this.handleSelectRow = function (evt, data) {
|
|
21778
21779
|
if (_this.setting.hasCustomHandleClickRow) {
|
|
@@ -22016,6 +22017,7 @@
|
|
|
22016
22017
|
_this.handleCheckAll = _this.handleCheckAll.bind(_this);
|
|
22017
22018
|
_this.handleCheckAll_Group = _this.handleCheckAll_Group.bind(_this);
|
|
22018
22019
|
_this.environment = _this._moduleConfigService.getConfig().environment;
|
|
22020
|
+
_this.settingDefault = Object.assign(_this.setting, _this.settingDefault);
|
|
22019
22021
|
return _this;
|
|
22020
22022
|
}
|
|
22021
22023
|
Object.defineProperty(ListComponentBase.prototype, "_table", {
|
|
@@ -22349,7 +22351,8 @@
|
|
|
22349
22351
|
element.controlType = exports.ControlType.dropdown;
|
|
22350
22352
|
if (!element.rawColumn) {
|
|
22351
22353
|
this_1.setting.fieldNeedGetRef.push(Object.assign({}, element));
|
|
22352
|
-
tmpCol = new ColumnSchemaBase(Object.assign(Object.assign({}, element), { isRefField: true, rawColumn: element, controlType: exports.ControlType.dropdown, dataType: element.dataTypeRefField, baseService: null, field: 'str' + element.field, allowFilter: element.allowFilter, sort: false, visible:
|
|
22354
|
+
tmpCol = new ColumnSchemaBase(Object.assign(Object.assign({}, element), { isRefField: true, rawColumn: element, controlType: exports.ControlType.dropdown, dataType: element.dataTypeRefField, baseService: null, field: 'str' + element.field, allowFilter: element.allowFilter, sort: false, visible: !(this_1.setting.groupColumn
|
|
22355
|
+
&& element.field == this_1.setting.groupColumn.field) }));
|
|
22353
22356
|
var configRefField = this_1.setting.columnSetting.details.find(function (p) { return p.columnCode == tmpCol.field; });
|
|
22354
22357
|
if (configRefField && configRefField.visible != null) {
|
|
22355
22358
|
tmpCol.visible = configRefField.visible;
|
|
@@ -50297,7 +50300,9 @@
|
|
|
50297
50300
|
};
|
|
50298
50301
|
SettingAuthorizeButtonComponent.prototype.ngOnDestroy = function () {
|
|
50299
50302
|
var _this = this;
|
|
50303
|
+
var _a;
|
|
50300
50304
|
var buttonSetting = JSON.parse(sessionStorage.getItem(ComCtxConstants.LOCALSTORAGE_KEY.BUTTON_AUTHORIZE) || '{}');
|
|
50305
|
+
buttonSetting[_a = this.authorizeButtonKey] || (buttonSetting[_a] = []);
|
|
50301
50306
|
this.model.dataSource.forEach(function (rowData) {
|
|
50302
50307
|
var _a;
|
|
50303
50308
|
var buttonItem = (_a = buttonSetting[_this.authorizeButtonKey]) === null || _a === void 0 ? void 0 : _a.find(function (p) { return p.code == rowData.code; });
|