orion-design 0.1.48 → 0.1.49
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/Button/index.d.ts +256 -4
- package/dist/components/Button/index.js +17 -25
- package/dist/components/Button/index.js.map +1 -1
- package/dist/components/Message/index.d.ts +27 -0
- package/dist/components/Message/index.js +16 -0
- package/dist/components/Message/index.js.map +1 -0
- package/dist/components/MessageBox/index.d.ts +13 -0
- package/dist/components/MessageBox/index.js +27 -0
- package/dist/components/MessageBox/index.js.map +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +38 -34
- package/dist/components/index.js.map +1 -1
- package/dist/index.js +24 -20
- package/dist/index.js.map +1 -1
- package/dist/version/version.d.ts +1 -1
- package/dist/version/version.js +1 -1
- package/dist/version/version.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/Button/Button.vue.d.ts +0 -16
@@ -1,21 +1,273 @@
|
|
1
1
|
import { default as ButtonGroup } from './ButtonGroup/ButtonGroup.vue';
|
2
|
-
declare const _default: import('../_util').SFCWithInstall<{
|
3
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<
|
2
|
+
declare const _default: import('../_util').SFCWithInstall<import('element-plus/es/utils/index.mjs').SFCWithInstall<{
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
4
|
+
readonly size: {
|
5
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
6
|
+
readonly required: false;
|
7
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
8
|
+
__epPropKey: true;
|
9
|
+
};
|
10
|
+
readonly disabled: BooleanConstructor;
|
11
|
+
readonly type: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown, "", boolean>;
|
12
|
+
readonly icon: {
|
13
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown>>;
|
14
|
+
readonly required: false;
|
15
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
16
|
+
__epPropKey: true;
|
17
|
+
};
|
18
|
+
readonly nativeType: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
19
|
+
readonly loading: BooleanConstructor;
|
20
|
+
readonly loadingIcon: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown, () => any, boolean>;
|
21
|
+
readonly plain: BooleanConstructor;
|
22
|
+
readonly text: BooleanConstructor;
|
23
|
+
readonly link: BooleanConstructor;
|
24
|
+
readonly bg: BooleanConstructor;
|
25
|
+
readonly autofocus: BooleanConstructor;
|
26
|
+
readonly round: BooleanConstructor;
|
27
|
+
readonly circle: BooleanConstructor;
|
28
|
+
readonly color: StringConstructor;
|
29
|
+
readonly dark: BooleanConstructor;
|
30
|
+
readonly autoInsertSpace: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
31
|
+
readonly tag: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown, "button", boolean>;
|
32
|
+
}>> & {
|
33
|
+
onClick?: ((evt: MouseEvent) => any) | undefined;
|
34
|
+
}, {
|
35
|
+
ref: import('vue').Ref<HTMLButtonElement | undefined>;
|
36
|
+
size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
|
37
|
+
type: import('vue').ComputedRef<"text" | "" | "default" | "success" | "warning" | "info" | "primary" | "danger">;
|
38
|
+
disabled: import('vue').ComputedRef<boolean>;
|
39
|
+
shouldAddSpace: import('vue').ComputedRef<boolean>;
|
40
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
41
|
+
click: (evt: MouseEvent) => void;
|
42
|
+
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
43
|
+
readonly size: {
|
44
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
45
|
+
readonly required: false;
|
46
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
47
|
+
__epPropKey: true;
|
48
|
+
};
|
49
|
+
readonly disabled: BooleanConstructor;
|
50
|
+
readonly type: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown, "", boolean>;
|
51
|
+
readonly icon: {
|
52
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown>>;
|
53
|
+
readonly required: false;
|
54
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
55
|
+
__epPropKey: true;
|
56
|
+
};
|
57
|
+
readonly nativeType: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
58
|
+
readonly loading: BooleanConstructor;
|
59
|
+
readonly loadingIcon: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown, () => any, boolean>;
|
60
|
+
readonly plain: BooleanConstructor;
|
61
|
+
readonly text: BooleanConstructor;
|
62
|
+
readonly link: BooleanConstructor;
|
63
|
+
readonly bg: BooleanConstructor;
|
64
|
+
readonly autofocus: BooleanConstructor;
|
65
|
+
readonly round: BooleanConstructor;
|
66
|
+
readonly circle: BooleanConstructor;
|
67
|
+
readonly color: StringConstructor;
|
68
|
+
readonly dark: BooleanConstructor;
|
69
|
+
readonly autoInsertSpace: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
70
|
+
readonly tag: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown, "button", boolean>;
|
71
|
+
}>> & {
|
72
|
+
onClick?: ((evt: MouseEvent) => any) | undefined;
|
73
|
+
}, {
|
74
|
+
readonly link: boolean;
|
75
|
+
readonly circle: boolean;
|
76
|
+
readonly text: boolean;
|
77
|
+
readonly disabled: boolean;
|
78
|
+
readonly round: boolean;
|
79
|
+
readonly dark: boolean;
|
80
|
+
readonly type: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
81
|
+
readonly bg: boolean;
|
82
|
+
readonly loading: boolean;
|
83
|
+
readonly autofocus: boolean;
|
84
|
+
readonly tag: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown>;
|
85
|
+
readonly plain: boolean;
|
86
|
+
readonly autoInsertSpace: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
87
|
+
readonly nativeType: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
88
|
+
readonly loadingIcon: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown>;
|
89
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
4
90
|
P: {};
|
5
91
|
B: {};
|
6
92
|
D: {};
|
7
93
|
C: {};
|
8
94
|
M: {};
|
9
95
|
Defaults: {};
|
10
|
-
}, Readonly<
|
96
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
97
|
+
readonly size: {
|
98
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
99
|
+
readonly required: false;
|
100
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
101
|
+
__epPropKey: true;
|
102
|
+
};
|
103
|
+
readonly disabled: BooleanConstructor;
|
104
|
+
readonly type: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown, "", boolean>;
|
105
|
+
readonly icon: {
|
106
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown>>;
|
107
|
+
readonly required: false;
|
108
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
109
|
+
__epPropKey: true;
|
110
|
+
};
|
111
|
+
readonly nativeType: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
112
|
+
readonly loading: BooleanConstructor;
|
113
|
+
readonly loadingIcon: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown, () => any, boolean>;
|
114
|
+
readonly plain: BooleanConstructor;
|
115
|
+
readonly text: BooleanConstructor;
|
116
|
+
readonly link: BooleanConstructor;
|
117
|
+
readonly bg: BooleanConstructor;
|
118
|
+
readonly autofocus: BooleanConstructor;
|
119
|
+
readonly round: BooleanConstructor;
|
120
|
+
readonly circle: BooleanConstructor;
|
121
|
+
readonly color: StringConstructor;
|
122
|
+
readonly dark: BooleanConstructor;
|
123
|
+
readonly autoInsertSpace: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
124
|
+
readonly tag: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown, "button", boolean>;
|
125
|
+
}>> & {
|
126
|
+
onClick?: ((evt: MouseEvent) => any) | undefined;
|
127
|
+
}, {
|
128
|
+
ref: import('vue').Ref<HTMLButtonElement | undefined>;
|
129
|
+
size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
|
130
|
+
type: import('vue').ComputedRef<"text" | "" | "default" | "success" | "warning" | "info" | "primary" | "danger">;
|
131
|
+
disabled: import('vue').ComputedRef<boolean>;
|
132
|
+
shouldAddSpace: import('vue').ComputedRef<boolean>;
|
133
|
+
}, {}, {}, {}, {
|
134
|
+
readonly link: boolean;
|
135
|
+
readonly circle: boolean;
|
136
|
+
readonly text: boolean;
|
137
|
+
readonly disabled: boolean;
|
138
|
+
readonly round: boolean;
|
139
|
+
readonly dark: boolean;
|
140
|
+
readonly type: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
141
|
+
readonly bg: boolean;
|
142
|
+
readonly loading: boolean;
|
143
|
+
readonly autofocus: boolean;
|
144
|
+
readonly tag: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown>;
|
145
|
+
readonly plain: boolean;
|
146
|
+
readonly autoInsertSpace: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
147
|
+
readonly nativeType: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
148
|
+
readonly loadingIcon: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown>;
|
149
|
+
}>;
|
11
150
|
__isFragment?: never;
|
12
151
|
__isTeleport?: never;
|
13
152
|
__isSuspense?: never;
|
14
|
-
} & import('vue').ComponentOptionsBase<Readonly<
|
153
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
154
|
+
readonly size: {
|
155
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
156
|
+
readonly required: false;
|
157
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
158
|
+
__epPropKey: true;
|
159
|
+
};
|
160
|
+
readonly disabled: BooleanConstructor;
|
161
|
+
readonly type: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown, "", boolean>;
|
162
|
+
readonly icon: {
|
163
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown>>;
|
164
|
+
readonly required: false;
|
165
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
166
|
+
__epPropKey: true;
|
167
|
+
};
|
168
|
+
readonly nativeType: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
169
|
+
readonly loading: BooleanConstructor;
|
170
|
+
readonly loadingIcon: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown, () => any, boolean>;
|
171
|
+
readonly plain: BooleanConstructor;
|
172
|
+
readonly text: BooleanConstructor;
|
173
|
+
readonly link: BooleanConstructor;
|
174
|
+
readonly bg: BooleanConstructor;
|
175
|
+
readonly autofocus: BooleanConstructor;
|
176
|
+
readonly round: BooleanConstructor;
|
177
|
+
readonly circle: BooleanConstructor;
|
178
|
+
readonly color: StringConstructor;
|
179
|
+
readonly dark: BooleanConstructor;
|
180
|
+
readonly autoInsertSpace: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
181
|
+
readonly tag: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown, "button", boolean>;
|
182
|
+
}>> & {
|
183
|
+
onClick?: ((evt: MouseEvent) => any) | undefined;
|
184
|
+
}, {
|
185
|
+
ref: import('vue').Ref<HTMLButtonElement | undefined>;
|
186
|
+
size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
|
187
|
+
type: import('vue').ComputedRef<"text" | "" | "default" | "success" | "warning" | "info" | "primary" | "danger">;
|
188
|
+
disabled: import('vue').ComputedRef<boolean>;
|
189
|
+
shouldAddSpace: import('vue').ComputedRef<boolean>;
|
190
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
191
|
+
click: (evt: MouseEvent) => void;
|
192
|
+
}, string, {
|
193
|
+
readonly link: boolean;
|
194
|
+
readonly circle: boolean;
|
195
|
+
readonly text: boolean;
|
196
|
+
readonly disabled: boolean;
|
197
|
+
readonly round: boolean;
|
198
|
+
readonly dark: boolean;
|
199
|
+
readonly type: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
200
|
+
readonly bg: boolean;
|
201
|
+
readonly loading: boolean;
|
202
|
+
readonly autofocus: boolean;
|
203
|
+
readonly tag: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown>;
|
204
|
+
readonly plain: boolean;
|
205
|
+
readonly autoInsertSpace: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
206
|
+
readonly nativeType: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
207
|
+
readonly loadingIcon: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown>;
|
208
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
15
209
|
$slots: {
|
210
|
+
loading?(_: {}): any;
|
211
|
+
icon?(_: {}): any;
|
16
212
|
default?(_: {}): any;
|
17
213
|
};
|
18
214
|
})> & {
|
215
|
+
ButtonGroup: {
|
216
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
217
|
+
readonly size: {
|
218
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
219
|
+
readonly required: false;
|
220
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
221
|
+
__epPropKey: true;
|
222
|
+
};
|
223
|
+
readonly type: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown, "", boolean>;
|
224
|
+
}>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
225
|
+
readonly size: {
|
226
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
227
|
+
readonly required: false;
|
228
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
229
|
+
__epPropKey: true;
|
230
|
+
};
|
231
|
+
readonly type: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown, "", boolean>;
|
232
|
+
}>>, {
|
233
|
+
readonly type: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
234
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
235
|
+
P: {};
|
236
|
+
B: {};
|
237
|
+
D: {};
|
238
|
+
C: {};
|
239
|
+
M: {};
|
240
|
+
Defaults: {};
|
241
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
242
|
+
readonly size: {
|
243
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
244
|
+
readonly required: false;
|
245
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
246
|
+
__epPropKey: true;
|
247
|
+
};
|
248
|
+
readonly type: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown, "", boolean>;
|
249
|
+
}>>, {}, {}, {}, {}, {
|
250
|
+
readonly type: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
251
|
+
}>;
|
252
|
+
__isFragment?: never;
|
253
|
+
__isTeleport?: never;
|
254
|
+
__isSuspense?: never;
|
255
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
256
|
+
readonly size: {
|
257
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
258
|
+
readonly required: false;
|
259
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
260
|
+
__epPropKey: true;
|
261
|
+
};
|
262
|
+
readonly type: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown, "", boolean>;
|
263
|
+
}>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, string, {
|
264
|
+
readonly type: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
265
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
266
|
+
$slots: {
|
267
|
+
default?(_: {}): any;
|
268
|
+
};
|
269
|
+
});
|
270
|
+
}> & {
|
19
271
|
ButtonGroup: typeof ButtonGroup;
|
20
272
|
};
|
21
273
|
export default _default;
|
@@ -1,20 +1,9 @@
|
|
1
|
-
import "lodash-es";
|
2
|
-
import { defineComponent as
|
1
|
+
import { cloneDeep as r } from "lodash-es";
|
2
|
+
import { defineComponent as l, computed as u, openBlock as a, createElementBlock as i, normalizeStyle as m, createVNode as p, unref as s, withCtx as c, renderSlot as f } from "vue";
|
3
3
|
import { withInstall as d } from "../_util/vue/install.js";
|
4
|
-
import { ElButton as
|
5
|
-
import { S as
|
6
|
-
const
|
7
|
-
name: "OButton",
|
8
|
-
__name: "Button",
|
9
|
-
setup(e) {
|
10
|
-
return (t, o) => t.$slots.default ? (r(), l(n(u), { key: 0 }, {
|
11
|
-
default: s(() => [
|
12
|
-
i(t.$slots, "default")
|
13
|
-
]),
|
14
|
-
_: 3
|
15
|
-
})) : (r(), l(n(u), { key: 1 }));
|
16
|
-
}
|
17
|
-
}), _ = /* @__PURE__ */ a({
|
4
|
+
import { ElButton as g } from "element-plus";
|
5
|
+
import { S as B } from "../../index-BbsXWo7C.js";
|
6
|
+
const y = /* @__PURE__ */ l({
|
18
7
|
name: "OButtongroup",
|
19
8
|
inheritAttrs: !1,
|
20
9
|
__name: "ButtonGroup",
|
@@ -24,25 +13,28 @@ const B = /* @__PURE__ */ a({
|
|
24
13
|
style: {}
|
25
14
|
},
|
26
15
|
setup(e) {
|
27
|
-
const
|
16
|
+
const n = u(() => ({
|
28
17
|
textAlign: e.align,
|
29
18
|
...e.style
|
30
19
|
}));
|
31
|
-
return (o,
|
32
|
-
style:
|
20
|
+
return (o, S) => (a(), i("div", {
|
21
|
+
style: m(n.value)
|
33
22
|
}, [
|
34
|
-
|
35
|
-
default:
|
36
|
-
|
23
|
+
p(s(B), { gutter: o.gutter }, {
|
24
|
+
default: c(() => [
|
25
|
+
f(o.$slots, "default")
|
37
26
|
]),
|
38
27
|
_: 3
|
39
28
|
}, 8, ["gutter"])
|
40
29
|
], 4));
|
41
30
|
}
|
42
|
-
}),
|
43
|
-
|
31
|
+
}), t = r(g);
|
32
|
+
t.name = "OButton";
|
33
|
+
t.__name = "OButton";
|
34
|
+
const v = d(t, {
|
35
|
+
ButtonGroup: y
|
44
36
|
});
|
45
37
|
export {
|
46
|
-
|
38
|
+
v as default
|
47
39
|
};
|
48
40
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/Button/ButtonGroup/ButtonGroup.vue","../../../src/components/Button/index.ts"],"sourcesContent":["<template>\r\n <div :style=\"normalizedStyle\">\r\n <space :gutter=\"gutter\">\r\n <slot></slot>\r\n </space>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { computed, CSSProperties } from 'vue'\r\nimport type { ButtonGroupProps } from './ButtonGroup'\r\nimport Space from '../../Space'\r\n\r\ndefineOptions({ name: 'OButtongroup', inheritAttrs: false })\r\n\r\nconst { gutter, align = 'right', style } = defineProps<ButtonGroupProps>()\r\nconst normalizedStyle = computed<CSSProperties>(() => {\r\n return {\r\n textAlign: align,\r\n ...style\r\n }\r\n})\r\n</script>\r\n","import { withInstall } from '../_util'\r\
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/Button/ButtonGroup/ButtonGroup.vue","../../../src/components/Button/index.ts"],"sourcesContent":["<template>\r\n <div :style=\"normalizedStyle\">\r\n <space :gutter=\"gutter\">\r\n <slot></slot>\r\n </space>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { computed, CSSProperties } from 'vue'\r\nimport type { ButtonGroupProps } from './ButtonGroup'\r\nimport Space from '../../Space'\r\n\r\ndefineOptions({ name: 'OButtongroup', inheritAttrs: false })\r\n\r\nconst { gutter, align = 'right', style } = defineProps<ButtonGroupProps>()\r\nconst normalizedStyle = computed<CSSProperties>(() => {\r\n return {\r\n textAlign: align,\r\n ...style\r\n }\r\n})\r\n</script>\r\n","import { withInstall } from '../_util'\r\nimport { ElButton } from 'element-plus'\r\nimport { cloneDeep } from 'lodash-es'\r\n\r\n// import Button from './Button.vue'\r\nconst Button = cloneDeep(ElButton)\r\nButton.name = 'OButton'\r\nButton.__name = 'OButton'\r\n\r\nimport ButtonGroup from './ButtonGroup/ButtonGroup.vue'\r\n\r\nexport default withInstall<typeof Button, { ButtonGroup: typeof ButtonGroup }>(Button, {\r\n ButtonGroup\r\n})\r\n"],"names":["normalizedStyle","computed","__props","Button","cloneDeep","ElButton","index","withInstall","ButtonGroup"],"mappings":";;;;;;;;;;;;;;;AAgBM,UAAAA,IAAkBC,EAAwB,OACvC;AAAA,MACL,WAAWC,EAAA;AAAA,MACX,GAAGA;MAEN;;;;;;;;;;;;IChBKC,IAASC,EAAUC,CAAQ;AACjCF,EAAO,OAAO;AACdA,EAAO,SAAS;AAIhB,MAAeG,IAAAC,EAAgEJ,GAAQ;AAAA,EAAA,aACrFK;AACF,CAAC;"}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
declare const messageTypes: readonly ["success", "info", "warning", "error"];
|
2
|
+
export type messageType = (typeof messageTypes)[number];
|
3
|
+
interface MessageOptions {
|
4
|
+
message?: string;
|
5
|
+
type?: messageType;
|
6
|
+
duration?: number;
|
7
|
+
showClose?: boolean;
|
8
|
+
}
|
9
|
+
export type MessageParams = MessageOptions | MessageOptions['message'];
|
10
|
+
type MessageOptionsWithType = Omit<MessageOptions, 'type'>;
|
11
|
+
export type MessageParamsWithType = MessageOptionsWithType | MessageOptions['message'];
|
12
|
+
export interface MessageHandler {
|
13
|
+
close: () => void;
|
14
|
+
}
|
15
|
+
type MessageFn = {
|
16
|
+
(options?: MessageParams): MessageHandler;
|
17
|
+
closeAll(type?: messageType): void;
|
18
|
+
};
|
19
|
+
type MessageTypedFn = (options?: MessageParamsWithType) => MessageHandler;
|
20
|
+
interface Message extends MessageFn {
|
21
|
+
success: MessageTypedFn;
|
22
|
+
warning: MessageTypedFn;
|
23
|
+
info: MessageTypedFn;
|
24
|
+
error: MessageTypedFn;
|
25
|
+
}
|
26
|
+
export declare const OMessage: Message;
|
27
|
+
export {};
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { ElMessage as o } from "element-plus";
|
2
|
+
import { isString as t } from "lodash-es";
|
3
|
+
const i = ["success", "info", "warning", "error"], e = (s) => o(r(s)), r = (s) => ({
|
4
|
+
showClose: !0,
|
5
|
+
...!s || t(s) ? { message: s } : s,
|
6
|
+
plain: !0
|
7
|
+
});
|
8
|
+
i.forEach((s) => {
|
9
|
+
e[s] = (n) => o[s](r(n));
|
10
|
+
});
|
11
|
+
e.closeAll = o.closeAll;
|
12
|
+
const g = e;
|
13
|
+
export {
|
14
|
+
g as OMessage
|
15
|
+
};
|
16
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/Message/index.ts"],"sourcesContent":["import { ElMessage } from 'element-plus'\r\nimport { isString } from 'lodash-es'\r\n\r\nconst messageTypes = ['success', 'info', 'warning', 'error'] as const\r\n\r\nexport type messageType = (typeof messageTypes)[number]\r\n\r\ninterface MessageOptions {\r\n message?: string\r\n type?: messageType\r\n duration?: number\r\n showClose?: boolean\r\n}\r\n\r\nexport type MessageParams = MessageOptions | MessageOptions['message']\r\n\r\ntype MessageOptionsWithType = Omit<MessageOptions, 'type'>\r\n\r\nexport type MessageParamsWithType = MessageOptionsWithType | MessageOptions['message']\r\n\r\nexport interface MessageHandler {\r\n close: () => void\r\n}\r\n\r\ntype MessageFn = {\r\n (options?: MessageParams): MessageHandler\r\n closeAll(type?: messageType): void\r\n}\r\n\r\ntype MessageTypedFn = (options?: MessageParamsWithType) => MessageHandler\r\n\r\ninterface Message extends MessageFn {\r\n success: MessageTypedFn\r\n warning: MessageTypedFn\r\n info: MessageTypedFn\r\n error: MessageTypedFn\r\n}\r\n\r\nconst message: MessageFn & Partial<Message> = (options) => {\r\n return ElMessage(normalizeOptions(options))\r\n}\r\n\r\nconst normalizeOptions = (params?: MessageParams) => {\r\n const options = !params || isString(params) ? { message: params } : params\r\n return {\r\n showClose: true,\r\n ...options,\r\n plain: true,\r\n }\r\n}\r\n\r\nmessageTypes.forEach((type) => {\r\n message[type] = (options) => ElMessage[type](normalizeOptions(options))\r\n})\r\n\r\nmessage.closeAll = ElMessage.closeAll\r\n\r\n// TODO 全局显示时间\r\nexport const OMessage = message as Message\r\n"],"names":["messageTypes","message","options","ElMessage","normalizeOptions","params","isString","type","OMessage"],"mappings":";;AAGA,MAAMA,IAAe,CAAC,WAAW,QAAQ,WAAW,OAAO,GAmCrDC,IAAwC,CAACC,MACtCC,EAAUC,EAAiBF,CAAO,CAAC,GAGtCE,IAAmB,CAACC,OAEjB;AAAA,EACL,WAAW;AAAA,EACX,GAHc,CAACA,KAAUC,EAASD,CAAM,IAAI,EAAE,SAASA,EAAW,IAAAA;AAAA,EAIlE,OAAO;AAAA;AAIXL,EAAa,QAAQ,CAACO,MAAS;AACrB,EAAAN,EAAAM,CAAI,IAAI,CAACL,MAAYC,EAAUI,CAAI,EAAEH,EAAiBF,CAAO,CAAC;AACxE,CAAC;AAEDD,EAAQ,WAAWE,EAAU;AAGtB,MAAMK,IAAWP;"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
type MessageType = '' | 'success' | 'warning' | 'info' | 'error';
|
2
|
+
export interface MessageBoxOptions {
|
3
|
+
type?: MessageType;
|
4
|
+
showClose?: boolean;
|
5
|
+
}
|
6
|
+
type MessageBoxAlertMethod = ((message: string, options?: MessageBoxOptions) => Promise<void>) & ((message: string, title: string | MessageBoxOptions, options?: MessageBoxOptions) => Promise<void>);
|
7
|
+
type MessageBoxConfirmMethod = ((message: string, options?: MessageBoxOptions) => Promise<boolean>) & ((message: string, title: string | MessageBoxOptions, options?: MessageBoxOptions) => Promise<boolean>);
|
8
|
+
interface MessageBox {
|
9
|
+
alert: MessageBoxAlertMethod;
|
10
|
+
confirm: MessageBoxConfirmMethod;
|
11
|
+
}
|
12
|
+
export declare const OMessageBox: MessageBox;
|
13
|
+
export {};
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { ElMessageBox as t } from "element-plus";
|
2
|
+
import { isObject as c, isUndefined as f } from "lodash-es";
|
3
|
+
const l = {
|
4
|
+
alert: async (s, e, a) => {
|
5
|
+
let r = "";
|
6
|
+
c(e) ? (a = e, r = "") : f(e) ? r = "" : r = e;
|
7
|
+
try {
|
8
|
+
await t.alert(s, r, { ...a, draggable: !0 });
|
9
|
+
return;
|
10
|
+
} catch {
|
11
|
+
return;
|
12
|
+
}
|
13
|
+
},
|
14
|
+
confirm: async (s, e, a) => {
|
15
|
+
let r = "";
|
16
|
+
c(e) ? (a = e, r = "") : f(e) ? r = "" : r = e;
|
17
|
+
try {
|
18
|
+
return await t.confirm(s, r, { ...a, draggable: !0 }), !0;
|
19
|
+
} catch {
|
20
|
+
return !1;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}, i = l;
|
24
|
+
export {
|
25
|
+
i as OMessageBox
|
26
|
+
};
|
27
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/MessageBox/index.ts"],"sourcesContent":["import { ElMessageBox } from 'element-plus'\r\nimport { isObject, isUndefined } from 'lodash-es'\r\n\r\ntype MessageType = '' | 'success' | 'warning' | 'info' | 'error'\r\n\r\nexport interface MessageBoxOptions {\r\n type?: MessageType\r\n showClose?: boolean\r\n}\r\n\r\ntype MessageBoxAlertMethod = ((message: string, options?: MessageBoxOptions) => Promise<void>) &\r\n ((message: string, title: string | MessageBoxOptions, options?: MessageBoxOptions) => Promise<void>)\r\n\r\ntype MessageBoxConfirmMethod = ((message: string, options?: MessageBoxOptions) => Promise<boolean>) &\r\n ((message: string, title: string | MessageBoxOptions, options?: MessageBoxOptions) => Promise<boolean>)\r\n\r\ninterface MessageBox {\r\n alert: MessageBoxAlertMethod\r\n confirm: MessageBoxConfirmMethod\r\n}\r\n\r\nconst messagebox = {\r\n alert: async (message: string, title?: string | MessageBoxOptions, options?: MessageBoxOptions) => {\r\n let titleOrOpts = ''\r\n if (isObject(title)) {\r\n options = title as MessageBoxOptions\r\n titleOrOpts = ''\r\n } else if (isUndefined(title)) {\r\n titleOrOpts = ''\r\n } else {\r\n titleOrOpts = title as string\r\n }\r\n\r\n try {\r\n await ElMessageBox.alert(message, titleOrOpts, { ...options, draggable: true })\r\n return\r\n } catch (e) {\r\n return\r\n }\r\n },\r\n confirm: async (message: string, title?: string | MessageBoxOptions, options?: MessageBoxOptions) => {\r\n let titleOrOpts = ''\r\n if (isObject(title)) {\r\n options = title as MessageBoxOptions\r\n titleOrOpts = ''\r\n } else if (isUndefined(title)) {\r\n titleOrOpts = ''\r\n } else {\r\n titleOrOpts = title as string\r\n }\r\n\r\n try {\r\n await ElMessageBox.confirm(message, titleOrOpts, { ...options, draggable: true })\r\n return true\r\n } catch (e) {\r\n return false\r\n }\r\n },\r\n}\r\n\r\nexport const OMessageBox = messagebox as MessageBox\r\n"],"names":["messagebox","message","title","options","titleOrOpts","isObject","isUndefined","ElMessageBox","OMessageBox"],"mappings":";;AAqBA,MAAMA,IAAa;AAAA,EACjB,OAAO,OAAOC,GAAiBC,GAAoCC,MAAgC;AACjG,QAAIC,IAAc;AACd,IAAAC,EAASH,CAAK,KACNC,IAAAD,GACIE,IAAA,MACLE,EAAYJ,CAAK,IACZE,IAAA,KAEAA,IAAAF;AAGZ,QAAA;AACI,YAAAK,EAAa,MAAMN,GAASG,GAAa,EAAE,GAAGD,GAAS,WAAW,GAAA,CAAM;AAC9E;AAAA,YACU;AACV;AAAA,IACF;AAAA,EACF;AAAA,EACA,SAAS,OAAOF,GAAiBC,GAAoCC,MAAgC;AACnG,QAAIC,IAAc;AACd,IAAAC,EAASH,CAAK,KACNC,IAAAD,GACIE,IAAA,MACLE,EAAYJ,CAAK,IACZE,IAAA,KAEAA,IAAAF;AAGZ,QAAA;AACI,mBAAAK,EAAa,QAAQN,GAASG,GAAa,EAAE,GAAGD,GAAS,WAAW,GAAA,CAAM,GACzE;AAAA,YACG;AACH,aAAA;AAAA,IACT;AAAA,EACF;AACF,GAEaK,IAAcR;"}
|
package/dist/components/index.js
CHANGED
@@ -3,22 +3,24 @@ import { T as x } from "../components-G3_R2B-U.js";
|
|
3
3
|
import { default as p } from "./Modal/index.js";
|
4
4
|
import { default as n } from "./Form/index.js";
|
5
5
|
import { OTree as c, OTree as b } from "./Tree/index.js";
|
6
|
-
import {
|
7
|
-
import {
|
8
|
-
import {
|
9
|
-
import {
|
10
|
-
import {
|
11
|
-
import { default as
|
12
|
-
import { default as
|
13
|
-
import { default as
|
14
|
-
import { default as I } from "./
|
15
|
-
import { default as R } from "./
|
16
|
-
import { default as z } from "./
|
17
|
-
import {
|
18
|
-
import { default as H } from "./
|
19
|
-
import {
|
20
|
-
import { default as V } from "./Form/
|
21
|
-
import {
|
6
|
+
import { OMessage as i } from "./Message/index.js";
|
7
|
+
import { OMessageBox as O } from "./MessageBox/index.js";
|
8
|
+
import { default as v } from "./Button/index.js";
|
9
|
+
import { S as M } from "../index-BbsXWo7C.js";
|
10
|
+
import { Colflex as P, Flexitem as h, Rowflex as B } from "./Flex/index.js";
|
11
|
+
import { default as K } from "./Card/index.js";
|
12
|
+
import { default as j } from "./Tabs/index.js";
|
13
|
+
import { default as w } from "./Pagetable/index.js";
|
14
|
+
import { default as I } from "./Querytable/index.js";
|
15
|
+
import { default as R } from "./LovTable/index.js";
|
16
|
+
import { default as z } from "./TableSelectPagetable/index.js";
|
17
|
+
import { default as D } from "./Icon/index.js";
|
18
|
+
import { default as H } from "./Modal/useModal.js";
|
19
|
+
import { formContextKey as N } from "./Form/Form.js";
|
20
|
+
import { default as V } from "./Form/LovInput/hooks/useLov.js";
|
21
|
+
import { lovContextKey as X } from "./Form/LovInput/LovInput.js";
|
22
|
+
import { default as Z } from "./Form/TableSelect/hooks/useTableSelect.js";
|
23
|
+
import { tableSelectContext as $ } from "./Form/TableSelect/TableSelect.js";
|
22
24
|
const f = function(e) {
|
23
25
|
return Object.keys(t).forEach((r) => {
|
24
26
|
const o = t[r];
|
@@ -26,29 +28,31 @@ const f = function(e) {
|
|
26
28
|
}), e;
|
27
29
|
};
|
28
30
|
export {
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
31
|
+
v as Button,
|
32
|
+
K as Card,
|
33
|
+
P as Colflex,
|
34
|
+
h as Flexitem,
|
33
35
|
n as Form,
|
34
|
-
|
35
|
-
|
36
|
+
D as Icon,
|
37
|
+
R as LovTable,
|
36
38
|
p as Modal,
|
39
|
+
i as OMessage,
|
40
|
+
O as OMessageBox,
|
37
41
|
c as OTree,
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
42
|
+
w as Pagetable,
|
43
|
+
I as Querytable,
|
44
|
+
B as Rowflex,
|
45
|
+
M as Space,
|
46
|
+
z as TableSelectPagetable,
|
47
|
+
j as Tabs,
|
44
48
|
x as ThroneContextProvider,
|
45
49
|
b as Tree,
|
46
|
-
|
50
|
+
N as formContextKey,
|
47
51
|
f as install,
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
52
|
+
X as lovContextKey,
|
53
|
+
$ as tableSelectContext,
|
54
|
+
V as useLov,
|
55
|
+
H as useOModal,
|
56
|
+
Z as useTableselect
|
53
57
|
};
|
54
58
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/components/index.ts"],"sourcesContent":["import type { App } from 'vue'\r\n\r\nimport * as components from './components'\r\n\r\nexport * from './components'\r\n\r\nexport type * from './types'\r\n\r\nexport const install = function (app: App) {\r\n Object.keys(components).forEach((key) => {\r\n const component = components[key]\r\n if (component.install) {\r\n app.use(component)\r\n }\r\n })\r\n return app\r\n}\r\n\r\nexport * from './Modal'\r\nexport * from './Form'\r\nexport * from './Tree'\r\n"],"names":["install","app","components","key","component"],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/components/index.ts"],"sourcesContent":["import type { App } from 'vue'\r\n\r\nimport * as components from './components'\r\n\r\nexport * from './components'\r\n\r\nexport type * from './types'\r\n\r\nexport const install = function (app: App) {\r\n Object.keys(components).forEach((key) => {\r\n const component = components[key]\r\n if (component.install) {\r\n app.use(component)\r\n }\r\n })\r\n return app\r\n}\r\n\r\nexport * from './Modal'\r\nexport * from './Form'\r\nexport * from './Tree'\r\nexport * from './Message'\r\nexport * from './MessageBox'\r\n"],"names":["install","app","components","key","component"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAQa,MAAAA,IAAU,SAAUC,GAAU;AACzC,gBAAO,KAAKC,CAAU,EAAE,QAAQ,CAACC,MAAQ;AACjC,UAAAC,IAAYF,EAAWC,CAAG;AAChC,IAAIC,EAAU,WACZH,EAAI,IAAIG,CAAS;AAAA,EACnB,CACD,GACMH;AACT;"}
|
package/dist/index.js
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
import { default as r } from "./error/OrionError.js";
|
2
2
|
import { default as a } from "./Throne/index.js";
|
3
|
-
import { useThroneContext as
|
4
|
-
import { install as
|
3
|
+
import { useThroneContext as x } from "./Throne/hooks/use-throne-context.js";
|
4
|
+
import { install as s } from "./components/index.js";
|
5
5
|
import { default as p } from "./version/version.js";
|
6
6
|
import { OTree as d, OTree as n } from "./components/Tree/index.js";
|
7
7
|
import { default as b } from "./components/Modal/useModal.js";
|
8
|
-
import { default as
|
9
|
-
import { default as
|
10
|
-
import { default as
|
11
|
-
import { T as
|
12
|
-
import { S as
|
13
|
-
import { Colflex as
|
14
|
-
import { default as
|
8
|
+
import { default as O } from "./components/Form/LovInput/hooks/useLov.js";
|
9
|
+
import { default as i } from "./components/Form/TableSelect/hooks/useTableSelect.js";
|
10
|
+
import { default as g } from "./components/Button/index.js";
|
11
|
+
import { T as S } from "./components-G3_R2B-U.js";
|
12
|
+
import { S as y } from "./index-BbsXWo7C.js";
|
13
|
+
import { Colflex as B, Flexitem as F, Rowflex as K } from "./components/Flex/index.js";
|
14
|
+
import { default as w } from "./components/Card/index.js";
|
15
15
|
import { default as I } from "./components/Tabs/index.js";
|
16
16
|
import { default as R } from "./components/Pagetable/index.js";
|
17
17
|
import { default as k } from "./components/Querytable/index.js";
|
@@ -23,34 +23,38 @@ import { default as V } from "./components/Icon/index.js";
|
|
23
23
|
import { formContextKey as X } from "./components/Form/Form.js";
|
24
24
|
import { lovContextKey as Z } from "./components/Form/LovInput/LovInput.js";
|
25
25
|
import { tableSelectContext as $ } from "./components/Form/TableSelect/TableSelect.js";
|
26
|
+
import { OMessage as oe } from "./components/Message/index.js";
|
27
|
+
import { OMessageBox as te } from "./components/MessageBox/index.js";
|
26
28
|
export {
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
29
|
+
g as Button,
|
30
|
+
w as Card,
|
31
|
+
B as Colflex,
|
32
|
+
F as Flexitem,
|
31
33
|
D as Form,
|
32
34
|
V as Icon,
|
33
35
|
H as LovTable,
|
34
36
|
z as Modal,
|
37
|
+
oe as OMessage,
|
38
|
+
te as OMessageBox,
|
35
39
|
d as OTree,
|
36
40
|
r as OrionError,
|
37
41
|
R as Pagetable,
|
38
42
|
k as Querytable,
|
39
|
-
|
40
|
-
|
43
|
+
K as Rowflex,
|
44
|
+
y as Space,
|
41
45
|
N as TableSelectPagetable,
|
42
46
|
I as Tabs,
|
43
47
|
a as Throne,
|
44
|
-
|
48
|
+
S as ThroneContextProvider,
|
45
49
|
n as Tree,
|
46
50
|
X as formContextKey,
|
47
|
-
|
51
|
+
s as install,
|
48
52
|
Z as lovContextKey,
|
49
53
|
$ as tableSelectContext,
|
50
|
-
|
54
|
+
O as useLov,
|
51
55
|
b as useOModal,
|
52
|
-
|
53
|
-
|
56
|
+
i as useTableselect,
|
57
|
+
x as useThroneContext,
|
54
58
|
p as version
|
55
59
|
};
|
56
60
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: "0.1.
|
1
|
+
declare const _default: "0.1.49";
|
2
2
|
export default _default;
|
package/dist/version/version.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"version.js","sources":["../../src/version/version.ts"],"sourcesContent":["export default '0.1.
|
1
|
+
{"version":3,"file":"version.js","sources":["../../src/version/version.ts"],"sourcesContent":["export default '0.1.49';"],"names":["version"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/package.json
CHANGED
@@ -1,16 +0,0 @@
|
|
1
|
-
declare function __VLS_template(): {
|
2
|
-
slots: {
|
3
|
-
default?(_: {}): any;
|
4
|
-
};
|
5
|
-
refs: {};
|
6
|
-
attrs: Partial<{}>;
|
7
|
-
};
|
8
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
|
-
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
10
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
11
|
-
export default _default;
|
12
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
13
|
-
new (): {
|
14
|
-
$slots: S;
|
15
|
-
};
|
16
|
-
};
|