@wfrog/vc-ui 1.10.0 → 1.10.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.
@@ -71,45 +71,54 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
71
71
  class: normalizeClass([_ctx.$style.item, { [_ctx.$style.active]: unref(actived) === item.value }]),
72
72
  onClick: (e) => handleClick(item, e)
73
73
  }, [
74
- createElementVNode("div", {
75
- class: normalizeClass(_ctx.$style.label)
76
- }, [
77
- renderSlot(_ctx.$slots, "default", {
74
+ renderSlot(_ctx.$slots, "item", {
75
+ data: item,
76
+ index
77
+ }, () => [
78
+ createElementVNode("div", {
79
+ class: normalizeClass(_ctx.$style.label)
80
+ }, [
81
+ renderSlot(_ctx.$slots, "label", {
82
+ data: item,
83
+ index
84
+ }, () => [
85
+ item.icon ? (openBlock(), createBlock(Component$2, {
86
+ key: 0,
87
+ name: item.icon,
88
+ class: normalizeClass(_ctx.$style.icon)
89
+ }, null, 8, ["name", "class"])) : createCommentVNode("", true),
90
+ createTextVNode(toDisplayString(item.label), 1)
91
+ ])
92
+ ], 2),
93
+ __props.actions.length ? (openBlock(), createElementBlock("div", {
94
+ key: 0,
95
+ class: normalizeClass(_ctx.$style.actions)
96
+ }, [
97
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.actions, (action) => {
98
+ return openBlock(), createElementBlock(Fragment, { key: action }, [
99
+ action === "action" ? renderSlot(_ctx.$slots, "action", {
100
+ key: 0,
101
+ data: item,
102
+ index
103
+ }) : (openBlock(), createBlock(Component$3, mergeProps({
104
+ key: 1,
105
+ ref_for: true
106
+ }, actionsMapping[action], {
107
+ confirm: action === "remove" ? __props.confirmParams(item) : void 0,
108
+ class: action === "remove" ? _ctx.$style.remove : void 0,
109
+ link: "",
110
+ icon: { type: "el", name: actionsMapping[action].icon },
111
+ stop: "",
112
+ onClick: ($event) => emits(action, item.value, item)
113
+ }), null, 16, ["confirm", "class", "icon", "onClick"]))
114
+ ], 64);
115
+ }), 128))
116
+ ], 2)) : createCommentVNode("", true),
117
+ renderSlot(_ctx.$slots, "extra-label", {
78
118
  data: item,
79
119
  index
80
- }, () => [
81
- item.icon ? (openBlock(), createBlock(Component$2, {
82
- key: 0,
83
- name: item.icon,
84
- class: normalizeClass(_ctx.$style.icon)
85
- }, null, 8, ["name", "class"])) : createCommentVNode("", true),
86
- createTextVNode(toDisplayString(item.label), 1)
87
- ])
88
- ], 2),
89
- __props.actions.length ? (openBlock(), createElementBlock("div", {
90
- key: 0,
91
- class: normalizeClass(_ctx.$style.actions)
92
- }, [
93
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.actions, (action) => {
94
- return openBlock(), createElementBlock(Fragment, { key: action }, [
95
- action === "action" ? renderSlot(_ctx.$slots, "action", {
96
- key: 0,
97
- data: item,
98
- index
99
- }) : (openBlock(), createBlock(Component$3, mergeProps({
100
- key: 1,
101
- ref_for: true
102
- }, actionsMapping[action], {
103
- confirm: action === "remove" ? __props.confirmParams(item) : void 0,
104
- class: action === "remove" ? _ctx.$style.remove : void 0,
105
- link: "",
106
- icon: { type: "el", name: actionsMapping[action].icon },
107
- stop: "",
108
- onClick: ($event) => emits(action, item.value, item)
109
- }), null, 16, ["confirm", "class", "icon", "onClick"]))
110
- ], 64);
111
- }), 128))
112
- ], 2)) : createCommentVNode("", true)
120
+ })
121
+ ])
113
122
  ], 10, _hoisted_1);
114
123
  }), 128))
115
124
  ], 512), [
@@ -138,21 +147,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
138
147
  }
139
148
  });
140
149
 
141
- /* unplugin-vue-components disabled */const item = "_item_1xtjk_1";
142
- const actions = "_actions_1xtjk_16";
143
- const active = "_active_1xtjk_20";
144
- const label = "_label_1xtjk_25";
145
- const icon = "_icon_1xtjk_31";
146
- const remove = "_remove_1xtjk_48";
147
- const empty = "_empty_1xtjk_52";
148
- const loading = "_loading_1xtjk_53";
149
- const scrollbar = "_scrollbar_1xtjk_61";
150
+ /* unplugin-vue-components disabled */const item = "_item_lodh1_1";
151
+ const actions = "_actions_lodh1_16";
152
+ const active = "_active_lodh1_20";
153
+ const label = "_label_lodh1_25";
154
+ const remove = "_remove_lodh1_47";
155
+ const empty = "_empty_lodh1_51";
156
+ const loading = "_loading_lodh1_52";
157
+ const scrollbar = "_scrollbar_lodh1_60";
150
158
  const style0 = {
151
159
  item: item,
152
160
  actions: actions,
153
161
  active: active,
154
162
  label: label,
155
- icon: icon,
156
163
  remove: remove,
157
164
  empty: empty,
158
165
  loading: loading,
@@ -2,7 +2,11 @@ import { IExplorerListItem, IExplorerListProps } from './explorer-list';
2
2
  declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: {
5
- default?(_: {
5
+ item?(_: {
6
+ data: IExplorerListItem<any>;
7
+ index: number;
8
+ }): any;
9
+ label?(_: {
6
10
  data: IExplorerListItem<any>;
7
11
  index: number;
8
12
  }): any;
@@ -10,6 +14,10 @@ declare function __VLS_template(): {
10
14
  data: IExplorerListItem<any>;
11
15
  index: number;
12
16
  }): any;
17
+ 'extra-label'?(_: {
18
+ data: IExplorerListItem<any>;
19
+ index: number;
20
+ }): any;
13
21
  };
14
22
  refs: {};
15
23
  rootEl: any;
@@ -1,5 +1,5 @@
1
1
  /* source: src/components/explorer-list/explorer-list.vue */
2
- ._item_1xtjk_1 {
2
+ ._item_lodh1_1 {
3
3
  padding: 4px 8px;
4
4
  cursor: pointer;
5
5
  display: flex;
@@ -11,48 +11,48 @@
11
11
  box-sizing: border-box;
12
12
  line-height: 1;
13
13
  }
14
- ._item_1xtjk_1:hover {
14
+ ._item_lodh1_1:hover {
15
15
  background-color: var(--el-color-primary-light-9);
16
16
  }
17
- ._item_1xtjk_1:hover ._actions_1xtjk_16 {
17
+ ._item_lodh1_1:hover ._actions_lodh1_16 {
18
18
  display: inline-flex;
19
19
  align-items: flex-start;
20
20
  }
21
- ._item_1xtjk_1._active_1xtjk_20 {
21
+ ._item_lodh1_1._active_lodh1_20 {
22
22
  color: var(--el-color-primary);
23
23
  background-color: var(--el-color-primary-light-9);
24
24
  }
25
- ._label_1xtjk_25 {
25
+ ._label_lodh1_25 {
26
26
  overflow: hidden;
27
27
  text-overflow: ellipsis;
28
28
  white-space: nowrap;
29
29
  }
30
- ._icon_1xtjk_31 {
30
+ ._label_lodh1_25 .iconify {
31
31
  margin-right: 4px;
32
32
  }
33
- ._actions_1xtjk_16 {
33
+ ._actions_lodh1_16 {
34
34
  display: none;
35
35
  column-gap: 4px;
36
36
  }
37
- ._actions_1xtjk_16 > button {
37
+ ._actions_lodh1_16 > button {
38
38
  margin-left: 0 !important;
39
39
  font-size: 1.2em;
40
40
  border: 1px solid var(--el-border-color-light) !important;
41
41
  }
42
- ._actions_1xtjk_16 > button:hover {
42
+ ._actions_lodh1_16 > button:hover {
43
43
  border-color: var(--el-border-color-dark) !important;
44
44
  }
45
- ._remove_1xtjk_48 {
45
+ ._remove_lodh1_47 {
46
46
  transform: translateY(-1px);
47
47
  }
48
- ._empty_1xtjk_52,
49
- ._loading_1xtjk_53 {
48
+ ._empty_lodh1_51,
49
+ ._loading_lodh1_52 {
50
50
  padding: 4px 8px;
51
51
  display: flex;
52
52
  align-items: center;
53
53
  column-gap: 4px;
54
54
  color: var(--el-text-color-secondary);
55
55
  }
56
- ._scrollbar_1xtjk_61 {
56
+ ._scrollbar_lodh1_60 {
57
57
  margin: 0 -8px;
58
58
  }
@@ -3,7 +3,7 @@ import '../../chunk/Gk1J52Yw.mjs';
3
3
  import { E as ElTree } from '../../chunk/eqwEsspo.mjs';
4
4
  import '../../chunk/DBf73TLo.mjs';
5
5
  import '../../chunk/DbhQlaOz.mjs';
6
- import { defineComponent, useTemplateRef, computed, watch, createBlock, openBlock, normalizeClass, withCtx, withDirectives, createElementBlock, createCommentVNode, createVNode, mergeProps, unref, createElementVNode, renderSlot, createTextVNode, toDisplayString, Fragment, renderList, vShow } from 'vue';
6
+ import { defineComponent, useTemplateRef, computed, watch, createBlock, openBlock, normalizeClass, withCtx, withDirectives, createElementBlock, createCommentVNode, createVNode, mergeProps, unref, renderSlot, createElementVNode, createTextVNode, toDisplayString, Fragment, renderList, vShow } from 'vue';
7
7
  import { Loading } from '@element-plus/icons-vue';
8
8
  import { C as Component$3 } from '../button/button.mjs';
9
9
  import { i as injectExplorerPanelState } from '../explorer-panel/explorer-panel2.mjs';
@@ -87,49 +87,57 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
87
87
  onNodeClick: handleNodeClick
88
88
  }), {
89
89
  default: withCtx(({ node }) => [
90
- createElementVNode("div", {
91
- class: normalizeClass(_ctx.$style.node)
92
- }, [
90
+ renderSlot(_ctx.$slots, "node", {
91
+ data: node.data,
92
+ index: node.index
93
+ }, () => [
93
94
  createElementVNode("div", {
94
- class: normalizeClass(_ctx.$style.label)
95
+ class: normalizeClass(_ctx.$style.node)
95
96
  }, [
96
- renderSlot(_ctx.$slots, "default", {
97
+ createElementVNode("div", {
98
+ class: normalizeClass(_ctx.$style.label)
99
+ }, [
100
+ renderSlot(_ctx.$slots, "label", {
101
+ data: node.data,
102
+ index: node.index
103
+ }, () => [
104
+ node.data.icon ? (openBlock(), createBlock(Component$2, {
105
+ key: 0,
106
+ name: node.data.icon
107
+ }, null, 8, ["name"])) : createCommentVNode("", true),
108
+ createTextVNode(toDisplayString(node.data.label), 1)
109
+ ])
110
+ ], 2),
111
+ __props.actions.length ? (openBlock(), createElementBlock("div", {
112
+ key: 0,
113
+ class: normalizeClass(["vc-actions", [_ctx.$style.actions]])
114
+ }, [
115
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.actions, (action) => {
116
+ return openBlock(), createElementBlock(Fragment, { key: action }, [
117
+ action === "action" ? renderSlot(_ctx.$slots, "action", {
118
+ key: 0,
119
+ data: node.data,
120
+ index: node.index
121
+ }) : (openBlock(), createBlock(Component$3, mergeProps({
122
+ key: 1,
123
+ ref_for: true
124
+ }, actionsMapping[action], {
125
+ confirm: action === "remove" ? __props.confirmParams(node) : void 0,
126
+ class: action === "remove" ? _ctx.$style.remove : void 0,
127
+ link: "",
128
+ icon: { type: "el", name: actionsMapping[action].icon },
129
+ stop: "",
130
+ onClick: ($event) => emits(action, node.data.value, node)
131
+ }), null, 16, ["confirm", "class", "icon", "onClick"]))
132
+ ], 64);
133
+ }), 128))
134
+ ], 2)) : createCommentVNode("", true),
135
+ renderSlot(_ctx.$slots, "extra-label", {
97
136
  data: node.data,
98
137
  index: node.index
99
- }, () => [
100
- node.data.icon ? (openBlock(), createBlock(Component$2, {
101
- key: 0,
102
- name: node.data.icon,
103
- class: normalizeClass(_ctx.$style.icon)
104
- }, null, 8, ["name", "class"])) : createCommentVNode("", true),
105
- createTextVNode(toDisplayString(node.data.label), 1)
106
- ])
107
- ], 2),
108
- __props.actions.length ? (openBlock(), createElementBlock("div", {
109
- key: 0,
110
- class: normalizeClass(["vc-actions", [_ctx.$style.actions]])
111
- }, [
112
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.actions, (action) => {
113
- return openBlock(), createElementBlock(Fragment, { key: action }, [
114
- action === "action" ? renderSlot(_ctx.$slots, "action", {
115
- key: 0,
116
- data: node.data,
117
- index: node.index
118
- }) : (openBlock(), createBlock(Component$3, mergeProps({
119
- key: 1,
120
- ref_for: true
121
- }, actionsMapping[action], {
122
- confirm: action === "remove" ? __props.confirmParams(node) : void 0,
123
- class: action === "remove" ? _ctx.$style.remove : void 0,
124
- link: "",
125
- icon: { type: "el", name: actionsMapping[action].icon },
126
- stop: "",
127
- onClick: ($event) => emits(action, node.data.value, node)
128
- }), null, 16, ["confirm", "class", "icon", "onClick"]))
129
- ], 64);
130
- }), 128))
131
- ], 2)) : createCommentVNode("", true)
132
- ], 2)
138
+ })
139
+ ], 2)
140
+ ])
133
141
  ]),
134
142
  _: 3
135
143
  }, 16, ["class"]), [
@@ -154,19 +162,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
154
162
  }
155
163
  });
156
164
 
157
- /* unplugin-vue-components disabled */const tree = "_tree_4juik_1";
158
- const node = "_node_4juik_27";
159
- const label = "_label_4juik_37";
160
- const icon = "_icon_4juik_44";
161
- const actions = "_actions_4juik_48";
162
- const remove = "_remove_4juik_61";
163
- const loading = "_loading_4juik_65";
164
- const scrollbar = "_scrollbar_4juik_73";
165
+ /* unplugin-vue-components disabled */const tree = "_tree_185uk_1";
166
+ const node = "_node_185uk_27";
167
+ const label = "_label_185uk_37";
168
+ const actions = "_actions_185uk_47";
169
+ const remove = "_remove_185uk_60";
170
+ const loading = "_loading_185uk_64";
171
+ const scrollbar = "_scrollbar_185uk_72";
165
172
  const style0 = {
166
173
  tree: tree,
167
174
  node: node,
168
175
  label: label,
169
- icon: icon,
170
176
  actions: actions,
171
177
  remove: remove,
172
178
  loading: loading,
@@ -5,7 +5,11 @@ import { IExplorerTreeProps } from './explorer-tree';
5
5
  declare function __VLS_template(): {
6
6
  attrs: Partial<{}>;
7
7
  slots: {
8
- default?(_: {
8
+ node?(_: {
9
+ data: any;
10
+ index: any;
11
+ }): any;
12
+ label?(_: {
9
13
  data: any;
10
14
  index: any;
11
15
  }): any;
@@ -13,6 +17,10 @@ declare function __VLS_template(): {
13
17
  data: any;
14
18
  index: any;
15
19
  }): any;
20
+ 'extra-label'?(_: {
21
+ data: any;
22
+ index: any;
23
+ }): any;
16
24
  };
17
25
  refs: {
18
26
  treeRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
@@ -1,30 +1,30 @@
1
1
  /* source: src/components/explorer-tree/explorer-tree.vue */
2
- ._tree_4juik_1 .el-tree-node__content {
2
+ ._tree_185uk_1 .el-tree-node__content {
3
3
  display: flex;
4
4
  align-items: center;
5
5
  }
6
- ._tree_4juik_1 .el-tree-node__content:hover {
6
+ ._tree_185uk_1 .el-tree-node__content:hover {
7
7
  background-color: var(--el-color-primary-light-9);
8
8
  }
9
- ._tree_4juik_1 .el-tree-node__content:hover .vc-actions {
9
+ ._tree_185uk_1 .el-tree-node__content:hover .vc-actions {
10
10
  display: inline-flex;
11
11
  }
12
- ._tree_4juik_1 .el-tree-node:focus > .el-tree-node__content {
12
+ ._tree_185uk_1 .el-tree-node:focus > .el-tree-node__content {
13
13
  background-color: var(--el-color-primary-light-9);
14
14
  }
15
- ._tree_4juik_1 .is-current > .el-tree-node__content {
15
+ ._tree_185uk_1 .is-current > .el-tree-node__content {
16
16
  color: var(--el-color-primary);
17
17
  background-color: var(--el-color-primary-light-9);
18
18
  }
19
- ._tree_4juik_1 .el-tree__empty-block {
19
+ ._tree_185uk_1 .el-tree__empty-block {
20
20
  text-align: left;
21
21
  min-height: unset;
22
22
  padding: 4px 8px;
23
23
  }
24
- ._tree_4juik_1 .el-tree__empty-text {
24
+ ._tree_185uk_1 .el-tree__empty-text {
25
25
  position: static;
26
26
  }
27
- ._node_4juik_27 {
27
+ ._node_185uk_27 {
28
28
  display: flex;
29
29
  justify-content: space-between;
30
30
  align-items: center;
@@ -33,37 +33,37 @@
33
33
  box-sizing: border-box;
34
34
  width: 100px;
35
35
  }
36
- ._label_4juik_37 {
36
+ ._label_185uk_37 {
37
37
  overflow: hidden;
38
38
  text-overflow: ellipsis;
39
39
  white-space: nowrap;
40
40
  transform: translateY(-1px);
41
41
  }
42
- ._icon_4juik_44 {
42
+ ._label_185uk_37 .iconify {
43
43
  margin-right: 4px;
44
44
  }
45
- ._actions_4juik_48 {
45
+ ._actions_185uk_47 {
46
46
  display: none;
47
47
  column-gap: 4px;
48
48
  }
49
- ._actions_4juik_48 > button {
49
+ ._actions_185uk_47 > button {
50
50
  margin-left: 0 !important;
51
51
  font-size: 1.2em;
52
52
  border: 1px solid var(--el-border-color-light) !important;
53
53
  }
54
- ._actions_4juik_48 > button:hover {
54
+ ._actions_185uk_47 > button:hover {
55
55
  border-color: var(--el-border-color-dark) !important;
56
56
  }
57
- ._remove_4juik_61 {
57
+ ._remove_185uk_60 {
58
58
  transform: translateY(-1px);
59
59
  }
60
- ._loading_4juik_65 {
60
+ ._loading_185uk_64 {
61
61
  padding: 4px 8px;
62
62
  display: flex;
63
63
  align-items: center;
64
64
  column-gap: 4px;
65
65
  color: var(--el-text-color-secondary);
66
66
  }
67
- ._scrollbar_4juik_73 {
67
+ ._scrollbar_185uk_72 {
68
68
  margin: 0 -8px;
69
69
  }
package/dist/es/index.mjs CHANGED
@@ -156,7 +156,7 @@ const __vite_glob_0_47 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePr
156
156
  default: _sfc_main$8
157
157
  }, Symbol.toStringTag, { value: 'Module' }));
158
158
 
159
- const version = "1.10.0";
159
+ const version = "1.10.1";
160
160
 
161
161
  const modules = /* #__PURE__ */ Object.assign({"./components/awesome-icon/awesome-icon.vue": __vite_glob_0_0,"./components/backbottom/backbottom.vue": __vite_glob_0_1,"./components/button/button.vue": __vite_glob_0_2,"./components/chat-container/chat-container.vue": __vite_glob_0_3,"./components/choice-boolean/choice-boolean.vue": __vite_glob_0_4,"./components/choice/choice.vue": __vite_glob_0_5,"./components/color-switch/color-switch.vue": __vite_glob_0_6,"./components/config-provider/config-provider.vue": __vite_glob_0_7,"./components/cropper/cropper.vue": __vite_glob_0_8,"./components/currency/currency.vue": __vite_glob_0_9,"./components/dark-switch/dark-switch.vue": __vite_glob_0_10,"./components/daterange-picker/daterange-picker.vue": __vite_glob_0_11,"./components/dialog-camera-upload/dialog-camera-upload.vue": __vite_glob_0_12,"./components/dialog-map-point/dialog-map-point.vue": __vite_glob_0_13,"./components/dialog-upload-images/dialog-upload-images.vue": __vite_glob_0_14,"./components/dialog/dialog.vue": __vite_glob_0_15,"./components/drag-verify/drag-verify.vue": __vite_glob_0_16,"./components/drawer/drawer.vue": __vite_glob_0_17,"./components/easy-pagination/easy-pagination.vue": __vite_glob_0_18,"./components/el-icon/el-icon.vue": __vite_glob_0_19,"./components/explorer-column-table/explorer-column-table.vue": __vite_glob_0_20,"./components/explorer-container/explorer-container.vue": __vite_glob_0_21,"./components/explorer-filter/explorer-filter.vue": __vite_glob_0_22,"./components/explorer-footer/explorer-footer.vue": __vite_glob_0_23,"./components/explorer-form/explorer-form.vue": __vite_glob_0_24,"./components/explorer-list/explorer-list.vue": __vite_glob_0_25,"./components/explorer-modal-form/explorer-modal-form.vue": __vite_glob_0_26,"./components/explorer-panel/explorer-panel.vue": __vite_glob_0_27,"./components/explorer-query/explorer-query.vue": __vite_glob_0_28,"./components/explorer-table/explorer-table.vue": __vite_glob_0_29,"./components/explorer-tools/explorer-tools.vue": __vite_glob_0_30,"./components/explorer-tree/explorer-tree.vue": __vite_glob_0_31,"./components/explorer/explorer.vue": __vite_glob_0_32,"./components/flag/flag.vue": __vite_glob_0_33,"./components/icon-picker/icon-picker.vue": __vite_glob_0_34,"./components/icon/icon.vue": __vite_glob_0_35,"./components/iconify-icon/iconify-icon.vue": __vite_glob_0_36,"./components/image/image.vue": __vite_glob_0_37,"./components/input-number/input-number.vue": __vite_glob_0_38,"./components/input/input.vue": __vite_glob_0_39,"./components/pca-picker/pca-picker.vue": __vite_glob_0_40,"./components/qr-code/qr-code.vue": __vite_glob_0_41,"./components/screenfull/screenfull.vue": __vite_glob_0_42,"./components/scrollbar/scrollbar.vue": __vite_glob_0_43,"./components/select/select.vue": __vite_glob_0_44,"./components/single-player/single-player.vue": __vite_glob_0_45,"./components/splitter-panel/splitter-panel.vue": __vite_glob_0_46,"./components/splitter/splitter.vue": __vite_glob_0_47,"./components/svg-icon/svg-icon.vue": __vite_glob_0_48,"./components/switch/switch.vue": __vite_glob_0_49,"./components/sync-scroll-container/sync-scroll-container.vue": __vite_glob_0_50,"./components/tags/tags.vue": __vite_glob_0_51,"./components/text-ellipsis/text-ellipsis.vue": __vite_glob_0_52,"./components/thousand-input/thousand-input.vue": __vite_glob_0_53,"./components/tinymce/tinymce.vue": __vite_glob_0_54,"./components/transfer-panel/transfer-panel.vue": __vite_glob_0_55,"./components/transfer/transfer.vue": __vite_glob_0_56,"./components/tree-picker/tree-picker.vue": __vite_glob_0_57,"./components/upload-file/upload-file.vue": __vite_glob_0_58});
162
162
  const upper = (_, letter) => letter.toUpperCase();
package/dist/index.css CHANGED
@@ -693,7 +693,7 @@ div._main_k37nc_1 ._header_k37nc_48 {
693
693
  margin: 0 -8px;
694
694
  }
695
695
  /* source: src/components/explorer-list/explorer-list.vue */
696
- ._item_1xtjk_1 {
696
+ ._item_lodh1_1 {
697
697
  padding: 4px 8px;
698
698
  cursor: pointer;
699
699
  display: flex;
@@ -705,49 +705,49 @@ div._main_k37nc_1 ._header_k37nc_48 {
705
705
  box-sizing: border-box;
706
706
  line-height: 1;
707
707
  }
708
- ._item_1xtjk_1:hover {
708
+ ._item_lodh1_1:hover {
709
709
  background-color: var(--el-color-primary-light-9);
710
710
  }
711
- ._item_1xtjk_1:hover ._actions_1xtjk_16 {
711
+ ._item_lodh1_1:hover ._actions_lodh1_16 {
712
712
  display: inline-flex;
713
713
  align-items: flex-start;
714
714
  }
715
- ._item_1xtjk_1._active_1xtjk_20 {
715
+ ._item_lodh1_1._active_lodh1_20 {
716
716
  color: var(--el-color-primary);
717
717
  background-color: var(--el-color-primary-light-9);
718
718
  }
719
- ._label_1xtjk_25 {
719
+ ._label_lodh1_25 {
720
720
  overflow: hidden;
721
721
  text-overflow: ellipsis;
722
722
  white-space: nowrap;
723
723
  }
724
- ._icon_1xtjk_31 {
724
+ ._label_lodh1_25 .iconify {
725
725
  margin-right: 4px;
726
726
  }
727
- ._actions_1xtjk_16 {
727
+ ._actions_lodh1_16 {
728
728
  display: none;
729
729
  column-gap: 4px;
730
730
  }
731
- ._actions_1xtjk_16 > button {
731
+ ._actions_lodh1_16 > button {
732
732
  margin-left: 0 !important;
733
733
  font-size: 1.2em;
734
734
  border: 1px solid var(--el-border-color-light) !important;
735
735
  }
736
- ._actions_1xtjk_16 > button:hover {
736
+ ._actions_lodh1_16 > button:hover {
737
737
  border-color: var(--el-border-color-dark) !important;
738
738
  }
739
- ._remove_1xtjk_48 {
739
+ ._remove_lodh1_47 {
740
740
  transform: translateY(-1px);
741
741
  }
742
- ._empty_1xtjk_52,
743
- ._loading_1xtjk_53 {
742
+ ._empty_lodh1_51,
743
+ ._loading_lodh1_52 {
744
744
  padding: 4px 8px;
745
745
  display: flex;
746
746
  align-items: center;
747
747
  column-gap: 4px;
748
748
  color: var(--el-text-color-secondary);
749
749
  }
750
- ._scrollbar_1xtjk_61 {
750
+ ._scrollbar_lodh1_60 {
751
751
  margin: 0 -8px;
752
752
  }
753
753
  /* source: src/components/explorer-modal-form/explorer-modal-form.vue */
@@ -899,32 +899,32 @@ div._divider_8k9xf_21 {
899
899
  z-index: 9999 !important;
900
900
  }
901
901
  /* source: src/components/explorer-tree/explorer-tree.vue */
902
- ._tree_4juik_1 .el-tree-node__content {
902
+ ._tree_185uk_1 .el-tree-node__content {
903
903
  display: flex;
904
904
  align-items: center;
905
905
  }
906
- ._tree_4juik_1 .el-tree-node__content:hover {
906
+ ._tree_185uk_1 .el-tree-node__content:hover {
907
907
  background-color: var(--el-color-primary-light-9);
908
908
  }
909
- ._tree_4juik_1 .el-tree-node__content:hover .vc-actions {
909
+ ._tree_185uk_1 .el-tree-node__content:hover .vc-actions {
910
910
  display: inline-flex;
911
911
  }
912
- ._tree_4juik_1 .el-tree-node:focus > .el-tree-node__content {
912
+ ._tree_185uk_1 .el-tree-node:focus > .el-tree-node__content {
913
913
  background-color: var(--el-color-primary-light-9);
914
914
  }
915
- ._tree_4juik_1 .is-current > .el-tree-node__content {
915
+ ._tree_185uk_1 .is-current > .el-tree-node__content {
916
916
  color: var(--el-color-primary);
917
917
  background-color: var(--el-color-primary-light-9);
918
918
  }
919
- ._tree_4juik_1 .el-tree__empty-block {
919
+ ._tree_185uk_1 .el-tree__empty-block {
920
920
  text-align: left;
921
921
  min-height: unset;
922
922
  padding: 4px 8px;
923
923
  }
924
- ._tree_4juik_1 .el-tree__empty-text {
924
+ ._tree_185uk_1 .el-tree__empty-text {
925
925
  position: static;
926
926
  }
927
- ._node_4juik_27 {
927
+ ._node_185uk_27 {
928
928
  display: flex;
929
929
  justify-content: space-between;
930
930
  align-items: center;
@@ -933,38 +933,38 @@ div._divider_8k9xf_21 {
933
933
  box-sizing: border-box;
934
934
  width: 100px;
935
935
  }
936
- ._label_4juik_37 {
936
+ ._label_185uk_37 {
937
937
  overflow: hidden;
938
938
  text-overflow: ellipsis;
939
939
  white-space: nowrap;
940
940
  transform: translateY(-1px);
941
941
  }
942
- ._icon_4juik_44 {
942
+ ._label_185uk_37 .iconify {
943
943
  margin-right: 4px;
944
944
  }
945
- ._actions_4juik_48 {
945
+ ._actions_185uk_47 {
946
946
  display: none;
947
947
  column-gap: 4px;
948
948
  }
949
- ._actions_4juik_48 > button {
949
+ ._actions_185uk_47 > button {
950
950
  margin-left: 0 !important;
951
951
  font-size: 1.2em;
952
952
  border: 1px solid var(--el-border-color-light) !important;
953
953
  }
954
- ._actions_4juik_48 > button:hover {
954
+ ._actions_185uk_47 > button:hover {
955
955
  border-color: var(--el-border-color-dark) !important;
956
956
  }
957
- ._remove_4juik_61 {
957
+ ._remove_185uk_60 {
958
958
  transform: translateY(-1px);
959
959
  }
960
- ._loading_4juik_65 {
960
+ ._loading_185uk_64 {
961
961
  padding: 4px 8px;
962
962
  display: flex;
963
963
  align-items: center;
964
964
  column-gap: 4px;
965
965
  color: var(--el-text-color-secondary);
966
966
  }
967
- ._scrollbar_4juik_73 {
967
+ ._scrollbar_185uk_72 {
968
968
  margin: 0 -8px;
969
969
  }
970
970
  /* source: src/components/explorer/explorer.vue */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wfrog/vc-ui",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "packageManager": "pnpm@10.20.0",
5
5
  "description": "vue3 组件库 vc-ui",
6
6
  "author": "wellfrog",