feffery_antd_components 0.1.2 → 0.1.5
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.md +2 -2
- package/build/lib/feffery_antd_components/AntdAlert.py +2 -2
- package/build/lib/feffery_antd_components/AntdTable.py +66 -5
- package/build/lib/feffery_antd_components/feffery_antd_components.min.js +9 -9
- package/build/lib/feffery_antd_components/metadata.json +324 -5
- package/build/lib/feffery_antd_components/package-info.json +3 -3
- package/feffery_antd_components/AntdAlert.py +2 -2
- package/feffery_antd_components/AntdTable.py +76 -5
- package/feffery_antd_components/feffery_antd_components.min.js +9 -9
- package/feffery_antd_components/metadata.json +386 -5
- package/feffery_antd_components/package-info.json +3 -3
- package/package.json +3 -3
- package/src/FefferyAntdComponents.jl +3 -3
- package/src/jl/'feffery'_antdalert.jl +2 -2
- package/src/jl/'feffery'_antdtable.jl +43 -5
- package/src/lib/components/AntdAlert.react.js +19 -11
- package/src/lib/components/AntdTable.react.js +323 -126
- package/usage.py +207 -0
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
},
|
|
115
115
|
"description": {
|
|
116
116
|
"type": {
|
|
117
|
-
"name": "
|
|
117
|
+
"name": "any"
|
|
118
118
|
},
|
|
119
119
|
"required": false,
|
|
120
120
|
"description": ""
|
|
@@ -124,12 +124,12 @@
|
|
|
124
124
|
"name": "union",
|
|
125
125
|
"value": [
|
|
126
126
|
{
|
|
127
|
-
"name": "
|
|
127
|
+
"name": "any"
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
"name": "arrayOf",
|
|
131
131
|
"value": {
|
|
132
|
-
"name": "
|
|
132
|
+
"name": "any"
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
]
|
|
@@ -9423,6 +9423,10 @@
|
|
|
9423
9423
|
"value": "'mini-progress'",
|
|
9424
9424
|
"computed": false
|
|
9425
9425
|
},
|
|
9426
|
+
{
|
|
9427
|
+
"value": "'mini-ring-progress'",
|
|
9428
|
+
"computed": false
|
|
9429
|
+
},
|
|
9426
9430
|
{
|
|
9427
9431
|
"value": "'mini-area'",
|
|
9428
9432
|
"computed": false
|
|
@@ -9438,6 +9442,10 @@
|
|
|
9438
9442
|
{
|
|
9439
9443
|
"value": "'copyable'",
|
|
9440
9444
|
"computed": false
|
|
9445
|
+
},
|
|
9446
|
+
{
|
|
9447
|
+
"value": "'status-badge'",
|
|
9448
|
+
"computed": false
|
|
9441
9449
|
}
|
|
9442
9450
|
],
|
|
9443
9451
|
"required": false
|
|
@@ -9541,6 +9549,28 @@
|
|
|
9541
9549
|
"computed": false
|
|
9542
9550
|
}
|
|
9543
9551
|
},
|
|
9552
|
+
"miniChartHeight": {
|
|
9553
|
+
"type": {
|
|
9554
|
+
"name": "number"
|
|
9555
|
+
},
|
|
9556
|
+
"required": false,
|
|
9557
|
+
"description": "",
|
|
9558
|
+
"defaultValue": {
|
|
9559
|
+
"value": "30",
|
|
9560
|
+
"computed": false
|
|
9561
|
+
}
|
|
9562
|
+
},
|
|
9563
|
+
"miniChartAnimation": {
|
|
9564
|
+
"type": {
|
|
9565
|
+
"name": "bool"
|
|
9566
|
+
},
|
|
9567
|
+
"required": false,
|
|
9568
|
+
"description": "",
|
|
9569
|
+
"defaultValue": {
|
|
9570
|
+
"value": "false",
|
|
9571
|
+
"computed": false
|
|
9572
|
+
}
|
|
9573
|
+
},
|
|
9544
9574
|
"size": {
|
|
9545
9575
|
"type": {
|
|
9546
9576
|
"name": "enum",
|
|
@@ -9587,12 +9617,35 @@
|
|
|
9587
9617
|
"type": {
|
|
9588
9618
|
"name": "arrayOf",
|
|
9589
9619
|
"value": {
|
|
9590
|
-
"name": "
|
|
9620
|
+
"name": "union",
|
|
9621
|
+
"value": [
|
|
9622
|
+
{
|
|
9623
|
+
"name": "string"
|
|
9624
|
+
},
|
|
9625
|
+
{
|
|
9626
|
+
"name": "number"
|
|
9627
|
+
}
|
|
9628
|
+
]
|
|
9591
9629
|
}
|
|
9592
9630
|
},
|
|
9593
9631
|
"required": false,
|
|
9594
9632
|
"description": ""
|
|
9595
9633
|
},
|
|
9634
|
+
"rowSelectionWidth": {
|
|
9635
|
+
"type": {
|
|
9636
|
+
"name": "union",
|
|
9637
|
+
"value": [
|
|
9638
|
+
{
|
|
9639
|
+
"name": "string"
|
|
9640
|
+
},
|
|
9641
|
+
{
|
|
9642
|
+
"name": "number"
|
|
9643
|
+
}
|
|
9644
|
+
]
|
|
9645
|
+
},
|
|
9646
|
+
"required": false,
|
|
9647
|
+
"description": ""
|
|
9648
|
+
},
|
|
9596
9649
|
"selectedRows": {
|
|
9597
9650
|
"type": {
|
|
9598
9651
|
"name": "array"
|
|
@@ -9600,6 +9653,13 @@
|
|
|
9600
9653
|
"required": false,
|
|
9601
9654
|
"description": ""
|
|
9602
9655
|
},
|
|
9656
|
+
"sticky": {
|
|
9657
|
+
"type": {
|
|
9658
|
+
"name": "bool"
|
|
9659
|
+
},
|
|
9660
|
+
"required": false,
|
|
9661
|
+
"description": ""
|
|
9662
|
+
},
|
|
9603
9663
|
"enableHoverListen": {
|
|
9604
9664
|
"type": {
|
|
9605
9665
|
"name": "bool"
|
|
@@ -9664,7 +9724,234 @@
|
|
|
9664
9724
|
"type": {
|
|
9665
9725
|
"name": "arrayOf",
|
|
9666
9726
|
"value": {
|
|
9667
|
-
"name": "
|
|
9727
|
+
"name": "objectOf",
|
|
9728
|
+
"value": {
|
|
9729
|
+
"name": "union",
|
|
9730
|
+
"value": [
|
|
9731
|
+
{
|
|
9732
|
+
"name": "string"
|
|
9733
|
+
},
|
|
9734
|
+
{
|
|
9735
|
+
"name": "number"
|
|
9736
|
+
},
|
|
9737
|
+
{
|
|
9738
|
+
"name": "exact",
|
|
9739
|
+
"value": {
|
|
9740
|
+
"href": {
|
|
9741
|
+
"name": "string",
|
|
9742
|
+
"required": false
|
|
9743
|
+
},
|
|
9744
|
+
"target": {
|
|
9745
|
+
"name": "string",
|
|
9746
|
+
"required": false
|
|
9747
|
+
},
|
|
9748
|
+
"disabled": {
|
|
9749
|
+
"name": "bool",
|
|
9750
|
+
"required": false
|
|
9751
|
+
}
|
|
9752
|
+
}
|
|
9753
|
+
},
|
|
9754
|
+
{
|
|
9755
|
+
"name": "arrayOf",
|
|
9756
|
+
"value": {
|
|
9757
|
+
"name": "number"
|
|
9758
|
+
}
|
|
9759
|
+
},
|
|
9760
|
+
{
|
|
9761
|
+
"name": "arrayOf",
|
|
9762
|
+
"value": {
|
|
9763
|
+
"name": "exact",
|
|
9764
|
+
"value": {
|
|
9765
|
+
"color": {
|
|
9766
|
+
"name": "string",
|
|
9767
|
+
"required": false
|
|
9768
|
+
},
|
|
9769
|
+
"tag": {
|
|
9770
|
+
"name": "union",
|
|
9771
|
+
"value": [
|
|
9772
|
+
{
|
|
9773
|
+
"name": "string"
|
|
9774
|
+
},
|
|
9775
|
+
{
|
|
9776
|
+
"name": "number"
|
|
9777
|
+
}
|
|
9778
|
+
],
|
|
9779
|
+
"required": false
|
|
9780
|
+
}
|
|
9781
|
+
}
|
|
9782
|
+
}
|
|
9783
|
+
},
|
|
9784
|
+
{
|
|
9785
|
+
"name": "union",
|
|
9786
|
+
"value": [
|
|
9787
|
+
{
|
|
9788
|
+
"name": "exact",
|
|
9789
|
+
"value": {
|
|
9790
|
+
"disabled": {
|
|
9791
|
+
"name": "bool",
|
|
9792
|
+
"required": false
|
|
9793
|
+
},
|
|
9794
|
+
"type": {
|
|
9795
|
+
"name": "enum",
|
|
9796
|
+
"value": [
|
|
9797
|
+
{
|
|
9798
|
+
"value": "'primary'",
|
|
9799
|
+
"computed": false
|
|
9800
|
+
},
|
|
9801
|
+
{
|
|
9802
|
+
"value": "'ghost'",
|
|
9803
|
+
"computed": false
|
|
9804
|
+
},
|
|
9805
|
+
{
|
|
9806
|
+
"value": "'dashed'",
|
|
9807
|
+
"computed": false
|
|
9808
|
+
},
|
|
9809
|
+
{
|
|
9810
|
+
"value": "'link'",
|
|
9811
|
+
"computed": false
|
|
9812
|
+
},
|
|
9813
|
+
{
|
|
9814
|
+
"value": "'text'",
|
|
9815
|
+
"computed": false
|
|
9816
|
+
},
|
|
9817
|
+
{
|
|
9818
|
+
"value": "'default'",
|
|
9819
|
+
"computed": false
|
|
9820
|
+
}
|
|
9821
|
+
],
|
|
9822
|
+
"required": false
|
|
9823
|
+
},
|
|
9824
|
+
"danger": {
|
|
9825
|
+
"name": "bool",
|
|
9826
|
+
"required": false
|
|
9827
|
+
},
|
|
9828
|
+
"style": {
|
|
9829
|
+
"name": "object",
|
|
9830
|
+
"required": false
|
|
9831
|
+
},
|
|
9832
|
+
"content": {
|
|
9833
|
+
"name": "union",
|
|
9834
|
+
"value": [
|
|
9835
|
+
{
|
|
9836
|
+
"name": "string"
|
|
9837
|
+
},
|
|
9838
|
+
{
|
|
9839
|
+
"name": "number"
|
|
9840
|
+
}
|
|
9841
|
+
],
|
|
9842
|
+
"required": false
|
|
9843
|
+
}
|
|
9844
|
+
}
|
|
9845
|
+
},
|
|
9846
|
+
{
|
|
9847
|
+
"name": "arrayOf",
|
|
9848
|
+
"value": {
|
|
9849
|
+
"name": "exact",
|
|
9850
|
+
"value": {
|
|
9851
|
+
"disabled": {
|
|
9852
|
+
"name": "bool",
|
|
9853
|
+
"required": false
|
|
9854
|
+
},
|
|
9855
|
+
"type": {
|
|
9856
|
+
"name": "enum",
|
|
9857
|
+
"value": [
|
|
9858
|
+
{
|
|
9859
|
+
"value": "'primary'",
|
|
9860
|
+
"computed": false
|
|
9861
|
+
},
|
|
9862
|
+
{
|
|
9863
|
+
"value": "'ghost'",
|
|
9864
|
+
"computed": false
|
|
9865
|
+
},
|
|
9866
|
+
{
|
|
9867
|
+
"value": "'dashed'",
|
|
9868
|
+
"computed": false
|
|
9869
|
+
},
|
|
9870
|
+
{
|
|
9871
|
+
"value": "'link'",
|
|
9872
|
+
"computed": false
|
|
9873
|
+
},
|
|
9874
|
+
{
|
|
9875
|
+
"value": "'text'",
|
|
9876
|
+
"computed": false
|
|
9877
|
+
},
|
|
9878
|
+
{
|
|
9879
|
+
"value": "'default'",
|
|
9880
|
+
"computed": false
|
|
9881
|
+
}
|
|
9882
|
+
],
|
|
9883
|
+
"required": false
|
|
9884
|
+
},
|
|
9885
|
+
"danger": {
|
|
9886
|
+
"name": "bool",
|
|
9887
|
+
"required": false
|
|
9888
|
+
},
|
|
9889
|
+
"style": {
|
|
9890
|
+
"name": "object",
|
|
9891
|
+
"required": false
|
|
9892
|
+
},
|
|
9893
|
+
"content": {
|
|
9894
|
+
"name": "union",
|
|
9895
|
+
"value": [
|
|
9896
|
+
{
|
|
9897
|
+
"name": "string"
|
|
9898
|
+
},
|
|
9899
|
+
{
|
|
9900
|
+
"name": "number"
|
|
9901
|
+
}
|
|
9902
|
+
],
|
|
9903
|
+
"required": false
|
|
9904
|
+
}
|
|
9905
|
+
}
|
|
9906
|
+
}
|
|
9907
|
+
}
|
|
9908
|
+
]
|
|
9909
|
+
},
|
|
9910
|
+
{
|
|
9911
|
+
"name": "exact",
|
|
9912
|
+
"value": {
|
|
9913
|
+
"status": {
|
|
9914
|
+
"name": "enum",
|
|
9915
|
+
"value": [
|
|
9916
|
+
{
|
|
9917
|
+
"value": "'success'",
|
|
9918
|
+
"computed": false
|
|
9919
|
+
},
|
|
9920
|
+
{
|
|
9921
|
+
"value": "'processing'",
|
|
9922
|
+
"computed": false
|
|
9923
|
+
},
|
|
9924
|
+
{
|
|
9925
|
+
"value": "'default'",
|
|
9926
|
+
"computed": false
|
|
9927
|
+
},
|
|
9928
|
+
{
|
|
9929
|
+
"value": "'error'",
|
|
9930
|
+
"computed": false
|
|
9931
|
+
},
|
|
9932
|
+
{
|
|
9933
|
+
"value": "'warning'",
|
|
9934
|
+
"computed": false
|
|
9935
|
+
}
|
|
9936
|
+
],
|
|
9937
|
+
"required": false
|
|
9938
|
+
},
|
|
9939
|
+
"text": {
|
|
9940
|
+
"name": "union",
|
|
9941
|
+
"value": [
|
|
9942
|
+
{
|
|
9943
|
+
"name": "string"
|
|
9944
|
+
},
|
|
9945
|
+
{
|
|
9946
|
+
"name": "number"
|
|
9947
|
+
}
|
|
9948
|
+
],
|
|
9949
|
+
"required": false
|
|
9950
|
+
}
|
|
9951
|
+
}
|
|
9952
|
+
}
|
|
9953
|
+
]
|
|
9954
|
+
}
|
|
9668
9955
|
}
|
|
9669
9956
|
},
|
|
9670
9957
|
"required": false,
|
|
@@ -9757,6 +10044,10 @@
|
|
|
9757
10044
|
"name": "number",
|
|
9758
10045
|
"required": false
|
|
9759
10046
|
},
|
|
10047
|
+
"showSizeChanger": {
|
|
10048
|
+
"name": "bool",
|
|
10049
|
+
"required": false
|
|
10050
|
+
},
|
|
9760
10051
|
"pageSizeOptions": {
|
|
9761
10052
|
"name": "arrayOf",
|
|
9762
10053
|
"value": {
|
|
@@ -9764,6 +10055,10 @@
|
|
|
9764
10055
|
},
|
|
9765
10056
|
"required": false
|
|
9766
10057
|
},
|
|
10058
|
+
"showTitle": {
|
|
10059
|
+
"name": "bool",
|
|
10060
|
+
"required": false
|
|
10061
|
+
},
|
|
9767
10062
|
"showQuickJumper": {
|
|
9768
10063
|
"name": "bool",
|
|
9769
10064
|
"required": false
|
|
@@ -9787,6 +10082,28 @@
|
|
|
9787
10082
|
"simple": {
|
|
9788
10083
|
"name": "bool",
|
|
9789
10084
|
"required": false
|
|
10085
|
+
},
|
|
10086
|
+
"disabled": {
|
|
10087
|
+
"name": "bool",
|
|
10088
|
+
"required": false
|
|
10089
|
+
},
|
|
10090
|
+
"responsive": {
|
|
10091
|
+
"name": "bool",
|
|
10092
|
+
"required": false
|
|
10093
|
+
},
|
|
10094
|
+
"size": {
|
|
10095
|
+
"name": "enum",
|
|
10096
|
+
"value": [
|
|
10097
|
+
{
|
|
10098
|
+
"value": "'default'",
|
|
10099
|
+
"computed": false
|
|
10100
|
+
},
|
|
10101
|
+
{
|
|
10102
|
+
"value": "'small'",
|
|
10103
|
+
"computed": false
|
|
10104
|
+
}
|
|
10105
|
+
],
|
|
10106
|
+
"required": false
|
|
9790
10107
|
}
|
|
9791
10108
|
}
|
|
9792
10109
|
}
|
|
@@ -9813,6 +10130,13 @@
|
|
|
9813
10130
|
"required": false,
|
|
9814
10131
|
"description": ""
|
|
9815
10132
|
},
|
|
10133
|
+
"maxWidth": {
|
|
10134
|
+
"type": {
|
|
10135
|
+
"name": "number"
|
|
10136
|
+
},
|
|
10137
|
+
"required": false,
|
|
10138
|
+
"description": ""
|
|
10139
|
+
},
|
|
9816
10140
|
"currentData": {
|
|
9817
10141
|
"type": {
|
|
9818
10142
|
"name": "array"
|
|
@@ -9913,6 +10237,63 @@
|
|
|
9913
10237
|
"computed": false
|
|
9914
10238
|
}
|
|
9915
10239
|
},
|
|
10240
|
+
"summaryRowContents": {
|
|
10241
|
+
"type": {
|
|
10242
|
+
"name": "arrayOf",
|
|
10243
|
+
"value": {
|
|
10244
|
+
"name": "exact",
|
|
10245
|
+
"value": {
|
|
10246
|
+
"content": {
|
|
10247
|
+
"name": "union",
|
|
10248
|
+
"value": [
|
|
10249
|
+
{
|
|
10250
|
+
"name": "string"
|
|
10251
|
+
},
|
|
10252
|
+
{
|
|
10253
|
+
"name": "number"
|
|
10254
|
+
}
|
|
10255
|
+
],
|
|
10256
|
+
"required": false
|
|
10257
|
+
},
|
|
10258
|
+
"colSpan": {
|
|
10259
|
+
"name": "number",
|
|
10260
|
+
"required": false
|
|
10261
|
+
},
|
|
10262
|
+
"align": {
|
|
10263
|
+
"name": "enum",
|
|
10264
|
+
"value": [
|
|
10265
|
+
{
|
|
10266
|
+
"value": "'left'",
|
|
10267
|
+
"computed": false
|
|
10268
|
+
},
|
|
10269
|
+
{
|
|
10270
|
+
"value": "'center'",
|
|
10271
|
+
"computed": false
|
|
10272
|
+
},
|
|
10273
|
+
{
|
|
10274
|
+
"value": "'right'",
|
|
10275
|
+
"computed": false
|
|
10276
|
+
}
|
|
10277
|
+
],
|
|
10278
|
+
"required": false
|
|
10279
|
+
}
|
|
10280
|
+
}
|
|
10281
|
+
}
|
|
10282
|
+
},
|
|
10283
|
+
"required": false,
|
|
10284
|
+
"description": ""
|
|
10285
|
+
},
|
|
10286
|
+
"summaryRowFixed": {
|
|
10287
|
+
"type": {
|
|
10288
|
+
"name": "bool"
|
|
10289
|
+
},
|
|
10290
|
+
"required": false,
|
|
10291
|
+
"description": "",
|
|
10292
|
+
"defaultValue": {
|
|
10293
|
+
"value": "false",
|
|
10294
|
+
"computed": false
|
|
10295
|
+
}
|
|
10296
|
+
},
|
|
9916
10297
|
"loading_state": {
|
|
9917
10298
|
"type": {
|
|
9918
10299
|
"name": "shape",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "feffery_antd_components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Best implementation of Antd components in Plotly Dash.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"email": "fefferypzy@gmail.com",
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@ant-design/charts": "^1.
|
|
26
|
+
"@ant-design/charts": "^1.3.5",
|
|
27
27
|
"@ant-design/icons": "^4.6.3",
|
|
28
|
-
"antd": "^4.
|
|
28
|
+
"antd": "^4.19.1",
|
|
29
29
|
"dash-extensions-js": "^0.0.8",
|
|
30
30
|
"is-absolute-url": "^4.0.1",
|
|
31
31
|
"md5": "^2.3.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "feffery_antd_components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Best implementation of Antd components in Plotly Dash.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"email": "fefferypzy@gmail.com",
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@ant-design/charts": "^1.
|
|
26
|
+
"@ant-design/charts": "^1.3.5",
|
|
27
27
|
"@ant-design/icons": "^4.6.3",
|
|
28
|
-
"antd": "^4.
|
|
28
|
+
"antd": "^4.19.1",
|
|
29
29
|
"dash-extensions-js": "^0.0.8",
|
|
30
30
|
"is-absolute-url": "^4.0.1",
|
|
31
31
|
"md5": "^2.3.0",
|
|
@@ -3,7 +3,7 @@ module FefferyAntdComponents
|
|
|
3
3
|
using Dash
|
|
4
4
|
|
|
5
5
|
const resources_path = realpath(joinpath( @__DIR__, "..", "deps"))
|
|
6
|
-
const version = "0.1.
|
|
6
|
+
const version = "0.1.5"
|
|
7
7
|
|
|
8
8
|
include("jl/'feffery'_antdaffix.jl")
|
|
9
9
|
include("jl/'feffery'_antdalert.jl")
|
|
@@ -92,14 +92,14 @@ function __init__()
|
|
|
92
92
|
[
|
|
93
93
|
DashBase.Resource(
|
|
94
94
|
relative_package_path = "feffery_antd_components.min.js",
|
|
95
|
-
external_url = "https://unpkg.com/feffery_antd_components@0.1.
|
|
95
|
+
external_url = "https://unpkg.com/feffery_antd_components@0.1.5/feffery_antd_components/feffery_antd_components.min.js",
|
|
96
96
|
dynamic = nothing,
|
|
97
97
|
async = nothing,
|
|
98
98
|
type = :js
|
|
99
99
|
),
|
|
100
100
|
DashBase.Resource(
|
|
101
101
|
relative_package_path = "feffery_antd_components.min.js.map",
|
|
102
|
-
external_url = "https://unpkg.com/feffery_antd_components@0.1.
|
|
102
|
+
external_url = "https://unpkg.com/feffery_antd_components@0.1.5/feffery_antd_components/feffery_antd_components.min.js.map",
|
|
103
103
|
dynamic = true,
|
|
104
104
|
async = nothing,
|
|
105
105
|
type = :js
|
|
@@ -11,13 +11,13 @@ Keyword arguments:
|
|
|
11
11
|
- `id` (String; optional)
|
|
12
12
|
- `className` (String; optional)
|
|
13
13
|
- `closable` (Bool; optional)
|
|
14
|
-
- `description` (String; optional)
|
|
14
|
+
- `description` (Bool | Real | String | Dict | Array; optional)
|
|
15
15
|
- `loading_state` (optional): . loading_state has the following type: lists containing elements 'is_loading', 'prop_name', 'component_name'.
|
|
16
16
|
Those elements have the following types:
|
|
17
17
|
- `is_loading` (Bool; optional): Determines if the component is loading or not
|
|
18
18
|
- `prop_name` (String; optional): Holds which property is loading
|
|
19
19
|
- `component_name` (String; optional): Holds the name of the component that is loading
|
|
20
|
-
- `message` (String | Array of
|
|
20
|
+
- `message` (Bool | Real | String | Dict | Array | Array of Bool | Real | String | Dict | Arrays; optional)
|
|
21
21
|
- `messageRenderMode` (a value equal to: 'default', 'loop-text', 'marquee'; optional)
|
|
22
22
|
- `showIcon` (Bool; optional)
|
|
23
23
|
- `style` (Dict; optional)
|
|
@@ -18,7 +18,7 @@ Those elements have the following types:
|
|
|
18
18
|
- `dataIndex` (String; required)
|
|
19
19
|
- `renderOptions` (optional): . renderOptions has the following type: lists containing elements 'renderType', 'renderLinkText', 'renderButtonPopConfirmProps'.
|
|
20
20
|
Those elements have the following types:
|
|
21
|
-
- `renderType` (a value equal to: 'link', 'ellipsis', 'mini-line', 'mini-bar', 'mini-progress', 'mini-area', 'tags', 'button', 'copyable'; optional)
|
|
21
|
+
- `renderType` (a value equal to: 'link', 'ellipsis', 'mini-line', 'mini-bar', 'mini-progress', 'mini-ring-progress', 'mini-area', 'tags', 'button', 'copyable', 'status-badge'; optional)
|
|
22
22
|
- `renderLinkText` (String; optional)
|
|
23
23
|
- `renderButtonPopConfirmProps` (optional): . renderButtonPopConfirmProps has the following type: lists containing elements 'title', 'okText', 'cancelText'.
|
|
24
24
|
Those elements have the following types:
|
|
@@ -39,7 +39,29 @@ Those elements have the following types:
|
|
|
39
39
|
- `content` (String; optional)
|
|
40
40
|
- `containerId` (String; optional)
|
|
41
41
|
- `currentData` (Array; optional)
|
|
42
|
-
- `data` (Array of
|
|
42
|
+
- `data` (optional): . data has the following type: Array of Dict with Strings as keys and values of type String | Real | lists containing elements 'href', 'target', 'disabled'.
|
|
43
|
+
Those elements have the following types:
|
|
44
|
+
- `href` (String; optional)
|
|
45
|
+
- `target` (String; optional)
|
|
46
|
+
- `disabled` (Bool; optional) | Array of Reals | Array of lists containing elements 'color', 'tag'.
|
|
47
|
+
Those elements have the following types:
|
|
48
|
+
- `color` (String; optional)
|
|
49
|
+
- `tag` (String | Real; optional)s | lists containing elements 'disabled', 'type', 'danger', 'style', 'content'.
|
|
50
|
+
Those elements have the following types:
|
|
51
|
+
- `disabled` (Bool; optional)
|
|
52
|
+
- `type` (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; optional)
|
|
53
|
+
- `danger` (Bool; optional)
|
|
54
|
+
- `style` (Dict; optional)
|
|
55
|
+
- `content` (String | Real; optional) | Array of lists containing elements 'disabled', 'type', 'danger', 'style', 'content'.
|
|
56
|
+
Those elements have the following types:
|
|
57
|
+
- `disabled` (Bool; optional)
|
|
58
|
+
- `type` (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; optional)
|
|
59
|
+
- `danger` (Bool; optional)
|
|
60
|
+
- `style` (Dict; optional)
|
|
61
|
+
- `content` (String | Real; optional)s | lists containing elements 'status', 'text'.
|
|
62
|
+
Those elements have the following types:
|
|
63
|
+
- `status` (a value equal to: 'success', 'processing', 'default', 'error', 'warning'; optional)
|
|
64
|
+
- `text` (String | Real; optional)s
|
|
43
65
|
- `enableHoverListen` (Bool; optional)
|
|
44
66
|
- `filter` (Dict; optional)
|
|
45
67
|
- `filterOptions` (Dict; optional)
|
|
@@ -50,26 +72,35 @@ Those elements have the following types:
|
|
|
50
72
|
- `component_name` (String; optional): Holds the name of the component that is loading
|
|
51
73
|
- `locale` (a value equal to: 'zh-cn', 'en-us'; optional)
|
|
52
74
|
- `maxHeight` (Real; optional)
|
|
75
|
+
- `maxWidth` (Real; optional)
|
|
76
|
+
- `miniChartAnimation` (Bool; optional)
|
|
77
|
+
- `miniChartHeight` (Real; optional)
|
|
53
78
|
- `mode` (a value equal to: 'client-side', 'server-side'; optional)
|
|
54
79
|
- `nClicksButton` (Real; optional)
|
|
55
|
-
- `pagination` (optional): . pagination has the following type: Bool | lists containing elements 'position', 'pageSize', 'current', 'pageSizeOptions', 'showQuickJumper', 'showTotalPrefix', 'showTotalSuffix', 'total', 'hideOnSinglePage', 'simple'.
|
|
80
|
+
- `pagination` (optional): . pagination has the following type: Bool | lists containing elements 'position', 'pageSize', 'current', 'showSizeChanger', 'pageSizeOptions', 'showTitle', 'showQuickJumper', 'showTotalPrefix', 'showTotalSuffix', 'total', 'hideOnSinglePage', 'simple', 'disabled', 'responsive', 'size'.
|
|
56
81
|
Those elements have the following types:
|
|
57
82
|
- `position` (a value equal to: 'topLeft', 'topCenter', 'topRight', 'bottomLeft', 'bottomCenter', 'bottomRight'; optional)
|
|
58
83
|
- `pageSize` (Real; optional)
|
|
59
84
|
- `current` (Real; optional)
|
|
85
|
+
- `showSizeChanger` (Bool; optional)
|
|
60
86
|
- `pageSizeOptions` (Array of Reals; optional)
|
|
87
|
+
- `showTitle` (Bool; optional)
|
|
61
88
|
- `showQuickJumper` (Bool; optional)
|
|
62
89
|
- `showTotalPrefix` (String; optional)
|
|
63
90
|
- `showTotalSuffix` (String; optional)
|
|
64
91
|
- `total` (Real; optional)
|
|
65
92
|
- `hideOnSinglePage` (Bool; optional)
|
|
66
93
|
- `simple` (Bool; optional)
|
|
94
|
+
- `disabled` (Bool; optional)
|
|
95
|
+
- `responsive` (Bool; optional)
|
|
96
|
+
- `size` (a value equal to: 'default', 'small'; optional)
|
|
67
97
|
- `recentlyButtonClickedRow` (Dict; optional)
|
|
68
98
|
- `recentlyChangedRow` (Dict; optional)
|
|
69
99
|
- `recentlyMouseEnterColumn` (String; optional)
|
|
70
100
|
- `recentlyMouseEnterRow` (String | Real; optional)
|
|
71
101
|
- `rowSelectionType` (a value equal to: 'checkbox', 'radio'; optional)
|
|
72
|
-
- `
|
|
102
|
+
- `rowSelectionWidth` (String | Real; optional)
|
|
103
|
+
- `selectedRowKeys` (Array of String | Reals; optional)
|
|
73
104
|
- `selectedRows` (Array; optional)
|
|
74
105
|
- `size` (a value equal to: 'small', 'default', 'large'; optional)
|
|
75
106
|
- `sortOptions` (optional): . sortOptions has the following type: lists containing elements 'sortDataIndexes', 'multiple'.
|
|
@@ -80,11 +111,18 @@ Those elements have the following types:
|
|
|
80
111
|
Those elements have the following types:
|
|
81
112
|
- `columns` (Array of Strings; optional)
|
|
82
113
|
- `orders` (Array of a value equal to: 'ascend', 'descend's; optional)
|
|
114
|
+
- `sticky` (Bool; optional)
|
|
83
115
|
- `style` (Dict; optional)
|
|
116
|
+
- `summaryRowContents` (optional): . summaryRowContents has the following type: Array of lists containing elements 'content', 'colSpan', 'align'.
|
|
117
|
+
Those elements have the following types:
|
|
118
|
+
- `content` (String | Real; optional)
|
|
119
|
+
- `colSpan` (Real; optional)
|
|
120
|
+
- `align` (a value equal to: 'left', 'center', 'right'; optional)s
|
|
121
|
+
- `summaryRowFixed` (Bool; optional)
|
|
84
122
|
- `titlePopoverInfo` (Dict; optional)
|
|
85
123
|
"""
|
|
86
124
|
function 'feffery'_antdtable(; kwargs...)
|
|
87
|
-
available_props = Symbol[:id, :bordered, :className, :clickedContent, :columns, :columnsFormatConstraint, :containerId, :currentData, :data, :enableHoverListen, :filter, :filterOptions, :loading_state, :locale, :maxHeight, :mode, :nClicksButton, :pagination, :recentlyButtonClickedRow, :recentlyChangedRow, :recentlyMouseEnterColumn, :recentlyMouseEnterRow, :rowSelectionType, :selectedRowKeys, :selectedRows, :size, :sortOptions, :sorter, :style, :titlePopoverInfo]
|
|
125
|
+
available_props = Symbol[:id, :bordered, :className, :clickedContent, :columns, :columnsFormatConstraint, :containerId, :currentData, :data, :enableHoverListen, :filter, :filterOptions, :loading_state, :locale, :maxHeight, :maxWidth, :miniChartAnimation, :miniChartHeight, :mode, :nClicksButton, :pagination, :recentlyButtonClickedRow, :recentlyChangedRow, :recentlyMouseEnterColumn, :recentlyMouseEnterRow, :rowSelectionType, :rowSelectionWidth, :selectedRowKeys, :selectedRows, :size, :sortOptions, :sorter, :sticky, :style, :summaryRowContents, :summaryRowFixed, :titlePopoverInfo]
|
|
88
126
|
wild_props = Symbol[]
|
|
89
127
|
return Component("'feffery'_antdtable", "AntdTable", "feffery_antd_components", available_props, wild_props; kwargs...)
|
|
90
128
|
end
|