ex4nicegui 0.8.9__py3-none-any.whl → 0.8.10__py3-none-any.whl

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.
ex4nicegui/__init__.py CHANGED
@@ -25,6 +25,7 @@ from ex4nicegui.utils.signals import (
25
25
  )
26
26
  from ex4nicegui.utils.asyncComputed import async_computed
27
27
  from ex4nicegui.utils.clientScope import new_scope
28
+ from ex4nicegui.reactive.EChartsComponent.ECharts import reset_echarts_dependencies
28
29
  from .version import __version__
29
30
 
30
31
  __all__ = [
@@ -51,5 +52,6 @@ __all__ = [
51
52
  "is_setter_ref",
52
53
  "new_scope",
53
54
  "next_tick",
55
+ "reset_echarts_dependencies",
54
56
  "__version__",
55
57
  ]
@@ -136,3 +136,24 @@ class echarts(Element, component="ECharts.js", dependencies=libraries): # type:
136
136
  *args,
137
137
  timeout=timeout,
138
138
  )
139
+
140
+
141
+ def reset_echarts_dependencies(echarts_js_file: Union[str, Path]):
142
+ """
143
+ Reset the echarts dependencies to use a custom echarts.min.js file.
144
+
145
+ :param echarts_js_file: path to the custom echarts.min.js file
146
+
147
+ Usage:
148
+ .. code-block:: python
149
+
150
+ from ex4nicegui import reset_echarts_dependencies
151
+ reset_echarts_dependencies("path/to/echarts.min.js")
152
+ """
153
+
154
+ global echarts
155
+
156
+ class _Echarts(echarts, component="ECharts.js", dependencies=[echarts_js_file]):
157
+ pass
158
+
159
+ echarts = _Echarts
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: ex4nicegui
3
- Version: 0.8.9
3
+ Version: 0.8.10
4
4
  Summary: Extension library based on nicegui, providing data responsive,BI functionality modules
5
5
  License: MIT
6
6
  Keywords: nicegui,ex4nicegui,webui
@@ -1,4 +1,4 @@
1
- ex4nicegui/__init__.py,sha256=olowSWbRsHGj1uoL28cZ5697vwXUzgJzusMVFe7adfg,1116
1
+ ex4nicegui/__init__.py,sha256=uLZbmhk7iRVcT61bKRDjOZ00XMwffPaiEjzOpGiqo6U,1236
2
2
  ex4nicegui/bi/__init__.py,sha256=eu-2CuzzrcHCyKQOfoo87v6C9nSwFDdeLhjY0cRV13M,315
3
3
  ex4nicegui/bi/dataSource.py,sha256=hOOUN4PpSfPx4Vp1sg9Sfxi5K-wROw9C22Z-mmNXs6w,7644
4
4
  ex4nicegui/bi/dataSourceFacade.py,sha256=6p4gXxEd8pGHoM8w4h8Ojy-_ZxIUqlJHIdbGwdNdh5U,8248
@@ -76,7 +76,7 @@ ex4nicegui/reactive/deferredTask.py,sha256=g78TTG1EIkBxjPih01xmrCZw9OxQG93veSVSE
76
76
  ex4nicegui/reactive/dropZone/dropZone.js,sha256=7rSpFJX-Fk_W_NGZhOTyuEw0bzR-YUc8ZYPzQG9KzE0,2713
77
77
  ex4nicegui/reactive/dropZone/dropZone.py,sha256=hg9UKTayff8v8Ek-n38h_3wX1Qmiotvdyv1Hsqilh5Y,2590
78
78
  ex4nicegui/reactive/EChartsComponent/ECharts.js,sha256=Dhsfzlio9zO2T3LhK5cI7IdPXHtWhbBXMdlL3uvkU24,4110
79
- ex4nicegui/reactive/EChartsComponent/ECharts.py,sha256=NjJocWIEF4xzvRQVbkTQSaB2fF_GIVf2_QaMKjln9hU,4359
79
+ ex4nicegui/reactive/EChartsComponent/ECharts.py,sha256=AwUvuAMHtzK4iXPG2TqmNUvppkEAlY_axDl9nh1lqTA,4907
80
80
  ex4nicegui/reactive/EChartsComponent/events.py,sha256=ln10cNw5ODiSmdKVi6KBZ6JMR3YIZ6itYZcMgNAlKhA,741
81
81
  ex4nicegui/reactive/EChartsComponent/types.py,sha256=_7AekG0IyzRpDEBZMtKRiZ3o3dUCcn6btegBk8c9Fig,1001
82
82
  ex4nicegui/reactive/EChartsComponent/utils.py,sha256=YqxodbGD_lk_Bp-K8s8XvgqSXRf_CIHmzeubrqFRuVM,1013
@@ -186,7 +186,7 @@ ex4nicegui/utils/scheduler.py,sha256=1gyq7Y2BkbwmPK_Q9kpRpc1MOC9H7xcpxuix-RZhN9k
186
186
  ex4nicegui/utils/signals.py,sha256=rQW96b6WcJxXRrxkbSgf1r29RSt-nY5qW_FGrglydxQ,8155
187
187
  ex4nicegui/utils/types.py,sha256=pE5WOSbcTHxaAhnT24FaZEd1B2Z_lTcsd46w0OKiMyc,359
188
188
  ex4nicegui/version.py,sha256=NE7u1piESstg3xCtf5hhV4iedGs2qJQw9SiC3ZSpiio,90
189
- ex4nicegui-0.8.9.dist-info/LICENSE,sha256=0KDDElS2dl-HIsWvbpy8ywbLzJMBFzXLev57LnMIZXs,1094
190
- ex4nicegui-0.8.9.dist-info/METADATA,sha256=b8fB0tAWF69whkLlRTN_DATRJQnuR6XzZfFn8eE1CDA,46833
191
- ex4nicegui-0.8.9.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
192
- ex4nicegui-0.8.9.dist-info/RECORD,,
189
+ ex4nicegui-0.8.10.dist-info/LICENSE,sha256=0KDDElS2dl-HIsWvbpy8ywbLzJMBFzXLev57LnMIZXs,1094
190
+ ex4nicegui-0.8.10.dist-info/METADATA,sha256=Xu91UiZHZ6gemCwKXGXbPjmjyiypP-LjopE9PhkS7sQ,46834
191
+ ex4nicegui-0.8.10.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
192
+ ex4nicegui-0.8.10.dist-info/RECORD,,