@byteluck-fe/model-driven-controls 2.3.1-beta.8 → 2.3.1
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/BatchDeleteButton/designer.js +18 -4
- package/dist/esm/baseControls/BatchDeleteButton/property.js +22 -0
- package/dist/esm/baseControls/BatchDeleteButton/runtime.js +14 -0
- package/dist/esm/baseControls/BatchPrintListButton/designer.js +18 -4
- package/dist/esm/baseControls/BatchPrintListButton/property.js +19 -3
- package/dist/esm/baseControls/BatchPrintListButton/runtime.js +14 -0
- package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +18 -4
- package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +14 -0
- package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +18 -4
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +28 -3
- package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +14 -0
- package/dist/esm/baseControls/Button/designer.js +18 -4
- package/dist/esm/baseControls/Button/property.js +22 -0
- package/dist/esm/baseControls/Button/runtime.js +14 -0
- package/dist/esm/baseControls/CreateFormListButton/designer.js +18 -4
- package/dist/esm/baseControls/CreateFormListButton/property.js +18 -3
- package/dist/esm/baseControls/CreateFormListButton/runtime.js +14 -0
- package/dist/esm/baseControls/Dashboard/designer.js +16 -2
- package/dist/esm/baseControls/Dashboard/property.js +30 -11
- package/dist/esm/baseControls/Dashboard/runtime.js +14 -0
- package/dist/esm/baseControls/Divider/designer.js +16 -2
- package/dist/esm/baseControls/Divider/property.js +15 -0
- package/dist/esm/baseControls/Divider/runtime.js +14 -0
- package/dist/esm/baseControls/ExportListButton/designer.js +18 -4
- package/dist/esm/baseControls/ExportListButton/property.js +14 -0
- package/dist/esm/baseControls/ExportListButton/runtime.js +14 -0
- package/dist/esm/baseControls/ExportRecordListButton/designer.js +18 -4
- package/dist/esm/baseControls/ExportRecordListButton/runtime.js +14 -0
- package/dist/esm/baseControls/FormSelectButton/designer.js +18 -4
- package/dist/esm/baseControls/FormSelectButton/property.js +11 -7
- package/dist/esm/baseControls/FormSelectButton/runtime.js +14 -0
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +18 -4
- package/dist/esm/baseControls/ImportRecordListButton/property.js +17 -0
- package/dist/esm/baseControls/ImportRecordListButton/runtime.js +14 -0
- package/dist/esm/baseControls/InvoiceCheckButton/designer.js +18 -4
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +33 -13
- package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +14 -0
- package/dist/esm/baseControls/Link/designer.js +18 -4
- package/dist/esm/baseControls/Link/property.js +16 -0
- package/dist/esm/baseControls/Link/runtime.js +14 -0
- package/dist/esm/baseControls/ListSelectButton/designer.js +18 -4
- package/dist/esm/baseControls/ListSelectButton/property.js +19 -7
- package/dist/esm/baseControls/ListSelectButton/runtime.js +14 -0
- package/dist/esm/baseControls/ListViewSelect/designer.js +16 -2
- package/dist/esm/baseControls/ListViewSelect/property.js +20 -5
- package/dist/esm/baseControls/ListViewSelect/runtime.js +14 -0
- package/dist/esm/baseControls/OperationButton/designer.js +18 -4
- package/dist/esm/baseControls/OperationButton/property.js +29 -3
- package/dist/esm/baseControls/OperationButton/runtime.js +14 -0
- package/dist/esm/baseControls/Pagination/designer.js +15 -1
- package/dist/esm/baseControls/Pagination/property.js +15 -2
- package/dist/esm/baseControls/Pagination/runtime.js +14 -0
- package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +18 -4
- package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +14 -0
- package/dist/esm/baseControls/Text/designer.js +16 -2
- package/dist/esm/baseControls/Text/property.js +19 -0
- package/dist/esm/baseControls/Text/runtime.js +14 -0
- package/dist/esm/baseControls/TextOcrButton/designer.js +18 -4
- package/dist/esm/baseControls/TextOcrButton/property.js +33 -13
- package/dist/esm/baseControls/TextOcrButton/runtime.js +14 -0
- package/dist/esm/baseControls/Title/designer.js +17 -3
- package/dist/esm/baseControls/Title/property.js +24 -7
- package/dist/esm/baseControls/Title/runtime.js +14 -0
- package/dist/esm/columnControls/ArrayColumn/designer.js +20 -6
- package/dist/esm/columnControls/ArrayColumn/property.js +28 -1
- package/dist/esm/columnControls/ArrayColumn/runtime.js +16 -2
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +20 -6
- package/dist/esm/columnControls/AutoNumberColumn/runtime.js +16 -2
- package/dist/esm/columnControls/CustomColumn/designer.js +58 -30
- package/dist/esm/columnControls/CustomColumn/property.js +14 -0
- package/dist/esm/columnControls/CustomColumn/runtime.js +16 -1
- package/dist/esm/columnControls/DecimalColumn/designer.js +47 -15
- package/dist/esm/columnControls/DecimalColumn/property.js +42 -0
- package/dist/esm/columnControls/DecimalColumn/runtime.js +16 -2
- package/dist/esm/columnControls/DepartmentColumn/designer.js +46 -14
- package/dist/esm/columnControls/DepartmentColumn/property.js +18 -0
- package/dist/esm/columnControls/DepartmentColumn/runtime.js +16 -2
- package/dist/esm/columnControls/EmployeeColumn/designer.js +20 -6
- package/dist/esm/columnControls/EmployeeColumn/property.js +17 -0
- package/dist/esm/columnControls/EmployeeColumn/runtime.js +16 -2
- package/dist/esm/columnControls/FileColumn/designer.js +20 -6
- package/dist/esm/columnControls/FileColumn/runtime.js +16 -2
- package/dist/esm/columnControls/ImageColumn/designer.js +20 -6
- package/dist/esm/columnControls/ImageColumn/runtime.js +16 -2
- package/dist/esm/columnControls/LocationColumn/designer.js +20 -6
- package/dist/esm/columnControls/LocationColumn/runtime.js +16 -2
- package/dist/esm/columnControls/OperationColumn/designer.js +84 -58
- package/dist/esm/columnControls/OperationColumn/property.js +28 -0
- package/dist/esm/columnControls/OperationColumn/runtime.js +17 -2
- package/dist/esm/columnControls/OrderColumn/designer.js +19 -5
- package/dist/esm/columnControls/OrderColumn/property.js +14 -1
- package/dist/esm/columnControls/OrderColumn/runtime.js +16 -2
- package/dist/esm/columnControls/PeopleColumn/designer.js +20 -6
- package/dist/esm/columnControls/PeopleColumn/runtime.js +16 -2
- package/dist/esm/columnControls/TextColumn/designer.js +46 -14
- package/dist/esm/columnControls/TextColumn/property.js +23 -0
- package/dist/esm/columnControls/TextColumn/runtime.js +16 -2
- package/dist/esm/columnControls/TimescopeColumn/designer.js +46 -14
- package/dist/esm/columnControls/TimescopeColumn/property.js +18 -0
- package/dist/esm/columnControls/TimescopeColumn/runtime.js +16 -2
- package/dist/esm/columnControls/TimestampColumn/designer.js +46 -14
- package/dist/esm/columnControls/TimestampColumn/property.js +18 -0
- package/dist/esm/columnControls/TimestampColumn/runtime.js +16 -2
- package/dist/esm/columnControls/VarcharColumn/designer.js +20 -6
- package/dist/esm/columnControls/VarcharColumn/property.js +31 -1
- package/dist/esm/columnControls/VarcharColumn/runtime.js +16 -2
- package/dist/esm/formControls/Address/designer.js +17 -3
- package/dist/esm/formControls/Address/property.js +20 -1
- package/dist/esm/formControls/Address/runtime.js +15 -1
- package/dist/esm/formControls/Amount/designer.js +32 -15
- package/dist/esm/formControls/Amount/property.js +39 -6
- package/dist/esm/formControls/Amount/runtime.js +15 -1
- package/dist/esm/formControls/Attachment/designer.js +19 -5
- package/dist/esm/formControls/Attachment/property.js +26 -4
- package/dist/esm/formControls/Attachment/runtime.js +15 -1
- package/dist/esm/formControls/AutoNumber/designer.js +19 -5
- package/dist/esm/formControls/AutoNumber/property.js +14 -0
- package/dist/esm/formControls/AutoNumber/runtime.js +15 -1
- package/dist/esm/formControls/Calc/designer.js +32 -15
- package/dist/esm/formControls/Calc/property.js +36 -2
- package/dist/esm/formControls/Calc/runtime.js +15 -1
- package/dist/esm/formControls/Checkbox/designer.js +19 -5
- package/dist/esm/formControls/Checkbox/property.js +40 -4
- package/dist/esm/formControls/Checkbox/runtime.js +15 -1
- package/dist/esm/formControls/DatePicker/designer.js +29 -12
- package/dist/esm/formControls/DatePicker/property.js +25 -0
- package/dist/esm/formControls/DatePicker/runtime.js +15 -1
- package/dist/esm/formControls/DateRange/designer.js +29 -12
- package/dist/esm/formControls/DateRange/property.js +27 -1
- package/dist/esm/formControls/DateRange/runtime.js +15 -1
- package/dist/esm/formControls/Department/designer.js +30 -13
- package/dist/esm/formControls/Department/property.js +43 -1
- package/dist/esm/formControls/Department/runtime.js +15 -1
- package/dist/esm/formControls/Department2/designer.js +30 -13
- package/dist/esm/formControls/Department2/property.js +59 -6
- package/dist/esm/formControls/Department2/runtime.js +15 -1
- package/dist/esm/formControls/ElectronicSignature/designer.js +19 -5
- package/dist/esm/formControls/ElectronicSignature/property.js +23 -3
- package/dist/esm/formControls/ElectronicSignature/runtime.js +15 -1
- package/dist/esm/formControls/Employee/designer.js +17 -3
- package/dist/esm/formControls/Employee/property.js +29 -1
- package/dist/esm/formControls/Employee/runtime.js +15 -1
- package/dist/esm/formControls/Employee2/designer.js +17 -3
- package/dist/esm/formControls/Employee2/property.js +43 -6
- package/dist/esm/formControls/Employee2/runtime.js +15 -1
- package/dist/esm/formControls/Image/designer.js +16 -3
- package/dist/esm/formControls/Input/designer.js +19 -5
- package/dist/esm/formControls/Input/property.js +50 -8
- package/dist/esm/formControls/Input/runtime.js +15 -1
- package/dist/esm/formControls/Number/designer.js +32 -15
- package/dist/esm/formControls/Number/property.js +78 -6
- package/dist/esm/formControls/Number/runtime.js +15 -1
- package/dist/esm/formControls/Radio/designer.js +19 -5
- package/dist/esm/formControls/Radio/property.js +33 -1
- package/dist/esm/formControls/Radio/runtime.js +15 -1
- package/dist/esm/formControls/RichText/designer.js +19 -5
- package/dist/esm/formControls/RichText/property.js +24 -8
- package/dist/esm/formControls/RichText/runtime.js +15 -1
- package/dist/esm/formControls/Score/designer.js +38 -21
- package/dist/esm/formControls/Score/property.js +24 -6
- package/dist/esm/formControls/Score/runtime.js +15 -1
- package/dist/esm/formControls/SearchDateRange/designer.js +17 -3
- package/dist/esm/formControls/SearchDateRange/property.js +26 -1
- package/dist/esm/formControls/SearchDateRange/runtime.js +15 -1
- package/dist/esm/formControls/SearchInput/designer.js +16 -2
- package/dist/esm/formControls/SearchInput/runtime.js +15 -1
- package/dist/esm/formControls/SearchNumberRange/designer.js +17 -3
- package/dist/esm/formControls/SearchNumberRange/property.js +21 -1
- package/dist/esm/formControls/SearchNumberRange/runtime.js +15 -1
- package/dist/esm/formControls/Select/designer.js +17 -3
- package/dist/esm/formControls/Select/property.js +25 -1
- package/dist/esm/formControls/Select/runtime.js +15 -1
- package/dist/esm/formControls/SelectMultiple/designer.js +17 -3
- package/dist/esm/formControls/SelectMultiple/property.js +24 -2
- package/dist/esm/formControls/SelectMultiple/runtime.js +15 -1
- package/dist/esm/formControls/SelectRelation/designer.js +19 -5
- package/dist/esm/formControls/SelectRelation/property.js +57 -3
- package/dist/esm/formControls/SelectRelation/runtime.js +15 -1
- package/dist/esm/formControls/Textarea/designer.js +19 -5
- package/dist/esm/formControls/Textarea/property.js +41 -8
- package/dist/esm/formControls/Textarea/runtime.js +15 -1
- package/dist/esm/formControls/Tree/designer.js +19 -5
- package/dist/esm/formControls/Tree/property.js +32 -6
- package/dist/esm/formControls/Tree/runtime.js +15 -1
- package/dist/esm/formControls/VueFormItem/designer.js +18 -4
- package/dist/esm/formControls/VueFormItem/property.js +19 -2
- package/dist/esm/formControls/VueFormItem/runtime.js +15 -1
- package/dist/esm/formControls/WPS/designer.js +19 -5
- package/dist/esm/formControls/WPS/property.js +32 -6
- package/dist/esm/formControls/WPS/runtime.js +15 -1
- package/dist/esm/framework.js +80 -0
- package/dist/esm/layoutControls/AdvancedContainer/property.js +15 -0
- package/dist/esm/layoutControls/CardGroup/designer.js +18 -4
- package/dist/esm/layoutControls/CardGroup/property.js +23 -3
- package/dist/esm/layoutControls/CardGroup/runtime.js +14 -0
- package/dist/esm/layoutControls/Col/designer.js +17 -3
- package/dist/esm/layoutControls/Col/property.js +15 -0
- package/dist/esm/layoutControls/Col/runtime.js +14 -0
- package/dist/esm/layoutControls/DataView/designer.js +15 -1
- package/dist/esm/layoutControls/DataView/property.js +28 -1
- package/dist/esm/layoutControls/DataView/runtime.js +14 -0
- package/dist/esm/layoutControls/Grid/designer.js +15 -2
- package/dist/esm/layoutControls/GridRow/designer.js +17 -4
- package/dist/esm/layoutControls/GridTableColumn/designer.js +22 -8
- package/dist/esm/layoutControls/GridTableColumn/property.js +26 -0
- package/dist/esm/layoutControls/GridTableColumn/runtime.js +15 -1
- package/dist/esm/layoutControls/ListView/designer.js +20 -6
- package/dist/esm/layoutControls/ListView/property.js +72 -6
- package/dist/esm/layoutControls/ListView/runtime.js +14 -0
- package/dist/esm/layoutControls/Page/property.js +18 -4
- package/dist/esm/layoutControls/Position/property.js +17 -0
- package/dist/esm/layoutControls/Row/designer.js +18 -4
- package/dist/esm/layoutControls/Row/property.js +15 -0
- package/dist/esm/layoutControls/Row/runtime.js +14 -0
- package/dist/esm/layoutControls/SubTableColumn/designer.js +22 -8
- package/dist/esm/layoutControls/SubTableColumn/property.js +39 -7
- package/dist/esm/layoutControls/SubTableColumn/runtime.js +15 -1
- package/dist/esm/layoutControls/SubTableRow/designer.js +22 -8
- package/dist/esm/layoutControls/SubTableRow/runtime.js +14 -0
- package/dist/esm/layoutControls/Tab/designer.js +20 -6
- package/dist/esm/layoutControls/Tab/runtime.js +14 -0
- package/dist/esm/layoutControls/TabPane/designer.js +18 -4
- package/dist/esm/layoutControls/TabPane/property.js +17 -3
- package/dist/esm/layoutControls/TabPane/runtime.js +14 -0
- package/dist/esm/layoutControls/Toolbox/designer.js +16 -2
- package/dist/esm/listControls/GridTable/designer.js +52 -44
- package/dist/esm/listControls/GridTable/property.js +37 -0
- package/dist/esm/listControls/GridTable/runtime.js +35 -12
- package/dist/esm/listControls/SubTable/designer.js +32 -15
- package/dist/esm/listControls/SubTable/property.js +133 -13
- package/dist/esm/listControls/SubTable/runtime.js +29 -9
- package/dist/esm/searchControls/SimpleSearch/designer.js +17 -3
- package/dist/esm/searchControls/SimpleSearch/property.js +43 -1
- package/dist/esm/searchControls/SimpleSearch/runtime.js +16 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/listControls/SubTable/property.d.ts +1 -1
- package/package.json +5 -5
|
@@ -9,6 +9,19 @@ function _classCallCheck(instance, Constructor) {
|
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
+
function _defineProperty(obj, key, value) {
|
|
13
|
+
if (key in obj) {
|
|
14
|
+
Object.defineProperty(obj, key, {
|
|
15
|
+
value: value,
|
|
16
|
+
enumerable: true,
|
|
17
|
+
configurable: true,
|
|
18
|
+
writable: true
|
|
19
|
+
});
|
|
20
|
+
} else {
|
|
21
|
+
obj[key] = value;
|
|
22
|
+
}
|
|
23
|
+
return obj;
|
|
24
|
+
}
|
|
12
25
|
function _getPrototypeOf(o) {
|
|
13
26
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
14
27
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
@@ -81,15 +94,15 @@ var Department2PropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules)
|
|
|
81
94
|
_classCallCheck(this, Department2PropertyRules);
|
|
82
95
|
var _this;
|
|
83
96
|
_this = _super.call(this, props);
|
|
84
|
-
_this
|
|
97
|
+
_defineProperty(_assertThisInitialized(_this), "datasourceBind", [
|
|
85
98
|
{
|
|
86
99
|
type: "object",
|
|
87
100
|
message: RulesMessage.getMessage("isNotObject")
|
|
88
101
|
}
|
|
89
|
-
];
|
|
90
|
-
_this
|
|
102
|
+
]);
|
|
103
|
+
_defineProperty(_assertThisInitialized(_this), "businessScope", {
|
|
91
104
|
type: "any"
|
|
92
|
-
};
|
|
105
|
+
});
|
|
93
106
|
initSuperDataSourceRules.call(_assertThisInitialized(_this), props, Department2Control.controlCustomAttributes);
|
|
94
107
|
if (props.businessType === AssignType.ASSIGN) {
|
|
95
108
|
_this.businessScope = {
|
|
@@ -123,6 +136,46 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
123
136
|
_classCallCheck(this, Department2Property);
|
|
124
137
|
var _this;
|
|
125
138
|
_this = _super.call(this, props);
|
|
139
|
+
/**
|
|
140
|
+
* 展示类型: 默认形式 / 树状部门
|
|
141
|
+
* */ _defineProperty(_assertThisInitialized(_this), "showType", void 0);
|
|
142
|
+
/**
|
|
143
|
+
* 部门范围: 所有部门 / 指定部门
|
|
144
|
+
* */ _defineProperty(_assertThisInitialized(_this), "range", void 0);
|
|
145
|
+
/**
|
|
146
|
+
* 默认值类型:发起人部门/ 指定部门 /无
|
|
147
|
+
*/ _defineProperty(_assertThisInitialized(_this), "defaultValueType", void 0);
|
|
148
|
+
/**
|
|
149
|
+
* 部门多选
|
|
150
|
+
* */ _defineProperty(_assertThisInitialized(_this), "multiple", void 0);
|
|
151
|
+
/**
|
|
152
|
+
* 指定部门范围
|
|
153
|
+
* */ _defineProperty(_assertThisInitialized(_this), "rangeOptions", void 0);
|
|
154
|
+
/**
|
|
155
|
+
* 默认值
|
|
156
|
+
* */ _defineProperty(_assertThisInitialized(_this), "defaultValue", void 0);
|
|
157
|
+
/**
|
|
158
|
+
* 部门显示层级
|
|
159
|
+
* */ _defineProperty(_assertThisInitialized(_this), "displayLevel", void 0);
|
|
160
|
+
/**
|
|
161
|
+
* 是否展示子部门
|
|
162
|
+
* */ _defineProperty(_assertThisInitialized(_this), "showSubDept", void 0);
|
|
163
|
+
/**
|
|
164
|
+
* 多级填充
|
|
165
|
+
* */ _defineProperty(_assertThisInitialized(_this), "multistageFilling", void 0);
|
|
166
|
+
/**
|
|
167
|
+
* 数据设置
|
|
168
|
+
* */ _defineProperty(_assertThisInitialized(_this), "datasourceBind", void 0);
|
|
169
|
+
/**
|
|
170
|
+
* 数据类型 行政 or 业务
|
|
171
|
+
* */ _defineProperty(_assertThisInitialized(_this), "datasourceType", void 0 //数据类型 行政 'administration'| 业务 'business'
|
|
172
|
+
);
|
|
173
|
+
_defineProperty(_assertThisInitialized(_this), "businessType", void 0 //业务部门类型 'all' | 'assign'
|
|
174
|
+
);
|
|
175
|
+
_defineProperty(_assertThisInitialized(_this), "businessScope", void 0 //业务部门范围
|
|
176
|
+
);
|
|
177
|
+
_defineProperty(_assertThisInitialized(_this), "openMultistageFilling", void 0 //是否开启填充
|
|
178
|
+
);
|
|
126
179
|
var _props_showType;
|
|
127
180
|
_this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "default";
|
|
128
181
|
var _props_multiple;
|
|
@@ -166,7 +219,7 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
166
219
|
}
|
|
167
220
|
return Department2Property;
|
|
168
221
|
}(BaseControlProperty);
|
|
169
|
-
Department2Property
|
|
170
|
-
Department2Property
|
|
222
|
+
_defineProperty(Department2Property, "Rules", Department2PropertyRules);
|
|
223
|
+
_defineProperty(Department2Property, "RuntimeRules", Department2PropertyRuntimeRules);
|
|
171
224
|
export default Department2Property;
|
|
172
225
|
export { Department2Property, Department2PropertyRuntimeRules };
|
|
@@ -23,6 +23,19 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
23
23
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
24
|
return Constructor;
|
|
25
25
|
}
|
|
26
|
+
function _defineProperty(obj, key, value) {
|
|
27
|
+
if (key in obj) {
|
|
28
|
+
Object.defineProperty(obj, key, {
|
|
29
|
+
value: value,
|
|
30
|
+
enumerable: true,
|
|
31
|
+
configurable: true,
|
|
32
|
+
writable: true
|
|
33
|
+
});
|
|
34
|
+
} else {
|
|
35
|
+
obj[key] = value;
|
|
36
|
+
}
|
|
37
|
+
return obj;
|
|
38
|
+
}
|
|
26
39
|
function _getPrototypeOf(o) {
|
|
27
40
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
28
41
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
@@ -94,6 +107,7 @@ var Department2Control = /*#__PURE__*/ function(RuntimeFormControl) {
|
|
|
94
107
|
_classCallCheck(this, Department2Control);
|
|
95
108
|
var _this;
|
|
96
109
|
_this = _super.call(this, props);
|
|
110
|
+
_defineProperty(_assertThisInitialized(_this), "props", void 0);
|
|
97
111
|
_this.props = new Department2Property(props === null || props === void 0 ? void 0 : props.props);
|
|
98
112
|
return _this;
|
|
99
113
|
}
|
|
@@ -107,6 +121,6 @@ var Department2Control = /*#__PURE__*/ function(RuntimeFormControl) {
|
|
|
107
121
|
]);
|
|
108
122
|
return Department2Control;
|
|
109
123
|
}(RuntimeFormControl);
|
|
110
|
-
Department2Control
|
|
124
|
+
_defineProperty(Department2Control, "controlFieldType", FieldTypes.DEPARTMENTS);
|
|
111
125
|
export default Department2Control;
|
|
112
126
|
export { Department2Control as RuntimeDepartment2Control };
|
|
@@ -23,6 +23,19 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
23
23
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
24
|
return Constructor;
|
|
25
25
|
}
|
|
26
|
+
function _defineProperty(obj, key, value) {
|
|
27
|
+
if (key in obj) {
|
|
28
|
+
Object.defineProperty(obj, key, {
|
|
29
|
+
value: value,
|
|
30
|
+
enumerable: true,
|
|
31
|
+
configurable: true,
|
|
32
|
+
writable: true
|
|
33
|
+
});
|
|
34
|
+
} else {
|
|
35
|
+
obj[key] = value;
|
|
36
|
+
}
|
|
37
|
+
return obj;
|
|
38
|
+
}
|
|
26
39
|
function _getPrototypeOf(o) {
|
|
27
40
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
28
41
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
@@ -94,6 +107,7 @@ var ElectronicSignatureControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
94
107
|
_classCallCheck(this, ElectronicSignatureControl);
|
|
95
108
|
var _this;
|
|
96
109
|
_this = _super.call(this, props);
|
|
110
|
+
_defineProperty(_assertThisInitialized(_this), "props", void 0);
|
|
97
111
|
_this.props = new ElectronicSignatureProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
98
112
|
return _this;
|
|
99
113
|
}
|
|
@@ -119,12 +133,12 @@ var ElectronicSignatureControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
119
133
|
]);
|
|
120
134
|
return ElectronicSignatureControl;
|
|
121
135
|
}(DesignerFormControl);
|
|
122
|
-
ElectronicSignatureControl
|
|
136
|
+
_defineProperty(ElectronicSignatureControl, "controlEventKeys", [
|
|
123
137
|
"on_click",
|
|
124
138
|
"on_click_finish"
|
|
125
|
-
];
|
|
126
|
-
ElectronicSignatureControl
|
|
127
|
-
ElectronicSignatureControl
|
|
139
|
+
]);
|
|
140
|
+
_defineProperty(ElectronicSignatureControl, "controlFieldType", FieldTypes.VARCHAR);
|
|
141
|
+
_defineProperty(ElectronicSignatureControl, "setting", [
|
|
128
142
|
{
|
|
129
143
|
key: "data-bind",
|
|
130
144
|
visible: true
|
|
@@ -172,6 +186,6 @@ ElectronicSignatureControl.setting = [
|
|
|
172
186
|
key: "super-setting",
|
|
173
187
|
visible: true
|
|
174
188
|
}
|
|
175
|
-
];
|
|
189
|
+
]);
|
|
176
190
|
export default ElectronicSignatureControl;
|
|
177
191
|
export { ElectronicSignatureControl as DesignerElectronicSignatureControl };
|
|
@@ -9,6 +9,19 @@ function _classCallCheck(instance, Constructor) {
|
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
+
function _defineProperty(obj, key, value) {
|
|
13
|
+
if (key in obj) {
|
|
14
|
+
Object.defineProperty(obj, key, {
|
|
15
|
+
value: value,
|
|
16
|
+
enumerable: true,
|
|
17
|
+
configurable: true,
|
|
18
|
+
writable: true
|
|
19
|
+
});
|
|
20
|
+
} else {
|
|
21
|
+
obj[key] = value;
|
|
22
|
+
}
|
|
23
|
+
return obj;
|
|
24
|
+
}
|
|
12
25
|
function _getPrototypeOf(o) {
|
|
13
26
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
14
27
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
@@ -81,6 +94,7 @@ var ElectronicSignatureControlPropertyRules = /*#__PURE__*/ function(BaseControl
|
|
|
81
94
|
_classCallCheck(this, ElectronicSignatureControlPropertyRules);
|
|
82
95
|
var _this;
|
|
83
96
|
_this = _super.call(this, props);
|
|
97
|
+
_defineProperty(_assertThisInitialized(_this), "signatureConfig", void 0);
|
|
84
98
|
_this.signatureConfig = {
|
|
85
99
|
type: "object",
|
|
86
100
|
fields: {
|
|
@@ -170,8 +184,14 @@ var ElectronicSignatureProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
170
184
|
_classCallCheck(this, ElectronicSignatureProperty);
|
|
171
185
|
var _this;
|
|
172
186
|
_this = _super.call(this, props);
|
|
173
|
-
_this
|
|
174
|
-
_this
|
|
187
|
+
_defineProperty(_assertThisInitialized(_this), "buttonType", void 0);
|
|
188
|
+
_defineProperty(_assertThisInitialized(_this), "content", void 0);
|
|
189
|
+
_defineProperty(_assertThisInitialized(_this), "showType", void 0);
|
|
190
|
+
_defineProperty(_assertThisInitialized(_this), "color", void 0);
|
|
191
|
+
_defineProperty(_assertThisInitialized(_this), "icon", void 0);
|
|
192
|
+
_defineProperty(_assertThisInitialized(_this), "command", "");
|
|
193
|
+
_defineProperty(_assertThisInitialized(_this), "isLoading", false);
|
|
194
|
+
_defineProperty(_assertThisInitialized(_this), "signatureConfig", void 0);
|
|
175
195
|
var _props_caption;
|
|
176
196
|
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : ElectronicSignatureControl.controlName;
|
|
177
197
|
var _props_content;
|
|
@@ -189,6 +209,6 @@ var ElectronicSignatureProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
189
209
|
}
|
|
190
210
|
return ElectronicSignatureProperty;
|
|
191
211
|
}(BaseControlProperty);
|
|
192
|
-
ElectronicSignatureProperty
|
|
212
|
+
_defineProperty(ElectronicSignatureProperty, "Rules", ElectronicSignatureControlPropertyRules);
|
|
193
213
|
export default ElectronicSignatureProperty;
|
|
194
214
|
export { ElectronicSignatureProperty, ElectronicSignatureControlPropertyRules };
|
|
@@ -23,6 +23,19 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
23
23
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
24
|
return Constructor;
|
|
25
25
|
}
|
|
26
|
+
function _defineProperty(obj, key, value) {
|
|
27
|
+
if (key in obj) {
|
|
28
|
+
Object.defineProperty(obj, key, {
|
|
29
|
+
value: value,
|
|
30
|
+
enumerable: true,
|
|
31
|
+
configurable: true,
|
|
32
|
+
writable: true
|
|
33
|
+
});
|
|
34
|
+
} else {
|
|
35
|
+
obj[key] = value;
|
|
36
|
+
}
|
|
37
|
+
return obj;
|
|
38
|
+
}
|
|
26
39
|
function _getPrototypeOf(o) {
|
|
27
40
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
28
41
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
@@ -94,6 +107,7 @@ var ElectronicSignatureControl = /*#__PURE__*/ function(RuntimeFormControl) {
|
|
|
94
107
|
_classCallCheck(this, ElectronicSignatureControl);
|
|
95
108
|
var _this;
|
|
96
109
|
_this = _super.call(this, props);
|
|
110
|
+
_defineProperty(_assertThisInitialized(_this), "props", void 0);
|
|
97
111
|
_this.props = new ElectronicSignatureProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
98
112
|
return _this;
|
|
99
113
|
}
|
|
@@ -107,6 +121,6 @@ var ElectronicSignatureControl = /*#__PURE__*/ function(RuntimeFormControl) {
|
|
|
107
121
|
]);
|
|
108
122
|
return ElectronicSignatureControl;
|
|
109
123
|
}(RuntimeFormControl);
|
|
110
|
-
ElectronicSignatureControl
|
|
124
|
+
_defineProperty(ElectronicSignatureControl, "controlFieldType", FieldTypes.VARCHAR);
|
|
111
125
|
export default ElectronicSignatureControl;
|
|
112
126
|
export { ElectronicSignatureControl as RuntimeElectronicSignatureControl };
|
|
@@ -23,6 +23,19 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
23
23
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
24
|
return Constructor;
|
|
25
25
|
}
|
|
26
|
+
function _defineProperty(obj, key, value) {
|
|
27
|
+
if (key in obj) {
|
|
28
|
+
Object.defineProperty(obj, key, {
|
|
29
|
+
value: value,
|
|
30
|
+
enumerable: true,
|
|
31
|
+
configurable: true,
|
|
32
|
+
writable: true
|
|
33
|
+
});
|
|
34
|
+
} else {
|
|
35
|
+
obj[key] = value;
|
|
36
|
+
}
|
|
37
|
+
return obj;
|
|
38
|
+
}
|
|
26
39
|
function _getPrototypeOf(o) {
|
|
27
40
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
28
41
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
@@ -94,6 +107,7 @@ var EmployeeControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
94
107
|
_classCallCheck(this, EmployeeControl);
|
|
95
108
|
var _this;
|
|
96
109
|
_this = _super.call(this, props);
|
|
110
|
+
_defineProperty(_assertThisInitialized(_this), "props", void 0);
|
|
97
111
|
_this.props = new EmployeeProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
98
112
|
return _this;
|
|
99
113
|
}
|
|
@@ -119,8 +133,8 @@ var EmployeeControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
119
133
|
]);
|
|
120
134
|
return EmployeeControl;
|
|
121
135
|
}(DesignerFormControl);
|
|
122
|
-
EmployeeControl
|
|
123
|
-
EmployeeControl
|
|
136
|
+
_defineProperty(EmployeeControl, "controlFieldType", FieldTypes.EMPLOYEES);
|
|
137
|
+
_defineProperty(EmployeeControl, "setting", [
|
|
124
138
|
{
|
|
125
139
|
key: "data-bind",
|
|
126
140
|
visible: true
|
|
@@ -175,6 +189,6 @@ EmployeeControl.setting = [
|
|
|
175
189
|
key: "super-setting",
|
|
176
190
|
visible: true
|
|
177
191
|
}
|
|
178
|
-
];
|
|
192
|
+
]);
|
|
179
193
|
export default EmployeeControl;
|
|
180
194
|
export { EmployeeControl as DesignerEmployeeControl };
|
|
@@ -9,6 +9,19 @@ function _classCallCheck(instance, Constructor) {
|
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
+
function _defineProperty(obj, key, value) {
|
|
13
|
+
if (key in obj) {
|
|
14
|
+
Object.defineProperty(obj, key, {
|
|
15
|
+
value: value,
|
|
16
|
+
enumerable: true,
|
|
17
|
+
configurable: true,
|
|
18
|
+
writable: true
|
|
19
|
+
});
|
|
20
|
+
} else {
|
|
21
|
+
obj[key] = value;
|
|
22
|
+
}
|
|
23
|
+
return obj;
|
|
24
|
+
}
|
|
12
25
|
function _getPrototypeOf(o) {
|
|
13
26
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
14
27
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
@@ -92,6 +105,21 @@ var EmployeeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
92
105
|
_classCallCheck(this, EmployeeProperty);
|
|
93
106
|
var _this;
|
|
94
107
|
_this = _super.call(this, props);
|
|
108
|
+
/**
|
|
109
|
+
* 展示类型: 默认形式 / 树状人员
|
|
110
|
+
* */ _defineProperty(_assertThisInitialized(_this), "showType", void 0);
|
|
111
|
+
_defineProperty(_assertThisInitialized(_this), "range", void 0 // 人员范围: 公司全员 / 指定人员
|
|
112
|
+
);
|
|
113
|
+
// 选择指定人员时的范围
|
|
114
|
+
_defineProperty(_assertThisInitialized(_this), "rangeOptions", void 0);
|
|
115
|
+
_defineProperty(_assertThisInitialized(_this), "multiple", void 0 // 是否多选
|
|
116
|
+
);
|
|
117
|
+
_defineProperty(_assertThisInitialized(_this), "defaultValueType", void 0 // 默认值: null / 表单发起人 / 指定人员
|
|
118
|
+
);
|
|
119
|
+
_defineProperty(_assertThisInitialized(_this), "defaultValue", void 0);
|
|
120
|
+
_defineProperty(_assertThisInitialized(_this), "multistageFilling", void 0);
|
|
121
|
+
_defineProperty(_assertThisInitialized(_this), "openMultistageFilling", void 0 //是否开启填充
|
|
122
|
+
);
|
|
95
123
|
var _props_showType;
|
|
96
124
|
_this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "default";
|
|
97
125
|
var _props_range;
|
|
@@ -121,6 +149,6 @@ var EmployeeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
121
149
|
}
|
|
122
150
|
return EmployeeProperty;
|
|
123
151
|
}(BaseControlProperty);
|
|
124
|
-
EmployeeProperty
|
|
152
|
+
_defineProperty(EmployeeProperty, "RuntimeRules", EmployeeControlPropertyRuntimeRules);
|
|
125
153
|
export default EmployeeProperty;
|
|
126
154
|
export { EmployeeProperty, EmployeeControlPropertyRuntimeRules };
|
|
@@ -23,6 +23,19 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
23
23
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
24
|
return Constructor;
|
|
25
25
|
}
|
|
26
|
+
function _defineProperty(obj, key, value) {
|
|
27
|
+
if (key in obj) {
|
|
28
|
+
Object.defineProperty(obj, key, {
|
|
29
|
+
value: value,
|
|
30
|
+
enumerable: true,
|
|
31
|
+
configurable: true,
|
|
32
|
+
writable: true
|
|
33
|
+
});
|
|
34
|
+
} else {
|
|
35
|
+
obj[key] = value;
|
|
36
|
+
}
|
|
37
|
+
return obj;
|
|
38
|
+
}
|
|
26
39
|
function _getPrototypeOf(o) {
|
|
27
40
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
28
41
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
@@ -94,6 +107,7 @@ var EmployeeControl = /*#__PURE__*/ function(RuntimeFormControl) {
|
|
|
94
107
|
_classCallCheck(this, EmployeeControl);
|
|
95
108
|
var _this;
|
|
96
109
|
_this = _super.call(this, props);
|
|
110
|
+
_defineProperty(_assertThisInitialized(_this), "props", void 0);
|
|
97
111
|
_this.props = new EmployeeProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
98
112
|
return _this;
|
|
99
113
|
}
|
|
@@ -107,6 +121,6 @@ var EmployeeControl = /*#__PURE__*/ function(RuntimeFormControl) {
|
|
|
107
121
|
]);
|
|
108
122
|
return EmployeeControl;
|
|
109
123
|
}(RuntimeFormControl);
|
|
110
|
-
EmployeeControl
|
|
124
|
+
_defineProperty(EmployeeControl, "controlFieldType", FieldTypes.EMPLOYEES);
|
|
111
125
|
export default EmployeeControl;
|
|
112
126
|
export { EmployeeControl as RuntimeEmployeeControl };
|
|
@@ -23,6 +23,19 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
23
23
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
24
|
return Constructor;
|
|
25
25
|
}
|
|
26
|
+
function _defineProperty(obj, key, value) {
|
|
27
|
+
if (key in obj) {
|
|
28
|
+
Object.defineProperty(obj, key, {
|
|
29
|
+
value: value,
|
|
30
|
+
enumerable: true,
|
|
31
|
+
configurable: true,
|
|
32
|
+
writable: true
|
|
33
|
+
});
|
|
34
|
+
} else {
|
|
35
|
+
obj[key] = value;
|
|
36
|
+
}
|
|
37
|
+
return obj;
|
|
38
|
+
}
|
|
26
39
|
function _getPrototypeOf(o) {
|
|
27
40
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
28
41
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
@@ -94,6 +107,7 @@ var Employee2Control = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
94
107
|
_classCallCheck(this, Employee2Control);
|
|
95
108
|
var _this;
|
|
96
109
|
_this = _super.call(this, props);
|
|
110
|
+
_defineProperty(_assertThisInitialized(_this), "props", void 0);
|
|
97
111
|
_this.props = new Employee2Property(props === null || props === void 0 ? void 0 : props.props);
|
|
98
112
|
return _this;
|
|
99
113
|
}
|
|
@@ -131,8 +145,8 @@ var Employee2Control = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
131
145
|
]);
|
|
132
146
|
return Employee2Control;
|
|
133
147
|
}(DesignerFormControl);
|
|
134
|
-
Employee2Control
|
|
135
|
-
Employee2Control
|
|
148
|
+
_defineProperty(Employee2Control, "controlFieldType", FieldTypes.EMPLOYEES);
|
|
149
|
+
_defineProperty(Employee2Control, "setting", [
|
|
136
150
|
{
|
|
137
151
|
key: "data-bind",
|
|
138
152
|
visible: true
|
|
@@ -187,6 +201,6 @@ Employee2Control.setting = [
|
|
|
187
201
|
key: "super-setting",
|
|
188
202
|
visible: true
|
|
189
203
|
}
|
|
190
|
-
];
|
|
204
|
+
]);
|
|
191
205
|
export default Employee2Control;
|
|
192
206
|
export { Employee2Control as DesignerEmployee2Control };
|
|
@@ -9,6 +9,19 @@ function _classCallCheck(instance, Constructor) {
|
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
+
function _defineProperty(obj, key, value) {
|
|
13
|
+
if (key in obj) {
|
|
14
|
+
Object.defineProperty(obj, key, {
|
|
15
|
+
value: value,
|
|
16
|
+
enumerable: true,
|
|
17
|
+
configurable: true,
|
|
18
|
+
writable: true
|
|
19
|
+
});
|
|
20
|
+
} else {
|
|
21
|
+
obj[key] = value;
|
|
22
|
+
}
|
|
23
|
+
return obj;
|
|
24
|
+
}
|
|
12
25
|
function _getPrototypeOf(o) {
|
|
13
26
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
14
27
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
@@ -81,15 +94,15 @@ var Employee2PropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
|
|
|
81
94
|
_classCallCheck(this, Employee2PropertyRules);
|
|
82
95
|
var _this;
|
|
83
96
|
_this = _super.call(this, props);
|
|
84
|
-
_this
|
|
97
|
+
_defineProperty(_assertThisInitialized(_this), "datasourceBind", [
|
|
85
98
|
{
|
|
86
99
|
type: "object",
|
|
87
100
|
message: RulesMessage.getMessage("isNotObject")
|
|
88
101
|
}
|
|
89
|
-
];
|
|
90
|
-
_this
|
|
102
|
+
]);
|
|
103
|
+
_defineProperty(_assertThisInitialized(_this), "externalScope", {
|
|
91
104
|
type: "any"
|
|
92
|
-
};
|
|
105
|
+
});
|
|
93
106
|
initSuperDataSourceRules.call(_assertThisInitialized(_this), props, Employee2Control.controlCustomAttributes);
|
|
94
107
|
if (props.externalType === AssignType.ASSIGN) {
|
|
95
108
|
_this.externalScope = {
|
|
@@ -123,6 +136,30 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
123
136
|
_classCallCheck(this, Employee2Property);
|
|
124
137
|
var _this;
|
|
125
138
|
_this = _super.call(this, props);
|
|
139
|
+
/**
|
|
140
|
+
* 展示类型: 默认形式 / 树状人员
|
|
141
|
+
* */ _defineProperty(_assertThisInitialized(_this), "showType", void 0);
|
|
142
|
+
_defineProperty(_assertThisInitialized(_this), "range", void 0 // 人员范围: 公司全员 / 指定人员
|
|
143
|
+
);
|
|
144
|
+
// 选择指定人员时的范围
|
|
145
|
+
_defineProperty(_assertThisInitialized(_this), "rangeOptions", void 0);
|
|
146
|
+
_defineProperty(_assertThisInitialized(_this), "multiple", void 0 // 是否多选
|
|
147
|
+
);
|
|
148
|
+
_defineProperty(_assertThisInitialized(_this), "defaultValueType", void 0 // 默认值: null / 表单发起人 / 指定人员
|
|
149
|
+
);
|
|
150
|
+
_defineProperty(_assertThisInitialized(_this), "defaultValue", void 0);
|
|
151
|
+
_defineProperty(_assertThisInitialized(_this), "multistageFilling", void 0);
|
|
152
|
+
_defineProperty(_assertThisInitialized(_this), "datasourceBind", void 0);
|
|
153
|
+
_defineProperty(_assertThisInitialized(_this), "datasourceType", void 0 // 数据设置: 内部'internal' or 外部'external'
|
|
154
|
+
);
|
|
155
|
+
_defineProperty(_assertThisInitialized(_this), "insideType", void 0 //内部组织 : 全部 'all' | 仅行政 'admin'
|
|
156
|
+
);
|
|
157
|
+
_defineProperty(_assertThisInitialized(_this), "externalType", void 0 // 外部组织:全部 'all' | 指定 'assign'
|
|
158
|
+
);
|
|
159
|
+
_defineProperty(_assertThisInitialized(_this), "externalScope", void 0 //指定外部组织
|
|
160
|
+
);
|
|
161
|
+
_defineProperty(_assertThisInitialized(_this), "openMultistageFilling", void 0 //是否开启填充
|
|
162
|
+
);
|
|
126
163
|
var _props_showType;
|
|
127
164
|
_this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "default";
|
|
128
165
|
var _props_range;
|
|
@@ -165,7 +202,7 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
165
202
|
}
|
|
166
203
|
return Employee2Property;
|
|
167
204
|
}(BaseControlProperty);
|
|
168
|
-
Employee2Property
|
|
169
|
-
Employee2Property
|
|
205
|
+
_defineProperty(Employee2Property, "Rules", Employee2PropertyRules);
|
|
206
|
+
_defineProperty(Employee2Property, "RuntimeRules", Employee2ControlPropertyRuntimeRules);
|
|
170
207
|
export default Employee2Property;
|
|
171
208
|
export { Employee2Property, Employee2PropertyRules, Employee2ControlPropertyRuntimeRules, };
|
|
@@ -23,6 +23,19 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
23
23
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
24
|
return Constructor;
|
|
25
25
|
}
|
|
26
|
+
function _defineProperty(obj, key, value) {
|
|
27
|
+
if (key in obj) {
|
|
28
|
+
Object.defineProperty(obj, key, {
|
|
29
|
+
value: value,
|
|
30
|
+
enumerable: true,
|
|
31
|
+
configurable: true,
|
|
32
|
+
writable: true
|
|
33
|
+
});
|
|
34
|
+
} else {
|
|
35
|
+
obj[key] = value;
|
|
36
|
+
}
|
|
37
|
+
return obj;
|
|
38
|
+
}
|
|
26
39
|
function _getPrototypeOf(o) {
|
|
27
40
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
28
41
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
@@ -94,6 +107,7 @@ var Employee2Control = /*#__PURE__*/ function(RuntimeFormControl) {
|
|
|
94
107
|
_classCallCheck(this, Employee2Control);
|
|
95
108
|
var _this;
|
|
96
109
|
_this = _super.call(this, props);
|
|
110
|
+
_defineProperty(_assertThisInitialized(_this), "props", void 0);
|
|
97
111
|
_this.props = new Employee2Property(props === null || props === void 0 ? void 0 : props.props);
|
|
98
112
|
return _this;
|
|
99
113
|
}
|
|
@@ -107,6 +121,6 @@ var Employee2Control = /*#__PURE__*/ function(RuntimeFormControl) {
|
|
|
107
121
|
]);
|
|
108
122
|
return Employee2Control;
|
|
109
123
|
}(RuntimeFormControl);
|
|
110
|
-
Employee2Control
|
|
124
|
+
_defineProperty(Employee2Control, "controlFieldType", FieldTypes.EMPLOYEES);
|
|
111
125
|
export default Employee2Control;
|
|
112
126
|
export { Employee2Control as RuntimeEmployee2Control };
|
|
@@ -23,6 +23,19 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
23
23
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
24
|
return Constructor;
|
|
25
25
|
}
|
|
26
|
+
function _defineProperty(obj, key, value) {
|
|
27
|
+
if (key in obj) {
|
|
28
|
+
Object.defineProperty(obj, key, {
|
|
29
|
+
value: value,
|
|
30
|
+
enumerable: true,
|
|
31
|
+
configurable: true,
|
|
32
|
+
writable: true
|
|
33
|
+
});
|
|
34
|
+
} else {
|
|
35
|
+
obj[key] = value;
|
|
36
|
+
}
|
|
37
|
+
return obj;
|
|
38
|
+
}
|
|
26
39
|
function _getPrototypeOf(o) {
|
|
27
40
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
28
41
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
@@ -124,8 +137,8 @@ var ImageControl = /*#__PURE__*/ function(DesignerAttachmentControl) {
|
|
|
124
137
|
]);
|
|
125
138
|
return ImageControl;
|
|
126
139
|
}(DesignerAttachmentControl);
|
|
127
|
-
ImageControl
|
|
128
|
-
ImageControl
|
|
140
|
+
_defineProperty(ImageControl, "controlFieldType", FieldTypes.IMAGE);
|
|
141
|
+
_defineProperty(ImageControl, "setting", [
|
|
129
142
|
{
|
|
130
143
|
key: "data-bind",
|
|
131
144
|
visible: true
|
|
@@ -172,6 +185,6 @@ ImageControl.setting = [
|
|
|
172
185
|
key: "super-setting",
|
|
173
186
|
visible: true
|
|
174
187
|
}
|
|
175
|
-
];
|
|
188
|
+
]);
|
|
176
189
|
export default ImageControl;
|
|
177
190
|
export { ImageControl as DesignerImageControl };
|
|
@@ -23,6 +23,19 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
23
23
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
24
|
return Constructor;
|
|
25
25
|
}
|
|
26
|
+
function _defineProperty(obj, key, value) {
|
|
27
|
+
if (key in obj) {
|
|
28
|
+
Object.defineProperty(obj, key, {
|
|
29
|
+
value: value,
|
|
30
|
+
enumerable: true,
|
|
31
|
+
configurable: true,
|
|
32
|
+
writable: true
|
|
33
|
+
});
|
|
34
|
+
} else {
|
|
35
|
+
obj[key] = value;
|
|
36
|
+
}
|
|
37
|
+
return obj;
|
|
38
|
+
}
|
|
26
39
|
function _getPrototypeOf(o) {
|
|
27
40
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
28
41
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
@@ -94,6 +107,7 @@ var InputControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
94
107
|
_classCallCheck(this, InputControl);
|
|
95
108
|
var _this;
|
|
96
109
|
_this = _super.call(this, props);
|
|
110
|
+
_defineProperty(_assertThisInitialized(_this), "props", void 0);
|
|
97
111
|
_this.props = new InputProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
98
112
|
return _this;
|
|
99
113
|
}
|
|
@@ -119,14 +133,14 @@ var InputControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
119
133
|
]);
|
|
120
134
|
return InputControl;
|
|
121
135
|
}(DesignerFormControl);
|
|
122
|
-
InputControl
|
|
136
|
+
_defineProperty(InputControl, "controlEventKeys", [
|
|
123
137
|
"on_change",
|
|
124
138
|
"on_input",
|
|
125
139
|
"on_focus",
|
|
126
140
|
"on_blur"
|
|
127
|
-
];
|
|
128
|
-
InputControl
|
|
129
|
-
InputControl
|
|
141
|
+
]);
|
|
142
|
+
_defineProperty(InputControl, "controlFieldType", FieldTypes.VARCHAR);
|
|
143
|
+
_defineProperty(InputControl, "setting", [
|
|
130
144
|
{
|
|
131
145
|
key: "data-bind",
|
|
132
146
|
visible: true
|
|
@@ -186,6 +200,6 @@ InputControl.setting = [
|
|
|
186
200
|
key: "super-setting",
|
|
187
201
|
visible: true
|
|
188
202
|
}
|
|
189
|
-
];
|
|
203
|
+
]);
|
|
190
204
|
export default InputControl;
|
|
191
205
|
export { InputControl as DesignerInputControl };
|