@baseline-ui/core 2.1.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Accordion.css +10 -0
- package/dist/Accordion.mjs +1 -0
- package/dist/ActionButton.css +10 -0
- package/dist/ActionButton.mjs +1 -0
- package/dist/ActionGroup.css +10 -0
- package/dist/ActionGroup.mjs +1 -0
- package/dist/ActionIconButton.css +10 -0
- package/dist/ActionIconButton.mjs +1 -0
- package/dist/Actionable.css +10 -0
- package/dist/Actionable.mjs +1 -0
- package/dist/AlertDialog.css +10 -0
- package/dist/AlertDialog.mjs +1 -0
- package/dist/AudioPlayer.css +10 -0
- package/dist/AudioPlayer.mjs +1 -0
- package/dist/Avatar.css +10 -0
- package/dist/Avatar.mjs +1 -0
- package/dist/Box.mjs +1 -0
- package/dist/ButtonSelect.css +10 -0
- package/dist/ButtonSelect.mjs +1 -0
- package/dist/Calendar.css +10 -0
- package/dist/Calendar.mjs +1 -0
- package/dist/Checkbox.css +10 -0
- package/dist/Checkbox.mjs +1 -0
- package/dist/Code.css +10 -0
- package/dist/Code.mjs +1 -0
- package/dist/ColorInput.css +10 -0
- package/dist/ColorInput.mjs +1 -0
- package/dist/ColorSwatch.css +10 -0
- package/dist/ColorSwatch.mjs +1 -0
- package/dist/ColorSwatchPicker.css +10 -0
- package/dist/ColorSwatchPicker.mjs +1 -0
- package/dist/ComboBox.css +10 -0
- package/dist/ComboBox.mjs +1 -0
- package/dist/DateField.css +10 -0
- package/dist/DateField.mjs +1 -0
- package/dist/DateFormat.mjs +1 -0
- package/dist/DeviceProvider.mjs +1 -0
- package/dist/Dialog.css +10 -0
- package/dist/Dialog.mjs +1 -0
- package/dist/Disclosure.css +10 -0
- package/dist/Disclosure.mjs +1 -0
- package/dist/DomNodeRenderer.mjs +1 -0
- package/dist/Drawer.css +10 -0
- package/dist/Drawer.mjs +1 -0
- package/dist/Editor.css +10 -0
- package/dist/Editor.mjs +1 -0
- package/dist/FileInput.css +10 -0
- package/dist/FileInput.mjs +1 -0
- package/dist/FileList.css +10 -0
- package/dist/FileList.mjs +1 -0
- package/dist/FileUploader.css +10 -0
- package/dist/FileUploader.mjs +1 -0
- package/dist/FrameProvider.mjs +1 -0
- package/dist/FreehandCanvas.css +10 -0
- package/dist/FreehandCanvas.mjs +1 -0
- package/dist/GridList.css +10 -0
- package/dist/GridList.mjs +1 -0
- package/dist/Group.mjs +1 -0
- package/dist/I18nProvider.mjs +1 -0
- package/dist/Icon.mjs +1 -0
- package/dist/ImageDropZone.css +10 -0
- package/dist/ImageDropZone.mjs +1 -0
- package/dist/ImageGallery.css +10 -0
- package/dist/ImageGallery.mjs +1 -0
- package/dist/InlineAlert.css +10 -0
- package/dist/InlineAlert.mjs +1 -0
- package/dist/InlineToolbar.css +10 -0
- package/dist/InlineToolbar.mjs +10 -0
- package/dist/Kbd.css +10 -0
- package/dist/Kbd.mjs +1 -0
- package/dist/Link.css +10 -0
- package/dist/Link.mjs +1 -0
- package/dist/ListBox.css +10 -0
- package/dist/ListBox.mjs +1 -0
- package/dist/Markdown.css +10 -0
- package/dist/Markdown.mjs +1 -0
- package/dist/Menu.css +10 -0
- package/dist/Menu.mjs +1 -0
- package/dist/MessageFormat.mjs +1 -0
- package/dist/Modal.css +10 -0
- package/dist/Modal.mjs +1 -0
- package/dist/NumberFormat.mjs +1 -0
- package/dist/NumberInput.css +10 -0
- package/dist/NumberInput.mjs +1 -0
- package/dist/Pagination.css +10 -0
- package/dist/Pagination.mjs +1 -0
- package/dist/Panel.css +10 -0
- package/dist/Panel.mjs +1 -0
- package/dist/PointPicker.css +10 -0
- package/dist/PointPicker.mjs +1 -0
- package/dist/Popover.css +10 -0
- package/dist/Popover.mjs +1 -0
- package/dist/Portal.css +10 -0
- package/dist/Portal.mjs +1 -0
- package/dist/PortalContainerProvider.mjs +1 -0
- package/dist/Preview.css +10 -0
- package/dist/Preview.mjs +1 -0
- package/dist/ProgressBar.css +10 -0
- package/dist/ProgressBar.mjs +1 -0
- package/dist/ProgressSpinner.css +10 -0
- package/dist/ProgressSpinner.mjs +1 -0
- package/dist/RadioGroup.css +10 -0
- package/dist/RadioGroup.mjs +1 -0
- package/dist/Reaction.css +10 -0
- package/dist/Reaction.mjs +1 -0
- package/dist/ScrollControlButton.css +10 -0
- package/dist/ScrollControlButton.mjs +1 -0
- package/dist/SearchInput.css +10 -0
- package/dist/SearchInput.mjs +1 -0
- package/dist/Select.css +10 -0
- package/dist/Select.mjs +1 -0
- package/dist/Separator.css +10 -0
- package/dist/Separator.mjs +1 -0
- package/dist/Skeleton.css +10 -0
- package/dist/Skeleton.mjs +1 -0
- package/dist/Slider.css +10 -0
- package/dist/Slider.mjs +1 -0
- package/dist/StatusCard.css +10 -0
- package/dist/StatusCard.mjs +1 -0
- package/dist/Stepper.css +10 -0
- package/dist/Stepper.mjs +1 -0
- package/dist/Switch.css +10 -0
- package/dist/Switch.mjs +1 -0
- package/dist/Table.css +10 -0
- package/dist/Table.mjs +1 -0
- package/dist/Tabs.css +10 -0
- package/dist/Tabs.mjs +1 -0
- package/dist/Tag.css +10 -0
- package/dist/Tag.mjs +1 -0
- package/dist/TagGroup.css +10 -0
- package/dist/TagGroup.mjs +1 -0
- package/dist/TaggedPagination.css +10 -0
- package/dist/TaggedPagination.mjs +1 -0
- package/dist/Text.css +10 -0
- package/dist/Text.mjs +1 -0
- package/dist/TextInput.css +10 -0
- package/dist/TextInput.mjs +1 -0
- package/dist/ThemeProvider.css +10 -0
- package/dist/ThemeProvider.mjs +1 -0
- package/dist/TimeField.css +10 -0
- package/dist/TimeField.mjs +1 -0
- package/dist/Toast.css +10 -0
- package/dist/Toast.mjs +1 -0
- package/dist/ToggleButton.css +10 -0
- package/dist/ToggleButton.mjs +1 -0
- package/dist/ToggleIconButton.css +10 -0
- package/dist/ToggleIconButton.mjs +1 -0
- package/dist/Toolbar.css +10 -0
- package/dist/Toolbar.mjs +1 -0
- package/dist/Tooltip.css +10 -0
- package/dist/Tooltip.mjs +1 -0
- package/dist/TreeView.css +10 -0
- package/dist/TreeView.mjs +1 -0
- package/dist/UNSAFE_ListBox.css +10 -0
- package/dist/UNSAFE_ListBox.mjs +1 -0
- package/dist/Virtualizer.mjs +1 -0
- package/dist/chunk-22BJMDCA.mjs +10 -0
- package/dist/chunk-246VHB32.mjs +10 -0
- package/dist/chunk-2CZ3OV4X.mjs +10 -0
- package/dist/chunk-2JANDORZ.mjs +11 -0
- package/dist/chunk-2MS356Q7.mjs +10 -0
- package/dist/chunk-2PH5GN2S.mjs +0 -0
- package/dist/chunk-2RCST7ET.mjs +10 -0
- package/dist/chunk-2UUKKXBD.mjs +10 -0
- package/dist/chunk-2VY4FAOY.mjs +10 -0
- package/dist/chunk-2WAKHFPS.mjs +10 -0
- package/dist/chunk-34TYNTXM.mjs +10 -0
- package/dist/chunk-3CWP2VCB.mjs +10 -0
- package/dist/chunk-3FYY26ED.mjs +10 -0
- package/dist/chunk-3HKG74G4.mjs +0 -0
- package/dist/chunk-3UH5CQQF.mjs +10 -0
- package/dist/chunk-3W6RWDIE.mjs +10 -0
- package/dist/chunk-44OUOGJ4.mjs +10 -0
- package/dist/chunk-4N6CLPAY.mjs +10 -0
- package/dist/chunk-4NYPVKDO.mjs +10 -0
- package/dist/chunk-4PYEGHW5.mjs +10 -0
- package/dist/chunk-4QEH5CGK.mjs +10 -0
- package/dist/chunk-4SW77SGW.mjs +10 -0
- package/dist/chunk-4WW2MVQN.mjs +0 -0
- package/dist/chunk-4ZJMZB5B.mjs +10 -0
- package/dist/chunk-545KDVGI.mjs +10 -0
- package/dist/chunk-54IAJ3RI.mjs +0 -0
- package/dist/chunk-566SP7NE.mjs +10 -0
- package/dist/chunk-5ANNWMLJ.mjs +0 -0
- package/dist/chunk-5BAHJXOI.mjs +10 -0
- package/dist/chunk-5HXTXIE5.mjs +10 -0
- package/dist/chunk-5IC46G5J.mjs +10 -0
- package/dist/chunk-5KD2MNNX.mjs +10 -0
- package/dist/chunk-5ODZPQL2.mjs +10 -0
- package/dist/chunk-5PQHOVGX.mjs +0 -0
- package/dist/chunk-5ULL6IBX.mjs +10 -0
- package/dist/chunk-5YHNHEDK.mjs +0 -0
- package/dist/chunk-63KRQW56.mjs +10 -0
- package/dist/chunk-66CUIXA6.mjs +10 -0
- package/dist/chunk-66NJ7EYY.mjs +10 -0
- package/dist/chunk-6F66XVOA.mjs +0 -0
- package/dist/chunk-6IRWW75G.mjs +10 -0
- package/dist/chunk-6IX6BM7C.mjs +0 -0
- package/dist/chunk-6XARU7F2.mjs +0 -0
- package/dist/chunk-6YQHZ5RZ.mjs +0 -0
- package/dist/chunk-6Z6HOW6T.mjs +10 -0
- package/dist/chunk-6ZFBX7C7.mjs +10 -0
- package/dist/chunk-6ZQE5SHE.mjs +10 -0
- package/dist/chunk-6ZV4UYEG.mjs +10 -0
- package/dist/chunk-77BAFSDX.mjs +10 -0
- package/dist/chunk-7AQAC6QK.mjs +10 -0
- package/dist/chunk-7AY6C5M5.mjs +10 -0
- package/dist/chunk-7PRJIPFA.mjs +10 -0
- package/dist/chunk-7ZYMMUDM.mjs +10 -0
- package/dist/chunk-A24DWFQ2.mjs +10 -0
- package/dist/chunk-A6ZQQSAX.mjs +10 -0
- package/dist/chunk-AC7OXVHA.mjs +10 -0
- package/dist/chunk-AGUSZG6K.mjs +0 -0
- package/dist/chunk-AGYQLGBZ.mjs +10 -0
- package/dist/chunk-AKES5B6C.mjs +10 -0
- package/dist/chunk-AMQX3KZR.mjs +10 -0
- package/dist/chunk-AMW7LGCF.mjs +10 -0
- package/dist/chunk-AMYRLAIC.mjs +10 -0
- package/dist/chunk-AQYBKDT2.mjs +16 -0
- package/dist/chunk-AUOQSTS5.mjs +10 -0
- package/dist/chunk-AV4ZP5SY.mjs +10 -0
- package/dist/chunk-AZRPXTYJ.mjs +10 -0
- package/dist/chunk-B7PSE5KC.mjs +10 -0
- package/dist/chunk-BED7T5CL.mjs +10 -0
- package/dist/chunk-BGMVPFYK.mjs +10 -0
- package/dist/chunk-BJVFZYUV.mjs +10 -0
- package/dist/chunk-BKDQLDOK.mjs +10 -0
- package/dist/chunk-BLHN7I5Z.mjs +0 -0
- package/dist/chunk-BTVDMO5C.mjs +10 -0
- package/dist/chunk-BU5H25MV.mjs +10 -0
- package/dist/chunk-C342HL26.mjs +0 -0
- package/dist/chunk-C5P23FUW.mjs +10 -0
- package/dist/chunk-C6OMLVIQ.mjs +0 -0
- package/dist/chunk-CAWUDHAE.mjs +10 -0
- package/dist/chunk-CFDKFUTO.mjs +10 -0
- package/dist/chunk-CFLEBB5T.mjs +10 -0
- package/dist/chunk-CFRTAJP2.mjs +0 -0
- package/dist/chunk-CGFLGZL4.mjs +10 -0
- package/dist/chunk-CHTLOFCT.mjs +10 -0
- package/dist/chunk-CPSUI4IW.mjs +10 -0
- package/dist/chunk-CSPZMYVG.mjs +10 -0
- package/dist/chunk-CV6JQGJ3.mjs +10 -0
- package/dist/chunk-CWPFUB7B.mjs +10 -0
- package/dist/chunk-D3IZ4HBL.mjs +10 -0
- package/dist/chunk-D5EEZT5J.mjs +10 -0
- package/dist/chunk-DD5FWULD.mjs +10 -0
- package/dist/chunk-DECHIERQ.mjs +10 -0
- package/dist/chunk-DIHILOKU.mjs +10 -0
- package/dist/chunk-DOL6RDMF.mjs +10 -0
- package/dist/chunk-DRYSJSKA.mjs +10 -0
- package/dist/chunk-DY6WY36N.mjs +0 -0
- package/dist/chunk-E3PFPOHX.mjs +0 -0
- package/dist/chunk-E6VOSF6Z.mjs +10 -0
- package/dist/chunk-EA6GA4WC.mjs +10 -0
- package/dist/chunk-EK3RIYMV.mjs +10 -0
- package/dist/chunk-ELXWR5TS.mjs +10 -0
- package/dist/chunk-EMCEJKBJ.mjs +10 -0
- package/dist/chunk-ENDOKA57.mjs +10 -0
- package/dist/chunk-EU75HMPG.mjs +10 -0
- package/dist/chunk-EX2LI2CV.mjs +10 -0
- package/dist/chunk-EZXMEGV7.mjs +0 -0
- package/dist/chunk-F2HESRBD.mjs +10 -0
- package/dist/chunk-F2X474RV.mjs +10 -0
- package/dist/chunk-F7PGMOQF.mjs +10 -0
- package/dist/chunk-FJ2JRD3H.mjs +10 -0
- package/dist/chunk-FKYHERP4.mjs +0 -0
- package/dist/chunk-FP5EWPOF.mjs +10 -0
- package/dist/chunk-FRZTJBLY.mjs +10 -0
- package/dist/chunk-FTYXFTJV.mjs +10 -0
- package/dist/chunk-FXCHST4Z.mjs +10 -0
- package/dist/chunk-GCZFXILF.mjs +10 -0
- package/dist/chunk-GEZGEZAP.mjs +10 -0
- package/dist/chunk-GFLVN5JQ.mjs +10 -0
- package/dist/chunk-GKODQS6E.mjs +10 -0
- package/dist/chunk-GOSLHCDP.mjs +0 -0
- package/dist/chunk-GXOXYPQQ.mjs +10 -0
- package/dist/chunk-H44PBNVX.mjs +10 -0
- package/dist/chunk-H7OUUCSA.mjs +10 -0
- package/dist/chunk-HBBRMEES.mjs +10 -0
- package/dist/chunk-HHI7CEUP.mjs +10 -0
- package/dist/chunk-HI44JQA7.mjs +10 -0
- package/dist/chunk-HLDCVJXD.mjs +10 -0
- package/dist/chunk-HONWMHMX.mjs +10 -0
- package/dist/chunk-HT55YHTN.mjs +10 -0
- package/dist/chunk-HWOMGFBL.mjs +10 -0
- package/dist/chunk-HXTAOYOD.mjs +10 -0
- package/dist/chunk-I3RGYL4B.mjs +10 -0
- package/dist/chunk-I3YGB2BE.mjs +10 -0
- package/dist/chunk-IB23KCIW.mjs +10 -0
- package/dist/chunk-IHLJTHGQ.mjs +10 -0
- package/dist/chunk-ILBAZFBL.mjs +0 -0
- package/dist/chunk-INDVRI57.mjs +10 -0
- package/dist/chunk-IUQOFRI3.mjs +10 -0
- package/dist/chunk-IVVZSESM.mjs +10 -0
- package/dist/chunk-IW4GXU75.mjs +10 -0
- package/dist/chunk-IYFTU6IC.mjs +10 -0
- package/dist/chunk-J3MJZQUJ.mjs +10 -0
- package/dist/chunk-J4NO4WYU.mjs +0 -0
- package/dist/chunk-J5YWAPLN.mjs +10 -0
- package/dist/chunk-J7EAQSKX.mjs +10 -0
- package/dist/chunk-J7K7I5U2.mjs +10 -0
- package/dist/chunk-JBXZ6ZHP.mjs +10 -0
- package/dist/chunk-JDLUGVXG.mjs +10 -0
- package/dist/chunk-JI4SJ53O.mjs +11 -0
- package/dist/chunk-JJG67M2S.mjs +10 -0
- package/dist/chunk-JJPCZOOI.mjs +10 -0
- package/dist/chunk-JQ4ZGZPV.mjs +15 -0
- package/dist/chunk-JUXBZ2ZN.mjs +10 -0
- package/dist/chunk-K6IQ4ALU.mjs +0 -0
- package/dist/chunk-K6X2BHPP.mjs +10 -0
- package/dist/chunk-KCHAWPUN.mjs +10 -0
- package/dist/chunk-KEVERVHK.mjs +10 -0
- package/dist/chunk-KG5PDPBK.mjs +10 -0
- package/dist/chunk-KKJ6XIU3.mjs +10 -0
- package/dist/chunk-KPEONVLU.mjs +10 -0
- package/dist/chunk-KUEDQO7P.mjs +10 -0
- package/dist/chunk-KY3JKXSX.mjs +10 -0
- package/dist/chunk-LQMEFFFM.mjs +10 -0
- package/dist/chunk-LZFTBNPW.mjs +10 -0
- package/dist/chunk-M5M3EPG5.mjs +10 -0
- package/dist/chunk-MEYMETYC.mjs +11 -0
- package/dist/chunk-MEZNZ5W6.mjs +10 -0
- package/dist/chunk-MFH2E2GU.mjs +10 -0
- package/dist/chunk-MI7DCFP2.mjs +10 -0
- package/dist/chunk-MIHIAPBG.mjs +10 -0
- package/dist/chunk-MLNPTVVX.mjs +10 -0
- package/dist/chunk-MRJFGHFW.mjs +10 -0
- package/dist/chunk-MUNFBB7D.mjs +0 -0
- package/dist/chunk-MVK5CB64.mjs +10 -0
- package/dist/chunk-MXKP7NQ4.mjs +10 -0
- package/dist/chunk-MZ4O6LWG.mjs +0 -0
- package/dist/chunk-N2XGJKZG.mjs +10 -0
- package/dist/chunk-N5RZGO7Y.mjs +10 -0
- package/dist/chunk-N7MTFSWR.mjs +10 -0
- package/dist/chunk-NA3IF43N.mjs +10 -0
- package/dist/chunk-NGZRN4SF.mjs +10 -0
- package/dist/chunk-NHM3H5JU.mjs +0 -0
- package/dist/chunk-NO55UIGK.mjs +0 -0
- package/dist/chunk-NRKHWSOP.mjs +0 -0
- package/dist/chunk-NSC53QWT.mjs +10 -0
- package/dist/chunk-NV7KQVPE.mjs +10 -0
- package/dist/chunk-O4VZ6XEP.mjs +10 -0
- package/dist/chunk-O57ZEY3V.mjs +0 -0
- package/dist/chunk-O66FNQSB.mjs +10 -0
- package/dist/chunk-O7XK2WIX.mjs +10 -0
- package/dist/chunk-OAY74XPB.mjs +10 -0
- package/dist/chunk-OC42IZG2.mjs +10 -0
- package/dist/chunk-OLJWK3LS.mjs +10 -0
- package/dist/chunk-OMT6ZWSV.mjs +11 -0
- package/dist/chunk-OO7BXL2N.mjs +10 -0
- package/dist/chunk-P44XZ4PV.mjs +10 -0
- package/dist/chunk-P5GO3XIS.mjs +10 -0
- package/dist/chunk-PAQQ7MQG.mjs +10 -0
- package/dist/chunk-PBFIKNYZ.mjs +10 -0
- package/dist/chunk-PBO4SFGS.mjs +10 -0
- package/dist/chunk-PF3OQKXP.mjs +10 -0
- package/dist/chunk-PHZZLBH3.mjs +10 -0
- package/dist/chunk-PZTVDABF.mjs +0 -0
- package/dist/chunk-Q5UMLFN3.mjs +10 -0
- package/dist/chunk-QAUEG3EX.mjs +0 -0
- package/dist/chunk-QBJDGBTU.mjs +0 -0
- package/dist/chunk-QMDDCVAF.mjs +10 -0
- package/dist/chunk-QNBBJ5HC.mjs +11 -0
- package/dist/chunk-R32OJDN2.mjs +10 -0
- package/dist/chunk-RC7QITNV.mjs +10 -0
- package/dist/chunk-RCBUNCHV.mjs +10 -0
- package/dist/chunk-RFTDIXEG.mjs +10 -0
- package/dist/chunk-RJC3HQDZ.mjs +10 -0
- package/dist/chunk-RJWPSJX2.mjs +10 -0
- package/dist/chunk-RMUV6NJJ.mjs +10 -0
- package/dist/chunk-ROHLZINC.mjs +10 -0
- package/dist/chunk-RSKKEGJZ.mjs +10 -0
- package/dist/chunk-RT4LMB6X.mjs +10 -0
- package/dist/chunk-RXSYDMT6.mjs +10 -0
- package/dist/chunk-S3V4OOC3.mjs +10 -0
- package/dist/chunk-SAZLJ66W.mjs +10 -0
- package/dist/chunk-SMAYNDQQ.mjs +10 -0
- package/dist/chunk-TAROK7TO.mjs +10 -0
- package/dist/chunk-TAYP2OGC.mjs +10 -0
- package/dist/chunk-TBSQUJ67.mjs +10 -0
- package/dist/chunk-TDXALNX3.mjs +10 -0
- package/dist/chunk-TEQE6WCH.mjs +10 -0
- package/dist/chunk-THRAJMLX.mjs +10 -0
- package/dist/chunk-TI5RR7KX.mjs +10 -0
- package/dist/chunk-TIHKHXTS.mjs +10 -0
- package/dist/chunk-TJEK54BW.mjs +10 -0
- package/dist/chunk-TK4QXU3W.mjs +10 -0
- package/dist/chunk-TKQOQVZD.mjs +10 -0
- package/dist/chunk-TO2TQ2LE.mjs +10 -0
- package/dist/chunk-TO6OQF2Y.mjs +10 -0
- package/dist/chunk-TZ4MVY4E.mjs +10 -0
- package/dist/chunk-U2ODAIZG.mjs +10 -0
- package/dist/chunk-U4K44ZHN.mjs +10 -0
- package/dist/chunk-UCNHDT36.mjs +10 -0
- package/dist/chunk-UCZZLAPB.mjs +10 -0
- package/dist/chunk-UQJGSVXP.mjs +10 -0
- package/dist/chunk-USMC34OO.mjs +10 -0
- package/dist/chunk-UTQ7AIPM.mjs +0 -0
- package/dist/chunk-UUBOEBYZ.mjs +10 -0
- package/dist/chunk-V3L4SVVF.mjs +10 -0
- package/dist/chunk-VCIX4HG7.mjs +0 -0
- package/dist/chunk-VDUFLHKK.mjs +10 -0
- package/dist/chunk-VG7J427T.mjs +10 -0
- package/dist/chunk-VHDXSFQC.mjs +10 -0
- package/dist/chunk-VLQ4S7XC.mjs +10 -0
- package/dist/chunk-VTX6R6KM.mjs +10 -0
- package/dist/chunk-VXB5SVQC.mjs +10 -0
- package/dist/chunk-W6QO7FPZ.mjs +10 -0
- package/dist/chunk-WAFYFWH4.mjs +0 -0
- package/dist/chunk-WAOWR7MR.mjs +10 -0
- package/dist/chunk-WL27JGVG.mjs +10 -0
- package/dist/chunk-WOVAT6U4.mjs +10 -0
- package/dist/chunk-WSCZ34XO.mjs +10 -0
- package/dist/chunk-WSQGB4ZE.mjs +0 -0
- package/dist/chunk-WWSGOGLA.mjs +10 -0
- package/dist/chunk-X3AXUU3H.mjs +10 -0
- package/dist/chunk-X3OCHEQM.mjs +12 -0
- package/dist/chunk-X7DI4I2U.mjs +10 -0
- package/dist/chunk-XB657BXX.mjs +10 -0
- package/dist/chunk-XBBPWSJI.mjs +0 -0
- package/dist/chunk-XJGQXVMR.mjs +10 -0
- package/dist/chunk-XPISSX5R.mjs +10 -0
- package/dist/chunk-XTH6B5FE.mjs +10 -0
- package/dist/chunk-XVBOKL6D.mjs +10 -0
- package/dist/chunk-XWLESSHN.mjs +10 -0
- package/dist/chunk-XXANV3FM.mjs +10 -0
- package/dist/chunk-XZ2VSOJD.mjs +29 -0
- package/dist/chunk-Y4DRSGEJ.mjs +10 -0
- package/dist/chunk-Y6XQJ4X2.mjs +10 -0
- package/dist/chunk-YB3KW7JC.mjs +10 -0
- package/dist/chunk-YCI6BEXQ.mjs +10 -0
- package/dist/chunk-YGSCHWU3.mjs +10 -0
- package/dist/chunk-YIGT3OP2.mjs +10 -0
- package/dist/chunk-YOBESAXG.mjs +10 -0
- package/dist/chunk-YS3Y5KGV.mjs +10 -0
- package/dist/chunk-YT36W3OS.mjs +10 -0
- package/dist/chunk-YV3WI6OV.mjs +10 -0
- package/dist/chunk-YV5CNDCW.mjs +0 -0
- package/dist/chunk-YVYMYKYN.mjs +10 -0
- package/dist/chunk-ZANUFNOL.mjs +0 -0
- package/dist/chunk-ZGRRD3TU.mjs +10 -0
- package/dist/chunk-ZLAY7NNY.mjs +10 -0
- package/dist/chunk-ZLDT2KDZ.mjs +10 -0
- package/dist/chunk-ZNN43VZV.mjs +10 -0
- package/dist/chunk-ZREX7XOO.mjs +10 -0
- package/dist/chunk-ZRWDMNNY.mjs +10 -0
- package/dist/chunk-ZVODDLGL.mjs +10 -0
- package/dist/hooks/useDevice.mjs +1 -0
- package/dist/hooks/useI18n.mjs +1 -0
- package/dist/hooks/useImage.mjs +1 -0
- package/dist/hooks/useIntersectionObserver.mjs +1 -0
- package/dist/hooks/useIsFirstRender.mjs +1 -0
- package/dist/hooks/useIsTouchDevice.mjs +1 -0
- package/dist/hooks/useLiveInteractionModality.mjs +1 -0
- package/dist/hooks/useLocalStorage.mjs +1 -0
- package/dist/hooks/useMedia.mjs +1 -0
- package/dist/hooks/useMutationObserver.mjs +1 -0
- package/dist/hooks/usePortalContainer.mjs +1 -0
- package/dist/hooks/usePreventFocus.mjs +1 -0
- package/dist/hooks/useResizeObserver.mjs +1 -0
- package/dist/hooks/useTextSelection.mjs +1 -0
- package/dist/hooks/useUndoRedo.mjs +1 -0
- package/dist/index.d.ts +811 -70
- package/dist/index.js +21 -21
- package/dist/index.mjs +1 -43
- package/dist/messageIds.mjs +1 -0
- package/dist/react-aria.d.ts +133 -133
- package/dist/react-aria.mjs +1 -0
- package/dist/react-stately.d.ts +82 -82
- package/dist/react-stately.mjs +1 -0
- package/dist/utils/a11y.mjs +1 -0
- package/dist/utils/classNames.mjs +1 -0
- package/dist/utils/colors.mjs +1 -0
- package/dist/utils/constants.mjs +10 -0
- package/dist/utils/devWarn.mjs +1 -0
- package/dist/utils/dom.mjs +1 -0
- package/dist/utils/invariant.mjs +1 -0
- package/dist/utils/isInIframe.mjs +1 -0
- package/dist/utils/isInShadowDOM.mjs +1 -0
- package/dist/utils/isRect.mjs +1 -0
- package/dist/utils/keyboards.mjs +1 -0
- package/dist/utils/math.mjs +1 -0
- package/dist/utils/objects.mjs +1 -0
- package/dist/utils/onDropOrPaste.mjs +1 -0
- package/dist/utils/overlays.mjs +1 -0
- package/dist/utils/reactAriaCompat.mjs +1 -0
- package/dist/utils/reactAriaComponentsCompat.mjs +1 -0
- package/dist/utils/resolveAriaLabelAttrs.mjs +1 -0
- package/dist/utils/resolvePublicUrl.mjs +10 -0
- package/dist/utils/strings.mjs +1 -0
- package/dist/utils/style.mjs +1 -0
- package/dist/utils/svgs.mjs +1 -0
- package/dist/utils/validations.mjs +1 -0
- package/intl/ar.json +2 -2
- package/intl/cs.json +2 -2
- package/intl/cy.json +4 -4
- package/intl/da.json +3 -3
- package/intl/de.json +3 -3
- package/intl/el.json +2 -2
- package/intl/en-GB.json +2 -2
- package/intl/en.json +2 -2
- package/intl/fi.json +3 -3
- package/intl/fr-CA.json +1 -1
- package/intl/fr.json +2 -2
- package/intl/he.json +3 -3
- package/intl/hr.json +3 -3
- package/intl/id.json +3 -3
- package/intl/ja.json +2 -2
- package/intl/ko.json +1 -1
- package/intl/ms.json +2 -2
- package/intl/nb-NO.json +3 -3
- package/intl/nl.json +4 -4
- package/intl/pt-PT.json +1 -1
- package/intl/pt.json +3 -3
- package/intl/ru.json +2 -2
- package/intl/sk.json +2 -2
- package/intl/sl.json +4 -4
- package/intl/sv.json +3 -3
- package/intl/th.json +1 -1
- package/intl/tr.json +3 -3
- package/intl/uk.json +1 -1
- package/intl/zh-Hant.json +2 -2
- package/messages.json +2 -2
- package/package.json +8 -5
- package/sbom.json +6 -6
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {c as c$1}from'./chunk-RJC3HQDZ.mjs';import {I}from'./chunk-566SP7NE.mjs';import {a as a$1}from'./chunk-2WAKHFPS.mjs';import {a}from'./chunk-O7XK2WIX.mjs';import {a as a$5}from'./chunk-MEZNZ5W6.mjs';import {a as a$4}from'./chunk-VDUFLHKK.mjs';import {e}from'./chunk-BGMVPFYK.mjs';import {a as a$3}from'./chunk-KEVERVHK.mjs';import {c}from'./chunk-JDLUGVXG.mjs';import {a as a$2}from'./chunk-4QEH5CGK.mjs';import {sprinkles}from'@baseline-ui/tokens';import M,{useMemo,useEffect}from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var g="ujkypy0 _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e",B="_1yep5z61r7 _1yep5z61r8 _1yep5z61r9 _1yep5z61hl _1yep5z61hm _1yep5z61hn";var O=M.forwardRef(({className:c$2,style:a$4,items:l,optionsContainerClassName:m,label:e,icon:t,value:p,defaultValue:s,onChange:d,isDisabled:f,optionClassName:R,optionStyle:T,labelPosition:u="top","data-block-id":v,"data-block-class":L,shouldFocusWrap:j,tooltip:D=true,...i},F)=>{let P=useMemo(()=>l.map(o=>({id:o.color,label:o.label})),[l]),b=c();return useEffect(()=>{!e&&!i["aria-label"]&&!i["aria-labelledby"]&&console.warn("ColorSwatchPicker: Please provide a label or aria-label for accessibility.");},[e,i]),jsxs(a,{...a$3(i),className:a$2("BaselineUI-ColorSwatchPicker",c$2),"data-block-id":v,"data-block-class":L,display:"flex",flexDirection:u==="top"?"column":"row",alignItems:u==="top"?"flex-start":"center",justifyContent:"space-between",gap:"md",style:a$4,ref:F,children:[t||e?jsxs(a,{display:"flex",alignItems:"center",gap:"md",children:[t?jsx(t,{"aria-hidden":"true",size:24,className:sprinkles({color:"icon.primary"})}):null,e?jsx(a$1,{id:b,type:"label",size:"sm",children:e}):null]}):null,jsx(c$1,{className:a$2(B,m),selectionMode:"single",items:P,orientation:"horizontal",defaultSelectedKeys:s?[s]:void 0,disabledKeys:f?P.map(o=>o.id):void 0,isDisabled:f,selectedKeys:p?[p]:void 0,onSelectionChange:o=>{d?.([...o][0]);},optionClassName:R,optionStyle:T,renderOption:(...o)=>q(...o,D),shouldFocusWrap:j,...i,"aria-labelledby":e?b:i["aria-labelledby"]})]})});O.displayName="ColorSwatchPicker";var q=({key:c,textValue:a},{isSelected:l,isFocusVisible:m,isDisabled:e$1,optionProps:t},p,s)=>{let{tooltipProps:d}=a$4({label:a,tooltip:s});return jsx(a$5,{...d,children:jsx(e,{children:jsx("li",{...t,"data-disabled":e$1,className:a$2(g,t.className),ref:p,children:jsx(I,{isFocusVisible:m,color:c,isSelected:l,"aria-label":a,isInteractive:true,isDisabled:e$1,tooltip:false})})})})};export{O as a};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {a as a$1}from'./chunk-2MS356Q7.mjs';import {f,d,b,h,g}from'./chunk-IW4GXU75.mjs';import {a as a$2}from'./chunk-O7XK2WIX.mjs';import {c as c$1}from'./chunk-JJPCZOOI.mjs';import {a}from'./chunk-3FYY26ED.mjs';import {c}from'./chunk-TZ4MVY4E.mjs';import {a as a$3}from'./chunk-4QEH5CGK.mjs';import A from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
function w({className:r}){return jsx("span",{className:r,"aria-hidden":"true","data-testid":"textinput-resize-grip",children:jsxs("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("path",{d:"M4.72031 3.71962C5.01321 3.42683 5.488 3.42676 5.78086 3.71962C6.07352 4.01249 6.07358 4.48733 5.78086 4.78016L4.78086 5.78016C4.48803 6.07299 4.01322 6.07286 3.72031 5.78016C3.42742 5.48727 3.42742 5.01251 3.72031 4.71962L4.72031 3.71962Z",fill:"currentColor"}),jsx("path",{d:"M4.22031 0.219616C4.51321 -0.0731691 4.988 -0.0732413 5.28086 0.219616C5.57352 0.512488 5.57358 0.987325 5.28086 1.28016L1.27988 5.28016C0.986955 5.57268 0.512099 5.57293 0.219333 5.28016C-0.073139 4.98737 -0.0730827 4.51244 0.219333 4.21962L4.22031 0.219616Z",fill:"currentColor"})]})})}var F=A.forwardRef(({labelPosition:r="top",className:y,style:z,labelProps:S,isDisabled:t=false,isReadOnly:e=false,label:f$1,message:o,"data-block-id":L,validationState:m="valid",isFocused:B=false,variant:G="primary",children:H,fieldProps:R,wrapperRef:k,wrapperClassName:M,isInvalid:T,isMultiLine:s=false},Z)=>{let{hoverProps:E,isHovered:W}=a({isDisabled:t}),i=a$1({isReadOnly:e,validationState:m});return jsxs("div",{className:a$3(g({labelPosition:r}),y),"data-block-id":L,style:z,ref:Z,children:[f$1||r==="start"&&o?jsxs("div",{className:f({labelPosition:r,hasMessage:!!o}),children:[jsx(a$2,{...S,elementType:"label",color:"text.secondary",typography:"label.md.medium",children:f$1}),r==="start"&&o]}):null,jsxs("div",{className:a$3({[c$1]:t}),children:[jsxs("div",{...c(R,E),className:a$3(h({validationState:T?"error":m,isHovered:W,isFocused:B,variant:G,isReadOnly:e,isDisabled:t,isMultiLine:s}),M),ref:k,children:[H,i?jsx(i,{className:d({validationState:m,isReadOnly:e,isMultiLine:s}),size:16}):null,s&&!e&&!t?jsx(w,{className:b}):null]}),r==="top"&&o]})]})});F.displayName="SharedInput";
|
|
11
|
+
export{F as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {ReadOnlyIcon,ErrorCircleFilledIcon,WarningFilledIcon}from'@baseline-ui/icons/16';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
function l({isReadOnly:n,validationState:r}){return n?ReadOnlyIcon:r==="error"?ErrorCircleFilledIcon:r==="warning"?WarningFilledIcon:null}export{l as a};
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var f=Symbol.for("react-aria.i18n.locale"),S=Symbol.for("react-aria.i18n.strings"),a,s=class i{strings;defaultLocale;constructor(t,e="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,r])=>r)),this.defaultLocale=e;}getStringForLocale(t,e){let n=this.getStringsForLocale(e)[t];if(!n)throw new Error(`Could not find intl message ${t} in ${e} locale`);return n}getStringsForLocale(t){let e=this.strings[t];return e||(e=p(t,this.strings,this.defaultLocale),this.strings[t]=e),e}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let e=window[f];if(a===void 0){let n=window[S];if(!n)return null;a={};for(let o in n)a[o]=new i({[e]:n[o]},e);}let r=a?.[t];if(!r)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}};function p(i,t,e="en-US"){if(t[i])return t[i];let r=L(i);if(t[r])return t[r];for(let n in t)if(n.startsWith(r+"-"))return t[n];return t[e]}function L(i){return Intl.Locale?new Intl.Locale(i).language:i.split("-")[0]}var c=new Map,d=new Map,g=class{locale;strings;constructor(t,e){this.locale=t,this.strings=e;}format(t,e){let r=this.strings.getStringForLocale(t,this.locale);return typeof r=="function"?r(e,this):r}plural(t,e,r="cardinal"){let n=e["="+t];if(n)return typeof n=="function"?n():n;let o=this.locale+":"+r,l=c.get(o);l||(l=new Intl.PluralRules(this.locale,{type:r}),c.set(o,l));let u=l.select(t);return n=e[u]||e.other,typeof n=="function"?n():n}number(t){let e=d.get(this.locale);return e||(e=new Intl.NumberFormat(this.locale),d.set(this.locale,e)),e.format(t)}select(t,e){let r=t[e]||t.other;return typeof r=="function"?r():r}};export{s as a,g as b};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var r="var(--_1hotumh0)";export{r as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
function b(u,n=-1/0,r=1/0){return Math.min(Math.max(u,n),r)}function a(u,n){let r=u,e=0,o=n.toString(),t=o.toLowerCase().indexOf("e-");if(t>0)e=Math.abs(Math.floor(Math.log10(Math.abs(n))))+t;else {let i=o.indexOf(".");i>=0&&(e=o.length-i);}if(e>0){let i=Math.pow(10,e);r=Math.round(r*i)/i;}return r}function l(u,n,r,e){n=Number(n),r=Number(r);let o=(u-(isNaN(n)?0:n))%e,t=a(Math.abs(o)*2>=e?u+Math.sign(o)*(e-Math.abs(o)):u-o,e);return isNaN(n)?!isNaN(r)&&t>r&&(t=Math.floor(a(r/e,e))*e):t<n?t=n:!isNaN(r)&&t>r&&(t=n+Math.floor(a((r-n)/e,e))*e),t=a(t,e),t}function f(u,n,r=10){let e=Math.pow(r,n);return Math.round(u*e)/e}export{b as a,l as b,f as c};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a as a$2}from'./chunk-AC7OXVHA.mjs';import {e}from'./chunk-B7PSE5KC.mjs';import {a as a$1}from'./chunk-FXCHST4Z.mjs';import {a as a$3}from'./chunk-4QEH5CGK.mjs';import d from'react';import {jsx}from'react/jsx-runtime';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var l=a$1({defaultClassName:"_1tkzayn0 _1yep5z6dy",variantClassNames:{size:{sm:"_1tkzayn1",md:"_1tkzayn2",lg:"_1tkzayn3"},type:{subtitle:"_1yep5z610x",title:"_1yep5z610x",label:"_1yep5z610y",value:"_1yep5z610y",helper:"_1yep5z610z",body:"_1yep5z610x"}},defaultVariants:{},compoundVariants:[[{type:"title",size:"sm"},"_1yep5z61lj"],[{type:"title",size:"md"},"_1yep5z61lm"],[{type:"title",size:"lg"},"_1yep5z61lp"],[{type:"body",size:"sm"},"_1yep5z61m9"],[{type:"body",size:"md"},"_1yep5z61mc"],[{type:"body",size:"lg"},"_1yep5z61mc"],[{type:"subtitle",size:"sm"},"_1yep5z61m5"],[{type:"subtitle",size:"md"},"_1yep5z61m8"],[{type:"subtitle",size:"lg"},"_1yep5z61m8"],[{type:"label",size:"md"},"_1yep5z61m7"],[{type:"label",size:"lg"},"_1yep5z61m7"],[{type:"value",size:"md"},"_1yep5z61m7"],[{type:"value",size:"lg"},"_1yep5z61m7"],[{type:"helper",size:"sm"},"_1yep5z61m1"]]});var a=d.forwardRef((e$1,i)=>{let[r,z]=e({...e$1,slot:e$1.slot??null},i,a$2),{elementType:o="span",type:n="title",children:_,size:x="md",...t}=r;return jsx(o,{...t,className:a$3(l({size:x,type:n}),"BaselineUI-Text",t.className),ref:z,children:_})});a.displayName="Text";export{a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {d}from'./chunk-KUEDQO7P.mjs';import {a}from'./chunk-JDLUGVXG.mjs';import {useState}from'react';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
function m(e,i){let t=i?.isDisabled,[s,o]=useState(false);return a(()=>{if(e?.current&&!t){let a=()=>{if(e.current){let u=d(e.current,{tabbable:true});o(!!u.nextNode());}};a();let r=new MutationObserver(a);return r.observe(e.current,{subtree:true,childList:true,attributes:true,attributeFilter:["tabIndex","disabled"]}),()=>{r.disconnect();}}}),t?false:s}export{m as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a as a$2}from'./chunk-CHTLOFCT.mjs';import {a as a$6}from'./chunk-DRYSJSKA.mjs';import {a as a$1}from'./chunk-CFLEBB5T.mjs';import {b}from'./chunk-4ZJMZB5B.mjs';import {a as a$5}from'./chunk-RSKKEGJZ.mjs';import {a as a$3}from'./chunk-K6X2BHPP.mjs';import {a as a$4}from'./chunk-3FYY26ED.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$7}from'./chunk-4QEH5CGK.mjs';import {CheckmarkIcon as CheckmarkIcon$1}from'@baseline-ui/icons/16';import {CheckmarkIcon}from'@baseline-ui/icons/20';import C from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var k="_1yep5z6iv _1yep5z6iw _1yep5z6ix",x=a({defaultClassName:"_9b1tml0",variantClassNames:{isSelected:{true:"_9b1tml1",false:"_9b1tml2"},isDisabled:{true:"z9nup82"},isHovered:{true:"_9b1tml4"},isFocusVisible:{true:"_9b1tml5"},isReadOnly:{true:"_9b1tml6"}},defaultVariants:{},compoundVariants:[[{isSelected:true,isFocusVisible:true,isReadOnly:false},"_9b1tml7"],[{isSelected:true,isHovered:true,isDisabled:false,isReadOnly:false},"_9b1tml8"],[{isSelected:false,isHovered:true,isDisabled:false,isReadOnly:false},"_9b1tml9"],[{isSelected:true,isDisabled:true},"_9b1tmla"],[{isSelected:true,isReadOnly:true},"_9b1tmlb"]]}),R=a({defaultClassName:"_9b1tmlf _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6eu _1yep5z6la _1yep5z6e9",variantClassNames:{isSelected:{true:"_9b1tmlg"},size:{sm:"_9b1tmlh",md:"_9b1tmli"},isDisabled:{true:"_9b1tmlj"},isReadOnly:{true:"_1yep5z610x"}},defaultVariants:{},compoundVariants:[[{isSelected:true,isDisabled:false,isReadOnly:false},"_1yep5z61n6"],[{isSelected:true,isDisabled:true},"_1yep5z61n6"],[{isSelected:false,isDisabled:true},"_1yep5z61n4"]]}),z=a({defaultClassName:"_9b1tmlc",variantClassNames:{isDisabled:{true:"_9b1tmld"},isReadOnly:{true:"_9b1tmle"}},defaultVariants:{},compoundVariants:[]});var S=C.forwardRef(({className:N,count:V,style:P,size:i="md",icon:D,"data-block-id":H,"data-block-class":I,...a},O)=>{let l={isRequired:false},T=D||(i==="md"?CheckmarkIcon:CheckmarkIcon$1);!a["aria-label"]&&!a["aria-labelledby"]&&console.warn("You must provide either an `aria-label` or `aria-labelledby` prop to the `Reaction` component.");let s=C.useRef(null),n=a$1({...a,...l}),{inputProps:w,isPressed:F,isDisabled:r,isReadOnly:t,isSelected:d}=a$2({...a,...l},n,s),{focusProps:M,isFocused:j,isFocusVisible:c}=a$3(),{hoverProps:A,isHovered:b$1}=a$4({}),B=a$5({"data-block-id":H,"data-block-class":I,"data-focused":j,"data-focus-visible":c,"data-disabled":r,"data-hovered":b$1,"data-pressed":F,"data-selected":d});return jsxs("label",{ref:O,style:P,className:a$7(k,"BaselineUI-Reaction",N),...B,children:[jsx(b,{children:jsx("input",{...w,...M,ref:s})}),jsxs("div",{...A,className:x({isSelected:d,isFocusVisible:c,isHovered:b$1,isReadOnly:t,isDisabled:r}),children:[jsx("div",{className:z({isDisabled:r,isReadOnly:t}),children:jsx(T,{size:i==="md"?20:16})}),jsx("div",{className:R({isSelected:n.isSelected,isDisabled:r,isReadOnly:t,size:i}),children:jsx(a$6,{value:V})})]})]})});S.displayName="Reaction";export{S as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a as a$1}from'./chunk-6ZQE5SHE.mjs';import {a,e,g}from'./chunk-AUOQSTS5.mjs';import {useState,useRef,useEffect,useMemo}from'react';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var p=false,f=0;function c(){p=true,setTimeout(()=>{p=false;},500);}function M(r){r.pointerType==="touch"&&c();}function A(r=document){if(!(typeof r>"u"))return f===0&&(typeof PointerEvent<"u"?r.addEventListener("pointerup",M):process.env.NODE_ENV==="test"&&r.addEventListener("touchend",c)),f++,()=>{f--,!(f>0)&&(typeof PointerEvent<"u"?r.removeEventListener("pointerup",M):process.env.NODE_ENV==="test"&&r.removeEventListener("touchend",c));}}function S(r,L){let{onHoverStart:E,onHoverChange:u,onHoverEnd:d,isDisabled:o}=r,[O,H]=useState(false),t=useRef({isHovered:false,ignoreEmulatedMouseEvents:false,pointerType:"",target:null}).current;useEffect(()=>A(a(L?.current)),[]);let{addGlobalListener:b,removeAllGlobalListeners:h}=a$1(),{hoverProps:x,triggerHoverEnd:G}=useMemo(()=>{let y=(e$1,s)=>{if(t.pointerType=s,o||s==="touch"||t.isHovered||!e(e$1.currentTarget,g(e$1)))return;t.isHovered=true;let a$1=e$1.currentTarget;t.target=a$1,b(a(g(e$1)),"pointerover",g$1=>{t.isHovered&&t.target&&!e(t.target,g(g$1))&&v(g$1,g$1.pointerType);},{capture:true}),E&&E({type:"hoverstart",target:a$1,pointerType:s}),u&&u(true),H(true);},v=(e,s)=>{let a=t.target;t.pointerType="",t.target=null,!(s==="touch"||!t.isHovered||!a)&&(t.isHovered=false,h(),d&&d({type:"hoverend",target:a,pointerType:s}),u&&u(false),H(false));},n={};return typeof PointerEvent<"u"?(n.onPointerEnter=e=>{p&&e.pointerType==="mouse"||y(e,e.pointerType);},n.onPointerLeave=e$1=>{!o&&e(e$1.currentTarget,g(e$1))&&v(e$1,e$1.pointerType);}):process.env.NODE_ENV==="test"&&(n.onTouchStart=()=>{t.ignoreEmulatedMouseEvents=true;},n.onMouseEnter=e=>{!t.ignoreEmulatedMouseEvents&&!p&&y(e,"mouse"),t.ignoreEmulatedMouseEvents=false;},n.onMouseLeave=e$1=>{!o&&e(e$1.currentTarget,g(e$1))&&v(e$1,"mouse");}),{hoverProps:n,triggerHoverEnd:v}},[E,u,d,o,t,b,h]);return useEffect(()=>{o&&G({currentTarget:t.target},t.pointerType);},[o]),{hoverProps:x,isHovered:O}}export{S as a};
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {d}from'./chunk-MRJFGHFW.mjs';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
function p(r,e=false){return d()?r.replace("Ctrl+",e?"\u2318":"Cmd+").replace("Alt+",e?"\u2325":"Option+").replace("Shift+",e?"\u21E7":"Shift+").replace("Enter+",e?"\u21A9":"Enter+").replace("Space+",e?"\u2423":"Space+").replace("Enter",e?"\u21A9":"Enter"):r}export{p as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {b}from'./chunk-AUOQSTS5.mjs';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
function d(t){return t?.defaultView?.__webpack_nonce__||globalThis.__webpack_nonce__||void 0}var c=new WeakMap;function u(t){let e=t??(typeof document<"u"?document:void 0);if(!e)return d(e);if(c.has(e))return c.get(e);let n=e.querySelector('meta[property="csp-nonce"]'),o=n&&n instanceof b(n).HTMLMetaElement&&(n.nonce||n.content)||d(e)||void 0;return o!==void 0&&c.set(e,o),o}export{u as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a as a$1}from'./chunk-LZFTBNPW.mjs';import {a as a$2}from'./chunk-IW4GXU75.mjs';import {c}from'./chunk-JDLUGVXG.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$3}from'./chunk-4QEH5CGK.mjs';import M from'react';import {jsx,jsxs}from'react/jsx-runtime';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var v="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z6ln",u="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6kj _1yep5z6kk _1yep5z6kl",f=a({defaultClassName:"_12vfhl44",variantClassNames:{variant:{success:"_1yep5z611s",error:"_1yep5z611o",active:"_1yep5z6120"}},defaultVariants:{},compoundVariants:[]}),h="_1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6ev _1yep5z6dy",B="_12vfhl43 _1yep5z6g5 _1yep5z6ln",b="_12vfhl42 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z69i _1yep5z69j _1yep5z69k",C="_1yep5z64l _1yep5z64m _1yep5z64n _1yep5z629 _1yep5z62a _1yep5z62b _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k",j=a({defaultClassName:"_12vfhl40 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6dy _1yep5z6eu",variantClassNames:{hasLabel:{false:"_1yep5z6pi _1yep5z6pj _1yep5z6pk"}},defaultVariants:{},compoundVariants:[]});var k=M.forwardRef(({className:x,style:N,variant:p="active",showValue:l,description:t,errorMessage:P,"data-block-id":V,"data-block-class":T,...s},H)=>{let y=c(),{labelProps:L,progressBarProps:_}=a$1({...s,"aria-describedby":t?y:s["aria-describedby"]}),{minValue:i=0,maxValue:W=100,value:I=0,label:r}=s,R=(I-i)/(W-i),E=`${Math.round(R*100)}%`,z=jsx("output",{className:j({hasLabel:!!r}),children:_["aria-valuetext"]}),n=p==="error"?P:t;return jsxs("div",{..._,style:N,className:a$3(v,"BaselineUI-ProgressBar",x),"data-block-id":V,"data-block-class":T,ref:H,children:[r?jsxs("div",{className:u,children:[jsx("label",{...L,className:h,children:r}),l?z:null]}):null,jsxs("div",{className:C,children:[jsxs("div",{className:b,children:[jsx("div",{className:B,children:jsx("div",{style:{width:E},className:f({variant:p})})}),!r&&l?z:null]}),n?jsx("div",{className:a$2({hasError:p==="error"}),id:y,children:n}):null]})]})});k.displayName="ProgressBar";export{k as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a}from'./chunk-FXCHST4Z.mjs';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var t="uf19bsf _1yep5z6la",o=a({defaultClassName:"uf19bs0 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6f5 _1yep5z6lp _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kd _1yep5z6ke _1yep5z6kf _1yep5z6lk z9nup8a",variantClassNames:{size:{xxs:"uf19bs1",xs:"uf19bs2",sm:"uf19bs3",md:"uf19bs4",lg:"uf19bs5 _1yep5z6wo _1yep5z6wp _1yep5z6wq _1yep5z6xc _1yep5z6xd _1yep5z6xe _1yep5z6y0 _1yep5z6y1 _1yep5z6y2 _1yep5z6yo _1yep5z6yp _1yep5z6yq"},isHovered:{true:"uf19bs6"},isDisabled:{true:"uf19bs7 _1yep5z611a"},isFocusVisible:{true:"uf19bs8"},variant:{primary:"uf19bs9",secondary:"uf19bsa",tertiary:"uf19bsb",ghost:"uf19bsc",toolbar:"uf19bsd _1yep5z6x6 _1yep5z6x7 _1yep5z6x8 _1yep5z6xu _1yep5z6xv _1yep5z6xw _1yep5z6yi _1yep5z6yj _1yep5z6yk _1yep5z6z6 _1yep5z6z7 _1yep5z6z8",popover:"uf19bse _1yep5z6pr _1yep5z6ps _1yep5z6pt _1yep5z6nf _1yep5z6ng _1yep5z6nh _1yep5z6m6 _1yep5z6m7 _1yep5z6m8 _1yep5z6oi _1yep5z6oj _1yep5z6ok _1yep5z6vr _1yep5z6vs _1yep5z6vt"}},defaultVariants:{},compoundVariants:[[{variant:"toolbar",isHovered:true,isFocusVisible:false},"_1yep5z61o9"],[{variant:"primary",isHovered:true,isFocusVisible:false},"_1yep5z61o9"],[{variant:"secondary",isHovered:true,isFocusVisible:false},"_1yep5z61nc"],[{variant:"tertiary",isHovered:true,isFocusVisible:false},"_1yep5z61nb _1yep5z61o9"],[{variant:"ghost",isHovered:true,isFocusVisible:false},"_1yep5z61nh"],[{variant:"popover",isHovered:true,isFocusVisible:false},"_1yep5z61q6 _1yep5z61tx _1yep5z61u1 _1yep5z61ty"],[{variant:"ghost",isDisabled:false},"_1yep5z61ng"],[{variant:"popover",size:"lg"},"_1yep5z61io _1yep5z61ip _1yep5z61iq _1yep5z61jc _1yep5z61jd _1yep5z61je _1yep5z61k0 _1yep5z61k1 _1yep5z61k2 _1yep5z61ko _1yep5z61kp _1yep5z61kq"]]});export{t as a,o as b};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a as a$4}from'./chunk-ZLDT2KDZ.mjs';import {a as a$2}from'./chunk-UUBOEBYZ.mjs';import {a as a$1}from'./chunk-4PYEGHW5.mjs';import {a as a$3}from'./chunk-66CUIXA6.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$5}from'./chunk-4QEH5CGK.mjs';import d,{useMemo,useContext}from'react';import {jsx}from'react/jsx-runtime';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var s=d.createContext({state:null,overlayTriggerAria:{triggerProps:{},overlayProps:{}},triggerRef:void 0}),C=({children:e,...t})=>{let a=d.useRef(null),o=a$1(t),r=a$2(t,o),i=useMemo(()=>({state:o,overlayTriggerAria:r,triggerRef:a}),[o,r]);return jsx(s.Provider,{value:i,children:e})};var N=a({defaultClassName:"_1gzftth2",variantClassNames:{placement:{bottom:"_1gzftth3",top:"_1gzftth4",right:"_1gzftth5",left:"_1gzftth6"}},defaultVariants:{},compoundVariants:[]}),E=a({defaultClassName:"_1gzftth7",variantClassNames:{placement:{bottom:"_1gzftth8",top:"_1gzftth9",right:"_1gzfttha",left:"_1gzftthb"}},defaultVariants:{},compoundVariants:[]}),B="_1gzftth1 _1yep5z6is _1yep5z6it _1yep5z6iu",F="_1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6k4 _1yep5z6k5 _1yep5z6k6 _1yep5z6d7",c="_1gzftthd",L="_1gzftthc",I="var(--_1gzftth0)";var x=d.createContext({isSelected:false,ref:void 0}),G=({children:e,anchorRect:t})=>{let{state:a,overlayTriggerAria:o,triggerRef:r}=useContext(s);a$3(a,"PopoverTrigger must be used within a Popover");let{triggerProps:i}=o;a$3(!t&&e||t&&!e,"Either one of anchorRect or children has to be provided."),a$3(!t||a$4(t),"If provided, the anchorRect prop must be an object with left and top number values, and optionally width and height.");let y=useMemo(()=>({...i,isSelected:a.isOpen,ref:r}),[i,a.isOpen,r]);return t?jsx("div",{className:a$5(c,"BaselineUI-PopoverTrigger-Hidden"),style:t,ref:r,tabIndex:-1},JSON.stringify(t)):typeof e=="function"?e({isOpen:a.isOpen,triggerProps:i,triggerRef:r}):d.isValidElement(e)?jsx(x.Provider,{value:y,children:e}):null};export{s as a,C as b,N as c,E as d,B as e,F as f,L as g,I as h,x as i,G as j};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a}from'./chunk-X3AXUU3H.mjs';import {useCallback}from'react';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
function O(o){let[n,e]=a(o.isOpen,o.defaultOpen||false,o.onOpenChange),a$1=useCallback(()=>{e(true);},[e]),l=useCallback(()=>{e(false);},[e]),i=useCallback(()=>{e(!n);},[e,n]);return {isOpen:n,setOpen:e,open:a$1,close:l,toggle:i}}export{O as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
function n(...t){let r=t.filter(Boolean),e=[];for(let s of r)if(Array.isArray(s))e.push(n(...s));else if(typeof s=="object"){let f=Object.keys(s);for(let o of f)s[o]&&e.push(o);}else typeof s=="string"&&e.push(s);return e.join(" ")}export{n as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
function s({ariaProps:i,fallbackLabelId:r,fallbackDescriptionId:e}){let a={...i};return r&&!a["aria-labelledby"]&&!a["aria-label"]&&(a["aria-labelledby"]=r),e&&!a["aria-describedby"]&&!a["aria-details"]&&(a["aria-describedby"]=e),a}export{s as a};
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {b}from'./chunk-YB3KW7JC.mjs';import {c}from'./chunk-TZ4MVY4E.mjs';import {useState,useMemo}from'react';import {jsx}from'react/jsx-runtime';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var u={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function m(t={}){let{style:e,isFocusable:i}=t,[s,o]=useState(false),{focusWithinProps:r}=b({isDisabled:!i,onFocusWithinChange:a=>o(a)}),l=useMemo(()=>s?e:e?{...u,...e}:u,[s]);return {visuallyHiddenProps:{...r,style:l}}}function V(t){let{children:e,elementType:i="div",isFocusable:s,style:o,...r}=t,{visuallyHiddenProps:l}=m(t);return jsx(i,{...c(r,l),children:e})}export{m as a,V as b};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {t}from'./chunk-MRJFGHFW.mjs';import {useEffect}from'react';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
function i(t$1,m,r){let n=t(e=>{r&&!e.defaultPrevented&&r(m);});useEffect(()=>{let e=t$1?.current?.form;return e?.addEventListener("reset",n),()=>{e?.removeEventListener("reset",n);}},[t$1]);}export{i as a};
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a as a$1}from'./chunk-EU75HMPG.mjs';import {a as a$h,b as b$4}from'./chunk-BJVFZYUV.mjs';import {a as a$k}from'./chunk-UQJGSVXP.mjs';import {a as a$i}from'./chunk-RFTDIXEG.mjs';import {b,c as c$1}from'./chunk-X3OCHEQM.mjs';import {c as c$3}from'./chunk-W6QO7FPZ.mjs';import {a as a$5}from'./chunk-O7XK2WIX.mjs';import {a as a$7}from'./chunk-MEZNZ5W6.mjs';import {a as a$j}from'./chunk-6Z6HOW6T.mjs';import {a as a$d}from'./chunk-7PRJIPFA.mjs';import {b as b$2}from'./chunk-WL27JGVG.mjs';import {b as b$1}from'./chunk-N2XGJKZG.mjs';import {a as a$g}from'./chunk-4ZJMZB5B.mjs';import {a as a$4}from'./chunk-VDUFLHKK.mjs';import {a as a$l}from'./chunk-66CUIXA6.mjs';import {a as a$f}from'./chunk-D3IZ4HBL.mjs';import {a as a$b}from'./chunk-545KDVGI.mjs';import {a as a$3}from'./chunk-RSKKEGJZ.mjs';import {e,a as a$c}from'./chunk-BGMVPFYK.mjs';import {b as b$3,a as a$e}from'./chunk-YB3KW7JC.mjs';import {a as a$2}from'./chunk-3FYY26ED.mjs';import {a as a$a,g,k}from'./chunk-MRJFGHFW.mjs';import {c}from'./chunk-TZ4MVY4E.mjs';import {a as a$8}from'./chunk-KEVERVHK.mjs';import {c as c$2}from'./chunk-JDLUGVXG.mjs';import {a as a$9}from'./chunk-6ZQE5SHE.mjs';import {b as b$5}from'./chunk-AUOQSTS5.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$6}from'./chunk-4QEH5CGK.mjs';import {HelpIcon}from'@baseline-ui/icons/16';import Ir,{useMemo,useState,useCallback,useRef}from'react';import {themeVars}from'@baseline-ui/tokens';import {jsx,jsxs}from'react/jsx-runtime';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var oe={"ar-AE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u0623\u062F\u0627\u0629 \u0627\u0646\u062A\u0642\u0627\u0621 \u0627\u0644\u0644\u0648\u0646",colorSwatch:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0623\u0644\u0648\u0627\u0646",transparent:"\u0634\u0641\u0627\u0641",twoDimensionalSlider:"\u0645\u064F\u0646\u0632\u0644\u0642 2D"},"bg-BG":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u0421\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u0437\u0430 \u0438\u0437\u0431\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u0446\u0432\u044F\u0442",colorSwatch:"\u0446\u0432\u0435\u0442\u043D\u0430 \u043C\u043E\u0441\u0442\u0440\u0430",transparent:"\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u0435\u043D",twoDimensionalSlider:"2D \u043F\u043B\u044A\u0437\u0433\u0430\u0447"},"cs-CZ":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xFDb\u011Br barvy",colorSwatch:"barevn\xFD vzorek",transparent:"pr\u016Fhledn\xFD",twoDimensionalSlider:"2D posuvn\xEDk"},"da-DK":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Farvev\xE6lger",colorSwatch:"farvepr\xF8ve",transparent:"gennemsigtig",twoDimensionalSlider:"2D-skyder"},"de-DE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Farbw\xE4hler",colorSwatch:"Farbfeld",transparent:"transparent",twoDimensionalSlider:"2D-Schieberegler"},"el-GR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03B1\u03C2 \u03C7\u03C1\u03C9\u03BC\u03AC\u03C4\u03C9\u03BD",colorSwatch:"\u03C7\u03C1\u03C9\u03BC\u03B1\u03C4\u03B9\u03BA\u03CC \u03B4\u03B5\u03AF\u03B3\u03BC\u03B1",transparent:"\u03B4\u03B9\u03B1\u03C6\u03B1\u03BD\u03AD\u03C2",twoDimensionalSlider:"\u03A1\u03C5\u03B8\u03BC\u03B9\u03C3\u03C4\u03B9\u03BA\u03CC 2D"},"en-US":{colorPicker:"Color picker",twoDimensionalSlider:"2D slider",colorNameAndValue:e=>`${e.name}: ${e.value}`,colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorSwatch:"color swatch",transparent:"transparent"},"es-ES":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selector de color",colorSwatch:"muestra de color",transparent:"transparente",twoDimensionalSlider:"Regulador 2D"},"et-EE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xE4rvivalija",colorSwatch:"v\xE4rvin\xE4idis",transparent:"l\xE4bipaistev",twoDimensionalSlider:"2D-liugur"},"fi-FI":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xE4rimuokkain",colorSwatch:"v\xE4rimalli",transparent:"l\xE4pin\xE4kyv\xE4",twoDimensionalSlider:"2D-liukus\xE4\xE4din"},"fr-FR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\xA0: ${e.value}`,colorPicker:"S\xE9lecteur de couleurs",colorSwatch:"\xC9chantillon de couleurs",transparent:"Transparent",twoDimensionalSlider:"Curseur\xA02D"},"he-IL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u05D1\u05D5\u05D7\u05E8 \u05D4\u05E6\u05D1\u05E2\u05D9\u05DD",colorSwatch:"\u05D3\u05D5\u05D2\u05DE\u05D9\u05EA \u05E6\u05D1\u05E2",transparent:"\u05E9\u05E7\u05D5\u05E3",twoDimensionalSlider:"\u05DE\u05D7\u05D5\u05D5\u05DF \u05D3\u05D5 \u05DE\u05D9\u05DE\u05D3\u05D9"},"hr-HR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Odabir boje",colorSwatch:"uzorak boje",transparent:"transparentno",twoDimensionalSlider:"2D kliza\u010D"},"hu-HU":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Sz\xEDnv\xE1laszt\xF3",colorSwatch:"sz\xEDnt\xE1r",transparent:"\xE1tl\xE1tsz\xF3",twoDimensionalSlider:"2D-cs\xFAszka"},"it-IT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selettore colore",colorSwatch:"campione di colore",transparent:"trasparente",twoDimensionalSlider:"Cursore 2D"},"ja-JP":{colorInputLabel:e=>`${e.label}\u3001${e.channelLabel}`,colorNameAndValue:e=>`${e.name} : ${e.value}`,colorPicker:"\u30AB\u30E9\u30FC\u30D4\u30C3\u30AB\u30FC",colorSwatch:"\u30AB\u30E9\u30FC\u30B9\u30A6\u30A9\u30C3\u30C1",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u30B9\u30E9\u30A4\u30C0\u30FC"},"ko-KR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\uC0C9\uC0C1 \uD53C\uCEE4",colorSwatch:"\uC0C9\uC0C1 \uACAC\uBCF8",transparent:"\uD22C\uBA85\uB3C4",twoDimensionalSlider:"2D \uC2AC\uB77C\uC774\uB354"},"lt-LT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Spalv\u0173 parinkiklis",colorSwatch:"spalv\u0173 pavyzdys",transparent:"skaidrus",twoDimensionalSlider:"2D slankiklis"},"lv-LV":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Kr\u0101su atlas\u012Bt\u0101js",colorSwatch:"kr\u0101su paraugs",transparent:"caursp\u012Bd\u012Bgs",twoDimensionalSlider:"2D sl\u012Bdnis"},"nb-NO":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Fargevelger",colorSwatch:"fargekart",transparent:"gjennomsiktig",twoDimensionalSlider:"2D-glidebryter"},"nl-NL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Kleurkiezer",colorSwatch:"kleurstaal",transparent:"transparant",twoDimensionalSlider:"2D-schuifregelaar"},"pl-PL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Pr\xF3bnik kolor\xF3w",colorSwatch:"pr\xF3bka koloru",transparent:"przezroczysty",twoDimensionalSlider:"Suwak 2D"},"pt-BR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cores",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"},"pt-PT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cor",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"},"ro-RO":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selector de culori",colorSwatch:"specimen de culoare",transparent:"transparent",twoDimensionalSlider:"Glisor 2D"},"ru-RU":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u041F\u0430\u043B\u0438\u0442\u0440\u0430 \u0446\u0432\u0435\u0442\u043E\u0432",colorSwatch:"\u0446\u0432\u0435\u0442\u043E\u0432\u043E\u0439 \u043E\u0431\u0440\u0430\u0437\u0435\u0446",transparent:"\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u0439",twoDimensionalSlider:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A 2D"},"sk-SK":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xFDber farieb",colorSwatch:"vzorkovn\xEDk farieb",transparent:"transparentn\xFD",twoDimensionalSlider:"2D jazdec"},"sl-SI":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Izbirnik barv",colorSwatch:"barvna paleta",transparent:"prozorno",twoDimensionalSlider:"2D drsnik"},"sr-SP":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Bira\u010D boja",colorSwatch:"Uzorak boje",transparent:"providno",twoDimensionalSlider:"2D kliza\u010D"},"sv-SE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"F\xE4rgv\xE4ljaren",colorSwatch:"f\xE4rgruta",transparent:"genomskinlig",twoDimensionalSlider:"2D-reglage"},"tr-TR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Renk Se\xE7ici",colorSwatch:"renk \xF6rne\u011Fi",transparent:"saydam",twoDimensionalSlider:"2D s\xFCrg\xFC"},"uk-UA":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u041F\u0430\u043B\u0456\u0442\u0440\u0430 \u043A\u043E\u043B\u044C\u043E\u0440\u0456\u0432",colorSwatch:"\u0437\u0440\u0430\u0437\u043E\u043A \u043A\u043E\u043B\u044C\u043E\u0440\u0443",transparent:"\u043F\u0440\u043E\u0437\u043E\u0440\u0438\u0439",twoDimensionalSlider:"\u041F\u043E\u0432\u0437\u0443\u043D\u043E\u043A 2D"},"zh-CN":{colorInputLabel:e=>`${e.label}\u3001${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\uFF1A${e.value}`,colorPicker:"\u62FE\u8272\u5668",colorSwatch:"\u989C\u8272\u8272\u677F",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u6ED1\u5757"},"zh-TW":{colorInputLabel:e=>`${e.label}\uFF0C${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\uFF1A${e.value}`,colorPicker:"\u6AA2\u8272\u5668",colorSwatch:"\u8272\u7968",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u6ED1\u687F"}};var Ue=e=>[0,60,120,180,240,300,360].map(r=>e.withChannelValue("hue",r).toString("css")).join(", "),Xe=e=>`${e.withChannelValue("saturation",0)}, transparent`,kr={hue:Ue,saturation:Xe,lightness:()=>"black, transparent, white"},Pr={hue:Ue,saturation:Xe,brightness:()=>"black, transparent"};function Ge({direction:e,state:r,zChannel:l,xChannel:t,yChannel:n}){return useMemo(()=>{let m=e==="rtl"?"left":"right",v={},z=r.value.getChannelValue(l);switch(r.value.getColorSpace()){case "rgb":{let s=a$1("rgb(0, 0, 0)");v={background:[`linear-gradient(to ${m}, ${s.withChannelValue(t,0)}, ${s.withChannelValue(t,255)})`,`linear-gradient(to top, ${s.withChannelValue(n,0)}, ${s.withChannelValue(n,255)})`,s.withChannelValue(l,z)].join(","),backgroundBlendMode:"screen"};break}case "hsl":{let s=r.value.getColorChannels(),d=a$1("hsl(0, 100%, 50%)").withChannelValue(l,z),c=s.filter(i=>i!==l).map(i=>`linear-gradient(to ${i===t?m:"top"}, ${kr[i](d)})`).reverse();l==="hue"&&c.push(d.toString("css")),v={background:c.join(", ")};break}case "hsb":{let s=r.value.getColorChannels(),d=a$1("hsb(0, 100%, 100%)").withChannelValue(l,z),c=s.filter(i=>i!==l).map(i=>`linear-gradient(to ${i===t?m:"top"}, ${Pr[i](d)})`).reverse();l==="hue"&&c.push(d.toString("css")),v={background:c.join(", ")};break}}let{x:h,y}=r.getThumbPosition();e==="rtl"&&(h=1-h);let f={forcedColorAdjust:"none"};return {colorAreaStyleProps:{style:{position:"relative",touchAction:"none",...f,...v}},thumbStyleProps:{style:{position:"absolute",left:`${h*100}%`,top:`${y*100}%`,transform:"translate(-50%, -50%)",touchAction:"none",...f}}}},[e,r,l,t,n])}function Je(e,r){let{isDisabled:l,inputXRef:t,inputYRef:n,containerRef:u,"aria-label":m,xName:v,yName:z,form:h}=e,y=b$2(oe,"@react-aria/color"),{addGlobalListener:f,removeGlobalListener:s}=a$9(),{direction:d,locale:c$1}=b$1(),[i,x]=useState(null),b=useCallback((o=t)=>{o.current&&a$a(o.current);},[t]);a$b(t,r.defaultValue,r.setValue);let[S,C]=useState(false),[V,k$1]=useState(false),{xChannel:_,yChannel:p,zChannel:w}=r.channels,g$1=r.xChannelStep,F=r.yChannelStep,N=useRef(null),{keyboardProps:ir}=a$c({onKeyDown(o){if(!/^(PageUp|PageDown|Home|End)$/.test(o.key)){o.continuePropagation();return}o.preventDefault(),r.setDragging(true),C(true);let a;switch(o.key){case "PageUp":r.incrementY(r.yChannelPageStep),a="y";break;case "PageDown":r.decrementY(r.yChannelPageStep),a="y";break;case "Home":d==="rtl"?r.incrementX(r.xChannelPageStep):r.decrementX(r.xChannelPageStep),a="x";break;case "End":d==="rtl"?r.decrementX(r.xChannelPageStep):r.incrementX(r.xChannelPageStep),a="x";break}r.setDragging(false),a&&(b(a==="x"?t:n),x(a));}}),X={onMoveStart(){N.current=null,r.setDragging(true);},onMove({deltaX:o,deltaY:a,pointerType:$,shiftKey:G}){let{incrementX:W,decrementX:ne,incrementY:ie,decrementY:M,xChannelPageStep:E,xChannelStep:H,yChannelPageStep:ve,yChannelStep:Se,getThumbPosition:Cr,setColorFromPoint:vr}=r;N.current==null&&(N.current=Cr());let{width:Sr,height:gr}=u.current?.getBoundingClientRect()||{width:0,height:0},ge=o!==0||a!==0;if($==="keyboard"){let xe=G&&E>H?E:H,ke=G&&ve>Se?ve:Se;o>0&&d==="ltr"||o<0&&d==="rtl"?W(xe):o<0&&d==="ltr"||o>0&&d==="rtl"?ne(xe):a>0?M(ke):a<0&&ie(ke),C(ge),i=ge&&Math.abs(a)>Math.abs(o)?"y":"x",x(i);}else N.current.x+=(d==="rtl"?-1:1)*o/Sr,N.current.y+=a/gr,vr(N.current.x,N.current.y);},onMoveEnd(){I.current=false,r.setDragging(false),b(i==="x"?t:n);}},{moveProps:pr}=a$d(X),{focusWithinProps:ur}=b$3({onFocusWithinChange:o=>{o||(C(false),k$1(false));}}),j=useRef(void 0),I=useRef(false),{moveProps:sr}=a$d({onMoveStart(){I.current&&X.onMoveStart();},onMove(o){I.current&&X.onMove(o);},onMoveEnd(){I.current&&X.onMoveEnd();}}),te=o=>{let a=b$5(u.current);r.isDragging||(j.current=o,C(false),b(),r.setDragging(true),typeof PointerEvent<"u"?f(a,"pointerup",T,false):(f(a,"mouseup",T,false),f(a,"touchend",T,false)));},T=o=>{let a=b$5(u.current);(o.pointerId??o.changedTouches?.[0].identifier)===j.current&&(C(false),b(),r.setDragging(false),j.current=void 0,I.current=false,typeof PointerEvent<"u"?s(a,"pointerup",T,false):(s(a,"mouseup",T,false),s(a,"touchend",T,false)));},ae=(o,a,$,G)=>{let W=o.getBoundingClientRect(),{width:ne,height:ie}=W,M=($-W.x)/ne,E=(G-W.y)/ie;d==="rtl"&&(M=1-M);let H=b$5(u.current);M>=0&&M<=1&&E>=0&&E<=1&&!r.isDragging&&j.current===void 0&&(I.current=true,C(false),j.current=a,r.setColorFromPoint(M,E),b(),r.setDragging(true),typeof PointerEvent<"u"?f(H,"pointerup",O,false):(f(H,"mouseup",O,false),f(H,"touchend",O,false)));},O=o=>{let a=o.pointerId??o.changedTouches?.[0].identifier;if(I.current&&a===j.current){I.current=false,C(false),j.current=void 0,r.setDragging(false),b();let $=b$5(u.current);typeof PointerEvent<"u"?s($,"pointerup",O,false):(s($,"mouseup",O,false),s($,"touchend",O,false));}},cr=l?{}:c({...typeof PointerEvent<"u"?{onPointerDown:o=>{o.pointerType==="mouse"&&(o.button!==0||o.altKey||o.ctrlKey||o.metaKey)||ae(o.currentTarget,o.pointerId,o.clientX,o.clientY);}}:{onMouseDown:o=>{o.button!==0||o.altKey||o.ctrlKey||o.metaKey||ae(o.currentTarget,void 0,o.clientX,o.clientY);},onTouchStart:o=>{ae(o.currentTarget,o.changedTouches[0].identifier,o.changedTouches[0].clientX,o.changedTouches[0].clientY);}}},sr),dr=l?{}:c({...typeof PointerEvent<"u"?{onPointerDown:o=>{o.pointerType==="mouse"&&(o.button!==0||o.altKey||o.ctrlKey||o.metaKey)||te(o.pointerId);}}:{onMouseDown:o=>{o.button!==0||o.altKey||o.ctrlKey||o.metaKey||te(void 0);},onTouchStart:o=>{te(o.changedTouches[0].identifier);}}},ur,ir,pr),{focusProps:mr}=a$e({onFocus:()=>{x("x");}}),{focusProps:yr}=a$e({onFocus:()=>{x("y");}}),fe=o=>{let{target:a}=o;k$1(true),a===t.current?r.setXValue(parseFloat(a.value)):a===n.current&&r.setYValue(parseFloat(a.value));},B=g()||k(),A=r.getDisplayColor(),ze=useCallback(o=>`${V||S?y.format("colorNameAndValue",{name:A.getChannelName(o,c$1),value:A.formatChannelValue(o,c$1)}):[y.format("colorNameAndValue",{name:A.getChannelName(o,c$1),value:A.formatChannelValue(o,c$1)}),y.format("colorNameAndValue",{name:A.getChannelName(o===p?_:p,c$1),value:A.formatChannelValue(o===p?_:p,c$1)}),y.format("colorNameAndValue",{name:A.getChannelName(w,c$1),value:A.formatChannelValue(w,c$1)})].join(", ")}, ${A.getColorName(c$1)}`,[c$1,A,y,V,S,_,p,w]),R=y.format("colorPicker"),br=a$f({...e,"aria-label":m?y.format("colorInputLabel",{label:m,channelLabel:R}):R}),_r=a$f({...e,"aria-label":m?y.format("colorInputLabel",{label:m,channelLabel:R}):R}),fr=a$f({...e,"aria-label":m?`${m}, ${R}`:void 0},B?R:void 0),he=y.format("twoDimensionalSlider"),{visuallyHiddenProps:Ce}=a$g({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}}),{colorAreaStyleProps:zr,thumbStyleProps:hr}=Ge({direction:d,state:r,xChannel:_,yChannel:p,zChannel:w});return {colorAreaProps:{...fr,...cr,...zr,role:"group"},thumbProps:{...dr,...hr,role:"presentation"},xInputProps:{...br,...Ce,...mr,type:"range",min:r.value.getChannelRange(_).minValue,max:r.value.getChannelRange(_).maxValue,step:g$1,"aria-roledescription":he,"aria-valuetext":ze(_),"aria-orientation":"horizontal","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"],disabled:l,value:r.value.getChannelValue(_),name:v,form:h,tabIndex:B||!i||i==="x"?void 0:-1,"aria-hidden":B||!i||i==="x"||S?void 0:"true",onChange:fe},yInputProps:{..._r,...Ce,...yr,type:"range",min:r.value.getChannelRange(p).minValue,max:r.value.getChannelRange(p).maxValue,step:F,"aria-roledescription":he,"aria-valuetext":ze(p),"aria-orientation":"vertical","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"],disabled:l,value:r.value.getChannelValue(p),name:z,form:h,tabIndex:B||i==="y"?void 0:-1,"aria-hidden":B||i==="y"||S?void 0:"true",onChange:fe}}}function Ze(e,r){let{trackRef:l,inputRef:t,orientation:n,channel:u,"aria-label":m,name:v,form:z}=e,{locale:h,direction:y}=b$1();!e.label&&!m&&!e["aria-labelledby"]&&(m=r.value.getChannelName(u,h));let{groupProps:f,trackProps:s,labelProps:d,outputProps:c$1}=a$h({...e,"aria-label":m},r,l),{inputProps:i,thumbProps:x}=b$4({index:0,orientation:n,isDisabled:e.isDisabled,name:v,form:z,trackRef:l,inputRef:t},r),b=r.getDisplayColor(),S=()=>{let k;switch(n==="vertical"?k="top":y==="ltr"?k="right":k="left",u){case "hue":{let _=[0,60,120,180,240,300,360].map(p=>b.withChannelValue("hue",p).toString("css")).join(", ");return `linear-gradient(to ${k}, ${_})`}case "lightness":{let _=r.getThumbMinValue(0),p=r.getThumbMaxValue(0),w=b.withChannelValue(u,_).toString("css"),g=b.withChannelValue(u,(p-_)/2).toString("css"),F=b.withChannelValue(u,p).toString("css");return `linear-gradient(to ${k}, ${w}, ${g}, ${F})`}case "saturation":case "brightness":case "red":case "green":case "blue":case "alpha":{let _=b.withChannelValue(u,r.getThumbMinValue(0)).toString("css"),p=b.withChannelValue(u,r.getThumbMaxValue(0)).toString("css");return `linear-gradient(to ${k}, ${_}, ${p})`}default:throw new Error("Unknown color channel: "+u)}},C={forcedColorAdjust:"none"};u==="hue"?i["aria-valuetext"]+=`, ${b.getHueName(h)}`:u!=="alpha"&&(i["aria-valuetext"]+=`, ${b.getColorName(h)}`);let{visuallyHiddenProps:V}=a$g({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}});return {trackProps:{...c(f,s),style:{...s.style,...C,background:S()}},inputProps:{...i,style:{...i.style,...V.style}},thumbProps:{...x,style:{...x.style,...C}},labelProps:d,outputProps:c$1}}function Qe(e,r,l){let{isDisabled:t,isReadOnly:n,isRequired:u,isWheelDisabled:m,validationBehavior:v="aria"}=e,{colorValue:z,inputValue:h,increment:y,decrement:f,incrementToMax:s,decrementToMin:d,commit:c$1}=r,i=c$2(),{spinButtonProps:x}=a$i({isDisabled:t,isReadOnly:n,isRequired:u,maxValue:16777215,minValue:0,onIncrement:y,onIncrementToMax:s,onDecrement:f,onDecrementToMin:d,value:z?z.toHexInt():void 0,textValue:z?z.toString("hex"):void 0}),[b,S]=useState(false),{focusWithinProps:C}=b$3({isDisabled:t,onFocusWithinChange:S}),V=useCallback(g=>{Math.abs(g.deltaY)<=Math.abs(g.deltaX)||(g.deltaY>0?y():g.deltaY<0&&f());},[f,y]);a$j({onScroll:V,isDisabled:m||t||n||!b},l);let _=g=>{r.validate(g)&&r.setInputValue(g);},{inputProps:p,...w}=a$k({...e,id:i,value:h,defaultValue:"!",validate:void 0,[c$3]:r,type:"text",autoComplete:"off",onChange:_},r,l);return a$b(l,r.defaultColorValue,r.setColorValue),p=c(p,x,C,{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false",onBlur:c$1}),v==="native"&&(p["aria-required"]=void 0),{inputProps:p,...w}}function le(e){let{color:r,colorName:l}=e,t=r||"#fff0",n=useMemo(()=>typeof t=="string"?a$1(t):t,[t]),{locale:u}=b$1(),m=a$8(e,{labelable:true}),v=b$2(oe,"@react-aria/color"),z=c$2(e.id);return l||(l=n.getChannelValue("alpha")===0?v.format("transparent"):n.getColorName(u)),{colorSwatchProps:{...m,role:"img","aria-roledescription":v.format("colorSwatch"),"aria-label":[l,e["aria-label"]||""].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]?`${z} ${e["aria-labelledby"]}`:void 0,id:z,style:{backgroundColor:n.toString("css"),forcedColorAdjust:"none"}},color:n||null}}var rl="_1dbkl53 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6ln",ol="_1dbkl5e",ll=a({defaultClassName:"_1dbkl54 _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6ly _1yep5z6lq _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6eu _1yep5z6lp _1yep5z6dy",variantClassNames:{isHovered:{true:"_1dbkl55"},isFocusVisible:{true:"_1dbkl56"},isDisabled:{true:"z9nup82 _1yep5z6111"},labelPosition:{top:"_1dbkl58",start:"_1dbkl59"}},defaultVariants:{},compoundVariants:[]}),tl="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kj _1yep5z6kk _1yep5z6kl",al=a({defaultClassName:"_1dbkl50 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6dy _1yep5z6ev",variantClassNames:{labelPosition:{top:"_1yep5z6oi _1yep5z6oj _1yep5z6ok",start:"_1dbkl52"}},defaultVariants:{},compoundVariants:[]}),nl="_1dbkl5l _1yep5z6iy _1yep5z6iz _1yep5z6j0 _1yep5z69f _1yep5z69g _1yep5z69h",il="_1dbkl5f z9nup86",pl="_1dbkl5m _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6id _1yep5z6ie _1yep5z6if",er="_1dbkl5k _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6lq",ul="_1yep5z63r _1yep5z63s _1yep5z63t _1yep5z619 _1yep5z61a _1yep5z61b _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6kj _1yep5z6kk _1yep5z6kl _1yep5z6dy _1yep5z6ev _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6jj _1yep5z6jk _1yep5z6jl",sl=a({defaultClassName:"_1dbkl5h _1dbkl5g _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6g1",variantClassNames:{includesCustomColorPicker:{true:"_1yep5z6n6 _1yep5z6n7 _1yep5z6n8"}},defaultVariants:{},compoundVariants:[]}),cl="_1dbkl5v _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3",dl=a({defaultClassName:"_1dbkl5q _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6br _1yep5z6bs _1yep5z6bt _1yep5z6d3 _1yep5z6d4 _1yep5z6d5 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6lz _1yep5z6h4 _1yep5z6lq _1yep5z6eu _1yep5z6dy",variantClassNames:{isFocused:{true:"_1dbkl5r _1yep5z6134"},isHovered:{true:"_1dbkl5s"},allowAlpha:{false:"_1yep5z6x9 _1yep5z6xa _1yep5z6xb _1yep5z6yl _1yep5z6ym _1yep5z6yn _1yep5z617q"}},defaultVariants:{},compoundVariants:[[{isHovered:true,isFocused:false},"_1yep5z61pb"]]}),ml=a({defaultClassName:"_1dbkl5a _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62c _1yep5z62d _1yep5z62e _1yep5z63i _1yep5z63j _1yep5z63k _1yep5z616 _1yep5z617 _1yep5z618 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z69c _1yep5z69d _1yep5z69e _1yep5z6f5 _1yep5z6lp _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6la _1yep5z6ld",variantClassNames:{isHovered:{true:"_1yep5z6126"},isFocusVisible:{true:"_1yep5z617w _1yep5z617u _1yep5z617x _1yep5z6140"},isDisabled:{true:"_1yep5z611a"}},defaultVariants:{},compoundVariants:[]}),yl="_1dbkl5g",bl="_1dbkl5u",_l="_1dbkl5j _1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z69f _1yep5z69g _1yep5z69h",fl="_1dbkl5x",zl="_1dbkl5w",hl="_1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z69l _1yep5z69m _1yep5z69n",Cl=a({defaultClassName:"_1dbkl5n _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6lu _1yep5z6ig _1yep5z6ih _1yep5z6ii _1yep5z6lz _1yep5z6m2",variantClassNames:{isFocusVisible:{true:"_1dbkl5o _1yep5z617u _1yep5z6140 _1yep5z617w"}},defaultVariants:{},compoundVariants:[]}),vl="z9nup83 z9nup85 _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6lg _1yep5z6lh _1yep5z6lj _1yep5z6li _1yep5z6ig _1yep5z6ih _1yep5z6ii";var Al=[{id:"hex",label:"HEX"},{id:"rgb",label:"RGB"}],$l=a$1("#000000").toFormat("hsla"),me="hsla",ye="hexa";function Dr(e){let r=document.createElement("canvas").getContext("2d");return a$l(r,"Failed to get canvas context"),r.fillStyle=e,r.fillStyle}function Ll(e){if(typeof e=="string")try{return a$1(e).toFormat(me)}catch{return a$1(Dr(e)).toFormat(me)}else if(e)return e.toFormat(me);return null}function Dl(e,r){return e?.getChannelValue("alpha")?r?.toString(ye)===e.toString(ye):!r?.getChannelValue("alpha")}function Vl(e,r,l){return r?.label?r.label:e?.getChannelValue("alpha")===0?l:e?.toString("rgba")}var be="NONE";function Il(e,r){let l=r?.map(n=>({id:a$1(n.color).toString(ye),label:n.label}))||[],t={id:be,label:e};return [...l,t]}var Nl=(e,{optionProps:r,isFocusVisible:l,isSelected:t},n)=>(a$l(e.value&&"label"in e.value,"Item must have label"),jsx("li",{...r,ref:n,className:er,children:jsx(_e,{color:e.value.id,isFocusVisible:l,isSelected:t,"aria-label":e.value.label,isInteractive:true})})),or=(e,r=4)=>{let l=e.getChannelValue("alpha")===0,t=`repeating-conic-gradient(transparent 0% 25%, ${themeVars.color.background.secondary.medium} 25% 50%)`;return {backgroundImage:l?t:`linear-gradient(${e.toString("hexa")}, ${e.toString("hexa")}), ${t}`,backgroundSize:`${r}px ${r}px`}};var lr=a({defaultClassName:"_1344e9q0 _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6id _1yep5z6ie _1yep5z6if _1yep5z6lk _1yep5z6ic _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kd _1yep5z6ke _1yep5z6kf z9nup8a",variantClassNames:{isFocusVisible:{true:"_1344e9q1"},isDisabled:{true:"_1344e9q2"},removeBlendMode:{true:"_1344e9q3"},isSelected:{true:"_1yep5z617w _1yep5z617u _1yep5z6140 _1yep5z617z"},isHovered:{true:"_1344e9q5"}},defaultVariants:{},compoundVariants:[[{isSelected:false,isFocusVisible:true},"_1344e9q6"],[{isSelected:true,isFocusVisible:true},"_1344e9q7 _1yep5z61tz _1yep5z61tx _1yep5z61q3 _1yep5z61u2"],[{isSelected:true,isDisabled:true},"_1yep5z61tz _1yep5z61tx _1yep5z61q3 _1yep5z61u2 _1yep5z61qd"],[{isHovered:true,isSelected:false},"_1yep5z61u2 _1yep5z61tz _1yep5z61tx _1yep5z61q7"]]}),tr="_1yep5z6f6",ar="_1344e9q9 _1yep5z6fl";var _e=Ir.forwardRef(({color:e$1,isFocusVisible:r,isSelected:l,isInteractive:t,isDisabled:n,style:u,className:m,id:v,tooltip:z,isIndeterminate:h,indeterminateIcon:y=HelpIcon,noneLabel:f,"data-block-id":s,"data-block-class":d,...c$1},i)=>{let x=e$1&&e$1!==be&&(typeof e$1=="string"?a$1(e$1):e$1),{formatMessage:b$1}=b(),S=!x,{colorSwatchProps:C}=le({color:S?"#000000":e$1}),{hoverProps:V,isHovered:k}=a$2({isDisabled:n||!t}),_=a$3({"data-focus-visible":r,"data-selected":l,"data-hovered":k,"data-block-id":s,"data-block-class":d,"data-disabled":n,"data-interactive":t,"data-indeterminate":h}),p=S?f??b$1(nr.none):C["aria-label"],w=c$1["aria-label"]??p,{tooltipProps:g}=a$4({tooltip:z,label:w}),F=jsx("div",{...c(V,_,S?{}:C),style:u,"aria-label":S?f??b$1(nr.none):C["aria-label"],role:"img",className:a$6(lr({removeBlendMode:S,isFocusVisible:r,isDisabled:!!n,isSelected:!!l,isHovered:k}),"BaselineUI-ColorSwatch",m),ref:i,id:v,...c$1,children:jsxs(a$5,{display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"full",height:"full",width:"full",opacity:n?"medium":void 0,style:x&&!h?or(x,4):void 0,children:[S&&!h?jsx("div",{className:ar}):null,h&&y?jsx(y,{role:"presentation",size:16,className:tr,"aria-hidden":"true"}):null]})});return g&&!n?jsx(a$7,{...g,children:jsx(e,{children:F})}):F});_e.displayName="ColorSwatch";var nr=c$1({none:{id:"bui.colorSwatch.none",defaultMessage:"None"}});export{me as A,ye as B,Ll as C,Dl as D,Vl as E,be as F,Il as G,Nl as H,_e as I,Je as a,Qe as b,Ze as c,rl as d,ol as e,ll as f,tl as g,al as h,nl as i,il as j,pl as k,ul as l,sl as m,cl as n,dl as o,ml as p,yl as q,bl as r,_l as s,fl as t,zl as u,hl as v,Cl as w,vl as x,Al as y,$l as z};
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a}from'./chunk-USMC34OO.mjs';import {useCallback,useMemo}from'react';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
function p(h){let l=a({usage:"search",...h}),n=useCallback((t,e)=>e.length===0?true:(t=t.normalize("NFC"),e=e.normalize("NFC"),l.compare(t.slice(0,e.length),e)===0),[l]),a$1=useCallback((t,e)=>e.length===0?true:(t=t.normalize("NFC"),e=e.normalize("NFC"),l.compare(t.slice(-e.length),e)===0),[l]),i=useCallback((t,e)=>{if(e.length===0)return true;t=t.normalize("NFC"),e=e.normalize("NFC");let r=0,c=e.length;for(;r+c<=t.length;r++){let f=t.slice(r,r+c);if(l.compare(e,f)===0)return true}return false},[l]);return useMemo(()=>({startsWith:n,endsWith:a$1,contains:i}),[n,a$1,i])}export{p as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var r=(e,o)=>(e+o)/2;function l(e,o=true){if(!e.length)return "";let u=e.length;if(u<4)return "";let n=e[0],t=e[1],F=e[2],x=`M${n[0].toFixed(2)},${n[1].toFixed(2)} Q${t[0].toFixed(2)},${t[1].toFixed(2)} ${r(t[0],F[0]).toFixed(2)},${r(t[1],F[1]).toFixed(2)} T`;for(let i=2,d=u-1;i<d;i++)n=e[i],t=e[i+1],x+=`${r(n[0],t[0]).toFixed(2)},${r(n[1],t[1]).toFixed(2)} `;return o&&(x+="Z"),x}export{l as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var r=new Set;function s(n,e){process.env.NODE_ENV!=="production"&&(r.has(n)||(r.add(n),console.warn(e)));}export{s as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {b,a as a$1}from'./chunk-2VY4FAOY.mjs';import {a}from'./chunk-X3AXUU3H.mjs';import {useMemo,useCallback,useState,useRef}from'react';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var ee=0,ne=100,te=1;function le(n){let{isDisabled:b$1=false,minValue:t=ee,maxValue:m=ne,numberFormatter:s,step:l=te,orientation:U="horizontal"}=n,_=useMemo(()=>{let e=(m-t)/10;return e=b(e,0,e+l,l),Math.max(e,l)},[l,m,t]),d=useCallback(e=>e?.map((u,r)=>{let c=r===0?t:e[r-1],V=r===e.length-1?m:e[r+1];return b(u,c,V,l)}),[t,m,l]),w=useMemo(()=>d(P(n.value)),[n.value,d]),p=useMemo(()=>d(P(n.defaultValue)??[t]),[n.defaultValue,t,d]),B=z(n.value,n.defaultValue,n.onChange),D=z(n.value,n.defaultValue,n.onChangeEnd),[a$2,N]=a(w,p,B),[k]=useState(a$2),[E,X]=useState(new Array(a$2.length).fill(false)),F=useRef(new Array(a$2.length).fill(true)),[j,q]=useState(void 0),f=useRef(a$2),o=useRef(E),G=e=>{f.current=e,N(e);},H=e=>{o.current=e,X(e);};function M(e){return (e-t)/(m-t)}function y(e){return e===0?t:a$2[e-1]}function L(e){return e===a$2.length-1?m:a$2[e+1]}function T(e){return F.current[e]}function J(e,u){F.current[e]=u;}function g(e,u){if(b$1||!T(e))return;let r=y(e),c=L(e);u=b(u,r,c,l);let V=C(f.current,e,u);G(V);}function K(e,u){if(b$1||!T(e))return;u&&(f.current=a$2);let r=o.current[e];o.current=C(o.current,e,u),H(o.current),D&&r&&!o.current.some(Boolean)&&D(f.current);}let A=useRef(null);function v(e=a$2){switch(typeof e=="number"&&(e=[e]),e.length){case 0:return "";case 1:return s.format(e[0]);case 2:return s.formatRange(e[0],e[1]);default:{let u=e.map(c=>s.format(c)),r=A.current;return (!r||r.resolvedOptions().locale!==s.resolvedOptions().locale)&&(r=A.current=new Intl.ListFormat(s.resolvedOptions().locale,{type:"unit"})),r.format(u)}}}function Q(e,u){g(e,I(u));}function W(e){return Math.round((e-t)/l)*l+t}function I(e){let u=e*(m-t)+t;return a$1(W(u),t,m)}function Y(e,u=1){let r=Math.max(u,l);g(e,b(a$2[e]+r,t,m,l));}function Z(e,u=1){let r=Math.max(u,l);g(e,b(a$2[e]-r,t,m,l));}return {values:a$2,defaultValues:n.defaultValue!==void 0?p:k,getThumbValue:e=>a$2[e],setThumbValue:g,setThumbPercent:Q,isThumbDragging:e=>E[e],setThumbDragging:K,focusedThumb:j,setFocusedThumb:q,getThumbPercent:e=>M(a$2[e]),getValuePercent:M,getThumbValueLabel:e=>v(a$2[e]),getFormattedValue:v,getThumbMinValue:y,getThumbMaxValue:L,getPercentValue:I,isThumbEditable:T,setThumbEditable:J,incrementThumb:Y,decrementThumb:Z,step:l,pageSize:_,orientation:U,isDisabled:b$1}}function C(n,b,t){return n[b]===t?n:[...n.slice(0,b),t,...n.slice(b+1)]}function P(n){if(n!=null)return Array.isArray(n)?n:[n]}function z(n,b,t){return m=>{t?.(typeof n=="number"||typeof b=="number"?m[0]:m);}}export{le as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a as a$1}from'./chunk-O7XK2WIX.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$2}from'./chunk-4QEH5CGK.mjs';import {XIcon,CheckmarkIcon,CircleFilledIcon,ErrorCircleIcon,WarningIcon}from'@baseline-ui/icons/16';import {themeVars}from'@baseline-ui/tokens';import h from'react';import {jsx,jsxs}from'react/jsx-runtime';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var x="_1w6k5xli";var y=a({defaultClassName:"_1w6k5xl1 _1yep5z6m1 _1yep5z6lz _1yep5z6g1 _1yep5z6h3",variantClassNames:{variant:{active:"_1w6k5xl2",warning:"_1w6k5xl3",error:"_1w6k5xl4",denied:"_1w6k5xl5",success:"_1w6k5xl6","active-tinted":"_1yep5z6184 _1yep5z611y _1yep5z6131","warning-tinted":"_1yep5z6184 _1yep5z611u _1yep5z612x","error-tinted":"_1yep5z6184 _1yep5z611m _1yep5z612p","denied-tinted":"_1yep5z6184 _1yep5z6127 _1yep5z6137","success-tinted":"_1yep5z6184 _1yep5z611q _1yep5z612t"}},defaultVariants:{},compoundVariants:[]}),u=a({defaultClassName:"_1w6k5xlc",variantClassNames:{variant:{active:"_1yep5z610u",warning:"_1yep5z610q",error:"_1yep5z610i",denied:"_1yep5z610x",success:"_1yep5z610m"}},defaultVariants:{},compoundVariants:[]}),o="_1w6k5xlk",_="_1w6k5xlj";var {support:l,icon:f}=themeVars.color,D={warning:jsx(WarningIcon,{size:16,color:l.warning.strong}),error:jsx(ErrorCircleIcon,{size:16,color:l.error.strong}),active:jsx(a$1,{padding:"xs",display:"flex",alignItems:"center",children:jsx(CircleFilledIcon,{size:16,color:f.interactive.enabled,className:x})}),success:jsx(CheckmarkIcon,{size:16,color:l.success.strong}),denied:jsx(XIcon,{size:16,color:f.primary})},C=h.forwardRef(({className:w,style:z,variant:s="active",icon:c,title:n,description:m,renderTrailingElement:g,shouldTruncateTitle:r},k)=>{let d=u({variant:s.split("-")[0]});return jsxs(a$1,{padding:"lg",display:"flex",flexDirection:"row",gap:"md",width:"full",alignItems:"center",borderRadius:"sm",className:a$2(y({variant:s}),"BaselineUI-StatusCard",w),style:z,ref:k,children:[jsxs(a$1,{display:"flex",alignItems:"center",flexDirection:"row",gap:"md",flex:1,className:r?o:void 0,children:[jsx(a$1,{display:"flex",padding:"xs",alignItems:"center",flexShrink:0,className:"BaselineUI-StatusCard-Icon",children:c?jsx(c,{className:d,size:16}):D[s.split("-")[0]]}),jsxs(a$1,{display:"flex",flexDirection:"column",gap:"sm",className:r?o:void 0,children:[jsx(a$1,{typography:"label.md.medium",elementType:"h4",color:"text.primary",className:a$2("BaselineUI-StatusCard-Title",r&&_),children:r?jsx("span",{title:n,children:n}):n}),m?jsx(a$1,{typography:"label.sm.regular",elementType:"span",className:a$2(d,"BaselineUI-StatusCard-Description"),children:m}):null]})]}),g?.()]})});C.displayName="StatusCard";export{D as a,C as b};
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a}from'./chunk-FXCHST4Z.mjs';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var l=a({defaultClassName:"vi3slum",variantClassNames:{variant:{neutral:"_1yep5z6118",red:"_1yep5z610i",green:"_1yep5z610m",blue:"_1yep5z610u","high-contrast":"_1yep5z611b"},isDisabled:{true:"_1yep5z61nd"},isSelected:{true:"_1yep5z611c"}},defaultVariants:{},compoundVariants:[]}),u=a({defaultClassName:"vi3slu0 _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ax _1yep5z6ay _1yep5z6az _1yep5z6bl _1yep5z6bm _1yep5z6bn _1yep5z6c9 _1yep5z6ca _1yep5z6cb _1yep5z6cx _1yep5z6cy _1yep5z6cz _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6la _1yep5z6lq _1yep5z6ld",variantClassNames:{isFocusVisible:{true:"vi3slu1"},variant:{neutral:"_1yep5z6128",red:"_1yep5z611n",green:"_1yep5z611r",blue:"_1yep5z611z","high-contrast":"_1yep5z612c"},isDisabled:{true:"vi3slu7 _1yep5z6127"},allowsRemoving:{true:"vi3slu8"},isSelected:{true:"_1yep5z612i"},allowsSelection:{true:"vi3slua"},isHovered:{true:"vi3slub"},size:{md:"vi3sluc",sm:"vi3slud"}},defaultVariants:{},compoundVariants:[[{allowsSelection:true,isHovered:true,variant:"neutral"},"_1yep5z61oa"],[{allowsSelection:true,isHovered:true,variant:"red"},"_1yep5z61np"],[{allowsSelection:true,isHovered:true,variant:"blue"},"_1yep5z61o1"],[{allowsSelection:true,isHovered:true,variant:"green"},"_1yep5z61nt"],[{allowsSelection:true,isHovered:true,variant:"high-contrast"},"_1yep5z61oe"],[{allowsSelection:true,isSelected:true,isHovered:true},"_1yep5z61om"],[{variant:"high-contrast",isDisabled:true},"_1yep5z61oa"],[{allowsRemoving:true,size:"md"},"_1yep5z619c _1yep5z619d _1yep5z619e"],[{allowsRemoving:true,size:"sm"},"_1yep5z61af _1yep5z61ag _1yep5z61ah"]]}),o="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z69f _1yep5z69g _1yep5z69h",p=a({defaultClassName:"vi3sluu _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z63l _1yep5z63m _1yep5z63n _1yep5z619 _1yep5z61a _1yep5z61b _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6lp _1yep5z6ly _1yep5z6f5 z9nup8a",variantClassNames:{variant:{neutral:"vi3sluv",red:"vi3sluw",green:"vi3slux",blue:"vi3sluy","high-contrast":"vi3sluz"},isHovered:{true:"vi3slu10"}},defaultVariants:{},compoundVariants:[[{isHovered:true,variant:"neutral"},"vi3slu11"],[{isHovered:true,variant:"red"},"vi3slu12"],[{isHovered:true,variant:"blue"},"vi3slu13"],[{isHovered:true,variant:"green"},"vi3slu14"],[{isHovered:true,variant:"high-contrast"},"vi3slu15"]]}),n=a({defaultClassName:"vi3slue",variantClassNames:{variant:{neutral:"_1yep5z610x",red:"_1yep5z610i",green:"_1yep5z610m",blue:"_1yep5z610u","high-contrast":"_1yep5z6112"},isDisabled:{true:"_1yep5z61n4"},isSelected:{true:"_1yep5z6113"}},defaultVariants:{},compoundVariants:[]});export{l as a,u as b,o as c,p as d,n as e};
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {e}from'./chunk-AKES5B6C.mjs';import {useEffect}from'react';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
function b(){return Object.prototype.hasOwnProperty.call(HTMLElement.prototype,"inert")}function p({ref:n,isDisabled:o}){useEffect(()=>{if(!n.current||o)return;let t=n.current;if(b())return t.setAttribute("inert","true"),()=>{t.removeAttribute("inert");};let i=new Map,u=t.hasAttribute("aria-hidden")?t.getAttribute("aria-hidden")==="true":null;t.setAttribute("aria-hidden","true");let s=()=>{if(!n.current)return;let r=e(n.current);for(let e of r)i.has(e)||(i.set(e,e.getAttribute("tabindex")),e.setAttribute("tabindex","-1"));};s();let a=new MutationObserver(r=>{for(let e of r)if(e.type==="childList"){for(let c of e.removedNodes)c instanceof Element&&i.delete(c);s();}});return a.observe(n.current,{childList:true,subtree:true,attributes:false}),()=>{a.disconnect();for(let[r,e]of i.entries())r.isConnected&&(e===null?r.removeAttribute("tabindex"):r.setAttribute("tabindex",e));u===null?t.removeAttribute("aria-hidden"):t.setAttribute("aria-hidden",u?"true":"false");}},[n,o]);}export{p as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
function r(n,i){if(!n)throw new Error(i||"Invariant failed")}export{r as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {b as b$1,a as a$2}from'./chunk-MRJFGHFW.mjs';import {a}from'./chunk-JDLUGVXG.mjs';import {g,b,f,a as a$1,d}from'./chunk-AUOQSTS5.mjs';import {useRef,useCallback}from'react';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
function y(t){let e=t;return e.nativeEvent=t,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function W(t,e){Object.defineProperty(t,"target",{value:e}),Object.defineProperty(t,"currentTarget",{value:e});}function j(t){let e=useRef({isFocused:false,observer:null});return a(()=>{let s=e.current;return ()=>{s.observer&&(s.observer.disconnect(),s.observer=null);}},[]),useCallback(s=>{let r=g(s),u=b(r);if(r instanceof u.HTMLButtonElement||r instanceof u.HTMLInputElement||r instanceof u.HTMLTextAreaElement||r instanceof u.HTMLSelectElement){e.current.isFocused=true;let o=r,c=i=>{if(e.current.isFocused=false,o.disabled){let a=y(i);t?.(a);}e.current.observer&&(e.current.observer.disconnect(),e.current.observer=null);};o.addEventListener("focusout",c,{once:true}),e.current.observer=new MutationObserver(()=>{if(e.current.isFocused&&o.disabled){e.current.observer?.disconnect();let i=o===f(a$1(o))?null:f(a$1(o));o.dispatchEvent(new FocusEvent("blur",{relatedTarget:i})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:true,relatedTarget:i}));}}),e.current.observer.observe(o,{attributes:true,attributeFilter:["disabled"]});}},[t])}var T=false;function k(t){for(;t&&!b$1(t,{skipVisibilityCheck:true});)t=t.parentElement;let e=b(t),s=f(e.document);if(!s||s===t)return;T=true;let r=false,u=n=>{(g(n)===s||r)&&n.stopImmediatePropagation();},o=n=>{(g(n)===s||r)&&(n.stopImmediatePropagation(),!t&&!r&&(r=true,a$2(s),E()));},c=n=>{(g(n)===t||r)&&n.stopImmediatePropagation();},i=n=>{(g(n)===t||r)&&(n.stopImmediatePropagation(),r||(r=true,a$2(s),E()));},a=e.document;e.addEventListener("blur",u,true),e.addEventListener("focusout",o,true),e.addEventListener("focusin",i,true),e.addEventListener("focus",c,true),a.addEventListener("blur",u,true),a.addEventListener("focusout",o,true),a.addEventListener("focusin",i,true),a.addEventListener("focus",c,true);let m=[];if(d()){let n=new Set;for(let v of [s,t])if(v){let p=v.getRootNode();p instanceof b(v).ShadowRoot&&n.add(p);}m=[...n];for(let v of m)v.addEventListener("blur",u,true),v.addEventListener("focusout",o,true),v.addEventListener("focusin",i,true),v.addEventListener("focus",c,true);}let E=()=>{cancelAnimationFrame(h),e.removeEventListener("blur",u,true),e.removeEventListener("focusout",o,true),e.removeEventListener("focusin",i,true),e.removeEventListener("focus",c,true),a.removeEventListener("blur",u,true),a.removeEventListener("focusout",o,true),a.removeEventListener("focusin",i,true),a.removeEventListener("focus",c,true);for(let n of m)n.removeEventListener("blur",u,true),n.removeEventListener("focusout",o,true),n.removeEventListener("focusin",i,true),n.removeEventListener("focus",c,true);T=false,r=false;},h=requestAnimationFrame(E);return E}export{y as a,W as b,j as c,T as d,k as e};
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {t,d}from'./chunk-MRJFGHFW.mjs';import {a}from'./chunk-JDLUGVXG.mjs';import {b as b$1}from'./chunk-AUOQSTS5.mjs';import {useRef,useEffect}from'react';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var y="react-aria-clear-focus",x="react-aria-focus";function L(e,t$1){let r=useRef(true),n=useRef(null),c=t(e);useEffect(()=>(r.current=true,()=>{r.current=false;}),[]),useEffect(()=>{let o=n.current;r.current?r.current=false:(!o||t$1.some((m,p)=>!Object.is(m,o[p])))&&c(),n.current=t$1;},t$1);}function I(e,t){let r=useRef(true),n=useRef(null);a(()=>(r.current=true,()=>{r.current=false;}),[]),a(()=>{r.current?r.current=false:(!n.current||t.some((c,o)=>!Object.is(c,n[o])))&&e(),n.current=t;},t);}function R(e){return d()?e.metaKey:e.ctrlKey}var b=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function S(e){let t=b$1(e);return e instanceof t.HTMLInputElement&&!b.has(e.type)||e instanceof t.HTMLTextAreaElement||e instanceof t.HTMLElement&&e.isContentEditable}export{y as a,x as b,L as c,I as d,R as e,S as f};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a}from'./chunk-RXSYDMT6.mjs';import {useCallback}from'react';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
function d(s,t){let{onScroll:o,isDisabled:a$1}=s,i=useCallback(e=>{e.ctrlKey||(e.preventDefault(),e.stopPropagation(),o&&o({deltaX:e.deltaX,deltaY:e.deltaY}));},[o]);a(t,"wheel",a$1?void 0:i);}export{d as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {f}from'./chunk-6IRWW75G.mjs';import {g}from'./chunk-MRJFGHFW.mjs';import {g as g$1,f as f$1,a}from'./chunk-AUOQSTS5.mjs';import {b}from'./chunk-RMUV6NJJ.mjs';import {useState,useEffect}from'react';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var e=typeof document<"u"&&window.visualViewport;function d(){let x=b(),[h,E]=useState(()=>x?{width:0,height:0}:u());return useEffect(()=>{let m=t=>{E(r=>t.width===r.width&&t.height===r.height?r:t);},n=()=>{e&&e.scale>1||m(u());},l,a$1=t=>{e&&e.scale>1||f(g$1(t))&&(l=requestAnimationFrame(()=>{let r=f$1(a(g$1(t)));(!r||!f(r))&&m({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight});}));};return m(u()),g()&&window.addEventListener("blur",a$1,true),e?e.addEventListener("resize",n):window.addEventListener("resize",n),()=>{cancelAnimationFrame(l),g()&&window.removeEventListener("blur",a$1,true),e?e.removeEventListener("resize",n):window.removeEventListener("resize",n);}},[]),h}function u(){return {width:e?Math.min(e.width*e.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:e?e.height*e.scale:document.documentElement.clientHeight}}export{d as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {useRef,useCallback,useEffect}from'react';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
function b(){let o=useRef(new Map),v=useCallback((e,n,t,r)=>{let s=r?.once?(...d)=>{o.current.delete(t),t(...d);}:t;o.current.set(t,{type:n,eventTarget:e,fn:s,options:r}),e.addEventListener(n,s,r);},[]),i=useCallback((e,n,t,r)=>{let s=o.current.get(t)?.fn||t;e.removeEventListener(n,s,r),o.current.delete(t);},[]),l=useCallback(()=>{o.current.forEach((e,n)=>{i(e.eventTarget,e.type,n,e.options);});},[i]);return useEffect(()=>l,[l]),{addGlobalListener:v,removeGlobalListener:i,removeAllGlobalListeners:l}}export{b as a};
|