fastlifeweb 0.9.4__py3-none-any.whl → 0.9.5__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.
- fastlife/templates/Button.jinja +4 -3
- fastlife/templates/Details.jinja +2 -2
- fastlife/templates/pydantic_form/Sequence.jinja +5 -5
- {fastlifeweb-0.9.4.dist-info → fastlifeweb-0.9.5.dist-info}/METADATA +1 -1
- {fastlifeweb-0.9.4.dist-info → fastlifeweb-0.9.5.dist-info}/RECORD +7 -7
- {fastlifeweb-0.9.4.dist-info → fastlifeweb-0.9.5.dist-info}/LICENSE +0 -0
- {fastlifeweb-0.9.4.dist-info → fastlifeweb-0.9.5.dist-info}/WHEEL +0 -0
fastlife/templates/Button.jinja
CHANGED
@@ -14,6 +14,7 @@ hx_after_request="",
|
|
14
14
|
hx_vals="",
|
15
15
|
hx_confirm="",
|
16
16
|
hx_delete="",
|
17
|
+
hx_params=None,
|
17
18
|
hx_push_url=false,
|
18
19
|
full_width=false,
|
19
20
|
#}
|
@@ -22,8 +23,8 @@ full_width=false,
|
|
22
23
|
%}hx-select="{{hx_select}}" {% endif %} {% if hx_get %}hx-get="{{hx_get}}" {% endif %} {% if onclick
|
23
24
|
%}onclick="{{onclick}}" {% endif %}{% if hx_after_request %}hx-on::after-request="{{hx_after_request}}" {% endif %} {%
|
24
25
|
if hx_vals %}hx-vals='{{hx_vals|safe}}' {% endif %} {% if hx_confirm %}hx-confirm="{{hx_confirm}}" {% endif %} {% if
|
25
|
-
hx_delete %}hx-delete="{{hx_delete}}" {% endif %} {% if hx_get and hx_push_url %} hx-push-url="true" {%- endif %}{%
|
26
|
-
%}
|
27
|
-
hidden %}hidden{% endif %}>
|
26
|
+
hx_delete %}hx-delete="{{hx_delete}}" {% endif %} {% if hx_get and hx_push_url %} hx-push-url="true" {%- endif %} {%
|
27
|
+
if hx_params %} hx-params="{{hx_params}}" {%- endif %}{% if aria_label %}aria-label="{{aria_label}}" {% endif %}
|
28
|
+
class="{% if full_width %}w-full {% endif %}{{attrs.class or BUTTON_CLASS}}" {% if hidden %}hidden{% endif %}>
|
28
29
|
{{- content -}}
|
29
30
|
</button>
|
fastlife/templates/Details.jinja
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
{# def open=True #}
|
2
|
-
<details class="{{attrs.class or DETAILS_CLASS}}" {% if open %}open{% endif %}>
|
1
|
+
{# def id=None, open=True #}
|
2
|
+
<details{% if id%} id="{{id}}"{% endif%} class="{{attrs.class or DETAILS_CLASS}}" {% if open %}open{% endif %}>
|
3
3
|
{{content}}
|
4
4
|
</details>
|
@@ -1,11 +1,11 @@
|
|
1
1
|
{# def widget, children_widgets, type #}
|
2
2
|
|
3
3
|
<pydantic_form.Widget :widget="widget" :removable="widget.removable">
|
4
|
-
<
|
5
|
-
<
|
6
|
-
<H3>{{widget.title}}</H3>
|
4
|
+
<Details :id="widget.id">
|
5
|
+
<Summary :id="widget.id + '-summary'">
|
6
|
+
<H3 :class="H3_SUMMARY_CLASS">{{widget.title}}</H3>
|
7
7
|
<pydantic_form.Error :text="widget.error" />
|
8
|
-
</
|
8
|
+
</Summary>
|
9
9
|
<div>
|
10
10
|
{% set fnGetName = "get" + widget.id.replace("-", "_") %}
|
11
11
|
<script>
|
@@ -34,5 +34,5 @@
|
|
34
34
|
</Button>
|
35
35
|
</div>
|
36
36
|
</div>
|
37
|
-
</
|
37
|
+
</Details>
|
38
38
|
</pydantic_form.Widget>
|
@@ -24,10 +24,10 @@ fastlife/shared_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
|
|
24
24
|
fastlife/shared_utils/infer.py,sha256=0jNPY5vqKvDlNCmVPnRAXbTcQnmbuOIOIGAeGcxDPok,472
|
25
25
|
fastlife/shared_utils/resolver.py,sha256=wXQQTB4jf86m4qENhMOkHkWpLJj_T4-_eND_ItTLnTE,1410
|
26
26
|
fastlife/templates/A.jinja,sha256=EoceT_0ZGvnLz5GmVHXsi5vXdzQJnHW1j7ZUxQOVR0k,426
|
27
|
-
fastlife/templates/Button.jinja,sha256=
|
27
|
+
fastlife/templates/Button.jinja,sha256=kC2n3OFHc1ZHHND3GKeohKpcI005MYwMkdMq53iFvJk,1201
|
28
28
|
fastlife/templates/Checkbox.jinja,sha256=wljKcufMxSWMCiTpqI5Ugfxn4GF224tJaw0AtM1syPo,236
|
29
29
|
fastlife/templates/CsrfToken.jinja,sha256=7qbPvgiAgR6fgaCnDTLozJgOPSWWUJ_W4VLPGra4ahA,61
|
30
|
-
fastlife/templates/Details.jinja,sha256=
|
30
|
+
fastlife/templates/Details.jinja,sha256=JP_otsatCu4w68iIqoMiCwh1S0ymUd_yFqoztdifOVU,166
|
31
31
|
fastlife/templates/Form.jinja,sha256=mimb2oq1jHt-5wtN-JD2gbcZEN5UiaLFwzuqxl6X5IU,341
|
32
32
|
fastlife/templates/H1.jinja,sha256=bx8MnoZKN2C2GbfmX4lgi1P6XRh_g67qb_hWmrodGhs,59
|
33
33
|
fastlife/templates/H2.jinja,sha256=aY2Q_DdHHViqA2nUCPjAqlUgcAqadYnUJnxFnCONydY,59
|
@@ -1670,7 +1670,7 @@ fastlife/templates/pydantic_form/Error.jinja,sha256=Wb5NnVRc4U7ZGKmYV7s4eGenWEug
|
|
1670
1670
|
fastlife/templates/pydantic_form/Hidden.jinja,sha256=NF8Od_mSSnRJAxWqsgeD1C5YzqJso-HCeDjGbpHjmlE,86
|
1671
1671
|
fastlife/templates/pydantic_form/Hint.jinja,sha256=O0ZsAQnATcG0a_qLQfrwM6VZHmAw3k1W33WYlEBUas8,123
|
1672
1672
|
fastlife/templates/pydantic_form/Model.jinja,sha256=IRCU9PpqGLv6l7uVpVfAucWsVZbZQBCtfF_lpVMMOfc,490
|
1673
|
-
fastlife/templates/pydantic_form/Sequence.jinja,sha256=
|
1673
|
+
fastlife/templates/pydantic_form/Sequence.jinja,sha256=oZMdpKdIvp7h-HPyK3wBFSH0ruHICDsPXsM4WOFxaJc,1420
|
1674
1674
|
fastlife/templates/pydantic_form/Text.jinja,sha256=7OJt4rC11-XCKFKDP8lIsFy6M33pRW9ceD9K-irhiJg,461
|
1675
1675
|
fastlife/templates/pydantic_form/Union.jinja,sha256=ibSgK04qE_GND8Fm0T5pBsP2LUaVe9lZQgSlVU6Cblk,1080
|
1676
1676
|
fastlife/templates/pydantic_form/Widget.jinja,sha256=xXjesiIfaS2CWv9T11UDVHwBz6JT1FSPB6EWtp98_hA,290
|
@@ -1695,7 +1695,7 @@ fastlife/testing/__init__.py,sha256=vuqwoNUd3BuIp3fm7nkvmYkIGjIimf5zUGhDkeWrg2s,
|
|
1695
1695
|
fastlife/testing/testclient.py,sha256=izNTkFgArIUrdSemNl3iiEDdsiUfnb2TtfKnZi3Jwv8,20546
|
1696
1696
|
fastlife/views/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1697
1697
|
fastlife/views/pydantic_form.py,sha256=KJtH_DK8em0czGPsv0XpzGUFhtycyXdeRldwiU7d_j4,1257
|
1698
|
-
fastlifeweb-0.9.
|
1699
|
-
fastlifeweb-0.9.
|
1700
|
-
fastlifeweb-0.9.
|
1701
|
-
fastlifeweb-0.9.
|
1698
|
+
fastlifeweb-0.9.5.dist-info/LICENSE,sha256=F75xSseSKMwqzFj8rswYU6NWS3VoWOc_gY3fJYf9_LI,1504
|
1699
|
+
fastlifeweb-0.9.5.dist-info/METADATA,sha256=pya67iBOu1iR9vrhLaVOoOlh-zwG7eKpDacs2XfsyPE,1885
|
1700
|
+
fastlifeweb-0.9.5.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
1701
|
+
fastlifeweb-0.9.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|