Skip to content

Commit 5a7b39e

Browse files
authored
Merge branch 'dev' into private-npm-repositories
2 parents a560262 + a28726f commit 5a7b39e

File tree

168 files changed

+8667
-5208
lines changed

Some content is hidden

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

168 files changed

+8667
-5208
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ application-lowcoder.yml
1414
application-debug.yaml
1515
application-dev-localhost.yaml
1616
.vscode/settings.json
17-
.vscode/launch.json
17+
.vscode/launch.json
18+
server/api-service/lowcoder-server/src/main/resources/application-local-dev.yaml

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ And we mean it... Day by day!
9090
## 💻 Deployment Options
9191
[![Deploy to AWS using Stitch](https://img.shields.io/badge/deploy_with-Stitch-%23E369F7?logo=amazonaws&color=%23E369F7)](https://deploy.stitch.tech/lowcoder/lowcoder)
9292

93-
[![Deploy in minutes on Elest.io](https://raw.githubusercontent.com/elestio-examples/element/main/deploy-on-elestio.png)](https://elest.io/open-source/lowcoder)
93+
[![Deploy to Elestio](https://img.shields.io/badge/Deploy_to-Elestio-%23E369F7?color=orange)](https://elest.io/open-source/lowcoder)
9494

9595
You can access Lowcoder from [cloud-hosted version](https://app.lowcoder.cloud/) at any time, or use the following resources for self-host Lowcoder on different platforms:
9696
- [Docker](https://docs.lowcoder.cloud/lowcoder-documentation/setup-and-run/self-hosting)
@@ -110,4 +110,4 @@ Like ... [@Darkjamin](https://github.com/Darkjamin), [@spacegoats-io](https://g
110110

111111
## Intro Video
112112

113-
[![Watch the video](https://i.ytimg.com/vi/s4ltAqS0hzM/maxresdefault.jpg?sqp=-oaymwEmCIAKENAF8quKqQMa8AEB-AH-CYAC0AWKAgwIABABGD0gSShyMA8=&rs=AOn4CLAlPOIFdtauythoBKNPXhi6XGwlDQ)](https://youtu.be/s4ltAqS0hzM?feature=shared)
113+
[![Watch the video](https://i.ytimg.com/vi/s4ltAqS0hzM/maxresdefault.jpg?sqp=-oaymwEmCIAKENAF8quKqQMa8AEB-AH-CYAC0AWKAgwIABABGD0gSShyMA8=&rs=AOn4CLAlPOIFdtauythoBKNPXhi6XGwlDQ)](https://youtu.be/s4ltAqS0hzM?feature=shared)

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"chalk": "4",
8181
"flag-icons": "^7.2.1",
8282
"number-precision": "^1.6.0",
83-
"posthog-js": "^1.144.2",
83+
"posthog-js": "^1.155.4",
8484
"react-countup": "^6.5.3",
8585
"react-player": "^2.11.0",
8686
"resize-observer-polyfill": "^1.5.1",

client/packages/lowcoder-comps/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lowcoder-comps",
3-
"version": "2.4.11",
3+
"version": "2.4.13",
44
"type": "module",
55
"license": "MIT",
66
"dependencies": {

client/packages/lowcoder-comps/src/comps/calendarComp/calendarComp.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ let childrenMap: any = {
7979
resourcesEvents: jsonValueExposingStateControl("resourcesEvents", resourcesEventsDefaultData),
8080
resources: jsonValueExposingStateControl("resources", resourcesDefaultData),
8181
resourceName: withDefault(StringControl, trans("calendar.resourcesDefault")),
82-
onEvent: CalendarEventHandlerControl,
82+
onEvent: CalendarEventHandlerControl ? CalendarEventHandlerControl : ChangeEventHandlerControl,
8383
// onDropEvent: safeDragEventHandlerControl,
8484
editable: withDefault(BoolControl, true),
8585
showEventTime: withDefault(BoolControl, true),
@@ -124,10 +124,10 @@ let CalendarBasicComp = (function () {
124124
currentPremiumView?: string;
125125
}, dispatch: any) => {
126126

127-
const comp = useContext(EditorContext).getUICompByName(
128-
useContext(CompNameContext)
127+
const comp = useContext(EditorContext).getUICompByName(
128+
useContext(CompNameContext)
129129
);
130-
const onEventVal = comp?.toJsonValue().comp.onEvent;
130+
const onEventVal = comp?.toJsonValue()?.comp?.onEvent;
131131

132132

133133
const theme = useContext(ThemeContext);

client/packages/lowcoder-design/src/components/Dropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ export function Dropdown<T extends OptionsType>(props: DropdownProps<T>) {
235235
<SegmentedWrapper $placement={placement}>
236236
<Segmented
237237
block={true}
238-
onChange={(value) => props.onChange(value.toString())}
238+
onChange={(value) => props.onChange(String(value))}
239239
defaultValue={props.defaultValue}
240240
value={props.value}
241241
options={props.options as any}

client/packages/lowcoder-design/src/components/button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ const TacoButton = forwardRef(
181181
props: Omit<ButtonProps, "type"> & {
182182
buttonType?: TacoButtonType;
183183
},
184-
ref: React.Ref<HTMLElement>
184+
ref: React.Ref<HTMLButtonElement>
185185
) => {
186186
const { buttonType, ...restProps } = props;
187187
let loadingBackground;

client/packages/lowcoder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@types/react-test-renderer": "^18.0.0",
3838
"@types/react-virtualized": "^9.21.21",
3939
"animate.css": "^4.1.1",
40-
"antd": "5.13.2",
40+
"antd": "^5.20.0",
4141
"axios": "^1.6.2",
4242
"buffer": "^6.0.3",
4343
"clsx": "^2.0.0",

client/packages/lowcoder/src/api/subscriptionApi.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export type ResponseType = {
2525
response: any;
2626
};
2727

28-
const apiUrl = "https://flow.lowcoder.cloud/webhook/secure";
28+
const apiUrl = "http://localhost:8080/api/flow";
2929
const authHeader = "96a99c7b-3758-4c48-b4b1-a8cbf59e7d6c";
3030

3131
const currentPage = 1;
@@ -41,7 +41,7 @@ const getAxiosInstance = (clientSecret?: string) => {
4141

4242
const headers: Record<string, string> = {
4343
"Content-Type": "application/json",
44-
"Lowcoder-Token": authHeader,
44+
// "Lowcoder-Token": authHeader,
4545
}
4646

4747
const apiRequestConfig: AxiosRequestConfig = {
@@ -55,13 +55,12 @@ const getAxiosInstance = (clientSecret?: string) => {
5555

5656
class SubscriptionApi extends Api {
5757

58-
static async createCustomer(body: Customer): Promise<any> {
58+
static async createCustomer(body: any): Promise<any> {
5959
console.log("createCustomerCall", body);
6060

6161
let response;
6262
try {
6363
response = await getAxiosInstance().request({
64-
url: '/create-customer',
6564
method: "POST",
6665
withCredentials: true,
6766
data: body,

client/packages/lowcoder/src/app.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ class AppIndex extends React.Component<AppIndexProps, any> {
265265
content={trans('productDesc')}
266266
/>,
267267
<link
268+
key="iframely"
268269
rel="iframely"
269270
type="text/html"
270271
href={window.location.href}

0 commit comments

Comments
 (0)