sctj-components 1.0.80 → 1.0.82
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/lib/sctj-components.es.js +16 -5
- package/lib/sctj-components.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -2547,8 +2547,8 @@ const _sfc_main$i = {
|
|
|
2547
2547
|
}
|
|
2548
2548
|
};
|
|
2549
2549
|
const SCTJTableTopActionContainer = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-056cfdde"]]);
|
|
2550
|
-
const
|
|
2551
|
-
const _withScopeId$7 = (n) => (pushScopeId("data-v-
|
|
2550
|
+
const index_vue_vue_type_style_index_0_scoped_0a171bf0_lang = "";
|
|
2551
|
+
const _withScopeId$7 = (n) => (pushScopeId("data-v-0a171bf0"), n = n(), popScopeId(), n);
|
|
2552
2552
|
const _hoisted_1$d = {
|
|
2553
2553
|
key: 0,
|
|
2554
2554
|
class: "search-container"
|
|
@@ -2617,6 +2617,15 @@ const _sfc_main$h = {
|
|
|
2617
2617
|
reserveSelection: true
|
|
2618
2618
|
})
|
|
2619
2619
|
},
|
|
2620
|
+
treeProps: {
|
|
2621
|
+
type: Object,
|
|
2622
|
+
default: () => {
|
|
2623
|
+
return {
|
|
2624
|
+
hasChildren: "hasChildren",
|
|
2625
|
+
children: "children"
|
|
2626
|
+
};
|
|
2627
|
+
}
|
|
2628
|
+
},
|
|
2620
2629
|
showPagination: {
|
|
2621
2630
|
type: Boolean,
|
|
2622
2631
|
default: true
|
|
@@ -2631,6 +2640,7 @@ const _sfc_main$h = {
|
|
|
2631
2640
|
open: false,
|
|
2632
2641
|
title: ""
|
|
2633
2642
|
});
|
|
2643
|
+
const showTableColumns = computed$1(() => props.tableColumns.filter((item) => item.hidden !== true));
|
|
2634
2644
|
const queryColumns = computed$1(() => {
|
|
2635
2645
|
return props.tableColumns.filter((item) => item.query);
|
|
2636
2646
|
});
|
|
@@ -2952,6 +2962,7 @@ const _sfc_main$h = {
|
|
|
2952
2962
|
ref: tableRef,
|
|
2953
2963
|
data: dataList.value,
|
|
2954
2964
|
border: "",
|
|
2965
|
+
"tree-props": __props.treeProps,
|
|
2955
2966
|
height: "100%",
|
|
2956
2967
|
"header-cell-class-name": !__props.selectOptions.multiple ? selectionClass : "",
|
|
2957
2968
|
onSelectionChange: selectionChange,
|
|
@@ -2967,7 +2978,7 @@ const _sfc_main$h = {
|
|
|
2967
2978
|
align: "center",
|
|
2968
2979
|
fixed: "left"
|
|
2969
2980
|
}, null, 8, ["reserve-selection"])) : createCommentVNode("", true),
|
|
2970
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
2981
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(showTableColumns), (item) => {
|
|
2971
2982
|
return openBlock(), createElementBlock(Fragment, {
|
|
2972
2983
|
key: item.prop
|
|
2973
2984
|
}, [
|
|
@@ -2998,7 +3009,7 @@ const _sfc_main$h = {
|
|
|
2998
3009
|
}), 128))
|
|
2999
3010
|
]),
|
|
3000
3011
|
_: 1
|
|
3001
|
-
}, 8, ["size", "data", "header-cell-class-name", "row-key"])), [
|
|
3012
|
+
}, 8, ["size", "data", "tree-props", "header-cell-class-name", "row-key"])), [
|
|
3002
3013
|
[_directive_loading, loading.value]
|
|
3003
3014
|
]),
|
|
3004
3015
|
__props.showPagination ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
@@ -3083,7 +3094,7 @@ const _sfc_main$h = {
|
|
|
3083
3094
|
};
|
|
3084
3095
|
}
|
|
3085
3096
|
};
|
|
3086
|
-
const SCTJDialogTable = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
3097
|
+
const SCTJDialogTable = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-0a171bf0"]]);
|
|
3087
3098
|
const index_vue_vue_type_style_index_0_scoped_d4cb1fae_lang = "";
|
|
3088
3099
|
const _sfc_main$g = {
|
|
3089
3100
|
__name: "index",
|