@veltra/desktop 1.0.7 → 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.
Files changed (92) hide show
  1. package/dist/components/action/action-group.vue.d.ts +1 -1
  2. package/dist/components/action/action.vue.d.ts +1 -1
  3. package/dist/components/action/style.js +3 -0
  4. package/dist/components/auto-complete/auto-complete.vue.d.ts +1 -1
  5. package/dist/components/auto-complete/style.js +5 -0
  6. package/dist/components/batch-edit/style.js +9 -0
  7. package/dist/components/breadcrumb/style2.css +0 -6
  8. package/dist/components/button/button.vue.d.ts +1 -1
  9. package/dist/components/button/style.js +1 -0
  10. package/dist/components/cascade/cascade.vue.d.ts +4 -4
  11. package/dist/components/cascade/style.js +7 -0
  12. package/dist/components/checkbox/style.js +1 -0
  13. package/dist/components/checkbox/style2.css +0 -8
  14. package/dist/components/checkbox-group/checkbox-group.vue.d.ts +2 -2
  15. package/dist/components/checkbox-group/style.js +1 -0
  16. package/dist/components/context-menu/style.js +1 -0
  17. package/dist/components/date-picker/date-picker.vue.d.ts +1 -1
  18. package/dist/components/date-picker/style.js +3 -0
  19. package/dist/components/date-range-picker/date-range-picker.vue.d.ts +1 -1
  20. package/dist/components/date-range-picker/style.js +3 -0
  21. package/dist/components/dialog/style.js +2 -0
  22. package/dist/components/drawer/style.js +1 -0
  23. package/dist/components/drawer/style2.css +4 -16
  24. package/dist/components/empty/empty.vue.d.ts +1 -1
  25. package/dist/components/empty/style.js +1 -0
  26. package/dist/components/expression-editor/style.js +6 -0
  27. package/dist/components/float-button/style.js +1 -0
  28. package/dist/components/form/style.js +2 -0
  29. package/dist/components/form-item/style.js +1 -0
  30. package/dist/components/form-item/style2.css +2 -3
  31. package/dist/components/input/input.vue.d.ts +1 -1
  32. package/dist/components/input/style.js +1 -0
  33. package/dist/components/layout/style.js +1 -0
  34. package/dist/components/list/style.js +1 -0
  35. package/dist/components/loading/style2.css +16 -20
  36. package/dist/components/menu/style.js +2 -0
  37. package/dist/components/menu/style2.css +0 -78
  38. package/dist/components/multi-select/multi-select.vue.d.ts +3 -3
  39. package/dist/components/multi-select/style.js +7 -0
  40. package/dist/components/multi-tree-select/multi-tree-select.vue.d.ts +3 -3
  41. package/dist/components/multi-tree-select/style.js +7 -0
  42. package/dist/components/number-input/number-input.vue.d.ts +1 -1
  43. package/dist/components/number-input/style.js +1 -0
  44. package/dist/components/number-range-input/number-range-input.vue.d.ts +1 -1
  45. package/dist/components/number-range-input/style.js +1 -0
  46. package/dist/components/paginator/style.js +3 -0
  47. package/dist/components/palette/style.js +3 -0
  48. package/dist/components/password-input/password-input.vue.d.ts +1 -1
  49. package/dist/components/password-input/style.js +2 -0
  50. package/dist/components/pop-confirm/style.js +3 -0
  51. package/dist/components/progress-nodes/progress-nodes.vue.d.ts +1 -1
  52. package/dist/components/progress-nodes/style2.css +79 -33
  53. package/dist/components/radio/style2.css +0 -8
  54. package/dist/components/radio-group/radio-group.vue.d.ts +2 -2
  55. package/dist/components/radio-group/style.js +1 -0
  56. package/dist/components/rich-text-editor/rich-text-editor.vue.d.ts +1 -1
  57. package/dist/components/select/select.vue.d.ts +3 -3
  58. package/dist/components/select/style.js +5 -0
  59. package/dist/components/select/style2.css +0 -20
  60. package/dist/components/steps/style.js +2 -0
  61. package/dist/components/steps/style2.css +28 -35
  62. package/dist/components/switch/style2.css +0 -3
  63. package/dist/components/table/style.js +7 -0
  64. package/dist/components/table/style2.css +0 -41
  65. package/dist/components/table-editor/style.js +2 -0
  66. package/dist/components/tabs/style.js +2 -0
  67. package/dist/components/tabs/tabs.vue.d.ts +2 -2
  68. package/dist/components/tag/style2.css +0 -6
  69. package/dist/components/textarea/style.js +1 -0
  70. package/dist/components/textarea/textarea.vue.d.ts +1 -1
  71. package/dist/components/theme/style.js +5 -0
  72. package/dist/components/tip/tip.vue.d.ts +1 -1
  73. package/dist/components/tree/style.js +4 -0
  74. package/dist/components/tree/tree.vue.d.ts +1 -1
  75. package/dist/components/tree-select/style.js +4 -0
  76. package/dist/components/tree-select/tree-select.vue.d.ts +3 -3
  77. package/dist/types/index.d.ts +1 -1
  78. package/package.json +11 -11
  79. package/src/components/breadcrumb/style.scss +0 -6
  80. package/src/components/checkbox/style.scss +0 -4
  81. package/src/components/drawer/style.scss +18 -11
  82. package/src/components/form-item/style.scss +2 -3
  83. package/src/components/loading/style.scss +125 -126
  84. package/src/components/menu/style.scss +0 -31
  85. package/src/components/progress-nodes/style.scss +28 -22
  86. package/src/components/radio/style.scss +0 -4
  87. package/src/components/select/style.scss +0 -12
  88. package/src/components/steps/style.scss +10 -10
  89. package/src/components/switch/style.scss +0 -4
  90. package/src/components/table/style.scss +0 -26
  91. package/src/components/tag/style.scss +0 -6
  92. package/dist/types/index.js +0 -0
@@ -7,9 +7,9 @@ type __VLS_Slots = {
7
7
  default?: () => VNode[];
8
8
  };
9
9
  declare const __VLS_base: _$vue.DefineComponent<ActionGroupProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<ActionGroupProps> & Readonly<{}>, {
10
- max: number;
11
10
  loading: boolean;
12
11
  circle: boolean;
12
+ max: number;
13
13
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
@@ -16,11 +16,11 @@ declare const __VLS_base: _$vue.DefineComponent<ActionProps, {}, {}, {}, {}, _$v
16
16
  onRun?: (() => any) | undefined;
17
17
  }>, {
18
18
  type: ButtonType;
19
- size: _$_veltra_utils0.ComponentSize;
20
19
  loading: boolean;
21
20
  circle: boolean;
22
21
  inDropdown: boolean;
23
22
  text: boolean;
23
+ size: _$_veltra_utils0.ComponentSize;
24
24
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
25
25
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
26
26
  declare const _default: typeof __VLS_export;
@@ -1 +1,4 @@
1
+ import "../button/style.js";
2
+ import "../dropdown/style.js";
3
+ import "../pop-confirm/style.js";
1
4
  import "./style2.css";
@@ -24,9 +24,9 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
24
24
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
25
25
  onSelect?: ((value: string) => any) | undefined;
26
26
  }>, {
27
+ disabled: boolean;
27
28
  placeholder: string;
28
29
  clearable: boolean;
29
- disabled: boolean;
30
30
  readonly: boolean;
31
31
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
32
32
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,3 +1,8 @@
1
+ import "../icon/style.js";
2
+ import "../dropdown/style.js";
3
+ import "../scroll/style.js";
4
+ import "../input/style.js";
5
+ import "../tag/style.js";
1
6
  import "./style2.css";
2
7
  import "@veltra/directives/ripple/style.js";
3
8
  import "@veltra/styles/anime/zoom-in.scss";
@@ -1,3 +1,12 @@
1
+ import "../button/style.js";
2
+ import "../tip/style.js";
3
+ import "../action/style.js";
4
+ import "../scroll/style.js";
5
+ import "../layout/style.js";
6
+ import "../form/style.js";
7
+ import "../checkbox/style.js";
8
+ import "../table/style.js";
9
+ import "../card/style.js";
1
10
  import "./style2.css";
2
11
  import "@veltra/directives/ripple/style.js";
3
12
  import "@veltra/styles/anime/fade.scss";
@@ -15,12 +15,6 @@
15
15
  * --u-height-small: 24px;
16
16
  */
17
17
  /** 暗色:data-theme 与系统偏好,与 UITheme.injectBuiltInThemes 选择器策略一致 */
18
- :root {
19
- --u-breadcrumb-small: 20px;
20
- --u-breadcrumb-default: 22px;
21
- --u-breadcrumb-large: 24px;
22
- }
23
-
24
18
  .u-breadcrumb {
25
19
  color: var(--u-text-color-second);
26
20
  line-height: 1.4;
@@ -11,8 +11,8 @@ declare const __VLS_base: _$vue.DefineComponent<ButtonProps, _ButtonExposed, {},
11
11
  }, string, _$vue.PublicProps, Readonly<ButtonProps> & Readonly<{
12
12
  onClick?: ((e: MouseEvent) => any) | undefined;
13
13
  }>, {
14
- disabled: boolean;
15
14
  loadingIcon: _$vue.Component;
15
+ disabled: boolean;
16
16
  iconPosition: "left" | "right";
17
17
  propagate: boolean;
18
18
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
@@ -1,2 +1,3 @@
1
+ import "../icon/style.js";
1
2
  import "./style2.css";
2
3
  import "@veltra/directives/ripple/style.js";
@@ -11,15 +11,15 @@ declare const __VLS_export: _$vue.DefineComponent<CascadeProps, {}, {}, {}, {},
11
11
  onClear?: (() => any) | undefined;
12
12
  onChange?: ((...args: [value?: string | undefined, label?: string | undefined, item?: Record<string, any> | undefined] | [value: string[], label: string[], data: Record<string, any>[]]) => any) | undefined;
13
13
  }>, {
14
- labelKey: string;
15
- valueKey: string;
14
+ disabled: boolean;
16
15
  placeholder: string;
17
16
  clearable: boolean;
18
- disabled: boolean;
19
17
  readonly: boolean;
20
- data: Record<string, any>[];
21
18
  separator: string;
19
+ labelKey: string;
20
+ valueKey: string;
22
21
  childrenKey: string;
22
+ data: Record<string, any>[];
23
23
  filterable: boolean;
24
24
  visibilityLimit: number;
25
25
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
@@ -1 +1,8 @@
1
+ import "../icon/style.js";
2
+ import "../dropdown/style.js";
3
+ import "../scroll/style.js";
4
+ import "../input/style.js";
5
+ import "../tag/style.js";
6
+ import "../checkbox/style.js";
7
+ import "../empty/style.js";
1
8
  import "./style2.css";
@@ -1,2 +1,3 @@
1
+ import "../tag/style.js";
1
2
  import "./style2.css";
2
3
  import "@veltra/styles/anime/zoom-in.scss";
@@ -15,14 +15,6 @@
15
15
  * --u-height-small: 24px;
16
16
  */
17
17
  /** 暗色:data-theme 与系统偏好,与 UITheme.injectBuiltInThemes 选择器策略一致 */
18
- html[data-theme=dark] .u-checkbox {
19
- --u-checkbox-border: #595959;
20
- }
21
- @media (prefers-color-scheme: dark) {
22
- html:not([data-theme=light]) .u-checkbox {
23
- --u-checkbox-border: #595959;
24
- }
25
- }
26
18
  .u-checkbox {
27
19
  user-select: none;
28
20
  vertical-align: middle;
@@ -14,10 +14,10 @@ declare const __VLS_export: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {},
14
14
  }, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
15
15
  "onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
16
16
  }>, {
17
- labelKey: string;
18
- valueKey: string;
19
17
  disabled: boolean;
20
18
  readonly: boolean;
19
+ labelKey: string;
20
+ valueKey: string;
21
21
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
22
22
  declare const _default: typeof __VLS_export;
23
23
  //#endregion
@@ -1 +1,2 @@
1
+ import "../checkbox/style.js";
1
2
  import "./style2.css";
@@ -1,3 +1,4 @@
1
+ import "../icon/style.js";
1
2
  import "./style2.css";
2
3
  import "@veltra/directives/ripple/style.js";
3
4
  import "@veltra/styles/anime/zoom-in.scss";
@@ -8,9 +8,9 @@ declare const __VLS_export: _$vue.DefineComponent<DatePickerProps, {}, {}, {}, {
8
8
  "onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
9
9
  }>, {
10
10
  type: "date" | "month" | "year";
11
+ disabled: boolean;
11
12
  placeholder: string;
12
13
  clearable: boolean;
13
- disabled: boolean;
14
14
  readonly: boolean;
15
15
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
16
16
  declare const _default: typeof __VLS_export;
@@ -1 +1,4 @@
1
+ import "../dropdown/style.js";
2
+ import "../input/style.js";
3
+ import "../date-panel/style.js";
1
4
  import "./style2.css";
@@ -8,9 +8,9 @@ declare const __VLS_export: _$vue.DefineComponent<DateRangePickerProps, {}, {},
8
8
  "onUpdate:modelValue"?: ((value?: [string, string] | undefined) => any) | undefined;
9
9
  }>, {
10
10
  type: "date" | "month" | "year";
11
+ disabled: boolean;
11
12
  placeholder: [string, string];
12
13
  clearable: boolean;
13
- disabled: boolean;
14
14
  readonly: boolean;
15
15
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
16
16
  declare const _default: typeof __VLS_export;
@@ -1 +1,4 @@
1
+ import "../icon/style.js";
2
+ import "../dropdown/style.js";
3
+ import "../date-panel/style.js";
1
4
  import "./style2.css";
@@ -1,3 +1,5 @@
1
+ import "../icon/style.js";
2
+ import "../scroll/style.js";
1
3
  import "./style2.css";
2
4
  import "@veltra/styles/anime/fade.scss";
3
5
  import "@veltra/styles/anime/spring.scss";
@@ -1,2 +1,3 @@
1
+ import "../icon/style.js";
1
2
  import "./style2.css";
2
3
  import "@veltra/styles/anime/fade.scss";
@@ -33,18 +33,6 @@
33
33
  align-items: center;
34
34
  justify-content: center;
35
35
  }
36
- .u-drawer.is-right {
37
- --transform: translateX(100%);
38
- }
39
- .u-drawer.is-left {
40
- --transform: translateX(-100%);
41
- }
42
- .u-drawer.is-top {
43
- --transform: translateY(-100%);
44
- }
45
- .u-drawer.is-bottom {
46
- --transform: translateY(100%);
47
- }
48
36
  .u-drawer.is-right {
49
37
  top: 4px;
50
38
  bottom: 4px;
@@ -134,20 +122,20 @@
134
122
 
135
123
  .drawer-slide-right-enter-from,
136
124
  .drawer-slide-right-leave-to {
137
- transform: var(--transform);
125
+ transform: translateX(100%);
138
126
  }
139
127
 
140
128
  .drawer-slide-left-enter-from,
141
129
  .drawer-slide-left-leave-to {
142
- transform: var(--transform);
130
+ transform: translateX(-100%);
143
131
  }
144
132
 
145
133
  .drawer-slide-top-enter-from,
146
134
  .drawer-slide-top-leave-to {
147
- transform: var(--transform);
135
+ transform: translateY(-100%);
148
136
  }
149
137
 
150
138
  .drawer-slide-bottom-enter-from,
151
139
  .drawer-slide-bottom-leave-to {
152
- transform: var(--transform);
140
+ transform: translateY(100%);
153
141
  }
@@ -3,8 +3,8 @@ import * as _$vue from "vue";
3
3
 
4
4
  //#region src/components/empty/empty.vue.d.ts
5
5
  declare const __VLS_export: _$vue.DefineComponent<EmptyProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<EmptyProps> & Readonly<{}>, {
6
- size: number;
7
6
  text: string;
7
+ size: number;
8
8
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
9
9
  declare const _default: typeof __VLS_export;
10
10
  //#endregion
@@ -1 +1,2 @@
1
+ import "../icon/style.js";
1
2
  import "./style2.css";
@@ -1 +1,7 @@
1
+ import "../icon/style.js";
2
+ import "../tip/style.js";
3
+ import "../scroll/style.js";
4
+ import "../input/style.js";
5
+ import "../tag/style.js";
6
+ import "../empty/style.js";
1
7
  import "./style2.css";
@@ -1 +1,2 @@
1
+ import "../button/style.js";
1
2
  import "./style2.css";
@@ -1 +1,3 @@
1
+ import "../form-item/style.js";
2
+ import "../grid/style.js";
1
3
  import "./style2.css";
@@ -1 +1,2 @@
1
+ import "../tip/style.js";
1
2
  import "./style2.css";
@@ -98,9 +98,8 @@
98
98
  }
99
99
  .u-form-item__error {
100
100
  width: 100%;
101
- --height: var(--u-font-size-main-default);
102
- height: calc(var(--height) + 4px);
103
- line-height: calc(var(--height) + 2px);
101
+ height: calc(var(--u-font-size-main-default) + 4px);
102
+ line-height: calc(var(--u-font-size-main-default) + 2px);
104
103
  overflow: hidden;
105
104
  color: var(--u-text-color-main);
106
105
  font-size: var(--u-font-size-assist-default);
@@ -34,9 +34,9 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, _InputExposed
34
34
  onBlur?: ((value?: string | undefined) => any) | undefined;
35
35
  "onNative:input"?: ((ev: Event) => any) | undefined;
36
36
  }>, {
37
+ disabled: boolean;
37
38
  placeholder: string;
38
39
  clearable: boolean;
39
- disabled: boolean;
40
40
  readonly: boolean;
41
41
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
42
42
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,2 +1,3 @@
1
+ import "../icon/style.js";
1
2
  import "./style2.css";
2
3
  import "@veltra/styles/anime/zoom-in.scss";
@@ -1 +1,2 @@
1
+ import "../icon/style.js";
1
2
  import "./style2.css";
@@ -1 +1,2 @@
1
+ import "../button/style.js";
1
2
  import "./style2.css";
@@ -37,8 +37,7 @@
37
37
  .u-loading__line .u-loading__loader::before, .u-loading__line .u-loading__loader::after {
38
38
  content: "";
39
39
  grid-area: 1/1;
40
- --c: no-repeat linear-gradient(var(--u-text-color-main) 0 0);
41
- background: var(--c) 0 0, var(--c) 100% 0, var(--c) 100% 100%, var(--c) 0 100%;
40
+ background: no-repeat linear-gradient(var(--u-text-color-main) 0 0) 0 0, no-repeat linear-gradient(var(--u-text-color-main) 0 0) 100% 0, no-repeat linear-gradient(var(--u-text-color-main) 0 0) 100% 100%, no-repeat linear-gradient(var(--u-text-color-main) 0 0) 0 100%;
42
41
  animation: line-1 2s infinite linear, line-2 2s infinite linear;
43
42
  }
44
43
  .u-loading__line .u-loading__loader::after {
@@ -53,8 +52,7 @@
53
52
  .u-loading__spinner .u-loading__loader::before, .u-loading__spinner .u-loading__loader::after {
54
53
  content: "";
55
54
  grid-area: 1/1;
56
- --c: no-repeat radial-gradient(farthest-side, var(--u-text-color-main) 92%, #0000);
57
- background: var(--c) 50% 0, var(--c) 50% 100%, var(--c) 100% 50%, var(--c) 0 50%;
55
+ background: no-repeat radial-gradient(farthest-side, var(--u-text-color-main) 92%, rgba(0, 0, 0, 0)) 50% 0, no-repeat radial-gradient(farthest-side, var(--u-text-color-main) 92%, rgba(0, 0, 0, 0)) 50% 100%, no-repeat radial-gradient(farthest-side, var(--u-text-color-main) 92%, rgba(0, 0, 0, 0)) 100% 50%, no-repeat radial-gradient(farthest-side, var(--u-text-color-main) 92%, rgba(0, 0, 0, 0)) 0 50%;
58
56
  background-size: 12px 12px;
59
57
  animation: spinner 1s infinite;
60
58
  }
@@ -67,8 +65,7 @@
67
65
  .u-loading__dot .u-loading__loader {
68
66
  width: 40px;
69
67
  height: 20px;
70
- --c: no-repeat radial-gradient(farthest-side, var(--u-text-color-main) 93%, #0000);
71
- background: var(--c) 0 0, var(--c) 50% 0;
68
+ background: no-repeat radial-gradient(farthest-side, var(--u-text-color-main) 93%, rgba(0, 0, 0, 0)) 0 0, no-repeat radial-gradient(farthest-side, var(--u-text-color-main) 93%, rgba(0, 0, 0, 0)) 50% 0;
72
69
  background-size: 8px 8px;
73
70
  position: relative;
74
71
  clip-path: inset(-200% -100% 0 0);
@@ -95,15 +92,14 @@
95
92
  animation: dot-3 1.5s linear infinite;
96
93
  }
97
94
  .u-loading__classic .u-loading__loader {
98
- --w: 6ch;
99
95
  font-size: var(--u-font-size-title-default);
100
96
  line-height: 1.4em;
101
- letter-spacing: var(--w);
102
- width: var(--w);
97
+ letter-spacing: 6ch;
98
+ width: 6ch;
103
99
  overflow: hidden;
104
100
  white-space: nowrap;
105
101
  color: rgba(0, 0, 0, 0);
106
- text-shadow: calc(0 * var(--w)) 0 var(--u-text-color-main), calc(-1 * var(--w)) 0 var(--u-text-color-main), calc(-2 * var(--w)) 0 var(--u-text-color-main), calc(-3 * var(--w)) 0 var(--u-text-color-main), calc(-4 * var(--w)) 0 var(--u-text-color-main), calc(-5 * var(--w)) 0 var(--u-text-color-main);
102
+ text-shadow: 0ch 0 var(--u-text-color-main), -6ch 0 var(--u-text-color-main), -12ch 0 var(--u-text-color-main), -18ch 0 var(--u-text-color-main), -24ch 0 var(--u-text-color-main), -30ch 0 var(--u-text-color-main);
107
103
  animation: classic 2s infinite linear;
108
104
  }
109
105
  .u-loading__classic .u-loading__loader::before {
@@ -154,34 +150,34 @@
154
150
  }
155
151
  @keyframes classic {
156
152
  9.09% {
157
- text-shadow: calc(0 * var(--w)) -10px var(--u-text-color-main), calc(-1 * var(--w)) 0 var(--u-text-color-main), calc(-2 * var(--w)) 0 var(--u-text-color-main), calc(-3 * var(--w)) 0 var(--u-text-color-main), calc(-4 * var(--w)) 0 var(--u-text-color-main), calc(-5 * var(--w)) 0 var(--u-text-color-main);
153
+ text-shadow: 0ch -10px var(--u-text-color-main), -6ch 0 var(--u-text-color-main), -12ch 0 var(--u-text-color-main), -18ch 0 var(--u-text-color-main), -24ch 0 var(--u-text-color-main), -30ch 0 var(--u-text-color-main);
158
154
  }
159
155
  18.18% {
160
- text-shadow: calc(0 * var(--w)) 0 var(--u-text-color-main), calc(-1 * var(--w)) -10px var(--u-text-color-main), calc(-2 * var(--w)) 0 var(--u-text-color-main), calc(-3 * var(--w)) 0 var(--u-text-color-main), calc(-4 * var(--w)) 0 var(--u-text-color-main), calc(-5 * var(--w)) 0 var(--u-text-color-main);
156
+ text-shadow: 0ch 0 var(--u-text-color-main), -6ch -10px var(--u-text-color-main), -12ch 0 var(--u-text-color-main), -18ch 0 var(--u-text-color-main), -24ch 0 var(--u-text-color-main), -30ch 0 var(--u-text-color-main);
161
157
  }
162
158
  27.27% {
163
- text-shadow: calc(0 * var(--w)) 0 var(--u-text-color-main), calc(-1 * var(--w)) 0 var(--u-text-color-main), calc(-2 * var(--w)) -10px var(--u-text-color-main), calc(-3 * var(--w)) 0 var(--u-text-color-main), calc(-4 * var(--w)) 0 var(--u-text-color-main), calc(-5 * var(--w)) 0 var(--u-text-color-main);
159
+ text-shadow: 0ch 0 var(--u-text-color-main), -6ch 0 var(--u-text-color-main), -12ch -10px var(--u-text-color-main), -18ch 0 var(--u-text-color-main), -24ch 0 var(--u-text-color-main), -30ch 0 var(--u-text-color-main);
164
160
  }
165
161
  36.36% {
166
- text-shadow: calc(0 * var(--w)) 0 var(--u-text-color-main), calc(-1 * var(--w)) 0 var(--u-text-color-main), calc(-2 * var(--w)) 0 var(--u-text-color-main), calc(-3 * var(--w)) -10px var(--u-text-color-main), calc(-4 * var(--w)) 0 var(--u-text-color-main), calc(-5 * var(--w)) 0 var(--u-text-color-main);
162
+ text-shadow: 0ch 0 var(--u-text-color-main), -6ch 0 var(--u-text-color-main), -12ch 0 var(--u-text-color-main), -18ch -10px var(--u-text-color-main), -24ch 0 var(--u-text-color-main), -30ch 0 var(--u-text-color-main);
167
163
  }
168
164
  45.45% {
169
- text-shadow: calc(0 * var(--w)) 0 var(--u-text-color-main), calc(-1 * var(--w)) 0 var(--u-text-color-main), calc(-2 * var(--w)) 0 var(--u-text-color-main), calc(-3 * var(--w)) 0 var(--u-text-color-main), calc(-4 * var(--w)) -10px var(--u-text-color-main), calc(-5 * var(--w)) 0 var(--u-text-color-main);
165
+ text-shadow: 0ch 0 var(--u-text-color-main), -6ch 0 var(--u-text-color-main), -12ch 0 var(--u-text-color-main), -18ch 0 var(--u-text-color-main), -24ch -10px var(--u-text-color-main), -30ch 0 var(--u-text-color-main);
170
166
  }
171
167
  54.54% {
172
- text-shadow: calc(0 * var(--w)) 0 var(--u-text-color-main), calc(-1 * var(--w)) 0 var(--u-text-color-main), calc(-2 * var(--w)) 0 var(--u-text-color-main), calc(-3 * var(--w)) 0 var(--u-text-color-main), calc(-4 * var(--w)) 0 var(--u-text-color-main), calc(-5 * var(--w)) -10px var(--u-text-color-main);
168
+ text-shadow: 0ch 0 var(--u-text-color-main), -6ch 0 var(--u-text-color-main), -12ch 0 var(--u-text-color-main), -18ch 0 var(--u-text-color-main), -24ch 0 var(--u-text-color-main), -30ch -10px var(--u-text-color-main);
173
169
  }
174
170
  63.63% {
175
- text-shadow: calc(0 * var(--w)) 0 var(--u-text-color-main), calc(-1 * var(--w)) 0 var(--u-text-color-main), calc(-2 * var(--w)) 0 var(--u-text-color-main), calc(-3 * var(--w)) 0 var(--u-text-color-main), calc(-4 * var(--w)) 0 var(--u-text-color-main), calc(-5 * var(--w)) 0 var(--u-text-color-main);
171
+ text-shadow: 0ch 0 var(--u-text-color-main), -6ch 0 var(--u-text-color-main), -12ch 0 var(--u-text-color-main), -18ch 0 var(--u-text-color-main), -24ch 0 var(--u-text-color-main), -30ch 0 var(--u-text-color-main);
176
172
  }
177
173
  72.72% {
178
- text-shadow: calc(0 * var(--w)) 0 var(--u-text-color-main), calc(-1 * var(--w)) 0 var(--u-text-color-main), calc(-2 * var(--w)) 0 var(--u-text-color-main), calc(-3 * var(--w)) 0 var(--u-text-color-main), calc(-4 * var(--w)) 0 var(--u-text-color-main), calc(-5 * var(--w)) 0 var(--u-text-color-main);
174
+ text-shadow: 0ch 0 var(--u-text-color-main), -6ch 0 var(--u-text-color-main), -12ch 0 var(--u-text-color-main), -18ch 0 var(--u-text-color-main), -24ch 0 var(--u-text-color-main), -30ch 0 var(--u-text-color-main);
179
175
  }
180
176
  81.81% {
181
- text-shadow: calc(0 * var(--w)) 0 var(--u-text-color-main), calc(-1 * var(--w)) 0 var(--u-text-color-main), calc(-2 * var(--w)) 0 var(--u-text-color-main), calc(-3 * var(--w)) 0 var(--u-text-color-main), calc(-4 * var(--w)) 0 var(--u-text-color-main), calc(-5 * var(--w)) 0 var(--u-text-color-main);
177
+ text-shadow: 0ch 0 var(--u-text-color-main), -6ch 0 var(--u-text-color-main), -12ch 0 var(--u-text-color-main), -18ch 0 var(--u-text-color-main), -24ch 0 var(--u-text-color-main), -30ch 0 var(--u-text-color-main);
182
178
  }
183
179
  90.90% {
184
- text-shadow: calc(0 * var(--w)) 0 var(--u-text-color-main), calc(-1 * var(--w)) 0 var(--u-text-color-main), calc(-2 * var(--w)) 0 var(--u-text-color-main), calc(-3 * var(--w)) 0 var(--u-text-color-main), calc(-4 * var(--w)) 0 var(--u-text-color-main), calc(-5 * var(--w)) 0 var(--u-text-color-main);
180
+ text-shadow: 0ch 0 var(--u-text-color-main), -6ch 0 var(--u-text-color-main), -12ch 0 var(--u-text-color-main), -18ch 0 var(--u-text-color-main), -24ch 0 var(--u-text-color-main), -30ch 0 var(--u-text-color-main);
185
181
  }
186
182
  }
187
183
  @keyframes dot-0 {
@@ -1 +1,3 @@
1
+ import "../tip/style.js";
2
+ import "../scroll/style.js";
1
3
  import "./style2.css";
@@ -15,38 +15,6 @@
15
15
  * --u-height-small: 24px;
16
16
  */
17
17
  /** 暗色:data-theme 与系统偏好,与 UITheme.injectBuiltInThemes 选择器策略一致 */
18
- .u-menu {
19
- --u-menu-color: #0f172a;
20
- --u-menu-hover-bg: rgba(148, 163, 184, 0.12);
21
- --u-menu-hover-color: var(--u-text-color-title);
22
- --u-menu-active-bg: rgba(59, 130, 246, 0.12);
23
- --u-menu-active-color: var(--u-color-primary-dark-1);
24
- --u-menu-height-small: 32px;
25
- --u-menu-height-default: 36px;
26
- --u-menu-height-large: 40px;
27
- --u-menu-bg-color: var(--u-bg-color-top);
28
- --u-menu-bg-blur: none;
29
- --u-menu-bg-saturate: none;
30
- --u-menu-bg-image: none;
31
- }
32
- html[data-theme=dark] .u-menu {
33
- --u-menu-color: var(--u-text-color-main);
34
- --u-menu-hover-bg: rgba(148, 163, 184, 0.14);
35
- --u-menu-hover-color: var(--u-text-color-title);
36
- --u-menu-active-bg: rgba(96, 165, 250, 0.2);
37
- --u-menu-active-color: var(--u-text-color-white);
38
- --u-menu-bg-color: var(--u-bg-color-middle);
39
- }
40
- @media (prefers-color-scheme: dark) {
41
- html:not([data-theme=light]) .u-menu {
42
- --u-menu-color: var(--u-text-color-main);
43
- --u-menu-hover-bg: rgba(148, 163, 184, 0.14);
44
- --u-menu-hover-color: var(--u-text-color-title);
45
- --u-menu-active-bg: rgba(96, 165, 250, 0.2);
46
- --u-menu-active-color: var(--u-text-color-white);
47
- --u-menu-bg-color: var(--u-bg-color-middle);
48
- }
49
- }
50
18
  .u-menu {
51
19
  user-select: none;
52
20
  color: var(--u-menu-color);
@@ -166,38 +134,6 @@ html[data-theme=dark] .u-menu {
166
134
  flex-shrink: 0;
167
135
  }
168
136
 
169
- .u-collapsed-menu {
170
- --u-menu-color: #0f172a;
171
- --u-menu-hover-bg: rgba(148, 163, 184, 0.12);
172
- --u-menu-hover-color: var(--u-text-color-title);
173
- --u-menu-active-bg: rgba(59, 130, 246, 0.12);
174
- --u-menu-active-color: var(--u-color-primary-dark-1);
175
- --u-menu-height-small: 32px;
176
- --u-menu-height-default: 36px;
177
- --u-menu-height-large: 40px;
178
- --u-menu-bg-color: var(--u-bg-color-top);
179
- --u-menu-bg-blur: none;
180
- --u-menu-bg-saturate: none;
181
- --u-menu-bg-image: none;
182
- }
183
- html[data-theme=dark] .u-collapsed-menu {
184
- --u-menu-color: var(--u-text-color-main);
185
- --u-menu-hover-bg: rgba(148, 163, 184, 0.14);
186
- --u-menu-hover-color: var(--u-text-color-title);
187
- --u-menu-active-bg: rgba(96, 165, 250, 0.2);
188
- --u-menu-active-color: var(--u-text-color-white);
189
- --u-menu-bg-color: var(--u-bg-color-middle);
190
- }
191
- @media (prefers-color-scheme: dark) {
192
- html:not([data-theme=light]) .u-collapsed-menu {
193
- --u-menu-color: var(--u-text-color-main);
194
- --u-menu-hover-bg: rgba(148, 163, 184, 0.14);
195
- --u-menu-hover-color: var(--u-text-color-title);
196
- --u-menu-active-bg: rgba(96, 165, 250, 0.2);
197
- --u-menu-active-color: var(--u-text-color-white);
198
- --u-menu-bg-color: var(--u-bg-color-middle);
199
- }
200
- }
201
137
  .u-collapsed-menu {
202
138
  user-select: none;
203
139
  color: var(--u-menu-color);
@@ -317,20 +253,6 @@ html[data-theme=dark] .u-collapsed-menu {
317
253
  flex-shrink: 0;
318
254
  }
319
255
 
320
- .u-menu {
321
- --u-menu-bg-color: var(--u-bg-color-top);
322
- --u-menu-bg-blur: none;
323
- --u-menu-bg-saturate: none;
324
- --u-menu-bg-image: none;
325
- }
326
- html[data-theme=dark] .u-menu {
327
- --u-menu-bg-color: var(--u-bg-color-middle);
328
- }
329
- @media (prefers-color-scheme: dark) {
330
- html:not([data-theme=light]) .u-menu {
331
- --u-menu-bg-color: var(--u-bg-color-middle);
332
- }
333
- }
334
256
  .u-menu {
335
257
  margin: 0;
336
258
  padding: 0;
@@ -28,12 +28,12 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
28
28
  "onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
29
29
  onChange?: ((options: Record<string, any>[]) => any) | undefined;
30
30
  }>, {
31
- labelKey: string;
32
- valueKey: string;
31
+ disabled: boolean;
33
32
  placeholder: string;
34
33
  clearable: boolean;
35
- disabled: boolean;
36
34
  readonly: boolean;
35
+ labelKey: string;
36
+ valueKey: string;
37
37
  visibilityLimit: number;
38
38
  minWidth: string;
39
39
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
@@ -1,3 +1,10 @@
1
+ import "../icon/style.js";
2
+ import "../dropdown/style.js";
3
+ import "../scroll/style.js";
4
+ import "../input/style.js";
5
+ import "../tag/style.js";
6
+ import "../checkbox/style.js";
7
+ import "../empty/style.js";
1
8
  import "./style2.css";
2
9
  import "@veltra/directives/ripple/style.js";
3
10
  import "@veltra/styles/anime/zoom-in.scss";
@@ -22,12 +22,12 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
22
22
  onClear?: (() => any) | undefined;
23
23
  onChange?: ((checked: Record<string, any>[]) => any) | undefined;
24
24
  }>, {
25
- labelKey: string;
26
- valueKey: string;
25
+ disabled: boolean;
27
26
  placeholder: string;
28
27
  clearable: boolean;
29
- disabled: boolean;
30
28
  readonly: boolean;
29
+ labelKey: string;
30
+ valueKey: string;
31
31
  filterable: boolean;
32
32
  visibilityLimit: number;
33
33
  minWidth: string;
@@ -1,2 +1,9 @@
1
+ import "../icon/style.js";
2
+ import "../button/style.js";
3
+ import "../dropdown/style.js";
4
+ import "../input/style.js";
5
+ import "../tag/style.js";
6
+ import "../checkbox/style.js";
7
+ import "../tree/style.js";
1
8
  import "./style2.css";
2
9
  import "@veltra/styles/anime/zoom-in.scss";
@@ -20,9 +20,9 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
20
20
  "onUpdate:modelValue"?: ((value?: number | undefined) => any) | undefined;
21
21
  onChange?: ((value?: number | undefined) => any) | undefined;
22
22
  }>, {
23
+ disabled: boolean;
23
24
  placeholder: string;
24
25
  clearable: boolean;
25
- disabled: boolean;
26
26
  readonly: boolean;
27
27
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
28
28
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,2 +1,3 @@
1
+ import "../input/style.js";
1
2
  import "./style2.css";
2
3
  import "@veltra/directives/ripple/style.js";
@@ -24,8 +24,8 @@ declare const __VLS_export: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {},
24
24
  "onUpdate:start"?: ((value: number | undefined) => any) | undefined;
25
25
  "onUpdate:end"?: ((value: number | undefined) => any) | undefined;
26
26
  }>, {
27
- clearable: boolean;
28
27
  disabled: boolean;
28
+ clearable: boolean;
29
29
  readonly: boolean;
30
30
  separator: string;
31
31
  startPlaceholder: string;
@@ -1 +1,2 @@
1
+ import "../number-input/style.js";
1
2
  import "./style2.css";