allyhub 0.20.0 → 0.21.0
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/dist/commands/cloud-tools.js +5 -5
- package/dist/commands/frames.js +8 -8
- package/dist/commands.json +1 -1
- package/dist/help.js +3 -3
- package/dist/node_modules/@allyhub/3d-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/audio/package.json +1 -1
- package/dist/node_modules/@allyhub/blocks/dist/elements.js +1 -1
- package/dist/node_modules/@allyhub/blocks/dist/layout.js +1 -1
- package/dist/node_modules/@allyhub/blocks/dist/palette.js +1 -1
- package/dist/node_modules/@allyhub/blocks/dist/resolve.js +1 -1
- package/dist/node_modules/@allyhub/blocks/package.json +1 -1
- package/dist/node_modules/@allyhub/browser/package.json +1 -1
- package/dist/node_modules/@allyhub/build/package.json +1 -1
- package/dist/node_modules/@allyhub/canvas-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/canvas-model/package.json +1 -1
- package/dist/node_modules/@allyhub/chart/package.json +1 -1
- package/dist/node_modules/@allyhub/check/package.json +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/call.js +2 -2
- package/dist/node_modules/@allyhub/cloud/package.json +1 -1
- package/dist/node_modules/@allyhub/components/package.json +1 -1
- package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
- package/dist/node_modules/@allyhub/diagnostics/package.json +1 -1
- package/dist/node_modules/@allyhub/doc/dist/block-shapes.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/blocks.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/docx.js +5 -5
- package/dist/node_modules/@allyhub/doc/dist/shapes.js +2 -2
- package/dist/node_modules/@allyhub/doc/package.json +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/import.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/doc-print/package.json +1 -1
- package/dist/node_modules/@allyhub/export/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-host/package.json +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/page-data.d.ts +9 -1
- package/dist/node_modules/@allyhub/formats/dist/data/page-data.js +1 -1
- package/dist/node_modules/@allyhub/formats/package.json +1 -1
- package/dist/node_modules/@allyhub/html-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/i18n/package.json +1 -1
- package/dist/node_modules/@allyhub/image-draw/package.json +1 -1
- package/dist/node_modules/@allyhub/image-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +1 -1
- package/dist/node_modules/@allyhub/image-measure/package.json +1 -1
- package/dist/node_modules/@allyhub/image-psd/package.json +1 -1
- package/dist/node_modules/@allyhub/image-render/package.json +1 -1
- package/dist/node_modules/@allyhub/image-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/image-sdk/package.json +1 -1
- package/dist/node_modules/@allyhub/jobs/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-model/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-view/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-view/src/style.css +1 -1
- package/dist/node_modules/@allyhub/measure/package.json +1 -1
- package/dist/node_modules/@allyhub/media/package.json +1 -1
- package/dist/node_modules/@allyhub/media-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/model/package.json +1 -1
- package/dist/node_modules/@allyhub/office-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
- package/dist/node_modules/@allyhub/piece/package.json +1 -1
- package/dist/node_modules/@allyhub/project/package.json +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
- package/dist/node_modules/@allyhub/protocol/package.json +1 -1
- package/dist/node_modules/@allyhub/registry/package.json +1 -1
- package/dist/node_modules/@allyhub/render/package.json +1 -1
- package/dist/node_modules/@allyhub/report-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/report-extension/dist/build.js +3 -0
- package/dist/node_modules/@allyhub/report-extension/dist/check.js +37 -0
- package/dist/node_modules/@allyhub/report-extension/dist/cli/index.js +4 -0
- package/dist/node_modules/@allyhub/report-extension/dist/export.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/inline.js +58 -0
- package/dist/node_modules/@allyhub/report-extension/dist/page.js +23 -0
- package/dist/node_modules/@allyhub/report-extension/dist/project-tools.js +33 -0
- package/dist/node_modules/@allyhub/report-extension/dist/styles.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/theme.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/package.json +185 -0
- package/dist/node_modules/@allyhub/report-extension/styles/allyhub/STYLE.md +180 -0
- package/dist/node_modules/@allyhub/report-extension/styles/allyhub/style.json +15 -0
- package/dist/node_modules/@allyhub/runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
- package/dist/node_modules/@allyhub/scaffold/dist/index.js +5 -5
- package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery-host/package.json +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/html.js +10 -10
- package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/table-style.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/theme.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/tiles.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/tile-shapes.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +1 -1
- package/dist/node_modules/@allyhub/sheet/package.json +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/cli/sheet.js +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-extension/dist/cli/slides.js +1 -1
- package/dist/node_modules/@allyhub/slides-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/stage/package.json +1 -1
- package/dist/node_modules/@allyhub/stage-page/package.json +1 -1
- package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +2 -2
- package/dist/node_modules/@allyhub/stage-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/telemetry/package.json +1 -1
- package/dist/node_modules/@allyhub/text-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/video-core/package.json +1 -1
- package/dist/node_modules/@allyhub/video-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/video-measure/package.json +1 -1
- package/dist/node_modules/@allyhub/video-sdk/package.json +1 -1
- package/dist/node_modules/@allyhub/website/package.json +1 -1
- package/dist/node_modules/@allyhub/website-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/x-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/x-model/package.json +1 -1
- package/dist/node_modules/@allyhub/x-view/package.json +1 -1
- package/dist/package.json +15 -14
- package/dist/works.js +1 -1
- package/editor-web/assets/{abnfDiagram-WEYOIA3C-BkVJMd53.js → abnfDiagram-WEYOIA3C-B4tvwU6C.js} +1 -1
- package/editor-web/assets/{architecture-WOLXFQ4H-C6rnaynZ.js → architecture-WOLXFQ4H-V2fA0vY2.js} +1 -1
- package/editor-web/assets/{architectureDiagram-ZHVYKT53-D3vrh8LK.js → architectureDiagram-ZHVYKT53-B6B7XN0M.js} +1 -1
- package/editor-web/assets/article-DW4eD_8K.js +3 -0
- package/editor-web/assets/article-Dm2dIEwc.js +7 -0
- package/editor-web/assets/bar-button-CJmpgNg4.js +1 -0
- package/editor-web/assets/{blockDiagram-RJAE7QA3-BKngt8H7.js → blockDiagram-RJAE7QA3-BizcUGOM.js} +1 -1
- package/editor-web/assets/{c4Diagram-XDPPPE54-j7sUELqF.js → c4Diagram-XDPPPE54-CBHS0dQ0.js} +1 -1
- package/editor-web/assets/channel-dyUtlVPg.js +1 -0
- package/editor-web/assets/chip-BdQRH3FL.js +1 -0
- package/editor-web/assets/{chunk-2E7WHVMD-BXa-uRSi.js → chunk-2E7WHVMD-CMPBck_Q.js} +1 -1
- package/editor-web/assets/{chunk-4EMNKR2T-B3ntcsZN.js → chunk-4EMNKR2T-Df22Adpt.js} +1 -1
- package/editor-web/assets/{chunk-55XCU76K-AMvnFwUg.js → chunk-55XCU76K-CYrZ6_Q7.js} +1 -1
- package/editor-web/assets/{chunk-7S6XSTFO-BA6esfFu.js → chunk-7S6XSTFO-BfdG9NNW.js} +1 -1
- package/editor-web/assets/{chunk-AQDTSKZB-BT_vANXs.js → chunk-AQDTSKZB-BCzZMoTJ.js} +1 -1
- package/editor-web/assets/{chunk-DSNLSHJZ-DoUgmzGB.js → chunk-DSNLSHJZ-DT0xT8Wf.js} +1 -1
- package/editor-web/assets/{chunk-HAGFOTED-DtnIrCZb.js → chunk-HAGFOTED-Bg3-EotU.js} +1 -1
- package/editor-web/assets/{chunk-HNE4Q36P-BlPwQx3_.js → chunk-HNE4Q36P-BrSym24V.js} +1 -1
- package/editor-web/assets/{chunk-NQOKRVIF-D2r7jp2r.js → chunk-NQOKRVIF-CMxgkJWF.js} +1 -1
- package/editor-web/assets/{chunk-UHW7PFBP-Cmc0_F5o.js → chunk-UHW7PFBP-DWEwoyPy.js} +1 -1
- package/editor-web/assets/{chunk-VQ5W62QI-nJSMqAr0.js → chunk-VQ5W62QI-eTFh5_T9.js} +1 -1
- package/editor-web/assets/{chunk-WQQL4CDK-Btq2nbF6.js → chunk-WQQL4CDK-4PTupr9T.js} +1 -1
- package/editor-web/assets/{chunk-YZO67HFG-DTbcCoGt.js → chunk-YZO67HFG-D5XAAFWm.js} +1 -1
- package/editor-web/assets/{chunk-ZAUX2LTX-DVwkg-2N.js → chunk-ZAUX2LTX-CPsdaisO.js} +1 -1
- package/editor-web/assets/{chunk-ZCHMQSOR-BV39jOOE.js → chunk-ZCHMQSOR-ClnuUyfy.js} +1 -1
- package/editor-web/assets/{classDiagram-v2-4MYWR3UA-Cj74-fhM.js → classDiagram-v2-4MYWR3UA-CM21waNF.js} +1 -1
- package/editor-web/assets/collaborator-CbTacvkB.js +1 -0
- package/editor-web/assets/color-picker-BmKFn2ww.js +1 -0
- package/editor-web/assets/{cynefin-EF2NZ3EQ-C0CkiipV.js → cynefin-EF2NZ3EQ-CJUHTgee.js} +1 -1
- package/editor-web/assets/{cynefinDiagram-WF24UDRP-hdsnJ4cI.js → cynefinDiagram-WF24UDRP-C9RIfuIV.js} +1 -1
- package/editor-web/assets/{dagre-NK4GIZVX-CC7WSgaK.js → dagre-NK4GIZVX-g-01KdpO.js} +1 -1
- package/editor-web/assets/deck-C0VxrlzX.js +1 -0
- package/editor-web/assets/{diagram-CBK3MWTC-DmaVm13J.js → diagram-CBK3MWTC-CbOjWUu-.js} +1 -1
- package/editor-web/assets/{diagram-I5XIIV2D-De8jqp7b.js → diagram-I5XIIV2D-C6psNS8J.js} +1 -1
- package/editor-web/assets/{diagram-ODIL2UCW-B5pBTulX.js → diagram-ODIL2UCW-C9PUE46P.js} +1 -1
- package/editor-web/assets/{diagram-PFBEJUXE-BYsXg5_w.js → diagram-PFBEJUXE-vJ_pnB33.js} +1 -1
- package/editor-web/assets/{diagram-RJA3I4VV-DZ8f6bYe.js → diagram-RJA3I4VV-FwYlEfJ-.js} +1 -1
- package/editor-web/assets/{diagram-TYUNFSNR-qXHUsauD.js → diagram-TYUNFSNR-FKpIxeUc.js} +1 -1
- package/editor-web/assets/{dist-DAhe-kFC.js → dist-B8_6sJ_V.js} +1 -1
- package/editor-web/assets/dist-BI_BaYhO.js +19 -0
- package/editor-web/assets/dist-BaWFMuvr.js +1 -0
- package/editor-web/assets/dist-BdmMT8fP.js +5 -0
- package/editor-web/assets/dist-BgKyM9U6.js +3 -0
- package/editor-web/assets/dist-BqijryYd.js +1 -0
- package/editor-web/assets/dist-ByguWp3a.js +16 -0
- package/editor-web/assets/{dist-9kuRjUTN.js → dist-CB-_0-X4.js} +6 -6
- package/editor-web/assets/dist-CCP24Lel.js +19 -0
- package/editor-web/assets/{dist-B3rd02Cg.js → dist-Cg0Z26Kv.js} +6 -6
- package/editor-web/assets/dist-CtYjYJdv.js +1 -0
- package/editor-web/assets/dist-D07Kj8GR.js +1 -0
- package/editor-web/assets/dist-D2rGVz9C.js +1 -0
- package/editor-web/assets/dist-D3DwRF1k.js +547 -0
- package/editor-web/assets/dist-DCI21ljp.js +6 -0
- package/editor-web/assets/dist-DH8oJJw9.js +35 -0
- package/editor-web/assets/dist-DJvfQvM7.js +24 -0
- package/editor-web/assets/dist-DmCDcb2_.js +4 -0
- package/editor-web/assets/dist-H0z_DXDz.js +19 -0
- package/editor-web/assets/{dist-DA72-4WB.js → dist-QLXI7XGS.js} +1 -1
- package/editor-web/assets/{docx-draw-L54blreB.js → docx-draw-Dxb67W2d.js} +1 -1
- package/editor-web/assets/{ebnfDiagram-V4P3TTPT-B7-IfVI-.js → ebnfDiagram-V4P3TTPT-DBymUM-F.js} +1 -1
- package/editor-web/assets/{elk-QONTBCTQ-Gj_WaeBn.js → elk-QONTBCTQ-BNYR3OlS.js} +1 -1
- package/editor-web/assets/{erDiagram-KYQIGQAA-BDF6Qoqx.js → erDiagram-KYQIGQAA-cTNyOqW6.js} +1 -1
- package/editor-web/assets/esm-Cl3GKSDd.js +21 -0
- package/editor-web/assets/{eventmodeling-K75KTNOO-elxVXXEe.js → eventmodeling-K75KTNOO-C6FUZeXP.js} +1 -1
- package/editor-web/assets/eye-DwfE1USj.js +1 -0
- package/editor-web/assets/flowDiagram-IUGLLWBU-ukTovy07.js +1 -0
- package/editor-web/assets/{ganttDiagram-R7GPNTJY-CEogW3jW.js → ganttDiagram-R7GPNTJY-LD9mqQ1x.js} +1 -1
- package/editor-web/assets/{gitGraph-VSP46ZUC-Bh9cRWFa.js → gitGraph-VSP46ZUC-CtCBcQFl.js} +1 -1
- package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-BQAvdM_V.js → gitGraphDiagram-PDYL7XHY-DYQpOozz.js} +1 -1
- package/editor-web/assets/hint-F4fIBnVU.js +1 -0
- package/editor-web/assets/index-Cah2zchD.css +2 -0
- package/editor-web/assets/index-omhSywJb.js +28 -0
- package/editor-web/assets/{info-OHQRW6UA-CdPrqere.js → info-OHQRW6UA-IXInKPRO.js} +1 -1
- package/editor-web/assets/{infoDiagram-MVDRKAX5-uwIMeP44.js → infoDiagram-MVDRKAX5-Ds7Cei7T.js} +1 -1
- package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-rtfvqK7E.js → ishikawaDiagram-HPEHV2GE-DWs3qtAX.js} +1 -1
- package/editor-web/assets/{journeyDiagram-BOSHW7O7-mmhfIyVG.js → journeyDiagram-BOSHW7O7-BkNKVYBA.js} +1 -1
- package/editor-web/assets/{kanban-definition-FNSA4HC5-Fe7jBsi-.js → kanban-definition-FNSA4HC5-D3dMswnI.js} +1 -1
- package/editor-web/assets/{mermaid-parser.core-BxOSjBH9.js → mermaid-parser.core-D_W_0X0N.js} +3 -3
- package/editor-web/assets/{mermaid.core-BOln9YdH.js → mermaid.core-Bkirj-s5.js} +4 -4
- package/editor-web/assets/{mindmap-definition-6OY57UG3-M3Q1LOtO.js → mindmap-definition-6OY57UG3-CMKkAAvI.js} +1 -1
- package/editor-web/assets/{packet-JDAUHWVQ-Dbb0TUG6.js → packet-JDAUHWVQ-CzCkgCfg.js} +1 -1
- package/editor-web/assets/palette-DchDLJj6.js +1 -0
- package/editor-web/assets/panes-BexRuZd2.js +3 -0
- package/editor-web/assets/{pegDiagram-ECIUJNBX-BZMRpSFC.js → pegDiagram-ECIUJNBX-C8qHkx7M.js} +1 -1
- package/editor-web/assets/{pie-XZMESJXO-Ctm9XdKp.js → pie-XZMESJXO-BJqgxMrD.js} +1 -1
- package/editor-web/assets/{pieDiagram-GNMPY74T-cGbs5ZTl.js → pieDiagram-GNMPY74T-DyNntV5y.js} +1 -1
- package/editor-web/assets/progress-D1Uv3d1b.js +6 -0
- package/editor-web/assets/{quadrantDiagram-D57K4MC3-BUe_zsxT.js → quadrantDiagram-D57K4MC3-BHa-69ir.js} +1 -1
- package/editor-web/assets/{radar-ABXABTNO-CCmKtqLs.js → radar-ABXABTNO-BeRPjBBR.js} +1 -1
- package/editor-web/assets/{railroad-I3PHUGI6-k-yhjhjA.js → railroad-I3PHUGI6-BaRQqRsK.js} +1 -1
- package/editor-web/assets/{railroad-abnf-LNEFI6M7-B-PvntB3.js → railroad-abnf-LNEFI6M7-BZfwomxZ.js} +1 -1
- package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-Ds2rua1h.js → railroad-ebnf-DWYD2UWJ-DbgqpEF5.js} +1 -1
- package/editor-web/assets/{railroad-peg-JR7BVNR7-jNZ2wEp2.js → railroad-peg-JR7BVNR7-BYOf3PsQ.js} +1 -1
- package/editor-web/assets/{railroadDiagram-Y72NRBL7-CTqSQ15w.js → railroadDiagram-Y72NRBL7-B5OAzOsD.js} +1 -1
- package/editor-web/assets/{requirementDiagram-EQYSW5RA-CUblhR5M.js → requirementDiagram-EQYSW5RA-wqYNoqO0.js} +1 -1
- package/editor-web/assets/ribbon-tabs-B3IC9WOt.js +1 -0
- package/editor-web/assets/row-DqS4-5b1.js +1 -0
- package/editor-web/assets/{sankeyDiagram-SY24JHO5-nSz6zDX3.js → sankeyDiagram-SY24JHO5-Crf6GRsa.js} +1 -1
- package/editor-web/assets/{sequenceDiagram-BLEHNHQU-DxTpOYuo.js → sequenceDiagram-BLEHNHQU-DUcHz4_d.js} +1 -1
- package/editor-web/assets/{session-BhClkDyr.js → session--OJYv_B7.js} +1 -1
- package/editor-web/assets/{snapshots-DwGHDN3t.js → snapshots-DYooVfOx.js} +1 -1
- package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-C3e14iHY.js → stateDiagram-v2-A6IESKWZ-DbeLdnpS.js} +1 -1
- package/editor-web/assets/surface-BUoi7cmR.js +1 -0
- package/editor-web/assets/swatch-DCmD1gZl.js +1 -0
- package/editor-web/assets/{swimlanes-B3ENRKFQ-DPPdzNzu.js → swimlanes-B3ENRKFQ-BDi6AeJI.js} +1 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-2wwOmxbv.js +8 -0
- package/editor-web/assets/switch-b6GCy_ix.js +1 -0
- package/editor-web/assets/syntax-Bqyhj0dw.js +1 -0
- package/editor-web/assets/tablet-C6oePHEW.js +1 -0
- package/editor-web/assets/textarea-Bu6uPEqT.js +1 -0
- package/editor-web/assets/{timeline-definition-JXYKGLGB-DRTJ1_Er.js → timeline-definition-JXYKGLGB-B0awa2hh.js} +1 -1
- package/editor-web/assets/trash-2-SFReAxVM.js +1 -0
- package/editor-web/assets/{treeView-D4JQ5SDB-BYJ_m-i5.js → treeView-D4JQ5SDB-C91G0IGm.js} +1 -1
- package/editor-web/assets/{treemap-SAJKECNS-BcU6I6Rg.js → treemap-SAJKECNS-CiOWiwl2.js} +1 -1
- package/editor-web/assets/updating-D0GEtwnJ.js +1 -0
- package/editor-web/assets/{usecaseDiagram-WPOLBNNX-YV92pS4o.js → usecaseDiagram-WPOLBNNX-DMYM1MRe.js} +1 -1
- package/editor-web/assets/{vennDiagram-Q3Y3IDCW-oAvfHZtf.js → vennDiagram-Q3Y3IDCW-DQIJ5vvN.js} +1 -1
- package/editor-web/assets/{video-SJvDRCJK.js → video-mMOFXHYK.js} +1 -1
- package/editor-web/assets/{wardley-7MLQ67FV-BLNiqxtt.js → wardley-7MLQ67FV-C3H9HG8r.js} +1 -1
- package/editor-web/assets/{wardleyDiagram-IVAIDKWA-SppgC6xW.js → wardleyDiagram-IVAIDKWA-DgsjqY1Y.js} +1 -1
- package/editor-web/assets/{words-BUlNNuH2.js → words-B2jQwWpp.js} +1 -1
- package/editor-web/assets/{words-zMedmPWc.js → words-DgMuEmDO.js} +1 -1
- package/editor-web/assets/workbook-NtMEyLgf.js +41 -0
- package/editor-web/assets/x-BAJilkKD.js +41 -0
- package/editor-web/assets/{xychartDiagram-4URNHDU4-BHMn_jwJ.js → xychartDiagram-4URNHDU4-DzsGI527.js} +1 -1
- package/editor-web/index.html +5 -6
- package/package.json +5 -2
- package/editor-web/assets/article-DHf6mOY_.js +0 -7
- package/editor-web/assets/article-Dns1-Xh-.js +0 -3
- package/editor-web/assets/bar-button-CKPfx2AB.js +0 -1
- package/editor-web/assets/channel-CVWSV3su.js +0 -1
- package/editor-web/assets/chip-Bn_9JRRG.js +0 -1
- package/editor-web/assets/collaborator-XiHOxwGM.js +0 -1
- package/editor-web/assets/deck-DQpNIS2p.js +0 -1
- package/editor-web/assets/dist--z0ZHp4T.js +0 -16
- package/editor-web/assets/dist-B5GOGGEe.js +0 -1
- package/editor-web/assets/dist-Bx6q9kCu.js +0 -1
- package/editor-web/assets/dist-C4hHtrJr.js +0 -1
- package/editor-web/assets/dist-CCXJewsi.js +0 -19
- package/editor-web/assets/dist-CfK2BLl8.js +0 -4
- package/editor-web/assets/dist-Cmux3oJ_.js +0 -1
- package/editor-web/assets/dist-Cspf85KV.js +0 -6
- package/editor-web/assets/dist-DOrGo1GD.js +0 -19
- package/editor-web/assets/dist-DjiCHlSu.js +0 -35
- package/editor-web/assets/dist-Do4a40Wn.js +0 -19
- package/editor-web/assets/dist-FKEWS3Co.js +0 -547
- package/editor-web/assets/dist-QKd2i6kG.js +0 -5
- package/editor-web/assets/dist-SGnOfLhx.js +0 -24
- package/editor-web/assets/dist-VmVB7tl4.js +0 -3
- package/editor-web/assets/esm-PQD5Pn8a.js +0 -21
- package/editor-web/assets/flowDiagram-IUGLLWBU-B-25n8zE.js +0 -1
- package/editor-web/assets/hint-CbwoSBMw.js +0 -1
- package/editor-web/assets/index-CXisi0Cj.css +0 -2
- package/editor-web/assets/index-wMlfx8aT.js +0 -28
- package/editor-web/assets/layout-SWqqA0yV.js +0 -1
- package/editor-web/assets/progress-DZQTiRLv.js +0 -6
- package/editor-web/assets/ribbon-DajdQ_Ya.js +0 -1
- package/editor-web/assets/row-Bei9HNEe.js +0 -1
- package/editor-web/assets/split-DBAbwPZ5.js +0 -3
- package/editor-web/assets/surface-CIF0Ae0z.js +0 -1
- package/editor-web/assets/swatch-BUzr_XmH.js +0 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-B8n3zOw_.js +0 -8
- package/editor-web/assets/switch-DrZxoPQS.js +0 -1
- package/editor-web/assets/syntax-emXV4DnN.js +0 -1
- package/editor-web/assets/tabs-BwU2E7bU.js +0 -1
- package/editor-web/assets/textarea-BX_ax3X8.js +0 -1
- package/editor-web/assets/type-CvZ0HZsV.js +0 -41
- package/editor-web/assets/workbook-BZKYx4WB.js +0 -41
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{shownPath as l}from"../items.js";import{isPathReference as
|
|
2
|
+
import{SHOWN_DATA as x,shownPath as l}from"../items.js";import{isPathReference as A}from"./blocks.js";export function addressParts(e){const t=e.indexOf("#");if(t<0)return[e];const n=e.slice(0,t),s=e.slice(t+1);if(/\.ya?ml$/iu.test(n))return[...p(n.replace(/\.ya?ml$/iu,""),s),n];if(/\.(?:json|csv)$/iu.test(n)){const r=/^('?)(.+)\1!\$?[A-Z]{1,3}\$?\d+$/u.exec(s);return r?[`${n}#${r[2]??""}!`]:[n]}return p(n,s)}function p(e,t){const n=/^('?)(.+)\1!\$?[A-Z]{1,3}\$?\d+$/u.exec(t);if(n)return[`${e}#${n[2]??""}!`];const s=/^(.+?)\[([^\]]+)\]$/u.exec(t)??/^([^.![]+)\.([^!]+)$/u.exec(t);return s?[`${e}#${s[1]??""}`]:[`${e}#${t}`]}export function attributeValue(e,t){const n=e.trim();if(/^[[{]/u.test(n))try{return JSON.parse(n)}catch(s){if(s instanceof SyntaxError)return e;throw s}if(t==="chart"){if(n==="true")return!0;if(n==="false")return!1;if(/^-?\d+(?:\.\d+)?$/u.test(n))return Number(n)}return e}export function namedAddresses(e){const t=new Set,n=s=>{if(typeof s=="string"){const r=s.trim();A(r)&&t.add(r)}else Array.isArray(s)?s.forEach(n):typeof s=="object"&&s!==null&&Object.values(s).forEach(n)};return n(e),[...t]}export const isRows=e=>Array.isArray(e)&&e.every(t=>typeof t=="object"&&t!==null&&!Array.isArray(t));function h(e,t){const n=e[0]??{},s=t in n?t:Object.keys(n).find(r=>r.toLowerCase()===t.toLowerCase());return s===void 0?void 0:e.map(r=>r[s])}export function readAddress(e,t){for(const n of addressParts(e)){const s=g(e,n,t);if(s!==void 0)return s}}function g(e,t,n){const s=e.indexOf("#");if(s<0||t===e)return n(t);const r=t.indexOf("#"),o=r<0?t:t.slice(0,r),i=e.slice(s+1);if(t===`${o}#${i}`)return n(t);const c=n(t),u=/^('?)(.+)\1!\$?([A-Z]{1,3})\$?(\d+)$/u.exec(i);if(u)return typeof c=="object"&&c!==null?c[`${u[3]??""}${u[4]??""}`]:void 0;if(/\.(?:ya?ml|json)$/iu.test(o)){let f=c;for(const y of i.split(".")){if(typeof f!="object"||f===null)return;f=f[y]}return f}const a=/^(.+?)\[([^\]]+)\]$/u.exec(i)??/^([^.![]+)\.([^!]+)$/u.exec(i),d=/\.csv$/iu.test(o)?a?.[2]??i.replace(/^\[|\]$/gu,""):a?.[2]??"";return isRows(c)?h(c,d):void 0}export const PAGE_DATA_ID="allyhub-data";export function askedAddresses(e){return[...e.matchAll(/allyhubData\(\s*(["'`])((?:\.{1,2}\/|\/)[^"'`]+)\1/gu)].flatMap(t=>t[2]===void 0?[]:[t[2]])}const w={amp:"&",quot:'"',apos:"'",lt:"<",gt:">","#39":"'"},b=e=>e.replace(/&(amp|quot|apos|lt|gt|#39);/gu,(t,n)=>w[n]??t);export function pageAddresses(e){const t=new Set;for(const n of e.matchAll(/<(allyhub-[\w-]+)\b([^>]*)>/giu))for(const s of(n[2]??"").matchAll(/([^\s=/>]+)\s*=\s*(?:"([^"]*)"|'([^']*)')/gu)){const r=b(s[2]??s[3]??"");for(const o of namedAddresses(attributeValue(r)))t.add(o)}for(const n of askedAddresses(e))t.add(n);return[...t]}function $(e,t){const n=[],s=t.startsWith("/")?t.slice(1):`${e}/${t}`;for(const r of s.split("/"))r===""||r==="."||(r===".."?n.pop():n.push(r));return n.join("/")}export function pageData(e,t,n){const s={},r=[],o=[];for(const i of e){let c=!1;for(const u of addressParts(i)){const a=n[$(t,u)];a?.value!==void 0&&(s[u]=a.value,a.shown!==void 0&&(s[l(u)]=a.shown),c=!0,o.push(u))}c||r.push(i)}return{rows:s,missing:r,read:[...new Set(o)]}}export const askedKey=e=>`=${e}`;const O=`<script>globalThis.allyhubData??=async(a,o)=>{const e=document.getElementById(${JSON.stringify(PAGE_DATA_ID)}),d=e?JSON.parse(e.textContent):{},k="="+a,s=k+${JSON.stringify(x)};if(o&&o.shown&&s in d)return d[s];if(k in d)return d[k];throw new Error(a+" is not among the data this page was served with: allyhub check says what it cannot read.")}<\/script>`;export function pageWithData(e,t,n={}){if(Object.keys(t).length===0)return e;const s=JSON.stringify(t).replace(/</gu,"\\u003c"),r=`<script type="application/json" id="${PAGE_DATA_ID}">${s}<\/script>${n.reader===!0?O:""}`,o=/<head\b[^>]*>/iu.exec(e);if(o){const c=o.index+o[0].length;return`${e.slice(0,c)}${r}${e.slice(c)}`}const i=/<html\b[^>]*>/iu.exec(e);if(i){const c=i.index+i[0].length;return`${e.slice(0,c)}${r}${e.slice(c)}`}return`${r}${e}`}export function servedPage(e,t,n){if(e.includes(`id="${PAGE_DATA_ID}"`))return{html:e,read:[]};const s=pageAddresses(e);if(s.length===0)return{html:e,read:[]};const r=t.includes("/")?t.slice(0,t.lastIndexOf("/")):"",{rows:o,read:i}=pageData(s,r,n),c=[...new Set(askedAddresses(e))];for(const u of c){const a=readAddress(u,f=>o[f]);a!==void 0&&(o[askedKey(u)]=a);const d=readAddress(u,f=>o[l(f)]??o[f]);d!==void 0&&(o[l(askedKey(u))]=d)}return{html:pageWithData(e,o,{reader:c.length>0}),read:i}}export function readPath(e,t){const n=e.includes("/")?e.slice(0,e.lastIndexOf("/")):"";return $(n,t.split("#")[0]??t)}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
An image is any picture, or a set of pictures that ship together: a photo to change, a poster, a share card, a set of product pictures, a carousel. Each picture is a **board** with its own size and Photoshop's layers. Make an image for anything a person looks at as a still; a video for what moves, a deck for pages to flip through.
|
|
4
4
|
|
|
5
|
-
- `allyhub help images` lists the commands
|
|
5
|
+
- `allyhub help images` lists the commands and prints where the SDK's `image.md` and `pictures.md` are. Read them before writing an image.
|
|
6
6
|
- **A photo stays as it is.** New pixels (made, edited, extended, cut out) come from the cloud's image tools ([ai-media.md](ai-media.md)), each a new file beside the photo that a layer then shows. Words, a logo or a price go in a layer over a picture, where they stay sharp and editable.
|
|
7
7
|
- **The person asks for changes with Mark up**: their viewer shows the boards and their marks; make each change in the image's code, or its script for words.
|
|
8
8
|
- **A Photoshop file** becomes an image with `allyhub image import`, which lists each difference from the file.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ak-li{--ak-li-fg: rgba(0, 0, 0, .9);--ak-li-muted: rgba(0, 0, 0, .6);--ak-li-border: rgba(140, 140, 140, .2);--ak-li-pill: rgba(140, 140, 140, .2);--ak-li-card: #ffffff;--ak-li-page: #f4f2ee;--ak-li-link: #0a66c2;--ak-li-quote: #56687a;--ak-li-made: #eef3f8;--ak-li-code: #f4f2ee;--ak-li-over: #cb112d;--ak-li-avatar: #0a66c2;color:var(--ak-li-fg);font-family:Inter Variable,Inter,-apple-system,system-ui,Segoe UI,Roboto,Helvetica,Arial,Noto Sans SC,"Noto Color Emoji",sans-serif;font-size:14px;line-height:20px;width:552px;box-sizing:border-box}.ak-li[data-theme=dark]{--ak-li-fg: rgba(255, 255, 255, .9);--ak-li-muted: rgba(255, 255, 255, .6);--ak-li-border: rgba(140, 140, 140, .3);--ak-li-pill: rgba(140, 140, 140, .3);--ak-li-card: #1b1f23;--ak-li-page: #000000;--ak-li-link: #71b7fb;--ak-li-quote: #a8b5c2;--ak-li-made: #293138;--ak-li-code: #293138;--ak-li-avatar: #71b7fb}.ak-li *,.ak-li *:before,.ak-li *:after{box-sizing:border-box}.ak-li.ak-li-page{width:632px;background:var(--ak-li-card)}.ak-li-post{overflow:hidden;border:1px solid var(--ak-li-border);border-radius:8px;background:var(--ak-li-card)}.ak-li-author{display:flex;gap:8px;padding:12px 16px 0 12px}.ak-li-avatar{display:grid;flex:none;place-items:center;border-radius:9999px;background:var(--ak-li-avatar);color:var(--ak-li-card);font-size:20px;font-weight:600}.ak-li-who{display:flex;min-width:0;flex-direction:column;padding-top:1px}.ak-li-name{font-size:16px;font-weight:600;line-height:20px}.ak-li-headline,.ak-li-when{overflow:hidden;color:var(--ak-li-muted);font-size:12px;line-height:15px;text-overflow:ellipsis;white-space:nowrap}.ak-li-when{display:flex;align-items:center;gap:4px}.ak-li-when svg{width:14px;height:14px}.ak-li-words{padding:4px 12px 8px;margin-top:4px;overflow-wrap:anywhere;white-space:pre-wrap}.ak-li-link{color:var(--ak-li-link);font-weight:600}.ak-li-more{color:var(--ak-li-muted);white-space:nowrap}.ak-li-content{position:relative}.ak-li-single img,.ak-li-content>img{display:block;width:100%}.ak-li-made{display:grid;min-height:160px;padding:24px;place-items:center;background:var(--ak-li-made);color:var(--ak-li-muted);font-size:14px;text-align:center;overflow-wrap:anywhere}.ak-li-grid{display:grid;gap:3px;aspect-ratio:1}.ak-li-grid[data-count="2"]{grid-template-columns:1fr 1fr;aspect-ratio:2}.ak-li-grid[data-count="3"]{grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr}.ak-li-grid[data-count="4"]{grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr 1fr}.ak-li-grid[data-count="3"]>:first-child{grid-row:1 / 3}.ak-li-grid[data-count="4"]>:first-child{grid-row:1 / 4}.ak-li-grid[data-wide][data-count="3"]{grid-template-columns:1fr 1fr;grid-template-rows:2fr 1fr}.ak-li-grid[data-wide][data-count="4"]{grid-template-columns:1fr 1fr 1fr;grid-template-rows:2fr 1fr}.ak-li-grid[data-wide][data-count="3"]>:first-child{grid-row:auto;grid-column:1 / 3}.ak-li-grid[data-wide][data-count="4"]>:first-child{grid-row:auto;grid-column:1 / 4}.ak-li-cell{position:relative;min-width:0;min-height:0;overflow:hidden}.ak-li-cell>img,.ak-li-cell>.ak-li-made{display:block;width:100%;height:100%;min-height:0;object-fit:cover}.ak-li-hidden{position:absolute;inset:0;display:grid;place-items:center;background:#0000008c;color:#fff;font-size:32px;font-weight:600}.ak-li-video{position:relative;aspect-ratio:16 / 9;overflow:hidden;background:#000}.ak-li-video video{display:block;width:100%;height:100%;object-fit:contain}.ak-li-play{position:absolute;top:50%;left:50%;width:64px;height:64px;border-radius:9999px;background:#0009;transform:translate(-50%,-50%)}.ak-li-play:after{position:absolute;top:50%;left:54%;border-width:12px 0 12px 20px;border-style:solid;border-color:transparent transparent transparent #ffffff;content:"";transform:translate(-50%,-50%)}.ak-li-clock{position:absolute;bottom:8px;left:8px;padding:0 6px;border-radius:4px;background:#0009;color:#fff;font-size:12px;line-height:20px}.ak-li-document{background:var(--ak-li-made)}.ak-li-doc-bar{display:flex;align-items:center;height:40px;padding:0 12px;background:#000000bf;color:#fff;font-size:14px;font-weight:600}.ak-li-doc-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ak-li-document img{display:block;width:100%}.ak-li-doc-page{display:flex;min-height:420px;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px;color:var(--ak-li-muted);overflow-wrap:anywhere}.ak-li-doc-page svg{width:40px;height:40px}.ak-li-card{margin:0 12px 8px;overflow:hidden;border:1px solid var(--ak-li-border);border-radius:8px}.ak-li-card-picture img,.ak-li-card-picture .ak-li-made{display:block;width:100%;aspect-ratio:1.91;object-fit:cover}.ak-li-card-text{display:flex;flex-direction:column;gap:2px;padding:8px 12px;background:var(--ak-li-page)}.ak-li-card-title{font-weight:600}.ak-li-card-site{display:flex;align-items:center;gap:4px;color:var(--ak-li-muted);font-size:12px;line-height:16px}.ak-li-card-site svg{width:12px;height:12px}.ak-li-poll{margin:0 12px 8px;padding:12px 16px;border:1px solid var(--ak-li-border);border-radius:8px}.ak-li-poll-question{font-size:16px;font-weight:600;line-height:20px}.ak-li-poll-hint{margin:2px 0 8px;color:var(--ak-li-muted);font-size:12px;line-height:15px}.ak-li-option{margin-top:8px;padding:6px 16px;border:1px solid var(--ak-li-link);border-radius:9999px;color:var(--ak-li-link);font-size:16px;font-weight:600;line-height:20px;text-align:center}.ak-li-poll-foot{margin-top:12px;color:var(--ak-li-muted);font-size:12px;line-height:15px}.ak-li-actions{display:flex;align-items:center;gap:28px;height:44px;padding:0 24px;color:var(--ak-li-muted)}.ak-li-actions svg{width:20px;height:20px}.ak-li-article{padding-bottom:32px}.ak-li-a-cover img,.ak-li-a-cover .ak-li-video{display:block;width:100%}.ak-li-a-title{margin:16px 24px;font-size:32px;font-weight:600;line-height:38.4px;overflow-wrap:anywhere}.ak-li-a-by{display:flex;align-items:center;gap:8px;margin:0 24px 32px}.ak-li-a-tools{display:flex;gap:12px;margin-left:auto;color:var(--ak-li-muted)}.ak-li-a-tools svg{width:20px;height:20px}.ak-li-a-body{font-size:16px;line-height:24px}.ak-li-a-body>p{margin:0 0 32px;overflow-wrap:anywhere}.ak-li-a-body>h2{margin:0 0 16px;font-size:24px;font-weight:600;line-height:30px}.ak-li-a-body>h3{margin:0 0 16px;font-size:20px;font-weight:600;line-height:25px}.ak-li-a-body strong{font-weight:600}.ak-li-a-link{color:var(--ak-li-link);font-weight:600}.ak-li-a-body>ul,.ak-li-a-body>ol{margin:0 0 32px;padding-left:32px}.ak-li-a-body>ul{list-style:disc}.ak-li-a-body>ol{list-style:decimal}.ak-li-a-body li{margin-bottom:8px}.ak-li-a-body>blockquote{margin:0 0 32px;padding-left:16px;border-left:4px solid var(--ak-li-quote);color:var(--ak-li-quote);font-size:20px;line-height:25px}.ak-li-a-body>pre{margin:0 0 32px;padding:16px;overflow-x:auto;border-radius:8px;background:var(--ak-li-code);font-family:SF Mono,Menlo,Consolas,monospace;font-size:14px;line-height:20px;white-space:pre}.ak-li-a-body>hr{margin:0 0 32px;border:none;border-top:1px solid var(--ak-li-border)}.ak-li-a-body>figure{margin:0 0 32px}.ak-li-a-body>figure img{display:block;width:100%}.ak-li-a-body figcaption{margin-top:8px;color:var(--ak-li-muted);font-size:14px;line-height:20px;text-align:center}.ak-li-embed{display:flex;align-items:center;gap:12px;margin:0 0 32px;padding:16px;border:1px solid var(--ak-li-border);border-radius:8px}.ak-li-embed svg{flex:none;width:32px;height:32px;color:var(--ak-li-muted)}.ak-li-embed-text{display:flex;min-width:0;flex-direction:column}.ak-li-embed-site{font-weight:600}.ak-li-embed-url{overflow:hidden;color:var(--ak-li-muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}
|
|
1
|
+
.ak-li{--ak-li-fg: rgba(0, 0, 0, .9);--ak-li-muted: rgba(0, 0, 0, .6);--ak-li-border: rgba(140, 140, 140, .2);--ak-li-pill: rgba(140, 140, 140, .2);--ak-li-card: #ffffff;--ak-li-page: #f4f2ee;--ak-li-link: #0a66c2;--ak-li-quote: #56687a;--ak-li-made: #eef3f8;--ak-li-code: #f4f2ee;--ak-li-over: #cb112d;--ak-li-avatar: #0a66c2;color:var(--ak-li-fg);font-family:Inter Variable,Inter,-apple-system,system-ui,Segoe UI,Roboto,Helvetica,Arial,Noto Sans SC,"Noto Color Emoji",sans-serif;font-size:14px;line-height:20px;width:552px;box-sizing:border-box}.ak-li[data-theme=dark]{--ak-li-fg: rgba(255, 255, 255, .9);--ak-li-muted: rgba(255, 255, 255, .6);--ak-li-border: rgba(140, 140, 140, .3);--ak-li-pill: rgba(140, 140, 140, .3);--ak-li-card: #1b1f23;--ak-li-page: #000000;--ak-li-link: #71b7fb;--ak-li-quote: #a8b5c2;--ak-li-made: #293138;--ak-li-code: #293138;--ak-li-avatar: #71b7fb}.ak-li *,.ak-li *:before,.ak-li *:after{box-sizing:border-box}.ak-li.ak-li-page{width:632px;background:var(--ak-li-card)}.ak-li-post{overflow:hidden;border:1px solid var(--ak-li-border);border-radius:8px;background:var(--ak-li-card)}.ak-li-author{display:flex;gap:8px;padding:12px 16px 0 12px}.ak-li-avatar{display:grid;flex:none;place-items:center;border-radius:9999px;background:var(--ak-li-avatar);color:var(--ak-li-card);font-size:20px;font-weight:600}.ak-li-who{display:flex;min-width:0;flex-direction:column;padding-top:1px}.ak-li-name{font-size:16px;font-weight:600;line-height:20px}.ak-li-headline,.ak-li-when{overflow:hidden;color:var(--ak-li-muted);font-size:12px;line-height:15px;text-overflow:ellipsis;white-space:nowrap}.ak-li-when{display:flex;align-items:center;gap:4px}.ak-li-when svg{width:14px;height:14px}.ak-li-words{padding:4px 12px 8px;margin-top:4px;overflow-wrap:anywhere;white-space:pre-wrap}.ak-li-link{color:var(--ak-li-link);font-weight:600}.ak-li-more{color:var(--ak-li-muted);white-space:nowrap}.ak-li-content{position:relative}.ak-li-single img,.ak-li-content>img{display:block;width:100%}.ak-li-made{display:grid;min-height:160px;padding:24px;place-items:center;background:var(--ak-li-made);color:var(--ak-li-muted);font-size:14px;text-align:center;overflow-wrap:anywhere}.ak-li-grid{display:grid;gap:3px;aspect-ratio:1}.ak-li-grid[data-count="2"]{grid-template-columns:1fr 1fr;aspect-ratio:2}.ak-li-grid[data-count="3"]{grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr}.ak-li-grid[data-count="4"]{grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr 1fr}.ak-li-grid[data-count="3"]>:first-child{grid-row:1 / 3}.ak-li-grid[data-count="4"]>:first-child{grid-row:1 / 4}.ak-li-grid[data-wide][data-count="3"]{grid-template-columns:1fr 1fr;grid-template-rows:2fr 1fr}.ak-li-grid[data-wide][data-count="4"]{grid-template-columns:1fr 1fr 1fr;grid-template-rows:2fr 1fr}.ak-li-grid[data-wide][data-count="3"]>:first-child{grid-row:auto;grid-column:1 / 3}.ak-li-grid[data-wide][data-count="4"]>:first-child{grid-row:auto;grid-column:1 / 4}.ak-li-cell{position:relative;min-width:0;min-height:0;overflow:hidden}.ak-li-cell>img,.ak-li-cell>.ak-li-made{display:block;width:100%;height:100%;min-height:0;object-fit:cover}.ak-li-hidden{position:absolute;inset:0;display:grid;place-items:center;background:#0000008c;color:#fff;font-size:32px;font-weight:600}.ak-li-video{position:relative;aspect-ratio:16 / 9;overflow:hidden;background:#000}.ak-li-video video{display:block;width:100%;height:100%;object-fit:contain}.ak-li-play{position:absolute;top:50%;left:50%;width:64px;height:64px;border-radius:9999px;background:#0009;transform:translate(-50%,-50%)}.ak-li-play:after{position:absolute;top:50%;left:54%;border-width:12px 0 12px 20px;border-style:solid;border-color:transparent transparent transparent #ffffff;content:"";transform:translate(-50%,-50%)}.ak-li-clock{position:absolute;bottom:8px;left:8px;padding:0 6px;border-radius:4px;background:#0009;color:#fff;font-size:12px;line-height:20px}.ak-li-document{background:var(--ak-li-made)}.ak-li-doc-bar{display:flex;align-items:center;height:40px;padding:0 12px;background:#000000bf;color:#fff;font-size:14px;font-weight:600}.ak-li-doc-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ak-li-document img{display:block;width:100%}.ak-li-doc-page{display:flex;min-height:420px;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px;color:var(--ak-li-muted);overflow-wrap:anywhere}.ak-li-doc-page svg{width:40px;height:40px}.ak-li-card{margin:0 12px 8px;overflow:hidden;border:1px solid var(--ak-li-border);border-radius:8px}.ak-li-card-picture img,.ak-li-card-picture .ak-li-made{display:block;width:100%;aspect-ratio:1.91;object-fit:cover}.ak-li-card-text{display:flex;flex-direction:column;gap:2px;padding:8px 12px;background:var(--ak-li-page)}.ak-li-card-title{font-weight:600}.ak-li-card-site{display:flex;align-items:center;gap:4px;color:var(--ak-li-muted);font-size:12px;line-height:16px}.ak-li-card-site svg{width:12px;height:12px}.ak-li-poll{margin:0 12px 8px;padding:12px 16px;border:1px solid var(--ak-li-border);border-radius:8px}.ak-li-poll-question{font-size:16px;font-weight:600;line-height:20px}.ak-li-poll-hint{margin:2px 0 8px;color:var(--ak-li-muted);font-size:12px;line-height:15px}.ak-li-option{margin-top:8px;padding:6px 16px;border:1px solid var(--ak-li-link);border-radius:9999px;color:var(--ak-li-link);font-size:16px;font-weight:600;line-height:20px;text-align:center}.ak-li-poll-foot{margin-top:12px;color:var(--ak-li-muted);font-size:12px;line-height:15px}.ak-li-actions{display:flex;align-items:center;gap:28px;height:44px;padding:0 24px;color:var(--ak-li-muted)}.ak-li-actions svg{width:20px;height:20px}.ak-li-article{padding-bottom:32px}.ak-li-a-cover img,.ak-li-a-cover .ak-li-video{display:block;width:100%}.ak-li-a-title{margin:16px 24px;font-size:32px;font-weight:600;line-height:38.4px;overflow-wrap:anywhere}.ak-li-a-by{display:flex;align-items:center;gap:8px;margin:0 24px 32px}.ak-li-a-tools{display:flex;gap:12px;margin-left:auto;color:var(--ak-li-muted)}.ak-li-a-tools svg{width:20px;height:20px}.ak-li-a-body{font-size:16px;line-height:24px}.ak-li-article>.ak-li-a-body{padding:0 24px}.ak-li-a-body>p{margin:0 0 32px;overflow-wrap:anywhere}.ak-li-a-body>h2{margin:0 0 16px;font-size:24px;font-weight:600;line-height:30px}.ak-li-a-body>h3{margin:0 0 16px;font-size:20px;font-weight:600;line-height:25px}.ak-li-a-body strong{font-weight:600}.ak-li-a-link{color:var(--ak-li-link);font-weight:600}.ak-li-a-body>ul,.ak-li-a-body>ol{margin:0 0 32px;padding-left:32px}.ak-li-a-body>ul{list-style:disc}.ak-li-a-body>ol{list-style:decimal}.ak-li-a-body li{margin-bottom:8px}.ak-li-a-body>blockquote{margin:0 0 32px;padding-left:16px;border-left:4px solid var(--ak-li-quote);color:var(--ak-li-quote);font-size:20px;line-height:25px}.ak-li-a-body>pre{margin:0 0 32px;padding:16px;overflow-x:auto;border-radius:8px;background:var(--ak-li-code);font-family:SF Mono,Menlo,Consolas,monospace;font-size:14px;line-height:20px;white-space:pre}.ak-li-a-body>hr{margin:0 0 32px;border:none;border-top:1px solid var(--ak-li-border)}.ak-li-a-body>figure{margin:0 0 32px}.ak-li-a-body>figure img{display:block;width:100%}.ak-li-a-body figcaption{margin-top:8px;color:var(--ak-li-muted);font-size:14px;line-height:20px;text-align:center}.ak-li-embed{display:flex;align-items:center;gap:12px;margin:0 0 32px;padding:16px;border:1px solid var(--ak-li-border);border-radius:8px}.ak-li-embed svg{flex:none;width:32px;height:32px;color:var(--ak-li-muted)}.ak-li-embed-text{display:flex;min-width:0;flex-direction:column}.ak-li-embed-site{font-weight:600}.ak-li-embed-url{overflow:hidden;color:var(--ak-li-muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{z as e}from"zod";import{openEnum as r}from"./open.js";export const API_KEY_ENV="ALLYHUB_API_KEY",BILLING_SUMMARY_PATH="/api/billing/summary",AUTO_TOP_UP_STOPS=["no_card","saving_card","not_a_card","declined","needs_authentication","not_charged","under_line","refunded","disputed","monthly_limit"],BILLING_INTERVALS=["month","year"],BillingSummarySchema=e.object({credits:e.number(),held:e.number(),owed:e.number(),frozen:e.string().nullable().default(null),plan:e.object({id:e.string(),name:e.string(),interval:r(BILLING_INTERVALS),status:e.string(),renewsAt:e.iso.datetime().nullable(),endsAt:e.iso.datetime().nullable(),monthlyCredits:e.number().default(0),price:e.object({amountCents:e.number(),currency:e.string()}).nullable().default(null)}).nullable(),allowance:e.object({total:e.number(),used:e.number(),renewsAt:e.iso.datetime()}).nullable().default(null),bought:e.number().default(0),expiring:e.array(e.object({credits:e.number(),expiresAt:e.iso.datetime()})).default([]),customer:e.boolean().default(!1),autoTopUp:e.object({below:e.number(),amountCents:e.number(),monthlyLimitCents:e.number().nullable().default(null),chargedThisMonthCents:e.number().default(0),stopped:r(AUTO_TOP_UP_STOPS).nullable()}).nullable()}),IDEMPOTENCY_KEY_HEADER="idempotency-key",BILLING_PAGE_PATH="/settings/plan",TEAM_PARAM="team",PLAN_VIEW_PARAM="view",PAID_PARAM="paid",UNPAID_PARAM="unpaid",PLAN_PAGE_OPENS=["plans","credits","paid"];export function planPageAddress(t,n={}){const o=new URLSearchParams;typeof n.open=="object"?o.set(UNPAID_PARAM,n.open.unpaid):n.open==="paid"?o.set(PAID_PARAM,"1"):n.open!==void 0&&o.set(PLAN_VIEW_PARAM,n.open),n.organization!==void 0&&o.set(TEAM_PARAM,n.organization);const i=o.toString();return`${t}${BILLING_PAGE_PATH}${i===""?"":`?${i}`}`}export const JsonSchemaSchema=e.record(e.string(),e.unknown()),CATALOG_PATH="/api/catalog",PRICE_UNITS=["call","result","page","second","minute","thousand_characters","image","frame","megapixel","question","phrase"],TOOL_SECTIONS=["video","image","voice","music"],WORK_KINDS=["data","ai"],CatalogWorkSchema=e.object({id:e.string().min(1),title:e.string().min(1),description:e.string().min(1),kind:r(WORK_KINDS).default("data"),line:e.string().optional()}),CatalogToolSchema=e.object({name:e.string().min(1),work:e.string().min(1),title:e.string().min(1),description:e.string().min(1),input:JsonSchemaSchema,output:JsonSchemaSchema,long:e.boolean(),example:e.record(e.string(),e.unknown()).optional(),price:e.object({credits:e.number().nonnegative(),per:r(PRICE_UNITS),varies:e.boolean()}).optional(),shown:e.object({name:e.string(),line:e.string(),section:r(TOOL_SECTIONS)}).optional()}),CatalogSchema=e.object({version:e.string().min(1),works:e.array(CatalogWorkSchema),tools:e.array(CatalogToolSchema)}),toolCallsPath=t=>`/api/tools/${encodeURIComponent(t)}/calls`,callPath=t=>`/api/calls/${encodeURIComponent(t)}`,CALL_STATUS=["working","completed","failed"],ToolCallSchema=e.object({id:e.string().min(1),tool:e.string().min(1),status:r(CALL_STATUS),output:e.unknown().optional(),error:e.object({kind:e.string().min(1),message:e.string().min(1)}).optional(),credits:e.number().nonnegative().optional(),pollAfterMs:e.number().int().nonnegative().optional(),createdAt:e.string(),endedAt:e.string().optional()}),ALLY_FILE="ally://data-tool-results/";export function parseAllyFilePath(t){if(!t.startsWith(ALLY_FILE))return;const[n,o,...i]=t.slice(ALLY_FILE.length).split("/");if(!(!n||!o||i.length>0))try{return{id:decodeURIComponent(n),name:decodeURIComponent(o)}}catch(a){if(a instanceof URIError)return;throw a}}export const FILE_MAX_BYTES=1024*1024*1024,FILES_PATH="/api/files",FileCreateRequestSchema=e.strictObject({name:e.string().min(1).max(255),size:e.int().positive().max(FILE_MAX_BYTES),sha256:e.string().regex(/^[0-9a-f]{64}$/u),contentType:e.string().min(1).max(255)}),FileCreatedSchema=e.object({id:e.string().min(1),upload:e.object({url:e.url(),headers:e.record(e.string(),e.string())}).nullable()}),fileDonePath=t=>`${FILES_PATH}/${encodeURIComponent(t)}/done`,UploadedFileSchema=e.object({id:e.string().min(1),name:e.string()}),FileContentResponseSchema=e.object({url:e.url()});export function signedUntil(t){if(!URL.canParse(t))return;const n=new URL(t).searchParams,o=/^(\d{4})(\d{2})(\d{2})T(\d{2})(\d{2})(\d{2})Z$/u.exec(n.get("X-Amz-Date")??""),i=Number(n.get("X-Amz-Expires"));if(o===null||!Number.isFinite(i)||i<=0)return;const[a,s,l,c,d,p]=o.slice(1).map(Number);return new Date(Date.UTC(a,s-1,l,c,d,p)+i*1e3)}export const fileContentPath=(t,n)=>`${FILES_PATH}/${encodeURIComponent(t)}/content?disposition=${n}`;
|
|
2
|
+
import{z as e}from"zod";import{openEnum as r}from"./open.js";export const API_KEY_ENV="ALLYHUB_API_KEY",BILLING_SUMMARY_PATH="/api/billing/summary",AUTO_TOP_UP_STOPS=["no_card","saving_card","not_a_card","declined","needs_authentication","not_charged","under_line","refunded","disputed","monthly_limit"],BILLING_INTERVALS=["month","year"],BillingSummarySchema=e.object({credits:e.number(),held:e.number(),owed:e.number(),frozen:e.string().nullable().default(null),plan:e.object({id:e.string(),name:e.string(),interval:r(BILLING_INTERVALS),status:e.string(),renewsAt:e.iso.datetime().nullable(),endsAt:e.iso.datetime().nullable(),monthlyCredits:e.number().default(0),price:e.object({amountCents:e.number(),currency:e.string()}).nullable().default(null)}).nullable(),allowance:e.object({total:e.number(),used:e.number(),renewsAt:e.iso.datetime()}).nullable().default(null),bought:e.number().default(0),expiring:e.array(e.object({credits:e.number(),expiresAt:e.iso.datetime()})).default([]),customer:e.boolean().default(!1),autoTopUp:e.object({below:e.number(),amountCents:e.number(),monthlyLimitCents:e.number().nullable().default(null),chargedThisMonthCents:e.number().default(0),stopped:r(AUTO_TOP_UP_STOPS).nullable()}).nullable()}),IDEMPOTENCY_KEY_HEADER="idempotency-key",BILLING_PAGE_PATH="/settings/plan",TEAM_PARAM="team",PLAN_VIEW_PARAM="view",PAID_PARAM="paid",UNPAID_PARAM="unpaid",PLAN_PAGE_OPENS=["plans","credits","paid"];export function planPageAddress(t,n={}){const o=new URLSearchParams;typeof n.open=="object"?o.set(UNPAID_PARAM,n.open.unpaid):n.open==="paid"?o.set(PAID_PARAM,"1"):n.open!==void 0&&o.set(PLAN_VIEW_PARAM,n.open),n.organization!==void 0&&o.set(TEAM_PARAM,n.organization);const i=o.toString();return`${t}${BILLING_PAGE_PATH}${i===""?"":`?${i}`}`}export const JsonSchemaSchema=e.record(e.string(),e.unknown()),CATALOG_PATH="/api/catalog",PRICE_UNITS=["call","result","page","second","minute","thousand_characters","image","frame","megapixel","question","phrase"],TOOL_SECTIONS=["video","image","voice","music"],TOOL_PACES=["data","measure","generate","video"],WORK_KINDS=["data","ai"],CatalogWorkSchema=e.object({id:e.string().min(1),title:e.string().min(1),description:e.string().min(1),kind:r(WORK_KINDS).default("data"),line:e.string().optional()}),CatalogToolSchema=e.object({name:e.string().min(1),work:e.string().min(1),title:e.string().min(1),description:e.string().min(1),input:JsonSchemaSchema,output:JsonSchemaSchema,long:e.boolean(),example:e.record(e.string(),e.unknown()).optional(),price:e.object({credits:e.number().nonnegative(),per:r(PRICE_UNITS),varies:e.boolean()}).optional(),pace:r(TOOL_PACES).optional(),shown:e.object({name:e.string(),line:e.string(),section:r(TOOL_SECTIONS)}).optional()}),CatalogSchema=e.object({version:e.string().min(1),works:e.array(CatalogWorkSchema),tools:e.array(CatalogToolSchema)}),toolCallsPath=t=>`/api/tools/${encodeURIComponent(t)}/calls`,callPath=t=>`/api/calls/${encodeURIComponent(t)}`,CALL_STATUS=["working","completed","failed"],ToolCallSchema=e.object({id:e.string().min(1),tool:e.string().min(1),status:r(CALL_STATUS),output:e.unknown().optional(),error:e.object({kind:e.string().min(1),message:e.string().min(1)}).optional(),credits:e.number().nonnegative().optional(),creditsLeft:e.number().optional(),pollAfterMs:e.number().int().nonnegative().optional(),createdAt:e.string(),endedAt:e.string().optional()}),ALLY_FILE="ally://data-tool-results/";export function parseAllyFilePath(t){if(!t.startsWith(ALLY_FILE))return;const[n,o,...i]=t.slice(ALLY_FILE.length).split("/");if(!(!n||!o||i.length>0))try{return{id:decodeURIComponent(n),name:decodeURIComponent(o)}}catch(a){if(a instanceof URIError)return;throw a}}export const FILE_MAX_BYTES=1024*1024*1024,FILES_PATH="/api/files",FileCreateRequestSchema=e.strictObject({name:e.string().min(1).max(255),size:e.int().positive().max(FILE_MAX_BYTES),sha256:e.string().regex(/^[0-9a-f]{64}$/u),contentType:e.string().min(1).max(255)}),FileCreatedSchema=e.object({id:e.string().min(1),upload:e.object({url:e.url(),headers:e.record(e.string(),e.string())}).nullable()}),fileDonePath=t=>`${FILES_PATH}/${encodeURIComponent(t)}/done`,UploadedFileSchema=e.object({id:e.string().min(1),name:e.string()}),FileContentResponseSchema=e.object({url:e.url()});export function signedUntil(t){if(!URL.canParse(t))return;const n=new URL(t).searchParams,o=/^(\d{4})(\d{2})(\d{2})T(\d{2})(\d{2})(\d{2})Z$/u.exec(n.get("X-Amz-Date")??""),i=Number(n.get("X-Amz-Expires"));if(o===null||!Number.isFinite(i)||i<=0)return;const[a,s,l,c,d,p]=o.slice(1).map(Number);return new Date(Date.UTC(a,s-1,l,c,d,p)+i*1e3)}export const fileContentPath=(t,n)=>`${FILES_PATH}/${encodeURIComponent(t)}/content?disposition=${n}`;
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
AllyHub Software License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 AllyHub, Inc. ("AllyHub"). All rights reserved.
|
|
4
|
+
|
|
5
|
+
This software (the AllyHub command-line tool, its SDK, runtime and the
|
|
6
|
+
packages they depend on) is proprietary. It is not open source.
|
|
7
|
+
|
|
8
|
+
1. Permitted use. You may install and run the software, unmodified, to make,
|
|
9
|
+
check, preview and render videos and decks, including for commercial
|
|
10
|
+
purposes. What you make with it is yours.
|
|
11
|
+
|
|
12
|
+
2. Restrictions. Except as this license permits or applicable law requires,
|
|
13
|
+
you may not copy, modify, adapt, translate, sublicense, sell, rent, lease,
|
|
14
|
+
publish or otherwise distribute the software, create derivative works of
|
|
15
|
+
it, or reverse engineer, decompile or disassemble it.
|
|
16
|
+
|
|
17
|
+
3. Cloud services. AllyHub's cloud tools (sign-in, research, images, voice,
|
|
18
|
+
video) are separate services governed by AllyHub's terms of service.
|
|
19
|
+
|
|
20
|
+
4. Trademarks. This license grants no right to use the name "AllyHub" or its
|
|
21
|
+
logos.
|
|
22
|
+
|
|
23
|
+
5. No warranty. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
24
|
+
KIND, EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY,
|
|
25
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
|
26
|
+
ALLYHUB BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY ARISING FROM,
|
|
27
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR ITS USE.
|
|
28
|
+
|
|
29
|
+
6. Third-party code. Parts of the software are adapted from HyperFrames,
|
|
30
|
+
licensed under the Apache License, Version 2.0 (see NOTICE). Those parts
|
|
31
|
+
remain under that license, reproduced below, and nothing in this license
|
|
32
|
+
limits your rights under it.
|
|
33
|
+
|
|
34
|
+
7. Starter components. The starter components in the "components" folder,
|
|
35
|
+
which "allyhub add" copies into your workspace, are licensed under the MIT
|
|
36
|
+
License (see components/LICENSE): once copied, you may change, use and
|
|
37
|
+
share them freely.
|
|
38
|
+
|
|
39
|
+
--------------------------------------------------------------------------------
|
|
40
|
+
|
|
41
|
+
Apache License
|
|
42
|
+
Version 2.0, January 2004
|
|
43
|
+
http://www.apache.org/licenses/
|
|
44
|
+
|
|
45
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
46
|
+
|
|
47
|
+
1. Definitions.
|
|
48
|
+
|
|
49
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
50
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
51
|
+
|
|
52
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
53
|
+
the copyright owner that is granting the License.
|
|
54
|
+
|
|
55
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
56
|
+
other entities that control, are controlled by, or are under common
|
|
57
|
+
control with that entity. For the purposes of this definition,
|
|
58
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
59
|
+
direction or management of such entity, whether by contract or
|
|
60
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
61
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
62
|
+
|
|
63
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
64
|
+
exercising permissions granted by this License.
|
|
65
|
+
|
|
66
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
67
|
+
including but not limited to software source code, documentation
|
|
68
|
+
source, and configuration files.
|
|
69
|
+
|
|
70
|
+
"Object" form shall mean any form resulting from mechanical
|
|
71
|
+
transformation or translation of a Source form, including but
|
|
72
|
+
not limited to compiled object code, generated documentation,
|
|
73
|
+
and conversions to other media types.
|
|
74
|
+
|
|
75
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
76
|
+
Object form, made available under the License, as indicated by a
|
|
77
|
+
copyright notice that is included in or attached to the work
|
|
78
|
+
(an example is provided in the Appendix below).
|
|
79
|
+
|
|
80
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
81
|
+
form, that is based on (or derived from) the Work and for which the
|
|
82
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
83
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
84
|
+
of this License, Derivative Works shall not include works that remain
|
|
85
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
86
|
+
the Work and Derivative Works thereof.
|
|
87
|
+
|
|
88
|
+
"Contribution" shall mean any work of authorship, including
|
|
89
|
+
the original version of the Work and any modifications or additions
|
|
90
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
91
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
92
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
93
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
94
|
+
means any form of electronic, verbal, or written communication sent
|
|
95
|
+
to the Licensor or its representatives, including but not limited to
|
|
96
|
+
communication on electronic mailing lists, source code control systems,
|
|
97
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
98
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
99
|
+
excluding communication that is conspicuously marked or otherwise
|
|
100
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
101
|
+
|
|
102
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
103
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
104
|
+
subsequently incorporated within the Work.
|
|
105
|
+
|
|
106
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
107
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
108
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
109
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
110
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
111
|
+
Work and such Derivative Works in Source or Object form.
|
|
112
|
+
|
|
113
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
114
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
115
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
116
|
+
(except as stated in this section) patent license to make, have made,
|
|
117
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
118
|
+
where such license applies only to those patent claims licensable
|
|
119
|
+
by such Contributor that are necessarily infringed by their
|
|
120
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
121
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
122
|
+
institute patent litigation against any entity (including a
|
|
123
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
124
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
125
|
+
or contributory patent infringement, then any patent licenses
|
|
126
|
+
granted to You under this License for that Work shall terminate
|
|
127
|
+
as of the date such litigation is filed.
|
|
128
|
+
|
|
129
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
130
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
131
|
+
modifications, and in Source or Object form, provided that You
|
|
132
|
+
meet the following conditions:
|
|
133
|
+
|
|
134
|
+
(a) You must give any other recipients of the Work or
|
|
135
|
+
Derivative Works a copy of this License; and
|
|
136
|
+
|
|
137
|
+
(b) You must cause any modified files to carry prominent notices
|
|
138
|
+
stating that You changed the files; and
|
|
139
|
+
|
|
140
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
141
|
+
that You distribute, all copyright, patent, trademark, and
|
|
142
|
+
attribution notices from the Source form of the Work,
|
|
143
|
+
excluding those notices that do not pertain to any part of
|
|
144
|
+
the Derivative Works; and
|
|
145
|
+
|
|
146
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
147
|
+
distribution, then any Derivative Works that You distribute must
|
|
148
|
+
include a readable copy of the attribution notices contained
|
|
149
|
+
within such NOTICE file, excluding those notices that do not
|
|
150
|
+
pertain to any part of the Derivative Works, in at least one
|
|
151
|
+
of the following places: within a NOTICE text file distributed
|
|
152
|
+
as part of the Derivative Works; within the Source form or
|
|
153
|
+
documentation, if provided along with the Derivative Works; or,
|
|
154
|
+
within a display generated by the Derivative Works, if and
|
|
155
|
+
wherever such third-party notices normally appear. The contents
|
|
156
|
+
of the NOTICE file are for informational purposes only and
|
|
157
|
+
do not modify the License. You may add Your own attribution
|
|
158
|
+
notices within Derivative Works that You distribute, alongside
|
|
159
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
160
|
+
that such additional attribution notices cannot be construed
|
|
161
|
+
as modifying the License.
|
|
162
|
+
|
|
163
|
+
You may add Your own copyright statement to Your modifications and
|
|
164
|
+
may provide additional or different license terms and conditions
|
|
165
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
166
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
167
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
168
|
+
the conditions stated in this License.
|
|
169
|
+
|
|
170
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
171
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
172
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
173
|
+
this License, without any additional terms or conditions.
|
|
174
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
175
|
+
the terms of any separate license agreement you may have executed
|
|
176
|
+
with Licensor regarding such Contributions.
|
|
177
|
+
|
|
178
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
179
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
180
|
+
except as required for reasonable and customary use in describing the
|
|
181
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
182
|
+
|
|
183
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
184
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
185
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
186
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
187
|
+
implied, including, without limitation, any warranties or conditions
|
|
188
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
189
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
190
|
+
appropriateness of using or redistributing the Work and assume any
|
|
191
|
+
risks associated with Your exercise of permissions under this License.
|
|
192
|
+
|
|
193
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
194
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
195
|
+
unless required by applicable law (such as deliberate and grossly
|
|
196
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
197
|
+
liable to You for damages, including any direct, indirect, special,
|
|
198
|
+
incidental, or consequential damages of any character arising as a
|
|
199
|
+
result of this License or out of the use or inability to use the
|
|
200
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
201
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
202
|
+
other commercial damages or losses), even if such Contributor
|
|
203
|
+
has been advised of the possibility of such damages.
|
|
204
|
+
|
|
205
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
206
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
207
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
208
|
+
or other liability obligations and/or rights consistent with this
|
|
209
|
+
License. However, in accepting such obligations, You may act only
|
|
210
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
211
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
212
|
+
defend, and hold each Contributor harmless for any liability
|
|
213
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
214
|
+
of your accepting any such warranty or additional liability.
|
|
215
|
+
|
|
216
|
+
END OF TERMS AND CONDITIONS
|
|
217
|
+
|
|
218
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
219
|
+
|
|
220
|
+
To apply the Apache License to your work, attach the following
|
|
221
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
222
|
+
replaced with your own identifying information. (Don't include
|
|
223
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
224
|
+
comment syntax for the file format. We also recommend that a
|
|
225
|
+
file or class name and description of purpose be included on the
|
|
226
|
+
same "printed page" as the copyright notice for easier
|
|
227
|
+
identification within third-party archives.
|
|
228
|
+
|
|
229
|
+
Copyright [yyyy] [name of copyright owner]
|
|
230
|
+
|
|
231
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
232
|
+
you may not use this file except in compliance with the License.
|
|
233
|
+
You may obtain a copy of the License at
|
|
234
|
+
|
|
235
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
236
|
+
|
|
237
|
+
Unless required by applicable law or agreed to in writing, software
|
|
238
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
239
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
240
|
+
See the License for the specific language governing permissions and
|
|
241
|
+
limitations under the License.
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{readFile as w,stat as y}from"node:fs/promises";import{join as h}from"node:path";import{startBrowser as b}from"@allyhub/browser";import{problem as c}from"@allyhub/diagnostics";import{USE_FORMS as g,askedAddresses as M,pageData as k}from"@allyhub/formats";import{blankCanvases as x,reportProblems as R}from"./check.js";import{openReport as $}from"./page.js";export const HTML=/\.html?$/iu;export async function readReport(n,e,s){const t=e.entry,a={where:{file:t}},r=[];if(!HTML.test(t))return r.push(c("AK-M017",`${t} is not an HTML file: a report is one page, its file ending in .html.`,a)),{problems:r};const o=(await y(h(n,t)).catch(()=>{}))?.isFile()?await w(h(n,t),"utf8"):void 0;if(o===void 0)return r.push(c("AK-M017",`${t} is not there.`,a)),{problems:r};if(s===void 0)return{problems:r};const f=t.includes("/")?t.slice(0,t.lastIndexOf("/")):"",d=o.split(`
|
|
3
|
+
`),p=[];for(const l of new Set(M(o))){const u=d.findIndex(i=>i.includes(l))+1,m=k([l],f,s);for(const i of m.read)/\.(?:csv|json|ya?ml)#?/iu.test(i)||p.push({of:i,from:t,line:u,types:[g.data],role:"data"});m.missing.length>0&&r.push(c("AK-M017",`${t}: allyhubData("${l}") names what the project does not hold: a sheet's table (#orders), a column (#orders[total]), a defined name (#conversion) or a cell (#Summary!B4).`,{where:{file:t,line:u}}))}return{problems:r,uses:p}}export async function checkReport(n,e,s){if(((await readReport(n,e)).problems??[]).length>0)return[];const a=await b();try{const r=await $(a,n,e.entry,{},s===void 0?{}:{data:s});try{const o=r.findings(),d=o.unsettled===void 0?await x(r.page):[];return R(e.entry,o,d)}finally{await r.close()}}finally{await a.close()}}const A={read:(n,e)=>readReport(e.root,n,e.data),check:(n,e)=>checkReport(e.root,n,e.data),unreadable:()=>[],render:async(n,e)=>(await import("./export.js")).renderReportFiles(n,e)};export default A;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{problem as r}from"@allyhub/diagnostics";const h=`(() => {
|
|
3
|
+
const selector = (el) => {
|
|
4
|
+
const parts = [];
|
|
5
|
+
for (let e = el; e && e !== document.body; e = e.parentElement) {
|
|
6
|
+
if (e.id) { parts.unshift("#" + CSS.escape(e.id)); return parts.join(" > "); }
|
|
7
|
+
const same = Array.from(e.parentElement ? e.parentElement.children : []).filter((s) => s.localName === e.localName);
|
|
8
|
+
parts.unshift(same.length > 1 ? e.localName + ":nth-of-type(" + (same.indexOf(e) + 1) + ")" : e.localName);
|
|
9
|
+
}
|
|
10
|
+
return parts.join(" > ");
|
|
11
|
+
};
|
|
12
|
+
const out = [];
|
|
13
|
+
for (const c of document.querySelectorAll("canvas")) {
|
|
14
|
+
const r = c.getBoundingClientRect();
|
|
15
|
+
const s = getComputedStyle(c);
|
|
16
|
+
if (r.width === 0 || r.height === 0 || s.visibility === "hidden") continue;
|
|
17
|
+
const blank = { canvas: selector(c), width: Math.round(r.width), height: Math.round(r.height) };
|
|
18
|
+
if (c.width === 0 || c.height === 0) { out.push(blank); continue; }
|
|
19
|
+
let pixels;
|
|
20
|
+
try {
|
|
21
|
+
const g = c.getContext("2d");
|
|
22
|
+
if (!g) continue;
|
|
23
|
+
pixels = g.getImageData(0, 0, c.width, c.height).data;
|
|
24
|
+
} catch { continue; }
|
|
25
|
+
let drawn = false;
|
|
26
|
+
for (let i = 3; i < pixels.length; i += 4) if (pixels[i] !== 0) { drawn = true; break; }
|
|
27
|
+
if (!drawn) out.push(blank);
|
|
28
|
+
}
|
|
29
|
+
return out;
|
|
30
|
+
})()`,u=`(async () => {
|
|
31
|
+
const frame = () => new Promise((r) => requestAnimationFrame(() => requestAnimationFrame(r)));
|
|
32
|
+
const step = Math.max(200, window.innerHeight);
|
|
33
|
+
for (let y = 0; y < document.documentElement.scrollHeight; y += step) { window.scrollTo(0, y); await frame(); }
|
|
34
|
+
window.scrollTo(0, 0);
|
|
35
|
+
await new Promise((r) => setTimeout(r, 300));
|
|
36
|
+
})()`;export async function blankCanvases(e){return await e.evaluate(u),e.evaluate(h)}const c=e=>`${e.text.split(`
|
|
37
|
+
`)[0]??e.text}${e.url?` (${e.url.replace(/^https?:\/\/[^/]+\//u,"")}:${String(e.line)})`:""}`;export function reportProblems(e,n,l=[]){const s={where:{file:e}},o=[],i=new Set;for(const t of n.missing)i.has(t.path)||(i.add(t.path),o.push(r("AK-A001",`${e} asks for ${t.path}, which is not in the project (${String(t.status)}).`,s)));for(const t of n.thrown)o.push(r("AK-R001",`${e}: ${c(t)}.`,{where:{file:e,...t.url?{}:{line:t.line}}}));const a=n.logged.map(c);for(const t of l)o.push(r("AK-R002",`${e}: ${t.canvas} (${String(t.width)} × ${String(t.height)} px) has nothing drawn on it${a.length>0?`; the page logged: ${a.join("; ")}`:n.thrown.length>0?"; see what the page threw":""}.`,s));return n.unsettled!==void 0&&o.push(r("AK-P004",`${e}: ${n.unsettled}`,s)),o}
|