@vtx/modals2 5.0.41 → 5.0.42

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.
@@ -225,6 +225,9 @@ var WorkRecord = function WorkRecord() {
225
225
  });
226
226
  },
227
227
  dateValue: [state.startDate, state.endDate],
228
+ disabledDate: function disabledDate(current) {
229
+ return current && current > dayjs().endOf('day');
230
+ },
228
231
  children: /*#__PURE__*/_jsxs(Row, {
229
232
  children: [/*#__PURE__*/_jsx(Col, {
230
233
  span: 12,
package/package.json CHANGED
@@ -1,78 +1,78 @@
1
- {
2
- "name": "@vtx/modals2",
3
- "version": "5.0.41",
4
- "description": "弹窗组件",
5
- "license": "MIT",
6
- "module": "lib/index.js",
7
- "types": "lib/index.d.ts",
8
- "files": [
9
- "lib"
10
- ],
11
- "scripts": {
12
- "build": "father build",
13
- "build:watch": "father dev",
14
- "dev": "dumi dev",
15
- "docs:build": "dumi build",
16
- "docs:preview": "dumi preview",
17
- "doctor": "father doctor",
18
- "lint": "npm run lint:es && npm run lint:css",
19
- "lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
20
- "lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
21
- "prepare": "husky install && dumi setup",
22
- "prepublishOnly": "npm run build",
23
- "start": "npm run dev"
24
- },
25
- "dependencies": {
26
- "base-64": "^1.0.0",
27
- "htmr": "^1.0.2",
28
- "number-precision": "^1.6.0",
29
- "react-tagcloud": "^2.3.3"
30
- },
31
- "devDependencies": {
32
- "@ant-design/icons": "4.7.0",
33
- "@babel/preset-react": "^7.28.5",
34
- "@babel/runtime": "^7.6.3",
35
- "@commitlint/cli": "^17.1.2",
36
- "@commitlint/config-conventional": "^17.1.0",
37
- "@types/lodash": "^4.14.202",
38
- "@types/qs": "^6.9.11",
39
- "@types/react": "^18.0.0",
40
- "@types/react-dom": "^18.0.0",
41
- "@umijs/lint": "^4.0.0",
42
- "@vtx/components": "^3.1.166",
43
- "@vtx/ol-map": "^1.0.151",
44
- "@vtx/player": "latest",
45
- "@vtx/utils": "^1.0.20",
46
- "ahooks": "^3.1.5",
47
- "antd": "^4.24.16",
48
- "antd-dayjs-webpack-plugin": "^1.0.6",
49
- "axios": "^0.21.1",
50
- "babel-eslint": "^10.1.0",
51
- "babel-plugin-import": "^1.13.8",
52
- "dayjs": "^1.11.10",
53
- "dumi": "^2.2.13",
54
- "echarts": "^5.3.2",
55
- "echarts-for-react": "3.0.2",
56
- "echarts-liquidfill": "^3.1.0",
57
- "eslint": "^8.23.0",
58
- "father": "^4.1.0",
59
- "husky": "^8.0.1",
60
- "lint-staged": "^13.0.3",
61
- "lodash": "^4.17.21",
62
- "prettier": "^2.7.1",
63
- "prettier-plugin-organize-imports": "^3.0.0",
64
- "prettier-plugin-packagejson": "^2.2.18",
65
- "qs": "^6.0.0",
66
- "react": "^18.0.0",
67
- "react-dom": "^18.0.0",
68
- "stylelint": "^14.9.1"
69
- },
70
- "peerDependencies": {
71
- "react": ">=16.9.0",
72
- "react-dom": ">=16.9.0"
73
- },
74
- "publishConfig": {
75
- "access": "public"
76
- },
77
- "authors": []
78
- }
1
+ {
2
+ "name": "@vtx/modals2",
3
+ "version": "5.0.42",
4
+ "description": "弹窗组件",
5
+ "license": "MIT",
6
+ "module": "lib/index.js",
7
+ "types": "lib/index.d.ts",
8
+ "files": [
9
+ "lib"
10
+ ],
11
+ "scripts": {
12
+ "build": "father build",
13
+ "build:watch": "father dev",
14
+ "dev": "dumi dev",
15
+ "docs:build": "dumi build",
16
+ "docs:preview": "dumi preview",
17
+ "doctor": "father doctor",
18
+ "lint": "npm run lint:es && npm run lint:css",
19
+ "lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
20
+ "lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
21
+ "prepare": "husky install && dumi setup",
22
+ "prepublishOnly": "npm run build",
23
+ "start": "npm run dev"
24
+ },
25
+ "dependencies": {
26
+ "base-64": "^1.0.0",
27
+ "htmr": "^1.0.2",
28
+ "number-precision": "^1.6.0",
29
+ "react-tagcloud": "^2.3.3"
30
+ },
31
+ "devDependencies": {
32
+ "@ant-design/icons": "4.7.0",
33
+ "@babel/preset-react": "^7.28.5",
34
+ "@babel/runtime": "^7.6.3",
35
+ "@commitlint/cli": "^17.1.2",
36
+ "@commitlint/config-conventional": "^17.1.0",
37
+ "@types/lodash": "^4.14.202",
38
+ "@types/qs": "^6.9.11",
39
+ "@types/react": "^18.0.0",
40
+ "@types/react-dom": "^18.0.0",
41
+ "@umijs/lint": "^4.0.0",
42
+ "@vtx/components": "^3.1.166",
43
+ "@vtx/ol-map": "^1.0.151",
44
+ "@vtx/player": "latest",
45
+ "@vtx/utils": "^1.0.20",
46
+ "ahooks": "^3.1.5",
47
+ "antd": "^4.24.16",
48
+ "antd-dayjs-webpack-plugin": "^1.0.6",
49
+ "axios": "^0.21.1",
50
+ "babel-eslint": "^10.1.0",
51
+ "babel-plugin-import": "^1.13.8",
52
+ "dayjs": "^1.11.10",
53
+ "dumi": "^2.2.13",
54
+ "echarts": "^5.3.2",
55
+ "echarts-for-react": "3.0.2",
56
+ "echarts-liquidfill": "^3.1.0",
57
+ "eslint": "^8.23.0",
58
+ "father": "^4.1.0",
59
+ "husky": "^8.0.1",
60
+ "lint-staged": "^13.0.3",
61
+ "lodash": "^4.17.21",
62
+ "prettier": "^2.7.1",
63
+ "prettier-plugin-organize-imports": "^3.0.0",
64
+ "prettier-plugin-packagejson": "^2.2.18",
65
+ "qs": "^6.0.0",
66
+ "react": "^18.0.0",
67
+ "react-dom": "^18.0.0",
68
+ "stylelint": "^14.9.1"
69
+ },
70
+ "peerDependencies": {
71
+ "react": ">=16.9.0",
72
+ "react-dom": ">=16.9.0"
73
+ },
74
+ "publishConfig": {
75
+ "access": "public"
76
+ },
77
+ "authors": []
78
+ }