cnhis-design-vue 2.1.137 → 2.1.138

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 (43) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/es/age/index.js +2 -2
  3. package/es/big-table/index.js +51 -50
  4. package/es/big-table/style.css +1 -1
  5. package/es/button/index.js +2 -2
  6. package/es/captcha/index.js +3 -3
  7. package/es/card-reader-sdk/index.js +1 -1
  8. package/es/checkbox/index.js +1 -1
  9. package/es/color-picker/index.js +1 -1
  10. package/es/drag-layout/index.js +3 -3
  11. package/es/editor/index.js +1 -1
  12. package/es/ellipsis/index.js +1 -1
  13. package/es/fabric-chart/index.js +30 -26
  14. package/es/form-table/index.js +20 -20
  15. package/es/full-calendar/index.js +4 -4
  16. package/es/index/index.js +229 -224
  17. package/es/index/style.css +1 -1
  18. package/es/input/index.js +1 -1
  19. package/es/map/index.js +1 -1
  20. package/es/multi-chat/index.js +25 -25
  21. package/es/multi-chat-client/index.js +19 -19
  22. package/es/multi-chat-history/index.js +4 -4
  23. package/es/multi-chat-record/index.js +4 -4
  24. package/es/multi-chat-setting/index.js +20 -20
  25. package/es/multi-chat-sip/index.js +1 -1
  26. package/es/radio/index.js +1 -1
  27. package/es/scale-container/index.js +1 -1
  28. package/es/scale-view/index.js +27 -27
  29. package/es/select/index.js +4 -4
  30. package/es/select-label/index.js +3 -3
  31. package/es/select-person/index.js +2 -2
  32. package/es/select-tag/index.js +4 -4
  33. package/es/shortcut-setter/index.js +2 -2
  34. package/es/slider-tree/index.js +1 -1
  35. package/es/table-filter/index.js +30 -30
  36. package/es/tag/index.js +1 -1
  37. package/es/verification-code/index.js +2 -2
  38. package/lib/cui.common.js +254 -249
  39. package/lib/cui.umd.js +254 -249
  40. package/lib/cui.umd.min.js +7 -7
  41. package/package.json +1 -1
  42. package/packages/big-table/src/BigTable.vue +1 -0
  43. package/packages/fabric-chart/src/fabric-chart/FabricCanvas.vue +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "2.1.137",
3
+ "version": "2.1.138",
4
4
  "description": "前端业务UI库",
5
5
  "keyword": "cnhis-design-vue vue cnhis",
6
6
  "homepage": "http://dv.cnhis.com/",
@@ -677,6 +677,7 @@ export default create({
677
677
  let col = fieldListMap[item];
678
678
  try {
679
679
  i[item] = col ? formatFieldText(i, col, this.columnConfig.fieldList, this.fieldListOriginal): i[item];
680
+ !isHtml && (isHtml = this.checkHtml(i[item]))
680
681
  } catch (error) {
681
682
  console.log(error)
682
683
  }
@@ -203,14 +203,14 @@ export default {
203
203
  },
204
204
  // x轴每个网格每1px的毫秒值和每个网格刻度对应的时间戳和每个网格对应的像素px值,返回一个list数组
205
205
  xScaleCellList() {
206
- const { subSecondXCell } = this.templateData.table;
206
+ const { spaceGridNumber = 3 } = this.templateData.top?.xScalevalue || {};
207
207
  const list = [];
208
208
  this.xScaleList.forEach((v, j) => {
209
209
  if (this.xScaleList[j + 1]) {
210
- const cellTime = (this.xScaleList[j + 1] - v) / subSecondXCell;
210
+ const cellTime = (this.xScaleList[j + 1] - v) / spaceGridNumber;
211
211
  const scaleCellTime = cellTime / this.xCellWidth;
212
- const left = this.originX + this.xCellWidth * subSecondXCell * j;
213
- for (let i = 0; i < subSecondXCell; i++) {
212
+ const left = this.originX + this.xCellWidth * spaceGridNumber * j;
213
+ for (let i = 0; i < spaceGridNumber; i++) {
214
214
  list.push({
215
215
  x: left + i * this.xCellWidth, // 网格刻度对应的坐标值,单位px
216
216
  time: v + i * cellTime, // 网格刻度对应的时间戳