vxe-pc-ui 4.12.3 → 4.12.5
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/es/backtop/src/backtop.js +11 -1
- package/es/checkbox/style.css +2 -2
- package/es/checkbox/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/link/style.css +4 -0
- package/es/link/style.min.css +1 -1
- package/es/list/src/list.js +15 -11
- package/es/number-input/style.css +15 -1
- package/es/number-input/style.min.css +1 -1
- package/es/password-input/style.css +23 -30
- package/es/password-input/style.min.css +1 -1
- package/es/row/style.css +0 -2
- package/es/row/style.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/text/style.css +4 -0
- package/es/text/style.min.css +1 -1
- package/es/tree/src/tree.js +1 -1
- package/es/tree-select/src/tree-select.js +18 -14
- package/es/ui/index.js +2 -4
- package/es/ui/src/log.js +1 -1
- package/es/upload/src/upload.js +26 -18
- package/es/vxe-checkbox/style.css +2 -2
- package/es/vxe-checkbox/style.min.css +1 -1
- package/es/vxe-link/style.css +4 -0
- package/es/vxe-link/style.min.css +1 -1
- package/es/vxe-number-input/style.css +15 -1
- package/es/vxe-number-input/style.min.css +1 -1
- package/es/vxe-password-input/style.css +23 -30
- package/es/vxe-password-input/style.min.css +1 -1
- package/es/vxe-row/style.css +0 -2
- package/es/vxe-row/style.min.css +1 -1
- package/es/vxe-text/style.css +4 -0
- package/es/vxe-text/style.min.css +1 -1
- package/lib/backtop/src/backtop.js +13 -1
- package/lib/backtop/src/backtop.min.js +1 -1
- package/lib/checkbox/style/style.css +2 -2
- package/lib/checkbox/style/style.min.css +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +75 -49
- package/lib/index.umd.min.js +1 -1
- package/lib/link/style/style.css +4 -0
- package/lib/link/style/style.min.css +1 -1
- package/lib/list/src/list.js +14 -10
- package/lib/list/src/list.min.js +1 -1
- package/lib/number-input/style/style.css +15 -1
- package/lib/number-input/style/style.min.css +1 -1
- package/lib/password-input/style/style.css +23 -30
- package/lib/password-input/style/style.min.css +1 -1
- package/lib/row/style/style.css +0 -2
- package/lib/row/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/text/style/style.css +4 -0
- package/lib/text/style/style.min.css +1 -1
- package/lib/tree/src/tree.js +1 -1
- package/lib/tree/src/tree.min.js +1 -1
- package/lib/tree-select/src/tree-select.js +17 -13
- package/lib/tree-select/src/tree-select.min.js +1 -1
- package/lib/ui/index.js +2 -4
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/upload/src/upload.js +25 -17
- package/lib/upload/src/upload.min.js +1 -1
- package/lib/vxe-checkbox/style/style.css +2 -2
- package/lib/vxe-checkbox/style/style.min.css +1 -1
- package/lib/vxe-link/style/style.css +4 -0
- package/lib/vxe-link/style/style.min.css +1 -1
- package/lib/vxe-number-input/style/style.css +15 -1
- package/lib/vxe-number-input/style/style.min.css +1 -1
- package/lib/vxe-password-input/style/style.css +23 -30
- package/lib/vxe-password-input/style/style.min.css +1 -1
- package/lib/vxe-row/style/style.css +0 -2
- package/lib/vxe-row/style/style.min.css +1 -1
- package/lib/vxe-text/style/style.css +4 -0
- package/lib/vxe-text/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/backtop/src/backtop.ts +13 -1
- package/packages/list/src/list.ts +16 -11
- package/packages/tree/src/tree.ts +1 -1
- package/packages/tree-select/src/tree-select.ts +19 -14
- package/packages/ui/index.ts +0 -1
- package/packages/upload/src/upload.ts +28 -18
- package/styles/components/checkbox.scss +2 -2
- package/styles/components/link.scss +4 -0
- package/styles/components/number-input.scss +12 -1
- package/styles/components/password-input.scss +18 -51
- package/styles/components/row.scss +0 -2
- package/styles/components/text.scss +4 -0
- package/types/components/table.d.ts +13 -0
- /package/es/icon/{iconfont.1768480281073.ttf → iconfont.1768625343222.ttf} +0 -0
- /package/es/icon/{iconfont.1768480281073.woff → iconfont.1768625343222.woff} +0 -0
- /package/es/icon/{iconfont.1768480281073.woff2 → iconfont.1768625343222.woff2} +0 -0
- /package/es/{iconfont.1768480281073.ttf → iconfont.1768625343222.ttf} +0 -0
- /package/es/{iconfont.1768480281073.woff → iconfont.1768625343222.woff} +0 -0
- /package/es/{iconfont.1768480281073.woff2 → iconfont.1768625343222.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1768480281073.ttf → iconfont.1768625343222.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1768480281073.woff → iconfont.1768625343222.woff} +0 -0
- /package/lib/icon/style/{iconfont.1768480281073.woff2 → iconfont.1768625343222.woff2} +0 -0
- /package/lib/{iconfont.1768480281073.ttf → iconfont.1768625343222.ttf} +0 -0
- /package/lib/{iconfont.1768480281073.woff → iconfont.1768625343222.woff} +0 -0
- /package/lib/{iconfont.1768480281073.woff2 → iconfont.1768625343222.woff2} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, PropType, ref, Ref, computed,
|
|
1
|
+
import { h, PropType, ref, Ref, computed, onBeforeUnmount, watch, reactive, nextTick, onActivated, onMounted } from 'vue'
|
|
2
2
|
import { defineVxeComponent } from '../../ui/src/comp'
|
|
3
3
|
import XEUtils from 'xe-utils'
|
|
4
4
|
import { getConfig, globalEvents, globalResize, createEvent, useSize } from '../../ui'
|
|
@@ -7,6 +7,18 @@ import VxeLoadingComponent from '../../loading/src/loading'
|
|
|
7
7
|
|
|
8
8
|
import type { VxeListConstructor, VxeListPropTypes, VxeListEmits, ListReactData, ListInternalData, ValueOf, ListMethods, ListPrivateRef, VxeListMethods } from '../../../types'
|
|
9
9
|
|
|
10
|
+
function createReactData (): ListReactData {
|
|
11
|
+
return {
|
|
12
|
+
scrollYLoad: false,
|
|
13
|
+
bodyHeight: 0,
|
|
14
|
+
customHeight: 0,
|
|
15
|
+
customMaxHeight: 0,
|
|
16
|
+
parentHeight: 0,
|
|
17
|
+
topSpaceHeight: 0,
|
|
18
|
+
items: []
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
10
22
|
function createInternalData (): ListInternalData {
|
|
11
23
|
return {
|
|
12
24
|
resizeObserver: undefined,
|
|
@@ -55,15 +67,7 @@ export default defineVxeComponent({
|
|
|
55
67
|
|
|
56
68
|
const { computeSize } = useSize(props)
|
|
57
69
|
|
|
58
|
-
const reactData = reactive
|
|
59
|
-
scrollYLoad: false,
|
|
60
|
-
bodyHeight: 0,
|
|
61
|
-
customHeight: 0,
|
|
62
|
-
customMaxHeight: 0,
|
|
63
|
-
parentHeight: 0,
|
|
64
|
-
topSpaceHeight: 0,
|
|
65
|
-
items: []
|
|
66
|
-
})
|
|
70
|
+
const reactData = reactive(createReactData())
|
|
67
71
|
|
|
68
72
|
const internalData = createInternalData()
|
|
69
73
|
|
|
@@ -418,12 +422,13 @@ export default defineVxeComponent({
|
|
|
418
422
|
globalEvents.on($xeList, 'resize', recalculate)
|
|
419
423
|
})
|
|
420
424
|
|
|
421
|
-
|
|
425
|
+
onBeforeUnmount(() => {
|
|
422
426
|
const { resizeObserver } = internalData
|
|
423
427
|
if (resizeObserver) {
|
|
424
428
|
resizeObserver.disconnect()
|
|
425
429
|
}
|
|
426
430
|
globalEvents.off($xeList, 'resize')
|
|
431
|
+
XEUtils.assign(reactData, createReactData())
|
|
427
432
|
XEUtils.assign(internalData, createInternalData())
|
|
428
433
|
})
|
|
429
434
|
|
|
@@ -608,7 +608,7 @@ export default defineVxeComponent({
|
|
|
608
608
|
})
|
|
609
609
|
}
|
|
610
610
|
: (item: any) => {
|
|
611
|
-
return String(item[titleField]).toLowerCase().indexOf(filterStr) > -1
|
|
611
|
+
return String(item[titleField]).toLowerCase().indexOf(filterStr.toLowerCase()) > -1
|
|
612
612
|
}
|
|
613
613
|
const bafParams = { $tree: $xeTree, filterValue: filterStr }
|
|
614
614
|
if (beforeFilterMethod) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref, computed, h, PropType, nextTick, inject, provide, reactive, Teleport, onMounted,
|
|
1
|
+
import { ref, computed, h, PropType, nextTick, inject, provide, reactive, Teleport, onMounted, onBeforeUnmount, watch, VNode } from 'vue'
|
|
2
2
|
import { defineVxeComponent } from '../../ui/src/comp'
|
|
3
3
|
import { getConfig, getI18n, getIcon, globalEvents, createEvent, useSize, renderEmptyElement } from '../../ui'
|
|
4
4
|
import { getEventTargetNode, updatePanelPlacement, toCssUnit } from '../../ui/src/dom'
|
|
@@ -18,6 +18,21 @@ function getOptUniqueId () {
|
|
|
18
18
|
return XEUtils.uniqueId('node_')
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
function createReactData (): TreeSelectReactData {
|
|
22
|
+
return {
|
|
23
|
+
initialized: false,
|
|
24
|
+
searchValue: '',
|
|
25
|
+
searchLoading: false,
|
|
26
|
+
panelIndex: 0,
|
|
27
|
+
panelStyle: {},
|
|
28
|
+
panelPlacement: null,
|
|
29
|
+
triggerFocusPanel: false,
|
|
30
|
+
visiblePanel: false,
|
|
31
|
+
isAniVisible: false,
|
|
32
|
+
isActivated: false
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
21
36
|
function createInternalData (): TreeSelectInternalData {
|
|
22
37
|
return {
|
|
23
38
|
// hpTimeout: undefined,
|
|
@@ -134,18 +149,7 @@ export default defineVxeComponent({
|
|
|
134
149
|
const refOptionPanel = ref<HTMLDivElement>()
|
|
135
150
|
const refTree = ref<VxeTreeConstructor>()
|
|
136
151
|
|
|
137
|
-
const reactData = reactive
|
|
138
|
-
initialized: false,
|
|
139
|
-
searchValue: '',
|
|
140
|
-
searchLoading: false,
|
|
141
|
-
panelIndex: 0,
|
|
142
|
-
panelStyle: {},
|
|
143
|
-
panelPlacement: null,
|
|
144
|
-
triggerFocusPanel: false,
|
|
145
|
-
visiblePanel: false,
|
|
146
|
-
isAniVisible: false,
|
|
147
|
-
isActivated: false
|
|
148
|
-
})
|
|
152
|
+
const reactData = reactive(createReactData())
|
|
149
153
|
|
|
150
154
|
const internalData = createInternalData()
|
|
151
155
|
|
|
@@ -935,11 +939,12 @@ export default defineVxeComponent({
|
|
|
935
939
|
globalEvents.on($xeTreeSelect, 'resize', handleGlobalResizeEvent)
|
|
936
940
|
})
|
|
937
941
|
|
|
938
|
-
|
|
942
|
+
onBeforeUnmount(() => {
|
|
939
943
|
globalEvents.off($xeTreeSelect, 'mousewheel')
|
|
940
944
|
globalEvents.off($xeTreeSelect, 'mousedown')
|
|
941
945
|
globalEvents.off($xeTreeSelect, 'blur')
|
|
942
946
|
globalEvents.off($xeTreeSelect, 'resize')
|
|
947
|
+
XEUtils.assign(reactData, createReactData())
|
|
943
948
|
XEUtils.assign(internalData, createInternalData())
|
|
944
949
|
})
|
|
945
950
|
|
package/packages/ui/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref, h, reactive, watch, computed, TransitionGroup, PropType, inject,
|
|
1
|
+
import { ref, h, reactive, watch, computed, TransitionGroup, PropType, inject, onBeforeUnmount, onMounted, nextTick } from 'vue'
|
|
2
2
|
import { defineVxeComponent } from '../../ui/src/comp'
|
|
3
3
|
import XEUtils from 'xe-utils'
|
|
4
4
|
import { VxeUI, getConfig, getI18n, getIcon, useSize, createEvent, globalEvents, renderEmptyElement } from '../../ui'
|
|
@@ -11,6 +11,28 @@ import VxeButtonComponent from '../../button/src/button'
|
|
|
11
11
|
import type { VxeUploadDefines, VxeUploadPropTypes, UploadReactData, UploadInternalData, UploadPrivateMethods, UploadMethods, VxeUploadEmits, UploadPrivateRef, VxeUploadPrivateComputed, VxeUploadConstructor, VxeUploadPrivateMethods, VxeFormDefines, VxeFormConstructor, VxeFormPrivateMethods, ValueOf, VxeComponentEventParams } from '../../../types'
|
|
12
12
|
import type { VxeTableConstructor, VxeTablePrivateMethods } from '../../../types/components/table'
|
|
13
13
|
|
|
14
|
+
function createReactData (): UploadReactData {
|
|
15
|
+
return {
|
|
16
|
+
isDragUploadStatus: false,
|
|
17
|
+
showMorePopup: false,
|
|
18
|
+
isActivated: false,
|
|
19
|
+
fileList: [],
|
|
20
|
+
fileCacheMaps: {},
|
|
21
|
+
isDragMove: false,
|
|
22
|
+
dragIndex: -1,
|
|
23
|
+
dragTipText: ''
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function createInternalData (): UploadInternalData {
|
|
28
|
+
return {
|
|
29
|
+
moreId: XEUtils.uniqueId('upload'),
|
|
30
|
+
imagePreviewTypes: ['jpg', 'jpeg', 'png', 'gif'],
|
|
31
|
+
prevDragIndex: -1
|
|
32
|
+
// prevDragPos: ''
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
14
36
|
export default defineVxeComponent({
|
|
15
37
|
name: 'VxeUpload',
|
|
16
38
|
props: {
|
|
@@ -217,23 +239,9 @@ export default defineVxeComponent({
|
|
|
217
239
|
const refDragLineElem = ref<HTMLDivElement>()
|
|
218
240
|
const refModalDragLineElem = ref<HTMLDivElement>()
|
|
219
241
|
|
|
220
|
-
const reactData = reactive
|
|
221
|
-
isDragUploadStatus: false,
|
|
222
|
-
showMorePopup: false,
|
|
223
|
-
isActivated: false,
|
|
224
|
-
fileList: [],
|
|
225
|
-
fileCacheMaps: {},
|
|
226
|
-
isDragMove: false,
|
|
227
|
-
dragIndex: -1,
|
|
228
|
-
dragTipText: ''
|
|
229
|
-
})
|
|
242
|
+
const reactData = reactive(createReactData())
|
|
230
243
|
|
|
231
|
-
const internalData
|
|
232
|
-
moreId: XEUtils.uniqueId('upload'),
|
|
233
|
-
imagePreviewTypes: ['jpg', 'jpeg', 'png', 'gif'],
|
|
234
|
-
prevDragIndex: -1
|
|
235
|
-
// prevDragPos: ''
|
|
236
|
-
}
|
|
244
|
+
const internalData = createInternalData()
|
|
237
245
|
|
|
238
246
|
const refMaps: UploadPrivateRef = {
|
|
239
247
|
refElem
|
|
@@ -1854,11 +1862,13 @@ export default defineVxeComponent({
|
|
|
1854
1862
|
globalEvents.on($xeUpload, 'blur', handleGlobalBlurEvent)
|
|
1855
1863
|
})
|
|
1856
1864
|
|
|
1857
|
-
|
|
1865
|
+
onBeforeUnmount(() => {
|
|
1858
1866
|
reactData.isDragUploadStatus = false
|
|
1859
1867
|
globalEvents.off($xeUpload, 'paste')
|
|
1860
1868
|
globalEvents.off($xeUpload, 'mousedown')
|
|
1861
1869
|
globalEvents.off($xeUpload, 'blur')
|
|
1870
|
+
XEUtils.assign(reactData, createReactData())
|
|
1871
|
+
XEUtils.assign(internalData, createInternalData())
|
|
1862
1872
|
})
|
|
1863
1873
|
|
|
1864
1874
|
updateFileList()
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/*checkbox-group*/
|
|
4
4
|
.vxe-checkbox-group {
|
|
5
|
-
display: inline-
|
|
5
|
+
display: inline-flex;
|
|
6
6
|
vertical-align: middle;
|
|
7
7
|
line-height: 1;
|
|
8
8
|
}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
/*checkbox*/
|
|
19
19
|
.vxe-checkbox {
|
|
20
|
-
display: inline-
|
|
20
|
+
display: inline-flex;
|
|
21
21
|
vertical-align: middle;
|
|
22
22
|
white-space: nowrap;
|
|
23
23
|
line-height: 1;
|
|
@@ -94,6 +94,18 @@
|
|
|
94
94
|
flex-shrink: 0;
|
|
95
95
|
background-color: var(--vxe-ui-layout-background-color);
|
|
96
96
|
}
|
|
97
|
+
.vxe-number-input--prefix {
|
|
98
|
+
border-radius: var(--vxe-ui-base-border-radius) 0 0 var(--vxe-ui-base-border-radius);
|
|
99
|
+
}
|
|
100
|
+
.vxe-number-input--suffix {
|
|
101
|
+
border-radius: 0 var(--vxe-ui-base-border-radius) var(--vxe-ui-base-border-radius) 0;
|
|
102
|
+
}
|
|
103
|
+
.vxe-number-input--prefix-icon,
|
|
104
|
+
.vxe-number-input--suffix-icon,
|
|
105
|
+
.vxe-number-input--clear-icon,
|
|
106
|
+
.vxe-number-input--control-icon {
|
|
107
|
+
color: var(--vxe-ui-input-placeholder-color);
|
|
108
|
+
}
|
|
97
109
|
.vxe-number-input--prefix-icon {
|
|
98
110
|
padding-left: 0.5em;
|
|
99
111
|
}
|
|
@@ -103,7 +115,6 @@
|
|
|
103
115
|
}
|
|
104
116
|
.vxe-number-input--clear-icon {
|
|
105
117
|
height: 100%;
|
|
106
|
-
color: var(--vxe-ui-input-placeholder-color);
|
|
107
118
|
cursor: pointer;
|
|
108
119
|
}
|
|
109
120
|
.vxe-number-input--clear-icon {
|
|
@@ -19,28 +19,18 @@
|
|
|
19
19
|
border-radius: var(--vxe-ui-base-border-radius);
|
|
20
20
|
background-color: var(--vxe-ui-layout-background-color);
|
|
21
21
|
box-shadow: none;
|
|
22
|
-
&::placeholder {
|
|
23
|
-
color: var(--vxe-ui-input-placeholder-color);
|
|
24
|
-
}
|
|
25
|
-
&::-webkit-autofill {
|
|
26
|
-
background-color: var(--vxe-ui-layout-background-color);
|
|
27
|
-
}
|
|
28
|
-
&[type="number"] {
|
|
29
|
-
appearance: none;
|
|
30
|
-
-moz-appearance: textfield;
|
|
31
|
-
}
|
|
32
|
-
&[type="search"],
|
|
33
|
-
&[type="search"]::-webkit-search-cancel-button,
|
|
34
|
-
&[type="number"]::-webkit-outer-spin-button,
|
|
35
|
-
&[type="number"]::-webkit-inner-spin-button {
|
|
36
|
-
appearance: none;
|
|
37
|
-
}
|
|
38
22
|
&[disabled] {
|
|
39
23
|
cursor: not-allowed;
|
|
40
24
|
color: var(--vxe-ui-font-disabled-color);
|
|
41
25
|
background-color: var(--vxe-ui-input-disabled-background-color);
|
|
42
26
|
}
|
|
43
27
|
}
|
|
28
|
+
.vxe-password-input--inner::placeholder {
|
|
29
|
+
color: var(--vxe-ui-input-placeholder-color);
|
|
30
|
+
}
|
|
31
|
+
.vxe-password-input--inner::-webkit-autofill {
|
|
32
|
+
background-color: var(--vxe-ui-layout-background-color);
|
|
33
|
+
}
|
|
44
34
|
|
|
45
35
|
// 禁用
|
|
46
36
|
.vxe-password-input {
|
|
@@ -86,6 +76,18 @@
|
|
|
86
76
|
flex-shrink: 0;
|
|
87
77
|
background-color: var(--vxe-ui-layout-background-color);
|
|
88
78
|
}
|
|
79
|
+
.vxe-password-input--prefix {
|
|
80
|
+
border-radius: var(--vxe-ui-base-border-radius) 0 0 var(--vxe-ui-base-border-radius);
|
|
81
|
+
}
|
|
82
|
+
.vxe-password-input--suffix {
|
|
83
|
+
border-radius: 0 var(--vxe-ui-base-border-radius) var(--vxe-ui-base-border-radius) 0;
|
|
84
|
+
}
|
|
85
|
+
.vxe-password-input--prefix-icon,
|
|
86
|
+
.vxe-password-input--suffix-icon,
|
|
87
|
+
.vxe-password-input--clear-icon,
|
|
88
|
+
.vxe-password-input--control-icon {
|
|
89
|
+
color: var(--vxe-ui-input-placeholder-color);
|
|
90
|
+
}
|
|
89
91
|
.vxe-password-input--prefix-icon {
|
|
90
92
|
padding-left: 0.5em;
|
|
91
93
|
}
|
|
@@ -97,7 +99,6 @@
|
|
|
97
99
|
.vxe-password-input--clear-icon,
|
|
98
100
|
.vxe-password-input--control-icon {
|
|
99
101
|
height: 100%;
|
|
100
|
-
color: var(--vxe-ui-input-placeholder-color);
|
|
101
102
|
cursor: pointer;
|
|
102
103
|
}
|
|
103
104
|
.vxe-password-input--clear-icon {
|
|
@@ -200,54 +201,20 @@
|
|
|
200
201
|
font-size: var(--vxe-ui-font-size-default);
|
|
201
202
|
height: var(--vxe-ui-input-height-default);
|
|
202
203
|
line-height: var(--vxe-ui-input-height-default);
|
|
203
|
-
.vxe-password-input--inner {
|
|
204
|
-
&[type="date"]::-webkit-inner-spin-button,
|
|
205
|
-
&[type="month"]::-webkit-inner-spin-button,
|
|
206
|
-
&[type="week"]::-webkit-inner-spin-button {
|
|
207
|
-
margin-top: 6px;
|
|
208
|
-
}
|
|
209
|
-
&[type="date"]::-webkit-inner-spin-button,
|
|
210
|
-
&[type="month"]::-webkit-inner-spin-button,
|
|
211
|
-
&[type="week"]::-webkit-inner-spin-button,
|
|
212
|
-
&[type="number"]::-webkit-inner-spin-button {
|
|
213
|
-
height: 24px;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
204
|
&.size--medium {
|
|
217
205
|
font-size: var(--vxe-ui-font-size-medium);
|
|
218
206
|
height: var(--vxe-ui-input-height-medium);
|
|
219
207
|
line-height: var(--vxe-ui-input-height-medium);
|
|
220
|
-
.vxe-password-input--inner {
|
|
221
|
-
&[type="date"]::-webkit-inner-spin-button,
|
|
222
|
-
&[type="month"]::-webkit-inner-spin-button,
|
|
223
|
-
&[type="week"]::-webkit-inner-spin-button {
|
|
224
|
-
margin-top: 4px;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
208
|
}
|
|
228
209
|
&.size--small {
|
|
229
210
|
font-size: var(--vxe-ui-font-size-small);
|
|
230
211
|
height: var(--vxe-ui-input-height-small);
|
|
231
212
|
line-height: var(--vxe-ui-input-height-small);
|
|
232
|
-
.vxe-password-input--inner {
|
|
233
|
-
&[type="date"]::-webkit-inner-spin-button,
|
|
234
|
-
&[type="month"]::-webkit-inner-spin-button,
|
|
235
|
-
&[type="week"]::-webkit-inner-spin-button {
|
|
236
|
-
margin-top: 2px;
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
213
|
}
|
|
240
214
|
&.size--mini {
|
|
241
215
|
font-size: var(--vxe-ui-font-size-mini);
|
|
242
216
|
height: var(--vxe-ui-input-height-mini);
|
|
243
217
|
line-height: var(--vxe-ui-input-height-mini);
|
|
244
|
-
.vxe-password-input--inner {
|
|
245
|
-
&[type="date"]::-webkit-inner-spin-button,
|
|
246
|
-
&[type="month"]::-webkit-inner-spin-button,
|
|
247
|
-
&[type="week"]::-webkit-inner-spin-button {
|
|
248
|
-
margin-top: 0;
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
218
|
}
|
|
252
219
|
}
|
|
253
220
|
|
|
@@ -1274,9 +1274,22 @@ export namespace VxeTablePropTypes {
|
|
|
1274
1274
|
transfer?: boolean
|
|
1275
1275
|
iconNone?: string
|
|
1276
1276
|
iconMatch?: string
|
|
1277
|
+
/**
|
|
1278
|
+
* 弹出层在关闭时是否销毁
|
|
1279
|
+
*/
|
|
1277
1280
|
destroyOnClose?: boolean
|
|
1281
|
+
/**
|
|
1282
|
+
* 自定义确认按钮内容
|
|
1283
|
+
*/
|
|
1278
1284
|
confirmButtonText?: string
|
|
1285
|
+
/**
|
|
1286
|
+
* 自定义重置按钮内容
|
|
1287
|
+
*/
|
|
1279
1288
|
resetButtonText?: string
|
|
1289
|
+
/**
|
|
1290
|
+
* 是否显示底部按钮
|
|
1291
|
+
*/
|
|
1292
|
+
showFooter?: boolean
|
|
1280
1293
|
}
|
|
1281
1294
|
export interface FilterOpts<D = VxeTablePropTypes.Row> extends FilterConfig<D> { }
|
|
1282
1295
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|