@happyvertical/smrt-planner 0.57.5 → 0.57.7

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 (574) hide show
  1. package/agents/assistant.md +29 -2
  2. package/agents/shell.md +13 -0
  3. package/app/404.html +27 -30
  4. package/app/_app/immutable/assets/0.BaRFeYGU.css +1 -0
  5. package/app/_app/immutable/assets/AppShell.BkKNrxND.css +1 -0
  6. package/app/_app/immutable/assets/{ModelPage.FEM0ZnPM.css → ModelPage.SIoeO-AU.css} +1 -1
  7. package/app/_app/immutable/assets/app.BHwMQ9Zv.css +1 -0
  8. package/app/_app/immutable/assets/{forms.DXOeP4wZ.css → forms.BRdbPdvs.css} +1 -1
  9. package/app/_app/immutable/assets/icons.BDx21rPt.css +1 -0
  10. package/app/_app/immutable/assets/labels.Dxa6EyRI.css +1 -0
  11. package/app/_app/immutable/assets/planner.DOQVfcOi.css +1 -0
  12. package/app/_app/immutable/assets/state.C0UZEhxS.css +1 -0
  13. package/app/_app/immutable/chunks/{C1VofLtR.js → B2uXaQfZ.js} +1 -1
  14. package/app/_app/immutable/chunks/{DuZeZzOA.js → BQLQsso4.js} +1 -1
  15. package/app/_app/immutable/chunks/BdOPgmQ_.js +11 -0
  16. package/app/_app/immutable/chunks/BeL8dJx9.js +4 -0
  17. package/app/_app/immutable/chunks/{Bal1oPZu.js → Bhd-3niN.js} +1 -1
  18. package/app/_app/immutable/chunks/{CTlMHIE6.js → BqEBz5Vq.js} +1 -1
  19. package/app/_app/immutable/chunks/{GdHEbDDH.js → BxyJ_Q7v.js} +1 -1
  20. package/app/_app/immutable/chunks/{C3sRGrYK.js → C2OYATC6.js} +1 -1
  21. package/app/_app/immutable/chunks/C6AANt9H.js +26 -0
  22. package/app/_app/immutable/chunks/{BybfWt-B.js → C8FX0hli.js} +6 -6
  23. package/app/_app/immutable/chunks/{BDbFl7UA.js → CYhwv6d2.js} +1 -1
  24. package/app/_app/immutable/chunks/CdKHckEF.js +1 -0
  25. package/app/_app/immutable/chunks/CsaWd8kG.js +2 -0
  26. package/app/_app/immutable/chunks/Cwz7QFS4.js +2 -0
  27. package/app/_app/immutable/chunks/{BG9Gz_25.js → D3lXu_rt.js} +25 -25
  28. package/app/_app/immutable/chunks/{YGONf0jr.js → D8MqcCKq.js} +1 -1
  29. package/app/_app/immutable/chunks/DF-0MxNw.js +1 -0
  30. package/app/_app/immutable/chunks/DGaFQflg.js +1 -0
  31. package/app/_app/immutable/chunks/DIE02RSm.js +1 -0
  32. package/app/_app/immutable/chunks/DIgo5ngo.js +1 -0
  33. package/app/_app/immutable/chunks/{5ukUzDcw.js → Db12RzZi.js} +1 -1
  34. package/app/_app/immutable/chunks/{Cga8zF3r.js → DfN2k_EX.js} +1 -1
  35. package/app/_app/immutable/chunks/DmHVTNcC.js +4 -0
  36. package/app/_app/immutable/chunks/{gCpxN2IC.js → DmdvNG82.js} +2 -2
  37. package/app/_app/immutable/chunks/{DjJovMrk.js → DwIRC3h5.js} +1 -1
  38. package/app/_app/immutable/chunks/{nphy1MQF.js → FeyhlLIZ.js} +1 -1
  39. package/app/_app/immutable/chunks/ICDFUCZL.js +2 -0
  40. package/app/_app/immutable/chunks/IDZmjRDr.js +1 -0
  41. package/app/_app/immutable/chunks/JqlEoPqZ.js +1 -0
  42. package/app/_app/immutable/chunks/{BiEOJeYb.js → TcjpRcdI.js} +1 -1
  43. package/app/_app/immutable/chunks/Vt9hDpHd.js +1 -0
  44. package/app/_app/immutable/chunks/ezs6CGyc.js +1 -0
  45. package/app/_app/immutable/chunks/lUJaueNM.js +16 -0
  46. package/app/_app/immutable/entry/app.C5bxPKCP.js +2 -0
  47. package/app/_app/immutable/entry/start.CZvO61qD.js +1 -0
  48. package/app/_app/immutable/nodes/0.DFJFBCCB.js +7 -0
  49. package/app/_app/immutable/nodes/{1.DKP901Gn.js → 1.D_79m87b.js} +1 -1
  50. package/app/_app/immutable/nodes/{10.DNN0cVai.js → 10.20u2-jxn.js} +1 -1
  51. package/app/_app/immutable/nodes/{11.DgbmegX3.js → 11.CvMq32jC.js} +1 -1
  52. package/app/_app/immutable/nodes/{12.D5MtnJoE.js → 12.Cd0cy1AC.js} +1 -1
  53. package/app/_app/immutable/nodes/{13._rY66Xa_.js → 13.DYYS3YVQ.js} +1 -1
  54. package/app/_app/immutable/nodes/14.BEf5BJDn.js +1 -0
  55. package/app/_app/immutable/nodes/2.C_kLkHNl.js +24 -0
  56. package/app/_app/immutable/nodes/{3.V5uGCpGb.js → 3.CZw3hv8O.js} +1 -1
  57. package/app/_app/immutable/nodes/{4.CCwzLrgu.js → 4.WMU9NDex.js} +1 -1
  58. package/app/_app/immutable/nodes/{5.CgHzwpns.js → 5.CuqxSfl4.js} +1 -1
  59. package/app/_app/immutable/nodes/{6.CvQHLh_u.js → 6.BXLQB7tR.js} +1 -1
  60. package/app/_app/immutable/nodes/{7.7EIrly34.js → 7.BZvxNeL2.js} +1 -1
  61. package/app/_app/immutable/nodes/{8.DyyRBuTw.js → 8.Bj2O4pyx.js} +1 -1
  62. package/app/_app/immutable/nodes/{9.DcURs0gN.js → 9.yeFzeUHj.js} +1 -1
  63. package/app/_app/version.json +1 -1
  64. package/app/advanced-styles/index.html +34 -35
  65. package/app/ai/index.html +39 -40
  66. package/app/blueprint/index.html +29 -32
  67. package/app/cookbook/index.html +29 -32
  68. package/app/index.html +39 -42
  69. package/app/m/ads/AdDeliveryTier/index.html +36 -37
  70. package/app/m/ads/AdEvent/index.html +36 -37
  71. package/app/m/ads/AdFormat/index.html +36 -37
  72. package/app/m/ads/AdGroup/index.html +36 -37
  73. package/app/m/ads/AdVariation/index.html +36 -37
  74. package/app/m/analytics/AnalyticsDataStream/index.html +36 -37
  75. package/app/m/analytics/AnalyticsEvent/index.html +36 -37
  76. package/app/m/analytics/AnalyticsProperty/index.html +36 -37
  77. package/app/m/analytics/AnalyticsReport/index.html +36 -37
  78. package/app/m/approvals/ApprovalEvent/index.html +36 -37
  79. package/app/m/approvals/ApprovalPolicy/index.html +36 -37
  80. package/app/m/approvals/ApprovalRequest/index.html +36 -37
  81. package/app/m/assets/Asset/attachments/index.html +38 -39
  82. package/app/m/assets/Asset/index.html +36 -37
  83. package/app/m/assets/AssetAssociation/index.html +36 -37
  84. package/app/m/assets/AssetMetafield/index.html +36 -37
  85. package/app/m/assets/AssetStatus/index.html +36 -37
  86. package/app/m/assets/AssetType/index.html +36 -37
  87. package/app/m/assets/Folder/index.html +36 -37
  88. package/app/m/chat/AgentSession/index.html +36 -37
  89. package/app/m/chat/ChatMessage/index.html +36 -37
  90. package/app/m/chat/ChatParticipant/index.html +36 -37
  91. package/app/m/chat/ChatReaction/index.html +36 -37
  92. package/app/m/chat/ChatRoom/index.html +36 -37
  93. package/app/m/chat/ChatThread/index.html +36 -37
  94. package/app/m/chat/VoiceGatewayTurn/index.html +36 -37
  95. package/app/m/chat/VoiceSession/index.html +36 -37
  96. package/app/m/commerce/Agreement/index.html +36 -37
  97. package/app/m/commerce/Cart/index.html +36 -37
  98. package/app/m/commerce/Contract/index.html +36 -37
  99. package/app/m/commerce/ContractLineItem/index.html +36 -37
  100. package/app/m/commerce/Customer/index.html +36 -37
  101. package/app/m/commerce/DocumentTax/index.html +36 -37
  102. package/app/m/commerce/Estimate/index.html +36 -37
  103. package/app/m/commerce/Fulfillment/index.html +36 -37
  104. package/app/m/commerce/FulfillmentLineItem/index.html +36 -37
  105. package/app/m/commerce/HistoricalCustomerFunds/index.html +36 -37
  106. package/app/m/commerce/HistoricalCustomerFundsAllocation/index.html +36 -37
  107. package/app/m/commerce/HistoricalSalesLine/index.html +36 -37
  108. package/app/m/commerce/Invoice/index.html +36 -37
  109. package/app/m/commerce/InvoiceLineItem/index.html +36 -37
  110. package/app/m/commerce/Lease/index.html +36 -37
  111. package/app/m/commerce/LicenseSale/index.html +36 -37
  112. package/app/m/commerce/Order/index.html +36 -37
  113. package/app/m/commerce/Payment/index.html +36 -37
  114. package/app/m/commerce/PaymentAllocation/index.html +36 -37
  115. package/app/m/commerce/PaymentInstrument/index.html +36 -37
  116. package/app/m/commerce/PaymentIntent/index.html +36 -37
  117. package/app/m/commerce/Payout/index.html +36 -37
  118. package/app/m/commerce/ProductionOrder/index.html +36 -37
  119. package/app/m/commerce/PurchaseContract/index.html +36 -37
  120. package/app/m/commerce/PurchaseOrder/index.html +36 -37
  121. package/app/m/commerce/SalesContract/index.html +36 -37
  122. package/app/m/commerce/SupplierQuote/index.html +36 -37
  123. package/app/m/commerce/TaxCode/index.html +36 -37
  124. package/app/m/commerce/TaxComponent/index.html +36 -37
  125. package/app/m/commerce/TaxSettings/index.html +36 -37
  126. package/app/m/commerce/TaxSummaryReport/index.html +36 -37
  127. package/app/m/commerce/Vendor/index.html +36 -37
  128. package/app/m/commerce/WholesaleOrder/index.html +36 -37
  129. package/app/m/content/Content/index.html +36 -37
  130. package/app/m/content/ContentContribution/index.html +36 -37
  131. package/app/m/content/ContentContributionAttachment/index.html +36 -37
  132. package/app/m/content/ContentContributionRevision/index.html +36 -37
  133. package/app/m/content/ContentContributionType/index.html +36 -37
  134. package/app/m/content/ContentContributor/index.html +36 -37
  135. package/app/m/content/ContentCorrection/index.html +36 -37
  136. package/app/m/content/ContentFeedSource/index.html +36 -37
  137. package/app/m/content/ContentGovernanceAssignment/index.html +36 -37
  138. package/app/m/content/ContentGovernancePolicy/index.html +36 -37
  139. package/app/m/content/ContentGovernanceProfile/index.html +36 -37
  140. package/app/m/content/ContentReference/index.html +36 -37
  141. package/app/m/content/ContentReview/index.html +36 -37
  142. package/app/m/content/ContentVersion/index.html +36 -37
  143. package/app/m/events/Event/index.html +36 -37
  144. package/app/m/events/EventParticipant/index.html +36 -37
  145. package/app/m/events/EventSeries/index.html +36 -37
  146. package/app/m/events/EventType/index.html +36 -37
  147. package/app/m/expenses/Expense/index.html +36 -37
  148. package/app/m/facts/Fact/index.html +36 -37
  149. package/app/m/facts/FactContent/index.html +36 -37
  150. package/app/m/facts/FactEvidence/index.html +36 -37
  151. package/app/m/facts/FactSource/index.html +36 -37
  152. package/app/m/facts/FactSubject/index.html +36 -37
  153. package/app/m/facts/FactTag/index.html +36 -37
  154. package/app/m/fields/FieldPolicy/index.html +36 -37
  155. package/app/m/fields/FieldPolicySuggestion/index.html +36 -37
  156. package/app/m/fields/FieldUsageCounter/index.html +36 -37
  157. package/app/m/images/Image/index.html +36 -37
  158. package/app/m/inventory/InventoryLocation/index.html +36 -37
  159. package/app/m/inventory/StockLevel/index.html +36 -37
  160. package/app/m/inventory/StockMovement/index.html +36 -37
  161. package/app/m/ledgers/Account/index.html +36 -37
  162. package/app/m/ledgers/Journal/index.html +36 -37
  163. package/app/m/ledgers/JournalEntry/index.html +36 -37
  164. package/app/m/ledgers/Ledger/index.html +36 -37
  165. package/app/m/manufacturing/Assembly/index.html +36 -37
  166. package/app/m/manufacturing/BillOfMaterials/index.html +36 -37
  167. package/app/m/manufacturing/BomLine/index.html +36 -37
  168. package/app/m/manufacturing/Operation/index.html +36 -37
  169. package/app/m/manufacturing/ProductionRun/index.html +36 -37
  170. package/app/m/manufacturing/ProductionRunCompletion/index.html +36 -37
  171. package/app/m/manufacturing/RoutingStep/index.html +36 -37
  172. package/app/m/marketing/Campaign/index.html +36 -37
  173. package/app/m/marketing/CampaignChannel/index.html +36 -37
  174. package/app/m/marketing/CampaignMetricSnapshot/index.html +36 -37
  175. package/app/m/messages/Account/index.html +36 -37
  176. package/app/m/messages/Attachment/index.html +36 -37
  177. package/app/m/messages/Blacklist/index.html +36 -37
  178. package/app/m/messages/Email/failed-sends/index.html +38 -39
  179. package/app/m/messages/Email/index.html +36 -37
  180. package/app/m/messages/Email/mailbox/index.html +38 -39
  181. package/app/m/messages/EmailAccount/index.html +36 -37
  182. package/app/m/messages/EmailAttachment/index.html +36 -37
  183. package/app/m/messages/EmailFolder/index.html +36 -37
  184. package/app/m/messages/Message/index.html +36 -37
  185. package/app/m/messages/MessagingEndpoint/index.html +36 -37
  186. package/app/m/messages/PersonaMessageRoute/index.html +36 -37
  187. package/app/m/messages/SlackAccount/index.html +36 -37
  188. package/app/m/messages/SlackMessage/index.html +36 -37
  189. package/app/m/messages/TelegramAccount/index.html +36 -37
  190. package/app/m/messages/Tweet/index.html +36 -37
  191. package/app/m/messages/TwitterAccount/index.html +36 -37
  192. package/app/m/messages/Whitelist/index.html +36 -37
  193. package/app/m/messages/ZulipAccount/index.html +36 -37
  194. package/app/m/places/Place/index.html +36 -37
  195. package/app/m/places/PlaceType/index.html +36 -37
  196. package/app/m/products/Category/index.html +36 -37
  197. package/app/m/products/Material/index.html +36 -37
  198. package/app/m/products/Product/index.html +36 -37
  199. package/app/m/products/Product/ingredients/index.html +38 -39
  200. package/app/m/products/ProductVariant/index.html +36 -37
  201. package/app/m/products/Sku/index.html +36 -37
  202. package/app/m/profiles/ApiKey/index.html +36 -37
  203. package/app/m/profiles/Bot/index.html +36 -37
  204. package/app/m/profiles/MagicLinkToken/index.html +36 -37
  205. package/app/m/profiles/NostrIdentity/index.html +36 -37
  206. package/app/m/profiles/OidcIdentity/index.html +36 -37
  207. package/app/m/profiles/Organization/index.html +36 -37
  208. package/app/m/profiles/Person/index.html +36 -37
  209. package/app/m/profiles/Profile/index.html +36 -37
  210. package/app/m/profiles/ProfileMetadata/index.html +36 -37
  211. package/app/m/profiles/ProfileMetafield/index.html +36 -37
  212. package/app/m/profiles/ProfileRelationship/index.html +36 -37
  213. package/app/m/profiles/ProfileRelationshipTerm/index.html +36 -37
  214. package/app/m/profiles/ProfileRelationshipType/index.html +36 -37
  215. package/app/m/profiles/ProfileType/index.html +36 -37
  216. package/app/m/projects/Comment/index.html +36 -37
  217. package/app/m/projects/Issue/index.html +36 -37
  218. package/app/m/projects/Label/index.html +36 -37
  219. package/app/m/projects/Project/index.html +36 -37
  220. package/app/m/projects/ProjectIntegration/index.html +36 -37
  221. package/app/m/projects/PullRequest/index.html +36 -37
  222. package/app/m/projects/Repository/index.html +36 -37
  223. package/app/m/properties/Property/index.html +36 -37
  224. package/app/m/properties/Zone/index.html +36 -37
  225. package/app/m/reports/RuntimeReport/index.html +39 -37
  226. package/app/m/reports/SmrtPrincipalReportRefreshTask/index.html +36 -37
  227. package/app/m/reports/SmrtReportLock/index.html +36 -37
  228. package/app/m/reports/SmrtReportRefreshTask/index.html +36 -37
  229. package/app/m/reports/SmrtReportRun/index.html +36 -37
  230. package/app/m/reports/SmrtReportSchedule/index.html +36 -37
  231. package/app/m/reports/SmrtReportWatermark/index.html +36 -37
  232. package/app/m/sales/Agreement/index.html +36 -37
  233. package/app/m/sales/AttributionException/index.html +36 -37
  234. package/app/m/sales/AttributionPolicy/index.html +36 -37
  235. package/app/m/sales/Commission/index.html +36 -37
  236. package/app/m/sales/CommissionAdjustment/index.html +36 -37
  237. package/app/m/sales/CommissionPayout/index.html +36 -37
  238. package/app/m/sales/CommissionPlan/index.html +36 -37
  239. package/app/m/sales/Earner/index.html +36 -37
  240. package/app/m/sales/EarnerSourceAttribution/index.html +36 -37
  241. package/app/m/sales/EarningEvent/index.html +36 -37
  242. package/app/m/sales/ExecutedAgreement/index.html +36 -37
  243. package/app/m/sales/Lead/index.html +36 -37
  244. package/app/m/sales/Opportunity/index.html +36 -37
  245. package/app/m/sales/OpportunityConversion/index.html +36 -37
  246. package/app/m/sales/PipelineDefinition/index.html +36 -37
  247. package/app/m/sales/PipelineStage/index.html +36 -37
  248. package/app/m/sales/Referral/index.html +36 -37
  249. package/app/m/sales/ReferralAgreement/index.html +36 -37
  250. package/app/m/sales/ReferralLink/index.html +36 -37
  251. package/app/m/sales/ReferralProgram/index.html +36 -37
  252. package/app/m/sales/ReferralTermSnapshot/index.html +36 -37
  253. package/app/m/sales/ReferralTouch/index.html +36 -37
  254. package/app/m/sales/Referrer/index.html +36 -37
  255. package/app/m/sales/SalesActivity/index.html +36 -37
  256. package/app/m/sales/SalesRepresentative/index.html +36 -37
  257. package/app/m/sites/Site/index.html +36 -37
  258. package/app/m/sites/SiteAgentBinding/index.html +36 -37
  259. package/app/m/social/OAuthState/index.html +36 -37
  260. package/app/m/social/SocialAccount/index.html +36 -37
  261. package/app/m/social/SocialPost/index.html +36 -37
  262. package/app/m/social/SocialPostAnalyticsSnapshot/index.html +36 -37
  263. package/app/m/subscriptions/BillingAdjustment/index.html +36 -37
  264. package/app/m/subscriptions/ClientCharge/index.html +36 -37
  265. package/app/m/subscriptions/CreditGrant/index.html +36 -37
  266. package/app/m/subscriptions/PricingRule/index.html +36 -37
  267. package/app/m/subscriptions/RetailCharge/index.html +36 -37
  268. package/app/m/subscriptions/SpendingPolicy/index.html +36 -37
  269. package/app/m/subscriptions/SubscriptionPlan/index.html +36 -37
  270. package/app/m/subscriptions/TenantSubscription/index.html +36 -37
  271. package/app/m/subscriptions/TenantUsageMetric/index.html +36 -37
  272. package/app/m/support/ServiceTimeEntry/index.html +36 -37
  273. package/app/m/support/SupportAiRun/index.html +36 -37
  274. package/app/m/support/SupportAvailability/index.html +36 -37
  275. package/app/m/support/SupportCase/index.html +36 -37
  276. package/app/m/support/SupportCaseEvent/index.html +36 -37
  277. package/app/m/support/SupportChannelBinding/index.html +36 -37
  278. package/app/m/support/SupportCharge/index.html +36 -37
  279. package/app/m/support/SupportCompensation/index.html +36 -37
  280. package/app/m/support/SupportCompensationPlan/index.html +36 -37
  281. package/app/m/support/SupportEscalation/index.html +36 -37
  282. package/app/m/support/SupportInteraction/index.html +36 -37
  283. package/app/m/support/SupportPlan/index.html +36 -37
  284. package/app/m/support/SupportPolicy/index.html +36 -37
  285. package/app/m/support/SupportQualification/index.html +36 -37
  286. package/app/m/support/SupportServiceTarget/index.html +36 -37
  287. package/app/m/support/SupportSpecialist/index.html +36 -37
  288. package/app/m/support/SupportWorkLink/index.html +36 -37
  289. package/app/m/tags/Tag/index.html +36 -37
  290. package/app/m/tags/TagAlias/index.html +36 -37
  291. package/app/m/timesheets/AttendanceBreak/index.html +36 -37
  292. package/app/m/timesheets/AttendancePunch/index.html +36 -37
  293. package/app/m/timesheets/AttendanceSegment/index.html +36 -37
  294. package/app/m/timesheets/ServiceChargeSnapshot/index.html +36 -37
  295. package/app/m/timesheets/ServiceCompensationSnapshot/index.html +36 -37
  296. package/app/m/timesheets/ServiceTimeEntry/index.html +36 -37
  297. package/app/m/users/Group/index.html +36 -37
  298. package/app/m/users/GroupMember/index.html +36 -37
  299. package/app/m/users/GroupRole/index.html +36 -37
  300. package/app/m/users/Membership/index.html +36 -37
  301. package/app/m/users/MembershipOverride/index.html +36 -37
  302. package/app/m/users/Permission/index.html +36 -37
  303. package/app/m/users/Role/index.html +36 -37
  304. package/app/m/users/RolePermission/index.html +36 -37
  305. package/app/m/users/Session/index.html +36 -37
  306. package/app/m/users/Tenant/index.html +36 -37
  307. package/app/m/users/TenantIntegration/index.html +36 -37
  308. package/app/m/users/TenantPermissionOverride/index.html +36 -37
  309. package/app/m/users/User/index.html +36 -37
  310. package/app/m/video/Character/index.html +36 -37
  311. package/app/m/video/CharacterAsset/index.html +36 -37
  312. package/app/m/video/CompositeJob/index.html +36 -37
  313. package/app/m/video/Performer/index.html +36 -37
  314. package/app/m/video/PerformerAsset/index.html +36 -37
  315. package/app/m/video/Scene/index.html +36 -37
  316. package/app/m/video/SceneAsset/index.html +36 -37
  317. package/app/m/video/VideoComposition/index.html +36 -37
  318. package/app/m/video/VideoCompositionAsset/index.html +36 -37
  319. package/app/m/video/VideoSequence/index.html +36 -37
  320. package/app/m/video/VideoSequenceAsset/index.html +36 -37
  321. package/app/m/video/VideoShot/index.html +36 -37
  322. package/app/m/video/VideoShotAsset/index.html +36 -37
  323. package/app/m/video/VideoShotCharacter/index.html +36 -37
  324. package/app/m/video/VideoWorkflow/index.html +36 -37
  325. package/app/m/voice/VoiceOutput/index.html +36 -37
  326. package/app/m/voice/VoiceProfile/index.html +36 -37
  327. package/app/m/voice/VoiceSample/index.html +36 -37
  328. package/app/mcp.html +2 -2
  329. package/app/packages/ads/index.html +30 -33
  330. package/app/packages/analytics/index.html +30 -33
  331. package/app/packages/approvals/index.html +30 -33
  332. package/app/packages/assets/index.html +30 -33
  333. package/app/packages/chat/index.html +30 -33
  334. package/app/packages/comments/index.html +30 -33
  335. package/app/packages/commerce/index.html +30 -33
  336. package/app/packages/content/index.html +30 -33
  337. package/app/packages/events/index.html +30 -33
  338. package/app/packages/expenses/index.html +30 -33
  339. package/app/packages/facts/index.html +30 -33
  340. package/app/packages/fields/index.html +30 -33
  341. package/app/packages/human-resources/index.html +30 -33
  342. package/app/packages/images/index.html +30 -33
  343. package/app/packages/index.html +30 -33
  344. package/app/packages/ingestion/index.html +30 -33
  345. package/app/packages/inventory/index.html +30 -33
  346. package/app/packages/ledgers/index.html +30 -33
  347. package/app/packages/manufacturing/index.html +30 -33
  348. package/app/packages/marketing/index.html +30 -33
  349. package/app/packages/messages/index.html +30 -33
  350. package/app/packages/places/index.html +30 -33
  351. package/app/packages/preferences/index.html +30 -33
  352. package/app/packages/products/index.html +30 -33
  353. package/app/packages/profiles/index.html +30 -33
  354. package/app/packages/projects/index.html +30 -33
  355. package/app/packages/properties/index.html +30 -33
  356. package/app/packages/reports/index.html +30 -33
  357. package/app/packages/sales/index.html +30 -33
  358. package/app/packages/sites/index.html +30 -33
  359. package/app/packages/social/index.html +30 -33
  360. package/app/packages/subscriptions/index.html +30 -33
  361. package/app/packages/support/index.html +30 -33
  362. package/app/packages/tags/index.html +30 -33
  363. package/app/packages/timesheets/index.html +30 -33
  364. package/app/packages/users/index.html +30 -33
  365. package/app/packages/video/index.html +30 -33
  366. package/app/packages/voice/index.html +30 -33
  367. package/app/packages/webhooks/index.html +30 -33
  368. package/app/recipes/account-access/help/index.html +32 -35
  369. package/app/recipes/account-access/index.html +36 -38
  370. package/app/recipes/activity/help/index.html +32 -35
  371. package/app/recipes/activity/index.html +36 -38
  372. package/app/recipes/agreements/help/index.html +32 -35
  373. package/app/recipes/agreements/index.html +36 -38
  374. package/app/recipes/analytics.reports/help/index.html +32 -35
  375. package/app/recipes/analytics.reports/index.html +36 -38
  376. package/app/recipes/assets/help/index.html +32 -35
  377. package/app/recipes/assets/index.html +36 -38
  378. package/app/recipes/billing/help/index.html +32 -35
  379. package/app/recipes/billing/index.html +36 -38
  380. package/app/recipes/chat.assistant/help/index.html +32 -35
  381. package/app/recipes/chat.assistant/index.html +36 -38
  382. package/app/recipes/comments/help/index.html +32 -35
  383. package/app/recipes/comments/index.html +36 -38
  384. package/app/recipes/commerce.customers/help/index.html +32 -35
  385. package/app/recipes/commerce.customers/index.html +36 -38
  386. package/app/recipes/commerce.estimates/help/index.html +32 -35
  387. package/app/recipes/commerce.estimates/index.html +36 -38
  388. package/app/recipes/commerce.purchases/help/index.html +32 -35
  389. package/app/recipes/commerce.purchases/index.html +36 -38
  390. package/app/recipes/commerce.sales/help/index.html +32 -35
  391. package/app/recipes/commerce.sales/index.html +36 -38
  392. package/app/recipes/commerce.vendors/help/index.html +32 -35
  393. package/app/recipes/commerce.vendors/index.html +36 -38
  394. package/app/recipes/commerce.wholesale/help/index.html +32 -35
  395. package/app/recipes/commerce.wholesale/index.html +36 -38
  396. package/app/recipes/events.calendar/help/index.html +32 -35
  397. package/app/recipes/events.calendar/index.html +36 -38
  398. package/app/recipes/expenses.tracking/help/index.html +32 -35
  399. package/app/recipes/expenses.tracking/index.html +36 -38
  400. package/app/recipes/fields.form-customization/help/index.html +32 -35
  401. package/app/recipes/fields.form-customization/index.html +36 -38
  402. package/app/recipes/ingestion/help/index.html +32 -35
  403. package/app/recipes/ingestion/index.html +36 -38
  404. package/app/recipes/integrations/help/index.html +32 -35
  405. package/app/recipes/integrations/index.html +36 -38
  406. package/app/recipes/inventory.stock/help/index.html +32 -35
  407. package/app/recipes/inventory.stock/index.html +36 -38
  408. package/app/recipes/ledgers.bookkeeping/help/index.html +32 -35
  409. package/app/recipes/ledgers.bookkeeping/index.html +36 -38
  410. package/app/recipes/messages/help/index.html +32 -35
  411. package/app/recipes/messages/index.html +36 -38
  412. package/app/recipes/products/help/index.html +32 -35
  413. package/app/recipes/products/index.html +36 -38
  414. package/app/recipes/projects.tracker/help/index.html +32 -35
  415. package/app/recipes/projects.tracker/index.html +36 -38
  416. package/app/recipes/reports.materialized/help/index.html +32 -35
  417. package/app/recipes/reports.materialized/index.html +36 -38
  418. package/app/recipes/reports.runtime/help/index.html +32 -35
  419. package/app/recipes/reports.runtime/index.html +37 -39
  420. package/app/recipes/sales.pipeline/help/index.html +32 -35
  421. package/app/recipes/sales.pipeline/index.html +36 -38
  422. package/app/recipes/tags.taxonomy/help/index.html +32 -35
  423. package/app/recipes/tags.taxonomy/index.html +36 -38
  424. package/app/recipes/team-collaboration/help/index.html +32 -35
  425. package/app/recipes/team-collaboration/index.html +36 -38
  426. package/app/recipes/timesheets.time-entries/help/index.html +32 -35
  427. package/app/recipes/timesheets.time-entries/index.html +36 -38
  428. package/app/s/custom-accounts/index.html +29 -32
  429. package/app/s/custom-appointments/index.html +29 -32
  430. package/app/s/custom-billing/index.html +29 -32
  431. package/app/s/custom-bookings/index.html +79 -0
  432. package/app/s/custom-buying/index.html +29 -32
  433. package/app/s/custom-checkout/index.html +29 -32
  434. package/app/s/custom-classes/index.html +29 -32
  435. package/app/s/custom-clients/index.html +29 -32
  436. package/app/s/custom-events/index.html +29 -32
  437. package/app/s/custom-fleet/index.html +29 -32
  438. package/app/s/custom-gigs/index.html +79 -0
  439. package/app/s/custom-giving/index.html +29 -32
  440. package/app/s/custom-instruments/index.html +79 -0
  441. package/app/s/custom-jobs/index.html +29 -32
  442. package/app/s/custom-kitchen/index.html +29 -32
  443. package/app/s/custom-lessons/index.html +79 -0
  444. package/app/s/custom-material/index.html +29 -32
  445. package/app/s/custom-meetings/index.html +29 -32
  446. package/app/s/custom-members/index.html +29 -32
  447. package/app/s/custom-merch/index.html +79 -0
  448. package/app/s/custom-money/index.html +79 -0
  449. package/app/s/custom-paint/index.html +29 -32
  450. package/app/s/custom-parts/index.html +29 -32
  451. package/app/s/custom-rentals/index.html +29 -32
  452. package/app/s/custom-roastery/index.html +29 -32
  453. package/app/s/custom-schedule/index.html +29 -32
  454. package/app/s/custom-shelf/index.html +29 -32
  455. package/app/s/custom-shop/index.html +29 -32
  456. package/app/s/custom-students/index.html +79 -0
  457. package/app/s/custom-wholesale/index.html +29 -32
  458. package/app/s/custom-work/index.html +29 -32
  459. package/app/s/custom-yard/index.html +29 -32
  460. package/app/s/section-access-control/index.html +29 -32
  461. package/app/s/section-account-security/index.html +29 -32
  462. package/app/s/section-accounting/index.html +29 -32
  463. package/app/s/section-activity/index.html +29 -32
  464. package/app/s/section-agreements/index.html +29 -32
  465. package/app/s/section-analytics/index.html +29 -32
  466. package/app/s/section-assets/index.html +29 -32
  467. package/app/s/section-billing/index.html +29 -32
  468. package/app/s/section-calendar/index.html +29 -32
  469. package/app/s/section-catalog/index.html +29 -32
  470. package/app/s/section-chat.assistant/index.html +29 -32
  471. package/app/s/section-comments/index.html +29 -32
  472. package/app/s/section-fields.form-customization/index.html +29 -32
  473. package/app/s/section-ingestion/index.html +29 -32
  474. package/app/s/section-integrations/index.html +29 -32
  475. package/app/s/section-messages/index.html +29 -32
  476. package/app/s/section-more/index.html +29 -32
  477. package/app/s/section-operations/index.html +29 -32
  478. package/app/s/section-projects/index.html +29 -32
  479. package/app/s/section-purchasing/index.html +29 -32
  480. package/app/s/section-reports.materialized/index.html +29 -32
  481. package/app/s/section-reports.runtime/index.html +29 -32
  482. package/app/s/section-sales/index.html +29 -32
  483. package/app/s/section-taxonomy/index.html +29 -32
  484. package/app/s/section-team/index.html +29 -32
  485. package/app/s/section-work/index.html +29 -32
  486. package/dist/assistant/change.d.ts +10 -1
  487. package/dist/assistant/change.d.ts.map +1 -1
  488. package/dist/assistant/change.js +6 -1
  489. package/dist/assistant/prompt.d.ts +10 -1
  490. package/dist/assistant/prompt.d.ts.map +1 -1
  491. package/dist/assistant/prompt.js +42 -7
  492. package/dist/assistant/session.svelte.d.ts +6 -0
  493. package/dist/assistant/session.svelte.d.ts.map +1 -1
  494. package/dist/assistant/session.svelte.js +6 -0
  495. package/dist/assistant/transport.d.ts +23 -3
  496. package/dist/assistant/transport.d.ts.map +1 -1
  497. package/dist/assistant/transport.js +356 -13
  498. package/dist/catalog/catalog.json +107 -41
  499. package/dist/components/BrowserAssistant.svelte +26 -0
  500. package/dist/components/BrowserAssistant.svelte.d.ts.map +1 -1
  501. package/dist/components/ModelPage.svelte +36 -4
  502. package/dist/components/ModelPage.svelte.d.ts.map +1 -1
  503. package/dist/components/PlannerReports.svelte +61 -0
  504. package/dist/components/PlannerReports.svelte.d.ts +10 -0
  505. package/dist/components/PlannerReports.svelte.d.ts.map +1 -0
  506. package/dist/components/PlannerSavedReportsWidget.svelte +38 -0
  507. package/dist/components/PlannerSavedReportsWidget.svelte.d.ts +9 -0
  508. package/dist/components/PlannerSavedReportsWidget.svelte.d.ts.map +1 -0
  509. package/dist/components/ReportProposalCard.svelte +63 -0
  510. package/dist/components/ReportProposalCard.svelte.d.ts +17 -0
  511. package/dist/components/ReportProposalCard.svelte.d.ts.map +1 -0
  512. package/dist/components/SectionOverview.svelte +22 -1
  513. package/dist/components/SectionOverview.svelte.d.ts.map +1 -1
  514. package/dist/components/ThemeBridge.svelte +2 -2
  515. package/dist/core/prompt.d.ts.map +1 -1
  516. package/dist/core/prompt.js +7 -1
  517. package/dist/core/reply.d.ts +6 -0
  518. package/dist/core/reply.d.ts.map +1 -1
  519. package/dist/core/reply.js +11 -0
  520. package/dist/data/packs.d.ts.map +1 -1
  521. package/dist/data/packs.js +415 -0
  522. package/dist/data/planner-source.d.ts.map +1 -1
  523. package/dist/data/planner-source.js +4 -1
  524. package/dist/library/icons.d.ts.map +1 -1
  525. package/dist/library/icons.js +10 -0
  526. package/dist/library/library.json +506 -0
  527. package/dist/overviews/definitions.d.ts.map +1 -1
  528. package/dist/overviews/definitions.js +6 -1
  529. package/dist/overviews/registry.d.ts.map +1 -1
  530. package/dist/overviews/registry.js +9 -5
  531. package/dist/planner/Planner.svelte +17 -0
  532. package/dist/planner/Planner.svelte.d.ts.map +1 -1
  533. package/dist/planner/instance.d.ts +6 -0
  534. package/dist/planner/instance.d.ts.map +1 -1
  535. package/dist/planner/shell.d.ts.map +1 -1
  536. package/dist/planner/shell.js +3 -1
  537. package/dist/reports/intent.d.ts +106 -0
  538. package/dist/reports/intent.d.ts.map +1 -0
  539. package/dist/reports/intent.js +667 -0
  540. package/dist/reports/planner.d.ts +33 -0
  541. package/dist/reports/planner.d.ts.map +1 -0
  542. package/dist/reports/planner.js +60 -0
  543. package/dist/reports/sources.d.ts +36 -0
  544. package/dist/reports/sources.d.ts.map +1 -0
  545. package/dist/reports/sources.js +125 -0
  546. package/dist/reports/store.d.ts +64 -0
  547. package/dist/reports/store.d.ts.map +1 -0
  548. package/dist/reports/store.js +214 -0
  549. package/dist/smrt-version.d.ts +1 -1
  550. package/dist/smrt-version.js +1 -1
  551. package/package.json +54 -54
  552. package/app/_app/immutable/assets/0.C8CwV4Fz.css +0 -1
  553. package/app/_app/immutable/assets/AppShell.Dnc9PAvY.css +0 -1
  554. package/app/_app/immutable/assets/app.4ScdTV_S.css +0 -1
  555. package/app/_app/immutable/assets/labels.DrQMsG17.css +0 -1
  556. package/app/_app/immutable/assets/state.CkVocVUJ.css +0 -1
  557. package/app/_app/immutable/chunks/9pRTae44.js +0 -1
  558. package/app/_app/immutable/chunks/BhU_yBI_.js +0 -1
  559. package/app/_app/immutable/chunks/Bsn3IIve.js +0 -4
  560. package/app/_app/immutable/chunks/C_3CJO_1.js +0 -1
  561. package/app/_app/immutable/chunks/Cr4byQts.js +0 -24
  562. package/app/_app/immutable/chunks/CtjBwCj8.js +0 -1
  563. package/app/_app/immutable/chunks/CyUSxz1P.js +0 -4
  564. package/app/_app/immutable/chunks/J9kOiFLO.js +0 -11
  565. package/app/_app/immutable/chunks/M-CuJzQN.js +0 -1
  566. package/app/_app/immutable/chunks/NppCG--v.js +0 -1
  567. package/app/_app/immutable/chunks/O8DAZ_le.js +0 -1
  568. package/app/_app/immutable/chunks/d_dqmeIr.js +0 -1
  569. package/app/_app/immutable/chunks/gMSmS-_y.js +0 -2
  570. package/app/_app/immutable/entry/app.B4gMiHwR.js +0 -2
  571. package/app/_app/immutable/entry/start.BXkBl20Z.js +0 -1
  572. package/app/_app/immutable/nodes/0.2MYMg80l.js +0 -9
  573. package/app/_app/immutable/nodes/14.B6TD25VU.js +0 -1
  574. package/app/_app/immutable/nodes/2.x9WyxQ1S.js +0 -24
@@ -3219,6 +3219,512 @@
3219
3219
  }
3220
3220
  }
3221
3221
  }
3222
+ },
3223
+ {
3224
+ "id": "music-teacher",
3225
+ "name": "Music teacher",
3226
+ "icon": "music",
3227
+ "summary": "Students, lesson schedule, packages, recitals and billing for a music teacher or studio.",
3228
+ "keywords": [
3229
+ "music teacher",
3230
+ "music lessons",
3231
+ "music studio",
3232
+ "music school",
3233
+ "piano teacher",
3234
+ "piano lessons",
3235
+ "guitar lessons",
3236
+ "violin lessons",
3237
+ "voice lessons",
3238
+ "singing lessons",
3239
+ "drum lessons",
3240
+ "recital",
3241
+ "instrument rental",
3242
+ "sheet music"
3243
+ ],
3244
+ "settings": {
3245
+ "currency": "USD",
3246
+ "paymentTerms": "Due at the start of each month",
3247
+ "taxRate": 0
3248
+ },
3249
+ "document": {
3250
+ "$schema": "https://s-m-r-t.dev/schemas/cookbook/v1.json",
3251
+ "version": 1,
3252
+ "theme": {
3253
+ "custom": {
3254
+ "primary": "#6d28d9",
3255
+ "fontFamily": "Georgia"
3256
+ }
3257
+ },
3258
+ "recipes": [
3259
+ "commerce.agreements",
3260
+ "commerce.customers",
3261
+ "commerce.invoicing",
3262
+ "commerce.leases",
3263
+ "events.calendar",
3264
+ "inventory.stock",
3265
+ "ledgers.bookkeeping",
3266
+ "products.simple"
3267
+ ],
3268
+ "features": [],
3269
+ "policies": [
3270
+ {
3271
+ "objectRef": "@happyvertical/smrt-commerce:Agreement",
3272
+ "fieldName": "terms",
3273
+ "scopeType": "app",
3274
+ "defaultValue": "\"Due at the start of each month\""
3275
+ },
3276
+ {
3277
+ "objectRef": "@happyvertical/smrt-commerce:Customer",
3278
+ "fieldName": "creditLimit",
3279
+ "scopeType": "app",
3280
+ "visibility": "hidden"
3281
+ },
3282
+ {
3283
+ "objectRef": "@happyvertical/smrt-commerce:Customer",
3284
+ "fieldName": "customerType",
3285
+ "scopeType": "app",
3286
+ "visibility": "hidden"
3287
+ },
3288
+ {
3289
+ "objectRef": "@happyvertical/smrt-commerce:Customer",
3290
+ "fieldName": "paymentTerms",
3291
+ "scopeType": "app",
3292
+ "defaultValue": "\"Due at the start of each month\""
3293
+ },
3294
+ {
3295
+ "objectRef": "@happyvertical/smrt-commerce:Customer",
3296
+ "fieldName": "taxExempt",
3297
+ "scopeType": "app",
3298
+ "visibility": "hidden"
3299
+ },
3300
+ {
3301
+ "objectRef": "@happyvertical/smrt-commerce:Customer",
3302
+ "fieldName": "taxId",
3303
+ "scopeType": "app",
3304
+ "visibility": "hidden"
3305
+ },
3306
+ {
3307
+ "objectRef": "@happyvertical/smrt-commerce:Estimate",
3308
+ "fieldName": "terms",
3309
+ "scopeType": "app",
3310
+ "defaultValue": "\"Due at the start of each month\""
3311
+ },
3312
+ {
3313
+ "objectRef": "@happyvertical/smrt-commerce:Invoice",
3314
+ "fieldName": "currency",
3315
+ "scopeType": "app",
3316
+ "defaultValue": "\"USD\""
3317
+ },
3318
+ {
3319
+ "objectRef": "@happyvertical/smrt-commerce:Invoice",
3320
+ "fieldName": "terms",
3321
+ "scopeType": "app",
3322
+ "defaultValue": "\"Due at the start of each month\""
3323
+ },
3324
+ {
3325
+ "objectRef": "@happyvertical/smrt-commerce:Lease",
3326
+ "fieldName": "terms",
3327
+ "scopeType": "app",
3328
+ "defaultValue": "\"Due at the start of each month\""
3329
+ },
3330
+ {
3331
+ "objectRef": "@happyvertical/smrt-commerce:Order",
3332
+ "fieldName": "terms",
3333
+ "scopeType": "app",
3334
+ "defaultValue": "\"Due at the start of each month\""
3335
+ },
3336
+ {
3337
+ "objectRef": "@happyvertical/smrt-commerce:WholesaleOrder",
3338
+ "fieldName": "terms",
3339
+ "scopeType": "app",
3340
+ "defaultValue": "\"Due at the start of each month\""
3341
+ }
3342
+ ],
3343
+ "layout": {
3344
+ "version": 1,
3345
+ "sectionOrder": [
3346
+ "custom:lessons",
3347
+ "custom:students",
3348
+ "custom:instruments",
3349
+ "custom:billing",
3350
+ "section:accounting"
3351
+ ],
3352
+ "itemOrder": {
3353
+ "custom:lessons": [
3354
+ "item:events:Event",
3355
+ "item:events:EventSeries",
3356
+ "item:events:EventType"
3357
+ ],
3358
+ "custom:students": [
3359
+ "item:commerce:Customer",
3360
+ "item:commerce:Agreement"
3361
+ ],
3362
+ "custom:instruments": [
3363
+ "item:commerce:Lease",
3364
+ "item:products:Product",
3365
+ "item:inventory:StockLevel"
3366
+ ],
3367
+ "custom:billing": [
3368
+ "item:commerce:Invoice",
3369
+ "item:commerce:Payment"
3370
+ ]
3371
+ },
3372
+ "hidden": [
3373
+ "item:commerce:Contract",
3374
+ "item:inventory:InventoryLocation",
3375
+ "item:inventory:StockMovement"
3376
+ ],
3377
+ "moved": {
3378
+ "item:events:Event": "custom:lessons",
3379
+ "item:events:EventSeries": "custom:lessons",
3380
+ "item:events:EventType": "custom:lessons",
3381
+ "item:commerce:Customer": "custom:students",
3382
+ "item:commerce:Agreement": "custom:students",
3383
+ "item:commerce:Lease": "custom:instruments",
3384
+ "item:products:Product": "custom:instruments",
3385
+ "item:inventory:StockLevel": "custom:instruments",
3386
+ "item:commerce:Invoice": "custom:billing",
3387
+ "item:commerce:Payment": "custom:billing"
3388
+ },
3389
+ "customSections": [
3390
+ {
3391
+ "id": "custom:lessons",
3392
+ "label": "Lessons"
3393
+ },
3394
+ {
3395
+ "id": "custom:students",
3396
+ "label": "Students"
3397
+ },
3398
+ {
3399
+ "id": "custom:instruments",
3400
+ "label": "Rentals & shop"
3401
+ },
3402
+ {
3403
+ "id": "custom:billing",
3404
+ "label": "Billing"
3405
+ }
3406
+ ],
3407
+ "items": {
3408
+ "item:events:Event": {
3409
+ "label": "Lesson calendar",
3410
+ "description": "Every lesson, group class and recital, with the teacher and the room."
3411
+ },
3412
+ "item:events:EventSeries": {
3413
+ "label": "Weekly slots",
3414
+ "description": "A student’s regular lesson time, set up once for the term."
3415
+ },
3416
+ "item:events:EventType": {
3417
+ "label": "Lesson types",
3418
+ "description": "Private lessons, group classes and recitals, with their length."
3419
+ },
3420
+ "item:commerce:Customer": {
3421
+ "label": "Students & families",
3422
+ "description": "Your students, with a parent or guardian to contact for younger ones."
3423
+ },
3424
+ "item:commerce:Agreement": {
3425
+ "label": "Lesson packages",
3426
+ "description": "Term enrolments and lesson packs, with who holds them and when they renew."
3427
+ },
3428
+ "item:commerce:Lease": {
3429
+ "label": "Instrument rentals",
3430
+ "description": "Instruments out on rent, with the student, the dates and the monthly fee."
3431
+ },
3432
+ "item:products:Product": {
3433
+ "label": "Books & instruments",
3434
+ "description": "Method books, sheet music, accessories and rental instruments, with prices."
3435
+ },
3436
+ "item:inventory:StockLevel": {
3437
+ "label": "Stock",
3438
+ "description": "Books, strings and rental instruments on the shelf."
3439
+ }
3440
+ },
3441
+ "sections": {
3442
+ "custom:lessons": {
3443
+ "icon": "school"
3444
+ },
3445
+ "custom:students": {
3446
+ "icon": "users"
3447
+ },
3448
+ "custom:instruments": {
3449
+ "icon": "package"
3450
+ },
3451
+ "custom:billing": {
3452
+ "icon": "receipt"
3453
+ }
3454
+ }
3455
+ }
3456
+ },
3457
+ "sectionDescriptions": {
3458
+ "custom:lessons": "Lessons, recitals and the weekly timetable.",
3459
+ "custom:students": "Students, their families and the packages they hold.",
3460
+ "custom:instruments": "Instrument rentals, books and sheet music on the shelf.",
3461
+ "custom:billing": "Invoices and the payments against them."
3462
+ }
3463
+ },
3464
+ {
3465
+ "id": "band",
3466
+ "name": "Band",
3467
+ "icon": "microphone",
3468
+ "summary": "Gigs, venues, booking contracts, merch and billing for a band.",
3469
+ "keywords": [
3470
+ "band",
3471
+ "gigs",
3472
+ "gigging",
3473
+ "live music",
3474
+ "musicians",
3475
+ "ensemble",
3476
+ "wedding band",
3477
+ "cover band",
3478
+ "venues",
3479
+ "booking",
3480
+ "promoter",
3481
+ "merch",
3482
+ "merchandise",
3483
+ "tour",
3484
+ "residency"
3485
+ ],
3486
+ "settings": {
3487
+ "currency": "USD",
3488
+ "paymentTerms": "50% deposit, balance on the night",
3489
+ "taxRate": 0
3490
+ },
3491
+ "document": {
3492
+ "$schema": "https://s-m-r-t.dev/schemas/cookbook/v1.json",
3493
+ "version": 1,
3494
+ "theme": {
3495
+ "custom": {
3496
+ "primary": "#b91c1c"
3497
+ }
3498
+ },
3499
+ "recipes": [
3500
+ "commerce.agreements",
3501
+ "commerce.customers",
3502
+ "commerce.estimates",
3503
+ "commerce.invoicing",
3504
+ "commerce.purchases",
3505
+ "commerce.sales",
3506
+ "commerce.vendors",
3507
+ "events.calendar",
3508
+ "expenses.tracking",
3509
+ "inventory.stock",
3510
+ "ledgers.bookkeeping",
3511
+ "products.simple"
3512
+ ],
3513
+ "features": [],
3514
+ "policies": [
3515
+ {
3516
+ "objectRef": "@happyvertical/smrt-commerce:Agreement",
3517
+ "fieldName": "terms",
3518
+ "scopeType": "app",
3519
+ "defaultValue": "\"50% deposit, balance on the night\""
3520
+ },
3521
+ {
3522
+ "objectRef": "@happyvertical/smrt-commerce:Customer",
3523
+ "fieldName": "creditLimit",
3524
+ "scopeType": "app",
3525
+ "visibility": "hidden"
3526
+ },
3527
+ {
3528
+ "objectRef": "@happyvertical/smrt-commerce:Customer",
3529
+ "fieldName": "customerType",
3530
+ "scopeType": "app",
3531
+ "visibility": "hidden"
3532
+ },
3533
+ {
3534
+ "objectRef": "@happyvertical/smrt-commerce:Customer",
3535
+ "fieldName": "paymentTerms",
3536
+ "scopeType": "app",
3537
+ "defaultValue": "\"50% deposit, balance on the night\""
3538
+ },
3539
+ {
3540
+ "objectRef": "@happyvertical/smrt-commerce:Estimate",
3541
+ "fieldName": "terms",
3542
+ "scopeType": "app",
3543
+ "defaultValue": "\"50% deposit, balance on the night\""
3544
+ },
3545
+ {
3546
+ "objectRef": "@happyvertical/smrt-commerce:Invoice",
3547
+ "fieldName": "currency",
3548
+ "scopeType": "app",
3549
+ "defaultValue": "\"USD\""
3550
+ },
3551
+ {
3552
+ "objectRef": "@happyvertical/smrt-commerce:Invoice",
3553
+ "fieldName": "terms",
3554
+ "scopeType": "app",
3555
+ "defaultValue": "\"50% deposit, balance on the night\""
3556
+ },
3557
+ {
3558
+ "objectRef": "@happyvertical/smrt-commerce:Lease",
3559
+ "fieldName": "terms",
3560
+ "scopeType": "app",
3561
+ "defaultValue": "\"50% deposit, balance on the night\""
3562
+ },
3563
+ {
3564
+ "objectRef": "@happyvertical/smrt-commerce:Order",
3565
+ "fieldName": "terms",
3566
+ "scopeType": "app",
3567
+ "defaultValue": "\"50% deposit, balance on the night\""
3568
+ },
3569
+ {
3570
+ "objectRef": "@happyvertical/smrt-commerce:WholesaleOrder",
3571
+ "fieldName": "terms",
3572
+ "scopeType": "app",
3573
+ "defaultValue": "\"50% deposit, balance on the night\""
3574
+ }
3575
+ ],
3576
+ "layout": {
3577
+ "version": 1,
3578
+ "sectionOrder": [
3579
+ "custom:gigs",
3580
+ "custom:bookings",
3581
+ "custom:merch",
3582
+ "custom:money",
3583
+ "section:accounting"
3584
+ ],
3585
+ "itemOrder": {
3586
+ "custom:gigs": [
3587
+ "item:events:Event",
3588
+ "item:events:EventSeries",
3589
+ "item:events:EventType"
3590
+ ],
3591
+ "custom:bookings": [
3592
+ "item:commerce:Customer",
3593
+ "item:commerce:Estimate",
3594
+ "item:commerce:Agreement"
3595
+ ],
3596
+ "custom:merch": [
3597
+ "item:products:Product",
3598
+ "item:inventory:StockLevel",
3599
+ "item:commerce:Order",
3600
+ "item:commerce:Vendor",
3601
+ "item:commerce:PurchaseOrder"
3602
+ ],
3603
+ "custom:money": [
3604
+ "item:commerce:Invoice",
3605
+ "item:commerce:Payment",
3606
+ "item:expenses:Expense"
3607
+ ]
3608
+ },
3609
+ "hidden": [
3610
+ "item:commerce:Contract",
3611
+ "item:inventory:InventoryLocation",
3612
+ "item:inventory:StockMovement"
3613
+ ],
3614
+ "moved": {
3615
+ "item:events:Event": "custom:gigs",
3616
+ "item:events:EventSeries": "custom:gigs",
3617
+ "item:events:EventType": "custom:gigs",
3618
+ "item:commerce:Customer": "custom:bookings",
3619
+ "item:commerce:Estimate": "custom:bookings",
3620
+ "item:commerce:Agreement": "custom:bookings",
3621
+ "item:products:Product": "custom:merch",
3622
+ "item:inventory:StockLevel": "custom:merch",
3623
+ "item:commerce:Order": "custom:merch",
3624
+ "item:commerce:Vendor": "custom:merch",
3625
+ "item:commerce:PurchaseOrder": "custom:merch",
3626
+ "item:commerce:Invoice": "custom:money",
3627
+ "item:commerce:Payment": "custom:money",
3628
+ "item:expenses:Expense": "custom:money"
3629
+ },
3630
+ "customSections": [
3631
+ {
3632
+ "id": "custom:gigs",
3633
+ "label": "Gigs"
3634
+ },
3635
+ {
3636
+ "id": "custom:bookings",
3637
+ "label": "Bookings"
3638
+ },
3639
+ {
3640
+ "id": "custom:merch",
3641
+ "label": "Merch"
3642
+ },
3643
+ {
3644
+ "id": "custom:money",
3645
+ "label": "Money"
3646
+ }
3647
+ ],
3648
+ "items": {
3649
+ "item:events:Event": {
3650
+ "label": "Show calendar",
3651
+ "description": "Every gig and rehearsal, with the venue, the call time and who is playing."
3652
+ },
3653
+ "item:events:EventSeries": {
3654
+ "label": "Residencies",
3655
+ "description": "Regular nights at the same venue, set up once."
3656
+ },
3657
+ "item:events:EventType": {
3658
+ "label": "Show types",
3659
+ "description": "The kinds of date you play, like a club night, a wedding, a festival set or a rehearsal."
3660
+ },
3661
+ "item:commerce:Customer": {
3662
+ "label": "Venues & promoters",
3663
+ "description": "The venues, promoters and private clients who book you, with how to reach them."
3664
+ },
3665
+ "item:commerce:Estimate": {
3666
+ "label": "Quotes",
3667
+ "description": "Quotes for a booking, ready to become a contract when accepted."
3668
+ },
3669
+ "item:commerce:Agreement": {
3670
+ "label": "Booking contracts",
3671
+ "description": "The fee, deposit and terms agreed for each show."
3672
+ },
3673
+ "item:products:Product": {
3674
+ "label": "Products",
3675
+ "description": "Shirts, records, posters and anything else on the merch table, with prices."
3676
+ },
3677
+ "item:inventory:StockLevel": {
3678
+ "label": "Stock",
3679
+ "description": "What is in the merch cases and what is left at the rehearsal space."
3680
+ },
3681
+ "item:commerce:Order": {
3682
+ "label": "Sales",
3683
+ "description": "Merch sold at shows and online."
3684
+ },
3685
+ "item:commerce:Vendor": {
3686
+ "label": "Suppliers",
3687
+ "description": "The printers and pressing plants that make your merch."
3688
+ },
3689
+ "item:commerce:PurchaseOrder": {
3690
+ "label": "Print & pressing orders",
3691
+ "description": "Shirts and records you have ordered and when they arrive."
3692
+ },
3693
+ "item:commerce:Invoice": {
3694
+ "label": "Invoices",
3695
+ "description": "Bills for deposits and show fees, and which are still owed."
3696
+ },
3697
+ "item:commerce:Payment": {
3698
+ "label": "Payments",
3699
+ "description": "Fees, deposits and merch money that has come in."
3700
+ },
3701
+ "item:expenses:Expense": {
3702
+ "label": "Expenses",
3703
+ "description": "Van hire, strings, rehearsal space and travel, with who paid and what to pay back."
3704
+ }
3705
+ },
3706
+ "sections": {
3707
+ "custom:gigs": {
3708
+ "icon": "calendar"
3709
+ },
3710
+ "custom:bookings": {
3711
+ "icon": "fileText"
3712
+ },
3713
+ "custom:merch": {
3714
+ "icon": "shoppingBag"
3715
+ },
3716
+ "custom:money": {
3717
+ "icon": "receipt"
3718
+ }
3719
+ }
3720
+ }
3721
+ },
3722
+ "sectionDescriptions": {
3723
+ "custom:gigs": "Shows, rehearsals and residencies on the calendar.",
3724
+ "custom:bookings": "Venues, quotes and the contract for each booking.",
3725
+ "custom:merch": "Merch, stock, sales and who makes it for you.",
3726
+ "custom:money": "Invoices, payments and what the band spends."
3727
+ }
3222
3728
  }
3223
3729
  ]
3224
3730
  }
@@ -1 +1 @@
1
- {"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../src/lib/overviews/definitions.ts"],"names":[],"mappings":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E,YAAY,EAAE,MAAM,qBAAqB,CAAC;AA8ExD;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,SAAS,EAAE,MAAM,GAChB,kBAAkB,GAAG,SAAS,CAahC;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAE7E;AAkBD;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,EAAE,EAAE,MAAM,GACT;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,YAAY,CAAA;CAAE,GAAG,SAAS,CAOxD;AAWD;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS,CAsBzE;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,GACzB,kBAAkB,GAAG,SAAS,CAmBhC;AAED,6EAA6E;AAC7E,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS,CAE7E;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAUtE"}
@@ -8,7 +8,7 @@
8
8
  * on), so a saved override always resolves against the same defaults: the
9
9
  * cookbook loader, the import and the page agree on what is canonical.
10
10
  */
11
- import { defineOverview, OVERVIEW_DEFAULT_MAX_WIDGETS, OVERVIEW_PAGE_ID_PATTERN, RECORD_OVERVIEW_MAX_METRICS, recordOverview, recordOverviewId, } from '@happyvertical/smrt-svelte/overview';
11
+ import { defineOverview, OVERVIEW_DEFAULT_MAX_WIDGETS, OVERVIEW_PAGE_ID_PATTERN, RECORD_OVERVIEW_MAX_METRICS, recordOverview, recordOverviewId, sectionDefaultWidget, } from '@happyvertical/smrt-svelte/overview';
12
12
  import { catalog, getModel } from "../catalog/index.js";
13
13
  import { humanize, pluralize } from "../data/format.js";
14
14
  import { FEATURE_SECTION } from "../recipes/features.js";
@@ -40,6 +40,11 @@ function leadModel(sectionId) {
40
40
  return undefined;
41
41
  }
42
42
  function defaults(sectionId) {
43
+ // A recipe that declares its own section page (smrt-reports' saved reports)
44
+ // replaces the generic shortcuts, count and records.
45
+ const page = sectionDefaultWidget(NAV_SECTIONS.get(sectionId)?.recipes[0]);
46
+ if (page && RECIPE_WIDGET_TYPES.includes(page.type))
47
+ return [page];
43
48
  const widgets = [
44
49
  { id: 'shortcuts', type: 'shortcuts', span: 4, options: {} },
45
50
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/lib/overviews/registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,KAAK,eAAe,EASpB,KAAK,gBAAgB,EAErB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EAIzB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACvB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAKL,KAAK,cAAc,EACpB,MAAM,oCAAoC,CAAC;AAM5C,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAWjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,kEAAkE;AAClE,MAAM,WAAW,oBAAoB;IACnC,kCAAkC;IAClC,MAAM,EAAE,UAAU,CAAC;IACnB,iEAAiE;IACjE,QAAQ,EAAE,SAAS,kBAAkB,EAAE,CAAC;IACxC;;;;OAIG;IACH,UAAU,EAAE,WAAW,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAC9C,qDAAqD;IACrD,IAAI,EAAE,CAAC,IAAI,EAA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const CORE_WIDGET_TYPES = [
573
573
  ];
574
574
  /**
575
575
  * How a recipe widget's `'<specifier>#<Export>'` becomes a module: a static map
576
- * of dynamic imports, one entry per package that ships widgets. The only
577
- * published widget surface (smrt-reports' `runtime-report-chart`) needs a
578
- * server, so the map is empty and every lookup is `undefined` (the widget then
579
- * renders as unavailable).
576
+ * of dynamic imports, one entry per package that ships widgets. smrt-reports'
577
+ * `saved-reports` (the Reports section page) resolves to the planner's
578
+ * wrapper over the sample data; its `runtime-report-chart` needs a server, so
579
+ * that export is missing and the widget renders as unavailable.
580
580
  */
581
- const RECIPE_WIDGET_MODULES = {};
581
+ const RECIPE_WIDGET_MODULES = {
582
+ '@happyvertical/smrt-reports/svelte': async () => ({
583
+ SavedReportsWidget: (await import('../components/PlannerSavedReportsWidget.svelte')).default,
584
+ }),
585
+ };
582
586
  export const resolveRecipeExport = async (specifier, exportName) => {
583
587
  const load = RECIPE_WIDGET_MODULES[specifier];
584
588
  if (!load)
@@ -19,6 +19,7 @@ import BrowserAssistant from '../components/BrowserAssistant.svelte';
19
19
  import HeaderIconLink from '../components/HeaderIconLink.svelte';
20
20
  import ModelWorkspace from '../components/ModelWorkspace.svelte';
21
21
  import PackagePage from '../components/PackagePage.svelte';
22
+ import PlannerReports from '../components/PlannerReports.svelte';
22
23
  import RecordView from '../components/RecordView.svelte';
23
24
  import SectionHeading from '../components/SectionHeading.svelte';
24
25
  import ThemeBridge from '../components/ThemeBridge.svelte';
@@ -40,6 +41,7 @@ import {
40
41
  import { menuEntryWords, pageScope, scopePreset } from '../recipes/scope.js';
41
42
  import { navItemId } from '../recipes/sections.js';
42
43
  import { recipeState } from '../recipes/state.svelte.js';
44
+ import { RUNTIME_REPORT_MODEL } from '../reports/sources.js';
43
45
  import { entryIndex } from '../sections/entries.js';
44
46
  import { sectionInfo, sectionTitle } from '../sections/info.js';
45
47
  import { sectionIdFromSlug } from '../sections/path.js';
@@ -282,9 +284,20 @@ onMount(() => {
282
284
  // The controller's `focus` (the assistant's "take me to it") opens a
283
285
  // section through this, as the static layout's does with its router.
284
286
  const previousOpen = plannerRuntime.openSection;
287
+ const previousOpenPath = plannerRuntime.openPath;
285
288
  plannerRuntime.openSection = (id) => {
286
289
  location.hash = `#${shell.sectionPath(id)}`;
287
290
  };
291
+ plannerRuntime.openPath = (path) => {
292
+ const hash = `#${path}`;
293
+ // The same fragment does not navigate: nothing to wait for.
294
+ if (location.hash === hash) return Promise.resolve();
295
+ const changed = new Promise<void>((resolve) => {
296
+ window.addEventListener('hashchange', () => resolve(), { once: true });
297
+ });
298
+ location.hash = hash;
299
+ return changed;
300
+ };
288
301
  const previous = cookbookView.navigator;
289
302
  cookbookView.navigator = {
290
303
  open(id) {
@@ -301,6 +314,7 @@ onMount(() => {
301
314
  return () => {
302
315
  cookbookView.navigator = previous;
303
316
  plannerRuntime.openSection = previousOpen;
317
+ plannerRuntime.openPath = previousOpenPath;
304
318
  };
305
319
  });
306
320
  const exporting = $derived(configuring && plannerTab.active === 'export');
@@ -450,6 +464,9 @@ const dockToggles = $derived(
450
464
  <AdvancedStyles backHref="#/configure/" />
451
465
  {:else if pathParts[0] === 'ai'}
452
466
  <AiModelsPage backHref="#/configure/" />
467
+ {:else if model?.id === RUNTIME_REPORT_MODEL}
468
+ <!-- Saved reports: smrt-reports' screens over the plan's sample data. -->
469
+ <PlannerReports recordId={modelRoute?.recordId} />
453
470
  {:else if applied && model && modelRoute?.recordId}
454
471
  {#key `${model.id}:${modelRoute.recordId}`}
455
472
  <RecordView
@@ -1 +1 @@
1
- {"version":3,"file":"Planner.svelte.d.ts","sourceRoot":"","sources":["../../src/lib/planner/Planner.svelte.ts"],"names":[],"mappings":"AA2DA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAwZ/C,QAAA,MAAM,OAAO,kDAAwC,CAAC;AACtD,KAAK,OAAO,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AAC1C,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Planner.svelte.d.ts","sourceRoot":"","sources":["../../src/lib/planner/Planner.svelte.ts"],"names":[],"mappings":"AA6DA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAya/C,QAAA,MAAM,OAAO,kDAAwC,CAAC;AACtD,KAAK,OAAO,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AAC1C,eAAe,OAAO,CAAC"}
@@ -7,6 +7,12 @@ export declare const plannerRuntime: {
7
7
  onReplaced?: () => void;
8
8
  /** Open a menu section's page (`focus` with a `section`). */
9
9
  openSection?: (sectionId: string) => void;
10
+ /**
11
+ * Open an in-app path (`/m/...`), e.g. a report the person just saved.
12
+ * Resolves once the navigation has finished (the router's own focus reset
13
+ * included), so a caller can move focus onto the opened page afterwards.
14
+ */
15
+ openPath?: (path: string) => void | Promise<void>;
10
16
  };
11
17
  /**
12
18
  * The app's one planner controller: the assistant, the palette, a host page
@@ -1 +1 @@
1
- {"version":3,"file":"instance.d.ts","sourceRoot":"","sources":["../../src/lib/planner/instance.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE;IAC3B,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,6DAA6D;IAC7D,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AAEP;;;GAGG;AACH,eAAO,MAAM,iBAAiB,yIAS5B,CAAC"}
1
+ {"version":3,"file":"instance.d.ts","sourceRoot":"","sources":["../../src/lib/planner/instance.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE;IAC3B,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,6DAA6D;IAC7D,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9C,CAAC;AAEP;;;GAGG;AACH,eAAO,MAAM,iBAAiB,yIAS5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../src/lib/planner/shell.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,KAAK,EACV,SAAS,EACT,kBAAkB,EACnB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAE7C;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAE1E,CAAC;AAEF,2EAA2E;AAC3E,eAAO,MAAM,4BAA4B,EAAE,kBAI1C,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,OAAO,GACb,UAAU,CAQZ;AAED,KAAK,SAAS,GAAG,WAAW,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAEtE;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,SAUnB,CAAC;AAEf,gDAAgD;AAChD,wBAAgB,iBAAiB;;;;;;;;;;;;EAShC"}
1
+ {"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../src/lib/planner/shell.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,KAAK,EACV,SAAS,EACT,kBAAkB,EACnB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAE7C;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,OAAO,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