@happyvertical/smrt-planner 0.57.23 → 0.57.24

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 (491) hide show
  1. package/README.md +4 -0
  2. package/app/404.html +20 -20
  3. package/app/_app/immutable/chunks/{DDUFMbln.js → 1GBio_H2.js} +1 -1
  4. package/app/_app/immutable/chunks/{MmHaXU4b.js → B33Fo4ZS.js} +1 -1
  5. package/app/_app/immutable/chunks/{BflB2H1L.js → BC1P4iwo.js} +1 -1
  6. package/app/_app/immutable/chunks/{DjquMmpY.js → BHLtaEPv.js} +1 -1
  7. package/app/_app/immutable/chunks/{DStfTIAH.js → BIUrguKp.js} +1 -1
  8. package/app/_app/immutable/chunks/{BtSzzGL9.js → BYqxTIkt.js} +2 -2
  9. package/app/_app/immutable/chunks/{BYHjfE-b.js → BqtRLibF.js} +1 -1
  10. package/app/_app/immutable/chunks/{9L3dNfkK.js → BtoT2pqw.js} +1 -1
  11. package/app/_app/immutable/chunks/{C02TM_fN.js → C33RzYsH.js} +1 -1
  12. package/app/_app/immutable/chunks/{owGf5br4.js → CAZMjeEK.js} +1 -1
  13. package/app/_app/immutable/chunks/{CVghpwiD.js → CL1tDD9e.js} +1 -1
  14. package/app/_app/immutable/chunks/CWmeIXvO.js +1 -0
  15. package/app/_app/immutable/chunks/{BJd5_iEd.js → CYBXkaMf.js} +1 -1
  16. package/app/_app/immutable/chunks/{L_QoSlaq.js → CcOOwl3E.js} +1 -1
  17. package/app/_app/immutable/chunks/{BURJLO86.js → CxT6HMu-.js} +1 -1
  18. package/app/_app/immutable/chunks/{Cz6tL-D9.js → Cy_l8oE9.js} +1 -1
  19. package/app/_app/immutable/chunks/{BxqwLJxH.js → D36Vab8k.js} +1 -1
  20. package/app/_app/immutable/chunks/DAdobkjC.js +1 -0
  21. package/app/_app/immutable/chunks/{CnTTaPLW.js → DFeQkw0Y.js} +1 -1
  22. package/app/_app/immutable/chunks/{CtUJ6371.js → DGPNNf9U.js} +1 -1
  23. package/app/_app/immutable/chunks/DN8LDQSL.js +1 -0
  24. package/app/_app/immutable/chunks/{DoBzUVUY.js → DRQRFkTT.js} +1 -1
  25. package/app/_app/immutable/chunks/{BHTRM1Kb.js → DUGQNk_P.js} +3 -3
  26. package/app/_app/immutable/chunks/{BAuMdkxG.js → DkiBi9Ch.js} +1 -1
  27. package/app/_app/immutable/chunks/{3VWTjVYN.js → DngCqpNg.js} +1 -1
  28. package/app/_app/immutable/chunks/{DNvk6EmD.js → DrVjbhcL.js} +2 -2
  29. package/app/_app/immutable/chunks/{DVKpOUQg.js → DuPSAAra.js} +1 -1
  30. package/app/_app/immutable/chunks/{oK-VrAnF.js → Dv81UX_l.js} +1 -1
  31. package/app/_app/immutable/chunks/{CM0ANSfi.js → Dz9vbXAE.js} +1 -1
  32. package/app/_app/immutable/chunks/{D5ZhnqTi.js → KBclkSFr.js} +1 -1
  33. package/app/_app/immutable/chunks/NjrUob_C.js +1 -0
  34. package/app/_app/immutable/chunks/{BbvYxGc9.js → TDoi5cNA.js} +21 -21
  35. package/app/_app/immutable/entry/{app.B1sDs6F_.js → app.DWI-WWng.js} +2 -2
  36. package/app/_app/immutable/entry/start.B8NwXksS.js +1 -0
  37. package/app/_app/immutable/nodes/{0.D63Aqnuc.js → 0.Ct1Df_ay.js} +1 -1
  38. package/app/_app/immutable/nodes/{1.Dc4EjXWM.js → 1.BqEqX0bJ.js} +1 -1
  39. package/app/_app/immutable/nodes/{10.D2PAFsIh.js → 10.CaPbwkYX.js} +1 -1
  40. package/app/_app/immutable/nodes/{11.Dbysgk9L.js → 11.BcoV9iBo.js} +1 -1
  41. package/app/_app/immutable/nodes/{12.BoeJ6yBL.js → 12.DNpYwSIN.js} +1 -1
  42. package/app/_app/immutable/nodes/{13.BQoyQPYd.js → 13.BmpaQm6r.js} +1 -1
  43. package/app/_app/immutable/nodes/{14.DMpf_4tF.js → 14.yClVhFIK.js} +1 -1
  44. package/app/_app/immutable/nodes/{2.Ba31N2J9.js → 2.CQYanKPa.js} +3 -3
  45. package/app/_app/immutable/nodes/{3.BO4AAJ8L.js → 3.FakDedtH.js} +1 -1
  46. package/app/_app/immutable/nodes/{4.Ck-PWmyF.js → 4.DHnSaOsK.js} +1 -1
  47. package/app/_app/immutable/nodes/{5.CQ1U77R6.js → 5.BkcQIMO9.js} +1 -1
  48. package/app/_app/immutable/nodes/{6.ZGaiDrI2.js → 6.DdsIdUwa.js} +1 -1
  49. package/app/_app/immutable/nodes/{7.LLlDQHWS.js → 7.CdWO1z8n.js} +1 -1
  50. package/app/_app/immutable/nodes/{8.BppJdNP8.js → 8.CU0BLewh.js} +1 -1
  51. package/app/_app/immutable/nodes/{9.LTYycrjh.js → 9.CQvwbEB1.js} +1 -1
  52. package/app/_app/version.json +1 -1
  53. package/app/advanced-styles/index.html +23 -23
  54. package/app/ai/index.html +26 -26
  55. package/app/blueprint/index.html +21 -21
  56. package/app/cookbook/index.html +21 -21
  57. package/app/index.html +30 -30
  58. package/app/m/ads/AdDeliveryTier/index.html +25 -25
  59. package/app/m/ads/AdEvent/index.html +25 -25
  60. package/app/m/ads/AdFormat/index.html +25 -25
  61. package/app/m/ads/AdGroup/index.html +25 -25
  62. package/app/m/ads/AdVariation/index.html +25 -25
  63. package/app/m/analytics/AnalyticsDataStream/index.html +25 -25
  64. package/app/m/analytics/AnalyticsEvent/index.html +25 -25
  65. package/app/m/analytics/AnalyticsProperty/index.html +25 -25
  66. package/app/m/analytics/AnalyticsReport/index.html +25 -25
  67. package/app/m/approvals/ApprovalEvent/index.html +25 -25
  68. package/app/m/approvals/ApprovalPolicy/index.html +25 -25
  69. package/app/m/approvals/ApprovalRequest/index.html +25 -25
  70. package/app/m/assets/Asset/attachments/index.html +26 -26
  71. package/app/m/assets/Asset/index.html +25 -25
  72. package/app/m/assets/AssetAssociation/index.html +25 -25
  73. package/app/m/assets/AssetMetafield/index.html +25 -25
  74. package/app/m/assets/AssetStatus/index.html +25 -25
  75. package/app/m/assets/AssetType/index.html +25 -25
  76. package/app/m/assets/Folder/index.html +25 -25
  77. package/app/m/chat/AgentSession/index.html +25 -25
  78. package/app/m/chat/ChatMessage/index.html +25 -25
  79. package/app/m/chat/ChatParticipant/index.html +25 -25
  80. package/app/m/chat/ChatReaction/index.html +25 -25
  81. package/app/m/chat/ChatRoom/index.html +25 -25
  82. package/app/m/chat/ChatThread/index.html +25 -25
  83. package/app/m/chat/VoiceGatewayTurn/index.html +25 -25
  84. package/app/m/chat/VoiceSession/index.html +25 -25
  85. package/app/m/commerce/Agreement/index.html +25 -25
  86. package/app/m/commerce/Cart/index.html +25 -25
  87. package/app/m/commerce/Contract/index.html +25 -25
  88. package/app/m/commerce/ContractLineItem/index.html +25 -25
  89. package/app/m/commerce/Customer/index.html +25 -25
  90. package/app/m/commerce/DocumentTax/index.html +25 -25
  91. package/app/m/commerce/Estimate/index.html +25 -25
  92. package/app/m/commerce/Fulfillment/index.html +25 -25
  93. package/app/m/commerce/FulfillmentLineItem/index.html +25 -25
  94. package/app/m/commerce/HistoricalCustomerFunds/index.html +25 -25
  95. package/app/m/commerce/HistoricalCustomerFundsAllocation/index.html +25 -25
  96. package/app/m/commerce/HistoricalSalesLine/index.html +25 -25
  97. package/app/m/commerce/Invoice/index.html +25 -25
  98. package/app/m/commerce/InvoiceLineItem/index.html +25 -25
  99. package/app/m/commerce/Lease/index.html +25 -25
  100. package/app/m/commerce/LicenseSale/index.html +25 -25
  101. package/app/m/commerce/Order/index.html +25 -25
  102. package/app/m/commerce/Payment/index.html +25 -25
  103. package/app/m/commerce/PaymentAllocation/index.html +25 -25
  104. package/app/m/commerce/PaymentInstrument/index.html +25 -25
  105. package/app/m/commerce/PaymentIntent/index.html +25 -25
  106. package/app/m/commerce/Payout/index.html +25 -25
  107. package/app/m/commerce/ProductionOrder/index.html +25 -25
  108. package/app/m/commerce/PurchaseContract/index.html +25 -25
  109. package/app/m/commerce/PurchaseOrder/index.html +25 -25
  110. package/app/m/commerce/SalesContract/index.html +25 -25
  111. package/app/m/commerce/SupplierQuote/index.html +25 -25
  112. package/app/m/commerce/TaxCode/index.html +25 -25
  113. package/app/m/commerce/TaxComponent/index.html +25 -25
  114. package/app/m/commerce/TaxSettings/index.html +25 -25
  115. package/app/m/commerce/TaxSummaryReport/index.html +25 -25
  116. package/app/m/commerce/TenantPaymentAccount/index.html +25 -25
  117. package/app/m/commerce/Vendor/index.html +25 -25
  118. package/app/m/commerce/WholesaleOrder/index.html +25 -25
  119. package/app/m/content/Content/index.html +25 -25
  120. package/app/m/content/ContentContribution/index.html +25 -25
  121. package/app/m/content/ContentContributionAttachment/index.html +25 -25
  122. package/app/m/content/ContentContributionRevision/index.html +25 -25
  123. package/app/m/content/ContentContributionType/index.html +25 -25
  124. package/app/m/content/ContentContributor/index.html +25 -25
  125. package/app/m/content/ContentCorrection/index.html +25 -25
  126. package/app/m/content/ContentFeedSource/index.html +25 -25
  127. package/app/m/content/ContentGovernanceAssignment/index.html +25 -25
  128. package/app/m/content/ContentGovernancePolicy/index.html +25 -25
  129. package/app/m/content/ContentGovernanceProfile/index.html +25 -25
  130. package/app/m/content/ContentReference/index.html +25 -25
  131. package/app/m/content/ContentReview/index.html +25 -25
  132. package/app/m/content/ContentVersion/index.html +25 -25
  133. package/app/m/events/Event/index.html +25 -25
  134. package/app/m/events/EventParticipant/index.html +25 -25
  135. package/app/m/events/EventSeries/index.html +25 -25
  136. package/app/m/events/EventType/index.html +25 -25
  137. package/app/m/expenses/Expense/index.html +25 -25
  138. package/app/m/facts/Fact/index.html +25 -25
  139. package/app/m/facts/FactContent/index.html +25 -25
  140. package/app/m/facts/FactEvidence/index.html +25 -25
  141. package/app/m/facts/FactSource/index.html +25 -25
  142. package/app/m/facts/FactSubject/index.html +25 -25
  143. package/app/m/facts/FactTag/index.html +25 -25
  144. package/app/m/fields/FieldPolicy/index.html +25 -25
  145. package/app/m/fields/FieldPolicySuggestion/index.html +25 -25
  146. package/app/m/fields/FieldUsageCounter/index.html +25 -25
  147. package/app/m/images/Image/index.html +25 -25
  148. package/app/m/inventory/InventoryLocation/index.html +25 -25
  149. package/app/m/inventory/Lot/index.html +25 -25
  150. package/app/m/inventory/LotCorrection/index.html +25 -25
  151. package/app/m/inventory/LotDocument/index.html +25 -25
  152. package/app/m/inventory/LotStockLevel/index.html +25 -25
  153. package/app/m/inventory/LotUsage/index.html +25 -25
  154. package/app/m/inventory/StockLevel/index.html +25 -25
  155. package/app/m/inventory/StockMovement/index.html +25 -25
  156. package/app/m/ledgers/Account/index.html +25 -25
  157. package/app/m/ledgers/Journal/index.html +25 -25
  158. package/app/m/ledgers/JournalEntry/index.html +25 -25
  159. package/app/m/ledgers/Ledger/index.html +25 -25
  160. package/app/m/manufacturing/Assembly/index.html +25 -25
  161. package/app/m/manufacturing/BillOfMaterials/index.html +25 -25
  162. package/app/m/manufacturing/BomLine/index.html +25 -25
  163. package/app/m/manufacturing/Operation/index.html +25 -25
  164. package/app/m/manufacturing/ProductionRun/index.html +25 -25
  165. package/app/m/manufacturing/ProductionRunCompletion/index.html +25 -25
  166. package/app/m/manufacturing/RoutingStep/index.html +25 -25
  167. package/app/m/marketing/Campaign/index.html +25 -25
  168. package/app/m/marketing/CampaignChannel/index.html +25 -25
  169. package/app/m/marketing/CampaignMetricSnapshot/index.html +25 -25
  170. package/app/m/messages/Account/index.html +25 -25
  171. package/app/m/messages/Attachment/index.html +25 -25
  172. package/app/m/messages/Blacklist/index.html +25 -25
  173. package/app/m/messages/Email/failed-sends/index.html +26 -26
  174. package/app/m/messages/Email/index.html +25 -25
  175. package/app/m/messages/Email/mailbox/index.html +26 -26
  176. package/app/m/messages/EmailAccount/index.html +25 -25
  177. package/app/m/messages/EmailAttachment/index.html +25 -25
  178. package/app/m/messages/EmailFolder/index.html +25 -25
  179. package/app/m/messages/Message/index.html +25 -25
  180. package/app/m/messages/MessagingEndpoint/index.html +25 -25
  181. package/app/m/messages/PersonaMessageRoute/index.html +25 -25
  182. package/app/m/messages/SlackAccount/index.html +25 -25
  183. package/app/m/messages/SlackMessage/index.html +25 -25
  184. package/app/m/messages/TelegramAccount/index.html +25 -25
  185. package/app/m/messages/Tweet/index.html +25 -25
  186. package/app/m/messages/TwitterAccount/index.html +25 -25
  187. package/app/m/messages/Whitelist/index.html +25 -25
  188. package/app/m/messages/ZulipAccount/index.html +25 -25
  189. package/app/m/places/Place/index.html +25 -25
  190. package/app/m/places/PlaceType/index.html +25 -25
  191. package/app/m/products/Category/index.html +25 -25
  192. package/app/m/products/Material/index.html +25 -25
  193. package/app/m/products/Product/index.html +25 -25
  194. package/app/m/products/Product/ingredients/index.html +26 -26
  195. package/app/m/products/ProductVariant/index.html +25 -25
  196. package/app/m/products/Sku/index.html +25 -25
  197. package/app/m/profiles/ApiKey/index.html +25 -25
  198. package/app/m/profiles/Bot/index.html +25 -25
  199. package/app/m/profiles/MagicLinkToken/index.html +25 -25
  200. package/app/m/profiles/NostrIdentity/index.html +25 -25
  201. package/app/m/profiles/OidcIdentity/index.html +25 -25
  202. package/app/m/profiles/Organization/index.html +25 -25
  203. package/app/m/profiles/Person/index.html +25 -25
  204. package/app/m/profiles/Profile/index.html +25 -25
  205. package/app/m/profiles/ProfileMetadata/index.html +25 -25
  206. package/app/m/profiles/ProfileMetafield/index.html +25 -25
  207. package/app/m/profiles/ProfileRelationship/index.html +25 -25
  208. package/app/m/profiles/ProfileRelationshipTerm/index.html +25 -25
  209. package/app/m/profiles/ProfileRelationshipType/index.html +25 -25
  210. package/app/m/profiles/ProfileType/index.html +25 -25
  211. package/app/m/projects/Comment/index.html +25 -25
  212. package/app/m/projects/Issue/index.html +25 -25
  213. package/app/m/projects/Label/index.html +25 -25
  214. package/app/m/projects/Project/index.html +25 -25
  215. package/app/m/projects/ProjectIntegration/index.html +25 -25
  216. package/app/m/projects/PullRequest/index.html +25 -25
  217. package/app/m/projects/Repository/index.html +25 -25
  218. package/app/m/properties/Property/index.html +25 -25
  219. package/app/m/properties/Zone/index.html +25 -25
  220. package/app/m/reports/RuntimeReport/index.html +25 -25
  221. package/app/m/reports/SmrtPrincipalReportRefreshTask/index.html +25 -25
  222. package/app/m/reports/SmrtReportLock/index.html +25 -25
  223. package/app/m/reports/SmrtReportRefreshTask/index.html +25 -25
  224. package/app/m/reports/SmrtReportRun/index.html +25 -25
  225. package/app/m/reports/SmrtReportSchedule/index.html +25 -25
  226. package/app/m/reports/SmrtReportWatermark/index.html +25 -25
  227. package/app/m/sales/Agreement/index.html +25 -25
  228. package/app/m/sales/AttributionException/index.html +25 -25
  229. package/app/m/sales/AttributionPolicy/index.html +25 -25
  230. package/app/m/sales/Commission/index.html +25 -25
  231. package/app/m/sales/CommissionAdjustment/index.html +25 -25
  232. package/app/m/sales/CommissionPayout/index.html +25 -25
  233. package/app/m/sales/CommissionPlan/index.html +25 -25
  234. package/app/m/sales/Earner/index.html +25 -25
  235. package/app/m/sales/EarnerSourceAttribution/index.html +25 -25
  236. package/app/m/sales/EarningEvent/index.html +25 -25
  237. package/app/m/sales/ExecutedAgreement/index.html +25 -25
  238. package/app/m/sales/Lead/index.html +25 -25
  239. package/app/m/sales/Opportunity/index.html +25 -25
  240. package/app/m/sales/OpportunityConversion/index.html +25 -25
  241. package/app/m/sales/PipelineDefinition/index.html +25 -25
  242. package/app/m/sales/PipelineStage/index.html +25 -25
  243. package/app/m/sales/Referral/index.html +25 -25
  244. package/app/m/sales/ReferralAgreement/index.html +25 -25
  245. package/app/m/sales/ReferralLink/index.html +25 -25
  246. package/app/m/sales/ReferralProgram/index.html +25 -25
  247. package/app/m/sales/ReferralTermSnapshot/index.html +25 -25
  248. package/app/m/sales/ReferralTouch/index.html +25 -25
  249. package/app/m/sales/Referrer/index.html +25 -25
  250. package/app/m/sales/SalesActivity/index.html +25 -25
  251. package/app/m/sales/SalesRepresentative/index.html +25 -25
  252. package/app/m/sites/Site/index.html +25 -25
  253. package/app/m/sites/SiteAgentBinding/index.html +25 -25
  254. package/app/m/social/OAuthState/index.html +25 -25
  255. package/app/m/social/SocialAccount/index.html +25 -25
  256. package/app/m/social/SocialPost/index.html +25 -25
  257. package/app/m/social/SocialPostAnalyticsSnapshot/index.html +25 -25
  258. package/app/m/subscriptions/BillingAdjustment/index.html +25 -25
  259. package/app/m/subscriptions/ClientCharge/index.html +25 -25
  260. package/app/m/subscriptions/CreditGrant/index.html +25 -25
  261. package/app/m/subscriptions/PricingRule/index.html +25 -25
  262. package/app/m/subscriptions/RetailCharge/index.html +25 -25
  263. package/app/m/subscriptions/SpendingPolicy/index.html +25 -25
  264. package/app/m/subscriptions/SubscriptionPlan/index.html +25 -25
  265. package/app/m/subscriptions/SubscriptionPlanVersion/index.html +25 -25
  266. package/app/m/subscriptions/TenantSubscription/index.html +25 -25
  267. package/app/m/subscriptions/TenantUsageMetric/index.html +25 -25
  268. package/app/m/support/ServiceTimeEntry/index.html +25 -25
  269. package/app/m/support/SupportAiRun/index.html +25 -25
  270. package/app/m/support/SupportAvailability/index.html +25 -25
  271. package/app/m/support/SupportCase/index.html +25 -25
  272. package/app/m/support/SupportCaseEvent/index.html +25 -25
  273. package/app/m/support/SupportChannelBinding/index.html +25 -25
  274. package/app/m/support/SupportCharge/index.html +25 -25
  275. package/app/m/support/SupportCompensation/index.html +25 -25
  276. package/app/m/support/SupportCompensationPlan/index.html +25 -25
  277. package/app/m/support/SupportEscalation/index.html +25 -25
  278. package/app/m/support/SupportInteraction/index.html +25 -25
  279. package/app/m/support/SupportPlan/index.html +25 -25
  280. package/app/m/support/SupportPolicy/index.html +25 -25
  281. package/app/m/support/SupportQualification/index.html +25 -25
  282. package/app/m/support/SupportServiceTarget/index.html +25 -25
  283. package/app/m/support/SupportSpecialist/index.html +25 -25
  284. package/app/m/support/SupportWorkLink/index.html +25 -25
  285. package/app/m/tags/Tag/index.html +25 -25
  286. package/app/m/tags/TagAlias/index.html +25 -25
  287. package/app/m/timesheets/AttendanceBreak/index.html +25 -25
  288. package/app/m/timesheets/AttendancePunch/index.html +25 -25
  289. package/app/m/timesheets/AttendanceSegment/index.html +25 -25
  290. package/app/m/timesheets/ServiceChargeSnapshot/index.html +25 -25
  291. package/app/m/timesheets/ServiceCompensationSnapshot/index.html +25 -25
  292. package/app/m/timesheets/ServiceTimeEntry/index.html +25 -25
  293. package/app/m/users/Group/index.html +25 -25
  294. package/app/m/users/GroupMember/index.html +25 -25
  295. package/app/m/users/GroupRole/index.html +25 -25
  296. package/app/m/users/Membership/index.html +25 -25
  297. package/app/m/users/MembershipOverride/index.html +25 -25
  298. package/app/m/users/Permission/index.html +25 -25
  299. package/app/m/users/Role/index.html +25 -25
  300. package/app/m/users/RolePermission/index.html +25 -25
  301. package/app/m/users/Session/index.html +25 -25
  302. package/app/m/users/Tenant/index.html +25 -25
  303. package/app/m/users/TenantIntegration/index.html +25 -25
  304. package/app/m/users/TenantPermissionOverride/index.html +25 -25
  305. package/app/m/users/User/index.html +25 -25
  306. package/app/m/video/Character/index.html +25 -25
  307. package/app/m/video/CharacterAsset/index.html +25 -25
  308. package/app/m/video/CompositeJob/index.html +25 -25
  309. package/app/m/video/Performer/index.html +25 -25
  310. package/app/m/video/PerformerAsset/index.html +25 -25
  311. package/app/m/video/Scene/index.html +25 -25
  312. package/app/m/video/SceneAsset/index.html +25 -25
  313. package/app/m/video/VideoComposition/index.html +25 -25
  314. package/app/m/video/VideoCompositionAsset/index.html +25 -25
  315. package/app/m/video/VideoSequence/index.html +25 -25
  316. package/app/m/video/VideoSequenceAsset/index.html +25 -25
  317. package/app/m/video/VideoShot/index.html +25 -25
  318. package/app/m/video/VideoShotAsset/index.html +25 -25
  319. package/app/m/video/VideoShotCharacter/index.html +25 -25
  320. package/app/m/video/VideoWorkflow/index.html +25 -25
  321. package/app/m/voice/VoiceOutput/index.html +25 -25
  322. package/app/m/voice/VoiceProfile/index.html +25 -25
  323. package/app/m/voice/VoiceSample/index.html +25 -25
  324. package/app/mcp.html +2 -2
  325. package/app/packages/ads/index.html +23 -23
  326. package/app/packages/analytics/index.html +23 -23
  327. package/app/packages/approvals/index.html +23 -23
  328. package/app/packages/assets/index.html +23 -23
  329. package/app/packages/chat/index.html +23 -23
  330. package/app/packages/comments/index.html +23 -23
  331. package/app/packages/commerce/index.html +23 -23
  332. package/app/packages/content/index.html +23 -23
  333. package/app/packages/events/index.html +23 -23
  334. package/app/packages/expenses/index.html +23 -23
  335. package/app/packages/facts/index.html +23 -23
  336. package/app/packages/fields/index.html +23 -23
  337. package/app/packages/human-resources/index.html +23 -23
  338. package/app/packages/images/index.html +23 -23
  339. package/app/packages/index.html +22 -22
  340. package/app/packages/ingestion/index.html +23 -23
  341. package/app/packages/inventory/index.html +23 -23
  342. package/app/packages/ledgers/index.html +23 -23
  343. package/app/packages/manufacturing/index.html +23 -23
  344. package/app/packages/marketing/index.html +23 -23
  345. package/app/packages/messages/index.html +23 -23
  346. package/app/packages/places/index.html +23 -23
  347. package/app/packages/preferences/index.html +23 -23
  348. package/app/packages/products/index.html +23 -23
  349. package/app/packages/profiles/index.html +23 -23
  350. package/app/packages/projects/index.html +23 -23
  351. package/app/packages/properties/index.html +23 -23
  352. package/app/packages/reactions/index.html +23 -23
  353. package/app/packages/reports/index.html +23 -23
  354. package/app/packages/sales/index.html +24 -24
  355. package/app/packages/sites/index.html +23 -23
  356. package/app/packages/social/index.html +23 -23
  357. package/app/packages/subscriptions/index.html +23 -23
  358. package/app/packages/support/index.html +23 -23
  359. package/app/packages/tags/index.html +23 -23
  360. package/app/packages/timesheets/index.html +23 -23
  361. package/app/packages/users/index.html +23 -23
  362. package/app/packages/video/index.html +23 -23
  363. package/app/packages/voice/index.html +23 -23
  364. package/app/packages/webhooks/index.html +23 -23
  365. package/app/recipes/account-access/help/index.html +23 -23
  366. package/app/recipes/account-access/index.html +25 -25
  367. package/app/recipes/activity/help/index.html +23 -23
  368. package/app/recipes/activity/index.html +25 -25
  369. package/app/recipes/agreements/help/index.html +23 -23
  370. package/app/recipes/agreements/index.html +25 -25
  371. package/app/recipes/analytics.reports/help/index.html +23 -23
  372. package/app/recipes/analytics.reports/index.html +25 -25
  373. package/app/recipes/assets/help/index.html +23 -23
  374. package/app/recipes/assets/index.html +25 -25
  375. package/app/recipes/billing/help/index.html +23 -23
  376. package/app/recipes/billing/index.html +25 -25
  377. package/app/recipes/chat.assistant/help/index.html +23 -23
  378. package/app/recipes/chat.assistant/index.html +25 -25
  379. package/app/recipes/comments/help/index.html +23 -23
  380. package/app/recipes/comments/index.html +25 -25
  381. package/app/recipes/commerce.customers/help/index.html +23 -23
  382. package/app/recipes/commerce.customers/index.html +25 -25
  383. package/app/recipes/commerce.estimates/help/index.html +23 -23
  384. package/app/recipes/commerce.estimates/index.html +25 -25
  385. package/app/recipes/commerce.purchases/help/index.html +23 -23
  386. package/app/recipes/commerce.purchases/index.html +25 -25
  387. package/app/recipes/commerce.sales/help/index.html +23 -23
  388. package/app/recipes/commerce.sales/index.html +25 -25
  389. package/app/recipes/commerce.vendors/help/index.html +23 -23
  390. package/app/recipes/commerce.vendors/index.html +25 -25
  391. package/app/recipes/commerce.wholesale/help/index.html +23 -23
  392. package/app/recipes/commerce.wholesale/index.html +25 -25
  393. package/app/recipes/events.calendar/help/index.html +23 -23
  394. package/app/recipes/events.calendar/index.html +25 -25
  395. package/app/recipes/expenses.tracking/help/index.html +23 -23
  396. package/app/recipes/expenses.tracking/index.html +25 -25
  397. package/app/recipes/fields.form-customization/help/index.html +23 -23
  398. package/app/recipes/fields.form-customization/index.html +25 -25
  399. package/app/recipes/ingestion/help/index.html +23 -23
  400. package/app/recipes/ingestion/index.html +25 -25
  401. package/app/recipes/integrations/help/index.html +23 -23
  402. package/app/recipes/integrations/index.html +25 -25
  403. package/app/recipes/inventory.stock/help/index.html +23 -23
  404. package/app/recipes/inventory.stock/index.html +25 -25
  405. package/app/recipes/ledgers.bookkeeping/help/index.html +23 -23
  406. package/app/recipes/ledgers.bookkeeping/index.html +25 -25
  407. package/app/recipes/messages/help/index.html +23 -23
  408. package/app/recipes/messages/index.html +25 -25
  409. package/app/recipes/products/help/index.html +23 -23
  410. package/app/recipes/products/index.html +25 -25
  411. package/app/recipes/projects.tracker/help/index.html +23 -23
  412. package/app/recipes/projects.tracker/index.html +25 -25
  413. package/app/recipes/reports.materialized/help/index.html +23 -23
  414. package/app/recipes/reports.materialized/index.html +25 -25
  415. package/app/recipes/reports.runtime/help/index.html +23 -23
  416. package/app/recipes/reports.runtime/index.html +25 -25
  417. package/app/recipes/sales.pipeline/help/index.html +23 -23
  418. package/app/recipes/sales.pipeline/index.html +25 -25
  419. package/app/recipes/tags.taxonomy/help/index.html +23 -23
  420. package/app/recipes/tags.taxonomy/index.html +25 -25
  421. package/app/recipes/team-collaboration/help/index.html +23 -23
  422. package/app/recipes/team-collaboration/index.html +25 -25
  423. package/app/recipes/timesheets.time-entries/help/index.html +23 -23
  424. package/app/recipes/timesheets.time-entries/index.html +25 -25
  425. package/app/s/custom-accounts/index.html +21 -21
  426. package/app/s/custom-appointments/index.html +21 -21
  427. package/app/s/custom-billing/index.html +21 -21
  428. package/app/s/custom-bookings/index.html +21 -21
  429. package/app/s/custom-buying/index.html +21 -21
  430. package/app/s/custom-checkout/index.html +21 -21
  431. package/app/s/custom-classes/index.html +21 -21
  432. package/app/s/custom-clients/index.html +21 -21
  433. package/app/s/custom-events/index.html +21 -21
  434. package/app/s/custom-fleet/index.html +21 -21
  435. package/app/s/custom-gigs/index.html +21 -21
  436. package/app/s/custom-giving/index.html +21 -21
  437. package/app/s/custom-instruments/index.html +21 -21
  438. package/app/s/custom-jobs/index.html +21 -21
  439. package/app/s/custom-kitchen/index.html +21 -21
  440. package/app/s/custom-lessons/index.html +21 -21
  441. package/app/s/custom-material/index.html +21 -21
  442. package/app/s/custom-meetings/index.html +21 -21
  443. package/app/s/custom-members/index.html +21 -21
  444. package/app/s/custom-merch/index.html +21 -21
  445. package/app/s/custom-money/index.html +21 -21
  446. package/app/s/custom-paint/index.html +21 -21
  447. package/app/s/custom-parts/index.html +21 -21
  448. package/app/s/custom-rentals/index.html +21 -21
  449. package/app/s/custom-roastery/index.html +21 -21
  450. package/app/s/custom-schedule/index.html +21 -21
  451. package/app/s/custom-shelf/index.html +21 -21
  452. package/app/s/custom-shop/index.html +21 -21
  453. package/app/s/custom-students/index.html +21 -21
  454. package/app/s/custom-wholesale/index.html +21 -21
  455. package/app/s/custom-work/index.html +21 -21
  456. package/app/s/custom-yard/index.html +21 -21
  457. package/app/s/section-access-control/index.html +21 -21
  458. package/app/s/section-account-security/index.html +21 -21
  459. package/app/s/section-accounting/index.html +21 -21
  460. package/app/s/section-activity/index.html +21 -21
  461. package/app/s/section-agreements/index.html +21 -21
  462. package/app/s/section-analytics/index.html +21 -21
  463. package/app/s/section-assets/index.html +21 -21
  464. package/app/s/section-billing/index.html +21 -21
  465. package/app/s/section-calendar/index.html +21 -21
  466. package/app/s/section-catalog/index.html +21 -21
  467. package/app/s/section-chat.assistant/index.html +21 -21
  468. package/app/s/section-comments/index.html +21 -21
  469. package/app/s/section-fields.form-customization/index.html +21 -21
  470. package/app/s/section-ingestion/index.html +21 -21
  471. package/app/s/section-integrations/index.html +21 -21
  472. package/app/s/section-messages/index.html +21 -21
  473. package/app/s/section-more/index.html +21 -21
  474. package/app/s/section-operations/index.html +21 -21
  475. package/app/s/section-projects/index.html +21 -21
  476. package/app/s/section-purchasing/index.html +21 -21
  477. package/app/s/section-reports.materialized/index.html +21 -21
  478. package/app/s/section-reports.runtime/index.html +21 -21
  479. package/app/s/section-sales/index.html +21 -21
  480. package/app/s/section-taxonomy/index.html +21 -21
  481. package/app/s/section-team/index.html +21 -21
  482. package/app/s/section-work/index.html +21 -21
  483. package/dist/catalog/catalog.json +71 -39
  484. package/dist/smrt-version.d.ts +1 -1
  485. package/dist/smrt-version.js +1 -1
  486. package/package.json +56 -56
  487. package/app/_app/immutable/chunks/CmWALmyo.js +0 -1
  488. package/app/_app/immutable/chunks/D3ec9cTM.js +0 -1
  489. package/app/_app/immutable/chunks/D9AWjZuU.js +0 -1
  490. package/app/_app/immutable/chunks/icQ9pGib.js +0 -1
  491. package/app/_app/immutable/entry/start.Dj0PlEGb.js +0 -1
@@ -1 +1 @@
1
- import{O as e,u as t}from"./BbvYxGc9.js";import{v as n}from"./BJd5_iEd.js";import{c as r}from"./DDUFMbln.js";var i=`@happyvertical/smrt-reports:RuntimeReport`;function a(e){switch(e.type){case`text`:return`string`;case`integer`:return`integer`;case`decimal`:return`decimal`;case`boolean`:return`boolean`;case`datetime`:return`datetime`;case`foreignKey`:case`crossPackageRef`:return`id`;default:return null}}function o(e){let t=e.replace(/([a-z\d])([A-Z])/g,`$1_$2`).toLowerCase();return/(series|species)$/.test(t)?t:/[^aeiou]y$/.test(t)?`${t.slice(0,-1)}ies`:/(s|x|z|ch|sh)$/.test(t)?`${t}es`:`${t}s`}var s=[`totalAmount`,`total`,`amount`];function c(n,i,c=o(n.name)){let l=[{name:`id`,type:`string`}];for(let r of n.fields){let n=a(r);if(!n||r.system||l.some(e=>e.name===r.name))continue;let i=e(r)?`money`:n===`datetime`&&r.ui?.format===`date`?`date`:void 0;l.push({name:r.name,type:n,label:t(r),...i?{format:i}:{},...n===`string`&&r.enum?.length?{enum:r.enum}:{}})}let u=l.filter(e=>e.format===`money`),d=s.map(e=>u.find(t=>t.name===e)).find(Boolean),f={id:c,label:i,...n.description?{description:n.description}:{},schema:l,model:n,...d?{amountField:d.name}:{}},p=r([f],c).defaultTimeField;return p?{...f,dateField:p}:f}function l(e,t){let r=new Set(e),i=new Map;for(let e of t)if(r.has(e.id))for(let t of n(e))t.model.id!==`@happyvertical/smrt-reports:RuntimeReport`&&i.set(t.model.id,[...i.get(t.model.id)??[],t]);let a=new Map,s=new Set;for(let[e,t]of i){let n=t.find(e=>!e.filter)??t[0],r=o(n.model.name);s.has(r)&&(r=`${n.packageId}.${r}`),s.add(r),a.set(e,c(n.model,n.label,r))}return[...a.values()]}export{l as n,i as t};
1
+ import{O as e,u as t}from"./TDoi5cNA.js";import{v as n}from"./CYBXkaMf.js";import{c as r}from"./1GBio_H2.js";var i=`@happyvertical/smrt-reports:RuntimeReport`;function a(e){switch(e.type){case`text`:return`string`;case`integer`:return`integer`;case`decimal`:return`decimal`;case`boolean`:return`boolean`;case`datetime`:return`datetime`;case`foreignKey`:case`crossPackageRef`:return`id`;default:return null}}function o(e){let t=e.replace(/([a-z\d])([A-Z])/g,`$1_$2`).toLowerCase();return/(series|species)$/.test(t)?t:/[^aeiou]y$/.test(t)?`${t.slice(0,-1)}ies`:/(s|x|z|ch|sh)$/.test(t)?`${t}es`:`${t}s`}var s=[`totalAmount`,`total`,`amount`];function c(n,i,c=o(n.name)){let l=[{name:`id`,type:`string`}];for(let r of n.fields){let n=a(r);if(!n||r.system||l.some(e=>e.name===r.name))continue;let i=e(r)?`money`:n===`datetime`&&r.ui?.format===`date`?`date`:void 0;l.push({name:r.name,type:n,label:t(r),...i?{format:i}:{},...n===`string`&&r.enum?.length?{enum:r.enum}:{}})}let u=l.filter(e=>e.format===`money`),d=s.map(e=>u.find(t=>t.name===e)).find(Boolean),f={id:c,label:i,...n.description?{description:n.description}:{},schema:l,model:n,...d?{amountField:d.name}:{}},p=r([f],c).defaultTimeField;return p?{...f,dateField:p}:f}function l(e,t){let r=new Set(e),i=new Map;for(let e of t)if(r.has(e.id))for(let t of n(e))t.model.id!==`@happyvertical/smrt-reports:RuntimeReport`&&i.set(t.model.id,[...i.get(t.model.id)??[],t]);let a=new Map,s=new Set;for(let[e,t]of i){let n=t.find(e=>!e.filter)??t[0],r=o(n.model.name);s.has(r)&&(r=`${n.packageId}.${r}`),s.add(r),a.set(e,c(n.model,n.label,r))}return[...a.values()]}export{l as n,i as t};
@@ -1 +1 @@
1
- import{$ as e,Ct as t,Dt as n,E as r,Ft as i,G as a,Ot as o,U as s,a as c,ft as l,ht as u,st as d,v as f}from"./DG3qFFTE.js";import"./xihTtKlq.js";import{t as p}from"./BbvYxGc9.js";import{nt as m}from"./BJd5_iEd.js";var h=a(`<div><a class="svelte-1fbsd8p"><!></a> <a class="svelte-1fbsd8p"><!></a></div>`);function g(a,g){o(g,!0);let _=c(g,`compact`,3,!1),v=t(()=>`${p(`/recipes/${g.section}/help/`)}${g.helpAnchor?`#${g.helpAnchor}`:``}`);var y=h();let b;var x=l(y),S=l(x);{let n=t(()=>_()?16:22);m(S,{path:`M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z`,get size(){return e(n)}})}i(x);var C=u(x,2),w=l(C);{let n=t(()=>_()?16:22);m(w,{path:`M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 0 0 .12-.61l-1.92-3.32a.488.488 0 0 0-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 0 0-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 0 0-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z`,get size(){return e(n)}})}i(C),i(y),d(t=>{b=r(y,1,`icons svelte-1fbsd8p`,null,b,{compact:_()}),f(x,`href`,e(v)),f(x,`title`,`${g.label} help`),f(x,`aria-label`,`${g.label} help`),f(x,`aria-current`,g.current===`help`?`page`:void 0),f(C,`href`,t),f(C,`title`,`${g.label} options`),f(C,`aria-label`,`${g.label} options`),f(C,`aria-current`,g.current===`options`?`page`:void 0)},[()=>p(`/recipes/${g.section}/`)]),s(a,y),n()}export{g as t};
1
+ import{$ as e,Ct as t,Dt as n,E as r,Ft as i,G as a,Ot as o,U as s,a as c,ft as l,ht as u,st as d,v as f}from"./DG3qFFTE.js";import"./xihTtKlq.js";import{t as p}from"./TDoi5cNA.js";import{nt as m}from"./CYBXkaMf.js";var h=a(`<div><a class="svelte-1fbsd8p"><!></a> <a class="svelte-1fbsd8p"><!></a></div>`);function g(a,g){o(g,!0);let _=c(g,`compact`,3,!1),v=t(()=>`${p(`/recipes/${g.section}/help/`)}${g.helpAnchor?`#${g.helpAnchor}`:``}`);var y=h();let b;var x=l(y),S=l(x);{let n=t(()=>_()?16:22);m(S,{path:`M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z`,get size(){return e(n)}})}i(x);var C=u(x,2),w=l(C);{let n=t(()=>_()?16:22);m(w,{path:`M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 0 0 .12-.61l-1.92-3.32a.488.488 0 0 0-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 0 0-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 0 0-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z`,get size(){return e(n)}})}i(C),i(y),d(t=>{b=r(y,1,`icons svelte-1fbsd8p`,null,b,{compact:_()}),f(x,`href`,e(v)),f(x,`title`,`${g.label} help`),f(x,`aria-label`,`${g.label} help`),f(x,`aria-current`,g.current===`help`?`page`:void 0),f(C,`href`,t),f(C,`title`,`${g.label} options`),f(C,`aria-label`,`${g.label} options`),f(C,`aria-current`,g.current===`options`?`page`:void 0)},[()=>p(`/recipes/${g.section}/`)]),s(a,y),n()}export{g as t};
@@ -1 +1 @@
1
- import"./DG3qFFTE.js";import{c as e}from"./D3ec9cTM.js";var t={get data(){return e.data},get error(){return e.error},get form(){return e.form},get params(){return e.params},get route(){return e.route},get state(){return e.state},get status(){return e.status},get url(){return e.url}};export{t};
1
+ import"./DG3qFFTE.js";import{c as e}from"./NjrUob_C.js";var t={get data(){return e.data},get error(){return e.error},get form(){return e.form},get params(){return e.params},get route(){return e.route},get state(){return e.state},get status(){return e.status},get url(){return e.url}};export{t};
@@ -0,0 +1 @@
1
+ import"./NjrUob_C.js";
@@ -1 +1 @@
1
- import{D as e,M as t,w as n}from"./BbvYxGc9.js";import{r}from"./C02TM_fN.js";var i=`@happyvertical/smrt-assets:Asset`,a=`@happyvertical/smrt-products:ProductAsset`,o=`assets.library`;function s(e,t,n){let r=new Map(t.map(e=>[e.id,e]));return n.filter(t=>t.productId===e).flatMap(e=>{let t=r.get(String(e.assetId)),n=t?.sourceUri;return!t||typeof n!=`string`?[]:[{id:t.id,name:String(t.name??`Product image`),sourceUri:n,mimeType:String(t.mimeType??`image/*`),description:String(t.description??``),sortOrder:Number(e.sortOrder??0)}]}).sort((e,t)=>e.sortOrder-t.sortOrder||e.name.localeCompare(t.name))}function c(e,t,n,o){return[{op:`save`,as:`asset`,model:r(i),values:{name:t.name||`Product image`,sourceUri:n,mimeType:t.type||`image/*`,description:`Image selected for this product in the browser demo.`,sourceType:`browser-demo`}},{op:`save`,model:r(a),values:{productId:e,assetId:{ref:`asset`},relationship:`gallery`,sortOrder:o}}]}function l(e,t){return t.filter(t=>t.productId===e).flatMap(e=>[{op:`delete`,model:r(a),id:e.id},{op:`delete`,model:r(i),id:String(e.assetId)}])}var u=`@happyvertical/smrt-products:Product`,d=`@happyvertical/smrt-products:ProductVariant`,f=`@happyvertical/smrt-products:Sku`,p=`@happyvertical/smrt-inventory:StockLevel`,m=`@happyvertical/smrt-profiles:ProfileType`,h=`@happyvertical/smrt-inventory:InventoryLocation`;function g(r){return{[h]:{from:[],make:()=>(t().locations??[]).map((e,t)=>({id:n(`${h}:sample:${t}`),...e,placeId:``,active:!0}))},[f]:{from:[r(u)],make:([e])=>(e??[]).map((e,t)=>({id:n(`${f}:sample:${e.id}`),productId:e.id,code:`SKU-${String(t+1).padStart(3,`0`)}`,barcode:``,name:String(e.name??``),attributes:``,parentSkuId:``,active:!0}))},[p]:{from:[r(f),r(h)],make:([r,i])=>{let a=t(),o=new Map(a.products.map(e=>[e.name,e.at]));return(r??[]).flatMap(t=>(i??[]).flatMap((r,i)=>{let a=e(`${t.id}:${r.id}`),s=o.get(String(t.name));if(s!==void 0){if(s!==i)return[]}else if(i>0&&a%3==0)return[];let c=10+a%4*5;return[{id:n(`${p}:sample:${t.id}:${r.id}`),skuId:t.id,locationId:r.id,state:`available`,qty:a%5==0?c-3:c+a%40,reorderPoint:c,reorderQuantity:c*3}]}))}}}}function _(e,t){let n=new Map(e.map(e=>[e.id,e.productId])),r=new Map;for(let e of t){let t=n.get(String(e.skuId));typeof t==`string`&&r.set(t,(r.get(t)??0)+Number(e.qty??0))}return r}function v(e,t,n,r=[]){return[...l(e,r),...t.flatMap(e=>[{op:`delete`,model:n(p),match:{skuId:e.id}},{op:`delete`,model:n(f),id:e.id}]),{op:`delete`,model:n(d),match:{productId:e}},{op:`delete`,model:n(u),id:e}]}export{d as a,g as c,a as d,c as f,p as i,i as l,m as n,v as o,s as p,f as r,_ as s,u as t,o as u};
1
+ import{D as e,M as t,w as n}from"./TDoi5cNA.js";import{r}from"./C33RzYsH.js";var i=`@happyvertical/smrt-assets:Asset`,a=`@happyvertical/smrt-products:ProductAsset`,o=`assets.library`;function s(e,t,n){let r=new Map(t.map(e=>[e.id,e]));return n.filter(t=>t.productId===e).flatMap(e=>{let t=r.get(String(e.assetId)),n=t?.sourceUri;return!t||typeof n!=`string`?[]:[{id:t.id,name:String(t.name??`Product image`),sourceUri:n,mimeType:String(t.mimeType??`image/*`),description:String(t.description??``),sortOrder:Number(e.sortOrder??0)}]}).sort((e,t)=>e.sortOrder-t.sortOrder||e.name.localeCompare(t.name))}function c(e,t,n,o){return[{op:`save`,as:`asset`,model:r(i),values:{name:t.name||`Product image`,sourceUri:n,mimeType:t.type||`image/*`,description:`Image selected for this product in the browser demo.`,sourceType:`browser-demo`}},{op:`save`,model:r(a),values:{productId:e,assetId:{ref:`asset`},relationship:`gallery`,sortOrder:o}}]}function l(e,t){return t.filter(t=>t.productId===e).flatMap(e=>[{op:`delete`,model:r(a),id:e.id},{op:`delete`,model:r(i),id:String(e.assetId)}])}var u=`@happyvertical/smrt-products:Product`,d=`@happyvertical/smrt-products:ProductVariant`,f=`@happyvertical/smrt-products:Sku`,p=`@happyvertical/smrt-inventory:StockLevel`,m=`@happyvertical/smrt-profiles:ProfileType`,h=`@happyvertical/smrt-inventory:InventoryLocation`;function g(r){return{[h]:{from:[],make:()=>(t().locations??[]).map((e,t)=>({id:n(`${h}:sample:${t}`),...e,placeId:``,active:!0}))},[f]:{from:[r(u)],make:([e])=>(e??[]).map((e,t)=>({id:n(`${f}:sample:${e.id}`),productId:e.id,code:`SKU-${String(t+1).padStart(3,`0`)}`,barcode:``,name:String(e.name??``),attributes:``,parentSkuId:``,active:!0}))},[p]:{from:[r(f),r(h)],make:([r,i])=>{let a=t(),o=new Map(a.products.map(e=>[e.name,e.at]));return(r??[]).flatMap(t=>(i??[]).flatMap((r,i)=>{let a=e(`${t.id}:${r.id}`),s=o.get(String(t.name));if(s!==void 0){if(s!==i)return[]}else if(i>0&&a%3==0)return[];let c=10+a%4*5;return[{id:n(`${p}:sample:${t.id}:${r.id}`),skuId:t.id,locationId:r.id,state:`available`,qty:a%5==0?c-3:c+a%40,reorderPoint:c,reorderQuantity:c*3}]}))}}}}function _(e,t){let n=new Map(e.map(e=>[e.id,e.productId])),r=new Map;for(let e of t){let t=n.get(String(e.skuId));typeof t==`string`&&r.set(t,(r.get(t)??0)+Number(e.qty??0))}return r}function v(e,t,n,r=[]){return[...l(e,r),...t.flatMap(e=>[{op:`delete`,model:n(p),match:{skuId:e.id}},{op:`delete`,model:n(f),id:e.id}]),{op:`delete`,model:n(d),match:{productId:e}},{op:`delete`,model:n(u),id:e}]}export{d as a,g as c,a as d,c as f,p as i,i as l,m as n,v as o,s as p,f as r,_ as s,u as t,o as u};
@@ -1 +1 @@
1
- import{$ as e,Ct as t,Dt as n,Ot as r}from"./DG3qFFTE.js";import"./xihTtKlq.js";import{t as i}from"./BbvYxGc9.js";import{n as a}from"./BtSzzGL9.js";import{a as o,i as s,n as c,o as l}from"./D5ZhnqTi.js";import{r as u}from"./D_U_DYjx.js";function d(d,f){r(f,!0);let p=c(u()),m=t(()=>a.settings().currency);{let n=t(()=>i(s)),r=t(()=>p.sourceInfo());l(d,{get options(){return f.options},get title(){return f.title},get locale(){return f.locale},get client(){return p.client},reportHref:e=>i(o(e)),get listHref(){return e(n)},get sources(){return e(r)},authorLabel:e=>e===`planner`?`you`:void 0,get currency(){return e(m)}})}n()}export{d as default};
1
+ import{$ as e,Ct as t,Dt as n,Ot as r}from"./DG3qFFTE.js";import"./xihTtKlq.js";import{t as i}from"./TDoi5cNA.js";import{n as a}from"./BYqxTIkt.js";import{a as o,i as s,n as c,o as l}from"./KBclkSFr.js";import{r as u}from"./D_U_DYjx.js";function d(d,f){r(f,!0);let p=c(u()),m=t(()=>a.settings().currency);{let n=t(()=>i(s)),r=t(()=>p.sourceInfo());l(d,{get options(){return f.options},get title(){return f.title},get locale(){return f.locale},get client(){return p.client},reportHref:e=>i(o(e)),get listHref(){return e(n)},get sources(){return e(r)},authorLabel:e=>e===`planner`?`you`:void 0,get currency(){return e(m)}})}n()}export{d as default};
@@ -0,0 +1 @@
1
+ import"./DG3qFFTE.js";import"./xihTtKlq.js";import"./TDoi5cNA.js";import"./DUGQNk_P.js";import"./CWmeIXvO.js";import"./DRQRFkTT.js";import"./BtoT2pqw.js";function e(){return typeof window<`u`&&typeof window.matchMedia==`function`&&window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}export{e as t};
@@ -1 +1 @@
1
- import{$ as e,B as t,Ct as n,Dt as r,E as i,Ft as a,G as o,H as s,J as c,L as l,Ot as u,Pt as d,U as f,W as p,Y as m,a as h,bt as ee,d as g,ft as _,ht as v,mt as y,n as b,nt as te,o as x,pt as S,q as C,r as w,st as T,tt as ne,v as E,vt as re}from"./DG3qFFTE.js";import"./xihTtKlq.js";import"./DptKR1hv.js";import{t as ie}from"./Bq8E3AWP.js";import"./BbvYxGc9.js";import{n as D}from"./DK8Blf1Y.js";import{D as O,T as k,f as ae,h as oe}from"./BHTRM1Kb.js";import{n as se}from"./icQ9pGib.js";import{o as A,u as j}from"./DIE02RSm.js";import{i as M}from"./9L3dNfkK.js";var N=new Set([`$$slots`,`$$events`,`$$legacy`]);function P(e,t){u(t,!0);let n=O(),i=x(t,N),a=null;w(()=>{a=n.registerFocusTool(i)}),b(()=>{a?.()}),r()}var ce=o(`<!> <!>`,1),le=o(`<span class="smrt-shell-layout-editor__muted svelte-xzk327"> </span>`),ue=o(`<div class="smrt-shell-layout-editor__row svelte-xzk327"><!></div>`),de=o(`<strong> </strong>`),fe=o(`<!> <!> <!> <!>`,1),F=o(`<span> </span> <!>`,1),I=o(`<div class="smrt-shell-layout-editor__preview"><h3 class="svelte-xzk327"> </h3> <div class="smrt-shell-layout-editor__preview-frame svelte-xzk327" role="group" inert=""><!></div></div>`),L=o(`<section class="smrt-shell-layout-editor svelte-xzk327" data-smrt-component="ShellLayoutEditor"><header class="svelte-xzk327"><div><h2 class="svelte-xzk327"> </h2> <p class="svelte-xzk327"> </p></div> <!></header> <fieldset class="smrt-shell-layout-editor__panels svelte-xzk327"><legend class="svelte-xzk327"> </legend> <!></fieldset> <div class="smrt-shell-layout-editor__body svelte-xzk327"><div class="smrt-shell-layout-editor__nav"><div class="smrt-shell-layout-editor__nav-head svelte-xzk327"><h3 class="svelte-xzk327"> </h3> <!></div> <!></div> <!></div></section>`);function R(o,m){let b=C();u(m,!0);let x=h(m,`preview`,3,!0),{t:w}=ie(),O=te(()=>m.controller??j()),N=`${b}-heading`,P=n(()=>O.sections),R=n(()=>O.panels),z=n(()=>O.applied),B=n(()=>e(P).map(e=>({id:e.id,label:e.heading??w(k[`ui.shell_layout_editor.top_level`]),fixed:e.group===null,root:e.group===null,hidden:e.hidden,custom:e.custom,titleVisible:e.titleVisible,count:e.items.length}))),V=n(()=>e(P).flatMap(e=>e.items.map(t=>({id:t.id,containerId:e.id,label:t.label}))));function H(e,t){t?O.show(e):O.hide(e)}let U=ee(void 0);function pe(t,n){let r=n.currentTarget;O.renameSection(t,r.value),r.value=e(B).find(e=>e.id===t)?.label??``}async function me(){let t=O.createSection(w(k[`ui.shell_layout_editor.new_section_label`]));if(!t)return;await ne();let n=e(U)?.querySelector(`input[data-section-name="${CSS.escape(t)}"]`);n?.focus(),n?.select()}function he(e,t,n){n>0&&!globalThis.confirm?.(w(k[`ui.shell_layout_editor.delete_confirm`],{label:t}))||O.deleteSection(e)}function ge(e){O.moveItem(e.item.id,e.target.containerId,e.target.index)}function _e(e){O.moveSection(e.container.id,e.target)}var W=L(),G=_(W),K=_(G),q=_(K),ve=y(q,!0),ye=v(q,2),be=y(ye,!0);a(K);var xe=v(K,2);{let t=n(()=>!O.customized);D(xe,{variant:`secondary`,size:`sm`,get disabled(){return e(t)},onclick:()=>O.reset(),children:(e,t)=>{d();var n=c();T(e=>s(n,e),[()=>w(k[`ui.shell_layout_editor.reset`])]),f(e,n)},$$slots:{default:!0}})}a(G);var J=v(G,2),Y=_(J),Se=y(Y,!0),Ce=v(Y,2);l(Ce,17,()=>e(R),e=>e.edge,(r,i)=>{var o=ue(),c=_(o),l=t=>{var r=ce(),a=S(r);{let t=n(()=>w(k[`ui.shell_layout_editor.show_panel`],{panel:e(i).label}));M(a,{interaction:!1,get checked(){return e(i).visible},get label(){return e(t)},onchange:t=>O.setPanel(e(i).edge,{visible:t.currentTarget.checked})})}var o=v(a,2);{let t=n(()=>e(i).initial===`expanded`),r=n(()=>!e(i).visible),a=n(()=>w(k[`ui.shell_layout_editor.start_expanded`],{panel:e(i).label}));M(o,{interaction:!1,get checked(){return e(t)},get disabled(){return e(r)},get label(){return e(a)},onchange:t=>O.setPanel(e(i).edge,{initial:t.currentTarget.checked?`expanded`:`collapsed`})})}f(t,r)},u=t=>{var n=le(),r=y(n,!0);T(e=>s(r,e),[()=>w(k[`ui.shell_layout_editor.panel_unavailable`],{panel:e(i).label})]),f(t,n)};t(c,t=>{e(i).available?t(l):t(u,-1)}),a(o),T(()=>E(o,`data-edge`,e(i).edge)),f(r,o)}),a(J);var X=v(J,2),Z=_(X),Q=_(Z),$=_(Q),we=y($,!0),Te=v($,2);D(Te,{variant:`secondary`,size:`sm`,onclick:me,children:(e,t)=>{d();var n=c();T(e=>s(n,e),[()=>w(k[`ui.shell_layout_editor.new_section`])]),f(e,n)},$$slots:{default:!0}}),a(Q);var Ee=v(Q,2);{let r=(r,i)=>{let a=()=>(i?.()).container,o=n(()=>e(B).find(e=>e.id===a().id));var c=p(),l=S(c),u=e=>{var t=de(),n=y(t,!0);T(()=>s(n,a().label)),f(e,t)},d=r=>{var i=fe(),s=S(i);{let t=n(()=>w(k[`ui.shell_layout_editor.section_name`],{label:a().label}));se(s,{class:`smrt-shell-layout-editor__name`,interaction:!1,get"data-section-name"(){return a().id},get"aria-label"(){return e(t)},get value(){return a().label},onchange:e=>pe(a().id,e)})}var c=v(s,2);{let t=n(()=>e(o)?.hidden?`eyeOff`:`eye`),r=n(()=>!e(o)?.hidden),i=n(()=>w(k[`ui.shell_layout_editor.show_entry`],{label:a().label}));A(c,{get icon(){return e(t)},get pressed(){return e(r)},get label(){return e(i)},onclick:()=>H(a().id,!!e(o)?.hidden)})}var l=v(c,2);{let t=n(()=>e(o)?.titleVisible===!1?`headingOff`:`heading`),r=n(()=>e(o)?.titleVisible??!0),i=n(()=>w(k[`ui.shell_layout_editor.show_title_for`],{label:a().label}));A(l,{get icon(){return e(t)},get pressed(){return e(r)},get label(){return e(i)},onclick:()=>O.setSectionTitleVisible(a().id,!(e(o)?.titleVisible??!0))})}var u=v(l,2),d=t=>{{let r=n(()=>w(k[`ui.shell_layout_editor.delete_section`],{label:a().label}));A(t,{icon:`trash`,get label(){return e(r)},onclick:()=>he(a().id,a().label,e(o).count)})}};t(u,t=>{e(o)?.custom&&t(d)}),f(r,i)};t(l,t=>{e(o)?.root?t(u):t(d,-1)}),f(r,c)},a=(t,r)=>{let a=()=>(r?.()).item,o=()=>(r?.()).container,c=n(()=>O.isHidden(a().id));var l=F(),u=S(l);let d;var p=y(u,!0),m=v(u,2);{let t=n(()=>e(c)?`eyeOff`:`eye`),r=n(()=>!e(c)),i=n(()=>w(k[`ui.shell_layout_editor.show_entry`],{label:a().label}));A(m,{get icon(){return e(t)},get pressed(){return e(r)},get label(){return e(i)},onclick:()=>H(a().id,e(c))})}T(e=>{d=i(u,1,`smrt-shell-layout-editor__label svelte-xzk327`,null,d,{"smrt-shell-layout-editor__muted":e}),s(p,a().label)},[()=>e(c)||O.isHidden(o().id)]),f(t,l)},o=n(()=>w(k[`ui.shell_layout_editor.sortable_label`]));oe(Ee,{get containers(){return e(B)},get items(){return e(V)},get label(){return e(o)},reorderContainers:!0,onmove:ge,oncontainermove:_e,containerHeader:r,item:a,$$slots:{containerHeader:!0,item:!0}})}a(Z);var De=v(Z,2),Oe=t=>{var r=I(),i=_(r),o=y(i,!0),c=v(i,2),l=_(c);{let t=n(()=>w(k[`ui.shell_layout_editor.preview_label`]));ae(l,{get items(){return e(z).nav},get groups(){return e(z).groups},get iconComponent(){return m.iconComponent},get"aria-label"(){return e(t)}})}a(c),a(r),T((e,t)=>{s(o,e),E(c,`aria-label`,t)},[()=>w(k[`ui.shell_layout_editor.preview`]),()=>w(k[`ui.shell_layout_editor.preview_label`])]),f(t,r)};t(De,e=>{x()&&e(Oe)}),a(X),a(W),g(W,e=>re(U,e),()=>e(U)),T((e,t,n,r)=>{E(W,`aria-labelledby`,N),E(q,`id`,N),s(ve,e),s(be,t),s(Se,n),s(we,r)},[()=>w(k[`ui.shell_layout_editor.heading`]),()=>w(k[`ui.shell_layout_editor.description`]),()=>w(k[`ui.shell_layout_editor.panels`]),()=>w(k[`ui.shell_layout_editor.navigation`])]),f(o,W),r()}m([`click`]);export{P as n,R as t};
1
+ import{$ as e,B as t,Ct as n,Dt as r,E as i,Ft as a,G as o,H as s,J as c,L as l,Ot as u,Pt as d,U as f,W as p,Y as m,a as h,bt as ee,d as g,ft as _,ht as v,mt as y,n as b,nt as te,o as x,pt as S,q as C,r as w,st as T,tt as ne,v as E,vt as re}from"./DG3qFFTE.js";import"./xihTtKlq.js";import"./DptKR1hv.js";import{t as ie}from"./Bq8E3AWP.js";import"./TDoi5cNA.js";import{n as D}from"./DK8Blf1Y.js";import{D as O,T as k,f as ae,h as oe}from"./DUGQNk_P.js";import{n as se}from"./CWmeIXvO.js";import{o as A,u as j}from"./DIE02RSm.js";import{i as M}from"./BtoT2pqw.js";var N=new Set([`$$slots`,`$$events`,`$$legacy`]);function P(e,t){u(t,!0);let n=O(),i=x(t,N),a=null;w(()=>{a=n.registerFocusTool(i)}),b(()=>{a?.()}),r()}var ce=o(`<!> <!>`,1),le=o(`<span class="smrt-shell-layout-editor__muted svelte-xzk327"> </span>`),ue=o(`<div class="smrt-shell-layout-editor__row svelte-xzk327"><!></div>`),de=o(`<strong> </strong>`),fe=o(`<!> <!> <!> <!>`,1),F=o(`<span> </span> <!>`,1),I=o(`<div class="smrt-shell-layout-editor__preview"><h3 class="svelte-xzk327"> </h3> <div class="smrt-shell-layout-editor__preview-frame svelte-xzk327" role="group" inert=""><!></div></div>`),L=o(`<section class="smrt-shell-layout-editor svelte-xzk327" data-smrt-component="ShellLayoutEditor"><header class="svelte-xzk327"><div><h2 class="svelte-xzk327"> </h2> <p class="svelte-xzk327"> </p></div> <!></header> <fieldset class="smrt-shell-layout-editor__panels svelte-xzk327"><legend class="svelte-xzk327"> </legend> <!></fieldset> <div class="smrt-shell-layout-editor__body svelte-xzk327"><div class="smrt-shell-layout-editor__nav"><div class="smrt-shell-layout-editor__nav-head svelte-xzk327"><h3 class="svelte-xzk327"> </h3> <!></div> <!></div> <!></div></section>`);function R(o,m){let b=C();u(m,!0);let x=h(m,`preview`,3,!0),{t:w}=ie(),O=te(()=>m.controller??j()),N=`${b}-heading`,P=n(()=>O.sections),R=n(()=>O.panels),z=n(()=>O.applied),B=n(()=>e(P).map(e=>({id:e.id,label:e.heading??w(k[`ui.shell_layout_editor.top_level`]),fixed:e.group===null,root:e.group===null,hidden:e.hidden,custom:e.custom,titleVisible:e.titleVisible,count:e.items.length}))),V=n(()=>e(P).flatMap(e=>e.items.map(t=>({id:t.id,containerId:e.id,label:t.label}))));function H(e,t){t?O.show(e):O.hide(e)}let U=ee(void 0);function pe(t,n){let r=n.currentTarget;O.renameSection(t,r.value),r.value=e(B).find(e=>e.id===t)?.label??``}async function me(){let t=O.createSection(w(k[`ui.shell_layout_editor.new_section_label`]));if(!t)return;await ne();let n=e(U)?.querySelector(`input[data-section-name="${CSS.escape(t)}"]`);n?.focus(),n?.select()}function he(e,t,n){n>0&&!globalThis.confirm?.(w(k[`ui.shell_layout_editor.delete_confirm`],{label:t}))||O.deleteSection(e)}function ge(e){O.moveItem(e.item.id,e.target.containerId,e.target.index)}function _e(e){O.moveSection(e.container.id,e.target)}var W=L(),G=_(W),K=_(G),q=_(K),ve=y(q,!0),ye=v(q,2),be=y(ye,!0);a(K);var xe=v(K,2);{let t=n(()=>!O.customized);D(xe,{variant:`secondary`,size:`sm`,get disabled(){return e(t)},onclick:()=>O.reset(),children:(e,t)=>{d();var n=c();T(e=>s(n,e),[()=>w(k[`ui.shell_layout_editor.reset`])]),f(e,n)},$$slots:{default:!0}})}a(G);var J=v(G,2),Y=_(J),Se=y(Y,!0),Ce=v(Y,2);l(Ce,17,()=>e(R),e=>e.edge,(r,i)=>{var o=ue(),c=_(o),l=t=>{var r=ce(),a=S(r);{let t=n(()=>w(k[`ui.shell_layout_editor.show_panel`],{panel:e(i).label}));M(a,{interaction:!1,get checked(){return e(i).visible},get label(){return e(t)},onchange:t=>O.setPanel(e(i).edge,{visible:t.currentTarget.checked})})}var o=v(a,2);{let t=n(()=>e(i).initial===`expanded`),r=n(()=>!e(i).visible),a=n(()=>w(k[`ui.shell_layout_editor.start_expanded`],{panel:e(i).label}));M(o,{interaction:!1,get checked(){return e(t)},get disabled(){return e(r)},get label(){return e(a)},onchange:t=>O.setPanel(e(i).edge,{initial:t.currentTarget.checked?`expanded`:`collapsed`})})}f(t,r)},u=t=>{var n=le(),r=y(n,!0);T(e=>s(r,e),[()=>w(k[`ui.shell_layout_editor.panel_unavailable`],{panel:e(i).label})]),f(t,n)};t(c,t=>{e(i).available?t(l):t(u,-1)}),a(o),T(()=>E(o,`data-edge`,e(i).edge)),f(r,o)}),a(J);var X=v(J,2),Z=_(X),Q=_(Z),$=_(Q),we=y($,!0),Te=v($,2);D(Te,{variant:`secondary`,size:`sm`,onclick:me,children:(e,t)=>{d();var n=c();T(e=>s(n,e),[()=>w(k[`ui.shell_layout_editor.new_section`])]),f(e,n)},$$slots:{default:!0}}),a(Q);var Ee=v(Q,2);{let r=(r,i)=>{let a=()=>(i?.()).container,o=n(()=>e(B).find(e=>e.id===a().id));var c=p(),l=S(c),u=e=>{var t=de(),n=y(t,!0);T(()=>s(n,a().label)),f(e,t)},d=r=>{var i=fe(),s=S(i);{let t=n(()=>w(k[`ui.shell_layout_editor.section_name`],{label:a().label}));se(s,{class:`smrt-shell-layout-editor__name`,interaction:!1,get"data-section-name"(){return a().id},get"aria-label"(){return e(t)},get value(){return a().label},onchange:e=>pe(a().id,e)})}var c=v(s,2);{let t=n(()=>e(o)?.hidden?`eyeOff`:`eye`),r=n(()=>!e(o)?.hidden),i=n(()=>w(k[`ui.shell_layout_editor.show_entry`],{label:a().label}));A(c,{get icon(){return e(t)},get pressed(){return e(r)},get label(){return e(i)},onclick:()=>H(a().id,!!e(o)?.hidden)})}var l=v(c,2);{let t=n(()=>e(o)?.titleVisible===!1?`headingOff`:`heading`),r=n(()=>e(o)?.titleVisible??!0),i=n(()=>w(k[`ui.shell_layout_editor.show_title_for`],{label:a().label}));A(l,{get icon(){return e(t)},get pressed(){return e(r)},get label(){return e(i)},onclick:()=>O.setSectionTitleVisible(a().id,!(e(o)?.titleVisible??!0))})}var u=v(l,2),d=t=>{{let r=n(()=>w(k[`ui.shell_layout_editor.delete_section`],{label:a().label}));A(t,{icon:`trash`,get label(){return e(r)},onclick:()=>he(a().id,a().label,e(o).count)})}};t(u,t=>{e(o)?.custom&&t(d)}),f(r,i)};t(l,t=>{e(o)?.root?t(u):t(d,-1)}),f(r,c)},a=(t,r)=>{let a=()=>(r?.()).item,o=()=>(r?.()).container,c=n(()=>O.isHidden(a().id));var l=F(),u=S(l);let d;var p=y(u,!0),m=v(u,2);{let t=n(()=>e(c)?`eyeOff`:`eye`),r=n(()=>!e(c)),i=n(()=>w(k[`ui.shell_layout_editor.show_entry`],{label:a().label}));A(m,{get icon(){return e(t)},get pressed(){return e(r)},get label(){return e(i)},onclick:()=>H(a().id,e(c))})}T(e=>{d=i(u,1,`smrt-shell-layout-editor__label svelte-xzk327`,null,d,{"smrt-shell-layout-editor__muted":e}),s(p,a().label)},[()=>e(c)||O.isHidden(o().id)]),f(t,l)},o=n(()=>w(k[`ui.shell_layout_editor.sortable_label`]));oe(Ee,{get containers(){return e(B)},get items(){return e(V)},get label(){return e(o)},reorderContainers:!0,onmove:ge,oncontainermove:_e,containerHeader:r,item:a,$$slots:{containerHeader:!0,item:!0}})}a(Z);var De=v(Z,2),Oe=t=>{var r=I(),i=_(r),o=y(i,!0),c=v(i,2),l=_(c);{let t=n(()=>w(k[`ui.shell_layout_editor.preview_label`]));ae(l,{get items(){return e(z).nav},get groups(){return e(z).groups},get iconComponent(){return m.iconComponent},get"aria-label"(){return e(t)}})}a(c),a(r),T((e,t)=>{s(o,e),E(c,`aria-label`,t)},[()=>w(k[`ui.shell_layout_editor.preview`]),()=>w(k[`ui.shell_layout_editor.preview_label`])]),f(t,r)};t(De,e=>{x()&&e(Oe)}),a(X),a(W),g(W,e=>re(U,e),()=>e(U)),T((e,t,n,r)=>{E(W,`aria-labelledby`,N),E(q,`id`,N),s(ve,e),s(be,t),s(Se,n),s(we,r)},[()=>w(k[`ui.shell_layout_editor.heading`]),()=>w(k[`ui.shell_layout_editor.description`]),()=>w(k[`ui.shell_layout_editor.panels`]),()=>w(k[`ui.shell_layout_editor.navigation`])]),f(o,W),r()}m([`click`]);export{P as n,R as t};