feffery_antd_components 0.1.8 → 0.1.9

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 (112) hide show
  1. package/DESCRIPTION +1 -1
  2. package/NAMESPACE +1 -0
  3. package/Project.toml +1 -1
  4. package/feffery_antd_components/AntdPopconfirm.py +5 -3
  5. package/feffery_antd_components/AntdRadioGroup.py +3 -3
  6. package/{build/lib/feffery_antd_components/AntdCheckboxGroup.py → feffery_antd_components/AntdSegmented.py} +17 -11
  7. package/feffery_antd_components/AntdSwitch.py +5 -3
  8. package/feffery_antd_components/_imports_.py +2 -0
  9. package/feffery_antd_components/feffery_antd_components.min.js +143 -158
  10. package/feffery_antd_components/metadata.json +259 -4
  11. package/feffery_antd_components/package-info.json +3 -3
  12. package/package.json +3 -3
  13. package/src/FefferyAntdComponents.jl +4 -3
  14. package/src/jl/'feffery'_antdpopconfirm.jl +2 -1
  15. package/src/jl/'feffery'_antdradiogroup.jl +3 -3
  16. package/src/jl/'feffery'_antdsegmented.jl +48 -0
  17. package/src/jl/'feffery'_antdswitch.jl +2 -1
  18. package/src/lib/components/AntdMessage.react.js +2 -0
  19. package/src/lib/components/AntdPopconfirm.react.js +7 -2
  20. package/src/lib/components/AntdRadioGroup.react.js +10 -4
  21. package/src/lib/components/AntdSegmented.react.js +167 -0
  22. package/src/lib/components/AntdSwitch.react.js +9 -1
  23. package/src/lib/components/tabs/AntdTabs.react.js +0 -1
  24. package/src/lib/index.js +3 -1
  25. package/usage.py +28 -115
  26. package/build/lib/feffery_antd_components/AntdAffix.py +0 -54
  27. package/build/lib/feffery_antd_components/AntdAlert.py +0 -58
  28. package/build/lib/feffery_antd_components/AntdAnchor.py +0 -60
  29. package/build/lib/feffery_antd_components/AntdAvatar.py +0 -79
  30. package/build/lib/feffery_antd_components/AntdBackTop.py +0 -52
  31. package/build/lib/feffery_antd_components/AntdBadge.py +0 -70
  32. package/build/lib/feffery_antd_components/AntdBreadcrumb.py +0 -74
  33. package/build/lib/feffery_antd_components/AntdButton.py +0 -68
  34. package/build/lib/feffery_antd_components/AntdCalendar.py +0 -75
  35. package/build/lib/feffery_antd_components/AntdCard.py +0 -86
  36. package/build/lib/feffery_antd_components/AntdCardGrid.py +0 -52
  37. package/build/lib/feffery_antd_components/AntdCarousel.py +0 -56
  38. package/build/lib/feffery_antd_components/AntdCascader.py +0 -93
  39. package/build/lib/feffery_antd_components/AntdCheckbox.py +0 -71
  40. package/build/lib/feffery_antd_components/AntdCol.py +0 -146
  41. package/build/lib/feffery_antd_components/AntdCollapse.py +0 -79
  42. package/build/lib/feffery_antd_components/AntdComment.py +0 -88
  43. package/build/lib/feffery_antd_components/AntdContent.py +0 -50
  44. package/build/lib/feffery_antd_components/AntdCountdown.py +0 -72
  45. package/build/lib/feffery_antd_components/AntdDatePicker.py +0 -95
  46. package/build/lib/feffery_antd_components/AntdDateRangePicker.py +0 -91
  47. package/build/lib/feffery_antd_components/AntdDescriptionItem.py +0 -58
  48. package/build/lib/feffery_antd_components/AntdDescriptions.py +0 -76
  49. package/build/lib/feffery_antd_components/AntdDivider.py +0 -62
  50. package/build/lib/feffery_antd_components/AntdDraggerUpload.py +0 -84
  51. package/build/lib/feffery_antd_components/AntdDrawer.py +0 -72
  52. package/build/lib/feffery_antd_components/AntdDropdown.py +0 -84
  53. package/build/lib/feffery_antd_components/AntdEmpty.py +0 -54
  54. package/build/lib/feffery_antd_components/AntdFooter.py +0 -50
  55. package/build/lib/feffery_antd_components/AntdForm.py +0 -72
  56. package/build/lib/feffery_antd_components/AntdFormItem.py +0 -84
  57. package/build/lib/feffery_antd_components/AntdHeader.py +0 -50
  58. package/build/lib/feffery_antd_components/AntdIcon.py +0 -48
  59. package/build/lib/feffery_antd_components/AntdImage.py +0 -62
  60. package/build/lib/feffery_antd_components/AntdInput.py +0 -101
  61. package/build/lib/feffery_antd_components/AntdInputNumber.py +0 -101
  62. package/build/lib/feffery_antd_components/AntdLayout.py +0 -50
  63. package/build/lib/feffery_antd_components/AntdMentions.py +0 -76
  64. package/build/lib/feffery_antd_components/AntdMenu.py +0 -81
  65. package/build/lib/feffery_antd_components/AntdMessage.py +0 -56
  66. package/build/lib/feffery_antd_components/AntdModal.py +0 -88
  67. package/build/lib/feffery_antd_components/AntdNotification.py +0 -60
  68. package/build/lib/feffery_antd_components/AntdPageHeader.py +0 -62
  69. package/build/lib/feffery_antd_components/AntdPagination.py +0 -95
  70. package/build/lib/feffery_antd_components/AntdParagraph.py +0 -70
  71. package/build/lib/feffery_antd_components/AntdPasteImage.py +0 -52
  72. package/build/lib/feffery_antd_components/AntdPopconfirm.py +0 -80
  73. package/build/lib/feffery_antd_components/AntdPopover.py +0 -74
  74. package/build/lib/feffery_antd_components/AntdProgress.py +0 -88
  75. package/build/lib/feffery_antd_components/AntdRadio.py +0 -54
  76. package/build/lib/feffery_antd_components/AntdRadioGroup.py +0 -89
  77. package/build/lib/feffery_antd_components/AntdRate.py +0 -60
  78. package/build/lib/feffery_antd_components/AntdResult.py +0 -52
  79. package/build/lib/feffery_antd_components/AntdRibbon.py +0 -54
  80. package/build/lib/feffery_antd_components/AntdRow.py +0 -72
  81. package/build/lib/feffery_antd_components/AntdSelect.py +0 -121
  82. package/build/lib/feffery_antd_components/AntdSider.py +0 -68
  83. package/build/lib/feffery_antd_components/AntdSkeleton.py +0 -86
  84. package/build/lib/feffery_antd_components/AntdSlider.py +0 -68
  85. package/build/lib/feffery_antd_components/AntdSpace.py +0 -60
  86. package/build/lib/feffery_antd_components/AntdSpin.py +0 -68
  87. package/build/lib/feffery_antd_components/AntdStatistic.py +0 -74
  88. package/build/lib/feffery_antd_components/AntdSteps.py +0 -72
  89. package/build/lib/feffery_antd_components/AntdSwitch.py +0 -75
  90. package/build/lib/feffery_antd_components/AntdTabPane.py +0 -66
  91. package/build/lib/feffery_antd_components/AntdTable.py +0 -264
  92. package/build/lib/feffery_antd_components/AntdTabs.py +0 -81
  93. package/build/lib/feffery_antd_components/AntdTag.py +0 -54
  94. package/build/lib/feffery_antd_components/AntdTestLink.py +0 -58
  95. package/build/lib/feffery_antd_components/AntdText.py +0 -72
  96. package/build/lib/feffery_antd_components/AntdTimePicker.py +0 -95
  97. package/build/lib/feffery_antd_components/AntdTimeRangePicker.py +0 -95
  98. package/build/lib/feffery_antd_components/AntdTimeline.py +0 -68
  99. package/build/lib/feffery_antd_components/AntdTitle.py +0 -74
  100. package/build/lib/feffery_antd_components/AntdTooltip.py +0 -64
  101. package/build/lib/feffery_antd_components/AntdTransfer.py +0 -99
  102. package/build/lib/feffery_antd_components/AntdTree.py +0 -103
  103. package/build/lib/feffery_antd_components/AntdTreeSelect.py +0 -107
  104. package/build/lib/feffery_antd_components/AntdTypography.py +0 -50
  105. package/build/lib/feffery_antd_components/AntdUpload.py +0 -92
  106. package/build/lib/feffery_antd_components/AntdWatermark.py +0 -64
  107. package/build/lib/feffery_antd_components/Link.py +0 -58
  108. package/build/lib/feffery_antd_components/__init__.py +0 -53
  109. package/build/lib/feffery_antd_components/_imports_.py +0 -161
  110. package/build/lib/feffery_antd_components/feffery_antd_components.min.js +0 -344
  111. package/build/lib/feffery_antd_components/metadata.json +0 -15596
  112. package/build/lib/feffery_antd_components/package-info.json +0 -81
@@ -1,95 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdTimeRangePicker(Component):
7
- """An AntdTimeRangePicker component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - allowClear (boolean; optional)
15
-
16
- - bordered (boolean; optional)
17
-
18
- - className (string; optional)
19
-
20
- - defaultValue (list of strings; optional)
21
-
22
- - disabled (list of booleans; optional)
23
-
24
- - format (string; default 'hh:mm:ss')
25
-
26
- - hourStep (number; optional)
27
-
28
- - loading_state (dict; optional):
29
- Object that holds the loading state object coming from
30
- dash-renderer.
31
-
32
- `loading_state` is a dict with keys:
33
-
34
- - component_name (string; optional):
35
- Holds the name of the component that is loading.
36
-
37
- - is_loading (boolean; optional):
38
- Determines if the component is loading or not.
39
-
40
- - prop_name (string; optional):
41
- Holds which property is loading.
42
-
43
- - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
44
-
45
- - minuteStep (number; optional)
46
-
47
- - persisted_props (list of a value equal to: 'value's; default ['value']):
48
- Properties whose user interactions will persist after refreshing
49
- the component or the page. Since only `value` is allowed this
50
- prop can normally be ignored.
51
-
52
- - persistence (boolean | string | number; optional):
53
- Used to allow user interactions in this component to be persisted
54
- when the component - or the page - is refreshed. If `persisted`
55
- is truthy and hasn't changed from its previous value, a `value`
56
- that the user has changed while using the app will keep that
57
- change, as long as the new `value` also matches what was given
58
- originally. Used in conjunction with `persistence_type`.
59
-
60
- - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
61
- Where persisted user changes will be stored: memory: only kept in
62
- memory, reset on page refresh. local: window.localStorage, data
63
- is kept after the browser quit. session: window.sessionStorage,
64
- data is cleared once the browser quit.
65
-
66
- - placeholder (list of strings; optional)
67
-
68
- - secondStep (number; optional)
69
-
70
- - size (a value equal to: 'small', 'middle', 'large'; optional)
71
-
72
- - status (a value equal to: 'error', 'warning'; optional)
73
-
74
- - style (dict; default {
75
  width: 220
76
-
77
- - use12Hours (boolean; optional)
78
-
79
- - value (list of strings; optional)"""
80
- @_explicitize_args
81
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, disabled=Component.UNDEFINED, hourStep=Component.UNDEFINED, minuteStep=Component.UNDEFINED, secondStep=Component.UNDEFINED, format=Component.UNDEFINED, use12Hours=Component.UNDEFINED, allowClear=Component.UNDEFINED, placeholder=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, bordered=Component.UNDEFINED, size=Component.UNDEFINED, status=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
82
- self._prop_names = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'format', 'hourStep', 'loading_state', 'locale', 'minuteStep', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'secondStep', 'size', 'status', 'style', 'use12Hours', 'value']
83
- self._type = 'AntdTimeRangePicker'
84
- self._namespace = 'feffery_antd_components'
85
- self._valid_wildcard_attributes = []
86
- self.available_properties = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'format', 'hourStep', 'loading_state', 'locale', 'minuteStep', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'secondStep', 'size', 'status', 'style', 'use12Hours', 'value']
87
- self.available_wildcard_properties = []
88
- _explicit_args = kwargs.pop('_explicit_args')
89
- _locals = locals()
90
- _locals.update(kwargs) # For wildcard attrs
91
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
92
- for k in []:
93
- if k not in args:
94
- raise TypeError(
95
- 'Required argument `' + k + '` was not specified.')
96
- super(AntdTimeRangePicker, self).__init__(**args)
@@ -1,68 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdTimeline(Component):
7
- """An AntdTimeline component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - className (string; optional)
15
-
16
- - items (list of dicts; optional)
17
-
18
- `items` is a list of dicts with keys:
19
-
20
- - color (string; optional)
21
-
22
- - content (string; optional)
23
-
24
- - contentStyle (dict; optional)
25
-
26
- - icon (string; optional)
27
-
28
- - iconStyle (dict; optional)
29
-
30
- - label (string; optional)
31
-
32
- - loading_state (dict; optional)
33
-
34
- `loading_state` is a dict with keys:
35
-
36
- - component_name (string; optional):
37
- Holds the name of the component that is loading.
38
-
39
- - is_loading (boolean; optional):
40
- Determines if the component is loading or not.
41
-
42
- - prop_name (string; optional):
43
- Holds which property is loading.
44
-
45
- - mode (a value equal to: 'left', 'alternate', 'right'; default 'left')
46
-
47
- - pending (string; optional)
48
-
49
- - reverse (boolean; optional)
50
-
51
- - style (dict; optional)"""
52
- @_explicitize_args
53
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, items=Component.UNDEFINED, mode=Component.UNDEFINED, pending=Component.UNDEFINED, reverse=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
54
- self._prop_names = ['id', 'className', 'items', 'loading_state', 'mode', 'pending', 'reverse', 'style']
55
- self._type = 'AntdTimeline'
56
- self._namespace = 'feffery_antd_components'
57
- self._valid_wildcard_attributes = []
58
- self.available_properties = ['id', 'className', 'items', 'loading_state', 'mode', 'pending', 'reverse', 'style']
59
- self.available_wildcard_properties = []
60
- _explicit_args = kwargs.pop('_explicit_args')
61
- _locals = locals()
62
- _locals.update(kwargs) # For wildcard attrs
63
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
64
- for k in []:
65
- if k not in args:
66
- raise TypeError(
67
- 'Required argument `' + k + '` was not specified.')
68
- super(AntdTimeline, self).__init__(**args)
@@ -1,74 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdTitle(Component):
7
- """An AntdTitle 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
- - code (boolean; optional)
21
-
22
- - copyable (boolean; optional)
23
-
24
- - disabled (boolean; optional)
25
-
26
- - italic (boolean; optional)
27
-
28
- - keyboard (boolean; optional)
29
-
30
- - level (number; optional)
31
-
32
- - loading_state (dict; optional)
33
-
34
- `loading_state` is a dict with keys:
35
-
36
- - component_name (string; optional):
37
- Holds the name of the component that is loading.
38
-
39
- - is_loading (boolean; optional):
40
- Determines if the component is loading or not.
41
-
42
- - prop_name (string; optional):
43
- Holds which property is loading.
44
-
45
- - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
46
-
47
- - mark (boolean; optional)
48
-
49
- - strikethrough (boolean; optional)
50
-
51
- - strong (boolean; optional)
52
-
53
- - style (dict; optional)
54
-
55
- - type (a value equal to: 'secondary', 'success', 'warning', 'danger'; optional)
56
-
57
- - underline (boolean; optional)"""
58
- @_explicitize_args
59
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, level=Component.UNDEFINED, code=Component.UNDEFINED, copyable=Component.UNDEFINED, strikethrough=Component.UNDEFINED, disabled=Component.UNDEFINED, mark=Component.UNDEFINED, strong=Component.UNDEFINED, italic=Component.UNDEFINED, underline=Component.UNDEFINED, keyboard=Component.UNDEFINED, type=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
60
- self._prop_names = ['children', 'id', 'className', 'code', 'copyable', 'disabled', 'italic', 'keyboard', 'level', 'loading_state', 'locale', 'mark', 'strikethrough', 'strong', 'style', 'type', 'underline']
61
- self._type = 'AntdTitle'
62
- self._namespace = 'feffery_antd_components'
63
- self._valid_wildcard_attributes = []
64
- self.available_properties = ['children', 'id', 'className', 'code', 'copyable', 'disabled', 'italic', 'keyboard', 'level', 'loading_state', 'locale', 'mark', 'strikethrough', 'strong', 'style', 'type', 'underline']
65
- self.available_wildcard_properties = []
66
- _explicit_args = kwargs.pop('_explicit_args')
67
- _locals = locals()
68
- _locals.update(kwargs) # For wildcard attrs
69
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
70
- for k in []:
71
- if k not in args:
72
- raise TypeError(
73
- 'Required argument `' + k + '` was not specified.')
74
- super(AntdTitle, self).__init__(children=children, **args)
@@ -1,64 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdTooltip(Component):
7
- """An AntdTooltip component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - children (a list of or a singular dash component, string or number; optional)
13
-
14
- - id (string; optional)
15
-
16
- - className (string; optional)
17
-
18
- - color (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
- - mouseEnterDelay (number; optional)
34
-
35
- - mouseLeaveDelay (number; optional)
36
-
37
- - overlayInnerStyle (dict; optional)
38
-
39
- - overlayStyle (dict; optional)
40
-
41
- - placement (a value equal to: 'top', 'left', 'right', 'bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'leftTop', 'leftBottom', 'rightTop', 'rightBottom'; optional)
42
-
43
- - style (dict; optional)
44
-
45
- - title (string; optional)
46
-
47
- - trigger (a value equal to: 'hover', 'focus', 'click' | list of a value equal to: 'hover', 'focus', 'click's; optional)"""
48
- @_explicitize_args
49
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, title=Component.UNDEFINED, placement=Component.UNDEFINED, color=Component.UNDEFINED, mouseEnterDelay=Component.UNDEFINED, mouseLeaveDelay=Component.UNDEFINED, overlayStyle=Component.UNDEFINED, overlayInnerStyle=Component.UNDEFINED, trigger=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
50
- self._prop_names = ['children', 'id', 'className', 'color', 'loading_state', 'mouseEnterDelay', 'mouseLeaveDelay', 'overlayInnerStyle', 'overlayStyle', 'placement', 'style', 'title', 'trigger']
51
- self._type = 'AntdTooltip'
52
- self._namespace = 'feffery_antd_components'
53
- self._valid_wildcard_attributes = []
54
- self.available_properties = ['children', 'id', 'className', 'color', 'loading_state', 'mouseEnterDelay', 'mouseLeaveDelay', 'overlayInnerStyle', 'overlayStyle', 'placement', 'style', 'title', 'trigger']
55
- self.available_wildcard_properties = []
56
- _explicit_args = kwargs.pop('_explicit_args')
57
- _locals = locals()
58
- _locals.update(kwargs) # For wildcard attrs
59
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
60
- for k in []:
61
- if k not in args:
62
- raise TypeError(
63
- 'Required argument `' + k + '` was not specified.')
64
- super(AntdTooltip, self).__init__(children=children, **args)
@@ -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,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 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; optional)
19
-
20
- - className (string; optional)
21
-
22
- - defaultCheckedKeys (list of strings; optional)
23
-
24
- - defaultExpandAll (boolean; optional)
25
-
26
- - defaultExpandParent (boolean; optional)
27
-
28
- - defaultExpandedKeys (list of strings; optional)
29
-
30
- - defaultSelectedKeys (list of strings; optional)
31
-
32
- - expandedKeys (list of strings; optional)
33
-
34
- - halfCheckedKeys (list; optional)
35
-
36
- - height (number; optional)
37
-
38
- - loading_state (dict; optional)
39
-
40
- `loading_state` is a dict with keys:
41
-
42
- - component_name (string; optional):
43
- Holds the name of the component that is loading.
44
-
45
- - is_loading (boolean; optional):
46
- Determines if the component is loading or not.
47
-
48
- - prop_name (string; optional):
49
- Holds which property is loading.
50
-
51
- - multiple (boolean; optional)
52
-
53
- - persisted_props (list of a value equal to: 'selectedKeys', 'checkedKeys', 'expandedKeys's; default ['selectedKeys', 'checkedKeys', 'expandedKeys']):
54
- Properties whose user interactions will persist after refreshing
55
- the component or the page. Since only `value` is allowed this
56
- prop can normally be ignored.
57
-
58
- - persistence (boolean | string | number; optional):
59
- Used to allow user interactions in this component to be persisted
60
- when the component - or the page - is refreshed. If `persisted`
61
- is truthy and hasn't changed from its previous value, a `value`
62
- that the user has changed while using the app will keep that
63
- change, as long as the new `value` also matches what was given
64
- originally. Used in conjunction with `persistence_type`.
65
-
66
- - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
67
- Where persisted user changes will be stored: memory: only kept in
68
- memory, reset on page refresh. local: window.localStorage, data
69
- is kept after the browser quit. session: window.sessionStorage,
70
- data is cleared once the browser quit.
71
-
72
- - selectable (boolean; optional)
73
-
74
- - selectedKeys (list; optional)
75
-
76
- - showIcon (boolean; default True)
77
-
78
- - showLine (dict; default { 'showLeafIcon': False })
79
-
80
- `showLine` is a boolean | dict with keys:
81
-
82
- - showLeafIcon (boolean; optional)
83
-
84
- - style (dict; optional)
85
-
86
- - treeData (optional)"""
87
- @_explicitize_args
88
- 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, halfCheckedKeys=Component.UNDEFINED, expandedKeys=Component.UNDEFINED, height=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
89
- self._prop_names = ['id', 'checkStrictly', 'checkable', 'checkedKeys', 'className', 'defaultCheckedKeys', 'defaultExpandAll', 'defaultExpandParent', 'defaultExpandedKeys', 'defaultSelectedKeys', 'expandedKeys', 'halfCheckedKeys', 'height', 'loading_state', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'selectable', 'selectedKeys', 'showIcon', 'showLine', 'style', 'treeData']
90
- self._type = 'AntdTree'
91
- self._namespace = 'feffery_antd_components'
92
- self._valid_wildcard_attributes = []
93
- self.available_properties = ['id', 'checkStrictly', 'checkable', 'checkedKeys', 'className', 'defaultCheckedKeys', 'defaultExpandAll', 'defaultExpandParent', 'defaultExpandedKeys', 'defaultSelectedKeys', 'expandedKeys', 'halfCheckedKeys', 'height', 'loading_state', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'selectable', 'selectedKeys', 'showIcon', 'showLine', 'style', 'treeData']
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(AntdTree, 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 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
- - placement (a value equal to: 'bottomLeft', 'bottomRight', 'topLeft', 'topRight'; optional)
67
-
68
- - size (a value equal to: 'small', 'middle', 'large'; optional)
69
-
70
- - status (a value equal to: 'error', 'warning'; optional)
71
-
72
- - style (dict; optional)
73
-
74
- - treeCheckStrictly (boolean; optional)
75
-
76
- - treeCheckable (boolean; optional)
77
-
78
- - treeData (optional)
79
-
80
- - treeDefaultExpandAll (boolean; optional)
81
-
82
- - treeDefaultExpandedKeys (list of strings; optional)
83
-
84
- - treeExpandedKeys (list of strings; optional)
85
-
86
- - treeLine (boolean; optional)
87
-
88
- - value (string | number | list of string | numbers; optional)
89
-
90
- - virtual (boolean; default False)"""
91
- @_explicitize_args
92
- 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, placement=Component.UNDEFINED, status=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
93
- self._prop_names = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'listHeight', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'size', 'status', 'style', 'treeCheckStrictly', 'treeCheckable', 'treeData', 'treeDefaultExpandAll', 'treeDefaultExpandedKeys', 'treeExpandedKeys', 'treeLine', 'value', 'virtual']
94
- self._type = 'AntdTreeSelect'
95
- self._namespace = 'feffery_antd_components'
96
- self._valid_wildcard_attributes = []
97
- self.available_properties = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'listHeight', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'size', 'status', 'style', 'treeCheckStrictly', 'treeCheckable', 'treeData', 'treeDefaultExpandAll', 'treeDefaultExpandedKeys', 'treeExpandedKeys', 'treeLine', 'value', 'virtual']
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(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)