Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Release 2.2.1#586

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ludomikula merged 48 commits intomainfromdev
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from11 commits
Commits
Show all changes
48 commits
Select commitHold shift + click to select a range
70a2284
Link accounts based on common authid(email)
aq-ikhwa-techDec 5, 2023
e2bc358
Merge branch 'dev' into fix-oauth-issues
aq-ikhwa-techDec 5, 2023
afa3104
Finalize fixes
aq-ikhwa-techDec 6, 2023
5cc8acd
Merge branch 'dev' into fix-oauth-issues
aq-ikhwa-techDec 6, 2023
0bc105c
fixing plugin creator
Dec 6, 2023
5772a7a
fixing plugin creator 2
Dec 6, 2023
6d02703
fix plugin creator
Dec 6, 2023
2d345e8
fix plugin creator 3
Dec 6, 2023
f615728
fix documentation for plugin creator
Dec 6, 2023
cf6b9fe
plugin creator fix dependencies
Dec 6, 2023
7440e1a
plugin creator fix dependencies
Dec 6, 2023
756b294
Merge pull request #567 from lowcoder-org/fix-plugin-creator
FalkWolskyDec 6, 2023
669b379
plugin creator fix dependencies
Dec 6, 2023
885d0dc
Bump Vite to 4.5.1
Dec 6, 2023
efa905a
Updated Component Plugin Demo
Dec 6, 2023
02327cf
Updated Component Plugin Demo
Dec 6, 2023
53afb73
Merge pull request #566 from lowcoder-org/fix-oauth-issues
FalkWolskyDec 7, 2023
2f4504f
fix: fix build issues
raheeliftikhar5Dec 7, 2023
1873519
small fix
raheeliftikhar5Dec 7, 2023
d516538
lock file
raheeliftikhar5Dec 7, 2023
9979f42
Merge pull request #568 from raheeliftikhar5/build-fix
FalkWolskyDec 7, 2023
98ab214
Fixes in workspaces anc comp includes
Dec 7, 2023
9595937
Fixes in workspaces anc comp includes
Dec 7, 2023
71148c1
fix: avoid editor popup close on selecting suggeston using mouse
raheeliftikhar5Dec 7, 2023
f606a4c
fix: enable scroll in table columns configs popup
raheeliftikhar5Dec 7, 2023
b1e50c4
fix: avoid editor popup close when open from config popup
raheeliftikhar5Dec 8, 2023
89d21d0
fix: date input validation fix
raheeliftikhar5Dec 8, 2023
a41adbe
fix: table status column's text color fix
raheeliftikhar5Dec 8, 2023
fab5301
Reverted changes for Workspaces.
Dec 8, 2023
8d7b3d1
Merge pull request #569 from raheeliftikhar5/editor-fixes
FalkWolskyDec 8, 2023
c0896af
Merge pull request #570 from raheeliftikhar5/issue-369/date-input-val…
FalkWolskyDec 8, 2023
cb5bff0
Merge pull request #571 from raheeliftikhar5/table-status-column-style
FalkWolskyDec 8, 2023
2b20d3f
Reverted changes for Workspaces.
Dec 8, 2023
6845453
Add functionality to allow users to link to auth providers while bein…
aq-ikhwa-techDec 9, 2023
95aae3c
Add handling for LOWCODER_CREATE_SIGNUP_WORKSPACE
aq-ikhwa-techDec 9, 2023
0a96750
Merge branch 'dev' into link-oauth-providers-for-existing-users
FalkWolskyDec 9, 2023
b7c4928
new: simplify api service build
ludomikulaDec 6, 2023
b0d08a8
new: allow serving static files from mounted volume
ludomikulaDec 10, 2023
b106575
Merge pull request #572 from lowcoder-org/link-oauth-providers-for-ex…
FalkWolskyDec 10, 2023
6292b35
Merge branch 'dev' into docker_build_update
FalkWolskyDec 10, 2023
4304708
Merge pull request #574 from lowcoder-org/docker_build_update
FalkWolskyDec 11, 2023
757d772
removed lowcoder-dev-utils
raheeliftikhar5Dec 13, 2023
8130928
fix build issues
raheeliftikhar5Dec 13, 2023
e9a75c0
Merge pull request #578 from raheeliftikhar5/remove-dev-utils
FalkWolskyDec 13, 2023
3a74b79
remove create-lowcoder-plugin + version upgrade for publish
raheeliftikhar5Dec 13, 2023
6170b11
Merge pull request #579 from raheeliftikhar5/publish-modules
FalkWolskyDec 13, 2023
990ff84
Custom plugin publishing issues (#583)
raheeliftikhar5Dec 14, 2023
ed99678
added hover and active color options in link styles (#585)
raheeliftikhar5Dec 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletionclient/.yarnrc.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
nodeLinker: node-modules
nmHoistingLimits: workspaces

npmRegistryServer: "https://registry.npmjs.org"

Expand Down
1 change: 1 addition & 0 deletionsclient/jest.config.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
export default {
projects: ["<rootDir>/packages/lowcoder", "<rootDir>/packages/lowcoder-core"],
};
// we use this for testing.
8 changes: 2 additions & 6 deletionsclient/packages/create-lowcoder-plugin/package.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,12 +7,8 @@
"chalk": "4",
"commander": "^9.4.1",
"cross-spawn": "^7.0.3",
"fs-extra": "^10.1.0"
},
"peerDependencies": {
"lowcoder-cli": "*",
"lowcoder-dev-utils": "*",
"lowcoder-sdk": "*"
"fs-extra": "^10.1.0",
"lowcoder-dev-utils": "workspace:^"
},
"license": "MIT",
"keywords": [
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -16,13 +16,10 @@
}
},
"devDependencies": {
"lowcoder-cli": "workspace:^",
"lowcoder-sdk": "workspace:^",
"typescript": "^4.8.4",
"vite": "^4.5.1"
},
"peerDependencies": {
"lowcoder-cli": "*",
"lowcoder-dev-utils": "*",
"lowcoder-sdk": "*"
"vite": "^4.3.9"
},
"keywords": [
"Lowcoder, Component, Template, Plugin"
Expand Down
4 changes: 2 additions & 2 deletionsclient/packages/lowcoder-cli/package.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -29,11 +29,12 @@
"commander": "^9.4.1",
"cross-spawn": "^7.0.3",
"fs-extra": "^10.1.0",
"lowcoder-dev-utils": "workspace:^",
"react": "^17",
"react-dom": "^17",
"react-json-view": "^1.21.3",
"rollup-plugin-external-globals": "^0.7.1",
"vite": "^4.5.1",
"vite": "^4.3.9",
"vite-plugin-css-injected-by-js": "^2.1.1",
"vite-plugin-svgr": "^2.2.2"
},
Expand All@@ -42,7 +43,6 @@
"typescript": "^4.8.4"
},
"peerDependencies": {
"lowcoder-dev-utils": "*",
"lowcoder-sdk": "*"
},
"keywords": [
Expand Down
10 changes: 3 additions & 7 deletionsclient/packages/lowcoder-comps/package.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -16,10 +16,11 @@
"big.js": "^6.2.1",
"echarts-extension-gmap": "^1.6.0",
"echarts-wordcloud": "^2.1.0",
"lowcoder-cli": "workspace:^",
"lowcoder-sdk": "workspace:^",
"mermaid": "^10.2.4",
"react": "17",
"react-dom": "17",
"react-resize-detector": "^7.0.0",
"typescript": "4.8.4"
},
"lowcoder": {
Expand DownExpand Up@@ -69,12 +70,7 @@
"devDependencies": {
"jest": "29.3.0",
"jest-canvas-mock": "^2.5.2",
"vite": "^4.5.1",
"vite": "^4.3.9",
"vite-tsconfig-paths": "^3.6.0"
},
"peerDependencies": {
"lowcoder-cli": "*",
"lowcoder-dev-utils": "*",
"lowcoder-sdk": "*"
}
}
1 change: 1 addition & 0 deletionsclient/packages/lowcoder-design/package.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,6 +8,7 @@
},
"dependencies": {
"colord": "^2.9.3",
"react-fontawesome": "^0.2.0",
"react-markdown": "^8.0.0",
"react-virtualized": "^9.22.3",
"rehype-raw": "^6.1.1",
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -153,8 +153,9 @@ const OptionItem = (props: {
popoverTitle?: string;
draggable?: boolean;
optionExtra?: React.ReactNode;
scrollable?: boolean;
}) => {
const { content, config, title, popoverTitle, draggable = true, optionExtra } = props;
const { content, config, title, popoverTitle, draggable = true, optionExtra, scrollable } = props;
const [visible, setVisible] = useState(false);
const { attributes, listeners, setNodeRef, transform, transition } = useSortable({
id: config.dataIndex,
Expand DownExpand Up@@ -182,6 +183,7 @@ const OptionItem = (props: {
setVisible={(vis) => {
setVisible(vis);
}}
scrollable={scrollable}
>
{optionRow}
</SimplePopover>
Expand All@@ -204,6 +206,7 @@ function Option<T extends ConstructorToComp<MultiCompConstructor>>(props: {
optionToolbar?: React.ReactNode;
headerItem?: React.ReactNode;
itemExtra?: (comp: T) => React.ReactNode;
scrollable?: boolean;
}) {
const { items, uniqVal, headerItem, optionToolbar, itemExtra } = props;
const itemsDistinctValCount = uniqVal
Expand DownExpand Up@@ -286,6 +289,7 @@ function Option<T extends ConstructorToComp<MultiCompConstructor>>(props: {
title={props.itemTitle(item)}
config={{ dataIndex: dataIndex }}
optionExtra={optionExtra}
scrollable={props.scrollable}
/>
);
})}
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -51,13 +51,15 @@ const SimplePopover = (props: {
setVisible?: (vis: boolean) => void;
children: JSX.Element | React.ReactNode;
content: JSX.Element | React.ReactNode;
scrollable?: boolean;
}) => {
const { visible, setVisible } = props;
const contentWithBox = (
<SuspensionBox
title={props.title}
onClose={() => setVisible?.(false)}
content={props.content}
scrollable={props.scrollable}
/>
);
return (
Expand All@@ -66,7 +68,7 @@ const SimplePopover = (props: {
align={{
offset: [-12, 0, 0, 0],
}}
destroyTooltipOnHide
//destroyTooltipOnHide
content={contentWithBox}
trigger="click"
open={visible}
Expand Down
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 0 additions & 10 deletionsclient/packages/lowcoder-plugin-demo/icons/demo-icon.svg
View file
Open in desktop

This file was deleted.

2 changes: 1 addition & 1 deletionclient/packages/lowcoder-plugin-demo/index.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,7 +3,7 @@ import { CompIDE } from "lowcoder-sdk";
import { name, version, lowcoder } from "./package.json";
import compMap from "./src/index";

import "lowcoder-sdk/dist/style.css";
import "../lowcoder-sdk/dist/style.css";

function CompDevApp() {
return (
Expand Down
3 changes: 0 additions & 3 deletionsclient/packages/lowcoder-plugin-demo/locales/en.json
View file
Open in desktop

This file was deleted.

3 changes: 0 additions & 3 deletionsclient/packages/lowcoder-plugin-demo/locales/zh_CN.json
View file
Open in desktop

This file was deleted.

42 changes: 20 additions & 22 deletionsclient/packages/lowcoder-plugin-demo/package.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,40 @@
{
"name": "lowcoder-plugin-demo",
"version": "0.0.1",
"version": "0.0.4",
"type": "module",
"license": "MIT",
"dependencies": {
"@types/react": "17",
"@types/react-dom": "17",
"lowcoder-sdk": "2.1.9",
"lowcoder-core": "^0.0.1",
"lowcoder-design": "^0.0.1",
"react": "17",
"react-dom": "17",
"typescript": "5.3.3",
"vite": "^5.0.6"
"react-dom": "17"
},
"devDependencies": {
"@types/node": "16",
"@types/react": "17",
"@types/react-dom": "17",
"react": "17",
"react-dom": "17",
"typescript": "5.3.3",
"vite": "^5.0.6"
},
"peerDependencies": {
"lowcoder-cli": "*",
"lowcoder-dev-utils": "*",
"lowcoder-sdk": "*"
"publishConfig": {
"registry": "https://registry.npmjs.com"
},
"lowcoder": {
"description": "",
"comps": {
"hello_world": {
"name": "__i18n_helloWorldCompName__",
"icon": "./icons/demo-icon.svg"
"name": "Hello World",
"icon": "./icons/demo-icon.png"
},
"counter": {
"name": "Counter",
"icon": "./icons/demo-icon.png"
}
}
},
"scripts": {
"start": "vite",
"build": "lowcoder-cli build"
},
"devDependencies": {
"@types/react": "17",
"@types/react-dom": "17",
"lowcoder-cli": "workspace:^",
"lowcoder-sdk": "workspace:^",
"typescript": "4.8.4",
"vite": "^4.3.9"
}
}
81 changes: 81 additions & 0 deletionsclient/packages/lowcoder-plugin-demo/src/CounterComp.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
import {
antd,
UICompBuilder,
numberExposingStateControl,
Section,
withDefault,
withExposingConfigs,
NumberControl,
NameConfig,
eventHandlerControl,
withMethodExposing,
} from "lowcoder-sdk";
import styles from "./style.module.css";

const { Button } = antd;

const childrenMap = {
value: numberExposingStateControl("value", 10),
step: withDefault(NumberControl, 1),
onEvent: eventHandlerControl([
{
label: "onChange",
value: "change",
description: "",
},
]),
};

const CounterCompBase = new UICompBuilder(childrenMap, (props: any) => {
const currentValue = props.value.value;
return (
<div className={styles.wrapper}>
<Button
onClick={() => {
props.value.onChange(currentValue - props.step);
props.onEvent("change");
}}
>
-
</Button>
<span style={{ padding: "0 8px" }}>{currentValue}</span>
<Button
onClick={() => {
props.value.onChange(currentValue + props.step);
props.onEvent("change");
}}
>
+
</Button>
</div>
);
})
.setPropertyViewFn((children: any) => {
return (
<>
<Section name="Basic">
{children.value.propertyView({ label: "Initial Value" })}
{children.step.propertyView({ label: "Step" })}
</Section>
<Section name="Interaction">{children.onEvent.propertyView()}</Section>
</>
);
})
.build();

const CounterCompTemp = withMethodExposing(CounterCompBase, [
{
method: {
name: "random",
params: [],
},
execute(comp: any) {
comp.children.value.getView().onChange(Math.floor(Math.random() * 100));
},
},
]);

export default withExposingConfigs(CounterCompTemp, [
new NameConfig("value", ""),
new NameConfig("step", ""),
]);
Loading

[8]ページ先頭

©2009-2025 Movatter.jp