yuyeon 0.3.6-beta.1 → 0.3.6-beta.3
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/style.css +1 -1
- package/dist/yuyeon.js +1420 -1398
- package/dist/yuyeon.umd.cjs +2 -2
- package/lib/components/table/composables/items.js.map +1 -1
- package/lib/components/table/composables/selection.js.map +1 -1
- package/lib/components/tree-view/YTreeView.js +8 -8
- package/lib/components/tree-view/YTreeView.js.map +1 -1
- package/lib/components/tree-view/YTreeView.scss +5 -0
- package/lib/components/tree-view/YTreeViewNode.js +34 -4
- package/lib/components/tree-view/YTreeViewNode.js.map +1 -1
- package/package.json +132 -132
- package/types/components/tree-view/YTreeView.d.ts +8 -0
- package/types/components/tree-view/YTreeViewNode.d.ts +18 -0
package/package.json
CHANGED
|
@@ -1,132 +1,132 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "yuyeon",
|
|
3
|
-
"version": "0.3.6-beta.
|
|
4
|
-
"keywords": [
|
|
5
|
-
"UI Library",
|
|
6
|
-
"Vue"
|
|
7
|
-
],
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "https://github.com/yuyeonUI/yuyeon",
|
|
11
|
-
"directory": "packages/yuyeon"
|
|
12
|
-
},
|
|
13
|
-
"author": "yeonyew",
|
|
14
|
-
"license": "Apache-2.0",
|
|
15
|
-
"files": [
|
|
16
|
-
"dist/",
|
|
17
|
-
"lib/",
|
|
18
|
-
"types/"
|
|
19
|
-
],
|
|
20
|
-
"type": "module",
|
|
21
|
-
"exports": {
|
|
22
|
-
".": {
|
|
23
|
-
"types": "./types/index.d.ts",
|
|
24
|
-
"default": "./lib/index.js"
|
|
25
|
-
},
|
|
26
|
-
"./styles/*": "./lib/styles/*",
|
|
27
|
-
"./locales": {
|
|
28
|
-
"types": "./types/locales/index.d.ts",
|
|
29
|
-
"default": "./lib/locales/index.js"
|
|
30
|
-
},
|
|
31
|
-
"./lib": {
|
|
32
|
-
"types": "./types/index.d.ts"
|
|
33
|
-
},
|
|
34
|
-
"./components": {
|
|
35
|
-
"types": "./types/components/index.d.ts",
|
|
36
|
-
"module": "./lib/components/index.js"
|
|
37
|
-
},
|
|
38
|
-
"./components/*": {
|
|
39
|
-
"module": "./lib/components/*/*.js",
|
|
40
|
-
"types": "./types/components/*/*.d.ts"
|
|
41
|
-
},
|
|
42
|
-
"./directives": {
|
|
43
|
-
"types": "./types/directives/index.d.ts",
|
|
44
|
-
"module": "./lib/directives/index.js"
|
|
45
|
-
},
|
|
46
|
-
"./directives/*": {
|
|
47
|
-
"module": "./lib/directives/*/*.js",
|
|
48
|
-
"types": "./types/directives/*/*.d.ts"
|
|
49
|
-
},
|
|
50
|
-
"./composables": {
|
|
51
|
-
"types": "./types/composables/index.d.ts",
|
|
52
|
-
"module": "./lib/composables/index.js",
|
|
53
|
-
"default": "./lib/composables/index.js"
|
|
54
|
-
},
|
|
55
|
-
"./util": {
|
|
56
|
-
"types": "./types/util/index.d.ts",
|
|
57
|
-
"module": "./lib/util/index.js"
|
|
58
|
-
},
|
|
59
|
-
"./shims": "./types/shims.d.ts",
|
|
60
|
-
"./types/*": "./types/*",
|
|
61
|
-
"./*": "./*"
|
|
62
|
-
},
|
|
63
|
-
"main": "lib/index.js",
|
|
64
|
-
"module": "lib/index.js",
|
|
65
|
-
"types": "types/index.d.ts",
|
|
66
|
-
"typesVersions": {
|
|
67
|
-
"*": {
|
|
68
|
-
"lib/index.mjs": [
|
|
69
|
-
"types/index.d.ts"
|
|
70
|
-
],
|
|
71
|
-
"*": [
|
|
72
|
-
"*",
|
|
73
|
-
"types/*",
|
|
74
|
-
"types/*.d.ts",
|
|
75
|
-
"types/*/index.d.ts"
|
|
76
|
-
]
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"@
|
|
88
|
-
"@babel
|
|
89
|
-
"@
|
|
90
|
-
"@
|
|
91
|
-
"@
|
|
92
|
-
"@
|
|
93
|
-
"@
|
|
94
|
-
"@
|
|
95
|
-
"@
|
|
96
|
-
"@
|
|
97
|
-
"@
|
|
98
|
-
"@
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"rollup": "^
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
"
|
|
120
|
-
"vue
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
"vue":
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
}
|
|
132
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "yuyeon",
|
|
3
|
+
"version": "0.3.6-beta.3",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"UI Library",
|
|
6
|
+
"Vue"
|
|
7
|
+
],
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/yuyeonUI/yuyeon",
|
|
11
|
+
"directory": "packages/yuyeon"
|
|
12
|
+
},
|
|
13
|
+
"author": "yeonyew",
|
|
14
|
+
"license": "Apache-2.0",
|
|
15
|
+
"files": [
|
|
16
|
+
"dist/",
|
|
17
|
+
"lib/",
|
|
18
|
+
"types/"
|
|
19
|
+
],
|
|
20
|
+
"type": "module",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./types/index.d.ts",
|
|
24
|
+
"default": "./lib/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./styles/*": "./lib/styles/*",
|
|
27
|
+
"./locales": {
|
|
28
|
+
"types": "./types/locales/index.d.ts",
|
|
29
|
+
"default": "./lib/locales/index.js"
|
|
30
|
+
},
|
|
31
|
+
"./lib": {
|
|
32
|
+
"types": "./types/index.d.ts"
|
|
33
|
+
},
|
|
34
|
+
"./components": {
|
|
35
|
+
"types": "./types/components/index.d.ts",
|
|
36
|
+
"module": "./lib/components/index.js"
|
|
37
|
+
},
|
|
38
|
+
"./components/*": {
|
|
39
|
+
"module": "./lib/components/*/*.js",
|
|
40
|
+
"types": "./types/components/*/*.d.ts"
|
|
41
|
+
},
|
|
42
|
+
"./directives": {
|
|
43
|
+
"types": "./types/directives/index.d.ts",
|
|
44
|
+
"module": "./lib/directives/index.js"
|
|
45
|
+
},
|
|
46
|
+
"./directives/*": {
|
|
47
|
+
"module": "./lib/directives/*/*.js",
|
|
48
|
+
"types": "./types/directives/*/*.d.ts"
|
|
49
|
+
},
|
|
50
|
+
"./composables": {
|
|
51
|
+
"types": "./types/composables/index.d.ts",
|
|
52
|
+
"module": "./lib/composables/index.js",
|
|
53
|
+
"default": "./lib/composables/index.js"
|
|
54
|
+
},
|
|
55
|
+
"./util": {
|
|
56
|
+
"types": "./types/util/index.d.ts",
|
|
57
|
+
"module": "./lib/util/index.js"
|
|
58
|
+
},
|
|
59
|
+
"./shims": "./types/shims.d.ts",
|
|
60
|
+
"./types/*": "./types/*",
|
|
61
|
+
"./*": "./*"
|
|
62
|
+
},
|
|
63
|
+
"main": "lib/index.js",
|
|
64
|
+
"module": "lib/index.js",
|
|
65
|
+
"types": "types/index.d.ts",
|
|
66
|
+
"typesVersions": {
|
|
67
|
+
"*": {
|
|
68
|
+
"lib/index.mjs": [
|
|
69
|
+
"types/index.d.ts"
|
|
70
|
+
],
|
|
71
|
+
"*": [
|
|
72
|
+
"*",
|
|
73
|
+
"types/*",
|
|
74
|
+
"types/*.d.ts",
|
|
75
|
+
"types/*/index.d.ts"
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"dependencies": {
|
|
80
|
+
"motion": "^10.15.5"
|
|
81
|
+
},
|
|
82
|
+
"devDependencies": {
|
|
83
|
+
"@babel/cli": "^7.21.0",
|
|
84
|
+
"@babel/core": "^7.21.3",
|
|
85
|
+
"@babel/preset-env": "^7.20.2",
|
|
86
|
+
"@babel/preset-typescript": "^7.21.0",
|
|
87
|
+
"@rollup/plugin-alias": "^4.0.3",
|
|
88
|
+
"@rollup/plugin-babel": "^6.0.3",
|
|
89
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
90
|
+
"@rollup/plugin-typescript": "^11.0.0",
|
|
91
|
+
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
|
92
|
+
"@types/jest": "^28.1.8",
|
|
93
|
+
"@types/node": "^18.19.1",
|
|
94
|
+
"@types/resize-observer-browser": "^0.1.7",
|
|
95
|
+
"@vitejs/plugin-vue": "^5.0.5",
|
|
96
|
+
"@vitejs/plugin-vue-jsx": "^4.0.0",
|
|
97
|
+
"@vue/babel-plugin-jsx": "^1.2.2",
|
|
98
|
+
"@vue/test-utils": "2.4.6",
|
|
99
|
+
"autoprefixer": "^10.4.14",
|
|
100
|
+
"babel-plugin-add-import-extension": "1.5.1",
|
|
101
|
+
"babel-plugin-module-resolver": "^5.0.0",
|
|
102
|
+
"babel-plugin-transform-define": "^2.1.0",
|
|
103
|
+
"concurrently": "^4.1.1",
|
|
104
|
+
"core-js": "^3.41.0",
|
|
105
|
+
"cross-env": "^7.0.3",
|
|
106
|
+
"rollup": "^4.22.4",
|
|
107
|
+
"rollup-plugin-dts": "^5.3.0",
|
|
108
|
+
"rollup-plugin-sass": "^1.2.19",
|
|
109
|
+
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
110
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
111
|
+
"sass": "^1.63.3",
|
|
112
|
+
"vite": "^5.4.6",
|
|
113
|
+
"vite-plugin-dts": "^3.9.1",
|
|
114
|
+
"vitest": "^3.2.4",
|
|
115
|
+
"vue-router": "^4.3.3",
|
|
116
|
+
"vue-tsc": "^2.0.21"
|
|
117
|
+
},
|
|
118
|
+
"peerDependencies": {
|
|
119
|
+
"motion": "^10.15.5",
|
|
120
|
+
"vue": "^3.3.0",
|
|
121
|
+
"vue-i18n": "^9.0.0 || ^10.0.0"
|
|
122
|
+
},
|
|
123
|
+
"peerDependenciesMeta": {
|
|
124
|
+
"vue-i18n": {
|
|
125
|
+
"optional": true
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"scripts": {
|
|
129
|
+
"build": "vue-tsc && vite build && pnpm run build:lib",
|
|
130
|
+
"build:lib": "cross-env NODE_ENV=lib babel src --out-dir lib --source-maps --extensions \".ts\",\".tsx\" --copy-files --no-copy-ignored --out-file-extension .js"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
@@ -44,6 +44,10 @@ export declare const YTreeView: import('vue').DefineComponent<import('vue').Extr
|
|
|
44
44
|
onMouseenterContainer: FunctionConstructor;
|
|
45
45
|
onMouseleaveContainer: FunctionConstructor;
|
|
46
46
|
onMousemoveContainer: FunctionConstructor;
|
|
47
|
+
onDblclickContainer: FunctionConstructor;
|
|
48
|
+
itemSelectable: {
|
|
49
|
+
type: PropType<any>;
|
|
50
|
+
};
|
|
47
51
|
expanded: {
|
|
48
52
|
type: PropType<CandidateKey[]>;
|
|
49
53
|
default: () => never[];
|
|
@@ -116,6 +120,10 @@ export declare const YTreeView: import('vue').DefineComponent<import('vue').Extr
|
|
|
116
120
|
onMouseenterContainer: FunctionConstructor;
|
|
117
121
|
onMouseleaveContainer: FunctionConstructor;
|
|
118
122
|
onMousemoveContainer: FunctionConstructor;
|
|
123
|
+
onDblclickContainer: FunctionConstructor;
|
|
124
|
+
itemSelectable: {
|
|
125
|
+
type: PropType<any>;
|
|
126
|
+
};
|
|
119
127
|
expanded: {
|
|
120
128
|
type: PropType<CandidateKey[]>;
|
|
121
129
|
default: () => never[];
|
|
@@ -18,6 +18,8 @@ export declare const pressYTreeViewNodeProps: <Defaults extends {
|
|
|
18
18
|
onMouseenterContainer?: unknown;
|
|
19
19
|
onMouseleaveContainer?: unknown;
|
|
20
20
|
onMousemoveContainer?: unknown;
|
|
21
|
+
onDblclickContainer?: unknown;
|
|
22
|
+
itemSelectable?: unknown;
|
|
21
23
|
} = {}>(defaults?: Defaults | undefined) => {
|
|
22
24
|
items: unknown extends Defaults["items"] ? {
|
|
23
25
|
type: PropType<any[]>;
|
|
@@ -153,6 +155,18 @@ export declare const pressYTreeViewNodeProps: <Defaults extends {
|
|
|
153
155
|
type: PropType<unknown extends Defaults["onMousemoveContainer"] ? Function : Function | Defaults["onMousemoveContainer"]>;
|
|
154
156
|
default: unknown extends Defaults["onMousemoveContainer"] ? Function : Function | Defaults["onMousemoveContainer"];
|
|
155
157
|
};
|
|
158
|
+
onDblclickContainer: unknown extends Defaults["onDblclickContainer"] ? FunctionConstructor : {
|
|
159
|
+
type: PropType<unknown extends Defaults["onDblclickContainer"] ? Function : Function | Defaults["onDblclickContainer"]>;
|
|
160
|
+
default: unknown extends Defaults["onDblclickContainer"] ? Function : Function | Defaults["onDblclickContainer"];
|
|
161
|
+
};
|
|
162
|
+
itemSelectable: unknown extends Defaults["itemSelectable"] ? {
|
|
163
|
+
type: PropType<any>;
|
|
164
|
+
} : Omit<{
|
|
165
|
+
type: PropType<any>;
|
|
166
|
+
}, "type" | "default"> & {
|
|
167
|
+
type: PropType<unknown extends Defaults["itemSelectable"] ? any : any>;
|
|
168
|
+
default: unknown extends Defaults["itemSelectable"] ? any : any;
|
|
169
|
+
};
|
|
156
170
|
};
|
|
157
171
|
/**
|
|
158
172
|
* TODO: correct selected values what selectStrategy leaf or others
|
|
@@ -208,6 +222,10 @@ export declare const YTreeViewNode: import('vue').DefineComponent<{
|
|
|
208
222
|
onMouseenterContainer: FunctionConstructor;
|
|
209
223
|
onMouseleaveContainer: FunctionConstructor;
|
|
210
224
|
onMousemoveContainer: FunctionConstructor;
|
|
225
|
+
onDblclickContainer: FunctionConstructor;
|
|
226
|
+
itemSelectable: {
|
|
227
|
+
type: PropType<any>;
|
|
228
|
+
};
|
|
211
229
|
item: {
|
|
212
230
|
type: PropType<any>;
|
|
213
231
|
};
|