feffery_antd_components 0.1.1 → 0.1.4

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.
Files changed (101) hide show
  1. package/DESCRIPTION +1 -1
  2. package/Project.toml +1 -1
  3. package/README.md +2 -2
  4. package/feffery_antd_components/AntdAlert.py +2 -2
  5. package/feffery_antd_components/AntdTable.py +66 -5
  6. package/feffery_antd_components/feffery_antd_components.min.js +9 -9
  7. package/feffery_antd_components/metadata.json +324 -5
  8. package/feffery_antd_components/package-info.json +3 -3
  9. package/package.json +3 -3
  10. package/src/FefferyAntdComponents.jl +3 -3
  11. package/src/jl/'feffery'_antdalert.jl +2 -2
  12. package/src/jl/'feffery'_antdtable.jl +37 -5
  13. package/src/lib/components/AntdAlert.react.js +19 -11
  14. package/src/lib/components/AntdTable.react.js +304 -126
  15. package/usage.py +206 -0
  16. package/build/lib/feffery_antd_components/AntdAffix.py +0 -54
  17. package/build/lib/feffery_antd_components/AntdAlert.py +0 -58
  18. package/build/lib/feffery_antd_components/AntdAnchor.py +0 -54
  19. package/build/lib/feffery_antd_components/AntdAvatar.py +0 -79
  20. package/build/lib/feffery_antd_components/AntdBackTop.py +0 -52
  21. package/build/lib/feffery_antd_components/AntdBadge.py +0 -70
  22. package/build/lib/feffery_antd_components/AntdBreadcrumb.py +0 -74
  23. package/build/lib/feffery_antd_components/AntdButton.py +0 -66
  24. package/build/lib/feffery_antd_components/AntdCalendar.py +0 -75
  25. package/build/lib/feffery_antd_components/AntdCard.py +0 -86
  26. package/build/lib/feffery_antd_components/AntdCardGrid.py +0 -52
  27. package/build/lib/feffery_antd_components/AntdCarousel.py +0 -56
  28. package/build/lib/feffery_antd_components/AntdCascader.py +0 -91
  29. package/build/lib/feffery_antd_components/AntdCheckbox.py +0 -71
  30. package/build/lib/feffery_antd_components/AntdCheckboxGroup.py +0 -79
  31. package/build/lib/feffery_antd_components/AntdCol.py +0 -146
  32. package/build/lib/feffery_antd_components/AntdCollapse.py +0 -79
  33. package/build/lib/feffery_antd_components/AntdComment.py +0 -88
  34. package/build/lib/feffery_antd_components/AntdContent.py +0 -50
  35. package/build/lib/feffery_antd_components/AntdCountdown.py +0 -72
  36. package/build/lib/feffery_antd_components/AntdDatePicker.py +0 -93
  37. package/build/lib/feffery_antd_components/AntdDateRangePicker.py +0 -89
  38. package/build/lib/feffery_antd_components/AntdDescriptionItem.py +0 -58
  39. package/build/lib/feffery_antd_components/AntdDescriptions.py +0 -76
  40. package/build/lib/feffery_antd_components/AntdDivider.py +0 -62
  41. package/build/lib/feffery_antd_components/AntdDraggerUpload.py +0 -82
  42. package/build/lib/feffery_antd_components/AntdDrawer.py +0 -72
  43. package/build/lib/feffery_antd_components/AntdDropdown.py +0 -84
  44. package/build/lib/feffery_antd_components/AntdEmpty.py +0 -54
  45. package/build/lib/feffery_antd_components/AntdFooter.py +0 -50
  46. package/build/lib/feffery_antd_components/AntdForm.py +0 -72
  47. package/build/lib/feffery_antd_components/AntdFormItem.py +0 -84
  48. package/build/lib/feffery_antd_components/AntdHeader.py +0 -50
  49. package/build/lib/feffery_antd_components/AntdIcon.py +0 -48
  50. package/build/lib/feffery_antd_components/AntdImage.py +0 -62
  51. package/build/lib/feffery_antd_components/AntdInput.py +0 -99
  52. package/build/lib/feffery_antd_components/AntdInputNumber.py +0 -99
  53. package/build/lib/feffery_antd_components/AntdLayout.py +0 -50
  54. package/build/lib/feffery_antd_components/AntdMentions.py +0 -74
  55. package/build/lib/feffery_antd_components/AntdMenu.py +0 -81
  56. package/build/lib/feffery_antd_components/AntdMessage.py +0 -54
  57. package/build/lib/feffery_antd_components/AntdModal.py +0 -88
  58. package/build/lib/feffery_antd_components/AntdNotification.py +0 -60
  59. package/build/lib/feffery_antd_components/AntdPageHeader.py +0 -62
  60. package/build/lib/feffery_antd_components/AntdPagination.py +0 -95
  61. package/build/lib/feffery_antd_components/AntdParagraph.py +0 -70
  62. package/build/lib/feffery_antd_components/AntdPopconfirm.py +0 -80
  63. package/build/lib/feffery_antd_components/AntdPopover.py +0 -74
  64. package/build/lib/feffery_antd_components/AntdProgress.py +0 -88
  65. package/build/lib/feffery_antd_components/AntdRadio.py +0 -54
  66. package/build/lib/feffery_antd_components/AntdRadioGroup.py +0 -89
  67. package/build/lib/feffery_antd_components/AntdRate.py +0 -60
  68. package/build/lib/feffery_antd_components/AntdResult.py +0 -52
  69. package/build/lib/feffery_antd_components/AntdRibbon.py +0 -54
  70. package/build/lib/feffery_antd_components/AntdRow.py +0 -72
  71. package/build/lib/feffery_antd_components/AntdSelect.py +0 -117
  72. package/build/lib/feffery_antd_components/AntdSider.py +0 -68
  73. package/build/lib/feffery_antd_components/AntdSkeleton.py +0 -86
  74. package/build/lib/feffery_antd_components/AntdSlider.py +0 -68
  75. package/build/lib/feffery_antd_components/AntdSpace.py +0 -60
  76. package/build/lib/feffery_antd_components/AntdSpin.py +0 -68
  77. package/build/lib/feffery_antd_components/AntdStatistic.py +0 -74
  78. package/build/lib/feffery_antd_components/AntdSteps.py +0 -72
  79. package/build/lib/feffery_antd_components/AntdSwitch.py +0 -75
  80. package/build/lib/feffery_antd_components/AntdTabPane.py +0 -66
  81. package/build/lib/feffery_antd_components/AntdTable.py +0 -179
  82. package/build/lib/feffery_antd_components/AntdTabs.py +0 -81
  83. package/build/lib/feffery_antd_components/AntdTag.py +0 -54
  84. package/build/lib/feffery_antd_components/AntdTestLink.py +0 -58
  85. package/build/lib/feffery_antd_components/AntdText.py +0 -72
  86. package/build/lib/feffery_antd_components/AntdTimePicker.py +0 -93
  87. package/build/lib/feffery_antd_components/AntdTimeRangePicker.py +0 -93
  88. package/build/lib/feffery_antd_components/AntdTimeline.py +0 -68
  89. package/build/lib/feffery_antd_components/AntdTitle.py +0 -74
  90. package/build/lib/feffery_antd_components/AntdTooltip.py +0 -64
  91. package/build/lib/feffery_antd_components/AntdTransfer.py +0 -99
  92. package/build/lib/feffery_antd_components/AntdTree.py +0 -107
  93. package/build/lib/feffery_antd_components/AntdTreeSelect.py +0 -103
  94. package/build/lib/feffery_antd_components/AntdTypography.py +0 -50
  95. package/build/lib/feffery_antd_components/AntdUpload.py +0 -80
  96. package/build/lib/feffery_antd_components/Link.py +0 -58
  97. package/build/lib/feffery_antd_components/__init__.py +0 -53
  98. package/build/lib/feffery_antd_components/_imports_.py +0 -157
  99. package/build/lib/feffery_antd_components/feffery_antd_components.min.js +0 -344
  100. package/build/lib/feffery_antd_components/metadata.json +0 -14640
  101. package/build/lib/feffery_antd_components/package-info.json +0 -77
@@ -1,99 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdTransfer(Component):
7
- """An AntdTransfer component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - className (string; optional)
15
-
16
- - dataSource (list of dicts; optional)
17
-
18
- `dataSource` is a list of dicts with keys:
19
-
20
- - key (string | number; optional)
21
-
22
- - title (string; optional)
23
-
24
- - disabled (boolean; optional)
25
-
26
- - height (string; optional)
27
-
28
- - loading_state (dict; optional)
29
-
30
- `loading_state` is a dict with keys:
31
-
32
- - component_name (string; optional):
33
- Holds the name of the component that is loading.
34
-
35
- - is_loading (boolean; optional):
36
- Determines if the component is loading or not.
37
-
38
- - prop_name (string; optional):
39
- Holds which property is loading.
40
-
41
- - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
42
-
43
- - moveDirection (string; optional)
44
-
45
- - moveKeys (list; optional)
46
-
47
- - operations (list; optional)
48
-
49
- - pagination (dict; default False)
50
-
51
- `pagination` is a boolean | dict with keys:
52
-
53
- - pageSize (number; optional)
54
-
55
- - persisted_props (list of a value equal to: 'targetKeys's; default ['targetKeys']):
56
- Properties whose user interactions will persist after refreshing
57
- the component or the page. Since only `value` is allowed this
58
- prop can normally be ignored.
59
-
60
- - persistence (boolean | string | number; optional):
61
- Used to allow user interactions in this component to be persisted
62
- when the component - or the page - is refreshed. If `persisted`
63
- is truthy and hasn't changed from its previous value, a `value`
64
- that the user has changed while using the app will keep that
65
- change, as long as the new `value` also matches what was given
66
- originally. Used in conjunction with `persistence_type`.
67
-
68
- - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
69
- Where persisted user changes will be stored: memory: only kept in
70
- memory, reset on page refresh. local: window.localStorage, data
71
- is kept after the browser quit. session: window.sessionStorage,
72
- data is cleared once the browser quit.
73
-
74
- - showSearch (boolean; default False)
75
-
76
- - showSelectAll (boolean; default True)
77
-
78
- - style (dict; optional)
79
-
80
- - targetKeys (list; optional)
81
-
82
- - titles (list; optional)"""
83
- @_explicitize_args
84
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, dataSource=Component.UNDEFINED, height=Component.UNDEFINED, pagination=Component.UNDEFINED, operations=Component.UNDEFINED, showSearch=Component.UNDEFINED, showSelectAll=Component.UNDEFINED, titles=Component.UNDEFINED, targetKeys=Component.UNDEFINED, moveDirection=Component.UNDEFINED, moveKeys=Component.UNDEFINED, disabled=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
85
- self._prop_names = ['id', 'className', 'dataSource', 'disabled', 'height', 'loading_state', 'locale', 'moveDirection', 'moveKeys', 'operations', 'pagination', 'persisted_props', 'persistence', 'persistence_type', 'showSearch', 'showSelectAll', 'style', 'targetKeys', 'titles']
86
- self._type = 'AntdTransfer'
87
- self._namespace = 'feffery_antd_components'
88
- self._valid_wildcard_attributes = []
89
- self.available_properties = ['id', 'className', 'dataSource', 'disabled', 'height', 'loading_state', 'locale', 'moveDirection', 'moveKeys', 'operations', 'pagination', 'persisted_props', 'persistence', 'persistence_type', 'showSearch', 'showSelectAll', 'style', 'targetKeys', 'titles']
90
- self.available_wildcard_properties = []
91
- _explicit_args = kwargs.pop('_explicit_args')
92
- _locals = locals()
93
- _locals.update(kwargs) # For wildcard attrs
94
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
95
- for k in []:
96
- if k not in args:
97
- raise TypeError(
98
- 'Required argument `' + k + '` was not specified.')
99
- super(AntdTransfer, self).__init__(**args)
@@ -1,107 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdTree(Component):
7
- """An AntdTree component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - checkStrictly (boolean; optional)
15
-
16
- - checkable (boolean; optional)
17
-
18
- - checkedKeys (list of dicts; optional)
19
-
20
- `checkedKeys` is a list | dict with keys:
21
-
22
- - checked (list; optional)
23
-
24
- - halfChecked (list; optional)
25
-
26
- - className (string; optional)
27
-
28
- - defaultCheckedKeys (list of strings; optional)
29
-
30
- - defaultExpandAll (boolean; optional)
31
-
32
- - defaultExpandParent (boolean; optional)
33
-
34
- - defaultExpandedKeys (list of strings; optional)
35
-
36
- - defaultSelectedKeys (list of strings; optional)
37
-
38
- - expandedKeys (list of strings; optional)
39
-
40
- - height (number; optional)
41
-
42
- - loading_state (dict; optional)
43
-
44
- `loading_state` is a dict with keys:
45
-
46
- - component_name (string; optional):
47
- Holds the name of the component that is loading.
48
-
49
- - is_loading (boolean; optional):
50
- Determines if the component is loading or not.
51
-
52
- - prop_name (string; optional):
53
- Holds which property is loading.
54
-
55
- - multiple (boolean; optional)
56
-
57
- - persisted_props (list of a value equal to: 'selectedKeys', 'checkedKeys', 'expandedKeys's; default ['selectedKeys', 'checkedKeys', 'expandedKeys']):
58
- Properties whose user interactions will persist after refreshing
59
- the component or the page. Since only `value` is allowed this
60
- prop can normally be ignored.
61
-
62
- - persistence (boolean | string | number; optional):
63
- Used to allow user interactions in this component to be persisted
64
- when the component - or the page - is refreshed. If `persisted`
65
- is truthy and hasn't changed from its previous value, a `value`
66
- that the user has changed while using the app will keep that
67
- change, as long as the new `value` also matches what was given
68
- originally. Used in conjunction with `persistence_type`.
69
-
70
- - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
71
- Where persisted user changes will be stored: memory: only kept in
72
- memory, reset on page refresh. local: window.localStorage, data
73
- is kept after the browser quit. session: window.sessionStorage,
74
- data is cleared once the browser quit.
75
-
76
- - selectable (boolean; optional)
77
-
78
- - selectedKeys (list; optional)
79
-
80
- - showIcon (boolean; default True)
81
-
82
- - showLine (dict; default { 'showLeafIcon': False })
83
-
84
- `showLine` is a boolean | dict with keys:
85
-
86
- - showLeafIcon (boolean; optional)
87
-
88
- - style (dict; optional)
89
-
90
- - treeData (optional)"""
91
- @_explicitize_args
92
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, treeData=Component.UNDEFINED, showIcon=Component.UNDEFINED, checkable=Component.UNDEFINED, defaultExpandAll=Component.UNDEFINED, defaultExpandedKeys=Component.UNDEFINED, defaultExpandParent=Component.UNDEFINED, checkStrictly=Component.UNDEFINED, defaultCheckedKeys=Component.UNDEFINED, defaultSelectedKeys=Component.UNDEFINED, multiple=Component.UNDEFINED, selectable=Component.UNDEFINED, showLine=Component.UNDEFINED, selectedKeys=Component.UNDEFINED, checkedKeys=Component.UNDEFINED, expandedKeys=Component.UNDEFINED, height=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
93
- self._prop_names = ['id', 'checkStrictly', 'checkable', 'checkedKeys', 'className', 'defaultCheckedKeys', 'defaultExpandAll', 'defaultExpandParent', 'defaultExpandedKeys', 'defaultSelectedKeys', 'expandedKeys', 'height', 'loading_state', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'selectable', 'selectedKeys', 'showIcon', 'showLine', 'style', 'treeData']
94
- self._type = 'AntdTree'
95
- self._namespace = 'feffery_antd_components'
96
- self._valid_wildcard_attributes = []
97
- self.available_properties = ['id', 'checkStrictly', 'checkable', 'checkedKeys', 'className', 'defaultCheckedKeys', 'defaultExpandAll', 'defaultExpandParent', 'defaultExpandedKeys', 'defaultSelectedKeys', 'expandedKeys', 'height', 'loading_state', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'selectable', 'selectedKeys', 'showIcon', 'showLine', 'style', 'treeData']
98
- self.available_wildcard_properties = []
99
- _explicit_args = kwargs.pop('_explicit_args')
100
- _locals = locals()
101
- _locals.update(kwargs) # For wildcard attrs
102
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
103
- for k in []:
104
- if k not in args:
105
- raise TypeError(
106
- 'Required argument `' + k + '` was not specified.')
107
- super(AntdTree, self).__init__(**args)
@@ -1,103 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdTreeSelect(Component):
7
- """An AntdTreeSelect component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - allowClear (boolean; default True)
15
-
16
- - bordered (boolean; optional)
17
-
18
- - className (string; optional)
19
-
20
- - defaultValue (string | number | list of string | numbers; optional)
21
-
22
- - disabled (boolean; optional)
23
-
24
- - listHeight (number; default 256)
25
-
26
- - loading_state (dict; optional)
27
-
28
- `loading_state` is a dict with keys:
29
-
30
- - component_name (string; optional):
31
- Holds the name of the component that is loading.
32
-
33
- - is_loading (boolean; optional):
34
- Determines if the component is loading or not.
35
-
36
- - prop_name (string; optional):
37
- Holds which property is loading.
38
-
39
- - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
40
-
41
- - maxTagCount (number; optional)
42
-
43
- - multiple (boolean; optional)
44
-
45
- - persisted_props (list of a value equal to: 'value's; default ['value']):
46
- Properties whose user interactions will persist after refreshing
47
- the component or the page. Since only `value` is allowed this
48
- prop can normally be ignored.
49
-
50
- - persistence (boolean | string | number; optional):
51
- Used to allow user interactions in this component to be persisted
52
- when the component - or the page - is refreshed. If `persisted`
53
- is truthy and hasn't changed from its previous value, a `value`
54
- that the user has changed while using the app will keep that
55
- change, as long as the new `value` also matches what was given
56
- originally. Used in conjunction with `persistence_type`.
57
-
58
- - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
59
- Where persisted user changes will be stored: memory: only kept in
60
- memory, reset on page refresh. local: window.localStorage, data
61
- is kept after the browser quit. session: window.sessionStorage,
62
- data is cleared once the browser quit.
63
-
64
- - placeholder (string; optional)
65
-
66
- - size (a value equal to: 'small', 'middle', 'large'; optional)
67
-
68
- - style (dict; optional)
69
-
70
- - treeCheckStrictly (boolean; optional)
71
-
72
- - treeCheckable (boolean; optional)
73
-
74
- - treeData (optional)
75
-
76
- - treeDefaultExpandAll (boolean; optional)
77
-
78
- - treeDefaultExpandedKeys (list of strings; optional)
79
-
80
- - treeExpandedKeys (list of strings; optional)
81
-
82
- - treeLine (boolean; optional)
83
-
84
- - value (string | number | list of string | numbers; optional)
85
-
86
- - virtual (boolean; default False)"""
87
- @_explicitize_args
88
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, treeData=Component.UNDEFINED, allowClear=Component.UNDEFINED, bordered=Component.UNDEFINED, treeLine=Component.UNDEFINED, placeholder=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, maxTagCount=Component.UNDEFINED, listHeight=Component.UNDEFINED, multiple=Component.UNDEFINED, size=Component.UNDEFINED, treeCheckable=Component.UNDEFINED, treeCheckStrictly=Component.UNDEFINED, treeDefaultExpandAll=Component.UNDEFINED, treeDefaultExpandedKeys=Component.UNDEFINED, treeExpandedKeys=Component.UNDEFINED, virtual=Component.UNDEFINED, disabled=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
89
- self._prop_names = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'listHeight', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'size', 'style', 'treeCheckStrictly', 'treeCheckable', 'treeData', 'treeDefaultExpandAll', 'treeDefaultExpandedKeys', 'treeExpandedKeys', 'treeLine', 'value', 'virtual']
90
- self._type = 'AntdTreeSelect'
91
- self._namespace = 'feffery_antd_components'
92
- self._valid_wildcard_attributes = []
93
- self.available_properties = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'listHeight', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'size', 'style', 'treeCheckStrictly', 'treeCheckable', 'treeData', 'treeDefaultExpandAll', 'treeDefaultExpandedKeys', 'treeExpandedKeys', 'treeLine', 'value', 'virtual']
94
- self.available_wildcard_properties = []
95
- _explicit_args = kwargs.pop('_explicit_args')
96
- _locals = locals()
97
- _locals.update(kwargs) # For wildcard attrs
98
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
99
- for k in []:
100
- if k not in args:
101
- raise TypeError(
102
- 'Required argument `' + k + '` was not specified.')
103
- super(AntdTreeSelect, self).__init__(**args)
@@ -1,50 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdTypography(Component):
7
- """An AntdTypography component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - children (a list of or a singular dash component, string or number; optional):
13
- The content of the tab - will only be displayed if this tab is
14
- selected.
15
-
16
- - id (string; optional)
17
-
18
- - className (string; optional)
19
-
20
- - loading_state (dict; optional)
21
-
22
- `loading_state` is a dict with keys:
23
-
24
- - component_name (string; optional):
25
- Holds the name of the component that is loading.
26
-
27
- - is_loading (boolean; optional):
28
- Determines if the component is loading or not.
29
-
30
- - prop_name (string; optional):
31
- Holds which property is loading.
32
-
33
- - style (dict; optional)"""
34
- @_explicitize_args
35
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
36
- self._prop_names = ['children', 'id', 'className', 'loading_state', 'style']
37
- self._type = 'AntdTypography'
38
- self._namespace = 'feffery_antd_components'
39
- self._valid_wildcard_attributes = []
40
- self.available_properties = ['children', 'id', 'className', 'loading_state', 'style']
41
- self.available_wildcard_properties = []
42
- _explicit_args = kwargs.pop('_explicit_args')
43
- _locals = locals()
44
- _locals.update(kwargs) # For wildcard attrs
45
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
46
- for k in []:
47
- if k not in args:
48
- raise TypeError(
49
- 'Required argument `' + k + '` was not specified.')
50
- super(AntdTypography, self).__init__(children=children, **args)
@@ -1,80 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdUpload(Component):
7
- """An AntdUpload component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - apiUrl (string; optional)
15
-
16
- - buttonContent (string; optional)
17
-
18
- - className (string; optional)
19
-
20
- - directory (boolean; optional)
21
-
22
- - failedTooltipInfo (string; optional)
23
-
24
- - fileListMaxLength (number; default 3)
25
-
26
- - fileMaxSize (number; default 500)
27
-
28
- - fileTypes (list of strings; optional)
29
-
30
- - lastUploadTaskRecord (dict; optional)
31
-
32
- `lastUploadTaskRecord` is a dict with keys:
33
-
34
- - completeTimestamp (number; optional)
35
-
36
- - fileName (string; optional)
37
-
38
- - fileSize (number; optional)
39
-
40
- - taskId (string; optional)
41
-
42
- - taskStatus (string; optional)
43
-
44
- - loading_state (dict; optional)
45
-
46
- `loading_state` is a dict with keys:
47
-
48
- - component_name (string; optional):
49
- Holds the name of the component that is loading.
50
-
51
- - is_loading (boolean; optional):
52
- Determines if the component is loading or not.
53
-
54
- - prop_name (string; optional):
55
- Holds which property is loading.
56
-
57
- - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
58
-
59
- - multiple (boolean; optional)
60
-
61
- - style (dict; optional)
62
-
63
- - uploadId (string; optional)"""
64
- @_explicitize_args
65
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, apiUrl=Component.UNDEFINED, fileListMaxLength=Component.UNDEFINED, fileTypes=Component.UNDEFINED, buttonContent=Component.UNDEFINED, uploadId=Component.UNDEFINED, fileMaxSize=Component.UNDEFINED, multiple=Component.UNDEFINED, directory=Component.UNDEFINED, failedTooltipInfo=Component.UNDEFINED, lastUploadTaskRecord=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
66
- self._prop_names = ['id', 'apiUrl', 'buttonContent', 'className', 'directory', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'lastUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'style', 'uploadId']
67
- self._type = 'AntdUpload'
68
- self._namespace = 'feffery_antd_components'
69
- self._valid_wildcard_attributes = []
70
- self.available_properties = ['id', 'apiUrl', 'buttonContent', 'className', 'directory', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'lastUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'style', 'uploadId']
71
- self.available_wildcard_properties = []
72
- _explicit_args = kwargs.pop('_explicit_args')
73
- _locals = locals()
74
- _locals.update(kwargs) # For wildcard attrs
75
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
76
- for k in []:
77
- if k not in args:
78
- raise TypeError(
79
- 'Required argument `' + k + '` was not specified.')
80
- super(AntdUpload, self).__init__(**args)
@@ -1,58 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class Link(Component):
7
- """A Link component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - children (a list of or a singular dash component, string or number; optional):
13
- The children of this component.
14
-
15
- - id (string; optional):
16
- The ID of this component, used to identify dash components in
17
- callbacks. The ID needs to be unique across all of the components
18
- in an app.
19
-
20
- - className (string; optional):
21
- Often used with CSS to style elements with common properties.
22
-
23
- - disabled (boolean; default False):
24
- If True, clicking on the link does nothing.
25
-
26
- - download (string; optional)
27
-
28
- - external_link (boolean; optional):
29
- If True, the browser will treat this as an external link, forcing
30
- a page refresh at the new location. If False, this just changes
31
- the location without triggering a page refresh. Use this if you
32
- are observing dcc.Location, for instance. Defaults to True for
33
- absolute URLs and False otherwise.
34
-
35
- - href (string; optional):
36
- URL of the resource to link to.
37
-
38
- - style (dict; optional):
39
- Defines CSS styles which will override styles previously set.
40
-
41
- - target (string; optional)"""
42
- @_explicitize_args
43
- def __init__(self, children=None, id=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, href=Component.UNDEFINED, disabled=Component.UNDEFINED, external_link=Component.UNDEFINED, preOnClick=Component.UNDEFINED, target=Component.UNDEFINED, download=Component.UNDEFINED, **kwargs):
44
- self._prop_names = ['children', 'id', 'className', 'disabled', 'download', 'external_link', 'href', 'style', 'target']
45
- self._type = 'Link'
46
- self._namespace = 'feffery_antd_components'
47
- self._valid_wildcard_attributes = []
48
- self.available_properties = ['children', 'id', 'className', 'disabled', 'download', 'external_link', 'href', 'style', 'target']
49
- self.available_wildcard_properties = []
50
- _explicit_args = kwargs.pop('_explicit_args')
51
- _locals = locals()
52
- _locals.update(kwargs) # For wildcard attrs
53
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
54
- for k in []:
55
- if k not in args:
56
- raise TypeError(
57
- 'Required argument `' + k + '` was not specified.')
58
- super(Link, self).__init__(children=children, **args)
@@ -1,53 +0,0 @@
1
- from __future__ import print_function as _
2
-
3
- import os as _os
4
- import sys as _sys
5
- import json
6
-
7
- import dash as _dash
8
-
9
- # noinspection PyUnresolvedReferences
10
- from ._imports_ import *
11
- from ._imports_ import __all__
12
-
13
- if not hasattr(_dash, '__plotly_dash') and not hasattr(_dash, 'development'):
14
- print('Dash was not successfully imported. '
15
- 'Make sure you don\'t have a file '
16
- 'named \n"dash.py" in your current directory.', file=_sys.stderr)
17
- _sys.exit(1)
18
-
19
- _basepath = _os.path.dirname(__file__)
20
- _filepath = _os.path.abspath(_os.path.join(_basepath, 'package-info.json'))
21
- with open(_filepath) as f:
22
- package = json.load(f)
23
-
24
- package_name = package['name'].replace(' ', '_').replace('-', '_')
25
- __version__ = package['version']
26
-
27
- _current_path = _os.path.dirname(_os.path.abspath(__file__))
28
-
29
- _this_module = _sys.modules[__name__]
30
-
31
-
32
- _js_dist = [
33
- {
34
- 'relative_package_path': 'feffery_antd_components.min.js',
35
- 'external_url': 'https://unpkg.com/{0}@{2}/{1}/{1}.min.js'.format(
36
- package_name, __name__, __version__),
37
- 'namespace': package_name
38
- },
39
- {
40
- 'relative_package_path': 'feffery_antd_components.min.js.map',
41
- 'external_url': 'https://unpkg.com/{0}@{2}/{1}/{1}.min.js.map'.format(
42
- package_name, __name__, __version__),
43
- 'namespace': package_name,
44
- 'dynamic': True
45
- }
46
- ]
47
-
48
- _css_dist = []
49
-
50
-
51
- for _component in __all__:
52
- setattr(locals()[_component], '_js_dist', _js_dist)
53
- setattr(locals()[_component], '_css_dist', _css_dist)