cnhis-design-vue 0.2.50-beta → 0.2.53-beta
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/fabric-chart/index.js +25 -23
- package/es/index/index.js +151 -130
- package/es/index/style.css +1 -1
- package/es/multi-chat/index.js +40 -26
- package/es/multi-chat/style.css +1 -1
- package/es/multi-chat-client/index.js +40 -26
- package/es/multi-chat-client/style.css +1 -1
- package/es/scale-view/index.js +25 -25
- package/es/scale-view/style.css +1 -1
- package/es/table-filter/index.js +61 -56
- package/es/table-filter/style.css +1 -1
- package/lib/cui.common.js +253 -232
- package/lib/cui.umd.js +253 -232
- package/lib/cui.umd.min.js +21 -21
- package/package.json +1 -1
- package/packages/fabric-chart/src/fabric-chart/FabricPolylines.vue +13 -11
- package/packages/multi-chat/chat/chatMain.vue +15 -3
- package/packages/scale-view/scaleView.vue +11 -2
- package/packages/table-filter/src/base-search-com/BaseSearch.vue +8 -2
- package/packages/table-filter/src/components/table-modal/TableModal.vue +2 -2
package/es/fabric-chart/index.js
CHANGED
|
@@ -1034,12 +1034,12 @@ var FabricCanvas_component = Object(componentNormalizer["a" /* default */])(
|
|
|
1034
1034
|
)
|
|
1035
1035
|
|
|
1036
1036
|
/* harmony default export */ var fabric_chart2_FabricCanvas = (FabricCanvas_component.exports);
|
|
1037
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"68d87c1a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/fabric-chart/src/fabric-chart/FabricPolylines.vue?vue&type=template&id=
|
|
1038
|
-
var
|
|
1039
|
-
var
|
|
1037
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"68d87c1a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/fabric-chart/src/fabric-chart/FabricPolylines.vue?vue&type=template&id=87379cf6&
|
|
1038
|
+
var FabricPolylinesvue_type_template_id_87379cf6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"poly-line"},[(_vm.isRightVisible)?_c('MouseRightClick',{attrs:{"getContainer":_vm.getContainer,"nodeList":_vm.rightClickNode,"rightPos":_vm.rightPos},on:{"nodeClick":_vm.handleRightClick,"closeRight":function($event){_vm.isRightVisible = false}}}):_vm._e(),(_vm.isDropVisible)?_c('DropPopup',{attrs:{"val":_vm.dropVal,"dropPos":_vm.dropPos}}):_vm._e()],1)}
|
|
1039
|
+
var FabricPolylinesvue_type_template_id_87379cf6_staticRenderFns = []
|
|
1040
1040
|
|
|
1041
1041
|
|
|
1042
|
-
// CONCATENATED MODULE: ./packages/fabric-chart/src/fabric-chart/FabricPolylines.vue?vue&type=template&id=
|
|
1042
|
+
// CONCATENATED MODULE: ./packages/fabric-chart/src/fabric-chart/FabricPolylines.vue?vue&type=template&id=87379cf6&
|
|
1043
1043
|
|
|
1044
1044
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
1045
1045
|
var arrayWithHoles = __webpack_require__("0d21");
|
|
@@ -2329,25 +2329,26 @@ var rightClickNodeConnect = [{
|
|
|
2329
2329
|
var getTime = new Date(time).getTime();
|
|
2330
2330
|
return getTime >= minMinute && getTime <= maxMinute;
|
|
2331
2331
|
},
|
|
2332
|
-
//
|
|
2333
|
-
|
|
2334
|
-
var
|
|
2332
|
+
// 创建危急值和差异值
|
|
2333
|
+
createAttrVaule: function createAttrVaule(attr, polyline, polylineIndex, polylineType, polylineTypeId) {
|
|
2334
|
+
var _valueObj$max,
|
|
2335
|
+
_valueObj$max2,
|
|
2335
2336
|
_this7 = this,
|
|
2336
|
-
|
|
2337
|
+
_valueObj$min,
|
|
2338
|
+
_valueObj$min2,
|
|
2337
2339
|
_this$canvas;
|
|
2338
2340
|
|
|
2339
|
-
var
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
if (!(critical !== null && critical !== void 0 && critical.max) && !(critical !== null && critical !== void 0 && critical.min)) return;
|
|
2341
|
+
var list = polyline.list;
|
|
2342
|
+
var valueObj = polyline[attr] || {};
|
|
2343
|
+
if (!valueObj.max && !valueObj.min) return;
|
|
2343
2344
|
var _this$propItems2 = this.propItems,
|
|
2344
2345
|
originX = _this$propItems2.originX,
|
|
2345
2346
|
endX = _this$propItems2.endX;
|
|
2346
|
-
var isMax = (
|
|
2347
|
-
return +v.value >= +
|
|
2347
|
+
var isMax = ((_valueObj$max = valueObj.max) === null || _valueObj$max === void 0 ? void 0 : _valueObj$max.show) && ((_valueObj$max2 = valueObj.max) === null || _valueObj$max2 === void 0 ? void 0 : _valueObj$max2.value) && list.some(function (v) {
|
|
2348
|
+
return +v.value >= +valueObj.max.value && _this7.isLimit(v.time);
|
|
2348
2349
|
});
|
|
2349
|
-
var isMin = (
|
|
2350
|
-
return +v.value <= +
|
|
2350
|
+
var isMin = ((_valueObj$min = valueObj.min) === null || _valueObj$min === void 0 ? void 0 : _valueObj$min.show) && ((_valueObj$min2 = valueObj.min) === null || _valueObj$min2 === void 0 ? void 0 : _valueObj$min2.value) && list.some(function (v) {
|
|
2351
|
+
return +v.value <= +valueObj.min.value && _this7.isLimit(v.time);
|
|
2351
2352
|
});
|
|
2352
2353
|
var lines = [];
|
|
2353
2354
|
|
|
@@ -2375,16 +2376,16 @@ var rightClickNodeConnect = [{
|
|
|
2375
2376
|
};
|
|
2376
2377
|
|
|
2377
2378
|
if (isMax) {
|
|
2378
|
-
var line = drawLine(
|
|
2379
|
-
var text = drawText(
|
|
2379
|
+
var line = drawLine(valueObj.max);
|
|
2380
|
+
var text = drawText(valueObj.max, line.top);
|
|
2380
2381
|
line.text = text;
|
|
2381
2382
|
lines.push(line, text);
|
|
2382
2383
|
}
|
|
2383
2384
|
|
|
2384
2385
|
if (isMin) {
|
|
2385
|
-
var _line = drawLine(
|
|
2386
|
+
var _line = drawLine(valueObj.min);
|
|
2386
2387
|
|
|
2387
|
-
var _text = drawText(
|
|
2388
|
+
var _text = drawText(valueObj.min, _line.top);
|
|
2388
2389
|
|
|
2389
2390
|
_line.text = _text;
|
|
2390
2391
|
lines.push(_line, _text);
|
|
@@ -2488,7 +2489,8 @@ var rightClickNodeConnect = [{
|
|
|
2488
2489
|
|
|
2489
2490
|
_this8.canvas.requestRenderAll();
|
|
2490
2491
|
});
|
|
2491
|
-
this.
|
|
2492
|
+
this.createAttrVaule('critical', polyline, polylineIndex, polylineType, polylineTypeId);
|
|
2493
|
+
this.createAttrVaule('diffValue', polyline, polylineIndex, polylineType, polylineTypeId);
|
|
2492
2494
|
},
|
|
2493
2495
|
// 计算y轴坐标
|
|
2494
2496
|
cumputedY: function cumputedY(polylineType, linePointY) {
|
|
@@ -3185,8 +3187,8 @@ var rightClickNodeConnect = [{
|
|
|
3185
3187
|
|
|
3186
3188
|
var FabricPolylines_component = Object(componentNormalizer["a" /* default */])(
|
|
3187
3189
|
fabric_chart_FabricPolylinesvue_type_script_lang_js_,
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
+
FabricPolylinesvue_type_template_id_87379cf6_render,
|
|
3191
|
+
FabricPolylinesvue_type_template_id_87379cf6_staticRenderFns,
|
|
3190
3192
|
false,
|
|
3191
3193
|
null,
|
|
3192
3194
|
null,
|