heart-ui 0.0.12 → 0.0.15
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/common/index.d.ts +1 -1
- package/dist/common/symbols.d.ts +1 -1
- package/dist/common/theme.d.ts +143 -0
- package/dist/components/HButton.js +1 -1
- package/dist/components/HButton.vue.d.ts +84 -19
- package/dist/components/HIcon.js +1 -1
- package/dist/components/HIcon.vue.d.ts +13 -33
- package/dist/components/index.d.ts +2 -0
- package/dist/composables/index.d.ts +1 -14
- package/dist/composables/index.js +2 -3
- package/dist/composables/theme.d.ts +71 -0
- package/dist/index.d.ts +6 -4
- package/dist/index.js +20 -16
- package/dist/node_modules/.pnpm/@unocss_reset@0.60.3/node_modules/@unocss/reset/tailwind.css.js +1 -0
- package/dist/nuxt/plugin.d.ts +130 -14
- package/dist/nuxt/plugin.js +8 -8
- package/dist/nuxt.d.ts +13 -5
- package/dist/nuxt.js +10 -10
- package/dist/src/common/symbols.js +4 -0
- package/dist/src/common/theme.js +74 -0
- package/dist/src/components/HButton.vue.js +145 -0
- package/dist/src/components/HIcon.vue.js +23 -0
- package/dist/src/components/index.js +6 -0
- package/dist/src/composables/theme.js +5 -0
- package/dist/style.css +1 -1
- package/global.d.ts +8 -0
- package/package.json +52 -36
- package/dist/common/global.d.ts +0 -17
- package/dist/common/global.js +0 -19
- package/dist/common/symbols.js +0 -4
- package/dist/components/HButton.vue.js +0 -60
- package/dist/components/HIcon.vue.js +0 -28
- package/dist/components.d.ts +0 -158
- package/dist/components.js +0 -6
- /package/dist/{utils → src/utils}/index.js +0 -0
package/dist/common/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./theme";
|
|
2
2
|
export * from "./symbols";
|
package/dist/common/symbols.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const HEART_GLOBAL_KEY: unique symbol;
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
export type CssEntry = string | {
|
|
2
|
+
[x: string]: boolean;
|
|
3
|
+
} | (string | {
|
|
4
|
+
[x: string]: boolean;
|
|
5
|
+
})[];
|
|
6
|
+
declare const _defaultTheme: {
|
|
7
|
+
css: {
|
|
8
|
+
icon: {
|
|
9
|
+
root: string;
|
|
10
|
+
};
|
|
11
|
+
button: {
|
|
12
|
+
root: string;
|
|
13
|
+
prefix: string;
|
|
14
|
+
suffix: string;
|
|
15
|
+
text: string;
|
|
16
|
+
busy: string;
|
|
17
|
+
disabled: string;
|
|
18
|
+
style: {
|
|
19
|
+
solid: {
|
|
20
|
+
custom: string;
|
|
21
|
+
default: string;
|
|
22
|
+
primary: string;
|
|
23
|
+
danger: string;
|
|
24
|
+
warning: string;
|
|
25
|
+
success: string;
|
|
26
|
+
info: string;
|
|
27
|
+
};
|
|
28
|
+
semi: {
|
|
29
|
+
custom: string;
|
|
30
|
+
default: string;
|
|
31
|
+
primary: string;
|
|
32
|
+
danger: string;
|
|
33
|
+
warning: string;
|
|
34
|
+
success: string;
|
|
35
|
+
info: string;
|
|
36
|
+
};
|
|
37
|
+
outline: {
|
|
38
|
+
custom: string;
|
|
39
|
+
default: string;
|
|
40
|
+
primary: string;
|
|
41
|
+
danger: string;
|
|
42
|
+
warning: string;
|
|
43
|
+
success: string;
|
|
44
|
+
info: string;
|
|
45
|
+
};
|
|
46
|
+
ghost: {
|
|
47
|
+
custom: string;
|
|
48
|
+
default: string;
|
|
49
|
+
primary: string;
|
|
50
|
+
danger: string;
|
|
51
|
+
warning: string;
|
|
52
|
+
success: string;
|
|
53
|
+
info: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
size: {
|
|
57
|
+
default: string;
|
|
58
|
+
large: string;
|
|
59
|
+
small: string;
|
|
60
|
+
};
|
|
61
|
+
rounded: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
icons: {
|
|
65
|
+
loading: {
|
|
66
|
+
default: string;
|
|
67
|
+
dot: string;
|
|
68
|
+
clock: string;
|
|
69
|
+
pulse: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
export type HeartTheme = typeof _defaultTheme & Record<string, any>;
|
|
74
|
+
export declare const theme: import("vue").Ref<{
|
|
75
|
+
[x: string]: any;
|
|
76
|
+
css: {
|
|
77
|
+
icon: {
|
|
78
|
+
root: string;
|
|
79
|
+
};
|
|
80
|
+
button: {
|
|
81
|
+
root: string;
|
|
82
|
+
prefix: string;
|
|
83
|
+
suffix: string;
|
|
84
|
+
text: string;
|
|
85
|
+
busy: string;
|
|
86
|
+
disabled: string;
|
|
87
|
+
style: {
|
|
88
|
+
solid: {
|
|
89
|
+
custom: string;
|
|
90
|
+
default: string;
|
|
91
|
+
primary: string;
|
|
92
|
+
danger: string;
|
|
93
|
+
warning: string;
|
|
94
|
+
success: string;
|
|
95
|
+
info: string;
|
|
96
|
+
};
|
|
97
|
+
semi: {
|
|
98
|
+
custom: string;
|
|
99
|
+
default: string;
|
|
100
|
+
primary: string;
|
|
101
|
+
danger: string;
|
|
102
|
+
warning: string;
|
|
103
|
+
success: string;
|
|
104
|
+
info: string;
|
|
105
|
+
};
|
|
106
|
+
outline: {
|
|
107
|
+
custom: string;
|
|
108
|
+
default: string;
|
|
109
|
+
primary: string;
|
|
110
|
+
danger: string;
|
|
111
|
+
warning: string;
|
|
112
|
+
success: string;
|
|
113
|
+
info: string;
|
|
114
|
+
};
|
|
115
|
+
ghost: {
|
|
116
|
+
custom: string;
|
|
117
|
+
default: string;
|
|
118
|
+
primary: string;
|
|
119
|
+
danger: string;
|
|
120
|
+
warning: string;
|
|
121
|
+
success: string;
|
|
122
|
+
info: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
size: {
|
|
126
|
+
default: string;
|
|
127
|
+
large: string;
|
|
128
|
+
small: string;
|
|
129
|
+
};
|
|
130
|
+
rounded: string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
icons: {
|
|
134
|
+
loading: {
|
|
135
|
+
default: string;
|
|
136
|
+
dot: string;
|
|
137
|
+
clock: string;
|
|
138
|
+
pulse: string;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
}>;
|
|
142
|
+
export declare const setTheme: (value: Record<string, any>) => void;
|
|
143
|
+
export {};
|
|
@@ -1,25 +1,88 @@
|
|
|
1
1
|
import { Component } from "vue";
|
|
2
2
|
import { CssEntry } from "../common";
|
|
3
|
-
|
|
3
|
+
type ButtonCssPropStyle = {
|
|
4
|
+
default?: CssEntry;
|
|
5
|
+
custom?: CssEntry;
|
|
6
|
+
primary?: CssEntry;
|
|
7
|
+
danger?: CssEntry;
|
|
8
|
+
warning?: CssEntry;
|
|
9
|
+
info?: CssEntry;
|
|
10
|
+
success?: CssEntry;
|
|
11
|
+
};
|
|
12
|
+
export interface ButtonCssProp {
|
|
4
13
|
root?: CssEntry;
|
|
5
14
|
prefix?: CssEntry;
|
|
6
15
|
suffix?: CssEntry;
|
|
7
|
-
|
|
8
|
-
|
|
16
|
+
text?: CssEntry;
|
|
17
|
+
busy?: CssEntry;
|
|
18
|
+
disabled?: CssEntry;
|
|
19
|
+
style?: {
|
|
20
|
+
solid?: ButtonCssPropStyle;
|
|
21
|
+
outline?: ButtonCssPropStyle;
|
|
22
|
+
ghost?: ButtonCssPropStyle;
|
|
23
|
+
semi?: ButtonCssPropStyle;
|
|
24
|
+
};
|
|
25
|
+
size?: {
|
|
26
|
+
default?: CssEntry;
|
|
27
|
+
small?: CssEntry;
|
|
28
|
+
large?: CssEntry;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
32
|
+
css?: ButtonCssProp | undefined;
|
|
9
33
|
tag?: string | Component | undefined;
|
|
10
34
|
nativeType?: string | undefined;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
35
|
+
icons?: {
|
|
36
|
+
prefix?: string | undefined;
|
|
37
|
+
suffix?: string | undefined;
|
|
38
|
+
loading?: string | undefined;
|
|
39
|
+
} | undefined;
|
|
40
|
+
prefixIcon?: string | undefined;
|
|
41
|
+
suffixIcon?: string | undefined;
|
|
42
|
+
loadingIcon?: string | undefined;
|
|
43
|
+
busy?: boolean | undefined;
|
|
44
|
+
disabled?: boolean | undefined;
|
|
45
|
+
outline?: boolean | undefined;
|
|
46
|
+
ghost?: boolean | undefined;
|
|
47
|
+
semi?: boolean | undefined;
|
|
48
|
+
primary?: boolean | undefined;
|
|
49
|
+
danger?: boolean | undefined;
|
|
50
|
+
warning?: boolean | undefined;
|
|
51
|
+
success?: boolean | undefined;
|
|
52
|
+
info?: boolean | undefined;
|
|
53
|
+
custom?: boolean | undefined;
|
|
54
|
+
rounded?: boolean | undefined;
|
|
55
|
+
small?: boolean | undefined;
|
|
56
|
+
large?: boolean | undefined;
|
|
14
57
|
}>, {
|
|
15
58
|
tag: string;
|
|
16
59
|
nativeType: string;
|
|
17
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
60
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
61
|
+
css?: ButtonCssProp | undefined;
|
|
18
62
|
tag?: string | Component | undefined;
|
|
19
63
|
nativeType?: string | undefined;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
64
|
+
icons?: {
|
|
65
|
+
prefix?: string | undefined;
|
|
66
|
+
suffix?: string | undefined;
|
|
67
|
+
loading?: string | undefined;
|
|
68
|
+
} | undefined;
|
|
69
|
+
prefixIcon?: string | undefined;
|
|
70
|
+
suffixIcon?: string | undefined;
|
|
71
|
+
loadingIcon?: string | undefined;
|
|
72
|
+
busy?: boolean | undefined;
|
|
73
|
+
disabled?: boolean | undefined;
|
|
74
|
+
outline?: boolean | undefined;
|
|
75
|
+
ghost?: boolean | undefined;
|
|
76
|
+
semi?: boolean | undefined;
|
|
77
|
+
primary?: boolean | undefined;
|
|
78
|
+
danger?: boolean | undefined;
|
|
79
|
+
warning?: boolean | undefined;
|
|
80
|
+
success?: boolean | undefined;
|
|
81
|
+
info?: boolean | undefined;
|
|
82
|
+
custom?: boolean | undefined;
|
|
83
|
+
rounded?: boolean | undefined;
|
|
84
|
+
small?: boolean | undefined;
|
|
85
|
+
large?: boolean | undefined;
|
|
23
86
|
}>, {
|
|
24
87
|
tag: string;
|
|
25
88
|
nativeType: string;
|
|
@@ -30,17 +93,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
30
93
|
prefix?(_: {}): any;
|
|
31
94
|
default?(_: {}): any;
|
|
32
95
|
suffix?(_: {}): any;
|
|
96
|
+
busy?(_: {}): any;
|
|
33
97
|
}>;
|
|
34
98
|
export default _default;
|
|
35
|
-
|
|
36
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
37
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
-
} : {
|
|
40
|
-
type: import('vue').PropType<T[K]>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
99
|
+
|
|
44
100
|
type __VLS_WithDefaults<P, D> = {
|
|
45
101
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
46
102
|
default: D[K];
|
|
@@ -54,3 +110,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
54
110
|
$slots: S;
|
|
55
111
|
};
|
|
56
112
|
};
|
|
113
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
114
|
+
type __VLS_TypePropsToOption<T> = {
|
|
115
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
116
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
117
|
+
} : {
|
|
118
|
+
type: import('vue').PropType<T[K]>;
|
|
119
|
+
required: true;
|
|
120
|
+
};
|
|
121
|
+
};
|
package/dist/components/HIcon.js
CHANGED
|
@@ -1,25 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}>, {
|
|
14
|
-
size: number;
|
|
15
|
-
}>>>, {
|
|
16
|
-
size: number;
|
|
17
|
-
}, {}>, {
|
|
18
|
-
default?(_: {}): any;
|
|
19
|
-
}>;
|
|
1
|
+
import { IconifyIcon, IconifyRenderMode } from "@iconify/vue";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
3
|
+
icon: string | IconifyIcon;
|
|
4
|
+
mode?: IconifyRenderMode | undefined;
|
|
5
|
+
color?: string | undefined;
|
|
6
|
+
flip?: string | undefined;
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
8
|
+
icon: string | IconifyIcon;
|
|
9
|
+
mode?: IconifyRenderMode | undefined;
|
|
10
|
+
color?: string | undefined;
|
|
11
|
+
flip?: string | undefined;
|
|
12
|
+
}>>>, {}, {}>;
|
|
20
13
|
export default _default;
|
|
21
14
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
-
type
|
|
15
|
+
type __VLS_TypePropsToOption<T> = {
|
|
23
16
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
17
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
18
|
} : {
|
|
@@ -27,16 +20,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
27
20
|
required: true;
|
|
28
21
|
};
|
|
29
22
|
};
|
|
30
|
-
type __VLS_WithDefaults<P, D> = {
|
|
31
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
32
|
-
default: D[K];
|
|
33
|
-
}> : P[K];
|
|
34
|
-
};
|
|
35
|
-
type __VLS_Prettify<T> = {
|
|
36
|
-
[K in keyof T]: T[K];
|
|
37
|
-
} & {};
|
|
38
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
-
new (): {
|
|
40
|
-
$slots: S;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
@@ -1,14 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
globalCss: import("vue").Ref<{
|
|
3
|
-
[x: string]: any;
|
|
4
|
-
icon: {
|
|
5
|
-
root: string;
|
|
6
|
-
};
|
|
7
|
-
button: {
|
|
8
|
-
root: string;
|
|
9
|
-
prefix: import("../common").CssEntry;
|
|
10
|
-
suffix: import("../common").CssEntry;
|
|
11
|
-
};
|
|
12
|
-
}>;
|
|
13
|
-
setGlobalCss: (value: Record<string, any>) => void;
|
|
14
|
-
};
|
|
1
|
+
export * from './theme';
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export declare const useHeartTheme: () => {
|
|
2
|
+
theme: import("vue").Ref<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
css: {
|
|
5
|
+
icon: {
|
|
6
|
+
root: string;
|
|
7
|
+
};
|
|
8
|
+
button: {
|
|
9
|
+
root: string;
|
|
10
|
+
prefix: string;
|
|
11
|
+
suffix: string;
|
|
12
|
+
text: string;
|
|
13
|
+
busy: string;
|
|
14
|
+
disabled: string;
|
|
15
|
+
style: {
|
|
16
|
+
solid: {
|
|
17
|
+
custom: string;
|
|
18
|
+
default: string;
|
|
19
|
+
primary: string;
|
|
20
|
+
danger: string;
|
|
21
|
+
warning: string;
|
|
22
|
+
success: string;
|
|
23
|
+
info: string;
|
|
24
|
+
};
|
|
25
|
+
semi: {
|
|
26
|
+
custom: string;
|
|
27
|
+
default: string;
|
|
28
|
+
primary: string;
|
|
29
|
+
danger: string;
|
|
30
|
+
warning: string;
|
|
31
|
+
success: string;
|
|
32
|
+
info: string;
|
|
33
|
+
};
|
|
34
|
+
outline: {
|
|
35
|
+
custom: string;
|
|
36
|
+
default: string;
|
|
37
|
+
primary: string;
|
|
38
|
+
danger: string;
|
|
39
|
+
warning: string;
|
|
40
|
+
success: string;
|
|
41
|
+
info: string;
|
|
42
|
+
};
|
|
43
|
+
ghost: {
|
|
44
|
+
custom: string;
|
|
45
|
+
default: string;
|
|
46
|
+
primary: string;
|
|
47
|
+
danger: string;
|
|
48
|
+
warning: string;
|
|
49
|
+
success: string;
|
|
50
|
+
info: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
size: {
|
|
54
|
+
default: string;
|
|
55
|
+
large: string;
|
|
56
|
+
small: string;
|
|
57
|
+
};
|
|
58
|
+
rounded: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
icons: {
|
|
62
|
+
loading: {
|
|
63
|
+
default: string;
|
|
64
|
+
dot: string;
|
|
65
|
+
clock: string;
|
|
66
|
+
pulse: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
}>;
|
|
70
|
+
setTheme: (value: Record<string, any>) => void;
|
|
71
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { type App } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { type HeartTheme } from "./common";
|
|
3
|
+
import "@unocss/reset/tailwind.css";
|
|
3
4
|
export * from "./components";
|
|
4
5
|
export * from "./composables";
|
|
5
6
|
export * from "./common";
|
|
6
7
|
export * from "./utils";
|
|
8
|
+
export interface HeartPluginOptions {
|
|
9
|
+
theme: HeartTheme;
|
|
10
|
+
}
|
|
7
11
|
export declare const HeartUI: {
|
|
8
|
-
install: (app: App, options?:
|
|
9
|
-
css: Record<string, Record<string, CssEntry>>;
|
|
10
|
-
}) => void;
|
|
12
|
+
install: (app: App, options?: HeartPluginOptions) => void;
|
|
11
13
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import * as m from "./src/components/index.js";
|
|
2
|
+
import { setTheme as f, theme as i } from "./src/common/theme.js";
|
|
3
|
+
import { HEART_GLOBAL_KEY as a } from "./src/common/symbols.js";
|
|
4
|
+
import "./node_modules/.pnpm/@unocss_reset@0.60.3/node_modules/@unocss/reset/tailwind.css.js";
|
|
5
|
+
import { useHeartTheme as l } from "./src/composables/theme.js";
|
|
6
|
+
import { testUtil as d } from "./src/utils/index.js";
|
|
7
|
+
import { default as E } from "./src/components/HButton.vue.js";
|
|
8
|
+
import { default as A } from "./src/components/HIcon.vue.js";
|
|
9
|
+
const x = {
|
|
10
|
+
install: (e, t) => {
|
|
11
|
+
t && f(t.theme), e.provide(a, { theme: i }), Object.entries(m).forEach(([o, r]) => {
|
|
12
|
+
e.component(o, r);
|
|
10
13
|
});
|
|
11
14
|
}
|
|
12
15
|
};
|
|
13
16
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
E as HButton,
|
|
18
|
+
a as HEART_GLOBAL_KEY,
|
|
19
|
+
A as HIcon,
|
|
20
|
+
x as HeartUI,
|
|
21
|
+
f as setTheme,
|
|
22
|
+
d as testUtil,
|
|
23
|
+
i as theme,
|
|
24
|
+
l as useHeartTheme
|
|
21
25
|
};
|
package/dist/node_modules/.pnpm/@unocss_reset@0.60.3/node_modules/@unocss/reset/tailwind.css.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/dist/nuxt/plugin.d.ts
CHANGED
|
@@ -1,30 +1,146 @@
|
|
|
1
1
|
declare const _default: import("nuxt/app").Plugin<{
|
|
2
2
|
heart: {
|
|
3
|
-
|
|
3
|
+
theme: {
|
|
4
4
|
[x: string]: any;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
css: {
|
|
6
|
+
icon: {
|
|
7
|
+
root: string;
|
|
8
|
+
};
|
|
9
|
+
button: {
|
|
10
|
+
root: string;
|
|
11
|
+
prefix: string;
|
|
12
|
+
suffix: string;
|
|
13
|
+
text: string;
|
|
14
|
+
busy: string;
|
|
15
|
+
disabled: string;
|
|
16
|
+
style: {
|
|
17
|
+
solid: {
|
|
18
|
+
custom: string;
|
|
19
|
+
default: string;
|
|
20
|
+
primary: string;
|
|
21
|
+
danger: string;
|
|
22
|
+
warning: string;
|
|
23
|
+
success: string;
|
|
24
|
+
info: string;
|
|
25
|
+
};
|
|
26
|
+
semi: {
|
|
27
|
+
custom: string;
|
|
28
|
+
default: string;
|
|
29
|
+
primary: string;
|
|
30
|
+
danger: string;
|
|
31
|
+
warning: string;
|
|
32
|
+
success: string;
|
|
33
|
+
info: string;
|
|
34
|
+
};
|
|
35
|
+
outline: {
|
|
36
|
+
custom: string;
|
|
37
|
+
default: string;
|
|
38
|
+
primary: string;
|
|
39
|
+
danger: string;
|
|
40
|
+
warning: string;
|
|
41
|
+
success: string;
|
|
42
|
+
info: string;
|
|
43
|
+
};
|
|
44
|
+
ghost: {
|
|
45
|
+
custom: string;
|
|
46
|
+
default: string;
|
|
47
|
+
primary: string;
|
|
48
|
+
danger: string;
|
|
49
|
+
warning: string;
|
|
50
|
+
success: string;
|
|
51
|
+
info: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
size: {
|
|
55
|
+
default: string;
|
|
56
|
+
large: string;
|
|
57
|
+
small: string;
|
|
58
|
+
};
|
|
59
|
+
rounded: string;
|
|
60
|
+
};
|
|
7
61
|
};
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
62
|
+
icons: {
|
|
63
|
+
loading: {
|
|
64
|
+
default: string;
|
|
65
|
+
dot: string;
|
|
66
|
+
clock: string;
|
|
67
|
+
pulse: string;
|
|
68
|
+
};
|
|
12
69
|
};
|
|
13
70
|
};
|
|
71
|
+
setTheme: (value: Record<string, any>) => void;
|
|
14
72
|
};
|
|
15
73
|
}> & import("nuxt/app").ObjectPlugin<{
|
|
16
74
|
heart: {
|
|
17
|
-
|
|
75
|
+
theme: {
|
|
18
76
|
[x: string]: any;
|
|
19
|
-
|
|
20
|
-
|
|
77
|
+
css: {
|
|
78
|
+
icon: {
|
|
79
|
+
root: string;
|
|
80
|
+
};
|
|
81
|
+
button: {
|
|
82
|
+
root: string;
|
|
83
|
+
prefix: string;
|
|
84
|
+
suffix: string;
|
|
85
|
+
text: string;
|
|
86
|
+
busy: string;
|
|
87
|
+
disabled: string;
|
|
88
|
+
style: {
|
|
89
|
+
solid: {
|
|
90
|
+
custom: string;
|
|
91
|
+
default: string;
|
|
92
|
+
primary: string;
|
|
93
|
+
danger: string;
|
|
94
|
+
warning: string;
|
|
95
|
+
success: string;
|
|
96
|
+
info: string;
|
|
97
|
+
};
|
|
98
|
+
semi: {
|
|
99
|
+
custom: string;
|
|
100
|
+
default: string;
|
|
101
|
+
primary: string;
|
|
102
|
+
danger: string;
|
|
103
|
+
warning: string;
|
|
104
|
+
success: string;
|
|
105
|
+
info: string;
|
|
106
|
+
};
|
|
107
|
+
outline: {
|
|
108
|
+
custom: string;
|
|
109
|
+
default: string;
|
|
110
|
+
primary: string;
|
|
111
|
+
danger: string;
|
|
112
|
+
warning: string;
|
|
113
|
+
success: string;
|
|
114
|
+
info: string;
|
|
115
|
+
};
|
|
116
|
+
ghost: {
|
|
117
|
+
custom: string;
|
|
118
|
+
default: string;
|
|
119
|
+
primary: string;
|
|
120
|
+
danger: string;
|
|
121
|
+
warning: string;
|
|
122
|
+
success: string;
|
|
123
|
+
info: string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
size: {
|
|
127
|
+
default: string;
|
|
128
|
+
large: string;
|
|
129
|
+
small: string;
|
|
130
|
+
};
|
|
131
|
+
rounded: string;
|
|
132
|
+
};
|
|
21
133
|
};
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
134
|
+
icons: {
|
|
135
|
+
loading: {
|
|
136
|
+
default: string;
|
|
137
|
+
dot: string;
|
|
138
|
+
clock: string;
|
|
139
|
+
pulse: string;
|
|
140
|
+
};
|
|
26
141
|
};
|
|
27
142
|
};
|
|
143
|
+
setTheme: (value: Record<string, any>) => void;
|
|
28
144
|
};
|
|
29
145
|
}>;
|
|
30
146
|
export default _default;
|