@byteluck-fe/model-driven-controls 2.0.1 → 2.0.7-beta.1

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.
Files changed (164) hide show
  1. package/dist/esm/baseControls/BatchPrintListButton/designer.js +1 -1
  2. package/dist/esm/baseControls/BatchPrintListButton/property.js +10 -10
  3. package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +1 -1
  4. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +4 -4
  5. package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +1 -1
  6. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +13 -13
  7. package/dist/esm/baseControls/Button/designer.js +1 -1
  8. package/dist/esm/baseControls/Button/property.js +16 -16
  9. package/dist/esm/baseControls/CreateFormListButton/designer.js +1 -1
  10. package/dist/esm/baseControls/CreateFormListButton/property.js +8 -8
  11. package/dist/esm/baseControls/Dashboard/designer.js +3 -3
  12. package/dist/esm/baseControls/Dashboard/property.js +12 -12
  13. package/dist/esm/baseControls/Divider/designer.js +1 -1
  14. package/dist/esm/baseControls/Divider/property.js +4 -4
  15. package/dist/esm/baseControls/ExportListButton/designer.js +1 -1
  16. package/dist/esm/baseControls/ExportListButton/property.js +9 -9
  17. package/dist/esm/baseControls/ExportRecordListButton/designer.js +1 -1
  18. package/dist/esm/baseControls/ExportRecordListButton/property.js +4 -4
  19. package/dist/esm/baseControls/FormSelectButton/designer.js +1 -1
  20. package/dist/esm/baseControls/FormSelectButton/property.js +6 -6
  21. package/dist/esm/baseControls/ImportRecordListButton/designer.js +1 -1
  22. package/dist/esm/baseControls/ImportRecordListButton/property.js +8 -8
  23. package/dist/esm/baseControls/InvoiceCheckButton/designer.js +3 -3
  24. package/dist/esm/baseControls/InvoiceCheckButton/property.js +20 -20
  25. package/dist/esm/baseControls/Link/designer.js +1 -1
  26. package/dist/esm/baseControls/Link/property.js +6 -6
  27. package/dist/esm/baseControls/ListSelectButton/designer.js +1 -1
  28. package/dist/esm/baseControls/ListSelectButton/property.js +4 -4
  29. package/dist/esm/baseControls/ListViewSelect/designer.js +1 -1
  30. package/dist/esm/baseControls/ListViewSelect/property.js +6 -6
  31. package/dist/esm/baseControls/OperationButton/designer.js +1 -1
  32. package/dist/esm/baseControls/OperationButton/property.js +10 -10
  33. package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +1 -1
  34. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +4 -4
  35. package/dist/esm/baseControls/Text/designer.js +1 -1
  36. package/dist/esm/baseControls/Text/property.js +10 -10
  37. package/dist/esm/baseControls/TextOcrButton/designer.js +3 -3
  38. package/dist/esm/baseControls/TextOcrButton/property.js +20 -20
  39. package/dist/esm/baseControls/Title/designer.js +1 -1
  40. package/dist/esm/baseControls/Title/property.js +5 -5
  41. package/dist/esm/columnControls/ArrayColumn/designer.js +1 -1
  42. package/dist/esm/columnControls/ArrayColumn/property.js +6 -6
  43. package/dist/esm/columnControls/AutoNumberColumn/designer.js +1 -1
  44. package/dist/esm/columnControls/AutoNumberColumn/property.js +2 -2
  45. package/dist/esm/columnControls/CustomColumn/designer.js +2 -2
  46. package/dist/esm/columnControls/CustomColumn/property.js +4 -4
  47. package/dist/esm/columnControls/DecimalColumn/designer.js +3 -3
  48. package/dist/esm/columnControls/DecimalColumn/property.js +12 -12
  49. package/dist/esm/columnControls/DepartmentColumn/designer.js +1 -1
  50. package/dist/esm/columnControls/DepartmentColumn/property.js +4 -4
  51. package/dist/esm/columnControls/EmployeeColumn/designer.js +2 -2
  52. package/dist/esm/columnControls/EmployeeColumn/property.js +4 -4
  53. package/dist/esm/columnControls/FileColumn/designer.js +1 -1
  54. package/dist/esm/columnControls/FileColumn/property.js +2 -2
  55. package/dist/esm/columnControls/ImageColumn/designer.js +1 -1
  56. package/dist/esm/columnControls/ImageColumn/property.js +2 -2
  57. package/dist/esm/columnControls/LocationColumn/designer.js +1 -1
  58. package/dist/esm/columnControls/LocationColumn/property.js +2 -2
  59. package/dist/esm/columnControls/OperationColumn/designer.js +118 -18
  60. package/dist/esm/columnControls/OperationColumn/property.js +10 -47
  61. package/dist/esm/columnControls/OrderColumn/designer.js +1 -1
  62. package/dist/esm/columnControls/OrderColumn/property.js +13 -13
  63. package/dist/esm/columnControls/PeopleColumn/designer.js +1 -1
  64. package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
  65. package/dist/esm/columnControls/TextColumn/designer.js +1 -1
  66. package/dist/esm/columnControls/TextColumn/property.js +6 -6
  67. package/dist/esm/columnControls/TimescopeColumn/designer.js +1 -1
  68. package/dist/esm/columnControls/TimescopeColumn/property.js +4 -4
  69. package/dist/esm/columnControls/TimestampColumn/designer.js +1 -1
  70. package/dist/esm/columnControls/TimestampColumn/property.js +4 -4
  71. package/dist/esm/columnControls/VarcharColumn/designer.js +1 -1
  72. package/dist/esm/columnControls/VarcharColumn/property.js +8 -8
  73. package/dist/esm/formControls/Address/designer.js +3 -3
  74. package/dist/esm/formControls/Address/property.js +10 -10
  75. package/dist/esm/formControls/Amount/designer.js +5 -5
  76. package/dist/esm/formControls/Amount/property.js +24 -24
  77. package/dist/esm/formControls/Attachment/designer.js +3 -3
  78. package/dist/esm/formControls/Attachment/property.js +16 -16
  79. package/dist/esm/formControls/AutoNumber/designer.js +3 -3
  80. package/dist/esm/formControls/AutoNumber/property.js +6 -6
  81. package/dist/esm/formControls/Calc/designer.js +5 -5
  82. package/dist/esm/formControls/Calc/property.js +15 -15
  83. package/dist/esm/formControls/Checkbox/designer.js +3 -3
  84. package/dist/esm/formControls/Checkbox/property.js +27 -27
  85. package/dist/esm/formControls/DatePicker/designer.js +3 -3
  86. package/dist/esm/formControls/DatePicker/property.js +18 -18
  87. package/dist/esm/formControls/DateRange/designer.js +3 -3
  88. package/dist/esm/formControls/DateRange/property.js +18 -18
  89. package/dist/esm/formControls/Department/designer.js +4 -4
  90. package/dist/esm/formControls/Department/property.js +22 -22
  91. package/dist/esm/formControls/Department2/designer.js +5 -5
  92. package/dist/esm/formControls/Department2/property.js +31 -31
  93. package/dist/esm/formControls/ElectronicSignature/designer.js +2 -2
  94. package/dist/esm/formControls/ElectronicSignature/property.js +12 -12
  95. package/dist/esm/formControls/Employee/designer.js +3 -3
  96. package/dist/esm/formControls/Employee/property.js +18 -18
  97. package/dist/esm/formControls/Employee2/designer.js +4 -4
  98. package/dist/esm/formControls/Employee2/property.js +29 -29
  99. package/dist/esm/formControls/Image/designer.js +8 -8
  100. package/dist/esm/formControls/Image/runtime.js +7 -7
  101. package/dist/esm/formControls/Input/designer.js +3 -3
  102. package/dist/esm/formControls/Input/property.js +15 -15
  103. package/dist/esm/formControls/Number/designer.js +5 -5
  104. package/dist/esm/formControls/Number/property.js +27 -27
  105. package/dist/esm/formControls/Radio/designer.js +3 -3
  106. package/dist/esm/formControls/Radio/property.js +23 -23
  107. package/dist/esm/formControls/RichText/designer.js +3 -3
  108. package/dist/esm/formControls/RichText/property.js +10 -10
  109. package/dist/esm/formControls/Score/designer.js +5 -5
  110. package/dist/esm/formControls/Score/property.js +15 -15
  111. package/dist/esm/formControls/SearchDateRange/designer.js +3 -3
  112. package/dist/esm/formControls/SearchDateRange/property.js +20 -20
  113. package/dist/esm/formControls/SearchInput/designer.js +2 -2
  114. package/dist/esm/formControls/SearchNumberRange/designer.js +3 -3
  115. package/dist/esm/formControls/SearchNumberRange/property.js +12 -12
  116. package/dist/esm/formControls/Select/designer.js +3 -3
  117. package/dist/esm/formControls/Select/property.js +17 -17
  118. package/dist/esm/formControls/SelectMultiple/designer.js +3 -3
  119. package/dist/esm/formControls/SelectMultiple/property.js +15 -15
  120. package/dist/esm/formControls/SelectRelation/designer.js +3 -3
  121. package/dist/esm/formControls/SelectRelation/property.js +16 -16
  122. package/dist/esm/formControls/Textarea/designer.js +3 -3
  123. package/dist/esm/formControls/Textarea/property.js +12 -12
  124. package/dist/esm/formControls/Tree/designer.js +4 -4
  125. package/dist/esm/formControls/Tree/property.js +28 -28
  126. package/dist/esm/formControls/VueFormItem/designer.js +3 -3
  127. package/dist/esm/formControls/VueFormItem/property.js +10 -10
  128. package/dist/esm/formControls/WPS/designer.js +4 -4
  129. package/dist/esm/formControls/WPS/property.js +24 -24
  130. package/dist/esm/framework.js +70 -70
  131. package/dist/esm/layoutControls/AdvancedContainer/Setting.js +3 -3
  132. package/dist/esm/layoutControls/CardGroup/designer.js +1 -1
  133. package/dist/esm/layoutControls/CardGroup/property.js +6 -6
  134. package/dist/esm/layoutControls/Col/designer.js +1 -1
  135. package/dist/esm/layoutControls/Col/property.js +4 -4
  136. package/dist/esm/layoutControls/DataView/property.js +12 -12
  137. package/dist/esm/layoutControls/GridTableColumn/designer.js +2 -2
  138. package/dist/esm/layoutControls/GridTableColumn/property.js +20 -20
  139. package/dist/esm/layoutControls/ListView/designer.js +2 -2
  140. package/dist/esm/layoutControls/ListView/property.js +18 -18
  141. package/dist/esm/layoutControls/Page/Setting.js +4 -4
  142. package/dist/esm/layoutControls/Page/property.js +2 -2
  143. package/dist/esm/layoutControls/Position/property.js +8 -8
  144. package/dist/esm/layoutControls/PositioningContainer/Setting.js +3 -3
  145. package/dist/esm/layoutControls/Row/designer.js +1 -1
  146. package/dist/esm/layoutControls/Row/property.js +4 -4
  147. package/dist/esm/layoutControls/SubTableColumn/designer.js +2 -2
  148. package/dist/esm/layoutControls/SubTableColumn/property.js +12 -12
  149. package/dist/esm/layoutControls/SubTableRow/designer.js +2 -2
  150. package/dist/esm/layoutControls/Tab/designer.js +3 -3
  151. package/dist/esm/layoutControls/TabPane/designer.js +1 -1
  152. package/dist/esm/layoutControls/TabPane/property.js +2 -2
  153. package/dist/esm/layoutControls/Toolbox/designer.js +2 -2
  154. package/dist/esm/layoutControls/Toolbox/runtime.js +1 -1
  155. package/dist/esm/listControls/GridTable/designer.js +118 -18
  156. package/dist/esm/listControls/GridTable/property.js +8 -8
  157. package/dist/esm/listControls/SubTable/designer.js +7 -7
  158. package/dist/esm/listControls/SubTable/property.js +43 -43
  159. package/dist/esm/searchControls/SimpleSearch/designer.js +1 -1
  160. package/dist/esm/searchControls/SimpleSearch/property.js +14 -14
  161. package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
  162. package/dist/index.umd.js +1 -1
  163. package/dist/types/columnControls/OperationColumn/property.d.ts +6 -0
  164. package/package.json +2 -2
@@ -89,8 +89,8 @@ var RadioProperty = /*#__PURE__*/ function(BaseControlProperty) {
89
89
  _classCallCheck(this, RadioProperty);
90
90
  var _this;
91
91
  _this = _super.call(this, props);
92
- var ref;
93
- _this.options = initOptions((ref = props === null || props === void 0 ? void 0 : props.options) !== null && ref !== void 0 ? ref : [
92
+ var _props_options;
93
+ _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
94
94
  {
95
95
  label: "选项一",
96
96
  value: "选项一"
@@ -102,32 +102,32 @@ var RadioProperty = /*#__PURE__*/ function(BaseControlProperty) {
102
102
  {
103
103
  label: "选项三",
104
104
  value: "选项三"
105
- },
105
+ }
106
106
  ]);
107
- var ref1;
108
- _this.radioMode = (ref1 = props === null || props === void 0 ? void 0 : props.radioMode) !== null && ref1 !== void 0 ? ref1 : "horizontal";
109
- var ref2;
110
- _this.optionConfig = (ref2 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && ref2 !== void 0 ? ref2 : "custom";
111
- var ref3;
112
- _this.otherOption = (ref3 = props === null || props === void 0 ? void 0 : props.otherOption) !== null && ref3 !== void 0 ? ref3 : false;
113
- var ref4;
114
- _this.optionsOrder = (ref4 = props === null || props === void 0 ? void 0 : props.optionsOrder) !== null && ref4 !== void 0 ? ref4 : false;
115
- var ref5;
116
- _this.defaultShowOptions = (ref5 = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && ref5 !== void 0 ? ref5 : true;
117
- var ref6;
118
- _this.optionsFormat = (ref6 = props === null || props === void 0 ? void 0 : props.optionsFormat) !== null && ref6 !== void 0 ? ref6 : "horizontal";
107
+ var _props_radioMode;
108
+ _this.radioMode = (_props_radioMode = props === null || props === void 0 ? void 0 : props.radioMode) !== null && _props_radioMode !== void 0 ? _props_radioMode : "horizontal";
109
+ var _props_optionConfig;
110
+ _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "custom";
111
+ var _props_otherOption;
112
+ _this.otherOption = (_props_otherOption = props === null || props === void 0 ? void 0 : props.otherOption) !== null && _props_otherOption !== void 0 ? _props_otherOption : false;
113
+ var _props_optionsOrder;
114
+ _this.optionsOrder = (_props_optionsOrder = props === null || props === void 0 ? void 0 : props.optionsOrder) !== null && _props_optionsOrder !== void 0 ? _props_optionsOrder : false;
115
+ var _props_defaultShowOptions;
116
+ _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
117
+ var _props_optionsFormat;
118
+ _this.optionsFormat = (_props_optionsFormat = props === null || props === void 0 ? void 0 : props.optionsFormat) !== null && _props_optionsFormat !== void 0 ? _props_optionsFormat : "horizontal";
119
119
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
120
- var ref7;
121
- _this.interreaction = (ref7 = props === null || props === void 0 ? void 0 : props.interreaction) !== null && ref7 !== void 0 ? ref7 : [];
122
- var ref8;
123
- _this.caption = (ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref8 !== void 0 ? ref8 : RadioControl.controlName;
124
- var ref9;
125
- _this.defaultValue = (ref9 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref9 !== void 0 ? ref9 : "";
120
+ var _props_interreaction;
121
+ _this.interreaction = (_props_interreaction = props === null || props === void 0 ? void 0 : props.interreaction) !== null && _props_interreaction !== void 0 ? _props_interreaction : [];
122
+ var _props_caption;
123
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : RadioControl.controlName;
124
+ var _props_defaultValue;
125
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
126
126
  _this.multistageFilling = [];
127
127
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
128
128
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
129
- var ref;
130
- (ref = _this.multistageFilling) === null || ref === void 0 ? void 0 : ref.push(new MultistageFillingItem(item));
129
+ var _this_multistageFilling;
130
+ (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
131
131
  });
132
132
  }
133
133
  return _this;
@@ -139,7 +139,7 @@ RichTextControl.setting = [
139
139
  key: "caption",
140
140
  showItems: [
141
141
  COMMON_SETTING_TYPE.CAPTION,
142
- COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
142
+ COMMON_SETTING_TYPE.IS_HIDE_CAPTION
143
143
  ],
144
144
  visible: true
145
145
  },
@@ -162,7 +162,7 @@ RichTextControl.setting = [
162
162
  COMMON_SETTING_TYPE.REQUIRED,
163
163
  COMMON_SETTING_TYPE.IS_HIDE,
164
164
  COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
165
- COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
165
+ COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
166
166
  ]
167
167
  },
168
168
  {
@@ -180,7 +180,7 @@ RichTextControl.setting = [
180
180
  {
181
181
  key: "super-setting",
182
182
  visible: true
183
- },
183
+ }
184
184
  ];
185
185
  export default RichTextControl;
186
186
  export { RichTextControl as DesignerRichTextControl };
@@ -137,16 +137,16 @@ var RichTextProperty = /*#__PURE__*/ function(BaseControlProperty) {
137
137
  _classCallCheck(this, RichTextProperty);
138
138
  var _this;
139
139
  _this = _super.call(this, props);
140
- var ref;
141
- _this.maxLength = (ref = props === null || props === void 0 ? void 0 : props.maxLength) !== null && ref !== void 0 ? ref : 50000;
142
- var ref1;
143
- _this.minLength = (ref1 = props === null || props === void 0 ? void 0 : props.minLength) !== null && ref1 !== void 0 ? ref1 : 0;
144
- var ref2;
145
- _this.defaultValue = (ref2 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref2 !== void 0 ? ref2 : "";
146
- var ref3;
147
- _this.caption = (ref3 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref3 !== void 0 ? ref3 : RichTextControl.controlName;
148
- var ref4;
149
- _this.placeholder = (ref4 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref4 !== void 0 ? ref4 : "请输入";
140
+ var _props_maxLength;
141
+ _this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 50000;
142
+ var _props_minLength;
143
+ _this.minLength = (_props_minLength = props === null || props === void 0 ? void 0 : props.minLength) !== null && _props_minLength !== void 0 ? _props_minLength : 0;
144
+ var _props_defaultValue;
145
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
146
+ var _props_caption;
147
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : RichTextControl.controlName;
148
+ var _props_placeholder;
149
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入";
150
150
  return _this;
151
151
  }
152
152
  return RichTextProperty;
@@ -153,12 +153,12 @@ var ScoreControl = /*#__PURE__*/ function(DesignerFormControl) {
153
153
  if (this.props.explain.length > value) {
154
154
  this.props.explain = this.props.explain.slice(0, value);
155
155
  } else {
156
- var _explain;
156
+ var _this_props_explain;
157
157
  var addNum = value - this.props.explain.length;
158
158
  var addExplain = Array(addNum).fill(undefined).map(function() {
159
159
  return new Explain();
160
160
  });
161
- (_explain = this.props.explain).push.apply(_explain, _toConsumableArray(addExplain));
161
+ (_this_props_explain = this.props.explain).push.apply(_this_props_explain, _toConsumableArray(addExplain));
162
162
  }
163
163
  }
164
164
  _get(_getPrototypeOf(ScoreControl.prototype), "postUpdate", this).call(this, key, value);
@@ -199,7 +199,7 @@ ScoreControl.setting = [
199
199
  key: "caption",
200
200
  showItems: [
201
201
  COMMON_SETTING_TYPE.CAPTION,
202
- COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
202
+ COMMON_SETTING_TYPE.IS_HIDE_CAPTION
203
203
  ],
204
204
  visible: true
205
205
  },
@@ -218,7 +218,7 @@ ScoreControl.setting = [
218
218
  COMMON_SETTING_TYPE.REQUIRED,
219
219
  COMMON_SETTING_TYPE.IS_HIDE,
220
220
  COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
221
- COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
221
+ COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
222
222
  ]
223
223
  },
224
224
  {
@@ -236,7 +236,7 @@ ScoreControl.setting = [
236
236
  {
237
237
  key: "super-setting",
238
238
  visible: true
239
- },
239
+ }
240
240
  ];
241
241
  export default ScoreControl;
242
242
  export { ScoreControl as DesignerScoreControl };
@@ -91,7 +91,7 @@ var ScoreControlPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules)
91
91
  type: "number",
92
92
  min: 1,
93
93
  message: RulesMessage.getMessage("theTotalScoreMustNotBeLessThan1")
94
- },
94
+ }
95
95
  ];
96
96
  _this.defaultValue = {
97
97
  type: "number",
@@ -139,24 +139,24 @@ var ScoreProperty = /*#__PURE__*/ function(BaseControlProperty) {
139
139
  function ScoreProperty(props) {
140
140
  _classCallCheck(this, ScoreProperty);
141
141
  var _this;
142
- var ref;
142
+ var _props_explain;
143
143
  _this = _super.call(this, props);
144
- var ref1;
145
- _this.totalScore = (ref1 = props === null || props === void 0 ? void 0 : props.totalScore) !== null && ref1 !== void 0 ? ref1 : 5;
146
- var ref2;
147
- _this.scoreType = (ref2 = props === null || props === void 0 ? void 0 : props.scoreType) !== null && ref2 !== void 0 ? ref2 : SCORE_TYPE.STAR;
148
- var ref3;
149
- _this.isShowExplain = (ref3 = props === null || props === void 0 ? void 0 : props.isShowExplain) !== null && ref3 !== void 0 ? ref3 : true;
150
- var ref4;
151
- _this.explain = (ref4 = props === null || props === void 0 ? void 0 : (ref = props.explain) === null || ref === void 0 ? void 0 : ref.map(function(item) {
144
+ var _props_totalScore;
145
+ _this.totalScore = (_props_totalScore = props === null || props === void 0 ? void 0 : props.totalScore) !== null && _props_totalScore !== void 0 ? _props_totalScore : 5;
146
+ var _props_scoreType;
147
+ _this.scoreType = (_props_scoreType = props === null || props === void 0 ? void 0 : props.scoreType) !== null && _props_scoreType !== void 0 ? _props_scoreType : SCORE_TYPE.STAR;
148
+ var _props_isShowExplain;
149
+ _this.isShowExplain = (_props_isShowExplain = props === null || props === void 0 ? void 0 : props.isShowExplain) !== null && _props_isShowExplain !== void 0 ? _props_isShowExplain : true;
150
+ var _props_explain_map;
151
+ _this.explain = (_props_explain_map = props === null || props === void 0 ? void 0 : (_props_explain = props.explain) === null || _props_explain === void 0 ? void 0 : _props_explain.map(function(item) {
152
152
  return new Explain(item);
153
- })) !== null && ref4 !== void 0 ? ref4 : Array(_this.totalScore).fill(undefined).map(function() {
153
+ })) !== null && _props_explain_map !== void 0 ? _props_explain_map : Array(_this.totalScore).fill(undefined).map(function() {
154
154
  return new Explain();
155
155
  });
156
- var ref5;
157
- _this.defaultValue = (ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref5 !== void 0 ? ref5 : 0;
158
- var ref6;
159
- _this.caption = (ref6 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref6 !== void 0 ? ref6 : ScoreControl.controlName;
156
+ var _props_defaultValue;
157
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : 0;
158
+ var _props_caption;
159
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : ScoreControl.controlName;
160
160
  return _this;
161
161
  }
162
162
  return ScoreProperty;
@@ -133,7 +133,7 @@ SearchDateRangeControl.setting = [
133
133
  key: "caption",
134
134
  showItems: [
135
135
  COMMON_SETTING_TYPE.CAPTION,
136
- COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
136
+ COMMON_SETTING_TYPE.IS_HIDE_CAPTION
137
137
  ],
138
138
  visible: true
139
139
  },
@@ -164,7 +164,7 @@ SearchDateRangeControl.setting = [
164
164
  COMMON_SETTING_TYPE.REQUIRED,
165
165
  COMMON_SETTING_TYPE.IS_HIDE,
166
166
  COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
167
- COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
167
+ COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
168
168
  ]
169
169
  },
170
170
  {
@@ -178,7 +178,7 @@ SearchDateRangeControl.setting = [
178
178
  {
179
179
  key: "super-setting",
180
180
  visible: true
181
- },
181
+ }
182
182
  ];
183
183
  export default SearchDateRangeControl;
184
184
  export { SearchDateRangeControl as DesignerSearchDateRangeControl };
@@ -108,31 +108,31 @@ var SearchDateRangeProperty = /*#__PURE__*/ function(BaseControlProperty) {
108
108
  function SearchDateRangeProperty(props) {
109
109
  _classCallCheck(this, SearchDateRangeProperty);
110
110
  var _this;
111
- var ref;
111
+ var _props_limitDateList;
112
112
  _this = _super.call(this, props);
113
- var ref1;
114
- _this.defaultValue = (ref1 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref1 !== void 0 ? ref1 : [
113
+ var _props_defaultValue;
114
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [
115
115
  "",
116
116
  ""
117
117
  ];
118
- var ref2;
119
- _this.dateType = (ref2 = props === null || props === void 0 ? void 0 : props.dateType) !== null && ref2 !== void 0 ? ref2 : DateType.DATE;
120
- var ref3;
121
- _this.setValueType = (ref3 = props === null || props === void 0 ? void 0 : props.setValueType) !== null && ref3 !== void 0 ? ref3 : "custom";
122
- var ref4;
123
- _this.rangeMin = (ref4 = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && ref4 !== void 0 ? ref4 : "";
124
- var ref5;
125
- _this.rangeMax = (ref5 = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && ref5 !== void 0 ? ref5 : "";
126
- var ref6;
127
- _this.placeholderStart = (ref6 = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && ref6 !== void 0 ? ref6 : "开始日期";
128
- var ref7;
129
- _this.placeholderEnd = (ref7 = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && ref7 !== void 0 ? ref7 : "结束日期";
130
- var ref8;
131
- _this.caption = (ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref8 !== void 0 ? ref8 : SearchDateRangeControl.controlName;
132
- var ref9;
133
- _this.limitDateList = (ref9 = props === null || props === void 0 ? void 0 : (ref = props.limitDateList) === null || ref === void 0 ? void 0 : ref.map(function(item) {
118
+ var _props_dateType;
119
+ _this.dateType = (_props_dateType = props === null || props === void 0 ? void 0 : props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
120
+ var _props_setValueType;
121
+ _this.setValueType = (_props_setValueType = props === null || props === void 0 ? void 0 : props.setValueType) !== null && _props_setValueType !== void 0 ? _props_setValueType : "custom";
122
+ var _props_rangeMin;
123
+ _this.rangeMin = (_props_rangeMin = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : "";
124
+ var _props_rangeMax;
125
+ _this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : "";
126
+ var _props_placeholderStart;
127
+ _this.placeholderStart = (_props_placeholderStart = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _props_placeholderStart !== void 0 ? _props_placeholderStart : "开始日期";
128
+ var _props_placeholderEnd;
129
+ _this.placeholderEnd = (_props_placeholderEnd = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _props_placeholderEnd !== void 0 ? _props_placeholderEnd : "结束日期";
130
+ var _props_caption;
131
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SearchDateRangeControl.controlName;
132
+ var _props_limitDateList_map;
133
+ _this.limitDateList = (_props_limitDateList_map = props === null || props === void 0 ? void 0 : (_props_limitDateList = props.limitDateList) === null || _props_limitDateList === void 0 ? void 0 : _props_limitDateList.map(function(item) {
134
134
  return new LimitDate(item);
135
- })) !== null && ref9 !== void 0 ? ref9 : [];
135
+ })) !== null && _props_limitDateList_map !== void 0 ? _props_limitDateList_map : [];
136
136
  return _this;
137
137
  }
138
138
  return SearchDateRangeProperty;
@@ -126,7 +126,7 @@ SearchInputControl.setting = [
126
126
  key: "caption",
127
127
  showItems: [
128
128
  COMMON_SETTING_TYPE.CAPTION,
129
- COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
129
+ COMMON_SETTING_TYPE.IS_HIDE_CAPTION
130
130
  ],
131
131
  visible: true
132
132
  },
@@ -149,7 +149,7 @@ SearchInputControl.setting = [
149
149
  {
150
150
  key: "super-setting",
151
151
  visible: true
152
- },
152
+ }
153
153
  ];
154
154
  export default SearchInputControl;
155
155
  export { SearchInputControl as DesignerSearchInputControl };
@@ -133,7 +133,7 @@ SearchNumberRangeControl.setting = [
133
133
  key: "caption",
134
134
  showItems: [
135
135
  COMMON_SETTING_TYPE.CAPTION,
136
- COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
136
+ COMMON_SETTING_TYPE.IS_HIDE_CAPTION
137
137
  ],
138
138
  visible: true
139
139
  },
@@ -156,7 +156,7 @@ SearchNumberRangeControl.setting = [
156
156
  COMMON_SETTING_TYPE.REQUIRED,
157
157
  COMMON_SETTING_TYPE.IS_HIDE,
158
158
  COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
159
- COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
159
+ COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
160
160
  ]
161
161
  },
162
162
  {
@@ -166,7 +166,7 @@ SearchNumberRangeControl.setting = [
166
166
  {
167
167
  key: "super-setting",
168
168
  visible: true
169
- },
169
+ }
170
170
  ];
171
171
  export default SearchNumberRangeControl;
172
172
  export { SearchNumberRangeControl as DesignerSearchNumberRangeControl };
@@ -111,21 +111,21 @@ var SearchNumberRangeProperty = /*#__PURE__*/ function(BaseControlProperty) {
111
111
  _classCallCheck(this, SearchNumberRangeProperty);
112
112
  var _this;
113
113
  _this = _super.call(this, props);
114
- var ref;
115
- _this.defaultValue = (ref = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref !== void 0 ? ref : [
114
+ var _props_defaultValue;
115
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [
116
116
  "",
117
117
  ""
118
118
  ];
119
- var ref1;
120
- _this.rangeMin = (ref1 = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && ref1 !== void 0 ? ref1 : "";
121
- var ref2;
122
- _this.rangeMax = (ref2 = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && ref2 !== void 0 ? ref2 : "";
123
- var ref3;
124
- _this.placeholderStart = (ref3 = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && ref3 !== void 0 ? ref3 : "最小值";
125
- var ref4;
126
- _this.placeholderEnd = (ref4 = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && ref4 !== void 0 ? ref4 : "最大值";
127
- var ref5;
128
- _this.caption = (ref5 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref5 !== void 0 ? ref5 : SearchNumberRangeControl.controlName;
119
+ var _props_rangeMin;
120
+ _this.rangeMin = (_props_rangeMin = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : "";
121
+ var _props_rangeMax;
122
+ _this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : "";
123
+ var _props_placeholderStart;
124
+ _this.placeholderStart = (_props_placeholderStart = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _props_placeholderStart !== void 0 ? _props_placeholderStart : "最小值";
125
+ var _props_placeholderEnd;
126
+ _this.placeholderEnd = (_props_placeholderEnd = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _props_placeholderEnd !== void 0 ? _props_placeholderEnd : "最大值";
127
+ var _props_caption;
128
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SearchNumberRangeControl.controlName;
129
129
  return _this;
130
130
  }
131
131
  return SearchNumberRangeProperty;
@@ -133,7 +133,7 @@ SelectControl.setting = [
133
133
  key: "caption",
134
134
  showItems: [
135
135
  COMMON_SETTING_TYPE.CAPTION,
136
- COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
136
+ COMMON_SETTING_TYPE.IS_HIDE_CAPTION
137
137
  ],
138
138
  visible: true
139
139
  },
@@ -158,7 +158,7 @@ SelectControl.setting = [
158
158
  COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
159
159
  COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,
160
160
  COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
161
- COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS,
161
+ COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS
162
162
  ]
163
163
  },
164
164
  {
@@ -168,7 +168,7 @@ SelectControl.setting = [
168
168
  {
169
169
  key: "super-setting",
170
170
  visible: true
171
- },
171
+ }
172
172
  ];
173
173
  export default SelectControl;
174
174
  export { SelectControl as DesignerSelectControl };
@@ -89,8 +89,8 @@ var SelectProperty = /*#__PURE__*/ function(BaseControlProperty) {
89
89
  _classCallCheck(this, SelectProperty);
90
90
  var _this;
91
91
  _this = _super.call(this, props);
92
- var ref;
93
- _this.options = initOptions((ref = props === null || props === void 0 ? void 0 : props.options) !== null && ref !== void 0 ? ref : [
92
+ var _props_options;
93
+ _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
94
94
  {
95
95
  label: "选项一",
96
96
  value: "选项一"
@@ -102,26 +102,26 @@ var SelectProperty = /*#__PURE__*/ function(BaseControlProperty) {
102
102
  {
103
103
  label: "选项三",
104
104
  value: "选项三"
105
- },
105
+ }
106
106
  ]);
107
- var ref1;
108
- _this.defaultShowOptions = (ref1 = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && ref1 !== void 0 ? ref1 : true;
109
- var ref2;
110
- _this.optionConfig = (ref2 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && ref2 !== void 0 ? ref2 : "custom";
107
+ var _props_defaultShowOptions;
108
+ _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
109
+ var _props_optionConfig;
110
+ _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "custom";
111
111
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
112
- var ref3;
113
- _this.caption = (ref3 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref3 !== void 0 ? ref3 : SelectControl.controlName;
114
- var ref4;
115
- _this.placeholder = (ref4 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref4 !== void 0 ? ref4 : "请选择";
116
- var ref5;
117
- _this.defaultValue = (ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref5 !== void 0 ? ref5 : "";
118
- var ref6;
119
- _this.allowCopyOptions = (ref6 = props === null || props === void 0 ? void 0 : props.allowCopyOptions) !== null && ref6 !== void 0 ? ref6 : false;
112
+ var _props_caption;
113
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SelectControl.controlName;
114
+ var _props_placeholder;
115
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择";
116
+ var _props_defaultValue;
117
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
118
+ var _props_allowCopyOptions;
119
+ _this.allowCopyOptions = (_props_allowCopyOptions = props === null || props === void 0 ? void 0 : props.allowCopyOptions) !== null && _props_allowCopyOptions !== void 0 ? _props_allowCopyOptions : false;
120
120
  _this.multistageFilling = [];
121
121
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
122
122
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
123
- var ref;
124
- (ref = _this.multistageFilling) === null || ref === void 0 ? void 0 : ref.push(new MultistageFillingItem(item));
123
+ var _this_multistageFilling;
124
+ (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
125
125
  });
126
126
  }
127
127
  return _this;
@@ -133,7 +133,7 @@ SelectMultipleControl.setting = [
133
133
  key: "caption",
134
134
  showItems: [
135
135
  COMMON_SETTING_TYPE.CAPTION,
136
- COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
136
+ COMMON_SETTING_TYPE.IS_HIDE_CAPTION
137
137
  ],
138
138
  visible: true
139
139
  },
@@ -157,7 +157,7 @@ SelectMultipleControl.setting = [
157
157
  COMMON_SETTING_TYPE.IS_HIDE,
158
158
  COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
159
159
  COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,
160
- COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
160
+ COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
161
161
  ]
162
162
  },
163
163
  {
@@ -167,7 +167,7 @@ SelectMultipleControl.setting = [
167
167
  {
168
168
  key: "super-setting",
169
169
  visible: true
170
- },
170
+ }
171
171
  ];
172
172
  export default SelectMultipleControl;
173
173
  export { SelectMultipleControl as DesignerSelectMultipleControl };
@@ -102,8 +102,8 @@ var SelectMultipleProperty = /*#__PURE__*/ function(BaseControlProperty) {
102
102
  _classCallCheck(this, SelectMultipleProperty);
103
103
  var _this;
104
104
  _this = _super.call(this, props);
105
- var ref;
106
- _this.options = initOptions((ref = props === null || props === void 0 ? void 0 : props.options) !== null && ref !== void 0 ? ref : [
105
+ var _props_options;
106
+ _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
107
107
  {
108
108
  label: "选项一",
109
109
  value: "选项一"
@@ -115,24 +115,24 @@ var SelectMultipleProperty = /*#__PURE__*/ function(BaseControlProperty) {
115
115
  {
116
116
  label: "选项三",
117
117
  value: "选项三"
118
- },
118
+ }
119
119
  ]);
120
- var ref1;
121
- _this.defaultShowOptions = (ref1 = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && ref1 !== void 0 ? ref1 : true;
122
- var ref2;
123
- _this.optionConfig = (ref2 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && ref2 !== void 0 ? ref2 : "custom";
120
+ var _props_defaultShowOptions;
121
+ _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
122
+ var _props_optionConfig;
123
+ _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "custom";
124
124
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
125
- var ref3;
126
- _this.caption = (ref3 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref3 !== void 0 ? ref3 : SelectMultipleControl.controlName;
127
- var ref4;
128
- _this.placeholder = (ref4 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref4 !== void 0 ? ref4 : "请选择";
129
- var ref5;
130
- _this.defaultValue = (ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref5 !== void 0 ? ref5 : [];
125
+ var _props_caption;
126
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SelectMultipleControl.controlName;
127
+ var _props_placeholder;
128
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择";
129
+ var _props_defaultValue;
130
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
131
131
  _this.multistageFilling = [];
132
132
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
133
133
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
134
- var ref;
135
- (ref = _this.multistageFilling) === null || ref === void 0 ? void 0 : ref.push(new MultistageFillingItem(item));
134
+ var _this_multistageFilling;
135
+ (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
136
136
  });
137
137
  }
138
138
  return _this;
@@ -133,7 +133,7 @@ SelectRelationControl.setting = [
133
133
  key: "caption",
134
134
  showItems: [
135
135
  COMMON_SETTING_TYPE.CAPTION,
136
- COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
136
+ COMMON_SETTING_TYPE.IS_HIDE_CAPTION
137
137
  ],
138
138
  visible: true
139
139
  },
@@ -156,7 +156,7 @@ SelectRelationControl.setting = [
156
156
  COMMON_SETTING_TYPE.REQUIRED,
157
157
  COMMON_SETTING_TYPE.IS_HIDE,
158
158
  COMMON_SETTING_TYPE.CAN_VIEW_FORM,
159
- COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
159
+ COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
160
160
  ]
161
161
  },
162
162
  {
@@ -166,7 +166,7 @@ SelectRelationControl.setting = [
166
166
  {
167
167
  key: "super-setting",
168
168
  visible: true
169
- },
169
+ }
170
170
  ];
171
171
  export default SelectRelationControl;
172
172
  export { SelectRelationControl as DesignerSelectRelationControl };
@@ -98,10 +98,10 @@ var SelectRelationControlPropertyRules = /*#__PURE__*/ function(OptionAndDataSou
98
98
  type: "string",
99
99
  required: true,
100
100
  message: RulesMessage.getMessage("pleaseEnterList")
101
- },
101
+ }
102
102
  ]
103
103
  }
104
- },
104
+ }
105
105
  ];
106
106
  return _this;
107
107
  }
@@ -115,27 +115,27 @@ var SelectRelationProperty = /*#__PURE__*/ function(BaseControlProperty) {
115
115
  _classCallCheck(this, SelectRelationProperty);
116
116
  var _this;
117
117
  _this = _super.call(this, props);
118
- var ref;
119
- _this.options = initOptions((ref = props === null || props === void 0 ? void 0 : props.options) !== null && ref !== void 0 ? ref : []);
120
- var ref1;
121
- _this.optionConfig = (ref1 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && ref1 !== void 0 ? ref1 : "datasource";
118
+ var _props_options;
119
+ _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : []);
120
+ var _props_optionConfig;
121
+ _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "datasource";
122
122
  _this.listPageBind = new ListBind(props === null || props === void 0 ? void 0 : props.listPageBind);
123
123
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
124
- var ref2;
125
- _this.caption = (ref2 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref2 !== void 0 ? ref2 : SelectRelationControl.controlName;
126
- var ref3;
127
- _this.placeholder = (ref3 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref3 !== void 0 ? ref3 : "请选择";
128
- var ref4;
129
- _this.defaultValue = (ref4 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref4 !== void 0 ? ref4 : "";
124
+ var _props_caption;
125
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SelectRelationControl.controlName;
126
+ var _props_placeholder;
127
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择";
128
+ var _props_defaultValue;
129
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
130
130
  _this.multistageFilling = [];
131
131
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
132
132
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
133
- var ref;
134
- (ref = _this.multistageFilling) === null || ref === void 0 ? void 0 : ref.push(new MultistageFillingItem(item));
133
+ var _this_multistageFilling;
134
+ (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
135
135
  });
136
136
  }
137
- var ref5;
138
- _this.canViewForm = (ref5 = props === null || props === void 0 ? void 0 : props.canViewForm) !== null && ref5 !== void 0 ? ref5 : false;
137
+ var _props_canViewForm;
138
+ _this.canViewForm = (_props_canViewForm = props === null || props === void 0 ? void 0 : props.canViewForm) !== null && _props_canViewForm !== void 0 ? _props_canViewForm : false;
139
139
  return _this;
140
140
  }
141
141
  return SelectRelationProperty;