@aussieljk/forkbook 0.0.1-8 → 0.0.1-9
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/assets/server/template.ejs +13 -0
- package/dist/_browser-chunks/{Color-ZG7LKYDZ.js → Color-GEC6HRBY.js} +2 -2
- package/dist/_browser-chunks/{WithTooltip-YZ36EZ4X.js → WithTooltip-CS3HPMGA.js} +6 -4
- package/dist/_browser-chunks/{chunk-MZVQEZOB.js → chunk-6QEYM2YW.js} +24 -24
- package/dist/_browser-chunks/chunk-C5TKXHTM.js +82 -0
- package/dist/_browser-chunks/{chunk-WVF42CP2.js → chunk-DNJ3OSLB.js} +46 -52
- package/dist/_browser-chunks/{chunk-E47B5255.js → chunk-IFADVEQE.js} +63 -543
- package/dist/_browser-chunks/chunk-NPNIBOPF.js +18 -0
- package/dist/_browser-chunks/{chunk-YYWKZ7O3.js → chunk-NTUHL5NS.js} +5 -2
- package/dist/_browser-chunks/chunk-OOETBSA7.js +502 -0
- package/dist/_browser-chunks/{chunk-SK6S7ZXD.js → chunk-PFCGVFP6.js} +3 -3
- package/dist/_browser-chunks/{chunk-H4ZHAXN3.js → chunk-V5U45XXZ.js} +1 -1
- package/dist/_browser-chunks/chunk-XKTORVEQ.js +255 -0
- package/dist/_browser-chunks/{chunk-DAUHYZUB.js → chunk-XTQCLWVH.js} +255 -494
- package/dist/_browser-chunks/{chunk-SFMQDIN2.js → chunk-ZHKZKFY4.js} +1 -1
- package/dist/_node-chunks/{attached-runtime-SRP2RPCT.js → attached-runtime-OI5IEIR7.js} +29 -29
- package/dist/_node-chunks/builder-manager-JEIVVV43.js +1139 -0
- package/dist/_node-chunks/{chunk-A73YRJPA.js → chunk-2FWH7OUZ.js} +6 -6
- package/dist/_node-chunks/{chunk-DGA2Q7TE.js → chunk-2QPSOAHI.js} +6 -6
- package/dist/_node-chunks/{chunk-QQKVXB5Q.js → chunk-2T2S3YYS.js} +6 -6
- package/dist/_node-chunks/{chunk-7GLNBVQO.js → chunk-35JF5BS4.js} +6 -6
- package/dist/_node-chunks/{chunk-JB5Q4WGX.js → chunk-3I43FMZC.js} +7 -7
- package/dist/_node-chunks/{chunk-WF7RDUU7.js → chunk-3R57KO3F.js} +10 -10
- package/dist/_node-chunks/chunk-4CWEAS2M.js +11 -0
- package/dist/_node-chunks/{chunk-TLB2LNUO.js → chunk-4HYKKRBM.js} +8 -8
- package/dist/_node-chunks/{chunk-YBRV5FIK.js → chunk-4W6HJYYC.js} +7 -7
- package/dist/_node-chunks/{chunk-VV6CPF3T.js → chunk-57BBVTHQ.js} +6 -6
- package/dist/_node-chunks/{chunk-MGFH4KGP.js → chunk-5MDE2KCS.js} +6 -6
- package/dist/_node-chunks/{chunk-TBLZESXE.js → chunk-5NCRCPYK.js} +6 -6
- package/dist/_node-chunks/{chunk-QEDRYWP7.js → chunk-6O6BHNDO.js} +6 -6
- package/dist/_node-chunks/chunk-7PZDRNVT.js +19 -0
- package/dist/_node-chunks/{chunk-M74NU6PU.js → chunk-7X5WP3UJ.js} +6 -6
- package/dist/_node-chunks/{chunk-DSWCMXKR.js → chunk-7XYURNT2.js} +10 -10
- package/dist/_node-chunks/{chunk-SNQKCFKN.js → chunk-AONRQAQP.js} +6 -6
- package/dist/_node-chunks/chunk-ASFRQHZH.js +20 -0
- package/dist/_node-chunks/{chunk-54WGE5OK.js → chunk-AUY6EZPA.js} +8 -8
- package/dist/_node-chunks/{chunk-I5Y7NDAM.js → chunk-BCFTMBAH.js} +7 -7
- package/dist/_node-chunks/{chunk-6GBMB2E4.js → chunk-BEHNZYWF.js} +8 -8
- package/dist/_node-chunks/chunk-BZNVRJ6H.js +25 -0
- package/dist/_node-chunks/chunk-CHLWJ5F5.js +20 -0
- package/dist/_node-chunks/{chunk-D4IL5V6A.js → chunk-CMDR42D7.js} +6 -6
- package/dist/_node-chunks/{chunk-LF7EC235.js → chunk-CP646EXE.js} +8 -8
- package/dist/_node-chunks/chunk-DDRGY4RJ.js +57 -0
- package/dist/_node-chunks/{chunk-UCBUYT7S.js → chunk-DMDIIGJ4.js} +7 -7
- package/dist/_node-chunks/{chunk-DADJTKJT.js → chunk-DTZELAXT.js} +7 -7
- package/dist/_node-chunks/{chunk-6YDXCU32.js → chunk-ELMANXC3.js} +6 -6
- package/dist/_node-chunks/{chunk-VTLGMRU5.js → chunk-ELXK72IJ.js} +6 -6
- package/dist/_node-chunks/{chunk-GXSB54NU.js → chunk-F6RXCQF6.js} +6 -6
- package/dist/_node-chunks/{chunk-4T3WPVSQ.js → chunk-FKQHIPUA.js} +6 -6
- package/dist/_node-chunks/{chunk-2WPUJ7UM.js → chunk-FPWDVE2V.js} +7 -7
- package/dist/_node-chunks/{chunk-HNMHTOKI.js → chunk-FVJLKXNS.js} +23 -23
- package/dist/_node-chunks/{chunk-ICGRYYV7.js → chunk-GABGLW7D.js} +7 -7
- package/dist/_node-chunks/{chunk-BPMXWGDX.js → chunk-GOZDHTIK.js} +6 -6
- package/dist/_node-chunks/{chunk-3NXJBXBF.js → chunk-GPSR4MZL.js} +14 -14
- package/dist/_node-chunks/{chunk-T62LXT34.js → chunk-GZ2YC6US.js} +6 -6
- package/dist/_node-chunks/chunk-H5HD6EW2.js +28 -0
- package/dist/_node-chunks/{chunk-3KY2GA5X.js → chunk-I6ANUF4J.js} +7 -7
- package/dist/_node-chunks/{chunk-CZDEJ7DD.js → chunk-ICIP5FB5.js} +9 -9
- package/dist/_node-chunks/{chunk-CL4T6DGA.js → chunk-IK35TZRH.js} +7 -7
- package/dist/_node-chunks/{chunk-CHPKBTH7.js → chunk-IOJ6NYLD.js} +7 -7
- package/dist/_node-chunks/{chunk-77YIWZPS.js → chunk-IWEZ5KSJ.js} +7 -7
- package/dist/_node-chunks/{chunk-UBEILYLL.js → chunk-JOOZKSBS.js} +7 -7
- package/dist/_node-chunks/{chunk-I26RWAW3.js → chunk-JXVJAA3U.js} +6 -6
- package/dist/_node-chunks/{chunk-GUKZDREX.js → chunk-K6VX4GUH.js} +8 -8
- package/dist/_node-chunks/{chunk-VPGX2PAB.js → chunk-L7US6VLX.js} +6 -6
- package/dist/_node-chunks/{chunk-JCLP42A7.js → chunk-LKMHU2P3.js} +7 -7
- package/dist/_node-chunks/{chunk-IVU4D6LF.js → chunk-LMWS7NDR.js} +7 -7
- package/dist/_node-chunks/{chunk-M3F5R2JO.js → chunk-LPDII6WJ.js} +6 -6
- package/dist/_node-chunks/{chunk-RR3WLRNQ.js → chunk-MBJ2CUVU.js} +7 -7
- package/dist/_node-chunks/{chunk-KQBTXUT5.js → chunk-MGXABKCL.js} +6 -6
- package/dist/_node-chunks/{chunk-BY65FGKD.js → chunk-MHLTWQGQ.js} +8 -8
- package/dist/_node-chunks/{chunk-7YBOQWWR.js → chunk-MMMKY3DA.js} +8 -8
- package/dist/_node-chunks/{chunk-NV6HM53D.js → chunk-MXNT3HBF.js} +6 -6
- package/dist/_node-chunks/{chunk-LPLXO4HE.js → chunk-O7WMRMVJ.js} +6 -6
- package/dist/_node-chunks/{chunk-BLAPFOIX.js → chunk-OPLD7FOE.js} +6 -6
- package/dist/_node-chunks/{chunk-XTCOGCTP.js → chunk-P4CWOISW.js} +7 -7
- package/dist/_node-chunks/{chunk-IFF53QVX.js → chunk-POXIO453.js} +7 -7
- package/dist/_node-chunks/{chunk-4U5ZQZJ4.js → chunk-PRTTCG3N.js} +6 -6
- package/dist/_node-chunks/{chunk-27R37QFW.js → chunk-QE3NKWUX.js} +7 -7
- package/dist/_node-chunks/{chunk-LYMYDMEK.js → chunk-QMERCCIQ.js} +6 -6
- package/dist/_node-chunks/{chunk-4CPTSXU6.js → chunk-QVF2NJK4.js} +10 -10
- package/dist/_node-chunks/{chunk-Y2HWZ262.js → chunk-R33EXC6B.js} +12 -12
- package/dist/_node-chunks/{chunk-ZKS2H56J.js → chunk-R3BJJGEG.js} +6 -6
- package/dist/_node-chunks/chunk-REDMAZRP.js +18 -0
- package/dist/_node-chunks/{chunk-DVSKRIH3.js → chunk-RJV4QWRP.js} +7 -7
- package/dist/_node-chunks/{chunk-3KKSPEAE.js → chunk-RXEMA2TT.js} +6 -6
- package/dist/_node-chunks/{chunk-XGMO4SW2.js → chunk-TKOUTJWX.js} +6 -6
- package/dist/_node-chunks/{chunk-LSKOVF6F.js → chunk-TRZWEDUE.js} +6 -6
- package/dist/_node-chunks/{chunk-2ZB3ZVDY.js → chunk-U3BEYEZ5.js} +8 -8
- package/dist/_node-chunks/{chunk-HF6FRLS6.js → chunk-UI6NW64P.js} +19 -19
- package/dist/_node-chunks/chunk-UK2NKD4E.js +532 -0
- package/dist/_node-chunks/{chunk-II4SIIJW.js → chunk-VF6725VX.js} +7 -7
- package/dist/_node-chunks/{chunk-YMVL55QY.js → chunk-VJJTMS2R.js} +9 -9
- package/dist/_node-chunks/{chunk-62PEOH4P.js → chunk-VQBXHU2T.js} +8 -8
- package/dist/_node-chunks/{chunk-5BQKMZYJ.js → chunk-VZ3PQJKF.js} +23 -23
- package/dist/_node-chunks/{chunk-G6UTEYYQ.js → chunk-WI6FDUOM.js} +8 -8
- package/dist/_node-chunks/{chunk-4QYNOSOA.js → chunk-WTS7HYGM.js} +7 -7
- package/dist/_node-chunks/{chunk-VQ2NW4OR.js → chunk-WXMIR2F2.js} +8 -8
- package/dist/_node-chunks/{chunk-G3J2VAY4.js → chunk-XA2UQNP3.js} +10 -10
- package/dist/_node-chunks/{chunk-VTVQ5TKB.js → chunk-Y2FWEOIW.js} +8 -8
- package/dist/_node-chunks/{chunk-526SOV2Y.js → chunk-Y5JLYH6J.js} +6 -6
- package/dist/_node-chunks/{chunk-X5IJ42Q2.js → chunk-YELBVH4K.js} +7 -7
- package/dist/_node-chunks/{chunk-QQ7GEJNY.js → chunk-YK5N35SR.js} +9 -9
- package/dist/_node-chunks/{chunk-UEWCGYSE.js → chunk-YLXOGJX6.js} +21 -9
- package/dist/_node-chunks/{chunk-OZBNKCKM.js → chunk-YSVJU5VZ.js} +6 -6
- package/dist/_node-chunks/{chunk-F2XPZVCK.js → chunk-ZFTEHWNT.js} +8 -8
- package/dist/_node-chunks/{chunk-6DZY675E.js → chunk-ZLBDSC7U.js} +9 -9
- package/dist/_node-chunks/{chunk-6DCYMQX2.js → chunk-ZMI35R7E.js} +45 -34
- package/dist/_node-chunks/{chunk-QVIC3UDL.js → chunk-ZOE2QQSS.js} +8 -8
- package/dist/_node-chunks/{chunk-OFZX45ZR.js → chunk-ZST2SPBX.js} +6 -6
- package/dist/_node-chunks/{chunk-IAYHJZOR.js → chunk-ZUYRTHXN.js} +6 -6
- package/dist/_node-chunks/dist-FABQFQ76.js +27 -0
- package/dist/_node-chunks/dist-ZUXZVI3A.js +16 -0
- package/dist/_node-chunks/{local-runtime-Y6OH2SFM.js → local-runtime-LKT5I6NG.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-R6GNGQP2.js → mdx-plugin-2YIBFVCV.js} +13 -13
- package/dist/_node-chunks/{monorepo-R2CLQIWG.js → monorepo-HROZW452.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-PTWFSPXD.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-MUIOTVJR.js} +11 -11
- package/dist/_node-chunks/optimized-tests-EK5H7MUQ.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-5VCD6ED3.js → pattern-copy-play-VQNMME5S.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-T4RENREB.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-SKSQEDUP.js → rehype-external-links-WXD3NVWK.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-27WNXM7U.js → rehype-slug-LWBEJBWR.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-PDGCGDW4.js → relaxed-limits-MKV6OE3S.js} +11 -11
- package/dist/_node-chunks/{run-BD52SWQC.js → run-A4A2HQDT.js} +17 -17
- package/dist/_node-chunks/{run-IKBDOUY2.js → run-UBPF7ZUG.js} +15 -15
- package/dist/_node-chunks/session-id-YZZIHNID.js +23 -0
- package/dist/_node-chunks/{setup-7ECNMG4A.js → setup-SMMCS2Q5.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-J4YODMMP.js → vitest.config.4.template-PYSDGPB4.js} +7 -7
- package/dist/addon-a11y/index.js +1 -1
- package/dist/addon-a11y/manager.js +20 -24
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +1 -1
- package/dist/addon-docs/blocks.js +20 -26
- package/dist/addon-docs/manager.js +1 -1
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/index.js +4 -2
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-links/preview.js +4 -2
- package/dist/addon-links/react/index.js +3 -1
- package/dist/addon-mcp/preset.js +8 -8
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +3 -3
- package/dist/addon-pseudo-states/manager.js +2 -2
- package/dist/addon-themes/manager.js +3 -3
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +9 -9
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +16 -16
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +14 -14
- package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
- package/dist/addon-vitest/vitest-plugin/index.js +13 -13
- package/dist/addon-vitest/vitest-plugin/setup-file.js +1 -1
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +59 -59
- package/dist/bin/dispatcher.js +10 -10
- package/dist/bin/loader.js +8 -8
- package/dist/builder-vite/index.js +15 -15
- package/dist/builder-vite/preset.js +13 -13
- package/dist/{chunk-CJY2njs4.d.ts → chunk-BhAPwdVB.d.ts} +1 -1
- package/dist/{chunk-pFH9P91a.d.ts → chunk-DXsI731B.d.ts} +1 -1
- package/dist/{chunk-DktrsDd6.d.ts → chunk-PdOIKm0H.d.ts} +35 -2
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +22 -22
- 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/common/index.d.ts +2 -2
- package/dist/common/index.js +35 -35
- package/dist/components/index.d.ts +38 -1
- package/dist/components/index.js +593 -518
- package/dist/core-server/index.d.ts +2 -2
- package/dist/core-server/index.js +282 -173
- package/dist/core-server/presets/common-manager.js +491 -117
- package/dist/core-server/presets/common-override-preset.js +10 -10
- package/dist/core-server/presets/common-preset.js +51 -43
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf-tools/index.d.ts +3 -1
- package/dist/csf-tools/index.js +14 -12
- package/dist/manager/_manager-chunks/{globals-runtime-z143vedu.js → globals-runtime-B1q30If4.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-4fCHtNC6.js → globals-runtime-BY3epqww.js} +413 -2
- package/dist/manager/_manager-chunks/globals-runtime-Bj5KDUJi.js +8935 -0
- package/dist/manager/_manager-chunks/{globals-runtime-Bpc_ftuT.js → globals-runtime-Bs75QQ_I.js} +3 -1192
- package/dist/manager/_manager-chunks/{globals-runtime-D82vqOGq.js → globals-runtime-BweHuXkK.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-BKW-4ztO.js → globals-runtime-C4GdZS7_.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-DB8fVA5g.js → globals-runtime-CA8AuIRT.js} +2 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DZN_3ZLm.js → globals-runtime-CnfHMZV0.js} +153 -27
- package/dist/manager/_manager-chunks/{globals-runtime-WhJXr5R1.js → globals-runtime-DgHSAUIB.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-kmPSyf3j.js → globals-runtime-DvV_TF3-.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-DgUeynuu.js → globals-runtime-FcobHVj9.js} +475 -370
- package/dist/manager/_manager-chunks/{globals-runtime-CoCzM1V_.js → globals-runtime-WZKaeKm9.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-CIcNS9TG.js → globals-runtime-dh5vgpgm.js} +238 -232
- package/dist/manager/_manager-chunks/{globals-runtime-DOPUchia.js → globals-runtime-wjkxyMn0.js} +4 -3
- package/dist/manager/_manager-chunks/{runtime-DEHcqyTM.js → runtime-BSkBrZa7.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-C-s1miBr.js → runtime-Bdda1ODD.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-DuptfEhw.js → runtime-Bp_XtatN.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-BrwmuSZ1.js → runtime-D-bkVc6v.js} +31 -30
- package/dist/manager/_manager-chunks/{runtime-CHQZzIX6.js → runtime-DP_7wWTN.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-Dtpc5s3G.js → runtime-DlX-MKi1.js} +335 -327
- package/dist/manager/_manager-chunks/{runtime-B_U-7omv.js → runtime-TytMkKcC.js} +340 -241
- package/dist/manager/_manager-chunks/{runtime-BrlctLSK.js → runtime-jOBCBZ66.js} +100 -63
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/globals.d.ts +1 -1
- package/dist/manager/globals.js +1 -1
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +34 -9
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.js +9 -9
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +10 -10
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.js +8 -8
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/node-logger/index.js +9 -9
- package/dist/oxc-parser/index.js +10 -10
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +11 -11
- package/dist/react/preset.js +13 -13
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/metro/node.js +10 -10
- package/dist/react-native/metro/withForkbook.js +11 -11
- package/dist/react-native/scripts/generate.js +8 -8
- 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 +48 -8
- 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/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/telemetry/index.js +43 -43
- package/dist/theming/index.js +13 -9
- package/dist/types/index.d.ts +2 -2
- package/package.json +2 -2
- package/dist/_node-chunks/builder-manager-V7M6SFEM.js +0 -1623
- package/dist/_node-chunks/chunk-27KT3BJI.js +0 -25
- package/dist/_node-chunks/chunk-4XNKH2BY.js +0 -18
- package/dist/_node-chunks/chunk-CT3L2NXZ.js +0 -20
- package/dist/_node-chunks/chunk-NORBEBNM.js +0 -19
- package/dist/_node-chunks/chunk-SBNQ6YGM.js +0 -11
- package/dist/_node-chunks/chunk-YHWOGAFM.js +0 -20
- package/dist/_node-chunks/dist-GJ53PFWF.js +0 -27
- package/dist/_node-chunks/dist-TLMACGH6.js +0 -16
- package/dist/_node-chunks/optimized-tests-DIPB4OM6.js +0 -22
- package/dist/_node-chunks/postinstallAddon-PSN7XRSV.js +0 -20
- package/dist/_node-chunks/session-id-K7PM5ZGL.js +0 -23
- package/dist/manager/_manager-chunks/globals-runtime-BMCaBukU.js +0 -413
- package/dist/manager/_manager-chunks/globals-runtime-BO0pfoqL.js +0 -3414
- package/dist/manager/_manager-chunks/globals-runtime-BZKYJxYC.js +0 -2093
- package/dist/manager/_manager-chunks/globals-runtime-CTyYXvUm.js +0 -41
- package/dist/manager/_manager-chunks/globals-runtime-Dbt08xWQ.js +0 -1960
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jjck69g4sd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jjck69g4sd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jjck69g4sd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jjck69g4sd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jjck69g4sd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jjck69g4sd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
oxcParse
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
16
|
-
import "../_node-chunks/chunk-
|
|
17
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-DMDIIGJ4.js";
|
|
15
|
+
import "../_node-chunks/chunk-WXMIR2F2.js";
|
|
16
|
+
import "../_node-chunks/chunk-QE3NKWUX.js";
|
|
17
|
+
import "../_node-chunks/chunk-YSVJU5VZ.js";
|
|
18
18
|
|
|
19
19
|
// src/oxc-parser/worker.ts
|
|
20
20
|
import { parentPort } from "node:worker_threads";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as combineArgs, Bt as simulateDOMContentLoaded,
|
|
1
|
+
import { $t as combineArgs, Bt as simulateDOMContentLoaded, Dc as Tag, Ft as getService, Gt as PreviewWithSelection, Ht as WebView, It as registerService, Jt as Preview, Kt as View, Lt as pauseAnimations, Qt as userOrAutoTitleFromSpecifier, Rt as waitForAnimations, Ut as UrlStore, Vt as simulatePageLoad, Wt as PreviewWeb, Xt as sortStoriesV7, Yt as DocsContext, Zt as userOrAutoTitle, _n as makeDecorator, an as filterArgTypes, cn as composeStories, dn as setProjectAnnotations, en as decorateStory, fn as composeStepRunners, gn as normalizeStory, hn as normalizeProjectAnnotations, in as PropDescriptor, ln as composeStory, mn as normalizeArrays, nn as sanitizeStoryContextUpdate, on as combineParameters, pn as composeConfigs, qt as SelectionStore, rn as inferControls, sn as getCsfFactoryAnnotations, tn as defaultDecorateStory, un as setDefaultProjectAnnotations, vn as addons, zt as emitTransformCode } from "../chunk-PdOIKm0H.js";
|
|
2
2
|
import { c as ensureChannel, f as setChannel, l as getChannel, s as clearChannel, u as installNoopChannel } from "../chunk-BXLImeLy.js";
|
|
3
3
|
import { C as useStoryContext, S as useState, _ as useGlobals, a as StoryStore, b as useReducer, c as prepareMeta, d as HooksContext, f as applyHooks, g as useEffect, h as useChannel, l as prepareStory, m as useCallback, o as Report, p as useArgs, s as ReporterAPI, v as useMemo, x as useRef, y as useParameter } from "../chunk-Bpi2tz-6.js";
|
|
4
4
|
export { DocsContext, HooksContext, Preview, PreviewWeb, PreviewWithSelection, type PropDescriptor, type Report, ReporterAPI, type SelectionStore, StoryStore, Tag, UrlStore, type View, WebView, addons, applyHooks, clearChannel, combineArgs, combineParameters, composeConfigs, composeStepRunners, composeStories, composeStory, decorateStory, defaultDecorateStory, emitTransformCode, ensureChannel, filterArgTypes, getChannel, getCsfFactoryAnnotations, getService, inferControls, installNoopChannel, makeDecorator, normalizeArrays, normalizeProjectAnnotations, normalizeStory, pauseAnimations, prepareMeta, prepareStory, registerService, sanitizeStoryContextUpdate, setChannel, setDefaultProjectAnnotations, setProjectAnnotations, simulateDOMContentLoaded, simulatePageLoad, sortStoriesV7, useArgs, useCallback, useChannel, useEffect, useGlobals, useMemo, useParameter, useReducer, useRef, useState, useStoryContext, userOrAutoTitle, userOrAutoTitleFromSpecifier, waitForAnimations };
|
package/dist/preview-errors.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jjck69g4sd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jjck69g4sd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jjck69g4sd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jjck69g4sd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jjck69g4sd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jjck69g4sd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,11 +12,11 @@ var require = CJS_COMPAT_NODE_MODULE_b2whu6ooy6h.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
ComponentMetaManager,
|
|
14
14
|
buildDocgenPayload
|
|
15
|
-
} from "../../_node-chunks/chunk-
|
|
16
|
-
import "../../_node-chunks/chunk-
|
|
17
|
-
import "../../_node-chunks/chunk-
|
|
18
|
-
import "../../_node-chunks/chunk-
|
|
19
|
-
import "../../_node-chunks/chunk-
|
|
15
|
+
} from "../../_node-chunks/chunk-7XYURNT2.js";
|
|
16
|
+
import "../../_node-chunks/chunk-3I43FMZC.js";
|
|
17
|
+
import "../../_node-chunks/chunk-WTS7HYGM.js";
|
|
18
|
+
import "../../_node-chunks/chunk-PRTTCG3N.js";
|
|
19
|
+
import "../../_node-chunks/chunk-YSVJU5VZ.js";
|
|
20
20
|
|
|
21
21
|
// src/react/docgen/docgen-worker.ts
|
|
22
22
|
import { createLazyDocgenMiddleware } from "@aussieljk/forkbook/internal/common";
|
package/dist/react/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jjck69g4sd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jjck69g4sd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jjck69g4sd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jjck69g4sd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jjck69g4sd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jjck69g4sd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -17,15 +17,15 @@ import {
|
|
|
17
17
|
getCodeSnippet,
|
|
18
18
|
invalidateCache,
|
|
19
19
|
resolveStoryFileComponents
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
21
|
-
import "../_node-chunks/chunk-
|
|
22
|
-
import "../_node-chunks/chunk-
|
|
23
|
-
import "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-7XYURNT2.js";
|
|
21
|
+
import "../_node-chunks/chunk-3I43FMZC.js";
|
|
22
|
+
import "../_node-chunks/chunk-WTS7HYGM.js";
|
|
23
|
+
import "../_node-chunks/chunk-PRTTCG3N.js";
|
|
24
24
|
import {
|
|
25
25
|
resolvePackageDir
|
|
26
|
-
} from "../_node-chunks/chunk-
|
|
27
|
-
import "../_node-chunks/chunk-
|
|
28
|
-
import "../_node-chunks/chunk-
|
|
26
|
+
} from "../_node-chunks/chunk-JOOZKSBS.js";
|
|
27
|
+
import "../_node-chunks/chunk-RXEMA2TT.js";
|
|
28
|
+
import "../_node-chunks/chunk-YSVJU5VZ.js";
|
|
29
29
|
|
|
30
30
|
// src/react/preset.ts
|
|
31
31
|
import path3, { join as join2 } from "node:path";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_jjck69g4sd from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_jjck69g4sd from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_jjck69g4sd from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_jjck69g4sd.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jjck69g4sd.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_jjck69g4sd.createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
// ------------------------------------------------------------
|
|
11
11
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
12
12
|
// ------------------------------------------------------------
|
|
13
13
|
import {
|
|
14
14
|
generate
|
|
15
|
-
} from "../../_node-chunks/chunk-
|
|
16
|
-
import "../../_node-chunks/chunk-
|
|
15
|
+
} from "../../_node-chunks/chunk-MGXABKCL.js";
|
|
16
|
+
import "../../_node-chunks/chunk-YSVJU5VZ.js";
|
|
17
17
|
|
|
18
18
|
// src/react-native/bin/get-stories.ts
|
|
19
19
|
import { program } from "commander";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jjck69g4sd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jjck69g4sd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jjck69g4sd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jjck69g4sd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jjck69g4sd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jjck69g4sd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,10 +12,10 @@ var require = CJS_COMPAT_NODE_MODULE_b2whu6ooy6h.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
buildIndex,
|
|
14
14
|
createChannelServer
|
|
15
|
-
} from "../../_node-chunks/chunk-
|
|
16
|
-
import "../../_node-chunks/chunk-
|
|
17
|
-
import "../../_node-chunks/chunk-
|
|
18
|
-
import "../../_node-chunks/chunk-
|
|
15
|
+
} from "../../_node-chunks/chunk-P4CWOISW.js";
|
|
16
|
+
import "../../_node-chunks/chunk-ZOE2QQSS.js";
|
|
17
|
+
import "../../_node-chunks/chunk-LMWS7NDR.js";
|
|
18
|
+
import "../../_node-chunks/chunk-YSVJU5VZ.js";
|
|
19
19
|
export {
|
|
20
20
|
buildIndex,
|
|
21
21
|
createChannelServer
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jjck69g4sd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jjck69g4sd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jjck69g4sd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jjck69g4sd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jjck69g4sd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jjck69g4sd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
createChannelServer
|
|
14
|
-
} from "../../_node-chunks/chunk-
|
|
14
|
+
} from "../../_node-chunks/chunk-P4CWOISW.js";
|
|
15
15
|
import {
|
|
16
16
|
generate
|
|
17
|
-
} from "../../_node-chunks/chunk-
|
|
18
|
-
import "../../_node-chunks/chunk-
|
|
19
|
-
import "../../_node-chunks/chunk-
|
|
20
|
-
import "../../_node-chunks/chunk-
|
|
17
|
+
} from "../../_node-chunks/chunk-MGXABKCL.js";
|
|
18
|
+
import "../../_node-chunks/chunk-ZOE2QQSS.js";
|
|
19
|
+
import "../../_node-chunks/chunk-LMWS7NDR.js";
|
|
20
|
+
import "../../_node-chunks/chunk-YSVJU5VZ.js";
|
|
21
21
|
|
|
22
22
|
// src/react-native/metro/withForkbook.ts
|
|
23
23
|
import { createRequire } from "node:module";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jjck69g4sd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jjck69g4sd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jjck69g4sd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jjck69g4sd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jjck69g4sd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jjck69g4sd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
generate
|
|
14
|
-
} from "../../_node-chunks/chunk-
|
|
15
|
-
import "../../_node-chunks/chunk-
|
|
14
|
+
} from "../../_node-chunks/chunk-MGXABKCL.js";
|
|
15
|
+
import "../../_node-chunks/chunk-YSVJU5VZ.js";
|
|
16
16
|
export {
|
|
17
17
|
generate
|
|
18
18
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jjck69g4sd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jjck69g4sd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jjck69g4sd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jjck69g4sd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jjck69g4sd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jjck69g4sd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "../../_node-chunks/chunk-
|
|
12
|
+
import "../../_node-chunks/chunk-YSVJU5VZ.js";
|
|
13
13
|
|
|
14
14
|
// src/react-vite/node/index.ts
|
|
15
15
|
function defineMain(config) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jjck69g4sd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jjck69g4sd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jjck69g4sd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jjck69g4sd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jjck69g4sd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jjck69g4sd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "../_node-chunks/chunk-
|
|
12
|
+
import "../_node-chunks/chunk-YSVJU5VZ.js";
|
|
13
13
|
|
|
14
14
|
// src/react-vite/preset.ts
|
|
15
15
|
var core = {
|
package/dist/router/index.d.ts
CHANGED
|
@@ -100,6 +100,16 @@ interface RoutePropsDefault {
|
|
|
100
100
|
startsWith?: false;
|
|
101
101
|
children: ReactNode;
|
|
102
102
|
}
|
|
103
|
+
/**
|
|
104
|
+
* The path where Forkbook is hosted, without a trailing slash (`''` at the root). The page sets a
|
|
105
|
+
* `<base>` element when it is opened at a deep path, so `document.baseURI` is the Forkbook root.
|
|
106
|
+
*/
|
|
107
|
+
declare const getBasename: () => string;
|
|
108
|
+
/**
|
|
109
|
+
* Changes an internal navigation target (`/story/<id>&args=a:1#hash`) to a URL relative to the
|
|
110
|
+
* Forkbook root (`/example/button/primary?args=a:1#hash`).
|
|
111
|
+
*/
|
|
112
|
+
declare const toRouterUrl: (target: string) => string;
|
|
103
113
|
declare const useNavigate: () => (to: To | number, {
|
|
104
114
|
plain,
|
|
105
115
|
...options
|
|
@@ -138,4 +148,62 @@ declare const LocationProvider: typeof BrowserRouter;
|
|
|
138
148
|
declare const BaseLocationProvider: typeof Router;
|
|
139
149
|
declare const MemoryRouter: typeof MemoryRouter$1;
|
|
140
150
|
//#endregion
|
|
141
|
-
|
|
151
|
+
//#region .dts-emit/code/core/src/router/story-paths.d.ts
|
|
152
|
+
interface StoryPathEntry {
|
|
153
|
+
id: string;
|
|
154
|
+
title: string;
|
|
155
|
+
name: string;
|
|
156
|
+
type: string;
|
|
157
|
+
}
|
|
158
|
+
type ViewMode = 'story' | 'docs';
|
|
159
|
+
/** The internal path of the start page. */
|
|
160
|
+
declare const HOME_PATH = "/home/";
|
|
161
|
+
/** The internal path of the page that shows all stories. */
|
|
162
|
+
declare const ALL_STORIES_PATH = "/all/";
|
|
163
|
+
/** URL paths that no story can have. */
|
|
164
|
+
declare const RESERVED_URL_PATHS: string[];
|
|
165
|
+
/** True when no story can use this URL path. */
|
|
166
|
+
declare const isReservedUrlPath: (urlPath: string) => boolean;
|
|
167
|
+
/**
|
|
168
|
+
* The tree URL path of an index entry, or `undefined` when the entry cannot have one (the path is
|
|
169
|
+
* reserved, or it has fewer than two segments).
|
|
170
|
+
*/
|
|
171
|
+
declare const entryUrlPath: (entry: Pick<StoryPathEntry, 'title' | 'name'>) => string | undefined;
|
|
172
|
+
interface StoryPathMap {
|
|
173
|
+
byId: Map<string, string>;
|
|
174
|
+
byUrl: Map<string, {
|
|
175
|
+
id: string;
|
|
176
|
+
viewMode: ViewMode;
|
|
177
|
+
}>;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Makes the URL paths for all entries. When two entries get the same URL path, the first entry
|
|
181
|
+
* keeps it and the second entry uses `/_story/<id>`.
|
|
182
|
+
*/
|
|
183
|
+
declare const buildStoryPathMap: (entries: Iterable<StoryPathEntry>) => StoryPathMap;
|
|
184
|
+
/** Sets the index entries that the URL helpers use. The manager calls this when the index loads. */
|
|
185
|
+
declare const setStoryPathEntries: (entries: Iterable<StoryPathEntry>) => void;
|
|
186
|
+
/**
|
|
187
|
+
* Changes an internal manager path to a URL path.
|
|
188
|
+
*
|
|
189
|
+
* - `/story/example-button--primary` gives `/example/button/primary`.
|
|
190
|
+
* - `/docs/example-button--docs` gives `/example/button/docs`.
|
|
191
|
+
* - `/settings/about` gives `/settings/about`.
|
|
192
|
+
*/
|
|
193
|
+
declare const toUrlPath: (internalPath: string | undefined, map?: StoryPathMap) => string;
|
|
194
|
+
/**
|
|
195
|
+
* Changes a URL path to an internal manager path. This is the opposite of {@link toUrlPath}.
|
|
196
|
+
*
|
|
197
|
+
* When the index has not loaded, the path segments give the story ID: `/example/button/primary`
|
|
198
|
+
* gives `example-button--primary`. A last segment of `docs` gives the docs view.
|
|
199
|
+
*/
|
|
200
|
+
declare const fromUrlPath: (urlPath: string | undefined, map?: StoryPathMap) => string;
|
|
201
|
+
/**
|
|
202
|
+
* Builds a manager href from a base (for example `/` or `https://host/sb/`), an internal path and a
|
|
203
|
+
* query string without the leading `?`.
|
|
204
|
+
*/
|
|
205
|
+
declare const buildManagerHref: (base: string, internalPath: string, query?: string) => string;
|
|
206
|
+
/** Number of path segments in a URL path. A page at this path uses it to find its base path. */
|
|
207
|
+
declare const urlPathDepth: (urlPath: string) => number;
|
|
208
|
+
//#endregion
|
|
209
|
+
export { ALL_STORIES_PATH, BaseLocationProvider, DEEPLY_EQUAL, HOME_PATH, Link, LinkProps, Location, LocationProvider, Match, MemoryRouter, NavigateFunction, NavigateOptions, Other, RESERVED_URL_PATHS, RenderData, Route, RouterData, StoryData, StoryPathEntry, buildArgsParam, buildManagerHref, buildStoryPathMap, deepDiff, entryUrlPath, fromUrlPath, getBasename, getMatch, isReservedUrlPath, parsePath, queryFromLocation, setStoryPathEntries, stringifyQuery, toRouterUrl, toUrlPath, urlPathDepth, useNavigate };
|
package/dist/router/index.js
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ALL_STORIES_PATH,
|
|
3
|
+
HOME_PATH,
|
|
4
|
+
RESERVED_URL_PATHS,
|
|
5
|
+
buildManagerHref,
|
|
6
|
+
buildStoryPathMap,
|
|
7
|
+
entryUrlPath,
|
|
8
|
+
fromUrlPath,
|
|
9
|
+
isReservedUrlPath,
|
|
10
|
+
setStoryPathEntries,
|
|
11
|
+
toUrlPath,
|
|
12
|
+
urlPathDepth
|
|
13
|
+
} from "../_browser-chunks/chunk-C5TKXHTM.js";
|
|
1
14
|
import {
|
|
2
15
|
isReviewSummaryPath
|
|
3
16
|
} from "../_browser-chunks/chunk-YI2IBIQS.js";
|
|
17
|
+
import "../_browser-chunks/chunk-NULBREPZ.js";
|
|
4
18
|
import {
|
|
5
19
|
parse,
|
|
6
20
|
stringify
|
|
@@ -105,7 +119,7 @@ var splitPathRegex = /\/([^/]+)\/(?:(.*)_)?([^/]+)?/, parsePath = (0, import_mem
|
|
|
105
119
|
});
|
|
106
120
|
|
|
107
121
|
// src/router/router.tsx
|
|
108
|
-
import { useCallback as useCallback3 } from "react";
|
|
122
|
+
import { useCallback as useCallback3, useEffect as useEffect3 } from "react";
|
|
109
123
|
|
|
110
124
|
// ../../node_modules/react-router-dom/dist/index.js
|
|
111
125
|
import * as React2 from "react";
|
|
@@ -1153,14 +1167,23 @@ function usePageHide(callback, options) {
|
|
|
1153
1167
|
import { NAVIGATE_URL } from "@aussieljk/forkbook/internal/core-events";
|
|
1154
1168
|
import { addons } from "@aussieljk/forkbook/manager-api";
|
|
1155
1169
|
import { Fragment as Fragment2, jsx } from "react/jsx-runtime";
|
|
1156
|
-
var { document: document2 } = global,
|
|
1170
|
+
var { document: document2 } = global, getBasename = () => {
|
|
1171
|
+
try {
|
|
1172
|
+
return new URL(".", document2.baseURI).pathname.replace(/\/+$/, "");
|
|
1173
|
+
} catch {
|
|
1174
|
+
return "";
|
|
1175
|
+
}
|
|
1176
|
+
}, toRouterUrl = (target) => {
|
|
1177
|
+
let [beforeHash, afterHash] = target.split(/#(.*)/s), [path, ...queryParts] = beforeHash.split("&"), [hash, ...hashQueryParts] = afterHash === void 0 ? [] : afterHash.split("&"), query = [...queryParts, ...hashQueryParts].join("&");
|
|
1178
|
+
return `${toUrlPath(path || "/")}${query ? `?${query}` : ""}${hash ? `#${hash}` : ""}`;
|
|
1179
|
+
}, useNavigate2 = () => {
|
|
1157
1180
|
let navigate = useNavigate();
|
|
1158
1181
|
return useCallback3((to, { plain, ...options } = {}) => {
|
|
1159
1182
|
if (typeof to == "string" && to.startsWith("#"))
|
|
1160
1183
|
return navigate(`${document2.location.search}${to === "#" ? "" : to}`, options);
|
|
1161
1184
|
if (typeof to == "string") {
|
|
1162
|
-
let target = plain ? to :
|
|
1163
|
-
if (
|
|
1185
|
+
let target = plain ? to : toRouterUrl(to), [url, hash] = target.split("#"), current = `${document2.location.pathname}${document2.location.search}`;
|
|
1186
|
+
if ((plain ? url === document2.location.search : `${getBasename()}${url}` === current) && hash) {
|
|
1164
1187
|
addons.getChannel().emit(NAVIGATE_URL, `#${hash}`);
|
|
1165
1188
|
return;
|
|
1166
1189
|
}
|
|
@@ -1169,11 +1192,15 @@ var { document: document2 } = global, getBase = () => `${document2.location.path
|
|
|
1169
1192
|
if (typeof to == "number")
|
|
1170
1193
|
return navigate(to);
|
|
1171
1194
|
}, []);
|
|
1172
|
-
}, Link2 = ({ to, children, ...rest }) => jsx(Link, { to:
|
|
1195
|
+
}, Link2 = ({ to, children, ...rest }) => jsx(Link, { to: toRouterUrl(to), ...rest, children });
|
|
1173
1196
|
Link2.displayName = "QueryLink";
|
|
1174
1197
|
var Location = ({ children }) => {
|
|
1175
|
-
let location = useLocation(), { path
|
|
1176
|
-
return
|
|
1198
|
+
let location = useLocation(), navigate = useNavigate(), { path: legacyPath, singleStory, ...otherQuery } = queryFromLocation(location), path = legacyPath || fromUrlPath(location.pathname), { viewMode, storyId, refId } = parsePath(path);
|
|
1199
|
+
return useEffect3(() => {
|
|
1200
|
+
legacyPath && navigate(`${toUrlPath(legacyPath)}${stringifyQuery(otherQuery)}${location.hash}`, {
|
|
1201
|
+
replace: !0
|
|
1202
|
+
});
|
|
1203
|
+
}, [legacyPath]), jsx(Fragment2, { children: children({
|
|
1177
1204
|
path: path || "/",
|
|
1178
1205
|
location,
|
|
1179
1206
|
viewMode,
|
|
@@ -1199,21 +1226,34 @@ function Route2(input) {
|
|
|
1199
1226
|
return rest.startsWith === void 0 && (rest.startsWith = !1), jsx(Match, { ...rest, children: ({ match }) => match ? children : null });
|
|
1200
1227
|
}
|
|
1201
1228
|
Route2.displayName = "Route";
|
|
1202
|
-
var LocationProvider = (
|
|
1229
|
+
var LocationProvider = (props) => BrowserRouter({ basename: getBasename() || void 0, ...props }), BaseLocationProvider = (...args) => Router(...args), MemoryRouter2 = (...args) => MemoryRouter(...args);
|
|
1203
1230
|
export {
|
|
1231
|
+
ALL_STORIES_PATH,
|
|
1204
1232
|
BaseLocationProvider,
|
|
1205
1233
|
DEEPLY_EQUAL,
|
|
1234
|
+
HOME_PATH,
|
|
1206
1235
|
Link2 as Link,
|
|
1207
1236
|
Location,
|
|
1208
1237
|
LocationProvider,
|
|
1209
1238
|
Match,
|
|
1210
1239
|
MemoryRouter2 as MemoryRouter,
|
|
1240
|
+
RESERVED_URL_PATHS,
|
|
1211
1241
|
Route2 as Route,
|
|
1212
1242
|
buildArgsParam,
|
|
1243
|
+
buildManagerHref,
|
|
1244
|
+
buildStoryPathMap,
|
|
1213
1245
|
deepDiff,
|
|
1246
|
+
entryUrlPath,
|
|
1247
|
+
fromUrlPath,
|
|
1248
|
+
getBasename,
|
|
1214
1249
|
getMatch,
|
|
1250
|
+
isReservedUrlPath,
|
|
1215
1251
|
parsePath,
|
|
1216
1252
|
queryFromLocation,
|
|
1253
|
+
setStoryPathEntries,
|
|
1217
1254
|
stringifyQuery,
|
|
1255
|
+
toRouterUrl,
|
|
1256
|
+
toUrlPath,
|
|
1257
|
+
urlPathDepth,
|
|
1218
1258
|
useNavigate2 as useNavigate
|
|
1219
1259
|
};
|
package/dist/server-errors.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as PackageInstallDependencyConflictError, A as OpenServiceDocgenMissingComponentError, B as OpenServiceMissingServiceError, C as NoFreePortError, D as OpenServiceAsyncRecipeError, E as NxProjectDetectedError, F as OpenServiceInvalidStaticPathError, G as OpenServiceRemoteCommandDisconnectedError, H as OpenServiceModuleGraphUnavailableError, I as OpenServiceInvalidToolsetMethodIdError, J as OpenServiceTestRunTimeoutError, K as OpenServiceRemoteCommandUnhandledError, L as OpenServiceLoadedDrainExceededError, M as OpenServiceDuplicateToolNameError, N as OpenServiceDuplicateToolsetError, O as OpenServiceAsyncSchemaError, P as OpenServiceInternalServiceError, Q as OpenServiceValidationError, R as OpenServiceMissingChannelError, S as MissingFrameworkFieldError, T as NoStatsForViteDevError, U as OpenServiceOperationNameCollisionError, V as OpenServiceMissingToolsetError, W as OpenServiceRemoteCommandConfigDriftError, X as OpenServiceUnimplementedOperationError, Y as OpenServiceToolsetOutputMismatchError, Z as OpenServiceUnknownStoryIdsError, _ as InvalidStoriesEntryError, a as Category, at as PnpmNoTtyModulesDirError, b as MinimumReleaseAgeHandledError, c as CriticalPresetLoadError, ct as StorybookDevServerDisconnectedError, d as FindPackageVersionsError, dt as formatExecaCommand, et as PackageInstallFailedError, f as GenerateNewProjectOnInitError, ft as formatExecaFailureDetails, g as InvalidFrameworkNameError, h as IncompatiblePostCssConfigError, i as AddonVitestPostinstallWorkspaceUpdateError, it as PnpmIgnoredBuildsError, j as OpenServiceDuplicateRegistrationError, k as OpenServiceCyclicStateError, l as ExecaCommandErrorData, lt as ViteModuleGraphSubscriptionError, m as GoogleFontsLoadingError, n as AddonVitestPostinstallError, nt as PackageManagerBinaryNotFoundError, o as ConflictingStaticDirConfigError, ot as SavingGlobalSettingsFileError, p as GoogleFontsDownloadError, pt as StorybookError, q as OpenServiceServicesAppliedTwiceError, r as AddonVitestPostinstallPrerequisiteCheckError, rt as PlaywrightInstallFailedError, s as CouldNotEvaluateFrameworkError, st as StatusTypeIdMismatchError, t as AddonVitestPostinstallConfigUpdateError, tt as PackageInstallMissingManifestError, u as ExecaCommandFailedError, ut as describeUnknownStoryIds, v as MainFileEvaluationError, w as NoMatchingExportError, x as MissingBuilderError, y as MainFileMissingError, z as OpenServiceMissingOriginError } from "./chunk-
|
|
1
|
+
import { $ as PackageInstallDependencyConflictError, A as OpenServiceDocgenMissingComponentError, B as OpenServiceMissingServiceError, C as NoFreePortError, D as OpenServiceAsyncRecipeError, E as NxProjectDetectedError, F as OpenServiceInvalidStaticPathError, G as OpenServiceRemoteCommandDisconnectedError, H as OpenServiceModuleGraphUnavailableError, I as OpenServiceInvalidToolsetMethodIdError, J as OpenServiceTestRunTimeoutError, K as OpenServiceRemoteCommandUnhandledError, L as OpenServiceLoadedDrainExceededError, M as OpenServiceDuplicateToolNameError, N as OpenServiceDuplicateToolsetError, O as OpenServiceAsyncSchemaError, P as OpenServiceInternalServiceError, Q as OpenServiceValidationError, R as OpenServiceMissingChannelError, S as MissingFrameworkFieldError, T as NoStatsForViteDevError, U as OpenServiceOperationNameCollisionError, V as OpenServiceMissingToolsetError, W as OpenServiceRemoteCommandConfigDriftError, X as OpenServiceUnimplementedOperationError, Y as OpenServiceToolsetOutputMismatchError, Z as OpenServiceUnknownStoryIdsError, _ as InvalidStoriesEntryError, a as Category, at as PnpmNoTtyModulesDirError, b as MinimumReleaseAgeHandledError, c as CriticalPresetLoadError, ct as StorybookDevServerDisconnectedError, d as FindPackageVersionsError, dt as formatExecaCommand, et as PackageInstallFailedError, f as GenerateNewProjectOnInitError, ft as formatExecaFailureDetails, g as InvalidFrameworkNameError, h as IncompatiblePostCssConfigError, i as AddonVitestPostinstallWorkspaceUpdateError, it as PnpmIgnoredBuildsError, j as OpenServiceDuplicateRegistrationError, k as OpenServiceCyclicStateError, l as ExecaCommandErrorData, lt as ViteModuleGraphSubscriptionError, m as GoogleFontsLoadingError, n as AddonVitestPostinstallError, nt as PackageManagerBinaryNotFoundError, o as ConflictingStaticDirConfigError, ot as SavingGlobalSettingsFileError, p as GoogleFontsDownloadError, pt as StorybookError, q as OpenServiceServicesAppliedTwiceError, r as AddonVitestPostinstallPrerequisiteCheckError, rt as PlaywrightInstallFailedError, s as CouldNotEvaluateFrameworkError, st as StatusTypeIdMismatchError, t as AddonVitestPostinstallConfigUpdateError, tt as PackageInstallMissingManifestError, u as ExecaCommandFailedError, ut as describeUnknownStoryIds, v as MainFileEvaluationError, w as NoMatchingExportError, x as MissingBuilderError, y as MainFileMissingError, z as OpenServiceMissingOriginError } from "./chunk-PdOIKm0H.js";
|
|
2
2
|
export { AddonVitestPostinstallConfigUpdateError, AddonVitestPostinstallError, AddonVitestPostinstallPrerequisiteCheckError, AddonVitestPostinstallWorkspaceUpdateError, Category, ConflictingStaticDirConfigError, CouldNotEvaluateFrameworkError, CriticalPresetLoadError, ExecaCommandErrorData, ExecaCommandFailedError, FindPackageVersionsError, GenerateNewProjectOnInitError, GoogleFontsDownloadError, GoogleFontsLoadingError, IncompatiblePostCssConfigError, InvalidFrameworkNameError, InvalidStoriesEntryError, MainFileEvaluationError, MainFileMissingError, MinimumReleaseAgeHandledError, MissingBuilderError, MissingFrameworkFieldError, NoFreePortError, NoMatchingExportError, NoStatsForViteDevError, NxProjectDetectedError, OpenServiceAsyncRecipeError, OpenServiceAsyncSchemaError, OpenServiceCyclicStateError, OpenServiceDocgenMissingComponentError, OpenServiceDuplicateRegistrationError, OpenServiceDuplicateToolNameError, OpenServiceDuplicateToolsetError, OpenServiceInternalServiceError, OpenServiceInvalidStaticPathError, OpenServiceInvalidToolsetMethodIdError, OpenServiceLoadedDrainExceededError, OpenServiceMissingChannelError, OpenServiceMissingOriginError, OpenServiceMissingServiceError, OpenServiceMissingToolsetError, OpenServiceModuleGraphUnavailableError, OpenServiceOperationNameCollisionError, OpenServiceRemoteCommandConfigDriftError, OpenServiceRemoteCommandDisconnectedError, OpenServiceRemoteCommandUnhandledError, OpenServiceServicesAppliedTwiceError, OpenServiceTestRunTimeoutError, OpenServiceToolsetOutputMismatchError, OpenServiceUnimplementedOperationError, OpenServiceUnknownStoryIdsError, OpenServiceValidationError, PackageInstallDependencyConflictError, PackageInstallFailedError, PackageInstallMissingManifestError, PackageManagerBinaryNotFoundError, PlaywrightInstallFailedError, PnpmIgnoredBuildsError, PnpmNoTtyModulesDirError, SavingGlobalSettingsFileError, StatusTypeIdMismatchError, StorybookDevServerDisconnectedError, StorybookError, ViteModuleGraphSubscriptionError, describeUnknownStoryIds, formatExecaCommand, formatExecaFailureDetails };
|
package/dist/server-errors.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jjck69g4sd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jjck69g4sd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jjck69g4sd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jjck69g4sd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jjck69g4sd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jjck69g4sd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -76,9 +76,9 @@ import {
|
|
|
76
76
|
describeUnknownStoryIds,
|
|
77
77
|
formatExecaCommand,
|
|
78
78
|
formatExecaFailureDetails
|
|
79
|
-
} from "./_node-chunks/chunk-
|
|
80
|
-
import "./_node-chunks/chunk-
|
|
81
|
-
import "./_node-chunks/chunk-
|
|
79
|
+
} from "./_node-chunks/chunk-WXMIR2F2.js";
|
|
80
|
+
import "./_node-chunks/chunk-QE3NKWUX.js";
|
|
81
|
+
import "./_node-chunks/chunk-YSVJU5VZ.js";
|
|
82
82
|
export {
|
|
83
83
|
AddonVitestPostinstallConfigUpdateError,
|
|
84
84
|
AddonVitestPostinstallError,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { B as ServerServiceRegistration, E as LoadStatus, F as QuerySelf, G as ServiceInstanceOf, H as ServiceDescriptor, I as QueryState, J as ServiceState, K as ServiceRegistrationOptions, L as QueryStatus, M as QueryCtx, N as QueryDefinition, O as OperationDescriptor, P as QueryFunctions, R as RuntimeService, T as LoadSelf, U as ServiceId, V as ServiceDefinition, W as ServiceInstance, X as StaticStore, Y as ServiceSummary, _ as AnyServiceDefinition, a as ToolsetDefinition, b as CommandDefinition, c as ToolsetMethodDescription, d as ToolsetOutcome, f as ToolsetTelemetryReport, g as resolveToolsetDescription, h as invokeToolsetMethod, i as ToolsetCtx, j as Query, l as ToolsetMethodReport, m as defineToolset, n as AnyToolsetOutcome, o as ToolsetGetService, p as ToolsetTransport, q as ServiceRegistryApi, r as InvokedToolsetOutcome, s as ToolsetMethod, t as AnyToolsetDefinition, u as ToolsetObjectOutputSchema, v as Command, w as LoadCtx, x as CommandSelf, y as CommandCtx, z as SchemaDescriptor } from "../../chunk-BCoJQE-f.js";
|
|
2
|
-
import { Cc as
|
|
2
|
+
import { As as DocgenService, Cc as parseToolsetMethodId, Ec as defineService, I as OpenServiceInvalidToolsetMethodIdError, M as OpenServiceDuplicateToolNameError, N as OpenServiceDuplicateToolsetError, Ps as DocgenPayload, Sc as getToolName, Tc as seedQueryState, V as OpenServiceMissingToolsetError, cc as getRegisteredToolsets, dc as KnownToolsets, fo as prependImportToSnippet, go as StoryDocsService, ho as selectWarningForStory, lc as getToolset, mo as selectStoryDoc, po as selectSnippetForStory, sc as clearToolsetRegistry, uc as registerToolset, wc as toMcpToolName, xc as ToolsetMethodId } from "../../chunk-PdOIKm0H.js";
|
|
3
3
|
export { type AnyServiceDefinition, type AnyToolsetDefinition, type AnyToolsetOutcome, type Command, type CommandCtx, type CommandDefinition, type CommandSelf, type DocgenPayload, type DocgenService, type InvokedToolsetOutcome, type KnownToolsets, type LoadCtx, type LoadSelf, type LoadStatus, OpenServiceDuplicateToolNameError, OpenServiceDuplicateToolsetError, OpenServiceInvalidToolsetMethodIdError, OpenServiceMissingToolsetError, type OperationDescriptor, type Query, type QueryCtx, type QueryDefinition, type QueryFunctions, type QuerySelf, type QueryState, type QueryStatus, type RuntimeService, type SchemaDescriptor, type ServerServiceRegistration, type ServiceDefinition, type ServiceDescriptor, type ServiceId, type ServiceInstance, type ServiceInstanceOf, type ServiceRegistrationOptions, type ServiceRegistryApi, type ServiceState, type ServiceSummary, type StaticStore, type StoryDocsService, type ToolsetCtx, type ToolsetDefinition, type ToolsetGetService, type ToolsetMethod, type ToolsetMethodDescription, type ToolsetMethodId, type ToolsetMethodReport, type ToolsetObjectOutputSchema, type ToolsetOutcome, type ToolsetTelemetryReport, type ToolsetTransport, clearToolsetRegistry, defineService, defineToolset, getRegisteredToolsets, getToolName, getToolset, invokeToolsetMethod, parseToolsetMethodId, prependImportToSnippet, registerToolset, resolveToolsetDescription, seedQueryState, selectSnippetForStory, selectStoryDoc, selectWarningForStory, toMcpToolName };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jjck69g4sd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jjck69g4sd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jjck69g4sd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jjck69g4sd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jjck69g4sd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jjck69g4sd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
errorToErrorLike
|
|
14
|
-
} from "../../../../../_node-chunks/chunk-
|
|
15
|
-
import "../../../../../_node-chunks/chunk-
|
|
16
|
-
import "../../../../../_node-chunks/chunk-
|
|
14
|
+
} from "../../../../../_node-chunks/chunk-BCFTMBAH.js";
|
|
15
|
+
import "../../../../../_node-chunks/chunk-GZ2YC6US.js";
|
|
16
|
+
import "../../../../../_node-chunks/chunk-YSVJU5VZ.js";
|
|
17
17
|
|
|
18
18
|
// src/shared/open-service/services/docgen/worker/docgen-worker.ts
|
|
19
19
|
import { parentPort } from "node:worker_threads";
|