@vmscloud/moz-ui-chart-vue 0.1.1

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.
@@ -0,0 +1,27 @@
1
+ import { ChartCategory, ChartChrome, ChartDefinition, ChartType, MozEChart } from '@vmscloud/moz-ui-chart-core';
2
+ /**
3
+ * `EChart` 컴포넌트가 expose 하는 표면 — 레거시 `IEChartExposed`(Ref 를 벗긴 IEChartProvide) 와 같은 이름을 유지한다.
4
+ * 값은 getter/setter 로 코어(ChartChrome)에 직접 닿는다: `chart.value.chartOptionModal = true` 가 설정 모달을 연다.
5
+ */
6
+ export interface IEChartExposed {
7
+ chartCategorySource: MozEChart['chartCategorySource'] | undefined;
8
+ chartTypeSource: MozEChart['chartTypeSource'] | undefined;
9
+ mozEChart: MozEChart | undefined;
10
+ /** echarts 인스턴스 (레거시 chartRef.chart 에 해당) */
11
+ chartRef: unknown;
12
+ state: ChartDefinition | undefined;
13
+ chartCategory: ChartCategory | undefined;
14
+ chartType: ChartType | undefined;
15
+ useZoomX: boolean;
16
+ useZoomY: boolean;
17
+ chartOptionModal: boolean;
18
+ chartFilterModel: boolean;
19
+ initializeDefinition: (initial?: boolean) => void;
20
+ chartKey: string | undefined;
21
+ customYAxisForSeriesType: string[];
22
+ clickChartPopup: () => void;
23
+ useChartPopupIcon: boolean | undefined;
24
+ onClickLegend: (params: any) => void;
25
+ /** 신규 — 코어 크롬 인스턴스 (고급 사용) */
26
+ chrome: ChartChrome | null;
27
+ }
package/package.json ADDED
@@ -0,0 +1,95 @@
1
+ {
2
+ "name": "@vmscloud/moz-ui-chart-vue",
3
+ "version": "0.1.1",
4
+ "license": "ISC",
5
+ "type": "module",
6
+ "sideEffects": [
7
+ "*.css",
8
+ "*.scss",
9
+ "./dist/index.js",
10
+ "./dist/index.cjs"
11
+ ],
12
+ "main": "./dist/index.cjs",
13
+ "module": "./dist/index.js",
14
+ "types": "./dist/index.d.ts",
15
+ "files": [
16
+ "dist"
17
+ ],
18
+ "publishConfig": {
19
+ "registry": "https://registry.npmjs.org",
20
+ "access": "public"
21
+ },
22
+ "description": "Vue 3 adapter for @vmscloud/moz-ui-chart-core (EChart, EChartPopup, ViewDefinitionPanel)",
23
+ "exports": {
24
+ ".": {
25
+ "types": "./dist/index.d.ts",
26
+ "import": "./dist/index.js",
27
+ "require": "./dist/index.cjs"
28
+ },
29
+ "./echarts": {
30
+ "types": "./dist/echarts.d.ts",
31
+ "import": "./dist/echarts.js",
32
+ "require": "./dist/echarts.cjs"
33
+ },
34
+ "./echarts/core": {
35
+ "types": "./dist/echarts.core.d.ts",
36
+ "import": "./dist/echarts.core.js",
37
+ "require": "./dist/echarts.core.cjs"
38
+ },
39
+ "./echarts/charts": {
40
+ "types": "./dist/echarts.charts.d.ts",
41
+ "import": "./dist/echarts.charts.js",
42
+ "require": "./dist/echarts.charts.cjs"
43
+ },
44
+ "./echarts/components": {
45
+ "types": "./dist/echarts.components.d.ts",
46
+ "import": "./dist/echarts.components.js",
47
+ "require": "./dist/echarts.components.cjs"
48
+ },
49
+ "./echarts/renderers": {
50
+ "types": "./dist/echarts.renderers.d.ts",
51
+ "import": "./dist/echarts.renderers.js",
52
+ "require": "./dist/echarts.renderers.cjs"
53
+ },
54
+ "./echarts-stat": {
55
+ "types": "./dist/echarts-stat.d.ts",
56
+ "import": "./dist/echarts-stat.js",
57
+ "require": "./dist/echarts-stat.cjs"
58
+ },
59
+ "./style.css": "./dist/style.css",
60
+ "./package.json": "./package.json"
61
+ },
62
+ "repository": {
63
+ "type": "git",
64
+ "url": "https://github.com/vmscloud/mozart-cloud.git",
65
+ "directory": "components/frontend/moz-ui-chart-vue"
66
+ },
67
+ "dependencies": {
68
+ "@vmscloud/moz-ui-chart-core": "^0.1.0"
69
+ },
70
+ "peerDependencies": {
71
+ "vue": ">=3.4.0",
72
+ "vue-router": ">=4.2.0"
73
+ },
74
+ "devDependencies": {
75
+ "@vitejs/plugin-vue": "^5.0.3",
76
+ "@vue/test-utils": "^2.4.3",
77
+ "jsdom": "^27.4.0",
78
+ "sass": "^1.77.0",
79
+ "terser": "^5.44.0",
80
+ "typescript": "^5.3.3",
81
+ "vite": "^6.3.3",
82
+ "vite-plugin-dts": "^4.0.3",
83
+ "vitest": "^3.0.9",
84
+ "vue": "^3.4.14",
85
+ "vue-router": "^4.2.5",
86
+ "vue-tsc": "^2.0.0"
87
+ },
88
+ "scripts": {
89
+ "build": "vue-tsc --noEmit && vite build --config vite.config.lib.ts",
90
+ "build:lib": "vite build --config vite.config.lib.ts",
91
+ "typecheck": "vue-tsc --noEmit",
92
+ "test": "vitest run",
93
+ "test:watch": "vitest"
94
+ }
95
+ }