nova-trame 0.10.0__py3-none-any.whl → 0.10.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.
- nova/trame/view/components/input_field.py +13 -0
- nova/trame/view/layouts/grid.py +1 -1
- {nova_trame-0.10.0.dist-info → nova_trame-0.10.1.dist-info}/METADATA +1 -1
- {nova_trame-0.10.0.dist-info → nova_trame-0.10.1.dist-info}/RECORD +7 -7
- {nova_trame-0.10.0.dist-info → nova_trame-0.10.1.dist-info}/LICENSE +0 -0
- {nova_trame-0.10.0.dist-info → nova_trame-0.10.1.dist-info}/WHEEL +0 -0
- {nova_trame-0.10.0.dist-info → nova_trame-0.10.1.dist-info}/entry_points.txt +0 -0
@@ -78,6 +78,9 @@ class InputField:
|
|
78
78
|
|
79
79
|
Parameters
|
80
80
|
----------
|
81
|
+
v_model : tuple[str, Any] or str, optional
|
82
|
+
The v-model for this component. If this references a Pydantic configuration variable, then this component
|
83
|
+
will attempt to load a label, hint, and validation rules from the configuration for you automatically.
|
81
84
|
required : bool
|
82
85
|
If true, the input will be visually marked as required and a required rule will be added to the end of the
|
83
86
|
rules list.
|
@@ -99,6 +102,16 @@ class InputField:
|
|
99
102
|
- textarea
|
100
103
|
|
101
104
|
Any other value will produce a text field with your type used as an HTML input type attribute.
|
105
|
+
**kwargs
|
106
|
+
All other arguments will be passed to the underlying
|
107
|
+
`Trame Vuetify component <https://trame.readthedocs.io/en/latest/trame.widgets.vuetify3.html>`_.
|
108
|
+
The following example would set the auto_grow and label attributes on
|
109
|
+
`VTextarea <https://trame.readthedocs.io/en/latest/trame.widgets.vuetify3.html#trame.widgets.vuetify3.VTextarea>`_:
|
110
|
+
|
111
|
+
.. literalinclude:: ../tests/gallery/app.py
|
112
|
+
:start-after: InputField kwargs example start
|
113
|
+
:end-before: InputField kwargs example end
|
114
|
+
:dedent:
|
102
115
|
|
103
116
|
Returns
|
104
117
|
-------
|
nova/trame/view/layouts/grid.py
CHANGED
@@ -2,12 +2,12 @@ nova/__init__.py,sha256=ED6jHcYiuYpr_0vjGz0zx2lrrmJT9sDJCzIljoDfmlM,65
|
|
2
2
|
nova/trame/__init__.py,sha256=gFrAg1qva5PIqR5TjvPzAxLx103IKipJLqp3XXvrQL8,59
|
3
3
|
nova/trame/model/remote_file_input.py,sha256=GRvWepYcFPjyrMOCI-mgr8GvDSYNag2oGqG-QY1Jfbw,3280
|
4
4
|
nova/trame/view/components/__init__.py,sha256=fopr6mVqcpDcVYK9ue7SLUHyswgvRPcFESTq86mu1R8,128
|
5
|
-
nova/trame/view/components/input_field.py,sha256=
|
5
|
+
nova/trame/view/components/input_field.py,sha256=CvVbuMuSu-vgRgyZsooscGw2nbxBbyangvrx2GmzuS8,12243
|
6
6
|
nova/trame/view/components/remote_file_input.py,sha256=FaS1TxFBdNp8xB6CicC5iAX4kSdwePwRCiyTas0d_Tc,8233
|
7
7
|
nova/trame/view/components/visualization/__init__.py,sha256=kDX1fkbtAgXSGlqhlMNhYYoYrq-hfS636smjgLsh6gg,84
|
8
8
|
nova/trame/view/components/visualization/interactive_2d_plot.py,sha256=foZCMoqbuahT5dtqIQvm8C4ZJcY9P211eJEcpQJltmM,3421
|
9
9
|
nova/trame/view/layouts/__init__.py,sha256=cMrlB5YMUoK8EGB83b34UU0kPTVrH8AxsYvKRtpUNEc,141
|
10
|
-
nova/trame/view/layouts/grid.py,sha256=
|
10
|
+
nova/trame/view/layouts/grid.py,sha256=k-QHuH31XeAVDuMKUMoAMVnAM-Yavq7kdLYOC1ZrGTQ,5021
|
11
11
|
nova/trame/view/layouts/hbox.py,sha256=r5irhFX6YWTWN4V4NwNQx6mheyM8p6PVcJbrbhvOAwo,2625
|
12
12
|
nova/trame/view/layouts/vbox.py,sha256=Q4EvrtGJORyNF6AnCLGXToy8XU6yofiO5_kt7hK-AYs,2626
|
13
13
|
nova/trame/view/theme/__init__.py,sha256=70_marDlTigIcPEOGiJb2JTs-8b2sGM5SlY7XBPtBDM,54
|
@@ -17,8 +17,8 @@ nova/trame/view/theme/assets/vuetify_config.json,sha256=1EwlDUHZiM45MWgnHSQKgLH_
|
|
17
17
|
nova/trame/view/theme/theme.py,sha256=lHeXZPGiS1Ezn3aiKpoEyarLgxOyatWOzYSApX9VI3M,11402
|
18
18
|
nova/trame/view/utilities/local_storage.py,sha256=vD8f2VZIpxhIKjZwEaD7siiPCTZO4cw9AfhwdawwYLY,3218
|
19
19
|
nova/trame/view_model/remote_file_input.py,sha256=EU8jrU_3_BQqvta5-owSotHG0LAxLbTp6INqk3TdIZc,2986
|
20
|
-
nova_trame-0.10.
|
21
|
-
nova_trame-0.10.
|
22
|
-
nova_trame-0.10.
|
23
|
-
nova_trame-0.10.
|
24
|
-
nova_trame-0.10.
|
20
|
+
nova_trame-0.10.1.dist-info/LICENSE,sha256=MOqZ8tPMKy8ZETJ2-HEvFTZ7dYNlg3gXmBkV-Y9i8bw,1061
|
21
|
+
nova_trame-0.10.1.dist-info/METADATA,sha256=N33T_oJm7cVw4WHRmoglB12W6rizrcDEJnwmjL1MjxQ,1379
|
22
|
+
nova_trame-0.10.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
23
|
+
nova_trame-0.10.1.dist-info/entry_points.txt,sha256=J2AmeSwiTYZ4ZqHHp9HO6v4MaYQTTBPbNh6WtoqOT58,42
|
24
|
+
nova_trame-0.10.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|