@byteluck-fe/model-driven-controls 6.2.0-beta.11 → 6.2.0-beta.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/Divider/property.js +1 -1
- package/dist/esm/formControls/Attachment/property.js +8 -8
- package/dist/esm/formControls/Department2/designer.js +1 -1
- package/dist/esm/formControls/Department2/property.js +6 -6
- package/dist/esm/formControls/Image/designer.js +8 -8
- package/dist/esm/formControls/WPS/designer.js +9 -9
- package/dist/esm/listControls/GridTable/property.js +9 -9
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
- package/dist/index.umd.js +1 -1
- package/dist/types/formControls/Department2/property.d.ts +2 -2
- package/dist/types/framework.d.ts +19 -19
- package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// 线条样式类名
|
|
1
2
|
function _assert_this_initialized(self) {
|
|
2
3
|
if (self === void 0) {
|
|
3
4
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -70,7 +71,6 @@ function _is_native_reflect_construct() {
|
|
|
70
71
|
return !!result;
|
|
71
72
|
})();
|
|
72
73
|
}
|
|
73
|
-
// 线条样式类名
|
|
74
74
|
import { Property } from '@byteluck-fe/model-driven-core';
|
|
75
75
|
import { LINE_STYLE } from '../../framework';
|
|
76
76
|
var DividerProperty = /*#__PURE__*/ function(Property) {
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
* @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
3
|
+
* @Date: 2023-09-14 18:31:51
|
|
4
|
+
* @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
5
|
+
* @LastEditTime: 2023-09-19 15:49:31
|
|
6
|
+
* @FilePath: /model-driven/packages/controls/src/formControls/Attachment/property.ts
|
|
7
|
+
*/ function _assert_this_initialized(self) {
|
|
2
8
|
if (self === void 0) {
|
|
3
9
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
10
|
}
|
|
@@ -70,13 +76,7 @@ function _is_native_reflect_construct() {
|
|
|
70
76
|
return !!result;
|
|
71
77
|
})();
|
|
72
78
|
}
|
|
73
|
-
|
|
74
|
-
* @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
75
|
-
* @Date: 2023-09-14 18:31:51
|
|
76
|
-
* @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
77
|
-
* @LastEditTime: 2023-09-19 15:49:31
|
|
78
|
-
* @FilePath: /model-driven/packages/controls/src/formControls/Attachment/property.ts
|
|
79
|
-
*/ import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
79
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
80
80
|
import AttachmentControl from './designer';
|
|
81
81
|
import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
|
|
82
82
|
var MB10 = 10485760;
|
|
@@ -124,7 +124,7 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
124
124
|
function Department2Property(props) {
|
|
125
125
|
_class_call_check(this, Department2Property);
|
|
126
126
|
var _this;
|
|
127
|
-
var
|
|
127
|
+
var _props_defaultAndDisabledFilters;
|
|
128
128
|
_this = _call_super(this, Department2Property, [
|
|
129
129
|
props
|
|
130
130
|
]), /**
|
|
@@ -148,8 +148,8 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
148
148
|
* */ _define_property(_this, "multistageFilling", void 0), /**
|
|
149
149
|
* 数据设置
|
|
150
150
|
* */ _define_property(_this, "datasourceBind", void 0), /**
|
|
151
|
-
*
|
|
152
|
-
* */ _define_property(_this, "
|
|
151
|
+
* 默认选中且不可修改部门的配置条件.配置后,这些部门将默认被选中,用户无法取消选择或修改
|
|
152
|
+
* */ _define_property(_this, "defaultAndDisabledFilters", void 0), /**
|
|
153
153
|
* 数据类型 行政 or 业务
|
|
154
154
|
* */ _define_property(_this, "datasourceType", void 0 //数据类型 行政 'administration'| 业务 'business'
|
|
155
155
|
), _define_property(_this, "businessType", void 0 //业务部门类型 'all' | 'assign'
|
|
@@ -198,13 +198,13 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
198
198
|
}
|
|
199
199
|
var _props_defaultShowOptions;
|
|
200
200
|
_this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : false;
|
|
201
|
-
var
|
|
202
|
-
_this.
|
|
201
|
+
var _props_defaultAndDisabledFilters_map;
|
|
202
|
+
_this.defaultAndDisabledFilters = (_props_defaultAndDisabledFilters_map = props === null || props === void 0 ? void 0 : (_props_defaultAndDisabledFilters = props.defaultAndDisabledFilters) === null || _props_defaultAndDisabledFilters === void 0 ? void 0 : _props_defaultAndDisabledFilters.map(function(item) {
|
|
203
203
|
if (item.children !== undefined) {
|
|
204
204
|
return new FieldFilterConditions(item);
|
|
205
205
|
}
|
|
206
206
|
return new FieldFilterCondition(item);
|
|
207
|
-
})) !== null &&
|
|
207
|
+
})) !== null && _props_defaultAndDisabledFilters_map !== void 0 ? _props_defaultAndDisabledFilters_map : [];
|
|
208
208
|
return _this;
|
|
209
209
|
}
|
|
210
210
|
return Department2Property;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
* @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
3
|
+
* @Date: 2022-12-01 14:40:30
|
|
4
|
+
* @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
5
|
+
* @LastEditTime: 2023-09-19 15:50:38
|
|
6
|
+
* @FilePath: /model-driven/packages/controls/src/formControls/Image/designer.ts
|
|
7
|
+
*/ function _assert_this_initialized(self) {
|
|
2
8
|
if (self === void 0) {
|
|
3
9
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
10
|
}
|
|
@@ -84,13 +90,7 @@ function _is_native_reflect_construct() {
|
|
|
84
90
|
return !!result;
|
|
85
91
|
})();
|
|
86
92
|
}
|
|
87
|
-
|
|
88
|
-
* @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
89
|
-
* @Date: 2022-12-01 14:40:30
|
|
90
|
-
* @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
91
|
-
* @LastEditTime: 2023-09-19 15:50:38
|
|
92
|
-
* @FilePath: /model-driven/packages/controls/src/formControls/Image/designer.ts
|
|
93
|
-
*/ import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
93
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
94
94
|
import { DesignerAttachmentControl } from '../Attachment';
|
|
95
95
|
import { ImageProperty } from './property';
|
|
96
96
|
import { COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
* @Author: Elvis shuaiqy@hotmail.com
|
|
3
|
+
* @Date: 2022-07-07 00:12:37
|
|
4
|
+
* @LastEditors: Elvis shuaiqy@hotmail.com
|
|
5
|
+
* @LastEditTime: 2022-07-25 17:51:51
|
|
6
|
+
* @FilePath: /model-driven/packages/controls/src/formControls/WPS/designer.ts
|
|
7
|
+
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
8
|
+
*/ function _assert_this_initialized(self) {
|
|
2
9
|
if (self === void 0) {
|
|
3
10
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
11
|
}
|
|
@@ -84,14 +91,7 @@ function _is_native_reflect_construct() {
|
|
|
84
91
|
return !!result;
|
|
85
92
|
})();
|
|
86
93
|
}
|
|
87
|
-
|
|
88
|
-
* @Author: Elvis shuaiqy@hotmail.com
|
|
89
|
-
* @Date: 2022-07-07 00:12:37
|
|
90
|
-
* @LastEditors: Elvis shuaiqy@hotmail.com
|
|
91
|
-
* @LastEditTime: 2022-07-25 17:51:51
|
|
92
|
-
* @FilePath: /model-driven/packages/controls/src/formControls/WPS/designer.ts
|
|
93
|
-
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
94
|
-
*/ import { DesignerFormControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
94
|
+
import { DesignerFormControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
95
95
|
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
96
96
|
import WPSProperty from './property';
|
|
97
97
|
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
* @Author: Elvis shuaiqy@hotmail.com
|
|
3
|
+
* @Date: 2022-01-11 22:20:55
|
|
4
|
+
* @LastEditors: changjiaqi hypocrite_chang@163.com
|
|
5
|
+
* @LastEditTime: 2023-05-31 10:33:27
|
|
6
|
+
* @FilePath: /model-driven/packages/controls/src/listControls/GridTable/property.ts
|
|
7
|
+
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
8
|
+
*/ function _assert_this_initialized(self) {
|
|
2
9
|
if (self === void 0) {
|
|
3
10
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
11
|
}
|
|
@@ -70,14 +77,7 @@ function _is_native_reflect_construct() {
|
|
|
70
77
|
return !!result;
|
|
71
78
|
})();
|
|
72
79
|
}
|
|
73
|
-
|
|
74
|
-
* @Author: Elvis shuaiqy@hotmail.com
|
|
75
|
-
* @Date: 2022-01-11 22:20:55
|
|
76
|
-
* @LastEditors: changjiaqi hypocrite_chang@163.com
|
|
77
|
-
* @LastEditTime: 2023-05-31 10:33:27
|
|
78
|
-
* @FilePath: /model-driven/packages/controls/src/listControls/GridTable/property.ts
|
|
79
|
-
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
80
|
-
*/ import { ListControlProperty } from '@byteluck-fe/model-driven-core';
|
|
80
|
+
import { ListControlProperty } from '@byteluck-fe/model-driven-core';
|
|
81
81
|
/**
|
|
82
82
|
* GridTable 表格组件
|
|
83
83
|
* @public
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
* @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
3
|
+
* @Date: 2023-08-08 11:13:49
|
|
4
|
+
* @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
5
|
+
* @LastEditTime: 2023-08-09 11:26:04
|
|
6
|
+
* @FilePath: /model-driven/packages/controls/src/wrapControls/gridLayoutWrap/designer.ts
|
|
7
|
+
*/ function _assert_this_initialized(self) {
|
|
2
8
|
if (self === void 0) {
|
|
3
9
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
10
|
}
|
|
@@ -84,13 +90,7 @@ function _is_native_reflect_construct() {
|
|
|
84
90
|
return !!result;
|
|
85
91
|
})();
|
|
86
92
|
}
|
|
87
|
-
|
|
88
|
-
* @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
89
|
-
* @Date: 2023-08-08 11:13:49
|
|
90
|
-
* @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
91
|
-
* @LastEditTime: 2023-08-09 11:26:04
|
|
92
|
-
* @FilePath: /model-driven/packages/controls/src/wrapControls/gridLayoutWrap/designer.ts
|
|
93
|
-
*/ import { DesignerWrapControl } from '@byteluck-fe/model-driven-core';
|
|
93
|
+
import { DesignerWrapControl } from '@byteluck-fe/model-driven-core';
|
|
94
94
|
import GridLayoutWrapProperty from './property';
|
|
95
95
|
// import Setting from './Setting'
|
|
96
96
|
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
* @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
3
|
+
* @Date: 2023-08-08 11:13:49
|
|
4
|
+
* @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
5
|
+
* @LastEditTime: 2023-08-09 11:09:36
|
|
6
|
+
* @FilePath: /model-driven/packages/controls/src/wrapControls/gridLayoutWrap/runtime.ts
|
|
7
|
+
*/ function _assert_this_initialized(self) {
|
|
2
8
|
if (self === void 0) {
|
|
3
9
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
10
|
}
|
|
@@ -84,13 +90,7 @@ function _is_native_reflect_construct() {
|
|
|
84
90
|
return !!result;
|
|
85
91
|
})();
|
|
86
92
|
}
|
|
87
|
-
|
|
88
|
-
* @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
89
|
-
* @Date: 2023-08-08 11:13:49
|
|
90
|
-
* @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
91
|
-
* @LastEditTime: 2023-08-09 11:09:36
|
|
92
|
-
* @FilePath: /model-driven/packages/controls/src/wrapControls/gridLayoutWrap/runtime.ts
|
|
93
|
-
*/ import { RuntimeWrapControl } from '@byteluck-fe/model-driven-core';
|
|
93
|
+
import { RuntimeWrapControl } from '@byteluck-fe/model-driven-core';
|
|
94
94
|
import GridLayoutWrapProperty from './property';
|
|
95
95
|
var GridLayoutWrapControl = /*#__PURE__*/ function(RuntimeWrapControl) {
|
|
96
96
|
"use strict";
|