@byteluck-fe/model-driven-controls 1.8.1-beta.5 → 2.0.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 (163) 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 +18 -118
  60. package/dist/esm/columnControls/OperationColumn/property.js +11 -11
  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 +18 -118
  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/package.json +5 -5
@@ -85,7 +85,7 @@ var Department2PropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules)
85
85
  {
86
86
  type: "object",
87
87
  message: RulesMessage.getMessage("isNotObject")
88
- }
88
+ },
89
89
  ];
90
90
  _this.businessScope = {
91
91
  type: "any"
@@ -123,41 +123,41 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
123
123
  _classCallCheck(this, Department2Property);
124
124
  var _this;
125
125
  _this = _super.call(this, props);
126
- var _props_showType;
127
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "default";
128
- var _props_multiple;
129
- _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
130
- var _props_range;
131
- _this.range = (_props_range = props === null || props === void 0 ? void 0 : props.range) !== null && _props_range !== void 0 ? _props_range : "all";
132
- var _props_defaultValueType;
133
- _this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : "none";
134
- var _props_rangeOptions;
135
- _this.rangeOptions = (_props_rangeOptions = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
136
- var _props_defaultValue;
137
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
138
- var _props_displayLevel;
139
- _this.displayLevel = (_props_displayLevel = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _props_displayLevel !== void 0 ? _props_displayLevel : 1;
140
- var _props_showSubDept;
141
- _this.showSubDept = (_props_showSubDept = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _props_showSubDept !== void 0 ? _props_showSubDept : true;
142
- var _props_caption;
143
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : Department2Control.controlName;
144
- var _props_placeholder;
145
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择部门";
146
- var _props_datasourceBind;
147
- _this.datasourceBind = new SuperDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
126
+ var ref;
127
+ _this.showType = (ref = props === null || props === void 0 ? void 0 : props.showType) !== null && ref !== void 0 ? ref : "default";
128
+ var ref1;
129
+ _this.multiple = (ref1 = props === null || props === void 0 ? void 0 : props.multiple) !== null && ref1 !== void 0 ? ref1 : false;
130
+ var ref2;
131
+ _this.range = (ref2 = props === null || props === void 0 ? void 0 : props.range) !== null && ref2 !== void 0 ? ref2 : "all";
132
+ var ref3;
133
+ _this.defaultValueType = (ref3 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && ref3 !== void 0 ? ref3 : "none";
134
+ var ref4;
135
+ _this.rangeOptions = (ref4 = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && ref4 !== void 0 ? ref4 : [];
136
+ var ref5;
137
+ _this.defaultValue = (ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref5 !== void 0 ? ref5 : [];
138
+ var ref6;
139
+ _this.displayLevel = (ref6 = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && ref6 !== void 0 ? ref6 : 1;
140
+ var ref7;
141
+ _this.showSubDept = (ref7 = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && ref7 !== void 0 ? ref7 : true;
142
+ var ref8;
143
+ _this.caption = (ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref8 !== void 0 ? ref8 : Department2Control.controlName;
144
+ var ref9;
145
+ _this.placeholder = (ref9 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref9 !== void 0 ? ref9 : "请选择部门";
146
+ var ref10;
147
+ _this.datasourceBind = new SuperDataSourceBind((ref10 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && ref10 !== void 0 ? ref10 : {
148
148
  attributes: Department2Control.controlCustomAttributes
149
149
  });
150
- var _props_datasourceType;
151
- _this.datasourceType = (_props_datasourceType = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && _props_datasourceType !== void 0 ? _props_datasourceType : DepartmentType.INTERNAL;
152
- var _props_businessScope;
153
- _this.businessScope = (_props_businessScope = props === null || props === void 0 ? void 0 : props.businessScope) !== null && _props_businessScope !== void 0 ? _props_businessScope : [];
154
- var _props_businessType;
155
- _this.businessType = (_props_businessType = props === null || props === void 0 ? void 0 : props.businessType) !== null && _props_businessType !== void 0 ? _props_businessType : AssignType.ALL;
150
+ var ref11;
151
+ _this.datasourceType = (ref11 = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && ref11 !== void 0 ? ref11 : DepartmentType.INTERNAL;
152
+ var ref12;
153
+ _this.businessScope = (ref12 = props === null || props === void 0 ? void 0 : props.businessScope) !== null && ref12 !== void 0 ? ref12 : [];
154
+ var ref13;
155
+ _this.businessType = (ref13 = props === null || props === void 0 ? void 0 : props.businessType) !== null && ref13 !== void 0 ? ref13 : AssignType.ALL;
156
156
  _this.multistageFilling = [];
157
157
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
158
158
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
159
- var _this_multistageFilling;
160
- (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
159
+ var ref;
160
+ (ref = _this.multistageFilling) === null || ref === void 0 ? void 0 : ref.push(new MultistageFillingItem(item));
161
161
  });
162
162
  }
163
163
  return _this;
@@ -133,7 +133,7 @@ ElectronicSignatureControl.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
  },
@@ -171,7 +171,7 @@ ElectronicSignatureControl.setting = [
171
171
  {
172
172
  key: "super-setting",
173
173
  visible: true
174
- }
174
+ },
175
175
  ];
176
176
  export default ElectronicSignatureControl;
177
177
  export { ElectronicSignatureControl as DesignerElectronicSignatureControl };
@@ -172,18 +172,18 @@ var ElectronicSignatureProperty = /*#__PURE__*/ function(BaseControlProperty) {
172
172
  _this = _super.call(this, props);
173
173
  _this.command = "";
174
174
  _this.isLoading = false;
175
- var _props_caption;
176
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : ElectronicSignatureControl.controlName;
177
- var _props_content;
178
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : "发起签署";
179
- var _props_buttonType;
180
- _this.buttonType = (_props_buttonType = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _props_buttonType !== void 0 ? _props_buttonType : "primary";
181
- var _props_showType;
182
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "text";
183
- var _props_color;
184
- _this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : "primary";
185
- var _props_icon;
186
- _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : "iconfenlei2";
175
+ var ref;
176
+ _this.caption = (ref = props === null || props === void 0 ? void 0 : props.caption) !== null && ref !== void 0 ? ref : ElectronicSignatureControl.controlName;
177
+ var ref1;
178
+ _this.content = (ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && ref1 !== void 0 ? ref1 : "发起签署";
179
+ var ref2;
180
+ _this.buttonType = (ref2 = props === null || props === void 0 ? void 0 : props.buttonType) !== null && ref2 !== void 0 ? ref2 : "primary";
181
+ var ref3;
182
+ _this.showType = (ref3 = props === null || props === void 0 ? void 0 : props.showType) !== null && ref3 !== void 0 ? ref3 : "text";
183
+ var ref4;
184
+ _this.color = (ref4 = props === null || props === void 0 ? void 0 : props.color) !== null && ref4 !== void 0 ? ref4 : "primary";
185
+ var ref5;
186
+ _this.icon = (ref5 = props === null || props === void 0 ? void 0 : props.icon) !== null && ref5 !== void 0 ? ref5 : "iconfenlei2";
187
187
  _this.signatureConfig = new ElectronicSignatureConfig(props === null || props === void 0 ? void 0 : props.signatureConfig);
188
188
  return _this;
189
189
  }
@@ -129,7 +129,7 @@ EmployeeControl.setting = [
129
129
  key: "caption",
130
130
  showItems: [
131
131
  COMMON_SETTING_TYPE.CAPTION,
132
- COMMON_SETTING_TYPE.IS_HIDE_CAPTION
132
+ COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
133
133
  ],
134
134
  visible: true
135
135
  },
@@ -152,7 +152,7 @@ EmployeeControl.setting = [
152
152
  COMMON_SETTING_TYPE.REQUIRED,
153
153
  COMMON_SETTING_TYPE.IS_HIDE,
154
154
  COMMON_SETTING_TYPE.MULTIPLE,
155
- COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
155
+ COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
156
156
  ]
157
157
  },
158
158
  {
@@ -174,7 +174,7 @@ EmployeeControl.setting = [
174
174
  {
175
175
  key: "super-setting",
176
176
  visible: true
177
- }
177
+ },
178
178
  ];
179
179
  export default EmployeeControl;
180
180
  export { EmployeeControl as DesignerEmployeeControl };
@@ -92,27 +92,27 @@ var EmployeeProperty = /*#__PURE__*/ function(BaseControlProperty) {
92
92
  _classCallCheck(this, EmployeeProperty);
93
93
  var _this;
94
94
  _this = _super.call(this, props);
95
- var _props_showType;
96
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "default";
97
- var _props_range;
98
- _this.range = (_props_range = props === null || props === void 0 ? void 0 : props.range) !== null && _props_range !== void 0 ? _props_range : "all";
99
- var _props_rangeOptions;
100
- _this.rangeOptions = (_props_rangeOptions = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
101
- var _props_multiple;
102
- _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
103
- var _props_defaultValueType;
104
- _this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : "none";
105
- var _props_defaultValue;
106
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
107
- var _props_caption;
108
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : EmployeeControl.controlName;
109
- var _props_placeholder;
110
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入人员姓名或邮箱";
95
+ var ref;
96
+ _this.showType = (ref = props === null || props === void 0 ? void 0 : props.showType) !== null && ref !== void 0 ? ref : "default";
97
+ var ref1;
98
+ _this.range = (ref1 = props === null || props === void 0 ? void 0 : props.range) !== null && ref1 !== void 0 ? ref1 : "all";
99
+ var ref2;
100
+ _this.rangeOptions = (ref2 = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && ref2 !== void 0 ? ref2 : [];
101
+ var ref3;
102
+ _this.multiple = (ref3 = props === null || props === void 0 ? void 0 : props.multiple) !== null && ref3 !== void 0 ? ref3 : false;
103
+ var ref4;
104
+ _this.defaultValueType = (ref4 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && ref4 !== void 0 ? ref4 : "none";
105
+ var ref5;
106
+ _this.defaultValue = (ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref5 !== void 0 ? ref5 : [];
107
+ var ref6;
108
+ _this.caption = (ref6 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref6 !== void 0 ? ref6 : EmployeeControl.controlName;
109
+ var ref7;
110
+ _this.placeholder = (ref7 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref7 !== void 0 ? ref7 : "请输入人员姓名或邮箱";
111
111
  _this.multistageFilling = [];
112
112
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
113
113
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
114
- var _this_multistageFilling;
115
- (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
114
+ var ref;
115
+ (ref = _this.multistageFilling) === null || ref === void 0 ? void 0 : ref.push(new MultistageFillingItem(item));
116
116
  });
117
117
  }
118
118
  return _this;
@@ -124,7 +124,7 @@ var Employee2Control = /*#__PURE__*/ function(DesignerFormControl) {
124
124
  key: "displayBoList",
125
125
  name: "显示值",
126
126
  required: true
127
- }
127
+ },
128
128
  ];
129
129
  }
130
130
  }
@@ -141,7 +141,7 @@ Employee2Control.setting = [
141
141
  key: "caption",
142
142
  showItems: [
143
143
  COMMON_SETTING_TYPE.CAPTION,
144
- COMMON_SETTING_TYPE.IS_HIDE_CAPTION
144
+ COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
145
145
  ],
146
146
  visible: true
147
147
  },
@@ -164,7 +164,7 @@ Employee2Control.setting = [
164
164
  COMMON_SETTING_TYPE.REQUIRED,
165
165
  COMMON_SETTING_TYPE.IS_HIDE,
166
166
  COMMON_SETTING_TYPE.MULTIPLE,
167
- COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
167
+ COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
168
168
  ]
169
169
  },
170
170
  {
@@ -186,7 +186,7 @@ Employee2Control.setting = [
186
186
  {
187
187
  key: "super-setting",
188
188
  visible: true
189
- }
189
+ },
190
190
  ];
191
191
  export default Employee2Control;
192
192
  export { Employee2Control as DesignerEmployee2Control };
@@ -85,7 +85,7 @@ var Employee2PropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
85
85
  {
86
86
  type: "object",
87
87
  message: RulesMessage.getMessage("isNotObject")
88
- }
88
+ },
89
89
  ];
90
90
  _this.externalScope = {
91
91
  type: "any"
@@ -123,40 +123,40 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
123
123
  _classCallCheck(this, Employee2Property);
124
124
  var _this;
125
125
  _this = _super.call(this, props);
126
- var _props_showType;
127
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "default";
128
- var _props_range;
129
- _this.range = (_props_range = props === null || props === void 0 ? void 0 : props.range) !== null && _props_range !== void 0 ? _props_range : "all";
130
- var _props_rangeOptions;
131
- _this.rangeOptions = (_props_rangeOptions = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
132
- var _props_multiple;
133
- _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
134
- var _props_defaultValueType;
135
- _this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : "none";
136
- var _props_defaultValue;
137
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
138
- var _props_caption;
139
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : Employee2Control.controlName;
140
- var _props_placeholder;
141
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入人员姓名或邮箱";
142
- var _props_datasourceBind;
143
- _this.datasourceBind = new SuperDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
126
+ var ref;
127
+ _this.showType = (ref = props === null || props === void 0 ? void 0 : props.showType) !== null && ref !== void 0 ? ref : "default";
128
+ var ref1;
129
+ _this.range = (ref1 = props === null || props === void 0 ? void 0 : props.range) !== null && ref1 !== void 0 ? ref1 : "all";
130
+ var ref2;
131
+ _this.rangeOptions = (ref2 = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && ref2 !== void 0 ? ref2 : [];
132
+ var ref3;
133
+ _this.multiple = (ref3 = props === null || props === void 0 ? void 0 : props.multiple) !== null && ref3 !== void 0 ? ref3 : false;
134
+ var ref4;
135
+ _this.defaultValueType = (ref4 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && ref4 !== void 0 ? ref4 : "none";
136
+ var ref5;
137
+ _this.defaultValue = (ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref5 !== void 0 ? ref5 : [];
138
+ var ref6;
139
+ _this.caption = (ref6 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref6 !== void 0 ? ref6 : Employee2Control.controlName;
140
+ var ref7;
141
+ _this.placeholder = (ref7 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref7 !== void 0 ? ref7 : "请输入人员姓名或邮箱";
142
+ var ref8;
143
+ _this.datasourceBind = new SuperDataSourceBind((ref8 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && ref8 !== void 0 ? ref8 : {
144
144
  attributes: Employee2Control.controlCustomAttributes
145
145
  });
146
- var _props_datasourceType;
147
- _this.datasourceType = (_props_datasourceType = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && _props_datasourceType !== void 0 ? _props_datasourceType : OrganizeType.INTERNAL //默认内部组织 EXTERNAL 外部组织
146
+ var ref9;
147
+ _this.datasourceType = (ref9 = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && ref9 !== void 0 ? ref9 : OrganizeType.INTERNAL //默认内部组织 EXTERNAL 外部组织
148
148
  ;
149
- var _props_insideType;
150
- _this.insideType = (_props_insideType = props === null || props === void 0 ? void 0 : props.insideType) !== null && _props_insideType !== void 0 ? _props_insideType : InternalType.ADMIN;
151
- var _props_externalType;
152
- _this.externalType = (_props_externalType = props === null || props === void 0 ? void 0 : props.externalType) !== null && _props_externalType !== void 0 ? _props_externalType : AssignType.ALL;
153
- var _props_externalScope;
154
- _this.externalScope = (_props_externalScope = props === null || props === void 0 ? void 0 : props.externalScope) !== null && _props_externalScope !== void 0 ? _props_externalScope : [];
149
+ var ref10;
150
+ _this.insideType = (ref10 = props === null || props === void 0 ? void 0 : props.insideType) !== null && ref10 !== void 0 ? ref10 : InternalType.ADMIN;
151
+ var ref11;
152
+ _this.externalType = (ref11 = props === null || props === void 0 ? void 0 : props.externalType) !== null && ref11 !== void 0 ? ref11 : AssignType.ALL;
153
+ var ref12;
154
+ _this.externalScope = (ref12 = props === null || props === void 0 ? void 0 : props.externalScope) !== null && ref12 !== void 0 ? ref12 : [];
155
155
  _this.multistageFilling = [];
156
156
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
157
157
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
158
- var _this_multistageFilling;
159
- (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
158
+ var ref;
159
+ (ref = _this.multistageFilling) === null || ref === void 0 ? void 0 : ref.push(new MultistageFillingItem(item));
160
160
  });
161
161
  }
162
162
  return _this;
@@ -93,13 +93,13 @@ var ImageControl = /*#__PURE__*/ function(DesignerAttachmentControl) {
93
93
  function ImageControl(props) {
94
94
  _classCallCheck(this, ImageControl);
95
95
  var _this;
96
- var _props_props, _props_props1;
96
+ var ref, ref1;
97
97
  _this = _super.call(this, props);
98
98
  _this.props.showType = "image";
99
- var _props_props_caption;
100
- _this.props.caption = (_props_props_caption = props === null || props === void 0 ? void 0 : (_props_props = props.props) === null || _props_props === void 0 ? void 0 : _props_props.caption) !== null && _props_props_caption !== void 0 ? _props_props_caption : ImageControl.controlName;
101
- var _props_props_placeholder;
102
- _this.props.placeholder = (_props_props_placeholder = props === null || props === void 0 ? void 0 : (_props_props1 = props.props) === null || _props_props1 === void 0 ? void 0 : _props_props1.placeholder) !== null && _props_props_placeholder !== void 0 ? _props_props_placeholder : "上传图片";
99
+ var ref2;
100
+ _this.props.caption = (ref2 = props === null || props === void 0 ? void 0 : (ref = props.props) === null || ref === void 0 ? void 0 : ref.caption) !== null && ref2 !== void 0 ? ref2 : ImageControl.controlName;
101
+ var ref3;
102
+ _this.props.placeholder = (ref3 = props === null || props === void 0 ? void 0 : (ref1 = props.props) === null || ref1 === void 0 ? void 0 : ref1.placeholder) !== null && ref3 !== void 0 ? ref3 : "上传图片";
103
103
  return _this;
104
104
  }
105
105
  _createClass(ImageControl, null, [
@@ -134,7 +134,7 @@ ImageControl.setting = [
134
134
  key: "caption",
135
135
  showItems: [
136
136
  COMMON_SETTING_TYPE.CAPTION,
137
- COMMON_SETTING_TYPE.IS_HIDE_CAPTION
137
+ COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
138
138
  ],
139
139
  visible: true
140
140
  },
@@ -157,7 +157,7 @@ ImageControl.setting = [
157
157
  COMMON_SETTING_TYPE.REQUIRED,
158
158
  COMMON_SETTING_TYPE.IS_HIDE,
159
159
  COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
160
- COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
160
+ COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
161
161
  ]
162
162
  },
163
163
  {
@@ -171,7 +171,7 @@ ImageControl.setting = [
171
171
  {
172
172
  key: "super-setting",
173
173
  visible: true
174
- }
174
+ },
175
175
  ];
176
176
  export default ImageControl;
177
177
  export { ImageControl as DesignerImageControl };
@@ -91,15 +91,15 @@ var ImageControl = /*#__PURE__*/ function(RuntimeAttachmentControl) {
91
91
  function ImageControl(props) {
92
92
  _classCallCheck(this, ImageControl);
93
93
  var _this;
94
- var _props_props, _props_props1, _props_props2;
94
+ var ref, ref1, ref2;
95
95
  _this = _super.call(this, props);
96
96
  _this.props.showType = "image";
97
- var _props_props_maxLimit;
98
- _this.props.maxLimit = (_props_props_maxLimit = props === null || props === void 0 ? void 0 : (_props_props = props.props) === null || _props_props === void 0 ? void 0 : _props_props.maxLimit) !== null && _props_props_maxLimit !== void 0 ? _props_props_maxLimit : 9;
99
- var _props_props_caption;
100
- _this.props.caption = (_props_props_caption = props === null || props === void 0 ? void 0 : (_props_props1 = props.props) === null || _props_props1 === void 0 ? void 0 : _props_props1.caption) !== null && _props_props_caption !== void 0 ? _props_props_caption : "图片";
101
- var _props_props_placeholder;
102
- _this.props.placeholder = (_props_props_placeholder = props === null || props === void 0 ? void 0 : (_props_props2 = props.props) === null || _props_props2 === void 0 ? void 0 : _props_props2.placeholder) !== null && _props_props_placeholder !== void 0 ? _props_props_placeholder : "上传图片";
97
+ var ref3;
98
+ _this.props.maxLimit = (ref3 = props === null || props === void 0 ? void 0 : (ref = props.props) === null || ref === void 0 ? void 0 : ref.maxLimit) !== null && ref3 !== void 0 ? ref3 : 9;
99
+ var ref4;
100
+ _this.props.caption = (ref4 = props === null || props === void 0 ? void 0 : (ref1 = props.props) === null || ref1 === void 0 ? void 0 : ref1.caption) !== null && ref4 !== void 0 ? ref4 : "图片";
101
+ var ref5;
102
+ _this.props.placeholder = (ref5 = props === null || props === void 0 ? void 0 : (ref2 = props.props) === null || ref2 === void 0 ? void 0 : ref2.placeholder) !== null && ref5 !== void 0 ? ref5 : "上传图片";
103
103
  return _this;
104
104
  }
105
105
  _createClass(ImageControl, null, [
@@ -139,7 +139,7 @@ InputControl.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
  },
@@ -163,7 +163,7 @@ InputControl.setting = [
163
163
  COMMON_SETTING_TYPE.IS_HIDE,
164
164
  COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
165
165
  COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
166
- COMMON_SETTING_TYPE.ENCRYPTED
166
+ COMMON_SETTING_TYPE.ENCRYPTED,
167
167
  ]
168
168
  },
169
169
  {
@@ -185,7 +185,7 @@ InputControl.setting = [
185
185
  {
186
186
  key: "super-setting",
187
187
  visible: true
188
- }
188
+ },
189
189
  ];
190
190
  export default InputControl;
191
191
  export { InputControl as DesignerInputControl };
@@ -101,7 +101,7 @@ var InputControlPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules)
101
101
  {
102
102
  pattern: "",
103
103
  message: ""
104
- }
104
+ },
105
105
  ];
106
106
  _this.maxLength.min = props.minLength;
107
107
  _this.minLength.max = props.maxLength;
@@ -154,21 +154,21 @@ var InputProperty = /*#__PURE__*/ function(BaseControlProperty) {
154
154
  _classCallCheck(this, InputProperty);
155
155
  var _this;
156
156
  _this = _super.call(this, props);
157
- var _props_maxLength;
158
- _this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 200;
159
- var _props_minLength;
160
- _this.minLength = (_props_minLength = props === null || props === void 0 ? void 0 : props.minLength) !== null && _props_minLength !== void 0 ? _props_minLength : 0;
157
+ var ref;
158
+ _this.maxLength = (ref = props === null || props === void 0 ? void 0 : props.maxLength) !== null && ref !== void 0 ? ref : 200;
159
+ var ref1;
160
+ _this.minLength = (ref1 = props === null || props === void 0 ? void 0 : props.minLength) !== null && ref1 !== void 0 ? ref1 : 0;
161
161
  _this.regularRules = new RegularRules(props === null || props === void 0 ? void 0 : props.regularRules);
162
- var _props_defaultValue;
163
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
164
- var _props_caption;
165
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : InputControl.controlName;
166
- var _props_placeholder;
167
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入";
168
- var _props_encrypted;
169
- _this.encrypted = (_props_encrypted = props === null || props === void 0 ? void 0 : props.encrypted) !== null && _props_encrypted !== void 0 ? _props_encrypted : false;
170
- var _props_encryptedMode;
171
- _this.encryptedMode = (_props_encryptedMode = props === null || props === void 0 ? void 0 : props.encryptedMode) !== null && _props_encryptedMode !== void 0 ? _props_encryptedMode : "";
162
+ var ref2;
163
+ _this.defaultValue = (ref2 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref2 !== void 0 ? ref2 : "";
164
+ var ref3;
165
+ _this.caption = (ref3 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref3 !== void 0 ? ref3 : InputControl.controlName;
166
+ var ref4;
167
+ _this.placeholder = (ref4 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref4 !== void 0 ? ref4 : "请输入";
168
+ var ref5;
169
+ _this.encrypted = (ref5 = props === null || props === void 0 ? void 0 : props.encrypted) !== null && ref5 !== void 0 ? ref5 : false;
170
+ var ref6;
171
+ _this.encryptedMode = (ref6 = props === null || props === void 0 ? void 0 : props.encryptedMode) !== null && ref6 !== void 0 ? ref6 : "";
172
172
  return _this;
173
173
  }
174
174
  return InputProperty;
@@ -124,7 +124,7 @@ var NumberControl = /*#__PURE__*/ function(DesignerFormControl) {
124
124
  _proto.toDataBindModel = function toDataBindModel(parentId) {
125
125
  var dataBindModel = _get(_getPrototypeOf(NumberControl.prototype), "toDataBindModel", this).call(this, parentId);
126
126
  if (dataBindModel && !Array.isArray(dataBindModel)) {
127
- var _this_props = this.props, precision = _this_props.precision, micrometer = _this_props.micrometer;
127
+ var _props = this.props, precision = _props.precision, micrometer = _props.micrometer;
128
128
  precision !== "" && (dataBindModel.props.precision = precision);
129
129
  dataBindModel.props.micrometer = micrometer;
130
130
  }
@@ -172,7 +172,7 @@ NumberControl.setting = [
172
172
  key: "caption",
173
173
  showItems: [
174
174
  COMMON_SETTING_TYPE.CAPTION,
175
- COMMON_SETTING_TYPE.IS_HIDE_CAPTION
175
+ COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
176
176
  ],
177
177
  visible: true
178
178
  },
@@ -200,7 +200,7 @@ NumberControl.setting = [
200
200
  COMMON_SETTING_TYPE.IS_HIDE,
201
201
  COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
202
202
  COMMON_SETTING_TYPE.IS_SHOW_UNIT,
203
- COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
203
+ COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
204
204
  ]
205
205
  },
206
206
  {
@@ -224,7 +224,7 @@ NumberControl.setting = [
224
224
  showItems: [
225
225
  COMMON_SETTING_TYPE.SHOW_UPPER_CASE,
226
226
  COMMON_SETTING_TYPE.MICROMETER,
227
- COMMON_SETTING_TYPE.PRECISION
227
+ COMMON_SETTING_TYPE.PRECISION,
228
228
  ],
229
229
  visible: true
230
230
  },
@@ -235,7 +235,7 @@ NumberControl.setting = [
235
235
  {
236
236
  key: "super-setting",
237
237
  visible: true
238
- }
238
+ },
239
239
  ];
240
240
  export default NumberControl;
241
241
  export { NumberControl as DesignerNumberControl };
@@ -91,7 +91,7 @@ var NumberControlPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules
91
91
  {
92
92
  pattern: "",
93
93
  message: ""
94
- }
94
+ },
95
95
  ];
96
96
  _this.rangeMax = {
97
97
  type: "any"
@@ -155,32 +155,32 @@ var NumberProperty = /*#__PURE__*/ function(BaseControlProperty) {
155
155
  _classCallCheck(this, NumberProperty);
156
156
  var _this;
157
157
  _this = _super.call(this, props);
158
- var _props_rangeMin;
159
- _this.rangeMin = (_props_rangeMin = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : "";
160
- var _props_rangeMax;
161
- _this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : "";
162
- var _props_numberType;
163
- _this.numberType = (_props_numberType = props === null || props === void 0 ? void 0 : props.numberType) !== null && _props_numberType !== void 0 ? _props_numberType : "number";
164
- var _props_percentageFormat;
165
- _this.percentageFormat = (_props_percentageFormat = props === null || props === void 0 ? void 0 : props.percentageFormat) !== null && _props_percentageFormat !== void 0 ? _props_percentageFormat : false;
166
- var _props_micrometer;
167
- _this.micrometer = (_props_micrometer = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _props_micrometer !== void 0 ? _props_micrometer : false;
168
- var _props_precision;
169
- _this.precision = (_props_precision = props === null || props === void 0 ? void 0 : props.precision) !== null && _props_precision !== void 0 ? _props_precision : 0;
170
- var _props_showUpperCase;
171
- _this.showUpperCase = (_props_showUpperCase = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _props_showUpperCase !== void 0 ? _props_showUpperCase : false;
172
- var _props_isShowUnit;
173
- _this.isShowUnit = (_props_isShowUnit = props === null || props === void 0 ? void 0 : props.isShowUnit) !== null && _props_isShowUnit !== void 0 ? _props_isShowUnit : false;
174
- var _props_unitPosition;
175
- _this.unitPosition = (_props_unitPosition = props === null || props === void 0 ? void 0 : props.unitPosition) !== null && _props_unitPosition !== void 0 ? _props_unitPosition : "right";
176
- var _props_unit;
177
- _this.unit = (_props_unit = props === null || props === void 0 ? void 0 : props.unit) !== null && _props_unit !== void 0 ? _props_unit : "";
178
- var _props_caption;
179
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : NumberControl.controlName;
180
- var _props_placeholder;
181
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入";
182
- var _props_defaultValue;
183
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
158
+ var ref;
159
+ _this.rangeMin = (ref = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && ref !== void 0 ? ref : "";
160
+ var ref1;
161
+ _this.rangeMax = (ref1 = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && ref1 !== void 0 ? ref1 : "";
162
+ var ref2;
163
+ _this.numberType = (ref2 = props === null || props === void 0 ? void 0 : props.numberType) !== null && ref2 !== void 0 ? ref2 : "number";
164
+ var ref3;
165
+ _this.percentageFormat = (ref3 = props === null || props === void 0 ? void 0 : props.percentageFormat) !== null && ref3 !== void 0 ? ref3 : false;
166
+ var ref4;
167
+ _this.micrometer = (ref4 = props === null || props === void 0 ? void 0 : props.micrometer) !== null && ref4 !== void 0 ? ref4 : false;
168
+ var ref5;
169
+ _this.precision = (ref5 = props === null || props === void 0 ? void 0 : props.precision) !== null && ref5 !== void 0 ? ref5 : 0;
170
+ var ref6;
171
+ _this.showUpperCase = (ref6 = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && ref6 !== void 0 ? ref6 : false;
172
+ var ref7;
173
+ _this.isShowUnit = (ref7 = props === null || props === void 0 ? void 0 : props.isShowUnit) !== null && ref7 !== void 0 ? ref7 : false;
174
+ var ref8;
175
+ _this.unitPosition = (ref8 = props === null || props === void 0 ? void 0 : props.unitPosition) !== null && ref8 !== void 0 ? ref8 : "right";
176
+ var ref9;
177
+ _this.unit = (ref9 = props === null || props === void 0 ? void 0 : props.unit) !== null && ref9 !== void 0 ? ref9 : "";
178
+ var ref10;
179
+ _this.caption = (ref10 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref10 !== void 0 ? ref10 : NumberControl.controlName;
180
+ var ref11;
181
+ _this.placeholder = (ref11 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref11 !== void 0 ? ref11 : "请输入";
182
+ var ref12;
183
+ _this.defaultValue = (ref12 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref12 !== void 0 ? ref12 : "";
184
184
  _this.regularRules = new RegularRules(props === null || props === void 0 ? void 0 : props.regularRules);
185
185
  return _this;
186
186
  }
@@ -137,7 +137,7 @@ RadioControl.setting = [
137
137
  key: "caption",
138
138
  showItems: [
139
139
  COMMON_SETTING_TYPE.CAPTION,
140
- COMMON_SETTING_TYPE.IS_HIDE_CAPTION
140
+ COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
141
141
  ],
142
142
  visible: true
143
143
  },
@@ -160,7 +160,7 @@ RadioControl.setting = [
160
160
  COMMON_SETTING_TYPE.REQUIRED,
161
161
  COMMON_SETTING_TYPE.IS_HIDE,
162
162
  COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
163
- COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
163
+ COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
164
164
  ]
165
165
  },
166
166
  {
@@ -174,7 +174,7 @@ RadioControl.setting = [
174
174
  {
175
175
  key: "super-setting",
176
176
  visible: true
177
- }
177
+ },
178
178
  ];
179
179
  export default RadioControl;
180
180
  export { RadioControl as DesignerRadioControl };