3h1-ui 3.0.0-next.213 → 3.0.0-next.214
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/es/index.js
CHANGED
|
@@ -31940,6 +31940,10 @@ withInstall$5(ShyTable);
|
|
|
31940
31940
|
const formTable = "";
|
|
31941
31941
|
const ShyFormTable = /* @__PURE__ */ defineComponent({
|
|
31942
31942
|
props: {
|
|
31943
|
+
isShowIndex: {
|
|
31944
|
+
type: Boolean,
|
|
31945
|
+
default: true
|
|
31946
|
+
},
|
|
31943
31947
|
rowKey: {
|
|
31944
31948
|
type: String,
|
|
31945
31949
|
default: () => "uuid"
|
|
@@ -32042,7 +32046,7 @@ const ShyFormTable = /* @__PURE__ */ defineComponent({
|
|
|
32042
32046
|
align: "left",
|
|
32043
32047
|
fixed: "right"
|
|
32044
32048
|
};
|
|
32045
|
-
return [indexColumn, ...props2.columns.map((item) => ({
|
|
32049
|
+
return [...(props2 == null ? void 0 : props2.isShowIndex) ? [indexColumn] : [], ...props2.columns.map((item) => ({
|
|
32046
32050
|
...item,
|
|
32047
32051
|
type: item.type ? item.type : "input"
|
|
32048
32052
|
})), ...(props2 == null ? void 0 : props2.isShowAction) ? [actionColumn] : []];
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { VNode } from 'vue';
|
|
2
2
|
import { TableRowSelection } from 'ant-design-vue/es/table/interface';
|
|
3
3
|
declare const ShyFormTable: import("vue").DefineComponent<{
|
|
4
|
+
isShowIndex: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
4
8
|
rowKey: {
|
|
5
9
|
type: StringConstructor;
|
|
6
10
|
default: () => "uuid";
|
|
@@ -63,6 +67,10 @@ declare const ShyFormTable: import("vue").DefineComponent<{
|
|
|
63
67
|
type: FunctionConstructor;
|
|
64
68
|
};
|
|
65
69
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("add" | "change" | "update:value" | "remove")[], "add" | "change" | "update:value" | "remove", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
70
|
+
isShowIndex: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
66
74
|
rowKey: {
|
|
67
75
|
type: StringConstructor;
|
|
68
76
|
default: () => "uuid";
|
|
@@ -136,6 +144,7 @@ declare const ShyFormTable: import("vue").DefineComponent<{
|
|
|
136
144
|
tableAction: Function;
|
|
137
145
|
rowKey: string;
|
|
138
146
|
isShowAction: boolean;
|
|
147
|
+
isShowIndex: boolean;
|
|
139
148
|
footerRender: () => VNode | VNode[] | string | number;
|
|
140
149
|
isShowAddBtn: boolean;
|
|
141
150
|
isVirtual: boolean;
|
package/lib/index.js
CHANGED
|
@@ -31964,6 +31964,10 @@ withInstall$5(ShyTable);
|
|
|
31964
31964
|
const formTable = "";
|
|
31965
31965
|
const ShyFormTable = /* @__PURE__ */ vue.defineComponent({
|
|
31966
31966
|
props: {
|
|
31967
|
+
isShowIndex: {
|
|
31968
|
+
type: Boolean,
|
|
31969
|
+
default: true
|
|
31970
|
+
},
|
|
31967
31971
|
rowKey: {
|
|
31968
31972
|
type: String,
|
|
31969
31973
|
default: () => "uuid"
|
|
@@ -32066,7 +32070,7 @@ const ShyFormTable = /* @__PURE__ */ vue.defineComponent({
|
|
|
32066
32070
|
align: "left",
|
|
32067
32071
|
fixed: "right"
|
|
32068
32072
|
};
|
|
32069
|
-
return [indexColumn, ...props2.columns.map((item) => ({
|
|
32073
|
+
return [...(props2 == null ? void 0 : props2.isShowIndex) ? [indexColumn] : [], ...props2.columns.map((item) => ({
|
|
32070
32074
|
...item,
|
|
32071
32075
|
type: item.type ? item.type : "input"
|
|
32072
32076
|
})), ...(props2 == null ? void 0 : props2.isShowAction) ? [actionColumn] : []];
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { VNode } from 'vue';
|
|
2
2
|
import { TableRowSelection } from 'ant-design-vue/es/table/interface';
|
|
3
3
|
declare const ShyFormTable: import("vue").DefineComponent<{
|
|
4
|
+
isShowIndex: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
4
8
|
rowKey: {
|
|
5
9
|
type: StringConstructor;
|
|
6
10
|
default: () => "uuid";
|
|
@@ -63,6 +67,10 @@ declare const ShyFormTable: import("vue").DefineComponent<{
|
|
|
63
67
|
type: FunctionConstructor;
|
|
64
68
|
};
|
|
65
69
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("add" | "change" | "update:value" | "remove")[], "add" | "change" | "update:value" | "remove", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
70
|
+
isShowIndex: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
66
74
|
rowKey: {
|
|
67
75
|
type: StringConstructor;
|
|
68
76
|
default: () => "uuid";
|
|
@@ -136,6 +144,7 @@ declare const ShyFormTable: import("vue").DefineComponent<{
|
|
|
136
144
|
tableAction: Function;
|
|
137
145
|
rowKey: string;
|
|
138
146
|
isShowAction: boolean;
|
|
147
|
+
isShowIndex: boolean;
|
|
139
148
|
footerRender: () => VNode | VNode[] | string | number;
|
|
140
149
|
isShowAddBtn: boolean;
|
|
141
150
|
isVirtual: boolean;
|