cnhis-design-vue 2.1.34 → 2.1.35

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.
Files changed (112) hide show
  1. package/CHANGELOG.md +28 -9
  2. package/es/affix/index.js +8 -8
  3. package/es/age/index.js +10 -10
  4. package/es/alert/index.js +8 -8
  5. package/es/anchor/index.js +8 -8
  6. package/es/auto-complete/index.js +8 -8
  7. package/es/avatar/index.js +8 -8
  8. package/es/back-top/index.js +8 -8
  9. package/es/badge/index.js +8 -8
  10. package/es/base/index.js +8 -8
  11. package/es/big-table/index.js +86 -86
  12. package/es/big-table/style.css +1 -1
  13. package/es/breadcrumb/index.js +8 -8
  14. package/es/button/index.js +22 -22
  15. package/es/calendar/index.js +8 -8
  16. package/es/captcha/index.js +3 -3
  17. package/es/card/index.js +8 -8
  18. package/es/carousel/index.js +8 -8
  19. package/es/cascader/index.js +8 -8
  20. package/es/checkbox/index.js +9 -9
  21. package/es/col/index.js +8 -8
  22. package/es/collapse/index.js +8 -8
  23. package/es/color-picker/index.js +1 -1
  24. package/es/comment/index.js +8 -8
  25. package/es/config-provider/index.js +8 -8
  26. package/es/date-picker/index.js +8 -8
  27. package/es/descriptions/index.js +8 -8
  28. package/es/divider/index.js +8 -8
  29. package/es/drag-layout/index.js +3 -3
  30. package/es/drawer/index.js +8 -8
  31. package/es/dropdown/index.js +8 -8
  32. package/es/editor/index.js +1 -1
  33. package/es/empty/index.js +8 -8
  34. package/es/fabric-chart/index.js +545 -2355
  35. package/es/fabric-chart/style.css +1 -1
  36. package/es/form/index.js +8 -8
  37. package/es/form-model/index.js +8 -8
  38. package/es/form-table/index.js +62 -62
  39. package/es/index/index.js +1117 -2909
  40. package/es/index/style.css +1 -1
  41. package/es/input/index.js +9 -9
  42. package/es/input-number/index.js +8 -8
  43. package/es/layout/index.js +8 -8
  44. package/es/list/index.js +8 -8
  45. package/es/locale-provider/index.js +8 -8
  46. package/es/map/index.js +9 -9
  47. package/es/mentions/index.js +8 -8
  48. package/es/menu/index.js +8 -8
  49. package/es/message/index.js +8 -8
  50. package/es/multi-chat/index.js +75 -75
  51. package/es/multi-chat-client/index.js +69 -69
  52. package/es/multi-chat-history/index.js +4 -4
  53. package/es/multi-chat-record/index.js +14 -14
  54. package/es/multi-chat-setting/index.js +22 -22
  55. package/es/multi-chat-sip/index.js +1 -1
  56. package/es/notification/index.js +8 -8
  57. package/es/page-header/index.js +8 -8
  58. package/es/pagination/index.js +8 -8
  59. package/es/popconfirm/index.js +8 -8
  60. package/es/popover/index.js +8 -8
  61. package/es/progress/index.js +8 -8
  62. package/es/radio/index.js +9 -9
  63. package/es/rate/index.js +8 -8
  64. package/es/result/index.js +8 -8
  65. package/es/row/index.js +8 -8
  66. package/es/scale-view/index.js +33 -33
  67. package/es/select/index.js +11 -11
  68. package/es/select-label/index.js +11 -11
  69. package/es/select-person/index.js +2 -2
  70. package/es/shortcut-setter/index.js +10 -10
  71. package/es/skeleton/index.js +8 -8
  72. package/es/slider/index.js +8 -8
  73. package/es/space/index.js +8 -8
  74. package/es/spin/index.js +8 -8
  75. package/es/statistic/index.js +8 -8
  76. package/es/steps/index.js +8 -8
  77. package/es/switch/index.js +8 -8
  78. package/es/table-filter/index.js +84 -73
  79. package/es/table-filter/style.css +1 -1
  80. package/es/tabs/index.js +8 -8
  81. package/es/tag/index.js +9 -9
  82. package/es/time-picker/index.js +8 -8
  83. package/es/timeline/index.js +8 -8
  84. package/es/tooltip/index.js +8 -8
  85. package/es/transfer/index.js +8 -8
  86. package/es/tree/index.js +8 -8
  87. package/es/tree-select/index.js +8 -8
  88. package/es/upload/index.js +8 -8
  89. package/es/verification-code/index.js +2 -2
  90. package/lib/cui.common.js +911 -2767
  91. package/lib/cui.umd.js +911 -2767
  92. package/lib/cui.umd.min.js +29 -29
  93. package/package.json +2 -1
  94. package/packages/big-table/src/components/AutoLayoutButton.vue +3 -3
  95. package/packages/fabric-chart/src/FabricChart.vue +0 -17
  96. package/packages/fabric-chart/src/FabricGrid.vue +3 -10
  97. package/packages/fabric-chart/src/components/TimeScaleValue.vue +10 -8
  98. package/packages/fabric-chart/src/const/defaultVaule.js +59 -59
  99. package/packages/fabric-chart/src/fabric-chart/FabricLines.vue +2 -22
  100. package/packages/fabric-chart/src/fabric-chart/FabricPolylines.vue +41 -34
  101. package/packages/fabric-chart/src/fabric-chart/FabricScaleValue.vue +5 -6
  102. package/packages/fabric-chart/src/fabric-chart/FabricTextGroup.vue +21 -16
  103. package/packages/fabric-chart/src/mixins/draw.js +2 -1
  104. package/packages/fabric-chart/src/mixins/fabricCommon.js +14 -4
  105. package/packages/scale-view/scaleView.vue +2010 -2010
  106. package/packages/table-filter/src/base-search-com/BaseSearch.vue +9 -0
  107. package/packages/fabric-chart/src/fabric-chart2/FabricBottom.vue +0 -108
  108. package/packages/fabric-chart/src/fabric-chart2/FabricCanvas.vue +0 -181
  109. package/packages/fabric-chart/src/fabric-chart2/FabricCenter.vue +0 -612
  110. package/packages/fabric-chart/src/fabric-chart2/FabricLeft.vue +0 -104
  111. package/packages/fabric-chart/src/fabric-chart2/FabricRight.vue +0 -112
  112. package/packages/fabric-chart/src/fabric-chart2/FabricTop.vue +0 -172
@@ -1,5 +1,3 @@
1
- import { v } from 'vxe-table';
2
-
3
1
  export default {
4
2
  name: 'fabric-common',
5
3
  inject: ['$canvas', '$group', '$propItems', '$fabric'],
@@ -20,6 +18,18 @@ export default {
20
18
  return this.$propItems();
21
19
  }
22
20
  },
21
+ watch: {
22
+ canvas: {
23
+ handler(value) {
24
+ if (value) {
25
+ this.$nextTick(() => {
26
+ this.init?.();
27
+ });
28
+ }
29
+ },
30
+ immediate: true
31
+ }
32
+ },
23
33
  methods: {
24
34
  // 根据x轴坐标获取对应的时间点
25
35
  // getXValue(left) {
@@ -70,7 +80,7 @@ export default {
70
80
  !~index && (index = xScaleCellList.length);
71
81
  const obj = xScaleCellList[index - 1];
72
82
  return obj.x + (time - obj.time) / obj.xScaleTime;
73
- },
83
+ }
74
84
  // // 根据时间戳计算x轴坐标
75
85
  // cumputedX(value) {
76
86
  // if (!value) {
@@ -82,4 +92,4 @@ export default {
82
92
  // return originX + (time - minScale) * xScaleCell;
83
93
  // },
84
94
  }
85
- };
95
+ };