@byteluck-fe/model-driven-controls 2.3.1 → 2.3.12
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 +28 -28
- package/dist/esm/baseControls/BatchDeleteButton/property.js +31 -31
- package/dist/esm/baseControls/BatchDeleteButton/runtime.js +26 -26
- package/dist/esm/baseControls/BatchPrintListButton/designer.js +28 -28
- package/dist/esm/baseControls/BatchPrintListButton/property.js +29 -29
- package/dist/esm/baseControls/BatchPrintListButton/runtime.js +26 -26
- package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +28 -28
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +22 -22
- package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +26 -26
- package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +28 -28
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +31 -31
- package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +26 -26
- package/dist/esm/baseControls/Button/designer.js +28 -28
- package/dist/esm/baseControls/Button/property.js +31 -31
- package/dist/esm/baseControls/Button/runtime.js +26 -26
- package/dist/esm/baseControls/CreateFormListButton/designer.js +28 -28
- package/dist/esm/baseControls/CreateFormListButton/property.js +29 -29
- package/dist/esm/baseControls/CreateFormListButton/runtime.js +26 -26
- package/dist/esm/baseControls/Dashboard/designer.js +27 -27
- package/dist/esm/baseControls/Dashboard/property.js +37 -37
- package/dist/esm/baseControls/Dashboard/runtime.js +26 -26
- package/dist/esm/baseControls/Divider/designer.js +27 -27
- package/dist/esm/baseControls/Divider/property.js +25 -25
- package/dist/esm/baseControls/Divider/runtime.js +26 -26
- package/dist/esm/baseControls/ExportListButton/designer.js +28 -28
- package/dist/esm/baseControls/ExportListButton/property.js +24 -24
- package/dist/esm/baseControls/ExportListButton/runtime.js +26 -26
- package/dist/esm/baseControls/ExportRecordListButton/designer.js +28 -28
- package/dist/esm/baseControls/ExportRecordListButton/property.js +22 -22
- package/dist/esm/baseControls/ExportRecordListButton/runtime.js +26 -26
- package/dist/esm/baseControls/FormSelectButton/designer.js +28 -28
- package/dist/esm/baseControls/FormSelectButton/property.js +37 -37
- package/dist/esm/baseControls/FormSelectButton/runtime.js +26 -26
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +28 -28
- package/dist/esm/baseControls/ImportRecordListButton/property.js +26 -26
- package/dist/esm/baseControls/ImportRecordListButton/runtime.js +26 -26
- package/dist/esm/baseControls/InvoiceCheckButton/designer.js +28 -28
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +39 -39
- package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +26 -26
- package/dist/esm/baseControls/Link/designer.js +28 -28
- package/dist/esm/baseControls/Link/property.js +26 -26
- package/dist/esm/baseControls/Link/runtime.js +26 -26
- package/dist/esm/baseControls/ListSelectButton/designer.js +28 -28
- package/dist/esm/baseControls/ListSelectButton/property.js +36 -36
- package/dist/esm/baseControls/ListSelectButton/runtime.js +26 -26
- package/dist/esm/baseControls/ListViewSelect/designer.js +27 -27
- package/dist/esm/baseControls/ListViewSelect/property.js +30 -30
- package/dist/esm/baseControls/ListViewSelect/runtime.js +26 -26
- package/dist/esm/baseControls/OperationButton/designer.js +28 -28
- package/dist/esm/baseControls/OperationButton/property.js +40 -40
- package/dist/esm/baseControls/OperationButton/runtime.js +26 -26
- package/dist/esm/baseControls/Pagination/designer.js +27 -27
- package/dist/esm/baseControls/Pagination/property.js +29 -29
- package/dist/esm/baseControls/Pagination/runtime.js +26 -26
- package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +28 -28
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +22 -22
- package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +26 -26
- package/dist/esm/baseControls/Text/designer.js +27 -27
- package/dist/esm/baseControls/Text/property.js +28 -28
- package/dist/esm/baseControls/Text/runtime.js +26 -26
- package/dist/esm/baseControls/TextOcrButton/designer.js +28 -28
- package/dist/esm/baseControls/TextOcrButton/property.js +39 -39
- package/dist/esm/baseControls/TextOcrButton/runtime.js +26 -26
- package/dist/esm/baseControls/Title/designer.js +28 -28
- package/dist/esm/baseControls/Title/property.js +33 -33
- package/dist/esm/baseControls/Title/runtime.js +26 -26
- package/dist/esm/columnControls/ArrayColumn/designer.js +29 -29
- package/dist/esm/columnControls/ArrayColumn/property.js +29 -29
- package/dist/esm/columnControls/ArrayColumn/runtime.js +26 -26
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +29 -29
- package/dist/esm/columnControls/AutoNumberColumn/property.js +22 -22
- package/dist/esm/columnControls/AutoNumberColumn/runtime.js +26 -26
- package/dist/esm/columnControls/CustomColumn/designer.js +47 -47
- package/dist/esm/columnControls/CustomColumn/property.js +24 -24
- package/dist/esm/columnControls/CustomColumn/runtime.js +27 -27
- package/dist/esm/columnControls/DecimalColumn/designer.js +37 -37
- package/dist/esm/columnControls/DecimalColumn/property.js +29 -29
- package/dist/esm/columnControls/DecimalColumn/runtime.js +26 -26
- package/dist/esm/columnControls/DepartmentColumn/designer.js +37 -37
- package/dist/esm/columnControls/DepartmentColumn/property.js +24 -24
- package/dist/esm/columnControls/DepartmentColumn/runtime.js +26 -26
- package/dist/esm/columnControls/EmployeeColumn/designer.js +31 -31
- package/dist/esm/columnControls/EmployeeColumn/property.js +24 -24
- package/dist/esm/columnControls/EmployeeColumn/runtime.js +26 -26
- package/dist/esm/columnControls/FileColumn/designer.js +29 -29
- package/dist/esm/columnControls/FileColumn/property.js +22 -22
- package/dist/esm/columnControls/FileColumn/runtime.js +26 -26
- package/dist/esm/columnControls/ImageColumn/designer.js +29 -29
- package/dist/esm/columnControls/ImageColumn/property.js +22 -22
- package/dist/esm/columnControls/ImageColumn/runtime.js +26 -26
- package/dist/esm/columnControls/LocationColumn/designer.js +29 -29
- package/dist/esm/columnControls/LocationColumn/property.js +22 -22
- package/dist/esm/columnControls/LocationColumn/runtime.js +26 -26
- package/dist/esm/columnControls/OperationColumn/designer.js +49 -49
- package/dist/esm/columnControls/OperationColumn/property.js +25 -25
- package/dist/esm/columnControls/OperationColumn/runtime.js +28 -28
- package/dist/esm/columnControls/OrderColumn/designer.js +28 -28
- package/dist/esm/columnControls/OrderColumn/property.js +26 -26
- package/dist/esm/columnControls/OrderColumn/runtime.js +26 -26
- package/dist/esm/columnControls/PeopleColumn/designer.js +29 -29
- package/dist/esm/columnControls/PeopleColumn/property.js +22 -22
- package/dist/esm/columnControls/PeopleColumn/runtime.js +26 -26
- package/dist/esm/columnControls/TextColumn/designer.js +37 -37
- package/dist/esm/columnControls/TextColumn/property.js +25 -25
- package/dist/esm/columnControls/TextColumn/runtime.js +26 -26
- package/dist/esm/columnControls/TimescopeColumn/designer.js +37 -37
- package/dist/esm/columnControls/TimescopeColumn/property.js +24 -24
- package/dist/esm/columnControls/TimescopeColumn/runtime.js +26 -26
- package/dist/esm/columnControls/TimestampColumn/designer.js +37 -37
- package/dist/esm/columnControls/TimestampColumn/property.js +24 -24
- package/dist/esm/columnControls/TimestampColumn/runtime.js +26 -26
- package/dist/esm/columnControls/VarcharColumn/designer.js +29 -29
- package/dist/esm/columnControls/VarcharColumn/property.js +30 -30
- package/dist/esm/columnControls/VarcharColumn/runtime.js +26 -26
- package/dist/esm/formControls/Address/designer.js +28 -28
- package/dist/esm/formControls/Address/property.js +41 -33
- package/dist/esm/formControls/Address/runtime.js +27 -27
- package/dist/esm/formControls/Amount/designer.js +35 -35
- package/dist/esm/formControls/Amount/property.js +55 -47
- package/dist/esm/formControls/Amount/runtime.js +27 -27
- package/dist/esm/formControls/Attachment/designer.js +29 -29
- package/dist/esm/formControls/Attachment/property.js +36 -36
- package/dist/esm/formControls/Attachment/runtime.js +27 -27
- package/dist/esm/formControls/AutoNumber/designer.js +29 -29
- package/dist/esm/formControls/AutoNumber/property.js +24 -24
- package/dist/esm/formControls/AutoNumber/runtime.js +27 -27
- package/dist/esm/formControls/Calc/designer.js +35 -35
- package/dist/esm/formControls/Calc/property.js +41 -36
- package/dist/esm/formControls/Calc/runtime.js +27 -27
- package/dist/esm/formControls/Checkbox/designer.js +29 -29
- package/dist/esm/formControls/Checkbox/property.js +44 -44
- package/dist/esm/formControls/Checkbox/runtime.js +27 -27
- package/dist/esm/formControls/DatePicker/designer.js +34 -34
- package/dist/esm/formControls/DatePicker/property.js +29 -29
- package/dist/esm/formControls/DatePicker/runtime.js +27 -27
- package/dist/esm/formControls/DateRange/designer.js +34 -34
- package/dist/esm/formControls/DateRange/property.js +73 -40
- package/dist/esm/formControls/DateRange/runtime.js +27 -27
- package/dist/esm/formControls/Department/designer.js +34 -34
- package/dist/esm/formControls/Department/property.js +36 -36
- package/dist/esm/formControls/Department/runtime.js +27 -27
- package/dist/esm/formControls/Department2/designer.js +34 -34
- package/dist/esm/formControls/Department2/property.js +46 -46
- package/dist/esm/formControls/Department2/runtime.js +27 -27
- package/dist/esm/formControls/ElectronicSignature/designer.js +29 -29
- package/dist/esm/formControls/ElectronicSignature/property.js +35 -35
- package/dist/esm/formControls/ElectronicSignature/runtime.js +27 -27
- package/dist/esm/formControls/Employee/designer.js +28 -28
- package/dist/esm/formControls/Employee/property.js +34 -34
- package/dist/esm/formControls/Employee/runtime.js +27 -27
- package/dist/esm/formControls/Employee2/designer.js +28 -28
- package/dist/esm/formControls/Employee2/property.js +45 -45
- package/dist/esm/formControls/Employee2/runtime.js +27 -27
- package/dist/esm/formControls/Image/designer.js +27 -27
- package/dist/esm/formControls/Image/property.js +22 -22
- package/dist/esm/formControls/Image/runtime.js +24 -24
- package/dist/esm/formControls/Input/designer.js +29 -29
- package/dist/esm/formControls/Input/property.js +38 -38
- package/dist/esm/formControls/Input/runtime.js +27 -27
- package/dist/esm/formControls/Number/designer.js +35 -35
- package/dist/esm/formControls/Number/property.js +43 -43
- package/dist/esm/formControls/Number/runtime.js +27 -27
- package/dist/esm/formControls/Radio/designer.js +29 -29
- package/dist/esm/formControls/Radio/property.js +38 -38
- package/dist/esm/formControls/Radio/runtime.js +27 -27
- package/dist/esm/formControls/RichText/designer.js +29 -29
- package/dist/esm/formControls/RichText/property.js +35 -35
- package/dist/esm/formControls/RichText/runtime.js +27 -27
- package/dist/esm/formControls/Score/designer.js +46 -46
- package/dist/esm/formControls/Score/property.js +36 -36
- package/dist/esm/formControls/Score/runtime.js +27 -27
- package/dist/esm/formControls/SearchDateRange/designer.js +28 -28
- package/dist/esm/formControls/SearchDateRange/property.js +34 -34
- package/dist/esm/formControls/SearchDateRange/runtime.js +27 -27
- package/dist/esm/formControls/SearchInput/designer.js +27 -27
- package/dist/esm/formControls/SearchInput/property.js +24 -24
- package/dist/esm/formControls/SearchInput/runtime.js +27 -27
- package/dist/esm/formControls/SearchNumberRange/designer.js +28 -28
- package/dist/esm/formControls/SearchNumberRange/property.js +31 -31
- package/dist/esm/formControls/SearchNumberRange/runtime.js +27 -27
- package/dist/esm/formControls/Select/designer.js +28 -28
- package/dist/esm/formControls/Select/property.js +34 -34
- package/dist/esm/formControls/Select/runtime.js +27 -27
- package/dist/esm/formControls/SelectMultiple/designer.js +28 -28
- package/dist/esm/formControls/SelectMultiple/property.js +36 -36
- package/dist/esm/formControls/SelectMultiple/runtime.js +27 -27
- package/dist/esm/formControls/SelectRelation/designer.js +29 -29
- package/dist/esm/formControls/SelectRelation/property.js +35 -35
- package/dist/esm/formControls/SelectRelation/runtime.js +27 -27
- package/dist/esm/formControls/Textarea/designer.js +29 -29
- package/dist/esm/formControls/Textarea/property.js +36 -36
- package/dist/esm/formControls/Textarea/runtime.js +27 -27
- package/dist/esm/formControls/Tree/designer.js +29 -29
- package/dist/esm/formControls/Tree/property.js +44 -44
- package/dist/esm/formControls/Tree/runtime.js +27 -27
- package/dist/esm/formControls/VueFormItem/designer.js +29 -29
- package/dist/esm/formControls/VueFormItem/property.js +33 -33
- package/dist/esm/formControls/VueFormItem/runtime.js +27 -27
- package/dist/esm/formControls/WPS/designer.js +29 -29
- package/dist/esm/formControls/WPS/property.js +44 -44
- package/dist/esm/formControls/WPS/runtime.js +27 -27
- package/dist/esm/framework.js +51 -51
- package/dist/esm/layoutControls/AdvancedContainer/Setting.js +11 -11
- package/dist/esm/layoutControls/AdvancedContainer/designer.js +24 -24
- package/dist/esm/layoutControls/AdvancedContainer/property.js +25 -25
- package/dist/esm/layoutControls/AdvancedContainer/runtime.js +24 -24
- package/dist/esm/layoutControls/CardGroup/designer.js +28 -28
- package/dist/esm/layoutControls/CardGroup/property.js +29 -29
- package/dist/esm/layoutControls/CardGroup/runtime.js +26 -26
- package/dist/esm/layoutControls/Col/designer.js +28 -28
- package/dist/esm/layoutControls/Col/property.js +25 -25
- package/dist/esm/layoutControls/Col/runtime.js +26 -26
- package/dist/esm/layoutControls/DataView/designer.js +27 -27
- package/dist/esm/layoutControls/DataView/property.js +33 -33
- package/dist/esm/layoutControls/DataView/runtime.js +26 -26
- package/dist/esm/layoutControls/Grid/designer.js +26 -26
- package/dist/esm/layoutControls/Grid/runtime.js +24 -24
- package/dist/esm/layoutControls/GridRow/designer.js +28 -28
- package/dist/esm/layoutControls/GridRow/property.js +22 -22
- package/dist/esm/layoutControls/GridRow/runtime.js +24 -24
- package/dist/esm/layoutControls/GridTableColumn/designer.js +30 -30
- package/dist/esm/layoutControls/GridTableColumn/property.js +35 -35
- package/dist/esm/layoutControls/GridTableColumn/runtime.js +25 -25
- package/dist/esm/layoutControls/ListView/designer.js +29 -29
- package/dist/esm/layoutControls/ListView/property.js +43 -43
- package/dist/esm/layoutControls/ListView/runtime.js +26 -26
- package/dist/esm/layoutControls/Page/Setting.js +11 -11
- package/dist/esm/layoutControls/Page/designer.js +24 -24
- package/dist/esm/layoutControls/Page/property.js +28 -28
- package/dist/esm/layoutControls/Page/runtime.js +24 -24
- package/dist/esm/layoutControls/Position/designer.js +24 -24
- package/dist/esm/layoutControls/Position/property.js +27 -27
- package/dist/esm/layoutControls/Position/runtime.js +24 -24
- package/dist/esm/layoutControls/PositioningContainer/Setting.js +11 -11
- package/dist/esm/layoutControls/PositioningContainer/designer.js +24 -24
- package/dist/esm/layoutControls/PositioningContainer/property.js +22 -22
- package/dist/esm/layoutControls/PositioningContainer/runtime.js +24 -24
- package/dist/esm/layoutControls/Row/designer.js +28 -28
- package/dist/esm/layoutControls/Row/property.js +25 -25
- package/dist/esm/layoutControls/Row/runtime.js +26 -26
- package/dist/esm/layoutControls/SubTableColumn/designer.js +30 -30
- package/dist/esm/layoutControls/SubTableColumn/property.js +35 -35
- package/dist/esm/layoutControls/SubTableColumn/runtime.js +25 -25
- package/dist/esm/layoutControls/SubTableRow/designer.js +30 -30
- package/dist/esm/layoutControls/SubTableRow/property.js +22 -22
- package/dist/esm/layoutControls/SubTableRow/runtime.js +26 -26
- package/dist/esm/layoutControls/Tab/designer.js +29 -29
- package/dist/esm/layoutControls/Tab/property.js +22 -22
- package/dist/esm/layoutControls/Tab/runtime.js +26 -26
- package/dist/esm/layoutControls/TabPane/designer.js +28 -28
- package/dist/esm/layoutControls/TabPane/property.js +28 -28
- package/dist/esm/layoutControls/TabPane/runtime.js +26 -26
- package/dist/esm/layoutControls/Toolbox/designer.js +27 -27
- package/dist/esm/layoutControls/Toolbox/property.js +22 -22
- package/dist/esm/layoutControls/Toolbox/runtime.js +24 -24
- package/dist/esm/listControls/GridTable/designer.js +46 -46
- package/dist/esm/listControls/GridTable/property.js +28 -28
- package/dist/esm/listControls/GridTable/runtime.js +27 -27
- package/dist/esm/listControls/SubTable/designer.js +29 -29
- package/dist/esm/listControls/SubTable/property.js +59 -59
- package/dist/esm/listControls/SubTable/runtime.js +27 -27
- package/dist/esm/searchControls/SimpleSearch/designer.js +26 -26
- package/dist/esm/searchControls/SimpleSearch/property.js +33 -33
- package/dist/esm/searchControls/SimpleSearch/runtime.js +26 -26
- package/dist/index.umd.js +1 -1
- package/dist/types/formControls/Address/property.d.ts +15 -0
- package/dist/types/formControls/Amount/property.d.ts +9 -0
- package/dist/types/formControls/Calc/property.d.ts +5 -0
- package/dist/types/formControls/DateRange/property.d.ts +47 -0
- package/package.json +4 -4
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
2
2
|
if (self === void 0) {
|
|
3
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function _class_call_check(instance, Constructor) {
|
|
8
8
|
if (!(instance instanceof Constructor)) {
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
function
|
|
13
|
-
|
|
12
|
+
function _get_prototype_of(o) {
|
|
13
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
14
14
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
15
15
|
};
|
|
16
|
-
return
|
|
16
|
+
return _get_prototype_of(o);
|
|
17
17
|
}
|
|
18
18
|
function _inherits(subClass, superClass) {
|
|
19
19
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -26,26 +26,26 @@ function _inherits(subClass, superClass) {
|
|
|
26
26
|
configurable: true
|
|
27
27
|
}
|
|
28
28
|
});
|
|
29
|
-
if (superClass)
|
|
29
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
32
|
-
if (call && (
|
|
31
|
+
function _possible_constructor_return(self, call) {
|
|
32
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
33
33
|
return call;
|
|
34
34
|
}
|
|
35
|
-
return
|
|
35
|
+
return _assert_this_initialized(self);
|
|
36
36
|
}
|
|
37
|
-
function
|
|
38
|
-
|
|
37
|
+
function _set_prototype_of(o, p) {
|
|
38
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
39
39
|
o.__proto__ = p;
|
|
40
40
|
return o;
|
|
41
41
|
};
|
|
42
|
-
return
|
|
42
|
+
return _set_prototype_of(o, p);
|
|
43
43
|
}
|
|
44
|
-
|
|
44
|
+
function _type_of(obj) {
|
|
45
45
|
"@swc/helpers - typeof";
|
|
46
46
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
47
|
-
}
|
|
48
|
-
function
|
|
47
|
+
}
|
|
48
|
+
function _is_native_reflect_construct() {
|
|
49
49
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
50
50
|
if (Reflect.construct.sham) return false;
|
|
51
51
|
if (typeof Proxy === "function") return true;
|
|
@@ -56,26 +56,26 @@ function _isNativeReflectConstruct() {
|
|
|
56
56
|
return false;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
var hasNativeReflectConstruct =
|
|
59
|
+
function _create_super(Derived) {
|
|
60
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
61
61
|
return function _createSuperInternal() {
|
|
62
|
-
var Super =
|
|
62
|
+
var Super = _get_prototype_of(Derived), result;
|
|
63
63
|
if (hasNativeReflectConstruct) {
|
|
64
|
-
var NewTarget =
|
|
64
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
65
65
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
66
66
|
} else {
|
|
67
67
|
result = Super.apply(this, arguments);
|
|
68
68
|
}
|
|
69
|
-
return
|
|
69
|
+
return _possible_constructor_return(this, result);
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
import { LayoutControlProperty } from "@byteluck-fe/model-driven-core";
|
|
73
73
|
var ToolboxControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
74
74
|
"use strict";
|
|
75
75
|
_inherits(ToolboxControlProperty, LayoutControlProperty);
|
|
76
|
-
var _super =
|
|
76
|
+
var _super = _create_super(ToolboxControlProperty);
|
|
77
77
|
function ToolboxControlProperty(props) {
|
|
78
|
-
|
|
78
|
+
_class_call_check(this, ToolboxControlProperty);
|
|
79
79
|
return _super.call(this, props);
|
|
80
80
|
}
|
|
81
81
|
return ToolboxControlProperty;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
2
2
|
if (self === void 0) {
|
|
3
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function _class_call_check(instance, Constructor) {
|
|
8
8
|
if (!(instance instanceof Constructor)) {
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
@@ -18,16 +18,16 @@ function _defineProperties(target, props) {
|
|
|
18
18
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
22
22
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
23
23
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
24
|
return Constructor;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
27
|
-
|
|
26
|
+
function _get_prototype_of(o) {
|
|
27
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
28
28
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
29
29
|
};
|
|
30
|
-
return
|
|
30
|
+
return _get_prototype_of(o);
|
|
31
31
|
}
|
|
32
32
|
function _inherits(subClass, superClass) {
|
|
33
33
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -40,26 +40,26 @@ function _inherits(subClass, superClass) {
|
|
|
40
40
|
configurable: true
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
|
-
if (superClass)
|
|
43
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
44
44
|
}
|
|
45
|
-
function
|
|
46
|
-
if (call && (
|
|
45
|
+
function _possible_constructor_return(self, call) {
|
|
46
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
47
47
|
return call;
|
|
48
48
|
}
|
|
49
|
-
return
|
|
49
|
+
return _assert_this_initialized(self);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
|
|
51
|
+
function _set_prototype_of(o, p) {
|
|
52
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
53
53
|
o.__proto__ = p;
|
|
54
54
|
return o;
|
|
55
55
|
};
|
|
56
|
-
return
|
|
56
|
+
return _set_prototype_of(o, p);
|
|
57
57
|
}
|
|
58
|
-
|
|
58
|
+
function _type_of(obj) {
|
|
59
59
|
"@swc/helpers - typeof";
|
|
60
60
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
61
|
-
}
|
|
62
|
-
function
|
|
61
|
+
}
|
|
62
|
+
function _is_native_reflect_construct() {
|
|
63
63
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
64
64
|
if (Reflect.construct.sham) return false;
|
|
65
65
|
if (typeof Proxy === "function") return true;
|
|
@@ -70,17 +70,17 @@ function _isNativeReflectConstruct() {
|
|
|
70
70
|
return false;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
var hasNativeReflectConstruct =
|
|
73
|
+
function _create_super(Derived) {
|
|
74
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
75
75
|
return function _createSuperInternal() {
|
|
76
|
-
var Super =
|
|
76
|
+
var Super = _get_prototype_of(Derived), result;
|
|
77
77
|
if (hasNativeReflectConstruct) {
|
|
78
|
-
var NewTarget =
|
|
78
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
79
79
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
80
80
|
} else {
|
|
81
81
|
result = Super.apply(this, arguments);
|
|
82
82
|
}
|
|
83
|
-
return
|
|
83
|
+
return _possible_constructor_return(this, result);
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
import { ColControlProperty, RuntimeColControl } from "../Col";
|
|
@@ -88,9 +88,9 @@ import { RuntimeLayoutControl } from "@byteluck-fe/model-driven-core";
|
|
|
88
88
|
var ToolboxControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
|
|
89
89
|
"use strict";
|
|
90
90
|
_inherits(ToolboxControl, RuntimeLayoutControl);
|
|
91
|
-
var _super =
|
|
91
|
+
var _super = _create_super(ToolboxControl);
|
|
92
92
|
function ToolboxControl(props) {
|
|
93
|
-
|
|
93
|
+
_class_call_check(this, ToolboxControl);
|
|
94
94
|
var _this;
|
|
95
95
|
_this = _super.call(this, props);
|
|
96
96
|
_this.children = (props === null || props === void 0 ? void 0 : props.children) || [
|
|
@@ -107,7 +107,7 @@ var ToolboxControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
|
|
|
107
107
|
];
|
|
108
108
|
return _this;
|
|
109
109
|
}
|
|
110
|
-
|
|
110
|
+
_create_class(ToolboxControl, null, [
|
|
111
111
|
{
|
|
112
112
|
key: "controlType",
|
|
113
113
|
get: function get() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
2
2
|
if (self === void 0) {
|
|
3
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
4
|
}
|
|
@@ -18,7 +18,7 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
18
18
|
Promise.resolve(value).then(_next, _throw);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function _async_to_generator(fn) {
|
|
22
22
|
return function() {
|
|
23
23
|
var self = this, args = arguments;
|
|
24
24
|
return new Promise(function(resolve, reject) {
|
|
@@ -33,7 +33,7 @@ function _asyncToGenerator(fn) {
|
|
|
33
33
|
});
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function _class_call_check(instance, Constructor) {
|
|
37
37
|
if (!(instance instanceof Constructor)) {
|
|
38
38
|
throw new TypeError("Cannot call a class as a function");
|
|
39
39
|
}
|
|
@@ -47,12 +47,12 @@ function _defineProperties(target, props) {
|
|
|
47
47
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
51
51
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
52
52
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
53
53
|
return Constructor;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function _define_property(obj, key, value) {
|
|
56
56
|
if (key in obj) {
|
|
57
57
|
Object.defineProperty(obj, key, {
|
|
58
58
|
value: value,
|
|
@@ -69,23 +69,23 @@ function _get(target, property, receiver) {
|
|
|
69
69
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
70
70
|
_get = Reflect.get;
|
|
71
71
|
} else {
|
|
72
|
-
_get = function
|
|
73
|
-
var base =
|
|
72
|
+
_get = function get(target, property, receiver) {
|
|
73
|
+
var base = _super_prop_base(target, property);
|
|
74
74
|
if (!base) return;
|
|
75
75
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
76
76
|
if (desc.get) {
|
|
77
|
-
return desc.get.call(receiver);
|
|
77
|
+
return desc.get.call(receiver || target);
|
|
78
78
|
}
|
|
79
79
|
return desc.value;
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
82
|
return _get(target, property, receiver || target);
|
|
83
83
|
}
|
|
84
|
-
function
|
|
85
|
-
|
|
84
|
+
function _get_prototype_of(o) {
|
|
85
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
86
86
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
87
87
|
};
|
|
88
|
-
return
|
|
88
|
+
return _get_prototype_of(o);
|
|
89
89
|
}
|
|
90
90
|
function _inherits(subClass, superClass) {
|
|
91
91
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -98,9 +98,9 @@ function _inherits(subClass, superClass) {
|
|
|
98
98
|
configurable: true
|
|
99
99
|
}
|
|
100
100
|
});
|
|
101
|
-
if (superClass)
|
|
101
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function _object_spread(target) {
|
|
104
104
|
for(var i = 1; i < arguments.length; i++){
|
|
105
105
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
106
106
|
var ownKeys = Object.keys(source);
|
|
@@ -110,7 +110,7 @@ function _objectSpread(target) {
|
|
|
110
110
|
}));
|
|
111
111
|
}
|
|
112
112
|
ownKeys.forEach(function(key) {
|
|
113
|
-
|
|
113
|
+
_define_property(target, key, source[key]);
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
116
|
return target;
|
|
@@ -128,7 +128,7 @@ function ownKeys(object, enumerableOnly) {
|
|
|
128
128
|
}
|
|
129
129
|
return keys;
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function _object_spread_props(target, source) {
|
|
132
132
|
source = source != null ? source : {};
|
|
133
133
|
if (Object.getOwnPropertyDescriptors) {
|
|
134
134
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
@@ -139,31 +139,31 @@ function _objectSpreadProps(target, source) {
|
|
|
139
139
|
}
|
|
140
140
|
return target;
|
|
141
141
|
}
|
|
142
|
-
function
|
|
143
|
-
if (call && (
|
|
142
|
+
function _possible_constructor_return(self, call) {
|
|
143
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
144
144
|
return call;
|
|
145
145
|
}
|
|
146
|
-
return
|
|
146
|
+
return _assert_this_initialized(self);
|
|
147
147
|
}
|
|
148
|
-
function
|
|
149
|
-
|
|
148
|
+
function _set_prototype_of(o, p) {
|
|
149
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
150
150
|
o.__proto__ = p;
|
|
151
151
|
return o;
|
|
152
152
|
};
|
|
153
|
-
return
|
|
153
|
+
return _set_prototype_of(o, p);
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function _super_prop_base(object, property) {
|
|
156
156
|
while(!Object.prototype.hasOwnProperty.call(object, property)){
|
|
157
|
-
object =
|
|
157
|
+
object = _get_prototype_of(object);
|
|
158
158
|
if (object === null) break;
|
|
159
159
|
}
|
|
160
160
|
return object;
|
|
161
161
|
}
|
|
162
|
-
|
|
162
|
+
function _type_of(obj) {
|
|
163
163
|
"@swc/helpers - typeof";
|
|
164
164
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
165
|
-
}
|
|
166
|
-
function
|
|
165
|
+
}
|
|
166
|
+
function _is_native_reflect_construct() {
|
|
167
167
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
168
168
|
if (Reflect.construct.sham) return false;
|
|
169
169
|
if (typeof Proxy === "function") return true;
|
|
@@ -174,20 +174,20 @@ function _isNativeReflectConstruct() {
|
|
|
174
174
|
return false;
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
function
|
|
178
|
-
var hasNativeReflectConstruct =
|
|
177
|
+
function _create_super(Derived) {
|
|
178
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
179
179
|
return function _createSuperInternal() {
|
|
180
|
-
var Super =
|
|
180
|
+
var Super = _get_prototype_of(Derived), result;
|
|
181
181
|
if (hasNativeReflectConstruct) {
|
|
182
|
-
var NewTarget =
|
|
182
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
183
183
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
184
184
|
} else {
|
|
185
185
|
result = Super.apply(this, arguments);
|
|
186
186
|
}
|
|
187
|
-
return
|
|
187
|
+
return _possible_constructor_return(this, result);
|
|
188
188
|
};
|
|
189
189
|
}
|
|
190
|
-
|
|
190
|
+
function _ts_generator(thisArg, body) {
|
|
191
191
|
var f, y, t, g, _ = {
|
|
192
192
|
label: 0,
|
|
193
193
|
sent: function() {
|
|
@@ -281,7 +281,7 @@ var __generator = this && this.__generator || function(thisArg, body) {
|
|
|
281
281
|
done: true
|
|
282
282
|
};
|
|
283
283
|
}
|
|
284
|
-
}
|
|
284
|
+
}
|
|
285
285
|
import { GridTableControlProperty } from "./property";
|
|
286
286
|
import { DesignerListControl, defineControlArrayToProperty } from "@byteluck-fe/model-driven-core";
|
|
287
287
|
import { DesignerOrderColumnControl } from "../../columnControls/OrderColumn";
|
|
@@ -289,15 +289,15 @@ import { DesignerOperationColumnControl } from "../../columnControls/OperationCo
|
|
|
289
289
|
var GridTableControl = /*#__PURE__*/ function(DesignerListControl) {
|
|
290
290
|
"use strict";
|
|
291
291
|
_inherits(GridTableControl, DesignerListControl);
|
|
292
|
-
var _super =
|
|
292
|
+
var _super = _create_super(GridTableControl);
|
|
293
293
|
function GridTableControl(props) {
|
|
294
|
-
|
|
294
|
+
_class_call_check(this, GridTableControl);
|
|
295
295
|
var _this;
|
|
296
296
|
_this = _super.call(this, props);
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
_this.props = new GridTableControlProperty(
|
|
300
|
-
defineControlArrayToProperty(
|
|
297
|
+
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
298
|
+
_define_property(_assert_this_initialized(_this), "children", void 0);
|
|
299
|
+
_this.props = new GridTableControlProperty(_assert_this_initialized(_this), props === null || props === void 0 ? void 0 : props.props);
|
|
300
|
+
defineControlArrayToProperty(_assert_this_initialized(_this), "children", props === null || props === void 0 ? void 0 : props.children);
|
|
301
301
|
if ((props === null || props === void 0 ? void 0 : props.props.headers) === undefined) {
|
|
302
302
|
_this.props.headers = [
|
|
303
303
|
new DesignerOrderColumnControl(),
|
|
@@ -306,15 +306,15 @@ var GridTableControl = /*#__PURE__*/ function(DesignerListControl) {
|
|
|
306
306
|
}
|
|
307
307
|
return _this;
|
|
308
308
|
}
|
|
309
|
-
|
|
309
|
+
_create_class(GridTableControl, [
|
|
310
310
|
{
|
|
311
311
|
key: "toSchema",
|
|
312
312
|
value: function toSchema() {
|
|
313
|
-
var schema = _get(
|
|
313
|
+
var schema = _get(_get_prototype_of(GridTableControl.prototype), "toSchema", this).call(this);
|
|
314
314
|
var children = this.children.map(function(item) {
|
|
315
315
|
return item.toSchema();
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return _object_spread_props(_object_spread({}, schema), {
|
|
318
318
|
children: children
|
|
319
319
|
});
|
|
320
320
|
}
|
|
@@ -324,10 +324,10 @@ var GridTableControl = /*#__PURE__*/ function(DesignerListControl) {
|
|
|
324
324
|
value: function validate(messages, ignore) {
|
|
325
325
|
var _this = this;
|
|
326
326
|
var _this1 = this, _superprop_get_validate = function() {
|
|
327
|
-
return _get(
|
|
327
|
+
return _get(_get_prototype_of(GridTableControl.prototype), "validate", _this);
|
|
328
328
|
};
|
|
329
|
-
return
|
|
330
|
-
return
|
|
329
|
+
return _async_to_generator(function() {
|
|
330
|
+
return _ts_generator(this, function(_state) {
|
|
331
331
|
switch(_state.label){
|
|
332
332
|
case 0:
|
|
333
333
|
return [
|
|
@@ -380,7 +380,7 @@ var GridTableControl = /*#__PURE__*/ function(DesignerListControl) {
|
|
|
380
380
|
// 'on_list_mounted',
|
|
381
381
|
// 'on_list_splice',
|
|
382
382
|
// ]
|
|
383
|
-
|
|
383
|
+
_define_property(GridTableControl, "setting", [
|
|
384
384
|
{
|
|
385
385
|
key: "list-fixed-header",
|
|
386
386
|
visible: true
|
|
@@ -5,18 +5,18 @@
|
|
|
5
5
|
* @LastEditTime: 2022-07-06 23:58:56
|
|
6
6
|
* @FilePath: /model-driven/packages/controls/src/listControls/GridTable/property.ts
|
|
7
7
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
8
|
-
*/ function
|
|
8
|
+
*/ function _assert_this_initialized(self) {
|
|
9
9
|
if (self === void 0) {
|
|
10
10
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
11
11
|
}
|
|
12
12
|
return self;
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function _class_call_check(instance, Constructor) {
|
|
15
15
|
if (!(instance instanceof Constructor)) {
|
|
16
16
|
throw new TypeError("Cannot call a class as a function");
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function _define_property(obj, key, value) {
|
|
20
20
|
if (key in obj) {
|
|
21
21
|
Object.defineProperty(obj, key, {
|
|
22
22
|
value: value,
|
|
@@ -29,11 +29,11 @@ function _defineProperty(obj, key, value) {
|
|
|
29
29
|
}
|
|
30
30
|
return obj;
|
|
31
31
|
}
|
|
32
|
-
function
|
|
33
|
-
|
|
32
|
+
function _get_prototype_of(o) {
|
|
33
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
34
34
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
35
35
|
};
|
|
36
|
-
return
|
|
36
|
+
return _get_prototype_of(o);
|
|
37
37
|
}
|
|
38
38
|
function _inherits(subClass, superClass) {
|
|
39
39
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -46,26 +46,26 @@ function _inherits(subClass, superClass) {
|
|
|
46
46
|
configurable: true
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
|
-
if (superClass)
|
|
49
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
if (call && (
|
|
51
|
+
function _possible_constructor_return(self, call) {
|
|
52
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
53
53
|
return call;
|
|
54
54
|
}
|
|
55
|
-
return
|
|
55
|
+
return _assert_this_initialized(self);
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
|
|
57
|
+
function _set_prototype_of(o, p) {
|
|
58
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
59
59
|
o.__proto__ = p;
|
|
60
60
|
return o;
|
|
61
61
|
};
|
|
62
|
-
return
|
|
62
|
+
return _set_prototype_of(o, p);
|
|
63
63
|
}
|
|
64
|
-
|
|
64
|
+
function _type_of(obj) {
|
|
65
65
|
"@swc/helpers - typeof";
|
|
66
66
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
67
|
-
}
|
|
68
|
-
function
|
|
67
|
+
}
|
|
68
|
+
function _is_native_reflect_construct() {
|
|
69
69
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
70
70
|
if (Reflect.construct.sham) return false;
|
|
71
71
|
if (typeof Proxy === "function") return true;
|
|
@@ -76,17 +76,17 @@ function _isNativeReflectConstruct() {
|
|
|
76
76
|
return false;
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
function
|
|
80
|
-
var hasNativeReflectConstruct =
|
|
79
|
+
function _create_super(Derived) {
|
|
80
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
81
81
|
return function _createSuperInternal() {
|
|
82
|
-
var Super =
|
|
82
|
+
var Super = _get_prototype_of(Derived), result;
|
|
83
83
|
if (hasNativeReflectConstruct) {
|
|
84
|
-
var NewTarget =
|
|
84
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
85
85
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
86
86
|
} else {
|
|
87
87
|
result = Super.apply(this, arguments);
|
|
88
88
|
}
|
|
89
|
-
return
|
|
89
|
+
return _possible_constructor_return(this, result);
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
92
|
import { ListControlProperty } from "@byteluck-fe/model-driven-core";
|
|
@@ -96,35 +96,35 @@ import { ListControlProperty } from "@byteluck-fe/model-driven-core";
|
|
|
96
96
|
*/ var GridTableControlProperty = /*#__PURE__*/ function(ListControlProperty) {
|
|
97
97
|
"use strict";
|
|
98
98
|
_inherits(GridTableControlProperty, ListControlProperty);
|
|
99
|
-
var _super =
|
|
99
|
+
var _super = _create_super(GridTableControlProperty);
|
|
100
100
|
function GridTableControlProperty(parent, props) {
|
|
101
|
-
|
|
101
|
+
_class_call_check(this, GridTableControlProperty);
|
|
102
102
|
var _this;
|
|
103
103
|
_this = _super.call(this, parent, props);
|
|
104
104
|
/**
|
|
105
105
|
* 冻结表头
|
|
106
106
|
* @defaultValue false
|
|
107
107
|
* @public
|
|
108
|
-
*/
|
|
108
|
+
*/ _define_property(_assert_this_initialized(_this), "isFixedHeader", void 0);
|
|
109
109
|
/**
|
|
110
110
|
* 选择类型
|
|
111
111
|
* @public
|
|
112
|
-
*/
|
|
112
|
+
*/ _define_property(_assert_this_initialized(_this), "selectionType", void 0);
|
|
113
113
|
/**
|
|
114
114
|
* 显示工具栏
|
|
115
115
|
* @defaultValue true
|
|
116
116
|
* @public
|
|
117
|
-
*/
|
|
117
|
+
*/ _define_property(_assert_this_initialized(_this), "isShowToolbar", void 0);
|
|
118
118
|
/**
|
|
119
119
|
* 显示选择框
|
|
120
120
|
* @defaultValue false
|
|
121
121
|
* @public
|
|
122
|
-
*/
|
|
122
|
+
*/ _define_property(_assert_this_initialized(_this), "isShowSelection", void 0);
|
|
123
123
|
/**
|
|
124
124
|
* 显示自定义表头
|
|
125
125
|
* @defaultValue true
|
|
126
126
|
* @public
|
|
127
|
-
*/
|
|
127
|
+
*/ _define_property(_assert_this_initialized(_this), "isShowCustomColumns", void 0);
|
|
128
128
|
var _props_isFixedHeader;
|
|
129
129
|
_this.isFixedHeader = (_props_isFixedHeader = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _props_isFixedHeader !== void 0 ? _props_isFixedHeader : false;
|
|
130
130
|
_this.selectionType = props === null || props === void 0 ? void 0 : props.selectionType;
|