@almadar/std 14.2.0 → 14.3.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/app/organisms/std-cms.orb +639 -519
- package/behaviors/registry/core/molecules/std-app-layout.orb +60 -18
- package/dist/behaviors/registry/app/organisms/std-cms.orb +639 -519
- package/dist/behaviors/registry/core/molecules/std-app-layout.orb +60 -18
- package/package.json +1 -1
|
@@ -20,6 +20,28 @@
|
|
|
20
20
|
{
|
|
21
21
|
"name": "AppLayout",
|
|
22
22
|
"category": "interaction",
|
|
23
|
+
"emits": [
|
|
24
|
+
{
|
|
25
|
+
"event": "SEARCH",
|
|
26
|
+
"scope": "external",
|
|
27
|
+
"payloadSchema": [
|
|
28
|
+
{
|
|
29
|
+
"name": "value",
|
|
30
|
+
"type": "string"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"event": "NOTIFY_CLICK",
|
|
36
|
+
"scope": "external",
|
|
37
|
+
"payloadSchema": [
|
|
38
|
+
{
|
|
39
|
+
"name": "id",
|
|
40
|
+
"type": "string"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
],
|
|
23
45
|
"stateMachine": {
|
|
24
46
|
"states": [
|
|
25
47
|
{
|
|
@@ -31,6 +53,14 @@
|
|
|
31
53
|
{
|
|
32
54
|
"key": "INIT",
|
|
33
55
|
"name": "Initialize"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"key": "SEARCH",
|
|
59
|
+
"name": "Search"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"key": "NOTIFY_CLICK",
|
|
63
|
+
"name": "Notify Click"
|
|
34
64
|
}
|
|
35
65
|
],
|
|
36
66
|
"transitions": [
|
|
@@ -43,50 +73,62 @@
|
|
|
43
73
|
"render-ui",
|
|
44
74
|
"main",
|
|
45
75
|
{
|
|
46
|
-
"appName": "@config.appName",
|
|
47
|
-
"notifications": "@config.notifications",
|
|
48
76
|
"notificationClickEvent": "@config.notificationClickEvent",
|
|
49
|
-
"
|
|
77
|
+
"type": "dashboard-layout",
|
|
50
78
|
"children": [
|
|
51
79
|
{
|
|
52
|
-
"
|
|
80
|
+
"type": "stack",
|
|
81
|
+
"direction": "vertical",
|
|
82
|
+
"gap": "lg",
|
|
53
83
|
"children": [
|
|
54
84
|
"@config.contentTrait"
|
|
55
85
|
],
|
|
56
|
-
"
|
|
57
|
-
"type": "stack",
|
|
58
|
-
"direction": "vertical"
|
|
86
|
+
"className": "max-w-5xl mx-auto w-full"
|
|
59
87
|
}
|
|
60
88
|
],
|
|
61
|
-
"
|
|
89
|
+
"searchEvent": "@config.searchEvent",
|
|
90
|
+
"notifications": "@config.notifications",
|
|
91
|
+
"appName": "@config.appName",
|
|
62
92
|
"navItems": "@config.navItems"
|
|
63
93
|
}
|
|
64
94
|
]
|
|
65
95
|
]
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"from": "composing",
|
|
99
|
+
"to": "composing",
|
|
100
|
+
"event": "SEARCH"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"from": "composing",
|
|
104
|
+
"to": "composing",
|
|
105
|
+
"event": "NOTIFY_CLICK"
|
|
66
106
|
}
|
|
67
107
|
]
|
|
68
108
|
},
|
|
69
109
|
"config": {
|
|
70
|
-
"
|
|
71
|
-
"type": "
|
|
110
|
+
"navItems": {
|
|
111
|
+
"type": "[object]",
|
|
112
|
+
"default": []
|
|
72
113
|
},
|
|
73
114
|
"appName": {
|
|
74
115
|
"type": "string",
|
|
75
116
|
"default": "App"
|
|
76
117
|
},
|
|
77
|
-
"navItems": {
|
|
78
|
-
"type": "[object]",
|
|
79
|
-
"default": []
|
|
80
|
-
},
|
|
81
118
|
"searchEvent": {
|
|
82
|
-
"type": "string"
|
|
119
|
+
"type": "string",
|
|
120
|
+
"default": "SEARCH"
|
|
121
|
+
},
|
|
122
|
+
"contentTrait": {
|
|
123
|
+
"type": "trait"
|
|
124
|
+
},
|
|
125
|
+
"notificationClickEvent": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"default": "NOTIFY_CLICK"
|
|
83
128
|
},
|
|
84
129
|
"notifications": {
|
|
85
130
|
"type": "[object]",
|
|
86
131
|
"default": []
|
|
87
|
-
},
|
|
88
|
-
"notificationClickEvent": {
|
|
89
|
-
"type": "string"
|
|
90
132
|
}
|
|
91
133
|
},
|
|
92
134
|
"scope": "instance"
|