@almadar/std 7.4.0 → 7.4.2
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-confirmation.orb +43 -23
- package/behaviors/registry/atoms/std-modal.orb +15 -9
- package/behaviors/registry/molecules/std-inventory.orb +489 -445
- package/behaviors/registry/molecules/std-list.orb +492 -616
- package/dist/behaviors/behaviors-registry.json +1650 -667
- package/dist/behaviors/exports-reader.js +23 -8
- package/dist/behaviors/exports-reader.js.map +1 -1
- package/dist/behaviors/functions/index.d.ts +5 -3
- package/dist/behaviors/functions/index.js +22 -8
- package/dist/behaviors/functions/index.js.map +1 -1
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +24 -9
- package/dist/behaviors/index.js.map +1 -1
- package/dist/behaviors/query.js +23 -8
- package/dist/behaviors/query.js.map +1 -1
- package/dist/behaviors/registry/atoms/std-confirmation.orb +43 -23
- package/dist/behaviors/registry/atoms/std-modal.orb +15 -9
- package/dist/behaviors/registry/molecules/std-inventory.orb +489 -445
- package/dist/behaviors/registry/molecules/std-list.orb +492 -616
- package/dist/behaviors-registry.json +1650 -667
- package/dist/index.d.ts +1 -1
- package/dist/index.js +24 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -70,6 +70,10 @@
|
|
|
70
70
|
"name": "id",
|
|
71
71
|
"type": "string",
|
|
72
72
|
"required": true
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "row",
|
|
76
|
+
"type": "object"
|
|
73
77
|
}
|
|
74
78
|
]
|
|
75
79
|
},
|
|
@@ -108,16 +112,19 @@
|
|
|
108
112
|
"@entity.pendingId",
|
|
109
113
|
"@payload.id"
|
|
110
114
|
],
|
|
115
|
+
[
|
|
116
|
+
"set",
|
|
117
|
+
"@entity.name",
|
|
118
|
+
"@payload.row.name"
|
|
119
|
+
],
|
|
111
120
|
[
|
|
112
121
|
"render-ui",
|
|
113
122
|
"modal",
|
|
114
123
|
{
|
|
124
|
+
"type": "stack",
|
|
125
|
+
"gap": "md",
|
|
115
126
|
"children": [
|
|
116
127
|
{
|
|
117
|
-
"direction": "horizontal",
|
|
118
|
-
"type": "stack",
|
|
119
|
-
"gap": "sm",
|
|
120
|
-
"align": "center",
|
|
121
128
|
"children": [
|
|
122
129
|
{
|
|
123
130
|
"size": "md",
|
|
@@ -125,48 +132,61 @@
|
|
|
125
132
|
"name": "@config.icon"
|
|
126
133
|
},
|
|
127
134
|
{
|
|
128
|
-
"content": "@config.title",
|
|
129
135
|
"type": "typography",
|
|
130
|
-
"variant": "h3"
|
|
136
|
+
"variant": "h3",
|
|
137
|
+
"content": "@config.title"
|
|
131
138
|
}
|
|
132
|
-
]
|
|
139
|
+
],
|
|
140
|
+
"align": "center",
|
|
141
|
+
"type": "stack",
|
|
142
|
+
"gap": "sm",
|
|
143
|
+
"direction": "horizontal"
|
|
133
144
|
},
|
|
134
145
|
{
|
|
135
146
|
"type": "divider"
|
|
136
147
|
},
|
|
137
148
|
{
|
|
138
|
-
"
|
|
149
|
+
"variant": "error",
|
|
139
150
|
"type": "alert",
|
|
140
|
-
"
|
|
151
|
+
"message": "@config.alertMessage"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"variant": "h4",
|
|
155
|
+
"type": "typography",
|
|
156
|
+
"content": "@entity.name"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"content": "@entity.pendingId",
|
|
160
|
+
"variant": "caption",
|
|
161
|
+
"color": "muted",
|
|
162
|
+
"type": "typography"
|
|
141
163
|
},
|
|
142
164
|
{
|
|
143
165
|
"gap": "sm",
|
|
144
166
|
"type": "stack",
|
|
145
|
-
"direction": "horizontal",
|
|
146
|
-
"justify": "end",
|
|
147
167
|
"children": [
|
|
148
168
|
{
|
|
149
|
-
"
|
|
150
|
-
"label": "Cancel",
|
|
169
|
+
"type": "button",
|
|
151
170
|
"action": "CANCEL",
|
|
152
|
-
"
|
|
171
|
+
"variant": "ghost",
|
|
172
|
+
"label": "Cancel"
|
|
153
173
|
},
|
|
154
174
|
{
|
|
155
|
-
"
|
|
175
|
+
"type": "button",
|
|
176
|
+
"label": "@config.confirmLabel",
|
|
156
177
|
"icon": "check",
|
|
178
|
+
"variant": "danger",
|
|
179
|
+
"action": "CONFIRM",
|
|
157
180
|
"actionPayload": {
|
|
158
181
|
"id": "@payload.id"
|
|
159
|
-
}
|
|
160
|
-
"type": "button",
|
|
161
|
-
"variant": "danger",
|
|
162
|
-
"label": "@config.confirmLabel"
|
|
182
|
+
}
|
|
163
183
|
}
|
|
164
|
-
]
|
|
184
|
+
],
|
|
185
|
+
"direction": "horizontal",
|
|
186
|
+
"justify": "end"
|
|
165
187
|
}
|
|
166
188
|
],
|
|
167
|
-
"direction": "vertical"
|
|
168
|
-
"type": "stack",
|
|
169
|
-
"gap": "md"
|
|
189
|
+
"direction": "vertical"
|
|
170
190
|
}
|
|
171
191
|
]
|
|
172
192
|
]
|
|
@@ -100,43 +100,49 @@
|
|
|
100
100
|
"to": "open",
|
|
101
101
|
"event": "OPEN",
|
|
102
102
|
"effects": [
|
|
103
|
+
[
|
|
104
|
+
"set",
|
|
105
|
+
"@entity.id",
|
|
106
|
+
"@payload.id"
|
|
107
|
+
],
|
|
103
108
|
[
|
|
104
109
|
"render-ui",
|
|
105
110
|
"modal",
|
|
106
111
|
{
|
|
107
|
-
"
|
|
112
|
+
"direction": "vertical",
|
|
108
113
|
"type": "stack",
|
|
114
|
+
"gap": "md",
|
|
109
115
|
"children": [
|
|
110
116
|
{
|
|
117
|
+
"direction": "horizontal",
|
|
111
118
|
"children": [
|
|
112
119
|
{
|
|
113
|
-
"size": "md",
|
|
114
120
|
"name": "@config.icon",
|
|
121
|
+
"size": "md",
|
|
115
122
|
"type": "icon"
|
|
116
123
|
},
|
|
117
124
|
{
|
|
118
|
-
"
|
|
125
|
+
"type": "typography",
|
|
119
126
|
"variant": "h3",
|
|
120
|
-
"
|
|
127
|
+
"content": "@config.title"
|
|
121
128
|
}
|
|
122
129
|
],
|
|
123
130
|
"type": "stack",
|
|
124
|
-
"direction": "horizontal",
|
|
125
131
|
"gap": "sm"
|
|
126
132
|
},
|
|
127
133
|
{
|
|
128
134
|
"type": "divider"
|
|
129
135
|
},
|
|
130
136
|
{
|
|
131
|
-
"
|
|
137
|
+
"entityId": "@entity.id",
|
|
132
138
|
"type": "form-section",
|
|
133
|
-
"cancelEvent": "CLOSE",
|
|
134
139
|
"submitEvent": "SAVE",
|
|
140
|
+
"mode": "@config.mode",
|
|
141
|
+
"cancelEvent": "CLOSE",
|
|
135
142
|
"fields": "@config.fields",
|
|
136
143
|
"entity": "ModalRecord"
|
|
137
144
|
}
|
|
138
|
-
]
|
|
139
|
-
"direction": "vertical"
|
|
145
|
+
]
|
|
140
146
|
}
|
|
141
147
|
]
|
|
142
148
|
]
|