@glodon-aiot/react-components 3.0.5-beta.0
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.git.md +73 -0
- package/README.lib.md +135 -0
- package/dist/aiot-react-components.js +20191 -0
- package/dist/aiot-react-components.umd.cjs +183 -0
- package/dist/src/Button/index.d.ts +11 -0
- package/dist/src/ConfirmableButton/index.d.ts +16 -0
- package/dist/src/Drawable/Drawable.d.ts +32 -0
- package/dist/src/Drawable/LineElement.d.ts +9 -0
- package/dist/src/Drawable/MarkerElement.d.ts +10 -0
- package/dist/src/Drawable/MarkersMap.d.ts +8 -0
- package/dist/src/Drawable/PolygonElement.d.ts +11 -0
- package/dist/src/Drawable/index.d.ts +34 -0
- package/dist/src/Drawable/state.d.ts +49 -0
- package/dist/src/ExpandablePannel/index.d.ts +24 -0
- package/dist/src/GOSImageMap/DrawableImageMap.d.ts +9 -0
- package/dist/src/GOSImageMap/ImageMap.d.ts +9 -0
- package/dist/src/GOSImageMap/index.d.ts +2 -0
- package/dist/src/IconButton/index.d.ts +6 -0
- package/dist/src/Iconfont/CloudIconfont.d.ts +3 -0
- package/dist/src/Iconfont/EdgeIconfont.d.ts +3 -0
- package/dist/src/Iconfont/index.d.ts +3 -0
- package/dist/src/ImageMap/index.d.ts +41 -0
- package/dist/src/MouseTip/constant.d.ts +6 -0
- package/dist/src/MouseTip/index.d.ts +17 -0
- package/dist/src/MouseTip/types.d.ts +8 -0
- package/dist/src/MouseTip/utils.d.ts +8 -0
- package/dist/src/PanoramaRecordPlayer/index.d.ts +14 -0
- package/dist/src/PassMap/index.d.ts +12 -0
- package/dist/src/TrackMap/PointTooltip.d.ts +9 -0
- package/dist/src/TrackMap/TrackPoint.d.ts +19 -0
- package/dist/src/TrackMap/index.d.ts +83 -0
- package/dist/src/Zoom/index.d.ts +13 -0
- package/dist/src/index.d.ts +15 -0
- package/dist/src/useBimface/example.d.ts +3 -0
- package/dist/src/useBimface/index.d.ts +65 -0
- package/dist/src/utils/JSAsyncLoader.d.ts +2 -0
- package/dist/style.css +1 -0
- package/package.json +115 -0
package/package.json
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@glodon-aiot/react-components",
|
|
3
|
+
"version": "3.0.5-beta.0",
|
|
4
|
+
"author": "glodoncv",
|
|
5
|
+
"description": "aiot react components",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"aiot",
|
|
9
|
+
"components",
|
|
10
|
+
"react components"
|
|
11
|
+
],
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
15
|
+
"module": "./dist/aiot-react-components.js",
|
|
16
|
+
"main": "./dist/aiot-react-components.umd.cjs",
|
|
17
|
+
"typings": "./dist/src/index.d.ts",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"import": "./dist/aiot-react-components.js",
|
|
21
|
+
"require": "./dist/aiot-react-components.umd.cjs",
|
|
22
|
+
"types": "./dist/src/index.d.ts"
|
|
23
|
+
},
|
|
24
|
+
"./style.css": "./dist/style.css"
|
|
25
|
+
},
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"scripts": {
|
|
28
|
+
"dev": "vite",
|
|
29
|
+
"start": "vite",
|
|
30
|
+
"build": "tsc && vite build --mode prod",
|
|
31
|
+
"watch": "tsc && vite build --watch",
|
|
32
|
+
"preview": "vite preview",
|
|
33
|
+
"check": "yarn prettier --check .",
|
|
34
|
+
"write": "yarn prettier --write .",
|
|
35
|
+
"lint": "eslint --ext .tsx,.ts --fix ./example -c .eslintrc.js",
|
|
36
|
+
"storybook": "start-storybook -p 6006 -s public",
|
|
37
|
+
"build-storybook": "build-storybook -s public",
|
|
38
|
+
"docs": "start-storybook -p 6006",
|
|
39
|
+
"vpublish:major": "sh ./publish.sh major",
|
|
40
|
+
"vpublish:minor": "sh ./publish.sh minor",
|
|
41
|
+
"vpublish:patch": "sh ./publish.sh patch",
|
|
42
|
+
"vpublish:premajor": "sh ./publish.sh premajor",
|
|
43
|
+
"vpublish:preminor": "sh ./publish.sh preminor",
|
|
44
|
+
"vpublish:prepatch": "sh ./publish.sh prepatch",
|
|
45
|
+
"vpublish:prerelease": "sh ./publish.sh prerelease"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"@ant-design/icons": "^5.0.1",
|
|
49
|
+
"@umijs/hooks": "^1.9.3",
|
|
50
|
+
"@xstate/immer": "^0.3.2",
|
|
51
|
+
"@xstate/react": "^3.2.1",
|
|
52
|
+
"antd": "^5.10.2",
|
|
53
|
+
"autoprefixer": "^10.4.14",
|
|
54
|
+
"deep-object-diff": "^1.1.9",
|
|
55
|
+
"immer": "^9.0.21",
|
|
56
|
+
"lodash": "^4.17.21",
|
|
57
|
+
"moment": "^2.29.4",
|
|
58
|
+
"react": "^17.0.2",
|
|
59
|
+
"react-dom": "^17.0.2",
|
|
60
|
+
"react-draggable": "^4.4.5",
|
|
61
|
+
"react-moveable": "^0.56.0",
|
|
62
|
+
"tailwindcss": "^3.3.1",
|
|
63
|
+
"use-immer": "^0.9.0",
|
|
64
|
+
"xstate": "^4.37.1"
|
|
65
|
+
},
|
|
66
|
+
"devDependencies": {
|
|
67
|
+
"@babel/core": "^7.20.12",
|
|
68
|
+
"@commitlint/cli": "^17.0.3",
|
|
69
|
+
"@commitlint/config-conventional": "^17.0.3",
|
|
70
|
+
"@rollup/plugin-babel": "^6.0.4",
|
|
71
|
+
"@rollup/plugin-typescript": "^11.0.0",
|
|
72
|
+
"@storybook/addon-actions": "^6.5.16",
|
|
73
|
+
"@storybook/addon-essentials": "^6.5.16",
|
|
74
|
+
"@storybook/addon-interactions": "^6.5.16",
|
|
75
|
+
"@storybook/addon-links": "6.5.16",
|
|
76
|
+
"@storybook/builder-vite": "^0.4.0",
|
|
77
|
+
"@storybook/react": "^6.5.16",
|
|
78
|
+
"@storybook/testing-library": "^0.0.13",
|
|
79
|
+
"@types/lodash": "^4",
|
|
80
|
+
"@types/react": "^17.0.44",
|
|
81
|
+
"@types/react-dom": "^17.0.17",
|
|
82
|
+
"@typescript-eslint/eslint-plugin": "^5.35.1",
|
|
83
|
+
"@typescript-eslint/parser": "^5.35.1",
|
|
84
|
+
"@vitejs/plugin-react": "^3.1.0",
|
|
85
|
+
"babel-loader": "^8.3.0",
|
|
86
|
+
"eslint": "^8.0.1",
|
|
87
|
+
"eslint-config-prettier": "^8.5.0",
|
|
88
|
+
"eslint-config-standard-with-typescript": "^22.0.0",
|
|
89
|
+
"eslint-plugin-import": "^2.25.2",
|
|
90
|
+
"eslint-plugin-n": "^15.0.0",
|
|
91
|
+
"eslint-plugin-promise": "^6.0.0",
|
|
92
|
+
"eslint-plugin-react": "^7.31.0",
|
|
93
|
+
"eslint-plugin-storybook": "^0.6.10",
|
|
94
|
+
"less": "^4.1.2",
|
|
95
|
+
"prettier": "2.7.1",
|
|
96
|
+
"require-from-string": "^2.0.2",
|
|
97
|
+
"rollup-plugin-less-modules": "^0.1.11",
|
|
98
|
+
"rollup-plugin-visualizer": "^5.12.0",
|
|
99
|
+
"typescript": "*",
|
|
100
|
+
"vite": "^4.1.1",
|
|
101
|
+
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
102
|
+
"vite-plugin-dts": "^4.3.0"
|
|
103
|
+
},
|
|
104
|
+
"publishConfig": {
|
|
105
|
+
"access": "public",
|
|
106
|
+
"registry": "https://registry.npmjs.org/"
|
|
107
|
+
},
|
|
108
|
+
"lint-staged": {
|
|
109
|
+
"*.{js,css,md,jsx,less,ts,tsx,json}": "prettier --write"
|
|
110
|
+
},
|
|
111
|
+
"resolutions": {
|
|
112
|
+
"@types/react": "17.0.0",
|
|
113
|
+
"@types/react-dom": "17.0.9"
|
|
114
|
+
}
|
|
115
|
+
}
|