cnhis-design-vue 2.1.77 → 2.1.79
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 +26 -5
- package/es/affix/index.js +8 -8
- package/es/age/index.js +10 -10
- package/es/alert/index.js +8 -8
- package/es/anchor/index.js +8 -8
- package/es/auto-complete/index.js +8 -8
- package/es/avatar/index.js +8 -8
- package/es/back-top/index.js +8 -8
- package/es/badge/index.js +8 -8
- package/es/base/index.js +8 -8
- package/es/big-table/index.js +68 -68
- package/es/breadcrumb/index.js +8 -8
- package/es/button/index.js +22 -22
- package/es/calendar/index.js +8 -8
- package/es/captcha/index.js +3 -3
- package/es/card/index.js +8 -8
- package/es/carousel/index.js +8 -8
- package/es/cascader/index.js +8 -8
- package/es/checkbox/index.js +9 -9
- package/es/col/index.js +8 -8
- package/es/collapse/index.js +8 -8
- package/es/color-picker/index.js +1 -1
- package/es/comment/index.js +8 -8
- package/es/config-provider/index.js +8 -8
- package/es/date-picker/index.js +8 -8
- package/es/descriptions/index.js +8 -8
- package/es/divider/index.js +8 -8
- package/es/drag-layout/index.js +3 -3
- package/es/drawer/index.js +8 -8
- package/es/dropdown/index.js +8 -8
- package/es/editor/index.js +1 -1
- package/es/ellipsis/index.js +1 -1
- package/es/empty/index.js +8 -8
- package/es/fabric-chart/index.js +52 -46
- package/es/form/index.js +8 -8
- package/es/form-model/index.js +8 -8
- package/es/form-table/index.js +66 -66
- package/es/index/index.js +471 -461
- package/es/index/style.css +1 -1
- package/es/input/index.js +9 -9
- package/es/input-number/index.js +8 -8
- package/es/layout/index.js +8 -8
- package/es/list/index.js +8 -8
- package/es/locale-provider/index.js +8 -8
- package/es/map/index.js +9 -9
- package/es/mentions/index.js +8 -8
- package/es/menu/index.js +8 -8
- package/es/message/index.js +8 -8
- package/es/multi-chat/index.js +76 -76
- package/es/multi-chat-client/index.js +70 -70
- package/es/multi-chat-history/index.js +4 -4
- package/es/multi-chat-record/index.js +14 -14
- package/es/multi-chat-setting/index.js +22 -22
- package/es/multi-chat-sip/index.js +1 -1
- package/es/notification/index.js +8 -8
- package/es/page-header/index.js +8 -8
- package/es/pagination/index.js +8 -8
- package/es/popconfirm/index.js +8 -8
- package/es/popover/index.js +8 -8
- package/es/progress/index.js +8 -8
- package/es/radio/index.js +9 -9
- package/es/rate/index.js +8 -8
- package/es/result/index.js +8 -8
- package/es/row/index.js +8 -8
- package/es/scale-container/index.js +1 -1
- package/es/scale-view/index.js +27 -27
- package/es/select/index.js +12 -12
- package/es/select-label/index.js +11 -11
- package/es/select-person/index.js +27 -23
- package/es/select-person/style.css +1 -1
- package/es/shortcut-setter/index.js +15 -15
- package/es/skeleton/index.js +8 -8
- package/es/slider/index.js +8 -8
- package/es/space/index.js +8 -8
- package/es/spin/index.js +8 -8
- package/es/statistic/index.js +8 -8
- package/es/steps/index.js +8 -8
- package/es/switch/index.js +8 -8
- package/es/table-filter/index.js +49 -49
- package/es/tabs/index.js +8 -8
- package/es/tag/index.js +9 -9
- package/es/time-picker/index.js +8 -8
- package/es/timeline/index.js +8 -8
- package/es/tooltip/index.js +8 -8
- package/es/transfer/index.js +8 -8
- package/es/tree/index.js +8 -8
- package/es/tree-select/index.js +8 -8
- package/es/upload/index.js +8 -8
- package/es/verification-code/index.js +2 -2
- package/lib/cui.common.js +421 -412
- package/lib/cui.umd.js +421 -412
- package/lib/cui.umd.min.js +12 -12
- package/package.json +1 -1
- package/packages/fabric-chart/src/fabric-chart/FabricScaleValue.vue +5 -1
- package/packages/select-person/select-person.vue +12 -5
- package/packages/shortcut-setter/src/ShortcutSetterItem.vue +1 -0
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<TimeScaleValue v-if="
|
|
2
|
+
<TimeScaleValue v-if="show" :times="timeList" :templateData="templateData" />
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script>
|
|
@@ -32,6 +32,10 @@ export default {
|
|
|
32
32
|
originX: 'center',
|
|
33
33
|
originY: 'center'
|
|
34
34
|
};
|
|
35
|
+
},
|
|
36
|
+
show() {
|
|
37
|
+
const { showPopup } = this.templateData.top.xScalevalue || {};
|
|
38
|
+
return typeof showPopup === 'undefined' || showPopup;
|
|
35
39
|
}
|
|
36
40
|
},
|
|
37
41
|
mounted() {},
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
<div class="select-content">
|
|
93
93
|
<slot v-if="defaultShowList && defaultShowList.length">
|
|
94
94
|
<div class="tag-item def-item" v-for="(tag, i) in defaultShowList" :key="i">
|
|
95
|
-
{{ tag.title || tag[wordbookChild.user_name_obj] }}
|
|
95
|
+
<span class="tag-text" :title="tag.title || tag[wordbookChild.user_name_obj]">{{ tag.title || tag[wordbookChild.user_name_obj] }}</span>
|
|
96
96
|
<a-icon v-if="!isDetail" class="tag-close" type="close-circle" theme="filled" @click="closeDefaultTag(tag, i)" />
|
|
97
97
|
<!-- <svg-icon
|
|
98
98
|
v-if="!isDetail"
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
</slot>
|
|
105
105
|
|
|
106
106
|
<div class="tag-item" :class="{ isRoot: !tag.isLeaf }" v-for="tag in checkedTreeItem" :key="tag.key">
|
|
107
|
-
{{ tag.title || tag.key }} {{ treeCount(tag.count) }}
|
|
107
|
+
<span class="tag-text" :title="tag.title || tag.key">{{ tag.title || tag.key }} {{ treeCount(tag.count) }}</span>
|
|
108
108
|
<!-- <svg-icon
|
|
109
109
|
v-if="!isDetail"
|
|
110
110
|
class="tag-close"
|
|
@@ -1381,7 +1381,7 @@ export default create({
|
|
|
1381
1381
|
vexutils.searchTree(keyData.children, item => {
|
|
1382
1382
|
childKeys.push(item.key);
|
|
1383
1383
|
});
|
|
1384
|
-
const allParentIds = getAllParentId(this.treeData[propStr], node.eventKey)
|
|
1384
|
+
const allParentIds = getAllParentId(this.treeData[propStr], node.eventKey)?.filter(Boolean) || [];
|
|
1385
1385
|
totalCheckedKeys = [...new Set(preChecked.concat(checkedKeys, childKeys))].filter(id => !allParentIds.includes(id));
|
|
1386
1386
|
} else {
|
|
1387
1387
|
// 如果是取消从之前的选择中把当前点击的及其子级去除选中作为temp值(兼容搜索的情况)
|
|
@@ -1396,7 +1396,7 @@ export default create({
|
|
|
1396
1396
|
vexutils.searchTree(keyData.children, item => {
|
|
1397
1397
|
needCancelKeys.push(item.key);
|
|
1398
1398
|
});
|
|
1399
|
-
const allParentIds = getAllParentId(this.treeData[propStr], node.eventKey)
|
|
1399
|
+
const allParentIds = getAllParentId(this.treeData[propStr], node.eventKey)?.filter(Boolean) || [];
|
|
1400
1400
|
totalCheckedKeys = [...new Set(preChecked.filter(key => !needCancelKeys.includes(key)))];
|
|
1401
1401
|
if (!this.checkStrictly) {
|
|
1402
1402
|
totalCheckedKeys = totalCheckedKeys.filter(id => !allParentIds.includes(id));
|
|
@@ -1511,6 +1511,7 @@ export default create({
|
|
|
1511
1511
|
.people-tree {
|
|
1512
1512
|
display: flex;
|
|
1513
1513
|
.people-tree-item {
|
|
1514
|
+
flex-shrink: 0;
|
|
1514
1515
|
width: 300px;
|
|
1515
1516
|
padding: 22px 12px 0;
|
|
1516
1517
|
max-height: 376px;
|
|
@@ -1620,6 +1621,12 @@ export default create({
|
|
|
1620
1621
|
flex: 1;
|
|
1621
1622
|
overflow-y: auto;
|
|
1622
1623
|
.tag-item {
|
|
1624
|
+
.tag-text {
|
|
1625
|
+
overflow: hidden;
|
|
1626
|
+
white-space: nowrap;
|
|
1627
|
+
text-overflow: ellipsis;
|
|
1628
|
+
max-width: 300px;
|
|
1629
|
+
}
|
|
1623
1630
|
&.isRoot {
|
|
1624
1631
|
background: rgba(@primary-color, 0.08);
|
|
1625
1632
|
border: 1px solid rgba(@primary-color, 0.5);
|
|
@@ -1643,7 +1650,7 @@ export default create({
|
|
|
1643
1650
|
margin-right: 8px;
|
|
1644
1651
|
margin-bottom: 4px;
|
|
1645
1652
|
padding: 0 6px;
|
|
1646
|
-
white-space: nowrap;
|
|
1653
|
+
// white-space: nowrap;
|
|
1647
1654
|
background: rgba(#d5d5d5, 0.2);
|
|
1648
1655
|
border: 1px solid rgba(#000000, 0.14);
|
|
1649
1656
|
border-radius: 4px;
|