ecodev-front 0.0.63__tar.gz → 0.0.65__tar.gz

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 (48) hide show
  1. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/PKG-INFO +1 -1
  2. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/__init__.py +4 -1
  3. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/constants.py +3 -0
  4. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/tables/column_def.py +3 -2
  5. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/pyproject.toml +1 -1
  6. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/LICENSE.md +0 -0
  7. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/README.md +0 -0
  8. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/alert.py +0 -0
  9. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/app_header.py +0 -0
  10. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/app_layout.py +0 -0
  11. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/button.py +0 -0
  12. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/card.py +0 -0
  13. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/container.py +0 -0
  14. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/display_utils.py +0 -0
  15. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/div.py +0 -0
  16. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/divider.py +0 -0
  17. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/download_button.py +0 -0
  18. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/footer.py +0 -0
  19. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/graphs/__init__.py +0 -0
  20. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/graphs/bar_chart.py +0 -0
  21. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/graphs/fig_helpers.py +0 -0
  22. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/graphs/fig_layout.py +0 -0
  23. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/graphs/graph.py +0 -0
  24. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/graphs/legend_position.py +0 -0
  25. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/graphs/pie_chart.py +0 -0
  26. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/graphs/scatter.py +0 -0
  27. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/graphs/subplots.py +0 -0
  28. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/graphs/sunburst.py +0 -0
  29. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/group.py +0 -0
  30. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/icon.py +0 -0
  31. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/ids.py +0 -0
  32. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/login.py +0 -0
  33. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/modal.py +0 -0
  34. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/nav_items.py +0 -0
  35. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/navlink.py +0 -0
  36. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/report_value.py +0 -0
  37. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/search_bar.py +0 -0
  38. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/segment_control.py +0 -0
  39. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/select.py +0 -0
  40. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/shadow_box.py +0 -0
  41. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/shadow_button.py +0 -0
  42. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/stack.py +0 -0
  43. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/stepper.py +0 -0
  44. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/tables/__init__.py +0 -0
  45. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/tables/data_table.py +0 -0
  46. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/tabs.py +0 -0
  47. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/text.py +0 -0
  48. {ecodev_front-0.0.63 → ecodev_front-0.0.65}/ecodev_front/upload_box.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ecodev-front
3
- Version: 0.0.63
3
+ Version: 0.0.65
4
4
  Summary: Dash component helpers
5
5
  License: MIT
6
6
  Author: Amaury Salles
@@ -23,6 +23,9 @@ from ecodev_front.constants import OPENED
23
23
  from ecodev_front.constants import PATHNAME
24
24
  from ecodev_front.constants import STYLE
25
25
  from ecodev_front.constants import VALUE
26
+ from ecodev_front.constants import TYPE
27
+ from ecodev_front.constants import INDEX
28
+ from ecodev_front.constants import ID
26
29
  from ecodev_front.container import container
27
30
  from ecodev_front.display_utils import get_magnitude
28
31
  from ecodev_front.display_utils import number_formatting
@@ -100,5 +103,5 @@ __all__ = [
100
103
  'hide_duplicate_legends', 'scatter', 'subplots', 'subplots_y_axis_labels',
101
104
  'HORIZONTAL_CENTERED_LEGEND', 'bar_chart', 'locale_fr_FR', 'apply_fig_layout',
102
105
  'get_formatted_data_sunburst', 'container', 'button', 'NOTIFICATION_ID', 'icon', 'ACTIVE',
103
- 'CLICKDATA', 'LOCAL', 'OPENED', 'CONTENTS'
106
+ 'CLICKDATA', 'LOCAL', 'OPENED', 'CONTENTS', 'TYPE', 'INDEX', 'ID'
104
107
  ]
@@ -13,6 +13,9 @@ CLICKDATA = 'clickData'
13
13
  LOCAL = 'local'
14
14
  OPENED = 'opened'
15
15
  CONTENTS = 'contents'
16
+ TYPE = 'type'
17
+ INDEX = 'index'
18
+ ID = 'id'
16
19
 
17
20
  NOTIFICATION_ID = 'notification-id'
18
21
  MAIN_PAGE_URL = '/'
@@ -42,7 +42,8 @@ def custom_column_def(field: str,
42
42
  cell_renderer: Optional[str] = None,
43
43
  cell_style: Optional[Dict] = None,
44
44
  cell_editor: Optional[str] = None,
45
- cell_editor_params: Optional[Dict] = None) -> Dict[str, Any]:
45
+ cell_editor_params: Optional[Dict] = None,
46
+ other_params: Optional[dict] = None) -> Dict[str, Any]:
46
47
  """
47
48
  Creates a custom def dict
48
49
  """
@@ -63,7 +64,7 @@ def custom_column_def(field: str,
63
64
  'cellStyle': cell_style,
64
65
  'cellEditor': cell_editor,
65
66
  'cellEditorParams': cell_editor_params
66
- }
67
+ } | other_params
67
68
 
68
69
 
69
70
  def _get_value_formatter(dag_type: DagColTypes | None,
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "ecodev-front"
3
- version = "0.0.63"
3
+ version = "0.0.65"
4
4
  description = "Dash component helpers"
5
5
  authors = ["Amaury Salles <amaury.salles@gmail.com>",
6
6
  "Yoann Diep <yoann.diep@hotmail.fr>",
File without changes
File without changes