cnhis-design-vue 3.4.0-beta.43 → 3.4.0-beta.44
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/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/scale-view/index.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +9 -3
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
|
@@ -190,7 +190,7 @@ function useCenter(canvas, propItems, emits, computedX, computedY, getXValue, ge
|
|
|
190
190
|
shadowLines.forEach((l) => {
|
|
191
191
|
shadowLinesCache.add(l);
|
|
192
192
|
});
|
|
193
|
-
} else {
|
|
193
|
+
} else if (!style.onlyBorder) {
|
|
194
194
|
const finalData = getLineData(item);
|
|
195
195
|
if (finalData.length > 0) {
|
|
196
196
|
const otherFilters = otherLineData.filter(([[x1, _]]) => {
|
|
@@ -405,7 +405,7 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<import("v
|
|
|
405
405
|
beforeCloseFn: () => Promise<unknown>;
|
|
406
406
|
cancel: () => Promise<void>;
|
|
407
407
|
getScaleData: () => any;
|
|
408
|
-
batchInjectFormNew: (data: import("../../shared/types").AnyObject, skipValid?: boolean) => Promise<
|
|
408
|
+
batchInjectFormNew: (data: import("../../shared/types").AnyObject, skipValid?: boolean) => Promise<boolean>;
|
|
409
409
|
readonly isCollection: (e: string) => boolean;
|
|
410
410
|
NoData: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
411
411
|
noDataTip: {
|
|
@@ -404,7 +404,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
404
404
|
beforeCloseFn: () => Promise<unknown>;
|
|
405
405
|
cancel: () => Promise<void>;
|
|
406
406
|
getScaleData: () => any;
|
|
407
|
-
batchInjectFormNew: (data: AnyObject, skipValid?: boolean) => Promise<
|
|
407
|
+
batchInjectFormNew: (data: AnyObject, skipValid?: boolean) => Promise<boolean>;
|
|
408
408
|
readonly isCollection: (e: string) => boolean;
|
|
409
409
|
NoData: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
410
410
|
noDataTip: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i18n } from '../../../_virtual/_virtual_i18n-methods.js';
|
|
2
|
-
import { defineComponent, reactive, ref, watch, nextTick, openBlock, createElementBlock, normalizeClass, unref, Fragment, createBlock, mergeProps, createCommentVNode, createElementVNode, createVNode, withCtx, renderList, toDisplayString, createTextVNode, resolveDynamicComponent, renderSlot } from 'vue';
|
|
2
|
+
import { defineComponent, reactive, ref, watch, nextTick, onUnmounted, openBlock, createElementBlock, normalizeClass, unref, Fragment, createBlock, mergeProps, createCommentVNode, createElementVNode, createVNode, withCtx, renderList, toDisplayString, createTextVNode, resolveDynamicComponent, renderSlot } from 'vue';
|
|
3
3
|
import useNoData from './hooks/use-noData.js';
|
|
4
4
|
import { ScaleViewProps } from './hooks/scaleview-props.js';
|
|
5
5
|
import { getScaleViewState } from './hooks/scaleview-state.js';
|
|
@@ -219,12 +219,18 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
219
219
|
};
|
|
220
220
|
const batchInjectFormNew = async (data, skipValid = false) => {
|
|
221
221
|
window._beforeCloseFn = null;
|
|
222
|
-
await batchInjectForm(data, skipValid);
|
|
222
|
+
const batchStatus = await batchInjectForm(data, skipValid);
|
|
223
223
|
if (!skipValid || !props.closeConfirm)
|
|
224
|
-
return;
|
|
224
|
+
return batchStatus;
|
|
225
225
|
formChecker.setInitialSnapshot(state.form);
|
|
226
226
|
window._beforeCloseFn = beforeCloseFn;
|
|
227
|
+
return batchStatus;
|
|
227
228
|
};
|
|
229
|
+
onUnmounted(() => {
|
|
230
|
+
if (window._beforeCloseFn) {
|
|
231
|
+
window._beforeCloseFn = null;
|
|
232
|
+
}
|
|
233
|
+
});
|
|
228
234
|
__expose({
|
|
229
235
|
getScaleData,
|
|
230
236
|
onSubmitForm,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cnhis-design-vue",
|
|
3
|
-
"version": "3.4.0-beta.
|
|
3
|
+
"version": "3.4.0-beta.44",
|
|
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": "0ba92b692dccd0edb27b0d1daa3583718db6831c"
|
|
77
77
|
}
|