@aussieljk/forkbook 0.0.1-5 → 0.0.1-6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_browser-chunks/{Color-GTF4GM7L.js → Color-2BMQTRYG.js} +1 -1
- package/dist/_browser-chunks/WithTooltip-GJACFWKM.js +196 -0
- package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
- package/dist/_browser-chunks/chunk-6EJEEII7.js +1149 -0
- package/dist/_browser-chunks/{chunk-MJY6ITYT.js → chunk-6IKB2UHQ.js} +10 -10
- package/dist/_browser-chunks/chunk-DPRGR3QP.js +5995 -0
- package/dist/_browser-chunks/{chunk-K6GRZSXS.js → chunk-EQKMUQF3.js} +4 -3
- package/dist/_browser-chunks/{chunk-GU3X2J4S.js → chunk-FRAOQJDI.js} +3 -1
- package/dist/_browser-chunks/{chunk-2SCZVUKW.js → chunk-H4ZHAXN3.js} +1 -1
- package/dist/_browser-chunks/{chunk-ZLWA5RIE.js → chunk-I4ATZPNZ.js} +1 -1
- package/dist/_browser-chunks/{chunk-6SHRDXGF.js → chunk-IJYLSHY7.js} +173 -87
- package/dist/_browser-chunks/{chunk-SZCSXISG.js → chunk-NA4ITZTK.js} +7 -5
- package/dist/_browser-chunks/chunk-NGMQJMCY.js +53 -0
- package/dist/_browser-chunks/{chunk-K2B36HKM.js → chunk-O24AZJZ7.js} +1 -1
- package/dist/_browser-chunks/{chunk-HOSBMS2F.js → chunk-QAHDGPZ7.js} +1 -1
- package/dist/_browser-chunks/{chunk-NMRSYACM.js → chunk-SFMQDIN2.js} +4 -3
- package/dist/_browser-chunks/{chunk-ZTQ5MEJ5.js → chunk-UMGDO2ZM.js} +3 -37
- package/dist/_browser-chunks/{chunk-FVSEPWWX.js → chunk-X7D777E6.js} +547 -1622
- package/dist/_browser-chunks/{chunk-52CW7FF7.js → chunk-YYWKZ7O3.js} +3 -1
- package/dist/_node-chunks/{attached-runtime-IOE3BXIY.js → attached-runtime-EBWIOQZN.js} +29 -29
- package/dist/_node-chunks/{builder-manager-GDFEGD72.js → builder-manager-ETBLZ2RH.js} +130 -146
- package/dist/_node-chunks/{chunk-VN3A5CEH.js → chunk-252Y5WHZ.js} +7 -7
- package/dist/_node-chunks/{chunk-7XUQM6SR.js → chunk-25PXULSJ.js} +14 -14
- package/dist/_node-chunks/chunk-2DBJWMYE.js +495 -0
- package/dist/_node-chunks/{chunk-WMQ2VCTF.js → chunk-3UWWRDA5.js} +7 -7
- package/dist/_node-chunks/{chunk-BFZG4UTW.js → chunk-4KCQYJT6.js} +7 -7
- package/dist/_node-chunks/{chunk-KQFHT7SW.js → chunk-4MJIPOJ5.js} +6 -6
- package/dist/_node-chunks/{chunk-YLKS7U3M.js → chunk-4WLIN3VZ.js} +8 -8
- package/dist/_node-chunks/{chunk-E6KXSYWR.js → chunk-4XNPO23I.js} +6 -6
- package/dist/_node-chunks/{chunk-J64XMUPF.js → chunk-5T635FTI.js} +10 -10
- package/dist/_node-chunks/{chunk-HCX5R46Q.js → chunk-5Z6MT4RI.js} +8 -8
- package/dist/_node-chunks/{chunk-A4XRNDN4.js → chunk-644CUCK5.js} +7 -7
- package/dist/_node-chunks/{chunk-GR65OLAH.js → chunk-7E27CGRU.js} +7 -7
- package/dist/_node-chunks/{chunk-TZ2TZW2K.js → chunk-A35J7YYA.js} +6 -6
- package/dist/_node-chunks/{chunk-3DX6THMV.js → chunk-ALHPFKVB.js} +8 -8
- package/dist/_node-chunks/{chunk-AXQ6LLSE.js → chunk-ANDQVXYX.js} +8 -8
- package/dist/_node-chunks/{chunk-UW35FCXF.js → chunk-AS4SFRCZ.js} +6 -6
- package/dist/_node-chunks/{chunk-SJZQ44OR.js → chunk-BLUMKQQB.js} +6 -6
- package/dist/_node-chunks/{chunk-5LE7GXEC.js → chunk-C5JG7EKF.js} +6 -6
- package/dist/_node-chunks/{chunk-AXG3EMKS.js → chunk-CBUQY454.js} +7 -15
- package/dist/_node-chunks/{chunk-BBD2KUV4.js → chunk-CF7KLGUW.js} +22 -20
- package/dist/_node-chunks/{chunk-V45RRBTK.js → chunk-CGVPHZVD.js} +8 -8
- package/dist/_node-chunks/{chunk-MCZZMBPA.js → chunk-DABFUVLR.js} +6 -6
- package/dist/_node-chunks/{chunk-TYCDPVIH.js → chunk-DCNZ6SFN.js} +6 -6
- package/dist/_node-chunks/{chunk-6DOJKR3V.js → chunk-DDGW2EBW.js} +29843 -51588
- package/dist/_node-chunks/{chunk-Q33BYVLY.js → chunk-DRLBJM6X.js} +7 -7
- package/dist/_node-chunks/{chunk-AAAUVDWT.js → chunk-E3O7VAPG.js} +10 -10
- package/dist/_node-chunks/{chunk-L5CY6HKG.js → chunk-FIFCNBTL.js} +7 -7
- package/dist/_node-chunks/{chunk-SDXU22OH.js → chunk-FQWTUSYB.js} +6 -6
- package/dist/_node-chunks/{chunk-LCXIUTOU.js → chunk-G6YNW4FK.js} +7 -7
- package/dist/_node-chunks/{chunk-OSJFTZ5N.js → chunk-GDFQQO5U.js} +6 -6
- package/dist/_node-chunks/{chunk-SAAQFJL4.js → chunk-GGTXOH3W.js} +6 -6
- package/dist/_node-chunks/{chunk-ZZNBVMBU.js → chunk-GIOREKIG.js} +7 -7
- package/dist/_node-chunks/{chunk-MDGNN3FJ.js → chunk-GOFK4EKU.js} +6 -6
- package/dist/_node-chunks/{chunk-SUJXQU74.js → chunk-GQ3HJNIH.js} +10 -13
- package/dist/_node-chunks/{chunk-RCPKLP3X.js → chunk-GRTI5653.js} +7 -7
- package/dist/_node-chunks/{chunk-ES5QZBSB.js → chunk-HKL3VOYX.js} +6 -6
- package/dist/_node-chunks/{chunk-T2I453AJ.js → chunk-HUPRQZ3I.js} +7 -7
- package/dist/_node-chunks/{chunk-VJSOHPVD.js → chunk-HWRHYM7Z.js} +6 -6
- package/dist/_node-chunks/{chunk-U47PBQZ3.js → chunk-I7HRDCNY.js} +10 -10
- package/dist/_node-chunks/{chunk-GS4VNNSS.js → chunk-IFPMZ247.js} +6 -6
- package/dist/_node-chunks/{chunk-EWAGCBER.js → chunk-J6M5CRYZ.js} +8 -8
- package/dist/_node-chunks/{chunk-45LRLOYO.js → chunk-JPXJI6QR.js} +60 -134
- package/dist/_node-chunks/{chunk-NYWD5LYM.js → chunk-JS2J2SKX.js} +6 -6
- package/dist/_node-chunks/{chunk-BV3QRFE6.js → chunk-JZWF3XLN.js} +6 -6
- package/dist/_node-chunks/{chunk-QQXFB4YA.js → chunk-KF3FT3NI.js} +9 -9
- package/dist/_node-chunks/chunk-KWPWQA7G.js +2609 -0
- package/dist/_node-chunks/{chunk-VBSVLIXU.js → chunk-L4JGWK4K.js} +6 -6
- package/dist/_node-chunks/{chunk-MHDKWHOA.js → chunk-LFIFBDMS.js} +6 -6
- package/dist/_node-chunks/{chunk-3DCJB2D4.js → chunk-LWKLJYYQ.js} +6 -6
- package/dist/_node-chunks/{chunk-XUHEL63G.js → chunk-LXVSVTQ3.js} +6 -6
- package/dist/_node-chunks/chunk-MDW3GSU3.js +69 -0
- package/dist/_node-chunks/{chunk-WHDCECIV.js → chunk-MFN2XBPL.js} +7 -7
- package/dist/_node-chunks/{chunk-5KAJVK4E.js → chunk-MQFB44YS.js} +7 -7
- package/dist/_node-chunks/{chunk-OTFIQXHR.js → chunk-MZ2GSR3G.js} +22 -50
- package/dist/_node-chunks/{chunk-AX2ALHBK.js → chunk-N7HEOGTM.js} +9 -6
- package/dist/_node-chunks/{chunk-NDGTNFUN.js → chunk-NUAQC3XP.js} +16 -13
- package/dist/_node-chunks/{chunk-F4Q7OCCN.js → chunk-NX6CSWF3.js} +8 -8
- package/dist/_node-chunks/{chunk-I3DKGHVD.js → chunk-NZ7EQWYA.js} +9 -9
- package/dist/_node-chunks/{chunk-UKEJISQU.js → chunk-OLGIDCVD.js} +650 -9
- package/dist/_node-chunks/{chunk-AXJJB2K6.js → chunk-P65JVLO3.js} +8 -8
- package/dist/_node-chunks/{chunk-2GY2FKLH.js → chunk-PAN35AYX.js} +7 -7
- package/dist/_node-chunks/{chunk-7TUSIVWS.js → chunk-PLWLCVP2.js} +6 -6
- package/dist/_node-chunks/{chunk-SR3BCYEH.js → chunk-Q4BEWGMK.js} +6 -6
- package/dist/_node-chunks/{chunk-FA36CEN4.js → chunk-QNUXGVZZ.js} +6 -6
- package/dist/_node-chunks/{chunk-OB2XHL53.js → chunk-R5DWO2S2.js} +31 -30
- package/dist/_node-chunks/{chunk-D6B2DRQZ.js → chunk-SLZV7PTQ.js} +8 -8
- package/dist/_node-chunks/{chunk-BTFSFATC.js → chunk-TIRP5JQM.js} +11 -10
- package/dist/_node-chunks/{chunk-YTBTCM22.js → chunk-TMXWDY2O.js} +6 -6
- package/dist/_node-chunks/{chunk-HWY2CAUH.js → chunk-TN3ULFFZ.js} +6 -6
- package/dist/_node-chunks/{chunk-M2QB5ALN.js → chunk-TPSJW4CQ.js} +6 -6
- package/dist/_node-chunks/{chunk-6QQTZT3Z.js → chunk-TYBPAV3X.js} +6 -6
- package/dist/_node-chunks/chunk-UUE3PSJB.js +11 -0
- package/dist/_node-chunks/chunk-VKNRNBTB.js +18 -0
- package/dist/_node-chunks/{chunk-LSP54OYM.js → chunk-VPU4E7DI.js} +25 -8
- package/dist/_node-chunks/{chunk-CGXW2HFE.js → chunk-WIQ6Y3NX.js} +6 -6
- package/dist/_node-chunks/{chunk-E4C2H45J.js → chunk-WRG3CFGS.js} +6 -6
- package/dist/_node-chunks/{chunk-N4FLP7AO.js → chunk-X3RTVNRN.js} +7 -7
- package/dist/_node-chunks/chunk-XOGU5PWI.js +347 -0
- package/dist/_node-chunks/{chunk-QZVFIEOM.js → chunk-XWGMQW2H.js} +6 -6
- package/dist/_node-chunks/chunk-YCXTTQ7K.js +620 -0
- package/dist/_node-chunks/{chunk-JJNO3SFI.js → chunk-YHH57LHY.js} +9 -9
- package/dist/_node-chunks/{chunk-ZPPVG262.js → chunk-YMZ2SGFK.js} +6 -6
- package/dist/_node-chunks/{chunk-B2IOB2V3.js → chunk-YNENOZRY.js} +7 -7
- package/dist/_node-chunks/{chunk-4WO3GNZQ.js → chunk-YPGVYNJB.js} +6 -6
- package/dist/_node-chunks/{chunk-RECGEABN.js → chunk-YQDBSAXW.js} +7 -7
- package/dist/_node-chunks/{chunk-UM5G27IC.js → chunk-Z4NZLBOX.js} +7 -7
- package/dist/_node-chunks/{chunk-E4TBS4MV.js → chunk-ZC3ZZKMS.js} +8 -8
- package/dist/_node-chunks/{chunk-PHXCOTMO.js → chunk-ZCITDAV4.js} +34 -949
- package/dist/_node-chunks/chunk-ZNSGFYAT.js +25 -0
- package/dist/_node-chunks/{chunk-CK4EHW3K.js → chunk-ZSH6BUCW.js} +25 -25
- package/dist/_node-chunks/{chunk-KCAPE7OJ.js → chunk-ZTFNOXZF.js} +6 -6
- package/dist/_node-chunks/dist-GGTGKXZA.js +27 -0
- package/dist/_node-chunks/dist-NS676VJR.js +16 -0
- package/dist/_node-chunks/{local-runtime-RW6AAWSX.js → local-runtime-BUTEKJYV.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-BKWCT6CB.js → mdx-plugin-7WXQIHPV.js} +2263 -130
- package/dist/_node-chunks/{monorepo-ZFJ6HM34.js → monorepo-NCD3X2BR.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-C3EW4VJW.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-SD3B272K.js} +11 -11
- package/dist/_node-chunks/optimized-tests-ITVOHEOA.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-2ZMJNCBS.js → pattern-copy-play-3QJANDJD.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-LEUHOKX6.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-RT5Z62RV.js → rehype-external-links-4LR5BDR2.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-H5TWHJ6G.js → rehype-slug-PWFRGOEV.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-DYLWZGE4.js → relaxed-limits-VNNWUW7X.js} +11 -11
- package/dist/_node-chunks/{run-65LLGSVR.js → run-RUAAWEQT.js} +13 -13
- package/dist/_node-chunks/{run-BQQLK454.js → run-YK6ARCWS.js} +17 -17
- package/dist/_node-chunks/session-id-JJYVZAKO.js +23 -0
- package/dist/_node-chunks/{setup-NEO7XX66.js → setup-4QKCICV6.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-6P3FZQTY.js → vitest.config.4.template-WVFLIXN7.js} +7 -7
- package/dist/actions/decorator.js +2 -1
- package/dist/actions/index.js +2 -1
- package/dist/addon-a11y/index.js +2 -1
- package/dist/addon-a11y/manager.js +7 -6
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +2 -1
- package/dist/addon-docs/blocks.js +29 -15
- package/dist/addon-docs/manager.js +2 -2
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/index.js +3 -2
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-links/preview.js +3 -2
- package/dist/addon-links/react/index.js +2 -1
- package/dist/addon-mcp/preset.js +8 -8
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +16 -44
- package/dist/addon-ondevice-actions/index.js +5 -1
- package/dist/addon-ondevice-actions/register.js +5 -1
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +3 -3
- 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 +15 -16
- package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
- package/dist/addon-vitest/vitest-plugin/index.js +17 -17
- package/dist/babel/index.d.ts +91 -842
- package/dist/babel/index.js +13 -19
- package/dist/bin/core.js +61 -60
- package/dist/bin/dispatcher.js +10 -10
- package/dist/bin/loader.js +16 -15
- package/dist/builder-vite/index.js +15 -15
- package/dist/builder-vite/preset.js +13 -13
- package/dist/{chunk-Jf7j2Ot0.d.ts → chunk-BGhyFTJO.d.ts} +1 -1
- package/dist/chunk-CV4-Z2pn.d.ts +30 -0
- package/dist/{chunk-Ce6uhJuR.d.ts → chunk-CVY28Ngy.d.ts} +1 -1
- package/dist/{chunk-B2t1tGRh.d.ts → chunk-CYuvV2sR.d.ts} +11 -13
- package/dist/{chunk-CZHsX9Zo.d.ts → chunk-ClI-HEh5.d.ts} +1 -1
- package/dist/{chunk-DpljNJTz.d.ts → chunk-CzmZhVrn.d.ts} +34 -0
- package/dist/cli/index.d.ts +13 -866
- package/dist/cli/index.js +42 -4952
- 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 +5 -4
- package/dist/common/index.js +35 -37
- package/dist/components/index.d.ts +14 -231
- package/dist/components/index.js +2514 -8361
- package/dist/core-events/index.d.ts +3 -2
- package/dist/core-events/index.js +3 -1
- package/dist/core-server/index.d.ts +2 -2
- package/dist/core-server/index.js +450 -147
- package/dist/core-server/presets/common-manager.js +60 -864
- package/dist/core-server/presets/common-override-preset.js +12 -10
- package/dist/core-server/presets/common-preset.js +39 -40
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/index.d.ts +1 -1
- package/dist/csf/index.js +27 -93
- package/dist/csf-tools/index.d.ts +2 -12
- package/dist/csf-tools/index.js +14 -14
- package/dist/instrumenter/index.js +3 -1
- package/dist/manager/_manager-chunks/{globals-runtime-Cr3nYYcT.js → globals-runtime-B-IeQLQu.js} +57 -58
- package/dist/manager/_manager-chunks/{globals-runtime-zVfMhZAt.js → globals-runtime-B5-0Ccbv.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DqNrRmOM.js → globals-runtime-B71TiXST.js} +93 -2146
- package/dist/manager/_manager-chunks/{globals-runtime-BgVwdR45.js → globals-runtime-BUP5e_t9.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-Bke4A4DG.js → globals-runtime-C7mqoHpE.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DCOX9nD5.js → globals-runtime-CBviMKtt.js} +1 -17
- package/dist/manager/_manager-chunks/{globals-runtime-ALpzCL93.js → globals-runtime-CYNosEiD.js} +1 -2
- package/dist/manager/_manager-chunks/{globals-runtime-BcNHymiF.js → globals-runtime-C_evJrEn.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DW1HVuLt.js → globals-runtime-CdgVeAbk.js} +408 -377
- package/dist/manager/_manager-chunks/{globals-runtime-CTB3rhS1.js → globals-runtime-Cqn8KdSZ.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-D_YKR9nf.js → globals-runtime-CrIF09P8.js} +1246 -539
- package/dist/manager/_manager-chunks/{globals-runtime-m07udJ_K.js → globals-runtime-Ct1kY4wb.js} +637 -1730
- package/dist/manager/_manager-chunks/globals-runtime-CvyFEPIY.js +5282 -0
- package/dist/manager/_manager-chunks/{globals-runtime-CF4o9_wT.js → globals-runtime-DMBjo1QS.js} +2 -1
- package/dist/manager/_manager-chunks/{globals-runtime-CXKb33hg.js → globals-runtime-DUK6bGcb.js} +51 -24
- package/dist/manager/_manager-chunks/{globals-runtime-CUBVmgcG.js → globals-runtime-DedfO-DP.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-DMvB3-IM.js → globals-runtime-DqhIYwLp.js} +148 -136
- package/dist/manager/_manager-chunks/{globals-runtime-CiLcg4q9.js → globals-runtime-XSxCU7PR.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-DFhLVh8q.js → runtime-BR5z0WoJ.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-Bldwclun.js → runtime-BgYvp1WN.js} +15 -7
- package/dist/manager/_manager-chunks/{runtime-DrjpEyLM.js → runtime-CHI-LHF1.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-Cmu7D8A0.js → runtime-CUymj6EY.js} +176 -159
- package/dist/manager/_manager-chunks/runtime-CaU1DSEZ.js +528 -0
- package/dist/manager/_manager-chunks/{runtime-DMig8mT7.js → runtime-CqItbdKW.js} +3 -2
- package/dist/manager/_manager-chunks/{runtime-a5zd7km2.js → runtime-D4ZOOIV0.js} +5 -531
- package/dist/manager/_manager-chunks/{runtime-DGHNKNQl.js → runtime-DER98nV0.js} +3 -19
- package/dist/manager/_manager-chunks/{runtime-Cdz2BHhM.js → runtime-DrTLBe7a.js} +29 -30
- package/dist/manager/_manager-chunks/{runtime-B-eSQdxk.js → runtime-MAf7Wpk5.js} +3 -2
- package/dist/manager/_manager-chunks/{runtime-CuJiHYCp.js → runtime-cVFIMcca.js} +1 -1
- package/dist/manager/globals-runtime.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 +20 -26
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.js +16 -11
- package/dist/nextjs-vite/index.js +3 -2
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +11 -11
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.d.ts +1 -2
- package/dist/nextjs-vite-plugin/index.js +12 -27
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- 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-DVM_AHbR.js → runtime-6P-h06Te.js} +51 -50
- package/dist/preview/_chunks/{runtime-BoxmlDdB.js → runtime-B9KKIDGa.js} +202 -81
- 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-Bcv1hJky.js +6305 -0
- package/dist/preview/_chunks/{runtime-CqHxptiK.js → runtime-C1jgT6tJ.js} +93 -2145
- package/dist/preview/_chunks/{runtime-D7B4bVe_.js → runtime-C8QFpkFV.js} +6 -6
- package/dist/preview/_chunks/{runtime-CijtAN7R.js → runtime-DdqR8Fd0.js} +15 -6
- package/dist/preview/_chunks/{runtime-B3y8ocOg.js → runtime-DvBfMhis.js} +2 -2
- package/dist/preview/_chunks/{runtime-BZSnICCg.js → runtime-WapFVPAh.js} +29 -29
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-api/index.js +2 -1
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +11 -12
- package/dist/react/entry-preview.js +2 -1
- package/dist/react/index.js +6 -4
- package/dist/react/preset.js +13 -14
- package/dist/react/preview.js +3 -2
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/index.js +25 -211
- package/dist/react-native/metro/node.js +10 -9
- package/dist/react-native/metro/withStorybook.js +11 -10
- 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.js +3 -1
- 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 -45
- package/dist/test/index.js +808 -573
- package/dist/theming/create.js +2 -1
- package/dist/theming/index.js +22 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +16 -44
- package/dist/_browser-chunks/WithTooltip-V55S6YCY.js +0 -1619
- package/dist/_browser-chunks/chunk-5P4QA6MY.js +0 -20
- package/dist/_browser-chunks/chunk-UDQ3XQFC.js +0 -108
- package/dist/_node-chunks/chunk-BRD332PB.js +0 -3008
- package/dist/_node-chunks/chunk-E2XKJLXK.js +0 -4731
- package/dist/_node-chunks/chunk-F2LQJXAB.js +0 -29
- package/dist/_node-chunks/chunk-MMFUHYSU.js +0 -23
- package/dist/_node-chunks/chunk-UGFY5LEG.js +0 -18
- package/dist/_node-chunks/chunk-UO5ZOCSQ.js +0 -662
- package/dist/_node-chunks/chunk-VMUXW2E2.js +0 -5414
- package/dist/_node-chunks/chunk-VNXE7UJL.js +0 -51
- package/dist/_node-chunks/chunk-VRJJ43P2.js +0 -11
- package/dist/_node-chunks/chunk-WCJUS7OC.js +0 -1877
- package/dist/_node-chunks/chunk-WMBMSNB7.js +0 -36
- package/dist/_node-chunks/chunk-YV2QBXU6.js +0 -3823
- package/dist/_node-chunks/dist-VFUGPNLK.js +0 -16
- package/dist/_node-chunks/globby-N7LO32D3.js +0 -2884
- package/dist/_node-chunks/jiti-SJDZ7LQB.js +0 -3848
- package/dist/_node-chunks/lib-4HD6QL5R.js +0 -366
- package/dist/_node-chunks/optimized-tests-LVKXZ3HQ.js +0 -22
- package/dist/_node-chunks/postinstallAddon-I6MAL6PW.js +0 -20
- package/dist/_node-chunks/session-id-6Z2RXBTG.js +0 -23
- package/dist/chunk-BfBzpgct.d.ts +0 -916
- package/dist/core-server/presets/common-manager.css +0 -170
- package/dist/manager/_manager-chunks/globals-runtime-Bon7UvQk.js +0 -9766
- package/dist/manager/_manager-chunks/globals-runtime-DDOIxI_l.js +0 -1584
- package/dist/preview/_chunks/runtime-BTPtVY1p.js +0 -1102
- package/dist/preview/_chunks/runtime-DZToXfvO.js +0 -9767
|
@@ -1,1584 +0,0 @@
|
|
|
1
|
-
import { n as __esmMin } from "./globals-runtime-BdGkqNEt.js";
|
|
2
|
-
//#region ../../node_modules/@popperjs/core/lib/enums.js
|
|
3
|
-
var bottom, right, left, auto, basePlacements, start, clippingParents, viewport, popper, reference, variationPlacements, placements, beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite, modifierPhases;
|
|
4
|
-
function init_enums() {
|
|
5
|
-
return (init_enums = __esmMin((() => {
|
|
6
|
-
bottom = "bottom";
|
|
7
|
-
right = "right";
|
|
8
|
-
left = "left";
|
|
9
|
-
auto = "auto";
|
|
10
|
-
basePlacements = [
|
|
11
|
-
"top",
|
|
12
|
-
bottom,
|
|
13
|
-
right,
|
|
14
|
-
left
|
|
15
|
-
];
|
|
16
|
-
start = "start";
|
|
17
|
-
clippingParents = "clippingParents";
|
|
18
|
-
viewport = "viewport";
|
|
19
|
-
popper = "popper";
|
|
20
|
-
reference = "reference";
|
|
21
|
-
variationPlacements = /*#__PURE__*/ basePlacements.reduce(function(acc, placement) {
|
|
22
|
-
return acc.concat([placement + "-" + start, placement + "-end"]);
|
|
23
|
-
}, []);
|
|
24
|
-
placements = /*#__PURE__*/ [].concat(basePlacements, [auto]).reduce(function(acc, placement) {
|
|
25
|
-
return acc.concat([
|
|
26
|
-
placement,
|
|
27
|
-
placement + "-" + start,
|
|
28
|
-
placement + "-end"
|
|
29
|
-
]);
|
|
30
|
-
}, []);
|
|
31
|
-
beforeRead = "beforeRead";
|
|
32
|
-
read = "read";
|
|
33
|
-
afterRead = "afterRead";
|
|
34
|
-
beforeMain = "beforeMain";
|
|
35
|
-
main = "main";
|
|
36
|
-
afterMain = "afterMain";
|
|
37
|
-
beforeWrite = "beforeWrite";
|
|
38
|
-
write = "write";
|
|
39
|
-
afterWrite = "afterWrite";
|
|
40
|
-
modifierPhases = [
|
|
41
|
-
beforeRead,
|
|
42
|
-
read,
|
|
43
|
-
afterRead,
|
|
44
|
-
beforeMain,
|
|
45
|
-
main,
|
|
46
|
-
afterMain,
|
|
47
|
-
beforeWrite,
|
|
48
|
-
write,
|
|
49
|
-
afterWrite
|
|
50
|
-
];
|
|
51
|
-
})))();
|
|
52
|
-
}
|
|
53
|
-
//#endregion
|
|
54
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/getNodeName.js
|
|
55
|
-
function getNodeName(element) {
|
|
56
|
-
return element ? (element.nodeName || "").toLowerCase() : null;
|
|
57
|
-
}
|
|
58
|
-
//#endregion
|
|
59
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/getWindow.js
|
|
60
|
-
function getWindow(node) {
|
|
61
|
-
if (node == null) return window;
|
|
62
|
-
if (node.toString() !== "[object Window]") {
|
|
63
|
-
var ownerDocument = node.ownerDocument;
|
|
64
|
-
return ownerDocument ? ownerDocument.defaultView || window : window;
|
|
65
|
-
}
|
|
66
|
-
return node;
|
|
67
|
-
}
|
|
68
|
-
//#endregion
|
|
69
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/instanceOf.js
|
|
70
|
-
function isElement(node) {
|
|
71
|
-
return node instanceof getWindow(node).Element || node instanceof Element;
|
|
72
|
-
}
|
|
73
|
-
function isHTMLElement(node) {
|
|
74
|
-
return node instanceof getWindow(node).HTMLElement || node instanceof HTMLElement;
|
|
75
|
-
}
|
|
76
|
-
function isShadowRoot(node) {
|
|
77
|
-
if (typeof ShadowRoot === "undefined") return false;
|
|
78
|
-
return node instanceof getWindow(node).ShadowRoot || node instanceof ShadowRoot;
|
|
79
|
-
}
|
|
80
|
-
function init_instanceOf() {
|
|
81
|
-
return (init_instanceOf = __esmMin((() => {})))();
|
|
82
|
-
}
|
|
83
|
-
//#endregion
|
|
84
|
-
//#region ../../node_modules/@popperjs/core/lib/modifiers/applyStyles.js
|
|
85
|
-
function applyStyles(_ref) {
|
|
86
|
-
var state = _ref.state;
|
|
87
|
-
Object.keys(state.elements).forEach(function(name) {
|
|
88
|
-
var style = state.styles[name] || {};
|
|
89
|
-
var attributes = state.attributes[name] || {};
|
|
90
|
-
var element = state.elements[name];
|
|
91
|
-
if (!isHTMLElement(element) || !getNodeName(element)) return;
|
|
92
|
-
Object.assign(element.style, style);
|
|
93
|
-
Object.keys(attributes).forEach(function(name) {
|
|
94
|
-
var value = attributes[name];
|
|
95
|
-
if (value === false) element.removeAttribute(name);
|
|
96
|
-
else element.setAttribute(name, value === true ? "" : value);
|
|
97
|
-
});
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
function effect$2(_ref2) {
|
|
101
|
-
var state = _ref2.state;
|
|
102
|
-
var initialStyles = {
|
|
103
|
-
popper: {
|
|
104
|
-
position: state.options.strategy,
|
|
105
|
-
left: "0",
|
|
106
|
-
top: "0",
|
|
107
|
-
margin: "0"
|
|
108
|
-
},
|
|
109
|
-
arrow: { position: "absolute" },
|
|
110
|
-
reference: {}
|
|
111
|
-
};
|
|
112
|
-
Object.assign(state.elements.popper.style, initialStyles.popper);
|
|
113
|
-
state.styles = initialStyles;
|
|
114
|
-
if (state.elements.arrow) Object.assign(state.elements.arrow.style, initialStyles.arrow);
|
|
115
|
-
return function() {
|
|
116
|
-
Object.keys(state.elements).forEach(function(name) {
|
|
117
|
-
var element = state.elements[name];
|
|
118
|
-
var attributes = state.attributes[name] || {};
|
|
119
|
-
var style = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]).reduce(function(style, property) {
|
|
120
|
-
style[property] = "";
|
|
121
|
-
return style;
|
|
122
|
-
}, {});
|
|
123
|
-
if (!isHTMLElement(element) || !getNodeName(element)) return;
|
|
124
|
-
Object.assign(element.style, style);
|
|
125
|
-
Object.keys(attributes).forEach(function(attribute) {
|
|
126
|
-
element.removeAttribute(attribute);
|
|
127
|
-
});
|
|
128
|
-
});
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
var applyStyles_default;
|
|
132
|
-
function init_applyStyles() {
|
|
133
|
-
return (init_applyStyles = __esmMin((() => {
|
|
134
|
-
init_instanceOf();
|
|
135
|
-
applyStyles_default = {
|
|
136
|
-
name: "applyStyles",
|
|
137
|
-
enabled: true,
|
|
138
|
-
phase: "write",
|
|
139
|
-
fn: applyStyles,
|
|
140
|
-
effect: effect$2,
|
|
141
|
-
requires: ["computeStyles"]
|
|
142
|
-
};
|
|
143
|
-
})))();
|
|
144
|
-
}
|
|
145
|
-
//#endregion
|
|
146
|
-
//#region ../../node_modules/@popperjs/core/lib/utils/getBasePlacement.js
|
|
147
|
-
function getBasePlacement(placement) {
|
|
148
|
-
return placement.split("-")[0];
|
|
149
|
-
}
|
|
150
|
-
//#endregion
|
|
151
|
-
//#region ../../node_modules/@popperjs/core/lib/utils/math.js
|
|
152
|
-
var max, min, round;
|
|
153
|
-
function init_math() {
|
|
154
|
-
return (init_math = __esmMin((() => {
|
|
155
|
-
max = Math.max;
|
|
156
|
-
min = Math.min;
|
|
157
|
-
round = Math.round;
|
|
158
|
-
})))();
|
|
159
|
-
}
|
|
160
|
-
//#endregion
|
|
161
|
-
//#region ../../node_modules/@popperjs/core/lib/utils/userAgent.js
|
|
162
|
-
function getUAString() {
|
|
163
|
-
var uaData = navigator.userAgentData;
|
|
164
|
-
if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) return uaData.brands.map(function(item) {
|
|
165
|
-
return item.brand + "/" + item.version;
|
|
166
|
-
}).join(" ");
|
|
167
|
-
return navigator.userAgent;
|
|
168
|
-
}
|
|
169
|
-
//#endregion
|
|
170
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js
|
|
171
|
-
function isLayoutViewport() {
|
|
172
|
-
return !/^((?!chrome|android).)*safari/i.test(getUAString());
|
|
173
|
-
}
|
|
174
|
-
function init_isLayoutViewport() {
|
|
175
|
-
return (init_isLayoutViewport = __esmMin((() => {})))();
|
|
176
|
-
}
|
|
177
|
-
//#endregion
|
|
178
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js
|
|
179
|
-
function getBoundingClientRect(element, includeScale, isFixedStrategy) {
|
|
180
|
-
if (includeScale === void 0) includeScale = false;
|
|
181
|
-
if (isFixedStrategy === void 0) isFixedStrategy = false;
|
|
182
|
-
var clientRect = element.getBoundingClientRect();
|
|
183
|
-
var scaleX = 1;
|
|
184
|
-
var scaleY = 1;
|
|
185
|
-
if (includeScale && isHTMLElement(element)) {
|
|
186
|
-
scaleX = element.offsetWidth > 0 ? round(clientRect.width) / element.offsetWidth || 1 : 1;
|
|
187
|
-
scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1;
|
|
188
|
-
}
|
|
189
|
-
var visualViewport = (isElement(element) ? getWindow(element) : window).visualViewport;
|
|
190
|
-
var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
|
|
191
|
-
var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
|
|
192
|
-
var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
|
|
193
|
-
var width = clientRect.width / scaleX;
|
|
194
|
-
var height = clientRect.height / scaleY;
|
|
195
|
-
return {
|
|
196
|
-
width,
|
|
197
|
-
height,
|
|
198
|
-
top: y,
|
|
199
|
-
right: x + width,
|
|
200
|
-
bottom: y + height,
|
|
201
|
-
left: x,
|
|
202
|
-
x,
|
|
203
|
-
y
|
|
204
|
-
};
|
|
205
|
-
}
|
|
206
|
-
function init_getBoundingClientRect() {
|
|
207
|
-
return (init_getBoundingClientRect = __esmMin((() => {
|
|
208
|
-
init_instanceOf();
|
|
209
|
-
init_math();
|
|
210
|
-
init_isLayoutViewport();
|
|
211
|
-
})))();
|
|
212
|
-
}
|
|
213
|
-
//#endregion
|
|
214
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js
|
|
215
|
-
function getLayoutRect(element) {
|
|
216
|
-
var clientRect = getBoundingClientRect(element);
|
|
217
|
-
var width = element.offsetWidth;
|
|
218
|
-
var height = element.offsetHeight;
|
|
219
|
-
if (Math.abs(clientRect.width - width) <= 1) width = clientRect.width;
|
|
220
|
-
if (Math.abs(clientRect.height - height) <= 1) height = clientRect.height;
|
|
221
|
-
return {
|
|
222
|
-
x: element.offsetLeft,
|
|
223
|
-
y: element.offsetTop,
|
|
224
|
-
width,
|
|
225
|
-
height
|
|
226
|
-
};
|
|
227
|
-
}
|
|
228
|
-
function init_getLayoutRect() {
|
|
229
|
-
return (init_getLayoutRect = __esmMin((() => {
|
|
230
|
-
init_getBoundingClientRect();
|
|
231
|
-
})))();
|
|
232
|
-
}
|
|
233
|
-
//#endregion
|
|
234
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/contains.js
|
|
235
|
-
function contains(parent, child) {
|
|
236
|
-
var rootNode = child.getRootNode && child.getRootNode();
|
|
237
|
-
if (parent.contains(child)) return true;
|
|
238
|
-
else if (rootNode && isShadowRoot(rootNode)) {
|
|
239
|
-
var next = child;
|
|
240
|
-
do {
|
|
241
|
-
if (next && parent.isSameNode(next)) return true;
|
|
242
|
-
next = next.parentNode || next.host;
|
|
243
|
-
} while (next);
|
|
244
|
-
}
|
|
245
|
-
return false;
|
|
246
|
-
}
|
|
247
|
-
function init_contains() {
|
|
248
|
-
return (init_contains = __esmMin((() => {
|
|
249
|
-
init_instanceOf();
|
|
250
|
-
})))();
|
|
251
|
-
}
|
|
252
|
-
//#endregion
|
|
253
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js
|
|
254
|
-
function getComputedStyle(element) {
|
|
255
|
-
return getWindow(element).getComputedStyle(element);
|
|
256
|
-
}
|
|
257
|
-
function init_getComputedStyle() {
|
|
258
|
-
return (init_getComputedStyle = __esmMin((() => {})))();
|
|
259
|
-
}
|
|
260
|
-
//#endregion
|
|
261
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/isTableElement.js
|
|
262
|
-
function isTableElement(element) {
|
|
263
|
-
return [
|
|
264
|
-
"table",
|
|
265
|
-
"td",
|
|
266
|
-
"th"
|
|
267
|
-
].indexOf(getNodeName(element)) >= 0;
|
|
268
|
-
}
|
|
269
|
-
function init_isTableElement() {
|
|
270
|
-
return (init_isTableElement = __esmMin((() => {})))();
|
|
271
|
-
}
|
|
272
|
-
//#endregion
|
|
273
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js
|
|
274
|
-
function getDocumentElement(element) {
|
|
275
|
-
return ((isElement(element) ? element.ownerDocument : element.document) || window.document).documentElement;
|
|
276
|
-
}
|
|
277
|
-
function init_getDocumentElement() {
|
|
278
|
-
return (init_getDocumentElement = __esmMin((() => {
|
|
279
|
-
init_instanceOf();
|
|
280
|
-
})))();
|
|
281
|
-
}
|
|
282
|
-
//#endregion
|
|
283
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/getParentNode.js
|
|
284
|
-
function getParentNode(element) {
|
|
285
|
-
if (getNodeName(element) === "html") return element;
|
|
286
|
-
return element.assignedSlot || element.parentNode || (isShadowRoot(element) ? element.host : null) || getDocumentElement(element);
|
|
287
|
-
}
|
|
288
|
-
function init_getParentNode() {
|
|
289
|
-
return (init_getParentNode = __esmMin((() => {
|
|
290
|
-
init_getDocumentElement();
|
|
291
|
-
init_instanceOf();
|
|
292
|
-
})))();
|
|
293
|
-
}
|
|
294
|
-
//#endregion
|
|
295
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js
|
|
296
|
-
function getTrueOffsetParent(element) {
|
|
297
|
-
if (!isHTMLElement(element) || getComputedStyle(element).position === "fixed") return null;
|
|
298
|
-
return element.offsetParent;
|
|
299
|
-
}
|
|
300
|
-
function getContainingBlock(element) {
|
|
301
|
-
var isFirefox = /firefox/i.test(getUAString());
|
|
302
|
-
if (/Trident/i.test(getUAString()) && isHTMLElement(element)) {
|
|
303
|
-
if (getComputedStyle(element).position === "fixed") return null;
|
|
304
|
-
}
|
|
305
|
-
var currentNode = getParentNode(element);
|
|
306
|
-
if (isShadowRoot(currentNode)) currentNode = currentNode.host;
|
|
307
|
-
while (isHTMLElement(currentNode) && ["html", "body"].indexOf(getNodeName(currentNode)) < 0) {
|
|
308
|
-
var css = getComputedStyle(currentNode);
|
|
309
|
-
if (css.transform !== "none" || css.perspective !== "none" || css.contain === "paint" || ["transform", "perspective"].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === "filter" || isFirefox && css.filter && css.filter !== "none") return currentNode;
|
|
310
|
-
else currentNode = currentNode.parentNode;
|
|
311
|
-
}
|
|
312
|
-
return null;
|
|
313
|
-
}
|
|
314
|
-
function getOffsetParent(element) {
|
|
315
|
-
var window = getWindow(element);
|
|
316
|
-
var offsetParent = getTrueOffsetParent(element);
|
|
317
|
-
while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === "static") offsetParent = getTrueOffsetParent(offsetParent);
|
|
318
|
-
if (offsetParent && (getNodeName(offsetParent) === "html" || getNodeName(offsetParent) === "body" && getComputedStyle(offsetParent).position === "static")) return window;
|
|
319
|
-
return offsetParent || getContainingBlock(element) || window;
|
|
320
|
-
}
|
|
321
|
-
function init_getOffsetParent() {
|
|
322
|
-
return (init_getOffsetParent = __esmMin((() => {
|
|
323
|
-
init_getComputedStyle();
|
|
324
|
-
init_instanceOf();
|
|
325
|
-
init_isTableElement();
|
|
326
|
-
init_getParentNode();
|
|
327
|
-
})))();
|
|
328
|
-
}
|
|
329
|
-
//#endregion
|
|
330
|
-
//#region ../../node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js
|
|
331
|
-
function getMainAxisFromPlacement(placement) {
|
|
332
|
-
return ["top", "bottom"].indexOf(placement) >= 0 ? "x" : "y";
|
|
333
|
-
}
|
|
334
|
-
//#endregion
|
|
335
|
-
//#region ../../node_modules/@popperjs/core/lib/utils/within.js
|
|
336
|
-
function within(min$2, value, max$2) {
|
|
337
|
-
return max(min$2, min(value, max$2));
|
|
338
|
-
}
|
|
339
|
-
function withinMaxClamp(min, value, max) {
|
|
340
|
-
var v = within(min, value, max);
|
|
341
|
-
return v > max ? max : v;
|
|
342
|
-
}
|
|
343
|
-
function init_within() {
|
|
344
|
-
return (init_within = __esmMin((() => {
|
|
345
|
-
init_math();
|
|
346
|
-
})))();
|
|
347
|
-
}
|
|
348
|
-
//#endregion
|
|
349
|
-
//#region ../../node_modules/@popperjs/core/lib/utils/getFreshSideObject.js
|
|
350
|
-
function getFreshSideObject() {
|
|
351
|
-
return {
|
|
352
|
-
top: 0,
|
|
353
|
-
right: 0,
|
|
354
|
-
bottom: 0,
|
|
355
|
-
left: 0
|
|
356
|
-
};
|
|
357
|
-
}
|
|
358
|
-
//#endregion
|
|
359
|
-
//#region ../../node_modules/@popperjs/core/lib/utils/mergePaddingObject.js
|
|
360
|
-
function mergePaddingObject(paddingObject) {
|
|
361
|
-
return Object.assign({}, getFreshSideObject(), paddingObject);
|
|
362
|
-
}
|
|
363
|
-
function init_mergePaddingObject() {
|
|
364
|
-
return (init_mergePaddingObject = __esmMin((() => {})))();
|
|
365
|
-
}
|
|
366
|
-
//#endregion
|
|
367
|
-
//#region ../../node_modules/@popperjs/core/lib/utils/expandToHashMap.js
|
|
368
|
-
function expandToHashMap(value, keys) {
|
|
369
|
-
return keys.reduce(function(hashMap, key) {
|
|
370
|
-
hashMap[key] = value;
|
|
371
|
-
return hashMap;
|
|
372
|
-
}, {});
|
|
373
|
-
}
|
|
374
|
-
//#endregion
|
|
375
|
-
//#region ../../node_modules/@popperjs/core/lib/modifiers/arrow.js
|
|
376
|
-
function arrow(_ref) {
|
|
377
|
-
var _state$modifiersData$;
|
|
378
|
-
var state = _ref.state, name = _ref.name, options = _ref.options;
|
|
379
|
-
var arrowElement = state.elements.arrow;
|
|
380
|
-
var popperOffsets = state.modifiersData.popperOffsets;
|
|
381
|
-
var basePlacement = getBasePlacement(state.placement);
|
|
382
|
-
var axis = getMainAxisFromPlacement(basePlacement);
|
|
383
|
-
var len = ["left", "right"].indexOf(basePlacement) >= 0 ? "height" : "width";
|
|
384
|
-
if (!arrowElement || !popperOffsets) return;
|
|
385
|
-
var paddingObject = toPaddingObject(options.padding, state);
|
|
386
|
-
var arrowRect = getLayoutRect(arrowElement);
|
|
387
|
-
var minProp = axis === "y" ? "top" : left;
|
|
388
|
-
var maxProp = axis === "y" ? bottom : right;
|
|
389
|
-
var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];
|
|
390
|
-
var startDiff = popperOffsets[axis] - state.rects.reference[axis];
|
|
391
|
-
var arrowOffsetParent = getOffsetParent(arrowElement);
|
|
392
|
-
var clientSize = arrowOffsetParent ? axis === "y" ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;
|
|
393
|
-
var centerToReference = endDiff / 2 - startDiff / 2;
|
|
394
|
-
var min = paddingObject[minProp];
|
|
395
|
-
var max = clientSize - arrowRect[len] - paddingObject[maxProp];
|
|
396
|
-
var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;
|
|
397
|
-
var offset = within(min, center, max);
|
|
398
|
-
var axisProp = axis;
|
|
399
|
-
state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);
|
|
400
|
-
}
|
|
401
|
-
function effect$1(_ref2) {
|
|
402
|
-
var state = _ref2.state;
|
|
403
|
-
var _options$element = _ref2.options.element, arrowElement = _options$element === void 0 ? "[data-popper-arrow]" : _options$element;
|
|
404
|
-
if (arrowElement == null) return;
|
|
405
|
-
if (typeof arrowElement === "string") {
|
|
406
|
-
arrowElement = state.elements.popper.querySelector(arrowElement);
|
|
407
|
-
if (!arrowElement) return;
|
|
408
|
-
}
|
|
409
|
-
if (!contains(state.elements.popper, arrowElement)) return;
|
|
410
|
-
state.elements.arrow = arrowElement;
|
|
411
|
-
}
|
|
412
|
-
var toPaddingObject, arrow_default;
|
|
413
|
-
function init_arrow() {
|
|
414
|
-
return (init_arrow = __esmMin((() => {
|
|
415
|
-
init_getLayoutRect();
|
|
416
|
-
init_contains();
|
|
417
|
-
init_getOffsetParent();
|
|
418
|
-
init_within();
|
|
419
|
-
init_mergePaddingObject();
|
|
420
|
-
init_enums();
|
|
421
|
-
toPaddingObject = function toPaddingObject(padding, state) {
|
|
422
|
-
padding = typeof padding === "function" ? padding(Object.assign({}, state.rects, { placement: state.placement })) : padding;
|
|
423
|
-
return mergePaddingObject(typeof padding !== "number" ? padding : expandToHashMap(padding, basePlacements));
|
|
424
|
-
};
|
|
425
|
-
arrow_default = {
|
|
426
|
-
name: "arrow",
|
|
427
|
-
enabled: true,
|
|
428
|
-
phase: "main",
|
|
429
|
-
fn: arrow,
|
|
430
|
-
effect: effect$1,
|
|
431
|
-
requires: ["popperOffsets"],
|
|
432
|
-
requiresIfExists: ["preventOverflow"]
|
|
433
|
-
};
|
|
434
|
-
})))();
|
|
435
|
-
}
|
|
436
|
-
//#endregion
|
|
437
|
-
//#region ../../node_modules/@popperjs/core/lib/utils/getVariation.js
|
|
438
|
-
function getVariation(placement) {
|
|
439
|
-
return placement.split("-")[1];
|
|
440
|
-
}
|
|
441
|
-
//#endregion
|
|
442
|
-
//#region ../../node_modules/@popperjs/core/lib/modifiers/computeStyles.js
|
|
443
|
-
function roundOffsetsByDPR(_ref, win) {
|
|
444
|
-
var x = _ref.x, y = _ref.y;
|
|
445
|
-
var dpr = win.devicePixelRatio || 1;
|
|
446
|
-
return {
|
|
447
|
-
x: round(x * dpr) / dpr || 0,
|
|
448
|
-
y: round(y * dpr) / dpr || 0
|
|
449
|
-
};
|
|
450
|
-
}
|
|
451
|
-
function mapToStyles(_ref2) {
|
|
452
|
-
var _Object$assign2;
|
|
453
|
-
var popper = _ref2.popper, popperRect = _ref2.popperRect, placement = _ref2.placement, variation = _ref2.variation, offsets = _ref2.offsets, position = _ref2.position, gpuAcceleration = _ref2.gpuAcceleration, adaptive = _ref2.adaptive, roundOffsets = _ref2.roundOffsets, isFixed = _ref2.isFixed;
|
|
454
|
-
var _offsets$x = offsets.x, x = _offsets$x === void 0 ? 0 : _offsets$x, _offsets$y = offsets.y, y = _offsets$y === void 0 ? 0 : _offsets$y;
|
|
455
|
-
var _ref3 = typeof roundOffsets === "function" ? roundOffsets({
|
|
456
|
-
x,
|
|
457
|
-
y
|
|
458
|
-
}) : {
|
|
459
|
-
x,
|
|
460
|
-
y
|
|
461
|
-
};
|
|
462
|
-
x = _ref3.x;
|
|
463
|
-
y = _ref3.y;
|
|
464
|
-
var hasX = offsets.hasOwnProperty("x");
|
|
465
|
-
var hasY = offsets.hasOwnProperty("y");
|
|
466
|
-
var sideX = left;
|
|
467
|
-
var sideY = "top";
|
|
468
|
-
var win = window;
|
|
469
|
-
if (adaptive) {
|
|
470
|
-
var offsetParent = getOffsetParent(popper);
|
|
471
|
-
var heightProp = "clientHeight";
|
|
472
|
-
var widthProp = "clientWidth";
|
|
473
|
-
if (offsetParent === getWindow(popper)) {
|
|
474
|
-
offsetParent = getDocumentElement(popper);
|
|
475
|
-
if (getComputedStyle(offsetParent).position !== "static" && position === "absolute") {
|
|
476
|
-
heightProp = "scrollHeight";
|
|
477
|
-
widthProp = "scrollWidth";
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
offsetParent = offsetParent;
|
|
481
|
-
if (placement === "top" || (placement === "left" || placement === "right") && variation === "end") {
|
|
482
|
-
sideY = bottom;
|
|
483
|
-
var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : offsetParent[heightProp];
|
|
484
|
-
y -= offsetY - popperRect.height;
|
|
485
|
-
y *= gpuAcceleration ? 1 : -1;
|
|
486
|
-
}
|
|
487
|
-
if (placement === "left" || (placement === "top" || placement === "bottom") && variation === "end") {
|
|
488
|
-
sideX = right;
|
|
489
|
-
var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : offsetParent[widthProp];
|
|
490
|
-
x -= offsetX - popperRect.width;
|
|
491
|
-
x *= gpuAcceleration ? 1 : -1;
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
var commonStyles = Object.assign({ position }, adaptive && unsetSides);
|
|
495
|
-
var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
|
|
496
|
-
x,
|
|
497
|
-
y
|
|
498
|
-
}, getWindow(popper)) : {
|
|
499
|
-
x,
|
|
500
|
-
y
|
|
501
|
-
};
|
|
502
|
-
x = _ref4.x;
|
|
503
|
-
y = _ref4.y;
|
|
504
|
-
if (gpuAcceleration) {
|
|
505
|
-
var _Object$assign;
|
|
506
|
-
return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? "0" : "", _Object$assign[sideX] = hasX ? "0" : "", _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
|
|
507
|
-
}
|
|
508
|
-
return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : "", _Object$assign2[sideX] = hasX ? x + "px" : "", _Object$assign2.transform = "", _Object$assign2));
|
|
509
|
-
}
|
|
510
|
-
function computeStyles(_ref5) {
|
|
511
|
-
var state = _ref5.state, options = _ref5.options;
|
|
512
|
-
var _options$gpuAccelerat = options.gpuAcceleration, gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat, _options$adaptive = options.adaptive, adaptive = _options$adaptive === void 0 ? true : _options$adaptive, _options$roundOffsets = options.roundOffsets, roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
|
|
513
|
-
var commonStyles = {
|
|
514
|
-
placement: getBasePlacement(state.placement),
|
|
515
|
-
variation: getVariation(state.placement),
|
|
516
|
-
popper: state.elements.popper,
|
|
517
|
-
popperRect: state.rects.popper,
|
|
518
|
-
gpuAcceleration,
|
|
519
|
-
isFixed: state.options.strategy === "fixed"
|
|
520
|
-
};
|
|
521
|
-
if (state.modifiersData.popperOffsets != null) state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {
|
|
522
|
-
offsets: state.modifiersData.popperOffsets,
|
|
523
|
-
position: state.options.strategy,
|
|
524
|
-
adaptive,
|
|
525
|
-
roundOffsets
|
|
526
|
-
})));
|
|
527
|
-
if (state.modifiersData.arrow != null) state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {
|
|
528
|
-
offsets: state.modifiersData.arrow,
|
|
529
|
-
position: "absolute",
|
|
530
|
-
adaptive: false,
|
|
531
|
-
roundOffsets
|
|
532
|
-
})));
|
|
533
|
-
state.attributes.popper = Object.assign({}, state.attributes.popper, { "data-popper-placement": state.placement });
|
|
534
|
-
}
|
|
535
|
-
var unsetSides, computeStyles_default;
|
|
536
|
-
function init_computeStyles() {
|
|
537
|
-
return (init_computeStyles = __esmMin((() => {
|
|
538
|
-
init_enums();
|
|
539
|
-
init_getOffsetParent();
|
|
540
|
-
init_getDocumentElement();
|
|
541
|
-
init_getComputedStyle();
|
|
542
|
-
init_math();
|
|
543
|
-
unsetSides = {
|
|
544
|
-
top: "auto",
|
|
545
|
-
right: "auto",
|
|
546
|
-
bottom: "auto",
|
|
547
|
-
left: "auto"
|
|
548
|
-
};
|
|
549
|
-
computeStyles_default = {
|
|
550
|
-
name: "computeStyles",
|
|
551
|
-
enabled: true,
|
|
552
|
-
phase: "beforeWrite",
|
|
553
|
-
fn: computeStyles,
|
|
554
|
-
data: {}
|
|
555
|
-
};
|
|
556
|
-
})))();
|
|
557
|
-
}
|
|
558
|
-
//#endregion
|
|
559
|
-
//#region ../../node_modules/@popperjs/core/lib/modifiers/eventListeners.js
|
|
560
|
-
function effect(_ref) {
|
|
561
|
-
var state = _ref.state, instance = _ref.instance, options = _ref.options;
|
|
562
|
-
var _options$scroll = options.scroll, scroll = _options$scroll === void 0 ? true : _options$scroll, _options$resize = options.resize, resize = _options$resize === void 0 ? true : _options$resize;
|
|
563
|
-
var window = getWindow(state.elements.popper);
|
|
564
|
-
var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);
|
|
565
|
-
if (scroll) scrollParents.forEach(function(scrollParent) {
|
|
566
|
-
scrollParent.addEventListener("scroll", instance.update, passive);
|
|
567
|
-
});
|
|
568
|
-
if (resize) window.addEventListener("resize", instance.update, passive);
|
|
569
|
-
return function() {
|
|
570
|
-
if (scroll) scrollParents.forEach(function(scrollParent) {
|
|
571
|
-
scrollParent.removeEventListener("scroll", instance.update, passive);
|
|
572
|
-
});
|
|
573
|
-
if (resize) window.removeEventListener("resize", instance.update, passive);
|
|
574
|
-
};
|
|
575
|
-
}
|
|
576
|
-
var passive, eventListeners_default;
|
|
577
|
-
function init_eventListeners() {
|
|
578
|
-
return (init_eventListeners = __esmMin((() => {
|
|
579
|
-
passive = { passive: true };
|
|
580
|
-
eventListeners_default = {
|
|
581
|
-
name: "eventListeners",
|
|
582
|
-
enabled: true,
|
|
583
|
-
phase: "write",
|
|
584
|
-
fn: function fn() {},
|
|
585
|
-
effect,
|
|
586
|
-
data: {}
|
|
587
|
-
};
|
|
588
|
-
})))();
|
|
589
|
-
}
|
|
590
|
-
//#endregion
|
|
591
|
-
//#region ../../node_modules/@popperjs/core/lib/utils/getOppositePlacement.js
|
|
592
|
-
function getOppositePlacement(placement) {
|
|
593
|
-
return placement.replace(/left|right|bottom|top/g, function(matched) {
|
|
594
|
-
return hash$1[matched];
|
|
595
|
-
});
|
|
596
|
-
}
|
|
597
|
-
var hash$1;
|
|
598
|
-
function init_getOppositePlacement() {
|
|
599
|
-
return (init_getOppositePlacement = __esmMin((() => {
|
|
600
|
-
hash$1 = {
|
|
601
|
-
left: "right",
|
|
602
|
-
right: "left",
|
|
603
|
-
bottom: "top",
|
|
604
|
-
top: "bottom"
|
|
605
|
-
};
|
|
606
|
-
})))();
|
|
607
|
-
}
|
|
608
|
-
//#endregion
|
|
609
|
-
//#region ../../node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js
|
|
610
|
-
function getOppositeVariationPlacement(placement) {
|
|
611
|
-
return placement.replace(/start|end/g, function(matched) {
|
|
612
|
-
return hash[matched];
|
|
613
|
-
});
|
|
614
|
-
}
|
|
615
|
-
var hash;
|
|
616
|
-
function init_getOppositeVariationPlacement() {
|
|
617
|
-
return (init_getOppositeVariationPlacement = __esmMin((() => {
|
|
618
|
-
hash = {
|
|
619
|
-
start: "end",
|
|
620
|
-
end: "start"
|
|
621
|
-
};
|
|
622
|
-
})))();
|
|
623
|
-
}
|
|
624
|
-
//#endregion
|
|
625
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js
|
|
626
|
-
function getWindowScroll(node) {
|
|
627
|
-
var win = getWindow(node);
|
|
628
|
-
return {
|
|
629
|
-
scrollLeft: win.pageXOffset,
|
|
630
|
-
scrollTop: win.pageYOffset
|
|
631
|
-
};
|
|
632
|
-
}
|
|
633
|
-
function init_getWindowScroll() {
|
|
634
|
-
return (init_getWindowScroll = __esmMin((() => {})))();
|
|
635
|
-
}
|
|
636
|
-
//#endregion
|
|
637
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js
|
|
638
|
-
function getWindowScrollBarX(element) {
|
|
639
|
-
return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;
|
|
640
|
-
}
|
|
641
|
-
function init_getWindowScrollBarX() {
|
|
642
|
-
return (init_getWindowScrollBarX = __esmMin((() => {
|
|
643
|
-
init_getBoundingClientRect();
|
|
644
|
-
init_getDocumentElement();
|
|
645
|
-
init_getWindowScroll();
|
|
646
|
-
})))();
|
|
647
|
-
}
|
|
648
|
-
//#endregion
|
|
649
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js
|
|
650
|
-
function getViewportRect(element, strategy) {
|
|
651
|
-
var win = getWindow(element);
|
|
652
|
-
var html = getDocumentElement(element);
|
|
653
|
-
var visualViewport = win.visualViewport;
|
|
654
|
-
var width = html.clientWidth;
|
|
655
|
-
var height = html.clientHeight;
|
|
656
|
-
var x = 0;
|
|
657
|
-
var y = 0;
|
|
658
|
-
if (visualViewport) {
|
|
659
|
-
width = visualViewport.width;
|
|
660
|
-
height = visualViewport.height;
|
|
661
|
-
var layoutViewport = isLayoutViewport();
|
|
662
|
-
if (layoutViewport || !layoutViewport && strategy === "fixed") {
|
|
663
|
-
x = visualViewport.offsetLeft;
|
|
664
|
-
y = visualViewport.offsetTop;
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
return {
|
|
668
|
-
width,
|
|
669
|
-
height,
|
|
670
|
-
x: x + getWindowScrollBarX(element),
|
|
671
|
-
y
|
|
672
|
-
};
|
|
673
|
-
}
|
|
674
|
-
function init_getViewportRect() {
|
|
675
|
-
return (init_getViewportRect = __esmMin((() => {
|
|
676
|
-
init_getDocumentElement();
|
|
677
|
-
init_getWindowScrollBarX();
|
|
678
|
-
init_isLayoutViewport();
|
|
679
|
-
})))();
|
|
680
|
-
}
|
|
681
|
-
//#endregion
|
|
682
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js
|
|
683
|
-
function getDocumentRect(element) {
|
|
684
|
-
var _element$ownerDocumen;
|
|
685
|
-
var html = getDocumentElement(element);
|
|
686
|
-
var winScroll = getWindowScroll(element);
|
|
687
|
-
var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
|
|
688
|
-
var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
|
|
689
|
-
var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
|
|
690
|
-
var x = -winScroll.scrollLeft + getWindowScrollBarX(element);
|
|
691
|
-
var y = -winScroll.scrollTop;
|
|
692
|
-
if (getComputedStyle(body || html).direction === "rtl") x += max(html.clientWidth, body ? body.clientWidth : 0) - width;
|
|
693
|
-
return {
|
|
694
|
-
width,
|
|
695
|
-
height,
|
|
696
|
-
x,
|
|
697
|
-
y
|
|
698
|
-
};
|
|
699
|
-
}
|
|
700
|
-
function init_getDocumentRect() {
|
|
701
|
-
return (init_getDocumentRect = __esmMin((() => {
|
|
702
|
-
init_getDocumentElement();
|
|
703
|
-
init_getComputedStyle();
|
|
704
|
-
init_getWindowScrollBarX();
|
|
705
|
-
init_getWindowScroll();
|
|
706
|
-
init_math();
|
|
707
|
-
})))();
|
|
708
|
-
}
|
|
709
|
-
//#endregion
|
|
710
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js
|
|
711
|
-
function isScrollParent(element) {
|
|
712
|
-
var _getComputedStyle = getComputedStyle(element), overflow = _getComputedStyle.overflow, overflowX = _getComputedStyle.overflowX, overflowY = _getComputedStyle.overflowY;
|
|
713
|
-
return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
|
|
714
|
-
}
|
|
715
|
-
function init_isScrollParent() {
|
|
716
|
-
return (init_isScrollParent = __esmMin((() => {
|
|
717
|
-
init_getComputedStyle();
|
|
718
|
-
})))();
|
|
719
|
-
}
|
|
720
|
-
//#endregion
|
|
721
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js
|
|
722
|
-
function getScrollParent(node) {
|
|
723
|
-
if ([
|
|
724
|
-
"html",
|
|
725
|
-
"body",
|
|
726
|
-
"#document"
|
|
727
|
-
].indexOf(getNodeName(node)) >= 0) return node.ownerDocument.body;
|
|
728
|
-
if (isHTMLElement(node) && isScrollParent(node)) return node;
|
|
729
|
-
return getScrollParent(getParentNode(node));
|
|
730
|
-
}
|
|
731
|
-
function init_getScrollParent() {
|
|
732
|
-
return (init_getScrollParent = __esmMin((() => {
|
|
733
|
-
init_getParentNode();
|
|
734
|
-
init_isScrollParent();
|
|
735
|
-
init_instanceOf();
|
|
736
|
-
})))();
|
|
737
|
-
}
|
|
738
|
-
//#endregion
|
|
739
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js
|
|
740
|
-
function listScrollParents(element, list) {
|
|
741
|
-
var _element$ownerDocumen;
|
|
742
|
-
if (list === void 0) list = [];
|
|
743
|
-
var scrollParent = getScrollParent(element);
|
|
744
|
-
var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);
|
|
745
|
-
var win = getWindow(scrollParent);
|
|
746
|
-
var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
|
|
747
|
-
var updatedList = list.concat(target);
|
|
748
|
-
return isBody ? updatedList : updatedList.concat(listScrollParents(getParentNode(target)));
|
|
749
|
-
}
|
|
750
|
-
function init_listScrollParents() {
|
|
751
|
-
return (init_listScrollParents = __esmMin((() => {
|
|
752
|
-
init_getScrollParent();
|
|
753
|
-
init_getParentNode();
|
|
754
|
-
init_isScrollParent();
|
|
755
|
-
})))();
|
|
756
|
-
}
|
|
757
|
-
//#endregion
|
|
758
|
-
//#region ../../node_modules/@popperjs/core/lib/utils/rectToClientRect.js
|
|
759
|
-
function rectToClientRect(rect) {
|
|
760
|
-
return Object.assign({}, rect, {
|
|
761
|
-
left: rect.x,
|
|
762
|
-
top: rect.y,
|
|
763
|
-
right: rect.x + rect.width,
|
|
764
|
-
bottom: rect.y + rect.height
|
|
765
|
-
});
|
|
766
|
-
}
|
|
767
|
-
//#endregion
|
|
768
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js
|
|
769
|
-
function getInnerBoundingClientRect(element, strategy) {
|
|
770
|
-
var rect = getBoundingClientRect(element, false, strategy === "fixed");
|
|
771
|
-
rect.top = rect.top + element.clientTop;
|
|
772
|
-
rect.left = rect.left + element.clientLeft;
|
|
773
|
-
rect.bottom = rect.top + element.clientHeight;
|
|
774
|
-
rect.right = rect.left + element.clientWidth;
|
|
775
|
-
rect.width = element.clientWidth;
|
|
776
|
-
rect.height = element.clientHeight;
|
|
777
|
-
rect.x = rect.left;
|
|
778
|
-
rect.y = rect.top;
|
|
779
|
-
return rect;
|
|
780
|
-
}
|
|
781
|
-
function getClientRectFromMixedType(element, clippingParent, strategy) {
|
|
782
|
-
return clippingParent === "viewport" ? rectToClientRect(getViewportRect(element, strategy)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
783
|
-
}
|
|
784
|
-
function getClippingParents(element) {
|
|
785
|
-
var clippingParents = listScrollParents(getParentNode(element));
|
|
786
|
-
var clipperElement = ["absolute", "fixed"].indexOf(getComputedStyle(element).position) >= 0 && isHTMLElement(element) ? getOffsetParent(element) : element;
|
|
787
|
-
if (!isElement(clipperElement)) return [];
|
|
788
|
-
return clippingParents.filter(function(clippingParent) {
|
|
789
|
-
return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== "body";
|
|
790
|
-
});
|
|
791
|
-
}
|
|
792
|
-
function getClippingRect(element, boundary, rootBoundary, strategy) {
|
|
793
|
-
var mainClippingParents = boundary === "clippingParents" ? getClippingParents(element) : [].concat(boundary);
|
|
794
|
-
var clippingParents = [].concat(mainClippingParents, [rootBoundary]);
|
|
795
|
-
var firstClippingParent = clippingParents[0];
|
|
796
|
-
var clippingRect = clippingParents.reduce(function(accRect, clippingParent) {
|
|
797
|
-
var rect = getClientRectFromMixedType(element, clippingParent, strategy);
|
|
798
|
-
accRect.top = max(rect.top, accRect.top);
|
|
799
|
-
accRect.right = min(rect.right, accRect.right);
|
|
800
|
-
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
801
|
-
accRect.left = max(rect.left, accRect.left);
|
|
802
|
-
return accRect;
|
|
803
|
-
}, getClientRectFromMixedType(element, firstClippingParent, strategy));
|
|
804
|
-
clippingRect.width = clippingRect.right - clippingRect.left;
|
|
805
|
-
clippingRect.height = clippingRect.bottom - clippingRect.top;
|
|
806
|
-
clippingRect.x = clippingRect.left;
|
|
807
|
-
clippingRect.y = clippingRect.top;
|
|
808
|
-
return clippingRect;
|
|
809
|
-
}
|
|
810
|
-
function init_getClippingRect() {
|
|
811
|
-
return (init_getClippingRect = __esmMin((() => {
|
|
812
|
-
init_enums();
|
|
813
|
-
init_getViewportRect();
|
|
814
|
-
init_getDocumentRect();
|
|
815
|
-
init_listScrollParents();
|
|
816
|
-
init_getOffsetParent();
|
|
817
|
-
init_getDocumentElement();
|
|
818
|
-
init_getComputedStyle();
|
|
819
|
-
init_instanceOf();
|
|
820
|
-
init_getBoundingClientRect();
|
|
821
|
-
init_getParentNode();
|
|
822
|
-
init_contains();
|
|
823
|
-
init_math();
|
|
824
|
-
})))();
|
|
825
|
-
}
|
|
826
|
-
//#endregion
|
|
827
|
-
//#region ../../node_modules/@popperjs/core/lib/utils/computeOffsets.js
|
|
828
|
-
function computeOffsets(_ref) {
|
|
829
|
-
var reference = _ref.reference, element = _ref.element, placement = _ref.placement;
|
|
830
|
-
var basePlacement = placement ? getBasePlacement(placement) : null;
|
|
831
|
-
var variation = placement ? getVariation(placement) : null;
|
|
832
|
-
var commonX = reference.x + reference.width / 2 - element.width / 2;
|
|
833
|
-
var commonY = reference.y + reference.height / 2 - element.height / 2;
|
|
834
|
-
var offsets;
|
|
835
|
-
switch (basePlacement) {
|
|
836
|
-
case "top":
|
|
837
|
-
offsets = {
|
|
838
|
-
x: commonX,
|
|
839
|
-
y: reference.y - element.height
|
|
840
|
-
};
|
|
841
|
-
break;
|
|
842
|
-
case bottom:
|
|
843
|
-
offsets = {
|
|
844
|
-
x: commonX,
|
|
845
|
-
y: reference.y + reference.height
|
|
846
|
-
};
|
|
847
|
-
break;
|
|
848
|
-
case right:
|
|
849
|
-
offsets = {
|
|
850
|
-
x: reference.x + reference.width,
|
|
851
|
-
y: commonY
|
|
852
|
-
};
|
|
853
|
-
break;
|
|
854
|
-
case left:
|
|
855
|
-
offsets = {
|
|
856
|
-
x: reference.x - element.width,
|
|
857
|
-
y: commonY
|
|
858
|
-
};
|
|
859
|
-
break;
|
|
860
|
-
default: offsets = {
|
|
861
|
-
x: reference.x,
|
|
862
|
-
y: reference.y
|
|
863
|
-
};
|
|
864
|
-
}
|
|
865
|
-
var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;
|
|
866
|
-
if (mainAxis != null) {
|
|
867
|
-
var len = mainAxis === "y" ? "height" : "width";
|
|
868
|
-
switch (variation) {
|
|
869
|
-
case start:
|
|
870
|
-
offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);
|
|
871
|
-
break;
|
|
872
|
-
case "end": offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
return offsets;
|
|
876
|
-
}
|
|
877
|
-
function init_computeOffsets() {
|
|
878
|
-
return (init_computeOffsets = __esmMin((() => {
|
|
879
|
-
init_enums();
|
|
880
|
-
})))();
|
|
881
|
-
}
|
|
882
|
-
//#endregion
|
|
883
|
-
//#region ../../node_modules/@popperjs/core/lib/utils/detectOverflow.js
|
|
884
|
-
function detectOverflow(state, options) {
|
|
885
|
-
if (options === void 0) options = {};
|
|
886
|
-
var _options = options, _options$placement = _options.placement, placement = _options$placement === void 0 ? state.placement : _options$placement, _options$strategy = _options.strategy, strategy = _options$strategy === void 0 ? state.strategy : _options$strategy, _options$boundary = _options.boundary, boundary = _options$boundary === void 0 ? clippingParents : _options$boundary, _options$rootBoundary = _options.rootBoundary, rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary, _options$elementConte = _options.elementContext, elementContext = _options$elementConte === void 0 ? popper : _options$elementConte, _options$altBoundary = _options.altBoundary, altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary, _options$padding = _options.padding, padding = _options$padding === void 0 ? 0 : _options$padding;
|
|
887
|
-
var paddingObject = mergePaddingObject(typeof padding !== "number" ? padding : expandToHashMap(padding, basePlacements));
|
|
888
|
-
var altContext = elementContext === "popper" ? reference : popper;
|
|
889
|
-
var popperRect = state.rects.popper;
|
|
890
|
-
var element = state.elements[altBoundary ? altContext : elementContext];
|
|
891
|
-
var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary, strategy);
|
|
892
|
-
var referenceClientRect = getBoundingClientRect(state.elements.reference);
|
|
893
|
-
var popperOffsets = computeOffsets({
|
|
894
|
-
reference: referenceClientRect,
|
|
895
|
-
element: popperRect,
|
|
896
|
-
strategy: "absolute",
|
|
897
|
-
placement
|
|
898
|
-
});
|
|
899
|
-
var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));
|
|
900
|
-
var elementClientRect = elementContext === "popper" ? popperClientRect : referenceClientRect;
|
|
901
|
-
var overflowOffsets = {
|
|
902
|
-
top: clippingClientRect.top - elementClientRect.top + paddingObject.top,
|
|
903
|
-
bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,
|
|
904
|
-
left: clippingClientRect.left - elementClientRect.left + paddingObject.left,
|
|
905
|
-
right: elementClientRect.right - clippingClientRect.right + paddingObject.right
|
|
906
|
-
};
|
|
907
|
-
var offsetData = state.modifiersData.offset;
|
|
908
|
-
if (elementContext === "popper" && offsetData) {
|
|
909
|
-
var offset = offsetData[placement];
|
|
910
|
-
Object.keys(overflowOffsets).forEach(function(key) {
|
|
911
|
-
var multiply = ["right", "bottom"].indexOf(key) >= 0 ? 1 : -1;
|
|
912
|
-
var axis = ["top", "bottom"].indexOf(key) >= 0 ? "y" : "x";
|
|
913
|
-
overflowOffsets[key] += offset[axis] * multiply;
|
|
914
|
-
});
|
|
915
|
-
}
|
|
916
|
-
return overflowOffsets;
|
|
917
|
-
}
|
|
918
|
-
function init_detectOverflow() {
|
|
919
|
-
return (init_detectOverflow = __esmMin((() => {
|
|
920
|
-
init_getClippingRect();
|
|
921
|
-
init_getDocumentElement();
|
|
922
|
-
init_getBoundingClientRect();
|
|
923
|
-
init_computeOffsets();
|
|
924
|
-
init_enums();
|
|
925
|
-
init_instanceOf();
|
|
926
|
-
init_mergePaddingObject();
|
|
927
|
-
})))();
|
|
928
|
-
}
|
|
929
|
-
//#endregion
|
|
930
|
-
//#region ../../node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js
|
|
931
|
-
function computeAutoPlacement(state, options) {
|
|
932
|
-
if (options === void 0) options = {};
|
|
933
|
-
var _options = options, placement = _options.placement, boundary = _options.boundary, rootBoundary = _options.rootBoundary, padding = _options.padding, flipVariations = _options.flipVariations, _options$allowedAutoP = _options.allowedAutoPlacements, allowedAutoPlacements = _options$allowedAutoP === void 0 ? placements : _options$allowedAutoP;
|
|
934
|
-
var variation = getVariation(placement);
|
|
935
|
-
var placements$1 = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function(placement) {
|
|
936
|
-
return getVariation(placement) === variation;
|
|
937
|
-
}) : basePlacements;
|
|
938
|
-
var allowedPlacements = placements$1.filter(function(placement) {
|
|
939
|
-
return allowedAutoPlacements.indexOf(placement) >= 0;
|
|
940
|
-
});
|
|
941
|
-
if (allowedPlacements.length === 0) allowedPlacements = placements$1;
|
|
942
|
-
var overflows = allowedPlacements.reduce(function(acc, placement) {
|
|
943
|
-
acc[placement] = detectOverflow(state, {
|
|
944
|
-
placement,
|
|
945
|
-
boundary,
|
|
946
|
-
rootBoundary,
|
|
947
|
-
padding
|
|
948
|
-
})[getBasePlacement(placement)];
|
|
949
|
-
return acc;
|
|
950
|
-
}, {});
|
|
951
|
-
return Object.keys(overflows).sort(function(a, b) {
|
|
952
|
-
return overflows[a] - overflows[b];
|
|
953
|
-
});
|
|
954
|
-
}
|
|
955
|
-
function init_computeAutoPlacement() {
|
|
956
|
-
return (init_computeAutoPlacement = __esmMin((() => {
|
|
957
|
-
init_enums();
|
|
958
|
-
init_detectOverflow();
|
|
959
|
-
})))();
|
|
960
|
-
}
|
|
961
|
-
//#endregion
|
|
962
|
-
//#region ../../node_modules/@popperjs/core/lib/modifiers/flip.js
|
|
963
|
-
function getExpandedFallbackPlacements(placement) {
|
|
964
|
-
if (getBasePlacement(placement) === "auto") return [];
|
|
965
|
-
var oppositePlacement = getOppositePlacement(placement);
|
|
966
|
-
return [
|
|
967
|
-
getOppositeVariationPlacement(placement),
|
|
968
|
-
oppositePlacement,
|
|
969
|
-
getOppositeVariationPlacement(oppositePlacement)
|
|
970
|
-
];
|
|
971
|
-
}
|
|
972
|
-
function flip(_ref) {
|
|
973
|
-
var state = _ref.state, options = _ref.options, name = _ref.name;
|
|
974
|
-
if (state.modifiersData[name]._skip) return;
|
|
975
|
-
var _options$mainAxis = options.mainAxis, checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis, _options$altAxis = options.altAxis, checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis, specifiedFallbackPlacements = options.fallbackPlacements, padding = options.padding, boundary = options.boundary, rootBoundary = options.rootBoundary, altBoundary = options.altBoundary, _options$flipVariatio = options.flipVariations, flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio, allowedAutoPlacements = options.allowedAutoPlacements;
|
|
976
|
-
var preferredPlacement = state.options.placement;
|
|
977
|
-
var isBasePlacement = getBasePlacement(preferredPlacement) === preferredPlacement;
|
|
978
|
-
var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));
|
|
979
|
-
var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function(acc, placement) {
|
|
980
|
-
return acc.concat(getBasePlacement(placement) === "auto" ? computeAutoPlacement(state, {
|
|
981
|
-
placement,
|
|
982
|
-
boundary,
|
|
983
|
-
rootBoundary,
|
|
984
|
-
padding,
|
|
985
|
-
flipVariations,
|
|
986
|
-
allowedAutoPlacements
|
|
987
|
-
}) : placement);
|
|
988
|
-
}, []);
|
|
989
|
-
var referenceRect = state.rects.reference;
|
|
990
|
-
var popperRect = state.rects.popper;
|
|
991
|
-
var checksMap = /* @__PURE__ */ new Map();
|
|
992
|
-
var makeFallbackChecks = true;
|
|
993
|
-
var firstFittingPlacement = placements[0];
|
|
994
|
-
for (var i = 0; i < placements.length; i++) {
|
|
995
|
-
var placement = placements[i];
|
|
996
|
-
var _basePlacement = getBasePlacement(placement);
|
|
997
|
-
var isStartVariation = getVariation(placement) === start;
|
|
998
|
-
var isVertical = ["top", bottom].indexOf(_basePlacement) >= 0;
|
|
999
|
-
var len = isVertical ? "width" : "height";
|
|
1000
|
-
var overflow = detectOverflow(state, {
|
|
1001
|
-
placement,
|
|
1002
|
-
boundary,
|
|
1003
|
-
rootBoundary,
|
|
1004
|
-
altBoundary,
|
|
1005
|
-
padding
|
|
1006
|
-
});
|
|
1007
|
-
var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : "top";
|
|
1008
|
-
if (referenceRect[len] > popperRect[len]) mainVariationSide = getOppositePlacement(mainVariationSide);
|
|
1009
|
-
var altVariationSide = getOppositePlacement(mainVariationSide);
|
|
1010
|
-
var checks = [];
|
|
1011
|
-
if (checkMainAxis) checks.push(overflow[_basePlacement] <= 0);
|
|
1012
|
-
if (checkAltAxis) checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);
|
|
1013
|
-
if (checks.every(function(check) {
|
|
1014
|
-
return check;
|
|
1015
|
-
})) {
|
|
1016
|
-
firstFittingPlacement = placement;
|
|
1017
|
-
makeFallbackChecks = false;
|
|
1018
|
-
break;
|
|
1019
|
-
}
|
|
1020
|
-
checksMap.set(placement, checks);
|
|
1021
|
-
}
|
|
1022
|
-
if (makeFallbackChecks) {
|
|
1023
|
-
var numberOfChecks = flipVariations ? 3 : 1;
|
|
1024
|
-
var _loop = function _loop(_i) {
|
|
1025
|
-
var fittingPlacement = placements.find(function(placement) {
|
|
1026
|
-
var checks = checksMap.get(placement);
|
|
1027
|
-
if (checks) return checks.slice(0, _i).every(function(check) {
|
|
1028
|
-
return check;
|
|
1029
|
-
});
|
|
1030
|
-
});
|
|
1031
|
-
if (fittingPlacement) {
|
|
1032
|
-
firstFittingPlacement = fittingPlacement;
|
|
1033
|
-
return "break";
|
|
1034
|
-
}
|
|
1035
|
-
};
|
|
1036
|
-
for (var _i = numberOfChecks; _i > 0; _i--) if (_loop(_i) === "break") break;
|
|
1037
|
-
}
|
|
1038
|
-
if (state.placement !== firstFittingPlacement) {
|
|
1039
|
-
state.modifiersData[name]._skip = true;
|
|
1040
|
-
state.placement = firstFittingPlacement;
|
|
1041
|
-
state.reset = true;
|
|
1042
|
-
}
|
|
1043
|
-
}
|
|
1044
|
-
var flip_default;
|
|
1045
|
-
function init_flip() {
|
|
1046
|
-
return (init_flip = __esmMin((() => {
|
|
1047
|
-
init_getOppositePlacement();
|
|
1048
|
-
init_getOppositeVariationPlacement();
|
|
1049
|
-
init_detectOverflow();
|
|
1050
|
-
init_computeAutoPlacement();
|
|
1051
|
-
init_enums();
|
|
1052
|
-
flip_default = {
|
|
1053
|
-
name: "flip",
|
|
1054
|
-
enabled: true,
|
|
1055
|
-
phase: "main",
|
|
1056
|
-
fn: flip,
|
|
1057
|
-
requiresIfExists: ["offset"],
|
|
1058
|
-
data: { _skip: false }
|
|
1059
|
-
};
|
|
1060
|
-
})))();
|
|
1061
|
-
}
|
|
1062
|
-
//#endregion
|
|
1063
|
-
//#region ../../node_modules/@popperjs/core/lib/modifiers/hide.js
|
|
1064
|
-
function getSideOffsets(overflow, rect, preventedOffsets) {
|
|
1065
|
-
if (preventedOffsets === void 0) preventedOffsets = {
|
|
1066
|
-
x: 0,
|
|
1067
|
-
y: 0
|
|
1068
|
-
};
|
|
1069
|
-
return {
|
|
1070
|
-
top: overflow.top - rect.height - preventedOffsets.y,
|
|
1071
|
-
right: overflow.right - rect.width + preventedOffsets.x,
|
|
1072
|
-
bottom: overflow.bottom - rect.height + preventedOffsets.y,
|
|
1073
|
-
left: overflow.left - rect.width - preventedOffsets.x
|
|
1074
|
-
};
|
|
1075
|
-
}
|
|
1076
|
-
function isAnySideFullyClipped(overflow) {
|
|
1077
|
-
return [
|
|
1078
|
-
"top",
|
|
1079
|
-
right,
|
|
1080
|
-
bottom,
|
|
1081
|
-
left
|
|
1082
|
-
].some(function(side) {
|
|
1083
|
-
return overflow[side] >= 0;
|
|
1084
|
-
});
|
|
1085
|
-
}
|
|
1086
|
-
function hide(_ref) {
|
|
1087
|
-
var state = _ref.state, name = _ref.name;
|
|
1088
|
-
var referenceRect = state.rects.reference;
|
|
1089
|
-
var popperRect = state.rects.popper;
|
|
1090
|
-
var preventedOffsets = state.modifiersData.preventOverflow;
|
|
1091
|
-
var referenceOverflow = detectOverflow(state, { elementContext: "reference" });
|
|
1092
|
-
var popperAltOverflow = detectOverflow(state, { altBoundary: true });
|
|
1093
|
-
var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);
|
|
1094
|
-
var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);
|
|
1095
|
-
var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);
|
|
1096
|
-
var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);
|
|
1097
|
-
state.modifiersData[name] = {
|
|
1098
|
-
referenceClippingOffsets,
|
|
1099
|
-
popperEscapeOffsets,
|
|
1100
|
-
isReferenceHidden,
|
|
1101
|
-
hasPopperEscaped
|
|
1102
|
-
};
|
|
1103
|
-
state.attributes.popper = Object.assign({}, state.attributes.popper, {
|
|
1104
|
-
"data-popper-reference-hidden": isReferenceHidden,
|
|
1105
|
-
"data-popper-escaped": hasPopperEscaped
|
|
1106
|
-
});
|
|
1107
|
-
}
|
|
1108
|
-
var hide_default;
|
|
1109
|
-
function init_hide() {
|
|
1110
|
-
return (init_hide = __esmMin((() => {
|
|
1111
|
-
init_enums();
|
|
1112
|
-
init_detectOverflow();
|
|
1113
|
-
hide_default = {
|
|
1114
|
-
name: "hide",
|
|
1115
|
-
enabled: true,
|
|
1116
|
-
phase: "main",
|
|
1117
|
-
requiresIfExists: ["preventOverflow"],
|
|
1118
|
-
fn: hide
|
|
1119
|
-
};
|
|
1120
|
-
})))();
|
|
1121
|
-
}
|
|
1122
|
-
//#endregion
|
|
1123
|
-
//#region ../../node_modules/@popperjs/core/lib/modifiers/offset.js
|
|
1124
|
-
function distanceAndSkiddingToXY(placement, rects, offset) {
|
|
1125
|
-
var basePlacement = getBasePlacement(placement);
|
|
1126
|
-
var invertDistance = ["left", "top"].indexOf(basePlacement) >= 0 ? -1 : 1;
|
|
1127
|
-
var _ref = typeof offset === "function" ? offset(Object.assign({}, rects, { placement })) : offset, skidding = _ref[0], distance = _ref[1];
|
|
1128
|
-
skidding = skidding || 0;
|
|
1129
|
-
distance = (distance || 0) * invertDistance;
|
|
1130
|
-
return ["left", "right"].indexOf(basePlacement) >= 0 ? {
|
|
1131
|
-
x: distance,
|
|
1132
|
-
y: skidding
|
|
1133
|
-
} : {
|
|
1134
|
-
x: skidding,
|
|
1135
|
-
y: distance
|
|
1136
|
-
};
|
|
1137
|
-
}
|
|
1138
|
-
function offset(_ref2) {
|
|
1139
|
-
var state = _ref2.state, options = _ref2.options, name = _ref2.name;
|
|
1140
|
-
var _options$offset = options.offset, offset = _options$offset === void 0 ? [0, 0] : _options$offset;
|
|
1141
|
-
var data = placements.reduce(function(acc, placement) {
|
|
1142
|
-
acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);
|
|
1143
|
-
return acc;
|
|
1144
|
-
}, {});
|
|
1145
|
-
var _data$state$placement = data[state.placement], x = _data$state$placement.x, y = _data$state$placement.y;
|
|
1146
|
-
if (state.modifiersData.popperOffsets != null) {
|
|
1147
|
-
state.modifiersData.popperOffsets.x += x;
|
|
1148
|
-
state.modifiersData.popperOffsets.y += y;
|
|
1149
|
-
}
|
|
1150
|
-
state.modifiersData[name] = data;
|
|
1151
|
-
}
|
|
1152
|
-
var offset_default;
|
|
1153
|
-
function init_offset() {
|
|
1154
|
-
return (init_offset = __esmMin((() => {
|
|
1155
|
-
init_enums();
|
|
1156
|
-
offset_default = {
|
|
1157
|
-
name: "offset",
|
|
1158
|
-
enabled: true,
|
|
1159
|
-
phase: "main",
|
|
1160
|
-
requires: ["popperOffsets"],
|
|
1161
|
-
fn: offset
|
|
1162
|
-
};
|
|
1163
|
-
})))();
|
|
1164
|
-
}
|
|
1165
|
-
//#endregion
|
|
1166
|
-
//#region ../../node_modules/@popperjs/core/lib/modifiers/popperOffsets.js
|
|
1167
|
-
function popperOffsets(_ref) {
|
|
1168
|
-
var state = _ref.state, name = _ref.name;
|
|
1169
|
-
state.modifiersData[name] = computeOffsets({
|
|
1170
|
-
reference: state.rects.reference,
|
|
1171
|
-
element: state.rects.popper,
|
|
1172
|
-
strategy: "absolute",
|
|
1173
|
-
placement: state.placement
|
|
1174
|
-
});
|
|
1175
|
-
}
|
|
1176
|
-
var popperOffsets_default;
|
|
1177
|
-
function init_popperOffsets() {
|
|
1178
|
-
return (init_popperOffsets = __esmMin((() => {
|
|
1179
|
-
init_computeOffsets();
|
|
1180
|
-
popperOffsets_default = {
|
|
1181
|
-
name: "popperOffsets",
|
|
1182
|
-
enabled: true,
|
|
1183
|
-
phase: "read",
|
|
1184
|
-
fn: popperOffsets,
|
|
1185
|
-
data: {}
|
|
1186
|
-
};
|
|
1187
|
-
})))();
|
|
1188
|
-
}
|
|
1189
|
-
//#endregion
|
|
1190
|
-
//#region ../../node_modules/@popperjs/core/lib/utils/getAltAxis.js
|
|
1191
|
-
function getAltAxis(axis) {
|
|
1192
|
-
return axis === "x" ? "y" : "x";
|
|
1193
|
-
}
|
|
1194
|
-
//#endregion
|
|
1195
|
-
//#region ../../node_modules/@popperjs/core/lib/modifiers/preventOverflow.js
|
|
1196
|
-
function preventOverflow(_ref) {
|
|
1197
|
-
var state = _ref.state, options = _ref.options, name = _ref.name;
|
|
1198
|
-
var _options$mainAxis = options.mainAxis, checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis, _options$altAxis = options.altAxis, checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis, boundary = options.boundary, rootBoundary = options.rootBoundary, altBoundary = options.altBoundary, padding = options.padding, _options$tether = options.tether, tether = _options$tether === void 0 ? true : _options$tether, _options$tetherOffset = options.tetherOffset, tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;
|
|
1199
|
-
var overflow = detectOverflow(state, {
|
|
1200
|
-
boundary,
|
|
1201
|
-
rootBoundary,
|
|
1202
|
-
padding,
|
|
1203
|
-
altBoundary
|
|
1204
|
-
});
|
|
1205
|
-
var basePlacement = getBasePlacement(state.placement);
|
|
1206
|
-
var variation = getVariation(state.placement);
|
|
1207
|
-
var isBasePlacement = !variation;
|
|
1208
|
-
var mainAxis = getMainAxisFromPlacement(basePlacement);
|
|
1209
|
-
var altAxis = getAltAxis(mainAxis);
|
|
1210
|
-
var popperOffsets = state.modifiersData.popperOffsets;
|
|
1211
|
-
var referenceRect = state.rects.reference;
|
|
1212
|
-
var popperRect = state.rects.popper;
|
|
1213
|
-
var tetherOffsetValue = typeof tetherOffset === "function" ? tetherOffset(Object.assign({}, state.rects, { placement: state.placement })) : tetherOffset;
|
|
1214
|
-
var normalizedTetherOffsetValue = typeof tetherOffsetValue === "number" ? {
|
|
1215
|
-
mainAxis: tetherOffsetValue,
|
|
1216
|
-
altAxis: tetherOffsetValue
|
|
1217
|
-
} : Object.assign({
|
|
1218
|
-
mainAxis: 0,
|
|
1219
|
-
altAxis: 0
|
|
1220
|
-
}, tetherOffsetValue);
|
|
1221
|
-
var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
|
|
1222
|
-
var data = {
|
|
1223
|
-
x: 0,
|
|
1224
|
-
y: 0
|
|
1225
|
-
};
|
|
1226
|
-
if (!popperOffsets) return;
|
|
1227
|
-
if (checkMainAxis) {
|
|
1228
|
-
var _offsetModifierState$;
|
|
1229
|
-
var mainSide = mainAxis === "y" ? "top" : left;
|
|
1230
|
-
var altSide = mainAxis === "y" ? bottom : right;
|
|
1231
|
-
var len = mainAxis === "y" ? "height" : "width";
|
|
1232
|
-
var offset = popperOffsets[mainAxis];
|
|
1233
|
-
var min$1 = offset + overflow[mainSide];
|
|
1234
|
-
var max$1 = offset - overflow[altSide];
|
|
1235
|
-
var additive = tether ? -popperRect[len] / 2 : 0;
|
|
1236
|
-
var minLen = variation === "start" ? referenceRect[len] : popperRect[len];
|
|
1237
|
-
var maxLen = variation === "start" ? -popperRect[len] : -referenceRect[len];
|
|
1238
|
-
var arrowElement = state.elements.arrow;
|
|
1239
|
-
var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {
|
|
1240
|
-
width: 0,
|
|
1241
|
-
height: 0
|
|
1242
|
-
};
|
|
1243
|
-
var arrowPaddingObject = state.modifiersData["arrow#persistent"] ? state.modifiersData["arrow#persistent"].padding : getFreshSideObject();
|
|
1244
|
-
var arrowPaddingMin = arrowPaddingObject[mainSide];
|
|
1245
|
-
var arrowPaddingMax = arrowPaddingObject[altSide];
|
|
1246
|
-
var arrowLen = within(0, referenceRect[len], arrowRect[len]);
|
|
1247
|
-
var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
|
|
1248
|
-
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
|
|
1249
|
-
var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
|
|
1250
|
-
var clientOffset = arrowOffsetParent ? mainAxis === "y" ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
|
|
1251
|
-
var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
|
|
1252
|
-
var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
|
|
1253
|
-
var tetherMax = offset + maxOffset - offsetModifierValue;
|
|
1254
|
-
var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
|
|
1255
|
-
popperOffsets[mainAxis] = preventedOffset;
|
|
1256
|
-
data[mainAxis] = preventedOffset - offset;
|
|
1257
|
-
}
|
|
1258
|
-
if (checkAltAxis) {
|
|
1259
|
-
var _offsetModifierState$2;
|
|
1260
|
-
var _mainSide = mainAxis === "x" ? "top" : left;
|
|
1261
|
-
var _altSide = mainAxis === "x" ? bottom : right;
|
|
1262
|
-
var _offset = popperOffsets[altAxis];
|
|
1263
|
-
var _len = altAxis === "y" ? "height" : "width";
|
|
1264
|
-
var _min = _offset + overflow[_mainSide];
|
|
1265
|
-
var _max = _offset - overflow[_altSide];
|
|
1266
|
-
var isOriginSide = ["top", left].indexOf(basePlacement) !== -1;
|
|
1267
|
-
var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
|
|
1268
|
-
var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
|
|
1269
|
-
var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;
|
|
1270
|
-
var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);
|
|
1271
|
-
popperOffsets[altAxis] = _preventedOffset;
|
|
1272
|
-
data[altAxis] = _preventedOffset - _offset;
|
|
1273
|
-
}
|
|
1274
|
-
state.modifiersData[name] = data;
|
|
1275
|
-
}
|
|
1276
|
-
var preventOverflow_default;
|
|
1277
|
-
function init_preventOverflow() {
|
|
1278
|
-
return (init_preventOverflow = __esmMin((() => {
|
|
1279
|
-
init_enums();
|
|
1280
|
-
init_within();
|
|
1281
|
-
init_getLayoutRect();
|
|
1282
|
-
init_getOffsetParent();
|
|
1283
|
-
init_detectOverflow();
|
|
1284
|
-
init_math();
|
|
1285
|
-
preventOverflow_default = {
|
|
1286
|
-
name: "preventOverflow",
|
|
1287
|
-
enabled: true,
|
|
1288
|
-
phase: "main",
|
|
1289
|
-
fn: preventOverflow,
|
|
1290
|
-
requiresIfExists: ["offset"]
|
|
1291
|
-
};
|
|
1292
|
-
})))();
|
|
1293
|
-
}
|
|
1294
|
-
//#endregion
|
|
1295
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js
|
|
1296
|
-
function getHTMLElementScroll(element) {
|
|
1297
|
-
return {
|
|
1298
|
-
scrollLeft: element.scrollLeft,
|
|
1299
|
-
scrollTop: element.scrollTop
|
|
1300
|
-
};
|
|
1301
|
-
}
|
|
1302
|
-
//#endregion
|
|
1303
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js
|
|
1304
|
-
function getNodeScroll(node) {
|
|
1305
|
-
if (node === getWindow(node) || !isHTMLElement(node)) return getWindowScroll(node);
|
|
1306
|
-
else return getHTMLElementScroll(node);
|
|
1307
|
-
}
|
|
1308
|
-
function init_getNodeScroll() {
|
|
1309
|
-
return (init_getNodeScroll = __esmMin((() => {
|
|
1310
|
-
init_getWindowScroll();
|
|
1311
|
-
init_instanceOf();
|
|
1312
|
-
})))();
|
|
1313
|
-
}
|
|
1314
|
-
//#endregion
|
|
1315
|
-
//#region ../../node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js
|
|
1316
|
-
function isElementScaled(element) {
|
|
1317
|
-
var rect = element.getBoundingClientRect();
|
|
1318
|
-
var scaleX = round(rect.width) / element.offsetWidth || 1;
|
|
1319
|
-
var scaleY = round(rect.height) / element.offsetHeight || 1;
|
|
1320
|
-
return scaleX !== 1 || scaleY !== 1;
|
|
1321
|
-
}
|
|
1322
|
-
function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
|
1323
|
-
if (isFixed === void 0) isFixed = false;
|
|
1324
|
-
var isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1325
|
-
var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
|
|
1326
|
-
var documentElement = getDocumentElement(offsetParent);
|
|
1327
|
-
var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled, isFixed);
|
|
1328
|
-
var scroll = {
|
|
1329
|
-
scrollLeft: 0,
|
|
1330
|
-
scrollTop: 0
|
|
1331
|
-
};
|
|
1332
|
-
var offsets = {
|
|
1333
|
-
x: 0,
|
|
1334
|
-
y: 0
|
|
1335
|
-
};
|
|
1336
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1337
|
-
if (getNodeName(offsetParent) !== "body" || isScrollParent(documentElement)) scroll = getNodeScroll(offsetParent);
|
|
1338
|
-
if (isHTMLElement(offsetParent)) {
|
|
1339
|
-
offsets = getBoundingClientRect(offsetParent, true);
|
|
1340
|
-
offsets.x += offsetParent.clientLeft;
|
|
1341
|
-
offsets.y += offsetParent.clientTop;
|
|
1342
|
-
} else if (documentElement) offsets.x = getWindowScrollBarX(documentElement);
|
|
1343
|
-
}
|
|
1344
|
-
return {
|
|
1345
|
-
x: rect.left + scroll.scrollLeft - offsets.x,
|
|
1346
|
-
y: rect.top + scroll.scrollTop - offsets.y,
|
|
1347
|
-
width: rect.width,
|
|
1348
|
-
height: rect.height
|
|
1349
|
-
};
|
|
1350
|
-
}
|
|
1351
|
-
function init_getCompositeRect() {
|
|
1352
|
-
return (init_getCompositeRect = __esmMin((() => {
|
|
1353
|
-
init_getBoundingClientRect();
|
|
1354
|
-
init_getNodeScroll();
|
|
1355
|
-
init_instanceOf();
|
|
1356
|
-
init_getWindowScrollBarX();
|
|
1357
|
-
init_getDocumentElement();
|
|
1358
|
-
init_isScrollParent();
|
|
1359
|
-
init_math();
|
|
1360
|
-
})))();
|
|
1361
|
-
}
|
|
1362
|
-
//#endregion
|
|
1363
|
-
//#region ../../node_modules/@popperjs/core/lib/utils/orderModifiers.js
|
|
1364
|
-
function order(modifiers) {
|
|
1365
|
-
var map = /* @__PURE__ */ new Map();
|
|
1366
|
-
var visited = /* @__PURE__ */ new Set();
|
|
1367
|
-
var result = [];
|
|
1368
|
-
modifiers.forEach(function(modifier) {
|
|
1369
|
-
map.set(modifier.name, modifier);
|
|
1370
|
-
});
|
|
1371
|
-
function sort(modifier) {
|
|
1372
|
-
visited.add(modifier.name);
|
|
1373
|
-
[].concat(modifier.requires || [], modifier.requiresIfExists || []).forEach(function(dep) {
|
|
1374
|
-
if (!visited.has(dep)) {
|
|
1375
|
-
var depModifier = map.get(dep);
|
|
1376
|
-
if (depModifier) sort(depModifier);
|
|
1377
|
-
}
|
|
1378
|
-
});
|
|
1379
|
-
result.push(modifier);
|
|
1380
|
-
}
|
|
1381
|
-
modifiers.forEach(function(modifier) {
|
|
1382
|
-
if (!visited.has(modifier.name)) sort(modifier);
|
|
1383
|
-
});
|
|
1384
|
-
return result;
|
|
1385
|
-
}
|
|
1386
|
-
function orderModifiers(modifiers) {
|
|
1387
|
-
var orderedModifiers = order(modifiers);
|
|
1388
|
-
return modifierPhases.reduce(function(acc, phase) {
|
|
1389
|
-
return acc.concat(orderedModifiers.filter(function(modifier) {
|
|
1390
|
-
return modifier.phase === phase;
|
|
1391
|
-
}));
|
|
1392
|
-
}, []);
|
|
1393
|
-
}
|
|
1394
|
-
function init_orderModifiers() {
|
|
1395
|
-
return (init_orderModifiers = __esmMin((() => {
|
|
1396
|
-
init_enums();
|
|
1397
|
-
})))();
|
|
1398
|
-
}
|
|
1399
|
-
//#endregion
|
|
1400
|
-
//#region ../../node_modules/@popperjs/core/lib/utils/debounce.js
|
|
1401
|
-
function debounce(fn) {
|
|
1402
|
-
var pending;
|
|
1403
|
-
return function() {
|
|
1404
|
-
if (!pending) pending = new Promise(function(resolve) {
|
|
1405
|
-
Promise.resolve().then(function() {
|
|
1406
|
-
pending = void 0;
|
|
1407
|
-
resolve(fn());
|
|
1408
|
-
});
|
|
1409
|
-
});
|
|
1410
|
-
return pending;
|
|
1411
|
-
};
|
|
1412
|
-
}
|
|
1413
|
-
//#endregion
|
|
1414
|
-
//#region ../../node_modules/@popperjs/core/lib/utils/mergeByName.js
|
|
1415
|
-
function mergeByName(modifiers) {
|
|
1416
|
-
var merged = modifiers.reduce(function(merged, current) {
|
|
1417
|
-
var existing = merged[current.name];
|
|
1418
|
-
merged[current.name] = existing ? Object.assign({}, existing, current, {
|
|
1419
|
-
options: Object.assign({}, existing.options, current.options),
|
|
1420
|
-
data: Object.assign({}, existing.data, current.data)
|
|
1421
|
-
}) : current;
|
|
1422
|
-
return merged;
|
|
1423
|
-
}, {});
|
|
1424
|
-
return Object.keys(merged).map(function(key) {
|
|
1425
|
-
return merged[key];
|
|
1426
|
-
});
|
|
1427
|
-
}
|
|
1428
|
-
//#endregion
|
|
1429
|
-
//#region ../../node_modules/@popperjs/core/lib/createPopper.js
|
|
1430
|
-
function areValidElements() {
|
|
1431
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) args[_key] = arguments[_key];
|
|
1432
|
-
return !args.some(function(element) {
|
|
1433
|
-
return !(element && typeof element.getBoundingClientRect === "function");
|
|
1434
|
-
});
|
|
1435
|
-
}
|
|
1436
|
-
function popperGenerator(generatorOptions) {
|
|
1437
|
-
if (generatorOptions === void 0) generatorOptions = {};
|
|
1438
|
-
var _generatorOptions = generatorOptions, _generatorOptions$def = _generatorOptions.defaultModifiers, defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def, _generatorOptions$def2 = _generatorOptions.defaultOptions, defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;
|
|
1439
|
-
return function createPopper(reference, popper, options) {
|
|
1440
|
-
if (options === void 0) options = defaultOptions;
|
|
1441
|
-
var state = {
|
|
1442
|
-
placement: "bottom",
|
|
1443
|
-
orderedModifiers: [],
|
|
1444
|
-
options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),
|
|
1445
|
-
modifiersData: {},
|
|
1446
|
-
elements: {
|
|
1447
|
-
reference,
|
|
1448
|
-
popper
|
|
1449
|
-
},
|
|
1450
|
-
attributes: {},
|
|
1451
|
-
styles: {}
|
|
1452
|
-
};
|
|
1453
|
-
var effectCleanupFns = [];
|
|
1454
|
-
var isDestroyed = false;
|
|
1455
|
-
var instance = {
|
|
1456
|
-
state,
|
|
1457
|
-
setOptions: function setOptions(setOptionsAction) {
|
|
1458
|
-
var options = typeof setOptionsAction === "function" ? setOptionsAction(state.options) : setOptionsAction;
|
|
1459
|
-
cleanupModifierEffects();
|
|
1460
|
-
state.options = Object.assign({}, defaultOptions, state.options, options);
|
|
1461
|
-
state.scrollParents = {
|
|
1462
|
-
reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],
|
|
1463
|
-
popper: listScrollParents(popper)
|
|
1464
|
-
};
|
|
1465
|
-
var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers)));
|
|
1466
|
-
state.orderedModifiers = orderedModifiers.filter(function(m) {
|
|
1467
|
-
return m.enabled;
|
|
1468
|
-
});
|
|
1469
|
-
runModifierEffects();
|
|
1470
|
-
return instance.update();
|
|
1471
|
-
},
|
|
1472
|
-
forceUpdate: function forceUpdate() {
|
|
1473
|
-
if (isDestroyed) return;
|
|
1474
|
-
var _state$elements = state.elements, reference = _state$elements.reference, popper = _state$elements.popper;
|
|
1475
|
-
if (!areValidElements(reference, popper)) return;
|
|
1476
|
-
state.rects = {
|
|
1477
|
-
reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === "fixed"),
|
|
1478
|
-
popper: getLayoutRect(popper)
|
|
1479
|
-
};
|
|
1480
|
-
state.reset = false;
|
|
1481
|
-
state.placement = state.options.placement;
|
|
1482
|
-
state.orderedModifiers.forEach(function(modifier) {
|
|
1483
|
-
return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);
|
|
1484
|
-
});
|
|
1485
|
-
for (var index = 0; index < state.orderedModifiers.length; index++) {
|
|
1486
|
-
if (state.reset === true) {
|
|
1487
|
-
state.reset = false;
|
|
1488
|
-
index = -1;
|
|
1489
|
-
continue;
|
|
1490
|
-
}
|
|
1491
|
-
var _state$orderedModifie = state.orderedModifiers[index], fn = _state$orderedModifie.fn, _state$orderedModifie2 = _state$orderedModifie.options, _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2, name = _state$orderedModifie.name;
|
|
1492
|
-
if (typeof fn === "function") state = fn({
|
|
1493
|
-
state,
|
|
1494
|
-
options: _options,
|
|
1495
|
-
name,
|
|
1496
|
-
instance
|
|
1497
|
-
}) || state;
|
|
1498
|
-
}
|
|
1499
|
-
},
|
|
1500
|
-
update: debounce(function() {
|
|
1501
|
-
return new Promise(function(resolve) {
|
|
1502
|
-
instance.forceUpdate();
|
|
1503
|
-
resolve(state);
|
|
1504
|
-
});
|
|
1505
|
-
}),
|
|
1506
|
-
destroy: function destroy() {
|
|
1507
|
-
cleanupModifierEffects();
|
|
1508
|
-
isDestroyed = true;
|
|
1509
|
-
}
|
|
1510
|
-
};
|
|
1511
|
-
if (!areValidElements(reference, popper)) return instance;
|
|
1512
|
-
instance.setOptions(options).then(function(state) {
|
|
1513
|
-
if (!isDestroyed && options.onFirstUpdate) options.onFirstUpdate(state);
|
|
1514
|
-
});
|
|
1515
|
-
function runModifierEffects() {
|
|
1516
|
-
state.orderedModifiers.forEach(function(_ref) {
|
|
1517
|
-
var name = _ref.name, _ref$options = _ref.options, options = _ref$options === void 0 ? {} : _ref$options, effect = _ref.effect;
|
|
1518
|
-
if (typeof effect === "function") {
|
|
1519
|
-
var cleanupFn = effect({
|
|
1520
|
-
state,
|
|
1521
|
-
name,
|
|
1522
|
-
instance,
|
|
1523
|
-
options
|
|
1524
|
-
});
|
|
1525
|
-
effectCleanupFns.push(cleanupFn || function noopFn() {});
|
|
1526
|
-
}
|
|
1527
|
-
});
|
|
1528
|
-
}
|
|
1529
|
-
function cleanupModifierEffects() {
|
|
1530
|
-
effectCleanupFns.forEach(function(fn) {
|
|
1531
|
-
return fn();
|
|
1532
|
-
});
|
|
1533
|
-
effectCleanupFns = [];
|
|
1534
|
-
}
|
|
1535
|
-
return instance;
|
|
1536
|
-
};
|
|
1537
|
-
}
|
|
1538
|
-
var DEFAULT_OPTIONS;
|
|
1539
|
-
function init_createPopper() {
|
|
1540
|
-
return (init_createPopper = __esmMin((() => {
|
|
1541
|
-
init_getCompositeRect();
|
|
1542
|
-
init_getLayoutRect();
|
|
1543
|
-
init_listScrollParents();
|
|
1544
|
-
init_getOffsetParent();
|
|
1545
|
-
init_orderModifiers();
|
|
1546
|
-
init_instanceOf();
|
|
1547
|
-
DEFAULT_OPTIONS = {
|
|
1548
|
-
placement: "bottom",
|
|
1549
|
-
modifiers: [],
|
|
1550
|
-
strategy: "absolute"
|
|
1551
|
-
};
|
|
1552
|
-
})))();
|
|
1553
|
-
}
|
|
1554
|
-
//#endregion
|
|
1555
|
-
//#region ../../node_modules/@popperjs/core/lib/popper.js
|
|
1556
|
-
var defaultModifiers, createPopper;
|
|
1557
|
-
function init_popper() {
|
|
1558
|
-
return (init_popper = __esmMin((() => {
|
|
1559
|
-
init_createPopper();
|
|
1560
|
-
init_eventListeners();
|
|
1561
|
-
init_popperOffsets();
|
|
1562
|
-
init_computeStyles();
|
|
1563
|
-
init_applyStyles();
|
|
1564
|
-
init_offset();
|
|
1565
|
-
init_flip();
|
|
1566
|
-
init_preventOverflow();
|
|
1567
|
-
init_arrow();
|
|
1568
|
-
init_hide();
|
|
1569
|
-
defaultModifiers = [
|
|
1570
|
-
eventListeners_default,
|
|
1571
|
-
popperOffsets_default,
|
|
1572
|
-
computeStyles_default,
|
|
1573
|
-
applyStyles_default,
|
|
1574
|
-
offset_default,
|
|
1575
|
-
flip_default,
|
|
1576
|
-
preventOverflow_default,
|
|
1577
|
-
arrow_default,
|
|
1578
|
-
hide_default
|
|
1579
|
-
];
|
|
1580
|
-
createPopper = /*#__PURE__*/ popperGenerator({ defaultModifiers });
|
|
1581
|
-
})))();
|
|
1582
|
-
}
|
|
1583
|
-
//#endregion
|
|
1584
|
-
export { init_popper as n, createPopper as t };
|