@byteluck-fe/model-driven-controls 2.0.8 → 2.0.9

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,13 @@
1
+ import { DesignerControl, SettingOption, Schema } from '@byteluck-fe/model-driven-core';
2
+ import { BatchDeleteButtonProperty } from './property';
3
+ declare class BatchDeleteButtonControl extends DesignerControl {
4
+ static get controlName(): string;
5
+ static get controlIcon(): string;
6
+ static get controlType(): string;
7
+ static readonly controlEventKeys: string[];
8
+ static readonly setting: SettingOption[];
9
+ readonly props: BatchDeleteButtonProperty;
10
+ constructor(props?: Partial<Schema<'button'>>);
11
+ }
12
+ export default BatchDeleteButtonControl;
13
+ export { BatchDeleteButtonControl as DesignerBatchDeleteButtonControl };
@@ -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 { Property } from '@byteluck-fe/model-driven-core';
2
+ declare class BatchDeleteButtonProperty extends Property {
3
+ content: string;
4
+ buttonType: 'primary' | 'secondary' | 'text';
5
+ showType: 'text' | 'icon' | 'iconText';
6
+ color: 'primary' | 'danger' | 'warning' | 'success' | 'info' | 'blue';
7
+ icon: string;
8
+ defaultState: 'default' | 'readonly';
9
+ command: string;
10
+ isLoading: boolean;
11
+ constructor(props?: Partial<BatchDeleteButtonProperty>);
12
+ }
13
+ export default BatchDeleteButtonProperty;
14
+ export { BatchDeleteButtonProperty };
@@ -0,0 +1,9 @@
1
+ import { RuntimeControl, Schema } from '@byteluck-fe/model-driven-core';
2
+ import { BatchDeleteButtonProperty } from './property';
3
+ declare class ButtonControl extends RuntimeControl {
4
+ static get controlType(): string;
5
+ readonly props: BatchDeleteButtonProperty;
6
+ constructor(props?: Partial<Schema<'button'>>);
7
+ }
8
+ export default ButtonControl;
9
+ export { ButtonControl as RuntimeButtonControl };
@@ -4,6 +4,7 @@ import { TitleConfigEnum } from '../../framework';
4
4
  declare class TitleControlPropertyRules extends PropertyRules {
5
5
  caption: RuleItem;
6
6
  dataBind: RuleItem;
7
+ config: any;
7
8
  constructor(props: TitleProperty);
8
9
  }
9
10
  declare class TitleProperty extends Property {
@@ -11,6 +12,7 @@ declare class TitleProperty extends Property {
11
12
  dataBind: DataBind;
12
13
  caption: string;
13
14
  config: TitleConfigEnum[];
15
+ position: string;
14
16
  constructor(props?: Partial<TitleProperty>);
15
17
  }
16
18
  export default TitleProperty;
@@ -19,3 +19,4 @@ export { default as InvoiceCheckButton } from './InvoiceCheckButton';
19
19
  export { default as BatchPrintListButton } from './BatchPrintListButton';
20
20
  export { default as BatchPrintRecordListButton } from './BatchPrintRecordListButton';
21
21
  export { default as OperationButton } from './OperationButton';
22
+ export { default as BatchDeleteButton } from './BatchDeleteButton';
@@ -4,7 +4,8 @@ export declare enum TitleConfigEnum {
4
4
  ShowSubmitUser = "is_show_submit_user",
5
5
  ShowSubmitTime = "is_show_submit_time",
6
6
  ShowSubmitDept = "is_show_submit_dept",
7
- ShowCurrentApprovar = "is_show_current_approvar"
7
+ ShowCurrentApprovar = "is_show_current_approvar",
8
+ ShowTitle = "is_show_title"
8
9
  }
9
10
  /**
10
11
  * 时间范围类型
@@ -25,7 +25,7 @@ declare class ListViewControlProperty extends LayoutControlProperty {
25
25
  showFullScreen: boolean;
26
26
  isFixedHeader: boolean;
27
27
  isAllLoaded: boolean;
28
- countType: 'sync' | 'async' | 'none';
28
+ countType?: 'sync' | 'async' | 'none';
29
29
  constructor(props?: Partial<ListViewControlProperty>);
30
30
  }
31
31
  export default ListViewControlProperty;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-controls",
3
- "version": "2.0.8",
3
+ "version": "2.0.9",
4
4
  "description": "> TODO: description",
5
5
  "author": "郝晨光 <2293885211@qq.com>",
6
6
  "homepage": "",
@@ -22,10 +22,10 @@
22
22
  "postpublish": "node ../../scripts/postpublish.js"
23
23
  },
24
24
  "dependencies": {
25
- "@byteluck-fe/model-driven-core": "2.0.1",
26
- "@byteluck-fe/model-driven-settings": "2.0.1",
27
- "@byteluck-fe/model-driven-shared": "2.0.1",
25
+ "@byteluck-fe/model-driven-core": "2.0.9",
26
+ "@byteluck-fe/model-driven-settings": "2.0.9",
27
+ "@byteluck-fe/model-driven-shared": "2.0.9",
28
28
  "async-validator": "3.5.1"
29
29
  },
30
- "gitHead": "ae8c5f8fc4b19b93dcee5ed62ddb81b81b9ce611"
30
+ "gitHead": "12c89d4e0ed0ab4fef302afe303a669bb0085a58"
31
31
  }