@byteluck-fe/model-driven-controls 2.23.0-beta.21-zt → 2.23.0-beta.22-dx
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.
- package/dist/esm/baseControls/Text/designer.js +0 -4
- package/dist/esm/baseControls/Text/property.js +1 -3
- package/dist/esm/baseControls/Title/designer.js +4 -9
- package/dist/esm/baseControls/Title/property.js +5 -2
- package/dist/esm/columnControls/index.js +0 -1
- package/dist/esm/formControls/Department2/designer.js +1 -1
- package/dist/esm/formControls/Employee/property.js +3 -3
- package/dist/esm/formControls/Employee2/designer.js +3 -2
- package/dist/esm/formControls/Employee2/property.js +6 -3
- package/dist/esm/formControls/index.js +0 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/Text/property.d.ts +0 -1
- package/dist/types/baseControls/Title/property.d.ts +1 -0
- package/dist/types/columnControls/index.d.ts +0 -1
- package/dist/types/formControls/Employee2/property.d.ts +1 -0
- package/dist/types/formControls/index.d.ts +0 -1
- package/dist/types/type.d.ts +2 -4
- package/package.json +5 -5
- package/dist/esm/columnControls/SignatureColumn/designer.js +0 -120
- package/dist/esm/columnControls/SignatureColumn/index.js +0 -11
- package/dist/esm/columnControls/SignatureColumn/property.js +0 -78
- package/dist/esm/columnControls/SignatureColumn/runtime.js +0 -93
- package/dist/esm/columnControls/SignatureColumn/types.js +0 -0
- package/dist/esm/formControls/HandSignature/designer.js +0 -157
- package/dist/esm/formControls/HandSignature/index.js +0 -11
- package/dist/esm/formControls/HandSignature/property.js +0 -132
- package/dist/esm/formControls/HandSignature/runtime.js +0 -114
- package/dist/esm/formControls/HandSignature/types.js +0 -0
- package/dist/types/columnControls/SignatureColumn/designer.d.ts +0 -14
- package/dist/types/columnControls/SignatureColumn/index.d.ts +0 -12
- package/dist/types/columnControls/SignatureColumn/property.d.ts +0 -6
- package/dist/types/columnControls/SignatureColumn/runtime.d.ts +0 -12
- package/dist/types/columnControls/SignatureColumn/types.d.ts +0 -0
- package/dist/types/formControls/HandSignature/designer.d.ts +0 -14
- package/dist/types/formControls/HandSignature/index.d.ts +0 -12
- package/dist/types/formControls/HandSignature/property.d.ts +0 -19
- package/dist/types/formControls/HandSignature/runtime.d.ts +0 -12
- package/dist/types/formControls/HandSignature/types.d.ts +0 -0
|
@@ -8,7 +8,6 @@ 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';
|
|
12
11
|
export { default as PeopleColumn } from './PeopleColumn';
|
|
13
12
|
export { default as LocationColumn } from './LocationColumn';
|
|
14
13
|
export { default as CustomColumn } from './CustomColumn';
|
|
@@ -27,6 +27,7 @@ declare class Employee2Property extends BaseControlProperty {
|
|
|
27
27
|
externalType: string;
|
|
28
28
|
externalScope: string[];
|
|
29
29
|
openMultistageFilling: boolean;
|
|
30
|
+
mainDeptFlag: boolean;
|
|
30
31
|
constructor(props?: Partial<Employee2Property>);
|
|
31
32
|
}
|
|
32
33
|
export default Employee2Property;
|
|
@@ -24,7 +24,6 @@ export { default as SelectRelation } from './SelectRelation';
|
|
|
24
24
|
export { default as SearchInput } from './SearchInput';
|
|
25
25
|
export { default as Tree } from './Tree';
|
|
26
26
|
export { default as Employee2 } from './Employee2';
|
|
27
|
-
export { default as HandSignature } from './HandSignature';
|
|
28
27
|
export { default as ElectronicSignature } from './ElectronicSignature';
|
|
29
28
|
export { default as WPS } from './WPS';
|
|
30
29
|
export { default as Department2 } from './Department2';
|
package/dist/types/type.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Divider, Text, Link, Button, Title, CreateFormListButton, BatchSubmissionListButton, SubmissionRecordListButton, ImportRecordListButton, ExportRecordListButton, ExportListButton, FormSelectButton, ListSelectButton, Pagination, Dashboard, ListViewSelect, TextOcrButton, InvoiceCheckButton, BatchPrintListButton, BatchPrintRecordListButton, OperationButton, ReferenceList } from './baseControls';
|
|
2
|
-
import { Address, Amount, Attachment, AutoNumber, Checkbox, DatePicker, DateRange, Department, Employee, Image, Input, Number, Radio, Score, Select, SelectMultiple, Textarea, RichText, Calc, SearchNumberRange, SearchDateRange, SearchInput, VueFormItem, SelectRelation, Tree, Employee2, ElectronicSignature, WPS, Department2, OrganizationSelection, VuePage
|
|
2
|
+
import { Address, Amount, Attachment, AutoNumber, Checkbox, DatePicker, DateRange, Department, Employee, Image, Input, Number, Radio, Score, Select, SelectMultiple, Textarea, RichText, Calc, SearchNumberRange, SearchDateRange, SearchInput, VueFormItem, SelectRelation, Tree, Employee2, ElectronicSignature, WPS, Department2, OrganizationSelection, VuePage } from './formControls';
|
|
3
3
|
import { CardGroup, Col, Grid, GridRow, Row, SubTableColumn, SubTableRow, GridTableColumn, GridLayoutContainer, Tab, TabPane, Toolbox, ListView, DataView, Page, AdvancedContainer, PositioningContainer, Position, ActionBar } from './layoutControls';
|
|
4
4
|
import { SubTable, GridTable } from './listControls';
|
|
5
|
-
import { VarcharColumn, TextColumn, DecimalColumn, TimescopeColumn, TimestampColumn, ArrayColumn, DepartmentColumn, AutoNumberColumn, FileColumn, ImageColumn,
|
|
5
|
+
import { VarcharColumn, TextColumn, DecimalColumn, TimescopeColumn, TimestampColumn, ArrayColumn, DepartmentColumn, AutoNumberColumn, FileColumn, ImageColumn, PeopleColumn, LocationColumn, CustomColumn, OrderColumn, OperationColumn, EmployeeColumn, ApprovalStatusColumn } from './columnControls';
|
|
6
6
|
import { SimpleSearch } from './searchControls';
|
|
7
7
|
import { GridLayoutWrap } from './wrapControls';
|
|
8
8
|
declare module '@byteluck-fe/model-driven-core' {
|
|
@@ -62,7 +62,6 @@ declare module '@byteluck-fe/model-driven-core' {
|
|
|
62
62
|
department2: typeof Department2;
|
|
63
63
|
'organization-selection': typeof OrganizationSelection;
|
|
64
64
|
'vue-page': typeof VuePage;
|
|
65
|
-
'signature': typeof HandSignature;
|
|
66
65
|
}
|
|
67
66
|
interface LayoutControls {
|
|
68
67
|
'subtable-column': typeof SubTableColumn;
|
|
@@ -100,7 +99,6 @@ declare module '@byteluck-fe/model-driven-core' {
|
|
|
100
99
|
'auto-number-column': typeof AutoNumberColumn;
|
|
101
100
|
'file-column': typeof FileColumn;
|
|
102
101
|
'image-column': typeof ImageColumn;
|
|
103
|
-
'signature-column': typeof SignatureColumn;
|
|
104
102
|
'people-column': typeof PeopleColumn;
|
|
105
103
|
'location-column': typeof LocationColumn;
|
|
106
104
|
'custom-column': typeof CustomColumn;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-controls",
|
|
3
|
-
"version": "2.23.0-beta.
|
|
3
|
+
"version": "2.23.0-beta.22-dx",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "郝晨光 <2293885211@qq.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"postpublish": "node ../../scripts/postpublish.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@byteluck-fe/model-driven-core": "2.23.0-beta.
|
|
30
|
-
"@byteluck-fe/model-driven-settings": "2.23.0-beta.
|
|
31
|
-
"@byteluck-fe/model-driven-shared": "2.23.0-beta.
|
|
29
|
+
"@byteluck-fe/model-driven-core": "2.23.0-beta.22-dx",
|
|
30
|
+
"@byteluck-fe/model-driven-settings": "2.23.0-beta.22-dx",
|
|
31
|
+
"@byteluck-fe/model-driven-shared": "2.23.0-beta.22-dx",
|
|
32
32
|
"async-validator": "3.5.1"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "e2a82eab774742e40a51384b0943425fee5e5bdb"
|
|
35
35
|
}
|
|
@@ -1,120 +0,0 @@
|
|
|
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 };
|
|
@@ -1,11 +0,0 @@
|
|
|
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';
|
|
@@ -1,78 +0,0 @@
|
|
|
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 };
|
|
@@ -1,93 +0,0 @@
|
|
|
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 };
|
|
File without changes
|
|
@@ -1,157 +0,0 @@
|
|
|
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 { DesignerFormControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
88
|
-
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
89
|
-
import HandSignatureProperty from './property';
|
|
90
|
-
var HandSignatureControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
91
|
-
"use strict";
|
|
92
|
-
_inherits(HandSignatureControl, DesignerFormControl);
|
|
93
|
-
function HandSignatureControl(props) {
|
|
94
|
-
_class_call_check(this, HandSignatureControl);
|
|
95
|
-
var _this;
|
|
96
|
-
_this = _call_super(this, HandSignatureControl, [
|
|
97
|
-
props
|
|
98
|
-
]), _define_property(_this, "props", void 0);
|
|
99
|
-
_this.props = new HandSignatureProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
100
|
-
return _this;
|
|
101
|
-
}
|
|
102
|
-
_create_class(HandSignatureControl, null, [
|
|
103
|
-
{
|
|
104
|
-
key: "controlName",
|
|
105
|
-
get: function get() {
|
|
106
|
-
return '手写签名';
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
key: "controlIcon",
|
|
111
|
-
get: function get() {
|
|
112
|
-
return 'iconsignature';
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
key: "controlType",
|
|
117
|
-
get: function get() {
|
|
118
|
-
return 'signature';
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
]);
|
|
122
|
-
return HandSignatureControl;
|
|
123
|
-
}(DesignerFormControl);
|
|
124
|
-
_define_property(HandSignatureControl, "controlFieldType", FieldTypes.SIGNATURE);
|
|
125
|
-
_define_property(HandSignatureControl, "setting", [
|
|
126
|
-
{
|
|
127
|
-
key: 'data-bind',
|
|
128
|
-
visible: true
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
key: 'caption',
|
|
132
|
-
showItems: [
|
|
133
|
-
COMMON_SETTING_TYPE.CAPTION,
|
|
134
|
-
COMMON_SETTING_TYPE.IS_HIDE_CAPTION
|
|
135
|
-
],
|
|
136
|
-
visible: true
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
key: 'label-position',
|
|
140
|
-
visible: true
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
key: 'select-color',
|
|
144
|
-
visible: true
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
key: 'common-setting',
|
|
148
|
-
visible: true,
|
|
149
|
-
showItems: [
|
|
150
|
-
COMMON_SETTING_TYPE.REQUIRED,
|
|
151
|
-
COMMON_SETTING_TYPE.IS_HIDE,
|
|
152
|
-
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
|
|
153
|
-
]
|
|
154
|
-
}
|
|
155
|
-
]);
|
|
156
|
-
export default HandSignatureControl;
|
|
157
|
-
export { HandSignatureControl as DesignerHandSignatureControl };
|
|
@@ -1,11 +0,0 @@
|
|
|
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';
|