From 387d94494e4b274a1003ebc906a970dc133f21ab Mon Sep 17 00:00:00 2001
From: xieyonghong <18010623010@163.com>
Date: Tue, 10 Jan 2023 15:54:19 +0800
Subject: [PATCH 1/5] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0setup=E6=8F=92?=
=?UTF-8?q?=E4=BB=B6=E4=BB=A5=E6=94=AF=E6=8C=81setup=E5=8F=AF=E4=BB=A5?=
=?UTF-8?q?=E8=AE=BE=E7=BD=AEname?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Form/FormBuilder.vue | 15 +++++++++++++++
vite.config.ts | 4 +++-
2 files changed, 18 insertions(+), 1 deletion(-)
create mode 100644 src/components/Form/FormBuilder.vue
diff --git a/src/components/Form/FormBuilder.vue b/src/components/Form/FormBuilder.vue
new file mode 100644
index 00000000..076e9895
--- /dev/null
+++ b/src/components/Form/FormBuilder.vue
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vite.config.ts b/vite.config.ts
index a8103f9a..939b1029 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -7,6 +7,7 @@ import AutoImport from 'unplugin-auto-import/vite'
import { createHtmlPlugin } from 'vite-plugin-html'
import Config from './config/config'
import {VueAmapResolver} from '@vuemap/unplugin-resolver'
+import VueSetupExtend from 'vite-plugin-vue-setup-extend'
import * as path from 'path'
@@ -67,7 +68,8 @@ export default defineConfig(({ mode}) => {
favicon: ``
}
}
- })
+ }),
+ VueSetupExtend()
],
server: {
host:'0.0.0.0',
From bd810410673fe44220c75fd697026a3b0a0a190d Mon Sep 17 00:00:00 2001
From: xieyonghong <18010623010@163.com>
Date: Tue, 10 Jan 2023 15:58:05 +0800
Subject: [PATCH 2/5] feat: merge
---
components.d.ts | 19 +--
package.json | 7 +-
yarn.lock | 402 ++++++++++++++++++++++++++++++++++++++++++++++--
3 files changed, 395 insertions(+), 33 deletions(-)
diff --git a/components.d.ts b/components.d.ts
index aca97d61..7c068950 100644
--- a/components.d.ts
+++ b/components.d.ts
@@ -7,33 +7,18 @@ export {}
declare module '@vue/runtime-core' {
export interface GlobalComponents {
- ABadge: typeof import('ant-design-vue/es')['Badge']
AButton: typeof import('ant-design-vue/es')['Button']
- ACard: typeof import('ant-design-vue/es')['Card']
- ACheckbox: typeof import('ant-design-vue/es')['Checkbox']
- ACol: typeof import('ant-design-vue/es')['Col']
- ADatePicker: typeof import('ant-design-vue/es')['DatePicker']
- ADivider: typeof import('ant-design-vue/es')['Divider']
- AForm: typeof import('ant-design-vue/es')['Form']
- AFormItem: typeof import('ant-design-vue/es')['FormItem']
- AInput: typeof import('ant-design-vue/es')['Input']
- AInputGroup: typeof import('ant-design-vue/es')['InputGroup']
- AInputNumber: typeof import('ant-design-vue/es')['InputNumber']
- AInputPassword: typeof import('ant-design-vue/es')['InputPassword']
- AModal: typeof import('ant-design-vue/es')['Modal']
APopconfirm: typeof import('ant-design-vue/es')['Popconfirm']
- ARow: typeof import('ant-design-vue/es')['Row']
- ASelect: typeof import('ant-design-vue/es')['Select']
- ASpin: typeof import('ant-design-vue/es')['Spin']
ATooltip: typeof import('ant-design-vue/es')['Tooltip']
- AUpload: typeof import('ant-design-vue/es')['Upload']
BadgeStatus: typeof import('./src/components/BadgeStatus/index.vue')['default']
CardBox: typeof import('./src/components/CardBox/index.vue')['default']
+ FormFormBuilder: typeof import('./src/components/Form/FormBuilder.vue')['default']
GeoComponent: typeof import('./src/components/GeoComponent/index.vue')['default']
MonacoEditor: typeof import('./src/components/MonacoEditor/index.vue')['default']
PermissionButton: typeof import('./src/components/PermissionButton/index.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
+ TitleComponent: typeof import('./src/components/TitleComponent/index.vue')['default']
ValueItem: typeof import('./src/components/ValueItem/index.vue')['default']
}
}
diff --git a/package.json b/package.json
index 9f393839..896ac93a 100644
--- a/package.json
+++ b/package.json
@@ -17,8 +17,9 @@
"@vuemap/vue-amap": "^1.1.20",
"ant-design-vue": "^3.2.15",
"axios": "^1.2.1",
- "js-cookie": "^3.0.1",
"echarts": "^5.4.1",
+ "jetlinks-store": "^0.0.3",
+ "js-cookie": "^3.0.1",
"less": "^4.1.3",
"less-loader": "^11.1.0",
"lodash-es": "^4.17.21",
@@ -28,8 +29,7 @@
"unplugin-auto-import": "^0.12.1",
"unplugin-vue-components": "^0.22.12",
"vue": "^3.2.45",
- "vue-router": "^4.1.6",
- "jetlinks-store": "^0.0.3"
+ "vue-router": "^4.1.6"
},
"devDependencies": {
"@commitlint/cli": "^17.4.1",
@@ -48,6 +48,7 @@
"typescript": "^4.9.3",
"vite": "^4.0.0",
"vite-plugin-html": "^3.2.0",
+ "vite-plugin-vue-setup-extend": "^0.4.0",
"vue-tsc": "^1.0.11"
},
"lint-staged": {
diff --git a/yarn.lock b/yarn.lock
index ee788c14..ed3e1563 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -26,6 +26,14 @@
"@types/three" "0.143.0"
three "0.143.0"
+"@ampproject/remapping@^2.1.0":
+ version "2.2.0"
+ resolved "https://registry.npmmirror.com/@ampproject/remapping/-/remapping-2.2.0.tgz#56c133824780de3174aed5ab6834f3026790154d"
+ integrity sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==
+ dependencies:
+ "@jridgewell/gen-mapping" "^0.1.0"
+ "@jridgewell/trace-mapping" "^0.3.9"
+
"@ant-design/colors@^6.0.0":
version "6.0.0"
resolved "https://registry.npmmirror.com/@ant-design/colors/-/colors-6.0.0.tgz"
@@ -51,18 +59,197 @@
resolved "https://registry.npmmirror.com/@antfu/utils/-/utils-0.7.2.tgz"
integrity sha512-vy9fM3pIxZmX07dL+VX1aZe7ynZ+YyB0jY+jE6r3hOK6GNY2t6W8rzpFC4tgpbXUYABkFQwgJq2XYXlxbXAI0g==
-"@babel/code-frame@^7.0.0":
+"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.18.6":
version "7.18.6"
resolved "https://registry.npmmirror.com/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a"
integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==
dependencies:
"@babel/highlight" "^7.18.6"
-"@babel/helper-validator-identifier@^7.18.6":
+"@babel/compat-data@^7.20.5":
+ version "7.20.10"
+ resolved "https://registry.npmmirror.com/@babel/compat-data/-/compat-data-7.20.10.tgz#9d92fa81b87542fff50e848ed585b4212c1d34ec"
+ integrity sha512-sEnuDPpOJR/fcafHMjpcpGN5M2jbUGUHwmuWKM/YdPzeEDJg8bgmbcWQFUfE32MQjti1koACvoPVsDe8Uq+idg==
+
+"@babel/core@^7.20.5":
+ version "7.20.12"
+ resolved "https://registry.npmmirror.com/@babel/core/-/core-7.20.12.tgz#7930db57443c6714ad216953d1356dac0eb8496d"
+ integrity sha512-XsMfHovsUYHFMdrIHkZphTN/2Hzzi78R08NuHfDBehym2VsPDL6Zn/JAD/JQdnRvbSsbQc4mVaU1m6JgtTEElg==
+ dependencies:
+ "@ampproject/remapping" "^2.1.0"
+ "@babel/code-frame" "^7.18.6"
+ "@babel/generator" "^7.20.7"
+ "@babel/helper-compilation-targets" "^7.20.7"
+ "@babel/helper-module-transforms" "^7.20.11"
+ "@babel/helpers" "^7.20.7"
+ "@babel/parser" "^7.20.7"
+ "@babel/template" "^7.20.7"
+ "@babel/traverse" "^7.20.12"
+ "@babel/types" "^7.20.7"
+ convert-source-map "^1.7.0"
+ debug "^4.1.0"
+ gensync "^1.0.0-beta.2"
+ json5 "^2.2.2"
+ semver "^6.3.0"
+
+"@babel/generator@^7.20.7":
+ version "7.20.7"
+ resolved "https://registry.npmmirror.com/@babel/generator/-/generator-7.20.7.tgz#f8ef57c8242665c5929fe2e8d82ba75460187b4a"
+ integrity sha512-7wqMOJq8doJMZmP4ApXTzLxSr7+oO2jroJURrVEp6XShrQUObV8Tq/D0NCcoYg2uHqUrjzO0zwBjoYzelxK+sw==
+ dependencies:
+ "@babel/types" "^7.20.7"
+ "@jridgewell/gen-mapping" "^0.3.2"
+ jsesc "^2.5.1"
+
+"@babel/helper-annotate-as-pure@^7.18.6":
+ version "7.18.6"
+ resolved "https://registry.npmmirror.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz#eaa49f6f80d5a33f9a5dd2276e6d6e451be0a6bb"
+ integrity sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==
+ dependencies:
+ "@babel/types" "^7.18.6"
+
+"@babel/helper-compilation-targets@^7.20.7":
+ version "7.20.7"
+ resolved "https://registry.npmmirror.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz#a6cd33e93629f5eb473b021aac05df62c4cd09bb"
+ integrity sha512-4tGORmfQcrc+bvrjb5y3dG9Mx1IOZjsHqQVUz7XCNHO+iTmqxWnVg3KRygjGmpRLJGdQSKuvFinbIb0CnZwHAQ==
+ dependencies:
+ "@babel/compat-data" "^7.20.5"
+ "@babel/helper-validator-option" "^7.18.6"
+ browserslist "^4.21.3"
+ lru-cache "^5.1.1"
+ semver "^6.3.0"
+
+"@babel/helper-create-class-features-plugin@^7.20.7":
+ version "7.20.12"
+ resolved "https://registry.npmmirror.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.20.12.tgz#4349b928e79be05ed2d1643b20b99bb87c503819"
+ integrity sha512-9OunRkbT0JQcednL0UFvbfXpAsUXiGjUk0a7sN8fUXX7Mue79cUSMjHGDRRi/Vz9vYlpIhLV5fMD5dKoMhhsNQ==
+ dependencies:
+ "@babel/helper-annotate-as-pure" "^7.18.6"
+ "@babel/helper-environment-visitor" "^7.18.9"
+ "@babel/helper-function-name" "^7.19.0"
+ "@babel/helper-member-expression-to-functions" "^7.20.7"
+ "@babel/helper-optimise-call-expression" "^7.18.6"
+ "@babel/helper-replace-supers" "^7.20.7"
+ "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0"
+ "@babel/helper-split-export-declaration" "^7.18.6"
+
+"@babel/helper-environment-visitor@^7.18.9":
+ version "7.18.9"
+ resolved "https://registry.npmmirror.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz#0c0cee9b35d2ca190478756865bb3528422f51be"
+ integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg==
+
+"@babel/helper-function-name@^7.19.0":
+ version "7.19.0"
+ resolved "https://registry.npmmirror.com/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz#941574ed5390682e872e52d3f38ce9d1bef4648c"
+ integrity sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w==
+ dependencies:
+ "@babel/template" "^7.18.10"
+ "@babel/types" "^7.19.0"
+
+"@babel/helper-hoist-variables@^7.18.6":
+ version "7.18.6"
+ resolved "https://registry.npmmirror.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz#d4d2c8fb4baeaa5c68b99cc8245c56554f926678"
+ integrity sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==
+ dependencies:
+ "@babel/types" "^7.18.6"
+
+"@babel/helper-member-expression-to-functions@^7.20.7":
+ version "7.20.7"
+ resolved "https://registry.npmmirror.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.20.7.tgz#a6f26e919582275a93c3aa6594756d71b0bb7f05"
+ integrity sha512-9J0CxJLq315fEdi4s7xK5TQaNYjZw+nDVpVqr1axNGKzdrdwYBD5b4uKv3n75aABG0rCCTK8Im8Ww7eYfMrZgw==
+ dependencies:
+ "@babel/types" "^7.20.7"
+
+"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.18.6":
+ version "7.18.6"
+ resolved "https://registry.npmmirror.com/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz#1e3ebdbbd08aad1437b428c50204db13c5a3ca6e"
+ integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==
+ dependencies:
+ "@babel/types" "^7.18.6"
+
+"@babel/helper-module-transforms@^7.20.11":
+ version "7.20.11"
+ resolved "https://registry.npmmirror.com/@babel/helper-module-transforms/-/helper-module-transforms-7.20.11.tgz#df4c7af713c557938c50ea3ad0117a7944b2f1b0"
+ integrity sha512-uRy78kN4psmji1s2QtbtcCSaj/LILFDp0f/ymhpQH5QY3nljUZCaNWz9X1dEj/8MBdBEFECs7yRhKn8i7NjZgg==
+ dependencies:
+ "@babel/helper-environment-visitor" "^7.18.9"
+ "@babel/helper-module-imports" "^7.18.6"
+ "@babel/helper-simple-access" "^7.20.2"
+ "@babel/helper-split-export-declaration" "^7.18.6"
+ "@babel/helper-validator-identifier" "^7.19.1"
+ "@babel/template" "^7.20.7"
+ "@babel/traverse" "^7.20.10"
+ "@babel/types" "^7.20.7"
+
+"@babel/helper-optimise-call-expression@^7.18.6":
+ version "7.18.6"
+ resolved "https://registry.npmmirror.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz#9369aa943ee7da47edab2cb4e838acf09d290ffe"
+ integrity sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA==
+ dependencies:
+ "@babel/types" "^7.18.6"
+
+"@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.19.0", "@babel/helper-plugin-utils@^7.20.2":
+ version "7.20.2"
+ resolved "https://registry.npmmirror.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz#d1b9000752b18d0877cff85a5c376ce5c3121629"
+ integrity sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ==
+
+"@babel/helper-replace-supers@^7.20.7":
+ version "7.20.7"
+ resolved "https://registry.npmmirror.com/@babel/helper-replace-supers/-/helper-replace-supers-7.20.7.tgz#243ecd2724d2071532b2c8ad2f0f9f083bcae331"
+ integrity sha512-vujDMtB6LVfNW13jhlCrp48QNslK6JXi7lQG736HVbHz/mbf4Dc7tIRh1Xf5C0rF7BP8iiSxGMCmY6Ci1ven3A==
+ dependencies:
+ "@babel/helper-environment-visitor" "^7.18.9"
+ "@babel/helper-member-expression-to-functions" "^7.20.7"
+ "@babel/helper-optimise-call-expression" "^7.18.6"
+ "@babel/template" "^7.20.7"
+ "@babel/traverse" "^7.20.7"
+ "@babel/types" "^7.20.7"
+
+"@babel/helper-simple-access@^7.20.2":
+ version "7.20.2"
+ resolved "https://registry.npmmirror.com/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz#0ab452687fe0c2cfb1e2b9e0015de07fc2d62dd9"
+ integrity sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA==
+ dependencies:
+ "@babel/types" "^7.20.2"
+
+"@babel/helper-skip-transparent-expression-wrappers@^7.20.0":
+ version "7.20.0"
+ resolved "https://registry.npmmirror.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.20.0.tgz#fbe4c52f60518cab8140d77101f0e63a8a230684"
+ integrity sha512-5y1JYeNKfvnT8sZcK9DVRtpTbGiomYIHviSP3OQWmDPU3DeH4a1ZlT/N2lyQ5P8egjcRaT/Y9aNqUxK0WsnIIg==
+ dependencies:
+ "@babel/types" "^7.20.0"
+
+"@babel/helper-split-export-declaration@^7.18.6":
+ version "7.18.6"
+ resolved "https://registry.npmmirror.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz#7367949bc75b20c6d5a5d4a97bba2824ae8ef075"
+ integrity sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==
+ dependencies:
+ "@babel/types" "^7.18.6"
+
+"@babel/helper-string-parser@^7.19.4":
+ version "7.19.4"
+ resolved "https://registry.npmmirror.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63"
+ integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==
+
+"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1":
version "7.19.1"
resolved "https://registry.npmmirror.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2"
integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==
+"@babel/helper-validator-option@^7.18.6":
+ version "7.18.6"
+ resolved "https://registry.npmmirror.com/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz#bf0d2b5a509b1f336099e4ff36e1a63aa5db4db8"
+ integrity sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==
+
+"@babel/helpers@^7.20.7":
+ version "7.20.7"
+ resolved "https://registry.npmmirror.com/@babel/helpers/-/helpers-7.20.7.tgz#04502ff0feecc9f20ecfaad120a18f011a8e6dce"
+ integrity sha512-PBPjs5BppzsGaxHQCDKnZ6Gd9s6xl8bBCluz3vEInLGRJmnZan4F6BYCeqtyXqkk4W5IlPmjK4JlOuZkpJ3xZA==
+ dependencies:
+ "@babel/template" "^7.20.7"
+ "@babel/traverse" "^7.20.7"
+ "@babel/types" "^7.20.7"
+
"@babel/highlight@^7.18.6":
version "7.18.6"
resolved "https://registry.npmmirror.com/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf"
@@ -72,11 +259,34 @@
chalk "^2.0.0"
js-tokens "^4.0.0"
-"@babel/parser@^7.16.4":
+"@babel/parser@^7.16.4", "@babel/parser@^7.20.7":
version "7.20.7"
- resolved "https://registry.npmmirror.com/@babel/parser/-/parser-7.20.7.tgz"
+ resolved "https://registry.npmmirror.com/@babel/parser/-/parser-7.20.7.tgz#66fe23b3c8569220817d5feb8b9dcdc95bb4f71b"
integrity sha512-T3Z9oHybU+0vZlY9CiDSJQTD5ZapcW18ZctFMi0MOAl/4BjFF4ul7NVSARLdbGO5vDqy9eQiGTV0LtKfvCYvcg==
+"@babel/plugin-syntax-jsx@^7.0.0":
+ version "7.18.6"
+ resolved "https://registry.npmmirror.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0"
+ integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.18.6"
+
+"@babel/plugin-syntax-typescript@^7.20.0":
+ version "7.20.0"
+ resolved "https://registry.npmmirror.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.20.0.tgz#4e9a0cfc769c85689b77a2e642d24e9f697fc8c7"
+ integrity sha512-rd9TkG+u1CExzS4SM1BlMEhMXwFLKVjOAFFCDx9PbX5ycJWDoWMcwdJH9RhkPu1dOgn5TrxLot/Gx6lWFuAUNQ==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.19.0"
+
+"@babel/plugin-transform-typescript@^7.20.2":
+ version "7.20.7"
+ resolved "https://registry.npmmirror.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.20.7.tgz#673f49499cd810ae32a1ea5f3f8fab370987e055"
+ integrity sha512-m3wVKEvf6SoszD8pu4NZz3PvfKRCMgk6D6d0Qi9hNnlM5M6CFS92EgF4EiHVLKbU0r/r7ty1hg7NPZwE7WRbYw==
+ dependencies:
+ "@babel/helper-create-class-features-plugin" "^7.20.7"
+ "@babel/helper-plugin-utils" "^7.20.2"
+ "@babel/plugin-syntax-typescript" "^7.20.0"
+
"@babel/runtime@^7.10.5":
version "7.20.7"
resolved "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.20.7.tgz"
@@ -84,6 +294,40 @@
dependencies:
regenerator-runtime "^0.13.11"
+"@babel/template@^7.0.0", "@babel/template@^7.18.10", "@babel/template@^7.20.7":
+ version "7.20.7"
+ resolved "https://registry.npmmirror.com/@babel/template/-/template-7.20.7.tgz#a15090c2839a83b02aa996c0b4994005841fd5a8"
+ integrity sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==
+ dependencies:
+ "@babel/code-frame" "^7.18.6"
+ "@babel/parser" "^7.20.7"
+ "@babel/types" "^7.20.7"
+
+"@babel/traverse@^7.0.0", "@babel/traverse@^7.20.10", "@babel/traverse@^7.20.12", "@babel/traverse@^7.20.7":
+ version "7.20.12"
+ resolved "https://registry.npmmirror.com/@babel/traverse/-/traverse-7.20.12.tgz#7f0f787b3a67ca4475adef1f56cb94f6abd4a4b5"
+ integrity sha512-MsIbFN0u+raeja38qboyF8TIT7K0BFzz/Yd/77ta4MsUsmP2RAnidIlwq7d5HFQrH/OZJecGV6B71C4zAgpoSQ==
+ dependencies:
+ "@babel/code-frame" "^7.18.6"
+ "@babel/generator" "^7.20.7"
+ "@babel/helper-environment-visitor" "^7.18.9"
+ "@babel/helper-function-name" "^7.19.0"
+ "@babel/helper-hoist-variables" "^7.18.6"
+ "@babel/helper-split-export-declaration" "^7.18.6"
+ "@babel/parser" "^7.20.7"
+ "@babel/types" "^7.20.7"
+ debug "^4.1.0"
+ globals "^11.1.0"
+
+"@babel/types@^7.0.0", "@babel/types@^7.18.6", "@babel/types@^7.19.0", "@babel/types@^7.20.0", "@babel/types@^7.20.2", "@babel/types@^7.20.7":
+ version "7.20.7"
+ resolved "https://registry.npmmirror.com/@babel/types/-/types-7.20.7.tgz#54ec75e252318423fc07fb644dc6a58a64c09b7f"
+ integrity sha512-69OnhBxSSgK0OzTJai4kyPDiKTIe3j+ctaHdIGVbRahTLAT7L3R9oeXHC2aVSuGYt3cVnoAMDmOCgJ2yaiLMvg==
+ dependencies:
+ "@babel/helper-string-parser" "^7.19.4"
+ "@babel/helper-validator-identifier" "^7.19.1"
+ to-fast-properties "^2.0.0"
+
"@commitlint/cli@^17.4.1":
version "17.4.1"
resolved "https://registry.npmmirror.com/@commitlint/cli/-/cli-17.4.1.tgz#71086653a42abafe5519c6c5f8ada35b17f1dc53"
@@ -367,9 +611,17 @@
resolved "https://registry.npmmirror.com/@esbuild/win32-x64/-/win32-x64-0.16.10.tgz"
integrity sha512-qddWullt3sC1EIpfHvCRBq3H4g3L86DZpD6n8k2XFjFVyp01D++uNbN1hT/JRsHxTbyyemZcpwL5aRlJwc/zFw==
-"@jridgewell/gen-mapping@^0.3.0":
+"@jridgewell/gen-mapping@^0.1.0":
+ version "0.1.1"
+ resolved "https://registry.npmmirror.com/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz#e5d2e450306a9491e3bd77e323e38d7aff315996"
+ integrity sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==
+ dependencies:
+ "@jridgewell/set-array" "^1.0.0"
+ "@jridgewell/sourcemap-codec" "^1.4.10"
+
+"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2":
version "0.3.2"
- resolved "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz"
+ resolved "https://registry.npmmirror.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz#c1aedc61e853f2bb9f5dfe6d4442d3b565b253b9"
integrity sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==
dependencies:
"@jridgewell/set-array" "^1.0.1"
@@ -381,7 +633,7 @@
resolved "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz"
integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==
-"@jridgewell/set-array@^1.0.1":
+"@jridgewell/set-array@^1.0.0", "@jridgewell/set-array@^1.0.1":
version "1.1.2"
resolved "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz"
integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==
@@ -554,6 +806,15 @@
resolved "https://registry.npmjs.org/@types/webxr/-/webxr-0.5.0.tgz"
integrity sha512-IUMDPSXnYIbEO2IereEFcgcqfDREOgmbGqtrMpVPpACTU6pltYLwHgVkrnYv0XhWEcjio9sYEfIEzgn3c7nDqA==
+"@vitejs/plugin-vue-jsx@^3.0.0":
+ version "3.0.0"
+ resolved "https://registry.npmmirror.com/@vitejs/plugin-vue-jsx/-/plugin-vue-jsx-3.0.0.tgz#42e89d6d9eb89604d109ff9a615d77c3c080dd25"
+ integrity sha512-vurkuzgac5SYuxd2HUZqAFAWGTF10diKBwJNbCvnWijNZfXd+7jMtqjPFbGt7idOJUn584fP1Ar9j/GN2jQ3Ew==
+ dependencies:
+ "@babel/core" "^7.20.5"
+ "@babel/plugin-transform-typescript" "^7.20.2"
+ "@vue/babel-plugin-jsx" "^1.1.1"
+
"@vitejs/plugin-vue@^4.0.0":
version "4.0.0"
resolved "https://registry.npmmirror.com/@vitejs/plugin-vue/-/plugin-vue-4.0.0.tgz"
@@ -604,6 +865,26 @@
"@volar/typescript" "1.0.17"
"@volar/vue-language-core" "1.0.17"
+"@vue/babel-helper-vue-transform-on@^1.0.2":
+ version "1.0.2"
+ resolved "https://registry.npmmirror.com/@vue/babel-helper-vue-transform-on/-/babel-helper-vue-transform-on-1.0.2.tgz#9b9c691cd06fc855221a2475c3cc831d774bc7dc"
+ integrity sha512-hz4R8tS5jMn8lDq6iD+yWL6XNB699pGIVLk7WSJnn1dbpjaazsjZQkieJoRX6gW5zpYSCFqQ7jUquPNY65tQYA==
+
+"@vue/babel-plugin-jsx@^1.1.1":
+ version "1.1.1"
+ resolved "https://registry.npmmirror.com/@vue/babel-plugin-jsx/-/babel-plugin-jsx-1.1.1.tgz#0c5bac27880d23f89894cd036a37b55ef61ddfc1"
+ integrity sha512-j2uVfZjnB5+zkcbc/zsOc0fSNGCMMjaEXP52wdwdIfn0qjFfEYpYZBFKFg+HHnQeJCVrjOeO0YxgaL7DMrym9w==
+ dependencies:
+ "@babel/helper-module-imports" "^7.0.0"
+ "@babel/plugin-syntax-jsx" "^7.0.0"
+ "@babel/template" "^7.0.0"
+ "@babel/traverse" "^7.0.0"
+ "@babel/types" "^7.0.0"
+ "@vue/babel-helper-vue-transform-on" "^1.0.2"
+ camelcase "^6.0.0"
+ html-tags "^3.1.0"
+ svg-tags "^1.0.0"
+
"@vue/compiler-core@3.2.45":
version "3.2.45"
resolved "https://registry.npmmirror.com/@vue/compiler-core/-/compiler-core-3.2.45.tgz"
@@ -622,7 +903,7 @@
"@vue/compiler-core" "3.2.45"
"@vue/shared" "3.2.45"
-"@vue/compiler-sfc@3.2.45", "@vue/compiler-sfc@^3.2.45":
+"@vue/compiler-sfc@3.2.45", "@vue/compiler-sfc@^3.2.29", "@vue/compiler-sfc@^3.2.45":
version "3.2.45"
resolved "https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-3.2.45.tgz"
integrity sha512-1jXDuWah1ggsnSAOGsec8cFjT/K6TMZ0sPL3o3d84Ft2AYZi2jWJgRMjw4iaK0rBfA89L5gw427H4n1RZQBu6Q==
@@ -1003,9 +1284,9 @@ braces@^3.0.2, braces@~3.0.2:
dependencies:
fill-range "^7.0.1"
-browserslist@^4.21.4:
+browserslist@^4.21.3, browserslist@^4.21.4:
version "4.21.4"
- resolved "https://registry.npmmirror.com/browserslist/-/browserslist-4.21.4.tgz"
+ resolved "https://registry.npmmirror.com/browserslist/-/browserslist-4.21.4.tgz#e7496bbc67b9e39dd0f98565feccdcb0d4ff6987"
integrity sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==
dependencies:
caniuse-lite "^1.0.30001400"
@@ -1073,6 +1354,11 @@ camelcase@^5.0.0, camelcase@^5.3.1:
resolved "https://registry.npmmirror.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==
+camelcase@^6.0.0:
+ version "6.3.0"
+ resolved "https://registry.npmmirror.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a"
+ integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==
+
caniuse-lite@^1.0.30001400, caniuse-lite@^1.0.30001426:
version "1.0.30001441"
resolved "https://registry.npmmirror.com/caniuse-lite/-/caniuse-lite-1.0.30001441.tgz"
@@ -1390,6 +1676,11 @@ conventional-commits-parser@^3.2.2:
split2 "^3.0.0"
through2 "^4.0.0"
+convert-source-map@^1.7.0:
+ version "1.9.0"
+ resolved "https://registry.npmmirror.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f"
+ integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==
+
copy-anything@^2.0.1:
version "2.0.6"
resolved "https://registry.npmmirror.com/copy-anything/-/copy-anything-2.0.6.tgz"
@@ -1505,9 +1796,9 @@ debug@^3.2.6:
dependencies:
ms "^2.1.1"
-debug@^4.3.4:
+debug@^4.1.0, debug@^4.3.4:
version "4.3.4"
- resolved "https://registry.npmmirror.com/debug/-/debug-4.3.4.tgz"
+ resolved "https://registry.npmmirror.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865"
integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==
dependencies:
ms "2.1.2"
@@ -1644,6 +1935,14 @@ eastasianwidth@^0.2.0:
resolved "https://registry.npmmirror.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb"
integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==
+echarts@^5.4.1:
+ version "5.4.1"
+ resolved "https://registry.npmmirror.com/echarts/-/echarts-5.4.1.tgz#d7f65a584d78beff62568d878b16151b3381811c"
+ integrity sha512-9ltS3M2JB0w2EhcYjCdmtrJ+6haZcW6acBolMGIuf01Hql1yrIV01L1aRj7jsaaIULJslEP9Z3vKlEmnJaWJVQ==
+ dependencies:
+ tslib "2.3.0"
+ zrender "5.4.1"
+
editorconfig@^0.15.3:
version "0.15.3"
resolved "https://registry.npmmirror.com/editorconfig/-/editorconfig-0.15.3.tgz#bef84c4e75fb8dcb0ce5cee8efd51c15999befc5"
@@ -1967,6 +2266,11 @@ function-bind@^1.1.1:
resolved "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.1.tgz"
integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
+gensync@^1.0.0-beta.2:
+ version "1.0.0-beta.2"
+ resolved "https://registry.npmmirror.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0"
+ integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==
+
get-caller-file@^2.0.1, get-caller-file@^2.0.5:
version "2.0.5"
resolved "https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
@@ -2057,6 +2361,11 @@ global-dirs@^2.0.1:
dependencies:
ini "1.3.7"
+globals@^11.1.0:
+ version "11.12.0"
+ resolved "https://registry.npmmirror.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e"
+ integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==
+
got@^6.7.1:
version "6.7.1"
resolved "https://registry.npmmirror.com/got/-/got-6.7.1.tgz#240cd05785a9a18e561dc1b44b41c763ef1e8db0"
@@ -2172,6 +2481,11 @@ html-minifier-terser@^6.1.0:
relateurl "^0.2.7"
terser "^5.10.0"
+html-tags@^3.1.0:
+ version "3.2.0"
+ resolved "https://registry.npmmirror.com/html-tags/-/html-tags-3.2.0.tgz#dbb3518d20b726524e4dd43de397eb0a95726961"
+ integrity sha512-vy7ClnArOZwCnqZgvv+ddgHgJiAFXe3Ge9ML5/mBctVJoUoYPCdxVucOywjDARn6CVoh3dRSFdPHy2sX80L0Wg==
+
http-cache-semantics@^4.0.0:
version "4.1.0"
resolved "https://registry.npmmirror.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390"
@@ -2187,7 +2501,7 @@ human-signals@^3.0.1:
resolved "https://registry.npmmirror.com/human-signals/-/human-signals-3.0.1.tgz#c740920859dafa50e5a3222da9d3bf4bb0e5eef5"
integrity sha512-rQLskxnM/5OCldHo+wNXbpVgDn5A17CUoKX+7Sokwaknlq7CdSnphy0W39GU8dw59XiCXmFXDg4fRuckQRKewQ==
-husky@^8.0.3:
+husky@^8.0.0:
version "8.0.3"
resolved "https://registry.npmmirror.com/husky/-/husky-8.0.3.tgz#4936d7212e46d1dea28fef29bb3a108872cd9184"
integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==
@@ -2476,6 +2790,16 @@ jake@^10.8.5:
filelist "^1.0.1"
minimatch "^3.0.4"
+jetlinks-store@^0.0.3:
+ version "0.0.3"
+ resolved "https://registry.npmmirror.com/jetlinks-store/-/jetlinks-store-0.0.3.tgz#7bc3c38c2e2e5d2eee6224f4878ff4d8326c978f"
+ integrity sha512-AZf/soh1hmmwjBZ00fr1emuMEydeReaI6IBTGByQYhTmK1Zd5pQAxC7WLek2snRAn/HHDgJfVz2hjditKThl6Q==
+
+js-cookie@^3.0.1:
+ version "3.0.1"
+ resolved "https://registry.npmmirror.com/js-cookie/-/js-cookie-3.0.1.tgz#9e39b4c6c2f56563708d7d31f6f5f21873a92414"
+ integrity sha512-+0rgsUXZu4ncpPxRL+lNEptWMOWl9etvPHc/koSRp6MPwpRYAhmk0dUG00J4bxVV3r9uUzfo24wW0knS07SKSw==
+
"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0:
version "4.0.0"
resolved "https://registry.npmmirror.com/js-tokens/-/js-tokens-4.0.0.tgz"
@@ -2493,6 +2817,11 @@ js-yaml@^4.1.0:
dependencies:
argparse "^2.0.1"
+jsesc@^2.5.1:
+ version "2.5.2"
+ resolved "https://registry.npmmirror.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4"
+ integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==
+
json-buffer@3.0.0:
version "3.0.0"
resolved "https://registry.npmmirror.com/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898"
@@ -2508,6 +2837,11 @@ json-schema-traverse@^1.0.0:
resolved "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2"
integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==
+json5@^2.2.2:
+ version "2.2.3"
+ resolved "https://registry.npmmirror.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283"
+ integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==
+
jsonc-parser@^3.2.0:
version "3.2.0"
resolved "https://registry.npmmirror.com/jsonc-parser/-/jsonc-parser-3.2.0.tgz"
@@ -2790,6 +3124,13 @@ lru-cache@^4.0.1, lru-cache@^4.1.5:
pseudomap "^1.0.2"
yallist "^2.1.2"
+lru-cache@^5.1.1:
+ version "5.1.1"
+ resolved "https://registry.npmmirror.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920"
+ integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==
+ dependencies:
+ yallist "^3.0.2"
+
lru-cache@^6.0.0:
version "6.0.0"
resolved "https://registry.npmmirror.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94"
@@ -4094,6 +4435,11 @@ supports-preserve-symlinks-flag@^1.0.0:
resolved "https://registry.npmmirror.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz"
integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==
+svg-tags@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.npmmirror.com/svg-tags/-/svg-tags-1.0.0.tgz#58f71cee3bd519b59d4b2a843b6c7de64ac04764"
+ integrity sha512-ovssysQTa+luh7A5Weu3Rta6FJlFBBbInjOh722LIt6klpU2/HtdUbszju/G4devcvk8PGt7FCLv5wftu3THUA==
+
term-size@^1.2.0:
version "1.2.0"
resolved "https://registry.npmmirror.com/term-size/-/term-size-1.2.0.tgz#458b83887f288fc56d6fffbfad262e26638efa69"
@@ -4150,6 +4496,11 @@ tmp@^0.0.33:
dependencies:
os-tmpdir "~1.0.2"
+to-fast-properties@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.npmmirror.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e"
+ integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==
+
to-readable-stream@^1.0.0:
version "1.0.0"
resolved "https://registry.npmmirror.com/to-readable-stream/-/to-readable-stream-1.0.0.tgz#ce0aa0c2f3df6adf852efb404a783e77c0475771"
@@ -4186,6 +4537,11 @@ ts-node@^10.8.1:
v8-compile-cache-lib "^3.0.1"
yn "3.1.1"
+tslib@2.3.0:
+ version "2.3.0"
+ resolved "https://registry.npmmirror.com/tslib/-/tslib-2.3.0.tgz#803b8cdab3e12ba581a4ca41c8839bbb0dacb09e"
+ integrity sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==
+
tslib@^1.9.0:
version "1.14.1"
resolved "https://registry.npmmirror.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
@@ -4457,6 +4813,14 @@ vite-plugin-html@^3.2.0:
node-html-parser "^5.3.3"
pathe "^0.2.0"
+vite-plugin-vue-setup-extend@^0.4.0:
+ version "0.4.0"
+ resolved "https://registry.npmmirror.com/vite-plugin-vue-setup-extend/-/vite-plugin-vue-setup-extend-0.4.0.tgz#ebbbe265320039b8c6a3b9fcae3b8d152ecf4a13"
+ integrity sha512-WMbjPCui75fboFoUTHhdbXzu4Y/bJMv5N9QT9a7do3wNMNHHqrk+Tn2jrSJU0LS5fGl/EG+FEDBYVUeWIkDqXQ==
+ dependencies:
+ "@vue/compiler-sfc" "^3.2.29"
+ magic-string "^0.25.7"
+
vite@^4.0.0:
version "4.0.3"
resolved "https://registry.npmmirror.com/vite/-/vite-4.0.3.tgz"
@@ -4648,6 +5012,11 @@ yallist@^2.1.2:
resolved "https://registry.npmmirror.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52"
integrity sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==
+yallist@^3.0.2:
+ version "3.1.1"
+ resolved "https://registry.npmmirror.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd"
+ integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==
+
yallist@^4.0.0:
version "4.0.0"
resolved "https://registry.npmmirror.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
@@ -4715,3 +5084,10 @@ yocto-queue@^0.1.0:
version "0.1.0"
resolved "https://registry.npmmirror.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==
+
+zrender@5.4.1:
+ version "5.4.1"
+ resolved "https://registry.npmmirror.com/zrender/-/zrender-5.4.1.tgz#892f864b885c71e1dc25dcb3c7a4ba42678d3f11"
+ integrity sha512-M4Z05BHWtajY2241EmMPHglDQAJ1UyHQcYsxDNzD9XLSkPDqMq4bB28v9Pb4mvHnVQ0GxyTklZ/69xCFP6RXBA==
+ dependencies:
+ tslib "2.3.0"
From c5eb9fddc3517c42b5d905865b50d866c61238a7 Mon Sep 17 00:00:00 2001
From: xieyonghong <18010623010@163.com>
Date: Tue, 10 Jan 2023 16:11:02 +0800
Subject: [PATCH 3/5] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0FormBuilder?=
=?UTF-8?q?=E7=BB=84=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Form/FormBuilder.vue | 4 +---
src/components/Form/index.ts | 3 +++
src/components/index.ts | 8 +++++---
src/router/menu.ts | 4 ++++
src/views/demo/Form.vue | 11 +++++++++++
5 files changed, 24 insertions(+), 6 deletions(-)
create mode 100644 src/components/Form/index.ts
create mode 100644 src/views/demo/Form.vue
diff --git a/src/components/Form/FormBuilder.vue b/src/components/Form/FormBuilder.vue
index 076e9895..d1a74645 100644
--- a/src/components/Form/FormBuilder.vue
+++ b/src/components/Form/FormBuilder.vue
@@ -5,9 +5,7 @@
\ No newline at end of file
From f801cffc000d75df922652f85a66b24a56b96c2b Mon Sep 17 00:00:00 2001
From: wangshuaiswim
Date: Tue, 10 Jan 2023 16:21:58 +0800
Subject: [PATCH 4/5] =?UTF-8?q?fix:=20=E5=88=A0=E9=99=A4=E8=8F=9C=E5=8D=95?=
=?UTF-8?q?=E5=92=8C=E6=8C=89=E9=92=AE=E6=9E=9A=E4=B8=BE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/router/router.ts | 240 ----------------------------------------
src/store/permission.ts | 3 +-
2 files changed, 1 insertion(+), 242 deletions(-)
delete mode 100644 src/router/router.ts
diff --git a/src/router/router.ts b/src/router/router.ts
deleted file mode 100644
index bc22c28f..00000000
--- a/src/router/router.ts
+++ /dev/null
@@ -1,240 +0,0 @@
-/** 路由Code */
-export enum MENUS_CODE {
- 'home' = 'home',
- 'Analysis/CPU' = 'Analysis/CPU',
- 'Analysis/DeviceChart' = 'Analysis/DeviceChart',
- 'Analysis/DeviceMessage' = 'Analysis/DeviceMessage',
- 'Analysis/Jvm' = 'Analysis/Jvm',
- 'Analysis/MessageChart' = 'Analysis/MessageChart',
- 'Analysis' = 'Analysis',
- 'cloud/Aliyun' = 'cloud/Aliyun',
- 'cloud/Ctwing' = 'cloud/Ctwing',
- 'cloud/DuerOS' = 'cloud/DuerOS',
- 'cloud/Onenet' = 'cloud/Onenet',
- 'device/Alarm' = 'device/Alarm',
- 'device/Category/Save' = 'device/Category/Save',
- 'device/Category' = 'device/Category',
- 'device/Command' = 'device/Command',
- 'device/DataSource' = 'device/DataSource',
- 'device/Instance' = 'device/Instance',
- 'device/Location' = 'device/Location',
- 'device/Product/Save' = 'device/Product/Save',
- 'device/Product' = 'device/Product',
- 'device/DashBoard' = 'device/DashBoard',
- 'device/components/Alarm/Edit' = 'device/components/Alarm/Edit',
- 'device/components/Alarm/Record' = 'device/components/Alarm/Record',
- 'device/components/Alarm/Setting' = 'device/components/Alarm/Setting',
- 'device/components/Alarm' = 'device/components/Alarm',
- 'device/components/Metadata/Base/Edit' = 'device/components/Metadata/Base/Edit',
- 'device/components/Metadata/Base' = 'device/components/Metadata/Base',
- 'device/components/Metadata/Cat' = 'device/components/Metadata/Cat',
- 'device/components/Metadata/Import' = 'device/components/Metadata/Import',
- 'device/components/Metadata' = 'device/components/Metadata',
- 'link/Certificate' = 'link/Certificate',
- 'link/Certificate/Detail' = 'link/Certificate/Detail',
- 'link/Gateway' = 'link/Gateway',
- 'link/Protocol/Debug' = 'link/Protocol/Debug',
- 'link/Protocol' = 'link/Protocol',
- 'link/Type' = 'link/Type',
- 'link/AccessConfig' = 'link/AccessConfig',
- 'link/DataCollect/Dashboard' = 'link/DataCollect/Dashboard',
- 'link/DataCollect/DataGathering' = 'link/DataCollect/DataGathering',
- 'link/DataCollect/IntegratedQuery' = 'link/DataCollect/IntegratedQuery',
- 'edge/Device' = 'edge/Device',
- 'edge/Resource' = 'edge/Resource',
- 'Log' = 'Log',
- 'media/Cascade' = 'media/Cascade',
- 'media/Cascade/Save' = 'media/Cascade/Save',
- 'media/Cascade/Channel' = 'media/Cascade/Channel',
- 'media/Config' = 'media/Config',
- 'media/Device' = 'media/Device',
- 'media/Device/Save' = 'media/Device/Save',
- 'media/Device/Channel' = 'media/Device/Channel',
- 'media/Device/Playback' = 'media/Device/Playback',
- 'media/Reveal' = 'media/Reveal',
- 'media/Stream' = 'media/Stream',
- 'media/Stream/Detail' = 'media/Stream/Detail',
- 'media/DashBoard' = 'media/DashBoard',
- 'notice/Type' = 'notice/Type',
- 'notice/Config' = 'notice/Config',
- 'media/SplitScreen' = 'media/SplitScreen',
- 'notice/Type/Config' = 'notice/Config',
- 'notice/Config/Detail' = 'notice/Config/Detail',
- 'notice/Template' = 'notice/Template',
- 'notice/Template/Detail' = 'notice/Template/Detail',
- 'rule-engine/DashBoard' = 'rule-engine/DashBoard',
- 'rule-engine/Instance' = 'rule-engine/Instance',
- 'rule-engine/SQLRule' = 'rule-engine/SQLRule',
- 'rule-engine/Scene' = 'rule-engine/Scene',
- 'rule-engine/Alarm/Log' = 'rule-engine/Alarm/Log',
- 'rule-engine/Alarm/Log/Detail' = 'rule-engine/Alarm/Log/Detail',
- 'rule-engine/Alarm/Config' = 'rule-engine/Alarm/Config',
- 'rule-engine/Scene/Save' = 'rule-engine/Scene/Save',
- 'rule-engine/Scene/Save2' = 'rule-engine/Scene/Save2',
- 'rule-engine/Alarm/Configuration' = 'rule-engine/Alarm/Configuration',
- 'rule-engine/Alarm/Configuration/Save' = 'rule-engine/Alarm/Configuration/Save',
- 'simulator/Device' = 'simulator/Device',
- 'system/DataSource' = 'system/DataSource',
- 'system/DataSource/Management' = 'system/DataSource/Management',
- 'system/Department/Assets' = 'system/Department/Assets',
- 'system/Department/Member' = 'system/Department/Member',
- 'system/Department' = 'system/Department',
- 'system/Menu' = 'system/Menu',
- 'system/Menu/Setting' = 'system/Menu/Setting',
- 'system/OpenAPI' = 'system/OpenAPI',
- 'system/Permission' = 'system/Permission',
- 'system/Role/Detail' = 'system/Role/Detail',
- 'system/Role' = 'system/Role',
- 'system/Tenant/Detail/Assets' = 'system/Tenant/Detail/Assets',
- 'system/Tenant/Detail/Info' = 'system/Tenant/Detail/Info',
- 'system/Tenant/Detail/Member' = 'system/Tenant/Detail/Member',
- 'system/Tenant/Detail/Permission' = 'system/Tenant/Detail/Permission',
- 'system/Tenant/Detail' = 'system/Tenant/Detail',
- 'system/Tenant' = 'system/Tenant',
- 'system/User' = 'system/User',
- 'system/Relationship' = 'system/Relationship',
- 'system/Basis' = 'system/Basis',
- 'user/Login' = 'user/Login',
- 'visualization/Category' = 'visualization/Category',
- 'visualization/Configuration' = 'visualization/Configuration',
- 'visualization/Screen' = 'visualization/Screen',
- 'device/Firmware' = 'device/Firmware',
- 'device/Firmware/Task' = 'device/Firmware/Task',
- 'device/Firmware/Task/Detail' = 'device/Firmware/Task/Detail',
- 'device/Instance/Detail/Config/Tags' = 'device/Instance/Detail/Config/Tags',
- 'device/Instance/Detail/Config' = 'device/Instance/Detail/Config',
- 'device/Instance/Detail/Functions' = 'device/Instance/Detail/Functions',
- 'device/Instance/Detail/Info' = 'device/Instance/Detail/Info',
- 'device/Instance/Detail/Log' = 'device/Instance/Detail/Log',
- 'device/Instance/Detail/MetadataLog/Event' = 'device/Instance/Detail/MetadataLog/Event',
- 'device/Instance/Detail/MetadataLog/Property' = 'device/Instance/Detail/MetadataLog/Property',
- 'device/Instance/Detail/Running' = 'device/Instance/Detail/Running',
- 'device/Instance/Detail' = 'device/Instance/Detail',
- 'device/Product/Detail/BaseInfo' = 'device/Product/Detail/BaseInfo',
- 'device/Product/Detail' = 'device/Product/Detail',
- 'link/AccessConfig/Detail' = 'link/AccessConfig/Detail',
- 'link/DashBoard' = 'link/DashBoard',
- 'system/Menu/Detail' = 'system/Menu/Detail',
- 'system/Department/Detail' = 'system/Department/Detail',
- 'link/Type/Detail' = 'link/Type/Detail',
- 'account/Center' = 'account/Center',
- 'account/NotificationSubscription' = 'account/NotificationSubscription',
- 'account/NotificationRecord' = 'account/NotificationRecord',
- 'account/Center/bind' = 'account/Center/bind',
- 'Northbound/DuerOS' = 'Northbound/DuerOS',
- 'Northbound/DuerOS/Detail' = 'Northbound/DuerOS/Detail',
- 'Northbound/AliCloud' = 'Northbound/AliCloud',
- 'Northbound/AliCloud/Detail' = 'Northbound/AliCloud/Detail',
- 'system/Platforms' = 'system/Platforms',
- 'system/Platforms/Api' = 'system/Platforms/Api',
- 'system/Platforms/View' = 'system/Platforms/View',
- 'system/Platforms/Setting' = 'system/Platforms/Setting',
- 'system/Apply' = 'system/Apply',
- 'system/Apply/Api' = 'system/Apply/Api',
- 'system/Apply/View' = 'system/Apply/View',
- 'system/License' = 'system/License',
- 'iot-card/Home' = 'iot-card/Home',
- 'iot-card/Platform' = 'iot-card/Platform',
- 'iot-card/Platform/Detail' = 'iot-card/Platform/Detail',
- 'iot-card/Recharge' = 'iot-card/Recharge',
- 'iot-card/Dashboard' = 'iot-card/Dashboard',
- 'iot-card/CardManagement' = 'iot-card/CardManagement',
- 'iot-card/Record' = 'iot-card/Record',
-}
-
-export type MENUS_CODE_TYPE = keyof typeof MENUS_CODE | string;
-
-export enum BUTTON_PERMISSION_ENUM {
- 'add' = 'add',
- 'delete' = 'delete',
- 'import' = 'import',
- 'view' = 'view',
- 'export' = 'export',
- 'update' = 'update',
- 'action' = 'action',
- 'push' = 'push',
- 'assert' = 'assert',
- 'bind-user' = 'bind-user',
- 'active' = 'active',
- 'sync' = 'sync',
- 'channel' = 'channel',
- 'debug' = 'debug',
- 'log' = 'log',
- 'tigger' = 'tigger',
- 'empowerment' = 'empowerment',
- 'bind' = 'bind',
- 'edit' = 'edit', //资产权限编辑
- 'setting' = 'setting', //菜单配置
- 'password' = 'password', //重置密码
- 'api' = 'api', //查看api
- 'manage' = 'manage', //数据源-管理
- 'stop' = 'stop',
- 'restart' = 'restart',
- 'pay' = 'pay', //充值
-}
-
-// 调试按钮、通知记录、批量导出、批量导入、选择通道、推送、分配资产、绑定用户对应的ID是啥
-export type CUSTOM_BUTTON = 'debug' | 'log' | 'channel' | 'assert' | 'bind-user';
-
-export type BUTTON_PERMISSION = keyof typeof BUTTON_PERMISSION_ENUM | string | CUSTOM_BUTTON;
-
-export const getDetailNameByCode = {
- 'system/Menu/Detail': '菜单详情',
- 'device/Product/Detail': '产品详情',
- 'device/Instance/Detail': '设备详情',
- 'device/Firmware/Task/Detail': '详情',
- 'system/Department/Detail': '组织详情',
- 'system/Role/Detail': '权限配置',
- 'link/Type/Detail': '网络组件详情',
- 'link/AccessConfig/Detail': '配置详情',
- 'media/Stream/Detail': '流媒体详情',
- 'rule-engine/Alarm/Log/Detail': '告警日志',
- 'Northbound/AliCloud/Detail': '阿里云详情',
- 'link/Certificate/Detail': '证书详情',
- 'iot-card/Platform/Detail': '平台对接详情',
-};
-
-// 开源版路由
-export const CommunityCodeList = [
- 'account/Center',
- 'account/NotificationSubscription',
- 'account/NotificationRecord',
- 'system/Basis',
- 'system/User',
- 'system/Department',
- 'system/Department/Detail',
- 'system/Role',
- 'system/Role/Detail',
- 'system/Menu',
- 'system/Menu/Detail',
- 'system/Menu/Setting',
- 'system/Permission',
- 'system/Relationship',
- 'home',
- 'rule-engine/DashBoard',
- 'rule-engine/Alarm/Configuration',
- 'rule-engine/Alarm/Configuration/Save',
- 'rule-engine/Alarm/Log',
- 'rule-engine/Alarm/Log/Detail',
- 'device/DashBoard',
- 'device/Category',
- 'device/Instance',
- 'device/Instance/Detail',
- 'device/Product',
- 'device/Product/Detail',
- 'link/AccessConfig',
- 'link/AccessConfig/Detail',
- 'link/Protocol',
- 'link/DashBoard',
- 'Log',
- 'link/Type',
- 'link/Type/Detail',
- 'link/Certificate',
- 'link/Certificate/Detail',
- 'rule-engine/Scene',
- 'rule-engine/Scene/Save',
- 'notice/Config',
- 'notice/Config/Detail',
- 'notice/Template',
- 'notice/Template/Detail',
-];
diff --git a/src/store/permission.ts b/src/store/permission.ts
index 075bced2..289d16a9 100644
--- a/src/store/permission.ts
+++ b/src/store/permission.ts
@@ -1,10 +1,9 @@
import { defineStore } from "pinia";
-import type { MENUS_CODE_TYPE, BUTTON_PERMISSION } from '@/router/router'
export const usePermissionStore = defineStore({
id: 'permission',
state: () => ({
- permissions: {} as {[key: MENUS_CODE_TYPE]: BUTTON_PERMISSION},
+ permissions: {} as {[key: string]: string},
}),
getters: {
check(state) {
From b9edb9dc14f87d24685b7f063672524f7ddf6bea Mon Sep 17 00:00:00 2001
From: wangshuaiswim
Date: Tue, 10 Jan 2023 16:25:39 +0800
Subject: [PATCH 5/5] =?UTF-8?q?add:=20=E6=96=B0=E5=A2=9Eapi/device.ts?=
=?UTF-8?q?=EF=BC=8C=E8=AE=BE=E5=A4=87=E7=9B=B8=E5=85=B3=E6=8E=A5=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/device.ts | 3 +++
1 file changed, 3 insertions(+)
create mode 100644 src/api/device.ts
diff --git a/src/api/device.ts b/src/api/device.ts
new file mode 100644
index 00000000..2399ab2c
--- /dev/null
+++ b/src/api/device.ts
@@ -0,0 +1,3 @@
+import server from '@/utils/request'
+
+export const deleteMetadata = (deviceId: string) => server.remove(`/device-instance/${deviceId}/metadata`)
\ No newline at end of file