@byteluck-fe/model-driven-controls 4.34.0-lx3 → 4.34.0-lx4

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.
@@ -93,6 +93,7 @@ function _is_native_reflect_construct() {
93
93
  import { DesignerAttachmentControl } from '../Attachment';
94
94
  import { COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
95
95
  import { FieldTypes } from '@byteluck-fe/model-driven-shared';
96
+ import ImageProperty from './property';
96
97
  var ImageControl = /*#__PURE__*/ function(DesignerAttachmentControl) {
97
98
  "use strict";
98
99
  _inherits(ImageControl, DesignerAttachmentControl);
@@ -102,7 +103,8 @@ var ImageControl = /*#__PURE__*/ function(DesignerAttachmentControl) {
102
103
  var _props_props, _props_props1;
103
104
  _this = _call_super(this, ImageControl, [
104
105
  props
105
- ]);
106
+ ]), _define_property(_this, "props", void 0);
107
+ _this.props = new ImageProperty(props === null || props === void 0 ? void 0 : props.props);
106
108
  _this.props.showType = 'image';
107
109
  var _props_props_caption;
108
110
  _this.props.caption = (_props_props_caption = props === null || props === void 0 ? void 0 : (_props_props = props.props) === null || _props_props === void 0 ? void 0 : _props_props.caption) !== null && _props_props_caption !== void 0 ? _props_props_caption : ImageControl.controlName;