@byteluck-fe/model-driven-controls 4.41.0-lx0 → 5.3.1-1-zt

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 (276) hide show
  1. package/dist/esm/api-doc-index.js +2 -1
  2. package/dist/esm/baseControls/BatchDeleteButton/designer.js +5 -1
  3. package/dist/esm/baseControls/BatchPrintListButton/designer.js +5 -1
  4. package/dist/esm/baseControls/BatchPrintListButton/property.js +2 -2
  5. package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +5 -1
  6. package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +5 -1
  7. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +3 -3
  8. package/dist/esm/baseControls/Button/designer.js +12 -1
  9. package/dist/esm/baseControls/Button/property.js +2 -1
  10. package/dist/esm/baseControls/CreateFormListButton/designer.js +5 -1
  11. package/dist/esm/baseControls/CreateFormListButton/property.js +2 -2
  12. package/dist/esm/baseControls/Dashboard/designer.js +2 -1
  13. package/dist/esm/baseControls/Dashboard/property.js +4 -4
  14. package/dist/esm/baseControls/Divider/designer.js +2 -1
  15. package/dist/esm/baseControls/ExportListButton/designer.js +5 -1
  16. package/dist/esm/baseControls/ExportListButton/property.js +2 -1
  17. package/dist/esm/baseControls/ExportRecordListButton/designer.js +5 -1
  18. package/dist/esm/baseControls/FormSelectButton/designer.js +2 -1
  19. package/dist/esm/baseControls/FormSelectButton/property.js +5 -7
  20. package/dist/esm/baseControls/ImportRecordListButton/designer.js +5 -1
  21. package/dist/esm/baseControls/InvoiceCheckButton/designer.js +2 -1
  22. package/dist/esm/baseControls/InvoiceCheckButton/property.js +4 -4
  23. package/dist/esm/{formControls → baseControls}/Link/designer.js +6 -30
  24. package/dist/esm/{formControls → baseControls}/Link/property.js +6 -5
  25. package/dist/esm/baseControls/ListSelectButton/designer.js +2 -1
  26. package/dist/esm/baseControls/ListSelectButton/property.js +8 -5
  27. package/dist/esm/baseControls/ListViewSelect/designer.js +2 -1
  28. package/dist/esm/baseControls/ListViewSelect/property.js +3 -3
  29. package/dist/esm/baseControls/OperationButton/designer.js +2 -1
  30. package/dist/esm/baseControls/OperationButton/property.js +7 -4
  31. package/dist/esm/baseControls/Pagination/designer.js +2 -1
  32. package/dist/esm/baseControls/ReferenceList/designer.js +158 -0
  33. package/dist/esm/baseControls/ReferenceList/property.js +139 -0
  34. package/dist/esm/baseControls/ReferenceList/runtime.js +112 -0
  35. package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +5 -1
  36. package/dist/esm/baseControls/Text/designer.js +6 -1
  37. package/dist/esm/baseControls/Text/property.js +5 -2
  38. package/dist/esm/baseControls/TextOcrButton/designer.js +2 -1
  39. package/dist/esm/baseControls/TextOcrButton/property.js +5 -5
  40. package/dist/esm/baseControls/Title/designer.js +11 -5
  41. package/dist/esm/baseControls/Title/property.js +8 -11
  42. package/dist/esm/baseControls/index.js +2 -0
  43. package/dist/esm/baseControls/utils.js +4 -4
  44. package/dist/esm/columnControls/ApprovalStatusColumn/designer.js +6 -1
  45. package/dist/esm/columnControls/ArrayColumn/designer.js +6 -1
  46. package/dist/esm/columnControls/AutoNumberColumn/designer.js +6 -1
  47. package/dist/esm/columnControls/CustomColumn/designer.js +9 -1
  48. package/dist/esm/columnControls/CustomColumn/property.js +2 -2
  49. package/dist/esm/columnControls/DecimalColumn/designer.js +6 -1
  50. package/dist/esm/columnControls/DecimalColumn/property.js +4 -4
  51. package/dist/esm/columnControls/DepartmentColumn/designer.js +6 -1
  52. package/dist/esm/columnControls/EmployeeColumn/designer.js +6 -1
  53. package/dist/esm/columnControls/FileColumn/designer.js +11 -8
  54. package/dist/esm/columnControls/FileColumn/property.js +21 -1
  55. package/dist/esm/columnControls/ImageColumn/designer.js +6 -1
  56. package/dist/esm/columnControls/LocationColumn/designer.js +6 -1
  57. package/dist/esm/columnControls/OperationColumn/designer.js +6 -1
  58. package/dist/esm/columnControls/OperationColumn/property.js +3 -3
  59. package/dist/esm/columnControls/OrderColumn/designer.js +6 -1
  60. package/dist/esm/columnControls/PeopleColumn/designer.js +6 -1
  61. package/dist/esm/columnControls/SignatureColumn/designer.js +120 -0
  62. package/dist/esm/columnControls/SignatureColumn/index.js +11 -0
  63. package/dist/esm/columnControls/SignatureColumn/property.js +78 -0
  64. package/dist/esm/columnControls/SignatureColumn/runtime.js +93 -0
  65. package/dist/esm/columnControls/TextColumn/designer.js +6 -1
  66. package/dist/esm/columnControls/TimescopeColumn/designer.js +6 -1
  67. package/dist/esm/columnControls/TimestampColumn/designer.js +6 -1
  68. package/dist/esm/columnControls/VarcharColumn/designer.js +4 -2
  69. package/dist/esm/columnControls/VarcharColumn/property.js +7 -4
  70. package/dist/esm/columnControls/index.js +1 -0
  71. package/dist/esm/formControls/Address/designer.js +2 -10
  72. package/dist/esm/formControls/Address/property.js +5 -5
  73. package/dist/esm/formControls/Amount/designer.js +6 -10
  74. package/dist/esm/formControls/Amount/property.js +14 -8
  75. package/dist/esm/formControls/Attachment/designer.js +8 -50
  76. package/dist/esm/formControls/Attachment/property.js +13 -16
  77. package/dist/esm/formControls/AutoNumber/designer.js +2 -10
  78. package/dist/esm/formControls/AutoNumber/property.js +2 -1
  79. package/dist/esm/formControls/Calc/designer.js +6 -10
  80. package/dist/esm/formControls/Calc/property.js +11 -5
  81. package/dist/esm/formControls/Checkbox/designer.js +6 -10
  82. package/dist/esm/formControls/Checkbox/property.js +8 -8
  83. package/dist/esm/formControls/DatePicker/designer.js +2 -10
  84. package/dist/esm/formControls/DatePicker/property.js +2 -1
  85. package/dist/esm/formControls/DateRange/designer.js +2 -10
  86. package/dist/esm/formControls/DateRange/property.js +3 -2
  87. package/dist/esm/formControls/Department/designer.js +2 -10
  88. package/dist/esm/formControls/Department/property.js +2 -1
  89. package/dist/esm/formControls/Department2/designer.js +2 -10
  90. package/dist/esm/formControls/Department2/property.js +27 -31
  91. package/dist/esm/formControls/ElectronicSignature/designer.js +2 -10
  92. package/dist/esm/formControls/ElectronicSignature/property.js +8 -7
  93. package/dist/esm/formControls/Employee/designer.js +2 -10
  94. package/dist/esm/formControls/Employee/property.js +2 -1
  95. package/dist/esm/formControls/Employee2/designer.js +4 -11
  96. package/dist/esm/formControls/Employee2/property.js +7 -4
  97. package/dist/esm/formControls/{SensitivenInformation → HandSignature}/designer.js +18 -60
  98. package/dist/esm/formControls/HandSignature/index.js +11 -0
  99. package/dist/esm/formControls/HandSignature/property.js +134 -0
  100. package/dist/esm/formControls/{SensitivenInformation → HandSignature}/runtime.js +13 -13
  101. package/dist/esm/formControls/Image/designer.js +4 -17
  102. package/dist/esm/formControls/Image/property.js +2 -22
  103. package/dist/esm/formControls/Image/runtime.js +3 -2
  104. package/dist/esm/formControls/Input/designer.js +2 -10
  105. package/dist/esm/formControls/Input/property.js +11 -11
  106. package/dist/esm/formControls/Number/designer.js +2 -10
  107. package/dist/esm/formControls/Number/property.js +9 -9
  108. package/dist/esm/formControls/OrganizationSelection/designer.js +7 -10
  109. package/dist/esm/formControls/OrganizationSelection/property.js +4 -4
  110. package/dist/esm/formControls/Radio/designer.js +6 -10
  111. package/dist/esm/formControls/Radio/property.js +7 -6
  112. package/dist/esm/formControls/RichText/designer.js +10 -10
  113. package/dist/esm/formControls/RichText/property.js +21 -10
  114. package/dist/esm/formControls/Score/designer.js +2 -10
  115. package/dist/esm/formControls/Score/property.js +8 -8
  116. package/dist/esm/formControls/SearchDateRange/designer.js +2 -10
  117. package/dist/esm/formControls/SearchDateRange/property.js +3 -2
  118. package/dist/esm/formControls/SearchInput/designer.js +2 -10
  119. package/dist/esm/formControls/SearchNumberRange/designer.js +2 -10
  120. package/dist/esm/formControls/SearchNumberRange/property.js +5 -5
  121. package/dist/esm/formControls/Select/designer.js +6 -10
  122. package/dist/esm/formControls/Select/property.js +9 -9
  123. package/dist/esm/formControls/SelectMultiple/designer.js +6 -10
  124. package/dist/esm/formControls/SelectMultiple/property.js +9 -9
  125. package/dist/esm/formControls/SelectRelation/designer.js +48 -12
  126. package/dist/esm/formControls/SelectRelation/property.js +12 -7
  127. package/dist/esm/formControls/Textarea/designer.js +12 -11
  128. package/dist/esm/formControls/Textarea/property.js +62 -42
  129. package/dist/esm/formControls/Tree/designer.js +6 -10
  130. package/dist/esm/formControls/Tree/property.js +5 -5
  131. package/dist/esm/formControls/VueFormItem/designer.js +7 -11
  132. package/dist/esm/formControls/VuePage/designer.js +129 -0
  133. package/dist/esm/formControls/VuePage/index.js +11 -0
  134. package/dist/esm/formControls/VuePage/property.js +133 -0
  135. package/dist/esm/formControls/VuePage/runtime.js +114 -0
  136. package/dist/esm/formControls/VuePage/types.js +0 -0
  137. package/dist/esm/formControls/WPS/designer.js +2 -10
  138. package/dist/esm/formControls/WPS/property.js +6 -6
  139. package/dist/esm/formControls/index.js +2 -2
  140. package/dist/esm/framework.js +82 -0
  141. package/dist/esm/layoutControls/ActionBar/designer.js +21 -6
  142. package/dist/esm/layoutControls/AdvancedContainer/designer.js +2 -1
  143. package/dist/esm/layoutControls/CardGroup/designer.js +4 -2
  144. package/dist/esm/layoutControls/CardGroup/property.js +6 -4
  145. package/dist/esm/layoutControls/Col/designer.js +3 -2
  146. package/dist/esm/layoutControls/DataView/designer.js +2 -1
  147. package/dist/esm/layoutControls/DataView/property.js +5 -4
  148. package/dist/esm/layoutControls/Grid/designer.js +2 -1
  149. package/dist/esm/layoutControls/GridLayoutContainer/designer.js +2 -1
  150. package/dist/esm/layoutControls/GridRow/designer.js +2 -1
  151. package/dist/esm/layoutControls/ListView/designer.js +5 -1
  152. package/dist/esm/layoutControls/ListView/property.js +13 -28
  153. package/dist/esm/layoutControls/Page/designer.js +2 -1
  154. package/dist/esm/layoutControls/Position/designer.js +2 -1
  155. package/dist/esm/layoutControls/PositioningContainer/designer.js +2 -1
  156. package/dist/esm/layoutControls/Row/designer.js +2 -1
  157. package/dist/esm/layoutControls/SubTableColumn/designer.js +4 -2
  158. package/dist/esm/layoutControls/SubTableColumn/property.js +4 -4
  159. package/dist/esm/layoutControls/SubTableRow/designer.js +2 -1
  160. package/dist/esm/layoutControls/Tab/designer.js +2 -1
  161. package/dist/esm/layoutControls/TabPane/designer.js +3 -3
  162. package/dist/esm/layoutControls/TabPane/property.js +2 -2
  163. package/dist/esm/layoutControls/Toolbox/designer.js +2 -1
  164. package/dist/esm/listControls/GridTable/designer.js +34 -7
  165. package/dist/esm/listControls/SubTable/designer.js +8 -6
  166. package/dist/esm/listControls/SubTable/property.js +33 -17
  167. package/dist/esm/searchControls/SimpleSearch/designer.js +3 -0
  168. package/dist/esm/searchControls/SimpleSearch/property.js +16 -3
  169. package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +3 -2
  170. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +2 -1
  171. package/dist/index.umd.js +1 -1
  172. package/dist/types/api-doc-index.d.ts +2 -1
  173. package/dist/types/baseControls/BatchDeleteButton/designer.d.ts +1 -0
  174. package/dist/types/baseControls/BatchPrintListButton/designer.d.ts +1 -0
  175. package/dist/types/baseControls/BatchPrintRecordListButton/designer.d.ts +1 -0
  176. package/dist/types/baseControls/BatchSubmissionListButton/designer.d.ts +1 -0
  177. package/dist/types/baseControls/Button/designer.d.ts +1 -0
  178. package/dist/types/baseControls/CreateFormListButton/designer.d.ts +1 -0
  179. package/dist/types/baseControls/ExportListButton/designer.d.ts +1 -0
  180. package/dist/types/baseControls/ExportRecordListButton/designer.d.ts +1 -0
  181. package/dist/types/baseControls/FormSelectButton/property.d.ts +0 -1
  182. package/dist/types/baseControls/ImportRecordListButton/designer.d.ts +1 -0
  183. package/dist/types/{formControls → baseControls}/Link/designer.d.ts +2 -2
  184. package/dist/types/{formControls → baseControls}/Link/property.d.ts +2 -2
  185. package/dist/types/baseControls/Link/types.d.ts +0 -0
  186. package/dist/types/baseControls/ListSelectButton/property.d.ts +1 -0
  187. package/dist/types/baseControls/OperationButton/property.d.ts +1 -0
  188. package/dist/types/baseControls/ReferenceList/designer.d.ts +14 -0
  189. package/dist/types/baseControls/ReferenceList/property.d.ts +22 -0
  190. package/dist/types/baseControls/ReferenceList/runtime.d.ts +9 -0
  191. package/dist/types/baseControls/ReferenceList/types.d.ts +0 -0
  192. package/dist/types/baseControls/SubmissionRecordListButton/designer.d.ts +1 -0
  193. package/dist/types/baseControls/Text/property.d.ts +1 -0
  194. package/dist/types/baseControls/Title/property.d.ts +0 -1
  195. package/dist/types/baseControls/index.d.ts +2 -0
  196. package/dist/types/columnControls/ApprovalStatusColumn/designer.d.ts +1 -1
  197. package/dist/types/columnControls/ArrayColumn/designer.d.ts +1 -1
  198. package/dist/types/columnControls/AutoNumberColumn/designer.d.ts +1 -1
  199. package/dist/types/columnControls/CustomColumn/designer.d.ts +2 -1
  200. package/dist/types/columnControls/DecimalColumn/designer.d.ts +1 -1
  201. package/dist/types/columnControls/DecimalColumn/property.d.ts +2 -2
  202. package/dist/types/columnControls/DepartmentColumn/designer.d.ts +1 -1
  203. package/dist/types/columnControls/EmployeeColumn/designer.d.ts +1 -1
  204. package/dist/types/columnControls/FileColumn/designer.d.ts +1 -1
  205. package/dist/types/columnControls/FileColumn/property.d.ts +1 -0
  206. package/dist/types/columnControls/ImageColumn/designer.d.ts +1 -1
  207. package/dist/types/columnControls/LocationColumn/designer.d.ts +1 -1
  208. package/dist/types/columnControls/OperationColumn/designer.d.ts +1 -1
  209. package/dist/types/columnControls/OrderColumn/designer.d.ts +1 -1
  210. package/dist/types/columnControls/PeopleColumn/designer.d.ts +1 -1
  211. package/dist/types/columnControls/SignatureColumn/designer.d.ts +14 -0
  212. package/dist/types/columnControls/SignatureColumn/index.d.ts +12 -0
  213. package/dist/types/columnControls/SignatureColumn/property.d.ts +6 -0
  214. package/dist/types/columnControls/SignatureColumn/runtime.d.ts +12 -0
  215. package/dist/types/columnControls/SignatureColumn/types.d.ts +0 -0
  216. package/dist/types/columnControls/TextColumn/designer.d.ts +1 -1
  217. package/dist/types/columnControls/TimescopeColumn/designer.d.ts +1 -1
  218. package/dist/types/columnControls/TimestampColumn/designer.d.ts +1 -1
  219. package/dist/types/columnControls/VarcharColumn/designer.d.ts +1 -1
  220. package/dist/types/columnControls/VarcharColumn/property.d.ts +7 -1
  221. package/dist/types/columnControls/index.d.ts +1 -0
  222. package/dist/types/formControls/Amount/property.d.ts +6 -0
  223. package/dist/types/formControls/Attachment/designer.d.ts +0 -1
  224. package/dist/types/formControls/Attachment/property.d.ts +1 -10
  225. package/dist/types/formControls/Calc/property.d.ts +6 -0
  226. package/dist/types/formControls/Department2/property.d.ts +0 -4
  227. package/dist/types/formControls/Employee2/property.d.ts +1 -0
  228. package/dist/types/formControls/HandSignature/designer.d.ts +14 -0
  229. package/dist/types/formControls/HandSignature/index.d.ts +12 -0
  230. package/dist/types/formControls/HandSignature/property.d.ts +19 -0
  231. package/dist/types/formControls/HandSignature/runtime.d.ts +12 -0
  232. package/dist/types/formControls/HandSignature/types.d.ts +0 -0
  233. package/dist/types/formControls/Image/designer.d.ts +0 -2
  234. package/dist/types/formControls/Image/property.d.ts +0 -5
  235. package/dist/types/formControls/Number/property.d.ts +2 -2
  236. package/dist/types/formControls/OrganizationSelection/designer.d.ts +1 -1
  237. package/dist/types/formControls/RichText/property.d.ts +11 -0
  238. package/dist/types/formControls/SelectRelation/designer.d.ts +1 -0
  239. package/dist/types/formControls/SelectRelation/property.d.ts +3 -1
  240. package/dist/types/formControls/Textarea/property.d.ts +9 -10
  241. package/dist/types/formControls/VueFormItem/designer.d.ts +1 -0
  242. package/dist/types/formControls/VuePage/designer.d.ts +15 -0
  243. package/dist/types/formControls/VuePage/index.d.ts +12 -0
  244. package/dist/types/formControls/VuePage/property.d.ts +18 -0
  245. package/dist/types/formControls/VuePage/runtime.d.ts +12 -0
  246. package/dist/types/formControls/VuePage/types.d.ts +0 -0
  247. package/dist/types/formControls/index.d.ts +2 -2
  248. package/dist/types/framework.d.ts +31 -1
  249. package/dist/types/layoutControls/ActionBar/designer.d.ts +3 -0
  250. package/dist/types/layoutControls/CardGroup/property.d.ts +1 -0
  251. package/dist/types/layoutControls/ListView/designer.d.ts +3 -0
  252. package/dist/types/layoutControls/ListView/property.d.ts +2 -9
  253. package/dist/types/layoutControls/SubTableColumn/designer.d.ts +1 -1
  254. package/dist/types/layoutControls/SubTableRow/designer.d.ts +1 -1
  255. package/dist/types/listControls/GridTable/designer.d.ts +8 -0
  256. package/dist/types/listControls/GridTable/property.d.ts +1 -1
  257. package/dist/types/listControls/SubTable/designer.d.ts +3 -0
  258. package/dist/types/listControls/SubTable/property.d.ts +19 -0
  259. package/dist/types/searchControls/SimpleSearch/designer.d.ts +3 -0
  260. package/dist/types/searchControls/SimpleSearch/property.d.ts +13 -1
  261. package/dist/types/type.d.ts +8 -5
  262. package/package.json +5 -5
  263. package/dist/esm/formControls/SensitivenInformation/property.js +0 -206
  264. package/dist/types/formControls/SensitivenInformation/designer.d.ts +0 -15
  265. package/dist/types/formControls/SensitivenInformation/property.d.ts +0 -57
  266. package/dist/types/formControls/SensitivenInformation/runtime.d.ts +0 -12
  267. /package/dist/esm/{formControls → baseControls}/Link/index.js +0 -0
  268. /package/dist/esm/{formControls → baseControls}/Link/runtime.js +0 -0
  269. /package/dist/esm/{formControls → baseControls}/Link/types.js +0 -0
  270. /package/dist/esm/{formControls/SensitivenInformation → baseControls/ReferenceList}/index.js +0 -0
  271. /package/dist/esm/{formControls/SensitivenInformation → baseControls/ReferenceList}/types.js +0 -0
  272. /package/dist/{types/formControls/Link/types.d.ts → esm/columnControls/SignatureColumn/types.js} +0 -0
  273. /package/dist/{types/formControls/SensitivenInformation/types.d.ts → esm/formControls/HandSignature/types.js} +0 -0
  274. /package/dist/types/{formControls → baseControls}/Link/index.d.ts +0 -0
  275. /package/dist/types/{formControls → baseControls}/Link/runtime.d.ts +0 -0
  276. /package/dist/types/{formControls/SensitivenInformation → baseControls/ReferenceList}/index.d.ts +0 -0
@@ -70,10 +70,11 @@ function _is_native_reflect_construct() {
70
70
  return !!result;
71
71
  })();
72
72
  }
73
- import { BaseControlProperty } from '@byteluck-fe/model-driven-core';
74
- var LinkProperty = /*#__PURE__*/ function(BaseControlProperty) {
73
+ import { Property } from '@byteluck-fe/model-driven-core';
74
+ import { getLocaleText } from '@byteluck-fe/locale-message';
75
+ var LinkProperty = /*#__PURE__*/ function(Property) {
75
76
  "use strict";
76
- _inherits(LinkProperty, BaseControlProperty);
77
+ _inherits(LinkProperty, Property);
77
78
  function LinkProperty(props) {
78
79
  _class_call_check(this, LinkProperty);
79
80
  var _this;
@@ -81,7 +82,7 @@ var LinkProperty = /*#__PURE__*/ function(BaseControlProperty) {
81
82
  props
82
83
  ]), _define_property(_this, "content", void 0), _define_property(_this, "url", void 0), _define_property(_this, "openMode", void 0);
83
84
  var _props_content;
84
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : '我是一个链接';
85
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.linkContent', null, '我是一个链接');
85
86
  var _props_url;
86
87
  _this.url = (_props_url = props === null || props === void 0 ? void 0 : props.url) !== null && _props_url !== void 0 ? _props_url : '';
87
88
  var _props_openMode;
@@ -89,6 +90,6 @@ var LinkProperty = /*#__PURE__*/ function(BaseControlProperty) {
89
90
  return _this;
90
91
  }
91
92
  return LinkProperty;
92
- }(BaseControlProperty);
93
+ }(Property);
93
94
  export default LinkProperty;
94
95
  export { LinkProperty };
@@ -87,6 +87,7 @@ function _is_native_reflect_construct() {
87
87
  import { COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
88
88
  import { DesignerButtonControl } from '../Button';
89
89
  import ListSelectButtonProperty from './property';
90
+ import { getLocaleText } from '@byteluck-fe/locale-message';
90
91
  var ListSelectButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
91
92
  "use strict";
92
93
  _inherits(ListSelectButtonControl, DesignerButtonControl);
@@ -103,7 +104,7 @@ var ListSelectButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
103
104
  {
104
105
  key: "controlName",
105
106
  get: function get() {
106
- return '列表选择';
107
+ return getLocaleText('CMD.listSelectButton', null, '列表选择');
107
108
  }
108
109
  },
109
110
  {
@@ -88,8 +88,8 @@ function _is_native_reflect_construct() {
88
88
  import { ButtonProperty } from '../Button';
89
89
  import ListSelectButtonControl from './designer';
90
90
  import { PropertyRules, FillBackBind, FillPayloadBind, SelectedContentConfig, ListBind } from '@byteluck-fe/model-driven-core';
91
- import { RulesMessage } from '@byteluck-fe/model-driven-shared';
92
91
  import { createFillBindRules } from '../utils';
92
+ import { getLocaleText } from '@byteluck-fe/locale-message';
93
93
  var ListSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
94
94
  "use strict";
95
95
  _inherits(ListSelectButtonPropertyRules, PropertyRules);
@@ -107,12 +107,12 @@ var ListSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
107
107
  formKey: {
108
108
  type: 'string',
109
109
  required: true,
110
- message: RulesMessage.getMessage('pleaseEnterList')
110
+ message: getLocaleText('CMD.pleaseEnterList', null, '请绑定列表')
111
111
  },
112
112
  headers: {
113
113
  type: 'array',
114
114
  required: true,
115
- message: RulesMessage.getMessage('pleaseSelectAtLeastOneColumn')
115
+ message: getLocaleText('CMD.pleaseSelectAtLeastOneColumn', null, '请至少选择一个显示字段')
116
116
  }
117
117
  }
118
118
  }), _define_property(_this, "fillBack", {
@@ -121,7 +121,7 @@ var ListSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
121
121
  mode: {
122
122
  type: 'string',
123
123
  required: true,
124
- message: RulesMessage.getMessage('pleaseSelectFillBackMode')
124
+ message: getLocaleText('CMD.pleaseSelectFillBackMode', null, '请选择回填设置')
125
125
  }
126
126
  }, createFillBindRules())
127
127
  });
@@ -153,7 +153,8 @@ var ListSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
153
153
  * 回填配置
154
154
  * @public
155
155
  */ _define_property(_this, "fillBack", void 0), // 展示已选明细
156
- _define_property(_this, "showSelectedDetail", void 0), // 展示已选内容配置字段
156
+ _define_property(_this, "showSelectedDetail", void 0), // 是否使用选中行填充
157
+ _define_property(_this, "isSelectedRowFill", void 0), // 展示已选内容配置字段
157
158
  _define_property(_this, "selectedContentConfig", void 0);
158
159
  var _props_content;
159
160
  _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : ListSelectButtonControl.controlName;
@@ -165,6 +166,8 @@ var ListSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
165
166
  var _props_showSelectedDetail;
166
167
  _this.showSelectedDetail = (_props_showSelectedDetail = props === null || props === void 0 ? void 0 : props.showSelectedDetail) !== null && _props_showSelectedDetail !== void 0 ? _props_showSelectedDetail : false;
167
168
  _this.selectedContentConfig = new SelectedContentConfig(props === null || props === void 0 ? void 0 : props.selectedContentConfig);
169
+ var _props_isSelectedRowFill;
170
+ _this.isSelectedRowFill = (_props_isSelectedRowFill = props === null || props === void 0 ? void 0 : props.isSelectedRowFill) !== null && _props_isSelectedRowFill !== void 0 ? _props_isSelectedRowFill : false;
168
171
  var _props_disableFilling;
169
172
  _this.disableFilling = (_props_disableFilling = props === null || props === void 0 ? void 0 : props.disableFilling) !== null && _props_disableFilling !== void 0 ? _props_disableFilling : true;
170
173
  return _this;
@@ -86,6 +86,7 @@ function _is_native_reflect_construct() {
86
86
  }
87
87
  import { DesignerControl } from '@byteluck-fe/model-driven-core';
88
88
  import ListViewSelectProperty from './property';
89
+ import { getLocaleText } from '@byteluck-fe/locale-message';
89
90
  var ListViewSelectControl = /*#__PURE__*/ function(DesignerControl) {
90
91
  "use strict";
91
92
  _inherits(ListViewSelectControl, DesignerControl);
@@ -102,7 +103,7 @@ var ListViewSelectControl = /*#__PURE__*/ function(DesignerControl) {
102
103
  {
103
104
  key: "controlName",
104
105
  get: function get() {
105
- return '列表视图';
106
+ return getLocaleText('CMD.listViewSelect', null, '列表视图');
106
107
  }
107
108
  },
108
109
  {
@@ -70,8 +70,8 @@ function _is_native_reflect_construct() {
70
70
  return !!result;
71
71
  })();
72
72
  }
73
+ import { getLocaleText } from '@byteluck-fe/locale-message';
73
74
  import { Property, PropertyRules, ViewOperationItem } from '@byteluck-fe/model-driven-core';
74
- import { RulesMessage } from '@byteluck-fe/model-driven-shared';
75
75
  var ListViewSelectPropertyRules = /*#__PURE__*/ function(PropertyRules) {
76
76
  "use strict";
77
77
  _inherits(ListViewSelectPropertyRules, PropertyRules);
@@ -94,13 +94,13 @@ var ListViewSelectPropertyRules = /*#__PURE__*/ function(PropertyRules) {
94
94
  title: {
95
95
  type: 'string',
96
96
  required: true,
97
- message: RulesMessage.getMessage('theViewNameCannotBeEmpty')
97
+ message: getLocaleText('CMD.theViewNameCannotBeEmpty', null, '视图名称不能为空')
98
98
  },
99
99
  headers: {
100
100
  type: 'array',
101
101
  required: true,
102
102
  min: 1,
103
- message: RulesMessage.getMessage('pleaseSelectAtLeastOneColumn')
103
+ message: getLocaleText('CMD.pleaseSelectAtLeastOneColumn', null, '请至少选择一个显示字段')
104
104
  }
105
105
  }
106
106
  }
@@ -86,6 +86,7 @@ function _is_native_reflect_construct() {
86
86
  }
87
87
  import { DesignerControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
88
88
  import { OperationButtonProperty } from './property';
89
+ import { getLocaleText } from '@byteluck-fe/locale-message';
89
90
  var OperationButtonControl = /*#__PURE__*/ function(DesignerControl) {
90
91
  "use strict";
91
92
  _inherits(OperationButtonControl, DesignerControl);
@@ -102,7 +103,7 @@ var OperationButtonControl = /*#__PURE__*/ function(DesignerControl) {
102
103
  {
103
104
  key: "controlName",
104
105
  get: function get() {
105
- return '操作按钮';
106
+ return getLocaleText('CMD.operationButton', null, '操作按钮');
106
107
  }
107
108
  },
108
109
  {
@@ -71,7 +71,7 @@ function _is_native_reflect_construct() {
71
71
  })();
72
72
  }
73
73
  import { Property, PropertyRules } from '@byteluck-fe/model-driven-core';
74
- import { RulesMessage } from '@byteluck-fe/model-driven-shared';
74
+ import { getLocaleText } from '@byteluck-fe/locale-message';
75
75
  var OperationButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
76
76
  "use strict";
77
77
  _inherits(OperationButtonPropertyRules, PropertyRules);
@@ -88,7 +88,7 @@ var OperationButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
88
88
  _this.formKey = {
89
89
  type: 'string',
90
90
  required: true,
91
- message: RulesMessage.getMessage('pleaseEnterForm')
91
+ message: getLocaleText('CMD.pleaseEnterForm', null, '请绑定表单')
92
92
  };
93
93
  }
94
94
  return _this;
@@ -103,9 +103,10 @@ var OperationButtonProperty = /*#__PURE__*/ function(Property) {
103
103
  var _this;
104
104
  _this = _call_super(this, OperationButtonProperty, [
105
105
  props
106
- ]), _define_property(_this, "content", void 0), _define_property(_this, "code", void 0), _define_property(_this, "command", void 0), _define_property(_this, "color", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "formKey", void 0), _define_property(_this, "openType", void 0), _define_property(_this, "needConfirm", void 0), _define_property(_this, "confirmMessage", void 0), _define_property(_this, "options", void 0), _define_property(_this, "defaultState", void 0), _define_property(_this, "priorityProcess", void 0), _define_property(_this, "isLoading", void 0);
106
+ ]), _define_property(_this, "content", void 0), _define_property(_this, "code", void 0), _define_property(_this, "command", void 0), _define_property(_this, "color", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "formKey", void 0), _define_property(_this, "openType", void 0), _define_property(_this, "needConfirm", void 0), _define_property(_this, "confirmMessage", void 0), _define_property(_this, "options", void 0), _define_property(_this, "defaultState", void 0), _define_property(_this, "priorityProcess", void 0), _define_property(_this, "isLoading", void 0), // 是否同步删除流程数据
107
+ _define_property(_this, "isSyncDelete", void 0);
107
108
  var _props_content;
108
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : '按钮';
109
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.button', null, '按钮');
109
110
  _this.code = props === null || props === void 0 ? void 0 : props.code;
110
111
  var _props_command;
111
112
  _this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : 'custom';
@@ -122,6 +123,8 @@ var OperationButtonProperty = /*#__PURE__*/ function(Property) {
122
123
  _this.priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess;
123
124
  var _props_isLoading;
124
125
  _this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
126
+ var _props_isSyncDelete;
127
+ _this.isSyncDelete = (_props_isSyncDelete = props === null || props === void 0 ? void 0 : props.isSyncDelete) !== null && _props_isSyncDelete !== void 0 ? _props_isSyncDelete : false;
125
128
  return _this;
126
129
  }
127
130
  return OperationButtonProperty;
@@ -86,6 +86,7 @@ function _is_native_reflect_construct() {
86
86
  }
87
87
  import { DesignerControl } from '@byteluck-fe/model-driven-core';
88
88
  import PaginationProperty from './property';
89
+ import { getLocaleText } from '@byteluck-fe/locale-message';
89
90
  var PaginationControl = /*#__PURE__*/ function(DesignerControl) {
90
91
  "use strict";
91
92
  _inherits(PaginationControl, DesignerControl);
@@ -102,7 +103,7 @@ var PaginationControl = /*#__PURE__*/ function(DesignerControl) {
102
103
  {
103
104
  key: "controlName",
104
105
  get: function get() {
105
- return '分页';
106
+ return getLocaleText('CMD.pagination', null, '分页');
106
107
  }
107
108
  },
108
109
  {
@@ -0,0 +1,158 @@
1
+ function _assert_this_initialized(self) {
2
+ if (self === void 0) {
3
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
+ }
5
+ return self;
6
+ }
7
+ function _call_super(_this, derived, args) {
8
+ derived = _get_prototype_of(derived);
9
+ return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
+ }
11
+ function _class_call_check(instance, Constructor) {
12
+ if (!(instance instanceof Constructor)) {
13
+ throw new TypeError("Cannot call a class as a function");
14
+ }
15
+ }
16
+ function _defineProperties(target, props) {
17
+ for(var i = 0; i < props.length; i++){
18
+ var descriptor = props[i];
19
+ descriptor.enumerable = descriptor.enumerable || false;
20
+ descriptor.configurable = true;
21
+ if ("value" in descriptor) descriptor.writable = true;
22
+ Object.defineProperty(target, descriptor.key, descriptor);
23
+ }
24
+ }
25
+ function _create_class(Constructor, protoProps, staticProps) {
26
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
27
+ if (staticProps) _defineProperties(Constructor, staticProps);
28
+ return Constructor;
29
+ }
30
+ function _define_property(obj, key, value) {
31
+ if (key in obj) {
32
+ Object.defineProperty(obj, key, {
33
+ value: value,
34
+ enumerable: true,
35
+ configurable: true,
36
+ writable: true
37
+ });
38
+ } else {
39
+ obj[key] = value;
40
+ }
41
+ return obj;
42
+ }
43
+ function _get_prototype_of(o) {
44
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
45
+ return o.__proto__ || Object.getPrototypeOf(o);
46
+ };
47
+ return _get_prototype_of(o);
48
+ }
49
+ function _inherits(subClass, superClass) {
50
+ if (typeof superClass !== "function" && superClass !== null) {
51
+ throw new TypeError("Super expression must either be null or a function");
52
+ }
53
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
54
+ constructor: {
55
+ value: subClass,
56
+ writable: true,
57
+ configurable: true
58
+ }
59
+ });
60
+ if (superClass) _set_prototype_of(subClass, superClass);
61
+ }
62
+ function _possible_constructor_return(self, call) {
63
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
64
+ return call;
65
+ }
66
+ return _assert_this_initialized(self);
67
+ }
68
+ function _set_prototype_of(o, p) {
69
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
70
+ o.__proto__ = p;
71
+ return o;
72
+ };
73
+ return _set_prototype_of(o, p);
74
+ }
75
+ function _type_of(obj) {
76
+ "@swc/helpers - typeof";
77
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
78
+ }
79
+ function _is_native_reflect_construct() {
80
+ try {
81
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
82
+ } catch (_) {}
83
+ return (_is_native_reflect_construct = function() {
84
+ return !!result;
85
+ })();
86
+ }
87
+ import { COMMON_SETTING_TYPE, DesignerControl } from '@byteluck-fe/model-driven-core';
88
+ import ReferenceListProperty from './property';
89
+ import { getLocaleText } from '@byteluck-fe/locale-message';
90
+ var ReferenceListControl = /*#__PURE__*/ function(DesignerControl) {
91
+ "use strict";
92
+ _inherits(ReferenceListControl, DesignerControl);
93
+ function ReferenceListControl(props) {
94
+ _class_call_check(this, ReferenceListControl);
95
+ var _this;
96
+ _this = _call_super(this, ReferenceListControl, [
97
+ props
98
+ ]), _define_property(_this, "props", void 0);
99
+ _this.props = new ReferenceListProperty(props === null || props === void 0 ? void 0 : props.props);
100
+ return _this;
101
+ }
102
+ _create_class(ReferenceListControl, null, [
103
+ {
104
+ key: "controlName",
105
+ get: function get() {
106
+ return getLocaleText('CMD.referenceList', null, '引用列表');
107
+ }
108
+ },
109
+ {
110
+ key: "controlIcon",
111
+ get: function get() {
112
+ return 'iconliebiaoxuanze';
113
+ }
114
+ },
115
+ {
116
+ key: "controlType",
117
+ get: function get() {
118
+ return 'reference-list';
119
+ }
120
+ }
121
+ ]);
122
+ return ReferenceListControl;
123
+ }(DesignerControl);
124
+ _define_property(ReferenceListControl, "controlEventKeys", [
125
+ 'on_list_rowclick'
126
+ ]);
127
+ _define_property(ReferenceListControl, "setting", [
128
+ {
129
+ key: 'caption',
130
+ showItems: [
131
+ COMMON_SETTING_TYPE.CAPTION
132
+ ],
133
+ visible: true
134
+ },
135
+ {
136
+ key: 'common-setting',
137
+ visible: true,
138
+ showItems: [
139
+ COMMON_SETTING_TYPE.IS_HIDE,
140
+ COMMON_SETTING_TYPE.IS_SHOW_SIMPLE_SEARCH,
141
+ COMMON_SETTING_TYPE.IS_SHOW_TOOL_BAE
142
+ ]
143
+ },
144
+ {
145
+ key: 'action-setting',
146
+ visible: true
147
+ },
148
+ {
149
+ key: 'line-height-setting',
150
+ visible: true
151
+ },
152
+ {
153
+ key: 'super-setting',
154
+ visible: true
155
+ }
156
+ ]);
157
+ export default ReferenceListControl;
158
+ export { ReferenceListControl as ResignerreferenceListControl };
@@ -0,0 +1,139 @@
1
+ function _assert_this_initialized(self) {
2
+ if (self === void 0) {
3
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
+ }
5
+ return self;
6
+ }
7
+ function _call_super(_this, derived, args) {
8
+ derived = _get_prototype_of(derived);
9
+ return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
+ }
11
+ function _class_call_check(instance, Constructor) {
12
+ if (!(instance instanceof Constructor)) {
13
+ throw new TypeError("Cannot call a class as a function");
14
+ }
15
+ }
16
+ function _define_property(obj, key, value) {
17
+ if (key in obj) {
18
+ Object.defineProperty(obj, key, {
19
+ value: value,
20
+ enumerable: true,
21
+ configurable: true,
22
+ writable: true
23
+ });
24
+ } else {
25
+ obj[key] = value;
26
+ }
27
+ return obj;
28
+ }
29
+ function _get_prototype_of(o) {
30
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
31
+ return o.__proto__ || Object.getPrototypeOf(o);
32
+ };
33
+ return _get_prototype_of(o);
34
+ }
35
+ function _inherits(subClass, superClass) {
36
+ if (typeof superClass !== "function" && superClass !== null) {
37
+ throw new TypeError("Super expression must either be null or a function");
38
+ }
39
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
40
+ constructor: {
41
+ value: subClass,
42
+ writable: true,
43
+ configurable: true
44
+ }
45
+ });
46
+ if (superClass) _set_prototype_of(subClass, superClass);
47
+ }
48
+ function _possible_constructor_return(self, call) {
49
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
50
+ return call;
51
+ }
52
+ return _assert_this_initialized(self);
53
+ }
54
+ function _set_prototype_of(o, p) {
55
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
56
+ o.__proto__ = p;
57
+ return o;
58
+ };
59
+ return _set_prototype_of(o, p);
60
+ }
61
+ function _type_of(obj) {
62
+ "@swc/helpers - typeof";
63
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
64
+ }
65
+ function _is_native_reflect_construct() {
66
+ try {
67
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
68
+ } catch (_) {}
69
+ return (_is_native_reflect_construct = function() {
70
+ return !!result;
71
+ })();
72
+ }
73
+ import { PropertyRules, Property } from '@byteluck-fe/model-driven-core';
74
+ import { ActionSetting, ListHeightSetting } from '../../framework';
75
+ import ReferenceListControl from './designer';
76
+ import { getLocaleText } from '@byteluck-fe/locale-message';
77
+ var ReferenceListPropertyRules = /*#__PURE__*/ function(PropertyRules) {
78
+ "use strict";
79
+ _inherits(ReferenceListPropertyRules, PropertyRules);
80
+ function ReferenceListPropertyRules(props) {
81
+ _class_call_check(this, ReferenceListPropertyRules);
82
+ var _this;
83
+ _this = _call_super(this, ReferenceListPropertyRules, [
84
+ props
85
+ ]), _define_property(_this, "actionSetting", {
86
+ type: 'object',
87
+ fields: {
88
+ dataCode: {
89
+ type: 'string',
90
+ required: true,
91
+ message: getLocaleText('CMD.pleaseEnterDataCode', null, '请绑定业务模型')
92
+ },
93
+ formKey: {
94
+ type: 'string',
95
+ required: true,
96
+ message: getLocaleText('CMD.pleaseEnterList', null, '请绑定列表')
97
+ }
98
+ }
99
+ });
100
+ return _this;
101
+ }
102
+ return ReferenceListPropertyRules;
103
+ }(PropertyRules);
104
+ /**
105
+ * ReferenceList 引用列表
106
+ * @public
107
+ */ var ReferenceListProperty = /*#__PURE__*/ function(Property) {
108
+ "use strict";
109
+ _inherits(ReferenceListProperty, Property);
110
+ function ReferenceListProperty(props) {
111
+ _class_call_check(this, ReferenceListProperty);
112
+ var _this;
113
+ _this = _call_super(this, ReferenceListProperty, [
114
+ props
115
+ ]), // 是否显示查询栏
116
+ _define_property(_this, "isShowSimpleSearch", void 0), // 是否显示工具栏
117
+ _define_property(_this, "isShowToolbar", void 0), //动作设置
118
+ _define_property(_this, "actionSetting", void 0), //列表高度配置
119
+ _define_property(_this, "listHeightSetting", void 0), //列表高度配置
120
+ _define_property(_this, "isHideCaption", void 0);
121
+ var _props_caption;
122
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : ReferenceListControl.controlName;
123
+ var _props_isShowSimpleSearch;
124
+ _this.isShowSimpleSearch = (_props_isShowSimpleSearch = props === null || props === void 0 ? void 0 : props.isShowSimpleSearch) !== null && _props_isShowSimpleSearch !== void 0 ? _props_isShowSimpleSearch : true;
125
+ var _props_isShowToolbar;
126
+ _this.isShowToolbar = (_props_isShowToolbar = props === null || props === void 0 ? void 0 : props.isShowToolbar) !== null && _props_isShowToolbar !== void 0 ? _props_isShowToolbar : true;
127
+ var _props_isHideCaption;
128
+ _this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
129
+ var _ref;
130
+ _this.actionSetting = (_ref = new ActionSetting(props === null || props === void 0 ? void 0 : props.actionSetting)) !== null && _ref !== void 0 ? _ref : new ActionSetting();
131
+ var _ref1;
132
+ _this.listHeightSetting = (_ref1 = new ListHeightSetting(props === null || props === void 0 ? void 0 : props.listHeightSetting)) !== null && _ref1 !== void 0 ? _ref1 : new ListHeightSetting();
133
+ return _this;
134
+ }
135
+ return ReferenceListProperty;
136
+ }(Property);
137
+ _define_property(ReferenceListProperty, "Rules", ReferenceListPropertyRules);
138
+ export default ReferenceListProperty;
139
+ export { ReferenceListProperty, ReferenceListPropertyRules };
@@ -0,0 +1,112 @@
1
+ function _assert_this_initialized(self) {
2
+ if (self === void 0) {
3
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
+ }
5
+ return self;
6
+ }
7
+ function _call_super(_this, derived, args) {
8
+ derived = _get_prototype_of(derived);
9
+ return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
+ }
11
+ function _class_call_check(instance, Constructor) {
12
+ if (!(instance instanceof Constructor)) {
13
+ throw new TypeError("Cannot call a class as a function");
14
+ }
15
+ }
16
+ function _defineProperties(target, props) {
17
+ for(var i = 0; i < props.length; i++){
18
+ var descriptor = props[i];
19
+ descriptor.enumerable = descriptor.enumerable || false;
20
+ descriptor.configurable = true;
21
+ if ("value" in descriptor) descriptor.writable = true;
22
+ Object.defineProperty(target, descriptor.key, descriptor);
23
+ }
24
+ }
25
+ function _create_class(Constructor, protoProps, staticProps) {
26
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
27
+ if (staticProps) _defineProperties(Constructor, staticProps);
28
+ return Constructor;
29
+ }
30
+ function _define_property(obj, key, value) {
31
+ if (key in obj) {
32
+ Object.defineProperty(obj, key, {
33
+ value: value,
34
+ enumerable: true,
35
+ configurable: true,
36
+ writable: true
37
+ });
38
+ } else {
39
+ obj[key] = value;
40
+ }
41
+ return obj;
42
+ }
43
+ function _get_prototype_of(o) {
44
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
45
+ return o.__proto__ || Object.getPrototypeOf(o);
46
+ };
47
+ return _get_prototype_of(o);
48
+ }
49
+ function _inherits(subClass, superClass) {
50
+ if (typeof superClass !== "function" && superClass !== null) {
51
+ throw new TypeError("Super expression must either be null or a function");
52
+ }
53
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
54
+ constructor: {
55
+ value: subClass,
56
+ writable: true,
57
+ configurable: true
58
+ }
59
+ });
60
+ if (superClass) _set_prototype_of(subClass, superClass);
61
+ }
62
+ function _possible_constructor_return(self, call) {
63
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
64
+ return call;
65
+ }
66
+ return _assert_this_initialized(self);
67
+ }
68
+ function _set_prototype_of(o, p) {
69
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
70
+ o.__proto__ = p;
71
+ return o;
72
+ };
73
+ return _set_prototype_of(o, p);
74
+ }
75
+ function _type_of(obj) {
76
+ "@swc/helpers - typeof";
77
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
78
+ }
79
+ function _is_native_reflect_construct() {
80
+ try {
81
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
82
+ } catch (_) {}
83
+ return (_is_native_reflect_construct = function() {
84
+ return !!result;
85
+ })();
86
+ }
87
+ import { RuntimeControl } from '@byteluck-fe/model-driven-core';
88
+ import ReferenceListProperty from './property';
89
+ var ReferenceListControl = /*#__PURE__*/ function(RuntimeControl) {
90
+ "use strict";
91
+ _inherits(ReferenceListControl, RuntimeControl);
92
+ function ReferenceListControl(props) {
93
+ _class_call_check(this, ReferenceListControl);
94
+ var _this;
95
+ _this = _call_super(this, ReferenceListControl, [
96
+ props
97
+ ]), _define_property(_this, "props", void 0);
98
+ _this.props = new ReferenceListProperty(props === null || props === void 0 ? void 0 : props.props);
99
+ return _this;
100
+ }
101
+ _create_class(ReferenceListControl, null, [
102
+ {
103
+ key: "controlType",
104
+ get: function get() {
105
+ return 'reference-list';
106
+ }
107
+ }
108
+ ]);
109
+ return ReferenceListControl;
110
+ }(RuntimeControl);
111
+ export default ReferenceListControl;
112
+ export { ReferenceListControl as RuntimeReferenceListControl };
@@ -86,6 +86,7 @@ function _is_native_reflect_construct() {
86
86
  }
87
87
  import { DesignerButtonControl } from '../Button';
88
88
  import SubmissionRecordListButtonProperty from './property';
89
+ import { getLocaleText } from '@byteluck-fe/locale-message';
89
90
  var SubmissionRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
90
91
  "use strict";
91
92
  _inherits(SubmissionRecordListButtonControl, DesignerButtonControl);
@@ -102,7 +103,7 @@ var SubmissionRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonCon
102
103
  {
103
104
  key: "controlName",
104
105
  get: function get() {
105
- return '批量提交记录';
106
+ return getLocaleText('CMD.submissionRecordListButton', null, '批量提交记录');
106
107
  }
107
108
  },
108
109
  {
@@ -120,6 +121,9 @@ var SubmissionRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonCon
120
121
  ]);
121
122
  return SubmissionRecordListButtonControl;
122
123
  }(DesignerButtonControl);
124
+ _define_property(SubmissionRecordListButtonControl, "slots", [
125
+ 'grid-table-toolbar-slot'
126
+ ]);
123
127
  _define_property(SubmissionRecordListButtonControl, "controlEventKeys", [
124
128
  'on_click'
125
129
  ]);