@idmui/basic 0.7.1 → 0.7.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.
Files changed (38) hide show
  1. package/README.md +18 -18
  2. package/dist/{packages/Brand → Brand}/index.d.ts +4 -4
  3. package/dist/Brand/src/index.vue.d.ts +27 -0
  4. package/dist/{packages/Loading → Loading}/index.d.ts +4 -4
  5. package/dist/Loading/src/index.vue.d.ts +25 -0
  6. package/dist/{packages/Meteo → Meteo}/index.d.ts +4 -4
  7. package/dist/Meteo/src/index.vue.d.ts +12 -0
  8. package/dist/{packages/Sign → Sign}/index.d.ts +4 -4
  9. package/dist/Sign/src/index.vue.d.ts +20 -0
  10. package/dist/{packages/Spot → Spot}/index.d.ts +6 -6
  11. package/dist/Spot/src/forecast.vue.d.ts +79 -0
  12. package/dist/Spot/src/historical.vue.d.ts +60 -0
  13. package/dist/Spot/src/seasonal.vue.d.ts +52 -0
  14. package/dist/{packages/Tropical → Tropical}/index.d.ts +4 -4
  15. package/dist/Tropical/src/echarts.vue.d.ts +54 -0
  16. package/dist/Tropical/src/index.vue.d.ts +80 -0
  17. package/dist/Tropical/src/mapbox.vue.d.ts +43 -0
  18. package/dist/Tropical/src/miniMap.vue.d.ts +45 -0
  19. package/dist/{packages/index.d.ts → index.d.ts} +7 -7
  20. package/dist/index.js +259 -259
  21. package/dist/index.umd.cjs +36 -36
  22. package/dist/{packages/style → style}/index.d.ts +4 -4
  23. package/dist/style/index.vue.d.ts +4 -0
  24. package/dist/style.css +1 -1
  25. package/package.json +72 -72
  26. package/dist/packages/Brand/src/index.vue.d.ts +0 -34
  27. package/dist/packages/Loading/src/index.vue.d.ts +0 -25
  28. package/dist/packages/Meteo/src/index.vue.d.ts +0 -16
  29. package/dist/packages/Sign/src/index.vue.d.ts +0 -25
  30. package/dist/packages/Spot/src/forecast.vue.d.ts +0 -90
  31. package/dist/packages/Spot/src/historical.vue.d.ts +0 -64
  32. package/dist/packages/Spot/src/seasonal.vue.d.ts +0 -56
  33. package/dist/packages/Tropical/src/echarts.vue.d.ts +0 -59
  34. package/dist/packages/Tropical/src/index.vue.d.ts +0 -280
  35. package/dist/packages/Tropical/src/mapbox.vue.d.ts +0 -57
  36. package/dist/packages/Tropical/src/miniMap.vue.d.ts +0 -54
  37. package/dist/packages/style/index.vue.d.ts +0 -2
  38. package/dist/playground/main.d.ts +0 -1
package/package.json CHANGED
@@ -1,72 +1,72 @@
1
- {
2
- "name": "@idmui/basic",
3
- "private": false,
4
- "version": "0.7.1",
5
- "description": "idm ui basic",
6
- "type": "module",
7
- "keywords": [
8
- "idm",
9
- "idmwx"
10
- ],
11
- "author": "idm",
12
- "contributors": [
13
- "ChenHeng"
14
- ],
15
- "license": "GPL-3.0",
16
- "files": [
17
- "dist"
18
- ],
19
- "main": "./dist/index.umd.cjs",
20
- "module": "./dist/index.js",
21
- "types": "index.d.ts",
22
- "scripts": {
23
- "dev": "vite --config ./build/base.config.ts --host 0.0.0.0",
24
- "build": "vue-tsc --noEmit && vite build --config ./build/lib.config.ts",
25
- "lint:fix": "eslint --fix --ext .js,.ts,.vue .",
26
- "prettier": "yarn lint:fix && prettier --write '**/*.{js,ts,vue}'",
27
- "release": "yarn build && yarn publish --access public"
28
- },
29
- "dependencies": {
30
- "@idm-plugin/tag": "^0.3.3",
31
- "axios": "^1.3.5",
32
- "echarts": "^5.4.1",
33
- "mapbox-gl": "3.0.0",
34
- "moment": "^2.29.4",
35
- "vue": "^3.2.36"
36
- },
37
- "peerDependencies": {
38
- "@idm-plugin/geo": "^1.8.6",
39
- "@idm-plugin/meteo": "^0.7.3",
40
- "@idmwx/idmui-gl3": "^6.4.4"
41
- },
42
- "devDependencies": {
43
- "@idm-plugin/geo": "^1.8.6",
44
- "@idm-plugin/meteo": "^0.7.3",
45
- "@idmwx/idmui-gl3": "^6.4.4",
46
- "@types/node": "^18.14.2",
47
- "@typescript-eslint/eslint-plugin": "^5.53.0",
48
- "@typescript-eslint/parser": "^5.53.0",
49
- "@vitejs/plugin-vue": "^4.0.0",
50
- "eslint": "^8.35.0",
51
- "eslint-config-prettier": "^8.6.0",
52
- "eslint-define-config": "^1.15.0",
53
- "eslint-plugin-prettier": "^4.2.1",
54
- "eslint-plugin-vue": "^9.9.0",
55
- "lint-staged": "^13.1.2",
56
- "prettier": "^2.8.4",
57
- "sass": "^1.58.3",
58
- "simple-git-hooks": "^2.8.1",
59
- "stylelint": "^15.2.0",
60
- "typescript": "^4.9.3",
61
- "vite": "^4.1.0",
62
- "vite-plugin-dts": "3.7.1",
63
- "vue-tsc": "^1.0.24"
64
- },
65
- "lint-staged": {
66
- "*.{ts,tsx,js,vue}": "eslint --fix",
67
- "*.{ts,tsx,js,vue,scss}": "prettier --write"
68
- },
69
- "simple-git-hooks": {
70
- "pre-commit": "npx lint-staged"
71
- }
72
- }
1
+ {
2
+ "name": "@idmui/basic",
3
+ "private": false,
4
+ "version": "0.7.2",
5
+ "description": "idm ui basic",
6
+ "type": "module",
7
+ "keywords": [
8
+ "idm",
9
+ "idmwx"
10
+ ],
11
+ "author": "idm",
12
+ "contributors": [
13
+ "ChenHeng"
14
+ ],
15
+ "license": "GPL-3.0",
16
+ "files": [
17
+ "dist"
18
+ ],
19
+ "main": "./dist/index.umd.cjs",
20
+ "module": "./dist/index.js",
21
+ "types": "index.d.ts",
22
+ "scripts": {
23
+ "dev": "vite --config ./build/base.config.ts --host 0.0.0.0",
24
+ "build": "vue-tsc --noEmit && vite build --config ./build/lib.config.ts",
25
+ "lint:fix": "eslint --fix --ext .js,.ts,.vue .",
26
+ "prettier": "yarn lint:fix && prettier --write '**/*.{js,ts,vue}'",
27
+ "release": "yarn build && yarn publish --access public"
28
+ },
29
+ "dependencies": {
30
+ "@idm-plugin/tag": "^0.3.3",
31
+ "axios": "^1.3.5",
32
+ "echarts": "^5.4.1",
33
+ "mapbox-gl": "3.0.0",
34
+ "moment": "^2.29.4",
35
+ "vue": "^3.2.36"
36
+ },
37
+ "peerDependencies": {
38
+ "@idm-plugin/geo": "^1.8.6",
39
+ "@idm-plugin/meteo": "^0.7.3",
40
+ "@idmwx/idmui-gl3": "^6.4.4"
41
+ },
42
+ "devDependencies": {
43
+ "@idm-plugin/geo": "^1.8.6",
44
+ "@idm-plugin/meteo": "^0.7.3",
45
+ "@idmwx/idmui-gl3": "^6.4.4",
46
+ "@types/node": "^18.14.2",
47
+ "@typescript-eslint/eslint-plugin": "^5.53.0",
48
+ "@typescript-eslint/parser": "^5.53.0",
49
+ "@vitejs/plugin-vue": "^4.0.0",
50
+ "eslint": "^8.35.0",
51
+ "eslint-config-prettier": "^8.6.0",
52
+ "eslint-define-config": "^1.15.0",
53
+ "eslint-plugin-prettier": "^4.2.1",
54
+ "eslint-plugin-vue": "^9.9.0",
55
+ "lint-staged": "^13.1.2",
56
+ "prettier": "^2.8.4",
57
+ "sass": "^1.58.3",
58
+ "simple-git-hooks": "^2.8.1",
59
+ "stylelint": "^15.2.0",
60
+ "typescript": "^4.9.3",
61
+ "vite": "^4.1.0",
62
+ "vite-plugin-dts": "3.7.1",
63
+ "vue-tsc": "^1.0.24"
64
+ },
65
+ "lint-staged": {
66
+ "*.{ts,tsx,js,vue}": "eslint --fix",
67
+ "*.{ts,tsx,js,vue,scss}": "prettier --write"
68
+ },
69
+ "simple-git-hooks": {
70
+ "pre-commit": "npx lint-staged"
71
+ }
72
+ }
@@ -1,34 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- name: {
3
- type: StringConstructor;
4
- default: string;
5
- };
6
- issued: {
7
- type: StringConstructor;
8
- default: undefined;
9
- };
10
- locale: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
- }>, {}, {}, {}, {
15
- computeUTCTime(utcTime: any, format: any): string;
16
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
- name: {
18
- type: StringConstructor;
19
- default: string;
20
- };
21
- issued: {
22
- type: StringConstructor;
23
- default: undefined;
24
- };
25
- locale: {
26
- type: StringConstructor;
27
- default: string;
28
- };
29
- }>> & Readonly<{}>, {
30
- issued: string;
31
- name: string;
32
- locale: string;
33
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
34
- export default _default;
@@ -1,25 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- loading: {
3
- type: BooleanConstructor;
4
- default: boolean;
5
- };
6
- text: {
7
- type: StringConstructor;
8
- default: string;
9
- };
10
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "timeout"[], "timeout", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
- loading: {
12
- type: BooleanConstructor;
13
- default: boolean;
14
- };
15
- text: {
16
- type: StringConstructor;
17
- default: string;
18
- };
19
- }>> & Readonly<{
20
- onTimeout?: ((...args: any[]) => any) | undefined;
21
- }>, {
22
- text: string;
23
- loading: boolean;
24
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
25
- export default _default;
@@ -1,16 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- model: {
3
- type: StringConstructor;
4
- default: string;
5
- };
6
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
- model: {
8
- type: StringConstructor;
9
- default: string;
10
- };
11
- }>> & Readonly<{}>, {
12
- model: string;
13
- }, {}, {
14
- IdmBrand: any;
15
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
- export default _default;
@@ -1,25 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- issued: {
3
- type: StringConstructor;
4
- default: string;
5
- };
6
- report: {
7
- type: ObjectConstructor;
8
- default: () => {};
9
- };
10
- }>, {}, {}, {}, {
11
- computeUTCTime(utcTime: any, format: any): string;
12
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
- issued: {
14
- type: StringConstructor;
15
- default: string;
16
- };
17
- report: {
18
- type: ObjectConstructor;
19
- default: () => {};
20
- };
21
- }>> & Readonly<{}>, {
22
- issued: string;
23
- report: Record<string, any>;
24
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
25
- export default _default;
@@ -1,90 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- reportData: {
3
- type: ObjectConstructor;
4
- default: () => {};
5
- };
6
- loading: {
7
- type: BooleanConstructor;
8
- default: boolean;
9
- };
10
- showTide: {
11
- type: BooleanConstructor;
12
- default: boolean;
13
- };
14
- tideLoading: {
15
- type: BooleanConstructor;
16
- default: boolean;
17
- };
18
- tideTableData: {
19
- type: ArrayConstructor;
20
- default: () => never[];
21
- };
22
- theme: {
23
- type: StringConstructor;
24
- default: string;
25
- };
26
- locale: {
27
- type: StringConstructor;
28
- default: string;
29
- };
30
- }>, {}, {
31
- positionGmt: undefined;
32
- meteogramData: undefined;
33
- hourlyTableData: never[];
34
- }, {
35
- computeHourLT(): (time: any) => string;
36
- computeUTCTime(): (time: any, format?: string) => string;
37
- computeMMMDDHHmmLT(): (time: any, timezone: any, format?: string) => string;
38
- computeHHmmLT(): (time: any) => string;
39
- computeTzTime(): (time: any, timezone: any) => string;
40
- computeLat(): (lat: any, precision?: number) => any;
41
- computeLng(): (lng: any, precision?: number) => any;
42
- roundPrecision(): (num: any, precision?: number) => any;
43
- }, {
44
- handleRender(): void;
45
- handleMeteogramData(meteoData: any): void;
46
- initMeteogramEchart(meteoData: any): void;
47
- disposeEcharts(): void;
48
- initHourlyTableData(meteoData: any): void;
49
- getRotatedWindArrowBase64(angle: any, color: any): string;
50
- getRotatedWaveArrowBase64(angle: any, color: any): string;
51
- convertSvgUrlToBase64(url: any): Promise<any>;
52
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
53
- reportData: {
54
- type: ObjectConstructor;
55
- default: () => {};
56
- };
57
- loading: {
58
- type: BooleanConstructor;
59
- default: boolean;
60
- };
61
- showTide: {
62
- type: BooleanConstructor;
63
- default: boolean;
64
- };
65
- tideLoading: {
66
- type: BooleanConstructor;
67
- default: boolean;
68
- };
69
- tideTableData: {
70
- type: ArrayConstructor;
71
- default: () => never[];
72
- };
73
- theme: {
74
- type: StringConstructor;
75
- default: string;
76
- };
77
- locale: {
78
- type: StringConstructor;
79
- default: string;
80
- };
81
- }>> & Readonly<{}>, {
82
- locale: string;
83
- loading: boolean;
84
- reportData: Record<string, any>;
85
- showTide: boolean;
86
- tideLoading: boolean;
87
- tideTableData: unknown[];
88
- theme: string;
89
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
90
- export default _default;
@@ -1,64 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- reportData: {
3
- type: ObjectConstructor;
4
- default: () => {};
5
- };
6
- loading: {
7
- type: BooleanConstructor;
8
- default: boolean;
9
- };
10
- theme: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
- locale: {
15
- type: StringConstructor;
16
- default: string;
17
- };
18
- }>, {}, {
19
- positionGmt: undefined;
20
- meteogramData: undefined;
21
- hourlyTableData: never[];
22
- }, {
23
- computeHourLT(): (time: any) => string;
24
- computeUTCTime(): (time: any, format?: string) => string;
25
- computeMMMDDHHmmLT(): (time: any, zone: any) => string;
26
- computeTzTime(): (time: any, timezone: any) => string;
27
- computeLat(): (lat: any, precision?: number) => any;
28
- computeLng(): (lng: any, precision?: number) => any;
29
- roundPrecision(): (num: any, precision?: number) => any;
30
- }, {
31
- handleRender(): void;
32
- handleMeteogramData(meteoData: any): void;
33
- initMeteogramEchart(meteoData: any): void;
34
- disposeEcharts(): void;
35
- initHourlyTableData(meteoData: any): void;
36
- getRotatedWindArrowBase64(angle: any, color: any): string;
37
- getRotatedWaveArrowBase64(angle: any, color: any): string;
38
- convertSvgUrlToBase64(url: any): Promise<any>;
39
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
40
- reportData: {
41
- type: ObjectConstructor;
42
- default: () => {};
43
- };
44
- loading: {
45
- type: BooleanConstructor;
46
- default: boolean;
47
- };
48
- theme: {
49
- type: StringConstructor;
50
- default: string;
51
- };
52
- locale: {
53
- type: StringConstructor;
54
- default: string;
55
- };
56
- }>> & Readonly<{}>, {
57
- locale: string;
58
- loading: boolean;
59
- reportData: Record<string, any>;
60
- theme: string;
61
- }, {}, {
62
- IdmLoading: any;
63
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
64
- export default _default;
@@ -1,56 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- reportData: {
3
- type: ObjectConstructor;
4
- default: () => {};
5
- };
6
- loading: {
7
- type: BooleanConstructor;
8
- default: boolean;
9
- };
10
- theme: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
- locale: {
15
- type: StringConstructor;
16
- default: string;
17
- };
18
- }>, {}, {
19
- positionGmt: undefined;
20
- meteogramData: undefined;
21
- }, {
22
- computeUTCTime(): (time: any, format?: string) => string;
23
- computeLat(): (lat: any, precision?: number) => any;
24
- computeLng(): (lng: any, precision?: number) => any;
25
- roundPrecision(): (num: any, precision?: number) => any;
26
- }, {
27
- handleRender(): void;
28
- getRotatedWindArrowBase64(angle: any, color: any): string;
29
- initSeasonalEchart(): void;
30
- disposeEcharts(): void;
31
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
32
- reportData: {
33
- type: ObjectConstructor;
34
- default: () => {};
35
- };
36
- loading: {
37
- type: BooleanConstructor;
38
- default: boolean;
39
- };
40
- theme: {
41
- type: StringConstructor;
42
- default: string;
43
- };
44
- locale: {
45
- type: StringConstructor;
46
- default: string;
47
- };
48
- }>> & Readonly<{}>, {
49
- locale: string;
50
- loading: boolean;
51
- reportData: Record<string, any>;
52
- theme: string;
53
- }, {}, {
54
- IdmLoading: any;
55
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
56
- export default _default;
@@ -1,59 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- id: {
3
- type: StringConstructor;
4
- default: () => "";
5
- };
6
- title: {
7
- type: StringConstructor;
8
- default: () => "";
9
- };
10
- series: {
11
- type: ArrayConstructor;
12
- default: () => never[];
13
- };
14
- xAxis: {
15
- type: ArrayConstructor;
16
- default: () => never[];
17
- };
18
- color: {
19
- type: ArrayConstructor;
20
- default: () => never[];
21
- };
22
- }>, {}, {
23
- chart: undefined;
24
- currentWidth: undefined;
25
- currentHeight: undefined;
26
- handleResize: undefined;
27
- handleRecover: undefined;
28
- handleResizePrint: undefined;
29
- }, {}, {
30
- initProbabilityData(): void;
31
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
32
- id: {
33
- type: StringConstructor;
34
- default: () => "";
35
- };
36
- title: {
37
- type: StringConstructor;
38
- default: () => "";
39
- };
40
- series: {
41
- type: ArrayConstructor;
42
- default: () => never[];
43
- };
44
- xAxis: {
45
- type: ArrayConstructor;
46
- default: () => never[];
47
- };
48
- color: {
49
- type: ArrayConstructor;
50
- default: () => never[];
51
- };
52
- }>> & Readonly<{}>, {
53
- title: string;
54
- id: string;
55
- xAxis: unknown[];
56
- series: unknown[];
57
- color: unknown[];
58
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
59
- export default _default;