@byteluck-fe/model-driven-controls 7.0.0-beta.5 → 7.0.0-beta.6

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 (152) hide show
  1. package/dist/esm/baseControls/BarChart/designer.js +11 -11
  2. package/dist/esm/baseControls/BarChart/property.js +73 -22
  3. package/dist/esm/baseControls/BatchDeleteButton/property.js +23 -15
  4. package/dist/esm/baseControls/BatchPrintListButton/property.js +14 -11
  5. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +9 -8
  6. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +12 -7
  7. package/dist/esm/baseControls/Button/property.js +27 -17
  8. package/dist/esm/baseControls/Comment/property.js +7 -7
  9. package/dist/esm/baseControls/CreateFormListButton/property.js +13 -10
  10. package/dist/esm/baseControls/Dashboard/property.js +21 -14
  11. package/dist/esm/baseControls/Divider/property.js +17 -12
  12. package/dist/esm/baseControls/ExportListButton/property.js +14 -11
  13. package/dist/esm/baseControls/ExportRecordListButton/property.js +9 -8
  14. package/dist/esm/baseControls/FormSelectButton/property.js +11 -9
  15. package/dist/esm/baseControls/Iframe/designer.js +4 -4
  16. package/dist/esm/baseControls/Iframe/property.js +10 -7
  17. package/dist/esm/baseControls/ImportRecordListButton/property.js +14 -11
  18. package/dist/esm/baseControls/InvoiceCheckButton/property.js +24 -16
  19. package/dist/esm/baseControls/LineChart/designer.js +7 -7
  20. package/dist/esm/baseControls/LineChart/property.js +73 -22
  21. package/dist/esm/baseControls/Link/property.js +17 -12
  22. package/dist/esm/baseControls/ListSelectButton/property.js +15 -11
  23. package/dist/esm/baseControls/ListViewSelect/property.js +10 -9
  24. package/dist/esm/baseControls/OperationButton/property.js +17 -12
  25. package/dist/esm/baseControls/Pagination/property.js +5 -5
  26. package/dist/esm/baseControls/PieChart/designer.js +10 -10
  27. package/dist/esm/baseControls/PieChart/property.js +80 -20
  28. package/dist/esm/baseControls/ReferenceList/property.js +17 -12
  29. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +9 -8
  30. package/dist/esm/baseControls/Text/designer.js +1 -1
  31. package/dist/esm/baseControls/Text/property.js +23 -15
  32. package/dist/esm/baseControls/TextOcrButton/property.js +24 -16
  33. package/dist/esm/baseControls/Title/property.js +6 -4
  34. package/dist/esm/baseControls/utils.js +1 -1
  35. package/dist/esm/columnControls/ApprovalStatusColumn/property.js +11 -9
  36. package/dist/esm/columnControls/ArrayColumn/property.js +13 -10
  37. package/dist/esm/columnControls/AutoNumberColumn/property.js +9 -8
  38. package/dist/esm/columnControls/CustomColumn/designer.js +0 -1
  39. package/dist/esm/columnControls/CustomColumn/property.js +11 -9
  40. package/dist/esm/columnControls/DecimalColumn/property.js +19 -13
  41. package/dist/esm/columnControls/DepartmentColumn/property.js +9 -8
  42. package/dist/esm/columnControls/EmployeeColumn/property.js +9 -8
  43. package/dist/esm/columnControls/FileColumn/property.js +9 -8
  44. package/dist/esm/columnControls/GroupColumn/property.js +7 -7
  45. package/dist/esm/columnControls/ImageColumn/property.js +7 -7
  46. package/dist/esm/columnControls/LocationColumn/property.js +9 -8
  47. package/dist/esm/columnControls/OperationColumn/designer.js +12 -16
  48. package/dist/esm/columnControls/OperationColumn/property.js +15 -11
  49. package/dist/esm/columnControls/OrderColumn/property.js +17 -12
  50. package/dist/esm/columnControls/PeopleColumn/property.js +7 -7
  51. package/dist/esm/columnControls/TextColumn/property.js +13 -10
  52. package/dist/esm/columnControls/TimescopeColumn/property.js +13 -10
  53. package/dist/esm/columnControls/TimestampColumn/property.js +13 -10
  54. package/dist/esm/columnControls/VarcharColumn/property.js +17 -12
  55. package/dist/esm/formControls/Address/property.js +17 -12
  56. package/dist/esm/formControls/Amount/property.js +29 -18
  57. package/dist/esm/formControls/Attachment/property.js +39 -23
  58. package/dist/esm/formControls/AutoNumber/property.js +11 -9
  59. package/dist/esm/formControls/Barcode/designer.js +41 -21
  60. package/dist/esm/formControls/Barcode/property.js +21 -13
  61. package/dist/esm/formControls/Barcode/schema.json +19 -8
  62. package/dist/esm/formControls/Calc/property.js +18 -10
  63. package/dist/esm/formControls/Cascader/property.js +31 -17
  64. package/dist/esm/formControls/Checkbox/property.js +31 -17
  65. package/dist/esm/formControls/Counter/property.js +18 -10
  66. package/dist/esm/formControls/DatePicker/property.js +32 -20
  67. package/dist/esm/formControls/DateRange/property.js +28 -18
  68. package/dist/esm/formControls/Department/property.js +27 -17
  69. package/dist/esm/formControls/Department2/property.js +40 -24
  70. package/dist/esm/formControls/ElectronicSignature/property.js +17 -12
  71. package/dist/esm/formControls/Employee/property.js +23 -15
  72. package/dist/esm/formControls/Employee2/property.js +38 -22
  73. package/dist/esm/formControls/Image/designer.js +8 -8
  74. package/dist/esm/formControls/Image/property.js +17 -8
  75. package/dist/esm/formControls/Input/property.js +20 -11
  76. package/dist/esm/formControls/Number/property.js +32 -17
  77. package/dist/esm/formControls/OrganizationSelection/property.js +41 -24
  78. package/dist/esm/formControls/QrCode/designer.js +47 -27
  79. package/dist/esm/formControls/QrCode/property.js +24 -17
  80. package/dist/esm/formControls/QrCode/schema.json +20 -9
  81. package/dist/esm/formControls/Radio/property.js +33 -20
  82. package/dist/esm/formControls/RichText/designer.js +1 -1
  83. package/dist/esm/formControls/RichText/property.js +22 -12
  84. package/dist/esm/formControls/Score/property.js +17 -10
  85. package/dist/esm/formControls/SearchDateRange/property.js +30 -19
  86. package/dist/esm/formControls/SearchInput/property.js +5 -5
  87. package/dist/esm/formControls/SearchNumberRange/property.js +17 -12
  88. package/dist/esm/formControls/Select/property.js +29 -18
  89. package/dist/esm/formControls/SelectMultiple/property.js +27 -17
  90. package/dist/esm/formControls/SelectRelation/property.js +31 -19
  91. package/dist/esm/formControls/Slider/designer.js +2 -1
  92. package/dist/esm/formControls/Slider/property.js +22 -17
  93. package/dist/esm/formControls/Switch/designer.js +15 -14
  94. package/dist/esm/formControls/Switch/property.js +19 -10
  95. package/dist/esm/formControls/Tag/designer.js +14 -13
  96. package/dist/esm/formControls/Tag/property.js +23 -15
  97. package/dist/esm/formControls/Textarea/property.js +20 -11
  98. package/dist/esm/formControls/TimePicker/property.js +20 -14
  99. package/dist/esm/formControls/TimeRange/property.js +24 -16
  100. package/dist/esm/formControls/Tree/property.js +39 -21
  101. package/dist/esm/formControls/VueFormItem/property.js +15 -11
  102. package/dist/esm/formControls/VuePage/property.js +15 -11
  103. package/dist/esm/formControls/WPS/designer.js +9 -9
  104. package/dist/esm/formControls/WPS/property.js +29 -18
  105. package/dist/esm/framework.js +135 -81
  106. package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
  107. package/dist/esm/layoutControls/ActionBar/property.js +11 -9
  108. package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
  109. package/dist/esm/layoutControls/AdvancedContainer/property.js +5 -5
  110. package/dist/esm/layoutControls/BlankContainer/designer.js +8 -7
  111. package/dist/esm/layoutControls/BlankContainer/property.js +15 -12
  112. package/dist/esm/layoutControls/CardGroup/property.js +20 -11
  113. package/dist/esm/layoutControls/Col/property.js +11 -9
  114. package/dist/esm/layoutControls/Collapse/designer.js +2 -2
  115. package/dist/esm/layoutControls/Collapse/property.js +9 -8
  116. package/dist/esm/layoutControls/CollapsePane/property.js +7 -7
  117. package/dist/esm/layoutControls/DataView/property.js +19 -13
  118. package/dist/esm/layoutControls/Grid/property.js +5 -5
  119. package/dist/esm/layoutControls/GridLayoutContainer/property.js +9 -8
  120. package/dist/esm/layoutControls/GridRow/property.js +5 -5
  121. package/dist/esm/layoutControls/GridTableColumn/property.js +25 -16
  122. package/dist/esm/layoutControls/ListView/property.js +28 -15
  123. package/dist/esm/layoutControls/Page/property.js +7 -7
  124. package/dist/esm/layoutControls/Position/property.js +13 -10
  125. package/dist/esm/layoutControls/PositioningContainer/property.js +5 -5
  126. package/dist/esm/layoutControls/Row/property.js +15 -11
  127. package/dist/esm/layoutControls/Step/designer.js +2 -2
  128. package/dist/esm/layoutControls/Step/property.js +27 -17
  129. package/dist/esm/layoutControls/StepPane/property.js +21 -14
  130. package/dist/esm/layoutControls/SubTableColumn/property.js +10 -6
  131. package/dist/esm/layoutControls/SubTableRow/property.js +5 -5
  132. package/dist/esm/layoutControls/Tab/designer.js +2 -2
  133. package/dist/esm/layoutControls/Tab/property.js +15 -11
  134. package/dist/esm/layoutControls/TabPane/property.js +7 -7
  135. package/dist/esm/layoutControls/TableLayout/property.js +35 -21
  136. package/dist/esm/layoutControls/TableLayoutCol/property.js +25 -16
  137. package/dist/esm/layoutControls/TableLayoutRow/property.js +9 -8
  138. package/dist/esm/layoutControls/TableLayoutWrapper/property.js +11 -9
  139. package/dist/esm/layoutControls/Toolbox/property.js +5 -5
  140. package/dist/esm/listControls/GridTable/designer.js +12 -17
  141. package/dist/esm/listControls/GridTable/property.js +15 -11
  142. package/dist/esm/listControls/SubTable/property.js +70 -36
  143. package/dist/esm/searchControls/SimpleSearch/property.js +29 -18
  144. package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
  145. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
  146. package/dist/esm/wrapControls/GridLayoutWrap/property.js +7 -7
  147. package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
  148. package/dist/index.umd.js +1 -1
  149. package/dist/types/formControls/Barcode/property.d.ts +5 -10
  150. package/dist/types/formControls/QrCode/property.d.ts +5 -10
  151. package/dist/types/layoutControls/BlankContainer/property.d.ts +1 -1
  152. package/package.json +2 -2
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
1
+ /**
2
+ * name: rok_action_bar
3
+ * description: 页面操作栏容器组件。用于在表单或页面顶部、底部承载保存、提交等操作按钮。支持顶部/底部及固定定位、左右中对齐和背景透明展示。
4
+ */ function _assert_this_initialized(self) {
2
5
  if (self === void 0) {
3
6
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
7
  }
@@ -70,23 +73,22 @@ function _is_native_reflect_construct() {
70
73
  return !!result;
71
74
  })();
72
75
  }
73
- /**
74
- * name: rok_action_bar
75
- * description: 页面操作栏容器组件。用于在表单或页面顶部、底部承载保存、提交等操作按钮。支持顶部/底部及固定定位、左右中对齐和背景透明展示。
76
- */ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
76
+ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
77
77
  var ActionBarControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
78
78
  "use strict";
79
79
  _inherits(ActionBarControlProperty, LayoutControlProperty);
80
80
  function ActionBarControlProperty(props) {
81
81
  _class_call_check(this, ActionBarControlProperty);
82
82
  var _this;
83
- var _ref, _ref1, _ref2;
84
83
  _this = _call_super(this, ActionBarControlProperty, [
85
84
  props
86
85
  ]), _define_property(_this, "position", void 0), _define_property(_this, "opacity", void 0), _define_property(_this, "align", void 0);
87
- _this.position = (_ref = props === null || props === void 0 ? void 0 : props.position) !== null && _ref !== void 0 ? _ref : 'bottom';
88
- _this.opacity = (_ref1 = props === null || props === void 0 ? void 0 : props.opacity) !== null && _ref1 !== void 0 ? _ref1 : true;
89
- _this.align = (_ref2 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref2 !== void 0 ? _ref2 : 'right';
86
+ var _props_position;
87
+ _this.position = (_props_position = props === null || props === void 0 ? void 0 : props.position) !== null && _props_position !== void 0 ? _props_position : 'bottom';
88
+ var _props_opacity;
89
+ _this.opacity = (_props_opacity = props === null || props === void 0 ? void 0 : props.opacity) !== null && _props_opacity !== void 0 ? _props_opacity : true;
90
+ var _props_align;
91
+ _this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : 'right';
90
92
  return _this;
91
93
  }
92
94
  return ActionBarControlProperty;
@@ -92,11 +92,11 @@ var ActionBarControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
92
92
  function ActionBarControl(props) {
93
93
  _class_call_check(this, ActionBarControl);
94
94
  var _this;
95
- var _ref;
96
95
  _this = _call_super(this, ActionBarControl, [
97
96
  props
98
97
  ]), _define_property(_this, "props", void 0);
99
- _this.props = new ActionBarControlProperty((_ref = props === null || props === void 0 ? void 0 : props.props) !== null && _ref !== void 0 ? _ref : {});
98
+ var _props_props;
99
+ _this.props = new ActionBarControlProperty((_props_props = props === null || props === void 0 ? void 0 : props.props) !== null && _props_props !== void 0 ? _props_props : {});
100
100
  return _this;
101
101
  }
102
102
  _create_class(ActionBarControl, null, [
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
1
+ /**
2
+ * name: rok_advanced_container
3
+ * description: 高级容器布局组件。用于搭建自定义区块、复杂内容编排和弹性布局场景。支持多种 display 模式切换,并可配置 Flex 布局能力。
4
+ */ function _assert_this_initialized(self) {
2
5
  if (self === void 0) {
3
6
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
7
  }
@@ -70,10 +73,7 @@ function _is_native_reflect_construct() {
70
73
  return !!result;
71
74
  })();
72
75
  }
73
- /**
74
- * name: rok_advanced_container
75
- * description: 高级容器布局组件。用于搭建自定义区块、复杂内容编排和弹性布局场景。支持多种 display 模式切换,并可配置 Flex 布局能力。
76
- */ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
76
+ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
77
77
  import { FlexStyleConfig } from '../../framework';
78
78
  var AdvancedContainerProperty = /*#__PURE__*/ function(LayoutControlProperty) {
79
79
  "use strict";
@@ -84,6 +84,7 @@ function _is_native_reflect_construct() {
84
84
  return !!result;
85
85
  })();
86
86
  }
87
+ import { getLocaleText } from '@byteluck-fe/locale-message';
87
88
  import { DesignerLayoutControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
88
89
  import BlankContainerProperty from './property';
89
90
  var BlankContainerControl = /*#__PURE__*/ function(DesignerLayoutControl) {
@@ -102,7 +103,7 @@ var BlankContainerControl = /*#__PURE__*/ function(DesignerLayoutControl) {
102
103
  {
103
104
  key: "controlName",
104
105
  get: function get() {
105
- return '空白容器';
106
+ return getLocaleText('CMD.48611777541728194');
106
107
  }
107
108
  },
108
109
  {
@@ -144,20 +145,20 @@ _define_property(BlankContainerControl, "setting", [
144
145
  key: 'common-button-radio',
145
146
  visible: true,
146
147
  name: 'position',
147
- label: '居中方式',
148
+ label: getLocaleText('CMD.4b761777541729796'),
148
149
  default: 'left',
149
150
  options: [
150
151
  {
151
152
  value: 'left',
152
- label: '左对齐'
153
+ label: getLocaleText('CMD.321d1777541743102')
153
154
  },
154
155
  {
155
156
  value: 'center',
156
- label: '居中'
157
+ label: getLocaleText('CMD.00281777541758750')
157
158
  },
158
159
  {
159
160
  value: 'right',
160
- label: '右对齐'
161
+ label: getLocaleText('CMD.534c1777541744540')
161
162
  }
162
163
  ]
163
164
  },
@@ -166,13 +167,13 @@ _define_property(BlankContainerControl, "setting", [
166
167
  visible: true,
167
168
  name: 'backgroundColor',
168
169
  layout: 'horizontal',
169
- label: '背景色'
170
+ label: getLocaleText('CMD.22b11777541753145')
170
171
  },
171
172
  {
172
173
  key: 'common-switch',
173
174
  visible: true,
174
175
  name: 'showShadow',
175
- label: '开启阴影',
176
+ label: getLocaleText('CMD.238b1777541731433'),
176
177
  default: false
177
178
  },
178
179
  {
@@ -1,7 +1,4 @@
1
- /**
2
- * name: rok_blank_container
3
- * description: 空白容器布局组件。用于作为自由编排内容的占位容器。支持标题字体样式、标题居中方式、背景色和阴影开关设置,适合页面分区与内容承载场景。
4
- */ function _assert_this_initialized(self) {
1
+ function _assert_this_initialized(self) {
5
2
  if (self === void 0) {
6
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
7
4
  }
@@ -73,6 +70,7 @@ function _is_native_reflect_construct() {
73
70
  return !!result;
74
71
  })();
75
72
  }
73
+ import { getLocaleText } from '@byteluck-fe/locale-message';
76
74
  import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
77
75
  import { FONT_WEIGHT } from '../../framework';
78
76
  var BlankContainerPropertyRules = /*#__PURE__*/ function(_LayoutControlProperty_Rules) {
@@ -84,7 +82,7 @@ var BlankContainerPropertyRules = /*#__PURE__*/ function(_LayoutControlProperty_
84
82
  _this = _call_super(this, BlankContainerPropertyRules, arguments), _define_property(_this, "caption", {
85
83
  type: 'string',
86
84
  required: true,
87
- message: '请输入标题'
85
+ message: getLocaleText('CMD.c7ee1777541686092')
88
86
  });
89
87
  return _this;
90
88
  }
@@ -96,19 +94,24 @@ var BlankContainerProperty = /*#__PURE__*/ function(LayoutControlProperty) {
96
94
  function BlankContainerProperty(props) {
97
95
  _class_call_check(this, BlankContainerProperty);
98
96
  var _this;
99
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
100
97
  _this = _call_super(this, BlankContainerProperty, [
101
98
  props
102
99
  ]), _define_property(_this, "caption", void 0), _define_property(_this, "isHideCaption", void 0), _define_property(_this, "captionSize", void 0), _define_property(_this, "captionColor", void 0), _define_property(_this, "isCaptionItalic", void 0), _define_property(_this, "captionFontWeight", void 0), _define_property(_this, "position", void 0), _define_property(_this, "backgroundColor", void 0), _define_property(_this, "showShadow", void 0);
103
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : '空白容器';
104
- _this.isHideCaption = (_ref1 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref1 !== void 0 ? _ref1 : false;
100
+ var _props_caption;
101
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : getLocaleText('CMD.fbd81777541728197');
102
+ var _props_isHideCaption;
103
+ _this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
105
104
  _this.captionColor = (props === null || props === void 0 ? void 0 : props.captionColor) || '';
106
105
  _this.captionSize = (props === null || props === void 0 ? void 0 : props.captionSize) || '';
107
106
  _this.isCaptionItalic = (props === null || props === void 0 ? void 0 : props.isCaptionItalic) || false;
108
- _this.captionFontWeight = (_ref2 = props === null || props === void 0 ? void 0 : props.captionFontWeight) !== null && _ref2 !== void 0 ? _ref2 : FONT_WEIGHT.NORMAL;
109
- _this.position = (_ref3 = props === null || props === void 0 ? void 0 : props.position) !== null && _ref3 !== void 0 ? _ref3 : 'left';
110
- _this.backgroundColor = (_ref4 = props === null || props === void 0 ? void 0 : props.backgroundColor) !== null && _ref4 !== void 0 ? _ref4 : '#ffffff';
111
- _this.showShadow = (_ref5 = props === null || props === void 0 ? void 0 : props.showShadow) !== null && _ref5 !== void 0 ? _ref5 : false;
107
+ var _props_captionFontWeight;
108
+ _this.captionFontWeight = (_props_captionFontWeight = props === null || props === void 0 ? void 0 : props.captionFontWeight) !== null && _props_captionFontWeight !== void 0 ? _props_captionFontWeight : FONT_WEIGHT.NORMAL;
109
+ var _props_position;
110
+ _this.position = (_props_position = props === null || props === void 0 ? void 0 : props.position) !== null && _props_position !== void 0 ? _props_position : 'left';
111
+ var _props_backgroundColor;
112
+ _this.backgroundColor = (_props_backgroundColor = props === null || props === void 0 ? void 0 : props.backgroundColor) !== null && _props_backgroundColor !== void 0 ? _props_backgroundColor : '#ffffff';
113
+ var _props_showShadow;
114
+ _this.showShadow = (_props_showShadow = props === null || props === void 0 ? void 0 : props.showShadow) !== null && _props_showShadow !== void 0 ? _props_showShadow : false;
112
115
  return _this;
113
116
  }
114
117
  return BlankContainerProperty;
@@ -96,20 +96,29 @@ var CardGroupControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
96
96
  function CardGroupControlProperty(props) {
97
97
  _class_call_check(this, CardGroupControlProperty);
98
98
  var _this;
99
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
100
99
  _this = _call_super(this, CardGroupControlProperty, [
101
100
  props
102
101
  ]), _define_property(_this, "caption", void 0), _define_property(_this, "isHideCaption", void 0), _define_property(_this, "collapse", void 0), _define_property(_this, "type", void 0), _define_property(_this, "describe", void 0), _define_property(_this, "position", void 0), _define_property(_this, "captionType", void 0), _define_property(_this, "borderType", void 0), _define_property(_this, "divider", void 0), _define_property(_this, "triggerShadow", void 0);
103
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : getLocaleText('CMD.cardGroup', null, '分组');
104
- _this.isHideCaption = (_ref1 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref1 !== void 0 ? _ref1 : false;
105
- _this.collapse = (_ref2 = props === null || props === void 0 ? void 0 : props.collapse) !== null && _ref2 !== void 0 ? _ref2 : 'none';
106
- _this.describe = (_ref3 = props === null || props === void 0 ? void 0 : props.describe) !== null && _ref3 !== void 0 ? _ref3 : '';
107
- _this.position = (_ref4 = props === null || props === void 0 ? void 0 : props.position) !== null && _ref4 !== void 0 ? _ref4 : 'left';
108
- _this.captionType = (_ref5 = props === null || props === void 0 ? void 0 : props.captionType) !== null && _ref5 !== void 0 ? _ref5 : 'default';
109
- _this.borderType = (_ref6 = props === null || props === void 0 ? void 0 : props.borderType) !== null && _ref6 !== void 0 ? _ref6 : 'none';
110
- _this.divider = (_ref7 = props === null || props === void 0 ? void 0 : props.divider) !== null && _ref7 !== void 0 ? _ref7 : 'solid';
111
- _this.triggerShadow = (_ref8 = props === null || props === void 0 ? void 0 : props.triggerShadow) !== null && _ref8 !== void 0 ? _ref8 : 'never';
112
- _this.type = (_ref9 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref9 !== void 0 ? _ref9 : 'default';
102
+ var _props_caption;
103
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : getLocaleText('CMD.cardGroup', null, '分组');
104
+ var _props_isHideCaption;
105
+ _this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
106
+ var _props_collapse;
107
+ _this.collapse = (_props_collapse = props === null || props === void 0 ? void 0 : props.collapse) !== null && _props_collapse !== void 0 ? _props_collapse : 'none';
108
+ var _props_describe;
109
+ _this.describe = (_props_describe = props === null || props === void 0 ? void 0 : props.describe) !== null && _props_describe !== void 0 ? _props_describe : '';
110
+ var _props_position;
111
+ _this.position = (_props_position = props === null || props === void 0 ? void 0 : props.position) !== null && _props_position !== void 0 ? _props_position : 'left';
112
+ var _props_captionType;
113
+ _this.captionType = (_props_captionType = props === null || props === void 0 ? void 0 : props.captionType) !== null && _props_captionType !== void 0 ? _props_captionType : 'default';
114
+ var _props_borderType;
115
+ _this.borderType = (_props_borderType = props === null || props === void 0 ? void 0 : props.borderType) !== null && _props_borderType !== void 0 ? _props_borderType : 'none';
116
+ var _props_divider;
117
+ _this.divider = (_props_divider = props === null || props === void 0 ? void 0 : props.divider) !== null && _props_divider !== void 0 ? _props_divider : 'solid';
118
+ var _props_triggerShadow;
119
+ _this.triggerShadow = (_props_triggerShadow = props === null || props === void 0 ? void 0 : props.triggerShadow) !== null && _props_triggerShadow !== void 0 ? _props_triggerShadow : 'never';
120
+ var _props_type;
121
+ _this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'default';
113
122
  return _this;
114
123
  }
115
124
  return CardGroupControlProperty;
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
1
+ /**
2
+ * name: rok_col
3
+ * description: 栅格列布局组件。用于在行容器中按列宽分配摆放控件。支持列跨度、偏移量以及是否不占满容器的布局控制。
4
+ */ function _assert_this_initialized(self) {
2
5
  if (self === void 0) {
3
6
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
7
  }
@@ -70,10 +73,7 @@ function _is_native_reflect_construct() {
70
73
  return !!result;
71
74
  })();
72
75
  }
73
- /**
74
- * name: rok_col
75
- * description: 栅格列布局组件。用于在行容器中按列宽分配摆放控件。支持列跨度、偏移量以及是否不占满容器的布局控制。
76
- */ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
76
+ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
77
77
  var BASE_SPAN = 24;
78
78
  var ColControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
79
79
  "use strict";
@@ -81,13 +81,15 @@ var ColControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
81
81
  function ColControlProperty(props) {
82
82
  _class_call_check(this, ColControlProperty);
83
83
  var _this;
84
- var _ref, _ref1, _ref2;
85
84
  _this = _call_super(this, ColControlProperty, [
86
85
  props
87
86
  ]), _define_property(_this, "span", void 0), _define_property(_this, "offset", void 0), _define_property(_this, "isNoFull", void 0);
88
- _this.span = (_ref = props === null || props === void 0 ? void 0 : props.span) !== null && _ref !== void 0 ? _ref : BASE_SPAN;
89
- _this.offset = (_ref1 = props === null || props === void 0 ? void 0 : props.offset) !== null && _ref1 !== void 0 ? _ref1 : 0;
90
- _this.isNoFull = (_ref2 = props === null || props === void 0 ? void 0 : props.isNoFull) !== null && _ref2 !== void 0 ? _ref2 : false;
87
+ var _props_span;
88
+ _this.span = (_props_span = props === null || props === void 0 ? void 0 : props.span) !== null && _props_span !== void 0 ? _props_span : BASE_SPAN;
89
+ var _props_offset;
90
+ _this.offset = (_props_offset = props === null || props === void 0 ? void 0 : props.offset) !== null && _props_offset !== void 0 ? _props_offset : 0;
91
+ var _props_isNoFull;
92
+ _this.isNoFull = (_props_isNoFull = props === null || props === void 0 ? void 0 : props.isNoFull) !== null && _props_isNoFull !== void 0 ? _props_isNoFull : false;
91
93
  return _this;
92
94
  }
93
95
  return ColControlProperty;
@@ -94,12 +94,12 @@ var CollapseControl = /*#__PURE__*/ function(DesignerLayoutControl) {
94
94
  function CollapseControl(props) {
95
95
  _class_call_check(this, CollapseControl);
96
96
  var _this;
97
- var _ref;
98
97
  _this = _call_super(this, CollapseControl, [
99
98
  props
100
99
  ]), _define_property(_this, "props", void 0);
101
100
  _this.props = new CollapseControlProperty(props === null || props === void 0 ? void 0 : props.props);
102
- _this.children = (_ref = props === null || props === void 0 ? void 0 : props.children) !== null && _ref !== void 0 ? _ref : [
101
+ var _props_children;
102
+ _this.children = (_props_children = props === null || props === void 0 ? void 0 : props.children) !== null && _props_children !== void 0 ? _props_children : [
103
103
  new DesignerCollapsePaneControl(),
104
104
  new DesignerCollapsePaneControl()
105
105
  ];
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
1
+ /**
2
+ * name: rok_collapse
3
+ * description: 折叠面板容器组件。用于将内容分组折叠展示,适合信息分段收纳和按需展开查看。支持手风琴模式、边框、标题高亮条和幽灵样式。
4
+ */ function _assert_this_initialized(self) {
2
5
  if (self === void 0) {
3
6
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
7
  }
@@ -70,23 +73,21 @@ function _is_native_reflect_construct() {
70
73
  return !!result;
71
74
  })();
72
75
  }
73
- /**
74
- * name: rok_collapse
75
- * description: 折叠面板容器组件。用于将内容分组折叠展示,适合信息分段收纳和按需展开查看。支持手风琴模式、边框、标题高亮条和幽灵样式。
76
- */ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
76
+ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
77
77
  var CollapseControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
78
78
  "use strict";
79
79
  _inherits(CollapseControlProperty, LayoutControlProperty);
80
80
  function CollapseControlProperty(props) {
81
81
  _class_call_check(this, CollapseControlProperty);
82
82
  var _this;
83
- var _ref, _ref1;
84
83
  _this = _call_super(this, CollapseControlProperty, [
85
84
  props
86
85
  ]), _define_property(_this, "accordion", void 0), _define_property(_this, "bordered", void 0), _define_property(_this, "isShowHighlightBar", void 0);
87
- _this.accordion = (_ref = props === null || props === void 0 ? void 0 : props.accordion) !== null && _ref !== void 0 ? _ref : false;
86
+ var _props_accordion;
87
+ _this.accordion = (_props_accordion = props === null || props === void 0 ? void 0 : props.accordion) !== null && _props_accordion !== void 0 ? _props_accordion : false;
88
88
  _this.bordered = (props === null || props === void 0 ? void 0 : props.bordered) === false ? false : true;
89
- _this.isShowHighlightBar = (_ref1 = props === null || props === void 0 ? void 0 : props.isShowHighlightBar) !== null && _ref1 !== void 0 ? _ref1 : false;
89
+ var _props_isShowHighlightBar;
90
+ _this.isShowHighlightBar = (_props_isShowHighlightBar = props === null || props === void 0 ? void 0 : props.isShowHighlightBar) !== null && _props_isShowHighlightBar !== void 0 ? _props_isShowHighlightBar : false;
90
91
  return _this;
91
92
  }
92
93
  return CollapseControlProperty;
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
1
+ /**
2
+ * name: rok_collapse_pane
3
+ * description: 折叠面板子项组件。用于在折叠容器中承载单个可展开区块内容。支持配置面板头标题,适合分组信息按需展开查看。
4
+ */ function _assert_this_initialized(self) {
2
5
  if (self === void 0) {
3
6
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
7
  }
@@ -70,10 +73,7 @@ function _is_native_reflect_construct() {
70
73
  return !!result;
71
74
  })();
72
75
  }
73
- /**
74
- * name: rok_collapse_pane
75
- * description: 折叠面板子项组件。用于在折叠容器中承载单个可展开区块内容。支持配置面板头标题,适合分组信息按需展开查看。
76
- */ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
76
+ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
77
77
  import { getLocaleText } from '@byteluck-fe/locale-message';
78
78
  var CollapsePaneControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
79
79
  "use strict";
@@ -81,11 +81,11 @@ var CollapsePaneControlProperty = /*#__PURE__*/ function(LayoutControlProperty)
81
81
  function CollapsePaneControlProperty(props) {
82
82
  _class_call_check(this, CollapsePaneControlProperty);
83
83
  var _this;
84
- var _ref;
85
84
  _this = _call_super(this, CollapsePaneControlProperty, [
86
85
  props
87
86
  ]), _define_property(_this, "header", void 0);
88
- _this.header = (_ref = props === null || props === void 0 ? void 0 : props.header) !== null && _ref !== void 0 ? _ref : getLocaleText('CMD.08411774579056771');
87
+ var _props_header;
88
+ _this.header = (_props_header = props === null || props === void 0 ? void 0 : props.header) !== null && _props_header !== void 0 ? _props_header : getLocaleText('CMD.08411774579056771');
89
89
  return _this;
90
90
  }
91
91
  return CollapsePaneControlProperty;
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
1
+ /**
2
+ * name: rok_data_view
3
+ * description: 表单页数据视图组件。用于承载单据详情页或表单操作页。支持保存、取消、另存为、打印和自定义操作按钮,并可绑定业务模型与加载状态。
4
+ */ function _assert_this_initialized(self) {
2
5
  if (self === void 0) {
3
6
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
7
  }
@@ -70,10 +73,7 @@ function _is_native_reflect_construct() {
70
73
  return !!result;
71
74
  })();
72
75
  }
73
- /**
74
- * name: rok_data_view
75
- * description: 表单页数据视图组件。用于承载单据详情页或表单操作页。支持保存、取消、另存为、打印和自定义操作按钮,并可绑定业务模型与加载状态。
76
- */ import { getLocaleText } from '@byteluck-fe/locale-message';
76
+ import { getLocaleText } from '@byteluck-fe/locale-message';
77
77
  import { LayoutControlProperty, PropertyRuntimeRules, DataSourceBind, OperationItem } from '@byteluck-fe/model-driven-core';
78
78
  var DataViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
79
79
  "use strict";
@@ -98,7 +98,6 @@ var DataViewControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
98
98
  function DataViewControlProperty(props) {
99
99
  _class_call_check(this, DataViewControlProperty);
100
100
  var _this;
101
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6;
102
101
  _this = _call_super(this, DataViewControlProperty, [
103
102
  props
104
103
  ]), _define_property(_this, "save", void 0), _define_property(_this, "cancel", void 0), _define_property(_this, "saveAs", void 0), _define_property(_this, "print", void 0), _define_property(_this, "custom", void 0), /**
@@ -112,32 +111,39 @@ var DataViewControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
112
111
  * 流程表单只读控件展现形式;disabled:禁用模式;text:文本模式;
113
112
  * @defaultValue disabled
114
113
  */ _define_property(_this, "processFormReadonlyControlMode", void 0);
115
- _this.save = new OperationItem((_ref = props === null || props === void 0 ? void 0 : props.save) !== null && _ref !== void 0 ? _ref : {
114
+ var _props_save;
115
+ _this.save = new OperationItem((_props_save = props === null || props === void 0 ? void 0 : props.save) !== null && _props_save !== void 0 ? _props_save : {
116
116
  content: getLocaleText('CMD.save', null, '保存'),
117
117
  type: 'save',
118
118
  isShow: false
119
119
  });
120
- _this.cancel = new OperationItem((_ref1 = props === null || props === void 0 ? void 0 : props.cancel) !== null && _ref1 !== void 0 ? _ref1 : {
120
+ var _props_cancel;
121
+ _this.cancel = new OperationItem((_props_cancel = props === null || props === void 0 ? void 0 : props.cancel) !== null && _props_cancel !== void 0 ? _props_cancel : {
121
122
  content: getLocaleText('CMD.cancel', null, '取消'),
122
123
  type: 'cancel',
123
124
  isShow: false
124
125
  });
125
- _this.saveAs = new OperationItem((_ref2 = props === null || props === void 0 ? void 0 : props.saveAs) !== null && _ref2 !== void 0 ? _ref2 : {
126
+ var _props_saveAs;
127
+ _this.saveAs = new OperationItem((_props_saveAs = props === null || props === void 0 ? void 0 : props.saveAs) !== null && _props_saveAs !== void 0 ? _props_saveAs : {
126
128
  content: getLocaleText('CMD.draft', null, '保存草稿'),
127
129
  type: 'saveAs',
128
130
  isShow: false
129
131
  });
130
- _this.print = new OperationItem((_ref3 = props === null || props === void 0 ? void 0 : props.print) !== null && _ref3 !== void 0 ? _ref3 : {
132
+ var _props_print;
133
+ _this.print = new OperationItem((_props_print = props === null || props === void 0 ? void 0 : props.print) !== null && _props_print !== void 0 ? _props_print : {
131
134
  content: getLocaleText('CMD.print', null, '打印'),
132
135
  type: 'print',
133
136
  isShow: false
134
137
  });
135
- _this.custom = ((_ref4 = props === null || props === void 0 ? void 0 : props.custom) !== null && _ref4 !== void 0 ? _ref4 : []).map(function(item) {
138
+ var _props_custom;
139
+ _this.custom = ((_props_custom = props === null || props === void 0 ? void 0 : props.custom) !== null && _props_custom !== void 0 ? _props_custom : []).map(function(item) {
136
140
  return new OperationItem(item);
137
141
  });
138
- _this.isLoading = (_ref5 = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _ref5 !== void 0 ? _ref5 : false;
142
+ var _props_isLoading;
143
+ _this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
139
144
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
140
- _this.processFormReadonlyControlMode = (_ref6 = props === null || props === void 0 ? void 0 : props.processFormReadonlyControlMode) !== null && _ref6 !== void 0 ? _ref6 : 'disabled';
145
+ var _props_processFormReadonlyControlMode;
146
+ _this.processFormReadonlyControlMode = (_props_processFormReadonlyControlMode = props === null || props === void 0 ? void 0 : props.processFormReadonlyControlMode) !== null && _props_processFormReadonlyControlMode !== void 0 ? _props_processFormReadonlyControlMode : 'disabled';
141
147
  return _this;
142
148
  }
143
149
  return DataViewControlProperty;
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
1
+ /**
2
+ * name: rok_grid
3
+ * description: 网格布局容器组件。用于承载网格化排版内容和规则化布局区域。当前继承基础布局属性,适合配合网格行列子组件构建页面结构。
4
+ */ function _assert_this_initialized(self) {
2
5
  if (self === void 0) {
3
6
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
7
  }
@@ -57,10 +60,7 @@ function _is_native_reflect_construct() {
57
60
  return !!result;
58
61
  })();
59
62
  }
60
- /**
61
- * name: rok_grid
62
- * description: 网格布局容器组件。用于承载网格化排版内容和规则化布局区域。当前继承基础布局属性,适合配合网格行列子组件构建页面结构。
63
- */ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
63
+ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
64
64
  var GridControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
65
65
  "use strict";
66
66
  _inherits(GridControlProperty, LayoutControlProperty);
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
1
+ /**
2
+ * name: rok_grid_layout_container
3
+ * description: 自适应网格容器组件。用于多控件均匀排布和响应式宫格布局场景。支持设置子控件最小宽度与列间距,便于自动换列展示。
4
+ */ function _assert_this_initialized(self) {
2
5
  if (self === void 0) {
3
6
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
7
  }
@@ -70,22 +73,20 @@ function _is_native_reflect_construct() {
70
73
  return !!result;
71
74
  })();
72
75
  }
73
- /**
74
- * name: rok_grid_layout_container
75
- * description: 自适应网格容器组件。用于多控件均匀排布和响应式宫格布局场景。支持设置子控件最小宽度与列间距,便于自动换列展示。
76
- */ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
76
+ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
77
77
  var GridLayoutContainerControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
78
78
  "use strict";
79
79
  _inherits(GridLayoutContainerControlProperty, LayoutControlProperty);
80
80
  function GridLayoutContainerControlProperty(props) {
81
81
  _class_call_check(this, GridLayoutContainerControlProperty);
82
82
  var _this;
83
- var _ref, _ref1;
84
83
  _this = _call_super(this, GridLayoutContainerControlProperty, [
85
84
  props
86
85
  ]), _define_property(_this, "childMinWidth", void 0), _define_property(_this, "colGap", void 0);
87
- _this.childMinWidth = (_ref = props === null || props === void 0 ? void 0 : props.childMinWidth) !== null && _ref !== void 0 ? _ref : 230;
88
- _this.colGap = (_ref1 = props === null || props === void 0 ? void 0 : props.colGap) !== null && _ref1 !== void 0 ? _ref1 : 24;
86
+ var _props_childMinWidth;
87
+ _this.childMinWidth = (_props_childMinWidth = props === null || props === void 0 ? void 0 : props.childMinWidth) !== null && _props_childMinWidth !== void 0 ? _props_childMinWidth : 230;
88
+ var _props_colGap;
89
+ _this.colGap = (_props_colGap = props === null || props === void 0 ? void 0 : props.colGap) !== null && _props_colGap !== void 0 ? _props_colGap : 24;
89
90
  return _this;
90
91
  }
91
92
  return GridLayoutContainerControlProperty;
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
1
+ /**
2
+ * name: rok_grid_row
3
+ * description: 网格行容器组件。用于在网格布局中组织一行内容。继承行布局能力,适合与列组件配合完成分栏排版。
4
+ */ function _assert_this_initialized(self) {
2
5
  if (self === void 0) {
3
6
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
7
  }
@@ -57,10 +60,7 @@ function _is_native_reflect_construct() {
57
60
  return !!result;
58
61
  })();
59
62
  }
60
- /**
61
- * name: rok_grid_row
62
- * description: 网格行容器组件。用于在网格布局中组织一行内容。继承行布局能力,适合与列组件配合完成分栏排版。
63
- */ import { RowControlProperty } from '../Row';
63
+ import { RowControlProperty } from '../Row';
64
64
  var GridRowControlProperty = /*#__PURE__*/ function(RowControlProperty) {
65
65
  "use strict";
66
66
  _inherits(GridRowControlProperty, RowControlProperty);
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
1
+ /**
2
+ * name: rok_grid_table_column
3
+ * description: 表格列配置组件。用于定义数据表格中单列的展示与格式化规则。支持列宽、标题、字段绑定、固定列、文本清洗、数值精度和时间/部门展示设置。
4
+ */ function _assert_this_initialized(self) {
2
5
  if (self === void 0) {
3
6
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
7
  }
@@ -70,10 +73,7 @@ function _is_native_reflect_construct() {
70
73
  return !!result;
71
74
  })();
72
75
  }
73
- /**
74
- * name: rok_grid_table_column
75
- * description: 表格列配置组件。用于定义数据表格中单列的展示与格式化规则。支持列宽、标题、字段绑定、固定列、文本清洗、数值精度和时间/部门展示设置。
76
- */ import { DateType, FieldTypes } from '@byteluck-fe/model-driven-shared';
76
+ import { DateType, FieldTypes } from '@byteluck-fe/model-driven-shared';
77
77
  import { LayoutControlProperty, DataSourceBind } from '@byteluck-fe/model-driven-core';
78
78
  var GridTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
79
79
  "use strict";
@@ -81,22 +81,31 @@ var GridTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlPropert
81
81
  function GridTableColumnControlProperty(props) {
82
82
  _class_call_check(this, GridTableColumnControlProperty);
83
83
  var _this;
84
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
85
84
  _this = _call_super(this, GridTableColumnControlProperty, [
86
85
  props
87
86
  ]), _define_property(_this, "widthType", void 0), _define_property(_this, "width", void 0), _define_property(_this, "caption", void 0), _define_property(_this, "fieldCode", void 0), _define_property(_this, "fieldType", void 0), _define_property(_this, "fieldName", void 0), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "fixed", void 0), _define_property(_this, "textCleanFormart", void 0), _define_property(_this, "decimalKeepPrecision", void 0), _define_property(_this, "timestampDateType", void 0), _define_property(_this, "departmentDisplayLevel", void 0);
88
- _this.width = (_ref = props === null || props === void 0 ? void 0 : props.width) !== null && _ref !== void 0 ? _ref : 200;
87
+ var _props_width;
88
+ _this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 200;
89
89
  _this.widthType = (props === null || props === void 0 ? void 0 : props.widthType) || 'auto';
90
- _this.caption = (_ref1 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref1 !== void 0 ? _ref1 : '';
91
- _this.fixed = (_ref2 = props === null || props === void 0 ? void 0 : props.fixed) !== null && _ref2 !== void 0 ? _ref2 : false;
92
- _this.fieldCode = (_ref3 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref3 !== void 0 ? _ref3 : '';
93
- _this.fieldType = (_ref4 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _ref4 !== void 0 ? _ref4 : FieldTypes.VARCHAR;
94
- _this.fieldName = (_ref5 = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _ref5 !== void 0 ? _ref5 : '';
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 : '';
92
+ var _props_fixed;
93
+ _this.fixed = (_props_fixed = props === null || props === void 0 ? void 0 : props.fixed) !== null && _props_fixed !== void 0 ? _props_fixed : false;
94
+ var _props_fieldCode;
95
+ _this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
96
+ var _props_fieldType;
97
+ _this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : FieldTypes.VARCHAR;
98
+ var _props_fieldName;
99
+ _this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : '';
95
100
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
96
- _this.textCleanFormart = (_ref6 = props === null || props === void 0 ? void 0 : props.textCleanFormart) !== null && _ref6 !== void 0 ? _ref6 : false;
97
- _this.decimalKeepPrecision = (_ref7 = props === null || props === void 0 ? void 0 : props.decimalKeepPrecision) !== null && _ref7 !== void 0 ? _ref7 : 0;
98
- _this.timestampDateType = (_ref8 = props === null || props === void 0 ? void 0 : props.timestampDateType) !== null && _ref8 !== void 0 ? _ref8 : DateType.DATE;
99
- _this.departmentDisplayLevel = (_ref9 = props === null || props === void 0 ? void 0 : props.departmentDisplayLevel) !== null && _ref9 !== void 0 ? _ref9 : 1;
101
+ var _props_textCleanFormart;
102
+ _this.textCleanFormart = (_props_textCleanFormart = props === null || props === void 0 ? void 0 : props.textCleanFormart) !== null && _props_textCleanFormart !== void 0 ? _props_textCleanFormart : false;
103
+ var _props_decimalKeepPrecision;
104
+ _this.decimalKeepPrecision = (_props_decimalKeepPrecision = props === null || props === void 0 ? void 0 : props.decimalKeepPrecision) !== null && _props_decimalKeepPrecision !== void 0 ? _props_decimalKeepPrecision : 0;
105
+ var _props_timestampDateType;
106
+ _this.timestampDateType = (_props_timestampDateType = props === null || props === void 0 ? void 0 : props.timestampDateType) !== null && _props_timestampDateType !== void 0 ? _props_timestampDateType : DateType.DATE;
107
+ var _props_departmentDisplayLevel;
108
+ _this.departmentDisplayLevel = (_props_departmentDisplayLevel = props === null || props === void 0 ? void 0 : props.departmentDisplayLevel) !== null && _props_departmentDisplayLevel !== void 0 ? _props_departmentDisplayLevel : 1;
100
109
  return _this;
101
110
  }
102
111
  return GridTableColumnControlProperty;