@byteluck-fe/model-driven-controls 2.9.0-alpha.1 → 2.9.0-alpha.15
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/Button/designer.js +4 -0
- package/dist/esm/formControls/Calc/designer.js +4 -0
- package/dist/esm/formControls/Calc/property.js +5 -0
- package/dist/esm/layoutControls/CardGroup/designer.js +2 -1
- package/dist/esm/layoutControls/CardGroup/property.js +3 -0
- package/dist/esm/layoutControls/Col/designer.js +1 -1
- package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
- package/dist/index.umd.js +1 -1
- package/dist/types/formControls/Calc/property.d.ts +4 -0
- package/dist/types/layoutControls/CardGroup/property.d.ts +1 -0
- package/package.json +5 -5
|
@@ -168,6 +168,9 @@ var CalcProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
168
168
|
/**
|
|
169
169
|
* 默认值
|
|
170
170
|
* */ _define_property(_assert_this_initialized(_this), "defaultValue", void 0);
|
|
171
|
+
/**
|
|
172
|
+
* 页面加载时计算
|
|
173
|
+
* */ _define_property(_assert_this_initialized(_this), "calcOnMounted", void 0);
|
|
171
174
|
var _props_precision;
|
|
172
175
|
_this.precision = (_props_precision = props === null || props === void 0 ? void 0 : props.precision) !== null && _props_precision !== void 0 ? _props_precision : 0;
|
|
173
176
|
var _props_micrometer;
|
|
@@ -184,6 +187,8 @@ var CalcProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
184
187
|
_this.scriptEcho = (_props_scriptEcho = props === null || props === void 0 ? void 0 : props.scriptEcho) !== null && _props_scriptEcho !== void 0 ? _props_scriptEcho : [];
|
|
185
188
|
var _props_scriptSrc;
|
|
186
189
|
_this.scriptSrc = (_props_scriptSrc = props === null || props === void 0 ? void 0 : props.scriptSrc) !== null && _props_scriptSrc !== void 0 ? _props_scriptSrc : "";
|
|
190
|
+
var _props_calcOnMounted;
|
|
191
|
+
_this.calcOnMounted = (_props_calcOnMounted = props === null || props === void 0 ? void 0 : props.calcOnMounted) !== null && _props_calcOnMounted !== void 0 ? _props_calcOnMounted : false;
|
|
187
192
|
return _this;
|
|
188
193
|
}
|
|
189
194
|
return CalcProperty;
|
|
@@ -112,12 +112,15 @@ var CardGroupControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
112
112
|
/*
|
|
113
113
|
* 标题信息
|
|
114
114
|
* */ _define_property(_assert_this_initialized(_this), "caption", void 0);
|
|
115
|
+
_define_property(_assert_this_initialized(_this), "isHideCaption", void 0);
|
|
115
116
|
/*
|
|
116
117
|
* 卡片分组是否支持展开收起
|
|
117
118
|
* 可选项: none 不允许 | open 默认展开 | close 默认关闭
|
|
118
119
|
* */ _define_property(_assert_this_initialized(_this), "collapse", void 0);
|
|
119
120
|
var _props_caption;
|
|
120
121
|
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : "分组";
|
|
122
|
+
var _props_isHideCaption;
|
|
123
|
+
_this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
|
|
121
124
|
var _props_collapse;
|
|
122
125
|
_this.collapse = (_props_collapse = props === null || props === void 0 ? void 0 : props.collapse) !== null && _props_collapse !== void 0 ? _props_collapse : "none";
|
|
123
126
|
return _this;
|
|
@@ -135,7 +135,7 @@ var ColControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
|
135
135
|
}(DesignerLayoutControl);
|
|
136
136
|
_define_property(ColControl, "excludes", [
|
|
137
137
|
CONTROL_TYPE.COL,
|
|
138
|
-
CONTROL_TYPE.CARD_GROUP,
|
|
138
|
+
// CONTROL_TYPE.CARD_GROUP,
|
|
139
139
|
CONTROL_TYPE.SUBTABLE,
|
|
140
140
|
CONTROL_TYPE.SUBTABLE_COLUMN,
|
|
141
141
|
CONTROL_TYPE.GRID_LAYOUT_CONTAINER,
|
|
@@ -95,8 +95,8 @@ var SimpleSearchControl = /*#__PURE__*/ function(RuntimeSearchControl) {
|
|
|
95
95
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
96
96
|
_define_property(_assert_this_initialized(_this), "children", void 0);
|
|
97
97
|
_this.props = new SimpleSearchControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
98
|
-
var
|
|
99
|
-
_this.children = (
|
|
98
|
+
var _props_children;
|
|
99
|
+
_this.children = (_props_children = props === null || props === void 0 ? void 0 : props.children) !== null && _props_children !== void 0 ? _props_children : [];
|
|
100
100
|
return _this;
|
|
101
101
|
}
|
|
102
102
|
return SimpleSearchControl;
|