@wfrog/vc-ui 1.11.9 → 1.11.10

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.
@@ -6,7 +6,7 @@ import '../../chunk/NsldgdCh.mjs';
6
6
  /* empty css */
7
7
  import '../../chunk/CoGexPPD.mjs';
8
8
  import '../../chunk/CjLR27-a.mjs';
9
- import { defineComponent, h, useCssModule, useTemplateRef, computed, ref, watch, withDirectives, createElementBlock, openBlock, normalizeClass, unref, createVNode, mergeProps, createSlots, withCtx, createBlock, createCommentVNode, renderSlot, withModifiers, isRef, Fragment, renderList, createTextVNode, toDisplayString, resolveDynamicComponent } from 'vue';
9
+ import { defineComponent, h, useCssVars, useCssModule, useTemplateRef, computed, ref, watch, withDirectives, createElementBlock, openBlock, normalizeClass, unref, createVNode, mergeProps, createSlots, withCtx, createBlock, createCommentVNode, renderSlot, withModifiers, isRef, Fragment, renderList, createTextVNode, toDisplayString, resolveDynamicComponent } from 'vue';
10
10
  import { promiseTimeout } from '@vueuse/core';
11
11
  import { ElTableColumn, ElRadio, ElCheckbox } from 'element-plus';
12
12
  import { i as injectExplorerPanelState } from '../explorer-panel/explorer-panel2.mjs';
@@ -36,6 +36,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
36
  },
37
37
  emits: ["columnEvent", "singleSelectionChange", "multipleSelectionChange", "selectionChange", "selectAll"],
38
38
  setup(__props, { expose: __expose, emit: __emit }) {
39
+ useCssVars((_ctx) => ({
40
+ "v71449210": `${_ctx.empty ? "flex" : "none"}`
41
+ }));
39
42
  const props = __props;
40
43
  const emits = __emit;
41
44
  const state = injectExplorerPanelState();
@@ -157,6 +160,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
157
160
  "row-class-name": rowClassName,
158
161
  onHeaderDragend
159
162
  }), createSlots({
163
+ empty: withCtx(() => [
164
+ renderSlot(_ctx.$slots, "empty", {}, () => [
165
+ !__props.loading && !__props.pending ? (openBlock(), createElementBlock("div", _hoisted_1, toDisplayString(__props.emptyText), 1)) : (openBlock(), createElementBlock("div", _hoisted_2))
166
+ ])
167
+ ]),
160
168
  default: withCtx(() => [
161
169
  __props.selection ? (openBlock(), createBlock(unref(ElTableColumn), {
162
170
  key: 0,
@@ -252,15 +260,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
252
260
  renderSlot(_ctx.$slots, "append")
253
261
  ]),
254
262
  key: "0"
255
- } : void 0,
256
- __props.empty ? {
257
- name: "empty",
258
- fn: withCtx(() => [
259
- renderSlot(_ctx.$slots, "empty", {}, () => [
260
- !__props.loading && !__props.pending ? (openBlock(), createElementBlock("div", _hoisted_1, toDisplayString(__props.emptyText), 1)) : (openBlock(), createElementBlock("div", _hoisted_2))
261
- ])
262
- ]),
263
- key: "1"
264
263
  } : void 0
265
264
  ]), 1040, ["data", "class", "size", "highlight-current-row", "row-key"])
266
265
  ], 2)), [
@@ -270,17 +269,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
270
269
  }
271
270
  });
272
271
 
273
- /* unplugin-vue-components disabled */const table = "_table_1fnpe_7";
274
- const selection = "_selection_1fnpe_20";
275
- const radio = "_radio_1fnpe_25";
276
- const checkbox = "_checkbox_1fnpe_32";
272
+ /* unplugin-vue-components disabled */const table = "_table_p2qu9_7";
273
+ const selection = "_selection_p2qu9_27";
274
+ const radio = "_radio_p2qu9_32";
275
+ const checkbox = "_checkbox_p2qu9_39";
277
276
  const style0 = {
278
- "explorer-table": "_explorer-table_1fnpe_1",
277
+ "explorer-table": "_explorer-table_p2qu9_1",
279
278
  table: table,
280
279
  selection: selection,
281
280
  radio: radio,
282
281
  checkbox: checkbox,
283
- "selected-row": "_selected-row_1fnpe_36"
282
+ "selected-row": "_selected-row_p2qu9_43"
284
283
  };
285
284
 
286
285
  const cssModules = {
@@ -1,34 +1,41 @@
1
1
  /* source: src/components/explorer-table/explorer-table.vue */
2
- ._explorer-table_1fnpe_1 {
2
+ ._explorer-table_p2qu9_1 {
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  flex-grow: 1;
6
6
  }
7
- div._table_1fnpe_7 {
7
+ div._table_p2qu9_7 {
8
8
  flex-grow: 1;
9
9
  height: 100px;
10
10
  --el-table-header-bg-color: var(--el-color-info-light-9);
11
11
  --el-table-row-hover-bg-color: var(--el-color-primary-light-9);
12
12
  }
13
- div._table_1fnpe_7 .el-table__header-wrapper .el-table__cell:hover {
13
+ div._table_p2qu9_7 .el-scrollbar__view {
14
+ min-height: 100%;
15
+ height: 100px;
16
+ }
17
+ div._table_p2qu9_7 .el-table__header-wrapper .el-table__cell:hover {
14
18
  border-right-color: var(--el-color-primary-light-5) !important;
15
19
  }
16
- div._table_1fnpe_7 .el-table__column-resize-proxy {
20
+ div._table_p2qu9_7 .el-table__column-resize-proxy {
17
21
  border-color: var(--el-color-primary);
18
22
  }
19
- ._selection_1fnpe_20 .cell {
23
+ div._table_p2qu9_7 .el-table__empty-block {
24
+ display: var(--v71449210);
25
+ }
26
+ ._selection_p2qu9_27 .cell {
20
27
  display: flex;
21
28
  align-items: center;
22
29
  }
23
- ._radio_1fnpe_25 {
30
+ ._radio_p2qu9_32 {
24
31
  height: unset;
25
32
  }
26
- ._radio_1fnpe_25 .el-radio__label {
33
+ ._radio_p2qu9_32 .el-radio__label {
27
34
  display: none;
28
35
  }
29
- ._checkbox_1fnpe_32 {
36
+ ._checkbox_p2qu9_39 {
30
37
  height: unset;
31
38
  }
32
- ._selected-row_1fnpe_36 td.el-table__cell {
39
+ ._selected-row_p2qu9_43 td.el-table__cell {
33
40
  background-color: var(--el-color-primary-light-9) !important;
34
41
  }
package/dist/es/index.mjs CHANGED
@@ -160,7 +160,7 @@ const __vite_glob_0_49 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePr
160
160
  default: _sfc_main$8
161
161
  }, Symbol.toStringTag, { value: 'Module' }));
162
162
 
163
- const version = "1.11.9";
163
+ const version = "1.11.10";
164
164
 
165
165
  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/form-item/form-item.vue": __vite_glob_0_34,"./components/icon-picker/icon-picker.vue": __vite_glob_0_35,"./components/icon/icon.vue": __vite_glob_0_36,"./components/iconify-icon/iconify-icon.vue": __vite_glob_0_37,"./components/image/image.vue": __vite_glob_0_38,"./components/info-tooltip/info-tooltip.vue": __vite_glob_0_39,"./components/input-number/input-number.vue": __vite_glob_0_40,"./components/input/input.vue": __vite_glob_0_41,"./components/pca-picker/pca-picker.vue": __vite_glob_0_42,"./components/qr-code/qr-code.vue": __vite_glob_0_43,"./components/screenfull/screenfull.vue": __vite_glob_0_44,"./components/scrollbar/scrollbar.vue": __vite_glob_0_45,"./components/select/select.vue": __vite_glob_0_46,"./components/single-player/single-player.vue": __vite_glob_0_47,"./components/splitter-panel/splitter-panel.vue": __vite_glob_0_48,"./components/splitter/splitter.vue": __vite_glob_0_49,"./components/svg-icon/svg-icon.vue": __vite_glob_0_50,"./components/switch/switch.vue": __vite_glob_0_51,"./components/sync-scroll-container/sync-scroll-container.vue": __vite_glob_0_52,"./components/tags/tags.vue": __vite_glob_0_53,"./components/text-ellipsis/text-ellipsis.vue": __vite_glob_0_54,"./components/thousand-input/thousand-input.vue": __vite_glob_0_55,"./components/tinymce/tinymce.vue": __vite_glob_0_56,"./components/transfer-panel/transfer-panel.vue": __vite_glob_0_57,"./components/transfer/transfer.vue": __vite_glob_0_58,"./components/tree-picker/tree-picker.vue": __vite_glob_0_59,"./components/upload-file/upload-file.vue": __vite_glob_0_60});
166
166
  const upper = (_, letter) => letter.toUpperCase();
package/dist/index.css CHANGED
@@ -833,37 +833,44 @@ div._main_k37nc_1 ._header_k37nc_48 {
833
833
  margin-left: 0;
834
834
  }
835
835
  /* source: src/components/explorer-table/explorer-table.vue */
836
- ._explorer-table_1fnpe_1 {
836
+ ._explorer-table_p2qu9_1 {
837
837
  display: flex;
838
838
  flex-direction: column;
839
839
  flex-grow: 1;
840
840
  }
841
- div._table_1fnpe_7 {
841
+ div._table_p2qu9_7 {
842
842
  flex-grow: 1;
843
843
  height: 100px;
844
844
  --el-table-header-bg-color: var(--el-color-info-light-9);
845
845
  --el-table-row-hover-bg-color: var(--el-color-primary-light-9);
846
846
  }
847
- div._table_1fnpe_7 .el-table__header-wrapper .el-table__cell:hover {
847
+ div._table_p2qu9_7 .el-scrollbar__view {
848
+ min-height: 100%;
849
+ height: 100px;
850
+ }
851
+ div._table_p2qu9_7 .el-table__header-wrapper .el-table__cell:hover {
848
852
  border-right-color: var(--el-color-primary-light-5) !important;
849
853
  }
850
- div._table_1fnpe_7 .el-table__column-resize-proxy {
854
+ div._table_p2qu9_7 .el-table__column-resize-proxy {
851
855
  border-color: var(--el-color-primary);
852
856
  }
853
- ._selection_1fnpe_20 .cell {
857
+ div._table_p2qu9_7 .el-table__empty-block {
858
+ display: var(--v71449210);
859
+ }
860
+ ._selection_p2qu9_27 .cell {
854
861
  display: flex;
855
862
  align-items: center;
856
863
  }
857
- ._radio_1fnpe_25 {
864
+ ._radio_p2qu9_32 {
858
865
  height: unset;
859
866
  }
860
- ._radio_1fnpe_25 .el-radio__label {
867
+ ._radio_p2qu9_32 .el-radio__label {
861
868
  display: none;
862
869
  }
863
- ._checkbox_1fnpe_32 {
870
+ ._checkbox_p2qu9_39 {
864
871
  height: unset;
865
872
  }
866
- ._selected-row_1fnpe_36 td.el-table__cell {
873
+ ._selected-row_p2qu9_43 td.el-table__cell {
867
874
  background-color: var(--el-color-primary-light-9) !important;
868
875
  }
869
876
  /* source: src/components/explorer-tools/components/column-setter.vue,src/components/explorer-tools/explorer-tools.vue */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wfrog/vc-ui",
3
- "version": "1.11.9",
3
+ "version": "1.11.10",
4
4
  "packageManager": "pnpm@10.20.0",
5
5
  "description": "vue3 组件库 vc-ui",
6
6
  "author": "wellfrog",