cnhis-design-vue 0.2.35-beta → 0.2.36-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 (90) 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 +66 -66
  11. package/es/breadcrumb/index.js +8 -8
  12. package/es/button/index.js +28 -28
  13. package/es/calendar/index.js +8 -8
  14. package/es/captcha/index.js +3 -3
  15. package/es/card/index.js +8 -8
  16. package/es/carousel/index.js +8 -8
  17. package/es/cascader/index.js +8 -8
  18. package/es/checkbox/index.js +9 -9
  19. package/es/col/index.js +8 -8
  20. package/es/collapse/index.js +8 -8
  21. package/es/color-picker/index.js +1 -1
  22. package/es/comment/index.js +8 -8
  23. package/es/config-provider/index.js +8 -8
  24. package/es/date-picker/index.js +8 -8
  25. package/es/descriptions/index.js +8 -8
  26. package/es/divider/index.js +8 -8
  27. package/es/drag-layout/index.js +3 -3
  28. package/es/drawer/index.js +8 -8
  29. package/es/dropdown/index.js +8 -8
  30. package/es/editor/index.js +1 -1
  31. package/es/empty/index.js +8 -8
  32. package/es/fabric-chart/index.js +9 -9
  33. package/es/form/index.js +8 -8
  34. package/es/form-model/index.js +8 -8
  35. package/es/index/index.js +393 -378
  36. package/es/index/style.css +1 -1
  37. package/es/input/index.js +9 -9
  38. package/es/input-number/index.js +8 -8
  39. package/es/layout/index.js +8 -8
  40. package/es/list/index.js +8 -8
  41. package/es/locale-provider/index.js +8 -8
  42. package/es/map/index.js +9 -9
  43. package/es/mentions/index.js +8 -8
  44. package/es/menu/index.js +8 -8
  45. package/es/message/index.js +8 -8
  46. package/es/multi-chat/index.js +75 -75
  47. package/es/multi-chat-client/index.js +69 -69
  48. package/es/multi-chat-history/index.js +4 -4
  49. package/es/multi-chat-record/index.js +14 -14
  50. package/es/multi-chat-setting/index.js +22 -22
  51. package/es/multi-chat-sip/index.js +1 -1
  52. package/es/notification/index.js +8 -8
  53. package/es/page-header/index.js +8 -8
  54. package/es/pagination/index.js +8 -8
  55. package/es/popconfirm/index.js +8 -8
  56. package/es/popover/index.js +8 -8
  57. package/es/progress/index.js +8 -8
  58. package/es/radio/index.js +9 -9
  59. package/es/rate/index.js +8 -8
  60. package/es/result/index.js +8 -8
  61. package/es/row/index.js +8 -8
  62. package/es/scale-view/index.js +23 -23
  63. package/es/select/index.js +11 -11
  64. package/es/select-label/index.js +11 -11
  65. package/es/select-person/index.js +2 -2
  66. package/es/skeleton/index.js +8 -8
  67. package/es/slider/index.js +8 -8
  68. package/es/space/index.js +8 -8
  69. package/es/spin/index.js +8 -8
  70. package/es/statistic/index.js +8 -8
  71. package/es/steps/index.js +8 -8
  72. package/es/switch/index.js +8 -8
  73. package/es/table-filter/index.js +120 -105
  74. package/es/table-filter/style.css +1 -1
  75. package/es/tabs/index.js +8 -8
  76. package/es/tag/index.js +9 -9
  77. package/es/time-picker/index.js +8 -8
  78. package/es/timeline/index.js +8 -8
  79. package/es/tooltip/index.js +8 -8
  80. package/es/transfer/index.js +8 -8
  81. package/es/tree/index.js +8 -8
  82. package/es/tree-select/index.js +8 -8
  83. package/es/upload/index.js +8 -8
  84. package/es/verification-code/index.js +2 -2
  85. package/lib/cui.common.js +2964 -4782
  86. package/lib/cui.umd.js +2964 -4782
  87. package/lib/cui.umd.min.js +94 -94
  88. package/package.json +2 -2
  89. package/packages/table-filter/src/classification/Classification-com.vue +6 -0
  90. package/packages/table-filter/src/components/table-modal/TableModal.vue +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "0.2.35-beta",
3
+ "version": "0.2.36-beta",
4
4
  "description": "基于 Ant Desgin Vue 的UI库",
5
5
  "keyword": "cnhis-design-vue vue cnhis",
6
6
  "homepage": "http://dv.cnhis.com/",
@@ -93,4 +93,4 @@
93
93
  "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
94
94
  }
95
95
  }
96
- }
96
+ }
@@ -435,6 +435,11 @@ import create from '@/core/create';
435
435
  export default create({
436
436
  name: 'Classification',
437
437
  mixins: [filterApiFn],
438
+ provide() {
439
+ return {
440
+ root_isShowResetButton: this.isShowResetButton
441
+ };
442
+ },
438
443
  components: {
439
444
  // Search,
440
445
  [Icon.name]: Icon,
@@ -487,6 +492,7 @@ export default create({
487
492
  countCondition: { type: Number }, // 是否统计筛选分类,1统计筛选分类,0反之
488
493
  countTabCondition: { type: Number }, // 筛选页签是否进行数量统计,1统计筛选页签,0反之
489
494
  keyword: { type: String },
495
+ isShowResetButton: { type: Boolean, default: true }, // 是否显示 恢复默认设置 按钮
490
496
  fieldKeys: {
491
497
  type: Array,
492
498
  default: () => []
@@ -25,7 +25,7 @@
25
25
  </div>
26
26
  </slot>
27
27
  <template #footer v-if="type == 'search'">
28
- <a-popconfirm class="btn-reset" title="确认要恢复系统默认设置吗?" ok-text="确认" cancel-text="取消" @confirm="popconfirm">
28
+ <a-popconfirm v-if="isShowResetButton" class="btn-reset" title="确认要恢复系统默认设置吗?" ok-text="确认" cancel-text="取消" @confirm="popconfirm">
29
29
  <a-button>恢复默认设置</a-button>
30
30
  </a-popconfirm>
31
31
 
@@ -144,6 +144,7 @@ import draggable from 'vuedraggable';
144
144
  import svgIcon from '@/component/svg/index.vue';
145
145
  export default {
146
146
  mixins: [filterApiFn],
147
+ inject: { isShowResetButton: { from: 'root_isShowResetButton' } },
147
148
  props: {
148
149
  visibleIn: Boolean,
149
150
  loading: Boolean,