cnhis-design-vue 3.1.28-beta.5 → 3.1.29-beta.0

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.
@@ -2312,7 +2312,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
2312
2312
  "mouse-config": {
2313
2313
  selected: ((_a = _ctx.columnConfig.keyboardConfig) == null ? void 0 : _a.isEdit) ? true : false
2314
2314
  },
2315
- "tree-config": unref(treeConfig),
2315
+ "tree-config": {
2316
+ ...unref(treeConfig) || {},
2317
+ ...unref(getAttr)("tree-config")
2318
+ },
2316
2319
  "row-class-name": getRowClassName,
2317
2320
  "row-config": {
2318
2321
  ...state.rowConfig,
@@ -55,6 +55,10 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
55
55
  token: {
56
56
  type: StringConstructor;
57
57
  };
58
+ printdlgshow: {
59
+ default: string;
60
+ type: StringConstructor;
61
+ };
58
62
  }, {
59
63
  $message: import("naive-ui").MessageApi;
60
64
  printInstance: any;
@@ -113,6 +117,10 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
113
117
  token: {
114
118
  type: StringConstructor;
115
119
  };
120
+ printdlgshow: {
121
+ default: string;
122
+ type: StringConstructor;
123
+ };
116
124
  }>> & {
117
125
  onError?: ((...args: any[]) => any) | undefined;
118
126
  onSuccess?: ((...args: any[]) => any) | undefined;
@@ -592,6 +600,10 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
592
600
  token: {
593
601
  type: StringConstructor;
594
602
  };
603
+ printdlgshow: {
604
+ default: string;
605
+ type: StringConstructor;
606
+ };
595
607
  }>> & {
596
608
  onError?: ((...args: any[]) => any) | undefined;
597
609
  onSuccess?: ((...args: any[]) => any) | undefined;
@@ -609,5 +621,6 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
609
621
  strategy: string;
610
622
  clickPrevFn: Function;
611
623
  noDataMsg: string;
624
+ printdlgshow: string;
612
625
  }>>;
613
626
  export default ButtonPrint;
@@ -56,6 +56,10 @@ declare const _default: import("vue").DefineComponent<{
56
56
  token: {
57
57
  type: StringConstructor;
58
58
  };
59
+ printdlgshow: {
60
+ default: string;
61
+ type: StringConstructor;
62
+ };
59
63
  }, {
60
64
  $message: import("naive-ui").MessageApi;
61
65
  printInstance: any;
@@ -117,6 +121,10 @@ declare const _default: import("vue").DefineComponent<{
117
121
  token: {
118
122
  type: StringConstructor;
119
123
  };
124
+ printdlgshow: {
125
+ default: string;
126
+ type: StringConstructor;
127
+ };
120
128
  }>> & {
121
129
  onError?: ((...args: any[]) => any) | undefined;
122
130
  onSuccess?: ((...args: any[]) => any) | undefined;
@@ -601,6 +609,10 @@ declare const _default: import("vue").DefineComponent<{
601
609
  token: {
602
610
  type: StringConstructor;
603
611
  };
612
+ printdlgshow: {
613
+ default: string;
614
+ type: StringConstructor;
615
+ };
604
616
  }>> & {
605
617
  onError?: ((...args: any[]) => any) | undefined;
606
618
  onSuccess?: ((...args: any[]) => any) | undefined;
@@ -618,5 +630,6 @@ declare const _default: import("vue").DefineComponent<{
618
630
  strategy: string;
619
631
  clickPrevFn: Function;
620
632
  noDataMsg: string;
633
+ printdlgshow: string;
621
634
  }>;
622
635
  export default _default;
@@ -62,6 +62,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
62
62
  },
63
63
  token: {
64
64
  type: String
65
+ },
66
+ printdlgshow: {
67
+ default: "0",
68
+ type: String
65
69
  }
66
70
  },
67
71
  emits: ["success", "error", "clickoutside"],
@@ -186,7 +190,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
186
190
  }).then(() => {
187
191
  const queryParams = {
188
192
  formatId: state.currentFormatId,
189
- templateId: getTemplateIdByFormatId.value
193
+ templateId: getTemplateIdByFormatId.value,
194
+ printdlgshow: props.printdlgshow
190
195
  };
191
196
  if (props.strategy === "MULTI") {
192
197
  for (let i = 0; i < state.printParams.length; i++) {
@@ -101,7 +101,7 @@ function useCanvasEvent(canvas, propItems, emits) {
101
101
  const { button, pointer } = event;
102
102
  if (button == 1) {
103
103
  const _key = obj.key.replace("All", "");
104
- const key = pointer.x <= originX ? _key + "Title" : _key;
104
+ const key = (pointer == null ? void 0 : pointer.x) && (pointer == null ? void 0 : pointer.x) <= originX ? _key + "Title" : _key;
105
105
  obj.sendToBack();
106
106
  select(key);
107
107
  emits("select", key);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.1.28-beta.5",
3
+ "version": "3.1.29-beta.0",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",
@@ -61,5 +61,5 @@
61
61
  "iOS 7",
62
62
  "last 3 iOS versions"
63
63
  ],
64
- "gitHead": "60d6ba673cc9c20ca3ccd0d97789fcee442003d3"
64
+ "gitHead": "93391e5ed26599b7ce1d18f2f266446f723ba190"
65
65
  }