@byteluck-fe/model-driven-controls 7.0.0-props.62 → 7.0.0-props.63
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/api-doc-index.js +1 -0
- package/dist/esm/baseControls/Iframe/designer.js +158 -0
- package/dist/esm/baseControls/Iframe/index.js +11 -0
- package/dist/esm/baseControls/Iframe/property.js +121 -0
- package/dist/esm/baseControls/Iframe/runtime.js +112 -0
- package/dist/esm/baseControls/Iframe/schema.json +47 -0
- package/dist/esm/baseControls/index.js +1 -0
- package/dist/index.umd.js +1 -1
- package/dist/types/api-doc-index.d.ts +1 -0
- package/dist/types/baseControls/Iframe/designer.d.ts +12 -0
- package/dist/types/baseControls/Iframe/index.d.ts +12 -0
- package/dist/types/baseControls/Iframe/property.d.ts +40 -0
- package/dist/types/baseControls/Iframe/runtime.d.ts +10 -0
- package/dist/types/baseControls/index.d.ts +2 -0
- package/dist/types/type.d.ts +2 -1
- package/package.json +5 -5
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { default as Text } from './baseControls/Text/property';
|
|
2
2
|
export { default as Link } from './baseControls/Link/property';
|
|
3
|
+
export { default as Iframe } from './baseControls/Iframe/property';
|
|
3
4
|
export { default as Button } from './baseControls/Button/property';
|
|
4
5
|
export { default as Divider } from './baseControls/Divider/property';
|
|
5
6
|
export { default as Title } from './baseControls/Title/property';
|
|
@@ -0,0 +1,158 @@
|
|
|
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 { DesignerControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
88
|
+
import IframeProperty from './property';
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
|
+
var IframeControl = /*#__PURE__*/ function(DesignerControl) {
|
|
91
|
+
"use strict";
|
|
92
|
+
_inherits(IframeControl, DesignerControl);
|
|
93
|
+
function IframeControl(props) {
|
|
94
|
+
_class_call_check(this, IframeControl);
|
|
95
|
+
var _this;
|
|
96
|
+
_this = _call_super(this, IframeControl, [
|
|
97
|
+
props
|
|
98
|
+
]), _define_property(_this, "props", void 0);
|
|
99
|
+
_this.props = new IframeProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
100
|
+
return _this;
|
|
101
|
+
}
|
|
102
|
+
_create_class(IframeControl, null, [
|
|
103
|
+
{
|
|
104
|
+
key: "controlName",
|
|
105
|
+
get: function get() {
|
|
106
|
+
return getLocaleText('CMD.iframe', null, '网页嵌入');
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
key: "controlIcon",
|
|
111
|
+
get: function get() {
|
|
112
|
+
return 'iconwangye';
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
key: "controlType",
|
|
117
|
+
get: function get() {
|
|
118
|
+
return 'iframe';
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
]);
|
|
122
|
+
return IframeControl;
|
|
123
|
+
}(DesignerControl);
|
|
124
|
+
_define_property(IframeControl, "setting", [
|
|
125
|
+
{
|
|
126
|
+
key: 'content',
|
|
127
|
+
visible: true,
|
|
128
|
+
name: 'content',
|
|
129
|
+
label: 'URL'
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
key: 'common-input-number',
|
|
133
|
+
visible: true,
|
|
134
|
+
name: 'width',
|
|
135
|
+
label: '宽',
|
|
136
|
+
min: 1
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
key: 'common-input-number',
|
|
140
|
+
visible: true,
|
|
141
|
+
name: 'height',
|
|
142
|
+
label: '高',
|
|
143
|
+
min: 1
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
key: 'common-setting',
|
|
147
|
+
visible: true,
|
|
148
|
+
showItems: [
|
|
149
|
+
COMMON_SETTING_TYPE.IS_HIDE
|
|
150
|
+
]
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
key: 'super-setting',
|
|
154
|
+
visible: true
|
|
155
|
+
}
|
|
156
|
+
]);
|
|
157
|
+
export default IframeControl;
|
|
158
|
+
export { IframeControl as DesignerIframeControl };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import Designer from './designer';
|
|
2
|
+
import Runtime from './runtime';
|
|
3
|
+
import Property from './property';
|
|
4
|
+
export default {
|
|
5
|
+
Designer: Designer,
|
|
6
|
+
Runtime: Runtime,
|
|
7
|
+
Property: Property
|
|
8
|
+
};
|
|
9
|
+
export * from './designer';
|
|
10
|
+
export * from './runtime';
|
|
11
|
+
export * from './property';
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* name: rok_iframe
|
|
3
|
+
* description: 网页嵌入组件。用于在页面中嵌入外部 URL 页面。支持配置链接地址、宽度和高度,适合展示第三方报表、系统页面或外部内容。
|
|
4
|
+
*/ function _assert_this_initialized(self) {
|
|
5
|
+
if (self === void 0) {
|
|
6
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
7
|
+
}
|
|
8
|
+
return self;
|
|
9
|
+
}
|
|
10
|
+
function _call_super(_this, derived, args) {
|
|
11
|
+
derived = _get_prototype_of(derived);
|
|
12
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
13
|
+
}
|
|
14
|
+
function _class_call_check(instance, Constructor) {
|
|
15
|
+
if (!(instance instanceof Constructor)) {
|
|
16
|
+
throw new TypeError("Cannot call a class as a function");
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
function _define_property(obj, key, value) {
|
|
20
|
+
if (key in obj) {
|
|
21
|
+
Object.defineProperty(obj, key, {
|
|
22
|
+
value: value,
|
|
23
|
+
enumerable: true,
|
|
24
|
+
configurable: true,
|
|
25
|
+
writable: true
|
|
26
|
+
});
|
|
27
|
+
} else {
|
|
28
|
+
obj[key] = value;
|
|
29
|
+
}
|
|
30
|
+
return obj;
|
|
31
|
+
}
|
|
32
|
+
function _get_prototype_of(o) {
|
|
33
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
34
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
35
|
+
};
|
|
36
|
+
return _get_prototype_of(o);
|
|
37
|
+
}
|
|
38
|
+
function _inherits(subClass, superClass) {
|
|
39
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
40
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
41
|
+
}
|
|
42
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
43
|
+
constructor: {
|
|
44
|
+
value: subClass,
|
|
45
|
+
writable: true,
|
|
46
|
+
configurable: true
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
50
|
+
}
|
|
51
|
+
function _possible_constructor_return(self, call) {
|
|
52
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
53
|
+
return call;
|
|
54
|
+
}
|
|
55
|
+
return _assert_this_initialized(self);
|
|
56
|
+
}
|
|
57
|
+
function _set_prototype_of(o, p) {
|
|
58
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
59
|
+
o.__proto__ = p;
|
|
60
|
+
return o;
|
|
61
|
+
};
|
|
62
|
+
return _set_prototype_of(o, p);
|
|
63
|
+
}
|
|
64
|
+
function _type_of(obj) {
|
|
65
|
+
"@swc/helpers - typeof";
|
|
66
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
67
|
+
}
|
|
68
|
+
function _is_native_reflect_construct() {
|
|
69
|
+
try {
|
|
70
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
71
|
+
} catch (_) {}
|
|
72
|
+
return (_is_native_reflect_construct = function() {
|
|
73
|
+
return !!result;
|
|
74
|
+
})();
|
|
75
|
+
}
|
|
76
|
+
import { Property, PropertyRules } from '@byteluck-fe/model-driven-core';
|
|
77
|
+
var IframePropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
78
|
+
"use strict";
|
|
79
|
+
_inherits(IframePropertyRules, PropertyRules);
|
|
80
|
+
function IframePropertyRules() {
|
|
81
|
+
_class_call_check(this, IframePropertyRules);
|
|
82
|
+
var _this;
|
|
83
|
+
_this = _call_super(this, IframePropertyRules, arguments), _define_property(_this, "content", {
|
|
84
|
+
type: 'string',
|
|
85
|
+
required: true,
|
|
86
|
+
message: '请输入URL'
|
|
87
|
+
}), _define_property(_this, "width", {
|
|
88
|
+
type: 'number',
|
|
89
|
+
required: true,
|
|
90
|
+
min: 1,
|
|
91
|
+
message: '请输入宽'
|
|
92
|
+
}), _define_property(_this, "height", {
|
|
93
|
+
type: 'number',
|
|
94
|
+
required: true,
|
|
95
|
+
min: 1,
|
|
96
|
+
message: '请输入高'
|
|
97
|
+
});
|
|
98
|
+
return _this;
|
|
99
|
+
}
|
|
100
|
+
return IframePropertyRules;
|
|
101
|
+
}(PropertyRules);
|
|
102
|
+
var IframeProperty = /*#__PURE__*/ function(Property) {
|
|
103
|
+
"use strict";
|
|
104
|
+
_inherits(IframeProperty, Property);
|
|
105
|
+
function IframeProperty(props) {
|
|
106
|
+
_class_call_check(this, IframeProperty);
|
|
107
|
+
var _this;
|
|
108
|
+
var _ref, _ref1, _ref2;
|
|
109
|
+
_this = _call_super(this, IframeProperty, [
|
|
110
|
+
props
|
|
111
|
+
]), _define_property(_this, "content", void 0), _define_property(_this, "width", void 0), _define_property(_this, "height", void 0);
|
|
112
|
+
_this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : '';
|
|
113
|
+
_this.width = (_ref1 = props === null || props === void 0 ? void 0 : props.width) !== null && _ref1 !== void 0 ? _ref1 : 600;
|
|
114
|
+
_this.height = (_ref2 = props === null || props === void 0 ? void 0 : props.height) !== null && _ref2 !== void 0 ? _ref2 : 400;
|
|
115
|
+
return _this;
|
|
116
|
+
}
|
|
117
|
+
return IframeProperty;
|
|
118
|
+
}(Property);
|
|
119
|
+
_define_property(IframeProperty, "Rules", IframePropertyRules);
|
|
120
|
+
export default IframeProperty;
|
|
121
|
+
export { IframeProperty, IframePropertyRules };
|
|
@@ -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 { RuntimeControl } from '@byteluck-fe/model-driven-core';
|
|
88
|
+
import IframeProperty from './property';
|
|
89
|
+
var IframeControl = /*#__PURE__*/ function(RuntimeControl) {
|
|
90
|
+
"use strict";
|
|
91
|
+
_inherits(IframeControl, RuntimeControl);
|
|
92
|
+
function IframeControl(props) {
|
|
93
|
+
_class_call_check(this, IframeControl);
|
|
94
|
+
var _this;
|
|
95
|
+
_this = _call_super(this, IframeControl, [
|
|
96
|
+
props
|
|
97
|
+
]), _define_property(_this, "props", void 0);
|
|
98
|
+
_this.props = new IframeProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
99
|
+
return _this;
|
|
100
|
+
}
|
|
101
|
+
_create_class(IframeControl, null, [
|
|
102
|
+
{
|
|
103
|
+
key: "controlType",
|
|
104
|
+
get: function get() {
|
|
105
|
+
return 'iframe';
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
]);
|
|
109
|
+
return IframeControl;
|
|
110
|
+
}(RuntimeControl);
|
|
111
|
+
export default IframeControl;
|
|
112
|
+
export { IframeControl as RuntimeIframeControl };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rok_iframe",
|
|
3
|
+
"description": "网页嵌入组件。用于在页面中嵌入外部 URL 页面。支持配置链接地址、宽度和高度,适合展示第三方报表、系统页面或外部内容。",
|
|
4
|
+
"parameters": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"isHide": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"description": "是否隐藏",
|
|
10
|
+
"default": false
|
|
11
|
+
},
|
|
12
|
+
"caption": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "标题",
|
|
15
|
+
"default": ""
|
|
16
|
+
},
|
|
17
|
+
"defaultState": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"enum": [
|
|
20
|
+
"default",
|
|
21
|
+
"readonly"
|
|
22
|
+
],
|
|
23
|
+
"description": "默认状态",
|
|
24
|
+
"enumDescription": [
|
|
25
|
+
"default",
|
|
26
|
+
"readonly"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"content": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "URL",
|
|
32
|
+
"default": ""
|
|
33
|
+
},
|
|
34
|
+
"width": {
|
|
35
|
+
"type": "integer",
|
|
36
|
+
"description": "宽",
|
|
37
|
+
"default": 600
|
|
38
|
+
},
|
|
39
|
+
"height": {
|
|
40
|
+
"type": "integer",
|
|
41
|
+
"description": "高",
|
|
42
|
+
"default": 400
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"required": []
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { default as Text } from './Text';
|
|
2
2
|
export { default as Link } from './Link';
|
|
3
|
+
export { default as Iframe } from './Iframe';
|
|
3
4
|
export { default as Button } from './Button';
|
|
4
5
|
export { default as Divider } from './Divider';
|
|
5
6
|
export { default as Title } from './Title';
|