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

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 +18 -10
  2. package/dist/esm/baseControls/BatchPrintListButton/property.js +9 -6
  3. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +4 -3
  4. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +12 -7
  5. package/dist/esm/baseControls/Button/property.js +18 -10
  6. package/dist/esm/baseControls/Comment/property.js +2 -2
  7. package/dist/esm/baseControls/CreateFormListButton/property.js +8 -5
  8. package/dist/esm/baseControls/Dashboard/property.js +16 -9
  9. package/dist/esm/baseControls/Divider/property.js +5 -4
  10. package/dist/esm/baseControls/ExportListButton/property.js +9 -6
  11. package/dist/esm/baseControls/ExportRecordListButton/property.js +4 -3
  12. package/dist/esm/baseControls/FormSelectButton/property.js +6 -4
  13. package/dist/esm/baseControls/ImportRecordListButton/property.js +9 -6
  14. package/dist/esm/baseControls/InvoiceCheckButton/property.js +19 -11
  15. package/dist/esm/baseControls/Link/property.js +6 -4
  16. package/dist/esm/baseControls/ListSelectButton/property.js +10 -6
  17. package/dist/esm/baseControls/ListViewSelect/property.js +5 -4
  18. package/dist/esm/baseControls/OperationButton/property.js +12 -7
  19. package/dist/esm/baseControls/ReferenceList/property.js +12 -7
  20. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +4 -3
  21. package/dist/esm/baseControls/Text/property.js +12 -7
  22. package/dist/esm/baseControls/TextOcrButton/property.js +19 -11
  23. package/dist/esm/baseControls/Title/property.js +6 -4
  24. package/dist/esm/columnControls/ApprovalStatusColumn/property.js +6 -4
  25. package/dist/esm/columnControls/ArrayColumn/property.js +8 -5
  26. package/dist/esm/columnControls/AutoNumberColumn/property.js +4 -3
  27. package/dist/esm/columnControls/CustomColumn/property.js +6 -4
  28. package/dist/esm/columnControls/DecimalColumn/property.js +14 -8
  29. package/dist/esm/columnControls/DepartmentColumn/property.js +4 -3
  30. package/dist/esm/columnControls/EmployeeColumn/property.js +4 -3
  31. package/dist/esm/columnControls/FileColumn/property.js +4 -3
  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 +4 -3
  35. package/dist/esm/columnControls/OperationColumn/designer.js +4 -12
  36. package/dist/esm/columnControls/OperationColumn/property.js +10 -6
  37. package/dist/esm/columnControls/OrderColumn/property.js +12 -7
  38. package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
  39. package/dist/esm/columnControls/TextColumn/property.js +8 -5
  40. package/dist/esm/columnControls/TimescopeColumn/property.js +8 -5
  41. package/dist/esm/columnControls/TimestampColumn/property.js +8 -5
  42. package/dist/esm/columnControls/VarcharColumn/property.js +12 -7
  43. package/dist/esm/formControls/Address/property.js +10 -6
  44. package/dist/esm/formControls/Amount/property.js +24 -13
  45. package/dist/esm/formControls/Attachment/property.js +40 -25
  46. package/dist/esm/formControls/AutoNumber/property.js +6 -4
  47. package/dist/esm/formControls/Calc/property.js +18 -10
  48. package/dist/esm/formControls/Checkbox/property.js +29 -16
  49. package/dist/esm/formControls/DatePicker/property.js +27 -15
  50. package/dist/esm/formControls/DateRange/property.js +23 -13
  51. package/dist/esm/formControls/Department/property.js +22 -12
  52. package/dist/esm/formControls/Department2/designer.js +1 -1
  53. package/dist/esm/formControls/Department2/property.js +38 -22
  54. package/dist/esm/formControls/ElectronicSignature/property.js +12 -7
  55. package/dist/esm/formControls/Employee/property.js +18 -10
  56. package/dist/esm/formControls/Employee2/property.js +32 -17
  57. package/dist/esm/formControls/Image/designer.js +8 -8
  58. package/dist/esm/formControls/Image/property.js +12 -7
  59. package/dist/esm/formControls/Input/property.js +20 -11
  60. package/dist/esm/formControls/Number/property.js +26 -14
  61. package/dist/esm/formControls/OrganizationSelection/property.js +36 -19
  62. package/dist/esm/formControls/Radio/property.js +24 -13
  63. package/dist/esm/formControls/RichText/property.js +20 -11
  64. package/dist/esm/formControls/Score/property.js +13 -8
  65. package/dist/esm/formControls/SearchDateRange/property.js +25 -14
  66. package/dist/esm/formControls/SearchNumberRange/property.js +12 -7
  67. package/dist/esm/formControls/Select/property.js +22 -12
  68. package/dist/esm/formControls/SelectMultiple/property.js +20 -11
  69. package/dist/esm/formControls/SelectRelation/property.js +26 -14
  70. package/dist/esm/formControls/Textarea/property.js +20 -11
  71. package/dist/esm/formControls/Tree/property.js +61 -21
  72. package/dist/esm/formControls/VueFormItem/property.js +10 -6
  73. package/dist/esm/formControls/VuePage/property.js +10 -6
  74. package/dist/esm/formControls/WPS/designer.js +9 -9
  75. package/dist/esm/formControls/WPS/property.js +24 -13
  76. package/dist/esm/framework.js +113 -69
  77. package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
  78. package/dist/esm/layoutControls/ActionBar/property.js +6 -4
  79. package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
  80. package/dist/esm/layoutControls/CardGroup/property.js +6 -4
  81. package/dist/esm/layoutControls/Col/property.js +8 -5
  82. package/dist/esm/layoutControls/DataView/property.js +14 -8
  83. package/dist/esm/layoutControls/GridLayoutContainer/property.js +4 -3
  84. package/dist/esm/layoutControls/GridTableColumn/property.js +20 -11
  85. package/dist/esm/layoutControls/ListView/property.js +28 -15
  86. package/dist/esm/layoutControls/Page/property.js +2 -2
  87. package/dist/esm/layoutControls/Position/property.js +8 -5
  88. package/dist/esm/layoutControls/Row/property.js +4 -3
  89. package/dist/esm/layoutControls/Step/designer.js +2 -2
  90. package/dist/esm/layoutControls/Step/property.js +10 -6
  91. package/dist/esm/layoutControls/StepPane/property.js +16 -9
  92. package/dist/esm/layoutControls/SubTableColumn/property.js +10 -6
  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 +30 -16
  97. package/dist/esm/layoutControls/TableLayoutCol/property.js +20 -11
  98. package/dist/esm/layoutControls/TableLayoutRow/property.js +4 -3
  99. package/dist/esm/layoutControls/TableLayoutWrapper/property.js +6 -4
  100. package/dist/esm/listControls/GridTable/designer.js +4 -12
  101. package/dist/esm/listControls/GridTable/property.js +19 -15
  102. package/dist/esm/listControls/SubTable/property.js +68 -35
  103. package/dist/esm/searchControls/SimpleSearch/property.js +24 -13
  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/formControls/Department2/property.d.ts +2 -2
  110. package/dist/types/formControls/Tree/property.d.ts +31 -0
  111. package/package.json +2 -2
@@ -65,12 +65,13 @@ var SubmissionRecordListButtonProperty = /*#__PURE__*/ function(ButtonProperty)
65
65
  function SubmissionRecordListButtonProperty(props) {
66
66
  _class_call_check(this, SubmissionRecordListButtonProperty);
67
67
  var _this;
68
- var _ref, _ref1;
69
68
  _this = _call_super(this, SubmissionRecordListButtonProperty, [
70
69
  props
71
70
  ]);
72
- _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : SubmissionRecordListButtonControl.controlName;
73
- _this.icon = (_ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref1 !== void 0 ? _ref1 : SubmissionRecordListButtonControl.controlIcon;
71
+ var _props_content;
72
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : SubmissionRecordListButtonControl.controlName;
73
+ var _props_icon;
74
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : SubmissionRecordListButtonControl.controlIcon;
74
75
  return _this;
75
76
  }
76
77
  return SubmissionRecordListButtonProperty;
@@ -78,7 +78,6 @@ var TextProperty = /*#__PURE__*/ function(Property) {
78
78
  function TextProperty(props) {
79
79
  _class_call_check(this, TextProperty);
80
80
  var _this;
81
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
82
81
  _this = _call_super(this, TextProperty, [
83
82
  props
84
83
  ]), // public dataBind: DataBind
@@ -107,12 +106,18 @@ var TextProperty = /*#__PURE__*/ function(Property) {
107
106
  _this.captionColor = (props === null || props === void 0 ? void 0 : props.captionColor) || '';
108
107
  _this.captionSize = (props === null || props === void 0 ? void 0 : props.captionSize) || '';
109
108
  _this.isCaptionItalic = (props === null || props === void 0 ? void 0 : props.isCaptionItalic) || false;
110
- _this.icon = (_ref = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref !== void 0 ? _ref : 'page-hint';
111
- _this.showState = (_ref1 = props === null || props === void 0 ? void 0 : props.showState) !== null && _ref1 !== void 0 ? _ref1 : 'text';
112
- _this.content = (_ref2 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref2 !== void 0 ? _ref2 : getLocaleText('CMD.text', null, '说明文字');
113
- _this.align = (_ref3 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref3 !== void 0 ? _ref3 : '';
114
- _this.aiContentSearch = (_ref4 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref4 !== void 0 ? _ref4 : false;
115
- _this.isLabel = (_ref5 = props === null || props === void 0 ? void 0 : props.isLabel) !== null && _ref5 !== void 0 ? _ref5 : false;
109
+ var _props_icon;
110
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : 'page-hint';
111
+ var _props_showState;
112
+ _this.showState = (_props_showState = props === null || props === void 0 ? void 0 : props.showState) !== null && _props_showState !== void 0 ? _props_showState : 'text';
113
+ var _props_content;
114
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.text', null, '说明文字');
115
+ var _props_align;
116
+ _this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : '';
117
+ var _props_aiContentSearch;
118
+ _this.aiContentSearch = (_props_aiContentSearch = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _props_aiContentSearch !== void 0 ? _props_aiContentSearch : false;
119
+ var _props_isLabel;
120
+ _this.isLabel = (_props_isLabel = props === null || props === void 0 ? void 0 : props.isLabel) !== null && _props_isLabel !== void 0 ? _props_isLabel : false;
116
121
  return _this;
117
122
  }
118
123
  return TextProperty;
@@ -128,22 +128,30 @@ var TextOcrButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
128
128
  function TextOcrButtonProperty(props) {
129
129
  _class_call_check(this, TextOcrButtonProperty);
130
130
  var _this;
131
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
132
131
  var _props_fillList;
133
132
  _this = _call_super(this, TextOcrButtonProperty, [
134
133
  props
135
134
  ]), _define_property(_this, "caption", void 0), _define_property(_this, "isHideCaption", void 0), _define_property(_this, "isShowCaptionTip", void 0), _define_property(_this, "captionTip", void 0), _define_property(_this, "labelPosition", void 0), _define_property(_this, "ocrType", void 0), _define_property(_this, "fillList", void 0);
136
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : TextOcrButtonControl.controlName;
137
- _this.isHideCaption = (_ref1 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref1 !== void 0 ? _ref1 : false;
138
- _this.isShowCaptionTip = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _ref2 !== void 0 ? _ref2 : false;
139
- _this.captionTip = (_ref3 = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _ref3 !== void 0 ? _ref3 : '';
140
- _this.labelPosition = (_ref4 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _ref4 !== void 0 ? _ref4 : 'top';
141
- _this.content = (_ref5 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref5 !== void 0 ? _ref5 : TextOcrButtonControl.controlName;
142
- _this.icon = (_ref6 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref6 !== void 0 ? _ref6 : TextOcrButtonControl.controlIcon;
143
- _this.ocrType = (_ref7 = props === null || props === void 0 ? void 0 : props.ocrType) !== null && _ref7 !== void 0 ? _ref7 : '';
144
- _this.fillList = (_ref8 = props === null || props === void 0 ? void 0 : (_props_fillList = props.fillList) === null || _props_fillList === void 0 ? void 0 : _props_fillList.map(function(item) {
135
+ var _props_caption;
136
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : TextOcrButtonControl.controlName;
137
+ var _props_isHideCaption;
138
+ _this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
139
+ var _props_isShowCaptionTip;
140
+ _this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
141
+ var _props_captionTip;
142
+ _this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : '';
143
+ var _props_labelPosition;
144
+ _this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : 'top';
145
+ var _props_content;
146
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : TextOcrButtonControl.controlName;
147
+ var _props_icon;
148
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : TextOcrButtonControl.controlIcon;
149
+ var _props_ocrType;
150
+ _this.ocrType = (_props_ocrType = props === null || props === void 0 ? void 0 : props.ocrType) !== null && _props_ocrType !== void 0 ? _props_ocrType : '';
151
+ var _props_fillList_map;
152
+ _this.fillList = (_props_fillList_map = props === null || props === void 0 ? void 0 : (_props_fillList = props.fillList) === null || _props_fillList === void 0 ? void 0 : _props_fillList.map(function(item) {
145
153
  return new MultistageFillingItem(item);
146
- })) !== null && _ref8 !== void 0 ? _ref8 : [];
154
+ })) !== null && _props_fillList_map !== void 0 ? _props_fillList_map : [];
147
155
  return _this;
148
156
  }
149
157
  return TextOcrButtonProperty;
@@ -128,12 +128,12 @@ var TitleProperty = /*#__PURE__*/ function(Property) {
128
128
  function TitleProperty(props) {
129
129
  _class_call_check(this, TitleProperty);
130
130
  var _this;
131
- var _ref, _ref1, _ref2, _ref3;
132
131
  _this = _call_super(this, TitleProperty, [
133
132
  props
134
133
  ]), _define_property(_this, "dataBind", void 0), _define_property(_this, "caption", void 0), _define_property(_this, "config", void 0), _define_property(_this, "position", void 0);
135
134
  _this.dataBind = new DataBind(props === null || props === void 0 ? void 0 : props.dataBind);
136
- _this.config = (_ref = props === null || props === void 0 ? void 0 : props.config) !== null && _ref !== void 0 ? _ref : [
135
+ var _props_config;
136
+ _this.config = (_props_config = props === null || props === void 0 ? void 0 : props.config) !== null && _props_config !== void 0 ? _props_config : [
137
137
  // TitleConfigEnum.ShowBizKey,
138
138
  TitleConfigEnum.ShowSubmitUser,
139
139
  TitleConfigEnum.ShowSubmitDept,
@@ -141,8 +141,10 @@ var TitleProperty = /*#__PURE__*/ function(Property) {
141
141
  TitleConfigEnum.ShowCurrentApprovar,
142
142
  TitleConfigEnum.ShowTitle
143
143
  ];
144
- _this.caption = (_ref1 = (_ref2 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref2 !== void 0 ? _ref2 : DesignerTitleControl === null || DesignerTitleControl === void 0 ? void 0 : DesignerTitleControl.controlName) !== null && _ref1 !== void 0 ? _ref1 : '';
145
- _this.position = (_ref3 = props === null || props === void 0 ? void 0 : props.position) !== null && _ref3 !== void 0 ? _ref3 : 'top';
144
+ var _props_caption, _ref;
145
+ _this.caption = (_ref = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTitleControl === null || DesignerTitleControl === void 0 ? void 0 : DesignerTitleControl.controlName) !== null && _ref !== void 0 ? _ref : '';
146
+ var _props_position;
147
+ _this.position = (_props_position = props === null || props === void 0 ? void 0 : props.position) !== null && _props_position !== void 0 ? _props_position : 'top';
146
148
  return _this;
147
149
  }
148
150
  return TitleProperty;
@@ -81,7 +81,6 @@ import { DesignerApprovalStatusColumnControl } from './designer';
81
81
  function ApprovalStatusColumnControlProperty(props) {
82
82
  _class_call_check(this, ApprovalStatusColumnControlProperty);
83
83
  var _this;
84
- var _ref, _ref1, _ref2;
85
84
  _this = _call_super(this, ApprovalStatusColumnControlProperty, [
86
85
  props
87
86
  ]), /**
@@ -93,10 +92,13 @@ import { DesignerApprovalStatusColumnControl } from './designer';
93
92
  * 链接操作配置
94
93
  * @public
95
94
  */ _define_property(_this, "linkOperationOption", void 0);
96
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerApprovalStatusColumnControl.controlName;
97
- _this.showLinkOperation = (_ref1 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref1 !== void 0 ? _ref1 : false;
95
+ var _props_caption;
96
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerApprovalStatusColumnControl.controlName;
97
+ var _props_showLinkOperation;
98
+ _this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
98
99
  _this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
99
- _this.lineEllipsis = (_ref2 = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _ref2 !== void 0 ? _ref2 : 1;
100
+ var _props_lineEllipsis;
101
+ _this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
100
102
  return _this;
101
103
  }
102
104
  return ApprovalStatusColumnControlProperty;
@@ -98,7 +98,6 @@ import { DesignerArrayColumnControl } from './designer';
98
98
  function ArrayColumnControlProperty(props) {
99
99
  _class_call_check(this, ArrayColumnControlProperty);
100
100
  var _this;
101
- var _ref, _ref1, _ref2, _ref3;
102
101
  _this = _call_super(this, ArrayColumnControlProperty, [
103
102
  props
104
103
  ]), /**
@@ -119,12 +118,16 @@ import { DesignerArrayColumnControl } from './designer';
119
118
  * @defaultValue []
120
119
  * @public
121
120
  */ _define_property(_this, "options", void 0);
122
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerArrayColumnControl.controlName;
123
- _this.optionConfig = (_ref1 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref1 !== void 0 ? _ref1 : 'none';
121
+ var _props_caption;
122
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerArrayColumnControl.controlName;
123
+ var _props_optionConfig;
124
+ _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : 'none';
124
125
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
125
- _this.showLinkOperation = (_ref2 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref2 !== void 0 ? _ref2 : false;
126
+ var _props_showLinkOperation;
127
+ _this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
126
128
  _this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
127
- _this.options = initOptions((_ref3 = props === null || props === void 0 ? void 0 : props.options) !== null && _ref3 !== void 0 ? _ref3 : [
129
+ var _props_options;
130
+ _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
128
131
  {}
129
132
  ]);
130
133
  return _this;
@@ -95,7 +95,6 @@ var AutoNumberColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlP
95
95
  function AutoNumberColumnControlProperty(props) {
96
96
  _class_call_check(this, AutoNumberColumnControlProperty);
97
97
  var _this;
98
- var _ref, _ref1;
99
98
  _this = _call_super(this, AutoNumberColumnControlProperty, [
100
99
  props
101
100
  ]), /**
@@ -105,8 +104,10 @@ var AutoNumberColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlP
105
104
  * 链接操作配置
106
105
  * @public
107
106
  */ _define_property(_this, "linkOperationOption", void 0);
108
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerAutoNumberColumnControl.controlName;
109
- _this.showLinkOperation = (_ref1 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref1 !== void 0 ? _ref1 : false;
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 : DesignerAutoNumberColumnControl.controlName;
109
+ var _props_showLinkOperation;
110
+ _this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
110
111
  _this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
111
112
  return _this;
112
113
  }
@@ -101,13 +101,15 @@ var CustomColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPrope
101
101
  function CustomColumnControlProperty(props) {
102
102
  _class_call_check(this, CustomColumnControlProperty);
103
103
  var _this;
104
- var _ref, _ref1, _ref2;
105
104
  _this = _call_super(this, CustomColumnControlProperty, [
106
105
  props
107
106
  ]), _define_property(_this, "fieldCodeList", void 0), _define_property(_this, "sortFieldCode", void 0);
108
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerCustomColumnControl.controlName;
109
- _this.fieldCodeList = (_ref1 = props === null || props === void 0 ? void 0 : props.fieldCodeList) !== null && _ref1 !== void 0 ? _ref1 : [];
110
- _this.sortFieldCode = (_ref2 = props === null || props === void 0 ? void 0 : props.sortFieldCode) !== null && _ref2 !== void 0 ? _ref2 : '';
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 : DesignerCustomColumnControl.controlName;
109
+ var _props_fieldCodeList;
110
+ _this.fieldCodeList = (_props_fieldCodeList = props === null || props === void 0 ? void 0 : props.fieldCodeList) !== null && _props_fieldCodeList !== void 0 ? _props_fieldCodeList : [];
111
+ var _props_sortFieldCode;
112
+ _this.sortFieldCode = (_props_sortFieldCode = props === null || props === void 0 ? void 0 : props.sortFieldCode) !== null && _props_sortFieldCode !== void 0 ? _props_sortFieldCode : '';
111
113
  return _this;
112
114
  }
113
115
  return CustomColumnControlProperty;
@@ -95,7 +95,6 @@ var DecimalColumnControlPropertyRules = /*#__PURE__*/ function(ColumnOptionAndDa
95
95
  function DecimalColumnControlProperty(props) {
96
96
  _class_call_check(this, DecimalColumnControlProperty);
97
97
  var _this;
98
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6;
99
98
  _this = _call_super(this, DecimalColumnControlProperty, [
100
99
  props
101
100
  ]), /**
@@ -128,16 +127,23 @@ var DecimalColumnControlPropertyRules = /*#__PURE__*/ function(ColumnOptionAndDa
128
127
  * @defaultValue false
129
128
  * @public
130
129
  * */ _define_property(_this, "percentageFormat", void 0);
131
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerDecimalColumnControl.controlName;
132
- _this.precision = (_ref1 = props === null || props === void 0 ? void 0 : props.precision) !== null && _ref1 !== void 0 ? _ref1 : 0;
133
- _this.micrometer = (_ref2 = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _ref2 !== void 0 ? _ref2 : false;
134
- _this.percentageFormat = (_ref3 = props === null || props === void 0 ? void 0 : props.percentageFormat) !== null && _ref3 !== void 0 ? _ref3 : false;
135
- _this.optionConfig = (_ref4 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref4 !== void 0 ? _ref4 : 'none';
130
+ var _props_caption;
131
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerDecimalColumnControl.controlName;
132
+ var _props_precision;
133
+ _this.precision = (_props_precision = props === null || props === void 0 ? void 0 : props.precision) !== null && _props_precision !== void 0 ? _props_precision : 0;
134
+ var _props_micrometer;
135
+ _this.micrometer = (_props_micrometer = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _props_micrometer !== void 0 ? _props_micrometer : false;
136
+ var _props_percentageFormat;
137
+ _this.percentageFormat = (_props_percentageFormat = props === null || props === void 0 ? void 0 : props.percentageFormat) !== null && _props_percentageFormat !== void 0 ? _props_percentageFormat : false;
138
+ var _props_optionConfig;
139
+ _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : 'none';
136
140
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
137
- _this.options = initOptions((_ref5 = props === null || props === void 0 ? void 0 : props.options) !== null && _ref5 !== void 0 ? _ref5 : [
141
+ var _props_options;
142
+ _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
138
143
  {}
139
144
  ]);
140
- _this.showLinkOperation = (_ref6 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref6 !== void 0 ? _ref6 : false;
145
+ var _props_showLinkOperation;
146
+ _this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
141
147
  _this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
142
148
  return _this;
143
149
  }
@@ -81,7 +81,6 @@ import { DesignerDepartmentColumnControl } from './designer';
81
81
  function DepartmentColumnControlProperty(props) {
82
82
  _class_call_check(this, DepartmentColumnControlProperty);
83
83
  var _this;
84
- var _ref, _ref1;
85
84
  _this = _call_super(this, DepartmentColumnControlProperty, [
86
85
  props
87
86
  ]), /**
@@ -89,8 +88,10 @@ import { DesignerDepartmentColumnControl } from './designer';
89
88
  * @defaultValue 1
90
89
  * @public
91
90
  * */ _define_property(_this, "displayLevel", void 0);
92
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerDepartmentColumnControl.controlName;
93
- _this.displayLevel = (_ref1 = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _ref1 !== void 0 ? _ref1 : 1;
91
+ var _props_caption;
92
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerDepartmentColumnControl.controlName;
93
+ var _props_displayLevel;
94
+ _this.displayLevel = (_props_displayLevel = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _props_displayLevel !== void 0 ? _props_displayLevel : 1;
94
95
  return _this;
95
96
  }
96
97
  return DepartmentColumnControlProperty;
@@ -81,15 +81,16 @@ import EmployeeColumnControl from './designer';
81
81
  function EmployeeColumnControlProperty(props) {
82
82
  _class_call_check(this, EmployeeColumnControlProperty);
83
83
  var _this;
84
- var _ref, _ref1;
85
84
  _this = _call_super(this, EmployeeColumnControlProperty, [
86
85
  props
87
86
  ]), /**
88
87
  * 关联数据源
89
88
  * @public
90
89
  */ _define_property(_this, "datasourceBind", void 0);
91
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : EmployeeColumnControl.controlName;
92
- _this.datasourceBind = new SuperDataSourceBind((_ref1 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _ref1 !== void 0 ? _ref1 : {
90
+ var _props_caption;
91
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : EmployeeColumnControl.controlName;
92
+ var _props_datasourceBind;
93
+ _this.datasourceBind = new SuperDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
93
94
  attributes: EmployeeColumnControl.controlCustomAttributes
94
95
  });
95
96
  return _this;
@@ -80,13 +80,14 @@ import { DesignerFileColumnControl } from './designer';
80
80
  function FileColumnControlProperty(props) {
81
81
  _class_call_check(this, FileColumnControlProperty);
82
82
  var _this;
83
- var _ref, _ref1;
84
83
  _this = _call_super(this, FileColumnControlProperty, [
85
84
  props
86
85
  ]), // 附件按钮操作数组
87
86
  _define_property(_this, "operation", void 0);
88
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerFileColumnControl.controlName;
89
- _this.operation = (_ref1 = props === null || props === void 0 ? void 0 : props.operation) !== null && _ref1 !== void 0 ? _ref1 : [
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 : DesignerFileColumnControl.controlName;
89
+ var _props_operation;
90
+ _this.operation = (_props_operation = props === null || props === void 0 ? void 0 : props.operation) !== null && _props_operation !== void 0 ? _props_operation : [
90
91
  'info',
91
92
  'preview',
92
93
  'download'
@@ -67,11 +67,11 @@ import { ColumnControlProperty } from '@byteluck-fe/model-driven-core';
67
67
  function GroupColumnControlProperty(props) {
68
68
  _class_call_check(this, GroupColumnControlProperty);
69
69
  var _this;
70
- var _ref;
71
70
  _this = _call_super(this, GroupColumnControlProperty, [
72
71
  props
73
72
  ]);
74
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : '';
73
+ var _props_caption;
74
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : '';
75
75
  return _this;
76
76
  }
77
77
  return GroupColumnControlProperty;
@@ -67,11 +67,11 @@ import { DesignerImageColumnControl } from './designer';
67
67
  function ImageColumnControlProperty(props) {
68
68
  _class_call_check(this, ImageColumnControlProperty);
69
69
  var _this;
70
- var _ref;
71
70
  _this = _call_super(this, ImageColumnControlProperty, [
72
71
  props
73
72
  ]);
74
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerImageColumnControl.controlName;
73
+ var _props_caption;
74
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerImageColumnControl.controlName;
75
75
  return _this;
76
76
  }
77
77
  return ImageColumnControlProperty;
@@ -95,7 +95,6 @@ var LocationColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPro
95
95
  function LocationColumnControlProperty(props) {
96
96
  _class_call_check(this, LocationColumnControlProperty);
97
97
  var _this;
98
- var _ref, _ref1;
99
98
  _this = _call_super(this, LocationColumnControlProperty, [
100
99
  props
101
100
  ]), /**
@@ -105,8 +104,10 @@ var LocationColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPro
105
104
  * 链接操作配置
106
105
  * @public
107
106
  */ _define_property(_this, "linkOperationOption", void 0);
108
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerLocationColumnControl.controlName;
109
- _this.showLinkOperation = (_ref1 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref1 !== void 0 ? _ref1 : false;
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 : DesignerLocationColumnControl.controlName;
109
+ var _props_showLinkOperation;
110
+ _this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
110
111
  _this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
111
112
  return _this;
112
113
  }
@@ -145,17 +145,9 @@ function _ts_generator(thisArg, body) {
145
145
  },
146
146
  trys: [],
147
147
  ops: []
148
- }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
149
- return d(g, "next", {
150
- value: verb(0)
151
- }), d(g, "throw", {
152
- value: verb(1)
153
- }), d(g, "return", {
154
- value: verb(2)
155
- }), typeof Symbol === "function" && d(g, Symbol.iterator, {
156
- value: function() {
157
- return this;
158
- }
148
+ }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
149
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
150
+ return this;
159
151
  }), g;
160
152
  function verb(n) {
161
153
  return function(v) {
@@ -281,7 +273,7 @@ var OperationColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
281
273
  // }
282
274
  function validate(messages, ignore) {
283
275
  var _this = this;
284
- var _this1 = this, _superprop_get_validate = function _superprop_get_validate() {
276
+ var _this1 = this, _superprop_get_validate = function() {
285
277
  return _get(_get_prototype_of(OperationColumnControl.prototype), "validate", _this);
286
278
  };
287
279
  return _async_to_generator(function() {
@@ -116,7 +116,6 @@ import { DesignerOperationColumnControl } from './designer';
116
116
  function OperationColumnControlProperty(props) {
117
117
  _class_call_check(this, OperationColumnControlProperty);
118
118
  var _this;
119
- var _ref, _ref1, _ref2, _ref3, _ref4;
120
119
  var _props_autoWidth;
121
120
  _this = _call_super(this, OperationColumnControlProperty, [
122
121
  props
@@ -134,8 +133,10 @@ import { DesignerOperationColumnControl } from './designer';
134
133
  * @defaultValue 3
135
134
  * @public
136
135
  */ _define_property(_this, "limit", void 0);
137
- _this.fixed = (_ref = props === null || props === void 0 ? void 0 : props.fixed) !== null && _ref !== void 0 ? _ref : 'right';
136
+ var _props_fixed;
137
+ _this.fixed = (_props_fixed = props === null || props === void 0 ? void 0 : props.fixed) !== null && _props_fixed !== void 0 ? _props_fixed : 'right';
138
138
  _this.widthType = 'auto';
139
+ var _props_autoWidth_minWidth;
139
140
  // this.check = new OperationItem(
140
141
  // props?.check ?? {
141
142
  // content: '查看',
@@ -151,10 +152,13 @@ import { DesignerOperationColumnControl } from './designer';
151
152
  // props?.delete ?? { content: '删除', type: 'delete', isShow: false }
152
153
  // )
153
154
  // this.custom = (props?.custom ?? []).map((item) => new OperationItem(item))
154
- _this.autoWidth.minWidth = (_ref1 = props === null || props === void 0 ? void 0 : (_props_autoWidth = props.autoWidth) === null || _props_autoWidth === void 0 ? void 0 : _props_autoWidth.minWidth) !== null && _ref1 !== void 0 ? _ref1 : 84;
155
- _this.caption = (_ref2 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref2 !== void 0 ? _ref2 : DesignerOperationColumnControl.controlName;
156
- _this.showType = (_ref3 = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref3 !== void 0 ? _ref3 : 'icon';
157
- _this.limit = (_ref4 = props === null || props === void 0 ? void 0 : props.limit) !== null && _ref4 !== void 0 ? _ref4 : 3;
155
+ _this.autoWidth.minWidth = (_props_autoWidth_minWidth = props === null || props === void 0 ? void 0 : (_props_autoWidth = props.autoWidth) === null || _props_autoWidth === void 0 ? void 0 : _props_autoWidth.minWidth) !== null && _props_autoWidth_minWidth !== void 0 ? _props_autoWidth_minWidth : 84;
156
+ var _props_caption;
157
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerOperationColumnControl.controlName;
158
+ var _props_showType;
159
+ _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'icon';
160
+ var _props_limit;
161
+ _this.limit = (_props_limit = props === null || props === void 0 ? void 0 : props.limit) !== null && _props_limit !== void 0 ? _props_limit : 3;
158
162
  return _this;
159
163
  }
160
164
  return OperationColumnControlProperty;
@@ -95,17 +95,22 @@ var OrderColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlProper
95
95
  function OrderColumnControlProperty(props) {
96
96
  _class_call_check(this, OrderColumnControlProperty);
97
97
  var _this;
98
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
99
98
  var _props_autoWidth, _props_autoWidth1;
100
99
  _this = _call_super(this, OrderColumnControlProperty, [
101
100
  props
102
101
  ]);
103
- _this.fixed = (_ref = props === null || props === void 0 ? void 0 : props.fixed) !== null && _ref !== void 0 ? _ref : 'left';
104
- _this.caption = (_ref1 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref1 !== void 0 ? _ref1 : DesignerOrderColumnControl.controlName;
105
- _this.width = (_ref2 = props === null || props === void 0 ? void 0 : props.width) !== null && _ref2 !== void 0 ? _ref2 : 60;
106
- _this.autoWidth.minWidth = (_ref3 = props === null || props === void 0 ? void 0 : (_props_autoWidth = props.autoWidth) === null || _props_autoWidth === void 0 ? void 0 : _props_autoWidth.minWidth) !== null && _ref3 !== void 0 ? _ref3 : 60;
107
- _this.autoWidth.flex = (_ref4 = props === null || props === void 0 ? void 0 : (_props_autoWidth1 = props.autoWidth) === null || _props_autoWidth1 === void 0 ? void 0 : _props_autoWidth1.flex) !== null && _ref4 !== void 0 ? _ref4 : 0.4;
108
- _this.widthType = (_ref5 = props === null || props === void 0 ? void 0 : props.widthType) !== null && _ref5 !== void 0 ? _ref5 : 'px';
102
+ var _props_fixed;
103
+ _this.fixed = (_props_fixed = props === null || props === void 0 ? void 0 : props.fixed) !== null && _props_fixed !== void 0 ? _props_fixed : 'left';
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 : DesignerOrderColumnControl.controlName;
106
+ var _props_width;
107
+ _this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 60;
108
+ var _props_autoWidth_minWidth;
109
+ _this.autoWidth.minWidth = (_props_autoWidth_minWidth = props === null || props === void 0 ? void 0 : (_props_autoWidth = props.autoWidth) === null || _props_autoWidth === void 0 ? void 0 : _props_autoWidth.minWidth) !== null && _props_autoWidth_minWidth !== void 0 ? _props_autoWidth_minWidth : 60;
110
+ var _props_autoWidth_flex;
111
+ _this.autoWidth.flex = (_props_autoWidth_flex = props === null || props === void 0 ? void 0 : (_props_autoWidth1 = props.autoWidth) === null || _props_autoWidth1 === void 0 ? void 0 : _props_autoWidth1.flex) !== null && _props_autoWidth_flex !== void 0 ? _props_autoWidth_flex : 0.4;
112
+ var _props_widthType;
113
+ _this.widthType = (_props_widthType = props === null || props === void 0 ? void 0 : props.widthType) !== null && _props_widthType !== void 0 ? _props_widthType : 'px';
109
114
  return _this;
110
115
  }
111
116
  return OrderColumnControlProperty;
@@ -67,11 +67,11 @@ import { DesignerPeopleColumnControl } from './designer';
67
67
  function PeopleColumnControlProperty(props) {
68
68
  _class_call_check(this, PeopleColumnControlProperty);
69
69
  var _this;
70
- var _ref;
71
70
  _this = _call_super(this, PeopleColumnControlProperty, [
72
71
  props
73
72
  ]);
74
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerPeopleColumnControl.controlName;
73
+ var _props_caption;
74
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerPeopleColumnControl.controlName;
75
75
  return _this;
76
76
  }
77
77
  return PeopleColumnControlProperty;
@@ -95,7 +95,6 @@ var TextColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPropert
95
95
  function TextColumnControlProperty(props) {
96
96
  _class_call_check(this, TextColumnControlProperty);
97
97
  var _this;
98
- var _ref, _ref1, _ref2, _ref3;
99
98
  _this = _call_super(this, TextColumnControlProperty, [
100
99
  props
101
100
  ]), /**
@@ -113,10 +112,14 @@ var TextColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPropert
113
112
  * 链接操作配置
114
113
  * @public
115
114
  */ _define_property(_this, "linkOperationOption", void 0), _define_property(_this, "lineEllipsis", void 0);
116
- _this.escapeHTML = (_ref = props === null || props === void 0 ? void 0 : props.escapeHTML) !== null && _ref !== void 0 ? _ref : false;
117
- _this.caption = (_ref1 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref1 !== void 0 ? _ref1 : DesignerTextColumnControl.controlName;
118
- _this.lineEllipsis = (_ref2 = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _ref2 !== void 0 ? _ref2 : 1;
119
- _this.showLinkOperation = (_ref3 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref3 !== void 0 ? _ref3 : false;
115
+ var _props_escapeHTML;
116
+ _this.escapeHTML = (_props_escapeHTML = props === null || props === void 0 ? void 0 : props.escapeHTML) !== null && _props_escapeHTML !== void 0 ? _props_escapeHTML : false;
117
+ var _props_caption;
118
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTextColumnControl.controlName;
119
+ var _props_lineEllipsis;
120
+ _this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
121
+ var _props_showLinkOperation;
122
+ _this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
120
123
  _this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
121
124
  return _this;
122
125
  }
@@ -96,7 +96,6 @@ var TimescopeColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPr
96
96
  function TimescopeColumnControlProperty(props) {
97
97
  _class_call_check(this, TimescopeColumnControlProperty);
98
98
  var _this;
99
- var _ref, _ref1, _ref2, _ref3;
100
99
  _this = _call_super(this, TimescopeColumnControlProperty, [
101
100
  props
102
101
  ]), /**
@@ -111,11 +110,15 @@ var TimescopeColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPr
111
110
  * @public
112
111
  */ _define_property(_this, "linkOperationOption", void 0), _define_property(_this, "isInternational", void 0 //是否国际化
113
112
  );
114
- _this.dateType = (_ref = props === null || props === void 0 ? void 0 : props.dateType) !== null && _ref !== void 0 ? _ref : DateType.DATE;
115
- _this.showLinkOperation = (_ref1 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref1 !== void 0 ? _ref1 : false;
113
+ var _props_dateType;
114
+ _this.dateType = (_props_dateType = props === null || props === void 0 ? void 0 : props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
115
+ var _props_showLinkOperation;
116
+ _this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
116
117
  _this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
117
- _this.caption = (_ref2 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref2 !== void 0 ? _ref2 : DesignerTimescopeColumnControl.controlName;
118
- _this.isInternational = (_ref3 = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _ref3 !== void 0 ? _ref3 : false;
118
+ var _props_caption;
119
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTimescopeColumnControl.controlName;
120
+ var _props_isInternational;
121
+ _this.isInternational = (_props_isInternational = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _props_isInternational !== void 0 ? _props_isInternational : false;
119
122
  return _this;
120
123
  }
121
124
  return TimescopeColumnControlProperty;
@@ -96,7 +96,6 @@ var TimestampColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPr
96
96
  function TimestampColumnControlProperty(props) {
97
97
  _class_call_check(this, TimestampColumnControlProperty);
98
98
  var _this;
99
- var _ref, _ref1, _ref2, _ref3;
100
99
  _this = _call_super(this, TimestampColumnControlProperty, [
101
100
  props
102
101
  ]), /**
@@ -111,11 +110,15 @@ var TimestampColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPr
111
110
  * @public
112
111
  */ _define_property(_this, "linkOperationOption", void 0), _define_property(_this, "isInternational", void 0 //是否国际化
113
112
  );
114
- _this.dateType = (_ref = props === null || props === void 0 ? void 0 : props.dateType) !== null && _ref !== void 0 ? _ref : DateType.DATE;
115
- _this.showLinkOperation = (_ref1 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref1 !== void 0 ? _ref1 : false;
113
+ var _props_dateType;
114
+ _this.dateType = (_props_dateType = props === null || props === void 0 ? void 0 : props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
115
+ var _props_showLinkOperation;
116
+ _this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
116
117
  _this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
117
- _this.caption = (_ref2 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref2 !== void 0 ? _ref2 : DesignerTimestampColumnControl.controlName;
118
- _this.isInternational = (_ref3 = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _ref3 !== void 0 ? _ref3 : false;
118
+ var _props_caption;
119
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTimestampColumnControl.controlName;
120
+ var _props_isInternational;
121
+ _this.isInternational = (_props_isInternational = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _props_isInternational !== void 0 ? _props_isInternational : false;
119
122
  return _this;
120
123
  }
121
124
  return TimestampColumnControlProperty;