fix some
This commit is contained in:
parent
a893268b28
commit
a9e830801e
77
README.md
77
README.md
@ -1,11 +1,82 @@
|
|||||||
# yaa-yii2
|
# yaa-yii2
|
||||||
一个基于Vue3 yii2 的后台框架,可快速助你开发。
|
一个基于Vue3、Yii2的后台框架,可快速助你CURD开发。
|
||||||
|
|
||||||
|
## 安装
|
||||||
## 使用
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
composer create-project umono/yaa-yii2
|
composer create-project umono/yaa-yii2
|
||||||
|
|
||||||
cd yaa-yii2 && php yii init
|
cd yaa-yii2 && php yii init
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## 使用示例
|
||||||
|
|
||||||
|
基本使用,呈现数据表格(以用户表)为例:
|
||||||
|
|
||||||
|
### php 文件
|
||||||
|
```php
|
||||||
|
<?php
|
||||||
|
namespace app\modules\backend\api\controllers;
|
||||||
|
|
||||||
|
use app\modules\backend\api\Controller;
|
||||||
|
use app\modules\backend\api\models\other\User;
|
||||||
|
|
||||||
|
class UserController extends Controller
|
||||||
|
{
|
||||||
|
// 数据列表
|
||||||
|
public function actionIndex()
|
||||||
|
{
|
||||||
|
$get = $this->get;
|
||||||
|
$andWhere = [
|
||||||
|
['like', 'nickName', $get['nickName'] ?? ''],
|
||||||
|
['like', 'name', $get['name'] ?? ''],
|
||||||
|
['like', 'phone', $get['phone'] ?? ''],
|
||||||
|
];
|
||||||
|
return User::page()->andWhere($andWhere)->toTableDataArray();
|
||||||
|
}
|
||||||
|
|
||||||
|
// 创建、修改、删除
|
||||||
|
// ...
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### vue 文件
|
||||||
|
```vue
|
||||||
|
<template>
|
||||||
|
<TableData :subHeight="240" :search="search" ref="tables"
|
||||||
|
@view="openModal({ id: $event.id, isEdit: false }, 'formModal')"
|
||||||
|
@edit="openModal({ id: $event.id, isEdit: true }, 'formModal')"
|
||||||
|
url="admin/api/user/index"
|
||||||
|
:handle="_handleBtn">
|
||||||
|
<!-- 搜索条件开始 -->
|
||||||
|
<n-input v-model:value="search.nickName" filterable placeholder="用户昵称" />
|
||||||
|
<n-input v-model:value="search.name" filterable placeholder="姓名" />
|
||||||
|
<n-input v-model:value="search.phone" filterable placeholder="手机号码" />
|
||||||
|
<!-- 搜索条件结束 -->
|
||||||
|
</TableData>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts">
|
||||||
|
import TableData from "@/components/common/TableData.vue";
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
|
name: "USER",
|
||||||
|
components: { TableData },
|
||||||
|
|
||||||
|
setup() {
|
||||||
|
// 搜索条件参数
|
||||||
|
// 在开发中尽量使用search参数包含所有条件
|
||||||
|
let search = reactive({
|
||||||
|
name: '',
|
||||||
|
} as any)
|
||||||
|
return {
|
||||||
|
search
|
||||||
|
}
|
||||||
|
},
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
```
|
||||||
|
|
||||||
|
## 文档
|
||||||
|
|
||||||
|
|||||||
@ -10,6 +10,7 @@
|
|||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@antv/g2": "5.0.0-beta.4",
|
||||||
"axios": "^1.1.3",
|
"axios": "^1.1.3",
|
||||||
"crypto-js": "^4.1.1",
|
"crypto-js": "^4.1.1",
|
||||||
"vue": "^3.2.41",
|
"vue": "^3.2.41",
|
||||||
@ -45,5 +46,5 @@
|
|||||||
"vite-plugin-compression": "^0.5.1",
|
"vite-plugin-compression": "^0.5.1",
|
||||||
"vue-tsc": "^1.0.9",
|
"vue-tsc": "^1.0.9",
|
||||||
"vuedraggable": "^4.1.0"
|
"vuedraggable": "^4.1.0"
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
442
pnpm-lock.yaml
442
pnpm-lock.yaml
@ -1,6 +1,7 @@
|
|||||||
lockfileVersion: 5.4
|
lockfileVersion: 5.4
|
||||||
|
|
||||||
specifiers:
|
specifiers:
|
||||||
|
'@antv/g2': 5.0.0-beta.4
|
||||||
'@sicons/fluent': ^0.12.0
|
'@sicons/fluent': ^0.12.0
|
||||||
'@types/crypto-js': ^4.1.1
|
'@types/crypto-js': ^4.1.1
|
||||||
'@types/lodash': ^4.14.186
|
'@types/lodash': ^4.14.186
|
||||||
@ -36,6 +37,7 @@ specifiers:
|
|||||||
vuex: ^4.1.0
|
vuex: ^4.1.0
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
'@antv/g2': 5.0.0-beta.4
|
||||||
axios: 1.1.3
|
axios: 1.1.3
|
||||||
crypto-js: 4.1.1
|
crypto-js: 4.1.1
|
||||||
vue: 3.2.41
|
vue: 3.2.41
|
||||||
@ -78,6 +80,265 @@ packages:
|
|||||||
resolution: {integrity: sha512-VauUKmo22NYo3y6fIjGjVU7LJyhaedYL9kyabdvIIIl7P+qbNPbQiaLwwk4UOU4McFfA2eg+aIWpEYhkHzsE9Q==}
|
resolution: {integrity: sha512-VauUKmo22NYo3y6fIjGjVU7LJyhaedYL9kyabdvIIIl7P+qbNPbQiaLwwk4UOU4McFfA2eg+aIWpEYhkHzsE9Q==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/@antv/coord/0.4.4:
|
||||||
|
resolution: {integrity: sha512-KE9TPhPUjLfxghPdBrinKkmJh+3zmj8wQRNNMgBczNOaQMUrJbBvGhANkU9qups7zw4wkrSsJa5udFoWyT1G4Q==}
|
||||||
|
dependencies:
|
||||||
|
'@antv/matrix-util': 3.0.4
|
||||||
|
'@antv/scale': 0.4.11
|
||||||
|
'@antv/util': 2.0.17
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/dom-util/2.0.4:
|
||||||
|
resolution: {integrity: sha512-2shXUl504fKwt82T3GkuT4Uoc6p9qjCKnJ8gXGLSW4T1W37dqf9AV28aCfoVPHp2BUXpSsB+PAJX2rG/jLHsLQ==}
|
||||||
|
dependencies:
|
||||||
|
tslib: 2.4.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/g-camera-api/1.0.22_@antv+g-lite@1.0.22:
|
||||||
|
resolution: {integrity: sha512-0cgT8FgZw6irXmzqudiH9mGyBn0toCVZY8oW84Akg3zMMGO1L2vt6Xtf1hgR/sQ8ZnvyGNOkcn1q3Uxtc/m4KQ==}
|
||||||
|
peerDependencies:
|
||||||
|
'@antv/g-lite': ^1.0.0
|
||||||
|
dependencies:
|
||||||
|
'@antv/g-lite': 1.0.22
|
||||||
|
'@antv/util': 3.3.2
|
||||||
|
gl-matrix: 3.4.3
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/g-canvas/1.9.21:
|
||||||
|
resolution: {integrity: sha512-4JfT+49zCyu0w5oWCS9JDEzJC+vCigqyiHWrpvwXfLW60nxXZqikB8TDrD0l7ylnFZtcGqoyerOe78z9XKr5Jg==}
|
||||||
|
peerDependencies:
|
||||||
|
'@antv/g-lite': ^1.0.0
|
||||||
|
dependencies:
|
||||||
|
'@antv/g-plugin-canvas-path-generator': 1.1.33
|
||||||
|
'@antv/g-plugin-canvas-picker': 1.8.30
|
||||||
|
'@antv/g-plugin-canvas-renderer': 1.7.36
|
||||||
|
'@antv/g-plugin-dom-interaction': 1.7.33
|
||||||
|
'@antv/g-plugin-html-renderer': 1.7.33
|
||||||
|
'@antv/g-plugin-image-loader': 1.1.34
|
||||||
|
'@antv/util': 3.3.2
|
||||||
|
'@types/offscreencanvas': 2019.7.0
|
||||||
|
tslib: 2.4.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/g-css-layout-api/1.0.22_@antv+g-lite@1.0.22:
|
||||||
|
resolution: {integrity: sha512-MoU76Risleh/R61L01+n0LMEIcPBo4ANvpoi+6fh+tJOTT9oPFbfK3A/Oin4emkNFoou7CghEG5SU1FOMjy+gA==}
|
||||||
|
peerDependencies:
|
||||||
|
'@antv/g-lite': ^1.0.0
|
||||||
|
dependencies:
|
||||||
|
'@antv/g-lite': 1.0.22
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/g-css-typed-om-api/1.0.22_@antv+g-lite@1.0.22:
|
||||||
|
resolution: {integrity: sha512-4pC0XFvHqFhc+dy/OxJD7M2pnA/Jfpn8KecWvF1cQyp+rOzpxCRR1zefLKYUfI9hOFYOj3lduEW5LJBdB7EO4Q==}
|
||||||
|
peerDependencies:
|
||||||
|
'@antv/g-lite': ^1.0.0
|
||||||
|
dependencies:
|
||||||
|
'@antv/g-lite': 1.0.22
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/g-dom-mutation-observer-api/1.0.22_@antv+g-lite@1.0.22:
|
||||||
|
resolution: {integrity: sha512-YMcNdvXI5Ya6grhB1GuJ0p2kyBVYgvPUi8L+D2rsIX1gQ4GU7QoF1jjy42e5sRWJQNzDGXkL7oWHG6GWQT65Ww==}
|
||||||
|
peerDependencies:
|
||||||
|
'@antv/g-lite': ^1.0.0
|
||||||
|
dependencies:
|
||||||
|
'@antv/g-lite': 1.0.22
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/g-lite/1.0.22:
|
||||||
|
resolution: {integrity: sha512-Np8uJtldCSlUaSxHK4APJpYPeOZmcbhioIpfH6A2C9f8SsZR0g/K/DlQM/C8Sq8s4KwF8/iTTy9VEtduRoc3hA==}
|
||||||
|
dependencies:
|
||||||
|
'@antv/g-math': 1.7.33
|
||||||
|
'@antv/util': 3.3.2
|
||||||
|
'@types/offscreencanvas': 2019.7.0
|
||||||
|
d3-color: 1.4.1
|
||||||
|
eventemitter3: 4.0.7
|
||||||
|
gl-matrix: 3.4.3
|
||||||
|
rbush: 3.0.1
|
||||||
|
tslib: 2.4.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/g-math/1.7.33:
|
||||||
|
resolution: {integrity: sha512-U8Z3BjjeBV1Rh2X5tnYVqae4oFGt6KTlGHUAguGQTk94Y9jJ1lKVvFuE4/jU0ZFk0zb5eJBoFo77smXGNr8dSQ==}
|
||||||
|
dependencies:
|
||||||
|
gl-matrix: 3.4.3
|
||||||
|
tslib: 2.4.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/g-plugin-canvas-path-generator/1.1.33:
|
||||||
|
resolution: {integrity: sha512-LXBUK/+k1s2TCmPNYgHTHy540rJz0X5Ikt+w8f7DA9mce0tS/JyOgdjF3i6BYeQ7gy65nNROTQHwPq+EOmHurw==}
|
||||||
|
peerDependencies:
|
||||||
|
'@antv/g-lite': ^1.0.0
|
||||||
|
dependencies:
|
||||||
|
'@antv/g-math': 1.7.33
|
||||||
|
'@antv/util': 3.3.2
|
||||||
|
tslib: 2.4.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/g-plugin-canvas-picker/1.8.30:
|
||||||
|
resolution: {integrity: sha512-kJjf/mlUaQtgjKvHkJQA7cWP3FCHIHNR8m4Czl1GpA4ngts9FH1JRgO2cPypluxeQXfYEjJA7W+q3F1MYkugfA==}
|
||||||
|
peerDependencies:
|
||||||
|
'@antv/g-lite': ^1.0.0
|
||||||
|
dependencies:
|
||||||
|
'@antv/g-plugin-canvas-path-generator': 1.1.33
|
||||||
|
'@antv/util': 3.3.2
|
||||||
|
gl-matrix: 3.4.3
|
||||||
|
tslib: 2.4.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/g-plugin-canvas-renderer/1.7.36:
|
||||||
|
resolution: {integrity: sha512-rNUVd/jNLYTqN0Spbl3Hh01V3/DM1r/dWALJfWxf78pRMYcZ5lfMAafKKoTMzhYQF5oGT8AMDhov04IyBqomMA==}
|
||||||
|
peerDependencies:
|
||||||
|
'@antv/g-lite': ^1.0.0
|
||||||
|
dependencies:
|
||||||
|
'@antv/g-math': 1.7.33
|
||||||
|
'@antv/g-plugin-canvas-path-generator': 1.1.33
|
||||||
|
'@antv/g-plugin-image-loader': 1.1.34
|
||||||
|
'@antv/util': 3.3.2
|
||||||
|
gl-matrix: 3.4.3
|
||||||
|
tslib: 2.4.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/g-plugin-dom-interaction/1.7.33:
|
||||||
|
resolution: {integrity: sha512-taUee0gRq/w6rr5tjLo4Sge+hNwOck7WS2QZmObOU3JVlMRzxTlQ2n9hCjP2yUHuBRjWlxR53e0EG8MyZoucTw==}
|
||||||
|
peerDependencies:
|
||||||
|
'@antv/g-lite': ^1.0.0
|
||||||
|
dependencies:
|
||||||
|
tslib: 2.4.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/g-plugin-dragndrop/1.6.33:
|
||||||
|
resolution: {integrity: sha512-kPxNGr8qxRTyHjVS8CqX1k4sOSDvl8S9IlKJpOFv+P+3eriL48zOL/VubBXDw4aYfF1tH25taB1X5J25DoNZZw==}
|
||||||
|
peerDependencies:
|
||||||
|
'@antv/g-lite': ^1.0.0
|
||||||
|
dependencies:
|
||||||
|
'@antv/util': 3.3.2
|
||||||
|
tslib: 2.4.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/g-plugin-html-renderer/1.7.33:
|
||||||
|
resolution: {integrity: sha512-97ophZWDQEUFnvlHJafPBdb4YF+4ZuNTan9ZUvbpB3NaUDg9T6/Dn9j6HOx46WKWQMEjuqJPGOd7jLEdGxhJ2g==}
|
||||||
|
peerDependencies:
|
||||||
|
'@antv/g-lite': ^1.0.0
|
||||||
|
dependencies:
|
||||||
|
'@antv/util': 3.3.2
|
||||||
|
gl-matrix: 3.4.3
|
||||||
|
tslib: 2.4.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/g-plugin-image-loader/1.1.34:
|
||||||
|
resolution: {integrity: sha512-g7X9D308J467s6MvQI4K5r1U2hZBIEgyF75pEFyuwkiYRpUcH5bpEBaJdCvxZWo+YVn5p56eKXPuDYNRZJrZCg==}
|
||||||
|
peerDependencies:
|
||||||
|
'@antv/g-lite': ^1.0.0
|
||||||
|
dependencies:
|
||||||
|
'@antv/util': 3.3.2
|
||||||
|
tslib: 2.4.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/g-web-animations-api/1.0.22_@antv+g-lite@1.0.22:
|
||||||
|
resolution: {integrity: sha512-bCz3HJbPOTWqRW6A+40jrDmIr4AaK/pq9mOQVDkXOF7l2gigqM5k+yFszck9U2RTdJgn24rOFUjmqPFohgUnLw==}
|
||||||
|
peerDependencies:
|
||||||
|
'@antv/g-lite': ^1.0.0
|
||||||
|
dependencies:
|
||||||
|
'@antv/g-lite': 1.0.22
|
||||||
|
'@antv/util': 3.3.2
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/g/5.15.2:
|
||||||
|
resolution: {integrity: sha512-F9DUbf868zQ9ROYg98w0diNMPWSf7Y8x85SMeRDtev/kZ2+SBF/k6rLwmct4Pxx1r09plyO38MdOhXJfkDfKwA==}
|
||||||
|
dependencies:
|
||||||
|
'@antv/g-camera-api': 1.0.22_@antv+g-lite@1.0.22
|
||||||
|
'@antv/g-css-layout-api': 1.0.22_@antv+g-lite@1.0.22
|
||||||
|
'@antv/g-css-typed-om-api': 1.0.22_@antv+g-lite@1.0.22
|
||||||
|
'@antv/g-dom-mutation-observer-api': 1.0.22_@antv+g-lite@1.0.22
|
||||||
|
'@antv/g-lite': 1.0.22
|
||||||
|
'@antv/g-web-animations-api': 1.0.22_@antv+g-lite@1.0.22
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/g2/5.0.0-beta.4:
|
||||||
|
resolution: {integrity: sha512-ZkI6N80ZTk+NT7tsDFeSByfVmkHJdp48c+rpEy0wbDXjeytrDMjtPBCPutB+/Cw4ob0qLs66AF3FA+dWKjVH+A==}
|
||||||
|
dependencies:
|
||||||
|
'@antv/coord': 0.4.4
|
||||||
|
'@antv/g': 5.15.2
|
||||||
|
'@antv/g-canvas': 1.9.21
|
||||||
|
'@antv/g-plugin-dragndrop': 1.6.33
|
||||||
|
'@antv/gui': 0.4.3-alpha.56
|
||||||
|
'@antv/path-util': 3.0.1
|
||||||
|
'@antv/scale': 0.4.11
|
||||||
|
'@antv/util': 2.0.17
|
||||||
|
d3-array: 3.2.1
|
||||||
|
d3-dsv: 3.0.1
|
||||||
|
d3-force: 3.0.0
|
||||||
|
d3-format: 3.1.0
|
||||||
|
d3-geo: 3.0.1
|
||||||
|
d3-hierarchy: 3.1.2
|
||||||
|
d3-scale-chromatic: 3.0.0
|
||||||
|
d3-shape: 3.1.0
|
||||||
|
d3-voronoi: 1.1.4
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- '@antv/g-lite'
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/gui/0.4.3-alpha.56:
|
||||||
|
resolution: {integrity: sha512-7UZqR5eCp341qgxONbYgHqF/ov3TI1UFv5/2aD0sHaxwmllU5C6VS0p8EoYkQQTLXGHD8F87rWuBfsg7BnEKZA==}
|
||||||
|
dependencies:
|
||||||
|
'@antv/dom-util': 2.0.4
|
||||||
|
'@antv/g': 5.15.2
|
||||||
|
'@antv/matrix-util': 3.0.4
|
||||||
|
'@antv/path-util': 2.0.15
|
||||||
|
'@antv/scale': 0.4.11
|
||||||
|
'@antv/util': 3.3.2
|
||||||
|
d3-array: 3.2.1
|
||||||
|
fecha: 4.2.3
|
||||||
|
svg-path-parser: 1.1.0
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/matrix-util/3.0.4:
|
||||||
|
resolution: {integrity: sha512-BAPyu6dUliHcQ7fm9hZSGKqkwcjEDVLVAstlHULLvcMZvANHeLXgHEgV7JqcAV/GIhIz8aZChIlzM1ZboiXpYQ==}
|
||||||
|
dependencies:
|
||||||
|
'@antv/util': 2.0.17
|
||||||
|
gl-matrix: 3.4.3
|
||||||
|
tslib: 2.4.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/path-util/2.0.15:
|
||||||
|
resolution: {integrity: sha512-R2VLZ5C8PLPtr3VciNyxtjKqJ0XlANzpFb5sE9GE61UQqSRuSVSzIakMxjEPrpqbgc+s+y8i+fmc89Snu7qbNw==}
|
||||||
|
dependencies:
|
||||||
|
'@antv/matrix-util': 3.0.4
|
||||||
|
'@antv/util': 2.0.17
|
||||||
|
tslib: 2.4.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/path-util/3.0.1:
|
||||||
|
resolution: {integrity: sha512-tpvAzMpF9Qm6ik2YSMqICNU5tco5POOW7S4XoxZAI/B0L26adU+Md/SmO0BBo2SpuywKvzPH3hPT3xmoyhr04Q==}
|
||||||
|
dependencies:
|
||||||
|
gl-matrix: 3.4.3
|
||||||
|
lodash-es: 4.17.21
|
||||||
|
tslib: 2.4.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/scale/0.4.11:
|
||||||
|
resolution: {integrity: sha512-0d/vfl8if5YH2kCrI+I6J7f7IH4BpHw8X7k+hpIzBFAlsaXJk3YvAxdwYVCl1l8hw/XtWmswXDqmjlObqOaSag==}
|
||||||
|
dependencies:
|
||||||
|
'@antv/util': 2.0.17
|
||||||
|
color-string: 1.9.1
|
||||||
|
fecha: 4.2.3
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/util/2.0.17:
|
||||||
|
resolution: {integrity: sha512-o6I9hi5CIUvLGDhth0RxNSFDRwXeywmt6ExR4+RmVAzIi48ps6HUy+svxOCayvrPBN37uE6TAc2KDofRo0nK9Q==}
|
||||||
|
dependencies:
|
||||||
|
csstype: 3.0.11
|
||||||
|
tslib: 2.4.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@antv/util/3.3.2:
|
||||||
|
resolution: {integrity: sha512-uvyQxEOugdJs/FVlpz/+8pKxn70z8jEVydPqv+LI62cpIF7YDjVnMfNIsoMqwEoTzPUJ9TJalyLqZhT5rYez0w==}
|
||||||
|
dependencies:
|
||||||
|
fast-deep-equal: 3.1.3
|
||||||
|
gl-matrix: 3.4.3
|
||||||
|
tslib: 2.4.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
/@babel/helper-string-parser/7.19.4:
|
/@babel/helper-string-parser/7.19.4:
|
||||||
resolution: {integrity: sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==}
|
resolution: {integrity: sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==}
|
||||||
engines: {node: '>=6.9.0'}
|
engines: {node: '>=6.9.0'}
|
||||||
@ -249,6 +510,10 @@ packages:
|
|||||||
resolution: {integrity: sha512-LhFTglglr63mNXUSRYD8A+ZAIu5sFqNJ4Y2fPuY7UlrySJH87rRRlhtVmMHplmfk5WkoJGmDjE9oiTfyX94CpQ==}
|
resolution: {integrity: sha512-LhFTglglr63mNXUSRYD8A+ZAIu5sFqNJ4Y2fPuY7UlrySJH87rRRlhtVmMHplmfk5WkoJGmDjE9oiTfyX94CpQ==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/@types/offscreencanvas/2019.7.0:
|
||||||
|
resolution: {integrity: sha512-PGcyveRIpL1XIqK8eBsmRBt76eFgtzuPiSTyKHZxnGemp2yzGzWpjYKAfK3wIMiU7eH+851yEpiuP8JZerTmWg==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/@vicons/fluent/0.12.0:
|
/@vicons/fluent/0.12.0:
|
||||||
resolution: {integrity: sha512-ATCiqPuiJ6RI5GBlD3BIpZ9Xw4MsCA4RpI5oR6MCti4quS4mX1Gp6N74FCzw7lgOj+80rV4HMKhZTVInwimpVQ==}
|
resolution: {integrity: sha512-ATCiqPuiJ6RI5GBlD3BIpZ9Xw4MsCA4RpI5oR6MCti4quS4mX1Gp6N74FCzw7lgOj+80rV4HMKhZTVInwimpVQ==}
|
||||||
dev: true
|
dev: true
|
||||||
@ -574,7 +839,13 @@ packages:
|
|||||||
|
|
||||||
/color-name/1.1.4:
|
/color-name/1.1.4:
|
||||||
resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
|
resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
|
||||||
dev: true
|
|
||||||
|
/color-string/1.9.1:
|
||||||
|
resolution: {integrity: sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==}
|
||||||
|
dependencies:
|
||||||
|
color-name: 1.1.4
|
||||||
|
simple-swizzle: 0.2.2
|
||||||
|
dev: false
|
||||||
|
|
||||||
/combined-stream/1.0.8:
|
/combined-stream/1.0.8:
|
||||||
resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==}
|
resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==}
|
||||||
@ -587,6 +858,11 @@ packages:
|
|||||||
resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
|
resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/commander/7.2.0:
|
||||||
|
resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==}
|
||||||
|
engines: {node: '>= 10'}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/crypto-js/4.1.1:
|
/crypto-js/4.1.1:
|
||||||
resolution: {integrity: sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==}
|
resolution: {integrity: sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==}
|
||||||
dev: false
|
dev: false
|
||||||
@ -622,7 +898,104 @@ packages:
|
|||||||
|
|
||||||
/csstype/3.0.11:
|
/csstype/3.0.11:
|
||||||
resolution: {integrity: sha512-sa6P2wJ+CAbgyy4KFssIb/JNMLxFvKF1pCYCSXS8ZMuqZnMsrxqI2E5sPyoTpxoPU/gVZMzr2zjOfg8GIZOMsw==}
|
resolution: {integrity: sha512-sa6P2wJ+CAbgyy4KFssIb/JNMLxFvKF1pCYCSXS8ZMuqZnMsrxqI2E5sPyoTpxoPU/gVZMzr2zjOfg8GIZOMsw==}
|
||||||
dev: true
|
|
||||||
|
/d3-array/3.2.1:
|
||||||
|
resolution: {integrity: sha512-gUY/qeHq/yNqqoCKNq4vtpFLdoCdvyNpWoC/KNjhGbhDuQpAM9sIQQKkXSNpXa9h5KySs/gzm7R88WkUutgwWQ==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
dependencies:
|
||||||
|
internmap: 2.0.3
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/d3-color/1.4.1:
|
||||||
|
resolution: {integrity: sha512-p2sTHSLCJI2QKunbGb7ocOh7DgTAn8IrLx21QRc/BSnodXM4sv6aLQlnfpvehFMLZEfBc6g9pH9SWQccFYfJ9Q==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/d3-color/3.1.0:
|
||||||
|
resolution: {integrity: sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/d3-dispatch/3.0.1:
|
||||||
|
resolution: {integrity: sha512-rzUyPU/S7rwUflMyLc1ETDeBj0NRuHKKAcvukozwhshr6g6c5d8zh4c2gQjY2bZ0dXeGLWc1PF174P2tVvKhfg==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/d3-dsv/3.0.1:
|
||||||
|
resolution: {integrity: sha512-UG6OvdI5afDIFP9w4G0mNq50dSOsXHJaRE8arAS5o9ApWnIElp8GZw1Dun8vP8OyHOZ/QJUKUJwxiiCCnUwm+Q==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
hasBin: true
|
||||||
|
dependencies:
|
||||||
|
commander: 7.2.0
|
||||||
|
iconv-lite: 0.6.3
|
||||||
|
rw: 1.3.3
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/d3-force/3.0.0:
|
||||||
|
resolution: {integrity: sha512-zxV/SsA+U4yte8051P4ECydjD/S+qeYtnaIyAs9tgHCqfguma/aAQDjo85A9Z6EKhBirHRJHXIgJUlffT4wdLg==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
dependencies:
|
||||||
|
d3-dispatch: 3.0.1
|
||||||
|
d3-quadtree: 3.0.1
|
||||||
|
d3-timer: 3.0.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/d3-format/3.1.0:
|
||||||
|
resolution: {integrity: sha512-YyUI6AEuY/Wpt8KWLgZHsIU86atmikuoOmCfommt0LYHiQSPjvX2AcFc38PX0CBpr2RCyZhjex+NS/LPOv6YqA==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/d3-geo/3.0.1:
|
||||||
|
resolution: {integrity: sha512-Wt23xBych5tSy9IYAM1FR2rWIBFWa52B/oF/GYe5zbdHrg08FU8+BuI6X4PvTwPDdqdAdq04fuWJpELtsaEjeA==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
dependencies:
|
||||||
|
d3-array: 3.2.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/d3-hierarchy/3.1.2:
|
||||||
|
resolution: {integrity: sha512-FX/9frcub54beBdugHjDCdikxThEqjnR93Qt7PvQTOHxyiNCAlvMrHhclk3cD5VeAaq9fxmfRp+CnWw9rEMBuA==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/d3-interpolate/3.0.1:
|
||||||
|
resolution: {integrity: sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
dependencies:
|
||||||
|
d3-color: 3.1.0
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/d3-path/3.0.1:
|
||||||
|
resolution: {integrity: sha512-gq6gZom9AFZby0YLduxT1qmrp4xpBA1YZr19OI717WIdKE2OM5ETq5qrHLb301IgxhLwcuxvGZVLeeWc/k1I6w==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/d3-quadtree/3.0.1:
|
||||||
|
resolution: {integrity: sha512-04xDrxQTDTCFwP5H6hRhsRcb9xxv2RzkcsygFzmkSIOJy3PeRJP7sNk3VRIbKXcog561P9oU0/rVH6vDROAgUw==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/d3-scale-chromatic/3.0.0:
|
||||||
|
resolution: {integrity: sha512-Lx9thtxAKrO2Pq6OO2Ua474opeziKr279P/TKZsMAhYyNDD3EnCffdbgeSYN5O7m2ByQsxtuP2CSDczNUIZ22g==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
dependencies:
|
||||||
|
d3-color: 3.1.0
|
||||||
|
d3-interpolate: 3.0.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/d3-shape/3.1.0:
|
||||||
|
resolution: {integrity: sha512-tGDh1Muf8kWjEDT/LswZJ8WF85yDZLvVJpYU9Nq+8+yW1Z5enxrmXOhTArlkaElU+CTn0OTVNli+/i+HP45QEQ==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
dependencies:
|
||||||
|
d3-path: 3.0.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/d3-timer/3.0.1:
|
||||||
|
resolution: {integrity: sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/d3-voronoi/1.1.4:
|
||||||
|
resolution: {integrity: sha512-dArJ32hchFsrQ8uMiTBLq256MpnZjeuBtdHpaDlYuQyjU0CVzCJl/BVW+SkszaAeH95D/8gxqAhgx0ouAWAfRg==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/date-fns-tz/1.3.7_date-fns@2.29.3:
|
/date-fns-tz/1.3.7_date-fns@2.29.3:
|
||||||
resolution: {integrity: sha512-1t1b8zyJo+UI8aR+g3iqr5fkUHWpd58VBx8J/ZSQ+w7YrGlw80Ag4sA86qkfCXRBLmMc4I2US+aPMd4uKvwj5g==}
|
resolution: {integrity: sha512-1t1b8zyJo+UI8aR+g3iqr5fkUHWpd58VBx8J/ZSQ+w7YrGlw80Ag4sA86qkfCXRBLmMc4I2US+aPMd4uKvwj5g==}
|
||||||
@ -916,10 +1289,18 @@ packages:
|
|||||||
/estree-walker/2.0.2:
|
/estree-walker/2.0.2:
|
||||||
resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}
|
resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}
|
||||||
|
|
||||||
|
/eventemitter3/4.0.7:
|
||||||
|
resolution: {integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/evtd/0.2.4:
|
/evtd/0.2.4:
|
||||||
resolution: {integrity: sha512-qaeGN5bx63s/AXgQo8gj6fBkxge+OoLddLniox5qtLAEY5HSnuSlISXVPxnSae1dWblvTh4/HoMIB+mbMsvZzw==}
|
resolution: {integrity: sha512-qaeGN5bx63s/AXgQo8gj6fBkxge+OoLddLniox5qtLAEY5HSnuSlISXVPxnSae1dWblvTh4/HoMIB+mbMsvZzw==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/fast-deep-equal/3.1.3:
|
||||||
|
resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/fast-glob/3.2.12:
|
/fast-glob/3.2.12:
|
||||||
resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==}
|
resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==}
|
||||||
engines: {node: '>=8.6.0'}
|
engines: {node: '>=8.6.0'}
|
||||||
@ -937,6 +1318,10 @@ packages:
|
|||||||
reusify: 1.0.4
|
reusify: 1.0.4
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/fecha/4.2.3:
|
||||||
|
resolution: {integrity: sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/fill-range/7.0.1:
|
/fill-range/7.0.1:
|
||||||
resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==}
|
resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==}
|
||||||
engines: {node: '>=8'}
|
engines: {node: '>=8'}
|
||||||
@ -993,6 +1378,10 @@ packages:
|
|||||||
engines: {node: 6.* || 8.* || >= 10.*}
|
engines: {node: 6.* || 8.* || >= 10.*}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/gl-matrix/3.4.3:
|
||||||
|
resolution: {integrity: sha512-wcCp8vu8FT22BnvKVPjXa/ICBWRq/zjFfdofZy1WSpQZpphblv12/bOQLBC1rMM7SGOFS9ltVmKOHil5+Ml7gA==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/glob-parent/5.1.2:
|
/glob-parent/5.1.2:
|
||||||
resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}
|
resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}
|
||||||
engines: {node: '>= 6'}
|
engines: {node: '>= 6'}
|
||||||
@ -1033,10 +1422,26 @@ packages:
|
|||||||
engines: {node: '>=12.0.0'}
|
engines: {node: '>=12.0.0'}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/iconv-lite/0.6.3:
|
||||||
|
resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==}
|
||||||
|
engines: {node: '>=0.10.0'}
|
||||||
|
dependencies:
|
||||||
|
safer-buffer: 2.1.2
|
||||||
|
dev: false
|
||||||
|
|
||||||
/immutable/4.1.0:
|
/immutable/4.1.0:
|
||||||
resolution: {integrity: sha512-oNkuqVTA8jqG1Q6c+UglTOD1xhC1BtjKI7XkCXRkZHrN5m18/XsnUp8Q89GkQO/z+0WjonSvl0FLhDYftp46nQ==}
|
resolution: {integrity: sha512-oNkuqVTA8jqG1Q6c+UglTOD1xhC1BtjKI7XkCXRkZHrN5m18/XsnUp8Q89GkQO/z+0WjonSvl0FLhDYftp46nQ==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/internmap/2.0.3:
|
||||||
|
resolution: {integrity: sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/is-arrayish/0.3.2:
|
||||||
|
resolution: {integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/is-binary-path/2.1.0:
|
/is-binary-path/2.1.0:
|
||||||
resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}
|
resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}
|
||||||
engines: {node: '>=8'}
|
engines: {node: '>=8'}
|
||||||
@ -1109,7 +1514,6 @@ packages:
|
|||||||
|
|
||||||
/lodash-es/4.17.21:
|
/lodash-es/4.17.21:
|
||||||
resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==}
|
resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==}
|
||||||
dev: true
|
|
||||||
|
|
||||||
/lodash/4.17.21:
|
/lodash/4.17.21:
|
||||||
resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
|
resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
|
||||||
@ -1349,6 +1753,16 @@ packages:
|
|||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/quickselect/2.0.0:
|
||||||
|
resolution: {integrity: sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/rbush/3.0.1:
|
||||||
|
resolution: {integrity: sha512-XRaVO0YecOpEuIvbhbpTrZgoiI6xBlz6hnlr6EHhd+0x9ase6EmeN+hdwwUaJvLcsFFQ8iWVF1GAK1yB0BWi0w==}
|
||||||
|
dependencies:
|
||||||
|
quickselect: 2.0.0
|
||||||
|
dev: false
|
||||||
|
|
||||||
/read-cache/1.0.0:
|
/read-cache/1.0.0:
|
||||||
resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==}
|
resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==}
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -1410,6 +1824,14 @@ packages:
|
|||||||
queue-microtask: 1.2.3
|
queue-microtask: 1.2.3
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/rw/1.3.3:
|
||||||
|
resolution: {integrity: sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/safer-buffer/2.1.2:
|
||||||
|
resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/sass/1.55.0:
|
/sass/1.55.0:
|
||||||
resolution: {integrity: sha512-Pk+PMy7OGLs9WaxZGJMn7S96dvlyVBwwtToX895WmCpAOr5YiJYEUJfiJidMuKb613z2xNWcXCHEuOvjZbqC6A==}
|
resolution: {integrity: sha512-Pk+PMy7OGLs9WaxZGJMn7S96dvlyVBwwtToX895WmCpAOr5YiJYEUJfiJidMuKb613z2xNWcXCHEuOvjZbqC6A==}
|
||||||
engines: {node: '>=12.0.0'}
|
engines: {node: '>=12.0.0'}
|
||||||
@ -1428,6 +1850,12 @@ packages:
|
|||||||
resolution: {integrity: sha512-lEV5VB8BUKTo/AfktXJcy+JeXns26ylbMkIUco8CYREsQijuz4mrXres2Q+vMLdwkuLxJdIPQ8IlCIxLYm71Yw==}
|
resolution: {integrity: sha512-lEV5VB8BUKTo/AfktXJcy+JeXns26ylbMkIUco8CYREsQijuz4mrXres2Q+vMLdwkuLxJdIPQ8IlCIxLYm71Yw==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/simple-swizzle/0.2.2:
|
||||||
|
resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==}
|
||||||
|
dependencies:
|
||||||
|
is-arrayish: 0.3.2
|
||||||
|
dev: false
|
||||||
|
|
||||||
/sortablejs/1.14.0:
|
/sortablejs/1.14.0:
|
||||||
resolution: {integrity: sha512-pBXvQCs5/33fdN1/39pPL0NZF20LeRbLQ5jtnheIPN9JQAaufGjKdWduZn4U7wCtVuzKhmRkI0DFYHYRbB2H1w==}
|
resolution: {integrity: sha512-pBXvQCs5/33fdN1/39pPL0NZF20LeRbLQ5jtnheIPN9JQAaufGjKdWduZn4U7wCtVuzKhmRkI0DFYHYRbB2H1w==}
|
||||||
dev: true
|
dev: true
|
||||||
@ -1489,6 +1917,10 @@ packages:
|
|||||||
engines: {node: '>= 0.4'}
|
engines: {node: '>= 0.4'}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/svg-path-parser/1.1.0:
|
||||||
|
resolution: {integrity: sha512-jGCUqcQyXpfe38R7RFfhrMyfXcBmpMNJI/B+4CE9/Unkh98UporAc461GTthv+TVDuZXsBx7/WiwJb1Oh4tt4A==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/tailwindcss/3.2.1_postcss@8.4.18:
|
/tailwindcss/3.2.1_postcss@8.4.18:
|
||||||
resolution: {integrity: sha512-Uw+GVSxp5CM48krnjHObqoOwlCt5Qo6nw1jlCRwfGy68dSYb/LwS9ZFidYGRiM+w6rMawkZiu1mEMAsHYAfoLg==}
|
resolution: {integrity: sha512-Uw+GVSxp5CM48krnjHObqoOwlCt5Qo6nw1jlCRwfGy68dSYb/LwS9ZFidYGRiM+w6rMawkZiu1mEMAsHYAfoLg==}
|
||||||
engines: {node: '>=12.13.0'}
|
engines: {node: '>=12.13.0'}
|
||||||
@ -1549,6 +1981,10 @@ packages:
|
|||||||
resolution: {integrity: sha512-M8RGFoKtZ8dF+iwJfAJTOH/SM4KluKOKRJpjCMhI8bG3qB74zrFoArKZ62ll0Fr3mqkMJiQOmWYkdYgDeITYQg==}
|
resolution: {integrity: sha512-M8RGFoKtZ8dF+iwJfAJTOH/SM4KluKOKRJpjCMhI8bG3qB74zrFoArKZ62ll0Fr3mqkMJiQOmWYkdYgDeITYQg==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/tslib/2.4.1:
|
||||||
|
resolution: {integrity: sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/typescript/4.8.4:
|
/typescript/4.8.4:
|
||||||
resolution: {integrity: sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==}
|
resolution: {integrity: sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==}
|
||||||
engines: {node: '>=4.2.0'}
|
engines: {node: '>=4.2.0'}
|
||||||
|
|||||||
2
ui/components.d.ts
vendored
2
ui/components.d.ts
vendored
@ -30,6 +30,7 @@ declare module '@vue/runtime-core' {
|
|||||||
NDropdown: typeof import('naive-ui')['NDropdown']
|
NDropdown: typeof import('naive-ui')['NDropdown']
|
||||||
NForm: typeof import('naive-ui')['NForm']
|
NForm: typeof import('naive-ui')['NForm']
|
||||||
NFormItem: typeof import('naive-ui')['NFormItem']
|
NFormItem: typeof import('naive-ui')['NFormItem']
|
||||||
|
NGi: typeof import('naive-ui')['NGi']
|
||||||
NGlobalStyle: typeof import('naive-ui')['NGlobalStyle']
|
NGlobalStyle: typeof import('naive-ui')['NGlobalStyle']
|
||||||
NGrid: typeof import('naive-ui')['NGrid']
|
NGrid: typeof import('naive-ui')['NGrid']
|
||||||
NGridItem: typeof import('naive-ui')['NGridItem']
|
NGridItem: typeof import('naive-ui')['NGridItem']
|
||||||
@ -42,6 +43,7 @@ declare module '@vue/runtime-core' {
|
|||||||
NMenu: typeof import('naive-ui')['NMenu']
|
NMenu: typeof import('naive-ui')['NMenu']
|
||||||
NMessageProvider: typeof import('naive-ui')['NMessageProvider']
|
NMessageProvider: typeof import('naive-ui')['NMessageProvider']
|
||||||
NModal: typeof import('naive-ui')['NModal']
|
NModal: typeof import('naive-ui')['NModal']
|
||||||
|
NProgress: typeof import('naive-ui')['NProgress']
|
||||||
NRadio: typeof import('naive-ui')['NRadio']
|
NRadio: typeof import('naive-ui')['NRadio']
|
||||||
NRadioGroup: typeof import('naive-ui')['NRadioGroup']
|
NRadioGroup: typeof import('naive-ui')['NRadioGroup']
|
||||||
NSpace: typeof import('naive-ui')['NSpace']
|
NSpace: typeof import('naive-ui')['NSpace']
|
||||||
|
|||||||
@ -29,9 +29,6 @@ export default defineComponent({
|
|||||||
let setInterVal1: any = null;
|
let setInterVal1: any = null;
|
||||||
let setInterVal2: any = null;
|
let setInterVal2: any = null;
|
||||||
|
|
||||||
watch(() => props.number, (n) => {
|
|
||||||
go(n);
|
|
||||||
});
|
|
||||||
|
|
||||||
const go = throttle(async (n) => {
|
const go = throttle(async (n) => {
|
||||||
const tfNumber = n * 40;
|
const tfNumber = n * 40;
|
||||||
@ -54,6 +51,13 @@ export default defineComponent({
|
|||||||
leading: true,
|
leading: true,
|
||||||
trailing: false
|
trailing: false
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if (props.number) {
|
||||||
|
go(props.number);
|
||||||
|
}
|
||||||
|
|
||||||
|
watch(() => props.number, go);
|
||||||
|
|
||||||
onUnmounted(() => {
|
onUnmounted(() => {
|
||||||
go.cancel();
|
go.cancel();
|
||||||
clearInterval(setInterVal1);
|
clearInterval(setInterVal1);
|
||||||
@ -83,9 +87,8 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ticker-column {
|
.ticker-column {
|
||||||
-webkit-animation: pulseGreen 0.5s cubic-bezier(0.4, 0, 0.6, 1) 1;
|
// -webkit-animation: pulseGreen 0.5s cubic-bezier(0.4, 0, 0.6, 1) 1;
|
||||||
animation: pulseGreen 0.5s cubic-bezier(0.4, 0, 0.6, 1) 1;
|
// animation: pulseGreen 0.5s cubic-bezier(0.4, 0, 0.6, 1) 1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.number-placeholder {
|
.number-placeholder {
|
||||||
@ -93,29 +96,29 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@-webkit-keyframes pulseGreen {
|
// @-webkit-keyframes pulseGreen {
|
||||||
|
|
||||||
0%,
|
// 0%,
|
||||||
to {
|
// to {
|
||||||
color: #fff;
|
// color: #fff;
|
||||||
}
|
// }
|
||||||
|
|
||||||
50% {
|
// 50% {
|
||||||
--tw-text-opacity: 1;
|
// --tw-text-opacity: 1;
|
||||||
color: rgba(163, 163, 163);
|
// color: rgba(163, 163, 163);
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
@keyframes pulseGreen {
|
// @keyframes pulseGreen {
|
||||||
|
|
||||||
0%,
|
// 0%,
|
||||||
to {
|
// to {
|
||||||
color: #fff;
|
// color: #fff;
|
||||||
}
|
// }
|
||||||
|
|
||||||
50% {
|
// 50% {
|
||||||
--tw-text-opacity: 1;
|
// --tw-text-opacity: 1;
|
||||||
color: rgba(163, 163, 163);
|
// color: rgba(163, 163, 163);
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
</style>
|
</style>
|
||||||
@ -1,14 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="jump-number-box">
|
<div class="jump-number-box">
|
||||||
<h1>
|
<span class="inline-block ">
|
||||||
<span class="font-200 inline-block ">
|
|
||||||
<div class="ticker-view" style="transform: none; transform-origin: 50% 50% 0px;">
|
<div class="ticker-view" style="transform: none; transform-origin: 50% 50% 0px;">
|
||||||
<numberJump v-for="(item, key) in 10" v-model:number="numberValue[key]" :index="key"
|
<numberJump v-for="(item, key) in 10" v-model:number="numberValue[key]" :index="key"
|
||||||
:class="'sort-' + key">
|
:class="'sort-' + key">
|
||||||
</numberJump>
|
</numberJump>
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
</h1>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
@ -21,31 +19,33 @@ export default defineComponent({
|
|||||||
components: { numberJump },
|
components: { numberJump },
|
||||||
setup(props) {
|
setup(props) {
|
||||||
let numberValue: any = ref([0]);
|
let numberValue: any = ref([0]);
|
||||||
watch(() => props.number, (n) => {
|
const initNumberValue = (n: any) => {
|
||||||
const _n = n.toString();
|
const _n = n.toString();
|
||||||
const arr = [];
|
const arr = [];
|
||||||
for (let index = 0; index < _n.length; index++) {
|
for (let index = 0; index < _n.length; index++) {
|
||||||
arr.push(_n[index])
|
arr.push(_n[index])
|
||||||
}
|
}
|
||||||
numberValue.value = arr;
|
numberValue.value = arr;
|
||||||
})
|
}
|
||||||
|
if (props.number) {
|
||||||
|
initNumberValue(props.number);
|
||||||
|
}
|
||||||
|
|
||||||
|
watch(() => props.number, initNumberValue)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
numberValue,
|
numberValue,
|
||||||
|
initNumberValue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
h1 {
|
.jump-number-box{
|
||||||
line-height: 2.5rem;
|
line-height: 2.5rem;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.font-200 {
|
|
||||||
font-weight: 200;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inline-block {
|
.inline-block {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
@ -57,6 +57,5 @@ h1 {
|
|||||||
// flex-direction: row-reverse;
|
// flex-direction: row-reverse;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@ -1,33 +1,259 @@
|
|||||||
<template>
|
<template>
|
||||||
<n-button @click="test">测试</n-button>
|
<div class="p-4">
|
||||||
<NumberJump v-model:number="number" />
|
<div class="text-xl my-7">
|
||||||
|
👏 你好
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<n-grid x-gap="16" :cols="24">
|
||||||
|
<n-gi :span="15">
|
||||||
|
<n-space>
|
||||||
|
<n-card class="item-box-shadow rounded-2xl">
|
||||||
|
<div>
|
||||||
|
<div class="flex w-64 justify-between">
|
||||||
|
<div class="text-5xl">
|
||||||
|
🧑
|
||||||
|
</div>
|
||||||
|
<n-progress style="width: 55px;" type="circle" :offset-degree="180" :stroke-width="15"
|
||||||
|
:percentage="20" color="#0057ff">
|
||||||
|
<div style="word-break: normal;" class="text-xs font-bold">+20%</div>
|
||||||
|
</n-progress>
|
||||||
|
</div>
|
||||||
|
<div class="mt-2 text-xs text-slate-400">
|
||||||
|
新增用户数
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="mt-2">
|
||||||
|
<div class="text-xl font-bold">
|
||||||
|
+700
|
||||||
|
</div>
|
||||||
|
<div class="text-xs text-slate-400">过去7天</div>
|
||||||
|
</div>
|
||||||
|
</n-card>
|
||||||
|
<n-card class="item-box-shadow rounded-2xl">
|
||||||
|
<div>
|
||||||
|
<div class="flex w-64 justify-between">
|
||||||
|
<div class="flex">
|
||||||
|
<div class="text-5xl">
|
||||||
|
🍦
|
||||||
|
</div>
|
||||||
|
<div class="text-lg ml-2">冰淇淋</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<n-progress style="width: 55px;" type="circle" :offset-degree="180" :stroke-width="15"
|
||||||
|
:percentage="75" color="#52b260">
|
||||||
|
<div style="word-break: normal;" class="text-xs font-bold">+75%</div>
|
||||||
|
</n-progress>
|
||||||
|
</div>
|
||||||
|
<div class="mt-2 text-xs">
|
||||||
|
商品交易最多数量
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<n-space class="flex mt-2">
|
||||||
|
<div>
|
||||||
|
<div class="text-xs text-slate-400">
|
||||||
|
周单量
|
||||||
|
</div>
|
||||||
|
<div class="text-xl font-bold">
|
||||||
|
<NumberJump style="height:28px" :number="452" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="">
|
||||||
|
<div class="text-xs text-slate-400">
|
||||||
|
月单量
|
||||||
|
</div>
|
||||||
|
<div class="text-xl font-bold">
|
||||||
|
<NumberJump style="height:28px" :number="1536" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</n-space>
|
||||||
|
</n-card>
|
||||||
|
</n-space>
|
||||||
|
|
||||||
|
<div class="mt-12">
|
||||||
|
<div class="text-xl mb-3">
|
||||||
|
🥇 统计
|
||||||
|
</div>
|
||||||
|
<n-space>
|
||||||
|
<n-card class="item-box-shadow rounded-xl" size="small">
|
||||||
|
<div class="flex rounded-md w-52">
|
||||||
|
<div class="bg-blue-600 rounded-md w-11">
|
||||||
|
</div>
|
||||||
|
<div class="pl-3">
|
||||||
|
<div class="text-lg font-bold">$35.2K</div>
|
||||||
|
<div class="text-xs">
|
||||||
|
总销售金额
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</n-card>
|
||||||
|
|
||||||
|
<n-card class="item-box-shadow cursor-pointer rounded-xl" size="small">
|
||||||
|
<div class="flex rounded-md w-52">
|
||||||
|
<div class="bg-green-500 rounded-md w-11">
|
||||||
|
</div>
|
||||||
|
<div class="pl-3">
|
||||||
|
<div class="text-lg font-bold">1.2K</div>
|
||||||
|
<div class="text-xs text-slate-400">
|
||||||
|
总产品数量
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</n-card>
|
||||||
|
</n-space>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="mt-5">
|
||||||
|
<div id="container1" />
|
||||||
|
</div>
|
||||||
|
</n-gi>
|
||||||
|
<n-gi :span="8">
|
||||||
|
<n-card class="item-box-shadow rounded-2xl">
|
||||||
|
<div class="mb-1">
|
||||||
|
受欢迎的商品
|
||||||
|
</div>
|
||||||
|
<div class="text-2xl font-bold mb-1">
|
||||||
|
$10,302,402
|
||||||
|
</div>
|
||||||
|
<div class="mt-5" id="container2" />
|
||||||
|
</n-card>
|
||||||
|
|
||||||
|
|
||||||
|
<n-card class="item-box-shadow rounded-2xl mt-20">
|
||||||
|
<div class="text-lg font-bold mb-4">活跃用户</div>
|
||||||
|
<div class="w-full h-12 flex mt-2">
|
||||||
|
<div class="bg-green-500 rounded-md w-11 h-11">
|
||||||
|
</div>
|
||||||
|
<div class="pl-4">
|
||||||
|
<div class="font-bold">用户1</div>
|
||||||
|
<div class="text-slate-400">///.....</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="w-full h-12 flex mt-2">
|
||||||
|
<div class="bg-blue-300 rounded-md w-11 h-11">
|
||||||
|
</div>
|
||||||
|
<div class="pl-4">
|
||||||
|
<div class="font-bold">用户1</div>
|
||||||
|
<div class="text-slate-400">///.....</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="w-full h-12 flex mt-2">
|
||||||
|
<div class="bg-red-300 rounded-md w-11 h-11">
|
||||||
|
</div>
|
||||||
|
<div class="pl-4">
|
||||||
|
<div class="font-bold">用户1</div>
|
||||||
|
<div class="text-slate-400">///.....</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</n-card>
|
||||||
|
</n-gi>
|
||||||
|
</n-grid>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
|
||||||
|
|
||||||
import { defineComponent, ref } from 'vue';
|
import { defineComponent, ref } from 'vue';
|
||||||
import NumberJump from "@/components/common/numberJump/index.vue";
|
import NumberJump from "@/components/common/numberJump/index.vue";
|
||||||
import { random } from "@/plugins/lodash"
|
import { Chart } from "@antv/g2";
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "USER",
|
name: "USER",
|
||||||
components: {
|
components: {
|
||||||
NumberJump,
|
NumberJump,
|
||||||
},
|
},
|
||||||
setup() {
|
setup() {
|
||||||
const number = ref(0);
|
const chart1 = () => {
|
||||||
|
const chart = new Chart({
|
||||||
|
container: "container1",
|
||||||
|
});
|
||||||
|
chart
|
||||||
|
.point()
|
||||||
|
.data({
|
||||||
|
type: 'fetch',
|
||||||
|
value:
|
||||||
|
'https://gw.alipayobjects.com/os/basement_prod/6b4aa721-b039-49b9-99d8-540b3f87d339.json',
|
||||||
|
})
|
||||||
|
.encode('x', 'height')
|
||||||
|
.encode('y', 'weight')
|
||||||
|
.encode('color', 'gender')
|
||||||
|
.scale('color', {
|
||||||
|
range: ['#0057ff', '#22c55e'],
|
||||||
|
});
|
||||||
|
|
||||||
const test = () => {
|
chart.render();
|
||||||
const _num = random(3000, 99999);
|
|
||||||
console.log('go', _num);
|
|
||||||
number.value = _num;
|
|
||||||
}
|
}
|
||||||
|
const chart2 = () => {
|
||||||
|
const data = [
|
||||||
|
{
|
||||||
|
name: '苹果',
|
||||||
|
value: 50,
|
||||||
|
sum: 3355043
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '西瓜',
|
||||||
|
value: 5.5,
|
||||||
|
sum: 1695782
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '葡萄',
|
||||||
|
value: 21.3,
|
||||||
|
sum: 1113852
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '苹果1',
|
||||||
|
value: 50,
|
||||||
|
sum: 3355043
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '西瓜1',
|
||||||
|
value: 5.5,
|
||||||
|
sum: 1695782
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '葡萄1',
|
||||||
|
value: 21.3,
|
||||||
|
sum: 1113852
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
const chart = new Chart({
|
||||||
|
container: 'container2',
|
||||||
|
width: 350,
|
||||||
|
height: 200
|
||||||
|
});
|
||||||
|
chart.axis('y', false);
|
||||||
|
chart
|
||||||
|
.interval()
|
||||||
|
.data(data)
|
||||||
|
.encode('x', 'name')
|
||||||
|
.encode('y', 'value')
|
||||||
|
.encode('color', 'name')
|
||||||
|
.encode('size', 10)
|
||||||
|
.style('radiusTopLeft', 10)
|
||||||
|
.style('radiusTopRight', 10)
|
||||||
|
|
||||||
|
chart.render();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
onMounted(chart1);
|
||||||
|
onMounted(chart2);
|
||||||
return {
|
return {
|
||||||
number,
|
|
||||||
test
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.item-box-shadow {
|
||||||
|
box-shadow: 0 8px 18px rgb(0 0 0 / 6%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-shadow-lg {
|
||||||
|
border-color: #2080f0;
|
||||||
|
box-shadow: #2080f0 0 10px 30px -10px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
@ -1,16 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
|
||||||
<TableData :subHeight="240" :search="search" ref="tables"
|
<TableData :subHeight="240" :search="search" ref="tables"
|
||||||
@view="openModal({ id: $event.id, isEdit: false }, 'formModal')"
|
@view="openModal({ id: $event.id, isEdit: false }, 'formModal')"
|
||||||
@edit="openModal({ id: $event.id, isEdit: true }, 'formModal')"
|
@edit="openModal({ id: $event.id, isEdit: true }, 'formModal')" url="admin/api/user/index" :handle="_handleBtn">
|
||||||
url="admin/api/user/index"
|
|
||||||
:handle="_handleBtn">
|
|
||||||
|
|
||||||
<n-input v-model:value="search.nickName" filterable placeholder="用户昵称" />
|
<n-input v-model:value="search.nickName" filterable placeholder="用户昵称" />
|
||||||
<n-input v-model:value="search.name" filterable placeholder="姓名" />
|
<n-input v-model:value="search.name" filterable placeholder="姓名" />
|
||||||
<n-input v-model:value="search.phone" filterable placeholder="手机号码" />
|
<n-input v-model:value="search.phone" filterable placeholder="手机号码" />
|
||||||
</TableData>
|
</TableData>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
|||||||
@ -1,15 +1,4 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="m-auto h-screen bg-gray-400">
|
|
||||||
<div class="relative top-1/3">
|
|
||||||
<div class="m-auto bg-white w-64 shadow-2xl p-3 rounded-xl cursor-pointer">
|
|
||||||
<div></div>
|
|
||||||
<div class="text-center">
|
|
||||||
<div class="font-bold text-black text-base">Yaa - yii2</div>
|
|
||||||
<div class="text-slate-400">@welcome</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
|||||||
@ -1,17 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="not-found">
|
<div class="not-found">
|
||||||
<css-doodle class="bg">
|
<css-doodle class="bg">
|
||||||
@grid: 50x1 / 100%;
|
@grid: 16 / 320px;
|
||||||
|
@size: 1px calc(141.4% + 1px);
|
||||||
@place: center;
|
transform: rotate(@p(±45deg));
|
||||||
@size: calc(75% / @I * @i);
|
background: #AEACFB;
|
||||||
|
margin: auto;
|
||||||
transform: rotate(calc(@i * 5deg));
|
|
||||||
|
|
||||||
border-radius: 30%;
|
|
||||||
border: 1px solid hsla(
|
|
||||||
calc(10 + 4 * @i), 70%, 68%, @r.8
|
|
||||||
);
|
|
||||||
</css-doodle>
|
</css-doodle>
|
||||||
<span class="label">404</span>
|
<span class="label">404</span>
|
||||||
</div>
|
</div>
|
||||||
@ -27,18 +21,18 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
.not-found {
|
.not-found {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background: white;
|
|
||||||
.bg {
|
.bg {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 350px;
|
width: 350px;
|
||||||
height: 350px;
|
height: 350px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
font-size: 33px;
|
font-size: 33px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user