@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
@@ -65,11 +65,11 @@ var PeopleColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty)
65
65
  function PeopleColumnControlProperty(props) {
66
66
  _class_call_check(this, PeopleColumnControlProperty);
67
67
  var _this;
68
+ var _ref;
68
69
  _this = _call_super(this, PeopleColumnControlProperty, [
69
70
  props
70
71
  ]);
71
- var _props_caption;
72
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerPeopleColumnControl.controlName;
72
+ _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerPeopleColumnControl.controlName;
73
73
  return _this;
74
74
  }
75
75
  return PeopleColumnControlProperty;
@@ -92,17 +92,14 @@ var TextColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
92
92
  function TextColumnControlProperty(props) {
93
93
  _class_call_check(this, TextColumnControlProperty);
94
94
  var _this;
95
+ var _ref, _ref1, _ref2, _ref3;
95
96
  _this = _call_super(this, TextColumnControlProperty, [
96
97
  props
97
98
  ]), _define_property(_this, "escapeHTML", void 0), _define_property(_this, "showLinkOperation", void 0), _define_property(_this, "linkOperationOption", void 0), _define_property(_this, "lineEllipsis", void 0);
98
- var _props_escapeHTML;
99
- _this.escapeHTML = (_props_escapeHTML = props === null || props === void 0 ? void 0 : props.escapeHTML) !== null && _props_escapeHTML !== void 0 ? _props_escapeHTML : false;
100
- var _props_caption;
101
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTextColumnControl.controlName;
102
- var _props_lineEllipsis;
103
- _this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
104
- var _props_showLinkOperation;
105
- _this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
99
+ _this.escapeHTML = (_ref = props === null || props === void 0 ? void 0 : props.escapeHTML) !== null && _ref !== void 0 ? _ref : false;
100
+ _this.caption = (_ref1 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref1 !== void 0 ? _ref1 : DesignerTextColumnControl.controlName;
101
+ _this.lineEllipsis = (_ref2 = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _ref2 !== void 0 ? _ref2 : 1;
102
+ _this.showLinkOperation = (_ref3 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref3 !== void 0 ? _ref3 : false;
106
103
  _this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
107
104
  return _this;
108
105
  }
@@ -93,18 +93,15 @@ var TimescopeColumnControlProperty = /*#__PURE__*/ function(ColumnControlPropert
93
93
  function TimescopeColumnControlProperty(props) {
94
94
  _class_call_check(this, TimescopeColumnControlProperty);
95
95
  var _this;
96
+ var _ref, _ref1, _ref2, _ref3;
96
97
  _this = _call_super(this, TimescopeColumnControlProperty, [
97
98
  props
98
99
  ]), _define_property(_this, "dateType", void 0), _define_property(_this, "showLinkOperation", void 0), _define_property(_this, "linkOperationOption", void 0), _define_property(_this, "isInternational", void 0);
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_showLinkOperation;
102
- _this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
100
+ _this.dateType = (_ref = props === null || props === void 0 ? void 0 : props.dateType) !== null && _ref !== void 0 ? _ref : DateType.DATE;
101
+ _this.showLinkOperation = (_ref1 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref1 !== void 0 ? _ref1 : false;
103
102
  _this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
104
- var _props_caption;
105
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTimescopeColumnControl.controlName;
106
- var _props_isInternational;
107
- _this.isInternational = (_props_isInternational = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _props_isInternational !== void 0 ? _props_isInternational : false;
103
+ _this.caption = (_ref2 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref2 !== void 0 ? _ref2 : DesignerTimescopeColumnControl.controlName;
104
+ _this.isInternational = (_ref3 = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _ref3 !== void 0 ? _ref3 : false;
108
105
  return _this;
109
106
  }
110
107
  return TimescopeColumnControlProperty;
@@ -93,18 +93,15 @@ var TimestampColumnControlProperty = /*#__PURE__*/ function(ColumnControlPropert
93
93
  function TimestampColumnControlProperty(props) {
94
94
  _class_call_check(this, TimestampColumnControlProperty);
95
95
  var _this;
96
+ var _ref, _ref1, _ref2, _ref3;
96
97
  _this = _call_super(this, TimestampColumnControlProperty, [
97
98
  props
98
99
  ]), _define_property(_this, "dateType", void 0), _define_property(_this, "showLinkOperation", void 0), _define_property(_this, "linkOperationOption", void 0), _define_property(_this, "isInternational", void 0);
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_showLinkOperation;
102
- _this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
100
+ _this.dateType = (_ref = props === null || props === void 0 ? void 0 : props.dateType) !== null && _ref !== void 0 ? _ref : DateType.DATE;
101
+ _this.showLinkOperation = (_ref1 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref1 !== void 0 ? _ref1 : false;
103
102
  _this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
104
- var _props_caption;
105
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTimestampColumnControl.controlName;
106
- var _props_isInternational;
107
- _this.isInternational = (_props_isInternational = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _props_isInternational !== void 0 ? _props_isInternational : false;
103
+ _this.caption = (_ref2 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref2 !== void 0 ? _ref2 : DesignerTimestampColumnControl.controlName;
104
+ _this.isInternational = (_ref3 = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _ref3 !== void 0 ? _ref3 : false;
108
105
  return _this;
109
106
  }
110
107
  return TimestampColumnControlProperty;
@@ -92,25 +92,20 @@ var VarcharColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty)
92
92
  function VarcharColumnControlProperty(props) {
93
93
  _class_call_check(this, VarcharColumnControlProperty);
94
94
  var _this;
95
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
95
96
  _this = _call_super(this, VarcharColumnControlProperty, [
96
97
  props
97
98
  ]), _define_property(_this, "optionConfig", void 0), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "showLinkOperation", void 0), _define_property(_this, "linkOperationOption", void 0), _define_property(_this, "options", void 0), _define_property(_this, "lineEllipsis", void 0), _define_property(_this, "dictionaryTagConfig", void 0);
98
- var _props_caption;
99
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerVarcharColumnControl.controlName;
100
- var _props_optionConfig;
101
- _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : 'none';
99
+ _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerVarcharColumnControl.controlName;
100
+ _this.optionConfig = (_ref1 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref1 !== void 0 ? _ref1 : 'none';
102
101
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
103
- var _props_options;
104
- _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
102
+ _this.options = initOptions((_ref2 = props === null || props === void 0 ? void 0 : props.options) !== null && _ref2 !== void 0 ? _ref2 : [
105
103
  {}
106
104
  ]);
107
- var _props_showLinkOperation;
108
- _this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
105
+ _this.showLinkOperation = (_ref3 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref3 !== void 0 ? _ref3 : false;
109
106
  _this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
110
- var _props_lineEllipsis;
111
- _this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
112
- var _props_dictionaryTagConfig;
113
- _this.dictionaryTagConfig = (_props_dictionaryTagConfig = props === null || props === void 0 ? void 0 : props.dictionaryTagConfig) !== null && _props_dictionaryTagConfig !== void 0 ? _props_dictionaryTagConfig : {
107
+ _this.lineEllipsis = (_ref4 = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _ref4 !== void 0 ? _ref4 : 1;
108
+ _this.dictionaryTagConfig = (_ref5 = props === null || props === void 0 ? void 0 : props.dictionaryTagConfig) !== null && _ref5 !== void 0 ? _ref5 : {
114
109
  isTag: false
115
110
  };
116
111
  return _this;
@@ -122,23 +122,19 @@ var AddressProperty = /*#__PURE__*/ function(BaseControlProperty) {
122
122
  function AddressProperty(props) {
123
123
  _class_call_check(this, AddressProperty);
124
124
  var _this;
125
+ var _ref, _ref1, _ref2, _ref3, _ref4;
125
126
  _this = _call_super(this, AddressProperty, [
126
127
  props
127
128
  ]), _define_property(_this, "defaultValueType", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "addressType", void 0);
128
- var _props_caption;
129
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AddressControl.controlName;
130
- var _props_defaultValueType;
131
- _this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : 'default';
132
- var _props_addressType;
133
- _this.addressType = (_props_addressType = props === null || props === void 0 ? void 0 : props.addressType) !== null && _props_addressType !== void 0 ? _props_addressType : [
129
+ _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : AddressControl.controlName;
130
+ _this.defaultValueType = (_ref1 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _ref1 !== void 0 ? _ref1 : 'default';
131
+ _this.addressType = (_ref2 = props === null || props === void 0 ? void 0 : props.addressType) !== null && _ref2 !== void 0 ? _ref2 : [
134
132
  'province',
135
133
  'city',
136
134
  'district'
137
135
  ];
138
- var _props_defaultValue;
139
- _this.defaultValue = new AddressValue((_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : {});
140
- var _props_placeholder;
141
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseChooseAddress', null, '请选择地址');
136
+ _this.defaultValue = new AddressValue((_ref3 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref3 !== void 0 ? _ref3 : {});
137
+ _this.placeholder = (_ref4 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref4 !== void 0 ? _ref4 : getLocaleText('CMD.pleaseChooseAddress', null, '请选择地址');
142
138
  return _this;
143
139
  }
144
140
  return AddressProperty;
@@ -200,44 +200,33 @@ var AmountProperty = /*#__PURE__*/ function(BaseControlProperty) {
200
200
  function AmountProperty(props) {
201
201
  _class_call_check(this, AmountProperty);
202
202
  var _this;
203
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11;
203
204
  _this = _call_super(this, AmountProperty, [
204
205
  props
205
206
  ]), _define_property(_this, "rangeMin", void 0), _define_property(_this, "rangeMax", void 0), _define_property(_this, "showUpperCase", void 0), _define_property(_this, "submitSelectCurrency", void 0), _define_property(_this, "micrometer", void 0), _define_property(_this, "precision", void 0), _define_property(_this, "unitPosition", void 0), _define_property(_this, "optionConfig", void 0), _define_property(_this, "dataBind", void 0), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "options", void 0);
206
- var _props_rangeMin;
207
- _this.rangeMin = (_props_rangeMin = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : '';
208
- var _props_rangeMax;
209
- _this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : '';
210
- var _props_optionConfig;
211
- _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : 'datasource';
212
- var _props_micrometer;
213
- _this.micrometer = (_props_micrometer = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _props_micrometer !== void 0 ? _props_micrometer : false;
214
- var _props_precision;
215
- _this.precision = (_props_precision = props === null || props === void 0 ? void 0 : props.precision) !== null && _props_precision !== void 0 ? _props_precision : 2;
207
+ _this.rangeMin = (_ref = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _ref !== void 0 ? _ref : '';
208
+ _this.rangeMax = (_ref1 = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _ref1 !== void 0 ? _ref1 : '';
209
+ _this.optionConfig = (_ref2 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref2 !== void 0 ? _ref2 : 'datasource';
210
+ _this.micrometer = (_ref3 = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _ref3 !== void 0 ? _ref3 : false;
211
+ _this.precision = (_ref4 = props === null || props === void 0 ? void 0 : props.precision) !== null && _ref4 !== void 0 ? _ref4 : 2;
216
212
  _this.dataBind = new AmountDataBind(props === null || props === void 0 ? void 0 : props.dataBind);
217
- var _props_datasourceBind;
218
- _this.datasourceBind = new DataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
213
+ _this.datasourceBind = new DataSourceBind((_ref5 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _ref5 !== void 0 ? _ref5 : {
219
214
  displayBoList: [
220
215
  new DisplayBoListItem({
221
216
  value: 'name'
222
217
  })
223
218
  ]
224
219
  });
225
- var _props_defaultValue;
226
- _this.defaultValue = new AmountValue((_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : {
220
+ _this.defaultValue = new AmountValue((_ref6 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref6 !== void 0 ? _ref6 : {
227
221
  amount: '',
228
222
  currency: AMOUNT_TYPE.CNY
229
223
  });
230
- var _props_unitPosition;
231
- _this.unitPosition = (_props_unitPosition = props === null || props === void 0 ? void 0 : props.unitPosition) !== null && _props_unitPosition !== void 0 ? _props_unitPosition : 'right';
224
+ _this.unitPosition = (_ref7 = props === null || props === void 0 ? void 0 : props.unitPosition) !== null && _ref7 !== void 0 ? _ref7 : 'right';
232
225
  _this.options = initOptions(props === null || props === void 0 ? void 0 : props.options);
233
- var _props_caption;
234
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AmountControl.controlName;
235
- var _props_placeholder;
236
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnter', null, '请输入');
237
- var _props_submitSelectCurrency;
238
- _this.submitSelectCurrency = (_props_submitSelectCurrency = props === null || props === void 0 ? void 0 : props.submitSelectCurrency) !== null && _props_submitSelectCurrency !== void 0 ? _props_submitSelectCurrency : false;
239
- var _props_showUpperCase;
240
- _this.showUpperCase = (_props_showUpperCase = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _props_showUpperCase !== void 0 ? _props_showUpperCase : false;
226
+ _this.caption = (_ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref8 !== void 0 ? _ref8 : AmountControl.controlName;
227
+ _this.placeholder = (_ref9 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref9 !== void 0 ? _ref9 : getLocaleText('CMD.pleaseEnter', null, '请输入');
228
+ _this.submitSelectCurrency = (_ref10 = props === null || props === void 0 ? void 0 : props.submitSelectCurrency) !== null && _ref10 !== void 0 ? _ref10 : false;
229
+ _this.showUpperCase = (_ref11 = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _ref11 !== void 0 ? _ref11 : false;
241
230
  return _this;
242
231
  }
243
232
  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,47 +131,31 @@ 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, _ref16;
134
135
  _this = _call_super(this, AttachmentProperty, [
135
136
  props
136
137
  ]), _define_property(_this, "storageType", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "showType", void 0), _define_property(_this, "resultShowType", void 0), _define_property(_this, "attachmentAccept", void 0), _define_property(_this, "maxLimit", void 0), _define_property(_this, "minLimit", void 0), _define_property(_this, "isShowWatermark", void 0), _define_property(_this, "watermarkFx", void 0), _define_property(_this, "maxSize", void 0), _define_property(_this, "operation", void 0), _define_property(_this, "aiExplanation", void 0), _define_property(_this, "aiExplanationLength", void 0), _define_property(_this, "customOperation", void 0), _define_property(_this, "describe", void 0);
137
- var _props_defaultValue;
138
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
139
- var _props_showType;
140
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'default';
141
- var _props_resultShowType;
142
- _this.resultShowType = (_props_resultShowType = props === null || props === void 0 ? void 0 : props.resultShowType) !== null && _props_resultShowType !== void 0 ? _props_resultShowType : 'simple';
143
- var _props_attachmentAccept;
144
- _this.attachmentAccept = (_props_attachmentAccept = props === null || props === void 0 ? void 0 : props.attachmentAccept) !== null && _props_attachmentAccept !== void 0 ? _props_attachmentAccept : [];
145
- var _props_maxLimit;
146
- _this.maxLimit = (_props_maxLimit = props === null || props === void 0 ? void 0 : props.maxLimit) !== null && _props_maxLimit !== void 0 ? _props_maxLimit : 10;
147
- var _props_minLimit;
148
- _this.minLimit = (_props_minLimit = props === null || props === void 0 ? void 0 : props.minLimit) !== null && _props_minLimit !== void 0 ? _props_minLimit : 0;
149
- var _props_maxSize;
150
- _this.maxSize = (_props_maxSize = props === null || props === void 0 ? void 0 : props.maxSize) !== null && _props_maxSize !== void 0 ? _props_maxSize : MB100;
151
- var _props_caption;
152
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AttachmentControl.controlName;
153
- var _props_placeholder;
154
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.uploadFile', null, '上传附件');
155
- var _props_isShowWatermark;
156
- _this.isShowWatermark = (_props_isShowWatermark = props === null || props === void 0 ? void 0 : props.isShowWatermark) !== null && _props_isShowWatermark !== void 0 ? _props_isShowWatermark : false;
157
- var _props_watermarkFx;
158
- _this.watermarkFx = (_props_watermarkFx = props === null || props === void 0 ? void 0 : props.watermarkFx) !== null && _props_watermarkFx !== void 0 ? _props_watermarkFx : {};
159
- var _props_operation;
160
- _this.operation = (_props_operation = props === null || props === void 0 ? void 0 : props.operation) !== null && _props_operation !== void 0 ? _props_operation : [
138
+ _this.defaultValue = (_ref = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref !== void 0 ? _ref : [];
139
+ _this.showType = (_ref1 = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref1 !== void 0 ? _ref1 : 'default';
140
+ _this.resultShowType = (_ref2 = props === null || props === void 0 ? void 0 : props.resultShowType) !== null && _ref2 !== void 0 ? _ref2 : 'simple';
141
+ _this.attachmentAccept = (_ref3 = props === null || props === void 0 ? void 0 : props.attachmentAccept) !== null && _ref3 !== void 0 ? _ref3 : [];
142
+ _this.maxLimit = (_ref4 = props === null || props === void 0 ? void 0 : props.maxLimit) !== null && _ref4 !== void 0 ? _ref4 : 10;
143
+ _this.minLimit = (_ref5 = props === null || props === void 0 ? void 0 : props.minLimit) !== null && _ref5 !== void 0 ? _ref5 : 0;
144
+ _this.maxSize = (_ref6 = props === null || props === void 0 ? void 0 : props.maxSize) !== null && _ref6 !== void 0 ? _ref6 : MB100;
145
+ _this.caption = (_ref7 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref7 !== void 0 ? _ref7 : AttachmentControl.controlName;
146
+ _this.placeholder = (_ref8 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref8 !== void 0 ? _ref8 : getLocaleText('CMD.uploadFile', null, '上传附件');
147
+ _this.isShowWatermark = (_ref9 = props === null || props === void 0 ? void 0 : props.isShowWatermark) !== null && _ref9 !== void 0 ? _ref9 : false;
148
+ _this.watermarkFx = (_ref10 = props === null || props === void 0 ? void 0 : props.watermarkFx) !== null && _ref10 !== void 0 ? _ref10 : {};
149
+ _this.operation = (_ref11 = props === null || props === void 0 ? void 0 : props.operation) !== null && _ref11 !== void 0 ? _ref11 : [
161
150
  'info',
162
151
  'preview',
163
152
  'download'
164
153
  ];
165
- var _props_aiExplanation;
166
- _this.aiExplanation = (_props_aiExplanation = props === null || props === void 0 ? void 0 : props.aiExplanation) !== null && _props_aiExplanation !== void 0 ? _props_aiExplanation : false;
167
- var _props_aiExplanationLength;
168
- _this.aiExplanationLength = (_props_aiExplanationLength = props === null || props === void 0 ? void 0 : props.aiExplanationLength) !== null && _props_aiExplanationLength !== void 0 ? _props_aiExplanationLength : 500;
169
- var _props_storageType;
170
- _this.storageType = (_props_storageType = props === null || props === void 0 ? void 0 : props.storageType) !== null && _props_storageType !== void 0 ? _props_storageType : 'local';
171
- var _props_customOperation;
172
- _this.customOperation = (_props_customOperation = props === null || props === void 0 ? void 0 : props.customOperation) !== null && _props_customOperation !== void 0 ? _props_customOperation : [];
173
- var _props_describe;
174
- _this.describe = (_props_describe = props === null || props === void 0 ? void 0 : props.describe) !== null && _props_describe !== void 0 ? _props_describe : '';
154
+ _this.aiExplanation = (_ref12 = props === null || props === void 0 ? void 0 : props.aiExplanation) !== null && _ref12 !== void 0 ? _ref12 : false;
155
+ _this.aiExplanationLength = (_ref13 = props === null || props === void 0 ? void 0 : props.aiExplanationLength) !== null && _ref13 !== void 0 ? _ref13 : 500;
156
+ _this.storageType = (_ref14 = props === null || props === void 0 ? void 0 : props.storageType) !== null && _ref14 !== void 0 ? _ref14 : 'local';
157
+ _this.customOperation = (_ref15 = props === null || props === void 0 ? void 0 : props.customOperation) !== null && _ref15 !== void 0 ? _ref15 : [];
158
+ _this.describe = (_ref16 = props === null || props === void 0 ? void 0 : props.describe) !== null && _ref16 !== void 0 ? _ref16 : '';
175
159
  return _this;
176
160
  }
177
161
  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,29 +130,21 @@ 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
  ]), _define_property(_this, "precision", void 0), _define_property(_this, "micrometer", void 0), _define_property(_this, "showUpperCase", void 0), _define_property(_this, "scriptSrc", void 0), _define_property(_this, "scriptEcho", void 0), _define_property(_this, "dataBind", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "unitPosition", void 0), _define_property(_this, "calcOnMounted", void 0);
136
- var _props_precision;
137
- _this.precision = (_props_precision = props === null || props === void 0 ? void 0 : props.precision) !== null && _props_precision !== void 0 ? _props_precision : 0;
138
- var _props_micrometer;
139
- _this.micrometer = (_props_micrometer = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _props_micrometer !== void 0 ? _props_micrometer : false;
140
- var _props_showUpperCase;
141
- _this.showUpperCase = (_props_showUpperCase = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _props_showUpperCase !== void 0 ? _props_showUpperCase : false;
137
+ _this.precision = (_ref = props === null || props === void 0 ? void 0 : props.precision) !== null && _ref !== void 0 ? _ref : 0;
138
+ _this.micrometer = (_ref1 = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _ref1 !== void 0 ? _ref1 : false;
139
+ _this.showUpperCase = (_ref2 = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _ref2 !== void 0 ? _ref2 : false;
142
140
  _this.dataBind = new CalcDataBind(props === null || props === void 0 ? void 0 : props.dataBind);
143
141
  _this.defaultValue = new CalcValue(props === null || props === void 0 ? void 0 : props.defaultValue);
144
- var _props_caption;
145
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AmountControl.controlName;
146
- var _props_unitPosition;
147
- _this.unitPosition = (_props_unitPosition = props === null || props === void 0 ? void 0 : props.unitPosition) !== null && _props_unitPosition !== void 0 ? _props_unitPosition : 'right';
148
- var _props_placeholder;
149
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnter', null, '请输入');
150
- var _props_scriptEcho;
151
- _this.scriptEcho = (_props_scriptEcho = props === null || props === void 0 ? void 0 : props.scriptEcho) !== null && _props_scriptEcho !== void 0 ? _props_scriptEcho : [];
152
- var _props_scriptSrc;
153
- _this.scriptSrc = (_props_scriptSrc = props === null || props === void 0 ? void 0 : props.scriptSrc) !== null && _props_scriptSrc !== void 0 ? _props_scriptSrc : '';
154
- var _props_calcOnMounted;
155
- _this.calcOnMounted = (_props_calcOnMounted = props === null || props === void 0 ? void 0 : props.calcOnMounted) !== null && _props_calcOnMounted !== void 0 ? _props_calcOnMounted : false;
142
+ _this.caption = (_ref3 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref3 !== void 0 ? _ref3 : AmountControl.controlName;
143
+ _this.unitPosition = (_ref4 = props === null || props === void 0 ? void 0 : props.unitPosition) !== null && _ref4 !== void 0 ? _ref4 : 'right';
144
+ _this.placeholder = (_ref5 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref5 !== void 0 ? _ref5 : getLocaleText('CMD.pleaseEnter', null, '请输入');
145
+ _this.scriptEcho = (_ref6 = props === null || props === void 0 ? void 0 : props.scriptEcho) !== null && _ref6 !== void 0 ? _ref6 : [];
146
+ _this.scriptSrc = (_ref7 = props === null || props === void 0 ? void 0 : props.scriptSrc) !== null && _ref7 !== void 0 ? _ref7 : '';
147
+ _this.calcOnMounted = (_ref8 = props === null || props === void 0 ? void 0 : props.calcOnMounted) !== null && _ref8 !== void 0 ? _ref8 : false;
156
148
  return _this;
157
149
  }
158
150
  return CalcProperty;
@@ -79,46 +79,32 @@ var CascaderProperty = /*#__PURE__*/ function(BaseControlProperty) {
79
79
  function CascaderProperty(props) {
80
80
  _class_call_check(this, CascaderProperty);
81
81
  var _this;
82
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14;
82
83
  var _props_multistageFilling;
83
84
  _this = _call_super(this, CascaderProperty, [
84
85
  props
85
86
  ]), _define_property(_this, "showSearch", void 0), _define_property(_this, "multiple", void 0), _define_property(_this, "expandTrigger", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "allowClear", void 0), _define_property(_this, "showCheckedStrategy", void 0), _define_property(_this, "saveCheckedStrategy", void 0), _define_property(_this, "separator", void 0), _define_property(_this, "optionConfig", void 0), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "filterItemDatasourceBind", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "openMultistageFilling", void 0);
86
- var _props_caption;
87
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : CascaderControl.controlName;
88
- var _props_placeholder;
89
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseSelect', null, '请选择');
90
- var _props_multiple;
91
- _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
92
- var _props_showSearch;
93
- _this.showSearch = (_props_showSearch = props === null || props === void 0 ? void 0 : props.showSearch) !== null && _props_showSearch !== void 0 ? _props_showSearch : true;
94
- var _props_expandTrigger;
95
- _this.expandTrigger = (_props_expandTrigger = props === null || props === void 0 ? void 0 : props.expandTrigger) !== null && _props_expandTrigger !== void 0 ? _props_expandTrigger : 'click';
96
- var _props_allowClear;
97
- _this.allowClear = (_props_allowClear = props === null || props === void 0 ? void 0 : props.allowClear) !== null && _props_allowClear !== void 0 ? _props_allowClear : true;
98
- var _props_showCheckedStrategy;
99
- _this.showCheckedStrategy = (_props_showCheckedStrategy = props === null || props === void 0 ? void 0 : props.showCheckedStrategy) !== null && _props_showCheckedStrategy !== void 0 ? _props_showCheckedStrategy : '';
100
- var _props_saveCheckedStrategy;
101
- _this.saveCheckedStrategy = (_props_saveCheckedStrategy = props === null || props === void 0 ? void 0 : props.saveCheckedStrategy) !== null && _props_saveCheckedStrategy !== void 0 ? _props_saveCheckedStrategy : 'CHILD';
102
- var _props_separator;
103
- _this.separator = (_props_separator = props === null || props === void 0 ? void 0 : props.separator) !== null && _props_separator !== void 0 ? _props_separator : '/';
104
- var _props_optionConfig;
105
- _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : 'custom';
106
- var _props_datasourceBind;
107
- _this.datasourceBind = new TreeDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
87
+ _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : CascaderControl.controlName;
88
+ _this.placeholder = (_ref1 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.pleaseSelect', null, '请选择');
89
+ _this.multiple = (_ref2 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref2 !== void 0 ? _ref2 : false;
90
+ _this.showSearch = (_ref3 = props === null || props === void 0 ? void 0 : props.showSearch) !== null && _ref3 !== void 0 ? _ref3 : true;
91
+ _this.expandTrigger = (_ref4 = props === null || props === void 0 ? void 0 : props.expandTrigger) !== null && _ref4 !== void 0 ? _ref4 : 'click';
92
+ _this.allowClear = (_ref5 = props === null || props === void 0 ? void 0 : props.allowClear) !== null && _ref5 !== void 0 ? _ref5 : true;
93
+ _this.showCheckedStrategy = (_ref6 = props === null || props === void 0 ? void 0 : props.showCheckedStrategy) !== null && _ref6 !== void 0 ? _ref6 : '';
94
+ _this.saveCheckedStrategy = (_ref7 = props === null || props === void 0 ? void 0 : props.saveCheckedStrategy) !== null && _ref7 !== void 0 ? _ref7 : 'CHILD';
95
+ _this.separator = (_ref8 = props === null || props === void 0 ? void 0 : props.separator) !== null && _ref8 !== void 0 ? _ref8 : '/';
96
+ _this.optionConfig = (_ref9 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref9 !== void 0 ? _ref9 : 'custom';
97
+ _this.datasourceBind = new TreeDataSourceBind((_ref10 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _ref10 !== void 0 ? _ref10 : {
108
98
  attributes: CascaderControl.controlCustomAttributes
109
99
  });
110
- var _props_filterItemDatasourceBind;
111
- _this.filterItemDatasourceBind = new TreeDataSourceBind((_props_filterItemDatasourceBind = props === null || props === void 0 ? void 0 : props.filterItemDatasourceBind) !== null && _props_filterItemDatasourceBind !== void 0 ? _props_filterItemDatasourceBind : {
100
+ _this.filterItemDatasourceBind = new TreeDataSourceBind((_ref11 = props === null || props === void 0 ? void 0 : props.filterItemDatasourceBind) !== null && _ref11 !== void 0 ? _ref11 : {
112
101
  attributes: CascaderControl.controlCustomAttributes
113
102
  });
114
- var _props_openMultistageFilling;
115
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
116
- var _props_multistageFilling_map;
117
- _this.multistageFilling = (_props_multistageFilling_map = props === null || props === void 0 ? void 0 : (_props_multistageFilling = props.multistageFilling) === null || _props_multistageFilling === void 0 ? void 0 : _props_multistageFilling.map(function(item) {
103
+ _this.openMultistageFilling = (_ref12 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref12 !== void 0 ? _ref12 : false;
104
+ _this.multistageFilling = (_ref13 = props === null || props === void 0 ? void 0 : (_props_multistageFilling = props.multistageFilling) === null || _props_multistageFilling === void 0 ? void 0 : _props_multistageFilling.map(function(item) {
118
105
  return new MultistageFillingItem(item);
119
- })) !== null && _props_multistageFilling_map !== void 0 ? _props_multistageFilling_map : [];
120
- var _props_defaultValue;
121
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
106
+ })) !== null && _ref13 !== void 0 ? _ref13 : [];
107
+ _this.defaultValue = (_ref14 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref14 !== void 0 ? _ref14 : [];
122
108
  return _this;
123
109
  }
124
110
  return CascaderProperty;
@@ -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, _ref14, _ref15;
128
129
  _this = _call_super(this, CheckboxProperty, [
129
130
  props
130
131
  ]), _define_property(_this, "checkboxMode", void 0 // 选项排列方式 horizontal默认
@@ -147,8 +148,7 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
147
148
  * 是否开启设置选项自定义颜色;仅当选项设置为自定义时该设置生效;
148
149
  * @defaultValue false
149
150
  */ _define_property(_this, "isUseCustomColor", void 0);
150
- var _props_options;
151
- _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
151
+ _this.options = initOptions((_ref = props === null || props === void 0 ? void 0 : props.options) !== null && _ref !== void 0 ? _ref : [
152
152
  {
153
153
  label: getLocaleText('CMD.optionOne', null, '选项一'),
154
154
  value: getLocaleText('CMD.optionOne', null, '选项一')
@@ -162,35 +162,21 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
162
162
  value: getLocaleText('CMD.optionThird', null, '选项三')
163
163
  }
164
164
  ]);
165
- var _props_checkboxMode;
166
- _this.checkboxMode = (_props_checkboxMode = props === null || props === void 0 ? void 0 : props.checkboxMode) !== null && _props_checkboxMode !== void 0 ? _props_checkboxMode : 'horizontal';
167
- var _props_optionConfig;
168
- _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : 'custom';
169
- var _props_optionsOrder;
170
- _this.optionsOrder = (_props_optionsOrder = props === null || props === void 0 ? void 0 : props.optionsOrder) !== null && _props_optionsOrder !== void 0 ? _props_optionsOrder : false;
171
- var _props_otherOption;
172
- _this.otherOption = (_props_otherOption = props === null || props === void 0 ? void 0 : props.otherOption) !== null && _props_otherOption !== void 0 ? _props_otherOption : false;
173
- var _props_limitMin;
174
- _this.limitMin = (_props_limitMin = props === null || props === void 0 ? void 0 : props.limitMin) !== null && _props_limitMin !== void 0 ? _props_limitMin : 'unlimited';
175
- var _props_limitMax;
176
- _this.limitMax = (_props_limitMax = props === null || props === void 0 ? void 0 : props.limitMax) !== null && _props_limitMax !== void 0 ? _props_limitMax : 'unlimited';
165
+ _this.checkboxMode = (_ref1 = props === null || props === void 0 ? void 0 : props.checkboxMode) !== null && _ref1 !== void 0 ? _ref1 : 'horizontal';
166
+ _this.optionConfig = (_ref2 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref2 !== void 0 ? _ref2 : 'custom';
167
+ _this.optionsOrder = (_ref3 = props === null || props === void 0 ? void 0 : props.optionsOrder) !== null && _ref3 !== void 0 ? _ref3 : false;
168
+ _this.otherOption = (_ref4 = props === null || props === void 0 ? void 0 : props.otherOption) !== null && _ref4 !== void 0 ? _ref4 : false;
169
+ _this.limitMin = (_ref5 = props === null || props === void 0 ? void 0 : props.limitMin) !== null && _ref5 !== void 0 ? _ref5 : 'unlimited';
170
+ _this.limitMax = (_ref6 = props === null || props === void 0 ? void 0 : props.limitMax) !== null && _ref6 !== void 0 ? _ref6 : 'unlimited';
177
171
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
178
- var _props_interreaction;
179
- _this.interreaction = (_props_interreaction = props === null || props === void 0 ? void 0 : props.interreaction) !== null && _props_interreaction !== void 0 ? _props_interreaction : [];
180
- var _props_caption;
181
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : CheckboxControl.controlName;
182
- var _props_defaultValue;
183
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
184
- var _props_optionsFormat;
185
- _this.optionsFormat = (_props_optionsFormat = props === null || props === void 0 ? void 0 : props.optionsFormat) !== null && _props_optionsFormat !== void 0 ? _props_optionsFormat : 'horizontal';
186
- var _props_defaultShowOptions;
187
- _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
188
- var _props_openMultistageFilling;
189
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
190
- var _props_type;
191
- _this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'default';
192
- var _props_isUseCustomColor;
193
- _this.isUseCustomColor = (_props_isUseCustomColor = props === null || props === void 0 ? void 0 : props.isUseCustomColor) !== null && _props_isUseCustomColor !== void 0 ? _props_isUseCustomColor : false;
172
+ _this.interreaction = (_ref7 = props === null || props === void 0 ? void 0 : props.interreaction) !== null && _ref7 !== void 0 ? _ref7 : [];
173
+ _this.caption = (_ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref8 !== void 0 ? _ref8 : CheckboxControl.controlName;
174
+ _this.defaultValue = (_ref9 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref9 !== void 0 ? _ref9 : [];
175
+ _this.optionsFormat = (_ref10 = props === null || props === void 0 ? void 0 : props.optionsFormat) !== null && _ref10 !== void 0 ? _ref10 : 'horizontal';
176
+ _this.defaultShowOptions = (_ref11 = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _ref11 !== void 0 ? _ref11 : true;
177
+ _this.openMultistageFilling = (_ref12 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref12 !== void 0 ? _ref12 : false;
178
+ _this.type = (_ref13 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref13 !== void 0 ? _ref13 : 'default';
179
+ _this.isUseCustomColor = (_ref14 = props === null || props === void 0 ? void 0 : props.isUseCustomColor) !== null && _ref14 !== void 0 ? _ref14 : false;
194
180
  _this.multistageFilling = [];
195
181
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
196
182
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -198,8 +184,7 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
198
184
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
199
185
  });
200
186
  }
201
- var _props_aiContentSearch;
202
- _this.aiContentSearch = (_props_aiContentSearch = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _props_aiContentSearch !== void 0 ? _props_aiContentSearch : false;
187
+ _this.aiContentSearch = (_ref15 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref15 !== void 0 ? _ref15 : false;
203
188
  return _this;
204
189
  }
205
190
  return CheckboxProperty;
@@ -201,6 +201,10 @@ _define_property(DatePickerControl, "setting", [
201
201
  key: 'date-type',
202
202
  visible: true
203
203
  },
204
+ {
205
+ key: 'custom-date-format',
206
+ visible: true
207
+ },
204
208
  {
205
209
  key: 'date-common-time-setting',
206
210
  visible: true