@wfrog/vc-ui 1.10.4 → 1.10.5

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.
Files changed (84) hide show
  1. package/dist/es/chunk/{D_F7nIja.mjs → 0IqPHSYK.mjs} +2 -2
  2. package/dist/es/chunk/{DFOYvCRL.mjs → BB8sGHSt.mjs} +1 -1
  3. package/dist/es/chunk/{BPQ3KP1S.mjs → BBZTrt3P.mjs} +10 -10
  4. package/dist/es/chunk/{C5I6QvTa.mjs → BHV9Fsm-.mjs} +4 -4
  5. package/dist/es/chunk/{ipA7n6-J.mjs → BIOLCk4C.mjs} +1 -1
  6. package/dist/es/chunk/{DdY32YAP.mjs → BPqAVQeM.mjs} +1 -1
  7. package/dist/es/chunk/{QtiOxqKv.mjs → BU1UFWyy.mjs} +12 -12
  8. package/dist/es/chunk/{BH1e_-Fa.mjs → BW5gB8WZ.mjs} +1 -1
  9. package/dist/es/chunk/{DkT4qqGt.mjs → BhGH1Xpz.mjs} +4 -4
  10. package/dist/es/chunk/{eqwEsspo.mjs → Bzfzbt8j.mjs} +3 -3
  11. package/dist/es/chunk/{CNEMJL35.mjs → CBFHL7q7.mjs} +2 -2
  12. package/dist/es/chunk/{ytiKcA3H.mjs → CCyhxG7Y.mjs} +1 -1
  13. package/dist/es/chunk/{B-xUksL-.mjs → CHcjDmH7.mjs} +1 -1
  14. package/dist/es/chunk/{BZoKD2RY.mjs → CJ3x7RLP.mjs} +3 -3
  15. package/dist/es/chunk/{BdVq9mV6.mjs → CL7hyMMl.mjs} +1 -1
  16. package/dist/es/chunk/{jjYAptTv.mjs → CQrdG2WN.mjs} +1 -1
  17. package/dist/es/chunk/{D-1mFPUH.mjs → CrmTzYDZ.mjs} +1 -1
  18. package/dist/es/chunk/{BA_oVIng.mjs → CsduCAhD.mjs} +4 -4
  19. package/dist/es/chunk/{C-7W07Z_.mjs → D3qdudO9.mjs} +3 -3
  20. package/dist/es/chunk/{o2Q7kb8Y.mjs → DFEYK1Z3.mjs} +13 -13
  21. package/dist/es/chunk/{CNHQauEr.mjs → DFz29g6l.mjs} +3 -3
  22. package/dist/es/chunk/{BQk-dhWy.mjs → DQNzr_4r.mjs} +4 -4
  23. package/dist/es/chunk/{Db0Pk78M.mjs → DZolJ2S8.mjs} +1 -1
  24. package/dist/es/chunk/{Bu3XHP55.mjs → D_C-2Zj7.mjs} +1 -1
  25. package/dist/es/chunk/{EMeQxUfH.mjs → DaruHtlF.mjs} +2 -2
  26. package/dist/es/chunk/{q2jRgbir.mjs → Dc7H636F.mjs} +1 -1
  27. package/dist/es/chunk/{KyEEoljI.mjs → DfMdBBmq.mjs} +3 -3
  28. package/dist/es/chunk/{Do7HIVy5.mjs → DfVuDj0a.mjs} +3 -3
  29. package/dist/es/chunk/{DBf73TLo.mjs → DjbzvF4e.mjs} +3 -3
  30. package/dist/es/chunk/{CqhShW5K.mjs → Domw3dVd.mjs} +1 -1
  31. package/dist/es/chunk/{CGC9zZcN.mjs → Drb5LdmA.mjs} +2 -2
  32. package/dist/es/chunk/{CJ0afvkJ.mjs → Dz2wWDrj.mjs} +1 -1
  33. package/dist/es/chunk/{COvAourt.mjs → Pe-8x5jl.mjs} +1 -1
  34. package/dist/es/chunk/{Cdh3HNZa.mjs → U62y-y-e.mjs} +2 -2
  35. package/dist/es/chunk/{Bj4UMVBI.mjs → jKXm19NZ.mjs} +1 -1
  36. package/dist/es/chunk/{DSw4GnC6.mjs → pk4W_IaT.mjs} +1 -1
  37. package/dist/es/components/button/button.mjs +3 -3
  38. package/dist/es/components/choice/choice.mjs +2 -2
  39. package/dist/es/components/color-switch/color-switch.mjs +5 -5
  40. package/dist/es/components/cropper/cropper.mjs +4 -4
  41. package/dist/es/components/currency/currency.mjs +3 -3
  42. package/dist/es/components/daterange-picker/daterange-picker.mjs +10 -10
  43. package/dist/es/components/dialog/dialog.mjs +4 -4
  44. package/dist/es/components/dialog-camera-upload/dialog-camera-upload.mjs +7 -7
  45. package/dist/es/components/dialog-map-point/dialog-map-point.mjs +2 -2
  46. package/dist/es/components/dialog-upload-images/dialog-upload-images.mjs +7 -7
  47. package/dist/es/components/drawer/drawer.mjs +5 -5
  48. package/dist/es/components/easy-pagination/easy-pagination.mjs +1 -1
  49. package/dist/es/components/explorer-column-table/explorer-column-table.mjs +4 -4
  50. package/dist/es/components/explorer-container/explorer-container.mjs +1 -1
  51. package/dist/es/components/explorer-filter/explorer-filter.mjs +3 -3
  52. package/dist/es/components/explorer-footer/explorer-footer.mjs +6 -6
  53. package/dist/es/components/explorer-form/explorer-form.mjs +1 -1
  54. package/dist/es/components/explorer-list/explorer-list.d.ts +1 -0
  55. package/dist/es/components/explorer-list/explorer-list.mjs +17 -12
  56. package/dist/es/components/explorer-list/explorer-list.vue.d.ts +1 -0
  57. package/dist/es/components/explorer-list/index.css +23 -13
  58. package/dist/es/components/explorer-modal-form/explorer-modal-form.mjs +1 -1
  59. package/dist/es/components/explorer-query/explorer-query.mjs +4 -4
  60. package/dist/es/components/explorer-table/explorer-table.mjs +5 -5
  61. package/dist/es/components/explorer-tools/explorer-tools.mjs +4 -4
  62. package/dist/es/components/explorer-tree/explorer-tree.d.ts +1 -0
  63. package/dist/es/components/explorer-tree/explorer-tree.mjs +121 -5
  64. package/dist/es/components/explorer-tree/explorer-tree.vue.d.ts +1 -0
  65. package/dist/es/components/icon-picker/icon-picker.mjs +8 -8
  66. package/dist/es/components/image/image.mjs +2 -2
  67. package/dist/es/components/input/input.mjs +1 -1
  68. package/dist/es/components/input-number/input-number.mjs +2 -2
  69. package/dist/es/components/pca-picker/pca-picker.mjs +9 -9
  70. package/dist/es/components/screenfull/screenfull.mjs +1 -1
  71. package/dist/es/components/scrollbar/scrollbar.mjs +1 -1
  72. package/dist/es/components/select/select.mjs +3 -3
  73. package/dist/es/components/single-player/single-player.mjs +8 -8
  74. package/dist/es/components/switch/switch.mjs +4 -4
  75. package/dist/es/components/tags/tags.mjs +5 -5
  76. package/dist/es/components/text-ellipsis/text-ellipsis.mjs +1 -1
  77. package/dist/es/components/thousand-input/thousand-input.mjs +1 -1
  78. package/dist/es/components/tinymce/tinymce.mjs +1 -1
  79. package/dist/es/components/transfer/transfer.mjs +2 -2
  80. package/dist/es/components/transfer-panel/transfer-panel.mjs +2 -2
  81. package/dist/es/components/tree-picker/tree-picker.mjs +7 -7
  82. package/dist/es/index.mjs +1 -1
  83. package/dist/index.css +23 -13
  84. package/package.json +1 -1
@@ -1,17 +1,120 @@
1
1
  import './index.css'
2
2
  import '../../chunk/Gk1J52Yw.mjs';
3
- import { E as ElTree } from '../../chunk/eqwEsspo.mjs';
4
- import '../../chunk/DBf73TLo.mjs';
3
+ import { E as ElTree } from '../../chunk/Bzfzbt8j.mjs';
4
+ import '../../chunk/DjbzvF4e.mjs';
5
5
  import '../../chunk/DbhQlaOz.mjs';
6
6
  import { defineComponent, useTemplateRef, computed, watch, onBeforeUnmount, 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
+ import '../../chunk/D9iEroQw.mjs';
9
+ import { useFormDisabled } from 'element-plus';
8
10
  import { C as Component$3 } from '../button/button.mjs';
9
11
  import { i as injectExplorerPanelState } from '../explorer-panel/explorer-panel2.mjs';
10
12
  import { C as Component$2 } from '../iconify-icon/iconify-icon.mjs';
11
13
  import { C as Component$1 } from '../scrollbar/scrollbar.mjs';
14
+ import { c as cloneDeep } from '../../chunk/BIOLCk4C.mjs';
12
15
  import { E as ElIcon } from '../../chunk/D0QTifnI.mjs';
13
16
  import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
14
17
 
18
+ function filter(items, check, options) {
19
+ const prop = options?.prop ?? "children";
20
+ const fullPath = options?.fullPath ?? true;
21
+ const result = [];
22
+ items.forEach((item) => {
23
+ if (check(item)) {
24
+ result.push(item);
25
+ } else {
26
+ const children = item[prop];
27
+ if (children && children.length > 0) {
28
+ const filteredChildren = filter(children, check, { prop, fullPath });
29
+ if (filteredChildren && filteredChildren.length > 0) {
30
+ if (fullPath) {
31
+ result.push({ ...item, [prop]: filteredChildren });
32
+ } else {
33
+ result.push(...filteredChildren);
34
+ }
35
+ }
36
+ }
37
+ }
38
+ });
39
+ return result;
40
+ }
41
+ function getPath(items, compare, options) {
42
+ const prop = options?.prop ?? "children";
43
+ const result = [];
44
+ const getNode = (items1) => {
45
+ return items1.some((item) => {
46
+ result.push(item);
47
+ if (compare(item)) {
48
+ return true;
49
+ } else {
50
+ const children = item[prop];
51
+ if (children && children.length > 0) {
52
+ const isGot = getNode(children);
53
+ if (isGot) {
54
+ return true;
55
+ } else {
56
+ result.pop();
57
+ return false;
58
+ }
59
+ } else {
60
+ result.pop();
61
+ return false;
62
+ }
63
+ }
64
+ });
65
+ };
66
+ getNode(items);
67
+ return result;
68
+ }
69
+ function isSelfOrDescendant(treeData, self, target) {
70
+ const selfNode = findNode(treeData, self);
71
+ if (!selfNode)
72
+ return false;
73
+ if (selfNode.value === target)
74
+ return true;
75
+ return hasDescendant(selfNode, target);
76
+ }
77
+ function findNode(treeData, value, compare = (a, b) => a.value === b) {
78
+ for (const node of treeData) {
79
+ if (compare(node, value)) {
80
+ return node;
81
+ }
82
+ if (node.children?.length) {
83
+ const found = findNode(node.children, value, compare);
84
+ if (found)
85
+ return found;
86
+ }
87
+ }
88
+ return null;
89
+ }
90
+ function hasDescendant(node, target) {
91
+ if (!node.children?.length)
92
+ return false;
93
+ for (const child of node.children) {
94
+ if (child.value === target)
95
+ return true;
96
+ if (hasDescendant(child, target))
97
+ return true;
98
+ }
99
+ return false;
100
+ }
101
+ function traverse(treeData, callback) {
102
+ for (const node of treeData) {
103
+ callback(node);
104
+ if (node.children?.length) {
105
+ traverse(node.children, callback);
106
+ }
107
+ }
108
+ }
109
+ const index = {
110
+ filter,
111
+ getPath,
112
+ isSelfOrDescendant,
113
+ findNode,
114
+ hasDescendant,
115
+ traverse
116
+ };
117
+
15
118
  const _sfc_main = /* @__PURE__ */ defineComponent({
16
119
  __name: "explorer-tree",
17
120
  props: {
@@ -27,7 +130,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
130
  return { msg: `确定要删除 ${node.data.label} 吗?` };
28
131
  } },
29
132
  filterMethod: {},
30
- highlightCurrent: { type: Boolean, default: true }
133
+ highlightCurrent: { type: Boolean, default: true },
134
+ disabled: { type: Boolean, default: void 0 }
31
135
  },
32
136
  emits: ["nodeClick", "create", "modify", "remove", "up", "down"],
33
137
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -35,6 +139,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
139
  const emits = __emit;
36
140
  const treeRef = useTemplateRef("treeRef");
37
141
  const { filterKeyword } = injectExplorerPanelState();
142
+ const formDisabled = useFormDisabled();
38
143
  const actionsMapping = {
39
144
  create: { title: "新增", type: "primary", icon: "Plus" },
40
145
  modify: { title: "修改", type: "primary", icon: "Edit" },
@@ -51,6 +156,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
51
156
  nodeKey: "value",
52
157
  ...props.treeProps
53
158
  }));
159
+ const treeData = computed(() => {
160
+ if (formDisabled.value) {
161
+ const copyData = cloneDeep(props.data);
162
+ index.traverse(copyData || [], (node) => {
163
+ node.disabled = true;
164
+ });
165
+ return copyData;
166
+ }
167
+ return props.data;
168
+ });
54
169
  function filterNode(value, data) {
55
170
  if (!value || !filterKeyword.value) {
56
171
  return true;
@@ -81,7 +196,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
81
196
  withDirectives(createVNode(_component_ElTree, mergeProps({
82
197
  ref_key: "treeRef",
83
198
  ref: treeRef,
84
- data: __props.data
199
+ data: unref(treeData)
85
200
  }, { ..._ctx.$attrs, ...unref(treeProps) }, {
86
201
  class: _ctx.$style.tree,
87
202
  "filter-node-method": filterNode,
@@ -128,8 +243,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
128
243
  link: "",
129
244
  icon: { type: "el", name: actionsMapping[action].icon },
130
245
  stop: "",
246
+ disabled: unref(formDisabled),
131
247
  onClick: ($event) => emits(action, node.data.value, node)
132
- }), null, 16, ["confirm", "class", "icon", "onClick"]))
248
+ }), null, 16, ["confirm", "class", "icon", "disabled", "onClick"]))
133
249
  ], 64);
134
250
  }), 128))
135
251
  ], 2)) : createCommentVNode("", true),
@@ -2056,6 +2056,7 @@ declare const __VLS_component: import('vue').DefineComponent<IExplorerTreeProps,
2056
2056
  onDown?: ((value: string | number, node: Node) => any) | undefined;
2057
2057
  onNodeClick?: ((value: string | number, node: Node, instance: ComponentInternalInstance | null, event: MouseEvent) => any) | undefined;
2058
2058
  }>, {
2059
+ disabled: boolean;
2059
2060
  loadingText: string;
2060
2061
  emptyText: string;
2061
2062
  highlightCurrent: boolean;
@@ -1,24 +1,24 @@
1
1
  import './index.css'
2
2
  import '../../chunk/Gk1J52Yw.mjs';
3
- import '../../chunk/BH1e_-Fa.mjs';
3
+ import '../../chunk/BW5gB8WZ.mjs';
4
4
  /* empty css */
5
5
  import { ref, computed, watch, defineComponent, useTemplateRef, onMounted, createElementBlock, openBlock, normalizeClass, createVNode, unref, withCtx, createElementVNode, isRef, Fragment, renderList, createTextVNode, toDisplayString, createBlock, useCssModule, h, onUnmounted, createCommentVNode, createSlots, useCssVars, mergeProps } from 'vue';
6
6
  import { promiseTimeout, useVModel } from '@vueuse/core';
7
7
  import { useFormDisabled } from 'element-plus';
8
8
  import { C as Component$2 } from '../iconify-icon/iconify-icon.mjs';
9
9
  import { C as Component$4 } from '../input/input.mjs';
10
- import { E as ElPagination } from '../../chunk/BA_oVIng.mjs';
10
+ import { E as ElPagination } from '../../chunk/CsduCAhD.mjs';
11
11
  /* empty css */
12
- import '../../chunk/BPQ3KP1S.mjs';
13
- import '../../chunk/CqhShW5K.mjs';
14
- import { E as ElInput } from '../../chunk/DFOYvCRL.mjs';
12
+ import '../../chunk/BBZTrt3P.mjs';
13
+ import '../../chunk/Domw3dVd.mjs';
14
+ import { E as ElInput } from '../../chunk/BB8sGHSt.mjs';
15
15
  import { E as ElDivider } from '../../chunk/CzdaOBtA.mjs';
16
- import { E as ElButton } from '../../chunk/Db0Pk78M.mjs';
16
+ import { E as ElButton } from '../../chunk/DZolJ2S8.mjs';
17
17
  import { C as Component$3 } from '../select/select.mjs';
18
18
  import { C as Component$1 } from '../scrollbar/scrollbar.mjs';
19
- import { d as debounce } from '../../chunk/Cdh3HNZa.mjs';
19
+ import { d as debounce } from '../../chunk/U62y-y-e.mjs';
20
20
  import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
21
- import { E as ElPopover } from '../../chunk/DdY32YAP.mjs';
21
+ import { E as ElPopover } from '../../chunk/BPqAVQeM.mjs';
22
22
 
23
23
  const baseUrl = "https://api.iconify.design";
24
24
  function paginateArray(array, ps, p) {
@@ -1,8 +1,8 @@
1
1
  import './index.css'
2
2
  import '../../chunk/Gk1J52Yw.mjs';
3
3
  /* empty css */
4
- import { a as ElTooltip } from '../../chunk/BH1e_-Fa.mjs';
5
- import { E as ElImage } from '../../chunk/BQk-dhWy.mjs';
4
+ import { a as ElTooltip } from '../../chunk/BW5gB8WZ.mjs';
5
+ import { E as ElImage } from '../../chunk/DQNzr_4r.mjs';
6
6
  import { defineComponent, useSlots, useTemplateRef, ref, computed, createElementBlock, openBlock, Fragment, createCommentVNode, createBlock, unref, normalizeClass, createElementVNode, withCtx, createVNode, renderSlot, createTextVNode, toDisplayString, normalizeStyle } from 'vue';
7
7
  import { C as Component$1 } from '../el-icon/el-icon.mjs';
8
8
  import { C as Component$2 } from '../text-ellipsis/text-ellipsis.mjs';
@@ -1,6 +1,6 @@
1
1
  import './index.css'
2
2
  import '../../chunk/Gk1J52Yw.mjs';
3
- import { E as ElInput } from '../../chunk/DFOYvCRL.mjs';
3
+ import { E as ElInput } from '../../chunk/BB8sGHSt.mjs';
4
4
  import { defineComponent, useCssVars, unref, computed, useCssModule, useTemplateRef, createBlock, openBlock, normalizeClass, createSlots, withCtx, renderSlot } from 'vue';
5
5
  import { useFormDisabled, useFormItem } from 'element-plus';
6
6
  import { f as formatToPx } from '../../chunk/DZ5W9TaA.mjs';
@@ -1,7 +1,7 @@
1
1
  import './index.css'
2
2
  import '../../chunk/Gk1J52Yw.mjs';
3
- import '../../chunk/DFOYvCRL.mjs';
4
- import { E as ElInputNumber } from '../../chunk/C-7W07Z_.mjs';
3
+ import '../../chunk/BB8sGHSt.mjs';
4
+ import { E as ElInputNumber } from '../../chunk/D3qdudO9.mjs';
5
5
  import { defineComponent, useCssVars, unref, computed, useSlots, useCssModule, ref, useTemplateRef, watch, onUnmounted, createElementBlock, openBlock, normalizeClass, createCommentVNode, createBlock, renderSlot, mergeProps, isRef, createSlots, withCtx, nextTick } from 'vue';
6
6
  import { useFormDisabled, useFormItem } from 'element-plus';
7
7
  import { f as formatToPx } from '../../chunk/DZ5W9TaA.mjs';
@@ -1,13 +1,13 @@
1
1
  import './index.css'
2
2
  import { b as buildProps, d as definePropType, u as useNamespace, j as isObject, i as isString } from '../../chunk/Gk1J52Yw.mjs';
3
- import '../../chunk/BH1e_-Fa.mjs';
3
+ import '../../chunk/BW5gB8WZ.mjs';
4
4
  /* empty css */
5
- import { P as PopoverCascader, E as ElCascader } from '../../chunk/QtiOxqKv.mjs';
6
- import '../../chunk/DFOYvCRL.mjs';
5
+ import { P as PopoverCascader, E as ElCascader } from '../../chunk/BU1UFWyy.mjs';
6
+ import '../../chunk/BB8sGHSt.mjs';
7
7
  /* empty css */
8
- import '../../chunk/DBf73TLo.mjs';
9
- import '../../chunk/Do7HIVy5.mjs';
10
- import '../../chunk/CqhShW5K.mjs';
8
+ import '../../chunk/DjbzvF4e.mjs';
9
+ import '../../chunk/DfVuDj0a.mjs';
10
+ import '../../chunk/Domw3dVd.mjs';
11
11
  import { defineComponent, inject, computed, createBlock, openBlock, resolveDynamicComponent, normalizeStyle, normalizeClass, withCtx, renderSlot, provide, useSlots, ref, watch, onMounted, createElementBlock, createCommentVNode, createElementVNode, unref, nextTick, onBeforeUnmount, createTextVNode, toDisplayString, shallowRef, toRefs, Fragment, createVNode, renderList, useTemplateRef, mergeProps, isRef, useCssVars, useCssModule } from 'vue';
12
12
  import { useFormDisabled, useFormItem } from 'element-plus';
13
13
  import { useInject, useProvide } from '../../use/useStore/index.mjs';
@@ -15,8 +15,8 @@ import { f as formatToPx } from '../../chunk/DZ5W9TaA.mjs';
15
15
  import { i as injectConfig } from '../config-provider/config-provider2.mjs';
16
16
  import { isClient, useEventListener, useStorage, useVModel, useToggle, onClickOutside, useThrottleFn } from '@vueuse/core';
17
17
  import { i as index } from '../../chunk/D9iEroQw.mjs';
18
- import { m as map, f as flatMap } from '../../chunk/C5I6QvTa.mjs';
19
- import { b as baseFlatten } from '../../chunk/B-xUksL-.mjs';
18
+ import { m as map, f as flatMap } from '../../chunk/BHV9Fsm-.mjs';
19
+ import { b as baseFlatten } from '../../chunk/CHcjDmH7.mjs';
20
20
  import { _ as _export_sfc, w as withInstall, a as withNoopInstall } from '../../chunk/V6KjsUQN.mjs';
21
21
  import { m as mutable } from '../../chunk/B-rxnVJv.mjs';
22
22
  import { b as isNumber, c as isUndefined, e as isWindow } from '../../chunk/Bc6yUGLs.mjs';
@@ -27,7 +27,7 @@ import { a as getOffsetTopDistance } from '../../chunk/DxxbB5jY.mjs';
27
27
  import { C as CHANGE_EVENT } from '../../chunk/Ct6q2FXg.mjs';
28
28
  import { E as ElDivider } from '../../chunk/CzdaOBtA.mjs';
29
29
  import { E as ElText } from '../../chunk/DbhQlaOz.mjs';
30
- import { E as ElPopover } from '../../chunk/DdY32YAP.mjs';
30
+ import { E as ElPopover } from '../../chunk/BPqAVQeM.mjs';
31
31
 
32
32
  /** Used as references for various `Number` constants. */
33
33
  var INFINITY = 1 / 0;
@@ -1,6 +1,6 @@
1
1
  import './index.css'
2
2
  import '../../chunk/Gk1J52Yw.mjs';
3
- import { v as vLoading } from '../../chunk/D-1mFPUH.mjs';
3
+ import { v as vLoading } from '../../chunk/CrmTzYDZ.mjs';
4
4
  import { defineComponent, computed, ref, shallowRef, withDirectives, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, renderSlot, createBlock, withCtx, createElementVNode } from 'vue';
5
5
  import { i as index } from '../../chunk/BaJ7k5Lg.mjs';
6
6
  import '../../chunk/D9iEroQw.mjs';
@@ -1,6 +1,6 @@
1
1
  import './index.css'
2
2
  import '../../chunk/Gk1J52Yw.mjs';
3
- import { E as ElScrollbar } from '../../chunk/CqhShW5K.mjs';
3
+ import { E as ElScrollbar } from '../../chunk/Domw3dVd.mjs';
4
4
  import { defineComponent, useCssVars, useTemplateRef, createBlock, openBlock, mergeProps, withCtx, renderSlot } from 'vue';
5
5
  import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
6
6
 
@@ -1,9 +1,9 @@
1
1
  import './index.css'
2
2
  import '../../chunk/Gk1J52Yw.mjs';
3
3
  /* empty css */
4
- import { E as ElSelect } from '../../chunk/BPQ3KP1S.mjs';
5
- import '../../chunk/CqhShW5K.mjs';
6
- import '../../chunk/BH1e_-Fa.mjs';
4
+ import { E as ElSelect } from '../../chunk/BBZTrt3P.mjs';
5
+ import '../../chunk/Domw3dVd.mjs';
6
+ import '../../chunk/BW5gB8WZ.mjs';
7
7
  import { defineComponent, useCssVars, unref, computed, useCssModule, createBlock, openBlock, mergeProps } from 'vue';
8
8
  import { useFormDisabled, useFormItem } from 'element-plus';
9
9
  import { f as formatToPx } from '../../chunk/DZ5W9TaA.mjs';
@@ -1,23 +1,23 @@
1
1
  import './index.css'
2
2
  import { c as isArray, b as buildProps, d as definePropType, u as useNamespace, i as isString, a as debugWarn, t as throwError } from '../../chunk/Gk1J52Yw.mjs';
3
- import '../../chunk/DFOYvCRL.mjs';
4
- import { E as ElInputNumber } from '../../chunk/C-7W07Z_.mjs';
3
+ import '../../chunk/BB8sGHSt.mjs';
4
+ import { E as ElInputNumber } from '../../chunk/D3qdudO9.mjs';
5
5
  /* empty css */
6
- import { E as Ee, a as ElTooltip } from '../../chunk/BH1e_-Fa.mjs';
6
+ import { E as Ee, a as ElTooltip } from '../../chunk/BW5gB8WZ.mjs';
7
7
  import { inject, ref, computed, watch, nextTick, defineComponent, reactive, toRefs, createElementBlock, openBlock, unref, normalizeStyle, normalizeClass, createVNode, withCtx, createElementVNode, toDisplayString, h, shallowRef, onMounted, provide, createBlock, createCommentVNode, Fragment, renderList, withModifiers, isRef } from 'vue';
8
8
  import { _ as _sfc_main$3 } from '../awesome-icon/awesome-icon.mjs';
9
9
  import { useEventListener } from '@vueuse/core';
10
10
  import { u as useSizeProp } from '../../chunk/vPhxogl3.mjs';
11
- import { u as useAriaProps } from '../../chunk/B-xUksL-.mjs';
11
+ import { u as useAriaProps } from '../../chunk/CHcjDmH7.mjs';
12
12
  import { C as CHANGE_EVENT, I as INPUT_EVENT, U as UPDATE_MODEL_EVENT } from '../../chunk/Ct6q2FXg.mjs';
13
13
  import { b as isNumber } from '../../chunk/Bc6yUGLs.mjs';
14
14
  import { _ as _export_sfc, w as withInstall } from '../../chunk/V6KjsUQN.mjs';
15
15
  import { g as getEventCode, E as EVENT_CODE } from '../../chunk/BTpNRPQW.mjs';
16
- import { d as debounce } from '../../chunk/Cdh3HNZa.mjs';
17
- import { c as clamp } from '../../chunk/Bu3XHP55.mjs';
16
+ import { d as debounce } from '../../chunk/U62y-y-e.mjs';
17
+ import { c as clamp } from '../../chunk/D_C-2Zj7.mjs';
18
18
  import { u as useFormItem, a as useFormDisabled, b as useFormItemInputId, c as useFormSize } from '../../chunk/CBMjhoFP.mjs';
19
- import { u as useLocale } from '../../chunk/CJ0afvkJ.mjs';
20
- import { i as isObjectLike, b as baseGetTag } from '../../chunk/ytiKcA3H.mjs';
19
+ import { u as useLocale } from '../../chunk/Dz2wWDrj.mjs';
20
+ import { i as isObjectLike, b as baseGetTag } from '../../chunk/CCyhxG7Y.mjs';
21
21
  import { _ as _export_sfc$1 } from '../../chunk/pcqpp-6-.mjs';
22
22
 
23
23
  /** `Object#toString` result references. */
@@ -1,9 +1,9 @@
1
1
  import './index.css'
2
2
  import { i as isString, b as buildProps, d as definePropType, u as useNamespace, a as debugWarn, k as isPromise, t as throwError } from '../../chunk/Gk1J52Yw.mjs';
3
- import { E as ElPopconfirm } from '../../chunk/CNHQauEr.mjs';
4
- import '../../chunk/BH1e_-Fa.mjs';
3
+ import { E as ElPopconfirm } from '../../chunk/DFz29g6l.mjs';
4
+ import '../../chunk/BW5gB8WZ.mjs';
5
5
  /* empty css */
6
- import '../../chunk/Db0Pk78M.mjs';
6
+ import '../../chunk/DZolJ2S8.mjs';
7
7
  import { defineComponent, computed, ref, shallowRef, watch, onMounted, createElementBlock, openBlock, withModifiers, normalizeClass, createElementVNode, createCommentVNode, withKeys, unref, renderSlot, createBlock, withCtx, resolveDynamicComponent, toDisplayString, normalizeStyle, createVNode, nextTick, useTemplateRef, mergeProps, isRef } from 'vue';
8
8
  import { useFormDisabled as useFormDisabled$1 } from 'element-plus';
9
9
  import { useVModel } from '@vueuse/core';
@@ -11,7 +11,7 @@ import { E as ElIcon } from '../../chunk/D0QTifnI.mjs';
11
11
  import { Loading } from '@element-plus/icons-vue';
12
12
  import { c as componentSizes } from '../../chunk/vPhxogl3.mjs';
13
13
  import { i as iconPropType } from '../icon/icon2.mjs';
14
- import { u as useAriaProps } from '../../chunk/B-xUksL-.mjs';
14
+ import { u as useAriaProps } from '../../chunk/CHcjDmH7.mjs';
15
15
  import { I as INPUT_EVENT, C as CHANGE_EVENT, U as UPDATE_MODEL_EVENT } from '../../chunk/Ct6q2FXg.mjs';
16
16
  import { d as isBoolean, b as isNumber } from '../../chunk/Bc6yUGLs.mjs';
17
17
  import { _ as _export_sfc, w as withInstall } from '../../chunk/V6KjsUQN.mjs';
@@ -1,9 +1,9 @@
1
1
  import './index.css'
2
2
  import '../../chunk/Gk1J52Yw.mjs';
3
- import '../../chunk/BH1e_-Fa.mjs';
3
+ import '../../chunk/BW5gB8WZ.mjs';
4
4
  /* empty css */
5
- import { E as ElAlert } from '../../chunk/Bj4UMVBI.mjs';
6
- import { E as ElInput } from '../../chunk/DFOYvCRL.mjs';
5
+ import { E as ElAlert } from '../../chunk/jKXm19NZ.mjs';
6
+ import { E as ElInput } from '../../chunk/BB8sGHSt.mjs';
7
7
  import { E as ElSpace } from '../../chunk/Dgu95mOy.mjs';
8
8
  /* empty css */
9
9
  import { defineComponent, ref, computed, watch, createBlock, unref, openBlock, withCtx, createElementBlock, Fragment, renderList, mergeProps, createTextVNode, toDisplayString, createVNode, createCommentVNode, normalizeClass, isRef, withDirectives, withKeys } from 'vue';
@@ -11,8 +11,8 @@ import { useFormDisabled, useFormItem } from 'element-plus';
11
11
  import { VueDraggable } from 'vue-draggable-plus';
12
12
  import { v as vFocus } from '../../chunk/CL65DvCP.mjs';
13
13
  import { C as Component$1 } from '../button/button.mjs';
14
- import { E as ElTag } from '../../chunk/jjYAptTv.mjs';
15
- import { E as ElPopover } from '../../chunk/DdY32YAP.mjs';
14
+ import { E as ElTag } from '../../chunk/CQrdG2WN.mjs';
15
+ import { E as ElPopover } from '../../chunk/BPqAVQeM.mjs';
16
16
  import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
17
17
 
18
18
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,7 +1,7 @@
1
1
  import './index.css'
2
2
  import '../../chunk/Gk1J52Yw.mjs';
3
3
  /* empty css */
4
- import { a as ElTooltip } from '../../chunk/BH1e_-Fa.mjs';
4
+ import { a as ElTooltip } from '../../chunk/BW5gB8WZ.mjs';
5
5
  import { defineComponent, ref, useTemplateRef, computed, watch, onMounted, nextTick, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createBlock, createCommentVNode, withCtx, createElementVNode, renderSlot, createTextVNode, toDisplayString } from 'vue';
6
6
  import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
7
7
 
@@ -2,7 +2,7 @@ import './index.css'
2
2
  import { defineComponent, useTemplateRef, computed, ref, watch, nextTick, withDirectives, createCommentVNode, unref, createBlock, openBlock, mergeProps, isRef, createSlots, withCtx, renderSlot } from 'vue';
3
3
  import { t as thousand } from '../../chunk/Mq_fqKb4.mjs';
4
4
  import { C as Component$1 } from '../input/input.mjs';
5
- import { i as isEqual } from '../../chunk/q2jRgbir.mjs';
5
+ import { i as isEqual } from '../../chunk/Dc7H636F.mjs';
6
6
  import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
7
7
 
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,6 +1,6 @@
1
1
  import './index.css'
2
2
  import '../../chunk/Gk1J52Yw.mjs';
3
- import { v as vLoading } from '../../chunk/D-1mFPUH.mjs';
3
+ import { v as vLoading } from '../../chunk/CrmTzYDZ.mjs';
4
4
  import { defineComponent, useCssVars, shallowRef, ref, computed, watch, onMounted, onBeforeUnmount, withDirectives, createElementBlock, openBlock, normalizeClass, createElementVNode, unref } from 'vue';
5
5
  import { useDark } from '@vueuse/core';
6
6
  import { i as index } from '../../chunk/BaJ7k5Lg.mjs';
@@ -1,6 +1,6 @@
1
1
  import './index.css'
2
2
  import '../../chunk/Gk1J52Yw.mjs';
3
- import '../../chunk/BH1e_-Fa.mjs';
3
+ import '../../chunk/BW5gB8WZ.mjs';
4
4
  /* empty css */
5
5
  import { defineComponent, useCssVars, unref, computed, useCssModule, useTemplateRef, createBlock, openBlock, withCtx, createElementVNode, normalizeClass, createVNode, isRef, mergeProps } from 'vue';
6
6
  import { useFormDisabled } from 'element-plus';
@@ -8,7 +8,7 @@ import { f as formatToPx } from '../../chunk/DZ5W9TaA.mjs';
8
8
  import { C as Component$2 } from '../select/select.mjs';
9
9
  import { C as Component$1 } from '../transfer-panel/transfer-panel.mjs';
10
10
  import { useVModel, useToggle, useThrottleFn, onClickOutside } from '@vueuse/core';
11
- import { E as ElPopover } from '../../chunk/DdY32YAP.mjs';
11
+ import { E as ElPopover } from '../../chunk/BPqAVQeM.mjs';
12
12
  import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
13
13
 
14
14
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -2,14 +2,14 @@ import './index.css'
2
2
  import { defineComponent, useCssVars, ref, computed, createElementBlock, openBlock, normalizeClass, createVNode, createElementVNode, unref, withKeys, isRef, withCtx, createBlock, createTextVNode, toDisplayString, Fragment, renderList, createCommentVNode, renderSlot } from 'vue';
3
3
  import { useFormDisabled } from 'element-plus';
4
4
  import '../../chunk/Gk1J52Yw.mjs';
5
- import { E as ElInput } from '../../chunk/DFOYvCRL.mjs';
5
+ import { E as ElInput } from '../../chunk/BB8sGHSt.mjs';
6
6
  import { E as ElText } from '../../chunk/DbhQlaOz.mjs';
7
7
  import { Search } from '@element-plus/icons-vue';
8
8
  import { C as Component$3 } from '../button/button.mjs';
9
9
  import { C as Component$2 } from '../iconify-icon/iconify-icon.mjs';
10
10
  import { C as Component$1 } from '../scrollbar/scrollbar.mjs';
11
11
  import { useVModel } from '@vueuse/core';
12
- import { d as debounce } from '../../chunk/Cdh3HNZa.mjs';
12
+ import { d as debounce } from '../../chunk/U62y-y-e.mjs';
13
13
  import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
14
14
 
15
15
  const _hoisted_1 = ["onClick"];
@@ -1,19 +1,19 @@
1
1
  import './index.css'
2
2
  import './popover-cascader.css'
3
3
  import '../../chunk/Gk1J52Yw.mjs';
4
- import '../../chunk/BH1e_-Fa.mjs';
4
+ import '../../chunk/BW5gB8WZ.mjs';
5
5
  /* empty css */
6
- import { P as PopoverCascader, E as ElCascader } from '../../chunk/QtiOxqKv.mjs';
7
- import '../../chunk/DFOYvCRL.mjs';
6
+ import { P as PopoverCascader, E as ElCascader } from '../../chunk/BU1UFWyy.mjs';
7
+ import '../../chunk/BB8sGHSt.mjs';
8
8
  /* empty css */
9
- import '../../chunk/DBf73TLo.mjs';
10
- import '../../chunk/Do7HIVy5.mjs';
11
- import '../../chunk/CqhShW5K.mjs';
9
+ import '../../chunk/DjbzvF4e.mjs';
10
+ import '../../chunk/DfVuDj0a.mjs';
11
+ import '../../chunk/Domw3dVd.mjs';
12
12
  import { defineComponent, useCssVars, unref, computed, useCssModule, useTemplateRef, ref, createBlock, openBlock, withCtx, createElementVNode, normalizeClass, createVNode, mergeProps, isRef, createTextVNode, toDisplayString, nextTick } from 'vue';
13
13
  import { useFormDisabled, useFormItem } from 'element-plus';
14
14
  import { f as formatToPx } from '../../chunk/DZ5W9TaA.mjs';
15
15
  import { useVModel, useToggle, useThrottleFn, onClickOutside } from '@vueuse/core';
16
- import { E as ElPopover } from '../../chunk/DdY32YAP.mjs';
16
+ import { E as ElPopover } from '../../chunk/BPqAVQeM.mjs';
17
17
  import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
18
18
 
19
19
  const _sfc_main = /* @__PURE__ */ defineComponent({
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.4";
159
+ const version = "1.10.5";
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
@@ -694,7 +694,7 @@ div._main_k37nc_1 ._header_k37nc_48 {
694
694
  margin: 0 -8px;
695
695
  }
696
696
  /* source: src/components/explorer-list/explorer-list.vue */
697
- ._item_91c4w_1 {
697
+ ._item_xe2nq_1 {
698
698
  padding: 4px 8px;
699
699
  cursor: pointer;
700
700
  display: flex;
@@ -706,50 +706,60 @@ div._main_k37nc_1 ._header_k37nc_48 {
706
706
  box-sizing: border-box;
707
707
  line-height: 1;
708
708
  }
709
- ._item_91c4w_1:hover {
709
+ ._item_xe2nq_1:hover {
710
710
  background-color: var(--el-color-primary-light-9);
711
711
  }
712
- ._item_91c4w_1:hover ._actions_91c4w_16 {
712
+ ._item_xe2nq_1:hover ._actions_xe2nq_16 {
713
713
  display: inline-flex;
714
714
  align-items: flex-start;
715
715
  }
716
- ._item_91c4w_1._active_91c4w_20 {
716
+ ._item_xe2nq_1._active_xe2nq_20 {
717
717
  color: var(--el-color-primary);
718
718
  background-color: var(--el-color-primary-light-9);
719
719
  }
720
- ._label_91c4w_25 {
720
+ ._label_xe2nq_25 {
721
721
  overflow: hidden;
722
722
  text-overflow: ellipsis;
723
723
  white-space: nowrap;
724
724
  --el-checkbox-height: 24px;
725
725
  }
726
- ._label_91c4w_25 .iconify {
726
+ ._label_xe2nq_25 .iconify {
727
727
  margin-right: 4px;
728
728
  }
729
- ._actions_91c4w_16 {
729
+ ._label_xe2nq_25 .el-checkbox {
730
+ width: 100%;
731
+ }
732
+ ._label_xe2nq_25 .el-checkbox__label {
733
+ overflow: hidden;
734
+ text-overflow: ellipsis;
735
+ white-space: nowrap;
736
+ color: var(--el-text-color-regular) !important;
737
+ cursor: pointer !important;
738
+ }
739
+ ._actions_xe2nq_16 {
730
740
  display: none;
731
741
  column-gap: 4px;
732
742
  }
733
- ._actions_91c4w_16 > button {
743
+ ._actions_xe2nq_16 > button {
734
744
  margin-left: 0 !important;
735
745
  font-size: 1.2em;
736
746
  border: 1px solid var(--el-border-color-light) !important;
737
747
  }
738
- ._actions_91c4w_16 > button:hover {
748
+ ._actions_xe2nq_16 > button:hover {
739
749
  border-color: var(--el-border-color-dark) !important;
740
750
  }
741
- ._remove_91c4w_48 {
751
+ ._remove_xe2nq_58 {
742
752
  transform: translateY(-1px);
743
753
  }
744
- ._empty_91c4w_52,
745
- ._loading_91c4w_53 {
754
+ ._empty_xe2nq_62,
755
+ ._loading_xe2nq_63 {
746
756
  padding: 4px 8px;
747
757
  display: flex;
748
758
  align-items: center;
749
759
  column-gap: 4px;
750
760
  color: var(--el-text-color-secondary);
751
761
  }
752
- ._scrollbar_91c4w_61 {
762
+ ._scrollbar_xe2nq_71 {
753
763
  margin: 0 -8px;
754
764
  }
755
765
  /* source: src/components/explorer-modal-form/explorer-modal-form.vue */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wfrog/vc-ui",
3
- "version": "1.10.4",
3
+ "version": "1.10.5",
4
4
  "packageManager": "pnpm@10.20.0",
5
5
  "description": "vue3 组件库 vc-ui",
6
6
  "author": "wellfrog",