Skip to content

Commit 0fe716c

Browse files
FalkWolskyludomikula
FalkWolsky
authored andcommitted
Fix in Tour Component imports 2
1 parent 440c91a commit 0fe716c

File tree

4 files changed

+18
-11
lines changed

4 files changed

+18
-11
lines changed

client/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
"@types/styled-components": "^5.1.34",
7777
"antd-mobile": "^5.34.0",
7878
"chalk": "4",
79+
"flag-icons": "^7.2.1",
7980
"number-precision": "^1.6.0",
8081
"react-countup": "^6.5.3",
8182
"react-player": "^2.11.0",

client/packages/lowcoder/src/comps/comps/tourComp/tourComp.tsx

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
import { trans } from "i18n";
2-
import {
3-
CommonNameConfig,
4-
MultiBaseComp,
5-
NameConfig,
6-
stringExposingStateControl,
7-
UICompBuilder,
8-
withExposingConfigs,
9-
withMethodExposing
10-
} from "lowcoder-sdk";
2+
import { withMethodExposing } from "../../generators/withMethodExposing";
3+
import { UICompBuilder } from "../../generators";
4+
import { stringExposingStateControl } from "comps/controls/codeStateControl";
5+
import { CommonNameConfig, NameConfig, withExposingConfigs } from "../../generators/withExposing";
6+
import { MultiBaseComp } from "lowcoder-core";
117
import { TourChildrenMap, TourPropertyView } from "./tourPropertyView";
128
import { Tour, TourProps } from "antd";
139
import React, { useContext } from "react";

client/packages/lowcoder/src/pages/ApplicationV2/UserProfileLayout.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ import { getOrgGroups } from "../../redux/selectors/orgSelectors";
1313
import { useLocation } from "react-router-dom";
1414
import { useMemo } from "react";
1515
import history from "util/history";
16-
import { trans, language } from "../../i18n";
16+
import { trans, language, languageList } from "../../i18n";
1717
import { ALL_APPLICATIONS_URL } from "constants/routesURL";
1818
import { USER_PROFILE_URL } from "constants/routesURL";
1919
import { default as Divider } from "antd/es/divider";
2020

21+
// import "/node_modules/flag-icons/css/flag-icons.min.css";
22+
2123
import { Avatar, Badge, Button, Card, Col, Row, Space, Typography } from 'antd';
2224

2325
import {
@@ -282,7 +284,7 @@ export function UserProfileLayout(props: UserProfileLayoutProps) {
282284
<Card style={{ marginBottom: "20px" }}>
283285
<Title level={4}>Settings</Title>
284286
<Space direction="vertical" size={10}>
285-
<Text>UI Language: {language}</Text>
287+
<Text>UI Language: {language} <span className="fi fi-gr"></span> <span className="fi fi-gr fis"></span></Text>
286288
</Space>
287289
</Card>
288290

client/yarn.lock

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10254,6 +10254,13 @@ __metadata:
1025410254
languageName: node
1025510255
linkType: hard
1025610256

10257+
"flag-icons@npm:^7.2.1":
10258+
version: 7.2.1
10259+
resolution: "flag-icons@npm:7.2.1"
10260+
checksum: c24a71a1e830860625b60f4a0d16dff51dcc5e6849aeacb93e44bb0cd1553f5ba7d07fdfbb35ea3e297ddb300ca4bdb6a8499c396e25882c8ed38a942dc922cc
10261+
languageName: node
10262+
linkType: hard
10263+
1025710264
"flat-cache@npm:^3.0.4":
1025810265
version: 3.2.0
1025910266
resolution: "flat-cache@npm:3.2.0"
@@ -13546,6 +13553,7 @@ __metadata:
1354613553
babel-jest: ^29.3.0
1354713554
babel-preset-react-app: ^10.0.1
1354813555
chalk: 4
13556+
flag-icons: ^7.2.1
1354913557
husky: ^8.0.1
1355013558
jest: ^29.5.0
1355113559
jest-canvas-mock: ^2.5.2

0 commit comments

Comments
 (0)