Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2eef9241
authored
Jun 08, 2024
by
vben
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: border css
1 parent
fcf4b9ae
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
25 additions
and
25 deletions
internal/lint-configs/eslint-config/src/custom-config.ts
packages/@core/uikit/shadcn-ui/src/components/ui/alert-dialog/AlertDialogContent.vue
packages/@core/uikit/shadcn-ui/src/components/ui/badge/badge.ts
packages/@core/uikit/shadcn-ui/src/components/ui/context-menu/ContextMenuContent.vue
packages/@core/uikit/shadcn-ui/src/components/ui/context-menu/ContextMenuSubContent.vue
packages/@core/uikit/shadcn-ui/src/components/ui/dialog/DialogContent.vue
packages/@core/uikit/shadcn-ui/src/components/ui/dialog/DialogScrollContent.vue
packages/@core/uikit/shadcn-ui/src/components/ui/dropdown-menu/DropdownMenuContent.vue
packages/@core/uikit/shadcn-ui/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue
packages/@core/uikit/shadcn-ui/src/components/ui/hover-card/HoverCardContent.vue
packages/@core/uikit/shadcn-ui/src/components/ui/popover/PopoverContent.vue
packages/@core/uikit/shadcn-ui/src/components/ui/select/SelectContent.vue
packages/@core/uikit/shadcn-ui/src/components/ui/sheet/sheet.ts
packages/@core/uikit/shadcn-ui/src/components/ui/tooltip/TooltipContent.vue
packages/@core/uikit/tabs-ui/src/components/tabs-more.vue
packages/@core/uikit/tabs-ui/src/components/tabs-screen.vue
packages/business/common-ui/src/global-search/global-search.vue
packages/business/common-ui/src/index.ts
packages/locales/src/langs/en-US.yaml
packages/locales/src/langs/zh-CN.yaml
internal/lint-configs/eslint-config/src/custom-config.ts
View file @
2eef924
...
@@ -2,7 +2,7 @@ import type { Linter } from 'eslint';
...
@@ -2,7 +2,7 @@ import type { Linter } from 'eslint';
const
customConfig
:
Linter
.
FlatConfig
[]
=
[
const
customConfig
:
Linter
.
FlatConfig
[]
=
[
{
{
files
:
[
'packages/@
vben-
core/uikit/shadcn-ui/**/**'
],
files
:
[
'packages/@core/uikit/shadcn-ui/**/**'
],
rules
:
{
rules
:
{
'vue/require-default-prop'
:
'off'
,
'vue/require-default-prop'
:
'off'
,
},
},
...
...
packages/@core/uikit/shadcn-ui/src/components/ui/alert-dialog/AlertDialogContent.vue
View file @
2eef924
...
@@ -35,7 +35,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
...
@@ -35,7 +35,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
v-bind=
"forwarded"
v-bind=
"forwarded"
:class=
"
:class=
"
cn(
cn(
'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed left-1/2 top-1/2 z-[1000] grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg',
'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]
border-border
fixed left-1/2 top-1/2 z-[1000] grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg',
props.class,
props.class,
)
)
"
"
...
...
packages/@core/uikit/shadcn-ui/src/components/ui/badge/badge.ts
View file @
2eef924
import
{
type
VariantProps
,
cva
}
from
'class-variance-authority'
;
import
{
type
VariantProps
,
cva
}
from
'class-variance-authority'
;
export
const
badgeVariants
=
cva
(
export
const
badgeVariants
=
cva
(
'inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2'
,
'inline-flex items-center rounded-md border
border-border
px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2'
,
{
{
defaultVariants
:
{
defaultVariants
:
{
variant
:
'default'
,
variant
:
'default'
,
...
...
packages/@core/uikit/shadcn-ui/src/components/ui/context-menu/ContextMenuContent.vue
View file @
2eef924
...
@@ -31,7 +31,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
...
@@ -31,7 +31,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
v-bind=
"forwarded"
v-bind=
"forwarded"
:class=
"
:class=
"
cn(
cn(
'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-[1000] min-w-32 overflow-hidden rounded-md border p-1 shadow-md',
'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2
border-border
z-[1000] min-w-32 overflow-hidden rounded-md border p-1 shadow-md',
props.class,
props.class,
)
)
"
"
...
...
packages/@core/uikit/shadcn-ui/src/components/ui/context-menu/ContextMenuSubContent.vue
View file @
2eef924
...
@@ -29,7 +29,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
...
@@ -29,7 +29,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
v-bind=
"forwarded"
v-bind=
"forwarded"
:class=
"
:class=
"
cn(
cn(
'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-32 overflow-hidden rounded-md border p-1 shadow-lg',
'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2
border-border
z-50 min-w-32 overflow-hidden rounded-md border p-1 shadow-lg',
props.class,
props.class,
)
)
"
"
...
...
packages/@core/uikit/shadcn-ui/src/components/ui/dialog/DialogContent.vue
View file @
2eef924
...
@@ -38,7 +38,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
...
@@ -38,7 +38,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
v-bind=
"forwarded"
v-bind=
"forwarded"
:class=
"
:class=
"
cn(
cn(
'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed left-1/2 top-1/2 z-[1000] grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 border p-6 shadow-lg outline-none duration-300 sm:rounded-lg',
'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]
border-border
fixed left-1/2 top-1/2 z-[1000] grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 border p-6 shadow-lg outline-none duration-300 sm:rounded-lg',
props.class,
props.class,
)
)
"
"
...
...
packages/@core/uikit/shadcn-ui/src/components/ui/dialog/DialogScrollContent.vue
View file @
2eef924
...
@@ -30,7 +30,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
...
@@ -30,7 +30,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
<
template
>
<
template
>
<DialogPortal>
<DialogPortal>
<DialogOverlay
<DialogOverlay
class=
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-[1000] grid place-items-center overflow-y-auto bg-black/80"
class=
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0
border-border
fixed inset-0 z-[1000] grid place-items-center overflow-y-auto bg-black/80"
>
>
<DialogContent
<DialogContent
:class=
"
:class=
"
...
...
packages/@core/uikit/shadcn-ui/src/components/ui/dropdown-menu/DropdownMenuContent.vue
View file @
2eef924
...
@@ -34,7 +34,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
...
@@ -34,7 +34,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
v-bind=
"forwarded"
v-bind=
"forwarded"
:class=
"
:class=
"
cn(
cn(
'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-[1000] min-w-32 overflow-hidden rounded-md border p-1 shadow-md',
'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2
border-border
z-[1000] min-w-32 overflow-hidden rounded-md border p-1 shadow-md',
props.class,
props.class,
)
)
"
"
...
...
packages/@core/uikit/shadcn-ui/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue
View file @
2eef924
...
@@ -29,7 +29,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
...
@@ -29,7 +29,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
v-bind=
"forwarded"
v-bind=
"forwarded"
:class=
"
:class=
"
cn(
cn(
'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-32 overflow-hidden rounded-md border p-1 shadow-lg',
'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2
border-border
z-50 min-w-32 overflow-hidden rounded-md border p-1 shadow-lg',
props.class,
props.class,
)
)
"
"
...
...
packages/@core/uikit/shadcn-ui/src/components/ui/hover-card/HoverCardContent.vue
View file @
2eef924
...
@@ -32,7 +32,7 @@ const forwardedProps = useForwardProps(delegatedProps);
...
@@ -32,7 +32,7 @@ const forwardedProps = useForwardProps(delegatedProps);
v-bind=
"forwardedProps"
v-bind=
"forwardedProps"
:class=
"
:class=
"
cn(
cn(
'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-[1000] w-64 rounded-md border p-4 shadow-md outline-none',
'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2
border-border
z-[1000] w-64 rounded-md border p-4 shadow-md outline-none',
props.class,
props.class,
)
)
"
"
...
...
packages/@core/uikit/shadcn-ui/src/components/ui/popover/PopoverContent.vue
View file @
2eef924
...
@@ -39,7 +39,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
...
@@ -39,7 +39,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
v-bind=
"
{ ...forwarded, ...$attrs }"
v-bind=
"
{ ...forwarded, ...$attrs }"
:class="
:class="
cn(
cn(
'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 w-72 rounded-md border p-4 shadow-md outline-none',
'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2
border-border
w-72 rounded-md border p-4 shadow-md outline-none',
props.class,
props.class,
)
)
"
"
...
...
packages/@core/uikit/shadcn-ui/src/components/ui/select/SelectContent.vue
View file @
2eef924
...
@@ -41,7 +41,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
...
@@ -41,7 +41,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
v-bind=
"
{ ...forwarded, ...$attrs }"
v-bind=
"
{ ...forwarded, ...$attrs }"
:class="
:class="
cn(
cn(
'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-[1000] max-h-96 min-w-32 overflow-hidden rounded-md border shadow-md',
'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2
border-border
relative z-[1000] max-h-96 min-w-32 overflow-hidden rounded-md border shadow-md',
position === 'popper'
&&
position === 'popper'
&&
'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1',
'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1',
props.class,
props.class,
...
...
packages/@core/uikit/shadcn-ui/src/components/ui/sheet/sheet.ts
View file @
2eef924
import
{
type
VariantProps
,
cva
}
from
'class-variance-authority'
;
import
{
type
VariantProps
,
cva
}
from
'class-variance-authority'
;
export
const
sheetVariants
=
cva
(
export
const
sheetVariants
=
cva
(
'fixed z-50 gap-4 bg-background shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500'
,
'fixed z-50 gap-4 bg-background shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500
border-border
'
,
{
{
defaultVariants
:
{
defaultVariants
:
{
side
:
'right'
,
side
:
'right'
,
...
...
packages/@core/uikit/shadcn-ui/src/components/ui/tooltip/TooltipContent.vue
View file @
2eef924
...
@@ -18,6 +18,7 @@ defineOptions({
...
@@ -18,6 +18,7 @@ defineOptions({
const
props
=
withDefaults
(
const
props
=
withDefaults
(
defineProps
<
{
class
?:
HTMLAttributes
[
'class'
]
}
&
TooltipContentProps
>
(),
defineProps
<
{
class
?:
HTMLAttributes
[
'class'
]
}
&
TooltipContentProps
>
(),
{
{
class
:
''
,
side
:
'right'
,
side
:
'right'
,
sideOffset
:
5
,
sideOffset
:
5
,
},
},
...
@@ -40,7 +41,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
...
@@ -40,7 +41,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
v-bind=
"
{ ...forwarded, ...$attrs }"
v-bind=
"
{ ...forwarded, ...$attrs }"
:class="
:class="
cn(
cn(
'bg-accent text-accent-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-[1000] overflow-hidden rounded-sm px-4 py-2 text-xs shadow-md',
'bg-accent text-accent-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2
border-border
z-[1000] overflow-hidden rounded-sm px-4 py-2 text-xs shadow-md',
props.class,
props.class,
)
)
"
"
...
...
packages/@core/uikit/tabs-ui/src/components/tabs-more.vue
View file @
2eef924
...
@@ -10,7 +10,7 @@ defineProps<DropdownMenuProps>();
...
@@ -10,7 +10,7 @@ defineProps<DropdownMenuProps>();
<
template
>
<
template
>
<VbenDropdownMenu
:menus=
"menus"
>
<VbenDropdownMenu
:menus=
"menus"
>
<div
<div
class=
"flex-center hover:bg-accent hover:text-foreground text-muted-foreground h-full cursor-pointer border-l px-2 text-lg font-semibold"
class=
"flex-center hover:bg-accent hover:text-foreground text-muted-foreground
border-border
h-full cursor-pointer border-l px-2 text-lg font-semibold"
>
>
<IcRoundMoreVert
/>
<IcRoundMoreVert
/>
</div>
</div>
...
...
packages/@core/uikit/tabs-ui/src/components/tabs-screen.vue
View file @
2eef924
...
@@ -10,7 +10,7 @@ function toggleScreen() {
...
@@ -10,7 +10,7 @@ function toggleScreen() {
<
template
>
<
template
>
<div
<div
class=
"flex-center hover:bg-accent hover:text-foreground text-muted-foreground h-full cursor-pointer border-l px-2 text-lg font-semibold"
class=
"flex-center hover:bg-accent hover:text-foreground text-muted-foreground
border-border
h-full cursor-pointer border-l px-2 text-lg font-semibold"
@
click=
"toggleScreen"
@
click=
"toggleScreen"
>
>
<IcTwotoneFitScreen
v-if=
"screen"
/>
<IcTwotoneFitScreen
v-if=
"screen"
/>
...
...
packages/business/common-ui/src/global-search/global-search.vue
View file @
2eef924
...
@@ -102,7 +102,7 @@ if (props.enableShortcutKey) {
...
@@ -102,7 +102,7 @@ if (props.enableShortcutKey) {
</DialogHeader>
</DialogHeader>
<SearchPanel
:keyword=
"keyword"
:menus=
"menus"
@
close=
"handleClose"
/>
<SearchPanel
:keyword=
"keyword"
:menus=
"menus"
@
close=
"handleClose"
/>
<DialogFooter
<DialogFooter
class=
"text-muted-foreground hidden flex-row rounded-b-2xl border-t px-4 py-2 text-xs sm:flex sm:justify-start sm:gap-x-4"
class=
"text-muted-foreground
border-border
hidden flex-row rounded-b-2xl border-t px-4 py-2 text-xs sm:flex sm:justify-start sm:gap-x-4"
>
>
<div
class=
"flex items-center"
>
<div
class=
"flex items-center"
>
<IcRoundSubdirectoryArrowLeft
class=
"mr-1"
/>
<IcRoundSubdirectoryArrowLeft
class=
"mr-1"
/>
...
...
packages/business/common-ui/src/index.ts
View file @
2eef924
...
@@ -5,6 +5,5 @@ export * from './global-search';
...
@@ -5,6 +5,5 @@ export * from './global-search';
export
*
from
'./language-toggle'
;
export
*
from
'./language-toggle'
;
export
*
from
'./notification'
;
export
*
from
'./notification'
;
export
*
from
'./preferences'
;
export
*
from
'./preferences'
;
export
*
from
'./spinner'
;
export
*
from
'./theme-toggle'
;
export
*
from
'./theme-toggle'
;
export
*
from
'./user-dropdown'
;
export
*
from
'./user-dropdown'
;
packages/locales/src/langs/en-US.yaml
View file @
2eef924
...
@@ -107,7 +107,7 @@ page:
...
@@ -107,7 +107,7 @@ page:
menu3
:
Menu 3
menu3
:
Menu 3
menu31
:
Menu 3-1
menu31
:
Menu 3-1
menu32
:
Menu 3-2
menu32
:
Menu 3-2
menu321
:
Menu 3-2-1
1
menu321
:
Menu 3-2-1
fallback
:
fallback
:
page
:
Exception Page
page
:
Exception Page
...
...
packages/locales/src/langs/zh-CN.yaml
View file @
2eef924
...
@@ -101,12 +101,12 @@ page:
...
@@ -101,12 +101,12 @@ page:
external-link
:
外链
external-link
:
外链
nested
:
nested
:
page
:
嵌套菜单
page
:
嵌套菜单
menu1
:
菜单1
menu1
:
菜单
1
menu2
:
菜单2
menu2
:
菜单
2
menu3
:
菜单3
menu3
:
菜单
3
menu31
:
菜单
3
1
menu31
:
菜单
3-
1
menu32
:
菜单
3
2
menu32
:
菜单
3-
2
menu321
:
菜单
32
1
menu321
:
菜单
3-2-
1
fallback
:
fallback
:
page
:
异常页面
page
:
异常页面
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment