@visactor/vchart-extension 1.13.5-alpha.6 → 1.13.5-alpha.7
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/build/index.js +0 -675
- package/build/index.min.js +2 -2
- package/cjs/components/bar-link/index.js +1 -2
- package/cjs/components/series-label/type.js +2 -1
- package/cjs/index.d.ts +0 -1
- package/cjs/index.js +3 -3
- package/cjs/index.js.map +1 -1
- package/esm/components/bar-link/index.js +1 -2
- package/esm/components/series-label/type.js +2 -1
- package/esm/index.d.ts +0 -1
- package/esm/index.js +0 -2
- package/esm/index.js.map +1 -1
- package/package.json +4 -5
- package/cjs/charts/ranking-list/constant.d.ts +0 -2
- package/cjs/charts/ranking-list/constant.js +0 -74
- package/cjs/charts/ranking-list/constant.js.map +0 -1
- package/cjs/charts/ranking-list/interface.d.ts +0 -73
- package/cjs/charts/ranking-list/interface.js +0 -6
- package/cjs/charts/ranking-list/interface.js.map +0 -1
- package/cjs/charts/ranking-list/ranking-list-transformer.d.ts +0 -458
- package/cjs/charts/ranking-list/ranking-list-transformer.js +0 -376
- package/cjs/charts/ranking-list/ranking-list-transformer.js.map +0 -1
- package/cjs/charts/ranking-list/ranking-list.d.ts +0 -16
- package/cjs/charts/ranking-list/ranking-list.js +0 -34
- package/cjs/charts/ranking-list/ranking-list.js.map +0 -1
- package/cjs/charts/ranking-list/utils.d.ts +0 -7
- package/cjs/charts/ranking-list/utils.js +0 -51
- package/cjs/charts/ranking-list/utils.js.map +0 -1
- package/esm/charts/ranking-list/constant.d.ts +0 -2
- package/esm/charts/ranking-list/constant.js +0 -70
- package/esm/charts/ranking-list/constant.js.map +0 -1
- package/esm/charts/ranking-list/interface.d.ts +0 -73
- package/esm/charts/ranking-list/interface.js +0 -2
- package/esm/charts/ranking-list/interface.js.map +0 -1
- package/esm/charts/ranking-list/ranking-list-transformer.d.ts +0 -458
- package/esm/charts/ranking-list/ranking-list-transformer.js +0 -376
- package/esm/charts/ranking-list/ranking-list-transformer.js.map +0 -1
- package/esm/charts/ranking-list/ranking-list.d.ts +0 -16
- package/esm/charts/ranking-list/ranking-list.js +0 -27
- package/esm/charts/ranking-list/ranking-list.js.map +0 -1
- package/esm/charts/ranking-list/utils.d.ts +0 -7
- package/esm/charts/ranking-list/utils.js +0 -41
- package/esm/charts/ranking-list/utils.js.map +0 -1
package/cjs/index.d.ts
CHANGED
package/cjs/index.js
CHANGED
|
@@ -17,6 +17,6 @@ var __createBinding = this && this.__createBinding || (Object.create ? function(
|
|
|
17
17
|
|
|
18
18
|
Object.defineProperty(exports, "__esModule", {
|
|
19
19
|
value: !0
|
|
20
|
-
}), __exportStar(require("./charts/ranking-bar/ranking-bar"), exports), __exportStar(require("./charts/
|
|
21
|
-
__exportStar(require("./
|
|
22
|
-
__exportStar(require("./components/
|
|
20
|
+
}), __exportStar(require("./charts/ranking-bar/ranking-bar"), exports), __exportStar(require("./charts/conversion-funnel"), exports),
|
|
21
|
+
__exportStar(require("./components/series-break"), exports), __exportStar(require("./components/bar-link"), exports),
|
|
22
|
+
__exportStar(require("./components/series-label"), exports);
|
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,
|
|
1
|
+
{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,6DAA2C;AAE3C,4DAA0C;AAC1C,wDAAsC;AACtC,4DAA0C","file":"index.js","sourcesContent":["export * from './charts/ranking-bar/ranking-bar';\nexport * from './charts/conversion-funnel';\n\nexport * from './components/series-break';\nexport * from './components/bar-link';\nexport * from './components/series-label';\n"]}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { };
|
|
1
|
+
export { };
|
|
2
|
+
//# sourceMappingURL=type.js.map
|
package/esm/index.d.ts
CHANGED
package/esm/index.js
CHANGED
package/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,
|
|
1
|
+
{"version":3,"sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAE3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC","file":"index.js","sourcesContent":["export * from './charts/ranking-bar/ranking-bar';\nexport * from './charts/conversion-funnel';\n\nexport * from './components/series-break';\nexport * from './components/bar-link';\nexport * from './components/series-label';\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visactor/vchart-extension",
|
|
3
|
-
"version": "1.13.5-alpha.
|
|
3
|
+
"version": "1.13.5-alpha.7",
|
|
4
4
|
"description": "vchart extension package, including extension plugins and components",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "cjs/index.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@visactor/vgrammar-core": "0.15.5",
|
|
19
19
|
"@visactor/vutils": "~0.19.3",
|
|
20
20
|
"@visactor/vdataset": "~0.19.3",
|
|
21
|
-
"@visactor/vchart": "1.13.5-alpha.
|
|
21
|
+
"@visactor/vchart": "1.13.5-alpha.7"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@rushstack/eslint-patch": "~1.1.4",
|
|
@@ -42,10 +42,9 @@
|
|
|
42
42
|
"rollup-plugin-bundle-size": "1.0.3",
|
|
43
43
|
"rollup-plugin-sizes": "1.0.5",
|
|
44
44
|
"rollup": "3.20.5",
|
|
45
|
-
"lil-gui": "^0.17.0",
|
|
46
45
|
"@internal/bundler": "0.0.1",
|
|
47
|
-
"@internal/
|
|
48
|
-
"@internal/
|
|
46
|
+
"@internal/ts-config": "0.0.1",
|
|
47
|
+
"@internal/eslint-config": "0.0.1"
|
|
49
48
|
},
|
|
50
49
|
"publishConfig": {
|
|
51
50
|
"access": "public",
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: !0
|
|
5
|
-
}), exports.defaultSpec = void 0, exports.defaultSpec = {
|
|
6
|
-
width: 400,
|
|
7
|
-
height: 225,
|
|
8
|
-
labelLayout: "top",
|
|
9
|
-
bar: {
|
|
10
|
-
height: 100,
|
|
11
|
-
style: {
|
|
12
|
-
cornerRadius: 5
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
barBackground: {
|
|
16
|
-
type: "rect",
|
|
17
|
-
style: {
|
|
18
|
-
fill: "rgba(255,255,255,0.1)",
|
|
19
|
-
cornerRadius: 5
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
rankingIcon: {
|
|
23
|
-
visible: !0,
|
|
24
|
-
style: {
|
|
25
|
-
fill: "rgba(253,253,253,0.5)",
|
|
26
|
-
size: 12
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
nameLabel: {
|
|
30
|
-
visible: !0,
|
|
31
|
-
style: {
|
|
32
|
-
fontSize: 20,
|
|
33
|
-
fontWeight: "normal",
|
|
34
|
-
fill: "rgba(255,255,255,0.7)",
|
|
35
|
-
textBaseline: "middle"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
orderLabel: {
|
|
39
|
-
visible: !0,
|
|
40
|
-
style: {
|
|
41
|
-
fontSize: 20,
|
|
42
|
-
fontWeight: "normal",
|
|
43
|
-
fill: "rgba(255,255,255,0.7)",
|
|
44
|
-
textBaseline: "middle"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
valueLabel: {
|
|
48
|
-
visible: !0,
|
|
49
|
-
style: {
|
|
50
|
-
fontSize: 14,
|
|
51
|
-
fontWeight: "normal",
|
|
52
|
-
fill: "rgba(255,255,255,1)",
|
|
53
|
-
textBaseline: "middle"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
pageSize: 5,
|
|
57
|
-
scrollSize: 1,
|
|
58
|
-
animationAppear: {
|
|
59
|
-
enable: !0,
|
|
60
|
-
type: "grow",
|
|
61
|
-
duration: 1e3,
|
|
62
|
-
easing: "linear"
|
|
63
|
-
},
|
|
64
|
-
animationUpdate: {
|
|
65
|
-
enable: !0,
|
|
66
|
-
type: "grow",
|
|
67
|
-
duration: 1e3,
|
|
68
|
-
easing: "linear"
|
|
69
|
-
},
|
|
70
|
-
animationNormal: {
|
|
71
|
-
interval: 1e3
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
//# sourceMappingURL=constant.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["charts/ranking-list/constant.ts"],"names":[],"mappings":";;;AAEa,QAAA,WAAW,GAAkE;IACxF,KAAK,EAAE,GAAG;IACV,MAAM,EAAE,GAAG;IACX,WAAW,EAAE,KAAK;IAClB,GAAG,EAAE;QACH,MAAM,EAAE,GAAG;QACX,KAAK,EAAE;YACL,YAAY,EAAE,CAAC;SAChB;KACF;IACD,aAAa,EAAE;QACb,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE;YACL,IAAI,EAAE,uBAAuB;YAC7B,YAAY,EAAE,CAAC;SAChB;KACF;IACD,WAAW,EAAE;QACX,OAAO,EAAE,IAAI;QACb,KAAK,EAAE;YACL,IAAI,EAAE,uBAAuB;YAC7B,IAAI,EAAE,EAAE;SACT;KACF;IACD,SAAS,EAAE;QACT,OAAO,EAAE,IAAI;QACb,KAAK,EAAE;YAEL,QAAQ,EAAE,EAAE;YACZ,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,uBAAuB;YAC7B,YAAY,EAAE,QAAQ;SACvB;KACF;IACD,UAAU,EAAE;QACV,OAAO,EAAE,IAAI;QACb,KAAK,EAAE;YAEL,QAAQ,EAAE,EAAE;YACZ,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,uBAAuB;YAC7B,YAAY,EAAE,QAAQ;SACvB;KACF;IACD,UAAU,EAAE;QACV,OAAO,EAAE,IAAI;QACb,KAAK,EAAE;YAEL,QAAQ,EAAE,EAAE;YACZ,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,qBAAqB;YAC3B,YAAY,EAAE,QAAQ;SACvB;KACF;IACD,QAAQ,EAAE,CAAC;IACX,UAAU,EAAE,CAAC;IACb,eAAe,EAAE;QACf,MAAM,EAAE,IAAI;QACZ,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,QAAQ;KACjB;IACD,eAAe,EAAE;QACf,MAAM,EAAE,IAAI;QACZ,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,QAAQ;KACjB;IACD,eAAe,EAAE;QAGf,QAAQ,EAAE,IAAI;KAEf;CACF,CAAC","file":"constant.js","sourcesContent":["import { IRankingListSpec } from './interface';\n\nexport const defaultSpec: Omit<IRankingListSpec, 'type' | 'data' | 'xField' | 'yField'> = {\n width: 400,\n height: 225,\n labelLayout: 'top',\n bar: {\n height: 100,\n style: {\n cornerRadius: 5\n }\n },\n barBackground: {\n type: 'rect',\n style: {\n fill: 'rgba(255,255,255,0.1)',\n cornerRadius: 5\n }\n },\n rankingIcon: {\n visible: true,\n style: {\n fill: 'rgba(253,253,253,0.5)',\n size: 12\n }\n },\n nameLabel: {\n visible: true,\n style: {\n // fontFamily: ''\n fontSize: 20,\n fontWeight: 'normal',\n fill: 'rgba(255,255,255,0.7)',\n textBaseline: 'middle'\n }\n },\n orderLabel: {\n visible: true,\n style: {\n // fontFamily: ''\n fontSize: 20,\n fontWeight: 'normal',\n fill: 'rgba(255,255,255,0.7)',\n textBaseline: 'middle'\n }\n },\n valueLabel: {\n visible: true,\n style: {\n // fontFamily: ''\n fontSize: 14,\n fontWeight: 'normal',\n fill: 'rgba(255,255,255,1)',\n textBaseline: 'middle'\n }\n },\n pageSize: 5,\n scrollSize: 1,\n animationAppear: {\n enable: true,\n type: 'grow',\n duration: 1000,\n easing: 'linear'\n },\n animationUpdate: {\n enable: true,\n type: 'grow',\n duration: 1000,\n easing: 'linear'\n },\n animationNormal: {\n // enable: true,\n // type: 'scroll',\n interval: 1000\n // easing: 'linear'\n }\n};\n"]}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { IMarkStateSpec, IMarkStateStyleSpec } from '@visactor/vchart';
|
|
2
|
-
import { StateValue } from '@visactor/vchart/src/compile/mark';
|
|
3
|
-
import { Datum } from '@visactor/vchart/src/typings/common';
|
|
4
|
-
import { ITextGraphicAttribute, ISymbolGraphicAttribute, IRectGraphicAttribute, EasingType } from '@visactor/vrender-core';
|
|
5
|
-
type IRankingListData = Datum[];
|
|
6
|
-
export interface IRankingListSpec {
|
|
7
|
-
type: 'rankingList';
|
|
8
|
-
data: IRankingListData;
|
|
9
|
-
xField: string;
|
|
10
|
-
yField: string;
|
|
11
|
-
width?: number;
|
|
12
|
-
height?: number;
|
|
13
|
-
labelLayout?: 'top' | 'bothEnd';
|
|
14
|
-
bar?: {
|
|
15
|
-
height?: number;
|
|
16
|
-
style?: IRectGraphicAttribute;
|
|
17
|
-
state?: Record<StateValue, IMarkStateSpec<IRectGraphicAttribute> | IMarkStateStyleSpec<IRectGraphicAttribute>>;
|
|
18
|
-
};
|
|
19
|
-
barBackground?: {
|
|
20
|
-
visible?: boolean;
|
|
21
|
-
type?: string;
|
|
22
|
-
style?: ISymbolGraphicAttribute | IRectGraphicAttribute;
|
|
23
|
-
state?: Record<StateValue, IMarkStateSpec<ISymbolGraphicAttribute | IRectGraphicAttribute> | IMarkStateStyleSpec<ISymbolGraphicAttribute | IRectGraphicAttribute>>;
|
|
24
|
-
};
|
|
25
|
-
rankingIcon?: {
|
|
26
|
-
visible?: boolean;
|
|
27
|
-
style?: ISymbolGraphicAttribute;
|
|
28
|
-
state?: Record<StateValue, IMarkStateSpec<ISymbolGraphicAttribute> | IMarkStateStyleSpec<ISymbolGraphicAttribute>>;
|
|
29
|
-
};
|
|
30
|
-
decorateHaloIcons?: [
|
|
31
|
-
{
|
|
32
|
-
visible?: boolean;
|
|
33
|
-
style?: ISymbolGraphicAttribute;
|
|
34
|
-
state?: Record<StateValue, IMarkStateSpec<ISymbolGraphicAttribute> | IMarkStateStyleSpec<ISymbolGraphicAttribute>>;
|
|
35
|
-
}
|
|
36
|
-
];
|
|
37
|
-
orderLabel?: {
|
|
38
|
-
visible?: boolean;
|
|
39
|
-
style?: ITextGraphicAttribute;
|
|
40
|
-
formatMethod?: (text: string, datum: Datum) => string;
|
|
41
|
-
state?: Record<StateValue, IMarkStateSpec<ITextGraphicAttribute> | IMarkStateStyleSpec<ITextGraphicAttribute>>;
|
|
42
|
-
};
|
|
43
|
-
nameLabel?: {
|
|
44
|
-
visible?: boolean;
|
|
45
|
-
style?: ITextGraphicAttribute;
|
|
46
|
-
formatMethod?: (text: string, datum: Datum) => string;
|
|
47
|
-
state?: Record<StateValue, IMarkStateSpec<ITextGraphicAttribute> | IMarkStateStyleSpec<ITextGraphicAttribute>>;
|
|
48
|
-
};
|
|
49
|
-
valueLabel?: {
|
|
50
|
-
visible?: boolean;
|
|
51
|
-
style?: ITextGraphicAttribute;
|
|
52
|
-
formatMethod?: (text: string, datum: Datum) => string;
|
|
53
|
-
state?: Record<StateValue, IMarkStateSpec<ITextGraphicAttribute> | IMarkStateStyleSpec<ITextGraphicAttribute>>;
|
|
54
|
-
};
|
|
55
|
-
pageSize?: number;
|
|
56
|
-
scrollSize?: number;
|
|
57
|
-
animationAppear?: {
|
|
58
|
-
enable?: boolean;
|
|
59
|
-
type?: 'grow';
|
|
60
|
-
duration?: number;
|
|
61
|
-
easing?: EasingType;
|
|
62
|
-
};
|
|
63
|
-
animationUpdate?: {
|
|
64
|
-
enable?: boolean;
|
|
65
|
-
type?: 'grow';
|
|
66
|
-
duration?: number;
|
|
67
|
-
easing?: EasingType;
|
|
68
|
-
};
|
|
69
|
-
animationNormal?: {
|
|
70
|
-
interval?: number;
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["charts/ranking-list/interface.ts"],"names":[],"mappings":"","file":"interface.js","sourcesContent":["import { IMarkStateSpec, IMarkStateStyleSpec } from '@visactor/vchart';\nimport { StateValue } from '@visactor/vchart/src/compile/mark';\nimport { Datum } from '@visactor/vchart/src/typings/common';\nimport {\n ITextGraphicAttribute,\n ISymbolGraphicAttribute,\n IRectGraphicAttribute,\n EasingType\n} from '@visactor/vrender-core';\n\ntype IRankingListData = Datum[];\n\nexport interface IRankingListSpec {\n /**\n * 图表类型\n */\n type: 'rankingList';\n /**\n * 数据\n */\n data: IRankingListData;\n /**\n * x轴字段\n */\n xField: string;\n /**\n * y轴字段\n */\n yField: string;\n width?: number;\n height?: number;\n /**\n * 标签布局\n * @default 'top'\n */\n labelLayout?: 'top' | 'bothEnd';\n /**\n * 柱样式\n */\n bar?: {\n height?: number;\n style?: IRectGraphicAttribute;\n state?: Record<StateValue, IMarkStateSpec<IRectGraphicAttribute> | IMarkStateStyleSpec<IRectGraphicAttribute>>;\n };\n /**\n * 柱图背景\n */\n barBackground?: {\n visible?: boolean;\n type?: string;\n style?: ISymbolGraphicAttribute | IRectGraphicAttribute;\n state?: Record<\n StateValue,\n | IMarkStateSpec<ISymbolGraphicAttribute | IRectGraphicAttribute>\n | IMarkStateStyleSpec<ISymbolGraphicAttribute | IRectGraphicAttribute>\n >;\n };\n /**\n * 排名图标\n */\n rankingIcon?: {\n visible?: boolean;\n style?: ISymbolGraphicAttribute;\n state?: Record<StateValue, IMarkStateSpec<ISymbolGraphicAttribute> | IMarkStateStyleSpec<ISymbolGraphicAttribute>>;\n };\n /**\n * 装饰图元\n */\n decorateHaloIcons?: [\n {\n visible?: boolean;\n // type?: 'circle' | 'square' | 'emptyCircle' | 'diamond' | 'halo' | 'concentric' | 'custom';\n style?: ISymbolGraphicAttribute;\n state?: Record<\n StateValue,\n IMarkStateSpec<ISymbolGraphicAttribute> | IMarkStateStyleSpec<ISymbolGraphicAttribute>\n >;\n }\n ];\n /**\n * 排名序号\n */\n orderLabel?: {\n visible?: boolean;\n style?: ITextGraphicAttribute;\n formatMethod?: (text: string, datum: Datum) => string;\n state?: Record<StateValue, IMarkStateSpec<ITextGraphicAttribute> | IMarkStateStyleSpec<ITextGraphicAttribute>>;\n };\n /**\n * 名称标签(yField对应的标签)\n */\n nameLabel?: {\n visible?: boolean;\n style?: ITextGraphicAttribute;\n formatMethod?: (text: string, datum: Datum) => string;\n state?: Record<StateValue, IMarkStateSpec<ITextGraphicAttribute> | IMarkStateStyleSpec<ITextGraphicAttribute>>;\n };\n /**\n * 值标签(xField对应的标签)\n */\n valueLabel?: {\n visible?: boolean;\n style?: ITextGraphicAttribute;\n formatMethod?: (text: string, datum: Datum) => string;\n state?: Record<StateValue, IMarkStateSpec<ITextGraphicAttribute> | IMarkStateStyleSpec<ITextGraphicAttribute>>;\n };\n /**\n * 每页行数\n */\n pageSize?: number;\n /**\n * 滚动行数\n */\n scrollSize?: number;\n /**\n * 排行榜动画效果的定义和普通图表不甚相同\n * animationNormal动画代表由player控制其更新数据时执行的滚动效果的动画, 本质上是由普通图表的 update + enter + exit 共同构成的\n */\n /**\n * 出现动画\n */\n animationAppear?: {\n /**\n * 是否开启\n * @default true\n */\n enable?: boolean;\n /**\n * 动画类型\n * @default 'grow'\n * 'grow' 伸展\n */\n type?: 'grow';\n /**\n * 动画时长\n */\n duration?: number;\n /**\n * 动画缓动效果\n */\n easing?: EasingType;\n };\n\n /**\n * 更新动画\n */\n animationUpdate?: {\n /**\n * 是否开启\n * @default true\n */\n enable?: boolean;\n /**\n * 动画类型\n * @default 'grow'\n * 'grow' 伸展\n */\n type?: 'grow';\n /**\n * 动画时长\n */\n duration?: number;\n /**\n * 动画缓动效果\n */\n easing?: EasingType;\n };\n\n /**\n * 循环滚动动画\n */\n animationNormal?: {\n // /**\n // * 是否开启\n // * @default true\n // */\n // enable?: boolean;\n // /**\n // * 动画类型\n // * @default 'scroll'\n // * 'scroll' 伸展\n // */\n // type?: 'scroll';\n /**\n * 动画间隔\n */\n interval?: number;\n };\n}\n"]}
|