@happyvertical/smrt-planner 0.60.4 → 0.60.5

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 (529) hide show
  1. package/app/404.html +18 -18
  2. package/app/_app/immutable/chunks/{C_HeDiC4.js → -nNhrdVn.js} +1 -1
  3. package/app/_app/immutable/chunks/{DFSuj4nU.js → 3x6B4MXz.js} +1 -1
  4. package/app/_app/immutable/chunks/{DOJ0mTnf.js → B5uC8OV-.js} +1 -1
  5. package/app/_app/immutable/chunks/{ChD0Ya1r.js → B8RUnxXp.js} +1 -1
  6. package/app/_app/immutable/chunks/{DyGJXtfQ.js → BLC3Ox1F.js} +3 -3
  7. package/app/_app/immutable/chunks/{DNfac59G.js → BQuJMaN6.js} +1 -1
  8. package/app/_app/immutable/chunks/{NuljWYRA.js → Bb8J-Hrf.js} +1 -1
  9. package/app/_app/immutable/chunks/{RNr2AL13.js → BwSR19Yj.js} +1 -1
  10. package/app/_app/immutable/chunks/{DormgCOG.js → C9RgwbHt.js} +33 -33
  11. package/app/_app/immutable/chunks/{C617Umoc.js → CG4lZIdQ.js} +1 -1
  12. package/app/_app/immutable/chunks/{n-dBblBs.js → CHIY2-0b.js} +1 -1
  13. package/app/_app/immutable/chunks/{Dysg00l5.js → ClH-bS_I.js} +1 -1
  14. package/app/_app/immutable/chunks/{ENE_lftz.js → CliueLLv.js} +1 -1
  15. package/app/_app/immutable/chunks/{2JTcL7GS.js → Cxl8sQ_8.js} +1 -1
  16. package/app/_app/immutable/chunks/{Oxon8cDD.js → DD37TbKt.js} +1 -1
  17. package/app/_app/immutable/chunks/{CFsI4nr9.js → DFYOkAuU.js} +1 -1
  18. package/app/_app/immutable/chunks/{DWRvnfqw.js → DNnwevG8.js} +1 -1
  19. package/app/_app/immutable/chunks/{QD5OfFAp.js → DSch0LpN.js} +1 -1
  20. package/app/_app/immutable/chunks/{DKGH436i.js → DbI52KON.js} +1 -1
  21. package/app/_app/immutable/chunks/{yVGybWs_.js → DhWskgn-.js} +1 -1
  22. package/app/_app/immutable/chunks/DouFCTxj.js +1 -0
  23. package/app/_app/immutable/chunks/{BQW57rtm.js → Dtdyi2_X.js} +1 -1
  24. package/app/_app/immutable/chunks/{-ggTgfM2.js → Dv_HuigG.js} +1 -1
  25. package/app/_app/immutable/chunks/{vt4nGGr3.js → Eo-5ZyA4.js} +2 -2
  26. package/app/_app/immutable/chunks/Fn7t7mW8.js +1 -0
  27. package/app/_app/immutable/chunks/{DzQA5WgS.js → M8pbJttS.js} +1 -1
  28. package/app/_app/immutable/chunks/{CzbKiIbN.js → NYoyjJYe.js} +1 -1
  29. package/app/_app/immutable/chunks/{D1x5ijJb.js → dlhC2Pij.js} +1 -1
  30. package/app/_app/immutable/chunks/{BCruEZ83.js → xY2S9VqB.js} +1 -1
  31. package/app/_app/immutable/entry/{app.BFXdz8RO.js → app.BOP6xnDb.js} +2 -2
  32. package/app/_app/immutable/entry/start.DBbnwExf.js +1 -0
  33. package/app/_app/immutable/nodes/{0.BUx1o8Za.js → 0.DUW6GFb5.js} +1 -1
  34. package/app/_app/immutable/nodes/{1.B7nJJuuS.js → 1.ufmM0OJf.js} +1 -1
  35. package/app/_app/immutable/nodes/{10.DI5QFUkZ.js → 10.DoKx1WM_.js} +1 -1
  36. package/app/_app/immutable/nodes/{11.B-7_6CmY.js → 11.DrBMiSGP.js} +1 -1
  37. package/app/_app/immutable/nodes/{12.CJod2OOc.js → 12.Dz_i2eps.js} +1 -1
  38. package/app/_app/immutable/nodes/{13.DBe_AN4i.js → 13.FAwVzuqc.js} +1 -1
  39. package/app/_app/immutable/nodes/{14.Bawi5Pz8.js → 14.ZJ2PIY4K.js} +1 -1
  40. package/app/_app/immutable/nodes/{2.BCTtC-OF.js → 2.D7pfy8zn.js} +3 -3
  41. package/app/_app/immutable/nodes/{3.JmVMI6Fy.js → 3.DFDsJtg6.js} +1 -1
  42. package/app/_app/immutable/nodes/{4.CMH01nZL.js → 4.Bmf8cwnM.js} +1 -1
  43. package/app/_app/immutable/nodes/{5.C0LDyjB9.js → 5.D87KoP6y.js} +1 -1
  44. package/app/_app/immutable/nodes/{6.1Ml5txmM.js → 6.DJzWKOP7.js} +1 -1
  45. package/app/_app/immutable/nodes/{7.Do0OUzLt.js → 7.xTO--Z_4.js} +1 -1
  46. package/app/_app/immutable/nodes/{8.B10KXCkX.js → 8.DgMYVBtj.js} +1 -1
  47. package/app/_app/immutable/nodes/{9.2wWPtZj8.js → 9.43o1EA2D.js} +1 -1
  48. package/app/_app/version.json +1 -1
  49. package/app/advanced-styles/index.html +21 -21
  50. package/app/ai/index.html +24 -24
  51. package/app/blueprint/index.html +19 -19
  52. package/app/cookbook/index.html +19 -19
  53. package/app/index.html +27 -27
  54. package/app/m/ads/AdDeliveryTier/index.html +23 -23
  55. package/app/m/ads/AdEvent/index.html +23 -23
  56. package/app/m/ads/AdFormat/index.html +23 -23
  57. package/app/m/ads/AdGroup/index.html +23 -23
  58. package/app/m/ads/AdVariation/index.html +23 -23
  59. package/app/m/analytics/AnalyticsDataStream/index.html +23 -23
  60. package/app/m/analytics/AnalyticsEvent/index.html +23 -23
  61. package/app/m/analytics/AnalyticsProperty/index.html +23 -23
  62. package/app/m/analytics/AnalyticsReport/index.html +23 -23
  63. package/app/m/approvals/ApprovalEvent/index.html +23 -23
  64. package/app/m/approvals/ApprovalPolicy/index.html +23 -23
  65. package/app/m/approvals/ApprovalRequest/index.html +23 -23
  66. package/app/m/assets/Asset/attachments/index.html +24 -24
  67. package/app/m/assets/Asset/index.html +23 -23
  68. package/app/m/assets/AssetAssociation/index.html +23 -23
  69. package/app/m/assets/AssetMetafield/index.html +23 -23
  70. package/app/m/assets/AssetStatus/index.html +23 -23
  71. package/app/m/assets/AssetType/index.html +23 -23
  72. package/app/m/assets/Folder/index.html +23 -23
  73. package/app/m/chat/AgentSession/index.html +23 -23
  74. package/app/m/chat/ChatMessage/index.html +23 -23
  75. package/app/m/chat/ChatParticipant/index.html +23 -23
  76. package/app/m/chat/ChatReaction/index.html +23 -23
  77. package/app/m/chat/ChatRoom/index.html +23 -23
  78. package/app/m/chat/ChatThread/index.html +23 -23
  79. package/app/m/chat/VoiceGatewayTurn/index.html +23 -23
  80. package/app/m/chat/VoiceSession/index.html +23 -23
  81. package/app/m/commerce/Agreement/index.html +23 -23
  82. package/app/m/commerce/Cart/index.html +23 -23
  83. package/app/m/commerce/Contract/index.html +23 -23
  84. package/app/m/commerce/ContractLineItem/index.html +23 -23
  85. package/app/m/commerce/Customer/index.html +23 -23
  86. package/app/m/commerce/DocumentTax/index.html +23 -23
  87. package/app/m/commerce/Estimate/index.html +23 -23
  88. package/app/m/commerce/Fulfillment/index.html +23 -23
  89. package/app/m/commerce/FulfillmentLineItem/index.html +23 -23
  90. package/app/m/commerce/HistoricalCustomerFunds/index.html +23 -23
  91. package/app/m/commerce/HistoricalCustomerFundsAllocation/index.html +23 -23
  92. package/app/m/commerce/HistoricalSalesLine/index.html +23 -23
  93. package/app/m/commerce/Invoice/index.html +23 -23
  94. package/app/m/commerce/InvoiceLineItem/index.html +23 -23
  95. package/app/m/commerce/Lease/index.html +23 -23
  96. package/app/m/commerce/LicenseSale/index.html +23 -23
  97. package/app/m/commerce/Order/index.html +23 -23
  98. package/app/m/commerce/Payment/index.html +23 -23
  99. package/app/m/commerce/PaymentAllocation/index.html +23 -23
  100. package/app/m/commerce/PaymentInstrument/index.html +23 -23
  101. package/app/m/commerce/PaymentIntent/index.html +23 -23
  102. package/app/m/commerce/Payout/index.html +23 -23
  103. package/app/m/commerce/ProductionOrder/index.html +23 -23
  104. package/app/m/commerce/PurchaseContract/index.html +23 -23
  105. package/app/m/commerce/PurchaseOrder/index.html +23 -23
  106. package/app/m/commerce/SalesContract/index.html +23 -23
  107. package/app/m/commerce/SupplierQuote/index.html +23 -23
  108. package/app/m/commerce/TaxCode/index.html +23 -23
  109. package/app/m/commerce/TaxComponent/index.html +23 -23
  110. package/app/m/commerce/TaxSettings/index.html +23 -23
  111. package/app/m/commerce/TaxSummaryReport/index.html +23 -23
  112. package/app/m/commerce/TenantPaymentAccount/index.html +23 -23
  113. package/app/m/commerce/Vendor/index.html +23 -23
  114. package/app/m/commerce/WholesaleOrder/index.html +23 -23
  115. package/app/m/content/Content/articles/index.html +24 -24
  116. package/app/m/content/Content/index.html +23 -23
  117. package/app/m/content/ContentContribution/index.html +23 -23
  118. package/app/m/content/ContentContributionAttachment/index.html +23 -23
  119. package/app/m/content/ContentContributionRevision/index.html +23 -23
  120. package/app/m/content/ContentContributionType/index.html +23 -23
  121. package/app/m/content/ContentContributor/index.html +23 -23
  122. package/app/m/content/ContentCorrection/index.html +23 -23
  123. package/app/m/content/ContentFeedSource/index.html +23 -23
  124. package/app/m/content/ContentGovernanceAssignment/index.html +23 -23
  125. package/app/m/content/ContentGovernancePolicy/index.html +23 -23
  126. package/app/m/content/ContentGovernanceProfile/index.html +23 -23
  127. package/app/m/content/ContentReference/index.html +23 -23
  128. package/app/m/content/ContentReview/index.html +23 -23
  129. package/app/m/content/ContentVersion/index.html +23 -23
  130. package/app/m/events/Event/index.html +23 -23
  131. package/app/m/events/EventParticipant/index.html +23 -23
  132. package/app/m/events/EventSeries/index.html +23 -23
  133. package/app/m/events/EventType/index.html +23 -23
  134. package/app/m/expenses/Expense/index.html +23 -23
  135. package/app/m/facts/Fact/index.html +23 -23
  136. package/app/m/facts/FactContent/index.html +23 -23
  137. package/app/m/facts/FactEvidence/index.html +23 -23
  138. package/app/m/facts/FactSource/index.html +23 -23
  139. package/app/m/facts/FactSubject/index.html +23 -23
  140. package/app/m/facts/FactTag/index.html +23 -23
  141. package/app/m/fields/FieldPolicy/index.html +23 -23
  142. package/app/m/fields/FieldPolicySuggestion/index.html +23 -23
  143. package/app/m/fields/FieldUsageCounter/index.html +23 -23
  144. package/app/m/human-resources/Employment/index.html +23 -23
  145. package/app/m/human-resources/EmploymentTerm/index.html +23 -23
  146. package/app/m/human-resources/HeldQualification/index.html +23 -23
  147. package/app/m/human-resources/Qualification/index.html +23 -23
  148. package/app/m/images/Image/index.html +23 -23
  149. package/app/m/inventory/InventoryLocation/index.html +23 -23
  150. package/app/m/inventory/Lot/index.html +23 -23
  151. package/app/m/inventory/LotCorrection/index.html +23 -23
  152. package/app/m/inventory/LotDocument/index.html +23 -23
  153. package/app/m/inventory/LotStockLevel/index.html +23 -23
  154. package/app/m/inventory/LotUsage/index.html +23 -23
  155. package/app/m/inventory/StockLevel/index.html +23 -23
  156. package/app/m/inventory/StockMovement/index.html +23 -23
  157. package/app/m/ledgers/Account/index.html +23 -23
  158. package/app/m/ledgers/Journal/index.html +23 -23
  159. package/app/m/ledgers/JournalEntry/index.html +23 -23
  160. package/app/m/ledgers/Ledger/index.html +23 -23
  161. package/app/m/manufacturing/Assembly/index.html +23 -23
  162. package/app/m/manufacturing/BillOfMaterials/index.html +23 -23
  163. package/app/m/manufacturing/BomLine/index.html +23 -23
  164. package/app/m/manufacturing/Operation/index.html +23 -23
  165. package/app/m/manufacturing/ProductionRun/index.html +23 -23
  166. package/app/m/manufacturing/ProductionRunCompletion/index.html +23 -23
  167. package/app/m/manufacturing/RoutingStep/index.html +23 -23
  168. package/app/m/marketing/Campaign/index.html +23 -23
  169. package/app/m/marketing/CampaignChannel/index.html +23 -23
  170. package/app/m/marketing/CampaignMetricSnapshot/index.html +23 -23
  171. package/app/m/messages/Account/index.html +23 -23
  172. package/app/m/messages/Attachment/index.html +23 -23
  173. package/app/m/messages/Blacklist/index.html +23 -23
  174. package/app/m/messages/Email/failed-sends/index.html +24 -24
  175. package/app/m/messages/Email/index.html +23 -23
  176. package/app/m/messages/Email/mailbox/index.html +24 -24
  177. package/app/m/messages/EmailAccount/index.html +23 -23
  178. package/app/m/messages/EmailAttachment/index.html +23 -23
  179. package/app/m/messages/EmailFolder/index.html +23 -23
  180. package/app/m/messages/Message/index.html +23 -23
  181. package/app/m/messages/MessagingEndpoint/index.html +23 -23
  182. package/app/m/messages/PersonaMessageRoute/index.html +23 -23
  183. package/app/m/messages/SlackAccount/index.html +23 -23
  184. package/app/m/messages/SlackMessage/index.html +23 -23
  185. package/app/m/messages/SlackMessage/slack-messages/index.html +24 -24
  186. package/app/m/messages/TelegramAccount/index.html +23 -23
  187. package/app/m/messages/Tweet/index.html +23 -23
  188. package/app/m/messages/TwitterAccount/index.html +23 -23
  189. package/app/m/messages/Whitelist/index.html +23 -23
  190. package/app/m/messages/ZulipAccount/index.html +23 -23
  191. package/app/m/places/Place/index.html +23 -23
  192. package/app/m/places/PlaceType/index.html +23 -23
  193. package/app/m/products/Category/index.html +23 -23
  194. package/app/m/products/Material/index.html +23 -23
  195. package/app/m/products/Product/index.html +23 -23
  196. package/app/m/products/Product/ingredients/index.html +24 -24
  197. package/app/m/products/ProductVariant/index.html +23 -23
  198. package/app/m/products/Sku/index.html +23 -23
  199. package/app/m/profiles/ApiKey/index.html +23 -23
  200. package/app/m/profiles/Bot/index.html +23 -23
  201. package/app/m/profiles/MagicLinkToken/index.html +23 -23
  202. package/app/m/profiles/NostrIdentity/index.html +23 -23
  203. package/app/m/profiles/OidcIdentity/index.html +23 -23
  204. package/app/m/profiles/Organization/index.html +23 -23
  205. package/app/m/profiles/Person/index.html +23 -23
  206. package/app/m/profiles/Profile/index.html +23 -23
  207. package/app/m/profiles/ProfileMetadata/index.html +23 -23
  208. package/app/m/profiles/ProfileMetafield/index.html +23 -23
  209. package/app/m/profiles/ProfileRelationship/index.html +23 -23
  210. package/app/m/profiles/ProfileRelationshipTerm/index.html +23 -23
  211. package/app/m/profiles/ProfileRelationshipType/index.html +23 -23
  212. package/app/m/profiles/ProfileType/index.html +23 -23
  213. package/app/m/projects/Comment/index.html +23 -23
  214. package/app/m/projects/Issue/index.html +23 -23
  215. package/app/m/projects/Label/index.html +23 -23
  216. package/app/m/projects/Project/index.html +23 -23
  217. package/app/m/projects/ProjectIntegration/index.html +23 -23
  218. package/app/m/projects/PullRequest/index.html +23 -23
  219. package/app/m/projects/Repository/index.html +23 -23
  220. package/app/m/properties/Property/index.html +23 -23
  221. package/app/m/properties/Zone/index.html +23 -23
  222. package/app/m/reports/RuntimeReport/index.html +23 -23
  223. package/app/m/reports/SmrtPrincipalReportRefreshTask/index.html +23 -23
  224. package/app/m/reports/SmrtReportLock/index.html +23 -23
  225. package/app/m/reports/SmrtReportRefreshTask/index.html +23 -23
  226. package/app/m/reports/SmrtReportRun/index.html +23 -23
  227. package/app/m/reports/SmrtReportSchedule/index.html +23 -23
  228. package/app/m/reports/SmrtReportWatermark/index.html +23 -23
  229. package/app/m/sales/Agreement/index.html +23 -23
  230. package/app/m/sales/AttributionException/index.html +23 -23
  231. package/app/m/sales/AttributionPolicy/index.html +23 -23
  232. package/app/m/sales/Commission/index.html +23 -23
  233. package/app/m/sales/CommissionAdjustment/index.html +23 -23
  234. package/app/m/sales/CommissionPayout/index.html +23 -23
  235. package/app/m/sales/CommissionPlan/index.html +23 -23
  236. package/app/m/sales/Earner/index.html +23 -23
  237. package/app/m/sales/EarnerSourceAttribution/index.html +23 -23
  238. package/app/m/sales/EarningEvent/index.html +23 -23
  239. package/app/m/sales/ExecutedAgreement/index.html +23 -23
  240. package/app/m/sales/Lead/index.html +23 -23
  241. package/app/m/sales/Opportunity/index.html +23 -23
  242. package/app/m/sales/OpportunityConversion/index.html +23 -23
  243. package/app/m/sales/PipelineDefinition/index.html +23 -23
  244. package/app/m/sales/PipelineStage/index.html +23 -23
  245. package/app/m/sales/Referral/index.html +23 -23
  246. package/app/m/sales/ReferralAgreement/index.html +23 -23
  247. package/app/m/sales/ReferralLink/index.html +23 -23
  248. package/app/m/sales/ReferralProgram/index.html +23 -23
  249. package/app/m/sales/ReferralTermSnapshot/index.html +23 -23
  250. package/app/m/sales/ReferralTouch/index.html +23 -23
  251. package/app/m/sales/Referrer/index.html +23 -23
  252. package/app/m/sales/SalesActivity/index.html +23 -23
  253. package/app/m/sales/SalesRepresentative/index.html +23 -23
  254. package/app/m/sites/Site/index.html +23 -23
  255. package/app/m/sites/SiteAgentBinding/index.html +23 -23
  256. package/app/m/social/OAuthState/index.html +23 -23
  257. package/app/m/social/SocialAccount/index.html +23 -23
  258. package/app/m/social/SocialPost/index.html +23 -23
  259. package/app/m/social/SocialPostAnalyticsSnapshot/index.html +23 -23
  260. package/app/m/subscriptions/BillingAdjustment/index.html +23 -23
  261. package/app/m/subscriptions/ClientCharge/index.html +23 -23
  262. package/app/m/subscriptions/CreditGrant/index.html +23 -23
  263. package/app/m/subscriptions/PricingRule/index.html +23 -23
  264. package/app/m/subscriptions/RetailCharge/index.html +23 -23
  265. package/app/m/subscriptions/SpendingPolicy/index.html +23 -23
  266. package/app/m/subscriptions/SubscriptionPlan/index.html +23 -23
  267. package/app/m/subscriptions/SubscriptionPlanVersion/index.html +23 -23
  268. package/app/m/subscriptions/TenantSubscription/index.html +23 -23
  269. package/app/m/subscriptions/TenantUsageMetric/index.html +23 -23
  270. package/app/m/support/ServiceTimeEntry/index.html +23 -23
  271. package/app/m/support/SupportAiRun/index.html +23 -23
  272. package/app/m/support/SupportAvailability/index.html +23 -23
  273. package/app/m/support/SupportCase/index.html +23 -23
  274. package/app/m/support/SupportCaseEvent/index.html +23 -23
  275. package/app/m/support/SupportChannelBinding/index.html +23 -23
  276. package/app/m/support/SupportCharge/index.html +23 -23
  277. package/app/m/support/SupportCompensation/index.html +23 -23
  278. package/app/m/support/SupportCompensationPlan/index.html +23 -23
  279. package/app/m/support/SupportEscalation/index.html +23 -23
  280. package/app/m/support/SupportInteraction/index.html +23 -23
  281. package/app/m/support/SupportPlan/index.html +23 -23
  282. package/app/m/support/SupportPolicy/index.html +23 -23
  283. package/app/m/support/SupportQualification/index.html +23 -23
  284. package/app/m/support/SupportServiceTarget/index.html +23 -23
  285. package/app/m/support/SupportSpecialist/index.html +23 -23
  286. package/app/m/support/SupportWorkLink/index.html +23 -23
  287. package/app/m/tags/Tag/index.html +23 -23
  288. package/app/m/tags/TagAlias/index.html +23 -23
  289. package/app/m/timesheets/AttendanceBreak/index.html +23 -23
  290. package/app/m/timesheets/AttendancePunch/index.html +23 -23
  291. package/app/m/timesheets/AttendanceSegment/index.html +23 -23
  292. package/app/m/timesheets/ServiceChargeSnapshot/index.html +23 -23
  293. package/app/m/timesheets/ServiceCompensationSnapshot/index.html +23 -23
  294. package/app/m/timesheets/ServiceTimeEntry/index.html +23 -23
  295. package/app/m/users/Group/index.html +23 -23
  296. package/app/m/users/GroupMember/index.html +23 -23
  297. package/app/m/users/GroupRole/index.html +23 -23
  298. package/app/m/users/Membership/index.html +23 -23
  299. package/app/m/users/MembershipOverride/index.html +23 -23
  300. package/app/m/users/Permission/index.html +23 -23
  301. package/app/m/users/Role/index.html +23 -23
  302. package/app/m/users/RolePermission/index.html +23 -23
  303. package/app/m/users/Session/index.html +23 -23
  304. package/app/m/users/Tenant/index.html +23 -23
  305. package/app/m/users/TenantIntegration/index.html +23 -23
  306. package/app/m/users/TenantPermissionOverride/index.html +23 -23
  307. package/app/m/users/User/index.html +23 -23
  308. package/app/m/video/Character/index.html +23 -23
  309. package/app/m/video/CharacterAsset/index.html +23 -23
  310. package/app/m/video/CompositeJob/index.html +23 -23
  311. package/app/m/video/Performer/index.html +23 -23
  312. package/app/m/video/PerformerAsset/index.html +23 -23
  313. package/app/m/video/Scene/index.html +23 -23
  314. package/app/m/video/SceneAsset/index.html +23 -23
  315. package/app/m/video/VideoComposition/index.html +23 -23
  316. package/app/m/video/VideoCompositionAsset/index.html +23 -23
  317. package/app/m/video/VideoSequence/index.html +23 -23
  318. package/app/m/video/VideoSequenceAsset/index.html +23 -23
  319. package/app/m/video/VideoShot/index.html +23 -23
  320. package/app/m/video/VideoShotAsset/index.html +23 -23
  321. package/app/m/video/VideoShotCharacter/index.html +23 -23
  322. package/app/m/video/VideoWorkflow/index.html +23 -23
  323. package/app/m/voice/VoiceOutput/index.html +23 -23
  324. package/app/m/voice/VoiceProfile/index.html +23 -23
  325. package/app/m/voice/VoiceSample/index.html +23 -23
  326. package/app/mcp.html +1 -1
  327. package/app/packages/ads/index.html +21 -21
  328. package/app/packages/analytics/index.html +21 -21
  329. package/app/packages/approvals/index.html +21 -21
  330. package/app/packages/assets/index.html +21 -21
  331. package/app/packages/chat/index.html +21 -21
  332. package/app/packages/comments/index.html +21 -21
  333. package/app/packages/commerce/index.html +21 -21
  334. package/app/packages/content/index.html +21 -21
  335. package/app/packages/events/index.html +21 -21
  336. package/app/packages/expenses/index.html +21 -21
  337. package/app/packages/facts/index.html +21 -21
  338. package/app/packages/fields/index.html +21 -21
  339. package/app/packages/human-resources/index.html +21 -21
  340. package/app/packages/images/index.html +21 -21
  341. package/app/packages/index.html +20 -20
  342. package/app/packages/ingestion/index.html +21 -21
  343. package/app/packages/inventory/index.html +21 -21
  344. package/app/packages/ledgers/index.html +21 -21
  345. package/app/packages/manufacturing/index.html +21 -21
  346. package/app/packages/marketing/index.html +21 -21
  347. package/app/packages/messages/index.html +21 -21
  348. package/app/packages/places/index.html +21 -21
  349. package/app/packages/preferences/index.html +21 -21
  350. package/app/packages/products/index.html +21 -21
  351. package/app/packages/profiles/index.html +21 -21
  352. package/app/packages/projects/index.html +21 -21
  353. package/app/packages/properties/index.html +21 -21
  354. package/app/packages/reactions/index.html +21 -21
  355. package/app/packages/reports/index.html +21 -21
  356. package/app/packages/sales/index.html +21 -21
  357. package/app/packages/sites/index.html +21 -21
  358. package/app/packages/social/index.html +21 -21
  359. package/app/packages/subscriptions/index.html +21 -21
  360. package/app/packages/support/index.html +21 -21
  361. package/app/packages/tags/index.html +21 -21
  362. package/app/packages/timesheets/index.html +21 -21
  363. package/app/packages/users/index.html +21 -21
  364. package/app/packages/video/index.html +21 -21
  365. package/app/packages/voice/index.html +21 -21
  366. package/app/packages/webhooks/index.html +21 -21
  367. package/app/recipes/account-access/help/index.html +21 -21
  368. package/app/recipes/account-access/index.html +23 -23
  369. package/app/recipes/activity/help/index.html +21 -21
  370. package/app/recipes/activity/index.html +23 -23
  371. package/app/recipes/ads.campaigns/help/index.html +21 -21
  372. package/app/recipes/ads.campaigns/index.html +23 -23
  373. package/app/recipes/affiliates.referrals/help/index.html +21 -21
  374. package/app/recipes/affiliates.referrals/index.html +23 -23
  375. package/app/recipes/agreements/help/index.html +21 -21
  376. package/app/recipes/agreements/index.html +23 -23
  377. package/app/recipes/analytics.reports/help/index.html +21 -21
  378. package/app/recipes/analytics.reports/index.html +23 -23
  379. package/app/recipes/approvals.requests/help/index.html +21 -21
  380. package/app/recipes/approvals.requests/index.html +23 -23
  381. package/app/recipes/assets/help/index.html +21 -21
  382. package/app/recipes/assets/index.html +23 -23
  383. package/app/recipes/billing/help/index.html +21 -21
  384. package/app/recipes/billing/index.html +23 -23
  385. package/app/recipes/chat.assistant/help/index.html +21 -21
  386. package/app/recipes/chat.assistant/index.html +23 -23
  387. package/app/recipes/comments/help/index.html +21 -21
  388. package/app/recipes/comments/index.html +23 -23
  389. package/app/recipes/commerce.customers/help/index.html +21 -21
  390. package/app/recipes/commerce.customers/index.html +23 -23
  391. package/app/recipes/commerce.estimates/help/index.html +21 -21
  392. package/app/recipes/commerce.estimates/index.html +23 -23
  393. package/app/recipes/commerce.purchases/help/index.html +21 -21
  394. package/app/recipes/commerce.purchases/index.html +23 -23
  395. package/app/recipes/commerce.sales/help/index.html +21 -21
  396. package/app/recipes/commerce.sales/index.html +23 -23
  397. package/app/recipes/commerce.vendors/help/index.html +21 -21
  398. package/app/recipes/commerce.vendors/index.html +23 -23
  399. package/app/recipes/commerce.wholesale/help/index.html +21 -21
  400. package/app/recipes/commerce.wholesale/index.html +23 -23
  401. package/app/recipes/content.articles/help/index.html +21 -21
  402. package/app/recipes/content.articles/index.html +23 -23
  403. package/app/recipes/events.calendar/help/index.html +21 -21
  404. package/app/recipes/events.calendar/index.html +23 -23
  405. package/app/recipes/expenses.tracking/help/index.html +21 -21
  406. package/app/recipes/expenses.tracking/index.html +23 -23
  407. package/app/recipes/fields.form-customization/help/index.html +21 -21
  408. package/app/recipes/fields.form-customization/index.html +23 -23
  409. package/app/recipes/human-resources.people/help/index.html +21 -21
  410. package/app/recipes/human-resources.people/index.html +23 -23
  411. package/app/recipes/human-resources.qualifications/help/index.html +21 -21
  412. package/app/recipes/human-resources.qualifications/index.html +23 -23
  413. package/app/recipes/ingestion/help/index.html +21 -21
  414. package/app/recipes/ingestion/index.html +23 -23
  415. package/app/recipes/integrations/help/index.html +21 -21
  416. package/app/recipes/integrations/index.html +23 -23
  417. package/app/recipes/inventory.stock/help/index.html +21 -21
  418. package/app/recipes/inventory.stock/index.html +23 -23
  419. package/app/recipes/ledgers.bookkeeping/help/index.html +21 -21
  420. package/app/recipes/ledgers.bookkeeping/index.html +23 -23
  421. package/app/recipes/manufacturing.assemblies/help/index.html +21 -21
  422. package/app/recipes/manufacturing.assemblies/index.html +23 -23
  423. package/app/recipes/manufacturing.production/help/index.html +21 -21
  424. package/app/recipes/manufacturing.production/index.html +23 -23
  425. package/app/recipes/marketing.campaigns/help/index.html +21 -21
  426. package/app/recipes/marketing.campaigns/index.html +23 -23
  427. package/app/recipes/messages/help/index.html +21 -21
  428. package/app/recipes/messages/index.html +23 -23
  429. package/app/recipes/places.locations/help/index.html +21 -21
  430. package/app/recipes/places.locations/index.html +23 -23
  431. package/app/recipes/products/help/index.html +21 -21
  432. package/app/recipes/products/index.html +23 -23
  433. package/app/recipes/projects.tracker/help/index.html +21 -21
  434. package/app/recipes/projects.tracker/index.html +23 -23
  435. package/app/recipes/reports.materialized/help/index.html +21 -21
  436. package/app/recipes/reports.materialized/index.html +23 -23
  437. package/app/recipes/reports.runtime/help/index.html +21 -21
  438. package/app/recipes/reports.runtime/index.html +23 -23
  439. package/app/recipes/sales.pipeline/help/index.html +21 -21
  440. package/app/recipes/sales.pipeline/index.html +23 -23
  441. package/app/recipes/social.posts/help/index.html +21 -21
  442. package/app/recipes/social.posts/index.html +23 -23
  443. package/app/recipes/subscriptions.plans/help/index.html +21 -21
  444. package/app/recipes/subscriptions.plans/index.html +23 -23
  445. package/app/recipes/support.tickets/help/index.html +21 -21
  446. package/app/recipes/support.tickets/index.html +23 -23
  447. package/app/recipes/tags.taxonomy/help/index.html +21 -21
  448. package/app/recipes/tags.taxonomy/index.html +23 -23
  449. package/app/recipes/team-collaboration/help/index.html +21 -21
  450. package/app/recipes/team-collaboration/index.html +23 -23
  451. package/app/recipes/timesheets.time-entries/help/index.html +21 -21
  452. package/app/recipes/timesheets.time-entries/index.html +23 -23
  453. package/app/recipes/video.library/help/index.html +21 -21
  454. package/app/recipes/video.library/index.html +23 -23
  455. package/app/recipes/voice.profiles/help/index.html +21 -21
  456. package/app/recipes/voice.profiles/index.html +23 -23
  457. package/app/s/custom-accounts/index.html +19 -19
  458. package/app/s/custom-appointments/index.html +19 -19
  459. package/app/s/custom-billing/index.html +19 -19
  460. package/app/s/custom-bookings/index.html +19 -19
  461. package/app/s/custom-buying/index.html +19 -19
  462. package/app/s/custom-checkout/index.html +19 -19
  463. package/app/s/custom-classes/index.html +19 -19
  464. package/app/s/custom-clients/index.html +19 -19
  465. package/app/s/custom-events/index.html +19 -19
  466. package/app/s/custom-fleet/index.html +19 -19
  467. package/app/s/custom-gigs/index.html +19 -19
  468. package/app/s/custom-giving/index.html +19 -19
  469. package/app/s/custom-instruments/index.html +19 -19
  470. package/app/s/custom-jobs/index.html +19 -19
  471. package/app/s/custom-kitchen/index.html +19 -19
  472. package/app/s/custom-lessons/index.html +19 -19
  473. package/app/s/custom-material/index.html +19 -19
  474. package/app/s/custom-meetings/index.html +19 -19
  475. package/app/s/custom-members/index.html +19 -19
  476. package/app/s/custom-merch/index.html +19 -19
  477. package/app/s/custom-money/index.html +19 -19
  478. package/app/s/custom-paint/index.html +19 -19
  479. package/app/s/custom-parts/index.html +19 -19
  480. package/app/s/custom-rentals/index.html +19 -19
  481. package/app/s/custom-roastery/index.html +19 -19
  482. package/app/s/custom-schedule/index.html +19 -19
  483. package/app/s/custom-shelf/index.html +19 -19
  484. package/app/s/custom-shop/index.html +19 -19
  485. package/app/s/custom-students/index.html +19 -19
  486. package/app/s/custom-wholesale/index.html +19 -19
  487. package/app/s/custom-work/index.html +19 -19
  488. package/app/s/custom-yard/index.html +19 -19
  489. package/app/s/section-access-control/index.html +19 -19
  490. package/app/s/section-account-security/index.html +19 -19
  491. package/app/s/section-accounting/index.html +19 -19
  492. package/app/s/section-activity/index.html +19 -19
  493. package/app/s/section-agreements/index.html +19 -19
  494. package/app/s/section-analytics/index.html +19 -19
  495. package/app/s/section-approvals/index.html +19 -19
  496. package/app/s/section-assets/index.html +19 -19
  497. package/app/s/section-billing/index.html +19 -19
  498. package/app/s/section-calendar/index.html +19 -19
  499. package/app/s/section-catalog/index.html +19 -19
  500. package/app/s/section-chat.assistant/index.html +19 -19
  501. package/app/s/section-comments/index.html +19 -19
  502. package/app/s/section-fields.form-customization/index.html +19 -19
  503. package/app/s/section-grow/index.html +19 -19
  504. package/app/s/section-ingestion/index.html +19 -19
  505. package/app/s/section-integrations/index.html +19 -19
  506. package/app/s/section-make/index.html +19 -19
  507. package/app/s/section-messages/index.html +19 -19
  508. package/app/s/section-more/index.html +19 -19
  509. package/app/s/section-operations/index.html +19 -19
  510. package/app/s/section-places/index.html +19 -19
  511. package/app/s/section-projects/index.html +19 -19
  512. package/app/s/section-publish/index.html +19 -19
  513. package/app/s/section-purchasing/index.html +19 -19
  514. package/app/s/section-reports.materialized/index.html +19 -19
  515. package/app/s/section-reports.runtime/index.html +19 -19
  516. package/app/s/section-sales/index.html +19 -19
  517. package/app/s/section-staff/index.html +19 -19
  518. package/app/s/section-support/index.html +19 -19
  519. package/app/s/section-taxonomy/index.html +19 -19
  520. package/app/s/section-team/index.html +19 -19
  521. package/app/s/section-work/index.html +19 -19
  522. package/dist/catalog/catalog.json +39 -39
  523. package/dist/core/index.js +41 -41
  524. package/dist/smrt-version.d.ts +1 -1
  525. package/dist/smrt-version.js +1 -1
  526. package/package.json +55 -55
  527. package/app/_app/immutable/chunks/Din9xt9G.js +0 -1
  528. package/app/_app/immutable/chunks/iqxwEt43.js +0 -1
  529. package/app/_app/immutable/entry/start.CiadGFFQ.js +0 -1
@@ -1 +1 @@
1
- import{$ as e,bt as t,tt as n,vt as r,xt as i}from"./DG3qFFTE.js";import{F as a,G as o,H as s,N as c,P as ee,U as te,V as l,W as u,_t as d,ct as f,ft as p,pt as m,w as h,z as ne}from"./DormgCOG.js";import{_ as re,r as ie}from"./DyGJXtfQ.js";import{c as ae}from"./C_HeDiC4.js";import"./iqxwEt43.js";import{i as oe,n as g,o as _,r as v,s as y}from"./vt4nGGr3.js";import{M as b,P as x,V as S,W as C,b as w,t as T,v as E,x as D,z as O}from"./2JTcL7GS.js";import{b as k,v as A,x as j,y as M}from"./Oxon8cDD.js";import{n as N}from"./ChD0Ya1r.js";import{t as P}from"./DKGH436i.js";import{r as F,t as I}from"./BQW57rtm.js";import{a as L,c as R,d as z,l as B,n as V}from"./DFSuj4nU.js";function H(e,t=A.appliedWork){return j(e.snapshot(),t)}function U(e,t,n){let r=M(e,_,n);if(r.ok){let n=t.theme,i=r.cookbook.theme,o=i?i.colorScheme||!n?.colorScheme?void 0:{...i,colorScheme:n.colorScheme}:n;t.replace(r.cookbook),o&&(t.theme=o),a(e.id),A.select(e.id,k(t.snapshot()))}return r}function W(e,t){return e.document.recipes.every(e=>t.recipes.includes(e))&&e.document.features.every(e=>t.features.includes(e))}function G(e){let t=e.recipes.flatMap(e=>{let t=D.get(e);return t?[t]:[]}),n=O(t).map(e=>{let t=new Set,n=[];for(let r of e.recipes)for(let e of E(r)){let r=S(e.packageId,e.model.name,e.key);t.has(r)||(t.add(r),n.push({id:r,href:`#`,label:e.label,icon:e.icon,description:e.description}))}return{id:`section:${e.id}`,heading:e.label,items:n}}).filter(e=>e.items.length>0),r=x(e.features).map(e=>({id:e.id,href:`#`,label:e.label,icon:e.icon,description:e.description}));return r.length&&n.push({id:`section:${b.id}`,heading:b.label,items:r}),n}function K(e){let t=e.layout;return re([],G(e),void 0,t).groups.map(e=>({id:e.id??String(e.heading),label:e.heading??``,entries:e.items.map(e=>({id:e.id??e.href,label:t?.items?.[e.id??e.href]?.label?.trim()||e.label}))}))}var q={live:`Live`,mock:`Mock`,sample:`Sample`,server:`Server`},se={live:`Runs for real in your browser.`,mock:`Runs in your browser, but a provider is faked.`,sample:`Shows sample data only; it cannot reach what it needs.`,server:`Needs a server, which this browser-only demo does not have.`},ce={live:`success`,mock:`info`,sample:`warning`,server:`default`};function le(e){return e.effectiveDemo??e.demo}function ue(e){if(e)return{mode:e.mode,label:q[e.mode],meaning:se[e.mode],variant:ce[e.mode],reasons:e.reasons,mocked:e.mocked??[]}}function de(e){if(!e)return;if(e.status===`browser-safe`)return`Its package builds for a browser.`;let t=[`Its package does not build for a browser yet`];return e.reason&&t.push(`(${e.reason})`),e.issues?.length&&t.push(`and is tracked in ${e.issues.join(`, `)}`),`${t.join(` `)}.`}var J=`@happyvertical/smrt-commerce:`,fe=`${J}TaxCode`,pe=`${J}TaxComponent`,Y=`${J}TaxSettings`,me=`${J}DocumentTax`;function X(){let e=ee()??.05;return{codes:p(e),fallback:f(e)}}function he(e){try{let t=e?.getItem(oe);if(!t)return;let n=y(t,{dropUnknownRecipes:!0});n.ok&&v(n.cookbook)}catch{}}function ge(){return he(u()),I({storage:u(),defaults:e=>T.apply(e).background,empty:[L,V,me,P],samples:{[fe]:{from:[],make:()=>X().codes.map(e=>({id:e.id,code:e.code,name:e.name,kind:e.kind,appliesTo:e.appliesTo,active:e.active,componentsJson:JSON.stringify(e.components.map(e=>({taxComponentId:e.id,compound:!1})))}))},[pe]:{from:[],make:()=>m(X().codes).map(e=>({id:e.id,name:e.name,percent:e.percent,liabilityAccountId:null,recoverable:e.recoverable,active:!0}))},[Y]:{from:[],make:()=>{let{fallback:e}=X(),t=c();return[{id:h(`${Y}:sample`),defaultSalesTaxCodeId:e.id,defaultPurchaseTaxCodeId:e.id,defaultLineAmountType:t.pricesIncludeTax?`inclusive`:`exclusive`,taxRoundingScope:t.taxRounding}]}},...R(F),[B]:{from:[F(`@happyvertical/smrt-products:Product`)],make:([e])=>(e??[]).map((e,t)=>({id:h(`${B}:sample:${e.id}`),name:`${String(e.name??`Product`)} image`,sourceUri:`data:image/svg+xml,${encodeURIComponent(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240"><rect width="240" height="240" fill="hsl(${t*47%360} 40% 82%)"/><circle cx="120" cy="94" r="46" fill="hsl(${(t*47+30)%360} 35% 58%)"/><path d="M44 214c20-55 132-55 152 0" fill="hsl(${(t*47+10)%360} 30% 46%)"/><text x="120" y="224" text-anchor="middle" font-family="sans-serif" font-size="14" fill="white">${String(e.name??``).replace(/[<&>]/g,``)}</text></svg>`)}`,mimeType:`image/svg+xml`,description:`Sample image for ${String(e.name??`this product`)}.`,sourceType:`browser-demo`}))},[z]:{from:[F(`@happyvertical/smrt-products:Product`),F(B)],make:([e,t])=>(e??[]).flatMap((e,n)=>{let r=t?.[n];return r?[{id:h(`${z}:sample:${e.id}`),productId:e.id,assetId:r.id,relationship:`gallery`,sortOrder:0}]:[]})}},children:{models:d.packages.flatMap(e=>e.models),links:e=>C(d,w,e)}})}var _e=new class{#e=t(void 0);get endpoint(){return e(this.#e)}set endpoint(e){r(this.#e,e,!0)}#t=t(!1);get tokenInConfig(){return e(this.#t)}set tokenInConfig(e){r(this.#t,e,!0)}#n=t(void 0);get token(){return e(this.#n)}set token(e){r(this.#n,e,!0)}#r=t(`idle`);get status(){return e(this.#r)}set status(e){r(this.#r,e,!0)}#i=t(void 0);get outcome(){return e(this.#i)}set outcome(e){r(this.#i,e,!0)}get config(){return this.endpoint&&this.token&&!this.tokenInConfig?{endpoint:this.endpoint,token:this.token}:void 0}get needsLink(){return!!this.endpoint&&!this.token&&!this.tokenInConfig}configure(e,t){this.endpoint=e?.endpoint,this.tokenInConfig=e?.tokenInConfig===!0,this.token=e?t:void 0,this.status=`idle`,this.outcome=void 0}async send(e,t){let n=this.config;if(!n||this.status===`sending`)return;this.status=`sending`,this.outcome=void 0;let r=await ae(n,e,t);this.outcome=r,this.status=r.ok?`sent`:`failed`}},Z=`cookbook`,ve=new class{#e=t(null);get open(){return e(this.#e)}set open(e){r(this.#e,e,!0)}#t=t(null);get returnTo(){return e(this.#t)}set returnTo(e){r(this.#t,e,!0)}navigator=null;show(e){this.returnTo=e,this.navigator?this.navigator.open(e):this.set(e)}back(){this.open&&(this.returnTo=this.open),this.navigator?this.navigator.close():this.set(null)}async set(e,t=!0){this.open!==e&&(t?await ie(async()=>{this.open=e,await n()}):this.open=e)}};function ye(e,t){let n=new URLSearchParams(e).get(Z);return n&&t.includes(n)?n:null}function be(e,t){let n=new URLSearchParams(e);t?n.set(Z,t):n.delete(Z);let r=n.toString().replace(/%2C/gi,`,`);return r?`?${r}`:``}var xe=`Planner`;function Q(e,t,n=N,r=xe){let i=e.name?.trim();if(i)return i;let a=t?n.find(e=>e.id===t):void 0;return a&&W(a,e)?a.name:r}function Se(e){return Q(g.snapshot(),A.active,void 0,e)}var Ce=Symbol(`planner-project-persistence-owner`),$=t(0),we={get remembering(){return e($),l()},get recoveryAvailable(){return e($),o().recoveryAvailable()},setRemember(e){let t=te(e);return i($),t},recover(){let e=o().recover();return i($),e},discardRecovery(){let e=o().discardRecovery();return i($),e}};function Te(e){if(!s())return!1;try{e.nativeAssistant?.reset(),g.reset({preserveTheme:!0}),A.active=null,A.appliedWork=null,ne(),a(null),e.dataSource.reset?.(),e.controller.resetWorkspace?.()}finally{i($),e.onreset?.()}return!0}export{H as _,ye as a,_e as c,ue as d,le as f,W as g,U as h,Se as i,ge as l,K as m,Te as n,ve as o,G as p,we as r,be as s,Ce as t,de as u};
1
+ import{$ as e,bt as t,tt as n,vt as r,xt as i}from"./DG3qFFTE.js";import{F as a,G as o,H as s,N as c,P as ee,U as te,V as l,W as u,_t as d,ct as f,ft as p,pt as m,w as h,z as ne}from"./C9RgwbHt.js";import{_ as re,r as ie}from"./BLC3Ox1F.js";import{c as ae}from"./-nNhrdVn.js";import"./Fn7t7mW8.js";import{i as oe,n as g,o as _,r as v,s as y}from"./Eo-5ZyA4.js";import{M as b,P as x,V as S,W as C,b as w,t as T,v as E,x as D,z as O}from"./Cxl8sQ_8.js";import{b as k,v as A,x as j,y as M}from"./DD37TbKt.js";import{n as N}from"./B8RUnxXp.js";import{t as P}from"./DbI52KON.js";import{r as F,t as I}from"./Dtdyi2_X.js";import{a as L,c as R,d as z,l as B,n as V}from"./3x6B4MXz.js";function H(e,t=A.appliedWork){return j(e.snapshot(),t)}function U(e,t,n){let r=M(e,_,n);if(r.ok){let n=t.theme,i=r.cookbook.theme,o=i?i.colorScheme||!n?.colorScheme?void 0:{...i,colorScheme:n.colorScheme}:n;t.replace(r.cookbook),o&&(t.theme=o),a(e.id),A.select(e.id,k(t.snapshot()))}return r}function W(e,t){return e.document.recipes.every(e=>t.recipes.includes(e))&&e.document.features.every(e=>t.features.includes(e))}function G(e){let t=e.recipes.flatMap(e=>{let t=D.get(e);return t?[t]:[]}),n=O(t).map(e=>{let t=new Set,n=[];for(let r of e.recipes)for(let e of E(r)){let r=S(e.packageId,e.model.name,e.key);t.has(r)||(t.add(r),n.push({id:r,href:`#`,label:e.label,icon:e.icon,description:e.description}))}return{id:`section:${e.id}`,heading:e.label,items:n}}).filter(e=>e.items.length>0),r=x(e.features).map(e=>({id:e.id,href:`#`,label:e.label,icon:e.icon,description:e.description}));return r.length&&n.push({id:`section:${b.id}`,heading:b.label,items:r}),n}function K(e){let t=e.layout;return re([],G(e),void 0,t).groups.map(e=>({id:e.id??String(e.heading),label:e.heading??``,entries:e.items.map(e=>({id:e.id??e.href,label:t?.items?.[e.id??e.href]?.label?.trim()||e.label}))}))}var q={live:`Live`,mock:`Mock`,sample:`Sample`,server:`Server`},se={live:`Runs for real in your browser.`,mock:`Runs in your browser, but a provider is faked.`,sample:`Shows sample data only; it cannot reach what it needs.`,server:`Needs a server, which this browser-only demo does not have.`},ce={live:`success`,mock:`info`,sample:`warning`,server:`default`};function le(e){return e.effectiveDemo??e.demo}function ue(e){if(e)return{mode:e.mode,label:q[e.mode],meaning:se[e.mode],variant:ce[e.mode],reasons:e.reasons,mocked:e.mocked??[]}}function de(e){if(!e)return;if(e.status===`browser-safe`)return`Its package builds for a browser.`;let t=[`Its package does not build for a browser yet`];return e.reason&&t.push(`(${e.reason})`),e.issues?.length&&t.push(`and is tracked in ${e.issues.join(`, `)}`),`${t.join(` `)}.`}var J=`@happyvertical/smrt-commerce:`,fe=`${J}TaxCode`,pe=`${J}TaxComponent`,Y=`${J}TaxSettings`,me=`${J}DocumentTax`;function X(){let e=ee()??.05;return{codes:p(e),fallback:f(e)}}function he(e){try{let t=e?.getItem(oe);if(!t)return;let n=y(t,{dropUnknownRecipes:!0});n.ok&&v(n.cookbook)}catch{}}function ge(){return he(u()),I({storage:u(),defaults:e=>T.apply(e).background,empty:[L,V,me,P],samples:{[fe]:{from:[],make:()=>X().codes.map(e=>({id:e.id,code:e.code,name:e.name,kind:e.kind,appliesTo:e.appliesTo,active:e.active,componentsJson:JSON.stringify(e.components.map(e=>({taxComponentId:e.id,compound:!1})))}))},[pe]:{from:[],make:()=>m(X().codes).map(e=>({id:e.id,name:e.name,percent:e.percent,liabilityAccountId:null,recoverable:e.recoverable,active:!0}))},[Y]:{from:[],make:()=>{let{fallback:e}=X(),t=c();return[{id:h(`${Y}:sample`),defaultSalesTaxCodeId:e.id,defaultPurchaseTaxCodeId:e.id,defaultLineAmountType:t.pricesIncludeTax?`inclusive`:`exclusive`,taxRoundingScope:t.taxRounding}]}},...R(F),[B]:{from:[F(`@happyvertical/smrt-products:Product`)],make:([e])=>(e??[]).map((e,t)=>({id:h(`${B}:sample:${e.id}`),name:`${String(e.name??`Product`)} image`,sourceUri:`data:image/svg+xml,${encodeURIComponent(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240"><rect width="240" height="240" fill="hsl(${t*47%360} 40% 82%)"/><circle cx="120" cy="94" r="46" fill="hsl(${(t*47+30)%360} 35% 58%)"/><path d="M44 214c20-55 132-55 152 0" fill="hsl(${(t*47+10)%360} 30% 46%)"/><text x="120" y="224" text-anchor="middle" font-family="sans-serif" font-size="14" fill="white">${String(e.name??``).replace(/[<&>]/g,``)}</text></svg>`)}`,mimeType:`image/svg+xml`,description:`Sample image for ${String(e.name??`this product`)}.`,sourceType:`browser-demo`}))},[z]:{from:[F(`@happyvertical/smrt-products:Product`),F(B)],make:([e,t])=>(e??[]).flatMap((e,n)=>{let r=t?.[n];return r?[{id:h(`${z}:sample:${e.id}`),productId:e.id,assetId:r.id,relationship:`gallery`,sortOrder:0}]:[]})}},children:{models:d.packages.flatMap(e=>e.models),links:e=>C(d,w,e)}})}var _e=new class{#e=t(void 0);get endpoint(){return e(this.#e)}set endpoint(e){r(this.#e,e,!0)}#t=t(!1);get tokenInConfig(){return e(this.#t)}set tokenInConfig(e){r(this.#t,e,!0)}#n=t(void 0);get token(){return e(this.#n)}set token(e){r(this.#n,e,!0)}#r=t(`idle`);get status(){return e(this.#r)}set status(e){r(this.#r,e,!0)}#i=t(void 0);get outcome(){return e(this.#i)}set outcome(e){r(this.#i,e,!0)}get config(){return this.endpoint&&this.token&&!this.tokenInConfig?{endpoint:this.endpoint,token:this.token}:void 0}get needsLink(){return!!this.endpoint&&!this.token&&!this.tokenInConfig}configure(e,t){this.endpoint=e?.endpoint,this.tokenInConfig=e?.tokenInConfig===!0,this.token=e?t:void 0,this.status=`idle`,this.outcome=void 0}async send(e,t){let n=this.config;if(!n||this.status===`sending`)return;this.status=`sending`,this.outcome=void 0;let r=await ae(n,e,t);this.outcome=r,this.status=r.ok?`sent`:`failed`}},Z=`cookbook`,ve=new class{#e=t(null);get open(){return e(this.#e)}set open(e){r(this.#e,e,!0)}#t=t(null);get returnTo(){return e(this.#t)}set returnTo(e){r(this.#t,e,!0)}navigator=null;show(e){this.returnTo=e,this.navigator?this.navigator.open(e):this.set(e)}back(){this.open&&(this.returnTo=this.open),this.navigator?this.navigator.close():this.set(null)}async set(e,t=!0){this.open!==e&&(t?await ie(async()=>{this.open=e,await n()}):this.open=e)}};function ye(e,t){let n=new URLSearchParams(e).get(Z);return n&&t.includes(n)?n:null}function be(e,t){let n=new URLSearchParams(e);t?n.set(Z,t):n.delete(Z);let r=n.toString().replace(/%2C/gi,`,`);return r?`?${r}`:``}var xe=`Planner`;function Q(e,t,n=N,r=xe){let i=e.name?.trim();if(i)return i;let a=t?n.find(e=>e.id===t):void 0;return a&&W(a,e)?a.name:r}function Se(e){return Q(g.snapshot(),A.active,void 0,e)}var Ce=Symbol(`planner-project-persistence-owner`),$=t(0),we={get remembering(){return e($),l()},get recoveryAvailable(){return e($),o().recoveryAvailable()},setRemember(e){let t=te(e);return i($),t},recover(){let e=o().recover();return i($),e},discardRecovery(){let e=o().discardRecovery();return i($),e}};function Te(e){if(!s())return!1;try{e.nativeAssistant?.reset(),g.reset({preserveTheme:!0}),A.active=null,A.appliedWork=null,ne(),a(null),e.dataSource.reset?.(),e.controller.resetWorkspace?.()}finally{i($),e.onreset?.()}return!0}export{H as _,ye as a,_e as c,ue as d,le as f,W as g,U as h,Se as i,ge as l,K as m,Te as n,ve as o,G as p,we as r,be as s,Ce as t,de as u};
@@ -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"./BLUInGBV.js";import{t as ie}from"./Bq8E3AWP.js";import"./DormgCOG.js";import{n as D}from"./DK8Blf1Y.js";import{D as O,T as k,f as ae,h as oe}from"./DyGJXtfQ.js";import{n as se}from"./v8gneLl4.js";import{o as A,u as j}from"./DIE02RSm.js";import{i as M}from"./CGVkRTMI.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"./BLUInGBV.js";import{t as ie}from"./Bq8E3AWP.js";import"./C9RgwbHt.js";import{n as D}from"./DK8Blf1Y.js";import{D as O,T as k,f as ae,h as oe}from"./BLC3Ox1F.js";import{n as se}from"./v8gneLl4.js";import{o as A,u as j}from"./DIE02RSm.js";import{i as M}from"./CGVkRTMI.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,4 +1,4 @@
1
- import{$ as e,A as t,B as n,Ct as r,Dt as i,E as a,F as o,Ft as s,G as c,H as l,J as u,K as d,L as f,Lt as p,Ot as m,Pt as h,R as g,Rt as _,U as v,W as y,X as b,Y as x,Z as S,_ as C,a as w,b as T,bt as E,ct as D,dt as O,ft as k,gt as A,ht as j,it as M,k as N,mt as P,n as F,o as I,pt as L,q as R,s as z,st as B,tt as V,ut as H,v as U,vt as W,xt as G,y as K,z as ee}from"./DG3qFFTE.js";import{n as q}from"./Dysg00l5.js";import"./xihTtKlq.js";import{i as J,r as Y}from"./BLUInGBV.js";import{a as X,t as te}from"./Bq8E3AWP.js";import{$ as ne,C as re,St as ie,X as ae,_ as oe,_t as se,a as ce,bt as le,c as ue,d as de,et as fe,f as pe,g as me,h as he,nt as ge,p as _e,q as ve,t as ye,tt as be,u as xe,ut as Se,v as Ce,yt as we}from"./DormgCOG.js";import{n as Z}from"./DK8Blf1Y.js";import{n as Te}from"./v8gneLl4.js";import"./NuljWYRA.js";import{u as Ee}from"./DIE02RSm.js";import{b as De,d as Oe,f as ke,l as Ae,n as je,r as Me,x as Ne}from"./CGVkRTMI.js";import"./Din9xt9G.js";import{t as Pe}from"./DzQA5WgS.js";import{S as Fe,_ as Ie,a as Le,d as Re,f as ze,g as Be,h as Ve,m as He,n as Ue,p as We,r as Ge,t as Ke,u as qe,v as Je,x as Ye}from"./QD5OfFAp.js";import{A as Xe,C as Ze,E as Qe,O as $e,S as et,j as tt,k as nt,n as rt,v as it,w as at,x as ot,y as st}from"./vt4nGGr3.js";import{G as ct,H as lt,M as ut,Q as dt,U as ft,W as pt,X as mt,b as ht,g as gt,h as _t,q as vt,t as yt,v as bt,x as xt}from"./2JTcL7GS.js";import{a as St,i as Ct,n as wt,r as Tt}from"./CO-Ek-HE.js";import{a as Et,c as Dt,i as Ot,l as kt,n as At}from"./DOJ0mTnf.js";import{r as jt}from"./D_U_DYjx.js";import"./DKGH436i.js";import{t as Mt}from"./C617Umoc.js";import{a as Nt,d as Pt,i as Ft,l as It,o as Lt,p as Rt,r as zt,s as Bt,u as Vt}from"./BQW57rtm.js";import{a as Ht,d as Ut,f as Wt,i as Gt,l as Kt,o as qt,p as Jt,r as Yt,s as Xt,u as Zt}from"./DFSuj4nU.js";import{n as Qt}from"./CgAkqYsL.js";import{a as $t,i as en,n as tn,o as nn,r as rn,s as an,t as on}from"./ENE_lftz.js";import{t as sn}from"./JBD5vUbP.js";function cn(e,t){return{key:t,direction:e?.key===t&&e.direction===`ascending`?`descending`:`ascending`}}var ln=new Intl.Collator(void 0,{numeric:!0,sensitivity:`base`});function un(e){return e==null||e===``||typeof e==`number`&&!Number.isFinite(e)}function dn(e,t){if(typeof e==`number`&&typeof t==`number`)return e-t;if(typeof e==`boolean`&&typeof t==`boolean`)return Number(e)-Number(t);let n=e instanceof Date?e.getTime():e,r=t instanceof Date?t.getTime():t;return typeof n==`number`&&typeof r==`number`?n-r:ln.compare(String(n),String(r))}function fn(e,t,n){return t?e.map((e,r)=>({row:e,index:r,value:n(e,t.key)})).sort((e,n)=>{let r=un(e.value);if(r!==un(n.value))return r?1:-1;let i=r?0:dn(e.value,n.value);return(t.direction===`ascending`?i:-i)||e.index-n.index}).map(({row:e})=>e):[...e]}var pn={name:`@happyvertical/smrt-assets`,displayName:`Assets`,description:`Provider-agnostic asset management with versioning, metadata, folders, and associations`,uiSlots:{"attachment-list":{id:`attachment-list`,label:`Attachment List`,description:`Authorized private links and supplied version history`,icon:`file-text`,category:`list`,order:8,propsInterface:`AttachmentListProps`},"attachment-upload":{id:`attachment-upload`,label:`Attachment Upload`,description:`Native multipart upload with retained request fields and recovery guidance`,icon:`upload`,category:`form`,order:9,propsInterface:`AttachmentUploadProps`},"attachment-panel":{id:`attachment-panel`,label:`Attachments`,description:`Attachment list and optional native upload composition`,icon:`file-text`,category:`display`,order:10,propsInterface:`AttachmentPanelProps`},"asset-manager":{id:`asset-manager`,label:`Asset Manager`,description:`Combined asset management surface with toolbar, grid/list view, detail, and selection`,icon:`folder-image`,category:`admin`,order:1,propsInterface:`AssetManagerProps`},"asset-grid":{id:`asset-grid`,label:`Asset Grid`,description:`Grid view of asset thumbnails with selection`,icon:`grid`,category:`list`,order:2,propsInterface:`AssetGridProps`},"asset-list":{id:`asset-list`,label:`Asset List`,description:`Sortable list view of assets with metadata columns`,icon:`list`,category:`list`,order:3,propsInterface:`AssetListProps`},"asset-detail":{id:`asset-detail`,label:`Asset Detail`,description:`Detailed view of a single asset with metadata and preview`,icon:`file-text`,category:`detail`,order:4,propsInterface:`AssetDetailProps`},"asset-toolbar":{id:`asset-toolbar`,label:`Asset Toolbar`,description:`Toolbar with view toggle, filters, sort, and upload action`,icon:`sliders`,category:`action`,order:5,propsInterface:`AssetToolbarProps`},"asset-action-bar":{id:`asset-action-bar`,label:`Asset Action Bar`,description:`Bulk action bar shown when assets are selected`,icon:`more-horizontal`,category:`action`,order:6,propsInterface:`ActionBarProps`},"asset-create-modal":{id:`asset-create-modal`,label:`Create Asset Modal`,description:`Modal dialog for uploading and creating a new asset`,icon:`upload`,category:`form`,order:7,propsInterface:`CreateAssetModalProps`}},models:[`Asset`,`AssetType`,`AssetStatus`,`AssetMetafield`,`Folder`],collections:[`AssetCollection`,`AssetTypeCollection`,`AssetStatusCollection`,`AssetMetafieldCollection`,`AssetAssociationCollection`,`FolderCollection`]},Q=X({"assets.action_bar.delete_confirm_title":`Delete {count} asset{plural}?`,"assets.action_bar.delete_confirm_message_one":`This action cannot be undone. The asset and its file data will be permanently removed.`,"assets.action_bar.delete_confirm_message_other":`This action cannot be undone. The assets and their file data will be permanently removed.`,"assets.action_bar.delete":`Delete`,"assets.action_bar.cancel":`Cancel`,"assets.asset_detail.open_pdf_in_new_tab":`Open PDF in new tab`,"assets.asset_detail.alt_text":`Alt Text`,"assets.asset_detail.alt_text_missing_warning":`⚠️ Missing — required for accessibility`,"assets.asset_detail.quick_actions":`Quick Actions`,"assets.asset_detail.copy_url":`📋 Copy URL`,"assets.asset_detail.copy_markdown":`📝 Copy Markdown`,"assets.asset_detail.edit_image":`✏️ Edit Image`,"assets.asset_detail.used_in":`Used In`,"assets.asset_detail.alt_text_placeholder":`Describe this image for screen readers`,"assets.asset_detail.description_placeholder":`Optional description`,"assets.asset_grid.loading":`Loading assets...`,"assets.asset_grid.no_assets_found":`No assets found`,"assets.asset_grid.empty_hint":`Upload an asset or change your search filters to see results.`,"assets.asset_grid.no_alt":`⚠️ No alt`,"assets.asset_grid.missing_alt_text":`Missing alt text`,"assets.asset_grid.open_named":`Open {name}`,"assets.asset_grid.select_named":`Select {name}`,"assets.asset_grid.select_named_checkbox":`Select {name}`,"assets.asset_list.loading":`Loading assets...`,"assets.asset_list.no_assets_found":`No assets found`,"assets.asset_list.empty_hint":`Upload an asset or change your search filters to see results.`,"assets.asset_list.select_all":`Select all`,"assets.asset_list.select_named":`Select {name}`,"assets.asset_manager.drop_file_to_upload":`Drop file to upload`,"assets.asset_toolbar.all_types":`All types`,"assets.asset_toolbar.newest_first":`Newest first`,"assets.asset_toolbar.oldest_first":`Oldest first`,"assets.asset_toolbar.name_a_z":`Name A–Z`,"assets.asset_toolbar.name_z_a":`Name Z–A`,"assets.asset_toolbar.recently_updated":`Recently updated`,"assets.asset_toolbar.search_placeholder":`Search assets...`,"assets.asset_toolbar.search_assets":`Search assets`,"assets.asset_toolbar.clear_search":`Clear search`,"assets.asset_toolbar.filter_by_type":`Filter by type`,"assets.asset_toolbar.sort_assets":`Sort assets`,"assets.asset_toolbar.view_mode":`View mode`,"assets.asset_toolbar.view_label":`{label} view`,"assets.create_asset_modal.dropzone_text":`Drag & drop a file here, or click to browse`,"assets.create_asset_modal.dropzone_hint":`You can also paste an image from your clipboard`,"assets.create_asset_modal.large_file_warning":`⚠️ Large file — may slow page loads`,"assets.create_asset_modal.alt_text":`Alt Text`,"assets.create_asset_modal.alt_text_recommended_warning":`⚠️ Recommended for accessibility`,"assets.create_asset_modal.name_placeholder":`Asset name`,"assets.create_asset_modal.description_placeholder":`Optional description`,"assets.create_asset_modal.alt_text_placeholder":`Describe this image for screen readers`,"assets.create_asset_modal.upload_asset":`Upload Asset`,"assets.create_asset_modal.preview_alt":`Preview`,"assets.create_asset_modal.remove_file":`Remove file`,"assets.create_asset_modal.upload_failed":`Upload failed. Please try again.`,"assets.asset_detail_preview.modal_preview":`Modal Preview`,"assets.asset_detail_preview.description":`Launch the asset detail dialog from inside the preview stage so the shared
1
+ import{$ as e,A as t,B as n,Ct as r,Dt as i,E as a,F as o,Ft as s,G as c,H as l,J as u,K as d,L as f,Lt as p,Ot as m,Pt as h,R as g,Rt as _,U as v,W as y,X as b,Y as x,Z as S,_ as C,a as w,b as T,bt as E,ct as D,dt as O,ft as k,gt as A,ht as j,it as M,k as N,mt as P,n as F,o as I,pt as L,q as R,s as z,st as B,tt as V,ut as H,v as U,vt as W,xt as G,y as K,z as ee}from"./DG3qFFTE.js";import{n as q}from"./ClH-bS_I.js";import"./xihTtKlq.js";import{i as J,r as Y}from"./BLUInGBV.js";import{a as X,t as te}from"./Bq8E3AWP.js";import{$ as ne,C as re,St as ie,X as ae,_ as oe,_t as se,a as ce,bt as le,c as ue,d as de,et as fe,f as pe,g as me,h as he,nt as ge,p as _e,q as ve,t as ye,tt as be,u as xe,ut as Se,v as Ce,yt as we}from"./C9RgwbHt.js";import{n as Z}from"./DK8Blf1Y.js";import{n as Te}from"./v8gneLl4.js";import"./Bb8J-Hrf.js";import{u as Ee}from"./DIE02RSm.js";import{b as De,d as Oe,f as ke,l as Ae,n as je,r as Me,x as Ne}from"./CGVkRTMI.js";import"./DouFCTxj.js";import{t as Pe}from"./M8pbJttS.js";import{S as Fe,_ as Ie,a as Le,d as Re,f as ze,g as Be,h as Ve,m as He,n as Ue,p as We,r as Ge,t as Ke,u as qe,v as Je,x as Ye}from"./DSch0LpN.js";import{A as Xe,C as Ze,E as Qe,O as $e,S as et,j as tt,k as nt,n as rt,v as it,w as at,x as ot,y as st}from"./Eo-5ZyA4.js";import{G as ct,H as lt,M as ut,Q as dt,U as ft,W as pt,X as mt,b as ht,g as gt,h as _t,q as vt,t as yt,v as bt,x as xt}from"./Cxl8sQ_8.js";import{a as St,i as Ct,n as wt,r as Tt}from"./CO-Ek-HE.js";import{a as Et,c as Dt,i as Ot,l as kt,n as At}from"./B5uC8OV-.js";import{r as jt}from"./D_U_DYjx.js";import"./DbI52KON.js";import{t as Mt}from"./CG4lZIdQ.js";import{a as Nt,d as Pt,i as Ft,l as It,o as Lt,p as Rt,r as zt,s as Bt,u as Vt}from"./Dtdyi2_X.js";import{a as Ht,d as Ut,f as Wt,i as Gt,l as Kt,o as qt,p as Jt,r as Yt,s as Xt,u as Zt}from"./3x6B4MXz.js";import{n as Qt}from"./CgAkqYsL.js";import{a as $t,i as en,n as tn,o as nn,r as rn,s as an,t as on}from"./CliueLLv.js";import{t as sn}from"./JBD5vUbP.js";function cn(e,t){return{key:t,direction:e?.key===t&&e.direction===`ascending`?`descending`:`ascending`}}var ln=new Intl.Collator(void 0,{numeric:!0,sensitivity:`base`});function un(e){return e==null||e===``||typeof e==`number`&&!Number.isFinite(e)}function dn(e,t){if(typeof e==`number`&&typeof t==`number`)return e-t;if(typeof e==`boolean`&&typeof t==`boolean`)return Number(e)-Number(t);let n=e instanceof Date?e.getTime():e,r=t instanceof Date?t.getTime():t;return typeof n==`number`&&typeof r==`number`?n-r:ln.compare(String(n),String(r))}function fn(e,t,n){return t?e.map((e,r)=>({row:e,index:r,value:n(e,t.key)})).sort((e,n)=>{let r=un(e.value);if(r!==un(n.value))return r?1:-1;let i=r?0:dn(e.value,n.value);return(t.direction===`ascending`?i:-i)||e.index-n.index}).map(({row:e})=>e):[...e]}var pn={name:`@happyvertical/smrt-assets`,displayName:`Assets`,description:`Provider-agnostic asset management with versioning, metadata, folders, and associations`,uiSlots:{"attachment-list":{id:`attachment-list`,label:`Attachment List`,description:`Authorized private links and supplied version history`,icon:`file-text`,category:`list`,order:8,propsInterface:`AttachmentListProps`},"attachment-upload":{id:`attachment-upload`,label:`Attachment Upload`,description:`Native multipart upload with retained request fields and recovery guidance`,icon:`upload`,category:`form`,order:9,propsInterface:`AttachmentUploadProps`},"attachment-panel":{id:`attachment-panel`,label:`Attachments`,description:`Attachment list and optional native upload composition`,icon:`file-text`,category:`display`,order:10,propsInterface:`AttachmentPanelProps`},"asset-manager":{id:`asset-manager`,label:`Asset Manager`,description:`Combined asset management surface with toolbar, grid/list view, detail, and selection`,icon:`folder-image`,category:`admin`,order:1,propsInterface:`AssetManagerProps`},"asset-grid":{id:`asset-grid`,label:`Asset Grid`,description:`Grid view of asset thumbnails with selection`,icon:`grid`,category:`list`,order:2,propsInterface:`AssetGridProps`},"asset-list":{id:`asset-list`,label:`Asset List`,description:`Sortable list view of assets with metadata columns`,icon:`list`,category:`list`,order:3,propsInterface:`AssetListProps`},"asset-detail":{id:`asset-detail`,label:`Asset Detail`,description:`Detailed view of a single asset with metadata and preview`,icon:`file-text`,category:`detail`,order:4,propsInterface:`AssetDetailProps`},"asset-toolbar":{id:`asset-toolbar`,label:`Asset Toolbar`,description:`Toolbar with view toggle, filters, sort, and upload action`,icon:`sliders`,category:`action`,order:5,propsInterface:`AssetToolbarProps`},"asset-action-bar":{id:`asset-action-bar`,label:`Asset Action Bar`,description:`Bulk action bar shown when assets are selected`,icon:`more-horizontal`,category:`action`,order:6,propsInterface:`ActionBarProps`},"asset-create-modal":{id:`asset-create-modal`,label:`Create Asset Modal`,description:`Modal dialog for uploading and creating a new asset`,icon:`upload`,category:`form`,order:7,propsInterface:`CreateAssetModalProps`}},models:[`Asset`,`AssetType`,`AssetStatus`,`AssetMetafield`,`Folder`],collections:[`AssetCollection`,`AssetTypeCollection`,`AssetStatusCollection`,`AssetMetafieldCollection`,`AssetAssociationCollection`,`FolderCollection`]},Q=X({"assets.action_bar.delete_confirm_title":`Delete {count} asset{plural}?`,"assets.action_bar.delete_confirm_message_one":`This action cannot be undone. The asset and its file data will be permanently removed.`,"assets.action_bar.delete_confirm_message_other":`This action cannot be undone. The assets and their file data will be permanently removed.`,"assets.action_bar.delete":`Delete`,"assets.action_bar.cancel":`Cancel`,"assets.asset_detail.open_pdf_in_new_tab":`Open PDF in new tab`,"assets.asset_detail.alt_text":`Alt Text`,"assets.asset_detail.alt_text_missing_warning":`⚠️ Missing — required for accessibility`,"assets.asset_detail.quick_actions":`Quick Actions`,"assets.asset_detail.copy_url":`📋 Copy URL`,"assets.asset_detail.copy_markdown":`📝 Copy Markdown`,"assets.asset_detail.edit_image":`✏️ Edit Image`,"assets.asset_detail.used_in":`Used In`,"assets.asset_detail.alt_text_placeholder":`Describe this image for screen readers`,"assets.asset_detail.description_placeholder":`Optional description`,"assets.asset_grid.loading":`Loading assets...`,"assets.asset_grid.no_assets_found":`No assets found`,"assets.asset_grid.empty_hint":`Upload an asset or change your search filters to see results.`,"assets.asset_grid.no_alt":`⚠️ No alt`,"assets.asset_grid.missing_alt_text":`Missing alt text`,"assets.asset_grid.open_named":`Open {name}`,"assets.asset_grid.select_named":`Select {name}`,"assets.asset_grid.select_named_checkbox":`Select {name}`,"assets.asset_list.loading":`Loading assets...`,"assets.asset_list.no_assets_found":`No assets found`,"assets.asset_list.empty_hint":`Upload an asset or change your search filters to see results.`,"assets.asset_list.select_all":`Select all`,"assets.asset_list.select_named":`Select {name}`,"assets.asset_manager.drop_file_to_upload":`Drop file to upload`,"assets.asset_toolbar.all_types":`All types`,"assets.asset_toolbar.newest_first":`Newest first`,"assets.asset_toolbar.oldest_first":`Oldest first`,"assets.asset_toolbar.name_a_z":`Name A–Z`,"assets.asset_toolbar.name_z_a":`Name Z–A`,"assets.asset_toolbar.recently_updated":`Recently updated`,"assets.asset_toolbar.search_placeholder":`Search assets...`,"assets.asset_toolbar.search_assets":`Search assets`,"assets.asset_toolbar.clear_search":`Clear search`,"assets.asset_toolbar.filter_by_type":`Filter by type`,"assets.asset_toolbar.sort_assets":`Sort assets`,"assets.asset_toolbar.view_mode":`View mode`,"assets.asset_toolbar.view_label":`{label} view`,"assets.create_asset_modal.dropzone_text":`Drag & drop a file here, or click to browse`,"assets.create_asset_modal.dropzone_hint":`You can also paste an image from your clipboard`,"assets.create_asset_modal.large_file_warning":`⚠️ Large file — may slow page loads`,"assets.create_asset_modal.alt_text":`Alt Text`,"assets.create_asset_modal.alt_text_recommended_warning":`⚠️ Recommended for accessibility`,"assets.create_asset_modal.name_placeholder":`Asset name`,"assets.create_asset_modal.description_placeholder":`Optional description`,"assets.create_asset_modal.alt_text_placeholder":`Describe this image for screen readers`,"assets.create_asset_modal.upload_asset":`Upload Asset`,"assets.create_asset_modal.preview_alt":`Preview`,"assets.create_asset_modal.remove_file":`Remove file`,"assets.create_asset_modal.upload_failed":`Upload failed. Please try again.`,"assets.asset_detail_preview.modal_preview":`Modal Preview`,"assets.asset_detail_preview.description":`Launch the asset detail dialog from inside the preview stage so the shared
2
2
  playground stays navigable.`,"assets.asset_detail_preview.open_asset_detail":`Open Asset Detail`,"assets.create_asset_modal_preview.modal_preview":`Modal Preview`,"assets.create_asset_modal_preview.title":`Create Asset Modal`,"assets.create_asset_modal_preview.description":`Open the upload dialog from inside the preview stage to exercise the real
3
3
  modal flow without covering the host navigation.`,"assets.create_asset_modal_preview.open_upload_modal":`Open Upload Modal`,"assets.create_asset_modal_preview.alt_text":`Alt Text`,"assets.asset_manager_route.eyebrow":`Package Route Surface`,"assets.asset_manager_route.title":`Asset Manager`,"assets.asset_manager_route.lede":`The reference route for browsing, selecting, and reviewing uploaded
4
4
  assets with the package-owned asset manager UI.`,"assets.asset_manager_route.selection_state":`Selection State`,"assets.asset_manager_route.no_assets_selected":`No assets selected.`,"assets.asset_manager_route.assets_selected":`asset{plural} selected.`,"assets.asset_manager_route.custom_action_example":`Custom Action Example`,"assets.asset_manager_route.custom_action_description":`This route keeps package-owned defaults while leaving room for app