@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.
@@ -147,6 +147,10 @@ _define_property(ButtonControl, "setting", [
147
147
  key: "button-content",
148
148
  visible: true
149
149
  },
150
+ {
151
+ key: "button-opt-type",
152
+ visible: true
153
+ },
150
154
  {
151
155
  key: "button-type",
152
156
  visible: true
@@ -202,6 +202,10 @@ _define_property(CalcControl, "setting", [
202
202
  key: "calc-script-echo",
203
203
  visible: false
204
204
  },
205
+ {
206
+ key: "calc-on-mounted",
207
+ visible: true
208
+ },
205
209
  {
206
210
  key: "common-setting",
207
211
  visible: true,
@@ -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;
@@ -137,7 +137,8 @@ _define_property(CardGroupControl, "setting", [
137
137
  {
138
138
  key: "caption",
139
139
  showItems: [
140
- COMMON_SETTING_TYPE.CAPTION
140
+ COMMON_SETTING_TYPE.CAPTION,
141
+ COMMON_SETTING_TYPE.IS_HIDE_CAPTION
141
142
  ],
142
143
  visible: true
143
144
  },
@@ -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 _ref;
99
- _this.children = (_ref = props === null || props === void 0 ? void 0 : props.children) !== null && _ref !== void 0 ? _ref : [];
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;