1+ import "comps/comps/layout/navLayout" ;
2+ import "comps/comps/layout/mobileTabLayout" ;
3+
14import cnchar from "cnchar" ;
25import { trans } from "i18n" ;
36import { remoteComp } from "./comps/remoteComp/remoteComp" ;
@@ -113,6 +116,17 @@ import {
113116 KanbanCompIcon ,
114117
115118} from "lowcoder-design" ;
119+ import { ModuleComp } from "./comps/moduleComp/moduleComp" ;
120+ import { TableComp } from "./comps/tableComp/tableComp" ;
121+ import { defaultTableData } from "./comps/tableComp/mockTableComp" ;
122+ import { ContainerComp , defaultContainerData } from "./comps/containerComp/containerComp" ;
123+ import { ColumnLayoutComp } from "./comps/columnLayout/columnLayout" ;
124+ import { TabbedContainerComp } from "./comps/tabs/tabbedContainerComp" ;
125+ import { ButtonComp } from "./comps/buttonComp/buttonComp" ;
126+ import { TextComp } from "./comps/textComp" ;
127+ import { SelectComp } from "./comps/selectInputComp/selectComp" ;
128+ import { InputComp } from "./comps/textInputComp/inputComp" ;
129+ import { TextAreaComp } from "./comps/textInputComp/textAreaComp" ;
116130
117131type Registry = {
118132 [ key in UICompType ] ?: UICompManifest ;
@@ -340,19 +354,16 @@ export var uiCompMap: Registry = {
340354 name : trans ( "uiComp.tableCompName" ) ,
341355 enName : "Table" ,
342356 description : trans ( "uiComp.tableCompDesc" ) ,
343- categories : [ "dashboards" ] ,
357+ categories : [ "dashboards" , "projectmanagement" ] ,
344358 icon : TableCompIcon ,
345359 keywords : trans ( "uiComp.tableCompKeywords" ) ,
346- lazyLoad : true ,
347- compName : "TableComp" ,
348- compPath : "comps/tableComp/index" ,
360+ comp : TableComp ,
349361 layoutInfo : {
350362 w : 12 ,
351363 h : 40 ,
352364 } ,
353365 withoutLoading : true ,
354- defaultDataFnName : "defaultTableData" ,
355- defaultDataFnPath : "comps/tableComp/mockTableComp" ,
366+ defaultDataFn : defaultTableData ,
356367 } ,
357368
358369 pivotTable : {
@@ -450,9 +461,7 @@ export var uiCompMap: Registry = {
450461 categories : [ "layout" ] ,
451462 icon : ColumnLayoutCompIcon ,
452463 keywords : trans ( "uiComp.responsiveLayoutCompKeywords" ) ,
453- lazyLoad : true ,
454- compName : "ColumnLayoutComp" ,
455- compPath : "comps/columnLayout/index" ,
464+ comp : ColumnLayoutComp ,
456465 withoutLoading : true ,
457466 layoutInfo : {
458467 w : 24 ,
@@ -502,9 +511,7 @@ export var uiCompMap: Registry = {
502511 categories : [ "layout" ] ,
503512 icon : TabbedContainerCompIcon ,
504513 keywords : trans ( "uiComp.tabbedContainerCompKeywords" ) ,
505- lazyLoad : true ,
506- compName : "TabbedContainerComp" ,
507- compPath : "comps/tabs/index" ,
514+ comp : TabbedContainerComp ,
508515 withoutLoading : true ,
509516 layoutInfo : {
510517 w : 12 ,
@@ -540,18 +547,15 @@ export var uiCompMap: Registry = {
540547 categories : [ "layout" ] ,
541548 icon : ContainerCompIcon ,
542549 keywords : trans ( "uiComp.containerCompKeywords" ) ,
543- lazyLoad : true ,
544- compName : "ContainerComp" ,
545- compPath : "comps/containerComp/containerComp" ,
550+ comp : ContainerComp ,
546551 withoutLoading : true ,
547552 layoutInfo : {
548553 w : 12 ,
549554 h : 25 ,
550555 // static: true,
551556 delayCollision : true ,
552557 } ,
553- defaultDataFnName : "defaultContainerData" ,
554- defaultDataFnPath : "comps/containerComp/containerComp" ,
558+ defaultDataFn : defaultContainerData ,
555559 } ,
556560 listView : {
557561 name : trans ( "uiComp.listViewCompName" ) ,
@@ -927,9 +931,7 @@ export var uiCompMap: Registry = {
927931 categories : [ "forms" ] ,
928932 icon : InputCompIcon ,
929933 keywords : trans ( "uiComp.inputCompKeywords" ) ,
930- lazyLoad : true ,
931- compName : "InputComp" ,
932- compPath : "comps/textInputComp/inputComp" ,
934+ comp : InputComp ,
933935 layoutInfo : {
934936 w : 6 ,
935937 h : 6 ,
@@ -972,9 +974,7 @@ export var uiCompMap: Registry = {
972974 categories : [ "forms" ] ,
973975 icon : TextAreaCompIcon ,
974976 keywords : trans ( "uiComp.textAreaCompKeywords" ) ,
975- lazyLoad : true ,
976- compName : "TextAreaComp" ,
977- compPath : "comps/textInputComp/textAreaComp" ,
977+ comp : TextAreaComp ,
978978 layoutInfo : {
979979 w : 6 ,
980980 h : 12 ,
@@ -1141,9 +1141,7 @@ export var uiCompMap: Registry = {
11411141 categories : [ "forms" ] ,
11421142 icon : ButtonCompIcon ,
11431143 keywords : trans ( "uiComp.buttonCompKeywords" ) ,
1144- lazyLoad : true ,
1145- compName : "ButtonComp" ,
1146- compPath : "comps/buttonComp/buttonComp" ,
1144+ comp : ButtonComp ,
11471145 layoutInfo : {
11481146 w : 6 ,
11491147 h : 6 ,
@@ -1563,9 +1561,7 @@ export var uiCompMap: Registry = {
15631561 categories : [ "forms" , "itemHandling" ] ,
15641562 icon : SelectCompIcon ,
15651563 keywords : trans ( "uiComp.selectCompKeywords" ) ,
1566- lazyLoad : true ,
1567- compName : "SelectComp" ,
1568- compPath : "comps/selectInputComp/selectComp" ,
1564+ comp : SelectComp ,
15691565 layoutInfo : {
15701566 w : 6 ,
15711567 h : 5 ,
@@ -1705,9 +1701,7 @@ export var uiCompMap: Registry = {
17051701 description : trans ( "uiComp.moduleCompDesc" ) ,
17061702 categories : [ ] ,
17071703 keywords : trans ( "uiComp.moduleCompKeywords" ) ,
1708- lazyLoad : true ,
1709- compName : "ModuleComp" ,
1710- compPath : "comps/moduleComp/moduleComp" ,
1704+ comp : ModuleComp ,
17111705 layoutInfo : {
17121706 w : 12 ,
17131707 h : 40 ,
@@ -1723,9 +1717,7 @@ export var uiCompMap: Registry = {
17231717 categories : [ "dashboards" , "layout" , "multimedia" ] ,
17241718 icon : TextCompIcon ,
17251719 keywords : trans ( "uiComp.textCompKeywords" ) ,
1726- compName : "TextComp" ,
1727- lazyLoad : true ,
1728- compPath : "comps/textComp" ,
1720+ comp : TextComp ,
17291721 layoutInfo : {
17301722 w : 6 ,
17311723 h : 24 ,
0 commit comments