@uzum-tech/ui 1.5.1 → 1.5.3
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/README.md +0 -1
- package/dist/index.js +1333 -869
- package/dist/index.prod.js +3 -3
- package/es/_internal/checkbox/src/use-checkbox.js +3 -3
- package/es/_internal/radio/src/use-radio.js +3 -3
- package/es/_internal/typography/src/styles/text.cssr.js +0 -1
- package/es/_internal/typography/styles/light.js +1 -1
- package/es/_mixins/use-form-item.d.ts +4 -4
- package/es/_mixins/use-form-item.js +4 -4
- package/es/_styles/common/dark.js +1 -1
- package/es/_styles/common/light.d.ts +3 -0
- package/es/_styles/common/light.js +1 -1
- package/es/_utils/composable/composables.d.ts +11 -0
- package/es/_utils/composable/composables.js +40 -0
- package/es/_utils/index.d.ts +1 -1
- package/es/_utils/index.js +1 -1
- package/es/_utils/uzum/index.d.ts +1 -0
- package/es/_utils/uzum/index.js +1 -0
- package/es/_utils/uzum/value.d.ts +1 -0
- package/es/_utils/uzum/value.js +9 -0
- package/es/_utils/vue/resolve-slot.d.ts +1 -1
- package/es/alert/styles/light.js +6 -6
- package/es/auto-complete/src/AutoComplete.js +10 -10
- package/es/avatar/src/Avatar.d.ts +6 -0
- package/es/avatar/src/Avatar.js +9 -3
- package/es/card-list/src/CardList.js +1 -1
- package/es/card-list/src/CardListItem.d.ts +13 -0
- package/es/card-list/src/CardListItem.js +11 -4
- package/es/card-list/src/interface.d.ts +1 -0
- package/es/card-list/src/styles/index.cssr.js +6 -6
- package/es/card-list/styles/light.js +2 -2
- package/es/cascader/src/Cascader.js +7 -7
- package/es/checkbox/src/CheckboxGroup.js +9 -9
- package/es/color-picker/src/ColorPicker.js +6 -6
- package/es/components.d.ts +1 -0
- package/es/components.js +1 -0
- package/es/config-provider/src/internal-interface.d.ts +2 -0
- package/es/data-table/src/DataTable.d.ts +8 -0
- package/es/data-table/src/DataTable.js +21 -10
- package/es/data-table/src/TableParts/Body.d.ts +1 -0
- package/es/data-table/src/TableParts/Body.js +6 -5
- package/es/data-table/src/TableParts/Cell.js +85 -23
- package/es/data-table/src/interface.d.ts +13 -6
- package/es/data-table/src/interface.js +1 -1
- package/es/data-table/src/styles/index.cssr.js +5 -3
- package/es/data-table/src/use-mask.d.ts +3 -6
- package/es/data-table/src/utils.d.ts +2 -1
- package/es/data-table/src/utils.js +13 -0
- package/es/date-picker/src/DatePicker.js +7 -7
- package/es/dialog/src/DialogProvider.d.ts +6 -0
- package/es/dynamic-tags/src/DynamicTags.js +3 -3
- package/es/input/src/Input.js +8 -8
- package/es/input-number/src/InputNumber.js +7 -7
- package/es/input-otp/index.d.ts +3 -0
- package/es/input-otp/index.js +1 -0
- package/es/input-otp/src/InputOtp.d.ts +871 -0
- package/es/input-otp/src/InputOtp.js +250 -0
- package/es/input-otp/src/public-types.d.ts +25 -0
- package/es/input-otp/src/public-types.js +1 -0
- package/es/input-otp/src/styles/index.cssr.d.ts +2 -0
- package/es/input-otp/src/styles/index.cssr.js +20 -0
- package/es/input-otp/src/styles/input-otp-rtl.cssr.d.ts +2 -0
- package/es/input-otp/src/styles/input-otp-rtl.cssr.js +5 -0
- package/es/input-otp/styles/dark.d.ts +3 -0
- package/es/input-otp/styles/dark.js +12 -0
- package/es/input-otp/styles/index.d.ts +4 -0
- package/es/input-otp/styles/index.js +3 -0
- package/es/input-otp/styles/light.d.ts +83 -0
- package/es/input-otp/styles/light.js +22 -0
- package/es/input-otp/styles/rtl.d.ts +2 -0
- package/es/input-otp/styles/rtl.js +5 -0
- package/es/legacy-transfer/src/Transfer.js +3 -3
- package/es/list/src/List.d.ts +41 -55
- package/es/list/src/List.js +6 -10
- package/es/list/src/ListItem.d.ts +84 -25
- package/es/list/src/ListItem.js +120 -98
- package/es/list/src/interface.d.ts +1 -0
- package/es/list/src/props.d.ts +70 -31
- package/es/list/src/props.js +25 -5
- package/es/list/src/styles/index.cssr.js +32 -90
- package/es/list/styles/light.d.ts +5 -8
- package/es/list/styles/light.js +6 -9
- package/es/mention/src/Mention.js +7 -7
- package/es/radio/src/RadioGroup.js +5 -5
- package/es/rate/src/Rate.js +3 -3
- package/es/select/src/Select.js +7 -7
- package/es/slider/src/Slider.js +3 -3
- package/es/styles.d.ts +1 -0
- package/es/styles.js +1 -0
- package/es/switch/src/Switch.js +7 -7
- package/es/tag/src/styles/index.cssr.js +5 -1
- package/es/tag/styles/light.js +2 -2
- package/es/theme-editor/src/ThemeEditor.d.ts +3 -0
- package/es/themes/dark.js +2 -0
- package/es/themes/light.js +2 -0
- package/es/time-picker/src/TimePicker.js +7 -7
- package/es/transfer/src/Transfer.js +3 -3
- package/es/tree-select/src/TreeSelect.js +5 -5
- package/es/upload/src/UploadFile.js +4 -3
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/checkbox/src/use-checkbox.js +3 -3
- package/lib/_internal/radio/src/use-radio.js +3 -3
- package/lib/_internal/typography/src/styles/text.cssr.js +0 -1
- package/lib/_internal/typography/styles/light.js +1 -1
- package/lib/_mixins/use-form-item.d.ts +4 -4
- package/lib/_mixins/use-form-item.js +4 -4
- package/lib/_styles/common/dark.js +1 -1
- package/lib/_styles/common/light.d.ts +3 -0
- package/lib/_styles/common/light.js +1 -1
- package/lib/_utils/composable/composables.d.ts +11 -0
- package/lib/_utils/composable/composables.js +47 -0
- package/lib/_utils/index.d.ts +1 -1
- package/lib/_utils/index.js +2 -1
- package/lib/_utils/uzum/index.d.ts +1 -0
- package/lib/_utils/uzum/index.js +3 -1
- package/lib/_utils/uzum/value.d.ts +1 -0
- package/lib/_utils/uzum/value.js +12 -0
- package/lib/_utils/vue/resolve-slot.d.ts +1 -1
- package/lib/alert/styles/light.js +6 -6
- package/lib/auto-complete/src/AutoComplete.js +10 -10
- package/lib/avatar/src/Avatar.d.ts +6 -0
- package/lib/avatar/src/Avatar.js +9 -3
- package/lib/card-list/src/CardList.js +1 -1
- package/lib/card-list/src/CardListItem.d.ts +13 -0
- package/lib/card-list/src/CardListItem.js +11 -4
- package/lib/card-list/src/interface.d.ts +1 -0
- package/lib/card-list/src/styles/index.cssr.js +5 -5
- package/lib/card-list/styles/light.js +2 -2
- package/lib/cascader/src/Cascader.js +7 -7
- package/lib/checkbox/src/CheckboxGroup.js +9 -9
- package/lib/color-picker/src/ColorPicker.js +6 -6
- package/lib/components.d.ts +1 -0
- package/lib/components.js +1 -0
- package/lib/config-provider/src/internal-interface.d.ts +2 -0
- package/lib/data-table/src/DataTable.d.ts +8 -0
- package/lib/data-table/src/DataTable.js +21 -10
- package/lib/data-table/src/TableParts/Body.d.ts +1 -0
- package/lib/data-table/src/TableParts/Body.js +6 -5
- package/lib/data-table/src/TableParts/Cell.js +84 -22
- package/lib/data-table/src/interface.d.ts +13 -6
- package/lib/data-table/src/interface.js +1 -1
- package/lib/data-table/src/styles/index.cssr.js +5 -3
- package/lib/data-table/src/use-mask.d.ts +3 -6
- package/lib/data-table/src/utils.d.ts +2 -1
- package/lib/data-table/src/utils.js +14 -1
- package/lib/date-picker/src/DatePicker.js +7 -7
- package/lib/dialog/src/DialogProvider.d.ts +6 -0
- package/lib/dynamic-tags/src/DynamicTags.js +3 -3
- package/lib/input/src/Input.js +8 -8
- package/lib/input-number/src/InputNumber.js +7 -7
- package/lib/input-otp/index.d.ts +3 -0
- package/lib/input-otp/index.js +9 -0
- package/lib/input-otp/src/InputOtp.d.ts +871 -0
- package/lib/input-otp/src/InputOtp.js +256 -0
- package/lib/input-otp/src/public-types.d.ts +25 -0
- package/lib/input-otp/src/public-types.js +2 -0
- package/lib/input-otp/src/styles/index.cssr.d.ts +2 -0
- package/lib/input-otp/src/styles/index.cssr.js +25 -0
- package/lib/input-otp/src/styles/input-otp-rtl.cssr.d.ts +2 -0
- package/lib/input-otp/src/styles/input-otp-rtl.cssr.js +10 -0
- package/lib/input-otp/styles/dark.d.ts +3 -0
- package/lib/input-otp/styles/dark.js +14 -0
- package/lib/input-otp/styles/index.d.ts +4 -0
- package/lib/input-otp/styles/index.js +12 -0
- package/lib/input-otp/styles/light.d.ts +83 -0
- package/lib/input-otp/styles/light.js +25 -0
- package/lib/input-otp/styles/rtl.d.ts +2 -0
- package/lib/input-otp/styles/rtl.js +11 -0
- package/lib/legacy-transfer/src/Transfer.js +3 -3
- package/lib/list/src/List.d.ts +41 -55
- package/lib/list/src/List.js +6 -10
- package/lib/list/src/ListItem.d.ts +84 -25
- package/lib/list/src/ListItem.js +119 -97
- package/lib/list/src/interface.d.ts +1 -0
- package/lib/list/src/props.d.ts +70 -31
- package/lib/list/src/props.js +25 -5
- package/lib/list/src/styles/index.cssr.js +32 -90
- package/lib/list/styles/light.d.ts +5 -8
- package/lib/list/styles/light.js +6 -9
- package/lib/mention/src/Mention.js +7 -7
- package/lib/radio/src/RadioGroup.js +5 -5
- package/lib/rate/src/Rate.js +3 -3
- package/lib/select/src/Select.js +7 -7
- package/lib/slider/src/Slider.js +3 -3
- package/lib/styles.d.ts +1 -0
- package/lib/styles.js +106 -103
- package/lib/switch/src/Switch.js +7 -7
- package/lib/tag/src/styles/index.cssr.js +5 -1
- package/lib/tag/styles/light.js +2 -2
- package/lib/theme-editor/src/ThemeEditor.d.ts +3 -0
- package/lib/themes/dark.js +2 -0
- package/lib/themes/light.js +2 -0
- package/lib/time-picker/src/TimePicker.js +7 -7
- package/lib/transfer/src/Transfer.js +3 -3
- package/lib/tree-select/src/TreeSelect.js +5 -5
- package/lib/upload/src/UploadFile.js +4 -3
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/volar.d.ts +1 -0
- package/web-types.json +180 -38
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import { cB, c, cE, cM, insideModal, insidePopover, cNotM } from '../../../_utils/cssr';
|
|
2
|
-
|
|
2
|
+
// --u-border-radius
|
|
3
|
+
// --u-suffix-size
|
|
4
|
+
export default c([cB('align-start', `
|
|
5
|
+
align-self: self-start;
|
|
6
|
+
`), cB('align-center', `
|
|
7
|
+
align-self: center;
|
|
8
|
+
`), cB('align-end', `
|
|
9
|
+
align-self: self-end;
|
|
10
|
+
`), cB('list', `
|
|
3
11
|
--u-merged-border-color: var(--u-border-color);
|
|
4
12
|
--u-merged-color: var(--u-color);
|
|
5
13
|
--u-merged-color-focus: var(--u-color-focus);
|
|
6
14
|
--u-merged-color-hover: var(--u-color-hover);
|
|
7
15
|
margin: 0;
|
|
8
|
-
font-size: var(--u-font-size);
|
|
9
16
|
transition:
|
|
10
17
|
background-color .3s var(--u-bezier),
|
|
11
18
|
color .3s var(--u-bezier),
|
|
@@ -16,17 +23,10 @@ export default c([cB('list', `
|
|
|
16
23
|
background-color: var(--u-merged-color);
|
|
17
24
|
`, [cM('clickable', [cB('list-item', `
|
|
18
25
|
cursor: pointer;
|
|
19
|
-
`)]), cM('bordered', `
|
|
20
|
-
border: 1px solid var(--u-merged-border-color);
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
border-radius: var(--u-border-radius);
|
|
24
|
-
border-bottom-left-radius: 0;
|
|
25
|
-
border-bottom-right-radius: 0;
|
|
26
|
-
`), c('&:last-child', `
|
|
27
|
-
border-radius: var(--u-border-radius);
|
|
28
|
-
border-top-left-radius: 0;
|
|
29
|
-
border-top-right-radius: 0;
|
|
26
|
+
`)]), cM('bordered', [cB('list-item', `
|
|
27
|
+
border-bottom: 1px solid var(--u-merged-border-color);
|
|
28
|
+
`, [c('&:last-child', `
|
|
29
|
+
border: none;
|
|
30
30
|
`)])]), cE('header, footer', `
|
|
31
31
|
padding: var(--u-padding);
|
|
32
32
|
padding-left: 0px;
|
|
@@ -46,11 +46,10 @@ export default c([cB('list', `
|
|
|
46
46
|
position: relative;
|
|
47
47
|
outline: none;
|
|
48
48
|
display: flex;
|
|
49
|
-
align-items: center;
|
|
50
49
|
padding: var(--u-padding);
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
`, [cB('skeleton', `
|
|
51
|
+
height: 24px
|
|
52
|
+
`), cE('main', `
|
|
54
53
|
flex: 1;
|
|
55
54
|
`), c('&:focus', `
|
|
56
55
|
outline: none;
|
|
@@ -65,81 +64,43 @@ export default c([cB('list', `
|
|
|
65
64
|
left: 0;
|
|
66
65
|
`), cE('icon', `
|
|
67
66
|
display: flex;
|
|
68
|
-
font-size: var(--u-icon-size);
|
|
69
67
|
margin-left: var(--u-icon-space);
|
|
70
68
|
`), cE('suffix', `
|
|
71
69
|
margin-left: var(--u-suffix-space);
|
|
70
|
+
font-size: var(--u-suffix-size);
|
|
71
|
+
align-self: center;
|
|
72
72
|
`), cE('prefix', `
|
|
73
73
|
margin-right: var(--u-prefix-space);
|
|
74
|
+
display: flex;
|
|
74
75
|
`), cE('content', `
|
|
75
|
-
flex-grow: 1;
|
|
76
|
-
padding: 0;
|
|
77
76
|
display: flex;
|
|
78
77
|
flex-direction: column;
|
|
79
|
-
|
|
78
|
+
gap: 4px;
|
|
80
79
|
`, [cM('right', `
|
|
81
|
-
margin-left: auto;
|
|
82
80
|
text-align: right;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
flex-grow: 1;
|
|
91
|
-
display: flex;
|
|
92
|
-
align-items: flex-start;
|
|
81
|
+
`), cM('full', {
|
|
82
|
+
width: '100%'
|
|
83
|
+
})]), cE('text', `
|
|
84
|
+
display: grid;
|
|
85
|
+
gap: 16px;
|
|
86
|
+
grid-template-columns: 1fr 1fr;
|
|
87
|
+
height: 100%
|
|
93
88
|
`), cE('title', `
|
|
94
|
-
padding-top: 4px;
|
|
95
89
|
flex-grow: 1;
|
|
96
|
-
|
|
97
|
-
font-size: var(--u-title-size);
|
|
98
|
-
font-weight: 500;
|
|
99
|
-
line-height: var(--u-title-line-height);
|
|
100
|
-
`, [c('&:last-child', `
|
|
101
|
-
margin-bottom: 0;
|
|
102
|
-
`)]), cE('subtitle', `
|
|
103
|
-
padding-bottom: 4px;
|
|
90
|
+
`), cE('subtitle', `
|
|
104
91
|
flex-grow: 1;
|
|
105
|
-
font-size: var(--u-subtitle-size);
|
|
106
|
-
font-weight: 500;
|
|
107
|
-
line-height: var(--u-subtitle-line-height);
|
|
108
92
|
color: var(--u-subtitle-color);
|
|
109
93
|
`), cE('subtitle,title', [c('&:last-child:first-child', `
|
|
110
|
-
|
|
111
|
-
`)]), cE('avatar', `
|
|
112
|
-
display: flex;
|
|
113
|
-
margin-right: var(--u-avatar-space);
|
|
114
|
-
`), c('&:last-child', [cE('divider', `
|
|
94
|
+
`)]), c('&:last-child', [cE('divider', `
|
|
115
95
|
display: none;
|
|
116
96
|
`)]), cM('default', `
|
|
117
|
-
min-height: var(--u-min-height);
|
|
118
97
|
padding: var(--u-padding);
|
|
119
98
|
`, [cE('main', `
|
|
120
|
-
display:
|
|
99
|
+
display: none;
|
|
121
100
|
align-items: center;
|
|
122
|
-
`)]),
|
|
123
|
-
padding-top: 0;
|
|
124
|
-
padding-bottom: 4px;
|
|
125
|
-
order: 1;
|
|
126
|
-
margin-top: 4px;
|
|
127
|
-
margin-bottom: 0px;
|
|
128
|
-
`, [c('&:last-child', `
|
|
129
|
-
margin-top: 0;
|
|
130
|
-
`)]), cE('subtitle', `
|
|
131
|
-
padding-bottom: 0;
|
|
132
|
-
padding-top: 4px;
|
|
133
|
-
`)]), cM('columns-even', [cE('content', [cM('right', `
|
|
134
|
-
flex-grow: 1;
|
|
135
|
-
text-align: left;
|
|
136
|
-
align-items: stretch;
|
|
137
|
-
`)])]), cM('bordered', `
|
|
138
|
-
padding: var(--u-padding);
|
|
139
|
-
`), cNotM('loading', [cNotM('disabled', [cNotM('loading-skeleton', [cM('hoverable', `
|
|
101
|
+
`)]), cNotM('loading', [cNotM('disabled', [cNotM('loading-skeleton', [cM('hoverable', `
|
|
140
102
|
cursor: pointer;
|
|
141
103
|
user-select: none;
|
|
142
|
-
padding: var(--u-padding);
|
|
143
104
|
`, [c('&:hover', `
|
|
144
105
|
background: var(--u-merged-color-hover);
|
|
145
106
|
`), c('&:focus,&:active', `
|
|
@@ -152,26 +113,7 @@ export default c([cB('list', `
|
|
|
152
113
|
border-radius: var(--u-border-radius);
|
|
153
114
|
`), cM('disabled', [cE('text, subtitle', `
|
|
154
115
|
color: var(--u-text-color-disabled);
|
|
155
|
-
`)]),
|
|
156
|
-
padding: 5px 0;
|
|
157
|
-
`), cE('content--left', `
|
|
158
|
-
flex-grow: 0;
|
|
159
|
-
width: calc(66.38% - 8px);
|
|
160
|
-
`), cE('content--right', `
|
|
161
|
-
flex-grow: 0;
|
|
162
|
-
width: calc(33.62% - 8px);
|
|
163
|
-
`), cE('title,subtitle', [c('&:first-child:last-child', `
|
|
164
|
-
padding: 0;
|
|
165
|
-
`)]), cE('title', `
|
|
166
|
-
margin-bottom: 8px;
|
|
167
|
-
`, [c('&:last-child', `
|
|
168
|
-
margin-bottom: 0;
|
|
169
|
-
`)]), cM('description-first', [cE('title', `
|
|
170
|
-
margin-bottom: 0;
|
|
171
|
-
margin-top: 8px;
|
|
172
|
-
`, [c('&:last-child', `
|
|
173
|
-
margin-top: 0;
|
|
174
|
-
`)])])])]), insideModal(cB('list', `
|
|
116
|
+
`)])]), insideModal(cB('list', `
|
|
175
117
|
--u-merged-color-hover: var(--u-color-hover-modal);
|
|
176
118
|
--u-merged-color: var(--u-color-modal);
|
|
177
119
|
--u-merged-border-color: var(--u-border-color-modal);
|
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
import type { ThemeCommonVars } from '../../_styles/common';
|
|
2
2
|
import { type Theme } from '../../_mixins';
|
|
3
3
|
export declare const self: (vars: ThemeCommonVars) => {
|
|
4
|
-
padding: string;
|
|
5
4
|
iconSize: string;
|
|
6
5
|
iconSpace: string;
|
|
7
6
|
suffixSpace: string;
|
|
8
7
|
prefixSpace: string;
|
|
9
|
-
titleSize: string;
|
|
10
|
-
titleLineHeight: string;
|
|
11
|
-
subtitleSize: string;
|
|
12
|
-
subtitleLineHeight: string;
|
|
13
8
|
subtitleColor: string;
|
|
14
9
|
avatarSpace: string;
|
|
15
|
-
minHeight: string;
|
|
16
10
|
colorFocus: string;
|
|
17
11
|
pressedScale: string;
|
|
18
12
|
textColorDisabled: string;
|
|
@@ -26,8 +20,11 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
26
20
|
borderColor: string;
|
|
27
21
|
borderColorModal: string;
|
|
28
22
|
borderColorPopover: string;
|
|
29
|
-
|
|
30
|
-
|
|
23
|
+
borderRadiusLarge: string;
|
|
24
|
+
borderRadiusMedium: string;
|
|
25
|
+
borderRadiusSmall: string;
|
|
26
|
+
padding: string;
|
|
27
|
+
suffixSize: string;
|
|
31
28
|
};
|
|
32
29
|
export type ListThemeVars = ReturnType<typeof self>;
|
|
33
30
|
declare const listLight: Theme<'List', ListThemeVars>;
|
package/es/list/styles/light.js
CHANGED
|
@@ -1,19 +1,13 @@
|
|
|
1
1
|
import { commonLight } from '../../_styles/common';
|
|
2
2
|
export const self = (vars) => {
|
|
3
|
-
const { borderRadius,
|
|
3
|
+
const { borderRadius, borderRadiusMedium, borderRadiusSmall, iconMedium, textSecondary, iconSmall, elementsQuaternary, textTertiary, textPrimary, containerPrimary, elementsTertiary } = vars;
|
|
4
4
|
return {
|
|
5
|
-
padding: '8px 24px',
|
|
6
5
|
iconSize: iconMedium,
|
|
7
6
|
iconSpace: '16px',
|
|
8
7
|
suffixSpace: '20px',
|
|
9
8
|
prefixSpace: '20px',
|
|
10
|
-
titleSize: fontBodyLarge,
|
|
11
|
-
titleLineHeight: lineHeightBodyLarge,
|
|
12
|
-
subtitleSize: fontBodyMedium,
|
|
13
|
-
subtitleLineHeight: lineHeightBodyMedium,
|
|
14
9
|
subtitleColor: textSecondary,
|
|
15
10
|
avatarSpace: iconSmall,
|
|
16
|
-
minHeight: '64px',
|
|
17
11
|
colorFocus: elementsQuaternary,
|
|
18
12
|
pressedScale: '0.98',
|
|
19
13
|
textColorDisabled: textTertiary,
|
|
@@ -27,8 +21,11 @@ export const self = (vars) => {
|
|
|
27
21
|
borderColor: elementsQuaternary,
|
|
28
22
|
borderColorModal: elementsQuaternary,
|
|
29
23
|
borderColorPopover: elementsQuaternary,
|
|
30
|
-
borderRadius,
|
|
31
|
-
|
|
24
|
+
borderRadiusLarge: borderRadius,
|
|
25
|
+
borderRadiusMedium,
|
|
26
|
+
borderRadiusSmall,
|
|
27
|
+
padding: '12px 24px',
|
|
28
|
+
suffixSize: '24px'
|
|
32
29
|
};
|
|
33
30
|
};
|
|
34
31
|
const listLight = {
|
|
@@ -113,15 +113,15 @@ export default defineComponent({
|
|
|
113
113
|
}
|
|
114
114
|
function doUpdateValue(value) {
|
|
115
115
|
const { onUpdateValue, 'onUpdate:value': _onUpdateValue } = props;
|
|
116
|
-
const {
|
|
116
|
+
const { triggerFormChange, triggerFormInput } = formItem;
|
|
117
117
|
if (_onUpdateValue) {
|
|
118
118
|
call(_onUpdateValue, value);
|
|
119
119
|
}
|
|
120
120
|
if (onUpdateValue) {
|
|
121
121
|
call(onUpdateValue, value);
|
|
122
122
|
}
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
triggerFormInput();
|
|
124
|
+
triggerFormChange();
|
|
125
125
|
uncontrolledValueRef.value = value;
|
|
126
126
|
}
|
|
127
127
|
function getInputEl() {
|
|
@@ -238,8 +238,8 @@ export default defineComponent({
|
|
|
238
238
|
function handleInputFocus(e) {
|
|
239
239
|
const { onFocus } = props;
|
|
240
240
|
onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);
|
|
241
|
-
const {
|
|
242
|
-
|
|
241
|
+
const { triggerFormFocus } = formItem;
|
|
242
|
+
triggerFormFocus();
|
|
243
243
|
syncAfterCursorMove();
|
|
244
244
|
}
|
|
245
245
|
function focus() {
|
|
@@ -253,8 +253,8 @@ export default defineComponent({
|
|
|
253
253
|
function handleInputBlur(e) {
|
|
254
254
|
const { onBlur } = props;
|
|
255
255
|
onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);
|
|
256
|
-
const {
|
|
257
|
-
|
|
256
|
+
const { triggerFormBlur } = formItem;
|
|
257
|
+
triggerFormBlur();
|
|
258
258
|
doUpdateShowMenu(false);
|
|
259
259
|
}
|
|
260
260
|
function handleSelect(tmNode) {
|
|
@@ -75,7 +75,7 @@ export default defineComponent({
|
|
|
75
75
|
props: radioGroupProps,
|
|
76
76
|
setup(props) {
|
|
77
77
|
const selfElRef = ref(null);
|
|
78
|
-
const { mergedSizeRef, mergedDisabledRef,
|
|
78
|
+
const { mergedSizeRef, mergedDisabledRef, triggerFormChange, triggerFormInput, triggerFormBlur, triggerFormFocus } = useFormItem(props);
|
|
79
79
|
const { mergedClsPrefixRef, inlineThemeDisabled, mergedRtlRef } = useConfig(props);
|
|
80
80
|
const themeRef = useTheme('Radio', '-radio-group', style, radioLight, props, mergedClsPrefixRef);
|
|
81
81
|
const uncontrolledValueRef = ref(props.defaultValue);
|
|
@@ -90,8 +90,8 @@ export default defineComponent({
|
|
|
90
90
|
call(_onUpdateValue, value);
|
|
91
91
|
}
|
|
92
92
|
uncontrolledValueRef.value = value;
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
triggerFormChange();
|
|
94
|
+
triggerFormInput();
|
|
95
95
|
}
|
|
96
96
|
function handleFocusin(e) {
|
|
97
97
|
const { value: selfEl } = selfElRef;
|
|
@@ -99,7 +99,7 @@ export default defineComponent({
|
|
|
99
99
|
return;
|
|
100
100
|
if (selfEl.contains(e.relatedTarget))
|
|
101
101
|
return;
|
|
102
|
-
|
|
102
|
+
triggerFormFocus();
|
|
103
103
|
}
|
|
104
104
|
function handleFocusout(e) {
|
|
105
105
|
const { value: selfEl } = selfElRef;
|
|
@@ -107,7 +107,7 @@ export default defineComponent({
|
|
|
107
107
|
return;
|
|
108
108
|
if (selfEl.contains(e.relatedTarget))
|
|
109
109
|
return;
|
|
110
|
-
|
|
110
|
+
triggerFormBlur();
|
|
111
111
|
}
|
|
112
112
|
provide(radioGroupInjectionKey, {
|
|
113
113
|
mergedClsPrefixRef,
|
package/es/rate/src/Rate.js
CHANGED
|
@@ -29,7 +29,7 @@ export default defineComponent({
|
|
|
29
29
|
const mergedValue = useMergedState(controlledValueRef, uncontrolledValueRef);
|
|
30
30
|
function doUpdateValue(value) {
|
|
31
31
|
const { 'onUpdate:value': _onUpdateValue, onUpdateValue } = props;
|
|
32
|
-
const {
|
|
32
|
+
const { triggerFormChange, triggerFormInput } = formItem;
|
|
33
33
|
if (_onUpdateValue) {
|
|
34
34
|
call(_onUpdateValue, value);
|
|
35
35
|
}
|
|
@@ -37,8 +37,8 @@ export default defineComponent({
|
|
|
37
37
|
call(onUpdateValue, value);
|
|
38
38
|
}
|
|
39
39
|
uncontrolledValueRef.value = value;
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
triggerFormChange();
|
|
41
|
+
triggerFormInput();
|
|
42
42
|
}
|
|
43
43
|
function getDerivedValue(index, e) {
|
|
44
44
|
if (props.allowHalf) {
|
package/es/select/src/Select.js
CHANGED
|
@@ -223,7 +223,7 @@ export default defineComponent({
|
|
|
223
223
|
const { mergedDisabledRef, mergedStatusRef } = formItem;
|
|
224
224
|
function doUpdateValue(value, option) {
|
|
225
225
|
const { onChange, 'onUpdate:value': _onUpdateValue, onUpdateValue } = props;
|
|
226
|
-
const {
|
|
226
|
+
const { triggerFormChange, triggerFormInput } = formItem;
|
|
227
227
|
if (onChange)
|
|
228
228
|
call(onChange, value, option);
|
|
229
229
|
if (onUpdateValue)
|
|
@@ -232,15 +232,15 @@ export default defineComponent({
|
|
|
232
232
|
call(_onUpdateValue, value, option);
|
|
233
233
|
}
|
|
234
234
|
uncontrolledValueRef.value = value;
|
|
235
|
-
|
|
236
|
-
|
|
235
|
+
triggerFormChange();
|
|
236
|
+
triggerFormInput();
|
|
237
237
|
}
|
|
238
238
|
function doBlur(e) {
|
|
239
239
|
const { onBlur } = props;
|
|
240
|
-
const {
|
|
240
|
+
const { triggerFormBlur } = formItem;
|
|
241
241
|
if (onBlur)
|
|
242
242
|
call(onBlur, e);
|
|
243
|
-
|
|
243
|
+
triggerFormBlur();
|
|
244
244
|
}
|
|
245
245
|
function doClear() {
|
|
246
246
|
const { onClear } = props;
|
|
@@ -249,10 +249,10 @@ export default defineComponent({
|
|
|
249
249
|
}
|
|
250
250
|
function doFocus(e) {
|
|
251
251
|
const { onFocus, showOnFocus } = props;
|
|
252
|
-
const {
|
|
252
|
+
const { triggerFormFocus } = formItem;
|
|
253
253
|
if (onFocus)
|
|
254
254
|
call(onFocus, e);
|
|
255
|
-
|
|
255
|
+
triggerFormFocus();
|
|
256
256
|
if (showOnFocus) {
|
|
257
257
|
openMenu();
|
|
258
258
|
}
|
package/es/slider/src/Slider.js
CHANGED
|
@@ -169,14 +169,14 @@ export default defineComponent({
|
|
|
169
169
|
}
|
|
170
170
|
function doUpdateValue(value) {
|
|
171
171
|
const { 'onUpdate:value': _onUpdateValue, onUpdateValue } = props;
|
|
172
|
-
const {
|
|
172
|
+
const { triggerFormInput, triggerFormChange } = formItem;
|
|
173
173
|
if (onUpdateValue)
|
|
174
174
|
call(onUpdateValue, value);
|
|
175
175
|
if (_onUpdateValue)
|
|
176
176
|
call(_onUpdateValue, value);
|
|
177
177
|
uncontrolledValueRef.value = value;
|
|
178
|
-
|
|
179
|
-
|
|
178
|
+
triggerFormInput();
|
|
179
|
+
triggerFormChange();
|
|
180
180
|
}
|
|
181
181
|
function dispatchValueUpdate(value) {
|
|
182
182
|
const { range } = props;
|
package/es/styles.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export { gradientTextDark } from './gradient-text/styles';
|
|
|
34
34
|
export { iconDark } from './icon/styles';
|
|
35
35
|
export { inputDark, inputRtl as unstableInputRtl } from './input/styles';
|
|
36
36
|
export { inputNumberDark, inputNumberRtl as unstableInputNumberRtl } from './input-number/styles';
|
|
37
|
+
export { inputOtpDark, inputOtpRtl as unstableInputOtpRtl } from './input-otp/styles';
|
|
37
38
|
export { layoutDark } from './layout/styles';
|
|
38
39
|
export { listDark, listRtl as unstableListRtl } from './list/styles';
|
|
39
40
|
export { loadingBarDark } from './loading-bar/styles';
|
package/es/styles.js
CHANGED
|
@@ -34,6 +34,7 @@ export { gradientTextDark } from './gradient-text/styles';
|
|
|
34
34
|
export { iconDark } from './icon/styles';
|
|
35
35
|
export { inputDark, inputRtl as unstableInputRtl } from './input/styles';
|
|
36
36
|
export { inputNumberDark, inputNumberRtl as unstableInputNumberRtl } from './input-number/styles';
|
|
37
|
+
export { inputOtpDark, inputOtpRtl as unstableInputOtpRtl } from './input-otp/styles';
|
|
37
38
|
export { layoutDark } from './layout/styles';
|
|
38
39
|
export { listDark, listRtl as unstableListRtl } from './list/styles';
|
|
39
40
|
export { loadingBarDark } from './loading-bar/styles';
|
package/es/switch/src/Switch.js
CHANGED
|
@@ -80,7 +80,7 @@ export default defineComponent({
|
|
|
80
80
|
});
|
|
81
81
|
function doUpdateValue(value) {
|
|
82
82
|
const { 'onUpdate:value': _onUpdateValue, onChange, onUpdateValue } = props;
|
|
83
|
-
const {
|
|
83
|
+
const { triggerFormInput, triggerFormChange } = formItem;
|
|
84
84
|
if (_onUpdateValue)
|
|
85
85
|
call(_onUpdateValue, value);
|
|
86
86
|
if (onUpdateValue)
|
|
@@ -88,16 +88,16 @@ export default defineComponent({
|
|
|
88
88
|
if (onChange)
|
|
89
89
|
call(onChange, value);
|
|
90
90
|
uncontrolledValueRef.value = value;
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
triggerFormInput();
|
|
92
|
+
triggerFormChange();
|
|
93
93
|
}
|
|
94
94
|
function doFocus() {
|
|
95
|
-
const {
|
|
96
|
-
|
|
95
|
+
const { triggerFormFocus } = formItem;
|
|
96
|
+
triggerFormFocus();
|
|
97
97
|
}
|
|
98
98
|
function doBlur() {
|
|
99
|
-
const {
|
|
100
|
-
|
|
99
|
+
const { triggerFormBlur } = formItem;
|
|
100
|
+
triggerFormBlur();
|
|
101
101
|
}
|
|
102
102
|
function handleClick() {
|
|
103
103
|
if (props.loading || mergedDisabledRef.value)
|
|
@@ -92,6 +92,7 @@ export default cB('tag', `
|
|
|
92
92
|
cursor: pointer;
|
|
93
93
|
box-shadow: none;
|
|
94
94
|
color: var(--u-text-color-checkable);
|
|
95
|
+
padding: 0px 8px;
|
|
95
96
|
background-color: var(--u-color-checkable);
|
|
96
97
|
transition: border-color .3s var(--u-bezier);
|
|
97
98
|
`, [cNotM('disabled', [c('&:hover', 'background-color: var(--u-color-hover-checkable);', [cNotM('checked', 'color: var(--u-text-color-hover-checkable);')]), c('&:focus', `
|
|
@@ -101,4 +102,7 @@ export default cB('tag', `
|
|
|
101
102
|
transition: border-color .3s var(--u-bezier);`, [cNotM('checked', 'color: var(--u-text-color-pressed-checkable);')])]), cM('checked', `
|
|
102
103
|
color: var(--u-text-color-checked);
|
|
103
104
|
background-color: var(--u-color-checked);
|
|
104
|
-
`, [
|
|
105
|
+
`, [cE('border', `
|
|
106
|
+
border-color: var(--u-color-checked);
|
|
107
|
+
transition: none;
|
|
108
|
+
`), cNotM('disabled', [c('&:hover', 'background-color: var(--u-color-checked-hover);'), c('&:focus', 'background-color: var(--u-color-checked-hover);'), c('&:active', 'background-color: var(--u-color-checked-pressed);')])])])]);
|
package/es/tag/styles/light.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { changeColor } from 'seemly';
|
|
2
2
|
import { commonLight } from '../../_styles/common';
|
|
3
3
|
export const self = (vars) => {
|
|
4
|
-
const { opacityDisabled, borderRadiusSmall: borderRadius, fontWeightStrong, fontWeight, elementsTertiary, fontBodySmall, fontBodyMedium, textQuaternary, elementsPrimary, elementsSenary, elementsQuinary, textPrimary, elementsQuaternary, transparencySecondary, staticDarkGrey, staticWhite, elementsDarkQuinary, brandPrimary600, brandPrimary500, brandQuaternary600, brandQuaternary500, staticGreen, staticOrange, staticRed, staticBlack } = vars;
|
|
4
|
+
const { opacityDisabled, borderRadiusSmall: borderRadius, fontWeightStrong, fontWeight, elementsTertiary, fontBodySmall, fontBodyMedium, textQuaternary, elementsPrimary, elementsSecondary, elementsSenary, elementsQuinary, textPrimary, elementsQuaternary, transparencySecondary, staticDarkGrey, staticWhite, elementsDarkQuinary, brandPrimary600, brandPrimary500, brandQuaternary600, brandQuaternary500, staticGreen, staticOrange, staticRed, staticBlack } = vars;
|
|
5
5
|
const borderTagWidth = 2;
|
|
6
6
|
return {
|
|
7
7
|
closeIconSizeTiny: '16px',
|
|
@@ -36,7 +36,7 @@ export const self = (vars) => {
|
|
|
36
36
|
textColorHoverCheckable: textPrimary,
|
|
37
37
|
textColorPressedCheckable: textPrimary,
|
|
38
38
|
textColorChecked: textQuaternary,
|
|
39
|
-
colorCheckable:
|
|
39
|
+
colorCheckable: elementsSecondary,
|
|
40
40
|
colorHoverCheckable: elementsQuaternary,
|
|
41
41
|
colorPressedCheckable: elementsQuaternary,
|
|
42
42
|
colorChecked: elementsPrimary,
|
|
@@ -17,6 +17,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
17
17
|
scrollbarHeight: string;
|
|
18
18
|
scrollbarBorderRadius: string;
|
|
19
19
|
opacityDisabled: string;
|
|
20
|
+
brand150: string;
|
|
21
|
+
brand350: string;
|
|
22
|
+
brand550: string;
|
|
20
23
|
brandPrimary50: string;
|
|
21
24
|
brandPrimary100: string;
|
|
22
25
|
brandPrimary200: string;
|
package/es/themes/dark.js
CHANGED
|
@@ -86,6 +86,7 @@ import { toggleButtonDark } from '../toggle-button/styles';
|
|
|
86
86
|
import { accountOptionDark } from '../_internal/account-option/styles';
|
|
87
87
|
import { flexDark } from '../flex/styles';
|
|
88
88
|
import { actionCardDark } from '../action-card/styles';
|
|
89
|
+
import { inputOtpDark } from '../styles';
|
|
89
90
|
export const darkTheme = {
|
|
90
91
|
name: 'dark',
|
|
91
92
|
common: commonDark,
|
|
@@ -130,6 +131,7 @@ export const darkTheme = {
|
|
|
130
131
|
IconWrapper: iconWrapperDark,
|
|
131
132
|
Image: imageDark,
|
|
132
133
|
Input: inputDark,
|
|
134
|
+
InputOtp: inputOtpDark,
|
|
133
135
|
InputNumber: inputNumberDark,
|
|
134
136
|
LegacyTransfer: legacyTransferDark,
|
|
135
137
|
Layout: layoutDark,
|
package/es/themes/light.js
CHANGED
|
@@ -88,6 +88,7 @@ import { toggleButtonLight } from '../toggle-button/styles';
|
|
|
88
88
|
import { accountOptionLight } from '../_internal/account-option/styles';
|
|
89
89
|
import { flexLight } from '../flex/styles';
|
|
90
90
|
import { actionCardLight } from '../action-card/styles';
|
|
91
|
+
import { inputOtpLight } from '../input-otp/styles';
|
|
91
92
|
export const lightTheme = {
|
|
92
93
|
name: 'light',
|
|
93
94
|
common: commonLight,
|
|
@@ -132,6 +133,7 @@ export const lightTheme = {
|
|
|
132
133
|
IconWrapper: iconWrapperLight,
|
|
133
134
|
Image: imageLight,
|
|
134
135
|
Input: inputLight,
|
|
136
|
+
InputOtp: inputOtpLight,
|
|
135
137
|
InputNumber: inputNumberLight,
|
|
136
138
|
Layout: layoutLight,
|
|
137
139
|
LegacyTransfer: legacyTransferLight,
|
|
@@ -247,7 +247,7 @@ export default defineComponent({
|
|
|
247
247
|
}
|
|
248
248
|
function doUpdateValue(value) {
|
|
249
249
|
const { onUpdateValue, 'onUpdate:value': _onUpdateValue, onChange } = props;
|
|
250
|
-
const {
|
|
250
|
+
const { triggerFormChange, triggerFormInput } = formItem;
|
|
251
251
|
const formattedValue = createFormattedValue(value);
|
|
252
252
|
if (onUpdateValue) {
|
|
253
253
|
call(onUpdateValue, value, formattedValue);
|
|
@@ -259,22 +259,22 @@ export default defineComponent({
|
|
|
259
259
|
call(onChange, value, formattedValue);
|
|
260
260
|
doUpdateFormattedValue(formattedValue, value);
|
|
261
261
|
uncontrolledValueRef.value = value;
|
|
262
|
-
|
|
263
|
-
|
|
262
|
+
triggerFormChange();
|
|
263
|
+
triggerFormInput();
|
|
264
264
|
}
|
|
265
265
|
function doFocus(e) {
|
|
266
266
|
const { onFocus } = props;
|
|
267
|
-
const {
|
|
267
|
+
const { triggerFormFocus } = formItem;
|
|
268
268
|
if (onFocus)
|
|
269
269
|
call(onFocus, e);
|
|
270
|
-
|
|
270
|
+
triggerFormFocus();
|
|
271
271
|
}
|
|
272
272
|
function doBlur(e) {
|
|
273
273
|
const { onBlur } = props;
|
|
274
|
-
const {
|
|
274
|
+
const { triggerFormBlur } = formItem;
|
|
275
275
|
if (onBlur)
|
|
276
276
|
call(onBlur, e);
|
|
277
|
-
|
|
277
|
+
triggerFormBlur();
|
|
278
278
|
}
|
|
279
279
|
function doConfirm() {
|
|
280
280
|
const { onConfirm } = props;
|
|
@@ -63,7 +63,7 @@ export default defineComponent({
|
|
|
63
63
|
const { uncontrolledValueRef, mergedValueRef, targetValueSetRef, valueSetForCheckAllRef, valueSetForUncheckAllRef, valueSetForClearRef, filteredTgtOptionsRef, filteredSrcOptionsRef, targetOptionsRef, canNotSelectAnythingRef, canBeClearedRef, allCheckedRef, srcPatternRef, tgtPatternRef, mergedSrcFilterableRef, handleSrcFilterUpdateValue, handleTgtFilterUpdateValue } = useTransferData(props);
|
|
64
64
|
function doUpdateValue(value) {
|
|
65
65
|
const { onUpdateValue, 'onUpdate:value': _onUpdateValue, onChange } = props;
|
|
66
|
-
const {
|
|
66
|
+
const { triggerFormInput, triggerFormChange } = formItem;
|
|
67
67
|
if (onUpdateValue)
|
|
68
68
|
call(onUpdateValue, value);
|
|
69
69
|
if (_onUpdateValue)
|
|
@@ -71,8 +71,8 @@ export default defineComponent({
|
|
|
71
71
|
if (onChange)
|
|
72
72
|
call(onChange, value);
|
|
73
73
|
uncontrolledValueRef.value = value;
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
triggerFormInput();
|
|
75
|
+
triggerFormChange();
|
|
76
76
|
}
|
|
77
77
|
function handleSourceCheckAll() {
|
|
78
78
|
doUpdateValue([...valueSetForCheckAllRef.value]);
|
|
@@ -70,7 +70,7 @@ export default defineComponent({
|
|
|
70
70
|
const menuElRef = ref(null);
|
|
71
71
|
const { mergedClsPrefixRef, namespaceRef, inlineThemeDisabled } = useConfig(props);
|
|
72
72
|
const { localeRef } = useLocale('Select');
|
|
73
|
-
const { mergedSizeRef, mergedDisabledRef, mergedStatusRef,
|
|
73
|
+
const { mergedSizeRef, mergedDisabledRef, mergedStatusRef, triggerFormBlur, triggerFormChange, triggerFormFocus, triggerFormInput } = useFormItem(props);
|
|
74
74
|
const uncontrolledValueRef = ref(props.defaultValue);
|
|
75
75
|
const controlledValueRef = toRef(props, 'value');
|
|
76
76
|
const mergedValueRef = useMergedState(controlledValueRef, uncontrolledValueRef);
|
|
@@ -207,8 +207,8 @@ export default defineComponent({
|
|
|
207
207
|
call(_onUpdateValue, value, option, meta);
|
|
208
208
|
}
|
|
209
209
|
uncontrolledValueRef.value = value;
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
triggerFormInput();
|
|
211
|
+
triggerFormChange();
|
|
212
212
|
}
|
|
213
213
|
function doUpdateIndeterminateKeys(value, option) {
|
|
214
214
|
const { onUpdateIndeterminateKeys, 'onUpdate:indeterminateKeys': _onUpdateIndeterminateKeys } = props;
|
|
@@ -233,14 +233,14 @@ export default defineComponent({
|
|
|
233
233
|
const { onFocus } = props;
|
|
234
234
|
if (onFocus)
|
|
235
235
|
onFocus(e);
|
|
236
|
-
|
|
236
|
+
triggerFormFocus();
|
|
237
237
|
}
|
|
238
238
|
function doBlur(e) {
|
|
239
239
|
closeMenu();
|
|
240
240
|
const { onBlur } = props;
|
|
241
241
|
if (onBlur)
|
|
242
242
|
onBlur(e);
|
|
243
|
-
|
|
243
|
+
triggerFormBlur();
|
|
244
244
|
}
|
|
245
245
|
function closeMenu() {
|
|
246
246
|
doUpdateShow(false);
|
|
@@ -220,8 +220,8 @@ export default defineComponent({
|
|
|
220
220
|
!this.vertical &&
|
|
221
221
|
!imageCardTypes.includes(listType) &&
|
|
222
222
|
`${clsPrefix}-upload-file-loader--default`
|
|
223
|
-
] },
|
|
224
|
-
h("div", { class: [
|
|
223
|
+
] }, {
|
|
224
|
+
default: () => (h("div", { class: [
|
|
225
225
|
`${clsPrefix}-upload-file`,
|
|
226
226
|
`${clsPrefix}-upload-file--${this.progressStatus}-status`,
|
|
227
227
|
file.url &&
|
|
@@ -247,6 +247,7 @@ export default defineComponent({
|
|
|
247
247
|
? this.$slots['upload-file-subtitle']({ file })
|
|
248
248
|
: ''))),
|
|
249
249
|
actionsNode),
|
|
250
|
-
this.showProgress && (h("div", { class: `${clsPrefix}-upload-file-overlay` }))))
|
|
250
|
+
this.showProgress && (h("div", { class: `${clsPrefix}-upload-file-overlay` }))))
|
|
251
|
+
}));
|
|
251
252
|
}
|
|
252
253
|
});
|