@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_divider
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_divider
75
- * description: 分割线组件。用于分隔页面内容、突出区块层级。支持线条颜色、线型、标题内容、对齐位置、标题字号颜色字重和垂直位置配置,适合表单分组与版面分区场景。
76
- */ import { Property } from '@byteluck-fe/model-driven-core';
76
+ import { Property } from '@byteluck-fe/model-driven-core';
77
77
  import { LINE_STYLE, FONT_WEIGHT } from '../../framework';
78
78
  var DividerProperty = /*#__PURE__*/ function(Property) {
79
79
  "use strict";
@@ -81,19 +81,24 @@ var DividerProperty = /*#__PURE__*/ function(Property) {
81
81
  function DividerProperty(props) {
82
82
  _class_call_check(this, DividerProperty);
83
83
  var _this;
84
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
85
84
  _this = _call_super(this, DividerProperty, [
86
85
  props
87
86
  ]), _define_property(_this, "color", void 0), _define_property(_this, "lineStyle", void 0), _define_property(_this, "content", void 0), _define_property(_this, "position", 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, "verticalPosition", void 0);
88
- _this.color = (_ref = props === null || props === void 0 ? void 0 : props.color) !== null && _ref !== void 0 ? _ref : '#000';
89
- _this.lineStyle = (_ref1 = props === null || props === void 0 ? void 0 : props.lineStyle) !== null && _ref1 !== void 0 ? _ref1 : LINE_STYLE.SOLID;
90
- _this.content = (_ref2 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref2 !== void 0 ? _ref2 : '';
91
- _this.position = (_ref3 = props === null || props === void 0 ? void 0 : props.position) !== null && _ref3 !== void 0 ? _ref3 : 'left';
87
+ var _props_color;
88
+ _this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : '#000';
89
+ var _props_lineStyle;
90
+ _this.lineStyle = (_props_lineStyle = props === null || props === void 0 ? void 0 : props.lineStyle) !== null && _props_lineStyle !== void 0 ? _props_lineStyle : LINE_STYLE.SOLID;
91
+ var _props_content;
92
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : '';
93
+ var _props_position;
94
+ _this.position = (_props_position = props === null || props === void 0 ? void 0 : props.position) !== null && _props_position !== void 0 ? _props_position : 'left';
92
95
  _this.captionColor = (props === null || props === void 0 ? void 0 : props.captionColor) || '';
93
96
  _this.captionSize = (props === null || props === void 0 ? void 0 : props.captionSize) || '';
94
97
  _this.isCaptionItalic = (props === null || props === void 0 ? void 0 : props.isCaptionItalic) || false;
95
- _this.captionFontWeight = (_ref4 = props === null || props === void 0 ? void 0 : props.captionFontWeight) !== null && _ref4 !== void 0 ? _ref4 : FONT_WEIGHT.NORMAL;
96
- _this.verticalPosition = (_ref5 = props === null || props === void 0 ? void 0 : props.verticalPosition) !== null && _ref5 !== void 0 ? _ref5 : 'middle';
98
+ var _props_captionFontWeight;
99
+ _this.captionFontWeight = (_props_captionFontWeight = props === null || props === void 0 ? void 0 : props.captionFontWeight) !== null && _props_captionFontWeight !== void 0 ? _props_captionFontWeight : FONT_WEIGHT.NORMAL;
100
+ var _props_verticalPosition;
101
+ _this.verticalPosition = (_props_verticalPosition = props === null || props === void 0 ? void 0 : props.verticalPosition) !== null && _props_verticalPosition !== void 0 ? _props_verticalPosition : 'middle';
97
102
  return _this;
98
103
  }
99
104
  return DividerProperty;
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
1
+ /**
2
+ * name: rok_export_list_button
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_export_list_button
75
- * description: 导出列表按钮组件。用于列表场景按模板导出数据。支持系统模板或外部模板配置、多模板切换,并继承按钮样式、图标和颜色能力,适合报表导出和数据下载场景。
76
- */ import { ButtonProperty } from '../Button';
76
+ import { ButtonProperty } from '../Button';
77
77
  import ExportListButtonControl from './designer';
78
78
  import { ExportTemplate } from '../../framework';
79
79
  import { getLocaleText } from '@byteluck-fe/locale-message';
@@ -83,17 +83,20 @@ var ExportListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
83
83
  function ExportListButtonProperty(props) {
84
84
  _class_call_check(this, ExportListButtonProperty);
85
85
  var _this;
86
- var _ref, _ref1, _ref2, _ref3;
87
86
  var _props_templateList;
88
87
  _this = _call_super(this, ExportListButtonProperty, [
89
88
  props
90
89
  ]), _define_property(_this, "templateList", void 0), _define_property(_this, "templateType", void 0);
91
- _this.icon = (_ref = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref !== void 0 ? _ref : ExportListButtonControl.controlIcon;
92
- _this.content = (_ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref1 !== void 0 ? _ref1 : ExportListButtonControl.controlName;
93
- _this.templateType = (_ref2 = props === null || props === void 0 ? void 0 : props.templateType) !== null && _ref2 !== void 0 ? _ref2 : 'system';
94
- _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) {
90
+ var _props_icon;
91
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : ExportListButtonControl.controlIcon;
92
+ var _props_content;
93
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : ExportListButtonControl.controlName;
94
+ var _props_templateType;
95
+ _this.templateType = (_props_templateType = props === null || props === void 0 ? void 0 : props.templateType) !== null && _props_templateType !== void 0 ? _props_templateType : 'system';
96
+ var _props_templateList_map;
97
+ _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) {
95
98
  return new ExportTemplate(item);
96
- })) !== null && _ref3 !== void 0 ? _ref3 : [
99
+ })) !== null && _props_templateList_map !== void 0 ? _props_templateList_map : [
97
100
  new ExportTemplate({
98
101
  id: 'default',
99
102
  name: getLocaleText('CMD.defaultTemplate', null, '默认模版'),
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
1
+ /**
2
+ * name: rok_export_record_list_button
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_export_record_list_button
62
- * description: 导出记录列表按钮组件。用于记录列表场景快速发起导出操作。支持沿用通用按钮的文案、样式、图标、颜色和命令配置,适合标准化记录导出入口。
63
- */ import { ButtonProperty } from '../Button';
63
+ import { ButtonProperty } from '../Button';
64
64
  import ExportRecordListButtonControl from './designer';
65
65
  var ExportRecordListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
66
66
  "use strict";
@@ -68,12 +68,13 @@ var ExportRecordListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
68
68
  function ExportRecordListButtonProperty(props) {
69
69
  _class_call_check(this, ExportRecordListButtonProperty);
70
70
  var _this;
71
- var _ref, _ref1;
72
71
  _this = _call_super(this, ExportRecordListButtonProperty, [
73
72
  props
74
73
  ]);
75
- _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : ExportRecordListButtonControl.controlName;
76
- _this.icon = (_ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref1 !== void 0 ? _ref1 : ExportRecordListButtonControl.controlIcon;
74
+ var _props_content;
75
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : ExportRecordListButtonControl.controlName;
76
+ var _props_icon;
77
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : ExportRecordListButtonControl.controlIcon;
77
78
  return _this;
78
79
  }
79
80
  return ExportRecordListButtonProperty;
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
1
+ /**
2
+ * name: rok_form_select_button
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
  }
@@ -85,10 +88,7 @@ function _is_native_reflect_construct() {
85
88
  return !!result;
86
89
  })();
87
90
  }
88
- /**
89
- * name: rok_form_select_button
90
- * description: 表单选择按钮组件。用于打开目标表单选择数据并回填当前页面。支持数据过滤、目标表单绑定、回填配置以及新建、编辑、查看命令模式,适合主子表关联和单据引用场景。
91
- */ import { ButtonProperty } from '../Button';
91
+ import { ButtonProperty } from '../Button';
92
92
  import FormSelectButtonControl from './designer';
93
93
  import { PropertyRules, FillBackBind, FillPayloadBind, FormSelectBind } from '@byteluck-fe/model-driven-core';
94
94
  import { createFillBindRules } from '../utils';
@@ -141,13 +141,15 @@ var FormSelectButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
141
141
  function FormSelectButtonProperty(props) {
142
142
  _class_call_check(this, FormSelectButtonProperty);
143
143
  var _this;
144
- var _ref, _ref1, _ref2;
145
144
  _this = _call_super(this, FormSelectButtonProperty, [
146
145
  props
147
146
  ]), _define_property(_this, "fillPayload", void 0), _define_property(_this, "formBind", void 0), _define_property(_this, "fillBack", void 0), _define_property(_this, "command", void 0);
148
- _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : FormSelectButtonControl.controlName;
149
- _this.icon = (_ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref1 !== void 0 ? _ref1 : FormSelectButtonControl.controlIcon;
150
- _this.command = (_ref2 = props === null || props === void 0 ? void 0 : props.command) !== null && _ref2 !== void 0 ? _ref2 : 'create';
147
+ var _props_content;
148
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : FormSelectButtonControl.controlName;
149
+ var _props_icon;
150
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : FormSelectButtonControl.controlIcon;
151
+ var _props_command;
152
+ _this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : 'create';
151
153
  _this.fillPayload = new FillPayloadBind(props === null || props === void 0 ? void 0 : props.fillPayload);
152
154
  _this.formBind = new FormSelectBind(props === null || props === void 0 ? void 0 : props.formBind);
153
155
  _this.fillBack = new FillBackBind(props === null || props === void 0 ? void 0 : props.fillBack);
@@ -109,7 +109,7 @@ var IframeControl = /*#__PURE__*/ function(DesignerControl) {
109
109
  {
110
110
  key: "controlIcon",
111
111
  get: function get() {
112
- return 'iconwangye';
112
+ return 'iconiframe';
113
113
  }
114
114
  },
115
115
  {
@@ -132,15 +132,15 @@ _define_property(IframeControl, "setting", [
132
132
  key: 'common-input-number',
133
133
  visible: true,
134
134
  name: 'width',
135
- label: '',
135
+ label: getLocaleText('CMD.f5311777541773110'),
136
136
  min: 1,
137
- tip: '宽度设置在移动端不生效, 移动端默认宽度为100%'
137
+ tip: getLocaleText('CMD.ee791777541581639')
138
138
  },
139
139
  {
140
140
  key: 'common-input-number',
141
141
  visible: true,
142
142
  name: 'height',
143
- label: '',
143
+ label: getLocaleText('CMD.ea8c1777541774421'),
144
144
  min: 1
145
145
  },
146
146
  {
@@ -74,6 +74,7 @@ function _is_native_reflect_construct() {
74
74
  })();
75
75
  }
76
76
  import { Property, PropertyRules } from '@byteluck-fe/model-driven-core';
77
+ import { getLocaleText } from '@byteluck-fe/locale-message';
77
78
  var IframePropertyRules = /*#__PURE__*/ function(PropertyRules) {
78
79
  "use strict";
79
80
  _inherits(IframePropertyRules, PropertyRules);
@@ -83,17 +84,17 @@ var IframePropertyRules = /*#__PURE__*/ function(PropertyRules) {
83
84
  _this = _call_super(this, IframePropertyRules, arguments), _define_property(_this, "content", {
84
85
  type: 'string',
85
86
  required: true,
86
- message: '请输入URL'
87
+ message: getLocaleText('CMD.cacc1777541637293')
87
88
  }), _define_property(_this, "width", {
88
89
  type: 'number',
89
90
  required: true,
90
91
  min: 1,
91
- message: '请输入宽'
92
+ message: getLocaleText('CMD.2f901777541688219')
92
93
  }), _define_property(_this, "height", {
93
94
  type: 'number',
94
95
  required: true,
95
96
  min: 1,
96
- message: '请输入高'
97
+ message: getLocaleText('CMD.156e1777541690112')
97
98
  });
98
99
  return _this;
99
100
  }
@@ -105,13 +106,15 @@ var IframeProperty = /*#__PURE__*/ function(Property) {
105
106
  function IframeProperty(props) {
106
107
  _class_call_check(this, IframeProperty);
107
108
  var _this;
108
- var _ref, _ref1, _ref2;
109
109
  _this = _call_super(this, IframeProperty, [
110
110
  props
111
111
  ]), _define_property(_this, "content", void 0), _define_property(_this, "width", void 0), _define_property(_this, "height", void 0);
112
- _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : '';
113
- _this.width = (_ref1 = props === null || props === void 0 ? void 0 : props.width) !== null && _ref1 !== void 0 ? _ref1 : 600;
114
- _this.height = (_ref2 = props === null || props === void 0 ? void 0 : props.height) !== null && _ref2 !== void 0 ? _ref2 : 400;
112
+ var _props_content;
113
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : '';
114
+ var _props_width;
115
+ _this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 600;
116
+ var _props_height;
117
+ _this.height = (_props_height = props === null || props === void 0 ? void 0 : props.height) !== null && _props_height !== void 0 ? _props_height : 400;
115
118
  return _this;
116
119
  }
117
120
  return IframeProperty;
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
1
+ /**
2
+ * name: rok_import_record_list_button
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_import_record_list_button
75
- * description: 导入记录列表按钮组件。用于列表场景导入外部数据到指定业务模型。支持配置可导入的数据对象与模板类型,并继承按钮样式、图标和颜色能力,适合批量数据录入场景。
76
- */ import { ButtonProperty } from '../Button';
76
+ import { ButtonProperty } from '../Button';
77
77
  import ImportRecordListButtonControl from './designer';
78
78
  var ImportListBind = function ImportListBind(props) {
79
79
  "use strict";
@@ -87,17 +87,20 @@ var ImportRecordListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
87
87
  function ImportRecordListButtonProperty(props) {
88
88
  _class_call_check(this, ImportRecordListButtonProperty);
89
89
  var _this;
90
- var _ref, _ref1, _ref2, _ref3;
91
90
  var _props_canImportList;
92
91
  _this = _call_super(this, ImportRecordListButtonProperty, [
93
92
  props
94
93
  ]), _define_property(_this, "canImportList", void 0), _define_property(_this, "templateType", void 0);
95
- _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : ImportRecordListButtonControl.controlName;
96
- _this.icon = (_ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref1 !== void 0 ? _ref1 : ImportRecordListButtonControl.controlIcon;
97
- _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) {
94
+ var _props_content;
95
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : ImportRecordListButtonControl.controlName;
96
+ var _props_icon;
97
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : ImportRecordListButtonControl.controlIcon;
98
+ var _props_canImportList_map;
99
+ _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) {
98
100
  return new ImportListBind(item);
99
- })) !== null && _ref2 !== void 0 ? _ref2 : [];
100
- _this.templateType = (_ref3 = props === null || props === void 0 ? void 0 : props.templateType) !== null && _ref3 !== void 0 ? _ref3 : 'system';
101
+ })) !== null && _props_canImportList_map !== void 0 ? _props_canImportList_map : [];
102
+ var _props_templateType;
103
+ _this.templateType = (_props_templateType = props === null || props === void 0 ? void 0 : props.templateType) !== null && _props_templateType !== void 0 ? _props_templateType : 'system';
101
104
  return _this;
102
105
  }
103
106
  return ImportRecordListButtonProperty;
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
1
+ /**
2
+ * name: rok_invoice_check_button
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_invoice_check_button
75
- * description: 发票验真按钮组件。用于识别并校验发票信息后回填表单字段。支持标题展示、气泡提示、验真开关和多字段填充配置,适合报销、财务审核和票据采集场景。
76
- */ import { getLocaleText } from '@byteluck-fe/locale-message';
76
+ import { getLocaleText } from '@byteluck-fe/locale-message';
77
77
  import { ButtonProperty } from '../Button';
78
78
  import InvoiceCheckButtonControl from './designer';
79
79
  import { PropertyRules, MultistageFillingItem } from '@byteluck-fe/model-driven-core';
@@ -129,22 +129,30 @@ var InvoiceCheckButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
129
129
  function InvoiceCheckButtonProperty(props) {
130
130
  _class_call_check(this, InvoiceCheckButtonProperty);
131
131
  var _this;
132
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
133
132
  var _props_fillList;
134
133
  _this = _call_super(this, InvoiceCheckButtonProperty, [
135
134
  props
136
135
  ]), _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);
137
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : InvoiceCheckButtonControl.controlName;
138
- _this.isHideCaption = (_ref1 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref1 !== void 0 ? _ref1 : false;
139
- _this.isShowCaptionTip = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _ref2 !== void 0 ? _ref2 : false;
140
- _this.captionTip = (_ref3 = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _ref3 !== void 0 ? _ref3 : '';
141
- _this.labelPosition = (_ref4 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _ref4 !== void 0 ? _ref4 : 'top';
142
- _this.content = (_ref5 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref5 !== void 0 ? _ref5 : InvoiceCheckButtonControl.controlName;
143
- _this.icon = (_ref6 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref6 !== void 0 ? _ref6 : InvoiceCheckButtonControl.controlIcon;
144
- _this.invoiceCheck = (_ref7 = props === null || props === void 0 ? void 0 : props.invoiceCheck) !== null && _ref7 !== void 0 ? _ref7 : true;
145
- _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) {
136
+ var _props_caption;
137
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : InvoiceCheckButtonControl.controlName;
138
+ var _props_isHideCaption;
139
+ _this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
140
+ var _props_isShowCaptionTip;
141
+ _this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
142
+ var _props_captionTip;
143
+ _this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : '';
144
+ var _props_labelPosition;
145
+ _this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : 'top';
146
+ var _props_content;
147
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : InvoiceCheckButtonControl.controlName;
148
+ var _props_icon;
149
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : InvoiceCheckButtonControl.controlIcon;
150
+ var _props_invoiceCheck;
151
+ _this.invoiceCheck = (_props_invoiceCheck = props === null || props === void 0 ? void 0 : props.invoiceCheck) !== null && _props_invoiceCheck !== void 0 ? _props_invoiceCheck : true;
152
+ var _props_fillList_map;
153
+ _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) {
146
154
  return new MultistageFillingItem(item);
147
- })) !== null && _ref8 !== void 0 ? _ref8 : [];
155
+ })) !== null && _props_fillList_map !== void 0 ? _props_fillList_map : [];
148
156
  return _this;
149
157
  }
150
158
  return InvoiceCheckButtonProperty;
@@ -109,7 +109,7 @@ var LineChartControl = /*#__PURE__*/ function(DesignerControl) {
109
109
  {
110
110
  key: "controlIcon",
111
111
  get: function get() {
112
- return 'iconbiaodan_tubiao';
112
+ return 'iconLinechart';
113
113
  }
114
114
  },
115
115
  {
@@ -165,28 +165,28 @@ _define_property(LineChartControl, "setting", [
165
165
  key: 'common-select',
166
166
  visible: true,
167
167
  name: 'template',
168
- label: '模版',
168
+ label: getLocaleText('CMD.e89a1777541754655'),
169
169
  default: 'line-basic',
170
170
  options: [
171
171
  {
172
172
  value: 'line-basic',
173
- label: '基础折线图'
173
+ label: getLocaleText('CMD.9bf11777541671154')
174
174
  },
175
175
  {
176
176
  value: 'line-smooth',
177
- label: '基础平滑折线图'
177
+ label: getLocaleText('CMD.50231777541632244')
178
178
  },
179
179
  {
180
180
  value: 'line-area',
181
- label: '基础面积图'
181
+ label: getLocaleText('CMD.bad61777541673203')
182
182
  },
183
183
  {
184
184
  value: 'line-stacked',
185
- label: '堆叠折线图'
185
+ label: getLocaleText('CMD.8e651777541675555')
186
186
  },
187
187
  {
188
188
  value: 'line-stacked-area',
189
- label: '堆叠面积图'
189
+ label: getLocaleText('CMD.a75e1777541677634')
190
190
  }
191
191
  ]
192
192
  },
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
1
+ /**
2
+ * name: rok_line_chart
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_line_chart
75
- * description: 折线图组件。用于展示静态或动态趋势数据图表,支持模板选择和字段映射,适合趋势分析与看板展示场景。
76
- */ import LineChartControl from './designer';
76
+ import LineChartControl from './designer';
77
77
  import { MultistageFillingItem, Property, PropertyRules, DataSourceBind } from '@byteluck-fe/model-driven-core';
78
78
  import { FONT_WEIGHT } from '../../framework';
79
79
  import { getLocaleText } from '@byteluck-fe/locale-message';
@@ -101,39 +101,90 @@ var LineChartPropertyRules = /*#__PURE__*/ function(PropertyRules) {
101
101
  }
102
102
  return LineChartPropertyRules;
103
103
  }(PropertyRules);
104
+ var defaultLineChartOption = {
105
+ grid: {
106
+ left: '3%',
107
+ right: '4%',
108
+ bottom: '3%',
109
+ containLabel: true
110
+ },
111
+ xAxis: {
112
+ type: 'category',
113
+ data: [
114
+ 'Mon',
115
+ 'Tue',
116
+ 'Wed',
117
+ 'Thu',
118
+ 'Fri',
119
+ 'Sat',
120
+ 'Sun'
121
+ ]
122
+ },
123
+ yAxis: {
124
+ type: 'value'
125
+ },
126
+ series: [
127
+ {
128
+ type: 'line',
129
+ data: [
130
+ 120,
131
+ 200,
132
+ 150,
133
+ 80,
134
+ 70,
135
+ 110,
136
+ 130
137
+ ]
138
+ }
139
+ ]
140
+ };
104
141
  var LineChartProperty = /*#__PURE__*/ function(Property) {
105
142
  "use strict";
106
143
  _inherits(LineChartProperty, Property);
107
144
  function LineChartProperty(props) {
108
145
  _class_call_check(this, LineChartProperty);
109
146
  var _this;
110
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14;
111
147
  var _props_multistageFilling;
112
148
  _this = _call_super(this, LineChartProperty, [
113
149
  props
114
150
  ]), _define_property(_this, "caption", void 0), _define_property(_this, "isHideCaption", void 0), _define_property(_this, "isShowCaptionTip", void 0), _define_property(_this, "labelPosition", void 0), _define_property(_this, "captionTip", 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, "isHide", void 0), _define_property(_this, "template", void 0), _define_property(_this, "optionJson", void 0), _define_property(_this, "optionConfig", 'datasource'), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "filterItemDatasourceBind", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "openMultistageFilling", void 0), _define_property(_this, "xField", void 0), _define_property(_this, "yField", void 0), _define_property(_this, "seriesConfig", void 0);
115
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : LineChartControl.controlName;
116
- _this.isHideCaption = (_ref1 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref1 !== void 0 ? _ref1 : false;
117
- _this.isShowCaptionTip = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _ref2 !== void 0 ? _ref2 : false;
118
- _this.labelPosition = (_ref3 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _ref3 !== void 0 ? _ref3 : 'top';
119
- _this.captionTip = (_ref4 = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _ref4 !== void 0 ? _ref4 : '';
151
+ var _props_caption;
152
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : LineChartControl.controlName;
153
+ var _props_isHideCaption;
154
+ _this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
155
+ var _props_isShowCaptionTip;
156
+ _this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
157
+ var _props_labelPosition;
158
+ _this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : 'top';
159
+ var _props_captionTip;
160
+ _this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : '';
120
161
  _this.captionColor = (props === null || props === void 0 ? void 0 : props.captionColor) || '';
121
162
  _this.captionSize = (props === null || props === void 0 ? void 0 : props.captionSize) || '';
122
163
  _this.isCaptionItalic = (props === null || props === void 0 ? void 0 : props.isCaptionItalic) || false;
123
- _this.captionFontWeight = (_ref5 = props === null || props === void 0 ? void 0 : props.captionFontWeight) !== null && _ref5 !== void 0 ? _ref5 : FONT_WEIGHT.NORMAL;
124
- _this.isHide = (_ref6 = props === null || props === void 0 ? void 0 : props.isHide) !== null && _ref6 !== void 0 ? _ref6 : false;
125
- _this.template = (_ref7 = props === null || props === void 0 ? void 0 : props.template) !== null && _ref7 !== void 0 ? _ref7 : "line-basic";
126
- _this.optionJson = (_ref8 = props === null || props === void 0 ? void 0 : props.optionJson) !== null && _ref8 !== void 0 ? _ref8 : '{}';
164
+ var _props_captionFontWeight;
165
+ _this.captionFontWeight = (_props_captionFontWeight = props === null || props === void 0 ? void 0 : props.captionFontWeight) !== null && _props_captionFontWeight !== void 0 ? _props_captionFontWeight : FONT_WEIGHT.NORMAL;
166
+ var _props_isHide;
167
+ _this.isHide = (_props_isHide = props === null || props === void 0 ? void 0 : props.isHide) !== null && _props_isHide !== void 0 ? _props_isHide : false;
168
+ var _props_template;
169
+ _this.template = (_props_template = props === null || props === void 0 ? void 0 : props.template) !== null && _props_template !== void 0 ? _props_template : "line-basic";
170
+ var _props_optionJson;
171
+ _this.optionJson = (_props_optionJson = props === null || props === void 0 ? void 0 : props.optionJson) !== null && _props_optionJson !== void 0 ? _props_optionJson : JSON.stringify(defaultLineChartOption, null, 2);
127
172
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
128
173
  _this.filterItemDatasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.filterItemDatasourceBind);
129
- _this.multistageFilling = (_ref9 = props === null || props === void 0 ? void 0 : (_props_multistageFilling = props.multistageFilling) === null || _props_multistageFilling === void 0 ? void 0 : _props_multistageFilling.map(function(item) {
174
+ var _props_multistageFilling_map;
175
+ _this.multistageFilling = (_props_multistageFilling_map = props === null || props === void 0 ? void 0 : (_props_multistageFilling = props.multistageFilling) === null || _props_multistageFilling === void 0 ? void 0 : _props_multistageFilling.map(function(item) {
130
176
  return new MultistageFillingItem(item);
131
- })) !== null && _ref9 !== void 0 ? _ref9 : [];
132
- _this.defaultValue = (_ref10 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref10 !== void 0 ? _ref10 : [];
133
- _this.openMultistageFilling = (_ref11 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref11 !== void 0 ? _ref11 : false;
134
- _this.xField = (_ref12 = props === null || props === void 0 ? void 0 : props.xField) !== null && _ref12 !== void 0 ? _ref12 : '';
135
- _this.yField = (_ref13 = props === null || props === void 0 ? void 0 : props.yField) !== null && _ref13 !== void 0 ? _ref13 : '';
136
- _this.seriesConfig = (_ref14 = props === null || props === void 0 ? void 0 : props.seriesConfig) !== null && _ref14 !== void 0 ? _ref14 : [];
177
+ })) !== null && _props_multistageFilling_map !== void 0 ? _props_multistageFilling_map : [];
178
+ var _props_defaultValue;
179
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
180
+ var _props_openMultistageFilling;
181
+ _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
182
+ var _props_xField;
183
+ _this.xField = (_props_xField = props === null || props === void 0 ? void 0 : props.xField) !== null && _props_xField !== void 0 ? _props_xField : '';
184
+ var _props_yField;
185
+ _this.yField = (_props_yField = props === null || props === void 0 ? void 0 : props.yField) !== null && _props_yField !== void 0 ? _props_yField : '';
186
+ var _props_seriesConfig;
187
+ _this.seriesConfig = (_props_seriesConfig = props === null || props === void 0 ? void 0 : props.seriesConfig) !== null && _props_seriesConfig !== void 0 ? _props_seriesConfig : [];
137
188
  return _this;
138
189
  }
139
190
  return LineChartProperty;
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
1
+ /**
2
+ * name: rok_link
3
+ * description: 链接组件。用于展示可点击的文本链接并跳转页面或执行脚本。支持链接地址、描述、对齐方式、颜色、图标、打开方式以及动态脚本或 JavaScript 配置,适合导航与快捷操作场景。
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_link
75
- * description: 链接组件。用于展示可点击的文本链接并跳转页面或执行脚本。支持链接地址、描述、对齐方式、颜色、图标、打开方式以及动态脚本或 JavaScript 配置,适合导航与快捷操作场景。
76
- */ import { Property } from '@byteluck-fe/model-driven-core';
76
+ import { Property } from '@byteluck-fe/model-driven-core';
77
77
  import { getLocaleText } from '@byteluck-fe/locale-message';
78
78
  var LinkProperty = /*#__PURE__*/ function(Property) {
79
79
  "use strict";
@@ -81,18 +81,23 @@ var LinkProperty = /*#__PURE__*/ function(Property) {
81
81
  function LinkProperty(props) {
82
82
  _class_call_check(this, LinkProperty);
83
83
  var _this;
84
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
85
84
  _this = _call_super(this, LinkProperty, [
86
85
  props
87
86
  ]), _define_property(_this, "content", void 0), _define_property(_this, "url", void 0), // public description: string
88
87
  _define_property(_this, "position", void 0), _define_property(_this, "color", void 0), _define_property(_this, "openMode", void 0), _define_property(_this, "icon", void 0);
89
- _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : getLocaleText('CMD.linkContent', null, '我是一个链接');
88
+ var _props_content;
89
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.linkContent', null, '我是一个链接');
90
+ var _props_position;
90
91
  // this.description = props?.description ?? ''
91
- _this.position = (_ref1 = props === null || props === void 0 ? void 0 : props.position) !== null && _ref1 !== void 0 ? _ref1 : 'left';
92
- _this.color = (_ref2 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref2 !== void 0 ? _ref2 : 'primary';
93
- _this.url = (_ref3 = props === null || props === void 0 ? void 0 : props.url) !== null && _ref3 !== void 0 ? _ref3 : '';
94
- _this.openMode = (_ref4 = props === null || props === void 0 ? void 0 : props.openMode) !== null && _ref4 !== void 0 ? _ref4 : 'new';
95
- _this.icon = (_ref5 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref5 !== void 0 ? _ref5 : '';
92
+ _this.position = (_props_position = props === null || props === void 0 ? void 0 : props.position) !== null && _props_position !== void 0 ? _props_position : 'left';
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 : 'primary';
95
+ var _props_url;
96
+ _this.url = (_props_url = props === null || props === void 0 ? void 0 : props.url) !== null && _props_url !== void 0 ? _props_url : '';
97
+ var _props_openMode;
98
+ _this.openMode = (_props_openMode = props === null || props === void 0 ? void 0 : props.openMode) !== null && _props_openMode !== void 0 ? _props_openMode : 'new';
99
+ var _props_icon;
100
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : '';
96
101
  return _this;
97
102
  }
98
103
  return LinkProperty;