@byteluck-fe/model-driven-controls 7.0.0-props.38 → 7.0.0-props.39

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,4 +1,4 @@
1
- import { BaseControlProperty, BaseControlPropertyInterface, BaseControlPropertyRuntimeRules, OptionAndDataSourcePropertyRules, DataSourceBind, MultistageFillingItem } from '@byteluck-fe/model-driven-core';
1
+ import { BaseControlProperty, BaseControlPropertyInterface, BaseControlPropertyRuntimeRules, OptionAndDataSourcePropertyRules, DataSourceBind, MultistageFillingItem, OptionSetting } from '@byteluck-fe/model-driven-core';
2
2
  declare class TagPropertyRules extends OptionAndDataSourcePropertyRules {
3
3
  constructor(props: TagProperty);
4
4
  }
@@ -30,6 +30,12 @@ interface TagPropertyInterface extends BaseControlPropertyInterface {
30
30
  * @public
31
31
  */
32
32
  align: 'left' | 'center' | 'right';
33
+ /**
34
+ * 选项设置
35
+ * @defaultValue [{ label: '选项一', value: '选项一' }, ...]
36
+ * @public
37
+ */
38
+ options: Array<OptionSetting>;
33
39
  /**
34
40
  * 选项配置方式;取值:custom:自定义;datasource:数据源;
35
41
  * @defaultValue 'custom'
@@ -69,6 +75,7 @@ declare class TagProperty extends BaseControlProperty implements TagPropertyInte
69
75
  tagStyle: 'default' | 'success' | 'processing' | 'error' | 'warning';
70
76
  size: 'large' | 'middle' | 'small';
71
77
  align: 'left' | 'center' | 'right';
78
+ options: Array<OptionSetting>;
72
79
  optionConfig: 'custom' | 'datasource';
73
80
  datasourceBind: DataSourceBind;
74
81
  multistageFilling?: MultistageFillingItem[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-controls",
3
- "version": "7.0.0-props.38",
3
+ "version": "7.0.0-props.39",
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.38",
32
32
  "async-validator": "3.5.1"
33
33
  },
34
- "gitHead": "0502c0acb67414018904dea040caf8004c29491c"
34
+ "gitHead": "a85918de91de0d23aa6795b8f0103bbd1477830a"
35
35
  }