@wfrog/vc-ui 1.11.0 → 1.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/explorer-table/explorer-table.mjs +6 -2
- package/dist/es/components/explorer-table/explorer-table.vue.d.ts +4414 -2
- package/dist/es/components/explorer-tools/explorer-tools.d.ts +1 -0
- package/dist/es/components/explorer-tools/explorer-tools.mjs +9 -7
- package/dist/es/components/explorer-tools/index.css +12 -7
- package/dist/es/index.mjs +1 -1
- package/dist/index.css +12 -7
- package/package.json +1 -1
|
@@ -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, 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, 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 { ElTableColumn, ElRadio } from 'element-plus';
|
|
11
11
|
import { i as injectExplorerPanelState } from '../explorer-panel/explorer-panel2.mjs';
|
|
12
12
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
@@ -37,6 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
37
37
|
const emits = __emit;
|
|
38
38
|
const state = injectExplorerPanelState();
|
|
39
39
|
const $style = useCssModule();
|
|
40
|
+
const tableRef = useTemplateRef("tableRef");
|
|
40
41
|
const columns = computed(() => state.columnConfig.value.filter((item) => item.visible !== false));
|
|
41
42
|
const selectedValue = ref();
|
|
42
43
|
const selectedValues = ref(/* @__PURE__ */ new Set());
|
|
@@ -100,7 +101,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
100
101
|
},
|
|
101
102
|
setSelectedValues: (values) => {
|
|
102
103
|
selectedValues.value = new Set(values);
|
|
103
|
-
}
|
|
104
|
+
},
|
|
105
|
+
tableRef
|
|
104
106
|
});
|
|
105
107
|
return (_ctx, _cache) => {
|
|
106
108
|
const _component_ElTable = ElTable;
|
|
@@ -109,6 +111,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
109
111
|
class: normalizeClass(unref($style)["explorer-table"])
|
|
110
112
|
}, [
|
|
111
113
|
createVNode(_component_ElTable, mergeProps({
|
|
114
|
+
ref_key: "tableRef",
|
|
115
|
+
ref: tableRef,
|
|
112
116
|
data: __props.data,
|
|
113
117
|
stripe: "",
|
|
114
118
|
class: unref($style).table,
|