@dfsj/components 3.1.2 → 3.2.0
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/CHANGELOG.md +24 -3
- package/dist/components/Boards/src/Boards.vue2.js +9 -6
- package/dist/components/DatePicker/src/composables/use-range-picker.d.ts +1 -1
- package/dist/components/DatePicker/src/index.d.ts +10 -3
- package/dist/components/Descriptions/index.d.ts +3 -0
- package/dist/components/Descriptions/src/Descriptions.vue.d.ts +97 -0
- package/dist/components/Descriptions/src/Descriptions.vue.js +5 -0
- package/dist/components/Descriptions/src/Descriptions.vue2.js +151 -0
- package/dist/components/Descriptions/src/types/index.d.ts +17 -0
- package/dist/components/Form/src/Form.vue.d.ts +5 -15
- package/dist/components/Form/src/Form.vue2.js +16 -17
- package/dist/components/Modal/src/hooks/useTimeout.js +1 -1
- package/dist/components/Modal/src/utils/index.js +1 -1
- package/dist/components/NodeAxis/src/AbstractNodeProvider.js +1 -2
- package/dist/components/NodeAxis/src/CanvasNodeRender.js +7 -9
- package/dist/components/NodeAxis/src/NodeModel.js +1 -2
- package/dist/components/NodeAxis/src/NodeRender.js +1 -2
- package/dist/components/NodeAxis/src/NullLayerProvider.js +4 -5
- package/dist/components/NodeAxis/src/NullProvider.js +4 -5
- package/dist/components/NodeAxis/src/TimerNodePlayer.js +1 -2
- package/dist/components/Stateful/src/State.js +18 -21
- package/dist/components/Stateful/src/Stateful.vue.d.ts +9 -31
- package/dist/components/Stateful/src/props.d.ts +4 -14
- package/dist/components/Table/src/Table.vue.d.ts +1 -1
- package/dist/components/Table/src/Table.vue2.js +3 -3
- package/dist/components/UnifyChart/index.d.ts +3 -1
- package/dist/components/UnifyChart/src/ChartToolbox.vue.d.ts +7 -25
- package/dist/components/UnifyChart/src/UnifyChart.vue.d.ts +37 -127
- package/dist/components/UnifyChart/src/UnifyChart.vue2.js +5 -1
- package/dist/components/UnifyChart/src/hooks/useLoader.js +93 -0
- package/dist/components/UnifyChart/src/hooks/useRender.js +2 -1
- package/dist/components/UnifyChart/src/props.d.ts +21 -77
- package/dist/components/Video/src/VideoPlayerToolbar.vue2.js +1 -1
- package/dist/components/Video/src/abstract/VideoControl.js +16 -18
- package/dist/components/Video/src/control/DaHua.js +4 -6
- package/dist/components/Video/src/control/Hikvision.js +7 -9
- package/dist/components/Video/src/control/VideoFactory.js +1 -2
- package/dist/components/Visual/src/BufferLayerPlayer.js +1 -2
- package/dist/components/Visual/src/ResolvableLayerProvider.js +14 -16
- package/dist/components/Visual/src/resolvers/IntervalResolver.js +1 -2
- package/dist/components/Visual/src/utils/NodeMath.js +1 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -0
- package/dist/index.min.css +3 -3
- package/dist/node_modules/.pnpm/@vueuse_core@10.11.0_vue@3.4.31_typescript@5.2.2_/node_modules/@vueuse/core/index.js +447 -0
- package/dist/node_modules/.pnpm/@vueuse_shared@10.11.0_vue@3.4.31_typescript@5.2.2_/node_modules/@vueuse/shared/index.js +44 -0
- package/dist/utils/propTypes.js +2 -3
- package/package.json +8 -6
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
2
2
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
3
3
|
import _possibleConstructorReturn from '@babel/runtime/helpers/possibleConstructorReturn';
|
|
4
|
-
import _assertThisInitialized from '@babel/runtime/helpers/assertThisInitialized';
|
|
5
4
|
import _get from '@babel/runtime/helpers/get';
|
|
6
5
|
import _getPrototypeOf from '@babel/runtime/helpers/getPrototypeOf';
|
|
7
6
|
import _inherits from '@babel/runtime/helpers/inherits';
|
|
@@ -13,7 +12,6 @@ import * as zrender from 'zrender/dist/zrender';
|
|
|
13
12
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
14
13
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
15
14
|
var CanvasNodeRender = /*#__PURE__*/function (_NodeRender) {
|
|
16
|
-
_inherits(CanvasNodeRender, _NodeRender);
|
|
17
15
|
function CanvasNodeRender() {
|
|
18
16
|
var _this;
|
|
19
17
|
_classCallCheck(this, CanvasNodeRender);
|
|
@@ -21,14 +19,15 @@ var CanvasNodeRender = /*#__PURE__*/function (_NodeRender) {
|
|
|
21
19
|
args[_key] = arguments[_key];
|
|
22
20
|
}
|
|
23
21
|
_this = _callSuper(this, CanvasNodeRender, [].concat(args));
|
|
24
|
-
_defineProperty(
|
|
25
|
-
_defineProperty(
|
|
26
|
-
_defineProperty(
|
|
27
|
-
_defineProperty(
|
|
28
|
-
_defineProperty(
|
|
22
|
+
_defineProperty(_this, "canvas", void 0);
|
|
23
|
+
_defineProperty(_this, "context", void 0);
|
|
24
|
+
_defineProperty(_this, "overlay", void 0);
|
|
25
|
+
_defineProperty(_this, "cache", {});
|
|
26
|
+
_defineProperty(_this, "zrender", void 0);
|
|
29
27
|
return _this;
|
|
30
28
|
}
|
|
31
|
-
|
|
29
|
+
_inherits(CanvasNodeRender, _NodeRender);
|
|
30
|
+
return _createClass(CanvasNodeRender, [{
|
|
32
31
|
key: "onMouseMove",
|
|
33
32
|
value: function onMouseMove(event) {
|
|
34
33
|
var _event$event, _event$event2;
|
|
@@ -394,7 +393,6 @@ var CanvasNodeRender = /*#__PURE__*/function (_NodeRender) {
|
|
|
394
393
|
this.accept.call(this, index);
|
|
395
394
|
}
|
|
396
395
|
}]);
|
|
397
|
-
return CanvasNodeRender;
|
|
398
396
|
}(NodeRender);
|
|
399
397
|
|
|
400
398
|
export { CanvasNodeRender as default };
|
|
@@ -26,7 +26,7 @@ var NodeModel = /*#__PURE__*/function () {
|
|
|
26
26
|
this.options = assign({}, render, options);
|
|
27
27
|
this.update(NullProvider.SINGLETON);
|
|
28
28
|
}
|
|
29
|
-
_createClass(NodeModel, [{
|
|
29
|
+
return _createClass(NodeModel, [{
|
|
30
30
|
key: "update",
|
|
31
31
|
value: function update(provider) {
|
|
32
32
|
var _options$node;
|
|
@@ -58,7 +58,6 @@ var NodeModel = /*#__PURE__*/function () {
|
|
|
58
58
|
this.nodes.length = 0;
|
|
59
59
|
}
|
|
60
60
|
}]);
|
|
61
|
-
return NodeModel;
|
|
62
61
|
}();
|
|
63
62
|
|
|
64
63
|
export { NodeModel as default };
|
|
@@ -11,7 +11,7 @@ var NodeRender = /*#__PURE__*/function () {
|
|
|
11
11
|
_defineProperty(this, "accept", void 0);
|
|
12
12
|
this.model = model;
|
|
13
13
|
}
|
|
14
|
-
_createClass(NodeRender, [{
|
|
14
|
+
return _createClass(NodeRender, [{
|
|
15
15
|
key: "initialize",
|
|
16
16
|
value: function initialize(container, accept) {
|
|
17
17
|
this.container = container;
|
|
@@ -24,7 +24,6 @@ var NodeRender = /*#__PURE__*/function () {
|
|
|
24
24
|
this.dataChange();
|
|
25
25
|
}
|
|
26
26
|
}]);
|
|
27
|
-
return NodeRender;
|
|
28
27
|
}();
|
|
29
28
|
|
|
30
29
|
export { NodeRender as default };
|
|
@@ -2,12 +2,12 @@ import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
|
2
2
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
3
3
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _NullLayerProvider;
|
|
6
6
|
var NullLayerProvider = /*#__PURE__*/function () {
|
|
7
7
|
function NullLayerProvider() {
|
|
8
8
|
_classCallCheck(this, NullLayerProvider);
|
|
9
9
|
}
|
|
10
|
-
_createClass(NullLayerProvider, [{
|
|
10
|
+
return _createClass(NullLayerProvider, [{
|
|
11
11
|
key: "color",
|
|
12
12
|
value: function color(index) {
|
|
13
13
|
return "";
|
|
@@ -80,9 +80,8 @@ var NullLayerProvider = /*#__PURE__*/function () {
|
|
|
80
80
|
key: "yield",
|
|
81
81
|
value: function _yield() {}
|
|
82
82
|
}]);
|
|
83
|
-
return NullLayerProvider;
|
|
84
83
|
}();
|
|
85
|
-
|
|
86
|
-
_defineProperty(NullLayerProvider, "SINGLETON", Object.seal(new
|
|
84
|
+
_NullLayerProvider = NullLayerProvider;
|
|
85
|
+
_defineProperty(NullLayerProvider, "SINGLETON", Object.seal(new _NullLayerProvider()));
|
|
87
86
|
|
|
88
87
|
export { NullLayerProvider as default };
|
|
@@ -2,12 +2,12 @@ import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
|
2
2
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
3
3
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _NullProvider;
|
|
6
6
|
var NullProvider = /*#__PURE__*/function () {
|
|
7
7
|
function NullProvider() {
|
|
8
8
|
_classCallCheck(this, NullProvider);
|
|
9
9
|
}
|
|
10
|
-
_createClass(NullProvider, [{
|
|
10
|
+
return _createClass(NullProvider, [{
|
|
11
11
|
key: "count",
|
|
12
12
|
get: function get() {
|
|
13
13
|
return 0;
|
|
@@ -59,9 +59,8 @@ var NullProvider = /*#__PURE__*/function () {
|
|
|
59
59
|
key: "dispose",
|
|
60
60
|
value: function dispose() {}
|
|
61
61
|
}]);
|
|
62
|
-
return NullProvider;
|
|
63
62
|
}();
|
|
64
|
-
|
|
65
|
-
_defineProperty(NullProvider, "SINGLETON", Object.freeze(new
|
|
63
|
+
_NullProvider = NullProvider;
|
|
64
|
+
_defineProperty(NullProvider, "SINGLETON", Object.freeze(new _NullProvider()));
|
|
66
65
|
|
|
67
66
|
export { NullProvider as default };
|
|
@@ -17,7 +17,7 @@ var TimerNodePlayer = /*#__PURE__*/function () {
|
|
|
17
17
|
this.renderer = renderer;
|
|
18
18
|
this.options = assign({}, play, options);
|
|
19
19
|
}
|
|
20
|
-
_createClass(TimerNodePlayer, [{
|
|
20
|
+
return _createClass(TimerNodePlayer, [{
|
|
21
21
|
key: "playing",
|
|
22
22
|
get: function get() {
|
|
23
23
|
return this.timer != null;
|
|
@@ -144,7 +144,6 @@ var TimerNodePlayer = /*#__PURE__*/function () {
|
|
|
144
144
|
this.renderer.render(index);
|
|
145
145
|
}
|
|
146
146
|
}]);
|
|
147
|
-
return TimerNodePlayer;
|
|
148
147
|
}();
|
|
149
148
|
|
|
150
149
|
export { TimerNodePlayer as default };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
2
2
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
3
|
-
import _classPrivateFieldGet from '@babel/runtime/helpers/classPrivateFieldGet';
|
|
4
3
|
import { toRaw, ref } from 'vue';
|
|
5
4
|
|
|
6
|
-
function _classPrivateFieldInitSpec(
|
|
7
|
-
function _checkPrivateRedeclaration(
|
|
5
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
6
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
7
|
+
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
|
8
|
+
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
|
8
9
|
var StateEnum;
|
|
9
10
|
(function (StateEnum) {
|
|
10
11
|
StateEnum[StateEnum["NONE"] = 0] = "NONE";
|
|
@@ -19,48 +20,45 @@ var State = /*#__PURE__*/function () {
|
|
|
19
20
|
function State() {
|
|
20
21
|
var init = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : StateEnum.NONE;
|
|
21
22
|
_classCallCheck(this, State);
|
|
22
|
-
_classPrivateFieldInitSpec(this, _state,
|
|
23
|
-
|
|
24
|
-
value: ref()
|
|
25
|
-
});
|
|
26
|
-
_classPrivateFieldGet(this, _state).value = init;
|
|
23
|
+
_classPrivateFieldInitSpec(this, _state, ref());
|
|
24
|
+
_classPrivateFieldGet(_state, this).value = init;
|
|
27
25
|
}
|
|
28
|
-
_createClass(State, [{
|
|
26
|
+
return _createClass(State, [{
|
|
29
27
|
key: "loading",
|
|
30
28
|
value: function loading() {
|
|
31
|
-
_classPrivateFieldGet(
|
|
29
|
+
_classPrivateFieldGet(_state, this).value = StateEnum.LOADING;
|
|
32
30
|
}
|
|
33
31
|
}, {
|
|
34
32
|
key: "error",
|
|
35
33
|
value: function error() {
|
|
36
|
-
_classPrivateFieldGet(
|
|
34
|
+
_classPrivateFieldGet(_state, this).value = StateEnum.ERRORED;
|
|
37
35
|
}
|
|
38
36
|
}, {
|
|
39
37
|
key: "merge",
|
|
40
38
|
value: function merge(state) {
|
|
41
|
-
_classPrivateFieldGet(
|
|
39
|
+
_classPrivateFieldGet(_state, this).value |= state;
|
|
42
40
|
}
|
|
43
41
|
}, {
|
|
44
42
|
key: "remove",
|
|
45
43
|
value: function remove(state) {
|
|
46
|
-
_classPrivateFieldGet(
|
|
44
|
+
_classPrivateFieldGet(_state, this).value &= ~(_classPrivateFieldGet(_state, this).value & state);
|
|
47
45
|
}
|
|
48
46
|
}, {
|
|
49
47
|
key: "completed",
|
|
50
48
|
value: function completed(isEmpty) {
|
|
51
|
-
_classPrivateFieldGet(
|
|
52
|
-
_classPrivateFieldGet(
|
|
53
|
-
_classPrivateFieldGet(
|
|
49
|
+
_classPrivateFieldGet(_state, this).value &= ~(_classPrivateFieldGet(_state, this).value & StateEnum.LOADING);
|
|
50
|
+
_classPrivateFieldGet(_state, this).value |= StateEnum.COMPLETED;
|
|
51
|
+
_classPrivateFieldGet(_state, this).value |= isEmpty ? StateEnum.EMPTY : StateEnum.FULL;
|
|
54
52
|
}
|
|
55
53
|
}, {
|
|
56
54
|
key: "isLoading",
|
|
57
55
|
get: function get() {
|
|
58
|
-
return (_classPrivateFieldGet(
|
|
56
|
+
return (_classPrivateFieldGet(_state, this).value & StateEnum.LOADING) === StateEnum.LOADING;
|
|
59
57
|
}
|
|
60
58
|
}, {
|
|
61
59
|
key: "state",
|
|
62
60
|
get: function get() {
|
|
63
|
-
return !!_classPrivateFieldGet(
|
|
61
|
+
return !!_classPrivateFieldGet(_state, this);
|
|
64
62
|
}
|
|
65
63
|
}, {
|
|
66
64
|
key: "stringify",
|
|
@@ -68,15 +66,14 @@ var State = /*#__PURE__*/function () {
|
|
|
68
66
|
if (toRaw(this).isLoading) {
|
|
69
67
|
return 'loading';
|
|
70
68
|
}
|
|
71
|
-
if (_classPrivateFieldGet(
|
|
69
|
+
if (_classPrivateFieldGet(_state, this).value & StateEnum.ERRORED) {
|
|
72
70
|
return 'error';
|
|
73
71
|
}
|
|
74
|
-
if (_classPrivateFieldGet(
|
|
72
|
+
if (_classPrivateFieldGet(_state, this).value & StateEnum.EMPTY) {
|
|
75
73
|
return 'empty';
|
|
76
74
|
}
|
|
77
75
|
}
|
|
78
76
|
}]);
|
|
79
|
-
return State;
|
|
80
77
|
}();
|
|
81
78
|
|
|
82
79
|
export { StateEnum, State as default };
|
|
@@ -1,44 +1,22 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
value: import("vue-types").VueTypeDef<string | number |
|
|
3
|
-
[key: string]: any;
|
|
4
|
-
}>;
|
|
2
|
+
value: import("vue-types").VueTypeDef<string | number | Record<string, any>>;
|
|
5
3
|
contentClass: StringConstructor;
|
|
6
|
-
states: import("vue-types").VueTypeValidableDef<{
|
|
7
|
-
|
|
8
|
-
}, import("vue-types/dist/types").ValidatorFunction<{
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
}>> & {
|
|
11
|
-
default: () => {
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
};
|
|
4
|
+
states: import("vue-types").VueTypeValidableDef<Record<string, any>, import("vue-types/dist/types").ValidatorFunction<Record<string, any>>> & {
|
|
5
|
+
default: () => Record<string, any>;
|
|
14
6
|
} & {
|
|
15
|
-
default: () =>
|
|
16
|
-
[key: string]: any;
|
|
17
|
-
};
|
|
7
|
+
default: () => Record<string, any>;
|
|
18
8
|
};
|
|
19
9
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
20
10
|
[key: string]: any;
|
|
21
11
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
-
value: import("vue-types").VueTypeDef<string | number |
|
|
23
|
-
[key: string]: any;
|
|
24
|
-
}>;
|
|
12
|
+
value: import("vue-types").VueTypeDef<string | number | Record<string, any>>;
|
|
25
13
|
contentClass: StringConstructor;
|
|
26
|
-
states: import("vue-types").VueTypeValidableDef<{
|
|
27
|
-
|
|
28
|
-
}, import("vue-types/dist/types").ValidatorFunction<{
|
|
29
|
-
[key: string]: any;
|
|
30
|
-
}>> & {
|
|
31
|
-
default: () => {
|
|
32
|
-
[key: string]: any;
|
|
33
|
-
};
|
|
14
|
+
states: import("vue-types").VueTypeValidableDef<Record<string, any>, import("vue-types/dist/types").ValidatorFunction<Record<string, any>>> & {
|
|
15
|
+
default: () => Record<string, any>;
|
|
34
16
|
} & {
|
|
35
|
-
default: () =>
|
|
36
|
-
[key: string]: any;
|
|
37
|
-
};
|
|
17
|
+
default: () => Record<string, any>;
|
|
38
18
|
};
|
|
39
19
|
}>>, {
|
|
40
|
-
states:
|
|
41
|
-
[key: string]: any;
|
|
42
|
-
};
|
|
20
|
+
states: Record<string, any>;
|
|
43
21
|
}, {}>;
|
|
44
22
|
export default _default;
|
|
@@ -19,21 +19,11 @@ export declare const DEFAULT_STATES: {
|
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
21
|
export declare const statefulProps: {
|
|
22
|
-
value: import("vue-types").VueTypeDef<string | number |
|
|
23
|
-
[key: string]: any;
|
|
24
|
-
}>;
|
|
22
|
+
value: import("vue-types").VueTypeDef<string | number | Record<string, any>>;
|
|
25
23
|
contentClass: StringConstructor;
|
|
26
|
-
states: import("vue-types").VueTypeValidableDef<{
|
|
27
|
-
|
|
28
|
-
}, import("vue-types/dist/types").ValidatorFunction<{
|
|
29
|
-
[key: string]: any;
|
|
30
|
-
}>> & {
|
|
31
|
-
default: () => {
|
|
32
|
-
[key: string]: any;
|
|
33
|
-
};
|
|
24
|
+
states: import("vue-types").VueTypeValidableDef<Record<string, any>, import("vue-types/dist/types").ValidatorFunction<Record<string, any>>> & {
|
|
25
|
+
default: () => Record<string, any>;
|
|
34
26
|
} & {
|
|
35
|
-
default: () =>
|
|
36
|
-
[key: string]: any;
|
|
37
|
-
};
|
|
27
|
+
default: () => Record<string, any>;
|
|
38
28
|
};
|
|
39
29
|
};
|
|
@@ -521,11 +521,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
521
521
|
scrollbarAlwaysOn: boolean;
|
|
522
522
|
flexible: boolean;
|
|
523
523
|
showOverflowTooltip: boolean;
|
|
524
|
+
columns: TableColumn[];
|
|
524
525
|
align: string;
|
|
525
526
|
headerAlign: string;
|
|
526
527
|
reserveSelection: boolean;
|
|
527
528
|
showAction: boolean;
|
|
528
|
-
columns: TableColumn[];
|
|
529
529
|
pagination: Pagination;
|
|
530
530
|
reserveIndex: boolean;
|
|
531
531
|
customContent: boolean;
|
|
@@ -9,9 +9,9 @@ import { getSlot } from '../../../utils/tsxHelper.js';
|
|
|
9
9
|
import './components/TableActions.vue.js';
|
|
10
10
|
import script$1 from './components/TableActions.vue2.js';
|
|
11
11
|
|
|
12
|
-
function _createForOfIteratorHelper(
|
|
13
|
-
function _unsupportedIterableToArray(
|
|
14
|
-
function _arrayLikeToArray(
|
|
12
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e ) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
13
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
14
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
15
15
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
16
16
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17
17
|
function _isSlot(s) {
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * from "./src/props";
|
|
2
2
|
import UnifyChart from "./src/UnifyChart.vue";
|
|
3
3
|
import ChartToolbox from "./src/ChartToolbox.vue";
|
|
4
|
-
|
|
4
|
+
import { useLoader } from "./src/hooks/useLoader";
|
|
5
|
+
import { useRender } from "./src/hooks/useRender";
|
|
6
|
+
export { UnifyChart, ChartToolbox, useLoader, useRender };
|
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
instance: import("vue-types").VueTypeValidableDef<{
|
|
3
|
-
|
|
4
|
-
}, import("vue-types/dist/types").ValidatorFunction<{
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
}>> & {
|
|
7
|
-
default: () => {
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
};
|
|
2
|
+
instance: import("vue-types").VueTypeValidableDef<Record<string, any>, import("vue-types/dist/types").ValidatorFunction<Record<string, any>>> & {
|
|
3
|
+
default: () => Record<string, any>;
|
|
10
4
|
} & {
|
|
11
|
-
default: () =>
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
};
|
|
5
|
+
default: () => Record<string, any>;
|
|
14
6
|
};
|
|
15
7
|
iconSize: import("vue-types").VueTypeValidableDef<number, import("vue-types/dist/types").ValidatorFunction<number>> & {
|
|
16
8
|
default: number;
|
|
@@ -27,18 +19,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
19
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
28
20
|
[key: string]: any;
|
|
29
21
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
-
instance: import("vue-types").VueTypeValidableDef<{
|
|
31
|
-
|
|
32
|
-
}, import("vue-types/dist/types").ValidatorFunction<{
|
|
33
|
-
[key: string]: any;
|
|
34
|
-
}>> & {
|
|
35
|
-
default: () => {
|
|
36
|
-
[key: string]: any;
|
|
37
|
-
};
|
|
22
|
+
instance: import("vue-types").VueTypeValidableDef<Record<string, any>, import("vue-types/dist/types").ValidatorFunction<Record<string, any>>> & {
|
|
23
|
+
default: () => Record<string, any>;
|
|
38
24
|
} & {
|
|
39
|
-
default: () =>
|
|
40
|
-
[key: string]: any;
|
|
41
|
-
};
|
|
25
|
+
default: () => Record<string, any>;
|
|
42
26
|
};
|
|
43
27
|
iconSize: import("vue-types").VueTypeValidableDef<number, import("vue-types/dist/types").ValidatorFunction<number>> & {
|
|
44
28
|
default: number;
|
|
@@ -53,9 +37,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
53
37
|
};
|
|
54
38
|
toolbox: () => any[];
|
|
55
39
|
}>>, {
|
|
56
|
-
instance:
|
|
57
|
-
[key: string]: any;
|
|
58
|
-
};
|
|
40
|
+
instance: Record<string, any>;
|
|
59
41
|
iconSize: number;
|
|
60
42
|
toggleTable: (...args: any[]) => any;
|
|
61
43
|
toggleStatistic: (...args: any[]) => any;
|
|
@@ -1,29 +1,13 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
data: import("vue-types").VueTypeValidableDef<{
|
|
3
|
-
|
|
4
|
-
}, import("vue-types/dist/types").ValidatorFunction<{
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
}>> & {
|
|
7
|
-
default: () => {
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
};
|
|
2
|
+
data: import("vue-types").VueTypeValidableDef<Record<string, any>, import("vue-types/dist/types").ValidatorFunction<Record<string, any>>> & {
|
|
3
|
+
default: () => Record<string, any>;
|
|
10
4
|
} & {
|
|
11
|
-
default: () =>
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
options: import("vue-types").VueTypeValidableDef<{
|
|
16
|
-
[key: string]: any;
|
|
17
|
-
}, import("vue-types/dist/types").ValidatorFunction<{
|
|
18
|
-
[key: string]: any;
|
|
19
|
-
}>> & {
|
|
20
|
-
default: () => {
|
|
21
|
-
[key: string]: any;
|
|
22
|
-
};
|
|
5
|
+
default: () => Record<string, any>;
|
|
6
|
+
};
|
|
7
|
+
options: import("vue-types").VueTypeValidableDef<Record<string, any>, import("vue-types/dist/types").ValidatorFunction<Record<string, any>>> & {
|
|
8
|
+
default: () => Record<string, any>;
|
|
23
9
|
} & {
|
|
24
|
-
default: () =>
|
|
25
|
-
[key: string]: any;
|
|
26
|
-
};
|
|
10
|
+
default: () => Record<string, any>;
|
|
27
11
|
};
|
|
28
12
|
width: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
29
13
|
default: string;
|
|
@@ -35,78 +19,38 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
19
|
} & {
|
|
36
20
|
default: string;
|
|
37
21
|
};
|
|
38
|
-
target: import("vue-types").VueTypeValidableDef<{
|
|
39
|
-
|
|
40
|
-
}, import("vue-types/dist/types").ValidatorFunction<{
|
|
41
|
-
[key: string]: any;
|
|
42
|
-
}>> & {
|
|
43
|
-
default: () => {
|
|
44
|
-
[key: string]: any;
|
|
45
|
-
};
|
|
22
|
+
target: import("vue-types").VueTypeValidableDef<Record<string, any>, import("vue-types/dist/types").ValidatorFunction<Record<string, any>>> & {
|
|
23
|
+
default: () => Record<string, any>;
|
|
46
24
|
} & {
|
|
47
|
-
default: () =>
|
|
48
|
-
[key: string]: any;
|
|
49
|
-
};
|
|
25
|
+
default: () => Record<string, any>;
|
|
50
26
|
};
|
|
51
27
|
convert: () => import("./props").Convert;
|
|
52
|
-
datasource: import("vue-types").VueTypeValidableDef<{
|
|
53
|
-
|
|
54
|
-
}, import("vue-types/dist/types").ValidatorFunction<{
|
|
55
|
-
[key: string]: any;
|
|
56
|
-
}>> & {
|
|
57
|
-
default: () => {
|
|
58
|
-
[key: string]: any;
|
|
59
|
-
};
|
|
28
|
+
datasource: import("vue-types").VueTypeValidableDef<Record<string, any>, import("vue-types/dist/types").ValidatorFunction<Record<string, any>>> & {
|
|
29
|
+
default: () => Record<string, any>;
|
|
60
30
|
} & {
|
|
61
|
-
default: () =>
|
|
62
|
-
[key: string]: any;
|
|
63
|
-
};
|
|
31
|
+
default: () => Record<string, any>;
|
|
64
32
|
};
|
|
65
33
|
toolbox: () => any[];
|
|
66
34
|
chartHooks: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").ValidatorFunction<(...args: any[]) => any>> & {
|
|
67
35
|
default: (...args: any[]) => any;
|
|
68
36
|
};
|
|
69
|
-
stateful: import("vue-types").VueTypeValidableDef<{
|
|
70
|
-
|
|
71
|
-
}, import("vue-types/dist/types").ValidatorFunction<{
|
|
72
|
-
[key: string]: any;
|
|
73
|
-
}>> & {
|
|
74
|
-
default: () => {
|
|
75
|
-
[key: string]: any;
|
|
76
|
-
};
|
|
37
|
+
stateful: import("vue-types").VueTypeValidableDef<Record<string, any>, import("vue-types/dist/types").ValidatorFunction<Record<string, any>>> & {
|
|
38
|
+
default: () => Record<string, any>;
|
|
77
39
|
} & {
|
|
78
|
-
default: () =>
|
|
79
|
-
[key: string]: any;
|
|
80
|
-
};
|
|
40
|
+
default: () => Record<string, any>;
|
|
81
41
|
};
|
|
82
42
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
83
43
|
[key: string]: any;
|
|
84
44
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
85
|
-
data: import("vue-types").VueTypeValidableDef<{
|
|
86
|
-
|
|
87
|
-
}, import("vue-types/dist/types").ValidatorFunction<{
|
|
88
|
-
[key: string]: any;
|
|
89
|
-
}>> & {
|
|
90
|
-
default: () => {
|
|
91
|
-
[key: string]: any;
|
|
92
|
-
};
|
|
45
|
+
data: import("vue-types").VueTypeValidableDef<Record<string, any>, import("vue-types/dist/types").ValidatorFunction<Record<string, any>>> & {
|
|
46
|
+
default: () => Record<string, any>;
|
|
93
47
|
} & {
|
|
94
|
-
default: () =>
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
options: import("vue-types").VueTypeValidableDef<{
|
|
99
|
-
[key: string]: any;
|
|
100
|
-
}, import("vue-types/dist/types").ValidatorFunction<{
|
|
101
|
-
[key: string]: any;
|
|
102
|
-
}>> & {
|
|
103
|
-
default: () => {
|
|
104
|
-
[key: string]: any;
|
|
105
|
-
};
|
|
48
|
+
default: () => Record<string, any>;
|
|
49
|
+
};
|
|
50
|
+
options: import("vue-types").VueTypeValidableDef<Record<string, any>, import("vue-types/dist/types").ValidatorFunction<Record<string, any>>> & {
|
|
51
|
+
default: () => Record<string, any>;
|
|
106
52
|
} & {
|
|
107
|
-
default: () =>
|
|
108
|
-
[key: string]: any;
|
|
109
|
-
};
|
|
53
|
+
default: () => Record<string, any>;
|
|
110
54
|
};
|
|
111
55
|
width: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
112
56
|
default: string;
|
|
@@ -118,68 +62,34 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
62
|
} & {
|
|
119
63
|
default: string;
|
|
120
64
|
};
|
|
121
|
-
target: import("vue-types").VueTypeValidableDef<{
|
|
122
|
-
|
|
123
|
-
}, import("vue-types/dist/types").ValidatorFunction<{
|
|
124
|
-
[key: string]: any;
|
|
125
|
-
}>> & {
|
|
126
|
-
default: () => {
|
|
127
|
-
[key: string]: any;
|
|
128
|
-
};
|
|
65
|
+
target: import("vue-types").VueTypeValidableDef<Record<string, any>, import("vue-types/dist/types").ValidatorFunction<Record<string, any>>> & {
|
|
66
|
+
default: () => Record<string, any>;
|
|
129
67
|
} & {
|
|
130
|
-
default: () =>
|
|
131
|
-
[key: string]: any;
|
|
132
|
-
};
|
|
68
|
+
default: () => Record<string, any>;
|
|
133
69
|
};
|
|
134
70
|
convert: () => import("./props").Convert;
|
|
135
|
-
datasource: import("vue-types").VueTypeValidableDef<{
|
|
136
|
-
|
|
137
|
-
}, import("vue-types/dist/types").ValidatorFunction<{
|
|
138
|
-
[key: string]: any;
|
|
139
|
-
}>> & {
|
|
140
|
-
default: () => {
|
|
141
|
-
[key: string]: any;
|
|
142
|
-
};
|
|
71
|
+
datasource: import("vue-types").VueTypeValidableDef<Record<string, any>, import("vue-types/dist/types").ValidatorFunction<Record<string, any>>> & {
|
|
72
|
+
default: () => Record<string, any>;
|
|
143
73
|
} & {
|
|
144
|
-
default: () =>
|
|
145
|
-
[key: string]: any;
|
|
146
|
-
};
|
|
74
|
+
default: () => Record<string, any>;
|
|
147
75
|
};
|
|
148
76
|
toolbox: () => any[];
|
|
149
77
|
chartHooks: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").ValidatorFunction<(...args: any[]) => any>> & {
|
|
150
78
|
default: (...args: any[]) => any;
|
|
151
79
|
};
|
|
152
|
-
stateful: import("vue-types").VueTypeValidableDef<{
|
|
153
|
-
|
|
154
|
-
}, import("vue-types/dist/types").ValidatorFunction<{
|
|
155
|
-
[key: string]: any;
|
|
156
|
-
}>> & {
|
|
157
|
-
default: () => {
|
|
158
|
-
[key: string]: any;
|
|
159
|
-
};
|
|
80
|
+
stateful: import("vue-types").VueTypeValidableDef<Record<string, any>, import("vue-types/dist/types").ValidatorFunction<Record<string, any>>> & {
|
|
81
|
+
default: () => Record<string, any>;
|
|
160
82
|
} & {
|
|
161
|
-
default: () =>
|
|
162
|
-
[key: string]: any;
|
|
163
|
-
};
|
|
83
|
+
default: () => Record<string, any>;
|
|
164
84
|
};
|
|
165
85
|
}>>, {
|
|
166
|
-
data:
|
|
167
|
-
|
|
168
|
-
};
|
|
169
|
-
options: {
|
|
170
|
-
[key: string]: any;
|
|
171
|
-
};
|
|
86
|
+
data: Record<string, any>;
|
|
87
|
+
options: Record<string, any>;
|
|
172
88
|
width: string;
|
|
173
89
|
height: string;
|
|
174
|
-
target:
|
|
175
|
-
|
|
176
|
-
};
|
|
177
|
-
datasource: {
|
|
178
|
-
[key: string]: any;
|
|
179
|
-
};
|
|
90
|
+
target: Record<string, any>;
|
|
91
|
+
datasource: Record<string, any>;
|
|
180
92
|
chartHooks: (...args: any[]) => any;
|
|
181
|
-
stateful:
|
|
182
|
-
[key: string]: any;
|
|
183
|
-
};
|
|
93
|
+
stateful: Record<string, any>;
|
|
184
94
|
}, {}>;
|
|
185
95
|
export default _default;
|