Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
najiu-admin-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
najiu-frontend
najiu-admin-template
Commits
e9064631
Commit
e9064631
authored
Jun 17, 2021
by
Vben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update deps
parent
513823bf
Changes
29
Show whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
96 additions
and
143 deletions
+96
-143
package.json
package.json
+7
-7
index.ts
src/components/Table/index.ts
+0
-4
componentMap.ts
src/components/Table/src/componentMap.ts
+0
-3
EditTableHeaderIcon.vue
src/components/Table/src/components/EditTableHeaderIcon.vue
+1
-5
HeaderCell.vue
src/components/Table/src/components/HeaderCell.vue
+1
-2
TableAction.vue
src/components/Table/src/components/TableAction.vue
+0
-3
TableFooter.vue
src/components/Table/src/components/TableFooter.vue
+0
-1
TableHeader.vue
src/components/Table/src/components/TableHeader.vue
+0
-2
TableImg.vue
src/components/Table/src/components/TableImg.vue
+0
-1
TableTitle.vue
src/components/Table/src/components/TableTitle.vue
+1
-1
ColumnSetting.vue
...omponents/Table/src/components/settings/ColumnSetting.vue
+1
-4
FullScreenSetting.vue
...nents/Table/src/components/settings/FullScreenSetting.vue
+0
-2
RedoSetting.vue
src/components/Table/src/components/settings/RedoSetting.vue
+0
-1
SizeSetting.vue
src/components/Table/src/components/settings/SizeSetting.vue
+0
-2
index.vue
src/components/Table/src/components/settings/index.vue
+0
-3
const.ts
src/components/Table/src/const.ts
+2
-0
useColumns.ts
src/components/Table/src/hooks/useColumns.ts
+0
-5
useDataSource.ts
src/components/Table/src/hooks/useDataSource.ts
+4
-5
usePagination.tsx
src/components/Table/src/hooks/usePagination.tsx
+0
-3
useRowSelection.ts
src/components/Table/src/hooks/useRowSelection.ts
+0
-1
useTable.ts
src/components/Table/src/hooks/useTable.ts
+0
-1
useTableContext.ts
src/components/Table/src/hooks/useTableContext.ts
+0
-1
useTableExpand.ts
src/components/Table/src/hooks/useTableExpand.ts
+0
-1
useTableForm.ts
src/components/Table/src/hooks/useTableForm.ts
+1
-0
useTableHeader.ts
src/components/Table/src/hooks/useTableHeader.ts
+0
-2
useTableScroll.ts
src/components/Table/src/hooks/useTableScroll.ts
+0
-3
useTableStyle.ts
src/components/Table/src/hooks/useTableStyle.ts
+2
-4
table.ts
src/components/Table/src/types/table.ts
+1
-1
yarn.lock
yarn.lock
+75
-75
No files found.
package.json
View file @
e9064631
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
"devDependencies"
:
{
"devDependencies"
:
{
"
@commitlint/cli
"
:
"
^12.1.4
"
,
"
@commitlint/cli
"
:
"
^12.1.4
"
,
"
@commitlint/config-conventional
"
:
"
^12.1.4
"
,
"
@commitlint/config-conventional
"
:
"
^12.1.4
"
,
"
@iconify/json
"
:
"
^1.1.35
5
"
,
"
@iconify/json
"
:
"
^1.1.35
6
"
,
"
@purge-icons/generated
"
:
"
^0.7.0
"
,
"
@purge-icons/generated
"
:
"
^0.7.0
"
,
"
@types/codemirror
"
:
"
^5.60.0
"
,
"
@types/codemirror
"
:
"
^5.60.0
"
,
"
@types/crypto-js
"
:
"
^4.0.1
"
,
"
@types/crypto-js
"
:
"
^4.0.1
"
,
...
@@ -76,8 +76,8 @@
...
@@ -76,8 +76,8 @@
"
@types/qrcode
"
:
"
^1.4.0
"
,
"
@types/qrcode
"
:
"
^1.4.0
"
,
"
@types/qs
"
:
"
^6.9.6
"
,
"
@types/qs
"
:
"
^6.9.6
"
,
"
@types/sortablejs
"
:
"
^1.10.6
"
,
"
@types/sortablejs
"
:
"
^1.10.6
"
,
"
@typescript-eslint/eslint-plugin
"
:
"
^4.2
6.1
"
,
"
@typescript-eslint/eslint-plugin
"
:
"
^4.2
7.0
"
,
"
@typescript-eslint/parser
"
:
"
^4.2
6.1
"
,
"
@typescript-eslint/parser
"
:
"
^4.2
7.0
"
,
"
@vitejs/plugin-legacy
"
:
"
^1.4.1
"
,
"
@vitejs/plugin-legacy
"
:
"
^1.4.1
"
,
"
@vitejs/plugin-vue
"
:
"
^1.2.3
"
,
"
@vitejs/plugin-vue
"
:
"
^1.2.3
"
,
"
@vitejs/plugin-vue-jsx
"
:
"
^1.1.5
"
,
"
@vitejs/plugin-vue-jsx
"
:
"
^1.1.5
"
,
...
@@ -91,12 +91,12 @@
...
@@ -91,12 +91,12 @@
"
eslint-config-prettier
"
:
"
^8.3.0
"
,
"
eslint-config-prettier
"
:
"
^8.3.0
"
,
"
eslint-define-config
"
:
"
^1.0.8
"
,
"
eslint-define-config
"
:
"
^1.0.8
"
,
"
eslint-plugin-prettier
"
:
"
^3.4.0
"
,
"
eslint-plugin-prettier
"
:
"
^3.4.0
"
,
"
eslint-plugin-vue
"
:
"
^7.11.
0
"
,
"
eslint-plugin-vue
"
:
"
^7.11.
1
"
,
"
esno
"
:
"
^0.7.
2
"
,
"
esno
"
:
"
^0.7.
3
"
,
"
fs-extra
"
:
"
^10.0.0
"
,
"
fs-extra
"
:
"
^10.0.0
"
,
"
http-server
"
:
"
^0.12.3
"
,
"
http-server
"
:
"
^0.12.3
"
,
"
husky
"
:
"
^6.0.0
"
,
"
husky
"
:
"
^6.0.0
"
,
"
inquirer
"
:
"
^8.1.
0
"
,
"
inquirer
"
:
"
^8.1.
1
"
,
"
is-ci
"
:
"
^3.0.0
"
,
"
is-ci
"
:
"
^3.0.0
"
,
"
less
"
:
"
^4.1.1
"
,
"
less
"
:
"
^4.1.1
"
,
"
lint-staged
"
:
"
^11.0.0
"
,
"
lint-staged
"
:
"
^11.0.0
"
,
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
"
vite-plugin-style-import
"
:
"
^0.10.1
"
,
"
vite-plugin-style-import
"
:
"
^0.10.1
"
,
"
vite-plugin-svg-icons
"
:
"
^0.7.0
"
,
"
vite-plugin-svg-icons
"
:
"
^0.7.0
"
,
"
vite-plugin-theme
"
:
"
^0.8.1
"
,
"
vite-plugin-theme
"
:
"
^0.8.1
"
,
"
vite-plugin-windicss
"
:
"
^1.0.
3
"
,
"
vite-plugin-windicss
"
:
"
^1.0.
4
"
,
"
vue-eslint-parser
"
:
"
^7.6.0
"
,
"
vue-eslint-parser
"
:
"
^7.6.0
"
,
"
vue-tsc
"
:
"
^0.1.7
"
"
vue-tsc
"
:
"
^0.1.7
"
},
},
...
...
src/components/Table/index.ts
View file @
e9064631
...
@@ -2,13 +2,9 @@ export { default as BasicTable } from './src/BasicTable.vue';
...
@@ -2,13 +2,9 @@ export { default as BasicTable } from './src/BasicTable.vue';
export
{
default
as
TableAction
}
from
'
./src/components/TableAction.vue
'
;
export
{
default
as
TableAction
}
from
'
./src/components/TableAction.vue
'
;
export
{
default
as
EditTableHeaderIcon
}
from
'
./src/components/EditTableHeaderIcon.vue
'
;
export
{
default
as
EditTableHeaderIcon
}
from
'
./src/components/EditTableHeaderIcon.vue
'
;
export
{
default
as
TableImg
}
from
'
./src/components/TableImg.vue
'
;
export
{
default
as
TableImg
}
from
'
./src/components/TableImg.vue
'
;
export
*
from
'
./src/types/table
'
;
export
*
from
'
./src/types/table
'
;
export
*
from
'
./src/types/pagination
'
;
export
*
from
'
./src/types/pagination
'
;
export
*
from
'
./src/types/tableAction
'
;
export
*
from
'
./src/types/tableAction
'
;
export
{
useTable
}
from
'
./src/hooks/useTable
'
;
export
{
useTable
}
from
'
./src/hooks/useTable
'
;
export
type
{
FormSchema
,
FormProps
}
from
'
/@/components/Form/src/types/form
'
;
export
type
{
FormSchema
,
FormProps
}
from
'
/@/components/Form/src/types/form
'
;
export
type
{
EditRecordRow
}
from
'
./src/components/editable
'
;
export
type
{
EditRecordRow
}
from
'
./src/components/editable
'
;
src/components/Table/src/componentMap.ts
View file @
e9064631
import
type
{
Component
}
from
'
vue
'
;
import
type
{
Component
}
from
'
vue
'
;
import
{
import
{
Input
,
Input
,
Select
,
Select
,
...
@@ -9,7 +8,6 @@ import {
...
@@ -9,7 +8,6 @@ import {
DatePicker
,
DatePicker
,
TimePicker
,
TimePicker
,
}
from
'
ant-design-vue
'
;
}
from
'
ant-design-vue
'
;
import
type
{
ComponentType
}
from
'
./types/componentType
'
;
import
type
{
ComponentType
}
from
'
./types/componentType
'
;
import
{
ApiSelect
}
from
'
/@/components/Form
'
;
import
{
ApiSelect
}
from
'
/@/components/Form
'
;
...
@@ -17,7 +15,6 @@ const componentMap = new Map<ComponentType, Component>();
...
@@ -17,7 +15,6 @@ const componentMap = new Map<ComponentType, Component>();
componentMap
.
set
(
'
Input
'
,
Input
);
componentMap
.
set
(
'
Input
'
,
Input
);
componentMap
.
set
(
'
InputNumber
'
,
InputNumber
);
componentMap
.
set
(
'
InputNumber
'
,
InputNumber
);
componentMap
.
set
(
'
Select
'
,
Select
);
componentMap
.
set
(
'
Select
'
,
Select
);
componentMap
.
set
(
'
ApiSelect
'
,
ApiSelect
);
componentMap
.
set
(
'
ApiSelect
'
,
ApiSelect
);
componentMap
.
set
(
'
Switch
'
,
Switch
);
componentMap
.
set
(
'
Switch
'
,
Switch
);
...
...
src/components/Table/src/components/EditTableHeaderIcon.vue
View file @
e9064631
...
@@ -8,13 +8,9 @@
...
@@ -8,13 +8,9 @@
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
{
defineComponent
}
from
'
vue
'
;
import
{
defineComponent
}
from
'
vue
'
;
import
{
FormOutlined
}
from
'
@ant-design/icons-vue
'
;
import
{
FormOutlined
}
from
'
@ant-design/icons-vue
'
;
import
{
propTypes
}
from
'
/@/utils/propTypes
'
;
export
default
defineComponent
({
export
default
defineComponent
({
name
:
'
EditTableHeaderIcon
'
,
name
:
'
EditTableHeaderIcon
'
,
components
:
{
FormOutlined
},
components
:
{
FormOutlined
},
props
:
{
props
:
{
title
:
{
type
:
String
,
default
:
''
}
},
title
:
propTypes
.
string
.
def
(
''
),
},
});
});
</
script
>
</
script
>
src/components/Table/src/components/HeaderCell.vue
View file @
e9064631
...
@@ -8,12 +8,11 @@
...
@@ -8,12 +8,11 @@
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
type
{
PropType
}
from
'
vue
'
;
import
type
{
PropType
}
from
'
vue
'
;
import
type
{
BasicColumn
}
from
'
../types/table
'
;
import
type
{
BasicColumn
}
from
'
../types/table
'
;
import
{
defineComponent
,
computed
}
from
'
vue
'
;
import
{
defineComponent
,
computed
}
from
'
vue
'
;
import
BasicHelp
from
'
/@/components/Basic/src/BasicHelp.vue
'
;
import
BasicHelp
from
'
/@/components/Basic/src/BasicHelp.vue
'
;
import
EditTableHeaderCell
from
'
./EditTableHeaderIcon.vue
'
;
import
EditTableHeaderCell
from
'
./EditTableHeaderIcon.vue
'
;
import
{
useDesign
}
from
'
/@/hooks/web/useDesign
'
;
import
{
useDesign
}
from
'
/@/hooks/web/useDesign
'
;
export
default
defineComponent
({
export
default
defineComponent
({
name
:
'
TableHeaderCell
'
,
name
:
'
TableHeaderCell
'
,
components
:
{
components
:
{
...
...
src/components/Table/src/components/TableAction.vue
View file @
e9064631
...
@@ -32,16 +32,13 @@
...
@@ -32,16 +32,13 @@
import
{
defineComponent
,
PropType
,
computed
,
toRaw
}
from
'
vue
'
;
import
{
defineComponent
,
PropType
,
computed
,
toRaw
}
from
'
vue
'
;
import
{
MoreOutlined
}
from
'
@ant-design/icons-vue
'
;
import
{
MoreOutlined
}
from
'
@ant-design/icons-vue
'
;
import
{
Divider
}
from
'
ant-design-vue
'
;
import
{
Divider
}
from
'
ant-design-vue
'
;
import
Icon
from
'
/@/components/Icon/index
'
;
import
Icon
from
'
/@/components/Icon/index
'
;
import
{
ActionItem
,
TableActionType
}
from
'
/@/components/Table
'
;
import
{
ActionItem
,
TableActionType
}
from
'
/@/components/Table
'
;
import
{
PopConfirmButton
}
from
'
/@/components/Button
'
;
import
{
PopConfirmButton
}
from
'
/@/components/Button
'
;
import
{
Dropdown
}
from
'
/@/components/Dropdown
'
;
import
{
Dropdown
}
from
'
/@/components/Dropdown
'
;
import
{
useDesign
}
from
'
/@/hooks/web/useDesign
'
;
import
{
useDesign
}
from
'
/@/hooks/web/useDesign
'
;
import
{
useTableContext
}
from
'
../hooks/useTableContext
'
;
import
{
useTableContext
}
from
'
../hooks/useTableContext
'
;
import
{
usePermission
}
from
'
/@/hooks/web/usePermission
'
;
import
{
usePermission
}
from
'
/@/hooks/web/usePermission
'
;
import
{
isBoolean
,
isFunction
}
from
'
/@/utils/is
'
;
import
{
isBoolean
,
isFunction
}
from
'
/@/utils/is
'
;
import
{
propTypes
}
from
'
/@/utils/propTypes
'
;
import
{
propTypes
}
from
'
/@/utils/propTypes
'
;
import
{
ACTION_COLUMN_FLAG
}
from
'
../const
'
;
import
{
ACTION_COLUMN_FLAG
}
from
'
../const
'
;
...
...
src/components/Table/src/components/TableFooter.vue
View file @
e9064631
...
@@ -13,7 +13,6 @@
...
@@ -13,7 +13,6 @@
</
template
>
</
template
>
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
type
{
PropType
}
from
'
vue
'
;
import
type
{
PropType
}
from
'
vue
'
;
import
{
defineComponent
,
unref
,
computed
,
toRaw
}
from
'
vue
'
;
import
{
defineComponent
,
unref
,
computed
,
toRaw
}
from
'
vue
'
;
import
{
Table
}
from
'
ant-design-vue
'
;
import
{
Table
}
from
'
ant-design-vue
'
;
import
{
cloneDeep
}
from
'
lodash-es
'
;
import
{
cloneDeep
}
from
'
lodash-es
'
;
...
...
src/components/Table/src/components/TableHeader.vue
View file @
e9064631
...
@@ -16,12 +16,10 @@
...
@@ -16,12 +16,10 @@
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
type
{
TableSetting
,
ColumnChangeParam
}
from
'
../types/table
'
;
import
type
{
TableSetting
,
ColumnChangeParam
}
from
'
../types/table
'
;
import
type
{
PropType
}
from
'
vue
'
;
import
type
{
PropType
}
from
'
vue
'
;
import
{
defineComponent
}
from
'
vue
'
;
import
{
defineComponent
}
from
'
vue
'
;
import
{
Divider
}
from
'
ant-design-vue
'
;
import
{
Divider
}
from
'
ant-design-vue
'
;
import
TableSettingComponent
from
'
./settings/index.vue
'
;
import
TableSettingComponent
from
'
./settings/index.vue
'
;
import
TableTitle
from
'
./TableTitle.vue
'
;
import
TableTitle
from
'
./TableTitle.vue
'
;
import
{
useDesign
}
from
'
/@/hooks/web/useDesign
'
;
import
{
useDesign
}
from
'
/@/hooks/web/useDesign
'
;
export
default
defineComponent
({
export
default
defineComponent
({
...
...
src/components/Table/src/components/TableImg.vue
View file @
e9064631
...
@@ -35,7 +35,6 @@
...
@@ -35,7 +35,6 @@
import
type
{
CSSProperties
}
from
'
vue
'
;
import
type
{
CSSProperties
}
from
'
vue
'
;
import
{
defineComponent
,
computed
}
from
'
vue
'
;
import
{
defineComponent
,
computed
}
from
'
vue
'
;
import
{
useDesign
}
from
'
/@/hooks/web/useDesign
'
;
import
{
useDesign
}
from
'
/@/hooks/web/useDesign
'
;
import
{
Image
,
Badge
}
from
'
ant-design-vue
'
;
import
{
Image
,
Badge
}
from
'
ant-design-vue
'
;
import
{
propTypes
}
from
'
/@/utils/propTypes
'
;
import
{
propTypes
}
from
'
/@/utils/propTypes
'
;
...
...
src/components/Table/src/components/TableTitle.vue
View file @
e9064631
...
@@ -5,10 +5,10 @@
...
@@ -5,10 +5,10 @@
</
template
>
</
template
>
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
{
computed
,
defineComponent
,
PropType
}
from
'
vue
'
;
import
{
computed
,
defineComponent
,
PropType
}
from
'
vue
'
;
import
{
BasicTitle
}
from
'
/@/components/Basic/index
'
;
import
{
BasicTitle
}
from
'
/@/components/Basic/index
'
;
import
{
useDesign
}
from
'
/@/hooks/web/useDesign
'
;
import
{
useDesign
}
from
'
/@/hooks/web/useDesign
'
;
import
{
isFunction
}
from
'
/@/utils/is
'
;
import
{
isFunction
}
from
'
/@/utils/is
'
;
export
default
defineComponent
({
export
default
defineComponent
({
name
:
'
BasicTableTitle
'
,
name
:
'
BasicTableTitle
'
,
components
:
{
BasicTitle
},
components
:
{
BasicTitle
},
...
...
src/components/Table/src/components/settings/ColumnSetting.vue
View file @
e9064631
...
@@ -90,6 +90,7 @@
...
@@ -90,6 +90,7 @@
</Tooltip>
</Tooltip>
</template>
</template>
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
type
{
BasicColumn
,
ColumnChangeParam
}
from
'
../../types/table
'
;
import
{
import
{
defineComponent
,
defineComponent
,
ref
,
ref
,
...
@@ -104,18 +105,14 @@
...
@@ -104,18 +105,14 @@
import
{
SettingOutlined
,
DragOutlined
}
from
'
@ant-design/icons-vue
'
;
import
{
SettingOutlined
,
DragOutlined
}
from
'
@ant-design/icons-vue
'
;
import
{
Icon
}
from
'
/@/components/Icon
'
;
import
{
Icon
}
from
'
/@/components/Icon
'
;
import
{
ScrollContainer
}
from
'
/@/components/Container
'
;
import
{
ScrollContainer
}
from
'
/@/components/Container
'
;
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
import
{
useTableContext
}
from
'
../../hooks/useTableContext
'
;
import
{
useTableContext
}
from
'
../../hooks/useTableContext
'
;
import
{
useDesign
}
from
'
/@/hooks/web/useDesign
'
;
import
{
useDesign
}
from
'
/@/hooks/web/useDesign
'
;
import
{
useSortable
}
from
'
/@/hooks/web/useSortable
'
;
import
{
useSortable
}
from
'
/@/hooks/web/useSortable
'
;
import
{
isNullAndUnDef
}
from
'
/@/utils/is
'
;
import
{
isNullAndUnDef
}
from
'
/@/utils/is
'
;
import
{
getPopupContainer
}
from
'
/@/utils
'
;
import
{
getPopupContainer
}
from
'
/@/utils
'
;
import
{
omit
}
from
'
lodash-es
'
;
import
{
omit
}
from
'
lodash-es
'
;
import
type
{
BasicColumn
,
ColumnChangeParam
}
from
'
../../types/table
'
;
interface
State
{
interface
State
{
checkAll
:
boolean
;
checkAll
:
boolean
;
checkedList
:
string
[];
checkedList
:
string
[];
...
...
src/components/Table/src/components/settings/FullScreenSetting.vue
View file @
e9064631
...
@@ -11,9 +11,7 @@
...
@@ -11,9 +11,7 @@
import
{
defineComponent
}
from
'
vue
'
;
import
{
defineComponent
}
from
'
vue
'
;
import
{
Tooltip
}
from
'
ant-design-vue
'
;
import
{
Tooltip
}
from
'
ant-design-vue
'
;
import
{
FullscreenOutlined
,
FullscreenExitOutlined
}
from
'
@ant-design/icons-vue
'
;
import
{
FullscreenOutlined
,
FullscreenExitOutlined
}
from
'
@ant-design/icons-vue
'
;
import
{
useFullscreen
}
from
'
@vueuse/core
'
;
import
{
useFullscreen
}
from
'
@vueuse/core
'
;
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
import
{
useTableContext
}
from
'
../../hooks/useTableContext
'
;
import
{
useTableContext
}
from
'
../../hooks/useTableContext
'
;
...
...
src/components/Table/src/components/settings/RedoSetting.vue
View file @
e9064631
...
@@ -10,7 +10,6 @@
...
@@ -10,7 +10,6 @@
import
{
defineComponent
}
from
'
vue
'
;
import
{
defineComponent
}
from
'
vue
'
;
import
{
Tooltip
}
from
'
ant-design-vue
'
;
import
{
Tooltip
}
from
'
ant-design-vue
'
;
import
{
RedoOutlined
}
from
'
@ant-design/icons-vue
'
;
import
{
RedoOutlined
}
from
'
@ant-design/icons-vue
'
;
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
import
{
useTableContext
}
from
'
../../hooks/useTableContext
'
;
import
{
useTableContext
}
from
'
../../hooks/useTableContext
'
;
...
...
src/components/Table/src/components/settings/SizeSetting.vue
View file @
e9064631
...
@@ -24,11 +24,9 @@
...
@@ -24,11 +24,9 @@
</template>
</template>
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
type
{
SizeType
}
from
'
../../types/table
'
;
import
type
{
SizeType
}
from
'
../../types/table
'
;
import
{
defineComponent
,
ref
}
from
'
vue
'
;
import
{
defineComponent
,
ref
}
from
'
vue
'
;
import
{
Tooltip
,
Dropdown
,
Menu
}
from
'
ant-design-vue
'
;
import
{
Tooltip
,
Dropdown
,
Menu
}
from
'
ant-design-vue
'
;
import
{
ColumnHeightOutlined
}
from
'
@ant-design/icons-vue
'
;
import
{
ColumnHeightOutlined
}
from
'
@ant-design/icons-vue
'
;
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
import
{
useTableContext
}
from
'
../../hooks/useTableContext
'
;
import
{
useTableContext
}
from
'
../../hooks/useTableContext
'
;
import
{
getPopupContainer
}
from
'
/@/utils
'
;
import
{
getPopupContainer
}
from
'
/@/utils
'
;
...
...
src/components/Table/src/components/settings/index.vue
View file @
e9064631
...
@@ -9,14 +9,11 @@
...
@@ -9,14 +9,11 @@
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
type
{
PropType
}
from
'
vue
'
;
import
type
{
PropType
}
from
'
vue
'
;
import
type
{
TableSetting
,
ColumnChangeParam
}
from
'
../../types/table
'
;
import
type
{
TableSetting
,
ColumnChangeParam
}
from
'
../../types/table
'
;
import
{
defineComponent
,
computed
}
from
'
vue
'
;
import
{
defineComponent
,
computed
}
from
'
vue
'
;
import
ColumnSetting
from
'
./ColumnSetting.vue
'
;
import
ColumnSetting
from
'
./ColumnSetting.vue
'
;
import
SizeSetting
from
'
./SizeSetting.vue
'
;
import
SizeSetting
from
'
./SizeSetting.vue
'
;
import
RedoSetting
from
'
./RedoSetting.vue
'
;
import
RedoSetting
from
'
./RedoSetting.vue
'
;
import
FullScreenSetting
from
'
./FullScreenSetting.vue
'
;
import
FullScreenSetting
from
'
./FullScreenSetting.vue
'
;
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
export
default
defineComponent
({
export
default
defineComponent
({
...
...
src/components/Table/src/const.ts
View file @
e9064631
...
@@ -22,5 +22,7 @@ export const DEFAULT_FILTER_FN = defaultFilterFn;
...
@@ -22,5 +22,7 @@ export const DEFAULT_FILTER_FN = defaultFilterFn;
// Default layout of table cells
// Default layout of table cells
export
const
DEFAULT_ALIGN
=
'
center
'
;
export
const
DEFAULT_ALIGN
=
'
center
'
;
export
const
INDEX_COLUMN_FLAG
=
'
INDEX
'
;
export
const
INDEX_COLUMN_FLAG
=
'
INDEX
'
;
export
const
ACTION_COLUMN_FLAG
=
'
ACTION
'
;
export
const
ACTION_COLUMN_FLAG
=
'
ACTION
'
;
src/components/Table/src/hooks/useColumns.ts
View file @
e9064631
import
type
{
BasicColumn
,
BasicTableProps
,
CellFormat
,
GetColumnsParams
}
from
'
../types/table
'
;
import
type
{
BasicColumn
,
BasicTableProps
,
CellFormat
,
GetColumnsParams
}
from
'
../types/table
'
;
import
type
{
PaginationProps
}
from
'
../types/pagination
'
;
import
type
{
PaginationProps
}
from
'
../types/pagination
'
;
import
type
{
ComputedRef
}
from
'
vue
'
;
import
type
{
ComputedRef
}
from
'
vue
'
;
import
{
unref
,
Ref
,
computed
,
watch
,
ref
,
toRaw
}
from
'
vue
'
;
import
{
unref
,
Ref
,
computed
,
watch
,
ref
,
toRaw
}
from
'
vue
'
;
import
{
renderEditCell
}
from
'
../components/editable
'
;
import
{
renderEditCell
}
from
'
../components/editable
'
;
import
{
usePermission
}
from
'
/@/hooks/web/usePermission
'
;
import
{
usePermission
}
from
'
/@/hooks/web/usePermission
'
;
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
import
{
isBoolean
,
isArray
,
isString
,
isObject
,
isFunction
}
from
'
/@/utils/is
'
;
import
{
isBoolean
,
isArray
,
isString
,
isObject
,
isFunction
}
from
'
/@/utils/is
'
;
import
{
isEqual
,
cloneDeep
}
from
'
lodash-es
'
;
import
{
isEqual
,
cloneDeep
}
from
'
lodash-es
'
;
import
{
formatToDate
}
from
'
/@/utils/dateUtil
'
;
import
{
formatToDate
}
from
'
/@/utils/dateUtil
'
;
import
{
DEFAULT_ALIGN
,
PAGE_SIZE
,
INDEX_COLUMN_FLAG
,
ACTION_COLUMN_FLAG
}
from
'
../const
'
;
import
{
DEFAULT_ALIGN
,
PAGE_SIZE
,
INDEX_COLUMN_FLAG
,
ACTION_COLUMN_FLAG
}
from
'
../const
'
;
function
handleItem
(
item
:
BasicColumn
,
ellipsis
:
boolean
)
{
function
handleItem
(
item
:
BasicColumn
,
ellipsis
:
boolean
)
{
...
...
src/components/Table/src/hooks/useDataSource.ts
View file @
e9064631
import
type
{
BasicTableProps
,
FetchParams
,
SorterResult
}
from
'
../types/table
'
;
import
type
{
BasicTableProps
,
FetchParams
,
SorterResult
}
from
'
../types/table
'
;
import
type
{
PaginationProps
}
from
'
../types/pagination
'
;
import
type
{
PaginationProps
}
from
'
../types/pagination
'
;
import
{
import
{
ref
,
ref
,
unref
,
unref
,
...
@@ -12,13 +11,10 @@ import {
...
@@ -12,13 +11,10 @@ import {
Ref
,
Ref
,
watchEffect
,
watchEffect
,
}
from
'
vue
'
;
}
from
'
vue
'
;
import
{
useTimeoutFn
}
from
'
/@/hooks/core/useTimeout
'
;
import
{
useTimeoutFn
}
from
'
/@/hooks/core/useTimeout
'
;
import
{
buildUUID
}
from
'
/@/utils/uuid
'
;
import
{
buildUUID
}
from
'
/@/utils/uuid
'
;
import
{
isFunction
,
isBoolean
}
from
'
/@/utils/is
'
;
import
{
isFunction
,
isBoolean
}
from
'
/@/utils/is
'
;
import
{
get
,
cloneDeep
}
from
'
lodash-es
'
;
import
{
get
,
cloneDeep
}
from
'
lodash-es
'
;
import
{
FETCH_SETTING
,
ROW_KEY
,
PAGE_SIZE
}
from
'
../const
'
;
import
{
FETCH_SETTING
,
ROW_KEY
,
PAGE_SIZE
}
from
'
../const
'
;
interface
ActionType
{
interface
ActionType
{
...
@@ -179,7 +175,10 @@ export function useDataSource(
...
@@ -179,7 +175,10 @@ export function useDataSource(
if
(
!
api
||
!
isFunction
(
api
))
return
;
if
(
!
api
||
!
isFunction
(
api
))
return
;
try
{
try
{
setLoading
(
true
);
setLoading
(
true
);
const
{
pageField
,
sizeField
,
listField
,
totalField
}
=
fetchSetting
||
FETCH_SETTING
;
const
{
pageField
,
sizeField
,
listField
,
totalField
}
=
Object
.
assign
(
FETCH_SETTING
,
fetchSetting
);
let
pageParams
:
Recordable
=
{};
let
pageParams
:
Recordable
=
{};
const
{
current
=
1
,
pageSize
=
PAGE_SIZE
}
=
unref
(
getPaginationInfo
)
as
PaginationProps
;
const
{
current
=
1
,
pageSize
=
PAGE_SIZE
}
=
unref
(
getPaginationInfo
)
as
PaginationProps
;
...
...
src/components/Table/src/hooks/usePagination.tsx
View file @
e9064631
import
type
{
PaginationProps
}
from
'
../types/pagination
'
;
import
type
{
PaginationProps
}
from
'
../types/pagination
'
;
import
type
{
BasicTableProps
}
from
'
../types/table
'
;
import
type
{
BasicTableProps
}
from
'
../types/table
'
;
import
{
computed
,
unref
,
ref
,
ComputedRef
}
from
'
vue
'
;
import
{
computed
,
unref
,
ref
,
ComputedRef
}
from
'
vue
'
;
import
{
LeftOutlined
,
RightOutlined
}
from
'
@ant-design/icons-vue
'
;
import
{
LeftOutlined
,
RightOutlined
}
from
'
@ant-design/icons-vue
'
;
import
{
isBoolean
}
from
'
/@/utils/is
'
;
import
{
isBoolean
}
from
'
/@/utils/is
'
;
import
{
PAGE_SIZE
,
PAGE_SIZE_OPTIONS
}
from
'
../const
'
;
import
{
PAGE_SIZE
,
PAGE_SIZE_OPTIONS
}
from
'
../const
'
;
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
...
...
src/components/Table/src/hooks/useRowSelection.ts
View file @
e9064631
import
type
{
BasicTableProps
,
TableRowSelection
}
from
'
../types/table
'
;
import
type
{
BasicTableProps
,
TableRowSelection
}
from
'
../types/table
'
;
import
{
computed
,
ref
,
unref
,
ComputedRef
,
Ref
,
toRaw
}
from
'
vue
'
;
import
{
computed
,
ref
,
unref
,
ComputedRef
,
Ref
,
toRaw
}
from
'
vue
'
;
import
{
ROW_KEY
}
from
'
../const
'
;
import
{
ROW_KEY
}
from
'
../const
'
;
...
...
src/components/Table/src/hooks/useTable.ts
View file @
e9064631
...
@@ -3,7 +3,6 @@ import type { PaginationProps } from '../types/pagination';
...
@@ -3,7 +3,6 @@ import type { PaginationProps } from '../types/pagination';
import
type
{
DynamicProps
}
from
'
/#/utils
'
;
import
type
{
DynamicProps
}
from
'
/#/utils
'
;
import
type
{
FormActionType
}
from
'
/@/components/Form
'
;
import
type
{
FormActionType
}
from
'
/@/components/Form
'
;
import
type
{
WatchStopHandle
}
from
'
vue
'
;
import
type
{
WatchStopHandle
}
from
'
vue
'
;
import
{
getDynamicProps
}
from
'
/@/utils
'
;
import
{
getDynamicProps
}
from
'
/@/utils
'
;
import
{
ref
,
onUnmounted
,
unref
,
watch
,
toRaw
}
from
'
vue
'
;
import
{
ref
,
onUnmounted
,
unref
,
watch
,
toRaw
}
from
'
vue
'
;
import
{
isProdMode
}
from
'
/@/utils/env
'
;
import
{
isProdMode
}
from
'
/@/utils/env
'
;
...
...
src/components/Table/src/hooks/useTableContext.ts
View file @
e9064631
import
type
{
Ref
}
from
'
vue
'
;
import
type
{
Ref
}
from
'
vue
'
;
import
type
{
BasicTableProps
,
TableActionType
}
from
'
../types/table
'
;
import
type
{
BasicTableProps
,
TableActionType
}
from
'
../types/table
'
;
import
{
provide
,
inject
,
ComputedRef
}
from
'
vue
'
;
import
{
provide
,
inject
,
ComputedRef
}
from
'
vue
'
;
const
key
=
Symbol
(
'
basic-table
'
);
const
key
=
Symbol
(
'
basic-table
'
);
...
...
src/components/Table/src/hooks/useTableExpand.ts
View file @
e9064631
import
type
{
ComputedRef
,
Ref
}
from
'
vue
'
;
import
type
{
ComputedRef
,
Ref
}
from
'
vue
'
;
import
type
{
BasicTableProps
}
from
'
../types/table
'
;
import
type
{
BasicTableProps
}
from
'
../types/table
'
;
import
{
computed
,
unref
,
ref
,
toRaw
}
from
'
vue
'
;
import
{
computed
,
unref
,
ref
,
toRaw
}
from
'
vue
'
;
import
{
ROW_KEY
}
from
'
../const
'
;
import
{
ROW_KEY
}
from
'
../const
'
;
...
...
src/components/Table/src/hooks/useTableForm.ts
View file @
e9064631
...
@@ -3,6 +3,7 @@ import type { BasicTableProps, FetchParams } from '../types/table';
...
@@ -3,6 +3,7 @@ import type { BasicTableProps, FetchParams } from '../types/table';
import
{
unref
,
computed
}
from
'
vue
'
;
import
{
unref
,
computed
}
from
'
vue
'
;
import
type
{
FormProps
}
from
'
/@/components/Form
'
;
import
type
{
FormProps
}
from
'
/@/components/Form
'
;
import
{
isFunction
}
from
'
/@/utils/is
'
;
import
{
isFunction
}
from
'
/@/utils/is
'
;
export
function
useTableForm
(
export
function
useTableForm
(
propsRef
:
ComputedRef
<
BasicTableProps
>
,
propsRef
:
ComputedRef
<
BasicTableProps
>
,
slots
:
Slots
,
slots
:
Slots
,
...
...
src/components/Table/src/hooks/useTableHeader.ts
View file @
e9064631
import
type
{
ComputedRef
,
Slots
}
from
'
vue
'
;
import
type
{
ComputedRef
,
Slots
}
from
'
vue
'
;
import
type
{
BasicTableProps
,
InnerHandlers
}
from
'
../types/table
'
;
import
type
{
BasicTableProps
,
InnerHandlers
}
from
'
../types/table
'
;
import
{
unref
,
computed
,
h
}
from
'
vue
'
;
import
{
unref
,
computed
,
h
}
from
'
vue
'
;
import
TableHeader
from
'
../components/TableHeader.vue
'
;
import
TableHeader
from
'
../components/TableHeader.vue
'
;
import
{
isString
}
from
'
/@/utils/is
'
;
import
{
isString
}
from
'
/@/utils/is
'
;
import
{
getSlot
}
from
'
/@/utils/helper/tsxHelper
'
;
import
{
getSlot
}
from
'
/@/utils/helper/tsxHelper
'
;
...
...
src/components/Table/src/hooks/useTableScroll.ts
View file @
e9064631
import
type
{
BasicTableProps
,
TableRowSelection
,
BasicColumn
}
from
'
../types/table
'
;
import
type
{
BasicTableProps
,
TableRowSelection
,
BasicColumn
}
from
'
../types/table
'
;
import
type
{
Ref
,
ComputedRef
}
from
'
vue
'
;
import
type
{
Ref
,
ComputedRef
}
from
'
vue
'
;
import
{
computed
,
unref
,
ref
,
nextTick
,
watch
}
from
'
vue
'
;
import
{
computed
,
unref
,
ref
,
nextTick
,
watch
}
from
'
vue
'
;
import
{
getViewportOffset
}
from
'
/@/utils/domUtils
'
;
import
{
getViewportOffset
}
from
'
/@/utils/domUtils
'
;
import
{
isBoolean
}
from
'
/@/utils/is
'
;
import
{
isBoolean
}
from
'
/@/utils/is
'
;
import
{
useWindowSizeFn
}
from
'
/@/hooks/event/useWindowSizeFn
'
;
import
{
useWindowSizeFn
}
from
'
/@/hooks/event/useWindowSizeFn
'
;
import
{
useModalContext
}
from
'
/@/components/Modal
'
;
import
{
useModalContext
}
from
'
/@/components/Modal
'
;
import
{
onMountedOrActivated
}
from
'
/@/hooks/core/onMountedOrActivated
'
;
import
{
onMountedOrActivated
}
from
'
/@/hooks/core/onMountedOrActivated
'
;
...
...
src/components/Table/src/hooks/useTableStyle.ts
View file @
e9064631
import
type
{
ComputedRef
}
from
'
vue
'
;
import
type
{
ComputedRef
}
from
'
vue
'
;
import
type
{
BasicTableProps
,
TableCustomRecord
}
from
'
../types/table
'
;
import
type
{
BasicTableProps
,
TableCustomRecord
}
from
'
../types/table
'
;
import
{
unref
}
from
'
vue
'
;
import
{
unref
}
from
'
vue
'
;
import
{
isFunction
}
from
'
/@/utils/is
'
;
import
{
isFunction
}
from
'
/@/utils/is
'
;
export
function
useTableStyle
(
propsRef
:
ComputedRef
<
BasicTableProps
>
,
prefixCls
:
string
)
{
export
function
useTableStyle
(
propsRef
:
ComputedRef
<
BasicTableProps
>
,
prefixCls
:
string
)
{
function
getRowClassName
(
record
:
TableCustomRecord
,
index
:
number
)
{
function
getRowClassName
(
record
:
TableCustomRecord
,
index
:
number
)
{
const
{
striped
,
rowClassName
}
=
unref
(
propsRef
);
const
{
striped
,
rowClassName
}
=
unref
(
propsRef
);
...
@@ -13,7 +13,5 @@ export function useTableStyle(propsRef: ComputedRef<BasicTableProps>, prefixCls:
...
@@ -13,7 +13,5 @@ export function useTableStyle(propsRef: ComputedRef<BasicTableProps>, prefixCls:
return
(
index
||
0
)
%
2
===
1
?
`
${
prefixCls
}
-row__striped`
:
''
;
return
(
index
||
0
)
%
2
===
1
?
`
${
prefixCls
}
-row__striped`
:
''
;
}
}
return
{
return
{
getRowClassName
};
getRowClassName
,
};
}
}
src/components/Table/src/types/table.ts
View file @
e9064631
...
@@ -165,7 +165,7 @@ export interface BasicTableProps<T = any> {
...
@@ -165,7 +165,7 @@ export interface BasicTableProps<T = any> {
// 查询条件请求之前处理
// 查询条件请求之前处理
handleSearchInfoFn
?:
Fn
;
handleSearchInfoFn
?:
Fn
;
// 请求接口配置
// 请求接口配置
fetchSetting
?:
FetchSetting
;
fetchSetting
?:
Partial
<
FetchSetting
>
;
// 立即请求接口
// 立即请求接口
immediate
?:
boolean
;
immediate
?:
boolean
;
// 在开起搜索表单的时候,如果没有数据是否显示表格
// 在开起搜索表单的时候,如果没有数据是否显示表格
...
...
yarn.lock
View file @
e9064631
...
@@ -1191,10 +1191,10 @@
...
@@ -1191,10 +1191,10 @@
dependencies:
dependencies:
cross-fetch "^3.0.6"
cross-fetch "^3.0.6"
"@iconify/json@^1.1.35
5
":
"@iconify/json@^1.1.35
6
":
version "1.1.35
5
"
version "1.1.35
6
"
resolved "https://registry.npmjs.org/@iconify/json/-/json-1.1.35
5.tgz#cb2363653e4df6763e87e8716b3508eff0da3f1d
"
resolved "https://registry.npmjs.org/@iconify/json/-/json-1.1.35
6.tgz#248b25843cf91618dff7ef4494a1b331efd1eb82
"
integrity sha512-
xHhdtI/YH8fFF/IG6YYs28Hi1SRr4ZzqRoi09wds7iX4cBvdP6RqnUxaxgiksSFSEAqF+8sZrhLDo3hkAT5v2
w==
integrity sha512-
HeG9neoS5oatUTF6zlAAyDNPxbj0NvGDFqzd4wBtqu5mE4/xjhDO+S1obkgqpBrDedgoXDwIFkGx9Mx1HJCna
w==
"@intlify/core-base@9.1.6":
"@intlify/core-base@9.1.6":
version "9.1.6"
version "9.1.6"
...
@@ -1787,13 +1787,13 @@
...
@@ -1787,13 +1787,13 @@
"@types/unist" "*"
"@types/unist" "*"
"@types/vfile-message" "*"
"@types/vfile-message" "*"
"@typescript-eslint/eslint-plugin@^4.2
6.1
":
"@typescript-eslint/eslint-plugin@^4.2
7.0
":
version "4.2
6.1
"
version "4.2
7.0
"
resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.2
6.1.tgz#b9c7313321cb837e2bf8bebe7acc2220659e67d3
"
resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.2
7.0.tgz#0b7fc974e8bc9b2b5eb98ed51427b0be529b4ad0
"
integrity sha512-
aoIusj/8CR+xDWmZxARivZjbMBQTT9dImUtdZ8tVCVRXgBUuuZyM5Of5A9D9arQPxbi/0rlJLcuArclz/rCMJw
==
integrity sha512-
DsLqxeUfLVNp3AO7PC3JyaddmEHTtI9qTSAs+RB6ja27QvIM0TA8Cizn1qcS6vOu+WDLFJzkwkgweiyFhssDdQ
==
dependencies:
dependencies:
"@typescript-eslint/experimental-utils" "4.2
6.1
"
"@typescript-eslint/experimental-utils" "4.2
7.0
"
"@typescript-eslint/scope-manager" "4.2
6.1
"
"@typescript-eslint/scope-manager" "4.2
7.0
"
debug "^4.3.1"
debug "^4.3.1"
functional-red-black-tree "^1.0.1"
functional-red-black-tree "^1.0.1"
lodash "^4.17.21"
lodash "^4.17.21"
...
@@ -1801,60 +1801,60 @@
...
@@ -1801,60 +1801,60 @@
semver "^7.3.5"
semver "^7.3.5"
tsutils "^3.21.0"
tsutils "^3.21.0"
"@typescript-eslint/experimental-utils@4.2
6.1
":
"@typescript-eslint/experimental-utils@4.2
7.0
":
version "4.2
6.1
"
version "4.2
7.0
"
resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.2
6.1.tgz#a35980a2390da9232aa206b27f620eab66e94142
"
resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.2
7.0.tgz#78192a616472d199f084eab8f10f962c0757cd1c
"
integrity sha512-
sQHBugRhrXzRCs9PaGg6rowie4i8s/iD/DpTB+EXte8OMDfdCG5TvO73XlO9Wc/zi0uyN4qOmX9hIjQEyhnbm
Q==
integrity sha512-
n5NlbnmzT2MXlyT+Y0Jf0gsmAQzCnQSWXKy4RGSXVStjDvS5we9IWbh7qRVKdGcxT0WYlgcCYUK/HRg7xFhvj
Q==
dependencies:
dependencies:
"@types/json-schema" "^7.0.7"
"@types/json-schema" "^7.0.7"
"@typescript-eslint/scope-manager" "4.2
6.1
"
"@typescript-eslint/scope-manager" "4.2
7.0
"
"@typescript-eslint/types" "4.2
6.1
"
"@typescript-eslint/types" "4.2
7.0
"
"@typescript-eslint/typescript-estree" "4.2
6.1
"
"@typescript-eslint/typescript-estree" "4.2
7.0
"
eslint-scope "^5.1.1"
eslint-scope "^5.1.1"
eslint-utils "^3.0.0"
eslint-utils "^3.0.0"
"@typescript-eslint/parser@^4.2
6.1
":
"@typescript-eslint/parser@^4.2
7.0
":
version "4.2
6.1
"
version "4.2
7.0
"
resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.2
6.1.tgz#cecfdd5eb7a5c13aabce1c1cfd7fbafb5a0f1e8e
"
resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.2
7.0.tgz#85447e573364bce4c46c7f64abaa4985aadf5a94
"
integrity sha512-
q7F3zSo/nU6YJpPJvQveVlIIzx9/wu75lr6oDbDzoeIRWxpoc/HQ43G4rmMoCc5my/3uSj2VEpg/D83LYZF5H
Q==
integrity sha512-
XpbxL+M+gClmJcJ5kHnUpBGmlGdgNvy6cehgR6ufyxkEJMGP25tZKCaKyC0W/JVpuhU3VU1RBn7SYUPKSMqQv
Q==
dependencies:
dependencies:
"@typescript-eslint/scope-manager" "4.2
6.1
"
"@typescript-eslint/scope-manager" "4.2
7.0
"
"@typescript-eslint/types" "4.2
6.1
"
"@typescript-eslint/types" "4.2
7.0
"
"@typescript-eslint/typescript-estree" "4.2
6.1
"
"@typescript-eslint/typescript-estree" "4.2
7.0
"
debug "^4.3.1"
debug "^4.3.1"
"@typescript-eslint/scope-manager@4.2
6.1
":
"@typescript-eslint/scope-manager@4.2
7.0
":
version "4.2
6.1
"
version "4.2
7.0
"
resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.2
6.1.tgz#075a74a15ff33ee3a7ed33e5fce16ee86689f662
"
resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.2
7.0.tgz#b0b1de2b35aaf7f532e89c8e81d0fa298cae327d
"
integrity sha512-
TW1X2p62FQ8Rlne+WEShyd7ac2LA6o27S9i131W4NwDSfyeVlQWhw8ylldNNS8JG6oJB9Ha9Xyc+IUcqipvheQ
==
integrity sha512-
DY73jK6SEH6UDdzc6maF19AHQJBFVRf6fgAXHPXCGEmpqD4vYgPEzqpFz1lf/daSbOcMpPPj9tyXXDPW2XReAw
==
dependencies:
dependencies:
"@typescript-eslint/types" "4.2
6.1
"
"@typescript-eslint/types" "4.2
7.0
"
"@typescript-eslint/visitor-keys" "4.2
6.1
"
"@typescript-eslint/visitor-keys" "4.2
7.0
"
"@typescript-eslint/types@4.2
6.1
":
"@typescript-eslint/types@4.2
7.0
":
version "4.2
6.1
"
version "4.2
7.0
"
resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.2
6.1.tgz#9e7c523f73c34b04a765e4167ca5650436ef1d3
8"
resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.2
7.0.tgz#712b408519ed699baff69086bc59cd2fc13df8d
8"
integrity sha512-
STyMPxR3cS+LaNvS8yK15rb8Y0iL0tFXq0uyl6gY45glyI7w0CsyqyEXl/Fa0JlQy+pVANeK3sbwPneCbWE7yg
==
integrity sha512-
I4ps3SCPFCKclRcvnsVA/7sWzh7naaM/b4pBO2hVxnM3wrU51Lveybdw5WoIktU/V4KfXrTt94V9b065b/0+wA
==
"@typescript-eslint/typescript-estree@4.2
6.1
":
"@typescript-eslint/typescript-estree@4.2
7.0
":
version "4.2
6.1
"
version "4.2
7.0
"
resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.2
6.1.tgz#b2ce2e789233d62283fae2c16baabd4f1dbc9633
"
resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.2
7.0.tgz#189a7b9f1d0717d5cccdcc17247692dedf7a09da
"
integrity sha512-
l3ZXob+h0NQzz80lBGaykdScYaiEbFqznEs99uwzm8fPHhDjwaBFfQkjUC/slw6Sm7npFL8qrGEAMxcfBsBJU
g==
integrity sha512-
KH03GUsUj41sRLLEy2JHstnezgpS5VNhrJouRdmh6yNdQ+yl8w5LrSwBkExM+jWwCJa7Ct2c8yl8NdtNRyQO6
g==
dependencies:
dependencies:
"@typescript-eslint/types" "4.2
6.1
"
"@typescript-eslint/types" "4.2
7.0
"
"@typescript-eslint/visitor-keys" "4.2
6.1
"
"@typescript-eslint/visitor-keys" "4.2
7.0
"
debug "^4.3.1"
debug "^4.3.1"
globby "^11.0.3"
globby "^11.0.3"
is-glob "^4.0.1"
is-glob "^4.0.1"
semver "^7.3.5"
semver "^7.3.5"
tsutils "^3.21.0"
tsutils "^3.21.0"
"@typescript-eslint/visitor-keys@4.2
6.1
":
"@typescript-eslint/visitor-keys@4.2
7.0
":
version "4.2
6.1
"
version "4.2
7.0
"
resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.2
6.1.tgz#0d55ea735cb0d8903b198017d6d4f518fdaac546
"
resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.2
7.0.tgz#f56138b993ec822793e7ebcfac6ffdce0a60cb81
"
integrity sha512-
IGouNSSd+6x/fHtYRyLOM6/C+QxMDzWlDtN41ea+flWuSF9g02iqcIlX8wM53JkfljoIjP0U+yp7SiTS1onEkw
==
integrity sha512-
es0GRYNZp0ieckZ938cEANfEhsfHrzuLrePukLKtY3/KPXcq1Xd555Mno9/GOgXhKzn0QfkDLVgqWO3dGY80bg
==
dependencies:
dependencies:
"@typescript-eslint/types" "4.2
6.1
"
"@typescript-eslint/types" "4.2
7.0
"
eslint-visitor-keys "^2.0.0"
eslint-visitor-keys "^2.0.0"
"@vitejs/plugin-legacy@^1.4.1":
"@vitejs/plugin-legacy@^1.4.1":
...
@@ -1966,7 +1966,7 @@
...
@@ -1966,7 +1966,7 @@
"@vue/compiler-sfc@3.0.11", "@vue/compiler-sfc@^3.0.11":
"@vue/compiler-sfc@3.0.11", "@vue/compiler-sfc@^3.0.11":
version "3.0.11"
version "3.0.11"
resolved "https://registry.
yarnpkg.com
/@vue/compiler-sfc/-/compiler-sfc-3.0.11.tgz#cd8ca2154b88967b521f5ad3b10f5f8b6b665679"
resolved "https://registry.
npmjs.org
/@vue/compiler-sfc/-/compiler-sfc-3.0.11.tgz#cd8ca2154b88967b521f5ad3b10f5f8b6b665679"
integrity sha512-7fNiZuCecRleiyVGUWNa6pn8fB2fnuJU+3AGjbjl7r1P5wBivfl02H4pG+2aJP5gh2u+0wXov1W38tfWOphsXw==
integrity sha512-7fNiZuCecRleiyVGUWNa6pn8fB2fnuJU+3AGjbjl7r1P5wBivfl02H4pG+2aJP5gh2u+0wXov1W38tfWOphsXw==
dependencies:
dependencies:
"@babel/parser" "^7.13.9"
"@babel/parser" "^7.13.9"
...
@@ -2048,10 +2048,10 @@
...
@@ -2048,10 +2048,10 @@
dependencies:
dependencies:
vue-demi "*"
vue-demi "*"
"@windicss/plugin-utils@1.0.
3
":
"@windicss/plugin-utils@1.0.
4
":
version "1.0.
3
"
version "1.0.
4
"
resolved "https://registry.npmjs.org/@windicss/plugin-utils/-/plugin-utils-1.0.
3.tgz#04d039ef56b58180079df3f9b3bd8a21a57368d
3"
resolved "https://registry.npmjs.org/@windicss/plugin-utils/-/plugin-utils-1.0.
4.tgz#dd375789d610a8700d540bb09d296a163d7588b
3"
integrity sha512-
SBYjmWBO+dOqxJgyyOAETOuMdcugvVgZYQc3rb7KtcTW5u9UkFXtiuGdoq8cWyFpSkn46gmjCb4WNbY3kEIVn
Q==
integrity sha512-
1Eqw+/lhk3vqW8vgttmLDbzE6YIFL047Kuy/v6jhQd3w7RG+fPbQE6YwnqJerPYvCcRwujQ9ABrLr0+cS+i0t
Q==
dependencies:
dependencies:
"@antfu/utils" "^0.1.6"
"@antfu/utils" "^0.1.6"
debug "^4.3.2"
debug "^4.3.2"
...
@@ -3909,9 +3909,9 @@ doctypes@^1.1.0:
...
@@ -3909,9 +3909,9 @@ doctypes@^1.1.0:
integrity sha1-6oCxBqh1OHdOijpKWv4pPeSJ4Kk=
integrity sha1-6oCxBqh1OHdOijpKWv4pPeSJ4Kk=
dom-align@^1.10.4:
dom-align@^1.10.4:
version "1.12.
0
"
version "1.12.
2
"
resolved "https://registry.npmjs.org/dom-align/-/dom-align-1.12.
0.tgz#56fb7156df0b91099830364d2d48f88963f5a29c
"
resolved "https://registry.npmjs.org/dom-align/-/dom-align-1.12.
2.tgz#0f8164ebd0c9c21b0c790310493cd855892acd4b
"
integrity sha512-
YkoezQuhp3SLFGdOlr5xkqZ640iXrnHAwVYcDg8ZKRUtO7mSzSC2BA5V0VuyAwPSJA4CLIc6EDDJh4bEsD2+zA
==
integrity sha512-
pHuazgqrsTFrGU2WLDdXxCFabkdQDx72ddkraZNih1KsMcN5qsRSTR9O4VJRlwTPCPb5COYg3LOfiMHHcPInHg
==
dom-scroll-into-view@^2.0.0:
dom-scroll-into-view@^2.0.0:
version "2.0.1"
version "2.0.1"
...
@@ -4197,10 +4197,10 @@ es-to-primitive@^1.2.1:
...
@@ -4197,10 +4197,10 @@ es-to-primitive@^1.2.1:
is-date-object "^1.0.1"
is-date-object "^1.0.1"
is-symbol "^1.0.2"
is-symbol "^1.0.2"
esbuild-node-loader@^0.
0.0
:
esbuild-node-loader@^0.
1.1
:
version "0.
0.0
"
version "0.
1.1
"
resolved "https://registry.npmjs.org/esbuild-node-loader/-/esbuild-node-loader-0.
0.0.tgz#2243724e6f57e401ac5b68a6aeb6531e3d7c6078
"
resolved "https://registry.npmjs.org/esbuild-node-loader/-/esbuild-node-loader-0.
1.1.tgz#b43937133e70435f9dd1dc058a5ac27ccc7addbe
"
integrity sha512-
f4Zs1sWMst3PwVfiRpZIos/BV31a8KVSyIXodXeQjNkgc1mLIBKw7p0uY7qbLoq7ICfrsQJgvXIwPHRSHd5qS
A==
integrity sha512-
n24xYzMfKmPupUZgs0QYBr52HUSh1M1vDtBfkEVa6pdENqo5+U5WP+zaj4Iw2MinuYk1axLW8+NVutrBCkrdm
A==
dependencies:
dependencies:
esbuild "^0.12.6"
esbuild "^0.12.6"
...
@@ -4279,10 +4279,10 @@ eslint-plugin-prettier@^3.4.0:
...
@@ -4279,10 +4279,10 @@ eslint-plugin-prettier@^3.4.0:
dependencies:
dependencies:
prettier-linter-helpers "^1.0.0"
prettier-linter-helpers "^1.0.0"
eslint-plugin-vue@^7.11.
0
:
eslint-plugin-vue@^7.11.
1
:
version "7.11.
0
"
version "7.11.
1
"
resolved "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-7.11.
0.tgz#c19b098899b7e3cd692beffbbe73611064ef1ea6
"
resolved "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-7.11.
1.tgz#77eb4b44032d5cca79f9af21d06991d8694a314a
"
integrity sha512-
Qwo8wilqnOXnG9B5auEiTstyaHefyhHd5lEhhxemwXoWsAxIW2yppzuVudowC5n+qn1nMLNV9TANkTthBK7Wa
w==
integrity sha512-
lbw3vkEAGqYjqd1HpPFWHXtYaS8mILTJ5KOpJfRxO3Fo7o0wCf1zD7vSOasbm6nTA9xIgvZQ4VcyGIzQXxznH
w==
dependencies:
dependencies:
eslint-utils "^2.1.0"
eslint-utils "^2.1.0"
natural-compare "^1.4.0"
natural-compare "^1.4.0"
...
@@ -4366,14 +4366,14 @@ eslint@^7.28.0:
...
@@ -4366,14 +4366,14 @@ eslint@^7.28.0:
text-table "^0.2.0"
text-table "^0.2.0"
v8-compile-cache "^2.0.3"
v8-compile-cache "^2.0.3"
esno@^0.7.
2
:
esno@^0.7.
3
:
version "0.7.
2
"
version "0.7.
3
"
resolved "https://registry.npmjs.org/esno/-/esno-0.7.
2.tgz#64f557e5263ed729f572cabcdfac9bc7cda10fa4
"
resolved "https://registry.npmjs.org/esno/-/esno-0.7.
3.tgz#e99b063241d0527df4de2c69471dfe91c00a314b
"
integrity sha512-
qNb3hiDZqp84msR0+yrksCu7MIA8aDMkglKvfrOww7DkG9ah1acGJcP5yxUH7EmM5WpwZ0cLPQUw17nvTMY4mA
==
integrity sha512-
ONTHZLBipMC9uK9oqASzqYGCrjcqp/N0NXt/Q0WpYw/Ikm9he+rYER2ATx6czaFcMvwrbIXBlNe9hSEiTrNKow
==
dependencies:
dependencies:
cross-spawn "^7.0.3"
cross-spawn "^7.0.3"
esbuild "^0.12.8"
esbuild "^0.12.8"
esbuild-node-loader "^0.
0.0
"
esbuild-node-loader "^0.
1.1
"
esbuild-register "^2.6.0"
esbuild-register "^2.6.0"
espree@^6.2.1:
espree@^6.2.1:
...
@@ -5818,10 +5818,10 @@ inquirer@6.5.2:
...
@@ -5818,10 +5818,10 @@ inquirer@6.5.2:
strip-ansi "^5.1.0"
strip-ansi "^5.1.0"
through "^2.3.6"
through "^2.3.6"
inquirer@^8.1.
0
:
inquirer@^8.1.
1
:
version "8.1.
0
"
version "8.1.
1
"
resolved "https://registry.npmjs.org/inquirer/-/inquirer-8.1.
0.tgz#68ce5ce5376cf0e89765c993d8b7c1e62e184d69
"
resolved "https://registry.npmjs.org/inquirer/-/inquirer-8.1.
1.tgz#7c53d94c6d03011c7bb2a947f0dca3b98246c26a
"
integrity sha512-
1nKYPoalt1vMBfCMtpomsUc32wmOoWXAoq3kM/5iTfxyQ2f/BxjixQpC+mbZ7BI0JUXHED4/XPXekDVtJNpXY
w==
integrity sha512-
hUDjc3vBkh/uk1gPfMAD/7Z188Q8cvTGl0nxwaCdwSbzFh6ZKkZh+s2ozVxbE5G9ZNRyeY0+lgbAIOUFsFf98
w==
dependencies:
dependencies:
ansi-escapes "^4.2.1"
ansi-escapes "^4.2.1"
chalk "^4.1.1"
chalk "^4.1.1"
...
@@ -10642,12 +10642,12 @@ vite-plugin-theme@^0.8.1:
...
@@ -10642,12 +10642,12 @@ vite-plugin-theme@^0.8.1:
esbuild-plugin-alias "^0.1.2"
esbuild-plugin-alias "^0.1.2"
tinycolor2 "^1.4.2"
tinycolor2 "^1.4.2"
vite-plugin-windicss@^1.0.
3
:
vite-plugin-windicss@^1.0.
4
:
version "1.0.
3
"
version "1.0.
4
"
resolved "https://registry.npmjs.org/vite-plugin-windicss/-/vite-plugin-windicss-1.0.
3.tgz#bd45cfee13777e7b57c37a257ebcb7e73fee94ab
"
resolved "https://registry.npmjs.org/vite-plugin-windicss/-/vite-plugin-windicss-1.0.
4.tgz#8515822266efcd359ea506c280b00397954f5fc6
"
integrity sha512-
y9pudcMajdI88PTs49qGftlfAvsLUUhK2Eig+xn5sgxPCbAc3Rj5phXJkRzGDqfmEzGwbpF6JwjmiGmZkm8V+g
==
integrity sha512-
3foNePu1+DHBrCMZhKf84rNH7pgWUoN53h1cKrnLBI4UruCCBmVvZ8W2Kr5cNGgh/ME/nslON2RQPoHxE+F0gA
==
dependencies:
dependencies:
"@windicss/plugin-utils" "1.0.
3
"
"@windicss/plugin-utils" "1.0.
4
"
chalk "^4.1.1"
chalk "^4.1.1"
debug "^4.3.2"
debug "^4.3.2"
windicss "^3.1.3"
windicss "^3.1.3"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment