accrete 0.0.55__py3-none-any.whl → 0.0.56__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.
- accrete/contrib/ui/elements.py +9 -9
- {accrete-0.0.55.dist-info → accrete-0.0.56.dist-info}/METADATA +1 -1
- {accrete-0.0.55.dist-info → accrete-0.0.56.dist-info}/RECORD +5 -5
- {accrete-0.0.55.dist-info → accrete-0.0.56.dist-info}/WHEEL +0 -0
- {accrete-0.0.55.dist-info → accrete-0.0.56.dist-info}/licenses/LICENSE +0 -0
accrete/contrib/ui/elements.py
CHANGED
@@ -25,15 +25,6 @@ class ActionMethod(Enum):
|
|
25
25
|
DELETE = 'hx-delete'
|
26
26
|
|
27
27
|
|
28
|
-
@dataclass
|
29
|
-
class ClientActionGroup:
|
30
|
-
|
31
|
-
name: str
|
32
|
-
actions: list[ActionMethod] = field(default_factory=list)
|
33
|
-
icon: Icon | type[Enum] = None
|
34
|
-
icon_only: bool = False
|
35
|
-
|
36
|
-
|
37
28
|
@dataclass
|
38
29
|
class ClientAction:
|
39
30
|
|
@@ -51,6 +42,15 @@ class ClientAction:
|
|
51
42
|
return ' '.join([f'{str(attr[0])}={str(attr[1])}' for attr in self.attrs])
|
52
43
|
|
53
44
|
|
45
|
+
@dataclass
|
46
|
+
class ClientActionGroup:
|
47
|
+
|
48
|
+
name: str
|
49
|
+
actions: list[ClientAction] = field(default_factory=list)
|
50
|
+
icon: Icon | type[Enum] = None
|
51
|
+
icon_only: bool = False
|
52
|
+
|
53
|
+
|
54
54
|
class TableFieldAlignment(Enum):
|
55
55
|
|
56
56
|
LEFT = 'left'
|
@@ -36,7 +36,7 @@ accrete/contrib/ui/__init__.py,sha256=aeRSerct2JWpztNoxWDZXi7FzJhfxptVMVAZl4Sdzq
|
|
36
36
|
accrete/contrib/ui/admin.py,sha256=suMo4x8I3JBxAFBVIdE-5qnqZ6JAZV0FESABHOSc-vg,63
|
37
37
|
accrete/contrib/ui/apps.py,sha256=E0ao2ox6PQ3ldfeR17FXJUUJuGiWjm2DPCxHbPXGzls,152
|
38
38
|
accrete/contrib/ui/context.py,sha256=jVD7w9QIIA2qh04UrO9rYDDrY-0Osr6FLggMlGxvztI,8364
|
39
|
-
accrete/contrib/ui/elements.py,sha256=
|
39
|
+
accrete/contrib/ui/elements.py,sha256=0F5q0-XLdAWQjdYLMQt6RXqz4xPD_ECrhs0kcBfYkvo,1856
|
40
40
|
accrete/contrib/ui/filter.py,sha256=L7sBpmk454kaSZIQXe9hNj1Xbna8hJ2P-YTvmM7T5FE,12243
|
41
41
|
accrete/contrib/ui/tests.py,sha256=mrbGGRNg5jwbTJtWWa7zSKdDyeB4vmgZCRc2nk6VY-g,60
|
42
42
|
accrete/contrib/ui/urls.py,sha256=TUBlz_CGs9InTZoxM78GSnucA73I8knoh_obt12RUHM,186
|
@@ -219,7 +219,7 @@ accrete/utils/dates.py,sha256=apM6kt6JhGrKgoT0jfav1W-8AUVTxNc9xt3fJQ2n0JI,1492
|
|
219
219
|
accrete/utils/forms.py,sha256=UP6vCCTtXD5MqU2LWbNXtk2ZMMEmoty_tjLCbJlqYsY,2984
|
220
220
|
accrete/utils/http.py,sha256=mAtQRgADv7zu1_j7A-EKVyb-oqa5a21i4Gd0QfjzGV0,3540
|
221
221
|
accrete/utils/models.py,sha256=EEhv7-sQVtQD24PEb3XcDUAh3VVhVFoMMLyFrDjGEaI,706
|
222
|
-
accrete-0.0.
|
223
|
-
accrete-0.0.
|
224
|
-
accrete-0.0.
|
225
|
-
accrete-0.0.
|
222
|
+
accrete-0.0.56.dist-info/METADATA,sha256=B_wB5SK-frLdSHpern7BWrGfaHDlycd0A34UGnkXFY0,4892
|
223
|
+
accrete-0.0.56.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
224
|
+
accrete-0.0.56.dist-info/licenses/LICENSE,sha256=_7laeMIHnsd3Y2vJEXDYXq_PEXxIcjgJsGt8UIKTRWc,1057
|
225
|
+
accrete-0.0.56.dist-info/RECORD,,
|
File without changes
|
File without changes
|