@veltra/desktop 1.0.6 → 1.0.8
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/dist/components/action/action.vue.d.ts +2 -2
- package/dist/components/action/style.js +3 -0
- package/dist/components/auto-complete/auto-complete.vue.d.ts +1 -1
- package/dist/components/auto-complete/style.js +5 -0
- package/dist/components/batch-edit/style.js +9 -0
- package/dist/components/breadcrumb/breadcrumb.js +106 -0
- package/dist/components/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.vue.d.ts +25 -0
- package/dist/components/breadcrumb/index.d.ts +1 -0
- package/dist/components/breadcrumb/style.d.ts +1 -0
- package/dist/components/breadcrumb/style.js +1 -0
- package/dist/components/breadcrumb/style2.css +91 -0
- package/dist/components/button/button.vue.d.ts +1 -1
- package/dist/components/button/style.js +1 -0
- package/dist/components/cascade/cascade.vue.d.ts +4 -4
- package/dist/components/cascade/style.js +7 -0
- package/dist/components/checkbox/checkbox-button.vue.d.ts +2 -2
- package/dist/components/checkbox/checkbox.vue.d.ts +1 -1
- package/dist/components/checkbox/style.js +1 -0
- package/dist/components/checkbox/style2.css +0 -8
- package/dist/components/checkbox-group/checkbox-group.vue.d.ts +1 -1
- package/dist/components/checkbox-group/style.js +1 -0
- package/dist/components/code-editor/code-editor.vue.d.ts +1 -1
- package/dist/components/context-menu/style.js +1 -0
- package/dist/components/date-panel/date-panel.vue.d.ts +1 -1
- package/dist/components/date-picker/date-picker.vue.d.ts +2 -2
- package/dist/components/date-picker/style.js +3 -0
- package/dist/components/date-range-picker/date-range-picker.vue.d.ts +2 -2
- package/dist/components/date-range-picker/style.js +3 -0
- package/dist/components/dialog/style.js +2 -0
- package/dist/components/drawer/style.js +1 -0
- package/dist/components/drawer/style2.css +4 -16
- package/dist/components/empty/empty.vue.d.ts +1 -1
- package/dist/components/empty/style.js +1 -0
- package/dist/components/expression-editor/style.js +6 -0
- package/dist/components/float-button/style.js +1 -0
- package/dist/components/form/style.js +2 -0
- package/dist/components/form-item/style.js +1 -0
- package/dist/components/form-item/style2.css +2 -3
- package/dist/components/index.d.ts +75 -74
- package/dist/components/input/input.vue.d.ts +3 -3
- package/dist/components/input/style.js +1 -0
- package/dist/components/layout/style.js +1 -0
- package/dist/components/list/style.js +1 -0
- package/dist/components/loading/style2.css +16 -20
- package/dist/components/menu/style.js +2 -0
- package/dist/components/menu/style2.css +0 -78
- package/dist/components/multi-select/multi-select.vue.d.ts +1 -1
- package/dist/components/multi-select/style.js +7 -0
- package/dist/components/multi-tree-select/multi-tree-select.vue.d.ts +3 -3
- package/dist/components/multi-tree-select/style.js +7 -0
- package/dist/components/notification/notification.vue.d.ts +1 -1
- package/dist/components/number-input/number-input.vue.d.ts +1 -1
- package/dist/components/number-input/style.js +1 -0
- package/dist/components/number-range-input/number-range-input.vue.d.ts +1 -1
- package/dist/components/number-range-input/style.js +1 -0
- package/dist/components/paginator/style.js +3 -0
- package/dist/components/palette/palette.vue.d.ts +1 -1
- package/dist/components/palette/style.js +3 -0
- package/dist/components/password-input/password-input.vue.d.ts +1 -1
- package/dist/components/password-input/style.js +2 -0
- package/dist/components/pop-confirm/style.js +3 -0
- package/dist/components/progress/progress.vue.d.ts +1 -1
- package/dist/components/progress-nodes/style2.css +79 -33
- package/dist/components/radio/style2.css +0 -8
- package/dist/components/radio-group/radio-group.vue.d.ts +1 -1
- package/dist/components/radio-group/style.js +1 -0
- package/dist/components/rich-text-editor/rich-text-editor.vue.d.ts +1 -1
- package/dist/components/select/select.vue.d.ts +1 -1
- package/dist/components/select/style.js +5 -0
- package/dist/components/select/style2.css +0 -20
- package/dist/components/steps/style.js +2 -0
- package/dist/components/steps/style2.css +28 -35
- package/dist/components/switch/style2.css +0 -3
- package/dist/components/switch/switch.vue.d.ts +1 -1
- package/dist/components/table/style.js +7 -0
- package/dist/components/table/style2.css +0 -41
- package/dist/components/table-editor/style.js +2 -0
- package/dist/components/tabs/style.js +2 -0
- package/dist/components/tabs/tabs.vue.d.ts +4 -4
- package/dist/components/tag/style2.css +0 -6
- package/dist/components/textarea/style.js +1 -0
- package/dist/components/textarea/textarea.vue.d.ts +3 -3
- package/dist/components/theme/style.js +5 -0
- package/dist/components/tip/tip.vue.d.ts +1 -1
- package/dist/components/tree/style.js +4 -0
- package/dist/components/tree/tree.vue.d.ts +1 -1
- package/dist/components/tree-select/style.js +4 -0
- package/dist/components/tree-select/tree-select.vue.d.ts +2 -2
- package/dist/index.d.ts +78 -76
- package/dist/index.js +73 -72
- package/dist/types/breadcrumb.d.ts +43 -0
- package/dist/types/index.d.ts +3 -2
- package/package.json +11 -11
- package/src/components/breadcrumb/breadcrumb.vue +113 -0
- package/src/components/breadcrumb/index.ts +1 -0
- package/src/components/breadcrumb/style.scss +78 -0
- package/src/components/breadcrumb/style.ts +1 -0
- package/src/components/checkbox/style.scss +0 -4
- package/src/components/drawer/style.scss +18 -11
- package/src/components/form-item/style.scss +2 -3
- package/src/components/index.ts +2 -0
- package/src/components/loading/style.scss +125 -126
- package/src/components/menu/style.scss +0 -31
- package/src/components/progress-nodes/style.scss +28 -22
- package/src/components/radio/style.scss +0 -4
- package/src/components/select/style.scss +0 -12
- package/src/components/steps/style.scss +10 -10
- package/src/components/switch/style.scss +0 -4
- package/src/components/table/style.scss +0 -26
- package/src/components/tag/style.scss +0 -6
- package/src/types/breadcrumb.ts +44 -0
- package/src/types/index.ts +1 -0
- package/dist/types/index.js +0 -0
|
@@ -16,11 +16,8 @@
|
|
|
16
16
|
*/
|
|
17
17
|
/** 暗色:data-theme 与系统偏好,与 UITheme.injectBuiltInThemes 选择器策略一致 */
|
|
18
18
|
.u-progress-nodes {
|
|
19
|
-
--checked-color: var(--u-color-primary);
|
|
20
|
-
--node-color: var(--u-text-color-placeholder);
|
|
21
|
-
--dot-size: 14px;
|
|
22
19
|
position: relative;
|
|
23
|
-
color: var(--
|
|
20
|
+
color: var(--u-text-color-placeholder);
|
|
24
21
|
overflow: auto;
|
|
25
22
|
cursor: default;
|
|
26
23
|
scrollbar-width: none;
|
|
@@ -34,27 +31,6 @@
|
|
|
34
31
|
.u-progress-nodes.is-dragging {
|
|
35
32
|
cursor: grabbing;
|
|
36
33
|
}
|
|
37
|
-
.u-progress-nodes--primary {
|
|
38
|
-
--checked-color: var(--u-color-primary);
|
|
39
|
-
}
|
|
40
|
-
.u-progress-nodes--success {
|
|
41
|
-
--checked-color: var(--u-color-success);
|
|
42
|
-
}
|
|
43
|
-
.u-progress-nodes--warning {
|
|
44
|
-
--checked-color: var(--u-color-warning);
|
|
45
|
-
}
|
|
46
|
-
.u-progress-nodes--danger {
|
|
47
|
-
--checked-color: var(--u-color-danger);
|
|
48
|
-
}
|
|
49
|
-
.u-progress-nodes--info {
|
|
50
|
-
--checked-color: var(--u-color-info);
|
|
51
|
-
}
|
|
52
|
-
.u-progress-nodes--disabled {
|
|
53
|
-
--checked-color: var(--u-color-disabled);
|
|
54
|
-
}
|
|
55
|
-
.u-progress-nodes--default {
|
|
56
|
-
--checked-color: var(--u-color-default);
|
|
57
|
-
}
|
|
58
34
|
.u-progress-nodes__list {
|
|
59
35
|
position: relative;
|
|
60
36
|
display: flex;
|
|
@@ -87,8 +63,8 @@
|
|
|
87
63
|
}
|
|
88
64
|
.u-progress-nodes__dot {
|
|
89
65
|
position: relative;
|
|
90
|
-
width:
|
|
91
|
-
height:
|
|
66
|
+
width: 14px;
|
|
67
|
+
height: 14px;
|
|
92
68
|
border: 2px solid currentColor;
|
|
93
69
|
border-radius: 50%;
|
|
94
70
|
background-color: var(--u-bg-color-top);
|
|
@@ -112,14 +88,84 @@
|
|
|
112
88
|
white-space: nowrap;
|
|
113
89
|
}
|
|
114
90
|
.u-progress-nodes .u-progress-nodes__item.is-checked {
|
|
115
|
-
color: var(--
|
|
91
|
+
color: var(--u-color-primary);
|
|
116
92
|
}
|
|
117
93
|
.u-progress-nodes .u-progress-nodes__item.is-checked .u-progress-nodes__dot {
|
|
118
|
-
background-color: var(--
|
|
119
|
-
border-color: var(--
|
|
94
|
+
background-color: var(--u-color-primary);
|
|
95
|
+
border-color: var(--u-color-primary);
|
|
120
96
|
}
|
|
121
97
|
.u-progress-nodes .u-progress-nodes__item.is-checked .u-progress-nodes__label {
|
|
122
|
-
color: var(--
|
|
98
|
+
color: var(--u-color-primary);
|
|
99
|
+
}
|
|
100
|
+
.u-progress-nodes--primary .u-progress-nodes__item.is-checked {
|
|
101
|
+
color: var(--u-color-primary);
|
|
102
|
+
}
|
|
103
|
+
.u-progress-nodes--primary .u-progress-nodes__item.is-checked .u-progress-nodes__dot {
|
|
104
|
+
background-color: var(--u-color-primary);
|
|
105
|
+
border-color: var(--u-color-primary);
|
|
106
|
+
}
|
|
107
|
+
.u-progress-nodes--primary .u-progress-nodes__item.is-checked .u-progress-nodes__label {
|
|
108
|
+
color: var(--u-color-primary);
|
|
109
|
+
}
|
|
110
|
+
.u-progress-nodes--success .u-progress-nodes__item.is-checked {
|
|
111
|
+
color: var(--u-color-success);
|
|
112
|
+
}
|
|
113
|
+
.u-progress-nodes--success .u-progress-nodes__item.is-checked .u-progress-nodes__dot {
|
|
114
|
+
background-color: var(--u-color-success);
|
|
115
|
+
border-color: var(--u-color-success);
|
|
116
|
+
}
|
|
117
|
+
.u-progress-nodes--success .u-progress-nodes__item.is-checked .u-progress-nodes__label {
|
|
118
|
+
color: var(--u-color-success);
|
|
119
|
+
}
|
|
120
|
+
.u-progress-nodes--warning .u-progress-nodes__item.is-checked {
|
|
121
|
+
color: var(--u-color-warning);
|
|
122
|
+
}
|
|
123
|
+
.u-progress-nodes--warning .u-progress-nodes__item.is-checked .u-progress-nodes__dot {
|
|
124
|
+
background-color: var(--u-color-warning);
|
|
125
|
+
border-color: var(--u-color-warning);
|
|
126
|
+
}
|
|
127
|
+
.u-progress-nodes--warning .u-progress-nodes__item.is-checked .u-progress-nodes__label {
|
|
128
|
+
color: var(--u-color-warning);
|
|
129
|
+
}
|
|
130
|
+
.u-progress-nodes--danger .u-progress-nodes__item.is-checked {
|
|
131
|
+
color: var(--u-color-danger);
|
|
132
|
+
}
|
|
133
|
+
.u-progress-nodes--danger .u-progress-nodes__item.is-checked .u-progress-nodes__dot {
|
|
134
|
+
background-color: var(--u-color-danger);
|
|
135
|
+
border-color: var(--u-color-danger);
|
|
136
|
+
}
|
|
137
|
+
.u-progress-nodes--danger .u-progress-nodes__item.is-checked .u-progress-nodes__label {
|
|
138
|
+
color: var(--u-color-danger);
|
|
139
|
+
}
|
|
140
|
+
.u-progress-nodes--info .u-progress-nodes__item.is-checked {
|
|
141
|
+
color: var(--u-color-info);
|
|
142
|
+
}
|
|
143
|
+
.u-progress-nodes--info .u-progress-nodes__item.is-checked .u-progress-nodes__dot {
|
|
144
|
+
background-color: var(--u-color-info);
|
|
145
|
+
border-color: var(--u-color-info);
|
|
146
|
+
}
|
|
147
|
+
.u-progress-nodes--info .u-progress-nodes__item.is-checked .u-progress-nodes__label {
|
|
148
|
+
color: var(--u-color-info);
|
|
149
|
+
}
|
|
150
|
+
.u-progress-nodes--disabled .u-progress-nodes__item.is-checked {
|
|
151
|
+
color: var(--u-color-disabled);
|
|
152
|
+
}
|
|
153
|
+
.u-progress-nodes--disabled .u-progress-nodes__item.is-checked .u-progress-nodes__dot {
|
|
154
|
+
background-color: var(--u-color-disabled);
|
|
155
|
+
border-color: var(--u-color-disabled);
|
|
156
|
+
}
|
|
157
|
+
.u-progress-nodes--disabled .u-progress-nodes__item.is-checked .u-progress-nodes__label {
|
|
158
|
+
color: var(--u-color-disabled);
|
|
159
|
+
}
|
|
160
|
+
.u-progress-nodes--default .u-progress-nodes__item.is-checked {
|
|
161
|
+
color: var(--u-color-default);
|
|
162
|
+
}
|
|
163
|
+
.u-progress-nodes--default .u-progress-nodes__item.is-checked .u-progress-nodes__dot {
|
|
164
|
+
background-color: var(--u-color-default);
|
|
165
|
+
border-color: var(--u-color-default);
|
|
166
|
+
}
|
|
167
|
+
.u-progress-nodes--default .u-progress-nodes__item.is-checked .u-progress-nodes__label {
|
|
168
|
+
color: var(--u-color-default);
|
|
123
169
|
}
|
|
124
170
|
.u-progress-nodes .u-progress-nodes__item.is-active {
|
|
125
171
|
isolation: isolate;
|
|
@@ -152,10 +198,10 @@
|
|
|
152
198
|
width: 100%;
|
|
153
199
|
}
|
|
154
200
|
.u-progress-nodes__link {
|
|
155
|
-
width: calc(100% -
|
|
201
|
+
width: calc(100% - 14px + 24px);
|
|
156
202
|
height: 0;
|
|
157
203
|
border-width: 1px 0 0 0;
|
|
158
|
-
left: calc(50% +
|
|
204
|
+
left: calc(50% + 7px);
|
|
159
205
|
top: 50%;
|
|
160
206
|
transform: translateY(-50%);
|
|
161
207
|
}
|
|
@@ -15,14 +15,6 @@
|
|
|
15
15
|
* --u-height-small: 24px;
|
|
16
16
|
*/
|
|
17
17
|
/** 暗色:data-theme 与系统偏好,与 UITheme.injectBuiltInThemes 选择器策略一致 */
|
|
18
|
-
html[data-theme=dark] .u-radio {
|
|
19
|
-
--u-radio-border: #595959;
|
|
20
|
-
}
|
|
21
|
-
@media (prefers-color-scheme: dark) {
|
|
22
|
-
html:not([data-theme=light]) .u-radio {
|
|
23
|
-
--u-radio-border: #595959;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
18
|
.u-radio {
|
|
27
19
|
cursor: pointer;
|
|
28
20
|
vertical-align: middle;
|
|
@@ -16,8 +16,8 @@ declare const __VLS_export: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {},
|
|
|
16
16
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
17
17
|
onChange?: ((item: Record<string, any>) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
|
-
readonly: boolean;
|
|
20
19
|
disabled: boolean;
|
|
20
|
+
readonly: boolean;
|
|
21
21
|
labelKey: string;
|
|
22
22
|
valueKey: string;
|
|
23
23
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -12,9 +12,9 @@ declare const __VLS_export: _$vue.DefineComponent<RichTextEditorProps & {
|
|
|
12
12
|
}> & Readonly<{
|
|
13
13
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
|
-
readonly: boolean;
|
|
16
15
|
disabled: boolean;
|
|
17
16
|
placeholder: string;
|
|
17
|
+
readonly: boolean;
|
|
18
18
|
format: RichTextFormat;
|
|
19
19
|
toolbar: ToolbarItem[];
|
|
20
20
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -26,10 +26,10 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
|
|
|
26
26
|
"onUpdate:text"?: ((value: any) => any) | undefined;
|
|
27
27
|
"onUpdate:label"?: ((label?: string | undefined) => any) | undefined;
|
|
28
28
|
}>, {
|
|
29
|
-
readonly: boolean;
|
|
30
29
|
disabled: boolean;
|
|
31
30
|
placeholder: string;
|
|
32
31
|
clearable: boolean;
|
|
32
|
+
readonly: boolean;
|
|
33
33
|
labelKey: string;
|
|
34
34
|
valueKey: string;
|
|
35
35
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -15,26 +15,6 @@
|
|
|
15
15
|
* --u-height-small: 24px;
|
|
16
16
|
*/
|
|
17
17
|
/** 暗色:data-theme 与系统偏好,与 UITheme.injectBuiltInThemes 选择器策略一致 */
|
|
18
|
-
.u-select {
|
|
19
|
-
--u-menu-hover-bg: rgba(148, 163, 184, 0.12);
|
|
20
|
-
--u-menu-hover-color: var(--u-text-color-title);
|
|
21
|
-
--u-menu-active-bg: rgba(59, 130, 246, 0.12);
|
|
22
|
-
--u-menu-active-color: var(--u-color-primary-dark-1);
|
|
23
|
-
}
|
|
24
|
-
html[data-theme=dark] .u-select {
|
|
25
|
-
--u-menu-hover-bg: rgba(148, 163, 184, 0.14);
|
|
26
|
-
--u-menu-hover-color: var(--u-text-color-title);
|
|
27
|
-
--u-menu-active-bg: rgba(96, 165, 250, 0.2);
|
|
28
|
-
--u-menu-active-color: var(--u-text-color-white);
|
|
29
|
-
}
|
|
30
|
-
@media (prefers-color-scheme: dark) {
|
|
31
|
-
html:not([data-theme=light]) .u-select {
|
|
32
|
-
--u-menu-hover-bg: rgba(148, 163, 184, 0.14);
|
|
33
|
-
--u-menu-hover-color: var(--u-text-color-title);
|
|
34
|
-
--u-menu-active-bg: rgba(96, 165, 250, 0.2);
|
|
35
|
-
--u-menu-active-color: var(--u-text-color-white);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
18
|
.u-select {
|
|
39
19
|
width: 100%;
|
|
40
20
|
}
|
|
@@ -18,49 +18,48 @@
|
|
|
18
18
|
.u-steps {
|
|
19
19
|
padding: 0;
|
|
20
20
|
margin: 0;
|
|
21
|
-
/** 颜色变量 */
|
|
22
21
|
}
|
|
23
|
-
.u-steps__finished--
|
|
24
|
-
|
|
22
|
+
.u-steps__finished--primary__item.is-finished {
|
|
23
|
+
color: var(--u-color-primary);
|
|
25
24
|
}
|
|
26
|
-
.u-steps__current--
|
|
27
|
-
|
|
25
|
+
.u-steps__current--primary__item.is-current {
|
|
26
|
+
color: var(--u-color-primary);
|
|
28
27
|
}
|
|
29
|
-
.u-steps__finished--
|
|
30
|
-
|
|
28
|
+
.u-steps__finished--success__item.is-finished {
|
|
29
|
+
color: var(--u-color-success);
|
|
31
30
|
}
|
|
32
|
-
.u-steps__current--
|
|
33
|
-
|
|
31
|
+
.u-steps__current--success__item.is-current {
|
|
32
|
+
color: var(--u-color-success);
|
|
34
33
|
}
|
|
35
|
-
.u-steps__finished--
|
|
36
|
-
|
|
34
|
+
.u-steps__finished--warning__item.is-finished {
|
|
35
|
+
color: var(--u-color-warning);
|
|
37
36
|
}
|
|
38
|
-
.u-steps__current--
|
|
39
|
-
|
|
37
|
+
.u-steps__current--warning__item.is-current {
|
|
38
|
+
color: var(--u-color-warning);
|
|
40
39
|
}
|
|
41
|
-
.u-steps__finished--
|
|
42
|
-
|
|
40
|
+
.u-steps__finished--danger__item.is-finished {
|
|
41
|
+
color: var(--u-color-danger);
|
|
43
42
|
}
|
|
44
|
-
.u-steps__current--
|
|
45
|
-
|
|
43
|
+
.u-steps__current--danger__item.is-current {
|
|
44
|
+
color: var(--u-color-danger);
|
|
46
45
|
}
|
|
47
|
-
.u-steps__finished--
|
|
48
|
-
|
|
46
|
+
.u-steps__finished--info__item.is-finished {
|
|
47
|
+
color: var(--u-color-info);
|
|
49
48
|
}
|
|
50
|
-
.u-steps__current--
|
|
51
|
-
|
|
49
|
+
.u-steps__current--info__item.is-current {
|
|
50
|
+
color: var(--u-color-info);
|
|
52
51
|
}
|
|
53
|
-
.u-steps__finished--
|
|
54
|
-
|
|
52
|
+
.u-steps__finished--disabled__item.is-finished {
|
|
53
|
+
color: var(--u-color-disabled);
|
|
55
54
|
}
|
|
56
|
-
.u-steps__current--
|
|
57
|
-
|
|
55
|
+
.u-steps__current--disabled__item.is-current {
|
|
56
|
+
color: var(--u-color-disabled);
|
|
58
57
|
}
|
|
59
|
-
.u-steps__finished--
|
|
60
|
-
|
|
58
|
+
.u-steps__finished--default__item.is-finished {
|
|
59
|
+
color: var(--u-color-default);
|
|
61
60
|
}
|
|
62
|
-
.u-steps__current--
|
|
63
|
-
|
|
61
|
+
.u-steps__current--default__item.is-current {
|
|
62
|
+
color: var(--u-color-default);
|
|
64
63
|
}
|
|
65
64
|
.u-steps {
|
|
66
65
|
/** 步骤项 */
|
|
@@ -69,12 +68,6 @@
|
|
|
69
68
|
font-weight: 600;
|
|
70
69
|
color: var(--u-text-color-placeholder);
|
|
71
70
|
}
|
|
72
|
-
.u-steps__item.is-finished {
|
|
73
|
-
color: var(--finished-color);
|
|
74
|
-
}
|
|
75
|
-
.u-steps__item.is-current {
|
|
76
|
-
color: var(--current-color);
|
|
77
|
-
}
|
|
78
71
|
.u-steps__node {
|
|
79
72
|
position: relative;
|
|
80
73
|
}
|
|
@@ -16,9 +16,6 @@
|
|
|
16
16
|
*/
|
|
17
17
|
/** 暗色:data-theme 与系统偏好,与 UITheme.injectBuiltInThemes 选择器策略一致 */
|
|
18
18
|
.u-switch {
|
|
19
|
-
--u-switch-height-small: 18px;
|
|
20
|
-
--u-switch-height-default: 20px;
|
|
21
|
-
--u-switch-height-large: 24px;
|
|
22
19
|
display: inline-flex;
|
|
23
20
|
align-items: center;
|
|
24
21
|
cursor: pointer;
|
|
@@ -16,8 +16,8 @@ declare const __VLS_export: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {},
|
|
|
16
16
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
17
17
|
onChange?: ((value: boolean) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
|
-
readonly: boolean;
|
|
20
19
|
disabled: boolean;
|
|
20
|
+
readonly: boolean;
|
|
21
21
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
|
23
23
|
//#endregion
|
|
@@ -15,47 +15,6 @@
|
|
|
15
15
|
* --u-height-small: 24px;
|
|
16
16
|
*/
|
|
17
17
|
/** 暗色:data-theme 与系统偏好,与 UITheme.injectBuiltInThemes 选择器策略一致 */
|
|
18
|
-
.u-table {
|
|
19
|
-
--u-table-border-color: #e9e9e9;
|
|
20
|
-
--u-table-header-bg: #f4f5f7;
|
|
21
|
-
--u-table-header-color: var(--u-text-color-title);
|
|
22
|
-
--u-table-stripe-bg: #f8fafc;
|
|
23
|
-
--u-table-stripe-color: inherit;
|
|
24
|
-
--u-table-hover-bg: var(--u-bg-color-hover);
|
|
25
|
-
--u-table-hover-color: inherit;
|
|
26
|
-
--u-table-current-bg: var(--u-bg-color-hover);
|
|
27
|
-
--u-table-current-color: inherit;
|
|
28
|
-
--u-table-checked-bg: var(--u-color-primary-light-9);
|
|
29
|
-
--u-table-checked-color: inherit;
|
|
30
|
-
}
|
|
31
|
-
html[data-theme=dark] .u-table {
|
|
32
|
-
--u-table-border-color: #404040;
|
|
33
|
-
--u-table-header-bg: #2a2a2a;
|
|
34
|
-
--u-table-header-color: var(--u-text-color-main);
|
|
35
|
-
--u-table-stripe-bg: #2a2a2a;
|
|
36
|
-
--u-table-stripe-color: var(--u-text-color-main);
|
|
37
|
-
--u-table-hover-bg: #333333;
|
|
38
|
-
--u-table-hover-color: var(--u-text-color-title);
|
|
39
|
-
--u-table-current-bg: var(--u-bg-color-hover);
|
|
40
|
-
--u-table-current-color: inherit;
|
|
41
|
-
--u-table-checked-bg: var(--u-color-primary-dark-1);
|
|
42
|
-
--u-table-checked-color: inherit;
|
|
43
|
-
}
|
|
44
|
-
@media (prefers-color-scheme: dark) {
|
|
45
|
-
html:not([data-theme=light]) .u-table {
|
|
46
|
-
--u-table-border-color: #404040;
|
|
47
|
-
--u-table-header-bg: #2a2a2a;
|
|
48
|
-
--u-table-header-color: var(--u-text-color-main);
|
|
49
|
-
--u-table-stripe-bg: #2a2a2a;
|
|
50
|
-
--u-table-stripe-color: var(--u-text-color-main);
|
|
51
|
-
--u-table-hover-bg: #333333;
|
|
52
|
-
--u-table-hover-color: var(--u-text-color-title);
|
|
53
|
-
--u-table-current-bg: var(--u-bg-color-hover);
|
|
54
|
-
--u-table-current-color: inherit;
|
|
55
|
-
--u-table-checked-bg: var(--u-color-primary-dark-1);
|
|
56
|
-
--u-table-checked-color: inherit;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
18
|
.u-table {
|
|
60
19
|
width: 100%;
|
|
61
20
|
position: relative;
|
|
@@ -16,17 +16,17 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
16
16
|
declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
17
17
|
"update:modelValue": (value: string | undefined) => any;
|
|
18
18
|
} & {
|
|
19
|
-
delete: (item: TabItem, index: number) => any;
|
|
20
19
|
"update:modelValue": (value: string | number) => any;
|
|
21
|
-
|
|
20
|
+
delete: (item: TabItem, index: number) => any;
|
|
22
21
|
click: (item: TabItem, index: number) => any;
|
|
22
|
+
create: () => any;
|
|
23
23
|
"update:items": (items: TabItem[]) => any;
|
|
24
24
|
"update:active": (active: string | number) => any;
|
|
25
25
|
}, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
26
|
-
onDelete?: ((item: TabItem, index: number) => any) | undefined;
|
|
27
26
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
28
|
-
|
|
27
|
+
onDelete?: ((item: TabItem, index: number) => any) | undefined;
|
|
29
28
|
onClick?: ((item: TabItem, index: number) => any) | undefined;
|
|
29
|
+
onCreate?: (() => any) | undefined;
|
|
30
30
|
"onUpdate:items"?: ((items: TabItem[]) => any) | undefined;
|
|
31
31
|
"onUpdate:active"?: ((active: string | number) => any) | undefined;
|
|
32
32
|
}>, {
|
|
@@ -15,12 +15,6 @@
|
|
|
15
15
|
* --u-height-small: 24px;
|
|
16
16
|
*/
|
|
17
17
|
/** 暗色:data-theme 与系统偏好,与 UITheme.injectBuiltInThemes 选择器策略一致 */
|
|
18
|
-
:root {
|
|
19
|
-
--u-tag-small: 20px;
|
|
20
|
-
--u-tag-default: 24px;
|
|
21
|
-
--u-tag-large: 28px;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
18
|
.u-tag {
|
|
25
19
|
cursor: default;
|
|
26
20
|
color: var(--u-text-color-main);
|
|
@@ -10,22 +10,22 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
10
10
|
declare const __VLS_export: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
11
11
|
"update:modelValue": (value: string | undefined) => any;
|
|
12
12
|
} & {
|
|
13
|
-
clear: () => any;
|
|
14
13
|
"update:modelValue": (value: string) => any;
|
|
14
|
+
clear: () => any;
|
|
15
15
|
change: (value: string) => any;
|
|
16
16
|
focus: () => any;
|
|
17
17
|
blur: () => any;
|
|
18
18
|
}, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
-
onClear?: (() => any) | undefined;
|
|
20
19
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
20
|
+
onClear?: (() => any) | undefined;
|
|
21
21
|
onChange?: ((value: string) => any) | undefined;
|
|
22
22
|
onFocus?: (() => any) | undefined;
|
|
23
23
|
onBlur?: (() => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
|
-
readonly: boolean;
|
|
26
25
|
disabled: boolean;
|
|
27
26
|
placeholder: string;
|
|
28
27
|
clearable: boolean;
|
|
28
|
+
readonly: boolean;
|
|
29
29
|
resize: boolean;
|
|
30
30
|
autosize: boolean;
|
|
31
31
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -15,8 +15,8 @@ declare const __VLS_base: _$vue.DefineComponent<TipProps, {}, {}, {}, {}, _$vue.
|
|
|
15
15
|
trigger: "hover" | "click";
|
|
16
16
|
contentTag: string;
|
|
17
17
|
visible: boolean;
|
|
18
|
-
alignment: TipAlign;
|
|
19
18
|
content: string;
|
|
19
|
+
alignment: TipAlign;
|
|
20
20
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
|
@@ -21,10 +21,10 @@ declare const __VLS_base: _$vue.DefineComponent<TreeProps, _TreeExposed, {}, {},
|
|
|
21
21
|
"onNode-contextmenu"?: ((event: MouseEvent, node: TreeNode<Record<string, any>>) => any) | undefined;
|
|
22
22
|
"onSelected-synced"?: ((selected?: Record<string, any> | undefined) => any) | undefined;
|
|
23
23
|
}>, {
|
|
24
|
-
data: Record<string, any>[];
|
|
25
24
|
labelKey: string;
|
|
26
25
|
valueKey: string;
|
|
27
26
|
childrenKey: string;
|
|
27
|
+
data: Record<string, any>[];
|
|
28
28
|
expandOnClickNode: boolean;
|
|
29
29
|
checkStrictly: boolean;
|
|
30
30
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -19,15 +19,15 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
|
|
|
19
19
|
change: (value?: string | number | undefined, selectedData?: Record<string, any> | undefined) => any;
|
|
20
20
|
"update:text": (text?: string | undefined) => any;
|
|
21
21
|
}, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
|
-
onClear?: (() => any) | undefined;
|
|
23
22
|
"onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
|
|
23
|
+
onClear?: (() => any) | undefined;
|
|
24
24
|
onChange?: ((value?: string | number | undefined, selectedData?: Record<string, any> | undefined) => any) | undefined;
|
|
25
25
|
"onUpdate:text"?: ((text?: string | undefined) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
|
-
readonly: boolean;
|
|
28
27
|
disabled: boolean;
|
|
29
28
|
placeholder: string;
|
|
30
29
|
clearable: boolean;
|
|
30
|
+
readonly: boolean;
|
|
31
31
|
labelKey: string;
|
|
32
32
|
valueKey: string;
|
|
33
33
|
filterable: boolean;
|