3h1-ui 3.0.0-next.264 → 3.0.0-next.266
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 +7 -3
- package/es/ui/src/Process/src/Process.d.ts +9 -0
- package/es/ui/src/ShyForm/src/components/ApiModalSelect/ApiModalSelect.vue.d.ts +1 -1
- package/es/ui/src/ShyForm/src/components/ApiModalSelect/Modal.vue.d.ts +1 -1
- package/es/ui/src/ShyForm/src/components/ApiModalSelect/Table.vue.d.ts +1 -1
- package/es/ui/src/ShyTable/src/ShyTable.d.ts +1 -1
- package/es/ui/src/ShyTable/src/components/ShyTableHeader.d.ts +1 -1
- package/lib/index.js +7 -3
- package/lib/ui/src/Process/src/Process.d.ts +9 -0
- package/lib/ui/src/ShyForm/src/components/ApiModalSelect/ApiModalSelect.vue.d.ts +1 -1
- package/lib/ui/src/ShyForm/src/components/ApiModalSelect/Modal.vue.d.ts +1 -1
- package/lib/ui/src/ShyForm/src/components/ApiModalSelect/Table.vue.d.ts +1 -1
- package/lib/ui/src/ShyTable/src/ShyTable.d.ts +1 -1
- package/lib/ui/src/ShyTable/src/components/ShyTableHeader.d.ts +1 -1
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -11798,13 +11798,13 @@ const FormItem$2 = /* @__PURE__ */ defineComponent({
|
|
|
11798
11798
|
};
|
|
11799
11799
|
}
|
|
11800
11800
|
if (schema2.component === "Input" || schema2.component === "InputTextArea") {
|
|
11801
|
-
const maxlength = (componentProps == null ? void 0 : componentProps.maxlength) || ((_e = config == null ? void 0 : config.
|
|
11801
|
+
const maxlength = (componentProps == null ? void 0 : componentProps.maxlength) || ((_e = config == null ? void 0 : config[schema2.component]) == null ? void 0 : _e.maxlength) || 100;
|
|
11802
11802
|
componentProps = Object.assign({}, componentProps, {
|
|
11803
11803
|
maxlength
|
|
11804
11804
|
});
|
|
11805
11805
|
componentProps.onInputEvent = (e2) => {
|
|
11806
11806
|
var _a3;
|
|
11807
|
-
componentProps.maxlength = (componentProps == null ? void 0 : componentProps.maxlength) || ((_a3 = config == null ? void 0 : config.
|
|
11807
|
+
componentProps.maxlength = (componentProps == null ? void 0 : componentProps.maxlength) || ((_a3 = config == null ? void 0 : config[schema2.component]) == null ? void 0 : _a3.maxlength) || 100;
|
|
11808
11808
|
if (!get$1(getValues.value.model, getValues.value.schema.field)) {
|
|
11809
11809
|
componentProps.showCount = true;
|
|
11810
11810
|
} else {
|
|
@@ -43147,6 +43147,10 @@ const Process = /* @__PURE__ */ defineComponent({
|
|
|
43147
43147
|
timeFormat: {
|
|
43148
43148
|
type: String,
|
|
43149
43149
|
default: "YYYY-MM-DD HH:mm:ss"
|
|
43150
|
+
},
|
|
43151
|
+
isShowTitle: {
|
|
43152
|
+
type: Boolean,
|
|
43153
|
+
default: true
|
|
43150
43154
|
}
|
|
43151
43155
|
},
|
|
43152
43156
|
setup(props2) {
|
|
@@ -43225,7 +43229,7 @@ const Process = /* @__PURE__ */ defineComponent({
|
|
|
43225
43229
|
return () => {
|
|
43226
43230
|
return createVNode("div", {
|
|
43227
43231
|
"class": `${prefixCls2}-wrapper`
|
|
43228
|
-
}, [createVNode("div", {
|
|
43232
|
+
}, [props2.isShowTitle && createVNode("div", {
|
|
43229
43233
|
"class": `${prefixCls2}-header`
|
|
43230
43234
|
}, [createVNode(Divider, null, {
|
|
43231
43235
|
default: () => [props2.title]
|
|
@@ -33,6 +33,10 @@ declare const Process: import("vue").DefineComponent<{
|
|
|
33
33
|
type: StringConstructor;
|
|
34
34
|
default: string;
|
|
35
35
|
};
|
|
36
|
+
isShowTitle: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
36
40
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
41
|
title: {
|
|
38
42
|
type: StringConstructor;
|
|
@@ -68,6 +72,10 @@ declare const Process: import("vue").DefineComponent<{
|
|
|
68
72
|
type: StringConstructor;
|
|
69
73
|
default: string;
|
|
70
74
|
};
|
|
75
|
+
isShowTitle: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
71
79
|
}>>, {
|
|
72
80
|
data: Recordable<any>[];
|
|
73
81
|
title: string;
|
|
@@ -76,5 +84,6 @@ declare const Process: import("vue").DefineComponent<{
|
|
|
76
84
|
fieldNames: Record<string, any>;
|
|
77
85
|
columns: Recordable<any>[];
|
|
78
86
|
timeFormat: string;
|
|
87
|
+
isShowTitle: boolean;
|
|
79
88
|
}, {}>;
|
|
80
89
|
export { Process };
|
|
@@ -2084,6 +2084,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2084
2084
|
summaryTotalFields: string[];
|
|
2085
2085
|
bordered: boolean;
|
|
2086
2086
|
columns: import("../../../../ShyTable").ShyColumn[];
|
|
2087
|
+
isShowTitle: boolean;
|
|
2087
2088
|
formLabelInInput: boolean;
|
|
2088
2089
|
resizable: boolean;
|
|
2089
2090
|
ellipsis: boolean;
|
|
@@ -2103,7 +2104,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2103
2104
|
clearSelectOnPageChange: boolean;
|
|
2104
2105
|
rowKey: string | ((record: Recordable<any>) => string);
|
|
2105
2106
|
headerAlign: "left" | "right";
|
|
2106
|
-
isShowTitle: boolean;
|
|
2107
2107
|
showTableSetting: boolean;
|
|
2108
2108
|
tableSetting: {};
|
|
2109
2109
|
beforeFetch: Fn<any, any>;
|
|
@@ -2016,6 +2016,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2016
2016
|
summaryTotalFields: string[];
|
|
2017
2017
|
bordered: boolean;
|
|
2018
2018
|
columns: import("../../../../ShyTable").ShyColumn[];
|
|
2019
|
+
isShowTitle: boolean;
|
|
2019
2020
|
formLabelInInput: boolean;
|
|
2020
2021
|
resizable: boolean;
|
|
2021
2022
|
ellipsis: boolean;
|
|
@@ -2035,7 +2036,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2035
2036
|
clearSelectOnPageChange: boolean;
|
|
2036
2037
|
rowKey: string | ((record: Recordable<any>) => string);
|
|
2037
2038
|
headerAlign: "left" | "right";
|
|
2038
|
-
isShowTitle: boolean;
|
|
2039
2039
|
showTableSetting: boolean;
|
|
2040
2040
|
tableSetting: {};
|
|
2041
2041
|
beforeFetch: Fn<any, any>;
|
|
@@ -1161,6 +1161,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1161
1161
|
summaryTotalFields: string[];
|
|
1162
1162
|
bordered: boolean;
|
|
1163
1163
|
columns: import("../../../../ShyTable").ShyColumn[];
|
|
1164
|
+
isShowTitle: boolean;
|
|
1164
1165
|
formLabelInInput: boolean;
|
|
1165
1166
|
resizable: boolean;
|
|
1166
1167
|
ellipsis: boolean;
|
|
@@ -1180,7 +1181,6 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1180
1181
|
clearSelectOnPageChange: boolean;
|
|
1181
1182
|
rowKey: string | ((record: Recordable<any>) => string);
|
|
1182
1183
|
headerAlign: "left" | "right";
|
|
1183
|
-
isShowTitle: boolean;
|
|
1184
1184
|
showTableSetting: boolean;
|
|
1185
1185
|
tableSetting: {};
|
|
1186
1186
|
beforeFetch: Fn<any, any>;
|
|
@@ -1149,6 +1149,7 @@ declare const ShyTable: import("vue").DefineComponent<{
|
|
|
1149
1149
|
summaryTotalFields: string[];
|
|
1150
1150
|
bordered: boolean;
|
|
1151
1151
|
columns: import("./types/table").ShyColumn[];
|
|
1152
|
+
isShowTitle: boolean;
|
|
1152
1153
|
formLabelInInput: boolean;
|
|
1153
1154
|
resizable: boolean;
|
|
1154
1155
|
ellipsis: boolean;
|
|
@@ -1168,7 +1169,6 @@ declare const ShyTable: import("vue").DefineComponent<{
|
|
|
1168
1169
|
clearSelectOnPageChange: boolean;
|
|
1169
1170
|
rowKey: string | ((record: Recordable<any>) => string);
|
|
1170
1171
|
headerAlign: "left" | "right";
|
|
1171
|
-
isShowTitle: boolean;
|
|
1172
1172
|
showTableSetting: boolean;
|
|
1173
1173
|
tableSetting: {};
|
|
1174
1174
|
beforeFetch: Fn<any, any>;
|
|
@@ -55,8 +55,8 @@ declare const ShyTableHeader: import("vue").DefineComponent<{
|
|
|
55
55
|
title: VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
56
56
|
[key: string]: any;
|
|
57
57
|
}> | Element | ((data: Recordable) => string | undefined);
|
|
58
|
-
headerAlign: "left" | "right";
|
|
59
58
|
isShowTitle: boolean;
|
|
59
|
+
headerAlign: "left" | "right";
|
|
60
60
|
titleHelpMessage: string | string[];
|
|
61
61
|
showTableSetting: boolean;
|
|
62
62
|
}, {}>;
|
package/lib/index.js
CHANGED
|
@@ -11822,13 +11822,13 @@ const FormItem$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
11822
11822
|
};
|
|
11823
11823
|
}
|
|
11824
11824
|
if (schema2.component === "Input" || schema2.component === "InputTextArea") {
|
|
11825
|
-
const maxlength = (componentProps == null ? void 0 : componentProps.maxlength) || ((_e = config == null ? void 0 : config.
|
|
11825
|
+
const maxlength = (componentProps == null ? void 0 : componentProps.maxlength) || ((_e = config == null ? void 0 : config[schema2.component]) == null ? void 0 : _e.maxlength) || 100;
|
|
11826
11826
|
componentProps = Object.assign({}, componentProps, {
|
|
11827
11827
|
maxlength
|
|
11828
11828
|
});
|
|
11829
11829
|
componentProps.onInputEvent = (e2) => {
|
|
11830
11830
|
var _a3;
|
|
11831
|
-
componentProps.maxlength = (componentProps == null ? void 0 : componentProps.maxlength) || ((_a3 = config == null ? void 0 : config.
|
|
11831
|
+
componentProps.maxlength = (componentProps == null ? void 0 : componentProps.maxlength) || ((_a3 = config == null ? void 0 : config[schema2.component]) == null ? void 0 : _a3.maxlength) || 100;
|
|
11832
11832
|
if (!get$1(getValues.value.model, getValues.value.schema.field)) {
|
|
11833
11833
|
componentProps.showCount = true;
|
|
11834
11834
|
} else {
|
|
@@ -43171,6 +43171,10 @@ const Process = /* @__PURE__ */ vue.defineComponent({
|
|
|
43171
43171
|
timeFormat: {
|
|
43172
43172
|
type: String,
|
|
43173
43173
|
default: "YYYY-MM-DD HH:mm:ss"
|
|
43174
|
+
},
|
|
43175
|
+
isShowTitle: {
|
|
43176
|
+
type: Boolean,
|
|
43177
|
+
default: true
|
|
43174
43178
|
}
|
|
43175
43179
|
},
|
|
43176
43180
|
setup(props2) {
|
|
@@ -43249,7 +43253,7 @@ const Process = /* @__PURE__ */ vue.defineComponent({
|
|
|
43249
43253
|
return () => {
|
|
43250
43254
|
return vue.createVNode("div", {
|
|
43251
43255
|
"class": `${prefixCls2}-wrapper`
|
|
43252
|
-
}, [vue.createVNode("div", {
|
|
43256
|
+
}, [props2.isShowTitle && vue.createVNode("div", {
|
|
43253
43257
|
"class": `${prefixCls2}-header`
|
|
43254
43258
|
}, [vue.createVNode(Divider, null, {
|
|
43255
43259
|
default: () => [props2.title]
|
|
@@ -33,6 +33,10 @@ declare const Process: import("vue").DefineComponent<{
|
|
|
33
33
|
type: StringConstructor;
|
|
34
34
|
default: string;
|
|
35
35
|
};
|
|
36
|
+
isShowTitle: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
36
40
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
41
|
title: {
|
|
38
42
|
type: StringConstructor;
|
|
@@ -68,6 +72,10 @@ declare const Process: import("vue").DefineComponent<{
|
|
|
68
72
|
type: StringConstructor;
|
|
69
73
|
default: string;
|
|
70
74
|
};
|
|
75
|
+
isShowTitle: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
71
79
|
}>>, {
|
|
72
80
|
data: Recordable<any>[];
|
|
73
81
|
title: string;
|
|
@@ -76,5 +84,6 @@ declare const Process: import("vue").DefineComponent<{
|
|
|
76
84
|
fieldNames: Record<string, any>;
|
|
77
85
|
columns: Recordable<any>[];
|
|
78
86
|
timeFormat: string;
|
|
87
|
+
isShowTitle: boolean;
|
|
79
88
|
}, {}>;
|
|
80
89
|
export { Process };
|
|
@@ -2084,6 +2084,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2084
2084
|
summaryTotalFields: string[];
|
|
2085
2085
|
bordered: boolean;
|
|
2086
2086
|
columns: import("../../../../ShyTable").ShyColumn[];
|
|
2087
|
+
isShowTitle: boolean;
|
|
2087
2088
|
formLabelInInput: boolean;
|
|
2088
2089
|
resizable: boolean;
|
|
2089
2090
|
ellipsis: boolean;
|
|
@@ -2103,7 +2104,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2103
2104
|
clearSelectOnPageChange: boolean;
|
|
2104
2105
|
rowKey: string | ((record: Recordable<any>) => string);
|
|
2105
2106
|
headerAlign: "left" | "right";
|
|
2106
|
-
isShowTitle: boolean;
|
|
2107
2107
|
showTableSetting: boolean;
|
|
2108
2108
|
tableSetting: {};
|
|
2109
2109
|
beforeFetch: Fn<any, any>;
|
|
@@ -2016,6 +2016,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2016
2016
|
summaryTotalFields: string[];
|
|
2017
2017
|
bordered: boolean;
|
|
2018
2018
|
columns: import("../../../../ShyTable").ShyColumn[];
|
|
2019
|
+
isShowTitle: boolean;
|
|
2019
2020
|
formLabelInInput: boolean;
|
|
2020
2021
|
resizable: boolean;
|
|
2021
2022
|
ellipsis: boolean;
|
|
@@ -2035,7 +2036,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2035
2036
|
clearSelectOnPageChange: boolean;
|
|
2036
2037
|
rowKey: string | ((record: Recordable<any>) => string);
|
|
2037
2038
|
headerAlign: "left" | "right";
|
|
2038
|
-
isShowTitle: boolean;
|
|
2039
2039
|
showTableSetting: boolean;
|
|
2040
2040
|
tableSetting: {};
|
|
2041
2041
|
beforeFetch: Fn<any, any>;
|
|
@@ -1161,6 +1161,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1161
1161
|
summaryTotalFields: string[];
|
|
1162
1162
|
bordered: boolean;
|
|
1163
1163
|
columns: import("../../../../ShyTable").ShyColumn[];
|
|
1164
|
+
isShowTitle: boolean;
|
|
1164
1165
|
formLabelInInput: boolean;
|
|
1165
1166
|
resizable: boolean;
|
|
1166
1167
|
ellipsis: boolean;
|
|
@@ -1180,7 +1181,6 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1180
1181
|
clearSelectOnPageChange: boolean;
|
|
1181
1182
|
rowKey: string | ((record: Recordable<any>) => string);
|
|
1182
1183
|
headerAlign: "left" | "right";
|
|
1183
|
-
isShowTitle: boolean;
|
|
1184
1184
|
showTableSetting: boolean;
|
|
1185
1185
|
tableSetting: {};
|
|
1186
1186
|
beforeFetch: Fn<any, any>;
|
|
@@ -1149,6 +1149,7 @@ declare const ShyTable: import("vue").DefineComponent<{
|
|
|
1149
1149
|
summaryTotalFields: string[];
|
|
1150
1150
|
bordered: boolean;
|
|
1151
1151
|
columns: import("./types/table").ShyColumn[];
|
|
1152
|
+
isShowTitle: boolean;
|
|
1152
1153
|
formLabelInInput: boolean;
|
|
1153
1154
|
resizable: boolean;
|
|
1154
1155
|
ellipsis: boolean;
|
|
@@ -1168,7 +1169,6 @@ declare const ShyTable: import("vue").DefineComponent<{
|
|
|
1168
1169
|
clearSelectOnPageChange: boolean;
|
|
1169
1170
|
rowKey: string | ((record: Recordable<any>) => string);
|
|
1170
1171
|
headerAlign: "left" | "right";
|
|
1171
|
-
isShowTitle: boolean;
|
|
1172
1172
|
showTableSetting: boolean;
|
|
1173
1173
|
tableSetting: {};
|
|
1174
1174
|
beforeFetch: Fn<any, any>;
|
|
@@ -55,8 +55,8 @@ declare const ShyTableHeader: import("vue").DefineComponent<{
|
|
|
55
55
|
title: VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
56
56
|
[key: string]: any;
|
|
57
57
|
}> | Element | ((data: Recordable) => string | undefined);
|
|
58
|
-
headerAlign: "left" | "right";
|
|
59
58
|
isShowTitle: boolean;
|
|
59
|
+
headerAlign: "left" | "right";
|
|
60
60
|
titleHelpMessage: string | string[];
|
|
61
61
|
showTableSetting: boolean;
|
|
62
62
|
}, {}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "3h1-ui",
|
|
3
|
-
"version": "3.0.0-next.
|
|
3
|
+
"version": "3.0.0-next.266",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"vxe-table": "4.7.97",
|
|
31
31
|
"xe-utils": "^3.5.7",
|
|
32
32
|
"@shy-plugins/tinymce": "^1.0.6",
|
|
33
|
-
"@shy-plugins/
|
|
34
|
-
"@shy-plugins/
|
|
33
|
+
"@shy-plugins/use": "1.0.1-next.5",
|
|
34
|
+
"@shy-plugins/utils": "1.0.0-next.1"
|
|
35
35
|
},
|
|
36
36
|
"types": "es/ui/index.d.ts",
|
|
37
37
|
"devDependencies": {
|