nova-trame 0.19.0.dev7__py3-none-any.whl → 0.19.0.dev8__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.
@@ -16,7 +16,7 @@ from .input_field import InputField
16
16
  vuetify.enable_lab()
17
17
 
18
18
 
19
- class DataSelector(vuetify.VDataTable):
19
+ class DataSelector(vuetify.VDataTableVirtual):
20
20
  """Allows the user to select datafiles from an IPTS experiment."""
21
21
 
22
22
  def __init__(
@@ -98,7 +98,7 @@ class DataSelector(vuetify.VDataTable):
98
98
  type="autocomplete",
99
99
  )
100
100
 
101
- with GridLayout(columns=2, classes="flex-1-0", valign="start"):
101
+ with GridLayout(columns=2, classes="flex-1-0 h-0", valign="start"):
102
102
  if not self._prefix:
103
103
  with html.Div(classes="d-flex flex-column h-100 overflow-hidden"):
104
104
  vuetify.VListSubheader("Available Directories", classes="flex-0-1 justify-center px-0")
@@ -115,7 +115,7 @@ class DataSelector(vuetify.VDataTable):
115
115
 
116
116
  super().__init__(
117
117
  v_model=self._v_model,
118
- classes="overflow-y-auto",
118
+ classes="h-100 overflow-y-auto",
119
119
  headers=("[{ align: 'left', key: 'title', title: 'Available Datafiles' }]",),
120
120
  item_title="title",
121
121
  item_value="path",
@@ -87,7 +87,7 @@ html {
87
87
  }
88
88
 
89
89
  .v-data-table {
90
- td {
90
+ th, td {
91
91
  vertical-align: middle;
92
92
  }
93
93
 
@@ -171,6 +171,9 @@
171
171
  "VDataTable": {
172
172
  "density": "compact"
173
173
  },
174
+ "VDataTableVirtual": {
175
+ "density": "compact"
176
+ },
174
177
  "VFileInput": {
175
178
  "variant": "outlined"
176
179
  },
@@ -219,7 +219,6 @@ class ThemedApp:
219
219
 
220
220
  with vuetify.VList(width=200):
221
221
  vuetify.VListSubheader("Select Theme")
222
- vuetify.VDivider()
223
222
 
224
223
  for theme in self.vuetify_config.get("theme", {}).get("themes", {}).values():
225
224
  with vuetify.VListItem(click=partial(self.set_theme, theme["value"])):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: nova-trame
3
- Version: 0.19.0.dev7
3
+ Version: 0.19.0.dev8
4
4
  Summary: A Python Package for injecting curated themes and custom components into Trame applications
5
5
  License: MIT
6
6
  Keywords: NDIP,Python,Trame,Vuetify
@@ -3,7 +3,7 @@ nova/trame/__init__.py,sha256=gFrAg1qva5PIqR5TjvPzAxLx103IKipJLqp3XXvrQL8,59
3
3
  nova/trame/model/data_selector.py,sha256=6tH5E7PmPMc6Cc7utFqe7MUpKsUP15_2jU0plygeqn0,7168
4
4
  nova/trame/model/remote_file_input.py,sha256=9KAf31ZHzpsh_aXUrNcF81Q5jvUZDWCzW1QATKls-Jk,3675
5
5
  nova/trame/view/components/__init__.py,sha256=u8yzshFp_TmuC1g9TRxKjy_BdGWMIzPQouI52hzcr2U,234
6
- nova/trame/view/components/data_selector.py,sha256=3-tlSFzCigMEZs-TwTZ_Ejx3Q69gxVeOJXIADuBkHN0,8270
6
+ nova/trame/view/components/data_selector.py,sha256=lOzAz7LbETpaFKZkFo_pAiMzZw9qtnHjwNmZXqgGF8o,8287
7
7
  nova/trame/view/components/file_upload.py,sha256=7VcpfA6zmiqMDLkwVPlb35Tf0IUTBN1xsHpoUFnSr1w,3111
8
8
  nova/trame/view/components/input_field.py,sha256=Wf-WuYm9SmbHXYy1cvYy8zDWe5rhvLcUHmwqmBvqVxk,16074
9
9
  nova/trame/view/components/remote_file_input.py,sha256=MnsUttZaCy8vEpOmRqXMsWa6PiC-RTRb-hJnnH0rBZc,9644
@@ -15,18 +15,18 @@ nova/trame/view/layouts/grid.py,sha256=CPutDeiJnLsKiG2mBtIDAnHJX-NJE92vhFiFyraV0
15
15
  nova/trame/view/layouts/hbox.py,sha256=NE11FV0W7QKfqIdz4MUOTIWsgCr8jrJDtUCcgw1K0HM,3060
16
16
  nova/trame/view/layouts/vbox.py,sha256=HkWpU6LiqdZMwl9KRosvxX_4lAxgjiRS5q9acIBUyfE,3061
17
17
  nova/trame/view/theme/__init__.py,sha256=70_marDlTigIcPEOGiJb2JTs-8b2sGM5SlY7XBPtBDM,54
18
- nova/trame/view/theme/assets/core_style.scss,sha256=kB33fiic0OcMJedYGQeIN2QssF5q9KQCAdKYIJnRM-4,2882
18
+ nova/trame/view/theme/assets/core_style.scss,sha256=zmZH0ElAZsNRVwofjwmBRbznzv93Yue5MdryVgxsgfA,2886
19
19
  nova/trame/view/theme/assets/favicon.png,sha256=Xbp1nUmhcBDeObjsebEbEAraPDZ_M163M_ZLtm5AbQc,1927
20
20
  nova/trame/view/theme/assets/js/delay_manager.js,sha256=vmb34DZ5YCQIlRW9Tf2M_uvJW6HFCmtlKZ5e_TPR8yg,536
21
21
  nova/trame/view/theme/assets/js/lodash.debounce.min.js,sha256=GLzlQH04WDUNYN7i39ttHHejSdu-CpAvfWgDgKDn-OY,4448
22
22
  nova/trame/view/theme/assets/js/lodash.throttle.min.js,sha256=9csqjX-M-LVGJnF3z4ha1R_36O5AfkFE8rPHkxmt3tE,4677
23
- nova/trame/view/theme/assets/vuetify_config.json,sha256=KKS50xguCxl3RtBT7xx_Xk6qyH2RO-ePAG9UBGloIBI,5656
24
- nova/trame/view/theme/theme.py,sha256=OFUtq1IWriFcDu-346J67ZrSES8IOI9PTY_4Vwg7bZQ,11820
23
+ nova/trame/view/theme/assets/vuetify_config.json,sha256=r3WK52tsZTH01g6I8YAQgiBy5jWI41Np5qz07Yc-nxI,5767
24
+ nova/trame/view/theme/theme.py,sha256=HUeuVfzEgeYW65W-LcvXzfYNRHu6aQibGwwgHGyh3OA,11765
25
25
  nova/trame/view/utilities/local_storage.py,sha256=vD8f2VZIpxhIKjZwEaD7siiPCTZO4cw9AfhwdawwYLY,3218
26
26
  nova/trame/view_model/data_selector.py,sha256=Bpkfjd78ZIkexHNF_aA9PfizRBzkeOuoSE7ZsBFcSOs,1749
27
27
  nova/trame/view_model/remote_file_input.py,sha256=ojEOJ8ZPkajpbAaZi9VLj7g-uBjhb8BMrTdMmwf_J6A,3367
28
- nova_trame-0.19.0.dev7.dist-info/LICENSE,sha256=Iu5QiDbwNbREg75iYaxIJ_V-zppuv4QFuBhAW-qiAlM,1061
29
- nova_trame-0.19.0.dev7.dist-info/METADATA,sha256=CIUfrKoM8j1mwV-zA2dJgkYFpzqy2LPYR8SG8c6oz80,1451
30
- nova_trame-0.19.0.dev7.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
31
- nova_trame-0.19.0.dev7.dist-info/entry_points.txt,sha256=J2AmeSwiTYZ4ZqHHp9HO6v4MaYQTTBPbNh6WtoqOT58,42
32
- nova_trame-0.19.0.dev7.dist-info/RECORD,,
28
+ nova_trame-0.19.0.dev8.dist-info/LICENSE,sha256=Iu5QiDbwNbREg75iYaxIJ_V-zppuv4QFuBhAW-qiAlM,1061
29
+ nova_trame-0.19.0.dev8.dist-info/METADATA,sha256=s41Ymyc13ZwxRZKLfWjJUqexigW68nDVnYqEvo8Wyhw,1451
30
+ nova_trame-0.19.0.dev8.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
31
+ nova_trame-0.19.0.dev8.dist-info/entry_points.txt,sha256=J2AmeSwiTYZ4ZqHHp9HO6v4MaYQTTBPbNh6WtoqOT58,42
32
+ nova_trame-0.19.0.dev8.dist-info/RECORD,,