zzz-pc-view 0.0.72 → 0.0.74
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/package.json
CHANGED
package/src/index.es.js
CHANGED
|
@@ -3246,7 +3246,7 @@ class FilterHandler extends ConfigsCreator {
|
|
|
3246
3246
|
const filterConfigs = this.filterConfigsRef.value;
|
|
3247
3247
|
if (filterConfigs) {
|
|
3248
3248
|
response2 = filterConfigs.reduce((map2, config) => {
|
|
3249
|
-
if (config.show !== false) {
|
|
3249
|
+
if (config.show !== false && config.component) {
|
|
3250
3250
|
const position = config.position ?? 0;
|
|
3251
3251
|
let configs = map2[position];
|
|
3252
3252
|
if (!configs) {
|
|
@@ -10789,8 +10789,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
10789
10789
|
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
10790
10790
|
__name: "CurdTableView",
|
|
10791
10791
|
props: {
|
|
10792
|
-
viewHandler: {}
|
|
10793
|
-
listProp: {}
|
|
10792
|
+
viewHandler: {}
|
|
10794
10793
|
},
|
|
10795
10794
|
setup(__props) {
|
|
10796
10795
|
const props = __props;
|
|
@@ -10809,7 +10808,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
10809
10808
|
};
|
|
10810
10809
|
const startIndexRef = shallowRef(getStartIndex());
|
|
10811
10810
|
watch(
|
|
10812
|
-
() => props.viewHandler
|
|
10811
|
+
() => props.viewHandler.displayList,
|
|
10813
10812
|
() => {
|
|
10814
10813
|
startIndexRef.value = getStartIndex();
|
|
10815
10814
|
}
|
|
@@ -10822,7 +10821,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
10822
10821
|
return openBlock(), createBlock(_component_el_table, mergeProps({
|
|
10823
10822
|
ref_key: "tableElRef",
|
|
10824
10823
|
ref: tableElRef,
|
|
10825
|
-
data: _ctx.viewHandler
|
|
10824
|
+
data: _ctx.viewHandler.displayList,
|
|
10826
10825
|
"row-key": (_a2 = unref(primaryConfig)) == null ? void 0 : _a2.propertyKey,
|
|
10827
10826
|
class: "wrapper curd-table-view"
|
|
10828
10827
|
}, tableParamComputed.value.props || unref(emptyObject2), toHandlers(tableParamComputed.value.on || unref(emptyObject2))), {
|
|
@@ -10952,10 +10951,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
10952
10951
|
default: withCtx(() => [
|
|
10953
10952
|
createElementVNode("div", _hoisted_3$3, [
|
|
10954
10953
|
renderSlot(_ctx.$slots, "content", {}, () => [
|
|
10955
|
-
createVNode(_sfc_main$j, {
|
|
10956
|
-
"view-handler": _ctx.viewHandler,
|
|
10957
|
-
"list-prop": "displayList"
|
|
10958
|
-
}, null, 8, ["view-handler"])
|
|
10954
|
+
createVNode(_sfc_main$j, { "view-handler": _ctx.viewHandler }, null, 8, ["view-handler"])
|
|
10959
10955
|
])
|
|
10960
10956
|
])
|
|
10961
10957
|
]),
|