Skip to content

Commit 3bdee2f

Browse files
committed
remove setting
1 parent 2ce1cb7 commit 3bdee2f

File tree

75 files changed

+64
-11004
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+64
-11004
lines changed

viewer/packages/lowcoder/src/api/idSourceApi.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import Api from "api/api";
22
import { AxiosPromise } from "axios";
33
import { ApiResponse } from "api/apiResponses";
4-
import { AuthType } from "@lowcoder-ee/pages/setting/idSource/idSourceConstants";
54

65
export interface ConfigItem {
76
id: string;
8-
authType: AuthType;
97
enableRegister: boolean;
108
enable?: boolean;
119
clientId?: string;

viewer/packages/lowcoder/src/components/LazyRoute.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { default as Skeleton } from "antd/es/skeleton";
22
import { ComponentType, lazy, Suspense, useRef } from "react";
33
import { Route, RouteProps } from "react-router";
44
import PageSkeleton from "./PageSkeleton";
5-
import EditorSkeletonView from "@lowcoder-ee/pages/editor/editorSkeletonView";
65
import { ProductLoading } from "./ProductLoading";
76

87
interface IProps extends RouteProps {

viewer/packages/lowcoder/src/components/PermissionDialog/Permission.tsx

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
} from "lowcoder-design";
88
import { useEffect, useRef, useState } from "react";
99
import styled from "styled-components";
10-
import ProfileImage from "pages/common/profileImage";
1110
import { useDispatch, useSelector } from "react-redux";
1211
import { fetchGroupsAction, fetchOrgUsersAction } from "redux/reduxActions/orgActions";
1312
import { getOrgGroups, getOrgUsers } from "redux/selectors/orgSelectors";
@@ -171,14 +170,8 @@ const StyledTag = styled(Tag)`
171170
}
172171
`;
173172

174-
const LabelProfileImage = styled(ProfileImage)`
175-
&& > span {
176-
font-size: 1px;
177-
transform: scale(0.5, 0.5);
178-
}
179-
`;
180173

181-
const AddRoleSelect = styled(StyledRoleSelect)<{ $isVisible: boolean }>`
174+
const AddRoleSelect = styled(StyledRoleSelect) <{ $isVisible: boolean }>`
182175
.ant-select {
183176
height: 24px;
184177
}
@@ -245,12 +238,6 @@ function PermissionSelectorOption(props: { optionView: AddAppOptionView }) {
245238
);
246239
return (
247240
<OptionViewWrapper>
248-
<ProfileImage
249-
userName={optionView.name}
250-
side={32}
251-
source={optionView.avatarUrl}
252-
svg={groupIcon}
253-
/>
254241
<PermissionItemName title={optionView.name}>{optionView.name}</PermissionItemName>
255242
</OptionViewWrapper>
256243
);
@@ -263,7 +250,6 @@ function PermissionSelectorLabel(props: { view: AddAppOptionView }) {
263250
);
264251
return (
265252
<div style={{ display: "flex", alignItems: "center" }}>
266-
<LabelProfileImage userName={view.name} side={18} source={view.avatarUrl} svg={groupIcon} />
267253
<CommonTextLabel
268254
style={{
269255
marginLeft: "4px",

viewer/packages/lowcoder/src/components/PermissionDialog/PermissionList.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {
1313
StyledGroupIcon,
1414
StyledRoleSelect,
1515
} from "./commonComponents";
16-
import ProfileImage from "pages/common/profileImage";
1716
import styled from "styled-components";
1817
import { getInitialsAndColorCode } from "util/stringUtils";
1918
import { trans } from "i18n";
@@ -97,12 +96,6 @@ function PermissionLiItem(props: {
9796
}
9897
return (
9998
<PermissionLi key={permissionItem.permissionId}>
100-
<ProfileImage
101-
side={32}
102-
userName={permissionItem.name}
103-
source={permissionItem.avatar && ASSETS_URI(permissionItem.avatar)}
104-
svg={SvgIcon && <SvgIcon $color={getInitialsAndColorCode(permissionItem.name)[1]} />}
105-
/>
10699
<PermissionItemName title={permissionItem.name}>
107100
{permissionItem.type === "GROUP" && trans("home.groupWithSquareBrackets")}
108101
{permissionItem.name}

0 commit comments

Comments
 (0)