cnhis-design-vue 2.1.143 → 2.1.145
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.
- package/CHANGELOG.md +41 -3
- package/es/age/index.js +2 -2
- package/es/big-table/index.js +26 -26
- package/es/button/index.js +445 -285
- package/es/button/style.css +1 -1
- package/es/captcha/index.js +3 -3
- package/es/card-reader-sdk/index.js +1 -1
- package/es/checkbox/index.js +1 -1
- package/es/color-picker/index.js +1 -1
- package/es/drag-layout/index.js +3 -3
- package/es/editor/index.js +1 -1
- package/es/ellipsis/index.js +1 -1
- package/es/fabric-chart/index.js +379 -186
- package/es/fabric-chart/style.css +1 -1
- package/es/form-table/index.js +20 -20
- package/es/full-calendar/index.js +4 -4
- package/es/index/index.js +1766 -953
- package/es/index/style.css +1 -1
- package/es/input/index.js +1 -1
- package/es/map/index.js +1 -1
- package/es/multi-chat/index.js +74 -58
- package/es/multi-chat/style.css +1 -1
- package/es/multi-chat-client/index.js +70 -54
- package/es/multi-chat-client/style.css +1 -1
- package/es/multi-chat-history/index.js +4 -4
- package/es/multi-chat-record/index.js +4 -4
- package/es/multi-chat-setting/index.js +64 -47
- package/es/multi-chat-setting/style.css +1 -1
- package/es/multi-chat-sip/index.js +1 -1
- package/es/radio/index.js +1 -1
- package/es/scale-container/index.js +1 -1
- package/es/scale-view/index.js +27 -27
- package/es/select/index.js +4 -4
- package/es/select-label/index.js +3 -3
- package/es/select-person/index.js +2 -2
- package/es/select-tag/index.js +4 -4
- package/es/shortcut-setter/index.js +2 -2
- package/es/slider-tree/index.js +1 -1
- package/es/table-filter/index.js +1100 -529
- package/es/table-filter/style.css +1 -1
- package/es/tag/index.js +1 -1
- package/es/verification-code/index.js +2 -2
- package/lib/cui.common.js +1926 -1139
- package/lib/cui.umd.js +1926 -1139
- package/lib/cui.umd.min.js +34 -34
- package/package.json +1 -1
- package/packages/button/src/ButtonPrint/index.vue +21 -13
- package/packages/button/src/ButtonPrint/new.vue +270 -291
- package/packages/button/src/ButtonPrint/old.vue +33 -4
- package/packages/fabric-chart/src/FabricChart.vue +10 -1
- package/packages/fabric-chart/src/fabric-chart/FabricCanvas.vue +0 -1
- package/packages/fabric-chart/src/fabric-chart/FabricPolylines.vue +200 -89
- package/packages/fabric-chart/src/mixins/eventCommon.js +1 -1
- package/packages/fabric-chart/src/utils/index.js +8 -0
- package/packages/multi-chat/chat/client/clientChat.vue +14 -2
- package/packages/multi-chat/chat/index.vue +14 -2
- package/packages/multi-chat/setting/index.vue +13 -1
- package/packages/table-filter/src/base-search-com/BaseSearch.vue +21 -71
- package/packages/table-filter/src/mixins/printNew.js +184 -0
package/package.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
</component>
|
|
14
|
-
</div>
|
|
2
|
+
<component
|
|
3
|
+
ref="printComponentRef"
|
|
4
|
+
:is="isComponent"
|
|
5
|
+
v-bind="getProps"
|
|
6
|
+
v-on="$listeners"
|
|
7
|
+
>
|
|
8
|
+
<template v-slot:button="slotProps">
|
|
9
|
+
<!-- 自定义按钮样式 -->
|
|
10
|
+
<slot name="button" v-bind="slotProps"></slot>
|
|
11
|
+
</template>
|
|
12
|
+
</component>
|
|
15
13
|
</template>
|
|
16
14
|
<script>
|
|
17
15
|
|
|
@@ -127,10 +125,20 @@ export default create({
|
|
|
127
125
|
getPrintParamsAfter: {
|
|
128
126
|
type: Function
|
|
129
127
|
},
|
|
128
|
+
// 隐藏默认按钮配置。printText: 直接打印;previewText: 打印预览;downloadPdf:下载pdf;formatEditText:格式编辑。示例:hideButtons = ['formatEditText']
|
|
129
|
+
hideButtons: {
|
|
130
|
+
type: Array,
|
|
131
|
+
default: () => []
|
|
132
|
+
},
|
|
130
133
|
// 新版打印配置(新)
|
|
131
134
|
newPrintSetting: {
|
|
132
135
|
type: Object,
|
|
133
136
|
default: () => ({})
|
|
137
|
+
},
|
|
138
|
+
// 获取模板数据(新)
|
|
139
|
+
printFormatByNumberData: {
|
|
140
|
+
type: Object,
|
|
141
|
+
default: () => (null)
|
|
134
142
|
}
|
|
135
143
|
},
|
|
136
144
|
computed: {
|