@byteluck-fe/model-driven-controls 7.0.0-props.104 → 7.0.0-props.105

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.
@@ -1,9 +1,14 @@
1
- import { MultistageFillingItem, Property, PropertyInterface, DataSourceBind } from '@byteluck-fe/model-driven-core';
1
+ import { MultistageFillingItem, Property, PropertyInterface, PropertyRules, DataSourceBind } from '@byteluck-fe/model-driven-core';
2
2
  import { FONT_WEIGHT } from '../../framework';
3
+ import { RuleItem } from 'async-validator';
3
4
  type PieSeriesDataConfig = {
4
5
  nameField?: string;
5
6
  valueField?: string;
6
7
  };
8
+ declare class PieChartPropertyRules extends PropertyRules {
9
+ seriesConfig: RuleItem;
10
+ constructor(props: PieChartProperty);
11
+ }
7
12
  interface PieChartPropertyInterface extends PropertyInterface {
8
13
  /**
9
14
  * 标题
@@ -121,6 +126,7 @@ interface PieChartPropertyInterface extends PropertyInterface {
121
126
  seriesConfig: PieSeriesDataConfig[];
122
127
  }
123
128
  declare class PieChartProperty extends Property implements PieChartPropertyInterface {
129
+ static readonly Rules: typeof PieChartPropertyRules;
124
130
  caption: string;
125
131
  isHideCaption: boolean;
126
132
  isShowCaptionTip: boolean;
@@ -144,4 +150,4 @@ declare class PieChartProperty extends Property implements PieChartPropertyInter
144
150
  }
145
151
  export default PieChartProperty;
146
152
  export type { PieChartPropertyInterface, PieSeriesDataConfig };
147
- export { PieChartProperty };
153
+ export { PieChartProperty, PieChartPropertyRules };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-controls",
3
- "version": "7.0.0-props.104",
3
+ "version": "7.0.0-props.105",
4
4
  "description": "> TODO: description",
5
5
  "author": "郝晨光 <2293885211@qq.com>",
6
6
  "homepage": "",
@@ -31,5 +31,5 @@
31
31
  "@byteluck-fe/model-driven-shared": "7.0.0-props.101",
32
32
  "async-validator": "3.5.1"
33
33
  },
34
- "gitHead": "96c6724eec770458f3536c12017e108e231a15fd"
34
+ "gitHead": "3a1668f07097bce7a54ac4b2642c7a241b48aed3"
35
35
  }