cnhis-design-vue 2.1.42 → 2.1.44

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 (96) hide show
  1. package/CHANGELOG.md +36 -17
  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 +168 -134
  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 +24 -26
  35. package/es/form/index.js +8 -8
  36. package/es/form-model/index.js +8 -8
  37. package/es/form-table/index.js +62 -62
  38. package/es/index/index.js +521 -484
  39. package/es/index/style.css +1 -1
  40. package/es/input/index.js +9 -9
  41. package/es/input-number/index.js +8 -8
  42. package/es/layout/index.js +8 -8
  43. package/es/list/index.js +8 -8
  44. package/es/locale-provider/index.js +8 -8
  45. package/es/map/index.js +9 -9
  46. package/es/mentions/index.js +8 -8
  47. package/es/menu/index.js +8 -8
  48. package/es/message/index.js +8 -8
  49. package/es/multi-chat/index.js +75 -75
  50. package/es/multi-chat-client/index.js +69 -69
  51. package/es/multi-chat-history/index.js +4 -4
  52. package/es/multi-chat-record/index.js +14 -14
  53. package/es/multi-chat-setting/index.js +22 -22
  54. package/es/multi-chat-sip/index.js +1 -1
  55. package/es/notification/index.js +8 -8
  56. package/es/page-header/index.js +8 -8
  57. package/es/pagination/index.js +8 -8
  58. package/es/popconfirm/index.js +8 -8
  59. package/es/popover/index.js +8 -8
  60. package/es/progress/index.js +8 -8
  61. package/es/radio/index.js +9 -9
  62. package/es/rate/index.js +8 -8
  63. package/es/result/index.js +8 -8
  64. package/es/row/index.js +8 -8
  65. package/es/scale-view/index.js +33 -33
  66. package/es/select/index.js +12 -12
  67. package/es/select-label/index.js +11 -11
  68. package/es/select-person/index.js +2 -2
  69. package/es/shortcut-setter/index.js +36 -17
  70. package/es/skeleton/index.js +8 -8
  71. package/es/slider/index.js +8 -8
  72. package/es/space/index.js +8 -8
  73. package/es/spin/index.js +8 -8
  74. package/es/statistic/index.js +8 -8
  75. package/es/steps/index.js +8 -8
  76. package/es/switch/index.js +8 -8
  77. package/es/table-filter/index.js +47 -47
  78. package/es/tabs/index.js +8 -8
  79. package/es/tag/index.js +9 -9
  80. package/es/time-picker/index.js +8 -8
  81. package/es/timeline/index.js +8 -8
  82. package/es/tooltip/index.js +8 -8
  83. package/es/transfer/index.js +8 -8
  84. package/es/tree/index.js +8 -8
  85. package/es/tree-select/index.js +8 -8
  86. package/es/upload/index.js +8 -8
  87. package/es/verification-code/index.js +2 -2
  88. package/lib/cui.common.js +467 -435
  89. package/lib/cui.umd.js +467 -435
  90. package/lib/cui.umd.min.js +12 -12
  91. package/package.json +1 -1
  92. package/packages/big-table/src/BigTable.vue +21 -1
  93. package/packages/fabric-chart/src/const/defaultVaule.js +59 -59
  94. package/packages/fabric-chart/src/fabric-chart/FabricPolylines.vue +2 -4
  95. package/packages/scale-view/scaleView.vue +2010 -2010
  96. package/packages/shortcut-setter/src/utils/index.js +5 -7
@@ -1,12 +1,10 @@
1
1
  import { isString } from 'xe-utils';
2
2
 
3
3
  export function isKeyboardEvent(event) {
4
- return Reflect.get(event, 'view') === window && Reflect.get(event, 'shiftKey') != undefined;
4
+ return Reflect.get(event, 'view') === window && Reflect.get(event, 'shiftKey') !== undefined;
5
5
  }
6
6
 
7
- export function normalizeSignatureInfo(
8
- info
9
- ) {
7
+ export function normalizeSignatureInfo(info) {
10
8
  let ctrl, shift, alt;
11
9
  const key = info.key?.toUpperCase() ?? '';
12
10
 
@@ -31,13 +29,13 @@ export function inKeyBlackList(key) {
31
29
  }
32
30
 
33
31
  export function isInvalidSignature(info) {
34
- const { ctrl, shift, alt, key } = normalizeSignatureInfo(info);
35
- if (!ctrl && !shift && !alt) return !/F\d/.test(key);
32
+ const { /* ctrl, shift, alt,*/ key } = normalizeSignatureInfo(info);
33
+ // if (!ctrl && !shift && !alt) return !/F\d/.test(key);
36
34
  return inKeyBlackList(key);
37
35
  }
38
36
 
39
37
  export function getDisplaySignature(info) {
40
38
  const { ctrl, shift, alt, key } = normalizeSignatureInfo(info);
41
39
 
42
- return `${ctrl ? 'Ctrl+ ' : ''}${alt ? 'Alt + ' : ''}${shift ? 'Shift + ' : ''}${inKeyBlackList(key) ? '' : key}`;
40
+ return `${ctrl ? 'Ctrl + ' : ''}${alt ? 'Alt + ' : ''}${shift ? 'Shift + ' : ''}${inKeyBlackList(key) ? '' : key.replace(' ', 'SPACE')}`;
43
41
  }