ex4nicegui 0.6.8__py3-none-any.whl → 0.7.0__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 +2 -0
- ex4nicegui/bi/dataSourceFacade.py +20 -20
- ex4nicegui/bi/index.py +20 -23
- ex4nicegui/helper/client_instance_locker.py +4 -4
- ex4nicegui/reactive/EChartsComponent/ECharts.py +9 -8
- ex4nicegui/reactive/__init__.py +12 -0
- ex4nicegui/reactive/base.py +433 -0
- ex4nicegui/reactive/deferredTask.py +3 -2
- ex4nicegui/reactive/mixins/backgroundColor.py +41 -0
- ex4nicegui/reactive/mixins/disableable.py +44 -0
- ex4nicegui/reactive/mixins/textColor.py +66 -0
- ex4nicegui/reactive/officials/aggrid.py +5 -5
- ex4nicegui/reactive/officials/base.py +4 -453
- ex4nicegui/reactive/officials/button.py +43 -10
- ex4nicegui/reactive/officials/checkbox.py +5 -5
- ex4nicegui/reactive/officials/chip.py +102 -0
- ex4nicegui/reactive/officials/circular_progress.py +9 -7
- ex4nicegui/reactive/officials/color_picker.py +7 -7
- ex4nicegui/reactive/officials/column.py +5 -5
- ex4nicegui/reactive/officials/date.py +5 -5
- ex4nicegui/reactive/officials/dialog.py +49 -0
- ex4nicegui/reactive/officials/echarts.py +49 -51
- ex4nicegui/reactive/officials/expansion.py +5 -5
- ex4nicegui/reactive/officials/grid.py +3 -2
- ex4nicegui/reactive/officials/icon.py +8 -11
- ex4nicegui/reactive/officials/image.py +5 -5
- ex4nicegui/reactive/officials/input.py +8 -8
- ex4nicegui/reactive/officials/knob.py +9 -5
- ex4nicegui/reactive/officials/label.py +8 -15
- ex4nicegui/reactive/officials/linear_progress.py +8 -11
- ex4nicegui/reactive/officials/number.py +9 -9
- ex4nicegui/reactive/officials/radio.py +8 -8
- ex4nicegui/reactive/officials/row.py +5 -5
- ex4nicegui/reactive/officials/select.py +9 -8
- ex4nicegui/reactive/officials/slider.py +6 -6
- ex4nicegui/reactive/officials/switch.py +5 -5
- ex4nicegui/reactive/officials/tab.py +0 -12
- ex4nicegui/reactive/officials/tab_panels.py +113 -7
- ex4nicegui/reactive/officials/table.py +13 -13
- ex4nicegui/reactive/officials/tabs.py +5 -5
- ex4nicegui/reactive/officials/textarea.py +5 -5
- ex4nicegui/reactive/officials/tooltip.py +40 -0
- ex4nicegui/reactive/q_pagination.py +5 -5
- ex4nicegui/reactive/scopedStyle.py +4 -1
- ex4nicegui/reactive/systems/color_system.py +132 -0
- 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/apiEffect.py +5 -1
- ex4nicegui/utils/effect.py +3 -2
- ex4nicegui/utils/scheduler.py +20 -4
- ex4nicegui/utils/signals.py +23 -21
- {ex4nicegui-0.6.8.dist-info → ex4nicegui-0.7.0.dist-info}/METADATA +247 -48
- {ex4nicegui-0.6.8.dist-info → ex4nicegui-0.7.0.dist-info}/RECORD +57 -50
- ex4nicegui/reactive/services/color_service.py +0 -56
- {ex4nicegui-0.6.8.dist-info → ex4nicegui-0.7.0.dist-info}/LICENSE +0 -0
- {ex4nicegui-0.6.8.dist-info → ex4nicegui-0.7.0.dist-info}/WHEEL +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
ex4nicegui/__init__.py,sha256=
|
|
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
|
|
@@ -28,7 +28,7 @@ ex4nicegui/gsap/timeline.js,sha256=CB300drH7UUSfy_WDeuWHSNh3WX-vwbRtKBLL1Ak43o,1
|
|
|
28
28
|
ex4nicegui/gsap/timeline.py,sha256=EfJ3Iom3EbJMML8PnRDAO_nn58j2bone3uWrd3UubeU,2390
|
|
29
29
|
ex4nicegui/gsap/wrapGsap.js,sha256=0Iz7qh8aA-h3svV7fW4U5k_pX7zXCcIdHDaG7NNvgLU,1045
|
|
30
30
|
ex4nicegui/helper/__init__.py,sha256=a-9skUII1iofsWU8xlieQrmeKYb9PjVsqF5TTO34wn8,98
|
|
31
|
-
ex4nicegui/helper/client_instance_locker.py,sha256=
|
|
31
|
+
ex4nicegui/helper/client_instance_locker.py,sha256=d-T5M0SFM8zOcr1paTn6gN5MVciGToL-fri4vJ7iY08,1027
|
|
32
32
|
ex4nicegui/layout/__init__.py,sha256=YT76Ec7p4aFOGms6wc19207flBeyI6jrq7Kg_FQ2wnQ,278
|
|
33
33
|
ex4nicegui/layout/gridFlex/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
34
34
|
ex4nicegui/layout/gridFlex/GridFlex.js,sha256=ljkxGFucBUIPksMAT5w_35sxGogC7OzxzXnOw21Z3_k,4468
|
|
@@ -70,12 +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/
|
|
73
|
+
ex4nicegui/reactive/__init__.py,sha256=Wokz5KhIb_E-v-TtdyVpZDpMyFE-QiCU-NlPOEVGKxQ,4132
|
|
74
|
+
ex4nicegui/reactive/base.py,sha256=vNZyM18wwXuzUAEsoJZq1F9ogAHO9sPUbNMxshThJ4I,13907
|
|
75
|
+
ex4nicegui/reactive/deferredTask.py,sha256=g78TTG1EIkBxjPih01xmrCZw9OxQG93veSVSELWKfcU,987
|
|
75
76
|
ex4nicegui/reactive/dropZone/dropZone.js,sha256=7rSpFJX-Fk_W_NGZhOTyuEw0bzR-YUc8ZYPzQG9KzE0,2713
|
|
76
77
|
ex4nicegui/reactive/dropZone/dropZone.py,sha256=hg9UKTayff8v8Ek-n38h_3wX1Qmiotvdyv1Hsqilh5Y,2590
|
|
77
78
|
ex4nicegui/reactive/EChartsComponent/ECharts.js,sha256=ye2FZNLfY4T41YAGQQYqn3LThSlnbY0pqnGtpyEg9bE,3548
|
|
78
|
-
ex4nicegui/reactive/EChartsComponent/ECharts.py,sha256=
|
|
79
|
+
ex4nicegui/reactive/EChartsComponent/ECharts.py,sha256=Qa1kzClEwjJo9yJy-fer75PoZxwnf6jSwFJSuYoODAA,4463
|
|
79
80
|
ex4nicegui/reactive/EChartsComponent/events.py,sha256=_BtmLRcAIZciDQT5i1eFc-r3e0pBnAabW1BSl6uzhCc,570
|
|
80
81
|
ex4nicegui/reactive/EChartsComponent/types.py,sha256=_7AekG0IyzRpDEBZMtKRiZ3o3dUCcn6btegBk8c9Fig,1001
|
|
81
82
|
ex4nicegui/reactive/EChartsComponent/utils.py,sha256=a5r2fghC6IIZbyfUUR8TEkpLj9HPbcf8QHEBatXaL2M,1463
|
|
@@ -85,49 +86,54 @@ ex4nicegui/reactive/fileWatcher.py,sha256=gjeZhgar02f-qGQa47Tj5SMaCP_ftRtSU898XU
|
|
|
85
86
|
ex4nicegui/reactive/local_file_picker.py,sha256=MoInXSauFdCuhYi_CmNKZwxAtsOqXh8roWWdqNwjPBY,6199
|
|
86
87
|
ex4nicegui/reactive/mermaid/mermaid.js,sha256=Ds5VevGWZE1_N0WKf-uITd8xSCO9gQzVUsmb80EajNY,2308
|
|
87
88
|
ex4nicegui/reactive/mermaid/mermaid.py,sha256=uP321QiNj_S5E5I2KF9h03WlSFdRITE8tvObGdk6m7M,2144
|
|
88
|
-
ex4nicegui/reactive/
|
|
89
|
-
ex4nicegui/reactive/
|
|
90
|
-
ex4nicegui/reactive/
|
|
89
|
+
ex4nicegui/reactive/mixins/backgroundColor.py,sha256=5d4v06_dypEFjkHvYfLOKLKa1qSLySMFUUesqf12vEg,1118
|
|
90
|
+
ex4nicegui/reactive/mixins/disableable.py,sha256=bqhhU5XTT3E60-I0dr_mT0Gk9uX5-aKouAsu6MwCeV0,1133
|
|
91
|
+
ex4nicegui/reactive/mixins/textColor.py,sha256=a-ZNbI2KE0S_pmIYvfKpGbRUAI_wY0SLc888qG7WJsE,1806
|
|
92
|
+
ex4nicegui/reactive/officials/aggrid.py,sha256=GWxDfTzhcnlyzPhLzBI5ay6RtPcE2zOCMwZhMX5WBck,2973
|
|
93
|
+
ex4nicegui/reactive/officials/base.py,sha256=SVJz0UYPvlpSHN193X-EFCNT-lAP2LYEo8HJBQ0i8Tg,153
|
|
94
|
+
ex4nicegui/reactive/officials/button.py,sha256=C1x-gwCKH6VWk0QqY2pUebAsaLLkMBx8GInk9KZg1K0,2666
|
|
91
95
|
ex4nicegui/reactive/officials/card.py,sha256=8-tBwm3xfVybolQ87i8lAYUpBV6FdaVdeSH6xu0736U,1275
|
|
92
|
-
ex4nicegui/reactive/officials/checkbox.py,sha256=
|
|
93
|
-
ex4nicegui/reactive/officials/
|
|
94
|
-
ex4nicegui/reactive/officials/
|
|
95
|
-
ex4nicegui/reactive/officials/
|
|
96
|
-
ex4nicegui/reactive/officials/
|
|
96
|
+
ex4nicegui/reactive/officials/checkbox.py,sha256=ghO987s_xrOXbrnksbtM4kP8_mP4ggVKsQKrgPku9ac,1560
|
|
97
|
+
ex4nicegui/reactive/officials/chip.py,sha256=ybAEAfBUnaEXw0eFLE3hTL4EaWIeMPATsCRDIuJgPH4,3180
|
|
98
|
+
ex4nicegui/reactive/officials/circular_progress.py,sha256=0NAaLN0ytrS1S8EGmJQxci5ZDJ8JAY2ZwIxhQKCxtT4,1958
|
|
99
|
+
ex4nicegui/reactive/officials/color_picker.py,sha256=Wz2RY68E55FDUavn8xXRAR4SX3wR-otnPTMSiNXW6w4,3413
|
|
100
|
+
ex4nicegui/reactive/officials/column.py,sha256=RwmjQBTRN4x1vfm-ylfR1r1GjmsLY-3rNf1SqyMLjKI,1104
|
|
101
|
+
ex4nicegui/reactive/officials/date.py,sha256=yiL8v0IJFfiX1rtw-MNHdqjuvz6AS00y4YV_KzjoaY0,2510
|
|
102
|
+
ex4nicegui/reactive/officials/dialog.py,sha256=1M2mTpb3NQ6GWjibwKZf_brdEXGYZUmC-36BX_Vc9sk,1375
|
|
97
103
|
ex4nicegui/reactive/officials/drawer.py,sha256=_Ro6stOh8U3igYMeDwI4omBgi1nld5berrAk9Dv5RVw,2346
|
|
98
|
-
ex4nicegui/reactive/officials/echarts.py,sha256=
|
|
104
|
+
ex4nicegui/reactive/officials/echarts.py,sha256=QxCl_3e2GxXupXmICwlBXF9a0pMpZzCXGdxPmiqYMeI,10224
|
|
99
105
|
ex4nicegui/reactive/officials/element.py,sha256=-qsHcxfF3fMfU0sJlKtTksX_wYPMIPJ_AgFcZbbI754,412
|
|
100
|
-
ex4nicegui/reactive/officials/expansion.py,sha256=
|
|
101
|
-
ex4nicegui/reactive/officials/grid.py,sha256=
|
|
106
|
+
ex4nicegui/reactive/officials/expansion.py,sha256=OsrVttwuZXqAUYRIXI2QZnvqIJmEcu3Sfj_Iwqu_PKQ,1893
|
|
107
|
+
ex4nicegui/reactive/officials/grid.py,sha256=Bq83jejsxQSYVc9O1IE6JUgUndUm1uexb4fq9EZWjHQ,921
|
|
102
108
|
ex4nicegui/reactive/officials/html.js,sha256=lyvRAdMKZGOc7MPEapeU6WbOzq_MVzqzUJEhKuC8zWc,119
|
|
103
109
|
ex4nicegui/reactive/officials/html.py,sha256=XrOpGoAJDo8dtTnZVLSmi7H5iHffmYpeZ94lXxHjBwI,629
|
|
104
|
-
ex4nicegui/reactive/officials/icon.py,sha256=
|
|
105
|
-
ex4nicegui/reactive/officials/image.py,sha256=
|
|
106
|
-
ex4nicegui/reactive/officials/input.py,sha256=
|
|
107
|
-
ex4nicegui/reactive/officials/knob.py,sha256=
|
|
108
|
-
ex4nicegui/reactive/officials/label.py,sha256=
|
|
109
|
-
ex4nicegui/reactive/officials/linear_progress.py,sha256=
|
|
110
|
-
ex4nicegui/reactive/officials/number.py,sha256=
|
|
111
|
-
ex4nicegui/reactive/officials/radio.py,sha256=
|
|
112
|
-
ex4nicegui/reactive/officials/row.py,sha256=
|
|
113
|
-
ex4nicegui/reactive/officials/select.py,sha256=
|
|
114
|
-
ex4nicegui/reactive/officials/slider.py,sha256=
|
|
115
|
-
ex4nicegui/reactive/officials/switch.py,sha256=
|
|
116
|
-
ex4nicegui/reactive/officials/tab.py,sha256=
|
|
110
|
+
ex4nicegui/reactive/officials/icon.py,sha256=oOl5_geE2cXrXKyxA4XK-F4AYxNmTtWWFx0WR_36nEk,1536
|
|
111
|
+
ex4nicegui/reactive/officials/image.py,sha256=a-iKjrkj672JspLCENXA1b9ABNwPO1D28WEgt5mmvwk,1118
|
|
112
|
+
ex4nicegui/reactive/officials/input.py,sha256=E6YjkEhmYHrBXBUXu0vH30wJbczD7eSMrRNZpdeGkJE,4042
|
|
113
|
+
ex4nicegui/reactive/officials/knob.py,sha256=WTTPEG7xOwfDC6GQ0BGzrFLIYyaUNeqzfwqystRs0xg,2315
|
|
114
|
+
ex4nicegui/reactive/officials/label.py,sha256=SwU603HlLHULlhyvSo6-VLV_3MuWuhtHMQaUyfLWlLo,1327
|
|
115
|
+
ex4nicegui/reactive/officials/linear_progress.py,sha256=7suAd_rLRkrviTkcuIt9LwkBr4YC57FeWeGgwTCStHQ,2107
|
|
116
|
+
ex4nicegui/reactive/officials/number.py,sha256=xSqPXn07-ZLPPZ0lVhsXA-KpnWhSKWNcJIMqJsJQ58Q,2789
|
|
117
|
+
ex4nicegui/reactive/officials/radio.py,sha256=u0jDUukowf4sCy2HERcmuI_OWea5aNl5FGWCACoGy4s,1941
|
|
118
|
+
ex4nicegui/reactive/officials/row.py,sha256=GBz0VW34rOqvGgsA0vA_93WSa2i1F9Lt7jf2UrRevDs,1044
|
|
119
|
+
ex4nicegui/reactive/officials/select.py,sha256=gwg_5JpzQxrBQM33EV0wXcZdq-d9_i4vKQ8egNH-dsU,3013
|
|
120
|
+
ex4nicegui/reactive/officials/slider.py,sha256=qX1IZWG88gtE1MRpc1InCEa4MohqCwUEweopblm1ldY,2966
|
|
121
|
+
ex4nicegui/reactive/officials/switch.py,sha256=lpqHYl3IvE4igcB8_XEZPZ7XPxIcH5BplzkLrLr7PQo,1601
|
|
122
|
+
ex4nicegui/reactive/officials/tab.py,sha256=nyB7Ksc_tWG-RaAXiu3TTIJvkNeSa9AZdwHXuL2SsOE,1433
|
|
117
123
|
ex4nicegui/reactive/officials/tab_panel.py,sha256=Y05XTIOE6qXYZjcCoVIPm9lruyR7av58McRLmPc2yxg,650
|
|
118
|
-
ex4nicegui/reactive/officials/tab_panels.py,sha256=
|
|
119
|
-
ex4nicegui/reactive/officials/table.py,sha256=
|
|
120
|
-
ex4nicegui/reactive/officials/tabs.py,sha256=
|
|
121
|
-
ex4nicegui/reactive/officials/textarea.py,sha256=
|
|
124
|
+
ex4nicegui/reactive/officials/tab_panels.py,sha256=YSe346Pa_BWPvYbJrxB4Mzc7c6IGcip6oc7LcSg2vbk,6044
|
|
125
|
+
ex4nicegui/reactive/officials/table.py,sha256=B_nX19UxwyxGKsxLuu2x4UNwxsapjTBw70RMBWDI8w0,6206
|
|
126
|
+
ex4nicegui/reactive/officials/tabs.py,sha256=1aLFnpKgBJMBE-e842Uldq80XOCVvdoH1uUeN1OUmWI,1296
|
|
127
|
+
ex4nicegui/reactive/officials/textarea.py,sha256=5pSDr11NkGMYBlOZNhtPwJwASAFEdeTZjmIVz-aDa_s,3038
|
|
128
|
+
ex4nicegui/reactive/officials/tooltip.py,sha256=8a3E7PfUSL3G8VNlxYU34myGNuUQddUWQzTo4F--ddE,1127
|
|
122
129
|
ex4nicegui/reactive/officials/upload.py,sha256=5SX2CFkf3s_4bPcnx0bmKRA4eYVlm0S8RBeQ7qHnqck,2395
|
|
123
|
-
ex4nicegui/reactive/q_pagination.py,sha256=
|
|
130
|
+
ex4nicegui/reactive/q_pagination.py,sha256=nUszZ4fvCf4leQ1DpS70laCDf40RprbOex7SISbAEek,1555
|
|
124
131
|
ex4nicegui/reactive/rxui.py,sha256=gZ8ZEjGuJFKcedEZhcm4PIZguNkY-Wv5yQx80QnsBKI,31
|
|
125
132
|
ex4nicegui/reactive/scopedStyle.js,sha256=RtpfUwkpjMv_cbplkr2UtydKAxB5Dz7Sm6jRgPHRhow,1569
|
|
126
|
-
ex4nicegui/reactive/scopedStyle.py,sha256=
|
|
127
|
-
ex4nicegui/reactive/services/color_service.py,sha256=UIQXP4PQ_l5601Opqw5T6E_wOyd3yt1dtMLmHdRP5L4,1746
|
|
133
|
+
ex4nicegui/reactive/scopedStyle.py,sha256=aYP4sIFzAmPaLyZV8m9jqyuGmOcJnC-5s07UQnoNSag,738
|
|
128
134
|
ex4nicegui/reactive/services/pandas_service.py,sha256=XOoy6tZr4TpTyhewAH59eiSwVFxqwOipdM_j-mkGpdM,1043
|
|
129
135
|
ex4nicegui/reactive/services/reactive_service.py,sha256=cgw7Qirc70avsgvGuMT4RCT_mFouJb1-KR3dWOgucX8,2742
|
|
130
|
-
ex4nicegui/reactive/systems/color_system.py,sha256=
|
|
136
|
+
ex4nicegui/reactive/systems/color_system.py,sha256=qXRTczxfILduHAVlNJqLSed-0x-LN6TyBSegYwW9vfk,4352
|
|
131
137
|
ex4nicegui/reactive/systems/object_system.py,sha256=bja9YNb4v5fVZl5gJvVA4HbwRssRp-2yFy3JBzNeKxA,752
|
|
132
138
|
ex4nicegui/reactive/systems/reactive_system.py,sha256=EYDshl4UR9VheNcxcNHc231Dwko9VudilfMIxCD_uOk,685
|
|
133
139
|
ex4nicegui/reactive/transitionGroup.js,sha256=rbfNU3Jrz9WFDQih3BgZOgC1MBr6j9cODZ9XggMAaTs,898
|
|
@@ -137,24 +143,25 @@ ex4nicegui/reactive/UseDraggable/UseDraggable.py,sha256=Zh6NfQPSf3nMvCL8wDA4tjhy
|
|
|
137
143
|
ex4nicegui/reactive/useMouse/UseMouse.js,sha256=6FjcYozJK5zFwK1kBP8JlfMyTUwKVK3k_0wSdhapaZs,2722
|
|
138
144
|
ex4nicegui/reactive/useMouse/UseMouse.py,sha256=cFNlso7_BneyAfGmWbl-N9vQwGleV2ArsqdRBv_yS6Y,2126
|
|
139
145
|
ex4nicegui/reactive/usePagination.py,sha256=8YLqcZ_ecuX0FdQ0ct-XdEFfMAVkubAS_K02YOhg5oo,2584
|
|
140
|
-
ex4nicegui/reactive/vfor.js,sha256=
|
|
141
|
-
ex4nicegui/reactive/vfor.py,sha256=
|
|
142
|
-
ex4nicegui/reactive/
|
|
146
|
+
ex4nicegui/reactive/vfor.js,sha256=sCy3KR5Aeyx68yh9VI6I9Vj7bnVuir_LUYKZBe_ePTg,908
|
|
147
|
+
ex4nicegui/reactive/vfor.py,sha256=5gu6a1k0qFP_0M4xEUpZZJgLFogDTAhQORaym42EiEg,7817
|
|
148
|
+
ex4nicegui/reactive/view_model.py,sha256=M36l2UBerErs5JK6I2jkKyj91mrLxOcFejzbBlfXP-0,4379
|
|
149
|
+
ex4nicegui/reactive/vmodel.py,sha256=ymrUpC_68jaHF76ivKmgz-C4Xl6i65c_41uMc0ffEhY,5936
|
|
143
150
|
ex4nicegui/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
144
151
|
ex4nicegui/tools/debug.py,sha256=h9iYHxw7jWWvmiExSpGi2hQl1PfhPZgC2KNS_GTuHSw,4868
|
|
145
152
|
ex4nicegui/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
146
|
-
ex4nicegui/utils/apiEffect.py,sha256=
|
|
153
|
+
ex4nicegui/utils/apiEffect.py,sha256=uwIi-R4Q0MaGSVmvhEFIL0O8pjBWobB_8brGAe19Qm4,2645
|
|
147
154
|
ex4nicegui/utils/asyncComputed.py,sha256=-v19ic20URewLkjbms5Teco1k8LPRnpP7usjrgo1pRU,1505
|
|
148
155
|
ex4nicegui/utils/clientScope.py,sha256=AM5GQLXSIrLALnzz72ZmplykhKVhRjRxQdHdAeR7g7k,1719
|
|
149
156
|
ex4nicegui/utils/common.py,sha256=7P0vboDadLun6EMxNi3br9rKJgKt0QT4sy_66cHEwb4,994
|
|
150
|
-
ex4nicegui/utils/effect.py,sha256=
|
|
157
|
+
ex4nicegui/utils/effect.py,sha256=LTtPTxx8-sP4VtZaFQjERB-ef3L2y5hu95GvTdj-nLo,2400
|
|
151
158
|
ex4nicegui/utils/refComputed.py,sha256=Vb7fyi0wNieFeLfCjXl6wSzpws3i6_aeCka1s9dsc8E,4232
|
|
152
159
|
ex4nicegui/utils/refWrapper.py,sha256=gX5sdfC1P4UXmMYM6FwdImfLD39y02kq7Af6dIMDrZ8,1472
|
|
153
|
-
ex4nicegui/utils/scheduler.py,sha256=
|
|
154
|
-
ex4nicegui/utils/signals.py,sha256=
|
|
160
|
+
ex4nicegui/utils/scheduler.py,sha256=1gyq7Y2BkbwmPK_Q9kpRpc1MOC9H7xcpxuix-RZhN9k,1787
|
|
161
|
+
ex4nicegui/utils/signals.py,sha256=Q2aaYct1U1DAW4neLiq1_iUdBGiPLNxpXQcuW1KiaDg,7106
|
|
155
162
|
ex4nicegui/utils/types.py,sha256=pE5WOSbcTHxaAhnT24FaZEd1B2Z_lTcsd46w0OKiMyc,359
|
|
156
163
|
ex4nicegui/version.py,sha256=NE7u1piESstg3xCtf5hhV4iedGs2qJQw9SiC3ZSpiio,90
|
|
157
|
-
ex4nicegui-0.
|
|
158
|
-
ex4nicegui-0.
|
|
159
|
-
ex4nicegui-0.
|
|
160
|
-
ex4nicegui-0.
|
|
164
|
+
ex4nicegui-0.7.0.dist-info/LICENSE,sha256=0KDDElS2dl-HIsWvbpy8ywbLzJMBFzXLev57LnMIZXs,1094
|
|
165
|
+
ex4nicegui-0.7.0.dist-info/METADATA,sha256=UwWpQE5SWENPA4E-mI0Z8a8xJI72g_zdUBNVeSQpiF8,34891
|
|
166
|
+
ex4nicegui-0.7.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
167
|
+
ex4nicegui-0.7.0.dist-info/RECORD,,
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
from __future__ import annotations
|
|
2
|
-
from typing import TYPE_CHECKING, Literal, cast
|
|
3
|
-
from ex4nicegui.utils.signals import to_value
|
|
4
|
-
from nicegui.elements.mixins.color_elements import (
|
|
5
|
-
TextColorElement,
|
|
6
|
-
QUASAR_COLORS,
|
|
7
|
-
TAILWIND_COLORS,
|
|
8
|
-
)
|
|
9
|
-
|
|
10
|
-
if TYPE_CHECKING:
|
|
11
|
-
from ex4nicegui.reactive.officials.base import BindableUi
|
|
12
|
-
from ex4nicegui import TGetterOrReadonlyRef
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
_color_sys_type = Literal["QUASAR", "TAILWIND", "STYLE"]
|
|
16
|
-
_color_attr_name = "data-ex4ng-color"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
def bind_color(bindable_ui: BindableUi, ref_ui: TGetterOrReadonlyRef):
|
|
20
|
-
@bindable_ui._ui_effect
|
|
21
|
-
def _():
|
|
22
|
-
ele = cast(TextColorElement, bindable_ui.element)
|
|
23
|
-
color = to_value(ref_ui)
|
|
24
|
-
|
|
25
|
-
# get exists color
|
|
26
|
-
# e.g 'QUASAR:red'
|
|
27
|
-
pre_color = ele._props.get(_color_attr_name) # type: str | None
|
|
28
|
-
if pre_color:
|
|
29
|
-
color_sys, value = pre_color.split(":") # type: ignore
|
|
30
|
-
color_sys: _color_sys_type
|
|
31
|
-
|
|
32
|
-
if color_sys == "QUASAR":
|
|
33
|
-
del ele._props[ele.TEXT_COLOR_PROP]
|
|
34
|
-
elif color_sys == "TAILWIND":
|
|
35
|
-
ele.classes(remove=value)
|
|
36
|
-
else:
|
|
37
|
-
del ele._style["color"]
|
|
38
|
-
|
|
39
|
-
cur_sys: _color_sys_type = "STYLE"
|
|
40
|
-
cur_color = color
|
|
41
|
-
|
|
42
|
-
if color in QUASAR_COLORS:
|
|
43
|
-
ele._props[ele.TEXT_COLOR_PROP] = color
|
|
44
|
-
cur_sys = "QUASAR"
|
|
45
|
-
elif color in TAILWIND_COLORS:
|
|
46
|
-
cur_color = f"text-{color}"
|
|
47
|
-
ele.classes(replace=cur_color)
|
|
48
|
-
cur_sys = "TAILWIND"
|
|
49
|
-
elif color is not None:
|
|
50
|
-
ele._style["color"] = color
|
|
51
|
-
|
|
52
|
-
ele._props[_color_attr_name] = f"{cur_sys}:{color}"
|
|
53
|
-
|
|
54
|
-
ele.update()
|
|
55
|
-
|
|
56
|
-
return bindable_ui
|
|
File without changes
|
|
File without changes
|