@byteluck-fe/model-driven-controls 5.3.0-1-beta4 → 5.3.1-2-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 (64) hide show
  1. package/dist/esm/baseControls/OperationButton/property.js +4 -1
  2. package/dist/esm/baseControls/Text/designer.js +4 -0
  3. package/dist/esm/baseControls/Text/property.js +3 -1
  4. package/dist/esm/baseControls/Title/designer.js +9 -4
  5. package/dist/esm/baseControls/Title/property.js +2 -5
  6. package/dist/esm/columnControls/EmployeeColumn/designer.js +1 -1
  7. package/dist/esm/columnControls/SignatureColumn/designer.js +120 -0
  8. package/dist/esm/columnControls/SignatureColumn/index.js +11 -0
  9. package/dist/esm/columnControls/SignatureColumn/property.js +78 -0
  10. package/dist/esm/columnControls/SignatureColumn/runtime.js +93 -0
  11. package/dist/esm/columnControls/SignatureColumn/types.js +0 -0
  12. package/dist/esm/columnControls/index.js +1 -0
  13. package/dist/esm/formControls/Address/runtime.js +1 -2
  14. package/dist/esm/formControls/Amount/property.js +1 -1
  15. package/dist/esm/formControls/Department2/designer.js +1 -1
  16. package/dist/esm/formControls/ElectronicSignature/property.js +0 -13
  17. package/dist/esm/formControls/Employee/property.js +1 -1
  18. package/dist/esm/formControls/Employee2/designer.js +1 -7
  19. package/dist/esm/formControls/Employee2/property.js +1 -1
  20. package/dist/esm/formControls/HandSignature/designer.js +157 -0
  21. package/dist/esm/formControls/HandSignature/index.js +11 -0
  22. package/dist/esm/formControls/HandSignature/property.js +134 -0
  23. package/dist/esm/formControls/HandSignature/runtime.js +114 -0
  24. package/dist/esm/formControls/HandSignature/types.js +0 -0
  25. package/dist/esm/formControls/Input/designer.js +8 -0
  26. package/dist/esm/formControls/Input/property.js +12 -1
  27. package/dist/esm/formControls/Number/property.js +1 -1
  28. package/dist/esm/formControls/OrganizationSelection/designer.js +1 -1
  29. package/dist/esm/formControls/RichText/designer.js +8 -0
  30. package/dist/esm/formControls/RichText/property.js +12 -1
  31. package/dist/esm/formControls/Textarea/designer.js +8 -0
  32. package/dist/esm/formControls/Textarea/property.js +24 -1
  33. package/dist/esm/formControls/Tree/designer.js +2 -2
  34. package/dist/esm/formControls/index.js +1 -0
  35. package/dist/esm/framework.js +0 -56
  36. package/dist/esm/layoutControls/AdvancedContainer/Setting.js +3 -4
  37. package/dist/esm/layoutControls/GridTableColumn/designer.js +1 -2
  38. package/dist/esm/layoutControls/Page/Setting.js +5 -6
  39. package/dist/esm/layoutControls/PositioningContainer/Setting.js +3 -4
  40. package/dist/esm/listControls/SubTable/designer.js +0 -1
  41. package/dist/index.umd.js +1 -1
  42. package/dist/types/baseControls/OperationButton/property.d.ts +1 -0
  43. package/dist/types/baseControls/Text/property.d.ts +1 -0
  44. package/dist/types/baseControls/Title/property.d.ts +0 -1
  45. package/dist/types/columnControls/SignatureColumn/designer.d.ts +14 -0
  46. package/dist/types/columnControls/SignatureColumn/index.d.ts +12 -0
  47. package/dist/types/columnControls/SignatureColumn/property.d.ts +6 -0
  48. package/dist/types/columnControls/SignatureColumn/runtime.d.ts +12 -0
  49. package/dist/types/columnControls/SignatureColumn/types.d.ts +0 -0
  50. package/dist/types/columnControls/index.d.ts +1 -0
  51. package/dist/types/formControls/Employee2/designer.d.ts +0 -1
  52. package/dist/types/formControls/HandSignature/designer.d.ts +14 -0
  53. package/dist/types/formControls/HandSignature/index.d.ts +12 -0
  54. package/dist/types/formControls/HandSignature/property.d.ts +19 -0
  55. package/dist/types/formControls/HandSignature/runtime.d.ts +12 -0
  56. package/dist/types/formControls/HandSignature/types.d.ts +0 -0
  57. package/dist/types/formControls/Input/property.d.ts +11 -0
  58. package/dist/types/formControls/RichText/property.d.ts +11 -0
  59. package/dist/types/formControls/Textarea/property.d.ts +11 -0
  60. package/dist/types/formControls/index.d.ts +1 -0
  61. package/dist/types/framework.d.ts +0 -44
  62. package/dist/types/layoutControls/GridTableColumn/designer.d.ts +1 -1
  63. package/dist/types/type.d.ts +4 -2
  64. package/package.json +5 -5
@@ -103,7 +103,8 @@ 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
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;
@@ -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;
@@ -141,6 +141,10 @@ _define_property(TextControl, "setting", [
141
141
  key: 'text-color',
142
142
  visible: true
143
143
  },
144
+ {
145
+ key: 'text-bg-color',
146
+ visible: true
147
+ },
144
148
  {
145
149
  key: 'text-state',
146
150
  visible: true
@@ -81,12 +81,14 @@ var TextProperty = /*#__PURE__*/ function(Property) {
81
81
  _this = _call_super(this, TextProperty, [
82
82
  props
83
83
  ]), // public dataBind: DataBind
84
- _define_property(_this, "content", void 0), _define_property(_this, "fontSize", void 0), _define_property(_this, "color", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "align", void 0), _define_property(_this, "showState", void 0);
84
+ _define_property(_this, "content", void 0), _define_property(_this, "fontSize", void 0), _define_property(_this, "color", void 0), _define_property(_this, "bgColor", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "align", void 0), _define_property(_this, "showState", void 0);
85
85
  var _props_fontSize;
86
86
  // this.dataBind = new DataBind(props?.dataBind)
87
87
  _this.fontSize = (_props_fontSize = props === null || props === void 0 ? void 0 : props.fontSize) !== null && _props_fontSize !== void 0 ? _props_fontSize : '14px';
88
88
  var _props_color;
89
89
  _this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : '#646A73';
90
+ var _props_bgColor;
91
+ _this.bgColor = (_props_bgColor = props === null || props === void 0 ? void 0 : props.bgColor) !== null && _props_bgColor !== void 0 ? _props_bgColor : '#fff';
90
92
  var _props_icon;
91
93
  _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : 'page-hint';
92
94
  var _props_showState;
@@ -124,6 +124,11 @@ var TitleControl = /*#__PURE__*/ function(DesignerControl) {
124
124
  }(DesignerControl);
125
125
  _define_property(TitleControl, "controlFieldType", FieldTypes.AUTO_NUMBER);
126
126
  _define_property(TitleControl, "setting", [
127
+ // {
128
+ // key: 'common-setting',
129
+ // visible: true,
130
+ // showItems: [COMMON_SETTING_TYPE.IS_HIDE],
131
+ // },
127
132
  {
128
133
  key: 'common-setting',
129
134
  visible: true,
@@ -142,10 +147,10 @@ _define_property(TitleControl, "setting", [
142
147
  key: 'title-setting',
143
148
  visible: true
144
149
  },
145
- {
146
- key: 'position',
147
- visible: true
148
- },
150
+ // {
151
+ // key: 'position',
152
+ // visible: true,
153
+ // },
149
154
  {
150
155
  key: 'super-setting',
151
156
  visible: true
@@ -130,7 +130,7 @@ var TitleProperty = /*#__PURE__*/ function(Property) {
130
130
  var _this;
131
131
  _this = _call_super(this, TitleProperty, [
132
132
  props
133
- ]), _define_property(_this, "dataBind", void 0), _define_property(_this, "caption", void 0), _define_property(_this, "config", void 0), _define_property(_this, "position", void 0);
133
+ ]), _define_property(_this, "dataBind", void 0), _define_property(_this, "caption", void 0), _define_property(_this, "config", void 0);
134
134
  _this.dataBind = new DataBind(props === null || props === void 0 ? void 0 : props.dataBind);
135
135
  var _props_config;
136
136
  _this.config = (_props_config = props === null || props === void 0 ? void 0 : props.config) !== null && _props_config !== void 0 ? _props_config : [
@@ -138,13 +138,10 @@ var TitleProperty = /*#__PURE__*/ function(Property) {
138
138
  TitleConfigEnum.ShowSubmitUser,
139
139
  TitleConfigEnum.ShowSubmitDept,
140
140
  TitleConfigEnum.ShowSubmitTime,
141
- TitleConfigEnum.ShowCurrentApprovar,
142
- TitleConfigEnum.ShowTitle
141
+ TitleConfigEnum.ShowCurrentApprovar
143
142
  ];
144
143
  var _props_caption, _ref;
145
144
  _this.caption = (_ref = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTitleControl === null || DesignerTitleControl === void 0 ? void 0 : DesignerTitleControl.controlName) !== null && _ref !== void 0 ? _ref : '';
146
- var _props_position;
147
- _this.position = (_props_position = props === null || props === void 0 ? void 0 : props.position) !== null && _props_position !== void 0 ? _props_position : 'top';
148
145
  return _this;
149
146
  }
150
147
  return TitleProperty;
@@ -107,7 +107,7 @@ var EmployeeColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
107
107
  return [
108
108
  {
109
109
  key: 'displayBoList',
110
- name: getLocaleText('CMD.d9ec1751967128273'),
110
+ name: '显示值',
111
111
  required: true
112
112
  }
113
113
  ];
@@ -0,0 +1,120 @@
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 { DesignerColumnControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
74
+ import SignatureColumnControlProperty from './property';
75
+ import { FieldTypes } from '@byteluck-fe/model-driven-shared';
76
+ var SignatureColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
77
+ "use strict";
78
+ _inherits(SignatureColumnControl, DesignerColumnControl);
79
+ function SignatureColumnControl(props) {
80
+ _class_call_check(this, SignatureColumnControl);
81
+ var _this;
82
+ _this = _call_super(this, SignatureColumnControl, [
83
+ props
84
+ ]), _define_property(_this, "props", void 0);
85
+ _this.props = new SignatureColumnControlProperty(props === null || props === void 0 ? void 0 : props.props);
86
+ return _this;
87
+ }
88
+ return SignatureColumnControl;
89
+ }(DesignerColumnControl);
90
+ _define_property(SignatureColumnControl, "controlType", 'signature-column');
91
+ _define_property(SignatureColumnControl, "controlName", '图片');
92
+ _define_property(SignatureColumnControl, "controlIcon", 'signature-column');
93
+ _define_property(SignatureColumnControl, "controlFieldType", FieldTypes.SIGNATURE);
94
+ _define_property(SignatureColumnControl, "setting", [
95
+ {
96
+ key: 'column-data-bind',
97
+ visible: true
98
+ },
99
+ {
100
+ key: 'caption',
101
+ showItems: [
102
+ COMMON_SETTING_TYPE.CAPTION
103
+ ],
104
+ visible: true
105
+ },
106
+ {
107
+ key: 'column-width',
108
+ visible: true
109
+ },
110
+ {
111
+ key: 'column-fixed',
112
+ visible: true
113
+ },
114
+ {
115
+ key: 'column-sort',
116
+ visible: true
117
+ }
118
+ ]);
119
+ export default SignatureColumnControl;
120
+ export { SignatureColumnControl as DesignerSignatureColumnControl };
@@ -0,0 +1,11 @@
1
+ import Designer from './designer';
2
+ import Runtime from './runtime';
3
+ import Property from './property';
4
+ export default {
5
+ Designer: Designer,
6
+ Runtime: Runtime,
7
+ Property: Property
8
+ };
9
+ export * from './designer';
10
+ export * from './runtime';
11
+ export * from './property';
@@ -0,0 +1,78 @@
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 _get_prototype_of(o) {
17
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
18
+ return o.__proto__ || Object.getPrototypeOf(o);
19
+ };
20
+ return _get_prototype_of(o);
21
+ }
22
+ function _inherits(subClass, superClass) {
23
+ if (typeof superClass !== "function" && superClass !== null) {
24
+ throw new TypeError("Super expression must either be null or a function");
25
+ }
26
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
27
+ constructor: {
28
+ value: subClass,
29
+ writable: true,
30
+ configurable: true
31
+ }
32
+ });
33
+ if (superClass) _set_prototype_of(subClass, superClass);
34
+ }
35
+ function _possible_constructor_return(self, call) {
36
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
37
+ return call;
38
+ }
39
+ return _assert_this_initialized(self);
40
+ }
41
+ function _set_prototype_of(o, p) {
42
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
43
+ o.__proto__ = p;
44
+ return o;
45
+ };
46
+ return _set_prototype_of(o, p);
47
+ }
48
+ function _type_of(obj) {
49
+ "@swc/helpers - typeof";
50
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
51
+ }
52
+ function _is_native_reflect_construct() {
53
+ try {
54
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
55
+ } catch (_) {}
56
+ return (_is_native_reflect_construct = function() {
57
+ return !!result;
58
+ })();
59
+ }
60
+ import { ColumnControlProperty } from '@byteluck-fe/model-driven-core';
61
+ import { DesignerSignatureColumnControl } from './designer';
62
+ var SignatureColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
63
+ "use strict";
64
+ _inherits(SignatureColumnControlProperty, ColumnControlProperty);
65
+ function SignatureColumnControlProperty(props) {
66
+ _class_call_check(this, SignatureColumnControlProperty);
67
+ var _this;
68
+ _this = _call_super(this, SignatureColumnControlProperty, [
69
+ props
70
+ ]);
71
+ var _props_caption;
72
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerSignatureColumnControl.controlName;
73
+ return _this;
74
+ }
75
+ return SignatureColumnControlProperty;
76
+ }(ColumnControlProperty);
77
+ export default SignatureColumnControlProperty;
78
+ export { SignatureColumnControlProperty };
@@ -0,0 +1,93 @@
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 { RuntimeColumnControl } from '@byteluck-fe/model-driven-core';
74
+ import SignatureColumnControlProperty from './property';
75
+ import { FieldTypes } from '@byteluck-fe/model-driven-shared';
76
+ var SignatureColumnControl = /*#__PURE__*/ function(RuntimeColumnControl) {
77
+ "use strict";
78
+ _inherits(SignatureColumnControl, RuntimeColumnControl);
79
+ function SignatureColumnControl(props) {
80
+ _class_call_check(this, SignatureColumnControl);
81
+ var _this;
82
+ _this = _call_super(this, SignatureColumnControl, [
83
+ props
84
+ ]), _define_property(_this, "props", void 0);
85
+ _this.props = new SignatureColumnControlProperty(props === null || props === void 0 ? void 0 : props.props);
86
+ return _this;
87
+ }
88
+ return SignatureColumnControl;
89
+ }(RuntimeColumnControl);
90
+ _define_property(SignatureColumnControl, "controlType", 'signature-column');
91
+ _define_property(SignatureColumnControl, "controlFieldType", FieldTypes.SIGNATURE);
92
+ export default SignatureColumnControl;
93
+ export { SignatureColumnControl as RuntimeSignatureColumnControl };
@@ -8,6 +8,7 @@ export { default as DepartmentColumn } from './DepartmentColumn';
8
8
  export { default as AutoNumberColumn } from './AutoNumberColumn';
9
9
  export { default as FileColumn } from './FileColumn';
10
10
  export { default as ImageColumn } from './ImageColumn';
11
+ export { default as SignatureColumn } from './SignatureColumn';
11
12
  export { default as PeopleColumn } from './PeopleColumn';
12
13
  export { default as LocationColumn } from './LocationColumn';
13
14
  export { default as CustomColumn } from './CustomColumn';
@@ -84,7 +84,6 @@ function _is_native_reflect_construct() {
84
84
  return !!result;
85
85
  })();
86
86
  }
87
- import { getLocaleText } from '@byteluck-fe/locale-message';
88
87
  import { RuntimeFormControl } from '@byteluck-fe/model-driven-core';
89
88
  import { FieldTypes } from '@byteluck-fe/model-driven-shared';
90
89
  import AddressProperty from './property';
@@ -104,7 +103,7 @@ var AddressControl = /*#__PURE__*/ function(RuntimeFormControl) {
104
103
  {
105
104
  key: "controlName",
106
105
  get: function get() {
107
- return getLocaleText('CMD.2f2b1751967130347');
106
+ return '省市区';
108
107
  }
109
108
  },
110
109
  {
@@ -182,7 +182,7 @@ var AmountPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRunti
182
182
  message: getLocaleText(amountMax === undefined ? 'CMD.pleaseEnterAValueGreaterThanMin' : amountMin === undefined ? 'CMD.pleaseEnterAValueLessThanMax' : 'CMD.pleaseEnterNumberRange', {
183
183
  max: amountMax,
184
184
  min: amountMin
185
- }, amountMax === undefined ? getLocaleText('CMD.b19e1751967102651') : amountMin === undefined ? getLocaleText('CMD.2ef91751967105043') : getLocaleText('CMD.a1921751967096873'))
185
+ }, amountMax === undefined ? '请输入大于等于{min}的数值' : amountMin === undefined ? '请输入小于等于{max}的数值' : '请输入大于等于{min}且小于等于{max}的数值')
186
186
  }
187
187
  ],
188
188
  currency: {
@@ -155,7 +155,7 @@ var Department2Control = /*#__PURE__*/ function(DesignerFormControl) {
155
155
  return [
156
156
  {
157
157
  key: 'displayBoList',
158
- name: getLocaleText('CMD.cf901751967128274'),
158
+ name: '显示值',
159
159
  required: true
160
160
  }
161
161
  ];
@@ -141,19 +141,6 @@ var ElectronicSignatureControlPropertyRules = /*#__PURE__*/ function(BaseControl
141
141
  callback();
142
142
  }
143
143
  },
144
- indexSignature: {
145
- type: 'object',
146
- required: true,
147
- validator: function validator(rule, value, callback) {
148
- // 是外部,就需要校验
149
- // 数组长度为0,就是错误的
150
- if ((current === null || current === void 0 ? void 0 : current.signaturePosition) === 'index' && isArray(value.value) && value.value.length === 0) {
151
- callback(getLocaleText('CMD.pleaseSelect', null, '请选择'));
152
- return;
153
- }
154
- callback();
155
- }
156
- },
157
144
  company: {
158
145
  type: 'object',
159
146
  required: true,
@@ -120,7 +120,7 @@ var EmployeeProperty = /*#__PURE__*/ function(BaseControlProperty) {
120
120
  var _props_caption;
121
121
  _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : EmployeeControl.controlName;
122
122
  var _props_placeholder;
123
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnterNameorEmail', null, '请输入人员姓名或邮箱');
123
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnterNameorEmail', null, '请输入姓名或者e通账号');
124
124
  var _props_openMultistageFilling;
125
125
  _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
126
126
  _this.multistageFilling = [];
@@ -125,7 +125,7 @@ var Employee2Control = /*#__PURE__*/ function(DesignerFormControl) {
125
125
  return [
126
126
  {
127
127
  key: 'displayBoList',
128
- name: getLocaleText('CMD.17131751967128275'),
128
+ name: '显示值',
129
129
  required: true
130
130
  }
131
131
  ];
@@ -135,12 +135,6 @@ var Employee2Control = /*#__PURE__*/ function(DesignerFormControl) {
135
135
  return Employee2Control;
136
136
  }(DesignerFormControl);
137
137
  _define_property(Employee2Control, "controlFieldType", FieldTypes.EMPLOYEES);
138
- _define_property(Employee2Control, "controlEventKeys", [
139
- 'on_change',
140
- 'on_focus',
141
- 'on_blur',
142
- 'on_option_selected'
143
- ]);
144
138
  _define_property(Employee2Control, "setting", [
145
139
  {
146
140
  key: 'data-bind',
@@ -154,7 +154,7 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
154
154
  var _props_caption;
155
155
  _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : Employee2Control.controlName;
156
156
  var _props_placeholder;
157
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnterNameorEmail', null, '请输入人员姓名或邮箱');
157
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnterNameorEmail', null, '请输入姓名或者e通账号');
158
158
  var _props_datasourceBind;
159
159
  _this.datasourceBind = new SuperDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
160
160
  attributes: Employee2Control.controlCustomAttributes