@byteluck-fe/model-driven-controls 7.0.0-props.7 → 7.0.0-props.9

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 (137) hide show
  1. package/dist/esm/baseControls/BatchDeleteButton/property.js +10 -18
  2. package/dist/esm/baseControls/BatchPrintListButton/property.js +6 -9
  3. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +3 -4
  4. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +7 -12
  5. package/dist/esm/baseControls/Button/property.js +10 -18
  6. package/dist/esm/baseControls/Comment/property.js +2 -2
  7. package/dist/esm/baseControls/CreateFormListButton/property.js +5 -8
  8. package/dist/esm/baseControls/Dashboard/property.js +9 -16
  9. package/dist/esm/baseControls/Divider/designer.js +33 -1
  10. package/dist/esm/baseControls/Divider/property.js +12 -7
  11. package/dist/esm/baseControls/ExportListButton/property.js +6 -9
  12. package/dist/esm/baseControls/ExportRecordListButton/property.js +3 -4
  13. package/dist/esm/baseControls/FormSelectButton/property.js +4 -6
  14. package/dist/esm/baseControls/ImportRecordListButton/property.js +6 -9
  15. package/dist/esm/baseControls/InvoiceCheckButton/property.js +11 -19
  16. package/dist/esm/baseControls/Link/designer.js +33 -0
  17. package/dist/esm/baseControls/Link/property.js +9 -7
  18. package/dist/esm/baseControls/ListSelectButton/property.js +6 -10
  19. package/dist/esm/baseControls/ListViewSelect/property.js +4 -5
  20. package/dist/esm/baseControls/OperationButton/property.js +7 -12
  21. package/dist/esm/baseControls/ReferenceList/property.js +7 -12
  22. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +3 -4
  23. package/dist/esm/baseControls/Text/designer.js +8 -0
  24. package/dist/esm/baseControls/Text/property.js +18 -13
  25. package/dist/esm/baseControls/TextOcrButton/property.js +11 -19
  26. package/dist/esm/baseControls/Title/property.js +4 -6
  27. package/dist/esm/columnControls/ApprovalStatusColumn/property.js +4 -6
  28. package/dist/esm/columnControls/ArrayColumn/property.js +5 -8
  29. package/dist/esm/columnControls/AutoNumberColumn/property.js +3 -4
  30. package/dist/esm/columnControls/CustomColumn/property.js +4 -6
  31. package/dist/esm/columnControls/DecimalColumn/property.js +8 -14
  32. package/dist/esm/columnControls/DepartmentColumn/property.js +3 -4
  33. package/dist/esm/columnControls/EmployeeColumn/property.js +3 -4
  34. package/dist/esm/columnControls/FileColumn/property.js +3 -4
  35. package/dist/esm/columnControls/GroupColumn/designer.js +2 -1
  36. package/dist/esm/columnControls/GroupColumn/property.js +2 -2
  37. package/dist/esm/columnControls/ImageColumn/property.js +2 -2
  38. package/dist/esm/columnControls/LocationColumn/property.js +3 -4
  39. package/dist/esm/columnControls/OperationColumn/designer.js +12 -4
  40. package/dist/esm/columnControls/OperationColumn/property.js +6 -10
  41. package/dist/esm/columnControls/OrderColumn/property.js +7 -12
  42. package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
  43. package/dist/esm/columnControls/TextColumn/property.js +5 -8
  44. package/dist/esm/columnControls/TimescopeColumn/property.js +5 -8
  45. package/dist/esm/columnControls/TimestampColumn/property.js +5 -8
  46. package/dist/esm/columnControls/VarcharColumn/property.js +7 -12
  47. package/dist/esm/formControls/Address/property.js +6 -10
  48. package/dist/esm/formControls/Amount/property.js +13 -24
  49. package/dist/esm/formControls/Attachment/property.js +26 -42
  50. package/dist/esm/formControls/AutoNumber/property.js +4 -6
  51. package/dist/esm/formControls/Calc/property.js +10 -18
  52. package/dist/esm/formControls/Cascader/property.js +17 -31
  53. package/dist/esm/formControls/Checkbox/property.js +18 -33
  54. package/dist/esm/formControls/DatePicker/designer.js +4 -0
  55. package/dist/esm/formControls/DatePicker/property.js +19 -25
  56. package/dist/esm/formControls/DateRange/property.js +13 -23
  57. package/dist/esm/formControls/Department/property.js +12 -22
  58. package/dist/esm/formControls/Department2/designer.js +8 -0
  59. package/dist/esm/formControls/Department2/property.js +29 -34
  60. package/dist/esm/formControls/ElectronicSignature/property.js +7 -12
  61. package/dist/esm/formControls/Employee/property.js +10 -18
  62. package/dist/esm/formControls/Employee2/designer.js +4 -0
  63. package/dist/esm/formControls/Employee2/property.js +19 -33
  64. package/dist/esm/formControls/Image/designer.js +8 -8
  65. package/dist/esm/formControls/Image/property.js +8 -14
  66. package/dist/esm/formControls/Input/property.js +11 -20
  67. package/dist/esm/formControls/Number/property.js +17 -32
  68. package/dist/esm/formControls/OrganizationSelection/property.js +19 -36
  69. package/dist/esm/formControls/Radio/property.js +15 -28
  70. package/dist/esm/formControls/RichText/designer.js +8 -0
  71. package/dist/esm/formControls/RichText/property.js +51 -21
  72. package/dist/esm/formControls/Score/property.js +11 -19
  73. package/dist/esm/formControls/SearchDateRange/property.js +14 -25
  74. package/dist/esm/formControls/SearchNumberRange/property.js +7 -12
  75. package/dist/esm/formControls/Select/property.js +14 -26
  76. package/dist/esm/formControls/SelectMultiple/property.js +13 -24
  77. package/dist/esm/formControls/SelectRelation/property.js +14 -26
  78. package/dist/esm/formControls/Textarea/property.js +11 -20
  79. package/dist/esm/formControls/TimePicker/property.js +8 -13
  80. package/dist/esm/formControls/TimeRange/property.js +10 -17
  81. package/dist/esm/formControls/Tree/designer.js +2 -1
  82. package/dist/esm/formControls/Tree/property.js +44 -38
  83. package/dist/esm/formControls/VueFormItem/property.js +6 -10
  84. package/dist/esm/formControls/VuePage/property.js +6 -10
  85. package/dist/esm/formControls/WPS/designer.js +9 -9
  86. package/dist/esm/formControls/WPS/property.js +13 -24
  87. package/dist/esm/framework.js +81 -121
  88. package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
  89. package/dist/esm/layoutControls/ActionBar/property.js +4 -6
  90. package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
  91. package/dist/esm/layoutControls/CardGroup/property.js +11 -20
  92. package/dist/esm/layoutControls/Col/property.js +4 -6
  93. package/dist/esm/layoutControls/Collapse/designer.js +2 -2
  94. package/dist/esm/layoutControls/Collapse/property.js +4 -6
  95. package/dist/esm/layoutControls/CollapsePane/property.js +2 -2
  96. package/dist/esm/layoutControls/DataView/property.js +12 -13
  97. package/dist/esm/layoutControls/GridLayoutContainer/property.js +3 -4
  98. package/dist/esm/layoutControls/GridTableColumn/property.js +11 -20
  99. package/dist/esm/layoutControls/ListView/property.js +15 -28
  100. package/dist/esm/layoutControls/Page/property.js +2 -2
  101. package/dist/esm/layoutControls/Position/property.js +5 -8
  102. package/dist/esm/layoutControls/Row/property.js +6 -10
  103. package/dist/esm/layoutControls/Step/designer.js +2 -2
  104. package/dist/esm/layoutControls/Step/property.js +12 -22
  105. package/dist/esm/layoutControls/StepPane/property.js +9 -16
  106. package/dist/esm/layoutControls/SubTableColumn/property.js +6 -10
  107. package/dist/esm/layoutControls/Tab/designer.js +2 -2
  108. package/dist/esm/layoutControls/Tab/property.js +6 -10
  109. package/dist/esm/layoutControls/TabPane/property.js +2 -2
  110. package/dist/esm/layoutControls/TableLayout/designer.js +6 -1
  111. package/dist/esm/layoutControls/TableLayout/property.js +18 -29
  112. package/dist/esm/layoutControls/TableLayoutCol/property.js +11 -20
  113. package/dist/esm/layoutControls/TableLayoutRow/property.js +3 -4
  114. package/dist/esm/layoutControls/TableLayoutWrapper/property.js +4 -6
  115. package/dist/esm/listControls/GridTable/designer.js +12 -4
  116. package/dist/esm/listControls/GridTable/property.js +15 -19
  117. package/dist/esm/listControls/SubTable/property.js +36 -70
  118. package/dist/esm/searchControls/SimpleSearch/property.js +13 -24
  119. package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
  120. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
  121. package/dist/esm/wrapControls/GridLayoutWrap/property.js +2 -2
  122. package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
  123. package/dist/index.umd.js +1 -1
  124. package/dist/types/baseControls/Divider/property.d.ts +28 -1
  125. package/dist/types/baseControls/Link/property.d.ts +8 -0
  126. package/dist/types/baseControls/Text/property.d.ts +29 -0
  127. package/dist/types/columnControls/GroupColumn/designer.d.ts +1 -1
  128. package/dist/types/formControls/DatePicker/property.d.ts +4 -0
  129. package/dist/types/formControls/Department2/property.d.ts +14 -1
  130. package/dist/types/formControls/Employee2/property.d.ts +2 -0
  131. package/dist/types/formControls/RichText/property.d.ts +4 -0
  132. package/dist/types/formControls/Tree/property.d.ts +31 -0
  133. package/dist/types/framework.d.ts +6 -0
  134. package/dist/types/layoutControls/DataView/property.d.ts +5 -0
  135. package/dist/types/layoutControls/TableLayout/property.d.ts +2 -0
  136. package/dist/types/layoutControls/TableLayoutCol/property.d.ts +5 -5
  137. package/package.json +5 -5
@@ -156,42 +156,27 @@ var NumberProperty = /*#__PURE__*/ function(BaseControlProperty) {
156
156
  function NumberProperty(props) {
157
157
  _class_call_check(this, NumberProperty);
158
158
  var _this;
159
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15;
159
160
  _this = _call_super(this, NumberProperty, [
160
161
  props
161
162
  ]), _define_property(_this, "rangeMin", void 0), _define_property(_this, "rangeMax", void 0), _define_property(_this, "numberType", void 0), _define_property(_this, "percentageFormat", void 0), _define_property(_this, "micrometer", void 0), _define_property(_this, "precision", void 0), _define_property(_this, "showUpperCase", void 0), _define_property(_this, "isShowUnit", void 0), _define_property(_this, "unitPosition", void 0), _define_property(_this, "unit", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "regularRules", void 0), _define_property(_this, "isShowControlButton", void 0), _define_property(_this, "controlButtonPosition", void 0), _define_property(_this, "step", void 0);
162
- var _props_rangeMin;
163
- _this.rangeMin = (_props_rangeMin = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : '';
164
- var _props_rangeMax;
165
- _this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : '';
166
- var _props_numberType;
167
- _this.numberType = (_props_numberType = props === null || props === void 0 ? void 0 : props.numberType) !== null && _props_numberType !== void 0 ? _props_numberType : 'number';
168
- var _props_percentageFormat;
169
- _this.percentageFormat = (_props_percentageFormat = props === null || props === void 0 ? void 0 : props.percentageFormat) !== null && _props_percentageFormat !== void 0 ? _props_percentageFormat : false;
170
- var _props_micrometer;
171
- _this.micrometer = (_props_micrometer = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _props_micrometer !== void 0 ? _props_micrometer : false;
172
- var _props_precision;
173
- _this.precision = (_props_precision = props === null || props === void 0 ? void 0 : props.precision) !== null && _props_precision !== void 0 ? _props_precision : 0;
174
- var _props_showUpperCase;
175
- _this.showUpperCase = (_props_showUpperCase = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _props_showUpperCase !== void 0 ? _props_showUpperCase : false;
176
- var _props_isShowUnit;
177
- _this.isShowUnit = (_props_isShowUnit = props === null || props === void 0 ? void 0 : props.isShowUnit) !== null && _props_isShowUnit !== void 0 ? _props_isShowUnit : false;
178
- var _props_unitPosition;
179
- _this.unitPosition = (_props_unitPosition = props === null || props === void 0 ? void 0 : props.unitPosition) !== null && _props_unitPosition !== void 0 ? _props_unitPosition : 'right';
180
- var _props_unit;
181
- _this.unit = (_props_unit = props === null || props === void 0 ? void 0 : props.unit) !== null && _props_unit !== void 0 ? _props_unit : '';
182
- var _props_caption;
183
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : NumberControl.controlName;
184
- var _props_placeholder;
185
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnter', null, '请输入');
186
- var _props_defaultValue;
187
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : '';
163
+ _this.rangeMin = (_ref = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _ref !== void 0 ? _ref : '';
164
+ _this.rangeMax = (_ref1 = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _ref1 !== void 0 ? _ref1 : '';
165
+ _this.numberType = (_ref2 = props === null || props === void 0 ? void 0 : props.numberType) !== null && _ref2 !== void 0 ? _ref2 : 'number';
166
+ _this.percentageFormat = (_ref3 = props === null || props === void 0 ? void 0 : props.percentageFormat) !== null && _ref3 !== void 0 ? _ref3 : false;
167
+ _this.micrometer = (_ref4 = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _ref4 !== void 0 ? _ref4 : false;
168
+ _this.precision = (_ref5 = props === null || props === void 0 ? void 0 : props.precision) !== null && _ref5 !== void 0 ? _ref5 : 0;
169
+ _this.showUpperCase = (_ref6 = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _ref6 !== void 0 ? _ref6 : false;
170
+ _this.isShowUnit = (_ref7 = props === null || props === void 0 ? void 0 : props.isShowUnit) !== null && _ref7 !== void 0 ? _ref7 : false;
171
+ _this.unitPosition = (_ref8 = props === null || props === void 0 ? void 0 : props.unitPosition) !== null && _ref8 !== void 0 ? _ref8 : 'right';
172
+ _this.unit = (_ref9 = props === null || props === void 0 ? void 0 : props.unit) !== null && _ref9 !== void 0 ? _ref9 : '';
173
+ _this.caption = (_ref10 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref10 !== void 0 ? _ref10 : NumberControl.controlName;
174
+ _this.placeholder = (_ref11 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref11 !== void 0 ? _ref11 : getLocaleText('CMD.pleaseEnter', null, '请输入');
175
+ _this.defaultValue = (_ref12 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref12 !== void 0 ? _ref12 : '';
188
176
  _this.regularRules = new RegularRules(props === null || props === void 0 ? void 0 : props.regularRules);
189
- var _props_isShowControlButton;
190
- _this.isShowControlButton = (_props_isShowControlButton = props === null || props === void 0 ? void 0 : props.isShowControlButton) !== null && _props_isShowControlButton !== void 0 ? _props_isShowControlButton : false;
191
- var _props_controlButtonPosition;
192
- _this.controlButtonPosition = (_props_controlButtonPosition = props === null || props === void 0 ? void 0 : props.controlButtonPosition) !== null && _props_controlButtonPosition !== void 0 ? _props_controlButtonPosition : 'between';
193
- var _props_step;
194
- _this.step = (_props_step = props === null || props === void 0 ? void 0 : props.step) !== null && _props_step !== void 0 ? _props_step : 1;
177
+ _this.isShowControlButton = (_ref13 = props === null || props === void 0 ? void 0 : props.isShowControlButton) !== null && _ref13 !== void 0 ? _ref13 : false;
178
+ _this.controlButtonPosition = (_ref14 = props === null || props === void 0 ? void 0 : props.controlButtonPosition) !== null && _ref14 !== void 0 ? _ref14 : 'between';
179
+ _this.step = (_ref15 = props === null || props === void 0 ? void 0 : props.step) !== null && _ref15 !== void 0 ? _ref15 : 1;
195
180
  return _this;
196
181
  }
197
182
  return NumberProperty;
@@ -124,49 +124,32 @@ var OrganizationSelectionProperty = /*#__PURE__*/ function(BaseControlProperty)
124
124
  function OrganizationSelectionProperty(props) {
125
125
  _class_call_check(this, OrganizationSelectionProperty);
126
126
  var _this;
127
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17;
127
128
  _this = _call_super(this, OrganizationSelectionProperty, [
128
129
  props
129
130
  ]), _define_property(_this, "showType", void 0), _define_property(_this, "range", void 0), _define_property(_this, "defaultValueType", void 0), _define_property(_this, "multiple", void 0), _define_property(_this, "rangeOptions", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "displayLevel", void 0), _define_property(_this, "showSubDept", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "listPageBind", void 0), _define_property(_this, "datasourceType", void 0), _define_property(_this, "businessType", void 0), _define_property(_this, "businessScope", void 0), _define_property(_this, "organizingFunction", void 0), _define_property(_this, "organizationView", void 0), _define_property(_this, "openMultistageFilling", void 0), _define_property(_this, "showSelectedDetail", void 0), _define_property(_this, "selectedContentConfig", void 0);
130
- var _props_showType;
131
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'default';
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_range;
135
- _this.range = (_props_range = props === null || props === void 0 ? void 0 : props.range) !== null && _props_range !== void 0 ? _props_range : 'all';
131
+ _this.showType = (_ref = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref !== void 0 ? _ref : 'default';
132
+ _this.multiple = (_ref1 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref1 !== void 0 ? _ref1 : false;
133
+ _this.range = (_ref2 = props === null || props === void 0 ? void 0 : props.range) !== null && _ref2 !== void 0 ? _ref2 : 'all';
136
134
  _this.listPageBind = new ListBind(props === null || props === void 0 ? void 0 : props.listPageBind);
137
- var _props_defaultValueType;
138
- _this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : 'none';
139
- var _props_rangeOptions;
140
- _this.rangeOptions = (_props_rangeOptions = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
141
- var _props_defaultValue;
142
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
143
- var _props_displayLevel;
144
- _this.displayLevel = (_props_displayLevel = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _props_displayLevel !== void 0 ? _props_displayLevel : 1;
145
- var _props_showSubDept;
146
- _this.showSubDept = (_props_showSubDept = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _props_showSubDept !== void 0 ? _props_showSubDept : true;
147
- var _props_caption;
148
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : OrganizationSelectionControl.controlName;
149
- var _props_placeholder;
150
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseSelectOrg', null, '请选择组织');
151
- var _props_datasourceBind;
152
- _this.datasourceBind = new OrganizationDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
135
+ _this.defaultValueType = (_ref3 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _ref3 !== void 0 ? _ref3 : 'none';
136
+ _this.rangeOptions = (_ref4 = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _ref4 !== void 0 ? _ref4 : [];
137
+ _this.defaultValue = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref5 !== void 0 ? _ref5 : [];
138
+ _this.displayLevel = (_ref6 = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _ref6 !== void 0 ? _ref6 : 1;
139
+ _this.showSubDept = (_ref7 = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _ref7 !== void 0 ? _ref7 : true;
140
+ _this.caption = (_ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref8 !== void 0 ? _ref8 : OrganizationSelectionControl.controlName;
141
+ _this.placeholder = (_ref9 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref9 !== void 0 ? _ref9 : getLocaleText('CMD.pleaseSelectOrg', null, '请选择组织');
142
+ _this.datasourceBind = new OrganizationDataSourceBind((_ref10 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _ref10 !== void 0 ? _ref10 : {
153
143
  attributes: OrganizationSelectionControl.controlCustomAttributes
154
144
  });
155
- var _props_datasourceType;
156
- _this.datasourceType = (_props_datasourceType = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && _props_datasourceType !== void 0 ? _props_datasourceType : DepartmentType.INTERNAL;
157
- var _props_businessScope;
158
- _this.businessScope = (_props_businessScope = props === null || props === void 0 ? void 0 : props.businessScope) !== null && _props_businessScope !== void 0 ? _props_businessScope : [];
159
- var _props_businessType;
160
- _this.businessType = (_props_businessType = props === null || props === void 0 ? void 0 : props.businessType) !== null && _props_businessType !== void 0 ? _props_businessType : AssignType.ALL;
161
- var _props_organizingFunction;
162
- _this.organizingFunction = (_props_organizingFunction = props === null || props === void 0 ? void 0 : props.organizingFunction) !== null && _props_organizingFunction !== void 0 ? _props_organizingFunction : undefined;
163
- var _props_organizationView;
164
- _this.organizationView = (_props_organizationView = props === null || props === void 0 ? void 0 : props.organizationView) !== null && _props_organizationView !== void 0 ? _props_organizationView : undefined;
165
- var _props_showSelectedDetail;
166
- _this.showSelectedDetail = (_props_showSelectedDetail = props === null || props === void 0 ? void 0 : props.showSelectedDetail) !== null && _props_showSelectedDetail !== void 0 ? _props_showSelectedDetail : false;
145
+ _this.datasourceType = (_ref11 = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && _ref11 !== void 0 ? _ref11 : DepartmentType.INTERNAL;
146
+ _this.businessScope = (_ref12 = props === null || props === void 0 ? void 0 : props.businessScope) !== null && _ref12 !== void 0 ? _ref12 : [];
147
+ _this.businessType = (_ref13 = props === null || props === void 0 ? void 0 : props.businessType) !== null && _ref13 !== void 0 ? _ref13 : AssignType.ALL;
148
+ _this.organizingFunction = (_ref14 = props === null || props === void 0 ? void 0 : props.organizingFunction) !== null && _ref14 !== void 0 ? _ref14 : undefined;
149
+ _this.organizationView = (_ref15 = props === null || props === void 0 ? void 0 : props.organizationView) !== null && _ref15 !== void 0 ? _ref15 : undefined;
150
+ _this.showSelectedDetail = (_ref16 = props === null || props === void 0 ? void 0 : props.showSelectedDetail) !== null && _ref16 !== void 0 ? _ref16 : false;
167
151
  _this.selectedContentConfig = new SelectedContentConfig(props === null || props === void 0 ? void 0 : props.selectedContentConfig);
168
- var _props_openMultistageFilling;
169
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
152
+ _this.openMultistageFilling = (_ref17 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref17 !== void 0 ? _ref17 : false;
170
153
  _this.multistageFilling = [];
171
154
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
172
155
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -90,11 +90,11 @@ var RadioProperty = /*#__PURE__*/ function(BaseControlProperty) {
90
90
  function RadioProperty(props) {
91
91
  _class_call_check(this, RadioProperty);
92
92
  var _this;
93
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13;
93
94
  _this = _call_super(this, RadioProperty, [
94
95
  props
95
96
  ]), _define_property(_this, "radioMode", void 0), _define_property(_this, "options", void 0), _define_property(_this, "optionConfig", void 0), _define_property(_this, "optionsFormat", void 0), _define_property(_this, "defaultShowOptions", void 0), _define_property(_this, "otherOption", void 0), _define_property(_this, "optionsOrder", void 0), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "interreaction", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "openMultistageFilling", void 0), _define_property(_this, "aiContentSearch", void 0), _define_property(_this, "type", void 0), _define_property(_this, "isUseCustomColor", void 0);
96
- var _props_options;
97
- _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
97
+ _this.options = initOptions((_ref = props === null || props === void 0 ? void 0 : props.options) !== null && _ref !== void 0 ? _ref : [
98
98
  {
99
99
  label: getLocaleText('CMD.optionOne', null, '选项一'),
100
100
  value: getLocaleText('CMD.optionOne', null, '选项一')
@@ -108,31 +108,19 @@ var RadioProperty = /*#__PURE__*/ function(BaseControlProperty) {
108
108
  value: getLocaleText('CMD.optionThird', null, '选项三')
109
109
  }
110
110
  ]);
111
- var _props_radioMode;
112
- _this.radioMode = (_props_radioMode = props === null || props === void 0 ? void 0 : props.radioMode) !== null && _props_radioMode !== void 0 ? _props_radioMode : 'horizontal';
113
- var _props_optionConfig;
114
- _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : 'custom';
115
- var _props_otherOption;
116
- _this.otherOption = (_props_otherOption = props === null || props === void 0 ? void 0 : props.otherOption) !== null && _props_otherOption !== void 0 ? _props_otherOption : false;
117
- var _props_optionsOrder;
118
- _this.optionsOrder = (_props_optionsOrder = props === null || props === void 0 ? void 0 : props.optionsOrder) !== null && _props_optionsOrder !== void 0 ? _props_optionsOrder : false;
119
- var _props_defaultShowOptions;
120
- _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
121
- var _props_optionsFormat;
122
- _this.optionsFormat = (_props_optionsFormat = props === null || props === void 0 ? void 0 : props.optionsFormat) !== null && _props_optionsFormat !== void 0 ? _props_optionsFormat : 'horizontal';
111
+ _this.radioMode = (_ref1 = props === null || props === void 0 ? void 0 : props.radioMode) !== null && _ref1 !== void 0 ? _ref1 : 'horizontal';
112
+ _this.optionConfig = (_ref2 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref2 !== void 0 ? _ref2 : 'custom';
113
+ _this.otherOption = (_ref3 = props === null || props === void 0 ? void 0 : props.otherOption) !== null && _ref3 !== void 0 ? _ref3 : false;
114
+ _this.optionsOrder = (_ref4 = props === null || props === void 0 ? void 0 : props.optionsOrder) !== null && _ref4 !== void 0 ? _ref4 : false;
115
+ _this.defaultShowOptions = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _ref5 !== void 0 ? _ref5 : true;
116
+ _this.optionsFormat = (_ref6 = props === null || props === void 0 ? void 0 : props.optionsFormat) !== null && _ref6 !== void 0 ? _ref6 : 'horizontal';
123
117
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
124
- var _props_interreaction;
125
- _this.interreaction = (_props_interreaction = props === null || props === void 0 ? void 0 : props.interreaction) !== null && _props_interreaction !== void 0 ? _props_interreaction : [];
126
- var _props_caption;
127
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : RadioControl.controlName;
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
- var _props_openMultistageFilling;
131
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
132
- var _props_type;
133
- _this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'default';
134
- var _props_isUseCustomColor;
135
- _this.isUseCustomColor = (_props_isUseCustomColor = props === null || props === void 0 ? void 0 : props.isUseCustomColor) !== null && _props_isUseCustomColor !== void 0 ? _props_isUseCustomColor : false;
118
+ _this.interreaction = (_ref7 = props === null || props === void 0 ? void 0 : props.interreaction) !== null && _ref7 !== void 0 ? _ref7 : [];
119
+ _this.caption = (_ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref8 !== void 0 ? _ref8 : RadioControl.controlName;
120
+ _this.defaultValue = (_ref9 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref9 !== void 0 ? _ref9 : '';
121
+ _this.openMultistageFilling = (_ref10 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref10 !== void 0 ? _ref10 : false;
122
+ _this.type = (_ref11 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref11 !== void 0 ? _ref11 : 'default';
123
+ _this.isUseCustomColor = (_ref12 = props === null || props === void 0 ? void 0 : props.isUseCustomColor) !== null && _ref12 !== void 0 ? _ref12 : false;
136
124
  _this.multistageFilling = [];
137
125
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
138
126
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -140,8 +128,7 @@ var RadioProperty = /*#__PURE__*/ function(BaseControlProperty) {
140
128
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
141
129
  });
142
130
  }
143
- var _props_aiContentSearch;
144
- _this.aiContentSearch = (_props_aiContentSearch = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _props_aiContentSearch !== void 0 ? _props_aiContentSearch : false;
131
+ _this.aiContentSearch = (_ref13 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref13 !== void 0 ? _ref13 : false;
145
132
  return _this;
146
133
  }
147
134
  return RadioProperty;
@@ -201,6 +201,14 @@ _define_property(RichTextControl, "setting", [
201
201
  key: 'min-length',
202
202
  visible: true
203
203
  },
204
+ {
205
+ key: 'height',
206
+ visible: true
207
+ },
208
+ {
209
+ key: 'toolbar-options',
210
+ visible: true
211
+ },
204
212
  {
205
213
  key: 'rich-text',
206
214
  visible: true
@@ -135,25 +135,57 @@ var RichTextProperty = /*#__PURE__*/ function(BaseControlProperty) {
135
135
  function RichTextProperty(props) {
136
136
  _class_call_check(this, RichTextProperty);
137
137
  var _this;
138
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11;
138
139
  _this = _call_super(this, RichTextProperty, [
139
140
  props
140
- ]), _define_property(_this, "maxLength", void 0), _define_property(_this, "minLength", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "aiContentSearch", void 0), _define_property(_this, "aiGeneration", void 0), _define_property(_this, "aiOptions", void 0), _define_property(_this, "autoHeight", void 0), _define_property(_this, "lineEllipsis", void 0);
141
- var _props_maxLength;
142
- _this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 50000;
143
- var _props_minLength;
144
- _this.minLength = (_props_minLength = props === null || props === void 0 ? void 0 : props.minLength) !== null && _props_minLength !== void 0 ? _props_minLength : 0;
145
- var _props_defaultValue;
146
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : '';
147
- var _props_caption;
148
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : RichTextControl.controlName;
149
- var _props_placeholder;
150
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnter', null, '请输入');
151
- var _props_aiContentSearch;
152
- _this.aiContentSearch = (_props_aiContentSearch = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _props_aiContentSearch !== void 0 ? _props_aiContentSearch : false;
153
- var _props_aiGeneration;
154
- _this.aiGeneration = (_props_aiGeneration = props === null || props === void 0 ? void 0 : props.aiGeneration) !== null && _props_aiGeneration !== void 0 ? _props_aiGeneration : false;
155
- var _props_aiOptions;
156
- _this.aiOptions = initAiOptions((_props_aiOptions = props === null || props === void 0 ? void 0 : props.aiOptions) !== null && _props_aiOptions !== void 0 ? _props_aiOptions : [
141
+ ]), _define_property(_this, "maxLength", void 0), _define_property(_this, "minLength", void 0), _define_property(_this, "height", void 0), _define_property(_this, "toolbarOptions", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "aiContentSearch", void 0), _define_property(_this, "aiGeneration", void 0), _define_property(_this, "aiOptions", void 0), _define_property(_this, "autoHeight", void 0), _define_property(_this, "lineEllipsis", void 0);
142
+ _this.maxLength = (_ref = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _ref !== void 0 ? _ref : 50000;
143
+ _this.minLength = (_ref1 = props === null || props === void 0 ? void 0 : props.minLength) !== null && _ref1 !== void 0 ? _ref1 : 0;
144
+ _this.height = (_ref2 = props === null || props === void 0 ? void 0 : props.height) !== null && _ref2 !== void 0 ? _ref2 : 400;
145
+ _this.toolbarOptions = (_ref3 = props === null || props === void 0 ? void 0 : props.toolbarOptions) !== null && _ref3 !== void 0 ? _ref3 : [
146
+ 'undo',
147
+ 'redo',
148
+ '|',
149
+ 'forecolor',
150
+ 'backcolor',
151
+ 'bold',
152
+ 'italic',
153
+ 'underline',
154
+ 'strikethrough',
155
+ 'link',
156
+ '|',
157
+ 'alignleft',
158
+ 'aligncenter',
159
+ 'alignright',
160
+ 'alignjustify',
161
+ 'outdent',
162
+ 'indent',
163
+ '|',
164
+ 'styles',
165
+ 'fontfamily',
166
+ 'fontsize',
167
+ '|',
168
+ 'bullist',
169
+ 'numlist',
170
+ '|',
171
+ 'blockquote',
172
+ 'subscript',
173
+ 'superscript',
174
+ 'removeformat',
175
+ '|',
176
+ 'table',
177
+ 'image',
178
+ 'hr',
179
+ 'preview',
180
+ '|',
181
+ 'fullscreen'
182
+ ];
183
+ _this.defaultValue = (_ref4 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref4 !== void 0 ? _ref4 : '';
184
+ _this.caption = (_ref5 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref5 !== void 0 ? _ref5 : RichTextControl.controlName;
185
+ _this.placeholder = (_ref6 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref6 !== void 0 ? _ref6 : getLocaleText('CMD.pleaseEnter', null, '请输入');
186
+ _this.aiContentSearch = (_ref7 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref7 !== void 0 ? _ref7 : false;
187
+ _this.aiGeneration = (_ref8 = props === null || props === void 0 ? void 0 : props.aiGeneration) !== null && _ref8 !== void 0 ? _ref8 : false;
188
+ _this.aiOptions = initAiOptions((_ref9 = props === null || props === void 0 ? void 0 : props.aiOptions) !== null && _ref9 !== void 0 ? _ref9 : [
157
189
  {
158
190
  label: getLocaleText('CMD.aiOptionOneLabel', null, '总结'),
159
191
  cueWord: getLocaleText('CMD.aiOptionOneCurword', null, 'SUMM'),
@@ -170,10 +202,8 @@ var RichTextProperty = /*#__PURE__*/ function(BaseControlProperty) {
170
202
  checked: false
171
203
  }
172
204
  ]);
173
- var _props_autoHeight;
174
- _this.autoHeight = (_props_autoHeight = props === null || props === void 0 ? void 0 : props.autoHeight) !== null && _props_autoHeight !== void 0 ? _props_autoHeight : false;
175
- var _props_lineEllipsis;
176
- _this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
205
+ _this.autoHeight = (_ref10 = props === null || props === void 0 ? void 0 : props.autoHeight) !== null && _ref10 !== void 0 ? _ref10 : false;
206
+ _this.lineEllipsis = (_ref11 = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _ref11 !== void 0 ? _ref11 : 1;
177
207
  return _this;
178
208
  }
179
209
  return RichTextProperty;
@@ -141,32 +141,24 @@ var ScoreProperty = /*#__PURE__*/ function(BaseControlProperty) {
141
141
  function ScoreProperty(props) {
142
142
  _class_call_check(this, ScoreProperty);
143
143
  var _this;
144
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
144
145
  var _props_explain;
145
146
  _this = _call_super(this, ScoreProperty, [
146
147
  props
147
148
  ]), _define_property(_this, "totalScore", void 0), _define_property(_this, "scoreType", void 0), _define_property(_this, "isShowExplain", void 0), _define_property(_this, "explain", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "canHalf", void 0), _define_property(_this, "explainColor", void 0), _define_property(_this, "isShowCurrentScore", void 0);
148
- var _props_totalScore;
149
- _this.totalScore = (_props_totalScore = props === null || props === void 0 ? void 0 : props.totalScore) !== null && _props_totalScore !== void 0 ? _props_totalScore : 5;
150
- var _props_scoreType;
151
- _this.scoreType = (_props_scoreType = props === null || props === void 0 ? void 0 : props.scoreType) !== null && _props_scoreType !== void 0 ? _props_scoreType : SCORE_TYPE.STAR;
152
- var _props_isShowExplain;
153
- _this.isShowExplain = (_props_isShowExplain = props === null || props === void 0 ? void 0 : props.isShowExplain) !== null && _props_isShowExplain !== void 0 ? _props_isShowExplain : true;
154
- var _props_explain_map;
155
- _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) {
149
+ _this.totalScore = (_ref = props === null || props === void 0 ? void 0 : props.totalScore) !== null && _ref !== void 0 ? _ref : 5;
150
+ _this.scoreType = (_ref1 = props === null || props === void 0 ? void 0 : props.scoreType) !== null && _ref1 !== void 0 ? _ref1 : SCORE_TYPE.STAR;
151
+ _this.isShowExplain = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowExplain) !== null && _ref2 !== void 0 ? _ref2 : true;
152
+ _this.explain = (_ref3 = props === null || props === void 0 ? void 0 : (_props_explain = props.explain) === null || _props_explain === void 0 ? void 0 : _props_explain.map(function(item) {
156
153
  return new Explain(item);
157
- })) !== null && _props_explain_map !== void 0 ? _props_explain_map : Array(_this.totalScore).fill(undefined).map(function() {
154
+ })) !== null && _ref3 !== void 0 ? _ref3 : Array(_this.totalScore).fill(undefined).map(function() {
158
155
  return new Explain();
159
156
  });
160
- var _props_defaultValue;
161
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : 0;
162
- var _props_caption;
163
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : ScoreControl.controlName;
164
- var _props_canHalf;
165
- _this.canHalf = (_props_canHalf = props === null || props === void 0 ? void 0 : props.canHalf) !== null && _props_canHalf !== void 0 ? _props_canHalf : false;
166
- var _props_explainColor;
167
- _this.explainColor = (_props_explainColor = props === null || props === void 0 ? void 0 : props.explainColor) !== null && _props_explainColor !== void 0 ? _props_explainColor : '';
168
- var _props_isShowCurrentScore;
169
- _this.isShowCurrentScore = (_props_isShowCurrentScore = props === null || props === void 0 ? void 0 : props.isShowCurrentScore) !== null && _props_isShowCurrentScore !== void 0 ? _props_isShowCurrentScore : false;
157
+ _this.defaultValue = (_ref4 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref4 !== void 0 ? _ref4 : 0;
158
+ _this.caption = (_ref5 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref5 !== void 0 ? _ref5 : ScoreControl.controlName;
159
+ _this.canHalf = (_ref6 = props === null || props === void 0 ? void 0 : props.canHalf) !== null && _ref6 !== void 0 ? _ref6 : false;
160
+ _this.explainColor = (_ref7 = props === null || props === void 0 ? void 0 : props.explainColor) !== null && _ref7 !== void 0 ? _ref7 : '';
161
+ _this.isShowCurrentScore = (_ref8 = props === null || props === void 0 ? void 0 : props.isShowCurrentScore) !== null && _ref8 !== void 0 ? _ref8 : false;
170
162
  return _this;
171
163
  }
172
164
  return ScoreProperty;
@@ -114,39 +114,28 @@ var SearchDateRangeProperty = /*#__PURE__*/ function(BaseControlProperty) {
114
114
  function SearchDateRangeProperty(props) {
115
115
  _class_call_check(this, SearchDateRangeProperty);
116
116
  var _this;
117
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11;
117
118
  var _props_limitDateList;
118
119
  _this = _call_super(this, SearchDateRangeProperty, [
119
120
  props
120
121
  ]), _define_property(_this, "rangeMin", void 0), _define_property(_this, "rangeMax", void 0), _define_property(_this, "placeholderStart", void 0), _define_property(_this, "placeholderEnd", void 0), _define_property(_this, "dateType", void 0), _define_property(_this, "dateFormat", void 0), _define_property(_this, "commonTimeSetting", void 0), _define_property(_this, "setValueType", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "limitDateList", void 0), _define_property(_this, "isInternational", void 0);
121
- var _props_defaultValue;
122
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [
122
+ _this.defaultValue = (_ref = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref !== void 0 ? _ref : [
123
123
  '',
124
124
  ''
125
125
  ];
126
- var _props_dateType;
127
- _this.dateType = (_props_dateType = props === null || props === void 0 ? void 0 : props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
128
- var _props_dateFormat;
129
- _this.dateFormat = (_props_dateFormat = props === null || props === void 0 ? void 0 : props.dateFormat) !== null && _props_dateFormat !== void 0 ? _props_dateFormat : '';
130
- var _props_commonTimeSetting;
131
- _this.commonTimeSetting = (_props_commonTimeSetting = props === null || props === void 0 ? void 0 : props.commonTimeSetting) !== null && _props_commonTimeSetting !== void 0 ? _props_commonTimeSetting : [];
132
- var _props_setValueType;
133
- _this.setValueType = (_props_setValueType = props === null || props === void 0 ? void 0 : props.setValueType) !== null && _props_setValueType !== void 0 ? _props_setValueType : 'custom';
134
- var _props_rangeMin;
135
- _this.rangeMin = (_props_rangeMin = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : '';
136
- var _props_rangeMax;
137
- _this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : '';
138
- var _props_placeholderStart;
139
- _this.placeholderStart = (_props_placeholderStart = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _props_placeholderStart !== void 0 ? _props_placeholderStart : getLocaleText('CMD.startDate', null, '开始日期');
140
- var _props_placeholderEnd;
141
- _this.placeholderEnd = (_props_placeholderEnd = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _props_placeholderEnd !== void 0 ? _props_placeholderEnd : getLocaleText('CMD.endDate', null, '结束日期');
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 : SearchDateRangeControl.controlName;
144
- var _props_limitDateList_map;
145
- _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) {
126
+ _this.dateType = (_ref1 = props === null || props === void 0 ? void 0 : props.dateType) !== null && _ref1 !== void 0 ? _ref1 : DateType.DATE;
127
+ _this.dateFormat = (_ref2 = props === null || props === void 0 ? void 0 : props.dateFormat) !== null && _ref2 !== void 0 ? _ref2 : '';
128
+ _this.commonTimeSetting = (_ref3 = props === null || props === void 0 ? void 0 : props.commonTimeSetting) !== null && _ref3 !== void 0 ? _ref3 : [];
129
+ _this.setValueType = (_ref4 = props === null || props === void 0 ? void 0 : props.setValueType) !== null && _ref4 !== void 0 ? _ref4 : 'custom';
130
+ _this.rangeMin = (_ref5 = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _ref5 !== void 0 ? _ref5 : '';
131
+ _this.rangeMax = (_ref6 = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _ref6 !== void 0 ? _ref6 : '';
132
+ _this.placeholderStart = (_ref7 = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _ref7 !== void 0 ? _ref7 : getLocaleText('CMD.startDate', null, '开始日期');
133
+ _this.placeholderEnd = (_ref8 = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _ref8 !== void 0 ? _ref8 : getLocaleText('CMD.endDate', null, '结束日期');
134
+ _this.caption = (_ref9 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref9 !== void 0 ? _ref9 : SearchDateRangeControl.controlName;
135
+ _this.limitDateList = (_ref10 = props === null || props === void 0 ? void 0 : (_props_limitDateList = props.limitDateList) === null || _props_limitDateList === void 0 ? void 0 : _props_limitDateList.map(function(item) {
146
136
  return new LimitDate(item);
147
- })) !== null && _props_limitDateList_map !== void 0 ? _props_limitDateList_map : [];
148
- var _props_isInternational;
149
- _this.isInternational = (_props_isInternational = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _props_isInternational !== void 0 ? _props_isInternational : false;
137
+ })) !== null && _ref10 !== void 0 ? _ref10 : [];
138
+ _this.isInternational = (_ref11 = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _ref11 !== void 0 ? _ref11 : false;
150
139
  return _this;
151
140
  }
152
141
  return SearchDateRangeProperty;
@@ -113,24 +113,19 @@ var SearchNumberRangeProperty = /*#__PURE__*/ function(BaseControlProperty) {
113
113
  function SearchNumberRangeProperty(props) {
114
114
  _class_call_check(this, SearchNumberRangeProperty);
115
115
  var _this;
116
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
116
117
  _this = _call_super(this, SearchNumberRangeProperty, [
117
118
  props
118
119
  ]), _define_property(_this, "rangeMin", void 0), _define_property(_this, "rangeMax", void 0), _define_property(_this, "placeholderStart", void 0), _define_property(_this, "placeholderEnd", void 0), _define_property(_this, "defaultValue", void 0);
119
- var _props_defaultValue;
120
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [
120
+ _this.defaultValue = (_ref = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref !== void 0 ? _ref : [
121
121
  '',
122
122
  ''
123
123
  ];
124
- var _props_rangeMin;
125
- _this.rangeMin = (_props_rangeMin = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : '';
126
- var _props_rangeMax;
127
- _this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : '';
128
- var _props_placeholderStart;
129
- _this.placeholderStart = (_props_placeholderStart = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _props_placeholderStart !== void 0 ? _props_placeholderStart : getLocaleText('CMD.min', null, '最小值');
130
- var _props_placeholderEnd;
131
- _this.placeholderEnd = (_props_placeholderEnd = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _props_placeholderEnd !== void 0 ? _props_placeholderEnd : getLocaleText('CMD.max', null, '最大值');
132
- var _props_caption;
133
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SearchNumberRangeControl.controlName;
124
+ _this.rangeMin = (_ref1 = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _ref1 !== void 0 ? _ref1 : '';
125
+ _this.rangeMax = (_ref2 = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _ref2 !== void 0 ? _ref2 : '';
126
+ _this.placeholderStart = (_ref3 = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _ref3 !== void 0 ? _ref3 : getLocaleText('CMD.min', null, '最小值');
127
+ _this.placeholderEnd = (_ref4 = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _ref4 !== void 0 ? _ref4 : getLocaleText('CMD.max', null, '最大值');
128
+ _this.caption = (_ref5 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref5 !== void 0 ? _ref5 : SearchNumberRangeControl.controlName;
134
129
  return _this;
135
130
  }
136
131
  return SearchNumberRangeProperty;
@@ -103,12 +103,12 @@ var SelectProperty = /*#__PURE__*/ function(BaseControlProperty) {
103
103
  function SelectProperty(props) {
104
104
  _class_call_check(this, SelectProperty);
105
105
  var _this;
106
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12;
106
107
  _this = _call_super(this, SelectProperty, [
107
108
  props
108
109
  ]), _define_property(_this, "options", void 0), _define_property(_this, "defaultShowOptions", void 0), _define_property(_this, "optionConfig", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "allowCopyOptions", void 0), _define_property(_this, "openMultistageFilling", void 0), _define_property(_this, "viewFormModelType", void 0), _define_property(_this, "canViewForm", void 0 //https://www.tapd.cn/49877295/prong/stories/view/1149877295001003559
109
110
  ), _define_property(_this, "formBind", void 0), _define_property(_this, "aiContentSearch", void 0), _define_property(_this, "type", void 0), _define_property(_this, "isUseCustomColor", void 0);
110
- var _props_options;
111
- _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
111
+ _this.options = initOptions((_ref = props === null || props === void 0 ? void 0 : props.options) !== null && _ref !== void 0 ? _ref : [
112
112
  {
113
113
  label: getLocaleText('CMD.optionOne', null, '选项一'),
114
114
  value: getLocaleText('CMD.optionOne', null, '选项一')
@@ -122,25 +122,16 @@ var SelectProperty = /*#__PURE__*/ function(BaseControlProperty) {
122
122
  value: getLocaleText('CMD.optionThird', null, '选项三')
123
123
  }
124
124
  ]);
125
- var _props_defaultShowOptions;
126
- _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
127
- var _props_optionConfig;
128
- _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : 'custom';
125
+ _this.defaultShowOptions = (_ref1 = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _ref1 !== void 0 ? _ref1 : true;
126
+ _this.optionConfig = (_ref2 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref2 !== void 0 ? _ref2 : 'custom';
129
127
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
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 : SelectControl.controlName;
132
- var _props_placeholder;
133
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseSelect', null, '请选择');
134
- var _props_defaultValue;
135
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : '';
136
- var _props_allowCopyOptions;
137
- _this.allowCopyOptions = (_props_allowCopyOptions = props === null || props === void 0 ? void 0 : props.allowCopyOptions) !== null && _props_allowCopyOptions !== void 0 ? _props_allowCopyOptions : false;
138
- var _props_openMultistageFilling;
139
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
140
- var _props_type;
141
- _this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'default';
142
- var _props_isUseCustomColor;
143
- _this.isUseCustomColor = (_props_isUseCustomColor = props === null || props === void 0 ? void 0 : props.isUseCustomColor) !== null && _props_isUseCustomColor !== void 0 ? _props_isUseCustomColor : false;
128
+ _this.caption = (_ref3 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref3 !== void 0 ? _ref3 : SelectControl.controlName;
129
+ _this.placeholder = (_ref4 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref4 !== void 0 ? _ref4 : getLocaleText('CMD.pleaseSelect', null, '请选择');
130
+ _this.defaultValue = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref5 !== void 0 ? _ref5 : '';
131
+ _this.allowCopyOptions = (_ref6 = props === null || props === void 0 ? void 0 : props.allowCopyOptions) !== null && _ref6 !== void 0 ? _ref6 : false;
132
+ _this.openMultistageFilling = (_ref7 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref7 !== void 0 ? _ref7 : false;
133
+ _this.type = (_ref8 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref8 !== void 0 ? _ref8 : 'default';
134
+ _this.isUseCustomColor = (_ref9 = props === null || props === void 0 ? void 0 : props.isUseCustomColor) !== null && _ref9 !== void 0 ? _ref9 : false;
144
135
  _this.multistageFilling = [];
145
136
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
146
137
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -148,13 +139,10 @@ var SelectProperty = /*#__PURE__*/ function(BaseControlProperty) {
148
139
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
149
140
  });
150
141
  }
151
- var _props_canViewForm;
152
- _this.canViewForm = (_props_canViewForm = props === null || props === void 0 ? void 0 : props.canViewForm) !== null && _props_canViewForm !== void 0 ? _props_canViewForm : false;
153
- var _props_viewFormModelType;
154
- _this.viewFormModelType = (_props_viewFormModelType = props === null || props === void 0 ? void 0 : props.viewFormModelType) !== null && _props_viewFormModelType !== void 0 ? _props_viewFormModelType : 'window';
142
+ _this.canViewForm = (_ref10 = props === null || props === void 0 ? void 0 : props.canViewForm) !== null && _ref10 !== void 0 ? _ref10 : false;
143
+ _this.viewFormModelType = (_ref11 = props === null || props === void 0 ? void 0 : props.viewFormModelType) !== null && _ref11 !== void 0 ? _ref11 : 'window';
155
144
  _this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
156
- var _props_aiContentSearch;
157
- _this.aiContentSearch = (_props_aiContentSearch = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _props_aiContentSearch !== void 0 ? _props_aiContentSearch : false;
145
+ _this.aiContentSearch = (_ref12 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref12 !== void 0 ? _ref12 : false;
158
146
  return _this;
159
147
  }
160
148
  return SelectProperty;