@idmui/spot 0.0.2
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 +18 -0
- package/dist/Spot/index.d.ts +4 -0
- package/dist/Spot/src/orm.vue.d.ts +71 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1388 -0
- package/dist/index.umd.cjs +1 -0
- package/dist/style.css +1 -0
- package/package.json +69 -0
package/README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Vue 3 + TypeScript + Vite
|
|
2
|
+
|
|
3
|
+
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
|
|
4
|
+
|
|
5
|
+
## Recommended IDE Setup
|
|
6
|
+
|
|
7
|
+
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
|
|
8
|
+
|
|
9
|
+
## Type Support For `.vue` Imports in TS
|
|
10
|
+
|
|
11
|
+
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
|
|
12
|
+
|
|
13
|
+
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
|
|
14
|
+
|
|
15
|
+
1. Disable the built-in TypeScript Extension
|
|
16
|
+
1. Run `Extensions: Show Built-in Extensions` from VSCode's command palette
|
|
17
|
+
2. Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
|
|
18
|
+
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export default _sfc_main;
|
|
2
|
+
declare namespace _sfc_main {
|
|
3
|
+
const name: string;
|
|
4
|
+
namespace props {
|
|
5
|
+
namespace token {
|
|
6
|
+
export const type: StringConstructor;
|
|
7
|
+
const _default: string;
|
|
8
|
+
export { _default as default };
|
|
9
|
+
}
|
|
10
|
+
namespace ts {
|
|
11
|
+
const type_1: StringConstructor;
|
|
12
|
+
export { type_1 as type };
|
|
13
|
+
const _default_1: string;
|
|
14
|
+
export { _default_1 as default };
|
|
15
|
+
}
|
|
16
|
+
namespace timeZone {
|
|
17
|
+
const type_2: NumberConstructor;
|
|
18
|
+
export { type_2 as type };
|
|
19
|
+
const _default_2: number;
|
|
20
|
+
export { _default_2 as default };
|
|
21
|
+
}
|
|
22
|
+
namespace report {
|
|
23
|
+
const type_3: ObjectConstructor;
|
|
24
|
+
export { type_3 as type };
|
|
25
|
+
function _default_3(): {};
|
|
26
|
+
export { _default_3 as default };
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
function data(): {
|
|
30
|
+
placeholder: string;
|
|
31
|
+
searchName: undefined;
|
|
32
|
+
rawSearchIcon: import("vue").Raw<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
33
|
+
positionGmt: undefined;
|
|
34
|
+
localDate: undefined;
|
|
35
|
+
meteoData: {};
|
|
36
|
+
a: undefined;
|
|
37
|
+
positionList: never[];
|
|
38
|
+
position: undefined;
|
|
39
|
+
loading: boolean;
|
|
40
|
+
activeIndex: undefined;
|
|
41
|
+
tableData: {};
|
|
42
|
+
pickedDate: undefined;
|
|
43
|
+
collectList: never[];
|
|
44
|
+
isCollected: boolean;
|
|
45
|
+
};
|
|
46
|
+
namespace computed {
|
|
47
|
+
function computeHourL(): (time: any) => string;
|
|
48
|
+
function computeHourZ(): (time: any) => string;
|
|
49
|
+
function computeWeek(): (time: any) => string;
|
|
50
|
+
function computeMMMDD(): (time: any) => string;
|
|
51
|
+
function computeLat(): (lat: any, precision?: number) => any;
|
|
52
|
+
function computeLng(): (lng: any, precision?: number) => any;
|
|
53
|
+
function roundPrecision(): (num: any, precision?: number) => any;
|
|
54
|
+
}
|
|
55
|
+
namespace watch {
|
|
56
|
+
export namespace report_1 {
|
|
57
|
+
function handler(): void;
|
|
58
|
+
}
|
|
59
|
+
export { report_1 as report };
|
|
60
|
+
}
|
|
61
|
+
namespace methods {
|
|
62
|
+
function handleRender(): void;
|
|
63
|
+
function initInfo(): void;
|
|
64
|
+
function initTableData(): void;
|
|
65
|
+
function initEchart(): void;
|
|
66
|
+
function handleCollect(): void;
|
|
67
|
+
function fetchSuggestPosition(name: any): Promise<false | undefined>;
|
|
68
|
+
function handleFetchMeteo(): Promise<false | undefined>;
|
|
69
|
+
function handleClear(): void;
|
|
70
|
+
}
|
|
71
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Spot';
|