@almadar/std 6.3.0 → 6.4.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/registry/atoms/std-push.orb +252 -0
- package/behaviors/registry/atoms/std-related.orb +130 -0
- package/behaviors/registry/molecules/std-batch-selected-list.orb +131 -0
- package/behaviors/registry/molecules/std-calendar-booking.orb +115 -0
- package/behaviors/registry/molecules/std-dashboard-tabbed.orb +126 -0
- package/behaviors/registry/molecules/std-drawer-master-list.orb +123 -0
- package/behaviors/registry/molecules/std-filtered-list.orb +135 -0
- package/behaviors/registry/molecules/std-gallery-filtered.orb +124 -0
- package/behaviors/registry/molecules/std-push-activity-log.orb +107 -0
- package/behaviors/registry/molecules/std-related-master-detail.orb +119 -0
- package/behaviors/registry/molecules/std-wizard-form.orb +115 -0
- package/dist/behaviors/behaviors-registry.json +1038 -6250
- package/dist/behaviors/registry/atoms/std-push.orb +252 -0
- package/dist/behaviors/registry/atoms/std-related.orb +130 -0
- package/dist/behaviors/registry/molecules/std-batch-selected-list.orb +131 -0
- package/dist/behaviors/registry/molecules/std-calendar-booking.orb +115 -0
- package/dist/behaviors/registry/molecules/std-dashboard-tabbed.orb +126 -0
- package/dist/behaviors/registry/molecules/std-drawer-master-list.orb +123 -0
- package/dist/behaviors/registry/molecules/std-filtered-list.orb +135 -0
- package/dist/behaviors/registry/molecules/std-gallery-filtered.orb +124 -0
- package/dist/behaviors/registry/molecules/std-push-activity-log.orb +107 -0
- package/dist/behaviors/registry/molecules/std-related-master-detail.orb +119 -0
- package/dist/behaviors/registry/molecules/std-wizard-form.orb +115 -0
- package/dist/behaviors-registry.json +1038 -6250
- package/package.json +1 -1
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "std-dashboard-tabbed",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Tabbed dashboard: Tabs over 3 Display panels composed via @trait.X (two-hop).",
|
|
5
|
+
"orbitals": [
|
|
6
|
+
{
|
|
7
|
+
"name": "DashboardTabbedOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-tabs",
|
|
11
|
+
"as": "Tabs"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"from": "std/behaviors/std-display",
|
|
15
|
+
"as": "Display"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"entity": {
|
|
19
|
+
"name": "DashboardItem",
|
|
20
|
+
"collection": "dashboarditems",
|
|
21
|
+
"persistence": "persistent",
|
|
22
|
+
"fields": [
|
|
23
|
+
{
|
|
24
|
+
"name": "id",
|
|
25
|
+
"type": "string",
|
|
26
|
+
"required": true
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "name",
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "value",
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "tab",
|
|
38
|
+
"type": "string"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"traits": [
|
|
43
|
+
{
|
|
44
|
+
"ref": "Tabs.traits.TabContentTabs",
|
|
45
|
+
"name": "DashboardTabs",
|
|
46
|
+
"linkedEntity": "DashboardItem"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"ref": "Display.traits.DisplayItemDisplay",
|
|
50
|
+
"name": "DashboardSummary",
|
|
51
|
+
"linkedEntity": "DashboardItem"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"ref": "Display.traits.DisplayItemDisplay",
|
|
55
|
+
"name": "DashboardMetrics",
|
|
56
|
+
"linkedEntity": "DashboardItem"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"ref": "Display.traits.DisplayItemDisplay",
|
|
60
|
+
"name": "DashboardRecent",
|
|
61
|
+
"linkedEntity": "DashboardItem"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "DashboardLayout",
|
|
65
|
+
"category": "interaction",
|
|
66
|
+
"linkedEntity": "DashboardItem",
|
|
67
|
+
"stateMachine": {
|
|
68
|
+
"states": [
|
|
69
|
+
{
|
|
70
|
+
"name": "composing",
|
|
71
|
+
"isInitial": true
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"events": [
|
|
75
|
+
{
|
|
76
|
+
"key": "INIT"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"transitions": [
|
|
80
|
+
{
|
|
81
|
+
"from": "composing",
|
|
82
|
+
"to": "composing",
|
|
83
|
+
"event": "INIT",
|
|
84
|
+
"effects": [
|
|
85
|
+
[
|
|
86
|
+
"render-ui",
|
|
87
|
+
"main",
|
|
88
|
+
{
|
|
89
|
+
"children": [
|
|
90
|
+
"@trait.DashboardTabs",
|
|
91
|
+
{
|
|
92
|
+
"direction": "horizontal",
|
|
93
|
+
"type": "stack",
|
|
94
|
+
"gap": "md",
|
|
95
|
+
"children": [
|
|
96
|
+
"@trait.DashboardSummary",
|
|
97
|
+
"@trait.DashboardMetrics",
|
|
98
|
+
"@trait.DashboardRecent"
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"gap": "md",
|
|
103
|
+
"type": "stack",
|
|
104
|
+
"direction": "vertical"
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
],
|
|
113
|
+
"pages": [
|
|
114
|
+
{
|
|
115
|
+
"name": "Dashboard",
|
|
116
|
+
"path": "/dashboard",
|
|
117
|
+
"traits": [
|
|
118
|
+
{
|
|
119
|
+
"ref": "DashboardLayout"
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "std-drawer-master-list",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Master-drawer: Browse left + Drawer right, composed via @trait.X.",
|
|
5
|
+
"orbitals": [
|
|
6
|
+
{
|
|
7
|
+
"name": "DrawerMasterOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-browse",
|
|
11
|
+
"as": "Browse"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"from": "std/behaviors/std-drawer",
|
|
15
|
+
"as": "Drawer"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"entity": {
|
|
19
|
+
"name": "DrawerMasterItem",
|
|
20
|
+
"collection": "drawermasteritems",
|
|
21
|
+
"persistence": "persistent",
|
|
22
|
+
"fields": [
|
|
23
|
+
{
|
|
24
|
+
"name": "id",
|
|
25
|
+
"type": "string",
|
|
26
|
+
"required": true
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "name",
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "description",
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "status",
|
|
38
|
+
"type": "string"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"traits": [
|
|
43
|
+
{
|
|
44
|
+
"ref": "Browse.traits.BrowseItemBrowse",
|
|
45
|
+
"name": "DrawerMasterBrowse",
|
|
46
|
+
"linkedEntity": "DrawerMasterItem"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"ref": "Drawer.traits.DrawerContentDrawer",
|
|
50
|
+
"name": "DrawerMasterDrawer",
|
|
51
|
+
"linkedEntity": "DrawerMasterItem"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "DrawerMasterLayout",
|
|
55
|
+
"category": "interaction",
|
|
56
|
+
"linkedEntity": "DrawerMasterItem",
|
|
57
|
+
"stateMachine": {
|
|
58
|
+
"states": [
|
|
59
|
+
{
|
|
60
|
+
"name": "composing",
|
|
61
|
+
"isInitial": true
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"events": [
|
|
65
|
+
{
|
|
66
|
+
"key": "INIT"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"transitions": [
|
|
70
|
+
{
|
|
71
|
+
"from": "composing",
|
|
72
|
+
"to": "composing",
|
|
73
|
+
"event": "INIT",
|
|
74
|
+
"effects": [
|
|
75
|
+
[
|
|
76
|
+
"render-ui",
|
|
77
|
+
"main",
|
|
78
|
+
{
|
|
79
|
+
"gap": "md",
|
|
80
|
+
"direction": "horizontal",
|
|
81
|
+
"children": [
|
|
82
|
+
{
|
|
83
|
+
"type": "box",
|
|
84
|
+
"style": {
|
|
85
|
+
"flex": "3"
|
|
86
|
+
},
|
|
87
|
+
"children": [
|
|
88
|
+
"@trait.DrawerMasterBrowse"
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"children": [
|
|
93
|
+
"@trait.DrawerMasterDrawer"
|
|
94
|
+
],
|
|
95
|
+
"type": "box",
|
|
96
|
+
"style": {
|
|
97
|
+
"flex": "2"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"type": "stack"
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"pages": [
|
|
111
|
+
{
|
|
112
|
+
"name": "DrawerMaster",
|
|
113
|
+
"path": "/drawer-master",
|
|
114
|
+
"traits": [
|
|
115
|
+
{
|
|
116
|
+
"ref": "DrawerMasterLayout"
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "std-filtered-list",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Filtered list molecule composing Search + Filter + Browse + Pagination via @trait.X in a vstack. Showcases intra-frame composition.",
|
|
5
|
+
"orbitals": [
|
|
6
|
+
{
|
|
7
|
+
"name": "FilteredListItemOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-search",
|
|
11
|
+
"as": "Search"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"from": "std/behaviors/std-filter",
|
|
15
|
+
"as": "Filter"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"from": "std/behaviors/std-browse",
|
|
19
|
+
"as": "Browse"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"from": "std/behaviors/std-pagination",
|
|
23
|
+
"as": "Pagination"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"entity": {
|
|
27
|
+
"name": "FilteredListItem",
|
|
28
|
+
"collection": "filteredlistitems",
|
|
29
|
+
"persistence": "persistent",
|
|
30
|
+
"fields": [
|
|
31
|
+
{
|
|
32
|
+
"name": "id",
|
|
33
|
+
"type": "string",
|
|
34
|
+
"required": true
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "name",
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "description",
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "status",
|
|
46
|
+
"type": "string"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"traits": [
|
|
51
|
+
{
|
|
52
|
+
"ref": "Search.traits.SearchResultSearch",
|
|
53
|
+
"name": "FilteredItemSearch",
|
|
54
|
+
"linkedEntity": "FilteredListItem"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"ref": "Filter.traits.FilterTargetFilter",
|
|
58
|
+
"name": "FilteredItemFilter",
|
|
59
|
+
"linkedEntity": "FilteredListItem"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"ref": "Browse.traits.BrowseItemBrowse",
|
|
63
|
+
"name": "FilteredItemBrowse",
|
|
64
|
+
"linkedEntity": "FilteredListItem"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"ref": "Pagination.traits.PagedItemPagination",
|
|
68
|
+
"name": "FilteredItemPagination",
|
|
69
|
+
"linkedEntity": "FilteredListItem"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "FilteredListLayout",
|
|
73
|
+
"category": "interaction",
|
|
74
|
+
"linkedEntity": "FilteredListItem",
|
|
75
|
+
"stateMachine": {
|
|
76
|
+
"states": [
|
|
77
|
+
{
|
|
78
|
+
"name": "composing",
|
|
79
|
+
"isInitial": true
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"events": [
|
|
83
|
+
{
|
|
84
|
+
"key": "INIT"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"transitions": [
|
|
88
|
+
{
|
|
89
|
+
"from": "composing",
|
|
90
|
+
"to": "composing",
|
|
91
|
+
"event": "INIT",
|
|
92
|
+
"effects": [
|
|
93
|
+
[
|
|
94
|
+
"render-ui",
|
|
95
|
+
"main",
|
|
96
|
+
{
|
|
97
|
+
"gap": "md",
|
|
98
|
+
"type": "stack",
|
|
99
|
+
"children": [
|
|
100
|
+
{
|
|
101
|
+
"direction": "horizontal",
|
|
102
|
+
"gap": "sm",
|
|
103
|
+
"type": "stack",
|
|
104
|
+
"children": [
|
|
105
|
+
"@trait.FilteredItemSearch",
|
|
106
|
+
"@trait.FilteredItemFilter"
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
"@trait.FilteredItemBrowse",
|
|
110
|
+
"@trait.FilteredItemPagination"
|
|
111
|
+
],
|
|
112
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
113
|
+
"direction": "vertical"
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
]
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"pages": [
|
|
123
|
+
{
|
|
124
|
+
"name": "FilteredList",
|
|
125
|
+
"path": "/filtered-list",
|
|
126
|
+
"traits": [
|
|
127
|
+
{
|
|
128
|
+
"ref": "FilteredListLayout"
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
]
|
|
133
|
+
}
|
|
134
|
+
]
|
|
135
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "std-gallery-filtered",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Filtered gallery: Search + Filter atop a Gallery, composed via @trait.X.",
|
|
5
|
+
"orbitals": [
|
|
6
|
+
{
|
|
7
|
+
"name": "GalleryFilteredOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-gallery",
|
|
11
|
+
"as": "Gallery"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"from": "std/behaviors/std-filter",
|
|
15
|
+
"as": "Filter"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"from": "std/behaviors/std-search",
|
|
19
|
+
"as": "Search"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"entity": {
|
|
23
|
+
"name": "GalleryFilteredItem",
|
|
24
|
+
"collection": "galleryfiltereditems",
|
|
25
|
+
"persistence": "persistent",
|
|
26
|
+
"fields": [
|
|
27
|
+
{
|
|
28
|
+
"name": "id",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"required": true
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "name",
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "imageUrl",
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "tags",
|
|
42
|
+
"type": "string"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"traits": [
|
|
47
|
+
{
|
|
48
|
+
"ref": "Search.traits.SearchResultSearch",
|
|
49
|
+
"name": "GalleryFilteredSearch",
|
|
50
|
+
"linkedEntity": "GalleryFilteredItem"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"ref": "Filter.traits.FilterTargetFilter",
|
|
54
|
+
"name": "GalleryFilteredFilter",
|
|
55
|
+
"linkedEntity": "GalleryFilteredItem"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"ref": "Gallery.traits.GalleryItemGallery",
|
|
59
|
+
"name": "GalleryFilteredGallery",
|
|
60
|
+
"linkedEntity": "GalleryFilteredItem"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "GalleryFilteredLayout",
|
|
64
|
+
"category": "interaction",
|
|
65
|
+
"linkedEntity": "GalleryFilteredItem",
|
|
66
|
+
"stateMachine": {
|
|
67
|
+
"states": [
|
|
68
|
+
{
|
|
69
|
+
"name": "composing",
|
|
70
|
+
"isInitial": true
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"events": [
|
|
74
|
+
{
|
|
75
|
+
"key": "INIT"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"transitions": [
|
|
79
|
+
{
|
|
80
|
+
"from": "composing",
|
|
81
|
+
"to": "composing",
|
|
82
|
+
"event": "INIT",
|
|
83
|
+
"effects": [
|
|
84
|
+
[
|
|
85
|
+
"render-ui",
|
|
86
|
+
"main",
|
|
87
|
+
{
|
|
88
|
+
"gap": "md",
|
|
89
|
+
"direction": "vertical",
|
|
90
|
+
"children": [
|
|
91
|
+
{
|
|
92
|
+
"gap": "sm",
|
|
93
|
+
"children": [
|
|
94
|
+
"@trait.GalleryFilteredSearch",
|
|
95
|
+
"@trait.GalleryFilteredFilter"
|
|
96
|
+
],
|
|
97
|
+
"type": "stack",
|
|
98
|
+
"direction": "horizontal"
|
|
99
|
+
},
|
|
100
|
+
"@trait.GalleryFilteredGallery"
|
|
101
|
+
],
|
|
102
|
+
"type": "stack"
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"pages": [
|
|
112
|
+
{
|
|
113
|
+
"name": "Gallery",
|
|
114
|
+
"path": "/gallery",
|
|
115
|
+
"traits": [
|
|
116
|
+
{
|
|
117
|
+
"ref": "GalleryFilteredLayout"
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "std-push-activity-log",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Push + activity log: PushIndicator status + ActivityLog of received messages, composed via @trait.X.",
|
|
5
|
+
"orbitals": [
|
|
6
|
+
{
|
|
7
|
+
"name": "PushActivityLogOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-push",
|
|
11
|
+
"as": "Push"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"from": "std/behaviors/std-agent-activity-log",
|
|
15
|
+
"as": "ActivityLog"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"entity": {
|
|
19
|
+
"name": "PushActivityItem",
|
|
20
|
+
"collection": "pushactivityitems",
|
|
21
|
+
"persistence": "persistent",
|
|
22
|
+
"fields": [
|
|
23
|
+
{
|
|
24
|
+
"name": "id",
|
|
25
|
+
"type": "string",
|
|
26
|
+
"required": true
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "event",
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "receivedAt",
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "payload",
|
|
38
|
+
"type": "string"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"traits": [
|
|
43
|
+
{
|
|
44
|
+
"ref": "Push.traits.PushSubscriberIndicator",
|
|
45
|
+
"name": "PushActivityPush",
|
|
46
|
+
"linkedEntity": "PushActivityItem"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"ref": "ActivityLog.traits.AgentActivityLogLog",
|
|
50
|
+
"name": "PushActivityLog",
|
|
51
|
+
"linkedEntity": "PushActivityItem"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "PushActivityLayout",
|
|
55
|
+
"category": "interaction",
|
|
56
|
+
"linkedEntity": "PushActivityItem",
|
|
57
|
+
"stateMachine": {
|
|
58
|
+
"states": [
|
|
59
|
+
{
|
|
60
|
+
"name": "composing",
|
|
61
|
+
"isInitial": true
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"events": [
|
|
65
|
+
{
|
|
66
|
+
"key": "INIT"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"transitions": [
|
|
70
|
+
{
|
|
71
|
+
"from": "composing",
|
|
72
|
+
"to": "composing",
|
|
73
|
+
"event": "INIT",
|
|
74
|
+
"effects": [
|
|
75
|
+
[
|
|
76
|
+
"render-ui",
|
|
77
|
+
"main",
|
|
78
|
+
{
|
|
79
|
+
"direction": "vertical",
|
|
80
|
+
"children": [
|
|
81
|
+
"@trait.PushActivityPush",
|
|
82
|
+
"@trait.PushActivityLog"
|
|
83
|
+
],
|
|
84
|
+
"type": "stack",
|
|
85
|
+
"gap": "md"
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"pages": [
|
|
95
|
+
{
|
|
96
|
+
"name": "PushActivity",
|
|
97
|
+
"path": "/push-activity",
|
|
98
|
+
"traits": [
|
|
99
|
+
{
|
|
100
|
+
"ref": "PushActivityLayout"
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
}
|