@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-segment",
3
- "version": "1.1.0",
4
- "description": "std-segment — contact segment primitive. Defines a filter criteria for grouping contacts. Lists segments in `browsing`; opens segment detail in `viewing_single` with Recalculate action. Agents tune the list shape via `config.fields` + `config.itemActions`.",
3
+ "version": "1.2.0",
4
+ "description": "std-segment — contact segment primitive grouping contacts by criteria with Recalculate action. Exposes CRM-pattern knobs (health-score threshold, reminder cadence, archive policy, consent).",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "SegmentOrbital",
@@ -216,11 +216,9 @@
216
216
  "render-ui",
217
217
  "main",
218
218
  {
219
- "align": "center",
219
+ "className": "py-12",
220
220
  "type": "stack",
221
- "gap": "md",
222
221
  "direction": "vertical",
223
- "className": "py-12",
224
222
  "children": [
225
223
  {
226
224
  "type": "spinner"
@@ -231,7 +229,9 @@
231
229
  "variant": "caption",
232
230
  "type": "typography"
233
231
  }
234
- ]
232
+ ],
233
+ "gap": "md",
234
+ "align": "center"
235
235
  }
236
236
  ]
237
237
  ]
@@ -250,8 +250,10 @@
250
250
  "gap": "md",
251
251
  "children": [
252
252
  {
253
+ "direction": "horizontal",
253
254
  "type": "stack",
254
255
  "align": "center",
256
+ "gap": "sm",
255
257
  "children": [
256
258
  {
257
259
  "name": "users",
@@ -259,53 +261,51 @@
259
261
  },
260
262
  {
261
263
  "type": "typography",
262
- "content": "@config.title",
263
- "variant": "h3"
264
+ "variant": "h3",
265
+ "content": "@config.title"
264
266
  }
265
- ],
266
- "direction": "horizontal",
267
- "gap": "sm"
267
+ ]
268
268
  },
269
269
  {
270
+ "type": "simple-grid",
271
+ "cols": 4.0,
270
272
  "children": [
271
273
  {
272
- "icon": "users",
273
- "label": "Total segments",
274
274
  "type": "stat-display",
275
- "value": "@payload.data.length"
275
+ "value": "@payload.data.length",
276
+ "label": "Total segments",
277
+ "icon": "users"
276
278
  },
277
279
  {
278
280
  "value": "12,480",
279
- "icon": "user-check",
280
281
  "type": "stat-display",
281
- "label": "Active members"
282
+ "label": "Active members",
283
+ "icon": "user-check"
282
284
  },
283
285
  {
284
- "type": "stat-display",
285
- "icon": "bar-chart",
286
+ "label": "Avg size",
286
287
  "value": "1,560",
287
- "label": "Avg size"
288
+ "type": "stat-display",
289
+ "icon": "bar-chart"
288
290
  },
289
291
  {
290
292
  "icon": "refresh-cw",
291
293
  "value": "8",
292
- "label": "Updated 24h",
293
- "type": "stat-display"
294
+ "type": "stat-display",
295
+ "label": "Updated 24h"
294
296
  }
295
- ],
296
- "type": "simple-grid",
297
- "cols": 4.0
297
+ ]
298
298
  },
299
299
  {
300
300
  "type": "divider"
301
301
  },
302
302
  {
303
+ "gap": "sm",
304
+ "fields": "@config.fields",
303
305
  "itemActions": "@config.itemActions",
306
+ "type": "data-grid",
304
307
  "entity": "@payload.data",
305
- "cols": 1.0,
306
- "fields": "@config.fields",
307
- "gap": "sm",
308
- "type": "data-grid"
308
+ "cols": 1.0
309
309
  }
310
310
  ]
311
311
  }
@@ -369,77 +369,77 @@
369
369
  {
370
370
  "children": [
371
371
  {
372
- "gap": "sm",
373
- "type": "stack",
374
372
  "direction": "horizontal",
375
373
  "align": "center",
374
+ "type": "stack",
376
375
  "children": [
377
376
  {
377
+ "action": "CLOSE_VIEW",
378
378
  "type": "button",
379
379
  "label": "Back",
380
- "variant": "ghost",
381
- "action": "CLOSE_VIEW"
380
+ "variant": "ghost"
382
381
  },
383
382
  {
384
- "name": "users",
385
- "type": "icon"
383
+ "type": "icon",
384
+ "name": "users"
386
385
  },
387
386
  {
387
+ "variant": "h3",
388
388
  "content": "@entity.name",
389
- "type": "typography",
390
- "variant": "h3"
389
+ "type": "typography"
391
390
  },
392
391
  {
393
392
  "type": "badge",
394
- "variant": "primary",
395
- "label": "@entity.memberCount"
393
+ "label": "@entity.memberCount",
394
+ "variant": "primary"
396
395
  }
397
- ]
396
+ ],
397
+ "gap": "sm"
398
398
  },
399
399
  {
400
400
  "type": "divider"
401
401
  },
402
402
  {
403
+ "type": "stack",
404
+ "direction": "vertical",
403
405
  "children": [
404
406
  {
407
+ "type": "stack",
405
408
  "gap": "md",
409
+ "direction": "horizontal",
406
410
  "children": [
407
411
  {
408
- "content": "Description",
409
- "color": "muted",
410
412
  "type": "typography",
411
- "variant": "caption"
413
+ "color": "muted",
414
+ "variant": "caption",
415
+ "content": "Description"
412
416
  },
413
417
  {
414
418
  "type": "typography",
415
- "content": "@entity.description",
416
- "variant": "body"
419
+ "variant": "body",
420
+ "content": "@entity.description"
417
421
  }
418
- ],
419
- "type": "stack",
420
- "direction": "horizontal"
422
+ ]
421
423
  },
422
424
  {
425
+ "direction": "horizontal",
423
426
  "gap": "md",
424
427
  "children": [
425
428
  {
426
- "color": "muted",
427
- "type": "typography",
428
429
  "content": "Criteria",
429
- "variant": "caption"
430
+ "variant": "caption",
431
+ "color": "muted",
432
+ "type": "typography"
430
433
  },
431
434
  {
432
435
  "variant": "body",
433
- "type": "typography",
434
- "content": "@entity.criteria"
436
+ "content": "@entity.criteria",
437
+ "type": "typography"
435
438
  }
436
439
  ],
437
- "type": "stack",
438
- "direction": "horizontal"
440
+ "type": "stack"
439
441
  }
440
442
  ],
441
- "type": "stack",
442
- "direction": "vertical",
443
443
  "gap": "sm"
444
444
  },
445
445
  {
@@ -449,36 +449,36 @@
449
449
  "children": [
450
450
  {
451
451
  "icon": "users",
452
- "label": "Members",
453
452
  "type": "stat-display",
453
+ "label": "Members",
454
454
  "value": "@entity.memberCount"
455
455
  },
456
456
  {
457
457
  "label": "Last updated",
458
458
  "icon": "calendar",
459
- "value": "@entity.lastUpdated",
460
- "type": "stat-display"
459
+ "type": "stat-display",
460
+ "value": "@entity.lastUpdated"
461
461
  }
462
462
  ],
463
463
  "type": "simple-grid",
464
464
  "cols": 2.0
465
465
  },
466
466
  {
467
- "gap": "sm",
468
- "direction": "horizontal",
467
+ "type": "stack",
468
+ "align": "center",
469
469
  "children": [
470
470
  {
471
- "action": "RECALCULATE",
472
471
  "actionPayload": {
473
472
  "id": "@entity.id"
474
473
  },
475
474
  "variant": "primary",
476
475
  "type": "button",
476
+ "action": "RECALCULATE",
477
477
  "label": "Recalculate"
478
478
  }
479
479
  ],
480
- "type": "stack",
481
- "align": "center"
480
+ "gap": "sm",
481
+ "direction": "horizontal"
482
482
  }
483
483
  ],
484
484
  "type": "stack",
@@ -503,8 +503,8 @@
503
503
  "Segment",
504
504
  {
505
505
  "emit": {
506
- "failure": "SegmentLoadFailed",
507
- "success": "SegmentLoaded"
506
+ "success": "SegmentLoaded",
507
+ "failure": "SegmentLoadFailed"
508
508
  }
509
509
  }
510
510
  ],
@@ -512,22 +512,22 @@
512
512
  "render-ui",
513
513
  "main",
514
514
  {
515
- "className": "py-12",
516
- "gap": "md",
517
- "align": "center",
518
515
  "type": "stack",
516
+ "gap": "md",
517
+ "className": "py-12",
518
+ "direction": "vertical",
519
519
  "children": [
520
520
  {
521
521
  "type": "spinner"
522
522
  },
523
523
  {
524
524
  "variant": "caption",
525
- "content": "Recalculating segment…",
526
525
  "color": "muted",
526
+ "content": "Recalculating segment…",
527
527
  "type": "typography"
528
528
  }
529
529
  ],
530
- "direction": "vertical"
530
+ "align": "center"
531
531
  }
532
532
  ]
533
533
  ]
@@ -552,21 +552,21 @@
552
552
  "main",
553
553
  {
554
554
  "gap": "md",
555
- "align": "center",
556
- "type": "stack",
555
+ "direction": "vertical",
556
+ "className": "py-12",
557
557
  "children": [
558
558
  {
559
559
  "type": "spinner"
560
560
  },
561
561
  {
562
+ "color": "muted",
562
563
  "variant": "caption",
563
- "type": "typography",
564
564
  "content": "Loading segments…",
565
- "color": "muted"
565
+ "type": "typography"
566
566
  }
567
567
  ],
568
- "direction": "vertical",
569
- "className": "py-12"
568
+ "type": "stack",
569
+ "align": "center"
570
570
  }
571
571
  ]
572
572
  ]
@@ -595,21 +595,21 @@
595
595
  "render-ui",
596
596
  "main",
597
597
  {
598
+ "direction": "vertical",
598
599
  "className": "py-12",
600
+ "gap": "md",
601
+ "align": "center",
599
602
  "children": [
600
603
  {
601
604
  "type": "spinner"
602
605
  },
603
606
  {
607
+ "variant": "caption",
604
608
  "type": "typography",
605
- "color": "muted",
606
609
  "content": "Recalculating segment…",
607
- "variant": "caption"
610
+ "color": "muted"
608
611
  }
609
612
  ],
610
- "direction": "vertical",
611
- "align": "center",
612
- "gap": "md",
613
613
  "type": "stack"
614
614
  }
615
615
  ]
@@ -643,50 +643,33 @@
643
643
  ]
644
644
  },
645
645
  "config": {
646
- "itemActions": {
647
- "type": "[ItemAction]",
646
+ "consentTrackingEnabled": {
647
+ "type": "boolean",
648
+ "default": true,
649
+ "label": "Track consent",
650
+ "description": "Whether membership in this segment honors recorded consent. Declarative.",
651
+ "tier": "customization"
652
+ },
653
+ "renewalReminderDaysBefore": {
654
+ "type": "[number]",
648
655
  "default": [
649
- {
650
- "icon": "arrow-right",
651
- "label": "Open",
652
- "event": "OPEN_SEGMENT",
653
- "variant": "primary"
654
- },
655
- {
656
- "event": "RECALCULATE",
657
- "variant": "danger",
658
- "label": "Recalculate"
659
- }
656
+ 30.0,
657
+ 7.0
660
658
  ],
661
- "label": "Row actions",
662
- "description": "Buttons users can click on each segment row",
659
+ "label": "Reminder cadence (days)",
660
+ "description": "Days ahead of any segment-wide deadline to send reminders. Declarative; wire via sibling std-reminder-scheduler.",
663
661
  "tier": "customization",
664
662
  "items": {
665
- "type": "object",
666
- "properties": {
667
- "event": {
668
- "name": "event",
669
- "type": "string",
670
- "required": true
671
- },
672
- "variant": {
673
- "name": "variant",
674
- "type": "string",
675
- "required": false
676
- },
677
- "icon": {
678
- "name": "icon",
679
- "type": "string",
680
- "required": false
681
- },
682
- "label": {
683
- "name": "label",
684
- "type": "string",
685
- "required": true
686
- }
687
- }
663
+ "type": "number"
688
664
  }
689
665
  },
666
+ "archiveInactiveAfterDays": {
667
+ "type": "number",
668
+ "default": 365.0,
669
+ "label": "Archive inactive after (days)",
670
+ "description": "Days a segment may go unrecalculated before being archived. Declarative; wire via sibling std-lifecycle.",
671
+ "tier": "advanced"
672
+ },
690
673
  "title": {
691
674
  "type": "string",
692
675
  "default": "Segments",
@@ -699,23 +682,23 @@
699
682
  "default": [
700
683
  {
701
684
  "variant": "caption",
702
- "name": "name",
703
- "label": "Name"
685
+ "label": "Name",
686
+ "name": "name"
704
687
  },
705
688
  {
706
689
  "variant": "caption",
707
- "label": "Description",
708
- "name": "description"
690
+ "name": "description",
691
+ "label": "Description"
709
692
  },
710
693
  {
711
- "name": "memberCount",
712
694
  "label": "Members",
713
- "variant": "badge"
695
+ "variant": "badge",
696
+ "name": "memberCount"
714
697
  },
715
698
  {
716
- "name": "lastUpdated",
699
+ "variant": "caption",
717
700
  "label": "Updated",
718
- "variant": "caption"
701
+ "name": "lastUpdated"
719
702
  }
720
703
  ],
721
704
  "label": "Columns to show",
@@ -724,13 +707,28 @@
724
707
  "items": {
725
708
  "type": "object",
726
709
  "properties": {
710
+ "key": {
711
+ "name": "key",
712
+ "type": "string",
713
+ "required": false
714
+ },
715
+ "header": {
716
+ "name": "header",
717
+ "type": "string",
718
+ "required": false
719
+ },
720
+ "icon": {
721
+ "name": "icon",
722
+ "type": "string",
723
+ "required": false
724
+ },
727
725
  "name": {
728
726
  "name": "name",
729
727
  "type": "string",
730
728
  "required": true
731
729
  },
732
- "variant": {
733
- "name": "variant",
730
+ "label": {
731
+ "name": "label",
734
732
  "type": "string",
735
733
  "required": false
736
734
  },
@@ -739,28 +737,64 @@
739
737
  "type": "string",
740
738
  "required": false
741
739
  },
742
- "key": {
743
- "name": "key",
740
+ "variant": {
741
+ "name": "variant",
744
742
  "type": "string",
745
743
  "required": false
746
- },
747
- "header": {
748
- "name": "header",
744
+ }
745
+ }
746
+ }
747
+ },
748
+ "itemActions": {
749
+ "type": "[ItemAction]",
750
+ "default": [
751
+ {
752
+ "label": "Open",
753
+ "event": "OPEN_SEGMENT",
754
+ "variant": "primary",
755
+ "icon": "arrow-right"
756
+ },
757
+ {
758
+ "variant": "danger",
759
+ "event": "RECALCULATE",
760
+ "label": "Recalculate"
761
+ }
762
+ ],
763
+ "label": "Row actions",
764
+ "description": "Buttons users can click on each segment row",
765
+ "tier": "customization",
766
+ "items": {
767
+ "type": "object",
768
+ "properties": {
769
+ "event": {
770
+ "name": "event",
749
771
  "type": "string",
750
- "required": false
772
+ "required": true
751
773
  },
752
- "icon": {
753
- "name": "icon",
774
+ "variant": {
775
+ "name": "variant",
754
776
  "type": "string",
755
777
  "required": false
756
778
  },
757
779
  "label": {
758
780
  "name": "label",
759
781
  "type": "string",
782
+ "required": true
783
+ },
784
+ "icon": {
785
+ "name": "icon",
786
+ "type": "string",
760
787
  "required": false
761
788
  }
762
789
  }
763
790
  }
791
+ },
792
+ "healthScoreThresholdAlert": {
793
+ "type": "number",
794
+ "default": 50.0,
795
+ "label": "Health score threshold",
796
+ "description": "Trigger alert when segment-average health score drops below this. Declarative; wire via sibling std-notify.",
797
+ "tier": "customization"
764
798
  }
765
799
  },
766
800
  "scope": "collection"
@@ -779,4 +813,4 @@
779
813
  ]
780
814
  }
781
815
  ]
782
- }
816
+ }