accrete 0.0.93__py3-none-any.whl → 0.0.94__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.
@@ -12,7 +12,7 @@ from django.core.paginator import Paginator
12
12
  from django.core import paginator, exceptions
13
13
  from django.forms import Form, ModelForm
14
14
  from accrete.annotation import Annotation
15
- from accrete.utils.http import cast_param
15
+ from accrete.utils.views import cast_param
16
16
  from .elements import (
17
17
  ClientAction, BreadCrumb, TableField, TableFieldType, TableFieldAlignment,
18
18
  ClientActionGroup
@@ -38,7 +38,7 @@ class ClientAction:
38
38
  submit: bool = False
39
39
  form_id: str = 'form'
40
40
  class_list: list[str] = field(default_factory=list)
41
- icon: Icon | type[Enum] = None
41
+ icon: Icon | type[Enum] | Enum = None
42
42
  icon_only: bool = False
43
43
 
44
44
  def attrs_str(self):
@@ -27,7 +27,7 @@
27
27
  </footer>
28
28
  {% if blocking %}
29
29
  <div id="{{ modal_id }}-indicator" class="htmx-indicator modal-request-overlay" style="position: absolute; inset: 0; background: rgba(47, 47, 62, 0.2)">
30
- <progress class="progress is-success" max="100" style="position: absolute; inset: 0; width: 50%; margin-top: 25%; margin-left: 25%"></progress>
30
+ <progress class="progress is-success" max="100" style="position: fixed; inset: 0; min-width: 300px; max-width: 20vw; margin: auto;"></progress>
31
31
  </div>
32
32
  {% endif %}
33
33
  </div>
@@ -38,7 +38,7 @@
38
38
  </footer>
39
39
  {% if blocking %}
40
40
  <div id="modal-{{ form_id }}-indicator" class="htmx-indicator modal-request-overlay" style="position: absolute; inset: 0; background: rgba(47, 47, 62, 0.2)">
41
- <progress class="progress is-success" max="100" style="position: absolute; inset: 0; width: 50%; margin-top: 25%; margin-left: 25%"></progress>
41
+ <progress class="progress is-success" max="100" style="position: fixed; inset: 0; min-width: 300px; max-width: 20vw; margin: auto;"></progress>
42
42
  </div>
43
43
  {% endif %}
44
44
  </div>
accrete/utils/__init__.py CHANGED
@@ -5,7 +5,7 @@ from .forms import (
5
5
  inline_vals_from_post,
6
6
  extend_formset
7
7
  )
8
- from .http import (
8
+ from .views import (
9
9
  filter_from_querystring,
10
10
  cast_param,
11
11
  method_not_allowed,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: accrete
3
- Version: 0.0.93
3
+ Version: 0.0.94
4
4
  Summary: Django Shared Schema Multi Tenant
5
5
  Author-email: Benedikt Jilek <benedikt.jilek@pm.me>
6
6
  License: Copyright (c) 2023 Benedikt Jilek
@@ -45,8 +45,8 @@ accrete/contrib/tags/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm
45
45
  accrete/contrib/ui/__init__.py,sha256=RiJ8hNHSpkVfT_fpwP_3XXnNo9q5E-7G59xMC6PsrWE,570
46
46
  accrete/contrib/ui/admin.py,sha256=suMo4x8I3JBxAFBVIdE-5qnqZ6JAZV0FESABHOSc-vg,63
47
47
  accrete/contrib/ui/apps.py,sha256=E0ao2ox6PQ3ldfeR17FXJUUJuGiWjm2DPCxHbPXGzls,152
48
- accrete/contrib/ui/context.py,sha256=KitMfUPckVRGKrcDjjiplTfMNbZZJ6-Srug_28FCA3s,10154
49
- accrete/contrib/ui/elements.py,sha256=rwXhRitKt70-ZT4yiLXvB7cp8jQbr02L7JpYwUy5jv4,1941
48
+ accrete/contrib/ui/context.py,sha256=Awpt3kcjn_REJsZ3xDq71WitPefBLCj2N5FrAZfDXYE,10155
49
+ accrete/contrib/ui/elements.py,sha256=l62e3uKDDYI1AfLVhE1AVht-GXKv5DwNdUZ3GkHudio,1948
50
50
  accrete/contrib/ui/filter.py,sha256=N3_h-AeN3VQdkGAGREHTGTRDRzcOrlk0Q2rbdTQyevA,12472
51
51
  accrete/contrib/ui/tests.py,sha256=mrbGGRNg5jwbTJtWWa7zSKdDyeB4vmgZCRc2nk6VY-g,60
52
52
  accrete/contrib/ui/urls.py,sha256=UrRRroqP6ANW_jpkRWqo2yLvBhYOVhczzbxbfkGnoq4,124
@@ -181,8 +181,8 @@ accrete/contrib/ui/templates/ui/table.html,sha256=8ELtgxoapCyNsvmGISAGXe712lG6Ak
181
181
  accrete/contrib/ui/templates/ui/partials/filter.html,sha256=2vmeL3980rMmkRnmVtZh9mBHe6S0PTMjaGIN1J6SpNM,7184
182
182
  accrete/contrib/ui/templates/ui/partials/form_errors.html,sha256=C5ktasYff2xBTiWfM6QR8qaGKSyK9QufB3B9N77KGpg,1386
183
183
  accrete/contrib/ui/templates/ui/partials/header.html,sha256=wBiyo02mON3z7l4hJAPTAJn_vDhekYZ-a0g8TuW4RmY,7015
184
- accrete/contrib/ui/templates/ui/partials/modal.html,sha256=pNVzCNflW38urrofngSsuWE36hT_c4fMMiPvrL2hIyU,1472
185
- accrete/contrib/ui/templates/ui/partials/modal_form.html,sha256=5P1n4ykVYvIYOO84VRwoOPR_jqXakmH51i8WyeMm-QQ,2103
184
+ accrete/contrib/ui/templates/ui/partials/modal.html,sha256=Lk7ViKJS99QLjGFHKna90j6VUo_U03IDAT1Rq__QVLU,1472
185
+ accrete/contrib/ui/templates/ui/partials/modal_form.html,sha256=7E3mh_rE_6-lnaFW0ACO2l_mCba8Rqah1ltshYKULIo,2103
186
186
  accrete/contrib/ui/templates/ui/partials/onchange_form.html,sha256=8wNgZYnpa6ttc-OraOi1i02isJCcnaMtYwsmObc3qcY,109
187
187
  accrete/contrib/ui/templates/ui/partials/pagination_detail.html,sha256=58nA3X7Il0FAD4VcYyr7tTGWRiVf_FN1TkImmKEpKHU,1014
188
188
  accrete/contrib/ui/templates/ui/partials/pagination_list.html,sha256=Eyx1lsk9UIFFYPICL7RuYeUFaKVlmvWVXnFCGR-II7k,1324
@@ -227,12 +227,12 @@ accrete/contrib/user_registration/templates/user_registration/mail_templates/con
227
227
  accrete/migrations/0001_initial.py,sha256=azThbc8otEhxJwo8BIgOt5eC30mxXhKJLBAazZFe3BA,4166
228
228
  accrete/migrations/0002_initial.py,sha256=dFOM7kdHlx7pVAh8cTDlZMtciN4O9Z547HAzEKnygZE,1628
229
229
  accrete/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
230
- accrete/utils/__init__.py,sha256=8BbFH9HVcC4lqtkJLK9rmfPvgJGQ-hs7jFwE1Gn2TKk,270
230
+ accrete/utils/__init__.py,sha256=BZiTZDicA1--ruZUvI_bjvPUSwI4SxfqGJc9V5n9nQc,271
231
231
  accrete/utils/dates.py,sha256=apM6kt6JhGrKgoT0jfav1W-8AUVTxNc9xt3fJQ2n0JI,1492
232
232
  accrete/utils/forms.py,sha256=IvxbXNpSd4a-JBgsTJhs2GHe-DCRWX-xnVPRcoiCzbI,3104
233
- accrete/utils/http.py,sha256=iWZSYbd3qYMrV9wAsX26ofGb5wxn1N_nRrQ6s2lpp2I,4557
234
233
  accrete/utils/models.py,sha256=EEhv7-sQVtQD24PEb3XcDUAh3VVhVFoMMLyFrDjGEaI,706
235
- accrete-0.0.93.dist-info/METADATA,sha256=fVytoUQovvy-DVpMMZCeOgzYnzk8YKNP6Hjxmj7JtKc,4952
236
- accrete-0.0.93.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
237
- accrete-0.0.93.dist-info/licenses/LICENSE,sha256=_7laeMIHnsd3Y2vJEXDYXq_PEXxIcjgJsGt8UIKTRWc,1057
238
- accrete-0.0.93.dist-info/RECORD,,
234
+ accrete/utils/views.py,sha256=iWZSYbd3qYMrV9wAsX26ofGb5wxn1N_nRrQ6s2lpp2I,4557
235
+ accrete-0.0.94.dist-info/METADATA,sha256=swUVTSej34UZ6YP9t_IRisCl2bEei9HvJun3a9cp10M,4952
236
+ accrete-0.0.94.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
237
+ accrete-0.0.94.dist-info/licenses/LICENSE,sha256=_7laeMIHnsd3Y2vJEXDYXq_PEXxIcjgJsGt8UIKTRWc,1057
238
+ accrete-0.0.94.dist-info/RECORD,,
File without changes