cnhis-design-vue 0.2.47-beta → 0.2.50-beta

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 (110) hide show
  1. package/es/affix/index.js +8 -8
  2. package/es/age/index.js +10 -10
  3. package/es/alert/index.js +8 -8
  4. package/es/anchor/index.js +8 -8
  5. package/es/auto-complete/index.js +8 -8
  6. package/es/avatar/index.js +8 -8
  7. package/es/back-top/index.js +8 -8
  8. package/es/badge/index.js +8 -8
  9. package/es/base/index.js +8 -8
  10. package/es/big-table/index.js +110 -97
  11. package/es/big-table/style.css +1 -1
  12. package/es/breadcrumb/index.js +8 -8
  13. package/es/button/index.js +28 -28
  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 +41 -42
  20. package/es/checkbox/style.css +1 -1
  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 +9 -9
  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 +649 -634
  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 +135 -136
  50. package/es/multi-chat/style.css +1 -1
  51. package/es/multi-chat-client/index.js +100 -100
  52. package/es/multi-chat-client/style.css +1 -1
  53. package/es/multi-chat-history/index.js +36 -37
  54. package/es/multi-chat-history/style.css +1 -1
  55. package/es/multi-chat-record/index.js +46 -47
  56. package/es/multi-chat-record/style.css +1 -1
  57. package/es/multi-chat-setting/index.js +54 -55
  58. package/es/multi-chat-setting/style.css +1 -1
  59. package/es/multi-chat-sip/index.js +1 -1
  60. package/es/notification/index.js +8 -8
  61. package/es/page-header/index.js +8 -8
  62. package/es/pagination/index.js +8 -8
  63. package/es/popconfirm/index.js +8 -8
  64. package/es/popover/index.js +8 -8
  65. package/es/progress/index.js +8 -8
  66. package/es/radio/index.js +41 -42
  67. package/es/radio/style.css +1 -1
  68. package/es/rate/index.js +8 -8
  69. package/es/result/index.js +8 -8
  70. package/es/row/index.js +8 -8
  71. package/es/scale-view/index.js +52 -49
  72. package/es/scale-view/style.css +1 -1
  73. package/es/select/index.js +11 -11
  74. package/es/select-label/index.js +11 -11
  75. package/es/select-person/index.js +2 -2
  76. package/es/skeleton/index.js +8 -8
  77. package/es/slider/index.js +8 -8
  78. package/es/space/index.js +8 -8
  79. package/es/spin/index.js +8 -8
  80. package/es/statistic/index.js +8 -8
  81. package/es/steps/index.js +8 -8
  82. package/es/switch/index.js +8 -8
  83. package/es/table-filter/index.js +85 -81
  84. package/es/table-filter/style.css +1 -1
  85. package/es/tabs/index.js +8 -8
  86. package/es/tag/index.js +9 -9
  87. package/es/time-picker/index.js +8 -8
  88. package/es/timeline/index.js +8 -8
  89. package/es/tooltip/index.js +8 -8
  90. package/es/transfer/index.js +8 -8
  91. package/es/tree/index.js +8 -8
  92. package/es/tree-select/index.js +8 -8
  93. package/es/upload/index.js +8 -8
  94. package/es/utils/utils-map.js +6 -1
  95. package/es/verification-code/index.js +2 -2
  96. package/lib/cui.common.js +1579 -944
  97. package/lib/cui.umd.js +1579 -944
  98. package/lib/cui.umd.min.js +46 -46
  99. package/package.json +3 -3
  100. package/packages/big-table/src/components/player-vod/player.vue +1 -0
  101. package/packages/big-table/src/components/player-vod/video-modal.vue +12 -1
  102. package/packages/checkbox/src/CheckboxImg/index.vue +1 -1
  103. package/packages/multi-chat/chat/chatHistory.vue +1 -1
  104. package/packages/multi-chat/chat/chatMain.vue +1 -1
  105. package/packages/multi-chat/chat/messageRecord.vue +1 -1
  106. package/packages/multi-chat/setting/sessionList/messageRecord.vue +1 -1
  107. package/packages/radio/src/RadioImg/index.vue +1 -1
  108. package/packages/table-filter/src/base-search-com/BaseSearch.vue +10 -7
  109. package/src/component/player-vod/video-modal.vue +5 -1
  110. package/src/utils/utils-map.js +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "0.2.47-beta",
3
+ "version": "0.2.50-beta",
4
4
  "description": "基于 Ant Desgin Vue 的UI库",
5
5
  "keyword": "cnhis-design-vue vue cnhis",
6
6
  "homepage": "http://dv.cnhis.com/",
@@ -42,7 +42,7 @@
42
42
  "stompjs": "^2.3.3",
43
43
  "text-security": "^3.2.1",
44
44
  "trtc-js-sdk": "^4.11.4",
45
- "v-viewer": "1.5.1",
45
+ "v-viewer": "^1.6.4",
46
46
  "video.js": "^7.8.4",
47
47
  "vue-dom-portal": "^0.1.6",
48
48
  "vue-highlightjs": "^1.3.3",
@@ -50,8 +50,8 @@
50
50
  "vue-resize-directive": "^1.2.0",
51
51
  "vue-simple-uploader": "^0.7.6",
52
52
  "vuedraggable": "^2.24.3",
53
- "vxe-table-plugin-antd": "^1.11.3",
54
53
  "vxe-table": "^3.4.1",
54
+ "vxe-table-plugin-antd": "^1.11.3",
55
55
  "wangeditor": "^4.7.5",
56
56
  "xe-utils": "^3.4.0"
57
57
  },
@@ -160,6 +160,7 @@ export default {
160
160
  // scoped
161
161
  // 进度显示当前播放时间
162
162
  .video-js {
163
+ height: 512px;
163
164
  .vjs-time-control {
164
165
  display: block;
165
166
  }
@@ -1,5 +1,15 @@
1
1
  <template>
2
- <a-modal :visible="previewVisible" :footer="null" @cancel="handleCancel" wrapClassName="image-modal" width="65vw" height="60vh">
2
+ <a-modal
3
+ :visible="previewVisible"
4
+ :footer="null"
5
+ @cancel="handleCancel"
6
+ wrapClassName="image-modal"
7
+ width="65vw"
8
+ :bodyStyle="{
9
+ height: '600px',
10
+ overflowY: 'auto'
11
+ }"
12
+ >
3
13
  <div class="preview-wrap">
4
14
  <div class="preview">
5
15
  <playerVod :playerOptions="playerOptions" v-if="fileList && fileList.length === 0"></playerVod>
@@ -91,6 +101,7 @@ export default {
91
101
  .preview {
92
102
  padding: 20px 0;
93
103
  width: 60vw;
104
+ height: 100%;
94
105
  // height: 60vh;
95
106
  // display: flex;
96
107
  // justify-content: center;
@@ -23,7 +23,7 @@
23
23
  </template>
24
24
 
25
25
  <script>
26
- import Viewer from "v-viewer/src/component.vue";
26
+ import { component as Viewer } from "v-viewer";
27
27
  import 'viewerjs/dist/viewer.css'
28
28
  import create from '@/core/create';
29
29
  import {
@@ -91,7 +91,7 @@
91
91
  import MsgDescribe from '../components/msg-describe';
92
92
  import MsgPicture from '../components/msg-picture';
93
93
  import MsgPrescription from '../components/msg-prescription';
94
- import Viewer from 'v-viewer/src/component.vue';
94
+ import { component as Viewer } from "v-viewer";
95
95
  import 'viewerjs/dist/viewer.css';
96
96
  import InfiniteScroll from 'vue-infinite-scroll';
97
97
  import vexutils from '@/utils/vexutils';
@@ -226,7 +226,7 @@ import ReadStatus from '../components/read-status';
226
226
  import ReadRecord from '../components/read-record';
227
227
  import chatHeader from './chatHeader';
228
228
  import 'viewerjs/dist/viewer.css';
229
- import Viewer from 'v-viewer/src/component.vue';
229
+ import { component as Viewer } from "v-viewer";
230
230
  import { getRecallText } from '../utils';
231
231
  import vexutils from '@/utils/vexutils';
232
232
  import ObserverScroll from '../utils/observer-scroll';
@@ -58,7 +58,7 @@
58
58
  <script>
59
59
  import InfiniteScroll from 'vue-infinite-scroll';
60
60
  import 'viewerjs/dist/viewer.css';
61
- import Viewer from 'v-viewer/src/component.vue';
61
+ import { component as Viewer } from "v-viewer";
62
62
  import MsgDescribe from '../components/msg-describe';
63
63
  import MsgPicture from '../components/msg-picture';
64
64
  import MsgPrescription from '../components/msg-prescription';
@@ -59,7 +59,7 @@
59
59
  <script>
60
60
  import InfiniteScroll from 'vue-infinite-scroll';
61
61
  import 'viewerjs/dist/viewer.css';
62
- import Viewer from 'v-viewer/src/component.vue';
62
+ import { component as Viewer } from "v-viewer";
63
63
  import MsgDescribe from '../../components/msg-describe';
64
64
  import MsgPicture from '../../components/msg-picture';
65
65
  import MsgPrescription from '../../components/msg-prescription';
@@ -32,7 +32,7 @@
32
32
  </template>
33
33
 
34
34
  <script>
35
- import Viewer from "v-viewer/src/component.vue";
35
+ import { component as Viewer } from "v-viewer";
36
36
  import 'viewerjs/dist/viewer.css'
37
37
  import create from '@/core/create';
38
38
  import {
@@ -1041,15 +1041,18 @@ export default create({
1041
1041
  'div',
1042
1042
  {
1043
1043
  directives: [
1044
- {
1045
- name: 'drag-move',
1046
- value: {
1047
- target: 'ant-modal-confirm-body'
1044
+ {
1045
+ name: 'drag-move',
1046
+ value: {
1047
+ target: 'ant-modal-confirm-body'
1048
+ }
1048
1049
  }
1049
- }
1050
- ]
1050
+ ],
1051
+ domProps: {
1052
+ innerHTML: settingObj.tipsMsg || `是否确认${btn.name}`
1053
+ }
1051
1054
  },
1052
- settingObj.tipsMsg || `是否确认${btn.name}`
1055
+ // settingObj.tipsMsg || `是否确认${btn.name}`
1053
1056
  ),
1054
1057
  okText: '确定',
1055
1058
  cancelText: '取消',
@@ -5,7 +5,10 @@
5
5
  @cancel="handleCancel"
6
6
  wrapClassName="image-modal"
7
7
  width="65vw"
8
- height="60vh"
8
+ :bodyStyle="{
9
+ height: '600px',
10
+ overflowY: 'auto'
11
+ }"
9
12
  >
10
13
  <div class="preview-wrap">
11
14
  <div class="preview">
@@ -100,6 +103,7 @@ export default {
100
103
  .preview {
101
104
  padding: 20px 0;
102
105
  width: 60vw;
106
+ height: 100%;
103
107
  // height: 60vh;
104
108
  // display: flex;
105
109
  // justify-content: center;
@@ -1,6 +1,7 @@
1
1
  const _toString = Object.prototype.toString;
2
2
  import moment from 'moment';
3
3
  import { Message } from 'ant-design-vue';
4
+ import XEUtils from 'xe-utils';
4
5
  export default {
5
6
  isJSON(str) {
6
7
  if (typeof str == 'string') {
@@ -309,7 +310,7 @@ export default {
309
310
  var plsList = pls.slice(1);
310
311
  var f = plsList.find(v => v || v == 0);
311
312
  var res = p[k][pls[0]];
312
- res = that.$utils.notEmpty(res) ? res : '';
313
+ res = XEUtils.notEmpty(res) ? res : '';
313
314
  return res || f || noval;
314
315
  });
315
316
  };
@@ -329,6 +330,9 @@ export default {
329
330
  }
330
331
  return str;
331
332
  },
333
+ notEmpty(text) {
334
+ return XEUtils.isBoolean(text) || String(text) === "0" || !!text;
335
+ },
332
336
 
333
337
  paramsToPrintValue(item) {
334
338
  if (this.isEmpty(item)) return;