ex4nicegui 0.6.9__py3-none-any.whl → 0.7.1__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/bi/dataSourceFacade.py +20 -20
- ex4nicegui/bi/index.py +20 -23
- ex4nicegui/reactive/EChartsComponent/ECharts.py +9 -8
- ex4nicegui/reactive/__init__.py +14 -0
- ex4nicegui/reactive/base.py +64 -55
- ex4nicegui/reactive/mixins/backgroundColor.py +5 -5
- ex4nicegui/reactive/mixins/disableable.py +8 -8
- ex4nicegui/reactive/mixins/textColor.py +10 -10
- ex4nicegui/reactive/officials/aggrid.py +5 -5
- ex4nicegui/reactive/officials/avatar.py +86 -0
- ex4nicegui/reactive/officials/badge.py +102 -0
- ex4nicegui/reactive/officials/button.py +15 -15
- ex4nicegui/reactive/officials/checkbox.py +6 -7
- ex4nicegui/reactive/officials/chip.py +6 -7
- ex4nicegui/reactive/officials/circular_progress.py +7 -7
- ex4nicegui/reactive/officials/color_picker.py +8 -8
- ex4nicegui/reactive/officials/column.py +5 -5
- ex4nicegui/reactive/officials/date.py +6 -6
- ex4nicegui/reactive/officials/dialog.py +49 -0
- ex4nicegui/reactive/officials/echarts.py +49 -51
- ex4nicegui/reactive/officials/expansion.py +6 -6
- ex4nicegui/reactive/officials/icon.py +7 -13
- ex4nicegui/reactive/officials/image.py +6 -6
- ex4nicegui/reactive/officials/input.py +10 -11
- ex4nicegui/reactive/officials/knob.py +7 -7
- ex4nicegui/reactive/officials/label.py +11 -9
- ex4nicegui/reactive/officials/linear_progress.py +7 -7
- ex4nicegui/reactive/officials/number.py +10 -10
- ex4nicegui/reactive/officials/radio.py +10 -10
- ex4nicegui/reactive/officials/row.py +5 -5
- ex4nicegui/reactive/officials/select.py +11 -10
- ex4nicegui/reactive/officials/slider.py +6 -6
- ex4nicegui/reactive/officials/switch.py +6 -7
- ex4nicegui/reactive/officials/tab.py +0 -12
- ex4nicegui/reactive/officials/tab_panels.py +5 -5
- ex4nicegui/reactive/officials/table.py +13 -13
- ex4nicegui/reactive/officials/tabs.py +5 -5
- ex4nicegui/reactive/officials/textarea.py +6 -6
- ex4nicegui/reactive/officials/toggle.py +88 -0
- ex4nicegui/reactive/officials/tooltip.py +40 -0
- ex4nicegui/reactive/q_pagination.py +5 -5
- ex4nicegui/reactive/systems/reactive_system.py +2 -2
- ex4nicegui/reactive/vfor.js +14 -4
- ex4nicegui/reactive/vfor.py +128 -58
- ex4nicegui/reactive/view_model.py +160 -0
- ex4nicegui/reactive/vmodel.py +42 -12
- ex4nicegui/utils/signals.py +23 -21
- {ex4nicegui-0.6.9.dist-info → ex4nicegui-0.7.1.dist-info}/METADATA +223 -48
- {ex4nicegui-0.6.9.dist-info → ex4nicegui-0.7.1.dist-info}/RECORD +51 -45
- {ex4nicegui-0.6.9.dist-info → ex4nicegui-0.7.1.dist-info}/LICENSE +0 -0
- {ex4nicegui-0.6.9.dist-info → ex4nicegui-0.7.1.dist-info}/WHEEL +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ex4nicegui
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.1
|
|
4
4
|
Summary: Extension library based on nicegui, providing data responsive,BI functionality modules
|
|
5
5
|
Home-page: https://github.com/CrystalWindSnake/ex4nicegui
|
|
6
6
|
License: MIT
|
|
@@ -17,13 +17,17 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
18
|
Requires-Dist: executing (>=2.0.1,<3.0.0)
|
|
19
19
|
Requires-Dist: nicegui (>=1.4.25,<2.0.0)
|
|
20
|
-
Requires-Dist: signe (>=0.4.
|
|
20
|
+
Requires-Dist: signe (>=0.4.20,<0.5.0)
|
|
21
21
|
Project-URL: Repository, https://github.com/CrystalWindSnake/ex4nicegui
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
|
|
24
24
|
# ex4nicegui
|
|
25
|
-
[ENGLISH README](./README.en.md)
|
|
26
25
|
|
|
26
|
+
<div align="center">
|
|
27
|
+
|
|
28
|
+
简体中文| [English](./README.en.md)
|
|
29
|
+
|
|
30
|
+
</div>
|
|
27
31
|
|
|
28
32
|
- [教程](#教程)
|
|
29
33
|
- [安装](#-安装)
|
|
@@ -34,6 +38,10 @@ Description-Content-Type: text/markdown
|
|
|
34
38
|
对 [nicegui](https://github.com/zauberzeug/nicegui) 做的扩展库。内置响应式组件,完全实现数据响应式界面编程。
|
|
35
39
|
|
|
36
40
|
|
|
41
|
+

|
|
42
|
+
|
|
43
|
+
[查看更多示例](https://github.com/CrystalWindSnake/ex4nicegui-examples)
|
|
44
|
+
|
|
37
45
|
## 教程
|
|
38
46
|
[头条文章-秒杀官方实现,python界面库,去掉90%事件代码的nicegui](https://www.toutiao.com/item/7253786340574265860/)
|
|
39
47
|
|
|
@@ -191,6 +199,154 @@ ui.run()
|
|
|
191
199
|
---
|
|
192
200
|
|
|
193
201
|
|
|
202
|
+
|
|
203
|
+
## ViewModel
|
|
204
|
+
在 `v0.7.0` 版本中,引入 `ViewModel` 类,用于管理一组响应式数据。
|
|
205
|
+
|
|
206
|
+
下面是一个简单的计算器示例:
|
|
207
|
+
|
|
208
|
+
1. 当用户修改数值输入框或符号选择框,右侧会自动显示计算结果
|
|
209
|
+
2. 当结果小于 0 时,结果显示为红色,否则为黑色
|
|
210
|
+
|
|
211
|
+
```python
|
|
212
|
+
from ex4nicegui import rxui
|
|
213
|
+
|
|
214
|
+
class Calculator(rxui.ViewModel):
|
|
215
|
+
num1 = rxui.var(0)
|
|
216
|
+
sign = rxui.var("+")
|
|
217
|
+
num2 = rxui.var(0)
|
|
218
|
+
|
|
219
|
+
def result(self):
|
|
220
|
+
# 当 num1,sign,num2 任意一个值发生变化时,result 也会重新计算
|
|
221
|
+
return eval(f"{self.num1.value}{self.sign.value}{self.num2.value}")
|
|
222
|
+
|
|
223
|
+
# 每个对象拥有独立的数据
|
|
224
|
+
calc = Calculator()
|
|
225
|
+
|
|
226
|
+
with ui.row(align_items="center"):
|
|
227
|
+
rxui.number(value=calc.num1, label="Number 1")
|
|
228
|
+
rxui.select(value=calc.sign, options=["+", "-", "*", "/"], label="Sign")
|
|
229
|
+
rxui.number(value=calc.num2, label="Number 2")
|
|
230
|
+
ui.label("=")
|
|
231
|
+
rxui.label(calc.result).bind_color(
|
|
232
|
+
lambda: "red" if calc.result() < 0 else "black"
|
|
233
|
+
)
|
|
234
|
+
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
### cached_var
|
|
238
|
+
|
|
239
|
+
上面的示例中,由于使用了两次 `calc.result` 。因此,每当 `num1`, `sign`, `num2` 任意一个值发生变化时,`result` 都会执行2次。
|
|
240
|
+
|
|
241
|
+
实际上,第二次的计算是多余的。我们可以通过添加 `rxui.cached_var` 装饰器,避免多余的计算。
|
|
242
|
+
|
|
243
|
+
```python
|
|
244
|
+
class Calculator(rxui.ViewModel):
|
|
245
|
+
...
|
|
246
|
+
|
|
247
|
+
@rxui.cached_var
|
|
248
|
+
def result(self):
|
|
249
|
+
return eval(f"{self.num1.value}{self.sign.value}{self.num2.value}")
|
|
250
|
+
|
|
251
|
+
...
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
---
|
|
255
|
+
|
|
256
|
+
### 使用列表
|
|
257
|
+
|
|
258
|
+
当数据为可变对象时,比如列表,字典等,需要提供工厂函数传给 `rxui.var`
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
```python
|
|
262
|
+
class Home(rxui.ViewModel):
|
|
263
|
+
persons= rxui.var(lambda: [])
|
|
264
|
+
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
下面的示例,每个 person 使用卡片展示。最上方显示所有人的平均年龄。当个人年龄大于平均年龄,卡片外边框将变为红色。
|
|
268
|
+
通过 `number` 组件修改年龄,一切都会自动更新。
|
|
269
|
+
|
|
270
|
+
```python
|
|
271
|
+
from ex4nicegui import rxui, Ref
|
|
272
|
+
from itertools import count
|
|
273
|
+
|
|
274
|
+
id_generator = count()
|
|
275
|
+
|
|
276
|
+
class Person(rxui.ViewModel):
|
|
277
|
+
name = rxui.var("")
|
|
278
|
+
age = rxui.var(0)
|
|
279
|
+
|
|
280
|
+
def __init__(self, name: str = "", age: int = 0):
|
|
281
|
+
super().__init__()
|
|
282
|
+
self.name.value = name
|
|
283
|
+
self.age.value = age
|
|
284
|
+
self.id = next(id_generator)
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
class Home(rxui.ViewModel):
|
|
288
|
+
persons: Ref[List[Person]] = rxui.var(lambda: [])
|
|
289
|
+
|
|
290
|
+
def avg_age(self) -> float:
|
|
291
|
+
if len(self.persons.value) == 0:
|
|
292
|
+
return 0
|
|
293
|
+
|
|
294
|
+
return sum(p.age.value for p in self.persons.value) / len(self.persons.value)
|
|
295
|
+
|
|
296
|
+
def sample_data(self):
|
|
297
|
+
self.persons.value = [
|
|
298
|
+
Person("alice", 25),
|
|
299
|
+
Person("bob", 30),
|
|
300
|
+
Person("charlie", 31),
|
|
301
|
+
Person("dave", 22),
|
|
302
|
+
Person("eve", 26),
|
|
303
|
+
Person("frank", 29),
|
|
304
|
+
]
|
|
305
|
+
|
|
306
|
+
home = Home()
|
|
307
|
+
home.sample_data()
|
|
308
|
+
|
|
309
|
+
rxui.label(lambda: f"平均年龄: {home.avg_age()}")
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
with ui.row():
|
|
313
|
+
|
|
314
|
+
@rxui.vfor(home.persons, key="id")
|
|
315
|
+
def _(store: rxui.VforStore[Person]):
|
|
316
|
+
person = store.get_item()
|
|
317
|
+
with rxui.card().classes("outline").bind_classes(
|
|
318
|
+
{
|
|
319
|
+
"outline-red-500": lambda: person.age.value > home.avg_age(),
|
|
320
|
+
}
|
|
321
|
+
):
|
|
322
|
+
rxui.input(value=person.name, placeholder="名字")
|
|
323
|
+
rxui.number(value=person.age, min=1, max=100, step=1, placeholder="年龄")
|
|
324
|
+
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
如果你觉得 `rxui.vfor` 代码过于复杂,可以使用 `effect_refreshable` 装饰器代替。
|
|
328
|
+
|
|
329
|
+
```python
|
|
330
|
+
from ex4nicegui import rxui, Ref,effect_refreshable
|
|
331
|
+
...
|
|
332
|
+
|
|
333
|
+
# 明确指定监控 home.persons 变化,可以避免意味刷新
|
|
334
|
+
@effect_refreshable.on(home.persons)
|
|
335
|
+
def _():
|
|
336
|
+
|
|
337
|
+
for person in home.persons.value:
|
|
338
|
+
...
|
|
339
|
+
rxui.number(value=person.age, min=1, max=100, step=1, placeholder="年龄")
|
|
340
|
+
...
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
需要注意到,每当 `home.persons` 列表变化时(比如新增或删除元素),`effect_refreshable` 装饰的函数都会重新执行。意味着所有元素都会重新创建。
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
更多复杂的应用,可以查看 [examples](./examples)
|
|
347
|
+
|
|
348
|
+
---
|
|
349
|
+
|
|
194
350
|
## 响应式
|
|
195
351
|
|
|
196
352
|
```python
|
|
@@ -331,15 +487,14 @@ ui.button("change", on_click=change_value)
|
|
|
331
487
|
|
|
332
488
|
> `ref_computed` 是只读的 `to_ref`
|
|
333
489
|
|
|
334
|
-
|
|
335
|
-
如果你更喜欢通过类组织代码,`ref_computed` 同样支持作用到实例方法上
|
|
490
|
+
从 `v0.7.0` 版本开始,不建议使用 `ref_computed` 应用实例方法。你可以使用 `rxui.ViewModel`,并使用 `rxui.cached_var` 装饰器
|
|
336
491
|
|
|
337
492
|
```python
|
|
338
|
-
class MyState:
|
|
493
|
+
class MyState(rxui.ViewModel):
|
|
339
494
|
def __init__(self) -> None:
|
|
340
495
|
self.r_text = to_ref("")
|
|
341
496
|
|
|
342
|
-
@
|
|
497
|
+
@rxui.cached_var
|
|
343
498
|
def post_text(self):
|
|
344
499
|
return self.r_text.value + "post"
|
|
345
500
|
|
|
@@ -494,70 +649,90 @@ rxui.input(value=data.value["a"])
|
|
|
494
649
|
rxui.input(value=lambda: data.value["a"])
|
|
495
650
|
|
|
496
651
|
# 要使用 vmodel 才能双向绑定
|
|
497
|
-
rxui.input(value=rxui.vmodel(data
|
|
652
|
+
rxui.input(value=rxui.vmodel(data, "a"))
|
|
653
|
+
|
|
654
|
+
# 也可以直接使用,但不推荐
|
|
655
|
+
rxui.input(value=rxui.vmodel(data.value['a']))
|
|
656
|
+
|
|
498
657
|
```
|
|
499
658
|
|
|
500
|
-
-
|
|
659
|
+
- 第一个输入框将完全失去响应性,因为代码等价于 `rxui.input(value=1)`
|
|
501
660
|
- 第二个输入框由于使用函数,将得到读取响应性(第三个输入框输入值,将得到同步)
|
|
502
661
|
- 第三个输入框,使用 `rxui.vmodel` 包裹,即可实现双向绑定
|
|
503
662
|
|
|
504
|
-
|
|
663
|
+
> 如果使用 `rxui.ViewModel` ,你可能不需要使用 `vmodel`
|
|
505
664
|
|
|
665
|
+
可参考 [todo list 案例](./examples/todomvc/)
|
|
666
|
+
|
|
667
|
+
---
|
|
506
668
|
|
|
507
669
|
### vfor
|
|
508
|
-
|
|
670
|
+
基于列表响应式数据,渲染列表组件。每项组件按需更新。数据项支持字典或任意类型对象。
|
|
671
|
+
|
|
672
|
+
从 `v0.7.0` 版本开始,建议配合 `rxui.ViewModel` 使用。与使用 `effect_refreshable` 装饰器不同,`vfor` 不会重新创建所有的元素,而是更新已存在的元素。
|
|
673
|
+
|
|
674
|
+
下面是卡片排序例子,卡片总是按年龄排序。当你修改某个卡片中的年龄数据时,卡片会实时调整顺序。但是,光标焦点不会离开输入框。
|
|
675
|
+
|
|
509
676
|
|
|
510
677
|
```python
|
|
678
|
+
from typing import List
|
|
511
679
|
from nicegui import ui
|
|
512
|
-
from ex4nicegui
|
|
513
|
-
from ex4nicegui import deep_ref, ref_computed
|
|
514
|
-
from typing import Dict
|
|
515
|
-
|
|
516
|
-
# refs
|
|
517
|
-
items = deep_ref(
|
|
518
|
-
[
|
|
519
|
-
{"id": 1, "message": "foo", "done": False},
|
|
520
|
-
{"id": 2, "message": "bar", "done": True},
|
|
521
|
-
]
|
|
522
|
-
)
|
|
680
|
+
from ex4nicegui import rxui, deep_ref as ref, Ref
|
|
523
681
|
|
|
524
|
-
# ref_computeds
|
|
525
|
-
@ref_computed
|
|
526
|
-
def done_count_info():
|
|
527
|
-
return f"done count:{sum(item['done'] for item in items.value)}"
|
|
528
682
|
|
|
529
|
-
|
|
530
|
-
def
|
|
531
|
-
|
|
532
|
-
|
|
683
|
+
class Person(rxui.ViewModel):
|
|
684
|
+
def __init__(self, name: str, age: int) -> None:
|
|
685
|
+
self.name = name
|
|
686
|
+
self.age = ref(age)
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
class MyApp(rxui.ViewModel):
|
|
690
|
+
persons: Ref[List[Person]] = rxui.var(lambda: [])
|
|
691
|
+
order = rxui.var("asc")
|
|
692
|
+
|
|
693
|
+
def sort_by_age(self):
|
|
694
|
+
return sorted(
|
|
695
|
+
self.persons.value,
|
|
696
|
+
key=lambda p: p.age.value,
|
|
697
|
+
reverse=self.order.value == "desc",
|
|
698
|
+
)
|
|
699
|
+
|
|
700
|
+
@staticmethod
|
|
701
|
+
def create():
|
|
702
|
+
persons = [
|
|
703
|
+
Person(name="Alice", age=25),
|
|
704
|
+
Person(name="Bob", age=30),
|
|
705
|
+
Person(name="Charlie", age=20),
|
|
706
|
+
Person(name="Dave", age=35),
|
|
707
|
+
Person(name="Eve", age=28),
|
|
708
|
+
]
|
|
709
|
+
app = MyApp()
|
|
710
|
+
app.persons.value = persons
|
|
711
|
+
return app
|
|
533
712
|
|
|
534
713
|
|
|
535
714
|
# ui
|
|
536
|
-
|
|
537
|
-
ui.button("check", on_click=check)
|
|
715
|
+
app = MyApp.create()
|
|
538
716
|
|
|
717
|
+
with rxui.tabs(app.order):
|
|
718
|
+
rxui.tab("asc", "Ascending")
|
|
719
|
+
rxui.tab("desc", "Descending")
|
|
539
720
|
|
|
540
|
-
@rxui.vfor(items,key='id')
|
|
541
|
-
def _(store: rxui.VforStore[Dict]):
|
|
542
|
-
# 函数中构建每一行数据的界面
|
|
543
|
-
item = store.get() # 通过 store.get 获取对应行的响应式对象(相当于每行的数据 to_ref(...))
|
|
544
|
-
mes = rxui.vmodel(item.value['message']) # 复杂结构默认没有双向绑定,需要使用 `vmodel`
|
|
545
721
|
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
rxui.
|
|
722
|
+
@rxui.vfor(app.sort_by_age, key="name")
|
|
723
|
+
def each_person(s: rxui.VforStore[Person]):
|
|
724
|
+
person = s.get_item()
|
|
725
|
+
|
|
726
|
+
with ui.card(), ui.row(align_items="center"):
|
|
727
|
+
rxui.label(person.name)
|
|
728
|
+
rxui.number(value=person.age, step=1, min=0, max=100)
|
|
552
729
|
|
|
553
730
|
```
|
|
554
731
|
|
|
555
732
|
- `rxui.vfor` 装饰器到自定义函数
|
|
556
|
-
-
|
|
557
|
-
- 第二个参数 `key`: 为了可以跟踪每个节点的标识,从而重用和重新排序现有的元素,你可以为每个元素对应的块提供一个唯一的 key
|
|
558
|
-
- 自定义函数带有一个参数。通过 `store.
|
|
559
|
-
|
|
560
|
-
> vfor 渲染的项目,只有在新增数据时,才会创建
|
|
733
|
+
- 第一个参数传入响应式列表。注意,无须调用 `app.sort_by_age`
|
|
734
|
+
- 第二个参数 `key`: 为了可以跟踪每个节点的标识,从而重用和重新排序现有的元素,你可以为每个元素对应的块提供一个唯一的 key 。默认情况使用列表元素索引。例子中假定每个人的名字唯一。
|
|
735
|
+
- 自定义函数带有一个参数。通过 `store.get_item` 可以获取当前行的对象。由于 Person 本身继承自 `rxui.ViewModel`,所以它的各项属性可以直接绑定到组件。
|
|
561
736
|
|
|
562
737
|
|
|
563
738
|
---
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
ex4nicegui/__init__.py,sha256=olowSWbRsHGj1uoL28cZ5697vwXUzgJzusMVFe7adfg,1116
|
|
2
2
|
ex4nicegui/bi/__init__.py,sha256=eu-2CuzzrcHCyKQOfoo87v6C9nSwFDdeLhjY0cRV13M,315
|
|
3
3
|
ex4nicegui/bi/dataSource.py,sha256=hOOUN4PpSfPx4Vp1sg9Sfxi5K-wROw9C22Z-mmNXs6w,7644
|
|
4
|
-
ex4nicegui/bi/dataSourceFacade.py,sha256=
|
|
4
|
+
ex4nicegui/bi/dataSourceFacade.py,sha256=6p4gXxEd8pGHoM8w4h8Ojy-_ZxIUqlJHIdbGwdNdh5U,8248
|
|
5
5
|
ex4nicegui/bi/elements/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
ex4nicegui/bi/elements/containers.py,sha256=5a9ZkzyVNLnK7DftDYdbVRo0bQFvuMHRI9LBGR__YuI,358
|
|
7
7
|
ex4nicegui/bi/elements/layouts.py,sha256=teb0Vp-fgsByBNPTiW73kXEu2JponRRj4QQanaalcA0,898
|
|
@@ -16,7 +16,7 @@ ex4nicegui/bi/elements/ui_range.py,sha256=1tnka-a0jVfqTwvypKIRgHb6EzYGn3DmsWr3yv
|
|
|
16
16
|
ex4nicegui/bi/elements/ui_select.py,sha256=yOab3YrHCZ5kkU3bmDdr-LIAMhOunUsCbtctR8WpnLI,3872
|
|
17
17
|
ex4nicegui/bi/elements/ui_slider.py,sha256=-b1k3i1v8Z9WIwRaI0PJoYxR3Nbq1GUEyjmQnq9jIeo,2165
|
|
18
18
|
ex4nicegui/bi/elements/ui_table.py,sha256=aKL26xbiCIQG_-KFEozXjbB4G88FdOK25k2H0k24bys,1810
|
|
19
|
-
ex4nicegui/bi/index.py,sha256=
|
|
19
|
+
ex4nicegui/bi/index.py,sha256=orzOh-5AN4gq2xsqaLs711pjrueUA9YJd4alQGloCP0,2121
|
|
20
20
|
ex4nicegui/bi/protocols.py,sha256=SjwYrS21L6dcNfYrLvh5pESya0NIa6ihQ6URMU6z-6Q,4529
|
|
21
21
|
ex4nicegui/bi/types.py,sha256=PGPUXr17iRmxxYHxHKJSdxp5CdAkHWb2_9nJ1GwYRlc,355
|
|
22
22
|
ex4nicegui/experimental_/__init__.py,sha256=HODL0f70HUzVrfRwUzdCwxTp_9mYr4D1nnzd8jevlMw,69
|
|
@@ -70,13 +70,13 @@ ex4nicegui/libs/gsap/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
|
|
|
70
70
|
ex4nicegui/libs/gsap/utils/matrix.js,sha256=77scrxbQZXx4ex5HkvnT9IkhMG1rQoDNp4TSYgUeYVk,15235
|
|
71
71
|
ex4nicegui/libs/gsap/utils/paths.js,sha256=2SPaRHQ7zgba9cH8hGhkTYPCZdrrEhE2qhh6ECAEvSA,49314
|
|
72
72
|
ex4nicegui/libs/gsap/utils/strings.js,sha256=47G9slz5ltG9mDSwrfQDtWzzdV5QJ-AIMLRMNK0VSiM,10472
|
|
73
|
-
ex4nicegui/reactive/__init__.py,sha256=
|
|
74
|
-
ex4nicegui/reactive/base.py,sha256=
|
|
73
|
+
ex4nicegui/reactive/__init__.py,sha256=nBMnascxWCEfozKNx8DyXGVGE8e3B0dMrv999g8Qvd4,4347
|
|
74
|
+
ex4nicegui/reactive/base.py,sha256=iqkGcy7BCfZOoMGaq74EYjdI6S44EGzagqIo2sUKGGw,14043
|
|
75
75
|
ex4nicegui/reactive/deferredTask.py,sha256=g78TTG1EIkBxjPih01xmrCZw9OxQG93veSVSELWKfcU,987
|
|
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=ye2FZNLfY4T41YAGQQYqn3LThSlnbY0pqnGtpyEg9bE,3548
|
|
79
|
-
ex4nicegui/reactive/EChartsComponent/ECharts.py,sha256=
|
|
79
|
+
ex4nicegui/reactive/EChartsComponent/ECharts.py,sha256=Qa1kzClEwjJo9yJy-fer75PoZxwnf6jSwFJSuYoODAA,4463
|
|
80
80
|
ex4nicegui/reactive/EChartsComponent/events.py,sha256=_BtmLRcAIZciDQT5i1eFc-r3e0pBnAabW1BSl6uzhCc,570
|
|
81
81
|
ex4nicegui/reactive/EChartsComponent/types.py,sha256=_7AekG0IyzRpDEBZMtKRiZ3o3dUCcn6btegBk8c9Fig,1001
|
|
82
82
|
ex4nicegui/reactive/EChartsComponent/utils.py,sha256=a5r2fghC6IIZbyfUUR8TEkpLj9HPbcf8QHEBatXaL2M,1463
|
|
@@ -86,46 +86,51 @@ ex4nicegui/reactive/fileWatcher.py,sha256=gjeZhgar02f-qGQa47Tj5SMaCP_ftRtSU898XU
|
|
|
86
86
|
ex4nicegui/reactive/local_file_picker.py,sha256=MoInXSauFdCuhYi_CmNKZwxAtsOqXh8roWWdqNwjPBY,6199
|
|
87
87
|
ex4nicegui/reactive/mermaid/mermaid.js,sha256=Ds5VevGWZE1_N0WKf-uITd8xSCO9gQzVUsmb80EajNY,2308
|
|
88
88
|
ex4nicegui/reactive/mermaid/mermaid.py,sha256=uP321QiNj_S5E5I2KF9h03WlSFdRITE8tvObGdk6m7M,2144
|
|
89
|
-
ex4nicegui/reactive/mixins/backgroundColor.py,sha256=
|
|
90
|
-
ex4nicegui/reactive/mixins/disableable.py,sha256=
|
|
91
|
-
ex4nicegui/reactive/mixins/textColor.py,sha256=
|
|
92
|
-
ex4nicegui/reactive/officials/aggrid.py,sha256=
|
|
89
|
+
ex4nicegui/reactive/mixins/backgroundColor.py,sha256=ReW-clrdjqYLVXjrx8lo9h3JAvXPXpOJDl3b6GuBovA,1135
|
|
90
|
+
ex4nicegui/reactive/mixins/disableable.py,sha256=bqhhU5XTT3E60-I0dr_mT0Gk9uX5-aKouAsu6MwCeV0,1133
|
|
91
|
+
ex4nicegui/reactive/mixins/textColor.py,sha256=_OsiuybNyNX1qNdk-9DwhcdovtvvNCDKA_UsmDrejeU,1823
|
|
92
|
+
ex4nicegui/reactive/officials/aggrid.py,sha256=GWxDfTzhcnlyzPhLzBI5ay6RtPcE2zOCMwZhMX5WBck,2973
|
|
93
|
+
ex4nicegui/reactive/officials/avatar.py,sha256=bAZ73B4wQWchGVFblc7r1QItrml9_VIwKQT-Lqtx1eA,3323
|
|
94
|
+
ex4nicegui/reactive/officials/badge.py,sha256=0OFKCfjdoZZf2v-MwZPLC5C-2TU4-dCACGOwAZlQDdg,3212
|
|
93
95
|
ex4nicegui/reactive/officials/base.py,sha256=SVJz0UYPvlpSHN193X-EFCNT-lAP2LYEo8HJBQ0i8Tg,153
|
|
94
|
-
ex4nicegui/reactive/officials/button.py,sha256=
|
|
96
|
+
ex4nicegui/reactive/officials/button.py,sha256=C1x-gwCKH6VWk0QqY2pUebAsaLLkMBx8GInk9KZg1K0,2666
|
|
95
97
|
ex4nicegui/reactive/officials/card.py,sha256=8-tBwm3xfVybolQ87i8lAYUpBV6FdaVdeSH6xu0736U,1275
|
|
96
|
-
ex4nicegui/reactive/officials/checkbox.py,sha256=
|
|
97
|
-
ex4nicegui/reactive/officials/chip.py,sha256=
|
|
98
|
-
ex4nicegui/reactive/officials/circular_progress.py,sha256=
|
|
99
|
-
ex4nicegui/reactive/officials/color_picker.py,sha256=
|
|
100
|
-
ex4nicegui/reactive/officials/column.py,sha256=
|
|
101
|
-
ex4nicegui/reactive/officials/date.py,sha256
|
|
98
|
+
ex4nicegui/reactive/officials/checkbox.py,sha256=EXxB79vTyFeJgrtGZ7sm-bj1gd3vwMZ5vUVfCG-IPKo,1535
|
|
99
|
+
ex4nicegui/reactive/officials/chip.py,sha256=3w3xI5-97nzPvNggO17MFXXlfokhJDWD3YdsrNC4o54,3154
|
|
100
|
+
ex4nicegui/reactive/officials/circular_progress.py,sha256=9obEbKzFGCx5yzGQ5-cKNr4mUq7T3uZXUqXiukW2no4,1968
|
|
101
|
+
ex4nicegui/reactive/officials/color_picker.py,sha256=RfGDHS3eW9aXF33Xip9VQxVHckAiVtlCtjyC6Ulh-QU,3423
|
|
102
|
+
ex4nicegui/reactive/officials/column.py,sha256=RwmjQBTRN4x1vfm-ylfR1r1GjmsLY-3rNf1SqyMLjKI,1104
|
|
103
|
+
ex4nicegui/reactive/officials/date.py,sha256=-A-AOhiAoSXIygo6WOVM4_Jt5ksrnvtmSJZCFcJIgYk,2520
|
|
104
|
+
ex4nicegui/reactive/officials/dialog.py,sha256=weF06DNFmoTK62tmxS7f4IhT6QHezU2YBznro_EIw4k,1385
|
|
102
105
|
ex4nicegui/reactive/officials/drawer.py,sha256=_Ro6stOh8U3igYMeDwI4omBgi1nld5berrAk9Dv5RVw,2346
|
|
103
|
-
ex4nicegui/reactive/officials/echarts.py,sha256=
|
|
106
|
+
ex4nicegui/reactive/officials/echarts.py,sha256=2CV0Yed57ItVXdQ7gcHIbq5yceoVmgnoipJ-RpIsgnA,10235
|
|
104
107
|
ex4nicegui/reactive/officials/element.py,sha256=-qsHcxfF3fMfU0sJlKtTksX_wYPMIPJ_AgFcZbbI754,412
|
|
105
|
-
ex4nicegui/reactive/officials/expansion.py,sha256=
|
|
108
|
+
ex4nicegui/reactive/officials/expansion.py,sha256=ARQTsDkUQ-xZgCPgwGCRXqjpXhGzmJQgk95yYGKg6DU,1903
|
|
106
109
|
ex4nicegui/reactive/officials/grid.py,sha256=Bq83jejsxQSYVc9O1IE6JUgUndUm1uexb4fq9EZWjHQ,921
|
|
107
110
|
ex4nicegui/reactive/officials/html.js,sha256=lyvRAdMKZGOc7MPEapeU6WbOzq_MVzqzUJEhKuC8zWc,119
|
|
108
111
|
ex4nicegui/reactive/officials/html.py,sha256=XrOpGoAJDo8dtTnZVLSmi7H5iHffmYpeZ94lXxHjBwI,629
|
|
109
|
-
ex4nicegui/reactive/officials/icon.py,sha256=
|
|
110
|
-
ex4nicegui/reactive/officials/image.py,sha256=
|
|
111
|
-
ex4nicegui/reactive/officials/input.py,sha256=
|
|
112
|
-
ex4nicegui/reactive/officials/knob.py,sha256=
|
|
113
|
-
ex4nicegui/reactive/officials/label.py,sha256=
|
|
114
|
-
ex4nicegui/reactive/officials/linear_progress.py,sha256=
|
|
115
|
-
ex4nicegui/reactive/officials/number.py,sha256=
|
|
116
|
-
ex4nicegui/reactive/officials/radio.py,sha256=
|
|
117
|
-
ex4nicegui/reactive/officials/row.py,sha256=
|
|
118
|
-
ex4nicegui/reactive/officials/select.py,sha256=
|
|
119
|
-
ex4nicegui/reactive/officials/slider.py,sha256=
|
|
120
|
-
ex4nicegui/reactive/officials/switch.py,sha256=
|
|
121
|
-
ex4nicegui/reactive/officials/tab.py,sha256=
|
|
112
|
+
ex4nicegui/reactive/officials/icon.py,sha256=Um1yS681pcbsZ4o7GU_2w1NCfwFVXNu1a4asB2hzYUg,1374
|
|
113
|
+
ex4nicegui/reactive/officials/image.py,sha256=ySu2gqVQIuLMUTItcp233Iqnx86P0q0MU8EVq07yuMk,1141
|
|
114
|
+
ex4nicegui/reactive/officials/input.py,sha256=zQ4LaN15AuQvqTOpv5L186zu3lsMJpwLJ25HWMYaIck,4030
|
|
115
|
+
ex4nicegui/reactive/officials/knob.py,sha256=Y2CtMvo0W_zZCqqjx_w1pyfCG9ZHBTLEVbUQpeEZ43U,2325
|
|
116
|
+
ex4nicegui/reactive/officials/label.py,sha256=kCair4NpFB7bvsPukMFcDBqDXk2BxOLzBQXSNx5EWuw,1428
|
|
117
|
+
ex4nicegui/reactive/officials/linear_progress.py,sha256=SthaOJJuJF4LbIlzTvUJRWziOJtIFMyhdjCWmPGcn2U,2117
|
|
118
|
+
ex4nicegui/reactive/officials/number.py,sha256=8Lk1yrbPskJathnlo7J_KssJSHZXYH9Pe4GMfbk4gzo,2783
|
|
119
|
+
ex4nicegui/reactive/officials/radio.py,sha256=9vQf__Uz-ED9yPZj2MLhsQKbHD_PNlm4DvPl-Xi8xV8,1974
|
|
120
|
+
ex4nicegui/reactive/officials/row.py,sha256=GBz0VW34rOqvGgsA0vA_93WSa2i1F9Lt7jf2UrRevDs,1044
|
|
121
|
+
ex4nicegui/reactive/officials/select.py,sha256=zA9OG6Sll0g6yC15-YtOO5mGioua60yQIQvb2TfgSKM,3053
|
|
122
|
+
ex4nicegui/reactive/officials/slider.py,sha256=ru_7bEi-HrdQrrevC7AGyeiI_45kFPhMgNJgjwIsbj4,2976
|
|
123
|
+
ex4nicegui/reactive/officials/switch.py,sha256=TpGotdstKmOVpuCwngtV_KcB401nw7o5oarVnqgX6n4,1543
|
|
124
|
+
ex4nicegui/reactive/officials/tab.py,sha256=nyB7Ksc_tWG-RaAXiu3TTIJvkNeSa9AZdwHXuL2SsOE,1433
|
|
122
125
|
ex4nicegui/reactive/officials/tab_panel.py,sha256=Y05XTIOE6qXYZjcCoVIPm9lruyR7av58McRLmPc2yxg,650
|
|
123
|
-
ex4nicegui/reactive/officials/tab_panels.py,sha256=
|
|
124
|
-
ex4nicegui/reactive/officials/table.py,sha256=
|
|
125
|
-
ex4nicegui/reactive/officials/tabs.py,sha256=
|
|
126
|
-
ex4nicegui/reactive/officials/textarea.py,sha256=
|
|
126
|
+
ex4nicegui/reactive/officials/tab_panels.py,sha256=YSe346Pa_BWPvYbJrxB4Mzc7c6IGcip6oc7LcSg2vbk,6044
|
|
127
|
+
ex4nicegui/reactive/officials/table.py,sha256=B_nX19UxwyxGKsxLuu2x4UNwxsapjTBw70RMBWDI8w0,6206
|
|
128
|
+
ex4nicegui/reactive/officials/tabs.py,sha256=1aLFnpKgBJMBE-e842Uldq80XOCVvdoH1uUeN1OUmWI,1296
|
|
129
|
+
ex4nicegui/reactive/officials/textarea.py,sha256=3sRrTL7BMcQg9QfsxvvVChVYIj_klRk8Lh0Sppp7pCg,3048
|
|
130
|
+
ex4nicegui/reactive/officials/toggle.py,sha256=H0NLosMcKbTkH94yV4h4b_WOuCStZpOJMlkYgOqpyYY,2663
|
|
131
|
+
ex4nicegui/reactive/officials/tooltip.py,sha256=lkDOf5Z6vpDsO9Y-nsRRwdhmYVFb9YrWv7lQUNY4_Ho,1136
|
|
127
132
|
ex4nicegui/reactive/officials/upload.py,sha256=5SX2CFkf3s_4bPcnx0bmKRA4eYVlm0S8RBeQ7qHnqck,2395
|
|
128
|
-
ex4nicegui/reactive/q_pagination.py,sha256=
|
|
133
|
+
ex4nicegui/reactive/q_pagination.py,sha256=nUszZ4fvCf4leQ1DpS70laCDf40RprbOex7SISbAEek,1555
|
|
129
134
|
ex4nicegui/reactive/rxui.py,sha256=gZ8ZEjGuJFKcedEZhcm4PIZguNkY-Wv5yQx80QnsBKI,31
|
|
130
135
|
ex4nicegui/reactive/scopedStyle.js,sha256=RtpfUwkpjMv_cbplkr2UtydKAxB5Dz7Sm6jRgPHRhow,1569
|
|
131
136
|
ex4nicegui/reactive/scopedStyle.py,sha256=aYP4sIFzAmPaLyZV8m9jqyuGmOcJnC-5s07UQnoNSag,738
|
|
@@ -133,7 +138,7 @@ ex4nicegui/reactive/services/pandas_service.py,sha256=XOoy6tZr4TpTyhewAH59eiSwVF
|
|
|
133
138
|
ex4nicegui/reactive/services/reactive_service.py,sha256=cgw7Qirc70avsgvGuMT4RCT_mFouJb1-KR3dWOgucX8,2742
|
|
134
139
|
ex4nicegui/reactive/systems/color_system.py,sha256=qXRTczxfILduHAVlNJqLSed-0x-LN6TyBSegYwW9vfk,4352
|
|
135
140
|
ex4nicegui/reactive/systems/object_system.py,sha256=bja9YNb4v5fVZl5gJvVA4HbwRssRp-2yFy3JBzNeKxA,752
|
|
136
|
-
ex4nicegui/reactive/systems/reactive_system.py,sha256=
|
|
141
|
+
ex4nicegui/reactive/systems/reactive_system.py,sha256=wyCSPdGuH1jOOkb2mXWRYVpdebjSm0qi9fuiVAkw5tA,701
|
|
137
142
|
ex4nicegui/reactive/transitionGroup.js,sha256=rbfNU3Jrz9WFDQih3BgZOgC1MBr6j9cODZ9XggMAaTs,898
|
|
138
143
|
ex4nicegui/reactive/transitionGroup.py,sha256=VWyYL3QUfX6YQXuxwBFF4sJ4P5VP1S-bCjLKUr28KEY,597
|
|
139
144
|
ex4nicegui/reactive/UseDraggable/UseDraggable.js,sha256=xZm_g_L2lamxAjiAeGPDR0CNmjlvgzuiJ6gH77pNrg4,5473
|
|
@@ -141,9 +146,10 @@ ex4nicegui/reactive/UseDraggable/UseDraggable.py,sha256=Zh6NfQPSf3nMvCL8wDA4tjhy
|
|
|
141
146
|
ex4nicegui/reactive/useMouse/UseMouse.js,sha256=6FjcYozJK5zFwK1kBP8JlfMyTUwKVK3k_0wSdhapaZs,2722
|
|
142
147
|
ex4nicegui/reactive/useMouse/UseMouse.py,sha256=cFNlso7_BneyAfGmWbl-N9vQwGleV2ArsqdRBv_yS6Y,2126
|
|
143
148
|
ex4nicegui/reactive/usePagination.py,sha256=8YLqcZ_ecuX0FdQ0ct-XdEFfMAVkubAS_K02YOhg5oo,2584
|
|
144
|
-
ex4nicegui/reactive/vfor.js,sha256=
|
|
145
|
-
ex4nicegui/reactive/vfor.py,sha256=
|
|
146
|
-
ex4nicegui/reactive/
|
|
149
|
+
ex4nicegui/reactive/vfor.js,sha256=sCy3KR5Aeyx68yh9VI6I9Vj7bnVuir_LUYKZBe_ePTg,908
|
|
150
|
+
ex4nicegui/reactive/vfor.py,sha256=5gu6a1k0qFP_0M4xEUpZZJgLFogDTAhQORaym42EiEg,7817
|
|
151
|
+
ex4nicegui/reactive/view_model.py,sha256=i1tyoqzX-6aCWMEfyjVgKEodtvaVHGKfwixRSf5Coos,4391
|
|
152
|
+
ex4nicegui/reactive/vmodel.py,sha256=ymrUpC_68jaHF76ivKmgz-C4Xl6i65c_41uMc0ffEhY,5936
|
|
147
153
|
ex4nicegui/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
148
154
|
ex4nicegui/tools/debug.py,sha256=h9iYHxw7jWWvmiExSpGi2hQl1PfhPZgC2KNS_GTuHSw,4868
|
|
149
155
|
ex4nicegui/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -155,10 +161,10 @@ ex4nicegui/utils/effect.py,sha256=LTtPTxx8-sP4VtZaFQjERB-ef3L2y5hu95GvTdj-nLo,24
|
|
|
155
161
|
ex4nicegui/utils/refComputed.py,sha256=Vb7fyi0wNieFeLfCjXl6wSzpws3i6_aeCka1s9dsc8E,4232
|
|
156
162
|
ex4nicegui/utils/refWrapper.py,sha256=gX5sdfC1P4UXmMYM6FwdImfLD39y02kq7Af6dIMDrZ8,1472
|
|
157
163
|
ex4nicegui/utils/scheduler.py,sha256=1gyq7Y2BkbwmPK_Q9kpRpc1MOC9H7xcpxuix-RZhN9k,1787
|
|
158
|
-
ex4nicegui/utils/signals.py,sha256=
|
|
164
|
+
ex4nicegui/utils/signals.py,sha256=Q2aaYct1U1DAW4neLiq1_iUdBGiPLNxpXQcuW1KiaDg,7106
|
|
159
165
|
ex4nicegui/utils/types.py,sha256=pE5WOSbcTHxaAhnT24FaZEd1B2Z_lTcsd46w0OKiMyc,359
|
|
160
166
|
ex4nicegui/version.py,sha256=NE7u1piESstg3xCtf5hhV4iedGs2qJQw9SiC3ZSpiio,90
|
|
161
|
-
ex4nicegui-0.
|
|
162
|
-
ex4nicegui-0.
|
|
163
|
-
ex4nicegui-0.
|
|
164
|
-
ex4nicegui-0.
|
|
167
|
+
ex4nicegui-0.7.1.dist-info/LICENSE,sha256=0KDDElS2dl-HIsWvbpy8ywbLzJMBFzXLev57LnMIZXs,1094
|
|
168
|
+
ex4nicegui-0.7.1.dist-info/METADATA,sha256=8Z8DoS3ZEBcB5R1vn5-aEHNTqmNEkjwyihqPlwXyxj0,35072
|
|
169
|
+
ex4nicegui-0.7.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
170
|
+
ex4nicegui-0.7.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|