@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
@@ -78,21 +78,29 @@ var BatchDeleteButtonProperty = /*#__PURE__*/ function(Property) {
78
78
  function BatchDeleteButtonProperty(props) {
79
79
  _class_call_check(this, BatchDeleteButtonProperty);
80
80
  var _this;
81
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
82
81
  _this = _call_super(this, BatchDeleteButtonProperty, [
83
82
  props
84
83
  ]), _define_property(_this, "content", void 0), // public buttonType: 'primary' | 'secondary' | 'default' | 'danger'
85
84
  _define_property(_this, "buttonType", void 0), _define_property(_this, "showType", void 0), _define_property(_this, "color", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "defaultState", void 0), _define_property(_this, "command", void 0), _define_property(_this, "isLoading", void 0);
86
- _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : BatchDeleteButtonControl.controlName;
87
- _this.icon = (_ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref1 !== void 0 ? _ref1 : BatchDeleteButtonControl.controlIcon;
88
- _this.buttonType = (_ref2 = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _ref2 !== void 0 ? _ref2 : 'primary';
89
- _this.showType = (_ref3 = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref3 !== void 0 ? _ref3 : 'iconText';
90
- _this.color = (_ref4 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref4 !== void 0 ? _ref4 : 'danger';
91
- _this.isHide = (_ref5 = props === null || props === void 0 ? void 0 : props.isHide) !== null && _ref5 !== void 0 ? _ref5 : false;
85
+ var _props_content;
86
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : BatchDeleteButtonControl.controlName;
87
+ var _props_icon;
88
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : BatchDeleteButtonControl.controlIcon;
89
+ var _props_buttonType;
90
+ _this.buttonType = (_props_buttonType = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _props_buttonType !== void 0 ? _props_buttonType : 'primary';
91
+ var _props_showType;
92
+ _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'iconText';
93
+ var _props_color;
94
+ _this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : 'danger';
95
+ var _props_isHide;
96
+ _this.isHide = (_props_isHide = props === null || props === void 0 ? void 0 : props.isHide) !== null && _props_isHide !== void 0 ? _props_isHide : false;
97
+ var _props_defaultState;
92
98
  // @余石伟 按钮需要有默认icon
93
- _this.defaultState = (_ref6 = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _ref6 !== void 0 ? _ref6 : 'default';
94
- _this.command = (_ref7 = props === null || props === void 0 ? void 0 : props.command) !== null && _ref7 !== void 0 ? _ref7 : 'custom';
95
- _this.isLoading = (_ref8 = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _ref8 !== void 0 ? _ref8 : false;
99
+ _this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : 'default';
100
+ var _props_command;
101
+ _this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : 'custom';
102
+ var _props_isLoading;
103
+ _this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
96
104
  return _this;
97
105
  }
98
106
  return BatchDeleteButtonProperty;
@@ -97,18 +97,21 @@ var BatchPrintListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
97
97
  function BatchPrintListButtonProperty(props) {
98
98
  _class_call_check(this, BatchPrintListButtonProperty);
99
99
  var _this;
100
- var _ref, _ref1, _ref2, _ref3;
101
100
  var _props_printTemplates;
102
101
  _this = _call_super(this, BatchPrintListButtonProperty, [
103
102
  props
104
103
  ]), _define_property(_this, "printTemplates", void 0), _define_property(_this, "autoSelectTemplate", void 0 //自动选择模板 默认 false
105
104
  );
106
- _this.icon = (_ref = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref !== void 0 ? _ref : BatchPrintListButtonControl.controlIcon;
107
- _this.content = (_ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref1 !== void 0 ? _ref1 : BatchPrintListButtonControl.controlName;
108
- _this.printTemplates = (_ref2 = props === null || props === void 0 ? void 0 : (_props_printTemplates = props.printTemplates) === null || _props_printTemplates === void 0 ? void 0 : _props_printTemplates.map(function(item) {
105
+ var _props_icon;
106
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : BatchPrintListButtonControl.controlIcon;
107
+ var _props_content;
108
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : BatchPrintListButtonControl.controlName;
109
+ var _props_printTemplates_map;
110
+ _this.printTemplates = (_props_printTemplates_map = props === null || props === void 0 ? void 0 : (_props_printTemplates = props.printTemplates) === null || _props_printTemplates === void 0 ? void 0 : _props_printTemplates.map(function(item) {
109
111
  return new PrintTemplate(item);
110
- })) !== null && _ref2 !== void 0 ? _ref2 : [];
111
- _this.autoSelectTemplate = (_ref3 = props === null || props === void 0 ? void 0 : props.autoSelectTemplate) !== null && _ref3 !== void 0 ? _ref3 : false;
112
+ })) !== null && _props_printTemplates_map !== void 0 ? _props_printTemplates_map : [];
113
+ var _props_autoSelectTemplate;
114
+ _this.autoSelectTemplate = (_props_autoSelectTemplate = props === null || props === void 0 ? void 0 : props.autoSelectTemplate) !== null && _props_autoSelectTemplate !== void 0 ? _props_autoSelectTemplate : false;
112
115
  return _this;
113
116
  }
114
117
  return BatchPrintListButtonProperty;
@@ -65,12 +65,13 @@ var BatchPrintRecordListButtonProperty = /*#__PURE__*/ function(ButtonProperty)
65
65
  function BatchPrintRecordListButtonProperty(props) {
66
66
  _class_call_check(this, BatchPrintRecordListButtonProperty);
67
67
  var _this;
68
- var _ref, _ref1;
69
68
  _this = _call_super(this, BatchPrintRecordListButtonProperty, [
70
69
  props
71
70
  ]);
72
- _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : BatchPrintRecordListButton.controlName;
73
- _this.icon = (_ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref1 !== void 0 ? _ref1 : BatchPrintRecordListButton.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 : BatchPrintRecordListButton.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 : BatchPrintRecordListButton.controlIcon;
74
75
  return _this;
75
76
  }
76
77
  return BatchPrintRecordListButtonProperty;
@@ -103,7 +103,6 @@ var BatchSubmissionListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
103
103
  function BatchSubmissionListButtonProperty(props) {
104
104
  _class_call_check(this, BatchSubmissionListButtonProperty);
105
105
  var _this;
106
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
107
106
  _this = _call_super(this, BatchSubmissionListButtonProperty, [
108
107
  props
109
108
  ]), /**
@@ -115,12 +114,18 @@ var BatchSubmissionListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
115
114
  _define_property(_this, "fieldCode", void 0), /**
116
115
  * 指定人员的id
117
116
  * */ _define_property(_this, "employeeId", void 0);
118
- _this.icon = (_ref = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref !== void 0 ? _ref : BatchSubmissionListButtonControl.controlIcon;
119
- _this.content = (_ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref1 !== void 0 ? _ref1 : BatchSubmissionListButtonControl.controlName;
120
- _this.initiatorMode = (_ref2 = props === null || props === void 0 ? void 0 : props.initiatorMode) !== null && _ref2 !== void 0 ? _ref2 : 'currentInitiator';
121
- _this.processKey = (_ref3 = props === null || props === void 0 ? void 0 : props.processKey) !== null && _ref3 !== void 0 ? _ref3 : '';
122
- _this.fieldCode = (_ref4 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref4 !== void 0 ? _ref4 : '';
123
- _this.employeeId = (_ref5 = props === null || props === void 0 ? void 0 : props.employeeId) !== null && _ref5 !== void 0 ? _ref5 : '';
117
+ var _props_icon;
118
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : BatchSubmissionListButtonControl.controlIcon;
119
+ var _props_content;
120
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : BatchSubmissionListButtonControl.controlName;
121
+ var _props_initiatorMode;
122
+ _this.initiatorMode = (_props_initiatorMode = props === null || props === void 0 ? void 0 : props.initiatorMode) !== null && _props_initiatorMode !== void 0 ? _props_initiatorMode : 'currentInitiator';
123
+ var _props_processKey;
124
+ _this.processKey = (_props_processKey = props === null || props === void 0 ? void 0 : props.processKey) !== null && _props_processKey !== void 0 ? _props_processKey : '';
125
+ var _props_fieldCode;
126
+ _this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
127
+ var _props_employeeId;
128
+ _this.employeeId = (_props_employeeId = props === null || props === void 0 ? void 0 : props.employeeId) !== null && _props_employeeId !== void 0 ? _props_employeeId : '';
124
129
  return _this;
125
130
  }
126
131
  return BatchSubmissionListButtonProperty;
@@ -78,7 +78,6 @@ var ButtonProperty = /*#__PURE__*/ function(Property) {
78
78
  function ButtonProperty(props) {
79
79
  _class_call_check(this, ButtonProperty);
80
80
  var _this;
81
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
82
81
  _this = _call_super(this, ButtonProperty, [
83
82
  props
84
83
  ]), /**
@@ -115,16 +114,25 @@ var ButtonProperty = /*#__PURE__*/ function(Property) {
115
114
  * @public
116
115
  * @defaultValue ''
117
116
  */ _define_property(_this, "optObj", void 0);
118
- _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : getLocaleText('CMD.button', null, '按钮');
119
- _this.buttonType = (_ref1 = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _ref1 !== void 0 ? _ref1 : 'primary';
120
- _this.showType = (_ref2 = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref2 !== void 0 ? _ref2 : 'text';
121
- _this.color = (_ref3 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref3 !== void 0 ? _ref3 : 'primary';
117
+ var _props_content;
118
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.button', null, '按钮');
119
+ var _props_buttonType;
120
+ _this.buttonType = (_props_buttonType = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _props_buttonType !== void 0 ? _props_buttonType : 'primary';
121
+ var _props_showType;
122
+ _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'text';
123
+ var _props_color;
124
+ _this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : 'primary';
125
+ var _props_icon;
122
126
  // @余石伟 按钮需要有默认icon
123
- _this.icon = (_ref4 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref4 !== void 0 ? _ref4 : 'iconfenlei2';
124
- _this.defaultState = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _ref5 !== void 0 ? _ref5 : 'default';
125
- _this.command = (_ref6 = props === null || props === void 0 ? void 0 : props.command) !== null && _ref6 !== void 0 ? _ref6 : 'custom';
126
- _this.isLoading = (_ref7 = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _ref7 !== void 0 ? _ref7 : false;
127
- _this.optObj = new OptObject((_ref8 = props === null || props === void 0 ? void 0 : props.optObj) !== null && _ref8 !== void 0 ? _ref8 : {});
127
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : 'iconfenlei2';
128
+ var _props_defaultState;
129
+ _this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : 'default';
130
+ var _props_command;
131
+ _this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : 'custom';
132
+ var _props_isLoading;
133
+ _this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
134
+ var _props_optObj;
135
+ _this.optObj = new OptObject((_props_optObj = props === null || props === void 0 ? void 0 : props.optObj) !== null && _props_optObj !== void 0 ? _props_optObj : {});
128
136
  return _this;
129
137
  }
130
138
  return ButtonProperty;
@@ -77,11 +77,11 @@ var CommentProperty = /*#__PURE__*/ function(Property) {
77
77
  function CommentProperty(props) {
78
78
  _class_call_check(this, CommentProperty);
79
79
  var _this;
80
- var _ref;
81
80
  _this = _call_super(this, CommentProperty, [
82
81
  props
83
82
  ]), _define_property(_this, "content", void 0), _define_property(_this, "commentOptions", void 0);
84
- _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : '';
83
+ var _props_content;
84
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : '';
85
85
  _this.commentOptions = (props === null || props === void 0 ? void 0 : props.commentOptions) || [];
86
86
  return _this;
87
87
  }
@@ -97,14 +97,17 @@ var CreateFormListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
97
97
  function CreateFormListButtonProperty(props) {
98
98
  _class_call_check(this, CreateFormListButtonProperty);
99
99
  var _this;
100
- var _ref, _ref1, _ref2, _ref3;
101
100
  _this = _call_super(this, CreateFormListButtonProperty, [
102
101
  props
103
102
  ]), _define_property(_this, "formKey", void 0), _define_property(_this, "openType", void 0);
104
- _this.icon = (_ref = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref !== void 0 ? _ref : CreateFormListButtonControl.controlIcon;
105
- _this.content = (_ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref1 !== void 0 ? _ref1 : CreateFormListButtonControl.controlName;
106
- _this.formKey = (_ref2 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref2 !== void 0 ? _ref2 : '';
107
- _this.openType = (_ref3 = props === null || props === void 0 ? void 0 : props.openType) !== null && _ref3 !== void 0 ? _ref3 : 'modal';
103
+ var _props_icon;
104
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : CreateFormListButtonControl.controlIcon;
105
+ var _props_content;
106
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : CreateFormListButtonControl.controlName;
107
+ var _props_formKey;
108
+ _this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
109
+ var _props_openType;
110
+ _this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : 'modal';
108
111
  return _this;
109
112
  }
110
113
  return CreateFormListButtonProperty;
@@ -119,18 +119,25 @@ var DashboardProperty = /*#__PURE__*/ function(Property) {
119
119
  function DashboardProperty(props) {
120
120
  _class_call_check(this, DashboardProperty);
121
121
  var _this;
122
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
123
122
  _this = _call_super(this, DashboardProperty, [
124
123
  props
125
124
  ]), _define_property(_this, "dashboardKey", void 0), _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, "isShowReportParams", void 0), _define_property(_this, "reportParams", void 0);
126
- _this.dashboardKey = (_ref = props === null || props === void 0 ? void 0 : props.dashboardKey) !== null && _ref !== void 0 ? _ref : '';
127
- _this.caption = (_ref1 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref1 !== void 0 ? _ref1 : '';
128
- _this.isHideCaption = (_ref2 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref2 !== void 0 ? _ref2 : false;
129
- _this.isShowCaptionTip = (_ref3 = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _ref3 !== void 0 ? _ref3 : false;
130
- _this.captionTip = (_ref4 = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _ref4 !== void 0 ? _ref4 : '';
131
- _this.labelPosition = (_ref5 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _ref5 !== void 0 ? _ref5 : 'top';
132
- _this.isShowReportParams = (_ref6 = props === null || props === void 0 ? void 0 : props.isShowReportParams) !== null && _ref6 !== void 0 ? _ref6 : false;
133
- _this.reportParams = (_ref7 = props === null || props === void 0 ? void 0 : props.reportParams) !== null && _ref7 !== void 0 ? _ref7 : [];
125
+ var _props_dashboardKey;
126
+ _this.dashboardKey = (_props_dashboardKey = props === null || props === void 0 ? void 0 : props.dashboardKey) !== null && _props_dashboardKey !== void 0 ? _props_dashboardKey : '';
127
+ var _props_caption;
128
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : '';
129
+ var _props_isHideCaption;
130
+ _this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
131
+ var _props_isShowCaptionTip;
132
+ _this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
133
+ var _props_captionTip;
134
+ _this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : '';
135
+ var _props_labelPosition;
136
+ _this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : 'top';
137
+ var _props_isShowReportParams;
138
+ _this.isShowReportParams = (_props_isShowReportParams = props === null || props === void 0 ? void 0 : props.isShowReportParams) !== null && _props_isShowReportParams !== void 0 ? _props_isShowReportParams : false;
139
+ var _props_reportParams;
140
+ _this.reportParams = (_props_reportParams = props === null || props === void 0 ? void 0 : props.reportParams) !== null && _props_reportParams !== void 0 ? _props_reportParams : [];
134
141
  return _this;
135
142
  }
136
143
  return DashboardProperty;
@@ -1,3 +1,4 @@
1
+ // 线条样式类名
1
2
  function _assert_this_initialized(self) {
2
3
  if (self === void 0) {
3
4
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
@@ -70,7 +71,6 @@ function _is_native_reflect_construct() {
70
71
  return !!result;
71
72
  })();
72
73
  }
73
- // 线条样式类名
74
74
  import { Property } from '@byteluck-fe/model-driven-core';
75
75
  import { LINE_STYLE } from '../../framework';
76
76
  var DividerProperty = /*#__PURE__*/ function(Property) {
@@ -79,12 +79,13 @@ var DividerProperty = /*#__PURE__*/ function(Property) {
79
79
  function DividerProperty(props) {
80
80
  _class_call_check(this, DividerProperty);
81
81
  var _this;
82
- var _ref, _ref1;
83
82
  _this = _call_super(this, DividerProperty, [
84
83
  props
85
84
  ]), _define_property(_this, "color", void 0), _define_property(_this, "lineStyle", void 0);
86
- _this.color = (_ref = props === null || props === void 0 ? void 0 : props.color) !== null && _ref !== void 0 ? _ref : '#000';
87
- _this.lineStyle = (_ref1 = props === null || props === void 0 ? void 0 : props.lineStyle) !== null && _ref1 !== void 0 ? _ref1 : LINE_STYLE.SOLID;
85
+ var _props_color;
86
+ _this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : '#000';
87
+ var _props_lineStyle;
88
+ _this.lineStyle = (_props_lineStyle = props === null || props === void 0 ? void 0 : props.lineStyle) !== null && _props_lineStyle !== void 0 ? _props_lineStyle : LINE_STYLE.SOLID;
88
89
  return _this;
89
90
  }
90
91
  return DividerProperty;
@@ -80,17 +80,20 @@ var ExportListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
80
80
  function ExportListButtonProperty(props) {
81
81
  _class_call_check(this, ExportListButtonProperty);
82
82
  var _this;
83
- var _ref, _ref1, _ref2, _ref3;
84
83
  var _props_templateList;
85
84
  _this = _call_super(this, ExportListButtonProperty, [
86
85
  props
87
86
  ]), _define_property(_this, "templateList", void 0), _define_property(_this, "templateType", void 0);
88
- _this.icon = (_ref = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref !== void 0 ? _ref : ExportListButtonControl.controlIcon;
89
- _this.content = (_ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref1 !== void 0 ? _ref1 : ExportListButtonControl.controlName;
90
- _this.templateType = (_ref2 = props === null || props === void 0 ? void 0 : props.templateType) !== null && _ref2 !== void 0 ? _ref2 : 'system';
91
- _this.templateList = (_ref3 = props === null || props === void 0 ? void 0 : (_props_templateList = props.templateList) === null || _props_templateList === void 0 ? void 0 : _props_templateList.map(function(item) {
87
+ var _props_icon;
88
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : ExportListButtonControl.controlIcon;
89
+ var _props_content;
90
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : ExportListButtonControl.controlName;
91
+ var _props_templateType;
92
+ _this.templateType = (_props_templateType = props === null || props === void 0 ? void 0 : props.templateType) !== null && _props_templateType !== void 0 ? _props_templateType : 'system';
93
+ var _props_templateList_map;
94
+ _this.templateList = (_props_templateList_map = props === null || props === void 0 ? void 0 : (_props_templateList = props.templateList) === null || _props_templateList === void 0 ? void 0 : _props_templateList.map(function(item) {
92
95
  return new ExportTemplate(item);
93
- })) !== null && _ref3 !== void 0 ? _ref3 : [
96
+ })) !== null && _props_templateList_map !== void 0 ? _props_templateList_map : [
94
97
  new ExportTemplate({
95
98
  id: 'default',
96
99
  name: getLocaleText('CMD.defaultTemplate', null, '默认模版'),
@@ -65,12 +65,13 @@ var ExportRecordListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
65
65
  function ExportRecordListButtonProperty(props) {
66
66
  _class_call_check(this, ExportRecordListButtonProperty);
67
67
  var _this;
68
- var _ref, _ref1;
69
68
  _this = _call_super(this, ExportRecordListButtonProperty, [
70
69
  props
71
70
  ]);
72
- _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : ExportRecordListButtonControl.controlName;
73
- _this.icon = (_ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref1 !== void 0 ? _ref1 : ExportRecordListButtonControl.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 : ExportRecordListButtonControl.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 : ExportRecordListButtonControl.controlIcon;
74
75
  return _this;
75
76
  }
76
77
  return ExportRecordListButtonProperty;
@@ -138,13 +138,15 @@ var FormSelectButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
138
138
  function FormSelectButtonProperty(props) {
139
139
  _class_call_check(this, FormSelectButtonProperty);
140
140
  var _this;
141
- var _ref, _ref1, _ref2;
142
141
  _this = _call_super(this, FormSelectButtonProperty, [
143
142
  props
144
143
  ]), _define_property(_this, "fillPayload", void 0), _define_property(_this, "formBind", void 0), _define_property(_this, "fillBack", void 0), _define_property(_this, "command", void 0);
145
- _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : FormSelectButtonControl.controlName;
146
- _this.icon = (_ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref1 !== void 0 ? _ref1 : FormSelectButtonControl.controlIcon;
147
- _this.command = (_ref2 = props === null || props === void 0 ? void 0 : props.command) !== null && _ref2 !== void 0 ? _ref2 : 'create';
144
+ var _props_content;
145
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : FormSelectButtonControl.controlName;
146
+ var _props_icon;
147
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : FormSelectButtonControl.controlIcon;
148
+ var _props_command;
149
+ _this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : 'create';
148
150
  _this.fillPayload = new FillPayloadBind(props === null || props === void 0 ? void 0 : props.fillPayload);
149
151
  _this.formBind = new FormSelectBind(props === null || props === void 0 ? void 0 : props.formBind);
150
152
  _this.fillBack = new FillBackBind(props === null || props === void 0 ? void 0 : props.fillBack);
@@ -84,19 +84,22 @@ var ImportRecordListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
84
84
  function ImportRecordListButtonProperty(props) {
85
85
  _class_call_check(this, ImportRecordListButtonProperty);
86
86
  var _this;
87
- var _ref, _ref1, _ref2, _ref3;
88
87
  var _props_canImportList;
89
88
  _this = _call_super(this, ImportRecordListButtonProperty, [
90
89
  props
91
90
  ]), /*
92
91
  * 可以导入的数据
93
92
  * */ _define_property(_this, "canImportList", void 0), _define_property(_this, "templateType", void 0);
94
- _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : ImportRecordListButtonControl.controlName;
95
- _this.icon = (_ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref1 !== void 0 ? _ref1 : ImportRecordListButtonControl.controlIcon;
96
- _this.canImportList = (_ref2 = props === null || props === void 0 ? void 0 : (_props_canImportList = props.canImportList) === null || _props_canImportList === void 0 ? void 0 : _props_canImportList.map(function(item) {
93
+ var _props_content;
94
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : ImportRecordListButtonControl.controlName;
95
+ var _props_icon;
96
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : ImportRecordListButtonControl.controlIcon;
97
+ var _props_canImportList_map;
98
+ _this.canImportList = (_props_canImportList_map = props === null || props === void 0 ? void 0 : (_props_canImportList = props.canImportList) === null || _props_canImportList === void 0 ? void 0 : _props_canImportList.map(function(item) {
97
99
  return new ImportListBind(item);
98
- })) !== null && _ref2 !== void 0 ? _ref2 : [];
99
- _this.templateType = (_ref3 = props === null || props === void 0 ? void 0 : props.templateType) !== null && _ref3 !== void 0 ? _ref3 : 'system';
100
+ })) !== null && _props_canImportList_map !== void 0 ? _props_canImportList_map : [];
101
+ var _props_templateType;
102
+ _this.templateType = (_props_templateType = props === null || props === void 0 ? void 0 : props.templateType) !== null && _props_templateType !== void 0 ? _props_templateType : 'system';
100
103
  return _this;
101
104
  }
102
105
  return ImportRecordListButtonProperty;
@@ -126,22 +126,30 @@ var InvoiceCheckButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
126
126
  function InvoiceCheckButtonProperty(props) {
127
127
  _class_call_check(this, InvoiceCheckButtonProperty);
128
128
  var _this;
129
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
130
129
  var _props_fillList;
131
130
  _this = _call_super(this, InvoiceCheckButtonProperty, [
132
131
  props
133
132
  ]), _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, "invoiceCheck", void 0), _define_property(_this, "fillList", void 0);
134
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : InvoiceCheckButtonControl.controlName;
135
- _this.isHideCaption = (_ref1 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref1 !== void 0 ? _ref1 : false;
136
- _this.isShowCaptionTip = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _ref2 !== void 0 ? _ref2 : false;
137
- _this.captionTip = (_ref3 = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _ref3 !== void 0 ? _ref3 : '';
138
- _this.labelPosition = (_ref4 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _ref4 !== void 0 ? _ref4 : 'top';
139
- _this.content = (_ref5 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref5 !== void 0 ? _ref5 : InvoiceCheckButtonControl.controlName;
140
- _this.icon = (_ref6 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref6 !== void 0 ? _ref6 : InvoiceCheckButtonControl.controlIcon;
141
- _this.invoiceCheck = (_ref7 = props === null || props === void 0 ? void 0 : props.invoiceCheck) !== null && _ref7 !== void 0 ? _ref7 : true;
142
- _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) {
133
+ var _props_caption;
134
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : InvoiceCheckButtonControl.controlName;
135
+ var _props_isHideCaption;
136
+ _this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
137
+ var _props_isShowCaptionTip;
138
+ _this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
139
+ var _props_captionTip;
140
+ _this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : '';
141
+ var _props_labelPosition;
142
+ _this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : 'top';
143
+ var _props_content;
144
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : InvoiceCheckButtonControl.controlName;
145
+ var _props_icon;
146
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : InvoiceCheckButtonControl.controlIcon;
147
+ var _props_invoiceCheck;
148
+ _this.invoiceCheck = (_props_invoiceCheck = props === null || props === void 0 ? void 0 : props.invoiceCheck) !== null && _props_invoiceCheck !== void 0 ? _props_invoiceCheck : true;
149
+ var _props_fillList_map;
150
+ _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) {
143
151
  return new MultistageFillingItem(item);
144
- })) !== null && _ref8 !== void 0 ? _ref8 : [];
152
+ })) !== null && _props_fillList_map !== void 0 ? _props_fillList_map : [];
145
153
  return _this;
146
154
  }
147
155
  return InvoiceCheckButtonProperty;
@@ -78,13 +78,15 @@ var LinkProperty = /*#__PURE__*/ function(Property) {
78
78
  function LinkProperty(props) {
79
79
  _class_call_check(this, LinkProperty);
80
80
  var _this;
81
- var _ref, _ref1, _ref2;
82
81
  _this = _call_super(this, LinkProperty, [
83
82
  props
84
83
  ]), _define_property(_this, "content", void 0), _define_property(_this, "url", void 0), _define_property(_this, "openMode", void 0);
85
- _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : getLocaleText('CMD.linkContent', null, '我是一个链接');
86
- _this.url = (_ref1 = props === null || props === void 0 ? void 0 : props.url) !== null && _ref1 !== void 0 ? _ref1 : '';
87
- _this.openMode = (_ref2 = props === null || props === void 0 ? void 0 : props.openMode) !== null && _ref2 !== void 0 ? _ref2 : 'new';
84
+ var _props_content;
85
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.linkContent', null, '我是一个链接');
86
+ var _props_url;
87
+ _this.url = (_props_url = props === null || props === void 0 ? void 0 : props.url) !== null && _props_url !== void 0 ? _props_url : '';
88
+ var _props_openMode;
89
+ _this.openMode = (_props_openMode = props === null || props === void 0 ? void 0 : props.openMode) !== null && _props_openMode !== void 0 ? _props_openMode : 'new';
88
90
  return _this;
89
91
  }
90
92
  return LinkProperty;
@@ -138,7 +138,6 @@ var ListSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
138
138
  function ListSelectButtonProperty(props) {
139
139
  _class_call_check(this, ListSelectButtonProperty);
140
140
  var _this;
141
- var _ref, _ref1, _ref2, _ref3, _ref4;
142
141
  _this = _call_super(this, ListSelectButtonProperty, [
143
142
  props
144
143
  ]), /**
@@ -157,15 +156,20 @@ var ListSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
157
156
  _define_property(_this, "showSelectedDetail", void 0), // 是否使用选中行填充
158
157
  _define_property(_this, "isSelectedRowFill", void 0), // 展示已选内容配置字段
159
158
  _define_property(_this, "selectedContentConfig", void 0);
160
- _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : ListSelectButtonControl.controlName;
161
- _this.icon = (_ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref1 !== void 0 ? _ref1 : ListSelectButtonControl.controlIcon;
159
+ var _props_content;
160
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : ListSelectButtonControl.controlName;
161
+ var _props_icon;
162
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : ListSelectButtonControl.controlIcon;
162
163
  _this.fillPayload = new FillPayloadBind(props === null || props === void 0 ? void 0 : props.fillPayload);
163
164
  _this.listPageBind = new ListBind(props === null || props === void 0 ? void 0 : props.listPageBind);
164
165
  _this.fillBack = new FillBackBind(props === null || props === void 0 ? void 0 : props.fillBack);
165
- _this.showSelectedDetail = (_ref2 = props === null || props === void 0 ? void 0 : props.showSelectedDetail) !== null && _ref2 !== void 0 ? _ref2 : false;
166
+ var _props_showSelectedDetail;
167
+ _this.showSelectedDetail = (_props_showSelectedDetail = props === null || props === void 0 ? void 0 : props.showSelectedDetail) !== null && _props_showSelectedDetail !== void 0 ? _props_showSelectedDetail : false;
166
168
  _this.selectedContentConfig = new SelectedContentConfig(props === null || props === void 0 ? void 0 : props.selectedContentConfig);
167
- _this.isSelectedRowFill = (_ref3 = props === null || props === void 0 ? void 0 : props.isSelectedRowFill) !== null && _ref3 !== void 0 ? _ref3 : false;
168
- _this.disableFilling = (_ref4 = props === null || props === void 0 ? void 0 : props.disableFilling) !== null && _ref4 !== void 0 ? _ref4 : true;
169
+ var _props_isSelectedRowFill;
170
+ _this.isSelectedRowFill = (_props_isSelectedRowFill = props === null || props === void 0 ? void 0 : props.isSelectedRowFill) !== null && _props_isSelectedRowFill !== void 0 ? _props_isSelectedRowFill : false;
171
+ var _props_disableFilling;
172
+ _this.disableFilling = (_props_disableFilling = props === null || props === void 0 ? void 0 : props.disableFilling) !== null && _props_disableFilling !== void 0 ? _props_disableFilling : true;
169
173
  return _this;
170
174
  }
171
175
  return ListSelectButtonProperty;
@@ -115,15 +115,16 @@ var ListViewSelectProperty = /*#__PURE__*/ function(Property) {
115
115
  function ListViewSelectProperty(props) {
116
116
  _class_call_check(this, ListViewSelectProperty);
117
117
  var _this;
118
- var _ref, _ref1;
119
118
  var _props_viewList;
120
119
  _this = _call_super(this, ListViewSelectProperty, [
121
120
  props
122
121
  ]), _define_property(_this, "showType", void 0), _define_property(_this, "viewList", void 0);
123
- _this.showType = (_ref = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref !== void 0 ? _ref : 'select';
124
- _this.viewList = (_ref1 = props === null || props === void 0 ? void 0 : (_props_viewList = props.viewList) === null || _props_viewList === void 0 ? void 0 : _props_viewList.map(function(item) {
122
+ var _props_showType;
123
+ _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'select';
124
+ var _props_viewList_map;
125
+ _this.viewList = (_props_viewList_map = props === null || props === void 0 ? void 0 : (_props_viewList = props.viewList) === null || _props_viewList === void 0 ? void 0 : _props_viewList.map(function(item) {
125
126
  return new ViewOperationItem(item);
126
- })) !== null && _ref1 !== void 0 ? _ref1 : [];
127
+ })) !== null && _props_viewList_map !== void 0 ? _props_viewList_map : [];
127
128
  return _this;
128
129
  }
129
130
  return ListViewSelectProperty;
@@ -101,25 +101,30 @@ var OperationButtonProperty = /*#__PURE__*/ function(Property) {
101
101
  function OperationButtonProperty(props) {
102
102
  _class_call_check(this, OperationButtonProperty);
103
103
  var _this;
104
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
105
104
  _this = _call_super(this, OperationButtonProperty, [
106
105
  props
107
106
  ]), _define_property(_this, "content", void 0), _define_property(_this, "code", void 0), _define_property(_this, "command", void 0), _define_property(_this, "color", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "formKey", void 0), _define_property(_this, "openType", void 0), _define_property(_this, "needConfirm", void 0), _define_property(_this, "confirmMessage", void 0), _define_property(_this, "options", void 0), _define_property(_this, "defaultState", void 0), _define_property(_this, "priorityProcess", void 0), _define_property(_this, "isLoading", void 0), // 是否同步删除流程数据
108
107
  _define_property(_this, "isSyncDelete", void 0);
109
- _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : getLocaleText('CMD.button', null, '按钮');
108
+ var _props_content;
109
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.button', null, '按钮');
110
110
  _this.code = props === null || props === void 0 ? void 0 : props.code;
111
- _this.command = (_ref1 = props === null || props === void 0 ? void 0 : props.command) !== null && _ref1 !== void 0 ? _ref1 : 'custom';
112
- _this.color = (_ref2 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref2 !== void 0 ? _ref2 : 'primary';
111
+ var _props_command;
112
+ _this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : 'custom';
113
+ var _props_color;
114
+ _this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : 'primary';
113
115
  _this.icon = props === null || props === void 0 ? void 0 : props.icon;
114
116
  _this.formKey = props === null || props === void 0 ? void 0 : props.formKey;
115
117
  _this.openType = props === null || props === void 0 ? void 0 : props.openType;
116
118
  _this.needConfirm = props === null || props === void 0 ? void 0 : props.needConfirm;
117
119
  _this.confirmMessage = props === null || props === void 0 ? void 0 : props.confirmMessage;
118
120
  _this.options = props === null || props === void 0 ? void 0 : props.options;
119
- _this.defaultState = (_ref3 = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _ref3 !== void 0 ? _ref3 : 'default';
121
+ var _props_defaultState;
122
+ _this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : 'default';
120
123
  _this.priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess;
121
- _this.isLoading = (_ref4 = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _ref4 !== void 0 ? _ref4 : false;
122
- _this.isSyncDelete = (_ref5 = props === null || props === void 0 ? void 0 : props.isSyncDelete) !== null && _ref5 !== void 0 ? _ref5 : false;
124
+ var _props_isLoading;
125
+ _this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
126
+ var _props_isSyncDelete;
127
+ _this.isSyncDelete = (_props_isSyncDelete = props === null || props === void 0 ? void 0 : props.isSyncDelete) !== null && _props_isSyncDelete !== void 0 ? _props_isSyncDelete : false;
123
128
  return _this;
124
129
  }
125
130
  return OperationButtonProperty;
@@ -110,7 +110,6 @@ var ReferenceListPropertyRules = /*#__PURE__*/ function(PropertyRules) {
110
110
  function ReferenceListProperty(props) {
111
111
  _class_call_check(this, ReferenceListProperty);
112
112
  var _this;
113
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
114
113
  _this = _call_super(this, ReferenceListProperty, [
115
114
  props
116
115
  ]), // 是否显示查询栏
@@ -119,12 +118,18 @@ var ReferenceListPropertyRules = /*#__PURE__*/ function(PropertyRules) {
119
118
  _define_property(_this, "actionSetting", void 0), //列表高度配置
120
119
  _define_property(_this, "listHeightSetting", void 0), //列表高度配置
121
120
  _define_property(_this, "isHideCaption", void 0);
122
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : ReferenceListControl.controlName;
123
- _this.isShowSimpleSearch = (_ref1 = props === null || props === void 0 ? void 0 : props.isShowSimpleSearch) !== null && _ref1 !== void 0 ? _ref1 : true;
124
- _this.isShowToolbar = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowToolbar) !== null && _ref2 !== void 0 ? _ref2 : true;
125
- _this.isHideCaption = (_ref3 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref3 !== void 0 ? _ref3 : false;
126
- _this.actionSetting = (_ref4 = new ActionSetting(props === null || props === void 0 ? void 0 : props.actionSetting)) !== null && _ref4 !== void 0 ? _ref4 : new ActionSetting();
127
- _this.listHeightSetting = (_ref5 = new ListHeightSetting(props === null || props === void 0 ? void 0 : props.listHeightSetting)) !== null && _ref5 !== void 0 ? _ref5 : new ListHeightSetting();
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 : ReferenceListControl.controlName;
123
+ var _props_isShowSimpleSearch;
124
+ _this.isShowSimpleSearch = (_props_isShowSimpleSearch = props === null || props === void 0 ? void 0 : props.isShowSimpleSearch) !== null && _props_isShowSimpleSearch !== void 0 ? _props_isShowSimpleSearch : true;
125
+ var _props_isShowToolbar;
126
+ _this.isShowToolbar = (_props_isShowToolbar = props === null || props === void 0 ? void 0 : props.isShowToolbar) !== null && _props_isShowToolbar !== void 0 ? _props_isShowToolbar : true;
127
+ var _props_isHideCaption;
128
+ _this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
129
+ var _ref;
130
+ _this.actionSetting = (_ref = new ActionSetting(props === null || props === void 0 ? void 0 : props.actionSetting)) !== null && _ref !== void 0 ? _ref : new ActionSetting();
131
+ var _ref1;
132
+ _this.listHeightSetting = (_ref1 = new ListHeightSetting(props === null || props === void 0 ? void 0 : props.listHeightSetting)) !== null && _ref1 !== void 0 ? _ref1 : new ListHeightSetting();
128
133
  return _this;
129
134
  }
130
135
  return ReferenceListProperty;