@byteluck-fe/model-driven-controls 6.1.0-1-beta.1 → 6.1.0-1-beta.2
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/Dashboard/designer.js +4 -0
- package/dist/esm/baseControls/Dashboard/property.js +10 -1
- package/dist/esm/columnControls/EmployeeColumn/designer.js +1 -1
- package/dist/esm/columnControls/TimescopeColumn/designer.js +2 -1
- package/dist/esm/columnControls/TimescopeColumn/property.js +4 -1
- package/dist/esm/columnControls/TimestampColumn/designer.js +2 -1
- package/dist/esm/columnControls/TimestampColumn/property.js +4 -1
- package/dist/esm/formControls/Address/runtime.js +1 -1
- package/dist/esm/formControls/Amount/property.js +1 -1
- package/dist/esm/formControls/DatePicker/designer.js +4 -2
- package/dist/esm/formControls/DatePicker/property.js +3 -0
- package/dist/esm/formControls/DateRange/designer.js +4 -2
- package/dist/esm/formControls/DateRange/property.js +4 -1
- package/dist/esm/formControls/Department2/designer.js +1 -1
- package/dist/esm/formControls/Employee2/designer.js +1 -1
- package/dist/esm/formControls/Image/designer.js +4 -12
- package/dist/esm/formControls/Image/property.js +36 -2
- package/dist/esm/formControls/Image/runtime.js +16 -10
- package/dist/esm/formControls/Number/property.js +1 -1
- package/dist/esm/formControls/OrganizationSelection/designer.js +1 -1
- package/dist/esm/formControls/Tree/designer.js +2 -2
- package/dist/esm/framework.js +8 -0
- package/dist/esm/layoutControls/AdvancedContainer/Setting.js +3 -3
- package/dist/esm/layoutControls/GridTableColumn/designer.js +1 -1
- package/dist/esm/layoutControls/Page/Setting.js +5 -5
- package/dist/esm/layoutControls/PositioningContainer/Setting.js +3 -3
- package/dist/esm/layoutControls/Step/designer.js +166 -0
- package/dist/esm/layoutControls/Step/index.js +11 -0
- package/dist/esm/layoutControls/Step/property.js +103 -0
- package/dist/esm/layoutControls/Step/runtime.js +112 -0
- package/dist/esm/layoutControls/Step/types.js +0 -0
- package/dist/esm/layoutControls/StepPane/designer.js +130 -0
- package/dist/esm/layoutControls/StepPane/index.js +11 -0
- package/dist/esm/layoutControls/StepPane/property.js +123 -0
- package/dist/esm/layoutControls/StepPane/runtime.js +112 -0
- package/dist/esm/layoutControls/StepPane/types.js +0 -0
- package/dist/esm/layoutControls/index.js +2 -0
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/Dashboard/property.d.ts +5 -1
- package/dist/types/columnControls/TimescopeColumn/property.d.ts +1 -0
- package/dist/types/columnControls/TimestampColumn/property.d.ts +1 -0
- package/dist/types/formControls/DatePicker/property.d.ts +1 -0
- package/dist/types/formControls/DateRange/property.d.ts +1 -0
- package/dist/types/formControls/Image/designer.d.ts +2 -0
- package/dist/types/formControls/Image/property.d.ts +3 -0
- package/dist/types/formControls/Image/runtime.d.ts +2 -0
- package/dist/types/framework.d.ts +8 -0
- package/dist/types/layoutControls/Step/designer.d.ts +14 -0
- package/dist/types/layoutControls/Step/index.d.ts +12 -0
- package/dist/types/layoutControls/Step/property.d.ts +11 -0
- package/dist/types/layoutControls/Step/runtime.d.ts +9 -0
- package/dist/types/layoutControls/Step/types.d.ts +0 -0
- package/dist/types/layoutControls/StepPane/designer.d.ts +14 -0
- package/dist/types/layoutControls/StepPane/index.d.ts +12 -0
- package/dist/types/layoutControls/StepPane/property.d.ts +14 -0
- package/dist/types/layoutControls/StepPane/runtime.d.ts +9 -0
- package/dist/types/layoutControls/StepPane/types.d.ts +0 -0
- package/dist/types/layoutControls/index.d.ts +2 -0
- package/dist/types/type.d.ts +3 -1
- package/package.json +5 -5
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { Property, PropertyRules } from '@byteluck-fe/model-driven-core';
|
|
2
|
-
import { RuleItem } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
import { RuleItem, FieldFilterCondition, FieldFilterConditions } from '@byteluck-fe/model-driven-core';
|
|
3
3
|
declare class DashboardPropertyRules extends PropertyRules {
|
|
4
4
|
dashboardKey: RuleItem;
|
|
5
5
|
caption: RuleItem;
|
|
6
6
|
isHideCaption: RuleItem;
|
|
7
7
|
labelPosition: RuleItem;
|
|
8
8
|
captionTip: RuleItem;
|
|
9
|
+
isShowReportParams: RuleItem;
|
|
10
|
+
reportParams: RuleItem;
|
|
9
11
|
constructor(props: DashboardProperty);
|
|
10
12
|
}
|
|
11
13
|
declare class DashboardProperty extends Property {
|
|
@@ -16,6 +18,8 @@ declare class DashboardProperty extends Property {
|
|
|
16
18
|
isShowCaptionTip: boolean;
|
|
17
19
|
captionTip: string;
|
|
18
20
|
labelPosition: 'top' | 'left';
|
|
21
|
+
isShowReportParams: boolean;
|
|
22
|
+
reportParams: Array<FieldFilterCondition | FieldFilterConditions>[];
|
|
19
23
|
constructor(props?: Partial<DashboardProperty>);
|
|
20
24
|
}
|
|
21
25
|
export default DashboardProperty;
|
|
@@ -25,6 +25,7 @@ declare class TimescopeColumnControlProperty extends ColumnControlProperty {
|
|
|
25
25
|
* @public
|
|
26
26
|
*/
|
|
27
27
|
linkOperationOption: LinkOperationOption;
|
|
28
|
+
isInternational: boolean;
|
|
28
29
|
constructor(props?: Partial<TimescopeColumnControlProperty>);
|
|
29
30
|
}
|
|
30
31
|
export default TimescopeColumnControlProperty;
|
|
@@ -25,6 +25,7 @@ declare class TimestampColumnControlProperty extends ColumnControlProperty {
|
|
|
25
25
|
* @public
|
|
26
26
|
*/
|
|
27
27
|
linkOperationOption: LinkOperationOption;
|
|
28
|
+
isInternational: boolean;
|
|
28
29
|
constructor(props?: Partial<TimestampColumnControlProperty>);
|
|
29
30
|
}
|
|
30
31
|
export default TimestampColumnControlProperty;
|
|
@@ -10,6 +10,7 @@ declare class DatePickerProperty extends BaseControlProperty {
|
|
|
10
10
|
limitDateList: Array<LimitDate>;
|
|
11
11
|
allowDateRange: string[];
|
|
12
12
|
filterWeekend: boolean;
|
|
13
|
+
isInternational: boolean;
|
|
13
14
|
constructor(props?: Partial<DatePickerProperty>);
|
|
14
15
|
}
|
|
15
16
|
export default DatePickerProperty;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DesignerAttachmentControl } from '../Attachment';
|
|
2
|
+
import { ImageProperty } from './property';
|
|
2
3
|
import { Schema, SettingOption } from '@byteluck-fe/model-driven-core';
|
|
3
4
|
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
4
5
|
declare class ImageControl extends DesignerAttachmentControl {
|
|
@@ -7,6 +8,7 @@ declare class ImageControl extends DesignerAttachmentControl {
|
|
|
7
8
|
static get controlType(): string;
|
|
8
9
|
static controlFieldType: FieldTypes;
|
|
9
10
|
static readonly setting: SettingOption[];
|
|
11
|
+
props: ImageProperty;
|
|
10
12
|
constructor(props?: Partial<Schema<'image'>>);
|
|
11
13
|
}
|
|
12
14
|
export default ImageControl;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { AttachmentProperty } from '../Attachment';
|
|
2
2
|
declare class ImageProperty extends AttachmentProperty {
|
|
3
|
+
compressTypeCode: string;
|
|
4
|
+
compressRatio: number;
|
|
5
|
+
maxPixel: number;
|
|
3
6
|
constructor(props?: Partial<ImageProperty>);
|
|
4
7
|
}
|
|
5
8
|
export default ImageProperty;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { RuntimeAttachmentControl } from '../Attachment';
|
|
2
2
|
import { Schema } from '@byteluck-fe/model-driven-core';
|
|
3
|
+
import { ImageProperty } from './property';
|
|
3
4
|
declare class ImageControl extends RuntimeAttachmentControl {
|
|
4
5
|
static get controlType(): string;
|
|
6
|
+
props: ImageProperty;
|
|
5
7
|
constructor(props?: Partial<Schema<'attachment'>>);
|
|
6
8
|
}
|
|
7
9
|
export default ImageControl;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DesignerLayoutControl, SettingOption } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
import StepControlProperty from './property';
|
|
3
|
+
declare class StepControl extends DesignerLayoutControl {
|
|
4
|
+
static get controlName(): string;
|
|
5
|
+
static get controlType(): string;
|
|
6
|
+
static get controlIcon(): string;
|
|
7
|
+
static excludes: never[];
|
|
8
|
+
static readonly controlEventKeys: string[];
|
|
9
|
+
static setting: SettingOption[];
|
|
10
|
+
props: StepControlProperty;
|
|
11
|
+
constructor(props?: any);
|
|
12
|
+
}
|
|
13
|
+
export default StepControl;
|
|
14
|
+
export { StepControl as DesignerStepsControl };
|
|
@@ -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,11 @@
|
|
|
1
|
+
import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
declare class StepControlProperty extends LayoutControlProperty {
|
|
3
|
+
direction: 'horizontal' | 'vertical';
|
|
4
|
+
labelPlacement: 'horizontal' | 'vertical';
|
|
5
|
+
size: 'small' | 'default' | 'large';
|
|
6
|
+
type: 'default' | 'navigation';
|
|
7
|
+
isSticky: boolean;
|
|
8
|
+
constructor(props?: Partial<StepControlProperty>);
|
|
9
|
+
}
|
|
10
|
+
export default StepControlProperty;
|
|
11
|
+
export { StepControlProperty };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RuntimeLayoutControl } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
import StepControlProperty from './property';
|
|
3
|
+
declare class StepControl extends RuntimeLayoutControl {
|
|
4
|
+
static get controlType(): string;
|
|
5
|
+
props: StepControlProperty;
|
|
6
|
+
constructor(props?: any);
|
|
7
|
+
}
|
|
8
|
+
export default StepControl;
|
|
9
|
+
export { StepControl as RuntimeStepControl };
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CONTROL_TYPE } from '@byteluck-fe/model-driven-shared';
|
|
2
|
+
import { DesignerLayoutControl, SettingOption } from '@byteluck-fe/model-driven-core';
|
|
3
|
+
import StepPaneControlProperty from './property';
|
|
4
|
+
declare class StepPaneControl extends DesignerLayoutControl {
|
|
5
|
+
static get controlName(): string;
|
|
6
|
+
static get controlType(): string;
|
|
7
|
+
static get controlIcon(): string;
|
|
8
|
+
static excludes: CONTROL_TYPE[];
|
|
9
|
+
static setting: SettingOption[];
|
|
10
|
+
props: StepPaneControlProperty;
|
|
11
|
+
constructor(props?: any);
|
|
12
|
+
}
|
|
13
|
+
export default StepPaneControl;
|
|
14
|
+
export { StepPaneControl as DesignerStepPaneControl };
|
|
@@ -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 StepPaneControlProperty extends LayoutControlProperty {
|
|
3
|
+
title: string;
|
|
4
|
+
subTitle?: string;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
icon: string;
|
|
7
|
+
color: string;
|
|
8
|
+
status: 'wait' | 'process' | 'finish' | 'error';
|
|
9
|
+
description?: string;
|
|
10
|
+
isDefault?: boolean;
|
|
11
|
+
constructor(props?: Partial<StepPaneControlProperty>);
|
|
12
|
+
}
|
|
13
|
+
export default StepPaneControlProperty;
|
|
14
|
+
export { StepPaneControlProperty, };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RuntimeLayoutControl } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
import StepPaneControlProperty from './property';
|
|
3
|
+
declare class StepPaneControl extends RuntimeLayoutControl {
|
|
4
|
+
static get controlType(): string;
|
|
5
|
+
props: StepPaneControlProperty;
|
|
6
|
+
constructor(props?: any);
|
|
7
|
+
}
|
|
8
|
+
export default StepPaneControl;
|
|
9
|
+
export { StepPaneControl as RuntimeStepPaneControl };
|
|
File without changes
|
|
@@ -17,3 +17,5 @@ export { default as AdvancedContainer } from './AdvancedContainer';
|
|
|
17
17
|
export { default as PositioningContainer } from './PositioningContainer';
|
|
18
18
|
export { default as Position } from './Position';
|
|
19
19
|
export { default as ActionBar } from './ActionBar';
|
|
20
|
+
export { default as Step } from './Step';
|
|
21
|
+
export { default as StepPane } from './StepPane';
|
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
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 } from './layoutControls';
|
|
3
|
+
import { CardGroup, Col, Grid, GridRow, Row, SubTableColumn, SubTableRow, GridTableColumn, GridLayoutContainer, Tab, TabPane, Toolbox, ListView, DataView, Page, AdvancedContainer, PositioningContainer, Position, ActionBar, Step, StepPane } 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';
|
|
@@ -83,6 +83,8 @@ declare module '@byteluck-fe/model-driven-core' {
|
|
|
83
83
|
'positioning-container': typeof PositioningContainer;
|
|
84
84
|
position: typeof Position;
|
|
85
85
|
'action-bar': typeof ActionBar;
|
|
86
|
+
step: typeof Step;
|
|
87
|
+
'step-pane': typeof StepPane;
|
|
86
88
|
}
|
|
87
89
|
interface ListControls {
|
|
88
90
|
subtable: typeof SubTable;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-controls",
|
|
3
|
-
"version": "6.1.0-1-beta.
|
|
3
|
+
"version": "6.1.0-1-beta.2",
|
|
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.1.0-1-beta.
|
|
30
|
-
"@byteluck-fe/model-driven-settings": "6.1.0-1-beta.
|
|
31
|
-
"@byteluck-fe/model-driven-shared": "6.1.0-1-beta.
|
|
29
|
+
"@byteluck-fe/model-driven-core": "6.1.0-1-beta.2",
|
|
30
|
+
"@byteluck-fe/model-driven-settings": "6.1.0-1-beta.2",
|
|
31
|
+
"@byteluck-fe/model-driven-shared": "6.1.0-1-beta.2",
|
|
32
32
|
"async-validator": "3.5.1"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "eacb8b0bb68fec8e2fd4a2ca9d137397072ab5a8"
|
|
35
35
|
}
|