@almadar/std 16.151.0 → 16.152.0
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.
- package/behaviors/lolo/ui/core/atoms/std-browse.lolo +14 -4
- package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +12 -0
- package/behaviors/lolo/ui/game/atoms/ui-draw-group.lolo +54 -0
- package/behaviors/lolo/ui/game/atoms/ui-draw-shape.lolo +6 -1
- package/behaviors/lolo/ui/game/atoms/ui-svg-draw-group.lolo +58 -0
- package/behaviors/lolo/ui/game/atoms/ui-svg-draw-shape.lolo +103 -0
- package/behaviors/lolo/ui/game/atoms/ui-svg-draw-text.lolo +58 -0
- package/behaviors/lolo/ui/game/molecules/ui-draw-shape-layer.lolo +3 -2
- package/behaviors/lolo/ui/game/molecules/ui-svg-draw-shape-layer.lolo +52 -0
- package/behaviors/lolo/ui/game/molecules/ui-svg-stage.lolo +98 -0
- package/behaviors/registry/ui/core/atoms/std-browse.orb +104 -28
- package/behaviors/registry/ui/core/molecules/ui-data-list.orb +21 -0
- package/behaviors/registry/ui/game/atoms/ui-draw-group.orb +196 -0
- package/behaviors/registry/ui/game/atoms/ui-draw-shape.orb +9 -1
- package/behaviors/registry/ui/game/atoms/ui-svg-draw-group.orb +186 -0
- package/behaviors/registry/ui/game/atoms/ui-svg-draw-shape.orb +259 -0
- package/behaviors/registry/ui/game/atoms/ui-svg-draw-text.orb +195 -0
- package/behaviors/registry/ui/game/molecules/ui-draw-shape-layer.orb +9 -1
- package/behaviors/registry/ui/game/molecules/ui-svg-draw-shape-layer.orb +188 -0
- package/behaviors/registry/ui/game/molecules/ui-svg-stage.orb +362 -0
- package/dist/behaviors/behaviors-embeddings.json +511 -487
- package/dist/behaviors/behaviors-registry.json +2277 -341
- package/dist/behaviors/functions/index.d.ts +14 -2
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/knob-embeddings.json +1 -1
- package/dist/behaviors/registry/ui/core/atoms/std-browse.orb +104 -28
- package/dist/behaviors/registry/ui/core/molecules/ui-data-list.orb +21 -0
- package/dist/behaviors/registry/ui/game/atoms/ui-draw-group.orb +196 -0
- package/dist/behaviors/registry/ui/game/atoms/ui-draw-shape.orb +9 -1
- package/dist/behaviors/registry/ui/game/atoms/ui-svg-draw-group.orb +186 -0
- package/dist/behaviors/registry/ui/game/atoms/ui-svg-draw-shape.orb +259 -0
- package/dist/behaviors/registry/ui/game/atoms/ui-svg-draw-text.orb +195 -0
- package/dist/behaviors/registry/ui/game/molecules/ui-draw-shape-layer.orb +9 -1
- package/dist/behaviors/registry/ui/game/molecules/ui-svg-draw-shape-layer.orb +188 -0
- package/dist/behaviors/registry/ui/game/molecules/ui-svg-stage.orb +362 -0
- package/dist/behaviors-embeddings.json +511 -487
- package/dist/behaviors-registry.json +2277 -341
- package/dist/index.d.ts +1 -1
- package/dist/knob-embeddings.json +1 -1
- package/package.json +2 -2
|
@@ -916,6 +916,22 @@
|
|
|
916
916
|
"tier": "internal",
|
|
917
917
|
"type": "string"
|
|
918
918
|
},
|
|
919
|
+
"initialFilterField": {
|
|
920
|
+
"default": "",
|
|
921
|
+
"description": "Name the field the INITIAL load filters on, paired with initialFilterValue. This is the detail half of a list-detail pair: a thread that must wait for a conversation to be picked sets the field to its parent key and leaves the value blank, so the first load matches nothing and the empty state shows instead of every record in the table. REFETCH_FILTER then supplies the real selection. Left blank the first load is unfiltered, which is the default.",
|
|
922
|
+
"label": "Which field does the first load filter on?",
|
|
923
|
+
"synonyms": "initial filter, first load filter, wait for selection, detail pane filter, requires selection, start empty",
|
|
924
|
+
"tier": "policy",
|
|
925
|
+
"type": "string"
|
|
926
|
+
},
|
|
927
|
+
"initialFilterValue": {
|
|
928
|
+
"default": "",
|
|
929
|
+
"description": "The value initialFilterField must equal on the first load. Blank is meaningful: it matches only records whose field is itself blank, which for a detail pane is normally none — that is how a thread stays empty until its parent is selected.",
|
|
930
|
+
"label": "What value does the first load filter for?",
|
|
931
|
+
"synonyms": "initial filter value, first load value, default selection",
|
|
932
|
+
"tier": "policy",
|
|
933
|
+
"type": "string"
|
|
934
|
+
},
|
|
919
935
|
"itemActions": {
|
|
920
936
|
"default": [],
|
|
921
937
|
"description": "Buttons rendered on each row (e.g. Edit, Delete, View).",
|
|
@@ -1638,20 +1654,40 @@
|
|
|
1638
1654
|
"success": "BrowseItemLoaded"
|
|
1639
1655
|
},
|
|
1640
1656
|
"filter": [
|
|
1641
|
-
"
|
|
1657
|
+
"and",
|
|
1642
1658
|
[
|
|
1643
|
-
"
|
|
1644
|
-
|
|
1645
|
-
|
|
1659
|
+
"or",
|
|
1660
|
+
[
|
|
1661
|
+
"=",
|
|
1662
|
+
"@config.scopeField",
|
|
1663
|
+
""
|
|
1664
|
+
],
|
|
1665
|
+
[
|
|
1666
|
+
"=",
|
|
1667
|
+
[
|
|
1668
|
+
"object/get",
|
|
1669
|
+
"@entity",
|
|
1670
|
+
"@config.scopeField"
|
|
1671
|
+
],
|
|
1672
|
+
"@user.id"
|
|
1673
|
+
]
|
|
1646
1674
|
],
|
|
1647
1675
|
[
|
|
1648
|
-
"
|
|
1676
|
+
"or",
|
|
1649
1677
|
[
|
|
1650
|
-
"
|
|
1651
|
-
"@
|
|
1652
|
-
"
|
|
1678
|
+
"=",
|
|
1679
|
+
"@config.initialFilterField",
|
|
1680
|
+
""
|
|
1653
1681
|
],
|
|
1654
|
-
|
|
1682
|
+
[
|
|
1683
|
+
"=",
|
|
1684
|
+
[
|
|
1685
|
+
"object/get",
|
|
1686
|
+
"@entity",
|
|
1687
|
+
"@config.initialFilterField"
|
|
1688
|
+
],
|
|
1689
|
+
"@config.initialFilterValue"
|
|
1690
|
+
]
|
|
1655
1691
|
]
|
|
1656
1692
|
],
|
|
1657
1693
|
"limit": "@config.pageSize",
|
|
@@ -1779,20 +1815,40 @@
|
|
|
1779
1815
|
"success": "BrowseItemLoaded"
|
|
1780
1816
|
},
|
|
1781
1817
|
"filter": [
|
|
1782
|
-
"
|
|
1818
|
+
"and",
|
|
1783
1819
|
[
|
|
1784
|
-
"
|
|
1785
|
-
|
|
1786
|
-
|
|
1820
|
+
"or",
|
|
1821
|
+
[
|
|
1822
|
+
"=",
|
|
1823
|
+
"@config.scopeField",
|
|
1824
|
+
""
|
|
1825
|
+
],
|
|
1826
|
+
[
|
|
1827
|
+
"=",
|
|
1828
|
+
[
|
|
1829
|
+
"object/get",
|
|
1830
|
+
"@entity",
|
|
1831
|
+
"@config.scopeField"
|
|
1832
|
+
],
|
|
1833
|
+
"@user.id"
|
|
1834
|
+
]
|
|
1787
1835
|
],
|
|
1788
1836
|
[
|
|
1789
|
-
"
|
|
1837
|
+
"or",
|
|
1790
1838
|
[
|
|
1791
|
-
"
|
|
1792
|
-
"@
|
|
1793
|
-
"
|
|
1839
|
+
"=",
|
|
1840
|
+
"@config.initialFilterField",
|
|
1841
|
+
""
|
|
1794
1842
|
],
|
|
1795
|
-
|
|
1843
|
+
[
|
|
1844
|
+
"=",
|
|
1845
|
+
[
|
|
1846
|
+
"object/get",
|
|
1847
|
+
"@entity",
|
|
1848
|
+
"@config.initialFilterField"
|
|
1849
|
+
],
|
|
1850
|
+
"@config.initialFilterValue"
|
|
1851
|
+
]
|
|
1796
1852
|
]
|
|
1797
1853
|
],
|
|
1798
1854
|
"limit": "@config.pageSize",
|
|
@@ -2089,20 +2145,40 @@
|
|
|
2089
2145
|
"success": "BrowseItemLoaded"
|
|
2090
2146
|
},
|
|
2091
2147
|
"filter": [
|
|
2092
|
-
"
|
|
2148
|
+
"and",
|
|
2093
2149
|
[
|
|
2094
|
-
"
|
|
2095
|
-
|
|
2096
|
-
|
|
2150
|
+
"or",
|
|
2151
|
+
[
|
|
2152
|
+
"=",
|
|
2153
|
+
"@config.scopeField",
|
|
2154
|
+
""
|
|
2155
|
+
],
|
|
2156
|
+
[
|
|
2157
|
+
"=",
|
|
2158
|
+
[
|
|
2159
|
+
"object/get",
|
|
2160
|
+
"@entity",
|
|
2161
|
+
"@config.scopeField"
|
|
2162
|
+
],
|
|
2163
|
+
"@user.id"
|
|
2164
|
+
]
|
|
2097
2165
|
],
|
|
2098
2166
|
[
|
|
2099
|
-
"
|
|
2167
|
+
"or",
|
|
2100
2168
|
[
|
|
2101
|
-
"
|
|
2102
|
-
"@
|
|
2103
|
-
"
|
|
2169
|
+
"=",
|
|
2170
|
+
"@config.initialFilterField",
|
|
2171
|
+
""
|
|
2104
2172
|
],
|
|
2105
|
-
|
|
2173
|
+
[
|
|
2174
|
+
"=",
|
|
2175
|
+
[
|
|
2176
|
+
"object/get",
|
|
2177
|
+
"@entity",
|
|
2178
|
+
"@config.initialFilterField"
|
|
2179
|
+
],
|
|
2180
|
+
"@config.initialFilterValue"
|
|
2181
|
+
]
|
|
2106
2182
|
]
|
|
2107
2183
|
],
|
|
2108
2184
|
"limit": "@config.pageSize",
|
|
@@ -2153,5 +2229,5 @@
|
|
|
2153
2229
|
}
|
|
2154
2230
|
],
|
|
2155
2231
|
"schemaVersion": 1,
|
|
2156
|
-
"version": "2.
|
|
2232
|
+
"version": "2.5.0"
|
|
2157
2233
|
}
|
|
@@ -489,6 +489,23 @@
|
|
|
489
489
|
"tier": "presentation",
|
|
490
490
|
"type": "string"
|
|
491
491
|
},
|
|
492
|
+
"sortBy": {
|
|
493
|
+
"description": "Field name to order rows by. Values are compared by their own type — numbers numerically, date-like strings chronologically, everything else alphabetically — never by what the field is called. Empty cells sort last. Unset leaves the incoming order untouched. Orders only the rows already fetched: a collection larger than its `limit` still needs ordering at the data layer.",
|
|
494
|
+
"label": "Sort By",
|
|
495
|
+
"tier": "presentation",
|
|
496
|
+
"type": "string"
|
|
497
|
+
},
|
|
498
|
+
"sortDirection": {
|
|
499
|
+
"default": "asc",
|
|
500
|
+
"description": "Direction for `sortBy`. Defaults to ascending.",
|
|
501
|
+
"label": "Sort Direction",
|
|
502
|
+
"tier": "presentation",
|
|
503
|
+
"type": "string",
|
|
504
|
+
"values": [
|
|
505
|
+
"asc",
|
|
506
|
+
"desc"
|
|
507
|
+
]
|
|
508
|
+
},
|
|
492
509
|
"sortable": {
|
|
493
510
|
"description": "Enable in-container reorder; items can be dragged to new positions among siblings",
|
|
494
511
|
"label": "Sortable",
|
|
@@ -873,6 +890,8 @@
|
|
|
873
890
|
"reorderable": "@config.reorderable",
|
|
874
891
|
"senderField": "@config.senderField",
|
|
875
892
|
"senderLabelField": "@config.senderLabelField",
|
|
893
|
+
"sortBy": "@config.sortBy",
|
|
894
|
+
"sortDirection": "@config.sortDirection",
|
|
876
895
|
"sortable": "@config.sortable",
|
|
877
896
|
"swipeLeftActions": "@config.swipeLeftActions",
|
|
878
897
|
"swipeLeftEvent": "@config.swipeLeftEvent",
|
|
@@ -923,6 +942,8 @@
|
|
|
923
942
|
"reorderable": "@config.reorderable",
|
|
924
943
|
"senderField": "@config.senderField",
|
|
925
944
|
"senderLabelField": "@config.senderLabelField",
|
|
945
|
+
"sortBy": "@config.sortBy",
|
|
946
|
+
"sortDirection": "@config.sortDirection",
|
|
926
947
|
"sortable": "@config.sortable",
|
|
927
948
|
"swipeLeftActions": "@config.swipeLeftActions",
|
|
928
949
|
"swipeLeftEvent": "@config.swipeLeftEvent",
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "DrawGroup — UI factory (1:1 with the @almadar/ui draw-group pattern).",
|
|
3
|
+
"ledger": {
|
|
4
|
+
"entries": {
|
|
5
|
+
"ent_01KYMSJ0XC4FZ6XDMWJFY33XPW": {
|
|
6
|
+
"bakedName": "DrawGroupItem",
|
|
7
|
+
"curName": "DrawGroupItem",
|
|
8
|
+
"id": "ent_01KYMSJ0XC4FZ6XDMWJFY33XPW",
|
|
9
|
+
"kind": "entity",
|
|
10
|
+
"owner": "workspace",
|
|
11
|
+
"renames": []
|
|
12
|
+
},
|
|
13
|
+
"evt_01KYMSJ0XCMQ913RB16GM5PWV3": {
|
|
14
|
+
"bakedName": "INIT",
|
|
15
|
+
"curName": "INIT",
|
|
16
|
+
"id": "evt_01KYMSJ0XCMQ913RB16GM5PWV3",
|
|
17
|
+
"kind": "event",
|
|
18
|
+
"owner": "workspace",
|
|
19
|
+
"parent": "trt_01KYMSJ0XCXD36RE50XVZ2PJDP",
|
|
20
|
+
"renames": []
|
|
21
|
+
},
|
|
22
|
+
"orb_01KYMSJ0XCK8CKQ75MKSNFD3JY": {
|
|
23
|
+
"bakedName": "DrawGroupOrbital",
|
|
24
|
+
"curName": "DrawGroupOrbital",
|
|
25
|
+
"id": "orb_01KYMSJ0XCK8CKQ75MKSNFD3JY",
|
|
26
|
+
"kind": "orbital",
|
|
27
|
+
"owner": "workspace",
|
|
28
|
+
"renames": []
|
|
29
|
+
},
|
|
30
|
+
"pag_01KYMSJ0XGAMW6KQFWSN214CQZ": {
|
|
31
|
+
"bakedName": "DrawGroupPage",
|
|
32
|
+
"curName": "DrawGroupPage",
|
|
33
|
+
"id": "pag_01KYMSJ0XGAMW6KQFWSN214CQZ",
|
|
34
|
+
"kind": "page",
|
|
35
|
+
"owner": "workspace",
|
|
36
|
+
"renames": []
|
|
37
|
+
},
|
|
38
|
+
"trt_01KYMSJ0XCXD36RE50XVZ2PJDP": {
|
|
39
|
+
"bakedName": "DrawGroupRender",
|
|
40
|
+
"curName": "DrawGroupRender",
|
|
41
|
+
"id": "trt_01KYMSJ0XCXD36RE50XVZ2PJDP",
|
|
42
|
+
"kind": "trait",
|
|
43
|
+
"owner": "workspace",
|
|
44
|
+
"renames": []
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"schemaVersion": 1
|
|
48
|
+
},
|
|
49
|
+
"name": "ui-draw-group",
|
|
50
|
+
"orbitals": [
|
|
51
|
+
{
|
|
52
|
+
"entity": {
|
|
53
|
+
"fields": [
|
|
54
|
+
{
|
|
55
|
+
"name": "id",
|
|
56
|
+
"required": true,
|
|
57
|
+
"type": "string"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"id": "ent_01KYMSJ0XC4FZ6XDMWJFY33XPW",
|
|
61
|
+
"name": "DrawGroupItem",
|
|
62
|
+
"persistence": "runtime"
|
|
63
|
+
},
|
|
64
|
+
"id": "orb_01KYMSJ0XCK8CKQ75MKSNFD3JY",
|
|
65
|
+
"name": "DrawGroupOrbital",
|
|
66
|
+
"pages": [
|
|
67
|
+
{
|
|
68
|
+
"id": "pag_01KYMSJ0XGAMW6KQFWSN214CQZ",
|
|
69
|
+
"name": "DrawGroupPage",
|
|
70
|
+
"path": "/draw-group",
|
|
71
|
+
"traits": [
|
|
72
|
+
{
|
|
73
|
+
"ref": "DrawGroupRender",
|
|
74
|
+
"refId": "trt_01KYMSJ0XCXD36RE50XVZ2PJDP"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"traits": [
|
|
80
|
+
{
|
|
81
|
+
"category": "interaction",
|
|
82
|
+
"config": {
|
|
83
|
+
"items": {
|
|
84
|
+
"default": [],
|
|
85
|
+
"description": "The grouped drawables, painted through the normal dispatch.",
|
|
86
|
+
"items": {
|
|
87
|
+
"type": "object"
|
|
88
|
+
},
|
|
89
|
+
"label": "Items",
|
|
90
|
+
"tier": "presentation",
|
|
91
|
+
"type": "[json]"
|
|
92
|
+
},
|
|
93
|
+
"opacity": {
|
|
94
|
+
"description": "0..1 opacity.",
|
|
95
|
+
"label": "Opacity",
|
|
96
|
+
"tier": "presentation",
|
|
97
|
+
"type": "number"
|
|
98
|
+
},
|
|
99
|
+
"position": {
|
|
100
|
+
"default": {
|
|
101
|
+
"x": 1.0,
|
|
102
|
+
"y": 1.0,
|
|
103
|
+
"z": 1.0
|
|
104
|
+
},
|
|
105
|
+
"description": "Logical scene position; the projector maps it to pixels / world.",
|
|
106
|
+
"label": "Position",
|
|
107
|
+
"properties": {
|
|
108
|
+
"x": {
|
|
109
|
+
"name": "x",
|
|
110
|
+
"required": true,
|
|
111
|
+
"type": "number"
|
|
112
|
+
},
|
|
113
|
+
"y": {
|
|
114
|
+
"name": "y",
|
|
115
|
+
"required": true,
|
|
116
|
+
"type": "number"
|
|
117
|
+
},
|
|
118
|
+
"z": {
|
|
119
|
+
"name": "z",
|
|
120
|
+
"required": false,
|
|
121
|
+
"type": "number"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"tier": "presentation",
|
|
125
|
+
"type": "DrawGroupPosition"
|
|
126
|
+
},
|
|
127
|
+
"rotate": {
|
|
128
|
+
"description": "Rotation in radians (painter units).",
|
|
129
|
+
"label": "Rotate",
|
|
130
|
+
"tier": "presentation",
|
|
131
|
+
"type": "number"
|
|
132
|
+
},
|
|
133
|
+
"scale": {
|
|
134
|
+
"description": "Uniform scale applied to the whole group.",
|
|
135
|
+
"label": "Scale",
|
|
136
|
+
"tier": "presentation",
|
|
137
|
+
"type": "number"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"entityContract": {
|
|
141
|
+
"provides": [],
|
|
142
|
+
"requires": []
|
|
143
|
+
},
|
|
144
|
+
"entityRebindable": true,
|
|
145
|
+
"entityRefIds": {
|
|
146
|
+
"DrawGroupItem": "ent_01KYMSJ0XC4FZ6XDMWJFY33XPW"
|
|
147
|
+
},
|
|
148
|
+
"id": "trt_01KYMSJ0XCXD36RE50XVZ2PJDP",
|
|
149
|
+
"linkedEntity": "DrawGroupItem",
|
|
150
|
+
"linkedEntityId": "ent_01KYMSJ0XC4FZ6XDMWJFY33XPW",
|
|
151
|
+
"name": "DrawGroupRender",
|
|
152
|
+
"scope": "instance",
|
|
153
|
+
"stateMachine": {
|
|
154
|
+
"events": [
|
|
155
|
+
{
|
|
156
|
+
"id": "evt_01KYMSJ0XCMQ913RB16GM5PWV3",
|
|
157
|
+
"key": "INIT",
|
|
158
|
+
"name": "Initialize"
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"states": [
|
|
162
|
+
{
|
|
163
|
+
"isInitial": true,
|
|
164
|
+
"name": "idle"
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"transitions": [
|
|
168
|
+
{
|
|
169
|
+
"effects": [
|
|
170
|
+
[
|
|
171
|
+
"render-ui",
|
|
172
|
+
"main",
|
|
173
|
+
{
|
|
174
|
+
"items": "@config.items",
|
|
175
|
+
"opacity": "@config.opacity",
|
|
176
|
+
"position": "@config.position",
|
|
177
|
+
"rotate": "@config.rotate",
|
|
178
|
+
"scale": "@config.scale",
|
|
179
|
+
"type": "draw-group"
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
],
|
|
183
|
+
"event": "INIT",
|
|
184
|
+
"eventId": "evt_01KYMSJ0XCMQ913RB16GM5PWV3",
|
|
185
|
+
"from": "idle",
|
|
186
|
+
"to": "idle"
|
|
187
|
+
}
|
|
188
|
+
]
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"schemaVersion": 1,
|
|
195
|
+
"version": "1.0.0"
|
|
196
|
+
}
|
|
@@ -87,6 +87,12 @@
|
|
|
87
87
|
"tier": "presentation",
|
|
88
88
|
"type": "json"
|
|
89
89
|
},
|
|
90
|
+
"d": {
|
|
91
|
+
"description": "SVG path data in world units relative to the cell's projected top-left — same coordinate convention as `points`.",
|
|
92
|
+
"label": "D",
|
|
93
|
+
"tier": "presentation",
|
|
94
|
+
"type": "string"
|
|
95
|
+
},
|
|
90
96
|
"fill": {
|
|
91
97
|
"description": "fill prop",
|
|
92
98
|
"label": "Fill",
|
|
@@ -177,7 +183,8 @@
|
|
|
177
183
|
"cell",
|
|
178
184
|
"rect",
|
|
179
185
|
"ellipse",
|
|
180
|
-
"poly"
|
|
186
|
+
"poly",
|
|
187
|
+
"path"
|
|
181
188
|
]
|
|
182
189
|
},
|
|
183
190
|
"stroke": {
|
|
@@ -234,6 +241,7 @@
|
|
|
234
241
|
"main",
|
|
235
242
|
{
|
|
236
243
|
"anchor": "@config.anchor",
|
|
244
|
+
"d": "@config.d",
|
|
237
245
|
"fill": "@config.fill",
|
|
238
246
|
"height": "@config.height",
|
|
239
247
|
"offsetX": "@config.offsetX",
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "SvgDrawGroup — UI factory (1:1 with the @almadar/ui svg-draw-group pattern).",
|
|
3
|
+
"ledger": {
|
|
4
|
+
"entries": {
|
|
5
|
+
"ent_01KYMKTF35MDDAS1R74C2SG6T5": {
|
|
6
|
+
"bakedName": "SvgDrawGroupItem",
|
|
7
|
+
"curName": "SvgDrawGroupItem",
|
|
8
|
+
"id": "ent_01KYMKTF35MDDAS1R74C2SG6T5",
|
|
9
|
+
"kind": "entity",
|
|
10
|
+
"owner": "workspace",
|
|
11
|
+
"renames": []
|
|
12
|
+
},
|
|
13
|
+
"evt_01KYMKTF3562FXPARGCC220TWE": {
|
|
14
|
+
"bakedName": "INIT",
|
|
15
|
+
"curName": "INIT",
|
|
16
|
+
"id": "evt_01KYMKTF3562FXPARGCC220TWE",
|
|
17
|
+
"kind": "event",
|
|
18
|
+
"owner": "workspace",
|
|
19
|
+
"parent": "trt_01KYMKTF35P7FYP2AJB4689VCN",
|
|
20
|
+
"renames": []
|
|
21
|
+
},
|
|
22
|
+
"orb_01KYMKTF35FTQ5Y8HCZBQPYVZ4": {
|
|
23
|
+
"bakedName": "SvgDrawGroupOrbital",
|
|
24
|
+
"curName": "SvgDrawGroupOrbital",
|
|
25
|
+
"id": "orb_01KYMKTF35FTQ5Y8HCZBQPYVZ4",
|
|
26
|
+
"kind": "orbital",
|
|
27
|
+
"owner": "workspace",
|
|
28
|
+
"renames": []
|
|
29
|
+
},
|
|
30
|
+
"pag_01KYMKTF36J0SESNTGYJ55AZTF": {
|
|
31
|
+
"bakedName": "SvgDrawGroupPage",
|
|
32
|
+
"curName": "SvgDrawGroupPage",
|
|
33
|
+
"id": "pag_01KYMKTF36J0SESNTGYJ55AZTF",
|
|
34
|
+
"kind": "page",
|
|
35
|
+
"owner": "workspace",
|
|
36
|
+
"renames": []
|
|
37
|
+
},
|
|
38
|
+
"trt_01KYMKTF35P7FYP2AJB4689VCN": {
|
|
39
|
+
"bakedName": "SvgDrawGroupRender",
|
|
40
|
+
"curName": "SvgDrawGroupRender",
|
|
41
|
+
"id": "trt_01KYMKTF35P7FYP2AJB4689VCN",
|
|
42
|
+
"kind": "trait",
|
|
43
|
+
"owner": "workspace",
|
|
44
|
+
"renames": []
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"schemaVersion": 1
|
|
48
|
+
},
|
|
49
|
+
"name": "ui-svg-draw-group",
|
|
50
|
+
"orbitals": [
|
|
51
|
+
{
|
|
52
|
+
"entity": {
|
|
53
|
+
"fields": [
|
|
54
|
+
{
|
|
55
|
+
"name": "id",
|
|
56
|
+
"required": true,
|
|
57
|
+
"type": "string"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"id": "ent_01KYMKTF35MDDAS1R74C2SG6T5",
|
|
61
|
+
"name": "SvgDrawGroupItem",
|
|
62
|
+
"persistence": "runtime"
|
|
63
|
+
},
|
|
64
|
+
"id": "orb_01KYMKTF35FTQ5Y8HCZBQPYVZ4",
|
|
65
|
+
"name": "SvgDrawGroupOrbital",
|
|
66
|
+
"pages": [
|
|
67
|
+
{
|
|
68
|
+
"id": "pag_01KYMKTF36J0SESNTGYJ55AZTF",
|
|
69
|
+
"name": "SvgDrawGroupPage",
|
|
70
|
+
"path": "/svg-draw-group",
|
|
71
|
+
"traits": [
|
|
72
|
+
{
|
|
73
|
+
"ref": "SvgDrawGroupRender",
|
|
74
|
+
"refId": "trt_01KYMKTF35P7FYP2AJB4689VCN"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"traits": [
|
|
80
|
+
{
|
|
81
|
+
"category": "interaction",
|
|
82
|
+
"config": {
|
|
83
|
+
"children": {
|
|
84
|
+
"description": "children prop",
|
|
85
|
+
"label": "Children",
|
|
86
|
+
"tier": "presentation",
|
|
87
|
+
"type": "node"
|
|
88
|
+
},
|
|
89
|
+
"className": {
|
|
90
|
+
"description": "Additional CSS classes",
|
|
91
|
+
"label": "Class Name",
|
|
92
|
+
"tier": "presentation",
|
|
93
|
+
"type": "string"
|
|
94
|
+
},
|
|
95
|
+
"opacity": {
|
|
96
|
+
"description": "0..1 opacity.",
|
|
97
|
+
"label": "Opacity",
|
|
98
|
+
"tier": "presentation",
|
|
99
|
+
"type": "number"
|
|
100
|
+
},
|
|
101
|
+
"rotate": {
|
|
102
|
+
"description": "Rotation in degrees applied after the translate.",
|
|
103
|
+
"label": "Rotate",
|
|
104
|
+
"tier": "presentation",
|
|
105
|
+
"type": "number"
|
|
106
|
+
},
|
|
107
|
+
"scale": {
|
|
108
|
+
"description": "Uniform scale applied after the translate.",
|
|
109
|
+
"label": "Scale",
|
|
110
|
+
"tier": "presentation",
|
|
111
|
+
"type": "number"
|
|
112
|
+
},
|
|
113
|
+
"x": {
|
|
114
|
+
"default": 0.0,
|
|
115
|
+
"description": "Grid-cell x of the group's origin.",
|
|
116
|
+
"label": "X",
|
|
117
|
+
"tier": "presentation",
|
|
118
|
+
"type": "number"
|
|
119
|
+
},
|
|
120
|
+
"y": {
|
|
121
|
+
"default": 0.0,
|
|
122
|
+
"description": "Grid-cell y of the group's origin.",
|
|
123
|
+
"label": "Y",
|
|
124
|
+
"tier": "presentation",
|
|
125
|
+
"type": "number"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"entityContract": {
|
|
129
|
+
"provides": [],
|
|
130
|
+
"requires": []
|
|
131
|
+
},
|
|
132
|
+
"entityRebindable": true,
|
|
133
|
+
"entityRefIds": {
|
|
134
|
+
"SvgDrawGroupItem": "ent_01KYMKTF35MDDAS1R74C2SG6T5"
|
|
135
|
+
},
|
|
136
|
+
"id": "trt_01KYMKTF35P7FYP2AJB4689VCN",
|
|
137
|
+
"linkedEntity": "SvgDrawGroupItem",
|
|
138
|
+
"linkedEntityId": "ent_01KYMKTF35MDDAS1R74C2SG6T5",
|
|
139
|
+
"name": "SvgDrawGroupRender",
|
|
140
|
+
"scope": "instance",
|
|
141
|
+
"stateMachine": {
|
|
142
|
+
"events": [
|
|
143
|
+
{
|
|
144
|
+
"id": "evt_01KYMKTF3562FXPARGCC220TWE",
|
|
145
|
+
"key": "INIT",
|
|
146
|
+
"name": "Initialize"
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
"states": [
|
|
150
|
+
{
|
|
151
|
+
"isInitial": true,
|
|
152
|
+
"name": "idle"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"transitions": [
|
|
156
|
+
{
|
|
157
|
+
"effects": [
|
|
158
|
+
[
|
|
159
|
+
"render-ui",
|
|
160
|
+
"main",
|
|
161
|
+
{
|
|
162
|
+
"children": "@config.children",
|
|
163
|
+
"className": "@config.className",
|
|
164
|
+
"opacity": "@config.opacity",
|
|
165
|
+
"rotate": "@config.rotate",
|
|
166
|
+
"scale": "@config.scale",
|
|
167
|
+
"type": "svg-draw-group",
|
|
168
|
+
"x": "@config.x",
|
|
169
|
+
"y": "@config.y"
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
],
|
|
173
|
+
"event": "INIT",
|
|
174
|
+
"eventId": "evt_01KYMKTF3562FXPARGCC220TWE",
|
|
175
|
+
"from": "idle",
|
|
176
|
+
"to": "idle"
|
|
177
|
+
}
|
|
178
|
+
]
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"schemaVersion": 1,
|
|
185
|
+
"version": "1.0.0"
|
|
186
|
+
}
|