@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-ZHrQFa3-.js → globals-runtime-Bs75QQ_I.js}
RENAMED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { a as __toESM, n as __esmMin, t as __commonJSMin } from "./globals-runtime-BdGkqNEt.js";
|
|
2
|
-
import {
|
|
3
|
-
import { a as createPath, c as invariant, d as resolveTo, f as stripBasename, i as createMemoryHistory, l as joinPaths, n as Action, o as getPathContributingMatches, r as createBrowserHistory, s as init_router, u as parsePath } from "./globals-runtime-DtcOnYHR.js";
|
|
4
|
-
import { n as init_popper, t as createPopper } from "./globals-runtime-BIKBO23x.js";
|
|
2
|
+
import { P as require_scheduler, i as useLatest, n as useComposedRef, r as init_use_latest_esm, t as init_use_composed_ref_esm } from "./globals-runtime-CA8AuIRT.js";
|
|
5
3
|
import { a as _assertThisInitialized, i as init_inheritsLoose, l as _objectWithoutPropertiesLoose$1, n as init_wrapNativeSuper, r as _inheritsLoose, s as _extends$2, t as _wrapNativeSuper } from "./globals-runtime-DwFqpqya.js";
|
|
4
|
+
import { a as createPath, c as invariant, d as resolveTo, f as stripBasename, i as createMemoryHistory, l as joinPaths, n as Action, o as getPathContributingMatches, r as createBrowserHistory, s as init_router, u as parsePath } from "./globals-runtime-CBviMKtt.js";
|
|
6
5
|
//#region ../../node_modules/react/cjs/react.production.min.js
|
|
7
6
|
/**
|
|
8
7
|
* @license React
|
|
@@ -349,6 +348,12 @@ var require_react_production_min = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
349
348
|
var require_react = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
350
349
|
module.exports = require_react_production_min();
|
|
351
350
|
}));
|
|
351
|
+
var import_react$4;
|
|
352
|
+
function init_shim_cjs_0() {
|
|
353
|
+
return (init_shim_cjs_0 = __esmMin((() => {
|
|
354
|
+
import_react$4 = require_react();
|
|
355
|
+
})))();
|
|
356
|
+
}
|
|
352
357
|
//#endregion
|
|
353
358
|
//#region ../../node_modules/react-dom/cjs/react-dom.production.min.js
|
|
354
359
|
/**
|
|
@@ -8220,21 +8225,6 @@ function init_main() {
|
|
|
8220
8225
|
})))();
|
|
8221
8226
|
}
|
|
8222
8227
|
//#endregion
|
|
8223
|
-
//#region ../../node_modules/nanoid/index.browser.js
|
|
8224
|
-
var nanoid;
|
|
8225
|
-
function init_index_browser() {
|
|
8226
|
-
return (init_index_browser = __esmMin((() => {
|
|
8227
|
-
nanoid = (size = 21) => crypto.getRandomValues(new Uint8Array(size)).reduce((id, byte) => {
|
|
8228
|
-
byte &= 63;
|
|
8229
|
-
if (byte < 36) id += byte.toString(36);
|
|
8230
|
-
else if (byte < 62) id += (byte - 26).toString(36).toUpperCase();
|
|
8231
|
-
else if (byte > 62) id += "-";
|
|
8232
|
-
else id += "_";
|
|
8233
|
-
return id;
|
|
8234
|
-
}, "");
|
|
8235
|
-
})))();
|
|
8236
|
-
}
|
|
8237
|
-
//#endregion
|
|
8238
8228
|
//#region ../../node_modules/polished/dist/polished.esm.js
|
|
8239
8229
|
/**
|
|
8240
8230
|
* Check if a string ends with something
|
|
@@ -9289,7 +9279,7 @@ function _extends$1() {
|
|
|
9289
9279
|
function useHref(to, _temp) {
|
|
9290
9280
|
let { relative } = _temp === void 0 ? {} : _temp;
|
|
9291
9281
|
!useInRouterContext() && invariant(false);
|
|
9292
|
-
let { basename, navigator } = import_react$
|
|
9282
|
+
let { basename, navigator } = import_react$3.useContext(NavigationContext);
|
|
9293
9283
|
let { hash, pathname, search } = useResolvedPath(to, { relative });
|
|
9294
9284
|
let joinedPathname = pathname;
|
|
9295
9285
|
if (basename !== "/") joinedPathname = pathname === "/" ? basename : joinPaths([basename, pathname]);
|
|
@@ -9305,7 +9295,7 @@ function useHref(to, _temp) {
|
|
|
9305
9295
|
* @see https://reactrouter.com/hooks/use-in-router-context
|
|
9306
9296
|
*/
|
|
9307
9297
|
function useInRouterContext() {
|
|
9308
|
-
return import_react$
|
|
9298
|
+
return import_react$3.useContext(LocationContext) != null;
|
|
9309
9299
|
}
|
|
9310
9300
|
/**
|
|
9311
9301
|
* Returns the current location object, which represents the current URL in web
|
|
@@ -9319,10 +9309,10 @@ function useInRouterContext() {
|
|
|
9319
9309
|
*/
|
|
9320
9310
|
function useLocation() {
|
|
9321
9311
|
!useInRouterContext() && invariant(false);
|
|
9322
|
-
return import_react$
|
|
9312
|
+
return import_react$3.useContext(LocationContext).location;
|
|
9323
9313
|
}
|
|
9324
|
-
function useIsomorphicLayoutEffect
|
|
9325
|
-
if (!import_react$
|
|
9314
|
+
function useIsomorphicLayoutEffect(cb) {
|
|
9315
|
+
if (!import_react$3.useContext(NavigationContext).static) import_react$3.useLayoutEffect(cb);
|
|
9326
9316
|
}
|
|
9327
9317
|
/**
|
|
9328
9318
|
* Returns an imperative method for changing the location. Used by <Link>s, but
|
|
@@ -9331,21 +9321,21 @@ function useIsomorphicLayoutEffect$1(cb) {
|
|
|
9331
9321
|
* @see https://reactrouter.com/hooks/use-navigate
|
|
9332
9322
|
*/
|
|
9333
9323
|
function useNavigate() {
|
|
9334
|
-
let { isDataRoute } = import_react$
|
|
9324
|
+
let { isDataRoute } = import_react$3.useContext(RouteContext);
|
|
9335
9325
|
return isDataRoute ? useNavigateStable() : useNavigateUnstable();
|
|
9336
9326
|
}
|
|
9337
9327
|
function useNavigateUnstable() {
|
|
9338
9328
|
!useInRouterContext() && invariant(false);
|
|
9339
|
-
let dataRouterContext = import_react$
|
|
9340
|
-
let { basename, navigator } = import_react$
|
|
9341
|
-
let { matches } = import_react$
|
|
9329
|
+
let dataRouterContext = import_react$3.useContext(DataRouterContext);
|
|
9330
|
+
let { basename, navigator } = import_react$3.useContext(NavigationContext);
|
|
9331
|
+
let { matches } = import_react$3.useContext(RouteContext);
|
|
9342
9332
|
let { pathname: locationPathname } = useLocation();
|
|
9343
9333
|
let routePathnamesJson = JSON.stringify(getPathContributingMatches(matches).map((match) => match.pathnameBase));
|
|
9344
|
-
let activeRef = import_react$
|
|
9345
|
-
useIsomorphicLayoutEffect
|
|
9334
|
+
let activeRef = import_react$3.useRef(false);
|
|
9335
|
+
useIsomorphicLayoutEffect(() => {
|
|
9346
9336
|
activeRef.current = true;
|
|
9347
9337
|
});
|
|
9348
|
-
return import_react$
|
|
9338
|
+
return import_react$3.useCallback(function(to, options) {
|
|
9349
9339
|
if (options === void 0) options = {};
|
|
9350
9340
|
if (!activeRef.current) return;
|
|
9351
9341
|
if (typeof to === "number") {
|
|
@@ -9370,10 +9360,10 @@ function useNavigateUnstable() {
|
|
|
9370
9360
|
*/
|
|
9371
9361
|
function useResolvedPath(to, _temp2) {
|
|
9372
9362
|
let { relative } = _temp2 === void 0 ? {} : _temp2;
|
|
9373
|
-
let { matches } = import_react$
|
|
9363
|
+
let { matches } = import_react$3.useContext(RouteContext);
|
|
9374
9364
|
let { pathname: locationPathname } = useLocation();
|
|
9375
9365
|
let routePathnamesJson = JSON.stringify(getPathContributingMatches(matches).map((match) => match.pathnameBase));
|
|
9376
|
-
return import_react$
|
|
9366
|
+
return import_react$3.useMemo(() => resolveTo(to, JSON.parse(routePathnamesJson), locationPathname, relative === "path"), [
|
|
9377
9367
|
to,
|
|
9378
9368
|
routePathnamesJson,
|
|
9379
9369
|
locationPathname,
|
|
@@ -9381,12 +9371,12 @@ function useResolvedPath(to, _temp2) {
|
|
|
9381
9371
|
]);
|
|
9382
9372
|
}
|
|
9383
9373
|
function useDataRouterContext(hookName) {
|
|
9384
|
-
let ctx = import_react$
|
|
9374
|
+
let ctx = import_react$3.useContext(DataRouterContext);
|
|
9385
9375
|
!ctx && invariant(false);
|
|
9386
9376
|
return ctx;
|
|
9387
9377
|
}
|
|
9388
9378
|
function useRouteContext(hookName) {
|
|
9389
|
-
let route = import_react$
|
|
9379
|
+
let route = import_react$3.useContext(RouteContext);
|
|
9390
9380
|
!route && invariant(false);
|
|
9391
9381
|
return route;
|
|
9392
9382
|
}
|
|
@@ -9403,11 +9393,11 @@ function useCurrentRouteId(hookName) {
|
|
|
9403
9393
|
function useNavigateStable() {
|
|
9404
9394
|
let { router } = useDataRouterContext(DataRouterHook$1.UseNavigateStable);
|
|
9405
9395
|
let id = useCurrentRouteId(DataRouterStateHook$1.UseNavigateStable);
|
|
9406
|
-
let activeRef = import_react$
|
|
9407
|
-
useIsomorphicLayoutEffect
|
|
9396
|
+
let activeRef = import_react$3.useRef(false);
|
|
9397
|
+
useIsomorphicLayoutEffect(() => {
|
|
9408
9398
|
activeRef.current = true;
|
|
9409
9399
|
});
|
|
9410
|
-
return import_react$
|
|
9400
|
+
return import_react$3.useCallback(function(to, options) {
|
|
9411
9401
|
if (options === void 0) options = {};
|
|
9412
9402
|
if (!activeRef.current) return;
|
|
9413
9403
|
if (typeof to === "number") router.navigate(to);
|
|
@@ -9421,23 +9411,23 @@ function useNavigateStable() {
|
|
|
9421
9411
|
*/
|
|
9422
9412
|
function MemoryRouter(_ref3) {
|
|
9423
9413
|
let { basename, children, initialEntries, initialIndex, future } = _ref3;
|
|
9424
|
-
let historyRef = import_react$
|
|
9414
|
+
let historyRef = import_react$3.useRef();
|
|
9425
9415
|
if (historyRef.current == null) historyRef.current = createMemoryHistory({
|
|
9426
9416
|
initialEntries,
|
|
9427
9417
|
initialIndex,
|
|
9428
9418
|
v5Compat: true
|
|
9429
9419
|
});
|
|
9430
9420
|
let history = historyRef.current;
|
|
9431
|
-
let [state, setStateImpl] = import_react$
|
|
9421
|
+
let [state, setStateImpl] = import_react$3.useState({
|
|
9432
9422
|
action: history.action,
|
|
9433
9423
|
location: history.location
|
|
9434
9424
|
});
|
|
9435
9425
|
let { v7_startTransition } = future || {};
|
|
9436
|
-
let setState = import_react$
|
|
9426
|
+
let setState = import_react$3.useCallback((newState) => {
|
|
9437
9427
|
v7_startTransition && startTransitionImpl$1 ? startTransitionImpl$1(() => setStateImpl(newState)) : setStateImpl(newState);
|
|
9438
9428
|
}, [setStateImpl, v7_startTransition]);
|
|
9439
|
-
import_react$
|
|
9440
|
-
return /*#__PURE__*/ import_react$
|
|
9429
|
+
import_react$3.useLayoutEffect(() => history.listen(setState), [history, setState]);
|
|
9430
|
+
return /*#__PURE__*/ import_react$3.createElement(Router, {
|
|
9441
9431
|
basename,
|
|
9442
9432
|
children,
|
|
9443
9433
|
location: state.location,
|
|
@@ -9458,7 +9448,7 @@ function Router(_ref5) {
|
|
|
9458
9448
|
let { basename: basenameProp = "/", children = null, location: locationProp, navigationType = Action.Pop, navigator, static: staticProp = false } = _ref5;
|
|
9459
9449
|
useInRouterContext() && invariant(false);
|
|
9460
9450
|
let basename = basenameProp.replace(/^\/*/, "/");
|
|
9461
|
-
let navigationContext = import_react$
|
|
9451
|
+
let navigationContext = import_react$3.useMemo(() => ({
|
|
9462
9452
|
basename,
|
|
9463
9453
|
navigator,
|
|
9464
9454
|
static: staticProp
|
|
@@ -9469,7 +9459,7 @@ function Router(_ref5) {
|
|
|
9469
9459
|
]);
|
|
9470
9460
|
if (typeof locationProp === "string") locationProp = parsePath(locationProp);
|
|
9471
9461
|
let { pathname = "/", search = "", hash = "", state = null, key = "default" } = locationProp;
|
|
9472
|
-
let locationContext = import_react$
|
|
9462
|
+
let locationContext = import_react$3.useMemo(() => {
|
|
9473
9463
|
let trailingPathname = stripBasename(pathname, basename);
|
|
9474
9464
|
if (trailingPathname == null) return null;
|
|
9475
9465
|
return {
|
|
@@ -9492,25 +9482,25 @@ function Router(_ref5) {
|
|
|
9492
9482
|
navigationType
|
|
9493
9483
|
]);
|
|
9494
9484
|
if (locationContext == null) return null;
|
|
9495
|
-
return /*#__PURE__*/ import_react$
|
|
9485
|
+
return /*#__PURE__*/ import_react$3.createElement(NavigationContext.Provider, { value: navigationContext }, /*#__PURE__*/ import_react$3.createElement(LocationContext.Provider, {
|
|
9496
9486
|
children,
|
|
9497
9487
|
value: locationContext
|
|
9498
9488
|
}));
|
|
9499
9489
|
}
|
|
9500
|
-
var import_react$
|
|
9490
|
+
var import_react$3, DataRouterContext, NavigationContext, LocationContext, RouteContext, DataRouterHook$1, DataRouterStateHook$1, startTransitionImpl$1, AwaitRenderStatus;
|
|
9501
9491
|
function init_dist() {
|
|
9502
9492
|
return (init_dist = __esmMin((() => {
|
|
9503
|
-
import_react$
|
|
9493
|
+
import_react$3 = /* @__PURE__ */ __toESM(require_react());
|
|
9504
9494
|
init_router();
|
|
9505
|
-
DataRouterContext = /*#__PURE__*/ import_react$
|
|
9506
|
-
NavigationContext = /*#__PURE__*/ import_react$
|
|
9507
|
-
LocationContext = /*#__PURE__*/ import_react$
|
|
9508
|
-
RouteContext = /*#__PURE__*/ import_react$
|
|
9495
|
+
DataRouterContext = /*#__PURE__*/ import_react$3.createContext(null);
|
|
9496
|
+
NavigationContext = /*#__PURE__*/ import_react$3.createContext(null);
|
|
9497
|
+
LocationContext = /*#__PURE__*/ import_react$3.createContext(null);
|
|
9498
|
+
RouteContext = /*#__PURE__*/ import_react$3.createContext({
|
|
9509
9499
|
outlet: null,
|
|
9510
9500
|
matches: [],
|
|
9511
9501
|
isDataRoute: false
|
|
9512
9502
|
});
|
|
9513
|
-
import_react$
|
|
9503
|
+
import_react$3.Component;
|
|
9514
9504
|
DataRouterHook$1 = /*#__PURE__*/ function(DataRouterHook) {
|
|
9515
9505
|
DataRouterHook["UseBlocker"] = "useBlocker";
|
|
9516
9506
|
DataRouterHook["UseRevalidator"] = "useRevalidator";
|
|
@@ -9530,7 +9520,7 @@ function init_dist() {
|
|
|
9530
9520
|
DataRouterStateHook["UseRouteId"] = "useRouteId";
|
|
9531
9521
|
return DataRouterStateHook;
|
|
9532
9522
|
}(DataRouterStateHook$1 || {});
|
|
9533
|
-
startTransitionImpl$1 = import_react$
|
|
9523
|
+
startTransitionImpl$1 = import_react$3.startTransition;
|
|
9534
9524
|
AwaitRenderStatus = /*#__PURE__*/ function(AwaitRenderStatus) {
|
|
9535
9525
|
AwaitRenderStatus[AwaitRenderStatus["pending"] = 0] = "pending";
|
|
9536
9526
|
AwaitRenderStatus[AwaitRenderStatus["success"] = 1] = "success";
|
|
@@ -9538,7 +9528,7 @@ function init_dist() {
|
|
|
9538
9528
|
return AwaitRenderStatus;
|
|
9539
9529
|
}(AwaitRenderStatus || {});
|
|
9540
9530
|
new Promise(() => {});
|
|
9541
|
-
import_react$
|
|
9531
|
+
import_react$3.Component;
|
|
9542
9532
|
})))();
|
|
9543
9533
|
}
|
|
9544
9534
|
//#endregion
|
|
@@ -9586,22 +9576,22 @@ function shouldProcessLinkClick(event, target) {
|
|
|
9586
9576
|
*/
|
|
9587
9577
|
function BrowserRouter(_ref) {
|
|
9588
9578
|
let { basename, children, future, window } = _ref;
|
|
9589
|
-
let historyRef = import_react$
|
|
9579
|
+
let historyRef = import_react$2.useRef();
|
|
9590
9580
|
if (historyRef.current == null) historyRef.current = createBrowserHistory({
|
|
9591
9581
|
window,
|
|
9592
9582
|
v5Compat: true
|
|
9593
9583
|
});
|
|
9594
9584
|
let history = historyRef.current;
|
|
9595
|
-
let [state, setStateImpl] = import_react$
|
|
9585
|
+
let [state, setStateImpl] = import_react$2.useState({
|
|
9596
9586
|
action: history.action,
|
|
9597
9587
|
location: history.location
|
|
9598
9588
|
});
|
|
9599
9589
|
let { v7_startTransition } = future || {};
|
|
9600
|
-
let setState = import_react$
|
|
9590
|
+
let setState = import_react$2.useCallback((newState) => {
|
|
9601
9591
|
v7_startTransition && startTransitionImpl ? startTransitionImpl(() => setStateImpl(newState)) : setStateImpl(newState);
|
|
9602
9592
|
}, [setStateImpl, v7_startTransition]);
|
|
9603
|
-
import_react$
|
|
9604
|
-
return /*#__PURE__*/ import_react$
|
|
9593
|
+
import_react$2.useLayoutEffect(() => history.listen(setState), [history, setState]);
|
|
9594
|
+
return /*#__PURE__*/ import_react$2.createElement(Router, {
|
|
9605
9595
|
basename,
|
|
9606
9596
|
children,
|
|
9607
9597
|
location: state.location,
|
|
@@ -9619,7 +9609,7 @@ function useLinkClickHandler(to, _temp) {
|
|
|
9619
9609
|
let navigate = useNavigate();
|
|
9620
9610
|
let location = useLocation();
|
|
9621
9611
|
let path = useResolvedPath(to, { relative });
|
|
9622
|
-
return import_react$
|
|
9612
|
+
return import_react$2.useCallback((event) => {
|
|
9623
9613
|
if (shouldProcessLinkClick(event, target)) {
|
|
9624
9614
|
event.preventDefault();
|
|
9625
9615
|
let replace = replaceProp !== void 0 ? replaceProp : createPath(location) === createPath(path);
|
|
@@ -9642,13 +9632,13 @@ function useLinkClickHandler(to, _temp) {
|
|
|
9642
9632
|
relative
|
|
9643
9633
|
]);
|
|
9644
9634
|
}
|
|
9645
|
-
var import_react$
|
|
9635
|
+
var import_react$2, _excluded$1, startTransitionImpl, isBrowser, ABSOLUTE_URL_REGEX, Link, DataRouterHook, DataRouterStateHook;
|
|
9646
9636
|
function init_dist$1() {
|
|
9647
9637
|
return (init_dist$1 = __esmMin((() => {
|
|
9648
|
-
import_react$
|
|
9638
|
+
import_react$2 = /* @__PURE__ */ __toESM(require_react());
|
|
9649
9639
|
init_dist();
|
|
9650
9640
|
init_router();
|
|
9651
|
-
_excluded$
|
|
9641
|
+
_excluded$1 = [
|
|
9652
9642
|
"onClick",
|
|
9653
9643
|
"relative",
|
|
9654
9644
|
"reloadDocument",
|
|
@@ -9658,12 +9648,12 @@ function init_dist$1() {
|
|
|
9658
9648
|
"to",
|
|
9659
9649
|
"preventScrollReset"
|
|
9660
9650
|
];
|
|
9661
|
-
startTransitionImpl = import_react$
|
|
9651
|
+
startTransitionImpl = import_react$2.startTransition;
|
|
9662
9652
|
isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
9663
9653
|
ABSOLUTE_URL_REGEX = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;
|
|
9664
|
-
Link = /*#__PURE__*/ import_react$
|
|
9665
|
-
let { onClick, relative, reloadDocument, replace, state, target, to, preventScrollReset } = _ref4, rest = _objectWithoutPropertiesLoose(_ref4, _excluded$
|
|
9666
|
-
let { basename } = import_react$
|
|
9654
|
+
Link = /*#__PURE__*/ import_react$2.forwardRef(function LinkWithRef(_ref4, ref) {
|
|
9655
|
+
let { onClick, relative, reloadDocument, replace, state, target, to, preventScrollReset } = _ref4, rest = _objectWithoutPropertiesLoose(_ref4, _excluded$1);
|
|
9656
|
+
let { basename } = import_react$2.useContext(NavigationContext);
|
|
9667
9657
|
let absoluteHref;
|
|
9668
9658
|
let isExternal = false;
|
|
9669
9659
|
if (typeof to === "string" && ABSOLUTE_URL_REGEX.test(to)) {
|
|
@@ -9688,7 +9678,7 @@ function init_dist$1() {
|
|
|
9688
9678
|
if (onClick) onClick(event);
|
|
9689
9679
|
if (!event.defaultPrevented) internalOnClick(event);
|
|
9690
9680
|
}
|
|
9691
|
-
return /*#__PURE__*/ import_react$
|
|
9681
|
+
return /*#__PURE__*/ import_react$2.createElement("a", _extends({}, rest, {
|
|
9692
9682
|
href: absoluteHref || href,
|
|
9693
9683
|
onClick: isExternal || reloadDocument ? onClick : handleClick,
|
|
9694
9684
|
ref,
|
|
@@ -9747,11 +9737,11 @@ function init_internal() {
|
|
|
9747
9737
|
}
|
|
9748
9738
|
//#endregion
|
|
9749
9739
|
//#region ../../node_modules/react-transition-state/dist/esm/useTransitionState.mjs
|
|
9750
|
-
var import_react$
|
|
9740
|
+
var import_react$1, updateState, useTransitionState;
|
|
9751
9741
|
function init_useTransitionState() {
|
|
9752
9742
|
return (init_useTransitionState = __esmMin((() => {
|
|
9753
9743
|
init_internal();
|
|
9754
|
-
import_react$
|
|
9744
|
+
import_react$1 = require_react();
|
|
9755
9745
|
updateState = (status, setState, ref, onChange) => {
|
|
9756
9746
|
clearTimeout(ref.t);
|
|
9757
9747
|
cancelAnimationFrame(ref.r);
|
|
@@ -9761,13 +9751,13 @@ function init_useTransitionState() {
|
|
|
9761
9751
|
onChange?.({ current: state });
|
|
9762
9752
|
};
|
|
9763
9753
|
useTransitionState = ({ enter = true, exit = true, preEnter, preExit, timeout, initialEntered, mountOnEnter, unmountOnExit, onStateChange: onChange } = {}) => {
|
|
9764
|
-
const [state, setState] = (0, import_react$
|
|
9765
|
-
const [ref] = (0, import_react$
|
|
9754
|
+
const [state, setState] = (0, import_react$1.useState)(() => getState(initialEntered ? 2 : startOrEnd(mountOnEnter)));
|
|
9755
|
+
const [ref] = (0, import_react$1.useState)({
|
|
9766
9756
|
s: state,
|
|
9767
9757
|
r: 0
|
|
9768
9758
|
});
|
|
9769
9759
|
const [enterTimeout, exitTimeout] = getTimeout(timeout);
|
|
9770
|
-
const endTransition = (0, import_react$
|
|
9760
|
+
const endTransition = (0, import_react$1.useCallback)(() => {
|
|
9771
9761
|
const status = getEndStatus(ref.s.$, unmountOnExit);
|
|
9772
9762
|
if (status) updateState(status, setState, ref, onChange);
|
|
9773
9763
|
}, [
|
|
@@ -9777,7 +9767,7 @@ function init_useTransitionState() {
|
|
|
9777
9767
|
]);
|
|
9778
9768
|
return [
|
|
9779
9769
|
state,
|
|
9780
|
-
(0, import_react$
|
|
9770
|
+
(0, import_react$1.useCallback)((toEnter) => {
|
|
9781
9771
|
const transitState = (status) => {
|
|
9782
9772
|
updateState(status, setState, ref, onChange);
|
|
9783
9773
|
switch (status) {
|
|
@@ -9847,7 +9837,7 @@ function calculateNodeHeight(sizingData, value, minRows, maxRows) {
|
|
|
9847
9837
|
}
|
|
9848
9838
|
function useListener(target, type, listener) {
|
|
9849
9839
|
var latestListener = useLatest(listener);
|
|
9850
|
-
import_react
|
|
9840
|
+
import_react.useLayoutEffect(function() {
|
|
9851
9841
|
var handler = function handler(ev) {
|
|
9852
9842
|
return latestListener.current(ev);
|
|
9853
9843
|
};
|
|
@@ -9858,10 +9848,10 @@ function useListener(target, type, listener) {
|
|
|
9858
9848
|
};
|
|
9859
9849
|
}, []);
|
|
9860
9850
|
}
|
|
9861
|
-
var import_react
|
|
9851
|
+
var import_react, HIDDEN_TEXTAREA_STYLE, forceHiddenStyles$1, hiddenTextarea, getHeight, noop, pick, SIZING_STYLE, isIE, getSizingData$1, useFormResetListener, useWindowResizeListener, useFontsLoadedListener, _excluded, index;
|
|
9862
9852
|
function init_react_textarea_autosize_browser_esm() {
|
|
9863
9853
|
return (init_react_textarea_autosize_browser_esm = __esmMin((() => {
|
|
9864
|
-
import_react
|
|
9854
|
+
import_react = /* @__PURE__ */ __toESM(require_react());
|
|
9865
9855
|
init_use_latest_esm();
|
|
9866
9856
|
init_use_composed_ref_esm();
|
|
9867
9857
|
HIDDEN_TEXTAREA_STYLE = {
|
|
@@ -9887,7 +9877,7 @@ function init_react_textarea_autosize_browser_esm() {
|
|
|
9887
9877
|
if (sizingData.sizingStyle.boxSizing === "border-box") return height + sizingData.borderSize;
|
|
9888
9878
|
return height - sizingData.paddingSize;
|
|
9889
9879
|
};
|
|
9890
|
-
noop
|
|
9880
|
+
noop = function noop() {};
|
|
9891
9881
|
pick = function pick(props, obj) {
|
|
9892
9882
|
return props.reduce(function(acc, prop) {
|
|
9893
9883
|
acc[prop] = obj[prop];
|
|
@@ -9944,20 +9934,20 @@ function init_react_textarea_autosize_browser_esm() {
|
|
|
9944
9934
|
useFontsLoadedListener = function useFontsLoadedListener(listener) {
|
|
9945
9935
|
useListener(document.fonts, "loadingdone", listener);
|
|
9946
9936
|
};
|
|
9947
|
-
_excluded
|
|
9937
|
+
_excluded = [
|
|
9948
9938
|
"cacheMeasurements",
|
|
9949
9939
|
"maxRows",
|
|
9950
9940
|
"minRows",
|
|
9951
9941
|
"onChange",
|
|
9952
9942
|
"onHeightChange"
|
|
9953
9943
|
];
|
|
9954
|
-
index = /* #__PURE__ */ import_react
|
|
9955
|
-
var cacheMeasurements = _ref.cacheMeasurements, maxRows = _ref.maxRows, minRows = _ref.minRows, _ref$onChange = _ref.onChange, onChange = _ref$onChange === void 0 ? noop
|
|
9944
|
+
index = /* #__PURE__ */ import_react.forwardRef(function TextareaAutosize(_ref, userRef) {
|
|
9945
|
+
var cacheMeasurements = _ref.cacheMeasurements, maxRows = _ref.maxRows, minRows = _ref.minRows, _ref$onChange = _ref.onChange, onChange = _ref$onChange === void 0 ? noop : _ref$onChange, _ref$onHeightChange = _ref.onHeightChange, onHeightChange = _ref$onHeightChange === void 0 ? noop : _ref$onHeightChange, props = _objectWithoutPropertiesLoose$1(_ref, _excluded);
|
|
9956
9946
|
var isControlled = props.value !== void 0;
|
|
9957
|
-
var libRef = import_react
|
|
9947
|
+
var libRef = import_react.useRef(null);
|
|
9958
9948
|
var ref = useComposedRef(libRef, userRef);
|
|
9959
|
-
var heightRef = import_react
|
|
9960
|
-
var measurementsCacheRef = import_react
|
|
9949
|
+
var heightRef = import_react.useRef(0);
|
|
9950
|
+
var measurementsCacheRef = import_react.useRef();
|
|
9961
9951
|
var resizeTextarea = function resizeTextarea() {
|
|
9962
9952
|
var node = libRef.current;
|
|
9963
9953
|
var nodeSizingData = cacheMeasurements && measurementsCacheRef.current ? measurementsCacheRef.current : getSizingData$1(node);
|
|
@@ -9974,7 +9964,7 @@ function init_react_textarea_autosize_browser_esm() {
|
|
|
9974
9964
|
if (!isControlled) resizeTextarea();
|
|
9975
9965
|
onChange(event);
|
|
9976
9966
|
};
|
|
9977
|
-
import_react
|
|
9967
|
+
import_react.useLayoutEffect(resizeTextarea);
|
|
9978
9968
|
useFormResetListener(libRef, function() {
|
|
9979
9969
|
if (!isControlled) {
|
|
9980
9970
|
var currentValue = libRef.current.value;
|
|
@@ -9986,7 +9976,7 @@ function init_react_textarea_autosize_browser_esm() {
|
|
|
9986
9976
|
});
|
|
9987
9977
|
useWindowResizeListener(resizeTextarea);
|
|
9988
9978
|
useFontsLoadedListener(resizeTextarea);
|
|
9989
|
-
return /*#__PURE__*/ import_react
|
|
9979
|
+
return /*#__PURE__*/ import_react.createElement("textarea", _extends$2({}, props, {
|
|
9990
9980
|
onChange: handleChange,
|
|
9991
9981
|
ref
|
|
9992
9982
|
}));
|
|
@@ -9994,470 +9984,4 @@ function init_react_textarea_autosize_browser_esm() {
|
|
|
9994
9984
|
})))();
|
|
9995
9985
|
}
|
|
9996
9986
|
//#endregion
|
|
9997
|
-
|
|
9998
|
-
var import_react$2, fromEntries, useIsomorphicLayoutEffect;
|
|
9999
|
-
function init_utils() {
|
|
10000
|
-
return (init_utils = __esmMin((() => {
|
|
10001
|
-
import_react$2 = /* @__PURE__ */ __toESM(require_react());
|
|
10002
|
-
fromEntries = function fromEntries(entries) {
|
|
10003
|
-
return entries.reduce(function(acc, _ref) {
|
|
10004
|
-
var key = _ref[0];
|
|
10005
|
-
acc[key] = _ref[1];
|
|
10006
|
-
return acc;
|
|
10007
|
-
}, {});
|
|
10008
|
-
};
|
|
10009
|
-
useIsomorphicLayoutEffect = typeof window !== "undefined" && window.document && window.document.createElement ? import_react$2.useLayoutEffect : import_react$2.useEffect;
|
|
10010
|
-
})))();
|
|
10011
|
-
}
|
|
10012
|
-
//#endregion
|
|
10013
|
-
//#region ../../node_modules/react-fast-compare/index.js
|
|
10014
|
-
var require_react_fast_compare = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10015
|
-
var hasElementType = typeof Element !== "undefined";
|
|
10016
|
-
var hasMap = typeof Map === "function";
|
|
10017
|
-
var hasSet = typeof Set === "function";
|
|
10018
|
-
var hasArrayBuffer = typeof ArrayBuffer === "function" && !!ArrayBuffer.isView;
|
|
10019
|
-
function equal(a, b) {
|
|
10020
|
-
if (a === b) return true;
|
|
10021
|
-
if (a && b && typeof a == "object" && typeof b == "object") {
|
|
10022
|
-
if (a.constructor !== b.constructor) return false;
|
|
10023
|
-
var length, i, keys;
|
|
10024
|
-
if (Array.isArray(a)) {
|
|
10025
|
-
length = a.length;
|
|
10026
|
-
if (length != b.length) return false;
|
|
10027
|
-
for (i = length; i-- !== 0;) if (!equal(a[i], b[i])) return false;
|
|
10028
|
-
return true;
|
|
10029
|
-
}
|
|
10030
|
-
var it;
|
|
10031
|
-
if (hasMap && a instanceof Map && b instanceof Map) {
|
|
10032
|
-
if (a.size !== b.size) return false;
|
|
10033
|
-
it = a.entries();
|
|
10034
|
-
while (!(i = it.next()).done) if (!b.has(i.value[0])) return false;
|
|
10035
|
-
it = a.entries();
|
|
10036
|
-
while (!(i = it.next()).done) if (!equal(i.value[1], b.get(i.value[0]))) return false;
|
|
10037
|
-
return true;
|
|
10038
|
-
}
|
|
10039
|
-
if (hasSet && a instanceof Set && b instanceof Set) {
|
|
10040
|
-
if (a.size !== b.size) return false;
|
|
10041
|
-
it = a.entries();
|
|
10042
|
-
while (!(i = it.next()).done) if (!b.has(i.value[0])) return false;
|
|
10043
|
-
return true;
|
|
10044
|
-
}
|
|
10045
|
-
if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
|
|
10046
|
-
length = a.length;
|
|
10047
|
-
if (length != b.length) return false;
|
|
10048
|
-
for (i = length; i-- !== 0;) if (a[i] !== b[i]) return false;
|
|
10049
|
-
return true;
|
|
10050
|
-
}
|
|
10051
|
-
if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
|
|
10052
|
-
if (a.valueOf !== Object.prototype.valueOf && typeof a.valueOf === "function" && typeof b.valueOf === "function") return a.valueOf() === b.valueOf();
|
|
10053
|
-
if (a.toString !== Object.prototype.toString && typeof a.toString === "function" && typeof b.toString === "function") return a.toString() === b.toString();
|
|
10054
|
-
keys = Object.keys(a);
|
|
10055
|
-
length = keys.length;
|
|
10056
|
-
if (length !== Object.keys(b).length) return false;
|
|
10057
|
-
for (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
10058
|
-
if (hasElementType && a instanceof Element) return false;
|
|
10059
|
-
for (i = length; i-- !== 0;) {
|
|
10060
|
-
if ((keys[i] === "_owner" || keys[i] === "__v" || keys[i] === "__o") && a.$$typeof) continue;
|
|
10061
|
-
if (!equal(a[keys[i]], b[keys[i]])) return false;
|
|
10062
|
-
}
|
|
10063
|
-
return true;
|
|
10064
|
-
}
|
|
10065
|
-
return a !== a && b !== b;
|
|
10066
|
-
}
|
|
10067
|
-
module.exports = function isEqual(a, b) {
|
|
10068
|
-
try {
|
|
10069
|
-
return equal(a, b);
|
|
10070
|
-
} catch (error) {
|
|
10071
|
-
if ((error.message || "").match(/stack|recursion/i)) {
|
|
10072
|
-
console.warn("react-fast-compare cannot handle circular refs");
|
|
10073
|
-
return false;
|
|
10074
|
-
}
|
|
10075
|
-
throw error;
|
|
10076
|
-
}
|
|
10077
|
-
};
|
|
10078
|
-
}));
|
|
10079
|
-
//#endregion
|
|
10080
|
-
//#region ../../node_modules/react-popper/lib/esm/usePopper.js
|
|
10081
|
-
var import_react$1, import_react_dom, import_react_fast_compare, EMPTY_MODIFIERS, usePopper;
|
|
10082
|
-
function init_usePopper() {
|
|
10083
|
-
return (init_usePopper = __esmMin((() => {
|
|
10084
|
-
import_react$1 = /* @__PURE__ */ __toESM(require_react());
|
|
10085
|
-
import_react_dom = /* @__PURE__ */ __toESM(require_react_dom());
|
|
10086
|
-
init_popper();
|
|
10087
|
-
import_react_fast_compare = /* @__PURE__ */ __toESM(require_react_fast_compare());
|
|
10088
|
-
init_utils();
|
|
10089
|
-
EMPTY_MODIFIERS = [];
|
|
10090
|
-
usePopper = function usePopper(referenceElement, popperElement, options) {
|
|
10091
|
-
if (options === void 0) options = {};
|
|
10092
|
-
var prevOptions = import_react$1.useRef(null);
|
|
10093
|
-
var optionsWithDefaults = {
|
|
10094
|
-
onFirstUpdate: options.onFirstUpdate,
|
|
10095
|
-
placement: options.placement || "bottom",
|
|
10096
|
-
strategy: options.strategy || "absolute",
|
|
10097
|
-
modifiers: options.modifiers || EMPTY_MODIFIERS
|
|
10098
|
-
};
|
|
10099
|
-
var _React$useState = import_react$1.useState({
|
|
10100
|
-
styles: {
|
|
10101
|
-
popper: {
|
|
10102
|
-
position: optionsWithDefaults.strategy,
|
|
10103
|
-
left: "0",
|
|
10104
|
-
top: "0"
|
|
10105
|
-
},
|
|
10106
|
-
arrow: { position: "absolute" }
|
|
10107
|
-
},
|
|
10108
|
-
attributes: {}
|
|
10109
|
-
}), state = _React$useState[0], setState = _React$useState[1];
|
|
10110
|
-
var updateStateModifier = import_react$1.useMemo(function() {
|
|
10111
|
-
return {
|
|
10112
|
-
name: "updateState",
|
|
10113
|
-
enabled: true,
|
|
10114
|
-
phase: "write",
|
|
10115
|
-
fn: function fn(_ref) {
|
|
10116
|
-
var state = _ref.state;
|
|
10117
|
-
var elements = Object.keys(state.elements);
|
|
10118
|
-
import_react_dom.flushSync(function() {
|
|
10119
|
-
setState({
|
|
10120
|
-
styles: fromEntries(elements.map(function(element) {
|
|
10121
|
-
return [element, state.styles[element] || {}];
|
|
10122
|
-
})),
|
|
10123
|
-
attributes: fromEntries(elements.map(function(element) {
|
|
10124
|
-
return [element, state.attributes[element]];
|
|
10125
|
-
}))
|
|
10126
|
-
});
|
|
10127
|
-
});
|
|
10128
|
-
},
|
|
10129
|
-
requires: ["computeStyles"]
|
|
10130
|
-
};
|
|
10131
|
-
}, []);
|
|
10132
|
-
var popperOptions = import_react$1.useMemo(function() {
|
|
10133
|
-
var newOptions = {
|
|
10134
|
-
onFirstUpdate: optionsWithDefaults.onFirstUpdate,
|
|
10135
|
-
placement: optionsWithDefaults.placement,
|
|
10136
|
-
strategy: optionsWithDefaults.strategy,
|
|
10137
|
-
modifiers: [].concat(optionsWithDefaults.modifiers, [updateStateModifier, {
|
|
10138
|
-
name: "applyStyles",
|
|
10139
|
-
enabled: false
|
|
10140
|
-
}])
|
|
10141
|
-
};
|
|
10142
|
-
if ((0, import_react_fast_compare.default)(prevOptions.current, newOptions)) return prevOptions.current || newOptions;
|
|
10143
|
-
else {
|
|
10144
|
-
prevOptions.current = newOptions;
|
|
10145
|
-
return newOptions;
|
|
10146
|
-
}
|
|
10147
|
-
}, [
|
|
10148
|
-
optionsWithDefaults.onFirstUpdate,
|
|
10149
|
-
optionsWithDefaults.placement,
|
|
10150
|
-
optionsWithDefaults.strategy,
|
|
10151
|
-
optionsWithDefaults.modifiers,
|
|
10152
|
-
updateStateModifier
|
|
10153
|
-
]);
|
|
10154
|
-
var popperInstanceRef = import_react$1.useRef();
|
|
10155
|
-
useIsomorphicLayoutEffect(function() {
|
|
10156
|
-
if (popperInstanceRef.current) popperInstanceRef.current.setOptions(popperOptions);
|
|
10157
|
-
}, [popperOptions]);
|
|
10158
|
-
useIsomorphicLayoutEffect(function() {
|
|
10159
|
-
if (referenceElement == null || popperElement == null) return;
|
|
10160
|
-
var popperInstance = (options.createPopper || createPopper)(referenceElement, popperElement, popperOptions);
|
|
10161
|
-
popperInstanceRef.current = popperInstance;
|
|
10162
|
-
return function() {
|
|
10163
|
-
popperInstance.destroy();
|
|
10164
|
-
popperInstanceRef.current = null;
|
|
10165
|
-
};
|
|
10166
|
-
}, [
|
|
10167
|
-
referenceElement,
|
|
10168
|
-
popperElement,
|
|
10169
|
-
options.createPopper
|
|
10170
|
-
]);
|
|
10171
|
-
return {
|
|
10172
|
-
state: popperInstanceRef.current ? popperInstanceRef.current.state : null,
|
|
10173
|
-
styles: state.styles,
|
|
10174
|
-
attributes: state.attributes,
|
|
10175
|
-
update: popperInstanceRef.current ? popperInstanceRef.current.update : null,
|
|
10176
|
-
forceUpdate: popperInstanceRef.current ? popperInstanceRef.current.forceUpdate : null
|
|
10177
|
-
};
|
|
10178
|
-
};
|
|
10179
|
-
})))();
|
|
10180
|
-
}
|
|
10181
|
-
//#endregion
|
|
10182
|
-
//#region ../../node_modules/react-popper-tooltip/dist/esm/react-popper-tooltip.js
|
|
10183
|
-
function useGetLatest(val) {
|
|
10184
|
-
var ref = import_react.useRef(val);
|
|
10185
|
-
ref.current = val;
|
|
10186
|
-
return import_react.useCallback(function() {
|
|
10187
|
-
return ref.current;
|
|
10188
|
-
}, []);
|
|
10189
|
-
}
|
|
10190
|
-
function useControlledState(_ref) {
|
|
10191
|
-
var initial = _ref.initial, value = _ref.value, _ref$onChange = _ref.onChange, onChange = _ref$onChange === void 0 ? noop : _ref$onChange;
|
|
10192
|
-
if (initial === void 0 && value === void 0) throw new TypeError("Either \"value\" or \"initial\" variable must be set. Now both are undefined");
|
|
10193
|
-
var _React$useState = import_react.useState(initial), state = _React$useState[0], setState = _React$useState[1];
|
|
10194
|
-
var getLatest = useGetLatest(state);
|
|
10195
|
-
var set = import_react.useCallback(function(updater) {
|
|
10196
|
-
var state = getLatest();
|
|
10197
|
-
var updatedState = typeof updater === "function" ? updater(state) : updater;
|
|
10198
|
-
if (typeof updatedState.persist === "function") updatedState.persist();
|
|
10199
|
-
setState(updatedState);
|
|
10200
|
-
if (typeof onChange === "function") onChange(updatedState);
|
|
10201
|
-
}, [getLatest, onChange]);
|
|
10202
|
-
var isControlled = value !== void 0;
|
|
10203
|
-
return [isControlled ? value : state, isControlled ? onChange : set];
|
|
10204
|
-
}
|
|
10205
|
-
function generateBoundingClientRect(x, y) {
|
|
10206
|
-
if (x === void 0) x = 0;
|
|
10207
|
-
if (y === void 0) y = 0;
|
|
10208
|
-
return function() {
|
|
10209
|
-
return {
|
|
10210
|
-
width: 0,
|
|
10211
|
-
height: 0,
|
|
10212
|
-
top: y,
|
|
10213
|
-
right: x,
|
|
10214
|
-
bottom: y,
|
|
10215
|
-
left: x,
|
|
10216
|
-
x: 0,
|
|
10217
|
-
y: 0,
|
|
10218
|
-
toJSON: function toJSON() {
|
|
10219
|
-
return null;
|
|
10220
|
-
}
|
|
10221
|
-
};
|
|
10222
|
-
};
|
|
10223
|
-
}
|
|
10224
|
-
function usePopperTooltip(config, popperOptions) {
|
|
10225
|
-
var _popperProps$state, _popperProps$state$mo, _popperProps$state$mo2;
|
|
10226
|
-
if (config === void 0) config = {};
|
|
10227
|
-
if (popperOptions === void 0) popperOptions = {};
|
|
10228
|
-
var finalConfig = Object.keys(defaultConfig).reduce(function(config, key) {
|
|
10229
|
-
var _extends2;
|
|
10230
|
-
return _extends$2({}, config, (_extends2 = {}, _extends2[key] = config[key] !== void 0 ? config[key] : defaultConfig[key], _extends2));
|
|
10231
|
-
}, config);
|
|
10232
|
-
var defaultModifiers = import_react.useMemo(function() {
|
|
10233
|
-
return [{
|
|
10234
|
-
name: "offset",
|
|
10235
|
-
options: { offset: finalConfig.offset }
|
|
10236
|
-
}];
|
|
10237
|
-
}, Array.isArray(finalConfig.offset) ? finalConfig.offset : []);
|
|
10238
|
-
var finalPopperOptions = _extends$2({}, popperOptions, {
|
|
10239
|
-
placement: popperOptions.placement || finalConfig.placement,
|
|
10240
|
-
modifiers: popperOptions.modifiers || defaultModifiers
|
|
10241
|
-
});
|
|
10242
|
-
var _React$useState = import_react.useState(null), triggerRef = _React$useState[0], setTriggerRef = _React$useState[1];
|
|
10243
|
-
var _React$useState2 = import_react.useState(null), tooltipRef = _React$useState2[0], setTooltipRef = _React$useState2[1];
|
|
10244
|
-
var _useControlledState = useControlledState({
|
|
10245
|
-
initial: finalConfig.defaultVisible,
|
|
10246
|
-
value: finalConfig.visible,
|
|
10247
|
-
onChange: finalConfig.onVisibleChange
|
|
10248
|
-
}), visible = _useControlledState[0], setVisible = _useControlledState[1];
|
|
10249
|
-
var timer = import_react.useRef();
|
|
10250
|
-
import_react.useEffect(function() {
|
|
10251
|
-
return function() {
|
|
10252
|
-
return clearTimeout(timer.current);
|
|
10253
|
-
};
|
|
10254
|
-
}, []);
|
|
10255
|
-
var _usePopper = usePopper(finalConfig.followCursor ? virtualElement : triggerRef, tooltipRef, finalPopperOptions), styles = _usePopper.styles, attributes = _usePopper.attributes, popperProps = _objectWithoutPropertiesLoose$1(_usePopper, _excluded);
|
|
10256
|
-
var update = popperProps.update;
|
|
10257
|
-
var getLatest = useGetLatest({
|
|
10258
|
-
visible,
|
|
10259
|
-
triggerRef,
|
|
10260
|
-
tooltipRef,
|
|
10261
|
-
finalConfig
|
|
10262
|
-
});
|
|
10263
|
-
var isTriggeredBy = import_react.useCallback(function(trigger) {
|
|
10264
|
-
return Array.isArray(finalConfig.trigger) ? finalConfig.trigger.includes(trigger) : finalConfig.trigger === trigger;
|
|
10265
|
-
}, Array.isArray(finalConfig.trigger) ? finalConfig.trigger : [finalConfig.trigger]);
|
|
10266
|
-
var hideTooltip = import_react.useCallback(function() {
|
|
10267
|
-
clearTimeout(timer.current);
|
|
10268
|
-
timer.current = window.setTimeout(function() {
|
|
10269
|
-
return setVisible(false);
|
|
10270
|
-
}, finalConfig.delayHide);
|
|
10271
|
-
}, [finalConfig.delayHide, setVisible]);
|
|
10272
|
-
var showTooltip = import_react.useCallback(function() {
|
|
10273
|
-
clearTimeout(timer.current);
|
|
10274
|
-
timer.current = window.setTimeout(function() {
|
|
10275
|
-
return setVisible(true);
|
|
10276
|
-
}, finalConfig.delayShow);
|
|
10277
|
-
}, [finalConfig.delayShow, setVisible]);
|
|
10278
|
-
var toggleTooltip = import_react.useCallback(function() {
|
|
10279
|
-
if (getLatest().visible) hideTooltip();
|
|
10280
|
-
else showTooltip();
|
|
10281
|
-
}, [
|
|
10282
|
-
getLatest,
|
|
10283
|
-
hideTooltip,
|
|
10284
|
-
showTooltip
|
|
10285
|
-
]);
|
|
10286
|
-
import_react.useEffect(function() {
|
|
10287
|
-
if (!getLatest().finalConfig.closeOnOutsideClick) return;
|
|
10288
|
-
var handleClickOutside = function handleClickOutside(event) {
|
|
10289
|
-
var _event$composedPath;
|
|
10290
|
-
var _getLatest = getLatest(), tooltipRef = _getLatest.tooltipRef, triggerRef = _getLatest.triggerRef;
|
|
10291
|
-
var target = (event.composedPath == null ? void 0 : (_event$composedPath = event.composedPath()) == null ? void 0 : _event$composedPath[0]) || event.target;
|
|
10292
|
-
if (target instanceof Node) {
|
|
10293
|
-
if (tooltipRef != null && triggerRef != null && !tooltipRef.contains(target) && !triggerRef.contains(target)) hideTooltip();
|
|
10294
|
-
}
|
|
10295
|
-
};
|
|
10296
|
-
document.addEventListener("mousedown", handleClickOutside);
|
|
10297
|
-
return function() {
|
|
10298
|
-
return document.removeEventListener("mousedown", handleClickOutside);
|
|
10299
|
-
};
|
|
10300
|
-
}, [getLatest, hideTooltip]);
|
|
10301
|
-
import_react.useEffect(function() {
|
|
10302
|
-
if (triggerRef == null || !isTriggeredBy("click")) return;
|
|
10303
|
-
triggerRef.addEventListener("click", toggleTooltip);
|
|
10304
|
-
return function() {
|
|
10305
|
-
return triggerRef.removeEventListener("click", toggleTooltip);
|
|
10306
|
-
};
|
|
10307
|
-
}, [
|
|
10308
|
-
triggerRef,
|
|
10309
|
-
isTriggeredBy,
|
|
10310
|
-
toggleTooltip
|
|
10311
|
-
]);
|
|
10312
|
-
import_react.useEffect(function() {
|
|
10313
|
-
if (triggerRef == null || !isTriggeredBy("double-click")) return;
|
|
10314
|
-
triggerRef.addEventListener("dblclick", toggleTooltip);
|
|
10315
|
-
return function() {
|
|
10316
|
-
return triggerRef.removeEventListener("dblclick", toggleTooltip);
|
|
10317
|
-
};
|
|
10318
|
-
}, [
|
|
10319
|
-
triggerRef,
|
|
10320
|
-
isTriggeredBy,
|
|
10321
|
-
toggleTooltip
|
|
10322
|
-
]);
|
|
10323
|
-
import_react.useEffect(function() {
|
|
10324
|
-
if (triggerRef == null || !isTriggeredBy("right-click")) return;
|
|
10325
|
-
var preventDefaultAndToggle = function preventDefaultAndToggle(event) {
|
|
10326
|
-
event.preventDefault();
|
|
10327
|
-
toggleTooltip();
|
|
10328
|
-
};
|
|
10329
|
-
triggerRef.addEventListener("contextmenu", preventDefaultAndToggle);
|
|
10330
|
-
return function() {
|
|
10331
|
-
return triggerRef.removeEventListener("contextmenu", preventDefaultAndToggle);
|
|
10332
|
-
};
|
|
10333
|
-
}, [
|
|
10334
|
-
triggerRef,
|
|
10335
|
-
isTriggeredBy,
|
|
10336
|
-
toggleTooltip
|
|
10337
|
-
]);
|
|
10338
|
-
import_react.useEffect(function() {
|
|
10339
|
-
if (triggerRef == null || !isTriggeredBy("focus")) return;
|
|
10340
|
-
triggerRef.addEventListener("focus", showTooltip);
|
|
10341
|
-
triggerRef.addEventListener("blur", hideTooltip);
|
|
10342
|
-
return function() {
|
|
10343
|
-
triggerRef.removeEventListener("focus", showTooltip);
|
|
10344
|
-
triggerRef.removeEventListener("blur", hideTooltip);
|
|
10345
|
-
};
|
|
10346
|
-
}, [
|
|
10347
|
-
triggerRef,
|
|
10348
|
-
isTriggeredBy,
|
|
10349
|
-
showTooltip,
|
|
10350
|
-
hideTooltip
|
|
10351
|
-
]);
|
|
10352
|
-
import_react.useEffect(function() {
|
|
10353
|
-
if (triggerRef == null || !isTriggeredBy("hover")) return;
|
|
10354
|
-
triggerRef.addEventListener("mouseenter", showTooltip);
|
|
10355
|
-
triggerRef.addEventListener("mouseleave", hideTooltip);
|
|
10356
|
-
return function() {
|
|
10357
|
-
triggerRef.removeEventListener("mouseenter", showTooltip);
|
|
10358
|
-
triggerRef.removeEventListener("mouseleave", hideTooltip);
|
|
10359
|
-
};
|
|
10360
|
-
}, [
|
|
10361
|
-
triggerRef,
|
|
10362
|
-
isTriggeredBy,
|
|
10363
|
-
showTooltip,
|
|
10364
|
-
hideTooltip
|
|
10365
|
-
]);
|
|
10366
|
-
import_react.useEffect(function() {
|
|
10367
|
-
if (tooltipRef == null || !isTriggeredBy("hover") || !getLatest().finalConfig.interactive) return;
|
|
10368
|
-
tooltipRef.addEventListener("mouseenter", showTooltip);
|
|
10369
|
-
tooltipRef.addEventListener("mouseleave", hideTooltip);
|
|
10370
|
-
return function() {
|
|
10371
|
-
tooltipRef.removeEventListener("mouseenter", showTooltip);
|
|
10372
|
-
tooltipRef.removeEventListener("mouseleave", hideTooltip);
|
|
10373
|
-
};
|
|
10374
|
-
}, [
|
|
10375
|
-
tooltipRef,
|
|
10376
|
-
isTriggeredBy,
|
|
10377
|
-
showTooltip,
|
|
10378
|
-
hideTooltip,
|
|
10379
|
-
getLatest
|
|
10380
|
-
]);
|
|
10381
|
-
var isReferenceHidden = popperProps == null ? void 0 : (_popperProps$state = popperProps.state) == null ? void 0 : (_popperProps$state$mo = _popperProps$state.modifiersData) == null ? void 0 : (_popperProps$state$mo2 = _popperProps$state$mo.hide) == null ? void 0 : _popperProps$state$mo2.isReferenceHidden;
|
|
10382
|
-
import_react.useEffect(function() {
|
|
10383
|
-
if (finalConfig.closeOnTriggerHidden && isReferenceHidden) hideTooltip();
|
|
10384
|
-
}, [
|
|
10385
|
-
finalConfig.closeOnTriggerHidden,
|
|
10386
|
-
hideTooltip,
|
|
10387
|
-
isReferenceHidden
|
|
10388
|
-
]);
|
|
10389
|
-
import_react.useEffect(function() {
|
|
10390
|
-
if (!finalConfig.followCursor || triggerRef == null) return;
|
|
10391
|
-
function setMousePosition(_ref) {
|
|
10392
|
-
var clientX = _ref.clientX, clientY = _ref.clientY;
|
|
10393
|
-
virtualElement.getBoundingClientRect = generateBoundingClientRect(clientX, clientY);
|
|
10394
|
-
update?.();
|
|
10395
|
-
}
|
|
10396
|
-
triggerRef.addEventListener("mousemove", setMousePosition);
|
|
10397
|
-
return function() {
|
|
10398
|
-
return triggerRef.removeEventListener("mousemove", setMousePosition);
|
|
10399
|
-
};
|
|
10400
|
-
}, [
|
|
10401
|
-
finalConfig.followCursor,
|
|
10402
|
-
triggerRef,
|
|
10403
|
-
update
|
|
10404
|
-
]);
|
|
10405
|
-
import_react.useEffect(function() {
|
|
10406
|
-
if (tooltipRef == null || update == null || finalConfig.mutationObserverOptions == null) return;
|
|
10407
|
-
var observer = new MutationObserver(update);
|
|
10408
|
-
observer.observe(tooltipRef, finalConfig.mutationObserverOptions);
|
|
10409
|
-
return function() {
|
|
10410
|
-
return observer.disconnect();
|
|
10411
|
-
};
|
|
10412
|
-
}, [
|
|
10413
|
-
finalConfig.mutationObserverOptions,
|
|
10414
|
-
tooltipRef,
|
|
10415
|
-
update
|
|
10416
|
-
]);
|
|
10417
|
-
return _extends$2({
|
|
10418
|
-
getArrowProps: function getArrowProps(args) {
|
|
10419
|
-
if (args === void 0) args = {};
|
|
10420
|
-
return _extends$2({}, args, attributes.arrow, {
|
|
10421
|
-
style: _extends$2({}, args.style, styles.arrow),
|
|
10422
|
-
"data-popper-arrow": true
|
|
10423
|
-
});
|
|
10424
|
-
},
|
|
10425
|
-
getTooltipProps: function getTooltipProps(args) {
|
|
10426
|
-
if (args === void 0) args = {};
|
|
10427
|
-
return _extends$2({}, args, { style: _extends$2({}, args.style, styles.popper) }, attributes.popper, { "data-popper-interactive": finalConfig.interactive });
|
|
10428
|
-
},
|
|
10429
|
-
setTooltipRef,
|
|
10430
|
-
setTriggerRef,
|
|
10431
|
-
tooltipRef,
|
|
10432
|
-
triggerRef,
|
|
10433
|
-
visible
|
|
10434
|
-
}, popperProps);
|
|
10435
|
-
}
|
|
10436
|
-
var import_react, noop, _excluded, virtualElement, defaultConfig;
|
|
10437
|
-
function init_react_popper_tooltip() {
|
|
10438
|
-
return (init_react_popper_tooltip = __esmMin((() => {
|
|
10439
|
-
import_react = /* @__PURE__ */ __toESM(require_react());
|
|
10440
|
-
init_usePopper();
|
|
10441
|
-
noop = function noop() {};
|
|
10442
|
-
_excluded = ["styles", "attributes"];
|
|
10443
|
-
virtualElement = { getBoundingClientRect: generateBoundingClientRect() };
|
|
10444
|
-
defaultConfig = {
|
|
10445
|
-
closeOnOutsideClick: true,
|
|
10446
|
-
closeOnTriggerHidden: false,
|
|
10447
|
-
defaultVisible: false,
|
|
10448
|
-
delayHide: 0,
|
|
10449
|
-
delayShow: 0,
|
|
10450
|
-
followCursor: false,
|
|
10451
|
-
interactive: false,
|
|
10452
|
-
mutationObserverOptions: {
|
|
10453
|
-
attributes: true,
|
|
10454
|
-
childList: true,
|
|
10455
|
-
subtree: true
|
|
10456
|
-
},
|
|
10457
|
-
offset: [0, 6],
|
|
10458
|
-
trigger: "hover"
|
|
10459
|
-
};
|
|
10460
|
-
})))();
|
|
10461
|
-
}
|
|
10462
|
-
//#endregion
|
|
10463
|
-
export { require_react_dom as A, init_stringify as C, require_picocolors_browser as D, parse as E, require_jsx_runtime as O, init_main as S, init_parse as T, curriedOpacify$1 as _, init_useTransitionState as a, init_index_browser as b, Link as c, Router as d, init_dist as f, curriedLighten$1 as g, curriedDarken$1 as h, init_react_textarea_autosize_browser_esm as i, require_react as j, require_client as k, init_dist$1 as l, useNavigate as m, usePopperTooltip as n, useTransitionState as o, useLocation as p, index as r, BrowserRouter as s, init_react_popper_tooltip as t, MemoryRouter as u, init_polished_esm as v, stringify as w, nanoid as x, rgba as y };
|
|
9987
|
+
export { init_parse as C, require_client as D, require_jsx_runtime as E, require_react_dom as O, stringify as S, require_picocolors_browser as T, curriedOpacify$1 as _, import_react$4 as a, init_main as b, Link as c, Router as d, init_dist as f, curriedLighten$1 as g, curriedDarken$1 as h, useTransitionState as i, require_react as k, init_dist$1 as l, useNavigate as m, init_react_textarea_autosize_browser_esm as n, init_shim_cjs_0 as o, useLocation as p, init_useTransitionState as r, BrowserRouter as s, index as t, MemoryRouter as u, init_polished_esm as v, parse as w, init_stringify as x, rgba as y };
|