cnhis-design-vue 2.1.12 → 2.1.15
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/CHANGELOG.md +2206 -2148
- package/es/affix/index.js +8 -8
- package/es/age/index.js +10 -10
- package/es/alert/index.js +8 -8
- package/es/anchor/index.js +8 -8
- package/es/auto-complete/index.js +8 -8
- package/es/avatar/index.js +8 -8
- package/es/back-top/index.js +8 -8
- package/es/badge/index.js +8 -8
- package/es/base/index.js +8 -8
- package/es/big-table/index.js +358 -277
- package/es/big-table/style.css +1 -1
- package/es/breadcrumb/index.js +8 -8
- package/es/button/index.js +1741 -2774
- package/es/button/style.css +1 -1
- package/es/calendar/index.js +8 -8
- package/es/captcha/index.js +3 -3
- package/es/card/index.js +8 -8
- package/es/carousel/index.js +8 -8
- package/es/cascader/index.js +8 -8
- package/es/checkbox/index.js +9 -9
- package/es/col/index.js +8 -8
- package/es/collapse/index.js +8 -8
- package/es/color-picker/index.js +1 -1
- package/es/comment/index.js +8 -8
- package/es/config-provider/index.js +8 -8
- package/es/date-picker/index.js +8 -8
- package/es/descriptions/index.js +8 -8
- package/es/divider/index.js +8 -8
- package/es/drag-layout/index.js +3 -3
- package/es/drawer/index.js +8 -8
- package/es/dropdown/index.js +8 -8
- package/es/editor/index.js +1 -1
- package/es/empty/index.js +8 -8
- package/es/fabric-chart/index.js +121 -167
- package/es/form/index.js +8 -8
- package/es/form-model/index.js +8 -8
- package/es/form-table/index.js +62 -62
- package/es/index/index.js +2836 -3668
- package/es/index/style.css +1 -1
- package/es/input/index.js +9 -9
- package/es/input-number/index.js +8 -8
- package/es/layout/index.js +8 -8
- package/es/list/index.js +8 -8
- package/es/locale-provider/index.js +8 -8
- package/es/map/index.js +9 -9
- package/es/mentions/index.js +8 -8
- package/es/menu/index.js +8 -8
- package/es/message/index.js +8 -8
- package/es/multi-chat/index.js +247 -144
- package/es/multi-chat/style.css +1 -1
- package/es/multi-chat-client/index.js +272 -164
- package/es/multi-chat-client/style.css +1 -1
- package/es/multi-chat-history/index.js +4 -4
- package/es/multi-chat-record/index.js +14 -14
- package/es/multi-chat-setting/index.js +28 -28
- package/es/multi-chat-sip/index.js +1 -1
- package/es/notification/index.js +8 -8
- package/es/page-header/index.js +8 -8
- package/es/pagination/index.js +8 -8
- package/es/popconfirm/index.js +8 -8
- package/es/popover/index.js +8 -8
- package/es/progress/index.js +8 -8
- package/es/radio/index.js +9 -9
- package/es/rate/index.js +8 -8
- package/es/result/index.js +8 -8
- package/es/row/index.js +8 -8
- package/es/scale-view/index.js +33 -33
- package/es/select/index.js +11 -11
- package/es/select-label/index.js +11 -11
- package/es/select-person/index.js +20 -20
- package/es/skeleton/index.js +8 -8
- package/es/slider/index.js +8 -8
- package/es/space/index.js +8 -8
- package/es/spin/index.js +8 -8
- package/es/statistic/index.js +8 -8
- package/es/steps/index.js +8 -8
- package/es/switch/index.js +8 -8
- package/es/table-filter/index.js +1903 -2885
- package/es/table-filter/style.css +1 -1
- package/es/tabs/index.js +8 -8
- package/es/tag/index.js +9 -9
- package/es/time-picker/index.js +8 -8
- package/es/timeline/index.js +8 -8
- package/es/tooltip/index.js +8 -8
- package/es/transfer/index.js +8 -8
- package/es/tree/index.js +8 -8
- package/es/tree-select/index.js +8 -8
- package/es/upload/index.js +8 -8
- package/es/verification-code/index.js +2 -2
- package/lib/cui.common.js +2913 -3384
- package/lib/cui.umd.js +2913 -3384
- package/lib/cui.umd.min.js +81 -79
- package/package.json +107 -107
- package/packages/big-table/src/BigTable.vue +3038 -2988
- package/packages/big-table/src/assets/style/table-base.less +370 -360
- package/packages/big-table/src/components/AutoLayoutButton.vue +270 -270
- package/packages/big-table/src/utils/bigTableProps.js +95 -95
- package/packages/button/src/ButtonPrint/components/IdentityVerification.vue +181 -181
- package/packages/button/src/ButtonPrint/index.vue +724 -723
- package/packages/button/src/ButtonPrint/js/print.es.min.js +4 -1
- package/packages/fabric-chart/src/components/TimeScaleValue.vue +117 -117
- package/packages/fabric-chart/src/const/defaultVaule.js +59 -59
- package/packages/fabric-chart/src/fabric-chart/FabricCanvas.vue +3 -1
- package/packages/fabric-chart/src/fabric-chart/FabricPolylines.vue +960 -960
- package/packages/fabric-chart/src/fabric-chart/FabricScaleValue.vue +133 -133
- package/packages/fabric-chart/src/fabric-chart/FabricTextGroup.vue +558 -579
- package/packages/fabric-chart/src/fabric-chart2/FabricTop.vue +172 -172
- package/packages/multi-chat/chat/chatFooter.vue +1598 -1598
- package/packages/multi-chat/chat/chatHeader.vue +9 -4
- package/packages/multi-chat/chat/chatMain.vue +1442 -1442
- package/packages/multi-chat/chat/client/clientChat.vue +3 -0
- package/packages/multi-chat/chat/quickReply.vue +439 -361
- package/packages/multi-chat/chat/scrollList.vue +1232 -1232
- package/packages/multi-chat/setting/baseInfo/index.vue +1302 -1302
- package/packages/multi-chat/store/actions.js +448 -448
- package/packages/multi-chat/store/state.js +112 -112
- package/packages/scale-view/formitem/r-choice.vue +714 -714
- package/packages/scale-view/scaleView.vue +2010 -2010
- package/packages/select-person/select-person.vue +1658 -1658
- package/packages/table-filter/src/base-search-com/BaseSearch.vue +2462 -2462
- package/packages/table-filter/src/components/c-tree-select/tree-select.vue +336 -336
- package/packages/table-filter/src/components/multi-select/multi-select.vue +219 -219
- package/packages/table-filter/src/components/out-quick-search/out-quick-search.vue +340 -340
- package/packages/table-filter/src/const/dataOptions.js +43 -43
- package/packages/table-filter/src/mixins/mixins.js +695 -695
- package/packages/table-filter/src/quick-search/QuickSearch.vue +2083 -2051
- package/src/directive/preventReClick.js +12 -12
package/es/empty/index.js
CHANGED
|
@@ -726,14 +726,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
726
726
|
/* harmony import */ var ant_design_vue_es_base_style__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(ant_design_vue_es_base_style__WEBPACK_IMPORTED_MODULE_0__);
|
|
727
727
|
/* harmony import */ var ant_design_vue_es_base__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("be79");
|
|
728
728
|
/* harmony import */ var ant_design_vue_es_base__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(ant_design_vue_es_base__WEBPACK_IMPORTED_MODULE_1__);
|
|
729
|
-
/* harmony import */ var
|
|
730
|
-
/* harmony import */ var
|
|
731
|
-
/* harmony import */ var
|
|
732
|
-
/* harmony import */ var
|
|
733
|
-
/* harmony import */ var
|
|
734
|
-
/* harmony import */ var
|
|
735
|
-
/* harmony import */ var
|
|
736
|
-
/* harmony import */ var
|
|
729
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("e260");
|
|
730
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
731
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("e6cf");
|
|
732
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
733
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("cca6");
|
|
734
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
735
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("a79d");
|
|
736
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
737
737
|
|
|
738
738
|
|
|
739
739
|
|
package/es/fabric-chart/index.js
CHANGED
|
@@ -299,7 +299,7 @@ var es_promise_finally = __webpack_require__("a79d");
|
|
|
299
299
|
// EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
|
|
300
300
|
var es_function_name_js_ = __webpack_require__("db0a");
|
|
301
301
|
|
|
302
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
302
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4576a635-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/FabricChart.vue?vue&type=template&id=4ba88400&scoped=true&
|
|
303
303
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"c-fabric-chart",style:({'width': _vm.canvasWidth})},[(_vm.rendercanvas)?_c(("FabricCanvas" + (_vm.templateData.type || '')),{ref:"canvasEle",tag:"component",attrs:{"id":_vm.id,"templateData":_vm.templateData}},[(_vm.templateData.type)?[_c('fabric-grid'),_c('fabric-top2',{attrs:{"templateData":_vm.templateData}}),_c('fabric-left2',{attrs:{"templateData":_vm.templateData}}),_c('fabric-right2',{attrs:{"templateData":_vm.templateData}}),_c('fabric-bottom2',{attrs:{"templateData":_vm.templateData}}),_c('fabric-center2',_vm._g({attrs:{"other":_vm.templateData.other,"polyline":_vm.templateData.left.leftYScalevalue},on:{"pointOperation":_vm.pointOperation}},_vm.$listeners))]:[(_vm.hasXScalevalue)?_c('fabric-text-group',_vm._g({attrs:{"templateData":_vm.templateData}},_vm.$listeners)):_vm._e(),_c('fabric-grid'),(_vm.hasTable)?_c('fabric-scale-value',{attrs:{"templateData":_vm.templateData}}):_vm._e(),(_vm.hasTopTable)?_c('fabric-lines',_vm._g({ref:"lines",attrs:{"linesObj":_vm.templateData.top}},_vm.$listeners)):_vm._e(),(_vm.hasTable)?_c('fabric-polylines',_vm._g({ref:"polylines",attrs:{"polyline":_vm.polylines,"other":_vm.templateData.left.other || {}},on:{"pointOperation":_vm.pointOperation}},_vm.$listeners)):_vm._e()]],2):_vm._e()],1)}
|
|
304
304
|
var staticRenderFns = []
|
|
305
305
|
|
|
@@ -312,12 +312,12 @@ var objectSpread2 = __webpack_require__("5530");
|
|
|
312
312
|
// EXTERNAL MODULE: ./src/core/create.js
|
|
313
313
|
var create = __webpack_require__("8aef");
|
|
314
314
|
|
|
315
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
316
|
-
var
|
|
317
|
-
var
|
|
315
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4576a635-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/FabricCanvas.vue?vue&type=template&id=43ffc7f0&
|
|
316
|
+
var FabricCanvasvue_type_template_id_43ffc7f0_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('canvas',{attrs:{"id":_vm.id}}),_vm._t("default")],2)}
|
|
317
|
+
var FabricCanvasvue_type_template_id_43ffc7f0_staticRenderFns = []
|
|
318
318
|
|
|
319
319
|
|
|
320
|
-
// CONCATENATED MODULE: ./packages/fabric-chart/src/fabric-chart/FabricCanvas.vue?vue&type=template&id=
|
|
320
|
+
// CONCATENATED MODULE: ./packages/fabric-chart/src/fabric-chart/FabricCanvas.vue?vue&type=template&id=43ffc7f0&
|
|
321
321
|
|
|
322
322
|
// EXTERNAL MODULE: external "core-js/modules/es.array.map.js"
|
|
323
323
|
var es_array_map_js_ = __webpack_require__("4391");
|
|
@@ -768,7 +768,8 @@ var defaultVaule_data = {
|
|
|
768
768
|
}
|
|
769
769
|
},
|
|
770
770
|
beforeDestroy: function beforeDestroy() {
|
|
771
|
-
this.canvas.
|
|
771
|
+
this.canvas.clear();
|
|
772
|
+
this.canvas = null; // this.canvas.dispose();
|
|
772
773
|
}
|
|
773
774
|
});
|
|
774
775
|
// CONCATENATED MODULE: ./packages/fabric-chart/src/fabric-chart/FabricCanvas.vue?vue&type=script&lang=js&
|
|
@@ -786,8 +787,8 @@ var componentNormalizer = __webpack_require__("2877");
|
|
|
786
787
|
|
|
787
788
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
788
789
|
fabric_chart_FabricCanvasvue_type_script_lang_js_,
|
|
789
|
-
|
|
790
|
-
|
|
790
|
+
FabricCanvasvue_type_template_id_43ffc7f0_render,
|
|
791
|
+
FabricCanvasvue_type_template_id_43ffc7f0_staticRenderFns,
|
|
791
792
|
false,
|
|
792
793
|
null,
|
|
793
794
|
null,
|
|
@@ -796,7 +797,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
796
797
|
)
|
|
797
798
|
|
|
798
799
|
/* harmony default export */ var FabricCanvas = (component.exports);
|
|
799
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
800
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4576a635-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-chart2/FabricCanvas.vue?vue&type=template&id=d9708486&
|
|
800
801
|
var FabricCanvasvue_type_template_id_d9708486_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('canvas',{attrs:{"id":_vm.id}}),_vm._t("default")],2)}
|
|
801
802
|
var FabricCanvasvue_type_template_id_d9708486_staticRenderFns = []
|
|
802
803
|
|
|
@@ -1036,7 +1037,7 @@ var FabricCanvas_component = Object(componentNormalizer["a" /* default */])(
|
|
|
1036
1037
|
)
|
|
1037
1038
|
|
|
1038
1039
|
/* harmony default export */ var fabric_chart2_FabricCanvas = (FabricCanvas_component.exports);
|
|
1039
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1040
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4576a635-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=1031ec15&
|
|
1040
1041
|
var FabricPolylinesvue_type_template_id_1031ec15_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(),_c('DropPopup',{directives:[{name:"show",rawName:"v-show",value:(_vm.isDropVisible),expression:"isDropVisible"}],attrs:{"val":_vm.dropVal,"dropPos":_vm.dropPos}})],1)}
|
|
1041
1042
|
var FabricPolylinesvue_type_template_id_1031ec15_staticRenderFns = []
|
|
1042
1043
|
|
|
@@ -1647,7 +1648,7 @@ var type_isObject = function isObject(obj) {
|
|
|
1647
1648
|
}
|
|
1648
1649
|
}
|
|
1649
1650
|
});
|
|
1650
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1651
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4576a635-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/components/MouseRightClick.vue?vue&type=template&id=25d4407a&scoped=true&
|
|
1651
1652
|
var MouseRightClickvue_type_template_id_25d4407a_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"c-mouse-right-menu-popup c-animation-in",style:(_vm.dialogStyle)},[_c('div',{staticClass:"c-mouse-right-menu"},_vm._l((_vm.nodeList),function(item,index){return _c('div',{key:index,staticClass:"c-mouse-menu-item",on:{"click":function($event){return _vm.handleNodeClick(item)}}},[_c('span',[_vm._v(_vm._s(item.name))])])}),0)])}
|
|
1652
1653
|
var MouseRightClickvue_type_template_id_25d4407a_scoped_true_staticRenderFns = []
|
|
1653
1654
|
|
|
@@ -1755,7 +1756,7 @@ var MouseRightClick_component = Object(componentNormalizer["a" /* default */])(
|
|
|
1755
1756
|
)
|
|
1756
1757
|
|
|
1757
1758
|
/* harmony default export */ var MouseRightClick = (MouseRightClick_component.exports);
|
|
1758
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1759
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4576a635-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/components/DropPopup.vue?vue&type=template&id=c4db0ace&scoped=true&
|
|
1759
1760
|
var DropPopupvue_type_template_id_c4db0ace_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"c-drop-popup",style:(_vm.dialogStyle)},[_c('div',{staticClass:"c-drop-popup-list"},[_c('span',[_vm._v(_vm._s(_vm.val.title))]),_vm._l((_vm.val.list),function(item){return _c('span',{key:item.id},[_vm._v(" "+_vm._s(((item.name) + ": " + (item.value)))+" ")])})],2)])}
|
|
1760
1761
|
var DropPopupvue_type_template_id_c4db0ace_scoped_true_staticRenderFns = []
|
|
1761
1762
|
|
|
@@ -2428,13 +2429,13 @@ var rightClickNodeConnect = [{
|
|
|
2428
2429
|
this.canvas.renderAll();
|
|
2429
2430
|
},
|
|
2430
2431
|
|
|
2431
|
-
/**
|
|
2432
|
-
* 绘制一条折线
|
|
2433
|
-
* @param {polyline} 折线属性
|
|
2434
|
-
* @param {polyline.type} 折线点形状 circle: 圆 | triangle: 三角
|
|
2435
|
-
* @param {polyline.pointAttr} 参数 fill: 填充色 | stroke: 描边色 | strokeWidth: 宽度 | radius: 半径 | width: 宽度 | height: 高度
|
|
2436
|
-
* @param {polyline.list} 折线点坐标数组
|
|
2437
|
-
* @param {polylineIndex} 当前折线 index
|
|
2432
|
+
/**
|
|
2433
|
+
* 绘制一条折线
|
|
2434
|
+
* @param {polyline} 折线属性
|
|
2435
|
+
* @param {polyline.type} 折线点形状 circle: 圆 | triangle: 三角
|
|
2436
|
+
* @param {polyline.pointAttr} 参数 fill: 填充色 | stroke: 描边色 | strokeWidth: 宽度 | radius: 半径 | width: 宽度 | height: 高度
|
|
2437
|
+
* @param {polyline.list} 折线点坐标数组
|
|
2438
|
+
* @param {polylineIndex} 当前折线 index
|
|
2438
2439
|
*/
|
|
2439
2440
|
drawPolyline: function drawPolyline(polyline, polylineIndex, polylineType, polylineTypeId) {
|
|
2440
2441
|
var _this8 = this;
|
|
@@ -2537,12 +2538,12 @@ var rightClickNodeConnect = [{
|
|
|
2537
2538
|
return this.propItems.endY - yScaleCell * yCellUnit;
|
|
2538
2539
|
},
|
|
2539
2540
|
|
|
2540
|
-
/**
|
|
2541
|
-
* 绘制折线点
|
|
2542
|
-
* @param {left, top} 折线点坐标
|
|
2543
|
-
* @param {line1, line2} 与折线点关联的线
|
|
2544
|
-
* @param {type} 折线点类型
|
|
2545
|
-
* @param {others} 参数 polylineIndex | pointIndex | ...polyline.pointAttr
|
|
2541
|
+
/**
|
|
2542
|
+
* 绘制折线点
|
|
2543
|
+
* @param {left, top} 折线点坐标
|
|
2544
|
+
* @param {line1, line2} 与折线点关联的线
|
|
2545
|
+
* @param {type} 折线点类型
|
|
2546
|
+
* @param {others} 参数 polylineIndex | pointIndex | ...polyline.pointAttr
|
|
2546
2547
|
*/
|
|
2547
2548
|
drawPoint: function drawPoint(left, top, line1, line2, type, others, isInit) {
|
|
2548
2549
|
var _this9 = this;
|
|
@@ -2708,12 +2709,12 @@ var rightClickNodeConnect = [{
|
|
|
2708
2709
|
this.addPointList.push(data);
|
|
2709
2710
|
},
|
|
2710
2711
|
|
|
2711
|
-
/**
|
|
2712
|
-
* @description: 滑动批量新增节点
|
|
2713
|
-
* @param {*} point 拖动的最后一个节点
|
|
2714
|
-
* @param {*} originLeft 拖动的源节点的left值
|
|
2715
|
-
* @param {*} originTop 拖动的源节点的top值
|
|
2716
|
-
* @return {*}
|
|
2712
|
+
/**
|
|
2713
|
+
* @description: 滑动批量新增节点
|
|
2714
|
+
* @param {*} point 拖动的最后一个节点
|
|
2715
|
+
* @param {*} originLeft 拖动的源节点的left值
|
|
2716
|
+
* @param {*} originTop 拖动的源节点的top值
|
|
2717
|
+
* @return {*}
|
|
2717
2718
|
*/
|
|
2718
2719
|
addPoint: function addPoint(point, originLeft, originTop) {
|
|
2719
2720
|
var _this10 = this;
|
|
@@ -2967,10 +2968,10 @@ var rightClickNodeConnect = [{
|
|
|
2967
2968
|
return y;
|
|
2968
2969
|
},
|
|
2969
2970
|
|
|
2970
|
-
/**
|
|
2971
|
-
* 绘制折线点
|
|
2972
|
-
* @param {lines} 线坐标 [x1, y1, x2, y2]
|
|
2973
|
-
* @param {others} 参数 polylineIndex | pointIndex | ...polyline.lineAttr
|
|
2971
|
+
/**
|
|
2972
|
+
* 绘制折线点
|
|
2973
|
+
* @param {lines} 线坐标 [x1, y1, x2, y2]
|
|
2974
|
+
* @param {others} 参数 polylineIndex | pointIndex | ...polyline.lineAttr
|
|
2974
2975
|
*/
|
|
2975
2976
|
drawLine: function drawLine(lines, others) {
|
|
2976
2977
|
var lineId = "".concat(others.lineIndex, "_").concat(others.polylineIndex, "_polylineLine_").concat(new Date().getTime());
|
|
@@ -3351,12 +3352,12 @@ var FabricGrid_component = Object(componentNormalizer["a" /* default */])(
|
|
|
3351
3352
|
)
|
|
3352
3353
|
|
|
3353
3354
|
/* harmony default export */ var FabricGrid = (FabricGrid_component.exports);
|
|
3354
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3355
|
-
var
|
|
3356
|
-
var
|
|
3355
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4576a635-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/FabricTextGroup.vue?vue&type=template&id=84b14bd8&
|
|
3356
|
+
var FabricTextGroupvue_type_template_id_84b14bd8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"text-group"},[(_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)}
|
|
3357
|
+
var FabricTextGroupvue_type_template_id_84b14bd8_staticRenderFns = []
|
|
3357
3358
|
|
|
3358
3359
|
|
|
3359
|
-
// CONCATENATED MODULE: ./packages/fabric-chart/src/fabric-chart/FabricTextGroup.vue?vue&type=template&id=
|
|
3360
|
+
// CONCATENATED MODULE: ./packages/fabric-chart/src/fabric-chart/FabricTextGroup.vue?vue&type=template&id=84b14bd8&
|
|
3360
3361
|
|
|
3361
3362
|
// EXTERNAL MODULE: external "core-js/modules/es.array.sort.js"
|
|
3362
3363
|
var es_array_sort_js_ = __webpack_require__("4c07");
|
|
@@ -3758,7 +3759,10 @@ var getTopTotalList = function getTopTotalList(tree, topTotalList) {
|
|
|
3758
3759
|
},
|
|
3759
3760
|
// 底部标记
|
|
3760
3761
|
drawBottomTextDataGroup: function drawBottomTextDataGroup(obj) {
|
|
3761
|
-
var _obj$
|
|
3762
|
+
var _obj$style,
|
|
3763
|
+
_obj$iconStyle,
|
|
3764
|
+
_obj$seqStyle,
|
|
3765
|
+
_obj$seqStyle$circle,
|
|
3762
3766
|
_this10 = this;
|
|
3763
3767
|
|
|
3764
3768
|
if (!obj.list) {
|
|
@@ -3789,8 +3793,9 @@ var getTopTotalList = function getTopTotalList(tree, topTotalList) {
|
|
|
3789
3793
|
|
|
3790
3794
|
var baseYLimit = endY - 2; // 目前固定10像素的上边距
|
|
3791
3795
|
|
|
3792
|
-
var
|
|
3793
|
-
|
|
3796
|
+
var lineHeightText = (((_obj$style = obj.style) === null || _obj$style === void 0 ? void 0 : _obj$style.fontSize) || 12) + 2;
|
|
3797
|
+
var lineHeightImg = (((_obj$iconStyle = obj.iconStyle) === null || _obj$iconStyle === void 0 ? void 0 : _obj$iconStyle.height) || 12) + 2;
|
|
3798
|
+
var lineHeightSeq = (((_obj$seqStyle = obj.seqStyle) === null || _obj$seqStyle === void 0 ? void 0 : (_obj$seqStyle$circle = _obj$seqStyle.circle) === null || _obj$seqStyle$circle === void 0 ? void 0 : _obj$seqStyle$circle.radius) || 9) * 2 + 2;
|
|
3794
3799
|
obj.list.forEach(function (item, index) {
|
|
3795
3800
|
var limitIndex = -1; // 标志点是否往上排列的标志,大于-1则表示需要往上排列
|
|
3796
3801
|
|
|
@@ -3800,30 +3805,34 @@ var getTopTotalList = function getTopTotalList(tree, topTotalList) {
|
|
|
3800
3805
|
|
|
3801
3806
|
if (_this10.isLimit(item[0])) {
|
|
3802
3807
|
item[1].forEach( /*#__PURE__*/function () {
|
|
3803
|
-
var _ref2 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function
|
|
3804
|
-
var common,
|
|
3805
|
-
|
|
3808
|
+
var _ref2 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(v, i) {
|
|
3809
|
+
var common, setTop, eventStyle, addCanvas, option, ele, img, _obj$seqStyle2, _obj$seqStyle3, circle, text, group, _text;
|
|
3810
|
+
|
|
3811
|
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
3806
3812
|
while (1) {
|
|
3807
|
-
switch (
|
|
3813
|
+
switch (_context2.prev = _context2.next) {
|
|
3808
3814
|
case 0:
|
|
3809
|
-
|
|
3810
|
-
|
|
3815
|
+
setTop = function _setTop(lineHeight) {
|
|
3816
|
+
if (!~limitIndex) {
|
|
3817
|
+
y += i === 0 ? lineHeight / 2 : lineHeight;
|
|
3811
3818
|
|
|
3812
|
-
|
|
3813
|
-
|
|
3819
|
+
if (y >= canvasHeight - lineHeight / 2) {
|
|
3820
|
+
limitIndex++;
|
|
3814
3821
|
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3822
|
+
if (limitIndex === 0) {
|
|
3823
|
+
y = baseYLimit;
|
|
3824
|
+
y -= lineHeight / 2;
|
|
3825
|
+
}
|
|
3818
3826
|
}
|
|
3827
|
+
} else {
|
|
3828
|
+
y -= lineHeight;
|
|
3819
3829
|
}
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
}
|
|
3830
|
+
|
|
3831
|
+
common.top = y;
|
|
3832
|
+
};
|
|
3823
3833
|
|
|
3824
3834
|
common = {
|
|
3825
3835
|
left: x,
|
|
3826
|
-
top: y,
|
|
3827
3836
|
originX: 'center',
|
|
3828
3837
|
originY: 'center',
|
|
3829
3838
|
data: v.data || {},
|
|
@@ -3837,136 +3846,104 @@ var getTopTotalList = function getTopTotalList(tree, topTotalList) {
|
|
|
3837
3846
|
lockMovementY: true
|
|
3838
3847
|
} : {};
|
|
3839
3848
|
|
|
3840
|
-
|
|
3849
|
+
addCanvas = /*#__PURE__*/function () {
|
|
3841
3850
|
var _ref3 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee(point) {
|
|
3842
|
-
var _v$other;
|
|
3843
|
-
|
|
3844
|
-
var _obj$numberStyle, _v$other2, _obj$numberStyle2, circle, text, scale, group;
|
|
3845
|
-
|
|
3846
3851
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
3847
3852
|
while (1) {
|
|
3848
3853
|
switch (_context.prev = _context.next) {
|
|
3849
3854
|
case 0:
|
|
3850
|
-
if (!((_v$other = v.other) !== null && _v$other !== void 0 && _v$other.number)) {
|
|
3851
|
-
_context.next = 8;
|
|
3852
|
-
break;
|
|
3853
|
-
}
|
|
3854
|
-
|
|
3855
|
-
_context.next = 3;
|
|
3856
|
-
return _this10.createPoint('circle', Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, common), {}, {
|
|
3857
|
-
radius: 5,
|
|
3858
|
-
strokeWidth: 1,
|
|
3859
|
-
stroke: '#000',
|
|
3860
|
-
fill: 'transparent'
|
|
3861
|
-
}, (_obj$numberStyle = obj.numberStyle) === null || _obj$numberStyle === void 0 ? void 0 : _obj$numberStyle.circle), {}, {
|
|
3862
|
-
left: 0,
|
|
3863
|
-
top: 0
|
|
3864
|
-
}));
|
|
3865
|
-
|
|
3866
|
-
case 3:
|
|
3867
|
-
circle = _context.sent;
|
|
3868
|
-
text = new _this10.fabric.Text(String((_v$other2 = v.other) === null || _v$other2 === void 0 ? void 0 : _v$other2.number), Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, defaultVaule.textStyle), common), ((_obj$numberStyle2 = obj.numberStyle) === null || _obj$numberStyle2 === void 0 ? void 0 : _obj$numberStyle2.text) || {}), {}, {
|
|
3869
|
-
left: 0,
|
|
3870
|
-
top: 0
|
|
3871
|
-
}));
|
|
3872
|
-
scale = typeof point.scale === 'number' ? point.scale : 1;
|
|
3873
|
-
group = new _this10.fabric.Group([circle, text], Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, common), {}, {
|
|
3874
|
-
originY: 'right',
|
|
3875
|
-
left: point.left - point.width * scale / 2 - defaultVaule.bottomNumberLeftSpace,
|
|
3876
|
-
selectable: false,
|
|
3877
|
-
hoverCursor: 'default'
|
|
3878
|
-
}, eventStyle));
|
|
3879
|
-
return _context.abrupt("return", group);
|
|
3880
|
-
|
|
3881
|
-
case 8:
|
|
3882
|
-
case "end":
|
|
3883
|
-
return _context.stop();
|
|
3884
|
-
}
|
|
3885
|
-
}
|
|
3886
|
-
}, _callee);
|
|
3887
|
-
}));
|
|
3888
|
-
|
|
3889
|
-
return function addNumber(_x3) {
|
|
3890
|
-
return _ref3.apply(this, arguments);
|
|
3891
|
-
};
|
|
3892
|
-
}();
|
|
3893
|
-
|
|
3894
|
-
addCanvas = /*#__PURE__*/function () {
|
|
3895
|
-
var _ref4 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(point) {
|
|
3896
|
-
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
3897
|
-
while (1) {
|
|
3898
|
-
switch (_context2.prev = _context2.next) {
|
|
3899
|
-
case 0:
|
|
3900
|
-
_context2.next = 2;
|
|
3901
|
-
return addNumber(point);
|
|
3902
|
-
|
|
3903
|
-
case 2:
|
|
3904
|
-
point.number = _context2.sent;
|
|
3905
3855
|
point.hasControls = point.hasBorders = false;
|
|
3906
3856
|
|
|
3907
3857
|
_this10.pointEvent(point);
|
|
3908
3858
|
|
|
3909
3859
|
_this10.canvas.add(point);
|
|
3910
3860
|
|
|
3911
|
-
point.number && _this10.canvas.add(point.number);
|
|
3912
|
-
|
|
3913
3861
|
_this10.canvas.requestRenderAll();
|
|
3914
3862
|
|
|
3915
|
-
case
|
|
3863
|
+
case 4:
|
|
3916
3864
|
case "end":
|
|
3917
|
-
return
|
|
3865
|
+
return _context.stop();
|
|
3918
3866
|
}
|
|
3919
3867
|
}
|
|
3920
|
-
},
|
|
3868
|
+
}, _callee);
|
|
3921
3869
|
}));
|
|
3922
3870
|
|
|
3923
|
-
return function addCanvas(
|
|
3924
|
-
return
|
|
3871
|
+
return function addCanvas(_x3) {
|
|
3872
|
+
return _ref3.apply(this, arguments);
|
|
3925
3873
|
};
|
|
3926
3874
|
}();
|
|
3927
3875
|
|
|
3928
3876
|
if (!(_this10.isObject(v) && !v.value)) {
|
|
3929
|
-
|
|
3877
|
+
_context2.next = 17;
|
|
3930
3878
|
break;
|
|
3931
3879
|
}
|
|
3932
3880
|
|
|
3881
|
+
setTop(lineHeightImg);
|
|
3933
3882
|
option = Object.assign({}, obj.iconStyle || {}, v || {}, Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, common), eventStyle));
|
|
3934
3883
|
|
|
3935
3884
|
if (!(v !== null && v !== void 0 && v.iconClassName)) {
|
|
3936
|
-
|
|
3885
|
+
_context2.next = 11;
|
|
3937
3886
|
break;
|
|
3938
3887
|
}
|
|
3939
3888
|
|
|
3940
|
-
|
|
3889
|
+
_context2.next = 10;
|
|
3941
3890
|
return _this10.createImage(v.iconClassName, v);
|
|
3942
3891
|
|
|
3943
3892
|
case 10:
|
|
3944
|
-
ele =
|
|
3893
|
+
ele = _context2.sent;
|
|
3945
3894
|
|
|
3946
3895
|
case 11:
|
|
3947
|
-
|
|
3896
|
+
_context2.next = 13;
|
|
3948
3897
|
return _this10.createPoint(v !== null && v !== void 0 && v.url || v !== null && v !== void 0 && v.iconClassName ? 'img' : v.type, Object(objectSpread2["a" /* default */])({
|
|
3949
3898
|
ele: ele || ''
|
|
3950
3899
|
}, option));
|
|
3951
3900
|
|
|
3952
3901
|
case 13:
|
|
3953
|
-
img =
|
|
3902
|
+
img = _context2.sent;
|
|
3954
3903
|
addCanvas(img);
|
|
3955
|
-
|
|
3904
|
+
_context2.next = 31;
|
|
3956
3905
|
break;
|
|
3957
3906
|
|
|
3958
3907
|
case 17:
|
|
3959
|
-
if (v.value) {
|
|
3960
|
-
|
|
3961
|
-
|
|
3908
|
+
if (!v.value) {
|
|
3909
|
+
_context2.next = 31;
|
|
3910
|
+
break;
|
|
3911
|
+
}
|
|
3912
|
+
|
|
3913
|
+
if (!v.seq) {
|
|
3914
|
+
_context2.next = 28;
|
|
3915
|
+
break;
|
|
3962
3916
|
}
|
|
3963
3917
|
|
|
3964
|
-
|
|
3918
|
+
setTop(lineHeightSeq); // 标记增加序号
|
|
3919
|
+
|
|
3920
|
+
_context2.next = 22;
|
|
3921
|
+
return _this10.createPoint('circle', Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, common), {}, {
|
|
3922
|
+
radius: 5,
|
|
3923
|
+
strokeWidth: 1,
|
|
3924
|
+
stroke: '#000',
|
|
3925
|
+
fill: 'transparent'
|
|
3926
|
+
}, ((_obj$seqStyle2 = obj.seqStyle) === null || _obj$seqStyle2 === void 0 ? void 0 : _obj$seqStyle2.circle) || {}));
|
|
3927
|
+
|
|
3928
|
+
case 22:
|
|
3929
|
+
circle = _context2.sent;
|
|
3930
|
+
text = new _this10.fabric.Text(String(v.value), Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, defaultVaule.textStyle), common), ((_obj$seqStyle3 = obj.seqStyle) === null || _obj$seqStyle3 === void 0 ? void 0 : _obj$seqStyle3.text) || {}));
|
|
3931
|
+
group = new _this10.fabric.Group([circle, text], Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, common), eventStyle));
|
|
3932
|
+
addCanvas(group);
|
|
3933
|
+
_context2.next = 31;
|
|
3934
|
+
break;
|
|
3935
|
+
|
|
3936
|
+
case 28:
|
|
3937
|
+
setTop(lineHeightText);
|
|
3938
|
+
_text = new _this10.fabric.Text(String(v.value), Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, defaultVaule.textStyle), obj.style), common), eventStyle));
|
|
3939
|
+
addCanvas(_text);
|
|
3940
|
+
|
|
3941
|
+
case 31:
|
|
3965
3942
|
case "end":
|
|
3966
|
-
return
|
|
3943
|
+
return _context2.stop();
|
|
3967
3944
|
}
|
|
3968
3945
|
}
|
|
3969
|
-
},
|
|
3946
|
+
}, _callee2);
|
|
3970
3947
|
}));
|
|
3971
3948
|
|
|
3972
3949
|
return function (_x, _x2) {
|
|
@@ -3976,17 +3953,6 @@ var getTopTotalList = function getTopTotalList(tree, topTotalList) {
|
|
|
3976
3953
|
}
|
|
3977
3954
|
}); // this.canvas.add(...textList);
|
|
3978
3955
|
},
|
|
3979
|
-
// 标记移动时 setCoords()方法手动更新相关联的序号等坐标
|
|
3980
|
-
updateNumber: function updateNumber(point) {
|
|
3981
|
-
if (point.number) {
|
|
3982
|
-
point.number.setCoords();
|
|
3983
|
-
var scale = typeof point.scale === 'number' ? point.scale : 1;
|
|
3984
|
-
point.number.set({
|
|
3985
|
-
left: point.left - point.width * scale / 2 - defaultVaule.bottomNumberLeftSpace,
|
|
3986
|
-
top: point.top
|
|
3987
|
-
});
|
|
3988
|
-
}
|
|
3989
|
-
},
|
|
3990
3956
|
pointEvent: function pointEvent(point) {
|
|
3991
3957
|
var _this11 = this;
|
|
3992
3958
|
|
|
@@ -3995,24 +3961,12 @@ var getTopTotalList = function getTopTotalList(tree, topTotalList) {
|
|
|
3995
3961
|
});
|
|
3996
3962
|
point.on('mouseout', function () {
|
|
3997
3963
|
_this11.isDropVisible = false;
|
|
3998
|
-
});
|
|
3999
|
-
|
|
4000
|
-
if (point.number) {
|
|
4001
|
-
point.number.on('mouseover', function () {
|
|
4002
|
-
_this11.showDrapPopup(point, true);
|
|
4003
|
-
});
|
|
4004
|
-
point.number.on('mouseout', function () {
|
|
4005
|
-
_this11.isDropVisible = false;
|
|
4006
|
-
});
|
|
4007
|
-
} // 移动中 实时更新相关联的线的坐标
|
|
4008
|
-
|
|
3964
|
+
}); // 移动中 实时更新相关联的线的坐标
|
|
4009
3965
|
|
|
4010
3966
|
if (this.eventStyle.evented) {
|
|
4011
3967
|
point.on('moving', function () {
|
|
4012
3968
|
_this11.moveLimit(point);
|
|
4013
3969
|
|
|
4014
|
-
_this11.updateNumber(point);
|
|
4015
|
-
|
|
4016
3970
|
_this11.canvas.renderAll();
|
|
4017
3971
|
|
|
4018
3972
|
_this11.showDrapPopup(point);
|
|
@@ -4180,8 +4134,8 @@ var getTopTotalList = function getTopTotalList(tree, topTotalList) {
|
|
|
4180
4134
|
|
|
4181
4135
|
var FabricTextGroup_component = Object(componentNormalizer["a" /* default */])(
|
|
4182
4136
|
fabric_chart_FabricTextGroupvue_type_script_lang_js_,
|
|
4183
|
-
|
|
4184
|
-
|
|
4137
|
+
FabricTextGroupvue_type_template_id_84b14bd8_render,
|
|
4138
|
+
FabricTextGroupvue_type_template_id_84b14bd8_staticRenderFns,
|
|
4185
4139
|
false,
|
|
4186
4140
|
null,
|
|
4187
4141
|
null,
|
|
@@ -4190,14 +4144,14 @@ var FabricTextGroup_component = Object(componentNormalizer["a" /* default */])(
|
|
|
4190
4144
|
)
|
|
4191
4145
|
|
|
4192
4146
|
/* harmony default export */ var FabricTextGroup = (FabricTextGroup_component.exports);
|
|
4193
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4147
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4576a635-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/FabricScaleValue.vue?vue&type=template&id=5ae188c2&
|
|
4194
4148
|
var FabricScaleValuevue_type_template_id_5ae188c2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.templateData.top.xScalevalue.popupTop)?_c('TimeScaleValue',{attrs:{"times":_vm.timeList,"templateData":_vm.templateData}}):_vm._e()}
|
|
4195
4149
|
var FabricScaleValuevue_type_template_id_5ae188c2_staticRenderFns = []
|
|
4196
4150
|
|
|
4197
4151
|
|
|
4198
4152
|
// CONCATENATED MODULE: ./packages/fabric-chart/src/fabric-chart/FabricScaleValue.vue?vue&type=template&id=5ae188c2&
|
|
4199
4153
|
|
|
4200
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4154
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4576a635-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/components/TimeScaleValue.vue?vue&type=template&id=64942e54&scoped=true&
|
|
4201
4155
|
var TimeScaleValuevue_type_template_id_64942e54_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShow),expression:"isShow"}],staticClass:"c-time-scalevalue",style:({ '--left': _vm.popupStyle.left, '--top': _vm.popupStyle.top, '--height': _vm.popupStyle.height, '--width': _vm.popupStyle.width })},_vm._l((_vm.times),function(item,index){return _c('span',{directives:[{name:"show",rawName:"v-show",value:(index % 2 == 0),expression:"index % 2 == 0"}],key:item.left,staticClass:"c-time-scalevalue-list",style:({ left: ((item.left - item.width / 2) + "px"), '--font-size': _vm.popupStyle.fontSize })},[_vm._v(" "+_vm._s(item.time)+" ")])}),0)}
|
|
4202
4156
|
var TimeScaleValuevue_type_template_id_64942e54_scoped_true_staticRenderFns = []
|
|
4203
4157
|
|
|
@@ -4525,7 +4479,7 @@ var FabricScaleValue_component = Object(componentNormalizer["a" /* default */])(
|
|
|
4525
4479
|
)
|
|
4526
4480
|
|
|
4527
4481
|
/* harmony default export */ var FabricScaleValue = (FabricScaleValue_component.exports);
|
|
4528
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4482
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4576a635-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/FabricLines.vue?vue&type=template&id=229d2d58&
|
|
4529
4483
|
var FabricLinesvue_type_template_id_229d2d58_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"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)}
|
|
4530
4484
|
var FabricLinesvue_type_template_id_229d2d58_staticRenderFns = []
|
|
4531
4485
|
|
|
@@ -5900,7 +5854,7 @@ var FabricBottom_component = Object(componentNormalizer["a" /* default */])(
|
|
|
5900
5854
|
)
|
|
5901
5855
|
|
|
5902
5856
|
/* harmony default export */ var FabricBottom = (FabricBottom_component.exports);
|
|
5903
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5857
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4576a635-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-chart2/FabricCenter.vue?vue&type=template&id=4d90e644&
|
|
5904
5858
|
var FabricCentervue_type_template_id_4d90e644_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)}
|
|
5905
5859
|
var FabricCentervue_type_template_id_4d90e644_staticRenderFns = []
|
|
5906
5860
|
|
package/es/form/index.js
CHANGED
|
@@ -726,14 +726,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
726
726
|
/* harmony import */ var ant_design_vue_es_base_style__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(ant_design_vue_es_base_style__WEBPACK_IMPORTED_MODULE_0__);
|
|
727
727
|
/* harmony import */ var ant_design_vue_es_base__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("be79");
|
|
728
728
|
/* harmony import */ var ant_design_vue_es_base__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(ant_design_vue_es_base__WEBPACK_IMPORTED_MODULE_1__);
|
|
729
|
-
/* harmony import */ var
|
|
730
|
-
/* harmony import */ var
|
|
731
|
-
/* harmony import */ var
|
|
732
|
-
/* harmony import */ var
|
|
733
|
-
/* harmony import */ var
|
|
734
|
-
/* harmony import */ var
|
|
735
|
-
/* harmony import */ var
|
|
736
|
-
/* harmony import */ var
|
|
729
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("e260");
|
|
730
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
731
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("e6cf");
|
|
732
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
733
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("cca6");
|
|
734
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
735
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("a79d");
|
|
736
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
737
737
|
|
|
738
738
|
|
|
739
739
|
|