savor-ui 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/es/components/index.d.ts +0 -1
- package/dist/es/components/index.mjs +0 -2
- package/dist/es/components/src/config-provider/config-provider.d.ts +17 -9
- package/dist/es/components/src/config-provider/config-provider.vue.mjs +1 -1
- package/dist/es/components/src/{config-provider-vapor/config-provider-vapor.vue_vue_type_script_setup_true_vapor_true_lang.mjs → config-provider/config-provider.vue_vue_type_script_setup_true_vapor_true_lang.mjs} +4 -4
- package/dist/es/components/src/config-provider/index.d.ts +19 -16
- package/dist/es/core/components.mjs +51 -53
- package/dist/es/core/index.mjs +51 -53
- package/dist/json/vetur-attributes.json +0 -7
- package/dist/json/vetur-tags.json +0 -6
- package/dist/json/web-types.json +1 -29
- package/package.json +1 -1
- package/dist/es/components/src/config-provider/config-provider.vue_vue_type_script_setup_true_lang.mjs +0 -24
- package/dist/es/components/src/config-provider-vapor/config-provider-vapor.d.ts +0 -20
- package/dist/es/components/src/config-provider-vapor/config-provider-vapor.vue.mjs +0 -5
- package/dist/es/components/src/config-provider-vapor/index.d.ts +0 -21
- package/dist/es/components/src/config-provider-vapor/index.mjs +0 -8
- package/dist/es/components/src/config-provider-vapor/types.d.ts +0 -17
- package/dist/es/components/src/config-provider-vapor/types.mjs +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
## [0.3.1](https://gitee.com/mach552/savor-ui/compare/v0.3.0...v0.3.1) (2026-06-07)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **config-provider:** 删除不兼容的非`vapor`组件 ([e4aaaaf](https://gitee.com/mach552/savor-ui/commits/e4aaaaf2eb1b2076923809fe3b284293721fd1a8))
|
|
11
|
+
|
|
5
12
|
# [0.3.0](https://gitee.com/mach552/savor-ui/compare/v0.2.0...v0.3.0) (2026-06-07)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -11,7 +11,6 @@ export * from './src/checkbox';
|
|
|
11
11
|
export * from './src/collapse';
|
|
12
12
|
export * from './src/color-picker';
|
|
13
13
|
export * from './src/config-provider';
|
|
14
|
-
export * from './src/config-provider-vapor';
|
|
15
14
|
export * from './src/date-picker';
|
|
16
15
|
export * from './src/datetime-picker';
|
|
17
16
|
export * from './src/descriptions';
|
|
@@ -26,8 +26,6 @@ import "./src/icon/index.mjs";
|
|
|
26
26
|
import "./src/tag/index.mjs";
|
|
27
27
|
import "./src/select/index.mjs";
|
|
28
28
|
import "./src/color-picker/index.mjs";
|
|
29
|
-
import "./src/config-provider-vapor/types.mjs";
|
|
30
|
-
import "./src/config-provider-vapor/index.mjs";
|
|
31
29
|
import "./src/date-picker/index.mjs";
|
|
32
30
|
import "./src/datetime-picker/index.mjs";
|
|
33
31
|
import "./src/descriptions/types.mjs";
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
import { ConfigProviderProps, ConfigProviderSlots } from './types';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import { PublicProps, VNode } from 'vue';
|
|
3
|
+
declare const __VLS_export: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: PublicProps & __VLS_PrettifyLocal<ConfigProviderProps> & (typeof globalThis extends {
|
|
5
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
6
|
+
} ? P : {});
|
|
7
|
+
expose: (exposed: {}) => void;
|
|
8
|
+
attrs: any;
|
|
9
|
+
slots: ConfigProviderSlots;
|
|
10
|
+
emit: {};
|
|
11
|
+
}>) => VNode & {
|
|
12
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
13
|
+
};
|
|
6
14
|
declare const _default: typeof __VLS_export;
|
|
7
15
|
export default _default;
|
|
8
|
-
type
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
16
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
17
|
+
[K in keyof T]: T[K];
|
|
18
|
+
} : {
|
|
19
|
+
[K in keyof T as K]: T[K];
|
|
20
|
+
}) & {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { initTheme as e } from "../../../utils/src/theme/themeMap.mjs";
|
|
2
2
|
import "../../../utils/index.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { configProviderContextKey as t } from "./types.mjs";
|
|
4
4
|
import { createSlot as n, defineVaporComponent as r, provide as i, toRefs as a, watch as o } from "vue";
|
|
5
|
-
//#region ../components/src/config-provider
|
|
5
|
+
//#region ../components/src/config-provider/config-provider.vue?vue&type=script&setup=true&vapor=true&lang.ts
|
|
6
6
|
var s = /* @__PURE__ */ r({
|
|
7
|
-
name: "
|
|
8
|
-
__name: "config-provider
|
|
7
|
+
name: "SConfigProvider",
|
|
8
|
+
__name: "config-provider",
|
|
9
9
|
props: {
|
|
10
10
|
inputFilled: { type: Boolean },
|
|
11
11
|
theme: {}
|
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export declare const SConfigProvider: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import { ConfigProviderSlots, ConfigProviderTheme } from './types.js';
|
|
2
|
+
import { PublicProps, VNode, Plugin } from 'vue';
|
|
3
|
+
export declare const SConfigProvider: ((__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
4
|
+
attrs: any;
|
|
5
|
+
slots: ConfigProviderSlots;
|
|
6
|
+
emit: {};
|
|
7
|
+
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
8
|
+
props: PublicProps & {
|
|
9
|
+
inputFilled?: boolean | undefined;
|
|
10
|
+
theme?: ConfigProviderTheme | undefined;
|
|
11
|
+
} & (typeof globalThis extends {
|
|
12
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
13
|
+
} ? P : {});
|
|
14
|
+
expose: (exposed: {}) => void;
|
|
15
|
+
attrs: any;
|
|
16
|
+
slots: ConfigProviderSlots;
|
|
17
|
+
emit: {};
|
|
18
|
+
}>) => VNode & {
|
|
19
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
17
20
|
}) & Plugin;
|
|
18
21
|
export * from './types.js';
|
|
@@ -20,46 +20,45 @@ import { SIcon as C } from "../components/src/icon/index.mjs";
|
|
|
20
20
|
import { STag as w } from "../components/src/tag/index.mjs";
|
|
21
21
|
import { SSelect as T } from "../components/src/select/index.mjs";
|
|
22
22
|
import { SColorPicker as E } from "../components/src/color-picker/index.mjs";
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import { SWheel as Ee } from "../components/src/wheel/index.mjs";
|
|
23
|
+
import { SDatePicker as D } from "../components/src/date-picker/index.mjs";
|
|
24
|
+
import { SDatetimePicker as O } from "../components/src/datetime-picker/index.mjs";
|
|
25
|
+
import { SDescriptions as k, SDescriptionsItem as A } from "../components/src/descriptions/index.mjs";
|
|
26
|
+
import { SDivider as j } from "../components/src/divider/index.mjs";
|
|
27
|
+
import { SDrawer as M } from "../components/src/drawer/index.mjs";
|
|
28
|
+
import { SDoption as N, SDropdown as P, SDsubmenu as F } from "../components/src/dropdown/index.mjs";
|
|
29
|
+
import { SGalleria as I } from "../components/src/galleria/index.mjs";
|
|
30
|
+
import { SGrid as L, SGridItem as R } from "../components/src/grid/index.mjs";
|
|
31
|
+
import { SImage as z, SImageGroup as B, SImagePreview as V } from "../components/src/image/index.mjs";
|
|
32
|
+
import { SInputNumber as H } from "../components/src/input-number/index.mjs";
|
|
33
|
+
import { SInputTag as U } from "../components/src/input-tag/index.mjs";
|
|
34
|
+
import { SLayout as W, SLayoutAside as G, SLayoutContent as K, SLayoutFooter as q, SLayoutHeader as J } from "../components/src/layout/index.mjs";
|
|
35
|
+
import { SLink as Y } from "../components/src/link/index.mjs";
|
|
36
|
+
import { SList as X } from "../components/src/list/index.mjs";
|
|
37
|
+
import { SMenu as Z, SMenuGroup as Q, SMenuItem as $, SSubMenu as ee } from "../components/src/menu/index.mjs";
|
|
38
|
+
import { SMeterGroup as te } from "../components/src/meter-group/index.mjs";
|
|
39
|
+
import { SModal as ne } from "../components/src/modal/index.mjs";
|
|
40
|
+
import { SPagination as re } from "../components/src/pagination/index.mjs";
|
|
41
|
+
import { SPanel as ie } from "../components/src/panel/index.mjs";
|
|
42
|
+
import { SProgress as ae } from "../components/src/progress/index.mjs";
|
|
43
|
+
import { SRadio as oe, SRadioGroup as se } from "../components/src/radio/index.mjs";
|
|
44
|
+
import { SSegmented as ce } from "../components/src/segmented/index.mjs";
|
|
45
|
+
import { SSkeleton as le } from "../components/src/skeleton/index.mjs";
|
|
46
|
+
import { SSpace as ue } from "../components/src/space/index.mjs";
|
|
47
|
+
import { SStatistic as de } from "../components/src/statistic/index.mjs";
|
|
48
|
+
import { SSwitch as fe } from "../components/src/switch/index.mjs";
|
|
49
|
+
import { STable as pe } from "../components/src/table/index.mjs";
|
|
50
|
+
import { STab as me, STabPane as he, STabs as ge } from "../components/src/tabs/index.mjs";
|
|
51
|
+
import { SText as _e } from "../components/src/text/index.mjs";
|
|
52
|
+
import { STextarea as ve } from "../components/src/textarea/index.mjs";
|
|
53
|
+
import { STimeline as ye, STimelineItem as be } from "../components/src/timeline/index.mjs";
|
|
54
|
+
import { STree as xe } from "../components/src/tree/index.mjs";
|
|
55
|
+
import { SUpload as Se } from "../components/src/upload/index.mjs";
|
|
56
|
+
import { SWaterfall as Ce } from "../components/src/waterfall/index.mjs";
|
|
57
|
+
import { SWatermark as we } from "../components/src/watermark/index.mjs";
|
|
58
|
+
import { SWheel as Te } from "../components/src/wheel/index.mjs";
|
|
60
59
|
import "../components/index.mjs";
|
|
61
60
|
//#region components.ts
|
|
62
|
-
var
|
|
61
|
+
var Ee = [
|
|
63
62
|
e,
|
|
64
63
|
u,
|
|
65
64
|
t,
|
|
@@ -82,22 +81,22 @@ var De = [
|
|
|
82
81
|
k,
|
|
83
82
|
A,
|
|
84
83
|
j,
|
|
84
|
+
N,
|
|
85
85
|
M,
|
|
86
86
|
P,
|
|
87
|
-
N,
|
|
88
87
|
F,
|
|
89
|
-
I,
|
|
90
88
|
S,
|
|
91
89
|
a,
|
|
92
90
|
o,
|
|
91
|
+
I,
|
|
93
92
|
L,
|
|
94
93
|
R,
|
|
95
|
-
z,
|
|
96
94
|
C,
|
|
95
|
+
z,
|
|
97
96
|
B,
|
|
98
97
|
V,
|
|
99
|
-
H,
|
|
100
98
|
s,
|
|
99
|
+
H,
|
|
101
100
|
U,
|
|
102
101
|
W,
|
|
103
102
|
G,
|
|
@@ -109,38 +108,37 @@ var De = [
|
|
|
109
108
|
Z,
|
|
110
109
|
Q,
|
|
111
110
|
$,
|
|
112
|
-
|
|
111
|
+
te,
|
|
113
112
|
ne,
|
|
114
113
|
re,
|
|
115
114
|
ie,
|
|
116
|
-
ae,
|
|
117
115
|
r,
|
|
116
|
+
ae,
|
|
118
117
|
oe,
|
|
119
118
|
se,
|
|
120
|
-
ce,
|
|
121
119
|
l,
|
|
122
|
-
|
|
120
|
+
ce,
|
|
123
121
|
T,
|
|
122
|
+
le,
|
|
124
123
|
ue,
|
|
125
124
|
de,
|
|
125
|
+
ee,
|
|
126
126
|
fe,
|
|
127
|
-
|
|
127
|
+
me,
|
|
128
128
|
pe,
|
|
129
129
|
he,
|
|
130
|
-
me,
|
|
131
130
|
ge,
|
|
132
|
-
_e,
|
|
133
131
|
w,
|
|
132
|
+
_e,
|
|
134
133
|
ve,
|
|
135
134
|
ye,
|
|
136
135
|
be,
|
|
137
|
-
xe,
|
|
138
136
|
i,
|
|
137
|
+
xe,
|
|
139
138
|
Se,
|
|
140
139
|
Ce,
|
|
141
140
|
we,
|
|
142
|
-
Te
|
|
143
|
-
Ee
|
|
141
|
+
Te
|
|
144
142
|
];
|
|
145
143
|
//#endregion
|
|
146
|
-
export {
|
|
144
|
+
export { Ee as default };
|
package/dist/es/core/index.mjs
CHANGED
|
@@ -28,59 +28,57 @@ import { SIcon as M } from "../components/src/icon/index.mjs";
|
|
|
28
28
|
import { STag as N } from "../components/src/tag/index.mjs";
|
|
29
29
|
import { SSelect as P } from "../components/src/select/index.mjs";
|
|
30
30
|
import { SColorPicker as F } from "../components/src/color-picker/index.mjs";
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import
|
|
47
|
-
import {
|
|
48
|
-
import
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import { SWatermark as Ye } from "../components/src/watermark/index.mjs";
|
|
80
|
-
import { SWheel as Xe } from "../components/src/wheel/index.mjs";
|
|
31
|
+
import { SDatePicker as I } from "../components/src/date-picker/index.mjs";
|
|
32
|
+
import { SDatetimePicker as L } from "../components/src/datetime-picker/index.mjs";
|
|
33
|
+
import { descriptionsContextKey as R } from "../components/src/descriptions/types.mjs";
|
|
34
|
+
import { SDescriptions as z, SDescriptionsItem as B } from "../components/src/descriptions/index.mjs";
|
|
35
|
+
import { SDivider as V } from "../components/src/divider/index.mjs";
|
|
36
|
+
import { SDrawer as H } from "../components/src/drawer/index.mjs";
|
|
37
|
+
import { dropdownContextKey as U } from "../components/src/dropdown/types.mjs";
|
|
38
|
+
import { SDoption as W, SDropdown as G, SDsubmenu as K } from "../components/src/dropdown/index.mjs";
|
|
39
|
+
import { SGalleria as q } from "../components/src/galleria/index.mjs";
|
|
40
|
+
import { gridContextKey as J } from "../components/src/grid/types.mjs";
|
|
41
|
+
import { SGrid as Y, SGridItem as X } from "../components/src/grid/index.mjs";
|
|
42
|
+
import { imageGroupContextKey as Z } from "../components/src/image/types.mjs";
|
|
43
|
+
import { SImage as Q, SImageGroup as $, SImagePreview as ee } from "../components/src/image/index.mjs";
|
|
44
|
+
import { SInputNumber as te } from "../components/src/input-number/index.mjs";
|
|
45
|
+
import { SInputTag as ne } from "../components/src/input-tag/index.mjs";
|
|
46
|
+
import re from "../components/src/layer/method.mjs";
|
|
47
|
+
import { SLayout as ie, SLayoutAside as ae, SLayoutContent as oe, SLayoutFooter as se, SLayoutHeader as ce } from "../components/src/layout/index.mjs";
|
|
48
|
+
import { SLink as le } from "../components/src/link/index.mjs";
|
|
49
|
+
import { SList as ue } from "../components/src/list/index.mjs";
|
|
50
|
+
import { menuContextKey as de, menuLevelContextKey as fe, subMenuContextKey as pe } from "../components/src/menu/types.mjs";
|
|
51
|
+
import { SMenu as me, SMenuGroup as he, SMenuItem as ge, SSubMenu as _e } from "../components/src/menu/index.mjs";
|
|
52
|
+
import { useMessage as ve } from "../components/src/message/method.mjs";
|
|
53
|
+
import { SMeterGroup as ye } from "../components/src/meter-group/index.mjs";
|
|
54
|
+
import { useModal as be } from "../components/src/modal/method.mjs";
|
|
55
|
+
import { SModal as xe } from "../components/src/modal/index.mjs";
|
|
56
|
+
import { SPagination as Se } from "../components/src/pagination/index.mjs";
|
|
57
|
+
import { SPanel as Ce } from "../components/src/panel/index.mjs";
|
|
58
|
+
import { SProgress as we } from "../components/src/progress/index.mjs";
|
|
59
|
+
import { radioGroupContextKey as Te } from "../components/src/radio/types.mjs";
|
|
60
|
+
import { SRadio as Ee, SRadioGroup as De } from "../components/src/radio/index.mjs";
|
|
61
|
+
import { SSegmented as Oe } from "../components/src/segmented/index.mjs";
|
|
62
|
+
import { SSkeleton as ke } from "../components/src/skeleton/index.mjs";
|
|
63
|
+
import { SSpace as Ae } from "../components/src/space/index.mjs";
|
|
64
|
+
import { SStatistic as je } from "../components/src/statistic/index.mjs";
|
|
65
|
+
import { SSwitch as Me } from "../components/src/switch/index.mjs";
|
|
66
|
+
import { STable as Ne } from "../components/src/table/index.mjs";
|
|
67
|
+
import { tabsContextKey as Pe } from "../components/src/tabs/types.mjs";
|
|
68
|
+
import { STab as Fe, STabPane as Ie, STabs as Le } from "../components/src/tabs/index.mjs";
|
|
69
|
+
import { SText as Re } from "../components/src/text/index.mjs";
|
|
70
|
+
import { STextarea as ze } from "../components/src/textarea/index.mjs";
|
|
71
|
+
import { timelineContextKey as Be } from "../components/src/timeline/types.mjs";
|
|
72
|
+
import { STimeline as Ve, STimelineItem as He } from "../components/src/timeline/index.mjs";
|
|
73
|
+
import { treeContextKey as Ue } from "../components/src/tree/types.mjs";
|
|
74
|
+
import { STree as We } from "../components/src/tree/index.mjs";
|
|
75
|
+
import { SUpload as Ge } from "../components/src/upload/index.mjs";
|
|
76
|
+
import { SWaterfall as Ke } from "../components/src/waterfall/index.mjs";
|
|
77
|
+
import { SWatermark as qe } from "../components/src/watermark/index.mjs";
|
|
78
|
+
import { SWheel as Je } from "../components/src/wheel/index.mjs";
|
|
81
79
|
import "../components/index.mjs";
|
|
82
|
-
import
|
|
80
|
+
import Ye from "./components.mjs";
|
|
83
81
|
//#region index.ts
|
|
84
|
-
var
|
|
82
|
+
var Xe = e(Ye);
|
|
85
83
|
//#endregion
|
|
86
|
-
export { n as SAnchor, r as SAnchorLink, _ as SAutoComplete, v as SAvatar, h as SBackTop, y as SBadge, b as SButton, x as SButtonGroup, S as SCard, C as SCarousel, w as SCascader, E as SCheckbox, D as SCheckboxGroup, k as SCollapse, A as SCollapseItem, F as SColorPicker, c as SConfigProvider,
|
|
84
|
+
export { n as SAnchor, r as SAnchorLink, _ as SAutoComplete, v as SAvatar, h as SBackTop, y as SBadge, b as SButton, x as SButtonGroup, S as SCard, C as SCarousel, w as SCascader, E as SCheckbox, D as SCheckboxGroup, k as SCollapse, A as SCollapseItem, F as SColorPicker, c as SConfigProvider, I as SDatePicker, L as SDatetimePicker, z as SDescriptions, B as SDescriptionsItem, V as SDivider, W as SDoption, H as SDrawer, G as SDropdown, K as SDsubmenu, j as SEmpty, d as SForm, f as SFormItem, q as SGalleria, Y as SGrid, X as SGridItem, M as SIcon, Q as SImage, $ as SImageGroup, ee as SImagePreview, p as SInput, te as SInputNumber, ne as SInputTag, ie as SLayout, ae as SLayoutAside, oe as SLayoutContent, se as SLayoutFooter, ce as SLayoutHeader, le as SLink, ue as SList, me as SMenu, he as SMenuGroup, ge as SMenuItem, ye as SMeterGroup, xe as SModal, Se as SPagination, Ce as SPanel, l as SPopover, we as SProgress, Ee as SRadio, De as SRadioGroup, g as SScrollbar, Oe as SSegmented, P as SSelect, ke as SSkeleton, Ae as SSpace, je as SStatistic, _e as SSubMenu, Me as SSwitch, Fe as STab, Ie as STabPane, Ne as STable, Le as STabs, N as STag, Re as SText, ze as STextarea, Ve as STimeline, He as STimelineItem, u as STooltip, We as STree, Ge as SUpload, Ke as SWaterfall, qe as SWatermark, Je as SWheel, t as anchorContextKey, m as buttonGroupContextKey, T as checkboxGroupContextKey, O as collapseContextKey, s as configProviderContextKey, Xe as default, R as descriptionsContextKey, U as dropdownContextKey, i as formContextKey, a as formItemContextKey, o as formItemStatusContextKey, J as gridContextKey, Z as imageGroupContextKey, de as menuContextKey, fe as menuLevelContextKey, Te as radioGroupContextKey, pe as subMenuContextKey, Pe as tabsContextKey, Be as timelineContextKey, Ue as treeContextKey, re as useLayer, ve as useMessage, be as useModal };
|
|
@@ -390,13 +390,6 @@
|
|
|
390
390
|
"s-config-provider/theme": {
|
|
391
391
|
"description": "—"
|
|
392
392
|
},
|
|
393
|
-
"s-config-provider-vapor/inputFilled": {
|
|
394
|
-
"description": "—",
|
|
395
|
-
"type": "boolean"
|
|
396
|
-
},
|
|
397
|
-
"s-config-provider-vapor/theme": {
|
|
398
|
-
"description": "—"
|
|
399
|
-
},
|
|
400
393
|
"s-date-picker/change": {
|
|
401
394
|
"description": "值改变时触发"
|
|
402
395
|
},
|
package/dist/json/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "savor-ui",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.3.0",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"types-syntax": "typescript",
|
|
@@ -1046,34 +1046,6 @@
|
|
|
1046
1046
|
}
|
|
1047
1047
|
]
|
|
1048
1048
|
},
|
|
1049
|
-
{
|
|
1050
|
-
"name": "s-config-provider-vapor",
|
|
1051
|
-
"attributes": [
|
|
1052
|
-
{
|
|
1053
|
-
"name": "inputFilled",
|
|
1054
|
-
"description": "—",
|
|
1055
|
-
"value": {
|
|
1056
|
-
"type": "boolean",
|
|
1057
|
-
"kind": "expression"
|
|
1058
|
-
}
|
|
1059
|
-
},
|
|
1060
|
-
{
|
|
1061
|
-
"name": "theme",
|
|
1062
|
-
"description": "—",
|
|
1063
|
-
"value": {
|
|
1064
|
-
"type": "ConfigProviderVaporTheme",
|
|
1065
|
-
"kind": "expression"
|
|
1066
|
-
}
|
|
1067
|
-
}
|
|
1068
|
-
],
|
|
1069
|
-
"events": [],
|
|
1070
|
-
"slots": [
|
|
1071
|
-
{
|
|
1072
|
-
"name": "default",
|
|
1073
|
-
"description": "—"
|
|
1074
|
-
}
|
|
1075
|
-
]
|
|
1076
|
-
},
|
|
1077
1049
|
{
|
|
1078
1050
|
"name": "s-date-picker",
|
|
1079
1051
|
"attributes": [
|
package/package.json
CHANGED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { initTheme as e } from "../../../utils/src/theme/themeMap.mjs";
|
|
2
|
-
import "../../../utils/index.mjs";
|
|
3
|
-
import { configProviderContextKey as t } from "./types.mjs";
|
|
4
|
-
import { defineComponent as n, provide as r, renderSlot as i, toRefs as a, watch as o } from "vue";
|
|
5
|
-
//#region ../components/src/config-provider/config-provider.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var s = /* @__PURE__ */ n({
|
|
7
|
-
name: "SConfigProvider",
|
|
8
|
-
__name: "config-provider",
|
|
9
|
-
props: {
|
|
10
|
-
inputFilled: { type: Boolean },
|
|
11
|
-
theme: {}
|
|
12
|
-
},
|
|
13
|
-
setup(n) {
|
|
14
|
-
let s = n, { inputFilled: c } = a(s);
|
|
15
|
-
return r(t, { inputFilled: c }), o(() => s.theme, (t) => {
|
|
16
|
-
e(t?.lightTheme, t?.darkTheme);
|
|
17
|
-
}, {
|
|
18
|
-
immediate: !0,
|
|
19
|
-
deep: !0
|
|
20
|
-
}), (e, t) => i(e.$slots, "default");
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
//#endregion
|
|
24
|
-
export { s as default };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ConfigProviderVaporProps, ConfigProviderVaporSlots } from './types';
|
|
2
|
-
import { PublicProps, VNode } from 'vue';
|
|
3
|
-
declare const __VLS_export: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
-
props: PublicProps & __VLS_PrettifyLocal<ConfigProviderVaporProps> & (typeof globalThis extends {
|
|
5
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
6
|
-
} ? P : {});
|
|
7
|
-
expose: (exposed: {}) => void;
|
|
8
|
-
attrs: any;
|
|
9
|
-
slots: ConfigProviderVaporSlots;
|
|
10
|
-
emit: {};
|
|
11
|
-
}>) => VNode & {
|
|
12
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
13
|
-
};
|
|
14
|
-
declare const _default: typeof __VLS_export;
|
|
15
|
-
export default _default;
|
|
16
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
17
|
-
[K in keyof T]: T[K];
|
|
18
|
-
} : {
|
|
19
|
-
[K in keyof T as K]: T[K];
|
|
20
|
-
}) & {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ConfigProviderVaporSlots, ConfigProviderVaporTheme } from './types';
|
|
2
|
-
import { PublicProps, VNode, Plugin } from 'vue';
|
|
3
|
-
export declare const SConfigProviderVapor: ((__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
4
|
-
attrs: any;
|
|
5
|
-
slots: ConfigProviderVaporSlots;
|
|
6
|
-
emit: {};
|
|
7
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
8
|
-
props: PublicProps & {
|
|
9
|
-
inputFilled?: boolean | undefined;
|
|
10
|
-
theme?: ConfigProviderVaporTheme | undefined;
|
|
11
|
-
} & (typeof globalThis extends {
|
|
12
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
13
|
-
} ? P : {});
|
|
14
|
-
expose: (exposed: {}) => void;
|
|
15
|
-
attrs: any;
|
|
16
|
-
slots: ConfigProviderVaporSlots;
|
|
17
|
-
emit: {};
|
|
18
|
-
}>) => VNode & {
|
|
19
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
20
|
-
}) & Plugin;
|
|
21
|
-
export * from './types';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { withInstall as e } from "../../../utils/src/install.mjs";
|
|
2
|
-
import "../../../utils/index.mjs";
|
|
3
|
-
import "./types.mjs";
|
|
4
|
-
import t from "./config-provider-vapor.vue.mjs";
|
|
5
|
-
//#region ../components/src/config-provider-vapor/index.ts
|
|
6
|
-
var n = e(t);
|
|
7
|
-
//#endregion
|
|
8
|
-
export { n as SConfigProviderVapor };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ThemeTokens } from '../../../utils/index.ts';
|
|
2
|
-
import { InjectionKey, Ref } from 'vue';
|
|
3
|
-
export interface ConfigProviderVaporTheme {
|
|
4
|
-
lightTheme?: Partial<ThemeTokens>;
|
|
5
|
-
darkTheme?: Partial<ThemeTokens>;
|
|
6
|
-
}
|
|
7
|
-
export interface ConfigProviderVaporProps {
|
|
8
|
-
inputFilled?: boolean;
|
|
9
|
-
theme?: ConfigProviderVaporTheme;
|
|
10
|
-
}
|
|
11
|
-
export interface ConfigProviderVaporSlots {
|
|
12
|
-
default?: () => any;
|
|
13
|
-
}
|
|
14
|
-
export interface ConfigProviderVaporContext {
|
|
15
|
-
inputFilled?: Ref<boolean>;
|
|
16
|
-
}
|
|
17
|
-
export declare const configProviderVaporContextKey: InjectionKey<ConfigProviderVaporContext>;
|