@byteluck-fe/model-driven-controls 2.3.1-beta.22 → 2.3.1-beta.26
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 +132 -12
- 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/package.json +5 -5
|
@@ -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);
|
|
@@ -93,6 +106,7 @@ var ColControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
|
|
|
93
106
|
_classCallCheck(this, ColControl);
|
|
94
107
|
var _this;
|
|
95
108
|
_this = _super.call(this, props);
|
|
109
|
+
_defineProperty(_assertThisInitialized(_this), "props", void 0);
|
|
96
110
|
_this.props = new ColControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
97
111
|
return _this;
|
|
98
112
|
}
|
|
@@ -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);
|
|
@@ -93,6 +106,7 @@ var DataViewControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
|
93
106
|
_classCallCheck(this, DataViewControl);
|
|
94
107
|
var _this;
|
|
95
108
|
_this = _super.call(this, props);
|
|
109
|
+
_defineProperty(_assertThisInitialized(_this), "props", void 0);
|
|
96
110
|
_this.props = new DataViewControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
97
111
|
return _this;
|
|
98
112
|
}
|
|
@@ -112,6 +126,6 @@ var DataViewControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
|
112
126
|
]);
|
|
113
127
|
return DataViewControl;
|
|
114
128
|
}(DesignerLayoutControl);
|
|
115
|
-
DataViewControl
|
|
129
|
+
_defineProperty(DataViewControl, "excludes", []);
|
|
116
130
|
export default DataViewControl;
|
|
117
131
|
export { DataViewControl as DesignerDataViewControl };
|
|
@@ -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);
|
|
@@ -97,6 +110,20 @@ var DataViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntime
|
|
|
97
110
|
_classCallCheck(this, DataViewControlProperty);
|
|
98
111
|
var _this;
|
|
99
112
|
_this = _super.call(this, props);
|
|
113
|
+
_defineProperty(_assertThisInitialized(_this), "save", void 0);
|
|
114
|
+
_defineProperty(_assertThisInitialized(_this), "cancel", void 0);
|
|
115
|
+
_defineProperty(_assertThisInitialized(_this), "saveAs", void 0);
|
|
116
|
+
_defineProperty(_assertThisInitialized(_this), "print", void 0);
|
|
117
|
+
_defineProperty(_assertThisInitialized(_this), "custom", void 0);
|
|
118
|
+
/**
|
|
119
|
+
* 加载中
|
|
120
|
+
* @defaultValue false
|
|
121
|
+
* @public
|
|
122
|
+
*/ _defineProperty(_assertThisInitialized(_this), "isLoading", void 0);
|
|
123
|
+
/**
|
|
124
|
+
* 绑定业务模型
|
|
125
|
+
* @public
|
|
126
|
+
*/ _defineProperty(_assertThisInitialized(_this), "datasourceBind", void 0);
|
|
100
127
|
var _props_save;
|
|
101
128
|
_this.save = new OperationItem((_props_save = props === null || props === void 0 ? void 0 : props.save) !== null && _props_save !== void 0 ? _props_save : {
|
|
102
129
|
content: "保存",
|
|
@@ -134,6 +161,6 @@ var DataViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntime
|
|
|
134
161
|
}(LayoutControlProperty);
|
|
135
162
|
/**
|
|
136
163
|
* @internal
|
|
137
|
-
*/ DataViewControlProperty
|
|
164
|
+
*/ _defineProperty(DataViewControlProperty, "RuntimeRules", DataViewControlPropertyRuntimeRules);
|
|
138
165
|
export default DataViewControlProperty;
|
|
139
166
|
export { DataViewControlProperty, DataViewControlPropertyRuntimeRules };
|
|
@@ -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);
|
|
@@ -93,6 +106,7 @@ var DataViewControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
|
|
|
93
106
|
_classCallCheck(this, DataViewControl);
|
|
94
107
|
var _this;
|
|
95
108
|
_this = _super.call(this, props);
|
|
109
|
+
_defineProperty(_assertThisInitialized(_this), "props", void 0);
|
|
96
110
|
_this.props = new DataViewControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
97
111
|
return _this;
|
|
98
112
|
}
|
|
@@ -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);
|
|
@@ -115,8 +128,8 @@ var GridControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
|
115
128
|
]);
|
|
116
129
|
return GridControl;
|
|
117
130
|
}(DesignerLayoutControl);
|
|
118
|
-
GridControl
|
|
131
|
+
_defineProperty(GridControl, "excludes", [
|
|
119
132
|
CONTROL_TYPE.GRID
|
|
120
|
-
];
|
|
133
|
+
]);
|
|
121
134
|
export default GridControl;
|
|
122
135
|
export { GridControl as DesignerGridControl };
|
|
@@ -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);
|
|
@@ -116,10 +129,10 @@ var GridRowControl = /*#__PURE__*/ function(RowControl) {
|
|
|
116
129
|
]);
|
|
117
130
|
return GridRowControl;
|
|
118
131
|
}(RowControl);
|
|
119
|
-
GridRowControl
|
|
132
|
+
_defineProperty(GridRowControl, "excludes", [
|
|
120
133
|
CONTROL_TYPE.GRID_ROW
|
|
121
|
-
];
|
|
122
|
-
GridRowControl
|
|
123
|
-
GridRowControl
|
|
134
|
+
]);
|
|
135
|
+
_defineProperty(GridRowControl, "setting", []);
|
|
136
|
+
_defineProperty(GridRowControl, "childrenMaxLength", CHILDREN_MAX_LENGTH);
|
|
124
137
|
export default GridRowControl;
|
|
125
138
|
export { GridRowControl as DesignerGridRowControl };
|
|
@@ -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);
|
|
@@ -80,16 +93,17 @@ var GridTableColumnControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
|
80
93
|
_classCallCheck(this, GridTableColumnControl);
|
|
81
94
|
var _this;
|
|
82
95
|
_this = _super.call(this, props);
|
|
96
|
+
_defineProperty(_assertThisInitialized(_this), "props", void 0);
|
|
83
97
|
_this.props = new GridTableColumnControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
84
98
|
return _this;
|
|
85
99
|
}
|
|
86
100
|
return GridTableColumnControl;
|
|
87
101
|
}(DesignerLayoutControl);
|
|
88
|
-
GridTableColumnControl
|
|
89
|
-
GridTableColumnControl
|
|
90
|
-
GridTableColumnControl
|
|
91
|
-
GridTableColumnControl
|
|
92
|
-
GridTableColumnControl
|
|
102
|
+
_defineProperty(GridTableColumnControl, "controlName", "列表单元格");
|
|
103
|
+
_defineProperty(GridTableColumnControl, "controlType", "gridtable-column");
|
|
104
|
+
_defineProperty(GridTableColumnControl, "controlIcon", "gridtable-column");
|
|
105
|
+
_defineProperty(GridTableColumnControl, "childrenMaxLength", 1);
|
|
106
|
+
_defineProperty(GridTableColumnControl, "excludes", [
|
|
93
107
|
CONTROL_TYPE.GRID_TABLE,
|
|
94
108
|
CONTROL_TYPE.GRID_TABLE_COLUMN,
|
|
95
109
|
CONTROL_TYPE.ROW,
|
|
@@ -97,8 +111,8 @@ GridTableColumnControl.excludes = [
|
|
|
97
111
|
CONTROL_TYPE.CARD_GROUP,
|
|
98
112
|
CONTROL_TYPE.DIVIDER,
|
|
99
113
|
CONTROL_TYPE.TEXT
|
|
100
|
-
];
|
|
101
|
-
GridTableColumnControl
|
|
114
|
+
]);
|
|
115
|
+
_defineProperty(GridTableColumnControl, "setting", [
|
|
102
116
|
{
|
|
103
117
|
key: "caption",
|
|
104
118
|
showItems: [
|
|
@@ -114,6 +128,6 @@ GridTableColumnControl.setting = [
|
|
|
114
128
|
key: "column-fixed",
|
|
115
129
|
visible: true
|
|
116
130
|
}
|
|
117
|
-
];
|
|
131
|
+
]);
|
|
118
132
|
export default GridTableColumnControl;
|
|
119
133
|
export { GridTableColumnControl as DesignerGridTableColumnControl };
|
|
@@ -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);
|
|
@@ -79,6 +92,19 @@ var GridTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlPropert
|
|
|
79
92
|
_classCallCheck(this, GridTableColumnControlProperty);
|
|
80
93
|
var _this;
|
|
81
94
|
_this = _super.call(this, props);
|
|
95
|
+
_defineProperty(_assertThisInitialized(_this), "widthType", void 0);
|
|
96
|
+
_defineProperty(_assertThisInitialized(_this), "width", void 0);
|
|
97
|
+
_defineProperty(_assertThisInitialized(_this), "caption", void 0);
|
|
98
|
+
_defineProperty(_assertThisInitialized(_this), "fieldCode", void 0);
|
|
99
|
+
_defineProperty(_assertThisInitialized(_this), "fieldType", void 0);
|
|
100
|
+
_defineProperty(_assertThisInitialized(_this), "fieldName", void 0);
|
|
101
|
+
_defineProperty(_assertThisInitialized(_this), "datasourceBind", void 0);
|
|
102
|
+
_defineProperty(_assertThisInitialized(_this), "fixed", void 0);
|
|
103
|
+
_defineProperty(_assertThisInitialized(_this), "textCleanFormart", void 0 //是否去除标签格式
|
|
104
|
+
);
|
|
105
|
+
_defineProperty(_assertThisInitialized(_this), "decimalKeepPrecision", void 0);
|
|
106
|
+
_defineProperty(_assertThisInitialized(_this), "timestampDateType", void 0);
|
|
107
|
+
_defineProperty(_assertThisInitialized(_this), "departmentDisplayLevel", void 0);
|
|
82
108
|
var _props_width;
|
|
83
109
|
_this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 200;
|
|
84
110
|
_this.widthType = (props === null || props === void 0 ? void 0 : props.widthType) || "auto";
|
|
@@ -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);
|
|
@@ -79,11 +92,12 @@ var GridTableColumnControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
|
|
|
79
92
|
_classCallCheck(this, GridTableColumnControl);
|
|
80
93
|
var _this;
|
|
81
94
|
_this = _super.call(this, props);
|
|
95
|
+
_defineProperty(_assertThisInitialized(_this), "props", void 0);
|
|
82
96
|
_this.props = new GridTableColumnControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
83
97
|
return _this;
|
|
84
98
|
}
|
|
85
99
|
return GridTableColumnControl;
|
|
86
100
|
}(RuntimeLayoutControl);
|
|
87
|
-
GridTableColumnControl
|
|
101
|
+
_defineProperty(GridTableColumnControl, "controlType", "gridtable-column");
|
|
88
102
|
export default GridTableColumnControl;
|
|
89
103
|
export { GridTableColumnControl as RuntimeGridTableColumnControl };
|
|
@@ -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 ListViewControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
|
94
107
|
_classCallCheck(this, ListViewControl);
|
|
95
108
|
var _this;
|
|
96
109
|
_this = _super.call(this, props);
|
|
110
|
+
_defineProperty(_assertThisInitialized(_this), "props", void 0);
|
|
97
111
|
_this.props = new ListViewControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
98
112
|
return _this;
|
|
99
113
|
}
|
|
@@ -119,10 +133,10 @@ var ListViewControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
|
119
133
|
]);
|
|
120
134
|
return ListViewControl;
|
|
121
135
|
}(DesignerLayoutControl);
|
|
122
|
-
ListViewControl
|
|
136
|
+
_defineProperty(ListViewControl, "excludes", [
|
|
123
137
|
CONTROL_TYPE.ROW
|
|
124
|
-
];
|
|
125
|
-
ListViewControl
|
|
138
|
+
]);
|
|
139
|
+
_defineProperty(ListViewControl, "controlEventKeys", [
|
|
126
140
|
"on_list_search",
|
|
127
141
|
"on_list_mounted",
|
|
128
142
|
"on_list_actions",
|
|
@@ -130,8 +144,8 @@ ListViewControl.controlEventKeys = [
|
|
|
130
144
|
"on_list_rowclick",
|
|
131
145
|
"on_list_before_rowdelete",
|
|
132
146
|
"on_list_rows_checked"
|
|
133
|
-
];
|
|
134
|
-
ListViewControl
|
|
147
|
+
]);
|
|
148
|
+
_defineProperty(ListViewControl, "setting", [
|
|
135
149
|
{
|
|
136
150
|
key: "list-datasource-bind",
|
|
137
151
|
visible: true
|
|
@@ -148,6 +162,6 @@ ListViewControl.setting = [
|
|
|
148
162
|
key: "super-setting",
|
|
149
163
|
visible: true
|
|
150
164
|
}
|
|
151
|
-
];
|
|
165
|
+
]);
|
|
152
166
|
export default ListViewControl;
|
|
153
167
|
export { ListViewControl as DesignerListViewControl };
|
|
@@ -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);
|
|
@@ -105,12 +118,12 @@ export var TriggerType;
|
|
|
105
118
|
_classCallCheck(this, ListViewControlPropertyRules);
|
|
106
119
|
var _this;
|
|
107
120
|
_this = _super.call(this, props);
|
|
108
|
-
_this
|
|
121
|
+
_defineProperty(_assertThisInitialized(_this), "triggerFieldCode", {
|
|
109
122
|
type: "any"
|
|
110
|
-
};
|
|
111
|
-
_this
|
|
123
|
+
});
|
|
124
|
+
_defineProperty(_assertThisInitialized(_this), "datasourceBind", {
|
|
112
125
|
type: "any"
|
|
113
|
-
};
|
|
126
|
+
});
|
|
114
127
|
if (props.triggerType === TriggerType.CLICK_CELL && props.isShowSubList) {
|
|
115
128
|
_this.triggerFieldCode = {
|
|
116
129
|
type: "string",
|
|
@@ -147,6 +160,59 @@ export var TriggerType;
|
|
|
147
160
|
_classCallCheck(this, ListViewControlProperty);
|
|
148
161
|
var _this;
|
|
149
162
|
_this = _super.call(this, props);
|
|
163
|
+
/**
|
|
164
|
+
* 数据高级设置
|
|
165
|
+
* @public
|
|
166
|
+
*/ _defineProperty(_assertThisInitialized(_this), "datasourceBind", void 0);
|
|
167
|
+
/**
|
|
168
|
+
* 加载中
|
|
169
|
+
* @defaultValue false
|
|
170
|
+
* @public
|
|
171
|
+
*/ _defineProperty(_assertThisInitialized(_this), "isLoading", void 0);
|
|
172
|
+
/**
|
|
173
|
+
* 显示明细表
|
|
174
|
+
* @defaultValue false
|
|
175
|
+
* @public
|
|
176
|
+
*/ _defineProperty(_assertThisInitialized(_this), "isShowSubList", void 0);
|
|
177
|
+
/**
|
|
178
|
+
* 触发时机 1=整行,2=字段
|
|
179
|
+
* @defaultValue 1
|
|
180
|
+
* @public
|
|
181
|
+
*/ _defineProperty(_assertThisInitialized(_this), "triggerType", void 0);
|
|
182
|
+
/**
|
|
183
|
+
* 触发字段
|
|
184
|
+
* @public
|
|
185
|
+
*/ _defineProperty(_assertThisInitialized(_this), "triggerFieldCode", void 0);
|
|
186
|
+
/**
|
|
187
|
+
* 抽屉内容配置
|
|
188
|
+
* @public
|
|
189
|
+
*/ _defineProperty(_assertThisInitialized(_this), "sublistPage", void 0);
|
|
190
|
+
/**
|
|
191
|
+
* @internal
|
|
192
|
+
*/ _defineProperty(_assertThisInitialized(_this), "showType", void 0 //提供给关联单选中复用list-view的能力
|
|
193
|
+
);
|
|
194
|
+
/**
|
|
195
|
+
* 全屏显示
|
|
196
|
+
* @defaultValue false
|
|
197
|
+
* @public
|
|
198
|
+
*/ _defineProperty(_assertThisInitialized(_this), "showFullScreen", void 0);
|
|
199
|
+
/**
|
|
200
|
+
* 固定表头
|
|
201
|
+
* @defaultValue false
|
|
202
|
+
* @public
|
|
203
|
+
*/ _defineProperty(_assertThisInitialized(_this), "isFixedHeader", void 0);
|
|
204
|
+
/**
|
|
205
|
+
* 加载全部数据
|
|
206
|
+
* @defaultValue true
|
|
207
|
+
* @public
|
|
208
|
+
*/ _defineProperty(_assertThisInitialized(_this), "isAllLoaded", void 0 //数据加载
|
|
209
|
+
);
|
|
210
|
+
/**
|
|
211
|
+
* 计数模式
|
|
212
|
+
* @defaultValue 'async'
|
|
213
|
+
* @public
|
|
214
|
+
*/ _defineProperty(_assertThisInitialized(_this), "countType", void 0 //计数模式
|
|
215
|
+
);
|
|
150
216
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
151
217
|
var _props_isLoading;
|
|
152
218
|
_this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
|
|
@@ -170,7 +236,7 @@ export var TriggerType;
|
|
|
170
236
|
}
|
|
171
237
|
return ListViewControlProperty;
|
|
172
238
|
}(LayoutControlProperty);
|
|
173
|
-
ListViewControlProperty
|
|
174
|
-
ListViewControlProperty
|
|
239
|
+
_defineProperty(ListViewControlProperty, "Rules", ListViewControlPropertyRules);
|
|
240
|
+
_defineProperty(ListViewControlProperty, "RuntimeRules", ListViewControlPropertyRuntimeRules);
|
|
175
241
|
export default ListViewControlProperty;
|
|
176
242
|
export { ListViewControlProperty, ListViewControlPropertyRules };
|
|
@@ -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);
|
|
@@ -93,6 +106,7 @@ var ListViewControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
|
|
|
93
106
|
_classCallCheck(this, ListViewControl);
|
|
94
107
|
var _this;
|
|
95
108
|
_this = _super.call(this, props);
|
|
109
|
+
_defineProperty(_assertThisInitialized(_this), "props", void 0);
|
|
96
110
|
_this.props = new ListViewControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
97
111
|
return _this;
|
|
98
112
|
}
|
|
@@ -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);
|
|
@@ -78,14 +91,15 @@ var PageProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
78
91
|
_classCallCheck(this, PageProperty);
|
|
79
92
|
var _this;
|
|
80
93
|
_this = _super.call(this, props);
|
|
81
|
-
_this
|
|
82
|
-
_this
|
|
83
|
-
_this
|
|
94
|
+
_defineProperty(_assertThisInitialized(_this), "hideHeader", void 0);
|
|
95
|
+
_defineProperty(_assertThisInitialized(_this), "background", "#fff");
|
|
96
|
+
_defineProperty(_assertThisInitialized(_this), "minWidth", "");
|
|
97
|
+
_defineProperty(_assertThisInitialized(_this), "maxWidth", "");
|
|
84
98
|
/**
|
|
85
99
|
* 最小高度
|
|
86
100
|
* auto指内容多高它多高
|
|
87
101
|
* fill指最小占一屏幕高
|
|
88
|
-
* */ _this
|
|
102
|
+
* */ _defineProperty(_assertThisInitialized(_this), "heightConfig", "auto");
|
|
89
103
|
var _props_hideHeader;
|
|
90
104
|
_this.hideHeader = (_props_hideHeader = props === null || props === void 0 ? void 0 : props.hideHeader) !== null && _props_hideHeader !== void 0 ? _props_hideHeader : false;
|
|
91
105
|
return _this;
|
|
@@ -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);
|
|
@@ -78,6 +91,10 @@ var PositionProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
78
91
|
_classCallCheck(this, PositionProperty);
|
|
79
92
|
var _this;
|
|
80
93
|
_this = _super.call(this, props);
|
|
94
|
+
_defineProperty(_assertThisInitialized(_this), "widthSpan", void 0);
|
|
95
|
+
_defineProperty(_assertThisInitialized(_this), "heightSpan", void 0);
|
|
96
|
+
_defineProperty(_assertThisInitialized(_this), "left", void 0);
|
|
97
|
+
_defineProperty(_assertThisInitialized(_this), "top", void 0);
|
|
81
98
|
var _props_widthSpan;
|
|
82
99
|
_this.widthSpan = (_props_widthSpan = props === null || props === void 0 ? void 0 : props.widthSpan) !== null && _props_widthSpan !== void 0 ? _props_widthSpan : 12;
|
|
83
100
|
var _props_heightSpan;
|
|
@@ -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 RowControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
|
94
107
|
_classCallCheck(this, RowControl);
|
|
95
108
|
var _this;
|
|
96
109
|
_this = _super.call(this, props);
|
|
110
|
+
_defineProperty(_assertThisInitialized(_this), "props", void 0);
|
|
97
111
|
_this.props = new RowControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
98
112
|
return _this;
|
|
99
113
|
}
|
|
@@ -119,14 +133,14 @@ var RowControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
|
119
133
|
]);
|
|
120
134
|
return RowControl;
|
|
121
135
|
}(DesignerLayoutControl);
|
|
122
|
-
RowControl
|
|
136
|
+
_defineProperty(RowControl, "excludes", [
|
|
123
137
|
CONTROL_TYPE.ROW
|
|
124
|
-
];
|
|
125
|
-
RowControl
|
|
138
|
+
]);
|
|
139
|
+
_defineProperty(RowControl, "setting", [
|
|
126
140
|
{
|
|
127
141
|
key: "col-setting",
|
|
128
142
|
visible: true
|
|
129
143
|
}
|
|
130
|
-
];
|
|
144
|
+
]);
|
|
131
145
|
export default RowControl;
|
|
132
146
|
export { RowControl as DesignerRowControl };
|