@juzhenfe/modules 2.2.0 → 2.2.4
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.
|
@@ -1,44 +1,30 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
1
|
declare const _default: import("vue").DefineComponent<{
|
|
3
2
|
modelValue: {
|
|
4
|
-
type: PropType<JuzhenAMap.LngLat>;
|
|
5
3
|
default: () => number[];
|
|
6
4
|
};
|
|
7
5
|
options: {
|
|
8
|
-
type: PropType<JuzhenAMap.MapOptions>;
|
|
9
6
|
default: () => {};
|
|
10
7
|
};
|
|
11
8
|
height: {
|
|
12
|
-
type: PropType<string | number>;
|
|
13
9
|
default: string;
|
|
14
10
|
};
|
|
15
11
|
width: {
|
|
16
|
-
type: PropType<string | number>;
|
|
17
12
|
default: string;
|
|
18
13
|
};
|
|
19
14
|
markers: {
|
|
20
|
-
type: PropType<JuzhenAMap.MarkerOptions[]>;
|
|
21
15
|
default: () => any[];
|
|
22
16
|
};
|
|
23
17
|
search: {
|
|
24
|
-
type:
|
|
18
|
+
type: BooleanConstructor;
|
|
25
19
|
default: boolean;
|
|
26
20
|
};
|
|
27
21
|
useCenter: {
|
|
28
22
|
type: BooleanConstructor;
|
|
29
23
|
default: boolean;
|
|
30
24
|
};
|
|
31
|
-
}, {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
height: string;
|
|
35
|
-
width: string;
|
|
36
|
-
}>;
|
|
37
|
-
useMarkers: import("vue").ComputedRef<JuzhenAMap.MarkerOptions[]>;
|
|
38
|
-
provideMap: (fn: Function) => void;
|
|
39
|
-
updateModelValue: (value: JuzhenAMap.LngLat) => void;
|
|
40
|
-
markerClick: (e: JuzhenAMap.MapsEvent) => void;
|
|
41
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "initMap" | "markerClick" | "click")[], "update:modelValue" | "initMap" | "markerClick" | "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
25
|
+
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "initMap" | "markerClick" | "click")[], "update:modelValue" | "initMap" | "markerClick" | "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
42
28
|
modelValue?: unknown;
|
|
43
29
|
options?: unknown;
|
|
44
30
|
height?: unknown;
|
|
@@ -47,12 +33,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
33
|
search?: unknown;
|
|
48
34
|
useCenter?: unknown;
|
|
49
35
|
} & {
|
|
36
|
+
width: string;
|
|
37
|
+
height: string;
|
|
50
38
|
search: boolean;
|
|
51
|
-
modelValue:
|
|
39
|
+
modelValue: number[];
|
|
52
40
|
options: {};
|
|
53
|
-
|
|
54
|
-
width: string | number;
|
|
55
|
-
markers: JuzhenAMap.MarkerOptions[];
|
|
41
|
+
markers: any[];
|
|
56
42
|
useCenter: boolean;
|
|
57
43
|
} & {}> & {
|
|
58
44
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
@@ -60,12 +46,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
46
|
onMarkerClick?: (...args: any[]) => any;
|
|
61
47
|
onClick?: (...args: any[]) => any;
|
|
62
48
|
}, {
|
|
49
|
+
width: string;
|
|
50
|
+
height: string;
|
|
63
51
|
search: boolean;
|
|
64
|
-
modelValue:
|
|
52
|
+
modelValue: number[];
|
|
65
53
|
options: {};
|
|
66
|
-
|
|
67
|
-
width: string | number;
|
|
68
|
-
markers: JuzhenAMap.MarkerOptions[];
|
|
54
|
+
markers: any[];
|
|
69
55
|
useCenter: boolean;
|
|
70
56
|
}>;
|
|
71
57
|
export default _default;
|
package/dist/types/a-map.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@juzhenfe/modules",
|
|
3
|
-
"version": "2.2.
|
|
4
|
-
"main": "dist/index.min.js",
|
|
5
|
-
"types": "dist/packages/modules/index.d.ts",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"dev": "lerna bootstrap && vite --force",
|
|
8
|
-
"build": "cross-env NODE_ENV=production rollup -c ./build/rollup.config.js",
|
|
9
|
-
"clean": "rimraf dist",
|
|
10
|
-
"build:type": "node ./build/build-type.js",
|
|
11
|
-
"build:es": "npm run clean && lerna bootstrap && npm run build && npm run build:type",
|
|
12
|
-
"pub": "npm publish --access public",
|
|
13
|
-
"version": "npm run build:es && npm run pub"
|
|
14
|
-
},
|
|
15
|
-
"files": [
|
|
16
|
-
"dist"
|
|
17
|
-
],
|
|
18
|
-
"devDependencies": {
|
|
19
|
-
"@babel/core": "^7.15.8",
|
|
20
|
-
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
21
|
-
"@babel/preset-env": "^7.15.8",
|
|
22
|
-
"@juzhenfe/page-model": "^1.11.7",
|
|
23
|
-
"@juzhenfe/request": "^1.6.1",
|
|
24
|
-
"@rollup/plugin-babel": "^5.3.0",
|
|
25
|
-
"@rollup/plugin-commonjs": "^18.1.0",
|
|
26
|
-
"@rollup/plugin-image": "^2.0.6",
|
|
27
|
-
"@rollup/plugin-json": "^4.1.0",
|
|
28
|
-
"@rollup/plugin-node-resolve": "^11.2.1",
|
|
29
|
-
"@rollup/plugin-typescript": "^8.2.1",
|
|
30
|
-
"@vitejs/plugin-vue": "^1.2.3",
|
|
31
|
-
"@vitejs/plugin-vue-jsx": "^1.1.5",
|
|
32
|
-
"@vue/compiler-sfc": "^3.1.2",
|
|
33
|
-
"clipboard": "^2.0.8",
|
|
34
|
-
"core-js": "^3.15.1",
|
|
35
|
-
"cross-env": "^7.0.3",
|
|
36
|
-
"element-plus": "^1.1.0-beta.20",
|
|
37
|
-
"lerna": "^4.0.0",
|
|
38
|
-
"rimraf": "^3.0.2",
|
|
39
|
-
"rollup": "^2.60.1",
|
|
40
|
-
"rollup-plugin-scss": "^2.6.1",
|
|
41
|
-
"rollup-plugin-terser": "^7.0.2",
|
|
42
|
-
"rollup-plugin-typescript2": "^0.30.0",
|
|
43
|
-
"rollup-plugin-vue": "^6.0.0",
|
|
44
|
-
"sass": "^1.43.4",
|
|
45
|
-
"the-answer": "^1.0.0",
|
|
46
|
-
"typescript": "^4.3.4",
|
|
47
|
-
"vite": "^2.6.7",
|
|
48
|
-
"vue": "^3.2.20",
|
|
49
|
-
"vue-router": "^4.0.12",
|
|
50
|
-
"vue-tsc": "^0.1.7"
|
|
51
|
-
},
|
|
52
|
-
"dependencies": {
|
|
53
|
-
"echarts": "^5.1.2"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@juzhenfe/modules",
|
|
3
|
+
"version": "2.2.4",
|
|
4
|
+
"main": "dist/index.min.js",
|
|
5
|
+
"types": "dist/packages/modules/index.d.ts",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"dev": "lerna bootstrap && vite --force",
|
|
8
|
+
"build": "cross-env NODE_ENV=production rollup -c ./build/rollup.config.js",
|
|
9
|
+
"clean": "rimraf dist",
|
|
10
|
+
"build:type": "node ./build/build-type.js",
|
|
11
|
+
"build:es": "npm run clean && lerna bootstrap && npm run build && npm run build:type",
|
|
12
|
+
"pub": "npm publish --access public",
|
|
13
|
+
"version": "npm run build:es && npm run pub"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@babel/core": "^7.15.8",
|
|
20
|
+
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
21
|
+
"@babel/preset-env": "^7.15.8",
|
|
22
|
+
"@juzhenfe/page-model": "^1.11.7",
|
|
23
|
+
"@juzhenfe/request": "^1.6.1",
|
|
24
|
+
"@rollup/plugin-babel": "^5.3.0",
|
|
25
|
+
"@rollup/plugin-commonjs": "^18.1.0",
|
|
26
|
+
"@rollup/plugin-image": "^2.0.6",
|
|
27
|
+
"@rollup/plugin-json": "^4.1.0",
|
|
28
|
+
"@rollup/plugin-node-resolve": "^11.2.1",
|
|
29
|
+
"@rollup/plugin-typescript": "^8.2.1",
|
|
30
|
+
"@vitejs/plugin-vue": "^1.2.3",
|
|
31
|
+
"@vitejs/plugin-vue-jsx": "^1.1.5",
|
|
32
|
+
"@vue/compiler-sfc": "^3.1.2",
|
|
33
|
+
"clipboard": "^2.0.8",
|
|
34
|
+
"core-js": "^3.15.1",
|
|
35
|
+
"cross-env": "^7.0.3",
|
|
36
|
+
"element-plus": "^1.1.0-beta.20",
|
|
37
|
+
"lerna": "^4.0.0",
|
|
38
|
+
"rimraf": "^3.0.2",
|
|
39
|
+
"rollup": "^2.60.1",
|
|
40
|
+
"rollup-plugin-scss": "^2.6.1",
|
|
41
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
42
|
+
"rollup-plugin-typescript2": "^0.30.0",
|
|
43
|
+
"rollup-plugin-vue": "^6.0.0",
|
|
44
|
+
"sass": "^1.43.4",
|
|
45
|
+
"the-answer": "^1.0.0",
|
|
46
|
+
"typescript": "^4.3.4",
|
|
47
|
+
"vite": "^2.6.7",
|
|
48
|
+
"vue": "^3.2.20",
|
|
49
|
+
"vue-router": "^4.0.12",
|
|
50
|
+
"vue-tsc": "^0.1.7"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"echarts": "^5.1.2"
|
|
54
|
+
}
|
|
55
|
+
}
|