@byteluck-fe/model-driven-controls 6.2.0-1-beta.7 → 6.2.0-1-beta.10
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.
- package/dist/esm/baseControls/Text/designer.js +4 -0
- package/dist/esm/formControls/Address/designer.js +9 -0
- package/dist/esm/formControls/Amount/designer.js +9 -0
- package/dist/esm/formControls/Attachment/designer.js +9 -0
- package/dist/esm/formControls/AutoNumber/designer.js +9 -0
- package/dist/esm/formControls/Calc/designer.js +9 -0
- package/dist/esm/formControls/Checkbox/designer.js +9 -0
- package/dist/esm/formControls/DatePicker/designer.js +9 -0
- package/dist/esm/formControls/DateRange/designer.js +9 -0
- package/dist/esm/formControls/Department/designer.js +9 -0
- package/dist/esm/formControls/Department2/designer.js +9 -0
- package/dist/esm/formControls/DisplayText/designer.js +179 -0
- package/dist/esm/formControls/DisplayText/index.js +11 -0
- package/dist/esm/formControls/DisplayText/property.js +109 -0
- package/dist/esm/formControls/DisplayText/runtime.js +112 -0
- package/dist/esm/formControls/DisplayText/types.js +0 -0
- package/dist/esm/formControls/ElectronicSignature/designer.js +9 -0
- package/dist/esm/formControls/Employee/designer.js +9 -0
- package/dist/esm/formControls/Employee2/designer.js +9 -0
- package/dist/esm/formControls/Employee2/property.js +2 -1
- package/dist/esm/formControls/Image/designer.js +9 -0
- package/dist/esm/formControls/Image/property.js +6 -3
- package/dist/esm/formControls/Input/designer.js +9 -0
- package/dist/esm/formControls/Number/designer.js +9 -0
- package/dist/esm/formControls/OrganizationSelection/designer.js +9 -0
- package/dist/esm/formControls/Radio/designer.js +9 -0
- package/dist/esm/formControls/RichText/designer.js +9 -0
- package/dist/esm/formControls/Score/designer.js +9 -0
- package/dist/esm/formControls/SearchDateRange/designer.js +9 -0
- package/dist/esm/formControls/SearchInput/designer.js +9 -0
- package/dist/esm/formControls/SearchNumberRange/designer.js +9 -0
- package/dist/esm/formControls/Select/designer.js +9 -0
- package/dist/esm/formControls/SelectMultiple/designer.js +9 -0
- package/dist/esm/formControls/SelectRelation/designer.js +9 -0
- package/dist/esm/formControls/Textarea/designer.js +9 -0
- package/dist/esm/formControls/Tree/designer.js +9 -0
- package/dist/esm/formControls/VueFormItem/designer.js +9 -0
- package/dist/esm/formControls/WPS/designer.js +9 -0
- package/dist/esm/formControls/index.js +1 -0
- package/dist/esm/framework.js +10 -5
- package/dist/esm/layoutControls/TableLayoutCol/designer.js +146 -0
- package/dist/esm/layoutControls/TableLayoutCol/index.js +11 -0
- package/dist/esm/layoutControls/TableLayoutCol/property.js +111 -0
- package/dist/esm/layoutControls/TableLayoutCol/runtime.js +112 -0
- package/dist/esm/layoutControls/TableLayoutCol/types.js +0 -0
- package/dist/esm/layoutControls/TableLayoutRow/designer.js +136 -0
- package/dist/esm/layoutControls/TableLayoutRow/index.js +11 -0
- package/dist/esm/layoutControls/TableLayoutRow/property.js +92 -0
- package/dist/esm/layoutControls/TableLayoutRow/runtime.js +112 -0
- package/dist/esm/layoutControls/TableLayoutRow/types.js +0 -0
- package/dist/esm/layoutControls/TableLayoutWrapper/designer.js +132 -0
- package/dist/esm/layoutControls/TableLayoutWrapper/index.js +11 -0
- package/dist/esm/layoutControls/TableLayoutWrapper/property.js +93 -0
- package/dist/esm/layoutControls/TableLayoutWrapper/runtime.js +112 -0
- package/dist/esm/layoutControls/TableLayoutWrapper/types.js +0 -0
- package/dist/esm/layoutControls/index.js +3 -0
- package/dist/index.umd.js +1 -1
- package/dist/types/formControls/DisplayText/designer.d.ts +12 -0
- package/dist/types/formControls/DisplayText/index.d.ts +12 -0
- package/dist/types/formControls/DisplayText/property.d.ts +18 -0
- package/dist/types/formControls/DisplayText/runtime.d.ts +10 -0
- package/dist/types/formControls/DisplayText/types.d.ts +0 -0
- package/dist/types/formControls/index.d.ts +1 -0
- package/dist/types/framework.d.ts +19 -19
- package/dist/types/layoutControls/TableLayoutCol/designer.d.ts +15 -0
- package/dist/types/layoutControls/TableLayoutCol/index.d.ts +12 -0
- package/dist/types/layoutControls/TableLayoutCol/property.d.ts +14 -0
- package/dist/types/layoutControls/TableLayoutCol/runtime.d.ts +10 -0
- package/dist/types/layoutControls/TableLayoutCol/types.d.ts +0 -0
- package/dist/types/layoutControls/TableLayoutRow/designer.d.ts +15 -0
- package/dist/types/layoutControls/TableLayoutRow/index.d.ts +12 -0
- package/dist/types/layoutControls/TableLayoutRow/property.d.ts +8 -0
- package/dist/types/layoutControls/TableLayoutRow/runtime.d.ts +11 -0
- package/dist/types/layoutControls/TableLayoutRow/types.d.ts +0 -0
- package/dist/types/layoutControls/TableLayoutWrapper/designer.d.ts +13 -0
- package/dist/types/layoutControls/TableLayoutWrapper/index.d.ts +12 -0
- package/dist/types/layoutControls/TableLayoutWrapper/property.d.ts +8 -0
- package/dist/types/layoutControls/TableLayoutWrapper/runtime.d.ts +10 -0
- package/dist/types/layoutControls/TableLayoutWrapper/types.d.ts +0 -0
- package/dist/types/layoutControls/index.d.ts +3 -0
- package/dist/types/type.d.ts +6 -2
- package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DesignerFormControl, Schema, SettingOption } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
import DisplayTextProperty from './property';
|
|
3
|
+
declare class DisplayTextControl extends DesignerFormControl {
|
|
4
|
+
static get controlName(): string;
|
|
5
|
+
static get controlIcon(): string;
|
|
6
|
+
static get controlType(): string;
|
|
7
|
+
static readonly setting: SettingOption[];
|
|
8
|
+
readonly props: DisplayTextProperty;
|
|
9
|
+
constructor(props?: Partial<Schema<'display-text'>>);
|
|
10
|
+
}
|
|
11
|
+
export default DisplayTextControl;
|
|
12
|
+
export { DisplayTextControl as DesignerTextControl };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Designer from './designer';
|
|
2
|
+
import Runtime from './runtime';
|
|
3
|
+
import Property from './property';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
Designer: typeof Designer;
|
|
6
|
+
Runtime: typeof Runtime;
|
|
7
|
+
Property: typeof Property;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export * from './designer';
|
|
11
|
+
export * from './runtime';
|
|
12
|
+
export * from './property';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseControlProperty } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
declare class DisplayTextProperty extends BaseControlProperty {
|
|
3
|
+
content: string;
|
|
4
|
+
fontSize: string;
|
|
5
|
+
color: string;
|
|
6
|
+
icon: string;
|
|
7
|
+
align: string;
|
|
8
|
+
showState: 'text' | 'imageText' | 'image';
|
|
9
|
+
/**
|
|
10
|
+
* ai 显示内容搜索 false | true
|
|
11
|
+
* @defaultValue false
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
aiContentSearch: boolean;
|
|
15
|
+
constructor(props?: Partial<DisplayTextProperty>);
|
|
16
|
+
}
|
|
17
|
+
export default DisplayTextProperty;
|
|
18
|
+
export { DisplayTextProperty };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RuntimeFormControl } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
import TextProperty from './property';
|
|
3
|
+
import { Schema } from '@byteluck-fe/model-driven-core';
|
|
4
|
+
declare class TextControl extends RuntimeFormControl {
|
|
5
|
+
static get controlType(): string;
|
|
6
|
+
readonly props: TextProperty;
|
|
7
|
+
constructor(props?: Partial<Schema<'display-text'>>);
|
|
8
|
+
}
|
|
9
|
+
export default TextControl;
|
|
10
|
+
export { TextControl as RuntimeTextControl };
|
|
File without changes
|
|
@@ -6,6 +6,7 @@ export { default as DatePicker } from './DatePicker';
|
|
|
6
6
|
export { default as DateRange } from './DateRange';
|
|
7
7
|
export { default as Textarea } from './Textarea';
|
|
8
8
|
export { default as RichText } from './RichText';
|
|
9
|
+
export { default as DisplayText } from './DisplayText';
|
|
9
10
|
export { default as Select } from './Select';
|
|
10
11
|
export { default as SelectMultiple } from './SelectMultiple';
|
|
11
12
|
export { default as Employee } from './Employee';
|
|
@@ -11,17 +11,17 @@ export declare enum TitleConfigEnum {
|
|
|
11
11
|
* 时间范围类型
|
|
12
12
|
*/
|
|
13
13
|
export declare enum DATE_CONFIG_TYPE {
|
|
14
|
-
EARLY_DATE = "earlyDate"
|
|
15
|
-
LATE_DATE = "lateDate"
|
|
14
|
+
EARLY_DATE = "earlyDate",
|
|
15
|
+
LATE_DATE = "lateDate",
|
|
16
16
|
UN_SELECT_ABLE_INTERVAL = "unSelectAbleInterval"
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* 时间限制类型
|
|
20
20
|
*/
|
|
21
21
|
export declare enum DATE_LIMIT_TYPE {
|
|
22
|
-
FILE_IN_TIME = "filledInTime"
|
|
23
|
-
BEFORE_TIME = "beforeTime"
|
|
24
|
-
AFTER_TIME = "afterTime"
|
|
22
|
+
FILE_IN_TIME = "filledInTime",
|
|
23
|
+
BEFORE_TIME = "beforeTime",
|
|
24
|
+
AFTER_TIME = "afterTime",
|
|
25
25
|
TIME_SPECIFIED = "timeSpecified"
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
@@ -53,11 +53,11 @@ export declare class Explain {
|
|
|
53
53
|
constructor(props?: Explain);
|
|
54
54
|
}
|
|
55
55
|
export declare enum LINE_STYLE {
|
|
56
|
-
SOLID = "solid-line"
|
|
57
|
-
DASHED = "dashed-line"
|
|
58
|
-
BOLD_SOLID = "bold-solid-line"
|
|
59
|
-
BOLD_DASHED = "bold-dashed-line"
|
|
60
|
-
DOUBLE_SOLID = "double-solid-line"
|
|
56
|
+
SOLID = "solid-line",
|
|
57
|
+
DASHED = "dashed-line",
|
|
58
|
+
BOLD_SOLID = "bold-solid-line",
|
|
59
|
+
BOLD_DASHED = "bold-dashed-line",
|
|
60
|
+
DOUBLE_SOLID = "double-solid-line",
|
|
61
61
|
DOUBLE_DASHED = "double-dashed-line"
|
|
62
62
|
}
|
|
63
63
|
export declare class UndersignedPerson {
|
|
@@ -228,8 +228,8 @@ export declare class FlexStyleConfig {
|
|
|
228
228
|
* 加密类型
|
|
229
229
|
*/
|
|
230
230
|
export declare enum EncryptTypeEnum {
|
|
231
|
-
NO_MASK = "NO_MASK"
|
|
232
|
-
LAST_FOUR_MASK = "LAST_FOUR_MASK"
|
|
231
|
+
NO_MASK = "NO_MASK",
|
|
232
|
+
LAST_FOUR_MASK = "LAST_FOUR_MASK",
|
|
233
233
|
ALL_MASK = "ALL_MASK"
|
|
234
234
|
}
|
|
235
235
|
/**
|
|
@@ -237,8 +237,8 @@ export declare enum EncryptTypeEnum {
|
|
|
237
237
|
*/
|
|
238
238
|
export declare enum OrganizeType {
|
|
239
239
|
ALL = "ALL",
|
|
240
|
-
INTERNAL = "INTERNAL"
|
|
241
|
-
EXTERNAL = "EXTERNAL"
|
|
240
|
+
INTERNAL = "INTERNAL",
|
|
241
|
+
EXTERNAL = "EXTERNAL",
|
|
242
242
|
INTERNAL_EXTERNAL = "INTERNAL_EXTERNAL"
|
|
243
243
|
}
|
|
244
244
|
/**
|
|
@@ -246,28 +246,28 @@ export declare enum OrganizeType {
|
|
|
246
246
|
*/
|
|
247
247
|
export declare enum DepartmentType {
|
|
248
248
|
INTERNAL_BUSINESS = "INTERNAL_BUSINESS",
|
|
249
|
-
INTERNAL = "INTERNAL"
|
|
249
|
+
INTERNAL = "INTERNAL",
|
|
250
250
|
BUSINESS = "BUSINESS"
|
|
251
251
|
}
|
|
252
252
|
/**
|
|
253
253
|
* 指定或者全部
|
|
254
254
|
*/
|
|
255
255
|
export declare enum AssignType {
|
|
256
|
-
ALL = "all"
|
|
256
|
+
ALL = "all",
|
|
257
257
|
ASSIGN = "assign"
|
|
258
258
|
}
|
|
259
259
|
/**
|
|
260
260
|
* 内部组织类型
|
|
261
261
|
*/
|
|
262
262
|
export declare enum InternalType {
|
|
263
|
-
ALL = "all"
|
|
263
|
+
ALL = "all",
|
|
264
264
|
ADMIN = "admin"
|
|
265
265
|
}
|
|
266
266
|
/**
|
|
267
267
|
* 图片压缩类型
|
|
268
268
|
*/
|
|
269
269
|
export declare enum ImageCompressType {
|
|
270
|
-
NO_COMPRESS = "0"
|
|
271
|
-
RATIO_COMPRESS = "1"
|
|
270
|
+
NO_COMPRESS = "0",
|
|
271
|
+
RATIO_COMPRESS = "1",
|
|
272
272
|
PIXEL_COMPRESS = "2"
|
|
273
273
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CONTROL_TYPE } from '@byteluck-fe/model-driven-shared';
|
|
2
|
+
import { DesignerLayoutControl, DesignerControl, LayoutControlSchema, SettingOption } from '@byteluck-fe/model-driven-core';
|
|
3
|
+
import TableLayoutColControlProperty from './property';
|
|
4
|
+
declare class TableLayoutColControl extends DesignerLayoutControl {
|
|
5
|
+
static get controlName(): string;
|
|
6
|
+
static get controlType(): string;
|
|
7
|
+
static get controlIcon(): string;
|
|
8
|
+
static excludes: CONTROL_TYPE[];
|
|
9
|
+
static childrenMaxLength: number;
|
|
10
|
+
static readonly setting: SettingOption[];
|
|
11
|
+
props: TableLayoutColControlProperty;
|
|
12
|
+
constructor(props?: Partial<LayoutControlSchema<'table-layout-col', TableLayoutColControlProperty, DesignerControl>>);
|
|
13
|
+
}
|
|
14
|
+
export default TableLayoutColControl;
|
|
15
|
+
export { TableLayoutColControl as DesignerTableLayoutColControl };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Designer from './designer';
|
|
2
|
+
import Runtime from './runtime';
|
|
3
|
+
import Property from './property';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
Designer: typeof Designer;
|
|
6
|
+
Runtime: typeof Runtime;
|
|
7
|
+
Property: typeof Property;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export * from './designer';
|
|
11
|
+
export * from './runtime';
|
|
12
|
+
export * from './property';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
declare class TableLayoutColControlProperty extends LayoutControlProperty {
|
|
3
|
+
span: number;
|
|
4
|
+
offset: number;
|
|
5
|
+
tableLayoutColSpan: number;
|
|
6
|
+
tableLayoutColSpanType: '' | 'full' | 'custom';
|
|
7
|
+
layout: 'flex' | 'block';
|
|
8
|
+
flexDirection: 'row' | 'column' | 'row-reverse' | 'column-reverse';
|
|
9
|
+
alignItems: 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
|
|
10
|
+
justifyContent: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around';
|
|
11
|
+
constructor(props?: Partial<TableLayoutColControlProperty>);
|
|
12
|
+
}
|
|
13
|
+
export default TableLayoutColControlProperty;
|
|
14
|
+
export { TableLayoutColControlProperty };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RuntimeControl, RuntimeLayoutControl } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
import TableLayoutColControlProperty from './property';
|
|
3
|
+
import { LayoutControlSchema } from '@byteluck-fe/model-driven-core';
|
|
4
|
+
declare class TableLayoutColControl extends RuntimeLayoutControl {
|
|
5
|
+
static get controlType(): string;
|
|
6
|
+
props: TableLayoutColControlProperty;
|
|
7
|
+
constructor(props?: Partial<LayoutControlSchema<'table-layout-col', TableLayoutColControlProperty, RuntimeControl>>);
|
|
8
|
+
}
|
|
9
|
+
export default TableLayoutColControl;
|
|
10
|
+
export { TableLayoutColControl as RuntimeTableLayoutColControl };
|
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DesignerColControl } from '../Col';
|
|
2
|
+
import { CONTROL_TYPE } from '@byteluck-fe/model-driven-shared';
|
|
3
|
+
import { DesignerLayoutControl, SettingOption, LayoutControlSchema } from '@byteluck-fe/model-driven-core';
|
|
4
|
+
import TableLayoutRowControlProperty from './property';
|
|
5
|
+
declare class TableLayoutRowControl extends DesignerLayoutControl<DesignerColControl> {
|
|
6
|
+
static get controlName(): string;
|
|
7
|
+
static get controlType(): string;
|
|
8
|
+
static get controlIcon(): string;
|
|
9
|
+
static excludes: CONTROL_TYPE[];
|
|
10
|
+
static readonly setting: SettingOption[];
|
|
11
|
+
props: TableLayoutRowControlProperty;
|
|
12
|
+
constructor(props?: LayoutControlSchema<'table-layout-row', TableLayoutRowControlProperty, DesignerColControl>);
|
|
13
|
+
}
|
|
14
|
+
export default TableLayoutRowControl;
|
|
15
|
+
export { TableLayoutRowControl as DesignerTableLayoutRowControl };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Designer from './designer';
|
|
2
|
+
import Runtime from './runtime';
|
|
3
|
+
import Property from './property';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
Designer: typeof Designer;
|
|
6
|
+
Runtime: typeof Runtime;
|
|
7
|
+
Property: typeof Property;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export * from './designer';
|
|
11
|
+
export * from './runtime';
|
|
12
|
+
export * from './property';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
declare class TableLayoutRowControlProperty extends LayoutControlProperty {
|
|
3
|
+
layoutMode: 'select' | 'custom';
|
|
4
|
+
gutter: number;
|
|
5
|
+
constructor(props?: Partial<TableLayoutRowControlProperty>);
|
|
6
|
+
}
|
|
7
|
+
export default TableLayoutRowControlProperty;
|
|
8
|
+
export { TableLayoutRowControlProperty };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { RuntimeColControl } from '../Col';
|
|
2
|
+
import { RuntimeLayoutControl } from '@byteluck-fe/model-driven-core';
|
|
3
|
+
import TableLayoutRowControlProperty from './property';
|
|
4
|
+
import { LayoutControlSchema } from '@byteluck-fe/model-driven-core';
|
|
5
|
+
declare class TableLayoutRowControl extends RuntimeLayoutControl<RuntimeColControl> {
|
|
6
|
+
static get controlType(): string;
|
|
7
|
+
props: TableLayoutRowControlProperty;
|
|
8
|
+
constructor(props?: LayoutControlSchema<'table-layout-row', TableLayoutRowControlProperty, RuntimeColControl>);
|
|
9
|
+
}
|
|
10
|
+
export default TableLayoutRowControl;
|
|
11
|
+
export { TableLayoutRowControl as RuntimeTableLayoutRowControl };
|
|
File without changes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DesignerLayoutControl, DesignerControl, LayoutControlSchema, SettingOption } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
import TableLayoutWrapperControlProperty from './property';
|
|
3
|
+
declare class TableLayoutWrapperControl extends DesignerLayoutControl {
|
|
4
|
+
static get controlName(): string;
|
|
5
|
+
static get controlType(): string;
|
|
6
|
+
static get controlIcon(): string;
|
|
7
|
+
static excludes: never[];
|
|
8
|
+
static readonly setting: SettingOption[];
|
|
9
|
+
props: TableLayoutWrapperControlProperty;
|
|
10
|
+
constructor(props?: Partial<LayoutControlSchema<'table-layout-wrapper', TableLayoutWrapperControlProperty, DesignerControl>>);
|
|
11
|
+
}
|
|
12
|
+
export default TableLayoutWrapperControl;
|
|
13
|
+
export { TableLayoutWrapperControl as DesignerTableLayoutWrapperControl };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Designer from './designer';
|
|
2
|
+
import Runtime from './runtime';
|
|
3
|
+
import Property from './property';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
Designer: typeof Designer;
|
|
6
|
+
Runtime: typeof Runtime;
|
|
7
|
+
Property: typeof Property;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export * from './designer';
|
|
11
|
+
export * from './runtime';
|
|
12
|
+
export * from './property';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
declare class TableLayoutWrapperControlProperty extends LayoutControlProperty {
|
|
3
|
+
width: string;
|
|
4
|
+
widthCompany: 'px' | '%' | 'fill';
|
|
5
|
+
constructor(props?: Partial<TableLayoutWrapperControlProperty>);
|
|
6
|
+
}
|
|
7
|
+
export default TableLayoutWrapperControlProperty;
|
|
8
|
+
export { TableLayoutWrapperControlProperty };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RuntimeControl, RuntimeLayoutControl } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
import TableLayoutWrapperControlProperty from './property';
|
|
3
|
+
import { LayoutControlSchema } from '@byteluck-fe/model-driven-core';
|
|
4
|
+
declare class TableLayoutWrapperControl extends RuntimeLayoutControl {
|
|
5
|
+
static get controlType(): string;
|
|
6
|
+
props: TableLayoutWrapperControlProperty;
|
|
7
|
+
constructor(props?: Partial<LayoutControlSchema<'table-layout-wrapper', TableLayoutWrapperControlProperty, RuntimeControl>>);
|
|
8
|
+
}
|
|
9
|
+
export default TableLayoutWrapperControl;
|
|
10
|
+
export { TableLayoutWrapperControl as RuntimeTableLayoutWrapperControl };
|
|
File without changes
|
|
@@ -20,3 +20,6 @@ export { default as ActionBar } from './ActionBar';
|
|
|
20
20
|
export { default as Step } from './Step';
|
|
21
21
|
export { default as StepPane } from './StepPane';
|
|
22
22
|
export { default as TableLayout } from './TableLayout';
|
|
23
|
+
export { default as TableLayoutRow } from './TableLayoutRow';
|
|
24
|
+
export { default as TableLayoutCol } from './TableLayoutCol';
|
|
25
|
+
export { default as TableLayoutWrapper } from './TableLayoutWrapper';
|
package/dist/types/type.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Divider, Text, Link, Button, Title, CreateFormListButton, BatchSubmissionListButton, SubmissionRecordListButton, ImportRecordListButton, ExportRecordListButton, ExportListButton, FormSelectButton, ListSelectButton, Pagination, Dashboard, ListViewSelect, TextOcrButton, InvoiceCheckButton, BatchPrintListButton, BatchPrintRecordListButton, OperationButton, ReferenceList } from './baseControls';
|
|
2
|
-
import { Address, Amount, Attachment, AutoNumber, Checkbox, DatePicker, DateRange, Department, Employee, Image, Input, Number, Radio, Score, Select, SelectMultiple, Textarea, RichText, Calc, SearchNumberRange, SearchDateRange, SearchInput, VueFormItem, SelectRelation, Tree, Employee2, ElectronicSignature, WPS, Department2, OrganizationSelection, VuePage } from './formControls';
|
|
3
|
-
import { CardGroup, Col, Grid, GridRow, Row, SubTableColumn, SubTableRow, GridTableColumn, GridLayoutContainer, Tab, TabPane, Toolbox, ListView, DataView, Page, AdvancedContainer, PositioningContainer, Position, ActionBar, Step, StepPane, TableLayout } from './layoutControls';
|
|
2
|
+
import { Address, Amount, Attachment, AutoNumber, Checkbox, DatePicker, DateRange, Department, Employee, Image, Input, Number, Radio, Score, Select, SelectMultiple, Textarea, RichText, DisplayText, Calc, SearchNumberRange, SearchDateRange, SearchInput, VueFormItem, SelectRelation, Tree, Employee2, ElectronicSignature, WPS, Department2, OrganizationSelection, VuePage } from './formControls';
|
|
3
|
+
import { CardGroup, Col, Grid, GridRow, Row, SubTableColumn, SubTableRow, GridTableColumn, GridLayoutContainer, Tab, TabPane, Toolbox, ListView, DataView, Page, AdvancedContainer, PositioningContainer, Position, ActionBar, Step, StepPane, TableLayout, TableLayoutRow, TableLayoutCol, TableLayoutWrapper } from './layoutControls';
|
|
4
4
|
import { SubTable, GridTable } from './listControls';
|
|
5
5
|
import { VarcharColumn, TextColumn, DecimalColumn, TimescopeColumn, TimestampColumn, ArrayColumn, DepartmentColumn, AutoNumberColumn, FileColumn, ImageColumn, PeopleColumn, LocationColumn, CustomColumn, OrderColumn, OperationColumn, EmployeeColumn, ApprovalStatusColumn } from './columnControls';
|
|
6
6
|
import { SimpleSearch } from './searchControls';
|
|
@@ -49,6 +49,7 @@ declare module '@byteluck-fe/model-driven-core' {
|
|
|
49
49
|
score: typeof Score;
|
|
50
50
|
textarea: typeof Textarea;
|
|
51
51
|
'rich-text': typeof RichText;
|
|
52
|
+
'display-text': typeof DisplayText;
|
|
52
53
|
calc: typeof Calc;
|
|
53
54
|
'search-number-range': typeof SearchNumberRange;
|
|
54
55
|
'search-date-range': typeof SearchDateRange;
|
|
@@ -86,6 +87,9 @@ declare module '@byteluck-fe/model-driven-core' {
|
|
|
86
87
|
step: typeof Step;
|
|
87
88
|
'step-pane': typeof StepPane;
|
|
88
89
|
'table-layout': typeof TableLayout;
|
|
90
|
+
'table-layout-row': typeof TableLayoutRow;
|
|
91
|
+
'table-layout-col': typeof TableLayoutCol;
|
|
92
|
+
'table-layout-wrapper': typeof TableLayoutWrapper;
|
|
89
93
|
}
|
|
90
94
|
interface ListControls {
|
|
91
95
|
subtable: typeof SubTable;
|
|
@@ -5,7 +5,7 @@ declare const _default: {
|
|
|
5
5
|
Designer: typeof Designer;
|
|
6
6
|
Runtime: typeof Runtime;
|
|
7
7
|
Property: typeof Property;
|
|
8
|
-
Setting: import("@byteluck-fe/model-driven-settings").DefineInstanceParams;
|
|
8
|
+
Setting: import("@byteluck-fe/model-driven-settings/dist/types").DefineInstanceParams;
|
|
9
9
|
};
|
|
10
10
|
export default _default;
|
|
11
11
|
export * from './designer';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-controls",
|
|
3
|
-
"version": "6.2.0-1-beta.
|
|
3
|
+
"version": "6.2.0-1-beta.10",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "郝晨光 <2293885211@qq.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"postpublish": "node ../../scripts/postpublish.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@byteluck-fe/model-driven-core": "6.2.0-1-beta.
|
|
30
|
-
"@byteluck-fe/model-driven-settings": "6.2.0-1-beta.
|
|
31
|
-
"@byteluck-fe/model-driven-shared": "6.2.0-1-beta.
|
|
29
|
+
"@byteluck-fe/model-driven-core": "6.2.0-1-beta.9",
|
|
30
|
+
"@byteluck-fe/model-driven-settings": "6.2.0-1-beta.9",
|
|
31
|
+
"@byteluck-fe/model-driven-shared": "6.2.0-1-beta.9",
|
|
32
32
|
"async-validator": "3.5.1"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "588ab7a0af669942037c568bd5dc4afb19e1518a"
|
|
35
35
|
}
|