@byteluck-fe/model-driven-controls 2.23.0-beta.25-dx → 2.23.0-beta.25-zt

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.
Files changed (38) hide show
  1. package/dist/esm/baseControls/Text/designer.js +4 -0
  2. package/dist/esm/baseControls/Text/property.js +3 -1
  3. package/dist/esm/baseControls/Title/designer.js +9 -4
  4. package/dist/esm/baseControls/Title/property.js +2 -5
  5. package/dist/esm/columnControls/SignatureColumn/designer.js +120 -0
  6. package/dist/esm/columnControls/SignatureColumn/index.js +11 -0
  7. package/dist/esm/columnControls/SignatureColumn/property.js +78 -0
  8. package/dist/esm/columnControls/SignatureColumn/runtime.js +93 -0
  9. package/dist/esm/columnControls/SignatureColumn/types.js +0 -0
  10. package/dist/esm/columnControls/index.js +1 -0
  11. package/dist/esm/formControls/Employee/property.js +1 -1
  12. package/dist/esm/formControls/Employee2/designer.js +1 -2
  13. package/dist/esm/formControls/Employee2/property.js +1 -4
  14. package/dist/esm/formControls/HandSignature/designer.js +157 -0
  15. package/dist/esm/formControls/HandSignature/index.js +11 -0
  16. package/dist/esm/formControls/HandSignature/property.js +132 -0
  17. package/dist/esm/formControls/HandSignature/runtime.js +114 -0
  18. package/dist/esm/formControls/HandSignature/types.js +0 -0
  19. package/dist/esm/formControls/index.js +1 -0
  20. package/dist/esm/layoutControls/ListView/property.js +66 -66
  21. package/dist/index.umd.js +1 -1
  22. package/dist/types/baseControls/Text/property.d.ts +1 -0
  23. package/dist/types/baseControls/Title/property.d.ts +0 -1
  24. package/dist/types/columnControls/SignatureColumn/designer.d.ts +14 -0
  25. package/dist/types/columnControls/SignatureColumn/index.d.ts +12 -0
  26. package/dist/types/columnControls/SignatureColumn/property.d.ts +6 -0
  27. package/dist/types/columnControls/SignatureColumn/runtime.d.ts +12 -0
  28. package/dist/types/columnControls/SignatureColumn/types.d.ts +0 -0
  29. package/dist/types/columnControls/index.d.ts +1 -0
  30. package/dist/types/formControls/Employee2/property.d.ts +0 -1
  31. package/dist/types/formControls/HandSignature/designer.d.ts +14 -0
  32. package/dist/types/formControls/HandSignature/index.d.ts +12 -0
  33. package/dist/types/formControls/HandSignature/property.d.ts +19 -0
  34. package/dist/types/formControls/HandSignature/runtime.d.ts +12 -0
  35. package/dist/types/formControls/HandSignature/types.d.ts +0 -0
  36. package/dist/types/formControls/index.d.ts +1 -0
  37. package/dist/types/type.d.ts +4 -2
  38. package/package.json +5 -5
@@ -3,6 +3,7 @@ declare class TextProperty extends Property {
3
3
  content: string;
4
4
  fontSize: string;
5
5
  color: string;
6
+ bgColor: string;
6
7
  icon: string;
7
8
  align: string;
8
9
  showState: 'text' | 'imageText' | 'image';
@@ -12,7 +12,6 @@ declare class TitleProperty extends Property {
12
12
  dataBind: DataBind;
13
13
  caption: string;
14
14
  config: TitleConfigEnum[];
15
- position: string;
16
15
  constructor(props?: Partial<TitleProperty>);
17
16
  }
18
17
  export default TitleProperty;
@@ -0,0 +1,14 @@
1
+ import { DesignerColumnControl, ColumnControlSchema, SettingOption } from '@byteluck-fe/model-driven-core';
2
+ import SignatureColumnControlProperty from './property';
3
+ import { FieldTypes } from '@byteluck-fe/model-driven-shared';
4
+ declare class SignatureColumnControl extends DesignerColumnControl {
5
+ static readonly controlType = "signature-column";
6
+ static readonly controlName = "\u56FE\u7247";
7
+ static readonly controlIcon = "signature-column";
8
+ static readonly controlFieldType = FieldTypes.SIGNATURE;
9
+ static setting: SettingOption[];
10
+ readonly props: SignatureColumnControlProperty;
11
+ constructor(props?: ColumnControlSchema<'image-column'>);
12
+ }
13
+ export default SignatureColumnControl;
14
+ export { SignatureColumnControl as DesignerSignatureColumnControl };
@@ -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,6 @@
1
+ import { ColumnControlProperty } from '@byteluck-fe/model-driven-core';
2
+ declare class SignatureColumnControlProperty extends ColumnControlProperty {
3
+ constructor(props?: Partial<SignatureColumnControlProperty>);
4
+ }
5
+ export default SignatureColumnControlProperty;
6
+ export { SignatureColumnControlProperty };
@@ -0,0 +1,12 @@
1
+ import { RuntimeColumnControl } from '@byteluck-fe/model-driven-core';
2
+ import SignatureColumnControlProperty from './property';
3
+ import { ColumnControlSchema } from '@byteluck-fe/model-driven-core';
4
+ import { FieldTypes } from '@byteluck-fe/model-driven-shared';
5
+ declare class SignatureColumnControl extends RuntimeColumnControl {
6
+ static readonly controlType = "signature-column";
7
+ static readonly controlFieldType = FieldTypes.SIGNATURE;
8
+ readonly props: SignatureColumnControlProperty;
9
+ constructor(props?: ColumnControlSchema<'signature-column'>);
10
+ }
11
+ export default SignatureColumnControl;
12
+ export { SignatureColumnControl as RuntimeSignatureColumnControl };
@@ -8,6 +8,7 @@ export { default as DepartmentColumn } from './DepartmentColumn';
8
8
  export { default as AutoNumberColumn } from './AutoNumberColumn';
9
9
  export { default as FileColumn } from './FileColumn';
10
10
  export { default as ImageColumn } from './ImageColumn';
11
+ export { default as SignatureColumn } from './SignatureColumn';
11
12
  export { default as PeopleColumn } from './PeopleColumn';
12
13
  export { default as LocationColumn } from './LocationColumn';
13
14
  export { default as CustomColumn } from './CustomColumn';
@@ -27,7 +27,6 @@ declare class Employee2Property extends BaseControlProperty {
27
27
  externalType: string;
28
28
  externalScope: string[];
29
29
  openMultistageFilling: boolean;
30
- mainDeptFlag: boolean;
31
30
  constructor(props?: Partial<Employee2Property>);
32
31
  }
33
32
  export default Employee2Property;
@@ -0,0 +1,14 @@
1
+ import { DesignerFormControl, Schema, SettingOption } from '@byteluck-fe/model-driven-core';
2
+ import { FieldTypes } from '@byteluck-fe/model-driven-shared';
3
+ import HandSignatureProperty from './property';
4
+ declare class HandSignatureControl extends DesignerFormControl {
5
+ static get controlName(): string;
6
+ static get controlIcon(): string;
7
+ static get controlType(): string;
8
+ static controlFieldType: FieldTypes;
9
+ static readonly setting: SettingOption[];
10
+ readonly props: HandSignatureProperty;
11
+ constructor(props?: Partial<Schema<'signature'>>);
12
+ }
13
+ export default HandSignatureControl;
14
+ export { HandSignatureControl as DesignerHandSignatureControl };
@@ -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,19 @@
1
+ import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
2
+ declare class HandSignaturePropertyRules extends BaseControlPropertyRules {
3
+ constructor(props: HandSignatureProperty);
4
+ }
5
+ declare class HandSignatureControlPropertyRuntimeRules extends BaseControlPropertyRuntimeRules {
6
+ constructor(props: HandSignatureProperty);
7
+ }
8
+ declare class HandSignatureProperty extends BaseControlProperty {
9
+ static readonly Rules: typeof HandSignaturePropertyRules;
10
+ static readonly RuntimeRules: typeof HandSignatureControlPropertyRuntimeRules;
11
+ minWidth: number;
12
+ maxWidth: number;
13
+ backgroundColor: string;
14
+ penColor: string;
15
+ labelPosition: 'top' | 'left';
16
+ constructor(props?: Partial<HandSignatureProperty>);
17
+ }
18
+ export default HandSignatureProperty;
19
+ export { HandSignatureProperty };
@@ -0,0 +1,12 @@
1
+ import { RuntimeFormControl } from '@byteluck-fe/model-driven-core';
2
+ import HandSignatureProperty from './property';
3
+ import { FieldTypes } from '@byteluck-fe/model-driven-shared';
4
+ import { Schema } from '@byteluck-fe/model-driven-core';
5
+ declare class HandSignatureControl extends RuntimeFormControl {
6
+ static get controlType(): string;
7
+ static controlFieldType: FieldTypes;
8
+ readonly props: HandSignatureProperty;
9
+ constructor(props?: Partial<Schema<'signature'>>);
10
+ }
11
+ export default HandSignatureControl;
12
+ export { HandSignatureControl as RuntimeHandSignatureControl };
@@ -24,6 +24,7 @@ export { default as SelectRelation } from './SelectRelation';
24
24
  export { default as SearchInput } from './SearchInput';
25
25
  export { default as Tree } from './Tree';
26
26
  export { default as Employee2 } from './Employee2';
27
+ export { default as HandSignature } from './HandSignature';
27
28
  export { default as ElectronicSignature } from './ElectronicSignature';
28
29
  export { default as WPS } from './WPS';
29
30
  export { default as Department2 } from './Department2';
@@ -1,8 +1,8 @@
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';
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, HandSignature } from './formControls';
3
3
  import { CardGroup, Col, Grid, GridRow, Row, SubTableColumn, SubTableRow, GridTableColumn, GridLayoutContainer, Tab, TabPane, Toolbox, ListView, DataView, Page, AdvancedContainer, PositioningContainer, Position, ActionBar } from './layoutControls';
4
4
  import { SubTable, GridTable } from './listControls';
5
- import { VarcharColumn, TextColumn, DecimalColumn, TimescopeColumn, TimestampColumn, ArrayColumn, DepartmentColumn, AutoNumberColumn, FileColumn, ImageColumn, PeopleColumn, LocationColumn, CustomColumn, OrderColumn, OperationColumn, EmployeeColumn, ApprovalStatusColumn } from './columnControls';
5
+ import { VarcharColumn, TextColumn, DecimalColumn, TimescopeColumn, TimestampColumn, ArrayColumn, DepartmentColumn, AutoNumberColumn, FileColumn, ImageColumn, SignatureColumn, PeopleColumn, LocationColumn, CustomColumn, OrderColumn, OperationColumn, EmployeeColumn, ApprovalStatusColumn } from './columnControls';
6
6
  import { SimpleSearch } from './searchControls';
7
7
  import { GridLayoutWrap } from './wrapControls';
8
8
  declare module '@byteluck-fe/model-driven-core' {
@@ -62,6 +62,7 @@ declare module '@byteluck-fe/model-driven-core' {
62
62
  department2: typeof Department2;
63
63
  'organization-selection': typeof OrganizationSelection;
64
64
  'vue-page': typeof VuePage;
65
+ 'signature': typeof HandSignature;
65
66
  }
66
67
  interface LayoutControls {
67
68
  'subtable-column': typeof SubTableColumn;
@@ -99,6 +100,7 @@ declare module '@byteluck-fe/model-driven-core' {
99
100
  'auto-number-column': typeof AutoNumberColumn;
100
101
  'file-column': typeof FileColumn;
101
102
  'image-column': typeof ImageColumn;
103
+ 'signature-column': typeof SignatureColumn;
102
104
  'people-column': typeof PeopleColumn;
103
105
  'location-column': typeof LocationColumn;
104
106
  'custom-column': typeof CustomColumn;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-controls",
3
- "version": "2.23.0-beta.25-dx",
3
+ "version": "2.23.0-beta.25-zt",
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": "2.23.0-beta.25-dx",
30
- "@byteluck-fe/model-driven-settings": "2.23.0-beta.25-dx",
31
- "@byteluck-fe/model-driven-shared": "2.23.0-beta.22-dx",
29
+ "@byteluck-fe/model-driven-core": "2.23.0-beta.23-zt",
30
+ "@byteluck-fe/model-driven-settings": "2.23.0-beta.23-zt",
31
+ "@byteluck-fe/model-driven-shared": "2.23.0-beta.23-zt",
32
32
  "async-validator": "3.5.1"
33
33
  },
34
- "gitHead": "a3e0239b1f2e1e715e0c68c925a609eafd9b9542"
34
+ "gitHead": "1cb505e6c800a38b9b0b07ba0d2380d242b50655"
35
35
  }