@flatbiz/antd 2.3.35 → 2.3.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.
package/index.d.ts CHANGED
@@ -46,10 +46,11 @@ export declare type DatePickerWrapperProps = Omit<PickerDateProps<moment.Moment>
46
46
  * 2. onChange返回类型 string
47
47
  * 3. 默认格式化类型 YYYY-MM-DD; 当showTime===true时,默认格式化类型YYYY-MM-DD HH:mm:ss
48
48
  * 4. 其他格式化类型自定义format
49
+ * 5. 设置disabledDate后,disabledDateConfig配置将失效
49
50
  * ```
50
51
  */
51
52
  export declare const DatePickerWrapper: VFC<DatePickerWrapperProps>;
52
- export declare type DateRangePickerWrapperProps = Omit<RangePickerDateProps<moment.Moment>, "value" | "onChange"> & {
53
+ export declare type DateRangePickerWrapperProps = Omit<RangePickerDateProps<moment.Moment>, "value" | "onChange" | "onOpenChange" | "onCalendarChange" | "disabledDate"> & {
53
54
  value?: [
54
55
  string,
55
56
  string
@@ -71,12 +72,14 @@ export declare type DateRangePickerWrapperProps = Omit<RangePickerDateProps<mome
71
72
  /**
72
73
  * DatePicker.RangePicker包装组件
73
74
  * ```
74
- * TODO: 引用DatePicker.RangePicker TS有问题,待解决
75
75
  * 1. value类型为 [string, string]
76
76
  * 2. onChange返回类型 [string, string]
77
77
  * 3. 默认格式化类型 YYYY-MM-DD; 当showTime===true时,默认格式化类型YYYY-MM-DD HH:mm:ss
78
78
  * 4. 其他格式化类型自定义format
79
79
  * 5. 可设置disabledDateConfig,来控制日期项的disbaled状态
80
+ *
81
+ * TODO: 引用DatePicker.RangePicker TS有问题,待解决
82
+ * TODO: 存在场景缺陷,当设置maxDays、showTime后,在选择单个日期不通过确认按钮直接切换输入框,无法获取回调,无法约束disabledDate
80
83
  * ```
81
84
  */
82
85
  export declare const DateRangePickerWrapper: VFC<DateRangePickerWrapperProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flatbiz/antd",
3
- "version": "2.3.35",
3
+ "version": "2.3.39",
4
4
  "description": "flat-biz oss ui components",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",
@@ -40,7 +40,7 @@
40
40
  "@dimjs/model": "^1.1.3",
41
41
  "@dimjs/model-react": "^1.1.4",
42
42
  "@dimjs/utils": "^1.2.9",
43
- "@flatbiz/utils": "^2.3.35",
43
+ "@flatbiz/utils": "^2.3.39",
44
44
  "@wove/react": "^1.2.10",
45
45
  "antd": "^4.20.0",
46
46
  "moment": "^2.29.3",
@@ -49,5 +49,5 @@
49
49
  "react-router": "^6.3.0",
50
50
  "react-router-dom": "^6.3.0"
51
51
  },
52
- "gitHead": "5513c02f6c91a27fea66df3fd3481b62357adce7"
52
+ "gitHead": "48fb4ec8bd41a636008d94c338dbd13bbe25df77"
53
53
  }