Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit de68621

Browse files
committed
remove setting
1 parent b457138 commit de68621

Some content is hidden

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

54 files changed

+2
-9263
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/app.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import {
1515
ORG_AUTH_LOGIN_URL,
1616
ORG_AUTH_REGISTER_URL,
1717
QUERY_LIBRARY_URL,
18-
SETTING_URL,
1918
USER_AUTH_URL,
2019
ADMIN_APP_URL,
2120
} from "constants/routesURL";

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

Lines changed: 0 additions & 299 deletions
This file was deleted.

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

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { useEffect, useMemo, useState } from "react";
2-
import { ConfigItem, Radius, Margin, Padding, GridColumns, BorderWidth, BorderStyle } from "../pages/setting/theme/styledComponents";
32
import { isValidColor, toHex } from "components/colorSelect/colorUtils";
43
import { ColorSelect } from "components/colorSelect";
54
import { TacoInput } from "components/tacoInput";
@@ -390,66 +389,6 @@ export default function ThemeSettingsCompStyles(props: CompStyleProps) {
390389
borderRadius: "4px",
391390
marginBottom: "16px",
392391
}}>
393-
{styleOptions.map((styleKey: string) => (
394-
<ConfigItem
395-
key={styleKey}
396-
style={{
397-
flexDirection: "row",
398-
alignItems: "center",
399-
margin: "0",
400-
padding: "6px",
401-
borderBottom: "1px solid lightgray",
402-
}}
403-
>
404-
<div className="text-desc" style={{
405-
width: "100px",
406-
minWidth: "100px",
407-
maxWidth: "100px",
408-
marginRight: "5px",
409-
}}>
410-
<div className="name" >
411-
{ getLabelByStyle(styleKey) }
412-
</div>
413-
</div>
414-
{ isColorStyle(styleKey) ? (
415-
<div className="config-input" style={{minWidth: "auto", margin: "0"}}>
416-
<ColorSelect
417-
// changeColor={_.debounce(setColor, 500, {
418-
// leading: true,
419-
// trailing: true,
420-
// })}
421-
changeColor={(value) => handleChange(styleKey, value)}
422-
color={compStyle[styleKey]!}
423-
trigger="hover"
424-
/>
425-
<TacoInput
426-
style={{width: "80%", marginLeft: "5px"}}
427-
value={compStyle[styleKey]}
428-
onChange={(e) => handleChange(styleKey, e.target.value)}
429-
// onChange={(e) => setColor(e.target.value)}
430-
// onBlur={colorInputBlur}
431-
// onKeyUp={(e) => e.nativeEvent.key === "Enter" && colorInputBlur()}
432-
/>
433-
</div>
434-
): (
435-
<div className="config-input" style={{minWidth: "auto"}}>
436-
{/* <Radius $radius={compStyle[styleKey] || "0"}> */}
437-
<div>
438-
{getIconByStyle(styleKey)}
439-
</div>
440-
{/* </Radius> */}
441-
<TacoInput
442-
style={{width: "80%", marginLeft: "5px"}}
443-
placeholder={getPlaceholderByStyle(styleKey)}
444-
defaultValue={compStyle[styleKey]}
445-
onChange={(e) => handleChange(styleKey, e.target.value)}
446-
// onBlur={(e) => radiusInputBlur(e.target.value)}
447-
// onKeyUp={(e) => e.nativeEvent.key === "Enter" && radiusInputBlur(e.currentTarget.value)}
448-
/>
449-
</div>
450-
)}
451-
</ConfigItem>
452-
))}
453392
</div>
454393
)
455394
}

0 commit comments

Comments
 (0)