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

Commitbca5fe4

Browse files
author
FalkWolsky
committed
Adding Remote Gantt Chart
1 parent9e14af4 commitbca5fe4

File tree

8 files changed

+1302
-2
lines changed

8 files changed

+1302
-2
lines changed

‎client/packages/lowcoder-design/src/icons/index.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ export { ReactComponent as GeoMapLayersCompIconSmall } from "./v2/geomap-layers-
350350
export{ReactComponentasHillchartCompIconSmall}from"./v2/hillchart-s.svg";// new
351351
export{ReactComponentasPivotTableCompIconSmall}from"./v2/pivot-table-s.svg";// new
352352
export{ReactComponentasTurnstileCaptchaCompIconSmall}from"./v2/turnstile-captcha-s.svg";// new
353+
export{ReactComponentasGanttCompIconSmall}from"./v2/gantt-chart-s.svg";// new
353354

354355

355356
// medium
@@ -435,6 +436,7 @@ export { ReactComponent as VideoCameraStreamCompIcon } from "./v2/camera-stream-
435436
export{ReactComponentasVideoScreenshareCompIcon}from"./v2/screen-share-stream-m.svg";
436437
export{ReactComponentasStepCompIcon}from"./v2/steps-m.svg";
437438
export{ReactComponentasSignatureCompIcon}from"./v2/signature-m.svg";
439+
export{ReactComponentasGanttCompIcon}from"./v2/gantt-chart-m.svg";
438440

439441
export{ReactComponentasCandlestickChartCompIcon}from"./v2/candlestick-chart-m.svg";
440442
export{ReactComponentasFunnelChartCompIcon}from"./v2/funnel-chart-m.svg";

‎client/packages/lowcoder-design/src/icons/v2/gantt-chart-l.svg‎

Lines changed: 1262 additions & 0 deletions
Loading
Lines changed: 5 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading

‎client/packages/lowcoder/src/comps/index.tsx‎

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ import {
108108
HillchartCompIcon,
109109
TurnstileCaptchaCompIcon,
110110
PivotTableCompIcon,
111-
GraphChartCompIcon
111+
GraphChartCompIcon,
112+
GanttCompIcon,
112113

113114
}from"lowcoder-design";
114115

@@ -1225,6 +1226,25 @@ export var uiCompMap: Registry = {
12251226

12261227
// Project Management
12271228

1229+
ganttChart:{
1230+
name:trans("uiComp.ganttChartCompName"),
1231+
enName:"ganttChart",
1232+
description:trans("uiComp.ganttChartCompDesc"),
1233+
categories:["projectmanagement"],
1234+
icon:GanttCompIcon,
1235+
keywords:trans("uiComp.ganttChartCompKeywords"),
1236+
comp:remoteComp({
1237+
compName:"ganttchart",
1238+
packageName:"lowcoder-comp-gantt-chart",
1239+
source:"npm",
1240+
isRemote:true,
1241+
}),
1242+
layoutInfo:{
1243+
w:20,
1244+
h:60,
1245+
},
1246+
},
1247+
12281248
hillchart:{
12291249
name:trans("uiComp.hillchartCompName"),
12301250
enName:"Hillchart",

‎client/packages/lowcoder/src/comps/uiCompRegistry.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ export type UICompType =
161161
|"themeriverChart"
162162
|"basicChart"
163163
|"columnLayout"
164+
|"ganttChart"
164165
;
165166

166167

‎client/packages/lowcoder/src/i18n/locales/en.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,6 +1222,10 @@ export const en = {
12221222
"shapeCompDesc":"A collection of geometric shapes for use with diagrams, illustrations, and visualizations.",
12231223
"shapeCompKeywords":"shapes, geometric, diagrams, illustrations",
12241224

1225+
"ganttChartCompName" :"Gantt Chart",
1226+
"ganttChartCompDesc" :"A chart that illustrates a project schedule, showing the start and finish dates of elements and dependencies.",
1227+
"ganttChartCompKeywords" :"gantt chart, project management, schedule",
1228+
12251229
// by mousheng
12261230

12271231
"colorPickerCompName":"Color Picker",

‎client/packages/lowcoder/src/pages/editor/editorConstants.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ import {
8282
ColorPickerCompIconSmall,
8383
TransferCompIconSmall,
8484
ShapesCompIconSmall,
85+
GanttCompIconSmall,
8586

8687
CandlestickChartCompIconSmall,
8788
FunnelChartCompIconSmall,
@@ -182,8 +183,9 @@ export const CompStateIcon: {
182183
treeSelect:<TreeSelectCompIconSmall/>,
183184
video:<VideoCompIconSmall/>,
184185
videocomponent:<VideoCameraStreamCompIconSmall/>,
185-
186+
186187
hillchart:<HillchartCompIconSmall/>,
188+
ganttChart:<GanttCompIconSmall/>,
187189
openLayersGeoMap:<GeoMapLayersCompIconSmall/>,
188190
chartsGeoMap:<GeoMapChartsCompIconSmall/>,
189191
bpmnEditor:<BPMNEditorCompIconSmall/>,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp