@happyvertical/smrt-planner 0.57.4 → 0.57.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.
- package/app/404.html +19 -19
- package/app/_app/immutable/chunks/{BhsxCKaI.js → 5ukUzDcw.js} +1 -1
- package/app/_app/immutable/chunks/{CztFAhpp.js → BDbFl7UA.js} +1 -1
- package/app/_app/immutable/chunks/{gnVUq1Tr.js → BG9Gz_25.js} +21 -21
- package/app/_app/immutable/chunks/{Ckc_1feF.js → Bal1oPZu.js} +1 -1
- package/app/_app/immutable/chunks/BhU_yBI_.js +1 -0
- package/app/_app/immutable/chunks/{CdPJK-gf.js → BiEOJeYb.js} +1 -1
- package/app/_app/immutable/chunks/{BMRtN-eN.js → Bsn3IIve.js} +3 -3
- package/app/_app/immutable/chunks/{ukqw0V0Z.js → BybfWt-B.js} +1 -1
- package/app/_app/immutable/chunks/{VCg3x54j.js → C1VofLtR.js} +1 -1
- package/app/_app/immutable/chunks/{8vF2REci.js → C3sRGrYK.js} +1 -1
- package/app/_app/immutable/chunks/{D8D_RStZ.js → CTlMHIE6.js} +1 -1
- package/app/_app/immutable/chunks/C_3CJO_1.js +1 -0
- package/app/_app/immutable/chunks/{DEwvWTFM.js → Cga8zF3r.js} +1 -1
- package/app/_app/immutable/chunks/{D76yH9OO.js → Cr4byQts.js} +1 -1
- package/app/_app/immutable/chunks/{B6GaAylQ.js → CtjBwCj8.js} +1 -1
- package/app/_app/immutable/chunks/{D7t4xFw6.js → CyUSxz1P.js} +1 -1
- package/app/_app/immutable/chunks/{h1rof478.js → DjJovMrk.js} +1 -1
- package/app/_app/immutable/chunks/{XlsfHlOd.js → DuZeZzOA.js} +1 -1
- package/app/_app/immutable/chunks/{A_IpJrNN.js → J9kOiFLO.js} +1 -1
- package/app/_app/immutable/chunks/{DCr75fDJ.js → NppCG--v.js} +1 -1
- package/app/_app/immutable/chunks/{CVcfTI5P.js → O8DAZ_le.js} +1 -1
- package/app/_app/immutable/chunks/{CUAfmRua.js → YGONf0jr.js} +1 -1
- package/app/_app/immutable/chunks/d_dqmeIr.js +1 -0
- package/app/_app/immutable/chunks/{BvRNePGN.js → gCpxN2IC.js} +1 -1
- package/app/_app/immutable/chunks/{CQ13lq7J.js → nphy1MQF.js} +1 -1
- package/app/_app/immutable/entry/{app.C-mGsUDb.js → app.B4gMiHwR.js} +2 -2
- package/app/_app/immutable/entry/start.BXkBl20Z.js +1 -0
- package/app/_app/immutable/nodes/{0.CG8nFTeW.js → 0.2MYMg80l.js} +1 -1
- package/app/_app/immutable/nodes/{1.BY2zPWBD.js → 1.DKP901Gn.js} +1 -1
- package/app/_app/immutable/nodes/{10.y59vLZOY.js → 10.DNN0cVai.js} +1 -1
- package/app/_app/immutable/nodes/{11.HBRO8fTE.js → 11.DgbmegX3.js} +1 -1
- package/app/_app/immutable/nodes/{12.DiV3I_fX.js → 12.D5MtnJoE.js} +1 -1
- package/app/_app/immutable/nodes/{13.f4cxyt4f.js → 13._rY66Xa_.js} +1 -1
- package/app/_app/immutable/nodes/{14.DnBBJxxq.js → 14.B6TD25VU.js} +1 -1
- package/app/_app/immutable/nodes/{2.DR5lKFBV.js → 2.x9WyxQ1S.js} +3 -3
- package/app/_app/immutable/nodes/{3.gu2TJwhp.js → 3.V5uGCpGb.js} +1 -1
- package/app/_app/immutable/nodes/{4.CU9BPw5o.js → 4.CCwzLrgu.js} +1 -1
- package/app/_app/immutable/nodes/{5.CD78hESs.js → 5.CgHzwpns.js} +1 -1
- package/app/_app/immutable/nodes/{6.B5LspHdV.js → 6.CvQHLh_u.js} +1 -1
- package/app/_app/immutable/nodes/{7.lSo_04_4.js → 7.7EIrly34.js} +1 -1
- package/app/_app/immutable/nodes/{8.OVIZi4uJ.js → 8.DyyRBuTw.js} +1 -1
- package/app/_app/immutable/nodes/{9.BLNgntah.js → 9.DcURs0gN.js} +1 -1
- package/app/_app/version.json +1 -1
- package/app/advanced-styles/index.html +22 -22
- package/app/ai/index.html +26 -26
- package/app/blueprint/index.html +20 -20
- package/app/cookbook/index.html +20 -20
- package/app/index.html +28 -28
- package/app/m/ads/AdDeliveryTier/index.html +23 -23
- package/app/m/ads/AdEvent/index.html +23 -23
- package/app/m/ads/AdFormat/index.html +23 -23
- package/app/m/ads/AdGroup/index.html +23 -23
- package/app/m/ads/AdVariation/index.html +23 -23
- package/app/m/analytics/AnalyticsDataStream/index.html +23 -23
- package/app/m/analytics/AnalyticsEvent/index.html +23 -23
- package/app/m/analytics/AnalyticsProperty/index.html +23 -23
- package/app/m/analytics/AnalyticsReport/index.html +23 -23
- package/app/m/approvals/ApprovalEvent/index.html +23 -23
- package/app/m/approvals/ApprovalPolicy/index.html +23 -23
- package/app/m/approvals/ApprovalRequest/index.html +23 -23
- package/app/m/assets/Asset/attachments/index.html +24 -24
- package/app/m/assets/Asset/index.html +23 -23
- package/app/m/assets/AssetAssociation/index.html +23 -23
- package/app/m/assets/AssetMetafield/index.html +23 -23
- package/app/m/assets/AssetStatus/index.html +23 -23
- package/app/m/assets/AssetType/index.html +23 -23
- package/app/m/assets/Folder/index.html +23 -23
- package/app/m/chat/AgentSession/index.html +23 -23
- package/app/m/chat/ChatMessage/index.html +23 -23
- package/app/m/chat/ChatParticipant/index.html +23 -23
- package/app/m/chat/ChatReaction/index.html +23 -23
- package/app/m/chat/ChatRoom/index.html +23 -23
- package/app/m/chat/ChatThread/index.html +23 -23
- package/app/m/chat/VoiceGatewayTurn/index.html +23 -23
- package/app/m/chat/VoiceSession/index.html +23 -23
- package/app/m/commerce/Agreement/index.html +23 -23
- package/app/m/commerce/Cart/index.html +23 -23
- package/app/m/commerce/Contract/index.html +23 -23
- package/app/m/commerce/ContractLineItem/index.html +23 -23
- package/app/m/commerce/Customer/index.html +23 -23
- package/app/m/commerce/DocumentTax/index.html +23 -23
- package/app/m/commerce/Estimate/index.html +23 -23
- package/app/m/commerce/Fulfillment/index.html +23 -23
- package/app/m/commerce/FulfillmentLineItem/index.html +23 -23
- package/app/m/commerce/HistoricalCustomerFunds/index.html +23 -23
- package/app/m/commerce/HistoricalCustomerFundsAllocation/index.html +23 -23
- package/app/m/commerce/HistoricalSalesLine/index.html +23 -23
- package/app/m/commerce/Invoice/index.html +23 -23
- package/app/m/commerce/InvoiceLineItem/index.html +23 -23
- package/app/m/commerce/Lease/index.html +23 -23
- package/app/m/commerce/LicenseSale/index.html +23 -23
- package/app/m/commerce/Order/index.html +23 -23
- package/app/m/commerce/Payment/index.html +23 -23
- package/app/m/commerce/PaymentAllocation/index.html +23 -23
- package/app/m/commerce/PaymentInstrument/index.html +23 -23
- package/app/m/commerce/PaymentIntent/index.html +23 -23
- package/app/m/commerce/Payout/index.html +23 -23
- package/app/m/commerce/ProductionOrder/index.html +23 -23
- package/app/m/commerce/PurchaseContract/index.html +23 -23
- package/app/m/commerce/PurchaseOrder/index.html +23 -23
- package/app/m/commerce/SalesContract/index.html +23 -23
- package/app/m/commerce/SupplierQuote/index.html +23 -23
- package/app/m/commerce/TaxCode/index.html +23 -23
- package/app/m/commerce/TaxComponent/index.html +23 -23
- package/app/m/commerce/TaxSettings/index.html +23 -23
- package/app/m/commerce/TaxSummaryReport/index.html +23 -23
- package/app/m/commerce/Vendor/index.html +23 -23
- package/app/m/commerce/WholesaleOrder/index.html +23 -23
- package/app/m/content/Content/index.html +23 -23
- package/app/m/content/ContentContribution/index.html +23 -23
- package/app/m/content/ContentContributionAttachment/index.html +23 -23
- package/app/m/content/ContentContributionRevision/index.html +23 -23
- package/app/m/content/ContentContributionType/index.html +23 -23
- package/app/m/content/ContentContributor/index.html +23 -23
- package/app/m/content/ContentCorrection/index.html +23 -23
- package/app/m/content/ContentFeedSource/index.html +23 -23
- package/app/m/content/ContentGovernanceAssignment/index.html +23 -23
- package/app/m/content/ContentGovernancePolicy/index.html +23 -23
- package/app/m/content/ContentGovernanceProfile/index.html +23 -23
- package/app/m/content/ContentReference/index.html +23 -23
- package/app/m/content/ContentReview/index.html +23 -23
- package/app/m/content/ContentVersion/index.html +23 -23
- package/app/m/events/Event/index.html +23 -23
- package/app/m/events/EventParticipant/index.html +23 -23
- package/app/m/events/EventSeries/index.html +23 -23
- package/app/m/events/EventType/index.html +23 -23
- package/app/m/expenses/Expense/index.html +23 -23
- package/app/m/facts/Fact/index.html +23 -23
- package/app/m/facts/FactContent/index.html +23 -23
- package/app/m/facts/FactEvidence/index.html +23 -23
- package/app/m/facts/FactSource/index.html +23 -23
- package/app/m/facts/FactSubject/index.html +23 -23
- package/app/m/facts/FactTag/index.html +23 -23
- package/app/m/fields/FieldPolicy/index.html +23 -23
- package/app/m/fields/FieldPolicySuggestion/index.html +23 -23
- package/app/m/fields/FieldUsageCounter/index.html +23 -23
- package/app/m/images/Image/index.html +23 -23
- package/app/m/inventory/InventoryLocation/index.html +23 -23
- package/app/m/inventory/StockLevel/index.html +23 -23
- package/app/m/inventory/StockMovement/index.html +23 -23
- package/app/m/ledgers/Account/index.html +23 -23
- package/app/m/ledgers/Journal/index.html +23 -23
- package/app/m/ledgers/JournalEntry/index.html +23 -23
- package/app/m/ledgers/Ledger/index.html +23 -23
- package/app/m/manufacturing/Assembly/index.html +23 -23
- package/app/m/manufacturing/BillOfMaterials/index.html +23 -23
- package/app/m/manufacturing/BomLine/index.html +23 -23
- package/app/m/manufacturing/Operation/index.html +23 -23
- package/app/m/manufacturing/ProductionRun/index.html +23 -23
- package/app/m/manufacturing/ProductionRunCompletion/index.html +23 -23
- package/app/m/manufacturing/RoutingStep/index.html +23 -23
- package/app/m/marketing/Campaign/index.html +23 -23
- package/app/m/marketing/CampaignChannel/index.html +23 -23
- package/app/m/marketing/CampaignMetricSnapshot/index.html +23 -23
- package/app/m/messages/Account/index.html +23 -23
- package/app/m/messages/Attachment/index.html +23 -23
- package/app/m/messages/Blacklist/index.html +23 -23
- package/app/m/messages/Email/failed-sends/index.html +24 -24
- package/app/m/messages/Email/index.html +23 -23
- package/app/m/messages/Email/mailbox/index.html +24 -24
- package/app/m/messages/EmailAccount/index.html +23 -23
- package/app/m/messages/EmailAttachment/index.html +23 -23
- package/app/m/messages/EmailFolder/index.html +23 -23
- package/app/m/messages/Message/index.html +23 -23
- package/app/m/messages/MessagingEndpoint/index.html +23 -23
- package/app/m/messages/PersonaMessageRoute/index.html +23 -23
- package/app/m/messages/SlackAccount/index.html +23 -23
- package/app/m/messages/SlackMessage/index.html +23 -23
- package/app/m/messages/TelegramAccount/index.html +23 -23
- package/app/m/messages/Tweet/index.html +23 -23
- package/app/m/messages/TwitterAccount/index.html +23 -23
- package/app/m/messages/Whitelist/index.html +23 -23
- package/app/m/messages/ZulipAccount/index.html +23 -23
- package/app/m/places/Place/index.html +23 -23
- package/app/m/places/PlaceType/index.html +23 -23
- package/app/m/products/Category/index.html +23 -23
- package/app/m/products/Material/index.html +23 -23
- package/app/m/products/Product/index.html +23 -23
- package/app/m/products/Product/ingredients/index.html +24 -24
- package/app/m/products/ProductVariant/index.html +23 -23
- package/app/m/products/Sku/index.html +23 -23
- package/app/m/profiles/ApiKey/index.html +23 -23
- package/app/m/profiles/Bot/index.html +23 -23
- package/app/m/profiles/MagicLinkToken/index.html +23 -23
- package/app/m/profiles/NostrIdentity/index.html +23 -23
- package/app/m/profiles/OidcIdentity/index.html +23 -23
- package/app/m/profiles/Organization/index.html +23 -23
- package/app/m/profiles/Person/index.html +23 -23
- package/app/m/profiles/Profile/index.html +23 -23
- package/app/m/profiles/ProfileMetadata/index.html +23 -23
- package/app/m/profiles/ProfileMetafield/index.html +23 -23
- package/app/m/profiles/ProfileRelationship/index.html +23 -23
- package/app/m/profiles/ProfileRelationshipTerm/index.html +23 -23
- package/app/m/profiles/ProfileRelationshipType/index.html +23 -23
- package/app/m/profiles/ProfileType/index.html +23 -23
- package/app/m/projects/Comment/index.html +23 -23
- package/app/m/projects/Issue/index.html +23 -23
- package/app/m/projects/Label/index.html +23 -23
- package/app/m/projects/Project/index.html +23 -23
- package/app/m/projects/ProjectIntegration/index.html +23 -23
- package/app/m/projects/PullRequest/index.html +23 -23
- package/app/m/projects/Repository/index.html +23 -23
- package/app/m/properties/Property/index.html +23 -23
- package/app/m/properties/Zone/index.html +23 -23
- package/app/m/reports/RuntimeReport/index.html +23 -23
- package/app/m/reports/SmrtPrincipalReportRefreshTask/index.html +23 -23
- package/app/m/reports/SmrtReportLock/index.html +23 -23
- package/app/m/reports/SmrtReportRefreshTask/index.html +23 -23
- package/app/m/reports/SmrtReportRun/index.html +23 -23
- package/app/m/reports/SmrtReportSchedule/index.html +23 -23
- package/app/m/reports/SmrtReportWatermark/index.html +23 -23
- package/app/m/sales/Agreement/index.html +23 -23
- package/app/m/sales/AttributionException/index.html +23 -23
- package/app/m/sales/AttributionPolicy/index.html +23 -23
- package/app/m/sales/Commission/index.html +23 -23
- package/app/m/sales/CommissionAdjustment/index.html +23 -23
- package/app/m/sales/CommissionPayout/index.html +23 -23
- package/app/m/sales/CommissionPlan/index.html +23 -23
- package/app/m/sales/Earner/index.html +23 -23
- package/app/m/sales/EarnerSourceAttribution/index.html +23 -23
- package/app/m/sales/EarningEvent/index.html +23 -23
- package/app/m/sales/ExecutedAgreement/index.html +23 -23
- package/app/m/sales/Lead/index.html +23 -23
- package/app/m/sales/Opportunity/index.html +23 -23
- package/app/m/sales/OpportunityConversion/index.html +23 -23
- package/app/m/sales/PipelineDefinition/index.html +23 -23
- package/app/m/sales/PipelineStage/index.html +23 -23
- package/app/m/sales/Referral/index.html +23 -23
- package/app/m/sales/ReferralAgreement/index.html +23 -23
- package/app/m/sales/ReferralLink/index.html +23 -23
- package/app/m/sales/ReferralProgram/index.html +23 -23
- package/app/m/sales/ReferralTermSnapshot/index.html +23 -23
- package/app/m/sales/ReferralTouch/index.html +23 -23
- package/app/m/sales/Referrer/index.html +23 -23
- package/app/m/sales/SalesActivity/index.html +23 -23
- package/app/m/sales/SalesRepresentative/index.html +23 -23
- package/app/m/sites/Site/index.html +23 -23
- package/app/m/sites/SiteAgentBinding/index.html +23 -23
- package/app/m/social/OAuthState/index.html +23 -23
- package/app/m/social/SocialAccount/index.html +23 -23
- package/app/m/social/SocialPost/index.html +23 -23
- package/app/m/social/SocialPostAnalyticsSnapshot/index.html +23 -23
- package/app/m/subscriptions/BillingAdjustment/index.html +23 -23
- package/app/m/subscriptions/ClientCharge/index.html +23 -23
- package/app/m/subscriptions/CreditGrant/index.html +23 -23
- package/app/m/subscriptions/PricingRule/index.html +23 -23
- package/app/m/subscriptions/RetailCharge/index.html +23 -23
- package/app/m/subscriptions/SpendingPolicy/index.html +23 -23
- package/app/m/subscriptions/SubscriptionPlan/index.html +23 -23
- package/app/m/subscriptions/TenantSubscription/index.html +23 -23
- package/app/m/subscriptions/TenantUsageMetric/index.html +23 -23
- package/app/m/support/ServiceTimeEntry/index.html +23 -23
- package/app/m/support/SupportAiRun/index.html +23 -23
- package/app/m/support/SupportAvailability/index.html +23 -23
- package/app/m/support/SupportCase/index.html +23 -23
- package/app/m/support/SupportCaseEvent/index.html +23 -23
- package/app/m/support/SupportChannelBinding/index.html +23 -23
- package/app/m/support/SupportCharge/index.html +23 -23
- package/app/m/support/SupportCompensation/index.html +23 -23
- package/app/m/support/SupportCompensationPlan/index.html +23 -23
- package/app/m/support/SupportEscalation/index.html +23 -23
- package/app/m/support/SupportInteraction/index.html +23 -23
- package/app/m/support/SupportPlan/index.html +23 -23
- package/app/m/support/SupportPolicy/index.html +23 -23
- package/app/m/support/SupportQualification/index.html +23 -23
- package/app/m/support/SupportServiceTarget/index.html +23 -23
- package/app/m/support/SupportSpecialist/index.html +23 -23
- package/app/m/support/SupportWorkLink/index.html +23 -23
- package/app/m/tags/Tag/index.html +23 -23
- package/app/m/tags/TagAlias/index.html +23 -23
- package/app/m/timesheets/AttendanceBreak/index.html +23 -23
- package/app/m/timesheets/AttendancePunch/index.html +23 -23
- package/app/m/timesheets/AttendanceSegment/index.html +23 -23
- package/app/m/timesheets/ServiceChargeSnapshot/index.html +23 -23
- package/app/m/timesheets/ServiceCompensationSnapshot/index.html +23 -23
- package/app/m/timesheets/ServiceTimeEntry/index.html +23 -23
- package/app/m/users/Group/index.html +23 -23
- package/app/m/users/GroupMember/index.html +23 -23
- package/app/m/users/GroupRole/index.html +23 -23
- package/app/m/users/Membership/index.html +23 -23
- package/app/m/users/MembershipOverride/index.html +23 -23
- package/app/m/users/Permission/index.html +23 -23
- package/app/m/users/Role/index.html +23 -23
- package/app/m/users/RolePermission/index.html +23 -23
- package/app/m/users/Session/index.html +23 -23
- package/app/m/users/Tenant/index.html +23 -23
- package/app/m/users/TenantIntegration/index.html +23 -23
- package/app/m/users/TenantPermissionOverride/index.html +23 -23
- package/app/m/users/User/index.html +23 -23
- package/app/m/video/Character/index.html +23 -23
- package/app/m/video/CharacterAsset/index.html +23 -23
- package/app/m/video/CompositeJob/index.html +23 -23
- package/app/m/video/Performer/index.html +23 -23
- package/app/m/video/PerformerAsset/index.html +23 -23
- package/app/m/video/Scene/index.html +23 -23
- package/app/m/video/SceneAsset/index.html +23 -23
- package/app/m/video/VideoComposition/index.html +23 -23
- package/app/m/video/VideoCompositionAsset/index.html +23 -23
- package/app/m/video/VideoSequence/index.html +23 -23
- package/app/m/video/VideoSequenceAsset/index.html +23 -23
- package/app/m/video/VideoShot/index.html +23 -23
- package/app/m/video/VideoShotAsset/index.html +23 -23
- package/app/m/video/VideoShotCharacter/index.html +23 -23
- package/app/m/video/VideoWorkflow/index.html +23 -23
- package/app/m/voice/VoiceOutput/index.html +23 -23
- package/app/m/voice/VoiceProfile/index.html +23 -23
- package/app/m/voice/VoiceSample/index.html +23 -23
- package/app/mcp.html +2 -2
- package/app/packages/ads/index.html +22 -22
- package/app/packages/analytics/index.html +22 -22
- package/app/packages/approvals/index.html +22 -22
- package/app/packages/assets/index.html +22 -22
- package/app/packages/chat/index.html +22 -22
- package/app/packages/comments/index.html +22 -22
- package/app/packages/commerce/index.html +22 -22
- package/app/packages/content/index.html +22 -22
- package/app/packages/events/index.html +22 -22
- package/app/packages/expenses/index.html +22 -22
- package/app/packages/facts/index.html +22 -22
- package/app/packages/fields/index.html +22 -22
- package/app/packages/human-resources/index.html +22 -22
- package/app/packages/images/index.html +22 -22
- package/app/packages/index.html +21 -21
- package/app/packages/ingestion/index.html +22 -22
- package/app/packages/inventory/index.html +22 -22
- package/app/packages/ledgers/index.html +22 -22
- package/app/packages/manufacturing/index.html +22 -22
- package/app/packages/marketing/index.html +22 -22
- package/app/packages/messages/index.html +22 -22
- package/app/packages/places/index.html +22 -22
- package/app/packages/preferences/index.html +22 -22
- package/app/packages/products/index.html +22 -22
- package/app/packages/profiles/index.html +22 -22
- package/app/packages/projects/index.html +22 -22
- package/app/packages/properties/index.html +22 -22
- package/app/packages/reports/index.html +22 -22
- package/app/packages/sales/index.html +22 -22
- package/app/packages/sites/index.html +22 -22
- package/app/packages/social/index.html +22 -22
- package/app/packages/subscriptions/index.html +22 -22
- package/app/packages/support/index.html +22 -22
- package/app/packages/tags/index.html +22 -22
- package/app/packages/timesheets/index.html +22 -22
- package/app/packages/users/index.html +22 -22
- package/app/packages/video/index.html +22 -22
- package/app/packages/voice/index.html +22 -22
- package/app/packages/webhooks/index.html +22 -22
- package/app/recipes/account-access/help/index.html +22 -22
- package/app/recipes/account-access/index.html +24 -24
- package/app/recipes/activity/help/index.html +22 -22
- package/app/recipes/activity/index.html +24 -24
- package/app/recipes/agreements/help/index.html +22 -22
- package/app/recipes/agreements/index.html +24 -24
- package/app/recipes/analytics.reports/help/index.html +22 -22
- package/app/recipes/analytics.reports/index.html +24 -24
- package/app/recipes/assets/help/index.html +22 -22
- package/app/recipes/assets/index.html +24 -24
- package/app/recipes/billing/help/index.html +22 -22
- package/app/recipes/billing/index.html +24 -24
- package/app/recipes/chat.assistant/help/index.html +22 -22
- package/app/recipes/chat.assistant/index.html +24 -24
- package/app/recipes/comments/help/index.html +22 -22
- package/app/recipes/comments/index.html +24 -24
- package/app/recipes/commerce.customers/help/index.html +22 -22
- package/app/recipes/commerce.customers/index.html +24 -24
- package/app/recipes/commerce.estimates/help/index.html +22 -22
- package/app/recipes/commerce.estimates/index.html +24 -24
- package/app/recipes/commerce.purchases/help/index.html +22 -22
- package/app/recipes/commerce.purchases/index.html +24 -24
- package/app/recipes/commerce.sales/help/index.html +22 -22
- package/app/recipes/commerce.sales/index.html +24 -24
- package/app/recipes/commerce.vendors/help/index.html +22 -22
- package/app/recipes/commerce.vendors/index.html +24 -24
- package/app/recipes/commerce.wholesale/help/index.html +22 -22
- package/app/recipes/commerce.wholesale/index.html +24 -24
- package/app/recipes/events.calendar/help/index.html +22 -22
- package/app/recipes/events.calendar/index.html +24 -24
- package/app/recipes/expenses.tracking/help/index.html +22 -22
- package/app/recipes/expenses.tracking/index.html +24 -24
- package/app/recipes/fields.form-customization/help/index.html +22 -22
- package/app/recipes/fields.form-customization/index.html +24 -24
- package/app/recipes/ingestion/help/index.html +22 -22
- package/app/recipes/ingestion/index.html +24 -24
- package/app/recipes/integrations/help/index.html +22 -22
- package/app/recipes/integrations/index.html +24 -24
- package/app/recipes/inventory.stock/help/index.html +22 -22
- package/app/recipes/inventory.stock/index.html +24 -24
- package/app/recipes/ledgers.bookkeeping/help/index.html +22 -22
- package/app/recipes/ledgers.bookkeeping/index.html +24 -24
- package/app/recipes/messages/help/index.html +22 -22
- package/app/recipes/messages/index.html +24 -24
- package/app/recipes/products/help/index.html +22 -22
- package/app/recipes/products/index.html +24 -24
- package/app/recipes/projects.tracker/help/index.html +22 -22
- package/app/recipes/projects.tracker/index.html +24 -24
- package/app/recipes/reports.materialized/help/index.html +22 -22
- package/app/recipes/reports.materialized/index.html +24 -24
- package/app/recipes/reports.runtime/help/index.html +22 -22
- package/app/recipes/reports.runtime/index.html +24 -24
- package/app/recipes/sales.pipeline/help/index.html +22 -22
- package/app/recipes/sales.pipeline/index.html +24 -24
- package/app/recipes/tags.taxonomy/help/index.html +22 -22
- package/app/recipes/tags.taxonomy/index.html +24 -24
- package/app/recipes/team-collaboration/help/index.html +22 -22
- package/app/recipes/team-collaboration/index.html +24 -24
- package/app/recipes/timesheets.time-entries/help/index.html +22 -22
- package/app/recipes/timesheets.time-entries/index.html +24 -24
- package/app/s/custom-accounts/index.html +20 -20
- package/app/s/custom-appointments/index.html +20 -20
- package/app/s/custom-billing/index.html +20 -20
- package/app/s/custom-buying/index.html +20 -20
- package/app/s/custom-checkout/index.html +20 -20
- package/app/s/custom-classes/index.html +20 -20
- package/app/s/custom-clients/index.html +20 -20
- package/app/s/custom-events/index.html +20 -20
- package/app/s/custom-fleet/index.html +20 -20
- package/app/s/custom-giving/index.html +20 -20
- package/app/s/custom-jobs/index.html +20 -20
- package/app/s/custom-kitchen/index.html +20 -20
- package/app/s/custom-material/index.html +20 -20
- package/app/s/custom-meetings/index.html +20 -20
- package/app/s/custom-members/index.html +20 -20
- package/app/s/custom-paint/index.html +20 -20
- package/app/s/custom-parts/index.html +20 -20
- package/app/s/custom-rentals/index.html +20 -20
- package/app/s/custom-roastery/index.html +20 -20
- package/app/s/custom-schedule/index.html +20 -20
- package/app/s/custom-shelf/index.html +20 -20
- package/app/s/custom-shop/index.html +20 -20
- package/app/s/custom-wholesale/index.html +20 -20
- package/app/s/custom-work/index.html +20 -20
- package/app/s/custom-yard/index.html +20 -20
- package/app/s/section-access-control/index.html +20 -20
- package/app/s/section-account-security/index.html +20 -20
- package/app/s/section-accounting/index.html +20 -20
- package/app/s/section-activity/index.html +20 -20
- package/app/s/section-agreements/index.html +20 -20
- package/app/s/section-analytics/index.html +20 -20
- package/app/s/section-assets/index.html +20 -20
- package/app/s/section-billing/index.html +20 -20
- package/app/s/section-calendar/index.html +20 -20
- package/app/s/section-catalog/index.html +20 -20
- package/app/s/section-chat.assistant/index.html +20 -20
- package/app/s/section-comments/index.html +20 -20
- package/app/s/section-fields.form-customization/index.html +20 -20
- package/app/s/section-ingestion/index.html +20 -20
- package/app/s/section-integrations/index.html +20 -20
- package/app/s/section-messages/index.html +20 -20
- package/app/s/section-more/index.html +20 -20
- package/app/s/section-operations/index.html +20 -20
- package/app/s/section-projects/index.html +20 -20
- package/app/s/section-purchasing/index.html +20 -20
- package/app/s/section-reports.materialized/index.html +20 -20
- package/app/s/section-reports.runtime/index.html +20 -20
- package/app/s/section-sales/index.html +20 -20
- package/app/s/section-taxonomy/index.html +20 -20
- package/app/s/section-team/index.html +20 -20
- package/app/s/section-work/index.html +20 -20
- package/dist/catalog/catalog.json +50 -38
- package/dist/smrt-version.d.ts +1 -1
- package/dist/smrt-version.js +1 -1
- package/package.json +56 -56
- package/app/_app/immutable/chunks/Bc_SIIIS.js +0 -1
- package/app/_app/immutable/chunks/Burj9UYU.js +0 -1
- package/app/_app/immutable/chunks/C7z2g6fG.js +0 -1
- package/app/_app/immutable/entry/start.DnB4rZdO.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Dt as e,G as t,H as n,Ot as r,U as i,ht as a,mt as o,pt as s,st as c}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{t as l}from"../chunks/
|
|
1
|
+
import{Dt as e,G as t,H as n,Ot as r,U as i,ht as a,mt as o,pt as s,st as c}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{t as l}from"../chunks/BiEOJeYb.js";var u=t(`<h1> </h1> <p> </p>`,1);function d(t,d){r(d,!0);var f=u(),p=s(f),m=o(p,!0),h=a(p,2),g=o(h,!0);c(()=>{n(m,l.status),n(g,l.error?.message)}),i(t,f),e()}export{d as component};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{$ as e,A as t,B as n,Ct as r,Dt as i,E as a,Ft as o,G as s,H as c,J as l,L as u,M as d,Ot as f,Pt as p,U as m,X as h,Y as g,_,at as v,bt as y,ft as b,ht as x,mt as S,p as C,pt as w,st as T,ut as E,v as D,vt as O}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{a as k,ht as ee,lt as A,mt as j,p as M,t as N,ut as P}from"../chunks/
|
|
1
|
+
import{$ as e,A as t,B as n,Ct as r,Dt as i,E as a,Ft as o,G as s,H as c,J as l,L as u,M as d,Ot as f,Pt as p,U as m,X as h,Y as g,_,at as v,bt as y,ft as b,ht as x,mt as S,p as C,pt as w,st as T,ut as E,v as D,vt as O}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{a as k,ht as ee,lt as A,mt as j,p as M,t as N,ut as P}from"../chunks/BG9Gz_25.js";import{p as F}from"../chunks/9pRTae44.js";import{i as I}from"../chunks/gMSmS-_y.js";import{t as L}from"../chunks/BDbFl7UA.js";var R=s(`<p class="svelte-disfw2">Nothing selected yet. Choose a package below.</p>`),z=s(`<li><a class="svelte-disfw2"> </a></li>`),B=s(`<ul class="chips svelte-disfw2"></ul> <button type="button" class="secondary svelte-disfw2">Clear selection</button>`,1),te=s(`<p class="meta svelte-disfw2"> </p>`),ne=s(`<li><h3 class="svelte-disfw2"><a> </a></h3> <p class="description svelte-disfw2"> </p> <p class="meta svelte-disfw2"><!></p> <!> <!></li>`),re=s(`<li class="none svelte-disfw2"> </li>`),ie=s(`<main class="svelte-disfw2"><header class="svelte-disfw2"><p class="meta svelte-disfw2"><a>Planner</a> / All packages</p> <h1 class="svelte-disfw2">All packages</h1> <p class="svelte-disfw2">The whole catalog, a package at a time. Recipes on the Planner page are
|
|
2
2
|
the smaller way in: they add one section of an app, not every model in a
|
|
3
3
|
package. Your picks live in the URL, so you can share the mock-up.</p></header> <section aria-label="Your selection" class="selection svelte-disfw2"><h2 class="svelte-disfw2">Your app</h2> <!> <p class="notice svelte-disfw2" role="status" aria-live="polite"> </p></section> <section aria-label="Package catalog"><h2 class="svelte-disfw2">Packages <small class="svelte-disfw2"> </small></h2> <label class="search svelte-disfw2"><span class="visually-hidden svelte-disfw2">Search packages</span> <input type="search" placeholder="Search packages, models and fields" class="svelte-disfw2"/></label> <ul class="cards svelte-disfw2"></ul></section></main>`);function V(s,g){f(g,!0);let V=y(``),H=y(``),U=r(()=>j(A.packages,e(V)));function ae(e){let t=new Set(k.ids),n=t.has(e);k.toggle(e);let r=k.ids.filter(n=>!t.has(n)&&n!==e);O(H,n?`Removed ${M(e)}.`:r.length?`Added ${M(e)} and the packages it needs: ${r.map(M).join(`, `)}.`:`Added ${M(e)}.`,!0)}var W=ie();t(`disfw2`,e=>{v(()=>{E.title=`All packages · smrt planner`})});var G=b(W),K=b(G),oe=b(K);p(),o(K),p(4),o(G);var q=x(G,2),J=x(b(q),2),se=e=>{var t=R();m(e,t)},ce=e=>{var t=B(),n=w(t);u(n,20,()=>k.ids,e=>e,(e,t)=>{var n=z(),r=b(n),i=S(r,!0);o(n),T((e,t)=>{D(r,`href`,e),c(i,t)},[()=>N(`/packages/${t}/`),()=>M(t)]),m(e,n)}),o(n);var r=x(n,2);h(`click`,r,()=>k.clear()),m(e,t)};n(J,e=>{k.ids.length===0?e(se):e(ce,-1)});var le=x(J,2),ue=S(le,!0);o(q);var Y=x(q,2),X=b(Y),de=x(b(X)),fe=S(de);o(X);var Z=x(X,2),Q=x(b(Z),2);_(Q),o(Z);var $=x(Z,2);u($,29,()=>e(U),e=>e.id,(t,i)=>{let s=r(()=>k.has(e(i).id)),u=r(()=>k.requiredBy(e(i).id));var f=ne();let p;var h=b(f),g=b(h),_=S(g,!0);o(h);var v=x(h,2),y=S(v,!0),C=x(v,2),w=b(C),E=t=>{var n=l();T((e,t)=>c(n,`${e??``} models · ${t??``} generated surfaces`),[()=>P(e(i)).length,()=>ee(e(i))]),m(t,n)},O=r(()=>P(e(i)).length),A=t=>{var n=l();T(()=>c(n,`${e(i).models.length??``} internal models · closed: no generated surfaces`)),m(t,n)};n(w,t=>{e(O)?t(E):t(A,-1)}),o(C);var j=x(C,2),R=t=>{var n=te(),r=S(n);T(e=>c(r,`Needs: ${e??``}`),[()=>e(i).dependencies.map(M).join(`, `)]),m(t,n)};n(j,t=>{e(i).dependencies.length&&t(R)});var z=x(j,2);{let t=r(()=>e(s)&&e(u).length>0),n=r(()=>`Include ${M(e(i).id)} in my app`),a=r(()=>e(s)&&e(u).length>0?`In your app (needed by ${e(u).map(M).join(`, `)})`:e(s)?`In your app`:`Add to my app`);I(z,{get checked(){return e(s)},get disabled(){return e(t)},onchange:()=>ae(e(i).id),get"aria-label"(){return e(n)},get label(){return e(a)}})}o(f),T((t,n)=>{p=a(f,1,`svelte-disfw2`,null,p,{selected:e(s)}),D(g,`href`,t),c(_,n),c(y,e(i).description)},[()=>N(`/packages/${e(i).id}/`),()=>M(e(i).id)]),d(f,()=>F,()=>({duration:L(`medium2`,300)})),m(t,f)},t=>{var n=re(),r=S(n);T(()=>c(r,`No packages match "${e(V)??``}".`)),m(t,n)}),o($),o(Y),o(W),T(t=>{D(oe,`href`,t),c(ue,e(H)),c(fe,`${e(U).length??``} of ${A.packages.length??``}`)},[()=>N(`/`)]),C(Q,()=>e(V),e=>O(V,e)),m(s,W),i()}g([`click`]);export{V as component};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"../chunks/COiEfhsA.js";import{$ as t,A as n,B as r,Ct as i,Dt as a,Ft as o,G as s,H as c,J as l,L as u,Ot as d,U as f,W as p,ft as m,ht as h,it as g,mt as _,pt as v,st as y,ut as b,v as x}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{lt as S,p as C,pt as w,t as T,ut as E}from"../chunks/
|
|
1
|
+
import{n as e}from"../chunks/COiEfhsA.js";import{$ as t,A as n,B as r,Ct as i,Dt as a,Ft as o,G as s,H as c,J as l,L as u,Ot as d,U as f,W as p,ft as m,ht as h,it as g,mt as _,pt as v,st as y,ut as b,v as x}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{lt as S,p as C,pt as w,t as T,ut as E}from"../chunks/BG9Gz_25.js";import{t as D}from"../chunks/DRByVC-c.js";import{t as O}from"../chunks/DjJovMrk.js";var k=e({entries:()=>A,load:()=>j}),A=()=>S.packages.map(e=>({id:e.id})),j=({params:e})=>(w(e.id)||D(404,`Unknown package ${e.id}`),{id:e.id}),M=s(`<!><a> </a>`,1),N=s(`<p class="meta svelte-1md22of">Needs: <!></p>`),P=s(`<li><a> </a> <span class="meta svelte-1md22of"> </span></li>`),F=s(`<main class="svelte-1md22of"><header class="svelte-1md22of"><h1 class="svelte-1md22of"> </h1> <p class="meta svelte-1md22of"><code> </code></p> <p class="svelte-1md22of"> </p> <!></header> <section class="svelte-1md22of"><h2 class="svelte-1md22of">Models</h2> <ul class="svelte-1md22of"></ul></section> <!></main>`),I=s(`<a>Back to the Planner</a>`),L=s(`<main class="svelte-1md22of"><h1 class="svelte-1md22of">Unknown package</h1> <p class="svelte-1md22of">No package is called <code> </code>.<!></p></main>`);function R(e,n){d(n,!0);let s=i(()=>w(n.id));var g=p(),b=v(g),S=e=>{var n=F(),i=m(n),a=m(i),d=_(a,!0),p=h(a,2),g=m(p),b=_(g);o(p);var S=h(p,2),w=_(S,!0),D=h(S,2),k=e=>{var n=N(),i=h(m(n));u(i,18,()=>t(s).dependencies,e=>e,(e,n,i)=>{var a=M(),o=v(a),s=e=>{var t=l(`,`);f(e,t)};r(o,e=>{t(i)>0&&e(s)});var u=h(o),d=_(u,!0);y((e,t)=>{x(u,`href`,e),c(d,t)},[()=>T(`/packages/${n}/`),()=>C(n)]),f(e,a)}),o(n),f(e,n)};r(D,e=>{t(s).dependencies.length&&e(k)}),o(i);var A=h(i,2),j=h(m(A),2);u(j,21,()=>E(t(s)),e=>e.id,(e,n)=>{var r=P(),i=m(r),a=_(i,!0),l=h(i,2),u=_(l);o(r),y((e,r)=>{x(i,`href`,e),c(a,t(n).name),c(u,`${r??``} fields`)},[()=>T(`/m/${t(s).id}/${t(n).name}/`),()=>t(n).fields.filter(e=>!e.system).length]),f(e,r)}),o(j),o(A);var I=h(A,2);O(I,{get models(){return t(s).models}}),o(n),y(e=>{c(d,e),c(b,`${t(s).packageName??``}@${t(s).version??``}`),c(w,t(s).description)},[()=>C(t(s).id)]),f(e,n)},D=e=>{var t=L(),i=h(m(t),2),a=h(m(i)),s=_(a,!0),l=h(a,2),u=e=>{var t=I();y(()=>x(t,`href`,n.backHref)),f(e,t)};r(l,e=>{n.backHref&&e(u)}),o(i),o(t),y(()=>c(s,n.id)),f(e,t)};r(b,e=>{t(s)?e(S):e(D,-1)}),f(e,g),a()}function z(e,t){d(t,!0),n(`88mplm`,e=>{g(e=>{b.title=`${e??``} · smrt planner`},[()=>C(t.data.id)])}),R(e,{get id(){return t.data.id}}),a()}export{z as component,k as universal};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as e}from"../chunks/COiEfhsA.js";import{$ as t,A as n,B as r,Ct as i,Dt as a,E as o,Ft as s,G as c,H as l,J as u,L as d,Ot as f,Pt as p,U as m,W as h,X as g,Y as _,Z as v,a as y,bt as b,ft as x,gt as S,ht as C,it as w,j as T,mt as E,pt as D,st as O,ut as k,v as A,vt as j}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{p as ee,t as M}from"../chunks/
|
|
1
|
+
import{n as e}from"../chunks/COiEfhsA.js";import{$ as t,A as n,B as r,Ct as i,Dt as a,E as o,Ft as s,G as c,H as l,J as u,L as d,Ot as f,Pt as p,U as m,W as h,X as g,Y as _,Z as v,a as y,bt as b,ft as x,gt as S,ht as C,it as w,j as T,mt as E,pt as D,st as O,ut as k,v as A,vt as j}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{p as ee,t as M}from"../chunks/BG9Gz_25.js";import{t as N}from"../chunks/M-CuJzQN.js";import{i as P}from"../chunks/gMSmS-_y.js";import{A as te,C as F,D as I,E as ne,H as L,O as re,S as R,T as ie,_ as ae,f as z,g as B,k as V,p as H,t as U,v as W,w as G,y as K}from"../chunks/CtjBwCj8.js";import{t as q}from"../chunks/C1VofLtR.js";import{t as J}from"../chunks/DRByVC-c.js";import{n as Y}from"../chunks/YGONf0jr.js";var X=e({entries:()=>Z,load:()=>Q}),Z=()=>R.map(e=>({id:e.id})),Q=({params:e})=>(H(e.id)||J(404,`Unknown recipe section ${e.id}`),{id:e.id}),oe=c(`<fieldset class="field svelte-nbkntr"><legend><code> </code> <span class="type svelte-nbkntr"> </span></legend> <!> <div class="controls svelte-nbkntr"><label class="svelte-nbkntr"><span>Label</span> <!></label> <label class="svelte-nbkntr"><span>Help text</span> <!></label> <fieldset class="default svelte-nbkntr"><!></fieldset> <label class="svelte-nbkntr"><span>Order</span> <!></label></div></fieldset>`),se=c(`<p class="hint svelte-nbkntr"> </p>`),ce=c(`<form class="options svelte-nbkntr"><!> <p class="hint svelte-nbkntr">Stored in the <code> </code> table. Switch fields on or
|
|
2
2
|
off and set their label, help, default and order. Saved as field policies.</p> <fieldset class="svelte-nbkntr"><legend>Exposure (can only be narrowed)</legend> <div class="surfaces svelte-nbkntr"></div></fieldset> <!> <!> <div class="actions svelte-nbkntr"><button type="submit" class="svelte-nbkntr">Save options</button> <button type="button" class="secondary svelte-nbkntr">Reset to recipe defaults</button></div> <p class="status svelte-nbkntr" role="status" aria-live="polite"> </p></form>`);function le(e,n){f(n,!0);let c=y(n,`headingLevel`,3,3);function _(){return ie(n.model,n.hints,U.rows,U.narrowed[n.model.id]??[])}let w=b(S(_())),k=b(``),ee=i(()=>ne(n.model,n.hints)),M=i(()=>V(n.model,n.hints)),L=i(()=>Object.entries(n.hints?.fields??{}).filter(([,e])=>e.visibility===`hidden`).map(([e])=>e));function R(e){e.preventDefault(),U.save(n.model.id,te(n.model,n.hints,t(w)),re(n.model,n.hints,t(w))),j(k,`Options saved. The views below use them.`)}function ae(){U.reset(n.model.id),j(w,_(),!0),j(k,`Options reset to the recipe defaults.`)}function z(e,n){let r=Number(n);n.trim()!==``&&Number.isFinite(r)&&(t(w).fields[e].order=r)}var B=ce(),H=x(B);T(H,()=>`h${Math.min(c(),6)}`,!1,(e,t)=>{o(e,0,`svelte-nbkntr`);var r=u();O(()=>l(r,`${n.model.name??``} options`)),m(t,r)});var W=C(H,2),K=C(x(W)),q=E(K,!0);p(),s(W);var J=C(W,2),X=C(x(J),2);d(X,20,()=>F,e=>e,(e,r)=>{{let a=i(()=>`Expose ${n.model.name} over ${G[r]}${t(M)[r].available?``:` (none declared)`}`);P(e,{get checked(){return t(w).exposure[r]},get disabled(){return t(M)[r].locked},onchange:e=>t(w).exposure[r]=e.currentTarget.checked,get label(){return t(a)}})}}),s(X),s(J);var Z=C(J,2);d(Z,17,()=>t(ee),e=>e.field.name,(e,a)=>{let o=i(()=>t(a).field.name),c=i(()=>I(t(a))),u=i(()=>t(a).locked);var d=h(),f=D(d),p=e=>{var r=oe(),d=x(r),f=x(d),p=E(f,!0),h=C(f,2),g=E(h,!0);s(d);var _=C(d,2);{let e=i(()=>`Use field ${t(o)}${t(a).required?` (required)`:t(u)?` (locked)`:``}`);P(_,{get checked(){return t(w).fields[t(o)].use},get disabled(){return t(c)},onchange:e=>t(w).fields[t(o)].use=e.currentTarget.checked,get label(){return t(e)}})}var v=C(_,2),y=x(v),b=C(x(y),2);{let e=i(()=>`Label for ${t(o)}`);N(b,{get disabled(){return t(u)},get"aria-label"(){return t(e)},get value(){return t(w).fields[t(o)].label},set value(e){t(w).fields[t(o)].label=e}})}s(y);var S=C(y,2),T=C(x(S),2);{let e=i(()=>`Help text for ${t(o)}`);N(T,{get disabled(){return t(u)},get"aria-label"(){return t(e)},get value(){return t(w).fields[t(o)].help},set value(e){t(w).fields[t(o)].help=e}})}s(S);var D=C(S,2),k=x(D);{let e=i(()=>({...t(a).field,required:!1})),r=i(()=>`Default value for ${t(o)}`),s=i(()=>`default-${n.model.name}`);Y(k,{get field(){return t(e)},get modelId(){return n.model.id},creatable:!1,get label(){return t(r)},get idPrefix(){return t(s)},get value(){return t(w).fields[t(o)].default},onchange:e=>{t(w).fields[t(o)].default=e}})}s(D);var A=C(D,2),j=C(x(A),2);{let e=i(()=>`Order of ${t(o)}`);N(j,{type:`number`,get value(){return t(w).fields[t(o)].order},get disabled(){return t(u)},oninput:e=>z(t(o),e.currentTarget.value),get"aria-label"(){return t(e)}})}s(A),s(v),s(r),O(()=>{l(p,t(o)),l(g,t(a).field.type),D.disabled=t(u)}),m(e,r)};r(f,e=>{t(w).fields[t(o)]&&e(p)}),m(e,d)});var Q=C(Z,2),le=e=>{var n=se(),r=E(n);O(e=>l(r,`Hidden by the recipe: ${e??``}.`),[()=>t(L).join(`, `)]),m(e,n)};r(Q,e=>{t(L).length&&e(le)});var $=C(Q,2),ue=C(x($),2);s($);var de=C($,2),fe=E(de,!0);s(B),O(()=>{A(B,`aria-label`,`Options for ${n.model.name}`),l(q,n.model.collection),l(fe,t(k))}),v(`submit`,B,R),g(`click`,ue,ae),m(e,B),a()}_([`click`]);var $=c(`<h2 class="svelte-1e5i8ao"> </h2>`),ue=c(`<!><a> </a>`,1),de=c(`<p class="meta svelte-1e5i8ao">Needs: <!></p>`),fe=c(`<a> </a>`),pe=c(`<li><!> <span class="meta svelte-1e5i8ao"> </span></li>`),me=c(`<div class="options svelte-1e5i8ao"><!> <p class="meta svelte-1e5i8ao"> </p> <!></div>`),he=c(`<p class="meta svelte-1e5i8ao">Add this recipe to set its options.</p>`),ge=c(`<section class="recipe svelte-1e5i8ao"><header class="svelte-1e5i8ao"><!> <p class="svelte-1e5i8ao"> </p> <p class="meta svelte-1e5i8ao"><code> </code> </p> <!> <div class="actions"><button type="button"> </button></div></header> <div class="adds svelte-1e5i8ao"><!> <ul class="svelte-1e5i8ao"></ul></div> <!></section>`);function _e(e,n){f(n,!0);let c=y(n,`titled`,3,!1),p=i(()=>c()?`h3`:`h2`),h=i(()=>U.has(n.recipe.id)),_=i(()=>U.requiredBy(n.recipe.id)),v=i(()=>ae(n.recipe)),b=e=>z(e)?.label??e,S=e=>{let t=z(e);return M(`/recipes/${t?L(t):e}/`)};var w=ge(),k=x(w),j=x(k),N=e=>{var t=$(),r=E(t,!0);O(()=>l(r,n.recipe.label)),m(e,t)};r(j,e=>{c()&&e(N)});var P=C(j,2),te=E(P,!0),F=C(P,2),I=x(F),ne=E(I,!0),re=C(I);s(F);var R=C(F,2),ie=e=>{var i=de(),a=C(x(i));d(a,18,()=>n.recipe.requires,e=>e,(e,n,i)=>{var a=ue(),o=D(a),s=e=>{var t=u(`,`);m(e,t)};r(o,e=>{t(i)>0&&e(s)});var c=C(o),d=E(c,!0);O((e,t)=>{A(c,`href`,e),l(d,t)},[()=>S(n),()=>b(n)]),m(e,a)}),s(i),m(e,i)};r(R,e=>{n.recipe.requires.length&&e(ie)});var V=C(R,2),H=x(V);let G;var q=E(H,!0);s(V),s(k);var J=C(k,2),Y=x(J);T(Y,()=>t(p),!1,(e,t)=>{o(e,0,`svelte-1e5i8ao`);var n=u(`What it adds`);m(t,n)});var X=C(Y,2);d(X,21,()=>W(n.recipe),e=>e.model.id,(e,n)=>{var i=pe(),a=x(i),o=e=>{var r=fe(),i=E(r,!0);O(e=>{A(r,`href`,e),l(i,t(n).label)},[()=>M(B(t(n)))]),m(e,r)},c=e=>{var r=u();O(()=>l(r,t(n).label)),m(e,r)};r(a,e=>{t(h)?e(o):e(c,-1)});var d=C(a,2),f=E(d);s(i),O(()=>l(f,`list, create, edit and delete views for ${t(n).model.name??``}`)),m(e,i)}),s(X),s(J);var Z=C(J,2),Q=e=>{var r=me(),a=x(r);T(a,()=>t(p),!1,(e,t)=>{o(e,0,`svelte-1e5i8ao`);var n=u(`Options`);m(t,n)});var f=C(a,2),h=E(f),g=C(f,2);d(g,17,()=>t(v),({model:e})=>e.id,(e,r)=>{let a=()=>t(r).model;{let r=i(()=>n.recipe.options?.[a().id]),o=i(()=>c()?4:3);le(e,{get model(){return a()},get hints(){return t(r)},get headingLevel(){return t(o)}})}}),s(r),O(()=>l(h,`Generated from the parameters ${n.recipe.label??``}'s models declare. Saving
|
|
3
3
|
writes field policies, held in memory for now.`)),m(e,r)},oe=e=>{var t=he();m(e,t)};r(Z,e=>{t(h)?e(Q):e(oe,-1)}),s(w),O((e,r)=>{A(w,`aria-label`,n.recipe.label),l(te,n.recipe.summary),l(ne,n.recipe.id),l(re,` · from
|
|
4
4
|
${e??``}`),H.disabled=t(_).length>0,G=o(H,1,`svelte-1e5i8ao`,null,G,{secondary:t(h)}),l(q,r)},[()=>K(n.recipe)?ee(K(n.recipe)?.id??``):`unknown package`,()=>t(_).length?`Remove ${n.recipe.label} (needed by ${t(_).map(b).join(`, `)})`:t(h)?`Remove ${n.recipe.label} from my app`:`Add ${n.recipe.label} to my app`]),g(`click`,H,()=>t(h)?U.remove(n.recipe.id):U.add(n.recipe.id)),m(e,w),a()}_([`click`]);var ve=c(`<main class="svelte-1r2e3yg"><header class="svelte-1r2e3yg"><div class="bar svelte-1r2e3yg"><p class="meta svelte-1r2e3yg"><a>Planner</a> </p> <!></div> <h1 class="svelte-1r2e3yg"> </h1></header> <!></main>`);function ye(e,o){f(o,!0);let c=i(()=>H(o.data.id));var u=h();n(`1r2e3yg`,e=>{w(()=>{k.title=`${t(c)?.label??o.data.id??``} options · smrt planner`})});var p=D(u),g=e=>{var n=ve(),r=x(n),a=x(r),o=x(a),u=x(o),f=C(u);s(o);var p=C(o,2);q(p,{get section(){return t(c).id},get label(){return t(c).label},current:`options`}),s(a);var h=C(a,2),g=E(h);s(r);var _=C(r,2);d(_,17,()=>t(c).recipes,e=>e.id,(e,n)=>{{let r=i(()=>t(c).recipes.length>1);_e(e,{get recipe(){return t(n)},get titled(){return t(r)}})}}),s(n),O(e=>{A(u,`href`,e),l(f,` / ${t(c).label??``} options`),l(g,`${t(c).label??``} options`)},[()=>M(`/`)]),m(e,n)};r(p,e=>{t(c)&&e(g)}),m(e,u),a()}export{ye as component,X as universal};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"../chunks/COiEfhsA.js";import{$ as t,A as n,B as r,Ct as i,Dt as a,E as o,Ft as s,G as c,H as l,J as u,L as d,Lt as f,Ot as p,Pt as m,R as h,U as g,W as _,a as v,ft as y,ht as b,it as x,j as S,mt as C,pt as w,st as T,ut as E,v as D}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{t as O}from"../chunks/
|
|
1
|
+
import{n as e}from"../chunks/COiEfhsA.js";import{$ as t,A as n,B as r,Ct as i,Dt as a,E as o,Ft as s,G as c,H as l,J as u,L as d,Lt as f,Ot as p,Pt as m,R as h,U as g,W as _,a as v,ft as y,ht as b,it as x,j as S,mt as C,pt as w,st as T,ut as E,v as D}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{t as O}from"../chunks/BG9Gz_25.js";import{S as k,_ as A,h as j,p as M,t as N}from"../chunks/CtjBwCj8.js";import{t as P}from"../chunks/C1VofLtR.js";import{t as F}from"../chunks/DRByVC-c.js";import{t as I}from"../chunks/JBD5vUbP.js";import{t as L}from"../chunks/DjJovMrk.js";var R=e({entries:()=>z,load:()=>B}),z=()=>k.map(e=>({id:e.id})),B=({params:e})=>(M(e.id)||F(404,`Unknown recipe section ${e.id}`),{id:e.id}),V=(e,n=f)=>{var i=_(),a=w(i);d(a,17,n,h,(e,n)=>{var i=_(),a=w(i),o=e=>{var r=H();V(y(r),()=>t(n).children),s(r),g(e,r)},c=e=>{var r=U();V(y(r),()=>t(n).children),s(r),g(e,r)},d=e=>{var r=W(),i=C(r,!0);T(()=>l(i,t(n).text)),g(e,r)},f=e=>{var r=u();T(()=>l(r,t(n).text)),g(e,r)};r(a,e=>{t(n).type===`strong`?e(o):t(n).type===`em`?e(c,1):t(n).type===`code`?e(d,2):t(n).type===`text`&&e(f,3)}),g(e,i)}),g(e,i)},H=c(`<strong><!></strong>`),U=c(`<em><!></em>`),W=c(`<code> </code>`),G=c(`<p class="svelte-cw30hy"><!></p>`),K=c(`<li><!></li>`),q=c(`<ol class="svelte-cw30hy"></ol>`),J=c(`<ul class="svelte-cw30hy"></ul>`),Y=c(`<dt class="svelte-cw30hy"> </dt> <dd class="svelte-cw30hy"> </dd>`,1),X=c(`<section class="svelte-cw30hy"><!> <dl class="svelte-cw30hy"></dl></section>`),Z=c(`<section aria-label="Fields" class="svelte-cw30hy"><!> <!></section>`),Q=c(`<article class="help svelte-cw30hy"><!> <!></article>`);function $(e,n){p(n,!0);let c=v(n,`idPrefix`,3,``),f=v(n,`startLevel`,3,2),m=e=>Math.min(f()+e,6),x=i(()=>[...new Set(n.glossary.map(e=>e.model))].map(e=>({model:e,entries:n.glossary.filter(t=>t.model===e)})));var E=Q(),O=y(E);d(O,17,()=>n.blocks,h,(e,n)=>{var i=_(),a=w(i),c=e=>{var r=_(),i=w(r);S(i,()=>`h${m(t(n).level-2)}`,!1,(e,r)=>{o(e,0,`svelte-cw30hy`),V(r,()=>t(n).inlines)}),g(e,r)},l=e=>{var r=G();V(y(r),()=>t(n).inlines),s(r),g(e,r)},u=e=>{var r=q();d(r,21,()=>t(n).items,h,(e,n)=>{var r=K();V(y(r),()=>t(n).inlines),s(r),g(e,r)}),s(r),g(e,r)},f=e=>{var r=J();d(r,21,()=>t(n).items,h,(e,n)=>{var r=K();V(y(r),()=>t(n).inlines),s(r),g(e,r)}),s(r),g(e,r)};r(a,e=>{t(n).type===`heading`?e(c):t(n).type===`paragraph`?e(l,1):t(n).ordered?e(u,2):e(f,-1)}),g(e,i)});var k=b(O,2),A=e=>{var n=Z(),i=y(n);S(i,()=>`h${m(0)}`,!1,(e,t)=>{o(e,0,`svelte-cw30hy`);var n=u(`Fields`);g(t,n)});var a=b(i,2);d(a,17,()=>t(x),e=>e.model,(e,n)=>{var i=X(),a=y(i),f=e=>{var r=_(),i=w(r);S(i,()=>`h${m(1)}`,!1,(e,r)=>{o(e,0,`svelte-cw30hy`);var i=u();T(()=>l(i,t(n).model)),g(r,i)}),g(e,r)};r(a,e=>{t(x).length>1&&e(f)});var p=b(a,2);d(p,21,()=>t(n).entries,e=>e.name,(e,n)=>{var r=Y(),i=w(r),a=C(i,!0),o=b(i,2),s=C(o,!0);T(()=>{l(a,t(n).label),l(s,t(n).text)}),g(e,r)}),s(p),s(i),T(()=>{D(i,`id`,`${c()}fields-${t(n).model}`),D(i,`aria-label`,`${t(n).model} fields`)}),g(e,i)}),s(n),g(e,n)};r(k,e=>{t(x).length&&e(A)}),s(E),g(e,E),a()}var ee=c(`<h2 class="svelte-1o06wj"> </h2> <p class="meta svelte-1o06wj"> </p>`,1),te=c(`<p class="svelte-1o06wj"> </p>`),ne=c(`<section class="svelte-1o06wj"><!> <!></section>`);function re(e,n){p(n,!0);let o=v(n,`titled`,3,!1),c=i(()=>j(n.recipe,N.rows)),u=i(()=>n.recipe.help?I(n.recipe.help,t(c)):void 0);var d=ne(),f=y(d),m=e=>{var t=ee(),r=w(t),i=C(r,!0),a=b(r,2),o=C(a,!0);T(()=>{D(r,`id`,`help-${n.recipe.id}`),l(i,n.recipe.label),l(o,n.recipe.summary)}),g(e,t)};r(f,e=>{o()&&e(m)});var h=b(f,2),_=e=>{{let r=i(()=>`${n.recipe.id}-`),a=i(()=>o()?3:2);$(e,{get blocks(){return t(u).blocks},get glossary(){return t(u).glossary},get idPrefix(){return t(r)},get startLevel(){return t(a)}})}},x=e=>{var t=te(),r=C(t);T(()=>l(r,`There is no help for ${n.recipe.label??``} yet.`)),g(e,t)};r(h,e=>{t(u)?e(_):e(x,-1)}),s(d),T(()=>D(d,`aria-label`,n.recipe.label)),g(e,d),a()}var ie=c(`<main class="svelte-1nuwlgo"><header class="svelte-1nuwlgo"><div class="bar svelte-1nuwlgo"><p class="meta svelte-1nuwlgo"><a>Planner</a> / <a> </a> / Help</p> <!></div> <h1 class="svelte-1nuwlgo"> </h1></header> <!> <!></main>`);function ae(e,o){p(o,!0);let c=i(()=>M(o.data.id)),u=i(()=>{let e=new Set;return(t(c)?.recipes??[]).flatMap(t=>A(t).flatMap(({model:t})=>e.has(t.id)?[]:(e.add(t.id),[N.apply(t).model])))});var f=_();n(`1nuwlgo`,e=>{x(()=>{E.title=`${t(c)?.label??o.data.id??``} help · smrt planner`})});var h=w(f),v=e=>{var n=ie(),r=y(n),a=y(r),o=y(a),f=y(o),p=b(f,2),h=C(p,!0);m(),s(o);var _=b(o,2);P(_,{get section(){return t(c).id},get label(){return t(c).label},current:`help`}),s(a);var v=b(a,2),x=C(v);s(r);var S=b(r,2);d(S,17,()=>t(c).recipes,e=>e.id,(e,n)=>{{let r=i(()=>t(c).recipes.length>1);re(e,{get recipe(){return t(n)},get titled(){return t(r)}})}});var w=b(S,2);L(w,{get models(){return t(u)}}),s(n),T((e,n)=>{D(f,`href`,e),D(p,`href`,n),l(h,t(c).label),l(x,`${t(c).label??``} help`)},[()=>O(`/`),()=>O(`/recipes/${t(c).id}/`)]),g(e,n)};r(h,e=>{t(c)&&e(v)}),g(e,f),a()}export{ae as component,R as universal};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"../chunks/COiEfhsA.js";import{$ as t,A as n,B as r,Ct as i,Dt as a,F as o,Ft as s,G as c,H as l,J as u,Lt as d,Ot as f,U as p,W as m,X as h,Y as g,a as _,bt as v,ct as y,ft as b,gt as ee,ht as x,it as S,mt as C,n as w,nt as T,pt as E,st as D,ut as O,v as k,vt as te,z as ne}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{_ as A,dt as j,g as M,p as N,t as P,v as re}from"../chunks/
|
|
1
|
+
import{n as e}from"../chunks/COiEfhsA.js";import{$ as t,A as n,B as r,Ct as i,Dt as a,F as o,Ft as s,G as c,H as l,J as u,Lt as d,Ot as f,U as p,W as m,X as h,Y as g,a as _,bt as v,ct as y,ft as b,gt as ee,ht as x,it as S,mt as C,n as w,nt as T,pt as E,st as D,ut as O,v as k,vt as te,z as ne}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{_ as A,dt as j,g as M,p as N,t as P,v as re}from"../chunks/BG9Gz_25.js";import{d as F}from"../chunks/Bsn3IIve.js";import"../chunks/DuZeZzOA.js";import{s as I,u as L}from"../chunks/9pRTae44.js";import{t as R}from"../chunks/BiEOJeYb.js";import{O as z,P as B,k as V}from"../chunks/CyUSxz1P.js";import{A as ie,C as H,S as ae,b as oe,n as U,x as W}from"../chunks/O8DAZ_le.js";import{B as G,H as K,N as se,R as q,_ as ce,b as J,g as Y,j as X,t as Z,v as Q,x as le}from"../chunks/CtjBwCj8.js";import{n as ue}from"../chunks/nphy1MQF.js";import{r as de}from"../chunks/D_U_DYjx.js";import{t as fe}from"../chunks/C1VofLtR.js";import{t as pe}from"../chunks/Bal1oPZu.js";import{r as me,t as he}from"../chunks/CgAkqYsL.js";import{t as ge}from"../chunks/D71UrO5c.js";var _e=8e3,ve=262144,ye=class extends Error{};function be(e,t,n){let r=new AbortController,i=()=>r.abort();n?.addEventListener(`abort`,i,{once:!0}),n?.aborted&&r.abort();let a,o=new Promise((e,n)=>{a=setTimeout(()=>{r.abort(),n(new ye(`widget load timed out`))},t)});return Promise.race([Promise.resolve().then(()=>e(r.signal)),o]).finally(()=>{a!==void 0&&clearTimeout(a),n?.removeEventListener(`abort`,i)})}function xe(e,t){if(e===void 0)return!0;try{let n=JSON.stringify(e);return n!==void 0&&n.length<=t}catch{return!1}}async function Se(e,t,n,r,i={}){let a=B(e,{registry:n,definition:t}),o=i.timeoutMs??_e,s=i.maxDataLength??ve,c=await Promise.all(a.document.widgets.map(async e=>{let a=n.get(e.type),c={...e,status:`ready`};if(!a?.load)return c;let l=t=>({...e,status:`error`,error:{code:t}});try{let n=await be(n=>a.load?.(e.options,{...r,overviewId:t.id,signal:n}),o,r.signal);return xe(n,s)?n===void 0?c:{...c,data:n}:l(`invalid_data`)}catch(t){return i.onError?.({id:e.id,type:e.type},t),l(t instanceof ye?`timeout`:`load_failed`)}}));return{overviewId:t.id,widgets:c,issues:a.issues}}var Ce=e({entries:()=>we,load:()=>Te}),we=()=>{let e=[...q(J).map(e=>`section:${e.id}`),`section:${X.id}`,...ue.flatMap(e=>(e.document.layout?.customSections??[]).map(e=>e.id))];return[...new Set(e)].map(e=>({section:me(e)}))},Te=({params:e})=>({sectionId:he(e.section)});function Ee(e,t){let n=e.flatMap(e=>Q(e)),r=new Map;for(let e of n){let t=G(e.packageId,e.model.name,e.key);if(r.has(t))continue;let i=H(e.model.id,e.key,n);r.set(t,{id:t,model:e.model,path:Y(e),...e.noun?{noun:e.noun}:{},...i?{scope:i}:{}})}for(let e of se(t)){if(r.has(e.id))continue;let t=j(e.packageId,e.modelName);t&&r.set(e.id,{id:e.id,model:t,path:Y({packageId:e.packageId,model:t})})}return r}function De(e,t){let n=new Set(e),r=[];for(let e of t){let t=Q(e).some(e=>n.has(G(e.packageId,e.model.name,e.key))),i=K(e);t&&!r.some(e=>e.id===i)&&r.push({id:i,label:e.group?.label??e.label})}return r}var Oe=new Map(q(J).map(e=>[e.id,e])),ke=new Map(ue.flatMap(e=>Object.entries(e.sectionDescriptions??{})));function Ae(e){if(e===`section:${X.id}`)return{icon:X.icon,description:X.description};if(e.startsWith(`section:`)){let t=Oe.get(e.slice(8));if(!t)return{};let n=t.recipes.find(e=>e.group?.summary)?.group?.summary;return{icon:t.icon,description:t.description??n}}let t=ke.get(e);return t?{description:t}:{}}function je(e,t=`Planner`){return e?.trim()||t}function Me(e,t){let n=new Set,r=[],i=(e,t)=>{n.has(e)||(n.add(e),r.push({value:e,label:A(N(t))}))};for(let t of e)for(let{model:e}of ce(t))i(e.id,e.name);for(let e of t.values())i(e.model.id,e.model.name);return r}var Ne=c(`<p class="svelte-2penap"> </p>`),Pe=c(`<header class="section-heading svelte-2penap"><span class="mark svelte-2penap"><!></span> <div class="heading svelte-2penap"><h1 class="svelte-2penap"> </h1> <!></div> <!></header>`);function Fe(e,t){var n=Pe(),i=b(n),a=b(i);I(a,{get name(){return t.icon},size:28}),s(i);var c=x(i,2),u=b(c),f=C(u,!0),m=x(u,2),h=e=>{var n=Ne(),r=C(n,!0);D(()=>l(r,t.description)),p(e,n)};r(m,e=>{t.description&&e(h)}),s(c);var g=x(c,2);o(g,()=>t.actions??d),s(n),D(()=>l(f,t.title)),p(e,n)}async function Ie(e,t,n,r){let i=(await Se({widgets:[n]},e,W,{...t,signal:r,locale:`en-US`})).widgets[0];if(!i||i.status===`error`)throw Error(i?.error?.code??`load_failed`);return i.data}function Le(e,t,n){let r=e.id;return V({definition:e,registry:W,override:()=>t.overview(r),onchange:e=>t.setOverview(r,e),...n?{loadWidget:(t,r)=>Ie(e,n(),t,r)}:{}})}var Re=(e,t=d,n=d)=>{var r=ze(),i=C(r,!0);D(()=>l(i,n())),p(e,r)},ze=c(`<span class="section-heading svelte-1qn3h3g"> </span>`);function Be(e,t){f(t,!0);let n=_(t,`presentation`,3,`plain`),r=_(t,`href`,3,P),i=L(),o=de(),s=Le(T(()=>t.definition),U,()=>({source:o,sections:i.sections,entryIndex:t.entries,href:r()}));function c(){for(let e of s.document.widgets)s.reload(e.id)}let l=!0;y(()=>{JSON.stringify(i.sections),t.entries,l?l=!1:T(c)}),y(()=>o.onReset?.(()=>c())),w(()=>s.destroy()),z(e,{get controller(){return s},get models(){return t.models},get label(){return t.label},get presentation(){return n()},get heading(){return Re}}),a()}var Ve=c(`<section class="entries svelte-1jqhb2e" aria-labelledby="section-entries"><h2 id="section-entries" class="svelte-1jqhb2e">Menu entries</h2> <!></section>`),$=c(`<!> <!>`,1),He=c(`<h1>Section not found</h1> <p>This section is not in your app. <a>Back to the Planner</a></p>`,1),Ue=c(`<main class="section-view svelte-1jqhb2e"><!></main>`);function We(e,n){f(n,!0);let c=(e,n=d)=>{var a=m(),o=E(a),s=e=>{var r=u();D(e=>l(r,e),[()=>re(t(B).get(n().id)??0)]),p(e,r)},c=i(()=>t(B).has(n().id));r(o,e=>{t(c)&&e(s)}),p(e,a)},h=_(n,`href`,3,P),g=L(),S=de(),C=ie(),w=i(()=>g.sections.find(e=>e.id===n.sectionId)),T=i(()=>C?.shell.sections.find(e=>e.id===n.sectionId)),O=i(()=>je(t(w)?.heading||t(T)?.label)),A=i(()=>t(w)?.icon??t(T)?.icon??`folder`),j=i(()=>Ae(n.sectionId).description??t(T)?.description),M=i(()=>t(w)?.items.map(e=>e.id)??[]),N=i(()=>Z.ids.flatMap(e=>{let t=le.get(e);return t?[t]:[]})),I=i(()=>Ee(t(N),Z.features)),R=i(()=>oe(n.sectionId)),z=i(()=>Me(t(N),t(I))),B=v(ee(new Map)),V=0;async function H(){let e=++V,n=new Map;await Promise.all(t(M).map(async e=>{let r=t(I).get(e);if(!r)return;let i=await S.list(r.model);n.set(e,i.filter(e=>ae(r.scope,e)).length)})),e===V&&te(B,n,!0)}y(()=>{t(M),t(I),H()}),y(()=>S.onReset?.(()=>void H()));var W=m(),G=E(W),K=e=>{var a=Ue(),l=b(a),u=e=>{var a=$(),l=E(a);Fe(l,{get icon(){return t(A)},get title(){return t(O)},get description(){return t(j)},actions:e=>{var r=m(),i=E(r);o(i,()=>n.headerActions??d,()=>({title:t(O),itemIds:t(M)})),p(e,r)},$$slots:{actions:!0}});var u=x(l,2),f=e=>{var a=$(),o=E(a);ne(o,()=>n.sectionId,e=>{{let n=i(()=>`${t(O)} overview`);Be(e,{get definition(){return t(R)},get entries(){return t(I)},get models(){return t(z)},get href(){return h()},get label(){return t(n)}})}});var l=x(o,2),u=e=>{var t=Ve(),r=x(b(t),2);F(r,{get sectionId(){return n.sectionId},get meta(){return c}}),s(t),p(e,t)};r(l,e=>{g.editing&&e(u)}),p(e,a)},_=e=>{F(e,{get sectionId(){return n.sectionId},layout:`cards`,get meta(){return c},get actions(){return n.menuActions}})};r(u,e=>{t(R)?e(f):e(_,-1)}),p(e,a)},f=e=>{var t=He(),n=x(E(t),2),r=x(b(n));s(n),D(e=>k(r,`href`,e),[()=>h()(`/`)]),p(e,t)};r(l,e=>{t(w)?e(u):e(f,-1)}),s(a),p(e,a)};r(G,e=>{U.loaded&&e(K)}),p(e,W),a()}var Ge=c(`<a class="new svelte-sp05yg"> </a>`);function Ke(e,o){f(o,!0);let s=(e,n)=>{let a=()=>(n?.()).title,o=()=>(n?.()).itemIds,s=i(()=>De(o(),t(_)));var c=m(),l=E(c),u=e=>{fe(e,{get section(){return t(s)[0].id},get label(){return t(s)[0].label}})},d=e=>{pe(e,{get label(){return a()},get groups(){return t(s)}})};r(l,e=>{t(s).length===1?e(u):t(s).length>1&&e(d,1)}),p(e,c)},c=(e,n=d)=>{let a=i(()=>y(n()));var o=m(),s=E(o),c=e=>{var r=Ge(),i=C(r);D(()=>{k(r,`href`,n().href),l(i,`New ${t(a)??``}`)}),h(`click`,r,()=>b(n())),p(e,r)};r(s,e=>{t(a)&&e(c)}),p(e,o)},u=L(),g=i(()=>je(u.sections.find(e=>e.id===o.sectionId)?.heading)),_=i(()=>Z.ids.flatMap(e=>{let t=le.get(e);return t?[t]:[]})),v=i(()=>Ee(t(_),Z.features)),y=e=>{let n=t(v).get(e.id);return n?M(e.label,n.noun):void 0};function b(e){ge(new URL(e.href,R.url).pathname)}n(`sp05yg`,e=>{S(()=>{O.title=`${t(g)??``} · smrt planner`})}),We(e,{get sectionId(){return o.sectionId},get headerActions(){return s},get menuActions(){return c}}),a()}g([`click`]);function qe(e,t){f(t,!0),Ke(e,{get sectionId(){return t.data.sectionId}}),a()}export{qe as component,Ce as universal};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import{$ as e,A as t,B as n,C as r,Ct as i,Dt as a,E as o,Ft as s,G as c,H as l,J as u,K as d,L as f,M as p,Mt as m,Ot as h,Pt as g,S as _,T as v,U as y,W as b,X as x,Y as S,Z as C,_ as w,a as T,b as E,bt as D,ct as O,d as k,dt as A,ft as j,gt as M,ht as N,it as P,lt as F,mt as I,nt as L,pt as R,r as z,st as B,tt as V,ut as ee,v as H,vt as U}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{i as te,o as W}from"../chunks/Bv5jGtB8.js";import{a as G}from"../chunks/YUSKx8_q.js";import{$ as ne,Q as re,bt as ie,et as ae,i as oe,lt as K,p as q,t as se,xt as ce,yt as le}from"../chunks/
|
|
1
|
+
import{$ as e,A as t,B as n,C as r,Ct as i,Dt as a,E as o,Ft as s,G as c,H as l,J as u,K as d,L as f,M as p,Mt as m,Ot as h,Pt as g,S as _,T as v,U as y,W as b,X as x,Y as S,Z as C,_ as w,a as T,b as E,bt as D,ct as O,d as k,dt as A,ft as j,gt as M,ht as N,it as P,lt as F,mt as I,nt as L,pt as R,r as z,st as B,tt as V,ut as ee,v as H,vt as U}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{i as te,o as W}from"../chunks/Bv5jGtB8.js";import{a as G}from"../chunks/YUSKx8_q.js";import{$ as ne,Q as re,bt as ie,et as ae,i as oe,lt as K,p as q,t as se,xt as ce,yt as le}from"../chunks/BG9Gz_25.js";import{n as ue}from"../chunks/DK8Blf1Y.js";import{a as de,m as fe,v as pe}from"../chunks/Bsn3IIve.js";import{t as me}from"../chunks/M-CuJzQN.js";import{t as he}from"../chunks/DuZeZzOA.js";import{p as ge,u as _e}from"../chunks/9pRTae44.js";import{f as ve,g as ye,o as be,p as xe}from"../chunks/Cga8zF3r.js";import{r as Se}from"../chunks/CUyVrfsu.js";import{_ as Ce,a as we,d as Te,i as Ee,n as De,t as Oe,v as J,y as Y}from"../chunks/gMSmS-_y.js";import{A as ke,L as Ae,M as X,N as je,a as Me,b as Ne,d as Pe,f as Fe,g as Ie,h as Le,i as Re,j as ze,m as Be,o as Ve,p as He,u as Ue,y as We}from"../chunks/Cr4byQts.js";import"../chunks/CyUSxz1P.js";import{_ as Ge,a as Ke,m as qe,n as Z,s as Je}from"../chunks/O8DAZ_le.js";import{F as Ye,I as Xe,L as Ze,M as Qe,P as $e,Q as et,R as tt,b as nt,d as rt,et as it,j as at,s as ot,t as Q,u as st,x as ct}from"../chunks/CtjBwCj8.js";import{n as lt,r as ut,t as dt}from"../chunks/nphy1MQF.js";import{n as ft,r as pt,t as mt}from"../chunks/D_U_DYjx.js";import{a as $,c as ht,d as gt,f as _t,l as vt,m as yt,o as bt,p as xt,r as St,s as Ct,t as wt,u as Tt}from"../chunks/NppCG--v.js";import{r as Et}from"../chunks/BMgzWMdF.js";import{t as Dt}from"../chunks/J9kOiFLO.js";import{n as Ot,s as kt,t as At}from"../chunks/5ukUzDcw.js";import{t as jt}from"../chunks/BDbFl7UA.js";var Mt={bread:[`M7 3h10a4 4 0 0 1 2.4 7.2L20 19a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2l.6-8.8A4 4 0 0 1 7 3z`,`M9 13l1 3`,`M14 13l1 3`],car:[`M5 17a2 2 0 1 0 4 0a2 2 0 1 0-4 0`,`M15 17a2 2 0 1 0 4 0a2 2 0 1 0-4 0`,`M5 17h-2v-6l2-5h9l4 5h1a2 2 0 0 1 2 2v4h-2m-4 0h-6m-6-6h15m-6 0v-5`],flame:[`M12 12c2-2.96 0-7-1-8 0 3.038-1.773 4.741-3 6-1.226 1.26-2 3.24-2 5a6 6 0 1 0 12 0c0-1.532-1.056-3.94-2-5-1.786 3-2.791 3-4 2z`],yoga:[`M11 4a1 1 0 1 0 2 0a1 1 0 1 0-2 0`,`M4 20h4l1.5-3`,`M17 20l-1-5h-5l1-7`,`M4 10l4-1l4-1l4 1.5l4 1.5`],leaf:[`M5 21c.5-4.5 2.5-8 7-10`,`M9 18c6.218 0 10.5-3.288 11-12v-2h-4.014c-9 0-11.986 4-12 9c0 1 0 3 2 5h3z`],scissors:[`M6 7m-3 0a3 3 0 1 0 6 0a3 3 0 1 0-6 0`,`M6 17m-3 0a3 3 0 1 0 6 0a3 3 0 1 0-6 0`,`M8.6 8.6l10.4 10.4`,`M8.6 15.4l10.4-10.4`],coffee:[`M3 14c.83.642 2.077 1.017 3.5 1c1.423.017 2.67-.358 3.5-1c.83-.642 2.077-1.017 3.5-1c1.423-.017 2.67.358 3.5 1`,`M8 3a2.4 2.4 0 0 0-1 2a2.4 2.4 0 0 0 1 2`,`M12 3a2.4 2.4 0 0 0-1 2a2.4 2.4 0 0 0 1 2`,`M3 10h14v5a6 6 0 0 1-6 6h-2a6 6 0 0 1-6-6v-5z`,`M16.746 16.726a3 3 0 1 0 .252-5.555`],forklift:[`M5 17m-2 0a2 2 0 1 0 4 0a2 2 0 1 0-4 0`,`M13 17m-2 0a2 2 0 1 0 4 0a2 2 0 1 0-4 0`,`M7 17h4`,`M3 17v-6h13v6`,`M5 11v-4h4`,`M9 11v-6h4l3 6`,`M22 15h-3v-10`,`M16 13h3`],heart:[`M19.5 12.572l-7.5 7.428l-7.5-7.428a5 5 0 1 1 7.5-6.566a5 5 0 1 1 7.5 6.572`],pencil:[`M4 20h4l10.5-10.5a2.828 2.828 0 1 0-4-4l-10.5 10.5v4`,`M13.5 6.5l4 4`],tool:[`M7 10h3v-3l-3.5-3.5a6 6 0 0 1 8 8l6 6a2 2 0 0 1-3 3l-6-6a6 6 0 0 1-8-8l3.5 3.5`],bolt:[`M13 3v7h6l-8 11v-7H5l8-11`],brush:[`M3 21v-4a4 4 0 1 1 4 4h-4`,`M21 3a16 16 0 0 0-12.8 10.2`,`M21 3a16 16 0 0 1-10.2 12.8`,`M10.6 9a9 9 0 0 1 4.4 4.4`],home:[`M5 12H3l9-9l9 9h-2`,`M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-7`,`M9 21v-6a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v6`]};G({"ui.audit.history":`Record history`,"ui.audit.list":`Audit trail`,"ui.audit.empty":`No audit entries.`,"ui.audit.loading":`Loading audit entries…`,"ui.audit.person":`Person ID`,"ui.audit.record":`Record ID`,"ui.audit.from":`From date`,"ui.audit.to":`To date`,"ui.audit.filter":`Apply filters`,"ui.audit.reason":`Reason: {reason}`,"ui.audit.behalf":`On behalf of {actor}`,"ui.audit.change":`{field}: {before} → {after}`}),G({"ui.notification_bell.label":`Notifications`,"ui.notification_bell.unread":`{count} unread`,"ui.notification_bell.mark_all":`Mark all read`,"ui.notification_bell.mark_one":`Mark read`,"ui.notification_bell.loading":`Loading notifications`,"ui.notification_bell.empty":`No notifications.`,"ui.notification_bell.unavailable":`Notifications are unavailable.`,"ui.notification_bell.mark_error":`Could not mark notifications read.`,"ui.notification_bell.live_error":`Live notifications are unavailable.`}),S([`keydown`]);var Nt=c(`<option>Per line</option> <option>Once per document</option>`,1),Pt=c(`<option></option>`),Ft=c(`<li class="svelte-1adyoey"><span class="name"> </span> <span class="rates svelte-1adyoey"> </span></li>`),It=c(`<div class="settings svelte-1adyoey"><div class="field svelte-1adyoey"><!> <!></div> <div class="percent svelte-1adyoey"><!> <span class="percent-sign svelte-1adyoey" aria-hidden="true">%</span></div> <div class="field svelte-1adyoey"><!> <!></div> <div class="field switch svelte-1adyoey"><!> <small class="svelte-1adyoey"> </small></div> <div class="field svelte-1adyoey"><!> <!> <datalist></datalist></div></div> <section class="tax-codes svelte-1adyoey"><h3 class="svelte-1adyoey">Tax codes</h3> <p class="meta svelte-1adyoey">New documents use <strong> </strong> </p> <ul class="svelte-1adyoey"></ul> <p class="meta svelte-1adyoey">The country codes are smrt’s examples; check they apply before using one.</p></section>`,1);function Lt(t,n){h(n,!0);let r=T(n,`idPrefix`,3,`app-settings`),o=[`Due on receipt`,`Net 15`,`Net 30`,`Net 60`,`50% deposit, balance on completion`],c=e=>n.onchange({...n.value,...e}),u=i(()=>ae(n.value.taxRate)),d=i(()=>[...ne,...re].filter(t=>t.id!==e(u).id)),p=e=>e.components.map(e=>e.name).join(` + `)||`No tax, reported as ${e.kind.replace(/-/g,` `)}`;var m=It(),_=R(m),v=j(_),b=j(v);Y(b,{get for(){return`${r()??``}-currency`},label:`Currency`});var x=N(b,2);Ce(x,{get id(){return`${r()??``}-currency`},get value(){return n.value.currency},onchange:e=>c({currency:e.currentTarget.value})}),s(v);var S=N(v,2),C=j(S);{let t=i(()=>At(n.value.taxRate));kt(C,{get name(){return`${r()??``}-tax-rate`},label:`Default tax rate`,min:0,step:.01,get value(){return e(t)},onchange:e=>c({taxRate:Ot(e)??0})})}g(2),s(S);var w=N(S,2),E=j(w);Y(E,{get for(){return`${r()??``}-rounding`},label:`Tax rounding`});var D=N(E,2);J(D,{get id(){return`${r()??``}-rounding`},get value(){return n.value.taxRounding},onchange:e=>c({taxRounding:e.currentTarget.value}),children:(e,t)=>{var n=Nt(),r=R(n);r.value=r.__value=`line`;var i=N(r,2);i.value=i.__value=`document`,y(e,n)},$$slots:{default:!0}}),s(w);var O=N(w,2),k=j(O);Ee(k,{get checked(){return n.value.pricesIncludeTax},onchange:e=>c({pricesIncludeTax:e.currentTarget.checked}),label:`Prices include tax`});var A=N(k,2),M=I(A,!0);s(O);var P=N(O,2),F=j(P);Y(F,{get for(){return`${r()??``}-terms`},label:`Default payment terms`});var L=N(F,2);me(L,{get id(){return`${r()??``}-terms`},type:`text`,get list(){return`${r()??``}-terms-options`},autocomplete:`off`,placeholder:`Not set`,get value(){return n.value.paymentTerms},oninput:e=>c({paymentTerms:e.currentTarget.value})});var z=N(L,2);f(z,20,()=>o,e=>e,(e,t)=>{var n=Pt(),r={};B(()=>{r!==(r=t)&&(n.value=(n.__value=r)??``)}),y(e,n)}),s(z),s(P),s(_);var V=N(_,2),ee=j(V),U=N(ee,2),te=N(j(U)),W=I(te,!0),G=N(te);s(U);var ie=N(U,2);f(ie,21,()=>e(d),e=>e.id,(t,n)=>{var r=Ft(),i=j(r),a=I(i,!0),o=N(i,2),c=I(o,!0);s(r),B(t=>{H(r,`data-tax-code`,e(n).code),l(a,e(n).name),l(c,t)},[()=>p(e(n))]),y(t,r)}),s(ie),g(2),s(V),B(t=>{l(M,n.value.pricesIncludeTax?`A line’s amount is what the customer pays; tax is part of it.`:`Tax is added on top of each line’s amount.`),H(z,`id`,`${r()??``}-terms-options`),H(V,`aria-labelledby`,`${r()??``}-tax-codes`),H(ee,`id`,`${r()??``}-tax-codes`),l(W,e(u).name),l(G,` (${t??``}),
|
|
2
2
|
from the default tax rate. A line can choose another code; an exempt
|
|
3
3
|
customer pays none.`)},[()=>p(e(u))]),y(t,m),a()}var Rt=d(`<path></path>`),zt=c(`<span class="badge svelte-mzas8k">In use</span>`),Bt=c(`<li><button type="button" class="card svelte-mzas8k"><span class="heading svelte-mzas8k"><svg class="icon svelte-mzas8k" viewBox="0 0 24 24" width="28" height="28" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"></svg> <span class="name svelte-mzas8k"> </span></span> <span class="summary svelte-mzas8k"> </span> <!></button></li>`),Vt=c(`<ul class="grid svelte-mzas8k" aria-label="Cookbooks"></ul>`),Ht=c(`<span aria-hidden="true">←</span> Back to cookbooks`,1),Ut=c(`<li class="svelte-mzas8k"> </li>`),Wt=c(`<li> </li>`),Gt=c(`<div><h4 class="svelte-mzas8k"> </h4> <ul class="svelte-mzas8k"></ul></div>`),Kt=c(`<section class="preview svelte-mzas8k" aria-labelledby="preview-heading"><div class="back svelte-mzas8k"><!></div> <h2 id="preview-heading" tabindex="-1" class="svelte-mzas8k"> </h2> <p class="summary svelte-mzas8k"> </p> <div class="block svelte-mzas8k"><h3 class="svelte-mzas8k">Recipes</h3> <ul class="chips svelte-mzas8k" aria-label="Recipes"></ul></div> <div class="block svelte-mzas8k"><h3 class="svelte-mzas8k">Menu</h3> <div class="menu svelte-mzas8k"></div></div> <div class="block svelte-mzas8k"><h3 class="svelte-mzas8k">Settings</h3> <!></div> <div class="actions svelte-mzas8k"><!> <span class="meta svelte-mzas8k">Replaces your current recipes, menu and sample records.</span></div></section>`),qt=c(`<div class="cookbooks svelte-mzas8k"><!> <p class="meta svelte-mzas8k">A cookbook is a ready-made starting point: the recipes, menu and settings a
|
|
4
4
|
kind of business usually needs. Pick one, look it over, then change
|
|
5
|
-
anything in the other tabs.</p> <div class="swap svelte-mzas8k"><!></div> <!></div> <!>`,1);function Jt(t,r){h(r,!0);let o=pt(),c=pe(),d=D(!1),p=D(``),_=D(``);z(()=>{je.load()});let v=i(()=>lt.find(e=>e.id===St.open)),b=D(null),S=D(null),C;O(()=>{let t=e(v)?.id??null,n=C===void 0,r=C!==t;C=t,!n&&r&&V().then(()=>{if(t){e(S)?.scrollIntoView({block:`nearest`}),e(S)?.focus({preventScroll:!0});return}let n=e(b)?.querySelector(`[data-cookbook="${St.returnTo??``}"]`);n?.scrollIntoView({block:`nearest`}),n?.focus({preventScroll:!0})})});function w(e){U(_,``),U(p,``),St.show(e.id)}function T(){St.back()}function E(t){t.key!==`Escape`||t.defaultPrevented||e(d)||(t.preventDefault(),T())}let A=D(M(ot(void 0)));O(()=>{U(A,ot(e(v)?.settings),!0)});let P=e=>je.active===e.id&&xt(e,{recipes:Q.ids,features:Q.features});function F(){e(v)&&(yt(Z)?U(d,!0):L())}function L(){if(U(d,!1),!e(v))return;let t=_t(e(v),Z,m(e(A)));if(t.ok){o.reset?.(),U(p,``);let t=gt(e(v).document).length;U(_,`${e(v).name} added ${t} menu sections. Explore them in the left sidebar.`),c?.setPanelState(`left`,`expanded`)}else U(p,t.error,!0),U(_,``)}var ee=qt(),G=R(ee),ne=j(G),re=t=>{W(t,{variant:`success`,title:`Cookbook applied`,children:(t,n)=>{g();var r=u();B(()=>l(r,e(_))),y(t,r)},$$slots:{default:!0}})};n(ne,t=>{e(_)&&t(re)});var ie=N(ne,4),ae=j(ie),oe=t=>{var r=Vt();f(r,21,()=>lt,e=>e.id,(t,r)=>{let a=i(()=>P(e(r)));var o=Bt(),c=j(o),u=j(c),d=j(u);f(d,20,()=>Mt[e(r).icon]??[],e=>e,(e,t)=>{var n=Rt();B(()=>H(n,`d`,t)),y(e,n)}),s(d);var p=N(d,2),m=I(p,!0);s(u);var h=N(u,2),g=I(h,!0),_=N(h,2),v=e=>{var t=zt();y(e,t)};n(_,t=>{e(a)&&t(v)}),s(c),s(o),B(()=>{H(c,`data-cookbook`,e(r).id),l(m,e(r).name),l(g,e(r).summary)}),x(`click`,c,()=>w(e(r))),y(t,o)}),s(r),k(r,e=>U(b,e),()=>e(b)),y(t,r)},K=t=>{let n=i(()=>gt(e(v).document));var r=Kt(),a=j(r),o=j(a);ue(o,{variant:`ghost`,onclick:T,children:(e,t)=>{var n=Ht();g(),y(e,n)},$$slots:{default:!0}}),s(a);var c=N(a,2),d=I(c,!0);k(c,e=>U(S,e),()=>e(S));var p=N(c,2),m=I(p,!0),h=N(p,2),_=N(j(h),2);f(_,20,()=>ut(e(v)),e=>e,(e,t)=>{var n=Ut(),r=I(n,!0);B(()=>l(r,t)),y(e,n)}),s(_),s(h);var b=N(h,2),C=N(j(b),2);f(C,21,()=>e(n),e=>e.id,(t,n)=>{var r=Gt(),i=j(r),a=I(i,!0),o=N(i,2);f(o,21,()=>e(n).entries,e=>e.id,(t,n)=>{var r=Wt(),i=I(r,!0);B(()=>l(i,e(n).label)),y(t,r)}),s(o),s(r),B(()=>l(a,e(n).label)),y(t,r)}),s(C),s(b);var w=N(b,2);Lt(N(j(w),2),{get value(){return e(A)},onchange:e=>U(A,e,!0),idPrefix:`cookbook-settings`}),s(w);var D=N(w,2),O=j(D);ue(O,{onclick:F,children:(e,t)=>{g();var n=u(`Use this cookbook`);y(e,n)},$$slots:{default:!0}}),g(2),s(D),s(r),B(()=>{H(r,`data-cookbook-detail`,e(v).id),l(d,e(v).name),l(m,e(v).summary)}),x(`keydown`,r,E),y(t,r)};n(ae,t=>{e(v)?t(K,-1):t(oe)}),s(ie);var q=N(ie,2),se=t=>{W(t,{variant:`error`,title:`Could not use this cookbook`,children:(t,n)=>{g();var r=u();B(()=>l(r,e(p))),y(t,r)},$$slots:{default:!0}})};n(q,t=>{e(p)&&t(se)}),s(G);var ce=N(G,2);{let t=i(()=>e(v)?`Use the ${e(v).name} cookbook?`:`Use this cookbook?`);te(ce,{get open(){return e(d)},get title(){return e(t)},message:`Replaces your current recipes, menu and sample records.`,confirmLabel:`Replace`,destructive:!0,onconfirm:L,oncancel:()=>U(d,!1)})}y(t,ee),a()}S([`click`,`keydown`]);var Yt=(e,t,n=`${t}s`)=>`${e} ${e===1?t:n}`,Xt=new Map(tt(nt).map(e=>[e.id,e.label]));function Zt(e){return q(e.slice(e.lastIndexOf(`:`)+1))}function Qt(e){let t=new Map;for(let n of e){let e=Zt(n.objectRef),r=t.get(e)??[],i=q(n.fieldName).toLowerCase();r.includes(i)||r.push(i),t.set(e,r)}return[...t].map(([e,t])=>`${e}: ${t.join(`, `)}`)}function $t(e){let t=[];e.custom?t.push(`brand colour ${e.custom.primary}`):e.preset&&e.preset!==`glass`&&t.push(`${xe(e.preset)?ve(e.preset):e.preset} preset`),e.colorScheme&&e.colorScheme!==`system`&&t.push(`${e.colorScheme} scheme`);let n=e.fontFamily??e.custom?.fontFamily;return n&&t.push(`${n} font`),e.borderRadius&&t.push(`${e.borderRadius} corners`),e.density===`touch`&&t.push(`touch density`),e.contrast&&e.contrast!==`auto`&&t.push(`${e.contrast} contrast`),e.customCss?.trim()&&t.push(`custom CSS`),t}function en(e){let t=[],n=e.customSections??[];if(n.length){let e=n.map(e=>e.label).filter(Boolean);t.push(`${Yt(n.length,`custom section`)}${e.length&&e.length<=4?` (${e.join(`, `)})`:``}`)}let r=e.hidden?.length??0;r&&t.push(`${r} hidden`);let i=Object.values(e.items??{}).filter(e=>e.label).length+Object.values(e.sections??{}).filter(e=>e.label||e.icon||e.showTitle===!1).length;i&&t.push(`${i} renamed or restyled`);let a=Object.keys(e.moved??{}).length;a&&t.push(`${a} moved`),(e.sectionOrder?.length||Object.keys(e.itemOrder??{}).length)&&t.push(`reordered`);let o=Object.keys(e.placements??{}).length;return o&&t.push(`${Yt(o,`shell item`)} placed`),Object.keys(e.panels??{}).length&&t.push(`panel settings`),t}function tn(e,t){if(e===`section:${at.id}`)return at.label;if(e.startsWith(`section:`)){let n=e.slice(8);return t?.sections?.[e]?.label??Xt.get(n)??q(n)}if(e.startsWith(`custom:`))return t?.customSections?.find(t=>t.id===e)?.label??q(e.slice(7));if(e.startsWith(`detail:`)){let t=e.slice(e.lastIndexOf(`.`)+1);return`${q(t)} record`}return q(e)}function nn(e){let t=[];e.recipes.length&&t.push({id:`recipes`,label:Yt(e.recipes.length,`recipe`),chips:e.recipes.map(e=>ct.get(e)?.label??e)}),e.features.length&&t.push({id:`features`,label:Yt(e.features.length,`feature`),chips:e.features.map(Zt)}),e.policies.length&&t.push({id:`options`,label:Yt(e.policies.length,`saved option`),chips:Qt(e.policies)});let n=Object.entries(e.exposure??{}).filter(([,e])=>e.length);n.length&&t.push({id:`exposure`,label:`Surfaces switched off`,chips:n.map(([e,t])=>`${Zt(e)}: ${t.join(`, `)}`)});let r=e.theme?$t(e.theme):[];r.length&&t.push({id:`theme`,label:`Theme`,text:r.join(`, `)});let i=e.layout?en(e.layout):[];i.length&&t.push({id:`layout`,label:`Layout`,text:i.join(`, `)});let a=Object.keys(e.overviews??{});return a.length&&t.push({id:`pages`,label:Yt(a.length,`customised page`),chips:a.map(t=>tn(t,e.layout))}),t}function rn(e){let t=nn(e);if(!t.length)return`an empty cookbook`;let n=t.map(e=>e.id===`theme`?`a theme`:e.id===`layout`?`a layout`:e.id===`exposure`?`narrowed surfaces`:e.label);return n.length===1?n[0]:`${n.slice(0,-1).join(`, `)} and ${n.at(-1)}`}var an=`0.57.
|
|
6
|
-
`)),r=t;for(let e=1;n.has(r);e++)r=`${t}_${e}`;return r}function mn(e,t={}){let n=t.version??`0.57.
|
|
5
|
+
anything in the other tabs.</p> <div class="swap svelte-mzas8k"><!></div> <!></div> <!>`,1);function Jt(t,r){h(r,!0);let o=pt(),c=pe(),d=D(!1),p=D(``),_=D(``);z(()=>{je.load()});let v=i(()=>lt.find(e=>e.id===St.open)),b=D(null),S=D(null),C;O(()=>{let t=e(v)?.id??null,n=C===void 0,r=C!==t;C=t,!n&&r&&V().then(()=>{if(t){e(S)?.scrollIntoView({block:`nearest`}),e(S)?.focus({preventScroll:!0});return}let n=e(b)?.querySelector(`[data-cookbook="${St.returnTo??``}"]`);n?.scrollIntoView({block:`nearest`}),n?.focus({preventScroll:!0})})});function w(e){U(_,``),U(p,``),St.show(e.id)}function T(){St.back()}function E(t){t.key!==`Escape`||t.defaultPrevented||e(d)||(t.preventDefault(),T())}let A=D(M(ot(void 0)));O(()=>{U(A,ot(e(v)?.settings),!0)});let P=e=>je.active===e.id&&xt(e,{recipes:Q.ids,features:Q.features});function F(){e(v)&&(yt(Z)?U(d,!0):L())}function L(){if(U(d,!1),!e(v))return;let t=_t(e(v),Z,m(e(A)));if(t.ok){o.reset?.(),U(p,``);let t=gt(e(v).document).length;U(_,`${e(v).name} added ${t} menu sections. Explore them in the left sidebar.`),c?.setPanelState(`left`,`expanded`)}else U(p,t.error,!0),U(_,``)}var ee=qt(),G=R(ee),ne=j(G),re=t=>{W(t,{variant:`success`,title:`Cookbook applied`,children:(t,n)=>{g();var r=u();B(()=>l(r,e(_))),y(t,r)},$$slots:{default:!0}})};n(ne,t=>{e(_)&&t(re)});var ie=N(ne,4),ae=j(ie),oe=t=>{var r=Vt();f(r,21,()=>lt,e=>e.id,(t,r)=>{let a=i(()=>P(e(r)));var o=Bt(),c=j(o),u=j(c),d=j(u);f(d,20,()=>Mt[e(r).icon]??[],e=>e,(e,t)=>{var n=Rt();B(()=>H(n,`d`,t)),y(e,n)}),s(d);var p=N(d,2),m=I(p,!0);s(u);var h=N(u,2),g=I(h,!0),_=N(h,2),v=e=>{var t=zt();y(e,t)};n(_,t=>{e(a)&&t(v)}),s(c),s(o),B(()=>{H(c,`data-cookbook`,e(r).id),l(m,e(r).name),l(g,e(r).summary)}),x(`click`,c,()=>w(e(r))),y(t,o)}),s(r),k(r,e=>U(b,e),()=>e(b)),y(t,r)},K=t=>{let n=i(()=>gt(e(v).document));var r=Kt(),a=j(r),o=j(a);ue(o,{variant:`ghost`,onclick:T,children:(e,t)=>{var n=Ht();g(),y(e,n)},$$slots:{default:!0}}),s(a);var c=N(a,2),d=I(c,!0);k(c,e=>U(S,e),()=>e(S));var p=N(c,2),m=I(p,!0),h=N(p,2),_=N(j(h),2);f(_,20,()=>ut(e(v)),e=>e,(e,t)=>{var n=Ut(),r=I(n,!0);B(()=>l(r,t)),y(e,n)}),s(_),s(h);var b=N(h,2),C=N(j(b),2);f(C,21,()=>e(n),e=>e.id,(t,n)=>{var r=Gt(),i=j(r),a=I(i,!0),o=N(i,2);f(o,21,()=>e(n).entries,e=>e.id,(t,n)=>{var r=Wt(),i=I(r,!0);B(()=>l(i,e(n).label)),y(t,r)}),s(o),s(r),B(()=>l(a,e(n).label)),y(t,r)}),s(C),s(b);var w=N(b,2);Lt(N(j(w),2),{get value(){return e(A)},onchange:e=>U(A,e,!0),idPrefix:`cookbook-settings`}),s(w);var D=N(w,2),O=j(D);ue(O,{onclick:F,children:(e,t)=>{g();var n=u(`Use this cookbook`);y(e,n)},$$slots:{default:!0}}),g(2),s(D),s(r),B(()=>{H(r,`data-cookbook-detail`,e(v).id),l(d,e(v).name),l(m,e(v).summary)}),x(`keydown`,r,E),y(t,r)};n(ae,t=>{e(v)?t(K,-1):t(oe)}),s(ie);var q=N(ie,2),se=t=>{W(t,{variant:`error`,title:`Could not use this cookbook`,children:(t,n)=>{g();var r=u();B(()=>l(r,e(p))),y(t,r)},$$slots:{default:!0}})};n(q,t=>{e(p)&&t(se)}),s(G);var ce=N(G,2);{let t=i(()=>e(v)?`Use the ${e(v).name} cookbook?`:`Use this cookbook?`);te(ce,{get open(){return e(d)},get title(){return e(t)},message:`Replaces your current recipes, menu and sample records.`,confirmLabel:`Replace`,destructive:!0,onconfirm:L,oncancel:()=>U(d,!1)})}y(t,ee),a()}S([`click`,`keydown`]);var Yt=(e,t,n=`${t}s`)=>`${e} ${e===1?t:n}`,Xt=new Map(tt(nt).map(e=>[e.id,e.label]));function Zt(e){return q(e.slice(e.lastIndexOf(`:`)+1))}function Qt(e){let t=new Map;for(let n of e){let e=Zt(n.objectRef),r=t.get(e)??[],i=q(n.fieldName).toLowerCase();r.includes(i)||r.push(i),t.set(e,r)}return[...t].map(([e,t])=>`${e}: ${t.join(`, `)}`)}function $t(e){let t=[];e.custom?t.push(`brand colour ${e.custom.primary}`):e.preset&&e.preset!==`glass`&&t.push(`${xe(e.preset)?ve(e.preset):e.preset} preset`),e.colorScheme&&e.colorScheme!==`system`&&t.push(`${e.colorScheme} scheme`);let n=e.fontFamily??e.custom?.fontFamily;return n&&t.push(`${n} font`),e.borderRadius&&t.push(`${e.borderRadius} corners`),e.density===`touch`&&t.push(`touch density`),e.contrast&&e.contrast!==`auto`&&t.push(`${e.contrast} contrast`),e.customCss?.trim()&&t.push(`custom CSS`),t}function en(e){let t=[],n=e.customSections??[];if(n.length){let e=n.map(e=>e.label).filter(Boolean);t.push(`${Yt(n.length,`custom section`)}${e.length&&e.length<=4?` (${e.join(`, `)})`:``}`)}let r=e.hidden?.length??0;r&&t.push(`${r} hidden`);let i=Object.values(e.items??{}).filter(e=>e.label).length+Object.values(e.sections??{}).filter(e=>e.label||e.icon||e.showTitle===!1).length;i&&t.push(`${i} renamed or restyled`);let a=Object.keys(e.moved??{}).length;a&&t.push(`${a} moved`),(e.sectionOrder?.length||Object.keys(e.itemOrder??{}).length)&&t.push(`reordered`);let o=Object.keys(e.placements??{}).length;return o&&t.push(`${Yt(o,`shell item`)} placed`),Object.keys(e.panels??{}).length&&t.push(`panel settings`),t}function tn(e,t){if(e===`section:${at.id}`)return at.label;if(e.startsWith(`section:`)){let n=e.slice(8);return t?.sections?.[e]?.label??Xt.get(n)??q(n)}if(e.startsWith(`custom:`))return t?.customSections?.find(t=>t.id===e)?.label??q(e.slice(7));if(e.startsWith(`detail:`)){let t=e.slice(e.lastIndexOf(`.`)+1);return`${q(t)} record`}return q(e)}function nn(e){let t=[];e.recipes.length&&t.push({id:`recipes`,label:Yt(e.recipes.length,`recipe`),chips:e.recipes.map(e=>ct.get(e)?.label??e)}),e.features.length&&t.push({id:`features`,label:Yt(e.features.length,`feature`),chips:e.features.map(Zt)}),e.policies.length&&t.push({id:`options`,label:Yt(e.policies.length,`saved option`),chips:Qt(e.policies)});let n=Object.entries(e.exposure??{}).filter(([,e])=>e.length);n.length&&t.push({id:`exposure`,label:`Surfaces switched off`,chips:n.map(([e,t])=>`${Zt(e)}: ${t.join(`, `)}`)});let r=e.theme?$t(e.theme):[];r.length&&t.push({id:`theme`,label:`Theme`,text:r.join(`, `)});let i=e.layout?en(e.layout):[];i.length&&t.push({id:`layout`,label:`Layout`,text:i.join(`, `)});let a=Object.keys(e.overviews??{});return a.length&&t.push({id:`pages`,label:Yt(a.length,`customised page`),chips:a.map(t=>tn(t,e.layout))}),t}function rn(e){let t=nn(e);if(!t.length)return`an empty cookbook`;let n=t.map(e=>e.id===`theme`?`a theme`:e.id===`layout`?`a layout`:e.id===`exposure`?`narrowed surfaces`:e.label);return n.length===1?n[0]:`${n.slice(0,-1).join(`, `)} and ${n.at(-1)}`}var an=`0.57.5`,on=`Node 26 or newer`,sn=`pnpm 11`,cn=`cookbook.json`,ln=`COOKBOOK_EOF`;function un(e=an){return`npx -y @happyvertical/smrt-cli@${e}`}function dn(e,t){return Le(e.name)||Le(t)||`my-app`}function fn(e,t,n=an){return`${un(n)} cookbook apply ${e} ${t}`}function pn(e,t=ln){let n=new Set(e.split(`
|
|
6
|
+
`)),r=t;for(let e=1;n.has(r);e++)r=`${t}_${e}`;return r}function mn(e,t={}){let n=t.version??`0.57.5`,r=dn(e,t.fallbackName),i=JSON.stringify(e),a=pn(i),o=un(n),s=[`Create a new s-m-r-t app from the cookbook below. Work in a new, empty directory outside any existing project, run the steps in order, and when you finish report what you ran and what happened, including anything that failed.`,``,`1. Prerequisites: ${on} (\`node --version\`), git, and ${sn} or newer (\`npm install -g pnpm\` if missing).`,``,`2. Write the cookbook exactly as given, without reformatting or editing it:`,``,`cat > ${cn} <<'${a}'\n${i}\n${a}`,``,`3. Validate it, then create the app in ./${r}:`,``,`${o} cookbook validate ${cn}`,`${o} cookbook apply ${cn} ${r}`,``,`4. Set it up (in a subshell, so the commands below still run from this directory):`,``,`(cd ${r} && pnpm exec smrt app install)`,``,`If any step fails, run \`pnpm exec smrt app doctor\` inside ${r} and include its findings in your report. Do not hand-edit the app's smrt.cookbook.json: change ${cn} and run \`${o} cookbook apply ${cn} --into ${r}\` instead.`,``].join(`
|
|
7
7
|
`);return{text:s,bytes:new TextEncoder().encode(s).length,appName:r,version:n,delimiter:a}}function hn(t,n){h(n,!0);let r=T(n,`copiedLabel`,3,`Copied`),i=T(n,`variant`,3,`primary`),o=T(n,`confirmFor`,3,2e3),s=D(!1),c;async function d(){let e=typeof n.text==`function`?n.text():n.text,t=n.write??(typeof navigator<`u`&&navigator.clipboard?e=>navigator.clipboard.writeText(e):void 0);try{if(!t)throw Error(`no clipboard`);await t(e)}catch{U(s,!1),n.onfail?.();return}U(s,!0),n.oncopied?.(),clearTimeout(c),c=setTimeout(()=>U(s,!1),o())}ue(t,{get variant(){return i()},onclick:d,"aria-live":`polite`,get"aria-describedby"(){return n[`aria-describedby`]},children:(t,i)=>{g();var a=u();B(()=>l(a,e(s)?r():n.label)),y(t,a)},$$slots:{default:!0}}),a()}var gn=c(`<li><!></li>`),_n=c(`<ul class="chips svelte-17nkvtk"></ul>`),vn=c(`<dt class="svelte-17nkvtk"> </dt> <dd class="svelte-17nkvtk"><!></dd>`,1),yn=c(`<dl class="summary svelte-17nkvtk"></dl>`),bn=c(`<p class="quiet svelte-17nkvtk">Nothing customised yet. Add recipes or apply a cookbook first.</p>`),xn=c(`<pre class="json svelte-17nkvtk"> </pre>`),Sn=c(`The kitchen is running, but this page was opened without its one-time
|
|
8
8
|
token. Open the address <code class="svelte-17nkvtk">smrt kitchen</code> printed (it ends in <code class="svelte-17nkvtk">#kitchen=…</code>), or download the cookbook and run <code class="svelte-17nkvtk">smrt cookbook apply</code> on the file.`,1),Cn=c(`This version of <code class="svelte-17nkvtk">smrt kitchen</code> puts its one-time token in a
|
|
9
9
|
file other programs on this computer can read, so the planner does not
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$ as e,A as t,B as n,Ct as r,Dt as i,E as a,Ft as o,G as s,H as ee,L as c,Ot as l,Pt as u,R as d,U as f,X as p,Y as m,Z as h,a as g,at as _,b as v,bt as y,ct as b,d as x,ft as S,ht as C,l as w,mt as T,n as E,st as D,ut as O,v as k,vt as A,wt as j}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{n as M,r as N,s as P}from"../chunks/
|
|
1
|
+
import{$ as e,A as t,B as n,Ct as r,Dt as i,E as a,Ft as o,G as s,H as ee,L as c,Ot as l,Pt as u,R as d,U as f,X as p,Y as m,Z as h,a as g,at as _,b as v,bt as y,ct as b,d as x,ft as S,ht as C,l as w,mt as T,n as E,st as D,ut as O,v as k,vt as A,wt as j}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{n as M,r as N,s as P}from"../chunks/BG9Gz_25.js";import{n as F}from"../chunks/O8DAZ_le.js";import"../chunks/d934w91N.js";import{a as I,i as te,n as ne,r as re,t as L}from"../chunks/BMgzWMdF.js";function R(e){let t=[],n=/(\/\*[\s\S]*?\*\/|\/\*[\s\S]*$|"(?:\\.|[^"\\])*"?|'(?:\\.|[^'\\])*'?|[{}:;]|[^{}:;'"/]+|\/)/g,r=!1,i=!1;for(let a of e.matchAll(n)){let e=a[0],n=`plain`;e.startsWith(`/*`)?n=`comment`:/^[{}:;]$/.test(e)?(n=`punctuation`,e===`{`&&(r=!0,i=!1),e===`}`&&(r=!1,i=!1),e===`:`&&(i=!0),e===`;`&&(i=!1)):n=r?i?`value`:`property`:`selector`,t.push({text:e,kind:n})}return t}var z=s(`<div class="pending svelte-zdw9y8" role="status"><p class="svelte-zdw9y8">This cookbook brings its own CSS. It is not applied until you review and approve it.</p> <button type="button">Apply these styles</button></div>`),B=s(`<span> </span>`),V=s(`<section class="advanced-styles svelte-zdw9y8" aria-labelledby="advanced-styles-title"><a class="back svelte-zdw9y8">← Back to Theme</a> <div class="heading svelte-zdw9y8"><div><h1 id="advanced-styles-title" class="svelte-zdw9y8">Advanced Styles</h1> <p class="svelte-zdw9y8">Make this app your own with CSS. Changes appear as you type and are saved with your cookbook.</p></div> <span class="live svelte-zdw9y8"><span aria-hidden="true" class="svelte-zdw9y8"></span>Live preview</span></div> <!> <label for="advanced-css" class="svelte-zdw9y8">Custom CSS</label> <div class="editor svelte-zdw9y8"><pre aria-hidden="true" class="svelte-zdw9y8"><code></code></pre> <textarea id="advanced-css" spellcheck="false" maxlength="65536" wrap="off" placeholder="/* Add your app styles here */" aria-describedby="advanced-css-help" class="svelte-zdw9y8"></textarea></div> <p id="advanced-css-help" class="help svelte-zdw9y8">Ask your agent to write styles here, or start with a selector like <code>.smrt-admin-shell</code>. Clearing the editor removes your custom styles. Styles apply only inside the app shell and cannot load files from other sites; add <code>?styles=off</code> to the address to turn them off.</p></section>`);function H(t,s){l(s,!0);let m=g(s,`backHref`,3,`#/configure/`),_=r(()=>F.theme?.customCss??``),w=y(``),O=y(!1),M,N=r(()=>R(e(w))),P=r(()=>!!e(_)&&!e(O)&&!re(e(_))),H=y(null),U=y(null);b(()=>{let t=e(_);(!e(O)||t===e(w))&&(A(w,t,!0),A(O,!1))}),b(()=>{if(typeof document>`u`||!e(O)||!e(w)||te(location.search))return;let t=I(e(U));if(!t)return;let n=ne(e(w),t);if(!n)return;let r=document.createElement(`style`);return r.dataset.smrtPlannerDraft=``,r.textContent=n,document.head.append(r),()=>r.remove()});function W(){e(H)&&e(U)&&(e(H).scrollTop=e(U).scrollTop,e(H).scrollLeft=e(U).scrollLeft)}function G(e){F.setTheme({...F.theme,customCss:e||void 0})}function K(t){L(t),A(w,t,!0),A(O,!0),clearTimeout(M),M=setTimeout(()=>G(e(w)),400)}E(()=>{clearTimeout(M),e(O)&&G(e(w))});var q=V(),J=S(q),Y=C(J,4),ie=t=>{var n=z(),r=C(S(n),2);o(n),p(`click`,r,()=>L(e(_))),f(t,n)};n(Y,t=>{e(P)&&t(ie)});var X=C(Y,4),Z=S(X),Q=S(Z);c(Q,21,()=>e(N),d,(t,n)=>{var r=B();let i;var o=T(r,!0);D(()=>{i=a(r,1,`svelte-zdw9y8`,null,i,{comment:e(n).kind===`comment`,selector:e(n).kind===`selector`,property:e(n).kind===`property`,value:e(n).kind===`value`,punctuation:e(n).kind===`punctuation`}),ee(o,e(n).text)}),f(t,r)}),o(Q),o(Z),x(Z,e=>A(H,e),()=>e(H));var $=C(Z,2);j($),x($,e=>A(U,e),()=>e(U)),o(X),u(2),o(q),D(t=>{k(J,`href`,m()),k(J,`data-sveltekit-reload`,t),v($,e(w))},[()=>m().startsWith(`/`)?!0:void 0]),p(`input`,$,e=>K(e.currentTarget.value)),h(`scroll`,$,W),f(t,q),i()}m([`click`,`input`]);var U=s(`<main class="svelte-72mmow"><!></main>`);function W(e,n){l(n,!1);let r=`${N()}/${P(M(),`theme`)}`;w();var a=U();t(`72mmow`,e=>{_(()=>{O.title=`Advanced Styles · smrt planner`})}),H(S(a),{get backHref(){return r}}),o(a),f(e,a),i()}export{W as component};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$ as e,A as t,Dt as n,Ft as r,G as i,H as a,Ot as o,Pt as s,St as c,U as l,at as u,ft as d,ht as f,l as p,mt as m,st as h,ut as g,v as _}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{t as v}from"../chunks/
|
|
1
|
+
import{$ as e,A as t,Dt as n,Ft as r,G as i,H as a,Ot as o,Pt as s,St as c,U as l,at as u,ft as d,ht as f,l as p,mt as m,st as h,ut as g,v as _}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{t as v}from"../chunks/BG9Gz_25.js";import{i as y}from"../chunks/Cr4byQts.js";import"../chunks/d934w91N.js";import{t as b}from"../chunks/J9kOiFLO.js";var x=i(`<div class="ai-page svelte-mutbd1"><p class="meta svelte-mutbd1"><a>Planner</a> / AI models</p> <h1 class="svelte-mutbd1">Set up your assistant</h1> <p class="privacy svelte-mutbd1"> </p> <!></div>`);function S(e,t){o(t,!0);var i=x(),c=d(i),u=d(c);s(),r(c);var p=f(c,4),g=m(p,!0),v=f(p,2);b(v,{}),r(i),h(()=>{_(u,`href`,t.backHref),a(g,y.privacyNote)}),l(e,i),n()}var C=i(`<main class="svelte-hyyiz7"><!></main>`);function w(i,a){o(a,!1),p();var s=C();t(`hyyiz7`,e=>{u(()=>{g.title=`AI models · smrt planner`})});var f=d(s);{let t=c(()=>v(`/`));S(f,{get backHref(){return e(t)}})}r(s),l(i,s),n()}export{w as component};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as e,Dt as t,Ft as n,G as r,Ot as i,Pt as a,U as o,at as s,ft as c,ht as l,l as u,r as d,st as f,ut as p,v as m}from"../chunks/DG3qFFTE.js";import{n as h,u as g}from"../chunks/
|
|
1
|
+
import{A as e,Dt as t,Ft as n,G as r,Ot as i,Pt as a,U as o,at as s,ft as c,ht as l,l as u,r as d,st as f,ut as p,v as m}from"../chunks/DG3qFFTE.js";import{n as h,u as g}from"../chunks/C_3CJO_1.js";import"../chunks/xihTtKlq.js";import"../chunks/d_dqmeIr.js";import"../chunks/d934w91N.js";var _=r(`<main><p>The Blueprint moved to the Planner's <a>Export tab</a>.</p></main>`);function v(r,v){i(v,!1),d(()=>{let e=new URLSearchParams(location.search);e.set(`tab`,`export`),h(`${g}/?${e.toString().replace(/%2C/gi,`,`)}`,{replaceState:!0})}),u();var y=_();e(`1t5f7zw`,e=>{s(()=>{p.title=`Moved · smrt planner`})});var b=c(y),x=l(c(b));a(),n(b),n(y),f(()=>m(x,`href`,`${g}/?tab=export`)),o(r,y),t()}export{v as component};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as e,Dt as t,Ft as n,G as r,Ot as i,Pt as a,U as o,at as s,ft as c,ht as l,l as u,r as d,st as f,ut as p,v as m}from"../chunks/DG3qFFTE.js";import{n as h,u as g}from"../chunks/
|
|
1
|
+
import{A as e,Dt as t,Ft as n,G as r,Ot as i,Pt as a,U as o,at as s,ft as c,ht as l,l as u,r as d,st as f,ut as p,v as m}from"../chunks/DG3qFFTE.js";import{n as h,u as g}from"../chunks/C_3CJO_1.js";import"../chunks/xihTtKlq.js";import"../chunks/d_dqmeIr.js";import"../chunks/d934w91N.js";var _=r(`<main><p>The Cookbook is in the Planner's <a>Export tab</a>.</p></main>`);function v(r,v){i(v,!1),d(()=>{let e=new URLSearchParams(location.search);e.set(`tab`,`export`),h(`${g}/?${e.toString().replace(/%2C/gi,`,`)}`,{replaceState:!0})}),u();var y=_();e(`9ir3hm`,e=>{s(()=>{p.title=`Moved · smrt planner`})});var b=c(y),x=l(c(b));a(),n(b),n(y),f(()=>m(x,`href`,`${g}/?tab=export`)),o(r,y),t()}export{v as component};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"../chunks/COiEfhsA.js";import{Dt as t,Ot as n}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{dt as r,lt as i,ut as a}from"../chunks/
|
|
1
|
+
import{n as e}from"../chunks/COiEfhsA.js";import{Dt as t,Ot as n}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{dt as r,lt as i,ut as a}from"../chunks/BG9Gz_25.js";import{t as o}from"../chunks/DRByVC-c.js";import{t as s}from"../chunks/BybfWt-B.js";var c=e({entries:()=>l,load:()=>u}),l=()=>i.packages.flatMap(e=>a(e).map(t=>({package:e.id,model:t.name}))),u=({params:e})=>(r(e.package,e.model)||o(404,`Unknown model ${e.package}/${e.model}`),{packageId:e.package,modelName:e.model});function d(e,r){n(r,!0),s(e,{get packageId(){return r.data.packageId},get modelName(){return r.data.modelName}}),t()}export{d as component,c as universal};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"../chunks/COiEfhsA.js";import{Dt as t,Ot as n}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{dt as r}from"../chunks/
|
|
1
|
+
import{n as e}from"../chunks/COiEfhsA.js";import{Dt as t,Ot as n}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{dt as r}from"../chunks/BG9Gz_25.js";import{b as i,m as a,v as o}from"../chunks/CtjBwCj8.js";import{t as s}from"../chunks/DRByVC-c.js";import{t as c}from"../chunks/BybfWt-B.js";var l=e({entries:()=>u,load:()=>d}),u=()=>i.flatMap(e=>o(e).flatMap(e=>e.key?[{package:e.packageId,model:e.model.name,view:e.key}]:[])),d=({params:e})=>(r(e.package,e.model)||s(404,`Unknown model ${e.package}/${e.model}`),a(e.package,e.model,e.view)?{packageId:e.package,modelName:e.model,view:e.view}:{packageId:e.package,modelName:e.model,recordId:e.view,mode:`view`});function f(e,r){n(r,!0),c(e,{get packageId(){return r.data.packageId},get modelName(){return r.data.modelName},get view(){return r.data.view},get recordId(){return r.data.recordId},get mode(){return r.data.mode}}),t()}export{f as component,l as universal};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"../chunks/COiEfhsA.js";import{Dt as t,Ot as n}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{dt as r}from"../chunks/
|
|
1
|
+
import{n as e}from"../chunks/COiEfhsA.js";import{Dt as t,Ot as n}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{dt as r}from"../chunks/BG9Gz_25.js";import{m as i}from"../chunks/CtjBwCj8.js";import{t as a}from"../chunks/DRByVC-c.js";import{t as o}from"../chunks/BybfWt-B.js";var s=e({load:()=>c,prerender:()=>!1}),c=({params:e})=>((!r(e.package,e.model)||i(e.package,e.model,e.view))&&a(404,`Unknown record ${e.package}/${e.model}/${e.view}`),{packageId:e.package,modelName:e.model,recordId:e.view,mode:`edit`});function l(e,r){n(r,!0),o(e,{get packageId(){return r.data.packageId},get modelName(){return r.data.modelName},get recordId(){return r.data.recordId},get mode(){return r.data.mode}}),t()}export{l as component,s as universal};
|
package/app/_app/version.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"1792257399125"}
|
|
@@ -3,42 +3,42 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
-
<link href="../_app/immutable/entry/start.
|
|
7
|
-
<link href="../_app/immutable/chunks/
|
|
6
|
+
<link href="../_app/immutable/entry/start.BXkBl20Z.js" rel="modulepreload">
|
|
7
|
+
<link href="../_app/immutable/chunks/C_3CJO_1.js" rel="modulepreload">
|
|
8
8
|
<link href="../_app/immutable/chunks/DG3qFFTE.js" rel="modulepreload">
|
|
9
9
|
<link href="../_app/immutable/chunks/COiEfhsA.js" rel="modulepreload">
|
|
10
10
|
<link href="../_app/immutable/chunks/Dt-HX3Vu.js" rel="modulepreload">
|
|
11
|
-
<link href="../_app/immutable/entry/app.
|
|
11
|
+
<link href="../_app/immutable/entry/app.B4gMiHwR.js" rel="modulepreload">
|
|
12
12
|
<link href="../_app/immutable/chunks/uBIymjUX.js" rel="modulepreload">
|
|
13
13
|
<link href="../_app/immutable/chunks/xihTtKlq.js" rel="modulepreload">
|
|
14
|
-
<link href="../_app/immutable/nodes/0.
|
|
14
|
+
<link href="../_app/immutable/nodes/0.2MYMg80l.js" rel="modulepreload">
|
|
15
15
|
<link href="../_app/immutable/chunks/Bv5jGtB8.js" rel="modulepreload">
|
|
16
16
|
<link href="../_app/immutable/chunks/YUSKx8_q.js" rel="modulepreload">
|
|
17
|
-
<link href="../_app/immutable/chunks/
|
|
17
|
+
<link href="../_app/immutable/chunks/BG9Gz_25.js" rel="modulepreload">
|
|
18
18
|
<link href="../_app/immutable/chunks/DK8Blf1Y.js" rel="modulepreload">
|
|
19
|
-
<link href="../_app/immutable/chunks/
|
|
19
|
+
<link href="../_app/immutable/chunks/Bsn3IIve.js" rel="modulepreload">
|
|
20
20
|
<link href="../_app/immutable/chunks/M-CuJzQN.js" rel="modulepreload">
|
|
21
21
|
<link href="../_app/immutable/chunks/9pRTae44.js" rel="modulepreload">
|
|
22
|
-
<link href="../_app/immutable/chunks/
|
|
22
|
+
<link href="../_app/immutable/chunks/Cga8zF3r.js" rel="modulepreload">
|
|
23
23
|
<link href="../_app/immutable/chunks/CUyVrfsu.js" rel="modulepreload">
|
|
24
24
|
<link href="../_app/immutable/chunks/gMSmS-_y.js" rel="modulepreload">
|
|
25
25
|
<link href="../_app/immutable/chunks/BYcBM-fh.js" rel="modulepreload">
|
|
26
|
-
<link href="../_app/immutable/chunks/
|
|
27
|
-
<link href="../_app/immutable/chunks/
|
|
28
|
-
<link href="../_app/immutable/chunks/
|
|
29
|
-
<link href="../_app/immutable/chunks/
|
|
26
|
+
<link href="../_app/immutable/chunks/DuZeZzOA.js" rel="modulepreload">
|
|
27
|
+
<link href="../_app/immutable/chunks/BhU_yBI_.js" rel="modulepreload">
|
|
28
|
+
<link href="../_app/immutable/chunks/d_dqmeIr.js" rel="modulepreload">
|
|
29
|
+
<link href="../_app/immutable/chunks/BiEOJeYb.js" rel="modulepreload">
|
|
30
30
|
<link href="../_app/immutable/chunks/d934w91N.js" rel="modulepreload">
|
|
31
31
|
<link href="../_app/immutable/chunks/D_U_DYjx.js" rel="modulepreload">
|
|
32
|
-
<link href="../_app/immutable/chunks/
|
|
33
|
-
<link href="../_app/immutable/chunks/
|
|
34
|
-
<link href="../_app/immutable/chunks/
|
|
35
|
-
<link href="../_app/immutable/chunks/
|
|
36
|
-
<link href="../_app/immutable/chunks/
|
|
32
|
+
<link href="../_app/immutable/chunks/NppCG--v.js" rel="modulepreload">
|
|
33
|
+
<link href="../_app/immutable/chunks/C3sRGrYK.js" rel="modulepreload">
|
|
34
|
+
<link href="../_app/immutable/chunks/CTlMHIE6.js" rel="modulepreload">
|
|
35
|
+
<link href="../_app/immutable/chunks/Bal1oPZu.js" rel="modulepreload">
|
|
36
|
+
<link href="../_app/immutable/chunks/C1VofLtR.js" rel="modulepreload">
|
|
37
37
|
<link href="../_app/immutable/chunks/BMgzWMdF.js" rel="modulepreload">
|
|
38
38
|
<link href="../_app/immutable/chunks/CgAkqYsL.js" rel="modulepreload">
|
|
39
|
-
<link href="../_app/immutable/nodes/3.
|
|
40
|
-
<link href="../_app/immutable/chunks/
|
|
41
|
-
<link href="../_app/immutable/chunks/
|
|
39
|
+
<link href="../_app/immutable/nodes/3.V5uGCpGb.js" rel="modulepreload">
|
|
40
|
+
<link href="../_app/immutable/chunks/O8DAZ_le.js" rel="modulepreload">
|
|
41
|
+
<link href="../_app/immutable/chunks/CyUSxz1P.js" rel="modulepreload">
|
|
42
42
|
<!--1vy8ks8--><!----><style id="smrt-cascade-layers">@layer smrt.reset, smrt.structure, smrt.theme;</style><!----><!----><!--72mmow--><!----><title>Advanced Styles · smrt planner</title>
|
|
43
43
|
<link href="../_app/immutable/assets/feedback.qFktqYFY.css" rel="stylesheet">
|
|
44
44
|
<link href="../_app/immutable/assets/currency-metadata.ksbBA8-C.css" rel="stylesheet">
|
|
@@ -60,15 +60,15 @@
|
|
|
60
60
|
|
|
61
61
|
<script>
|
|
62
62
|
{
|
|
63
|
-
|
|
63
|
+
__sveltekit_qeoaal = {
|
|
64
64
|
base: new URL("..", location).pathname.slice(0, -1)
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
const element = document.currentScript.parentElement;
|
|
68
68
|
|
|
69
69
|
Promise.all([
|
|
70
|
-
import("../_app/immutable/entry/start.
|
|
71
|
-
import("../_app/immutable/entry/app.
|
|
70
|
+
import("../_app/immutable/entry/start.BXkBl20Z.js"),
|
|
71
|
+
import("../_app/immutable/entry/app.B4gMiHwR.js")
|
|
72
72
|
]).then(([kit, app]) => {
|
|
73
73
|
kit.start(app, element, {
|
|
74
74
|
node_ids: [0, 3],
|
package/app/ai/index.html
CHANGED
|
@@ -3,47 +3,47 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
-
<link href="../_app/immutable/entry/start.
|
|
7
|
-
<link href="../_app/immutable/chunks/
|
|
6
|
+
<link href="../_app/immutable/entry/start.BXkBl20Z.js" rel="modulepreload">
|
|
7
|
+
<link href="../_app/immutable/chunks/C_3CJO_1.js" rel="modulepreload">
|
|
8
8
|
<link href="../_app/immutable/chunks/DG3qFFTE.js" rel="modulepreload">
|
|
9
9
|
<link href="../_app/immutable/chunks/COiEfhsA.js" rel="modulepreload">
|
|
10
10
|
<link href="../_app/immutable/chunks/Dt-HX3Vu.js" rel="modulepreload">
|
|
11
|
-
<link href="../_app/immutable/entry/app.
|
|
11
|
+
<link href="../_app/immutable/entry/app.B4gMiHwR.js" rel="modulepreload">
|
|
12
12
|
<link href="../_app/immutable/chunks/uBIymjUX.js" rel="modulepreload">
|
|
13
13
|
<link href="../_app/immutable/chunks/xihTtKlq.js" rel="modulepreload">
|
|
14
|
-
<link href="../_app/immutable/nodes/0.
|
|
14
|
+
<link href="../_app/immutable/nodes/0.2MYMg80l.js" rel="modulepreload">
|
|
15
15
|
<link href="../_app/immutable/chunks/Bv5jGtB8.js" rel="modulepreload">
|
|
16
16
|
<link href="../_app/immutable/chunks/YUSKx8_q.js" rel="modulepreload">
|
|
17
|
-
<link href="../_app/immutable/chunks/
|
|
17
|
+
<link href="../_app/immutable/chunks/BG9Gz_25.js" rel="modulepreload">
|
|
18
18
|
<link href="../_app/immutable/chunks/DK8Blf1Y.js" rel="modulepreload">
|
|
19
|
-
<link href="../_app/immutable/chunks/
|
|
19
|
+
<link href="../_app/immutable/chunks/Bsn3IIve.js" rel="modulepreload">
|
|
20
20
|
<link href="../_app/immutable/chunks/M-CuJzQN.js" rel="modulepreload">
|
|
21
21
|
<link href="../_app/immutable/chunks/9pRTae44.js" rel="modulepreload">
|
|
22
|
-
<link href="../_app/immutable/chunks/
|
|
22
|
+
<link href="../_app/immutable/chunks/Cga8zF3r.js" rel="modulepreload">
|
|
23
23
|
<link href="../_app/immutable/chunks/CUyVrfsu.js" rel="modulepreload">
|
|
24
24
|
<link href="../_app/immutable/chunks/gMSmS-_y.js" rel="modulepreload">
|
|
25
25
|
<link href="../_app/immutable/chunks/BYcBM-fh.js" rel="modulepreload">
|
|
26
|
-
<link href="../_app/immutable/chunks/
|
|
27
|
-
<link href="../_app/immutable/chunks/
|
|
28
|
-
<link href="../_app/immutable/chunks/
|
|
29
|
-
<link href="../_app/immutable/chunks/
|
|
26
|
+
<link href="../_app/immutable/chunks/DuZeZzOA.js" rel="modulepreload">
|
|
27
|
+
<link href="../_app/immutable/chunks/BhU_yBI_.js" rel="modulepreload">
|
|
28
|
+
<link href="../_app/immutable/chunks/d_dqmeIr.js" rel="modulepreload">
|
|
29
|
+
<link href="../_app/immutable/chunks/BiEOJeYb.js" rel="modulepreload">
|
|
30
30
|
<link href="../_app/immutable/chunks/d934w91N.js" rel="modulepreload">
|
|
31
31
|
<link href="../_app/immutable/chunks/D_U_DYjx.js" rel="modulepreload">
|
|
32
|
-
<link href="../_app/immutable/chunks/
|
|
33
|
-
<link href="../_app/immutable/chunks/
|
|
34
|
-
<link href="../_app/immutable/chunks/
|
|
35
|
-
<link href="../_app/immutable/chunks/
|
|
36
|
-
<link href="../_app/immutable/chunks/
|
|
32
|
+
<link href="../_app/immutable/chunks/NppCG--v.js" rel="modulepreload">
|
|
33
|
+
<link href="../_app/immutable/chunks/C3sRGrYK.js" rel="modulepreload">
|
|
34
|
+
<link href="../_app/immutable/chunks/CTlMHIE6.js" rel="modulepreload">
|
|
35
|
+
<link href="../_app/immutable/chunks/Bal1oPZu.js" rel="modulepreload">
|
|
36
|
+
<link href="../_app/immutable/chunks/C1VofLtR.js" rel="modulepreload">
|
|
37
37
|
<link href="../_app/immutable/chunks/BMgzWMdF.js" rel="modulepreload">
|
|
38
38
|
<link href="../_app/immutable/chunks/CgAkqYsL.js" rel="modulepreload">
|
|
39
|
-
<link href="../_app/immutable/nodes/4.
|
|
40
|
-
<link href="../_app/immutable/chunks/
|
|
39
|
+
<link href="../_app/immutable/nodes/4.CCwzLrgu.js" rel="modulepreload">
|
|
40
|
+
<link href="../_app/immutable/chunks/Cr4byQts.js" rel="modulepreload">
|
|
41
41
|
<link href="../_app/immutable/chunks/BQxY8kkL.js" rel="modulepreload">
|
|
42
|
-
<link href="../_app/immutable/chunks/
|
|
43
|
-
<link href="../_app/immutable/chunks/
|
|
44
|
-
<link href="../_app/immutable/chunks/
|
|
45
|
-
<link href="../_app/immutable/chunks/
|
|
46
|
-
<link href="../_app/immutable/chunks/
|
|
42
|
+
<link href="../_app/immutable/chunks/O8DAZ_le.js" rel="modulepreload">
|
|
43
|
+
<link href="../_app/immutable/chunks/CyUSxz1P.js" rel="modulepreload">
|
|
44
|
+
<link href="../_app/immutable/chunks/CtjBwCj8.js" rel="modulepreload">
|
|
45
|
+
<link href="../_app/immutable/chunks/nphy1MQF.js" rel="modulepreload">
|
|
46
|
+
<link href="../_app/immutable/chunks/J9kOiFLO.js" rel="modulepreload">
|
|
47
47
|
<!--1vy8ks8--><!----><style id="smrt-cascade-layers">@layer smrt.reset, smrt.structure, smrt.theme;</style><!----><!----><!--hyyiz7--><!----><title>AI models · smrt planner</title>
|
|
48
48
|
<link href="../_app/immutable/assets/feedback.qFktqYFY.css" rel="stylesheet">
|
|
49
49
|
<link href="../_app/immutable/assets/currency-metadata.ksbBA8-C.css" rel="stylesheet">
|
|
@@ -68,15 +68,15 @@
|
|
|
68
68
|
|
|
69
69
|
<script>
|
|
70
70
|
{
|
|
71
|
-
|
|
71
|
+
__sveltekit_qeoaal = {
|
|
72
72
|
base: new URL("..", location).pathname.slice(0, -1)
|
|
73
73
|
};
|
|
74
74
|
|
|
75
75
|
const element = document.currentScript.parentElement;
|
|
76
76
|
|
|
77
77
|
Promise.all([
|
|
78
|
-
import("../_app/immutable/entry/start.
|
|
79
|
-
import("../_app/immutable/entry/app.
|
|
78
|
+
import("../_app/immutable/entry/start.BXkBl20Z.js"),
|
|
79
|
+
import("../_app/immutable/entry/app.B4gMiHwR.js")
|
|
80
80
|
]).then(([kit, app]) => {
|
|
81
81
|
kit.start(app, element, {
|
|
82
82
|
node_ids: [0, 4],
|