@byteluck-fe/model-driven-controls 2.5.9-beta.1 → 2.5.9-beta.2

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.
@@ -95,13 +95,13 @@ var ExportListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
95
95
  var _props_templateList;
96
96
  _this = _super.call(this, props);
97
97
  _define_property(_assert_this_initialized(_this), "templateList", void 0);
98
- _define_property(_assert_this_initialized(_this), "decryptExport", void 0);
98
+ _define_property(_assert_this_initialized(_this), "templateType", void 0);
99
99
  var _props_icon;
100
100
  _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : ExportListButtonControl.controlIcon;
101
101
  var _props_content;
102
102
  _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : ExportListButtonControl.controlName;
103
- var _props_decryptExport;
104
- _this.decryptExport = (_props_decryptExport = props === null || props === void 0 ? void 0 : props.decryptExport) !== null && _props_decryptExport !== void 0 ? _props_decryptExport : false;
103
+ var _props_templateType;
104
+ _this.templateType = (_props_templateType = props === null || props === void 0 ? void 0 : props.templateType) !== null && _props_templateType !== void 0 ? _props_templateType : 'system';
105
105
  var _props_templateList_map;
106
106
  _this.templateList = (_props_templateList_map = props === null || props === void 0 ? void 0 : (_props_templateList = props.templateList) === null || _props_templateList === void 0 ? void 0 : _props_templateList.map(function(item) {
107
107
  return new ExportTemplate(item);
@@ -102,6 +102,7 @@ var ImportRecordListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
102
102
  /*
103
103
  * 可以导入的数据
104
104
  * */ _define_property(_assert_this_initialized(_this), "canImportList", void 0);
105
+ _define_property(_assert_this_initialized(_this), "templateType", void 0);
105
106
  var _props_content;
106
107
  _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : ImportRecordListButtonControl.controlName;
107
108
  var _props_icon;
@@ -110,6 +111,8 @@ var ImportRecordListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
110
111
  _this.canImportList = (_props_canImportList_map = props === null || props === void 0 ? void 0 : (_props_canImportList = props.canImportList) === null || _props_canImportList === void 0 ? void 0 : _props_canImportList.map(function(item) {
111
112
  return new ImportListBind(item);
112
113
  })) !== null && _props_canImportList_map !== void 0 ? _props_canImportList_map : [];
114
+ var _props_templateType;
115
+ _this.templateType = (_props_templateType = props === null || props === void 0 ? void 0 : props.templateType) !== null && _props_templateType !== void 0 ? _props_templateType : 'system';
113
116
  return _this;
114
117
  }
115
118
  return ImportRecordListButtonProperty;