@sdata/web-vue 2.3.1 → 2.6.0
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 +1 -1
- package/dist/sd.css +117 -191
- package/dist/sd.min.css +1 -1
- package/es/_components/transition/expand-transition.vue.d.ts +2 -2
- package/es/_hooks/use-responsive.d.ts +2 -2
- package/es/_hooks/use-theme-mode.d.ts +3 -0
- package/es/{calendar/hooks/use-calendar-theme.js → _hooks/use-theme-mode.js} +14 -10
- package/es/_utils/responsive-observe.d.ts +5 -4
- package/es/_utils/responsive-observe.js +2 -1
- package/es/alert/index.d.ts +3 -3
- package/es/anchor/index.d.ts +3 -3
- package/es/avatar/index.d.ts +20 -20
- package/es/border-beam/border-beam.js +5 -0
- package/es/border-beam/border-beam.vue.d.ts +52 -0
- package/es/border-beam/border-beam.vue_vue_type_script_setup_true_lang.js +623 -0
- package/es/border-beam/index.d.ts +106 -0
- package/es/border-beam/index.js +10 -0
- package/es/border-beam/pulseDriver.d.ts +2 -0
- package/es/border-beam/pulseDriver.js +74 -0
- package/es/border-beam/style/css.js +2 -0
- package/es/border-beam/style/index.css +21 -0
- package/es/border-beam/style/index.d.ts +2 -0
- package/es/border-beam/style/index.js +2 -0
- package/es/border-beam/style/index.scss +12 -0
- package/es/border-beam/style/token.scss +12 -0
- package/es/border-beam/styles.d.ts +42 -0
- package/es/border-beam/styles.js +3545 -0
- package/es/border-beam/types.d.ts +27 -0
- package/es/button/index.d.ts +24 -24
- package/es/calendar/components/cell.vue.d.ts +26 -26
- package/es/calendar/components/index.vue.d.ts +1 -1
- package/es/calendar/components/index.vue_vue_type_script_setup_true_lang.js +3 -2
- package/es/calendar/index.d.ts +5 -5
- package/es/carousel/index.d.ts +3 -3
- package/es/cascader/cascader.vue.d.ts +8 -8
- package/es/checkbox/checkbox.d.ts +3 -3
- package/es/collapse/collapse-item.d.ts +5 -5
- package/es/collapse/index.d.ts +3 -3
- package/es/components.d.ts +1 -0
- package/es/config-provider/index.d.ts +21 -21
- package/es/date-picker/index.d.ts +14 -14
- package/es/date-picker/panels/date/index.vue.d.ts +2 -2
- package/es/date-picker/panels/month/index.vue.d.ts +2 -2
- package/es/date-picker/panels/quarter/index.vue.d.ts +2 -2
- package/es/date-picker/panels/week/index.vue.d.ts +2 -2
- package/es/date-picker/panels/year/index.vue.d.ts +2 -2
- package/es/date-picker/picker-panel.vue.d.ts +12 -12
- package/es/date-picker/picker.vue.d.ts +14 -14
- package/es/date-picker/range-picker.vue.d.ts +15 -15
- package/es/descriptions/index.d.ts +24 -24
- package/es/drawer/drawer.vue.d.ts +5 -5
- package/es/drawer/index.d.ts +15 -15
- package/es/dropdown/dropdown-button.vue.d.ts +4 -4
- package/es/dropdown/index.d.ts +15 -15
- package/es/ellipsis/ellipsis.vue.d.ts +7 -7
- package/es/ellipsis/performant-ellipsis.vue.d.ts +5 -5
- package/es/form/form-item.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/form/index.d.ts +3 -3
- package/es/grid/grid-col.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/grid/grid.vue_vue_type_script_setup_true_lang.js +10 -10
- package/es/icon/icon-menu/icon-menu.js +5 -0
- package/es/icon/icon-menu/icon-menu.vue_vue_type_script_setup_true_lang.js +52 -0
- package/es/icon/icon-menu/index.js +9 -0
- package/es/image/preview.vue.d.ts +2 -2
- package/es/index.css +117 -191
- package/es/index.d.ts +3 -1
- package/es/index.js +3 -2
- package/es/index.scss +1 -0
- package/es/input/index.d.ts +7 -7
- package/es/input/input-password.vue.d.ts +3 -3
- package/es/json-form/index.d.ts +9 -9
- package/es/json-form/json-form-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/json-form/json-form.vue.d.ts +3 -3
- package/es/layout/content.vue.d.ts +2 -2
- package/es/layout/content.vue_vue_type_script_setup_true_lang.js +8 -3
- package/es/layout/context.d.ts +12 -9
- package/es/layout/context.js +11 -3
- package/es/layout/footer.vue.d.ts +2 -2
- package/es/layout/footer.vue_vue_type_script_setup_true_lang.js +8 -3
- package/es/layout/header.vue.d.ts +3 -30
- package/es/layout/header.vue_vue_type_script_setup_true_lang.js +9 -339
- package/es/layout/hooks/use-has-sider.d.ts +2 -0
- package/es/layout/hooks/use-has-sider.js +38 -0
- package/es/layout/index.d.ts +91 -380
- package/es/layout/index.js +2 -2
- package/es/layout/interface.d.ts +12 -46
- package/es/layout/layout.vue.d.ts +4 -2
- package/es/layout/layout.vue_vue_type_script_setup_true_lang.js +38 -14
- package/es/layout/sider.vue.d.ts +47 -183
- package/es/layout/sider.vue_vue_type_script_setup_true_lang.js +191 -370
- package/es/layout/style/index.css +112 -190
- package/es/layout/style/index.scss +127 -239
- package/es/layout/style/token.scss +46 -26
- package/es/link/index.d.ts +6 -6
- package/es/list/index.d.ts +18 -18
- package/es/menu/base-menu.vue.d.ts +1 -1
- package/es/menu/base-menu.vue_vue_type_script_setup_true_lang.js +14 -14
- package/es/menu/item.d.ts +1 -1
- package/es/menu/menu.d.ts +12 -12
- package/es/menu/menu.js +3 -3
- package/es/modal/index.d.ts +15 -15
- package/es/modal/modal.vue.d.ts +4 -4
- package/es/popconfirm/index.d.ts +12 -12
- package/es/popover/index.d.ts +12 -12
- package/es/progress/index.d.ts +6 -6
- package/es/qr-code/index.d.ts +3 -3
- package/es/radio/radio.d.ts +3 -3
- package/es/resize-box/resize-box.vue.d.ts +4 -4
- package/es/resize-box/resize-box.vue_vue_type_script_setup_true_lang.js +7 -7
- package/es/result/index.d.ts +3 -3
- package/es/scrollbar/style/index.css +1 -1
- package/es/scrollbar/style/index.scss +4 -1
- package/es/sd-vue.js +3 -1
- package/es/select/select.d.ts +17 -17
- package/es/slider/index.d.ts +3 -3
- package/es/split/split.vue.d.ts +4 -4
- package/es/split/split.vue_vue_type_script_setup_true_lang.js +6 -6
- package/es/steps/index.d.ts +6 -6
- package/es/tabs/index.d.ts +6 -6
- package/es/tag/index.d.ts +6 -6
- package/es/tag/tag.vue.d.ts +2 -2
- package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/theme-provider/index.d.ts +9 -9
- package/es/time-picker/index.d.ts +6 -6
- package/es/time-picker/time-picker.vue.d.ts +2 -2
- package/es/timeline/index.d.ts +3 -3
- package/es/timeline/timeline.d.ts +1 -1
- package/es/tooltip/index.d.ts +3 -3
- package/es/tour/index.d.ts +3 -3
- package/es/tour/tour.vue_vue_type_script_setup_true_lang.js +6 -6
- package/es/tree/expand-transition.vue.d.ts +2 -2
- package/es/tree/node-switcher.vue.d.ts +1 -1
- package/es/tree/tree.vue_vue_type_script_setup_true_lang.js +23 -23
- package/es/tree-select/tree-select.vue.d.ts +9 -9
- package/json/vetur-attributes.json +23 -156
- package/json/vetur-tags.json +12 -44
- package/json/web-types.json +38 -304
- package/package.json +5 -5
- package/es/calendar/hooks/use-calendar-theme.d.ts +0 -4
- package/es/layout/utils.d.ts +0 -1
- package/es/layout/utils.js +0 -11
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare var
|
|
1
|
+
declare var __VLS_9: {};
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof
|
|
3
|
+
default?: (props: typeof __VLS_9) => any;
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
export declare function useResponsive(breakpoint:
|
|
2
|
+
import { SiderBreakpoint } from '../_utils/responsive-observe';
|
|
3
|
+
export declare function useResponsive(breakpoint: SiderBreakpoint | undefined | Ref<SiderBreakpoint | undefined>, callback: (checked: boolean) => void): void;
|
|
@@ -1,21 +1,25 @@
|
|
|
1
|
-
import { useMutationObserver } from "
|
|
1
|
+
import { useMutationObserver } from "../watermark/hooks/use-mutation-observer.js";
|
|
2
2
|
import { ref, watch } from "vue";
|
|
3
|
-
//#region components/
|
|
3
|
+
//#region components/_hooks/use-theme-mode.ts
|
|
4
4
|
var THEME_ATTR = "sd-theme";
|
|
5
5
|
/**
|
|
6
|
-
* Detects the current theme mode from the nearest ancestor with `[sd-theme]`
|
|
6
|
+
* Detects the current theme mode from the nearest ancestor with `[sd-theme]`
|
|
7
|
+
* attribute (set by ConfigProvider / ThemeProvider via the `themeMode` prop).
|
|
7
8
|
* Reactively updates when ThemeProvider changes the attribute.
|
|
9
|
+
*
|
|
10
|
+
* Returns `'light'` when no `[sd-theme]` ancestor is present, matching the
|
|
11
|
+
* default theme mode of ConfigProvider.
|
|
8
12
|
*/
|
|
9
|
-
function
|
|
10
|
-
const
|
|
13
|
+
function useThemeMode(target) {
|
|
14
|
+
const themeMode = ref("light");
|
|
11
15
|
const resolveTheme = () => {
|
|
12
16
|
if (typeof document === "undefined") return;
|
|
13
|
-
const el =
|
|
17
|
+
const el = target.value;
|
|
14
18
|
if (!el) return;
|
|
15
19
|
const ancestor = el.closest(`[${THEME_ATTR}]`);
|
|
16
|
-
|
|
20
|
+
themeMode.value = (ancestor === null || ancestor === void 0 ? void 0 : ancestor.getAttribute(THEME_ATTR)) === "dark" ? "dark" : "light";
|
|
17
21
|
};
|
|
18
|
-
watch(
|
|
22
|
+
watch(target, resolveTheme, { immediate: true });
|
|
19
23
|
useMutationObserver(typeof document !== "undefined" ? document.body : void 0, (mutations) => {
|
|
20
24
|
for (const mutation of mutations) if (mutation.type === "attributes" && mutation.attributeName === THEME_ATTR) {
|
|
21
25
|
resolveTheme();
|
|
@@ -26,7 +30,7 @@ function useCalendarTheme(calendarEl) {
|
|
|
26
30
|
attributeFilter: [THEME_ATTR],
|
|
27
31
|
subtree: true
|
|
28
32
|
});
|
|
29
|
-
return
|
|
33
|
+
return themeMode;
|
|
30
34
|
}
|
|
31
35
|
//#endregion
|
|
32
|
-
export {
|
|
36
|
+
export { useThemeMode };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export type Breakpoint = 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs';
|
|
2
|
-
export type
|
|
3
|
-
export type
|
|
2
|
+
export type SiderBreakpoint = 'xxxl' | Breakpoint;
|
|
3
|
+
export type BreakpointMap = Partial<Record<SiderBreakpoint, string>>;
|
|
4
|
+
export type ScreenMap = Partial<Record<SiderBreakpoint, boolean>>;
|
|
4
5
|
export declare const responsiveArray: Breakpoint[];
|
|
5
6
|
export declare const responsiveMap: BreakpointMap;
|
|
6
|
-
type SubscribeFunc = (screens: ScreenMap, breakpointChecked:
|
|
7
|
+
type SubscribeFunc = (screens: ScreenMap, breakpointChecked: SiderBreakpoint) => void;
|
|
7
8
|
type MediaQueryResult = {
|
|
8
9
|
matches: boolean;
|
|
9
10
|
};
|
|
@@ -15,7 +16,7 @@ declare const responsiveObserve: {
|
|
|
15
16
|
listener: MediaQueryListener;
|
|
16
17
|
};
|
|
17
18
|
};
|
|
18
|
-
dispatch(pointMap: ScreenMap, breakpointChecked:
|
|
19
|
+
dispatch(pointMap: ScreenMap, breakpointChecked: SiderBreakpoint): boolean;
|
|
19
20
|
subscribe(func: SubscribeFunc): string;
|
|
20
21
|
unsubscribe(token: string): void;
|
|
21
22
|
unregister(): void;
|
package/es/alert/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import _Alert from './alert.vue';
|
|
|
4
4
|
declare const Alert: {
|
|
5
5
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
6
6
|
type: {
|
|
7
|
-
type: import("vue").PropType<import("
|
|
7
|
+
type: import("vue").PropType<import("../index.ts").MessageType | "normal">;
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
10
|
showIcon: {
|
|
@@ -45,7 +45,7 @@ declare const Alert: {
|
|
|
45
45
|
Defaults: {};
|
|
46
46
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
47
47
|
type: {
|
|
48
|
-
type: import("vue").PropType<import("
|
|
48
|
+
type: import("vue").PropType<import("../index.ts").MessageType | "normal">;
|
|
49
49
|
default: string;
|
|
50
50
|
};
|
|
51
51
|
showIcon: {
|
|
@@ -80,7 +80,7 @@ declare const Alert: {
|
|
|
80
80
|
__isSuspense?: never;
|
|
81
81
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
82
82
|
type: {
|
|
83
|
-
type: import("vue").PropType<import("
|
|
83
|
+
type: import("vue").PropType<import("../index.ts").MessageType | "normal">;
|
|
84
84
|
default: string;
|
|
85
85
|
};
|
|
86
86
|
showIcon: {
|
package/es/anchor/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import _Anchor from './anchor.vue';
|
|
|
5
5
|
declare const Anchor: {
|
|
6
6
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
7
7
|
boundary: {
|
|
8
|
-
type: import("vue").PropType<import("./utils").BoundaryPosition | number>;
|
|
8
|
+
type: import("vue").PropType<import("./utils.ts").BoundaryPosition | number>;
|
|
9
9
|
default: string;
|
|
10
10
|
validator: (value: any) => boolean;
|
|
11
11
|
};
|
|
@@ -69,7 +69,7 @@ declare const Anchor: {
|
|
|
69
69
|
Defaults: {};
|
|
70
70
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
71
71
|
boundary: {
|
|
72
|
-
type: import("vue").PropType<import("./utils").BoundaryPosition | number>;
|
|
72
|
+
type: import("vue").PropType<import("./utils.ts").BoundaryPosition | number>;
|
|
73
73
|
default: string;
|
|
74
74
|
validator: (value: any) => boolean;
|
|
75
75
|
};
|
|
@@ -127,7 +127,7 @@ declare const Anchor: {
|
|
|
127
127
|
__isSuspense?: never;
|
|
128
128
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
129
129
|
boundary: {
|
|
130
|
-
type: import("vue").PropType<import("./utils").BoundaryPosition | number>;
|
|
130
|
+
type: import("vue").PropType<import("./utils.ts").BoundaryPosition | number>;
|
|
131
131
|
default: string;
|
|
132
132
|
validator: (value: any) => boolean;
|
|
133
133
|
};
|
package/es/avatar/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import _Avatar from './avatar.vue';
|
|
|
5
5
|
declare const Avatar: {
|
|
6
6
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
7
7
|
shape: {
|
|
8
|
-
type: import("vue").PropType<import("./interface").AvatarShape>;
|
|
8
|
+
type: import("vue").PropType<import("./interface.ts").AvatarShape>;
|
|
9
9
|
default: string;
|
|
10
10
|
};
|
|
11
11
|
imageUrl: StringConstructor;
|
|
@@ -15,14 +15,14 @@ declare const Avatar: {
|
|
|
15
15
|
default: boolean;
|
|
16
16
|
};
|
|
17
17
|
triggerType: {
|
|
18
|
-
type: import("vue").PropType<import("./interface").AvatarTriggerType>;
|
|
18
|
+
type: import("vue").PropType<import("./interface.ts").AvatarTriggerType>;
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
21
|
triggerIconStyle: {
|
|
22
22
|
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
23
23
|
};
|
|
24
24
|
objectFit: {
|
|
25
|
-
type: import("vue").PropType<import("./interface").ObjectFit>;
|
|
25
|
+
type: import("vue").PropType<import("./interface.ts").ObjectFit>;
|
|
26
26
|
};
|
|
27
27
|
}>> & Readonly<{
|
|
28
28
|
onError?: (() => any) | undefined;
|
|
@@ -33,9 +33,9 @@ declare const Avatar: {
|
|
|
33
33
|
click: (_ev: MouseEvent) => any;
|
|
34
34
|
load: () => any;
|
|
35
35
|
}, import("vue").PublicProps, {
|
|
36
|
-
shape: import("./interface").AvatarShape;
|
|
36
|
+
shape: import("./interface.ts").AvatarShape;
|
|
37
37
|
autoFixFontSize: boolean;
|
|
38
|
-
triggerType: import("./interface").AvatarTriggerType;
|
|
38
|
+
triggerType: import("./interface.ts").AvatarTriggerType;
|
|
39
39
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
40
40
|
P: {};
|
|
41
41
|
B: {};
|
|
@@ -45,7 +45,7 @@ declare const Avatar: {
|
|
|
45
45
|
Defaults: {};
|
|
46
46
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
47
47
|
shape: {
|
|
48
|
-
type: import("vue").PropType<import("./interface").AvatarShape>;
|
|
48
|
+
type: import("vue").PropType<import("./interface.ts").AvatarShape>;
|
|
49
49
|
default: string;
|
|
50
50
|
};
|
|
51
51
|
imageUrl: StringConstructor;
|
|
@@ -55,30 +55,30 @@ declare const Avatar: {
|
|
|
55
55
|
default: boolean;
|
|
56
56
|
};
|
|
57
57
|
triggerType: {
|
|
58
|
-
type: import("vue").PropType<import("./interface").AvatarTriggerType>;
|
|
58
|
+
type: import("vue").PropType<import("./interface.ts").AvatarTriggerType>;
|
|
59
59
|
default: string;
|
|
60
60
|
};
|
|
61
61
|
triggerIconStyle: {
|
|
62
62
|
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
63
63
|
};
|
|
64
64
|
objectFit: {
|
|
65
|
-
type: import("vue").PropType<import("./interface").ObjectFit>;
|
|
65
|
+
type: import("vue").PropType<import("./interface.ts").ObjectFit>;
|
|
66
66
|
};
|
|
67
67
|
}>> & Readonly<{
|
|
68
68
|
onError?: (() => any) | undefined;
|
|
69
69
|
onClick?: ((_ev: MouseEvent) => any) | undefined;
|
|
70
70
|
onLoad?: (() => any) | undefined;
|
|
71
71
|
}>, {}, {}, {}, {}, {
|
|
72
|
-
shape: import("./interface").AvatarShape;
|
|
72
|
+
shape: import("./interface.ts").AvatarShape;
|
|
73
73
|
autoFixFontSize: boolean;
|
|
74
|
-
triggerType: import("./interface").AvatarTriggerType;
|
|
74
|
+
triggerType: import("./interface.ts").AvatarTriggerType;
|
|
75
75
|
}>;
|
|
76
76
|
__isFragment?: never;
|
|
77
77
|
__isTeleport?: never;
|
|
78
78
|
__isSuspense?: never;
|
|
79
79
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
80
80
|
shape: {
|
|
81
|
-
type: import("vue").PropType<import("./interface").AvatarShape>;
|
|
81
|
+
type: import("vue").PropType<import("./interface.ts").AvatarShape>;
|
|
82
82
|
default: string;
|
|
83
83
|
};
|
|
84
84
|
imageUrl: StringConstructor;
|
|
@@ -88,14 +88,14 @@ declare const Avatar: {
|
|
|
88
88
|
default: boolean;
|
|
89
89
|
};
|
|
90
90
|
triggerType: {
|
|
91
|
-
type: import("vue").PropType<import("./interface").AvatarTriggerType>;
|
|
91
|
+
type: import("vue").PropType<import("./interface.ts").AvatarTriggerType>;
|
|
92
92
|
default: string;
|
|
93
93
|
};
|
|
94
94
|
triggerIconStyle: {
|
|
95
95
|
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
96
96
|
};
|
|
97
97
|
objectFit: {
|
|
98
|
-
type: import("vue").PropType<import("./interface").ObjectFit>;
|
|
98
|
+
type: import("vue").PropType<import("./interface.ts").ObjectFit>;
|
|
99
99
|
};
|
|
100
100
|
}>> & Readonly<{
|
|
101
101
|
onError?: (() => any) | undefined;
|
|
@@ -106,9 +106,9 @@ declare const Avatar: {
|
|
|
106
106
|
click: (_ev: MouseEvent) => any;
|
|
107
107
|
load: () => any;
|
|
108
108
|
}, string, {
|
|
109
|
-
shape: import("./interface").AvatarShape;
|
|
109
|
+
shape: import("./interface.ts").AvatarShape;
|
|
110
110
|
autoFixFontSize: boolean;
|
|
111
|
-
triggerType: import("./interface").AvatarTriggerType;
|
|
111
|
+
triggerType: import("./interface.ts").AvatarTriggerType;
|
|
112
112
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
113
113
|
$slots: {
|
|
114
114
|
error?: (props: {}) => any;
|
|
@@ -122,7 +122,7 @@ declare const Avatar: {
|
|
|
122
122
|
}) & {
|
|
123
123
|
Group: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
124
124
|
shape: {
|
|
125
|
-
type: import("vue").PropType<import("./interface").AvatarShape>;
|
|
125
|
+
type: import("vue").PropType<import("./interface.ts").AvatarShape>;
|
|
126
126
|
default: string;
|
|
127
127
|
};
|
|
128
128
|
size: NumberConstructor;
|
|
@@ -142,11 +142,11 @@ declare const Avatar: {
|
|
|
142
142
|
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
143
143
|
};
|
|
144
144
|
maxPopoverTriggerProps: {
|
|
145
|
-
type: import("vue").PropType<import("
|
|
145
|
+
type: import("vue").PropType<import("../index.ts").TriggerProps>;
|
|
146
146
|
};
|
|
147
147
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
148
148
|
shape: {
|
|
149
|
-
type: import("vue").PropType<import("./interface").AvatarShape>;
|
|
149
|
+
type: import("vue").PropType<import("./interface.ts").AvatarShape>;
|
|
150
150
|
default: string;
|
|
151
151
|
};
|
|
152
152
|
size: NumberConstructor;
|
|
@@ -166,10 +166,10 @@ declare const Avatar: {
|
|
|
166
166
|
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
167
167
|
};
|
|
168
168
|
maxPopoverTriggerProps: {
|
|
169
|
-
type: import("vue").PropType<import("
|
|
169
|
+
type: import("vue").PropType<import("../index.ts").TriggerProps>;
|
|
170
170
|
};
|
|
171
171
|
}>> & Readonly<{}>, {
|
|
172
|
-
shape: import("./interface").AvatarShape;
|
|
172
|
+
shape: import("./interface.ts").AvatarShape;
|
|
173
173
|
autoFixFontSize: boolean;
|
|
174
174
|
maxCount: number;
|
|
175
175
|
zIndexAscend: boolean;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import border_beam_vue_vue_type_script_setup_true_lang_default from "./border-beam.vue_vue_type_script_setup_true_lang.js";
|
|
2
|
+
//#region components/border-beam/border-beam.vue
|
|
3
|
+
var border_beam_default = border_beam_vue_vue_type_script_setup_true_lang_default;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { border_beam_default as default };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { BorderBeamTheme, BorderBeamSize, BorderBeamColorVariant, BorderBeamExposed } from './types';
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
5
|
+
size?: BorderBeamSize;
|
|
6
|
+
colorVariant?: BorderBeamColorVariant;
|
|
7
|
+
theme?: BorderBeamTheme;
|
|
8
|
+
staticColors?: boolean;
|
|
9
|
+
duration?: number;
|
|
10
|
+
active?: boolean;
|
|
11
|
+
borderRadius?: number;
|
|
12
|
+
brightness?: number;
|
|
13
|
+
saturation?: number;
|
|
14
|
+
hueRange?: number;
|
|
15
|
+
strength?: number;
|
|
16
|
+
density?: number;
|
|
17
|
+
}, BorderBeamExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
activate: () => any;
|
|
19
|
+
deactivate: () => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
21
|
+
size?: BorderBeamSize;
|
|
22
|
+
colorVariant?: BorderBeamColorVariant;
|
|
23
|
+
theme?: BorderBeamTheme;
|
|
24
|
+
staticColors?: boolean;
|
|
25
|
+
duration?: number;
|
|
26
|
+
active?: boolean;
|
|
27
|
+
borderRadius?: number;
|
|
28
|
+
brightness?: number;
|
|
29
|
+
saturation?: number;
|
|
30
|
+
hueRange?: number;
|
|
31
|
+
strength?: number;
|
|
32
|
+
density?: number;
|
|
33
|
+
}> & Readonly<{
|
|
34
|
+
onActivate?: (() => any) | undefined;
|
|
35
|
+
onDeactivate?: (() => any) | undefined;
|
|
36
|
+
}>, {
|
|
37
|
+
size: BorderBeamSize;
|
|
38
|
+
active: boolean;
|
|
39
|
+
colorVariant: BorderBeamColorVariant;
|
|
40
|
+
theme: BorderBeamTheme;
|
|
41
|
+
staticColors: boolean;
|
|
42
|
+
hueRange: number;
|
|
43
|
+
strength: number;
|
|
44
|
+
density: number;
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
46
|
+
default?: (props: {}) => any;
|
|
47
|
+
}>;
|
|
48
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
49
|
+
new (): {
|
|
50
|
+
$slots: S;
|
|
51
|
+
};
|
|
52
|
+
};
|