feffery_antd_components 0.1.4 → 0.1.7
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/NAMESPACE +2 -0
- package/Project.toml +1 -1
- package/README.md +2 -2
- package/build/lib/feffery_antd_components/AntdAffix.py +54 -0
- package/build/lib/feffery_antd_components/AntdAlert.py +58 -0
- package/build/lib/feffery_antd_components/AntdAnchor.py +60 -0
- package/build/lib/feffery_antd_components/AntdAvatar.py +79 -0
- package/build/lib/feffery_antd_components/AntdBackTop.py +52 -0
- package/build/lib/feffery_antd_components/AntdBadge.py +70 -0
- package/build/lib/feffery_antd_components/AntdBreadcrumb.py +74 -0
- package/build/lib/feffery_antd_components/AntdButton.py +68 -0
- package/build/lib/feffery_antd_components/AntdCalendar.py +75 -0
- package/build/lib/feffery_antd_components/AntdCard.py +86 -0
- package/build/lib/feffery_antd_components/AntdCardGrid.py +52 -0
- package/build/lib/feffery_antd_components/AntdCarousel.py +56 -0
- package/build/lib/feffery_antd_components/AntdCascader.py +93 -0
- package/build/lib/feffery_antd_components/AntdCheckbox.py +71 -0
- package/build/lib/feffery_antd_components/AntdCheckboxGroup.py +79 -0
- package/build/lib/feffery_antd_components/AntdCol.py +146 -0
- package/build/lib/feffery_antd_components/AntdCollapse.py +79 -0
- package/build/lib/feffery_antd_components/AntdComment.py +88 -0
- package/build/lib/feffery_antd_components/AntdContent.py +50 -0
- package/build/lib/feffery_antd_components/AntdCountdown.py +72 -0
- package/build/lib/feffery_antd_components/AntdDatePicker.py +95 -0
- package/build/lib/feffery_antd_components/AntdDateRangePicker.py +91 -0
- package/build/lib/feffery_antd_components/AntdDescriptionItem.py +58 -0
- package/build/lib/feffery_antd_components/AntdDescriptions.py +76 -0
- package/build/lib/feffery_antd_components/AntdDivider.py +62 -0
- package/build/lib/feffery_antd_components/AntdDraggerUpload.py +84 -0
- package/build/lib/feffery_antd_components/AntdDrawer.py +72 -0
- package/build/lib/feffery_antd_components/AntdDropdown.py +84 -0
- package/build/lib/feffery_antd_components/AntdEmpty.py +54 -0
- package/build/lib/feffery_antd_components/AntdFooter.py +50 -0
- package/build/lib/feffery_antd_components/AntdForm.py +72 -0
- package/build/lib/feffery_antd_components/AntdFormItem.py +84 -0
- package/build/lib/feffery_antd_components/AntdHeader.py +50 -0
- package/build/lib/feffery_antd_components/AntdIcon.py +48 -0
- package/build/lib/feffery_antd_components/AntdImage.py +62 -0
- package/build/lib/feffery_antd_components/AntdInput.py +101 -0
- package/build/lib/feffery_antd_components/AntdInputNumber.py +101 -0
- package/build/lib/feffery_antd_components/AntdLayout.py +50 -0
- package/build/lib/feffery_antd_components/AntdMentions.py +76 -0
- package/build/lib/feffery_antd_components/AntdMenu.py +81 -0
- package/build/lib/feffery_antd_components/AntdMessage.py +56 -0
- package/build/lib/feffery_antd_components/AntdModal.py +88 -0
- package/build/lib/feffery_antd_components/AntdNotification.py +60 -0
- package/build/lib/feffery_antd_components/AntdPageHeader.py +62 -0
- package/build/lib/feffery_antd_components/AntdPagination.py +95 -0
- package/build/lib/feffery_antd_components/AntdParagraph.py +70 -0
- package/build/lib/feffery_antd_components/AntdPasteImage.py +52 -0
- package/build/lib/feffery_antd_components/AntdPopconfirm.py +80 -0
- package/build/lib/feffery_antd_components/AntdPopover.py +74 -0
- package/build/lib/feffery_antd_components/AntdProgress.py +88 -0
- package/build/lib/feffery_antd_components/AntdRadio.py +54 -0
- package/build/lib/feffery_antd_components/AntdRadioGroup.py +89 -0
- package/build/lib/feffery_antd_components/AntdRate.py +60 -0
- package/build/lib/feffery_antd_components/AntdResult.py +52 -0
- package/build/lib/feffery_antd_components/AntdRibbon.py +54 -0
- package/build/lib/feffery_antd_components/AntdRow.py +72 -0
- package/build/lib/feffery_antd_components/AntdSelect.py +121 -0
- package/build/lib/feffery_antd_components/AntdSider.py +68 -0
- package/build/lib/feffery_antd_components/AntdSkeleton.py +86 -0
- package/build/lib/feffery_antd_components/AntdSlider.py +68 -0
- package/build/lib/feffery_antd_components/AntdSpace.py +60 -0
- package/build/lib/feffery_antd_components/AntdSpin.py +68 -0
- package/build/lib/feffery_antd_components/AntdStatistic.py +74 -0
- package/build/lib/feffery_antd_components/AntdSteps.py +72 -0
- package/build/lib/feffery_antd_components/AntdSwitch.py +75 -0
- package/build/lib/feffery_antd_components/AntdTabPane.py +66 -0
- package/build/lib/feffery_antd_components/AntdTable.py +264 -0
- package/build/lib/feffery_antd_components/AntdTabs.py +81 -0
- package/build/lib/feffery_antd_components/AntdTag.py +54 -0
- package/build/lib/feffery_antd_components/AntdTestLink.py +58 -0
- package/build/lib/feffery_antd_components/AntdText.py +72 -0
- package/build/lib/feffery_antd_components/AntdTimePicker.py +95 -0
- package/build/lib/feffery_antd_components/AntdTimeRangePicker.py +95 -0
- package/build/lib/feffery_antd_components/AntdTimeline.py +68 -0
- package/build/lib/feffery_antd_components/AntdTitle.py +74 -0
- package/build/lib/feffery_antd_components/AntdTooltip.py +64 -0
- package/build/lib/feffery_antd_components/AntdTransfer.py +99 -0
- package/build/lib/feffery_antd_components/AntdTree.py +103 -0
- package/build/lib/feffery_antd_components/AntdTreeSelect.py +107 -0
- package/build/lib/feffery_antd_components/AntdTypography.py +50 -0
- package/build/lib/feffery_antd_components/AntdUpload.py +92 -0
- package/build/lib/feffery_antd_components/AntdWatermark.py +64 -0
- package/build/lib/feffery_antd_components/Link.py +58 -0
- package/build/lib/feffery_antd_components/__init__.py +53 -0
- package/build/lib/feffery_antd_components/_imports_.py +161 -0
- package/build/lib/feffery_antd_components/feffery_antd_components.min.js +344 -0
- package/build/lib/feffery_antd_components/metadata.json +15596 -0
- package/build/lib/feffery_antd_components/package-info.json +81 -0
- package/feffery_antd_components/AntdAnchor.py +9 -3
- package/feffery_antd_components/AntdButton.py +5 -3
- package/feffery_antd_components/AntdCascader.py +5 -3
- package/feffery_antd_components/AntdDatePicker.py +5 -3
- package/feffery_antd_components/AntdDateRangePicker.py +5 -3
- package/feffery_antd_components/AntdDraggerUpload.py +6 -4
- package/feffery_antd_components/AntdImage.py +2 -2
- package/feffery_antd_components/AntdInput.py +5 -3
- package/feffery_antd_components/AntdInputNumber.py +5 -3
- package/feffery_antd_components/AntdMentions.py +5 -3
- package/feffery_antd_components/AntdMessage.py +5 -3
- package/feffery_antd_components/AntdPasteImage.py +52 -0
- package/feffery_antd_components/AntdSelect.py +7 -3
- package/feffery_antd_components/AntdTable.py +27 -3
- package/feffery_antd_components/AntdTimePicker.py +5 -3
- package/feffery_antd_components/AntdTimeRangePicker.py +5 -3
- package/feffery_antd_components/AntdTree.py +6 -10
- package/feffery_antd_components/AntdTreeSelect.py +7 -3
- package/feffery_antd_components/AntdUpload.py +16 -4
- package/feffery_antd_components/AntdWatermark.py +64 -0
- package/feffery_antd_components/_imports_.py +4 -0
- package/feffery_antd_components/feffery_antd_components.min.js +13 -13
- package/feffery_antd_components/metadata.json +680 -43
- package/feffery_antd_components/package-info.json +18 -14
- package/package.json +18 -14
- package/src/FefferyAntdComponents.jl +5 -3
- package/src/jl/'feffery'_antdanchor.jl +4 -1
- package/src/jl/'feffery'_antdbutton.jl +2 -1
- package/src/jl/'feffery'_antdcascader.jl +2 -1
- package/src/jl/'feffery'_antddatepicker.jl +2 -1
- package/src/jl/'feffery'_antddaterangepicker.jl +2 -1
- package/src/jl/'feffery'_antddraggerupload.jl +2 -1
- package/src/jl/'feffery'_antdimage.jl +2 -2
- package/src/jl/'feffery'_antdinput.jl +2 -1
- package/src/jl/'feffery'_antdinputnumber.jl +2 -1
- package/src/jl/'feffery'_antdmentions.jl +2 -1
- package/src/jl/'feffery'_antdmessage.jl +2 -1
- package/src/jl/'feffery'_antdpasteimage.jl +28 -0
- package/src/jl/'feffery'_antdselect.jl +3 -1
- package/src/jl/'feffery'_antdtable.jl +19 -5
- package/src/jl/'feffery'_antdtimepicker.jl +2 -1
- package/src/jl/'feffery'_antdtimerangepicker.jl +2 -1
- package/src/jl/'feffery'_antdtree.jl +3 -5
- package/src/jl/'feffery'_antdtreeselect.jl +3 -1
- package/src/jl/'feffery'_antdupload.jl +9 -2
- package/src/jl/'feffery'_antdwatermark.jl +39 -0
- package/src/lib/components/AntdAnchor.react.js +18 -3
- package/src/lib/components/AntdButton.react.js +5 -1
- package/src/lib/components/AntdCascader.react.js +5 -0
- package/src/lib/components/AntdDatePicker.react.js +5 -0
- package/src/lib/components/AntdDateRangePicker.react.js +5 -0
- package/src/lib/components/AntdDraggerUpload.react.js +41 -11
- package/src/lib/components/AntdImage.react.js +8 -2
- package/src/lib/components/AntdInput.react.js +8 -0
- package/src/lib/components/AntdInputNumber.react.js +5 -0
- package/src/lib/components/AntdMentions.react.js +5 -0
- package/src/lib/components/AntdMessage.react.js +6 -1
- package/src/lib/components/AntdPasteImage.react.js +170 -0
- package/src/lib/components/AntdSelect.react.js +11 -0
- package/src/lib/components/AntdTable.react.js +69 -6
- package/src/lib/components/AntdTimePicker.react.js +5 -0
- package/src/lib/components/AntdTimeRangePicker.react.js +5 -0
- package/src/lib/components/AntdTree.react.js +6 -13
- package/src/lib/components/AntdTreeSelect.react.js +11 -0
- package/src/lib/components/AntdUpload.react.js +78 -24
- package/src/lib/components/AntdWatermark.react.js +115 -0
- package/src/lib/components/styles.css +12 -11
- package/src/lib/components/tabs/AntdTabs.react.js +4 -0
- package/src/lib/index.js +5 -1
- package/usage.py +76 -1033
- package/webpack.config.js +9 -3
|
@@ -0,0 +1,99 @@
|
|
|
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)
|
|
@@ -0,0 +1,103 @@
|
|
|
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)
|
|
@@ -0,0 +1,107 @@
|
|
|
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)
|
|
@@ -0,0 +1,50 @@
|
|
|
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)
|
|
@@ -0,0 +1,92 @@
|
|
|
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; optional)
|
|
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) | list of dicts with keys:
|
|
43
|
+
|
|
44
|
+
- completeTimestamp (number; optional)
|
|
45
|
+
|
|
46
|
+
- fileName (string; optional)
|
|
47
|
+
|
|
48
|
+
- fileSize (number; optional)
|
|
49
|
+
|
|
50
|
+
- taskId (string; optional)
|
|
51
|
+
|
|
52
|
+
- taskStatus (string; optional)
|
|
53
|
+
|
|
54
|
+
- loading_state (dict; optional)
|
|
55
|
+
|
|
56
|
+
`loading_state` is a dict with keys:
|
|
57
|
+
|
|
58
|
+
- component_name (string; optional):
|
|
59
|
+
Holds the name of the component that is loading.
|
|
60
|
+
|
|
61
|
+
- is_loading (boolean; optional):
|
|
62
|
+
Determines if the component is loading or not.
|
|
63
|
+
|
|
64
|
+
- prop_name (string; optional):
|
|
65
|
+
Holds which property is loading.
|
|
66
|
+
|
|
67
|
+
- locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
|
|
68
|
+
|
|
69
|
+
- multiple (boolean; optional)
|
|
70
|
+
|
|
71
|
+
- showUploadList (boolean; optional)
|
|
72
|
+
|
|
73
|
+
- style (dict; optional)
|
|
74
|
+
|
|
75
|
+
- uploadId (string; optional)"""
|
|
76
|
+
@_explicitize_args
|
|
77
|
+
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, showUploadList=Component.UNDEFINED, lastUploadTaskRecord=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
78
|
+
self._prop_names = ['id', 'apiUrl', 'buttonContent', 'className', 'directory', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'lastUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'showUploadList', 'style', 'uploadId']
|
|
79
|
+
self._type = 'AntdUpload'
|
|
80
|
+
self._namespace = 'feffery_antd_components'
|
|
81
|
+
self._valid_wildcard_attributes = []
|
|
82
|
+
self.available_properties = ['id', 'apiUrl', 'buttonContent', 'className', 'directory', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'lastUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'showUploadList', 'style', 'uploadId']
|
|
83
|
+
self.available_wildcard_properties = []
|
|
84
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
85
|
+
_locals = locals()
|
|
86
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
87
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
88
|
+
for k in []:
|
|
89
|
+
if k not in args:
|
|
90
|
+
raise TypeError(
|
|
91
|
+
'Required argument `' + k + '` was not specified.')
|
|
92
|
+
super(AntdUpload, self).__init__(**args)
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdWatermark(Component):
|
|
7
|
+
"""An AntdWatermark 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
|
+
- content (string; optional)
|
|
21
|
+
|
|
22
|
+
- fontColor (string; optional)
|
|
23
|
+
|
|
24
|
+
- fontSize (number; optional)
|
|
25
|
+
|
|
26
|
+
- gapX (number; optional)
|
|
27
|
+
|
|
28
|
+
- gapY (number; optional)
|
|
29
|
+
|
|
30
|
+
- loading_state (dict; optional)
|
|
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
|
+
- rotate (number; optional)
|
|
44
|
+
|
|
45
|
+
- style (dict; optional)
|
|
46
|
+
|
|
47
|
+
- zIndex (number; optional)"""
|
|
48
|
+
@_explicitize_args
|
|
49
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, content=Component.UNDEFINED, rotate=Component.UNDEFINED, zIndex=Component.UNDEFINED, fontColor=Component.UNDEFINED, fontSize=Component.UNDEFINED, gapX=Component.UNDEFINED, gapY=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
50
|
+
self._prop_names = ['children', 'id', 'className', 'content', 'fontColor', 'fontSize', 'gapX', 'gapY', 'loading_state', 'rotate', 'style', 'zIndex']
|
|
51
|
+
self._type = 'AntdWatermark'
|
|
52
|
+
self._namespace = 'feffery_antd_components'
|
|
53
|
+
self._valid_wildcard_attributes = []
|
|
54
|
+
self.available_properties = ['children', 'id', 'className', 'content', 'fontColor', 'fontSize', 'gapX', 'gapY', 'loading_state', 'rotate', 'style', 'zIndex']
|
|
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(AntdWatermark, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,58 @@
|
|
|
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)
|
|
@@ -0,0 +1,53 @@
|
|
|
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)
|