nicegui 1.2.0__tar.gz → 1.2.2__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.
- {nicegui-1.2.0 → nicegui-1.2.2}/PKG-INFO +3 -3
- {nicegui-1.2.0 → nicegui-1.2.2}/README.md +2 -2
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/element.py +3 -11
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/chart.js +16 -3
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/color_input.py +7 -1
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/color_picker.py +8 -1
- nicegui-1.2.2/nicegui/elements/interactive_image.js +65 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/interactive_image.py +0 -4
- nicegui-1.2.2/nicegui/elements/lib/plotly.min.js +8 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/link.py +1 -1
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/markdown.js +13 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/markdown.py +14 -1
- nicegui-1.2.2/nicegui/elements/mixins/content_element.py +80 -0
- nicegui-1.2.2/nicegui/elements/mixins/filter_element.py +78 -0
- nicegui-1.2.2/nicegui/elements/mixins/source_element.py +77 -0
- nicegui-1.2.2/nicegui/elements/mixins/text_element.py +80 -0
- nicegui-1.2.2/nicegui/elements/mixins/value_element.py +102 -0
- nicegui-1.2.2/nicegui/elements/mixins/visibility.py +90 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/scene.js +1 -1
- nicegui-1.2.2/nicegui/elements/select.js +35 -0
- nicegui-1.2.2/nicegui/elements/select.py +54 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/table.py +2 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/events.py +0 -1
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/functions/notify.py +5 -3
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/functions/timer.py +0 -1
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/native_mode.py +16 -16
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/nicegui.css +14 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/templates/index.html +2 -3
- {nicegui-1.2.0 → nicegui-1.2.2}/pyproject.toml +1 -1
- {nicegui-1.2.0 → nicegui-1.2.2}/setup.py +2 -2
- nicegui-1.2.0/nicegui/elements/interactive_image.js +0 -84
- nicegui-1.2.0/nicegui/elements/lib/plotly.min.js +0 -8
- nicegui-1.2.0/nicegui/elements/mixins/content_element.py +0 -36
- nicegui-1.2.0/nicegui/elements/mixins/filter_element.py +0 -34
- nicegui-1.2.0/nicegui/elements/mixins/source_element.py +0 -33
- nicegui-1.2.0/nicegui/elements/mixins/text_element.py +0 -36
- nicegui-1.2.0/nicegui/elements/mixins/value_element.py +0 -58
- nicegui-1.2.0/nicegui/elements/mixins/visibility.py +0 -43
- nicegui-1.2.0/nicegui/elements/select.py +0 -30
- {nicegui-1.2.0 → nicegui-1.2.2}/LICENSE +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/__init__.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/app.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/background_tasks.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/binding.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/client.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/dependencies.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/deprecation.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/aggrid.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/aggrid.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/audio.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/audio.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/avatar.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/badge.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/button.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/card.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/chart.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/checkbox.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/choice_element.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/colors.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/colors.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/column.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/date.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/dialog.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/expansion.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/html.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/icon.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/image.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/input.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/joystick.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/joystick.vue +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/keyboard.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/keyboard.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/knob.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/label.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/CSS2DRenderer.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/CSS3DRenderer.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/OrbitControls.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/STLLoader.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/ag-grid-community.min.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts-3d.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts-more.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/accessibility.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/annotations-advanced.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/annotations.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/arc-diagram.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/arrow-symbols.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/boost-canvas.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/boost.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/broken-axis.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/bullet.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/coloraxis.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/current-date-indicator.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/cylinder.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/data.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/datagrouping.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/debugger.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/dependency-wheel.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/dotplot.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/drag-panes.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/draggable-points.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/drilldown.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/dumbbell.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/export-data.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/exporting.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/full-screen.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/funnel.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/funnel3d.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/gantt.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/grid-axis.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/heatmap.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/heikinashi.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/histogram-bellcurve.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/hollowcandlestick.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/item-series.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/lollipop.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/marker-clusters.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/networkgraph.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/no-data-to-display.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/offline-exporting.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/oldie-polyfills.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/oldie.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/organization.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/overlapping-datalabels.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/parallel-coordinates.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/pareto.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/pathfinder.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/pattern-fill.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/price-indicator.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/pyramid3d.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/sankey.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/series-label.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/series-on-point.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/solid-gauge.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/sonification.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/static-scale.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/stock-tools.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/stock.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/streamgraph.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/sunburst.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/tilemap.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/timeline.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/treegraph.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/treegrid.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/treemap.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/variable-pie.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/variwide.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/vector.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/venn.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/windbarb.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/wordcloud.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/highcharts_modules/xrange.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/mermaid.min.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/nipplejs.min.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/three.min.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/lib/tween.umd.min.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/line_plot.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/log.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/log.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/menu.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/mermaid.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/mermaid.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/number.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/plotly.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/plotly.vue +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/progress.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/pyplot.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/radio.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/row.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/scene.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/scene_object3d.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/scene_objects.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/separator.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/slider.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/spinner.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/switch.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/tabs.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/textarea.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/time.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/toggle.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/tooltip.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/tree.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/upload.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/video.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/elements/video.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/error.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/event_listener.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/favicon.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/functions/html.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/functions/javascript.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/functions/open.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/functions/update.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/globals.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/helpers.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/ids.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/json/__init__.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/json/builtin_wrapper.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/json/orjson_wrapper.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/nicegui.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/outbox.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/page.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/page_layout.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/run.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/run_with.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/slot.py +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/favicon.ico +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOkCnqEu92Fr1MmgVxEIzIXKMnyrYk.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOkCnqEu92Fr1MmgVxFIzIXKMnyrYk.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOkCnqEu92Fr1MmgVxGIzIXKMnyrYk.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOkCnqEu92Fr1MmgVxHIzIXKMnyrYk.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOkCnqEu92Fr1MmgVxIIzIXKMny.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOkCnqEu92Fr1MmgVxLIzIXKMnyrYk.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOkCnqEu92Fr1MmgVxMIzIXKMnyrYk.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmEU9fABc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmEU9fBxc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmEU9fCBc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmEU9fCRc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmEU9fChc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmEU9fCxc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmSU5fABc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmSU5fBBc4AMP6lQ.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmSU5fBxc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmSU5fCBc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmSU5fCRc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmSU5fChc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmSU5fCxc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmWUlfABc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmWUlfBBc4AMP6lQ.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmWUlfBxc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmWUlfCBc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmWUlfCRc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmWUlfChc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmWUlfCxc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmYUtfABc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmYUtfBBc4AMP6lQ.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmYUtfBxc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmYUtfCBc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmYUtfCRc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmYUtfChc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOlCnqEu92Fr1MmYUtfCxc4AMP6lbBP.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOmCnqEu92Fr1Mu4WxKKTU1Kvnz.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOmCnqEu92Fr1Mu5mxKKTU1Kvnz.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOmCnqEu92Fr1Mu72xKKTU1Kvnz.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOmCnqEu92Fr1Mu7GxKKTU1Kvnz.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOmCnqEu92Fr1Mu7WxKKTU1Kvnz.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/KFOmCnqEu92Fr1Mu7mxKKTU1Kvnz.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2 +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/fonts.css +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/quasar.prod.css +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/quasar.umd.prod.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/sad_face.svg +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/socket.io.min.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/tailwindcss.min.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/vue.global.prod.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/static/vue.min.js +0 -0
- {nicegui-1.2.0 → nicegui-1.2.2}/nicegui/ui.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: nicegui
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.2
|
|
4
4
|
Summary: Web User Interface with Buttons, Dialogs, Markdown, 3D Scences and Plots
|
|
5
5
|
Home-page: https://github.com/zauberzeug/nicegui
|
|
6
6
|
License: MIT
|
|
@@ -111,10 +111,10 @@ Note: NiceGUI will automatically reload the page when you modify the code.
|
|
|
111
111
|
|
|
112
112
|
## Documentation and Examples
|
|
113
113
|
|
|
114
|
-
The
|
|
114
|
+
The documentation is hosted at [https://nicegui.io/documentation](https://nicegui.io/documentation) and provides plenty of live demos.
|
|
115
115
|
The whole content of [https://nicegui.io](https://nicegui.io) is [implemented with NiceGUI itself](https://github.com/zauberzeug/nicegui/blob/main/main.py).
|
|
116
116
|
|
|
117
|
-
You may also have a look at
|
|
117
|
+
You may also have a look at our [in-depth examples](https://github.com/zauberzeug/nicegui/tree/main/examples) of what you can do with NiceGUI.
|
|
118
118
|
|
|
119
119
|
## Why?
|
|
120
120
|
|
|
@@ -75,10 +75,10 @@ Note: NiceGUI will automatically reload the page when you modify the code.
|
|
|
75
75
|
|
|
76
76
|
## Documentation and Examples
|
|
77
77
|
|
|
78
|
-
The
|
|
78
|
+
The documentation is hosted at [https://nicegui.io/documentation](https://nicegui.io/documentation) and provides plenty of live demos.
|
|
79
79
|
The whole content of [https://nicegui.io](https://nicegui.io) is [implemented with NiceGUI itself](https://github.com/zauberzeug/nicegui/blob/main/main.py).
|
|
80
80
|
|
|
81
|
-
You may also have a look at
|
|
81
|
+
You may also have a look at our [in-depth examples](https://github.com/zauberzeug/nicegui/tree/main/examples) of what you can do with NiceGUI.
|
|
82
82
|
|
|
83
83
|
## Why?
|
|
84
84
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
3
|
import re
|
|
4
|
-
from abc import ABC
|
|
5
4
|
from copy import deepcopy
|
|
6
5
|
from typing import TYPE_CHECKING, Any, Callable, Dict, List, Optional, Union
|
|
7
6
|
|
|
@@ -20,12 +19,13 @@ if TYPE_CHECKING:
|
|
|
20
19
|
PROPS_PATTERN = re.compile(r'([\w\-]+)(?:=(?:("[^"\\]*(?:\\.[^"\\]*)*")|([\w\-.%:\/]+)))?(?:$|\s)')
|
|
21
20
|
|
|
22
21
|
|
|
23
|
-
class Element(
|
|
22
|
+
class Element(Visibility):
|
|
24
23
|
|
|
25
24
|
def __init__(self, tag: str, *, _client: Optional[Client] = None) -> None:
|
|
26
25
|
"""Generic Element
|
|
27
26
|
|
|
28
|
-
This class is
|
|
27
|
+
This class is the base class for all other UI elements.
|
|
28
|
+
But you can use it to create elements with arbitrary HTML tags.
|
|
29
29
|
|
|
30
30
|
:param tag: HTML tag of the element
|
|
31
31
|
:param _client: client for this element (for internal use only)
|
|
@@ -167,10 +167,6 @@ class Element(ABC, Visibility):
|
|
|
167
167
|
|
|
168
168
|
Removing or replacing styles can be helpful if the predefined style is not desired.
|
|
169
169
|
|
|
170
|
-
.. codeblock:: python
|
|
171
|
-
|
|
172
|
-
ui.button('Click me').style('color: #6E93D6; font-size: 200%', remove='font-weight; background-color')
|
|
173
|
-
|
|
174
170
|
:param add: semicolon-separated list of styles to add to the element
|
|
175
171
|
:param remove: semicolon-separated list of styles to remove from the element
|
|
176
172
|
:param replace: semicolon-separated list of styles to use instead of existing ones
|
|
@@ -203,10 +199,6 @@ class Element(ABC, Visibility):
|
|
|
203
199
|
This allows modifying the look of the element or its layout using `Quasar <https://quasar.dev/>`_ props.
|
|
204
200
|
Since props are simply applied as HTML attributes, they can be used with any HTML element.
|
|
205
201
|
|
|
206
|
-
.. codeblock:: python
|
|
207
|
-
|
|
208
|
-
ui.button('Open menu').props('outline icon=menu')
|
|
209
|
-
|
|
210
202
|
Boolean properties are assumed ``True`` if no value is specified.
|
|
211
203
|
|
|
212
204
|
:param add: whitespace-delimited list of either boolean values or key=value pair to add
|
|
@@ -9,12 +9,25 @@ export default {
|
|
|
9
9
|
});
|
|
10
10
|
}, 0); // NOTE: wait for window.path_prefix to be set in app.mounted()
|
|
11
11
|
},
|
|
12
|
+
beforeDestroy() {
|
|
13
|
+
this.destroyChart();
|
|
14
|
+
},
|
|
15
|
+
beforeUnmount() {
|
|
16
|
+
this.destroyChart();
|
|
17
|
+
},
|
|
12
18
|
methods: {
|
|
13
19
|
update_chart() {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
20
|
+
if (this.chart) {
|
|
21
|
+
while (this.chart.series.length > this.options.series.length) this.chart.series[0].remove();
|
|
22
|
+
while (this.chart.series.length < this.options.series.length) this.chart.addSeries({}, false);
|
|
23
|
+
this.chart.update(this.options);
|
|
24
|
+
}
|
|
17
25
|
},
|
|
26
|
+
destroyChart () {
|
|
27
|
+
if (this.chart) {
|
|
28
|
+
this.chart.destroy()
|
|
29
|
+
}
|
|
30
|
+
}
|
|
18
31
|
},
|
|
19
32
|
props: {
|
|
20
33
|
type: String,
|
|
@@ -26,5 +26,11 @@ class ColorInput(ValueElement):
|
|
|
26
26
|
|
|
27
27
|
with self.add_slot('append'):
|
|
28
28
|
self.picker = ColorPicker(on_pick=lambda e: self.set_value(e.color))
|
|
29
|
-
self.button = ui.button(on_click=self.
|
|
29
|
+
self.button = ui.button(on_click=self.open_picker) \
|
|
30
30
|
.props('icon=colorize flat round', remove='color').classes('cursor-pointer')
|
|
31
|
+
|
|
32
|
+
def open_picker(self) -> None:
|
|
33
|
+
"""Open the color picker"""
|
|
34
|
+
if self.value:
|
|
35
|
+
self.picker.set_color(self.value)
|
|
36
|
+
self.picker.open()
|
|
@@ -18,4 +18,11 @@ class ColorPicker(Menu):
|
|
|
18
18
|
with self:
|
|
19
19
|
def handle_change(msg: Dict):
|
|
20
20
|
handle_event(on_pick, ColorPickEventArguments(sender=self, client=self.client, color=msg['args']))
|
|
21
|
-
Element('q-color').on('change', handle_change)
|
|
21
|
+
self.q_color = Element('q-color').on('change', handle_change)
|
|
22
|
+
|
|
23
|
+
def set_color(self, color: str) -> None:
|
|
24
|
+
"""Set the color of the picker
|
|
25
|
+
|
|
26
|
+
:param color: the color to set
|
|
27
|
+
"""
|
|
28
|
+
self.q_color.props(f'model-value="{color}"')
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
template: `
|
|
3
|
+
<div style="position:relative">
|
|
4
|
+
<img :src="src" style="width:100%; height:100%;" v-on="onEvents" draggable="false" />
|
|
5
|
+
<svg v-if="cross" style="position:absolute;top:0;left:0;pointer-events:none" :viewBox="viewBox">
|
|
6
|
+
<g :style="{ display: cssDisplay }">
|
|
7
|
+
<line :x1="x" y1="0" :x2="x" y2="100%" stroke="black" />
|
|
8
|
+
<line x1="0" :y1="y" x2="100%" :y2="y" stroke="black" />
|
|
9
|
+
</g>
|
|
10
|
+
<g v-html="content"></g>
|
|
11
|
+
</svg>
|
|
12
|
+
</div>
|
|
13
|
+
`,
|
|
14
|
+
data() {
|
|
15
|
+
return {
|
|
16
|
+
viewBox: "0 0 0 0",
|
|
17
|
+
x: 100,
|
|
18
|
+
y: 100,
|
|
19
|
+
cssDisplay: "none",
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
methods: {
|
|
23
|
+
updateCrossHair(e) {
|
|
24
|
+
this.x = (e.offsetX * e.target.naturalWidth) / e.target.clientWidth;
|
|
25
|
+
this.y = (e.offsetY * e.target.naturalHeight) / e.target.clientHeight;
|
|
26
|
+
},
|
|
27
|
+
onImageLoaded(e) {
|
|
28
|
+
this.viewBox = `0 0 ${e.target.naturalWidth} ${e.target.naturalHeight}`;
|
|
29
|
+
},
|
|
30
|
+
onMouseEvent(type, e) {
|
|
31
|
+
this.$emit("mouse", {
|
|
32
|
+
mouse_event_type: type,
|
|
33
|
+
image_x: (e.offsetX * e.target.naturalWidth) / e.target.clientWidth,
|
|
34
|
+
image_y: (e.offsetY * e.target.naturalHeight) / e.target.clientHeight,
|
|
35
|
+
button: e.button,
|
|
36
|
+
buttons: e.buttons,
|
|
37
|
+
altKey: e.altKey,
|
|
38
|
+
ctrlKey: e.ctrlKey,
|
|
39
|
+
metaKey: e.metaKey,
|
|
40
|
+
shiftKey: e.shiftKey,
|
|
41
|
+
});
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
computed: {
|
|
45
|
+
onEvents() {
|
|
46
|
+
const allEvents = {};
|
|
47
|
+
for (const type of this.events) {
|
|
48
|
+
allEvents[type] = (event) => this.onMouseEvent(type, event);
|
|
49
|
+
}
|
|
50
|
+
if (this.cross) {
|
|
51
|
+
allEvents["mouseenter"] = () => (this.cssDisplay = "block");
|
|
52
|
+
allEvents["mouseleave"] = () => (this.cssDisplay = "none");
|
|
53
|
+
allEvents["mousemove"] = (event) => this.updateCrossHair(event);
|
|
54
|
+
allEvents["load"] = (event) => this.onImageLoaded(event);
|
|
55
|
+
}
|
|
56
|
+
return allEvents;
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
props: {
|
|
60
|
+
src: String,
|
|
61
|
+
content: String,
|
|
62
|
+
events: Array,
|
|
63
|
+
cross: Boolean,
|
|
64
|
+
},
|
|
65
|
+
};
|
|
@@ -52,7 +52,3 @@ class InteractiveImage(SourceElement, ContentElement):
|
|
|
52
52
|
)
|
|
53
53
|
return handle_event(on_mouse, arguments)
|
|
54
54
|
self.on('mouse', handle_mouse)
|
|
55
|
-
|
|
56
|
-
def on_source_change(self, source: str) -> None:
|
|
57
|
-
super().on_source_change(source)
|
|
58
|
-
self.run_method('set_source', source)
|