@byteluck-fe/model-driven-controls 6.2.0-2-beta.2 → 7.0.0-1-beta3

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.
Files changed (105) hide show
  1. package/dist/esm/formControls/Address/property.js +1 -1
  2. package/dist/esm/formControls/Attachment/property.js +6 -1
  3. package/dist/esm/formControls/Cascader/designer.js +231 -0
  4. package/dist/esm/formControls/Cascader/index.js +11 -0
  5. package/dist/esm/formControls/Cascader/property.js +166 -0
  6. package/dist/esm/formControls/Cascader/runtime.js +114 -0
  7. package/dist/esm/formControls/Cascader/types.js +0 -0
  8. package/dist/esm/formControls/Checkbox/designer.js +17 -0
  9. package/dist/esm/formControls/Checkbox/property.js +11 -1
  10. package/dist/esm/formControls/Image/designer.js +14 -0
  11. package/dist/esm/formControls/Image/property.js +6 -1
  12. package/dist/esm/formControls/Number/designer.js +4 -0
  13. package/dist/esm/formControls/Number/property.js +16 -1
  14. package/dist/esm/formControls/Radio/designer.js +17 -0
  15. package/dist/esm/formControls/Radio/property.js +11 -1
  16. package/dist/esm/formControls/Score/designer.js +11 -0
  17. package/dist/esm/formControls/Score/property.js +16 -1
  18. package/dist/esm/formControls/Select/designer.js +17 -0
  19. package/dist/esm/formControls/Select/property.js +11 -1
  20. package/dist/esm/formControls/SelectMultiple/designer.js +17 -0
  21. package/dist/esm/formControls/SelectMultiple/property.js +11 -1
  22. package/dist/esm/formControls/TimePicker/designer.js +193 -0
  23. package/dist/esm/formControls/TimePicker/index.js +11 -0
  24. package/dist/esm/formControls/TimePicker/property.js +108 -0
  25. package/dist/esm/formControls/TimePicker/runtime.js +114 -0
  26. package/dist/esm/formControls/TimePicker/types.js +0 -0
  27. package/dist/esm/formControls/TimeRange/designer.js +197 -0
  28. package/dist/esm/formControls/TimeRange/index.js +11 -0
  29. package/dist/esm/formControls/TimeRange/property.js +179 -0
  30. package/dist/esm/formControls/TimeRange/runtime.js +114 -0
  31. package/dist/esm/formControls/TimeRange/types.js +0 -0
  32. package/dist/esm/formControls/index.js +3 -0
  33. package/dist/esm/framework.js +16 -0
  34. package/dist/esm/layoutControls/CardGroup/designer.js +128 -0
  35. package/dist/esm/layoutControls/CardGroup/property.js +39 -4
  36. package/dist/esm/layoutControls/Col/property.js +3 -7
  37. package/dist/esm/layoutControls/Collapse/designer.js +173 -0
  38. package/dist/esm/layoutControls/Collapse/index.js +11 -0
  39. package/dist/esm/layoutControls/Collapse/property.js +107 -0
  40. package/dist/esm/layoutControls/Collapse/runtime.js +112 -0
  41. package/dist/esm/layoutControls/Collapse/types.js +0 -0
  42. package/dist/esm/layoutControls/CollapsePane/designer.js +129 -0
  43. package/dist/esm/layoutControls/CollapsePane/index.js +11 -0
  44. package/dist/esm/layoutControls/CollapsePane/property.js +93 -0
  45. package/dist/esm/layoutControls/CollapsePane/runtime.js +112 -0
  46. package/dist/esm/layoutControls/CollapsePane/types.js +0 -0
  47. package/dist/esm/layoutControls/Row/designer.js +16 -0
  48. package/dist/esm/layoutControls/Row/property.js +10 -2
  49. package/dist/esm/layoutControls/Step/designer.js +72 -0
  50. package/dist/esm/layoutControls/Step/property.js +51 -7
  51. package/dist/esm/layoutControls/Tab/designer.js +56 -0
  52. package/dist/esm/layoutControls/Tab/property.js +24 -1
  53. package/dist/esm/layoutControls/TableLayoutCol/property.js +2 -2
  54. package/dist/esm/layoutControls/index.js +1 -0
  55. package/dist/esm/listControls/SubTable/designer.js +17 -0
  56. package/dist/esm/listControls/SubTable/property.js +6 -1
  57. package/dist/index.umd.js +1 -1
  58. package/dist/types/formControls/Address/property.d.ts +2 -2
  59. package/dist/types/formControls/Attachment/property.d.ts +5 -0
  60. package/dist/types/formControls/Cascader/designer.d.ts +20 -0
  61. package/dist/types/formControls/Cascader/index.d.ts +12 -0
  62. package/dist/types/formControls/Cascader/property.d.ts +72 -0
  63. package/dist/types/formControls/Cascader/runtime.d.ts +12 -0
  64. package/dist/types/formControls/Cascader/types.d.ts +0 -0
  65. package/dist/types/formControls/Checkbox/property.d.ts +10 -0
  66. package/dist/types/formControls/Image/property.d.ts +5 -0
  67. package/dist/types/formControls/Number/property.d.ts +15 -0
  68. package/dist/types/formControls/Radio/property.d.ts +10 -0
  69. package/dist/types/formControls/Score/property.d.ts +15 -0
  70. package/dist/types/formControls/Select/property.d.ts +10 -0
  71. package/dist/types/formControls/SelectMultiple/property.d.ts +10 -0
  72. package/dist/types/formControls/TimePicker/designer.d.ts +14 -0
  73. package/dist/types/formControls/TimePicker/index.d.ts +12 -0
  74. package/dist/types/formControls/TimePicker/property.d.ts +11 -0
  75. package/dist/types/formControls/TimePicker/runtime.d.ts +12 -0
  76. package/dist/types/formControls/TimePicker/types.d.ts +0 -0
  77. package/dist/types/formControls/TimeRange/designer.d.ts +14 -0
  78. package/dist/types/formControls/TimeRange/index.d.ts +12 -0
  79. package/dist/types/formControls/TimeRange/property.d.ts +62 -0
  80. package/dist/types/formControls/TimeRange/runtime.d.ts +12 -0
  81. package/dist/types/formControls/TimeRange/types.d.ts +0 -0
  82. package/dist/types/formControls/index.d.ts +3 -0
  83. package/dist/types/framework.d.ts +26 -19
  84. package/dist/types/layoutControls/CardGroup/property.d.ts +39 -0
  85. package/dist/types/layoutControls/Col/property.d.ts +1 -2
  86. package/dist/types/layoutControls/Collapse/designer.d.ts +14 -0
  87. package/dist/types/layoutControls/Collapse/index.d.ts +12 -0
  88. package/dist/types/layoutControls/Collapse/property.d.ts +26 -0
  89. package/dist/types/layoutControls/Collapse/runtime.d.ts +9 -0
  90. package/dist/types/layoutControls/Collapse/types.d.ts +0 -0
  91. package/dist/types/layoutControls/CollapsePane/designer.d.ts +14 -0
  92. package/dist/types/layoutControls/CollapsePane/index.d.ts +12 -0
  93. package/dist/types/layoutControls/CollapsePane/property.d.ts +11 -0
  94. package/dist/types/layoutControls/CollapsePane/runtime.d.ts +9 -0
  95. package/dist/types/layoutControls/CollapsePane/types.d.ts +0 -0
  96. package/dist/types/layoutControls/Row/property.d.ts +6 -1
  97. package/dist/types/layoutControls/Step/property.d.ts +56 -1
  98. package/dist/types/layoutControls/Tab/property.d.ts +24 -0
  99. package/dist/types/layoutControls/TableLayoutCol/property.d.ts +3 -3
  100. package/dist/types/layoutControls/index.d.ts +1 -0
  101. package/dist/types/listControls/SubTable/designer.d.ts +19 -0
  102. package/dist/types/listControls/SubTable/property.d.ts +5 -0
  103. package/dist/types/type.d.ts +4 -1
  104. package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +1 -1
  105. package/package.json +5 -5
@@ -0,0 +1,93 @@
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 CollapsePaneControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
75
+ "use strict";
76
+ _inherits(CollapsePaneControlProperty, LayoutControlProperty);
77
+ function CollapsePaneControlProperty(props) {
78
+ _class_call_check(this, CollapsePaneControlProperty);
79
+ var _this;
80
+ _this = _call_super(this, CollapsePaneControlProperty, [
81
+ props
82
+ ]), /**
83
+ * 面板头内容
84
+ * @defaultValue
85
+ */ _define_property(_this, "header", void 0);
86
+ var _props_header;
87
+ _this.header = (_props_header = props === null || props === void 0 ? void 0 : props.header) !== null && _props_header !== void 0 ? _props_header : '分组';
88
+ return _this;
89
+ }
90
+ return CollapsePaneControlProperty;
91
+ }(LayoutControlProperty);
92
+ export default CollapsePaneControlProperty;
93
+ export { CollapsePaneControlProperty, };
@@ -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 CollapsePaneControlProperty from './property';
89
+ var CollapsePaneControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
90
+ "use strict";
91
+ _inherits(CollapsePaneControl, RuntimeLayoutControl);
92
+ function CollapsePaneControl(props) {
93
+ _class_call_check(this, CollapsePaneControl);
94
+ var _this;
95
+ _this = _call_super(this, CollapsePaneControl, [
96
+ props
97
+ ]), _define_property(_this, "props", void 0);
98
+ _this.props = new CollapsePaneControlProperty(props === null || props === void 0 ? void 0 : props.props);
99
+ return _this;
100
+ }
101
+ _create_class(CollapsePaneControl, null, [
102
+ {
103
+ key: "controlType",
104
+ get: function get() {
105
+ return 'collapse-pane';
106
+ }
107
+ }
108
+ ]);
109
+ return CollapsePaneControl;
110
+ }(RuntimeLayoutControl);
111
+ export default CollapsePaneControl;
112
+ export { CollapsePaneControl as RuntimeCollapsePaneControl };
File without changes
@@ -129,6 +129,22 @@ _define_property(RowControl, "setting", [
129
129
  {
130
130
  key: 'col-setting',
131
131
  visible: true
132
+ },
133
+ {
134
+ key: 'row-gutter',
135
+ visible: true
136
+ },
137
+ {
138
+ key: 'row-align',
139
+ visible: true
140
+ },
141
+ {
142
+ key: 'row-justify',
143
+ visible: true
144
+ },
145
+ {
146
+ key: 'dynamic-margin-padding',
147
+ visible: true
132
148
  }
133
149
  ]);
134
150
  export default RowControl;
@@ -70,7 +70,7 @@ function _is_native_reflect_construct() {
70
70
  return !!result;
71
71
  })();
72
72
  }
73
- import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
73
+ import { LayoutControlProperty, Margin, Padding } from '@byteluck-fe/model-driven-core';
74
74
  var RowControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
75
75
  "use strict";
76
76
  _inherits(RowControlProperty, LayoutControlProperty);
@@ -79,11 +79,19 @@ var RowControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
79
79
  var _this;
80
80
  _this = _call_super(this, RowControlProperty, [
81
81
  props
82
- ]), _define_property(_this, "layoutMode", void 0), _define_property(_this, "gutter", void 0);
82
+ ]), _define_property(_this, "layoutMode", void 0), _define_property(_this, "gutter", void 0), _define_property(_this, "align", void 0), _define_property(_this, "justify", void 0), _define_property(_this, "padding", void 0), _define_property(_this, "margin", void 0), _define_property(_this, "isFull", void 0);
83
83
  var _props_layoutMode;
84
84
  _this.layoutMode = (_props_layoutMode = props === null || props === void 0 ? void 0 : props.layoutMode) !== null && _props_layoutMode !== void 0 ? _props_layoutMode : 'select';
85
85
  var _props_gutter;
86
86
  _this.gutter = (_props_gutter = props === null || props === void 0 ? void 0 : props.gutter) !== null && _props_gutter !== void 0 ? _props_gutter : 0;
87
+ var _props_align;
88
+ _this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : '';
89
+ var _props_justify;
90
+ _this.justify = (_props_justify = props === null || props === void 0 ? void 0 : props.justify) !== null && _props_justify !== void 0 ? _props_justify : '';
91
+ _this.padding = new Padding(props === null || props === void 0 ? void 0 : props.padding);
92
+ _this.margin = new Margin(props === null || props === void 0 ? void 0 : props.margin);
93
+ var _props_isFull;
94
+ _this.isFull = (_props_isFull = props === null || props === void 0 ? void 0 : props.isFull) !== null && _props_isFull !== void 0 ? _props_isFull : false;
87
95
  return _this;
88
96
  }
89
97
  return RowControlProperty;
@@ -153,6 +153,78 @@ _define_property(StepControl, "setting", [
153
153
  key: 'is-sticky',
154
154
  visible: true
155
155
  },
156
+ {
157
+ key: 'step',
158
+ visible: true
159
+ },
160
+ {
161
+ key: 'common-switch',
162
+ visible: true,
163
+ name: 'isCenter',
164
+ label: '居中对齐',
165
+ default: false
166
+ },
167
+ {
168
+ key: 'common-switch',
169
+ visible: true,
170
+ name: 'isStopStepClick',
171
+ label: '允许结束步骤点击',
172
+ default: false
173
+ },
174
+ {
175
+ key: 'common-select',
176
+ visible: true,
177
+ name: 'status',
178
+ label: '当前步骤状态',
179
+ default: 'process',
180
+ options: [
181
+ {
182
+ value: 'wait',
183
+ label: '等待'
184
+ },
185
+ {
186
+ value: 'process',
187
+ label: '进行中'
188
+ },
189
+ {
190
+ value: 'finish',
191
+ label: '完成'
192
+ },
193
+ {
194
+ value: 'error',
195
+ label: '错误'
196
+ }
197
+ ]
198
+ },
199
+ {
200
+ key: 'common-select',
201
+ visible: true,
202
+ name: 'stopStatus',
203
+ label: '结束步骤状态',
204
+ default: 'finish',
205
+ options: [
206
+ {
207
+ value: 'wait',
208
+ label: '等待'
209
+ },
210
+ {
211
+ value: 'process',
212
+ label: '进行中'
213
+ },
214
+ {
215
+ value: 'finish',
216
+ label: '完成'
217
+ },
218
+ {
219
+ value: 'error',
220
+ label: '错误'
221
+ }
222
+ ]
223
+ },
224
+ {
225
+ key: 'step-buttons',
226
+ visible: true
227
+ },
156
228
  {
157
229
  key: 'step-pane',
158
230
  visible: true
@@ -70,7 +70,7 @@ function _is_native_reflect_construct() {
70
70
  return !!result;
71
71
  })();
72
72
  }
73
- import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
73
+ import { LayoutControlProperty, StepButtons } from '@byteluck-fe/model-driven-core';
74
74
  var StepControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
75
75
  "use strict";
76
76
  _inherits(StepControlProperty, LayoutControlProperty);
@@ -79,12 +79,43 @@ var StepControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
79
79
  var _this;
80
80
  _this = _call_super(this, StepControlProperty, [
81
81
  props
82
- ]), _define_property(_this, "direction", void 0 //排列方向
83
- ), _define_property(_this, "labelPlacement", void 0 //标签位置
84
- ), _define_property(_this, "size", void 0 //尺寸
85
- ), _define_property(_this, "type", void 0 //类型
86
- ), _define_property(_this, "isSticky", void 0 //是否粘性
87
- );
82
+ ]), /**
83
+ * 步骤条方向;horizontal:水平方向;vertical:垂直方向
84
+ * @defaultValue horizontal
85
+ */ _define_property(_this, "direction", void 0), /**
86
+ * 标签放置位置;horizontal:水平方向;vertical:竖直方向
87
+ * @defaultValue horizontal
88
+ */ _define_property(_this, "labelPlacement", void 0), /**
89
+ * 大小;small:迷你; default:普通;
90
+ * @defaultValue default
91
+ */ _define_property(_this, "size", void 0), /**
92
+ * 步骤条类型;default:默认; navigation:导航
93
+ * @defaultValue default
94
+ */ _define_property(_this, "type", void 0), /**
95
+ * 是否粘性
96
+ * @defaultValue false
97
+ */ _define_property(_this, "isSticky", void 0), /**
98
+ * 步骤条间距,可输入%或px
99
+ * @defaultValue
100
+ */ _define_property(_this, "step", void 0), /**
101
+ * 是否居中对齐
102
+ * @defaultValue false
103
+ */ _define_property(_this, "isCenter", void 0), /**
104
+ * 是否允许结束步骤点击
105
+ * @defaultValue false
106
+ */ _define_property(_this, "isStopStepClick", void 0), /**
107
+ * 当前步骤的状态,wait:等待; process:进行中; finish:完成; error:错误;
108
+ * @defaultValue process
109
+ */ _define_property(_this, "status", void 0), /**
110
+ * 结束步骤的状态,wait:等待; process:进行中; finish:完成; error:错误;
111
+ * @defaultValue finish
112
+ */ _define_property(_this, "stopStatus", void 0), /**
113
+ * 是否显示步骤条按钮
114
+ * @defaultValue false
115
+ */ _define_property(_this, "isShowStepButton", void 0), /**
116
+ * 步骤条按钮配置
117
+ * @defaultValue {prev: {icon: 'iconleft', label: '上一步'}, next: {icon: 'iconxiangyou', label: '下一步'}, }
118
+ */ _define_property(_this, "stepButtons", void 0);
88
119
  var _props_direction;
89
120
  _this.direction = (_props_direction = props === null || props === void 0 ? void 0 : props.direction) !== null && _props_direction !== void 0 ? _props_direction : 'horizontal';
90
121
  var _props_labelPlacement;
@@ -95,6 +126,19 @@ var StepControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
95
126
  _this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'default';
96
127
  var _props_isSticky;
97
128
  _this.isSticky = (_props_isSticky = props === null || props === void 0 ? void 0 : props.isSticky) !== null && _props_isSticky !== void 0 ? _props_isSticky : false;
129
+ var _props_step;
130
+ _this.step = (_props_step = props === null || props === void 0 ? void 0 : props.step) !== null && _props_step !== void 0 ? _props_step : '';
131
+ var _props_isCenter;
132
+ _this.isCenter = (_props_isCenter = props === null || props === void 0 ? void 0 : props.isCenter) !== null && _props_isCenter !== void 0 ? _props_isCenter : false;
133
+ var _props_isStopStepClick;
134
+ _this.isStopStepClick = (_props_isStopStepClick = props === null || props === void 0 ? void 0 : props.isStopStepClick) !== null && _props_isStopStepClick !== void 0 ? _props_isStopStepClick : false;
135
+ var _props_status;
136
+ _this.status = (_props_status = props === null || props === void 0 ? void 0 : props.status) !== null && _props_status !== void 0 ? _props_status : 'process';
137
+ var _props_stopStatus;
138
+ _this.stopStatus = (_props_stopStatus = props === null || props === void 0 ? void 0 : props.stopStatus) !== null && _props_stopStatus !== void 0 ? _props_stopStatus : 'finish';
139
+ var _props_isShowStepButton;
140
+ _this.isShowStepButton = (_props_isShowStepButton = props === null || props === void 0 ? void 0 : props.isShowStepButton) !== null && _props_isShowStepButton !== void 0 ? _props_isShowStepButton : false;
141
+ _this.stepButtons = new StepButtons(props === null || props === void 0 ? void 0 : props.stepButtons);
98
142
  return _this;
99
143
  }
100
144
  return StepControlProperty;
@@ -139,6 +139,62 @@ _define_property(TabControl, "setting", [
139
139
  key: 'tab-mobile-show-type',
140
140
  visible: true
141
141
  },
142
+ {
143
+ key: 'common-button-radio',
144
+ visible: true,
145
+ name: 'type',
146
+ label: '风格类型',
147
+ default: 'line',
148
+ options: [
149
+ {
150
+ value: 'line',
151
+ label: '默认'
152
+ },
153
+ {
154
+ value: 'card',
155
+ label: '选项卡'
156
+ }
157
+ ]
158
+ },
159
+ {
160
+ key: 'common-button-radio',
161
+ visible: true,
162
+ name: 'tabPosition',
163
+ label: '页签位置',
164
+ default: 'top',
165
+ options: [
166
+ {
167
+ value: 'top',
168
+ label: '上'
169
+ },
170
+ {
171
+ value: 'bottom',
172
+ label: '下'
173
+ },
174
+ {
175
+ value: 'left',
176
+ label: '左'
177
+ },
178
+ {
179
+ value: 'right',
180
+ label: '右'
181
+ }
182
+ ]
183
+ },
184
+ {
185
+ key: 'common-switch',
186
+ visible: true,
187
+ name: 'isLabelFlat',
188
+ label: '页签宽度是否自动撑开',
189
+ default: false
190
+ },
191
+ {
192
+ key: 'common-switch',
193
+ visible: true,
194
+ name: 'isDelay',
195
+ label: '内容延迟渲染',
196
+ default: false
197
+ },
142
198
  {
143
199
  key: 'super-setting',
144
200
  visible: true
@@ -79,9 +79,32 @@ var TabControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
79
79
  var _this;
80
80
  _this = _call_super(this, TabControlProperty, [
81
81
  props
82
- ]), _define_property(_this, "mobileShowType", void 0);
82
+ ]), /**
83
+ * 移动端展示样式
84
+ * @defaultValue vertical
85
+ */ _define_property(_this, "mobileShowType", void 0), /**
86
+ * 风格类型,line:默认样式;card:选项卡样式;
87
+ * @defaultValue line
88
+ */ _define_property(_this, "type", void 0), /**
89
+ * 页签位置,top:页签在上;bottom:页签在下;left:页签在左侧;right:页签在右侧;
90
+ * @defaultValue top
91
+ */ _define_property(_this, "tabPosition", void 0), /**
92
+ * 页签宽度是否自动撑开
93
+ * @defaultValue false
94
+ */ _define_property(_this, "isLabelFlat", void 0), /**
95
+ * 内容是否延迟渲染
96
+ * @defaultValue false
97
+ */ _define_property(_this, "isDelay", void 0);
83
98
  var _props_mobileShowType;
84
99
  _this.mobileShowType = (_props_mobileShowType = props === null || props === void 0 ? void 0 : props.mobileShowType) !== null && _props_mobileShowType !== void 0 ? _props_mobileShowType : 'vertical';
100
+ var _props_type;
101
+ _this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'line';
102
+ var _props_tabPosition;
103
+ _this.tabPosition = (_props_tabPosition = props === null || props === void 0 ? void 0 : props.tabPosition) !== null && _props_tabPosition !== void 0 ? _props_tabPosition : 'top';
104
+ var _props_isLabelFlat;
105
+ _this.isLabelFlat = (_props_isLabelFlat = props === null || props === void 0 ? void 0 : props.isLabelFlat) !== null && _props_isLabelFlat !== void 0 ? _props_isLabelFlat : false;
106
+ var _props_isDelay;
107
+ _this.isDelay = (_props_isDelay = props === null || props === void 0 ? void 0 : props.isDelay) !== null && _props_isDelay !== void 0 ? _props_isDelay : false;
85
108
  return _this;
86
109
  }
87
110
  return TabControlProperty;
@@ -101,9 +101,9 @@ var TableLayoutColControlProperty = /*#__PURE__*/ function(LayoutControlProperty
101
101
  var _props_flexDirection;
102
102
  _this.flexDirection = (_props_flexDirection = props === null || props === void 0 ? void 0 : props.flexDirection) !== null && _props_flexDirection !== void 0 ? _props_flexDirection : 'column';
103
103
  var _props_alignItems;
104
- _this.alignItems = (_props_alignItems = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _props_alignItems !== void 0 ? _props_alignItems : '';
104
+ _this.alignItems = (_props_alignItems = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _props_alignItems !== void 0 ? _props_alignItems : 'flex-start';
105
105
  var _props_justifyContent;
106
- _this.justifyContent = (_props_justifyContent = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && _props_justifyContent !== void 0 ? _props_justifyContent : '';
106
+ _this.justifyContent = (_props_justifyContent = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && _props_justifyContent !== void 0 ? _props_justifyContent : 'flex-start';
107
107
  var _props_background;
108
108
  _this.background = (_props_background = props === null || props === void 0 ? void 0 : props.background) !== null && _props_background !== void 0 ? _props_background : {
109
109
  type: 'backgroundColor',
@@ -23,3 +23,4 @@ export { default as TableLayout } from './TableLayout';
23
23
  export { default as TableLayoutRow } from './TableLayoutRow';
24
24
  export { default as TableLayoutCol } from './TableLayoutCol';
25
25
  export { default as TableLayoutWrapper } from './TableLayoutWrapper';
26
+ export { default as Collapse } from './Collapse';
@@ -193,6 +193,23 @@ _define_property(SubTableControl, "setting", [
193
193
  key: 'subtable-btn-setting',
194
194
  visible: true
195
195
  },
196
+ {
197
+ key: 'common-button-radio',
198
+ visible: true,
199
+ name: 'triggerEdit',
200
+ label: '触发编辑方式',
201
+ default: 'single',
202
+ options: [
203
+ {
204
+ value: 'single',
205
+ label: '单击'
206
+ },
207
+ {
208
+ value: 'double',
209
+ label: '双击'
210
+ }
211
+ ]
212
+ },
196
213
  {
197
214
  key: 'subtable-opened-mode',
198
215
  visible: true
@@ -287,7 +287,10 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
287
287
  * */ _define_property(_this, "sortable", void 0), /**
288
288
  * 排序or筛选字段
289
289
  * */ _define_property(_this, "sortKey", void 0), // 是否展示序号
290
- _define_property(_this, "showTableIndex", void 0);
290
+ _define_property(_this, "showTableIndex", void 0), /**
291
+ * 触发编辑方式;single:单击;double:双击;
292
+ * @defaultValue single
293
+ */ _define_property(_this, "triggerEdit", void 0);
291
294
  var _props_caption;
292
295
  _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SubTableControl.controlName;
293
296
  var _props_isHideCaption;
@@ -364,6 +367,8 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
364
367
  _this.sortKey = (_props_sortKey = props === null || props === void 0 ? void 0 : props.sortKey) !== null && _props_sortKey !== void 0 ? _props_sortKey : {};
365
368
  var _props_showTableIndex;
366
369
  _this.showTableIndex = (_props_showTableIndex = props === null || props === void 0 ? void 0 : props.showTableIndex) !== null && _props_showTableIndex !== void 0 ? _props_showTableIndex : true;
370
+ var _props_triggerEdit;
371
+ _this.triggerEdit = (_props_triggerEdit = props === null || props === void 0 ? void 0 : props.triggerEdit) !== null && _props_triggerEdit !== void 0 ? _props_triggerEdit : 'single';
367
372
  return _this;
368
373
  }
369
374
  return SubTableControlProperty;