@byteluck-fe/model-driven-controls 7.0.0-props.63 → 7.0.0-props.65
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/api-doc-index.js +1 -0
- package/dist/esm/baseControls/Iframe/designer.js +2 -1
- package/dist/esm/layoutControls/BlankContainer/designer.js +191 -0
- package/dist/esm/layoutControls/BlankContainer/index.js +11 -0
- package/dist/esm/layoutControls/BlankContainer/property.js +117 -0
- package/dist/esm/layoutControls/BlankContainer/runtime.js +112 -0
- package/dist/esm/layoutControls/BlankContainer/schema.json +89 -0
- package/dist/esm/layoutControls/index.js +1 -0
- package/dist/index.umd.js +1 -1
- package/dist/types/api-doc-index.d.ts +1 -0
- package/dist/types/layoutControls/BlankContainer/designer.d.ts +13 -0
- package/dist/types/layoutControls/BlankContainer/index.d.ts +12 -0
- package/dist/types/layoutControls/BlankContainer/property.d.ts +74 -0
- package/dist/types/layoutControls/BlankContainer/runtime.d.ts +9 -0
- package/dist/types/layoutControls/index.d.ts +2 -0
- package/dist/types/type.d.ts +2 -1
- package/package.json +5 -5
|
@@ -76,6 +76,7 @@ export { default as Col } from './layoutControls/Col/property';
|
|
|
76
76
|
export { default as Row } from './layoutControls/Row/property';
|
|
77
77
|
export { default as GridRow } from './layoutControls/GridRow/property';
|
|
78
78
|
export { default as CardGroup } from './layoutControls/CardGroup/property';
|
|
79
|
+
export { default as BlankContainer } from './layoutControls/BlankContainer/property';
|
|
79
80
|
export { default as SubTableColumn } from './layoutControls/SubTableColumn/property';
|
|
80
81
|
export { default as SubTableRow } from './layoutControls/SubTableRow/property';
|
|
81
82
|
export { default as GridTableColumn } from './layoutControls/GridTableColumn/property';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DesignerLayoutControl, DesignerControl, SettingOption, LayoutControlSchema } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
import BlankContainerProperty from './property';
|
|
3
|
+
declare class BlankContainerControl extends DesignerLayoutControl {
|
|
4
|
+
static get controlName(): string;
|
|
5
|
+
static get controlIcon(): string;
|
|
6
|
+
static get controlType(): string;
|
|
7
|
+
static excludes: never[];
|
|
8
|
+
static readonly setting: SettingOption[];
|
|
9
|
+
readonly props: BlankContainerProperty;
|
|
10
|
+
constructor(props?: LayoutControlSchema<'blank-container', BlankContainerProperty, DesignerControl>);
|
|
11
|
+
}
|
|
12
|
+
export default BlankContainerControl;
|
|
13
|
+
export { BlankContainerControl as DesignerBlankContainerControl };
|
|
@@ -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,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* name: rok_blank_container
|
|
3
|
+
* description: 空白容器布局组件。用于作为自由编排内容的占位容器。支持标题字体样式、标题居中方式、背景色和阴影开关设置,适合页面分区与内容承载场景。
|
|
4
|
+
*/
|
|
5
|
+
import { RuleItem } from 'async-validator';
|
|
6
|
+
import { LayoutControlProperty, LayoutControlPropertyInterface } from '@byteluck-fe/model-driven-core';
|
|
7
|
+
import { FONT_WEIGHT } from '../../framework';
|
|
8
|
+
declare class BlankContainerPropertyRules extends LayoutControlProperty.Rules {
|
|
9
|
+
caption: RuleItem;
|
|
10
|
+
}
|
|
11
|
+
interface BlankContainerPropertyInterface extends LayoutControlPropertyInterface {
|
|
12
|
+
/**
|
|
13
|
+
* 标题
|
|
14
|
+
* @defaultValue '空白容器'
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
caption: string;
|
|
18
|
+
/**
|
|
19
|
+
* 标题大小
|
|
20
|
+
* @defaultValue ''
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
captionSize: string;
|
|
24
|
+
/**
|
|
25
|
+
* 标题颜色
|
|
26
|
+
* @defaultValue ''
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
captionColor: string;
|
|
30
|
+
/**
|
|
31
|
+
* 标题斜体
|
|
32
|
+
* @defaultValue false
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
isCaptionItalic: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* 标题字重;取值:normal:常规;bold:粗体;lighter:更细;bolder:更粗;
|
|
38
|
+
* @defaultValue 'normal'
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
captionFontWeight: FONT_WEIGHT;
|
|
42
|
+
/**
|
|
43
|
+
* 标题对齐方式;取值:left:左对齐;center:居中;right:右对齐;
|
|
44
|
+
* @defaultValue 'left'
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
position: 'left' | 'center' | 'right';
|
|
48
|
+
/**
|
|
49
|
+
* 背景色
|
|
50
|
+
* @defaultValue ''
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
backgroundColor: string;
|
|
54
|
+
/**
|
|
55
|
+
* 是否开启阴影
|
|
56
|
+
* @defaultValue false
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
showShadow: boolean;
|
|
60
|
+
}
|
|
61
|
+
declare class BlankContainerProperty extends LayoutControlProperty implements BlankContainerPropertyInterface {
|
|
62
|
+
static readonly Rules: typeof BlankContainerPropertyRules;
|
|
63
|
+
caption: string;
|
|
64
|
+
captionSize: string;
|
|
65
|
+
captionColor: string;
|
|
66
|
+
isCaptionItalic: boolean;
|
|
67
|
+
captionFontWeight: FONT_WEIGHT;
|
|
68
|
+
position: 'left' | 'center' | 'right';
|
|
69
|
+
backgroundColor: string;
|
|
70
|
+
showShadow: boolean;
|
|
71
|
+
constructor(props?: Partial<BlankContainerProperty>);
|
|
72
|
+
}
|
|
73
|
+
export default BlankContainerProperty;
|
|
74
|
+
export { BlankContainerProperty, BlankContainerPropertyInterface, BlankContainerPropertyRules, };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RuntimeControl, RuntimeLayoutControl, LayoutControlSchema } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
import BlankContainerProperty from './property';
|
|
3
|
+
declare class BlankContainerControl extends RuntimeLayoutControl {
|
|
4
|
+
static get controlType(): string;
|
|
5
|
+
readonly props: BlankContainerProperty;
|
|
6
|
+
constructor(props?: LayoutControlSchema<'blank-container', BlankContainerProperty, RuntimeControl>);
|
|
7
|
+
}
|
|
8
|
+
export default BlankContainerControl;
|
|
9
|
+
export { BlankContainerControl as RuntimeBlankContainerControl };
|
|
@@ -8,6 +8,8 @@ export { default as GridRow } from './GridRow';
|
|
|
8
8
|
export type { GridRowPropertyInterface } from './GridRow';
|
|
9
9
|
export { default as CardGroup } from './CardGroup';
|
|
10
10
|
export type { CardGroupPropertyInterface } from './CardGroup';
|
|
11
|
+
export { default as BlankContainer } from './BlankContainer';
|
|
12
|
+
export type { BlankContainerPropertyInterface } from './BlankContainer';
|
|
11
13
|
export { default as SubTableColumn } from './SubTableColumn';
|
|
12
14
|
export type { SubTableColumnPropertyInterface } from './SubTableColumn';
|
|
13
15
|
export { default as SubTableRow } from './SubTableRow';
|
package/dist/types/type.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Divider, Text, Link, Iframe, Button, Title, CreateFormListButton, BatchSubmissionListButton, SubmissionRecordListButton, ImportRecordListButton, ExportRecordListButton, ExportListButton, FormSelectButton, ListSelectButton, Pagination, Dashboard, ListViewSelect, TextOcrButton, InvoiceCheckButton, BatchPrintListButton, BatchPrintRecordListButton, OperationButton, ReferenceList, CommentControl } from './baseControls';
|
|
2
2
|
import { Address, Amount, Attachment, AutoNumber, Checkbox, Cascader, Counter, DatePicker, DateRange, Department, Employee, Image, Input, Number, Slider, Switch, Radio, Score, Select, SelectMultiple, Textarea, RichText, Calc, SearchNumberRange, SearchDateRange, SearchInput, VueFormItem, SelectRelation, TimeRange, TimePicker, Tree, Employee2, ElectronicSignature, WPS, Department2, OrganizationSelection, VuePage, Tag, Barcode, QrCode } 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, Collapse, CollapsePane } from './layoutControls';
|
|
3
|
+
import { CardGroup, BlankContainer, Col, Grid, GridRow, Row, SubTableColumn, SubTableRow, GridTableColumn, GridLayoutContainer, Tab, TabPane, Toolbox, ListView, DataView, Page, AdvancedContainer, PositioningContainer, Position, ActionBar, Step, StepPane, TableLayout, TableLayoutRow, TableLayoutCol, TableLayoutWrapper, Collapse, CollapsePane } 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, GroupColumn } from './columnControls';
|
|
6
6
|
import { SimpleSearch } from './searchControls';
|
|
@@ -77,6 +77,7 @@ declare module '@byteluck-fe/model-driven-core' {
|
|
|
77
77
|
'subtable-column': typeof SubTableColumn;
|
|
78
78
|
'subtable-row': typeof SubTableRow;
|
|
79
79
|
'card-group': typeof CardGroup;
|
|
80
|
+
'blank-container': typeof BlankContainer;
|
|
80
81
|
col: typeof Col;
|
|
81
82
|
grid: typeof Grid;
|
|
82
83
|
'grid-row': typeof GridRow;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-controls",
|
|
3
|
-
"version": "7.0.0-props.
|
|
3
|
+
"version": "7.0.0-props.65",
|
|
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": "7.0.0-props.
|
|
30
|
-
"@byteluck-fe/model-driven-settings": "7.0.0-props.
|
|
31
|
-
"@byteluck-fe/model-driven-shared": "7.0.0-props.
|
|
29
|
+
"@byteluck-fe/model-driven-core": "7.0.0-props.64",
|
|
30
|
+
"@byteluck-fe/model-driven-settings": "7.0.0-props.64",
|
|
31
|
+
"@byteluck-fe/model-driven-shared": "7.0.0-props.64",
|
|
32
32
|
"async-validator": "3.5.1"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "507386d9e7df66e39c304f5ece351e7c4902f1fb"
|
|
35
35
|
}
|