@almadar/std 15.15.0 → 15.15.1

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.
Files changed (273) hide show
  1. package/behaviors/registry/app/atoms/std-ap-bill.orb +423 -171
  2. package/behaviors/registry/app/atoms/std-applicant.orb +207 -165
  3. package/behaviors/registry/app/atoms/std-application.orb +300 -188
  4. package/behaviors/registry/app/atoms/std-approval-request.orb +370 -215
  5. package/behaviors/registry/app/atoms/std-campaign-goal.orb +382 -167
  6. package/behaviors/registry/app/atoms/std-change-order.orb +458 -194
  7. package/behaviors/registry/app/atoms/std-chart-of-accounts.orb +201 -130
  8. package/behaviors/registry/app/atoms/std-checkin.orb +215 -151
  9. package/behaviors/registry/app/atoms/std-checkout-terminal.orb +322 -133
  10. package/behaviors/registry/app/atoms/std-class-roster.orb +343 -170
  11. package/behaviors/registry/app/atoms/std-class-session.orb +321 -190
  12. package/behaviors/registry/app/atoms/std-court-deadline.orb +353 -182
  13. package/behaviors/registry/app/atoms/std-customer-account.orb +376 -157
  14. package/behaviors/registry/app/atoms/std-donation-receipt.orb +214 -143
  15. package/behaviors/registry/app/atoms/std-donor.orb +191 -156
  16. package/behaviors/registry/app/atoms/std-drip-sequence.orb +409 -170
  17. package/behaviors/registry/app/atoms/std-driver.orb +440 -202
  18. package/behaviors/registry/app/atoms/std-dunning.orb +431 -167
  19. package/behaviors/registry/app/atoms/std-email-broadcast.orb +386 -143
  20. package/behaviors/registry/app/atoms/std-event.orb +309 -178
  21. package/behaviors/registry/app/atoms/std-form-builder.orb +353 -220
  22. package/behaviors/registry/app/atoms/std-health-score.orb +218 -183
  23. package/behaviors/registry/app/atoms/std-help-article.orb +425 -162
  24. package/behaviors/registry/app/atoms/std-help-category.orb +409 -166
  25. package/behaviors/registry/app/atoms/std-interview-slot.orb +311 -138
  26. package/behaviors/registry/app/atoms/std-invoice.orb +349 -211
  27. package/behaviors/registry/app/atoms/std-kitchen-display.orb +308 -184
  28. package/behaviors/registry/app/atoms/std-lease.orb +411 -178
  29. package/behaviors/registry/app/atoms/std-ledger-entry.orb +266 -195
  30. package/behaviors/registry/app/atoms/std-maintenance-request.orb +396 -177
  31. package/behaviors/registry/app/atoms/std-matter.orb +415 -189
  32. package/behaviors/registry/app/atoms/std-membership.orb +387 -167
  33. package/behaviors/registry/app/atoms/std-menu.orb +232 -175
  34. package/behaviors/registry/app/atoms/std-modifier-group.orb +224 -167
  35. package/behaviors/registry/app/atoms/std-nps-survey.orb +390 -138
  36. package/behaviors/registry/app/atoms/std-offer-letter.orb +242 -133
  37. package/behaviors/registry/app/atoms/std-payout-ledger.orb +428 -176
  38. package/behaviors/registry/app/atoms/std-question-bank.orb +211 -145
  39. package/behaviors/registry/app/atoms/std-receipt.orb +248 -177
  40. package/behaviors/registry/app/atoms/std-recurring-charge.orb +421 -149
  41. package/behaviors/registry/app/atoms/std-renewal-risk.orb +382 -153
  42. package/behaviors/registry/app/atoms/std-rent-charge.orb +476 -176
  43. package/behaviors/registry/app/atoms/std-reorder-rule.orb +246 -176
  44. package/behaviors/registry/app/atoms/std-response-collector.orb +213 -150
  45. package/behaviors/registry/app/atoms/std-rfi.orb +365 -210
  46. package/behaviors/registry/app/atoms/std-route-optimize.orb +195 -146
  47. package/behaviors/registry/app/atoms/std-segment.orb +173 -139
  48. package/behaviors/registry/app/atoms/std-stock-level.orb +205 -135
  49. package/behaviors/registry/app/atoms/std-submittal.orb +323 -166
  50. package/behaviors/registry/app/atoms/std-table-map.orb +187 -63
  51. package/behaviors/registry/app/atoms/std-technician-dispatch.orb +290 -202
  52. package/behaviors/registry/app/atoms/std-telematics-event.orb +156 -128
  53. package/behaviors/registry/app/atoms/std-template-editor.orb +255 -189
  54. package/behaviors/registry/app/atoms/std-tenant.orb +375 -147
  55. package/behaviors/registry/app/atoms/std-ticket-tier.orb +463 -150
  56. package/behaviors/registry/app/atoms/std-time-entry.orb +259 -150
  57. package/behaviors/registry/app/atoms/std-timesheet.orb +292 -183
  58. package/behaviors/registry/app/atoms/std-trial.orb +401 -183
  59. package/behaviors/registry/app/atoms/std-vehicle.orb +447 -205
  60. package/behaviors/registry/app/atoms/std-vendor-onboarding.orb +289 -245
  61. package/behaviors/registry/app/atoms/std-waitlist.orb +308 -177
  62. package/behaviors/registry/app/atoms/std-warehouse.orb +211 -141
  63. package/behaviors/registry/app/atoms/std-work-order.orb +374 -219
  64. package/behaviors/registry/app/organisms/std-subscription-billing.orb +282 -195
  65. package/behaviors/registry/core/atoms/std-approval-gate.orb +703 -0
  66. package/behaviors/registry/core/atoms/std-audit-capture.orb +150 -64
  67. package/behaviors/registry/core/atoms/std-data-erasure.orb +546 -0
  68. package/behaviors/registry/core/atoms/std-lifecycle.orb +343 -0
  69. package/behaviors/registry/core/atoms/std-notify-on-event.orb +132 -46
  70. package/behaviors/registry/core/atoms/std-reminder-scheduler.orb +330 -0
  71. package/behaviors/registry/marketing/atoms/std-marketing-article.orb +96 -0
  72. package/behaviors/registry/marketing/atoms/std-marketing-case-studies.orb +243 -0
  73. package/behaviors/registry/marketing/atoms/std-marketing-community.orb +134 -0
  74. package/behaviors/registry/marketing/atoms/std-marketing-cta.orb +206 -0
  75. package/behaviors/registry/marketing/atoms/std-marketing-features.orb +193 -0
  76. package/behaviors/registry/marketing/atoms/std-marketing-footer.orb +192 -0
  77. package/behaviors/registry/marketing/atoms/std-marketing-hero.orb +262 -0
  78. package/behaviors/registry/marketing/atoms/std-marketing-nav.orb +190 -0
  79. package/behaviors/registry/marketing/atoms/std-marketing-pricing.orb +232 -0
  80. package/behaviors/registry/marketing/atoms/std-marketing-showcase.orb +276 -0
  81. package/behaviors/registry/marketing/atoms/std-marketing-split.orb +135 -0
  82. package/behaviors/registry/marketing/atoms/std-marketing-stats.orb +120 -0
  83. package/behaviors/registry/marketing/atoms/std-marketing-steps.orb +179 -0
  84. package/behaviors/registry/marketing/atoms/std-marketing-team.orb +192 -0
  85. package/behaviors/registry/marketing/atoms/std-marketing-testimonials.orb +124 -0
  86. package/behaviors/registry/marketing/molecules/std-about-page.orb +440 -0
  87. package/behaviors/registry/marketing/molecules/std-feature-detail-page.orb +371 -0
  88. package/behaviors/registry/marketing/molecules/std-landing-page.orb +521 -0
  89. package/behaviors/registry/marketing/molecules/std-pricing-page.orb +406 -0
  90. package/behaviors/registry/marketing/organisms/std-marketing-site.orb +1654 -0
  91. package/dist/behaviors/behaviors-registry.json +2913 -156
  92. package/dist/behaviors/registry/app/atoms/std-ap-bill.orb +423 -171
  93. package/dist/behaviors/registry/app/atoms/std-applicant.orb +207 -165
  94. package/dist/behaviors/registry/app/atoms/std-application.orb +300 -188
  95. package/dist/behaviors/registry/app/atoms/std-approval-request.orb +370 -215
  96. package/dist/behaviors/registry/app/atoms/std-campaign-goal.orb +382 -167
  97. package/dist/behaviors/registry/app/atoms/std-change-order.orb +458 -194
  98. package/dist/behaviors/registry/app/atoms/std-chart-of-accounts.orb +201 -130
  99. package/dist/behaviors/registry/app/atoms/std-checkin.orb +215 -151
  100. package/dist/behaviors/registry/app/atoms/std-checkout-terminal.orb +322 -133
  101. package/dist/behaviors/registry/app/atoms/std-class-roster.orb +343 -170
  102. package/dist/behaviors/registry/app/atoms/std-class-session.orb +321 -190
  103. package/dist/behaviors/registry/app/atoms/std-court-deadline.orb +353 -182
  104. package/dist/behaviors/registry/app/atoms/std-customer-account.orb +376 -157
  105. package/dist/behaviors/registry/app/atoms/std-donation-receipt.orb +214 -143
  106. package/dist/behaviors/registry/app/atoms/std-donor.orb +191 -156
  107. package/dist/behaviors/registry/app/atoms/std-drip-sequence.orb +409 -170
  108. package/dist/behaviors/registry/app/atoms/std-driver.orb +440 -202
  109. package/dist/behaviors/registry/app/atoms/std-dunning.orb +431 -167
  110. package/dist/behaviors/registry/app/atoms/std-email-broadcast.orb +386 -143
  111. package/dist/behaviors/registry/app/atoms/std-event.orb +309 -178
  112. package/dist/behaviors/registry/app/atoms/std-form-builder.orb +353 -220
  113. package/dist/behaviors/registry/app/atoms/std-health-score.orb +218 -183
  114. package/dist/behaviors/registry/app/atoms/std-help-article.orb +425 -162
  115. package/dist/behaviors/registry/app/atoms/std-help-category.orb +409 -166
  116. package/dist/behaviors/registry/app/atoms/std-interview-slot.orb +311 -138
  117. package/dist/behaviors/registry/app/atoms/std-invoice.orb +349 -211
  118. package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +308 -184
  119. package/dist/behaviors/registry/app/atoms/std-lease.orb +411 -178
  120. package/dist/behaviors/registry/app/atoms/std-ledger-entry.orb +266 -195
  121. package/dist/behaviors/registry/app/atoms/std-maintenance-request.orb +396 -177
  122. package/dist/behaviors/registry/app/atoms/std-matter.orb +415 -189
  123. package/dist/behaviors/registry/app/atoms/std-membership.orb +387 -167
  124. package/dist/behaviors/registry/app/atoms/std-menu.orb +232 -175
  125. package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +224 -167
  126. package/dist/behaviors/registry/app/atoms/std-nps-survey.orb +390 -138
  127. package/dist/behaviors/registry/app/atoms/std-offer-letter.orb +242 -133
  128. package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +428 -176
  129. package/dist/behaviors/registry/app/atoms/std-question-bank.orb +211 -145
  130. package/dist/behaviors/registry/app/atoms/std-receipt.orb +248 -177
  131. package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +421 -149
  132. package/dist/behaviors/registry/app/atoms/std-renewal-risk.orb +382 -153
  133. package/dist/behaviors/registry/app/atoms/std-rent-charge.orb +476 -176
  134. package/dist/behaviors/registry/app/atoms/std-reorder-rule.orb +246 -176
  135. package/dist/behaviors/registry/app/atoms/std-response-collector.orb +213 -150
  136. package/dist/behaviors/registry/app/atoms/std-rfi.orb +365 -210
  137. package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +195 -146
  138. package/dist/behaviors/registry/app/atoms/std-segment.orb +173 -139
  139. package/dist/behaviors/registry/app/atoms/std-stock-level.orb +205 -135
  140. package/dist/behaviors/registry/app/atoms/std-submittal.orb +323 -166
  141. package/dist/behaviors/registry/app/atoms/std-table-map.orb +187 -63
  142. package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +290 -202
  143. package/dist/behaviors/registry/app/atoms/std-telematics-event.orb +156 -128
  144. package/dist/behaviors/registry/app/atoms/std-template-editor.orb +255 -189
  145. package/dist/behaviors/registry/app/atoms/std-tenant.orb +375 -147
  146. package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +463 -150
  147. package/dist/behaviors/registry/app/atoms/std-time-entry.orb +259 -150
  148. package/dist/behaviors/registry/app/atoms/std-timesheet.orb +292 -183
  149. package/dist/behaviors/registry/app/atoms/std-trial.orb +401 -183
  150. package/dist/behaviors/registry/app/atoms/std-vehicle.orb +447 -205
  151. package/dist/behaviors/registry/app/atoms/std-vendor-onboarding.orb +289 -245
  152. package/dist/behaviors/registry/app/atoms/std-waitlist.orb +308 -177
  153. package/dist/behaviors/registry/app/atoms/std-warehouse.orb +211 -141
  154. package/dist/behaviors/registry/app/atoms/std-work-order.orb +374 -219
  155. package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +282 -195
  156. package/dist/behaviors/registry/core/atoms/std-approval-gate.orb +703 -0
  157. package/dist/behaviors/registry/core/atoms/std-audit-capture.orb +150 -64
  158. package/dist/behaviors/registry/core/atoms/std-data-erasure.orb +546 -0
  159. package/dist/behaviors/registry/core/atoms/std-lifecycle.orb +343 -0
  160. package/dist/behaviors/registry/core/atoms/std-notify-on-event.orb +132 -46
  161. package/dist/behaviors/registry/core/atoms/std-reminder-scheduler.orb +330 -0
  162. package/dist/behaviors/registry/marketing/atoms/std-marketing-article.orb +96 -0
  163. package/dist/behaviors/registry/marketing/atoms/std-marketing-case-studies.orb +243 -0
  164. package/dist/behaviors/registry/marketing/atoms/std-marketing-community.orb +134 -0
  165. package/dist/behaviors/registry/marketing/atoms/std-marketing-cta.orb +206 -0
  166. package/dist/behaviors/registry/marketing/atoms/std-marketing-features.orb +193 -0
  167. package/dist/behaviors/registry/marketing/atoms/std-marketing-footer.orb +192 -0
  168. package/dist/behaviors/registry/marketing/atoms/std-marketing-hero.orb +262 -0
  169. package/dist/behaviors/registry/marketing/atoms/std-marketing-nav.orb +190 -0
  170. package/dist/behaviors/registry/marketing/atoms/std-marketing-pricing.orb +232 -0
  171. package/dist/behaviors/registry/marketing/atoms/std-marketing-showcase.orb +276 -0
  172. package/dist/behaviors/registry/marketing/atoms/std-marketing-split.orb +135 -0
  173. package/dist/behaviors/registry/marketing/atoms/std-marketing-stats.orb +120 -0
  174. package/dist/behaviors/registry/marketing/atoms/std-marketing-steps.orb +179 -0
  175. package/dist/behaviors/registry/marketing/atoms/std-marketing-team.orb +192 -0
  176. package/dist/behaviors/registry/marketing/atoms/std-marketing-testimonials.orb +124 -0
  177. package/dist/behaviors/registry/marketing/molecules/std-about-page.orb +440 -0
  178. package/dist/behaviors/registry/marketing/molecules/std-feature-detail-page.orb +371 -0
  179. package/dist/behaviors/registry/marketing/molecules/std-landing-page.orb +521 -0
  180. package/dist/behaviors/registry/marketing/molecules/std-pricing-page.orb +406 -0
  181. package/dist/behaviors/registry/marketing/organisms/std-marketing-site.orb +1654 -0
  182. package/dist/behaviors-registry.json +2913 -156
  183. package/dist/registry/app/atoms/std-ap-bill.orb +423 -171
  184. package/dist/registry/app/atoms/std-applicant.orb +207 -165
  185. package/dist/registry/app/atoms/std-application.orb +300 -188
  186. package/dist/registry/app/atoms/std-approval-request.orb +370 -215
  187. package/dist/registry/app/atoms/std-campaign-goal.orb +382 -167
  188. package/dist/registry/app/atoms/std-change-order.orb +458 -194
  189. package/dist/registry/app/atoms/std-chart-of-accounts.orb +201 -130
  190. package/dist/registry/app/atoms/std-checkin.orb +215 -151
  191. package/dist/registry/app/atoms/std-checkout-terminal.orb +322 -133
  192. package/dist/registry/app/atoms/std-class-roster.orb +343 -170
  193. package/dist/registry/app/atoms/std-class-session.orb +321 -190
  194. package/dist/registry/app/atoms/std-court-deadline.orb +353 -182
  195. package/dist/registry/app/atoms/std-customer-account.orb +376 -157
  196. package/dist/registry/app/atoms/std-donation-receipt.orb +214 -143
  197. package/dist/registry/app/atoms/std-donor.orb +191 -156
  198. package/dist/registry/app/atoms/std-drip-sequence.orb +409 -170
  199. package/dist/registry/app/atoms/std-driver.orb +440 -202
  200. package/dist/registry/app/atoms/std-dunning.orb +431 -167
  201. package/dist/registry/app/atoms/std-email-broadcast.orb +386 -143
  202. package/dist/registry/app/atoms/std-event.orb +309 -178
  203. package/dist/registry/app/atoms/std-form-builder.orb +353 -220
  204. package/dist/registry/app/atoms/std-health-score.orb +218 -183
  205. package/dist/registry/app/atoms/std-help-article.orb +425 -162
  206. package/dist/registry/app/atoms/std-help-category.orb +409 -166
  207. package/dist/registry/app/atoms/std-interview-slot.orb +311 -138
  208. package/dist/registry/app/atoms/std-invoice.orb +349 -211
  209. package/dist/registry/app/atoms/std-kitchen-display.orb +308 -184
  210. package/dist/registry/app/atoms/std-lease.orb +411 -178
  211. package/dist/registry/app/atoms/std-ledger-entry.orb +266 -195
  212. package/dist/registry/app/atoms/std-maintenance-request.orb +396 -177
  213. package/dist/registry/app/atoms/std-matter.orb +415 -189
  214. package/dist/registry/app/atoms/std-membership.orb +387 -167
  215. package/dist/registry/app/atoms/std-menu.orb +232 -175
  216. package/dist/registry/app/atoms/std-modifier-group.orb +224 -167
  217. package/dist/registry/app/atoms/std-nps-survey.orb +390 -138
  218. package/dist/registry/app/atoms/std-offer-letter.orb +242 -133
  219. package/dist/registry/app/atoms/std-payout-ledger.orb +428 -176
  220. package/dist/registry/app/atoms/std-question-bank.orb +211 -145
  221. package/dist/registry/app/atoms/std-receipt.orb +248 -177
  222. package/dist/registry/app/atoms/std-recurring-charge.orb +421 -149
  223. package/dist/registry/app/atoms/std-renewal-risk.orb +382 -153
  224. package/dist/registry/app/atoms/std-rent-charge.orb +476 -176
  225. package/dist/registry/app/atoms/std-reorder-rule.orb +246 -176
  226. package/dist/registry/app/atoms/std-response-collector.orb +213 -150
  227. package/dist/registry/app/atoms/std-rfi.orb +365 -210
  228. package/dist/registry/app/atoms/std-route-optimize.orb +195 -146
  229. package/dist/registry/app/atoms/std-segment.orb +173 -139
  230. package/dist/registry/app/atoms/std-stock-level.orb +205 -135
  231. package/dist/registry/app/atoms/std-submittal.orb +323 -166
  232. package/dist/registry/app/atoms/std-table-map.orb +187 -63
  233. package/dist/registry/app/atoms/std-technician-dispatch.orb +290 -202
  234. package/dist/registry/app/atoms/std-telematics-event.orb +156 -128
  235. package/dist/registry/app/atoms/std-template-editor.orb +255 -189
  236. package/dist/registry/app/atoms/std-tenant.orb +375 -147
  237. package/dist/registry/app/atoms/std-ticket-tier.orb +463 -150
  238. package/dist/registry/app/atoms/std-time-entry.orb +259 -150
  239. package/dist/registry/app/atoms/std-timesheet.orb +292 -183
  240. package/dist/registry/app/atoms/std-trial.orb +401 -183
  241. package/dist/registry/app/atoms/std-vehicle.orb +447 -205
  242. package/dist/registry/app/atoms/std-vendor-onboarding.orb +289 -245
  243. package/dist/registry/app/atoms/std-waitlist.orb +308 -177
  244. package/dist/registry/app/atoms/std-warehouse.orb +211 -141
  245. package/dist/registry/app/atoms/std-work-order.orb +374 -219
  246. package/dist/registry/app/organisms/std-subscription-billing.orb +282 -195
  247. package/dist/registry/core/atoms/std-approval-gate.orb +703 -0
  248. package/dist/registry/core/atoms/std-audit-capture.orb +150 -64
  249. package/dist/registry/core/atoms/std-data-erasure.orb +546 -0
  250. package/dist/registry/core/atoms/std-lifecycle.orb +343 -0
  251. package/dist/registry/core/atoms/std-notify-on-event.orb +132 -46
  252. package/dist/registry/core/atoms/std-reminder-scheduler.orb +330 -0
  253. package/dist/registry/marketing/atoms/std-marketing-article.orb +96 -0
  254. package/dist/registry/marketing/atoms/std-marketing-case-studies.orb +243 -0
  255. package/dist/registry/marketing/atoms/std-marketing-community.orb +134 -0
  256. package/dist/registry/marketing/atoms/std-marketing-cta.orb +206 -0
  257. package/dist/registry/marketing/atoms/std-marketing-features.orb +193 -0
  258. package/dist/registry/marketing/atoms/std-marketing-footer.orb +192 -0
  259. package/dist/registry/marketing/atoms/std-marketing-hero.orb +262 -0
  260. package/dist/registry/marketing/atoms/std-marketing-nav.orb +190 -0
  261. package/dist/registry/marketing/atoms/std-marketing-pricing.orb +232 -0
  262. package/dist/registry/marketing/atoms/std-marketing-showcase.orb +276 -0
  263. package/dist/registry/marketing/atoms/std-marketing-split.orb +135 -0
  264. package/dist/registry/marketing/atoms/std-marketing-stats.orb +120 -0
  265. package/dist/registry/marketing/atoms/std-marketing-steps.orb +179 -0
  266. package/dist/registry/marketing/atoms/std-marketing-team.orb +192 -0
  267. package/dist/registry/marketing/atoms/std-marketing-testimonials.orb +124 -0
  268. package/dist/registry/marketing/molecules/std-about-page.orb +440 -0
  269. package/dist/registry/marketing/molecules/std-feature-detail-page.orb +371 -0
  270. package/dist/registry/marketing/molecules/std-landing-page.orb +521 -0
  271. package/dist/registry/marketing/molecules/std-pricing-page.orb +406 -0
  272. package/dist/registry/marketing/organisms/std-marketing-site.orb +1654 -0
  273. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "std-reorder-rule",
3
- "version": "1.1.0",
4
- "description": "std-reorder-rule — automatic stock-replenishment rule per SKU/location. Lists rules in `browsing`; opens detail in `viewing_single` with Enable / Disable actions. Agents tune the list shape via `config.fields` + `config.itemActions`.",
3
+ "version": "1.2.0",
4
+ "description": "std-reorder-rule — automatic stock-replenishment rule per SKU/location. Lists rules; detail offers Enable / Disable. Exposes Inventory/Logistics knobs (defaultWarehouse, lowStockThreshold, …) for the questionnaire.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "ReorderRuleOrbital",
@@ -246,8 +246,8 @@
246
246
  "ReorderRule",
247
247
  {
248
248
  "emit": {
249
- "success": "ReorderRuleLoaded",
250
- "failure": "ReorderRuleLoadFailed"
249
+ "failure": "ReorderRuleLoadFailed",
250
+ "success": "ReorderRuleLoaded"
251
251
  }
252
252
  }
253
253
  ],
@@ -255,21 +255,21 @@
255
255
  "render-ui",
256
256
  "main",
257
257
  {
258
- "gap": "md",
259
- "type": "stack",
258
+ "className": "py-12",
260
259
  "children": [
261
260
  {
262
261
  "type": "spinner"
263
262
  },
264
263
  {
265
- "type": "typography",
266
264
  "color": "muted",
267
- "content": "Loading reorder rules…",
268
- "variant": "caption"
265
+ "type": "typography",
266
+ "variant": "caption",
267
+ "content": "Loading reorder rules…"
269
268
  }
270
269
  ],
271
- "className": "py-12",
270
+ "type": "stack",
272
271
  "direction": "vertical",
272
+ "gap": "md",
273
273
  "align": "center"
274
274
  }
275
275
  ]
@@ -284,13 +284,14 @@
284
284
  "render-ui",
285
285
  "main",
286
286
  {
287
- "direction": "vertical",
288
287
  "type": "stack",
288
+ "gap": "md",
289
+ "direction": "vertical",
289
290
  "children": [
290
291
  {
291
- "gap": "sm",
292
292
  "align": "center",
293
293
  "direction": "horizontal",
294
+ "gap": "sm",
294
295
  "type": "stack",
295
296
  "children": [
296
297
  {
@@ -305,34 +306,34 @@
305
306
  ]
306
307
  },
307
308
  {
308
- "type": "simple-grid",
309
309
  "children": [
310
310
  {
311
- "icon": "repeat",
312
- "value": "@payload.data.length",
311
+ "type": "stat-display",
313
312
  "label": "Total rules",
314
- "type": "stat-display"
313
+ "value": "@payload.data.length",
314
+ "icon": "repeat"
315
315
  },
316
316
  {
317
- "icon": "check-circle",
318
317
  "label": "Active",
318
+ "icon": "check-circle",
319
319
  "value": "47",
320
320
  "type": "stat-display"
321
321
  },
322
322
  {
323
- "icon": "zap",
324
323
  "label": "Triggered today",
324
+ "value": "9",
325
325
  "type": "stat-display",
326
- "value": "9"
326
+ "icon": "zap"
327
327
  },
328
328
  {
329
- "type": "stat-display",
330
329
  "label": "Avg lead time",
330
+ "icon": "clock",
331
331
  "value": "6.4d",
332
- "icon": "clock"
332
+ "type": "stat-display"
333
333
  }
334
334
  ],
335
- "cols": 4.0
335
+ "cols": 4.0,
336
+ "type": "simple-grid"
336
337
  },
337
338
  {
338
339
  "type": "divider"
@@ -341,12 +342,11 @@
341
342
  "cols": 1.0,
342
343
  "type": "data-grid",
343
344
  "gap": "sm",
345
+ "fields": "@config.fields",
344
346
  "itemActions": "@config.itemActions",
345
- "entity": "@payload.data",
346
- "fields": "@config.fields"
347
+ "entity": "@payload.data"
347
348
  }
348
- ],
349
- "gap": "md"
349
+ ]
350
350
  }
351
351
  ]
352
352
  ]
@@ -416,34 +416,35 @@
416
416
  "render-ui",
417
417
  "main",
418
418
  {
419
+ "direction": "vertical",
419
420
  "children": [
420
421
  {
421
- "align": "center",
422
- "direction": "horizontal",
423
- "type": "stack",
424
422
  "gap": "sm",
423
+ "type": "stack",
424
+ "direction": "horizontal",
425
425
  "children": [
426
426
  {
427
+ "type": "button",
427
428
  "label": "Back",
428
429
  "variant": "ghost",
429
- "type": "button",
430
430
  "action": "CLOSE_VIEW"
431
431
  },
432
432
  {
433
- "name": "repeat",
434
- "type": "icon"
433
+ "type": "icon",
434
+ "name": "repeat"
435
435
  },
436
436
  {
437
437
  "type": "typography",
438
- "content": "@entity.sku",
439
- "variant": "h3"
438
+ "variant": "h3",
439
+ "content": "@entity.sku"
440
440
  },
441
441
  {
442
+ "label": "Active",
442
443
  "variant": "success",
443
- "type": "badge",
444
- "label": "Active"
444
+ "type": "badge"
445
445
  }
446
- ]
446
+ ],
447
+ "align": "center"
447
448
  },
448
449
  {
449
450
  "type": "divider"
@@ -451,26 +452,25 @@
451
452
  {
452
453
  "children": [
453
454
  {
455
+ "gap": "md",
454
456
  "children": [
455
457
  {
456
- "color": "muted",
457
- "type": "typography",
458
458
  "variant": "caption",
459
- "content": "Location"
459
+ "content": "Location",
460
+ "type": "typography",
461
+ "color": "muted"
460
462
  },
461
463
  {
462
464
  "type": "typography",
463
- "content": "@entity.locationId",
464
- "variant": "body"
465
+ "variant": "body",
466
+ "content": "@entity.locationId"
465
467
  }
466
468
  ],
467
469
  "direction": "horizontal",
468
- "gap": "md",
469
470
  "type": "stack"
470
471
  },
471
472
  {
472
- "gap": "md",
473
- "direction": "horizontal",
473
+ "type": "stack",
474
474
  "children": [
475
475
  {
476
476
  "type": "typography",
@@ -484,7 +484,8 @@
484
484
  "content": "@entity.vendor"
485
485
  }
486
486
  ],
487
- "type": "stack"
487
+ "direction": "horizontal",
488
+ "gap": "md"
488
489
  }
489
490
  ],
490
491
  "type": "stack",
@@ -495,34 +496,30 @@
495
496
  "type": "divider"
496
497
  },
497
498
  {
499
+ "cols": 3.0,
498
500
  "children": [
499
501
  {
500
- "icon": "alert-triangle",
501
502
  "value": "@entity.thresholdQty",
502
- "type": "stat-display",
503
- "label": "Threshold"
503
+ "icon": "alert-triangle",
504
+ "label": "Threshold",
505
+ "type": "stat-display"
504
506
  },
505
507
  {
506
- "label": "Reorder qty",
507
- "value": "@entity.reorderQty",
508
+ "type": "stat-display",
508
509
  "icon": "package",
509
- "type": "stat-display"
510
+ "value": "@entity.reorderQty",
511
+ "label": "Reorder qty"
510
512
  },
511
513
  {
512
- "type": "stat-display",
513
514
  "icon": "clock",
515
+ "value": "@entity.leadTimeDays",
514
516
  "label": "Lead time (d)",
515
- "value": "@entity.leadTimeDays"
517
+ "type": "stat-display"
516
518
  }
517
519
  ],
518
- "type": "simple-grid",
519
- "cols": 3.0
520
+ "type": "simple-grid"
520
521
  },
521
522
  {
522
- "direction": "horizontal",
523
- "align": "center",
524
- "gap": "sm",
525
- "type": "stack",
526
523
  "children": [
527
524
  {
528
525
  "type": "button",
@@ -534,20 +531,23 @@
534
531
  }
535
532
  },
536
533
  {
537
- "action": "DISABLE_RULE",
538
- "variant": "danger",
539
- "type": "button",
540
- "label": "Disable",
541
534
  "actionPayload": {
542
535
  "id": "@entity.id"
543
- }
536
+ },
537
+ "type": "button",
538
+ "label": "Disable",
539
+ "action": "DISABLE_RULE",
540
+ "variant": "danger"
544
541
  }
545
- ]
542
+ ],
543
+ "gap": "sm",
544
+ "type": "stack",
545
+ "direction": "horizontal",
546
+ "align": "center"
546
547
  }
547
548
  ],
548
549
  "gap": "md",
549
- "type": "stack",
550
- "direction": "vertical"
550
+ "type": "stack"
551
551
  }
552
552
  ]
553
553
  ]
@@ -567,8 +567,8 @@
567
567
  "ReorderRule",
568
568
  {
569
569
  "emit": {
570
- "success": "ReorderRuleLoaded",
571
- "failure": "ReorderRuleLoadFailed"
570
+ "failure": "ReorderRuleLoadFailed",
571
+ "success": "ReorderRuleLoaded"
572
572
  }
573
573
  }
574
574
  ],
@@ -576,22 +576,22 @@
576
576
  "render-ui",
577
577
  "main",
578
578
  {
579
- "gap": "md",
580
579
  "children": [
581
580
  {
582
581
  "type": "spinner"
583
582
  },
584
583
  {
585
584
  "variant": "caption",
586
- "content": "Enabling rule…",
587
585
  "color": "muted",
586
+ "content": "Enabling rule…",
588
587
  "type": "typography"
589
588
  }
590
589
  ],
590
+ "direction": "vertical",
591
591
  "type": "stack",
592
+ "gap": "md",
592
593
  "align": "center",
593
- "className": "py-12",
594
- "direction": "vertical"
594
+ "className": "py-12"
595
595
  }
596
596
  ]
597
597
  ]
@@ -611,8 +611,8 @@
611
611
  "ReorderRule",
612
612
  {
613
613
  "emit": {
614
- "failure": "ReorderRuleLoadFailed",
615
- "success": "ReorderRuleLoaded"
614
+ "success": "ReorderRuleLoaded",
615
+ "failure": "ReorderRuleLoadFailed"
616
616
  }
617
617
  }
618
618
  ],
@@ -620,22 +620,22 @@
620
620
  "render-ui",
621
621
  "main",
622
622
  {
623
- "direction": "vertical",
624
- "className": "py-12",
623
+ "gap": "md",
625
624
  "children": [
626
625
  {
627
626
  "type": "spinner"
628
627
  },
629
628
  {
630
629
  "color": "muted",
630
+ "type": "typography",
631
631
  "variant": "caption",
632
- "content": "Disabling rule…",
633
- "type": "typography"
632
+ "content": "Disabling rule…"
634
633
  }
635
634
  ],
635
+ "type": "stack",
636
+ "direction": "vertical",
636
637
  "align": "center",
637
- "gap": "md",
638
- "type": "stack"
638
+ "className": "py-12"
639
639
  }
640
640
  ]
641
641
  ]
@@ -659,22 +659,22 @@
659
659
  "render-ui",
660
660
  "main",
661
661
  {
662
- "type": "stack",
663
- "className": "py-12",
664
- "align": "center",
665
662
  "children": [
666
663
  {
667
664
  "type": "spinner"
668
665
  },
669
666
  {
670
- "variant": "caption",
671
- "type": "typography",
672
667
  "color": "muted",
668
+ "type": "typography",
669
+ "variant": "caption",
673
670
  "content": "Loading reorder rules…"
674
671
  }
675
672
  ],
676
673
  "direction": "vertical",
677
- "gap": "md"
674
+ "gap": "md",
675
+ "type": "stack",
676
+ "align": "center",
677
+ "className": "py-12"
678
678
  }
679
679
  ]
680
680
  ]
@@ -703,22 +703,22 @@
703
703
  "render-ui",
704
704
  "main",
705
705
  {
706
- "type": "stack",
707
706
  "direction": "vertical",
708
- "gap": "md",
709
- "align": "center",
710
- "className": "py-12",
711
707
  "children": [
712
708
  {
713
709
  "type": "spinner"
714
710
  },
715
711
  {
716
- "type": "typography",
717
- "variant": "caption",
718
712
  "color": "muted",
719
- "content": "Enabling rule…"
713
+ "type": "typography",
714
+ "content": "Enabling rule…",
715
+ "variant": "caption"
720
716
  }
721
- ]
717
+ ],
718
+ "gap": "md",
719
+ "className": "py-12",
720
+ "type": "stack",
721
+ "align": "center"
722
722
  }
723
723
  ]
724
724
  ]
@@ -747,22 +747,22 @@
747
747
  "render-ui",
748
748
  "main",
749
749
  {
750
- "className": "py-12",
750
+ "type": "stack",
751
751
  "children": [
752
752
  {
753
753
  "type": "spinner"
754
754
  },
755
755
  {
756
- "content": "Disabling rule…",
757
756
  "type": "typography",
757
+ "variant": "caption",
758
758
  "color": "muted",
759
- "variant": "caption"
759
+ "content": "Disabling rule…"
760
760
  }
761
761
  ],
762
- "gap": "md",
763
- "type": "stack",
762
+ "align": "center",
764
763
  "direction": "vertical",
765
- "align": "center"
764
+ "gap": "md",
765
+ "className": "py-12"
766
766
  }
767
767
  ]
768
768
  ]
@@ -777,8 +777,8 @@
777
777
  "ReorderRule",
778
778
  {
779
779
  "emit": {
780
- "failure": "ReorderRuleLoadFailed",
781
- "success": "ReorderRuleLoaded"
780
+ "success": "ReorderRuleLoaded",
781
+ "failure": "ReorderRuleLoadFailed"
782
782
  }
783
783
  }
784
784
  ],
@@ -795,38 +795,159 @@
795
795
  ]
796
796
  },
797
797
  "config": {
798
+ "defaultWarehouse": {
799
+ "type": "string",
800
+ "default": "",
801
+ "label": "Default warehouse",
802
+ "description": "Warehouse a reorder rule applies to by default.",
803
+ "tier": "customization"
804
+ },
805
+ "serialTrackingEnabled": {
806
+ "type": "boolean",
807
+ "default": false,
808
+ "label": "Serial tracking",
809
+ "description": "Reorder rule honors serial-tracked SKUs distinctly. v1.2 declarative.",
810
+ "tier": "customization"
811
+ },
812
+ "hazmatEnabled": {
813
+ "type": "boolean",
814
+ "default": false,
815
+ "label": "Hazmat reordering",
816
+ "description": "Apply hazmat handling/storage rules to triggered reorders.",
817
+ "tier": "advanced"
818
+ },
819
+ "lotTrackingEnabled": {
820
+ "type": "boolean",
821
+ "default": false,
822
+ "label": "Lot tracking",
823
+ "description": "Reorder rule honors lot-tracked SKUs distinctly. v1.2 declarative.",
824
+ "tier": "customization"
825
+ },
826
+ "itemActions": {
827
+ "type": "[ItemAction]",
828
+ "default": [
829
+ {
830
+ "label": "Open",
831
+ "event": "OPEN_RULE",
832
+ "variant": "primary",
833
+ "icon": "arrow-right"
834
+ },
835
+ {
836
+ "variant": "danger",
837
+ "label": "Disable",
838
+ "event": "DISABLE_RULE"
839
+ }
840
+ ],
841
+ "label": "Row actions",
842
+ "description": "Buttons users can click on each rule row",
843
+ "tier": "customization",
844
+ "items": {
845
+ "type": "object",
846
+ "properties": {
847
+ "icon": {
848
+ "name": "icon",
849
+ "type": "string",
850
+ "required": false
851
+ },
852
+ "variant": {
853
+ "name": "variant",
854
+ "type": "string",
855
+ "required": false
856
+ },
857
+ "label": {
858
+ "name": "label",
859
+ "type": "string",
860
+ "required": true
861
+ },
862
+ "event": {
863
+ "name": "event",
864
+ "type": "string",
865
+ "required": true
866
+ }
867
+ }
868
+ }
869
+ },
870
+ "expiryTrackingEnabled": {
871
+ "type": "boolean",
872
+ "default": false,
873
+ "label": "Expiry tracking",
874
+ "description": "Reorder near-expiry SKUs more aggressively.",
875
+ "tier": "customization"
876
+ },
877
+ "multiLocationEnabled": {
878
+ "type": "boolean",
879
+ "default": false,
880
+ "label": "Multi-location",
881
+ "description": "Allow a single rule to span multiple warehouses.",
882
+ "tier": "customization"
883
+ },
884
+ "safetyStockDays": {
885
+ "type": "number",
886
+ "default": 7.0,
887
+ "label": "Safety stock (days)",
888
+ "description": "Buffer days of expected demand to retain above the reorder threshold.",
889
+ "tier": "customization"
890
+ },
891
+ "reorderPoint": {
892
+ "type": "number",
893
+ "default": 5.0,
894
+ "label": "Default reorder point",
895
+ "description": "Default reorder qty when not specified at the rule row level.",
896
+ "tier": "essential"
897
+ },
898
+ "title": {
899
+ "type": "string",
900
+ "default": "Reorder Rules",
901
+ "label": "Section title",
902
+ "description": "Heading shown above the stock reorder rule list",
903
+ "tier": "customization"
904
+ },
905
+ "lowStockThreshold": {
906
+ "type": "number",
907
+ "default": 10.0,
908
+ "label": "Default low-stock threshold",
909
+ "description": "Default reorder trigger applied when a rule's thresholdQty isn't set.",
910
+ "tier": "essential"
911
+ },
912
+ "cycleCountFrequencyDays": {
913
+ "type": "number",
914
+ "default": 30.0,
915
+ "label": "Cycle count cadence (days)",
916
+ "description": "Days between cycle counts that may revise reorder triggers. v1.2 declarative.",
917
+ "tier": "advanced"
918
+ },
798
919
  "fields": {
799
920
  "type": "[FieldSpec]",
800
921
  "default": [
801
922
  {
802
- "variant": "caption",
923
+ "label": "SKU",
803
924
  "name": "sku",
804
- "label": "SKU"
925
+ "variant": "caption"
805
926
  },
806
927
  {
807
928
  "variant": "caption",
808
- "label": "Location",
809
- "name": "locationId"
929
+ "name": "locationId",
930
+ "label": "Location"
810
931
  },
811
932
  {
933
+ "label": "Threshold",
812
934
  "name": "thresholdQty",
813
- "variant": "caption",
814
- "label": "Threshold"
935
+ "variant": "caption"
815
936
  },
816
937
  {
817
- "variant": "caption",
818
938
  "label": "Reorder Qty",
939
+ "variant": "caption",
819
940
  "name": "reorderQty"
820
941
  },
821
942
  {
822
943
  "variant": "caption",
823
- "name": "vendor",
824
- "label": "Vendor"
944
+ "label": "Vendor",
945
+ "name": "vendor"
825
946
  },
826
947
  {
827
- "variant": "caption",
948
+ "label": "Lead (d)",
828
949
  "name": "leadTimeDays",
829
- "label": "Lead (d)"
950
+ "variant": "caption"
830
951
  }
831
952
  ],
832
953
  "label": "Columns to show",
@@ -835,6 +956,11 @@
835
956
  "items": {
836
957
  "type": "object",
837
958
  "properties": {
959
+ "label": {
960
+ "name": "label",
961
+ "type": "string",
962
+ "required": false
963
+ },
838
964
  "variant": {
839
965
  "name": "variant",
840
966
  "type": "string",
@@ -845,79 +971,23 @@
845
971
  "type": "string",
846
972
  "required": false
847
973
  },
848
- "header": {
849
- "name": "header",
850
- "type": "string",
851
- "required": false
852
- },
853
974
  "format": {
854
975
  "name": "format",
855
976
  "type": "string",
856
977
  "required": false
857
978
  },
858
- "name": {
859
- "name": "name",
860
- "type": "string",
861
- "required": true
862
- },
863
979
  "key": {
864
980
  "name": "key",
865
981
  "type": "string",
866
982
  "required": false
867
983
  },
868
- "label": {
869
- "name": "label",
870
- "type": "string",
871
- "required": false
872
- }
873
- }
874
- }
875
- },
876
- "title": {
877
- "type": "string",
878
- "default": "Reorder Rules",
879
- "label": "Section title",
880
- "description": "Heading shown above the stock reorder rule list",
881
- "tier": "customization"
882
- },
883
- "itemActions": {
884
- "type": "[ItemAction]",
885
- "default": [
886
- {
887
- "icon": "arrow-right",
888
- "variant": "primary",
889
- "label": "Open",
890
- "event": "OPEN_RULE"
891
- },
892
- {
893
- "event": "DISABLE_RULE",
894
- "label": "Disable",
895
- "variant": "danger"
896
- }
897
- ],
898
- "label": "Row actions",
899
- "description": "Buttons users can click on each rule row",
900
- "tier": "customization",
901
- "items": {
902
- "type": "object",
903
- "properties": {
904
- "icon": {
905
- "name": "icon",
906
- "type": "string",
907
- "required": false
908
- },
909
- "event": {
910
- "name": "event",
911
- "type": "string",
912
- "required": true
913
- },
914
- "label": {
915
- "name": "label",
984
+ "name": {
985
+ "name": "name",
916
986
  "type": "string",
917
987
  "required": true
918
988
  },
919
- "variant": {
920
- "name": "variant",
989
+ "header": {
990
+ "name": "header",
921
991
  "type": "string",
922
992
  "required": false
923
993
  }
@@ -941,4 +1011,4 @@
941
1011
  ]
942
1012
  }
943
1013
  ]
944
- }
1014
+ }