@gct-paas/schema 0.1.6-dev.4 → 0.1.6-dev.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -22,6 +22,16 @@ export interface FormProps extends LowCodeWidget.WidgetProps {
|
|
|
22
22
|
/** 名称显示样式 */
|
|
23
23
|
overLabelDisplay?: string;
|
|
24
24
|
}
|
|
25
|
+
/** Rdo表单容器属性 */
|
|
26
|
+
export interface RdoFormProps extends LowCodeWidget.WidgetProps {
|
|
27
|
+
model?: string;
|
|
28
|
+
layout: 'horizontal' | 'vertical' | IObject;
|
|
29
|
+
validateRule?: validateRule[];
|
|
30
|
+
readonly?: boolean;
|
|
31
|
+
rdoUniqueFieldKey?: string;
|
|
32
|
+
/** 父模型字段 key */
|
|
33
|
+
refParentModelkey: string;
|
|
34
|
+
}
|
|
25
35
|
/** 流程表单属性(继承 FormProps) */
|
|
26
36
|
export interface FormProcessProps extends FormProps {
|
|
27
37
|
/** 流程 id */
|
|
@@ -382,3 +382,49 @@ export interface SelectSearchProps extends LowCodeWidget.WidgetProps {
|
|
|
382
382
|
/** 暗提示 */
|
|
383
383
|
placeholder?: string;
|
|
384
384
|
}
|
|
385
|
+
/** Rdo表格属性 */
|
|
386
|
+
export interface RdoTableProps extends LowCodeWidget.WidgetProps {
|
|
387
|
+
model: string;
|
|
388
|
+
/**rdo 下面的父标识key 之前默认是name_ */
|
|
389
|
+
rdoUniqueFieldKey?: string;
|
|
390
|
+
/**关联查询 */
|
|
391
|
+
refSearch?: string;
|
|
392
|
+
/**分页 */
|
|
393
|
+
pageSize: number;
|
|
394
|
+
/**排序 */
|
|
395
|
+
collation: {
|
|
396
|
+
collationField: string;
|
|
397
|
+
collationSort: sortTypeEnum;
|
|
398
|
+
}[];
|
|
399
|
+
/**过滤表达式 */
|
|
400
|
+
datafilter: {
|
|
401
|
+
key: string;
|
|
402
|
+
value: string;
|
|
403
|
+
}[] | {
|
|
404
|
+
dataRule: string;
|
|
405
|
+
dataRuleConfig: string;
|
|
406
|
+
};
|
|
407
|
+
/**初始化加载 */
|
|
408
|
+
initLoad: boolean;
|
|
409
|
+
/**刷新当前 */
|
|
410
|
+
currentReload: boolean;
|
|
411
|
+
/**自定义搜索条件 */
|
|
412
|
+
customHeader: boolean;
|
|
413
|
+
/**全屏 */
|
|
414
|
+
fullScreen: boolean;
|
|
415
|
+
/**表格序号 */
|
|
416
|
+
serialNumber: boolean;
|
|
417
|
+
exp: string;
|
|
418
|
+
/**表头排序 */
|
|
419
|
+
headerSort: boolean;
|
|
420
|
+
/**默认展开 */
|
|
421
|
+
defaultExpand: boolean;
|
|
422
|
+
/**自适应 */
|
|
423
|
+
autoResize: boolean;
|
|
424
|
+
/** 多级表头 */
|
|
425
|
+
levelHeaderGrouping?: IObject[];
|
|
426
|
+
/** 多级表头开关 */
|
|
427
|
+
multiLevelHeader?: boolean;
|
|
428
|
+
/** 行拖拽 */
|
|
429
|
+
rowdraggable: boolean;
|
|
430
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LowCodeModal, LowCodeWidget } from '..';
|
|
2
|
-
import { InputProps, UploadFileProps, FormProps, DescriptionsProps, DataTableProps, DataListProps, ButtonProps, SelectProps, RadioProps, NumberProps, DoubleProps, MoneyProps, DateTimeProps, TimeProps, DateProps, UserProps, DeptProps, SwitchProps, SearchProps, QuickSearchProps, ExportProps, ProcessButtonProps, LayoutProps, GridProps, GridColProps, ColumnsProps, ButtonContainerProps, SubTableProps, WorkflowNodesProps, LabelPrintProps, TabsProps, RefDataTableProps, TabPaneProps, ReadonlyCmpProps, CustomFieldProps, OperateProps, OperateButtonProps, ColumnTableProps, FormulaProps, TableSelectProps, GenRadioProps, GenSwitchProps, EsopProps, ExpressionProps, AggProps, treeTableProps, BaseButtonProps, DynamicTableProps, TransactionProps, SerialRuleProps, SelectSearchProps, TextProps, CollapseProps, SpaceOccupationProps, PrinterProps, SignatureProps, OnlineFormProps, TmplTreeSelectProps, DocumentPrintProps, RangeUserProps, GenImageProps, IframeProps, SubDataTableProps, ResetButtonProps, FormProcessProps, ApprovalHistoryProps, FlowDiagramProps, approveButtonProps, ButtonProcessContainerProps, BizProcessProps, TableApproveButtonProps, CustomCodeProps, ApprovalProcessProps, DividerProps, CardListProps, CardHeaderLeftProps, CardHeaderRightProps, CardContentProps, CardOpeBtnProps } from './widget-props';
|
|
2
|
+
import { InputProps, UploadFileProps, FormProps, DescriptionsProps, DataTableProps, DataListProps, ButtonProps, SelectProps, RadioProps, NumberProps, DoubleProps, MoneyProps, DateTimeProps, TimeProps, DateProps, UserProps, DeptProps, SwitchProps, SearchProps, QuickSearchProps, ExportProps, ProcessButtonProps, LayoutProps, GridProps, GridColProps, ColumnsProps, ButtonContainerProps, SubTableProps, WorkflowNodesProps, LabelPrintProps, TabsProps, RefDataTableProps, TabPaneProps, ReadonlyCmpProps, CustomFieldProps, OperateProps, OperateButtonProps, ColumnTableProps, FormulaProps, TableSelectProps, GenRadioProps, GenSwitchProps, EsopProps, ExpressionProps, AggProps, treeTableProps, BaseButtonProps, DynamicTableProps, TransactionProps, SerialRuleProps, SelectSearchProps, TextProps, CollapseProps, SpaceOccupationProps, PrinterProps, SignatureProps, OnlineFormProps, TmplTreeSelectProps, DocumentPrintProps, RangeUserProps, GenImageProps, IframeProps, SubDataTableProps, ResetButtonProps, FormProcessProps, ApprovalHistoryProps, FlowDiagramProps, approveButtonProps, ButtonProcessContainerProps, BizProcessProps, TableApproveButtonProps, CustomCodeProps, ApprovalProcessProps, DividerProps, CardListProps, CardHeaderLeftProps, CardHeaderRightProps, CardContentProps, CardOpeBtnProps, RdoFormProps, RdoTableProps } from './widget-props';
|
|
3
3
|
import { FormComponents, DisplayEnums } from '@gct-paas/core';
|
|
4
4
|
import { LinkageItem } from '../common/data-linkage-config';
|
|
5
5
|
export interface Userpicker extends LowCodeWidget.BasicSchema {
|
|
@@ -65,6 +65,9 @@ export interface Input extends LowCodeWidget.BasicSchema {
|
|
|
65
65
|
export interface Form extends LowCodeWidget.BasicSchema {
|
|
66
66
|
props: FormProps;
|
|
67
67
|
}
|
|
68
|
+
export interface MedProRdoForm extends LowCodeWidget.BasicSchema {
|
|
69
|
+
props: RdoFormProps;
|
|
70
|
+
}
|
|
68
71
|
export interface FormProcess extends LowCodeWidget.BasicSchema {
|
|
69
72
|
props: FormProcessProps;
|
|
70
73
|
}
|
|
@@ -113,6 +116,33 @@ export interface DataTable extends LowCodeWidget.BasicSchema {
|
|
|
113
116
|
SubDataTable
|
|
114
117
|
];
|
|
115
118
|
}
|
|
119
|
+
export interface MedProRdoTable extends LowCodeWidget.BasicSchema {
|
|
120
|
+
props: RdoTableProps;
|
|
121
|
+
children: [
|
|
122
|
+
OperateTable,
|
|
123
|
+
{
|
|
124
|
+
alias: string;
|
|
125
|
+
props?: IData;
|
|
126
|
+
children: (FormulaTable | ColumnTable)[];
|
|
127
|
+
preLocation?: string;
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
alias: string;
|
|
131
|
+
props?: IData;
|
|
132
|
+
children: OperateButton[];
|
|
133
|
+
preLocation?: string;
|
|
134
|
+
visibleButtons?: number;
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
alias: string;
|
|
138
|
+
props?: IData;
|
|
139
|
+
children: OperateButton[];
|
|
140
|
+
preLocation?: string;
|
|
141
|
+
visibleButtons?: number;
|
|
142
|
+
},
|
|
143
|
+
SubDataTable
|
|
144
|
+
];
|
|
145
|
+
}
|
|
116
146
|
export interface TreeTable extends LowCodeWidget.BasicSchema {
|
|
117
147
|
props: treeTableProps;
|
|
118
148
|
children: [
|
|
@@ -384,7 +414,7 @@ export interface Mapping {
|
|
|
384
414
|
[FormComponents.DataList]: DataList;
|
|
385
415
|
[FormComponents.RdoDataList]: DataList;
|
|
386
416
|
[FormComponents.RdoForm]: Form;
|
|
387
|
-
[FormComponents.MedProRdoForm]:
|
|
417
|
+
[FormComponents.MedProRdoForm]: MedProRdoForm;
|
|
388
418
|
[FormComponents.SerialRule]: SerialRule;
|
|
389
419
|
[FormComponents.CustomField]: CustomField;
|
|
390
420
|
[FormComponents.Descriptions]: Descriptions;
|
|
@@ -396,4 +426,5 @@ export interface Mapping {
|
|
|
396
426
|
[FormComponents.BizProcess]: BizProcess;
|
|
397
427
|
[FormComponents.FormProcess]: FormProcess;
|
|
398
428
|
[FormComponents.ApprovalProcess]: ApprovalProcess;
|
|
429
|
+
[FormComponents.MedProRdoTable]: MedProRdoTable;
|
|
399
430
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gct-paas/schema",
|
|
3
|
-
"version": "0.1.6-dev.
|
|
3
|
+
"version": "0.1.6-dev.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "paas 平台 schema 架构包",
|
|
6
6
|
"loader": "dist/index.esm.min.js",
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"author": "gct",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@gct-paas/api": "^0.1.
|
|
34
|
+
"@gct-paas/api": "^0.1.6-dev.4",
|
|
35
35
|
"dayjs": "1.11.19",
|
|
36
36
|
"lodash-es": "^4.17.23",
|
|
37
37
|
"vue": "^3.5.30",
|
|
38
|
-
"@gct-paas/core": "0.1.6-dev.
|
|
38
|
+
"@gct-paas/core": "0.1.6-dev.6"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@gct-paas/api": "^0.1.
|
|
41
|
+
"@gct-paas/api": "^0.1.6-dev.4",
|
|
42
42
|
"vue": ">=3",
|
|
43
|
-
"@gct-paas/core": "0.1.6-dev.
|
|
43
|
+
"@gct-paas/core": "0.1.6-dev.6"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"dev": "cross-env NODE_ENV=development vite build --watch --config vite.dev.config.ts",
|