@aussieljk/forkbook 0.0.1-1 → 0.0.1-11
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/LICENSE +1 -1
- package/README.md +35 -53
- package/assets/addon-vitest/templates/vitest.config.4.template.ts +2 -2
- package/assets/browser/favicon-wrapper.svg +4 -4
- package/assets/browser/favicon.svg +1 -1
- package/assets/browser/inter-LICENSE.txt +92 -0
- package/assets/browser/inter-variable-italic.woff2 +0 -0
- package/assets/browser/inter-variable.woff2 +0 -0
- package/assets/browser/mirror-ball.png +0 -0
- package/assets/builder-vite/iframe.html +8 -24
- package/assets/create/rendererAssets/common/Configure.mdx +100 -100
- package/assets/create/rendererAssets/common/button.css +1 -1
- package/assets/create/rendererAssets/common/header.css +1 -1
- package/assets/create/rendererAssets/common/page.css +2 -2
- package/assets/create/templates/react-native/index.expo.js +4 -4
- package/assets/create/templates/react-native/index.js +5 -5
- package/assets/server/base-preview-body.html +32 -32
- package/assets/server/base-preview-head.html +86 -86
- package/assets/server/template.ejs +27 -26
- package/dist/_browser-chunks/{Color-OEKZ7XSW.js → Color-QLZNXLSV.js} +8 -8
- package/dist/_browser-chunks/WithTooltip-GNLRTZDF.js +198 -0
- package/dist/_browser-chunks/{chunk-66OCZ54D.js → chunk-3HM3VWJS.js} +1 -1
- package/dist/_browser-chunks/{chunk-CFAOWGL7.js → chunk-3M5T7BW4.js} +1 -1
- package/dist/_browser-chunks/{chunk-2MEPHP35.js → chunk-4KIQBRD2.js} +1 -1
- package/dist/_browser-chunks/{chunk-OQWFVDIN.js → chunk-5H4KFI44.js} +1 -1
- package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
- package/dist/_browser-chunks/{chunk-PFRNG3UC.js → chunk-6ELMKWKX.js} +5 -5
- package/dist/_browser-chunks/{chunk-6SXYJQST.js → chunk-76222HQR.js} +1 -1
- package/dist/_browser-chunks/{chunk-JSBKXXXF.js → chunk-7DQREF4S.js} +1 -1
- package/dist/_browser-chunks/{chunk-RSPAQWVJ.js → chunk-BNP234B4.js} +1 -1
- package/dist/_browser-chunks/chunk-C5TKXHTM.js +82 -0
- package/dist/_browser-chunks/chunk-DNJ3OSLB.js +6021 -0
- package/dist/_browser-chunks/{chunk-PP4R7USA.js → chunk-DS2WQZGO.js} +222 -433
- package/dist/_browser-chunks/{chunk-FJGWSWL5.js → chunk-DYNTDJ3O.js} +3 -3
- package/dist/_browser-chunks/{chunk-CFWWCCZV.js → chunk-EQKMUQF3.js} +5 -4
- package/dist/_browser-chunks/{chunk-LV5PIKV4.js → chunk-FRAOQJDI.js} +5 -3
- package/dist/_browser-chunks/{chunk-ODVJ3XZJ.js → chunk-GRO2ZYEJ.js} +2 -2
- package/dist/_browser-chunks/{chunk-MFMDGWP6.js → chunk-I4ATZPNZ.js} +1 -1
- package/dist/_browser-chunks/chunk-IFADVEQE.js +669 -0
- package/dist/_browser-chunks/{chunk-YTIT5NA5.js → chunk-KYSD26D6.js} +3 -3
- package/dist/_browser-chunks/{chunk-RNTIV5CE.js → chunk-LYYXDWR2.js} +9 -9
- package/dist/_browser-chunks/{chunk-V5M7Q4HT.js → chunk-MJIDTL3X.js} +4 -14
- package/dist/_browser-chunks/{chunk-OD6IBQCC.js → chunk-N3NRW5XX.js} +2 -2
- package/dist/_browser-chunks/{chunk-V2G23FV7.js → chunk-N5WQGLI7.js} +1 -1
- package/dist/_browser-chunks/{chunk-EIYAKDGP.js → chunk-NA4ITZTK.js} +127 -105
- package/dist/_browser-chunks/chunk-NGMQJMCY.js +53 -0
- package/dist/_browser-chunks/chunk-NPNIBOPF.js +18 -0
- package/dist/_browser-chunks/{chunk-52CW7FF7.js → chunk-NTUHL5NS.js} +8 -3
- package/dist/_browser-chunks/{chunk-MDOL7KML.js → chunk-O24AZJZ7.js} +1 -1
- package/dist/_browser-chunks/{chunk-YEKO6BHJ.js → chunk-ONTSNQON.js} +1 -1
- package/dist/_browser-chunks/chunk-OOETBSA7.js +502 -0
- package/dist/_browser-chunks/chunk-PZQRXPVR.js +21 -0
- package/dist/_browser-chunks/{chunk-VVWPND3J.js → chunk-QU4RB2WU.js} +12 -12
- package/dist/_browser-chunks/{chunk-C3D4HEFY.js → chunk-TTBPZQ24.js} +282 -127
- package/dist/_browser-chunks/{chunk-ZTQ5MEJ5.js → chunk-UMGDO2ZM.js} +3 -37
- package/dist/_browser-chunks/{chunk-2SCZVUKW.js → chunk-V5U45XXZ.js} +1 -1
- package/dist/_browser-chunks/{chunk-73OX2G56.js → chunk-WBLVFDJT.js} +100 -108
- package/dist/_browser-chunks/chunk-XKTORVEQ.js +255 -0
- package/dist/_browser-chunks/{chunk-FVSEPWWX.js → chunk-XTQCLWVH.js} +325 -1635
- package/dist/_browser-chunks/{chunk-W5M6NPS3.js → chunk-ZHKZKFY4.js} +7 -6
- package/dist/_node-chunks/{attached-runtime-O4YTVUKE.js → attached-runtime-J2AKT5WI.js} +30 -30
- package/dist/_node-chunks/builder-manager-Z4RWF4ZH.js +1139 -0
- package/dist/_node-chunks/{chunk-XURIZ7IC.js → chunk-2U5J7YTA.js} +8 -8
- package/dist/_node-chunks/{chunk-PBMWZVLD.js → chunk-2WVLC5M2.js} +6 -6
- package/dist/_node-chunks/{chunk-SVZ6Q3CS.js → chunk-2YNXKY72.js} +6 -6
- package/dist/_node-chunks/{chunk-CYPPELO4.js → chunk-32FLWHUC.js} +22 -32
- package/dist/_node-chunks/{chunk-XTTAS346.js → chunk-36LPBTLF.js} +6 -6
- package/dist/_node-chunks/{chunk-ILWHW4HU.js → chunk-3EBGFRAH.js} +15 -15
- package/dist/_node-chunks/{chunk-I2ANCID7.js → chunk-3IIQSDCO.js} +66 -145
- package/dist/_node-chunks/{chunk-G6PUNHCI.js → chunk-3NST2GUZ.js} +6 -6
- package/dist/_node-chunks/{chunk-YWMICX2T.js → chunk-46Y5H6X5.js} +12 -12
- package/dist/_node-chunks/{chunk-5WHA37KG.js → chunk-4D325SMT.js} +102 -40
- package/dist/_node-chunks/{chunk-2XDUXZGI.js → chunk-54EHKXV7.js} +8 -8
- package/dist/_node-chunks/{chunk-AWJOXJAZ.js → chunk-55S3GGGC.js} +8 -8
- package/dist/_node-chunks/{chunk-QMU5ODXZ.js → chunk-5GOXN5M4.js} +7 -7
- package/dist/_node-chunks/{chunk-AWXGCPW6.js → chunk-5JLVSH44.js} +6 -6
- package/dist/_node-chunks/{chunk-BENYUF74.js → chunk-5P4N734V.js} +77 -78
- package/dist/_node-chunks/{chunk-PEIAGMSR.js → chunk-6E34W4UX.js} +6 -6
- package/dist/_node-chunks/chunk-6UAJLEIO.js +28 -0
- package/dist/_node-chunks/chunk-6UASHVMR.js +620 -0
- package/dist/_node-chunks/{chunk-R5FYRP6X.js → chunk-76KKKLEE.js} +7 -7
- package/dist/_node-chunks/{chunk-DWE36J35.js → chunk-7IOSIYW2.js} +7 -7
- package/dist/_node-chunks/chunk-7YQTID2W.js +25 -0
- package/dist/_node-chunks/{chunk-A724RK5H.js → chunk-A7GEBS3Q.js} +9 -6
- package/dist/_node-chunks/{chunk-6EJ5NPEM.js → chunk-AKMPPLT5.js} +7 -7
- package/dist/_node-chunks/{chunk-2BJIHWOK.js → chunk-ALGQMFMN.js} +6 -6
- package/dist/_node-chunks/{chunk-JEC2OK5B.js → chunk-APPFF22V.js} +7 -7
- package/dist/_node-chunks/chunk-APXRPW7A.js +11 -0
- package/dist/_node-chunks/{chunk-IZISFDKM.js → chunk-AVL7GUOZ.js} +161 -145
- package/dist/_node-chunks/chunk-BBU2FUPC.js +495 -0
- package/dist/_node-chunks/{chunk-Y2GH4XO7.js → chunk-BKND5XP2.js} +650 -9
- package/dist/_node-chunks/{chunk-2UG3IYCC.js → chunk-BSQB5B57.js} +6 -6
- package/dist/_node-chunks/{chunk-ULW4SLMN.js → chunk-C5OFHB3N.js} +34 -949
- package/dist/_node-chunks/{chunk-5RNOGGO6.js → chunk-CEYSYQLV.js} +6 -6
- package/dist/_node-chunks/{chunk-NIHZECYO.js → chunk-D5ADPGA4.js} +6 -6
- package/dist/_node-chunks/{chunk-3CLITGI2.js → chunk-DGWKJQ6G.js} +6 -6
- package/dist/_node-chunks/{chunk-EWXASIWR.js → chunk-ER3X3AQ7.js} +7 -7
- package/dist/_node-chunks/{chunk-JBCKN6P4.js → chunk-FB2BOL6I.js} +6 -6
- package/dist/_node-chunks/{chunk-4PK3LUHM.js → chunk-FEC5PGJO.js} +7 -7
- package/dist/_node-chunks/{chunk-NZ3GOT7V.js → chunk-FTYDKQCO.js} +6 -6
- package/dist/_node-chunks/chunk-FUG5LYKS.js +532 -0
- package/dist/_node-chunks/{chunk-ASJFOW6O.js → chunk-GGCOG7OV.js} +8 -8
- package/dist/_node-chunks/{chunk-GVSFRNWZ.js → chunk-GMKLTDKN.js} +6 -6
- package/dist/_node-chunks/{chunk-JE6JEGXA.js → chunk-GO3YSBPE.js} +9 -9
- package/dist/_node-chunks/chunk-GTXZNA2L.js +347 -0
- package/dist/_node-chunks/{chunk-XJSYJTBD.js → chunk-GYFR2JLS.js} +7 -7
- package/dist/_node-chunks/{chunk-HKUNJELN.js → chunk-IFAV3CER.js} +8 -8
- package/dist/_node-chunks/{chunk-IJL5JOLL.js → chunk-IRPQQARO.js} +7 -7
- package/dist/_node-chunks/{chunk-M2BRIUUP.js → chunk-IVAOJWPF.js} +7 -7
- package/dist/_node-chunks/{chunk-RHG33T7C.js → chunk-J3SM62J3.js} +10 -10
- package/dist/_node-chunks/{chunk-7TSL7D5D.js → chunk-LAIED5XU.js} +6 -6
- package/dist/_node-chunks/{chunk-RJUHZH32.js → chunk-LHNHFYK3.js} +6 -6
- package/dist/_node-chunks/{chunk-B6SKX4JF.js → chunk-LKITAODU.js} +7 -7
- package/dist/_node-chunks/{chunk-7LLQDMVS.js → chunk-MBIVTOJK.js} +6 -6
- package/dist/_node-chunks/{chunk-X6OWHTYE.js → chunk-MI7WBXWX.js} +6 -6
- package/dist/_node-chunks/{chunk-CDRLLNRQ.js → chunk-MW4OAPPD.js} +11 -11
- package/dist/_node-chunks/{chunk-ZMEGPR47.js → chunk-MXLHIEXC.js} +6 -6
- package/dist/_node-chunks/{chunk-RJXEPYEN.js → chunk-NFDQT7UW.js} +64 -21
- package/dist/_node-chunks/{chunk-CWD5A6NI.js → chunk-NIQSBBT2.js} +7 -7
- package/dist/_node-chunks/{chunk-MJ2UD7FU.js → chunk-NLLM4MDK.js} +7 -7
- package/dist/_node-chunks/{chunk-US7L4S72.js → chunk-NLNAIU4I.js} +9 -9
- package/dist/_node-chunks/{chunk-AANHLH5M.js → chunk-OJWUUSA4.js} +6 -6
- package/dist/_node-chunks/{chunk-CXLL2F6O.js → chunk-OPT5A55S.js} +25 -8
- package/dist/_node-chunks/{chunk-RQVK2TOI.js → chunk-OXT6T4AS.js} +14 -13
- package/dist/_node-chunks/{chunk-7DCDBICW.js → chunk-PQTEFQIJ.js} +13 -13
- package/dist/_node-chunks/{chunk-5GN5N22E.js → chunk-PXOD36TR.js} +131 -148
- package/dist/_node-chunks/{chunk-5J3O7EDY.js → chunk-PYVGF5F2.js} +6 -6
- package/dist/_node-chunks/{chunk-ICADUNQM.js → chunk-QHBQRPDP.js} +6 -6
- package/dist/_node-chunks/{chunk-VXDWOVWD.js → chunk-R7VDUSKY.js} +29843 -51588
- package/dist/_node-chunks/chunk-REIDJUVJ.js +2609 -0
- package/dist/_node-chunks/{chunk-KGOAOPKR.js → chunk-RNRGXAFV.js} +6 -6
- package/dist/_node-chunks/{chunk-6APBQVEX.js → chunk-S3NDLFYL.js} +7 -7
- package/dist/_node-chunks/chunk-SJXLINHV.js +57 -0
- package/dist/_node-chunks/chunk-SMBAR4G6.js +18 -0
- package/dist/_node-chunks/{chunk-R7CY5LX6.js → chunk-SRDKK3SG.js} +6 -6
- package/dist/_node-chunks/{chunk-G5OYQQDY.js → chunk-T6P2EJD2.js} +6 -6
- package/dist/_node-chunks/{chunk-7BVUZZIY.js → chunk-TAMTPVYZ.js} +7 -7
- package/dist/_node-chunks/{chunk-ILVD64RB.js → chunk-TKMXEHM4.js} +8 -8
- package/dist/_node-chunks/{chunk-XCGMRAV5.js → chunk-V5IMPC3J.js} +7 -7
- package/dist/_node-chunks/{chunk-2QTI45JU.js → chunk-VKRGTLQJ.js} +35 -35
- package/dist/_node-chunks/{chunk-QVMUIU7S.js → chunk-VZG3OKFO.js} +6 -6
- package/dist/_node-chunks/{chunk-2JSABFAM.js → chunk-W3KFVTWV.js} +10 -10
- package/dist/_node-chunks/{chunk-U4GKV7GZ.js → chunk-W7HY3ELZ.js} +10 -10
- package/dist/_node-chunks/{chunk-NKAUZU4C.js → chunk-WBCKO5LP.js} +6 -6
- package/dist/_node-chunks/{chunk-JVQYQTTM.js → chunk-WO4UEQI6.js} +42 -87
- package/dist/_node-chunks/{chunk-SRXCCL2O.js → chunk-XCJ2ZIQ4.js} +7 -7
- package/dist/_node-chunks/{chunk-MDKFZRYG.js → chunk-XH5CXH53.js} +8 -8
- package/dist/_node-chunks/{chunk-4TV3Z3S3.js → chunk-XICRXTTE.js} +6 -6
- package/dist/_node-chunks/{chunk-GSWBRZLU.js → chunk-XO54HM4P.js} +9 -17
- package/dist/_node-chunks/{chunk-URRTQ2QM.js → chunk-XSVOMORJ.js} +8 -8
- package/dist/_node-chunks/{chunk-WQ7PSP6H.js → chunk-XVOIYGTJ.js} +6 -6
- package/dist/_node-chunks/chunk-Y4W4B3E7.js +20 -0
- package/dist/_node-chunks/{chunk-HKQEE62W.js → chunk-YBG7HVP7.js} +8 -8
- package/dist/_node-chunks/chunk-YIAUHGY2.js +69 -0
- package/dist/_node-chunks/{chunk-GP5YLBNS.js → chunk-Z2ZTDQDY.js} +8 -8
- package/dist/_node-chunks/{chunk-GT5EHMNM.js → chunk-ZEYODVQT.js} +7 -7
- package/dist/_node-chunks/dist-C5QIQD3G.js +27 -0
- package/dist/_node-chunks/dist-NBRPZCHX.js +16 -0
- package/dist/_node-chunks/{local-runtime-4UNT5EZJ.js → local-runtime-YDAW5RJV.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-ZY6XLLA4.js → mdx-plugin-XLDET5LV.js} +2263 -130
- package/dist/_node-chunks/{monorepo-B65J4UFS.js → monorepo-NWMAHGOM.js} +12 -12
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-45ZTNWJS.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-4B6IZ7JD.js} +12 -12
- package/dist/_node-chunks/optimized-tests-EIPJR7HA.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-LOHSM7ID.js → pattern-copy-play-PJC4PO6A.js} +12 -12
- package/dist/_node-chunks/postinstallAddon-EOAAURMG.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-22ZBI6K4.js → rehype-external-links-4CWXZ35U.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-ROZVEEFZ.js → rehype-slug-QZ2PWSJH.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-EDE2B34G.js → relaxed-limits-ZQR4ER7L.js} +12 -12
- package/dist/_node-chunks/{run-IR3BRDJV.js → run-BMXB2BW2.js} +17 -17
- package/dist/_node-chunks/{run-372BSBV5.js → run-U63AXEKZ.js} +273 -13
- package/dist/_node-chunks/session-id-HEW5JUNB.js +23 -0
- package/dist/_node-chunks/{setup-6TMCKUTA.js → setup-NCUTUBNN.js} +9 -9
- package/dist/_node-chunks/{vitest.config.4.template-QJBEVCKG.js → vitest.config.4.template-4XHF7XPS.js} +9 -9
- package/dist/actions/decorator.js +3 -2
- package/dist/actions/index.d.ts +1 -1
- package/dist/actions/index.js +3 -2
- package/dist/addon-a11y/index.d.ts +3 -3
- package/dist/addon-a11y/index.js +2 -1
- package/dist/addon-a11y/manager.js +40 -37
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +2 -1
- package/dist/addon-docs/blocks.d.ts +20 -1
- package/dist/addon-docs/blocks.js +150 -74
- package/dist/addon-docs/index.d.ts +19 -19
- package/dist/addon-docs/manager.js +6 -6
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/index.js +5 -2
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-links/preview.js +5 -2
- package/dist/addon-links/react/index.js +4 -1
- package/dist/addon-mcp/preset.js +29 -21
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +37 -82
- package/dist/addon-ondevice-actions/index.js +5 -1
- package/dist/addon-ondevice-actions/register.js +5 -1
- package/dist/addon-ondevice-controls/index.js +1 -1
- package/dist/addon-ondevice-controls/register.js +1 -1
- package/dist/addon-pseudo-states/index.d.ts +1 -1
- package/dist/addon-pseudo-states/manager.js +2 -2
- package/dist/addon-pseudo-states/preview.d.ts +1 -1
- package/dist/addon-themes/index.d.ts +1 -1
- package/dist/addon-themes/index.js +2 -2
- package/dist/addon-themes/manager.js +4 -4
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-themes/preview.js +2 -2
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +21 -21
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +17 -17
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +15 -16
- package/dist/addon-vitest/vitest-plugin/global-setup.js +8 -8
- package/dist/addon-vitest/vitest-plugin/index.js +23 -23
- package/dist/addon-vitest/vitest-plugin/setup-file-with-project-annotations.js +3 -3
- package/dist/addon-vitest/vitest-plugin/setup-file.js +1 -1
- package/dist/babel/index.d.ts +91 -842
- package/dist/babel/index.js +13 -19
- package/dist/backgrounds/index.d.ts +1 -1
- package/dist/bin/core.js +65 -64
- package/dist/bin/dispatcher.js +18 -16
- package/dist/bin/loader.js +17 -16
- package/dist/builder-vite/index.js +17 -17
- package/dist/builder-vite/preset.js +13 -13
- package/dist/channels/index.js +6 -6
- package/dist/{chunk-BTVrWliM.d.ts → chunk-BGhyFTJO.d.ts} +2 -2
- package/dist/{chunk-DtHByo32.d.ts → chunk-CFk6djyM.d.ts} +5 -5
- package/dist/{chunk-CwQKNaYL.d.ts → chunk-CNqjcOmK.d.ts} +1 -1
- package/dist/{chunk-CMeX4WRe.d.ts → chunk-CT2iXaHz.d.ts} +1 -1
- package/dist/chunk-CV4-Z2pn.d.ts +30 -0
- package/dist/{chunk-B2t1tGRh.d.ts → chunk-CYuvV2sR.d.ts} +11 -13
- package/dist/{chunk-DEVFdzxR.d.ts → chunk-D0NUmzXp.d.ts} +1 -1
- package/dist/{chunk-DzuY9DXg.d.ts → chunk-DDd8BhTY.d.ts} +2 -2
- package/dist/{chunk-Dw1z1Pki.d.ts → chunk-DROZ9oel.d.ts} +50 -314
- package/dist/{chunk-gCX81nOr.d.ts → chunk-DgzPaTw9.d.ts} +3 -3
- package/dist/{chunk-Kt1tW-D1.d.ts → chunk-Dm-iHJ-s.d.ts} +3 -3
- package/dist/{chunk-C-bavsOH.d.ts → chunk-Dw_4ad2Y.d.ts} +6 -6
- package/dist/{chunk-C2p5r3Vt.d.ts → chunk-Fg1Fm__9.d.ts} +119 -29
- package/dist/chunk-Susgfkap.d.ts +20 -0
- package/dist/cli/index.d.ts +13 -866
- package/dist/cli/index.js +44 -4954
- package/dist/cli/skills/content/index.d.ts +1 -1
- package/dist/cli/skills/content/index.js +2 -2
- package/dist/cli/tools/sdk/child-host.d.ts +1 -1
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.d.ts +1 -1
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/client-logger/index.js +3 -1
- package/dist/common/index.d.ts +17 -29
- package/dist/common/index.js +36 -42
- package/dist/components/index.d.ts +41 -238
- package/dist/components/index.js +2738 -8515
- package/dist/core-events/index.d.ts +4 -3
- package/dist/core-events/index.js +3 -1
- package/dist/core-server/index.d.ts +7 -6
- package/dist/core-server/index.js +665 -250
- package/dist/core-server/presets/common-manager.js +603 -1027
- package/dist/core-server/presets/common-override-preset.js +12 -10
- package/dist/core-server/presets/common-preset.js +55 -48
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/index.d.ts +5 -5
- package/dist/csf/index.js +55 -120
- package/dist/csf-tools/index.d.ts +17 -13
- package/dist/csf-tools/index.js +17 -15
- package/dist/docs-tools/index.js +2 -2
- package/dist/highlight/index.d.ts +1 -1
- package/dist/instrumenter/index.js +8 -6
- package/dist/manager/_manager-chunks/{globals-runtime-B0I9dSVs.js → globals-runtime-BSj0mCjE.js} +824 -727
- package/dist/manager/_manager-chunks/globals-runtime-BY3epqww.js +1807 -0
- package/dist/manager/_manager-chunks/globals-runtime-Bj5KDUJi.js +8935 -0
- package/dist/manager/_manager-chunks/{globals-runtime-ZHrQFa3-.js → globals-runtime-Bs75QQ_I.js} +77 -553
- package/dist/manager/_manager-chunks/{globals-runtime-f5oIrim0.js → globals-runtime-Bu9eGDTe.js} +394 -189
- package/dist/manager/_manager-chunks/{globals-runtime-FC201B7s.js → globals-runtime-BweHuXkK.js} +2 -1
- package/dist/manager/_manager-chunks/{globals-runtime-BQCkfH1B.js → globals-runtime-C5gK7HhH.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-BmphMP6z.js → globals-runtime-C92M_Vnq.js} +10 -10
- package/dist/manager/_manager-chunks/{globals-runtime-eLPTIfX-.js → globals-runtime-CA8AuIRT.js} +3 -145
- package/dist/manager/_manager-chunks/globals-runtime-CBviMKtt.js +446 -0
- package/dist/manager/_manager-chunks/{globals-runtime-C02fvgcd.js → globals-runtime-CCTA-XPa.js} +410 -379
- package/dist/manager/_manager-chunks/{globals-runtime-CXoVXiJA.js → globals-runtime-CHjExYMv.js} +324 -118
- package/dist/manager/_manager-chunks/{globals-runtime-BvM-NY2g.js → globals-runtime-DvV_TF3-.js} +638 -1731
- package/dist/manager/_manager-chunks/{globals-runtime-8HkdnU2F.js → globals-runtime-WZKaeKm9.js} +93 -2146
- package/dist/manager/_manager-chunks/globals-runtime-wjkxyMn0.js +5283 -0
- package/dist/manager/_manager-chunks/{runtime-DtyerpFe.js → runtime--hR2NZFd.js} +124 -80
- package/dist/manager/_manager-chunks/{runtime-DMig8mT7.js → runtime-5o_11Jae.js} +4 -3
- package/dist/manager/_manager-chunks/{runtime-D94Vq3oR.js → runtime-B6NL14pz.js} +5 -531
- package/dist/manager/_manager-chunks/{runtime-eDVAYF7N.js → runtime-BAsOe1C_.js} +10 -29
- package/dist/manager/_manager-chunks/{runtime-EITvVbkG.js → runtime-BdGkqNEt.js} +1 -2
- package/dist/manager/_manager-chunks/{runtime-DcJBhKG9.js → runtime-CJQZFUUj.js} +200 -376
- package/dist/manager/_manager-chunks/{runtime-Bry1Biu7.js → runtime-CgRqs_SK.js} +989 -915
- package/dist/manager/_manager-chunks/{runtime-i-PDAHLR.js → runtime-Dem2xJbS.js} +5 -147
- package/dist/manager/_manager-chunks/runtime-Dtbhxq5m.js +1158 -0
- package/dist/manager/_manager-chunks/runtime-DvB1axgp.js +197 -0
- package/dist/manager/_manager-chunks/runtime-EPerAEAs.js +294 -0
- package/dist/manager/_manager-chunks/runtime-P663lpsR.js +528 -0
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/globals.d.ts +12 -12
- package/dist/manager/globals.js +12 -12
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +72 -82
- package/dist/manager-errors.d.ts +1 -1
- package/dist/manager-errors.js +2 -2
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.d.ts +2 -2
- package/dist/mocking-utils/index.js +22 -17
- package/dist/mocking-utils/mocker-runtime.js +2 -2
- package/dist/nextjs-vite/index.d.ts +2 -2
- package/dist/nextjs-vite/index.js +4 -3
- package/dist/nextjs-vite/node/index.d.ts +2 -2
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/node-stand-ins/index.d.ts +68 -0
- package/dist/nextjs-vite/node-stand-ins/index.js +145 -0
- package/dist/nextjs-vite/preset.js +93 -14
- package/dist/nextjs-vite/preview.js +1 -1
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.d.ts +2 -3
- package/dist/nextjs-vite-plugin/index.js +15 -30
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-image.js +2 -2
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-legacy-image.js +2 -2
- package/dist/node-logger/index.d.ts +65 -72
- package/dist/node-logger/index.js +11 -12
- package/dist/oxc-parser/index.js +11 -13
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview/_chunks/{runtime-DrTjJkPY.js → runtime-BJwGQok8.js} +77 -76
- package/dist/preview/_chunks/{runtime-BIzIdDbb.js → runtime-BPwAnlRx.js} +482 -334
- package/dist/preview/_chunks/{runtime-q3wt0e_N.js → runtime-BUnOhg9h.js} +2 -2
- package/dist/preview/_chunks/{runtime-CxZK_Ln3.js → runtime-BZ4pNS3g.js} +2 -2
- package/dist/preview/_chunks/runtime-Bcv1hJky.js +6305 -0
- package/dist/preview/_chunks/{runtime-iXdo8CR8.js → runtime-BgPhfM5P.js} +54 -8
- package/dist/preview/_chunks/{runtime-CsV4HZPV.js → runtime-BhSZ1Mwt.js} +335 -137
- package/dist/preview/_chunks/{runtime-BwSxqk3t.js → runtime-BsMjBzuq.js} +6 -16
- package/dist/preview/_chunks/{runtime-CqHxptiK.js → runtime-C1jgT6tJ.js} +93 -2145
- package/dist/preview/_chunks/{runtime-DuHdxMFA.js → runtime-CkOhMcXf.js} +8 -8
- package/dist/preview/_chunks/{runtime-BZSnICCg.js → runtime-WapFVPAh.js} +29 -29
- package/dist/preview/globals.d.ts +10 -10
- package/dist/preview/globals.js +10 -10
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-api/index.js +11 -9
- package/dist/preview-errors.d.ts +1 -1
- package/dist/preview-errors.js +2 -2
- package/dist/react/docgen/docgen-worker.js +11 -12
- package/dist/react/entry-preview.js +2 -1
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +6 -4
- package/dist/react/preset.js +13 -14
- package/dist/react/preview.d.ts +1 -1
- package/dist/react/preview.js +3 -2
- package/dist/react-native/bin/get-stories.js +12 -12
- package/dist/react-native/index.d.ts +11 -11
- package/dist/react-native/index.js +46 -231
- package/dist/react-native/metro/node.d.ts +2 -2
- package/dist/react-native/metro/node.js +10 -9
- package/dist/react-native/metro/{withStorybook.d.ts → withForkbook.d.ts} +11 -11
- package/dist/react-native/metro/{withStorybook.js → withForkbook.js} +22 -21
- package/dist/react-native/scripts/generate.d.ts +1 -1
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-native/stub.js +1 -1
- package/dist/react-native-theming/index.d.ts +2 -58
- package/dist/react-native-theming/index.js +63 -2338
- package/dist/react-native-ui/index.d.ts +6 -7
- package/dist/react-native-ui/index.js +207 -624
- package/dist/react-native-ui-common/index.d.ts +2 -3
- package/dist/react-vite/index.d.ts +2 -2
- package/dist/react-vite/node/index.d.ts +3 -3
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +7 -7
- package/dist/router/index.d.ts +69 -1
- package/dist/router/index.js +52 -10
- package/dist/server-errors.d.ts +1 -1
- package/dist/server-errors.js +9 -9
- package/dist/shared/open-service/index.d.ts +1 -1
- package/dist/shared/open-service/index.js +2 -2
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/shared/open-service/toolsets/docs/public.d.ts +21 -21
- package/dist/telemetry/index.d.ts +3 -3
- package/dist/telemetry/index.js +43 -45
- package/dist/test/index.js +810 -575
- package/dist/theming/create.js +2 -1
- package/dist/theming/index.d.ts +5 -5
- package/dist/theming/index.js +41 -16
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +5 -5
- package/dist/viewport/index.d.ts +1 -1
- package/package.json +36 -81
- package/template/nextjs-vite/cli/js/Button.stories.js +6 -6
- package/template/nextjs-vite/cli/js/Configure.mdx +100 -100
- package/template/nextjs-vite/cli/js/Header.stories.js +2 -2
- package/template/nextjs-vite/cli/js/Page.jsx +2 -2
- package/template/nextjs-vite/cli/js/Page.stories.js +2 -2
- package/template/nextjs-vite/cli/ts/Button.stories.ts +6 -6
- package/template/nextjs-vite/cli/ts/Configure.mdx +84 -84
- package/template/nextjs-vite/cli/ts/Header.stories.ts +2 -2
- package/template/nextjs-vite/cli/ts/Page.stories.ts +2 -2
- package/template/nextjs-vite/cli/ts/Page.tsx +2 -2
- package/template/react/cli/js/Button.stories.js +6 -6
- package/template/react/cli/js/Header.stories.js +2 -2
- package/template/react/cli/js/Page.jsx +2 -2
- package/template/react/cli/js/Page.stories.js +2 -2
- package/template/react/cli/ts/Button.stories.ts +6 -6
- package/template/react/cli/ts/Header.stories.ts +2 -2
- package/template/react/cli/ts/Page.stories.ts +2 -2
- package/template/react/cli/ts/Page.tsx +2 -2
- package/template/react-vite/cli/js/Button.stories.js +6 -6
- package/template/react-vite/cli/js/Header.stories.js +2 -2
- package/template/react-vite/cli/js/Page.jsx +2 -2
- package/template/react-vite/cli/js/Page.stories.js +2 -2
- package/template/react-vite/cli/ts/Button.stories.ts +6 -6
- package/template/react-vite/cli/ts/Header.stories.ts +2 -2
- package/template/react-vite/cli/ts/Page.stories.ts +2 -2
- package/template/react-vite/cli/ts/Page.tsx +2 -2
- package/assets/browser/nunito-sans-bold-italic.woff2 +0 -0
- package/assets/browser/nunito-sans-bold.woff2 +0 -0
- package/assets/browser/nunito-sans-italic.woff2 +0 -0
- package/assets/browser/nunito-sans-regular.woff2 +0 -0
- package/dist/_browser-chunks/WithTooltip-GZSSFOG3.js +0 -1619
- package/dist/_browser-chunks/chunk-5P4QA6MY.js +0 -20
- package/dist/_browser-chunks/chunk-JMC7AIKT.js +0 -108
- package/dist/_node-chunks/builder-manager-FPV2L36T.js +0 -1661
- package/dist/_node-chunks/chunk-356LV3NX.js +0 -36
- package/dist/_node-chunks/chunk-5BTU7UZ5.js +0 -1877
- package/dist/_node-chunks/chunk-5J3BMBMY.js +0 -51
- package/dist/_node-chunks/chunk-BCRWDMAU.js +0 -11
- package/dist/_node-chunks/chunk-BE6ULVPN.js +0 -662
- package/dist/_node-chunks/chunk-CSXS6LVI.js +0 -29
- package/dist/_node-chunks/chunk-DUOXRUVQ.js +0 -18
- package/dist/_node-chunks/chunk-FUYZNTIS.js +0 -23
- package/dist/_node-chunks/chunk-TB6Y6NSL.js +0 -3837
- package/dist/_node-chunks/chunk-VQEQ7ZLS.js +0 -4731
- package/dist/_node-chunks/chunk-WVCU34IS.js +0 -23
- package/dist/_node-chunks/chunk-Y2DEKWVE.js +0 -3008
- package/dist/_node-chunks/chunk-ZBAIFZNB.js +0 -5414
- package/dist/_node-chunks/dist-ZGSN23B7.js +0 -16
- package/dist/_node-chunks/globby-HWZL7XSQ.js +0 -2884
- package/dist/_node-chunks/jiti-GNDCTFYU.js +0 -3848
- package/dist/_node-chunks/lib-DI662U2R.js +0 -366
- package/dist/_node-chunks/optimized-tests-ZMNICF4R.js +0 -22
- package/dist/_node-chunks/postinstallAddon-NT5XE7IT.js +0 -20
- package/dist/_node-chunks/session-id-OO2WQF5N.js +0 -23
- package/dist/chunk-BfBzpgct.d.ts +0 -916
- package/dist/chunk-BxWufQms.d.ts +0 -142
- package/dist/core-server/presets/common-manager.css +0 -170
- package/dist/manager/_manager-chunks/globals-runtime-BIKBO23x.js +0 -3389
- package/dist/manager/_manager-chunks/globals-runtime-DkAPXCvc.js +0 -9766
- package/dist/manager/_manager-chunks/globals-runtime-DtcOnYHR.js +0 -5357
- package/dist/manager/_manager-chunks/runtime-B1L9TH89.js +0 -452
- package/dist/manager/_manager-chunks/runtime-Bly6WJLN.js +0 -998
- package/dist/manager/_manager-chunks/runtime-DpgBAFGf.js +0 -22
- package/dist/preview/_chunks/runtime-BTPtVY1p.js +0 -1102
- package/dist/preview/_chunks/runtime-DZToXfvO.js +0 -9767
package/dist/manager/_manager-chunks/{globals-runtime-CXoVXiJA.js → globals-runtime-CHjExYMv.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { a as __toESM, n as __esmMin, r as __exportAll } from "./globals-runtime-BdGkqNEt.js";
|
|
2
|
-
import {
|
|
3
|
-
import { A as
|
|
4
|
-
import { $ as once, A as SET_WHATS_NEW_CACHE, B as STORY_PREPARED, C as SELECT_STORY, D as SET_GLOBALS, E as SET_FILTER, F as STORIES_EXPAND_ALL, G as UPDATE_GLOBALS, H as STORY_SPECIFIED, I as STORY_ARGS_UPDATED, J as core_events_exports, K as UPDATE_QUERY_PARAMS, L as STORY_CHANGED, M as SHARED_STATE_SET, N as SIDEBAR_FILTER_CHANGED, O as SET_INDEX, P as STORIES_COLLAPSE_ALL, Q as logger, R as STORY_INDEX_INVALIDATED, S as RESULT_WHATS_NEW_DATA, T as SET_CURRENT_STORY, U as TELEMETRY_ERROR, V as STORY_RENDER_PHASE_CHANGED, W as TOGGLE_WHATS_NEW_NOTIFICATIONS, X as client_logger_exports, Y as init_core_events, Z as init_client_logger, _ as OPEN_IN_EDITOR_RESPONSE, a as channels_exports, b as REQUEST_WHATS_NEW_DATA, c as init_channel_slot, d as CURRENT_STORY_WAS_SET, f as DOCS_PREPARED, g as OPEN_IN_EDITOR_REQUEST, h as NAVIGATE_URL, i as mockChannel, j as SHARED_STATE_CHANGED, k as SET_STORIES, l as setChannel, m as GLOBALS_UPDATED, n as init_components, o as init_channels, p as FORCE_REMOUNT, q as UPDATE_STORY_ARGS, r as init_mock_channel, s as getChannel, t as components_exports, u as CONFIG_ERROR, v as PRELOAD_ENTRIES, w as SET_CONFIG, x as RESET_STORY_ARGS, y as PREVIEW_KEYDOWN, z as STORY_MISSING } from "./globals-runtime-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { n as types_exports, r as Addon_TypesEnum, t as init_types } from "./globals-runtime-
|
|
9
|
-
import { h as processError, m as init_error } from "./globals-runtime-
|
|
2
|
+
import { B as stringify, H as init_esm, L as init_dist, V as dedent, c as require_semver, s as require_store2, z as parse } from "./globals-runtime-CA8AuIRT.js";
|
|
3
|
+
import { $ as countStatusesByValue, A as setStoryPathEntries, B as init_test, C as init_use_universal_store_manager, D as buildManagerHref, E as router_exports, F as init_routes, G as init_tags$1, H as BUILT_IN_FILTERS, I as isReviewManagerRoute, L as create, M as buildArgsParam, O as fromUrlPath, P as queryFromLocation, Q as UNIVERSAL_STATUS_STORE_OPTIONS, R as create_exports, S as init_mock, T as init_router, U as Tag, V as test_exports, W as USER_TAG_FILTER, _ as useServiceCommand, _t as StorybookError, b as init_test_provider_store, d as getService, et as createStatusStore, f as init_manager, gt as init_universal_store, h as useServiceQuery, ht as UniversalStore, j as toUrlPath, mt as init_global, n as theming_exports, nt as statusValueShortName, p as registerService, pt as global, rt as toStatusValue, t as init_theming, tt as init_status_store, v as UNIVERSAL_TEST_PROVIDER_STORE_OPTIONS, vt as init_storybook_error, w as useUniversalStore, x as MockUniversalStore, y as createTestProviderStore, z as init_create } from "./globals-runtime-Bu9eGDTe.js";
|
|
4
|
+
import { $ as once, A as SET_WHATS_NEW_CACHE, B as STORY_PREPARED, C as SELECT_STORY, D as SET_GLOBALS, E as SET_FILTER, F as STORIES_EXPAND_ALL, G as UPDATE_GLOBALS, H as STORY_SPECIFIED, I as STORY_ARGS_UPDATED, J as core_events_exports, K as UPDATE_QUERY_PARAMS, L as STORY_CHANGED, M as SHARED_STATE_SET, N as SIDEBAR_FILTER_CHANGED, O as SET_INDEX, P as STORIES_COLLAPSE_ALL, Q as logger, R as STORY_INDEX_INVALIDATED, S as RESULT_WHATS_NEW_DATA, T as SET_CURRENT_STORY, U as TELEMETRY_ERROR, V as STORY_RENDER_PHASE_CHANGED, W as TOGGLE_WHATS_NEW_NOTIFICATIONS, X as client_logger_exports, Y as init_core_events, Z as init_client_logger, _ as OPEN_IN_EDITOR_RESPONSE, a as channels_exports, b as REQUEST_WHATS_NEW_DATA, c as init_channel_slot, d as CURRENT_STORY_WAS_SET, f as DOCS_PREPARED, g as OPEN_IN_EDITOR_REQUEST, h as NAVIGATE_URL, i as mockChannel, j as SHARED_STATE_CHANGED, k as SET_STORIES, l as setChannel, m as GLOBALS_UPDATED, n as init_components, o as init_channels, p as FORCE_REMOUNT, q as UPDATE_STORY_ARGS, r as init_mock_channel, s as getChannel, t as components_exports, u as CONFIG_ERROR, v as PRELOAD_ENTRIES, w as SET_CONFIG, x as RESET_STORY_ARGS, y as PREVIEW_KEYDOWN, z as STORY_MISSING } from "./globals-runtime-BSj0mCjE.js";
|
|
5
|
+
import { D as require_client, E as require_jsx_runtime, O as require_react_dom, S as stringify$1, b as init_main, k as require_react } from "./globals-runtime-Bs75QQ_I.js";
|
|
6
|
+
import { F as mergeWith, L as mapValues, N as omit, O as init_toMerged, P as init_mergeWith, R as init_isEqual, a as throttle, c as partition, i as init_throttle, j as pick, k as toMerged, l as countBy, o as require_copy_to_clipboard, t as require_browser_dtector_umd_min, z as isEqual } from "./globals-runtime-DvV_TF3-.js";
|
|
7
|
+
import { $ as init_timer, $a as init_circle, $i as init_file_code, $n as init_network, $o as init_bold, $r as init_layers, $t as init_save, A as Users, Aa as CornerUpRight, Ai as GitFork, An as Pilcrow, Ao as Check, Ar as Mail, As as ArrowDownRight, At as Smartphone, B as Unlink, Ba as Command, Bi as Folder, Bn as PanelLeft, Bo as Calendar, Br as ListFilter, Bs as Accessibility, Bt as ShoppingBasket, C as init_watch, Ca as init_database, Ci as init_grid_2x2, Cn as init_plus, Co as init_chevron_up, Cr as init_menu, Cs as init_arrow_left, Ct as init_square_x, D as init_volume_2, Da as init_credit_card, Di as init_git_pull_request, Dn as init_pin, Do as init_chevron_left, Dr as init_maximize_2, Ds as init_arrow_down, Dt as init_square_arrow_out_up_right, E as Volume2, Ea as CreditCard, Ei as GitPullRequest, En as Pin, Eo as ChevronLeft, Er as Maximize2, Es as ArrowDown, Et as SquareArrowOutUpRight, F as init_user_plus, Fa as init_copy, Fi as init_git_branch, Fn as init_pencil, Fo as init_chart_line, Fr as init_lock_open, Fs as init_archive_restore, Ft as init_skip_forward, G as init_type, Ga as init_code, Gi as init_flask_conical, Gn as init_paintbrush_vertical, Go as init_brush_cleaning, Gr as init_link, Gt as init_share, H as UnfoldVertical, Ha as Columns2, Hi as FoldVertical, Hn as Paintbrush, Ho as Bug, Hr as ListChecks, Hs as LucideProvider, Ht as Shield, I as UserCog, Ia as Contrast, Ii as Gift, In as PenTool, Io as ChartColumn, Ir as List, Is as Apple, It as SkipBack, J as TriangleAlert, Ja as Cloud, Ji as Files, Jn as Nut, Jo as Bookmark, Jr as LifeBuoy, Jt as Settings, K as TrianglesCenterlineDashedHorizontal, Ka as CodeXml, Ki as Flag, Kn as Package, Ko as Briefcase, Kr as Library, Kt as Share2, L as init_user_cog, La as init_contrast, Li as init_gift, Ln as init_pen_tool, Lo as init_chart_column, Lr as init_list, Ls as init_apple, Lt as init_skip_back, M as User, Ma as CornerUpLeft, Mi as GitCommitHorizontal, Mn as Phone, Mo as CheckCheck, Mr as Lock, Ms as ArrowDownLeft, Mt as SlidersHorizontal, N as init_user, Na as init_corner_up_left, Ni as init_git_commit_horizontal, Nn as init_phone, No as init_check_check, Nr as init_lock, Ns as init_arrow_down_left, Nt as init_sliders_horizontal, O as Video, Oa as Cpu, Oi as GitMerge, On as PinOff, Oo as ChevronDown, Or as MapPin, Os as ArrowDownWideNarrow, Ot as SquareArrowDownLeft, P as UserPlus, Pa as Copy, Pi as GitBranch, Pn as Pencil, Po as ChartLine, Pr as LockOpen, Ps as ArchiveRestore, Pt as SkipForward, Q as Timer, Qa as Circle, Qi as FileCode, Qn as Network, Qo as Bold, Qr as Layers, Qt as Save, R as Upload, Ra as Compass, Ri as Gauge, Rn as Paperclip, Ro as Camera, Rr as ListOrdered, Rs as AppWindow, Rt as Signpost, S as Watch, Sa as Database, Si as Grid2x2, Sn as Plus, So as ChevronUp, Sr as Menu, Ss as ArrowLeft, St as SquareX, T as init_wand_sparkles, Ta as init_crosshair, Ti as init_globe, Tn as init_play, To as init_chevron_right, Tr as init_memory_stick, Ts as init_arrow_left_right, Tt as init_square_dashed, U as init_unfold_vertical, Ua as init_columns_2, Ui as init_fold_vertical, Un as init_paintbrush, Uo as init_bug, Ur as init_list_checks, Us as init_context$1, Ut as init_shield, V as init_unlink, Va as init_command, Vi as init_folder, Vn as init_panel_left, Vo as init_calendar, Vr as init_list_filter, Vs as init_accessibility, Vt as init_shopping_basket, W as Type, Wa as Code, Wi as FlaskConical, Wn as PaintbrushVertical, Wo as BrushCleaning, Wr as Link, Ws as require_memoizerific, Wt as Share, X as Trash, Xa as Clock, Xi as FileText, Xn as Newspaper, Xo as BookOpen, Xr as LayoutGrid, Xt as Search, Y as init_triangle_alert, Ya as init_cloud, Yi as init_files, Yn as init_nut, Yo as init_bookmark, Yr as init_life_buoy, Yt as init_settings$1, Z as init_trash, Za as init_clock, Zi as init_file_text, Zn as init_newspaper, Zo as init_book_open, Zr as init_layout_grid, Zt as init_search, _ as init_x, _a as init_download, _i as init_hard_drive, _n as init_printer, _o as init_circle_arrow_right, _r as init_message_square_text, _s as init_arrow_up_narrow_wide, _t as init_sticker, aa as init_face_slightly_frowning, ai as init_info, an as init_rows_2, ao as init_circle_stop, ar as init_moon, as as init_badge_check, at as init_text_align_start, b as Waypoints, ba as Delete, bi as GripVertical, bn as Pointer, bo as CircleAlert, br as MessageCircleMore, bs as ArrowRight, bt as Square, c as ZoomOut, ca as Eye, ci as IdCard, cn as RotateCcw, co as CircleQuestionMark, cr as MonitorPlay, cs as AtSign, ct as Terminal, d as init_zoom_in, da as init_eye_off, di as init_house, dn as init_rewind, do as init_circle_play, dr as init_minus, ds as init_atom, dt as init_tag, ea as FastForward, ei as Key, en as Ruler, eo as CircleX, er as MousePointerClick, es as Bell, et as ThumbsUp, f as Zap, fa as Expand, fi as Hourglass, fn as RefreshCw, fo as CirclePlus, fr as MessagesSquare, fs as ArrowUp, ft as Tablet, g as X, ga as Download, gi as HardDrive, gn as Printer, go as CircleArrowRight, gr as MessageSquareText, gs as ArrowUpNarrowWide, gt as Sticker, h as init_zap_off, ha as init_ellipsis, hi as init_heart, hn as init_puzzle, ho as init_circle_check, hr as init_message_square, hs as init_arrow_up_right, ht as init_sun, ia as FaceSlightlyFrowning, ii as Info, in as Rows2, io as CircleStop, ir as Moon, is as BadgeCheck, it as TextAlignStart, j as init_users, ja as init_corner_up_right, ji as init_git_fork, jn as init_pilcrow, jo as init_check, jr as init_mail, js as init_arrow_down_right, jt as init_smartphone, k as init_video, ka as init_cpu, ki as init_git_merge, kn as init_pin_off, ko as init_chevron_down, kr as init_map_pin, ks as init_arrow_down_wide_narrow, kt as init_square_arrow_down_left, l as init_zoom_out, la as init_eye, li as init_id_card, ln as init_rotate_ccw, lo as init_circle_question_mark, lr as init_monitor_play, ls as init_at_sign, lt as init_terminal, m as ZapOff, ma as Ellipsis, mi as Heart, mn as Puzzle, mo as CircleCheck, mr as MessageSquare, ms as ArrowUpRight, mt as Sun, na as FaceSlightlySmiling, ni as Italic, nn as Rss, no as CircleUser, nr as MousePointer2, ns as Ban, nt as TextCursorInput, oa as FaceNeutral, oi as Image, on as RotateCw, oo as CircleSlash2, or as Monitor, os as Award, ot as TextAlignEnd, p as init_zap, pa as init_expand, pi as init_hourglass, pn as init_refresh_cw, po as init_circle_plus, pr as init_messages_square, ps as init_arrow_up, pt as init_tablet, q as init_triangles_centerline_dashed_horizontal, qa as init_code_xml, qi as init_flag, qn as init_package, qo as init_briefcase, qr as init_library, qt as init_share_2, ra as init_face_slightly_smiling, ri as init_italic, rn as init_rss, ro as init_circle_user, rr as init_mouse_pointer_2, rs as init_ban, rt as init_text_cursor_input, sa as init_face_neutral, si as init_image, sn as init_rotate_cw, so as init_circle_slash_2, sr as init_monitor, ss as init_award, st as init_text_align_end, ta as init_fast_forward, ti as init_key, tn as init_ruler, to as init_circle_x, tr as init_mouse_pointer_click, ts as init_bell, tt as init_thumbs_up, u as ZoomIn, ua as EyeOff, ui as House, un as Rewind, uo as CirclePlay, ur as Minus, us as Atom, ut as Tag$1, v as Wrench, va as Diamond, vi as Grid3x3, vn as Power, vo as CircleArrowLeft, vr as MessageCircle, vs as ArrowUpLeft, vt as Star, w as WandSparkles, wa as Crosshair, wi as Globe, wn as Play, wo as ChevronRight, wr as MemoryStick, ws as ArrowLeftRight, wt as SquareDashed, x as init_waypoints, xa as init_delete, xi as init_grip_vertical, xn as init_pointer, xo as init_circle_alert, xr as init_message_circle_more, xs as init_arrow_right, xt as init_square, y as init_wrench, ya as init_diamond, yi as init_grid_3x3, yn as init_power, yo as init_circle_arrow_left, yr as init_message_circle, ys as init_arrow_up_left, yt as init_star, z as init_upload, za as init_compass, zi as init_gauge, zn as init_paperclip, zo as init_camera, zr as init_list_ordered, zs as init_app_window, zt as init_signpost } from "./globals-runtime-Bj5KDUJi.js";
|
|
8
|
+
import { n as types_exports, r as Addon_TypesEnum, t as init_types } from "./globals-runtime-C5gK7HhH.js";
|
|
9
|
+
import { h as processError, m as init_error } from "./globals-runtime-BweHuXkK.js";
|
|
10
10
|
//#region src/manager-errors.ts
|
|
11
11
|
var manager_errors_exports = /* @__PURE__ */ __exportAll({
|
|
12
12
|
Category: () => Category,
|
|
@@ -143,18 +143,18 @@ function init_globals() {
|
|
|
143
143
|
"react/jsx-dev-runtime": "__REACT_JSX_DEV_RUNTIME__",
|
|
144
144
|
"react-dom": "__REACT_DOM__",
|
|
145
145
|
"react-dom/client": "__REACT_DOM_CLIENT__",
|
|
146
|
-
"
|
|
147
|
-
"@aussieljk/forkbook/manager-api": "
|
|
148
|
-
"@aussieljk/forkbook/theming": "
|
|
149
|
-
"@aussieljk/forkbook/theming/create": "
|
|
150
|
-
"@aussieljk/forkbook/test": "
|
|
151
|
-
"@aussieljk/forkbook/internal/channels": "
|
|
152
|
-
"@aussieljk/forkbook/internal/client-logger": "
|
|
153
|
-
"@aussieljk/forkbook/internal/components": "
|
|
154
|
-
"@aussieljk/forkbook/internal/core-events": "
|
|
155
|
-
"@aussieljk/forkbook/internal/manager-errors": "
|
|
156
|
-
"@aussieljk/forkbook/internal/router": "
|
|
157
|
-
"@aussieljk/forkbook/internal/types": "
|
|
146
|
+
"lucide-react": "__FORKBOOK_ICONS__",
|
|
147
|
+
"@aussieljk/forkbook/manager-api": "__FORKBOOK_API__",
|
|
148
|
+
"@aussieljk/forkbook/theming": "__FORKBOOK_THEMING__",
|
|
149
|
+
"@aussieljk/forkbook/theming/create": "__FORKBOOK_THEMING_CREATE__",
|
|
150
|
+
"@aussieljk/forkbook/test": "__FORKBOOK_TEST__",
|
|
151
|
+
"@aussieljk/forkbook/internal/channels": "__FORKBOOK_CHANNELS__",
|
|
152
|
+
"@aussieljk/forkbook/internal/client-logger": "__FORKBOOK_CLIENT_LOGGER__",
|
|
153
|
+
"@aussieljk/forkbook/internal/components": "__FORKBOOK_COMPONENTS__",
|
|
154
|
+
"@aussieljk/forkbook/internal/core-events": "__FORKBOOK_CORE_EVENTS__",
|
|
155
|
+
"@aussieljk/forkbook/internal/manager-errors": "__FORKBOOK_CORE_EVENTS_MANAGER_ERRORS__",
|
|
156
|
+
"@aussieljk/forkbook/internal/router": "__FORKBOOK_ROUTER__",
|
|
157
|
+
"@aussieljk/forkbook/internal/types": "__FORKBOOK_TYPES__"
|
|
158
158
|
};
|
|
159
159
|
globalPackages = Object.keys(globalsNameReferenceMap);
|
|
160
160
|
})))();
|
|
@@ -306,7 +306,7 @@ function init_addons() {
|
|
|
306
306
|
return type ? Object.keys(this.getElements(type)) : Object.keys(this.loaders);
|
|
307
307
|
}
|
|
308
308
|
};
|
|
309
|
-
KEY = "
|
|
309
|
+
KEY = "__FORKBOOK_ADDONS_MANAGER";
|
|
310
310
|
addons$1 = getAddonsStore();
|
|
311
311
|
})))();
|
|
312
312
|
}
|
|
@@ -448,7 +448,7 @@ function init_EVENTS() {
|
|
|
448
448
|
var addons;
|
|
449
449
|
function init_preview_api() {
|
|
450
450
|
return (init_preview_api = __esmMin((() => {
|
|
451
|
-
addons = globalThis.
|
|
451
|
+
addons = globalThis.__FORKBOOK_ADDONS_PREVIEW;
|
|
452
452
|
})))();
|
|
453
453
|
}
|
|
454
454
|
//#endregion
|
|
@@ -463,11 +463,11 @@ function instrument(obj, options = {}) {
|
|
|
463
463
|
try {
|
|
464
464
|
let forceInstrument = false;
|
|
465
465
|
let skipInstrument = false;
|
|
466
|
-
if (
|
|
467
|
-
else if (
|
|
468
|
-
if (
|
|
469
|
-
if (
|
|
470
|
-
return (
|
|
466
|
+
if (global.window?.location?.search?.includes("instrument=true")) forceInstrument = true;
|
|
467
|
+
else if (global.window?.location?.search?.includes("instrument=false")) skipInstrument = true;
|
|
468
|
+
if (global.window?.parent === global.window && !forceInstrument || skipInstrument) return obj;
|
|
469
|
+
if (global.window && !global.window.__FORKBOOK_ADDON_INTERACTIONS_INSTRUMENTER__) global.window.__FORKBOOK_ADDON_INTERACTIONS_INSTRUMENTER__ = new Instrumenter();
|
|
470
|
+
return (global.window?.__FORKBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(obj, options);
|
|
471
471
|
} catch (e) {
|
|
472
472
|
once.warn(e);
|
|
473
473
|
return obj;
|
|
@@ -492,7 +492,7 @@ function init_instrumenter() {
|
|
|
492
492
|
return (init_instrumenter = __esmMin((() => {
|
|
493
493
|
init_client_logger();
|
|
494
494
|
init_core_events();
|
|
495
|
-
|
|
495
|
+
init_global();
|
|
496
496
|
init_error();
|
|
497
497
|
init_EVENTS();
|
|
498
498
|
init_preview_api();
|
|
@@ -545,14 +545,14 @@ function init_instrumenter() {
|
|
|
545
545
|
this.state = {};
|
|
546
546
|
this.loadParentWindowState = () => {
|
|
547
547
|
try {
|
|
548
|
-
this.state =
|
|
548
|
+
this.state = global.window?.parent?.__FORKBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__ || {};
|
|
549
549
|
} catch {
|
|
550
550
|
this.detached = true;
|
|
551
551
|
}
|
|
552
552
|
};
|
|
553
553
|
this.updateParentWindowState = () => {
|
|
554
554
|
try {
|
|
555
|
-
|
|
555
|
+
global.window.parent.__FORKBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__ = this.state;
|
|
556
556
|
} catch {
|
|
557
557
|
this.detached = true;
|
|
558
558
|
}
|
|
@@ -789,7 +789,7 @@ function init_instrumenter() {
|
|
|
789
789
|
}, mutate ? obj : construct(obj));
|
|
790
790
|
}
|
|
791
791
|
track(method, fn, object, args, options) {
|
|
792
|
-
const storyId = args?.[0]?.__storyId__ ||
|
|
792
|
+
const storyId = args?.[0]?.__storyId__ || global.__FORKBOOK_PREVIEW__?.selectionStore?.selection?.storyId;
|
|
793
793
|
const { cursor, ancestors } = this.getState(storyId);
|
|
794
794
|
this.setState(storyId, { cursor: cursor + 1 });
|
|
795
795
|
const id = `${ancestors.slice(-1)[0] || storyId} [${cursor}] ${method}`;
|
|
@@ -864,7 +864,7 @@ function init_instrumenter() {
|
|
|
864
864
|
source
|
|
865
865
|
} };
|
|
866
866
|
}
|
|
867
|
-
if (value instanceof
|
|
867
|
+
if (value instanceof global.window?.HTMLElement) {
|
|
868
868
|
const { prefix, localName, id, classList, innerText } = value;
|
|
869
869
|
return { __element__: {
|
|
870
870
|
prefix,
|
|
@@ -1173,12 +1173,12 @@ function init_stories() {
|
|
|
1173
1173
|
})));
|
|
1174
1174
|
});
|
|
1175
1175
|
const { sidebar = {} } = provider.getConfig();
|
|
1176
|
-
const { showRoots, collapsedRoots = [], renderAriaLabel, renderLabel } = sidebar;
|
|
1176
|
+
const { showRoots, flat, collapsedRoots = [], renderAriaLabel, renderLabel } = sidebar;
|
|
1177
1177
|
const setShowRoots = typeof showRoots !== "undefined";
|
|
1178
1178
|
const storiesHashOutOfOrder = entryValues.reduce((acc, item) => {
|
|
1179
1179
|
if (docsOptions.docsMode && item.type !== "docs") return acc;
|
|
1180
1180
|
const { title } = item;
|
|
1181
|
-
const groups = title.trim().split(TITLE_PATH_SEPARATOR);
|
|
1181
|
+
const groups = flat ? [title.trim()] : title.trim().split(TITLE_PATH_SEPARATOR);
|
|
1182
1182
|
const root = (!setShowRoots || showRoots) && groups.length > 1 ? [groups.shift()] : [];
|
|
1183
1183
|
const names = [...root, ...groups];
|
|
1184
1184
|
const paths = names.reduce((list, name, idx) => {
|
|
@@ -1335,10 +1335,10 @@ async function handleRequest(request) {
|
|
|
1335
1335
|
var location, fetch$1, getSourceType, defaultStoryMapper, addRefIds, applyRefStoryUpdates, parseUrl, getRedirectedRefUrl, map, init$11;
|
|
1336
1336
|
function init_refs() {
|
|
1337
1337
|
return (init_refs = __esmMin((() => {
|
|
1338
|
-
|
|
1338
|
+
init_global();
|
|
1339
1339
|
init_esm();
|
|
1340
1340
|
init_stories();
|
|
1341
|
-
({location, fetch: fetch$1} =
|
|
1341
|
+
({location, fetch: fetch$1} = global);
|
|
1342
1342
|
getSourceType = (source, refId) => {
|
|
1343
1343
|
const { origin: localOrigin, pathname: localPathname } = location;
|
|
1344
1344
|
const { origin: sourceOrigin, pathname: sourcePathname } = new URL(source);
|
|
@@ -1451,7 +1451,7 @@ function init_refs() {
|
|
|
1451
1451
|
credentials
|
|
1452
1452
|
}));
|
|
1453
1453
|
const [indexResult, storiesResult] = await Promise.all([handleRequest(indexRequest), handleRequest(storiesRequest)]);
|
|
1454
|
-
const refUrl =
|
|
1454
|
+
const refUrl = global.CONFIG_TYPE === "DEVELOPMENT" && indexResult.storyIndex ? getRedirectedRefUrl(urlParseResult.url, (await indexRequest).url) : urlParseResult.url;
|
|
1455
1455
|
if (!indexResult.indexError || !storiesResult.indexError) {
|
|
1456
1456
|
const metadata = await handleRequest(fetch$1(`${urlParseResult.url}/metadata.json${query}`, {
|
|
1457
1457
|
headers,
|
|
@@ -1538,7 +1538,7 @@ function init_refs() {
|
|
|
1538
1538
|
await store.setState({ refs: ordered });
|
|
1539
1539
|
}
|
|
1540
1540
|
};
|
|
1541
|
-
const refs = !singleStory &&
|
|
1541
|
+
const refs = !singleStory && global.REFS || {};
|
|
1542
1542
|
const initialState = refs;
|
|
1543
1543
|
if (runCheck) new Promise(async (resolve) => {
|
|
1544
1544
|
for (const ref of Object.values(refs)) await api.checkRef({
|
|
@@ -1593,7 +1593,7 @@ function init_globals$1() {
|
|
|
1593
1593
|
return (init_globals$1 = __esmMin((() => {
|
|
1594
1594
|
init_client_logger();
|
|
1595
1595
|
init_core_events();
|
|
1596
|
-
|
|
1596
|
+
init_isEqual();
|
|
1597
1597
|
init_events();
|
|
1598
1598
|
init$10 = ({ store, fullAPI, provider }) => {
|
|
1599
1599
|
const api = {
|
|
@@ -1624,9 +1624,9 @@ function init_globals$1() {
|
|
|
1624
1624
|
};
|
|
1625
1625
|
const updateGlobals = ({ globals, storyGlobals, userGlobals }) => {
|
|
1626
1626
|
const { globals: currentGlobals, userGlobals: currentUserGlobals, storyGlobals: currentStoryGlobals } = store.getState();
|
|
1627
|
-
if (!
|
|
1628
|
-
if (!
|
|
1629
|
-
if (!
|
|
1627
|
+
if (!isEqual(globals, currentGlobals)) store.setState({ globals });
|
|
1628
|
+
if (!isEqual(userGlobals, currentUserGlobals)) store.setState({ userGlobals });
|
|
1629
|
+
if (!isEqual(storyGlobals, currentStoryGlobals)) store.setState({ storyGlobals });
|
|
1630
1630
|
};
|
|
1631
1631
|
provider.channel?.on(GLOBALS_UPDATED, function handleGlobalsUpdated({ globals, storyGlobals, userGlobals }) {
|
|
1632
1632
|
const { ref } = getEventMetadata(this, fullAPI);
|
|
@@ -1646,7 +1646,7 @@ function init_globals$1() {
|
|
|
1646
1646
|
globalTypes
|
|
1647
1647
|
});
|
|
1648
1648
|
else if (Object.keys(globals).length > 0) logger.warn("received globals from a non-local ref. This is not currently supported.");
|
|
1649
|
-
if (currentUserGlobals && Object.keys(currentUserGlobals).length !== 0 && !
|
|
1649
|
+
if (currentUserGlobals && Object.keys(currentUserGlobals).length !== 0 && !isEqual(globals, currentUserGlobals)) api.updateGlobals(currentUserGlobals);
|
|
1650
1650
|
});
|
|
1651
1651
|
return {
|
|
1652
1652
|
api,
|
|
@@ -1671,13 +1671,13 @@ var layout_exports = /* @__PURE__ */ __exportAll({
|
|
|
1671
1671
|
function init_layout() {
|
|
1672
1672
|
return (init_layout = __esmMin((() => {
|
|
1673
1673
|
init_core_events();
|
|
1674
|
-
|
|
1674
|
+
init_global();
|
|
1675
1675
|
init_toMerged();
|
|
1676
1676
|
init_isEqual();
|
|
1677
1677
|
init_create();
|
|
1678
1678
|
init_routes();
|
|
1679
1679
|
init_merge();
|
|
1680
|
-
({document: document$2} =
|
|
1680
|
+
({document: document$2} = global);
|
|
1681
1681
|
isFunction = (val) => typeof val === "function";
|
|
1682
1682
|
ActiveTabs$1 = {
|
|
1683
1683
|
SIDEBAR: "sidebar",
|
|
@@ -1761,7 +1761,7 @@ function init_layout() {
|
|
|
1761
1761
|
const uiKeys = Object.keys(uiState);
|
|
1762
1762
|
return toMerged(uiState, pick(options ?? {}, uiKeys));
|
|
1763
1763
|
};
|
|
1764
|
-
isDesktopViewport = () =>
|
|
1764
|
+
isDesktopViewport = () => global.matchMedia?.("(min-width: 600px)")?.matches ?? true;
|
|
1765
1765
|
init$9 = ({ store, provider, singleStory }) => {
|
|
1766
1766
|
const api = {
|
|
1767
1767
|
toggleFullscreen(nextState) {
|
|
@@ -2034,7 +2034,7 @@ function init_open_in_editor() {
|
|
|
2034
2034
|
return (init_open_in_editor = __esmMin((() => {
|
|
2035
2035
|
import_react$4 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
2036
2036
|
init_core_events();
|
|
2037
|
-
|
|
2037
|
+
init_circle_x();
|
|
2038
2038
|
init$7 = ({ provider, fullAPI }) => {
|
|
2039
2039
|
return {
|
|
2040
2040
|
api: { openInEditor(payload) {
|
|
@@ -2052,7 +2052,7 @@ function init_open_in_editor() {
|
|
|
2052
2052
|
} },
|
|
2053
2053
|
state: { notifications: [] },
|
|
2054
2054
|
init: async () => {
|
|
2055
|
-
const { color } = await import("./globals-runtime-
|
|
2055
|
+
const { color } = await import("./globals-runtime-Bu9eGDTe.js").then((n) => (n.t(), n.n));
|
|
2056
2056
|
provider.channel?.on(OPEN_IN_EDITOR_RESPONSE, (payload) => {
|
|
2057
2057
|
if (payload.error !== null) fullAPI.addNotification({
|
|
2058
2058
|
id: "open-in-editor-error",
|
|
@@ -2060,7 +2060,7 @@ function init_open_in_editor() {
|
|
|
2060
2060
|
headline: "Failed to open in editor",
|
|
2061
2061
|
subHeadline: payload.error || "Check the Forkbook process on the command line for more details."
|
|
2062
2062
|
},
|
|
2063
|
-
icon: /* @__PURE__ */ import_react$4.default.createElement(
|
|
2063
|
+
icon: /* @__PURE__ */ import_react$4.default.createElement(CircleX, { color: color.negative }),
|
|
2064
2064
|
duration: 8e3
|
|
2065
2065
|
});
|
|
2066
2066
|
});
|
|
@@ -2127,8 +2127,8 @@ function init_settings() {
|
|
|
2127
2127
|
var navigator$1, isMacLike$1;
|
|
2128
2128
|
function init_platform() {
|
|
2129
2129
|
return (init_platform = __esmMin((() => {
|
|
2130
|
-
|
|
2131
|
-
({navigator: navigator$1} =
|
|
2130
|
+
init_global();
|
|
2131
|
+
({navigator: navigator$1} = global);
|
|
2132
2132
|
isMacLike$1 = () => navigator$1 && navigator$1.platform ? !!navigator$1.platform.match(/(Mac|iPhone|iPod|iPad)/i) : false;
|
|
2133
2133
|
})))();
|
|
2134
2134
|
}
|
|
@@ -2242,12 +2242,12 @@ var import_copy_to_clipboard, navigator, document$1, isMacLike, controlOrMetaKey
|
|
|
2242
2242
|
function init_shortcuts() {
|
|
2243
2243
|
return (init_shortcuts = __esmMin((() => {
|
|
2244
2244
|
init_core_events();
|
|
2245
|
-
|
|
2245
|
+
init_global();
|
|
2246
2246
|
import_copy_to_clipboard = /* @__PURE__ */ __toESM(require_copy_to_clipboard(), 1);
|
|
2247
2247
|
init_client_logger();
|
|
2248
2248
|
init_shortcut();
|
|
2249
2249
|
init_layout();
|
|
2250
|
-
({navigator, document: document$1} =
|
|
2250
|
+
({navigator, document: document$1} = global);
|
|
2251
2251
|
isMacLike = () => navigator && navigator.platform ? !!navigator.platform.match(/(Mac|iPhone|iPod|iPad)/i) : false;
|
|
2252
2252
|
controlOrMetaKey = () => isMacLike() ? "meta" : "control";
|
|
2253
2253
|
defaultShortcuts = Object.freeze({
|
|
@@ -2477,7 +2477,7 @@ function init_shortcuts() {
|
|
|
2477
2477
|
fullAPI.emit(FORCE_REMOUNT, { storyId });
|
|
2478
2478
|
break;
|
|
2479
2479
|
case "openInEditor":
|
|
2480
|
-
if (
|
|
2480
|
+
if (global.CONFIG_TYPE === "DEVELOPMENT") fullAPI.openInEditor({ file: fullAPI.getCurrentStoryData().importPath });
|
|
2481
2481
|
break;
|
|
2482
2482
|
case "openInIsolation":
|
|
2483
2483
|
if (storyId && viewMode === "story") {
|
|
@@ -2687,7 +2687,7 @@ function init_stories$1() {
|
|
|
2687
2687
|
init_csf_utils();
|
|
2688
2688
|
init_router();
|
|
2689
2689
|
init_routes();
|
|
2690
|
-
|
|
2690
|
+
init_global();
|
|
2691
2691
|
init_throttle();
|
|
2692
2692
|
init_tags$1();
|
|
2693
2693
|
init_status_store();
|
|
@@ -2697,7 +2697,7 @@ function init_stories$1() {
|
|
|
2697
2697
|
init_status();
|
|
2698
2698
|
init_statuses();
|
|
2699
2699
|
init_tags();
|
|
2700
|
-
({fetch} =
|
|
2700
|
+
({fetch} = global);
|
|
2701
2701
|
STORY_INDEX_PATH = "./index.json";
|
|
2702
2702
|
TAGS_FILTER = "tags-filter";
|
|
2703
2703
|
STATIC_FILTER = "static-filter";
|
|
@@ -2724,6 +2724,18 @@ function init_stories$1() {
|
|
|
2724
2724
|
const { customQueryParams } = store.getState();
|
|
2725
2725
|
navigate(buildNavigationUrl(path, customQueryParams ?? {}), options);
|
|
2726
2726
|
};
|
|
2727
|
+
/**
|
|
2728
|
+
* Before the index loads, the manager guesses the story from the URL path. When the index loads,
|
|
2729
|
+
* read the URL again, and show the tree URL path for the story.
|
|
2730
|
+
*/
|
|
2731
|
+
const canonicaliseUrl = () => {
|
|
2732
|
+
const { location: currentLocation, path, customQueryParams } = store.getState();
|
|
2733
|
+
const pathname = currentLocation?.pathname;
|
|
2734
|
+
if (!pathname || queryFromLocation(currentLocation).path) return;
|
|
2735
|
+
const resolved = fromUrlPath(pathname);
|
|
2736
|
+
if (resolved === "/" || resolved === path && toUrlPath(resolved) === pathname) return;
|
|
2737
|
+
navigate(buildNavigationUrl(`${resolved}${currentLocation.hash ?? ""}`, customQueryParams ?? {}), { replace: true });
|
|
2738
|
+
};
|
|
2727
2739
|
const persistFilters = (inputPatch) => {
|
|
2728
2740
|
return store.setState(inputPatch, {
|
|
2729
2741
|
persistence: "url",
|
|
@@ -2988,12 +3000,14 @@ function init_stories$1() {
|
|
|
2988
3000
|
filters: {},
|
|
2989
3001
|
allStatuses
|
|
2990
3002
|
});
|
|
3003
|
+
setStoryPathEntries(Object.values(input.entries));
|
|
2991
3004
|
await store.setState({
|
|
2992
3005
|
internal_index: input,
|
|
2993
3006
|
filteredIndex: addPreparedStories(newFilteredHash, oldFilteredHash),
|
|
2994
3007
|
index: addPreparedStories(newHash, oldHash),
|
|
2995
3008
|
indexError: void 0
|
|
2996
3009
|
});
|
|
3010
|
+
canonicaliseUrl();
|
|
2997
3011
|
},
|
|
2998
3012
|
updateStory: async (storyId, update, ref) => {
|
|
2999
3013
|
if (!ref) {
|
|
@@ -3350,7 +3364,7 @@ function init_stories$1() {
|
|
|
3350
3364
|
});
|
|
3351
3365
|
});
|
|
3352
3366
|
fullStatusStore.onAllStatusChange(throttle(requestStatusFilterRebuild, STATUS_CHANGE_REBUILD_THROTTLE, { edges: ["leading", "trailing"] }));
|
|
3353
|
-
const tagPresets =
|
|
3367
|
+
const tagPresets = global.TAGS_OPTIONS || {};
|
|
3354
3368
|
const defaultTags = getDefaultTagsFromPreset(tagPresets);
|
|
3355
3369
|
const { tags, statuses } = queryFromLocation(location ?? { search: "" });
|
|
3356
3370
|
const parsedTags = parseTagsParam(tags);
|
|
@@ -3404,8 +3418,8 @@ function init_url$1() {
|
|
|
3404
3418
|
return (init_url$1 = __esmMin((() => {
|
|
3405
3419
|
init_core_events();
|
|
3406
3420
|
init_router();
|
|
3407
|
-
|
|
3408
|
-
|
|
3421
|
+
init_global();
|
|
3422
|
+
init_isEqual();
|
|
3409
3423
|
init_main();
|
|
3410
3424
|
init_merge();
|
|
3411
3425
|
init_url();
|
|
@@ -3469,7 +3483,7 @@ function init_url$1() {
|
|
|
3469
3483
|
const selectedPanel = addonPanel || void 0;
|
|
3470
3484
|
const storyId = storyIdFromUrl;
|
|
3471
3485
|
const otherParams = getCustomQueryParams(location);
|
|
3472
|
-
const customQueryParams =
|
|
3486
|
+
const customQueryParams = isEqual(prevParams, otherParams) ? prevParams : otherParams;
|
|
3473
3487
|
prevParams = customQueryParams;
|
|
3474
3488
|
return {
|
|
3475
3489
|
viewMode,
|
|
@@ -3491,14 +3505,14 @@ function init_url$1() {
|
|
|
3491
3505
|
getStoryHrefs(storyId, options = {}) {
|
|
3492
3506
|
const { id: currentStoryId, refId: currentRefId } = fullAPI.getCurrentStoryData() ?? {};
|
|
3493
3507
|
const isCurrentStory = storyId === currentStoryId && options.refId === currentRefId;
|
|
3494
|
-
const { customQueryParams,
|
|
3508
|
+
const { customQueryParams, refs } = store.getState();
|
|
3495
3509
|
const { base, inheritArgs = isCurrentStory, inheritGlobals = true, queryParams = {}, refId, viewMode = "story", embed = false, freeze = false } = options;
|
|
3496
3510
|
if (refId && !refs[refId]) throw new Error(`Invalid refId: ${refId}`);
|
|
3497
|
-
const pathname =
|
|
3498
|
-
const originAddress =
|
|
3499
|
-
const networkAddress =
|
|
3511
|
+
const pathname = global.document?.baseURI ? new URL(".", global.document.baseURI).pathname : "/";
|
|
3512
|
+
const originAddress = global.window.location.origin + pathname;
|
|
3513
|
+
const networkAddress = global.FORKBOOK_NETWORK_ADDRESS ?? originAddress;
|
|
3500
3514
|
const managerBase = base === "origin" ? originAddress : base === "network" ? networkAddress : pathname;
|
|
3501
|
-
const previewBaseUrl = base ? managerBase :
|
|
3515
|
+
const previewBaseUrl = base ? managerBase : global.document?.baseURI || originAddress;
|
|
3502
3516
|
const previewBase = refId ? refs[refId].url + "/iframe.html" : resolveIframeUrl(previewBaseUrl, { absolute: Boolean(base) });
|
|
3503
3517
|
const refParam = refId ? `&refId=${encodeURIComponent(refId)}` : "";
|
|
3504
3518
|
const { args = "", globals = "", ...otherParams } = queryParams;
|
|
@@ -3526,7 +3540,7 @@ function init_url$1() {
|
|
|
3526
3540
|
const embedParam = embed ? "&embed=true" : "";
|
|
3527
3541
|
const freezeParam = freeze ? "&freeze=finished" : "";
|
|
3528
3542
|
return {
|
|
3529
|
-
managerHref:
|
|
3543
|
+
managerHref: buildManagerHref(managerBase, `/${viewMode}/${refId ? `${refId}_` : ""}${storyId}`, `${argsParam}${globalsParam}${customManagerParams}`.replace(/^&/, "")),
|
|
3530
3544
|
previewHref: `${previewBase}?id=${storyId}&viewMode=${viewMode}${refParam}${argsParam}${refId ? "" : globalsParam}${customPreviewParams}${embedParam}${freezeParam}`
|
|
3531
3545
|
};
|
|
3532
3546
|
},
|
|
@@ -3550,7 +3564,7 @@ function init_url$1() {
|
|
|
3550
3564
|
const update = { ...customQueryParams };
|
|
3551
3565
|
for (const [key, value] of Object.entries(input)) if (value === null || value === void 0) delete update[key];
|
|
3552
3566
|
else update[key] = value;
|
|
3553
|
-
if (!
|
|
3567
|
+
if (!isEqual(customQueryParams, update)) {
|
|
3554
3568
|
store.setState({ customQueryParams: update });
|
|
3555
3569
|
provider.channel?.emit(UPDATE_QUERY_PARAMS, update);
|
|
3556
3570
|
}
|
|
@@ -3590,9 +3604,9 @@ function init_url$1() {
|
|
|
3590
3604
|
provider.channel?.on(SET_CURRENT_STORY, () => updateArgsParam());
|
|
3591
3605
|
let handleOrId;
|
|
3592
3606
|
provider.channel?.on(STORY_ARGS_UPDATED, () => {
|
|
3593
|
-
if ("requestIdleCallback" in
|
|
3594
|
-
if (handleOrId)
|
|
3595
|
-
handleOrId =
|
|
3607
|
+
if ("requestIdleCallback" in global.window) {
|
|
3608
|
+
if (handleOrId) global.window.cancelIdleCallback(handleOrId);
|
|
3609
|
+
handleOrId = global.window.requestIdleCallback(updateArgsParam, { timeout: 1e3 });
|
|
3596
3610
|
} else {
|
|
3597
3611
|
if (handleOrId) clearTimeout(handleOrId);
|
|
3598
3612
|
setTimeout(updateArgsParam, 100);
|
|
@@ -3636,14 +3650,14 @@ function init_version() {
|
|
|
3636
3650
|
//#endregion
|
|
3637
3651
|
//#region src/manager-api/modules/versions.ts
|
|
3638
3652
|
var versions_exports = /* @__PURE__ */ __exportAll({ init: () => init$1 });
|
|
3639
|
-
var import_memoizerific, import_semver, VERSIONCHECK, getVersionCheckData,
|
|
3653
|
+
var import_memoizerific, import_semver, VERSIONCHECK, getVersionCheckData, init$1;
|
|
3640
3654
|
function init_versions() {
|
|
3641
3655
|
return (init_versions = __esmMin((() => {
|
|
3642
|
-
|
|
3656
|
+
init_global();
|
|
3643
3657
|
import_memoizerific = /* @__PURE__ */ __toESM(require_memoizerific(), 1);
|
|
3644
3658
|
import_semver = /* @__PURE__ */ __toESM(require_semver(), 1);
|
|
3645
3659
|
init_version();
|
|
3646
|
-
({VERSIONCHECK} =
|
|
3660
|
+
({VERSIONCHECK} = global);
|
|
3647
3661
|
getVersionCheckData = (0, import_memoizerific.default)(1)(() => {
|
|
3648
3662
|
try {
|
|
3649
3663
|
return { ...JSON.parse(VERSIONCHECK).data || {} };
|
|
@@ -3651,10 +3665,6 @@ function init_versions() {
|
|
|
3651
3665
|
return {};
|
|
3652
3666
|
}
|
|
3653
3667
|
});
|
|
3654
|
-
normalizeRendererName = (renderer) => {
|
|
3655
|
-
if (renderer.includes("vue")) return "vue";
|
|
3656
|
-
return renderer;
|
|
3657
|
-
};
|
|
3658
3668
|
init$1 = ({ store }) => {
|
|
3659
3669
|
const { dismissedVersionNotification } = store.getState();
|
|
3660
3670
|
const state = {
|
|
@@ -3674,24 +3684,10 @@ function init_versions() {
|
|
|
3674
3684
|
if (current && import_semver.default.prerelease(current.version) && next) return latest && import_semver.default.gt(latest.version, next.version) ? latest : next;
|
|
3675
3685
|
return latest;
|
|
3676
3686
|
},
|
|
3677
|
-
getDocsUrl: ({ asset, subpath = asset
|
|
3678
|
-
const
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
const activeVersion = currentVersion?.startsWith("0.0.0") && latestVersion || currentVersion;
|
|
3682
|
-
let url = `https://storybook.js.org/${asset ? "docs-assets" : "docs"}/`;
|
|
3683
|
-
if (asset && activeVersion) url += `${import_semver.default.major(activeVersion)}.${import_semver.default.minor(activeVersion)}/`;
|
|
3684
|
-
else if (versioned && activeVersion && latestVersion) {
|
|
3685
|
-
const versionDiff = import_semver.default.diff(latestVersion, activeVersion);
|
|
3686
|
-
if (!(versionDiff === "patch" || versionDiff === null)) url += `${import_semver.default.major(activeVersion)}.${import_semver.default.minor(activeVersion)}/`;
|
|
3687
|
-
}
|
|
3688
|
-
const [cleanedSubpath, hash] = subpath?.split("#") || [];
|
|
3689
|
-
if (cleanedSubpath) url += asset ? cleanedSubpath : `${cleanedSubpath}/`;
|
|
3690
|
-
if (renderer && typeof scope.FORKBOOK_RENDERER !== "undefined") {
|
|
3691
|
-
const rendererName = scope.FORKBOOK_RENDERER;
|
|
3692
|
-
if (rendererName) url += `?renderer=${normalizeRendererName(rendererName)}`;
|
|
3693
|
-
}
|
|
3694
|
-
if (ref) url += `${url.includes("?") ? "&" : "?"}ref=${ref}`;
|
|
3687
|
+
getDocsUrl: ({ asset, subpath = asset }) => {
|
|
3688
|
+
const [path, hash] = subpath?.split("#") || [];
|
|
3689
|
+
let url = `https://forkbook.ljk.dev/${asset ? "docs-assets" : "docs"}`;
|
|
3690
|
+
if (path) url += `/${path}`;
|
|
3695
3691
|
if (hash) url += `#${hash}`;
|
|
3696
3692
|
return url;
|
|
3697
3693
|
},
|
|
@@ -3728,27 +3724,21 @@ function init_versions() {
|
|
|
3728
3724
|
//#endregion
|
|
3729
3725
|
//#region src/manager-api/modules/whatsnew.tsx
|
|
3730
3726
|
var whatsnew_exports = /* @__PURE__ */ __exportAll({ init: () => init });
|
|
3731
|
-
var import_react$3, WHATS_NEW_NOTIFICATION_ID,
|
|
3727
|
+
var import_react$3, WHATS_NEW_NOTIFICATION_ID, ForkbookIcon, init;
|
|
3732
3728
|
function init_whatsnew() {
|
|
3733
3729
|
return (init_whatsnew = __esmMin((() => {
|
|
3734
3730
|
import_react$3 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
3735
3731
|
init_core_events();
|
|
3736
|
-
|
|
3732
|
+
init_global();
|
|
3737
3733
|
WHATS_NEW_NOTIFICATION_ID = "whats-new";
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
fillRule: "evenodd",
|
|
3747
|
-
clipRule: "evenodd",
|
|
3748
|
-
d: "M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.624-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",
|
|
3749
|
-
fill: color
|
|
3750
|
-
}));
|
|
3751
|
-
};
|
|
3734
|
+
ForkbookIcon = ({ size = 14 }) => /* @__PURE__ */ import_react$3.default.createElement("span", {
|
|
3735
|
+
role: "img",
|
|
3736
|
+
"aria-label": "Forkbook",
|
|
3737
|
+
style: {
|
|
3738
|
+
fontSize: size,
|
|
3739
|
+
lineHeight: 1
|
|
3740
|
+
}
|
|
3741
|
+
}, "🪩");
|
|
3752
3742
|
init = ({ fullAPI, store, provider }) => {
|
|
3753
3743
|
const state = { whatsNewData: void 0 };
|
|
3754
3744
|
function setWhatsNewState(newState) {
|
|
@@ -3787,7 +3777,7 @@ function init_whatsnew() {
|
|
|
3787
3777
|
provider.channel?.emit(SET_WHATS_NEW_CACHE, cache);
|
|
3788
3778
|
}
|
|
3789
3779
|
const initModule = async () => {
|
|
3790
|
-
if (
|
|
3780
|
+
if (global.CONFIG_TYPE !== "DEVELOPMENT") return;
|
|
3791
3781
|
const whatsNewData = await getLatestWhatsNewPost();
|
|
3792
3782
|
setWhatsNewState(whatsNewData);
|
|
3793
3783
|
const urlState = fullAPI.getUrlState();
|
|
@@ -3798,7 +3788,7 @@ function init_whatsnew() {
|
|
|
3798
3788
|
headline: whatsNewData.title,
|
|
3799
3789
|
subHeadline: "Learn what's new in Forkbook"
|
|
3800
3790
|
},
|
|
3801
|
-
icon: /* @__PURE__ */ import_react$3.default.createElement(
|
|
3791
|
+
icon: /* @__PURE__ */ import_react$3.default.createElement(ForkbookIcon, null),
|
|
3802
3792
|
onClear({ dismissed }) {
|
|
3803
3793
|
if (dismissed) setWhatsNewCache({ lastDismissedPost: whatsNewData.url });
|
|
3804
3794
|
}
|
|
@@ -4352,6 +4342,222 @@ function init_useMedia() {
|
|
|
4352
4342
|
})))();
|
|
4353
4343
|
}
|
|
4354
4344
|
//#endregion
|
|
4345
|
+
//#region src/manager/globals/icons.ts
|
|
4346
|
+
var icons_exports = /* @__PURE__ */ __exportAll({
|
|
4347
|
+
AccessibilityIcon: () => Accessibility,
|
|
4348
|
+
AppWindowIcon: () => AppWindow,
|
|
4349
|
+
AppleIcon: () => Apple,
|
|
4350
|
+
ArchiveRestoreIcon: () => ArchiveRestore,
|
|
4351
|
+
ArrowDownIcon: () => ArrowDown,
|
|
4352
|
+
ArrowDownLeftIcon: () => ArrowDownLeft,
|
|
4353
|
+
ArrowDownRightIcon: () => ArrowDownRight,
|
|
4354
|
+
ArrowDownWideNarrowIcon: () => ArrowDownWideNarrow,
|
|
4355
|
+
ArrowLeftIcon: () => ArrowLeft,
|
|
4356
|
+
ArrowLeftRightIcon: () => ArrowLeftRight,
|
|
4357
|
+
ArrowRightIcon: () => ArrowRight,
|
|
4358
|
+
ArrowUpIcon: () => ArrowUp,
|
|
4359
|
+
ArrowUpLeftIcon: () => ArrowUpLeft,
|
|
4360
|
+
ArrowUpNarrowWideIcon: () => ArrowUpNarrowWide,
|
|
4361
|
+
ArrowUpRightIcon: () => ArrowUpRight,
|
|
4362
|
+
AtSignIcon: () => AtSign,
|
|
4363
|
+
AtomIcon: () => Atom,
|
|
4364
|
+
AwardIcon: () => Award,
|
|
4365
|
+
BadgeCheckIcon: () => BadgeCheck,
|
|
4366
|
+
BanIcon: () => Ban,
|
|
4367
|
+
BellIcon: () => Bell,
|
|
4368
|
+
BoldIcon: () => Bold,
|
|
4369
|
+
BookOpenIcon: () => BookOpen,
|
|
4370
|
+
BookmarkIcon: () => Bookmark,
|
|
4371
|
+
BriefcaseIcon: () => Briefcase,
|
|
4372
|
+
BrushCleaningIcon: () => BrushCleaning,
|
|
4373
|
+
BugIcon: () => Bug,
|
|
4374
|
+
CalendarIcon: () => Calendar,
|
|
4375
|
+
CameraIcon: () => Camera,
|
|
4376
|
+
ChartColumnIcon: () => ChartColumn,
|
|
4377
|
+
ChartLineIcon: () => ChartLine,
|
|
4378
|
+
CheckCheckIcon: () => CheckCheck,
|
|
4379
|
+
CheckIcon: () => Check,
|
|
4380
|
+
ChevronDownIcon: () => ChevronDown,
|
|
4381
|
+
ChevronLeftIcon: () => ChevronLeft,
|
|
4382
|
+
ChevronRightIcon: () => ChevronRight,
|
|
4383
|
+
ChevronUpIcon: () => ChevronUp,
|
|
4384
|
+
CircleAlertIcon: () => CircleAlert,
|
|
4385
|
+
CircleArrowLeftIcon: () => CircleArrowLeft,
|
|
4386
|
+
CircleArrowRightIcon: () => CircleArrowRight,
|
|
4387
|
+
CircleCheckIcon: () => CircleCheck,
|
|
4388
|
+
CircleIcon: () => Circle,
|
|
4389
|
+
CirclePlayIcon: () => CirclePlay,
|
|
4390
|
+
CirclePlusIcon: () => CirclePlus,
|
|
4391
|
+
CircleQuestionMarkIcon: () => CircleQuestionMark,
|
|
4392
|
+
CircleSlash2Icon: () => CircleSlash2,
|
|
4393
|
+
CircleStopIcon: () => CircleStop,
|
|
4394
|
+
CircleUserIcon: () => CircleUser,
|
|
4395
|
+
CircleXIcon: () => CircleX,
|
|
4396
|
+
ClockIcon: () => Clock,
|
|
4397
|
+
CloudIcon: () => Cloud,
|
|
4398
|
+
CodeIcon: () => Code,
|
|
4399
|
+
CodeXmlIcon: () => CodeXml,
|
|
4400
|
+
Columns2Icon: () => Columns2,
|
|
4401
|
+
CommandIcon: () => Command,
|
|
4402
|
+
CompassIcon: () => Compass,
|
|
4403
|
+
ContrastIcon: () => Contrast,
|
|
4404
|
+
CopyIcon: () => Copy,
|
|
4405
|
+
CornerUpLeftIcon: () => CornerUpLeft,
|
|
4406
|
+
CornerUpRightIcon: () => CornerUpRight,
|
|
4407
|
+
CpuIcon: () => Cpu,
|
|
4408
|
+
CreditCardIcon: () => CreditCard,
|
|
4409
|
+
CrosshairIcon: () => Crosshair,
|
|
4410
|
+
DatabaseIcon: () => Database,
|
|
4411
|
+
DeleteIcon: () => Delete,
|
|
4412
|
+
DiamondIcon: () => Diamond,
|
|
4413
|
+
DownloadIcon: () => Download,
|
|
4414
|
+
EllipsisIcon: () => Ellipsis,
|
|
4415
|
+
ExpandIcon: () => Expand,
|
|
4416
|
+
EyeIcon: () => Eye,
|
|
4417
|
+
EyeOffIcon: () => EyeOff,
|
|
4418
|
+
FastForwardIcon: () => FastForward,
|
|
4419
|
+
FileCodeIcon: () => FileCode,
|
|
4420
|
+
FileTextIcon: () => FileText,
|
|
4421
|
+
FilesIcon: () => Files,
|
|
4422
|
+
FlagIcon: () => Flag,
|
|
4423
|
+
FlaskConicalIcon: () => FlaskConical,
|
|
4424
|
+
FlipHorizontal2Icon: () => TrianglesCenterlineDashedHorizontal,
|
|
4425
|
+
FoldVerticalIcon: () => FoldVertical,
|
|
4426
|
+
FolderIcon: () => Folder,
|
|
4427
|
+
FrownIcon: () => FaceSlightlyFrowning,
|
|
4428
|
+
GaugeIcon: () => Gauge,
|
|
4429
|
+
GiftIcon: () => Gift,
|
|
4430
|
+
GitBranchIcon: () => GitBranch,
|
|
4431
|
+
GitCommitHorizontalIcon: () => GitCommitHorizontal,
|
|
4432
|
+
GitForkIcon: () => GitFork,
|
|
4433
|
+
GitMergeIcon: () => GitMerge,
|
|
4434
|
+
GitPullRequestIcon: () => GitPullRequest,
|
|
4435
|
+
GlobeIcon: () => Globe,
|
|
4436
|
+
Grid2x2Icon: () => Grid2x2,
|
|
4437
|
+
Grid3x3Icon: () => Grid3x3,
|
|
4438
|
+
GripVerticalIcon: () => GripVertical,
|
|
4439
|
+
HardDriveIcon: () => HardDrive,
|
|
4440
|
+
HeartIcon: () => Heart,
|
|
4441
|
+
HourglassIcon: () => Hourglass,
|
|
4442
|
+
HouseIcon: () => House,
|
|
4443
|
+
IdCardIcon: () => IdCard,
|
|
4444
|
+
ImageIcon: () => Image,
|
|
4445
|
+
InfoIcon: () => Info,
|
|
4446
|
+
ItalicIcon: () => Italic,
|
|
4447
|
+
KeyIcon: () => Key,
|
|
4448
|
+
LayersIcon: () => Layers,
|
|
4449
|
+
LayoutGridIcon: () => LayoutGrid,
|
|
4450
|
+
LibraryIcon: () => Library,
|
|
4451
|
+
LifeBuoyIcon: () => LifeBuoy,
|
|
4452
|
+
LinkIcon: () => Link,
|
|
4453
|
+
ListChecksIcon: () => ListChecks,
|
|
4454
|
+
ListFilterIcon: () => ListFilter,
|
|
4455
|
+
ListIcon: () => List,
|
|
4456
|
+
ListOrderedIcon: () => ListOrdered,
|
|
4457
|
+
LockIcon: () => Lock,
|
|
4458
|
+
LockOpenIcon: () => LockOpen,
|
|
4459
|
+
LucideProvider: () => LucideProvider,
|
|
4460
|
+
MailIcon: () => Mail,
|
|
4461
|
+
MapPinIcon: () => MapPin,
|
|
4462
|
+
Maximize2Icon: () => Maximize2,
|
|
4463
|
+
MehIcon: () => FaceNeutral,
|
|
4464
|
+
MemoryStickIcon: () => MemoryStick,
|
|
4465
|
+
MenuIcon: () => Menu,
|
|
4466
|
+
MessageCircleIcon: () => MessageCircle,
|
|
4467
|
+
MessageCircleMoreIcon: () => MessageCircleMore,
|
|
4468
|
+
MessageSquareIcon: () => MessageSquare,
|
|
4469
|
+
MessageSquareTextIcon: () => MessageSquareText,
|
|
4470
|
+
MessagesSquareIcon: () => MessagesSquare,
|
|
4471
|
+
MinusIcon: () => Minus,
|
|
4472
|
+
MonitorIcon: () => Monitor,
|
|
4473
|
+
MonitorPlayIcon: () => MonitorPlay,
|
|
4474
|
+
MoonIcon: () => Moon,
|
|
4475
|
+
MousePointer2Icon: () => MousePointer2,
|
|
4476
|
+
MousePointerClickIcon: () => MousePointerClick,
|
|
4477
|
+
NetworkIcon: () => Network,
|
|
4478
|
+
NewspaperIcon: () => Newspaper,
|
|
4479
|
+
NutIcon: () => Nut,
|
|
4480
|
+
PackageIcon: () => Package,
|
|
4481
|
+
PaintbrushIcon: () => Paintbrush,
|
|
4482
|
+
PaintbrushVerticalIcon: () => PaintbrushVertical,
|
|
4483
|
+
PanelLeftIcon: () => PanelLeft,
|
|
4484
|
+
PaperclipIcon: () => Paperclip,
|
|
4485
|
+
PenToolIcon: () => PenTool,
|
|
4486
|
+
PencilIcon: () => Pencil,
|
|
4487
|
+
PhoneIcon: () => Phone,
|
|
4488
|
+
PilcrowIcon: () => Pilcrow,
|
|
4489
|
+
PinIcon: () => Pin,
|
|
4490
|
+
PinOffIcon: () => PinOff,
|
|
4491
|
+
PlayIcon: () => Play,
|
|
4492
|
+
PlusIcon: () => Plus,
|
|
4493
|
+
PointerIcon: () => Pointer,
|
|
4494
|
+
PowerIcon: () => Power,
|
|
4495
|
+
PrinterIcon: () => Printer,
|
|
4496
|
+
PuzzleIcon: () => Puzzle,
|
|
4497
|
+
RefreshCwIcon: () => RefreshCw,
|
|
4498
|
+
RewindIcon: () => Rewind,
|
|
4499
|
+
RotateCcwIcon: () => RotateCcw,
|
|
4500
|
+
RotateCwIcon: () => RotateCw,
|
|
4501
|
+
Rows2Icon: () => Rows2,
|
|
4502
|
+
RssIcon: () => Rss,
|
|
4503
|
+
RulerIcon: () => Ruler,
|
|
4504
|
+
SaveIcon: () => Save,
|
|
4505
|
+
SearchIcon: () => Search,
|
|
4506
|
+
SettingsIcon: () => Settings,
|
|
4507
|
+
Share2Icon: () => Share2,
|
|
4508
|
+
ShareIcon: () => Share,
|
|
4509
|
+
ShieldIcon: () => Shield,
|
|
4510
|
+
ShoppingBasketIcon: () => ShoppingBasket,
|
|
4511
|
+
SignpostIcon: () => Signpost,
|
|
4512
|
+
SkipBackIcon: () => SkipBack,
|
|
4513
|
+
SkipForwardIcon: () => SkipForward,
|
|
4514
|
+
SlidersHorizontalIcon: () => SlidersHorizontal,
|
|
4515
|
+
SmartphoneIcon: () => Smartphone,
|
|
4516
|
+
SmileIcon: () => FaceSlightlySmiling,
|
|
4517
|
+
SquareArrowDownLeftIcon: () => SquareArrowDownLeft,
|
|
4518
|
+
SquareArrowOutUpRightIcon: () => SquareArrowOutUpRight,
|
|
4519
|
+
SquareDashedIcon: () => SquareDashed,
|
|
4520
|
+
SquareIcon: () => Square,
|
|
4521
|
+
SquareXIcon: () => SquareX,
|
|
4522
|
+
StarIcon: () => Star,
|
|
4523
|
+
StickerIcon: () => Sticker,
|
|
4524
|
+
SunIcon: () => Sun,
|
|
4525
|
+
TabletIcon: () => Tablet,
|
|
4526
|
+
TagIcon: () => Tag$1,
|
|
4527
|
+
TerminalIcon: () => Terminal,
|
|
4528
|
+
TextAlignEndIcon: () => TextAlignEnd,
|
|
4529
|
+
TextAlignStartIcon: () => TextAlignStart,
|
|
4530
|
+
TextCursorInputIcon: () => TextCursorInput,
|
|
4531
|
+
ThumbsUpIcon: () => ThumbsUp,
|
|
4532
|
+
TimerIcon: () => Timer,
|
|
4533
|
+
Trash2Icon: () => Trash,
|
|
4534
|
+
TriangleAlertIcon: () => TriangleAlert,
|
|
4535
|
+
TypeIcon: () => Type,
|
|
4536
|
+
UnfoldVerticalIcon: () => UnfoldVertical,
|
|
4537
|
+
UnlinkIcon: () => Unlink,
|
|
4538
|
+
UploadIcon: () => Upload,
|
|
4539
|
+
UserCogIcon: () => UserCog,
|
|
4540
|
+
UserIcon: () => User,
|
|
4541
|
+
UserPlusIcon: () => UserPlus,
|
|
4542
|
+
UsersIcon: () => Users,
|
|
4543
|
+
VideoIcon: () => Video,
|
|
4544
|
+
Volume2Icon: () => Volume2,
|
|
4545
|
+
WandSparklesIcon: () => WandSparkles,
|
|
4546
|
+
WatchIcon: () => Watch,
|
|
4547
|
+
WaypointsIcon: () => Waypoints,
|
|
4548
|
+
WrenchIcon: () => Wrench,
|
|
4549
|
+
XIcon: () => X,
|
|
4550
|
+
ZapIcon: () => Zap,
|
|
4551
|
+
ZapOffIcon: () => ZapOff,
|
|
4552
|
+
ZoomInIcon: () => ZoomIn,
|
|
4553
|
+
ZoomOutIcon: () => ZoomOut
|
|
4554
|
+
});
|
|
4555
|
+
function init_icons() {
|
|
4556
|
+
return (init_icons = __esmMin((() => {
|
|
4557
|
+
init_accessibility(), init_apple(), init_app_window(), init_archive_restore(), init_arrow_down(), init_arrow_down_left(), init_arrow_down_right(), init_arrow_down_wide_narrow(), init_arrow_left(), init_arrow_left_right(), init_arrow_right(), init_arrow_up(), init_arrow_up_left(), init_arrow_up_narrow_wide(), init_arrow_up_right(), init_atom(), init_at_sign(), init_award(), init_badge_check(), init_ban(), init_bell(), init_bold(), init_bookmark(), init_book_open(), init_briefcase(), init_brush_cleaning(), init_bug(), init_calendar(), init_camera(), init_chart_column(), init_chart_line(), init_check_check(), init_check(), init_chevron_down(), init_chevron_left(), init_chevron_right(), init_chevron_up(), init_circle_alert(), init_circle_arrow_left(), init_circle_arrow_right(), init_circle_check(), init_circle(), init_circle_play(), init_circle_plus(), init_circle_question_mark(), init_circle_slash_2(), init_circle_stop(), init_circle_user(), init_circle_x(), init_clock(), init_cloud(), init_code(), init_code_xml(), init_columns_2(), init_command(), init_compass(), init_contrast(), init_copy(), init_corner_up_left(), init_corner_up_right(), init_cpu(), init_credit_card(), init_crosshair(), init_database(), init_delete(), init_diamond(), init_download(), init_ellipsis(), init_expand(), init_eye(), init_eye_off(), init_fast_forward(), init_file_code(), init_files(), init_file_text(), init_flag(), init_flask_conical(), init_triangles_centerline_dashed_horizontal(), init_folder(), init_fold_vertical(), init_face_slightly_frowning(), init_gauge(), init_gift(), init_git_branch(), init_git_commit_horizontal(), init_git_fork(), init_git_merge(), init_git_pull_request(), init_globe(), init_grid_2x2(), init_grid_3x3(), init_grip_vertical(), init_hard_drive(), init_heart(), init_hourglass(), init_house(), init_id_card(), init_image(), init_info(), init_italic(), init_key(), init_layers(), init_layout_grid(), init_library(), init_life_buoy(), init_link(), init_list_checks(), init_list_filter(), init_list(), init_list_ordered(), init_lock(), init_lock_open(), init_context$1(), init_mail(), init_map_pin(), init_maximize_2(), init_face_neutral(), init_memory_stick(), init_menu(), init_message_circle(), init_message_circle_more(), init_message_square(), init_message_square_text(), init_messages_square(), init_minus(), init_monitor(), init_monitor_play(), init_moon(), init_mouse_pointer_2(), init_mouse_pointer_click(), init_network(), init_newspaper(), init_nut(), init_package(), init_paintbrush(), init_paintbrush_vertical(), init_panel_left(), init_paperclip(), init_pencil(), init_pen_tool(), init_phone(), init_pilcrow(), init_pin(), init_pin_off(), init_play(), init_plus(), init_pointer(), init_power(), init_printer(), init_puzzle(), init_refresh_cw(), init_rewind(), init_rotate_ccw(), init_rotate_cw(), init_rows_2(), init_rss(), init_ruler(), init_save(), init_search(), init_settings$1(), init_share_2(), init_share(), init_shield(), init_shopping_basket(), init_signpost(), init_skip_back(), init_skip_forward(), init_sliders_horizontal(), init_smartphone(), init_face_slightly_smiling(), init_square_arrow_down_left(), init_square_arrow_out_up_right(), init_square_dashed(), init_square(), init_square_x(), init_star(), init_sticker(), init_sun(), init_tablet(), init_tag(), init_terminal(), init_text_align_end(), init_text_align_start(), init_text_cursor_input(), init_thumbs_up(), init_timer(), init_trash(), init_triangle_alert(), init_type(), init_unfold_vertical(), init_unlink(), init_upload(), init_user_cog(), init_user(), init_user_plus(), init_users(), init_video(), init_volume_2(), init_wand_sparkles(), init_watch(), init_waypoints(), init_wrench(), init_x(), init_zap(), init_zap_off(), init_zoom_in(), init_zoom_out();
|
|
4558
|
+
})))();
|
|
4559
|
+
}
|
|
4560
|
+
//#endregion
|
|
4355
4561
|
//#region src/manager/globals/runtime.ts
|
|
4356
4562
|
var import_react, import_react_dom, import_client, import_jsx_runtime, globalsNameValueMap;
|
|
4357
4563
|
function init_runtime() {
|
|
@@ -4367,11 +4573,11 @@ function init_runtime() {
|
|
|
4367
4573
|
init_manager_errors();
|
|
4368
4574
|
init_router();
|
|
4369
4575
|
init_types();
|
|
4370
|
-
init_dist$2();
|
|
4371
4576
|
init_manager_api();
|
|
4372
4577
|
init_test();
|
|
4373
4578
|
init_theming();
|
|
4374
4579
|
init_create();
|
|
4580
|
+
init_icons();
|
|
4375
4581
|
globalsNameValueMap = {
|
|
4376
4582
|
react: import_react,
|
|
4377
4583
|
"react/jsx-runtime": import_jsx_runtime,
|
|
@@ -4381,7 +4587,7 @@ function init_runtime() {
|
|
|
4381
4587
|
},
|
|
4382
4588
|
"react-dom": import_react_dom,
|
|
4383
4589
|
"react-dom/client": import_client,
|
|
4384
|
-
"
|
|
4590
|
+
"lucide-react": icons_exports,
|
|
4385
4591
|
"@aussieljk/forkbook/manager-api": manager_api_exports,
|
|
4386
4592
|
"@aussieljk/forkbook/theming": theming_exports,
|
|
4387
4593
|
"@aussieljk/forkbook/theming/create": create_exports,
|
|
@@ -4399,12 +4605,12 @@ function init_runtime() {
|
|
|
4399
4605
|
//#endregion
|
|
4400
4606
|
//#region src/manager/utils/prepareForTelemetry.ts
|
|
4401
4607
|
function getBrowserInfo() {
|
|
4402
|
-
if (!browserInfo) browserInfo = new import_browser_dtector_umd_min.default(
|
|
4608
|
+
if (!browserInfo) browserInfo = new import_browser_dtector_umd_min.default(global.navigator?.userAgent).getBrowserInfo();
|
|
4403
4609
|
return browserInfo;
|
|
4404
4610
|
}
|
|
4405
4611
|
function prepareForTelemetry(originalError) {
|
|
4406
4612
|
let error = originalError;
|
|
4407
|
-
if (originalError.target ===
|
|
4613
|
+
if (originalError.target === global || originalError.currentTarget === global || originalError.srcElement === global) {
|
|
4408
4614
|
error = new Error(originalError.message);
|
|
4409
4615
|
error.name = originalError.name || error.name;
|
|
4410
4616
|
}
|
|
@@ -4416,7 +4622,7 @@ var import_browser_dtector_umd_min, browserInfo, errorMessages, shouldSkipError;
|
|
|
4416
4622
|
function init_prepareForTelemetry() {
|
|
4417
4623
|
return (init_prepareForTelemetry = __esmMin((() => {
|
|
4418
4624
|
init_manager_errors();
|
|
4419
|
-
|
|
4625
|
+
init_global();
|
|
4420
4626
|
import_browser_dtector_umd_min = /* @__PURE__ */ __toESM(require_browser_dtector_umd_min(), 1);
|
|
4421
4627
|
errorMessages = [
|
|
4422
4628
|
"ResizeObserver loop completed with undelivered notifications.",
|