@byteluck-fe/model-driven-controls 5.6.0-1-beta3 → 5.6.4-dpx-beta.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/property.js +10 -18
- package/dist/esm/baseControls/BatchPrintListButton/property.js +6 -9
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +3 -4
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +7 -12
- package/dist/esm/baseControls/Button/property.js +10 -18
- package/dist/esm/baseControls/CreateFormListButton/property.js +5 -8
- package/dist/esm/baseControls/Dashboard/designer.js +4 -0
- package/dist/esm/baseControls/Dashboard/property.js +15 -13
- package/dist/esm/baseControls/Divider/property.js +4 -5
- package/dist/esm/baseControls/ExportListButton/property.js +6 -9
- package/dist/esm/baseControls/ExportRecordListButton/property.js +3 -4
- package/dist/esm/baseControls/FormSelectButton/property.js +4 -6
- package/dist/esm/baseControls/ImportRecordListButton/property.js +6 -9
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +11 -19
- package/dist/esm/baseControls/Link/property.js +4 -6
- package/dist/esm/baseControls/ListSelectButton/property.js +6 -10
- package/dist/esm/baseControls/ListViewSelect/property.js +4 -5
- package/dist/esm/baseControls/OperationButton/property.js +9 -11
- package/dist/esm/baseControls/ReferenceList/property.js +7 -12
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +3 -4
- package/dist/esm/baseControls/Text/designer.js +4 -0
- package/dist/esm/baseControls/Text/property.js +13 -13
- package/dist/esm/baseControls/TextOcrButton/property.js +11 -19
- package/dist/esm/baseControls/Title/property.js +4 -6
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +4 -6
- package/dist/esm/columnControls/ArrayColumn/property.js +5 -8
- package/dist/esm/columnControls/AutoNumberColumn/property.js +3 -4
- package/dist/esm/columnControls/CustomColumn/designer.js +1 -0
- package/dist/esm/columnControls/CustomColumn/property.js +4 -6
- package/dist/esm/columnControls/DecimalColumn/property.js +8 -14
- package/dist/esm/columnControls/DepartmentColumn/property.js +3 -4
- package/dist/esm/columnControls/EmployeeColumn/designer.js +1 -1
- package/dist/esm/columnControls/EmployeeColumn/property.js +3 -4
- package/dist/esm/columnControls/FileColumn/property.js +3 -4
- package/dist/esm/columnControls/ImageColumn/property.js +2 -2
- package/dist/esm/columnControls/LocationColumn/property.js +3 -4
- package/dist/esm/columnControls/OperationColumn/designer.js +12 -4
- package/dist/esm/columnControls/OperationColumn/property.js +6 -10
- package/dist/esm/columnControls/OrderColumn/property.js +7 -12
- package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
- package/dist/esm/columnControls/TextColumn/property.js +5 -8
- package/dist/esm/columnControls/TimescopeColumn/designer.js +2 -1
- package/dist/esm/columnControls/TimescopeColumn/property.js +7 -7
- package/dist/esm/columnControls/TimestampColumn/designer.js +2 -1
- package/dist/esm/columnControls/TimestampColumn/property.js +7 -7
- package/dist/esm/columnControls/VarcharColumn/property.js +7 -12
- package/dist/esm/formControls/Address/property.js +6 -10
- package/dist/esm/formControls/Address/runtime.js +1 -1
- package/dist/esm/formControls/Amount/property.js +14 -25
- package/dist/esm/formControls/Attachment/designer.js +5 -0
- package/dist/esm/formControls/Attachment/property.js +29 -36
- package/dist/esm/formControls/AutoNumber/property.js +4 -6
- package/dist/esm/formControls/Calc/property.js +10 -18
- package/dist/esm/formControls/Checkbox/designer.js +4 -0
- package/dist/esm/formControls/Checkbox/property.js +21 -28
- package/dist/esm/formControls/DatePicker/designer.js +4 -2
- package/dist/esm/formControls/DatePicker/property.js +14 -21
- package/dist/esm/formControls/DateRange/designer.js +4 -2
- package/dist/esm/formControls/DateRange/property.js +15 -22
- package/dist/esm/formControls/Department/property.js +12 -22
- package/dist/esm/formControls/Department2/designer.js +1 -1
- package/dist/esm/formControls/Department2/property.js +17 -32
- package/dist/esm/formControls/ElectronicSignature/property.js +7 -12
- package/dist/esm/formControls/Employee/property.js +10 -18
- package/dist/esm/formControls/Employee2/designer.js +5 -1
- package/dist/esm/formControls/Employee2/property.js +21 -34
- package/dist/esm/formControls/Image/designer.js +19 -15
- package/dist/esm/formControls/Image/property.js +28 -2
- package/dist/esm/formControls/Image/runtime.js +16 -10
- package/dist/esm/formControls/Input/designer.js +12 -0
- package/dist/esm/formControls/Input/property.js +23 -15
- package/dist/esm/formControls/Number/property.js +15 -27
- package/dist/esm/formControls/OrganizationSelection/designer.js +1 -1
- package/dist/esm/formControls/OrganizationSelection/property.js +19 -36
- package/dist/esm/formControls/Radio/designer.js +4 -0
- package/dist/esm/formControls/Radio/property.js +18 -23
- package/dist/esm/formControls/RichText/designer.js +16 -0
- package/dist/esm/formControls/RichText/property.js +48 -12
- package/dist/esm/formControls/Score/property.js +8 -13
- package/dist/esm/formControls/SearchDateRange/property.js +16 -24
- package/dist/esm/formControls/SearchNumberRange/property.js +7 -12
- package/dist/esm/formControls/Select/designer.js +4 -0
- package/dist/esm/formControls/Select/property.js +17 -21
- package/dist/esm/formControls/SelectMultiple/designer.js +4 -0
- package/dist/esm/formControls/SelectMultiple/property.js +16 -19
- package/dist/esm/formControls/SelectRelation/designer.js +4 -0
- package/dist/esm/formControls/SelectRelation/property.js +60 -66
- package/dist/esm/formControls/Textarea/designer.js +16 -0
- package/dist/esm/formControls/Textarea/property.js +60 -12
- package/dist/esm/formControls/Tree/designer.js +2 -2
- package/dist/esm/formControls/Tree/property.js +20 -37
- package/dist/esm/formControls/VueFormItem/property.js +6 -10
- package/dist/esm/formControls/VuePage/property.js +6 -10
- package/dist/esm/formControls/WPS/designer.js +9 -9
- package/dist/esm/formControls/WPS/property.js +13 -24
- package/dist/esm/framework.js +77 -113
- package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
- package/dist/esm/layoutControls/ActionBar/property.js +4 -6
- package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
- package/dist/esm/layoutControls/AdvancedContainer/Setting.js +3 -3
- package/dist/esm/layoutControls/CardGroup/property.js +4 -6
- package/dist/esm/layoutControls/Col/property.js +3 -4
- package/dist/esm/layoutControls/DataView/property.js +7 -12
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +3 -4
- package/dist/esm/layoutControls/GridTableColumn/designer.js +1 -1
- package/dist/esm/layoutControls/GridTableColumn/property.js +11 -20
- package/dist/esm/layoutControls/ListView/property.js +13 -24
- package/dist/esm/layoutControls/Page/Setting.js +5 -5
- package/dist/esm/layoutControls/Page/property.js +2 -2
- package/dist/esm/layoutControls/Position/property.js +5 -8
- package/dist/esm/layoutControls/PositioningContainer/Setting.js +3 -3
- package/dist/esm/layoutControls/Row/property.js +3 -4
- package/dist/esm/layoutControls/Step/designer.js +166 -0
- package/dist/esm/layoutControls/Step/index.js +11 -0
- package/dist/esm/layoutControls/Step/property.js +99 -0
- package/dist/esm/layoutControls/Step/runtime.js +112 -0
- package/dist/esm/layoutControls/Step/types.js +0 -0
- package/dist/esm/layoutControls/StepPane/designer.js +130 -0
- package/dist/esm/layoutControls/StepPane/index.js +11 -0
- package/dist/esm/layoutControls/StepPane/property.js +116 -0
- package/dist/esm/layoutControls/StepPane/runtime.js +112 -0
- package/dist/esm/layoutControls/StepPane/types.js +0 -0
- package/dist/esm/layoutControls/SubTableColumn/property.js +6 -10
- package/dist/esm/layoutControls/Tab/designer.js +2 -2
- package/dist/esm/layoutControls/Tab/property.js +2 -2
- package/dist/esm/layoutControls/TabPane/property.js +2 -2
- package/dist/esm/layoutControls/index.js +2 -0
- package/dist/esm/listControls/GridTable/designer.js +13 -4
- package/dist/esm/listControls/GridTable/property.js +15 -19
- package/dist/esm/listControls/SubTable/designer.js +2 -1
- package/dist/esm/listControls/SubTable/property.js +37 -67
- package/dist/esm/searchControls/SimpleSearch/property.js +13 -24
- package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
- package/dist/esm/wrapControls/GridLayoutWrap/property.js +2 -2
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/Dashboard/property.d.ts +5 -1
- package/dist/types/baseControls/OperationButton/property.d.ts +1 -0
- package/dist/types/baseControls/Text/property.d.ts +6 -0
- package/dist/types/columnControls/TimescopeColumn/property.d.ts +1 -0
- package/dist/types/columnControls/TimestampColumn/property.d.ts +1 -0
- package/dist/types/formControls/Attachment/property.d.ts +3 -0
- package/dist/types/formControls/Checkbox/property.d.ts +6 -0
- package/dist/types/formControls/DatePicker/property.d.ts +1 -0
- package/dist/types/formControls/DateRange/property.d.ts +1 -0
- package/dist/types/formControls/Employee2/property.d.ts +1 -0
- package/dist/types/formControls/Image/designer.d.ts +2 -0
- package/dist/types/formControls/Image/property.d.ts +3 -0
- package/dist/types/formControls/Image/runtime.d.ts +2 -0
- package/dist/types/formControls/Input/property.d.ts +17 -0
- package/dist/types/formControls/Radio/property.d.ts +6 -0
- package/dist/types/formControls/RichText/property.d.ts +30 -1
- package/dist/types/formControls/SearchDateRange/property.d.ts +1 -0
- package/dist/types/formControls/Select/property.d.ts +6 -0
- package/dist/types/formControls/SelectMultiple/property.d.ts +6 -0
- package/dist/types/formControls/SelectRelation/property.d.ts +6 -0
- package/dist/types/formControls/Textarea/property.d.ts +30 -1
- package/dist/types/framework.d.ts +8 -0
- package/dist/types/layoutControls/Step/designer.d.ts +14 -0
- package/dist/types/layoutControls/Step/index.d.ts +12 -0
- package/dist/types/layoutControls/Step/property.d.ts +11 -0
- package/dist/types/layoutControls/Step/runtime.d.ts +9 -0
- package/dist/types/layoutControls/Step/types.d.ts +0 -0
- package/dist/types/layoutControls/StepPane/designer.d.ts +14 -0
- package/dist/types/layoutControls/StepPane/index.d.ts +12 -0
- package/dist/types/layoutControls/StepPane/property.d.ts +14 -0
- package/dist/types/layoutControls/StepPane/runtime.d.ts +9 -0
- package/dist/types/layoutControls/StepPane/types.d.ts +0 -0
- package/dist/types/layoutControls/index.d.ts +2 -0
- package/dist/types/listControls/SubTable/property.d.ts +1 -0
- package/dist/types/type.d.ts +3 -1
- package/package.json +5 -5
|
@@ -77,15 +77,14 @@ var GridLayoutContainerControlProperty = /*#__PURE__*/ function(LayoutControlPro
|
|
|
77
77
|
function GridLayoutContainerControlProperty(props) {
|
|
78
78
|
_class_call_check(this, GridLayoutContainerControlProperty);
|
|
79
79
|
var _this;
|
|
80
|
+
var _ref, _ref1;
|
|
80
81
|
_this = _call_super(this, GridLayoutContainerControlProperty, [
|
|
81
82
|
props
|
|
82
83
|
]), _define_property(_this, "childMinWidth", void 0 // 控件宽度最小值
|
|
83
84
|
), _define_property(_this, "colGap", void 0 // 控件间距
|
|
84
85
|
);
|
|
85
|
-
|
|
86
|
-
_this.
|
|
87
|
-
var _props_colGap;
|
|
88
|
-
_this.colGap = (_props_colGap = props === null || props === void 0 ? void 0 : props.colGap) !== null && _props_colGap !== void 0 ? _props_colGap : 24;
|
|
86
|
+
_this.childMinWidth = (_ref = props === null || props === void 0 ? void 0 : props.childMinWidth) !== null && _ref !== void 0 ? _ref : 230;
|
|
87
|
+
_this.colGap = (_ref1 = props === null || props === void 0 ? void 0 : props.colGap) !== null && _ref1 !== void 0 ? _ref1 : 24;
|
|
89
88
|
return _this;
|
|
90
89
|
}
|
|
91
90
|
return GridLayoutContainerControlProperty;
|
|
@@ -88,7 +88,7 @@ var GridTableColumnControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
|
88
88
|
}
|
|
89
89
|
return GridTableColumnControl;
|
|
90
90
|
}(DesignerLayoutControl);
|
|
91
|
-
_define_property(GridTableColumnControl, "controlName", getLocaleText('CMD.
|
|
91
|
+
_define_property(GridTableColumnControl, "controlName", getLocaleText('CMD.8ba01751712155518'));
|
|
92
92
|
_define_property(GridTableColumnControl, "controlType", 'gridtable-column');
|
|
93
93
|
_define_property(GridTableColumnControl, "controlIcon", 'gridtable-column');
|
|
94
94
|
_define_property(GridTableColumnControl, "childrenMaxLength", 1);
|
|
@@ -78,32 +78,23 @@ var GridTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlPropert
|
|
|
78
78
|
function GridTableColumnControlProperty(props) {
|
|
79
79
|
_class_call_check(this, GridTableColumnControlProperty);
|
|
80
80
|
var _this;
|
|
81
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
|
|
81
82
|
_this = _call_super(this, GridTableColumnControlProperty, [
|
|
82
83
|
props
|
|
83
84
|
]), _define_property(_this, "widthType", void 0), _define_property(_this, "width", void 0), _define_property(_this, "caption", void 0), _define_property(_this, "fieldCode", void 0), _define_property(_this, "fieldType", void 0), _define_property(_this, "fieldName", void 0), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "fixed", void 0), _define_property(_this, "textCleanFormart", void 0 //是否去除标签格式
|
|
84
85
|
), _define_property(_this, "decimalKeepPrecision", void 0), _define_property(_this, "timestampDateType", void 0), _define_property(_this, "departmentDisplayLevel", void 0);
|
|
85
|
-
|
|
86
|
-
_this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 200;
|
|
86
|
+
_this.width = (_ref = props === null || props === void 0 ? void 0 : props.width) !== null && _ref !== void 0 ? _ref : 200;
|
|
87
87
|
_this.widthType = (props === null || props === void 0 ? void 0 : props.widthType) || 'auto';
|
|
88
|
-
|
|
89
|
-
_this.
|
|
90
|
-
|
|
91
|
-
_this.
|
|
92
|
-
|
|
93
|
-
_this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
|
|
94
|
-
var _props_fieldType;
|
|
95
|
-
_this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : FieldTypes.VARCHAR;
|
|
96
|
-
var _props_fieldName;
|
|
97
|
-
_this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : '';
|
|
88
|
+
_this.caption = (_ref1 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
89
|
+
_this.fixed = (_ref2 = props === null || props === void 0 ? void 0 : props.fixed) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
90
|
+
_this.fieldCode = (_ref3 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
91
|
+
_this.fieldType = (_ref4 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _ref4 !== void 0 ? _ref4 : FieldTypes.VARCHAR;
|
|
92
|
+
_this.fieldName = (_ref5 = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _ref5 !== void 0 ? _ref5 : '';
|
|
98
93
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
99
|
-
|
|
100
|
-
_this.
|
|
101
|
-
|
|
102
|
-
_this.
|
|
103
|
-
var _props_timestampDateType;
|
|
104
|
-
_this.timestampDateType = (_props_timestampDateType = props === null || props === void 0 ? void 0 : props.timestampDateType) !== null && _props_timestampDateType !== void 0 ? _props_timestampDateType : DateType.DATE;
|
|
105
|
-
var _props_departmentDisplayLevel;
|
|
106
|
-
_this.departmentDisplayLevel = (_props_departmentDisplayLevel = props === null || props === void 0 ? void 0 : props.departmentDisplayLevel) !== null && _props_departmentDisplayLevel !== void 0 ? _props_departmentDisplayLevel : 1;
|
|
94
|
+
_this.textCleanFormart = (_ref6 = props === null || props === void 0 ? void 0 : props.textCleanFormart) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
95
|
+
_this.decimalKeepPrecision = (_ref7 = props === null || props === void 0 ? void 0 : props.decimalKeepPrecision) !== null && _ref7 !== void 0 ? _ref7 : 0;
|
|
96
|
+
_this.timestampDateType = (_ref8 = props === null || props === void 0 ? void 0 : props.timestampDateType) !== null && _ref8 !== void 0 ? _ref8 : DateType.DATE;
|
|
97
|
+
_this.departmentDisplayLevel = (_ref9 = props === null || props === void 0 ? void 0 : props.departmentDisplayLevel) !== null && _ref9 !== void 0 ? _ref9 : 1;
|
|
107
98
|
return _this;
|
|
108
99
|
}
|
|
109
100
|
return GridTableColumnControlProperty;
|
|
@@ -216,6 +216,7 @@ import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
|
216
216
|
function ListViewControlProperty(props) {
|
|
217
217
|
_class_call_check(this, ListViewControlProperty);
|
|
218
218
|
var _this;
|
|
219
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11;
|
|
219
220
|
_this = _call_super(this, ListViewControlProperty, [
|
|
220
221
|
props
|
|
221
222
|
]), /**
|
|
@@ -282,33 +283,21 @@ import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
|
282
283
|
* @defaultValue 'none'
|
|
283
284
|
*/ _define_property(_this, "rowStyle", void 0);
|
|
284
285
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
285
|
-
|
|
286
|
-
_this.
|
|
287
|
-
|
|
288
|
-
_this.
|
|
289
|
-
var _props_triggerType;
|
|
290
|
-
_this.triggerType = (_props_triggerType = props === null || props === void 0 ? void 0 : props.triggerType) !== null && _props_triggerType !== void 0 ? _props_triggerType : 1;
|
|
291
|
-
var _props_triggerFieldCode;
|
|
292
|
-
_this.triggerFieldCode = (_props_triggerFieldCode = props === null || props === void 0 ? void 0 : props.triggerFieldCode) !== null && _props_triggerFieldCode !== void 0 ? _props_triggerFieldCode : '';
|
|
286
|
+
_this.isLoading = (_ref = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _ref !== void 0 ? _ref : false;
|
|
287
|
+
_this.isShowSubList = (_ref1 = props === null || props === void 0 ? void 0 : props.isShowSubList) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
288
|
+
_this.triggerType = (_ref2 = props === null || props === void 0 ? void 0 : props.triggerType) !== null && _ref2 !== void 0 ? _ref2 : 1;
|
|
289
|
+
_this.triggerFieldCode = (_ref3 = props === null || props === void 0 ? void 0 : props.triggerFieldCode) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
293
290
|
_this.sublistPage = new SubListPageConfig(props === null || props === void 0 ? void 0 : props.sublistPage);
|
|
294
|
-
|
|
295
|
-
_this.isShowJoinRelation = (_props_isShowJoinRelation = props === null || props === void 0 ? void 0 : props.isShowJoinRelation) !== null && _props_isShowJoinRelation !== void 0 ? _props_isShowJoinRelation : false;
|
|
291
|
+
_this.isShowJoinRelation = (_ref4 = props === null || props === void 0 ? void 0 : props.isShowJoinRelation) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
296
292
|
_this.joinRelation = new JoinRelation(props === null || props === void 0 ? void 0 : props.joinRelation);
|
|
297
|
-
|
|
298
|
-
_this.
|
|
299
|
-
|
|
300
|
-
_this.
|
|
301
|
-
|
|
302
|
-
_this.
|
|
303
|
-
var _props_isFixedHeader;
|
|
304
|
-
_this.isFixedHeader = (_props_isFixedHeader = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _props_isFixedHeader !== void 0 ? _props_isFixedHeader : false;
|
|
305
|
-
var _props_isShowSelection;
|
|
306
|
-
_this.isShowSelection = (_props_isShowSelection = props === null || props === void 0 ? void 0 : props.isShowSelection) !== null && _props_isShowSelection !== void 0 ? _props_isShowSelection : false;
|
|
307
|
-
var _props_isAllLoaded;
|
|
308
|
-
_this.isAllLoaded = (_props_isAllLoaded = props === null || props === void 0 ? void 0 : props.isAllLoaded) !== null && _props_isAllLoaded !== void 0 ? _props_isAllLoaded : true;
|
|
293
|
+
_this.showType = (_ref5 = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref5 !== void 0 ? _ref5 : 'stretch';
|
|
294
|
+
_this.showFullScreen = (_ref6 = props === null || props === void 0 ? void 0 : props.showFullScreen) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
295
|
+
_this.selectionType = (_ref7 = props === null || props === void 0 ? void 0 : props.selectionType) !== null && _ref7 !== void 0 ? _ref7 : 'multiple';
|
|
296
|
+
_this.isFixedHeader = (_ref8 = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _ref8 !== void 0 ? _ref8 : false;
|
|
297
|
+
_this.isShowSelection = (_ref9 = props === null || props === void 0 ? void 0 : props.isShowSelection) !== null && _ref9 !== void 0 ? _ref9 : false;
|
|
298
|
+
_this.isAllLoaded = (_ref10 = props === null || props === void 0 ? void 0 : props.isAllLoaded) !== null && _ref10 !== void 0 ? _ref10 : true;
|
|
309
299
|
_this.countType = props === null || props === void 0 ? void 0 : props.countType;
|
|
310
|
-
|
|
311
|
-
_this.countLimit = (_props_countLimit = props === null || props === void 0 ? void 0 : props.countLimit) !== null && _props_countLimit !== void 0 ? _props_countLimit : 100000;
|
|
300
|
+
_this.countLimit = (_ref11 = props === null || props === void 0 ? void 0 : props.countLimit) !== null && _ref11 !== void 0 ? _ref11 : 100000;
|
|
312
301
|
_this.rowStyle = new RowStyle(props === null || props === void 0 ? void 0 : props.rowStyle);
|
|
313
302
|
return _this;
|
|
314
303
|
}
|
|
@@ -31,7 +31,7 @@ export default defineInstance({
|
|
|
31
31
|
key: 'hideHeader',
|
|
32
32
|
type: 'boolean',
|
|
33
33
|
component: 'switch',
|
|
34
|
-
label: getLocaleText('CMD.
|
|
34
|
+
label: getLocaleText('CMD.53f31751712152595')
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
key: 'size',
|
|
@@ -45,7 +45,7 @@ export default defineInstance({
|
|
|
45
45
|
groups: [
|
|
46
46
|
{
|
|
47
47
|
type: 'tab',
|
|
48
|
-
title: getLocaleText('CMD.
|
|
48
|
+
title: getLocaleText('CMD.86031751712165077'),
|
|
49
49
|
items: [
|
|
50
50
|
{
|
|
51
51
|
items: [
|
|
@@ -61,16 +61,16 @@ export default defineInstance({
|
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
type: 'tab',
|
|
64
|
-
title: getLocaleText('CMD.
|
|
64
|
+
title: getLocaleText('CMD.89071751712166177'),
|
|
65
65
|
items: [
|
|
66
66
|
{
|
|
67
|
-
title: getLocaleText('CMD.
|
|
67
|
+
title: getLocaleText('CMD.363f1751712167282'),
|
|
68
68
|
items: [
|
|
69
69
|
'size'
|
|
70
70
|
]
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
|
-
title: getLocaleText('CMD.
|
|
73
|
+
title: getLocaleText('CMD.ebf11751712161036'),
|
|
74
74
|
items: [
|
|
75
75
|
'background'
|
|
76
76
|
]
|
|
@@ -77,6 +77,7 @@ var PageProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
77
77
|
function PageProperty(props) {
|
|
78
78
|
_class_call_check(this, PageProperty);
|
|
79
79
|
var _this;
|
|
80
|
+
var _ref;
|
|
80
81
|
_this = _call_super(this, PageProperty, [
|
|
81
82
|
props
|
|
82
83
|
]), _define_property(_this, "hideHeader", void 0), _define_property(_this, "background", '#fff'), _define_property(_this, "minWidth", ''), _define_property(_this, "maxWidth", ''), /**
|
|
@@ -84,8 +85,7 @@ var PageProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
84
85
|
* auto指内容多高它多高
|
|
85
86
|
* fill指最小占一屏幕高
|
|
86
87
|
* */ _define_property(_this, "heightConfig", 'auto');
|
|
87
|
-
|
|
88
|
-
_this.hideHeader = (_props_hideHeader = props === null || props === void 0 ? void 0 : props.hideHeader) !== null && _props_hideHeader !== void 0 ? _props_hideHeader : false;
|
|
88
|
+
_this.hideHeader = (_ref = props === null || props === void 0 ? void 0 : props.hideHeader) !== null && _ref !== void 0 ? _ref : false;
|
|
89
89
|
return _this;
|
|
90
90
|
}
|
|
91
91
|
return PageProperty;
|
|
@@ -77,17 +77,14 @@ var PositionProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
77
77
|
function PositionProperty(props) {
|
|
78
78
|
_class_call_check(this, PositionProperty);
|
|
79
79
|
var _this;
|
|
80
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
80
81
|
_this = _call_super(this, PositionProperty, [
|
|
81
82
|
props
|
|
82
83
|
]), _define_property(_this, "widthSpan", void 0), _define_property(_this, "heightSpan", void 0), _define_property(_this, "left", void 0), _define_property(_this, "top", void 0);
|
|
83
|
-
|
|
84
|
-
_this.
|
|
85
|
-
|
|
86
|
-
_this.
|
|
87
|
-
var _props_left;
|
|
88
|
-
_this.left = (_props_left = props === null || props === void 0 ? void 0 : props.left) !== null && _props_left !== void 0 ? _props_left : 0;
|
|
89
|
-
var _props_top;
|
|
90
|
-
_this.top = (_props_top = props === null || props === void 0 ? void 0 : props.top) !== null && _props_top !== void 0 ? _props_top : 0;
|
|
84
|
+
_this.widthSpan = (_ref = props === null || props === void 0 ? void 0 : props.widthSpan) !== null && _ref !== void 0 ? _ref : 12;
|
|
85
|
+
_this.heightSpan = (_ref1 = props === null || props === void 0 ? void 0 : props.heightSpan) !== null && _ref1 !== void 0 ? _ref1 : 12;
|
|
86
|
+
_this.left = (_ref2 = props === null || props === void 0 ? void 0 : props.left) !== null && _ref2 !== void 0 ? _ref2 : 0;
|
|
87
|
+
_this.top = (_ref3 = props === null || props === void 0 ? void 0 : props.top) !== null && _ref3 !== void 0 ? _ref3 : 0;
|
|
91
88
|
return _this;
|
|
92
89
|
}
|
|
93
90
|
return PositionProperty;
|
|
@@ -30,7 +30,7 @@ export default defineInstance({
|
|
|
30
30
|
groups: [
|
|
31
31
|
{
|
|
32
32
|
type: 'tab',
|
|
33
|
-
title: getLocaleText('CMD.
|
|
33
|
+
title: getLocaleText('CMD.6f161751712165078'),
|
|
34
34
|
items: [
|
|
35
35
|
{
|
|
36
36
|
items: [
|
|
@@ -46,10 +46,10 @@ export default defineInstance({
|
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
type: 'tab',
|
|
49
|
-
title: getLocaleText('CMD.
|
|
49
|
+
title: getLocaleText('CMD.3aa21751712166178'),
|
|
50
50
|
items: [
|
|
51
51
|
{
|
|
52
|
-
title: getLocaleText('CMD.
|
|
52
|
+
title: getLocaleText('CMD.888d1751712167283'),
|
|
53
53
|
items: [
|
|
54
54
|
'style.width',
|
|
55
55
|
'style.height'
|
|
@@ -77,13 +77,12 @@ var RowControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
77
77
|
function RowControlProperty(props) {
|
|
78
78
|
_class_call_check(this, RowControlProperty);
|
|
79
79
|
var _this;
|
|
80
|
+
var _ref, _ref1;
|
|
80
81
|
_this = _call_super(this, RowControlProperty, [
|
|
81
82
|
props
|
|
82
83
|
]), _define_property(_this, "layoutMode", void 0), _define_property(_this, "gutter", void 0);
|
|
83
|
-
|
|
84
|
-
_this.
|
|
85
|
-
var _props_gutter;
|
|
86
|
-
_this.gutter = (_props_gutter = props === null || props === void 0 ? void 0 : props.gutter) !== null && _props_gutter !== void 0 ? _props_gutter : 0;
|
|
84
|
+
_this.layoutMode = (_ref = props === null || props === void 0 ? void 0 : props.layoutMode) !== null && _ref !== void 0 ? _ref : 'select';
|
|
85
|
+
_this.gutter = (_ref1 = props === null || props === void 0 ? void 0 : props.gutter) !== null && _ref1 !== void 0 ? _ref1 : 0;
|
|
87
86
|
return _this;
|
|
88
87
|
}
|
|
89
88
|
return RowControlProperty;
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
2
|
+
if (self === void 0) {
|
|
3
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
+
}
|
|
5
|
+
return self;
|
|
6
|
+
}
|
|
7
|
+
function _call_super(_this, derived, args) {
|
|
8
|
+
derived = _get_prototype_of(derived);
|
|
9
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
|
+
}
|
|
11
|
+
function _class_call_check(instance, Constructor) {
|
|
12
|
+
if (!(instance instanceof Constructor)) {
|
|
13
|
+
throw new TypeError("Cannot call a class as a function");
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
function _defineProperties(target, props) {
|
|
17
|
+
for(var i = 0; i < props.length; i++){
|
|
18
|
+
var descriptor = props[i];
|
|
19
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
20
|
+
descriptor.configurable = true;
|
|
21
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
22
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
26
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
27
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
28
|
+
return Constructor;
|
|
29
|
+
}
|
|
30
|
+
function _define_property(obj, key, value) {
|
|
31
|
+
if (key in obj) {
|
|
32
|
+
Object.defineProperty(obj, key, {
|
|
33
|
+
value: value,
|
|
34
|
+
enumerable: true,
|
|
35
|
+
configurable: true,
|
|
36
|
+
writable: true
|
|
37
|
+
});
|
|
38
|
+
} else {
|
|
39
|
+
obj[key] = value;
|
|
40
|
+
}
|
|
41
|
+
return obj;
|
|
42
|
+
}
|
|
43
|
+
function _get_prototype_of(o) {
|
|
44
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
45
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
46
|
+
};
|
|
47
|
+
return _get_prototype_of(o);
|
|
48
|
+
}
|
|
49
|
+
function _inherits(subClass, superClass) {
|
|
50
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
51
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
52
|
+
}
|
|
53
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
54
|
+
constructor: {
|
|
55
|
+
value: subClass,
|
|
56
|
+
writable: true,
|
|
57
|
+
configurable: true
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
61
|
+
}
|
|
62
|
+
function _possible_constructor_return(self, call) {
|
|
63
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
64
|
+
return call;
|
|
65
|
+
}
|
|
66
|
+
return _assert_this_initialized(self);
|
|
67
|
+
}
|
|
68
|
+
function _set_prototype_of(o, p) {
|
|
69
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
70
|
+
o.__proto__ = p;
|
|
71
|
+
return o;
|
|
72
|
+
};
|
|
73
|
+
return _set_prototype_of(o, p);
|
|
74
|
+
}
|
|
75
|
+
function _type_of(obj) {
|
|
76
|
+
"@swc/helpers - typeof";
|
|
77
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
78
|
+
}
|
|
79
|
+
function _is_native_reflect_construct() {
|
|
80
|
+
try {
|
|
81
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
82
|
+
} catch (_) {}
|
|
83
|
+
return (_is_native_reflect_construct = function() {
|
|
84
|
+
return !!result;
|
|
85
|
+
})();
|
|
86
|
+
}
|
|
87
|
+
import { DesignerLayoutControl } from '@byteluck-fe/model-driven-core';
|
|
88
|
+
import StepControlProperty from './property';
|
|
89
|
+
import { DesignerStepPaneControl } from '../StepPane';
|
|
90
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
91
|
+
var StepControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
92
|
+
"use strict";
|
|
93
|
+
_inherits(StepControl, DesignerLayoutControl);
|
|
94
|
+
function StepControl(props) {
|
|
95
|
+
_class_call_check(this, StepControl);
|
|
96
|
+
var _this;
|
|
97
|
+
var _ref;
|
|
98
|
+
_this = _call_super(this, StepControl, [
|
|
99
|
+
props
|
|
100
|
+
]), _define_property(_this, "props", void 0);
|
|
101
|
+
_this.props = new StepControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
102
|
+
_this.children = (_ref = props === null || props === void 0 ? void 0 : props.children) !== null && _ref !== void 0 ? _ref : [
|
|
103
|
+
new DesignerStepPaneControl(),
|
|
104
|
+
new DesignerStepPaneControl(),
|
|
105
|
+
new DesignerStepPaneControl()
|
|
106
|
+
];
|
|
107
|
+
return _this;
|
|
108
|
+
}
|
|
109
|
+
_create_class(StepControl, null, [
|
|
110
|
+
{
|
|
111
|
+
key: "controlName",
|
|
112
|
+
get: function get() {
|
|
113
|
+
return getLocaleText('CMD.step', null, '步骤条');
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
key: "controlType",
|
|
118
|
+
get: function get() {
|
|
119
|
+
return 'step';
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
key: "controlIcon",
|
|
124
|
+
get: function get() {
|
|
125
|
+
return 'icondaiban1';
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
]);
|
|
129
|
+
return StepControl;
|
|
130
|
+
}(DesignerLayoutControl);
|
|
131
|
+
_define_property(StepControl, "excludes", []);
|
|
132
|
+
_define_property(StepControl, "controlEventKeys", [
|
|
133
|
+
'on_change_steps'
|
|
134
|
+
]);
|
|
135
|
+
_define_property(StepControl, "setting", [
|
|
136
|
+
{
|
|
137
|
+
key: 'step-direction',
|
|
138
|
+
visible: true
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
key: 'step-label-placement',
|
|
142
|
+
visible: true
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
key: 'step-size',
|
|
146
|
+
visible: true
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
key: 'step-type',
|
|
150
|
+
visible: true
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
key: 'is-sticky',
|
|
154
|
+
visible: true
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
key: 'step-pane',
|
|
158
|
+
visible: true
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
key: 'super-setting',
|
|
162
|
+
visible: true
|
|
163
|
+
}
|
|
164
|
+
]);
|
|
165
|
+
export default StepControl;
|
|
166
|
+
export { StepControl as DesignerStepsControl };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import Designer from './designer';
|
|
2
|
+
import Runtime from './runtime';
|
|
3
|
+
import Property from './property';
|
|
4
|
+
export default {
|
|
5
|
+
Designer: Designer,
|
|
6
|
+
Runtime: Runtime,
|
|
7
|
+
Property: Property
|
|
8
|
+
};
|
|
9
|
+
export * from './designer';
|
|
10
|
+
export * from './runtime';
|
|
11
|
+
export * from './property';
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
2
|
+
if (self === void 0) {
|
|
3
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
+
}
|
|
5
|
+
return self;
|
|
6
|
+
}
|
|
7
|
+
function _call_super(_this, derived, args) {
|
|
8
|
+
derived = _get_prototype_of(derived);
|
|
9
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
|
+
}
|
|
11
|
+
function _class_call_check(instance, Constructor) {
|
|
12
|
+
if (!(instance instanceof Constructor)) {
|
|
13
|
+
throw new TypeError("Cannot call a class as a function");
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
function _define_property(obj, key, value) {
|
|
17
|
+
if (key in obj) {
|
|
18
|
+
Object.defineProperty(obj, key, {
|
|
19
|
+
value: value,
|
|
20
|
+
enumerable: true,
|
|
21
|
+
configurable: true,
|
|
22
|
+
writable: true
|
|
23
|
+
});
|
|
24
|
+
} else {
|
|
25
|
+
obj[key] = value;
|
|
26
|
+
}
|
|
27
|
+
return obj;
|
|
28
|
+
}
|
|
29
|
+
function _get_prototype_of(o) {
|
|
30
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
31
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
32
|
+
};
|
|
33
|
+
return _get_prototype_of(o);
|
|
34
|
+
}
|
|
35
|
+
function _inherits(subClass, superClass) {
|
|
36
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
37
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
38
|
+
}
|
|
39
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
40
|
+
constructor: {
|
|
41
|
+
value: subClass,
|
|
42
|
+
writable: true,
|
|
43
|
+
configurable: true
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
47
|
+
}
|
|
48
|
+
function _possible_constructor_return(self, call) {
|
|
49
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
50
|
+
return call;
|
|
51
|
+
}
|
|
52
|
+
return _assert_this_initialized(self);
|
|
53
|
+
}
|
|
54
|
+
function _set_prototype_of(o, p) {
|
|
55
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
56
|
+
o.__proto__ = p;
|
|
57
|
+
return o;
|
|
58
|
+
};
|
|
59
|
+
return _set_prototype_of(o, p);
|
|
60
|
+
}
|
|
61
|
+
function _type_of(obj) {
|
|
62
|
+
"@swc/helpers - typeof";
|
|
63
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
64
|
+
}
|
|
65
|
+
function _is_native_reflect_construct() {
|
|
66
|
+
try {
|
|
67
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
68
|
+
} catch (_) {}
|
|
69
|
+
return (_is_native_reflect_construct = function() {
|
|
70
|
+
return !!result;
|
|
71
|
+
})();
|
|
72
|
+
}
|
|
73
|
+
import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
74
|
+
var StepControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
75
|
+
"use strict";
|
|
76
|
+
_inherits(StepControlProperty, LayoutControlProperty);
|
|
77
|
+
function StepControlProperty(props) {
|
|
78
|
+
_class_call_check(this, StepControlProperty);
|
|
79
|
+
var _this;
|
|
80
|
+
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
81
|
+
_this = _call_super(this, StepControlProperty, [
|
|
82
|
+
props
|
|
83
|
+
]), _define_property(_this, "direction", void 0 //排列方向
|
|
84
|
+
), _define_property(_this, "labelPlacement", void 0 //标签位置
|
|
85
|
+
), _define_property(_this, "size", void 0 //尺寸
|
|
86
|
+
), _define_property(_this, "type", void 0 //类型
|
|
87
|
+
), _define_property(_this, "isSticky", void 0 //是否粘性
|
|
88
|
+
);
|
|
89
|
+
_this.direction = (_ref = props === null || props === void 0 ? void 0 : props.direction) !== null && _ref !== void 0 ? _ref : 'horizontal';
|
|
90
|
+
_this.labelPlacement = (_ref1 = props === null || props === void 0 ? void 0 : props.labelPlacement) !== null && _ref1 !== void 0 ? _ref1 : 'horizontal';
|
|
91
|
+
_this.size = (_ref2 = props === null || props === void 0 ? void 0 : props.size) !== null && _ref2 !== void 0 ? _ref2 : 'default';
|
|
92
|
+
_this.type = (_ref3 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref3 !== void 0 ? _ref3 : 'default';
|
|
93
|
+
_this.isSticky = (_ref4 = props === null || props === void 0 ? void 0 : props.isSticky) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
94
|
+
return _this;
|
|
95
|
+
}
|
|
96
|
+
return StepControlProperty;
|
|
97
|
+
}(LayoutControlProperty);
|
|
98
|
+
export default StepControlProperty;
|
|
99
|
+
export { StepControlProperty };
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
2
|
+
if (self === void 0) {
|
|
3
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
+
}
|
|
5
|
+
return self;
|
|
6
|
+
}
|
|
7
|
+
function _call_super(_this, derived, args) {
|
|
8
|
+
derived = _get_prototype_of(derived);
|
|
9
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
|
+
}
|
|
11
|
+
function _class_call_check(instance, Constructor) {
|
|
12
|
+
if (!(instance instanceof Constructor)) {
|
|
13
|
+
throw new TypeError("Cannot call a class as a function");
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
function _defineProperties(target, props) {
|
|
17
|
+
for(var i = 0; i < props.length; i++){
|
|
18
|
+
var descriptor = props[i];
|
|
19
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
20
|
+
descriptor.configurable = true;
|
|
21
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
22
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
26
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
27
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
28
|
+
return Constructor;
|
|
29
|
+
}
|
|
30
|
+
function _define_property(obj, key, value) {
|
|
31
|
+
if (key in obj) {
|
|
32
|
+
Object.defineProperty(obj, key, {
|
|
33
|
+
value: value,
|
|
34
|
+
enumerable: true,
|
|
35
|
+
configurable: true,
|
|
36
|
+
writable: true
|
|
37
|
+
});
|
|
38
|
+
} else {
|
|
39
|
+
obj[key] = value;
|
|
40
|
+
}
|
|
41
|
+
return obj;
|
|
42
|
+
}
|
|
43
|
+
function _get_prototype_of(o) {
|
|
44
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
45
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
46
|
+
};
|
|
47
|
+
return _get_prototype_of(o);
|
|
48
|
+
}
|
|
49
|
+
function _inherits(subClass, superClass) {
|
|
50
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
51
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
52
|
+
}
|
|
53
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
54
|
+
constructor: {
|
|
55
|
+
value: subClass,
|
|
56
|
+
writable: true,
|
|
57
|
+
configurable: true
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
61
|
+
}
|
|
62
|
+
function _possible_constructor_return(self, call) {
|
|
63
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
64
|
+
return call;
|
|
65
|
+
}
|
|
66
|
+
return _assert_this_initialized(self);
|
|
67
|
+
}
|
|
68
|
+
function _set_prototype_of(o, p) {
|
|
69
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
70
|
+
o.__proto__ = p;
|
|
71
|
+
return o;
|
|
72
|
+
};
|
|
73
|
+
return _set_prototype_of(o, p);
|
|
74
|
+
}
|
|
75
|
+
function _type_of(obj) {
|
|
76
|
+
"@swc/helpers - typeof";
|
|
77
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
78
|
+
}
|
|
79
|
+
function _is_native_reflect_construct() {
|
|
80
|
+
try {
|
|
81
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
82
|
+
} catch (_) {}
|
|
83
|
+
return (_is_native_reflect_construct = function() {
|
|
84
|
+
return !!result;
|
|
85
|
+
})();
|
|
86
|
+
}
|
|
87
|
+
import { RuntimeLayoutControl } from '@byteluck-fe/model-driven-core';
|
|
88
|
+
import StepControlProperty from './property';
|
|
89
|
+
var StepControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
|
|
90
|
+
"use strict";
|
|
91
|
+
_inherits(StepControl, RuntimeLayoutControl);
|
|
92
|
+
function StepControl(props) {
|
|
93
|
+
_class_call_check(this, StepControl);
|
|
94
|
+
var _this;
|
|
95
|
+
_this = _call_super(this, StepControl, [
|
|
96
|
+
props
|
|
97
|
+
]), _define_property(_this, "props", void 0);
|
|
98
|
+
_this.props = new StepControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
99
|
+
return _this;
|
|
100
|
+
}
|
|
101
|
+
_create_class(StepControl, null, [
|
|
102
|
+
{
|
|
103
|
+
key: "controlType",
|
|
104
|
+
get: function get() {
|
|
105
|
+
return 'step';
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
]);
|
|
109
|
+
return StepControl;
|
|
110
|
+
}(RuntimeLayoutControl);
|
|
111
|
+
export default StepControl;
|
|
112
|
+
export { StepControl as RuntimeStepControl };
|
|
File without changes
|