simple-web-lib 0.0.3 → 0.0.5

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.
@@ -0,0 +1,8 @@
1
+ import { App } from 'vue';
2
+ import SimpleButton from './src/SimpleButton.vue';
3
+ export { SimpleButton };
4
+ declare function install(app: App): void;
5
+ declare const _default: {
6
+ install: typeof install;
7
+ };
8
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { App } from 'vue';
2
+ import SimpleCard from './src/SimpleCard.vue';
3
+ export { SimpleCard };
4
+ declare function install(app: App): void;
5
+ declare const _default: {
6
+ install: typeof install;
7
+ };
8
+ export default _default;
@@ -0,0 +1,9 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
2
+ default?(_: {}): any;
3
+ }>;
4
+ export default _default;
5
+ type __VLS_WithTemplateSlots<T, S> = T & {
6
+ new (): {
7
+ $slots: S;
8
+ };
9
+ };
package/lib/index.d.ts ADDED
@@ -0,0 +1,12 @@
1
+ import { App } from 'vue';
2
+ import SimpleButton from './components/simple-button';
3
+ import SimpleCard from './components/simple-card';
4
+ import { I18n } from 'vue-i18n';
5
+ export type { I18n };
6
+ export type Language = 'zh_CN' | 'en_US';
7
+ declare const install: (app: App) => void;
8
+ export { install, SimpleButton, SimpleCard };
9
+ declare const _default: {
10
+ install: (app: App<any>) => void;
11
+ };
12
+ export default _default;
@@ -0,0 +1,20 @@
1
+ export declare const zhCN: {
2
+ simpleButton: {
3
+ clickMe: string;
4
+ clicked: string;
5
+ };
6
+ simpleCard: {
7
+ title: string;
8
+ content: string;
9
+ };
10
+ };
11
+ export declare const enUS: {
12
+ simpleButton: {
13
+ clickMe: string;
14
+ clicked: string;
15
+ };
16
+ simpleCard: {
17
+ title: string;
18
+ content: string;
19
+ };
20
+ };