@mistriwork/mistri 1.0.0-rc.28 → 1.0.0-rc.29
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/CHANGELOG.md +4 -0
- package/README.md +1 -1
- package/dist/client/assets/AccountAdministration-BJWkIuKa.js +2 -0
- package/dist/client/assets/AccountAdministration-BJWkIuKa.js.br +0 -0
- package/dist/client/assets/AccountAdministration-BJWkIuKa.js.gz +0 -0
- package/dist/client/assets/AccountAdministration-BJWkIuKa.js.map +1 -0
- package/dist/client/assets/AccountControl-Dnvml_O9.js +3 -0
- package/dist/client/assets/AccountControl-Dnvml_O9.js.br +0 -0
- package/dist/client/assets/AccountControl-Dnvml_O9.js.gz +0 -0
- package/dist/client/assets/AccountControl-Dnvml_O9.js.map +1 -0
- package/dist/client/assets/AccountProfile-SgPB7EBr.js +2 -0
- package/dist/client/assets/AccountProfile-SgPB7EBr.js.br +0 -0
- package/dist/client/assets/AccountProfile-SgPB7EBr.js.gz +0 -0
- package/dist/client/assets/AccountProfile-SgPB7EBr.js.map +1 -0
- package/dist/client/assets/ApiOperations-Ds5ATnYO.js +2 -0
- package/dist/client/assets/ApiOperations-Ds5ATnYO.js.br +0 -0
- package/dist/client/assets/ApiOperations-Ds5ATnYO.js.gz +0 -0
- package/dist/client/assets/ApiOperations-Ds5ATnYO.js.map +1 -0
- package/dist/client/assets/AppColumnMenuPopups-CfwJrwdp.js +2 -0
- package/dist/client/assets/AppColumnMenuPopups-CfwJrwdp.js.br +0 -0
- package/dist/client/assets/AppColumnMenuPopups-CfwJrwdp.js.gz +0 -0
- package/dist/client/assets/AppColumnMenuPopups-CfwJrwdp.js.map +1 -0
- package/dist/client/assets/AssistantPanel-BPYR8TAr.js +3 -0
- package/dist/client/assets/AssistantPanel-BPYR8TAr.js.br +0 -0
- package/dist/client/assets/AssistantPanel-BPYR8TAr.js.gz +0 -0
- package/dist/client/assets/AssistantPanel-BPYR8TAr.js.map +1 -0
- package/dist/client/assets/AttachmentList-Ds3F-qrY.js +3 -0
- package/dist/client/assets/AttachmentList-Ds3F-qrY.js.br +0 -0
- package/dist/client/assets/AttachmentList-Ds3F-qrY.js.gz +0 -0
- package/dist/client/assets/AttachmentList-Ds3F-qrY.js.map +1 -0
- package/dist/client/assets/BoardCardEditor-DaB2Koz5.js +2 -0
- package/dist/client/assets/BoardCardEditor-DaB2Koz5.js.br +0 -0
- package/dist/client/assets/BoardCardEditor-DaB2Koz5.js.gz +0 -0
- package/dist/client/assets/BoardCardEditor-DaB2Koz5.js.map +1 -0
- package/dist/client/assets/BoardList-JJryMxe4.js +5 -0
- package/dist/client/assets/BoardList-JJryMxe4.js.br +0 -0
- package/dist/client/assets/BoardList-JJryMxe4.js.gz +0 -0
- package/dist/client/assets/BoardList-JJryMxe4.js.map +1 -0
- package/dist/client/assets/BrandingForm-CqAJQmgV.js +2 -0
- package/dist/client/assets/BrandingForm-CqAJQmgV.js.br +0 -0
- package/dist/client/assets/BrandingForm-CqAJQmgV.js.gz +0 -0
- package/dist/client/assets/BrandingForm-CqAJQmgV.js.map +1 -0
- package/dist/client/assets/BreakdownRoom-BJtsBdZ1.js +2 -0
- package/dist/client/assets/BreakdownRoom-BJtsBdZ1.js.br +0 -0
- package/dist/client/assets/BreakdownRoom-BJtsBdZ1.js.gz +0 -0
- package/dist/client/assets/BreakdownRoom-BJtsBdZ1.js.map +1 -0
- package/dist/client/assets/CalendarList-uv63-QNK.js +2 -0
- package/dist/client/assets/CalendarList-uv63-QNK.js.br +0 -0
- package/dist/client/assets/CalendarList-uv63-QNK.js.gz +0 -0
- package/dist/client/assets/CalendarList-uv63-QNK.js.map +1 -0
- package/dist/client/assets/CardsList-DZqHEGbJ.js +2 -0
- package/dist/client/assets/CardsList-DZqHEGbJ.js.br +0 -0
- package/dist/client/assets/CardsList-DZqHEGbJ.js.gz +0 -0
- package/dist/client/assets/CardsList-DZqHEGbJ.js.map +1 -0
- package/dist/client/assets/Chart-ef7Tmcn8.js +2 -0
- package/dist/client/assets/Chart-ef7Tmcn8.js.br +0 -0
- package/dist/client/assets/Chart-ef7Tmcn8.js.gz +0 -0
- package/dist/client/assets/Chart-ef7Tmcn8.js.map +1 -0
- package/dist/client/assets/ChartFigure-BgZ-C3hg.js +3 -0
- package/dist/client/assets/ChartFigure-BgZ-C3hg.js.br +0 -0
- package/dist/client/assets/ChartFigure-BgZ-C3hg.js.gz +0 -0
- package/dist/client/assets/ChartFigure-BgZ-C3hg.js.map +1 -0
- package/dist/client/assets/ChartShapes-fht7Cjp3.js +2 -0
- package/dist/client/assets/ChartShapes-fht7Cjp3.js.br +0 -0
- package/dist/client/assets/ChartShapes-fht7Cjp3.js.gz +0 -0
- package/dist/client/assets/ChartShapes-fht7Cjp3.js.map +1 -0
- package/dist/client/assets/CheckedAppTargetAction-C2i4ut-X.js +2 -0
- package/dist/client/assets/CheckedAppTargetAction-C2i4ut-X.js.br +0 -0
- package/dist/client/assets/CheckedAppTargetAction-C2i4ut-X.js.gz +0 -0
- package/dist/client/assets/CheckedAppTargetAction-C2i4ut-X.js.map +1 -0
- package/dist/client/assets/Choices-Bui8gjzN.js +2 -0
- package/dist/client/assets/Choices-Bui8gjzN.js.br +0 -0
- package/dist/client/assets/Choices-Bui8gjzN.js.gz +0 -0
- package/dist/client/assets/Choices-Bui8gjzN.js.map +1 -0
- package/dist/client/assets/ClaimInvitation-D0ZpOFX4.js +2 -0
- package/dist/client/assets/ClaimInvitation-D0ZpOFX4.js.br +0 -0
- package/dist/client/assets/ClaimInvitation-D0ZpOFX4.js.gz +0 -0
- package/dist/client/assets/ClaimInvitation-D0ZpOFX4.js.map +1 -0
- package/dist/client/assets/CommandAnswers-CIVzjxbD.js +2 -0
- package/dist/client/assets/CommandAnswers-CIVzjxbD.js.br +0 -0
- package/dist/client/assets/CommandAnswers-CIVzjxbD.js.gz +0 -0
- package/dist/client/assets/CommandAnswers-CIVzjxbD.js.map +1 -0
- package/dist/client/assets/CommandForm-DNc_m3Fy.js +3 -0
- package/dist/client/assets/CommandForm-DNc_m3Fy.js.br +0 -0
- package/dist/client/assets/CommandForm-DNc_m3Fy.js.gz +0 -0
- package/dist/client/assets/CommandForm-DNc_m3Fy.js.map +1 -0
- package/dist/client/assets/CommandLines-BBlpKIcU.js +2 -0
- package/dist/client/assets/CommandLines-BBlpKIcU.js.br +0 -0
- package/dist/client/assets/CommandLines-BBlpKIcU.js.gz +0 -0
- package/dist/client/assets/CommandLines-BBlpKIcU.js.map +1 -0
- package/dist/client/assets/CommandLive-1jBFalGX.js +2 -0
- package/dist/client/assets/CommandLive-1jBFalGX.js.br +0 -0
- package/dist/client/assets/CommandLive-1jBFalGX.js.gz +0 -0
- package/dist/client/assets/CommandLive-1jBFalGX.js.map +1 -0
- package/dist/client/assets/CommandReference-CIOJInpm.js +3 -0
- package/dist/client/assets/CommandReference-CIOJInpm.js.br +0 -0
- package/dist/client/assets/CommandReference-CIOJInpm.js.gz +0 -0
- package/dist/client/assets/CommandReference-CIOJInpm.js.map +1 -0
- package/dist/client/assets/Composer-YeEnf9oc.js +5 -0
- package/dist/client/assets/Composer-YeEnf9oc.js.br +0 -0
- package/dist/client/assets/Composer-YeEnf9oc.js.gz +0 -0
- package/dist/client/assets/Composer-YeEnf9oc.js.map +1 -0
- package/dist/client/assets/CountedLabel-B2ixVjv4.js +2 -0
- package/dist/client/assets/CountedLabel-B2ixVjv4.js.br +0 -0
- package/dist/client/assets/CountedLabel-B2ixVjv4.js.gz +0 -0
- package/dist/client/assets/CountedLabel-B2ixVjv4.js.map +1 -0
- package/dist/client/assets/CustomList-75mkNQ3U.js +2 -0
- package/dist/client/assets/CustomList-75mkNQ3U.js.br +0 -0
- package/dist/client/assets/CustomList-75mkNQ3U.js.gz +0 -0
- package/dist/client/assets/CustomList-75mkNQ3U.js.map +1 -0
- package/dist/client/assets/CustomPage-B99Sv9LK.js +3 -0
- package/dist/client/assets/CustomPage-B99Sv9LK.js.br +0 -0
- package/dist/client/assets/CustomPage-B99Sv9LK.js.gz +0 -0
- package/dist/client/assets/CustomPage-B99Sv9LK.js.map +1 -0
- package/dist/client/assets/CustomSection-0M0lWAWg.js +2 -0
- package/dist/client/assets/CustomSection-0M0lWAWg.js.br +0 -0
- package/dist/client/assets/CustomSection-0M0lWAWg.js.gz +0 -0
- package/dist/client/assets/CustomSection-0M0lWAWg.js.map +1 -0
- package/dist/client/assets/Dashboard-CRXveXNc.js +3 -0
- package/dist/client/assets/Dashboard-CRXveXNc.js.br +0 -0
- package/dist/client/assets/Dashboard-CRXveXNc.js.gz +0 -0
- package/dist/client/assets/Dashboard-CRXveXNc.js.map +1 -0
- package/dist/client/assets/DashboardActivity-BpKq-oHG.js +2 -0
- package/dist/client/assets/DashboardActivity-BpKq-oHG.js.br +0 -0
- package/dist/client/assets/DashboardActivity-BpKq-oHG.js.gz +0 -0
- package/dist/client/assets/DashboardActivity-BpKq-oHG.js.map +1 -0
- package/dist/client/assets/DashboardFind-BqeTOJU-.js +2 -0
- package/dist/client/assets/DashboardFind-BqeTOJU-.js.br +0 -0
- package/dist/client/assets/DashboardFind-BqeTOJU-.js.gz +0 -0
- package/dist/client/assets/DashboardFind-BqeTOJU-.js.map +1 -0
- package/dist/client/assets/DashboardList-BKjYwXzk.js +2 -0
- package/dist/client/assets/DashboardList-BKjYwXzk.js.br +0 -0
- package/dist/client/assets/DashboardList-BKjYwXzk.js.gz +0 -0
- package/dist/client/assets/DashboardList-BKjYwXzk.js.map +1 -0
- package/dist/client/assets/DateTimeInput-DEamnvLO.js +2 -0
- package/dist/client/assets/DateTimeInput-DEamnvLO.js.br +0 -0
- package/dist/client/assets/DateTimeInput-DEamnvLO.js.gz +0 -0
- package/dist/client/assets/DateTimeInput-DEamnvLO.js.map +1 -0
- package/dist/client/assets/DecisionChip-BkzWq3zL.js +2 -0
- package/dist/client/assets/DecisionChip-BkzWq3zL.js.br +0 -0
- package/dist/client/assets/DecisionChip-BkzWq3zL.js.gz +0 -0
- package/dist/client/assets/DecisionChip-BkzWq3zL.js.map +1 -0
- package/dist/client/assets/DefinedFields-DwoiRLJ1.js +2 -0
- package/dist/client/assets/DefinedFields-DwoiRLJ1.js.br +0 -0
- package/dist/client/assets/DefinedFields-DwoiRLJ1.js.gz +0 -0
- package/dist/client/assets/DefinedFields-DwoiRLJ1.js.map +1 -0
- package/dist/client/assets/Diagram-DHEEcKFW.js +6 -0
- package/dist/client/assets/Diagram-DHEEcKFW.js.br +0 -0
- package/dist/client/assets/Diagram-DHEEcKFW.js.gz +0 -0
- package/dist/client/assets/Diagram-DHEEcKFW.js.map +1 -0
- package/dist/client/assets/Directory-Blc0UI7d.js +2 -0
- package/dist/client/assets/Directory-Blc0UI7d.js.br +0 -0
- package/dist/client/assets/Directory-Blc0UI7d.js.gz +0 -0
- package/dist/client/assets/Directory-Blc0UI7d.js.map +1 -0
- package/dist/client/assets/Document-nPE9O6LX.js +2 -0
- package/dist/client/assets/Document-nPE9O6LX.js.br +0 -0
- package/dist/client/assets/Document-nPE9O6LX.js.gz +0 -0
- package/dist/client/assets/Document-nPE9O6LX.js.map +1 -0
- package/dist/client/assets/Export-BGVdKfZV.js +2 -0
- package/dist/client/assets/Export-BGVdKfZV.js.br +0 -0
- package/dist/client/assets/Export-BGVdKfZV.js.gz +0 -0
- package/dist/client/assets/Export-BGVdKfZV.js.map +1 -0
- package/dist/client/assets/FilePreview-C5XJvy1z.js +2 -0
- package/dist/client/assets/FilePreview-C5XJvy1z.js.br +0 -0
- package/dist/client/assets/FilePreview-C5XJvy1z.js.gz +0 -0
- package/dist/client/assets/FilePreview-C5XJvy1z.js.map +1 -0
- package/dist/client/assets/FormClaimSurface-IGIFEiQP.js +2 -0
- package/dist/client/assets/FormClaimSurface-IGIFEiQP.js.br +0 -0
- package/dist/client/assets/FormClaimSurface-IGIFEiQP.js.gz +0 -0
- package/dist/client/assets/FormClaimSurface-IGIFEiQP.js.map +1 -0
- package/dist/client/assets/FormDialog-DrRXAOgY.js +3 -0
- package/dist/client/assets/FormDialog-DrRXAOgY.js.br +0 -0
- package/dist/client/assets/FormDialog-DrRXAOgY.js.gz +0 -0
- package/dist/client/assets/FormDialog-DrRXAOgY.js.map +1 -0
- package/dist/client/assets/FormLines-DA9WhamF.js +2 -0
- package/dist/client/assets/FormLines-DA9WhamF.js.br +0 -0
- package/dist/client/assets/FormLines-DA9WhamF.js.gz +0 -0
- package/dist/client/assets/FormLines-DA9WhamF.js.map +1 -0
- package/dist/client/assets/FormParts-B1u4EhJI.js +2 -0
- package/dist/client/assets/FormParts-B1u4EhJI.js.br +0 -0
- package/dist/client/assets/FormParts-B1u4EhJI.js.gz +0 -0
- package/dist/client/assets/FormParts-B1u4EhJI.js.map +1 -0
- package/dist/client/assets/FormStatusSurface-DGFeFxZK.js +2 -0
- package/dist/client/assets/FormStatusSurface-DGFeFxZK.js.br +0 -0
- package/dist/client/assets/FormStatusSurface-DGFeFxZK.js.gz +0 -0
- package/dist/client/assets/FormStatusSurface-DGFeFxZK.js.map +1 -0
- package/dist/client/assets/Gallery-BYU1CFra.js +3 -0
- package/dist/client/assets/Gallery-BYU1CFra.js.br +0 -0
- package/dist/client/assets/Gallery-BYU1CFra.js.gz +0 -0
- package/dist/client/assets/Gallery-BYU1CFra.js.map +1 -0
- package/dist/client/assets/GanttList-DcgQTELB.js +2 -0
- package/dist/client/assets/GanttList-DcgQTELB.js.br +0 -0
- package/dist/client/assets/GanttList-DcgQTELB.js.gz +0 -0
- package/dist/client/assets/GanttList-DcgQTELB.js.map +1 -0
- package/dist/client/assets/GridCellEditor-C55Cde5O.js +2 -0
- package/dist/client/assets/GridCellEditor-C55Cde5O.js.br +0 -0
- package/dist/client/assets/GridCellEditor-C55Cde5O.js.gz +0 -0
- package/dist/client/assets/GridCellEditor-C55Cde5O.js.map +1 -0
- package/dist/client/assets/HeldFiles-B8gy8PeA.js +3 -0
- package/dist/client/assets/HeldFiles-B8gy8PeA.js.br +0 -0
- package/dist/client/assets/HeldFiles-B8gy8PeA.js.gz +0 -0
- package/dist/client/assets/HeldFiles-B8gy8PeA.js.map +1 -0
- package/dist/client/assets/HelpPanel-B21ETxKd.js +2 -0
- package/dist/client/assets/HelpPanel-B21ETxKd.js.br +0 -0
- package/dist/client/assets/HelpPanel-B21ETxKd.js.gz +0 -0
- package/dist/client/assets/HelpPanel-B21ETxKd.js.map +1 -0
- package/dist/client/assets/ImportDialog-Dz8k-ldz.js +9 -0
- package/dist/client/assets/ImportDialog-Dz8k-ldz.js.br +0 -0
- package/dist/client/assets/ImportDialog-Dz8k-ldz.js.gz +0 -0
- package/dist/client/assets/ImportDialog-Dz8k-ldz.js.map +1 -0
- package/dist/client/assets/InboxList-DRXxs_Ga.js +2 -0
- package/dist/client/assets/InboxList-DRXxs_Ga.js.br +0 -0
- package/dist/client/assets/InboxList-DRXxs_Ga.js.gz +0 -0
- package/dist/client/assets/InboxList-DRXxs_Ga.js.map +1 -0
- package/dist/client/assets/IntakeControls-BquU0S8l.js +2 -0
- package/dist/client/assets/IntakeControls-BquU0S8l.js.br +0 -0
- package/dist/client/assets/IntakeControls-BquU0S8l.js.gz +0 -0
- package/dist/client/assets/IntakeControls-BquU0S8l.js.map +1 -0
- package/dist/client/assets/IntegrationsForm-F9KeWDBK.js +2 -0
- package/dist/client/assets/IntegrationsForm-F9KeWDBK.js.br +0 -0
- package/dist/client/assets/IntegrationsForm-F9KeWDBK.js.gz +0 -0
- package/dist/client/assets/IntegrationsForm-F9KeWDBK.js.map +1 -0
- package/dist/client/assets/JsonView-BIAzYDSp.js +4 -0
- package/dist/client/assets/JsonView-BIAzYDSp.js.br +0 -0
- package/dist/client/assets/JsonView-BIAzYDSp.js.gz +0 -0
- package/dist/client/assets/JsonView-BIAzYDSp.js.map +1 -0
- package/dist/client/assets/LayoutBuilder-Bol-MATX.js +2 -0
- package/dist/client/assets/LayoutBuilder-Bol-MATX.js.br +0 -0
- package/dist/client/assets/LayoutBuilder-Bol-MATX.js.gz +0 -0
- package/dist/client/assets/LayoutBuilder-Bol-MATX.js.map +1 -0
- package/dist/client/assets/Lightbox-DyXCvBKF.js +2 -0
- package/dist/client/assets/Lightbox-DyXCvBKF.js.br +0 -0
- package/dist/client/assets/Lightbox-DyXCvBKF.js.gz +0 -0
- package/dist/client/assets/Lightbox-DyXCvBKF.js.map +1 -0
- package/dist/client/assets/LiveNotices-BSlwgJRE.js +2 -0
- package/dist/client/assets/LiveNotices-BSlwgJRE.js.br +0 -0
- package/dist/client/assets/LiveNotices-BSlwgJRE.js.gz +0 -0
- package/dist/client/assets/LiveNotices-BSlwgJRE.js.map +1 -0
- package/dist/client/assets/MinorMoneyInput-Ho1cgF2R.js +2 -0
- package/dist/client/assets/MinorMoneyInput-Ho1cgF2R.js.br +0 -0
- package/dist/client/assets/MinorMoneyInput-Ho1cgF2R.js.gz +0 -0
- package/dist/client/assets/MinorMoneyInput-Ho1cgF2R.js.map +1 -0
- package/dist/client/assets/MultiStepForm-ClaNx9kd.js +3 -0
- package/dist/client/assets/MultiStepForm-ClaNx9kd.js.br +0 -0
- package/dist/client/assets/MultiStepForm-ClaNx9kd.js.gz +0 -0
- package/dist/client/assets/MultiStepForm-ClaNx9kd.js.map +1 -0
- package/dist/client/assets/NewMenu-BsMZus3N.js +2 -0
- package/dist/client/assets/NewMenu-BsMZus3N.js.br +0 -0
- package/dist/client/assets/NewMenu-BsMZus3N.js.gz +0 -0
- package/dist/client/assets/NewMenu-BsMZus3N.js.map +1 -0
- package/dist/client/assets/NewRecord-F7G_Mv5B.js +3 -0
- package/dist/client/assets/NewRecord-F7G_Mv5B.js.br +0 -0
- package/dist/client/assets/NewRecord-F7G_Mv5B.js.gz +0 -0
- package/dist/client/assets/NewRecord-F7G_Mv5B.js.map +1 -0
- package/dist/client/assets/PageFlowDiagram-LW8KHWeA.js +3 -0
- package/dist/client/assets/PageFlowDiagram-LW8KHWeA.js.br +0 -0
- package/dist/client/assets/PageFlowDiagram-LW8KHWeA.js.gz +0 -0
- package/dist/client/assets/PageFlowDiagram-LW8KHWeA.js.map +1 -0
- package/dist/client/assets/PageFlows-ct2zOjXv.js +2 -0
- package/dist/client/assets/PageFlows-ct2zOjXv.js.br +0 -0
- package/dist/client/assets/PageFlows-ct2zOjXv.js.gz +0 -0
- package/dist/client/assets/PageFlows-ct2zOjXv.js.map +1 -0
- package/dist/client/assets/PageGroups-Bvxxh6Bd.js +2 -0
- package/dist/client/assets/PageGroups-Bvxxh6Bd.js.br +0 -0
- package/dist/client/assets/PageGroups-Bvxxh6Bd.js.gz +0 -0
- package/dist/client/assets/PageGroups-Bvxxh6Bd.js.map +1 -0
- package/dist/client/assets/PageHistory-Uu0bXCvm.js +2 -0
- package/dist/client/assets/PageHistory-Uu0bXCvm.js.br +0 -0
- package/dist/client/assets/PageHistory-Uu0bXCvm.js.gz +0 -0
- package/dist/client/assets/PageHistory-Uu0bXCvm.js.map +1 -0
- package/dist/client/assets/PageSkeleton-bib4pxi2.js +2 -0
- package/dist/client/assets/PageSkeleton-bib4pxi2.js.br +0 -0
- package/dist/client/assets/PageSkeleton-bib4pxi2.js.gz +0 -0
- package/dist/client/assets/PageSkeleton-bib4pxi2.js.map +1 -0
- package/dist/client/assets/Palette-C7v3thaA.js +3 -0
- package/dist/client/assets/Palette-C7v3thaA.js.br +0 -0
- package/dist/client/assets/Palette-C7v3thaA.js.gz +0 -0
- package/dist/client/assets/Palette-C7v3thaA.js.map +1 -0
- package/dist/client/assets/PeekPanel-D5OwWARP.js +2 -0
- package/dist/client/assets/PeekPanel-D5OwWARP.js.br +0 -0
- package/dist/client/assets/PeekPanel-D5OwWARP.js.gz +0 -0
- package/dist/client/assets/PeekPanel-D5OwWARP.js.map +1 -0
- package/dist/client/assets/PlacedFormSurface-jjDCpS7e.js +2 -0
- package/dist/client/assets/PlacedFormSurface-jjDCpS7e.js.br +0 -0
- package/dist/client/assets/PlacedFormSurface-jjDCpS7e.js.gz +0 -0
- package/dist/client/assets/PlacedFormSurface-jjDCpS7e.js.map +1 -0
- package/dist/client/assets/Prefs-DjfrJAaE.js +2 -0
- package/dist/client/assets/Prefs-DjfrJAaE.js.br +0 -0
- package/dist/client/assets/Prefs-DjfrJAaE.js.gz +0 -0
- package/dist/client/assets/Prefs-DjfrJAaE.js.map +1 -0
- package/dist/client/assets/PresentedList-DJWYum2C.js +2 -0
- package/dist/client/assets/PresentedList-DJWYum2C.js.br +0 -0
- package/dist/client/assets/PresentedList-DJWYum2C.js.gz +0 -0
- package/dist/client/assets/PresentedList-DJWYum2C.js.map +1 -0
- package/dist/client/assets/PublicGuard-BYRIEB4e.js +2 -0
- package/dist/client/assets/PublicGuard-BYRIEB4e.js.br +0 -0
- package/dist/client/assets/PublicGuard-BYRIEB4e.js.gz +0 -0
- package/dist/client/assets/PublicGuard-BYRIEB4e.js.map +1 -0
- package/dist/client/assets/QrCode-BvP9mgjL.js +4 -0
- package/dist/client/assets/QrCode-BvP9mgjL.js.br +0 -0
- package/dist/client/assets/QrCode-BvP9mgjL.js.gz +0 -0
- package/dist/client/assets/QrCode-BvP9mgjL.js.map +1 -0
- package/dist/client/assets/QuickAdd-03BEUE8r.js +2 -0
- package/dist/client/assets/QuickAdd-03BEUE8r.js.br +0 -0
- package/dist/client/assets/QuickAdd-03BEUE8r.js.gz +0 -0
- package/dist/client/assets/QuickAdd-03BEUE8r.js.map +1 -0
- package/dist/client/assets/Record-zfxH2hPG.js +2 -0
- package/dist/client/assets/Record-zfxH2hPG.js.br +0 -0
- package/dist/client/assets/Record-zfxH2hPG.js.gz +0 -0
- package/dist/client/assets/Record-zfxH2hPG.js.map +1 -0
- package/dist/client/assets/RecordModal-BAGRMv1y.js +2 -0
- package/dist/client/assets/RecordModal-BAGRMv1y.js.br +0 -0
- package/dist/client/assets/RecordModal-BAGRMv1y.js.gz +0 -0
- package/dist/client/assets/RecordModal-BAGRMv1y.js.map +1 -0
- package/dist/client/assets/RichTextEditor-BZjPw3H7.js +144 -0
- package/dist/client/assets/RichTextEditor-BZjPw3H7.js.br +0 -0
- package/dist/client/assets/RichTextEditor-BZjPw3H7.js.gz +0 -0
- package/dist/client/assets/RichTextEditor-BZjPw3H7.js.map +1 -0
- package/dist/client/assets/SavedFormSurface-B6ERgpDZ.js +2 -0
- package/dist/client/assets/SavedFormSurface-B6ERgpDZ.js.br +0 -0
- package/dist/client/assets/SavedFormSurface-B6ERgpDZ.js.gz +0 -0
- package/dist/client/assets/SavedFormSurface-B6ERgpDZ.js.map +1 -0
- package/dist/client/assets/SectionPeriod-zGOwLcU5.js +2 -0
- package/dist/client/assets/SectionPeriod-zGOwLcU5.js.br +0 -0
- package/dist/client/assets/SectionPeriod-zGOwLcU5.js.gz +0 -0
- package/dist/client/assets/SectionPeriod-zGOwLcU5.js.map +1 -0
- package/dist/client/assets/SetFieldDialog-BOY21Bir.js +2 -0
- package/dist/client/assets/SetFieldDialog-BOY21Bir.js.br +0 -0
- package/dist/client/assets/SetFieldDialog-BOY21Bir.js.gz +0 -0
- package/dist/client/assets/SetFieldDialog-BOY21Bir.js.map +1 -0
- package/dist/client/assets/SignedInFormDialog-CA_58jl4.js +2 -0
- package/dist/client/assets/SignedInFormDialog-CA_58jl4.js.br +0 -0
- package/dist/client/assets/SignedInFormDialog-CA_58jl4.js.gz +0 -0
- package/dist/client/assets/SignedInFormDialog-CA_58jl4.js.map +1 -0
- package/dist/client/assets/SuggestBox-lm4dPs7C.js +2 -0
- package/dist/client/assets/SuggestBox-lm4dPs7C.js.br +0 -0
- package/dist/client/assets/SuggestBox-lm4dPs7C.js.gz +0 -0
- package/dist/client/assets/SuggestBox-lm4dPs7C.js.map +1 -0
- package/dist/client/assets/SuiteAppPreference-BizKv8jK.js +2 -0
- package/dist/client/assets/SuiteAppPreference-BizKv8jK.js.br +0 -0
- package/dist/client/assets/SuiteAppPreference-BizKv8jK.js.gz +0 -0
- package/dist/client/assets/SuiteAppPreference-BizKv8jK.js.map +1 -0
- package/dist/client/assets/SuiteAppSwitcher-DrX6fObR.js +2 -0
- package/dist/client/assets/SuiteAppSwitcher-DrX6fObR.js.br +0 -0
- package/dist/client/assets/SuiteAppSwitcher-DrX6fObR.js.gz +0 -0
- package/dist/client/assets/SuiteAppSwitcher-DrX6fObR.js.map +1 -0
- package/dist/client/assets/SupportLog-CcR9c3IX.js +2 -0
- package/dist/client/assets/SupportLog-CcR9c3IX.js.br +0 -0
- package/dist/client/assets/SupportLog-CcR9c3IX.js.gz +0 -0
- package/dist/client/assets/SupportLog-CcR9c3IX.js.map +1 -0
- package/dist/client/assets/SupportSessions-DYSv4fiX.js +2 -0
- package/dist/client/assets/SupportSessions-DYSv4fiX.js.br +0 -0
- package/dist/client/assets/SupportSessions-DYSv4fiX.js.gz +0 -0
- package/dist/client/assets/SupportSessions-DYSv4fiX.js.map +1 -0
- package/dist/client/assets/TenantAdministration-SfKuAuSC.js +4 -0
- package/dist/client/assets/TenantAdministration-SfKuAuSC.js.br +0 -0
- package/dist/client/assets/TenantAdministration-SfKuAuSC.js.gz +0 -0
- package/dist/client/assets/TenantAdministration-SfKuAuSC.js.map +1 -0
- package/dist/client/assets/TenantApiTokens-BQ1mcaWs.js +2 -0
- package/dist/client/assets/TenantApiTokens-BQ1mcaWs.js.br +0 -0
- package/dist/client/assets/TenantApiTokens-BQ1mcaWs.js.gz +0 -0
- package/dist/client/assets/TenantApiTokens-BQ1mcaWs.js.map +1 -0
- package/dist/client/assets/TenantInvitations-BiIO-CJI.js +2 -0
- package/dist/client/assets/TenantInvitations-BiIO-CJI.js.br +0 -0
- package/dist/client/assets/TenantInvitations-BiIO-CJI.js.gz +0 -0
- package/dist/client/assets/TenantInvitations-BiIO-CJI.js.map +1 -0
- package/dist/client/assets/ThemeLab-Cx_s-Hz-.js +4 -0
- package/dist/client/assets/ThemeLab-Cx_s-Hz-.js.br +0 -0
- package/dist/client/assets/ThemeLab-Cx_s-Hz-.js.gz +0 -0
- package/dist/client/assets/ThemeLab-Cx_s-Hz-.js.map +1 -0
- package/dist/client/assets/TimelineComposer-CWKoArKu.js +2 -0
- package/dist/client/assets/TimelineComposer-CWKoArKu.js.br +0 -0
- package/dist/client/assets/TimelineComposer-CWKoArKu.js.gz +0 -0
- package/dist/client/assets/TimelineComposer-CWKoArKu.js.map +1 -0
- package/dist/client/assets/TimelineReactions-BRSRM6B6.js +2 -0
- package/dist/client/assets/TimelineReactions-BRSRM6B6.js.br +0 -0
- package/dist/client/assets/TimelineReactions-BRSRM6B6.js.gz +0 -0
- package/dist/client/assets/TimelineReactions-BRSRM6B6.js.map +1 -0
- package/dist/client/assets/TopNav-BjEMF53G.js +3 -0
- package/dist/client/assets/TopNav-BjEMF53G.js.br +0 -0
- package/dist/client/assets/TopNav-BjEMF53G.js.gz +0 -0
- package/dist/client/assets/TopNav-BjEMF53G.js.map +1 -0
- package/dist/client/assets/Tour-B3OI6jxx.js +2 -0
- package/dist/client/assets/Tour-B3OI6jxx.js.br +0 -0
- package/dist/client/assets/Tour-B3OI6jxx.js.gz +0 -0
- package/dist/client/assets/Tour-B3OI6jxx.js.map +1 -0
- package/dist/client/assets/TreeList-DDRF_tvX.js +2 -0
- package/dist/client/assets/TreeList-DDRF_tvX.js.br +0 -0
- package/dist/client/assets/TreeList-DDRF_tvX.js.gz +0 -0
- package/dist/client/assets/TreeList-DDRF_tvX.js.map +1 -0
- package/dist/client/assets/TreePicker-BFMCl1eG.js +2 -0
- package/dist/client/assets/TreePicker-BFMCl1eG.js.br +0 -0
- package/dist/client/assets/TreePicker-BFMCl1eG.js.gz +0 -0
- package/dist/client/assets/TreePicker-BFMCl1eG.js.map +1 -0
- package/dist/client/assets/ViewFormDialog-BAT8WdE1.js +3 -0
- package/dist/client/assets/ViewFormDialog-BAT8WdE1.js.br +0 -0
- package/dist/client/assets/ViewFormDialog-BAT8WdE1.js.gz +0 -0
- package/dist/client/assets/ViewFormDialog-BAT8WdE1.js.map +1 -0
- package/dist/client/assets/appImport-VYNz5r4h.js +4 -0
- package/dist/client/assets/appImport-VYNz5r4h.js.br +0 -0
- package/dist/client/assets/appImport-VYNz5r4h.js.gz +0 -0
- package/dist/client/assets/appImport-VYNz5r4h.js.map +1 -0
- package/dist/client/assets/appLive-CQCiAs0-.js +3 -0
- package/dist/client/assets/appLive-CQCiAs0-.js.br +0 -0
- package/dist/client/assets/appLive-CQCiAs0-.js.gz +0 -0
- package/dist/client/assets/appLive-CQCiAs0-.js.map +1 -0
- package/dist/client/assets/assistantStream-CZIpynx7.js +7 -0
- package/dist/client/assets/assistantStream-CZIpynx7.js.br +0 -0
- package/dist/client/assets/assistantStream-CZIpynx7.js.gz +0 -0
- package/dist/client/assets/assistantStream-CZIpynx7.js.map +1 -0
- package/dist/client/assets/beacon-DWXHOQOg.js +2 -0
- package/dist/client/assets/beacon-DWXHOQOg.js.br +0 -0
- package/dist/client/assets/beacon-DWXHOQOg.js.gz +0 -0
- package/dist/client/assets/beacon-DWXHOQOg.js.map +1 -0
- package/dist/client/assets/blocks-BRommwYv.js +3 -0
- package/dist/client/assets/blocks-BRommwYv.js.br +0 -0
- package/dist/client/assets/blocks-BRommwYv.js.gz +0 -0
- package/dist/client/assets/blocks-BRommwYv.js.map +1 -0
- package/dist/client/assets/builtInInputs-eqjybpXW.js +3 -0
- package/dist/client/assets/builtInInputs-eqjybpXW.js.br +0 -0
- package/dist/client/assets/builtInInputs-eqjybpXW.js.gz +0 -0
- package/dist/client/assets/builtInInputs-eqjybpXW.js.map +1 -0
- package/dist/client/assets/commandDraft-BR6X40cm.js +2 -0
- package/dist/client/assets/commandDraft-BR6X40cm.js.br +0 -0
- package/dist/client/assets/commandDraft-BR6X40cm.js.gz +0 -0
- package/dist/client/assets/commandDraft-BR6X40cm.js.map +1 -0
- package/dist/client/assets/componentLoader-BSYr548H.js +3 -0
- package/dist/client/assets/componentLoader-BSYr548H.js.br +0 -0
- package/dist/client/assets/componentLoader-BSYr548H.js.gz +0 -0
- package/dist/client/assets/componentLoader-BSYr548H.js.map +1 -0
- package/dist/client/assets/composer-OW0dHKfu.js +2 -0
- package/dist/client/assets/composer-OW0dHKfu.js.br +0 -0
- package/dist/client/assets/composer-OW0dHKfu.js.gz +0 -0
- package/dist/client/assets/composer-OW0dHKfu.js.map +1 -0
- package/dist/client/assets/computedParse-OlZzBLwb.js +2 -0
- package/dist/client/assets/computedParse-OlZzBLwb.js.br +0 -0
- package/dist/client/assets/computedParse-OlZzBLwb.js.gz +0 -0
- package/dist/client/assets/computedParse-OlZzBLwb.js.map +1 -0
- package/dist/client/assets/computedValue-B6H91SQs.js +2 -0
- package/dist/client/assets/computedValue-B6H91SQs.js.br +0 -0
- package/dist/client/assets/computedValue-B6H91SQs.js.gz +0 -0
- package/dist/client/assets/computedValue-B6H91SQs.js.map +1 -0
- package/dist/client/assets/conditionWords-DS8K0Qeu.js +2 -0
- package/dist/client/assets/conditionWords-DS8K0Qeu.js.br +0 -0
- package/dist/client/assets/conditionWords-DS8K0Qeu.js.gz +0 -0
- package/dist/client/assets/conditionWords-DS8K0Qeu.js.map +1 -0
- package/dist/client/assets/definedValues-CVVzHXTN.js +2 -0
- package/dist/client/assets/definedValues-CVVzHXTN.js.br +0 -0
- package/dist/client/assets/definedValues-CVVzHXTN.js.gz +0 -0
- package/dist/client/assets/definedValues-CVVzHXTN.js.map +1 -0
- package/dist/client/assets/experimentExposure-DnEYSb_1.js +3 -0
- package/dist/client/assets/experimentExposure-DnEYSb_1.js.br +0 -0
- package/dist/client/assets/experimentExposure-DnEYSb_1.js.gz +0 -0
- package/dist/client/assets/experimentExposure-DnEYSb_1.js.map +1 -0
- package/dist/client/assets/export-DKkIl_cj.js +4 -0
- package/dist/client/assets/export-DKkIl_cj.js.br +0 -0
- package/dist/client/assets/export-DKkIl_cj.js.gz +0 -0
- package/dist/client/assets/export-DKkIl_cj.js.map +1 -0
- package/dist/client/assets/formCommandRun-CMUQ6yLP.js +2 -0
- package/dist/client/assets/formCommandRun-CMUQ6yLP.js.br +0 -0
- package/dist/client/assets/formCommandRun-CMUQ6yLP.js.gz +0 -0
- package/dist/client/assets/formCommandRun-CMUQ6yLP.js.map +1 -0
- package/dist/client/assets/formStepCheck-DYGs-8Cn.js +2 -0
- package/dist/client/assets/formStepCheck-DYGs-8Cn.js.br +0 -0
- package/dist/client/assets/formStepCheck-DYGs-8Cn.js.gz +0 -0
- package/dist/client/assets/formStepCheck-DYGs-8Cn.js.map +1 -0
- package/dist/client/assets/funnel-B10hVXZQ.js +2 -0
- package/dist/client/assets/funnel-B10hVXZQ.js.br +0 -0
- package/dist/client/assets/funnel-B10hVXZQ.js.gz +0 -0
- package/dist/client/assets/funnel-B10hVXZQ.js.map +1 -0
- package/dist/client/assets/handoff-DGiE4YdA.js +3 -0
- package/dist/client/assets/handoff-DGiE4YdA.js.br +0 -0
- package/dist/client/assets/handoff-DGiE4YdA.js.gz +0 -0
- package/dist/client/assets/handoff-DGiE4YdA.js.map +1 -0
- package/dist/client/assets/headlessLanding-BLdS4v-n.js +2 -0
- package/dist/client/assets/headlessLanding-BLdS4v-n.js.br +0 -0
- package/dist/client/assets/headlessLanding-BLdS4v-n.js.gz +0 -0
- package/dist/client/assets/headlessLanding-BLdS4v-n.js.map +1 -0
- package/dist/client/assets/index-BNPZCrbP.js +16 -0
- package/dist/client/assets/index-BNPZCrbP.js.br +0 -0
- package/dist/client/assets/index-BNPZCrbP.js.gz +0 -0
- package/dist/client/assets/index-BNPZCrbP.js.map +1 -0
- package/dist/client/assets/liveSync--_wORlb8.js +3 -0
- package/dist/client/assets/liveSync--_wORlb8.js.br +0 -0
- package/dist/client/assets/liveSync--_wORlb8.js.gz +0 -0
- package/dist/client/assets/liveSync--_wORlb8.js.map +1 -0
- package/dist/client/assets/mentionRows-Bx7a6axS.js +2 -0
- package/dist/client/assets/mentionRows-Bx7a6axS.js.br +0 -0
- package/dist/client/assets/mentionRows-Bx7a6axS.js.gz +0 -0
- package/dist/client/assets/mentionRows-Bx7a6axS.js.map +1 -0
- package/dist/client/assets/newMenuModel-MqnxgwrD.js +2 -0
- package/dist/client/assets/newMenuModel-MqnxgwrD.js.br +0 -0
- package/dist/client/assets/newMenuModel-MqnxgwrD.js.gz +0 -0
- package/dist/client/assets/newMenuModel-MqnxgwrD.js.map +1 -0
- package/dist/client/assets/newRecordModel-BDFiMSos.js +2 -0
- package/dist/client/assets/newRecordModel-BDFiMSos.js.br +0 -0
- package/dist/client/assets/newRecordModel-BDFiMSos.js.gz +0 -0
- package/dist/client/assets/newRecordModel-BDFiMSos.js.map +1 -0
- package/dist/client/assets/oauthConsent-DgQC8iwJ.js +2 -0
- package/dist/client/assets/oauthConsent-DgQC8iwJ.js.br +0 -0
- package/dist/client/assets/oauthConsent-DgQC8iwJ.js.gz +0 -0
- package/dist/client/assets/oauthConsent-DgQC8iwJ.js.map +1 -0
- package/dist/client/assets/pageControls-BbSl9Uh-.js +2 -0
- package/dist/client/assets/pageControls-BbSl9Uh-.js.br +0 -0
- package/dist/client/assets/pageControls-BbSl9Uh-.js.gz +0 -0
- package/dist/client/assets/pageControls-BbSl9Uh-.js.map +1 -0
- package/dist/client/assets/paramControls-BXpj_s5N.js +2 -0
- package/dist/client/assets/paramControls-BXpj_s5N.js.br +0 -0
- package/dist/client/assets/paramControls-BXpj_s5N.js.gz +0 -0
- package/dist/client/assets/paramControls-BXpj_s5N.js.map +1 -0
- package/dist/client/assets/public-BkMkDcDl.js +3 -0
- package/dist/client/assets/public-BkMkDcDl.js.br +0 -0
- package/dist/client/assets/public-BkMkDcDl.js.gz +0 -0
- package/dist/client/assets/public-BkMkDcDl.js.map +1 -0
- package/dist/client/assets/publicInputs-B-HZQkGA.js +3 -0
- package/dist/client/assets/publicInputs-B-HZQkGA.js.br +0 -0
- package/dist/client/assets/publicInputs-B-HZQkGA.js.gz +0 -0
- package/dist/client/assets/publicInputs-B-HZQkGA.js.map +1 -0
- package/dist/client/assets/publicPageCommand-BVOmws1s.js +2 -0
- package/dist/client/assets/publicPageCommand-BVOmws1s.js.br +0 -0
- package/dist/client/assets/publicPageCommand-BVOmws1s.js.gz +0 -0
- package/dist/client/assets/publicPageCommand-BVOmws1s.js.map +1 -0
- package/dist/client/assets/publicPlacement-_Qlupufr.js +2 -0
- package/dist/client/assets/publicPlacement-_Qlupufr.js.br +0 -0
- package/dist/client/assets/publicPlacement-_Qlupufr.js.gz +0 -0
- package/dist/client/assets/publicPlacement-_Qlupufr.js.map +1 -0
- package/dist/client/assets/recordSearch-CMx94k-d.js +2 -0
- package/dist/client/assets/recordSearch-CMx94k-d.js.br +0 -0
- package/dist/client/assets/recordSearch-CMx94k-d.js.gz +0 -0
- package/dist/client/assets/recordSearch-CMx94k-d.js.map +1 -0
- package/dist/client/assets/savedFormApi-kgfQG02q.js +2 -0
- package/dist/client/assets/savedFormApi-kgfQG02q.js.br +0 -0
- package/dist/client/assets/savedFormApi-kgfQG02q.js.gz +0 -0
- package/dist/client/assets/savedFormApi-kgfQG02q.js.map +1 -0
- package/dist/client/assets/shell-CjWnhbpV.js +13 -0
- package/dist/client/assets/shell-CjWnhbpV.js.br +0 -0
- package/dist/client/assets/shell-CjWnhbpV.js.gz +0 -0
- package/dist/client/assets/shell-CjWnhbpV.js.map +1 -0
- package/dist/client/assets/steps-Ogfihrc3.js +2 -0
- package/dist/client/assets/steps-Ogfihrc3.js.br +0 -0
- package/dist/client/assets/steps-Ogfihrc3.js.gz +0 -0
- package/dist/client/assets/steps-Ogfihrc3.js.map +1 -0
- package/dist/client/assets/tenant-Bz2mtXxo.js +3 -0
- package/dist/client/assets/tenant-Bz2mtXxo.js.br +0 -0
- package/dist/client/assets/tenant-Bz2mtXxo.js.gz +0 -0
- package/dist/client/assets/tenant-Bz2mtXxo.js.map +1 -0
- package/dist/client/assets/tenantInvitations-C9Qaq_U6.js +2 -0
- package/dist/client/assets/tenantInvitations-C9Qaq_U6.js.br +0 -0
- package/dist/client/assets/tenantInvitations-C9Qaq_U6.js.gz +0 -0
- package/dist/client/assets/tenantInvitations-C9Qaq_U6.js.map +1 -0
- package/dist/client/assets/tenantLive-DfG-HMXE.js +2 -0
- package/dist/client/assets/tenantLive-DfG-HMXE.js.br +0 -0
- package/dist/client/assets/tenantLive-DfG-HMXE.js.gz +0 -0
- package/dist/client/assets/tenantLive-DfG-HMXE.js.map +1 -0
- package/dist/client/assets/themeBench-BD8WMktO.js +2 -0
- package/dist/client/assets/themeBench-BD8WMktO.js.br +0 -0
- package/dist/client/assets/themeBench-BD8WMktO.js.gz +0 -0
- package/dist/client/assets/themeBench-BD8WMktO.js.map +1 -0
- package/dist/client/index.html +2 -2
- package/dist/client/index.html.br +0 -0
- package/dist/client/index.html.gz +0 -0
- package/dist/client/index.public.html +2 -2
- package/dist/client/index.public.html.br +0 -0
- package/dist/client/index.public.html.gz +0 -0
- package/dist/docs/status.md +3 -3
- package/dist/embed/react/headless.js +1 -1
- package/dist/embed/react/index.js +1 -1
- package/dist/server/tenant/tenantHttp.js +20 -1
- package/package.json +4 -4
- package/dist/client/assets/AccountAdministration-CneoZJQH.js +0 -2
- package/dist/client/assets/AccountAdministration-CneoZJQH.js.br +0 -0
- package/dist/client/assets/AccountAdministration-CneoZJQH.js.gz +0 -0
- package/dist/client/assets/AccountAdministration-CneoZJQH.js.map +0 -1
- package/dist/client/assets/AccountControl-gL3BTzgh.js +0 -3
- package/dist/client/assets/AccountControl-gL3BTzgh.js.br +0 -0
- package/dist/client/assets/AccountControl-gL3BTzgh.js.gz +0 -0
- package/dist/client/assets/AccountControl-gL3BTzgh.js.map +0 -1
- package/dist/client/assets/AccountProfile-C2ardHNe.js +0 -2
- package/dist/client/assets/AccountProfile-C2ardHNe.js.br +0 -0
- package/dist/client/assets/AccountProfile-C2ardHNe.js.gz +0 -0
- package/dist/client/assets/AccountProfile-C2ardHNe.js.map +0 -1
- package/dist/client/assets/ApiOperations-B9keXEZI.js +0 -2
- package/dist/client/assets/ApiOperations-B9keXEZI.js.br +0 -0
- package/dist/client/assets/ApiOperations-B9keXEZI.js.gz +0 -0
- package/dist/client/assets/ApiOperations-B9keXEZI.js.map +0 -1
- package/dist/client/assets/AppColumnMenuPopups-DQGKGcxm.js +0 -2
- package/dist/client/assets/AppColumnMenuPopups-DQGKGcxm.js.br +0 -0
- package/dist/client/assets/AppColumnMenuPopups-DQGKGcxm.js.gz +0 -0
- package/dist/client/assets/AppColumnMenuPopups-DQGKGcxm.js.map +0 -1
- package/dist/client/assets/AssistantPanel-TdwQ1VCx.js +0 -3
- package/dist/client/assets/AssistantPanel-TdwQ1VCx.js.br +0 -0
- package/dist/client/assets/AssistantPanel-TdwQ1VCx.js.gz +0 -0
- package/dist/client/assets/AssistantPanel-TdwQ1VCx.js.map +0 -1
- package/dist/client/assets/AttachmentList-C_1J_NaK.js +0 -3
- package/dist/client/assets/AttachmentList-C_1J_NaK.js.br +0 -0
- package/dist/client/assets/AttachmentList-C_1J_NaK.js.gz +0 -0
- package/dist/client/assets/AttachmentList-C_1J_NaK.js.map +0 -1
- package/dist/client/assets/BoardCardEditor-LQTfrl-s.js +0 -2
- package/dist/client/assets/BoardCardEditor-LQTfrl-s.js.br +0 -0
- package/dist/client/assets/BoardCardEditor-LQTfrl-s.js.gz +0 -0
- package/dist/client/assets/BoardCardEditor-LQTfrl-s.js.map +0 -1
- package/dist/client/assets/BoardList-lQbX3mye.js +0 -5
- package/dist/client/assets/BoardList-lQbX3mye.js.br +0 -0
- package/dist/client/assets/BoardList-lQbX3mye.js.gz +0 -0
- package/dist/client/assets/BoardList-lQbX3mye.js.map +0 -1
- package/dist/client/assets/BrandingForm-B0ifRvW7.js +0 -2
- package/dist/client/assets/BrandingForm-B0ifRvW7.js.br +0 -0
- package/dist/client/assets/BrandingForm-B0ifRvW7.js.gz +0 -0
- package/dist/client/assets/BrandingForm-B0ifRvW7.js.map +0 -1
- package/dist/client/assets/BreakdownRoom-D-miGzAq.js +0 -2
- package/dist/client/assets/BreakdownRoom-D-miGzAq.js.br +0 -0
- package/dist/client/assets/BreakdownRoom-D-miGzAq.js.gz +0 -0
- package/dist/client/assets/BreakdownRoom-D-miGzAq.js.map +0 -1
- package/dist/client/assets/CalendarList-VytVTXsW.js +0 -2
- package/dist/client/assets/CalendarList-VytVTXsW.js.br +0 -0
- package/dist/client/assets/CalendarList-VytVTXsW.js.gz +0 -0
- package/dist/client/assets/CalendarList-VytVTXsW.js.map +0 -1
- package/dist/client/assets/CardsList-C0LNdnVL.js +0 -2
- package/dist/client/assets/CardsList-C0LNdnVL.js.br +0 -0
- package/dist/client/assets/CardsList-C0LNdnVL.js.gz +0 -0
- package/dist/client/assets/CardsList-C0LNdnVL.js.map +0 -1
- package/dist/client/assets/Chart-CBXlYw3q.js +0 -2
- package/dist/client/assets/Chart-CBXlYw3q.js.br +0 -0
- package/dist/client/assets/Chart-CBXlYw3q.js.gz +0 -0
- package/dist/client/assets/Chart-CBXlYw3q.js.map +0 -1
- package/dist/client/assets/ChartFigure-BCNZl3ha.js +0 -3
- package/dist/client/assets/ChartFigure-BCNZl3ha.js.br +0 -0
- package/dist/client/assets/ChartFigure-BCNZl3ha.js.gz +0 -0
- package/dist/client/assets/ChartFigure-BCNZl3ha.js.map +0 -1
- package/dist/client/assets/ChartShapes-BQER3ht9.js +0 -2
- package/dist/client/assets/ChartShapes-BQER3ht9.js.br +0 -0
- package/dist/client/assets/ChartShapes-BQER3ht9.js.gz +0 -0
- package/dist/client/assets/ChartShapes-BQER3ht9.js.map +0 -1
- package/dist/client/assets/CheckedAppTargetAction-DtfdXlBW.js +0 -2
- package/dist/client/assets/CheckedAppTargetAction-DtfdXlBW.js.br +0 -0
- package/dist/client/assets/CheckedAppTargetAction-DtfdXlBW.js.gz +0 -0
- package/dist/client/assets/CheckedAppTargetAction-DtfdXlBW.js.map +0 -1
- package/dist/client/assets/Choices-Crs3VWRp.js +0 -2
- package/dist/client/assets/Choices-Crs3VWRp.js.br +0 -0
- package/dist/client/assets/Choices-Crs3VWRp.js.gz +0 -0
- package/dist/client/assets/Choices-Crs3VWRp.js.map +0 -1
- package/dist/client/assets/ClaimInvitation-DoGPJlV8.js +0 -2
- package/dist/client/assets/ClaimInvitation-DoGPJlV8.js.br +0 -0
- package/dist/client/assets/ClaimInvitation-DoGPJlV8.js.gz +0 -0
- package/dist/client/assets/ClaimInvitation-DoGPJlV8.js.map +0 -1
- package/dist/client/assets/CommandAnswers-nugCo-j5.js +0 -2
- package/dist/client/assets/CommandAnswers-nugCo-j5.js.br +0 -0
- package/dist/client/assets/CommandAnswers-nugCo-j5.js.gz +0 -0
- package/dist/client/assets/CommandAnswers-nugCo-j5.js.map +0 -1
- package/dist/client/assets/CommandForm-C8UVMyMw.js +0 -3
- package/dist/client/assets/CommandForm-C8UVMyMw.js.br +0 -0
- package/dist/client/assets/CommandForm-C8UVMyMw.js.gz +0 -0
- package/dist/client/assets/CommandForm-C8UVMyMw.js.map +0 -1
- package/dist/client/assets/CommandLines-BYgVjpJp.js +0 -2
- package/dist/client/assets/CommandLines-BYgVjpJp.js.br +0 -0
- package/dist/client/assets/CommandLines-BYgVjpJp.js.gz +0 -0
- package/dist/client/assets/CommandLines-BYgVjpJp.js.map +0 -1
- package/dist/client/assets/CommandLive-CNhMLno3.js +0 -2
- package/dist/client/assets/CommandLive-CNhMLno3.js.br +0 -0
- package/dist/client/assets/CommandLive-CNhMLno3.js.gz +0 -0
- package/dist/client/assets/CommandLive-CNhMLno3.js.map +0 -1
- package/dist/client/assets/CommandReference-BIiysoL7.js +0 -3
- package/dist/client/assets/CommandReference-BIiysoL7.js.br +0 -0
- package/dist/client/assets/CommandReference-BIiysoL7.js.gz +0 -0
- package/dist/client/assets/CommandReference-BIiysoL7.js.map +0 -1
- package/dist/client/assets/Composer-Dm8uE0jl.js +0 -5
- package/dist/client/assets/Composer-Dm8uE0jl.js.br +0 -0
- package/dist/client/assets/Composer-Dm8uE0jl.js.gz +0 -0
- package/dist/client/assets/Composer-Dm8uE0jl.js.map +0 -1
- package/dist/client/assets/CountedLabel-Dg7rJ2ZE.js +0 -2
- package/dist/client/assets/CountedLabel-Dg7rJ2ZE.js.br +0 -0
- package/dist/client/assets/CountedLabel-Dg7rJ2ZE.js.gz +0 -0
- package/dist/client/assets/CountedLabel-Dg7rJ2ZE.js.map +0 -1
- package/dist/client/assets/CustomList-CyJ8z27e.js +0 -2
- package/dist/client/assets/CustomList-CyJ8z27e.js.br +0 -0
- package/dist/client/assets/CustomList-CyJ8z27e.js.gz +0 -0
- package/dist/client/assets/CustomList-CyJ8z27e.js.map +0 -1
- package/dist/client/assets/CustomPage-CZG4iPQr.js +0 -3
- package/dist/client/assets/CustomPage-CZG4iPQr.js.br +0 -0
- package/dist/client/assets/CustomPage-CZG4iPQr.js.gz +0 -0
- package/dist/client/assets/CustomPage-CZG4iPQr.js.map +0 -1
- package/dist/client/assets/CustomSection-BwTH_OWZ.js +0 -2
- package/dist/client/assets/CustomSection-BwTH_OWZ.js.br +0 -0
- package/dist/client/assets/CustomSection-BwTH_OWZ.js.gz +0 -0
- package/dist/client/assets/CustomSection-BwTH_OWZ.js.map +0 -1
- package/dist/client/assets/Dashboard-C6j-DxBk.js +0 -3
- package/dist/client/assets/Dashboard-C6j-DxBk.js.br +0 -0
- package/dist/client/assets/Dashboard-C6j-DxBk.js.gz +0 -0
- package/dist/client/assets/Dashboard-C6j-DxBk.js.map +0 -1
- package/dist/client/assets/DashboardActivity-CSg0EFMy.js +0 -2
- package/dist/client/assets/DashboardActivity-CSg0EFMy.js.br +0 -0
- package/dist/client/assets/DashboardActivity-CSg0EFMy.js.gz +0 -0
- package/dist/client/assets/DashboardActivity-CSg0EFMy.js.map +0 -1
- package/dist/client/assets/DashboardFind-Cm7c6fOq.js +0 -2
- package/dist/client/assets/DashboardFind-Cm7c6fOq.js.br +0 -0
- package/dist/client/assets/DashboardFind-Cm7c6fOq.js.gz +0 -0
- package/dist/client/assets/DashboardFind-Cm7c6fOq.js.map +0 -1
- package/dist/client/assets/DashboardList-UkvsurYU.js +0 -2
- package/dist/client/assets/DashboardList-UkvsurYU.js.br +0 -4
- package/dist/client/assets/DashboardList-UkvsurYU.js.gz +0 -0
- package/dist/client/assets/DashboardList-UkvsurYU.js.map +0 -1
- package/dist/client/assets/DateTimeInput-CeVjhpQq.js +0 -2
- package/dist/client/assets/DateTimeInput-CeVjhpQq.js.br +0 -0
- package/dist/client/assets/DateTimeInput-CeVjhpQq.js.gz +0 -0
- package/dist/client/assets/DateTimeInput-CeVjhpQq.js.map +0 -1
- package/dist/client/assets/DecisionChip-CvRPdb7d.js +0 -2
- package/dist/client/assets/DecisionChip-CvRPdb7d.js.br +0 -0
- package/dist/client/assets/DecisionChip-CvRPdb7d.js.gz +0 -0
- package/dist/client/assets/DecisionChip-CvRPdb7d.js.map +0 -1
- package/dist/client/assets/DefinedFields-Bc58KtNj.js +0 -2
- package/dist/client/assets/DefinedFields-Bc58KtNj.js.br +0 -0
- package/dist/client/assets/DefinedFields-Bc58KtNj.js.gz +0 -0
- package/dist/client/assets/DefinedFields-Bc58KtNj.js.map +0 -1
- package/dist/client/assets/Diagram-gz71l80X.js +0 -6
- package/dist/client/assets/Diagram-gz71l80X.js.br +0 -0
- package/dist/client/assets/Diagram-gz71l80X.js.gz +0 -0
- package/dist/client/assets/Diagram-gz71l80X.js.map +0 -1
- package/dist/client/assets/Directory-Dojzp22Z.js +0 -2
- package/dist/client/assets/Directory-Dojzp22Z.js.br +0 -0
- package/dist/client/assets/Directory-Dojzp22Z.js.gz +0 -0
- package/dist/client/assets/Directory-Dojzp22Z.js.map +0 -1
- package/dist/client/assets/Document-RIIZJpf7.js +0 -2
- package/dist/client/assets/Document-RIIZJpf7.js.br +0 -0
- package/dist/client/assets/Document-RIIZJpf7.js.gz +0 -0
- package/dist/client/assets/Document-RIIZJpf7.js.map +0 -1
- package/dist/client/assets/Export-CoiQMnbO.js +0 -2
- package/dist/client/assets/Export-CoiQMnbO.js.br +0 -0
- package/dist/client/assets/Export-CoiQMnbO.js.gz +0 -0
- package/dist/client/assets/Export-CoiQMnbO.js.map +0 -1
- package/dist/client/assets/FilePreview-BXmdlCvl.js +0 -2
- package/dist/client/assets/FilePreview-BXmdlCvl.js.br +0 -0
- package/dist/client/assets/FilePreview-BXmdlCvl.js.gz +0 -0
- package/dist/client/assets/FilePreview-BXmdlCvl.js.map +0 -1
- package/dist/client/assets/FormClaimSurface-yoF6zEi_.js +0 -2
- package/dist/client/assets/FormClaimSurface-yoF6zEi_.js.br +0 -0
- package/dist/client/assets/FormClaimSurface-yoF6zEi_.js.gz +0 -0
- package/dist/client/assets/FormClaimSurface-yoF6zEi_.js.map +0 -1
- package/dist/client/assets/FormDialog-etxPrrw7.js +0 -3
- package/dist/client/assets/FormDialog-etxPrrw7.js.br +0 -0
- package/dist/client/assets/FormDialog-etxPrrw7.js.gz +0 -0
- package/dist/client/assets/FormDialog-etxPrrw7.js.map +0 -1
- package/dist/client/assets/FormLines-B1da4mTh.js +0 -2
- package/dist/client/assets/FormLines-B1da4mTh.js.br +0 -0
- package/dist/client/assets/FormLines-B1da4mTh.js.gz +0 -0
- package/dist/client/assets/FormLines-B1da4mTh.js.map +0 -1
- package/dist/client/assets/FormParts-BwEgw7dG.js +0 -2
- package/dist/client/assets/FormParts-BwEgw7dG.js.br +0 -0
- package/dist/client/assets/FormParts-BwEgw7dG.js.gz +0 -0
- package/dist/client/assets/FormParts-BwEgw7dG.js.map +0 -1
- package/dist/client/assets/FormStatusSurface-By_ESLoh.js +0 -2
- package/dist/client/assets/FormStatusSurface-By_ESLoh.js.br +0 -0
- package/dist/client/assets/FormStatusSurface-By_ESLoh.js.gz +0 -0
- package/dist/client/assets/FormStatusSurface-By_ESLoh.js.map +0 -1
- package/dist/client/assets/Gallery-D_xgMJIk.js +0 -3
- package/dist/client/assets/Gallery-D_xgMJIk.js.br +0 -0
- package/dist/client/assets/Gallery-D_xgMJIk.js.gz +0 -0
- package/dist/client/assets/Gallery-D_xgMJIk.js.map +0 -1
- package/dist/client/assets/GanttList-XkFHYdfo.js +0 -2
- package/dist/client/assets/GanttList-XkFHYdfo.js.br +0 -0
- package/dist/client/assets/GanttList-XkFHYdfo.js.gz +0 -0
- package/dist/client/assets/GanttList-XkFHYdfo.js.map +0 -1
- package/dist/client/assets/GridCellEditor-DE9OTviB.js +0 -2
- package/dist/client/assets/GridCellEditor-DE9OTviB.js.br +0 -0
- package/dist/client/assets/GridCellEditor-DE9OTviB.js.gz +0 -0
- package/dist/client/assets/GridCellEditor-DE9OTviB.js.map +0 -1
- package/dist/client/assets/HeldFiles-QDJwYIAl.js +0 -3
- package/dist/client/assets/HeldFiles-QDJwYIAl.js.br +0 -0
- package/dist/client/assets/HeldFiles-QDJwYIAl.js.gz +0 -0
- package/dist/client/assets/HeldFiles-QDJwYIAl.js.map +0 -1
- package/dist/client/assets/HelpPanel-DTaSow3z.js +0 -2
- package/dist/client/assets/HelpPanel-DTaSow3z.js.br +0 -0
- package/dist/client/assets/HelpPanel-DTaSow3z.js.gz +0 -0
- package/dist/client/assets/HelpPanel-DTaSow3z.js.map +0 -1
- package/dist/client/assets/ImportDialog-N5mapQSj.js +0 -9
- package/dist/client/assets/ImportDialog-N5mapQSj.js.br +0 -0
- package/dist/client/assets/ImportDialog-N5mapQSj.js.gz +0 -0
- package/dist/client/assets/ImportDialog-N5mapQSj.js.map +0 -1
- package/dist/client/assets/InboxList-Byhg_bM-.js +0 -2
- package/dist/client/assets/InboxList-Byhg_bM-.js.br +0 -0
- package/dist/client/assets/InboxList-Byhg_bM-.js.gz +0 -0
- package/dist/client/assets/InboxList-Byhg_bM-.js.map +0 -1
- package/dist/client/assets/IntakeControls-CRg9YUYN.js +0 -2
- package/dist/client/assets/IntakeControls-CRg9YUYN.js.br +0 -0
- package/dist/client/assets/IntakeControls-CRg9YUYN.js.gz +0 -0
- package/dist/client/assets/IntakeControls-CRg9YUYN.js.map +0 -1
- package/dist/client/assets/IntegrationsForm-d4B2Olc6.js +0 -2
- package/dist/client/assets/IntegrationsForm-d4B2Olc6.js.br +0 -0
- package/dist/client/assets/IntegrationsForm-d4B2Olc6.js.gz +0 -0
- package/dist/client/assets/IntegrationsForm-d4B2Olc6.js.map +0 -1
- package/dist/client/assets/JsonView-DWOOd3gU.js +0 -4
- package/dist/client/assets/JsonView-DWOOd3gU.js.br +0 -0
- package/dist/client/assets/JsonView-DWOOd3gU.js.gz +0 -0
- package/dist/client/assets/JsonView-DWOOd3gU.js.map +0 -1
- package/dist/client/assets/LayoutBuilder-ru7lxFem.js +0 -2
- package/dist/client/assets/LayoutBuilder-ru7lxFem.js.br +0 -0
- package/dist/client/assets/LayoutBuilder-ru7lxFem.js.gz +0 -0
- package/dist/client/assets/LayoutBuilder-ru7lxFem.js.map +0 -1
- package/dist/client/assets/Lightbox-CFsdt-Gk.js +0 -2
- package/dist/client/assets/Lightbox-CFsdt-Gk.js.br +0 -0
- package/dist/client/assets/Lightbox-CFsdt-Gk.js.gz +0 -0
- package/dist/client/assets/Lightbox-CFsdt-Gk.js.map +0 -1
- package/dist/client/assets/LiveNotices-BLhRUSbq.js +0 -2
- package/dist/client/assets/LiveNotices-BLhRUSbq.js.br +0 -0
- package/dist/client/assets/LiveNotices-BLhRUSbq.js.gz +0 -0
- package/dist/client/assets/LiveNotices-BLhRUSbq.js.map +0 -1
- package/dist/client/assets/MinorMoneyInput-dZrlu_AH.js +0 -2
- package/dist/client/assets/MinorMoneyInput-dZrlu_AH.js.br +0 -0
- package/dist/client/assets/MinorMoneyInput-dZrlu_AH.js.gz +0 -0
- package/dist/client/assets/MinorMoneyInput-dZrlu_AH.js.map +0 -1
- package/dist/client/assets/MultiStepForm-D-nX2tAc.js +0 -3
- package/dist/client/assets/MultiStepForm-D-nX2tAc.js.br +0 -0
- package/dist/client/assets/MultiStepForm-D-nX2tAc.js.gz +0 -0
- package/dist/client/assets/MultiStepForm-D-nX2tAc.js.map +0 -1
- package/dist/client/assets/NewMenu-Boepbd-4.js +0 -2
- package/dist/client/assets/NewMenu-Boepbd-4.js.br +0 -0
- package/dist/client/assets/NewMenu-Boepbd-4.js.gz +0 -0
- package/dist/client/assets/NewMenu-Boepbd-4.js.map +0 -1
- package/dist/client/assets/NewRecord-ChuXAvPE.js +0 -3
- package/dist/client/assets/NewRecord-ChuXAvPE.js.br +0 -0
- package/dist/client/assets/NewRecord-ChuXAvPE.js.gz +0 -0
- package/dist/client/assets/NewRecord-ChuXAvPE.js.map +0 -1
- package/dist/client/assets/PageFlowDiagram-DT-jf_mS.js +0 -3
- package/dist/client/assets/PageFlowDiagram-DT-jf_mS.js.br +0 -0
- package/dist/client/assets/PageFlowDiagram-DT-jf_mS.js.gz +0 -0
- package/dist/client/assets/PageFlowDiagram-DT-jf_mS.js.map +0 -1
- package/dist/client/assets/PageFlows-C9I4Gm-H.js +0 -2
- package/dist/client/assets/PageFlows-C9I4Gm-H.js.br +0 -0
- package/dist/client/assets/PageFlows-C9I4Gm-H.js.gz +0 -0
- package/dist/client/assets/PageFlows-C9I4Gm-H.js.map +0 -1
- package/dist/client/assets/PageGroups-ptCGh2H7.js +0 -2
- package/dist/client/assets/PageGroups-ptCGh2H7.js.br +0 -0
- package/dist/client/assets/PageGroups-ptCGh2H7.js.gz +0 -0
- package/dist/client/assets/PageGroups-ptCGh2H7.js.map +0 -1
- package/dist/client/assets/PageHistory-Dd-II-yZ.js +0 -2
- package/dist/client/assets/PageHistory-Dd-II-yZ.js.br +0 -0
- package/dist/client/assets/PageHistory-Dd-II-yZ.js.gz +0 -0
- package/dist/client/assets/PageHistory-Dd-II-yZ.js.map +0 -1
- package/dist/client/assets/PageSkeleton-CeVuI_Uk.js +0 -2
- package/dist/client/assets/PageSkeleton-CeVuI_Uk.js.br +0 -3
- package/dist/client/assets/PageSkeleton-CeVuI_Uk.js.gz +0 -0
- package/dist/client/assets/PageSkeleton-CeVuI_Uk.js.map +0 -1
- package/dist/client/assets/Palette-BFKvRRVD.js +0 -3
- package/dist/client/assets/Palette-BFKvRRVD.js.br +0 -0
- package/dist/client/assets/Palette-BFKvRRVD.js.gz +0 -0
- package/dist/client/assets/Palette-BFKvRRVD.js.map +0 -1
- package/dist/client/assets/PeekPanel-CLl74BmT.js +0 -2
- package/dist/client/assets/PeekPanel-CLl74BmT.js.br +0 -0
- package/dist/client/assets/PeekPanel-CLl74BmT.js.gz +0 -0
- package/dist/client/assets/PeekPanel-CLl74BmT.js.map +0 -1
- package/dist/client/assets/PlacedFormSurface-_DJHAevQ.js +0 -2
- package/dist/client/assets/PlacedFormSurface-_DJHAevQ.js.br +0 -0
- package/dist/client/assets/PlacedFormSurface-_DJHAevQ.js.gz +0 -0
- package/dist/client/assets/PlacedFormSurface-_DJHAevQ.js.map +0 -1
- package/dist/client/assets/Prefs-BEhXKgAy.js +0 -2
- package/dist/client/assets/Prefs-BEhXKgAy.js.br +0 -0
- package/dist/client/assets/Prefs-BEhXKgAy.js.gz +0 -0
- package/dist/client/assets/Prefs-BEhXKgAy.js.map +0 -1
- package/dist/client/assets/PresentedList-DhJMggLJ.js +0 -2
- package/dist/client/assets/PresentedList-DhJMggLJ.js.br +0 -0
- package/dist/client/assets/PresentedList-DhJMggLJ.js.gz +0 -0
- package/dist/client/assets/PresentedList-DhJMggLJ.js.map +0 -1
- package/dist/client/assets/PublicGuard-C9by4Dbw.js +0 -2
- package/dist/client/assets/PublicGuard-C9by4Dbw.js.br +0 -0
- package/dist/client/assets/PublicGuard-C9by4Dbw.js.gz +0 -0
- package/dist/client/assets/PublicGuard-C9by4Dbw.js.map +0 -1
- package/dist/client/assets/QrCode-C43BSat-.js +0 -4
- package/dist/client/assets/QrCode-C43BSat-.js.br +0 -0
- package/dist/client/assets/QrCode-C43BSat-.js.gz +0 -0
- package/dist/client/assets/QrCode-C43BSat-.js.map +0 -1
- package/dist/client/assets/QuickAdd-Dtoh2GgN.js +0 -2
- package/dist/client/assets/QuickAdd-Dtoh2GgN.js.br +0 -0
- package/dist/client/assets/QuickAdd-Dtoh2GgN.js.gz +0 -0
- package/dist/client/assets/QuickAdd-Dtoh2GgN.js.map +0 -1
- package/dist/client/assets/Record-DC6HjA5D.js +0 -2
- package/dist/client/assets/Record-DC6HjA5D.js.br +0 -0
- package/dist/client/assets/Record-DC6HjA5D.js.gz +0 -0
- package/dist/client/assets/Record-DC6HjA5D.js.map +0 -1
- package/dist/client/assets/RecordModal-waIBdkd3.js +0 -2
- package/dist/client/assets/RecordModal-waIBdkd3.js.br +0 -0
- package/dist/client/assets/RecordModal-waIBdkd3.js.gz +0 -0
- package/dist/client/assets/RecordModal-waIBdkd3.js.map +0 -1
- package/dist/client/assets/RichTextEditor-BBm-2yqU.js +0 -144
- package/dist/client/assets/RichTextEditor-BBm-2yqU.js.br +0 -0
- package/dist/client/assets/RichTextEditor-BBm-2yqU.js.gz +0 -0
- package/dist/client/assets/RichTextEditor-BBm-2yqU.js.map +0 -1
- package/dist/client/assets/SavedFormSurface-CCF9cJL3.js +0 -2
- package/dist/client/assets/SavedFormSurface-CCF9cJL3.js.br +0 -0
- package/dist/client/assets/SavedFormSurface-CCF9cJL3.js.gz +0 -0
- package/dist/client/assets/SavedFormSurface-CCF9cJL3.js.map +0 -1
- package/dist/client/assets/SectionPeriod-CDlpJCqh.js +0 -2
- package/dist/client/assets/SectionPeriod-CDlpJCqh.js.br +0 -0
- package/dist/client/assets/SectionPeriod-CDlpJCqh.js.gz +0 -0
- package/dist/client/assets/SectionPeriod-CDlpJCqh.js.map +0 -1
- package/dist/client/assets/SetFieldDialog-B85SlW2F.js +0 -2
- package/dist/client/assets/SetFieldDialog-B85SlW2F.js.br +0 -0
- package/dist/client/assets/SetFieldDialog-B85SlW2F.js.gz +0 -0
- package/dist/client/assets/SetFieldDialog-B85SlW2F.js.map +0 -1
- package/dist/client/assets/SignedInFormDialog-DjZn_VVt.js +0 -2
- package/dist/client/assets/SignedInFormDialog-DjZn_VVt.js.br +0 -0
- package/dist/client/assets/SignedInFormDialog-DjZn_VVt.js.gz +0 -0
- package/dist/client/assets/SignedInFormDialog-DjZn_VVt.js.map +0 -1
- package/dist/client/assets/SuggestBox-CiCz420k.js +0 -2
- package/dist/client/assets/SuggestBox-CiCz420k.js.br +0 -0
- package/dist/client/assets/SuggestBox-CiCz420k.js.gz +0 -0
- package/dist/client/assets/SuggestBox-CiCz420k.js.map +0 -1
- package/dist/client/assets/SuiteAppPreference-Cr20ZM1F.js +0 -2
- package/dist/client/assets/SuiteAppPreference-Cr20ZM1F.js.br +0 -0
- package/dist/client/assets/SuiteAppPreference-Cr20ZM1F.js.gz +0 -0
- package/dist/client/assets/SuiteAppPreference-Cr20ZM1F.js.map +0 -1
- package/dist/client/assets/SuiteAppSwitcher-CCPSzaPi.js +0 -2
- package/dist/client/assets/SuiteAppSwitcher-CCPSzaPi.js.br +0 -0
- package/dist/client/assets/SuiteAppSwitcher-CCPSzaPi.js.gz +0 -0
- package/dist/client/assets/SuiteAppSwitcher-CCPSzaPi.js.map +0 -1
- package/dist/client/assets/SupportLog-DC7BS-Z2.js +0 -2
- package/dist/client/assets/SupportLog-DC7BS-Z2.js.br +0 -0
- package/dist/client/assets/SupportLog-DC7BS-Z2.js.gz +0 -0
- package/dist/client/assets/SupportLog-DC7BS-Z2.js.map +0 -1
- package/dist/client/assets/SupportSessions-Dp6F43Sm.js +0 -2
- package/dist/client/assets/SupportSessions-Dp6F43Sm.js.br +0 -0
- package/dist/client/assets/SupportSessions-Dp6F43Sm.js.gz +0 -0
- package/dist/client/assets/SupportSessions-Dp6F43Sm.js.map +0 -1
- package/dist/client/assets/TenantAdministration-DJSpLgaj.js +0 -4
- package/dist/client/assets/TenantAdministration-DJSpLgaj.js.br +0 -0
- package/dist/client/assets/TenantAdministration-DJSpLgaj.js.gz +0 -0
- package/dist/client/assets/TenantAdministration-DJSpLgaj.js.map +0 -1
- package/dist/client/assets/TenantApiTokens-CdPoc5fH.js +0 -2
- package/dist/client/assets/TenantApiTokens-CdPoc5fH.js.br +0 -0
- package/dist/client/assets/TenantApiTokens-CdPoc5fH.js.gz +0 -0
- package/dist/client/assets/TenantApiTokens-CdPoc5fH.js.map +0 -1
- package/dist/client/assets/TenantInvitations-BavDvERO.js +0 -2
- package/dist/client/assets/TenantInvitations-BavDvERO.js.br +0 -0
- package/dist/client/assets/TenantInvitations-BavDvERO.js.gz +0 -0
- package/dist/client/assets/TenantInvitations-BavDvERO.js.map +0 -1
- package/dist/client/assets/ThemeLab-CvUco7aC.js +0 -4
- package/dist/client/assets/ThemeLab-CvUco7aC.js.br +0 -0
- package/dist/client/assets/ThemeLab-CvUco7aC.js.gz +0 -0
- package/dist/client/assets/ThemeLab-CvUco7aC.js.map +0 -1
- package/dist/client/assets/TimelineComposer-CNoM_eOc.js +0 -2
- package/dist/client/assets/TimelineComposer-CNoM_eOc.js.br +0 -0
- package/dist/client/assets/TimelineComposer-CNoM_eOc.js.gz +0 -0
- package/dist/client/assets/TimelineComposer-CNoM_eOc.js.map +0 -1
- package/dist/client/assets/TimelineReactions-5BiBTm96.js +0 -2
- package/dist/client/assets/TimelineReactions-5BiBTm96.js.br +0 -0
- package/dist/client/assets/TimelineReactions-5BiBTm96.js.gz +0 -0
- package/dist/client/assets/TimelineReactions-5BiBTm96.js.map +0 -1
- package/dist/client/assets/TopNav-CUh0iRQY.js +0 -3
- package/dist/client/assets/TopNav-CUh0iRQY.js.br +0 -0
- package/dist/client/assets/TopNav-CUh0iRQY.js.gz +0 -0
- package/dist/client/assets/TopNav-CUh0iRQY.js.map +0 -1
- package/dist/client/assets/Tour-D9NxwUyV.js +0 -2
- package/dist/client/assets/Tour-D9NxwUyV.js.br +0 -0
- package/dist/client/assets/Tour-D9NxwUyV.js.gz +0 -0
- package/dist/client/assets/Tour-D9NxwUyV.js.map +0 -1
- package/dist/client/assets/TreeList-CVQ4lJCn.js +0 -2
- package/dist/client/assets/TreeList-CVQ4lJCn.js.br +0 -0
- package/dist/client/assets/TreeList-CVQ4lJCn.js.gz +0 -0
- package/dist/client/assets/TreeList-CVQ4lJCn.js.map +0 -1
- package/dist/client/assets/TreePicker-Cg880BsM.js +0 -2
- package/dist/client/assets/TreePicker-Cg880BsM.js.br +0 -0
- package/dist/client/assets/TreePicker-Cg880BsM.js.gz +0 -0
- package/dist/client/assets/TreePicker-Cg880BsM.js.map +0 -1
- package/dist/client/assets/ViewFormDialog-BJjAR1K8.js +0 -3
- package/dist/client/assets/ViewFormDialog-BJjAR1K8.js.br +0 -0
- package/dist/client/assets/ViewFormDialog-BJjAR1K8.js.gz +0 -0
- package/dist/client/assets/ViewFormDialog-BJjAR1K8.js.map +0 -1
- package/dist/client/assets/appImport-DXScPM6B.js +0 -4
- package/dist/client/assets/appImport-DXScPM6B.js.br +0 -0
- package/dist/client/assets/appImport-DXScPM6B.js.gz +0 -0
- package/dist/client/assets/appImport-DXScPM6B.js.map +0 -1
- package/dist/client/assets/appLive-Ns7gRNph.js +0 -3
- package/dist/client/assets/appLive-Ns7gRNph.js.br +0 -0
- package/dist/client/assets/appLive-Ns7gRNph.js.gz +0 -0
- package/dist/client/assets/appLive-Ns7gRNph.js.map +0 -1
- package/dist/client/assets/assistantStream-gJuzVmm5.js +0 -7
- package/dist/client/assets/assistantStream-gJuzVmm5.js.br +0 -0
- package/dist/client/assets/assistantStream-gJuzVmm5.js.gz +0 -0
- package/dist/client/assets/assistantStream-gJuzVmm5.js.map +0 -1
- package/dist/client/assets/beacon-BjtStpI_.js +0 -2
- package/dist/client/assets/beacon-BjtStpI_.js.br +0 -0
- package/dist/client/assets/beacon-BjtStpI_.js.gz +0 -0
- package/dist/client/assets/beacon-BjtStpI_.js.map +0 -1
- package/dist/client/assets/blocks-CVFXO2TP.js +0 -3
- package/dist/client/assets/blocks-CVFXO2TP.js.br +0 -0
- package/dist/client/assets/blocks-CVFXO2TP.js.gz +0 -0
- package/dist/client/assets/blocks-CVFXO2TP.js.map +0 -1
- package/dist/client/assets/builtInInputs-Bz7yk07n.js +0 -3
- package/dist/client/assets/builtInInputs-Bz7yk07n.js.br +0 -0
- package/dist/client/assets/builtInInputs-Bz7yk07n.js.gz +0 -0
- package/dist/client/assets/builtInInputs-Bz7yk07n.js.map +0 -1
- package/dist/client/assets/commandDraft-u0qeC7CF.js +0 -2
- package/dist/client/assets/commandDraft-u0qeC7CF.js.br +0 -0
- package/dist/client/assets/commandDraft-u0qeC7CF.js.gz +0 -0
- package/dist/client/assets/commandDraft-u0qeC7CF.js.map +0 -1
- package/dist/client/assets/componentLoader-CYLEbTlX.js +0 -3
- package/dist/client/assets/componentLoader-CYLEbTlX.js.br +0 -0
- package/dist/client/assets/componentLoader-CYLEbTlX.js.gz +0 -0
- package/dist/client/assets/componentLoader-CYLEbTlX.js.map +0 -1
- package/dist/client/assets/composer-Bbobyrp6.js +0 -2
- package/dist/client/assets/composer-Bbobyrp6.js.br +0 -0
- package/dist/client/assets/composer-Bbobyrp6.js.gz +0 -0
- package/dist/client/assets/composer-Bbobyrp6.js.map +0 -1
- package/dist/client/assets/computedParse-B7fYsDyL.js +0 -2
- package/dist/client/assets/computedParse-B7fYsDyL.js.br +0 -0
- package/dist/client/assets/computedParse-B7fYsDyL.js.gz +0 -0
- package/dist/client/assets/computedParse-B7fYsDyL.js.map +0 -1
- package/dist/client/assets/computedValue-BnD3il8C.js +0 -2
- package/dist/client/assets/computedValue-BnD3il8C.js.br +0 -0
- package/dist/client/assets/computedValue-BnD3il8C.js.gz +0 -0
- package/dist/client/assets/computedValue-BnD3il8C.js.map +0 -1
- package/dist/client/assets/conditionWords-C5Mb8oGY.js +0 -2
- package/dist/client/assets/conditionWords-C5Mb8oGY.js.br +0 -0
- package/dist/client/assets/conditionWords-C5Mb8oGY.js.gz +0 -0
- package/dist/client/assets/conditionWords-C5Mb8oGY.js.map +0 -1
- package/dist/client/assets/definedValues-D3sDgwc_.js +0 -2
- package/dist/client/assets/definedValues-D3sDgwc_.js.br +0 -0
- package/dist/client/assets/definedValues-D3sDgwc_.js.gz +0 -0
- package/dist/client/assets/definedValues-D3sDgwc_.js.map +0 -1
- package/dist/client/assets/experimentExposure-DJ959V0K.js +0 -3
- package/dist/client/assets/experimentExposure-DJ959V0K.js.br +0 -0
- package/dist/client/assets/experimentExposure-DJ959V0K.js.gz +0 -0
- package/dist/client/assets/experimentExposure-DJ959V0K.js.map +0 -1
- package/dist/client/assets/export-DzI5wagv.js +0 -4
- package/dist/client/assets/export-DzI5wagv.js.br +0 -0
- package/dist/client/assets/export-DzI5wagv.js.gz +0 -0
- package/dist/client/assets/export-DzI5wagv.js.map +0 -1
- package/dist/client/assets/formCommandRun-mQLQz6zV.js +0 -2
- package/dist/client/assets/formCommandRun-mQLQz6zV.js.br +0 -0
- package/dist/client/assets/formCommandRun-mQLQz6zV.js.gz +0 -0
- package/dist/client/assets/formCommandRun-mQLQz6zV.js.map +0 -1
- package/dist/client/assets/formStepCheck-C-fIVkr0.js +0 -2
- package/dist/client/assets/formStepCheck-C-fIVkr0.js.br +0 -0
- package/dist/client/assets/formStepCheck-C-fIVkr0.js.gz +0 -0
- package/dist/client/assets/formStepCheck-C-fIVkr0.js.map +0 -1
- package/dist/client/assets/funnel-I7KHSmks.js +0 -2
- package/dist/client/assets/funnel-I7KHSmks.js.br +0 -0
- package/dist/client/assets/funnel-I7KHSmks.js.gz +0 -0
- package/dist/client/assets/funnel-I7KHSmks.js.map +0 -1
- package/dist/client/assets/handoff-OGFKKAVu.js +0 -3
- package/dist/client/assets/handoff-OGFKKAVu.js.br +0 -0
- package/dist/client/assets/handoff-OGFKKAVu.js.gz +0 -0
- package/dist/client/assets/handoff-OGFKKAVu.js.map +0 -1
- package/dist/client/assets/headlessLanding-Q9m1rbS7.js +0 -2
- package/dist/client/assets/headlessLanding-Q9m1rbS7.js.br +0 -0
- package/dist/client/assets/headlessLanding-Q9m1rbS7.js.gz +0 -0
- package/dist/client/assets/headlessLanding-Q9m1rbS7.js.map +0 -1
- package/dist/client/assets/index-Bt4RC99Z.js +0 -16
- package/dist/client/assets/index-Bt4RC99Z.js.br +0 -0
- package/dist/client/assets/index-Bt4RC99Z.js.gz +0 -0
- package/dist/client/assets/index-Bt4RC99Z.js.map +0 -1
- package/dist/client/assets/liveSync-BMmCoXu-.js +0 -3
- package/dist/client/assets/liveSync-BMmCoXu-.js.br +0 -0
- package/dist/client/assets/liveSync-BMmCoXu-.js.gz +0 -0
- package/dist/client/assets/liveSync-BMmCoXu-.js.map +0 -1
- package/dist/client/assets/mentionRows-BAXWgeSZ.js +0 -2
- package/dist/client/assets/mentionRows-BAXWgeSZ.js.br +0 -0
- package/dist/client/assets/mentionRows-BAXWgeSZ.js.gz +0 -0
- package/dist/client/assets/mentionRows-BAXWgeSZ.js.map +0 -1
- package/dist/client/assets/newMenuModel-NRT8Nsev.js +0 -2
- package/dist/client/assets/newMenuModel-NRT8Nsev.js.br +0 -0
- package/dist/client/assets/newMenuModel-NRT8Nsev.js.gz +0 -0
- package/dist/client/assets/newMenuModel-NRT8Nsev.js.map +0 -1
- package/dist/client/assets/newRecordModel-6K_S3m_z.js +0 -2
- package/dist/client/assets/newRecordModel-6K_S3m_z.js.br +0 -0
- package/dist/client/assets/newRecordModel-6K_S3m_z.js.gz +0 -0
- package/dist/client/assets/newRecordModel-6K_S3m_z.js.map +0 -1
- package/dist/client/assets/oauthConsent-C4ttLQH5.js +0 -2
- package/dist/client/assets/oauthConsent-C4ttLQH5.js.br +0 -0
- package/dist/client/assets/oauthConsent-C4ttLQH5.js.gz +0 -0
- package/dist/client/assets/oauthConsent-C4ttLQH5.js.map +0 -1
- package/dist/client/assets/pageControls-B0VPG7x3.js +0 -2
- package/dist/client/assets/pageControls-B0VPG7x3.js.br +0 -0
- package/dist/client/assets/pageControls-B0VPG7x3.js.gz +0 -0
- package/dist/client/assets/pageControls-B0VPG7x3.js.map +0 -1
- package/dist/client/assets/paramControls-DSieEbzZ.js +0 -2
- package/dist/client/assets/paramControls-DSieEbzZ.js.br +0 -0
- package/dist/client/assets/paramControls-DSieEbzZ.js.gz +0 -0
- package/dist/client/assets/paramControls-DSieEbzZ.js.map +0 -1
- package/dist/client/assets/public-BMBdxVXn.js +0 -3
- package/dist/client/assets/public-BMBdxVXn.js.br +0 -0
- package/dist/client/assets/public-BMBdxVXn.js.gz +0 -0
- package/dist/client/assets/public-BMBdxVXn.js.map +0 -1
- package/dist/client/assets/publicInputs-Ccwb_aMS.js +0 -3
- package/dist/client/assets/publicInputs-Ccwb_aMS.js.br +0 -0
- package/dist/client/assets/publicInputs-Ccwb_aMS.js.gz +0 -0
- package/dist/client/assets/publicInputs-Ccwb_aMS.js.map +0 -1
- package/dist/client/assets/publicPageCommand-Cyt7UsD8.js +0 -2
- package/dist/client/assets/publicPageCommand-Cyt7UsD8.js.br +0 -0
- package/dist/client/assets/publicPageCommand-Cyt7UsD8.js.gz +0 -0
- package/dist/client/assets/publicPageCommand-Cyt7UsD8.js.map +0 -1
- package/dist/client/assets/publicPlacement-DTXiMJpX.js +0 -2
- package/dist/client/assets/publicPlacement-DTXiMJpX.js.br +0 -0
- package/dist/client/assets/publicPlacement-DTXiMJpX.js.gz +0 -0
- package/dist/client/assets/publicPlacement-DTXiMJpX.js.map +0 -1
- package/dist/client/assets/recordSearch-BwihoA0w.js +0 -2
- package/dist/client/assets/recordSearch-BwihoA0w.js.br +0 -0
- package/dist/client/assets/recordSearch-BwihoA0w.js.gz +0 -0
- package/dist/client/assets/recordSearch-BwihoA0w.js.map +0 -1
- package/dist/client/assets/savedFormApi-Cefyfzot.js +0 -2
- package/dist/client/assets/savedFormApi-Cefyfzot.js.br +0 -0
- package/dist/client/assets/savedFormApi-Cefyfzot.js.gz +0 -0
- package/dist/client/assets/savedFormApi-Cefyfzot.js.map +0 -1
- package/dist/client/assets/shell-B2AKY91H.js +0 -13
- package/dist/client/assets/shell-B2AKY91H.js.br +0 -0
- package/dist/client/assets/shell-B2AKY91H.js.gz +0 -0
- package/dist/client/assets/shell-B2AKY91H.js.map +0 -1
- package/dist/client/assets/steps-GrEdIaQH.js +0 -2
- package/dist/client/assets/steps-GrEdIaQH.js.br +0 -0
- package/dist/client/assets/steps-GrEdIaQH.js.gz +0 -0
- package/dist/client/assets/steps-GrEdIaQH.js.map +0 -1
- package/dist/client/assets/tenant-vE0bAEDu.js +0 -3
- package/dist/client/assets/tenant-vE0bAEDu.js.br +0 -0
- package/dist/client/assets/tenant-vE0bAEDu.js.gz +0 -0
- package/dist/client/assets/tenant-vE0bAEDu.js.map +0 -1
- package/dist/client/assets/tenantInvitations-Dtk4xyV0.js +0 -2
- package/dist/client/assets/tenantInvitations-Dtk4xyV0.js.br +0 -0
- package/dist/client/assets/tenantInvitations-Dtk4xyV0.js.gz +0 -0
- package/dist/client/assets/tenantInvitations-Dtk4xyV0.js.map +0 -1
- package/dist/client/assets/tenantLive-DHvXezue.js +0 -2
- package/dist/client/assets/tenantLive-DHvXezue.js.br +0 -0
- package/dist/client/assets/tenantLive-DHvXezue.js.gz +0 -0
- package/dist/client/assets/tenantLive-DHvXezue.js.map +0 -1
- package/dist/client/assets/themeBench-CjqmOt-W.js +0 -2
- package/dist/client/assets/themeBench-CjqmOt-W.js.br +0 -0
- package/dist/client/assets/themeBench-CjqmOt-W.js.gz +0 -0
- package/dist/client/assets/themeBench-CjqmOt-W.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";6sCAGAA,EAAAC,EAAA,CACE,0CACA,uBACA,cACA,wDACA,aACA,0CACA,gDACF,G,SCqBA,SAAAC,GAAA,yCAaE,OAZAC,GAAA,QAAAC,EAAA,UAEO,aAAAC,EAAA,mBAA4C,KAAAF,EAAA,UAA6B,QAAO,QAAAA,EAAA,aAChF,UACA,GAEPA,GAAA,QAAAC,EAAA,eAEY,cAAc,aAAAC,EAAA,mBAAmD,QAAO,QAAAF,EAAA,KAC7E,UACK,IAEZ,EAAAC,EAAA,YAAuB,YAAY,UAAc,EACnD,CAEA,SAAAE,GAAA,iCAYE,IAAAC,EAAAC,EAAA,SAAAC,EAAA,gBACAC,EAAAF,EAAA,yBAAAA,EAAA,OAAAC,EAAA,cACA,SAAAL,EAAA,YACO,6BACH,YAAAA,EAAA,WACE,wBACA,aAAAG,GAAA,OACA,aAAAI,GAAAC,EACmB,KAAa,MAAAJ,EAAA,OAAqB,MAAAA,EAAA,cAA8B,KAAAA,IAAA,oBAA2C,GAG7H,SAAAA,EAAA,YACC,IAAAK,EAAAJ,EAAA,oBAAAD,EAAAC,EAAA,OACAK,EAAAD,GAAA,OAAAJ,EAA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A,aACD,QAAAA,EAAA,mBAAApf,EAAA,YAGI,uBACF,SAAAof,EAAA,kBAAApf,EAAA,KAAAkf,GAAA,CAGc,YACH,SACD,QACP,iBACE,IAAAjd,EAAA,IAAAyd,CAAA,EACA1Z,IAAA,UAAA/D,EAAAR,GACK,EAAAA,GAAAuE,EACL+d,EAAA9hB,CAAA,EACAyK,IAAAzK,CAAA,CACF,CACD,EAAAJ,CAAA,EAEA,Q,GAIVud,EAAA,iBAAApf,EAAA,aACM,yCAAL,aAAAA,EAAA,YACO,0CACH,YAAAA,EAAA,KAAAkgB,GAAA,CACa,YACX,SAAAd,EAAA,SACW,YACJ,QACE,UACC,WACC,YACH,QACT,EACE,MAAApf,EAAA,cACE,2CAA2C,aAAAQ,EAAoB,GAAkB,EACtF,YAAAR,EAAA,KAAAkgB,GAAA,CACa,YACX,SAAAd,EAAA,MACW,YACJ,QACE,UACC,WACC,YACH,SACR,QACD,EACI,GAGT,MAAApf,EAAA,YAAK,gCAAAof,EAAA,gCACH,YAAApf,EAAA,KAAAkgB,GAAA,CACa,YACX,SAAAd,EAAA,SACW,YACJ,QACE,UACC,WACC,YACH,QACT,EACE,EAEJ,KAGX,C","names":["say","defineMessages","Door","door","import_jsx_runtime","className","Funnel","ready","steps","step","first","label","sayCopy","basis","share","lost","width","formatPercent","EMPTY_CELL","layoutGrid","layout","row","layoutAreas","seen","grid","cell","cellsOf","cells","name","c","areaBox","rows","columns","column","isRectangle","box","reflowLayout","next","hidden","trial","touched","last","neighbour","r","other","gridTemplateAreas","AUTO_UNITS","DENSE","FEWEST_BUCKETS","AUTO_KEY","autoKeyOf","keys","by","index","key","m","withUnit","at","unit","DAY","spanDaysOf","phrase","windowPhraseOf","query","over","window","dateWindow","now","escaped","found","spanDaysBetween","from","dayNumber","min","to","max","unitForSpan","days","readUnit","addsUp","base","pad","n","dayKey","d","bucketKey","weekStart","month","nextKey","y","q","SPELLED","localDay","trendPoints","measure","read","ends","sorted","held","into","value","periodsBetween","count","chooseUnit","given","spanDays","labels","k","here","TERM","planMeasure","text","parts","reads","combine","aggregate","how","operands","i","part","fn","ops","values","o","terms","sum","sums","signs","op","right","left","v","acc","coarsen","bucket","buckets","plan","a","b","joined","series","windowDays","sparkWindow","section","TREND_PERIODS","sparkText","trendBase","andQuery","weekStarts","localeWeekStart","locale","known","readWeekStart","tag","LINE_FROM","numberOrNull","useAutoChart","auto","shell","epoch","kept","useRef","extent","reading","ask","dotted","filled","data","isPlaceholderData","drawn","useFirstRun","useQueries","state","batchedRun","done","FirstRun","fresh","table","findTable","adding","canInsert","link","viewLink","Icon","buttonClass","ownWindowOf","dated","sections","phrases","only","WindowRow","said","word","w","ownWindow","offered","windows","pressed","current","control","span","shown","formatDate","DropMenu","_Fragment","DropItem","onPick","untitled","humanName","columnLabel","nothingIn","title","CustomDashSection","onDemand","__vitePreload","InteractiveList","ActivityFeed","FindSection","BrandingForm","IntegrationsForm","SectionPeriod","TIME_RELATIVE","TICK_FLOOR","minuteTick","liveFollowing","timed","following","TILE_FRESH","CURRENCIES_SAID","currencySplit","rule","columnDisplay","path","currencyPath","pinnedCurrency","useBreakdown","useQuery","limit","batchedBreakdown","keepPreviousData","useRows","useMeasure","split","measureText","figures","code","CurrencyFigures","LeaveOutContext","createContext","LeaveOut","leave","useContext","import_react","SectionShell","gone","setGone","useState","useCallback","report","drillTarget","app","activeApp","inAppMode","room","viewRoom","isListRoom","lists","appRooms","drillFor","target","queryFor","quote","go","tableView","entry","listEntry","listLink","sayGroup","sayBucket","allowed","groupLabel","options","formatLocale","lookups","id","refsFrom","labelPath","Mark","changeTone","better","diff","comparedWith","period","compare","level","Metric","memo","windowNote","live","sayer","sayWhole","then","goalAsk","goalData","sparkAsk","spark","whole","figure","delta","tone","against","sparkPoints","useMemo","keyName","valueName","deltaSlot","sparkSlot","SparkHost","goalAt","goal","reached","wholeWords","goalWords","heard","spoken","opens","still","open","onErrorClick","onOpen","fullQuery","points","Sparkline","askedFor","groupsAskedFor","orderOf","meta","computed","declaredOrder","goalsOf","answer","goalKey","goalValue","goals","measured","countName","namedGroups","vocabularyOf","BreakdownRows","breakdownText","targetText","drill","Problem","expected","scale","vocabulary","orderGroups","orderDeclared","Nothing","largest","sayRow","sayKey","toneOf","TONE_INK","ruleSays","ink","barShare","FunnelSection","funnelText","stages","stageColumn","chains","funnelChains","funnelBasis","stage","droppedQuery","StepCards","counted","countOf","all","finals","closed","ended","cols","icon","note","none","body","words","sayUnit","Chart","stacked","donut","nothing","useNothing","chartLimit","firstKey","secondKey","seriesLabel","unitNote","EXTRA_SHAPES","ChartShapeFigure","ChartFigure","legendSayer","totals","useMatrixFold","fold","setFold","element","host","judge","natural","shape","folds","was","observer","Matrix","folded","rowKey","colKey","rowTotals","colTotals","rowKeyColumn","total","colKeyColumn","sayCol","colLabel","periodTick","raw","OpenFull","subscribeMessages","messageLanguage","message","columnAt","reference","terminal","fk","candidate","AsideRows","onRows","second","third","labelColumn","primaryKey","nameRule","photoOwner","avatarOwner","photoOf","useAvatarPhotos","got","empty","Empty","line","pk","referenceLabels","referenceNames","namedCell","Value","named","photo","AvatarText","keyed","records","openRecord","List","setCount","matched","setMatched","source","authoredEmpty","sourceEmpty","ListEmpty","splitQuery","dashboardListQuery","formatApprox","presented","mini","aside","works","TableRoom","mayRunAny","offeredBy","resourceOf","exportOffered","Board","authored","boardSection","counts","boardCountText","naming","lanes","byValue","Lane","nothingOnIt","laneLimit","laneQuery","head","rest","dressFor","Dressed","maskedText","dress","Pick","home","dashboard","s","f","pickQuery","items","Dropdown","picks","onChange","NO_PERIODS","NO_SECTIONS","AllTimeOffer","offer","Button","plain","Sections","resolved","picked","windowed","sectionPeriod","periods","metricWindow","windowNow","scoped","windowTitle","widened","onAllTime","flow","out","strip","there","indices","paired","pairing","pairs","start","end","card","onPeriod","ErrorBoundary","image","landingImage","DashboardNote","heading","served","alone","allSections","cards","gate","inArea","LaidOut","queries","useQueryClient","asking","useIsFetching","askedNow","asked","setAsked","settled","setSettled","decided","timer","areas","away","area","BLOCK_DASHBOARD","NO_PICKS","NO_SERVED","noPeriod","DashboardBlock","ProblemScopeProvider","Dashboard","fromLink","pickedFromLink","periodsFromLink","setWindow","setPicks","setPeriods","periodsNow","onPeriods","firstRun","run","lead","onWindow","controls"],"ignoreList":[],"sources":["../../../src/client/copy/dashboards/components/Funnel.ts","../../../src/client/components/Funnel.tsx","../../../../engine/src/shared/dashLayout.ts","../../../../engine/src/shared/autoBucket.ts","../../../../engine/src/shared/dashboardTrend.ts","../../../../engine/src/shared/weekStart.ts","../../../../kit/src/client/components/autoChart.ts","../../../src/client/copy/shell/components/FirstRun.ts","../../../src/client/components/FirstRun.tsx","../../../src/client/copy/dashboards/components/Dashboard.ts","../../../src/client/copy/dashboards/components/DashboardWindow.ts","../../../src/client/components/DashboardWindow.tsx","../../../src/client/components/Dashboard.tsx"],"sourcesContent":["/** What Funnel says, in the dashboards room (packages/kit/src/client/messages.ts says how the catalog is split). */\nimport { defineMessages } from '@mistriwork/kit/client/messages.js';\n\nexport const say = defineMessages({\n summary: '{count} stages from {first} to {last}',\n ofBasis: '{share} of {basis}',\n dropped: '−{figure}',\n droppedTitle: '{figure} reached {basis} and stopped before {stage}',\n optional: 'Optional',\n openReached: 'Open the {table} that reached {stage}',\n openDropped: 'Open the {table} that stopped before {stage}',\n});\n","/**\n * A funnel section (`funnel()`): the rows of one table that reach each of its stages, in order. Every stage is a bar\n * against the first stage's length, its count, and its share of the stage it follows (\"62% of Qualified\") with the rows\n * it lost beside it (\"−12\"). An optional stage is a side road: marked, and a share of the last stage that is required.\n *\n * Presentational: the counts come from one statement (shared/funnel.ts, funnelText), so a later stage can never be\n * longer than the one before it. The stages' names are known before the counts arrive, so the list holds its height\n * while it loads and nothing moves when the figures land (docs/design.md, layout shift).\n */\nimport type { ReactNode } from 'react';\nimport { say as sayCopy } from '../copy/dashboards/components/Funnel.js';\nimport { formatPercent } from '@mistriwork/kit/client/locale.js';\nimport type { ViewLink } from '@mistriwork/kit/client/components/viewLink.js';\nimport './Funnel.css';\n\n/** Where a figure goes: a link where the address is a list's, else a button that walks there. */\nexport interface FunnelDoor {\n link?: ViewLink;\n open?: () => void;\n}\n\nexport interface FunnelStep {\n title: string;\n optional?: boolean;\n /** Absent while the answer is on its way. */\n count?: number;\n /** The stage this one is a share of (the last required stage before it), absent on the first. */\n basis: number | null;\n reached?: FunnelDoor;\n dropped?: FunnelDoor;\n}\n\nfunction Door({ door, className, title, children }: { door?: FunnelDoor; className: string; title: string; children: ReactNode }) {\n if (door?.link)\n return (\n <a className={`${className} dash-funnel-door`} href={door.link.href} title={title} onClick={door.link.onClick}>\n {children}\n </a>\n );\n if (door?.open)\n return (\n <button type=\"button\" className={`${className} dash-funnel-door`} title={title} onClick={door.open}>\n {children}\n </button>\n );\n return <div className={className}>{children}</div>;\n}\n\nexport function Funnel({\n steps,\n say,\n table,\n label,\n}: {\n steps: FunnelStep[];\n /** How a count is said (the section's figure rule). */\n say: (value: unknown) => string;\n table: string;\n label?: string;\n}) {\n const ready = steps.every((step) => step.count !== undefined);\n const first = steps[0]?.count || Math.max(0, ...steps.map((step) => step.count ?? 0)) || 1;\n return (\n <div className=\"dash-funnel-host\">\n <ol\n className=\"dash-funnel\"\n aria-busy={!ready || undefined}\n aria-label={\n label ?? sayCopy('summary', { count: steps.length, first: steps[0]?.title ?? '', last: steps[steps.length - 1]?.title ?? '' })\n }\n >\n {steps.map((step, i) => {\n const basis = step.basis === null ? undefined : steps[step.basis];\n const share = basis?.count ? (step.count ?? 0) / basis.count : undefined;\n const lost =\n basis && step.count !== undefined && basis.count !== undefined && !step.optional ? basis.count - step.count : undefined;\n const width = step.count === undefined ? 0 : Math.max(2, Math.min(100, (step.count / first) * 100));\n return (\n <li key={i} className={`dash-funnel-step${step.optional ? ' is-optional' : ''}`}>\n <Door door={step.reached} className=\"dash-funnel-main\" title={sayCopy('openReached', { table, stage: step.title })}>\n <span className=\"dash-funnel-name\">\n {step.title}\n {step.optional && <span className=\"dash-funnel-tag\">{sayCopy('optional')}</span>}\n </span>\n <span className=\"dash-funnel-track\" aria-hidden=\"true\">\n <span className=\"dash-funnel-fill\" style={{ width: `${width}%` }} />\n </span>\n <span className=\"dash-funnel-value\">{step.count === undefined ? ' ' : say(step.count)}</span>\n <span className=\"dash-funnel-share\">\n {basis && share !== undefined && step.count !== undefined\n ? sayCopy('ofBasis', { share: formatPercent(share * 100, { maximumFractionDigits: 0 }), basis: basis.title })\n : ' '}\n </span>\n </Door>\n <Door\n door={lost ? step.dropped : undefined}\n className=\"dash-funnel-drop\"\n title={sayCopy('openDropped', { table, stage: step.title })}\n >\n {lost ? (\n <span title={basis ? sayCopy('droppedTitle', { figure: say(lost), basis: basis.title, stage: step.title }) : undefined}>\n {sayCopy('dropped', { figure: say(lost) })}\n </span>\n ) : (\n ' '\n )}\n </Door>\n </li>\n );\n })}\n </ol>\n </div>\n );\n}\n","/**\n * A dashboard's `areas`: sections placed in named areas of a grid of equal columns.\n *\n * One reading on both sides — the parser that refuses a template (appViews.ts), the lint that judges an area's\n * width (designLint.ts) and the client that draws it (components/Dashboard.tsx) — so a template means the same\n * thing wherever it is read. Pure data in, data out.\n */\nimport { nearest } from './suggest.js';\n\n/** An area's name: a lowercase word that is also a CSS identifier, since the client names the grid area with it. */\nconst AREA_NAME = /^[a-z][a-z0-9-]{0,23}$/;\n/** Words CSS reads before an area name: `grid-area: span` or `auto` is not a name. */\nconst CSS_WORDS = new Set(['auto', 'span', 'initial', 'inherit', 'unset', 'revert', 'default']);\nconst LAYOUT_MAX_ROWS = 8;\nconst LAYOUT_MAX_COLUMNS = 4;\n/** The cell that holds no area. */\nconst EMPTY_CELL = '.';\n\n/** A template as cells: `grid[row][column]` is an area's name or `.`. */\nexport type LayoutGrid = string[][];\n\n/** Whether a word may name an area. */\nexport const isAreaName = (word: string): boolean => AREA_NAME.test(word) && !CSS_WORDS.has(word);\n\n/** The rows of a template as cells. Ragged rows stay ragged: `layoutProblems` is what says so. */\nexport function layoutGrid(layout: readonly string[]): LayoutGrid {\n return layout.map((row) => row.trim().split(/\\s+/).filter(Boolean));\n}\n\n/** The areas a template names, in reading order: row by row, each at its first cell. */\nexport function layoutAreas(grid: LayoutGrid): string[] {\n const seen: string[] = [];\n for (const row of grid) for (const cell of row) if (cell !== EMPTY_CELL && !seen.includes(cell)) seen.push(cell);\n return seen;\n}\n\n/** The cells an area covers, 0-based, in reading order. */\nfunction cellsOf(grid: LayoutGrid, name: string): Array<{ row: number; column: number }> {\n const cells: Array<{ row: number; column: number }> = [];\n grid.forEach((row, r) => row.forEach((cell, c) => cell === name && cells.push({ row: r, column: c })));\n return cells;\n}\n\n/** An area's box: where it starts, and how many rows and columns it spans. Absent when the template does not name it. */\nexport function areaBox(grid: LayoutGrid, name: string): { row: number; column: number; rows: number; columns: number } | undefined {\n const cells = cellsOf(grid, name);\n if (!cells.length) return undefined;\n const rows = cells.map((cell) => cell.row);\n const columns = cells.map((cell) => cell.column);\n const row = Math.min(...rows);\n const column = Math.min(...columns);\n return { row, column, rows: Math.max(...rows) - row + 1, columns: Math.max(...columns) - column + 1 };\n}\n\nconst place = (cell: { row: number; column: number }): string => `row ${cell.row + 1} column ${cell.column + 1}`;\n\n/** \"a, b and c\". */\nconst said = (words: string[]): string =>\n words.length < 2 ? (words[0] ?? '') : `${words.slice(0, -1).join(', ')} and ${words[words.length - 1]}`;\n\n/** Whether an area's cells fill their box exactly. */\nfunction isRectangle(grid: LayoutGrid, name: string): boolean {\n const box = areaBox(grid, name);\n return !box || cellsOf(grid, name).length === box.rows * box.columns;\n}\n\n/**\n * Everything wrong with a template, in words, one pass: a template is judged whole so one run names every refusal.\n * `at` is the dashboard, as the other refusals name it.\n */\nexport function layoutProblems(layout: unknown, at: string): string[] {\n const here = `${at}, \"areas\"`;\n if (!Array.isArray(layout) || !layout.length || layout.some((row) => typeof row !== 'string')) {\n return [`${here} is not a list of rows, each a string of area names: ['kpis kpis', 'trend side'].`];\n }\n const problems: string[] = [];\n if (layout.length > LAYOUT_MAX_ROWS) problems.push(`${here} has ${layout.length} rows. At most ${LAYOUT_MAX_ROWS}.`);\n const grid = layoutGrid(layout as string[]);\n const widest = Math.max(...grid.map((row) => row.length));\n if (grid.some((row) => !row.length)) problems.push(`${here} has an empty row. Write . for a cell with nothing in it.`);\n if (widest > LAYOUT_MAX_COLUMNS)\n problems.push(\n `${here} has ${widest} columns in a row. At most ${LAYOUT_MAX_COLUMNS}: wider than that, a column is too narrow to read.`,\n );\n const counts = new Set(grid.filter((row) => row.length).map((row) => row.length));\n if (counts.size > 1) {\n problems.push(\n `${here} has rows of different lengths (${grid.map((row, i) => `row ${i + 1} has ${row.length}`).join(', ')}). Every row has the same number of cells; write . for one with nothing in it.`,\n );\n }\n for (const word of new Set(grid.flat())) {\n if (word !== EMPTY_CELL && !isAreaName(word)) {\n problems.push(\n `${here} has \"${word}\", which is not an area name. An area is a lowercase word (letters, digits and hyphens, at most 24, starting with a letter, and not ${[...CSS_WORDS].join(' or ')}); . is a cell with nothing in it.`,\n );\n }\n }\n if (problems.length) return problems;\n for (const name of layoutAreas(grid)) {\n if (isRectangle(grid, name)) continue;\n problems.push(\n `${here}: \"${name}\" is not a rectangle: it covers ${said(cellsOf(grid, name).map(place))}. An area is one block of cells; give each separate block its own name.`,\n );\n }\n return problems;\n}\n\n/**\n * The areas a layout leaves for a reader when `hidden` ones have nothing to draw: a hidden area's cells go to its left\n * neighbour in that row (the right one when it is first), and a row left with no area in it is dropped. A neighbour that\n * would stop being a rectangle by it is not given the cells, which stand empty. Pure: a template in, a template out.\n */\nexport function reflowLayout(grid: LayoutGrid, hidden: ReadonlySet<string>): LayoutGrid {\n let next = grid.map((row) => [...row]);\n for (const name of layoutAreas(grid)) {\n if (!hidden.has(name)) continue;\n const trial = next.map((row) => [...row]);\n const touched = new Set<string>();\n next.forEach((row, r) => {\n const first = row.indexOf(name);\n if (first < 0) return;\n const last = row.lastIndexOf(name);\n const neighbour = first > 0 ? row[first - 1]! : (row[last + 1] ?? EMPTY_CELL);\n for (let c = first; c <= last; c++) trial[r]![c] = neighbour;\n touched.add(neighbour);\n });\n for (const other of touched) {\n if (other !== EMPTY_CELL && !isRectangle(trial, other)) {\n trial.forEach((row, r) =>\n row.forEach((cell, c) => {\n if (cell === other && next[r]![c] === name) row[c] = EMPTY_CELL;\n }),\n );\n }\n }\n next = trial;\n }\n return next.filter((row) => row.some((cell) => cell !== EMPTY_CELL));\n}\n\n/** The template as the strings a CSS `grid-template-areas` takes: one quoted row each. */\nexport const gridTemplateAreas = (grid: LayoutGrid): string => grid.map((row) => `\"${row.join(' ')}\"`).join(' ');\n\n/** An area that no section is placed in, or a section placed in none: the nearest name for a slip. */\nexport function nearestArea(name: string, areas: readonly string[]): string | undefined {\n return nearest(name, areas);\n}\n","/**\n * The time unit a chart cuts its dates into when its author did not fix one: `chart('Signups', 'account', 'auto\n * created_at', { over: 'created_at' })`.\n *\n * A fixed unit is right for one window and wrong for the next: `day` over 34 days with three days of data drew 34\n * bars, 31 of them empty, and `day` over a year draws 365. The right unit depends on the window the reader picks and\n * on how the data falls, so `auto` is decided where both are known, on the client, before the read. It is not a SQL\n * bucket: the server never sees the word (`withUnit` writes the unit in), and the grammar's `DATE_UNITS` is unchanged.\n *\n * Two rules choose the unit, both pure so a table of cases can hold them:\n * 1. The span picks a base unit: up to 45 days a day, up to 26 weeks a week, up to 36 months a month, past that a\n * quarter.\n * 2. Where the measure can be added up again (count, sum, min, max, avg as sum over count, and arithmetic of those),\n * the base answer is coarsened locally while fewer than a third of its buckets hold data, as long as at least four\n * buckets would remain. No second read. A median cannot be added up from its parts, so it follows the span only.\n */\nimport { dateWindow } from './queryDates.js';\n\nexport type AutoUnit = 'day' | 'week' | 'month' | 'quarter';\n\n/** Finest to coarsest: the order a sparse chart steps up through. */\nconst AUTO_UNITS: readonly AutoUnit[] = ['day', 'week', 'month', 'quarter'];\n\n/** A bucket needs a third of its periods to hold data before the chart is left at the unit the span chose. */\nconst DENSE = 1 / 3;\n/** Stepping up stops before the chart is left with fewer buckets than this. */\nconst FEWEST_BUCKETS = 4;\n\n/* ---------- the word in a `by` ---------- */\n\nconst AUTO_KEY = /^auto\\s+([\\w.$+]+)(\\s+as\\s+[\\w$]+)?$/i;\n\n/** The key of a `by` written `auto <column>`, wherever it stands in the list: its place and its column. */\nexport function autoKeyOf(by: string | undefined): { index: number; column: string } | null {\n const keys = (by ?? '').split(',');\n for (const [index, key] of keys.entries()) {\n const m = AUTO_KEY.exec(key.trim());\n if (m) return { index, column: m[1] };\n }\n return null;\n}\n\n/** The `by` with its `auto` key written as the unit the chart chose, which is the word the grammar reads. */\nexport function withUnit(by: string, unit: AutoUnit): string {\n const at = autoKeyOf(by);\n if (!at) return by;\n return by\n .split(',')\n .map((key, index) => (index === at.index ? key.trim().replace(/^auto/i, unit) : key.trim()))\n .join(', ');\n}\n\n/* ---------- the span ---------- */\n\nconst DAY = 86_400_000;\n\n/**\n * The days a section's query asks about on its `over` column — `created_at = last 90 days`, `this month` — or null\n * where it sets no window the date grammar can bound (the data's own extent is then the span).\n */\nexport function spanDaysOf(query: string | undefined, over: string | undefined, now: Date): number | null {\n const phrase = windowPhraseOf(query, over);\n const window = phrase ? dateWindow(phrase, now) : undefined;\n return window ? Math.max(1, Math.round((window.end.getTime() - window.start.getTime()) / DAY)) : null;\n}\n\n/** The phrase a query windows its `over` column by — `last 90 days` in `due_on = last 90 days` — or null. */\nexport function windowPhraseOf(query: string | undefined, over: string | undefined): string | null {\n if (!query || !over) return null;\n const escaped = over.replace(/[.$+]/g, '\\\\$&');\n const found = new RegExp(`(?:^|[\\\\s(])${escaped}\\\\s*=\\\\s*(.+?)(?=\\\\s+(?:and|or)\\\\b|\\\\)|$)`, 'i').exec(query);\n return found ? found[1].trim() : null;\n}\n\n/** The days between two dates the data holds, both ends counted. Null where either is not a date. */\nexport function spanDaysBetween(min: unknown, max: unknown): number | null {\n const from = dayNumber(String(min ?? '').slice(0, 10));\n const to = dayNumber(String(max ?? '').slice(0, 10));\n return from === null || to === null || to < from ? null : to - from + 1;\n}\n\n/** The unit a span of this many days is drawn in, before the data is looked at. */\nexport function unitForSpan(days: number): AutoUnit {\n if (days <= 45) return 'day';\n if (days <= 26 * 7) return 'week';\n if (days <= 36 * 30.4375) return 'month';\n return 'quarter';\n}\n\n/**\n * The unit the read asks the server for. Where the measure adds up again, a day or a week is read as days and\n * bucketed here: a week crosses a month's edge, so weeks read from the server could not be coarsened into months\n * without handing a whole week to one of them. Months and quarters nest, so those are read as they are drawn.\n */\nexport function readUnit(base: AutoUnit, addsUp: boolean): AutoUnit {\n return addsUp && (base === 'day' || base === 'week') ? 'day' : base;\n}\n\n/* ---------- periods, by their labels ---------- */\n\nconst pad = (n: number) => String(n).padStart(2, '0');\n\nfunction dayNumber(key: string): number | null {\n const m = /^(\\d{4})-(\\d{2})-(\\d{2})$/.exec(key);\n return m ? Date.UTC(Number(m[1]), Number(m[2]) - 1, Number(m[3])) / DAY : null;\n}\n\nconst dayKey = (n: number): string => {\n const d = new Date(n * DAY);\n return `${d.getUTCFullYear()}-${pad(d.getUTCMonth() + 1)}-${pad(d.getUTCDate())}`;\n};\n\n/** The label of the period a day, month or quarter label falls in, spelled as the server spells it. */\nexport function bucketKey(key: string, unit: AutoUnit, weekStart = 1): string {\n if (unit === 'day') return key;\n if (unit === 'week') {\n const n = dayNumber(key);\n if (n === null) return key;\n /* ISO weekday 1..7; a day is that many days past its week's first. */\n const weekday = ((new Date(n * DAY).getUTCDay() + 6) % 7) + 1;\n return dayKey(n - ((weekday - weekStart + 7) % 7));\n }\n const month = Number(key.slice(5, 7));\n if (unit === 'month') return key.slice(0, 7);\n return /Q[1-4]$/.test(key) ? key : `${key.slice(0, 4)}-Q${Math.ceil(month / 3)}`;\n}\n\nfunction nextKey(key: string, unit: AutoUnit): string {\n if (unit === 'day' || unit === 'week') return dayKey((dayNumber(key) ?? 0) + (unit === 'week' ? 7 : 1));\n if (unit === 'month') {\n const [y, m] = [Number(key.slice(0, 4)), Number(key.slice(5, 7))];\n return m === 12 ? `${y + 1}-01` : `${y}-${pad(m + 1)}`;\n }\n const [y, q] = [Number(key.slice(0, 4)), Number(key.slice(6))];\n return q === 4 ? `${y + 1}-Q1` : `${y}-Q${q + 1}`;\n}\n\nconst SPELLED: Record<AutoUnit, RegExp> = {\n day: /^\\d{4}-\\d{2}-\\d{2}$/,\n week: /^\\d{4}-\\d{2}-\\d{2}$/,\n month: /^\\d{4}-\\d{2}$/,\n quarter: /^\\d{4}-Q[1-4]$/,\n};\n\n/** The local calendar day of a date, as the server spells a day. */\nconst localDay = (d: Date): string => `${d.getFullYear()}-${pad(d.getMonth() + 1)}-${pad(d.getDate())}`;\n\n/**\n * A trend's points over its window: the periods that held no rows put back as zero, from the window's first period\n * to today's, and the read periods added up into the unit the span is drawn in. A count of nothing is 0, and a line\n * drawn through only the days that had rows said a quiet week was a steady one; three busy days of a week drew no\n * line at all. Only a count or a sum adds up so: any other measure's points are drawn as read, and labels the read\n * unit does not spell are left as they came.\n */\nexport function trendPoints<R extends { key: unknown; value: unknown }>(\n rows: readonly R[],\n read: AutoUnit,\n unit: AutoUnit,\n measure: string | undefined,\n window: { start: Date; end: Date } | undefined,\n now: Date,\n): Array<{ key: unknown; value: unknown }> {\n if (!/^(count|sum\\s+[\\w.$+]+)(\\s+as\\s+[\\w$]+)?$/i.test((measure ?? 'count').trim())) return [...rows];\n const keys = rows.map((row) => String(row.key ?? ''));\n if (keys.some((key) => !SPELLED[read].test(key))) return [...rows];\n const ends = window ? [window.start, new Date(Math.min(window.end.getTime() - 1, now.getTime()))] : [];\n const sorted = [...keys, ...ends.map((d) => bucketKey(localDay(d), read))].sort();\n if (!sorted.length) return [...rows];\n const held = new Map(rows.map((row) => [String(row.key), Number(row.value) || 0]));\n const into = new Map<string, number>();\n for (let key = sorted[0], n = 0; key <= sorted[sorted.length - 1] && n < 5000; key = nextKey(key, read), n++) {\n const label = bucketKey(key, unit);\n into.set(label, (into.get(label) ?? 0) + (held.get(key) ?? 0));\n }\n return [...into].map(([key, value]) => ({ key, value }));\n}\n\n/** How many periods of the unit run from the first label to the last, both ends counted. */\nfunction periodsBetween(first: string, last: string, unit: AutoUnit): number {\n let count = 1;\n for (let key = first; key < last && count < 5000; key = nextKey(key, unit)) count++;\n return count;\n}\n\n/**\n * The unit a chart is drawn in: the span's, stepped up while the data is sparse in it.\n *\n * `keys` are the labels of the buckets that hold data, as read (days, or months or quarters, per `readUnit`).\n * `addsUp` is whether the measure can be re-aggregated; without it the span alone decides.\n */\nexport function chooseUnit({\n spanDays,\n base: given,\n keys,\n addsUp,\n weekStart = 1,\n}: {\n /** The span in days; or the `base` already chosen for it, where the caller has kept one. */\n spanDays?: number;\n base?: AutoUnit;\n keys: readonly string[];\n addsUp: boolean;\n weekStart?: number;\n}): { base: AutoUnit; unit: AutoUnit } {\n const base = given ?? unitForSpan(spanDays ?? 0);\n if (!addsUp || !keys.length || base === 'quarter') return { base, unit: base };\n const at = (unit: AutoUnit) => {\n const labels = [...new Set(keys.map((k) => bucketKey(k, unit, weekStart)))].sort();\n return { filled: labels.length, total: periodsBetween(labels[0], labels[labels.length - 1], unit) };\n };\n let unit: AutoUnit = base;\n for (;;) {\n const here = at(unit);\n if (here.filled / here.total >= DENSE) break;\n const next: AutoUnit | undefined = AUTO_UNITS[AUTO_UNITS.indexOf(unit) + 1];\n if (!next || at(next).total < FEWEST_BUCKETS) break;\n unit = next;\n }\n return { base, unit };\n}\n\n/* ---------- the measure, taken apart so it can be added up again ---------- */\n\ntype Combine = 'add' | 'min' | 'max';\n\nexport interface MeasurePlan {\n /** What to read per bucket, in the grammar's words: each aggregate the measure is made of, once. */\n reads: string[];\n /** How the same aggregate of two buckets becomes one of their union. */\n combine: Combine[];\n /** The measure's value from its aggregates, null where it has none (a ratio over nothing). */\n value(terms: readonly (number | null)[]): number | null;\n}\n\nconst TERM = /^(count|sum|avg|min|max)\\s*([\\w.$+]+)?$/i;\n\n/**\n * A measure as the aggregates it is made of, or null where it cannot be added up again: a median, a distinct\n * count, a `when` count, or words this does not read. `avg x` is `sum x` over `count x`, which can.\n */\nexport function planMeasure(measure: string | undefined): MeasurePlan | null {\n const text = (measure ?? 'count').replace(/\\s+as\\s+[\\w$]+\\s*$/i, '').trim();\n if (/\\b(distinct|when|median)\\b|[,[\\]()]/i.test(text)) return null;\n const parts = text.split(/\\s+([+\\-*/])\\s+/);\n const reads: string[] = [];\n const combine: Combine[] = [];\n const read = (aggregate: string, how: Combine): number => {\n const at = reads.indexOf(aggregate);\n if (at >= 0) return at;\n reads.push(aggregate);\n combine.push(how);\n return reads.length - 1;\n };\n type Operand = { number: number } | { term: number } | { ratio: [number, number] };\n const operands: Operand[] = [];\n for (let i = 0; i < parts.length; i += 2) {\n const part = parts[i].trim();\n if (/^\\d+(?:\\.\\d+)?$/.test(part)) {\n operands.push({ number: Number(part) });\n continue;\n }\n const m = TERM.exec(part);\n if (!m) return null;\n const fn = m[1].toLowerCase();\n const column = m[2];\n if (fn !== 'count' && !column) return null;\n if (fn === 'avg') operands.push({ ratio: [read(`sum ${column}`, 'add'), read(`count ${column}`, 'add')] });\n else operands.push({ term: read(column ? `${fn} ${column}` : fn, fn === 'min' ? 'min' : fn === 'max' ? 'max' : 'add') });\n }\n const ops = parts.filter((_, i) => i % 2 === 1);\n const value = (terms: readonly (number | null)[]): number | null => {\n const values = operands.map((o): number | null => {\n if ('number' in o) return o.number;\n if ('term' in o) return terms[o.term];\n const [sum, count] = [terms[o.ratio[0]], terms[o.ratio[1]]];\n return sum === null || !count ? null : sum / count;\n });\n /* SQL's precedence: `*` and `/` bind first; a division by zero is null, as the server's is. */\n const sums: Array<number | null> = [values[0]];\n const signs: string[] = [];\n for (const [i, op] of ops.entries()) {\n const right = values[i + 1];\n const left = sums[sums.length - 1];\n if (op === '*' || op === '/') {\n sums[sums.length - 1] =\n left === null || right === null || (op === '/' && right === 0) ? null : op === '*' ? left * right : left / right;\n } else {\n sums.push(right);\n signs.push(op);\n }\n }\n return sums.reduce<number | null>(\n (acc, v, i) => {\n if (i === 0) return v;\n return acc === null || v === null ? null : signs[i - 1] === '+' ? acc + v : acc - v;\n },\n sums[0] === undefined ? null : sums[0],\n );\n };\n return { reads, combine, value };\n}\n\n/** One bucket as read: its label, the second key's value where the chart has one, and one number per aggregate the plan reads. */\ninterface ReadBucket {\n key: string;\n series?: string;\n terms: readonly (number | null)[];\n}\n\n/** The read buckets cut into the chosen unit, each aggregate added up (or min'd, or max'd) across the ones it takes in. */\nexport function coarsen(\n buckets: readonly ReadBucket[],\n plan: MeasurePlan,\n unit: AutoUnit,\n weekStart = 1,\n): Array<{ key: string; series?: string; value: number }> {\n /* A chart over a second key (a line or a stack per value) is coarsened per value: a cross is the period and the series. */\n const into = new Map<string, Array<number | null>>();\n const SPLIT = '\\u0000';\n for (const bucket of buckets) {\n const key = `${bucketKey(bucket.key, unit, weekStart)}${bucket.series === undefined ? '' : SPLIT + bucket.series}`;\n const held = into.get(key);\n if (!held) {\n into.set(key, [...bucket.terms]);\n continue;\n }\n plan.combine.forEach((how, i) => {\n const [a, b] = [held[i], bucket.terms[i]];\n held[i] = a === null ? b : b === null ? a : how === 'add' ? a + b : how === 'min' ? Math.min(a, b) : Math.max(a, b);\n });\n }\n return [...into.entries()]\n .sort(([a], [b]) => (a < b ? -1 : a > b ? 1 : 0))\n .flatMap(([joined, terms]) => {\n const value = plan.value(terms);\n const [key, series] = joined.split(SPLIT);\n return value === null || !Number.isFinite(value) ? [] : [{ key, ...(series === undefined ? {} : { series }), value }];\n });\n}\n\n/* ---------- what a section asks, for the check ---------- */\n\n/** The most days a window may span before a fixed `day` chart over it is worth a word. */\nexport const DAY_BARS_ADVISED = 90;\n\n/**\n * The days a dashboard window phrase covers, as it would be said (\"last 12 months\" is 365): the nominal length of a\n * `last N unit`, else the dates the phrase resolves to, or null where it is not one the date grammar bounds. (A\n * resolved `last N` runs to tomorrow, a day more than it is called, which a count of bars should not repeat.)\n */\nexport function windowDays(phrase: string, now: Date): number | null {\n const last = /^last\\s+(\\d+)\\s+(day|week|month|year)s?$/i.exec(phrase.trim());\n if (last) return Math.round(Number(last[1]) * { day: 1, week: 7, month: 365 / 12, year: 365 }[last[2].toLowerCase() as 'day']);\n const window = dateWindow(phrase, now);\n return window ? Math.round((window.end.getTime() - window.start.getTime()) / DAY) : null;\n}\n\n/** Whether a chart's `by` cuts days: `day created_at`, in any position. */\nexport const cutsDays = (by: string | undefined): boolean => (by ?? '').split(',').some((key) => /^day\\s+[\\w.$+]+/i.test(key.trim()));\n","/**\n * A metric's trend, in the words it is asked: the window it is drawn over and the read that draws it. Apart from\n * dashboardAsks.ts because it reads the window's span through autoBucket.ts, which only a drawn dashboard needs:\n * held there, every App's first page carried the bucketing a chart and a trend use (scripts/bundle-budget.mjs).\n * Asked by the client's metric (client/components/Dashboard.tsx) and by the server for a first page\n * (server/http/firstPaintRooms.ts), in the same words.\n */\nimport { andQuery } from './query.js';\nimport { type AutoUnit, unitForSpan, windowDays, windowPhraseOf } from './autoBucket.js';\nimport type { AskedSection } from './dashboardAsks.js';\n\n/**\n * The window a metric's trend is drawn over — the reader's, else the author's own on `over` — and the units it is\n * read and drawn in: the span's unit (autoBucket.ts), read as days under a week so a week is added up on the client\n * (`trendPoints`) and never handed whole to one month. Null where the metric has no window the date grammar bounds.\n */\nexport function sparkWindow(\n section: Pick<AskedSection, 'query' | 'over' | 'windowPhrase'>,\n now = new Date(),\n): { phrase: string; read: AutoUnit; unit: AutoUnit } | null {\n if (!section.over) return null;\n const phrase = section.windowPhrase ?? windowPhraseOf(section.query, section.over);\n const days = phrase ? windowDays(phrase, now) : null;\n if (!phrase || !days) return null;\n /* \"today\" is one day: a trend of fewer than four points is no line, and no slot is held for it. */\n if (days < 4) return null;\n const unit = unitForSpan(days);\n return { phrase, unit, read: unit === 'week' ? 'day' : unit };\n}\n\n/** The most periods a windowed trend reads: 182 days, or months and quarters past them, with room to spare. */\nconst TREND_PERIODS = 400;\n\n/**\n * A metric's trend. Over a window, the metric over that window in the span's unit, so \"last 30 days\" draws thirty\n * days and \"last 12 months\" twelve months: every windowed metric has one, beside its change, unless its author said\n * `spark: false`. With no window, the author's `spark: true` is the measure's last twelve months, bucketed monthly by\n * the section's own clock (`over`), composed with whatever the card is narrowed to by other than time. None without a\n * clock.\n */\nexport function sparkText(\n section: Pick<AskedSection, 'table' | 'query' | 'windowBase' | 'windowPhrase' | 'measure' | 'over' | 'spark'>,\n): string | null {\n /* An authored false is heard over a window too: a card can be a figure alone, which it once could not say. */\n if (!section.over || section.spark === false) return null;\n const window = sparkWindow(section);\n if (window)\n return [section.table, section.query, `${section.measure ?? 'count'} by ${window.read} ${section.over}`, `limit ${TREND_PERIODS}`]\n .filter(Boolean)\n .join(' ');\n if (!section.spark) return null;\n const trendBase = section.windowBase ?? section.query;\n return `${section.table} ${andQuery(trendBase, `${section.over} = last 12 months`)} ${section.measure ?? 'count'} by month ${section.over}`;\n}\n","/**\n * Which weekday a week starts on in a reader's locale, read once and remembered. Shared by the server's date\n * buckets and the client's charts, so a `week` means the same seven days on both sides.\n */\nconst weekStarts = new Map<string, number>();\n/**\n * The day a week starts on where an App is read: its `ui.locale`'s own first\n * day (Sunday in the US, Monday in most of the world), and Monday — ISO's —\n * where the App names no locale. Said as an ISO weekday, 1 (Monday) to 7\n * (Sunday), the number a `week` bucket's SQL takes (filter.ts).\n */\nexport function localeWeekStart(locale: string | undefined): number {\n if (!locale) return 1;\n /* Asked for every date a request reads, of the same few locales; building\n an Intl.Locale each time was measurable on a busy server. Bounded,\n because a locale can come from a person's own setting. */\n const known = weekStarts.get(locale);\n if (known !== undefined) return known;\n if (weekStarts.size >= 64) weekStarts.clear();\n const first = readWeekStart(locale);\n weekStarts.set(locale, first);\n return first;\n}\n\nfunction readWeekStart(locale: string): number {\n try {\n const tag = new Intl.Locale(locale) as Intl.Locale & {\n getWeekInfo?: () => { firstDay: number };\n weekInfo?: { firstDay: number };\n };\n const first = (tag.getWeekInfo?.() ?? tag.weekInfo)?.firstDay;\n return typeof first === 'number' && Number.isInteger(first) && first >= 1 && first <= 7 ? first : 1;\n } catch {\n return 1;\n }\n}\n","/**\n * A chart whose `by` says `auto` (shared/autoBucket.ts): the unit it is cut into, decided before the read from the\n * window and, where the window does not say, the data's own extent; then coarsened locally while the answer is sparse.\n *\n * The unit is decided once per window. A refresh that finds the data a little denser or sparser keeps the unit the\n * reader is looking at, because a chart that changes its bars under a pointer, on a timer, is the layout shift this\n * product refuses; a reader's own pick of a window chooses again.\n */\nimport { useRef } from 'react';\nimport {\n autoKeyOf,\n chooseUnit,\n coarsen,\n planMeasure,\n readUnit,\n spanDaysBetween,\n spanDaysOf,\n unitForSpan,\n withUnit,\n type AutoUnit,\n type MeasurePlan,\n} from '@mistriwork/engine/shared/autoBucket.js';\nimport { localeWeekStart } from '@mistriwork/engine/shared/weekStart.js';\nimport { shell } from '../shellMode.js';\nimport type { Section } from './dashboardModel.js';\n\ninterface Answer {\n columns?: string[];\n rows?: Array<Record<string, unknown>>;\n names?: Record<string, Record<string, string>>;\n}\n\n/** What a read gives back that this needs: the answer, and whether it is the last window's held while the next loads. */\nexport interface Read {\n data?: Answer;\n isPlaceholderData?: boolean;\n}\n\ninterface AutoDrawn {\n answer: Answer | undefined;\n /** The unit the bars or points are in, said under the title. Absent until there is one to say. */\n unit: AutoUnit | undefined;\n /** A line with too few filled buckets to draw a line through: its points stand alone. */\n dots: boolean;\n}\n\ninterface AutoChart {\n /** The section to ask, in the unit chosen; null while the span is still being read from the data. */\n ask: Section | null;\n /** The read's answer as it is drawn: coarsened where it adds up, and the unit it came to. */\n draw(read: Read): AutoDrawn;\n}\n\n/** The fewest filled buckets a line is drawn through: two points are a segment, and a segment says nothing of a trend. */\nconst LINE_FROM = 3;\n\nconst numberOrNull = (value: unknown): number | null => {\n const n = Number(value);\n return value === null || value === undefined || value === '' || !Number.isFinite(n) ? null : n;\n};\n\n/**\n * The plan for a section, or null for a chart that does not say `auto`. Called every render of every chart, in the\n * same order, so the hooks it makes (the span's read, the kept unit) are the chart's own.\n *\n * `read` asks the server in the dashboard's way (its cache, its refresh), so this module holds no fetching of its own.\n */\nexport function useAutoChart(section: Section, read: (text: string | null) => Read): AutoChart | null {\n const auto = autoKeyOf(section.by);\n const plan = planMeasure(section.measure);\n /* A measure adds up again when the date is the first key: the answer is then a row per period (and per value of a\n second key, which the period is coarsened within). A date second has its rows grouped by another key first. */\n const keys = (section.by ?? '').split(',').length;\n const addsUp = plan !== null && auto?.index === 0 && keys <= 2;\n const weekStart = localeWeekStart((shell().app() as { ui?: { locale?: string } } | null)?.ui?.locale);\n\n /* The window the reader picked rides on `over`; a chart with none of its own is held to the window its query\n writes on the date it cuts. */\n const windowDays = auto ? spanDaysOf(section.query, section.over ?? auto.column, new Date()) : null;\n /* What a window is, and so when the unit is chosen again: the table and column, and the window's own phrase. A\n pick of another filter changes the section's query and not this. */\n const epoch = auto ? `${section.table}|${section.over ?? ''}|${auto.column}|${windowDays ?? 'data'}` : '';\n const kept = useRef<{ epoch: string; base?: AutoUnit; unit?: AutoUnit; drawn?: AutoDrawn }>({ epoch: '' });\n if (kept.current.epoch !== epoch) kept.current = { epoch, drawn: kept.current.drawn };\n\n /* Under no window the span is the data's own: its first and last date, as the one-row answer of two measures, the\n grammar's own `min` and `max` (a read with no `by` is one group). */\n const needsExtent = Boolean(auto) && windowDays === null && !kept.current.base;\n const extent = read(\n needsExtent && auto ? [section.table, section.query, `min ${auto.column}, max ${auto.column}`].filter(Boolean).join(' ') : null,\n );\n\n if (!auto) return null;\n\n let base = kept.current.base;\n if (!base && windowDays !== null) base = unitForSpan(windowDays);\n if (!base && extent.data && !extent.isPlaceholderData) {\n const [from, to] = extent.data.columns ?? [];\n const row = extent.data.rows?.[0];\n const days = row ? spanDaysBetween(row[from], row[to]) : null;\n /* A table with no dates has nothing to draw: the finest unit is as good as any. */\n base = days === null ? 'day' : unitForSpan(days);\n }\n if (base) kept.current.base = base;\n if (!base) {\n return {\n ask: null,\n draw: () => kept.current.drawn ?? { answer: undefined, unit: undefined, dots: false },\n };\n }\n\n const reading = readUnit(base, addsUp);\n const ask: Section = {\n ...section,\n by: withUnit(section.by ?? '', reading),\n ...(addsUp && plan ? { measure: plan.reads.join(', ') } : {}),\n };\n /* One line, of few filled buckets; several lines are drawn as they are. */\n const dotted = (filled: number) => (!section.shape || section.shape === 'line') && keys === 1 && filled > 0 && filled < LINE_FROM;\n\n const draw = ({ data, isPlaceholderData }: Read): AutoDrawn => {\n /* A held answer is the last window's, in the last window's unit: drawn as it was, and never the data the unit\n is chosen from. */\n if (!data || isPlaceholderData) return kept.current.drawn ?? { answer: undefined, unit: undefined, dots: false };\n const columns = data.columns ?? [];\n let drawn: AutoDrawn;\n if (addsUp && plan && columns.length === keys + plan.reads.length && !(data.rows ?? []).some((row) => row[columns[0]] == null)) {\n const buckets = (data.rows ?? []).map((row) => ({\n key: String(row[columns[0]]),\n ...(keys === 2 ? { series: String(row[columns[1]]) } : {}),\n terms: plan.reads.map((_, i) => numberOrNull(row[columns[keys + i]])),\n }));\n const unit = kept.current.unit ?? chooseUnit({ base, keys: buckets.map((b) => b.key), addsUp: true, weekStart }).unit;\n kept.current.unit = unit;\n const rows = coarsen(buckets, plan as MeasurePlan, unit, weekStart);\n drawn = {\n answer: {\n columns: [...columns.slice(0, keys), 'value'],\n rows: rows.map((r) => ({ [columns[0]]: r.key, ...(keys === 2 ? { [columns[1]]: r.series } : {}), value: r.value })),\n },\n unit,\n dots: dotted(rows.length),\n };\n } else {\n kept.current.unit = base;\n drawn = { answer: data, unit: base, dots: dotted((data.rows ?? []).length) };\n }\n kept.current.drawn = drawn;\n return drawn;\n };\n return { ask, draw };\n}\n","/** What FirstRun says, in the shell room (packages/kit/src/client/messages.ts says how the catalog is split). */\nimport { defineMessages } from '@mistriwork/kit/client/messages.js';\n\nexport const say = defineMessages({\n getStarted: 'Get started',\n done: '(done)',\n open: 'Open',\n});\n","/**\n * A new App's first steps. A home over empty tables draws charts of nothing\n * and counts of zero, which say the App is broken when it is only new; this\n * says what to do instead — add the first record here, then there — each\n * step a link to its list with the New form open.\n *\n * A step is done when its table has a row the reader can see, read as one\n * bounded row per step. `useFirstRun` says where the dashboard stands:\n * `fresh` (no step done) draws the welcome alone, `started` draws it above\n * the dashboard, `done` (or no steps this reader can take) draws nothing.\n */\nimport { useQueries } from '@tanstack/react-query';\nimport { findTable, state } from '@mistriwork/kit/client/core.js';\nimport { batchedRun } from '@mistriwork/kit/client/breakdownBatch.js';\nimport { canInsert } from '@mistriwork/kit/client/insert.js';\nimport type { TableMeta } from '@mistriwork/engine/shared/schema.js';\nimport { buttonClass } from '@mistriwork/ui/Button.js';\nimport { Icon } from '@mistriwork/kit/client/components/Icon.js';\nimport { viewLink } from '@mistriwork/kit/client/components/viewLink.js';\nimport type { Section } from '@mistriwork/kit/client/components/dashboardModel.js';\nimport './FirstRun.css';\nimport { say } from '../copy/shell/components/FirstRun.js';\n\ntype FirstRunStage = 'unknown' | 'fresh' | 'started' | 'done';\n\n/** Which steps are done, and so what the dashboard draws. */\nexport function useFirstRun(section: Section | undefined): { stage: FirstRunStage; done: boolean[] } {\n const steps = section?.steps ?? [];\n const reads = useQueries({\n queries: steps.map((step) => ({\n queryKey: ['first-run', state.activeConnection ?? '', step.table],\n queryFn: async () => {\n // Asked with the dashboard's other reads, in one request, and not counted (breakdownBatch.ts).\n const data = await batchedRun<{ rows?: unknown[] }>({ q: step.table ?? '', limit: 1, offset: 0, count: 'none' });\n return Boolean(data.rows?.length);\n },\n // Read again whenever the home is drawn: the reader has just come back from adding the first record.\n staleTime: 0,\n })),\n });\n if (!section || !steps.length) return { stage: 'done', done: [] };\n /* A step that cannot be read is not a reason to hide the dashboard: it counts as done. */\n const done = reads.map((read) => read.isError || read.data === true);\n if (reads.some((read) => read.isPending)) return { stage: 'unknown', done };\n return { stage: done.every(Boolean) ? 'done' : done.some(Boolean) ? 'started' : 'fresh', done };\n}\n\nexport function FirstRun({ section, done, fresh }: { section: Section; done: boolean[]; fresh: boolean }) {\n const steps = section.steps ?? [];\n const next = done.indexOf(false);\n return (\n <section className={`page-section width-full dash-first-run${fresh ? ' is-fresh' : ''}`} aria-labelledby=\"first-run-title\">\n <h2 className=\"page-section-title\" id=\"first-run-title\">\n {section.title ?? say('getStarted')}\n </h2>\n {section.text && <p className=\"first-run-text\">{section.text}</p>}\n <ol className=\"first-run-steps\">\n {steps.map((step, i) => {\n const table = findTable(step.table ?? '') as TableMeta | undefined;\n /* The New form where the reader may add; the list itself where they may only read. */\n const adding = !done[i] && Boolean(table && canInsert(table, true));\n const link = viewLink(step.view, 'push', adding);\n return (\n <li key={step.view} className={`first-run-step${done[i] ? ' is-done' : ''}`}>\n <span className=\"first-run-mark\" aria-hidden=\"true\">\n {done[i] ? <Icon name=\"check-circle\" size={20} weight=\"bold\" /> : <span className=\"first-run-number\">{i + 1}</span>}\n </span>\n <span className=\"first-run-words\">\n <span className=\"first-run-label\">\n {step.label}\n {done[i] ? <span className=\"visually-hidden\"> {say('done')}</span> : null}\n </span>\n {step.detail && <span className=\"first-run-detail\">{step.detail}</span>}\n </span>\n {link &&\n (done[i] ? (\n <a className={buttonClass({ intent: 'quiet', size: 'compact' })} {...link}>\n {say('open')}\n </a>\n ) : (\n <a className={buttonClass({ intent: i === next ? 'primary' : 'secondary', size: 'compact' })} {...link}>\n {adding ? say('common.add') : say('open')}\n </a>\n ))}\n </li>\n );\n })}\n </ol>\n </section>\n );\n}\n","/** What Dashboard says, in the dashboards room (packages/kit/src/client/messages.ts says how the catalog is split). */\nimport { defineMessages } from '@mistriwork/kit/client/messages.js';\n\nexport const say = defineMessages({\n target: 'Target {goal}',\n nothingToCountYet: 'Nothing to count yet.',\n nothingToDrawYet: 'Nothing to draw yet.',\n thisSectionHasNoBreakdown: 'This section has no breakdown query.',\n thisSectionHasNoRecord: 'This section has no record query.',\n vsTheCompareWindow: 'vs the compare window',\n inTheCompareWindow: '{b} in the compare window ({compare})',\n sameAsBefore: 'Same as before',\n sameAsTheCompareWindow: 'Same as the compare window',\n ofTarget: '{reached} of {goal} target',\n ofWhole: '{figure} of {whole} ({reached})',\n ofWholeSaid: '{figure} of {whole}, {percent} percent',\n theTimeWindowAbove: 'The time window above does not change this figure.',\n fixedWindow: 'Right now',\n allTime: 'All time',\n noToCount: 'No {table} to count.',\n openTableWhereBy: 'Open {table} where {by} = {key}',\n noToDraw: 'No {table} to draw.',\n byDay: 'by day',\n byWeek: 'by week',\n byMonth: 'by month',\n byQuarter: 'by quarter',\n nothingToCrossYet: 'Nothing to cross yet.',\n noToCross: 'No {table} to cross.',\n theFullListWithItsTabs: 'The full list, with its tabs and filters',\n figureInAll: '{figure} in all',\n noneIn: 'No {title}',\n closedSteps: 'Ended',\n nothingToLayOut: 'Nothing to lay out yet.',\n noToLayOut: 'No {table} to lay out.',\n moreCount: '+ {figure} more',\n nothingInThisTimeWindow: 'Nothing in this time window.',\n showAllTime: 'Show all time',\n any: 'Any {label}',\n filter: 'Filter by {label}',\n latestChanges: 'Latest changes',\n branding: 'Branding',\n integrations: 'Integrations',\n dashboardContext: 'Dashboard context',\n vsPrior: 'vs prior {period}',\n sameAsPrior: 'Same as prior {period}',\n});\n","/** What DashboardWindow says, in the dashboards room (packages/kit/src/client/messages.ts says how the catalog is split). */\nimport { defineMessages } from '@mistriwork/kit/client/messages.js';\n\nexport const say = defineMessages({\n timeWindow: 'Time window',\n allTimeWindow: 'All time',\n defaultWindow: 'Default',\n windowRange: '{from} – {to}',\n pickWindow: 'Time window: {window}',\n});\n","/**\n * A dashboard's window control: the picker for the time window its dated sections share, in the segmented row or the\n * single button a phone and a portal's header keep, and the phrase the unpicked state stands for. Pure presentation of\n * what the dashboard (Dashboard.tsx) hands it.\n */\nimport { windowPhraseOf } from '@mistriwork/engine/shared/autoBucket.js';\nimport { Icon } from '@mistriwork/kit/client/components/Icon.js';\nimport { formatDate } from '@mistriwork/kit/client/locale.js';\nimport { dateWindow } from '@mistriwork/engine/shared/queryDates.js';\nimport { DropItem, DropMenu } from '@mistriwork/ui/DropMenu.js';\nimport { say as sayCopy } from '../copy/dashboards/components/DashboardWindow.js';\n\n/** The window every dated section keeps when none is picked: their one phrase (`last 90 days`); null where some keep\n different ones, or others keep none, so no one phrase says what the unpicked state is; undefined where none keeps one. */\nexport function ownWindowOf(sections: Array<{ query?: string; over?: string; windowBase?: string }>): string | null | undefined {\n const dated = sections.filter((section) => section.over);\n const kept = dated.filter((section) => section.windowBase !== undefined);\n if (!kept.length) return undefined;\n const phrases = new Set(kept.map((section) => windowPhraseOf(section.query, section.over)?.toLowerCase() ?? ''));\n const [only] = phrases;\n return kept.length === dated.length && phrases.size === 1 && only ? only : null;\n}\n\n/**\n * The window picker: the unpicked state and the dashboard's offered phrases.\n * Unpicked is \"All time\" only when it is: where a section keeps a window of\n * its own (`close_date = last 90 days`), the pressed \"All time\" sat over\n * figures still counting their ninety days, so it says the window they keep\n * (\"Last 90 days\"), or \"Default\" where the sections keep different ones, and\n * each figure says its own window (windowTitle, metricWindow).\n */\nexport function WindowRow({\n windows,\n current,\n onPick,\n ownWindow,\n control = 'segmented',\n}: {\n windows: string[];\n current: string | null;\n onPick: (w: string | null) => void;\n /** What the unpicked state is: undefined where no section keeps a window (all time), the phrase they all keep, or null where they differ. */\n ownWindow: string | null | undefined;\n control?: 'segmented' | 'button';\n}) {\n const said = (phrase: string) => phrase.charAt(0).toUpperCase() + phrase.slice(1);\n const word = (w: string | null) =>\n w ? said(w) : ownWindow ? said(ownWindow) : sayCopy(ownWindow === null ? 'defaultWindow' : 'allTimeWindow');\n /* Where every dated section keeps one window, the unpicked state is that window, and the same phrase offered\n beside it would be a second entry reading alike that means the same: it is the unpicked one, so it is not listed. */\n const offered = [null, ...windows.filter((w) => !ownWindow || w.toLowerCase() !== ownWindow)];\n const pressed = (w: string | null) => (w === null ? !current || (!!ownWindow && current.toLowerCase() === ownWindow) : w === current);\n if (control === 'button') {\n /* The dates the window covers, its last day inclusive (the window's end is the next day's start); a phrase the\n calendar cannot place is said as itself. */\n const span = current ? dateWindow(current, new Date()) : undefined;\n const shown = span\n ? sayCopy('windowRange', {\n from: formatDate(span.start, { month: 'short', day: 'numeric' }),\n to: formatDate(new Date(span.end.getTime() - 86_400_000), { month: 'short', day: 'numeric', year: 'numeric' }),\n })\n : word(current);\n return (\n <DropMenu\n className=\"dash-window-menu\"\n triggerClassName=\"dash-window-button\"\n triggerLabel={sayCopy('pickWindow', { window: word(current) })}\n label={\n <>\n <Icon name=\"calendar-blank\" size={15} className=\"dash-window-icon\" />\n <span className=\"dash-window-range\">{shown}</span>\n <Icon name=\"caret-down\" size={12} className=\"dash-window-caret\" />\n </>\n }\n popupClassName=\"more-list dash-window-list\"\n align=\"end\"\n >\n {offered.map((w) => (\n <DropItem key={w ?? ''} className=\"more-item\" onClick={() => onPick(w)}>\n <span className=\"more-tick\" aria-hidden=\"true\">\n {pressed(w) ? '✓' : ''}\n </span>\n <span className=\"more-label\">{word(w)}</span>\n </DropItem>\n ))}\n </DropMenu>\n );\n }\n return (\n <div className=\"dash-windows\" role=\"group\" aria-label={sayCopy('timeWindow')}>\n {offered.map((w) => (\n <button key={w ?? ''} type=\"button\" className=\"dash-window\" aria-pressed={pressed(w)} onClick={() => onPick(w)}>\n {word(w)}\n </button>\n ))}\n </div>\n );\n}\n","/**\n * A dashboard: the app's own screen, composed like a page but about the\n * whole table instead of one record.\n *\n * Every section rides machinery that already exists — a metric is the\n * home card's one-group breakdown with a width, a breakdown is the same\n * def the page sections run, a list is the real table view with the\n * chrome off — so this module is composition, not a new engine. The\n * sections wear the page's own layout classes, because a dashboard and a\n * page are the same room at two zoom levels and should read as such.\n *\n * Every fetch is a Query. That is what makes a refresh a refetch — the\n * numbers change in place, the reader never sees a loading state — and\n * what makes fifteen sections on one screen fifteen cache entries rather\n * than fifteen requests per paint: a pick changes the sections it lands\n * on and the rest keep what they have.\n */\nimport { shell } from '@mistriwork/kit/client/shellMode.js';\nimport {\n createContext,\n memo,\n useCallback,\n useContext,\n useEffect,\n useLayoutEffect,\n useMemo,\n useRef,\n useState,\n useSyncExternalStore,\n type CSSProperties,\n type ReactNode,\n} from 'react';\nimport { keepPreviousData, useIsFetching, useQuery, useQueryClient } from '@tanstack/react-query';\nimport {\n columnDisplay,\n columnLabel,\n findTable,\n go,\n labelColumn,\n labelPath,\n openRecord,\n primaryKey,\n quote,\n refsFrom,\n tableView,\n} from '@mistriwork/kit/client/core.js';\nimport { splitQuery } from '@mistriwork/kit/client/clauses.js';\nimport { batchedBreakdown, batchedRun } from '@mistriwork/kit/client/breakdownBatch.js';\nimport { ListEmpty } from '@mistriwork/kit/client/components/ListEmpty.js';\nimport { andQuery } from '@mistriwork/engine/shared/query.js';\nimport { humanName } from '@mistriwork/engine/shared/model.js';\nimport { droppedQuery, funnelBasis, funnelChains, funnelText, stageColumn } from '@mistriwork/engine/shared/funnel.js';\nimport { Funnel, type FunnelDoor } from './Funnel.js';\nimport { exportOffered, type AppListEmpty } from '@mistriwork/engine/shared/listPresentations.js';\nimport { gridTemplateAreas, layoutAreas, layoutGrid, reflowLayout, type LayoutGrid } from '@mistriwork/engine/shared/dashLayout.js';\nimport {\n boardCountText,\n chartLimit,\n dashboardListQuery,\n groupsAskedFor,\n measureText,\n pickQuery,\n type AskLookups,\n} from '@mistriwork/engine/shared/dashboardAsks.js';\nimport { sparkText, sparkWindow } from '@mistriwork/engine/shared/dashboardTrend.js';\nimport { trendPoints } from '@mistriwork/engine/shared/autoBucket.js';\nimport type { ColumnMeta, ForeignKey, TableMeta } from '@mistriwork/engine/shared/schema.js';\nimport { message, messageLanguage, subscribeMessages } from '@mistriwork/kit/client/messages.js';\nimport { activeApp, inAppMode } from '../appState.js';\nimport { mayRunAny } from '@mistriwork/kit/client/actionGrants.js';\nimport { appRooms, isListRoom, offeredBy, resourceOf, viewRoom } from '@mistriwork/kit/client/components/appRooms.js';\nimport { listEntry, listLink, type ViewLink } from '@mistriwork/kit/client/components/viewLink.js';\nimport { TableRoom } from '@mistriwork/kit/client/components/TableRoom.js';\nimport { referenceNames } from '@mistriwork/kit/client/components/appListModel.js';\nimport { namedCell } from '@mistriwork/kit/client/components/listColumn.js';\nimport { dressFor, groupLabel, maskedText, ruleSays, type DisplayRule } from '@mistriwork/kit/client/components/valueModel.js';\nimport { AvatarText, Dressed, Value } from '@mistriwork/kit/client/components/Value.js';\nimport { avatarOwner, useAvatarPhotos } from '@mistriwork/kit/client/components/avatarPhotos.js';\nimport { Sparkline, TONE_INK, periodTick } from '@mistriwork/kit/client/components/Chart.js';\nimport { useAutoChart } from '@mistriwork/kit/client/components/autoChart.js';\nimport { ChartFigure, ChartShapeFigure, EXTRA_SHAPES, type ExtraShape } from '@mistriwork/kit/client/components/ChartFigure.js';\nimport { Dropdown } from '@mistriwork/kit/client/components/Dropdown.js';\nimport { DashboardNote } from '@mistriwork/kit/client/components/DashboardNote.js';\nimport { Icon } from '@mistriwork/kit/client/components/Icon.js';\nimport { FirstRun, useFirstRun } from './FirstRun.js';\nimport { ErrorBoundary } from '@mistriwork/kit/client/components/ErrorBoundary.js';\nimport { Empty, Problem, ProblemScopeProvider } from '@mistriwork/kit/client/components/Notes.js';\nimport { Button } from '@mistriwork/ui/Button.js';\nimport { landingImage } from './LandingData.js';\nimport type { AppIconName } from '@mistriwork/engine/shared/appIcons.js';\nimport { currencyPath } from '@mistriwork/engine/shared/money.js';\nimport { targetText } from '@mistriwork/engine/shared/dashboardAsks.js';\nimport {\n allSections,\n barShare,\n boardSection,\n breakdownText,\n CurrencyFigures,\n pinnedCurrency,\n figure,\n fullQuery,\n legendSayer,\n namedGroups,\n orderGroups,\n picked,\n sayer,\n sectionPeriod,\n windowed,\n windowTitle,\n metricWindow,\n type DashboardDef,\n type DashboardProps,\n type Periods,\n type Picks,\n type Section,\n} from '@mistriwork/kit/client/components/dashboardModel.js';\nimport { declaredOrder, orderDeclared } from '@mistriwork/kit/client/components/groupOrder.js';\nimport { formatApprox, formatLocale, formatPercent } from '@mistriwork/kit/client/locale.js';\nimport { dateWindow } from '@mistriwork/engine/shared/queryDates.js';\n/* The dashboard's own blocks' sheet travels with this chunk (onDemand), not in the first stylesheet. */\nimport './DashboardBlocks.css';\nimport { onDemand } from '@mistriwork/kit/client/components/onDemand.js';\nimport { say as sayCopy } from '../copy/dashboards/components/Dashboard.js';\nimport { WindowRow, ownWindowOf } from './DashboardWindow.js';\nimport { liveFollowing } from '@mistriwork/kit/client/liveState.js';\n\n/* An author's component, and the page's side of @mistriwork/mistri/ui with it: fetched\n the first time a dashboard holds one, never for a dashboard without. */\n/* What a section with no title is called: its table and the column it groups by, in words (\"Hold by Item\"), never the\n stored names (\"hold by item_id\"). */\nconst untitled = (section: { table?: string; by?: string }) => {\n const table = humanName(section.table ?? '');\n return section.by ? `${table} by ${(columnLabel(section.table ?? '', section.by) as string | null) ?? humanName(section.by)}` : table;\n};\n\n/** What a section with nothing in it says, from its own title: \"No leases ending soon\" under \"Leases ending soon\", where\n the grid's \"No rows match.\" named neither the section nor why. The title's first word is lower-cased unless it is a\n name or an acronym (a capital past its first letter). */\nfunction nothingIn(title: string): string {\n const said = title.trim().replace(/[.!?:]+$/, '');\n const first = said.split(/\\s+/)[0] ?? '';\n const word = /[A-Z]/.test(first.slice(1)) ? first : first.charAt(0).toLowerCase() + first.slice(1);\n return sayCopy('noneIn', { title: `${word}${said.slice(first.length)}` });\n}\n\nconst CustomDashSection = onDemand(() => import('./sdk/CustomSection.js'), 'CustomDashSection');\n/* A list that works as its room does, and the feed of recent changes: each fetched the first time a dashboard holds one. */\nconst InteractiveList = onDemand(() => import('@mistriwork/kit/client/components/DashboardList.js'), 'InteractiveList');\nconst ActivityFeed = onDemand(() => import('./DashboardActivity.js'), 'ActivityFeed');\nconst FindSection = onDemand(() => import('./DashboardFind.js'), 'FindSection');\nconst BrandingForm = onDemand(() => import('./BrandingForm.js'), 'BrandingForm');\nconst IntegrationsForm = onDemand(() => import('./IntegrationsForm.js'), 'IntegrationsForm');\n/* A section's own period picker, with the rules of the heading row that holds it. */\nconst SectionPeriod = onDemand(() => import('@mistriwork/kit/client/components/SectionPeriod.js'), 'SectionPeriod');\n\ninterface Breakdown {\n columns?: string[];\n rows?: Array<Record<string, unknown>>;\n names?: Record<string, Record<string, string>>;\n}\ninterface Rows {\n rows?: Array<Record<string, unknown>>;\n}\ntype Row = Record<string, unknown>;\n\n/* What a read says about the time it is asked at: a window (\"last 30 days\"), a day or a period named from now. A\n figure that says none changes only when the data does, and live sync (liveSync.ts) tells the page when. */\nconst TIME_RELATIVE =\n /\\b(?:now|today|yesterday|tomorrow|ago|(?:this|last|next|past|previous)\\s+(?:\\d+\\s+)?(?:day|week|month|quarter|year)s?)\\b/i;\n\n/* The youngest answer the minute reads again. Query asks the interval again after every answer, so a tile read at\n :00.2 ticks at the next :00, a minute old; one read at :58 waits for the minute after. */\nconst TICK_FLOOR = 15_000;\n\n/**\n * The minute tick: asked again on the wall-clock minute, asleep with the tab (Query's refetchIntervalInBackground is\n * off). A read that depends on the time always ticks; every other read ticks while the page follows no changes to its\n * table (an App without `live: true`, `--no-live`, or a resource's own `live: false`), since nothing else would tell a\n * dashboard left on a wall that its data moved.\n */\nexport const minuteTick = (\n text: string | null | undefined,\n table?: string,\n following: (table?: string) => boolean = liveFollowing,\n): ((query?: { state: { dataUpdatedAt: number } }) => number | false) | false => {\n if (!text) return false;\n const timed = TIME_RELATIVE.test(text);\n return (query) => {\n if (!timed && following(table)) return false;\n const now = Date.now();\n const next = 60_000 - (now % 60_000);\n /* An answer read moments before the minute (a page opened at :58, the first paint's carried answers) is not read\n again at :00: the tick that would land on it goes to the minute after. */\n const read = query?.state.dataUpdatedAt;\n return read && now + next - read < TICK_FLOOR ? next + 60_000 : next;\n };\n};\n\n/* A tile is an aggregate, and says what it is as of: re-read when a change\n to its tables is announced (liveSync.ts), a write that invalidates it, the\n minute for a read that depends on the time, or after two minutes, not every\n time the dashboard is opened again or its tab regains focus. */\nconst TILE_FRESH = 120_000;\n/* The most currencies a figure says apart: more than this is a report, not a card. */\nconst CURRENCIES_SAID = 6;\n\n/* Here, not in dashboardModel.ts: only a dashboard sums a measure apart per currency, and that model is first-page code (PageMetrics). */\n/** The path a section's money measure is grouped by, where each row says its own currency and the section's query does not pin one. */\nfunction currencySplit(section: Pick<Section, 'table' | 'measure' | 'format' | 'query'>): string | undefined {\n if (section.format || /\\s[*/+-]\\s/.test(section.measure ?? '')) return undefined;\n const m = /^(?:sum|avg|min|max|median)\\s+([A-Za-z0-9_.]+)(?:\\s+as\\s+\\w+)?$/i.exec((section.measure ?? '').trim());\n const rule = m && section.table ? (columnDisplay(section.table, m[1]) as { format?: string; currencyColumn?: string } | null) : null;\n const path = rule?.format === 'money' ? currencyPath(rule, m![1]) : undefined;\n return path && !pinnedCurrency(section.query, path) ? path : undefined;\n}\n\n/* `table`: the resource the read is over, whose own `live: false` keeps it on the minute tick on a live App. */\nfunction useBreakdown(text: string | null, table?: string, limit?: number) {\n return useQuery<Breakdown>({\n queryKey: ['breakdown', text, limit ?? null],\n queryFn: () => {\n if (!text) throw new Error(sayCopy('thisSectionHasNoBreakdown'));\n // Asked with the other sections of this paint, in one request (breakdownBatch.ts).\n return batchedBreakdown<Breakdown>({ text, limit });\n },\n enabled: Boolean(text),\n refetchInterval: minuteTick(text, table),\n staleTime: TILE_FRESH,\n placeholderData: keepPreviousData,\n });\n}\n\nfunction useRows(q: string | null, limit: number, table?: string) {\n return useQuery<Rows>({\n queryKey: ['run', q, limit],\n queryFn: () => {\n if (!q) throw new Error(sayCopy('thisSectionHasNoRecord'));\n // With the section's numbers, in one request (breakdownBatch.ts).\n return batchedRun<Rows>({ q, limit, offset: 0, count: 'none' });\n },\n enabled: Boolean(q),\n refetchInterval: minuteTick(q, table),\n staleTime: TILE_FRESH,\n placeholderData: keepPreviousData,\n });\n}\n\n/** One measure over one query, as a number — the home card's fetch. */\nfunction useMeasure(section: Pick<Section, 'table' | 'measure' | 'format'>, query: string | undefined, enabled = true) {\n /* Money each row says its own currency for is summed apart per currency (CurrencyFigures). */\n const split = currencySplit({ ...section, query });\n const text = split ? `${measureText(section, query)} by ${split}` : measureText(section, query);\n return useQuery<unknown>({\n queryKey: ['measure', text],\n queryFn: async () => {\n const data = await batchedBreakdown<Breakdown>({ text, limit: split ? CURRENCIES_SAID : 1 });\n if (split) {\n /* The currency first, the figure last, whatever the server says between them. */\n const figures = (data.rows ?? []).flatMap((row) => {\n const keys = Object.keys(row);\n const code = row[keys[0]];\n return typeof code === 'string' && code.trim() ? [[code.trim().toUpperCase(), row[keys[keys.length - 1]]] as const] : [];\n });\n return figures.length ? new CurrencyFigures(figures) : null;\n }\n const row = data.rows?.[0];\n return row ? row[Object.keys(row)[0]] : null;\n },\n enabled,\n refetchInterval: minuteTick(text, section.table),\n staleTime: TILE_FRESH,\n placeholderData: keepPreviousData,\n });\n}\n\n/**\n * A section authored `empty: 'hide'` that has nothing to draw says so to the shell round it, which leaves the whole\n * section out — its heading and its place in the grid with it — rather than drawing a title over an empty note.\n * The section stays mounted, so its question keeps being asked and it returns when something arrives.\n */\nconst LeaveOutContext = createContext<(gone: boolean) => void>(() => {});\nfunction LeaveOut() {\n const leave = useContext(LeaveOutContext);\n useEffect(() => {\n leave(true);\n return () => leave(false);\n }, [leave]);\n return null;\n}\n\n/**\n * One dashboard section's own box, hidden while the section inside it has asked to be left out. On a layout the grid\n * decides when (`report` says what each section asks, `hidden` is what the grid has settled on): a section that left\n * out the moment its own answer arrived would move the areas round it once for every tile that answers.\n */\nfunction SectionShell({\n className,\n children,\n at,\n report,\n hidden,\n}: {\n className: string;\n children: ReactNode;\n at?: number;\n report?: (at: number, gone: boolean) => void;\n hidden?: boolean;\n}) {\n const [gone, setGone] = useState(false);\n const leave = useCallback(\n (now: boolean) => {\n setGone(now);\n if (at !== undefined) report?.(at, now);\n },\n [at, report],\n );\n return (\n <section className={className} hidden={(report ? hidden : gone) || undefined}>\n <LeaveOutContext.Provider value={leave}>{children}</LeaveOutContext.Provider>\n </section>\n );\n}\n\n/**\n * Where a section's groups go. In an App that is one of its lists, never the database browser: the list its `to`\n * names, else the one list over its table this reader is served; with none, or several, the groups are text\n * (`null`) and `mistri check` says which. In the browser (`undefined`) a group opens the table's rows.\n */\nfunction drillTarget(section: Section): string | null | undefined {\n if (section.noDrill) return null;\n const app = activeApp() as Parameters<typeof appRooms>[0] | null;\n if (!inAppMode() || !app) return undefined;\n if (section.view) {\n const room = viewRoom(app, section.view);\n return room && isListRoom(room) && !room.error ? section.view : null;\n }\n const lists = appRooms(app).filter((room) => isListRoom(room) && !room.error && room.table === section.table);\n return lists.length === 1 ? lists[0].id : null;\n}\n\n/** A group's doorway: followed in place, and where a list takes it, also a link a reader can open in a new tab. */\ntype Drill = ((value: unknown) => void) & { link: (value: unknown) => ViewLink | undefined };\n\n/**\n * A group is a doorway when the `by` is a plain column path: clicking\n * \"on_hold · 70\" opens the list filtered to that group, on top of\n * whatever the section (and the reader's window) already narrowed. A\n * bucketed by — \"month opened_on\" — stays read-only: its groups are\n * derived values the filter grammar does not take as equalities.\n */\nfunction drillFor(section: Section): Drill | null {\n if (!section.by || /\\s/.test(section.by)) return null;\n const target = drillTarget(section);\n if (target === null) return null;\n const queryFor = (value: unknown) => `${section.table} ${andQuery(section.query, `${section.by} = ${quote(String(value))}`)}`;\n const open = (value: unknown) => {\n if (value == null) return;\n if (target === undefined) go(tableView(section.table, queryFor(value)), 'push');\n else {\n const entry = listEntry(target, queryFor(value));\n if (entry) go(entry, 'push');\n }\n };\n return Object.assign(open, {\n link: (value: unknown) => (target && value != null ? listLink(target, queryFor(value)) : undefined),\n });\n}\n\n/** A group's key as its reader says it: the column's display rule, and in an\n App the column's vocabulary as words (valueModel.ts, groupLabel). */\nfunction sayGroup(table: string | undefined, column: string | undefined) {\n /* A weekday bucket answers 1 (Monday) to 7, an hour bucket 00 to 23: said as the reader's day and hour. */\n const bucket = /^(weekday|hour)\\s/i.exec(column ?? '')?.[1]?.toLowerCase();\n if (bucket) return (key: unknown) => sayBucket(bucket, key);\n const rule = columnDisplay(table ?? '', column ?? '') as DisplayRule | null;\n const allowed = (findTable(table ?? '') as TableMeta | undefined)?.columns.find((c) => c.name === column)?.allowed;\n return (key: unknown) => groupLabel(rule, key, allowed);\n}\n\n/** A weekday or hour bucket's key in the reader's words: 2024-01-01 was a Monday. */\nfunction sayBucket(bucket: string, key: unknown): string {\n const n = Number(key);\n if (key == null || key === '' || !Number.isInteger(n)) return String(key ?? '—');\n const at = bucket === 'weekday' ? new Date(Date.UTC(2024, 0, n)) : new Date(Date.UTC(2024, 0, 1, n));\n const options: Intl.DateTimeFormatOptions =\n bucket === 'weekday' ? { weekday: 'short', timeZone: 'UTC' } : { hour: 'numeric', timeZone: 'UTC' };\n return at.toLocaleString(formatLocale(), options);\n}\n\n/* The schema as the dashboard's asks read it (shared/dashboardAsks.ts), through the walk's own helpers. */\nconst lookups: AskLookups = {\n table: (id) => findTable(id) as TableMeta | undefined,\n references: (id) => refsFrom(id) as ForeignKey[],\n referenceNames,\n naming: (table) => labelPath(table) as string | undefined,\n};\n\n/* ---------- metric ---------- */\n\n/** A section's mark, leading its title: one of the App's curated icons, its glyph in the App payload. */\nfunction Mark({ section }: { section: Section }) {\n return section.icon ? <Icon name={section.icon} size={16} className=\"dash-section-icon\" /> : null;\n}\n\n/** A change's news, as a class: ' good' or ' bad' where the metric says which way is better, else nothing. */\nexport function changeTone(diff: number, better: 'up' | 'down' | undefined): '' | ' good' | ' bad' {\n if (!better || diff === 0 || !Number.isFinite(diff)) return '';\n return diff > 0 === (better === 'up') ? ' good' : ' bad';\n}\n\n/** What a compare window is, as a card says it beside its change: \"vs prior 90 days\". */\nexport function comparedWith(compare: string | undefined, level = false): string | undefined {\n const period = /\\bprevious\\s+(\\d+)\\s+(minute|hour|day|week|month|year)s?\\b/i.exec(compare ?? '');\n if (!period) return compare ? sayCopy(level ? 'sameAsTheCompareWindow' : 'vsTheCompareWindow') : undefined;\n const n = Number(period[1]);\n return sayCopy(level ? 'sameAsPrior' : 'vsPrior', { period: n === 1 ? period[2].toLowerCase() : `${n} ${period[2].toLowerCase()}s` });\n}\n\ninterface MetricProps {\n section: Section;\n /** The section's own period picker, when it has windows of its own (SectionPeriod). */\n period?: ReactNode;\n /** The reader has picked a window on this dashboard: a card it does not move says so. */\n windowed?: boolean;\n /** A card beside it in the row says the window it is over: a card with none says it is the present, so\n the row reads evenly rather than one figure standing with nothing under it. */\n dated?: boolean;\n /** Home keeps its own click and its own way of saying what went wrong. */\n onOpen?: () => void;\n onErrorClick?: () => void;\n}\n\n/**\n * One KPI card: the number, its label, its delta when a compare window is\n * given. The app home's cards and a dashboard's metrics are this same\n * card. A card carrying a resolution `error` shows the honest dash.\n */\nexport const Metric = memo(function Metric({\n section,\n windowed: offered = false,\n dated = false,\n period,\n onOpen,\n onErrorClick,\n}: MetricProps) {\n const label = section.title ?? untitled(section);\n const windowNote = section.windowNote;\n const live = !section.error;\n const now = useMeasure(section, section.query, live);\n const say = sayer(section, now.data, { card: true });\n /* The figure whole, where the card says it compact: its title, and what a screen reader hears. */\n const sayWhole = sayer(section, now.data, { whole: true });\n const then = useMeasure(section, section.compare, live && Boolean(section.compare));\n /* A goal read from data is a second measure, in the metric's own words; a number needs no read. */\n const goalAsk = typeof section.target === 'object' && section.target ? section.target : undefined;\n const goalData = useMeasure(goalAsk ?? section, goalAsk?.query, live && Boolean(goalAsk));\n /* The spark: over a window, the metric across that window in the span's\n unit — thirty days of \"last 30 days\", twelve months of \"last 12\n months\" — drawn under the number beside its change; with none, the\n author's `spark: true` is the last twelve months by the section's own\n clock (`over`). It composes with whatever the card is narrowed to by\n other than time: a picked owner's card shows a picked owner's trend. */\n /* No trend line through several currencies' sums: there is no one line to draw. */\n const sparkAsk = live && !currencySplit(section) ? sparkText(section) : null;\n const spark = useBreakdown(sparkAsk, section.table);\n\n const shown = section.error ? '—' : now.isError ? '—' : now.data === undefined ? '…' : say(now.data);\n const whole = section.error || now.isError || now.data === undefined ? shown : sayWhole(now.data);\n /* While the figure is read it is a placeholder at the figure's own size, not \"…\" set at the figure's 32px, which\n stood on the card as three heavy dots. Heard as \"…\" still (heard, below). */\n const figure = shown === '…' ? <span className=\"sk-bar home-card-wait\" aria-hidden=\"true\" /> : shown;\n let delta: ReactNode = null;\n /* The change's news, which the trend beside it is drawn in too. */\n let tone = '';\n if (section.compare && now.data != null && then.data != null) {\n const a = Number(now.data);\n const b = Number(then.data);\n if (Number.isFinite(a) && Number.isFinite(b)) {\n const diff = a - b;\n /* Coloured only when the author said which way is good news. \"More\"\n is not always \"better\", so without a word the tone stays neutral. */\n tone = changeTone(diff, section.better);\n /* A change says what it is a change from: \"↓ $785.1K\" alone left the\n reader to guess the period it was measured against. */\n const against = comparedWith(section.compare, diff === 0);\n /* Unchanged is one phrase, \"Same as prior 30 days\", not a figure with nothing to say. */\n delta =\n diff === 0 ? (\n <span className=\"dash-delta\" title={sayCopy('inTheCompareWindow', { b: say(b), compare: section.compare })}>\n <span className=\"dash-delta-whole\">{against ?? sayCopy('sameAsBefore')}</span>\n </span>\n ) : (\n <span className={`dash-delta${tone}`} title={sayCopy('inTheCompareWindow', { b: say(b), compare: section.compare })}>\n <span className=\"dash-delta-figure\">{`${diff > 0 ? '↑' : '↓'} ${say(Math.abs(diff))}`}</span>\n {against && (\n <>\n {' '}\n <span className=\"dash-delta-period\">{against}</span>\n </>\n )}\n </span>\n );\n }\n }\n const sparkPoints = useMemo(() => {\n const rows = spark.data;\n if (!rows) return null;\n const [keyName, valueName] = rows.columns ?? [];\n const read = (rows.rows ?? [])\n .map((r) => ({ key: r[keyName], value: r[valueName] }))\n .sort((a, b) => (String(a.key) < String(b.key) ? -1 : String(a.key) > String(b.key) ? 1 : 0));\n const over = sparkWindow(section);\n const now = new Date();\n return over ? trendPoints(read, over.read, over.unit, section.measure, dateWindow(over.phrase, now), now) : read;\n }, [spark.data, section]);\n /* Both slots stand from the first paint: a change the card will show holds its line while the two figures are\n read, and a trend its height, so neither arrives by pushing the card taller. */\n const deltaSlot = delta ?? (\n <span className=\"dash-delta\" aria-hidden={section.compare ? 'true' : undefined}>\n {section.compare && !section.error ? '\\u00a0' : null}\n </span>\n );\n const sparkSlot = sparkAsk ? <SparkHost points={sparkPoints} say={say} tone={tone} /> : null;\n /* A goal makes the card a meter: the share reached drawn under the number\n and said beside it, the bar full at the goal and never past it. */\n const goalAt = typeof section.target === 'number' ? section.target : goalAsk ? Number(goalData.data ?? NaN) : NaN;\n const goal = Number.isFinite(goalAt) && goalAt > 0 ? goalAt : undefined;\n const reached =\n goal !== undefined && !section.error && now.data != null && Number.isFinite(Number(now.data)) ? Number(now.data) / goal : undefined;\n /* A whole is the figure's own cohort counted without its extra conditions: said as a share of it, \"118 of 159\n (74%)\", not as a goal reached. */\n const share = reached === undefined ? undefined : formatPercent(reached * 100, { maximumFractionDigits: 0 });\n const wholeWords = section.targetWhole && goal !== undefined && share !== undefined;\n const goalWords =\n goal === undefined\n ? ''\n : reached === undefined\n ? sayCopy('target', { goal: say(goal) })\n : section.targetWhole\n ? sayCopy('ofWhole', { figure: say(now.data), whole: say(goal), reached: share! })\n : sayCopy('ofTarget', { reached: share!, goal: say(goal) });\n /* What a screen reader hears: the figure once, then its share, never the visible words after the figure again. */\n const heard = wholeWords\n ? `${label}: ${sayCopy('ofWholeSaid', { figure: sayWhole(now.data), whole: sayWhole(goal), percent: String(Math.round(reached! * 100)) })}`\n : `${label}: ${whole}${goalWords ? `, ${goalWords}` : ''}`;\n /* What the card says compact and its name would lose: the whole amount, and a share said in words other than the\n ones drawn. Appended after the label (a hidden span), so the drawn words stay the start of the name (WCAG 2.5.3). */\n const spoken = [\n whole !== shown ? whole : '',\n wholeWords\n ? sayCopy('ofWholeSaid', { figure: sayWhole(now.data), whole: sayWhole(goal), percent: String(Math.round(reached! * 100)) })\n : '',\n ].filter((part) => part && part !== goalWords);\n /* A metric that names a list view opens that room — its tabs, its\n presentation — on the rows it counted, and says so with an arrow: the\n whole card is the way in. One the reader is not served opens the table. */\n const app = activeApp();\n const opens = section.view && app && viewRoom(app, section.view) ? section.view : undefined;\n /* `to: false`: a figure that is read where it stands, not a way into rows, so nothing in it is a control. */\n const still = section.noDrill === true && !section.error;\n const open = section.error\n ? (onErrorClick ?? (() => {}))\n : (onOpen ?? (() => go({ ...tableView(section.table, fullQuery(section)), ...(opens ? { view: opens } : {}) }, 'push')));\n /* A card with its own period holds the picker, and a button cannot hold\n another control: the card is a box, its label the way in. */\n if (period) {\n return (\n <div className={`home-card home-card-period${opens ? ' opens-view' : ''}`} title={section.error ?? fullQuery(section)}>\n <span className=\"home-card-value\" aria-hidden=\"true\" title={whole === shown ? undefined : whole}>\n {figure}\n </span>\n <span className=\"home-card-label\">\n {still ? (\n <span className=\"home-card-open\" aria-label={heard}>\n <Mark section={section} />\n {label}\n </span>\n ) : (\n <button type=\"button\" className=\"home-card-open\" aria-label={heard} onClick={open}>\n <Mark section={section} />\n {label}\n {opens && (\n <>\n {/* A word joiner: the arrow follows the label's last word, never wraps alone. */}\n {'\\u2060'}\n <span className=\"home-card-go\" aria-hidden=\"true\">\n →\n </span>\n </>\n )}\n </button>\n )}\n {period}\n </span>\n {deltaSlot}\n {windowNote && !section.error && <span className=\"dash-fixed dash-window\">{windowNote}</span>}\n {goal !== undefined && (\n <span className=\"dash-target\">\n <span className=\"dash-target-meter\" aria-hidden=\"true\">\n <span style={{ width: `${Math.round(Math.min(1, Math.max(0, reached ?? 0)) * 100)}%` }} />\n </span>\n <span className=\"dash-target-text\">{goalWords}</span>\n </span>\n )}\n {sparkSlot}\n </div>\n );\n }\n const Card = still ? 'div' : 'button';\n return (\n <Card\n {...(still ? { role: 'group' } : { type: 'button' as const, onClick: open })}\n className={`home-card${still ? ' home-card-still' : opens ? ' opens-view' : ''}`}\n /* A card that opens a room is named by the words drawn on it, figure first (WCAG 2.5.3, label in name); the\n still group, which is no control, keeps \"Label: figure\". */\n aria-label={still ? heard : undefined}\n title={section.error ?? fullQuery(section)}\n >\n <span className=\"home-card-value\" title={whole === shown ? undefined : whole}>\n {figure}\n </span>\n <span className=\"home-card-label\">\n <Mark section={section} />\n {label}\n {opens && (\n <>\n {/* A word joiner: the arrow follows the label's last word, never wraps alone. */}\n {'\\u2060'}\n <span className=\"home-card-go\" aria-hidden=\"true\">\n →\n </span>\n </>\n )}\n </span>\n {!still && spoken.length > 0 && <span className=\"visually-hidden\">{`, ${spoken.join(', ')} `}</span>}\n {deltaSlot}\n {/* The window above moves every card that has a clock; once the reader\n has picked one, a card without says so, quietly. Under All time no\n card is narrowed, so the note would only be noise on a card that\n was never about time — what is on order, what is short. */}\n {offered && !section.over && !section.error && (\n <span className=\"dash-fixed\" title={sayCopy('theTimeWindowAbove')}>\n {sayCopy('fixedWindow')}\n </span>\n )}\n {/* A card over a clock with no window counts every time; one with no clock counts what stands now. */}\n {dated && !offered && !windowNote && !section.error && (\n <span className=\"dash-fixed\">{sayCopy(section.over ? 'allTime' : 'fixedWindow')}</span>\n )}\n {/* The window the author set, said under the figure rather than wrapped into its label (metricWindow). */}\n {windowNote && !section.error && <span className=\"dash-fixed dash-window\">{windowNote}</span>}\n {goal !== undefined && (\n <span className=\"dash-target\">\n <span className=\"dash-target-meter\" aria-hidden=\"true\">\n <span style={{ width: `${Math.round(Math.min(1, Math.max(0, reached ?? 0)) * 100)}%` }} />\n </span>\n <span className=\"dash-target-text\">{goalWords}</span>\n </span>\n )}\n {sparkSlot}\n </Card>\n );\n});\n\n/** The measure's shape inside the card, its height held while it is read and where it has too few points to draw. */\nfunction SparkHost({\n points,\n say,\n tone,\n}: {\n points: Array<{ key: unknown; value: unknown }> | null;\n say: (v: unknown) => string;\n tone: string;\n}) {\n return <span className={`spark-host is-reserved${tone}`}>{points && points.length >= 4 && <Sparkline rows={points} say={say} />}</span>;\n}\n\n/* ---------- breakdown, chart, matrix ---------- */\n\n/* How many groups a breakdown asks for before it orders them itself (orderGroups): shared/dashboardAsks.ts. */\nconst askedFor = groupsAskedFor;\n\n/** The order of the column a section groups by, where it declares one (groupOrder.ts, declaredOrder). */\nfunction orderOf(table: string | undefined, by: string | undefined): { vocabulary?: string[]; scale: boolean } {\n /* A computed column (an age in days) is not among the table's own columns: its declared type says whether it is a\n scale (shared/computed.ts). */\n const meta = findTable(table ?? '') as TableMeta | undefined;\n const computed = by && meta?.computed && Object.hasOwn(meta.computed, by) ? meta.computed[by] : undefined;\n const column = meta?.columns.find((c) => c.name === by) ?? (computed ? { type: computed.type } : undefined);\n return declaredOrder(column, by ? (columnDisplay(table ?? '', by) as DisplayRule | null) : null, by);\n}\n\n/**\n * A breakdown's goals by group key (G76): each group's goal, the groups with a goal and nothing measured yet (a seller\n * with a quota and no wins is at 0%, not missing), and the goal answer's names for those.\n */\nfunction goalsOf(section: Section, answer: Breakdown | undefined, keyName: string, countName: string) {\n const goal = section.target;\n if (typeof goal !== 'object' || !goal.by || !answer) return undefined;\n const [goalKey, goalValue] = answer.columns ?? [];\n const goals = new Map<string, number>();\n for (const row of answer.rows ?? []) {\n const value = Number(row[goalValue]);\n if (row[goalKey] != null && Number.isFinite(value) && value > 0) goals.set(String(row[goalKey]), value);\n }\n return {\n of: (key: unknown) => (key == null ? undefined : goals.get(String(key))),\n /* Each goal's group the measure has no row for, at nothing reached. */\n unmet: (measured: readonly Record<string, unknown>[]) => {\n const seen = new Set(measured.map((row) => String(row[keyName])));\n return (answer.rows ?? [])\n .filter((row) => row[goalKey] != null && goals.has(String(row[goalKey])) && !seen.has(String(row[goalKey])))\n .map((row) => ({ [keyName]: row[goalKey], [countName]: 0 }));\n },\n sayKey: namedGroups(answer, goalKey, sayGroup(goal.table, goal.by)),\n };\n}\n\n/** The vocabulary of the column a section groups by, where one is declared. */\nconst vocabularyOf = (table: string | undefined, column: string | undefined): string[] | undefined => orderOf(table, column).vocabulary;\n\nconst BreakdownRows = memo(function BreakdownRows({ section }: { section: Section }) {\n const data = useBreakdown(breakdownText(section, askedFor(section)), section.table);\n /* A goal per group (G76): the target table's measure by its own column, a seller's quota beside their won. */\n const goals = useBreakdown(targetText(section), typeof section.target === 'object' ? section.target?.table : undefined);\n const drill = drillFor(section);\n const say = sayer(section);\n if (data.isError) return <Problem text={(data.error as Error).message} />;\n if (goals.isError) return <Problem text={(goals.error as Error).message} />;\n /* While read, its rows as they will stand — a group's word, its count's place, its bar — one per group the\n vocabulary or the limit says will come: an empty box was nothing tall, and the rows arriving pushed the sections\n under it down. */\n if (!data.data || (targetText(section) && !goals.data)) {\n const expected = Math.min(Math.max(section.limit ?? vocabularyOf(section.table, section.by)?.length ?? 3, 1), 8);\n return (\n <div className=\"page-breakdown-rows\" role=\"status\" aria-busy=\"true\">\n {Array.from({ length: expected }, (_, i) => (\n <div key={i} className=\"pbd-row pbd-wait\" aria-hidden=\"true\">\n <span className=\"pbd-label\">\n <span className=\"sk-bar\" style={{ width: `${[58, 44, 66, 38][i % 4]}%`, height: '10px' }} />\n </span>\n <span className=\"pbd-bar\" />\n <span className=\"pbd-count\">{'\\u00a0'}</span>\n </div>\n ))}\n </div>\n );\n }\n const [keyName, countName] = data.data.columns ?? [];\n const goal = goalsOf(section, goals.data, keyName, countName);\n const { vocabulary, scale } = orderOf(section.table, section.by);\n /* A scale with a limit keeps its largest groups, then reads them in its order: the first five days of an age\n histogram are not its five busiest. */\n const measured = [...(data.data.rows ?? []), ...(goal?.unmet(data.data.rows ?? []) ?? [])];\n const kept = scale && !vocabulary && section.limit ? orderGroups(measured, keyName, countName).slice(0, section.limit) : measured;\n const rows = orderDeclared(kept, keyName, countName, vocabulary, scale).slice(0, section.limit);\n if (!rows.length)\n return section.emptyMode === 'hide' ? (\n <LeaveOut />\n ) : (\n <Nothing text={inAppMode() ? sayCopy('nothingToCountYet') : sayCopy('noToCount', { table: section.table ?? '' })} />\n );\n const largest = Math.max(...rows.map((r) => Number(r[countName]) || 0));\n const sayRow = say.among(rows.map((r) => r[countName]));\n const sayKey = namedGroups(data.data, keyName, goal?.sayKey ?? sayGroup(section.table, section.by));\n /* A group of a column that colors its values (a severity, a state) wears that color, as its chip does in a list and\n a chart's bar does (G209). Against a goal the bar is progress, not the group's meaning, so it keeps the accent. */\n const toneOf =\n !goal && section.by && !/\\s/.test(section.by)\n ? (key: unknown) => TONE_INK[ruleSays(columnDisplay(section.table ?? '', section.by!) as DisplayRule | null, key).tone ?? '']\n : undefined;\n return (\n <div className=\"page-breakdown-rows\">\n {rows.map((row, i) => {\n const key = row[keyName];\n /* Against a goal the bar is the share reached, full at the goal and never past it, as a metric's meter. */\n const target = goal?.of(key);\n const reached = target ? (Number(row[countName]) || 0) / target : undefined;\n const ink = toneOf?.(key);\n const parts = (\n <>\n <span className=\"pbd-label\">{sayKey(key)}</span>\n <span className=\"pbd-bar\">\n <span\n className={`pbd-fill${ink ? ' is-toned' : ''}`}\n style={{\n width: `${goal ? Math.round(Math.min(1, Math.max(0, reached ?? 0)) * 100) : barShare(row[countName], largest)}%`,\n ...(ink ? { ['--bar-ink' as string]: ink } : {}),\n }}\n />\n </span>\n <span className=\"pbd-count\">\n {sayRow(row[countName])}\n {target !== undefined && (\n <span className=\"pbd-goal\">\n {' '}\n {sayCopy('ofTarget', { reached: formatPercent(reached! * 100, { maximumFractionDigits: 0 }), goal: say(target) })}\n </span>\n )}\n </span>\n </>\n );\n /* A row that goes somewhere is a button; one that cannot (a null\n group, no drill) stays text — no dead cursors. */\n const link = drill && key != null ? drill.link(key) : undefined;\n const title = sayCopy('openTableWhereBy', { table: section.table ?? '', by: section.by ?? '', key: String(key) });\n if (link)\n return (\n <a key={i} className=\"pbd-row pbd-drill\" href={link.href} title={title} onClick={link.onClick}>\n {parts}\n </a>\n );\n return drill && key != null ? (\n <button key={i} type=\"button\" className=\"pbd-row pbd-drill\" title={title} onClick={() => drill(key)}>\n {parts}\n </button>\n ) : (\n <div key={i} className=\"pbd-row\">\n {parts}\n </div>\n );\n })}\n </div>\n );\n});\n\n/**\n * A funnel: how many of a table's rows reach each stage, in order. The stages are counted in one statement\n * (shared/funnel.ts), so a later stage is never longer than the one before it. A stage opens the rows that reached it,\n * and the figure it lost opens the rows that stopped there — where the language can say them exactly.\n */\nconst FunnelSection = memo(function FunnelSection({ section }: { section: Section }) {\n const data = useBreakdown(funnelText(section), section.table);\n const say = sayer(section);\n const stages = section.stages ?? [];\n if (data.isError) return <Problem text={(data.error as Error).message} />;\n const row = data.data?.rows?.[0];\n if (row && !Number(row[stageColumn(0)]) && section.emptyMode === 'hide') return <LeaveOut />;\n const target = drillTarget(section);\n const door = (query: string | undefined): FunnelDoor | undefined => {\n if (target === null || !section.table) return undefined;\n if (query === undefined) return undefined;\n const text = `${section.table} ${andQuery(section.query, query)}`.trim();\n if (target === undefined) return { open: () => go(tableView(section.table, text), 'push') };\n const entry = listEntry(target, text);\n return entry ? { link: listLink(target, text), open: () => go(entry, 'push') } : undefined;\n };\n const chains = funnelChains(stages);\n const basis = funnelBasis(stages);\n return (\n <Funnel\n table={section.table ?? ''}\n say={say}\n steps={stages.map((stage, i) => ({\n title: stage.label,\n optional: stage.optional,\n count: row ? Number(row[stageColumn(i)]) || 0 : undefined,\n basis: basis[i],\n reached: door(chains[i] || ''),\n dropped: door(droppedQuery(stages, i)),\n }))}\n />\n );\n});\n\n/**\n * A breakdown drawn as steps: a card for each value of the column, in its\n * own order (the vocabulary's, else the counts'), joined by arrows — orders\n * received, picked, packed, shipped. A step's mark is the value's icon from\n * the column's display rule, in its tone; one without an icon has no mark (a number beside the count read as a second count).\n * A step goes to its list as a breakdown's row does. Every value of the\n * vocabulary is a step, so a stage with nothing in it still holds its place.\n */\nconst StepCards = memo(function StepCards({ section }: { section: Section }) {\n const data = useBreakdown(breakdownText(section, askedFor(section)), section.table);\n const drill = drillFor(section);\n const say = sayer(section);\n const vocabulary = vocabularyOf(section.table, section.by);\n const rule = columnDisplay(section.table ?? '', section.by ?? '') as DisplayRule | null;\n const sayKey = sayGroup(section.table, section.by);\n if (data.isError) return <Problem text={(data.error as Error).message} />;\n const [keyName = '', countName = ''] = data.data?.columns ?? [];\n const counted = data.data ? orderGroups(data.data.rows ?? [], keyName, countName, vocabulary) : [];\n const keys = vocabulary ?? counted.map((row) => row[keyName]);\n const countOf = new Map(counted.map((row) => [String(row[keyName]), row[countName]]));\n const all = keys.filter((key) => key != null).slice(0, section.limit ?? 8);\n /* The states a thing is finished in (a column's `states.final`) are not steps on the road: a card each, at nought, was\n as loud as the work in hand. They are one quiet line after the road, counted as the steps are; where every value is\n final there is no road to separate them from, and they stay cards. */\n const finals = new Set<string>(\n (findTable(section.table) as TableMeta | undefined)?.columns.find((column) => column.name === section.by)?.states?.final ?? [],\n );\n const closed = all.filter((key) => finals.has(String(key)));\n const steps = closed.length < all.length ? all.filter((key) => !finals.has(String(key))) : all;\n const ended = steps === all ? [] : closed;\n if (data.data && !steps.length) return section.emptyMode === 'hide' ? <LeaveOut /> : <Nothing text={sayCopy('nothingToCountYet')} />;\n // Rows of four or fewer, as even as the count allows (eight steps are two rows of four, not six and two): the\n // columns are named here so a step that starts a row is known to the looks that part the cells with hairlines.\n const cols = steps.length <= 4 ? Math.max(steps.length, 1) : Math.ceil(steps.length / Math.ceil(steps.length / 4));\n return (\n <>\n <ol\n className=\"dash-steps\"\n style={{ ['--steps' as string]: Math.max(steps.length, 1), ['--cols' as string]: cols }}\n aria-busy={!data.data || undefined}\n >\n {steps.map((key, index) => {\n const text = String(key);\n const { tone } = ruleSays(rule, text);\n const icon = rule?.icons && Object.hasOwn(rule.icons, text) ? (rule.icons[text] as AppIconName) : undefined;\n const note = section.notes?.[text];\n const figure = data.data ? say(countOf.get(text) ?? 0) : '\\u00a0';\n const none = Boolean(data.data) && !Number(countOf.get(text));\n const body = (\n <>\n {icon && (\n <span className={`dash-step-mark${tone ? ` tone-${tone}` : ''}`} aria-hidden=\"true\">\n <Icon name={icon} size={16} />\n </span>\n )}\n <span className=\"dash-step-words\">\n <span className=\"dash-step-title\">{sayKey(key)}</span>\n {note && <span className=\"dash-step-note\">{note}</span>}\n </span>\n <span className={`dash-step-figure${none ? ' is-none' : ''}`}>{figure}</span>\n </>\n );\n return (\n <li\n key={text}\n className={`dash-step${tone ? ` is-${tone}` : ''}${index % cols === 0 ? ' is-row-start' : ''}${icon ? '' : ' no-mark'}`}\n >\n {drill ? (\n (() => {\n const link = drill.link(key);\n const title = sayCopy('openTableWhereBy', { table: section.table ?? '', by: section.by ?? '', key: text });\n return link ? (\n <a className=\"dash-step-card\" href={link.href} title={title} onClick={link.onClick}>\n {body}\n </a>\n ) : (\n <button type=\"button\" className=\"dash-step-card\" title={title} onClick={() => drill(key)}>\n {body}\n </button>\n );\n })()\n ) : (\n <div className=\"dash-step-card\">{body}</div>\n )}\n {index < steps.length - 1 && <Icon name=\"caret-right\" size={14} className=\"dash-step-arrow\" />}\n </li>\n );\n })}\n </ol>\n {ended.length > 0 && (\n <p className=\"dash-steps-ended\">\n <span className=\"dash-steps-ended-label\">{sayCopy('closedSteps')}</span>\n {ended.map((key) => {\n const text = String(key);\n const count = Number(countOf.get(text));\n const words = (\n <>\n {sayKey(key)}{' '}\n <span className={`dash-steps-ended-figure${data.data && !count ? ' is-none' : ''}`}>\n {data.data ? say(countOf.get(text) ?? 0) : '\\u00a0'}\n </span>\n </>\n );\n const link = drill?.link(key);\n const title = sayCopy('openTableWhereBy', { table: section.table ?? '', by: section.by ?? '', key: text });\n return link ? (\n <a key={text} className=\"dash-steps-ended-item\" href={link.href} title={title} onClick={link.onClick}>\n {words}\n </a>\n ) : drill ? (\n <button key={text} type=\"button\" className=\"dash-steps-ended-item\" title={title} onClick={() => drill(key)}>\n {words}\n </button>\n ) : (\n <span key={text} className=\"dash-steps-ended-item\">\n {words}\n </span>\n );\n })}\n </p>\n )}\n </>\n );\n});\n\n/**\n * A chart is a breakdown drawn instead of listed: same fetch, same\n * grammar, the rows handed to the SVG. Money measures speak money in the\n * ticks, the tooltips and the legend, through the same rule as everywhere.\n */\n/** The unit an `auto` chart chose, in words. */\nconst sayUnit = (unit: 'day' | 'week' | 'month' | 'quarter'): string =>\n unit === 'day' ? sayCopy('byDay') : unit === 'week' ? sayCopy('byWeek') : unit === 'month' ? sayCopy('byMonth') : sayCopy('byQuarter');\n\nconst Chart = memo(function Chart({ section }: { section: Section }) {\n /* Stacked bars cross two keys, as a matrix does: every cross is fetched\n and the chart keeps the longest bars, so `limit` counts bars, not rows. */\n const stacked = section.shape === 'stacked';\n const donut = section.shape === 'donut';\n const nothing = useNothing(inAppMode() ? sayCopy('nothingToDrawYet') : sayCopy('noToDraw', { table: section.table ?? '' }));\n /* Bars over categories are ordered here, as a donut's slices are, so they ask for every group first. */\n /* `auto` (autoChart.ts): the unit is chosen from the window and the data, so what is asked is the section in that\n unit (or nothing, while the data's extent is read), and what is drawn is the answer coarsened to it. */\n const auto = useAutoChart(section, (text) => useBreakdown(text, section.table));\n const data = useBreakdown(\n auto ? (auto.ask ? breakdownText(auto.ask, chartLimit(section)) : null) : breakdownText(section, chartLimit(section)),\n section.table,\n );\n const drawn = auto?.draw(data);\n const answer = auto ? drawn?.answer : data.data;\n const [firstKey = '', secondKey = ''] = (section.by ?? '').split(',').map((key) => key.trim());\n if (data.isError) return <Problem text={(data.error as Error).message} />;\n const label = namedGroups(answer, answer?.columns?.[0], sayGroup(section.table, firstKey));\n const seriesLabel = namedGroups(answer, secondKey ? answer?.columns?.[1] : undefined, sayGroup(section.table, secondKey));\n if (section.emptyMode === 'hide' && answer && !(answer.rows ?? []).length) return <LeaveOut />;\n /* The unit the chart chose, said as text under the title: the slot is held from the first paint so naming it moves nothing. */\n const unitNote = auto ? <p className=\"chart-unit\">{drawn?.unit ? sayUnit(drawn.unit) : null}</p> : null;\n if (section.shape && EXTRA_SHAPES.includes(section.shape))\n return (\n <>\n {unitNote}\n <ChartShapeFigure\n shape={section.shape as ExtraShape}\n answer={answer}\n say={sayer(section).among((answer?.rows ?? []).map((row) => row[answer?.columns?.at(-1) ?? '']))}\n /* The section's `format` and `unit` say its measure, the one up the side; the across measure is said by its own column. */\n sayX={section.x ? sayer({ ...section, measure: section.x, format: undefined, unit: undefined }) : undefined}\n names={{ x: section.x ?? '', y: section.measure ?? 'count' }}\n label={label}\n seriesLabel={seriesLabel}\n vocabulary={vocabularyOf(section.table, firstKey)}\n seriesVocabulary={secondKey ? vocabularyOf(section.table, secondKey) : undefined}\n limit={section.limit}\n target={typeof section.target === 'number' ? section.target : undefined}\n height={section.height}\n empty={nothing.text}\n emptyDetail={nothing.detail}\n emptyAction={nothing.action}\n />\n </>\n );\n return (\n <>\n {unitNote}\n <ChartFigure\n answer={answer}\n dots={drawn?.dots}\n shape={section.shape as 'line' | 'bar' | 'donut' | 'stacked' | undefined}\n limit={section.limit}\n target={typeof section.target === 'number' ? section.target : undefined}\n height={section.height}\n arrange={section.sort === 'value' || section.sort === 'category' ? section.sort : undefined}\n say={sayer(section)}\n label={label}\n seriesLabel={seriesLabel}\n vocabulary={vocabularyOf(section.table, firstKey)}\n seriesVocabulary={secondKey ? vocabularyOf(section.table, secondKey) : undefined}\n scale={orderOf(section.table, firstKey).scale}\n seriesScale={secondKey ? orderOf(section.table, secondKey).scale : undefined}\n seriesTone={\n stacked && secondKey\n ? (key) => ruleSays(columnDisplay(section.table ?? '', secondKey) as DisplayRule | null, key).tone\n : undefined\n }\n tone={\n (donut || section.shape === 'bar') && firstKey && !/\\s/.test(firstKey)\n ? (key) => ruleSays(columnDisplay(section.table ?? '', firstKey) as DisplayRule | null, key).tone\n : undefined\n }\n sayLegend={stacked ? (totals) => legendSayer(section, totals) : undefined}\n timed={\n stacked &&\n (/\\s/.test(firstKey) ||\n /date|time/i.test((findTable(section.table) as TableMeta | undefined)?.columns.find((c) => c.name === firstKey)?.type ?? ''))\n }\n onPick={\n donut || section.shape === 'line'\n ? drillFor(section)\n : stacked && !/\\s/.test(firstKey)\n ? drillFor({ ...section, by: firstKey })\n : null\n }\n empty={nothing.text}\n emptyDetail={nothing.detail}\n emptyAction={nothing.action}\n curve={section.curve}\n total={section.total}\n />\n </>\n );\n});\n\n/**\n * A matrix: the measure crossed over two keys — rows by the first,\n * columns by the second, heat by the value. The pivot happens here (the\n * breakdown answers flat groups), columns sort ascending when they read\n * as dates and by weight otherwise, and the biggest cell sets the scale.\n */\n/**\n * Whether a matrix wider than its section is folded: each row said as its figures, each under its column's name,\n * rather than scrolled sideways (docs/design.md: nothing scrolls sideways inside a section). Its natural width is\n * read while it stands as a table, so it stands as one again when the room grows to hold it; `shape` is its rows\n * and columns, a change of which reads the width afresh.\n */\nfunction useMatrixFold(host: { current: HTMLDivElement | null }, shape: string): boolean {\n const [fold, setFold] = useState<{ shape: string; natural: number } | null>(null);\n useLayoutEffect(() => {\n const element = host.current;\n if (!element) return;\n const judge = () => {\n const table = element.querySelector('table');\n if (!table) return;\n const natural = fold?.shape === shape ? fold.natural : table.offsetWidth;\n const folds = natural > element.clientWidth + 1;\n setFold((was) => (folds ? (was?.shape === shape && was.natural === natural ? was : { shape, natural }) : null));\n };\n judge();\n const observer = new ResizeObserver(judge);\n observer.observe(element);\n return () => observer.disconnect();\n }, [host, shape, fold]);\n return fold?.shape === shape;\n}\n\nconst Matrix = memo(function Matrix({ section }: { section: Section }) {\n const data = useBreakdown(breakdownText(section, 400), section.table);\n const host = useRef<HTMLDivElement>(null);\n const shape = `${data.data?.rows?.length ?? 0}:${(data.data?.columns ?? []).join(',')}`;\n const folded = useMatrixFold(host, shape);\n if (data.isError) return <Problem text={(data.error as Error).message} />;\n if (!data.data) return <div className=\"matrix-host\" ref={host} />;\n const [rowKey, colKey, valueName] = data.data.columns ?? [];\n const cells = new Map<string, unknown>();\n const rowTotals = new Map<string, number>();\n const colTotals = new Map<string, number>();\n for (const r of data.data.rows ?? []) {\n const a = r[rowKey] == null ? '—' : String(r[rowKey]);\n const b = r[colKey] == null ? '—' : String(r[colKey]);\n const v = Number(r[valueName]) || 0;\n cells.set(`${a}\\u0000${b}`, r[valueName]);\n rowTotals.set(a, (rowTotals.get(a) ?? 0) + v);\n colTotals.set(b, (colTotals.get(b) ?? 0) + v);\n }\n if (!cells.size)\n return section.emptyMode === 'hide' ? (\n <LeaveOut />\n ) : (\n <Nothing text={inAppMode() ? sayCopy('nothingToCrossYet') : sayCopy('noToCross', { table: section.table ?? '' })} />\n );\n /* Rows in the first key's vocabulary order where it has one (a stage reads\n as a pipeline), else heaviest first; ten at most. */\n const rowKeyColumn = (section.by ?? '').split(',')[0].trim();\n const rows = orderGroups(\n [...rowTotals.entries()].map(([key, total]) => ({ key, total })),\n 'key',\n 'total',\n vocabularyOf(section.table, rowKeyColumn),\n )\n .slice(0, 10)\n .map(({ key }) => key);\n const dated = [...colTotals.keys()].every((k) => /^\\d{4}(-\\d{2})?/.test(k) || k === '—');\n /* Columns as the rows are: in the second key's vocabulary order where it\n has one (low, medium, high, urgent), else heaviest first; and said in\n its words, as a breakdown says them (\"Urgent\", not \"urgent\"). */\n const colKeyColumn = ((section.by ?? '').split(',')[1] ?? '').trim();\n const cols = dated\n ? [...colTotals.keys()].sort()\n : orderGroups(\n [...colTotals.entries()].map(([key, total]) => ({ key, total })),\n 'key',\n 'total',\n vocabularyOf(section.table, colKeyColumn),\n )\n .slice(0, 12)\n .map(({ key }) => key);\n const sayCol = namedGroups(data.data, colKey, sayGroup(section.table, colKeyColumn));\n const max = Math.max(...rows.flatMap((a) => cols.map((b) => Number(cells.get(`${a}\\u0000${b}`)) || 0)), 1);\n /* One form across the grid: where any cell reaches a thousand every cell is said compact, so \"$4,470\" never\n stands beside \"$548K\". The cell's title says the figure whole. */\n const sayWhole = sayer(section);\n const say = max >= 1000 ? sayWhole.tick : sayWhole;\n const firstKey = (section.by ?? '').split(',')[0].trim();\n const sayRow = namedGroups(data.data, rowKey, sayGroup(section.table, firstKey));\n const drill = !/\\s/.test(firstKey) ? drillFor({ ...section, by: firstKey }) : null;\n const colLabel = (b: string, at: number) => (dated ? periodTick(b, at ? cols[at - 1] : undefined) : sayCol(b === '—' ? null : b));\n /* Folded, the rows and cells are drawn as a grid, which drops a table's own roles: they are said, so a reader\n still hears each figure under its row and column. */\n return (\n <div className=\"matrix-host\" ref={host} data-fold={folded || undefined}>\n <div className=\"table-wrap matrix-wrap\">\n <table className=\"matrix\" role=\"table\">\n <thead role=\"rowgroup\">\n <tr role=\"row\">\n <th className=\"matrix-corner\" role=\"columnheader\" />\n {cols.map((b, at) => (\n <th key={b} className=\"matrix-col\" role=\"columnheader\">\n {colLabel(b, at)}\n </th>\n ))}\n </tr>\n </thead>\n <tbody role=\"rowgroup\">\n {rows.map((a) => (\n <tr key={a} role=\"row\">\n <th className=\"matrix-row\" role=\"rowheader\">\n {drill ? (\n <button type=\"button\" className=\"matrix-drill\" onClick={() => drill(a)}>\n {sayRow(a)}\n </button>\n ) : (\n <span>{sayRow(a)}</span>\n )}\n </th>\n {cols.map((b, at) => {\n const raw = cells.get(`${a}\\u0000${b}`);\n const v = Number(raw) || 0;\n /* Heat says weight; the number stays the fact. Empty stays\n empty — a zero someone wrote and a cross nobody made are\n different silences. */\n return (\n <td\n key={b}\n className=\"matrix-cell\"\n role=\"cell\"\n data-label={folded ? String(colLabel(b, at) ?? '') : undefined}\n style={\n v\n ? ({\n /* Its share of the heaviest; features.css tints it up to the palette's heat top. */\n '--heat': (v / max).toFixed(3),\n background: 'var(--heat-fill)',\n } as CSSProperties)\n : undefined\n }\n title={v ? `${sayRow(a)} × ${dated ? b : sayCol(b === '—' ? null : b)}: ${sayWhole(raw)}` : undefined}\n >\n {v ? say(raw) : ''}\n </td>\n );\n })}\n </tr>\n ))}\n </tbody>\n </table>\n </div>\n </div>\n );\n});\n\n/* ---------- list and board ---------- */\n\n/**\n * The full list, with its tabs and filters. An embed opens its view's own\n * room — its tabs, its presentation, its actions — on the rows the section\n * shows; any other section, the list its table and query suggest.\n */\nfunction OpenFull({ section }: { section: Section }) {\n useSyncExternalStore(subscribeMessages, messageLanguage, messageLanguage);\n return (\n <button\n type=\"button\"\n className=\"ghost dash-open\"\n title={sayCopy('theFullListWithItsTabs')}\n onClick={() => go({ ...tableView(section.table, fullQuery(section)), ...(section.view ? { view: section.view } : {}) }, 'push')}\n >\n {message('list.viewAll')}\n </button>\n );\n}\n\n/** A column a list says, a label path dressed as the column it ends in. */\nfunction columnAt(table: TableMeta | undefined, name: string): ColumnMeta | undefined {\n if (!table) return undefined;\n if (!name.includes('.')) return table.columns.find((column) => column.name === name);\n const [reference, terminal] = name.split('.');\n const fk = (refsFrom(table.id) as Array<{ from: { columns: string[] }; to: { table: string } }>).find(\n (candidate) => candidate.from.columns.length === 1 && candidate.from.columns[0] === reference,\n );\n const target = fk ? (findTable(fk.to.table) as TableMeta | undefined) : undefined;\n const column = target?.columns.find((candidate) => candidate.name === terminal);\n return column ? { ...column, name } : undefined;\n}\n\n/**\n * A list in the aside: names, not a table. The aside is a narrow column,\n * and a grid there cut its names short (\"Riley C…\") to keep columns nobody\n * compares. Each row is its first column, whole and wrapping; the second a\n * quiet line under it; a third a value at the row's end. The row opens its\n * record, the month's other rows its neighbours.\n */\nfunction AsideRows({\n section,\n table,\n query,\n empty,\n onRows,\n}: {\n section: Section;\n table: TableMeta | undefined;\n query: string;\n empty?: ReactNode;\n onRows: (data: { total?: number; exactTotal?: boolean; rows?: unknown[] }) => void;\n}) {\n const rows = useQuery<Rows & { total?: number; exactTotal?: boolean; errors?: Array<{ message: string }> }>({\n queryKey: ['run', query, section.limit ?? 5],\n queryFn: () =>\n batchedRun({ q: query, limit: section.limit ?? 5, offset: 0, ...(section.counted === false ? { count: 'none' as const } : {}) }),\n refetchInterval: minuteTick(query, section.table),\n staleTime: TILE_FRESH,\n placeholderData: keepPreviousData,\n });\n const data = rows.data;\n useEffect(() => {\n if (data && !data.errors?.length) onRows(data);\n }, [data]); // eslint-disable-line react-hooks/exhaustive-deps\n const [first, second, third] = section.show?.length ? section.show : table ? [labelColumn(table) ?? primaryKey(table)[0]] : [];\n /* A person named first wears their photo where the rule names one (avatarPhotos.tsx). */\n const nameRule = first ? (columnDisplay(section.table, first) as DisplayRule | null) : null;\n const photoOwner = first ? avatarOwner(table, first, nameRule, data?.rows?.length ? Object.keys(data.rows[0]) : undefined) : undefined;\n const photoOf = useAvatarPhotos(first ? [{ name: first, display: nameRule, photoOwner }] : [], data?.rows ?? []);\n if (rows.isError || data?.errors?.length) return <Problem text={(rows.error as Error | null)?.message ?? data!.errors![0].message} />;\n if (!data) return <div className=\"dash-mini\" />;\n const got = data.rows ?? [];\n if (!got.length) return <>{empty ?? <Empty text={message('list.nothing')} />}</>;\n const [name, line, value] = [first, second, third].map((path) => (path ? columnAt(table, path) : undefined));\n const pk: string[] = table ? primaryKey(table) : [];\n /* A reference says its record's name, which the section fetched beside it (List). */\n const referenceLabels = table && section.show?.length ? referenceNames(section.table as string, section.show) : undefined;\n const said = (column: ColumnMeta | undefined, row: Row) => {\n if (!column || !table) return null;\n const { column: drawn, value } = namedCell(table, column.name, row, referenceLabels);\n return value != null && value !== '' ? <Value tableId={section.table} col={drawn} value={value} compact /> : null;\n };\n const named = (row: Row) => {\n const photo = photoOwner && name ? photoOf(first, row[photoOwner]) : undefined;\n return photo && name && row[name.name] != null ? <AvatarText text={String(row[name.name])} photo={photo} /> : said(name, row);\n };\n const keyed = got.map((row) => ({ row, key: Object.fromEntries(pk.map((k) => [k, row[k]])), label: String(row[first] ?? '') }));\n const records = keyed.map(({ key, label }) => ({ key, label }));\n return (\n <ul className=\"dash-mini\" aria-label={section.title ?? untitled(section)}>\n {keyed.map(({ row, key, label }, i) => (\n <li key={i}>\n <button\n type=\"button\"\n className=\"dash-mini-row\"\n disabled={!pk.length}\n onClick={() => void openRecord(section.table, key, label, 'push', { records })}\n >\n <span className=\"dash-mini-text\">\n <span className=\"dash-mini-name\">{named(row) ?? label}</span>\n {said(line, row) && <span className=\"dash-mini-line\">{said(line, row)}</span>}\n </span>\n {said(value, row) && <span className=\"dash-mini-value\">{said(value, row)}</span>}\n </button>\n </li>\n ))}\n </ul>\n );\n}\n\n/**\n * A list is the real table view with the chrome off — the vanilla grid,\n * drawn into a host. Its own stat row (count, timing, Export) is hidden\n * by CSS in here; the one number worth keeping — how many there are in\n * all — moves up beside the title once the answer knows it. In the aside\n * it is names instead (AsideRows), unless it embeds a view drawn its own way.\n */\nconst List = memo(function List({ section, aside = false, period }: { section: Section; aside?: boolean; period?: ReactNode }) {\n const [count, setCount] = useState('');\n /* How many the section matched, once known: \"View all\" over none is a door to an empty room. */\n const [matched, setMatched] = useState<number | undefined>();\n const table = findTable(section.table) as TableMeta | undefined;\n /* An explicit view embed keeps the dashboard's already-resolved question,\n but borrows the served view's dress and every column that dress reads.\n A raw dashboard list has no source view, so it stays the vanilla grid. */\n const app = activeApp();\n const room = section.view === undefined || !app ? undefined : viewRoom(app, section.view);\n const source = room && isListRoom(room) && room.table === section.table ? room : undefined;\n // A narrower dashboard question cannot promise the whole source list is empty.\n /* The section's own guidance first: a rows section may say what belongs in it, as a list view does. */\n const authoredEmpty = (section as { empty?: AppListEmpty }).empty;\n const sourceEmpty = authoredEmpty ? (\n <ListEmpty spec={authoredEmpty} />\n ) : source?.empty &&\n splitQuery(`rows ${source.query ?? ''}`).filter.trim() === splitQuery(`rows ${section.query ?? ''}`).filter.trim() ? (\n <ListEmpty spec={source.empty} />\n ) : undefined;\n /* The key columns ride along unseen when the section projects, the same\n bargain the app list strikes: a row with no key on it is a row that\n cannot open, and \"see the record\" is the whole point of a list. A\n reference is drawn by its record's name, fetched beside it and kept out\n of sight (shared/dashboardAsks.ts, whose words a first page is asked in). */\n const { query, keys, named, referenceLabels } = dashboardListQuery(lookups, section, source?.presentation);\n const onRows = (data: { total?: number; exactTotal?: boolean; rows?: unknown[] }) => {\n /* A section that asked no total knows only whether it has rows, which is all its leaving out reads. */\n if (section.counted === false) {\n setMatched(data.rows?.length);\n setCount('');\n return;\n }\n setMatched(data.total);\n if (!data.total) {\n setCount('');\n return;\n }\n setCount(data.exactTotal === false ? `~${formatApprox(data.total)}` : sayCopy('figureInAll', { figure: figure(data.total) }));\n };\n const presented = source?.presentation && source.presentation.kind !== 'split';\n const mini = aside && !presented && (section.show?.length ?? 0) <= 3;\n /* An embed that opted in works as its room does, under this heading (DashboardList.tsx). */\n const works = section.interactive && source && table;\n return (\n <>\n {section.emptyMode === 'hide' && matched === 0 && <LeaveOut />}\n <div className=\"dash-list-head\">\n <h2 className=\"page-section-title\">\n <Mark section={section} />\n {section.title ?? untitled(section)}\n </h2>\n <span className=\"stat dash-count\">{count}</span>\n {period}\n {matched !== 0 && <OpenFull section={section} />}\n </div>\n {works ? (\n <div className=\"dash-list dash-list-works\">\n <InteractiveList section={section} source={source} onTotal={(total: number | undefined) => onRows({ total })} />\n </div>\n ) : mini ? (\n <AsideRows section={section} table={table} query={query} empty={sourceEmpty} onRows={onRows} />\n ) : (\n <div className=\"dash-list\">\n <TableRoom\n entry={{\n kind: 'table',\n table: section.table as string,\n query,\n ...(section.counted === false ? { counted: false as const } : {}),\n }}\n sizing={section.sizing}\n chrome={false}\n interactive={false}\n embedded\n hide={[...keys, ...named]}\n referenceLabels={referenceLabels}\n labels={section.labels}\n recordNavigation={source?.presentation?.kind === 'cards' || source?.presentation?.kind === 'queue'}\n {...(section.rowActions &&\n app &&\n mayRunAny(app, section.table as string, offeredBy(resourceOf(app, section.table as string)).actions ?? [])\n ? { rowActions: true, actions: offeredBy(resourceOf(app, section.table as string)).actions }\n : {})}\n presentation={source?.presentation}\n present={shell().present ?? undefined}\n listLabel={source?.label}\n order={source?.order}\n empty={sourceEmpty ?? <ListEmpty spec={{ title: nothingIn(section.title ?? untitled(section)) }} />}\n export={exportOffered(app, section.table as string | undefined) ? undefined : false}\n onResult={onRows}\n />\n </div>\n )}\n </>\n );\n});\n\n/**\n * A board: lanes of cards by a column's values — the pipeline read every\n * CRM and queue screen is built around, here as one word of config. The\n * lanes are the column's declared vocabulary when the schema states one\n * (every stage shows, empty ones included — an empty lane is a fact),\n * and the observed values by weight when it does not. Read-only on\n * purpose: this layer curates reading, and a drag that writes belongs\n * to the write arc.\n */\nconst Board = memo(function Board({ section: authored }: { section: Section }) {\n const section = boardSection(authored);\n const table = findTable(section.table) as TableMeta | undefined;\n const counts = useBreakdown(boardCountText(section), section.table);\n const pk: string[] = table ? primaryKey(table) : [];\n const naming = table && labelColumn(table);\n const shown: string[] = section.show?.length ? section.show : naming ? [naming] : pk;\n const rule = columnDisplay(section.table, section.by);\n let lanes: ReactNode;\n if (counts.isError) lanes = <Problem text={(counts.error as Error).message} />;\n else if (counts.data) {\n const [keyName, countName] = counts.data.columns ?? [];\n const byValue = new Map(\n (counts.data.rows ?? []).filter((r) => r[keyName] != null).map((r) => [String(r[keyName]), Number(r[countName]) || 0] as const),\n );\n const vocabulary = (table?.columns.find((c) => c.name === section.by) as (ColumnMeta & { allowed?: string[] }) | undefined)?.allowed;\n const values = section.lanes ?? (vocabulary ?? [...byValue.keys()]).slice(0, 8);\n lanes = values.length ? (\n values.map((value) => (\n <Lane key={value} section={section} value={value} count={byValue.get(value) ?? 0} rule={rule} pk={pk} shown={shown} />\n ))\n ) : (\n <Empty text={inAppMode() ? sayCopy('nothingToLayOut') : sayCopy('noToLayOut', { table: section.table ?? '' })} />\n );\n }\n const nothingOnIt =\n Boolean(counts.data) && [...(counts.data?.rows ?? [])].every((r) => !(Number(r[counts.data?.columns?.[1] ?? '']) || 0));\n return (\n <>\n {authored.emptyMode === 'hide' && nothingOnIt && <LeaveOut />}\n <div className=\"board-head\">\n <h2 className=\"page-section-title\">\n <Mark section={section} />\n {section.title ?? untitled(section)}\n </h2>\n <OpenFull section={section} />\n </div>\n <div className=\"dash-board\">{lanes}</div>\n </>\n );\n});\n\nfunction Lane({\n section,\n value,\n count,\n rule,\n pk,\n shown,\n}: {\n section: Section;\n value: string;\n count: number;\n rule: unknown;\n pk: string[];\n shown: string[];\n}) {\n const laneLimit = section.limit ?? 7;\n const laneQuery = andQuery(section.query, `${section.by} = ${quote(value)}`);\n const q = count\n ? [section.table, laneQuery, section.sort ? `sort ${section.sort}` : '', `show ${[...new Set([...shown, ...pk])].join(', ')}`]\n .filter(Boolean)\n .join(' ')\n : null;\n const rows = useRows(q, laneLimit, section.table);\n const got = rows.data?.rows ?? [];\n const [head, ...rest] = shown;\n return (\n <div className=\"board-lane\">\n <div className=\"board-lane-head\">\n {dressFor(rule as DisplayRule | null, value) ? (\n <Dressed dress={dressFor(rule as DisplayRule | null, value)!} compact={(rule as DisplayRule | null)?.format === 'richText'} />\n ) : (\n <span className=\"board-lane-name\">{value}</span>\n )}\n <span className=\"board-lane-count\">{figure(count)}</span>\n </div>\n <div className=\"board-cards\">\n {got.map((row: Row, i) => {\n const key = Object.fromEntries(pk.map((k) => [k, row[k]]));\n const said =\n row[head] == null\n ? '—'\n : (maskedText(columnDisplay(section.table, head) as DisplayRule | null, row[head]) ?? String(row[head]));\n return (\n <button key={i} type=\"button\" className=\"board-card\" onClick={() => void openRecord(section.table, key, said, 'push')}>\n <span className=\"board-card-title\">{said}</span>\n {rest.map((path) => {\n const v = row[path];\n if (v === null || v === undefined) return null;\n const dress = dressFor(columnDisplay(section.table, path) as DisplayRule | null, v);\n return (\n <span key={path} className=\"board-card-line\">\n {dress ? <Dressed dress={dress} compact={dress.kind === 'richText'} /> : <span>{String(v)}</span>}\n </span>\n );\n })}\n </button>\n );\n })}\n {count > got.length && rows.data && (\n <button\n type=\"button\"\n className=\"ghost board-more\"\n onClick={() => go(tableView(section.table, `${section.table} ${laneQuery}`), 'push')}\n >\n {sayCopy('moreCount', { figure: figure(count - got.length) })}\n </button>\n )}\n </div>\n </div>\n );\n}\n\n/* ---------- the controls ---------- */\n\n/**\n * The pick controls: one quiet dropdown per configured column. A\n * vocabulary column offers its own values; a whole single-column\n * reference offers the records it points at, said by name and filtered\n * by id — nobody picks an owner by remembering 7.\n */\nfunction Pick({\n dashboard,\n column,\n picks,\n onChange,\n}: {\n dashboard: DashboardDef;\n column: string;\n picks: Picks;\n onChange: (column: string, value: string) => void;\n}) {\n const home = [...dashboard.sections, ...(dashboard.aside ?? [])].find(\n (s) => s.table && (findTable(s.table) as TableMeta | undefined)?.columns.some((c) => c.name === column),\n );\n const table = home && (findTable(home.table) as TableMeta | undefined);\n const meta = table?.columns.find((c) => c.name === column) as (ColumnMeta & { allowed?: string[] }) | undefined;\n /* A reference: the values are the target's records. Fifty at most —\n a filter over more rows than a dropdown holds wants the list page's\n boxes, not this control. */\n const fk =\n table && !meta?.allowed?.length\n ? (refsFrom(table.id) as Array<{ from: { columns: string[] }; to: { table: string } }>).find(\n (f) => f.from.columns.length === 1 && f.from.columns[0] === column,\n )\n : undefined;\n const target = fk && (findTable(fk.to.table) as TableMeta | undefined);\n const naming = target ? labelColumn(target) : undefined;\n const pk = target ? primaryKey(target)[0] : undefined;\n const q = pickQuery(lookups, [...dashboard.sections, ...(dashboard.aside ?? [])], column);\n const records = useRows(q, 50);\n if (!meta || !table) return null;\n if (!meta.allowed?.length && !naming) return null;\n const label = (labelColumn(table) === column ? column : column.replace(/_id$/, '')).replace(/_/g, ' ');\n const items = meta.allowed?.length\n ? meta.allowed.map((v) => ({ value: v, label: groupLabel(columnDisplay(table!.id, column) as DisplayRule | null, v, meta.allowed) }))\n : (records.data?.rows ?? []).map((r) => ({ value: String(r[pk!]), label: String(r[naming!] ?? r[pk!]) }));\n return (\n <span className=\"dash-pick\">\n <Dropdown\n items={[{ value: '', label: sayCopy('any', { label }) }, ...items]}\n value={picks[column] ?? ''}\n ariaLabel={sayCopy('filter', { label })}\n onChange={(value) => onChange(column, value)}\n />\n </span>\n );\n}\n\n/* ---------- the screen ---------- */\n\nconst NO_PERIODS: Periods = {};\nconst NO_SECTIONS: ReadonlySet<number> = new Set();\n\n/* A section over the window the reader picked, where all time is the unpicked state: widening it is offered by whatever\n is empty inside it, so \"Nothing to count yet.\" after a 90-day pick does not read as an empty table. */\nconst AllTimeOffer = createContext<{ window: string; showAll: () => void } | null>(null);\n\n/** An empty section's words: the plain sentence, or under a window picked, that it is empty there and a way to see all time. */\nfunction useNothing(plain: string): { text: string; detail?: string; action?: ReactNode } {\n const offer = useContext(AllTimeOffer);\n if (!offer) return { text: plain };\n return {\n text: sayCopy('nothingInThisTimeWindow'),\n detail: offer.window.charAt(0).toUpperCase() + offer.window.slice(1),\n action: (\n <Button intent=\"quiet\" size=\"compact\" onClick={offer.showAll}>\n {sayCopy('showAllTime')}\n </Button>\n ),\n };\n}\n\n/** What a section says when it has nothing to draw. */\nfunction Nothing({ text }: { text: string }) {\n return <Empty {...useNothing(text)} />;\n}\n\nconst Sections = memo(function Sections({\n dashboard,\n sections,\n windowNow,\n picks,\n periods,\n onPeriod,\n onAllTime,\n served,\n aside = false,\n}: {\n dashboard: DashboardDef;\n sections: Section[];\n windowNow: string | null;\n picks: Picks;\n /** The periods picked on sections with windows of their own, and where a new pick goes. */\n periods: Periods;\n onPeriod: (key: string, phrase: string) => void;\n /** The window picker's unpicked state, which is all time where no section keeps a window of its own. */\n onAllTime: () => void;\n /** Each authored section's place among the dashboard's as served, which is how an activity names itself to the server. */\n served: ReadonlyMap<Section, number>;\n aside?: boolean;\n}) {\n /* Each tile is memoized and handed the section it draws, so that section\n is made once per window and pick, not on every paint: a dashboard redrew\n all its tiles each time any one of them answered, some 4,000 component\n renders to draw ten figures. */\n const resolved = useMemo(\n () =>\n sections.map((raw) => {\n /* A section with windows of its own is over the period picked in its\n heading, and its picker says which, so its title says nothing more. */\n if (raw.windows?.length) return picked(windowed(raw, sectionPeriod(raw, periods)), picks);\n /* The title says the window the figure is over (dashboardModel.ts,\n windowTitle): the reader's pick stands where the author's window was\n named, and a section the author windowed says nothing more until then. */\n const said = raw.kind === 'metric' ? metricWindow(raw.title ?? untitled(raw), raw, windowNow) : undefined;\n const scoped = said\n ? { ...raw, title: said.title, ...(said.note ? { windowNote: said.note } : {}) }\n : raw.over\n ? { ...raw, title: windowTitle(raw.title ?? untitled(raw), raw, windowNow) }\n : raw;\n return picked(windowed(scoped, windowNow), picks);\n }),\n [sections, windowNow, picks, periods],\n );\n /* Where the reader's window is what a section is over, and unpicking it is all time (the picker says \"Default\" over a\n section that keeps a window of its own), an empty section offers to widen it. */\n const widened = (section: Section) =>\n windowNow !== null && Boolean(section.over) && section.windowBase === undefined && !section.windows?.length\n ? { window: windowNow, showAll: onAllTime }\n : null;\n /* A layout places every section in an area of a grid (the aside is never beside one: the parser refuses both). */\n const layout = !aside && dashboard.areas?.length ? layoutGrid(dashboard.areas) : undefined;\n /* Sections flow into the page's rows, or into an area of the layout: the same walk over the sections of one flow. */\n const flow = (indices: number[], pairing: boolean, gate?: Gate): ReactNode[] => {\n /* Consecutive metrics coalesce into one KPI strip — the way every\n operations screen reads its top row — and everything else keeps the\n page grid's widths. */\n const out: ReactNode[] = [];\n let strip: ReactNode[] | null = null;\n const there = indices.map((i) => resolved[i]!);\n /* Charts and breakdowns the author gave no width stand two to a row where two come together: one chart a\n page wide under another a page wide made a dashboard a long scroll of short plots with white either side.\n A pair is a pair; a third alone keeps the page's width rather than standing half-empty beside nothing.\n Tables, heat maps, boards and notes keep theirs. Narrow, every half stacks (page.css). In an area nothing\n pairs: the author placed the sections, and the area is as wide as the author made it. */\n const paired = new Set<number>();\n for (let k = 0; pairing && k < there.length; k++) {\n const pairs = (section: Section | undefined) =>\n Boolean(section && (section.kind === 'chart' || section.kind === 'breakdown' || section.kind === 'funnel') && !section.width);\n if (pairs(there[k]) && pairs(there[k + 1])) {\n paired.add(indices[k]!).add(indices[k + 1]!);\n k++;\n }\n }\n /* The rows of metrics in which some card is over a time (see MetricProps.dated), by each card's index. */\n const dated = new Set<number>();\n for (let start = 0; start < there.length; start++) {\n if (there[start]!.kind !== 'metric') continue;\n let end = start;\n while (end < there.length && there[end]!.kind === 'metric') end++;\n if (there.slice(start, end).some((card) => card.windowNote)) for (let k = start; k < end; k++) dated.add(indices[k]!);\n start = end;\n }\n indices.forEach((i) => {\n const section = resolved[i]!;\n const current = sectionPeriod(section, periods);\n const period =\n current && section.windowKey ? (\n <SectionPeriod section={section} current={current} onPick={(phrase) => onPeriod(section.windowKey!, phrase)} />\n ) : undefined;\n if (section.kind === 'metric') {\n if (!strip) {\n strip = [];\n out.push(\n <section key={`strip-${i}`} className=\"page-section width-full dash-strip\">\n <div className=\"home-cards\">{strip}</div>\n </section>,\n );\n }\n /* A card that throws stands as its note in the strip; its neighbours stay. */\n strip.push(\n <ErrorBoundary key={i} fallback={(note) => <div className=\"home-card home-card-broken\">{note}</div>}>\n <Metric\n section={section}\n period={period}\n windowed={Boolean(dashboard.windows?.length) && windowNow !== null && !section.windows}\n dated={dated.has(i)}\n />\n </ErrorBoundary>,\n );\n return;\n }\n strip = null;\n const width = section.kind === 'board' ? 'full' : (section.width ?? (paired.has(i) ? 'half' : 'full'));\n let body: ReactNode;\n if (section.kind === 'note') {\n const image = section.image ? landingImage(section.image) : undefined;\n body = (\n <DashboardNote\n title={section.title}\n text={String(section.text ?? '')}\n icon={section.icon}\n action={section.action}\n variant={section.variant}\n eyebrow={section.eyebrow}\n image={image && section.image ? { src: image, alt: section.image.alt } : undefined}\n />\n );\n } else if (section.kind === 'breakdown' || section.kind === 'chart' || section.kind === 'matrix' || section.kind === 'funnel') {\n const heading = (\n <h2 className=\"page-section-title\">\n <Mark section={section} />\n {section.title ?? untitled(section)}\n </h2>\n );\n body = (\n <>\n {period ? (\n <div className=\"dash-section-head\">\n {heading}\n {period}\n </div>\n ) : (\n heading\n )}\n {section.kind === 'chart' ? (\n <Chart section={section} />\n ) : section.kind === 'funnel' ? (\n <FunnelSection section={section} />\n ) : section.shape === 'steps' ? (\n <StepCards section={section} />\n ) : section.kind === 'matrix' ? (\n <Matrix section={section} />\n ) : (\n <BreakdownRows section={section} />\n )}\n </>\n );\n } else if (section.kind === 'board') {\n body = <Board section={section} />;\n } else if (section.kind === 'custom') {\n body = <CustomDashSection section={section} windowNow={windowNow} picks={picks} aside={aside} />;\n } else if (section.kind === 'activity') {\n body = (\n <>\n <h2 className=\"page-section-title\">\n <Mark section={section} />\n {section.title ?? sayCopy('latestChanges')}\n </h2>\n <ActivityFeed section={section} dashboard={dashboard.id} at={served.get(sections[i]) ?? -1} />\n </>\n );\n } else if (section.kind === 'find') {\n body = (\n <>\n {section.title ? (\n <h2 className=\"page-section-title\">\n <Mark section={section} />\n {section.title}\n </h2>\n ) : null}\n <FindSection section={section} />\n </>\n );\n } else if (section.kind === 'branding' || section.kind === 'integrations') {\n /* Alone on its page, the form is the page: the page's heading already names it, and \"Branding\" said twice\n read as two things. A title of its own that the page does not say is still drawn. */\n const alone = allSections(dashboard).length === 1 && (!section.title || section.title === dashboard.label);\n body = (\n <>\n {alone ? null : (\n <h2 className=\"page-section-title\">\n <Mark section={section} />\n {section.title ?? (section.kind === 'branding' ? sayCopy('branding') : sayCopy('integrations'))}\n </h2>\n )}\n {section.kind === 'branding' ? <BrandingForm /> : <IntegrationsForm />}\n </>\n );\n } else {\n body = <List section={section} aside={aside} period={period} />;\n }\n const app = activeApp();\n const source = section.view && app ? viewRoom(app, section.view) : undefined;\n const cards = source && isListRoom(source) && source.presentation?.kind === 'cards';\n out.push(\n <SectionShell\n key={i}\n {...(gate ? { at: i, report: gate.report, hidden: gate.settled.has(i) } : {})}\n className={`page-section width-${width}${section.kind === 'note' ? ` dash-note${section.variant ? ` dash-${section.variant}` : ''}` : ''}${cards ? ' dash-cards-section' : ''}${section.kind === 'custom' ? ' dash-custom' : ''}`}\n >\n {/* A section that throws says so under its title; the rest of the dashboard stays. */}\n <ErrorBoundary\n fallback={(note) => (\n <>\n {section.title ? <h2 className=\"page-section-title\">{section.title}</h2> : null}\n {note}\n </>\n )}\n >\n <AllTimeOffer.Provider value={widened(section)}>{body}</AllTimeOffer.Provider>\n </ErrorBoundary>\n </SectionShell>,\n );\n });\n return out;\n };\n if (!layout)\n return (\n <>\n {flow(\n resolved.map((_, i) => i),\n true,\n )}\n </>\n );\n const inArea = new Map<string, number[]>();\n resolved.forEach((section, i) => {\n if (section.area) inArea.set(section.area, [...(inArea.get(section.area) ?? []), i]);\n });\n const epoch = `${windowNow}|${JSON.stringify(picks)}|${JSON.stringify(periods)}`;\n return <LaidOut layout={layout} inArea={inArea} epoch={epoch} flow={flow} />;\n});\n\n/** What the grid acts on when sections ask to be left out: who asks, and who has been settled as gone. */\ninterface Gate {\n report: (at: number, gone: boolean) => void;\n settled: ReadonlySet<number>;\n}\n\n/** A dashboard's layout drawn: one grid, an area for each name in the template, in reading order. */\nfunction LaidOut({\n layout,\n inArea,\n epoch,\n flow,\n}: {\n layout: LayoutGrid;\n inArea: ReadonlyMap<string, number[]>;\n /** What the reader has picked, as one word: the grid is re-shaped once for each. */\n epoch: string;\n flow: (indices: number[], pairing: boolean, gate: Gate) => ReactNode[];\n}) {\n /* Which sections ask to be left out is held here, and what the grid acts on is settled once per reader's pick. */\n const queries = useQueryClient();\n const asking = useIsFetching();\n const askedNow = useRef<ReadonlySet<number>>(NO_SECTIONS);\n const [asked, setAsked] = useState<ReadonlySet<number>>(NO_SECTIONS);\n const [settled, setSettled] = useState<ReadonlySet<number>>(NO_SECTIONS);\n const report = useCallback((at: number, gone: boolean) => {\n if (askedNow.current.has(at) === gone) return;\n const next = new Set(askedNow.current);\n if (gone) next.add(at);\n else next.delete(at);\n askedNow.current = next;\n setAsked(next);\n }, []);\n /* The areas are re-flowed once for each thing the reader picks, when every tile has its answer to it: until then the\n tiles keep their last answers (keepPreviousData) and the grid its last shape, so the change lands as one finished\n swap and not a move for every tile that answers. A live refresh is not a pick: a section that empties on one shows\n its empty line where it stands, and the grid is left alone until the reader's next pick. The timer lets the\n tiles' own effects, which start the questions and report the answers, run first. */\n const decided = useRef<string | null>(null);\n useEffect(() => {\n const timer = setTimeout(() => {\n if (queries.isFetching() > 0 || decided.current === epoch) return;\n decided.current = epoch;\n setSettled(askedNow.current);\n }, 0);\n return () => clearTimeout(timer);\n }, [queries, epoch, asking, asked]);\n /* In reading order, so the DOM is the order a reader and a keyboard go in whatever the template draws. */\n const areas = layoutAreas(layout);\n const away = new Set(areas.filter((area) => (inArea.get(area) ?? []).every((i) => settled.has(i))));\n const columns = layout[0]?.length ?? 1;\n const gate = { report, settled };\n return (\n <div\n className=\"dash-grid\"\n data-columns={columns}\n style={{ '--dash-columns': columns, '--dash-template': gridTemplateAreas(reflowLayout(layout, away)) } as CSSProperties}\n >\n {areas.map((area) => (\n <div key={area} className=\"dash-area\" style={{ '--area': area } as CSSProperties} hidden={away.has(area) || undefined}>\n {flow(inArea.get(area) ?? [], false, gate)}\n </div>\n ))}\n </div>\n );\n}\n\n/* A free-form page's block (sdk/blocks.tsx): one section, as a dashboard draws it, standing among the page's own. */\nconst BLOCK_DASHBOARD = { id: 'page-block', label: '', sections: [] } as unknown as DashboardDef;\nconst NO_PICKS: Picks = {};\nconst NO_SERVED: ReadonlyMap<Section, number> = new Map();\nconst noPeriod = () => {};\n\n/**\n * One section drawn where a page places it: its own `page-section`, with no dashboard around it, so a page's grid\n * lays it out with its neighbours. A metric is its card in a strip of its own width (a third, unless it says).\n */\nexport function DashboardBlock({ section }: { section: Section }) {\n const sections = useMemo(() => [section], [section]);\n return (\n <ProblemScopeProvider>\n {section.kind === 'metric' ? (\n <section className={`page-section width-${section.width ?? 'third'} dash-strip`}>\n <div className=\"home-cards\">\n <ErrorBoundary fallback={(note) => <div className=\"home-card home-card-broken\">{note}</div>}>\n <Metric section={section} />\n </ErrorBoundary>\n </div>\n </section>\n ) : (\n <Sections\n dashboard={BLOCK_DASHBOARD}\n sections={sections}\n windowNow={null}\n picks={NO_PICKS}\n periods={NO_PERIODS}\n onPeriod={noPeriod}\n onAllTime={noPeriod}\n served={NO_SERVED}\n />\n )}\n </ProblemScopeProvider>\n );\n}\n\n/**\n * The sections and the reader's controls over them. The window is the\n * query grammar's own phrase, landing on every section that declared\n * `over`; a metric's `compare` is the author's chosen window and stays\n * out of the reader's — two hands on one clock would tell no time. The\n * picks are column → chosen value, landing on every section whose table\n * has the column. Both arrive from a link and every change is reported\n * the same way, so a picked board is a place worth sending someone too.\n */\nexport function Dashboard({\n dashboard,\n window: fromLink = null,\n picks: pickedFromLink = {},\n periods: periodsFromLink = NO_PERIODS,\n onWindow,\n onPick,\n onPeriods,\n}: DashboardProps) {\n const [windowNow, setWindow] = useState<string | null>(fromLink);\n const [picks, setPicks] = useState<Picks>(pickedFromLink);\n const [periods, setPeriods] = useState<Periods>(periodsFromLink);\n /* Where each section stands among the dashboard's as it was served, before a first run is taken out below. */\n const served = useMemo(() => new Map(allSections(dashboard).map((section, at) => [section, at])), [dashboard]);\n const periodsNow = useRef(periods);\n const onPeriod = useMemo(\n () => (key: string, phrase: string) => {\n const next = { ...periodsNow.current, [key]: phrase };\n periodsNow.current = next;\n setPeriods(next);\n onPeriods?.(next);\n },\n [onPeriods],\n );\n /* A first run leads the dashboard until its steps are done; while none is,\n it is the dashboard — charts of empty tables say nothing but \"broken\". */\n const firstRun = dashboard.sections.find((section) => section.kind === 'firstRun');\n const run = useFirstRun(firstRun);\n if (firstRun && run.stage === 'unknown') return <div className=\"page-body dash-body\" aria-busy=\"true\" />;\n if (firstRun && run.stage === 'fresh') {\n return (\n <div className=\"page-body dash-body\">\n <FirstRun section={firstRun} done={run.done} fresh />\n </div>\n );\n }\n const lead = firstRun && run.stage === 'started' ? <FirstRun section={firstRun} done={run.done} fresh={false} /> : null;\n dashboard = firstRun ? { ...dashboard, sections: dashboard.sections.filter((section) => section !== firstRun) } : dashboard;\n const onAllTime = () => {\n setWindow(null);\n onWindow?.(null);\n };\n const controls = Boolean(dashboard.windows?.length) || Boolean(dashboard.filters?.length);\n return (\n <ProblemScopeProvider>\n <div>\n {lead && <div className=\"page-body dash-body\">{lead}</div>}\n {controls && (\n <div className=\"dash-controls\">\n {dashboard.windows?.length ? (\n <WindowRow\n windows={dashboard.windows}\n current={windowNow}\n onPick={(w) => {\n setWindow(w);\n onWindow?.(w);\n }}\n ownWindow={ownWindowOf(allSections(dashboard))}\n control={dashboard.windowControl}\n />\n ) : null}\n {dashboard.filters?.length ? (\n <div className=\"dash-picks\">\n {dashboard.filters.map((column) => (\n <Pick\n key={column}\n dashboard={dashboard}\n column={column}\n picks={picks}\n onChange={(c, value) => {\n const next = { ...picks };\n if (value === '') delete next[c];\n else next[c] = value;\n setPicks(next);\n onPick?.(next);\n }}\n />\n ))}\n </div>\n ) : null}\n </div>\n )}\n {dashboard.aside?.length ? (\n <div className=\"dashboard-layout page-layout\">\n <div className=\"page-body page-main dash-body\">\n <Sections\n dashboard={dashboard}\n sections={dashboard.sections}\n windowNow={windowNow}\n picks={picks}\n periods={periods}\n onPeriod={onPeriod}\n onAllTime={onAllTime}\n served={served}\n />\n </div>\n <aside className=\"page-body page-aside dash-body\" aria-label={sayCopy('dashboardContext')}>\n <Sections\n dashboard={dashboard}\n sections={dashboard.aside}\n windowNow={windowNow}\n picks={picks}\n periods={periods}\n onPeriod={onPeriod}\n onAllTime={onAllTime}\n served={served}\n aside\n />\n </aside>\n </div>\n ) : (\n <div className={`page-body dash-body${dashboard.areas?.length ? ' dash-laid' : ''}`}>\n <Sections\n dashboard={dashboard}\n sections={dashboard.sections}\n windowNow={windowNow}\n picks={picks}\n periods={periods}\n onPeriod={onPeriod}\n onAllTime={onAllTime}\n served={served}\n />\n </div>\n )}\n </div>\n </ProblemScopeProvider>\n );\n}\n"],"file":"Dashboard-C6j-DxBk.js"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{Bo as t,Co as n,Oo as r,Pd as i,Qu as a,Ro as o,Su as s,Uo as c,ds as l,ns as u,pc as d,ss as f,wo as p,ys as m}from"./index-Bt4RC99Z.js";import{Jo as h,Lr as g,No as _,Po as v,tt as y}from"./shell-B2AKY91H.js";import{whoWrote as b}from"./PageHistory-Dd-II-yZ.js";var x=e(s()),S=a({a:`Yesterday`,b:`This week`,c:`New {noun}`,d:`to`,e:`No changes {said} match “{search}”.`,f:`No changes {said}.`,g:`Show fewer`,h:`Show {entriesCount} more`,i:`Period of {title}`,j:`the activity`,k:`Search activity`,l:`{headingOf} edited`,m:{one:`{count} field changed`,other:`{count} fields changed`},n:`change`,o:`changes`}),C=e(c()),w=[{value:`today`,label:S(`.ao`),said:`today`},{value:`yesterday`,label:S(`a`),said:`yesterday`},{value:`week`,label:S(`b`),said:`this week`}];function T(e,t){return e.action?e.action:e.kind===`insert`?S(`c`,{noun:t}):S(`l`,{headingOf:_(t)})}var E=(e,t)=>!t.hidden&&!t.redacted&&!e?.columns.find(e=>e.name===t.column)?.references;function D({entry:e,table:t}){let n=e.fields.filter(e=>E(t,e)).slice(0,e.kind===`insert`?0:1),r=e.kind===`insert`||n.length?0:e.fields.length;if(!n.length&&!r)return null;let i=e=>t?.columns.find(t=>t.name===e),a=t=>f(e.table,t.column)??t.label??d(t.column),o=(t,n)=>(0,C.jsx)(g,{col:i(t.column),value:n??null,tableId:e.table,compact:!0});return(0,C.jsxs)(`span`,{className:`activity-changed`,children:[n.map(e=>(0,C.jsxs)(`span`,{className:`activity-field`,children:[(0,C.jsx)(`span`,{className:`activity-caption`,children:a(e)}),` `,e.before!==void 0&&e.before!==null&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(`span`,{className:`activity-before`,children:o(e,e.before)}),(0,C.jsxs)(`span`,{className:`activity-arrow`,"aria-label":S(`d`),children:[` `,`→`,` `]})]}),(0,C.jsx)(`span`,{className:`activity-after`,children:o(e,e.after)})]},e.column)),r>0&&(0,C.jsx)(`span`,{className:`activity-field activity-more-fields`,children:S(`m`,{count:r})})]})}function O(e,t){let n=new Date(e);return Number.isNaN(n.getTime())?e:i(n,t===`week`?{weekday:`short`,hour:`numeric`,minute:`2-digit`}:{hour:`numeric`,minute:`2-digit`})}var k=(e,t)=>[t,e.label,b(e),...e.fields.flatMap(e=>[e.column,e.label??``,String(e.before??``),String(e.after??``)])].join(` `).toLowerCase();function A({section:e,dashboard:a,at:s}){let[c,d]=(0,x.useState)(`today`),[f,g]=(0,x.useState)(``),[E,A]=(0,x.useState)(!1),j=(0,x.useDeferredValue)(f.trim().toLowerCase()),M=(0,x.useId)(),N=o({queryKey:[`record-activity`,a,s,c],queryFn:()=>u(`/api/record-activity`,{view:a,section:s,period:c}),enabled:s>=0,placeholderData:t,staleTime:3e4}),P=y(),F=e.limit??8,I=t=>{let n=l(t);return e.resources?.[t]?.label??v(h(P,t)?.noun,n?.name??t)},L=(N.data?.entries??[]).map(e=>({entry:e,title:T(e,I(e.table))})).filter(({entry:e,title:t})=>!j||k(e,t).includes(j)),R=E?L:L.slice(0,F),z=w.find(e=>e.value===c).said,B;return B=N.isError?(0,C.jsx)(p,{text:N.error.message}):N.data?L.length?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)(`p`,{className:`activity-count`,children:[(0,C.jsxs)(`strong`,{children:[L.length,!j&&L.length>=50?`+`:``]}),` `,S(L.length===1?`n`:`o`),` `,z]}),(0,C.jsx)(`ol`,{className:`activity-list`,children:R.map(({entry:t,title:n},a)=>{let o=l(t.table),s=e.resources?.[t.table]?.icon;return(0,C.jsxs)(`li`,{className:`activity-entry`,children:[(0,C.jsx)(`span`,{className:`activity-mark`,"aria-hidden":`true`,children:s?(0,C.jsx)(r,{name:s,size:16}):null}),(0,C.jsxs)(`span`,{className:`activity-text`,children:[(0,C.jsxs)(`span`,{className:`activity-head`,children:[(0,C.jsx)(`span`,{className:`activity-what`,children:n}),(0,C.jsx)(`time`,{className:`activity-when`,dateTime:t.at,title:i(new Date(t.at)),children:O(t.at,c)})]}),(0,C.jsxs)(`span`,{className:`activity-detail`,children:[!n.toLowerCase().includes(I(t.table).toLowerCase())&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(`span`,{className:`activity-noun`,children:_(I(t.table))}),` `]}),(0,C.jsx)(`button`,{type:`button`,className:`activity-record`,onClick:()=>void m(t.table,t.key,t.label,`push`),children:t.label}),` `,(0,C.jsx)(D,{entry:t,table:o})]}),(0,C.jsx)(`span`,{className:`activity-by`,children:b(t)})]})]},`${t.table}-${t.at}-${a}`)})}),L.length>F&&(0,C.jsx)(`button`,{type:`button`,className:`ghost activity-show`,onClick:()=>A(!E),children:E?S(`g`):S(`h`,{entriesCount:L.length-F})})]}):(0,C.jsx)(n,{text:j?S(`e`,{said:z,search:f.trim()}):S(`f`,{said:z})}):(0,C.jsx)(`div`,{className:`activity-list`,"aria-busy":`true`}),(0,C.jsxs)(`div`,{className:`activity`,children:[(0,C.jsx)(`div`,{className:`activity-periods`,role:`group`,"aria-label":S(`i`,{title:e.title??S(`j`)}),children:w.map(e=>(0,C.jsx)(`button`,{type:`button`,className:`activity-period`,"aria-pressed":c===e.value,onClick:()=>{d(e.value),A(!1)},children:e.label},e.value))}),(0,C.jsxs)(`label`,{className:`activity-search`,htmlFor:M,children:[(0,C.jsx)(r,{name:`magnifying-glass`,size:16}),(0,C.jsxs)(`span`,{className:`visually-hidden`,children:[S(`navigation.search`),` `,e.title??S(`j`)]}),(0,C.jsx)(`input`,{id:M,type:`search`,value:f,placeholder:S(`k`),onChange:e=>g(e.target.value)})]}),B]})}export{A as ActivityFeed};
|
|
2
|
-
//# sourceMappingURL=DashboardActivity-CSg0EFMy.js.map
|
|
Binary file
|
|
Binary file
|