@byteluck-fe/model-driven-controls 6.2.0-1-beta.23 → 6.2.0-1-beta.25

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.
@@ -0,0 +1,12 @@
1
+ import { DesignerControl, Schema, SettingOption } from '@byteluck-fe/model-driven-core';
2
+ import CommentProperty from './property';
3
+ declare class CommentControl extends DesignerControl {
4
+ static get controlName(): string;
5
+ static get controlIcon(): string;
6
+ static get controlType(): string;
7
+ static readonly setting: SettingOption[];
8
+ readonly props: CommentProperty;
9
+ constructor(props?: Partial<Schema<'text'>>);
10
+ }
11
+ export default CommentControl;
12
+ export { CommentControl as DesignerCommentControl };
@@ -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,15 @@
1
+ import { Property } from '@byteluck-fe/model-driven-core';
2
+ interface CommentOption {
3
+ align: 'flex-start' | 'center' | 'flex-end' | 'space-between';
4
+ fields: string[];
5
+ captionSize: string;
6
+ captionColor: string;
7
+ isCaptionItalic: boolean;
8
+ }
9
+ declare class CommentProperty extends Property {
10
+ content: string;
11
+ commentOptions?: Array<CommentOption>;
12
+ constructor(props?: Partial<CommentProperty>);
13
+ }
14
+ export default CommentProperty;
15
+ export { CommentProperty };
@@ -0,0 +1,10 @@
1
+ import { RuntimeControl } from '@byteluck-fe/model-driven-core';
2
+ import CommentProperty from './property';
3
+ import { Schema } from '@byteluck-fe/model-driven-core';
4
+ declare class CommentControl extends RuntimeControl {
5
+ static get controlType(): string;
6
+ readonly props: CommentProperty;
7
+ constructor(props?: Partial<Schema<'comment'>>);
8
+ }
9
+ export default CommentControl;
10
+ export { CommentControl as RuntimeCommentControl };
File without changes
@@ -21,3 +21,4 @@ export { default as BatchPrintRecordListButton } from './BatchPrintRecordListBut
21
21
  export { default as OperationButton } from './OperationButton';
22
22
  export { default as BatchDeleteButton } from './BatchDeleteButton';
23
23
  export { default as ReferenceList } from './ReferenceList';
24
+ export { default as CommentControl } from './Comment';
@@ -1,4 +1,4 @@
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';
1
+ import { Divider, Text, Link, 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, 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
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';
@@ -89,6 +89,7 @@ declare module '@byteluck-fe/model-driven-core' {
89
89
  'table-layout-row': typeof TableLayoutRow;
90
90
  'table-layout-col': typeof TableLayoutCol;
91
91
  'table-layout-wrapper': typeof TableLayoutWrapper;
92
+ 'comment': typeof CommentControl;
92
93
  }
93
94
  interface ListControls {
94
95
  subtable: typeof SubTable;
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.23",
3
+ "version": "6.2.0-1-beta.25",
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.16",
30
- "@byteluck-fe/model-driven-settings": "6.2.0-1-beta.16",
31
- "@byteluck-fe/model-driven-shared": "6.2.0-1-beta.16",
29
+ "@byteluck-fe/model-driven-core": "6.2.0-1-beta.24",
30
+ "@byteluck-fe/model-driven-settings": "6.2.0-1-beta.24",
31
+ "@byteluck-fe/model-driven-shared": "6.2.0-1-beta.24",
32
32
  "async-validator": "3.5.1"
33
33
  },
34
- "gitHead": "83ada852d0f48e9979a99e5d9b7437c1668fe55a"
34
+ "gitHead": "09552735c2e765d4e198efd012f0fe3407a0bbf7"
35
35
  }