3h1-ui 3.0.0-next.213 → 3.0.0-next.215
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] : []];
|
|
@@ -42938,7 +42942,7 @@ const Descriptions = /* @__PURE__ */ defineComponent({
|
|
|
42938
42942
|
componentProps: comProps,
|
|
42939
42943
|
component
|
|
42940
42944
|
} = item;
|
|
42941
|
-
const componentProps = isFunction$5(comProps) ? comProps() : comProps;
|
|
42945
|
+
const componentProps = isFunction$5(comProps) ? comProps({}) : comProps;
|
|
42942
42946
|
const {
|
|
42943
42947
|
data,
|
|
42944
42948
|
summaryTotalFields
|
|
@@ -43119,10 +43123,11 @@ const Descriptions = /* @__PURE__ */ defineComponent({
|
|
|
43119
43123
|
if (!isIfShow)
|
|
43120
43124
|
return null;
|
|
43121
43125
|
const {
|
|
43122
|
-
componentProps,
|
|
43126
|
+
componentProps: comProps,
|
|
43123
43127
|
label,
|
|
43124
43128
|
colProps: colProps2
|
|
43125
43129
|
} = group;
|
|
43130
|
+
const componentProps = isFunction$5(comProps) ? comProps({}) : comProps;
|
|
43126
43131
|
const realSpan = ((colProps2 == null ? void 0 : colProps2.span) || ((_b = (_a2 = unref(getProps)) == null ? void 0 : _a2.baseColProps) == null ? void 0 : _b.span) || basicColProps) / basicRowProps;
|
|
43127
43132
|
const style2 = {
|
|
43128
43133
|
[`--col-span`]: `${realSpan * 100}%`,
|
|
@@ -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] : []];
|
|
@@ -42962,7 +42966,7 @@ const Descriptions = /* @__PURE__ */ vue.defineComponent({
|
|
|
42962
42966
|
componentProps: comProps,
|
|
42963
42967
|
component
|
|
42964
42968
|
} = item;
|
|
42965
|
-
const componentProps = utils$1.isFunction(comProps) ? comProps() : comProps;
|
|
42969
|
+
const componentProps = utils$1.isFunction(comProps) ? comProps({}) : comProps;
|
|
42966
42970
|
const {
|
|
42967
42971
|
data,
|
|
42968
42972
|
summaryTotalFields
|
|
@@ -43143,10 +43147,11 @@ const Descriptions = /* @__PURE__ */ vue.defineComponent({
|
|
|
43143
43147
|
if (!isIfShow)
|
|
43144
43148
|
return null;
|
|
43145
43149
|
const {
|
|
43146
|
-
componentProps,
|
|
43150
|
+
componentProps: comProps,
|
|
43147
43151
|
label,
|
|
43148
43152
|
colProps: colProps2
|
|
43149
43153
|
} = group;
|
|
43154
|
+
const componentProps = utils$1.isFunction(comProps) ? comProps({}) : comProps;
|
|
43150
43155
|
const realSpan = ((colProps2 == null ? void 0 : colProps2.span) || ((_b = (_a2 = vue.unref(getProps)) == null ? void 0 : _a2.baseColProps) == null ? void 0 : _b.span) || basicColProps) / basicRowProps;
|
|
43151
43156
|
const style2 = {
|
|
43152
43157
|
[`--col-span`]: `${realSpan * 100}%`,
|
|
@@ -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;
|