@byteluck-fe/model-driven-controls 6.2.0-beta.12 → 6.2.0-beta.13

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 (111) 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/property.js +4 -5
  10. package/dist/esm/baseControls/ExportListButton/property.js +6 -9
  11. package/dist/esm/baseControls/ExportRecordListButton/property.js +3 -4
  12. package/dist/esm/baseControls/FormSelectButton/property.js +4 -6
  13. package/dist/esm/baseControls/ImportRecordListButton/property.js +6 -9
  14. package/dist/esm/baseControls/InvoiceCheckButton/property.js +11 -19
  15. package/dist/esm/baseControls/Link/property.js +4 -6
  16. package/dist/esm/baseControls/ListSelectButton/property.js +6 -10
  17. package/dist/esm/baseControls/ListViewSelect/property.js +4 -5
  18. package/dist/esm/baseControls/OperationButton/property.js +7 -12
  19. package/dist/esm/baseControls/ReferenceList/property.js +7 -12
  20. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +3 -4
  21. package/dist/esm/baseControls/Text/property.js +7 -12
  22. package/dist/esm/baseControls/TextOcrButton/property.js +11 -19
  23. package/dist/esm/baseControls/Title/property.js +4 -6
  24. package/dist/esm/columnControls/ApprovalStatusColumn/property.js +4 -6
  25. package/dist/esm/columnControls/ArrayColumn/property.js +5 -8
  26. package/dist/esm/columnControls/AutoNumberColumn/property.js +3 -4
  27. package/dist/esm/columnControls/CustomColumn/property.js +4 -6
  28. package/dist/esm/columnControls/DecimalColumn/property.js +8 -14
  29. package/dist/esm/columnControls/DepartmentColumn/property.js +3 -4
  30. package/dist/esm/columnControls/EmployeeColumn/property.js +3 -4
  31. package/dist/esm/columnControls/FileColumn/property.js +3 -4
  32. package/dist/esm/columnControls/GroupColumn/property.js +2 -2
  33. package/dist/esm/columnControls/ImageColumn/property.js +2 -2
  34. package/dist/esm/columnControls/LocationColumn/property.js +3 -4
  35. package/dist/esm/columnControls/OperationColumn/designer.js +12 -4
  36. package/dist/esm/columnControls/OperationColumn/property.js +6 -10
  37. package/dist/esm/columnControls/OrderColumn/property.js +7 -12
  38. package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
  39. package/dist/esm/columnControls/TextColumn/property.js +5 -8
  40. package/dist/esm/columnControls/TimescopeColumn/property.js +5 -8
  41. package/dist/esm/columnControls/TimestampColumn/property.js +5 -8
  42. package/dist/esm/columnControls/VarcharColumn/property.js +7 -12
  43. package/dist/esm/formControls/Address/property.js +6 -10
  44. package/dist/esm/formControls/Amount/property.js +13 -24
  45. package/dist/esm/formControls/Attachment/property.js +25 -40
  46. package/dist/esm/formControls/AutoNumber/property.js +4 -6
  47. package/dist/esm/formControls/Calc/property.js +10 -18
  48. package/dist/esm/formControls/Checkbox/property.js +16 -29
  49. package/dist/esm/formControls/DatePicker/property.js +15 -27
  50. package/dist/esm/formControls/DateRange/property.js +13 -23
  51. package/dist/esm/formControls/Department/property.js +12 -22
  52. package/dist/esm/formControls/Department2/property.js +19 -35
  53. package/dist/esm/formControls/ElectronicSignature/property.js +7 -12
  54. package/dist/esm/formControls/Employee/property.js +10 -18
  55. package/dist/esm/formControls/Employee2/property.js +17 -32
  56. package/dist/esm/formControls/Image/designer.js +8 -8
  57. package/dist/esm/formControls/Image/property.js +7 -12
  58. package/dist/esm/formControls/Input/property.js +11 -20
  59. package/dist/esm/formControls/Number/property.js +14 -26
  60. package/dist/esm/formControls/OrganizationSelection/property.js +19 -36
  61. package/dist/esm/formControls/Radio/property.js +13 -24
  62. package/dist/esm/formControls/RichText/property.js +11 -20
  63. package/dist/esm/formControls/Score/property.js +8 -13
  64. package/dist/esm/formControls/SearchDateRange/property.js +14 -25
  65. package/dist/esm/formControls/SearchNumberRange/property.js +7 -12
  66. package/dist/esm/formControls/Select/property.js +12 -22
  67. package/dist/esm/formControls/SelectMultiple/property.js +11 -20
  68. package/dist/esm/formControls/SelectRelation/property.js +14 -26
  69. package/dist/esm/formControls/Textarea/property.js +11 -20
  70. package/dist/esm/formControls/Tree/designer.js +2 -1
  71. package/dist/esm/formControls/Tree/property.js +20 -37
  72. package/dist/esm/formControls/VueFormItem/property.js +6 -10
  73. package/dist/esm/formControls/VuePage/property.js +6 -10
  74. package/dist/esm/formControls/WPS/designer.js +9 -9
  75. package/dist/esm/formControls/WPS/property.js +13 -24
  76. package/dist/esm/framework.js +69 -113
  77. package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
  78. package/dist/esm/layoutControls/ActionBar/property.js +4 -6
  79. package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
  80. package/dist/esm/layoutControls/CardGroup/property.js +4 -6
  81. package/dist/esm/layoutControls/Col/property.js +5 -8
  82. package/dist/esm/layoutControls/DataView/property.js +8 -14
  83. package/dist/esm/layoutControls/GridLayoutContainer/property.js +3 -4
  84. package/dist/esm/layoutControls/GridTableColumn/property.js +11 -20
  85. package/dist/esm/layoutControls/ListView/property.js +15 -28
  86. package/dist/esm/layoutControls/Page/property.js +2 -2
  87. package/dist/esm/layoutControls/Position/property.js +5 -8
  88. package/dist/esm/layoutControls/Row/property.js +3 -4
  89. package/dist/esm/layoutControls/Step/designer.js +2 -2
  90. package/dist/esm/layoutControls/Step/property.js +6 -10
  91. package/dist/esm/layoutControls/StepPane/property.js +9 -16
  92. package/dist/esm/layoutControls/SubTableColumn/property.js +6 -10
  93. package/dist/esm/layoutControls/Tab/designer.js +2 -2
  94. package/dist/esm/layoutControls/Tab/property.js +2 -2
  95. package/dist/esm/layoutControls/TabPane/property.js +2 -2
  96. package/dist/esm/layoutControls/TableLayout/property.js +16 -30
  97. package/dist/esm/layoutControls/TableLayoutCol/property.js +11 -20
  98. package/dist/esm/layoutControls/TableLayoutRow/property.js +3 -4
  99. package/dist/esm/layoutControls/TableLayoutWrapper/property.js +4 -6
  100. package/dist/esm/listControls/GridTable/designer.js +12 -4
  101. package/dist/esm/listControls/GridTable/property.js +15 -19
  102. package/dist/esm/listControls/SubTable/property.js +35 -68
  103. package/dist/esm/searchControls/SimpleSearch/property.js +13 -24
  104. package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
  105. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
  106. package/dist/esm/wrapControls/GridLayoutWrap/property.js +2 -2
  107. package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
  108. package/dist/index.umd.js +1 -1
  109. package/dist/types/framework.d.ts +19 -19
  110. package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +1 -1
  111. package/package.json +5 -5
@@ -95,6 +95,7 @@ var VarcharColumnControlPropertyRules = /*#__PURE__*/ function(ColumnOptionAndDa
95
95
  function VarcharColumnControlProperty(props) {
96
96
  _class_call_check(this, VarcharColumnControlProperty);
97
97
  var _this;
98
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
98
99
  _this = _call_super(this, VarcharColumnControlProperty, [
99
100
  props
100
101
  ]), /**
@@ -119,22 +120,16 @@ var VarcharColumnControlPropertyRules = /*#__PURE__*/ function(ColumnOptionAndDa
119
120
  * */ _define_property(_this, "lineEllipsis", void 0), /**
120
121
  * tag配置
121
122
  * */ _define_property(_this, "dictionaryTagConfig", void 0);
122
- var _props_caption;
123
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerVarcharColumnControl.controlName;
124
- var _props_optionConfig;
125
- _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : 'none';
123
+ _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerVarcharColumnControl.controlName;
124
+ _this.optionConfig = (_ref1 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref1 !== void 0 ? _ref1 : 'none';
126
125
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
127
- var _props_options;
128
- _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
126
+ _this.options = initOptions((_ref2 = props === null || props === void 0 ? void 0 : props.options) !== null && _ref2 !== void 0 ? _ref2 : [
129
127
  {}
130
128
  ]);
131
- var _props_showLinkOperation;
132
- _this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
129
+ _this.showLinkOperation = (_ref3 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref3 !== void 0 ? _ref3 : false;
133
130
  _this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
134
- var _props_lineEllipsis;
135
- _this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
136
- var _props_dictionaryTagConfig;
137
- _this.dictionaryTagConfig = (_props_dictionaryTagConfig = props === null || props === void 0 ? void 0 : props.dictionaryTagConfig) !== null && _props_dictionaryTagConfig !== void 0 ? _props_dictionaryTagConfig : {
131
+ _this.lineEllipsis = (_ref4 = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _ref4 !== void 0 ? _ref4 : 1;
132
+ _this.dictionaryTagConfig = (_ref5 = props === null || props === void 0 ? void 0 : props.dictionaryTagConfig) !== null && _ref5 !== void 0 ? _ref5 : {
138
133
  isTag: false
139
134
  };
140
135
  return _this;
@@ -125,6 +125,7 @@ var AddressControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPrope
125
125
  function AddressProperty(props) {
126
126
  _class_call_check(this, AddressProperty);
127
127
  var _this;
128
+ var _ref, _ref1, _ref2, _ref3, _ref4;
128
129
  _this = _call_super(this, AddressProperty, [
129
130
  props
130
131
  ]), /**
@@ -136,20 +137,15 @@ var AddressControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPrope
136
137
  * 地址类型
137
138
  * @defaultValue ['province', 'city', 'district']
138
139
  */ _define_property(_this, "addressType", void 0);
139
- var _props_caption;
140
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AddressControl.controlName;
141
- var _props_defaultValueType;
142
- _this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : 'default';
143
- var _props_addressType;
144
- _this.addressType = (_props_addressType = props === null || props === void 0 ? void 0 : props.addressType) !== null && _props_addressType !== void 0 ? _props_addressType : [
140
+ _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : AddressControl.controlName;
141
+ _this.defaultValueType = (_ref1 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _ref1 !== void 0 ? _ref1 : 'default';
142
+ _this.addressType = (_ref2 = props === null || props === void 0 ? void 0 : props.addressType) !== null && _ref2 !== void 0 ? _ref2 : [
145
143
  'province',
146
144
  'city',
147
145
  'district'
148
146
  ];
149
- var _props_defaultValue;
150
- _this.defaultValue = new AddressValue((_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : {});
151
- var _props_placeholder;
152
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseChooseAddress', null, '请选择地址');
147
+ _this.defaultValue = new AddressValue((_ref3 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref3 !== void 0 ? _ref3 : {});
148
+ _this.placeholder = (_ref4 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref4 !== void 0 ? _ref4 : getLocaleText('CMD.pleaseChooseAddress', null, '请选择地址');
153
149
  return _this;
154
150
  }
155
151
  return AddressProperty;
@@ -202,6 +202,7 @@ var AmountPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRunti
202
202
  function AmountProperty(props) {
203
203
  _class_call_check(this, AmountProperty);
204
204
  var _this;
205
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11;
205
206
  _this = _call_super(this, AmountProperty, [
206
207
  props
207
208
  ]), /**
@@ -237,41 +238,29 @@ var AmountPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRunti
237
238
  * */ _define_property(_this, "defaultValue", void 0), /**
238
239
  * 币种的默认选项
239
240
  * */ _define_property(_this, "options", void 0);
240
- var _props_rangeMin;
241
- _this.rangeMin = (_props_rangeMin = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : '';
242
- var _props_rangeMax;
243
- _this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : '';
244
- var _props_optionConfig;
245
- _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : 'datasource';
246
- var _props_micrometer;
247
- _this.micrometer = (_props_micrometer = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _props_micrometer !== void 0 ? _props_micrometer : false;
248
- var _props_precision;
249
- _this.precision = (_props_precision = props === null || props === void 0 ? void 0 : props.precision) !== null && _props_precision !== void 0 ? _props_precision : 2;
241
+ _this.rangeMin = (_ref = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _ref !== void 0 ? _ref : '';
242
+ _this.rangeMax = (_ref1 = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _ref1 !== void 0 ? _ref1 : '';
243
+ _this.optionConfig = (_ref2 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref2 !== void 0 ? _ref2 : 'datasource';
244
+ _this.micrometer = (_ref3 = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _ref3 !== void 0 ? _ref3 : false;
245
+ _this.precision = (_ref4 = props === null || props === void 0 ? void 0 : props.precision) !== null && _ref4 !== void 0 ? _ref4 : 2;
250
246
  _this.dataBind = new AmountDataBind(props === null || props === void 0 ? void 0 : props.dataBind);
251
- var _props_datasourceBind;
252
- _this.datasourceBind = new DataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
247
+ _this.datasourceBind = new DataSourceBind((_ref5 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _ref5 !== void 0 ? _ref5 : {
253
248
  displayBoList: [
254
249
  new DisplayBoListItem({
255
250
  value: 'name'
256
251
  })
257
252
  ]
258
253
  });
259
- var _props_defaultValue;
260
- _this.defaultValue = new AmountValue((_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : {
254
+ _this.defaultValue = new AmountValue((_ref6 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref6 !== void 0 ? _ref6 : {
261
255
  amount: '',
262
256
  currency: AMOUNT_TYPE.CNY
263
257
  });
264
- var _props_unitPosition;
265
- _this.unitPosition = (_props_unitPosition = props === null || props === void 0 ? void 0 : props.unitPosition) !== null && _props_unitPosition !== void 0 ? _props_unitPosition : 'right';
258
+ _this.unitPosition = (_ref7 = props === null || props === void 0 ? void 0 : props.unitPosition) !== null && _ref7 !== void 0 ? _ref7 : 'right';
266
259
  _this.options = initOptions(props === null || props === void 0 ? void 0 : props.options);
267
- var _props_caption;
268
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AmountControl.controlName;
269
- var _props_placeholder;
270
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnter', null, '请输入');
271
- var _props_submitSelectCurrency;
272
- _this.submitSelectCurrency = (_props_submitSelectCurrency = props === null || props === void 0 ? void 0 : props.submitSelectCurrency) !== null && _props_submitSelectCurrency !== void 0 ? _props_submitSelectCurrency : false;
273
- var _props_showUpperCase;
274
- _this.showUpperCase = (_props_showUpperCase = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _props_showUpperCase !== void 0 ? _props_showUpperCase : false;
260
+ _this.caption = (_ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref8 !== void 0 ? _ref8 : AmountControl.controlName;
261
+ _this.placeholder = (_ref9 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref9 !== void 0 ? _ref9 : getLocaleText('CMD.pleaseEnter', null, '请输入');
262
+ _this.submitSelectCurrency = (_ref10 = props === null || props === void 0 ? void 0 : props.submitSelectCurrency) !== null && _ref10 !== void 0 ? _ref10 : false;
263
+ _this.showUpperCase = (_ref11 = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _ref11 !== void 0 ? _ref11 : false;
275
264
  return _this;
276
265
  }
277
266
  return AmountProperty;
@@ -1,10 +1,4 @@
1
- /*
2
- * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
3
- * @Date: 2023-09-14 18:31:51
4
- * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
5
- * @LastEditTime: 2023-09-19 15:49:31
6
- * @FilePath: /model-driven/packages/controls/src/formControls/Attachment/property.ts
7
- */ function _assert_this_initialized(self) {
1
+ function _assert_this_initialized(self) {
8
2
  if (self === void 0) {
9
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
10
4
  }
@@ -76,7 +70,13 @@ function _is_native_reflect_construct() {
76
70
  return !!result;
77
71
  })();
78
72
  }
79
- import { getLocaleText } from '@byteluck-fe/locale-message';
73
+ /*
74
+ * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
75
+ * @Date: 2023-09-14 18:31:51
76
+ * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
77
+ * @LastEditTime: 2023-09-19 15:49:31
78
+ * @FilePath: /model-driven/packages/controls/src/formControls/Attachment/property.ts
79
+ */ import { getLocaleText } from '@byteluck-fe/locale-message';
80
80
  import AttachmentControl from './designer';
81
81
  import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
82
82
  var MB10 = 10485760;
@@ -131,6 +131,7 @@ var AttachmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
131
131
  function AttachmentProperty(props) {
132
132
  _class_call_check(this, AttachmentProperty);
133
133
  var _this;
134
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15;
134
135
  _this = _call_super(this, AttachmentProperty, [
135
136
  props
136
137
  ]), _define_property(_this, "storageType", void 0), _define_property(_this, "defaultValue", void 0), // 默认格式和列表格式,原应用内是title和table
@@ -141,42 +142,26 @@ var AttachmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
141
142
  _define_property(_this, "operation", void 0), // 附件ai解释
142
143
  _define_property(_this, "aiExplanation", void 0), // 附件ai解释长度
143
144
  _define_property(_this, "aiExplanationLength", void 0), _define_property(_this, "customOperation", void 0);
144
- var _props_defaultValue;
145
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
146
- var _props_showType;
147
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'default';
148
- var _props_resultShowType;
149
- _this.resultShowType = (_props_resultShowType = props === null || props === void 0 ? void 0 : props.resultShowType) !== null && _props_resultShowType !== void 0 ? _props_resultShowType : 'simple';
150
- var _props_attachmentAccept;
151
- _this.attachmentAccept = (_props_attachmentAccept = props === null || props === void 0 ? void 0 : props.attachmentAccept) !== null && _props_attachmentAccept !== void 0 ? _props_attachmentAccept : [];
152
- var _props_maxLimit;
153
- _this.maxLimit = (_props_maxLimit = props === null || props === void 0 ? void 0 : props.maxLimit) !== null && _props_maxLimit !== void 0 ? _props_maxLimit : 10;
154
- var _props_minLimit;
155
- _this.minLimit = (_props_minLimit = props === null || props === void 0 ? void 0 : props.minLimit) !== null && _props_minLimit !== void 0 ? _props_minLimit : 0;
156
- var _props_maxSize;
157
- _this.maxSize = (_props_maxSize = props === null || props === void 0 ? void 0 : props.maxSize) !== null && _props_maxSize !== void 0 ? _props_maxSize : MB100;
158
- var _props_caption;
159
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AttachmentControl.controlName;
160
- var _props_placeholder;
161
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.uploadFile', null, '上传附件');
162
- var _props_isShowWatermark;
163
- _this.isShowWatermark = (_props_isShowWatermark = props === null || props === void 0 ? void 0 : props.isShowWatermark) !== null && _props_isShowWatermark !== void 0 ? _props_isShowWatermark : false;
164
- var _props_watermarkFx;
165
- _this.watermarkFx = (_props_watermarkFx = props === null || props === void 0 ? void 0 : props.watermarkFx) !== null && _props_watermarkFx !== void 0 ? _props_watermarkFx : {};
166
- var _props_operation;
167
- _this.operation = (_props_operation = props === null || props === void 0 ? void 0 : props.operation) !== null && _props_operation !== void 0 ? _props_operation : [
145
+ _this.defaultValue = (_ref = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref !== void 0 ? _ref : [];
146
+ _this.showType = (_ref1 = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref1 !== void 0 ? _ref1 : 'default';
147
+ _this.resultShowType = (_ref2 = props === null || props === void 0 ? void 0 : props.resultShowType) !== null && _ref2 !== void 0 ? _ref2 : 'simple';
148
+ _this.attachmentAccept = (_ref3 = props === null || props === void 0 ? void 0 : props.attachmentAccept) !== null && _ref3 !== void 0 ? _ref3 : [];
149
+ _this.maxLimit = (_ref4 = props === null || props === void 0 ? void 0 : props.maxLimit) !== null && _ref4 !== void 0 ? _ref4 : 10;
150
+ _this.minLimit = (_ref5 = props === null || props === void 0 ? void 0 : props.minLimit) !== null && _ref5 !== void 0 ? _ref5 : 0;
151
+ _this.maxSize = (_ref6 = props === null || props === void 0 ? void 0 : props.maxSize) !== null && _ref6 !== void 0 ? _ref6 : MB100;
152
+ _this.caption = (_ref7 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref7 !== void 0 ? _ref7 : AttachmentControl.controlName;
153
+ _this.placeholder = (_ref8 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref8 !== void 0 ? _ref8 : getLocaleText('CMD.uploadFile', null, '上传附件');
154
+ _this.isShowWatermark = (_ref9 = props === null || props === void 0 ? void 0 : props.isShowWatermark) !== null && _ref9 !== void 0 ? _ref9 : false;
155
+ _this.watermarkFx = (_ref10 = props === null || props === void 0 ? void 0 : props.watermarkFx) !== null && _ref10 !== void 0 ? _ref10 : {};
156
+ _this.operation = (_ref11 = props === null || props === void 0 ? void 0 : props.operation) !== null && _ref11 !== void 0 ? _ref11 : [
168
157
  'info',
169
158
  'preview',
170
159
  'download'
171
160
  ];
172
- var _props_aiExplanation;
173
- _this.aiExplanation = (_props_aiExplanation = props === null || props === void 0 ? void 0 : props.aiExplanation) !== null && _props_aiExplanation !== void 0 ? _props_aiExplanation : false;
174
- var _props_aiExplanationLength;
175
- _this.aiExplanationLength = (_props_aiExplanationLength = props === null || props === void 0 ? void 0 : props.aiExplanationLength) !== null && _props_aiExplanationLength !== void 0 ? _props_aiExplanationLength : 500;
176
- var _props_storageType;
177
- _this.storageType = (_props_storageType = props === null || props === void 0 ? void 0 : props.storageType) !== null && _props_storageType !== void 0 ? _props_storageType : 'local';
178
- var _props_customOperation;
179
- _this.customOperation = (_props_customOperation = props === null || props === void 0 ? void 0 : props.customOperation) !== null && _props_customOperation !== void 0 ? _props_customOperation : [];
161
+ _this.aiExplanation = (_ref12 = props === null || props === void 0 ? void 0 : props.aiExplanation) !== null && _ref12 !== void 0 ? _ref12 : false;
162
+ _this.aiExplanationLength = (_ref13 = props === null || props === void 0 ? void 0 : props.aiExplanationLength) !== null && _ref13 !== void 0 ? _ref13 : 500;
163
+ _this.storageType = (_ref14 = props === null || props === void 0 ? void 0 : props.storageType) !== null && _ref14 !== void 0 ? _ref14 : 'local';
164
+ _this.customOperation = (_ref15 = props === null || props === void 0 ? void 0 : props.customOperation) !== null && _ref15 !== void 0 ? _ref15 : [];
180
165
  return _this;
181
166
  }
182
167
  return AttachmentProperty;
@@ -79,15 +79,13 @@ var AutoNumberProperty = /*#__PURE__*/ function(BaseControlProperty) {
79
79
  function AutoNumberProperty(props) {
80
80
  _class_call_check(this, AutoNumberProperty);
81
81
  var _this;
82
+ var _ref, _ref1, _ref2;
82
83
  _this = _call_super(this, AutoNumberProperty, [
83
84
  props
84
85
  ]), _define_property(_this, "defaultValue", void 0);
85
- var _props_defaultValue;
86
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : '';
87
- var _props_caption;
88
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AutoNumberControl.controlName;
89
- var _props_placeholder;
90
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnterAutonumber', null, '请输入自动编号');
86
+ _this.defaultValue = (_ref = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref !== void 0 ? _ref : '';
87
+ _this.caption = (_ref1 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref1 !== void 0 ? _ref1 : AutoNumberControl.controlName;
88
+ _this.placeholder = (_ref2 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref2 !== void 0 ? _ref2 : getLocaleText('CMD.pleaseEnterAutonumber', null, '请输入自动编号');
91
89
  return _this;
92
90
  }
93
91
  return AutoNumberProperty;
@@ -130,6 +130,7 @@ var CalcProperty = /*#__PURE__*/ function(BaseControlProperty) {
130
130
  function CalcProperty(props) {
131
131
  _class_call_check(this, CalcProperty);
132
132
  var _this;
133
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
133
134
  _this = _call_super(this, CalcProperty, [
134
135
  props
135
136
  ]), /**
@@ -158,26 +159,17 @@ var CalcProperty = /*#__PURE__*/ function(BaseControlProperty) {
158
159
  * */ _define_property(_this, "unitPosition", void 0), /**
159
160
  * 页面加载时计算
160
161
  * */ _define_property(_this, "calcOnMounted", void 0);
161
- var _props_precision;
162
- _this.precision = (_props_precision = props === null || props === void 0 ? void 0 : props.precision) !== null && _props_precision !== void 0 ? _props_precision : 0;
163
- var _props_micrometer;
164
- _this.micrometer = (_props_micrometer = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _props_micrometer !== void 0 ? _props_micrometer : false;
165
- var _props_showUpperCase;
166
- _this.showUpperCase = (_props_showUpperCase = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _props_showUpperCase !== void 0 ? _props_showUpperCase : false;
162
+ _this.precision = (_ref = props === null || props === void 0 ? void 0 : props.precision) !== null && _ref !== void 0 ? _ref : 0;
163
+ _this.micrometer = (_ref1 = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _ref1 !== void 0 ? _ref1 : false;
164
+ _this.showUpperCase = (_ref2 = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _ref2 !== void 0 ? _ref2 : false;
167
165
  _this.dataBind = new CalcDataBind(props === null || props === void 0 ? void 0 : props.dataBind);
168
166
  _this.defaultValue = new CalcValue(props === null || props === void 0 ? void 0 : props.defaultValue);
169
- var _props_caption;
170
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AmountControl.controlName;
171
- var _props_unitPosition;
172
- _this.unitPosition = (_props_unitPosition = props === null || props === void 0 ? void 0 : props.unitPosition) !== null && _props_unitPosition !== void 0 ? _props_unitPosition : 'right';
173
- var _props_placeholder;
174
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnter', null, '请输入');
175
- var _props_scriptEcho;
176
- _this.scriptEcho = (_props_scriptEcho = props === null || props === void 0 ? void 0 : props.scriptEcho) !== null && _props_scriptEcho !== void 0 ? _props_scriptEcho : [];
177
- var _props_scriptSrc;
178
- _this.scriptSrc = (_props_scriptSrc = props === null || props === void 0 ? void 0 : props.scriptSrc) !== null && _props_scriptSrc !== void 0 ? _props_scriptSrc : '';
179
- var _props_calcOnMounted;
180
- _this.calcOnMounted = (_props_calcOnMounted = props === null || props === void 0 ? void 0 : props.calcOnMounted) !== null && _props_calcOnMounted !== void 0 ? _props_calcOnMounted : false;
167
+ _this.caption = (_ref3 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref3 !== void 0 ? _ref3 : AmountControl.controlName;
168
+ _this.unitPosition = (_ref4 = props === null || props === void 0 ? void 0 : props.unitPosition) !== null && _ref4 !== void 0 ? _ref4 : 'right';
169
+ _this.placeholder = (_ref5 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref5 !== void 0 ? _ref5 : getLocaleText('CMD.pleaseEnter', null, '请输入');
170
+ _this.scriptEcho = (_ref6 = props === null || props === void 0 ? void 0 : props.scriptEcho) !== null && _ref6 !== void 0 ? _ref6 : [];
171
+ _this.scriptSrc = (_ref7 = props === null || props === void 0 ? void 0 : props.scriptSrc) !== null && _ref7 !== void 0 ? _ref7 : '';
172
+ _this.calcOnMounted = (_ref8 = props === null || props === void 0 ? void 0 : props.calcOnMounted) !== null && _ref8 !== void 0 ? _ref8 : false;
181
173
  return _this;
182
174
  }
183
175
  return CalcProperty;
@@ -90,7 +90,7 @@ var CheckboxPropertyRules = /*#__PURE__*/ function(OptionAndDataSourcePropertyRu
90
90
  if (unlimitedMax) {
91
91
  _this.limitMax.type = 'string';
92
92
  }
93
- var isUnlimited = function(value) {
93
+ var isUnlimited = function isUnlimited(value) {
94
94
  return value === 'unlimited' ? undefined : value;
95
95
  };
96
96
  _this.limitMax.min = isUnlimited(props.limitMin);
@@ -125,6 +125,7 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
125
125
  function CheckboxProperty(props) {
126
126
  _class_call_check(this, CheckboxProperty);
127
127
  var _this;
128
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13;
128
129
  _this = _call_super(this, CheckboxProperty, [
129
130
  props
130
131
  ]), _define_property(_this, "checkboxMode", void 0 // 选项排列方式 horizontal默认
@@ -141,8 +142,7 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
141
142
  * @defaultValue false
142
143
  * @public
143
144
  */ _define_property(_this, "aiContentSearch", void 0);
144
- var _props_options;
145
- _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
145
+ _this.options = initOptions((_ref = props === null || props === void 0 ? void 0 : props.options) !== null && _ref !== void 0 ? _ref : [
146
146
  {
147
147
  label: getLocaleText('CMD.optionOne', null, '选项一'),
148
148
  value: getLocaleText('CMD.optionOne', null, '选项一')
@@ -156,31 +156,19 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
156
156
  value: getLocaleText('CMD.optionThird', null, '选项三')
157
157
  }
158
158
  ]);
159
- var _props_checkboxMode;
160
- _this.checkboxMode = (_props_checkboxMode = props === null || props === void 0 ? void 0 : props.checkboxMode) !== null && _props_checkboxMode !== void 0 ? _props_checkboxMode : 'horizontal';
161
- var _props_optionConfig;
162
- _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : 'custom';
163
- var _props_optionsOrder;
164
- _this.optionsOrder = (_props_optionsOrder = props === null || props === void 0 ? void 0 : props.optionsOrder) !== null && _props_optionsOrder !== void 0 ? _props_optionsOrder : false;
165
- var _props_otherOption;
166
- _this.otherOption = (_props_otherOption = props === null || props === void 0 ? void 0 : props.otherOption) !== null && _props_otherOption !== void 0 ? _props_otherOption : false;
167
- var _props_limitMin;
168
- _this.limitMin = (_props_limitMin = props === null || props === void 0 ? void 0 : props.limitMin) !== null && _props_limitMin !== void 0 ? _props_limitMin : 'unlimited';
169
- var _props_limitMax;
170
- _this.limitMax = (_props_limitMax = props === null || props === void 0 ? void 0 : props.limitMax) !== null && _props_limitMax !== void 0 ? _props_limitMax : 'unlimited';
159
+ _this.checkboxMode = (_ref1 = props === null || props === void 0 ? void 0 : props.checkboxMode) !== null && _ref1 !== void 0 ? _ref1 : 'horizontal';
160
+ _this.optionConfig = (_ref2 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref2 !== void 0 ? _ref2 : 'custom';
161
+ _this.optionsOrder = (_ref3 = props === null || props === void 0 ? void 0 : props.optionsOrder) !== null && _ref3 !== void 0 ? _ref3 : false;
162
+ _this.otherOption = (_ref4 = props === null || props === void 0 ? void 0 : props.otherOption) !== null && _ref4 !== void 0 ? _ref4 : false;
163
+ _this.limitMin = (_ref5 = props === null || props === void 0 ? void 0 : props.limitMin) !== null && _ref5 !== void 0 ? _ref5 : 'unlimited';
164
+ _this.limitMax = (_ref6 = props === null || props === void 0 ? void 0 : props.limitMax) !== null && _ref6 !== void 0 ? _ref6 : 'unlimited';
171
165
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
172
- var _props_interreaction;
173
- _this.interreaction = (_props_interreaction = props === null || props === void 0 ? void 0 : props.interreaction) !== null && _props_interreaction !== void 0 ? _props_interreaction : [];
174
- var _props_caption;
175
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : CheckboxControl.controlName;
176
- var _props_defaultValue;
177
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
178
- var _props_optionsFormat;
179
- _this.optionsFormat = (_props_optionsFormat = props === null || props === void 0 ? void 0 : props.optionsFormat) !== null && _props_optionsFormat !== void 0 ? _props_optionsFormat : 'horizontal';
180
- var _props_defaultShowOptions;
181
- _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
182
- var _props_openMultistageFilling;
183
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
166
+ _this.interreaction = (_ref7 = props === null || props === void 0 ? void 0 : props.interreaction) !== null && _ref7 !== void 0 ? _ref7 : [];
167
+ _this.caption = (_ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref8 !== void 0 ? _ref8 : CheckboxControl.controlName;
168
+ _this.defaultValue = (_ref9 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref9 !== void 0 ? _ref9 : [];
169
+ _this.optionsFormat = (_ref10 = props === null || props === void 0 ? void 0 : props.optionsFormat) !== null && _ref10 !== void 0 ? _ref10 : 'horizontal';
170
+ _this.defaultShowOptions = (_ref11 = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _ref11 !== void 0 ? _ref11 : true;
171
+ _this.openMultistageFilling = (_ref12 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref12 !== void 0 ? _ref12 : false;
184
172
  _this.multistageFilling = [];
185
173
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
186
174
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -188,8 +176,7 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
188
176
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
189
177
  });
190
178
  }
191
- var _props_aiContentSearch;
192
- _this.aiContentSearch = (_props_aiContentSearch = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _props_aiContentSearch !== void 0 ? _props_aiContentSearch : false;
179
+ _this.aiContentSearch = (_ref13 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref13 !== void 0 ? _ref13 : false;
193
180
  return _this;
194
181
  }
195
182
  return CheckboxProperty;
@@ -81,6 +81,7 @@ var DatePickerProperty = /*#__PURE__*/ function(BaseControlProperty) {
81
81
  function DatePickerProperty(props) {
82
82
  _class_call_check(this, DatePickerProperty);
83
83
  var _this;
84
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12;
84
85
  var _props_limitDateList;
85
86
  _this = _call_super(this, DatePickerProperty, [
86
87
  props
@@ -96,38 +97,25 @@ var DatePickerProperty = /*#__PURE__*/ function(BaseControlProperty) {
96
97
  ), _define_property(_this, "isShowCustomDateFormat", void 0 //是否使用自定义格式化显示时间
97
98
  ), _define_property(_this, "customDateFormat", void 0 //自定义格式化显示时间
98
99
  );
99
- var _props_dateType;
100
- _this.dateType = (_props_dateType = props === null || props === void 0 ? void 0 : props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
101
- var _props_dateFormat;
102
- _this.dateFormat = (_props_dateFormat = props === null || props === void 0 ? void 0 : props.dateFormat) !== null && _props_dateFormat !== void 0 ? _props_dateFormat : '';
103
- var _props_commonTimeSetting;
104
- _this.commonTimeSetting = (_props_commonTimeSetting = props === null || props === void 0 ? void 0 : props.commonTimeSetting) !== null && _props_commonTimeSetting !== void 0 ? _props_commonTimeSetting : [];
105
- var _props_setValueType;
106
- _this.setValueType = (_props_setValueType = props === null || props === void 0 ? void 0 : props.setValueType) !== null && _props_setValueType !== void 0 ? _props_setValueType : 'custom';
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 : DatePickerControl.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 : getLocaleText('CMD.pleaseEnterDate', null, '请输入日期');
111
- var _props_defaultValue;
112
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : '';
113
- var _props_limitDateList_map;
114
- _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) {
100
+ _this.dateType = (_ref = props === null || props === void 0 ? void 0 : props.dateType) !== null && _ref !== void 0 ? _ref : DateType.DATE;
101
+ _this.dateFormat = (_ref1 = props === null || props === void 0 ? void 0 : props.dateFormat) !== null && _ref1 !== void 0 ? _ref1 : '';
102
+ _this.commonTimeSetting = (_ref2 = props === null || props === void 0 ? void 0 : props.commonTimeSetting) !== null && _ref2 !== void 0 ? _ref2 : [];
103
+ _this.setValueType = (_ref3 = props === null || props === void 0 ? void 0 : props.setValueType) !== null && _ref3 !== void 0 ? _ref3 : 'custom';
104
+ _this.caption = (_ref4 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref4 !== void 0 ? _ref4 : DatePickerControl.controlName;
105
+ _this.placeholder = (_ref5 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref5 !== void 0 ? _ref5 : getLocaleText('CMD.pleaseEnterDate', null, '请输入日期');
106
+ _this.defaultValue = (_ref6 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref6 !== void 0 ? _ref6 : '';
107
+ _this.limitDateList = (_ref7 = props === null || props === void 0 ? void 0 : (_props_limitDateList = props.limitDateList) === null || _props_limitDateList === void 0 ? void 0 : _props_limitDateList.map(function(item) {
115
108
  return new LimitDate(item);
116
- })) !== null && _props_limitDateList_map !== void 0 ? _props_limitDateList_map : [];
117
- var _props_allowDateRange;
109
+ })) !== null && _ref7 !== void 0 ? _ref7 : [];
118
110
  // this.multiple = props?.multiple ?? false
119
- _this.allowDateRange = (_props_allowDateRange = props === null || props === void 0 ? void 0 : props.allowDateRange) !== null && _props_allowDateRange !== void 0 ? _props_allowDateRange : [
111
+ _this.allowDateRange = (_ref8 = props === null || props === void 0 ? void 0 : props.allowDateRange) !== null && _ref8 !== void 0 ? _ref8 : [
120
112
  '',
121
113
  ''
122
114
  ];
123
- var _props_filterWeekend;
124
- _this.filterWeekend = (_props_filterWeekend = props === null || props === void 0 ? void 0 : props.filterWeekend) !== null && _props_filterWeekend !== void 0 ? _props_filterWeekend : false;
125
- var _props_isInternational;
126
- _this.isInternational = (_props_isInternational = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _props_isInternational !== void 0 ? _props_isInternational : false;
127
- var _props_isShowCustomDateFormat;
128
- _this.isShowCustomDateFormat = (_props_isShowCustomDateFormat = props === null || props === void 0 ? void 0 : props.isShowCustomDateFormat) !== null && _props_isShowCustomDateFormat !== void 0 ? _props_isShowCustomDateFormat : false;
129
- var _props_customDateFormat;
130
- _this.customDateFormat = (_props_customDateFormat = props === null || props === void 0 ? void 0 : props.customDateFormat) !== null && _props_customDateFormat !== void 0 ? _props_customDateFormat : '';
115
+ _this.filterWeekend = (_ref9 = props === null || props === void 0 ? void 0 : props.filterWeekend) !== null && _ref9 !== void 0 ? _ref9 : false;
116
+ _this.isInternational = (_ref10 = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _ref10 !== void 0 ? _ref10 : false;
117
+ _this.isShowCustomDateFormat = (_ref11 = props === null || props === void 0 ? void 0 : props.isShowCustomDateFormat) !== null && _ref11 !== void 0 ? _ref11 : false;
118
+ _this.customDateFormat = (_ref12 = props === null || props === void 0 ? void 0 : props.customDateFormat) !== null && _ref12 !== void 0 ? _ref12 : '';
131
119
  return _this;
132
120
  }
133
121
  return DatePickerProperty;
@@ -117,6 +117,7 @@ var DateRangePropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRu
117
117
  function DateRangeProperty(props) {
118
118
  _class_call_check(this, DateRangeProperty);
119
119
  var _this;
120
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10;
120
121
  var _props_limitDateList;
121
122
  _this = _call_super(this, DateRangeProperty, [
122
123
  props
@@ -166,30 +167,19 @@ var DateRangePropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRu
166
167
  );
167
168
  _this.dataBind = new RangeDataBind(props === null || props === void 0 ? void 0 : props.dataBind);
168
169
  _this.defaultValue = new RangeDateValue(props === null || props === void 0 ? void 0 : props.defaultValue);
169
- var _props_dateType;
170
- _this.dateType = (_props_dateType = props === null || props === void 0 ? void 0 : props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
171
- var _props_dateFormat;
172
- _this.dateFormat = (_props_dateFormat = props === null || props === void 0 ? void 0 : props.dateFormat) !== null && _props_dateFormat !== void 0 ? _props_dateFormat : '';
173
- var _props_commonTimeSetting;
174
- _this.commonTimeSetting = (_props_commonTimeSetting = props === null || props === void 0 ? void 0 : props.commonTimeSetting) !== null && _props_commonTimeSetting !== void 0 ? _props_commonTimeSetting : [];
175
- var _props_setValueType;
176
- _this.setValueType = (_props_setValueType = props === null || props === void 0 ? void 0 : props.setValueType) !== null && _props_setValueType !== void 0 ? _props_setValueType : 'custom';
177
- var _props_rangeMin;
178
- _this.rangeMin = (_props_rangeMin = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : '';
179
- var _props_rangeMax;
180
- _this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : '';
181
- var _props_placeholderStart;
182
- _this.placeholderStart = (_props_placeholderStart = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _props_placeholderStart !== void 0 ? _props_placeholderStart : getLocaleText('CMD.pleaseSelectStartDate', null, '请选择开始日期');
183
- var _props_placeholderEnd;
184
- _this.placeholderEnd = (_props_placeholderEnd = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _props_placeholderEnd !== void 0 ? _props_placeholderEnd : getLocaleText('CMD.pleaseSelectEndDate', null, '请选择结束日期');
185
- var _props_caption;
186
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DateRangeControl.controlName;
187
- var _props_limitDateList_map;
188
- _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) {
170
+ _this.dateType = (_ref = props === null || props === void 0 ? void 0 : props.dateType) !== null && _ref !== void 0 ? _ref : DateType.DATE;
171
+ _this.dateFormat = (_ref1 = props === null || props === void 0 ? void 0 : props.dateFormat) !== null && _ref1 !== void 0 ? _ref1 : '';
172
+ _this.commonTimeSetting = (_ref2 = props === null || props === void 0 ? void 0 : props.commonTimeSetting) !== null && _ref2 !== void 0 ? _ref2 : [];
173
+ _this.setValueType = (_ref3 = props === null || props === void 0 ? void 0 : props.setValueType) !== null && _ref3 !== void 0 ? _ref3 : 'custom';
174
+ _this.rangeMin = (_ref4 = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _ref4 !== void 0 ? _ref4 : '';
175
+ _this.rangeMax = (_ref5 = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _ref5 !== void 0 ? _ref5 : '';
176
+ _this.placeholderStart = (_ref6 = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _ref6 !== void 0 ? _ref6 : getLocaleText('CMD.pleaseSelectStartDate', null, '请选择开始日期');
177
+ _this.placeholderEnd = (_ref7 = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _ref7 !== void 0 ? _ref7 : getLocaleText('CMD.pleaseSelectEndDate', null, '请选择结束日期');
178
+ _this.caption = (_ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref8 !== void 0 ? _ref8 : DateRangeControl.controlName;
179
+ _this.limitDateList = (_ref9 = props === null || props === void 0 ? void 0 : (_props_limitDateList = props.limitDateList) === null || _props_limitDateList === void 0 ? void 0 : _props_limitDateList.map(function(item) {
189
180
  return new LimitDate(item);
190
- })) !== null && _props_limitDateList_map !== void 0 ? _props_limitDateList_map : [];
191
- var _props_isInternational;
192
- _this.isInternational = (_props_isInternational = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _props_isInternational !== void 0 ? _props_isInternational : false;
181
+ })) !== null && _ref9 !== void 0 ? _ref9 : [];
182
+ _this.isInternational = (_ref10 = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _ref10 !== void 0 ? _ref10 : false;
193
183
  return _this;
194
184
  }
195
185
  return DateRangeProperty;
@@ -95,6 +95,7 @@ var DepartmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
95
95
  function DepartmentProperty(props) {
96
96
  _class_call_check(this, DepartmentProperty);
97
97
  var _this;
98
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10;
98
99
  _this = _call_super(this, DepartmentProperty, [
99
100
  props
100
101
  ]), /**
@@ -117,28 +118,17 @@ var DepartmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
117
118
  * 多级填充
118
119
  * */ _define_property(_this, "multistageFilling", void 0), _define_property(_this, "openMultistageFilling", void 0 //是否开启填充
119
120
  );
120
- var _props_showType;
121
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'default';
122
- var _props_multiple;
123
- _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
124
- var _props_range;
125
- _this.range = (_props_range = props === null || props === void 0 ? void 0 : props.range) !== null && _props_range !== void 0 ? _props_range : 'all';
126
- var _props_defaultValueType;
127
- _this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : 'none';
128
- var _props_rangeOptions;
129
- _this.rangeOptions = (_props_rangeOptions = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
130
- var _props_defaultValue;
131
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
132
- var _props_displayLevel;
133
- _this.displayLevel = (_props_displayLevel = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _props_displayLevel !== void 0 ? _props_displayLevel : 1;
134
- var _props_showSubDept;
135
- _this.showSubDept = (_props_showSubDept = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _props_showSubDept !== void 0 ? _props_showSubDept : true;
136
- var _props_caption;
137
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DepartmentControl.controlName;
138
- var _props_placeholder;
139
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseSelectDept', null, '请选择部门');
140
- var _props_openMultistageFilling;
141
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
121
+ _this.showType = (_ref = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref !== void 0 ? _ref : 'default';
122
+ _this.multiple = (_ref1 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref1 !== void 0 ? _ref1 : false;
123
+ _this.range = (_ref2 = props === null || props === void 0 ? void 0 : props.range) !== null && _ref2 !== void 0 ? _ref2 : 'all';
124
+ _this.defaultValueType = (_ref3 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _ref3 !== void 0 ? _ref3 : 'none';
125
+ _this.rangeOptions = (_ref4 = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _ref4 !== void 0 ? _ref4 : [];
126
+ _this.defaultValue = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref5 !== void 0 ? _ref5 : [];
127
+ _this.displayLevel = (_ref6 = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _ref6 !== void 0 ? _ref6 : 1;
128
+ _this.showSubDept = (_ref7 = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _ref7 !== void 0 ? _ref7 : true;
129
+ _this.caption = (_ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref8 !== void 0 ? _ref8 : DepartmentControl.controlName;
130
+ _this.placeholder = (_ref9 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref9 !== void 0 ? _ref9 : getLocaleText('CMD.pleaseSelectDept', null, '请选择部门');
131
+ _this.openMultistageFilling = (_ref10 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref10 !== void 0 ? _ref10 : false;
142
132
  _this.multistageFilling = [];
143
133
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
144
134
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {