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 5d829a6d
authored
Jun 09, 2024
by
vben
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
chore: add offline page
1 parent
640ad6d9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
165 additions
and
18 deletions
apps/web-antd/package.json
apps/web-antd/src/router/routes/modules/fallback.ts
apps/web-antd/src/views/_essential/fallback/offline.vue
internal/lint-configs/eslint-config/package.json
internal/lint-configs/prettier-config/package.json
internal/tailwind-config/package.json
packages/@core/forward/preferences/package.json
packages/@core/uikit/layout-ui/package.json
packages/@core/uikit/menu-ui/package.json
packages/@core/uikit/shadcn-ui/package.json
packages/business/common-ui/package.json
packages/business/common-ui/src/fallback/fallback.ts
packages/business/common-ui/src/fallback/fallback.vue
packages/business/common-ui/src/fallback/icons/icon-offline.vue
packages/business/common-ui/src/fallback/icons/warning.svg
packages/locales/src/langs/en-US.yaml
packages/locales/src/langs/zh-CN.yaml
pnpm-lock.yaml
apps/web-antd/package.json
View file @
5d829a6
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
"@vben/styles"
:
"workspace:*"
,
"@vben/styles"
:
"workspace:*"
,
"@vben/types"
:
"workspace:*"
,
"@vben/types"
:
"workspace:*"
,
"@vben/utils"
:
"workspace:*"
,
"@vben/utils"
:
"workspace:*"
,
"@vueuse/core"
:
"^10.1
0.1
"
,
"@vueuse/core"
:
"^10.1
1.0
"
,
"ant-design-vue"
:
"^4.2.3"
,
"ant-design-vue"
:
"^4.2.3"
,
"axios"
:
"^1.7.2"
,
"axios"
:
"^1.7.2"
,
"dayjs"
:
"^1.11.11"
,
"dayjs"
:
"^1.11.11"
,
...
...
apps/web-antd/src/router/routes/modules/fallback.ts
View file @
5d829a6
...
@@ -42,6 +42,15 @@ const routes: RouteRecordRaw[] = [
...
@@ -42,6 +42,15 @@ const routes: RouteRecordRaw[] = [
title
:
'500'
,
title
:
'500'
,
},
},
},
},
{
name
:
'FallbackOffline'
,
path
:
'offline'
,
component
:
()
=>
import
(
'@/views/_essential/fallback/offline.vue'
),
meta
:
{
icon
:
'mdi:offline'
,
title
:
$t
(
'fallback.offline'
),
},
},
],
],
},
},
];
];
...
...
apps/web-antd/src/views/_essential/fallback/offline.vue
0 → 100644
View file @
5d829a6
<
script
lang=
"ts"
setup
>
import
{
Fallback
}
from
'@vben/common-ui'
;
</
script
>
<
template
>
<Fallback
status=
"offline"
/>
</
template
>
internal/lint-configs/eslint-config/package.json
View file @
5d829a6
...
@@ -41,11 +41,11 @@
...
@@ -41,11 +41,11 @@
"eslint-config-prettier"
:
"^9.1.0"
,
"eslint-config-prettier"
:
"^9.1.0"
,
"eslint-plugin-eslint-comments"
:
"^3.2.0"
,
"eslint-plugin-eslint-comments"
:
"^3.2.0"
,
"eslint-plugin-i"
:
"^2.29.1"
,
"eslint-plugin-i"
:
"^2.29.1"
,
"eslint-plugin-jsdoc"
:
"^48.2.
9
"
,
"eslint-plugin-jsdoc"
:
"^48.2.
11
"
,
"eslint-plugin-jsonc"
:
"^2.16.0"
,
"eslint-plugin-jsonc"
:
"^2.16.0"
,
"eslint-plugin-n"
:
"^17.
8.1
"
,
"eslint-plugin-n"
:
"^17.
9.0
"
,
"eslint-plugin-no-only-tests"
:
"^3.1.0"
,
"eslint-plugin-no-only-tests"
:
"^3.1.0"
,
"eslint-plugin-perfectionist"
:
"^2.1
0
.0"
,
"eslint-plugin-perfectionist"
:
"^2.1
1
.0"
,
"eslint-plugin-prettier"
:
"^5.1.3"
,
"eslint-plugin-prettier"
:
"^5.1.3"
,
"eslint-plugin-regexp"
:
"^2.6.0"
,
"eslint-plugin-regexp"
:
"^2.6.0"
,
"eslint-plugin-unicorn"
:
"^53.0.0"
,
"eslint-plugin-unicorn"
:
"^53.0.0"
,
...
...
internal/lint-configs/prettier-config/package.json
View file @
5d829a6
...
@@ -32,6 +32,6 @@
...
@@ -32,6 +32,6 @@
},
},
"dependencies"
:
{
"dependencies"
:
{
"prettier"
:
"3.3.0"
,
"prettier"
:
"3.3.0"
,
"prettier-plugin-tailwindcss"
:
"^0.6.
3
"
"prettier-plugin-tailwindcss"
:
"^0.6.
4
"
}
}
}
}
internal/tailwind-config/package.json
View file @
5d829a6
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
"tailwindcss"
:
"^3.4.3"
"tailwindcss"
:
"^3.4.3"
},
},
"dependencies"
:
{
"dependencies"
:
{
"@iconify/json"
:
"^2.2.21
8
"
,
"@iconify/json"
:
"^2.2.21
9
"
,
"@iconify/tailwind"
:
"^1.1.1"
,
"@iconify/tailwind"
:
"^1.1.1"
,
"@tailwindcss/forms"
:
"^0.5.7"
,
"@tailwindcss/forms"
:
"^0.5.7"
,
"@tailwindcss/nesting"
:
"0.0.0-insiders.565cd3e"
,
"@tailwindcss/nesting"
:
"0.0.0-insiders.565cd3e"
,
...
...
packages/@core/forward/preferences/package.json
View file @
5d829a6
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
"@vben-core/helpers"
:
"workspace:*"
,
"@vben-core/helpers"
:
"workspace:*"
,
"@vben-core/toolkit"
:
"workspace:*"
,
"@vben-core/toolkit"
:
"workspace:*"
,
"@vben-core/typings"
:
"workspace:*"
,
"@vben-core/typings"
:
"workspace:*"
,
"@vueuse/core"
:
"^10.1
0.1
"
,
"@vueuse/core"
:
"^10.1
1.0
"
,
"vue"
:
"3.4.27"
"vue"
:
"3.4.27"
}
}
}
}
packages/@core/uikit/layout-ui/package.json
View file @
5d829a6
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
"@vben-core/iconify"
:
"workspace:*"
,
"@vben-core/iconify"
:
"workspace:*"
,
"@vben-core/shadcn-ui"
:
"workspace:*"
,
"@vben-core/shadcn-ui"
:
"workspace:*"
,
"@vben-core/typings"
:
"workspace:*"
,
"@vben-core/typings"
:
"workspace:*"
,
"@vueuse/core"
:
"^10.1
0.1
"
,
"@vueuse/core"
:
"^10.1
1.0
"
,
"vue"
:
"3.4.27"
"vue"
:
"3.4.27"
}
}
}
}
packages/@core/uikit/menu-ui/package.json
View file @
5d829a6
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
"@vben-core/shadcn-ui"
:
"workspace:*"
,
"@vben-core/shadcn-ui"
:
"workspace:*"
,
"@vben-core/toolkit"
:
"workspace:*"
,
"@vben-core/toolkit"
:
"workspace:*"
,
"@vben-core/typings"
:
"workspace:*"
,
"@vben-core/typings"
:
"workspace:*"
,
"@vueuse/core"
:
"^10.1
0.1
"
,
"@vueuse/core"
:
"^10.1
1.0
"
,
"vue"
:
"3.4.27"
"vue"
:
"3.4.27"
}
}
}
}
packages/@core/uikit/shadcn-ui/package.json
View file @
5d829a6
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
"@vben-core/iconify"
:
"workspace:*"
,
"@vben-core/iconify"
:
"workspace:*"
,
"@vben-core/toolkit"
:
"workspace:*"
,
"@vben-core/toolkit"
:
"workspace:*"
,
"@vben-core/typings"
:
"workspace:*"
,
"@vben-core/typings"
:
"workspace:*"
,
"@vueuse/core"
:
"^10.1
0.1
"
,
"@vueuse/core"
:
"^10.1
1.0
"
,
"class-variance-authority"
:
"^0.7.0"
,
"class-variance-authority"
:
"^0.7.0"
,
"clsx"
:
"2.1.1"
,
"clsx"
:
"2.1.1"
,
"radix-vue"
:
"^1.8.3"
,
"radix-vue"
:
"^1.8.3"
,
...
...
packages/business/common-ui/package.json
View file @
5d829a6
...
@@ -50,8 +50,8 @@
...
@@ -50,8 +50,8 @@
"@vben-core/shadcn-ui"
:
"workspace:*"
,
"@vben-core/shadcn-ui"
:
"workspace:*"
,
"@vben-core/toolkit"
:
"workspace:*"
,
"@vben-core/toolkit"
:
"workspace:*"
,
"@vben/locales"
:
"workspace:*"
,
"@vben/locales"
:
"workspace:*"
,
"@vueuse/core"
:
"^10.1
0.1
"
,
"@vueuse/core"
:
"^10.1
1.0
"
,
"@vueuse/integrations"
:
"^10.1
0.1
"
,
"@vueuse/integrations"
:
"^10.1
1.0
"
,
"qrcode"
:
"^1.5.3"
,
"qrcode"
:
"^1.5.3"
,
"vue"
:
"3.4.27"
,
"vue"
:
"3.4.27"
,
"vue-router"
:
"^4.3.3"
"vue-router"
:
"^4.3.3"
...
...
packages/business/common-ui/src/fallback/fallback.ts
View file @
5d829a6
...
@@ -22,7 +22,7 @@ interface FallbackProps {
...
@@ -22,7 +22,7 @@ interface FallbackProps {
/**
/**
* @zh_CN 内置类型
* @zh_CN 内置类型
*/
*/
status
?:
'403'
|
'404'
|
'500'
;
status
?:
'403'
|
'404'
|
'500'
|
'offline'
;
/**
/**
* @zh_CN 页面提示语
* @zh_CN 页面提示语
*/
*/
...
...
packages/business/common-ui/src/fallback/fallback.vue
View file @
5d829a6
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
>
import
type
{
FallbackProps
}
from
'./fallback'
;
import
type
{
FallbackProps
}
from
'./fallback'
;
import
{
computed
}
from
'vue'
;
import
{
computed
,
defineAsyncComponent
}
from
'vue'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
$t
}
from
'@vben/locales'
;
import
{
$t
}
from
'@vben/locales'
;
import
{
IcRoundArrowBackIosNew
}
from
'@vben-core/iconify'
;
import
{
IcRoundArrowBackIosNew
}
from
'@vben-core/iconify'
;
import
{
VbenButton
}
from
'@vben-core/shadcn-ui'
;
import
{
VbenButton
}
from
'@vben-core/shadcn-ui'
;
import
Icon403
from
'./icons/icon-403.vue'
;
import
Icon404
from
'./icons/icon-404.vue'
;
import
Icon500
from
'./icons/icon-500.vue'
;
interface
Props
extends
FallbackProps
{}
interface
Props
extends
FallbackProps
{}
defineOptions
({
defineOptions
({
...
@@ -27,6 +23,13 @@ const props = withDefaults(defineProps<Props>(), {
...
@@ -27,6 +23,13 @@ const props = withDefaults(defineProps<Props>(), {
title
:
''
,
title
:
''
,
});
});
const
Icon403
=
defineAsyncComponent
(()
=>
import
(
'./icons/icon-403.vue'
));
const
Icon404
=
defineAsyncComponent
(()
=>
import
(
'./icons/icon-404.vue'
));
const
Icon500
=
defineAsyncComponent
(()
=>
import
(
'./icons/icon-500.vue'
));
const
IconOffline
=
defineAsyncComponent
(
()
=>
import
(
'./icons/icon-offline.vue'
),
);
const
titleText
=
computed
(()
=>
{
const
titleText
=
computed
(()
=>
{
if
(
props
.
title
)
{
if
(
props
.
title
)
{
return
props
.
title
;
return
props
.
title
;
...
@@ -39,6 +42,9 @@ const titleText = computed(() => {
...
@@ -39,6 +42,9 @@ const titleText = computed(() => {
case
'500'
:
{
case
'500'
:
{
return
$t
(
'fallback.internal-error'
);
return
$t
(
'fallback.internal-error'
);
}
}
case
'offline'
:
{
return
$t
(
'fallback.offline-error'
);
}
default
:
{
default
:
{
return
$t
(
'fallback.page-not-found'
);
return
$t
(
'fallback.page-not-found'
);
}
}
...
@@ -56,6 +62,9 @@ const descText = computed(() => {
...
@@ -56,6 +62,9 @@ const descText = computed(() => {
case
'500'
:
{
case
'500'
:
{
return
$t
(
'fallback.internal-error-desc'
);
return
$t
(
'fallback.internal-error-desc'
);
}
}
case
'offline'
:
{
return
$t
(
'fallback.offline-error-desc'
);
}
default
:
{
default
:
{
return
$t
(
'fallback.page-not-found-desc'
);
return
$t
(
'fallback.page-not-found-desc'
);
}
}
...
@@ -70,6 +79,9 @@ const fallbackIcon = computed(() => {
...
@@ -70,6 +79,9 @@ const fallbackIcon = computed(() => {
case
'500'
:
{
case
'500'
:
{
return
Icon500
;
return
Icon500
;
}
}
case
'offline'
:
{
return
IconOffline
;
}
default
:
{
default
:
{
return
Icon404
;
return
Icon404
;
}
}
...
...
packages/business/common-ui/src/fallback/icons/icon-offline.vue
0 → 100644
View file @
5d829a6
<
template
>
<svg
height=
"458.68642"
viewBox=
"0 0 656 458.68642"
width=
"656"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<rect
fill=
"#3f3d56"
height=
"2"
width=
"656"
y=
"434.34322"
/>
<g>
<path
d=
"M471.97092,210.81397c-6.0733-36.41747-37.72842-64.16942-75.86423-64.16942H240.14931c-38.12099,0-69.76869,27.72972-75.86421,64.12497-.70358,4.16241-1.06653,8.44331-1.06653,12.80573v135.88599c0,4.36237,.36295,8.63589,1.06653,12.79831,4.85126,28.99625,25.92996,52.49686,53.58563,60.84393,7.05095,2.13306,14.53143,3.28104,22.27859,3.28104h155.9574c7.74716,0,15.22763-1.14798,22.27859-3.28104,27.66309-8.35449,48.74921-31.86993,53.58563-60.88837,.6962-4.14758,1.05911-8.40628,1.05911-12.75388V223.57525c0-4.34758-.36292-8.61369-1.05911-12.76128h-.00003Zm-62.66592,222.28954c-4.2883,.76285-8.69516,1.16281-13.19827,1.16281H240.14931c-4.50313,0-8.90997-.39999-13.19829-1.16281-35.01768-6.22885-61.60677-36.83228-61.60677-73.64224v-45.10526c0-127.45004,103.31242-165.58582,230.76244-165.58582,41.31314,0,74.80505,33.49194,74.80505,74.80505v135.88599c-100.29059,13.42047-26.58911,67.41339-61.60678,73.64224l.00003,.00003Z"
fill=
"#3f3d56"
/>
<polygon
fill=
"hsl(var(--color-primary))"
points=
"349.16196 249.18644 355.16196 288.18642 443.16196 276.18642 434.66196 230.6195 349.16196 249.18644"
/>
<rect
fill=
"#2f2e41"
height=
"37.66125"
width=
"36.38461"
x=
"381.84177"
y=
"30.34218"
/>
<polygon
fill=
"#ffb6b6"
points=
"385.16196 70.18643 394.16196 43.18643 411.70447 43.18643 412.62653 70.18643 385.16196 70.18643"
/>
<polygon
isolation=
"isolate"
opacity=
".1"
points=
"385.16196 70.18643 394.16196 43.18643 411.70447 43.18643 412.62653 70.18643 385.16196 70.18643"
/>
<path
d=
"M394.66196,310.68642l-1,104-1,8v11.48425l15,1.51575,1-23s16-45,12-80-2-25-2-25l-24,3Z"
fill=
"#ffb6b6"
/>
<path
d=
"M404.18408,318.85363l-36.90134,97.23831-1.97873,7.81567-4.1777,10.69742-14.52368-4.04477,7.43539-21.78796s1.46619-47.7373,17.92432-78.88422,10.9574-22.5596,10.9574-22.5596l21.26434,11.52512v.00003Z"
fill=
"#ffb6b6"
/>
<path
d=
"M385.16196,67.18643l-27,12,17.23959,89.01208-2.72385,127.75565-18,38s-3.01575,21.73227,27.98425,7.73227,66-18,66-18l-8.5-58.5-7.5-153.5,1-34-22-14s-26.5,3.5-26.5,3.50001Z"
fill=
"#2f2e41"
/>
<path
d=
"M370.1243,335.34322l-29.96231-50.15677,34.23959-116.98792-16.23959-89.01208,28.49045-12.19685s14.74915,14.36248,14.74915,26.20894-31.27728,242.1447-31.27728,242.1447v-.00003Z"
fill=
"#e6e6e6"
/>
<path
d=
"M435.1243,325.34322l-27.19693-233.62811c-.34341-2.94999,.16013-5.93678,1.45178-8.6111l7.78284-16.11441,30.5,8.69685-12.26041,95.51208,32.76041,93.98792-33.03769,60.15677Z"
fill=
"#e6e6e6"
/>
<path
d=
"M410.66196,433.68642s-19-11-21-5-3,11-3,11c0,0-5,19,10,19s14-8.64172,14-8.64172v-16.35828Z"
fill=
"#2f2e41"
/>
<path
d=
"M344.53574,427.60598s21.69977-3.33459,21.3801,2.9819c-.3197,6.31647-1.20709,11.33768-1.20709,11.33768,0,0-2.25433,19.51712-16.22662,14.06046s-9.89713-13.14252-9.89713-13.14252l5.95078-15.23749-.00003-.00003Z"
fill=
"#2f2e41"
/>
<circle
cx=
"404.10297"
cy=
"33.02146"
fill=
"#ffb6b6"
r=
"24.85993"
/>
<path
d=
"M423.96469,10.86766c-1.15707-6.12936-7.44913-10.27514-13.66504-10.79501s-12.30453,1.82726-17.90228,4.57921c-3.79456,1.86548-7.53061,3.96811-10.60425,6.87182s-5.46063,6.69692-6.01202,10.88913c-.19507,1.48324-.1698,3.03289-.77692,4.40016-.75845,1.708-2.38654,2.86795-3.36917,4.4576-1.76227,2.85096-.95267,6.99858,1.75238,8.97753-3.40024,1.44912-6.89398,2.96069-9.48602,5.59563s-4.08878,6.70308-2.66644,10.11462c.50323,1.20699,1.33481,2.26349,1.76489,3.49843,.81668,2.34499,.03943,5.00909-1.40924,7.02585s-3.49316,3.51228-5.50174,4.97226c5.16196,1.01177,10.43097,1.80015,15.66992,1.32811s10.49707-2.30805,14.29086-5.95176c3.79379-3.64371,5.88083-9.26437,4.51974-14.34539-1.04269-3.89231-3.95898-7.30301-3.95712-11.33256,.00143-3.09747,1.7431-5.89158,3.4249-8.49271,3.67291-5.68066,7.34579-11.36132,11.01868-17.04197,.66068-1.02183,1.35739-2.07924,2.4014-2.70425,1.77606-1.06326,4.0798-.59568,5.95227,.28683,1.87244,.88252,3.58304,2.14867,5.57941,2.69585,4.07452,1.11677,8.80106-1.44789,10.08575-5.47261"
fill=
"#2f2e41"
/>
<path
d=
"M409.27951,61.42523c-2.07159,2.0061-5.05701,2.65225-7.82379,3.46516s-5.70978,2.09141-6.95499,4.69243c-1.22101,2.55043-.33459,5.78793,1.68692,7.76505s4.95816,2.80999,7.78555,2.77077c2.82736-.03922,5.58282-.86796,8.24176-1.8301,7.27054-2.63087,14.15665-6.32148,20.37314-10.919-4.02679-1.11411-6.66107-5.81614-5.50836-9.83205,.93768-3.26677,3.80499-5.54528,5.75616-8.32809,3.35959-4.79151,3.91925-11.10753,2.80676-16.85277-1.11246-5.74524-3.73163-11.07097-6.32358-16.3176-.81934-1.65853-1.65805-3.34513-2.93619-4.68245-1.27814-1.33731-3.08783-2.29539-4.92776-2.10379-3.05334,.31795-5.00302,3.66989-5.02377,6.7397s1.32593,5.95491,2.34732,8.84988c1.05231,2.98259,1.78381,6.14409,1.50146,9.29425-.2366,2.63989-1.19669,5.21132-2.74811,7.36029-1.19809,1.65954-2.72479,3.05223-4.0275,4.63097-1.00714,1.22055-1.90009,2.60309-2.16486,4.16321-.48181,2.83914,1.18356,5.71186,.72714,8.55519-.48248,3.0056-3.6452,5.3067-6.65341,4.84085"
fill=
"#2f2e41"
/>
<g>
<circle
cx=
"333.2486"
cy=
"323.64455"
fill=
"hsl(var(--color-primary))"
r=
"85"
/>
<g>
<path
d=
"M384.17838,316.82296h-10.56668c-1.64377-9.68713-6.7168-18.46011-14.2923-24.71729-17.43427-14.39993-43.24109-11.94022-57.64099,5.49411-.04913,.05563-.09644,.11282-.14169,.17151-1.15063,1.49146-.87427,3.63333,.61716,4.784,1.49118,1.1507,3.63306,.87448,4.78394-.61697,6.25537-7.5788,15.72369-12.40167,26.31064-12.40167,16.20853,.00195,30.17899,11.40631,33.42572,27.28629h-9.31805c-.3988,.00012-.78458,.13992-1.09082,.39502-.72375,.60281-.82175,1.6781-.21915,2.40186l13.41125,16.09894c.06577,.07889,.13855,.1517,.21759,.21747,.72324,.60327,1.79871,.50583,2.40186-.21747l13.41125-16.09894c.25504-.30624,.3949-.69223,.39514-1.09082,.00027-.94186-.763-1.70566-1.70486-1.70605v.00003Z"
fill=
"#fff"
/>
<path
d=
"M364.34329,344.7337c-1.49146-1.15063-3.63333-.87433-4.78394,.6171-4.96201,6.00781-11.83066,10.13629-19.46436,11.69922-18.46167,3.77988-36.49231-8.12213-40.27225-26.58392h9.3183c.94186-.0004,1.70514-.76419,1.70486-1.70605-.00027-.39853-.14011-.78452-.39514-1.09082l-13.41125-16.09888c-.60312-.72336-1.67862-.8208-2.40186-.21753-.07904,.06577-.15182,.13855-.21759,.21753l-13.41125,16.09888c-.6026,.72375-.50461,1.7991,.21915,2.40186,.30624,.25516,.69205,.3949,1.09082,.39502h10.56641c1.64404,9.68723,6.7168,18.46011,14.29254,24.71729,17.43427,14.39999,43.24109,11.94022,57.64099-5.49405,.04913-.05569,.09619-.11295,.14142-.17163,1.15088-1.49146,.87454-3.63327-.61691-4.784h.00006Z"
fill=
"#fff"
/>
</g>
</g>
<path
id=
"uuid-da16df1e-5659-4232-96f6-61e8c639a9ec-574"
d=
"M356.98148,237.19363c-1.02939,7.36621-5.66458,12.80598-10.35239,12.15012-4.68781-.65588-7.65225-7.15837-6.62149-14.52707,.37137-2.94914,1.4436-5.76646,3.12701-8.21626l4.75577-31.15587,14.57297,2.54338-6.23553,30.44414c.94736,2.81844,1.20581,5.82278,.75369,8.76157h-.00003Z"
fill=
"#ffb6b6"
/>
<path
d=
"M369.66196,77.68643s-15-5-17,13-4,39.99999-4,39.99999c0,0-9,21-5,32s11,3.3307,4,12.66534-6.02478,40.04724-6.02478,40.04724l22.52478-1.13387s12.5-82.57875,12.5-84.57875-7-52-7-52v.00004Z"
fill=
"#e6e6e6"
/>
<g>
<path
id=
"uuid-6bf35aa9-e432-4b51-af77-8f4eb19e6e42-575"
d=
"M467.16132,233.84998c.27881,7.43257-3.33017,13.60114-8.06033,13.7778s-8.78937-5.70491-9.06732-13.14017c-.15176-2.96857,.40961-5.93028,1.63712-8.63741l-.78369-31.507,14.79315-.05261-.798,31.0659c1.42709,2.60854,2.20859,5.52095,2.27905,8.49347l.00003,.00002Z"
fill=
"#ffb6b6"
/>
<path
d=
"M444.06961,77.34876s15.08694-4.73121,16.76505,13.30165,3.28473,51.06508,3.28473,51.06508c0,0,8.62338,21.15744,4.42749,32.08421s-11.05774,3.13365-4.22565,12.59187c6.83212,9.45822,4.37997,36.13126,4.37997,36.13126l-22.50095-1.53612s-10.09427-78.77167-10.05853-80.77133,7.92792-62.86664,7.92792-62.86664l-.00003,.00002Z"
fill=
"#e6e6e6"
/>
</g>
</g>
</svg>
</
template
>
packages/business/common-ui/src/fallback/icons/warning.svg
0 → 100644
View file @
5d829a6
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"524.67001"
height=
"418.27099"
viewBox=
"0 0 524.67001 418.27099"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
><path
d=
"M442.17403,400.47713c2.06599,.12871,3.20692-2.43846,1.64338-3.93389l-.1557-.61814c.0204-.04935,.04089-.09868,.06153-.14794,1.23211-2.94003,4.62545-4.33201,7.57137-3.11404,9.3142,3.85087-.51966,12.69986,.21957,18.68773,.25911,2.06671,8.35473,2.18034,7.89681,4.2086,4.30482-9.41207,6.56835-19.68889,6.56478-30.02306-.0009-2.59653-.14392-5.19297-.43543-7.78281-.23975-2.11845-.56985-4.22389-.9969-6.30999-2.30966-11.27639-7.30614-22.01572-14.51084-30.98461-3.46263-1.89129-1.35074-4.85018-3.09586-8.39544-.62694-1.27868-6.21792-1.30745-6.45092-2.70892,.25019,.03272,3.86434-3.721,2.6705-5.5767-.78555-1.22107-.54106-2.7763,.4681-3.82017,.09887-.1023,.19234-.2103,.27796-.32648,2.98093-4.04443,7.09003-3.33985,9.23695,2.15406,4.58304,2.31107,4.62871,6.14647,1.81834,9.83619-1.78798,2.34745-2.03264,5.52304-3.60129,8.03604,.16157,.20664,.32958,.40684,.49112,.61348,2.96237,3.79686,5.52482,7.87809,7.68524,12.16592-.61182-4.76599,.28705-10.50831,1.8215-14.21023,1.75933-4.24835,5.06953-7.8221,7.96883-11.49665,3.46275-4.38865,10.5104-2.39707,11.12286,3.15951,.00588,.05337,.0116,.10665,.01724,.16003-.42884,.24212-.84895,.49935-1.25929,.77094-2.33882,1.54808-1.52824,5.17442,1.24391,5.60071l.06278,.00965c-.1545,1.54372-5.63258,6.40679-6.01957,7.91187,3.70514,14.30838,.93282,16.19755-10.46624,16.43703l-.59825,.8522c1.08024,3.1058,1.94956,6.2861,2.60235,9.50743,.61462,2.99021,1.042,6.01282,1.28197,9.04845,.29847,3.82994,.27396,7.6795-.04769,11.50325l.01933-.13563c.81879-4.21143,3.1039-8.1457,6.42284-10.87249,4.94421-4.06436,11.93091-5.56281,17.2652-8.83022,2.56778-1.57285,5.85959,.45742,5.41241,3.4352l-.02177,.14262c-.79432,.32315-1.56922,.69808-2.31831,1.11814-.42921,.24237-.84965,.49978-1.26032,.77165-2.33916,1.54848-1.52796,5.1753,1.24498,5.60009l.06281,.00962c.0452,.00645,.08399,.01291,.12913,.0194-1.3617,3.23628-14.33553,7.80147-16.71149,10.39229-2.31031,12.49793-1.17531,12.12596-11.81075,8.49032h-.00647c-1.16085,5.06419-2.8578,10.01225-5.03931,14.72794l-18.0202,.00623c-.06471-.2002-.12288-.40688-.18109-.60712,1.66645,.10285,3.34571,.00534,4.98619-.29875-1.33757-1.64013-2.67509-3.29317-4.01266-4.93324-.0323-.03228-.05819-.06459-.08402-.09686l-.02036-.02517-1.85532-6.10724c.14644-1.35476,.38536-2.69828,.70958-4.02051l.00049-.00037v.00006Z"
fill=
"#f2f2f2"
/><path
d=
"M251.74443,416.41995l-159.45702,.05516c-8.01074,.00277-15.18649-4.13684-19.19426-11.07295-2.00413-3.46855-3.00642-7.27337-3.00774-11.07904-.00132-3.80518,.99882-7.61119,3.00007-11.08063l79.67786-145.04905c4.00346-6.93937,11.17634-11.08346,19.18708-11.08623s15.18649,4.13635,19.19475,11.07295l79.78843,145.01196c1.99876,3.45927,2.99861,7.25971,2.99894,11.06293-.00015,3.80322-.99981,7.60874-3.00154,11.07868-4.00297,6.93889-11.17585,11.08346-19.1866,11.08623h.00002Zm-179.65463-22.09948c-.00026,3.46387,17.5953-4.00023,19.41817-.8451,3.64623,6.31026-6.50934,21.00225,.77874,20.99973,0,0,173.27016-3.828,176.91202-10.14078,1.82069-3.15639,2.73062-6.61911,2.72942-10.08102s-.91353-6.92351-2.73688-10.07864l-79.78845-145.01196c-3.63597-6.2922-10.16364-10.05801-17.45172-10.05549-7.28467,.00252-99.86105,161.74891-99.86132,165.21326h.00002Z"
fill=
"#3f3d56"
/><path
d=
"M253.51521,414.41934c-1.99862,4.00069,91.61376,2.7712,92.72051,2.77082,0,0,26.3119-.58131,26.86492-1.53993,.27648-.47931,.41466-1.00515,.41448-1.53084s-.13873-1.05137-.4156-1.5305l-12.11626-22.02074c-.55215-.9555-1.54341-1.52736-2.65013-1.52698-.04608,.00002-.11394,.04093-.20168,.11933-16.16328,14.44385-36.0828,23.99237-57.75707,24.31469-23.047,.34272-46.73217,.6899-46.85919,.94416h.00002Z"
fill=
"#3f3d56"
/><path
d=
"M0,417.0814c.00023,.66003,.53044,1.18982,1.19047,1.18959l522.28995-.18066c.65997-.00023,1.18982-.53038,1.18959-1.19041-.00023-.65997-.53044-1.18982-1.19041-1.18959l-522.28995,.18066c-.66003,.00023-1.18988,.53044-1.18965,1.19041Z"
fill=
"#ccc"
/><g><polygon
points=
"403.87773 411.30541 394.83299 411.30765 390.51828 376.42194 403.86746 376.41823 403.87773 411.30541"
fill=
"#a0616a"
/><path
d=
"M372.88925,411.11096h0c-.28145,.4744-.42951,2.00528-.42932,2.55685h0c.00059,1.6954,1.37542,3.06935,3.07089,3.06876l28.01047-.00969c1.15659-.0004,2.09391-.93832,2.09351-2.09496l-.0004-1.16617s1.38444-3.50542-1.46987-7.82444c0,0-3.54448,3.38386-8.84444-1.91244l-1.56336-2.82981-11.30656,8.27506-6.26838,.77377c-1.3714,.16927-2.58738-.02532-3.29241,1.16307h-.00012Z"
fill=
"#2f2e41"
/></g><g><polygon
points=
"369.19708 381.46752 360.62951 384.36642 345.36911 352.70019 358.01396 348.42131 369.19708 381.46752"
fill=
"#a0616a"
/><path
d=
"M339.77867,391.20807h0c-.11468,.53956,.23535,2.03724,.41217,2.5597h0c.54355,1.60589,2.28601,2.46714,3.89196,1.92358l26.53193-8.98019c1.09554-.3708,1.68312-1.55951,1.31228-2.65512l-.37389-1.10461s.18882-3.76416-3.8984-6.94155c0,0-2.27401,4.34084-8.99107,1.02096l-2.38732-2.18005-8.0607,11.46034-5.69037,2.74062c-1.24494,.59958-2.45919,.80471-2.74651,2.15628l-.00009,.00003Z"
fill=
"#2f2e41"
/></g><polygon
points=
"355.22599 179.09003 337.68255 237.19081 316.97199 289.45207 349.76053 364.08569 361.91802 358.67731 347.37062 290.11706 377.87822 243.59436 392.11437 388.82623 404.27349 388.14652 420.76309 212.84336 423.11421 174.67566 355.22599 179.09003"
fill=
"#2f2e41"
/><path
d=
"M408.20979,50.38513l-25.66813,4.73752-2.02258,11.48454-15.53439,7.43609-8.07702,84.4428s-13.50433,17.56819-2.69414,22.96862l68.9007-6.77904s3.37327-12.4903-.00473-13.67529-3.38832-31.01955-3.38832-31.01955l15.51573-61.36599-22.97048-8.09829-4.05664-10.13141Z"
fill=
"#e6e6e6"
/><circle
cx=
"393.06995"
cy=
"29.43589"
r=
"20.7276"
fill=
"#a0616a"
/><path
d=
"M406.79605,32.51227c-1.65401,.9055-.08471,5.22869-1.11848,5.60245-1.19492,.43202-5.55162-4.52715-5.60554-10.08176-.01633-1.68115,.37051-2.48839-.00155-4.48164-.48668-2.6073-1.98045-5.68253-3.36317-5.60089-.81965,.04839-1.62013,1.20723-1.67986,2.2414-.0837,1.44941,1.32419,2.01989,1.12139,2.80064-.38627,1.4871-6.29829,2.5138-8.40308,.00291-1.65013-1.9685-.38463-5.4247-1.12236-5.60167-.54378-.13045-1.12759,1.77241-3.35988,3.9226-.84103,.8101-2.09186,2.0149-2.80044,1.68159-1.02397-.48167-.28003-3.87624-.56157-3.92125-.23314-.03727-.37947,2.3487-1.67908,4.48223-1.66968,2.74103-5.11398,4.85374-6.72112,3.92377-.98466-.56978-1.06245-2.15606-1.12158-3.36084-.1245-2.53816-3.81308-8.37644-2.85882-11.09166,1.94221-5.5263,5.2701-1.63078,6.7752-3.47504,2.03756-2.49669,3.86572-1.15434,7.28133-3.92396,3.33668-2.70564,3.36577-5.42504,5.60011-5.604,2.01221-.16116,2.7278,1.98528,5.04242,1.67887,1.96079-.25957,2.38749-1.92436,3.92087-1.68198,1.40389,.2219,1.49646,1.68849,3.36201,2.23966,1.19101,.35188,1.45267-.15743,2.80103-.00097,2.80559,.32556,4.69002,2.88083,5.043,3.35949,1.36081,1.84526,.83282,2.62341,2.24236,4.48086,1.21555,1.6018,3.90913,.9216,4.92189,1.72162,3.30928,2.61409,4.73124,7.43497,4.75994,12.92962,.0201,3.8431-.48103,5.78482-1.59913,10.63564-.84901,3.6834-4.78175,8.44334-6.94987,10.5659-.58199,.56975-2.21351,2.167-3.36066,1.68178-1.08704-.45979-1.11995-2.52764-1.12139-2.80064-.0049-.93901,.24521-2.1009,2.23907-5.04263,2.09442-3.09006,2.92645-3.44271,2.79948-4.48262-.22445-1.83818-3.16424-3.52123-4.48263-2.79948h.00012Z"
fill=
"#2f2e41"
/><g><path
d=
"M334.49457,225.75979c-.64513,5.40264,1.61895,10.11513,5.05699,10.52567s6.7481-3.63632,7.39324-9.03898c.28242-2.36492,.00723-4.59754-.6797-6.39504l2.44642-22.92684-10.7834-.91891-1.26717,22.69891c-1.09088,1.58522-1.88401,3.69026-2.16639,6.05519h.00003Z"
fill=
"#a0616a"
/><path
d=
"M365.49095,73.49769s-5.58664,.07946-9.28568,7.30383c-1.96565,3.83897-12.48211,75.62767-12.48211,75.62767l-9.68742,58.80847,16.50214,.08313,12.859-55.69302,10.81723-32.30088-8.72315-53.82921Z"
fill=
"#e6e6e6"
/></g><path
d=
"M411.92961,217.13028c-1.58023,5.20651-.17535,10.24237,3.13786,11.24797s7.28015-2.39987,8.86035-7.60638c.69172-2.27906,.81133-4.5254,.44941-6.41533l6.4191-22.14543-10.45641-2.79098-5.21815,22.12729c-1.35133,1.36996-2.50044,3.30383-3.19216,5.58289v-.00003Z"
fill=
"#a0616a"
/><path
d=
"M423.41564,69.63219s8.10413-6.08248,14.86262,3.37246c6.75846,9.45495,9.48742,87.1388,9.48742,87.1388l-18.89796,47.96845-14.18755-4.72373,13.49008-58.7749-23.65861-44.57614,18.90403-30.40494h-.00003Z"
fill=
"#e6e6e6"
/><g><circle
cx=
"218.47958"
cy=
"311.43145"
r=
"73"
fill=
"#6c63ff"
/><g><circle
cx=
"218.49274"
cy=
"349.47878"
r=
"6.70264"
fill=
"#fff"
/><path
d=
"M218.4641,266.68145c-.6157,4.0912,.48747,4.94727,.49357,22.58508,.0061,17.63782,3.66579,41.28574-.47148,41.28717s-5.65047-48.80276-20.01681-53.12218c-16.89088-5.07846,21.98785-23.99409,19.99471-10.75007Z"
fill=
"#fff"
/></g></g><path
d=
"M120.50313,348.70219l-6.59532,13.93527c7.97328-5.71745,20.42715-10.64598,30.3376-13.28567-9.23403-4.46037-20.53313-11.65189-27.2835-18.77194l3.7934,14.72434c-44.47393-9.0585-76.41138-43.17661-76.4249-82.25924l-1.60648-.5527c.01412,40.82281,31.50971,76.96121,77.7792,86.20995Z"
fill=
"#3f3d56"
/></svg>
\ No newline at end of file
\ No newline at end of file
packages/locales/src/langs/en-US.yaml
View file @
5d829a6
...
@@ -21,6 +21,9 @@ fallback:
...
@@ -21,6 +21,9 @@ fallback:
forbidden-desc
:
Sorry, but you don't have permission to access this page.
forbidden-desc
:
Sorry, but you don't have permission to access this page.
internal-error
:
Oops! Something Went Wrong
internal-error
:
Oops! Something Went Wrong
internal-error-desc
:
Sorry, but the server encountered an error.
internal-error-desc
:
Sorry, but the server encountered an error.
offline
:
Offline Page
offline-error
:
Oops! Network Error
offline-error-desc
:
Sorry, can't connect to the internet. Check your connection.
widgets
:
widgets
:
document
:
Document
document
:
Document
...
...
packages/locales/src/langs/zh-CN.yaml
View file @
5d829a6
...
@@ -20,6 +20,9 @@ fallback:
...
@@ -20,6 +20,9 @@ fallback:
forbidden-desc
:
抱歉,您没有权限访问此页面。
forbidden-desc
:
抱歉,您没有权限访问此页面。
internal-error
:
哎呀!出错了
internal-error
:
哎呀!出错了
internal-error-desc
:
抱歉,服务器遇到错误。
internal-error-desc
:
抱歉,服务器遇到错误。
offline
:
离线页面
offline-error
:
哎呀!网络错误
offline-error-desc
:
抱歉,无法连接到互联网,请检查您的网络连接并重试。
widgets
:
widgets
:
document
:
文档
document
:
文档
...
...
pnpm-lock.yaml
View file @
5d829a6
This diff is collapsed.
Click to expand it.
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