@wfrog/vc-ui 1.11.10 → 1.11.12

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 (141) hide show
  1. package/dist/es/chunk/Bw0Rhd-r.mjs +110 -0
  2. package/dist/es/chunk/CqTdDZkE.mjs +31 -0
  3. package/dist/es/chunk/{DAnWZLYj.mjs → CzWfBa_8.mjs} +96 -2
  4. package/dist/es/chunk/D229kQ56.mjs +28 -0
  5. package/dist/es/chunk/{Cxx_YWUC.mjs → DcouM6gM.mjs} +6 -548
  6. package/dist/es/chunk/Fo0dZYnz.mjs +128 -0
  7. package/dist/es/chunk/KanuIcmc.mjs +412 -0
  8. package/dist/es/chunk/{B71xEPfK.mjs → uuUHUjSk.mjs} +4 -35
  9. package/dist/es/components/backbottom/backbottom.mjs +3 -2
  10. package/dist/es/components/button/button.mjs +14 -13
  11. package/dist/es/components/choice/choice.mjs +11 -9
  12. package/dist/es/components/choice/index.css +1 -1
  13. package/dist/es/components/choice-boolean/choice-boolean.mjs +3 -3
  14. package/dist/es/components/color-switch/color-switch.mjs +73 -1046
  15. package/dist/es/components/color-switch/index.css +1 -1
  16. package/dist/es/components/cropper/cropper.mjs +11 -117
  17. package/dist/es/components/cropper/index.css +1 -1
  18. package/dist/es/components/currency/currency.mjs +10 -12
  19. package/dist/es/components/daterange-picker/daterange-picker.mjs +10 -6255
  20. package/dist/es/components/dialog/dialog.mjs +14 -408
  21. package/dist/es/components/dialog/index.css +1 -1
  22. package/dist/es/components/dialog-camera-upload/dialog-camera-upload.mjs +11 -14
  23. package/dist/es/components/dialog-map-point/dialog-map-point.mjs +4 -4
  24. package/dist/es/components/dialog-upload-images/dialog-upload-images.mjs +14 -1380
  25. package/dist/es/components/dialog-upload-images/index.css +1 -1
  26. package/dist/es/components/drag-verify/drag-verify.mjs +3 -2
  27. package/dist/es/components/drawer/drawer.mjs +16 -359
  28. package/dist/es/components/drawer/index.css +3 -3
  29. package/dist/es/components/easy-pagination/easy-pagination.mjs +3 -2
  30. package/dist/es/components/explorer/explorer.mjs +8 -8
  31. package/dist/es/components/explorer-column-table/explorer-column-table.mjs +5 -7
  32. package/dist/es/components/explorer-column-table/index.css +1 -1
  33. package/dist/es/components/explorer-container/explorer-container.d.ts +1 -1
  34. package/dist/es/components/explorer-container/explorer-container.mjs +4 -3
  35. package/dist/es/components/explorer-filter/explorer-filter.mjs +5 -4
  36. package/dist/es/components/explorer-footer/explorer-footer.mjs +4 -8
  37. package/dist/es/components/explorer-form/explorer-form.mjs +4 -3
  38. package/dist/es/components/explorer-list/explorer-list.mjs +18 -13
  39. package/dist/es/components/explorer-list/explorer-list.vue.d.ts +1 -1
  40. package/dist/es/components/explorer-list/index.css +16 -16
  41. package/dist/es/components/explorer-modal-form/explorer-modal-form.mjs +8 -7
  42. package/dist/es/components/explorer-panel/explorer-panel.mjs +3 -3
  43. package/dist/es/components/explorer-query/explorer-query.mjs +9 -2201
  44. package/dist/es/components/explorer-query/index.css +1 -1
  45. package/dist/es/components/explorer-table/explorer-table.mjs +5 -8
  46. package/dist/es/components/explorer-tools/explorer-tools.mjs +23 -271
  47. package/dist/es/components/explorer-tools/index.css +9 -9
  48. package/dist/es/components/explorer-tree/explorer-tree.mjs +4 -5
  49. package/dist/es/components/explorer-tree/explorer-tree.vue.d.ts +1 -1
  50. package/dist/es/components/form-item/form-item.mjs +3 -3
  51. package/dist/es/components/icon-picker/icon-picker.mjs +8 -12
  52. package/dist/es/components/image/image.mjs +4 -4
  53. package/dist/es/components/info-tooltip/info-tooltip.mjs +336 -4
  54. package/dist/es/components/input/input.mjs +3 -2
  55. package/dist/es/components/input-number/input-number.mjs +3 -3
  56. package/dist/es/components/pca-picker/index.css +1 -1
  57. package/dist/es/components/pca-picker/pca-picker.mjs +443 -601
  58. package/dist/es/components/screenfull/screenfull.mjs +4 -3
  59. package/dist/es/components/scrollbar/index.css +1 -1
  60. package/dist/es/components/scrollbar/scrollbar.mjs +10 -10
  61. package/dist/es/components/select/index.css +1 -1
  62. package/dist/es/components/select/select.mjs +9 -10
  63. package/dist/es/components/single-player/index.css +1 -1
  64. package/dist/es/components/single-player/single-player.mjs +10 -1087
  65. package/dist/es/components/splitter/splitter.mjs +3 -3
  66. package/dist/es/components/splitter-panel/splitter-panel.mjs +3 -3
  67. package/dist/es/components/switch/index.css +1 -1
  68. package/dist/es/components/switch/switch.mjs +9 -395
  69. package/dist/es/components/tags/tags.mjs +7 -9
  70. package/dist/es/components/text-ellipsis/text-ellipsis.mjs +3 -3
  71. package/dist/es/components/thousand-input/thousand-input.mjs +39 -8
  72. package/dist/es/components/tinymce/tinymce.mjs +4 -3
  73. package/dist/es/components/transfer/transfer.mjs +3 -4
  74. package/dist/es/components/transfer-panel/transfer-panel.mjs +5 -4
  75. package/dist/es/components/tree-picker/popover-cascader.css +1 -1
  76. package/dist/es/components/tree-picker/tree-picker.mjs +5 -10
  77. package/dist/es/index.mjs +1 -1
  78. package/dist/index.css +41 -68
  79. package/package.json +1 -1
  80. package/dist/es/chunk/B-rxnVJv.mjs +0 -3
  81. package/dist/es/chunk/B5HpgPRt.mjs +0 -69
  82. package/dist/es/chunk/BBhZKpIc.mjs +0 -2179
  83. package/dist/es/chunk/BDcsaNYa.mjs +0 -59
  84. package/dist/es/chunk/BTSSEFfD.mjs +0 -319
  85. package/dist/es/chunk/BTpNRPQW.mjs +0 -55
  86. package/dist/es/chunk/BVBK1U57.mjs +0 -96
  87. package/dist/es/chunk/Bc6yUGLs.mjs +0 -45
  88. package/dist/es/chunk/BjVI1XMz.mjs +0 -40
  89. package/dist/es/chunk/BlzQCBDu.mjs +0 -5741
  90. package/dist/es/chunk/BpJKnxlF.mjs +0 -476
  91. package/dist/es/chunk/Brp-qSBw.mjs +0 -2003
  92. package/dist/es/chunk/BunQI8Jb.mjs +0 -390
  93. package/dist/es/chunk/C0XgBrDz.mjs +0 -775
  94. package/dist/es/chunk/C0pTANRX.mjs +0 -109
  95. package/dist/es/chunk/CBMjhoFP.mjs +0 -101
  96. package/dist/es/chunk/CBiNtNvQ.mjs +0 -242
  97. package/dist/es/chunk/CBlJeNBO.mjs +0 -890
  98. package/dist/es/chunk/CCVL_Zj-.mjs +0 -427
  99. package/dist/es/chunk/CEl4MyfJ.mjs +0 -252
  100. package/dist/es/chunk/CJK5_jsA.mjs +0 -53
  101. package/dist/es/chunk/CKOcwq5V.mjs +0 -44
  102. package/dist/es/chunk/COs9dJZa.mjs +0 -66
  103. package/dist/es/chunk/CPt6MxJW.mjs +0 -375
  104. package/dist/es/chunk/CVqW0jzp.mjs +0 -107
  105. package/dist/es/chunk/CccIsEqA.mjs +0 -128
  106. package/dist/es/chunk/CjLR27-a.mjs +0 -582
  107. package/dist/es/chunk/CoGexPPD.mjs +0 -2192
  108. package/dist/es/chunk/CsLIbnzG.mjs +0 -64
  109. package/dist/es/chunk/Ct6q2FXg.mjs +0 -5
  110. package/dist/es/chunk/Cuq5meQh.mjs +0 -184
  111. package/dist/es/chunk/CvYIOfT1.mjs +0 -23
  112. package/dist/es/chunk/CxHJBf4l.mjs +0 -31
  113. package/dist/es/chunk/CzdaOBtA.mjs +0 -66
  114. package/dist/es/chunk/D0QTifnI.mjs +0 -54
  115. package/dist/es/chunk/D1QnA2iT.mjs +0 -229
  116. package/dist/es/chunk/D3AvJlVX.mjs +0 -188
  117. package/dist/es/chunk/D9Lr0Bzb.mjs +0 -1136
  118. package/dist/es/chunk/DCkPv0hy.mjs +0 -29
  119. package/dist/es/chunk/DRwwUUhy.mjs +0 -49
  120. package/dist/es/chunk/DX-2VRY2.mjs +0 -836
  121. package/dist/es/chunk/DZ2oTFad.mjs +0 -687
  122. package/dist/es/chunk/D_bou1py.mjs +0 -55
  123. package/dist/es/chunk/Da199A5L.mjs +0 -314
  124. package/dist/es/chunk/DbhQlaOz.mjs +0 -94
  125. package/dist/es/chunk/Dgu95mOy.mjs +0 -237
  126. package/dist/es/chunk/DhGOsWxx.mjs +0 -6
  127. package/dist/es/chunk/Dm_Sj5aH.mjs +0 -487
  128. package/dist/es/chunk/Dmi-1GRO.mjs +0 -163
  129. package/dist/es/chunk/DodoD9a9.mjs +0 -52
  130. package/dist/es/chunk/DrrVDcwm.mjs +0 -955
  131. package/dist/es/chunk/Du_zJ1Fz.mjs +0 -49
  132. package/dist/es/chunk/DxxbB5jY.mjs +0 -34
  133. package/dist/es/chunk/Gk1J52Yw.mjs +0 -207
  134. package/dist/es/chunk/NsldgdCh.mjs +0 -704
  135. package/dist/es/chunk/V6KjsUQN.mjs +0 -35
  136. package/dist/es/chunk/eEsLFV3s.mjs +0 -76
  137. package/dist/es/chunk/fqiLhk0V.mjs +0 -2065
  138. package/dist/es/chunk/nxVM7re4.mjs +0 -35
  139. package/dist/es/chunk/s7HLrANj.mjs +0 -215
  140. package/dist/es/chunk/vPhxogl3.mjs +0 -19
  141. package/dist/es/components/icon/icon2.mjs +0 -27
@@ -1,6 +1,7 @@
1
1
  import './index.css'
2
- import '../../chunk/Gk1J52Yw.mjs';
3
- import { v as vLoading } from '../../chunk/BTSSEFfD.mjs';
2
+ import { ElLoadingDirective } from 'element-plus/es';
3
+ import 'element-plus/es/components/base/style/css';
4
+ import 'element-plus/es/components/loading/style/css';
4
5
  import { defineComponent, ref, useTemplateRef, computed, withDirectives, createElementBlock, openBlock, normalizeClass, createElementVNode, createVNode, createBlock, createCommentVNode, renderSlot, createTextVNode, toDisplayString, unref, withCtx, mergeProps } from 'vue';
5
6
  import { ElForm } from 'element-plus';
6
7
  import { C as Component$2 } from '../button/button.mjs';
@@ -60,7 +61,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
60
61
  }
61
62
  });
62
63
  return (_ctx, _cache) => {
63
- const _directive_loading = vLoading;
64
+ const _directive_loading = ElLoadingDirective;
64
65
  return withDirectives((openBlock(), createElementBlock("div", {
65
66
  class: normalizeClass(_ctx.$style["explorer-form"])
66
67
  }, [
@@ -1,15 +1,16 @@
1
1
  import './index.css'
2
- import '../../chunk/Gk1J52Yw.mjs';
3
- import { E as ElCheckboxGroup, a as ElCheckbox } from '../../chunk/NsldgdCh.mjs';
4
- /* empty css */
5
- import { defineComponent, ref, computed, createBlock, openBlock, normalizeClass, withCtx, withDirectives, createElementBlock, createCommentVNode, createElementVNode, createVNode, unref, isRef, Fragment, renderList, renderSlot, createTextVNode, toDisplayString, mergeProps, vShow } from 'vue';
2
+ import { ElCheckboxGroup, ElCheckbox, ElIcon } from 'element-plus/es';
3
+ import 'element-plus/es/components/base/style/css';
4
+ import 'element-plus/es/components/icon/style/css';
5
+ import 'element-plus/es/components/checkbox-group/style/css';
6
+ import 'element-plus/es/components/checkbox/style/css';
7
+ import { defineComponent, useCssVars, unref, computed, ref, createBlock, openBlock, normalizeClass, withCtx, withDirectives, createElementBlock, createCommentVNode, createElementVNode, createVNode, isRef, Fragment, renderList, renderSlot, createTextVNode, toDisplayString, mergeProps, vShow } from 'vue';
6
8
  import { Loading } from '@element-plus/icons-vue';
7
9
  import { C as Component$3 } from '../button/button.mjs';
8
10
  import { i as injectExplorerPanelState } from '../explorer-panel/explorer-panel2.mjs';
9
11
  import { C as Component$2 } from '../iconify-icon/iconify-icon.mjs';
10
12
  import { C as Component$1 } from '../scrollbar/scrollbar.mjs';
11
13
  import { useVModel } from '@vueuse/core';
12
- import { E as ElIcon } from '../../chunk/D0QTifnI.mjs';
13
14
  import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
14
15
 
15
16
  const _hoisted_1 = ["onClick"];
@@ -33,6 +34,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33
34
  },
34
35
  emits: ["update:modelValue", "valueChange", "itemClick", "create", "modify", "remove", "up", "down"],
35
36
  setup(__props, { expose: __expose, emit: __emit }) {
37
+ useCssVars((_ctx) => ({
38
+ "v42d68eb8": unref(cursorStyle)
39
+ }));
36
40
  const props = __props;
37
41
  const emits = __emit;
38
42
  const { filterKeyword } = injectExplorerPanelState();
@@ -52,6 +56,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
52
56
  return filterKeyword.value ? props.data.filter((item) => filterMethod(filterKeyword.value, item)) : props.data;
53
57
  });
54
58
  const isEmpty = computed(() => myData.value.length === 0);
59
+ const cursorStyle = computed(() => props.highlightCurrent ? "pointer" : "unset");
55
60
  function handleClick(item, e) {
56
61
  if (!props.highlightCurrent) {
57
62
  return;
@@ -186,14 +191,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
186
191
  }
187
192
  });
188
193
 
189
- /* unplugin-vue-components disabled */const item = "_item_xe2nq_1";
190
- const actions = "_actions_xe2nq_16";
191
- const active = "_active_xe2nq_20";
192
- const label = "_label_xe2nq_25";
193
- const remove = "_remove_xe2nq_58";
194
- const empty = "_empty_xe2nq_62";
195
- const loading = "_loading_xe2nq_63";
196
- const scrollbar = "_scrollbar_xe2nq_71";
194
+ /* unplugin-vue-components disabled */const item = "_item_e98ar_1";
195
+ const actions = "_actions_e98ar_16";
196
+ const active = "_active_e98ar_20";
197
+ const label = "_label_e98ar_25";
198
+ const remove = "_remove_e98ar_58";
199
+ const empty = "_empty_e98ar_62";
200
+ const loading = "_loading_e98ar_63";
201
+ const scrollbar = "_scrollbar_e98ar_71";
197
202
  const style0 = {
198
203
  item: item,
199
204
  actions: actions,
@@ -28,7 +28,7 @@ declare function __VLS_template(): {
28
28
  };
29
29
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
30
30
  declare const __VLS_component: import('vue').DefineComponent<IExplorerListProps, {
31
- setActive: (value: string | number) => void;
31
+ setActive: (value?: string | number) => void;
32
32
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
33
33
  "update:modelValue": (value: (string | number)[] | undefined) => any;
34
34
  create: (value: string | number, item: IExplorerListItem<any>) => any;
@@ -1,7 +1,7 @@
1
1
  /* source: src/components/explorer-list/explorer-list.vue */
2
- ._item_xe2nq_1 {
2
+ ._item_e98ar_1 {
3
3
  padding: 4px 8px;
4
- cursor: pointer;
4
+ cursor: var(--v42d68eb8);
5
5
  display: flex;
6
6
  justify-content: space-between;
7
7
  align-items: center;
@@ -11,59 +11,59 @@
11
11
  box-sizing: border-box;
12
12
  line-height: 1;
13
13
  }
14
- ._item_xe2nq_1:hover {
14
+ ._item_e98ar_1:hover {
15
15
  background-color: var(--el-color-primary-light-9);
16
16
  }
17
- ._item_xe2nq_1:hover ._actions_xe2nq_16 {
17
+ ._item_e98ar_1:hover ._actions_e98ar_16 {
18
18
  display: inline-flex;
19
19
  align-items: flex-start;
20
20
  }
21
- ._item_xe2nq_1._active_xe2nq_20 {
21
+ ._item_e98ar_1._active_e98ar_20 {
22
22
  color: var(--el-color-primary);
23
23
  background-color: var(--el-color-primary-light-9);
24
24
  }
25
- ._label_xe2nq_25 {
25
+ ._label_e98ar_25 {
26
26
  overflow: hidden;
27
27
  text-overflow: ellipsis;
28
28
  white-space: nowrap;
29
29
  --el-checkbox-height: 24px;
30
30
  }
31
- ._label_xe2nq_25 .iconify {
31
+ ._label_e98ar_25 .iconify {
32
32
  margin-right: 4px;
33
33
  }
34
- ._label_xe2nq_25 .el-checkbox {
34
+ ._label_e98ar_25 .el-checkbox {
35
35
  width: 100%;
36
36
  }
37
- ._label_xe2nq_25 .el-checkbox__label {
37
+ ._label_e98ar_25 .el-checkbox__label {
38
38
  overflow: hidden;
39
39
  text-overflow: ellipsis;
40
40
  white-space: nowrap;
41
41
  color: var(--el-text-color-regular) !important;
42
42
  cursor: pointer !important;
43
43
  }
44
- ._actions_xe2nq_16 {
44
+ ._actions_e98ar_16 {
45
45
  display: none;
46
46
  column-gap: 4px;
47
47
  }
48
- ._actions_xe2nq_16 > button {
48
+ ._actions_e98ar_16 > button {
49
49
  margin-left: 0 !important;
50
50
  font-size: 1.2em;
51
51
  border: 1px solid var(--el-border-color-light) !important;
52
52
  }
53
- ._actions_xe2nq_16 > button:hover {
53
+ ._actions_e98ar_16 > button:hover {
54
54
  border-color: var(--el-border-color-dark) !important;
55
55
  }
56
- ._remove_xe2nq_58 {
56
+ ._remove_e98ar_58 {
57
57
  transform: translateY(-1px);
58
58
  }
59
- ._empty_xe2nq_62,
60
- ._loading_xe2nq_63 {
59
+ ._empty_e98ar_62,
60
+ ._loading_e98ar_63 {
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_xe2nq_71 {
67
+ ._scrollbar_e98ar_71 {
68
68
  margin: 0 -8px;
69
69
  }
@@ -1,7 +1,8 @@
1
1
  import './index.css'
2
- import '../../chunk/Gk1J52Yw.mjs';
3
- import { v as vLoading } from '../../chunk/BTSSEFfD.mjs';
4
- import { defineComponent, useTemplateRef, shallowRef, ref, computed, watch, onUnmounted, createBlock, openBlock, resolveDynamicComponent, unref, mergeProps, isRef, withCtx, withDirectives, renderSlot, createCommentVNode, createTextVNode, createElementVNode, normalizeClass, toDisplayString } from 'vue';
2
+ import { ElLoadingDirective } from 'element-plus/es';
3
+ import 'element-plus/es/components/base/style/css';
4
+ import 'element-plus/es/components/loading/style/css';
5
+ import { defineComponent, useTemplateRef, shallowRef, ref, computed, watch, onUnmounted, createBlock, openBlock, resolveDynamicComponent, unref, isRef, withCtx, withDirectives, mergeProps, renderSlot, createCommentVNode, createTextVNode, createElementVNode, normalizeClass, toDisplayString } from 'vue';
5
6
  import { ElForm } from 'element-plus';
6
7
  import { C as Component$3 } from '../button/button.mjs';
7
8
  import { C as Component$1 } from '../dialog/dialog.mjs';
@@ -66,11 +67,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
66
67
  visibleWatch.stop();
67
68
  });
68
69
  return (_ctx, _cache) => {
69
- const _directive_loading = vLoading;
70
- return openBlock(), createBlock(resolveDynamicComponent(unref(component)), mergeProps({
70
+ const _directive_loading = ElLoadingDirective;
71
+ return openBlock(), createBlock(resolveDynamicComponent(unref(component)), {
71
72
  modelValue: unref(modalVisible),
72
73
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(modalVisible) ? modalVisible.value = $event : null)
73
- }, _ctx.$attrs), {
74
+ }, {
74
75
  title: withCtx(({ close }) => [
75
76
  createElementVNode("div", {
76
77
  class: normalizeClass(_ctx.$style["header-container"])
@@ -147,7 +148,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
147
148
  ])
148
149
  ]),
149
150
  _: 3
150
- }, 16, ["modelValue"]);
151
+ }, 8, ["modelValue"]);
151
152
  };
152
153
  }
153
154
  });
@@ -1,10 +1,10 @@
1
1
  import './index.css'
2
- import '../../chunk/Gk1J52Yw.mjs';
3
- /* empty css */
2
+ import { ElSplitterPanel } from 'element-plus/es';
3
+ import 'element-plus/es/components/base/style/css';
4
+ import 'element-plus/es/components/splitter-panel/style/css';
4
5
  import { defineComponent, useCssVars, useTemplateRef, ref, reactive, watch, onMounted, onBeforeUnmount, createBlock, openBlock, mergeProps, withCtx, createElementVNode, normalizeClass, renderSlot } from 'vue';
5
6
  import { useProvide } from '../../use/useStore/index.mjs';
6
7
  import { K as KEY_NAME } from './explorer-panel2.mjs';
7
- import { a as ElSplitterPanel } from '../../chunk/C0XgBrDz.mjs';
8
8
  import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
9
9
 
10
10
  const _sfc_main = /* @__PURE__ */ defineComponent({