feffery_antd_components 0.3.0-b2 → 0.3.0-b4
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/DESCRIPTION +1 -1
- package/Project.toml +1 -1
- package/README-en_US.md +4 -1
- package/README.md +4 -1
- package/build/lib/feffery_antd_components/AntdDraggablePanel.py +3 -6
- package/build/lib/feffery_antd_components/AntdImage.py +11 -2
- package/build/lib/feffery_antd_components/AntdImageGroup.py +11 -3
- package/build/lib/feffery_antd_components/AntdSelect.py +6 -3
- package/build/lib/feffery_antd_components/AntdTree.py +1 -1
- package/build/lib/feffery_antd_components/__init__.py +7 -1
- package/build/lib/feffery_antd_components/async-antd_table.js +4 -4
- package/build/lib/feffery_antd_components/async-data_display.js +3 -3
- package/build/lib/feffery_antd_components/async-data_entry.js +14 -38
- package/build/lib/feffery_antd_components/async-fac-shared.js +25 -0
- package/build/lib/feffery_antd_components/async-upload.js +9 -5
- package/build/lib/feffery_antd_components/feffery_antd_components.min.js +40 -40
- package/build/lib/feffery_antd_components/metadata.json +67 -12
- package/build/lib/feffery_antd_components/package-info.json +93 -93
- package/feffery_antd_components/AntdDraggablePanel.py +3 -6
- package/feffery_antd_components/AntdImage.py +11 -2
- package/feffery_antd_components/AntdImageGroup.py +11 -3
- package/feffery_antd_components/AntdSelect.py +6 -3
- package/feffery_antd_components/AntdTree.py +1 -1
- package/feffery_antd_components/__init__.py +7 -1
- package/feffery_antd_components/async-antd_table.js +4 -4
- package/feffery_antd_components/async-data_display.js +3 -3
- package/feffery_antd_components/async-data_entry.js +14 -38
- package/feffery_antd_components/async-fac-shared.js +25 -0
- package/feffery_antd_components/async-upload.js +9 -5
- package/feffery_antd_components/feffery_antd_components.min.js +40 -40
- package/feffery_antd_components/metadata.json +67 -12
- package/feffery_antd_components/package-info.json +93 -93
- package/package.json +93 -93
- package/src/jl/'feffery'_antddraggablepanel.jl +1 -2
- package/src/jl/'feffery'_antdimage.jl +5 -1
- package/src/jl/'feffery'_antdimagegroup.jl +5 -2
- package/src/jl/'feffery'_antdselect.jl +3 -1
- package/src/jl/'feffery'_antdtree.jl +1 -1
- package/src/lib/components/dataDisplay/AntdDraggablePanel.react.js +0 -5
- package/src/lib/components/dataDisplay/AntdImage.react.js +17 -2
- package/src/lib/components/dataDisplay/AntdImageGroup.react.js +14 -2
- package/src/lib/components/dataDisplay/AntdTag.react.js +9 -36
- package/src/lib/components/dataDisplay/AntdTree.react.js +5 -2
- package/src/lib/components/dataEntry/AntdSelect.react.js +7 -0
- package/src/lib/fragments/dataDisplay/AntdDraggablePanel.react.js +0 -2
- package/src/lib/fragments/dataDisplay/AntdTag.react.js +46 -0
- package/src/lib/fragments/dataDisplay/AntdTree.react.js +8 -3
- package/src/lib/fragments/dataEntry/AntdSelect.react.js +2 -0
- package/usage.py +38 -46
- package/webpack.config.js +6 -0
|
@@ -2160,13 +2160,6 @@
|
|
|
2160
2160
|
"computed": false
|
|
2161
2161
|
}
|
|
2162
2162
|
},
|
|
2163
|
-
"isExpand": {
|
|
2164
|
-
"type": {
|
|
2165
|
-
"name": "bool"
|
|
2166
|
-
},
|
|
2167
|
-
"required": false,
|
|
2168
|
-
"description": "\u8bbe\u7f6e\u6216\u76d1\u542c\u5f53\u524d\u9762\u677f\u662f\u5426\u4e3a\u5c55\u5f00\u72b6\u6001"
|
|
2169
|
-
},
|
|
2170
2163
|
"loading_state": {
|
|
2171
2164
|
"type": {
|
|
2172
2165
|
"name": "shape",
|
|
@@ -2504,10 +2497,30 @@
|
|
|
2504
2497
|
},
|
|
2505
2498
|
"preview": {
|
|
2506
2499
|
"type": {
|
|
2507
|
-
"name": "
|
|
2500
|
+
"name": "union",
|
|
2501
|
+
"value": [
|
|
2502
|
+
{
|
|
2503
|
+
"name": "bool"
|
|
2504
|
+
},
|
|
2505
|
+
{
|
|
2506
|
+
"name": "exact",
|
|
2507
|
+
"value": {
|
|
2508
|
+
"visible": {
|
|
2509
|
+
"name": "bool",
|
|
2510
|
+
"description": "\u662f\u5426\u5c55\u793a\u9884\u89c8\u5c42",
|
|
2511
|
+
"required": false
|
|
2512
|
+
},
|
|
2513
|
+
"mask": {
|
|
2514
|
+
"name": "node",
|
|
2515
|
+
"description": "\u7ec4\u4ef6\u578b\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u7f29\u7565\u56fe\u906e\u7f69\u5143\u7d20",
|
|
2516
|
+
"required": false
|
|
2517
|
+
}
|
|
2518
|
+
}
|
|
2519
|
+
}
|
|
2520
|
+
]
|
|
2508
2521
|
},
|
|
2509
2522
|
"required": false,
|
|
2510
|
-
"description": "",
|
|
2523
|
+
"description": "\u914d\u7f6e\u56fe\u7247\u9884\u89c8\u76f8\u5173\u529f\u80fd\uff0c\u4f20\u5165false\u65f6\u4f1a\u7981\u7528\u9884\u89c8\u529f\u80fd\r\n\u9ed8\u8ba4\uff1atrue",
|
|
2511
2524
|
"defaultValue": {
|
|
2512
2525
|
"value": "true",
|
|
2513
2526
|
"computed": false
|
|
@@ -2628,10 +2641,30 @@
|
|
|
2628
2641
|
},
|
|
2629
2642
|
"preview": {
|
|
2630
2643
|
"type": {
|
|
2631
|
-
"name": "
|
|
2644
|
+
"name": "union",
|
|
2645
|
+
"value": [
|
|
2646
|
+
{
|
|
2647
|
+
"name": "bool"
|
|
2648
|
+
},
|
|
2649
|
+
{
|
|
2650
|
+
"name": "exact",
|
|
2651
|
+
"value": {
|
|
2652
|
+
"visible": {
|
|
2653
|
+
"name": "bool",
|
|
2654
|
+
"description": "\u662f\u5426\u5c55\u793a\u9884\u89c8\u5c42",
|
|
2655
|
+
"required": false
|
|
2656
|
+
},
|
|
2657
|
+
"mask": {
|
|
2658
|
+
"name": "node",
|
|
2659
|
+
"description": "\u7ec4\u4ef6\u578b\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u7f29\u7565\u56fe\u906e\u7f69\u5143\u7d20",
|
|
2660
|
+
"required": false
|
|
2661
|
+
}
|
|
2662
|
+
}
|
|
2663
|
+
}
|
|
2664
|
+
]
|
|
2632
2665
|
},
|
|
2633
2666
|
"required": false,
|
|
2634
|
-
"description": "\
|
|
2667
|
+
"description": "\u914d\u7f6e\u56fe\u7247\u9884\u89c8\u76f8\u5173\u529f\u80fd\uff0c\u4f20\u5165false\u65f6\u4f1a\u7981\u7528\u9884\u89c8\u529f\u80fd\r\n\u9ed8\u8ba4\uff1atrue",
|
|
2635
2668
|
"defaultValue": {
|
|
2636
2669
|
"value": "true",
|
|
2637
2670
|
"computed": false
|
|
@@ -7848,7 +7881,18 @@
|
|
|
7848
7881
|
},
|
|
7849
7882
|
"searchKeyword": {
|
|
7850
7883
|
"type": {
|
|
7851
|
-
"name": "
|
|
7884
|
+
"name": "union",
|
|
7885
|
+
"value": [
|
|
7886
|
+
{
|
|
7887
|
+
"name": "string"
|
|
7888
|
+
},
|
|
7889
|
+
{
|
|
7890
|
+
"name": "arrayOf",
|
|
7891
|
+
"value": {
|
|
7892
|
+
"name": "string"
|
|
7893
|
+
}
|
|
7894
|
+
}
|
|
7895
|
+
]
|
|
7852
7896
|
},
|
|
7853
7897
|
"required": false,
|
|
7854
7898
|
"description": ""
|
|
@@ -14156,6 +14200,17 @@
|
|
|
14156
14200
|
"computed": false
|
|
14157
14201
|
}
|
|
14158
14202
|
},
|
|
14203
|
+
"popupMatchSelectWidth": {
|
|
14204
|
+
"type": {
|
|
14205
|
+
"name": "bool"
|
|
14206
|
+
},
|
|
14207
|
+
"required": false,
|
|
14208
|
+
"description": "\u8bbe\u7f6e\u4e0b\u62c9\u83dc\u5355\u662f\u5426\u4e0e\u9009\u62e9\u6846\u540c\u6b3e\uff0c\u8bbe\u7f6e\u4e3afalse\u65f6\u5c06\u5173\u95ed\u865a\u62df\u6eda\u52a8\u529f\u80fd\r\n\u9ed8\u8ba4\uff1atrue",
|
|
14209
|
+
"defaultValue": {
|
|
14210
|
+
"value": "true",
|
|
14211
|
+
"computed": false
|
|
14212
|
+
}
|
|
14213
|
+
},
|
|
14159
14214
|
"readOnly": {
|
|
14160
14215
|
"type": {
|
|
14161
14216
|
"name": "bool"
|
|
@@ -1,94 +1,94 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}
|
|
2
|
+
"name": "feffery_antd_components",
|
|
3
|
+
"version": "0.3.0-b4",
|
|
4
|
+
"description": "Best implementation of Antd components in Plotly Dash.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/CNFeffery/feffery-antd-components.git"
|
|
8
|
+
},
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/CNFeffery/feffery-antd-components/issues"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "http://fac.feffery.tech/",
|
|
13
|
+
"main": "build/index.js",
|
|
14
|
+
"scripts": {
|
|
15
|
+
"start": "webpack-serve --config ./webpack.serve.config.js --open",
|
|
16
|
+
"build:js": "webpack --mode production",
|
|
17
|
+
"build:backends": "dash-generate-components ./src/lib/components feffery_antd_components -p package-info.json --r-prefix 'feffery' --jl-prefix 'feffery'",
|
|
18
|
+
"build:backends-activated": "(. venv/bin/activate || venv\\scripts\\activate && npm run build:py_and_r)",
|
|
19
|
+
"build": "npm run build:js && npm run build:backends",
|
|
20
|
+
"build:activated": "npm run build:js && npm run build:backends-activated"
|
|
21
|
+
},
|
|
22
|
+
"author": "CNFeffery <fefferypzy@gmail.com>",
|
|
23
|
+
"email": "fefferypzy@gmail.com",
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@ant-design/charts": "^1.4.2",
|
|
27
|
+
"@ant-design/compatible": "^5.0.0",
|
|
28
|
+
"@ant-design/happy-work-theme": "^1.0.0",
|
|
29
|
+
"@ant-design/icons": "^5.0.0",
|
|
30
|
+
"@ant-design/pro-card": "^1.20.1",
|
|
31
|
+
"@ant-design/pro-editor": "^0.31.0",
|
|
32
|
+
"@ant-design/pro-layout": "^7.17.13",
|
|
33
|
+
"@plotly/webpack-dash-dynamic-import": "^1.3.0",
|
|
34
|
+
"ahooks": "^3.7.0",
|
|
35
|
+
"antd": "^5.0.0",
|
|
36
|
+
"antd-img-crop": "^4.2.3",
|
|
37
|
+
"color": "^4.2.3",
|
|
38
|
+
"is-absolute-url": "4.0.1",
|
|
39
|
+
"lodash": "^4.17.21",
|
|
40
|
+
"md5": "2.3.0",
|
|
41
|
+
"nano-css": "^5.3.5",
|
|
42
|
+
"ramda": "0.26.1",
|
|
43
|
+
"react-draggable": "^4.4.5",
|
|
44
|
+
"react-fast-marquee": "1.3.1",
|
|
45
|
+
"react-highlight-words": "0.17.0",
|
|
46
|
+
"react-icons": "^4.11.0",
|
|
47
|
+
"react-text-loop": "2.3.0",
|
|
48
|
+
"react-use": "^17.4.0",
|
|
49
|
+
"uuid": "8.3.2"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@babel/core": "^7.5.4",
|
|
53
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.5.4",
|
|
54
|
+
"@babel/plugin-proposal-optional-chaining": "^7.20.7",
|
|
55
|
+
"@babel/preset-env": "^7.5.4",
|
|
56
|
+
"@babel/preset-react": "^7.0.0",
|
|
57
|
+
"babel-eslint": "^10.0.2",
|
|
58
|
+
"babel-loader": "^8.0.6",
|
|
59
|
+
"copyfiles": "^2.1.1",
|
|
60
|
+
"css-loader": "^3.0.0",
|
|
61
|
+
"eslint": "^6.0.1",
|
|
62
|
+
"eslint-config-prettier": "^6.0.0",
|
|
63
|
+
"eslint-plugin-import": "^2.18.0",
|
|
64
|
+
"eslint-plugin-react": "^7.14.2",
|
|
65
|
+
"less": "^3.13.1",
|
|
66
|
+
"less-loader": "^5.0.0",
|
|
67
|
+
"npm": "^6.1.0",
|
|
68
|
+
"prop-types": "^15.7.2",
|
|
69
|
+
"react": "^17.0.2",
|
|
70
|
+
"react-docgen": "^5.4.3",
|
|
71
|
+
"react-dom": "^17.0.2",
|
|
72
|
+
"style-loader": "^0.23.1",
|
|
73
|
+
"styled-jsx": "^3.2.1",
|
|
74
|
+
"uglifyjs-webpack-plugin": "^2.2.0",
|
|
75
|
+
"webpack": "4.36.1",
|
|
76
|
+
"webpack-bundle-analyzer": "^4.7.0",
|
|
77
|
+
"webpack-cli": "^3.3.6",
|
|
78
|
+
"webpack-serve": "3.1.0"
|
|
79
|
+
},
|
|
80
|
+
"babel": {
|
|
81
|
+
"presets": [
|
|
82
|
+
"@babel/preset-react",
|
|
83
|
+
"@babel/preset-env"
|
|
84
|
+
],
|
|
85
|
+
"plugins": [
|
|
86
|
+
"@babel/plugin-proposal-optional-chaining",
|
|
87
|
+
"@babel/plugin-transform-react-jsx"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
"engines": {
|
|
91
|
+
"node": ">=8.11.0",
|
|
92
|
+
"npm": ">=6.1.0"
|
|
93
|
+
}
|
|
94
|
+
}
|
package/package.json
CHANGED
|
@@ -1,94 +1,94 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}
|
|
2
|
+
"name": "feffery_antd_components",
|
|
3
|
+
"version": "0.3.0-b4",
|
|
4
|
+
"description": "Best implementation of Antd components in Plotly Dash.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/CNFeffery/feffery-antd-components.git"
|
|
8
|
+
},
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/CNFeffery/feffery-antd-components/issues"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "http://fac.feffery.tech/",
|
|
13
|
+
"main": "build/index.js",
|
|
14
|
+
"scripts": {
|
|
15
|
+
"start": "webpack-serve --config ./webpack.serve.config.js --open",
|
|
16
|
+
"build:js": "webpack --mode production",
|
|
17
|
+
"build:backends": "dash-generate-components ./src/lib/components feffery_antd_components -p package-info.json --r-prefix 'feffery' --jl-prefix 'feffery'",
|
|
18
|
+
"build:backends-activated": "(. venv/bin/activate || venv\\scripts\\activate && npm run build:py_and_r)",
|
|
19
|
+
"build": "npm run build:js && npm run build:backends",
|
|
20
|
+
"build:activated": "npm run build:js && npm run build:backends-activated"
|
|
21
|
+
},
|
|
22
|
+
"author": "CNFeffery <fefferypzy@gmail.com>",
|
|
23
|
+
"email": "fefferypzy@gmail.com",
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@ant-design/charts": "^1.4.2",
|
|
27
|
+
"@ant-design/compatible": "^5.0.0",
|
|
28
|
+
"@ant-design/happy-work-theme": "^1.0.0",
|
|
29
|
+
"@ant-design/icons": "^5.0.0",
|
|
30
|
+
"@ant-design/pro-card": "^1.20.1",
|
|
31
|
+
"@ant-design/pro-editor": "^0.31.0",
|
|
32
|
+
"@ant-design/pro-layout": "^7.17.13",
|
|
33
|
+
"@plotly/webpack-dash-dynamic-import": "^1.3.0",
|
|
34
|
+
"ahooks": "^3.7.0",
|
|
35
|
+
"antd": "^5.0.0",
|
|
36
|
+
"antd-img-crop": "^4.2.3",
|
|
37
|
+
"color": "^4.2.3",
|
|
38
|
+
"is-absolute-url": "4.0.1",
|
|
39
|
+
"lodash": "^4.17.21",
|
|
40
|
+
"md5": "2.3.0",
|
|
41
|
+
"nano-css": "^5.3.5",
|
|
42
|
+
"ramda": "0.26.1",
|
|
43
|
+
"react-draggable": "^4.4.5",
|
|
44
|
+
"react-fast-marquee": "1.3.1",
|
|
45
|
+
"react-highlight-words": "0.17.0",
|
|
46
|
+
"react-icons": "^4.11.0",
|
|
47
|
+
"react-text-loop": "2.3.0",
|
|
48
|
+
"react-use": "^17.4.0",
|
|
49
|
+
"uuid": "8.3.2"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@babel/core": "^7.5.4",
|
|
53
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.5.4",
|
|
54
|
+
"@babel/plugin-proposal-optional-chaining": "^7.20.7",
|
|
55
|
+
"@babel/preset-env": "^7.5.4",
|
|
56
|
+
"@babel/preset-react": "^7.0.0",
|
|
57
|
+
"babel-eslint": "^10.0.2",
|
|
58
|
+
"babel-loader": "^8.0.6",
|
|
59
|
+
"copyfiles": "^2.1.1",
|
|
60
|
+
"css-loader": "^3.0.0",
|
|
61
|
+
"eslint": "^6.0.1",
|
|
62
|
+
"eslint-config-prettier": "^6.0.0",
|
|
63
|
+
"eslint-plugin-import": "^2.18.0",
|
|
64
|
+
"eslint-plugin-react": "^7.14.2",
|
|
65
|
+
"less": "^3.13.1",
|
|
66
|
+
"less-loader": "^5.0.0",
|
|
67
|
+
"npm": "^6.1.0",
|
|
68
|
+
"prop-types": "^15.7.2",
|
|
69
|
+
"react": "^17.0.2",
|
|
70
|
+
"react-docgen": "^5.4.3",
|
|
71
|
+
"react-dom": "^17.0.2",
|
|
72
|
+
"style-loader": "^0.23.1",
|
|
73
|
+
"styled-jsx": "^3.2.1",
|
|
74
|
+
"uglifyjs-webpack-plugin": "^2.2.0",
|
|
75
|
+
"webpack": "4.36.1",
|
|
76
|
+
"webpack-bundle-analyzer": "^4.7.0",
|
|
77
|
+
"webpack-cli": "^3.3.6",
|
|
78
|
+
"webpack-serve": "3.1.0"
|
|
79
|
+
},
|
|
80
|
+
"babel": {
|
|
81
|
+
"presets": [
|
|
82
|
+
"@babel/preset-react",
|
|
83
|
+
"@babel/preset-env"
|
|
84
|
+
],
|
|
85
|
+
"plugins": [
|
|
86
|
+
"@babel/plugin-proposal-optional-chaining",
|
|
87
|
+
"@babel/plugin-transform-react-jsx"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
"engines": {
|
|
91
|
+
"node": ">=8.11.0",
|
|
92
|
+
"npm": ">=6.1.0"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -24,7 +24,6 @@ Those elements have the following types:
|
|
|
24
24
|
- `height` (Real | String; optional): 设置像素高度数值,或css高度字符串
|
|
25
25
|
- `expandable` (Bool; optional): 面板是否可展开
|
|
26
26
|
默认:true
|
|
27
|
-
- `isExpand` (Bool; optional): 设置或监听当前面板是否为展开状态
|
|
28
27
|
- `key` (String; optional): 强制刷新用
|
|
29
28
|
- `loading_state` (optional): . loading_state has the following type: lists containing elements 'is_loading', 'prop_name', 'component_name'.
|
|
30
29
|
Those elements have the following types:
|
|
@@ -52,7 +51,7 @@ Those elements have the following types:
|
|
|
52
51
|
- `style` (Dict; optional): css样式
|
|
53
52
|
"""
|
|
54
53
|
function 'feffery'_antddraggablepanel(; kwargs...)
|
|
55
|
-
available_props = Symbol[:children, :id, :className, :defaultPosition, :defaultSize, :expandable, :
|
|
54
|
+
available_props = Symbol[:children, :id, :className, :defaultPosition, :defaultSize, :expandable, :key, :loading_state, :maxHeight, :maxWidth, :minHeight, :minWidth, :mode, :placement, :resize, :style]
|
|
56
55
|
wild_props = Symbol[]
|
|
57
56
|
return Component("'feffery'_antddraggablepanel", "AntdDraggablePanel", "feffery_antd_components", available_props, wild_props; kwargs...)
|
|
58
57
|
end
|
|
@@ -21,7 +21,11 @@ Those elements have the following types:
|
|
|
21
21
|
- `component_name` (String; optional): Holds the name of the component that is loading
|
|
22
22
|
- `locale` (a value equal to: 'zh-cn', 'en-us'; optional)
|
|
23
23
|
- `multiImageMode` (a value equal to: 'fold', 'unfold'; optional)
|
|
24
|
-
- `preview` (
|
|
24
|
+
- `preview` (optional): 配置图片预览相关功能,传入false时会禁用预览功能
|
|
25
|
+
默认:true. preview has the following type: Bool | lists containing elements 'visible', 'mask'.
|
|
26
|
+
Those elements have the following types:
|
|
27
|
+
- `visible` (Bool; optional): 是否展示预览层
|
|
28
|
+
- `mask` (a list of or a singular dash component, string or number; optional): 组件型,用于自定义缩略图遮罩元素
|
|
25
29
|
- `src` (String | Array of Strings; optional)
|
|
26
30
|
- `style` (Dict; optional)
|
|
27
31
|
- `width` (Real | String; optional)
|
|
@@ -23,8 +23,11 @@ Those elements have the following types:
|
|
|
23
23
|
- `component_name` (String; optional): Holds the name of the component that is loading
|
|
24
24
|
- `locale` (a value equal to: 'zh-cn', 'en-us'; optional): 设置语言环境,可选的有'zh-cn'、'en-us'
|
|
25
25
|
默认:'zh-cn'
|
|
26
|
-
- `preview` (
|
|
27
|
-
默认:true
|
|
26
|
+
- `preview` (optional): 配置图片预览相关功能,传入false时会禁用预览功能
|
|
27
|
+
默认:true. preview has the following type: Bool | lists containing elements 'visible', 'mask'.
|
|
28
|
+
Those elements have the following types:
|
|
29
|
+
- `visible` (Bool; optional): 是否展示预览层
|
|
30
|
+
- `mask` (a list of or a singular dash component, string or number; optional): 组件型,用于自定义缩略图遮罩元素
|
|
28
31
|
- `style` (Dict; optional): css样式
|
|
29
32
|
- `visible` (Bool; optional): 设置或监听当前图片组是否处于全屏预览状态
|
|
30
33
|
"""
|
|
@@ -70,6 +70,8 @@ session: window.sessionStorage, data is cleared once the browser quit.
|
|
|
70
70
|
- `placement` (a value equal to: 'bottomLeft', 'bottomRight', 'topLeft', 'topRight'; optional)
|
|
71
71
|
- `popupClassName` (String; optional): 设置弹框菜单css类名
|
|
72
72
|
- `popupContainer` (a value equal to: 'parent', 'body'; optional)
|
|
73
|
+
- `popupMatchSelectWidth` (Bool; optional): 设置下拉菜单是否与选择框同款,设置为false时将关闭虚拟滚动功能
|
|
74
|
+
默认:true
|
|
73
75
|
- `readOnly` (Bool; optional)
|
|
74
76
|
- `searchValue` (String; optional)
|
|
75
77
|
- `size` (a value equal to: 'small', 'middle', 'large'; optional)
|
|
@@ -78,7 +80,7 @@ session: window.sessionStorage, data is cleared once the browser quit.
|
|
|
78
80
|
- `value` (String | Real | Array of String | Reals; optional)
|
|
79
81
|
"""
|
|
80
82
|
function 'feffery'_antdselect(; kwargs...)
|
|
81
|
-
available_props = Symbol[:id, :allowClear, :autoClearSearchValue, :autoFocus, :autoSpin, :batchPropsNames, :batchPropsValues, :bordered, :className, :colorsMode, :colorsNameWidth, :debounceSearchValue, :debounceWait, :defaultValue, :disabled, :dropdownAfter, :dropdownBefore, :emptyContent, :key, :listHeight, :loadingEmptyContent, :loading_state, :locale, :maxTagCount, :mode, :optionFilterMode, :optionFilterProp, :options, :persisted_props, :persistence, :persistence_type, :placeholder, :placement, :popupClassName, :popupContainer, :readOnly, :searchValue, :size, :status, :style, :value]
|
|
83
|
+
available_props = Symbol[:id, :allowClear, :autoClearSearchValue, :autoFocus, :autoSpin, :batchPropsNames, :batchPropsValues, :bordered, :className, :colorsMode, :colorsNameWidth, :debounceSearchValue, :debounceWait, :defaultValue, :disabled, :dropdownAfter, :dropdownBefore, :emptyContent, :key, :listHeight, :loadingEmptyContent, :loading_state, :locale, :maxTagCount, :mode, :optionFilterMode, :optionFilterProp, :options, :persisted_props, :persistence, :persistence_type, :placeholder, :placement, :popupClassName, :popupContainer, :popupMatchSelectWidth, :readOnly, :searchValue, :size, :status, :style, :value]
|
|
82
84
|
wild_props = Symbol[]
|
|
83
85
|
return Component("'feffery'_antdselect", "AntdSelect", "feffery_antd_components", available_props, wild_props; kwargs...)
|
|
84
86
|
end
|
|
@@ -63,7 +63,7 @@ Those elements have the following types:
|
|
|
63
63
|
- `key` (String; required)
|
|
64
64
|
- `align` (a value equal to: 'top', 'bottom', 'auto'; optional)
|
|
65
65
|
- `offset` (Real; optional)
|
|
66
|
-
- `searchKeyword` (String; optional)
|
|
66
|
+
- `searchKeyword` (String | Array of Strings; optional)
|
|
67
67
|
- `selectable` (Bool; optional)
|
|
68
68
|
- `selectedKeys` (Array of Strings; optional)
|
|
69
69
|
- `showIcon` (Bool; optional)
|
|
@@ -59,8 +59,23 @@ AntdImage.propTypes = {
|
|
|
59
59
|
// 设置多张图片的展示模式,可选的有'fold'与'unfold'
|
|
60
60
|
multiImageMode: PropTypes.oneOf(['fold', 'unfold']),
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
/**
|
|
63
|
+
* 配置图片预览相关功能,传入false时会禁用预览功能
|
|
64
|
+
* 默认:true
|
|
65
|
+
*/
|
|
66
|
+
preview: PropTypes.oneOfType([
|
|
67
|
+
PropTypes.bool,
|
|
68
|
+
PropTypes.exact({
|
|
69
|
+
/**
|
|
70
|
+
* 是否展示预览层
|
|
71
|
+
*/
|
|
72
|
+
visible: PropTypes.bool,
|
|
73
|
+
/**
|
|
74
|
+
* 组件型,用于自定义缩略图遮罩元素
|
|
75
|
+
*/
|
|
76
|
+
mask: PropTypes.node
|
|
77
|
+
})
|
|
78
|
+
]),
|
|
64
79
|
|
|
65
80
|
loading_state: PropTypes.shape({
|
|
66
81
|
/**
|
|
@@ -53,10 +53,22 @@ AntdImageGroup.propTypes = {
|
|
|
53
53
|
fallback: PropTypes.string,
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* 配置图片预览相关功能,传入false时会禁用预览功能
|
|
57
57
|
* 默认:true
|
|
58
58
|
*/
|
|
59
|
-
preview: PropTypes.
|
|
59
|
+
preview: PropTypes.oneOfType([
|
|
60
|
+
PropTypes.bool,
|
|
61
|
+
PropTypes.exact({
|
|
62
|
+
/**
|
|
63
|
+
* 是否展示预览层
|
|
64
|
+
*/
|
|
65
|
+
visible: PropTypes.bool,
|
|
66
|
+
/**
|
|
67
|
+
* 组件型,用于自定义缩略图遮罩元素
|
|
68
|
+
*/
|
|
69
|
+
mask: PropTypes.node
|
|
70
|
+
})
|
|
71
|
+
]),
|
|
60
72
|
|
|
61
73
|
/**
|
|
62
74
|
* 设置或监听当前图片组是否处于全屏预览状态
|