efficient-shell 8.33.0 → 8.34.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/README.md +57 -15
- package/THIRD_PARTY_NOTICES.md +11 -2
- package/dist/{Browser-V3NK5J6A.js → Browser-QBAMRKYI.js} +12 -12
- package/dist/{Documents-EKGXGENC.js → Documents-E3GMXALJ.js} +17 -17
- package/dist/{Files-5J4CR3CU.js → Files-2DWPYRM5.js} +19 -19
- package/dist/{Notepad-GTU3U27L.js → Notepad-VQ66RWLT.js} +10 -10
- package/dist/{Preview-TMS6JTPA.js → Preview-VZYFOH2U.js} +22 -22
- package/dist/{Spreadsheet-P77Z2TVQ.js → Spreadsheet-4KXRJSHT.js} +11 -11
- package/dist/ai/index.d.ts +1 -1
- package/dist/ai/index.js +9 -9
- package/dist/ai.css +1 -1
- package/dist/apps/index.js +1 -1
- package/dist/bin/media-host-check.js +1 -1
- package/dist/bin/ui-check.js +1 -1
- package/dist/charts/BoxPlotChart.js +1 -1
- package/dist/charts/CandlestickChart.js +1 -1
- package/dist/charts/CartesianPlot.js +1 -1
- package/dist/charts/ChordChart.js +1 -1
- package/dist/charts/ColumnChart.js +1 -1
- package/dist/charts/HeatmapChart.js +1 -1
- package/dist/charts/HistogramChart.js +1 -1
- package/dist/charts/RadarChart.js +1 -1
- package/dist/charts/RangeChart.js +1 -1
- package/dist/charts/SankeyChart.js +1 -1
- package/dist/charts/ScatterChart.js +1 -1
- package/dist/charts/SpecChart.js +1 -1
- package/dist/charts/SunburstChart.js +1 -1
- package/dist/charts/TimeSeriesChart.js +1 -1
- package/dist/charts/TreemapChart.js +1 -1
- package/dist/charts/WaterfallChart.js +1 -1
- package/dist/chunk-243NPEG6.js +2 -0
- package/dist/chunk-2UCDJCGZ.js +4 -0
- package/dist/chunk-2ZD67TDP.js +2 -0
- package/dist/{chunk-WFWDABGV.js → chunk-3BPF6PP3.js} +1 -1
- package/dist/chunk-3ER2WJNL.js +2 -0
- package/dist/{chunk-TRZPF2CE.js → chunk-3J5QUHPO.js} +2 -2
- package/dist/{chunk-H33Z4ZIY.js → chunk-3WC6ITJ3.js} +6 -6
- package/dist/chunk-44F7JLNV.js +2 -0
- package/dist/chunk-474G67EG.js +6 -0
- package/dist/chunk-47OCVZXD.js +2 -0
- package/dist/{chunk-FJXYKN7R.js → chunk-4C4SQ4YW.js} +1 -1
- package/dist/chunk-4CFQXH5N.js +2 -0
- package/dist/chunk-4FNGR474.js +2 -0
- package/dist/chunk-4L7GLO5W.js +2 -0
- package/dist/chunk-4RDYNULI.js +2 -0
- package/dist/{chunk-QWPFFWUG.js → chunk-57SJKYA4.js} +23 -23
- package/dist/chunk-5DFKPSJQ.js +1 -0
- package/dist/chunk-5HDMPCZP.js +2 -0
- package/dist/chunk-5KZ4WKUI.js +2 -0
- package/dist/chunk-6I7EODFJ.js +7 -0
- package/dist/chunk-6IUDFVTN.js +2 -0
- package/dist/chunk-75IWV4ZF.js +2 -0
- package/dist/chunk-77SI7AKG.js +2 -0
- package/dist/chunk-7GB7CVQI.js +2 -0
- package/dist/chunk-7KCJ77BP.js +2 -0
- package/dist/chunk-7P3DXO3E.js +2 -0
- package/dist/{chunk-FOLZVO2Z.js → chunk-B2XDNBR3.js} +13 -13
- package/dist/{chunk-IFDW5QW6.js → chunk-BIYL7CEI.js} +2 -2
- package/dist/{chunk-SYSDAVZ3.js → chunk-BQ2IPQNR.js} +1 -1
- package/dist/chunk-BUGAWNOC.js +14 -0
- package/dist/chunk-BWIX3YIH.js +2 -0
- package/dist/{chunk-XEKPJGVZ.js → chunk-BX2IOAD5.js} +1 -1
- package/dist/chunk-BXQYRG7P.js +2 -0
- package/dist/chunk-BZR43D3G.js +2 -0
- package/dist/chunk-CAUWHLN7.js +4 -0
- package/dist/{chunk-QGDZ6RAI.js → chunk-CPXHU3Y2.js} +2 -2
- package/dist/{chunk-IK4Y7WEP.js → chunk-CRYEG7OT.js} +1 -1
- package/dist/chunk-DS6R5R3O.js +2 -0
- package/dist/chunk-EHMDGAWA.js +2 -0
- package/dist/chunk-EQPVQY5E.js +2 -0
- package/dist/{chunk-37CCKGHU.js → chunk-EYX6KLCZ.js} +1 -1
- package/dist/chunk-FATXXVV3.js +2 -0
- package/dist/chunk-FEVWWOGL.js +2 -0
- package/dist/{chunk-4S4523B2.js → chunk-FFJVCLGH.js} +12 -12
- package/dist/chunk-FMERDO2X.js +2 -0
- package/dist/chunk-FOXMWLVS.js +2 -0
- package/dist/{chunk-ZNCU3UIW.js → chunk-FRPNTDP4.js} +4 -4
- package/dist/chunk-FUSCAZEK.js +2 -0
- package/dist/chunk-G4GQOAWS.js +2 -0
- package/dist/{chunk-YRWRA7MW.js → chunk-GIM2422N.js} +1 -1
- package/dist/chunk-HSOREHQB.js +1 -0
- package/dist/chunk-I27TFZJH.js +2 -0
- package/dist/chunk-IBHBPSQN.js +2 -0
- package/dist/chunk-INUXPG27.js +2 -0
- package/dist/chunk-IWQSBA3D.js +2 -0
- package/dist/chunk-JJXFPGX4.js +6 -0
- package/dist/chunk-JMWKD4R5.js +2 -0
- package/dist/chunk-JREQY3YN.js +2 -0
- package/dist/chunk-K4RFJ7P2.js +2 -0
- package/dist/{chunk-TFMOGKW2.js → chunk-KKSW5IZ7.js} +10 -10
- package/dist/chunk-KTMEHSTB.js +2 -0
- package/dist/chunk-L65BESIE.js +1 -0
- package/dist/{chunk-JUGPTBMS.js → chunk-LBLV64XG.js} +1 -1
- package/dist/{chunk-3GT6LKCC.js → chunk-LCM5U6BY.js} +1 -1
- package/dist/{chunk-KFXVHP37.js → chunk-LEC4SZIV.js} +1 -1
- package/dist/chunk-LQD7K7HK.js +2 -0
- package/dist/{chunk-4AXJIJDC.js → chunk-LYYR5DSP.js} +4 -4
- package/dist/{chunk-O3HRFXNN.js → chunk-MEFXMUWI.js} +1 -1
- package/dist/chunk-MTZUYC4Y.js +5 -0
- package/dist/chunk-MVJ34HIV.js +2 -0
- package/dist/chunk-NEQFHRF3.js +2 -0
- package/dist/chunk-NFMDU4EJ.js +4 -0
- package/dist/chunk-NK7HBFNQ.js +2 -0
- package/dist/chunk-NTME34BP.js +2 -0
- package/dist/chunk-NTWI7EGJ.js +4 -0
- package/dist/chunk-NZBQVE3Q.js +2 -0
- package/dist/chunk-OIH56GH5.js +2 -0
- package/dist/chunk-OKRAYHGW.js +2 -0
- package/dist/chunk-OM5K4WCB.js +2 -0
- package/dist/chunk-ONC3BFFM.js +2 -0
- package/dist/{chunk-WSPO4N72.js → chunk-OSA24YH6.js} +14 -14
- package/dist/chunk-OSXM35MX.js +2 -0
- package/dist/chunk-PAZU27H5.js +2 -0
- package/dist/chunk-PBGMVLOF.js +2 -0
- package/dist/chunk-PBMZJXSZ.js +5 -0
- package/dist/chunk-PRJJK7VR.js +2 -0
- package/dist/chunk-PYW3HX7A.js +2 -0
- package/dist/chunk-QDOTMA3W.js +5 -0
- package/dist/chunk-QTM26JQP.js +2 -0
- package/dist/chunk-QYEMC2OA.js +2 -0
- package/dist/chunk-R2IXRW5N.js +2 -0
- package/dist/chunk-RAHDUMQ5.js +2 -0
- package/dist/chunk-RBXMTHOT.js +4 -0
- package/dist/{chunk-X5AZHR2J.js → chunk-RCMP37VO.js} +3 -3
- package/dist/{chunk-ZLXLHKE5.js → chunk-RERNKFEW.js} +19 -19
- package/dist/chunk-ROUTBYMG.js +5 -0
- package/dist/{chunk-I4VD5D43.js → chunk-RSO67DWS.js} +4 -4
- package/dist/chunk-T3NJAOJL.js +2 -0
- package/dist/{chunk-KK5MX7EH.js → chunk-T5SEGUCJ.js} +1 -1
- package/dist/{chunk-BKZGI76S.js → chunk-TFMC2WAS.js} +1 -1
- package/dist/chunk-TI5WUO3V.js +2 -0
- package/dist/chunk-UKC6VJE4.js +2 -0
- package/dist/chunk-URWQO4KB.js +2 -0
- package/dist/{chunk-VRUDENTZ.js → chunk-USYNZGY4.js} +7 -7
- package/dist/chunk-V3GM5NXB.js +2 -0
- package/dist/chunk-V6Q2GZAI.js +2 -0
- package/dist/{chunk-DWYNPXSB.js → chunk-VB7Z3HXO.js} +1 -1
- package/dist/chunk-VRODVMV3.js +1 -0
- package/dist/chunk-VW4FHT46.js +2 -0
- package/dist/chunk-W5DLG5T2.js +2 -0
- package/dist/chunk-W5I35GZZ.js +2 -0
- package/dist/{chunk-ETF7LAYZ.js → chunk-W5M6P4DZ.js} +5 -5
- package/dist/chunk-WYDD26UO.js +2 -0
- package/dist/chunk-XUYWUGDM.js +2 -0
- package/dist/chunk-YHYAGJ6V.js +2 -0
- package/dist/chunk-YKKMR5DU.js +8 -0
- package/dist/chunk-YVULGIDQ.js +2 -0
- package/dist/{chunk-2C6IG7LG.js → chunk-Z2YGQBLZ.js} +1 -1
- package/dist/chunk-Z5XEAC32.js +2 -0
- package/dist/chunk-ZBL4CN2E.js +2 -0
- package/dist/chunk-ZEN67DFI.js +2 -0
- package/dist/{chunk-ZNXBKFV7.js → chunk-ZOSIPTXM.js} +5 -5
- package/dist/chunk-ZXU4DEQM.js +2 -0
- package/dist/chunk-ZZIVSJ2B.js +2 -0
- package/dist/forms/BorderInput.js +1 -1
- package/dist/forms/ColorPicker.js +1 -1
- package/dist/forms/CornersInput.js +1 -1
- package/dist/forms/InputNumber.js +1 -1
- package/dist/forms/LinkPicker.js +1 -1
- package/dist/forms/MediaLibrary.js +1 -1
- package/dist/forms/PositionInput.js +1 -1
- package/dist/forms/Select.d.ts +1 -1
- package/dist/forms/Select.js +1 -1
- package/dist/forms/SidesInput.js +1 -1
- package/dist/forms/Slider.js +1 -1
- package/dist/forms/Switch.js +1 -1
- package/dist/forms/TextToolbar.d.ts +4 -1
- package/dist/forms/TextToolbar.js +1 -1
- package/dist/forms/WidthsBar.js +1 -1
- package/dist/forms/settingRowContext.d.ts +11 -1
- package/dist/forms/settingRowContext.js +1 -1
- package/dist/forms/textAlign.d.ts +89 -0
- package/dist/forms/textAlign.js +2 -0
- package/dist/icons/efficient-glyphs.d.ts +61 -0
- package/dist/icons/efficient-glyphs.js +1 -1
- package/dist/icons/efficient-looks.d.ts +22 -0
- package/dist/icons/efficient-looks.js +1 -1
- package/dist/icons/efficient-meanings.d.ts +61 -0
- package/dist/icons/efficient-meanings.js +1 -1
- package/dist/icons/efficient.d.ts +61 -0
- package/dist/icons/efficient.js +1 -1
- package/dist/icons/glyphs/BrandAdyenIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandAdyenIcon.js +1 -0
- package/dist/icons/glyphs/BrandAfterpayIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandAfterpayIcon.js +1 -0
- package/dist/icons/glyphs/BrandAircallIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandAircallIcon.js +1 -0
- package/dist/icons/glyphs/BrandAmericanexpressIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandAmericanexpressIcon.js +1 -0
- package/dist/icons/glyphs/BrandApplepayIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandApplepayIcon.js +1 -0
- package/dist/icons/glyphs/BrandBigcommerceIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandBigcommerceIcon.js +1 -0
- package/dist/icons/glyphs/BrandBrevoIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandBrevoIcon.js +1 -0
- package/dist/icons/glyphs/BrandCalendlyIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandCalendlyIcon.js +1 -0
- package/dist/icons/glyphs/BrandCampaignmonitorIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandCampaignmonitorIcon.js +1 -0
- package/dist/icons/glyphs/BrandDhlIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandDhlIcon.js +1 -0
- package/dist/icons/glyphs/BrandDropboxIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandDropboxIcon.js +1 -0
- package/dist/icons/glyphs/BrandEbayIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandEbayIcon.js +1 -0
- package/dist/icons/glyphs/BrandEtsyIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandEtsyIcon.js +1 -0
- package/dist/icons/glyphs/BrandFacebookIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandFacebookIcon.js +1 -0
- package/dist/icons/glyphs/BrandFedexIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandFedexIcon.js +1 -0
- package/dist/icons/glyphs/BrandGmailIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandGmailIcon.js +1 -0
- package/dist/icons/glyphs/BrandGoogleadsIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandGoogleadsIcon.js +1 -0
- package/dist/icons/glyphs/BrandGoogleanalyticsIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandGoogleanalyticsIcon.js +1 -0
- package/dist/icons/glyphs/BrandGooglecalendarIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandGooglecalendarIcon.js +1 -0
- package/dist/icons/glyphs/BrandGoogledriveIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandGoogledriveIcon.js +1 -0
- package/dist/icons/glyphs/BrandGooglepayIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandGooglepayIcon.js +1 -0
- package/dist/icons/glyphs/BrandGooglesheetsIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandGooglesheetsIcon.js +1 -0
- package/dist/icons/glyphs/BrandHubspotIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandHubspotIcon.js +1 -0
- package/dist/icons/glyphs/BrandInstagramIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandInstagramIcon.js +1 -0
- package/dist/icons/glyphs/BrandIntercomIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandIntercomIcon.js +1 -0
- package/dist/icons/glyphs/BrandKlarnaIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandKlarnaIcon.js +1 -0
- package/dist/icons/glyphs/BrandLineIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandLineIcon.js +1 -0
- package/dist/icons/glyphs/BrandLinkedinIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandLinkedinIcon.js +1 -0
- package/dist/icons/glyphs/BrandMailchimpIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandMailchimpIcon.js +1 -0
- package/dist/icons/glyphs/BrandMailgunIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandMailgunIcon.js +1 -0
- package/dist/icons/glyphs/BrandMakeIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandMakeIcon.js +1 -0
- package/dist/icons/glyphs/BrandMastercardIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandMastercardIcon.js +1 -0
- package/dist/icons/glyphs/BrandMessengerIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandMessengerIcon.js +1 -0
- package/dist/icons/glyphs/BrandMetaIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandMetaIcon.js +1 -0
- package/dist/icons/glyphs/BrandMyobIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandMyobIcon.js +1 -0
- package/dist/icons/glyphs/BrandNotionIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandNotionIcon.js +1 -0
- package/dist/icons/glyphs/BrandPaypalIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandPaypalIcon.js +1 -0
- package/dist/icons/glyphs/BrandPinterestIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandPinterestIcon.js +1 -0
- package/dist/icons/glyphs/BrandQuickbooksIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandQuickbooksIcon.js +1 -0
- package/dist/icons/glyphs/BrandSageIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandSageIcon.js +1 -0
- package/dist/icons/glyphs/BrandShopifyIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandShopifyIcon.js +1 -0
- package/dist/icons/glyphs/BrandSquareIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandSquareIcon.js +1 -0
- package/dist/icons/glyphs/BrandSquarespaceIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandSquarespaceIcon.js +1 -0
- package/dist/icons/glyphs/BrandStripeIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandStripeIcon.js +1 -0
- package/dist/icons/glyphs/BrandTelegramIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandTelegramIcon.js +1 -0
- package/dist/icons/glyphs/BrandTiktokIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandTiktokIcon.js +1 -0
- package/dist/icons/glyphs/BrandTrelloIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandTrelloIcon.js +1 -0
- package/dist/icons/glyphs/BrandUpsIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandUpsIcon.js +1 -0
- package/dist/icons/glyphs/BrandVisaIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandVisaIcon.js +1 -0
- package/dist/icons/glyphs/BrandVonageIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandVonageIcon.js +1 -0
- package/dist/icons/glyphs/BrandWechatIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandWechatIcon.js +1 -0
- package/dist/icons/glyphs/BrandWhatsappIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandWhatsappIcon.js +1 -0
- package/dist/icons/glyphs/BrandWiseIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandWiseIcon.js +1 -0
- package/dist/icons/glyphs/BrandWixIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandWixIcon.js +1 -0
- package/dist/icons/glyphs/BrandWoocommerceIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandWoocommerceIcon.js +1 -0
- package/dist/icons/glyphs/BrandXIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandXIcon.js +1 -0
- package/dist/icons/glyphs/BrandXeroIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandXeroIcon.js +1 -0
- package/dist/icons/glyphs/BrandYoutubeIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandYoutubeIcon.js +1 -0
- package/dist/icons/glyphs/BrandZapierIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandZapierIcon.js +1 -0
- package/dist/icons/glyphs/BrandZendeskIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandZendeskIcon.js +1 -0
- package/dist/icons/glyphs/BrandZoomIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandZoomIcon.js +1 -0
- package/dist/icons/index.d.ts +6 -4
- package/dist/icons/index.js +1 -1
- package/dist/icons/looks/BrandFacebookOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandFacebookOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandFacebookSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandFacebookSolidIcon.js +1 -0
- package/dist/icons/looks/BrandInstagramOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandInstagramOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandInstagramSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandInstagramSolidIcon.js +1 -0
- package/dist/icons/looks/BrandLineOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandLineOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandLineSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandLineSolidIcon.js +1 -0
- package/dist/icons/looks/BrandLinkedinOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandLinkedinOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandLinkedinSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandLinkedinSolidIcon.js +1 -0
- package/dist/icons/looks/BrandPinterestOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandPinterestOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandPinterestSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandPinterestSolidIcon.js +1 -0
- package/dist/icons/looks/BrandTelegramOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandTelegramOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandTelegramSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandTelegramSolidIcon.js +1 -0
- package/dist/icons/looks/BrandTiktokOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandTiktokOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandTiktokSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandTiktokSolidIcon.js +1 -0
- package/dist/icons/looks/BrandWechatOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandWechatOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandWechatSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandWechatSolidIcon.js +1 -0
- package/dist/icons/looks/BrandWhatsappOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandWhatsappOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandWhatsappSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandWhatsappSolidIcon.js +1 -0
- package/dist/icons/looks/BrandXOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandXOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandXSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandXSolidIcon.js +1 -0
- package/dist/icons/looks/BrandYoutubeOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandYoutubeOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandYoutubeSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandYoutubeSolidIcon.js +1 -0
- package/dist/icons/looks/map.d.ts +1 -1
- package/dist/icons/looks/map.js +1 -1
- package/dist/icons/sets.js +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +114 -114
- package/dist/names-mX74Rrmy.d.ts +23 -0
- package/dist/shell/LanguageSelect.js +1 -1
- package/dist/shell/Markdown.d.ts +1 -1
- package/dist/shell/SettingRow.d.ts +9 -1
- package/dist/shell/SettingRow.js +1 -1
- package/dist/shell/SidebarLayout.js +1 -1
- package/dist/telemetry/index.js +1 -1
- package/dist/templates/ChatTemplate.js +1 -1
- package/dist/templates/CheckoutTemplate.js +1 -1
- package/dist/templates/DashboardTemplate.js +1 -1
- package/dist/templates/DataTablePage.js +1 -1
- package/dist/templates/EmailTemplate.js +1 -1
- package/dist/templates/FormLayoutPage.js +1 -1
- package/dist/ui/index.d.ts +3 -2
- package/dist/ui/index.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-367OG4UV.js +0 -5
- package/dist/chunk-E4Z5OXBI.js +0 -1
- package/dist/chunk-GSS4E7X3.js +0 -1
- package/dist/chunk-PNGL4ZW2.js +0 -6
- package/dist/chunk-R3XAXBYV.js +0 -1
- package/dist/chunk-STA76WXF.js +0 -2
- package/dist/chunk-WZNGOA4Z.js +0 -1
- package/dist/chunk-X7XJBK2E.js +0 -14
- package/dist/names-DYWfNBkN.d.ts +0 -21
- /package/dist/{chunk-2HDDCXTW.js → chunk-EHPZIBOL.js} +0 -0
- /package/dist/{chunk-WYHRPXEX.js → chunk-KJRYEKQP.js} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as t}from"./chunk-64ACCUNN.js";import{jsx as h}from"react/jsx-runtime";function e({size:e,width:i,height:r,style:c,...o}){const n=t(e??i??r??18,1);/* @__PURE__ */
|
|
2
|
+
return h("svg",{width:n.width,height:n.height,viewBox:"-0.2 -0.2 24.4 24.4",fill:"currentColor","aria-hidden":"true",...o,style:{...n.style,...c},children:/* @__PURE__ */h("path",{d:"M4.01 0A4.01 4.01 0 000 4.01v15.98c0 2.21 1.8 4 4.01 4.01h15.98C22.2 24 24 22.2 24 19.99V4A4.01 4.01 0 0019.99 0H4zm1.62 4.36h12.74c.7 0 1.26.57 1.26 1.27v12.74c0 .7-.56 1.27-1.26 1.27H5.63c-.7 0-1.26-.57-1.26-1.27V5.63a1.27 1.27 0 011.26-1.27zm3.83 4.35a.73.73 0 00-.73.73v5.09c0 .4.32.72.72.72h5.1a.73.73 0 00.73-.72V9.44a.73.73 0 00-.73-.73h-5.1Z"})})}export{e as BrandSquareIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jsx as l}from"react/jsx-runtime";function r({size:r=18,...a}){/* @__PURE__ */
|
|
2
|
+
return l("svg",{width:r,height:r,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none","aria-hidden":"true",...a,children:/* @__PURE__ */l("path",{d:"M18 2a1 1 0 0 1 .993 .883l.007 .117v4a1 1 0 0 1 -.883 .993l-.117 .007h-3v1h3a1 1 0 0 1 .991 1.131l-.02 .112l-1 4a1 1 0 0 1 -.858 .75l-.113 .007h-2v6a1 1 0 0 1 -.883 .993l-.117 .007h-4a1 1 0 0 1 -.993 -.883l-.007 -.117v-6h-2a1 1 0 0 1 -.993 -.883l-.007 -.117v-4a1 1 0 0 1 .883 -.993l.117 -.007h2v-1a6 6 0 0 1 5.775 -5.996l.225 -.004h3z"})})}export{r as BrandFacebookSolidIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as t}from"./chunk-64ACCUNN.js";import{jsx as a}from"react/jsx-runtime";function e({size:e,width:i,height:r,style:h,...l}){const o=t(e??i??r??18,1.402);/* @__PURE__ */
|
|
2
|
+
return a("svg",{width:o.width,height:o.height,viewBox:"-0.2 3.298 24.4 17.403",fill:"currentColor","aria-hidden":"true",...l,style:{...o.style,...h},children:/* @__PURE__ */a("path",{d:"M13.38 3.498c-.27 0-.511.19-.566.465L9.85 18.986a.578.578 0 0 0 .453.678l4.095.826a.58.58 0 0 0 .682-.455l2.963-15.021a.578.578 0 0 0-.453-.678l-4.096-.826a.589.589 0 0 0-.113-.012zm-5.876.098a.576.576 0 0 0-.516.318L.062 17.697a.575.575 0 0 0 .256.774l3.733 1.877a.578.578 0 0 0 .775-.258l6.926-13.781a.577.577 0 0 0-.256-.776L7.762 3.658a.571.571 0 0 0-.258-.062zm11.74.115a.576.576 0 0 0-.576.576v15.426c0 .318.258.578.576.578h4.178a.58.58 0 0 0 .578-.578V4.287a.578.578 0 0 0-.578-.576Z"})})}export{e as BrandMakeIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as t}from"./chunk-64ACCUNN.js";import{jsx as c}from"react/jsx-runtime";function e({size:e,width:i,height:h,style:r,...o}){const s=t(e??i??h??18,1.772);/* @__PURE__ */
|
|
2
|
+
return c("svg",{width:s.width,height:s.height,viewBox:"-0.2 5.116 24.4 13.768",fill:"currentColor","aria-hidden":"true",...o,style:{...s.style,...r},children:/* @__PURE__ */c("path",{d:"M2.702 5.316C1.167 5.316 0 6.48 0 7.972c0 1.635 1.167 2.267 2.46 2.655 1.224.387 1.804.818 1.804 1.666 0 .86-.64 1.465-1.477 1.465-.84 0-1.566-.604-1.566-1.535 0-.516.242-.647.242-.934 0-.33-.227-.574-.599-.574-.423 0-.864.647-.864 1.566 0 1.48 1.266 2.57 2.787 2.57 1.535 0 2.701-1.163 2.701-2.656 0-1.623-1.166-2.267-2.472-2.655-1.209-.372-1.792-.818-1.792-1.666 0-.845.626-1.45 1.463-1.45.867 0 1.565.617 1.577 1.465.016.388.285.617.599.617a.592.592 0 0 0 .61-.647c-.027-1.48-1.263-2.543-2.771-2.543zm6.171 9.52c.683 0 1.21-.23 1.21-.69a.57.57 0 0 0-.557-.574c-.2 0-.341.085-.668.085-.882 0-1.577-.76-1.577-1.65 0-.962.71-1.725 1.608-1.725 1.009 0 1.65.775 1.65 1.895v2.054c0 .36.284.604.625.604.327 0 .61-.244.61-.604v-2.097c0-1.72-1.178-2.984-2.858-2.984-1.566 0-2.86 1.22-2.86 2.856 0 1.58 1.282 2.83 2.817 2.83zm6.257 3.848c1.535 0 2.701-1.163 2.701-2.656 0-1.635-1.166-2.267-2.472-2.655-1.209-.387-1.792-.818-1.792-1.666s.64-1.465 1.463-1.465c.84 0 1.577.604 1.577 1.535 0 .519-.241.647-.241.934 0 .33.226.574.583.574.441 0 .882-.647.882-1.566 0-1.48-1.278-2.57-2.801-2.57-1.535 0-2.687 1.163-2.687 2.656 0 1.623 1.152 2.267 2.46 2.655 1.224.372 1.804.818 1.804 1.666 0 .86-.64 1.45-1.462 1.45-.883 0-1.566-.601-1.578-1.465-.015-.388-.3-.604-.598-.604-.327 0-.626.216-.61.631.011 1.499 1.247 2.546 2.77 2.546zm6.171-3.849c.795 0 1.424-.229 1.862-.503.426-.272.595-.504.595-.76 0-.272-.2-.516-.568-.516-.441 0-.795.66-1.877.66-.952 0-1.707-.76-1.707-1.722 0-.95.725-1.724 1.635-1.724.982 0 1.508.647 1.508 1.062 0 .116-.085.174-.2.174h-1.194c-.326 0-.568.216-.568.503 0 .314.242.546.568.546h1.636c.625 0 1.009-.33 1.009-.89 0-1.408-1.194-2.512-2.774-2.512-1.566 0-2.83 1.263-2.83 2.84s1.312 2.842 2.905 2.842z"})})}export{e as BrandSageIcon};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import{
|
|
2
|
-
return S("div",{className:yt,ref:$t,children:/* @__PURE__ */S(
|
|
3
|
-
return S("div",{className:yt,ref:$t,children:/* @__PURE__ */S("p",{className:"flex items-center justify-center text-sm text-gray-500",style:{height:G},children:jt})});const Yt=K.map((t,e)=>Ot.reduce((t,a)=>t+(P(a.data[e])?a.data[e]:0),0)),Bt=(t,e)=>Yt[e]>0?t/Yt[e]:null,Ft=[];if(Q){let t=K.map(()=>0);for(const e of Ot)t=t.map((t,a)=>t+(P(e.data[a])?e.data[a]:0)),Ft.push("percent"===H?t.map((t,e)=>Bt(t,e)):[...t])}const Pt=!!J&&J.length>0,Tt=t=>"right"===t.axis,Kt=!Q&&!Pt&&void 0===q&&Ot.some(Tt)&&Ot.some(t=>!Tt(t)),Gt=Kt?Ot.filter(t=>!Tt(t)):Ot,Qt=Kt?Ot.filter(Tt).flatMap(t=>t.data.filter(P)):[],Ht=Q?(Ft.at(-1)??[]).filter(P):Gt.flatMap(t=>t.data.filter(P)),Jt=Kt?
|
|
1
|
+
import{ChartDot as t}from"./chunk-CK2YOGUS.js";import{stepPath as e,curvePath as a,areaBetween as r,areaFrom as l}from"./chunk-VFC6QUEN.js";import{ChartDefs as n,MOTION as i,stagger as o,fillFor as s,dashFor as c,maskId as h}from"./chunk-465RRWBY.js";import{ChartSkeleton as m}from"./chunk-Y4MI6NRI.js";import{useHighlight as d,highlightOpacity as u}from"./chunk-CNYAHYE6.js";import{ChartTooltip as f}from"./chunk-P5BOTIJU.js";import{tooltipBesideBand as p}from"./chunk-MG7A3R75.js";import{pairedAxes as g,niceAxis as k,niceMax as y,linearScale as x,axisGutter as v,bandScale as b,ladderScale as M}from"./chunk-2JWPNR2U.js";import{usePlotWidth as N}from"./chunk-MAFUXCPZ.js";import{registerModalEscapeInterceptor as j}from"./chunk-TWVUQUUD.js";import{ChartBrush as $}from"./chunk-EYKUKN32.js";import{resolveSeriesColor as w,CHART_INK as A,STATUS_VARS as R}from"./chunk-TZFACUMR.js";import{useShellStrings as V,useShellLocale as C}from"./chunk-E6UCGCOC.js";import{formatPercent as L,formatPlain as U}from"./chunk-C3QOHMR6.js";import{useRef as W,useState as z,useId as E,useEffect as I}from"react";import{jsx as S,jsxs as D}from"react/jsx-runtime";var O=12,Y=16,B=26,F=52,P=t=>"number"==typeof t&&Number.isFinite(t);function T({series:T,labels:K,height:G=200,stacked:Q=!1,stackMode:H="value",levels:J,curve:Z="linear",tension:X=0,max:q,yTickCount:_=4,formatValue:tt,formatTooltipValue:et,tooltipLabels:at,yAxisLabel:rt,referenceLines:lt,labelEndpoints:nt=!1,dots:it,dotVariant:ot="border",pulse:st=!1,brush:ct=!1,range:ht,onRangeChange:mt,loading:dt=!1,animate:ut=!0,reveal:ft="left-to-right",fillVariant:pt="gradient",gridStyle:gt="solid",width:kt,className:yt,emptyLabel:xt}){const vt=V().charts,bt=C(),Mt=tt??(t=>U(t,bt)),Nt=et??Mt,jt=xt??vt.noData,$t=W(null),wt=N($t),At=kt??wt,[Rt,Vt]=z(null),[Ct,Lt]=z(null),{highlighted:Ut}=d(),Wt=E();if(I(()=>{if(null!==Rt)return j(t=>"Escape"===t.key&&(Vt(null),!0))},[Rt]),dt)/* @__PURE__ */
|
|
2
|
+
return S("div",{className:yt,ref:$t,children:/* @__PURE__ */S(m,{height:G,width:kt??wt})});const zt=K,Et=ht??Ct??[0,Math.max(0,zt.length-1)],[It,St]=Et,Dt=t=>ct?t.slice(It,St+1):t,Ot=T.map((t,e)=>({...t,slot:e})).filter(t=>t.data.some(P)).map(t=>({...t,data:Dt(t.data)}));if(K=Dt(zt),0===Ot.length||0===K.length)/* @__PURE__ */
|
|
3
|
+
return S("div",{className:yt,ref:$t,children:/* @__PURE__ */S("p",{className:"flex items-center justify-center text-sm text-gray-500",style:{height:G},children:jt})});const Yt=K.map((t,e)=>Ot.reduce((t,a)=>t+(P(a.data[e])?a.data[e]:0),0)),Bt=(t,e)=>Yt[e]>0?t/Yt[e]:null,Ft=[];if(Q){let t=K.map(()=>0);for(const e of Ot)t=t.map((t,a)=>t+(P(e.data[a])?e.data[a]:0)),Ft.push("percent"===H?t.map((t,e)=>Bt(t,e)):[...t])}const Pt=!!J&&J.length>0,Tt=t=>"right"===t.axis,Kt=!Q&&!Pt&&void 0===q&&Ot.some(Tt)&&Ot.some(t=>!Tt(t)),Gt=Kt?Ot.filter(t=>!Tt(t)):Ot,Qt=Kt?Ot.filter(Tt).flatMap(t=>t.data.filter(P)):[],Ht=Q?(Ft.at(-1)??[]).filter(P):Gt.flatMap(t=>t.data.filter(P)),Jt=Kt?g([Math.min(0,...Ht),Math.max(0,...Ht)],[Math.min(0,...Qt),Math.max(0,...Qt)],{intervals:_+1,integerLeft:Ht.every(Number.isInteger),integerRight:Qt.every(Number.isInteger)}):null,Zt=Jt?Jt.left:Q&&"percent"===H||Pt||void 0!==q?null:k(Q?0:Math.min(0,...Ht),Math.max(0,...Ht),{intervals:_+1,integer:Ht.every(Number.isInteger)}),Xt=Zt?Zt.lo:0,qt=Q&&"percent"===H?1:Zt?Zt.hi:q??y(Math.max(...Ht,0)),_t=Q&&"percent"===H?t=>L(Math.round(100*t),0,bt):Mt,te=Pt?J:Zt?Zt.ticks:x([Xt,qt],{from:0,to:1}).ticks(_+1),ee=v(te.map(_t),F),ae=Jt?v(Jt.right.ticks.map(Mt),Y):Y,re={left:ee,right:Math.max(ee+1,At-ae),top:O,bottom:G-B},le=b(K.length,{from:re.left,to:re.right}),ne=Pt?M(J,{from:re.bottom,to:re.top}):null,ie=x([Xt,qt],{from:re.bottom,to:re.top}),oe=ie(Math.max(Xt,0)),se=t=>ne?ne(t):ie(t),ce=Jt?x([Jt.right.lo,Jt.right.hi],{from:re.bottom,to:re.top}):null,he=t=>ce&&Tt(t)?ce:se,me=ne?ne.levels.map(t=>({value:t,y:ne(t)})):te.map(t=>({value:t,y:ie(t)})),de=t=>e=>{e.preventDefault(),Vt(e=>{const a=(e??0)+t;return Math.min(K.length-1,Math.max(0,a))})},ue=Math.max(1,Math.ceil(K.length/Math.max(1,Math.floor(At/96))));/* @__PURE__ */
|
|
4
4
|
return D("div",{className:`relative ${yt??""}`,ref:$t,children:[
|
|
5
5
|
/* @__PURE__ */D("svg",{width:"100%",height:G,viewBox:`0 0 ${At} ${G}`,role:"img","aria-label":vt.overIntervals(Ot.map(t=>t.label),K.length),tabIndex:0,className:"rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-deep)]",onMouseLeave:()=>Vt(null),onBlur:()=>Vt(null),onKeyDown:t=>{"ArrowRight"===t.key&&de(1)(t),"ArrowLeft"===t.key&&de(-1)(t)},children:[
|
|
6
6
|
/* @__PURE__ */S("defs",{children:/* @__PURE__ */S("clipPath",{id:Wt,children:/* @__PURE__ */S("rect",{x:re.left,y:re.top,width:re.right-re.left,height:re.bottom-re.top})})}),
|
|
7
|
-
/* @__PURE__ */S(
|
|
8
|
-
/* @__PURE__ */S("line",{x1:re.left,y1:oe,x2:re.right,y2:oe,stroke:
|
|
9
|
-
/* @__PURE__ */S("g",{clipPath:`url(#${Wt})`,mask:ut&&ft?`url(#${
|
|
10
|
-
return S("path",{d:a
|
|
11
|
-
return S("g",{opacity:d??void 0,className:"rosh-viz-mark",children:K.map((
|
|
12
|
-
return S("rect",{x:le.center(
|
|
7
|
+
/* @__PURE__ */S(n,{id:Wt,fills:Ot.map((t,e)=>({color:w(t.slot,t.color,t.tone),variant:t.fillVariant??pt})),fadeFrom:Q?.42:.3,reveal:!!ut&&ft}),me.map(t=>/* @__PURE__ */S("line",{x1:re.left,y1:t.y,x2:re.right,y2:t.y,stroke:A.grid,strokeWidth:1,shapeRendering:"crispEdges",strokeDasharray:"dashed"===gt?"3 3":void 0},`grid-${t.value}`)),
|
|
8
|
+
/* @__PURE__ */S("line",{x1:re.left,y1:oe,x2:re.right,y2:oe,stroke:A.axis,strokeWidth:1,shapeRendering:"crispEdges"}),me.map(t=>/* @__PURE__ */S("text",{x:re.left-8,y:t.y+4,textAnchor:"end","data-axis-tick":"true",fontSize:11,fill:A.label,style:{fontVariantNumeric:"tabular-nums"},children:_t(t.value)},`ytick-${t.value}`)),Jt&&me.map((t,e)=>/* @__PURE__ */S("text",{x:re.right+8,y:t.y+4,textAnchor:"start","data-axis-tick":"true",fontSize:11,fill:A.label,style:{fontVariantNumeric:"tabular-nums"},children:Mt(Jt.right.ticks[e])},`ytick-r-${t.value}`)),rt&&/* @__PURE__ */S("text",{x:12,y:(re.top+re.bottom)/2,transform:`rotate(-90 12 ${(re.top+re.bottom)/2})`,textAnchor:"middle",fontSize:11,fill:A.label,children:rt}),
|
|
9
|
+
/* @__PURE__ */S("g",{clipPath:`url(#${Wt})`,mask:ut&&ft?`url(#${h(Wt)})`:void 0,children:Ot.map((t,n)=>{const h=w(t.slot,t.color,t.tone),m=t.mode??(Q?"area":"line"),d=u(t.key,Ut);if("step"===m){const a=K.map((e,a)=>({start:le(a),end:le.end(a),value:t.data[a]})).filter(t=>P(t.value)).map(e=>({start:e.start,end:e.end,y:he(t)(e.value)}));/* @__PURE__ */
|
|
10
|
+
return S("path",{d:e(a),fill:"none",stroke:h,strokeWidth:2.5,strokeLinecap:"butt",strokeLinejoin:"miter",opacity:d??void 0,className:"rosh-viz-mark"},t.key)}const f=K.map((e,a)=>{const r=Q?Ft[n]?.[a]:t.data[a];return P(r)?[le.center(a),he(t)(r)]:null}).filter(t=>null!==t);if(0===f.length)return null;if("column"===m){const e=Math.max(1,.62*le.bandwidth),a="solid"===t.fillVariant,r=he(t);/* @__PURE__ */
|
|
11
|
+
return S("g",{opacity:d??void 0,className:"rosh-viz-mark",children:K.map((l,s)=>{const c=Q?Ft[n]?.[s]:t.data[s];if(!P(c))return null;const m=r(c);/* @__PURE__ */
|
|
12
|
+
return S("rect",{x:le.center(s)-e/2,y:Math.min(m,oe),width:e,height:Math.abs(oe-m),rx:2,fill:h,fillOpacity:a?1:.35,className:ut?i.rise:void 0,style:ut?o(s,26):void 0},s)})},t.key)}const p=a(f,Z,X),g=Q&&n>0?K.map((t,e)=>[le.center(e),se(Ft[n-1]?.[e]??0)-2]):null,k=g?r(p,g):l(p,f,oe);/* @__PURE__ */
|
|
13
13
|
return D("g",{opacity:d??void 0,className:"rosh-viz-mark",children:[("area"===m||Q)&&
|
|
14
|
-
/* @__PURE__ */S("path",{d:k,fill:
|
|
15
|
-
/* @__PURE__ */S("path",{d:p,fill:"none",stroke:
|
|
14
|
+
/* @__PURE__ */S("path",{d:k,fill:s(Wt,n,t.fillVariant??pt,h),stroke:"none"}),
|
|
15
|
+
/* @__PURE__ */S("path",{d:p,fill:"none",stroke:h,strokeWidth:2,strokeLinejoin:"round",strokeLinecap:"round",strokeDasharray:c(t.stroke??(t.forecast?"animated-dashed":"solid")),className:ut&&("animated-dashed"===t.stroke||t.forecast&&!t.stroke)?i.march:void 0})]},t.key)})}),lt?.map((t,e)=>{const a=t.color??R[t.tone??"critical"],r=se(t.value);/* @__PURE__ */
|
|
16
16
|
return D("g",{children:[
|
|
17
|
-
/* @__PURE__ */S("line",{x1:re.left,y1:r,x2:re.right,y2:r,stroke:a,strokeWidth:1,strokeDasharray:"5 4"}),t.label&&/* @__PURE__ */S("text",{x:re.right-4,y:r-5,textAnchor:"end",fontSize:11,fontWeight:600,fill:a,children:t.label})]},`rule-${e}`)}),"none"!==(it??(nt?"last":"none"))&&Ot.map((
|
|
18
|
-
return D("g",{children:[i.map(r=>{const i=Q?Ft[a]?.[r]:
|
|
19
|
-
/* @__PURE__ */S("div",{className:"pointer-events-none absolute top-2 z-10",style:
|
|
17
|
+
/* @__PURE__ */S("line",{x1:re.left,y1:r,x2:re.right,y2:r,stroke:a,strokeWidth:1,strokeDasharray:"5 4"}),t.label&&/* @__PURE__ */S("text",{x:re.right-4,y:r-5,textAnchor:"end",fontSize:11,fontWeight:600,fill:a,children:t.label})]},`rule-${e}`)}),"none"!==(it??(nt?"last":"none"))&&Ot.map((e,a)=>{if("column"===e.mode)return null;const r=it??(nt?"last":"none"),l=w(e.slot,e.color,e.tone),n=[...e.data].map(P).lastIndexOf(!0),i="all"===r?K.map((t,e)=>e).filter(t=>P(Q?Ft[a]?.[t]:e.data[t])):n>=0?[n]:[];/* @__PURE__ */
|
|
18
|
+
return D("g",{children:[i.map(r=>{const i=Q?Ft[a]?.[r]:e.data[r];return P(i)?/* @__PURE__ */S(t,{cx:le.center(r),cy:he(e)(i),color:l,variant:ot,pulse:st&&r===n,title:`${K[r]}: ${e.label} ${Mt(i)}`},r):null}),nt&&n>=0&&P(Q?Ft[a]?.[n]:e.data[n])&&/* @__PURE__ */S("text",{x:le.center(n)-10,y:he(e)(Q?Ft[a]?.[n]:e.data[n])-9,textAnchor:"end",fontSize:12,fontWeight:600,fill:A.label,style:{fontVariantNumeric:"tabular-nums"},children:Mt(Q?Ft[a]?.[n]:e.data[n])})]},`dots-${e.key}`)}),K.map((t,e)=>e%ue===0?/* @__PURE__ */S("text",{x:le.center(e),y:G-8,textAnchor:"middle",fontSize:11,fill:A.label,style:{fontVariantNumeric:"tabular-nums"},children:t},`xtick-${e}`):null),null!==Rt&&/* @__PURE__ */S("line",{x1:le.center(Rt),y1:re.top,x2:le.center(Rt),y2:re.bottom,stroke:A.axis,strokeWidth:1}),K.map((t,e)=>/* @__PURE__ */S("rect",{x:le(e),y:re.top,width:Math.max(1,le.bandwidth),height:re.bottom-re.top,fill:"transparent",onMouseEnter:()=>Vt(e)},`hit-${e}`))]}),ct&&zt.length>2&&/* @__PURE__ */S($,{className:"mt-1",labels:zt,width:At,data:T[0]?.data??[],range:Et,onRangeChange:t=>{mt?mt(t):Lt(t)}}),null!==Rt&&
|
|
19
|
+
/* @__PURE__ */S("div",{className:"pointer-events-none absolute top-2 z-10",style:p(le.center(Rt),le.bandwidth,At),children:/* @__PURE__ */S(f,{title:at?.[Rt]??K[Rt],rows:Ot.map((t,e)=>({key:t.key,label:t.label,color:w(t.slot,t.color,t.tone),value:P(t.data[Rt])?Q&&"percent"===H?`${L(100*(Bt(t.data[Rt],Rt)??0),1,bt)} · ${Nt(t.data[Rt])}`:Nt(t.data[Rt]):void 0})),footnote:Q&&"percent"===H?vt.inBucket(Nt(Yt[Rt])):void 0})})]})}export{T as TimeSeriesChart};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as t}from"./chunk-64ACCUNN.js";import{jsx as h}from"react/jsx-runtime";function e({size:e,width:i,height:r,style:a,...o}){const n=t(e??i??r??18,1);/* @__PURE__ */
|
|
2
|
+
return h("svg",{width:n.width,height:n.height,viewBox:"-0.2 -0.2 24.4 24.4",fill:"currentColor","aria-hidden":"true",...o,style:{...n.style,...a},children:/* @__PURE__ */h("path",{d:"M21.147 0H2.853A2.86 2.86 0 000 2.853v18.294A2.86 2.86 0 002.853 24h18.294A2.86 2.86 0 0024 21.147V2.853A2.86 2.86 0 0021.147 0zM10.34 17.287a.953.953 0 01-.953.953h-4a.954.954 0 01-.954-.953V5.38a.953.953 0 01.954-.953h4a.954.954 0 01.953.953zm9.233-5.467a.944.944 0 01-.953.947h-4a.947.947 0 01-.953-.947V5.38a.953.953 0 01.953-.953h4a.954.954 0 01.953.953z"})})}export{e as BrandTrelloIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as t}from"./chunk-64ACCUNN.js";import{jsx as e}from"react/jsx-runtime";function i({size:i,width:r,height:a,style:c,...h}){const l=t(i??r??a??18,.997);/* @__PURE__ */
|
|
2
|
+
return e("svg",{width:l.width,height:l.height,viewBox:"-0.166 -0.2 24.332 24.4",fill:"currentColor","aria-hidden":"true",...h,style:{...l.style,...c},children:/* @__PURE__ */e("path",{d:"M23.451 5.906a6.978 6.978 0 0 0-5.375-5.39C16.727.204 14.508 0 12 0S7.273.204 5.924.516a6.978 6.978 0 0 0-5.375 5.39C.237 7.26.034 9.485.034 12s.203 4.74.515 6.094a6.978 6.978 0 0 0 5.375 5.39C7.273 23.796 9.492 24 12 24s4.727-.204 6.076-.516a6.978 6.978 0 0 0 5.375-5.39c.311-1.354.515-3.578.515-6.094 0-2.515-.203-4.74-.515-6.094zm-5.873 12.396l-.003.001c-.428.152-1.165.283-2.102.377l-.147.014a.444.444 0 0 1-.45-.271 1.816 1.816 0 0 0-1.296-1.074c-.351-.081-.928-.134-1.58-.134s-1.229.053-1.58.134a1.817 1.817 0 0 0-1.291 1.062.466.466 0 0 1-.471.281 8 8 0 0 0-.129-.012c-.938-.094-1.676-.224-2.105-.377l-.003-.001a.76.76 0 0 1-.492-.713c0-.032.003-.066.005-.098.073-.979.666-3.272 1.552-5.89C8.5 8.609 9.559 6.187 10.037 5.714a1.029 1.029 0 0 1 .404-.26l.004-.002c.314-.106.892-.178 1.554-.178.663 0 1.241.071 1.554.178l.005.002a1.025 1.025 0 0 1 .405.26c.478.472 1.537 2.895 2.549 5.887.886 2.617 1.479 4.91 1.552 5.89.002.032.005.066.005.098a.76.76 0 0 1-.491.713z"})})}export{i as BrandAircallIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as h}from"./chunk-64ACCUNN.js";import{jsx as c}from"react/jsx-runtime";function t({size:t,width:e,height:i,style:r,...l}){const o=h(t??e??i??18,2.446);/* @__PURE__ */
|
|
2
|
+
return c("svg",{width:o.width,height:o.height,viewBox:"-0.2 7.012 24.4 9.976",fill:"currentColor","aria-hidden":"true",...l,style:{...o.style,...r},children:/* @__PURE__ */c("path",{d:"M6.056 12.132v-4.92h1.2v3.026c.59-.703 1.402-.906 2.202-.906 1.34 0 2.828.904 2.828 2.855 0 .233-.015.457-.06.668.24-.953 1.274-1.305 2.896-1.344.51-.018 1.095-.018 1.56-.018v-.135c0-.885-.556-1.244-1.53-1.244-.72 0-1.245.3-1.305.81h-1.275c.136-1.29 1.5-1.62 2.686-1.62 1.064 0 1.995.27 2.415 1.02l-.436-.84h1.41l2.055 4.125 2.055-4.126H24l-3.72 7.305h-1.346l1.07-2.04-2.33-4.38c.13.255.2.555.2.93v2.46c0 .346.01.69.04 1.005H16.8a6.543 6.543 0 01-.046-.765c-.603.734-1.32.96-2.32.96-1.48 0-2.272-.78-2.272-1.695 0-.15.015-.284.037-.405-.3 1.246-1.36 2.086-2.767 2.086-.87 0-1.694-.315-2.2-.93 0 .24-.015.494-.04.734h-1.18c.02-.39.04-.855.04-1.245v-1.05h-4.83c.065 1.095.818 1.74 1.853 1.74.718 0 1.355-.3 1.568-.93h1.24c-.24 1.29-1.61 1.725-2.79 1.725C.95 15.009 0 13.822 0 12.232c0-1.754.982-2.91 3.116-2.91 1.688 0 2.93.886 2.94 2.806v.005zm9.137.183c-1.095.034-1.77.233-1.77.95 0 .465.36.97 1.305.97 1.26 0 1.935-.69 1.935-1.814v-.13c-.45 0-.99.006-1.484.022h.012zm-6.06 1.875c1.11 0 1.876-.806 1.876-2.02s-.768-2.02-1.893-2.02c-1.11 0-1.89.806-1.89 2.02s.765 2.02 1.875 2.02h.03zm-4.35-2.514c-.044-1.125-.854-1.546-1.725-1.546-.944 0-1.694.474-1.815 1.546z"})})}export{t as BrandEbayIcon};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{InputNumber_default as e}from"./chunk-CPXHU3Y2.js";import{useSettingAuto as t,useInSettingRow as i}from"./chunk-L65BESIE.js";import{useShellStrings as n}from"./chunk-E6UCGCOC.js";import{createContext as r,useState as l,useMemo as a,useId as o,useRef as d,useContext as s,useEffect as u,useLayoutEffect as c}from"react";import{jsx as m,jsxs as f}from"react/jsx-runtime";var p=(e,t,i)=>Math.min(i,Math.max(t,e));function h(e){const t=String(e),i=/e-(\d+)$/.exec(t);return i?Number(i[1]):t.split(".")[1]?.length??0}var v=8,x=40;function b(e){return Math.max(1,...e.map(e=>(e??"").length))}var w="undefined"==typeof window?u:c;function y(e,t,i,n){return Number(p(e,t,i).toFixed(n))}var g=r(null);function S({children:e}){const[t,i]=l({}),n=a(()=>(e,t)=>i(i=>{if(null===t){if(!(e in i))return i;const t={...i};return delete t[e],t}return i[e]===t?i:{...i,[e]:t}}),[]),r=a(()=>{const e=Object.values(t);return{set:n,width:e.length?`max(${e.join(", ")})`:null}},[t,n]);/* @__PURE__ */
|
|
2
|
+
return m(g.Provider,{value:r,children:e})}function z({value:r,onChange:a,min:c,max:S,step:z=1,shiftStep:F,precision:$,inputMin:k,inputMax:C,suffix:L,showInput:N=!0,emptyLabel:j,placeholderValue:E,stepFrom:K,label:M,"aria-labelledby":A,valueText:D,id:R,disabled:U,size:B="md",className:I="",auto:O}){const P=n(),V=o(),W=t(),q=O??W,G=o(),H=R??V,T=$??h(z),X=k??c,Y=C??S,J=void 0!==j||void 0!==E,Q=K??E,Z=p(r??E??c,c,S),_=d(null),[ee,te]=l(null),ie=Boolean(L);w(()=>{const e=()=>{const e=_.current?.querySelector("input");if(!e)return;const t=getComputedStyle(e),i=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"].reduce((e,i)=>e+(parseFloat(t[i])||0),0);i<=0||te(e=>e&&e.frame===i&&e.fontSize===t.fontSize?e:{frame:i,fontSize:t.fontSize})};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[ie,N]);const ne=e=>D?D(e):"string"==typeof L?`${e.toFixed(T)} ${L}`:void 0,re=null==r?j??(null!=E?ne(E)??String(E):void 0):ne(r),le=`calc(${b([c.toFixed(T),S.toFixed(T),r?.toFixed(T),j,E?.toFixed(T)])}ch + ${(ee?.frame??10+(ie?x:v))+2}px)`,ae=s(g),oe=o(),de=ae?.set;w(()=>{de&&de(oe,N?le:null)},[de,oe,le,N]),u(()=>()=>de?.(oe,null),[de,oe]);const se=i();/* @__PURE__ */
|
|
3
|
+
return f("div",{"data-slider":"",className:`flex w-full min-w-0 items-center ${se?"flex-wrap gap-2":"gap-3"} ${I}`.trim(),children:[
|
|
4
|
+
/* @__PURE__ */m("input",{id:H,type:"range",min:c,max:S,step:z,value:Z,disabled:U,"aria-label":A?void 0:M,"aria-labelledby":A,"aria-valuetext":re,"aria-describedby":q?G:void 0,onKeyDown:e=>{const t="ArrowUp"===e.key||"ArrowRight"===e.key?1:"ArrowDown"===e.key||"ArrowLeft"===e.key?-1:0;if(!t||e.altKey||e.ctrlKey||e.metaKey)return;const i=e.shiftKey&&null!=F;if(!i&&!(null==r&&null!=Q))return;e.preventDefault();a(y((r??Q??Z)+t*(i?F??z:z),c,S,T))},onChange:e=>a(y(Number(e.target.value),c,S,T)),className:`min-w-24 flex-1 ${se?"basis-24":""} cursor-pointer accent-blue-600 disabled:cursor-not-allowed disabled:opacity-60 ${"sm"===B?"h-1":"h-1.5"}`}),N&&
|
|
5
|
+
/* @__PURE__ */m("div",{ref:_,"data-slider-box":"",className:se?"ml-auto shrink-0":"shrink-0 text-xs",style:se?void 0:{width:ae?.width??le,...ee?{fontSize:ee.fontSize}:{}},children:/* @__PURE__ */m(e,{value:r,onChange:e=>{null!=e?e<X||e>Y||a(e):J&&a(null)},min:X,max:Y,step:z,shiftStep:F,stepFrom:Q,precision:T,snap:!0,allowEmpty:J,suffix:L,disabled:U,placeholder:j??(null!=E?E.toFixed(T):void 0),size:se?void 0:"sm",auto:q,"aria-label":M?P.slider.value(M):void 0,"aria-labelledby":M?void 0:A})}),q&&/* @__PURE__ */m("span",{id:G,hidden:!0,children:P.settingView.auto})]})}export{z as Slider,S as SliderGroup,y as settleSliderValue,b as sliderBoxChars,h as stepDecimals};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as h}from"./chunk-64ACCUNN.js";import{jsx as v}from"react/jsx-runtime";function l({size:l,width:c,height:H,style:t,...z}){const e=h(l??c??H??18,1);/* @__PURE__ */
|
|
2
|
+
return v("svg",{width:e.width,height:e.height,viewBox:"-0.2 -0.2 24.4 24.4",fill:"currentColor","aria-hidden":"true",...z,style:{...e.style,...t},children:/* @__PURE__ */v("path",{d:"M16.015 14.378c0-.32-.135-.496-.344-.622-.21-.12-.464-.135-.81-.135h-1.543v2.82h.675v-1.027h.72c.24 0 .39.024.478.125.12.13.104.38.104.55v.35h.66v-.555c-.002-.25-.017-.376-.108-.516-.06-.08-.18-.18-.33-.234l.02-.008c.18-.072.48-.297.48-.747zm-.87.407l-.028-.002c-.09.053-.195.058-.33.058h-.81v-.63h.824c.12 0 .24 0 .33.05.098.048.156.147.15.255 0 .12-.045.215-.134.27zM20.297 15.837H19v.6h1.304c.676 0 1.05-.278 1.05-.884 0-.28-.066-.448-.187-.582-.153-.133-.392-.193-.73-.207l-.376-.015c-.104 0-.18 0-.255-.03-.09-.03-.15-.105-.15-.21 0-.09.017-.166.09-.21.083-.046.177-.066.272-.06h1.23v-.602h-1.35c-.704 0-.958.437-.958.84 0 .9.776.855 1.407.87.104 0 .18.015.225.06.046.03.082.106.082.18 0 .077-.035.15-.08.18-.06.053-.15.07-.277.07zM0 0v10.096L.81 8.22h1.75l.225.464V8.22h2.043l.45 1.02.437-1.013h6.502c.295 0 .56.057.756.236v-.23h1.787v.23c.307-.17.686-.23 1.12-.23h2.606l.24.466v-.466h1.918l.254.465v-.466h1.858v3.948H20.87l-.36-.6v.585h-2.353l-.256-.63h-.583l-.27.614h-1.213c-.48 0-.84-.104-1.08-.24v.24h-2.89v-.884c0-.12-.03-.12-.105-.135h-.105v1.036H6.067v-.48l-.21.48H4.69l-.202-.48v.465H2.235l-.256-.624H1.4l-.256.624H0V24h23.786v-7.108c-.27.135-.613.18-.973.18H21.09v-.255c-.21.165-.57.255-.914.255H14.71v-.9c0-.12-.018-.12-.12-.12h-.075v1.022h-1.8v-1.066c-.298.136-.643.15-.928.136h-.214v.915h-2.18l-.54-.617-.57.6H4.742v-3.93h3.61l.518.602.554-.6h2.412c.28 0 .74.03.942.225v-.24h2.177c.202 0 .644.045.903.225v-.24h3.265v.24c.163-.164.508-.24.803-.24h1.89v.24c.194-.15.464-.24.84-.24h1.176V0H0zM21.156 14.955c.004.005.006.012.01.016.01.01.024.01.032.02l-.042-.035zM23.828 13.082h.065v.555h-.065zM23.865 15.03v-.005c-.03-.025-.046-.048-.075-.07-.15-.153-.39-.215-.764-.225l-.36-.012c-.12 0-.194-.007-.27-.03-.09-.03-.15-.105-.15-.21 0-.09.03-.16.09-.204.076-.045.15-.05.27-.05h1.223v-.588h-1.283c-.69 0-.96.437-.96.84 0 .9.78.855 1.41.87.104 0 .18.015.224.06.046.03.076.106.076.18 0 .07-.034.138-.09.18-.045.056-.136.07-.27.07h-1.288v.605h1.287c.42 0 .734-.118.9-.36h.03c.09-.134.135-.3.135-.523 0-.24-.045-.39-.135-.526zM18.597 14.208v-.583h-2.235V16.458h2.235v-.585h-1.57v-.57h1.533v-.584h-1.532v-.51M13.51 8.787h.685V11.6h-.684zM13.126 9.543l-.007.006c0-.314-.13-.5-.34-.624-.217-.125-.47-.135-.81-.135H10.43v2.82h.674v-1.034h.72c.24 0 .39.03.487.12.122.136.107.378.107.548v.354h.677v-.553c0-.25-.016-.375-.11-.516-.09-.107-.202-.19-.33-.237.172-.07.472-.3.472-.75zm-.855.396h-.015c-.09.054-.195.056-.33.056H11.1v-.623h.825c.12 0 .24.004.33.05.09.04.15.128.15.25s-.047.22-.134.266zM15.92 9.373h.632v-.6h-.644c-.464 0-.804.105-1.02.33-.286.3-.362.69-.362 1.11 0 .512.123.833.36 1.074.232.238.645.31.97.31h.78l.255-.627h1.39l.262.627h1.36v-2.11l1.272 2.11h.95l.002.002V8.786h-.684v1.963l-1.18-1.96h-1.02V11.4L18.11 8.744h-1.004l-.943 2.22h-.3c-.177 0-.362-.03-.468-.134-.125-.15-.186-.36-.186-.662 0-.285.08-.51.194-.63.133-.135.272-.165.516-.165zm1.668-.108l.464 1.118v.002h-.93l.466-1.12zM2.38 10.97l.254.628H4V9.393l.972 2.205h.584l.973-2.202.015 2.202h.69v-2.81H6.118l-.807 1.904-.876-1.905H3.343v2.663L2.205 8.787h-.997L.01 11.597h.72l.26-.626h1.39zm-.688-1.705l.46 1.118-.003.002h-.915l.457-1.12zM11.856 13.62H9.714l-.85.923-.825-.922H5.346v2.82H8l.855-.932.824.93h1.302v-.94h.838c.6 0 1.17-.164 1.17-.945l-.006-.003c0-.78-.598-.93-1.128-.93zM7.67 15.853l-.014-.002H6.02v-.557h1.47v-.574H6.02v-.51H7.7l.733.82-.764.824zm2.642.33l-1.03-1.147 1.03-1.108v2.253zm1.553-1.258h-.885v-.717h.885c.24 0 .42.098.42.344 0 .243-.15.372-.42.372zM9.967 9.373v-.586H7.73V11.6h2.237v-.58H8.4v-.564h1.527V9.88H8.4v-.507"})})}export{l as BrandAmericanexpressIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as t}from"./chunk-64ACCUNN.js";import{jsx as h}from"react/jsx-runtime";function c({size:c,width:e,height:i,style:r,...l}){const m=t(c??e??i??18,2.573);/* @__PURE__ */
|
|
2
|
+
return h("svg",{width:m.width,height:m.height,viewBox:"-0.2 7.258 24.4 9.484",fill:"currentColor","aria-hidden":"true",...l,style:{...m.style,...r},children:/* @__PURE__ */h("path",{d:"m11.276 9.347-1.254 3.346a366.37 366.37 0 0 1-1.325-3.346H7.275l2.038 5.132-.86 2.063h1.38l2.845-7.195ZM5.083 10.46c.551 0 .818.33.818 1.01v3.112h1.314v-3.259c0-1.241-.853-2.108-2.075-2.108-.588 0-1.127.206-1.516.58l-.016.015-.016-.015c-.39-.374-.926-.58-1.512-.58-1.225 0-2.08.867-2.08 2.108v3.26h1.314V11.47c0-.68.267-1.01.818-1.01.552 0 .819.33.819 1.01v3.112h1.314V11.47c0-.68.267-1.01.819-1.01zm18.2-.398c-.494-.547-1.191-.849-1.962-.849a2.56 2.56 0 0 0-1.521.497V7.458h-1.315v4.51c0 .721.258 1.396.725 1.9.512.553 1.215.846 2.035.846.819 0 1.52-.293 2.03-.845.467-.505.725-1.18.725-1.9a2.83 2.83 0 0 0-.717-1.908Zm-2.039 3.405c-.937 0-1.446-.772-1.446-1.499 0-.726.51-1.509 1.446-1.509.937 0 1.442.778 1.442 1.51 0 .73-.505 1.498-1.442 1.498m-5.965 1.248c1.788 0 2.753-1.418 2.753-2.753 0-1.334-.965-2.752-2.753-2.752-1.789 0-2.753 1.418-2.753 2.753 0 1.335.964 2.753 2.753 2.753zm.001-1.248c-.936 0-1.445-.773-1.445-1.5 0-.728.509-1.511 1.445-1.511s1.441.778 1.441 1.51c0 .733-.505 1.501-1.441 1.501"})})}export{c as BrandMyobIcon};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{Icon as e}from"./chunk-KIBL6M3T.js";import{DEFAULT_SHELL_STRINGS as t}from"./chunk-E6UCGCOC.js";import{jsx as r}from"react/jsx-runtime";var n=["left","center","right","justify"],a={left:"align-left",center:"align-center",right:"align-right",justify:"align-justify"};function i(t){switch(t){case"left":/* @__PURE__ */
|
|
2
|
+
return r(e,{name:"align-left"});case"center":/* @__PURE__ */
|
|
3
|
+
return r(e,{name:"align-center"});case"right":/* @__PURE__ */
|
|
4
|
+
return r(e,{name:"align-right"});case"justify":/* @__PURE__ */
|
|
5
|
+
return r(e,{name:"align-justify"})}}function f(e=t.textToolbar){return{left:e.alignLeft,center:e.alignCenter,right:e.alignRight,justify:e.alignJustify}}function l(e,t=f()){return n.filter(t=>e.includes(t)).map(e=>({value:e,label:t[e],icon:i(e)}))}var u={three:{labelsPx:94.5,widestLabelPx:39.94},four:{labelsPx:140,widestLabelPx:44}},c=/[\u1100-\u11ff\u2e80-\u9fff\uac00-\ud7af\uf900-\ufaff\uff00-\uffef]/;function s(e){const t=f();if(e.every(e=>e.label===t[e.value]))return e.length>3?u.four:u.three;const r=e.map(e=>[...e.label].reduce((e,t)=>e+(c.test(t)?13:8),0));return{labelsPx:r.reduce((e,t)=>e+t,0),widestLabelPx:Math.max(0,...r)}}export{n as TEXT_ALIGNS,u as TEXT_ALIGN_FIT,a as TEXT_ALIGN_ICONS,s as textAlignFit,i as textAlignIcon,l as textAlignOptions,f as textAlignWords};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as h}from"./chunk-64ACCUNN.js";import{jsx as a}from"react/jsx-runtime";function c({size:c,width:t,height:v,style:e,...i}){const l=h(c??t??v??18,1);/* @__PURE__ */
|
|
2
|
+
return a("svg",{width:l.width,height:l.height,viewBox:"-0.2 -0.2 24.4 24.4",fill:"currentColor","aria-hidden":"true",...i,style:{...l.style,...e},children:/* @__PURE__ */a("path",{d:"M4.157 0A4.151 4.151 0 0 0 0 4.161v15.678A4.151 4.151 0 0 0 4.157 24h15.682A4.152 4.152 0 0 0 24 19.839V4.161A4.152 4.152 0 0 0 19.839 0H4.157Zm10.61 8.761h.03a.577.577 0 0 1 .23.038.585.585 0 0 1 .201.124.63.63 0 0 1 .162.431.612.612 0 0 1-.162.435.58.58 0 0 1-.201.128.58.58 0 0 1-.23.042.529.529 0 0 1-.235-.042.585.585 0 0 1-.332-.328.559.559 0 0 1-.038-.235.613.613 0 0 1 .17-.431.59.59 0 0 1 .405-.162Zm2.853 1.572c.03.004.061.004.095.004.325-.011.646.064.937.219.238.144.431.355.552.609.128.279.189.582.185.888v.193a2 2 0 0 1 0 .219h-2.498c.003.227.075.45.204.642a.78.78 0 0 0 .646.265.714.714 0 0 0 .484-.136.642.642 0 0 0 .23-.318l.915.257a1.398 1.398 0 0 1-.28.537c-.14.159-.321.284-.521.355a2.234 2.234 0 0 1-.836.136 1.923 1.923 0 0 1-1.001-.245 1.618 1.618 0 0 1-.665-.703 2.221 2.221 0 0 1-.227-1.036 1.95 1.95 0 0 1 .48-1.398 1.9 1.9 0 0 1 1.3-.488Zm-9.607.023c.162.004.325.026.48.079.207.065.4.174.563.314.26.302.393.692.366 1.088v2.276H8.53l-.109-.711h-.065c-.064.163-.155.31-.272.439a1.122 1.122 0 0 1-.374.264 1.023 1.023 0 0 1-.453.083 1.334 1.334 0 0 1-.866-.264.965.965 0 0 1-.329-.801.993.993 0 0 1 .076-.431 1.02 1.02 0 0 1 .242-.363 1.478 1.478 0 0 1 1.043-.303h.952v-.181a.696.696 0 0 0-.136-.454.553.553 0 0 0-.438-.154.695.695 0 0 0-.378.086.48.48 0 0 0-.193.254l-.99-.144a1.26 1.26 0 0 1 .257-.563c.14-.174.321-.302.533-.378.261-.091.54-.136.82-.129.053-.003.106-.007.163-.007Zm4.384.007c.174 0 .347.038.506.114.182.083.34.211.458.374.257.423.377.911.351 1.406a2.53 2.53 0 0 1-.355 1.448 1.148 1.148 0 0 1-1.009.517c-.204 0-.401-.045-.582-.136a1.052 1.052 0 0 1-.48-.457 1.298 1.298 0 0 1-.114-.234h-.045l.004 1.784h-1.059v-4.713h.904l.117.805h.057c.068-.208.177-.401.328-.56a1.129 1.129 0 0 1 .843-.344h.076v-.004Zm7.559.084h.903l.113.805h.053a1.37 1.37 0 0 1 .235-.484.813.813 0 0 1 .313-.242.82.82 0 0 1 .39-.076h.234v1.051h-.401a.662.662 0 0 0-.313.008.623.623 0 0 0-.272.155.663.663 0 0 0-.174.26.683.683 0 0 0-.027.314v1.875h-1.054v-3.666Zm-17.515.003h3.262v.896L3.73 13.104l.034.113h1.973l.042.9H2.4v-.9l1.931-1.754-.045-.117H2.441v-.896Zm11.815 0h1.055v3.659h-1.055V10.45Zm3.443.684.019.016a.69.69 0 0 0-.351.045.756.756 0 0 0-.287.204c-.11.155-.174.336-.189.522h1.545c-.034-.526-.257-.787-.74-.787h.003Zm-5.718.163c-.026 0-.057 0-.083.004a.78.78 0 0 0-.31.053.746.746 0 0 0-.257.189 1.016 1.016 0 0 0-.204.695v.064c-.015.257.057.507.204.711a.634.634 0 0 0 .253.196.638.638 0 0 0 .314.061.644.644 0 0 0 .578-.265c.14-.223.204-.48.189-.74a1.216 1.216 0 0 0-.181-.711.677.677 0 0 0-.503-.257Zm-4.509 1.266a.464.464 0 0 0-.268.102.373.373 0 0 0-.114.276c0 .053.008.106.027.155a.375.375 0 0 0 .087.132.576.576 0 0 0 .397.11v.004a.863.863 0 0 0 .563-.182.573.573 0 0 0 .211-.457v-.14h-.903Z"})})}export{c as BrandZapierIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as t}from"./chunk-64ACCUNN.js";import{jsx as e}from"react/jsx-runtime";function i({size:i,width:r,height:h,style:o,...c}){const l=t(i??r??h??18,1.096);/* @__PURE__ */
|
|
2
|
+
return e("svg",{width:l.width,height:l.height,viewBox:"-0.2 0.871 24.4 22.258",fill:"currentColor","aria-hidden":"true",...c,style:{...l.style,...o},children:/* @__PURE__ */e("path",{d:"M3.9998 22.9291C1.7908 22.9291 0 21.1383 0 18.9293s1.7908-3.9998 3.9998-3.9998 3.9998 1.7908 3.9998 3.9998-1.7908 3.9998-3.9998 3.9998zm19.4643-6.0004L15.4632 3.072C14.3586 1.1587 11.9121.5028 9.9988 1.6074S7.4295 5.1585 8.5341 7.0718l8.0009 13.8567c1.1046 1.9133 3.5511 2.5679 5.4644 1.4646 1.9134-1.1046 2.568-3.5511 1.4647-5.4644zM7.5137 4.8438L1.5645 15.1484A4.5 4.5 0 0 1 4 14.4297c2.5597-.0075 4.6248 2.1585 4.4941 4.7148l3.2168-5.5723-3.6094-6.25c-.4499-.7793-.6322-1.6394-.5878-2.4784z"})})}export{i as BrandGoogleadsIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as t}from"./chunk-64ACCUNN.js";import{jsx as e}from"react/jsx-runtime";function h({size:h,width:i,height:r,style:l,...c}){const o=t(h??i??r??18,1.139);/* @__PURE__ */
|
|
2
|
+
return e("svg",{width:o.width,height:o.height,viewBox:"-0.2 1.285 24.4 21.43",fill:"currentColor","aria-hidden":"true",...c,style:{...o.style,...l},children:/* @__PURE__ */e("path",{d:"M12.01 1.485c-2.082 0-3.754.02-3.743.047.01.02 1.708 3.001 3.774 6.62l3.76 6.574h3.76c2.081 0 3.753-.02 3.742-.047-.005-.02-1.708-3.001-3.775-6.62l-3.76-6.574zm-4.76 1.73a789.828 789.861 0 0 0-3.63 6.319L0 15.868l1.89 3.298 1.885 3.297 3.62-6.335 3.618-6.33-1.88-3.287C8.1 4.704 7.255 3.22 7.25 3.214zm2.259 12.653-.203.348c-.114.198-.96 1.672-1.88 3.287a423.93 423.948 0 0 1-1.698 2.97c-.01.026 3.24.042 7.222.042h7.244l1.796-3.157c.992-1.734 1.85-3.23 1.906-3.323l.104-.167h-7.249z"})})}export{h as BrandGoogledriveIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as c}from"./chunk-64ACCUNN.js";import{jsx as h}from"react/jsx-runtime";function t({size:t,width:a,height:e,style:i,...l}){const r=c(t??a??e??18,1.548);/* @__PURE__ */
|
|
2
|
+
return h("svg",{width:r.width,height:r.height,viewBox:"-0.2 4.117 24.4 15.765",fill:"currentColor","aria-hidden":"true",...l,style:{...r.style,...i},children:/* @__PURE__ */h("path",{d:"M2.15 4.318a42.16 42.16 0 0 0-.454.003c-.15.005-.303.013-.452.04a1.44 1.44 0 0 0-1.06.772c-.07.138-.114.278-.14.43-.028.148-.037.3-.04.45A10.2 10.2 0 0 0 0 6.222v11.557c0 .07.002.138.003.207.004.15.013.303.04.452.027.15.072.291.142.429a1.436 1.436 0 0 0 .63.63c.138.07.278.115.43.142.148.027.3.036.45.04l.208.003h20.194l.207-.003c.15-.004.303-.013.452-.04.15-.027.291-.071.428-.141a1.432 1.432 0 0 0 .631-.631c.07-.138.115-.278.141-.43.027-.148.036-.3.04-.45.002-.07.003-.138.003-.208l.001-.246V6.221c0-.07-.002-.138-.004-.207a2.995 2.995 0 0 0-.04-.452 1.446 1.446 0 0 0-1.2-1.201 3.022 3.022 0 0 0-.452-.04 10.448 10.448 0 0 0-.453-.003zm0 .512h19.942c.066 0 .131.002.197.003.115.004.25.01.375.032.109.02.2.05.287.094a.927.927 0 0 1 .407.407.997.997 0 0 1 .094.288c.022.123.028.258.031.374.002.065.003.13.003.197v11.552c0 .065 0 .13-.003.196-.003.115-.009.25-.032.375a.927.927 0 0 1-.5.693 1.002 1.002 0 0 1-.286.094 2.598 2.598 0 0 1-.373.032l-.2.003H1.906c-.066 0-.133-.002-.196-.003a2.61 2.61 0 0 1-.375-.032c-.109-.02-.2-.05-.288-.094a.918.918 0 0 1-.406-.407 1.006 1.006 0 0 1-.094-.288 2.531 2.531 0 0 1-.032-.373 9.588 9.588 0 0 1-.002-.197V6.224c0-.065 0-.131.002-.197.004-.114.01-.248.032-.375.02-.108.05-.199.094-.287a.925.925 0 0 1 .407-.406 1.03 1.03 0 0 1 .287-.094c.125-.022.26-.029.375-.032.065-.002.131-.002.196-.003zm4.71 3.7c-.3.016-.668.199-.88.456-.191.22-.36.58-.316.918.338.03.675-.169.888-.418.205-.258.345-.603.308-.955zm2.207.42v5.493h.852v-1.877h1.18c1.078 0 1.835-.739 1.835-1.812 0-1.07-.742-1.805-1.808-1.805zm.852.719h.982c.739 0 1.161.396 1.161 1.089 0 .692-.422 1.092-1.164 1.092h-.979zm-3.154.3c-.45.01-.83.28-1.05.28-.235 0-.593-.264-.981-.257a1.446 1.446 0 0 0-1.23.747c-.527.908-.139 2.255.374 2.995.249.366.549.769.944.754.373-.014.52-.242.973-.242.454 0 .586.242.98.235.41-.007.667-.366.915-.733.286-.417.403-.82.41-.841-.007-.008-.79-.308-.797-1.209-.008-.754.615-1.113.644-1.135-.352-.52-.9-.578-1.09-.593a1.123 1.123 0 0 0-.092-.002zm8.204.397c-.99 0-1.606.533-1.652 1.256h.777c.072-.358.369-.586.845-.586.502 0 .803.266.803.711v.309l-1.097.064c-.951.054-1.488.484-1.488 1.184 0 .72.548 1.207 1.332 1.207.526 0 1.032-.281 1.264-.727h.019v.659h.788v-2.76c0-.803-.62-1.317-1.591-1.317zm1.94.072l1.446 4.009c0 .003-.073.24-.073.247-.125.41-.33.571-.711.571-.069 0-.206 0-.267-.015v.666c.06.011.267.019.335.019.83 0 1.226-.312 1.568-1.283l1.5-4.214h-.868l-1.012 3.259h-.015l-1.013-3.26zm-1.167 2.189v.316c0 .521-.45.917-1.024.917-.442 0-.731-.228-.731-.579 0-.342.278-.56.769-.593z"})})}export{t as BrandApplepayIcon};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{jsxs as r,jsx as e}from"react/jsx-runtime";function t({size:t=18,...i}){/* @__PURE__ */
|
|
2
|
+
return r("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...i,children:[
|
|
3
|
+
/* @__PURE__ */e("path",{d:"M2 8a4 4 0 0 1 4 -4h12a4 4 0 0 1 4 4v8a4 4 0 0 1 -4 4h-12a4 4 0 0 1 -4 -4v-8"}),
|
|
4
|
+
/* @__PURE__ */e("path",{d:"M10 9l5 3l-5 3l0 -6"})]})}export{t as BrandYoutubeOutlineIcon};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{InputNumber_default as e}from"./chunk-
|
|
2
|
-
return t("div",{id:
|
|
1
|
+
import{InputNumber_default as e}from"./chunk-CPXHU3Y2.js";import{IconButton_default as r}from"./chunk-4CANQ3B3.js";import{Icon as a}from"./chunk-KIBL6M3T.js";import{Tooltip as i}from"./chunk-22S6LG6D.js";import{useShellStrings as n}from"./chunk-E6UCGCOC.js";import{useState as l,useRef as o}from"react";import{jsxs as t,jsx as s}from"react/jsx-runtime";var d={tl:"",tr:"rotate-90",br:"rotate-180",bl:"-rotate-90"},c=["tl","tr","bl","br"];function u({label:u,value:m,corners:f,onChange:p,radius:h=null,onRadiusChange:v,radiusLabel:b,radiusMin:k=0,radiusMax:g,radiusStep:x=1,radiusPlaceholder:w,disabled:y=!1,disabledReason:C,id:j,className:A=""}){const N=n(),K=function(e){const r=c.map(r=>e.find(e=>e.value===r));for(const a of e){if(c.includes(a.value))continue;const e=r.findIndex(e=>void 0===e);-1===e?r.push(a):r[e]=a}return r.filter(e=>void 0!==e)}(f),[M,D]=l(0),L=o(null);/* @__PURE__ */
|
|
2
|
+
return t("div",{id:j,role:"group","aria-label":u,className:`flex min-w-0 flex-wrap items-center gap-2 ${A}`.trim(),children:[v&&
|
|
3
3
|
/* @__PURE__ */s("div",{className:"w-30 shrink-0",children:/* @__PURE__ */s(e,{value:h,onChange:v,min:k,max:g,step:x,precision:0,placeholder:w,prefix:/* @__PURE__ */s("span",{"data-radius-mark":"","aria-hidden":"true",children:N.corners.radiusMark}),suffix:N.corners.unit,steppers:"compact",disabled:y,"aria-label":b??N.corners.radius})}),
|
|
4
|
-
/* @__PURE__ */s("div",{ref:
|
|
4
|
+
/* @__PURE__ */s("div",{ref:L,"data-corners-grid":"",className:"grid shrink-0 grid-cols-2 gap-1",onKeyDown:e=>{if(e.altKey||e.ctrlKey||e.metaKey)return;const r=Array.from(L.current?.querySelectorAll("button[data-corner]")??[]),a=r.indexOf(document.activeElement);if(-1===a)return;const i=a%2,n=Math.floor(a/2),l="ArrowRight"===e.key?2*n+1:"ArrowLeft"===e.key?2*n:"ArrowDown"===e.key?2+i:"ArrowUp"===e.key?i:null;null!==l&&(e.preventDefault(),l<r.length&&r[l].focus())},children:K.map((e,n)=>{const l=m.includes(e.value),o=y||!0===e.disabled,t=o&&(!0===e.disabled&&e.title||(y?C:void 0))||void 0,c=/* @__PURE__ */s(r,{"aria-pressed":l,"aria-label":e.label,"aria-disabled":o||void 0,disabledReason:t,"data-corner":e.value,size:"sm",tabIndex:n===M?0:-1,onFocus:()=>D(n),onClick:()=>{o||p(l?m.filter(r=>r!==e.value):[...m,e.value])},children:/* @__PURE__ */s(a,{name:"corner",strokeWidth:2,className:["h-4 w-4",d[e.value]??""].filter(Boolean).join(" ")})},e.value);return t?c:/* @__PURE__ */s(i,{content:e.title??e.label,children:c},e.value)})})]})}export{u as CornersInput};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import{firstEnabledIndex as e,matchTypeahead as t,lastEnabledIndex as r,nextEnabledIndex as i}from"./chunk-EO5RLFRX.js";import{flattenOptionItems as n,groupedRows as a,isOptionGroup as l,OptionCheck as o}from"./chunk-UQBPKZUR.js";import{useSettingAuto as d}from"./chunk-
|
|
2
|
-
/* @__PURE__ */
|
|
3
|
-
/* @__PURE__ */
|
|
4
|
-
return
|
|
5
|
-
return
|
|
6
|
-
/* @__PURE__ */
|
|
7
|
-
/* @__PURE__ */
|
|
8
|
-
/* @__PURE__ */
|
|
9
|
-
/* @__PURE__ */
|
|
10
|
-
/* @__PURE__ */
|
|
11
|
-
/* @__PURE__ */
|
|
12
|
-
/* @__PURE__ */
|
|
13
|
-
/* @__PURE__ */
|
|
14
|
-
return
|
|
15
|
-
/* @__PURE__ */
|
|
16
|
-
/* @__PURE__ */
|
|
17
|
-
/* @__PURE__ */
|
|
18
|
-
/* @__PURE__ */
|
|
19
|
-
/* @__PURE__ */
|
|
1
|
+
import{firstEnabledIndex as e,matchTypeahead as t,lastEnabledIndex as r,nextEnabledIndex as i}from"./chunk-EO5RLFRX.js";import{flattenOptionItems as n,groupedRows as a,isOptionGroup as l,OptionCheck as o}from"./chunk-UQBPKZUR.js";import{useSettingAuto as d}from"./chunk-L65BESIE.js";import{inputClasses as s,PLACEHOLDER_INK as c}from"./chunk-PF3ANJFI.js";import{useIsMobile as u}from"./chunk-UGTRSRIW.js";import{optionNoteClass as p}from"./chunk-QR4RM7PO.js";import{Icon as m}from"./chunk-KIBL6M3T.js";import{onOverlayOpen as v}from"./chunk-PGN5ME7B.js";import{Z_LAYERS as h}from"./chunk-62LW225J.js";import{useDropdownPosition as f,MENU_MAX_HEIGHT as b}from"./chunk-GLUJS42B.js";import{solidSurfaceStyle as g}from"./chunk-DTJRIWFR.js";import{registerModalEscapeInterceptor as y}from"./chunk-TWVUQUUD.js";import{useShellStrings as x}from"./chunk-E6UCGCOC.js";import{forwardRef as w,useId as k,useState as N,useRef as $,useMemo as D,useCallback as j,useEffect as S,useLayoutEffect as E}from"react";import{createPortal as I}from"react-dom";import{jsxs as T,jsx as C,Fragment as O}from"react/jsx-runtime";var H=e=>e.labelStyle?{lineHeight:1.25,...e.labelStyle}:void 0,R=w(function({value:e,onChange:t,options:r,placeholder:i,invalid:n,className:a="",size:l,touchSize:o,renderOption:c,renderValue:u,valueText:p,readOnly:m,footer:v,changed:h,auto:f,multiple:b,"aria-describedby":g,...y},w){const N=t,$=x(),D=d(),j=f??D,S=k(),E=/* @__PURE__ */T("select",{ref:w,value:e,multiple:b||void 0,onChange:e=>N(b?Array.from(e.target.selectedOptions,e=>e.value):e.target.value),"aria-invalid":n||void 0,"aria-describedby":[g,j?S:void 0].filter(Boolean).join(" ")||void 0,className:s({invalid:n,size:l,auto:j,className:`pr-8 ${a}`.trim()}),...y,children:[void 0!==i&&!b&&/* @__PURE__ */C("option",{value:"",disabled:!0,children:i}),
|
|
2
|
+
/* @__PURE__ */C(z,{items:r})]});return j?/* @__PURE__ */T(O,{children:[E,
|
|
3
|
+
/* @__PURE__ */C("span",{id:S,hidden:!0,children:$.settingView.auto})]}):E});function z({items:e}){const t=e=>/* @__PURE__ */C("option",{value:e.value,disabled:e.disabled,lang:e.lang,children:e.label},e.value);/* @__PURE__ */
|
|
4
|
+
return C(O,{children:e.map((e,r)=>(e=>l(e))(e)?/* @__PURE__ */C("optgroup",{label:e.label,children:e.options.map(t)},`group-${r}`):t(e))})}var B=w(function({value:l,onChange:u,options:w,placeholder:R,invalid:B,className:U="",id:K,disabled:A,size:P,touchSize:F,title:L,multiple:V,renderOption:M,renderValue:W,valueText:G,readOnly:J=!1,footer:Q,changed:q=!1,auto:X,"aria-describedby":Y,"aria-label":Z,"aria-labelledby":_,...ee},te){const[re,ie]=N(!1),[ne,ae]=N(-1),le=$(null),oe=$(null),de=$(null),se=$(null),ce=$([]),ue=()=>se.current??de.current,pe=!!Q?.length,me="sm"===P,ve=me?"min-h-7 px-3 py-1 text-xs leading-4":"min-h-(--row-height-menu) px-3 py-2 text-sm leading-5",he=p(me),[fe,be]=N(null),ge=x(),ye=$(re);ye.current=re;const xe=$({buffer:"",timer:null}),we=k(),ke=`${we}-listbox`,Ne=K??`${we}-trigger`,$e=e=>`${we}-opt-${e}`,De=`${we}-changed`,je=d(),Se=X??je,Ee=`${we}-auto`,Ie=[Y,q?De:void 0,Se?Ee:void 0].filter(Boolean).join(" ")||void 0,Te=D(()=>n(w),[w]),Ce=V?l:[],Oe=u,He=f(oe,re,{matchTriggerWidth:!0,...Q?.length?{preferredMaxHeight:Number.POSITIVE_INFINITY}:{}}),Re="undefined"==typeof window?S:E,ze=`${re}|${He?.top}|${He?.bottom}|${He?.maxHeight}|${w.length}`;Re(()=>{be(null)},[ze]),Re(()=>{const e=de.current;if(!re||!e||null!==fe)return;if(e.scrollHeight<=e.clientHeight+1)return;const t=getComputedStyle(e),r=parseFloat(t.paddingTop)||0;parseFloat(t.paddingBottom);const i=e.getBoundingClientRect().top;let n=0;for(const t of e.querySelectorAll('[role="option"]')){const r=t.getBoundingClientRect().bottom-i+e.scrollTop;if(!(r<=e.clientHeight+.5))break;n=r}n>r&&be(Math.floor(n))},[re,fe,ze]);const Be=V?Te.findIndex(e=>Ce.includes(e.value)):Te.findIndex(e=>e.value===l),Ue=V?Te.filter(e=>Ce.includes(e.value)).map(e=>e.label).join(", ")||void 0:Be>=0?Te[Be].label:void 0,Ke=!V&&Be>=0?Te[Be].lang:void 0,Ae=V?Te.filter(e=>Ce.includes(e.value)):Be>=0?[Te[Be]]:[],Pe=W&&Ae.length?W(Ae):void 0,Fe=void 0!==Pe&&G?G(Ae):void 0,Le=j((e=!0)=>{ie(!1),ae(-1),e&&oe.current?.focus()},[]),Ve=j(()=>{A||J||(ae(Be>=0?Be:e(Te)),ie(!0))},[A,J,Te,Be]),Me=j(e=>{const t=Te[e];if(t&&!t.disabled){if(V){const r=l;return Oe(r.includes(t.value)?r.filter(e=>e!==t.value):[...r,t.value]),void ae(e)}Oe(t.value),Le()}},[Te,V,l,Oe,Le]);S(()=>{if(!re)return;return y(e=>!("Escape"!==e.key||!ye.current)&&(Le(),!0),ue)},[re,Le]),S(()=>{if(!re)return;const e=e=>{const t=e.target;le.current?.contains(t)||ue()?.contains(t)||Le(!1)};document.addEventListener("pointerdown",e);const t=v(()=>Le(!1));return()=>{document.removeEventListener("pointerdown",e),t()}},[re,Le]),S(()=>{!re||ne<0||de.current?.querySelector(`#${CSS.escape($e(ne))}`)?.scrollIntoView({block:"nearest"})},[re,ne]);const We=j(e=>{const r=xe.current;r.timer&&clearTimeout(r.timer),r.buffer+=e,r.timer=setTimeout(()=>{r.buffer="",r.timer=null},500);const i=re?ne:Be,n=t(Te,r.buffer,i);n<0||(re?ae(n):V?(ae(n),ie(!0)):Me(n))},[re,ne,Be,Te,Me,V]),Ge=re?a(w,(e,t)=>{const r=(i=e.value,V?Ce.includes(i):l===i);var i;const n=t===ne;/* @__PURE__ */
|
|
5
|
+
return T("div",{id:$e(t),role:"option",lang:e.description||e.labelStyle||M?void 0:e.lang,"aria-selected":r,"aria-disabled":e.disabled||void 0,onPointerEnter:()=>{e.disabled||ae(t)},onClick:()=>Me(t),className:`mx-1 cursor-pointer truncate rounded-lg ${ve}${V?" flex items-center gap-2":""}\n ${e.disabled?"cursor-not-allowed text-gray-400":n?"bg-blue-50 text-blue-700":r?"font-medium text-blue-600":"text-gray-700"}`,children:[V&&/* @__PURE__ */C(o,{selected:r}),M?/* @__PURE__ */C("span",{className:"block min-w-0 flex-1 truncate",children:M(e,{selected:r,active:n})}):V?/* @__PURE__ */T("span",{className:"block min-w-0 flex-1",children:[
|
|
6
|
+
/* @__PURE__ */C("span",{lang:e.lang,className:"block truncate",style:H(e),children:e.label}),e.description&&/* @__PURE__ */C("span",{className:he,children:e.description})]}):e.description||e.labelStyle?
|
|
7
|
+
/* @__PURE__ */T(O,{children:[
|
|
8
|
+
/* @__PURE__ */C("span",{lang:e.lang,className:"block truncate",style:H(e),children:e.label}),e.description&&/* @__PURE__ */C("span",{className:he,children:e.description})]}):e.label]},e.value)},we,"mx-1"):null,Je=void 0!==Pe?
|
|
9
|
+
/* @__PURE__ */T("span",{className:"relative block min-w-0 truncate",children:[
|
|
10
|
+
/* @__PURE__ */C("span",{"aria-hidden":"true","data-select-value":"",className:"flex min-w-0 items-center gap-2 truncate",children:Pe}),
|
|
11
|
+
/* @__PURE__ */C("span",{lang:void 0===Fe?Ke:void 0,className:"sr-only",children:Fe??Ue})]}):/* @__PURE__ */C("span",{lang:Ke,className:`block truncate ${void 0===Ue?c:""}`,children:Ue??R??" "}),Qe={zIndex:h.popup,left:He?.left,top:He?.top,bottom:He?.bottom,width:He?.width,maxHeight:He?.maxHeight??b,visibility:He?void 0:"hidden",...g()},qe=/* @__PURE__ */C("div",{ref:de,id:ke,role:"listbox","aria-labelledby":_??(Z?void 0:Ne),"aria-label":_?void 0:Z,"aria-multiselectable":V||void 0,className:pe?"min-h-0 shrink overflow-y-auto py-1":"fixed overflow-y-auto rounded-(--radius-popup) py-1",style:pe?null!==fe?{maxHeight:fe}:void 0:null!==fe?{...Qe,maxHeight:fe}:Qe,children:Ge}),Xe=pe?/* @__PURE__ */T("div",{ref:se,className:"fixed flex flex-col overflow-hidden rounded-(--radius-popup)",style:Qe,children:[qe,
|
|
12
|
+
/* @__PURE__ */C("div",{className:"shrink-0 border-t border-(--rosh-glass-solid-border) px-1 py-1",children:Q.map((e,t)=>/* @__PURE__ */T("button",{ref:e=>{ce.current[t]=e},type:"button","data-select-action":"","aria-disabled":e.disabled||void 0,onClick:()=>(e=>{e.disabled||(Le(),e.onSelect())})(e),onKeyDown:e=>((e,t)=>{const r=(Q?.length??0)-1,i=t=>{e.preventDefault(),ce.current[t]?.focus()},n=()=>{e.preventDefault(),oe.current?.focus()};switch(e.key){case"ArrowDown":return void i(Math.min(t+1,r));case"ArrowUp":return void(0===t?n():i(t-1));case"Home":return void i(0);case"End":return void i(r);case"Tab":return e.shiftKey?void(0===t?n():i(t-1)):t<r?void i(t+1):(e.preventDefault(),void Le());case"Escape":return e.preventDefault(),e.stopPropagation(),void Le()}})(e,t),className:`flex w-full items-center gap-2 rounded-lg ${ve} text-left rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)] ${e.disabled?"cursor-not-allowed text-gray-400":"cursor-pointer text-gray-700 hover:bg-blue-50 hover:text-blue-700"}`,children:[e.icon&&/* @__PURE__ */C(m,{name:e.icon,"aria-hidden":"true",className:"h-4 w-4 shrink-0"}),
|
|
13
|
+
/* @__PURE__ */C("span",{className:"min-w-0 flex-1 truncate",children:e.label})]},e.label))})]}):qe;/* @__PURE__ */
|
|
14
|
+
return T("div",{ref:le,className:"relative",children:[
|
|
15
|
+
/* @__PURE__ */C("button",{ref:oe,id:Ne,type:"button",role:"combobox","aria-haspopup":"listbox","aria-expanded":re,"aria-controls":re?ke:void 0,"aria-activedescendant":re&&ne>=0?$e(ne):void 0,"aria-invalid":B||void 0,"aria-describedby":Ie,"aria-label":Z,"aria-labelledby":_,title:L,disabled:A,"aria-readonly":J||void 0,onClick:()=>re?Le():Ve(),onKeyDown:t=>{if(!A&&!J)switch(t.key){case"ArrowDown":return t.preventDefault(),void(re?ae(e=>i(Te,e,1)):Ve());case"ArrowUp":return t.preventDefault(),void(re?ae(e=>i(Te,e,-1)):Ve());case"Home":return void(re&&(t.preventDefault(),ae(e(Te))));case"End":return void(re&&(t.preventDefault(),ae(r(Te))));case"Enter":return void(re&&(t.preventDefault(),Me(ne)));case" ":return t.preventDefault(),void(re?Me(ne):Ve());case"Escape":return void(re&&(t.preventDefault(),t.stopPropagation(),Le()));case"Tab":return re&&pe&&!t.shiftKey?(t.preventDefault(),void ce.current[0]?.focus()):void(re&&Le(!1));default:1!==t.key.length||t.metaKey||t.ctrlKey||t.altKey||(t.preventDefault(),We(t.key))}},className:s({invalid:B,size:P,readOnly:J,auto:Se,className:`${J?"":"pr-8 "}text-left ${U}`.trim()}),children:q?
|
|
16
|
+
/* @__PURE__ */T("span",{className:"flex min-w-0 items-center gap-1",children:[Je,
|
|
17
|
+
/* @__PURE__ */C("span",{"aria-hidden":"true","data-select-changed":"",className:"shrink-0",children:"*"})]}):Je}),q&&/* @__PURE__ */C("span",{id:De,hidden:!0,children:ge.select.changed}),Se&&/* @__PURE__ */C("span",{id:Ee,hidden:!0,children:ge.settingView.auto}),!J&&/* @__PURE__ */C(m,{name:"chevron-up-down","aria-hidden":"true",className:`pointer-events-none absolute right-2.5 top-1/2 h-4 w-4 -translate-y-1/2 ${c}`,strokeWidth:2}),
|
|
18
|
+
/* @__PURE__ */T("select",{ref:te,value:l,multiple:V||void 0,onChange:e=>Oe(V?Array.from(e.target.selectedOptions,e=>e.value):e.target.value),disabled:A,"aria-hidden":"true",tabIndex:-1,className:"sr-only",...ee,children:[void 0!==R&&!V&&/* @__PURE__ */C("option",{value:"",disabled:!0,children:R}),
|
|
19
|
+
/* @__PURE__ */C(z,{items:w})]}),re&&I(Xe,document.body)]})}),U=w(function({touchSize:e="touch",...t},r){const i=u();return!i||void 0===t.footer&&void 0===t.changed||t.readOnly?i&&!t.readOnly?/* @__PURE__ */C(R,{ref:r,...t,size:e}):/* @__PURE__ */C(B,{ref:r,...t}):/* @__PURE__ */C(B,{ref:r,...t,size:e})});export{R as NativeSelect,U as Select_default};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{jsxs as r,jsx as e}from"react/jsx-runtime";function t({size:t=18,...i}){/* @__PURE__ */
|
|
2
|
+
return r("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...i,children:[
|
|
3
|
+
/* @__PURE__ */e("path",{d:"M8 20l4 -9"}),
|
|
4
|
+
/* @__PURE__ */e("path",{d:"M10.7 14c.437 1.263 1.43 2 2.55 2c2.071 0 3.75 -1.554 3.75 -4a5 5 0 1 0 -9.7 1.7"}),
|
|
5
|
+
/* @__PURE__ */e("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]})}export{t as BrandPinterestOutlineIcon};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{tooltipBesideBand as t}from"./chunk-MG7A3R75.js";import{niceAxis as e,niceMax as i,linearScale as r,axisGutter as n,bandScale as l}from"./chunk-2JWPNR2U.js";import{usePlotWidth as o}from"./chunk-MAFUXCPZ.js";import{
|
|
1
|
+
import{tooltipBesideBand as t}from"./chunk-MG7A3R75.js";import{niceAxis as e,niceMax as i,linearScale as r,axisGutter as n,bandScale as l}from"./chunk-2JWPNR2U.js";import{usePlotWidth as o}from"./chunk-MAFUXCPZ.js";import{registerModalEscapeInterceptor as a}from"./chunk-TWVUQUUD.js";import{CHART_INK as h}from"./chunk-TZFACUMR.js";import{useShellStrings as s,useShellLocale as c}from"./chunk-E6UCGCOC.js";import{formatPlain as m}from"./chunk-C3QOHMR6.js";import{useRef as d,useState as u,useId as f,useEffect as x}from"react";import{jsx as g,jsxs as p}from"react/jsx-runtime";function y({labels:y,values:v,height:b=220,width:k,bandPadding:M=.24,min:w,max:N,yTickCount:A=4,formatValue:$,yAxisLabel:j,xTickAnchor:C="center",children:R,overlay:E,tooltip:U,onSelect:z,ariaLabel:D,className:L,emptyLabel:P}){const F=s().charts,I=c(),S=$??(t=>m(t,I)),T=P??F.noData,V=d(null),W=o(V),B=k??W,[G,O]=u(null),Q=f();if(x(()=>{if(null!==G)return a(t=>"Escape"===t.key&&(O(null),!0))},[G]),0===y.length||!v.some(Number.isFinite))/* @__PURE__ */
|
|
2
2
|
return g("div",{className:L,ref:V,children:/* @__PURE__ */g("p",{className:"flex items-center justify-center text-sm text-gray-500",style:{height:b},children:T})});const Z=v.filter(Number.isFinite),H=Z.every(Number.isInteger),J=void 0===w&&void 0===N?e(Math.min(0,...Z),Math.max(0,...Z),{intervals:A+1,integer:H}):null,K=void 0!==w&&void 0===N?e(w,Math.max(w,...Z),{intervals:A+1,integer:H,zero:!1}):null,X=J?J.lo:w??Math.min(0,...Z),q=J?J.hi:K?K.hi:N??i(Math.max(...Z,0)),Y=J?J.ticks:K?[X,...K.ticks.filter(t=>t>X)]:r([X,q],{from:0,to:1}).ticks(A+1),_={top:12,right:16,bottom:26,left:n(Y.map(S),48)+(j?10:0)},tt=_.left,et=Math.max(tt+1,B-_.right),it=_.top,rt=b-_.bottom,nt=r([X,q],{from:rt,to:it}),lt=l(y.length,{from:tt,to:et},M),ot=(et-tt)/Math.max(1,y.length),at=ot>=48,ht=at?1:Math.max(1,Math.ceil(y.length/Math.max(1,Math.floor(B/84)))),st=Math.max(2,Math.floor((ot-6)/6.6)),ct=t=>at&&t.length>st?`${t.slice(0,st-1).trimEnd()}…`:t;/* @__PURE__ */
|
|
3
3
|
return p("div",{className:`relative ${L??""}`,ref:V,children:[
|
|
4
4
|
/* @__PURE__ */p("svg",{width:"100%",height:b,viewBox:`0 0 ${B} ${b}`,role:"img","aria-label":D,tabIndex:0,className:"rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-deep)]",onMouseLeave:()=>O(null),onBlur:()=>O(null),onKeyDown:t=>{if(z&&null!==G&&("Enter"===t.key||" "===t.key))return t.preventDefault(),void z(G);if("ArrowRight"!==t.key&&"ArrowLeft"!==t.key)return;t.preventDefault();const e="ArrowRight"===t.key?1:-1;O(t=>Math.min(y.length-1,Math.max(0,(t??0)+e)))},children:[
|
|
5
|
-
/* @__PURE__ */g("defs",{children:/* @__PURE__ */g("clipPath",{id:Q,children:/* @__PURE__ */g("rect",{x:tt,y:it,width:et-tt,height:rt-it})})}),Y.map(t=>/* @__PURE__ */g("line",{x1:tt,y1:nt(t),x2:et,y2:nt(t),stroke:
|
|
6
|
-
/* @__PURE__ */g("line",{x1:tt,y1:nt(Math.max(X,0)),x2:et,y2:nt(Math.max(X,0)),stroke:
|
|
7
|
-
/* @__PURE__ */g("g",{clipPath:`url(#${Q})`,children:R({x:lt,y:nt,left:tt,right:et,top:it,bottom:rt,width:B,height:b,clipId:Q,active:G})}),E?.({x:lt,y:nt,left:tt,right:et,top:it,bottom:rt,width:B,height:b,clipId:Q,active:G}),y.map((t,e)=>e%ht===0?/* @__PURE__ */g("text",{x:"start"===C?lt(e):lt.center(e),y:b-8,textAnchor:"middle",fontSize:11,fill:
|
|
5
|
+
/* @__PURE__ */g("defs",{children:/* @__PURE__ */g("clipPath",{id:Q,children:/* @__PURE__ */g("rect",{x:tt,y:it,width:et-tt,height:rt-it})})}),Y.map(t=>/* @__PURE__ */g("line",{x1:tt,y1:nt(t),x2:et,y2:nt(t),stroke:h.grid,strokeWidth:1,shapeRendering:"crispEdges"},`g${t}`)),
|
|
6
|
+
/* @__PURE__ */g("line",{x1:tt,y1:nt(Math.max(X,0)),x2:et,y2:nt(Math.max(X,0)),stroke:h.axis,strokeWidth:1,shapeRendering:"crispEdges"}),Y.map(t=>/* @__PURE__ */g("text",{x:tt-8,y:nt(t)+4,textAnchor:"end",fontSize:11,fill:h.label,style:{fontVariantNumeric:"tabular-nums"},children:S(t)},`t${t}`)),j&&/* @__PURE__ */g("text",{x:14,y:(it+rt)/2,transform:`rotate(-90 14 ${(it+rt)/2})`,textAnchor:"middle",fontSize:11,fill:h.label,children:j}),
|
|
7
|
+
/* @__PURE__ */g("g",{clipPath:`url(#${Q})`,children:R({x:lt,y:nt,left:tt,right:et,top:it,bottom:rt,width:B,height:b,clipId:Q,active:G})}),E?.({x:lt,y:nt,left:tt,right:et,top:it,bottom:rt,width:B,height:b,clipId:Q,active:G}),y.map((t,e)=>e%ht===0?/* @__PURE__ */g("text",{x:"start"===C?lt(e):lt.center(e),y:b-8,textAnchor:"middle",fontSize:11,fill:h.label,style:{fontVariantNumeric:"tabular-nums"},children:ct(t)},`x${e}`):null),y.map((t,e)=>/* @__PURE__ */g("rect",{x:lt.center(e)-(et-tt)/y.length/2,y:it,width:(et-tt)/y.length,height:rt-it,fill:"transparent",onMouseEnter:()=>O(e),onClick:z?()=>z(e):void 0,style:z?{cursor:"pointer"}:void 0},`h${e}`))]}),U&&null!==G&&
|
|
8
8
|
/* @__PURE__ */g("div",{className:"pointer-events-none absolute top-2 z-10",style:t(lt.center(G),lt.bandwidth,B),children:U(G)})]})}export{y as CartesianPlot};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";function e({size:e=18,...t}){/* @__PURE__ */
|
|
2
|
+
return r("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t,children:/* @__PURE__ */r("path",{d:"M21 7.917v4.034a9.948 9.948 0 0 1 -5 -1.951v4.5a6.5 6.5 0 1 1 -8 -6.326v4.326a2.5 2.5 0 1 0 4 2v-11.5h4.083a6.005 6.005 0 0 0 4.917 4.917"})})}export{e as BrandTiktokOutlineIcon};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Card as e}from"./chunk-VU6VPKM3.js";import{Select_default as l}from"./chunk-
|
|
1
|
+
import{Card as e}from"./chunk-VU6VPKM3.js";import{Select_default as l}from"./chunk-RERNKFEW.js";import{Input_default as a}from"./chunk-GX2GSDJP.js";import{FormField as r}from"./chunk-MVQBVPWP.js";import{Checkbox_default as i}from"./chunk-CGZBDI6C.js";import{Banner as c}from"./chunk-WTY3SXO7.js";import{Button_default as d}from"./chunk-4IU5BSVE.js";import{useState as s}from"react";import{jsx as n,jsxs as t}from"react/jsx-runtime";var h=[{name:"Mechanical keyboard",qty:1,price:129},{name:"USB-C cable (2m)",qty:2,price:12},{name:"Laptop stand",qty:1,price:48}];function m(){const[m,o]=s(!0),[p,u]=s("us"),y=h.reduce((e,l)=>e+l.qty*l.price,0),g=y+9;/* @__PURE__ */
|
|
2
2
|
return n("div",{className:"h-full overflow-auto bg-gray-50 p-6",children:/* @__PURE__ */t("div",{className:"mx-auto max-w-5xl space-y-5",children:[
|
|
3
3
|
/* @__PURE__ */n("h1",{className:"text-xl font-semibold text-gray-900",children:"Checkout"}),
|
|
4
4
|
/* @__PURE__ */t("div",{className:"grid grid-cols-1 gap-5 lg:grid-cols-3",children:[
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{formatMoney as e}from"./chunk-X2S2XDZI.js";import{EMPTY_VALUE as r}from"./chunk-36BRD5J3.js";import{TimeSeriesChart as t}from"./chunk-
|
|
1
|
+
import{formatMoney as e}from"./chunk-X2S2XDZI.js";import{EMPTY_VALUE as r}from"./chunk-36BRD5J3.js";import{TimeSeriesChart as t}from"./chunk-OSA24YH6.js";import{ChartFrame as a}from"./chunk-BRHIRE4D.js";import{ColumnChart as l}from"./chunk-W5M6P4DZ.js";import{TH_ONE_LINE as s}from"./chunk-6KO5VTL7.js";import{jsxs as o,jsx as i}from"react/jsx-runtime";function n({spec:n,height:c=200,width:m,animate:d=!0,className:h}){const u=function(r){if(r.currency)return t=>e(t,r.currency);const t=r.unit?` ${r.unit}`:"";return e=>`${e.toLocaleString("en-US",{maximumFractionDigits:2})}${t}`}(n),p=n.currency?r=>e(r,n.currency,{whole:!0}):u,b=n.series.map((e,r)=>({key:`s${r}`,label:e.name,data:e.values})),y=n.title??n.series.map(e=>e.name).join(", "),f=/* @__PURE__ */o("table",{className:"w-full border-collapse text-sm",children:[
|
|
2
2
|
/* @__PURE__ */i("thead",{children:/* @__PURE__ */o("tr",{children:[
|
|
3
3
|
/* @__PURE__ */i("td",{className:"border-b border-gray-200"}),n.series.map((e,r)=>/* @__PURE__ */i("th",{scope:"col",className:`${s} border-b border-gray-200 px-2 py-1 text-right font-semibold text-gray-700`,children:e.name},r))]})}),
|
|
4
4
|
/* @__PURE__ */i("tbody",{children:n.x.map((e,t)=>/* @__PURE__ */o("tr",{children:[
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as t}from"./chunk-64ACCUNN.js";import{jsx as e}from"react/jsx-runtime";function i({size:i,width:r,height:c,style:h,...o}){const a=t(i??r??c??18,.985);/* @__PURE__ */
|
|
2
|
+
return e("svg",{width:a.width,height:a.height,viewBox:"-0.021 -0.2 24.042 24.4",fill:"currentColor","aria-hidden":"true",...o,style:{...a.style,...h},children:/* @__PURE__ */e("path",{d:"M11.837 0c6.602 0 11.984 5.381 11.984 11.994-.017 2.99-3.264 4.84-5.844 3.331a3.805 3.805 0 0 1-.06-.035l-.055-.033-.022.055c-2.554 4.63-9.162 4.758-11.894.232-2.732-4.527.46-10.313 5.746-10.416a6.868 6.868 0 0 1 7.002 6.866 1.265 1.265 0 0 0 2.52 0c0-5.18-4.197-9.38-9.377-9.387C4.611 2.594.081 10.41 3.683 16.673c3.238 5.632 11.08 6.351 15.289 1.402l1.997 1.686A11.95 11.95 0 0 1 11.837 24C2.6 23.72-2.87 13.543 1.992 5.684A12.006 12.006 0 0 1 11.837 0Zm0 7.745c-3.276-.163-5.5 3.281-4.003 6.2a4.26 4.26 0 0 0 4.014 2.31c3.276-.171 5.137-3.824 3.35-6.575a4.26 4.26 0 0 0-3.36-1.935Zm0 2.53c1.324 0 2.152 1.433 1.49 2.58a1.72 1.72 0 0 1-1.49.86 1.72 1.72 0 1 1 0-3.44Z"})})}export{i as BrandMailgunIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";function e({size:e=18,...t}){/* @__PURE__ */
|
|
2
|
+
return r("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none","aria-hidden":"true",...t,children:/* @__PURE__ */r("path",{d:"M18 3a5 5 0 0 1 5 5v8a5 5 0 0 1 -5 5h-12a5 5 0 0 1 -5 -5v-8a5 5 0 0 1 5 -5zm-9 6v6a1 1 0 0 0 1.514 .857l5 -3a1 1 0 0 0 0 -1.714l-5 -3a1 1 0 0 0 -1.514 .857z"})})}export{e as BrandYoutubeSolidIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jsx as l}from"react/jsx-runtime";function a({size:a=18,...r}){/* @__PURE__ */
|
|
2
|
+
return l("svg",{width:a,height:a,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none","aria-hidden":"true",...r,children:/* @__PURE__ */l("path",{d:"M18.497 4.409a10 10 0 0 1 -10.36 16.828l-.223 -.098l-4.759 .849l-.11 .011a1 1 0 0 1 -.11 0l-.102 -.013l-.108 -.024l-.105 -.037l-.099 -.047l-.093 -.058l-.014 -.011l-.012 -.007l-.086 -.073l-.077 -.08l-.067 -.088l-.056 -.094l-.034 -.07l-.04 -.108l-.028 -.128l-.012 -.102a1 1 0 0 1 0 -.125l.012 -.1l.024 -.11l.045 -.122l1.433 -3.304l-.009 -.014a10 10 0 0 1 1.549 -12.454l.215 -.203a10 10 0 0 1 13.226 -.217m-8.997 3.09a1.5 1.5 0 0 0 -1.5 1.5v1a6 6 0 0 0 6 6h1a1.5 1.5 0 0 0 0 -3h-1l-.144 .007a1.5 1.5 0 0 0 -1.128 .697l-.042 .074l-.022 -.007a4.01 4.01 0 0 1 -2.435 -2.435l-.008 -.023l.075 -.041a1.5 1.5 0 0 0 .704 -1.272v-1a1.5 1.5 0 0 0 -1.5 -1.5"})})}export{a as BrandWhatsappSolidIcon};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{resolveColumnShares as e,COLUMN_SHARES_EQUAL as t,COLUMN_SHARE_MIN as r,COLUMN_COUNT_MAX as n}from"./chunk-PLGJOHEG.js";import{InputNumber_default as o}from"./chunk-
|
|
2
|
-
return f("div",{role:"group","aria-label":P?void 0:N,"aria-labelledby":P,"aria-describedby":
|
|
1
|
+
import{resolveColumnShares as e,COLUMN_SHARES_EQUAL as t,COLUMN_SHARE_MIN as r,COLUMN_COUNT_MAX as n}from"./chunk-PLGJOHEG.js";import{InputNumber_default as o}from"./chunk-CPXHU3Y2.js";import{Button_default as i}from"./chunk-4IU5BSVE.js";import{Tooltip as l}from"./chunk-22S6LG6D.js";import{useShellStrings as a}from"./chunk-E6UCGCOC.js";import{useId as s,useRef as c,useState as d,useEffect as u,Fragment as h}from"react";import{jsxs as f,jsx as m}from"react/jsx-runtime";var p=(e,t,r)=>Math.min(r,Math.max(t,e)),v=e=>e.reduce((e,t)=>e+t,0),g=(e,t)=>e.length===t.length&&e.every((e,r)=>e===t[r]);var y,b="w-0.5",w=`${b} group-hover/widths:w-1 group-focus-visible/widths:w-1`;var x=["text-blue-700","text-gray-600"];function k({count:k,value:C,onChange:$,label:N,"aria-labelledby":P,readOnly:j=!1,disabled:M=!1,footer:z=!0,className:R=""}){const S=a().widths,B=s(),A=p(Math.round(k)||1,1,n),D=e(C,A),E=D??[...t[A]??[]],O=[...E,100-v(E)],K=j||M,T=c(null),U=c({onChange:$,shown:E,locked:K,n:A,stored:D});U.current={onChange:$,shown:E,locked:K,n:A,stored:D};const G=t=>{const{onChange:r,shown:n,locked:o,n:i}=U.current;if(o)return!1;const l=e(t,i);return!(!l||g(l,n))&&(r(l),!0)},H=(e,t,n)=>{const o=e[t]+e[t+1],i=[...e];i[t]=p(Math.round(n),r,o-r),i[t+1]=o-i[t],G(i.slice(0,-1))&&(ie.current=null)},I=e=>t=>{if(t.altKey||t.ctrlKey||t.metaKey)return;const n=t.shiftKey?10:1,o=O[e]+O[e+1],i="ArrowRight"===t.key?O[e]+n:"ArrowLeft"===t.key?O[e]-n:"PageUp"===t.key?O[e]+10:"PageDown"===t.key?O[e]-10:"Home"===t.key?r:"End"===t.key?o-r:null;null!==i&&(t.preventDefault(),H(O,e,i))},L=c(null),[X,F]=d(null),V=()=>{L.current=null,F(null),document.body.style.removeProperty("cursor"),document.body.style.removeProperty("user-select")};u(()=>V,[]);const W=e=>t=>{if(0!==t.button||K)return;t.preventDefault();const r=T.current?.getBoundingClientRect().width??0;r<=0||(L.current={i:e,x:t.clientX,width:r,from:O,moved:!1,pointer:t.pointerId},F(e),t.currentTarget.setPointerCapture?.(t.pointerId),document.body.style.cursor="col-resize",document.body.style.userSelect="none")},q=e=>{const t=L.current;if(!t)return;if(0===e.buttons)return void V();const r=e.clientX-t.x;if(!t.moved){if(Math.abs(r)<3)return;t.moved=!0}H(t.from,t.i,t.from[t.i]+r/t.width*100)},J=e=>{const t=L.current;t&&(e.currentTarget.hasPointerCapture?.(t.pointer)&&e.currentTarget.releasePointerCapture(t.pointer),V())},Y=(e,t)=>{const{shown:n}=U.current,o=function(e,t,n){const o=e.length,i=[...e];if(o<2)return i;const l=p(Math.round(n),r,100-(o-1)*r);let a=l-i[t];i[t]=l;const s=[...Array.from({length:o-1-t},(e,r)=>t+1+r),...Array.from({length:t},(e,r)=>t-1-r)];if(a<0)return i[s[0]]-=a,i;for(const e of s){if(a<=0)break;const t=Math.min(a,i[e]-r);i[e]-=t,a-=t}return i}([...n,100-v(n)],e,t);return G(o.slice(0,-1))?o:null},[Q,Z]=d(0);u(()=>{const e=T.current;if(!e||"undefined"==typeof ResizeObserver)return;const t=new ResizeObserver(()=>Z(e.getBoundingClientRect().width));return t.observe(e),()=>t.disconnect()},[]);const _=c(null),[ee,te]=d(null),[re,ne]=d([]),oe=(e,t)=>te(r=>t?e:r===e?null:r),ie=c(null),le=(e,t)=>{const r=ie.current;if(!r||r.column!==e||r.share!==t)return!1;const{onChange:n,locked:o,stored:i}=U.current;var l,a;return o||(l=i,a=r.stored,void 0===l||void 0===a?l===a:g(l,a))||n(r.stored),!0},ae=O.join(",");u(()=>{const e=null===ee?[]:function(e,t){if(!e)return[];const r=Array.from(e.querySelectorAll("input[data-widths-label]")),n=r[t]?.getBoundingClientRect();if(!n||0===n.width)return[];if(void 0===y&&(y=document.createElement("canvas").getContext("2d")),!y)return[];const o=y;return r.flatMap((e,r)=>{if(r===t)return[];const i=e.getBoundingClientRect(),l=getComputedStyle(e);o.font=`${l.fontWeight} ${l.fontSize} ${l.fontFamily}`;const a=o.measureText(e.value).width/2,s=(i.left+i.right)/2;return s+a>n.left&&s-a<n.right?[r]:[]})}(_.current,ee);ne(t=>g(t,e)?t:e)},[ee,ae,Q]);const se=O.slice(0,-1).map((e,t)=>v(O.slice(0,t+1)));/* @__PURE__ */
|
|
2
|
+
return f("div",{role:"group","aria-label":P?void 0:N,"aria-labelledby":P,"aria-describedby":A>1?B:void 0,className:`flex w-full min-w-0 flex-col gap-2 ${M?"opacity-60":""} ${R}`.trim(),children:[
|
|
3
3
|
/* @__PURE__ */f("div",{ref:_,"data-widths-bar":"",className:"relative h-8",children:[
|
|
4
|
-
/* @__PURE__ */m("div",{ref:
|
|
5
|
-
/* @__PURE__ */m("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 rounded-(--radius-control) border border-gray-300"}),
|
|
6
|
-
return m("div",{className:"absolute inset-y-0 "+(n?"z-20":""),style:{left:`clamp(0px, calc(${i+e/2}% - ${l} / 2), calc(100% - ${l}))`,width:l},children:/* @__PURE__ */m(o,{appearance:"bare",value:e,display:()=>(e=>
|
|
7
|
-
/* @__PURE__ */m("span",{id:
|
|
8
|
-
/* @__PURE__ */m(i,{variant:"secondary",size:"sm",disabled:
|
|
4
|
+
/* @__PURE__ */m("div",{ref:T,"data-widths-track":"",className:"flex h-full w-full overflow-hidden rounded-(--radius-control) bg-white",children:O.map((e,t)=>/* @__PURE__ */m("div",{"data-widths-segment":"",style:{flexBasis:`${e}%`},className:`flex min-w-0 shrink-0 grow-0 items-center justify-center overflow-hidden whitespace-nowrap text-xs font-medium tabular-nums ${x[t%2]} ${t%2==0?"bg-blue-50":""}`,children:1===A&&/* @__PURE__ */m("span",{"data-widths-label":"",children:`${e}%`})},t))}),
|
|
5
|
+
/* @__PURE__ */m("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 rounded-(--radius-control) border border-gray-300"}),A>1&&O.map((e,t)=>/* @__PURE__ */f(h,{children:[(()=>{const n=ee===t,i=v(O.slice(0,t)),l=n?`max(${e}%, 40px)`:`${e}%`;/* @__PURE__ */
|
|
6
|
+
return m("div",{className:"absolute inset-y-0 "+(n?"z-20":""),style:{left:`clamp(0px, calc(${i+e/2}% - ${l} / 2), calc(100% - ${l}))`,width:l},children:/* @__PURE__ */m(o,{appearance:"bare",value:e,display:()=>(e=>Q>0&&Q*e/100<36?String(e):`${e}%`)(e),suffix:"%",min:r,max:100-(A-1)*r,step:1,shiftStep:10,precision:0,allowEmpty:!1,reportWhileTyping:!1,readOnly:j,disabled:M,"aria-label":S.column(t+1),"aria-describedby":B,"data-widths-label":"",onChange:e=>{null===e||le(t,e)||Y(t,e)},onRevert:e=>((e,t)=>{U.current.locked||null===t||le(e,t)||Y(e,t)})(t,e),onFocus:()=>{ie.current={column:t,share:e,stored:U.current.stored},oe(t,!0)},onBlur:()=>oe(t,!1),className:`absolute inset-0 text-xs font-medium ${x[t%2]} ${re.includes(t)&&!n?"opacity-0":""}`})})})(),t<A-1&&/* @__PURE__ */m("div",{className:"absolute inset-y-0 z-10 w-3 -translate-x-1/2",style:{left:`${se[t]}%`},children:/* @__PURE__ */m(l,{content:S.dragHint,delay:600,className:"relative flex h-full w-full",children:/* @__PURE__ */m("div",{role:"separator",tabIndex:M?-1:0,"aria-orientation":"vertical","aria-label":S.divider(t+1,t+2),"aria-valuenow":O[t],"aria-valuemin":r,"aria-valuemax":O[t]+O[t+1]-r,"aria-valuetext":S.dividerValue(t+1,O[t],t+2,O[t+1]),"aria-disabled":K||void 0,onKeyDown:K?void 0:I(t),onPointerDown:W(t),onPointerMove:q,onPointerUp:J,onPointerCancel:J,onLostPointerCapture:()=>{L.current&&V()},className:"group/widths flex h-full w-full touch-none justify-center rounded-(--radius-control) rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)] "+(K?"cursor-default":"cursor-col-resize"),children:/* @__PURE__ */m("span",{"aria-hidden":"true","data-widths-line":"",className:"h-full rounded-full "+(K?`${b} bg-gray-300`:`bg-blue-600 transition-[width,background-color] duration-(--motion-fast) group-hover/widths:bg-blue-700 ${X===t?"w-1":w}`)})})})})]},t))]}),A>1&&!z&&/* @__PURE__ */m("span",{id:B,className:"sr-only",children:S.hint(A,r)}),A>1&&z&&/* @__PURE__ */m("div",{"data-widths-footer":"",className:"@container",children:/* @__PURE__ */f("div",{className:"flex items-center justify-between gap-2 @max-[264px]:flex-col @max-[264px]:items-end",children:[
|
|
7
|
+
/* @__PURE__ */m("span",{id:B,"data-widths-hint":"",className:"text-2xs leading-tight text-gray-500 @max-[264px]:self-stretch",children:S.hint(A,r)}),
|
|
8
|
+
/* @__PURE__ */m(i,{variant:"secondary",size:"sm",disabled:K,onClick:()=>{K||void 0===C||$(void 0)},className:"shrink-0",children:S.reset})]})})]})}export{k as WidthsBar};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as t}from"./chunk-64ACCUNN.js";import{jsx as e}from"react/jsx-runtime";function h({size:h,width:i,height:r,style:l,...o}){const n=t(h??i??r??18,1.051);/* @__PURE__ */
|
|
2
|
+
return e("svg",{width:n.width,height:n.height,viewBox:"-0.2 0.395 24.4 23.21",fill:"currentColor","aria-hidden":"true",...o,style:{...n.style,...l},children:/* @__PURE__ */e("path",{d:"M6.488 7.469 0 15.05h11.585l1.301-3.576H7.922l3.033-3.507.01-.092L8.993 4.48h8.873l-6.878 18.925h4.706L24 .595H2.543l3.945 6.874Z"})})}export{h as BrandWiseIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as t}from"./chunk-64ACCUNN.js";import{jsx as e}from"react/jsx-runtime";function h({size:h,width:i,height:r,style:c,...o}){const n=t(h??i??r??18,1);/* @__PURE__ */
|
|
2
|
+
return e("svg",{width:n.width,height:n.height,viewBox:"-0.2 -0.2 24.4 24.4",fill:"currentColor","aria-hidden":"true",...o,style:{...n.style,...c},children:/* @__PURE__ */e("path",{d:"M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0zM7.2 4.8h5.747c2.34 0 3.895 1.406 3.895 3.516 0 1.022-.348 1.862-1.09 2.588C17.189 11.812 18 13.22 18 14.785c0 2.86-2.64 5.016-6.164 5.016H7.199v-15zm2.085 1.952v5.537h.07c.233-.432.858-.796 2.249-1.226 2.039-.659 3.037-1.52 3.037-2.655 0-.998-.766-1.656-1.924-1.656H9.285zm4.87 5.266c-.766.385-1.67.748-2.76 1.11-1.229.387-2.11 1.386-2.11 2.407v2.315h2.365c2.387 0 4.149-1.34 4.149-3.155 0-1.067-.625-2.087-1.645-2.677z"})})}export{h as BrandBrevoIcon};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{InputNumber_default as e}from"./chunk-
|
|
1
|
+
import{InputNumber_default as e}from"./chunk-CPXHU3Y2.js";import{IconButton_default as a}from"./chunk-4CANQ3B3.js";import{Icon as r}from"./chunk-KIBL6M3T.js";import{Tooltip as i}from"./chunk-22S6LG6D.js";import{jsx as t,jsxs as n,Fragment as o}from"react/jsx-runtime";var d="h-3.5 w-3.5",s={padding:{top:/* @__PURE__ */t(r,{name:"padding-top","aria-hidden":"true",className:d}),right:/* @__PURE__ */t(r,{name:"padding-right","aria-hidden":"true",className:d}),bottom:/* @__PURE__ */t(r,{name:"padding-bottom","aria-hidden":"true",className:d}),left:/* @__PURE__ */t(r,{name:"padding-left","aria-hidden":"true",className:d}),vertical:/* @__PURE__ */t(r,{name:"padding-y","aria-hidden":"true",className:d}),horizontal:/* @__PURE__ */t(r,{name:"padding-left-right","aria-hidden":"true",className:d})},crop:{top:/* @__PURE__ */t(r,{name:"crop-top","aria-hidden":"true",className:d}),right:/* @__PURE__ */t(r,{name:"crop-right","aria-hidden":"true",className:d}),bottom:/* @__PURE__ */t(r,{name:"crop-bottom","aria-hidden":"true",className:d}),left:/* @__PURE__ */t(r,{name:"crop-left","aria-hidden":"true",className:d}),vertical:/* @__PURE__ */t(r,{name:"crop-y","aria-hidden":"true",className:d}),horizontal:/* @__PURE__ */t(r,{name:"crop-left-right","aria-hidden":"true",className:d})}},l=/* @__PURE__ */t(r,{name:"sides-each","aria-hidden":"true",className:"h-4 w-4"});var m=(e,a,r)=>null===e[r]?a[r]:String(e[r]);function c(e,a){const r=r=>m(e,a,r);return r("left")!==r("right")||r("top")!==r("bottom")}function h({label:a,value:r,onChange:i,each:d,placeholder:l,words:c,min:h=0,max:p=200,step:u=4,readOnly:g,glyphs:f="padding"}){const b=s[f],N=(a,n,o)=>{const d=function(e,a){const r=a.map(a=>e[a]);return r.every(e=>e===r[0])?r[0]:"mixed"}(r,a),s=a.map(e=>m(r,l,e)),f="mixed"!==d&&s.every(e=>e===s[0])?s[0]:"–";/* @__PURE__ */
|
|
2
2
|
return t("div",{"data-side":a.join("-"),className:"min-w-0",children:/* @__PURE__ */t(e,{value:"mixed"===d?null:d,onChange:e=>((e,a)=>{const t={...r};for(const r of e)t[r]=a;i(t)})(a,e),min:h,max:p,step:u,snap:!0,precision:0,steppers:"compact",readOnly:g,placeholder:f,prefix:o,suffix:c.unit,"aria-label":n})})};/* @__PURE__ */
|
|
3
3
|
return t("div",{role:"group","aria-label":a,"data-sides":d?"each":"pairs",className:"grid min-w-0 grid-cols-2 gap-2",children:/* @__PURE__ */n(o,d?{children:[N(["left"],c.sides.left,b.left),N(["top"],c.sides.top,b.top),N(["right"],c.sides.right,b.right),N(["bottom"],c.sides.bottom,b.bottom)]}:{children:[N(["left","right"],c.horizontal,b.horizontal),N(["top","bottom"],c.vertical,b.vertical)]})})}function p({each:e,onChange:r,label:n,disabled:o}){/* @__PURE__ */
|
|
4
4
|
return t(i,{content:n,children:/* @__PURE__ */t(a,{size:"sm","aria-label":n,"aria-pressed":e,disabled:o,onClick:()=>r(!e),children:l})})}export{p as SidesEachToggle,h as SidesInput,c as sidesStartEach};
|