@byteluck-fe/model-driven-controls 2.23.0-beta.22-dx → 2.23.0-beta.23

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.
@@ -83,7 +83,7 @@ var CustomColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPrope
83
83
  props
84
84
  ]), _define_property(_this, "sortFieldCode", {
85
85
  type: 'string',
86
- message: getLocaleText('pleaseSelectSortFieldCode', null, '请选择排序字段')
86
+ message: getLocaleText('CMD.pleaseSelectSortFieldCode', null, '请选择排序字段')
87
87
  });
88
88
  if (props.sort === true) {
89
89
  _this.sortFieldCode.required = true;
@@ -70,11 +70,11 @@ function _is_native_reflect_construct() {
70
70
  return !!result;
71
71
  })();
72
72
  }
73
- import { ColumnControlProperty, DataSourceBind, initOptions, LinkOperationOption, initLinkOperationRules, ColumnControlPropertyRules } from '@byteluck-fe/model-driven-core';
73
+ import { ColumnControlProperty, DataSourceBind, initOptions, LinkOperationOption, initLinkOperationRules, ColumnOptionAndDataSourcePropertyRules } from '@byteluck-fe/model-driven-core';
74
74
  import { DesignerDecimalColumnControl } from './designer';
75
- var DecimalColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPropertyRules) {
75
+ var DecimalColumnControlPropertyRules = /*#__PURE__*/ function(ColumnOptionAndDataSourcePropertyRules) {
76
76
  "use strict";
77
- _inherits(DecimalColumnControlPropertyRules, ColumnControlPropertyRules);
77
+ _inherits(DecimalColumnControlPropertyRules, ColumnOptionAndDataSourcePropertyRules);
78
78
  function DecimalColumnControlPropertyRules(props) {
79
79
  _class_call_check(this, DecimalColumnControlPropertyRules);
80
80
  var _this;
@@ -85,10 +85,10 @@ var DecimalColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlProp
85
85
  return _this;
86
86
  }
87
87
  return DecimalColumnControlPropertyRules;
88
- }(ColumnControlPropertyRules);
89
- /**
90
- * DecimalColumn 数字列
91
- * @public
88
+ }(ColumnOptionAndDataSourcePropertyRules);
89
+ /**
90
+ * DecimalColumn 数字列
91
+ * @public
92
92
  */ var DecimalColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
93
93
  "use strict";
94
94
  _inherits(DecimalColumnControlProperty, ColumnControlProperty);
@@ -97,35 +97,35 @@ var DecimalColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlProp
97
97
  var _this;
98
98
  _this = _call_super(this, DecimalColumnControlProperty, [
99
99
  props
100
- ]), /**
101
- * 选项配置
102
- * @defaultValue 'none'
103
- * @public
104
- * */ _define_property(_this, "optionConfig", void 0), /**
105
- * 关联数据源
106
- * @public
107
- */ _define_property(_this, "datasourceBind", void 0), /**
108
- * 是否显示链接操作
109
- * @public
110
- */ _define_property(_this, "showLinkOperation", void 0), /**
111
- * 链接操作配置
112
- * @public
113
- */ _define_property(_this, "linkOperationOption", void 0), /**
114
- * 自定义选项
115
- * @defaultValue []
116
- * @public
117
- */ _define_property(_this, "options", void 0), /**
118
- * 保留几位小数
119
- * @defaultValue 0
120
- * @public
121
- * */ _define_property(_this, "precision", void 0), /**
122
- * 千分位展示
123
- * @defaultValue false
124
- * @public
125
- * */ _define_property(_this, "micrometer", void 0), /**
126
- * 百分比格式化
127
- * @defaultValue false
128
- * @public
100
+ ]), /**
101
+ * 选项配置
102
+ * @defaultValue 'none'
103
+ * @public
104
+ * */ _define_property(_this, "optionConfig", void 0), /**
105
+ * 关联数据源
106
+ * @public
107
+ */ _define_property(_this, "datasourceBind", void 0), /**
108
+ * 是否显示链接操作
109
+ * @public
110
+ */ _define_property(_this, "showLinkOperation", void 0), /**
111
+ * 链接操作配置
112
+ * @public
113
+ */ _define_property(_this, "linkOperationOption", void 0), /**
114
+ * 自定义选项
115
+ * @defaultValue []
116
+ * @public
117
+ */ _define_property(_this, "options", void 0), /**
118
+ * 保留几位小数
119
+ * @defaultValue 0
120
+ * @public
121
+ * */ _define_property(_this, "precision", void 0), /**
122
+ * 千分位展示
123
+ * @defaultValue false
124
+ * @public
125
+ * */ _define_property(_this, "micrometer", void 0), /**
126
+ * 百分比格式化
127
+ * @defaultValue false
128
+ * @public
129
129
  * */ _define_property(_this, "percentageFormat", void 0);
130
130
  var _props_caption;
131
131
  _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerDecimalColumnControl.controlName;
@@ -167,8 +167,7 @@ _define_property(Employee2Control, "setting", [
167
167
  COMMON_SETTING_TYPE.REQUIRED,
168
168
  COMMON_SETTING_TYPE.IS_HIDE,
169
169
  COMMON_SETTING_TYPE.MULTIPLE,
170
- COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
171
- COMMON_SETTING_TYPE.MAIN_DEPT_FLAG
170
+ COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
172
171
  ]
173
172
  },
174
173
  {
@@ -137,7 +137,6 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
137
137
  ), _define_property(_this, "externalType", void 0 // 外部组织:全部 'all' | 指定 'assign'
138
138
  ), _define_property(_this, "externalScope", void 0 //指定外部组织
139
139
  ), _define_property(_this, "openMultistageFilling", void 0 //是否开启填充
140
- ), _define_property(_this, "mainDeptFlag", void 0 //开启查询非主部门人员
141
140
  );
142
141
  var _props_showType;
143
142
  _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'default';
@@ -170,8 +169,6 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
170
169
  _this.externalScope = (_props_externalScope = props === null || props === void 0 ? void 0 : props.externalScope) !== null && _props_externalScope !== void 0 ? _props_externalScope : [];
171
170
  var _props_openMultistageFilling;
172
171
  _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
173
- var _props_mainDeptFlag;
174
- _this.mainDeptFlag = (_props_mainDeptFlag = props === null || props === void 0 ? void 0 : props.mainDeptFlag) !== null && _props_mainDeptFlag !== void 0 ? _props_mainDeptFlag : false;
175
172
  _this.multistageFilling = [];
176
173
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
177
174
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -237,6 +237,7 @@ export var ActionSetting = function ActionSetting(props) {
237
237
  _define_property(this, "orders", void 0);
238
238
  _define_property(this, "filters", void 0);
239
239
  _define_property(this, "isRelation", void 0);
240
+ _define_property(this, "relationBindCode", void 0);
240
241
  var _props_appId;
241
242
  this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
242
243
  var _props_dataCode;
@@ -249,6 +250,8 @@ export var ActionSetting = function ActionSetting(props) {
249
250
  this.filters = (_props_filters = props === null || props === void 0 ? void 0 : props.filters) !== null && _props_filters !== void 0 ? _props_filters : [];
250
251
  var _props_isRelation;
251
252
  this.isRelation = (_props_isRelation = props === null || props === void 0 ? void 0 : props.isRelation) !== null && _props_isRelation !== void 0 ? _props_isRelation : false;
253
+ var _props_relationBindCode;
254
+ this.relationBindCode = (_props_relationBindCode = props === null || props === void 0 ? void 0 : props.relationBindCode) !== null && _props_relationBindCode !== void 0 ? _props_relationBindCode : '';
252
255
  };
253
256
  export var ListHeightSetting = function ListHeightSetting(props) {
254
257
  "use strict";