cnhis-design-vue 2.1.141 → 2.1.143

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 (53) hide show
  1. package/CHANGELOG.md +51 -34
  2. package/es/age/index.js +2 -2
  3. package/es/big-table/index.js +152 -112
  4. package/es/big-table/style.css +1 -1
  5. package/es/button/index.js +2395 -253
  6. package/es/button/style.css +1 -1
  7. package/es/captcha/index.js +3 -3
  8. package/es/card-reader-sdk/index.js +1 -1
  9. package/es/checkbox/index.js +1 -1
  10. package/es/color-picker/index.js +1 -1
  11. package/es/drag-layout/index.js +3 -3
  12. package/es/editor/index.js +1 -1
  13. package/es/ellipsis/index.js +1 -1
  14. package/es/fabric-chart/index.js +17 -16
  15. package/es/form-table/index.js +20 -20
  16. package/es/full-calendar/index.js +4 -4
  17. package/es/index/index.js +2509 -365
  18. package/es/index/style.css +1 -1
  19. package/es/input/index.js +1 -1
  20. package/es/map/index.js +1 -1
  21. package/es/multi-chat/index.js +25 -25
  22. package/es/multi-chat-client/index.js +19 -19
  23. package/es/multi-chat-history/index.js +4 -4
  24. package/es/multi-chat-record/index.js +4 -4
  25. package/es/multi-chat-setting/index.js +20 -20
  26. package/es/multi-chat-sip/index.js +1 -1
  27. package/es/radio/index.js +1 -1
  28. package/es/scale-container/index.js +1 -1
  29. package/es/scale-view/index.js +27 -27
  30. package/es/select/index.js +4 -4
  31. package/es/select-label/index.js +3 -3
  32. package/es/select-person/index.js +23 -20
  33. package/es/select-person/style.css +1 -1
  34. package/es/select-tag/index.js +4 -4
  35. package/es/shortcut-setter/index.js +2 -2
  36. package/es/slider-tree/index.js +1 -1
  37. package/es/table-filter/index.js +2225 -97
  38. package/es/table-filter/style.css +1 -1
  39. package/es/tag/index.js +1 -1
  40. package/es/verification-code/index.js +2 -2
  41. package/lib/cui.common.js +2753 -580
  42. package/lib/cui.umd.js +2753 -580
  43. package/lib/cui.umd.min.js +66 -66
  44. package/package.json +1 -1
  45. package/packages/big-table/src/BigTable.vue +5 -4
  46. package/packages/big-table/src/utils/headerFilter.js +54 -18
  47. package/packages/button/src/ButtonPrint/index.vue +27 -691
  48. package/packages/button/src/ButtonPrint/js/print.es.min.js +1 -1
  49. package/packages/button/src/ButtonPrint/js/print.es.min1.js +1 -1
  50. package/packages/button/src/ButtonPrint/new.vue +1438 -0
  51. package/packages/button/src/ButtonPrint/old.vue +809 -0
  52. package/packages/fabric-chart/src/fabric-chart/FabricTextGroup.vue +4 -3
  53. package/packages/select-person/select-person.vue +3 -0
@@ -139,7 +139,7 @@ export default {
139
139
  }
140
140
  if (button === 1) {
141
141
  if (!this.otherListPointHeightRange?.length || this.inputObj) return;
142
- if (target?.id && (!target?.id?.includes('_other') || target?.type !== 'list')) return;
142
+ if (target?.id && (!target?.id?.includes('_other') || target?.type !== 'list' || target.isTitle)) return;
143
143
  let content = '';
144
144
  if (target) {
145
145
  if (target.moving) {
@@ -185,7 +185,7 @@ export default {
185
185
  const { dataList, left, target } = otherListPointHeightRangeItem;
186
186
  if (target) {
187
187
  const params = this.getOtherParams(target);
188
- if (text == target.origin?.value) return
188
+ if (text == target.origin?.value) return;
189
189
  this.$emit('otherChange', { ...params, data: { ...params.data, value: text } });
190
190
  } else {
191
191
  const index = dataList.findIndex(_left => _left > left);
@@ -384,7 +384,8 @@ export default {
384
384
  hasBorders: false,
385
385
  ...originOptions,
386
386
  ...this.eventStyle,
387
- dataList: []
387
+ dataList: [],
388
+ isTitle: true
388
389
  });
389
390
  this.setMovingEvent(title, originOptions);
390
391
  textList.push(title);
@@ -427,6 +427,9 @@ export default create({
427
427
  data: {
428
428
  immediate: true,
429
429
  handler() {
430
+ this.$set(this.treeData, 'main', []);
431
+ this.$set(this.treeData, 'dept', []);
432
+ this.$set(this.treeData, 'temp', []);
430
433
  this.$set(this.dataList, 'main', []);
431
434
  this.$set(this.dataList, 'dept', []);
432
435
  this.$set(this.checkedKeys, 'main', []);