@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-table-map",
3
- "version": "1.0.0",
4
- "description": "std-table-map — restaurant POS interactive floor plan: TableNode entities rendered as draggable nodes (round/rectangle/square) with status (empty/seated/ordered/awaiting-bill/cleaning). Owns a TableNode entity and a single manage trait that loads tables, renders them on a TableFloorPlan canvas, and persists select / move / seat / clear actions back to the row.",
3
+ "version": "1.1.0",
4
+ "description": "std-table-map — restaurant POS interactive floor plan: TableNode draggable nodes with seat/clear/select/move actions. Listens for SET_STATUS so std-lifecycle can drive table-status transitions. Exposes Restaurant/POS knobs (allowSplitChecks, allergenWarningsEnabled, …).",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "TableMapOrbital",
@@ -334,6 +334,22 @@
334
334
  }
335
335
  ]
336
336
  },
337
+ {
338
+ "key": "SET_STATUS",
339
+ "name": "Set Status",
340
+ "payloadSchema": [
341
+ {
342
+ "name": "entityId",
343
+ "type": "string",
344
+ "required": true
345
+ },
346
+ {
347
+ "name": "newStatus",
348
+ "type": "string",
349
+ "required": true
350
+ }
351
+ ]
352
+ },
337
353
  {
338
354
  "key": "TableUpdated",
339
355
  "name": "Table updated",
@@ -390,8 +406,10 @@
390
406
  "render-ui",
391
407
  "main",
392
408
  {
393
- "className": "py-12",
409
+ "gap": "md",
410
+ "type": "stack",
394
411
  "direction": "vertical",
412
+ "align": "center",
395
413
  "children": [
396
414
  {
397
415
  "type": "spinner"
@@ -399,13 +417,11 @@
399
417
  {
400
418
  "color": "muted",
401
419
  "type": "typography",
402
- "content": "Loading floor plan…",
403
- "variant": "caption"
420
+ "variant": "caption",
421
+ "content": "Loading floor plan…"
404
422
  }
405
423
  ],
406
- "gap": "md",
407
- "type": "stack",
408
- "align": "center"
424
+ "className": "py-12"
409
425
  }
410
426
  ]
411
427
  ]
@@ -420,98 +436,98 @@
420
436
  "main",
421
437
  {
422
438
  "type": "stack",
423
- "gap": "md",
424
- "direction": "vertical",
425
439
  "children": [
426
440
  {
427
- "direction": "horizontal",
428
- "type": "stack",
429
441
  "gap": "sm",
442
+ "type": "stack",
443
+ "direction": "horizontal",
430
444
  "align": "center",
431
445
  "children": [
432
446
  {
433
- "type": "icon",
434
- "name": "layout-grid"
447
+ "name": "layout-grid",
448
+ "type": "icon"
435
449
  },
436
450
  {
437
- "content": "@config.title",
438
451
  "variant": "h3",
439
- "type": "typography"
452
+ "type": "typography",
453
+ "content": "@config.title"
440
454
  }
441
455
  ]
442
456
  },
443
457
  {
444
- "type": "simple-grid",
445
- "cols": 4.0,
446
458
  "children": [
447
459
  {
448
- "icon": "grid",
449
- "value": "@payload.data.length",
460
+ "label": "Tables",
450
461
  "type": "stat-display",
451
- "label": "Tables"
462
+ "icon": "grid",
463
+ "value": "@payload.data.length"
452
464
  },
453
465
  {
454
466
  "label": "Seated",
455
- "icon": "users",
467
+ "value": "18",
456
468
  "type": "stat-display",
457
- "value": "18"
469
+ "icon": "users"
458
470
  },
459
471
  {
460
472
  "type": "stat-display",
461
- "value": "4",
473
+ "label": "Awaiting bill",
462
474
  "icon": "receipt",
463
- "label": "Awaiting bill"
475
+ "value": "4"
464
476
  },
465
477
  {
466
- "icon": "user-plus",
467
- "label": "Avg party size",
478
+ "value": "3.2",
468
479
  "type": "stat-display",
469
- "value": "3.2"
480
+ "icon": "user-plus",
481
+ "label": "Avg party size"
470
482
  }
471
- ]
483
+ ],
484
+ "cols": 4.0,
485
+ "type": "simple-grid"
472
486
  },
473
487
  {
474
488
  "type": "divider"
475
489
  },
476
490
  {
491
+ "width": "@config.canvasWidth",
477
492
  "onMove": "MOVE_TABLE",
478
- "items": "@payload.data",
493
+ "selectedId": "@entity.id",
479
494
  "onSelect": "SELECT_TABLE",
480
495
  "editable": true,
481
- "width": "@config.canvasWidth",
482
- "selectedId": "@entity.id",
496
+ "type": "positioned-canvas",
483
497
  "height": "@config.canvasHeight",
484
- "type": "positioned-canvas"
498
+ "items": "@payload.data"
485
499
  },
486
500
  {
501
+ "direction": "horizontal",
487
502
  "type": "stack",
488
- "justify": "end",
503
+ "gap": "sm",
489
504
  "children": [
490
505
  {
491
- "variant": "primary",
492
- "action": "SEAT",
493
- "label": "Seat Party",
494
- "icon": "users",
495
506
  "actionPayload": {
496
507
  "id": "@entity.id"
497
508
  },
498
- "type": "button"
509
+ "label": "Seat Party",
510
+ "type": "button",
511
+ "icon": "users",
512
+ "action": "SEAT",
513
+ "variant": "primary"
499
514
  },
500
515
  {
501
- "actionPayload": {
502
- "id": "@entity.id"
503
- },
504
516
  "label": "Clear Table",
505
517
  "type": "button",
506
- "action": "CLEAR_TABLE",
507
518
  "variant": "secondary",
508
- "icon": "eraser"
519
+ "actionPayload": {
520
+ "id": "@entity.id"
521
+ },
522
+ "icon": "eraser",
523
+ "action": "CLEAR_TABLE"
509
524
  }
510
525
  ],
511
- "gap": "sm",
512
- "direction": "horizontal"
526
+ "justify": "end"
513
527
  }
514
- ]
528
+ ],
529
+ "direction": "vertical",
530
+ "gap": "md"
515
531
  }
516
532
  ]
517
533
  ]
@@ -525,9 +541,9 @@
525
541
  "render-ui",
526
542
  "main",
527
543
  {
528
- "message": "@payload.error",
529
544
  "variant": "error",
530
- "type": "alert"
545
+ "type": "alert",
546
+ "message": "@payload.error"
531
547
  }
532
548
  ]
533
549
  ]
@@ -619,10 +635,10 @@
619
635
  "update",
620
636
  "TableNode",
621
637
  {
638
+ "status": "seated",
622
639
  "serverName": "@payload.serverName",
623
640
  "partySize": "@payload.partySize",
624
- "id": "@payload.id",
625
- "status": "seated"
641
+ "id": "@payload.id"
626
642
  },
627
643
  {
628
644
  "emit": {
@@ -658,9 +674,9 @@
658
674
  "update",
659
675
  "TableNode",
660
676
  {
661
- "partySize": 0.0,
677
+ "id": "@payload.id",
662
678
  "status": "empty",
663
- "id": "@payload.id"
679
+ "partySize": 0.0
664
680
  },
665
681
  {
666
682
  "emit": {
@@ -671,6 +687,57 @@
671
687
  ]
672
688
  ]
673
689
  },
690
+ {
691
+ "from": "browsing",
692
+ "to": "loading",
693
+ "event": "SET_STATUS",
694
+ "effects": [
695
+ [
696
+ "set",
697
+ "@entity.id",
698
+ "@payload.entityId"
699
+ ],
700
+ [
701
+ "set",
702
+ "@entity.status",
703
+ "@payload.newStatus"
704
+ ],
705
+ [
706
+ "persist",
707
+ "update",
708
+ "TableNode",
709
+ "@entity",
710
+ {
711
+ "emit": {
712
+ "failure": "TableWriteFailed",
713
+ "success": "TableUpdated"
714
+ }
715
+ }
716
+ ],
717
+ [
718
+ "render-ui",
719
+ "main",
720
+ {
721
+ "gap": "md",
722
+ "type": "stack",
723
+ "align": "center",
724
+ "direction": "vertical",
725
+ "className": "py-12",
726
+ "children": [
727
+ {
728
+ "type": "spinner"
729
+ },
730
+ {
731
+ "content": "Updating table status…",
732
+ "color": "muted",
733
+ "variant": "caption",
734
+ "type": "typography"
735
+ }
736
+ ]
737
+ }
738
+ ]
739
+ ]
740
+ },
674
741
  {
675
742
  "from": "browsing",
676
743
  "to": "loading",
@@ -681,8 +748,8 @@
681
748
  "TableNode",
682
749
  {
683
750
  "emit": {
684
- "success": "TableLoaded",
685
- "failure": "TableLoadFailed"
751
+ "failure": "TableLoadFailed",
752
+ "success": "TableLoaded"
686
753
  }
687
754
  }
688
755
  ]
@@ -709,9 +776,9 @@
709
776
  "render-ui",
710
777
  "main",
711
778
  {
779
+ "type": "alert",
712
780
  "message": "@payload.error",
713
- "variant": "error",
714
- "type": "alert"
781
+ "variant": "error"
715
782
  }
716
783
  ]
717
784
  ]
@@ -744,6 +811,27 @@
744
811
  ]
745
812
  },
746
813
  "config": {
814
+ "allowSplitChecks": {
815
+ "type": "boolean",
816
+ "default": true,
817
+ "label": "Allow split checks",
818
+ "description": "Permit splitting a table check across multiple payments.",
819
+ "tier": "customization"
820
+ },
821
+ "tableTurnoverTargetMinutes": {
822
+ "type": "number",
823
+ "default": 60.0,
824
+ "label": "Table turnover target (min)",
825
+ "description": "Target minutes between seatings on a single table. v1.1 declarative.",
826
+ "tier": "advanced"
827
+ },
828
+ "coursingEnabled": {
829
+ "type": "boolean",
830
+ "default": false,
831
+ "label": "Coursing enabled",
832
+ "description": "Track courses for table pacing.",
833
+ "tier": "customization"
834
+ },
747
835
  "title": {
748
836
  "type": "string",
749
837
  "default": "Floor Plan",
@@ -751,6 +839,35 @@
751
839
  "description": "Heading shown above the restaurant floor plan",
752
840
  "tier": "customization"
753
841
  },
842
+ "canvasHeight": {
843
+ "type": "number",
844
+ "default": 600.0,
845
+ "label": "Canvas height",
846
+ "description": "Floor plan canvas height in pixels",
847
+ "tier": "advanced"
848
+ },
849
+ "allergenWarningsEnabled": {
850
+ "type": "boolean",
851
+ "default": true,
852
+ "label": "Allergen warnings",
853
+ "description": "Surface allergen warnings on items selected for a seated table.",
854
+ "tier": "customization"
855
+ },
856
+ "tipPresets": {
857
+ "type": "[number]",
858
+ "default": [
859
+ 15.0,
860
+ 18.0,
861
+ 20.0,
862
+ 25.0
863
+ ],
864
+ "label": "Tip presets (%)",
865
+ "description": "Quick-select tip percentages shown when closing a table check.",
866
+ "tier": "customization",
867
+ "items": {
868
+ "type": "number"
869
+ }
870
+ },
754
871
  "canvasWidth": {
755
872
  "type": "number",
756
873
  "default": 800.0,
@@ -758,12 +875,19 @@
758
875
  "description": "Floor plan canvas width in pixels",
759
876
  "tier": "advanced"
760
877
  },
761
- "canvasHeight": {
878
+ "kitchenAutoFire": {
879
+ "type": "boolean",
880
+ "default": false,
881
+ "label": "Kitchen auto-fire",
882
+ "description": "Auto-fire courses to the kitchen display when a table moves to ordered.",
883
+ "tier": "customization"
884
+ },
885
+ "serviceCharge": {
762
886
  "type": "number",
763
- "default": 600.0,
764
- "label": "Canvas height",
765
- "description": "Floor plan canvas height in pixels",
766
- "tier": "advanced"
887
+ "default": 0.0,
888
+ "label": "Service charge (%)",
889
+ "description": "Default service-charge percentage applied to checks for these tables.",
890
+ "tier": "customization"
767
891
  }
768
892
  },
769
893
  "scope": "collection"
@@ -782,4 +906,4 @@
782
906
  ]
783
907
  }
784
908
  ]
785
- }
909
+ }