feffery_antd_components 0.1.7 → 0.1.8

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.
@@ -3608,34 +3608,133 @@
3608
3608
  },
3609
3609
  "lastUploadTaskRecord": {
3610
3610
  "type": {
3611
- "name": "exact",
3612
- "value": {
3613
- "fileName": {
3614
- "name": "string",
3615
- "required": false
3616
- },
3617
- "fileSize": {
3618
- "name": "number",
3619
- "required": false
3620
- },
3621
- "completeTimestamp": {
3622
- "name": "number",
3623
- "required": false
3611
+ "name": "union",
3612
+ "value": [
3613
+ {
3614
+ "name": "exact",
3615
+ "value": {
3616
+ "fileName": {
3617
+ "name": "string",
3618
+ "required": false
3619
+ },
3620
+ "fileSize": {
3621
+ "name": "number",
3622
+ "required": false
3623
+ },
3624
+ "completeTimestamp": {
3625
+ "name": "number",
3626
+ "required": false
3627
+ },
3628
+ "taskStatus": {
3629
+ "name": "string",
3630
+ "required": false
3631
+ },
3632
+ "taskId": {
3633
+ "name": "string",
3634
+ "required": false
3635
+ }
3636
+ }
3624
3637
  },
3625
- "taskStatus": {
3626
- "name": "string",
3627
- "required": false
3638
+ {
3639
+ "name": "arrayOf",
3640
+ "value": {
3641
+ "name": "exact",
3642
+ "value": {
3643
+ "fileName": {
3644
+ "name": "string",
3645
+ "required": false
3646
+ },
3647
+ "fileSize": {
3648
+ "name": "number",
3649
+ "required": false
3650
+ },
3651
+ "completeTimestamp": {
3652
+ "name": "number",
3653
+ "required": false
3654
+ },
3655
+ "taskStatus": {
3656
+ "name": "string",
3657
+ "required": false
3658
+ },
3659
+ "taskId": {
3660
+ "name": "string",
3661
+ "required": false
3662
+ }
3663
+ }
3664
+ }
3665
+ }
3666
+ ]
3667
+ },
3668
+ "required": false,
3669
+ "description": "",
3670
+ "defaultValue": {
3671
+ "value": "null",
3672
+ "computed": false
3673
+ }
3674
+ },
3675
+ "listUploadTaskRecord": {
3676
+ "type": {
3677
+ "name": "union",
3678
+ "value": [
3679
+ {
3680
+ "name": "exact",
3681
+ "value": {
3682
+ "fileName": {
3683
+ "name": "string",
3684
+ "required": false
3685
+ },
3686
+ "fileSize": {
3687
+ "name": "number",
3688
+ "required": false
3689
+ },
3690
+ "completeTimestamp": {
3691
+ "name": "number",
3692
+ "required": false
3693
+ },
3694
+ "taskStatus": {
3695
+ "name": "string",
3696
+ "required": false
3697
+ },
3698
+ "taskId": {
3699
+ "name": "string",
3700
+ "required": false
3701
+ }
3702
+ }
3628
3703
  },
3629
- "taskId": {
3630
- "name": "string",
3631
- "required": false
3704
+ {
3705
+ "name": "arrayOf",
3706
+ "value": {
3707
+ "name": "exact",
3708
+ "value": {
3709
+ "fileName": {
3710
+ "name": "string",
3711
+ "required": false
3712
+ },
3713
+ "fileSize": {
3714
+ "name": "number",
3715
+ "required": false
3716
+ },
3717
+ "completeTimestamp": {
3718
+ "name": "number",
3719
+ "required": false
3720
+ },
3721
+ "taskStatus": {
3722
+ "name": "string",
3723
+ "required": false
3724
+ },
3725
+ "taskId": {
3726
+ "name": "string",
3727
+ "required": false
3728
+ }
3729
+ }
3730
+ }
3632
3731
  }
3633
- }
3732
+ ]
3634
3733
  },
3635
3734
  "required": false,
3636
3735
  "description": "",
3637
3736
  "defaultValue": {
3638
- "value": "{}",
3737
+ "value": "[]",
3639
3738
  "computed": false
3640
3739
  }
3641
3740
  },
@@ -9754,6 +9853,10 @@
9754
9853
  {
9755
9854
  "value": "'image'",
9756
9855
  "computed": false
9856
+ },
9857
+ {
9858
+ "value": "'custom-format'",
9859
+ "computed": false
9757
9860
  }
9758
9861
  ],
9759
9862
  "required": false
@@ -9831,10 +9934,6 @@
9831
9934
  ],
9832
9935
  "required": false
9833
9936
  },
9834
- "conditionStyle": {
9835
- "name": "string",
9836
- "required": false
9837
- },
9838
9937
  "ellipsis": {
9839
9938
  "name": "any",
9840
9939
  "required": false
@@ -10328,7 +10427,21 @@
10328
10427
  "required": false
10329
10428
  },
10330
10429
  "multiple": {
10331
- "name": "bool",
10430
+ "name": "union",
10431
+ "value": [
10432
+ {
10433
+ "name": "bool"
10434
+ },
10435
+ {
10436
+ "name": "enum",
10437
+ "value": [
10438
+ {
10439
+ "value": "'auto'",
10440
+ "computed": false
10441
+ }
10442
+ ]
10443
+ }
10444
+ ],
10332
10445
  "required": false
10333
10446
  }
10334
10447
  }
@@ -10342,7 +10455,50 @@
10342
10455
  },
10343
10456
  "filterOptions": {
10344
10457
  "type": {
10345
- "name": "object"
10458
+ "name": "objectOf",
10459
+ "value": {
10460
+ "name": "exact",
10461
+ "value": {
10462
+ "filterMode": {
10463
+ "name": "enum",
10464
+ "value": [
10465
+ {
10466
+ "value": "'checkbox'",
10467
+ "computed": false
10468
+ },
10469
+ {
10470
+ "value": "'keyword'",
10471
+ "computed": false
10472
+ }
10473
+ ],
10474
+ "required": false
10475
+ },
10476
+ "filterCustomItems": {
10477
+ "name": "union",
10478
+ "value": [
10479
+ {
10480
+ "name": "arrayOf",
10481
+ "value": {
10482
+ "name": "custom",
10483
+ "raw": "[\r\n PropTypes.string,\r\n PropTypes.number\r\n]"
10484
+ }
10485
+ },
10486
+ {
10487
+ "name": "any"
10488
+ }
10489
+ ],
10490
+ "required": false
10491
+ },
10492
+ "filterMultiple": {
10493
+ "name": "bool",
10494
+ "required": false
10495
+ },
10496
+ "filterSearch": {
10497
+ "name": "bool",
10498
+ "required": false
10499
+ }
10500
+ }
10501
+ }
10346
10502
  },
10347
10503
  "required": false,
10348
10504
  "description": "",
@@ -10649,6 +10805,30 @@
10649
10805
  "computed": false
10650
10806
  }
10651
10807
  },
10808
+ "customFormatFuncs": {
10809
+ "type": {
10810
+ "name": "objectOf",
10811
+ "value": {
10812
+ "name": "string"
10813
+ }
10814
+ },
10815
+ "required": false,
10816
+ "description": ""
10817
+ },
10818
+ "conditionalStyleFuncs": {
10819
+ "type": {
10820
+ "name": "objectOf",
10821
+ "value": {
10822
+ "name": "string"
10823
+ }
10824
+ },
10825
+ "required": false,
10826
+ "description": "",
10827
+ "defaultValue": {
10828
+ "value": "{}",
10829
+ "computed": false
10830
+ }
10831
+ },
10652
10832
  "loading_state": {
10653
10833
  "type": {
10654
10834
  "name": "shape",
@@ -12799,7 +12979,73 @@
12799
12979
  "required": false,
12800
12980
  "description": "",
12801
12981
  "defaultValue": {
12802
- "value": "{}",
12982
+ "value": "null",
12983
+ "computed": false
12984
+ }
12985
+ },
12986
+ "listUploadTaskRecord": {
12987
+ "type": {
12988
+ "name": "union",
12989
+ "value": [
12990
+ {
12991
+ "name": "exact",
12992
+ "value": {
12993
+ "fileName": {
12994
+ "name": "string",
12995
+ "required": false
12996
+ },
12997
+ "fileSize": {
12998
+ "name": "number",
12999
+ "required": false
13000
+ },
13001
+ "completeTimestamp": {
13002
+ "name": "number",
13003
+ "required": false
13004
+ },
13005
+ "taskStatus": {
13006
+ "name": "string",
13007
+ "required": false
13008
+ },
13009
+ "taskId": {
13010
+ "name": "string",
13011
+ "required": false
13012
+ }
13013
+ }
13014
+ },
13015
+ {
13016
+ "name": "arrayOf",
13017
+ "value": {
13018
+ "name": "exact",
13019
+ "value": {
13020
+ "fileName": {
13021
+ "name": "string",
13022
+ "required": false
13023
+ },
13024
+ "fileSize": {
13025
+ "name": "number",
13026
+ "required": false
13027
+ },
13028
+ "completeTimestamp": {
13029
+ "name": "number",
13030
+ "required": false
13031
+ },
13032
+ "taskStatus": {
13033
+ "name": "string",
13034
+ "required": false
13035
+ },
13036
+ "taskId": {
13037
+ "name": "string",
13038
+ "required": false
13039
+ }
13040
+ }
13041
+ }
13042
+ }
13043
+ ]
13044
+ },
13045
+ "required": false,
13046
+ "description": "",
13047
+ "defaultValue": {
13048
+ "value": "[]",
12803
13049
  "computed": false
12804
13050
  }
12805
13051
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feffery_antd_components",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Best implementation of Antd components in Plotly Dash.",
5
5
  "repository": {
6
6
  "type": "git",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feffery_antd_components",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Best implementation of Antd components in Plotly Dash.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -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.7"
6
+ const version = "0.1.8"
7
7
 
8
8
  include("jl/'feffery'_antdaffix.jl")
9
9
  include("jl/'feffery'_antdalert.jl")
@@ -94,14 +94,14 @@ function __init__()
94
94
  [
95
95
  DashBase.Resource(
96
96
  relative_package_path = "feffery_antd_components.min.js",
97
- external_url = "https://unpkg.com/feffery_antd_components@0.1.7/feffery_antd_components/feffery_antd_components.min.js",
97
+ external_url = "https://unpkg.com/feffery_antd_components@0.1.8/feffery_antd_components/feffery_antd_components.min.js",
98
98
  dynamic = nothing,
99
99
  async = nothing,
100
100
  type = :js
101
101
  ),
102
102
  DashBase.Resource(
103
103
  relative_package_path = "feffery_antd_components.min.js.map",
104
- external_url = "https://unpkg.com/feffery_antd_components@0.1.7/feffery_antd_components/feffery_antd_components.min.js.map",
104
+ external_url = "https://unpkg.com/feffery_antd_components@0.1.8/feffery_antd_components/feffery_antd_components.min.js.map",
105
105
  dynamic = true,
106
106
  async = nothing,
107
107
  type = :js
@@ -23,7 +23,26 @@ Those elements have the following types:
23
23
  - `fileSize` (Real; optional)
24
24
  - `completeTimestamp` (Real; optional)
25
25
  - `taskStatus` (String; optional)
26
- - `taskId` (String; optional)
26
+ - `taskId` (String; optional) | Array of lists containing elements 'fileName', 'fileSize', 'completeTimestamp', 'taskStatus', 'taskId'.
27
+ Those elements have the following types:
28
+ - `fileName` (String; optional)
29
+ - `fileSize` (Real; optional)
30
+ - `completeTimestamp` (Real; optional)
31
+ - `taskStatus` (String; optional)
32
+ - `taskId` (String; optional)s
33
+ - `listUploadTaskRecord` (optional): . listUploadTaskRecord has the following type: lists containing elements 'fileName', 'fileSize', 'completeTimestamp', 'taskStatus', 'taskId'.
34
+ Those elements have the following types:
35
+ - `fileName` (String; optional)
36
+ - `fileSize` (Real; optional)
37
+ - `completeTimestamp` (Real; optional)
38
+ - `taskStatus` (String; optional)
39
+ - `taskId` (String; optional) | Array of lists containing elements 'fileName', 'fileSize', 'completeTimestamp', 'taskStatus', 'taskId'.
40
+ Those elements have the following types:
41
+ - `fileName` (String; optional)
42
+ - `fileSize` (Real; optional)
43
+ - `completeTimestamp` (Real; optional)
44
+ - `taskStatus` (String; optional)
45
+ - `taskId` (String; optional)s
27
46
  - `loading_state` (optional): . loading_state has the following type: lists containing elements 'is_loading', 'prop_name', 'component_name'.
28
47
  Those elements have the following types:
29
48
  - `is_loading` (Bool; optional): Determines if the component is loading or not
@@ -37,7 +56,7 @@ Those elements have the following types:
37
56
  - `uploadId` (String; optional)
38
57
  """
39
58
  function 'feffery'_antddraggerupload(; kwargs...)
40
- available_props = Symbol[:id, :apiUrl, :className, :directory, :failedTooltipInfo, :fileListMaxLength, :fileMaxSize, :fileTypes, :hint, :lastUploadTaskRecord, :loading_state, :locale, :multiple, :showUploadList, :style, :text, :uploadId]
59
+ available_props = Symbol[:id, :apiUrl, :className, :directory, :failedTooltipInfo, :fileListMaxLength, :fileMaxSize, :fileTypes, :hint, :lastUploadTaskRecord, :listUploadTaskRecord, :loading_state, :locale, :multiple, :showUploadList, :style, :text, :uploadId]
41
60
  wild_props = Symbol[]
42
61
  return Component("'feffery'_antddraggerupload", "AntdDraggerUpload", "feffery_antd_components", available_props, wild_props; kwargs...)
43
62
  end
@@ -12,13 +12,13 @@ Keyword arguments:
12
12
  - `bordered` (Bool; optional)
13
13
  - `className` (String; optional)
14
14
  - `clickedContent` (String; optional)
15
- - `columns` (optional): . columns has the following type: Array of lists containing elements 'title', 'dataIndex', 'renderOptions', 'fixed', 'editable', 'align', 'width', 'conditionStyle', 'ellipsis', 'sorter', 'render', 'onCell', 'title_'.
15
+ - `columns` (optional): . columns has the following type: Array of lists containing elements 'title', 'dataIndex', 'renderOptions', 'fixed', 'editable', 'align', 'width', 'ellipsis', 'sorter', 'render', 'onCell', 'title_'.
16
16
  Those elements have the following types:
17
17
  - `title` (String; required)
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-ring-progress', 'mini-area', 'tags', 'button', 'copyable', 'status-badge', 'image'; 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', 'image', 'custom-format'; 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:
@@ -29,7 +29,6 @@ Those elements have the following types:
29
29
  - `editable` (Bool; optional)
30
30
  - `align` (a value equal to: 'left', 'center', 'right'; optional)
31
31
  - `width` (Real | String; optional)
32
- - `conditionStyle` (String; optional)
33
32
  - `ellipsis` (Bool | Real | String | Dict | Array; optional)
34
33
  - `sorter` (Bool | Real | String | Dict | Array; optional)
35
34
  - `render` (Bool | Real | String | Dict | Array; optional)
@@ -39,8 +38,10 @@ Those elements have the following types:
39
38
  Those elements have the following types:
40
39
  - `rule` (String; optional)
41
40
  - `content` (String; optional)
41
+ - `conditionalStyleFuncs` (Dict with Strings as keys and values of type String; optional)
42
42
  - `containerId` (String; optional)
43
43
  - `currentData` (Array; optional)
44
+ - `customFormatFuncs` (Dict with Strings as keys and values of type String; optional)
44
45
  - `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'.
45
46
  Those elements have the following types:
46
47
  - `href` (String; optional)
@@ -70,7 +71,12 @@ Those elements have the following types:
70
71
  - `preview` (Bool; optional)s
71
72
  - `enableHoverListen` (Bool; optional)
72
73
  - `filter` (Dict; optional)
73
- - `filterOptions` (Dict; optional)
74
+ - `filterOptions` (optional): . filterOptions has the following type: Dict with Strings as keys and values of type lists containing elements 'filterMode', 'filterCustomItems', 'filterMultiple', 'filterSearch'.
75
+ Those elements have the following types:
76
+ - `filterMode` (a value equal to: 'checkbox', 'keyword'; optional)
77
+ - `filterCustomItems` (Array | Bool | Real | String | Dict | Array; optional)
78
+ - `filterMultiple` (Bool; optional)
79
+ - `filterSearch` (Bool; optional)
74
80
  - `loading_state` (optional): . loading_state has the following type: lists containing elements 'is_loading', 'prop_name', 'component_name'.
75
81
  Those elements have the following types:
76
82
  - `is_loading` (Bool; optional): Determines if the component is loading or not
@@ -112,7 +118,7 @@ Those elements have the following types:
112
118
  - `sortOptions` (optional): . sortOptions has the following type: lists containing elements 'sortDataIndexes', 'multiple'.
113
119
  Those elements have the following types:
114
120
  - `sortDataIndexes` (Array of Strings; optional)
115
- - `multiple` (Bool; optional)
121
+ - `multiple` (Bool | a value equal to: 'auto'; optional)
116
122
  - `sorter` (optional): . sorter has the following type: lists containing elements 'columns', 'orders'.
117
123
  Those elements have the following types:
118
124
  - `columns` (Array of Strings; optional)
@@ -130,7 +136,7 @@ Those elements have the following types:
130
136
  - `titlePopoverInfo` (Dict; optional)
131
137
  """
132
138
  function 'feffery'_antdtable(; kwargs...)
133
- 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]
139
+ available_props = Symbol[:id, :bordered, :className, :clickedContent, :columns, :columnsFormatConstraint, :conditionalStyleFuncs, :containerId, :currentData, :customFormatFuncs, :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]
134
140
  wild_props = Symbol[]
135
141
  return Component("'feffery'_antdtable", "AntdTable", "feffery_antd_components", available_props, wild_props; kwargs...)
136
142
  end
@@ -18,6 +18,19 @@ Keyword arguments:
18
18
  - `fileMaxSize` (Real; optional)
19
19
  - `fileTypes` (Array of Strings; optional)
20
20
  - `lastUploadTaskRecord` (optional): . lastUploadTaskRecord has the following type: lists containing elements 'fileName', 'fileSize', 'completeTimestamp', 'taskStatus', 'taskId'.
21
+ Those elements have the following types:
22
+ - `fileName` (String; optional)
23
+ - `fileSize` (Real; optional)
24
+ - `completeTimestamp` (Real; optional)
25
+ - `taskStatus` (String; optional)
26
+ - `taskId` (String; optional) | Array of lists containing elements 'fileName', 'fileSize', 'completeTimestamp', 'taskStatus', 'taskId'.
27
+ Those elements have the following types:
28
+ - `fileName` (String; optional)
29
+ - `fileSize` (Real; optional)
30
+ - `completeTimestamp` (Real; optional)
31
+ - `taskStatus` (String; optional)
32
+ - `taskId` (String; optional)s
33
+ - `listUploadTaskRecord` (optional): . listUploadTaskRecord has the following type: lists containing elements 'fileName', 'fileSize', 'completeTimestamp', 'taskStatus', 'taskId'.
21
34
  Those elements have the following types:
22
35
  - `fileName` (String; optional)
23
36
  - `fileSize` (Real; optional)
@@ -42,7 +55,7 @@ Those elements have the following types:
42
55
  - `uploadId` (String; optional)
43
56
  """
44
57
  function 'feffery'_antdupload(; kwargs...)
45
- available_props = Symbol[:id, :apiUrl, :buttonContent, :className, :directory, :failedTooltipInfo, :fileListMaxLength, :fileMaxSize, :fileTypes, :lastUploadTaskRecord, :loading_state, :locale, :multiple, :showUploadList, :style, :uploadId]
58
+ available_props = Symbol[:id, :apiUrl, :buttonContent, :className, :directory, :failedTooltipInfo, :fileListMaxLength, :fileMaxSize, :fileTypes, :lastUploadTaskRecord, :listUploadTaskRecord, :loading_state, :locale, :multiple, :showUploadList, :style, :uploadId]
46
59
  wild_props = Symbol[]
47
60
  return Component("'feffery'_antdupload", "AntdUpload", "feffery_antd_components", available_props, wild_props; kwargs...)
48
61
  end