cnhis-design-vue 2.1.43 → 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 (92) hide show
  1. package/CHANGELOG.md +14 -7
  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 +68 -68
  12. package/es/breadcrumb/index.js +8 -8
  13. package/es/button/index.js +22 -22
  14. package/es/calendar/index.js +8 -8
  15. package/es/captcha/index.js +3 -3
  16. package/es/card/index.js +8 -8
  17. package/es/carousel/index.js +8 -8
  18. package/es/cascader/index.js +8 -8
  19. package/es/checkbox/index.js +9 -9
  20. package/es/col/index.js +8 -8
  21. package/es/collapse/index.js +8 -8
  22. package/es/color-picker/index.js +1 -1
  23. package/es/comment/index.js +8 -8
  24. package/es/config-provider/index.js +8 -8
  25. package/es/date-picker/index.js +8 -8
  26. package/es/descriptions/index.js +8 -8
  27. package/es/divider/index.js +8 -8
  28. package/es/drag-layout/index.js +3 -3
  29. package/es/drawer/index.js +8 -8
  30. package/es/dropdown/index.js +8 -8
  31. package/es/editor/index.js +1 -1
  32. package/es/empty/index.js +8 -8
  33. package/es/fabric-chart/index.js +9 -9
  34. package/es/form/index.js +8 -8
  35. package/es/form-model/index.js +8 -8
  36. package/es/form-table/index.js +62 -62
  37. package/es/index/index.js +406 -401
  38. package/es/input/index.js +9 -9
  39. package/es/input-number/index.js +8 -8
  40. package/es/layout/index.js +8 -8
  41. package/es/list/index.js +8 -8
  42. package/es/locale-provider/index.js +8 -8
  43. package/es/map/index.js +9 -9
  44. package/es/mentions/index.js +8 -8
  45. package/es/menu/index.js +8 -8
  46. package/es/message/index.js +8 -8
  47. package/es/multi-chat/index.js +75 -75
  48. package/es/multi-chat-client/index.js +69 -69
  49. package/es/multi-chat-history/index.js +4 -4
  50. package/es/multi-chat-record/index.js +14 -14
  51. package/es/multi-chat-setting/index.js +22 -22
  52. package/es/multi-chat-sip/index.js +1 -1
  53. package/es/notification/index.js +8 -8
  54. package/es/page-header/index.js +8 -8
  55. package/es/pagination/index.js +8 -8
  56. package/es/popconfirm/index.js +8 -8
  57. package/es/popover/index.js +8 -8
  58. package/es/progress/index.js +8 -8
  59. package/es/radio/index.js +9 -9
  60. package/es/rate/index.js +8 -8
  61. package/es/result/index.js +8 -8
  62. package/es/row/index.js +8 -8
  63. package/es/scale-view/index.js +33 -33
  64. package/es/select/index.js +12 -12
  65. package/es/select-label/index.js +11 -11
  66. package/es/select-person/index.js +2 -2
  67. package/es/shortcut-setter/index.js +36 -17
  68. package/es/skeleton/index.js +8 -8
  69. package/es/slider/index.js +8 -8
  70. package/es/space/index.js +8 -8
  71. package/es/spin/index.js +8 -8
  72. package/es/statistic/index.js +8 -8
  73. package/es/steps/index.js +8 -8
  74. package/es/switch/index.js +8 -8
  75. package/es/table-filter/index.js +47 -47
  76. package/es/tabs/index.js +8 -8
  77. package/es/tag/index.js +9 -9
  78. package/es/time-picker/index.js +8 -8
  79. package/es/timeline/index.js +8 -8
  80. package/es/tooltip/index.js +8 -8
  81. package/es/transfer/index.js +8 -8
  82. package/es/tree/index.js +8 -8
  83. package/es/tree-select/index.js +8 -8
  84. package/es/upload/index.js +8 -8
  85. package/es/verification-code/index.js +2 -2
  86. package/lib/cui.common.js +325 -325
  87. package/lib/cui.umd.js +325 -325
  88. package/lib/cui.umd.min.js +6 -6
  89. package/package.json +1 -1
  90. package/packages/fabric-chart/src/const/defaultVaule.js +59 -59
  91. package/packages/scale-view/scaleView.vue +2010 -2010
  92. 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
  }