@byteluck-fe/model-driven-settings 2.3.12 → 2.3.13
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/default/createBaseFields.js +29 -29
- package/dist/esm/default/createFormBaseFields.js +56 -56
- package/dist/esm/default/index.js +2 -2
- package/dist/esm/defineInstance.js +1 -0
- package/dist/esm/index.js +4 -4
- package/dist/esm/initSettings.js +24 -48
- package/dist/esm/props/base.js +8 -27
- package/dist/esm/props/checkbox.js +27 -41
- package/dist/esm/props/custom.js +36 -36
- package/dist/esm/props/input-number.js +31 -47
- package/dist/esm/props/input.js +33 -50
- package/dist/esm/props/radio.js +29 -44
- package/dist/esm/props/select.js +29 -44
- package/dist/esm/props/switch.js +31 -47
- package/dist/esm/props/textarea.js +37 -56
- package/dist/esm/schema/group.js +7 -25
- package/dist/esm/schema/index.js +3 -3
- package/dist/esm/schema/setting.js +13 -36
- package/dist/esm/schema/tab.js +4 -19
- package/dist/index.umd.js +2 -2
- package/dist/types/defineInstance.d.ts +3 -3
- package/dist/types/initSettings.d.ts +2 -2
- package/dist/types/schema/setting.d.ts +2 -2
- package/package.json +4 -4
package/dist/esm/props/switch.js
CHANGED
|
@@ -1,32 +1,19 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _assertThisInitialized(self) {
|
|
2
2
|
if (self === void 0) {
|
|
3
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function _classCallCheck(instance, Constructor) {
|
|
8
8
|
if (!(instance instanceof Constructor)) {
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
function
|
|
13
|
-
|
|
14
|
-
Object.defineProperty(obj, key, {
|
|
15
|
-
value: value,
|
|
16
|
-
enumerable: true,
|
|
17
|
-
configurable: true,
|
|
18
|
-
writable: true
|
|
19
|
-
});
|
|
20
|
-
} else {
|
|
21
|
-
obj[key] = value;
|
|
22
|
-
}
|
|
23
|
-
return obj;
|
|
24
|
-
}
|
|
25
|
-
function _get_prototype_of(o) {
|
|
26
|
-
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
12
|
+
function _getPrototypeOf(o) {
|
|
13
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
27
14
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
28
15
|
};
|
|
29
|
-
return
|
|
16
|
+
return _getPrototypeOf(o);
|
|
30
17
|
}
|
|
31
18
|
function _inherits(subClass, superClass) {
|
|
32
19
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -39,26 +26,26 @@ function _inherits(subClass, superClass) {
|
|
|
39
26
|
configurable: true
|
|
40
27
|
}
|
|
41
28
|
});
|
|
42
|
-
if (superClass)
|
|
29
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
43
30
|
}
|
|
44
|
-
function
|
|
45
|
-
if (call && (
|
|
31
|
+
function _possibleConstructorReturn(self, call) {
|
|
32
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
46
33
|
return call;
|
|
47
34
|
}
|
|
48
|
-
return
|
|
35
|
+
return _assertThisInitialized(self);
|
|
49
36
|
}
|
|
50
|
-
function
|
|
51
|
-
|
|
37
|
+
function _setPrototypeOf(o, p) {
|
|
38
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
52
39
|
o.__proto__ = p;
|
|
53
40
|
return o;
|
|
54
41
|
};
|
|
55
|
-
return
|
|
42
|
+
return _setPrototypeOf(o, p);
|
|
56
43
|
}
|
|
57
|
-
function
|
|
44
|
+
var _typeof = function(obj) {
|
|
58
45
|
"@swc/helpers - typeof";
|
|
59
46
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
60
|
-
}
|
|
61
|
-
function
|
|
47
|
+
};
|
|
48
|
+
function _isNativeReflectConstruct() {
|
|
62
49
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
63
50
|
if (Reflect.construct.sham) return false;
|
|
64
51
|
if (typeof Proxy === "function") return true;
|
|
@@ -69,37 +56,34 @@ function _is_native_reflect_construct() {
|
|
|
69
56
|
return false;
|
|
70
57
|
}
|
|
71
58
|
}
|
|
72
|
-
function
|
|
73
|
-
var hasNativeReflectConstruct =
|
|
59
|
+
function _createSuper(Derived) {
|
|
60
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
74
61
|
return function _createSuperInternal() {
|
|
75
|
-
var Super =
|
|
62
|
+
var Super = _getPrototypeOf(Derived), result;
|
|
76
63
|
if (hasNativeReflectConstruct) {
|
|
77
|
-
var NewTarget =
|
|
64
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
78
65
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
79
66
|
} else {
|
|
80
67
|
result = Super.apply(this, arguments);
|
|
81
68
|
}
|
|
82
|
-
return
|
|
69
|
+
return _possibleConstructorReturn(this, result);
|
|
83
70
|
};
|
|
84
71
|
}
|
|
85
|
-
import { BaseProps } from
|
|
86
|
-
export var SwitchProps = /*#__PURE__*/ function(
|
|
72
|
+
import { BaseProps } from './base';
|
|
73
|
+
export var SwitchProps = /*#__PURE__*/ function(BaseProps1) {
|
|
87
74
|
"use strict";
|
|
88
|
-
_inherits(SwitchProps,
|
|
89
|
-
var _super =
|
|
75
|
+
_inherits(SwitchProps, BaseProps1);
|
|
76
|
+
var _super = _createSuper(SwitchProps);
|
|
90
77
|
function SwitchProps(props) {
|
|
91
|
-
|
|
78
|
+
_classCallCheck(this, SwitchProps);
|
|
92
79
|
var _this;
|
|
93
80
|
_this = _super.call(this, props);
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
_this.tips = (_props_tips = props === null || props === void 0 ? void 0 : props.tips) !== null && _props_tips !== void 0 ? _props_tips : "";
|
|
101
|
-
var _props_disabled;
|
|
102
|
-
_this.disabled = (_props_disabled = props === null || props === void 0 ? void 0 : props.disabled) !== null && _props_disabled !== void 0 ? _props_disabled : false;
|
|
81
|
+
var ref;
|
|
82
|
+
_this.showType = (ref = props === null || props === void 0 ? void 0 : props.showType) !== null && ref !== void 0 ? ref : 'switch';
|
|
83
|
+
var ref1;
|
|
84
|
+
_this.tips = (ref1 = props === null || props === void 0 ? void 0 : props.tips) !== null && ref1 !== void 0 ? ref1 : '';
|
|
85
|
+
var ref2;
|
|
86
|
+
_this.disabled = (ref2 = props === null || props === void 0 ? void 0 : props.disabled) !== null && ref2 !== void 0 ? ref2 : false;
|
|
103
87
|
return _this;
|
|
104
88
|
}
|
|
105
89
|
return SwitchProps;
|
|
@@ -1,32 +1,19 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _assertThisInitialized(self) {
|
|
2
2
|
if (self === void 0) {
|
|
3
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function _classCallCheck(instance, Constructor) {
|
|
8
8
|
if (!(instance instanceof Constructor)) {
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
function
|
|
13
|
-
|
|
14
|
-
Object.defineProperty(obj, key, {
|
|
15
|
-
value: value,
|
|
16
|
-
enumerable: true,
|
|
17
|
-
configurable: true,
|
|
18
|
-
writable: true
|
|
19
|
-
});
|
|
20
|
-
} else {
|
|
21
|
-
obj[key] = value;
|
|
22
|
-
}
|
|
23
|
-
return obj;
|
|
24
|
-
}
|
|
25
|
-
function _get_prototype_of(o) {
|
|
26
|
-
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
12
|
+
function _getPrototypeOf(o) {
|
|
13
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
27
14
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
28
15
|
};
|
|
29
|
-
return
|
|
16
|
+
return _getPrototypeOf(o);
|
|
30
17
|
}
|
|
31
18
|
function _inherits(subClass, superClass) {
|
|
32
19
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -39,26 +26,26 @@ function _inherits(subClass, superClass) {
|
|
|
39
26
|
configurable: true
|
|
40
27
|
}
|
|
41
28
|
});
|
|
42
|
-
if (superClass)
|
|
29
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
43
30
|
}
|
|
44
|
-
function
|
|
45
|
-
if (call && (
|
|
31
|
+
function _possibleConstructorReturn(self, call) {
|
|
32
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
46
33
|
return call;
|
|
47
34
|
}
|
|
48
|
-
return
|
|
35
|
+
return _assertThisInitialized(self);
|
|
49
36
|
}
|
|
50
|
-
function
|
|
51
|
-
|
|
37
|
+
function _setPrototypeOf(o, p) {
|
|
38
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
52
39
|
o.__proto__ = p;
|
|
53
40
|
return o;
|
|
54
41
|
};
|
|
55
|
-
return
|
|
42
|
+
return _setPrototypeOf(o, p);
|
|
56
43
|
}
|
|
57
|
-
function
|
|
44
|
+
var _typeof = function(obj) {
|
|
58
45
|
"@swc/helpers - typeof";
|
|
59
46
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
60
|
-
}
|
|
61
|
-
function
|
|
47
|
+
};
|
|
48
|
+
function _isNativeReflectConstruct() {
|
|
62
49
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
63
50
|
if (Reflect.construct.sham) return false;
|
|
64
51
|
if (typeof Proxy === "function") return true;
|
|
@@ -69,46 +56,40 @@ function _is_native_reflect_construct() {
|
|
|
69
56
|
return false;
|
|
70
57
|
}
|
|
71
58
|
}
|
|
72
|
-
function
|
|
73
|
-
var hasNativeReflectConstruct =
|
|
59
|
+
function _createSuper(Derived) {
|
|
60
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
74
61
|
return function _createSuperInternal() {
|
|
75
|
-
var Super =
|
|
62
|
+
var Super = _getPrototypeOf(Derived), result;
|
|
76
63
|
if (hasNativeReflectConstruct) {
|
|
77
|
-
var NewTarget =
|
|
64
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
78
65
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
79
66
|
} else {
|
|
80
67
|
result = Super.apply(this, arguments);
|
|
81
68
|
}
|
|
82
|
-
return
|
|
69
|
+
return _possibleConstructorReturn(this, result);
|
|
83
70
|
};
|
|
84
71
|
}
|
|
85
|
-
import { BaseProps } from
|
|
86
|
-
export var TextareaProps = /*#__PURE__*/ function(
|
|
72
|
+
import { BaseProps } from './base';
|
|
73
|
+
export var TextareaProps = /*#__PURE__*/ function(BaseProps1) {
|
|
87
74
|
"use strict";
|
|
88
|
-
_inherits(TextareaProps,
|
|
89
|
-
var _super =
|
|
75
|
+
_inherits(TextareaProps, BaseProps1);
|
|
76
|
+
var _super = _createSuper(TextareaProps);
|
|
90
77
|
function TextareaProps(props) {
|
|
91
|
-
|
|
78
|
+
_classCallCheck(this, TextareaProps);
|
|
92
79
|
var _this;
|
|
93
80
|
_this = _super.call(this, props);
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
var
|
|
101
|
-
_this.
|
|
102
|
-
var
|
|
103
|
-
_this.
|
|
104
|
-
var
|
|
105
|
-
_this.
|
|
106
|
-
var _props_maxRows;
|
|
107
|
-
_this.maxRows = (_props_maxRows = props === null || props === void 0 ? void 0 : props.maxRows) !== null && _props_maxRows !== void 0 ? _props_maxRows : "";
|
|
108
|
-
var _props_minRows;
|
|
109
|
-
_this.minRows = (_props_minRows = props === null || props === void 0 ? void 0 : props.minRows) !== null && _props_minRows !== void 0 ? _props_minRows : "";
|
|
110
|
-
var _props_i18n;
|
|
111
|
-
_this.i18n = (_props_i18n = props === null || props === void 0 ? void 0 : props.i18n) !== null && _props_i18n !== void 0 ? _props_i18n : false;
|
|
81
|
+
var ref;
|
|
82
|
+
_this.maxLength = (ref = props === null || props === void 0 ? void 0 : props.maxLength) !== null && ref !== void 0 ? ref : '';
|
|
83
|
+
var ref1;
|
|
84
|
+
_this.minLength = (ref1 = props === null || props === void 0 ? void 0 : props.minLength) !== null && ref1 !== void 0 ? ref1 : '';
|
|
85
|
+
var ref2;
|
|
86
|
+
_this.placeholder = (ref2 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref2 !== void 0 ? ref2 : '';
|
|
87
|
+
var ref3;
|
|
88
|
+
_this.maxRows = (ref3 = props === null || props === void 0 ? void 0 : props.maxRows) !== null && ref3 !== void 0 ? ref3 : '';
|
|
89
|
+
var ref4;
|
|
90
|
+
_this.minRows = (ref4 = props === null || props === void 0 ? void 0 : props.minRows) !== null && ref4 !== void 0 ? ref4 : '';
|
|
91
|
+
var ref5;
|
|
92
|
+
_this.i18n = (ref5 = props === null || props === void 0 ? void 0 : props.i18n) !== null && ref5 !== void 0 ? ref5 : false;
|
|
112
93
|
return _this;
|
|
113
94
|
}
|
|
114
95
|
return TextareaProps;
|
package/dist/esm/schema/group.js
CHANGED
|
@@ -1,34 +1,16 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _classCallCheck(instance, Constructor) {
|
|
2
2
|
if (!(instance instanceof Constructor)) {
|
|
3
3
|
throw new TypeError("Cannot call a class as a function");
|
|
4
4
|
}
|
|
5
5
|
}
|
|
6
|
-
function _define_property(obj, key, value) {
|
|
7
|
-
if (key in obj) {
|
|
8
|
-
Object.defineProperty(obj, key, {
|
|
9
|
-
value: value,
|
|
10
|
-
enumerable: true,
|
|
11
|
-
configurable: true,
|
|
12
|
-
writable: true
|
|
13
|
-
});
|
|
14
|
-
} else {
|
|
15
|
-
obj[key] = value;
|
|
16
|
-
}
|
|
17
|
-
return obj;
|
|
18
|
-
}
|
|
19
6
|
export var Group = function Group(schema) {
|
|
20
7
|
"use strict";
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
_define_property(this, "fromId", void 0);
|
|
28
|
-
var _schema_title;
|
|
29
|
-
this.title = (_schema_title = schema.title) !== null && _schema_title !== void 0 ? _schema_title : "";
|
|
30
|
-
var _schema_required;
|
|
31
|
-
this.required = (_schema_required = schema.required) !== null && _schema_required !== void 0 ? _schema_required : false;
|
|
8
|
+
_classCallCheck(this, Group);
|
|
9
|
+
this.type = 'group';
|
|
10
|
+
var _title;
|
|
11
|
+
this.title = (_title = schema.title) !== null && _title !== void 0 ? _title : '';
|
|
12
|
+
var _required;
|
|
13
|
+
this.required = (_required = schema.required) !== null && _required !== void 0 ? _required : false;
|
|
32
14
|
this.items = schema.items;
|
|
33
15
|
this.tips = schema.tips;
|
|
34
16
|
};
|
package/dist/esm/schema/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from './setting';
|
|
2
|
+
export * from './group';
|
|
3
|
+
export * from './tab';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _classCallCheck(instance, Constructor) {
|
|
2
2
|
if (!(instance instanceof Constructor)) {
|
|
3
3
|
throw new TypeError("Cannot call a class as a function");
|
|
4
4
|
}
|
|
@@ -12,61 +12,38 @@ function _defineProperties(target, props) {
|
|
|
12
12
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
16
16
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
17
17
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
18
18
|
return Constructor;
|
|
19
19
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
Object.defineProperty(obj, key, {
|
|
23
|
-
value: value,
|
|
24
|
-
enumerable: true,
|
|
25
|
-
configurable: true,
|
|
26
|
-
writable: true
|
|
27
|
-
});
|
|
28
|
-
} else {
|
|
29
|
-
obj[key] = value;
|
|
30
|
-
}
|
|
31
|
-
return obj;
|
|
32
|
-
}
|
|
33
|
-
import { BaseProps } from "../props/base";
|
|
34
|
-
import { error, isPlainObject, noop } from "@byteluck-fe/model-driven-shared";
|
|
20
|
+
import { BaseProps } from '../props/base';
|
|
21
|
+
import { error, isPlainObject, noop } from '@byteluck-fe/model-driven-shared';
|
|
35
22
|
export var Setting = /*#__PURE__*/ function() {
|
|
36
23
|
"use strict";
|
|
37
24
|
function Setting(schema) {
|
|
38
|
-
|
|
39
|
-
_define_property(this, "type", void 0);
|
|
40
|
-
_define_property(this, "label", void 0);
|
|
41
|
-
_define_property(this, "key", void 0);
|
|
42
|
-
_define_property(this, "component", void 0);
|
|
43
|
-
_define_property(this, "effect", void 0);
|
|
44
|
-
_define_property(this, "scopeEffect", void 0);
|
|
45
|
-
_define_property(this, "defaultValue", void 0);
|
|
46
|
-
_define_property(this, "validator", void 0);
|
|
47
|
-
_define_property(this, "props", void 0);
|
|
48
|
-
_define_property(this, "effectKeys", void 0);
|
|
25
|
+
_classCallCheck(this, Setting);
|
|
49
26
|
this.type = schema.type;
|
|
50
27
|
this.label = schema.label;
|
|
51
28
|
this.key = schema.key;
|
|
52
29
|
this.component = schema.component;
|
|
53
|
-
var
|
|
54
|
-
this.effect = (
|
|
55
|
-
var
|
|
56
|
-
this.scopeEffect = (
|
|
30
|
+
var _effect;
|
|
31
|
+
this.effect = (_effect = schema.effect) !== null && _effect !== void 0 ? _effect : {};
|
|
32
|
+
var _scopeEffect;
|
|
33
|
+
this.scopeEffect = (_scopeEffect = schema.scopeEffect) !== null && _scopeEffect !== void 0 ? _scopeEffect : noop;
|
|
57
34
|
this.defaultValue = schema.defaultValue;
|
|
58
35
|
this.validator = schema.validator;
|
|
59
|
-
var
|
|
60
|
-
this.props = (
|
|
36
|
+
var _props;
|
|
37
|
+
this.props = (_props = schema.props) !== null && _props !== void 0 ? _props : new BaseProps();
|
|
61
38
|
// private init
|
|
62
39
|
this.effectKeys = Object.keys(this.effect);
|
|
63
40
|
}
|
|
64
|
-
|
|
41
|
+
_createClass(Setting, [
|
|
65
42
|
{
|
|
66
43
|
key: "filterEffects",
|
|
67
44
|
value: function filterEffects(effectKey) {
|
|
68
45
|
var _this = this;
|
|
69
|
-
if (effectKey ===
|
|
46
|
+
if (effectKey === '') {
|
|
70
47
|
return Object.values(this.effect);
|
|
71
48
|
}
|
|
72
49
|
return this.effectKeys.filter(function(key) {
|
package/dist/esm/schema/tab.js
CHANGED
|
@@ -1,30 +1,15 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _classCallCheck(instance, Constructor) {
|
|
2
2
|
if (!(instance instanceof Constructor)) {
|
|
3
3
|
throw new TypeError("Cannot call a class as a function");
|
|
4
4
|
}
|
|
5
5
|
}
|
|
6
|
-
function _define_property(obj, key, value) {
|
|
7
|
-
if (key in obj) {
|
|
8
|
-
Object.defineProperty(obj, key, {
|
|
9
|
-
value: value,
|
|
10
|
-
enumerable: true,
|
|
11
|
-
configurable: true,
|
|
12
|
-
writable: true
|
|
13
|
-
});
|
|
14
|
-
} else {
|
|
15
|
-
obj[key] = value;
|
|
16
|
-
}
|
|
17
|
-
return obj;
|
|
18
|
-
}
|
|
19
6
|
export function isTabSchema(schema) {
|
|
20
|
-
return
|
|
7
|
+
return 'type' in schema && schema.type === 'tab';
|
|
21
8
|
}
|
|
22
9
|
export var Tab = function Tab(schema) {
|
|
23
10
|
"use strict";
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
_define_property(this, "title", void 0);
|
|
27
|
-
_define_property(this, "items", void 0);
|
|
11
|
+
_classCallCheck(this, Tab);
|
|
12
|
+
this.type = 'tab';
|
|
28
13
|
this.title = schema.title;
|
|
29
14
|
this.items = schema.items;
|
|
30
15
|
};
|