@happyvertical/smrt-planner 0.57.3 → 0.57.4
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/agents/assistant.md +8 -1
- package/agents/cookbook.md +8 -2
- package/app/404.html +21 -21
- package/app/_app/immutable/assets/2.CdEXvRg0.css +1 -0
- package/app/_app/immutable/assets/{feedback.DePeap37.css → feedback.qFktqYFY.css} +1 -1
- package/app/_app/immutable/chunks/{2l76O8yg.js → 8vF2REci.js} +1 -1
- package/app/_app/immutable/chunks/{C-DLpfU4.js → A_IpJrNN.js} +1 -1
- package/app/_app/immutable/chunks/{U6_OBRq_.js → B6GaAylQ.js} +1 -1
- package/app/_app/immutable/chunks/{DsY7g8iJ.js → BMRtN-eN.js} +3 -3
- package/app/_app/immutable/chunks/Bc_SIIIS.js +1 -0
- package/app/_app/immutable/chunks/{DveAWx7t.js → BhsxCKaI.js} +1 -1
- package/app/_app/immutable/chunks/Burj9UYU.js +1 -0
- package/app/_app/immutable/chunks/{Bb0f-PWY.js → BvRNePGN.js} +1 -1
- package/app/_app/immutable/chunks/C7z2g6fG.js +1 -0
- package/app/_app/immutable/chunks/CQ13lq7J.js +1 -0
- package/app/_app/immutable/chunks/{Dq8aYheE.js → CUAfmRua.js} +1 -1
- package/app/_app/immutable/chunks/{EZsakmZX.js → CVcfTI5P.js} +1 -1
- package/app/_app/immutable/chunks/{CZwkvsZI.js → CdPJK-gf.js} +1 -1
- package/app/_app/immutable/chunks/{BfPYbnRI.js → Ckc_1feF.js} +1 -1
- package/app/_app/immutable/chunks/{DR_9YSDq.js → CztFAhpp.js} +1 -1
- package/app/_app/immutable/chunks/D76yH9OO.js +24 -0
- package/app/_app/immutable/chunks/D7t4xFw6.js +4 -0
- package/app/_app/immutable/chunks/{Bz0ybtg3.js → D8D_RStZ.js} +1 -1
- package/app/_app/immutable/chunks/DCr75fDJ.js +1 -0
- package/app/_app/immutable/chunks/DEwvWTFM.js +1 -0
- package/app/_app/immutable/chunks/{BAeyjCL_.js → DTWraE40.js} +1 -1
- package/app/_app/immutable/chunks/{CF503c7E.js → VCg3x54j.js} +1 -1
- package/app/_app/immutable/chunks/{BJKoxDbG.js → XlsfHlOd.js} +1 -1
- package/app/_app/immutable/chunks/{rkUL-DlL.js → gnVUq1Tr.js} +25 -25
- package/app/_app/immutable/chunks/{Cfd9dmBM.js → h1rof478.js} +1 -1
- package/app/_app/immutable/chunks/{PJY04JNF.js → ukqw0V0Z.js} +1 -1
- package/app/_app/immutable/entry/{app.BOdcGXnx.js → app.C-mGsUDb.js} +2 -2
- package/app/_app/immutable/entry/start.DnB4rZdO.js +1 -0
- package/app/_app/immutable/nodes/0.CG8nFTeW.js +9 -0
- package/app/_app/immutable/nodes/{1.CULLAAlp.js → 1.BY2zPWBD.js} +1 -1
- package/app/_app/immutable/nodes/{10.D3aS_KZl.js → 10.y59vLZOY.js} +1 -1
- package/app/_app/immutable/nodes/{11.C92xaiTE.js → 11.HBRO8fTE.js} +1 -1
- package/app/_app/immutable/nodes/{12.D1Lzt56L.js → 12.DiV3I_fX.js} +1 -1
- package/app/_app/immutable/nodes/{13.Bx4rov-F.js → 13.f4cxyt4f.js} +1 -1
- package/app/_app/immutable/nodes/{14.CEBy0En2.js → 14.DnBBJxxq.js} +1 -1
- package/app/_app/immutable/nodes/2.DR5lKFBV.js +24 -0
- package/app/_app/immutable/nodes/{3.C8f09BsJ.js → 3.gu2TJwhp.js} +1 -1
- package/app/_app/immutable/nodes/{4.Z1MwZ_rU.js → 4.CU9BPw5o.js} +1 -1
- package/app/_app/immutable/nodes/{5.BnknP-NB.js → 5.CD78hESs.js} +1 -1
- package/app/_app/immutable/nodes/{6.B0InO4bR.js → 6.B5LspHdV.js} +1 -1
- package/app/_app/immutable/nodes/{7.CLnj1BGB.js → 7.lSo_04_4.js} +1 -1
- package/app/_app/immutable/nodes/{8.BmZYIUmz.js → 8.OVIZi4uJ.js} +1 -1
- package/app/_app/immutable/nodes/{9.BKWSHjz-.js → 9.BLNgntah.js} +1 -1
- package/app/_app/version.json +1 -1
- package/app/advanced-styles/index.html +24 -24
- package/app/ai/index.html +28 -33
- package/app/blueprint/index.html +22 -22
- package/app/cookbook/index.html +22 -22
- package/app/index.html +38 -38
- package/app/m/ads/AdDeliveryTier/index.html +25 -25
- package/app/m/ads/AdEvent/index.html +25 -25
- package/app/m/ads/AdFormat/index.html +25 -25
- package/app/m/ads/AdGroup/index.html +25 -25
- package/app/m/ads/AdVariation/index.html +25 -25
- package/app/m/analytics/AnalyticsDataStream/index.html +25 -25
- package/app/m/analytics/AnalyticsEvent/index.html +25 -25
- package/app/m/analytics/AnalyticsProperty/index.html +25 -25
- package/app/m/analytics/AnalyticsReport/index.html +25 -25
- package/app/m/approvals/ApprovalEvent/index.html +25 -25
- package/app/m/approvals/ApprovalPolicy/index.html +25 -25
- package/app/m/approvals/ApprovalRequest/index.html +25 -25
- package/app/m/assets/Asset/attachments/index.html +26 -26
- package/app/m/assets/Asset/index.html +25 -25
- package/app/m/assets/AssetAssociation/index.html +25 -25
- package/app/m/assets/AssetMetafield/index.html +25 -25
- package/app/m/assets/AssetStatus/index.html +25 -25
- package/app/m/assets/AssetType/index.html +25 -25
- package/app/m/assets/Folder/index.html +25 -25
- package/app/m/chat/AgentSession/index.html +25 -25
- package/app/m/chat/ChatMessage/index.html +25 -25
- package/app/m/chat/ChatParticipant/index.html +25 -25
- package/app/m/chat/ChatReaction/index.html +25 -25
- package/app/m/chat/ChatRoom/index.html +25 -25
- package/app/m/chat/ChatThread/index.html +25 -25
- package/app/m/chat/VoiceGatewayTurn/index.html +25 -25
- package/app/m/chat/VoiceSession/index.html +25 -25
- package/app/m/commerce/Agreement/index.html +25 -25
- package/app/m/commerce/Cart/index.html +25 -25
- package/app/m/commerce/Contract/index.html +25 -25
- package/app/m/commerce/ContractLineItem/index.html +26 -26
- package/app/m/commerce/Customer/index.html +25 -25
- package/app/m/commerce/DocumentTax/index.html +25 -25
- package/app/m/commerce/Estimate/index.html +25 -25
- package/app/m/commerce/Fulfillment/index.html +25 -25
- package/app/m/commerce/FulfillmentLineItem/index.html +25 -25
- package/app/m/commerce/HistoricalCustomerFunds/index.html +89 -0
- package/app/m/commerce/HistoricalCustomerFundsAllocation/index.html +89 -0
- package/app/m/commerce/HistoricalSalesLine/index.html +89 -0
- package/app/m/commerce/Invoice/index.html +25 -25
- package/app/m/commerce/InvoiceLineItem/index.html +25 -25
- package/app/m/commerce/Lease/index.html +25 -25
- package/app/m/commerce/LicenseSale/index.html +25 -25
- package/app/m/commerce/Order/index.html +25 -25
- package/app/m/commerce/Payment/index.html +25 -25
- package/app/m/commerce/PaymentAllocation/index.html +25 -25
- package/app/m/commerce/PaymentInstrument/index.html +25 -25
- package/app/m/commerce/PaymentIntent/index.html +25 -25
- package/app/m/commerce/Payout/index.html +25 -25
- package/app/m/commerce/ProductionOrder/index.html +25 -25
- package/app/m/commerce/PurchaseContract/index.html +25 -25
- package/app/m/commerce/PurchaseOrder/index.html +25 -25
- package/app/m/commerce/SalesContract/index.html +25 -25
- package/app/m/commerce/SupplierQuote/index.html +25 -25
- package/app/m/commerce/TaxCode/index.html +25 -25
- package/app/m/commerce/TaxComponent/index.html +25 -25
- package/app/m/commerce/TaxSettings/index.html +25 -25
- package/app/m/commerce/TaxSummaryReport/index.html +25 -25
- package/app/m/commerce/Vendor/index.html +25 -25
- package/app/m/commerce/WholesaleOrder/index.html +25 -25
- package/app/m/content/Content/index.html +25 -25
- package/app/m/content/ContentContribution/index.html +25 -25
- package/app/m/content/ContentContributionAttachment/index.html +25 -25
- package/app/m/content/ContentContributionRevision/index.html +25 -25
- package/app/m/content/ContentContributionType/index.html +25 -25
- package/app/m/content/ContentContributor/index.html +25 -25
- package/app/m/content/ContentCorrection/index.html +25 -25
- package/app/m/content/ContentFeedSource/index.html +25 -25
- package/app/m/content/ContentGovernanceAssignment/index.html +25 -25
- package/app/m/content/ContentGovernancePolicy/index.html +25 -25
- package/app/m/content/ContentGovernanceProfile/index.html +25 -25
- package/app/m/content/ContentReference/index.html +25 -25
- package/app/m/content/ContentReview/index.html +25 -25
- package/app/m/content/ContentVersion/index.html +25 -25
- package/app/m/events/Event/index.html +25 -25
- package/app/m/events/EventParticipant/index.html +25 -25
- package/app/m/events/EventSeries/index.html +26 -26
- package/app/m/events/EventType/index.html +25 -25
- package/app/m/expenses/Expense/index.html +25 -25
- package/app/m/facts/Fact/index.html +25 -25
- package/app/m/facts/FactContent/index.html +25 -25
- package/app/m/facts/FactEvidence/index.html +25 -25
- package/app/m/facts/FactSource/index.html +25 -25
- package/app/m/facts/FactSubject/index.html +25 -25
- package/app/m/facts/FactTag/index.html +25 -25
- package/app/m/fields/FieldPolicy/index.html +25 -25
- package/app/m/fields/FieldPolicySuggestion/index.html +25 -25
- package/app/m/fields/FieldUsageCounter/index.html +25 -25
- package/app/m/images/Image/index.html +25 -25
- package/app/m/inventory/InventoryLocation/index.html +25 -25
- package/app/m/inventory/StockLevel/index.html +25 -25
- package/app/m/inventory/StockMovement/index.html +25 -25
- package/app/m/ledgers/Account/index.html +25 -25
- package/app/m/ledgers/Journal/index.html +25 -25
- package/app/m/ledgers/JournalEntry/index.html +25 -25
- package/app/m/ledgers/Ledger/index.html +25 -25
- package/app/m/manufacturing/Assembly/index.html +25 -25
- package/app/m/manufacturing/BillOfMaterials/index.html +25 -25
- package/app/m/manufacturing/BomLine/index.html +25 -25
- package/app/m/manufacturing/Operation/index.html +25 -25
- package/app/m/manufacturing/ProductionRun/index.html +25 -25
- package/app/m/manufacturing/ProductionRunCompletion/index.html +25 -25
- package/app/m/manufacturing/RoutingStep/index.html +25 -25
- package/app/m/marketing/Campaign/index.html +25 -25
- package/app/m/marketing/CampaignChannel/index.html +25 -25
- package/app/m/marketing/CampaignMetricSnapshot/index.html +25 -25
- package/app/m/messages/Account/index.html +25 -25
- package/app/m/messages/Attachment/index.html +25 -25
- package/app/m/messages/Blacklist/index.html +25 -25
- package/app/m/messages/Email/failed-sends/index.html +26 -26
- package/app/m/messages/Email/index.html +25 -25
- package/app/m/messages/Email/mailbox/index.html +26 -26
- package/app/m/messages/EmailAccount/index.html +25 -25
- package/app/m/messages/EmailAttachment/index.html +25 -25
- package/app/m/messages/EmailFolder/index.html +25 -25
- package/app/m/messages/Message/index.html +25 -25
- package/app/m/messages/MessagingEndpoint/index.html +25 -25
- package/app/m/messages/PersonaMessageRoute/index.html +25 -25
- package/app/m/messages/SlackAccount/index.html +25 -25
- package/app/m/messages/SlackMessage/index.html +25 -25
- package/app/m/messages/TelegramAccount/index.html +25 -25
- package/app/m/messages/Tweet/index.html +25 -25
- package/app/m/messages/TwitterAccount/index.html +25 -25
- package/app/m/messages/Whitelist/index.html +25 -25
- package/app/m/messages/ZulipAccount/index.html +25 -25
- package/app/m/places/Place/index.html +25 -25
- package/app/m/places/PlaceType/index.html +25 -25
- package/app/m/products/Category/index.html +25 -25
- package/app/m/products/Material/index.html +25 -25
- package/app/m/products/Product/index.html +25 -25
- package/app/m/products/Product/ingredients/index.html +26 -26
- package/app/m/products/ProductVariant/index.html +25 -25
- package/app/m/products/Sku/index.html +25 -25
- package/app/m/profiles/ApiKey/index.html +25 -25
- package/app/m/profiles/Bot/index.html +25 -25
- package/app/m/profiles/MagicLinkToken/index.html +25 -25
- package/app/m/profiles/NostrIdentity/index.html +25 -25
- package/app/m/profiles/OidcIdentity/index.html +25 -25
- package/app/m/profiles/Organization/index.html +25 -25
- package/app/m/profiles/Person/index.html +25 -25
- package/app/m/profiles/Profile/index.html +25 -25
- package/app/m/profiles/ProfileMetadata/index.html +25 -25
- package/app/m/profiles/ProfileMetafield/index.html +25 -25
- package/app/m/profiles/ProfileRelationship/index.html +25 -25
- package/app/m/profiles/ProfileRelationshipTerm/index.html +25 -25
- package/app/m/profiles/ProfileRelationshipType/index.html +25 -25
- package/app/m/profiles/ProfileType/index.html +25 -25
- package/app/m/projects/Comment/index.html +25 -25
- package/app/m/projects/Issue/index.html +25 -25
- package/app/m/projects/Label/index.html +25 -25
- package/app/m/projects/Project/index.html +25 -25
- package/app/m/projects/ProjectIntegration/index.html +25 -25
- package/app/m/projects/PullRequest/index.html +25 -25
- package/app/m/projects/Repository/index.html +25 -25
- package/app/m/properties/Property/index.html +25 -25
- package/app/m/properties/Zone/index.html +25 -25
- package/app/m/reports/RuntimeReport/index.html +25 -25
- package/app/m/reports/SmrtPrincipalReportRefreshTask/index.html +26 -26
- package/app/m/reports/SmrtReportLock/index.html +26 -26
- package/app/m/reports/SmrtReportRefreshTask/index.html +26 -26
- package/app/m/reports/SmrtReportRun/index.html +26 -26
- package/app/m/reports/SmrtReportSchedule/index.html +26 -26
- package/app/m/reports/SmrtReportWatermark/index.html +26 -26
- package/app/m/sales/Agreement/index.html +25 -25
- package/app/m/sales/AttributionException/index.html +25 -25
- package/app/m/sales/AttributionPolicy/index.html +25 -25
- package/app/m/sales/Commission/index.html +25 -25
- package/app/m/sales/CommissionAdjustment/index.html +25 -25
- package/app/m/sales/CommissionPayout/index.html +25 -25
- package/app/m/sales/CommissionPlan/index.html +25 -25
- package/app/m/sales/Earner/index.html +25 -25
- package/app/m/sales/EarnerSourceAttribution/index.html +25 -25
- package/app/m/sales/EarningEvent/index.html +25 -25
- package/app/m/sales/ExecutedAgreement/index.html +25 -25
- package/app/m/sales/Lead/index.html +25 -25
- package/app/m/sales/Opportunity/index.html +25 -25
- package/app/m/sales/OpportunityConversion/index.html +25 -25
- package/app/m/sales/PipelineDefinition/index.html +25 -25
- package/app/m/sales/PipelineStage/index.html +25 -25
- package/app/m/sales/Referral/index.html +25 -25
- package/app/m/sales/ReferralAgreement/index.html +25 -25
- package/app/m/sales/ReferralLink/index.html +25 -25
- package/app/m/sales/ReferralProgram/index.html +25 -25
- package/app/m/sales/ReferralTermSnapshot/index.html +25 -25
- package/app/m/sales/ReferralTouch/index.html +25 -25
- package/app/m/sales/Referrer/index.html +25 -25
- package/app/m/sales/SalesActivity/index.html +25 -25
- package/app/m/sales/SalesRepresentative/index.html +25 -25
- package/app/m/sites/Site/index.html +25 -25
- package/app/m/sites/SiteAgentBinding/index.html +25 -25
- package/app/m/social/OAuthState/index.html +25 -25
- package/app/m/social/SocialAccount/index.html +25 -25
- package/app/m/social/SocialPost/index.html +25 -25
- package/app/m/social/SocialPostAnalyticsSnapshot/index.html +25 -25
- package/app/m/subscriptions/BillingAdjustment/index.html +25 -25
- package/app/m/subscriptions/ClientCharge/index.html +25 -25
- package/app/m/subscriptions/CreditGrant/index.html +25 -25
- package/app/m/subscriptions/PricingRule/index.html +25 -25
- package/app/m/subscriptions/RetailCharge/index.html +25 -25
- package/app/m/subscriptions/SpendingPolicy/index.html +25 -25
- package/app/m/subscriptions/SubscriptionPlan/index.html +25 -25
- package/app/m/subscriptions/TenantSubscription/index.html +25 -25
- package/app/m/subscriptions/TenantUsageMetric/index.html +25 -25
- package/app/m/support/ServiceTimeEntry/index.html +25 -25
- package/app/m/support/SupportAiRun/index.html +25 -25
- package/app/m/support/SupportAvailability/index.html +25 -25
- package/app/m/support/SupportCase/index.html +25 -25
- package/app/m/support/SupportCaseEvent/index.html +25 -25
- package/app/m/support/SupportChannelBinding/index.html +25 -25
- package/app/m/support/SupportCharge/index.html +25 -25
- package/app/m/support/SupportCompensation/index.html +25 -25
- package/app/m/support/SupportCompensationPlan/index.html +25 -25
- package/app/m/support/SupportEscalation/index.html +25 -25
- package/app/m/support/SupportInteraction/index.html +25 -25
- package/app/m/support/SupportPlan/index.html +25 -25
- package/app/m/support/SupportPolicy/index.html +25 -25
- package/app/m/support/SupportQualification/index.html +25 -25
- package/app/m/support/SupportServiceTarget/index.html +25 -25
- package/app/m/support/SupportSpecialist/index.html +25 -25
- package/app/m/support/SupportWorkLink/index.html +25 -25
- package/app/m/tags/Tag/index.html +25 -25
- package/app/m/tags/TagAlias/index.html +25 -25
- package/app/m/timesheets/AttendanceBreak/index.html +25 -25
- package/app/m/timesheets/AttendancePunch/index.html +25 -25
- package/app/m/timesheets/AttendanceSegment/index.html +25 -25
- package/app/m/timesheets/ServiceChargeSnapshot/index.html +25 -25
- package/app/m/timesheets/ServiceCompensationSnapshot/index.html +25 -25
- package/app/m/timesheets/ServiceTimeEntry/index.html +25 -25
- package/app/m/users/Group/index.html +25 -25
- package/app/m/users/GroupMember/index.html +25 -25
- package/app/m/users/GroupRole/index.html +25 -25
- package/app/m/users/Membership/index.html +25 -25
- package/app/m/users/MembershipOverride/index.html +25 -25
- package/app/m/users/Permission/index.html +25 -25
- package/app/m/users/Role/index.html +25 -25
- package/app/m/users/RolePermission/index.html +25 -25
- package/app/m/users/Session/index.html +25 -25
- package/app/m/users/Tenant/index.html +25 -25
- package/app/m/users/TenantIntegration/index.html +25 -25
- package/app/m/users/TenantPermissionOverride/index.html +25 -25
- package/app/m/users/User/index.html +25 -25
- package/app/m/video/Character/index.html +25 -25
- package/app/m/video/CharacterAsset/index.html +25 -25
- package/app/m/video/CompositeJob/index.html +25 -25
- package/app/m/video/Performer/index.html +25 -25
- package/app/m/video/PerformerAsset/index.html +25 -25
- package/app/m/video/Scene/index.html +25 -25
- package/app/m/video/SceneAsset/index.html +25 -25
- package/app/m/video/VideoComposition/index.html +25 -25
- package/app/m/video/VideoCompositionAsset/index.html +25 -25
- package/app/m/video/VideoSequence/index.html +25 -25
- package/app/m/video/VideoSequenceAsset/index.html +25 -25
- package/app/m/video/VideoShot/index.html +25 -25
- package/app/m/video/VideoShotAsset/index.html +25 -25
- package/app/m/video/VideoShotCharacter/index.html +25 -25
- package/app/m/video/VideoWorkflow/index.html +25 -25
- package/app/m/voice/VoiceOutput/index.html +25 -25
- package/app/m/voice/VoiceProfile/index.html +25 -25
- package/app/m/voice/VoiceSample/index.html +25 -25
- package/app/mcp.html +2 -2
- package/app/packages/ads/index.html +24 -24
- package/app/packages/analytics/index.html +24 -24
- package/app/packages/approvals/index.html +24 -24
- package/app/packages/assets/index.html +24 -24
- package/app/packages/chat/index.html +24 -24
- package/app/packages/comments/index.html +24 -24
- package/app/packages/commerce/index.html +25 -25
- package/app/packages/content/index.html +24 -24
- package/app/packages/events/index.html +24 -24
- package/app/packages/expenses/index.html +25 -25
- package/app/packages/facts/index.html +24 -24
- package/app/packages/fields/index.html +24 -24
- package/app/packages/human-resources/index.html +24 -24
- package/app/packages/images/index.html +24 -24
- package/app/packages/index.html +24 -24
- package/app/packages/ingestion/index.html +24 -24
- package/app/packages/inventory/index.html +24 -24
- package/app/packages/ledgers/index.html +24 -24
- package/app/packages/manufacturing/index.html +24 -24
- package/app/packages/marketing/index.html +24 -24
- package/app/packages/messages/index.html +24 -24
- package/app/packages/places/index.html +24 -24
- package/app/packages/preferences/index.html +24 -24
- package/app/packages/products/index.html +24 -24
- package/app/packages/profiles/index.html +24 -24
- package/app/packages/projects/index.html +24 -24
- package/app/packages/properties/index.html +24 -24
- package/app/packages/reports/index.html +24 -24
- package/app/packages/sales/index.html +24 -24
- package/app/packages/sites/index.html +24 -24
- package/app/packages/social/index.html +24 -24
- package/app/packages/subscriptions/index.html +24 -24
- package/app/packages/support/index.html +24 -24
- package/app/packages/tags/index.html +24 -24
- package/app/packages/timesheets/index.html +24 -24
- package/app/packages/users/index.html +24 -24
- package/app/packages/video/index.html +24 -24
- package/app/packages/voice/index.html +24 -24
- package/app/packages/webhooks/index.html +24 -24
- package/app/recipes/account-access/help/index.html +24 -24
- package/app/recipes/account-access/index.html +26 -26
- package/app/recipes/activity/help/index.html +24 -24
- package/app/recipes/activity/index.html +26 -26
- package/app/recipes/agreements/help/index.html +26 -26
- package/app/recipes/agreements/index.html +27 -27
- package/app/recipes/analytics.reports/help/index.html +24 -24
- package/app/recipes/analytics.reports/index.html +26 -26
- package/app/recipes/assets/help/index.html +24 -24
- package/app/recipes/assets/index.html +27 -27
- package/app/recipes/billing/help/index.html +26 -26
- package/app/recipes/billing/index.html +26 -26
- package/app/recipes/chat.assistant/help/index.html +24 -24
- package/app/recipes/chat.assistant/index.html +26 -26
- package/app/recipes/comments/help/index.html +24 -24
- package/app/recipes/comments/index.html +26 -26
- package/app/recipes/commerce.customers/help/index.html +24 -24
- package/app/recipes/commerce.customers/index.html +26 -26
- package/app/recipes/commerce.estimates/help/index.html +26 -26
- package/app/recipes/commerce.estimates/index.html +26 -26
- package/app/recipes/commerce.purchases/help/index.html +26 -26
- package/app/recipes/commerce.purchases/index.html +26 -26
- package/app/recipes/commerce.sales/help/index.html +26 -26
- package/app/recipes/commerce.sales/index.html +26 -26
- package/app/recipes/commerce.vendors/help/index.html +24 -24
- package/app/recipes/commerce.vendors/index.html +26 -26
- package/app/recipes/commerce.wholesale/help/index.html +26 -26
- package/app/recipes/commerce.wholesale/index.html +26 -26
- package/app/recipes/events.calendar/help/index.html +24 -24
- package/app/recipes/events.calendar/index.html +26 -26
- package/app/recipes/expenses.tracking/help/index.html +26 -26
- package/app/recipes/expenses.tracking/index.html +26 -26
- package/app/recipes/fields.form-customization/help/index.html +24 -24
- package/app/recipes/fields.form-customization/index.html +26 -26
- package/app/recipes/ingestion/help/index.html +24 -24
- package/app/recipes/ingestion/index.html +26 -26
- package/app/recipes/integrations/help/index.html +24 -24
- package/app/recipes/integrations/index.html +26 -26
- package/app/recipes/inventory.stock/help/index.html +24 -24
- package/app/recipes/inventory.stock/index.html +26 -26
- package/app/recipes/ledgers.bookkeeping/help/index.html +24 -24
- package/app/recipes/ledgers.bookkeeping/index.html +26 -26
- package/app/recipes/messages/help/index.html +24 -24
- package/app/recipes/messages/index.html +26 -26
- package/app/recipes/products/help/index.html +24 -24
- package/app/recipes/products/index.html +26 -26
- package/app/recipes/projects.tracker/help/index.html +24 -24
- package/app/recipes/projects.tracker/index.html +27 -27
- package/app/recipes/reports.materialized/help/index.html +26 -26
- package/app/recipes/reports.materialized/index.html +29 -29
- package/app/recipes/reports.runtime/help/index.html +24 -24
- package/app/recipes/reports.runtime/index.html +27 -27
- package/app/recipes/sales.pipeline/help/index.html +24 -24
- package/app/recipes/sales.pipeline/index.html +26 -26
- package/app/recipes/tags.taxonomy/help/index.html +24 -24
- package/app/recipes/tags.taxonomy/index.html +26 -26
- package/app/recipes/team-collaboration/help/index.html +24 -24
- package/app/recipes/team-collaboration/index.html +26 -26
- package/app/recipes/timesheets.time-entries/help/index.html +24 -24
- package/app/recipes/timesheets.time-entries/index.html +26 -26
- package/app/s/custom-accounts/index.html +22 -22
- package/app/s/custom-appointments/index.html +22 -22
- package/app/s/custom-billing/index.html +22 -22
- package/app/s/custom-buying/index.html +22 -22
- package/app/s/custom-checkout/index.html +22 -22
- package/app/s/custom-classes/index.html +22 -22
- package/app/s/custom-clients/index.html +22 -22
- package/app/s/custom-events/index.html +22 -22
- package/app/s/custom-fleet/index.html +22 -22
- package/app/s/custom-giving/index.html +22 -22
- package/app/s/custom-jobs/index.html +22 -22
- package/app/s/custom-kitchen/index.html +22 -22
- package/app/s/custom-material/index.html +22 -22
- package/app/s/custom-meetings/index.html +22 -22
- package/app/s/custom-members/index.html +22 -22
- package/app/s/custom-paint/index.html +82 -0
- package/app/s/custom-parts/index.html +22 -22
- package/app/s/custom-rentals/index.html +22 -22
- package/app/s/custom-roastery/index.html +22 -22
- package/app/s/custom-schedule/index.html +22 -22
- package/app/s/custom-shelf/index.html +22 -22
- package/app/s/custom-shop/index.html +22 -22
- package/app/s/custom-wholesale/index.html +22 -22
- package/app/s/custom-work/index.html +22 -22
- package/app/s/custom-yard/index.html +22 -22
- package/app/s/section-access-control/index.html +22 -22
- package/app/s/section-account-security/index.html +22 -22
- package/app/s/section-accounting/index.html +22 -22
- package/app/s/section-activity/index.html +22 -22
- package/app/s/section-agreements/index.html +22 -22
- package/app/s/section-analytics/index.html +22 -22
- package/app/s/section-assets/index.html +22 -22
- package/app/s/section-billing/index.html +22 -22
- package/app/s/section-calendar/index.html +22 -22
- package/app/s/section-catalog/index.html +22 -22
- package/app/s/section-chat.assistant/index.html +22 -22
- package/app/s/section-comments/index.html +22 -22
- package/app/s/section-fields.form-customization/index.html +22 -22
- package/app/s/section-ingestion/index.html +22 -22
- package/app/s/section-integrations/index.html +22 -22
- package/app/s/section-messages/index.html +22 -22
- package/app/s/section-more/index.html +22 -22
- package/app/s/section-operations/index.html +22 -22
- package/app/s/section-projects/index.html +22 -22
- package/app/s/section-purchasing/index.html +22 -22
- package/app/s/section-reports.materialized/index.html +22 -22
- package/app/s/section-reports.runtime/index.html +22 -22
- package/app/s/section-sales/index.html +22 -22
- package/app/s/section-taxonomy/index.html +22 -22
- package/app/s/section-team/index.html +22 -22
- package/app/s/section-work/index.html +22 -22
- package/dist/ai/instance.d.ts.map +1 -1
- package/dist/ai/instance.js +9 -1
- package/dist/assistant/change.d.ts +13 -3
- package/dist/assistant/change.d.ts.map +1 -1
- package/dist/assistant/change.js +18 -3
- package/dist/assistant/prompt.d.ts +6 -1
- package/dist/assistant/prompt.d.ts.map +1 -1
- package/dist/assistant/prompt.js +13 -1
- package/dist/assistant/session.svelte.d.ts +5 -0
- package/dist/assistant/session.svelte.d.ts.map +1 -1
- package/dist/assistant/session.svelte.js +1 -0
- package/dist/assistant/transport.d.ts +24 -1
- package/dist/assistant/transport.d.ts.map +1 -1
- package/dist/assistant/transport.js +57 -8
- package/dist/catalog/catalog.json +1354 -51
- package/dist/components/BrowserAssistant.svelte +0 -2
- package/dist/components/BrowserAssistant.svelte.d.ts.map +1 -1
- package/dist/components/CookbooksPanel.svelte +101 -21
- package/dist/components/CookbooksPanel.svelte.d.ts.map +1 -1
- package/dist/data/format.d.ts.map +1 -1
- package/dist/data/format.js +3 -0
- package/dist/data/money.d.ts +1 -1
- package/dist/data/money.js +2 -2
- package/dist/data/packs.d.ts +0 -1
- package/dist/data/packs.d.ts.map +1 -1
- package/dist/data/packs.js +835 -1
- package/dist/library/apply.d.ts +7 -3
- package/dist/library/apply.d.ts.map +1 -1
- package/dist/library/apply.js +19 -6
- package/dist/library/document.d.ts +9 -0
- package/dist/library/document.d.ts.map +1 -1
- package/dist/library/document.js +29 -0
- package/dist/library/icons.d.ts.map +1 -1
- package/dist/library/icons.js +15 -0
- package/dist/library/index.d.ts +4 -1
- package/dist/library/index.d.ts.map +1 -1
- package/dist/library/index.js +9 -2
- package/dist/library/library.json +919 -14
- package/dist/library/state.svelte.d.ts +5 -1
- package/dist/library/state.svelte.d.ts.map +1 -1
- package/dist/library/state.svelte.js +12 -1
- package/dist/library/view.svelte.d.ts +41 -0
- package/dist/library/view.svelte.d.ts.map +1 -0
- package/dist/library/view.svelte.js +67 -0
- package/dist/planner/Planner.svelte +79 -2
- package/dist/planner/Planner.svelte.d.ts.map +1 -1
- package/dist/planner/PlannerControls.svelte +21 -2
- package/dist/planner/PlannerControls.svelte.d.ts.map +1 -1
- package/dist/planner/assistant.d.ts.map +1 -1
- package/dist/planner/assistant.js +9 -0
- package/dist/planner/commands/adapter.d.ts.map +1 -1
- package/dist/planner/commands/adapter.js +10 -3
- package/dist/planner/commands/controller.svelte.d.ts.map +1 -1
- package/dist/planner/commands/controller.svelte.js +2 -1
- package/dist/recipes/scope.d.ts +23 -0
- package/dist/recipes/scope.d.ts.map +1 -1
- package/dist/recipes/scope.js +20 -0
- package/dist/smrt-version.d.ts +1 -1
- package/dist/smrt-version.js +1 -1
- package/package.json +56 -56
- package/app/_app/immutable/assets/2.Djk1H2wk.css +0 -1
- package/app/_app/immutable/chunks/BV_A2GBw.js +0 -24
- package/app/_app/immutable/chunks/CbCYY1ps.js +0 -1
- package/app/_app/immutable/chunks/DD4mX3od.js +0 -1
- package/app/_app/immutable/chunks/DgkBKeKW.js +0 -4
- package/app/_app/immutable/chunks/DvUWb_GS.js +0 -1
- package/app/_app/immutable/chunks/M81UeXT1.js +0 -1
- package/app/_app/immutable/chunks/g7M7feZg.js +0 -1
- package/app/_app/immutable/chunks/r7IFcw-O.js +0 -1
- package/app/_app/immutable/entry/start.BixveMT0.js +0 -1
- package/app/_app/immutable/nodes/0._WFh95JB.js +0 -9
- package/app/_app/immutable/nodes/2.D3Lg90Nn.js +0 -24
- /package/app/_app/immutable/chunks/{DVQPWAnI.js → Bv5jGtB8.js} +0 -0
|
@@ -13,7 +13,6 @@ import { useDataSource } from '../data/context.js';
|
|
|
13
13
|
import { applyLibraryCookbook, needsConfirm } from '../library/apply.js';
|
|
14
14
|
import { getLibraryCookbook } from '../library/index.js';
|
|
15
15
|
import { previewMenu } from '../library/menu.js';
|
|
16
|
-
import { libraryState } from '../library/state.svelte.js';
|
|
17
16
|
import { appHref } from '../planner/app.svelte.js';
|
|
18
17
|
import { settingsOfCookbook } from '../settings/app-settings.js';
|
|
19
18
|
import VoiceTyping from './VoiceTyping.svelte';
|
|
@@ -58,7 +57,6 @@ $effect(() => {
|
|
|
58
57
|
);
|
|
59
58
|
if (!result.ok) return result.error;
|
|
60
59
|
dataSource.reset?.();
|
|
61
|
-
libraryState.select(cookbook.id);
|
|
62
60
|
return null;
|
|
63
61
|
};
|
|
64
62
|
return () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserAssistant.svelte.d.ts","sourceRoot":"","sources":["../../src/lib/components/BrowserAssistant.svelte.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"BrowserAssistant.svelte.d.ts","sourceRoot":"","sources":["../../src/lib/components/BrowserAssistant.svelte.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAiB/E,UAAU,qBAAqB;IAC7B,uDAAuD;IACvD,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,oEAAoE;IACpE,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AA6KD,QAAA,MAAM,gBAAgB,2DAAwC,CAAC;AAC/D,KAAK,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC5D,eAAe,gBAAgB,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { tryUseAdminShell } from '@happyvertical/smrt-svelte/workspace';
|
|
3
3
|
import { Button } from '@happyvertical/smrt-ui';
|
|
4
4
|
import { Alert, ConfirmDialog } from '@happyvertical/smrt-ui/feedback';
|
|
5
|
-
import { onMount } from 'svelte';
|
|
5
|
+
import { onMount, tick } from 'svelte';
|
|
6
6
|
import { cookbookStore } from '../cookbook/store.svelte.js';
|
|
7
7
|
import { useDataSource } from '../data/context.js';
|
|
8
8
|
import {
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
} from '../library/index.js';
|
|
19
19
|
import { previewMenu } from '../library/menu.js';
|
|
20
20
|
import { libraryState } from '../library/state.svelte.js';
|
|
21
|
+
import { cookbookView } from '../library/view.svelte.js';
|
|
21
22
|
import { recipeState } from '../recipes/state.svelte.js';
|
|
22
23
|
import {
|
|
23
24
|
type AppSettings as Settings,
|
|
@@ -27,17 +28,62 @@ import AppSettings from './AppSettings.svelte';
|
|
|
27
28
|
|
|
28
29
|
const dataSource = useDataSource();
|
|
29
30
|
const shell = tryUseAdminShell();
|
|
30
|
-
let selectedId = $state<string | null>(null);
|
|
31
31
|
let confirming = $state(false);
|
|
32
32
|
let error = $state('');
|
|
33
33
|
let notice = $state('');
|
|
34
34
|
|
|
35
35
|
onMount(() => {
|
|
36
36
|
libraryState.load();
|
|
37
|
-
selectedId = libraryState.active;
|
|
38
37
|
});
|
|
39
38
|
|
|
40
|
-
|
|
39
|
+
// The grid, or one cookbook's detail in its place (`cookbookView`; the host
|
|
40
|
+
// keeps it in the address, so Back returns to the grid).
|
|
41
|
+
const selected = $derived(
|
|
42
|
+
libraryCookbooks.find((c) => c.id === cookbookView.open),
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
// Focus follows the swap: the detail's heading on the way in, the card the
|
|
46
|
+
// visitor came from on the way out, each scrolled into view. Not on the first
|
|
47
|
+
// render, so a link that opens a cookbook does not take focus from the page.
|
|
48
|
+
let grid = $state<HTMLElement | null>(null);
|
|
49
|
+
let detailHeading = $state<HTMLElement | null>(null);
|
|
50
|
+
let shownId: string | null | undefined;
|
|
51
|
+
$effect(() => {
|
|
52
|
+
const id = selected?.id ?? null;
|
|
53
|
+
const first = shownId === undefined;
|
|
54
|
+
const changed = shownId !== id;
|
|
55
|
+
shownId = id;
|
|
56
|
+
if (first || !changed) return;
|
|
57
|
+
void tick().then(() => {
|
|
58
|
+
if (id) {
|
|
59
|
+
detailHeading?.scrollIntoView({ block: 'nearest' });
|
|
60
|
+
detailHeading?.focus({ preventScroll: true });
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
const card = grid?.querySelector<HTMLElement>(
|
|
64
|
+
`[data-cookbook="${cookbookView.returnTo ?? ''}"]`,
|
|
65
|
+
);
|
|
66
|
+
card?.scrollIntoView({ block: 'nearest' });
|
|
67
|
+
card?.focus({ preventScroll: true });
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
function open(cookbook: LibraryCookbook) {
|
|
72
|
+
notice = '';
|
|
73
|
+
error = '';
|
|
74
|
+
cookbookView.show(cookbook.id);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
function back() {
|
|
78
|
+
cookbookView.back();
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// Escape leaves the detail, unless a dialog or a control is using it.
|
|
82
|
+
function onDetailKeydown(event: KeyboardEvent) {
|
|
83
|
+
if (event.key !== 'Escape' || event.defaultPrevented || confirming) return;
|
|
84
|
+
event.preventDefault();
|
|
85
|
+
back();
|
|
86
|
+
}
|
|
41
87
|
|
|
42
88
|
// The preview's editable copy of the cookbook's settings; choosing a cookbook
|
|
43
89
|
// (again) resets it to the cookbook's own values. The cookbook is never changed.
|
|
@@ -69,7 +115,6 @@ function commit() {
|
|
|
69
115
|
if (result.ok) {
|
|
70
116
|
// Sample records are regenerated from the cookbook's own sample data.
|
|
71
117
|
dataSource.reset?.();
|
|
72
|
-
libraryState.select(selected.id);
|
|
73
118
|
error = '';
|
|
74
119
|
const count = previewMenu(selected.document).length;
|
|
75
120
|
notice = `${selected.name} added ${count} menu sections. Explore them in the left sidebar.`;
|
|
@@ -91,16 +136,17 @@ function commit() {
|
|
|
91
136
|
anything in the other tabs.
|
|
92
137
|
</p>
|
|
93
138
|
|
|
94
|
-
<
|
|
139
|
+
<div class="swap">
|
|
140
|
+
{#if !selected}
|
|
141
|
+
<ul class="grid" aria-label="Cookbooks" bind:this={grid}>
|
|
95
142
|
{#each libraryCookbooks as cookbook (cookbook.id)}
|
|
96
143
|
{@const active = isActive(cookbook)}
|
|
97
144
|
<li>
|
|
98
145
|
<button
|
|
99
146
|
type="button"
|
|
100
147
|
class="card"
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
onclick={() => { selectedId = cookbook.id; notice = ''; }}
|
|
148
|
+
data-cookbook={cookbook.id}
|
|
149
|
+
onclick={() => open(cookbook)}
|
|
104
150
|
>
|
|
105
151
|
<span class="heading">
|
|
106
152
|
<svg
|
|
@@ -128,10 +174,22 @@ function commit() {
|
|
|
128
174
|
{/each}
|
|
129
175
|
</ul>
|
|
130
176
|
|
|
131
|
-
{
|
|
177
|
+
{:else}
|
|
132
178
|
{@const menu = previewMenu(selected.document)}
|
|
133
|
-
|
|
134
|
-
|
|
179
|
+
<!-- svelte-ignore a11y_no_noninteractive_element_interactions -->
|
|
180
|
+
<section
|
|
181
|
+
class="preview"
|
|
182
|
+
aria-labelledby="preview-heading"
|
|
183
|
+
data-cookbook-detail={selected.id}
|
|
184
|
+
onkeydown={onDetailKeydown}
|
|
185
|
+
>
|
|
186
|
+
<div class="back">
|
|
187
|
+
<Button variant="ghost" onclick={back}>
|
|
188
|
+
<span aria-hidden="true">←</span> Back to cookbooks
|
|
189
|
+
</Button>
|
|
190
|
+
</div>
|
|
191
|
+
<h2 id="preview-heading" tabindex="-1" bind:this={detailHeading}>{selected.name}</h2>
|
|
192
|
+
<p class="summary">{selected.summary}</p>
|
|
135
193
|
<div class="block">
|
|
136
194
|
<h3>Recipes</h3>
|
|
137
195
|
<ul class="chips" aria-label="Recipes">
|
|
@@ -169,6 +227,7 @@ function commit() {
|
|
|
169
227
|
</div>
|
|
170
228
|
</section>
|
|
171
229
|
{/if}
|
|
230
|
+
</div>
|
|
172
231
|
|
|
173
232
|
{#if error}
|
|
174
233
|
<Alert variant="error" title="Could not use this cookbook">{error}</Alert>
|
|
@@ -236,9 +295,9 @@ function commit() {
|
|
|
236
295
|
cursor: pointer;
|
|
237
296
|
}
|
|
238
297
|
|
|
239
|
-
.card
|
|
240
|
-
|
|
241
|
-
outline:
|
|
298
|
+
.card:focus-visible {
|
|
299
|
+
outline: var(--smrt-focus-ring-width) solid var(--smrt-focus-ring-color);
|
|
300
|
+
outline-offset: var(--smrt-focus-ring-offset);
|
|
242
301
|
}
|
|
243
302
|
|
|
244
303
|
.icon {
|
|
@@ -320,12 +379,33 @@ function commit() {
|
|
|
320
379
|
gap: var(--smrt-spacing-3);
|
|
321
380
|
}
|
|
322
381
|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
382
|
+
.back {
|
|
383
|
+
justify-self: start;
|
|
384
|
+
margin-inline-start: calc(-1 * var(--smrt-spacing-2));
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.preview h2:focus {
|
|
388
|
+
outline: none;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.preview h2:focus-visible {
|
|
392
|
+
outline: var(--smrt-focus-ring-width) solid var(--smrt-focus-ring-color);
|
|
393
|
+
outline-offset: var(--smrt-focus-ring-offset);
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
/* The grid and the detail swap in one place: while a view transition runs
|
|
397
|
+
(`runViewTransition` marks the root) they share a name, so the swap is a
|
|
398
|
+
short crossfade there rather than the whole page's. Reduced motion skips
|
|
399
|
+
the transition outright. */
|
|
400
|
+
:global([data-smrt-view-transition]) .swap {
|
|
401
|
+
view-transition-name: planner-cookbooks;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
:global(::view-transition-group(planner-cookbooks)),
|
|
405
|
+
:global(::view-transition-old(planner-cookbooks)),
|
|
406
|
+
:global(::view-transition-new(planner-cookbooks)) {
|
|
407
|
+
animation-duration: var(--smrt-duration-short4);
|
|
408
|
+
animation-timing-function: var(--smrt-easing-standard);
|
|
329
409
|
}
|
|
330
410
|
}
|
|
331
411
|
</style>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CookbooksPanel.svelte.d.ts","sourceRoot":"","sources":["../../src/lib/components/CookbooksPanel.svelte.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CookbooksPanel.svelte.d.ts","sourceRoot":"","sources":["../../src/lib/components/CookbooksPanel.svelte.ts"],"names":[],"mappings":"AA2OA,QAAA,MAAM,cAAc,2DAAwC,CAAC;AAC7D,KAAK,cAAc,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AACxD,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../src/lib/data/format.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAQxD,gFAAgF;AAChF,wBAAgB,WAAW,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAEtD;AAED,kEAAkE;AAClE,eAAO,MAAM,QAAQ,GAAI,SAAS,MAAM,EAAE,IAAI,OAAO,KAAG,MAC5B,CAAC;AAE7B;;;;GAIG;AACH,wBAAgB,WAAW,CACzB,KAAK,EAAE,YAAY,GAAG;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,EAC5C,KAAK,EAAE,OAAO,EACd,MAAM,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,GACnC,MAAM,CA4BR;AAED,6EAA6E;AAC7E,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAGhD;AAED,oEAAoE;AACpE,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAM7C;AAED,sEAAsE;AACtE,wBAA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CAAC,KAAK,EAAE,YAAY,GAAG,MAAM,CAQtD;AAED,uDAAuD;AACvD,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEtD;AAED,gFAAgF;AAChF,eAAO,MAAM,cAAc,GAAI,OAAO,YAAY,KAAG,OACoB,CAAC;AAE1E;;;GAGG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE/C"}
|
package/dist/data/format.js
CHANGED
|
@@ -58,6 +58,9 @@ export function humanize(name) {
|
|
|
58
58
|
}
|
|
59
59
|
/** English plural of a model's label: "Agreement" -> "Agreements". */
|
|
60
60
|
export function pluralize(label) {
|
|
61
|
+
// Its own plural, as `singularize` treats it: "Event series".
|
|
62
|
+
if (/(series|species)$/i.test(label))
|
|
63
|
+
return label;
|
|
61
64
|
if (/[^aeiou]y$/i.test(label))
|
|
62
65
|
return `${label.slice(0, -1)}ies`;
|
|
63
66
|
if (/(s|x|z|ch|sh)$/i.test(label))
|
package/dist/data/money.d.ts
CHANGED
|
@@ -134,7 +134,7 @@ export declare function percentText(rate: number): string;
|
|
|
134
134
|
* smrt-commerce's cookbook activation (`applyCommerceCookbookSettings`)
|
|
135
135
|
* creates it, so the planner prices what an exported cookbook will: no rate
|
|
136
136
|
* (0) is `out-of-scope`, any other rate the `default-<rate>` code with one
|
|
137
|
-
* `
|
|
137
|
+
* `Tax <rate>%` component. The example pack's codes are only ever chosen
|
|
138
138
|
* explicitly, on a line (`examplePackCodeFor`).
|
|
139
139
|
*/
|
|
140
140
|
export declare function defaultTaxCode(rate: number): SampleTaxCode;
|
package/dist/data/money.js
CHANGED
|
@@ -169,7 +169,7 @@ export function percentText(rate) {
|
|
|
169
169
|
* smrt-commerce's cookbook activation (`applyCommerceCookbookSettings`)
|
|
170
170
|
* creates it, so the planner prices what an exported cookbook will: no rate
|
|
171
171
|
* (0) is `out-of-scope`, any other rate the `default-<rate>` code with one
|
|
172
|
-
* `
|
|
172
|
+
* `Tax <rate>%` component. The example pack's codes are only ever chosen
|
|
173
173
|
* explicitly, on a line (`examplePackCodeFor`).
|
|
174
174
|
*/
|
|
175
175
|
export function defaultTaxCode(rate) {
|
|
@@ -177,7 +177,7 @@ export function defaultTaxCode(rate) {
|
|
|
177
177
|
if (!(rate > 0) && outOfScope)
|
|
178
178
|
return outOfScope;
|
|
179
179
|
const percent = percentText(rate);
|
|
180
|
-
return code(`default-${percent.replace('.', '_')}`, `Default ${percent}%`, 'taxable', [component(`cookbook-${percent}`, `
|
|
180
|
+
return code(`default-${percent.replace('.', '_')}`, `Default ${percent}%`, 'taxable', [component(`cookbook-${percent}`, `Tax ${percent}%`, percent, false)]);
|
|
181
181
|
}
|
|
182
182
|
/**
|
|
183
183
|
* The example-pack code a sample line in an app of this currency may choose
|
package/dist/data/packs.d.ts
CHANGED
|
@@ -77,7 +77,6 @@ export interface SamplePack {
|
|
|
77
77
|
weights?: Readonly<Record<string, Readonly<Record<string, number>>>>;
|
|
78
78
|
}
|
|
79
79
|
export declare const GENERIC_PACK: SamplePack;
|
|
80
|
-
/** The packs that ship with cookbooks, by cookbook id. */
|
|
81
80
|
export declare const COOKBOOK_PACKS: Readonly<Record<string, SamplePack>>;
|
|
82
81
|
/** The pack the generator reads right now. */
|
|
83
82
|
export declare function getSamplePack(): SamplePack;
|
package/dist/data/packs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packs.d.ts","sourceRoot":"","sources":["../../src/lib/data/packs.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,0DAA0D;AAC1D,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uFAAuF;IACvF,WAAW,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;IAClD,mFAAmF;IACnF,E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