Skip to content

Commit 40cab5e

Browse files
committed
feat(alert): 添加 FaAlert 组件
1 parent 5f9a01f commit 40cab5e

22 files changed

Lines changed: 286 additions & 0 deletions

File tree

‎apps/core-ant-design-vue/src/types/components.d.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ declare module 'vue' {
1919
AppNotAllowed: typeof import('./../components/AppNotAllowed/index.vue')['default']
2020
AppNotSupportedMobile: typeof import('./../components/AppNotSupportedMobile/index.vue')['default']
2121
AppSystemInfo: typeof import('./../components/AppSystemInfo/index.vue')['default']
22+
FaAlert: typeof import('@fantastic-admin/components')['FaAlert']
2223
FaAvatar: typeof import('@fantastic-admin/components')['FaAvatar']
2324
FaButton: typeof import('@fantastic-admin/components')['FaButton']
2425
FaButtonGroup: typeof import('@fantastic-admin/components')['FaButtonGroup']
@@ -72,6 +73,7 @@ declare global {
7273
const AppNotAllowed: typeof import('./../components/AppNotAllowed/index.vue')['default']
7374
const AppNotSupportedMobile: typeof import('./../components/AppNotSupportedMobile/index.vue')['default']
7475
const AppSystemInfo: typeof import('./../components/AppSystemInfo/index.vue')['default']
76+
const FaAlert: typeof import('@fantastic-admin/components')['FaAlert']
7577
const FaAvatar: typeof import('@fantastic-admin/components')['FaAvatar']
7678
const FaButton: typeof import('@fantastic-admin/components')['FaButton']
7779
const FaButtonGroup: typeof import('@fantastic-admin/components')['FaButtonGroup']

‎apps/core-antdv-next/src/types/components.d.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ declare module 'vue' {
1919
AppNotAllowed: typeof import('./../components/AppNotAllowed/index.vue')['default']
2020
AppNotSupportedMobile: typeof import('./../components/AppNotSupportedMobile/index.vue')['default']
2121
AppSystemInfo: typeof import('./../components/AppSystemInfo/index.vue')['default']
22+
FaAlert: typeof import('@fantastic-admin/components')['FaAlert']
2223
FaAvatar: typeof import('@fantastic-admin/components')['FaAvatar']
2324
FaButton: typeof import('@fantastic-admin/components')['FaButton']
2425
FaButtonGroup: typeof import('@fantastic-admin/components')['FaButtonGroup']
@@ -72,6 +73,7 @@ declare global {
7273
const AppNotAllowed: typeof import('./../components/AppNotAllowed/index.vue')['default']
7374
const AppNotSupportedMobile: typeof import('./../components/AppNotSupportedMobile/index.vue')['default']
7475
const AppSystemInfo: typeof import('./../components/AppSystemInfo/index.vue')['default']
76+
const FaAlert: typeof import('@fantastic-admin/components')['FaAlert']
7577
const FaAvatar: typeof import('@fantastic-admin/components')['FaAvatar']
7678
const FaButton: typeof import('@fantastic-admin/components')['FaButton']
7779
const FaButtonGroup: typeof import('@fantastic-admin/components')['FaButtonGroup']

‎apps/core-arco-design-vue/src/types/components.d.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ declare module 'vue' {
1919
AppNotAllowed: typeof import('./../components/AppNotAllowed/index.vue')['default']
2020
AppNotSupportedMobile: typeof import('./../components/AppNotSupportedMobile/index.vue')['default']
2121
AppSystemInfo: typeof import('./../components/AppSystemInfo/index.vue')['default']
22+
FaAlert: typeof import('@fantastic-admin/components')['FaAlert']
2223
FaAvatar: typeof import('@fantastic-admin/components')['FaAvatar']
2324
FaButton: typeof import('@fantastic-admin/components')['FaButton']
2425
FaButtonGroup: typeof import('@fantastic-admin/components')['FaButtonGroup']
@@ -72,6 +73,7 @@ declare global {
7273
const AppNotAllowed: typeof import('./../components/AppNotAllowed/index.vue')['default']
7374
const AppNotSupportedMobile: typeof import('./../components/AppNotSupportedMobile/index.vue')['default']
7475
const AppSystemInfo: typeof import('./../components/AppSystemInfo/index.vue')['default']
76+
const FaAlert: typeof import('@fantastic-admin/components')['FaAlert']
7577
const FaAvatar: typeof import('@fantastic-admin/components')['FaAvatar']
7678
const FaButton: typeof import('@fantastic-admin/components')['FaButton']
7779
const FaButtonGroup: typeof import('@fantastic-admin/components')['FaButtonGroup']

‎apps/core-naive-ui/src/types/components.d.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ declare module 'vue' {
1919
AppNotAllowed: typeof import('./../components/AppNotAllowed/index.vue')['default']
2020
AppNotSupportedMobile: typeof import('./../components/AppNotSupportedMobile/index.vue')['default']
2121
AppSystemInfo: typeof import('./../components/AppSystemInfo/index.vue')['default']
22+
FaAlert: typeof import('@fantastic-admin/components')['FaAlert']
2223
FaAvatar: typeof import('@fantastic-admin/components')['FaAvatar']
2324
FaButton: typeof import('@fantastic-admin/components')['FaButton']
2425
FaButtonGroup: typeof import('@fantastic-admin/components')['FaButtonGroup']
@@ -72,6 +73,7 @@ declare global {
7273
const AppNotAllowed: typeof import('./../components/AppNotAllowed/index.vue')['default']
7374
const AppNotSupportedMobile: typeof import('./../components/AppNotSupportedMobile/index.vue')['default']
7475
const AppSystemInfo: typeof import('./../components/AppSystemInfo/index.vue')['default']
76+
const FaAlert: typeof import('@fantastic-admin/components')['FaAlert']
7577
const FaAvatar: typeof import('@fantastic-admin/components')['FaAvatar']
7678
const FaButton: typeof import('@fantastic-admin/components')['FaButton']
7779
const FaButtonGroup: typeof import('@fantastic-admin/components')['FaButtonGroup']

‎apps/core-tdesign/src/types/components.d.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ declare module 'vue' {
1919
AppNotAllowed: typeof import('./../components/AppNotAllowed/index.vue')['default']
2020
AppNotSupportedMobile: typeof import('./../components/AppNotSupportedMobile/index.vue')['default']
2121
AppSystemInfo: typeof import('./../components/AppSystemInfo/index.vue')['default']
22+
FaAlert: typeof import('@fantastic-admin/components')['FaAlert']
2223
FaAvatar: typeof import('@fantastic-admin/components')['FaAvatar']
2324
FaButton: typeof import('@fantastic-admin/components')['FaButton']
2425
FaButtonGroup: typeof import('@fantastic-admin/components')['FaButtonGroup']
@@ -72,6 +73,7 @@ declare global {
7273
const AppNotAllowed: typeof import('./../components/AppNotAllowed/index.vue')['default']
7374
const AppNotSupportedMobile: typeof import('./../components/AppNotSupportedMobile/index.vue')['default']
7475
const AppSystemInfo: typeof import('./../components/AppSystemInfo/index.vue')['default']
76+
const FaAlert: typeof import('@fantastic-admin/components')['FaAlert']
7577
const FaAvatar: typeof import('@fantastic-admin/components')['FaAvatar']
7678
const FaButton: typeof import('@fantastic-admin/components')['FaButton']
7779
const FaButtonGroup: typeof import('@fantastic-admin/components')['FaButtonGroup']

‎apps/core-vexip-ui/src/types/components.d.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ declare module 'vue' {
1919
AppNotAllowed: typeof import('./../components/AppNotAllowed/index.vue')['default']
2020
AppNotSupportedMobile: typeof import('./../components/AppNotSupportedMobile/index.vue')['default']
2121
AppSystemInfo: typeof import('./../components/AppSystemInfo/index.vue')['default']
22+
FaAlert: typeof import('@fantastic-admin/components')['FaAlert']
2223
FaAvatar: typeof import('@fantastic-admin/components')['FaAvatar']
2324
FaButton: typeof import('@fantastic-admin/components')['FaButton']
2425
FaButtonGroup: typeof import('@fantastic-admin/components')['FaButtonGroup']
@@ -72,6 +73,7 @@ declare global {
7273
const AppNotAllowed: typeof import('./../components/AppNotAllowed/index.vue')['default']
7374
const AppNotSupportedMobile: typeof import('./../components/AppNotSupportedMobile/index.vue')['default']
7475
const AppSystemInfo: typeof import('./../components/AppSystemInfo/index.vue')['default']
76+
const FaAlert: typeof import('@fantastic-admin/components')['FaAlert']
7577
const FaAvatar: typeof import('@fantastic-admin/components')['FaAvatar']
7678
const FaButton: typeof import('@fantastic-admin/components')['FaButton']
7779
const FaButtonGroup: typeof import('@fantastic-admin/components')['FaButtonGroup']

‎apps/core/src/types/components.d.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ declare module 'vue' {
1919
AppNotAllowed: typeof import('./../components/AppNotAllowed/index.vue')['default']
2020
AppNotSupportedMobile: typeof import('./../components/AppNotSupportedMobile/index.vue')['default']
2121
AppSystemInfo: typeof import('./../components/AppSystemInfo/index.vue')['default']
22+
FaAlert: typeof import('@fantastic-admin/components')['FaAlert']
2223
FaAvatar: typeof import('@fantastic-admin/components')['FaAvatar']
2324
FaButton: typeof import('@fantastic-admin/components')['FaButton']
2425
FaButtonGroup: typeof import('@fantastic-admin/components')['FaButtonGroup']
@@ -72,6 +73,7 @@ declare global {
7273
const AppNotAllowed: typeof import('./../components/AppNotAllowed/index.vue')['default']
7374
const AppNotSupportedMobile: typeof import('./../components/AppNotSupportedMobile/index.vue')['default']
7475
const AppSystemInfo: typeof import('./../components/AppSystemInfo/index.vue')['default']
76+
const FaAlert: typeof import('@fantastic-admin/components')['FaAlert']
7577
const FaAvatar: typeof import('@fantastic-admin/components')['FaAvatar']
7678
const FaButton: typeof import('@fantastic-admin/components')['FaButton']
7779
const FaButtonGroup: typeof import('@fantastic-admin/components')['FaButtonGroup']

‎apps/example/src/router/modules/component.example.ts‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ const routes: RouteRecordRaw = {
1313
icon: 'i-bx:bxs-component',
1414
},
1515
children: [
16+
{
17+
path: 'alert',
18+
name: 'componentExampleAlert',
19+
component: () => import('@/views/component_example/alert/index.vue'),
20+
meta: {
21+
title: '提示',
22+
},
23+
},
1624
{
1725
path: 'avatar',
1826
name: 'componentExampleAvatar',

‎apps/example/src/types/components.d.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ declare module 'vue' {
1919
AppNotAllowed: typeof import('./../components/AppNotAllowed/index.vue')['default']
2020
AppNotSupportedMobile: typeof import('./../components/AppNotSupportedMobile/index.vue')['default']
2121
AppSystemInfo: typeof import('./../components/AppSystemInfo/index.vue')['default']
22+
FaAlert: typeof import('@fantastic-admin/components')['FaAlert']
2223
FaAvatar: typeof import('@fantastic-admin/components')['FaAvatar']
2324
FaButton: typeof import('@fantastic-admin/components')['FaButton']
2425
FaButtonGroup: typeof import('@fantastic-admin/components')['FaButtonGroup']
@@ -72,6 +73,7 @@ declare global {
7273
const AppNotAllowed: typeof import('./../components/AppNotAllowed/index.vue')['default']
7374
const AppNotSupportedMobile: typeof import('./../components/AppNotSupportedMobile/index.vue')['default']
7475
const AppSystemInfo: typeof import('./../components/AppSystemInfo/index.vue')['default']
76+
const FaAlert: typeof import('@fantastic-admin/components')['FaAlert']
7577
const FaAvatar: typeof import('@fantastic-admin/components')['FaAvatar']
7678
const FaButton: typeof import('@fantastic-admin/components')['FaButton']
7779
const FaButtonGroup: typeof import('@fantastic-admin/components')['FaButtonGroup']
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<template>
2+
<FaAlert
3+
icon="i-lucide:info"
4+
title="提示信息"
5+
description="这是一条普通提示,用于展示页面说明或操作反馈。"
6+
/>
7+
</template>

0 commit comments

Comments
 (0)