@hw-component/form 1.0.8 → 1.1.0
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/es/TDPicker/modal.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { DatePickerProps } from "antd";
|
|
|
5
5
|
import type { TimePickerProps } from "antd";
|
|
6
6
|
import type { DurationInputArg2 } from "moment";
|
|
7
7
|
import type { DateRangePickerValueMapModal } from "../modal";
|
|
8
|
-
import type { addFormatItemModal } from "
|
|
8
|
+
import type { addFormatItemModal } from "../Form/modal";
|
|
9
9
|
interface DisabledDateFnModal<T = Moment | undefined> {
|
|
10
10
|
(currentDate: Moment, value: T): boolean;
|
|
11
11
|
}
|
package/lib/TDPicker/modal.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { DatePickerProps } from "antd";
|
|
|
5
5
|
import type { TimePickerProps } from "antd";
|
|
6
6
|
import type { DurationInputArg2 } from "moment";
|
|
7
7
|
import type { DateRangePickerValueMapModal } from "../modal";
|
|
8
|
-
import type { addFormatItemModal } from "
|
|
8
|
+
import type { addFormatItemModal } from "../Form/modal";
|
|
9
9
|
interface DisabledDateFnModal<T = Moment | undefined> {
|
|
10
10
|
(currentDate: Moment, value: T): boolean;
|
|
11
11
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hw-component/form",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "基于antd二次开发",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"author": "hdj",
|
|
11
11
|
"main": "lib/index.js",
|
|
12
12
|
"module": "es/index.js",
|
|
13
|
+
"types": "es/index.d.ts",
|
|
13
14
|
"scripts": {
|
|
14
15
|
"build": "rollup --config ./scripts/rollup.config.js",
|
|
15
16
|
"lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",
|
|
@@ -5,7 +5,7 @@ import type { DatePickerProps } from "antd";
|
|
|
5
5
|
import type { TimePickerProps } from "antd";
|
|
6
6
|
import type { DurationInputArg2 } from "moment";
|
|
7
7
|
import type { DateRangePickerValueMapModal } from "../modal";
|
|
8
|
-
import type { addFormatItemModal } from "
|
|
8
|
+
import type { addFormatItemModal } from "../Form/modal";
|
|
9
9
|
interface DisabledDateFnModal<T = Moment | undefined> {
|
|
10
10
|
(currentDate: Moment, value: T): boolean;
|
|
11
11
|
}
|