fix: 修复管理端前端 lint 与构建问题
- 收敛 easyflow-ui-admin 的 lint、格式和类型问题 - 修正 demo 页面与管理端前端构建失败点 - 验证 pnpm lint 与 pnpm build 均已通过
This commit is contained in:
@@ -114,6 +114,12 @@
|
||||
}
|
||||
|
||||
@layer components {
|
||||
@media (max-width: 768px) {
|
||||
.easyflow-modal-grid--2 {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
.flex-center {
|
||||
@apply flex items-center justify-center;
|
||||
}
|
||||
@@ -161,11 +167,11 @@
|
||||
}
|
||||
|
||||
.easyflow-modal-section {
|
||||
padding: 14px;
|
||||
background: hsl(var(--modal-content-surface-strong));
|
||||
border: 1px solid hsl(var(--modal-divider));
|
||||
border-radius: 14px;
|
||||
box-shadow: none;
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.easyflow-modal-grid {
|
||||
@@ -178,10 +184,10 @@
|
||||
}
|
||||
|
||||
.easyflow-modal-field-tip {
|
||||
color: hsl(var(--text-muted));
|
||||
margin-top: 4px;
|
||||
font-size: 11px;
|
||||
line-height: 1.5;
|
||||
margin-top: 4px;
|
||||
color: hsl(var(--text-muted));
|
||||
}
|
||||
|
||||
.easyflow-modal-form .el-form-item {
|
||||
@@ -189,11 +195,11 @@
|
||||
}
|
||||
|
||||
.easyflow-modal-form .el-form-item__label {
|
||||
color: hsl(var(--text-strong));
|
||||
padding-bottom: 6px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
line-height: 1.4;
|
||||
padding-bottom: 6px;
|
||||
color: hsl(var(--text-strong));
|
||||
}
|
||||
|
||||
.easyflow-modal-form .el-input__wrapper,
|
||||
@@ -202,7 +208,7 @@
|
||||
.easyflow-modal-form .el-date-editor.el-input__wrapper {
|
||||
background: hsl(var(--input-background));
|
||||
border-radius: 12px;
|
||||
box-shadow: inset 0 0 0 1px hsl(var(--input) / 0.92);
|
||||
box-shadow: inset 0 0 0 1px hsl(var(--input) / 92%);
|
||||
transition:
|
||||
box-shadow 0.2s ease,
|
||||
border-color 0.2s ease,
|
||||
@@ -224,7 +230,7 @@
|
||||
.easyflow-modal-form .el-select__wrapper:hover,
|
||||
.easyflow-modal-form .el-textarea__inner:hover,
|
||||
.easyflow-modal-form .el-date-editor.el-input__wrapper:hover {
|
||||
box-shadow: inset 0 0 0 1px hsl(var(--primary) / 0.18);
|
||||
box-shadow: inset 0 0 0 1px hsl(var(--primary) / 18%);
|
||||
}
|
||||
|
||||
.easyflow-modal-form .el-input__wrapper.is-focus,
|
||||
@@ -232,8 +238,8 @@
|
||||
.easyflow-modal-form .el-textarea__inner:focus,
|
||||
.easyflow-modal-form .el-date-editor.el-input__wrapper.is-focus {
|
||||
box-shadow:
|
||||
inset 0 0 0 1px hsl(var(--primary) / 0.72),
|
||||
0 0 0 4px hsl(var(--primary) / 0.12);
|
||||
inset 0 0 0 1px hsl(var(--primary) / 72%),
|
||||
0 0 0 4px hsl(var(--primary) / 12%);
|
||||
}
|
||||
|
||||
.easyflow-modal-form .el-form-item.is-error .el-input__wrapper,
|
||||
@@ -243,14 +249,8 @@
|
||||
.el-form-item.is-error
|
||||
.el-date-editor.el-input__wrapper {
|
||||
box-shadow:
|
||||
inset 0 0 0 1px hsl(var(--destructive) / 0.8),
|
||||
0 0 0 4px hsl(var(--destructive) / 0.08);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.easyflow-modal-grid--2 {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
inset 0 0 0 1px hsl(var(--destructive) / 80%),
|
||||
0 0 0 4px hsl(var(--destructive) / 8%);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -263,11 +263,12 @@ html.grayscale-mode {
|
||||
}
|
||||
|
||||
.page-container {
|
||||
padding: 20px;
|
||||
margin: 20px;
|
||||
background-color: var(--el-bg-color);
|
||||
border-radius: var(--el-border-radius-base);
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.handle-div {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
--modal-footer-surface: 220 13% 12%;
|
||||
--modal-border: 218 16% 24%;
|
||||
--modal-divider: 218 18% 24%;
|
||||
--modal-shadow: 0 24px 60px -30px hsl(212 60% 2% / 0.58);
|
||||
--modal-shadow: 0 24px 60px -30px hsl(212deg 60% 2% / 58%);
|
||||
--modal-shell-highlight: 0 0% 100% / 0;
|
||||
--modal-shell-border-soft: 218 16% 24% / 0.96;
|
||||
--modal-shell-shadow-near: 212 50% 2% / 0.38;
|
||||
@@ -159,9 +159,9 @@
|
||||
--nav-flow-accent: 214 88% 70%;
|
||||
--nav-flow-trace: 189 62% 56%;
|
||||
--nav-sheen: 210 100% 96%;
|
||||
--shadow-subtle: 0 18px 42px -30px hsl(212 100% 5% / 0.48);
|
||||
--shadow-toolbar: 0 28px 54px -36px hsl(212 100% 4% / 0.58);
|
||||
--shadow-float: 0 34px 70px -38px hsl(212 100% 3% / 0.68);
|
||||
--shadow-subtle: 0 18px 42px -30px hsl(212deg 100% 5% / 48%);
|
||||
--shadow-toolbar: 0 28px 54px -36px hsl(212deg 100% 4% / 58%);
|
||||
--shadow-float: 0 34px 70px -38px hsl(212deg 100% 3% / 68%);
|
||||
--bot-back-item: hsl(0deg 0% 91.76%);
|
||||
--bot-collapse-itme-back: hsl(var(--background-deep));
|
||||
--bot-chat-message-container: hsl(var(--background-deep));
|
||||
@@ -171,6 +171,7 @@
|
||||
--table-header-bg-color: hsl(var(--table-header-bg));
|
||||
--table-cell-shadow-color: hsl(var(--table-row-border));
|
||||
--bot-select-data-item-back: hsl(0deg 0% 98.04%);
|
||||
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
--modal-footer-surface: 210 20% 98.4%;
|
||||
--modal-border: 214 22% 86%;
|
||||
--modal-divider: 214 22% 89%;
|
||||
--modal-shadow: 0 22px 54px -28px hsl(215 28% 18% / 0.18);
|
||||
--modal-shadow: 0 22px 54px -28px hsl(215deg 28% 18% / 18%);
|
||||
--modal-shell-highlight: 0 0% 100% / 0;
|
||||
--modal-shell-border-soft: 214 22% 86% / 0.94;
|
||||
--modal-shell-shadow-near: 216 30% 18% / 0.08;
|
||||
@@ -159,13 +159,9 @@
|
||||
--nav-flow-accent: 214 100% 88%;
|
||||
--nav-flow-trace: 191 78% 84%;
|
||||
--nav-sheen: 0 0% 100%;
|
||||
--shadow-subtle: 0 18px 42px -30px hsl(211 78% 48% / 0.16);
|
||||
--shadow-toolbar: 0 28px 54px -34px hsl(211 78% 48% / 0.2);
|
||||
--shadow-float: 0 34px 68px -38px hsl(211 78% 48% / 0.24);
|
||||
|
||||
accent-color: var(--primary);
|
||||
color-scheme: light;
|
||||
|
||||
--shadow-subtle: 0 18px 42px -30px hsl(211deg 78% 48% / 16%);
|
||||
--shadow-toolbar: 0 28px 54px -34px hsl(211deg 78% 48% / 20%);
|
||||
--shadow-float: 0 34px 68px -38px hsl(211deg 78% 48% / 24%);
|
||||
--bot-back-item: hsl(0deg 0% 91.76%);
|
||||
--bot-collapse-itme-back: hsl(0deg 0% 96.08%);
|
||||
--bot-chat-message-container: hsl(228deg 33.33% 97.06%);
|
||||
@@ -175,6 +171,9 @@
|
||||
--table-header-bg-color: hsl(var(--table-header-bg));
|
||||
--table-cell-shadow-color: hsl(var(--table-row-border));
|
||||
--bot-select-data-item-back: hsl(0deg 0% 98.04%);
|
||||
|
||||
accent-color: var(--primary);
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
[data-theme='violet'] {
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export * from './globals';
|
||||
export * from './easyflow';
|
||||
export * from './globals';
|
||||
|
||||
@@ -263,4 +263,3 @@ export function sortNodes(nodesJson: any): any[] {
|
||||
extra: node.extra,
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user