File tree Expand file tree Collapse file tree 15 files changed +32
-26
lines changed Expand file tree Collapse file tree 15 files changed +32
-26
lines changed Original file line number Diff line number Diff line change 1
1
import Icon from './src/Icon.vue'
2
2
3
+ export type { IconTypes } from './src/types'
4
+
3
5
export { Icon }
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
import Infotip from './src/Infotip.vue'
2
2
3
+ export type { InfoTipSchema } from './src/types'
4
+
3
5
export { Infotip }
Original file line number Diff line number Diff line change 1
- export interface TipSchema {
1
+ export interface InfoTipSchema {
2
2
label : string
3
3
keys ?: string [ ]
4
4
}
Original file line number Diff line number Diff line change 1
1
import LocaleDropdown from './src/LocaleDropdown.vue'
2
2
3
+ export type { Language , LocaleDropdownType } from './src/types'
4
+
3
5
export { LocaleDropdown }
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
import Qrcode from './src/Qrcode.vue'
2
2
3
+ export type { QrcodeLogo } from './src/types'
4
+
3
5
export { Qrcode }
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { cloneDeep } from 'lodash-es'
6
6
import { propTypes } from ' @/utils/propTypes'
7
7
import { useDesign } from ' @/hooks/web/useDesign'
8
8
import { isString } from ' @/utils/is'
9
- import { QrcodeLogo } from ' @/types/qrcode '
9
+ import { QrcodeLogo } from ' @/components/Qrcode '
10
10
11
11
const props = defineProps ({
12
12
// img 或者 canvas,img不支持logo嵌套
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
import { Pagination , TableColumn } from '@/types/table'
2
2
3
- export type TableProps = {
3
+ export interface TableProps {
4
4
pageSize ?: number
5
5
currentPage ?: number
6
6
// 是否多选
@@ -23,4 +23,5 @@ export type TableProps = {
23
23
headerAlign ?: 'left' | 'center' | 'right'
24
24
data ?: Recordable
25
25
expand ?: boolean
26
- } & Recordable
26
+ [ key : string ] : any
27
+ }
Original file line number Diff line number Diff line change 1
1
import { h } from 'vue'
2
2
import type { VNode } from 'vue'
3
- import { Icon } from '@/components/Icon'
4
- import { IconTypes } from '@/types/icon'
3
+ import { Icon , IconTypes } from '@/components/Icon'
5
4
6
5
export const useIcon = ( props : IconTypes ) : VNode => {
7
6
return h ( Icon , props )
Original file line number Diff line number Diff line change @@ -2,10 +2,7 @@ import { defineStore } from 'pinia'
2
2
import { store } from '../index'
3
3
import { setCssVar , humpToUnderline } from '@/utils'
4
4
import { ElMessage } from 'element-plus'
5
- import { ElementPlusSize } from '@/types/elementPlus'
6
5
import { useCache } from '@/hooks/web/useCache'
7
- import { LayoutType } from '@/types/layout'
8
- import { ThemeTypes } from '@/types/theme'
9
6
10
7
const { wsCache } = useCache ( )
11
8
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { store } from '../index'
3
3
import zhCn from 'element-plus/es/locale/lang/zh-cn'
4
4
import en from 'element-plus/es/locale/lang/en'
5
5
import { useCache } from '@/hooks/web/useCache'
6
- import { LocaleDropdownType } from '@/types/localeDropdown '
6
+ import { LocaleDropdownType } from '@/components/LocaleDropdown '
7
7
8
8
const { wsCache } = useCache ( )
9
9
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -45,4 +45,21 @@ declare global {
45
45
code : string
46
46
data : T extends any ? T : T & any
47
47
}
48
+
49
+ declare interface ThemeTypes {
50
+ elColorPrimary ?: string
51
+ leftMenuBorderColor ?: string
52
+ leftMenuBgColor ?: string
53
+ leftMenuBgLightColor ?: string
54
+ leftMenuBgActiveColor ?: string
55
+ leftMenuCollapseBgActiveColor ?: string
56
+ leftMenuTextColor ?: string
57
+ leftMenuTextActiveColor ?: string
58
+ logoTitleTextColor ?: string
59
+ logoBorderColor ?: string
60
+ topHeaderBgColor ?: string
61
+ topHeaderTextColor ?: string
62
+ topHeaderHoverColor ?: string
63
+ topToolBorderColor ?: string
64
+ }
48
65
}
You can’t perform that action at this time.
0 commit comments