cnhis-design-vue 3.3.3-beta.16 → 3.3.3-beta.17
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/components/button-print/src/components/NewPrintComponent.vue2.js +45 -0
- package/es/components/field-set/src/FieldColor.vue.d.ts +4 -4
- package/es/components/field-set/src/FieldFilter.vue.d.ts +4 -4
- package/es/components/field-set/src/FieldSet.vue.d.ts +5 -5
- package/es/components/field-set/src/components/table-row.vue.d.ts +4 -4
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
|
@@ -551,6 +551,18 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
551
551
|
const templateNumbers = Object.keys(state.printParams);
|
|
552
552
|
state.isClickOuterPrint = false;
|
|
553
553
|
const originParamsClone = state.originParams;
|
|
554
|
+
encapBrowserLog({
|
|
555
|
+
type: "\u8FDB\u5165\u6253\u5370\u5168\u90E8\u65B9\u6CD5",
|
|
556
|
+
res: {
|
|
557
|
+
printParams: state.printParams,
|
|
558
|
+
originParams: state.originParams,
|
|
559
|
+
options: options.value,
|
|
560
|
+
printAllFormatIds: printAllFormatIds.value,
|
|
561
|
+
isPrintAllType: isPrintAllType.value,
|
|
562
|
+
formatList: state.formatList,
|
|
563
|
+
outerPrintItems: outerPrintItems.value
|
|
564
|
+
}
|
|
565
|
+
}, "PRINT-SDK");
|
|
554
566
|
if (((_a = Object.keys(printAllFormatIds.value)) == null ? void 0 : _a.length) > 0) {
|
|
555
567
|
options.value.forEach((optItem) => {
|
|
556
568
|
if (printAllFormatIds.value.includes(optItem.key)) {
|
|
@@ -1025,16 +1037,39 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1025
1037
|
state.templateParams = mergeTemplateList(formatListResult.obj);
|
|
1026
1038
|
state.printParams = formatSomeTypeParams(state.templateParams, props.params);
|
|
1027
1039
|
state.originParams = formatSomeOriginParams(state.templateParams, props.params);
|
|
1040
|
+
encapBrowserLog({
|
|
1041
|
+
type: "\u53C2\u6570\u6253\u5370",
|
|
1042
|
+
res: {
|
|
1043
|
+
options: options.value,
|
|
1044
|
+
innerPrintItems: innerPrintItems.value,
|
|
1045
|
+
outerPrintItems: outerPrintItems.value,
|
|
1046
|
+
formatList: state.formatList,
|
|
1047
|
+
number: state.number,
|
|
1048
|
+
templateParams: state.templateParams,
|
|
1049
|
+
printParams: state.printParams,
|
|
1050
|
+
originParams: state.originParams
|
|
1051
|
+
}
|
|
1052
|
+
}, "PRINT-SDK");
|
|
1028
1053
|
registerShort();
|
|
1029
1054
|
};
|
|
1030
1055
|
const init = async () => {
|
|
1031
1056
|
var _a;
|
|
1057
|
+
encapBrowserLog({
|
|
1058
|
+
type: "\u521D\u59CB\u5316\u6253\u5370\u65B9\u6CD5",
|
|
1059
|
+
res: {
|
|
1060
|
+
isInited: state.isInited
|
|
1061
|
+
}
|
|
1062
|
+
}, "PRINT-SDK");
|
|
1032
1063
|
if (state.isInited)
|
|
1033
1064
|
return true;
|
|
1034
1065
|
state.isInited = true;
|
|
1035
1066
|
state.spinning = true;
|
|
1036
1067
|
instantiatePrintSDK();
|
|
1037
1068
|
const formatListResult = await props.queryPrintFormatByNumber();
|
|
1069
|
+
encapBrowserLog({
|
|
1070
|
+
type: "\u83B7\u53D6\u683C\u5F0F\u6570\u636E",
|
|
1071
|
+
formatListResult
|
|
1072
|
+
}, "PRINT-SDK");
|
|
1038
1073
|
await initCRM(formatListResult);
|
|
1039
1074
|
if (((_a = formatListResult.obj) == null ? void 0 : _a.length) > 0)
|
|
1040
1075
|
authorizationKey.value = formatListResult.obj[0].authorizationKey || "";
|
|
@@ -1083,6 +1118,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1083
1118
|
};
|
|
1084
1119
|
const handleClickBtn = async (visible = true) => {
|
|
1085
1120
|
const status = await props.clickPrevFn();
|
|
1121
|
+
encapBrowserLog({
|
|
1122
|
+
type: "\u5C55\u5F00\u6253\u5370\u83DC\u5355",
|
|
1123
|
+
res: {
|
|
1124
|
+
status,
|
|
1125
|
+
visible: state.visible
|
|
1126
|
+
}
|
|
1127
|
+
}, "PRINT-SDK");
|
|
1086
1128
|
if (!status)
|
|
1087
1129
|
return;
|
|
1088
1130
|
if (!state.visible) {
|
|
@@ -1159,6 +1201,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1159
1201
|
immediate: true
|
|
1160
1202
|
});
|
|
1161
1203
|
async function directPrint() {
|
|
1204
|
+
encapBrowserLog({
|
|
1205
|
+
type: "\u4E3B\u52A8\u8C03\u7528\u6253\u5370\u65B9\u6CD5"
|
|
1206
|
+
}, "PRINT-SDK");
|
|
1162
1207
|
await handleClickBtn(false);
|
|
1163
1208
|
handleClickPrintAll();
|
|
1164
1209
|
}
|
|
@@ -534,12 +534,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
534
534
|
}>;
|
|
535
535
|
developMode: boolean;
|
|
536
536
|
draggable: boolean;
|
|
537
|
-
isHighlightRow: boolean;
|
|
538
|
-
idx: number;
|
|
539
|
-
isHighlight: boolean;
|
|
540
|
-
isFieldSet: boolean;
|
|
541
537
|
fieldDescribeMode: "column" | "tooltip";
|
|
538
|
+
isFieldSet: boolean;
|
|
542
539
|
hideExpressionOption: AnyObject[];
|
|
540
|
+
idx: number;
|
|
541
|
+
isHighlight: boolean;
|
|
542
|
+
isHighlightRow: boolean;
|
|
543
543
|
}>;
|
|
544
544
|
EditDialog: import("vue").DefineComponent<{
|
|
545
545
|
visible: {
|
|
@@ -563,12 +563,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
563
563
|
}>;
|
|
564
564
|
developMode: boolean;
|
|
565
565
|
draggable: boolean;
|
|
566
|
-
isHighlightRow: boolean;
|
|
567
|
-
idx: number;
|
|
568
|
-
isHighlight: boolean;
|
|
569
|
-
isFieldSet: boolean;
|
|
570
566
|
fieldDescribeMode: "column" | "tooltip";
|
|
567
|
+
isFieldSet: boolean;
|
|
571
568
|
hideExpressionOption: AnyObject[];
|
|
569
|
+
idx: number;
|
|
570
|
+
isHighlight: boolean;
|
|
571
|
+
isHighlightRow: boolean;
|
|
572
572
|
}>;
|
|
573
573
|
setStyle: typeof setStyle;
|
|
574
574
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "save" | "reset")[], "close" | "save" | "reset", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -754,12 +754,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
754
754
|
}>;
|
|
755
755
|
developMode: boolean;
|
|
756
756
|
draggable: boolean;
|
|
757
|
-
isHighlightRow: boolean;
|
|
758
|
-
idx: number;
|
|
759
|
-
isHighlight: boolean;
|
|
760
|
-
isFieldSet: boolean;
|
|
761
757
|
fieldDescribeMode: "column" | "tooltip";
|
|
758
|
+
isFieldSet: boolean;
|
|
762
759
|
hideExpressionOption: AnyObject[];
|
|
760
|
+
idx: number;
|
|
761
|
+
isHighlight: boolean;
|
|
762
|
+
isHighlightRow: boolean;
|
|
763
763
|
}>;
|
|
764
764
|
isArray: {
|
|
765
765
|
(value?: any): value is any[];
|
|
@@ -898,9 +898,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
898
898
|
showSeq: boolean;
|
|
899
899
|
developMode: boolean;
|
|
900
900
|
footerFlag: boolean;
|
|
901
|
-
fieldDescribeMode: "column" | "tooltip";
|
|
902
901
|
customColumns: FieldSetColumnItem[];
|
|
903
902
|
showSortPriority: boolean;
|
|
904
903
|
showHeadFilter: boolean;
|
|
904
|
+
fieldDescribeMode: "column" | "tooltip";
|
|
905
905
|
}>;
|
|
906
906
|
export default _default;
|
|
@@ -383,11 +383,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
383
383
|
}>;
|
|
384
384
|
developMode: boolean;
|
|
385
385
|
draggable: boolean;
|
|
386
|
-
isHighlightRow: boolean;
|
|
387
|
-
idx: number;
|
|
388
|
-
isHighlight: boolean;
|
|
389
|
-
isFieldSet: boolean;
|
|
390
386
|
fieldDescribeMode: "column" | "tooltip";
|
|
387
|
+
isFieldSet: boolean;
|
|
391
388
|
hideExpressionOption: AnyObject[];
|
|
389
|
+
idx: number;
|
|
390
|
+
isHighlight: boolean;
|
|
391
|
+
isHighlightRow: boolean;
|
|
392
392
|
}>;
|
|
393
393
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cnhis-design-vue",
|
|
3
|
-
"version": "3.3.3-beta.
|
|
3
|
+
"version": "3.3.3-beta.17",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "./es/components/index.js",
|
|
6
6
|
"main": "./es/components/index.js",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"iOS 7",
|
|
74
74
|
"last 3 iOS versions"
|
|
75
75
|
],
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "0d880d0cf4e8c9cd7b840848e4e01d8caaf48efd"
|
|
77
77
|
}
|