@byteluck-fe/model-driven-controls 6.1.0-1-beta.1 → 6.1.0-1-beta.2
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/Dashboard/designer.js +4 -0
- package/dist/esm/baseControls/Dashboard/property.js +10 -1
- package/dist/esm/columnControls/EmployeeColumn/designer.js +1 -1
- package/dist/esm/columnControls/TimescopeColumn/designer.js +2 -1
- package/dist/esm/columnControls/TimescopeColumn/property.js +4 -1
- package/dist/esm/columnControls/TimestampColumn/designer.js +2 -1
- package/dist/esm/columnControls/TimestampColumn/property.js +4 -1
- package/dist/esm/formControls/Address/runtime.js +1 -1
- package/dist/esm/formControls/Amount/property.js +1 -1
- package/dist/esm/formControls/DatePicker/designer.js +4 -2
- package/dist/esm/formControls/DatePicker/property.js +3 -0
- package/dist/esm/formControls/DateRange/designer.js +4 -2
- package/dist/esm/formControls/DateRange/property.js +4 -1
- package/dist/esm/formControls/Department2/designer.js +1 -1
- package/dist/esm/formControls/Employee2/designer.js +1 -1
- package/dist/esm/formControls/Image/designer.js +4 -12
- package/dist/esm/formControls/Image/property.js +36 -2
- package/dist/esm/formControls/Image/runtime.js +16 -10
- package/dist/esm/formControls/Number/property.js +1 -1
- package/dist/esm/formControls/OrganizationSelection/designer.js +1 -1
- package/dist/esm/formControls/Tree/designer.js +2 -2
- package/dist/esm/framework.js +8 -0
- package/dist/esm/layoutControls/AdvancedContainer/Setting.js +3 -3
- package/dist/esm/layoutControls/GridTableColumn/designer.js +1 -1
- package/dist/esm/layoutControls/Page/Setting.js +5 -5
- package/dist/esm/layoutControls/PositioningContainer/Setting.js +3 -3
- package/dist/esm/layoutControls/Step/designer.js +166 -0
- package/dist/esm/layoutControls/Step/index.js +11 -0
- package/dist/esm/layoutControls/Step/property.js +103 -0
- package/dist/esm/layoutControls/Step/runtime.js +112 -0
- package/dist/esm/layoutControls/Step/types.js +0 -0
- package/dist/esm/layoutControls/StepPane/designer.js +130 -0
- package/dist/esm/layoutControls/StepPane/index.js +11 -0
- package/dist/esm/layoutControls/StepPane/property.js +123 -0
- package/dist/esm/layoutControls/StepPane/runtime.js +112 -0
- package/dist/esm/layoutControls/StepPane/types.js +0 -0
- package/dist/esm/layoutControls/index.js +2 -0
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/Dashboard/property.d.ts +5 -1
- package/dist/types/columnControls/TimescopeColumn/property.d.ts +1 -0
- package/dist/types/columnControls/TimestampColumn/property.d.ts +1 -0
- package/dist/types/formControls/DatePicker/property.d.ts +1 -0
- package/dist/types/formControls/DateRange/property.d.ts +1 -0
- package/dist/types/formControls/Image/designer.d.ts +2 -0
- package/dist/types/formControls/Image/property.d.ts +3 -0
- package/dist/types/formControls/Image/runtime.d.ts +2 -0
- package/dist/types/framework.d.ts +8 -0
- package/dist/types/layoutControls/Step/designer.d.ts +14 -0
- package/dist/types/layoutControls/Step/index.d.ts +12 -0
- package/dist/types/layoutControls/Step/property.d.ts +11 -0
- package/dist/types/layoutControls/Step/runtime.d.ts +9 -0
- package/dist/types/layoutControls/Step/types.d.ts +0 -0
- package/dist/types/layoutControls/StepPane/designer.d.ts +14 -0
- package/dist/types/layoutControls/StepPane/index.d.ts +12 -0
- package/dist/types/layoutControls/StepPane/property.d.ts +14 -0
- package/dist/types/layoutControls/StepPane/runtime.d.ts +9 -0
- package/dist/types/layoutControls/StepPane/types.d.ts +0 -0
- package/dist/types/layoutControls/index.d.ts +2 -0
- package/dist/types/type.d.ts +3 -1
- package/package.json +5 -5
|
@@ -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 { RuntimeLayoutControl } from '@byteluck-fe/model-driven-core';
|
|
88
|
+
import StepPaneControlProperty from './property';
|
|
89
|
+
var StepPaneControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
|
|
90
|
+
"use strict";
|
|
91
|
+
_inherits(StepPaneControl, RuntimeLayoutControl);
|
|
92
|
+
function StepPaneControl(props) {
|
|
93
|
+
_class_call_check(this, StepPaneControl);
|
|
94
|
+
var _this;
|
|
95
|
+
_this = _call_super(this, StepPaneControl, [
|
|
96
|
+
props
|
|
97
|
+
]), _define_property(_this, "props", void 0);
|
|
98
|
+
_this.props = new StepPaneControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
99
|
+
return _this;
|
|
100
|
+
}
|
|
101
|
+
_create_class(StepPaneControl, null, [
|
|
102
|
+
{
|
|
103
|
+
key: "controlType",
|
|
104
|
+
get: function get() {
|
|
105
|
+
return 'step-pane';
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
]);
|
|
109
|
+
return StepPaneControl;
|
|
110
|
+
}(RuntimeLayoutControl);
|
|
111
|
+
export default StepPaneControl;
|
|
112
|
+
export { StepPaneControl as RuntimeStepPaneControl };
|
|
File without changes
|
|
@@ -17,3 +17,5 @@ export { default as AdvancedContainer } from './AdvancedContainer';
|
|
|
17
17
|
export { default as PositioningContainer } from './PositioningContainer';
|
|
18
18
|
export { default as Position } from './Position';
|
|
19
19
|
export { default as ActionBar } from './ActionBar';
|
|
20
|
+
export { default as Step } from './Step';
|
|
21
|
+
export { default as StepPane } from './StepPane';
|