@sheetxl/studio-vanilla 0.7.28-beta.1 → 0.7.28-beta.2
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/browser/cjs/{DzFomdBHjGaNmf9k.cjs → 0udzrkQg8Nf9nRbI.cjs} +1 -1
- package/browser/cjs/{CEKe4OJVmivE8S6J2.cjs → 3xD-77z5V9IlNXjn2.cjs} +1 -1
- package/browser/cjs/{BmKOnx8nv-NTlFiI.cjs → B37bgauMls6bQwyP.cjs} +1 -1
- package/browser/cjs/{CAEF_wXnxI6o5BkS.cjs → BFDhFIqPaIRivcO3.cjs} +1 -1
- package/browser/cjs/{BJcTL0FyQfZaEmdT2.cjs → BH_9BSdzWI3sYvEo2.cjs} +1 -1
- package/browser/cjs/{nE4y6hua6AwWSil72.cjs → BREMLtxkQhtNSVra.cjs} +1 -1
- package/browser/cjs/{ByYBv7ERPfiCLOep.cjs → BeYzZkmTef6nGcoR.cjs} +2 -2
- package/browser/cjs/{Dbl2A7TmMPREP_KG.cjs → Bf2M1sdVR89d3yxg.cjs} +1 -1
- package/browser/cjs/{DPhkr2uj1ztiCS7Y.cjs → BqJIWrtud1IdCny_.cjs} +1 -1
- package/browser/cjs/{D60W9LgbU6Bi_PzU.cjs → BtuU_zhIvl9orhXJ2.cjs} +1 -1
- package/browser/cjs/{DUtS5ZvrQ_7EIazD2.cjs → C1nECuaXDUkYlVQY2.cjs} +1 -1
- package/browser/cjs/{BW48QUIyFJAiIyBv.cjs → CBXWKzJggj62dtpP.cjs} +1 -1
- package/browser/cjs/{DBIR20dXG4vtH3Kj.cjs → CFSMFEE8YXmRYGPL.cjs} +1 -1
- package/browser/cjs/{yy-Vk4KWt1Zu2vkd.cjs → CFnnvEHNOFcAUaHE.cjs} +1 -1
- package/browser/cjs/{Bizh6EM71ecxo_oY.cjs → CUCXS7BrMsSnSXVr.cjs} +1 -1
- package/browser/cjs/{DfgKbLE2Zvp8mcF7.cjs → CVvPoEKURol1Aftd.cjs} +1 -1
- package/browser/cjs/{DF0hku8nbQSV3M-j2.cjs → Ca4DwcXOTqVuUOVq2.cjs} +1 -1
- package/browser/cjs/{CK2JeifKkJzOm0o92.cjs → CcLfDX6uHge33mwb2.cjs} +1 -1
- package/browser/cjs/{DW8_bnb11oQKDj662.cjs → Cdi9twdv4KfAl5I72.cjs} +2 -2
- package/browser/cjs/{C6_0FaW_bjOw24La.cjs → Crk724Yv2awixZFL.cjs} +4 -4
- package/browser/cjs/{BvRcbY1-Wkb5Sx-4.cjs → DE8xPZdgqnIs7vdp.cjs} +8 -8
- package/browser/cjs/{T7_onhE6Jrpob9tI2.cjs → DMNRMppC1tGKEiCa2.cjs} +1 -1
- package/browser/cjs/{BSh3rXFX2OUJtD5l.cjs → Di-65J92p03pfERi.cjs} +2 -2
- package/browser/cjs/{CraVh3dIK_NDeAvS.cjs → LObFxO4TDyRQ2l05.cjs} +2 -2
- package/browser/cjs/{7qAC9w7dw4oS0-F3.cjs → VRIZX6-JADRk2Iao.cjs} +1 -1
- package/browser/cjs/{9jOdey6595kpc4f_2.cjs → X5Grge615whs1q_I2.cjs} +1 -1
- package/browser/cjs/{Dmi2hSyQu_Js-GEu.cjs → Y37Q7YjNKfaPg9qC.cjs} +1 -1
- package/browser/cjs/dJ3N_yPCcdiUsFNY.cjs +3 -0
- package/browser/cjs/index.cjs +1 -1
- package/browser/cjs/{DfkGb1hUnmE0XFjK.cjs → jQhVJbABYXmAnYFf.cjs} +1 -1
- package/browser/cjs/{DqDDTZZVqW3IbjXy.cjs → jgba8pT4LamzxlS8.cjs} +1 -1
- package/browser/cjs/{CIPn136n4B06G4iH.cjs → pb5LnC0Ye1NBoRvg.cjs} +1 -1
- package/browser/esm/{gByeADNOXJBuXzPx.mjs → 0HCb-Mkw8Otpj9B6.mjs} +11 -11
- package/browser/esm/{CNqvhcQrG2-81fOD.mjs → 39GslBYZKZUJpjcX.mjs} +1 -1
- package/browser/esm/{qatUNqy1unWjxJRn.mjs → 9LhOHxxuP2jO-YDv.mjs} +10 -10
- package/{cdn/assets/CqHkXhh2PbxRyYjJ.js → browser/esm/9XJnug1pfQreKXZr2.mjs} +1 -1
- package/browser/esm/{BEvXGI5EzVSXLxga.mjs → AS-KiFBez1nwB_vC.mjs} +5 -5
- package/browser/esm/{CBNL1frWoMOsUu_T2.mjs → B-cVGeAqeE1MJbcg2.mjs} +9 -9
- package/browser/esm/{DUqRWxlJFr43EfUh2.mjs → B27wXIrrKNvUzMGE.mjs} +1 -1
- package/browser/esm/{DKSKOqX0lMeM6AqD.mjs → B2pyobtSQ_9fn__o.mjs} +197 -197
- package/browser/esm/{A1VpPEggRj4IfGDD.mjs → B3N4rAHBBKghSNf-.mjs} +706 -706
- package/{cdn/assets/7-3GSszGuM6fKYQX.js → browser/esm/B609gZLpNve9hsr-2.mjs} +1 -1
- package/browser/esm/{DehYydhsh3tj9AnM2.mjs → B6mzT3jt8PsKgBWH2.mjs} +46 -46
- package/{cdn/assets/D1a8t7B7xKy_wr9i.js → browser/esm/B9epCKVFFaq_fX4j.mjs} +1 -1
- package/browser/esm/{eJXoOdaV3zHUV2do.mjs → B9yaWiEn9khUlCmT.mjs} +5 -5
- package/{cdn/assets/CvRpuDeuhP-pmiUv2.js → browser/esm/BCcFKm-VY0gZ0TzZ.mjs} +1 -1
- package/browser/esm/{lgDQkp3FOzQOe0LY.mjs → BDJXGdb3hQGrna00.mjs} +480 -481
- package/browser/esm/{DDQ55nRejL3ziHCe2.mjs → BFIwPtz-TW4VvaZR.mjs} +1 -1
- package/{cdn/assets/D2f2lwn364O9E4vh2.js → browser/esm/BHdUUWliTWsGcyUW.mjs} +2 -2
- package/{cdn/assets/Dd6FJoDWApFB2CCi.js → browser/esm/BIklj1nwWIcZCmKp2.mjs} +1 -1
- package/browser/esm/{KFUePxyJYgymI0S1.mjs → BJahzXLdJMKJrGJ8.mjs} +1 -1
- package/browser/esm/{aq4qmGuAhtzPqF-6.mjs → BJhMeXHgj2izJPad.mjs} +7 -7
- package/browser/esm/{DonDOr6JcdNxotw-.mjs → BJkZVLqBoBngX2V-2.mjs} +1 -1
- package/browser/esm/{CNqsb1dCdP38edL_.mjs → BKY2gKXOB637hih-.mjs} +6 -6
- package/browser/esm/{C6l5aRmgsP8d19lu.mjs → BVGcECvfrJsTA5kD.mjs} +2 -2
- package/browser/esm/{DKI0PCE8wcuvwtKy2.mjs → BVLamiPGpKQKiyPW2.mjs} +13 -13
- package/browser/esm/{BvJNXsx20jqbrG3K2.mjs → BVRLpEysZKAgHCqC.mjs} +1 -1
- package/browser/esm/{DYhc53MZjX6LHNsG.mjs → BXOm0hdx068QsENe.mjs} +3 -3
- package/{cdn/assets/1Inmee-wv-0FPFfs2.js → browser/esm/BXzrl80_N9hn_346.mjs} +1 -1
- package/browser/esm/{V7W9wEgRnVm5FcO92.mjs → BZ6ssyp3xvgxb4Ux2.mjs} +11 -11
- package/browser/esm/{DpBY9n_Yx6svVSLX.mjs → BZDhc9cFdvb2DZp52.mjs} +12 -12
- package/{cdn/assets/Dy8wseROvsKI36oO.js → browser/esm/Ba0_2fGhHSS7kV2l2.mjs} +1 -1
- package/browser/esm/{DMcrCWg1n2i_h8d-.mjs → BfkghIcy-zOKLz4c.mjs} +2 -2
- package/browser/esm/{Chxj04DLMGbqyjr22.mjs → BfmngO7uzIcK9Lux2.mjs} +5 -5
- package/browser/esm/{COYX5UfgqbqvXL532.mjs → Bi2jbQd8mecebnRM2.mjs} +4 -4
- package/{cdn/assets/BQMwLQz7v1tKKNjw.js → browser/esm/BkgfJjCizaRuC_N52.mjs} +1 -1
- package/browser/esm/{CVuIEusZ_eVLJx48.mjs → BmNqTvvRVjF_c1qz.mjs} +3 -3
- package/browser/esm/{_XwhJFKYQwxornq8.mjs → BnFl2afy78teEcaD.mjs} +4 -4
- package/browser/esm/{COyyediFP8-Jte0d.mjs → Bp1kaqNxSV0Hskwb.mjs} +7 -7
- package/browser/esm/{BT5ZFPRdhl589SPM.mjs → BrmKrgxwVxzOs8v9.mjs} +2 -2
- package/browser/esm/{C7esccqlKiSdYnvL2.mjs → BsGIsDAUk9bSNC2-2.mjs} +1 -1
- package/browser/esm/{BhnhFOdBLUIQ-spn.mjs → Btdn9KXWaFikV2VI.mjs} +3 -3
- package/browser/esm/{Ct164XKB4haoxV99.mjs → BwYNDge9HsfAlKEk.mjs} +5 -5
- package/browser/esm/{CBNIXGGRiR3NBppk.mjs → C0Cbiq1ZKs0s-oUn.mjs} +2 -2
- package/browser/esm/{Cvv50xExjeFnfiNy.mjs → C5wklWg-nVHGfhda.mjs} +6 -6
- package/browser/esm/{BPefT37WNgwR2ugY.mjs → C8KBkOocNYDNWBDu.mjs} +2 -2
- package/browser/esm/{BukYUcUVuCJLUCTU.mjs → CCH2N2D6f4m3sxHV.mjs} +131 -131
- package/browser/esm/{hBx61KP4CdznZp-N2.mjs → CDVkQjbphikzy5cP2.mjs} +1 -1
- package/browser/esm/{C6JzMmLaess-T_-r.mjs → CH-EdTSDEYE7IaBC.mjs} +180 -180
- package/browser/esm/{pRwq1uOrNbhmZ0mM2.mjs → CMBLrQ2K32IKaZHu.mjs} +2 -2
- package/{cdn/assets/BVHJ8ud9-agkHUcd.js → browser/esm/COZ775SOX8hXz68T2.mjs} +1 -1
- package/{cdn/assets/KwAARJU7IGYWDuYf.js → browser/esm/COgR28nGHeL59WLY.mjs} +1 -1
- package/browser/esm/{1KR1J6vxDpw_yLbU2.mjs → CQhIZf112hMPFsjD2.mjs} +1 -1
- package/browser/esm/{Cdgq7c9nPgcoTg8v.mjs → CTZpbsb07-ieZ8Sv.mjs} +1 -1
- package/{cdn/assets/DkLusJh15CZ_-XSG.js → browser/esm/CTdaEmBnApCaYU--.mjs} +1 -1
- package/browser/esm/{sckQOed44XHUgmEM.mjs → CTpri2fSv5dZbUwJ.mjs} +246 -246
- package/browser/esm/{Bk6d2dZzmAPEN5-k2.mjs → CTsLj1vEfSqm_tm42.mjs} +1 -1
- package/browser/esm/{B86Q74Vxyg1crDy4.mjs → CVtQ8m0S6nnXk7XH.mjs} +6 -6
- package/browser/esm/{ESGNq4ULp2pm2AAl2.mjs → CZDNrQuttGG8SW_a2.mjs} +7 -7
- package/browser/esm/{6Q0Zeea07mEpzLeJ2.mjs → CZVi5-MceLzKtZCX2.mjs} +1 -1
- package/browser/esm/{k0J0jqbt6JQcSNRf.mjs → CbGZtQlImYkXEGhI.mjs} +6 -6
- package/{cdn/assets/BFWULyy65RLrorZ7.js → browser/esm/Ccj-Gq_hyRtb93R-.mjs} +1 -1
- package/browser/esm/{DFoGNYjZCQlfoclz.mjs → CkRTvOlXWFrTaFLB.mjs} +4 -4
- package/{cdn/assets/DhYuSZrGEgUmal-k2.js → browser/esm/Cl5KKGUmrf4e7lB32.mjs} +1 -1
- package/{cdn/assets/Sz8Cy_HaoUpTYt0h.js → browser/esm/ClIlIFc_63tI2r9S2.mjs} +1 -1
- package/browser/esm/{BH8YLTY6BUcMBwtX.mjs → CpD0Rq1ei0UW4wvV.mjs} +1 -1
- package/browser/esm/{CxM2lbNqq--4xN8h.mjs → CshVZ7dBZzXK1qdP.mjs} +5 -5
- package/browser/esm/{DjR_YrztipUHz-Pb.mjs → CtCW25b0E8FaH1jL.mjs} +3 -3
- package/browser/esm/{DhXISrCGYlstWBHR2.mjs → CtPuA7JjziKZTOy4.mjs} +1 -1
- package/browser/esm/{Ba0-kvrjrj0hGe1K2.mjs → CukE7coIERV0PmeU2.mjs} +6 -6
- package/{cdn/assets/DSV2cLpO0S6ZhgXx.js → browser/esm/CwRqY3jy0pkU72Ty2.mjs} +1 -1
- package/{cdn/assets/BCNx4EnDw46A38bE.js → browser/esm/CySaHP1TkAtt7IqW.mjs} +2 -2
- package/browser/esm/{BJ6H2o3H404XGe252.mjs → D-YuVmmS-kKcV9xr.mjs} +1 -1
- package/browser/esm/{CfQJnZ2htSmYPsF3.mjs → D0OOkDRea_6_jbt2.mjs} +1 -1
- package/browser/esm/{3aV4jURdjixaD7Td.mjs → D2fjpIsYf8xbJ3qt2.mjs} +1 -1
- package/browser/esm/{LPgfxd0W2GLAgBzu.mjs → D8iYbJIpITf1DL9N.mjs} +3 -3
- package/browser/esm/{CLFhHEElqfJHtm21.mjs → DBVG6J7cidK5K5QE.mjs} +6 -6
- package/browser/esm/{DXWY-hAdW5OyWrwd.mjs → DCILZE5X4dLAM7Qa.mjs} +161 -161
- package/browser/esm/{C4LCzL4eMbnmxScR.mjs → DD_-Q_s0aq0ehCRj.mjs} +2 -2
- package/browser/esm/{CVoRtI07Syww8cUA.mjs → DJl3zpaAG7xtX-vB.mjs} +13 -13
- package/browser/esm/{snzQyFpbHKBoouMl2.mjs → DJoktru8Ln1idAEk2.mjs} +7 -7
- package/browser/esm/{BT809Dj7TlZHoSyZ2.mjs → DL-6XEhXlHkvgtF_2.mjs} +1 -1
- package/browser/esm/{DOQiJP4o3Yv2roFN.mjs → DMXx0lIMiLsQgbVK.mjs} +5 -5
- package/browser/esm/{C5r3DKfkpQkm-_LU2.mjs → DRU8HlvNdJ-IdDad2.mjs} +8 -8
- package/{cdn/assets/CQ-1iT2BBp1-8btC.js → browser/esm/DUVV-c3N8XuG8lyr2.mjs} +1 -1
- package/{cdn/assets/D1On-UnlXgc4TMJi2.js → browser/esm/DYhGe1HslNmi3MWF.mjs} +1 -1
- package/browser/esm/{CueJgED9ejHaXzfs2.mjs → DafUQqzTsegjuTX92.mjs} +7 -7
- package/browser/esm/{aMyBfKW2geFo8ZLl.mjs → DavD7unX6vAvDq49.mjs} +1 -1
- package/browser/esm/{BgK2h0kYTNVq8lHv.mjs → DbmQdZUcujE_ICGk.mjs} +3 -3
- package/{cdn/assets/BlABxqvzU3ccpiI22.js → browser/esm/DcTAnKNgB4UiSyH-2.mjs} +1 -1
- package/{cdn/assets/DX4LgT_oDH8L8ynK.js → browser/esm/DeY3vEbV4T2WgYP22.mjs} +1 -1
- package/browser/esm/{B181HHVOosiCdcW9.mjs → DnS-xX8jkMERhPbF.mjs} +8 -8
- package/{cdn/assets/BUqPCIYNlP_6pm4M.js → browser/esm/Dnk-x1RHZ-HCYKGy2.mjs} +1 -1
- package/browser/esm/{oQtJFGKyYOTaSkZn.mjs → DpjPEgS5W70lK0GU.mjs} +12 -12
- package/browser/esm/{CSfpN1f335foeZWr.mjs → DqJYCOxMI0h7olt5.mjs} +1 -1
- package/browser/esm/{CdS03qdFlfnGS4GS2.mjs → Dr0aqIJxcsRdzQox2.mjs} +7 -7
- package/browser/esm/{DgGD0naBo-36VC2J.mjs → Ds-v1MKCCCRK5y__2.mjs} +1 -1
- package/browser/esm/{Db1UHrYoIsMVbE28.mjs → DvFh-0k-PvKrKwkt.mjs} +5 -5
- package/browser/esm/{BGQ__v6SnaHlNG-Q.mjs → DwGeIZ6nCjk9UiXk2.mjs} +1 -1
- package/{cdn/assets/CONqbv4wIi-kv-2L.js → browser/esm/DyDgU8THo8GBGQ4M.mjs} +1 -1
- package/browser/esm/{BH4J1ujX7bAH0qMe.mjs → DzujlnEzr0M92mNz.mjs} +1 -1
- package/browser/esm/{C2HOJ1mltRzbTUl62.mjs → EHwbgKRgADVAwQbs2.mjs} +11 -11
- package/browser/esm/{Cf3oUL1hNajeyVed2.mjs → GjOmlUOFqz90L-9x2.mjs} +8 -8
- package/browser/esm/{CssrS9cKuhz46r6y.mjs → GzFeH6oCN6eWnXbX.mjs} +4 -4
- package/{cdn/assets/whPiKYlX_LjBPzcR.js → browser/esm/HA0CYoHHAU5VgVW5.mjs} +1 -1
- package/browser/esm/{Yp8HnZ2LZWDER3Db.mjs → IPVHjbNIjyMsOxUR.mjs} +1 -1
- package/{cdn/assets/BQTeVQNim2463X6I2.js → browser/esm/MIcNDPtZ2tOqEJLi.mjs} +1 -1
- package/browser/esm/{EmSNRoqlc2C8WKZI2.mjs → TJB9Rw8_wY-D-aKa2.mjs} +1 -1
- package/browser/esm/{-T6bQcEJ9HLY7UHV.mjs → Wy-cTg0gDeXuKv0a2.mjs} +1 -1
- package/{cdn/assets/Co-Q8GHNdftJgZAY.js → browser/esm/Z4L_LGr5jeXjCPo6.mjs} +1 -1
- package/browser/esm/{BrtMkOA8Tryg59WN.mjs → ZFZ3X4ek1OFa4xKm.mjs} +3 -3
- package/browser/esm/{DIaucc8UrX6oVZGM.mjs → ejd62mg_zHpVGhbH.mjs} +7 -7
- package/{cdn/assets/CNUTA9WVNU3KeDzf2.js → browser/esm/gd127f9DAewQX3YF.mjs} +2 -2
- package/browser/esm/index.mjs +4 -4
- package/browser/esm/{FxykwtLK380Ynhjh.mjs → ioECgEEk-HCEo_qL.mjs} +1 -1
- package/browser/esm/{dzdZI0rQ6gtonL0G2.mjs → me8l7609yOrUhpBU2.mjs} +1 -1
- package/browser/esm/{BYzW6nCCA9mf7lE02.mjs → qxXoiVui214rfZng2.mjs} +15 -15
- package/{cdn/assets/BgAJsJ2qMSFQT33B.js → browser/esm/tEoFD7IKo7vDcL80.mjs} +206 -206
- package/browser/esm/{BhydwJ4RldNTRaas.mjs → uwB2_ERsYGldq4on2.mjs} +1 -1
- package/browser/esm/{CVvr_1-LCX19jk4e.mjs → ytk4-EolaWr77_nC.mjs} +2 -2
- package/browser/esm/{CHbhZ3r3ql2BYXDc2.mjs → zsqoPH22vSCRd7nP2.mjs} +1 -1
- package/cdn/assets/{CNqvhcQrG2-81fOD.js → 39GslBYZKZUJpjcX.js} +1 -1
- package/{browser/esm/B3_8_CGA-MEUvzHP.mjs → cdn/assets/7R7r4iHAxN8rnOmW2.js} +2 -2
- package/{browser/esm/CqHkXhh2PbxRyYjJ2.mjs → cdn/assets/9XJnug1pfQreKXZr.js} +1 -1
- package/cdn/assets/{BK7l8_lemkR1wuwy.js → B0iMXJrxCR1TmwMa2.js} +8 -8
- package/cdn/assets/{o5R9zv1BlAEkrwCo2.js → B102zq0Z2de_ly2m.js} +197 -197
- package/cdn/assets/{DUqRWxlJFr43EfUh.js → B27wXIrrKNvUzMGE2.js} +1 -1
- package/{browser/esm/7-3GSszGuM6fKYQX2.mjs → cdn/assets/B609gZLpNve9hsr-.js} +1 -1
- package/cdn/assets/{D_rEOwaZCyZlVVgW.js → B9HUtdLQ29C5hAM2.js} +2 -2
- package/{browser/esm/D1a8t7B7xKy_wr9i2.mjs → cdn/assets/B9epCKVFFaq_fX4j.js} +1 -1
- package/{browser/esm/CvRpuDeuhP-pmiUv.mjs → cdn/assets/BCcFKm-VY0gZ0TzZ.js} +1 -1
- package/cdn/assets/{DDQ55nRejL3ziHCe.js → BFIwPtz-TW4VvaZR2.js} +1 -1
- package/{browser/esm/Dd6FJoDWApFB2CCi2.mjs → cdn/assets/BIklj1nwWIcZCmKp.js} +1 -1
- package/cdn/assets/{KFUePxyJYgymI0S12.js → BJahzXLdJMKJrGJ82.js} +1 -1
- package/cdn/assets/{DonDOr6JcdNxotw-2.js → BJkZVLqBoBngX2V-.js} +1 -1
- package/cdn/assets/{DBYkGTlfV1b47Hy6.js → BO2RVHzXl9yxZmKM.js} +3 -3
- package/cdn/assets/{CDZEsA19vbvMOvWY.js → BOSnQONqTqkqjHEU.js} +6 -6
- package/cdn/assets/{2EKKj_VAMBjNhQyV.js → BQvxcrhV7qxXjTHq.js} +2 -2
- package/cdn/assets/{BvJNXsx20jqbrG3K.js → BVRLpEysZKAgHCqC.js} +1 -1
- package/cdn/assets/{DSwGGo-dqmuSJU4c2.js → BXRMXZjJExEHTMfL2.js} +11 -11
- package/{browser/esm/1Inmee-wv-0FPFfs.mjs → cdn/assets/BXzrl80_N9hn_3462.js} +1 -1
- package/{browser/esm/Dy8wseROvsKI36oO2.mjs → cdn/assets/Ba0_2fGhHSS7kV2l.js} +1 -1
- package/{browser/esm/BQMwLQz7v1tKKNjw2.mjs → cdn/assets/BkgfJjCizaRuC_N5.js} +1 -1
- package/cdn/assets/{HdeBTuGyZOTOnlxd.js → Boe-L-sc0zC0Cw5N.js} +3 -3
- package/cdn/assets/{C7esccqlKiSdYnvL.js → BsGIsDAUk9bSNC2-.js} +1 -1
- package/cdn/assets/{BsxzxAPB4jEzEk-H2.js → BvONQrMoKCUSnkqN.js} +10 -10
- package/cdn/assets/{C_4w0ioMakQrO0i0.js → BwJlIoU5gbBMo6Q5.js} +3 -3
- package/cdn/assets/{DydlbsZLg69j6R5g2.js → BwbtHh-oXpG5mLZu2.js} +4 -4
- package/cdn/assets/{BtlAVeuTyW0FoJO42.js → ByJlomQcLV_4oZGw2.js} +4 -4
- package/cdn/assets/{B0LfV8NixGPYcBo92.js → C5yCm-TSfx74xL002.js} +8 -8
- package/cdn/assets/{BRus7kfM7SjEN70e2.js → C6v7rU3plIdoUWre2.js} +8 -8
- package/cdn/assets/{CW8lbman_jNmJl5d2.js → C8cUmy4K0YRcXOBu2.js} +9 -9
- package/cdn/assets/{hBx61KP4CdznZp-N.js → CDVkQjbphikzy5cP.js} +1 -1
- package/cdn/assets/{C8V4AJb4DdsmksEn2.js → CKGUrocJnCQ7uGt72.js} +480 -481
- package/cdn/assets/{pRwq1uOrNbhmZ0mM.js → CMBLrQ2K32IKaZHu.js} +2 -2
- package/{browser/esm/BVHJ8ud9-agkHUcd2.mjs → cdn/assets/COZ775SOX8hXz68T.js} +1 -1
- package/{browser/esm/KwAARJU7IGYWDuYf.mjs → cdn/assets/COgR28nGHeL59WLY.js} +1 -1
- package/cdn/assets/{Dz_GMq1kFESpvRRw2.js → COnOkTReK4TBuBx52.js} +12 -12
- package/cdn/assets/{1KR1J6vxDpw_yLbU.js → CQhIZf112hMPFsjD.js} +1 -1
- package/cdn/assets/{Cdgq7c9nPgcoTg8v.js → CTZpbsb07-ieZ8Sv.js} +1 -1
- package/{browser/esm/DkLusJh15CZ_-XSG2.mjs → cdn/assets/CTdaEmBnApCaYU--2.js} +1 -1
- package/cdn/assets/{Bk6d2dZzmAPEN5-k.js → CTsLj1vEfSqm_tm4.js} +1 -1
- package/{browser/esm/Bm8bttobs_RXO3av.mjs → cdn/assets/CTzZ6Xzw63GKixmU2.js} +206 -206
- package/cdn/assets/{B_bAdpPn5j1VFdEp.js → CVuIbopxUvt0-2rL.js} +7 -7
- package/cdn/assets/{CwfmCx2Ke4_FHoNA2.js → CWdwxTP6ZBP_KJE42.js} +7 -7
- package/cdn/assets/{DM7EYwNo9Xadex4L.js → CXULuRUQ4TAsm84q.js} +2 -2
- package/cdn/assets/{6Q0Zeea07mEpzLeJ.js → CZVi5-MceLzKtZCX.js} +1 -1
- package/cdn/assets/{BlZs6OBbHaWLHdyw2.js → CbWjq5gAF4Empxh12.js} +14 -14
- package/{browser/esm/BFWULyy65RLrorZ7.mjs → cdn/assets/Ccj-Gq_hyRtb93R-.js} +1 -1
- package/cdn/assets/{B17NIGOPfL-7fbgM.js → Cge4sxB_4OwAQwod.js} +3 -3
- package/cdn/assets/{B2bOeapx8xiCLxqL.js → CiIadd7oAsvq2iR9.js} +7 -7
- package/cdn/assets/{BvkiXQcXBMKUOItw.js → CkqsTJkl1cuZl14R.js} +6 -6
- package/cdn/assets/{BqujNTf--SuDncdC.js → Cl2Y6toZDsktHGlZ.js} +1705 -1704
- package/{browser/esm/DhYuSZrGEgUmal-k.mjs → cdn/assets/Cl5KKGUmrf4e7lB3.js} +1 -1
- package/{browser/esm/Sz8Cy_HaoUpTYt0h2.mjs → cdn/assets/ClIlIFc_63tI2r9S.js} +1 -1
- package/cdn/assets/{BH4J1ujX7bAH0qMe2.js → CpD0Rq1ei0UW4wvV2.js} +1 -1
- package/cdn/assets/{FR8EiuZjHCo_J-S2.js → CqFZWOO-31j7rHdf.js} +6 -6
- package/cdn/assets/{DhXISrCGYlstWBHR.js → CtPuA7JjziKZTOy42.js} +1 -1
- package/cdn/assets/{DFDuIPMXHvVuEUbr.js → CurA0H2pTTmFWY4N.js} +2 -2
- package/cdn/assets/{68Hv9gRdAVje7VBa2.js → CvC5oy9uXPzktYaz2.js} +3 -3
- package/{browser/esm/DSV2cLpO0S6ZhgXx2.mjs → cdn/assets/CwRqY3jy0pkU72Ty.js} +1 -1
- package/cdn/assets/{DI64FmdWeq_LEKJc2.js → CyhnDYQf3_cdp52w2.js} +98 -98
- package/cdn/assets/{CbLEZjCqlIOy_N9_2.js → CzQUeHmA3XvLXm-s2.js} +7 -7
- package/cdn/assets/{BJ6H2o3H404XGe25.js → D-YuVmmS-kKcV9xr2.js} +1 -1
- package/cdn/assets/D0OOkDRea_6_jbt2.js +24 -0
- package/cdn/assets/D0OOkDRea_6_jbt22.js +24 -0
- package/cdn/assets/{3aV4jURdjixaD7Td.js → D2fjpIsYf8xbJ3qt.js} +1 -1
- package/cdn/assets/{Bvm882bTb1-lNGnV.js → D4e9Z6yAYtli_UZy.js} +12 -12
- package/{browser/esm/DAaOeIPOo0FIBMxD.mjs → cdn/assets/D5F6MTHIhDIafUlO.js} +2 -2
- package/cdn/assets/{BT809Dj7TlZHoSyZ.js → DL-6XEhXlHkvgtF_.js} +1 -1
- package/cdn/assets/{DvjL9HtpbeTQiPsP.js → DMBv9-cZDNgrEPnj.js} +13 -13
- package/{browser/esm/CQ-1iT2BBp1-8btC2.mjs → cdn/assets/DUVV-c3N8XuG8lyr.js} +1 -1
- package/cdn/assets/{BiDbxIo_Dg-LwZSG.js → DWX7iaXMf0PrhOuh.js} +3 -3
- package/cdn/assets/{DM43PoUsN4Z2MKGv.js → DXnM0BURZgjm8R2W.js} +8 -8
- package/{browser/esm/D1On-UnlXgc4TMJi.mjs → cdn/assets/DYhGe1HslNmi3MWF2.js} +1 -1
- package/cdn/assets/{BcE0tCVATqH2DBXy.js → DZn5mtzClpE29qV5.js} +2 -2
- package/cdn/assets/{By3qfCkjrY1zpWuS.js → D_olfPNNH0l8JrFu.js} +197 -197
- package/cdn/assets/{D1zjNJZna0d4gavs2.js → DacWhkcqwjK3VnAA2.js} +16 -16
- package/cdn/assets/{aMyBfKW2geFo8ZLl2.js → DavD7unX6vAvDq492.js} +1 -1
- package/{browser/esm/BlABxqvzU3ccpiI22.mjs → cdn/assets/DcTAnKNgB4UiSyH-2.js} +1 -1
- package/cdn/assets/{Bh6yJtlVASN4H0732.js → Dctsk-QW8KKUje0b2.js} +13 -13
- package/{browser/esm/DX4LgT_oDH8L8ynK.mjs → cdn/assets/DeY3vEbV4T2WgYP2.js} +1 -1
- package/cdn/assets/{BGYLyOTa6Y58vnCV.js → DfzSY0wpTYYTWIY2.js} +8 -8
- package/cdn/assets/{0p987xGFUx0c99X0.js → Dm-vUbnccwQ63uHt.js} +4 -4
- package/{browser/esm/BUqPCIYNlP_6pm4M.mjs → cdn/assets/Dnk-x1RHZ-HCYKGy.js} +1 -1
- package/cdn/assets/{BrX2wKaY8H8My2Oe2.js → Dp_KsQdcEefYydgO2.js} +240 -240
- package/cdn/assets/{CSfpN1f335foeZWr2.js → DqJYCOxMI0h7olt52.js} +1 -1
- package/cdn/assets/{DgGD0naBo-36VC2J2.js → Ds-v1MKCCCRK5y__.js} +1 -1
- package/cdn/assets/{BWZ0ZtidQ4G3pcKO.js → DtFr2Mm_KqU6PZfY.js} +8 -8
- package/cdn/assets/{MkMSXY8qQyay8SYA.js → Dungsxp8KcjLsV23.js} +7 -7
- package/cdn/assets/{BGQ__v6SnaHlNG-Q2.js → DwGeIZ6nCjk9UiXk.js} +1 -1
- package/cdn/assets/{CvzRrID9YjfTwDuS2.js → Dwplym5bjb2VhwM82.js} +3 -3
- package/{browser/esm/CONqbv4wIi-kv-2L.mjs → cdn/assets/DyDgU8THo8GBGQ4M.js} +1 -1
- package/cdn/assets/{CLNQrXyj4goOCX7I2.js → DzRXZ_mhd60oh-A52.js} +9 -9
- package/cdn/assets/{DnPzMeDwU1jIwV-F2.js → Dzxg4kLxKyMklPNe2.js} +3 -3
- package/{browser/esm/whPiKYlX_LjBPzcR2.mjs → cdn/assets/HA0CYoHHAU5VgVW5.js} +1 -1
- package/cdn/assets/{DixF46mCuD3POuzl2.js → HfJJBylzZ4Z4VNp82.js} +6 -6
- package/cdn/assets/{Yp8HnZ2LZWDER3Db.js → IPVHjbNIjyMsOxUR2.js} +1 -1
- package/{browser/esm/BQTeVQNim2463X6I.mjs → cdn/assets/MIcNDPtZ2tOqEJLi.js} +1 -1
- package/cdn/assets/{385X3fXUstHKtEEF2.js → SHgLeVOmAOO6qQOR2.js} +7 -7
- package/cdn/assets/{DMjYAxfgXGEkymiO.js → TGZuqw2NN_OSIJO0.js} +2 -2
- package/cdn/assets/{EmSNRoqlc2C8WKZI.js → TJB9Rw8_wY-D-aKa.js} +1 -1
- package/cdn/assets/{CkASBS4AqNOy0df52.js → TikP0KAVISVw72_42.js} +161 -161
- package/cdn/assets/{Be9keF2r4uCzJZJx2.js → WMPhjIQfI4mQp3Bg.js} +8 -8
- package/cdn/assets/{-T6bQcEJ9HLY7UHV.js → Wy-cTg0gDeXuKv0a.js} +1 -1
- package/{browser/esm/Co-Q8GHNdftJgZAY2.mjs → cdn/assets/Z4L_LGr5jeXjCPo62.js} +1 -1
- package/cdn/assets/{D8NtGU-FHZgnbC0i.js → _fGcdybbKg6_ekOp.js} +2 -2
- package/cdn/assets/{CDEkMCYntkMJxwBi2.js → bY52psG3lmpa706j2.js} +3 -3
- package/cdn/assets/{BdfjaNIltJNsXLvf2.js → dL4ou82v-pjouw0s2.js} +12 -12
- package/cdn/assets/{FxykwtLK380Ynhjh2.js → ioECgEEk-HCEo_qL2.js} +1 -1
- package/cdn/assets/{D76lWYCrAdSMKvm_2.js → kaSysgj5TE-xQXsG2.js} +5 -5
- package/cdn/assets/{BJ95rY1UBb83xuD52.js → ko_gqiF0zCGAHO1l2.js} +9 -9
- package/cdn/assets/{dzdZI0rQ6gtonL0G.js → me8l7609yOrUhpBU.js} +1 -1
- package/cdn/assets/{CKYDcG1HSXTvQl6K2.js → nBpkSj6rxz09lHp42.js} +7 -7
- package/cdn/assets/{Dd_TEe3cUSRc5o_s.js → nzKpfea1MNkFBMak.js} +7 -7
- package/cdn/assets/{n4um87qBckL9pgR9.js → olHQykNiRoLYpdJB.js} +5 -5
- package/{browser/esm/DHfiSgLq1g6VAhWI.mjs → cdn/assets/q1AmoBDraQE-T8im2.js} +2 -2
- package/cdn/assets/{BD5W4MjL2vYljVhR.js → r4hni7MWaP9SUvzC.js} +7 -7
- package/cdn/assets/{Bh64Y2xehO25OC_t.js → s_afm7GAx-6Ktr_x.js} +4228 -4228
- package/cdn/assets/{BhydwJ4RldNTRaas.js → uwB2_ERsYGldq4on.js} +1 -1
- package/cdn/assets/{ChszL_ibfMtBV0z3.js → w9gI9mzOHGtRSOFe.js} +2 -2
- package/cdn/assets/{Ay1mO-24lauwvlWS2.js → xH_Bg7r0fryoCvSl2.js} +12 -12
- package/cdn/assets/{CHbhZ3r3ql2BYXDc.js → zsqoPH22vSCRd7nP.js} +1 -1
- package/cdn/index.js +2 -2
- package/package.json +3 -3
- package/browser/cjs/Brqufbzvg4y0YTM0.cjs +0 -3
- package/cdn/assets/BH8YLTY6BUcMBwtX.js +0 -24
- package/cdn/assets/BH8YLTY6BUcMBwtX2.js +0 -24
- /package/browser/cjs/{507hQYooKKjnRzsZ.cjs → 507hQYooKKjnRzsZ2.cjs} +0 -0
- /package/browser/cjs/{BK0SCfN_VZYqBxoQ.cjs → BK0SCfN_VZYqBxoQ2.cjs} +0 -0
- /package/browser/cjs/{BWDfauDHqB6U_2ka2.cjs → BWDfauDHqB6U_2ka.cjs} +0 -0
- /package/browser/cjs/{C2uDl8VIJqh58YF_2.cjs → C2uDl8VIJqh58YF_.cjs} +0 -0
- /package/browser/cjs/{C9C-pr-T_ThweQX92.cjs → C9C-pr-T_ThweQX9.cjs} +0 -0
- /package/browser/cjs/{CnZfa45XxA-9Jhmp.cjs → CnZfa45XxA-9Jhmp2.cjs} +0 -0
- /package/browser/cjs/{CpJJh4UnFl1_qFui.cjs → CpJJh4UnFl1_qFui2.cjs} +0 -0
- /package/browser/cjs/{CrZlUtdX1h2RUnCP.cjs → CrZlUtdX1h2RUnCP2.cjs} +0 -0
- /package/browser/cjs/{D8-KovdJ0LjxqCe2.cjs → D8-KovdJ0LjxqCe22.cjs} +0 -0
- /package/browser/cjs/{DCIlWcGDrp-5PDoA2.cjs → DCIlWcGDrp-5PDoA.cjs} +0 -0
- /package/browser/cjs/{DDnGLOLTqLFsdUDS2.cjs → DDnGLOLTqLFsdUDS.cjs} +0 -0
- /package/browser/cjs/{DG2kqsWRUtVugjay2.cjs → DG2kqsWRUtVugjay.cjs} +0 -0
- /package/browser/cjs/{EeOVMRq7TuptFKTc.cjs → EeOVMRq7TuptFKTc2.cjs} +0 -0
- /package/browser/cjs/{aONv0Ys3C8xmnaR82.cjs → aONv0Ys3C8xmnaR8.cjs} +0 -0
- /package/browser/cjs/{bM25C5avKgBAJVfk.cjs → bM25C5avKgBAJVfk2.cjs} +0 -0
- /package/browser/cjs/{fqTQ_p3ehzUvc1tF.cjs → fqTQ_p3ehzUvc1tF2.cjs} +0 -0
- /package/browser/cjs/{h3dw1jAp2J5Pu4p32.cjs → h3dw1jAp2J5Pu4p3.cjs} +0 -0
- /package/browser/cjs/{z_rZE1OHFPpdGBh42.cjs → z_rZE1OHFPpdGBh4.cjs} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.2
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { n as e, r as t } from "./
|
|
8
|
-
import { i as n, r } from "./
|
|
9
|
-
import { A as i, _ as a, d as o, f as s, u as c, v as l } from "./
|
|
10
|
-
import { r as u, t as d } from "./
|
|
11
|
-
import { $t as f, B as p, Ct as m, Et as h, Ot as g, Rt as _, U as v, Ut as y, Xt as b, Yt as x, Zt as S, _ as C, _t as w, at as T, c as E, ct as D, dt as O, et as k, f as A, h as j, in as M, jt as N, lt as P, m as F, n as ee, nt as te, ot as ne, p as re, qt as I, rt as L, t as R, tn as z, tt as B, vt as V, wt as H } from "./
|
|
12
|
-
import { $ as ie, B as ae, D as oe, E as se, F as U, H as W, I as ce, L as le, M as ue, N as G, Q as de, St as fe, U as pe, V as me, W as he, Y as ge, _ as
|
|
13
|
-
import { b as
|
|
14
|
-
import { n as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { $ as
|
|
19
|
-
import { t as
|
|
20
|
-
import { n as
|
|
21
|
-
import {
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
24
|
-
import { c as sn } from "./
|
|
25
|
-
import {
|
|
26
|
-
import { a as _n, c as vn, d as yn, h as bn, r as xn } from "./
|
|
27
|
-
import { i as Sn, n as Cn, r as wn, t as Tn } from "./
|
|
28
|
-
import { n as En, r as Dn, t as On } from "./
|
|
29
|
-
import { n as kn, r as An, t as jn } from "./
|
|
30
|
-
import { n as Mn } from "./
|
|
31
|
-
import { a as Nn, i as Pn, n as Fn, o as In, r as Ln, t as Rn } from "./
|
|
7
|
+
import { n as e, r as t } from "./Ccj-Gq_hyRtb93R-.mjs";
|
|
8
|
+
import { i as n, r } from "./C8KBkOocNYDNWBDu.mjs";
|
|
9
|
+
import { A as i, _ as a, d as o, f as s, u as c, v as l } from "./ioECgEEk-HCEo_qL.mjs";
|
|
10
|
+
import { r as u, t as d } from "./AS-KiFBez1nwB_vC.mjs";
|
|
11
|
+
import { $t as f, B as p, Ct as m, Et as h, Ot as g, Rt as _, U as v, Ut as y, Xt as b, Yt as x, Zt as S, _ as C, _t as w, at as T, c as E, ct as D, dt as O, et as k, f as A, h as j, in as M, jt as N, lt as P, m as F, n as ee, nt as te, ot as ne, p as re, qt as I, rt as L, t as R, tn as z, tt as B, vt as V, wt as H } from "./DvFh-0k-PvKrKwkt.mjs";
|
|
12
|
+
import { $ as ie, B as ae, D as oe, E as se, F as U, H as W, I as ce, L as le, M as ue, N as G, Q as de, St as fe, U as pe, V as me, W as he, Y as ge, _ as _e, _t as ve, c as ye, ct as be, f as xe, ft as Se, gt as Ce, ht as we, it as Te, l as Ee, lt as De, mt as Oe, nt as ke, ot as Ae, p as je, pt as Me, q as Ne, s as Pe, st as Fe, ut as Ie, v as Le, wt as Re, xt as ze } from "./C5wklWg-nVHGfhda.mjs";
|
|
13
|
+
import { b as Be, c as Ve, h as He, l as Ue, m as We, s as Ge, t as Ke, u as qe, v as Je, x as Ye, y as Xe } from "./DMXx0lIMiLsQgbVK.mjs";
|
|
14
|
+
import { n as Ze, t as Qe } from "./DBVG6J7cidK5K5QE.mjs";
|
|
15
|
+
import { t as $e } from "./BKY2gKXOB637hih-.mjs";
|
|
16
|
+
import { t as et } from "./CVtQ8m0S6nnXk7XH.mjs";
|
|
17
|
+
import { t as tt } from "./Bp1kaqNxSV0Hskwb.mjs";
|
|
18
|
+
import { $ as nt, At as rt, B as it, C as at, Ct as ot, Dt as st, Et as ct, Ft as lt, H as ut, It as dt, K as ft, Lt as pt, M as mt, Mt as ht, O as gt, Ot as _t, Pt as vt, Rt as yt, St as K, T as bt, Tt as xt, U as St, Vt as Ct, W as wt, Z as Tt, _ as Et, at as Dt, b as Ot, bt as kt, ct as At, d as jt, et as Mt, g as Nt, gt as Pt, ht as Ft, jt as It, l as Lt, lt as Rt, mt as zt, n as Bt, ot as Vt, r as Ht, s as Ut, st as Wt, t as Gt, tt as Kt, ut as qt, v as Jt, vt as q, w as Yt, wt as Xt, xt as Zt, yt as Qt, z as $t } from "./CTpri2fSv5dZbUwJ.mjs";
|
|
19
|
+
import { t as en } from "./CbGZtQlImYkXEGhI.mjs";
|
|
20
|
+
import { n as tn, t as nn } from "./DpjPEgS5W70lK0GU.mjs";
|
|
21
|
+
import { r as rn, t as an } from "./DnS-xX8jkMERhPbF.mjs";
|
|
22
|
+
import { t as on } from "./GzFeH6oCN6eWnXbX.mjs";
|
|
23
|
+
import { t as J } from "./IPVHjbNIjyMsOxUR.mjs";
|
|
24
|
+
import { c as sn } from "./DqJYCOxMI0h7olt5.mjs";
|
|
25
|
+
import { C as cn, F as ln, H as un, J as Y, S as dn, Y as X, Z, ct as fn, ln as pn, tt as mn, x as hn, y as gn } from "./BDJXGdb3hQGrna00.mjs";
|
|
26
|
+
import { a as _n, c as vn, d as yn, h as bn, r as xn } from "./DCILZE5X4dLAM7Qa.mjs";
|
|
27
|
+
import { i as Sn, n as Cn, r as wn, t as Tn } from "./BmNqTvvRVjF_c1qz.mjs";
|
|
28
|
+
import { n as En, r as Dn, t as On } from "./B9yaWiEn9khUlCmT.mjs";
|
|
29
|
+
import { n as kn, r as An, t as jn } from "./9LhOHxxuP2jO-YDv.mjs";
|
|
30
|
+
import { n as Mn } from "./DJl3zpaAG7xtX-vB.mjs";
|
|
31
|
+
import { a as Nn, i as Pn, n as Fn, o as In, r as Ln, t as Rn } from "./0HCb-Mkw8Otpj9B6.mjs";
|
|
32
32
|
var Q = t(n(), 1);
|
|
33
33
|
function zn(e, t, n, r, i) {
|
|
34
34
|
let [a, o] = Q.useState(() => i && n ? n(e).matches : r ? r(e).matches : t);
|
|
@@ -75,7 +75,7 @@ function Hn(e = {}) {
|
|
|
75
75
|
return function(e, n = {}) {
|
|
76
76
|
let r = C();
|
|
77
77
|
r && t && (r = r[t] || r);
|
|
78
|
-
let i = typeof window < "u" && window.matchMedia !== void 0 ? window.matchMedia : null, { defaultMatches: a = !1, matchMedia: o, ssrMatchMedia: s = null, noSsr: c = !1 } =
|
|
78
|
+
let i = typeof window < "u" && window.matchMedia !== void 0 ? window.matchMedia : null, { defaultMatches: a = !1, matchMedia: o, ssrMatchMedia: s = null, noSsr: c = !1 } = Re({
|
|
79
79
|
name: "MuiUseMediaQuery",
|
|
80
80
|
props: n,
|
|
81
81
|
theme: r
|
|
@@ -155,7 +155,7 @@ function er(e, t, n) {
|
|
|
155
155
|
return r[n] = t, r.sort(Yn);
|
|
156
156
|
}
|
|
157
157
|
function tr(e, t, n, r) {
|
|
158
|
-
let i =
|
|
158
|
+
let i = Te(Me(e.current));
|
|
159
159
|
if (!se(e.current, i) || Number(i?.getAttribute("data-index")) !== t) {
|
|
160
160
|
let n = e.current?.querySelector(`[type="range"][data-index="${t}"]`);
|
|
161
161
|
n != null && (r == null ? n.focus({ preventScroll: !0 }) : n.focus({
|
|
@@ -185,13 +185,13 @@ var rr = {
|
|
|
185
185
|
}
|
|
186
186
|
}, ir = (e) => e;
|
|
187
187
|
function ar(e) {
|
|
188
|
-
let { "aria-labelledby": t, defaultValue: n, disabled: r = !1, disableSwap: i = !1, isRtl: a = !1, marks: o = !1, max: s = 100, min: c = 0, name: l, onChange: u, onChangeCommitted: d, orientation: f = "horizontal", rootRef: p, scale: m = ir, step: h = 1, shiftStep: g = 10, tabIndex: _, value: v } = e, y = Q.useRef(void 0), b = Q.useRef(null), [x, S] = Q.useState(-1), [C, w] = Q.useState(-1), [T, E] = Q.useState(!1), D = Q.useRef(0), O = Q.useRef(-1), k = Q.useRef(!1), j = Q.useRef(-1), M =
|
|
188
|
+
let { "aria-labelledby": t, defaultValue: n, disabled: r = !1, disableSwap: i = !1, isRtl: a = !1, marks: o = !1, max: s = 100, min: c = 0, name: l, onChange: u, onChangeCommitted: d, orientation: f = "horizontal", rootRef: p, scale: m = ir, step: h = 1, shiftStep: g = 10, tabIndex: _, value: v } = e, y = Q.useRef(void 0), b = Q.useRef(null), [x, S] = Q.useState(-1), [C, w] = Q.useState(-1), [T, E] = Q.useState(!1), D = Q.useRef(0), O = Q.useRef(-1), k = Q.useRef(!1), j = Q.useRef(-1), M = Oe(() => {
|
|
189
189
|
b.current != null && (cancelAnimationFrame(b.current), b.current = null);
|
|
190
190
|
}), N = Q.useRef(null), [P, F] = ge({
|
|
191
191
|
controlled: v,
|
|
192
192
|
default: n ?? c,
|
|
193
193
|
name: "Slider"
|
|
194
|
-
}), ee =
|
|
194
|
+
}), ee = Oe((e, t, n) => {
|
|
195
195
|
let r = "nativeEvent" in e ? e.nativeEvent : e, i = new r.constructor(r.type, r);
|
|
196
196
|
Object.defineProperty(i, "target", {
|
|
197
197
|
writable: !0,
|
|
@@ -229,7 +229,7 @@ function ar(e) {
|
|
|
229
229
|
let e = Array(re.length);
|
|
230
230
|
for (let t = 0; t < re.length; t += 1) e[t] = re[t].value;
|
|
231
231
|
return e;
|
|
232
|
-
}, [re]), [L, R] = Q.useState(-1), z = Q.useRef(null), B =
|
|
232
|
+
}, [re]), [L, R] = Q.useState(-1), z = Q.useRef(null), B = we(p, z), V = (e) => (t) => {
|
|
233
233
|
let n = Number(t.currentTarget.getAttribute("data-index"));
|
|
234
234
|
ae(t.target) && R(n), w(n), e?.onFocus?.(t);
|
|
235
235
|
}, H = (e) => (t) => {
|
|
@@ -306,7 +306,7 @@ function ar(e) {
|
|
|
306
306
|
e?.onKeyDown?.(t);
|
|
307
307
|
};
|
|
308
308
|
fe(() => {
|
|
309
|
-
let e =
|
|
309
|
+
let e = Te(Me(z.current));
|
|
310
310
|
r && se(z.current, e) && e != null && "blur" in e && e.blur();
|
|
311
311
|
}, [r]), r && x !== -1 && S(-1), r && L !== -1 && R(-1);
|
|
312
312
|
let U = Q.useRef(void 0), W = f;
|
|
@@ -334,20 +334,20 @@ function ar(e) {
|
|
|
334
334
|
newValue: u,
|
|
335
335
|
activeIndex: d
|
|
336
336
|
};
|
|
337
|
-
}, le =
|
|
337
|
+
}, le = Oe((e) => {
|
|
338
338
|
if ("pointerId" in e && e.pointerId !== j.current) return;
|
|
339
339
|
let t = Zn(e, y);
|
|
340
340
|
if (!t) return;
|
|
341
341
|
if (D.current += 1, e.type === "pointermove" && e.buttons === 0) return void ue(e);
|
|
342
342
|
let n = ce(t);
|
|
343
343
|
n && (tr(z, n.activeIndex, S, !1), O.current = n.activeIndex, F(n.newValue), !T && D.current > 2 && E(!0), u && !nr(n.newValue, P) && ee(e, n.newValue, n.activeIndex));
|
|
344
|
-
}), ue =
|
|
344
|
+
}), ue = Oe((e) => {
|
|
345
345
|
if ("pointerId" in e && e.pointerId !== j.current) return;
|
|
346
346
|
let t = Zn(e, y);
|
|
347
347
|
if (E(!1), !t) return;
|
|
348
348
|
let n = ce(t);
|
|
349
349
|
S(-1), e.type === "touchend" && w(-1), n && d && d(e, N.current ?? n.newValue), "pointerType" in e && z.current?.hasPointerCapture(e.pointerId) && z.current.releasePointerCapture(e.pointerId), y.current = void 0, j.current = -1, de();
|
|
350
|
-
}), G =
|
|
350
|
+
}), G = Oe((e) => {
|
|
351
351
|
if (r) return;
|
|
352
352
|
if (k.current) {
|
|
353
353
|
k.current = !1;
|
|
@@ -364,10 +364,10 @@ function ar(e) {
|
|
|
364
364
|
t && (tr(z, t.activeIndex, S, !1), O.current = t.activeIndex, F(t.newValue), u && !nr(t.newValue, P) && ee(e, t.newValue, t.activeIndex));
|
|
365
365
|
}
|
|
366
366
|
D.current = 0;
|
|
367
|
-
let i =
|
|
367
|
+
let i = Me(z.current);
|
|
368
368
|
i.addEventListener("touchmove", le, { passive: !0 }), i.addEventListener("touchend", ue, { passive: !0 });
|
|
369
369
|
}), de = Q.useCallback(() => {
|
|
370
|
-
let e =
|
|
370
|
+
let e = Me(z.current);
|
|
371
371
|
e.removeEventListener("pointermove", le), e.removeEventListener("pointerup", ue), e.removeEventListener("touchmove", le), e.removeEventListener("touchend", ue);
|
|
372
372
|
}, [ue, le]);
|
|
373
373
|
Q.useEffect(() => {
|
|
@@ -386,10 +386,10 @@ function ar(e) {
|
|
|
386
386
|
de,
|
|
387
387
|
M
|
|
388
388
|
]);
|
|
389
|
-
let me = Qn(te ? ne[0] : c, c, s), he = Qn(ne[ne.length - 1], c, s) - me,
|
|
389
|
+
let me = Qn(te ? ne[0] : c, c, s), he = Qn(ne[ne.length - 1], c, s) - me, _e = (e) => (t) => {
|
|
390
390
|
e.onMouseLeave?.(t), w(-1);
|
|
391
|
-
},
|
|
392
|
-
return f === "vertical" && (
|
|
391
|
+
}, ve;
|
|
392
|
+
return f === "vertical" && (ve = a ? "vertical-rl" : "vertical-lr"), {
|
|
393
393
|
active: x,
|
|
394
394
|
axis: W,
|
|
395
395
|
axisProps: rr,
|
|
@@ -428,7 +428,7 @@ function ar(e) {
|
|
|
428
428
|
direction: a ? "rtl" : "ltr",
|
|
429
429
|
width: "100%",
|
|
430
430
|
height: "100%",
|
|
431
|
-
writingMode:
|
|
431
|
+
writingMode: ve
|
|
432
432
|
}
|
|
433
433
|
};
|
|
434
434
|
},
|
|
@@ -440,14 +440,14 @@ function ar(e) {
|
|
|
440
440
|
U.current = -1;
|
|
441
441
|
let n = ce(t);
|
|
442
442
|
if (n) {
|
|
443
|
-
let t = z.current?.querySelector(`input[type="range"][data-index="${n.activeIndex}"]`), r =
|
|
443
|
+
let t = z.current?.querySelector(`input[type="range"][data-index="${n.activeIndex}"]`), r = Me(z.current), i = t != null && t === Te(r);
|
|
444
444
|
S(n.activeIndex), O.current = n.activeIndex, i ? e.preventDefault() : (M(), b.current = requestAnimationFrame(() => {
|
|
445
445
|
b.current = null, tr(z, n.activeIndex, void 0, !1);
|
|
446
446
|
})), F(n.newValue), u && !nr(n.newValue, P) && ee(e, n.newValue, n.activeIndex);
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
449
|
D.current = 0, j.current = e.pointerId;
|
|
450
|
-
let n =
|
|
450
|
+
let n = Me(z.current);
|
|
451
451
|
try {
|
|
452
452
|
e.currentTarget.setPointerCapture(e.pointerId);
|
|
453
453
|
} catch {}
|
|
@@ -471,7 +471,7 @@ function ar(e) {
|
|
|
471
471
|
let t = Number(e.currentTarget.getAttribute("data-index"));
|
|
472
472
|
w(t);
|
|
473
473
|
}),
|
|
474
|
-
onMouseLeave:
|
|
474
|
+
onMouseLeave: _e(t)
|
|
475
475
|
};
|
|
476
476
|
var r;
|
|
477
477
|
return {
|
|
@@ -500,22 +500,22 @@ var $ = t(r(), 1);
|
|
|
500
500
|
function or(e) {
|
|
501
501
|
return e;
|
|
502
502
|
}
|
|
503
|
-
var sr =
|
|
503
|
+
var sr = Ie("span", {
|
|
504
504
|
name: "MuiSlider",
|
|
505
505
|
slot: "Root",
|
|
506
506
|
overridesResolver: (e, t) => {
|
|
507
507
|
let { ownerState: n } = e;
|
|
508
508
|
return [
|
|
509
509
|
t.root,
|
|
510
|
-
t[`color${
|
|
511
|
-
n.size !== "medium" && t[`size${
|
|
510
|
+
t[`color${Fe(n.color)}`],
|
|
511
|
+
n.size !== "medium" && t[`size${Fe(n.size)}`],
|
|
512
512
|
n.marked && t.marked,
|
|
513
513
|
n.orientation === "vertical" && t.vertical,
|
|
514
514
|
n.track === "inverted" && t.trackInverted,
|
|
515
515
|
!1 === n.track && t.trackFalse
|
|
516
516
|
];
|
|
517
517
|
}
|
|
518
|
-
})(
|
|
518
|
+
})(De(({ theme: e }) => ({
|
|
519
519
|
borderRadius: 12,
|
|
520
520
|
boxSizing: "content-box",
|
|
521
521
|
display: "inline-block",
|
|
@@ -582,7 +582,7 @@ var sr = Fe("span", {
|
|
|
582
582
|
style: { marginRight: 44 }
|
|
583
583
|
}
|
|
584
584
|
]
|
|
585
|
-
}))), cr =
|
|
585
|
+
}))), cr = Ie("span", {
|
|
586
586
|
name: "MuiSlider",
|
|
587
587
|
slot: "Rail"
|
|
588
588
|
})({
|
|
@@ -619,16 +619,16 @@ var sr = Fe("span", {
|
|
|
619
619
|
style: { opacity: 1 }
|
|
620
620
|
}
|
|
621
621
|
]
|
|
622
|
-
}), lr =
|
|
622
|
+
}), lr = Ie("span", {
|
|
623
623
|
name: "MuiSlider",
|
|
624
624
|
slot: "Track"
|
|
625
|
-
})(
|
|
625
|
+
})(De(({ theme: e }) => ({
|
|
626
626
|
display: "block",
|
|
627
627
|
position: "absolute",
|
|
628
628
|
borderRadius: "inherit",
|
|
629
629
|
border: "1px solid currentColor",
|
|
630
630
|
backgroundColor: "currentColor",
|
|
631
|
-
...
|
|
631
|
+
...ke(e, [
|
|
632
632
|
"left",
|
|
633
633
|
"width",
|
|
634
634
|
"bottom",
|
|
@@ -675,10 +675,10 @@ var sr = Fe("span", {
|
|
|
675
675
|
} }
|
|
676
676
|
}))
|
|
677
677
|
]
|
|
678
|
-
}))), ur =
|
|
678
|
+
}))), ur = Ie("span", {
|
|
679
679
|
name: "MuiSlider",
|
|
680
680
|
slot: "Thumb"
|
|
681
|
-
})(
|
|
681
|
+
})(De(({ theme: e }) => ({
|
|
682
682
|
position: "absolute",
|
|
683
683
|
width: 20,
|
|
684
684
|
height: 20,
|
|
@@ -689,7 +689,7 @@ var sr = Fe("span", {
|
|
|
689
689
|
display: "flex",
|
|
690
690
|
alignItems: "center",
|
|
691
691
|
justifyContent: "center",
|
|
692
|
-
...
|
|
692
|
+
...ke(e, [
|
|
693
693
|
"box-shadow",
|
|
694
694
|
"left",
|
|
695
695
|
"bottom"
|
|
@@ -748,7 +748,7 @@ var sr = Fe("span", {
|
|
|
748
748
|
}
|
|
749
749
|
}))
|
|
750
750
|
]
|
|
751
|
-
}))), dr =
|
|
751
|
+
}))), dr = Ie(function(e) {
|
|
752
752
|
let { children: t, className: n, value: r } = e, i = ((e) => {
|
|
753
753
|
let { open: t } = e;
|
|
754
754
|
return {
|
|
@@ -771,12 +771,12 @@ var sr = Fe("span", {
|
|
|
771
771
|
}, {
|
|
772
772
|
name: "MuiSlider",
|
|
773
773
|
slot: "ValueLabel"
|
|
774
|
-
})(
|
|
774
|
+
})(De(({ theme: e }) => ({
|
|
775
775
|
zIndex: 1,
|
|
776
776
|
whiteSpace: "nowrap",
|
|
777
777
|
...e.typography.body2,
|
|
778
778
|
fontWeight: 500,
|
|
779
|
-
...
|
|
779
|
+
...ke(e, ["transform"], { duration: e.transitions.duration.shortest }),
|
|
780
780
|
position: "absolute",
|
|
781
781
|
backgroundColor: (e.vars || e).palette.grey[600],
|
|
782
782
|
borderRadius: 2,
|
|
@@ -840,15 +840,15 @@ var sr = Fe("span", {
|
|
|
840
840
|
style: { right: "20px" }
|
|
841
841
|
}
|
|
842
842
|
]
|
|
843
|
-
}))), fr =
|
|
843
|
+
}))), fr = Ie("span", {
|
|
844
844
|
name: "MuiSlider",
|
|
845
845
|
slot: "Mark",
|
|
846
|
-
shouldForwardProp: (e) =>
|
|
846
|
+
shouldForwardProp: (e) => Se(e) && e !== "markActive",
|
|
847
847
|
overridesResolver: (e, t) => {
|
|
848
848
|
let { markActive: n } = e;
|
|
849
849
|
return [t.mark, n && t.markActive];
|
|
850
850
|
}
|
|
851
|
-
})(
|
|
851
|
+
})(De(({ theme: e }) => ({
|
|
852
852
|
position: "absolute",
|
|
853
853
|
width: 2,
|
|
854
854
|
height: 2,
|
|
@@ -877,11 +877,11 @@ var sr = Fe("span", {
|
|
|
877
877
|
}
|
|
878
878
|
}
|
|
879
879
|
]
|
|
880
|
-
}))), pr =
|
|
880
|
+
}))), pr = Ie("span", {
|
|
881
881
|
name: "MuiSlider",
|
|
882
882
|
slot: "MarkLabel",
|
|
883
|
-
shouldForwardProp: (e) =>
|
|
884
|
-
})(
|
|
883
|
+
shouldForwardProp: (e) => Se(e) && e !== "markLabelActive"
|
|
884
|
+
})(De(({ theme: e }) => ({
|
|
885
885
|
...e.typography.body2,
|
|
886
886
|
color: (e.vars || e).palette.text.secondary,
|
|
887
887
|
position: "absolute",
|
|
@@ -909,10 +909,10 @@ var sr = Fe("span", {
|
|
|
909
909
|
}
|
|
910
910
|
]
|
|
911
911
|
}))), mr = ({ children: e }) => e, hr = Q.forwardRef(function(e, t) {
|
|
912
|
-
let n =
|
|
912
|
+
let n = be({
|
|
913
913
|
props: e,
|
|
914
914
|
name: "MuiSlider"
|
|
915
|
-
}), r =
|
|
915
|
+
}), r = ze(), { "aria-label": i, "aria-valuetext": a, "aria-labelledby": o, color: s = "primary", classes: c, className: l, disableSwap: u = !1, disabled: d = !1, getAriaLabel: f, getAriaValueText: p, marks: m = !1, max: h = 100, min: g = 0, name: _, onChange: v, onChangeCommitted: y, orientation: b = "horizontal", shiftStep: x = 10, size: S = "medium", step: C = 1, scale: w = or, slotProps: T = {}, slots: E = {}, tabIndex: D, track: O = "normal", value: k, valueLabelDisplay: A = "off", valueLabelFormat: M = or, ...N } = n, P = {
|
|
916
916
|
...n,
|
|
917
917
|
isRtl: r,
|
|
918
918
|
max: h,
|
|
@@ -937,7 +937,7 @@ var sr = Fe("span", {
|
|
|
937
937
|
P.marked = V.length > 0 && V.some((e) => e.label), P.dragging = B, P.focusedThumbIndex = R;
|
|
938
938
|
let se = ((e) => {
|
|
939
939
|
let { disabled: t, dragging: n, marked: r, orientation: i, track: a, classes: o, color: s, size: c } = e;
|
|
940
|
-
return
|
|
940
|
+
return ve({
|
|
941
941
|
root: [
|
|
942
942
|
"root",
|
|
943
943
|
t && "disabled",
|
|
@@ -946,8 +946,8 @@ var sr = Fe("span", {
|
|
|
946
946
|
i === "vertical" && "vertical",
|
|
947
947
|
a === "inverted" && "trackInverted",
|
|
948
948
|
!1 === a && "trackFalse",
|
|
949
|
-
s && `color${
|
|
950
|
-
c && `size${
|
|
949
|
+
s && `color${Fe(s)}`,
|
|
950
|
+
c && `size${Fe(c)}`
|
|
951
951
|
],
|
|
952
952
|
rail: ["rail"],
|
|
953
953
|
track: ["track"],
|
|
@@ -998,17 +998,17 @@ var sr = Fe("span", {
|
|
|
998
998
|
externalForwardedProps: U,
|
|
999
999
|
ownerState: P,
|
|
1000
1000
|
className: se.valueLabel
|
|
1001
|
-
}), [
|
|
1001
|
+
}), [_e, ye] = W("mark", {
|
|
1002
1002
|
elementType: fr,
|
|
1003
1003
|
externalForwardedProps: U,
|
|
1004
1004
|
ownerState: P,
|
|
1005
1005
|
className: se.mark
|
|
1006
|
-
}), [
|
|
1006
|
+
}), [xe, Se] = W("markLabel", {
|
|
1007
1007
|
elementType: pr,
|
|
1008
1008
|
externalForwardedProps: U,
|
|
1009
1009
|
ownerState: P,
|
|
1010
1010
|
className: se.markLabel
|
|
1011
|
-
}), [
|
|
1011
|
+
}), [we, Te] = W("input", {
|
|
1012
1012
|
elementType: "input",
|
|
1013
1013
|
getSlotProps: te,
|
|
1014
1014
|
externalForwardedProps: U,
|
|
@@ -1021,32 +1021,32 @@ var sr = Fe("span", {
|
|
|
1021
1021
|
(0, $.jsx)(de, { ...fe }),
|
|
1022
1022
|
V.filter((e) => e.value >= g && e.value <= h).map((e, t) => {
|
|
1023
1023
|
let n = Qn(e.value, g, h), r = F[L].offset(n), i;
|
|
1024
|
-
return i = !1 === O ? H.includes(e.value) : O === "normal" && (z ? e.value >= H[0] && e.value <= H[H.length - 1] : e.value <= H[0]) || O === "inverted" && (z ? e.value <= H[0] || e.value >= H[H.length - 1] : e.value >= H[0]), (0, $.jsxs)(Q.Fragment, { children: [(0, $.jsx)(
|
|
1024
|
+
return i = !1 === O ? H.includes(e.value) : O === "normal" && (z ? e.value >= H[0] && e.value <= H[H.length - 1] : e.value <= H[0]) || O === "inverted" && (z ? e.value <= H[0] || e.value >= H[H.length - 1] : e.value >= H[0]), (0, $.jsxs)(Q.Fragment, { children: [(0, $.jsx)(_e, {
|
|
1025
1025
|
"data-index": t,
|
|
1026
|
-
...
|
|
1027
|
-
...!
|
|
1026
|
+
...ye,
|
|
1027
|
+
...!Ce(_e) && { markActive: i },
|
|
1028
1028
|
style: {
|
|
1029
1029
|
...r,
|
|
1030
|
-
...
|
|
1030
|
+
...ye.style
|
|
1031
1031
|
},
|
|
1032
|
-
className: j(
|
|
1033
|
-
}), e.label == null ? null : (0, $.jsx)(
|
|
1032
|
+
className: j(ye.className, i && se.markActive)
|
|
1033
|
+
}), e.label == null ? null : (0, $.jsx)(xe, {
|
|
1034
1034
|
"aria-hidden": !0,
|
|
1035
1035
|
"data-index": t,
|
|
1036
|
-
...
|
|
1037
|
-
...!
|
|
1036
|
+
...Se,
|
|
1037
|
+
...!Ce(xe) && { markLabelActive: i },
|
|
1038
1038
|
style: {
|
|
1039
1039
|
...r,
|
|
1040
|
-
...
|
|
1040
|
+
...Se.style
|
|
1041
1041
|
},
|
|
1042
|
-
className: j(se.markLabel,
|
|
1042
|
+
className: j(se.markLabel, Se.className, i && se.markLabelActive),
|
|
1043
1043
|
children: e.label
|
|
1044
1044
|
})] }, t);
|
|
1045
1045
|
}),
|
|
1046
1046
|
H.map((e, t) => {
|
|
1047
1047
|
let n = Qn(e, g, h), r = F[L].offset(n), s = A === "off" ? mr : he;
|
|
1048
1048
|
return (0, $.jsx)(s, {
|
|
1049
|
-
...!
|
|
1049
|
+
...!Ce(s) && {
|
|
1050
1050
|
valueLabelFormat: M,
|
|
1051
1051
|
valueLabelDisplay: A,
|
|
1052
1052
|
value: typeof M == "function" ? M(w(e), t) : M,
|
|
@@ -1064,14 +1064,14 @@ var sr = Fe("span", {
|
|
|
1064
1064
|
...oe(t),
|
|
1065
1065
|
...me.style
|
|
1066
1066
|
},
|
|
1067
|
-
children: (0, $.jsx)(
|
|
1067
|
+
children: (0, $.jsx)(we, {
|
|
1068
1068
|
"data-index": t,
|
|
1069
1069
|
"aria-label": f ? f(t) : i,
|
|
1070
1070
|
"aria-valuenow": w(e),
|
|
1071
1071
|
"aria-labelledby": o,
|
|
1072
1072
|
"aria-valuetext": p ? p(w(e), t) : a,
|
|
1073
1073
|
value: H[t],
|
|
1074
|
-
...
|
|
1074
|
+
...Te
|
|
1075
1075
|
})
|
|
1076
1076
|
})
|
|
1077
1077
|
}, t);
|
|
@@ -1093,7 +1093,7 @@ var _r = re("MuiTab", [
|
|
|
1093
1093
|
"fullWidth",
|
|
1094
1094
|
"wrapped",
|
|
1095
1095
|
"icon"
|
|
1096
|
-
]), vr =
|
|
1096
|
+
]), vr = Ie(le, {
|
|
1097
1097
|
name: "MuiTab",
|
|
1098
1098
|
slot: "Root",
|
|
1099
1099
|
overridesResolver: (e, t) => {
|
|
@@ -1101,13 +1101,13 @@ var _r = re("MuiTab", [
|
|
|
1101
1101
|
return [
|
|
1102
1102
|
t.root,
|
|
1103
1103
|
n.label && n.icon && t.labelIcon,
|
|
1104
|
-
t[`textColor${
|
|
1104
|
+
t[`textColor${Fe(n.textColor)}`],
|
|
1105
1105
|
n.fullWidth && t.fullWidth,
|
|
1106
1106
|
n.wrapped && t.wrapped,
|
|
1107
1107
|
{ [`& .${_r.icon}`]: t.icon }
|
|
1108
1108
|
];
|
|
1109
1109
|
}
|
|
1110
|
-
})(
|
|
1110
|
+
})(De(({ theme: e }) => ({
|
|
1111
1111
|
...e.typography.button,
|
|
1112
1112
|
maxWidth: 360,
|
|
1113
1113
|
minWidth: 90,
|
|
@@ -1192,10 +1192,10 @@ var _r = re("MuiTab", [
|
|
|
1192
1192
|
}
|
|
1193
1193
|
]
|
|
1194
1194
|
}))), yr = Q.forwardRef(function(e, t) {
|
|
1195
|
-
let n =
|
|
1195
|
+
let n = be({
|
|
1196
1196
|
props: e,
|
|
1197
1197
|
name: "MuiTab"
|
|
1198
|
-
}), { className: r, disabled: i = !1, disableFocusRipple: a = !1, fullWidth: o, icon: s, iconPosition: c = "top", indicator: l, label: u, onChange: d, onClick: f, onFocus: p, selected: m, selectionFollowsFocus: h, textColor: g = "inherit", value: _, wrapped: v = !1, ...y } = n, b =
|
|
1198
|
+
}), { className: r, disabled: i = !1, disableFocusRipple: a = !1, fullWidth: o, icon: s, iconPosition: c = "top", indicator: l, label: u, onChange: d, onClick: f, onFocus: p, selected: m, selectionFollowsFocus: h, textColor: g = "inherit", value: _, wrapped: v = !1, ...y } = n, b = qe(), x = Ge({
|
|
1199
1199
|
id: _,
|
|
1200
1200
|
ref: t,
|
|
1201
1201
|
disabled: i,
|
|
@@ -1213,11 +1213,11 @@ var _r = re("MuiTab", [
|
|
|
1213
1213
|
wrapped: v
|
|
1214
1214
|
}, w = ((e) => {
|
|
1215
1215
|
let { classes: t, textColor: n, fullWidth: r, wrapped: i, icon: a, label: o, selected: s, disabled: c } = e;
|
|
1216
|
-
return
|
|
1216
|
+
return ve({
|
|
1217
1217
|
root: [
|
|
1218
1218
|
"root",
|
|
1219
1219
|
a && o && "labelIcon",
|
|
1220
|
-
`textColor${
|
|
1220
|
+
`textColor${Fe(n)}`,
|
|
1221
1221
|
r && "fullWidth",
|
|
1222
1222
|
i && "wrapped",
|
|
1223
1223
|
s && "selected",
|
|
@@ -1265,7 +1265,7 @@ var Tr = re("MuiTabScrollButton", [
|
|
|
1265
1265
|
"vertical",
|
|
1266
1266
|
"horizontal",
|
|
1267
1267
|
"disabled"
|
|
1268
|
-
]), Er =
|
|
1268
|
+
]), Er = Ie(le, {
|
|
1269
1269
|
name: "MuiTabScrollButton",
|
|
1270
1270
|
slot: "Root",
|
|
1271
1271
|
overridesResolver: (e, t) => {
|
|
@@ -1286,15 +1286,15 @@ var Tr = re("MuiTabScrollButton", [
|
|
|
1286
1286
|
}
|
|
1287
1287
|
}]
|
|
1288
1288
|
}), Dr = Q.forwardRef(function(e, t) {
|
|
1289
|
-
let n =
|
|
1289
|
+
let n = be({
|
|
1290
1290
|
props: e,
|
|
1291
1291
|
name: "MuiTabScrollButton"
|
|
1292
|
-
}), { className: r, slots: i = {}, slotProps: a = {}, direction: o, orientation: s, disabled: c, ...l } = n, { nativeButton: u, ...d } = l, f =
|
|
1292
|
+
}), { className: r, slots: i = {}, slotProps: a = {}, direction: o, orientation: s, disabled: c, ...l } = n, { nativeButton: u, ...d } = l, f = ze(), p = {
|
|
1293
1293
|
isRtl: f,
|
|
1294
1294
|
...n
|
|
1295
1295
|
}, m = ((e) => {
|
|
1296
1296
|
let { classes: t, orientation: n, disabled: r } = e;
|
|
1297
|
-
return
|
|
1297
|
+
return ve({ root: [
|
|
1298
1298
|
"root",
|
|
1299
1299
|
n,
|
|
1300
1300
|
r && "disabled"
|
|
@@ -1341,7 +1341,7 @@ var kr = re("MuiTabs", [
|
|
|
1341
1341
|
"scrollButtons",
|
|
1342
1342
|
"scrollButtonsHideMobile",
|
|
1343
1343
|
"indicator"
|
|
1344
|
-
]), Ar =
|
|
1344
|
+
]), Ar = Ie("div", {
|
|
1345
1345
|
name: "MuiTabs",
|
|
1346
1346
|
slot: "Root",
|
|
1347
1347
|
overridesResolver: (e, t) => {
|
|
@@ -1353,7 +1353,7 @@ var kr = re("MuiTabs", [
|
|
|
1353
1353
|
n.vertical && t.vertical
|
|
1354
1354
|
];
|
|
1355
1355
|
}
|
|
1356
|
-
})(
|
|
1356
|
+
})(De(({ theme: e }) => ({
|
|
1357
1357
|
overflow: "hidden",
|
|
1358
1358
|
minHeight: 48,
|
|
1359
1359
|
WebkitOverflowScrolling: "touch",
|
|
@@ -1365,7 +1365,7 @@ var kr = re("MuiTabs", [
|
|
|
1365
1365
|
props: ({ ownerState: e }) => e.scrollButtonsHideMobile,
|
|
1366
1366
|
style: { [`& .${kr.scrollButtons}`]: { [e.breakpoints.down("sm")]: { display: "none" } } }
|
|
1367
1367
|
}]
|
|
1368
|
-
}))), jr =
|
|
1368
|
+
}))), jr = Ie("div", {
|
|
1369
1369
|
name: "MuiTabs",
|
|
1370
1370
|
slot: "Scroller",
|
|
1371
1371
|
overridesResolver: (e, t) => {
|
|
@@ -1413,7 +1413,7 @@ var kr = re("MuiTabs", [
|
|
|
1413
1413
|
}
|
|
1414
1414
|
}
|
|
1415
1415
|
]
|
|
1416
|
-
}), Mr =
|
|
1416
|
+
}), Mr = Ie("div", {
|
|
1417
1417
|
name: "MuiTabs",
|
|
1418
1418
|
slot: "List",
|
|
1419
1419
|
overridesResolver: (e, t) => {
|
|
@@ -1429,15 +1429,15 @@ var kr = re("MuiTabs", [
|
|
|
1429
1429
|
props: ({ ownerState: e }) => e.centered,
|
|
1430
1430
|
style: { justifyContent: "center" }
|
|
1431
1431
|
}]
|
|
1432
|
-
}), Nr =
|
|
1432
|
+
}), Nr = Ie("span", {
|
|
1433
1433
|
name: "MuiTabs",
|
|
1434
1434
|
slot: "Indicator"
|
|
1435
|
-
})(
|
|
1435
|
+
})(De(({ theme: e }) => ({
|
|
1436
1436
|
position: "absolute",
|
|
1437
1437
|
height: 2,
|
|
1438
1438
|
bottom: 0,
|
|
1439
1439
|
width: "100%",
|
|
1440
|
-
...
|
|
1440
|
+
...ke(e),
|
|
1441
1441
|
variants: [
|
|
1442
1442
|
{
|
|
1443
1443
|
props: { indicatorColor: "primary" },
|
|
@@ -1456,15 +1456,15 @@ var kr = re("MuiTabs", [
|
|
|
1456
1456
|
}
|
|
1457
1457
|
}
|
|
1458
1458
|
]
|
|
1459
|
-
}))), Pr =
|
|
1459
|
+
}))), Pr = Ie(function(e) {
|
|
1460
1460
|
let { onChange: t, ...n } = e, r = Q.useRef(), i = Q.useRef(null), a = () => {
|
|
1461
1461
|
r.current = i.current.offsetHeight - i.current.clientHeight;
|
|
1462
1462
|
};
|
|
1463
|
-
return
|
|
1464
|
-
let e =
|
|
1463
|
+
return Ye(() => {
|
|
1464
|
+
let e = Xe(() => {
|
|
1465
1465
|
let e = r.current;
|
|
1466
1466
|
a(), e !== r.current && t(r.current);
|
|
1467
|
-
}), n =
|
|
1467
|
+
}), n = Je(i.current);
|
|
1468
1468
|
return n.addEventListener("resize", e), () => {
|
|
1469
1469
|
e.clear(), n.removeEventListener("resize", e);
|
|
1470
1470
|
};
|
|
@@ -1481,10 +1481,10 @@ var kr = re("MuiTabs", [
|
|
|
1481
1481
|
scrollbarWidth: "none",
|
|
1482
1482
|
"&::-webkit-scrollbar": { display: "none" }
|
|
1483
1483
|
}), Fr = {}, Ir = Q.forwardRef(function(e, t) {
|
|
1484
|
-
let n =
|
|
1484
|
+
let n = be({
|
|
1485
1485
|
props: e,
|
|
1486
1486
|
name: "MuiTabs"
|
|
1487
|
-
}), r = ee(), i =
|
|
1487
|
+
}), r = ee(), i = ze(), a = he(r.motion.reducedMotion, !1), { "aria-label": o, "aria-labelledby": s, action: c, centered: l = !1, children: u, className: d, component: f = "div", allowScrollButtonsMobile: p = !1, indicatorColor: m = "primary", onChange: h, orientation: g = "horizontal", scrollButtons: _ = "auto", selectionFollowsFocus: v, slots: y = {}, slotProps: b = {}, textColor: x = "primary", value: S, variant: C = "standard", visibleScrollbar: w = !1, ...T } = n, E = C === "scrollable", D = g === "vertical", O = D ? "scrollTop" : "scrollLeft", k = D ? "top" : "left", A = D ? "bottom" : "right", M = D ? "clientHeight" : "clientWidth", N = D ? "height" : "width", P = {
|
|
1488
1488
|
...n,
|
|
1489
1489
|
component: f,
|
|
1490
1490
|
allowScrollButtonsMobile: p,
|
|
@@ -1503,7 +1503,7 @@ var kr = re("MuiTabs", [
|
|
|
1503
1503
|
scrollButtonsHideMobile: !p
|
|
1504
1504
|
}, F = ((e) => {
|
|
1505
1505
|
let { vertical: t, fixed: n, hideScrollbar: r, scrollableX: i, scrollableY: a, centered: o, scrollButtonsHideMobile: s, classes: c } = e;
|
|
1506
|
-
return
|
|
1506
|
+
return ve({
|
|
1507
1507
|
root: ["root", t && "vertical"],
|
|
1508
1508
|
scroller: [
|
|
1509
1509
|
"scroller",
|
|
@@ -1562,7 +1562,7 @@ var kr = re("MuiTabs", [
|
|
|
1562
1562
|
tabsMeta: t,
|
|
1563
1563
|
tabMeta: n
|
|
1564
1564
|
};
|
|
1565
|
-
},
|
|
1565
|
+
}, _e = Ne(() => {
|
|
1566
1566
|
let { tabsMeta: e, tabMeta: t } = ge(), n, r = 0;
|
|
1567
1567
|
D ? (n = "top", t && e && (r = t.top - e.top + e.scrollTop)) : (n = i ? "right" : "left", t && e && (r = (i ? -1 : 1) * (t[n] - e[n] + e.scrollLeft)));
|
|
1568
1568
|
let a = {
|
|
@@ -1574,7 +1574,7 @@ var kr = re("MuiTabs", [
|
|
|
1574
1574
|
let e = Math.abs(L[n] - a[n]), t = Math.abs(L[N] - a[N]);
|
|
1575
1575
|
(e >= 1 || t >= 1) && R(a);
|
|
1576
1576
|
}
|
|
1577
|
-
}),
|
|
1577
|
+
}), ye = (e, { animation: t = !0 } = {}) => {
|
|
1578
1578
|
t && !a.shouldReduceMotion ? function(e, t, n, r = {}, i = () => {}) {
|
|
1579
1579
|
let { ease: a = Sr, duration: o = 300 } = r, s = null, c = t[e], l = (r) => {
|
|
1580
1580
|
s === null && (s = r);
|
|
@@ -1585,10 +1585,10 @@ var kr = re("MuiTabs", [
|
|
|
1585
1585
|
};
|
|
1586
1586
|
c === n ? i(/* @__PURE__ */ Error("Element already at target position")) : requestAnimationFrame(l);
|
|
1587
1587
|
}(O, fe.current, e, { duration: r.transitions.duration.standard }) : fe.current[O] = e;
|
|
1588
|
-
},
|
|
1588
|
+
}, xe = (e) => {
|
|
1589
1589
|
let t = fe.current[O];
|
|
1590
|
-
t += D ? e : e * (i ? -1 : 1),
|
|
1591
|
-
},
|
|
1590
|
+
t += D ? e : e * (i ? -1 : 1), ye(t);
|
|
1591
|
+
}, Se = () => {
|
|
1592
1592
|
let e = fe.current[M], t = 0, n = Array.from(pe.current.children);
|
|
1593
1593
|
for (let r = 0; r < n.length; r += 1) {
|
|
1594
1594
|
let i = n[r];
|
|
@@ -1599,22 +1599,22 @@ var kr = re("MuiTabs", [
|
|
|
1599
1599
|
t += i[M];
|
|
1600
1600
|
}
|
|
1601
1601
|
return t;
|
|
1602
|
-
}, Se = () => {
|
|
1603
|
-
be(-1 * xe());
|
|
1604
1602
|
}, Ce = () => {
|
|
1605
|
-
|
|
1606
|
-
},
|
|
1603
|
+
xe(-1 * Se());
|
|
1604
|
+
}, we = () => {
|
|
1605
|
+
xe(Se());
|
|
1606
|
+
}, [Ee, { onChange: De, ...Oe }] = W("scrollbar", {
|
|
1607
1607
|
className: j(F.scrollableX, F.hideScrollbar),
|
|
1608
1608
|
elementType: Pr,
|
|
1609
1609
|
shouldForwardComponentProp: !0,
|
|
1610
1610
|
externalForwardedProps: me,
|
|
1611
1611
|
ownerState: P
|
|
1612
|
-
}),
|
|
1613
|
-
|
|
1612
|
+
}), ke = Q.useCallback((e) => {
|
|
1613
|
+
De?.(e), G({
|
|
1614
1614
|
overflow: null,
|
|
1615
1615
|
scrollbarWidth: e
|
|
1616
1616
|
});
|
|
1617
|
-
}, [
|
|
1617
|
+
}, [De]), [je, Me] = W("scrollButtons", {
|
|
1618
1618
|
className: F.scrollButtons,
|
|
1619
1619
|
elementType: Dr,
|
|
1620
1620
|
externalForwardedProps: me,
|
|
@@ -1630,23 +1630,23 @@ var kr = re("MuiTabs", [
|
|
|
1630
1630
|
endScrollButtonIcon: ne
|
|
1631
1631
|
}
|
|
1632
1632
|
}
|
|
1633
|
-
}),
|
|
1633
|
+
}), Pe = Ne((e) => {
|
|
1634
1634
|
let { tabsMeta: t, tabMeta: n } = ge();
|
|
1635
1635
|
if (n && t) {
|
|
1636
1636
|
if (n[k] < t[k]) {
|
|
1637
1637
|
let r = t[O] + (n[k] - t[k]);
|
|
1638
|
-
|
|
1638
|
+
ye(r, { animation: e });
|
|
1639
1639
|
} else if (n[A] > t[A]) {
|
|
1640
1640
|
let r = t[O] + (n[A] - t[A]);
|
|
1641
|
-
|
|
1641
|
+
ye(r, { animation: e });
|
|
1642
1642
|
}
|
|
1643
1643
|
}
|
|
1644
|
-
}),
|
|
1644
|
+
}), Fe = Ne(() => {
|
|
1645
1645
|
E && !1 !== _ && ae(!ie);
|
|
1646
1646
|
});
|
|
1647
1647
|
Q.useEffect(() => {
|
|
1648
|
-
let e =
|
|
1649
|
-
fe.current &&
|
|
1648
|
+
let e = Xe(() => {
|
|
1649
|
+
fe.current && _e();
|
|
1650
1650
|
}), t, n = (n) => {
|
|
1651
1651
|
n.forEach((e) => {
|
|
1652
1652
|
e.removedNodes.forEach((e) => {
|
|
@@ -1654,14 +1654,14 @@ var kr = re("MuiTabs", [
|
|
|
1654
1654
|
}), e.addedNodes.forEach((e) => {
|
|
1655
1655
|
t?.observe(e);
|
|
1656
1656
|
});
|
|
1657
|
-
}), e(),
|
|
1658
|
-
}, r =
|
|
1657
|
+
}), e(), Fe();
|
|
1658
|
+
}, r = Je(fe.current), i;
|
|
1659
1659
|
return r.addEventListener("resize", e), typeof ResizeObserver < "u" && (t = new ResizeObserver(e), Array.from(pe.current.children).forEach((e) => {
|
|
1660
1660
|
t.observe(e);
|
|
1661
1661
|
})), typeof MutationObserver < "u" && (i = new MutationObserver(n), i.observe(pe.current, { childList: !0 })), () => {
|
|
1662
1662
|
e.clear(), r.removeEventListener("resize", e), i?.disconnect(), t?.disconnect();
|
|
1663
1663
|
};
|
|
1664
|
-
}, [
|
|
1664
|
+
}, [_e, Fe]), Q.useEffect(() => {
|
|
1665
1665
|
let e = Array.from(pe.current.children), t = e.length;
|
|
1666
1666
|
if (typeof IntersectionObserver < "u" && t > 0 && E && !1 !== _) {
|
|
1667
1667
|
let n = e[0], r = e[t - 1], i = {
|
|
@@ -1686,24 +1686,24 @@ var kr = re("MuiTabs", [
|
|
|
1686
1686
|
]), Q.useEffect(() => {
|
|
1687
1687
|
I(!0);
|
|
1688
1688
|
}, []), Q.useEffect(() => {
|
|
1689
|
-
|
|
1689
|
+
_e();
|
|
1690
1690
|
}), Q.useEffect(() => {
|
|
1691
|
-
|
|
1692
|
-
}, [
|
|
1693
|
-
updateIndicator:
|
|
1694
|
-
updateScrollButtons:
|
|
1695
|
-
}), [
|
|
1696
|
-
let [
|
|
1691
|
+
Pe(Fr !== L);
|
|
1692
|
+
}, [Pe, L]), Q.useImperativeHandle(c, () => ({
|
|
1693
|
+
updateIndicator: _e,
|
|
1694
|
+
updateScrollButtons: Fe
|
|
1695
|
+
}), [_e, Fe]);
|
|
1696
|
+
let [Ie, Le] = W("indicator", {
|
|
1697
1697
|
className: F.indicator,
|
|
1698
1698
|
elementType: Nr,
|
|
1699
1699
|
externalForwardedProps: me,
|
|
1700
1700
|
ownerState: P,
|
|
1701
1701
|
additionalProps: { style: L }
|
|
1702
|
-
}),
|
|
1702
|
+
}), Re = (0, $.jsx)(Ie, { ...Le }), He = Ve({
|
|
1703
1703
|
activeItemId: U ? void 0 : oe,
|
|
1704
1704
|
orientation: g,
|
|
1705
1705
|
isRtl: i
|
|
1706
|
-
}),
|
|
1706
|
+
}), We = He.getContainerProps(), Ge = Q.Children.toArray(u).filter(Q.isValidElement).map((e, t) => {
|
|
1707
1707
|
let n = e.props.value === void 0 ? t : e.props.value;
|
|
1708
1708
|
return de.set(n, t), {
|
|
1709
1709
|
child: e,
|
|
@@ -1714,32 +1714,32 @@ var kr = re("MuiTabs", [
|
|
|
1714
1714
|
let n = t === S;
|
|
1715
1715
|
return Q.cloneElement(e, {
|
|
1716
1716
|
fullWidth: C === "fullWidth",
|
|
1717
|
-
indicator: n && !re &&
|
|
1717
|
+
indicator: n && !re && Re,
|
|
1718
1718
|
selected: n,
|
|
1719
1719
|
selectionFollowsFocus: v,
|
|
1720
1720
|
onChange: h,
|
|
1721
1721
|
textColor: x,
|
|
1722
1722
|
value: t
|
|
1723
1723
|
});
|
|
1724
|
-
}),
|
|
1724
|
+
}), Ke = (() => {
|
|
1725
1725
|
let e = {};
|
|
1726
|
-
e.scrollbarSizeListener = E ? (0, $.jsx)(
|
|
1727
|
-
...
|
|
1728
|
-
onChange:
|
|
1726
|
+
e.scrollbarSizeListener = E ? (0, $.jsx)(Ee, {
|
|
1727
|
+
...Oe,
|
|
1728
|
+
onChange: ke
|
|
1729
1729
|
}) : null;
|
|
1730
1730
|
let t = E && (_ === "auto" && (z || V) || !0 === _);
|
|
1731
|
-
return e.scrollButtonStart = t ? (0, $.jsx)(
|
|
1731
|
+
return e.scrollButtonStart = t ? (0, $.jsx)(je, {
|
|
1732
1732
|
direction: i ? "right" : "left",
|
|
1733
|
-
onClick:
|
|
1733
|
+
onClick: Ce,
|
|
1734
1734
|
disabled: !z,
|
|
1735
|
-
...
|
|
1736
|
-
}) : null, e.scrollButtonEnd = t ? (0, $.jsx)(
|
|
1735
|
+
...Me
|
|
1736
|
+
}) : null, e.scrollButtonEnd = t ? (0, $.jsx)(je, {
|
|
1737
1737
|
direction: i ? "left" : "right",
|
|
1738
|
-
onClick:
|
|
1738
|
+
onClick: we,
|
|
1739
1739
|
disabled: !V,
|
|
1740
|
-
...
|
|
1740
|
+
...Me
|
|
1741
1741
|
}) : null, e;
|
|
1742
|
-
})(), [
|
|
1742
|
+
})(), [qe, Ye] = W("root", {
|
|
1743
1743
|
ref: t,
|
|
1744
1744
|
className: j(F.root, d),
|
|
1745
1745
|
elementType: Ar,
|
|
@@ -1749,7 +1749,7 @@ var kr = re("MuiTabs", [
|
|
|
1749
1749
|
component: f
|
|
1750
1750
|
},
|
|
1751
1751
|
ownerState: P
|
|
1752
|
-
}), [
|
|
1752
|
+
}), [Ze, Qe] = W("scroller", {
|
|
1753
1753
|
ref: fe,
|
|
1754
1754
|
className: F.scroller,
|
|
1755
1755
|
elementType: jr,
|
|
@@ -1759,8 +1759,8 @@ var kr = re("MuiTabs", [
|
|
|
1759
1759
|
overflow: le.overflow,
|
|
1760
1760
|
[D ? "margin" + (i ? "Left" : "Right") : "marginBottom"]: w ? void 0 : -le.scrollbarWidth
|
|
1761
1761
|
} }
|
|
1762
|
-
}), [
|
|
1763
|
-
ref:
|
|
1762
|
+
}), [$e, et] = W("list", {
|
|
1763
|
+
ref: Ae(We.ref, pe),
|
|
1764
1764
|
className: F.list,
|
|
1765
1765
|
elementType: Mr,
|
|
1766
1766
|
externalForwardedProps: me,
|
|
@@ -1773,34 +1773,34 @@ var kr = re("MuiTabs", [
|
|
|
1773
1773
|
onKeyDown: (t) => {
|
|
1774
1774
|
((e) => {
|
|
1775
1775
|
let t = pe.current;
|
|
1776
|
-
|
|
1776
|
+
Te(Be(t))?.getAttribute("role") === "tab" && We.onKeyDown(e);
|
|
1777
1777
|
})(t), e.onKeyDown?.(t);
|
|
1778
1778
|
},
|
|
1779
1779
|
onFocus: (t) => {
|
|
1780
|
-
ce(!0),
|
|
1780
|
+
ce(!0), We.onFocus(t), e.onFocus?.(t);
|
|
1781
1781
|
}
|
|
1782
1782
|
})
|
|
1783
1783
|
});
|
|
1784
|
-
return (0, $.jsxs)(
|
|
1785
|
-
...
|
|
1784
|
+
return (0, $.jsxs)(qe, {
|
|
1785
|
+
...Ye,
|
|
1786
1786
|
children: [
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
(0, $.jsxs)(
|
|
1790
|
-
...
|
|
1791
|
-
children: [(0, $.jsx)(
|
|
1787
|
+
Ke.scrollButtonStart,
|
|
1788
|
+
Ke.scrollbarSizeListener,
|
|
1789
|
+
(0, $.jsxs)(Ze, {
|
|
1790
|
+
...Qe,
|
|
1791
|
+
children: [(0, $.jsx)($e, {
|
|
1792
1792
|
"aria-label": o,
|
|
1793
1793
|
"aria-labelledby": s,
|
|
1794
1794
|
"aria-orientation": g === "vertical" ? "vertical" : null,
|
|
1795
1795
|
role: "tablist",
|
|
1796
|
-
|
|
1797
|
-
children: (0, $.jsx)(
|
|
1798
|
-
value:
|
|
1799
|
-
children:
|
|
1796
|
+
...et,
|
|
1797
|
+
children: (0, $.jsx)(Ue.Provider, {
|
|
1798
|
+
value: He,
|
|
1799
|
+
children: Ge
|
|
1800
1800
|
})
|
|
1801
|
-
}), re &&
|
|
1801
|
+
}), re && Re]
|
|
1802
1802
|
}),
|
|
1803
|
-
|
|
1803
|
+
Ke.scrollButtonEnd
|
|
1804
1804
|
]
|
|
1805
1805
|
});
|
|
1806
1806
|
}), Lr = Hn({ themeId: p }), Rr = {
|
|
@@ -2659,7 +2659,7 @@ function Hr() {
|
|
|
2659
2659
|
}
|
|
2660
2660
|
var Ur = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
2661
2661
|
let [n] = P(["formatTextRotateCustom"]), r = !!n?.getState();
|
|
2662
|
-
return (0, $.jsx)(
|
|
2662
|
+
return (0, $.jsx)(Xt, {
|
|
2663
2663
|
ref: t,
|
|
2664
2664
|
...e,
|
|
2665
2665
|
selected: r,
|
|
@@ -2686,28 +2686,28 @@ var Wr = [
|
|
|
2686
2686
|
groupKey: n,
|
|
2687
2687
|
disabled: r
|
|
2688
2688
|
}, i = (0, $.jsxs)($.Fragment, { children: [
|
|
2689
|
-
(0, $.jsx)(
|
|
2689
|
+
(0, $.jsx)(K, {
|
|
2690
2690
|
...t,
|
|
2691
2691
|
commandKey: "sheetZoom200"
|
|
2692
2692
|
}),
|
|
2693
|
-
(0, $.jsx)(
|
|
2693
|
+
(0, $.jsx)(K, {
|
|
2694
2694
|
...t,
|
|
2695
2695
|
commandKey: "sheetZoom100"
|
|
2696
2696
|
}),
|
|
2697
|
-
(0, $.jsx)(
|
|
2697
|
+
(0, $.jsx)(K, {
|
|
2698
2698
|
...t,
|
|
2699
2699
|
commandKey: "sheetZoom75"
|
|
2700
2700
|
}),
|
|
2701
|
-
(0, $.jsx)(
|
|
2701
|
+
(0, $.jsx)(K, {
|
|
2702
2702
|
...t,
|
|
2703
2703
|
commandKey: "sheetZoom50"
|
|
2704
2704
|
}),
|
|
2705
|
-
(0, $.jsx)(
|
|
2705
|
+
(0, $.jsx)(K, {
|
|
2706
2706
|
...t,
|
|
2707
2707
|
commandKey: "sheetZoom25"
|
|
2708
2708
|
}),
|
|
2709
|
-
(0, $.jsx)(
|
|
2710
|
-
(0, $.jsx)(
|
|
2709
|
+
(0, $.jsx)(q, { orientation: "horizontal" }),
|
|
2710
|
+
(0, $.jsx)(Pt, {
|
|
2711
2711
|
...t,
|
|
2712
2712
|
commandKey: "sheetZoomCustom",
|
|
2713
2713
|
groupKey: "sheetZoomOptions",
|
|
@@ -2722,12 +2722,12 @@ var Wr = [
|
|
|
2722
2722
|
}
|
|
2723
2723
|
})
|
|
2724
2724
|
] });
|
|
2725
|
-
return
|
|
2725
|
+
return xt({
|
|
2726
2726
|
...e,
|
|
2727
2727
|
children: i
|
|
2728
2728
|
});
|
|
2729
2729
|
}, [r, n]);
|
|
2730
|
-
return (0, $.jsx)(
|
|
2730
|
+
return (0, $.jsx)(vt, {
|
|
2731
2731
|
ref: t,
|
|
2732
2732
|
disabled: r || !c,
|
|
2733
2733
|
groupKey: n,
|
|
@@ -2792,7 +2792,7 @@ var qr = {
|
|
|
2792
2792
|
n,
|
|
2793
2793
|
a,
|
|
2794
2794
|
t
|
|
2795
|
-
]), C = (0, Q.useMemo)(() => t.toRGBA().alpha === 1 ? null : (0, $.jsx)(
|
|
2795
|
+
]), C = (0, Q.useMemo)(() => t.toRGBA().alpha === 1 ? null : (0, $.jsx)(on, {
|
|
2796
2796
|
size: g,
|
|
2797
2797
|
white: d,
|
|
2798
2798
|
grey: f,
|
|
@@ -2839,7 +2839,7 @@ var qr = {
|
|
|
2839
2839
|
})]
|
|
2840
2840
|
});
|
|
2841
2841
|
}), Xr = (0, Q.memo)((e) => {
|
|
2842
|
-
let { schemeColorLookup: t, selectedColor: n, previewColor: r, colorDef: i, onSelectColorDef: a, onPreviewColorDef: o, propsSwatch: s, defaultButtonSize: c = 24, isLarge: l = !1, compareRGB: u = !1, darkMode: d = !1, ...f } = e, p = new
|
|
2842
|
+
let { schemeColorLookup: t, selectedColor: n, previewColor: r, colorDef: i, onSelectColorDef: a, onPreviewColorDef: o, propsSwatch: s, defaultButtonSize: c = 24, isLarge: l = !1, compareRGB: u = !1, darkMode: d = !1, ...f } = e, p = new cn({
|
|
2843
2843
|
val: i.definition.val,
|
|
2844
2844
|
adjs: i.definition.adjs
|
|
2845
2845
|
}, (e) => t(e)), m = u ? p.toRGBA().toString() : p.toString(), h = n && (u ? n.toRGBA().toString() : n.toString()) === m, g = r && (u ? r.toRGBA().toString() : r.toString()) === m, _ = [];
|
|
@@ -2849,7 +2849,7 @@ var qr = {
|
|
|
2849
2849
|
}, [a, i]), b = (0, Q.useCallback)((e) => {
|
|
2850
2850
|
o?.(i);
|
|
2851
2851
|
}, [o, i]);
|
|
2852
|
-
return (0, $.jsx)(
|
|
2852
|
+
return (0, $.jsx)(Pe, {
|
|
2853
2853
|
disableInteractive: !0,
|
|
2854
2854
|
slotProps: { popper: {
|
|
2855
2855
|
style: { pointerEvents: "none" },
|
|
@@ -2998,15 +2998,15 @@ var qr = {
|
|
|
2998
2998
|
}), $r = (e, t, n, r, i, a) => {
|
|
2999
2999
|
let o = Qr(e, t);
|
|
3000
3000
|
r?.push(o);
|
|
3001
|
-
let s = new
|
|
3001
|
+
let s = new cn({
|
|
3002
3002
|
val: o.definition.val,
|
|
3003
3003
|
adjs: o.definition.adjs
|
|
3004
3004
|
}, n), c = s.toString();
|
|
3005
3005
|
i?.set(c, s);
|
|
3006
3006
|
let l = s.toRGBA().toString();
|
|
3007
3007
|
a?.set(l, s);
|
|
3008
|
-
}, ei = (0, Q.lazy)(() => import("./
|
|
3009
|
-
let { selectedColor: n = null, previewColor: r = e.selectedColor ?? null, recentColors: i, schemeLookup: a, disableAlpha: o = !1, previewDebounceTime: s = 100, initialPanelType: d, defaultButtonSize: f = 24, width: p, onElementLoad: m, onDone: h, onEyeDropStart: g, onEyeDropStop: _, onPreviewColor: v, onPreviewColorImmediate: y, onSelectColor: x, autoColor: S, autoColorLabel: C, autoColorLabelKey: w, autoColorPosition: T = Jr.Start, compareRGB: E = !1, darkMode: D = !1, style: O, ...k } = e, A = b(), j = C ?? A(w ?? l("color.automatic")), M = r || n, N = B(v ?? ((e) => {}), [v]), P = B(y ?? ((e) => {}), [y]), F = B(x ?? ((e, t) => {}), [x]), te = B(g ?? (() => {}), [g]), ne = B(_ ?? (() => {}), [_]), [re, I] = (0, Q.useState)(!1), L = ee(), z = (0, Q.useMemo)(() => a ||
|
|
3008
|
+
}, ei = (0, Q.lazy)(() => import("./BfmngO7uzIcK9Lux2.mjs")), ti = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
3009
|
+
let { selectedColor: n = null, previewColor: r = e.selectedColor ?? null, recentColors: i, schemeLookup: a, disableAlpha: o = !1, previewDebounceTime: s = 100, initialPanelType: d, defaultButtonSize: f = 24, width: p, onElementLoad: m, onDone: h, onEyeDropStart: g, onEyeDropStop: _, onPreviewColor: v, onPreviewColorImmediate: y, onSelectColor: x, autoColor: S, autoColorLabel: C, autoColorLabelKey: w, autoColorPosition: T = Jr.Start, compareRGB: E = !1, darkMode: D = !1, style: O, ...k } = e, A = b(), j = C ?? A(w ?? l("color.automatic")), M = r || n, N = B(v ?? ((e) => {}), [v]), P = B(y ?? ((e) => {}), [y]), F = B(x ?? ((e, t) => {}), [x]), te = B(g ?? (() => {}), [g]), ne = B(_ ?? (() => {}), [_]), [re, I] = (0, Q.useState)(!1), L = ee(), z = (0, Q.useMemo)(() => a || cn.getDefaultSchemeLookup(), [a]), V = (0, Q.useMemo)(() => {
|
|
3010
3010
|
let e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map(), n = [];
|
|
3011
3011
|
$r(A("color.scheme.bg1"), "bg1", z, n, e, t), $r(A("color.scheme.tx1"), "tx1", z, n, e, t), $r(A("color.scheme.bg2"), "bg2", z, n, e, t), $r(A("color.scheme.tx2"), "tx2", z, n, e, t), $r(A("color.scheme.accent", { n: 1 }), "accent1", z, n, e, t), $r(A("color.scheme.accent", { n: 2 }), "accent2", z, n, e, t), $r(A("color.scheme.accent", { n: 3 }), "accent3", z, n, e, t), $r(A("color.scheme.accent", { n: 4 }), "accent4", z, n, e, t), $r(A("color.scheme.accent", { n: 5 }), "accent5", z, n, e, t), $r(A("color.scheme.accent", { n: 6 }), "accent6", z, n, e, t);
|
|
3012
3012
|
let r = yn.buildPalette(n, z, e, t), a = [];
|
|
@@ -3061,7 +3061,7 @@ var qr = {
|
|
|
3061
3061
|
let le = B((e) => {
|
|
3062
3062
|
P && (P(e), se(e));
|
|
3063
3063
|
}, [P]), ue = B((e) => {
|
|
3064
|
-
le(e ? new
|
|
3064
|
+
le(e ? new cn({
|
|
3065
3065
|
val: e.definition.val,
|
|
3066
3066
|
adjs: e.definition.adjs
|
|
3067
3067
|
}, z) : null);
|
|
@@ -3075,7 +3075,7 @@ var qr = {
|
|
|
3075
3075
|
}
|
|
3076
3076
|
F?.(e, t);
|
|
3077
3077
|
}, [F, V]), pe = B((e) => {
|
|
3078
|
-
let t = e ? new
|
|
3078
|
+
let t = e ? new cn({
|
|
3079
3079
|
val: e.definition.val,
|
|
3080
3080
|
adjs: e.definition.adjs
|
|
3081
3081
|
}, z) : null;
|
|
@@ -3083,7 +3083,7 @@ var qr = {
|
|
|
3083
3083
|
fe(t);
|
|
3084
3084
|
});
|
|
3085
3085
|
}, [z, h]), me = B((e) => {
|
|
3086
|
-
le(e ? new
|
|
3086
|
+
le(e ? new cn(e, z) : null);
|
|
3087
3087
|
}, [z]), he = (0, Q.useMemo)(() => window.EyeDropper === void 0 ? (0, $.jsx)($.Fragment, {}) : (0, $.jsx)(U, {
|
|
3088
3088
|
"aria-label": A("color.eyeDropper"),
|
|
3089
3089
|
size: "small",
|
|
@@ -3091,7 +3091,7 @@ var qr = {
|
|
|
3091
3091
|
onClick: async () => {
|
|
3092
3092
|
I(!0), te?.(), await new EyeDropper().open().then((e) => {
|
|
3093
3093
|
I(!1), ne?.();
|
|
3094
|
-
let t = new
|
|
3094
|
+
let t = new cn(e.sRGBHex), n = t.toString(), r = V.mapAllPresets.get(n);
|
|
3095
3095
|
if (r ||= (n = t.toRGBA().toString(), V.mapAllPresetsRGB.get(n)), !r) {
|
|
3096
3096
|
let e = t.toRGBA();
|
|
3097
3097
|
V.mapAllPresetsRGB.forEach((t, n) => {
|
|
@@ -3119,7 +3119,7 @@ var qr = {
|
|
|
3119
3119
|
return (0, $.jsx)(Q.Suspense, {
|
|
3120
3120
|
fallback: (0, $.jsx)("div", {
|
|
3121
3121
|
style: e,
|
|
3122
|
-
children: (0, $.jsx)(
|
|
3122
|
+
children: (0, $.jsx)(Zt, {})
|
|
3123
3123
|
}),
|
|
3124
3124
|
children: (0, $.jsx)(ei, {
|
|
3125
3125
|
style: e,
|
|
@@ -3128,10 +3128,10 @@ var qr = {
|
|
|
3128
3128
|
disableAlpha: o
|
|
3129
3129
|
})
|
|
3130
3130
|
});
|
|
3131
|
-
}, [H, M]),
|
|
3131
|
+
}, [H, M]), _e = (0, Q.useMemo)(() => ({
|
|
3132
3132
|
onClick: de,
|
|
3133
3133
|
alphaGrey: L.palette.text.icon ?? L.palette.action.active
|
|
3134
|
-
}), [de, L]),
|
|
3134
|
+
}), [de, L]), ve = (0, Q.useMemo)(() => {
|
|
3135
3135
|
if (!S) return null;
|
|
3136
3136
|
let e = {
|
|
3137
3137
|
description: j,
|
|
@@ -3140,7 +3140,7 @@ var qr = {
|
|
|
3140
3140
|
adjs: S.getAdjustments()
|
|
3141
3141
|
}
|
|
3142
3142
|
};
|
|
3143
|
-
return (0, $.jsx)($.Fragment, { children: (0, $.jsxs)(
|
|
3143
|
+
return (0, $.jsx)($.Fragment, { children: (0, $.jsxs)(et, {
|
|
3144
3144
|
sx: {
|
|
3145
3145
|
display: "flex",
|
|
3146
3146
|
color: (e) => e.palette.text.secondary
|
|
@@ -3167,7 +3167,7 @@ var qr = {
|
|
|
3167
3167
|
isLarge: !0,
|
|
3168
3168
|
darkMode: D,
|
|
3169
3169
|
compareRGB: E,
|
|
3170
|
-
propsSwatch:
|
|
3170
|
+
propsSwatch: _e
|
|
3171
3171
|
})
|
|
3172
3172
|
}), (0, $.jsx)(G, {
|
|
3173
3173
|
noWrap: !0,
|
|
@@ -3190,7 +3190,7 @@ var qr = {
|
|
|
3190
3190
|
D,
|
|
3191
3191
|
E,
|
|
3192
3192
|
f,
|
|
3193
|
-
|
|
3193
|
+
_e
|
|
3194
3194
|
]);
|
|
3195
3195
|
return (0, $.jsxs)(R, {
|
|
3196
3196
|
ref: t,
|
|
@@ -3212,7 +3212,7 @@ var qr = {
|
|
|
3212
3212
|
children: [(0, $.jsxs)("div", {
|
|
3213
3213
|
style: { opacity: H ? "0" : 1 },
|
|
3214
3214
|
children: [
|
|
3215
|
-
|
|
3215
|
+
ve && T === Jr.Start ? (0, $.jsxs)($.Fragment, { children: [ve, (0, $.jsx)(Ct, { style: {
|
|
3216
3216
|
marginTop: "2px",
|
|
3217
3217
|
marginBottom: "10px"
|
|
3218
3218
|
} })] }) : null,
|
|
@@ -3222,7 +3222,7 @@ var qr = {
|
|
|
3222
3222
|
colorDefs: V.primaryColors,
|
|
3223
3223
|
selectedColor: n,
|
|
3224
3224
|
previewColor: r === void 0 ? n : r,
|
|
3225
|
-
propsSwatch:
|
|
3225
|
+
propsSwatch: _e,
|
|
3226
3226
|
onPreviewColorDef: ue,
|
|
3227
3227
|
onSelectColorDef: pe,
|
|
3228
3228
|
compareRGB: E,
|
|
@@ -3233,20 +3233,20 @@ var qr = {
|
|
|
3233
3233
|
colorDefs: V.modifiedPresets,
|
|
3234
3234
|
selectedColor: n,
|
|
3235
3235
|
previewColor: r === void 0 ? n : r,
|
|
3236
|
-
propsSwatch:
|
|
3236
|
+
propsSwatch: _e,
|
|
3237
3237
|
onPreviewColorDef: ue,
|
|
3238
3238
|
onSelectColorDef: pe,
|
|
3239
3239
|
compareRGB: E,
|
|
3240
3240
|
darkMode: D
|
|
3241
3241
|
}),
|
|
3242
|
-
(0, $.jsx)(
|
|
3242
|
+
(0, $.jsx)(Ct, { style: { marginBottom: "10px" } }),
|
|
3243
3243
|
(0, $.jsx)(Zr, {
|
|
3244
3244
|
title: A("color.standardColors"),
|
|
3245
3245
|
schemeColorLookup: z,
|
|
3246
3246
|
colorDefs: V.standardColors,
|
|
3247
3247
|
selectedColor: n,
|
|
3248
3248
|
previewColor: r === void 0 ? n : r,
|
|
3249
|
-
propsSwatch:
|
|
3249
|
+
propsSwatch: _e,
|
|
3250
3250
|
onPreviewColorDef: ue,
|
|
3251
3251
|
onSelectColorDef: pe,
|
|
3252
3252
|
compareRGB: E,
|
|
@@ -3257,31 +3257,31 @@ var qr = {
|
|
|
3257
3257
|
opacity: V.recentColorsLimited.length === 0 ? "0" : void 0,
|
|
3258
3258
|
display: V.recentColorsLimited.length === 0 ? "none" : void 0
|
|
3259
3259
|
},
|
|
3260
|
-
children: [(0, $.jsx)(
|
|
3260
|
+
children: [(0, $.jsx)(Ct, { style: { marginBottom: "10px" } }), (0, $.jsx)(Zr, {
|
|
3261
3261
|
title: A("color.recentColors"),
|
|
3262
3262
|
schemeColorLookup: z,
|
|
3263
3263
|
colorDefs: V.recentColorsLimited,
|
|
3264
3264
|
selectedColor: n,
|
|
3265
3265
|
previewColor: r === void 0 ? n : r,
|
|
3266
|
-
propsSwatch:
|
|
3266
|
+
propsSwatch: _e,
|
|
3267
3267
|
onPreviewColorDef: ue,
|
|
3268
3268
|
onSelectColorDef: pe,
|
|
3269
3269
|
compareRGB: E,
|
|
3270
3270
|
darkMode: D
|
|
3271
3271
|
})]
|
|
3272
3272
|
}),
|
|
3273
|
-
|
|
3274
|
-
(0, $.jsx)(
|
|
3273
|
+
ve && T === Jr.End ? (0, $.jsxs)($.Fragment, { children: [
|
|
3274
|
+
(0, $.jsx)(Ct, { sx: {
|
|
3275
3275
|
marginTop: "2px",
|
|
3276
3276
|
marginBottom: "2px"
|
|
3277
3277
|
} }),
|
|
3278
|
-
|
|
3278
|
+
ve,
|
|
3279
3279
|
(0, $.jsx)("div", { style: { marginBottom: "2px" } })
|
|
3280
3280
|
] }) : null
|
|
3281
3281
|
]
|
|
3282
3282
|
}), ge]
|
|
3283
3283
|
}),
|
|
3284
|
-
(0, $.jsx)(
|
|
3284
|
+
(0, $.jsx)(Ct, { style: { marginBottom: "10px" } }),
|
|
3285
3285
|
(0, $.jsxs)("div", {
|
|
3286
3286
|
style: {
|
|
3287
3287
|
display: "flex",
|
|
@@ -3344,7 +3344,7 @@ var qr = {
|
|
|
3344
3344
|
]
|
|
3345
3345
|
});
|
|
3346
3346
|
})), ni = (0, $.jsx)(u, { iconKey: "circle.colored" }), ri = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
3347
|
-
let { selectedColor: n, quickColor: r, icon: i = ni, tooltip: a, label: o, onPreviewColor: s, onPreviewColorImmediate: c, onSelectColor: l, variant: d =
|
|
3347
|
+
let { selectedColor: n, quickColor: r, icon: i = ni, tooltip: a, label: o, onPreviewColor: s, onPreviewColorImmediate: c, onSelectColor: l, variant: d = ot.Toolbar, propsPanel: f, shouldCloseFloatAll: p = !0, compareRGB: m = !1, darkMode: g = !1, ..._ } = e, v = B(s ?? ((e) => {}), [s]), y = B(c ?? ((e) => {}), [c]), b = B(l ?? ((e, t) => {}), [l]), [x, S] = (0, Q.useState)(() => {}), [C, w] = (0, Q.useState)(!1), T = r || (C ? x : void 0) || n || f?.autoColor, E = (0, Q.useRef)(!1), D = (0, Q.useCallback)(() => {
|
|
3348
3348
|
w(!1);
|
|
3349
3349
|
}, []), O = B(() => {
|
|
3350
3350
|
S(n), w(!0);
|
|
@@ -3411,10 +3411,10 @@ var qr = {
|
|
|
3411
3411
|
icon: M,
|
|
3412
3412
|
..._
|
|
3413
3413
|
};
|
|
3414
|
-
return d ===
|
|
3414
|
+
return d === ot.Toolbar ? (0, $.jsx)(_t, {
|
|
3415
3415
|
ref: t,
|
|
3416
3416
|
...te
|
|
3417
|
-
}) : (0, $.jsx)(
|
|
3417
|
+
}) : (0, $.jsx)(rt, {
|
|
3418
3418
|
ref: t,
|
|
3419
3419
|
...te
|
|
3420
3420
|
});
|
|
@@ -3422,20 +3422,20 @@ var qr = {
|
|
|
3422
3422
|
function ai(e, t) {
|
|
3423
3423
|
if (!t) return "";
|
|
3424
3424
|
switch (t.style) {
|
|
3425
|
-
case
|
|
3426
|
-
case
|
|
3427
|
-
case
|
|
3428
|
-
case
|
|
3429
|
-
case
|
|
3430
|
-
case
|
|
3431
|
-
case
|
|
3432
|
-
case
|
|
3433
|
-
case
|
|
3434
|
-
case
|
|
3435
|
-
case
|
|
3436
|
-
case
|
|
3437
|
-
case
|
|
3438
|
-
case
|
|
3425
|
+
case Y.StrokeStyle.None: return e("border.style.none");
|
|
3426
|
+
case Y.StrokeStyle.Hair: return e("border.style.hair");
|
|
3427
|
+
case Y.StrokeStyle.Dotted: return e("border.style.dotted");
|
|
3428
|
+
case Y.StrokeStyle.Dashed: return e("border.style.dashed");
|
|
3429
|
+
case Y.StrokeStyle.DashDot: return e("border.style.dashDot");
|
|
3430
|
+
case Y.StrokeStyle.DashDotDot: return e("border.style.dashDotDot");
|
|
3431
|
+
case Y.StrokeStyle.Double: return e("border.style.double");
|
|
3432
|
+
case Y.StrokeStyle.Thin: return e("border.style.thin");
|
|
3433
|
+
case Y.StrokeStyle.Medium: return e("border.style.medium");
|
|
3434
|
+
case Y.StrokeStyle.MediumDashed: return e("border.style.mediumDashed");
|
|
3435
|
+
case Y.StrokeStyle.MediumDashDot: return e("border.style.mediumDashDot");
|
|
3436
|
+
case Y.StrokeStyle.MediumDashDotDot: return e("border.style.mediumDashDotDot");
|
|
3437
|
+
case Y.StrokeStyle.SlantDashDot: return e("border.style.slantDashDot");
|
|
3438
|
+
case Y.StrokeStyle.Thick: return e("border.style.thick");
|
|
3439
3439
|
default: return t.description;
|
|
3440
3440
|
}
|
|
3441
3441
|
}
|
|
@@ -3455,7 +3455,7 @@ var oi = (e) => {
|
|
|
3455
3455
|
width: n,
|
|
3456
3456
|
viewBox: `0 0 ${n} ${r}`,
|
|
3457
3457
|
...l,
|
|
3458
|
-
children: (0, $.jsx)(
|
|
3458
|
+
children: (0, $.jsx)(ut, {
|
|
3459
3459
|
length: n,
|
|
3460
3460
|
width: r,
|
|
3461
3461
|
dashArray: i,
|
|
@@ -3466,7 +3466,7 @@ var oi = (e) => {
|
|
|
3466
3466
|
});
|
|
3467
3467
|
}, si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
3468
3468
|
let { variant: n, showLabels: r = !1, disabled: i, createPopupPanel: a, styleColor: o, selectedStyle: s, onSelectStyle: c, showNone: l = !0, darkMode: u, sx: d, ...f } = e, p = B(c ?? ((e) => {}), []), m = b(), g = (0, Q.useCallback)((e) => {
|
|
3469
|
-
let { popupContainer: t, closeFloat: n, ...a } = e, c = [], d =
|
|
3469
|
+
let { popupContainer: t, closeFloat: n, ...a } = e, c = [], d = Y.BuiltInDefinitionsArray;
|
|
3470
3470
|
for (let e = 0; e < d.length; e++) {
|
|
3471
3471
|
let t = d[e];
|
|
3472
3472
|
if (t.description === "None" && !l) continue;
|
|
@@ -3491,14 +3491,14 @@ var oi = (e) => {
|
|
|
3491
3491
|
flex: "1 1 100%"
|
|
3492
3492
|
},
|
|
3493
3493
|
children: [(0, $.jsx)("div", { style: { flex: "1 1 100%" } }), a]
|
|
3494
|
-
})] }) : t.description === "None" ? ai(m, t) : a, c.push((0, $.jsx)(
|
|
3494
|
+
})] }) : t.description === "None" ? ai(m, t) : a, c.push((0, $.jsx)(pt, {
|
|
3495
3495
|
className: "border-stroke",
|
|
3496
3496
|
tabIndex: 0,
|
|
3497
3497
|
sx: {
|
|
3498
3498
|
height: "28px",
|
|
3499
|
-
"& svg path.activeColor": { filter:
|
|
3499
|
+
"& svg path.activeColor": { filter: Ee(4) },
|
|
3500
3500
|
paddingLeft: "16px",
|
|
3501
|
-
backgroundImage:
|
|
3501
|
+
backgroundImage: _e
|
|
3502
3502
|
},
|
|
3503
3503
|
propsTooltip: { description: r ? "" : ai(m, t) },
|
|
3504
3504
|
icon: null,
|
|
@@ -3533,7 +3533,7 @@ var oi = (e) => {
|
|
|
3533
3533
|
]), _ = {
|
|
3534
3534
|
disabled: i,
|
|
3535
3535
|
icon: (0, Q.useMemo)(() => {
|
|
3536
|
-
let e, t =
|
|
3536
|
+
let e, t = Y.BuiltInDefinitions.get(s);
|
|
3537
3537
|
return t ? (e = t.description === "None" ? (0, $.jsx)(R, {
|
|
3538
3538
|
sx: { minWidth: `${ii}px` },
|
|
3539
3539
|
children: ai(m, t)
|
|
@@ -3554,7 +3554,7 @@ var oi = (e) => {
|
|
|
3554
3554
|
height: "24px",
|
|
3555
3555
|
display: "flex",
|
|
3556
3556
|
alignItems: "center",
|
|
3557
|
-
"& svg path.activeColor": { filter:
|
|
3557
|
+
"& svg path.activeColor": { filter: Ee() }
|
|
3558
3558
|
},
|
|
3559
3559
|
children: e
|
|
3560
3560
|
})) : null;
|
|
@@ -3563,20 +3563,20 @@ var oi = (e) => {
|
|
|
3563
3563
|
o,
|
|
3564
3564
|
m
|
|
3565
3565
|
]),
|
|
3566
|
-
tooltip: m("border.styleTooltip", { style: ai(m, (0, Q.useMemo)(() =>
|
|
3566
|
+
tooltip: m("border.styleTooltip", { style: ai(m, (0, Q.useMemo)(() => Y.BuiltInDefinitions.get(s), [s])) }),
|
|
3567
3567
|
sx: {
|
|
3568
|
-
backgroundImage:
|
|
3568
|
+
backgroundImage: _e,
|
|
3569
3569
|
...d
|
|
3570
3570
|
},
|
|
3571
3571
|
createPopupPanel: g,
|
|
3572
3572
|
...f
|
|
3573
3573
|
};
|
|
3574
|
-
return n ===
|
|
3574
|
+
return n === ot.Toolbar ? (0, $.jsx)(_t, { ..._ }) : (0, $.jsx)(rt, { ..._ });
|
|
3575
3575
|
})), ci = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
3576
|
-
let { autoColor: n, schemeLookup: r, autoStrokeStyle: i =
|
|
3576
|
+
let { autoColor: n, schemeLookup: r, autoStrokeStyle: i = Y.StrokeStyle.Thin, disabled: a, darkMode: o = !1, showStylingBefore: s = !0, onSelectBorder: c, onPreviewBorder: l, selectedBorder: d, createBorder: f, ...p } = e, m = B(c ?? ((e) => {}), [c]), h = B(l ?? ((e) => {}), [l]), g = b(), _ = H("borderOptions"), [v, y] = (0, Q.useState)(), [x, S] = (0, Q.useState)(), C = d || { bottom: {
|
|
3577
3577
|
style: i,
|
|
3578
3578
|
color: n?.toString() ?? gn.Named.Gray
|
|
3579
|
-
} }, w = v ?? C?.bottom?.style ?? i, T = x ?? (C?.bottom?.color ? new
|
|
3579
|
+
} }, w = v ?? C?.bottom?.style ?? i, T = x ?? (C?.bottom?.color ? new cn(C?.bottom?.color, r) : void 0) ?? n ?? null, E = B((e) => {
|
|
3580
3580
|
let t = {}, n = e ? Object.keys(e) : [], r = !1, i = n.length;
|
|
3581
3581
|
for (let a = 0; a < i; a++) {
|
|
3582
3582
|
let i = n[a], o = e?.[i];
|
|
@@ -3585,7 +3585,7 @@ var oi = (e) => {
|
|
|
3585
3585
|
style: o.style,
|
|
3586
3586
|
color: o.color
|
|
3587
3587
|
};
|
|
3588
|
-
t[i] = e, r || e.style ===
|
|
3588
|
+
t[i] = e, r || e.style === Y.StrokeStyle.None || (r = !0);
|
|
3589
3589
|
}
|
|
3590
3590
|
}
|
|
3591
3591
|
n.length < 6 && (r = !0);
|
|
@@ -3624,9 +3624,9 @@ var oi = (e) => {
|
|
|
3624
3624
|
width: "var(--icon-size, var(--icon-size-md))",
|
|
3625
3625
|
height: "var(--icon-size, var(--icon-size-md))",
|
|
3626
3626
|
padding: "1px 1px",
|
|
3627
|
-
"& svg path": { filter:
|
|
3627
|
+
"& svg path": { filter: ye }
|
|
3628
3628
|
},
|
|
3629
|
-
children: (0, $.jsx)(
|
|
3629
|
+
children: (0, $.jsx)(Ot, {
|
|
3630
3630
|
getBorderAt: (e, r) => {
|
|
3631
3631
|
if (!f || n.length === 0) return null;
|
|
3632
3632
|
let i = e.rowIndex, a = e.colIndex, o = {};
|
|
@@ -3664,14 +3664,14 @@ var oi = (e) => {
|
|
|
3664
3664
|
}, []), k = (0, Q.useCallback)((e) => {
|
|
3665
3665
|
h?.(e);
|
|
3666
3666
|
}, []);
|
|
3667
|
-
return (0, $.jsx)(
|
|
3667
|
+
return (0, $.jsx)(_t, {
|
|
3668
3668
|
ref: t,
|
|
3669
3669
|
createPopupPanel: (0, Q.useCallback)((e) => {
|
|
3670
3670
|
let { closeFloatAll: t } = e, i = (e, n, r = "bottom", i = !1) => {
|
|
3671
|
-
let a = D(e, T ?? null, i ?
|
|
3672
|
-
return (0, $.jsx)(
|
|
3671
|
+
let a = D(e, T ?? null, i ? Y.StrokeStyle.None : w ?? null), o = i ? D([], T ?? null, w ?? null) : a;
|
|
3672
|
+
return (0, $.jsx)(lt, {
|
|
3673
3673
|
icon: E(o),
|
|
3674
|
-
sx: { backgroundImage:
|
|
3674
|
+
sx: { backgroundImage: _e },
|
|
3675
3675
|
propsTooltip: {
|
|
3676
3676
|
label: n,
|
|
3677
3677
|
simple: !0,
|
|
@@ -3691,21 +3691,21 @@ var oi = (e) => {
|
|
|
3691
3691
|
},
|
|
3692
3692
|
children: [
|
|
3693
3693
|
i([
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3694
|
+
Y.Edge.Left,
|
|
3695
|
+
Y.Edge.Top,
|
|
3696
|
+
Y.Edge.Right,
|
|
3697
|
+
Y.Edge.Bottom,
|
|
3698
|
+
Y.Edge.Horizontal,
|
|
3699
|
+
Y.Edge.Vertical
|
|
3700
3700
|
], g("border.all"), "top"),
|
|
3701
|
-
i([
|
|
3702
|
-
i([
|
|
3703
|
-
i([
|
|
3701
|
+
i([Y.Edge.Horizontal, Y.Edge.Vertical], g("border.inner"), "top"),
|
|
3702
|
+
i([Y.Edge.Horizontal], g("border.insideHorizontal"), "top"),
|
|
3703
|
+
i([Y.Edge.Vertical], g("border.insideVertical"), "top"),
|
|
3704
3704
|
i([
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3705
|
+
Y.Edge.Left,
|
|
3706
|
+
Y.Edge.Top,
|
|
3707
|
+
Y.Edge.Right,
|
|
3708
|
+
Y.Edge.Bottom
|
|
3709
3709
|
], g("border.outside"), "top")
|
|
3710
3710
|
]
|
|
3711
3711
|
}), (0, $.jsxs)(R, {
|
|
@@ -3717,19 +3717,19 @@ var oi = (e) => {
|
|
|
3717
3717
|
gap: "2px"
|
|
3718
3718
|
},
|
|
3719
3719
|
children: [
|
|
3720
|
-
i([
|
|
3721
|
-
i([
|
|
3722
|
-
i([
|
|
3723
|
-
i([
|
|
3720
|
+
i([Y.Edge.Left], g("border.left")),
|
|
3721
|
+
i([Y.Edge.Top], g("border.top")),
|
|
3722
|
+
i([Y.Edge.Right], g("border.right")),
|
|
3723
|
+
i([Y.Edge.Bottom], g("border.bottom")),
|
|
3724
3724
|
i([
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3725
|
+
Y.Edge.Left,
|
|
3726
|
+
Y.Edge.Top,
|
|
3727
|
+
Y.Edge.Right,
|
|
3728
|
+
Y.Edge.Bottom,
|
|
3729
|
+
Y.Edge.Horizontal,
|
|
3730
|
+
Y.Edge.Vertical,
|
|
3731
|
+
Y.Edge.DiagonalUp,
|
|
3732
|
+
Y.Edge.DiagonalDown
|
|
3733
3733
|
], g("border.none"), "bottom", !0)
|
|
3734
3734
|
]
|
|
3735
3735
|
})] }), l = (0, $.jsx)($.Fragment, { children: (0, $.jsxs)(R, {
|
|
@@ -3740,9 +3740,9 @@ var oi = (e) => {
|
|
|
3740
3740
|
gap: "6px"
|
|
3741
3741
|
},
|
|
3742
3742
|
children: [(0, $.jsx)(ri, {
|
|
3743
|
-
variant:
|
|
3743
|
+
variant: ot.Toolbar,
|
|
3744
3744
|
icon: (0, $.jsx)(u, { iconKey: "stroke.colored" }),
|
|
3745
|
-
selectedColor: w ===
|
|
3745
|
+
selectedColor: w === Y.StrokeStyle.None ? new cn("transparent") : T ?? new cn("transparent"),
|
|
3746
3746
|
onPreviewColor: (e) => {
|
|
3747
3747
|
S(e);
|
|
3748
3748
|
},
|
|
@@ -3757,14 +3757,14 @@ var oi = (e) => {
|
|
|
3757
3757
|
schemeLookup: r,
|
|
3758
3758
|
...V("grid", o ? "dark" : "light")
|
|
3759
3759
|
},
|
|
3760
|
-
disabled: a || w ===
|
|
3760
|
+
disabled: a || w === Y.StrokeStyle.None,
|
|
3761
3761
|
shouldCloseFloatAll: !1
|
|
3762
3762
|
}), (0, $.jsx)(si, {
|
|
3763
3763
|
selectedStyle: w,
|
|
3764
3764
|
onSelectStyle: y,
|
|
3765
3765
|
styleColor: T,
|
|
3766
3766
|
darkMode: o,
|
|
3767
|
-
variant:
|
|
3767
|
+
variant: ot.Toolbar
|
|
3768
3768
|
})]
|
|
3769
3769
|
}) });
|
|
3770
3770
|
return (0, $.jsxs)(R, {
|
|
@@ -3778,7 +3778,7 @@ var oi = (e) => {
|
|
|
3778
3778
|
onClick: (e) => e.stopPropagation(),
|
|
3779
3779
|
children: [
|
|
3780
3780
|
s ? l : c,
|
|
3781
|
-
(0, $.jsx)(
|
|
3781
|
+
(0, $.jsx)(q, { orientation: "horizontal" }),
|
|
3782
3782
|
s ? c : l
|
|
3783
3783
|
]
|
|
3784
3784
|
});
|
|
@@ -3792,7 +3792,7 @@ var oi = (e) => {
|
|
|
3792
3792
|
g
|
|
3793
3793
|
]),
|
|
3794
3794
|
propsPopup: { propsPopper: { resizeOnOverflow: !1 } },
|
|
3795
|
-
createTooltip: ({ children: e }, t) => (0, $.jsx)(
|
|
3795
|
+
createTooltip: ({ children: e }, t) => (0, $.jsx)(Le, {
|
|
3796
3796
|
label: _?.getLabel?.(),
|
|
3797
3797
|
description: _?.getDescription?.(),
|
|
3798
3798
|
disabled: t,
|
|
@@ -3806,7 +3806,7 @@ var oi = (e) => {
|
|
|
3806
3806
|
...p
|
|
3807
3807
|
});
|
|
3808
3808
|
})), li = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
3809
|
-
let { commandKey: n, variant: r = x.Toolbar, disabled: i, autoColor: a, autoStrokeStyle: o, schemeLookup: s, createBorder: c, selectedBorder: l, onSelectBorder: u, darkMode: d, icon: f, label: p, ...m } = e, h = P([n ?? "formatBorder"])[0], g = h?.getContext() ?? null, _ = g?.autoColor ?? a, v = g?.autoStyle ?? o, y = l ?? g?.quickBorder, b =
|
|
3809
|
+
let { commandKey: n, variant: r = x.Toolbar, disabled: i, autoColor: a, autoStrokeStyle: o, schemeLookup: s, createBorder: c, selectedBorder: l, onSelectBorder: u, darkMode: d, icon: f, label: p, ...m } = e, h = P([n ?? "formatBorder"])[0], g = h?.getContext() ?? null, _ = g?.autoColor ?? a, v = g?.autoStyle ?? o, y = l ?? g?.quickBorder, b = Lt();
|
|
3810
3810
|
return (0, $.jsx)(ci, {
|
|
3811
3811
|
ref: t,
|
|
3812
3812
|
autoColor: _,
|
|
@@ -3820,7 +3820,7 @@ var oi = (e) => {
|
|
|
3820
3820
|
}, [h, u]),
|
|
3821
3821
|
createTooltip: (0, Q.useCallback)((e, t) => {
|
|
3822
3822
|
let { children: a, title: o, ...s } = e, c = e.children;
|
|
3823
|
-
return (h?.disabled() || i) && (c = (0, $.jsx)("div", { children: c })), (0, $.jsx)(
|
|
3823
|
+
return (h?.disabled() || i) && (c = (0, $.jsx)("div", { children: c })), (0, $.jsx)(qt, {
|
|
3824
3824
|
commandKey: n,
|
|
3825
3825
|
placement: r === x.Toolbar ? "bottom-start" : "right-start",
|
|
3826
3826
|
disabled: t,
|
|
@@ -3844,21 +3844,21 @@ var oi = (e) => {
|
|
|
3844
3844
|
p(d());
|
|
3845
3845
|
}, [u?.getState()]);
|
|
3846
3846
|
let g = ["formatFontSizeIncrease", "formatFontSizeDecrease"], _ = (0, Q.useMemo)(() => g ? (0, $.jsxs)(R, {
|
|
3847
|
-
className:
|
|
3847
|
+
className: J("quick-buttons", {}),
|
|
3848
3848
|
sx: {
|
|
3849
3849
|
display: "flex",
|
|
3850
3850
|
alignItems: "center",
|
|
3851
3851
|
justifyContent: "center"
|
|
3852
3852
|
},
|
|
3853
3853
|
onClick: (e) => e.stopPropagation(),
|
|
3854
|
-
children: [(0, $.jsx)(
|
|
3855
|
-
}) : null, [g]), v = ee(), y = (0, Q.useMemo)(() => `${
|
|
3854
|
+
children: [(0, $.jsx)(K, { commandKey: g[0] }), (0, $.jsx)(K, { commandKey: g[1] })]
|
|
3855
|
+
}) : null, [g]), v = ee(), y = (0, Q.useMemo)(() => `${un.getSharedMeasurer()("12.3", Math.round(v.typography.fontSize), v.typography.fontFamily ?? "").width}px`, [v]), b = a ?? (!u || u.disabled()), x = (0, Q.useCallback)((e) => {
|
|
3856
3856
|
let { onMouseDown: t, onMouseUp: n, ...r } = e;
|
|
3857
3857
|
return (0, $.jsx)(U, {
|
|
3858
3858
|
component: "div",
|
|
3859
3859
|
...r,
|
|
3860
3860
|
disableRipple: !0,
|
|
3861
|
-
children: (0, $.jsx)(
|
|
3861
|
+
children: (0, $.jsx)(We, {
|
|
3862
3862
|
inputMode: "numeric",
|
|
3863
3863
|
disabled: a || !u || u.disabled(),
|
|
3864
3864
|
inputProps: {
|
|
@@ -3928,9 +3928,9 @@ var oi = (e) => {
|
|
|
3928
3928
|
}, n = u?.getState(), r = [];
|
|
3929
3929
|
for (let e = 0; e < i.length; e++) {
|
|
3930
3930
|
let o = i[e] === n;
|
|
3931
|
-
r.push((0, $.jsx)(
|
|
3931
|
+
r.push((0, $.jsx)(pt, {
|
|
3932
3932
|
selected: o,
|
|
3933
|
-
icon: o ? (0, $.jsx)(
|
|
3933
|
+
icon: o ? (0, $.jsx)(yt, {}) : void 0,
|
|
3934
3934
|
disabled: a || !u || u.disabled(),
|
|
3935
3935
|
onMouseDown: (e) => {
|
|
3936
3936
|
e.button === 0 && e.preventDefault();
|
|
@@ -3965,7 +3965,7 @@ var oi = (e) => {
|
|
|
3965
3965
|
...l,
|
|
3966
3966
|
children: [
|
|
3967
3967
|
_,
|
|
3968
|
-
(0, $.jsx)(
|
|
3968
|
+
(0, $.jsx)(q, { orientation: "horizontal" }),
|
|
3969
3969
|
(0, $.jsx)(R, {
|
|
3970
3970
|
sx: {
|
|
3971
3971
|
overflow: "auto",
|
|
@@ -3975,19 +3975,19 @@ var oi = (e) => {
|
|
|
3975
3975
|
})
|
|
3976
3976
|
]
|
|
3977
3977
|
});
|
|
3978
|
-
return
|
|
3978
|
+
return xt({
|
|
3979
3979
|
...e,
|
|
3980
3980
|
children: o
|
|
3981
3981
|
});
|
|
3982
3982
|
}, [b, u?.getState()]);
|
|
3983
|
-
return (0, $.jsx)(
|
|
3983
|
+
return (0, $.jsx)(_t, {
|
|
3984
3984
|
ref: t,
|
|
3985
3985
|
sx: { ...c },
|
|
3986
3986
|
tabIndex: -1,
|
|
3987
3987
|
outlined: !0,
|
|
3988
3988
|
disabled: b,
|
|
3989
3989
|
createPopupPanel: S,
|
|
3990
|
-
createTooltip: ({ children: e }, t) => (0, $.jsx)(
|
|
3990
|
+
createTooltip: ({ children: e }, t) => (0, $.jsx)(Le, {
|
|
3991
3991
|
label: u?.getLabel(),
|
|
3992
3992
|
description: u?.getDescription(),
|
|
3993
3993
|
disabled: t || u?.disabled(),
|
|
@@ -3996,7 +3996,7 @@ var oi = (e) => {
|
|
|
3996
3996
|
renderQuickButton: x,
|
|
3997
3997
|
...l
|
|
3998
3998
|
});
|
|
3999
|
-
})), { Builder: di } =
|
|
3999
|
+
})), { Builder: di } = X, fi = "USD.EUR.JPY.GBP.CNY.AUD.CAD.CHF.HKD.SGD.SEK.NOK.DKK.NZD.KRW.INR.BRL.RUB.ZAR.MXN.TRY.PLN.THB.IDR.ILS.AED.SAR.CZK.HUF.PHP.MYR.TWD".split("."), pi = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
4000
4000
|
let { sx: n, disabled: r, groupKey: i, ...a } = e, o = b(), s = _(), [c] = P(["formatNumberFormatAccountingStyle"]), l = r ?? (!c || c.disabled()), { reference: d } = M(), f = (0, Q.useCallback)((e) => {
|
|
4001
4001
|
let t = (e) => {
|
|
4002
4002
|
d?.closeAll(), c?.execute(e ?? void 0);
|
|
@@ -4045,7 +4045,7 @@ var oi = (e) => {
|
|
|
4045
4045
|
return e;
|
|
4046
4046
|
}
|
|
4047
4047
|
}(e);
|
|
4048
|
-
return (0, $.jsx)(
|
|
4048
|
+
return (0, $.jsx)(pt, {
|
|
4049
4049
|
...n(() => t(function(e) {
|
|
4050
4050
|
let t = di.parse(di.defaultCodeForCategory("Accounting"));
|
|
4051
4051
|
return di.build({
|
|
@@ -4056,7 +4056,7 @@ var oi = (e) => {
|
|
|
4056
4056
|
children: r(`${i} ${mi(e, s)} (${e})`)
|
|
4057
4057
|
}, e);
|
|
4058
4058
|
});
|
|
4059
|
-
return
|
|
4059
|
+
return xt({
|
|
4060
4060
|
...e,
|
|
4061
4061
|
children: (0, $.jsxs)(R, {
|
|
4062
4062
|
sx: {
|
|
@@ -4067,10 +4067,10 @@ var oi = (e) => {
|
|
|
4067
4067
|
},
|
|
4068
4068
|
children: [(0, $.jsxs)(R, {
|
|
4069
4069
|
sx: { flex: "none" },
|
|
4070
|
-
children: [(0, $.jsx)(
|
|
4070
|
+
children: [(0, $.jsx)(pt, {
|
|
4071
4071
|
...n(() => t()),
|
|
4072
4072
|
children: r(o("numberFormat.accountingDefault"))
|
|
4073
|
-
}, "default-currency"), (0, $.jsx)(
|
|
4073
|
+
}, "default-currency"), (0, $.jsx)(q, { orientation: "horizontal" })]
|
|
4074
4074
|
}), (0, $.jsx)(R, {
|
|
4075
4075
|
sx: {
|
|
4076
4076
|
overflow: "auto",
|
|
@@ -4087,13 +4087,13 @@ var oi = (e) => {
|
|
|
4087
4087
|
o,
|
|
4088
4088
|
s
|
|
4089
4089
|
]);
|
|
4090
|
-
return (0, $.jsx)(
|
|
4090
|
+
return (0, $.jsx)(vt, {
|
|
4091
4091
|
ref: t,
|
|
4092
4092
|
sx: { ...n },
|
|
4093
4093
|
disabled: l,
|
|
4094
4094
|
quickCommand: "formatNumberFormatAccountingStyle",
|
|
4095
4095
|
createPopupPanel: f,
|
|
4096
|
-
createTooltip: ({ children: e }, t) => (0, $.jsx)(
|
|
4096
|
+
createTooltip: ({ children: e }, t) => (0, $.jsx)(Le, {
|
|
4097
4097
|
label: c?.getLabel?.(i),
|
|
4098
4098
|
description: c?.getDescription?.(i),
|
|
4099
4099
|
disabled: t,
|
|
@@ -4113,28 +4113,28 @@ function mi(e, t) {
|
|
|
4113
4113
|
}
|
|
4114
4114
|
var hi = (e, t) => {
|
|
4115
4115
|
switch (t) {
|
|
4116
|
-
case
|
|
4117
|
-
case
|
|
4118
|
-
case
|
|
4119
|
-
case
|
|
4120
|
-
case
|
|
4121
|
-
case
|
|
4122
|
-
case
|
|
4123
|
-
case
|
|
4124
|
-
case
|
|
4125
|
-
case
|
|
4126
|
-
case
|
|
4127
|
-
case
|
|
4128
|
-
case
|
|
4129
|
-
case
|
|
4130
|
-
case
|
|
4131
|
-
case
|
|
4132
|
-
case
|
|
4116
|
+
case X.Type.General: return e("numberFormat.catGeneral");
|
|
4117
|
+
case X.Type.Number: return e("numberFormat.catNumber");
|
|
4118
|
+
case X.Type.Currency: return e("numberFormat.catCurrency");
|
|
4119
|
+
case X.Type.Accounting: return e("numberFormat.catAccounting");
|
|
4120
|
+
case X.Type.ShortDate: return e("numberFormat.typeShortDate");
|
|
4121
|
+
case X.Type.MediumDate: return e("numberFormat.typeMediumDate");
|
|
4122
|
+
case X.Type.LongDate: return e("numberFormat.typeLongDate");
|
|
4123
|
+
case X.Type.ShortTime: return e("numberFormat.typeShortTime");
|
|
4124
|
+
case X.Type.MediumTime: return e("numberFormat.typeMediumTime");
|
|
4125
|
+
case X.Type.LongTime: return e("numberFormat.typeLongTime");
|
|
4126
|
+
case X.Type.Comma: return e("numberFormat.typeComma");
|
|
4127
|
+
case X.Type.Percentage: return e("numberFormat.catPercentage");
|
|
4128
|
+
case X.Type.Fraction: return e("numberFormat.catFraction");
|
|
4129
|
+
case X.Type.Scientific: return e("numberFormat.catScientific");
|
|
4130
|
+
case X.Type.Text: return e("numberFormat.catText");
|
|
4131
|
+
case X.Type.Special: return e("numberFormat.catSpecial");
|
|
4132
|
+
case X.Type.Custom: return e("numberFormat.catCustom");
|
|
4133
4133
|
default: return t;
|
|
4134
4134
|
}
|
|
4135
4135
|
}, gi = (0, Q.memo)((e) => {
|
|
4136
4136
|
let { selected: t, disabled: n, formattedValue: r, handleSetFormat: i, format: a, sx: o, ...s } = e, c = b();
|
|
4137
|
-
return (0, $.jsx)(
|
|
4137
|
+
return (0, $.jsx)(pt, {
|
|
4138
4138
|
sx: {
|
|
4139
4139
|
maxWidth: "360px",
|
|
4140
4140
|
display: "flex",
|
|
@@ -4143,7 +4143,7 @@ var hi = (e, t) => {
|
|
|
4143
4143
|
},
|
|
4144
4144
|
disabled: n,
|
|
4145
4145
|
selected: t,
|
|
4146
|
-
icon: t ? (0, $.jsx)(
|
|
4146
|
+
icon: t ? (0, $.jsx)(yt, {}) : void 0,
|
|
4147
4147
|
onMouseDown: (e) => {
|
|
4148
4148
|
e.button === 0 && e.preventDefault();
|
|
4149
4149
|
},
|
|
@@ -4163,7 +4163,7 @@ var hi = (e, t) => {
|
|
|
4163
4163
|
},
|
|
4164
4164
|
children: [(0, $.jsxs)(G, {
|
|
4165
4165
|
component: "div",
|
|
4166
|
-
children: [hi(c, a.formatType), a.formatType ===
|
|
4166
|
+
children: [hi(c, a.formatType), a.formatType === X.Type.Custom ? "…" : ""]
|
|
4167
4167
|
}), (0, $.jsx)(G, {
|
|
4168
4168
|
variant: "caption",
|
|
4169
4169
|
component: "div",
|
|
@@ -4178,13 +4178,13 @@ var hi = (e, t) => {
|
|
|
4178
4178
|
})
|
|
4179
4179
|
});
|
|
4180
4180
|
}), _i = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
4181
|
-
let { groupKey: n, sx: r, disabled: i, ...a } = e, o = P(["formatNumberFormat", "formatNumberDialog"]), s = o[0], c = o[1], l = s?.getState(), u = l ?
|
|
4182
|
-
let e = hi(d,
|
|
4183
|
-
return 2 * (
|
|
4181
|
+
let { groupKey: n, sx: r, disabled: i, ...a } = e, o = P(["formatNumberFormat", "formatNumberDialog"]), s = o[0], c = o[1], l = s?.getState(), u = l ? X.Styles.lookupStyle(l).formatType : void 0, d = b(), f = ee(), p = (0, Q.useMemo)(() => {
|
|
4182
|
+
let e = hi(d, X.Type.General);
|
|
4183
|
+
return 2 * (un.getSharedMeasurer()(e ?? "", Math.round(f.typography.fontSize), f.typography.fontFamily ?? "").width ?? 0) + "px";
|
|
4184
4184
|
}, [f, d]), m = (0, Q.useCallback)((e) => {
|
|
4185
4185
|
let t = (e) => {
|
|
4186
4186
|
s?.execute(e);
|
|
4187
|
-
}, r = s?.getContext(), o =
|
|
4187
|
+
}, r = s?.getContext(), o = X.Styles.lookupPrimary(), l = [];
|
|
4188
4188
|
for (let e = 0; e < o.length; e++) {
|
|
4189
4189
|
let n = "";
|
|
4190
4190
|
if (r && !r.isEmpty()) try {
|
|
@@ -4192,7 +4192,7 @@ var hi = (e, t) => {
|
|
|
4192
4192
|
} catch (e) {
|
|
4193
4193
|
console.warn(e);
|
|
4194
4194
|
}
|
|
4195
|
-
n === "" && o[e].formatType ===
|
|
4195
|
+
n === "" && o[e].formatType === X.Type.General && (n = d("numberFormat.noSpecificFormat"));
|
|
4196
4196
|
let a = o[e].formatType === u;
|
|
4197
4197
|
l.push((0, $.jsx)(gi, {
|
|
4198
4198
|
selected: a,
|
|
@@ -4204,8 +4204,8 @@ var hi = (e, t) => {
|
|
|
4204
4204
|
}
|
|
4205
4205
|
let f = {
|
|
4206
4206
|
numberFormat: "",
|
|
4207
|
-
formatType:
|
|
4208
|
-
}, p = u ===
|
|
4207
|
+
formatType: X.Type.Custom
|
|
4208
|
+
}, p = u === X.Type.Custom, m = (0, $.jsx)(gi, {
|
|
4209
4209
|
selected: p,
|
|
4210
4210
|
disabled: i || !s || s.disabled(),
|
|
4211
4211
|
formattedValue: p && r ? r.getNumberFormat().displayText : "",
|
|
@@ -4217,7 +4217,7 @@ var hi = (e, t) => {
|
|
|
4217
4217
|
flex: "0",
|
|
4218
4218
|
width: "100%"
|
|
4219
4219
|
}
|
|
4220
|
-
},
|
|
4220
|
+
}, X.Type.Custom), h = (0, $.jsxs)(R, {
|
|
4221
4221
|
className: "quick-buttons",
|
|
4222
4222
|
sx: {
|
|
4223
4223
|
display: "flex",
|
|
@@ -4227,19 +4227,19 @@ var hi = (e, t) => {
|
|
|
4227
4227
|
onClick: (e) => e.stopPropagation(),
|
|
4228
4228
|
children: [
|
|
4229
4229
|
(0, $.jsx)(pi, { groupKey: n }),
|
|
4230
|
-
(0, $.jsx)(
|
|
4230
|
+
(0, $.jsx)(K, {
|
|
4231
4231
|
commandKey: "formatNumberFormatPercentStyle",
|
|
4232
4232
|
groupKey: n
|
|
4233
4233
|
}),
|
|
4234
|
-
(0, $.jsx)(
|
|
4234
|
+
(0, $.jsx)(K, {
|
|
4235
4235
|
commandKey: "formatNumberFormatCommaStyle",
|
|
4236
4236
|
groupKey: n
|
|
4237
4237
|
}),
|
|
4238
|
-
(0, $.jsx)(
|
|
4238
|
+
(0, $.jsx)(K, {
|
|
4239
4239
|
commandKey: "formatNumberFormatIncreaseDecimal",
|
|
4240
4240
|
groupKey: n
|
|
4241
4241
|
}),
|
|
4242
|
-
(0, $.jsx)(
|
|
4242
|
+
(0, $.jsx)(K, {
|
|
4243
4243
|
commandKey: "formatNumberFormatDecreaseDecimal",
|
|
4244
4244
|
groupKey: n
|
|
4245
4245
|
})
|
|
@@ -4254,7 +4254,7 @@ var hi = (e, t) => {
|
|
|
4254
4254
|
...a,
|
|
4255
4255
|
children: [
|
|
4256
4256
|
h,
|
|
4257
|
-
(0, $.jsx)(
|
|
4257
|
+
(0, $.jsx)(q, { orientation: "horizontal" }),
|
|
4258
4258
|
(0, $.jsx)(R, {
|
|
4259
4259
|
sx: {
|
|
4260
4260
|
overflow: "auto",
|
|
@@ -4262,11 +4262,11 @@ var hi = (e, t) => {
|
|
|
4262
4262
|
},
|
|
4263
4263
|
children: l
|
|
4264
4264
|
}),
|
|
4265
|
-
(0, $.jsx)(
|
|
4265
|
+
(0, $.jsx)(q, { orientation: "horizontal" }),
|
|
4266
4266
|
m
|
|
4267
4267
|
]
|
|
4268
4268
|
});
|
|
4269
|
-
return
|
|
4269
|
+
return xt({
|
|
4270
4270
|
...e,
|
|
4271
4271
|
children: g
|
|
4272
4272
|
});
|
|
@@ -4277,13 +4277,13 @@ var hi = (e, t) => {
|
|
|
4277
4277
|
n,
|
|
4278
4278
|
d
|
|
4279
4279
|
]);
|
|
4280
|
-
return (0, $.jsx)(
|
|
4280
|
+
return (0, $.jsx)(vt, {
|
|
4281
4281
|
ref: t,
|
|
4282
4282
|
sx: r,
|
|
4283
4283
|
outlined: !0,
|
|
4284
4284
|
disabled: i ?? (!s || s.disabled()),
|
|
4285
4285
|
createPopupPanel: m,
|
|
4286
|
-
createTooltip: ({ children: e }, t) => (0, $.jsx)(
|
|
4286
|
+
createTooltip: ({ children: e }, t) => (0, $.jsx)(Le, {
|
|
4287
4287
|
label: s?.getLabel(),
|
|
4288
4288
|
description: s?.getDescription(),
|
|
4289
4289
|
disabled: t,
|
|
@@ -4321,7 +4321,7 @@ var hi = (e, t) => {
|
|
|
4321
4321
|
v || (n = !0), n ||= a ? !v.hasRedo() && !v.hasUndo() : !v.hasRedo();
|
|
4322
4322
|
let r = (e) => {
|
|
4323
4323
|
g?.execute(e);
|
|
4324
|
-
}, o = (0, $.jsx)(
|
|
4324
|
+
}, o = (0, $.jsx)(pt, {
|
|
4325
4325
|
sx: {
|
|
4326
4326
|
display: "flex",
|
|
4327
4327
|
flex: "none",
|
|
@@ -4357,7 +4357,7 @@ var hi = (e, t) => {
|
|
|
4357
4357
|
let s = i ? v?.getRedoDescriptions() : v?.getUndoDescriptions(), c = [];
|
|
4358
4358
|
for (let e = 0; e < s.length; e++) {
|
|
4359
4359
|
let t = m(s[e]);
|
|
4360
|
-
c.push((0, $.jsx)(
|
|
4360
|
+
c.push((0, $.jsx)(pt, {
|
|
4361
4361
|
sx: {
|
|
4362
4362
|
maxWidth: "360px",
|
|
4363
4363
|
display: "flex"
|
|
@@ -4402,7 +4402,7 @@ var hi = (e, t) => {
|
|
|
4402
4402
|
...e,
|
|
4403
4403
|
quickCommand: "redo",
|
|
4404
4404
|
isRedo: !0
|
|
4405
|
-
}, "nested:redo")), v.hasRedo() && v.hasUndo() && l.push((0, $.jsx)(
|
|
4405
|
+
}, "nested:redo")), v.hasRedo() && v.hasUndo() && l.push((0, $.jsx)(q, { orientation: "horizontal" }, "action:redo-div"));
|
|
4406
4406
|
}
|
|
4407
4407
|
let d = (0, $.jsxs)(R, {
|
|
4408
4408
|
sx: {
|
|
@@ -4426,11 +4426,11 @@ var hi = (e, t) => {
|
|
|
4426
4426
|
},
|
|
4427
4427
|
children: c
|
|
4428
4428
|
}),
|
|
4429
|
-
(0, $.jsx)(
|
|
4429
|
+
(0, $.jsx)(q, { orientation: "horizontal" }),
|
|
4430
4430
|
o
|
|
4431
4431
|
]
|
|
4432
4432
|
});
|
|
4433
|
-
return
|
|
4433
|
+
return xt({
|
|
4434
4434
|
...e,
|
|
4435
4435
|
children: d
|
|
4436
4436
|
});
|
|
@@ -4443,7 +4443,7 @@ var hi = (e, t) => {
|
|
|
4443
4443
|
y,
|
|
4444
4444
|
m
|
|
4445
4445
|
]);
|
|
4446
|
-
return (0, $.jsx)(
|
|
4446
|
+
return (0, $.jsx)(vt, {
|
|
4447
4447
|
ref: t,
|
|
4448
4448
|
quickCommand: n,
|
|
4449
4449
|
groupKey: s,
|
|
@@ -4459,8 +4459,8 @@ var hi = (e, t) => {
|
|
|
4459
4459
|
let { commandKey: n, onSelectColor: r, disabled: i, variant: a = x.Toolbar, quickColor: o, propsPanel: s, isSplit: c = !1, darkMode: l, icon: u, ...d } = e, { autoColor: f, schemeLookup: p, recentColors: m, ...h } = s ?? {};
|
|
4460
4460
|
if (d.selectedColor) throw Error("Command selectedColor will be used. Do not try to provide one as a direct argument");
|
|
4461
4461
|
let [g] = P([n ?? ""]), _ = g?.getContext(), v = o ?? _?.quickColor;
|
|
4462
|
-
c && !v && (v = new
|
|
4463
|
-
let y = f ?? _?.autoColor, b = p ?? _?.schemeLookup, S = m ?? _?.recentColors, C =
|
|
4462
|
+
c && !v && (v = new cn("transparent"));
|
|
4463
|
+
let y = f ?? _?.autoColor, b = p ?? _?.schemeLookup, S = m ?? _?.recentColors, C = Lt(), w = l ?? C === "dark", T = (0, Q.useMemo)(() => ({
|
|
4464
4464
|
autoColor: y,
|
|
4465
4465
|
schemeLookup: b,
|
|
4466
4466
|
recentColors: S,
|
|
@@ -4480,7 +4480,7 @@ var hi = (e, t) => {
|
|
|
4480
4480
|
_
|
|
4481
4481
|
]), D = (0, Q.useCallback)((e, t) => {
|
|
4482
4482
|
let { children: r, title: o, ...s } = e, c = e.children;
|
|
4483
|
-
return (g?.disabled() || i) && (c = (0, $.jsx)("div", { children: c })), (0, $.jsx)(
|
|
4483
|
+
return (g?.disabled() || i) && (c = (0, $.jsx)("div", { children: c })), (0, $.jsx)(qt, {
|
|
4484
4484
|
commandKey: n,
|
|
4485
4485
|
placement: a === x.Toolbar ? "bottom-start" : "right-start",
|
|
4486
4486
|
disabled: t,
|
|
@@ -4495,7 +4495,7 @@ var hi = (e, t) => {
|
|
|
4495
4495
|
quickColor: v,
|
|
4496
4496
|
selectedColor: g?.getState(),
|
|
4497
4497
|
onSelectColor: E,
|
|
4498
|
-
variant: a === x.Menuitem ?
|
|
4498
|
+
variant: a === x.Menuitem ? ot.Menuitem : ot.Toolbar,
|
|
4499
4499
|
createTooltip: D,
|
|
4500
4500
|
label: g?.getLabel(),
|
|
4501
4501
|
disabled: i ?? (!g || g.disabled()),
|
|
@@ -4511,7 +4511,7 @@ for (let e = 0; e < bi.length; e++) {
|
|
|
4511
4511
|
t && xi.set(t.getFamily(), bi[e]);
|
|
4512
4512
|
}
|
|
4513
4513
|
var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
4514
|
-
let { commandKey: n, sx: r, disabled: i, icon: a, label: o, ...s } = e, [c] = P([n]), l = c?.getState(), u = ee(), d = (0, Q.useMemo)(() => `${
|
|
4514
|
+
let { commandKey: n, sx: r, disabled: i, icon: a, label: o, ...s } = e, [c] = P([n]), l = c?.getState(), u = ee(), d = (0, Q.useMemo)(() => `${un.getSharedMeasurer()("Times New Roman", Math.round(u.typography.fontSize), u.typography.fontFamily ?? "").width}px`, [u]), f = i ?? (!c || c.disabled()), p = (0, Q.useCallback)((e) => {
|
|
4515
4515
|
let t = (e) => {
|
|
4516
4516
|
c?.execute(e);
|
|
4517
4517
|
}, n = [];
|
|
@@ -4533,7 +4533,7 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
4533
4533
|
let a = n[e];
|
|
4534
4534
|
if (!a) continue;
|
|
4535
4535
|
let o = a.key, s = a.key === l;
|
|
4536
|
-
r.push((0, $.jsx)(
|
|
4536
|
+
r.push((0, $.jsx)(pt, {
|
|
4537
4537
|
sx: {
|
|
4538
4538
|
display: "flex",
|
|
4539
4539
|
paddingTop: "4px",
|
|
@@ -4541,7 +4541,7 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
4541
4541
|
},
|
|
4542
4542
|
selected: s,
|
|
4543
4543
|
disabled: i || !c || c.disabled(),
|
|
4544
|
-
icon: s ? (0, $.jsx)(
|
|
4544
|
+
icon: s ? (0, $.jsx)(yt, {}) : void 0,
|
|
4545
4545
|
onMouseUp: (e) => {
|
|
4546
4546
|
e.button === 0 && t(o);
|
|
4547
4547
|
},
|
|
@@ -4586,18 +4586,18 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
4586
4586
|
children: r
|
|
4587
4587
|
})
|
|
4588
4588
|
});
|
|
4589
|
-
return
|
|
4589
|
+
return xt({
|
|
4590
4590
|
...e,
|
|
4591
4591
|
children: o
|
|
4592
4592
|
});
|
|
4593
4593
|
}, [f, c?.getState()]);
|
|
4594
|
-
return (0, $.jsx)(
|
|
4594
|
+
return (0, $.jsx)(_t, {
|
|
4595
4595
|
ref: t,
|
|
4596
4596
|
sx: { ...r },
|
|
4597
4597
|
outlined: !0,
|
|
4598
4598
|
disabled: f,
|
|
4599
4599
|
createPopupPanel: p,
|
|
4600
|
-
createTooltip: ({ children: e }, t) => (0, $.jsx)(
|
|
4600
|
+
createTooltip: ({ children: e }, t) => (0, $.jsx)(Le, {
|
|
4601
4601
|
label: c?.getLabel(),
|
|
4602
4602
|
description: c?.getDescription(),
|
|
4603
4603
|
disabled: t,
|
|
@@ -4642,25 +4642,25 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
4642
4642
|
groupKey: "textEffectsOptions",
|
|
4643
4643
|
disabled: r
|
|
4644
4644
|
}, n = (0, $.jsxs)($.Fragment, { children: [
|
|
4645
|
-
(0, $.jsx)(
|
|
4645
|
+
(0, $.jsx)(K, {
|
|
4646
4646
|
...t,
|
|
4647
4647
|
commandKey: "formatStrikeThroughToggle"
|
|
4648
4648
|
}),
|
|
4649
|
-
(0, $.jsx)(
|
|
4649
|
+
(0, $.jsx)(K, {
|
|
4650
4650
|
...t,
|
|
4651
4651
|
commandKey: "formatSuperscriptToggle"
|
|
4652
4652
|
}),
|
|
4653
|
-
(0, $.jsx)(
|
|
4653
|
+
(0, $.jsx)(K, {
|
|
4654
4654
|
...t,
|
|
4655
4655
|
commandKey: "formatSubscriptToggle"
|
|
4656
4656
|
})
|
|
4657
4657
|
] });
|
|
4658
|
-
return
|
|
4658
|
+
return xt({
|
|
4659
4659
|
...e,
|
|
4660
4660
|
children: n
|
|
4661
4661
|
});
|
|
4662
4662
|
}, [r, n]);
|
|
4663
|
-
return (0, $.jsx)(
|
|
4663
|
+
return (0, $.jsx)(vt, {
|
|
4664
4664
|
ref: t,
|
|
4665
4665
|
quickCommand: u,
|
|
4666
4666
|
disabled: r ?? !d,
|
|
@@ -4671,7 +4671,7 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
4671
4671
|
});
|
|
4672
4672
|
})), wi = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
4673
4673
|
let { commandKey: n, includePasteAllInPopup: r = !0, ...i } = e;
|
|
4674
|
-
return (0, $.jsx)(
|
|
4674
|
+
return (0, $.jsx)(Xt, r ? {
|
|
4675
4675
|
ref: t,
|
|
4676
4676
|
groupKey: "pasteOptions",
|
|
4677
4677
|
...i
|
|
@@ -4695,7 +4695,7 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
4695
4695
|
let n = new Intl.Collator(o.getActive(), { numeric: !0 });
|
|
4696
4696
|
return [...e].sort((e, r) => n.compare(Ti(e, t), Ti(r, t)));
|
|
4697
4697
|
}, Di = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
4698
|
-
let { value: n, cellStyle: r, styles: i, createCell: a, sx: o, propsBorder: s, disabled: c, ...l } = e, u =
|
|
4698
|
+
let { value: n, cellStyle: r, styles: i, createCell: a, sx: o, propsBorder: s, disabled: c, ...l } = e, u = Lt(), d = u === "dark", f = (0, Q.useMemo)(() => a({
|
|
4699
4699
|
value: n,
|
|
4700
4700
|
style: r
|
|
4701
4701
|
}), [
|
|
@@ -4736,7 +4736,7 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
4736
4736
|
textOverflow: "ellipsis",
|
|
4737
4737
|
verticalAlign: "baseline",
|
|
4738
4738
|
textDecoration: g?.textDecoration,
|
|
4739
|
-
textAlign: (f ?
|
|
4739
|
+
textAlign: (f ? pn.toCSSHorizontalTextAlign(f.getRenderHorizontalAlignment()) : void 0) ?? "left",
|
|
4740
4740
|
background: "transparent",
|
|
4741
4741
|
maxHeight: "100%",
|
|
4742
4742
|
whiteSpace: "pre",
|
|
@@ -4745,7 +4745,7 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
4745
4745
|
...o
|
|
4746
4746
|
},
|
|
4747
4747
|
...l,
|
|
4748
|
-
children: (0, $.jsx)(
|
|
4748
|
+
children: (0, $.jsx)(Ot, {
|
|
4749
4749
|
getBorderAt: _,
|
|
4750
4750
|
rowCount: 1,
|
|
4751
4751
|
columnCount: 1,
|
|
@@ -4792,33 +4792,33 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
4792
4792
|
flex: "1 1 100%"
|
|
4793
4793
|
},
|
|
4794
4794
|
children: (0, $.jsxs)($.Fragment, { children: [
|
|
4795
|
-
(0, $.jsx)(
|
|
4795
|
+
(0, $.jsx)(K, {
|
|
4796
4796
|
...t,
|
|
4797
4797
|
style: { fontWeight: 550 },
|
|
4798
4798
|
commandKey: "formatCellStyle",
|
|
4799
4799
|
commandState: n,
|
|
4800
4800
|
disabled: s
|
|
4801
4801
|
}),
|
|
4802
|
-
(0, $.jsx)(
|
|
4803
|
-
(0, $.jsx)(
|
|
4802
|
+
(0, $.jsx)(q, { orientation: "horizontal" }),
|
|
4803
|
+
(0, $.jsx)(K, {
|
|
4804
4804
|
...t,
|
|
4805
4805
|
commandKey: "modifyCellStyle",
|
|
4806
4806
|
commandState: { named: n }
|
|
4807
4807
|
}),
|
|
4808
|
-
(0, $.jsx)(
|
|
4808
|
+
(0, $.jsx)(K, {
|
|
4809
4809
|
...t,
|
|
4810
4810
|
commandKey: "deleteCellStyle",
|
|
4811
4811
|
commandState: n,
|
|
4812
|
-
disabled: s || n?.getName() ===
|
|
4812
|
+
disabled: s || n?.getName() === Z.BuiltInName.Normal
|
|
4813
4813
|
})
|
|
4814
4814
|
] })
|
|
4815
4815
|
})
|
|
4816
4816
|
});
|
|
4817
|
-
return
|
|
4817
|
+
return xt({
|
|
4818
4818
|
...e,
|
|
4819
4819
|
children: r
|
|
4820
4820
|
});
|
|
4821
|
-
}, []), d = n?.getName() === r?.getName(), f = (0, $.jsx)(
|
|
4821
|
+
}, []), d = n?.getName() === r?.getName(), f = (0, $.jsx)(lt, {
|
|
4822
4822
|
sx: {
|
|
4823
4823
|
borderRadius: "2px",
|
|
4824
4824
|
padding: "2px",
|
|
@@ -4843,13 +4843,13 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
4843
4843
|
createCell: o
|
|
4844
4844
|
})
|
|
4845
4845
|
}, n.getName());
|
|
4846
|
-
return i && (f = (0, $.jsx)(
|
|
4846
|
+
return i && (f = (0, $.jsx)(It, {
|
|
4847
4847
|
label: Ti(n.getName(), l),
|
|
4848
4848
|
createPopupPanel: u,
|
|
4849
4849
|
children: f
|
|
4850
4850
|
})), f;
|
|
4851
4851
|
}), ki = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
4852
|
-
let { commandKey: n, selectedNamed: r, onSelectNamed: i, disabled: a, usePreviewIcon: o = !0, groupKey: s, ...c } = e, l = b(), [d] = P([n]), f = d?.getContext(), p = f?.styles, m = r ?? f?.named(), h =
|
|
4852
|
+
let { commandKey: n, selectedNamed: r, onSelectNamed: i, disabled: a, usePreviewIcon: o = !0, groupKey: s, ...c } = e, l = b(), [d] = P([n]), f = d?.getContext(), p = f?.styles, m = r ?? f?.named(), h = Lt(), g = B((e) => {
|
|
4853
4853
|
i?.(e), d?.execute(e);
|
|
4854
4854
|
}, [d, i]), _ = (0, Q.useCallback)((e) => {
|
|
4855
4855
|
let t = p?.(), n = {
|
|
@@ -4872,8 +4872,8 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
4872
4872
|
n && r.push(n);
|
|
4873
4873
|
}
|
|
4874
4874
|
return r.length === 0 ? null : (0, $.jsxs)(R, { children: [
|
|
4875
|
-
n ? (0, $.jsx)(
|
|
4876
|
-
(0, $.jsx)(
|
|
4875
|
+
n ? (0, $.jsx)(q, { orientation: "horizontal" }) : null,
|
|
4876
|
+
(0, $.jsx)(st, { children: e }, e + "-header"),
|
|
4877
4877
|
(0, $.jsx)(R, {
|
|
4878
4878
|
sx: {
|
|
4879
4879
|
display: "flex",
|
|
@@ -4904,64 +4904,64 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
4904
4904
|
children: n
|
|
4905
4905
|
}, e + "-presets");
|
|
4906
4906
|
}, _ = [];
|
|
4907
|
-
_.push(u(l("cellStyle.category.custom"), o, !1)), _.push(u(l("cellStyle.category.goodBadNeutral"), [
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4907
|
+
_.push(u(l("cellStyle.category.custom"), o, !1)), _.push(u(l("cellStyle.category.goodBadNeutral"), [Z.BuiltInName.Normal, ...Ei([
|
|
4908
|
+
Z.BuiltInName.Bad,
|
|
4909
|
+
Z.BuiltInName.Good,
|
|
4910
|
+
Z.BuiltInName.Neutral
|
|
4911
4911
|
], l)], o.length > 0)), _.push(u(l("cellStyle.category.dataModel"), Ei([
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4912
|
+
Z.BuiltInName.Calculation,
|
|
4913
|
+
Z.BuiltInName.CheckCell,
|
|
4914
|
+
Z.BuiltInName.ExplanatoryText,
|
|
4915
|
+
Z.BuiltInName.FollowedHyperlink,
|
|
4916
|
+
Z.BuiltInName.Hyperlink,
|
|
4917
|
+
Z.BuiltInName.Input,
|
|
4918
|
+
Z.BuiltInName.LinkedCell,
|
|
4919
|
+
Z.BuiltInName.Note,
|
|
4920
|
+
Z.BuiltInName.Output,
|
|
4921
|
+
Z.BuiltInName.WarningText
|
|
4922
4922
|
], l))), _.push(u(l("cellStyle.category.titlesHeadings"), Ei([
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4923
|
+
Z.BuiltInName.Heading1,
|
|
4924
|
+
Z.BuiltInName.Heading2,
|
|
4925
|
+
Z.BuiltInName.Heading3,
|
|
4926
|
+
Z.BuiltInName.Heading4,
|
|
4927
|
+
Z.BuiltInName.Title,
|
|
4928
|
+
Z.BuiltInName.Total
|
|
4929
4929
|
], l)));
|
|
4930
4930
|
let v = [];
|
|
4931
4931
|
var y, b;
|
|
4932
4932
|
return v.push(d("Accent 1", [
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4933
|
+
Z.BuiltInName.Accent1_20,
|
|
4934
|
+
Z.BuiltInName.Accent1_40,
|
|
4935
|
+
Z.BuiltInName.Accent1_60,
|
|
4936
|
+
Z.BuiltInName.Accent1
|
|
4937
4937
|
])), v.push(d("Accent 2", [
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4938
|
+
Z.BuiltInName.Accent2_20,
|
|
4939
|
+
Z.BuiltInName.Accent2_40,
|
|
4940
|
+
Z.BuiltInName.Accent2_60,
|
|
4941
|
+
Z.BuiltInName.Accent2
|
|
4942
4942
|
])), v.push(d("Accent 3", [
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4943
|
+
Z.BuiltInName.Accent3_20,
|
|
4944
|
+
Z.BuiltInName.Accent3_40,
|
|
4945
|
+
Z.BuiltInName.Accent3_60,
|
|
4946
|
+
Z.BuiltInName.Accent3
|
|
4947
4947
|
])), v.push(d("Accent 4", [
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4948
|
+
Z.BuiltInName.Accent4_20,
|
|
4949
|
+
Z.BuiltInName.Accent4_40,
|
|
4950
|
+
Z.BuiltInName.Accent4_60,
|
|
4951
|
+
Z.BuiltInName.Accent4
|
|
4952
4952
|
])), v.push(d("Accent 5", [
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4953
|
+
Z.BuiltInName.Accent5_20,
|
|
4954
|
+
Z.BuiltInName.Accent5_40,
|
|
4955
|
+
Z.BuiltInName.Accent5_60,
|
|
4956
|
+
Z.BuiltInName.Accent5
|
|
4957
4957
|
])), v.push(d("Accent 6", [
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4958
|
+
Z.BuiltInName.Accent6_20,
|
|
4959
|
+
Z.BuiltInName.Accent6_40,
|
|
4960
|
+
Z.BuiltInName.Accent6_60,
|
|
4961
|
+
Z.BuiltInName.Accent6
|
|
4962
4962
|
])), _.push((y = l("cellStyle.category.themed"), b = v, (0, $.jsxs)(R, { children: [
|
|
4963
|
-
(0, $.jsx)(
|
|
4964
|
-
(0, $.jsx)(
|
|
4963
|
+
(0, $.jsx)(q, { orientation: "horizontal" }),
|
|
4964
|
+
(0, $.jsx)(st, { children: y }, y + "-header"),
|
|
4965
4965
|
(0, $.jsx)(R, {
|
|
4966
4966
|
sx: {
|
|
4967
4967
|
display: "flex",
|
|
@@ -4973,11 +4973,11 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
4973
4973
|
children: b
|
|
4974
4974
|
}, y + "-presets")
|
|
4975
4975
|
] }, y))), _.push(u(l("cellStyle.category.numberFormat"), [
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4976
|
+
Z.BuiltInName.Comma,
|
|
4977
|
+
Z.BuiltInName.Comma0,
|
|
4978
|
+
Z.BuiltInName.Currency,
|
|
4979
|
+
Z.BuiltInName.Currency0,
|
|
4980
|
+
Z.BuiltInName.Percent
|
|
4981
4981
|
])), (0, $.jsxs)(R, {
|
|
4982
4982
|
"data-sxl-theme-surface": "grid",
|
|
4983
4983
|
"data-sxl-theme-mode": h,
|
|
@@ -5001,8 +5001,8 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
5001
5001
|
},
|
|
5002
5002
|
children: _
|
|
5003
5003
|
}),
|
|
5004
|
-
(0, $.jsx)(
|
|
5005
|
-
(0, $.jsx)(
|
|
5004
|
+
(0, $.jsx)(q, { orientation: "horizontal" }),
|
|
5005
|
+
(0, $.jsx)(K, {
|
|
5006
5006
|
variant: x.Menuitem,
|
|
5007
5007
|
commandState: m,
|
|
5008
5008
|
commandKey: "newCellStyle",
|
|
@@ -5018,7 +5018,7 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
5018
5018
|
l
|
|
5019
5019
|
]), v = B((e) => {
|
|
5020
5020
|
if (!f) return null;
|
|
5021
|
-
let t = 18 /
|
|
5021
|
+
let t = 18 / un.getDeviceScale(), n = f.createCell(e);
|
|
5022
5022
|
return n.getStyle().getFont().getSize() <= t ? n : n.createCell({ style: { font: { size: t } } });
|
|
5023
5023
|
}, [f?.createCell]), y = a ?? (!d || d.disabled()), S = (0, Q.useMemo)(() => o ? (0, $.jsx)(Di, {
|
|
5024
5024
|
value: m ? Ti(m.getName(), l) : "",
|
|
@@ -5046,11 +5046,11 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
5046
5046
|
d,
|
|
5047
5047
|
l
|
|
5048
5048
|
]);
|
|
5049
|
-
return (0, $.jsx)(
|
|
5049
|
+
return (0, $.jsx)(vt, {
|
|
5050
5050
|
ref: t,
|
|
5051
5051
|
createPopupPanel: _,
|
|
5052
5052
|
outlined: o,
|
|
5053
|
-
createTooltip: ({ children: e }, t) => (0, $.jsx)(
|
|
5053
|
+
createTooltip: ({ children: e }, t) => (0, $.jsx)(Le, {
|
|
5054
5054
|
label: d?.getLabel(),
|
|
5055
5055
|
description: d?.getDescription(),
|
|
5056
5056
|
disabled: t,
|
|
@@ -5064,7 +5064,7 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
5064
5064
|
...c
|
|
5065
5065
|
});
|
|
5066
5066
|
})), Ai = 10, ji = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
5067
|
-
let { styles: n, table: r, tableStyle: i = r?.getStyle() ?? n.getDefaultTableStyle(), sx: a, disabled: o, className: s, forceThinBorder: c, cellHeight: l = Ai, isLive: u = !1, ...d } = e, f =
|
|
5067
|
+
let { styles: n, table: r, tableStyle: i = r?.getStyle() ?? n.getDefaultTableStyle(), sx: a, disabled: o, className: s, forceThinBorder: c, cellHeight: l = Ai, isLive: u = !1, ...d } = e, f = Lt(), p = f === "dark", m = Math.ceil(1.3 * l), [h, g] = (0, Q.useReducer)((e) => e + 1, 0);
|
|
5068
5068
|
(0, Q.useEffect)(() => {
|
|
5069
5069
|
if (u && r) return r.addListeners({ onAnyChange: () => {
|
|
5070
5070
|
g();
|
|
@@ -5160,7 +5160,7 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
5160
5160
|
...a
|
|
5161
5161
|
},
|
|
5162
5162
|
...d,
|
|
5163
|
-
children: (0, $.jsx)(
|
|
5163
|
+
children: (0, $.jsx)(Ot, {
|
|
5164
5164
|
getBorderAt: b,
|
|
5165
5165
|
rowCount: 5,
|
|
5166
5166
|
columnCount: 5,
|
|
@@ -5169,7 +5169,7 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
5169
5169
|
height: 5 * (l - 1) + 1,
|
|
5170
5170
|
style: { pointerEvents: "none" },
|
|
5171
5171
|
children: (0, $.jsx)("table", {
|
|
5172
|
-
className:
|
|
5172
|
+
className: J(s, "sheetxl-table-preview", "_sheetxl-reset_11z3j_1"),
|
|
5173
5173
|
style: {
|
|
5174
5174
|
borderCollapse: "collapse",
|
|
5175
5175
|
width: 5 * (m - 1) + 1,
|
|
@@ -5182,7 +5182,7 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
5182
5182
|
})), Mi = (e, t, n, r, i) => {
|
|
5183
5183
|
e.beginPath(), e.moveTo(t + .5, n + .5), e.lineTo(r + .5, i + .5), e.stroke();
|
|
5184
5184
|
}, Ni = /* @__PURE__ */ new WeakMap(), Pi = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
5185
|
-
let { table: n, tableStyle: r, styles: i, disabled: a, style: o, className: s, canvas: c, ...l } = e, u =
|
|
5185
|
+
let { table: n, tableStyle: r, styles: i, disabled: a, style: o, className: s, canvas: c, ...l } = e, u = Lt(), d = u === "dark", [f, p] = (0, Q.useState)(null), [m, h] = (0, Q.useState)(void 0), g = (0, Q.useCallback)((e) => {
|
|
5186
5186
|
p(e), typeof t == "function" ? t(e) : t && (t.current = e);
|
|
5187
5187
|
}, [t]);
|
|
5188
5188
|
(0, Q.useLayoutEffect)(() => {
|
|
@@ -5216,7 +5216,7 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
5216
5216
|
if (!h) return null;
|
|
5217
5217
|
for (let e = 0; e < 5; e++) for (let n = 0; n < 5; n++) {
|
|
5218
5218
|
let r = f[5 * e + n].getFill(), i = t;
|
|
5219
|
-
r.getType() ===
|
|
5219
|
+
r.getType() === mn.Type.Solid ? i = r.getColor().toRGBA(d).toString() : r.getType() === mn.Type.Gradient ? i = r.getStops()[0]?.getColor().toRGBA(d).toString() : r.getType() === mn.Type.Pattern && (i = r.getForeground().toRGBA(d).toString()), h.fillStyle = i ?? t;
|
|
5220
5220
|
let a = 12 * n, o = 9 * e;
|
|
5221
5221
|
h.fillRect(a, o, 13, 10);
|
|
5222
5222
|
}
|
|
@@ -5251,7 +5251,7 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
5251
5251
|
ref: g,
|
|
5252
5252
|
"data-sxl-theme-surface": "grid",
|
|
5253
5253
|
"data-sxl-theme-mode": u,
|
|
5254
|
-
className:
|
|
5254
|
+
className: J("table-style-preview", s),
|
|
5255
5255
|
style: {
|
|
5256
5256
|
backgroundImage: _ ?? void 0,
|
|
5257
5257
|
width: 61,
|
|
@@ -5277,10 +5277,10 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
5277
5277
|
},
|
|
5278
5278
|
...p,
|
|
5279
5279
|
ref: t,
|
|
5280
|
-
className:
|
|
5280
|
+
className: J(d, "_table-style-options_1kfn2_1"),
|
|
5281
5281
|
children: [
|
|
5282
|
-
a && (0, $.jsx)(
|
|
5283
|
-
control: (0, $.jsx)(
|
|
5282
|
+
a && (0, $.jsx)(Qe, {
|
|
5283
|
+
control: (0, $.jsx)(Ze, {
|
|
5284
5284
|
checked: i ?? !1,
|
|
5285
5285
|
indeterminate: i == null,
|
|
5286
5286
|
onChange: () => a(!i),
|
|
@@ -5289,8 +5289,8 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
5289
5289
|
label: m("tableStyle.headerRow"),
|
|
5290
5290
|
labelPlacement: "end"
|
|
5291
5291
|
}),
|
|
5292
|
-
s && (0, $.jsx)(
|
|
5293
|
-
control: (0, $.jsx)(
|
|
5292
|
+
s && (0, $.jsx)(Qe, {
|
|
5293
|
+
control: (0, $.jsx)(Ze, {
|
|
5294
5294
|
checked: o ?? !1,
|
|
5295
5295
|
indeterminate: o == null,
|
|
5296
5296
|
onChange: () => s(!o),
|
|
@@ -5299,8 +5299,8 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
5299
5299
|
label: m("tableStyle.totalRow"),
|
|
5300
5300
|
labelPlacement: "end"
|
|
5301
5301
|
}),
|
|
5302
|
-
(0, $.jsx)(
|
|
5303
|
-
control: (0, $.jsx)(
|
|
5302
|
+
(0, $.jsx)(Qe, {
|
|
5303
|
+
control: (0, $.jsx)(Ze, {
|
|
5304
5304
|
checked: n?.showRowStripes ?? !1,
|
|
5305
5305
|
indeterminate: !n,
|
|
5306
5306
|
disabled: f || !n,
|
|
@@ -5314,8 +5314,8 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
5314
5314
|
label: m("tableStyle.bandedRows"),
|
|
5315
5315
|
labelPlacement: "end"
|
|
5316
5316
|
}),
|
|
5317
|
-
(0, $.jsx)(
|
|
5318
|
-
control: (0, $.jsx)(
|
|
5317
|
+
(0, $.jsx)(Qe, {
|
|
5318
|
+
control: (0, $.jsx)(Ze, {
|
|
5319
5319
|
checked: n?.showFirstColumn ?? !1,
|
|
5320
5320
|
indeterminate: !n,
|
|
5321
5321
|
disabled: f || !n,
|
|
@@ -5329,8 +5329,8 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
5329
5329
|
label: m("tableStyle.firstColumn"),
|
|
5330
5330
|
labelPlacement: "end"
|
|
5331
5331
|
}),
|
|
5332
|
-
(0, $.jsx)(
|
|
5333
|
-
control: (0, $.jsx)(
|
|
5332
|
+
(0, $.jsx)(Qe, {
|
|
5333
|
+
control: (0, $.jsx)(Ze, {
|
|
5334
5334
|
checked: n?.showLastColumn ?? !1,
|
|
5335
5335
|
indeterminate: !n,
|
|
5336
5336
|
disabled: f || !n,
|
|
@@ -5344,8 +5344,8 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
5344
5344
|
label: m("tableStyle.lastColumn"),
|
|
5345
5345
|
labelPlacement: "end"
|
|
5346
5346
|
}),
|
|
5347
|
-
(0, $.jsx)(
|
|
5348
|
-
control: (0, $.jsx)(
|
|
5347
|
+
(0, $.jsx)(Qe, {
|
|
5348
|
+
control: (0, $.jsx)(Ze, {
|
|
5349
5349
|
checked: n?.showColumnStripes ?? !1,
|
|
5350
5350
|
indeterminate: !n,
|
|
5351
5351
|
disabled: f || !n,
|
|
@@ -5359,8 +5359,8 @@ var Si = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
5359
5359
|
label: m("tableStyle.bandedColumns"),
|
|
5360
5360
|
labelPlacement: "end"
|
|
5361
5361
|
}),
|
|
5362
|
-
l && (0, $.jsx)(
|
|
5363
|
-
control: (0, $.jsx)(
|
|
5362
|
+
l && (0, $.jsx)(Qe, {
|
|
5363
|
+
control: (0, $.jsx)(Ze, {
|
|
5364
5364
|
checked: c ?? !1,
|
|
5365
5365
|
indeterminate: c == null,
|
|
5366
5366
|
disabled: f || !n || c == null,
|
|
@@ -5426,7 +5426,7 @@ var Li = function(e) {
|
|
|
5426
5426
|
scope: e.getSheet().getName()
|
|
5427
5427
|
};
|
|
5428
5428
|
}, [r, y]);
|
|
5429
|
-
|
|
5429
|
+
Et(r, {
|
|
5430
5430
|
onAnchorCoordsChange(e) {
|
|
5431
5431
|
S(e.getRange().getFixed(!0).toString());
|
|
5432
5432
|
},
|
|
@@ -5463,7 +5463,7 @@ var Li = function(e) {
|
|
|
5463
5463
|
onBlur: (e) => {
|
|
5464
5464
|
m?.current?.contains(e.relatedTarget) || d(!1);
|
|
5465
5465
|
},
|
|
5466
|
-
ref:
|
|
5466
|
+
ref: tn([
|
|
5467
5467
|
m,
|
|
5468
5468
|
_,
|
|
5469
5469
|
t
|
|
@@ -5481,7 +5481,7 @@ var Li = function(e) {
|
|
|
5481
5481
|
paddingBottom: (e) => e.spacing(1.5),
|
|
5482
5482
|
boxSizing: "border-box"
|
|
5483
5483
|
},
|
|
5484
|
-
className:
|
|
5484
|
+
className: J("sxl-table-details-panel", o, { "sxl-has-focus": u }),
|
|
5485
5485
|
...s,
|
|
5486
5486
|
children: D || (0, $.jsxs)(R, {
|
|
5487
5487
|
sx: {
|
|
@@ -5544,7 +5544,7 @@ var Li = function(e) {
|
|
|
5544
5544
|
marginTop: (e) => e.spacing(1)
|
|
5545
5545
|
},
|
|
5546
5546
|
children: [
|
|
5547
|
-
(0, $.jsx)(
|
|
5547
|
+
(0, $.jsx)(q, {
|
|
5548
5548
|
orientation: "horizontal",
|
|
5549
5549
|
sx: {
|
|
5550
5550
|
marginTop: (e) => e.spacing(1.5),
|
|
@@ -5578,7 +5578,7 @@ var Li = function(e) {
|
|
|
5578
5578
|
})]
|
|
5579
5579
|
})
|
|
5580
5580
|
}),
|
|
5581
|
-
(0, $.jsx)(
|
|
5581
|
+
(0, $.jsx)(q, {
|
|
5582
5582
|
orientation: "horizontal",
|
|
5583
5583
|
sx: {
|
|
5584
5584
|
marginTop: (e) => e.spacing(1.5),
|
|
@@ -5616,14 +5616,14 @@ var Li = function(e) {
|
|
|
5616
5616
|
}
|
|
5617
5617
|
}
|
|
5618
5618
|
}),
|
|
5619
|
-
(0, $.jsx)(
|
|
5619
|
+
(0, $.jsx)(q, { orientation: "horizontal" }),
|
|
5620
5620
|
(0, $.jsxs)(R, {
|
|
5621
5621
|
className: "_action-row_akhf4_15",
|
|
5622
|
-
children: [(0, $.jsx)(
|
|
5622
|
+
children: [(0, $.jsx)(K, {
|
|
5623
5623
|
variant: x.Menuitem,
|
|
5624
5624
|
commandKey: "convertTableToRange",
|
|
5625
5625
|
commandState: r
|
|
5626
|
-
}), (0, $.jsx)(
|
|
5626
|
+
}), (0, $.jsx)(K, {
|
|
5627
5627
|
variant: x.Menuitem,
|
|
5628
5628
|
commandState: r,
|
|
5629
5629
|
commandKey: "deleteTable"
|
|
@@ -5634,7 +5634,7 @@ var Li = function(e) {
|
|
|
5634
5634
|
})
|
|
5635
5635
|
});
|
|
5636
5636
|
})), Bi = (e) => {
|
|
5637
|
-
let { model: t, entryKey: n, frame: r, ref: i, ...a } = e, o =
|
|
5637
|
+
let { model: t, entryKey: n, frame: r, ref: i, ...a } = e, o = ft(), [s, c] = (0, Q.useReducer)((e) => e + 1, 0), l = o?.getSelection()?.getCoords()?.cell, u = (0, Q.useMemo)(() => {
|
|
5638
5638
|
if (!o) return null;
|
|
5639
5639
|
let e = o.getTables().getItems({ address: l });
|
|
5640
5640
|
return e.length > 0 ? e[0] : null;
|
|
@@ -5649,7 +5649,7 @@ var Li = function(e) {
|
|
|
5649
5649
|
return () => {
|
|
5650
5650
|
e?.();
|
|
5651
5651
|
};
|
|
5652
|
-
}, [u]),
|
|
5652
|
+
}, [u]), Et(o, {
|
|
5653
5653
|
onSelectionChange: () => c(),
|
|
5654
5654
|
onStyleChange: () => c(),
|
|
5655
5655
|
onTablesChange: () => c(),
|
|
@@ -5669,7 +5669,7 @@ var Li = function(e) {
|
|
|
5669
5669
|
transactional: !1,
|
|
5670
5670
|
ignoreModelChange: !0
|
|
5671
5671
|
}, Hi = { transactional: !1 }, Ui = () => {
|
|
5672
|
-
d.register("plugin-table", { icons: {} }),
|
|
5672
|
+
d.register("plugin-table", { icons: {} }), Ut.registerTaskPane({
|
|
5673
5673
|
key: "tableDetails",
|
|
5674
5674
|
getTitle: () => "Table Details",
|
|
5675
5675
|
getIcon: () => "Table",
|
|
@@ -5693,28 +5693,28 @@ var Li = function(e) {
|
|
|
5693
5693
|
flex: "1 1 100%"
|
|
5694
5694
|
},
|
|
5695
5695
|
children: (0, $.jsxs)($.Fragment, { children: [
|
|
5696
|
-
(0, $.jsx)(
|
|
5696
|
+
(0, $.jsx)(K, {
|
|
5697
5697
|
...t,
|
|
5698
5698
|
commandKey: "formatTableStyleClearCellStyles",
|
|
5699
5699
|
commandState: n,
|
|
5700
5700
|
disabled: s
|
|
5701
5701
|
}),
|
|
5702
|
-
(0, $.jsx)(
|
|
5702
|
+
(0, $.jsx)(K, {
|
|
5703
5703
|
...t,
|
|
5704
5704
|
style: { fontWeight: 550 },
|
|
5705
5705
|
commandKey: "formatTableStyle",
|
|
5706
5706
|
commandState: { name: n.getName() },
|
|
5707
5707
|
disabled: s
|
|
5708
5708
|
}),
|
|
5709
|
-
(0, $.jsx)(
|
|
5710
|
-
(0, $.jsx)(
|
|
5709
|
+
(0, $.jsx)(q, { orientation: "horizontal" }),
|
|
5710
|
+
(0, $.jsx)(K, {
|
|
5711
5711
|
...t,
|
|
5712
5712
|
commandKey: "setDefaultTableStyle",
|
|
5713
5713
|
commandState: n.getName(),
|
|
5714
5714
|
disabled: s
|
|
5715
5715
|
}),
|
|
5716
|
-
(0, $.jsx)(
|
|
5717
|
-
(0, $.jsx)(
|
|
5716
|
+
(0, $.jsx)(q, { orientation: "horizontal" }),
|
|
5717
|
+
(0, $.jsx)(K, {
|
|
5718
5718
|
...t,
|
|
5719
5719
|
commandKey: "deleteTableStyle",
|
|
5720
5720
|
commandState: n?.getName(),
|
|
@@ -5723,7 +5723,7 @@ var Li = function(e) {
|
|
|
5723
5723
|
] })
|
|
5724
5724
|
})
|
|
5725
5725
|
});
|
|
5726
|
-
return
|
|
5726
|
+
return xt({
|
|
5727
5727
|
...e,
|
|
5728
5728
|
children: r
|
|
5729
5729
|
});
|
|
@@ -5741,7 +5741,7 @@ var Li = function(e) {
|
|
|
5741
5741
|
t,
|
|
5742
5742
|
n,
|
|
5743
5743
|
a
|
|
5744
|
-
]), h = (0, $.jsx)(
|
|
5744
|
+
]), h = (0, $.jsx)(lt, {
|
|
5745
5745
|
sx: {
|
|
5746
5746
|
borderRadius: "2px",
|
|
5747
5747
|
padding: "2px",
|
|
@@ -5761,7 +5761,7 @@ var Li = function(e) {
|
|
|
5761
5761
|
...u,
|
|
5762
5762
|
children: m
|
|
5763
5763
|
}, n.getName());
|
|
5764
|
-
return o && (h = (0, $.jsx)(
|
|
5764
|
+
return o && (h = (0, $.jsx)(It, {
|
|
5765
5765
|
label: t.getStyleOptions().name,
|
|
5766
5766
|
createPopupPanel: f,
|
|
5767
5767
|
children: h
|
|
@@ -5811,8 +5811,8 @@ var Li = function(e) {
|
|
|
5811
5811
|
r && i.push(r);
|
|
5812
5812
|
}
|
|
5813
5813
|
return i.length === 0 ? null : (0, $.jsxs)(R, { children: [
|
|
5814
|
-
r ? (0, $.jsx)(
|
|
5815
|
-
(0, $.jsx)(
|
|
5814
|
+
r ? (0, $.jsx)(q, { orientation: "horizontal" }) : null,
|
|
5815
|
+
(0, $.jsx)(st, { children: e }, e + "-header"),
|
|
5816
5816
|
(0, $.jsx)(R, {
|
|
5817
5817
|
sx: {
|
|
5818
5818
|
display: "flex",
|
|
@@ -5844,7 +5844,7 @@ var Li = function(e) {
|
|
|
5844
5844
|
for (let e = 0; e < 11; e++) f.push("TableStyleDark" + (e + 1));
|
|
5845
5845
|
i.push(r(u("tableStyle.category.dark"), f));
|
|
5846
5846
|
let p = null;
|
|
5847
|
-
return h && (p = (0, $.jsxs)($.Fragment, { children: [(0, $.jsx)(
|
|
5847
|
+
return h && (p = (0, $.jsxs)($.Fragment, { children: [(0, $.jsx)(q, { orientation: "horizontal" }), (0, $.jsx)(K, {
|
|
5848
5848
|
variant: x.Menuitem,
|
|
5849
5849
|
commandKey: "formatTableStyleClearTableStyle",
|
|
5850
5850
|
disabled: a
|
|
@@ -5878,7 +5878,7 @@ var Li = function(e) {
|
|
|
5878
5878
|
E,
|
|
5879
5879
|
d
|
|
5880
5880
|
]);
|
|
5881
|
-
return (0, $.jsx)(
|
|
5881
|
+
return (0, $.jsx)(vt, {
|
|
5882
5882
|
ref: t,
|
|
5883
5883
|
quickCommand: o ? void 0 : g,
|
|
5884
5884
|
createPopupPanel: T,
|
|
@@ -5886,7 +5886,7 @@ var Li = function(e) {
|
|
|
5886
5886
|
groupKey: c,
|
|
5887
5887
|
commandState: h,
|
|
5888
5888
|
selected: d && h !== null,
|
|
5889
|
-
createTooltip: ({ children: e }, t) => (0, $.jsx)(
|
|
5889
|
+
createTooltip: ({ children: e }, t) => (0, $.jsx)(Le, {
|
|
5890
5890
|
label: d?.getLabel(),
|
|
5891
5891
|
description: d?.getDescription(),
|
|
5892
5892
|
disabled: t,
|
|
@@ -5970,7 +5970,7 @@ var Li = function(e) {
|
|
|
5970
5970
|
})
|
|
5971
5971
|
});
|
|
5972
5972
|
}, [t, c]);
|
|
5973
|
-
return (0, $.jsx)(
|
|
5973
|
+
return (0, $.jsx)(lt, {
|
|
5974
5974
|
sx: {
|
|
5975
5975
|
borderRadius: "2px",
|
|
5976
5976
|
padding: "2px",
|
|
@@ -6016,7 +6016,7 @@ var Li = function(e) {
|
|
|
6016
6016
|
whiteSpace: "pre",
|
|
6017
6017
|
fontFamily: () => t.getFontScheme().getMajorFont()
|
|
6018
6018
|
},
|
|
6019
|
-
children: (0, $.jsx)(
|
|
6019
|
+
children: (0, $.jsx)(Pe, {
|
|
6020
6020
|
disableInteractive: !0,
|
|
6021
6021
|
slotProps: { popper: {
|
|
6022
6022
|
style: { pointerEvents: "none" },
|
|
@@ -6048,7 +6048,7 @@ var Li = function(e) {
|
|
|
6048
6048
|
}, Ji = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
6049
6049
|
let { themes: n, selectedTheme: r, onSelectTheme: i, sx: a, disabled: o = !1, darkMode: s, ...c } = e, l = b(), u = (0, Q.useMemo)(() => {
|
|
6050
6050
|
let e = n?.getItems({ selected: r }) ?? [], t = [];
|
|
6051
|
-
if (e.length === 0) return (0, $.jsx)(
|
|
6051
|
+
if (e.length === 0) return (0, $.jsx)(st, {
|
|
6052
6052
|
sx: {
|
|
6053
6053
|
paddingLeft: "16px",
|
|
6054
6054
|
paddingRight: "16px",
|
|
@@ -6060,7 +6060,7 @@ var Li = function(e) {
|
|
|
6060
6060
|
let a = e.length;
|
|
6061
6061
|
for (let n = 0; n < a; n++) {
|
|
6062
6062
|
let a = e[n], c = r && a?.getName() === r.getName(), l = e[n + 1];
|
|
6063
|
-
l && l.isCustom() !== a.isCustom() && t.push((0, $.jsx)(
|
|
6063
|
+
l && l.isCustom() !== a.isCustom() && t.push((0, $.jsx)(q, {
|
|
6064
6064
|
orientation: "horizontal",
|
|
6065
6065
|
sx: { marginBottom: "4px" }
|
|
6066
6066
|
}, `divider-${n}`)), t.push((0, $.jsx)(qi, {
|
|
@@ -6101,7 +6101,7 @@ var Li = function(e) {
|
|
|
6101
6101
|
overflow: "hidden"
|
|
6102
6102
|
},
|
|
6103
6103
|
children: [
|
|
6104
|
-
(0, $.jsx)(
|
|
6104
|
+
(0, $.jsx)(st, {
|
|
6105
6105
|
sx: {
|
|
6106
6106
|
paddingLeft: "16px",
|
|
6107
6107
|
paddingRight: "16px",
|
|
@@ -6110,7 +6110,7 @@ var Li = function(e) {
|
|
|
6110
6110
|
},
|
|
6111
6111
|
children: l("theme.heading")
|
|
6112
6112
|
}),
|
|
6113
|
-
(0, $.jsx)(
|
|
6113
|
+
(0, $.jsx)(q, { orientation: "horizontal" }),
|
|
6114
6114
|
(0, $.jsx)(R, {
|
|
6115
6115
|
sx: {
|
|
6116
6116
|
flex: "1 1 100%",
|
|
@@ -6123,7 +6123,7 @@ var Li = function(e) {
|
|
|
6123
6123
|
})
|
|
6124
6124
|
});
|
|
6125
6125
|
})), Yi = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
6126
|
-
let { themes: n, selectedTheme: r, onSelectTheme: i, icon: a, tooltip: o, label: s, variant: c =
|
|
6126
|
+
let { themes: n, selectedTheme: r, onSelectTheme: i, icon: a, tooltip: o, label: s, variant: c = ot.Toolbar, darkMode: l, propsPanel: d, ...f } = e, p = a || (0, $.jsx)(u, { iconKey: "Theme2" }), m = {
|
|
6127
6127
|
createPopupPanel: (0, Q.useCallback)((e) => {
|
|
6128
6128
|
let { closeFloatAll: t } = e;
|
|
6129
6129
|
return (0, $.jsx)(Ji, {
|
|
@@ -6148,10 +6148,10 @@ var Li = function(e) {
|
|
|
6148
6148
|
icon: p,
|
|
6149
6149
|
...f
|
|
6150
6150
|
};
|
|
6151
|
-
return c ===
|
|
6151
|
+
return c === ot.Toolbar ? (0, $.jsx)(_t, {
|
|
6152
6152
|
ref: t,
|
|
6153
6153
|
...m
|
|
6154
|
-
}) : (0, $.jsx)(
|
|
6154
|
+
}) : (0, $.jsx)(rt, {
|
|
6155
6155
|
ref: t,
|
|
6156
6156
|
...m
|
|
6157
6157
|
});
|
|
@@ -6216,7 +6216,7 @@ var Li = function(e) {
|
|
|
6216
6216
|
return {
|
|
6217
6217
|
"color-base-100": r,
|
|
6218
6218
|
"color-base-content": n.text.primary,
|
|
6219
|
-
"color-base-300":
|
|
6219
|
+
"color-base-300": xe(r, .12, n.mode),
|
|
6220
6220
|
"color-primary": n.primary.main,
|
|
6221
6221
|
...Xi(t, e, "grid")
|
|
6222
6222
|
};
|
|
@@ -6224,15 +6224,15 @@ var Li = function(e) {
|
|
|
6224
6224
|
let n = e.palette, r = n.background.default, i = ((e, t) => Xi(t, e, "header")["color-base-100"] ?? Qi(e).header)(e, t);
|
|
6225
6225
|
return {
|
|
6226
6226
|
"color-base-100": i,
|
|
6227
|
-
"color-base-hover":
|
|
6228
|
-
"color-base-300":
|
|
6227
|
+
"color-base-hover": xe(i, .065, n.mode),
|
|
6228
|
+
"color-base-300": xe(r, .12, n.mode),
|
|
6229
6229
|
"color-base-content": n.text.primary,
|
|
6230
6230
|
"color-primary": n.primary.main,
|
|
6231
6231
|
"color-primary-content": n.primary.contrastText,
|
|
6232
6232
|
"color-base-emphasis-content": n.primary.contrastText,
|
|
6233
6233
|
...Xi(t, e, "header")
|
|
6234
6234
|
};
|
|
6235
|
-
}, ra = (e, t, n, r) =>
|
|
6235
|
+
}, ra = (e, t, n, r) => Vt({
|
|
6236
6236
|
app: {
|
|
6237
6237
|
light: {
|
|
6238
6238
|
...v.light,
|
|
@@ -6256,11 +6256,11 @@ var Li = function(e) {
|
|
|
6256
6256
|
layer: "sxl-app",
|
|
6257
6257
|
scope: n
|
|
6258
6258
|
}), ia = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
6259
|
-
let { commandKey: n, selectedTheme: r, onSelectTheme: i, disabled: a, darkMode: o, label: s, icon: c, variant: l, ...u } = e, d = P([n])[0], f = d?.getContext()?.themes, p = r || d?.getContext()?.theme, m =
|
|
6259
|
+
let { commandKey: n, selectedTheme: r, onSelectTheme: i, disabled: a, darkMode: o, label: s, icon: c, variant: l, ...u } = e, d = P([n])[0], f = d?.getContext()?.themes, p = r || d?.getContext()?.theme, m = Lt(), h = o ?? m === "dark", g = a ?? d?.disabled(), _ = B((e) => {
|
|
6260
6260
|
i?.(e), d?.execute(e);
|
|
6261
6261
|
}, [i]), v = (0, Q.useCallback)((e, t) => {
|
|
6262
6262
|
let { children: r, title: i, ...a } = e, o = e.children;
|
|
6263
|
-
return (g || t) && (o = (0, $.jsx)("div", { children: o })), (0, $.jsx)(
|
|
6263
|
+
return (g || t) && (o = (0, $.jsx)("div", { children: o })), (0, $.jsx)(qt, {
|
|
6264
6264
|
commandKey: n,
|
|
6265
6265
|
placement: l === x.Toolbar ? "bottom-start" : "right-start",
|
|
6266
6266
|
disabled: g || t,
|
|
@@ -6273,23 +6273,23 @@ var Li = function(e) {
|
|
|
6273
6273
|
themes: f,
|
|
6274
6274
|
selectedTheme: p,
|
|
6275
6275
|
onSelectTheme: _,
|
|
6276
|
-
variant: l === x.Menuitem ?
|
|
6276
|
+
variant: l === x.Menuitem ? ot.Menuitem : ot.Toolbar,
|
|
6277
6277
|
createTooltip: v,
|
|
6278
6278
|
disabled: g,
|
|
6279
6279
|
darkMode: h,
|
|
6280
6280
|
...u
|
|
6281
6281
|
});
|
|
6282
6282
|
})), aa = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
6283
|
-
let { groupKey: n = "workbook", disabled: r, ...i } = e, [a, o] = (0, Q.useState)([]), s =
|
|
6283
|
+
let { groupKey: n = "workbook", disabled: r, ...i } = e, [a, o] = (0, Q.useState)([]), s = mt.canWrite(), c = mt.canRead();
|
|
6284
6284
|
(0, Q.useEffect)(() => {
|
|
6285
6285
|
let e = !0;
|
|
6286
|
-
return
|
|
6286
|
+
return mt.getWriteFormats().then((t) => {
|
|
6287
6287
|
e && o(t);
|
|
6288
6288
|
}), () => {
|
|
6289
6289
|
e = !1;
|
|
6290
6290
|
};
|
|
6291
6291
|
}, []);
|
|
6292
|
-
let l =
|
|
6292
|
+
let l = Bt($t()), u = (0, Q.useMemo)(() => {
|
|
6293
6293
|
if (a.length === 0) return null;
|
|
6294
6294
|
let e = l?.toLowerCase();
|
|
6295
6295
|
return (e ? a.find((t) => t.key.toLowerCase() === e) ?? a.find((t) => t.exts?.some((t) => t.toLowerCase() === e)) : void 0) ?? a.find((e) => e.exts?.some((e) => e.toLowerCase() === "sxl")) ?? a.find((e) => !e.advanced) ?? a[0];
|
|
@@ -6299,28 +6299,28 @@ var Li = function(e) {
|
|
|
6299
6299
|
groupKey: n,
|
|
6300
6300
|
disabled: r
|
|
6301
6301
|
}, i = (0, $.jsxs)($.Fragment, { children: [
|
|
6302
|
-
(0, $.jsx)(
|
|
6302
|
+
(0, $.jsx)(K, {
|
|
6303
6303
|
...t,
|
|
6304
6304
|
commandKey: "newWorkbook"
|
|
6305
6305
|
}),
|
|
6306
|
-
(0, $.jsx)(
|
|
6307
|
-
c ? (0, $.jsx)(
|
|
6306
|
+
(0, $.jsx)(q, { orientation: "horizontal" }),
|
|
6307
|
+
c ? (0, $.jsx)(vt, {
|
|
6308
6308
|
...t,
|
|
6309
6309
|
quickCommand: "openWorkbook",
|
|
6310
6310
|
createPopupPanel: (e) => {
|
|
6311
6311
|
let n = {
|
|
6312
6312
|
...t,
|
|
6313
6313
|
groupKey: "openWorkbookOptions"
|
|
6314
|
-
}, r = [(0, Q.createElement)(
|
|
6314
|
+
}, r = [(0, Q.createElement)(K, {
|
|
6315
6315
|
...n,
|
|
6316
6316
|
key: "device",
|
|
6317
6317
|
commandKey: "openWorkbook"
|
|
6318
|
-
}), (0, Q.createElement)(
|
|
6318
|
+
}), (0, Q.createElement)(K, {
|
|
6319
6319
|
...n,
|
|
6320
6320
|
key: "web",
|
|
6321
6321
|
commandKey: "openWorkbookFromUrl"
|
|
6322
6322
|
})];
|
|
6323
|
-
return
|
|
6323
|
+
return xt({
|
|
6324
6324
|
...e,
|
|
6325
6325
|
children: r,
|
|
6326
6326
|
onClick: () => {
|
|
@@ -6329,28 +6329,28 @@ var Li = function(e) {
|
|
|
6329
6329
|
});
|
|
6330
6330
|
}
|
|
6331
6331
|
}) : null,
|
|
6332
|
-
s && a.length > 0 ? (0, $.jsx)(
|
|
6332
|
+
s && a.length > 0 ? (0, $.jsx)(vt, {
|
|
6333
6333
|
...t,
|
|
6334
6334
|
quickCommand: "saveWorkbook",
|
|
6335
6335
|
createPopupPanel: (e) => {
|
|
6336
6336
|
let n = {
|
|
6337
6337
|
...t,
|
|
6338
6338
|
groupKey: "saveWorkbookOptions"
|
|
6339
|
-
}, r = [(0, Q.createElement)(
|
|
6339
|
+
}, r = [(0, Q.createElement)(K, {
|
|
6340
6340
|
...n,
|
|
6341
6341
|
key: "saveWorkbookAs",
|
|
6342
6342
|
commandKey: "saveWorkbookAs",
|
|
6343
6343
|
label: d?.getLabel("saveWorkbookOptions"),
|
|
6344
6344
|
icon: d?.getIcon("saveWorkbookOptions")
|
|
6345
6345
|
})], i = a.filter((e) => !e.advanced && e.key !== u?.key);
|
|
6346
|
-
return i.length > 0 && r.push((0, $.jsx)(
|
|
6346
|
+
return i.length > 0 && r.push((0, $.jsx)(q, { orientation: "horizontal" }, "divider")), i.forEach((e) => {
|
|
6347
6347
|
let t = e.key, i = `saveWorkbookAs${t}`;
|
|
6348
|
-
r.push((0, Q.createElement)(
|
|
6348
|
+
r.push((0, Q.createElement)(K, {
|
|
6349
6349
|
...n,
|
|
6350
6350
|
key: t,
|
|
6351
6351
|
commandKey: i
|
|
6352
6352
|
}));
|
|
6353
|
-
}),
|
|
6353
|
+
}), xt({
|
|
6354
6354
|
...e,
|
|
6355
6355
|
children: r,
|
|
6356
6356
|
onClick: () => {
|
|
@@ -6359,12 +6359,12 @@ var Li = function(e) {
|
|
|
6359
6359
|
});
|
|
6360
6360
|
}
|
|
6361
6361
|
}) : null,
|
|
6362
|
-
s ? (0, $.jsxs)($.Fragment, { children: [(0, $.jsx)(
|
|
6362
|
+
s ? (0, $.jsxs)($.Fragment, { children: [(0, $.jsx)(q, { orientation: "horizontal" }), (0, $.jsx)(K, {
|
|
6363
6363
|
...t,
|
|
6364
6364
|
commandKey: "protectWorkbook"
|
|
6365
6365
|
})] }) : null
|
|
6366
6366
|
] });
|
|
6367
|
-
return
|
|
6367
|
+
return xt({
|
|
6368
6368
|
...e,
|
|
6369
6369
|
children: i,
|
|
6370
6370
|
onClick: (t) => {
|
|
@@ -6378,7 +6378,7 @@ var Li = function(e) {
|
|
|
6378
6378
|
u,
|
|
6379
6379
|
d
|
|
6380
6380
|
]), p = H("fileOptions"), m = p?.getLabel?.() ?? "File";
|
|
6381
|
-
return (0, $.jsx)(
|
|
6381
|
+
return (0, $.jsx)(vt, {
|
|
6382
6382
|
disabled: r,
|
|
6383
6383
|
groupKey: n,
|
|
6384
6384
|
label: m,
|
|
@@ -6393,7 +6393,7 @@ var Li = function(e) {
|
|
|
6393
6393
|
},
|
|
6394
6394
|
...i,
|
|
6395
6395
|
createPopupPanel: f,
|
|
6396
|
-
icon: (0, $.jsx)(
|
|
6396
|
+
icon: (0, $.jsx)(ct, {
|
|
6397
6397
|
className: "label",
|
|
6398
6398
|
icon: null,
|
|
6399
6399
|
label: m
|
|
@@ -6408,25 +6408,25 @@ var oa = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
6408
6408
|
groupKey: "appearanceOptions",
|
|
6409
6409
|
disabled: r
|
|
6410
6410
|
}, n = (0, $.jsxs)($.Fragment, { children: [
|
|
6411
|
-
(0, $.jsx)(
|
|
6411
|
+
(0, $.jsx)(K, {
|
|
6412
6412
|
...t,
|
|
6413
6413
|
commandKey: "themeMode"
|
|
6414
6414
|
}),
|
|
6415
|
-
(0, $.jsx)(
|
|
6415
|
+
(0, $.jsx)(K, {
|
|
6416
6416
|
...t,
|
|
6417
6417
|
commandKey: "defaultThemeMode"
|
|
6418
6418
|
}),
|
|
6419
|
-
(0, $.jsx)(
|
|
6420
|
-
(0, $.jsx)(
|
|
6419
|
+
(0, $.jsx)(q, { orientation: "horizontal" }),
|
|
6420
|
+
(0, $.jsx)(K, {
|
|
6421
6421
|
...t,
|
|
6422
6422
|
commandKey: "enableDarkGrid"
|
|
6423
6423
|
}),
|
|
6424
|
-
(0, $.jsx)(
|
|
6424
|
+
(0, $.jsx)(K, {
|
|
6425
6425
|
...t,
|
|
6426
6426
|
commandKey: "enableDarkImages"
|
|
6427
6427
|
})
|
|
6428
6428
|
] });
|
|
6429
|
-
return
|
|
6429
|
+
return xt({
|
|
6430
6430
|
...e,
|
|
6431
6431
|
children: n
|
|
6432
6432
|
});
|
|
@@ -6435,7 +6435,7 @@ var oa = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
6435
6435
|
a,
|
|
6436
6436
|
n
|
|
6437
6437
|
]), c = a?.getState(), l = Lr("(prefers-color-scheme: dark)"), u = c === "dark" || c === null && l, d = a?.getState() !== null;
|
|
6438
|
-
return (0, $.jsx)(
|
|
6438
|
+
return (0, $.jsx)(vt, {
|
|
6439
6439
|
ref: t,
|
|
6440
6440
|
quickCommand: "themeMode",
|
|
6441
6441
|
createPopupPanel: s,
|
|
@@ -6452,7 +6452,7 @@ var oa = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
6452
6452
|
return (0, Q.useEffect)(() => {
|
|
6453
6453
|
let e = i.getMode();
|
|
6454
6454
|
o(e?.key === "copy" || e?.key === "cut"), c(e?.key === "cut" ? "warning" : "primary");
|
|
6455
|
-
}, [i]), (0, $.jsx)(
|
|
6455
|
+
}, [i]), (0, $.jsx)(K, {
|
|
6456
6456
|
ref: t,
|
|
6457
6457
|
commandKey: n,
|
|
6458
6458
|
icon: (0, $.jsx)(u, {
|
|
@@ -6475,7 +6475,7 @@ var oa = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
6475
6475
|
(0, Q.useEffect)(() => {
|
|
6476
6476
|
if (m) return m(t, w);
|
|
6477
6477
|
}, [t, m]), (0, Q.useEffect)(() => {}, [x]);
|
|
6478
|
-
let T = (0, Q.useMemo)(() =>
|
|
6478
|
+
let T = (0, Q.useMemo)(() => J("sxl-item-card", "sxl-anchor-item-card", _, { "sxl-read-only": o }, ca.card), [_, o]);
|
|
6479
6479
|
return (0, $.jsxs)(me, {
|
|
6480
6480
|
tabIndex: 0,
|
|
6481
6481
|
...v,
|
|
@@ -6558,7 +6558,7 @@ var oa = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
6558
6558
|
},
|
|
6559
6559
|
children: [
|
|
6560
6560
|
d && n.moveUp && n.moveDown && (0, $.jsxs)($.Fragment, { children: [
|
|
6561
|
-
(0, $.jsx)(
|
|
6561
|
+
(0, $.jsx)(Pe, {
|
|
6562
6562
|
disableInteractive: !0,
|
|
6563
6563
|
title: y(n.moveUp),
|
|
6564
6564
|
children: (0, $.jsx)("div", { children: (0, $.jsx)(U, {
|
|
@@ -6574,7 +6574,7 @@ var oa = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
6574
6574
|
})
|
|
6575
6575
|
}) })
|
|
6576
6576
|
}, "move-up"),
|
|
6577
|
-
(0, $.jsx)(
|
|
6577
|
+
(0, $.jsx)(Pe, {
|
|
6578
6578
|
disableInteractive: !0,
|
|
6579
6579
|
title: y(n.moveDown),
|
|
6580
6580
|
children: (0, $.jsx)("div", { children: (0, $.jsx)(U, {
|
|
@@ -6592,7 +6592,7 @@ var oa = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
6592
6592
|
}, "move-down"),
|
|
6593
6593
|
(0, $.jsx)("div", { style: { width: "12px" } }, "div-after-move-down")
|
|
6594
6594
|
] }),
|
|
6595
|
-
(0, $.jsx)(
|
|
6595
|
+
(0, $.jsx)(Pe, {
|
|
6596
6596
|
disableInteractive: !0,
|
|
6597
6597
|
title: y(n.edit),
|
|
6598
6598
|
children: (0, $.jsx)(U, {
|
|
@@ -6607,7 +6607,7 @@ var oa = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
6607
6607
|
})
|
|
6608
6608
|
})
|
|
6609
6609
|
}, "edit"),
|
|
6610
|
-
f && n.duplicate && (0, $.jsx)(
|
|
6610
|
+
f && n.duplicate && (0, $.jsx)(Pe, {
|
|
6611
6611
|
disableInteractive: !0,
|
|
6612
6612
|
title: y(n.duplicate),
|
|
6613
6613
|
children: (0, $.jsx)(U, {
|
|
@@ -6622,7 +6622,7 @@ var oa = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
6622
6622
|
})
|
|
6623
6623
|
})
|
|
6624
6624
|
}, "duplicate"),
|
|
6625
|
-
(0, $.jsx)(
|
|
6625
|
+
(0, $.jsx)(Pe, {
|
|
6626
6626
|
disableInteractive: !0,
|
|
6627
6627
|
title: y(n.delete),
|
|
6628
6628
|
children: (0, $.jsx)(U, {
|
|
@@ -6660,7 +6660,7 @@ var oa = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
6660
6660
|
});
|
|
6661
6661
|
la.displayName = "ItemCard";
|
|
6662
6662
|
var ua = (0, Q.memo)((e) => {
|
|
6663
|
-
let { children: t, messageKeys: n, onSave: r, onCancel: i, className: a, ...o } = e, s = b(), c = (0, Q.useMemo)(() =>
|
|
6663
|
+
let { children: t, messageKeys: n, onSave: r, onCancel: i, className: a, ...o } = e, s = b(), c = (0, Q.useMemo)(() => J("sxl-items-editor", "sxl-anchor-items-editor", a, {}, ca.editor), [a]);
|
|
6664
6664
|
return (0, $.jsxs)(R, {
|
|
6665
6665
|
sx: {
|
|
6666
6666
|
display: "flex",
|
|
@@ -6811,7 +6811,7 @@ var da = 0, fa = /* @__PURE__ */ new WeakMap(), pa = (0, Q.memo)((0, Q.forwardRe
|
|
|
6811
6811
|
})
|
|
6812
6812
|
}),
|
|
6813
6813
|
o,
|
|
6814
|
-
!T && (0, $.jsx)(
|
|
6814
|
+
!T && (0, $.jsx)(Pe, {
|
|
6815
6815
|
disableInteractive: !0,
|
|
6816
6816
|
title: d(p.insert),
|
|
6817
6817
|
children: (0, $.jsx)(U, {
|
|
@@ -6901,7 +6901,7 @@ var da = 0, fa = /* @__PURE__ */ new WeakMap(), pa = (0, Q.memo)((0, Q.forwardRe
|
|
|
6901
6901
|
f,
|
|
6902
6902
|
E,
|
|
6903
6903
|
k
|
|
6904
|
-
]), M = (0, Q.useMemo)(() =>
|
|
6904
|
+
]), M = (0, Q.useMemo)(() => J("sxl-items-details", "sxl-anchor-items-details", `sxl-${i.key}-details`, c, {
|
|
6905
6905
|
editing: g !== null,
|
|
6906
6906
|
"sxl-has-focus": m,
|
|
6907
6907
|
"sxl-read-only": T
|
|
@@ -6919,7 +6919,7 @@ var da = 0, fa = /* @__PURE__ */ new WeakMap(), pa = (0, Q.memo)((0, Q.forwardRe
|
|
|
6919
6919
|
onBlur: (e) => {
|
|
6920
6920
|
v?.current?.contains(e.relatedTarget) || h(!1);
|
|
6921
6921
|
},
|
|
6922
|
-
ref:
|
|
6922
|
+
ref: tn([v, t]),
|
|
6923
6923
|
sx: {
|
|
6924
6924
|
paddingLeft: (e) => e.spacing(1.5),
|
|
6925
6925
|
paddingRight: (e) => e.spacing(1.5),
|
|
@@ -6944,7 +6944,7 @@ var da = 0, fa = /* @__PURE__ */ new WeakMap(), pa = (0, Q.memo)((0, Q.forwardRe
|
|
|
6944
6944
|
onBlur: (e) => {
|
|
6945
6945
|
v?.current?.contains(e.relatedTarget) || h(!1);
|
|
6946
6946
|
},
|
|
6947
|
-
ref:
|
|
6947
|
+
ref: tn([v, t]),
|
|
6948
6948
|
sx: {
|
|
6949
6949
|
gap: (e) => e.spacing(1),
|
|
6950
6950
|
paddingLeft: (e) => e.spacing(1.5),
|
|
@@ -6962,13 +6962,13 @@ var ma = (e, t) => {
|
|
|
6962
6962
|
if (!e) return null;
|
|
6963
6963
|
let n = t?.getStyles();
|
|
6964
6964
|
try {
|
|
6965
|
-
return new
|
|
6965
|
+
return new cn(e, n?.schemeLookup(), n?.indexedLookup());
|
|
6966
6966
|
} catch {
|
|
6967
6967
|
return null;
|
|
6968
6968
|
}
|
|
6969
6969
|
}, ha = () => {
|
|
6970
|
-
let e =
|
|
6971
|
-
|
|
6970
|
+
let e = $t(), t = Lt(), n = t === "dark", [r, i] = (0, Q.useReducer)((e) => e + 1, 0);
|
|
6971
|
+
Et(e, { onThemeChange: () => i() }, { ignoreModelChange: !0 });
|
|
6972
6972
|
let a = (0, Q.useCallback)((t) => ma(t, e), [e, r]), o = e?.getStyles().schemeLookup();
|
|
6973
6973
|
return {
|
|
6974
6974
|
workbook: e,
|
|
@@ -6983,7 +6983,7 @@ var ma = (e, t) => {
|
|
|
6983
6983
|
...V("grid", t)
|
|
6984
6984
|
}
|
|
6985
6985
|
};
|
|
6986
|
-
}, ga = "var(--sxl-color-base-100, rgb(255, 255, 255))", _a = "var(--sxl-color-base-300, rgb(224, 224, 224))", va = "var(--sxl-color-primary, rgb(33, 115, 70))", ya = "var(--sxl-color-base-content, rgba(0, 0, 0, 0.87))", ba = "var(--sxl-color-error, rgb(211, 47, 47))", xa = (e) => Math.round(e).toString(16).padStart(2, "0"), Sa = (e, t, n) => new
|
|
6986
|
+
}, ga = "var(--sxl-color-base-100, rgb(255, 255, 255))", _a = "var(--sxl-color-base-300, rgb(224, 224, 224))", va = "var(--sxl-color-primary, rgb(33, 115, 70))", ya = "var(--sxl-color-base-content, rgba(0, 0, 0, 0.87))", ba = "var(--sxl-color-error, rgb(211, 47, 47))", xa = (e) => Math.round(e).toString(16).padStart(2, "0"), Sa = (e, t, n) => new cn(`#${xa(e)}${xa(t)}${xa(n)}`).toCSS("adaptive"), Ca = (e, t, n, r) => {
|
|
6987
6987
|
if (e.length === 0) return n;
|
|
6988
6988
|
let i = (t) => ma(e[t].color, r)?.toRGBA() ?? null;
|
|
6989
6989
|
if (e.length === 1) {
|
|
@@ -7024,7 +7024,7 @@ var ma = (e, t) => {
|
|
|
7024
7024
|
} })
|
|
7025
7025
|
}));
|
|
7026
7026
|
}, Da = (0, Q.memo)((e) => {
|
|
7027
|
-
let { rows: t, ...n } = e, r =
|
|
7027
|
+
let { rows: t, ...n } = e, r = Lt(), i = (e, n) => ({
|
|
7028
7028
|
borderRight: +(n < 2),
|
|
7029
7029
|
borderBottom: +(e < t.length - 1),
|
|
7030
7030
|
borderColor: _a,
|
|
@@ -7058,7 +7058,7 @@ var ma = (e, t) => {
|
|
|
7058
7058
|
});
|
|
7059
7059
|
Da.displayName = "ScaleMiniGrid";
|
|
7060
7060
|
var Oa = (0, Q.memo)((e) => {
|
|
7061
|
-
let { title: t, sheet: n, disabled: r, sx: i, className: a, children: o, ...s } = e, c =
|
|
7061
|
+
let { title: t, sheet: n, disabled: r, sx: i, className: a, children: o, ...s } = e, c = Lt(), l = !!s.onClick, u = (0, $.jsx)(R, {
|
|
7062
7062
|
component: l ? "button" : "div",
|
|
7063
7063
|
...l ? { disabled: r } : null,
|
|
7064
7064
|
className: a ? `sxl-cf-preset-chip ${a}` : "sxl-cf-preset-chip",
|
|
@@ -7091,7 +7091,7 @@ var Oa = (0, Q.memo)((e) => {
|
|
|
7091
7091
|
...s,
|
|
7092
7092
|
children: o
|
|
7093
7093
|
});
|
|
7094
|
-
return t ? (0, $.jsx)(
|
|
7094
|
+
return t ? (0, $.jsx)(Pe, {
|
|
7095
7095
|
disableInteractive: !0,
|
|
7096
7096
|
title: t,
|
|
7097
7097
|
children: (0, $.jsx)(R, {
|
|
@@ -7107,25 +7107,25 @@ var Oa = (0, Q.memo)((e) => {
|
|
|
7107
7107
|
Oa.displayName = "PresetChip";
|
|
7108
7108
|
var ka = Object.freeze([{
|
|
7109
7109
|
labelKey: l("conditionalFormat.gradientFill"),
|
|
7110
|
-
presets:
|
|
7110
|
+
presets: wt.filter((e) => e.gradient)
|
|
7111
7111
|
}, {
|
|
7112
7112
|
labelKey: l("conditionalFormat.solidFill"),
|
|
7113
|
-
presets:
|
|
7113
|
+
presets: wt.filter((e) => !e.gradient)
|
|
7114
7114
|
}]), Aa = Object.freeze([{
|
|
7115
7115
|
labelKey: l("conditionalFormat.threeColor"),
|
|
7116
|
-
presets:
|
|
7116
|
+
presets: St.filter((e) => e.stops.length === 3)
|
|
7117
7117
|
}, {
|
|
7118
7118
|
labelKey: l("conditionalFormat.twoColor"),
|
|
7119
|
-
presets:
|
|
7120
|
-
}]), ja = (e, t) => e.type ===
|
|
7121
|
-
let { commandKey: t, groups: n, disabled: r } = e, i = b(), a =
|
|
7119
|
+
presets: St.filter((e) => e.stops.length === 2)
|
|
7120
|
+
}]), ja = (e, t) => e.type === fn.ScaleType.DataBar ? Ea(e, ma(e.color, t)?.toCSS("adaptive") ?? "var(--sxl-color-primary, rgb(33, 115, 70))") : e.type === fn.ScaleType.ColorScale ? wa(e.stops ?? [], ga, t) : [], Ma = (0, Q.memo)((e) => {
|
|
7121
|
+
let { commandKey: t, groups: n, disabled: r } = e, i = b(), a = $t(), o = P([t])[0];
|
|
7122
7122
|
return (0, $.jsx)(R, {
|
|
7123
7123
|
sx: {
|
|
7124
7124
|
display: "flex",
|
|
7125
7125
|
flexDirection: "column",
|
|
7126
7126
|
padding: "2px 8px 4px"
|
|
7127
7127
|
},
|
|
7128
|
-
children: n.map((e) => (0, $.jsxs)(R, { children: [(0, $.jsx)(
|
|
7128
|
+
children: n.map((e) => (0, $.jsxs)(R, { children: [(0, $.jsx)(st, { children: i(e.labelKey) }), (0, $.jsx)(R, {
|
|
7129
7129
|
sx: {
|
|
7130
7130
|
display: "grid",
|
|
7131
7131
|
gridTemplateColumns: "repeat(3, auto)",
|
|
@@ -7150,9 +7150,9 @@ var ka = Object.freeze([{
|
|
|
7150
7150
|
Ma.displayName = "ScalePresetGallery";
|
|
7151
7151
|
var Na = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
7152
7152
|
let { commandKey: n, scaleType: r, groupKey: i, disabled: a, ...o } = e, s = P([n])[0], c = r === "dataBar" ? ka : Aa, l = a ?? (!s || s.disabled());
|
|
7153
|
-
return (0, $.jsx)(
|
|
7153
|
+
return (0, $.jsx)(vt, {
|
|
7154
7154
|
ref: t,
|
|
7155
|
-
createPopupPanel: (0, Q.useCallback)((e) =>
|
|
7155
|
+
createPopupPanel: (0, Q.useCallback)((e) => xt({
|
|
7156
7156
|
...e,
|
|
7157
7157
|
children: (0, $.jsx)(Ma, {
|
|
7158
7158
|
commandKey: n,
|
|
@@ -7190,7 +7190,7 @@ var Pa = () => {
|
|
|
7190
7190
|
]
|
|
7191
7191
|
}, !0), N.register({
|
|
7192
7192
|
key: "underlineOptions",
|
|
7193
|
-
render: (e, t) => (0, $.jsx)(
|
|
7193
|
+
render: (e, t) => (0, $.jsx)(At, {
|
|
7194
7194
|
...e,
|
|
7195
7195
|
groupKey: t,
|
|
7196
7196
|
projectAs: "quick"
|
|
@@ -7203,7 +7203,7 @@ var Pa = () => {
|
|
|
7203
7203
|
]
|
|
7204
7204
|
}, !0), N.register({
|
|
7205
7205
|
key: "textOverflowOptions",
|
|
7206
|
-
render: (e, t) => (0, $.jsx)(
|
|
7206
|
+
render: (e, t) => (0, $.jsx)(At, {
|
|
7207
7207
|
...e,
|
|
7208
7208
|
groupKey: t,
|
|
7209
7209
|
projectAs: "icon",
|
|
@@ -7267,7 +7267,7 @@ var Pa = () => {
|
|
|
7267
7267
|
key: "dataTextToColumns",
|
|
7268
7268
|
getLabel: () => "Custom",
|
|
7269
7269
|
getIcon: () => null,
|
|
7270
|
-
render: (e) => (0, $.jsx)(
|
|
7270
|
+
render: (e) => (0, $.jsx)(Pt, {
|
|
7271
7271
|
...e,
|
|
7272
7272
|
inputProps: { maxLength: 1 }
|
|
7273
7273
|
})
|
|
@@ -7425,7 +7425,7 @@ var Pa = () => {
|
|
|
7425
7425
|
render: (e) => (0, $.jsx)(Ci, { ...e })
|
|
7426
7426
|
}, !0), N.register({
|
|
7427
7427
|
key: "horizontalAlignOptions",
|
|
7428
|
-
render: (e, t) => (0, $.jsx)(
|
|
7428
|
+
render: (e, t) => (0, $.jsx)(At, {
|
|
7429
7429
|
...e,
|
|
7430
7430
|
groupKey: t,
|
|
7431
7431
|
projectAs: "quick"
|
|
@@ -7438,11 +7438,11 @@ var Pa = () => {
|
|
|
7438
7438
|
justifyContent: "center"
|
|
7439
7439
|
},
|
|
7440
7440
|
onClick: (e) => e.stopPropagation(),
|
|
7441
|
-
children: [(0, $.jsx)(
|
|
7441
|
+
children: [(0, $.jsx)(K, {
|
|
7442
7442
|
commandKey: "formatIndentDecrease",
|
|
7443
7443
|
groupKey: "horizontalAlignOptions",
|
|
7444
7444
|
disabled: e
|
|
7445
|
-
}), (0, $.jsx)(
|
|
7445
|
+
}), (0, $.jsx)(K, {
|
|
7446
7446
|
commandKey: "formatIndentIncrease",
|
|
7447
7447
|
groupKey: "horizontalAlignOptions",
|
|
7448
7448
|
disabled: e
|
|
@@ -7460,7 +7460,7 @@ var Pa = () => {
|
|
|
7460
7460
|
]
|
|
7461
7461
|
}, !0), N.register({
|
|
7462
7462
|
key: "verticalAlignOptions",
|
|
7463
|
-
render: (e, t) => (0, $.jsx)(
|
|
7463
|
+
render: (e, t) => (0, $.jsx)(At, {
|
|
7464
7464
|
...e,
|
|
7465
7465
|
groupKey: t,
|
|
7466
7466
|
projectAs: "icon",
|
|
@@ -7492,7 +7492,7 @@ var Pa = () => {
|
|
|
7492
7492
|
]
|
|
7493
7493
|
}, !0), N.register({
|
|
7494
7494
|
key: "formatTextRotateCustom",
|
|
7495
|
-
render: (e) => (0, $.jsx)(
|
|
7495
|
+
render: (e) => (0, $.jsx)(Pt, {
|
|
7496
7496
|
...e,
|
|
7497
7497
|
commandKey: "formatTextRotateCustom",
|
|
7498
7498
|
groupKey: "textRotateOptions",
|
|
@@ -7617,7 +7617,7 @@ var Pa = () => {
|
|
|
7617
7617
|
e(t.getSummary());
|
|
7618
7618
|
});
|
|
7619
7619
|
});
|
|
7620
|
-
return (0, $.jsx)(
|
|
7620
|
+
return (0, $.jsx)(pt, {
|
|
7621
7621
|
sx: {
|
|
7622
7622
|
maxWidth: "360px",
|
|
7623
7623
|
display: "flex",
|
|
@@ -7654,7 +7654,7 @@ var Pa = () => {
|
|
|
7654
7654
|
});
|
|
7655
7655
|
}), La = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
7656
7656
|
let { category: n, disabled: r, groupKey: i, ...a } = e, o = P(["insertFunction"])[0], s = b();
|
|
7657
|
-
return (0, $.jsx)(
|
|
7657
|
+
return (0, $.jsx)(vt, {
|
|
7658
7658
|
ref: t,
|
|
7659
7659
|
disabled: r,
|
|
7660
7660
|
createPopupPanel: (0, Q.useCallback)((e) => {
|
|
@@ -7664,7 +7664,7 @@ var Pa = () => {
|
|
|
7664
7664
|
category: t.label,
|
|
7665
7665
|
...r
|
|
7666
7666
|
});
|
|
7667
|
-
return
|
|
7667
|
+
return xt({
|
|
7668
7668
|
...e,
|
|
7669
7669
|
children: i
|
|
7670
7670
|
});
|
|
@@ -7705,7 +7705,7 @@ var Ra = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
7705
7705
|
handleInsert: d
|
|
7706
7706
|
}, `formula-${t.getName()}-${e}`);
|
|
7707
7707
|
}
|
|
7708
|
-
return
|
|
7708
|
+
return xt({
|
|
7709
7709
|
...r,
|
|
7710
7710
|
children: (0, $.jsx)(R, {
|
|
7711
7711
|
ref: t,
|
|
@@ -7731,7 +7731,7 @@ var Ra = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
7731
7731
|
}, n = (e, n) => ({
|
|
7732
7732
|
selected: n,
|
|
7733
7733
|
disabled: l,
|
|
7734
|
-
icon: n ? (0, $.jsx)(
|
|
7734
|
+
icon: n ? (0, $.jsx)(yt, {}) : void 0,
|
|
7735
7735
|
sx: {
|
|
7736
7736
|
display: "flex",
|
|
7737
7737
|
paddingTop: "4px",
|
|
@@ -7765,11 +7765,11 @@ var Ra = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
7765
7765
|
})
|
|
7766
7766
|
}), i = [...za];
|
|
7767
7767
|
c && !i.includes(c) && i.push(c), i.sort((e, t) => Ua(e).localeCompare(Ua(t)));
|
|
7768
|
-
let u = i.map((e) => (0, $.jsx)(
|
|
7768
|
+
let u = i.map((e) => (0, $.jsx)(pt, {
|
|
7769
7769
|
...n(e, e === c),
|
|
7770
7770
|
children: r(Ua(e))
|
|
7771
7771
|
}, e));
|
|
7772
|
-
return
|
|
7772
|
+
return xt({
|
|
7773
7773
|
...e,
|
|
7774
7774
|
children: (0, $.jsxs)(R, {
|
|
7775
7775
|
sx: {
|
|
@@ -7780,10 +7780,10 @@ var Ra = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
7780
7780
|
},
|
|
7781
7781
|
children: [(0, $.jsxs)(R, {
|
|
7782
7782
|
sx: { flex: "none" },
|
|
7783
|
-
children: [(0, $.jsx)(
|
|
7783
|
+
children: [(0, $.jsx)(pt, {
|
|
7784
7784
|
...n(null, c === null),
|
|
7785
7785
|
children: r(a("locale.systemDefault", { locale: Ua(Ha(o)) }))
|
|
7786
|
-
}, "system-default"), (0, $.jsx)(
|
|
7786
|
+
}, "system-default"), (0, $.jsx)(q, { orientation: "horizontal" })]
|
|
7787
7787
|
}), (0, $.jsx)(R, {
|
|
7788
7788
|
sx: {
|
|
7789
7789
|
overflow: "auto",
|
|
@@ -7801,12 +7801,12 @@ var Ra = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
7801
7801
|
a,
|
|
7802
7802
|
o
|
|
7803
7803
|
]);
|
|
7804
|
-
return (0, $.jsx)(
|
|
7804
|
+
return (0, $.jsx)(vt, {
|
|
7805
7805
|
ref: t,
|
|
7806
7806
|
sx: { ...n },
|
|
7807
7807
|
disabled: l,
|
|
7808
7808
|
createPopupPanel: f,
|
|
7809
|
-
createTooltip: ({ children: e }, t) => (0, $.jsx)(
|
|
7809
|
+
createTooltip: ({ children: e }, t) => (0, $.jsx)(Le, {
|
|
7810
7810
|
label: s?.getLabel?.(),
|
|
7811
7811
|
description: s?.getDescription?.(),
|
|
7812
7812
|
disabled: t,
|
|
@@ -8120,10 +8120,10 @@ var Wa = () => {
|
|
|
8120
8120
|
l?.closeAll(), a?.execute(e);
|
|
8121
8121
|
}, n = o.getAvailable().sort().map((e) => {
|
|
8122
8122
|
let n = e === s;
|
|
8123
|
-
return (0, $.jsx)(
|
|
8123
|
+
return (0, $.jsx)(pt, {
|
|
8124
8124
|
selected: n,
|
|
8125
8125
|
disabled: c,
|
|
8126
|
-
icon: n ? (0, $.jsx)(
|
|
8126
|
+
icon: n ? (0, $.jsx)(yt, {}) : void 0,
|
|
8127
8127
|
sx: {
|
|
8128
8128
|
display: "flex",
|
|
8129
8129
|
paddingTop: "4px",
|
|
@@ -8157,7 +8157,7 @@ var Wa = () => {
|
|
|
8157
8157
|
})
|
|
8158
8158
|
}, e);
|
|
8159
8159
|
});
|
|
8160
|
-
return
|
|
8160
|
+
return xt({
|
|
8161
8161
|
...e,
|
|
8162
8162
|
children: (0, $.jsx)(R, {
|
|
8163
8163
|
sx: {
|
|
@@ -8180,12 +8180,12 @@ var Wa = () => {
|
|
|
8180
8180
|
c,
|
|
8181
8181
|
l
|
|
8182
8182
|
]);
|
|
8183
|
-
return (0, $.jsx)(
|
|
8183
|
+
return (0, $.jsx)(vt, {
|
|
8184
8184
|
ref: t,
|
|
8185
8185
|
sx: { ...n },
|
|
8186
8186
|
disabled: c,
|
|
8187
8187
|
createPopupPanel: d,
|
|
8188
|
-
createTooltip: ({ children: e }, t) => (0, $.jsx)(
|
|
8188
|
+
createTooltip: ({ children: e }, t) => (0, $.jsx)(Le, {
|
|
8189
8189
|
label: a?.getLabel?.(),
|
|
8190
8190
|
description: a?.getDescription?.(),
|
|
8191
8191
|
disabled: t,
|
|
@@ -8254,7 +8254,7 @@ var qa = () => {
|
|
|
8254
8254
|
}, !0);
|
|
8255
8255
|
}, Ja = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
8256
8256
|
let { ...n } = e;
|
|
8257
|
-
return (0, $.jsx)(
|
|
8257
|
+
return (0, $.jsx)(Xt, {
|
|
8258
8258
|
ref: t,
|
|
8259
8259
|
groupKey: "insertFunctionSumOptions",
|
|
8260
8260
|
...n
|
|
@@ -8352,7 +8352,7 @@ var Ya = [
|
|
|
8352
8352
|
let e = [], r = t.length;
|
|
8353
8353
|
for (let i = 0; i < r; i++) {
|
|
8354
8354
|
let r = t[i].label;
|
|
8355
|
-
e.push((0, $.jsx)(
|
|
8355
|
+
e.push((0, $.jsx)(tt, {
|
|
8356
8356
|
value: i,
|
|
8357
8357
|
sx: { color: (e) => {
|
|
8358
8358
|
if (n === i) return e.palette.primary.main;
|
|
@@ -8362,7 +8362,7 @@ var Ya = [
|
|
|
8362
8362
|
}
|
|
8363
8363
|
return e;
|
|
8364
8364
|
}, [t, n]);
|
|
8365
|
-
return (0, $.jsx)(
|
|
8365
|
+
return (0, $.jsx)(He, {
|
|
8366
8366
|
sx: {
|
|
8367
8367
|
minWidth: "125px",
|
|
8368
8368
|
maxWidth: "125px",
|
|
@@ -8382,7 +8382,7 @@ var Ya = [
|
|
|
8382
8382
|
}
|
|
8383
8383
|
},
|
|
8384
8384
|
size: "small",
|
|
8385
|
-
children: (0, $.jsx)(
|
|
8385
|
+
children: (0, $.jsx)(Ke, {
|
|
8386
8386
|
value: n,
|
|
8387
8387
|
onChange: a,
|
|
8388
8388
|
variant: "outlined",
|
|
@@ -8399,7 +8399,7 @@ var Ya = [
|
|
|
8399
8399
|
return {
|
|
8400
8400
|
key: e,
|
|
8401
8401
|
label: (0, $.jsx)(z, { entryKey: e }),
|
|
8402
|
-
component: (0, Q.createElement)(
|
|
8402
|
+
component: (0, Q.createElement)(kt, {
|
|
8403
8403
|
...n,
|
|
8404
8404
|
key: e,
|
|
8405
8405
|
groupKey: e
|
|
@@ -8433,7 +8433,7 @@ var Ya = [
|
|
|
8433
8433
|
flexGrow: 1,
|
|
8434
8434
|
borderRadius: "8px",
|
|
8435
8435
|
backgroundColor: "var(--sxl-color-elevated, var(--sxl-color-base-100))",
|
|
8436
|
-
backgroundImage:
|
|
8436
|
+
backgroundImage: _e,
|
|
8437
8437
|
border: "1px solid var(--sxl-color-elevated-border, transparent)",
|
|
8438
8438
|
marginLeft: (e) => e.spacing(1),
|
|
8439
8439
|
marginRight: (e) => e.spacing(1),
|
|
@@ -8460,8 +8460,8 @@ var Ya = [
|
|
|
8460
8460
|
}));
|
|
8461
8461
|
eo.displayName = "WorkbookToolbars";
|
|
8462
8462
|
var to = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
8463
|
-
let { className: n, debounceDelay: r = 220, sx: i, ...a } = e, o = b(), s =
|
|
8464
|
-
|
|
8463
|
+
let { className: n, debounceDelay: r = 220, sx: i, ...a } = e, o = b(), s = ft()?.getView(), [l, d] = (0, Q.useState)(() => s?.getZoomScale() ?? 100), [f, p] = (0, Q.useState)(!1), m = (0, Q.useRef)(0);
|
|
8464
|
+
Et(s, { onZoomScaleChange: () => {
|
|
8465
8465
|
p(!0), m.current === 0 && s && d(s.getZoomScale());
|
|
8466
8466
|
} }), (0, Q.useEffect)(() => {
|
|
8467
8467
|
m.current = 0, p(!1), d(s?.getZoomScale() ?? 100);
|
|
@@ -8488,7 +8488,7 @@ var to = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
8488
8488
|
});
|
|
8489
8489
|
return (0, $.jsxs)(R, {
|
|
8490
8490
|
ref: t,
|
|
8491
|
-
className:
|
|
8491
|
+
className: J(n),
|
|
8492
8492
|
sx: {
|
|
8493
8493
|
padding: "0px 0px",
|
|
8494
8494
|
display: "flex",
|
|
@@ -8510,7 +8510,7 @@ var to = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
8510
8510
|
},
|
|
8511
8511
|
...a,
|
|
8512
8512
|
children: [
|
|
8513
|
-
(0, $.jsx)(
|
|
8513
|
+
(0, $.jsx)(Pe, {
|
|
8514
8514
|
disableInteractive: !0,
|
|
8515
8515
|
title: o("zoom.out"),
|
|
8516
8516
|
children: (0, $.jsx)(U, {
|
|
@@ -8540,8 +8540,8 @@ var to = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
8540
8540
|
height: 14,
|
|
8541
8541
|
width: 4,
|
|
8542
8542
|
borderRadius: 2,
|
|
8543
|
-
"&.Mui-focusVisible": { boxShadow: (e) => `0px 0px 0px 3px ${
|
|
8544
|
-
"&:focus, &:hover, &.Mui-active": { boxShadow: (e) => `0px 0px 0px 2px ${
|
|
8543
|
+
"&.Mui-focusVisible": { boxShadow: (e) => `0px 0px 0px 3px ${je(e.palette.primary.main, .16)}` },
|
|
8544
|
+
"&:focus, &:hover, &.Mui-active": { boxShadow: (e) => `0px 0px 0px 2px ${je(e.palette.primary.main, .16)}` }
|
|
8545
8545
|
},
|
|
8546
8546
|
"& .MuiSlider-mark": {
|
|
8547
8547
|
width: "1px",
|
|
@@ -8570,7 +8570,7 @@ var to = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
8570
8570
|
},
|
|
8571
8571
|
valueLabelFormat: (e, t) => o("zoom.sliderValue", { value: Math.round(l) })
|
|
8572
8572
|
}),
|
|
8573
|
-
(0, $.jsx)(
|
|
8573
|
+
(0, $.jsx)(Pe, {
|
|
8574
8574
|
disableInteractive: !0,
|
|
8575
8575
|
title: o("zoom.in"),
|
|
8576
8576
|
children: (0, $.jsx)(U, {
|
|
@@ -8602,7 +8602,7 @@ var to = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
8602
8602
|
}));
|
|
8603
8603
|
to.displayName = "SheetZoomScale";
|
|
8604
8604
|
var no = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
8605
|
-
let { className: n, stats: r = io, debounceDelay: i = 40, style: a, ...o } = e, s =
|
|
8605
|
+
let { className: n, stats: r = io, debounceDelay: i = 40, style: a, ...o } = e, s = ft(), l = b(), [u, d] = (0, Q.useState)(null), [f, p] = (0, Q.useReducer)((e) => e + 1, 0), m = (0, Q.useCallback)(c.debounce(p, i), [i]);
|
|
8606
8606
|
(0, Q.useEffect)(() => {
|
|
8607
8607
|
if (!s) return;
|
|
8608
8608
|
let e = s.getSelectedRanges();
|
|
@@ -8627,7 +8627,7 @@ var no = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
8627
8627
|
firstError: t
|
|
8628
8628
|
});
|
|
8629
8629
|
})();
|
|
8630
|
-
}, [f, s]),
|
|
8630
|
+
}, [f, s]), Et(s, {
|
|
8631
8631
|
onSelectionChange: () => {
|
|
8632
8632
|
m();
|
|
8633
8633
|
},
|
|
@@ -8676,7 +8676,7 @@ var no = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
8676
8676
|
]);
|
|
8677
8677
|
return (0, $.jsx)("div", {
|
|
8678
8678
|
ref: t,
|
|
8679
|
-
className:
|
|
8679
|
+
className: J(n, "_stats-items_151a8_1"),
|
|
8680
8680
|
style: a,
|
|
8681
8681
|
...o,
|
|
8682
8682
|
children: h
|
|
@@ -8703,15 +8703,15 @@ var io = Object.freeze([
|
|
|
8703
8703
|
sn.Aggregate.Sum
|
|
8704
8704
|
]), ao = { value: 0 }, oo = {
|
|
8705
8705
|
value: 0,
|
|
8706
|
-
style: { numberFormat:
|
|
8706
|
+
style: { numberFormat: X.Type.General }
|
|
8707
8707
|
}, so = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
8708
8708
|
let { cell: n, label: r, description: i, className: a, style: o, ...c } = e, l = b();
|
|
8709
8709
|
return (0, $.jsx)("div", {
|
|
8710
8710
|
ref: t,
|
|
8711
|
-
className:
|
|
8711
|
+
className: J(a, "_stats-item_151a8_1"),
|
|
8712
8712
|
style: o,
|
|
8713
8713
|
...c,
|
|
8714
|
-
children: (0, $.jsx)(
|
|
8714
|
+
children: (0, $.jsx)(Pe, {
|
|
8715
8715
|
disableInteractive: !0,
|
|
8716
8716
|
placement: "top",
|
|
8717
8717
|
title: i ?? (r ? l("numberStats.copyTooltip", { label: r }) : l("numberStats.copyTooltipNoLabel")),
|
|
@@ -8720,7 +8720,7 @@ var io = Object.freeze([
|
|
|
8720
8720
|
let e = n?.getValue();
|
|
8721
8721
|
e != null && s.Global.writeText(String(e));
|
|
8722
8722
|
},
|
|
8723
|
-
className:
|
|
8723
|
+
className: J("_stats-item-label_151a8_15"),
|
|
8724
8724
|
children: [r && (0, $.jsx)(G, {
|
|
8725
8725
|
noWrap: !0,
|
|
8726
8726
|
component: "div",
|
|
@@ -8743,7 +8743,7 @@ var io = Object.freeze([
|
|
|
8743
8743
|
l.current?.removeEventListener("wheel", e);
|
|
8744
8744
|
};
|
|
8745
8745
|
}, []);
|
|
8746
|
-
let u = I(), d =
|
|
8746
|
+
let u = I(), d = Ht().getMode()?.mode === "point", f = b(), p = (0, Q.useMemo)(() => {
|
|
8747
8747
|
if (d) return f("statusBar.point");
|
|
8748
8748
|
let e = u.getMode();
|
|
8749
8749
|
return f(e?.description ? e.description : "statusBar.ready");
|
|
@@ -8802,8 +8802,8 @@ var io = Object.freeze([
|
|
|
8802
8802
|
}), []);
|
|
8803
8803
|
return (0, $.jsxs)("div", {
|
|
8804
8804
|
...c,
|
|
8805
|
-
className:
|
|
8806
|
-
ref:
|
|
8805
|
+
className: J("statusBar", r),
|
|
8806
|
+
ref: tn([l, t]),
|
|
8807
8807
|
style: {
|
|
8808
8808
|
display: "flex",
|
|
8809
8809
|
alignItems: "stretch",
|
|
@@ -8900,7 +8900,7 @@ var lo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
8900
8900
|
}
|
|
8901
8901
|
e ||= o.getSelectedSheet().getSelectedRange().toString(), v({ text: e });
|
|
8902
8902
|
}, [o, y]), [F, ee] = (0, Q.useState)(() => a?.getItems() ?? null);
|
|
8903
|
-
|
|
8903
|
+
Et(a, {
|
|
8904
8904
|
onCollectionChange(e) {
|
|
8905
8905
|
ee(a.getItems()), P();
|
|
8906
8906
|
},
|
|
@@ -8911,7 +8911,7 @@ var lo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
8911
8911
|
j(k());
|
|
8912
8912
|
}, [_]), (0, Q.useEffect)(() => {
|
|
8913
8913
|
te();
|
|
8914
|
-
}, [y]),
|
|
8914
|
+
}, [y]), Et(o, {
|
|
8915
8915
|
onProtectionChange: (e) => {
|
|
8916
8916
|
D(l || !e.getProtection().isStructureAllowed());
|
|
8917
8917
|
},
|
|
@@ -8926,7 +8926,7 @@ var lo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
8926
8926
|
}
|
|
8927
8927
|
});
|
|
8928
8928
|
let te = B(c.debounce(P, y ? 0 : 120), [y]);
|
|
8929
|
-
|
|
8929
|
+
Et(o.getSelectedSheet().getSelection(), {
|
|
8930
8930
|
onChange: (e) => {
|
|
8931
8931
|
te();
|
|
8932
8932
|
},
|
|
@@ -8944,7 +8944,7 @@ var lo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
8944
8944
|
flex: "1 1 100%"
|
|
8945
8945
|
},
|
|
8946
8946
|
disableRipple: !0,
|
|
8947
|
-
children: (0, $.jsx)(
|
|
8947
|
+
children: (0, $.jsx)(We, {
|
|
8948
8948
|
inputMode: "text",
|
|
8949
8949
|
inputProps: {
|
|
8950
8950
|
tabIndex: 0,
|
|
@@ -8967,7 +8967,7 @@ var lo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
8967
8967
|
paddingTop: "0px",
|
|
8968
8968
|
paddingBottom: "0px",
|
|
8969
8969
|
height: "1rem",
|
|
8970
|
-
fontSize: 11 *
|
|
8970
|
+
fontSize: 11 * un.getDeviceScale(),
|
|
8971
8971
|
fontStyle: _?.fontStyle,
|
|
8972
8972
|
paddingLeft: (e) => e.spacing(.75),
|
|
8973
8973
|
paddingRight: (e) => e.spacing(.75),
|
|
@@ -9037,11 +9037,11 @@ var lo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
9037
9037
|
let a = n[e], o = a.getRanges?.();
|
|
9038
9038
|
if (!o || a.isHidden()) continue;
|
|
9039
9039
|
let c = a.getType() === "table";
|
|
9040
|
-
c !== l && (l !== null && s.push((0, $.jsx)(
|
|
9040
|
+
c !== l && (l !== null && s.push((0, $.jsx)(q, { orientation: "horizontal" }, `type-divider-${s.length}`)), s.push((0, $.jsx)(st, {
|
|
9041
9041
|
variant: "subtitle2",
|
|
9042
9042
|
sx: { paddingLeft: "16px" },
|
|
9043
9043
|
children: g(c ? "named.groupTables" : "named.groupRanges")
|
|
9044
|
-
}, `type-header-${s.length}`)), l = c), c ? s.push(i ? (0, Q.createElement)(
|
|
9044
|
+
}, `type-header-${s.length}`)), l = c), c ? s.push(i ? (0, Q.createElement)(Xt, {
|
|
9045
9045
|
...t,
|
|
9046
9046
|
key: "namedItem-" + s.length,
|
|
9047
9047
|
groupKey: "namedItem",
|
|
@@ -9051,7 +9051,7 @@ var lo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
9051
9051
|
quickCommand: "selectNamed",
|
|
9052
9052
|
disabled: u ?? !o,
|
|
9053
9053
|
icon: "TableInsert"
|
|
9054
|
-
}) : (0, Q.createElement)(
|
|
9054
|
+
}) : (0, Q.createElement)(K, {
|
|
9055
9055
|
...t,
|
|
9056
9056
|
key: "namedItem-" + s.length,
|
|
9057
9057
|
commandKey: "selectNamed",
|
|
@@ -9060,7 +9060,7 @@ var lo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
9060
9060
|
label: a.getName(),
|
|
9061
9061
|
disabled: u ?? !o,
|
|
9062
9062
|
icon: "TableInsert"
|
|
9063
|
-
})) : s.push(r ? (0, Q.createElement)(
|
|
9063
|
+
})) : s.push(r ? (0, Q.createElement)(Xt, {
|
|
9064
9064
|
...t,
|
|
9065
9065
|
key: "named-" + s.length,
|
|
9066
9066
|
groupKey: "namedItem",
|
|
@@ -9070,7 +9070,7 @@ var lo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
9070
9070
|
quickCommand: "selectNamed",
|
|
9071
9071
|
disabled: u ?? !a.getRanges?.(),
|
|
9072
9072
|
icon: "NamedRange"
|
|
9073
|
-
}) : (0, Q.createElement)(
|
|
9073
|
+
}) : (0, Q.createElement)(K, {
|
|
9074
9074
|
...t,
|
|
9075
9075
|
key: "named-" + s.length,
|
|
9076
9076
|
commandKey: "selectNamed",
|
|
@@ -9089,11 +9089,11 @@ var lo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
9089
9089
|
overflow: "hidden"
|
|
9090
9090
|
},
|
|
9091
9091
|
...p,
|
|
9092
|
-
children: [E ? null : (0, $.jsx)(
|
|
9092
|
+
children: [E ? null : (0, $.jsx)(K, {
|
|
9093
9093
|
...t,
|
|
9094
9094
|
groupKey: "namedItem",
|
|
9095
9095
|
commandKey: "addNamedReference"
|
|
9096
|
-
}), s && s.length > 0 ? (0, $.jsxs)($.Fragment, { children: [E ? null : (0, $.jsx)(
|
|
9096
|
+
}), s && s.length > 0 ? (0, $.jsxs)($.Fragment, { children: [E ? null : (0, $.jsx)(q, { orientation: "horizontal" }), (0, $.jsx)(R, {
|
|
9097
9097
|
sx: {
|
|
9098
9098
|
overflow: "auto",
|
|
9099
9099
|
flex: "1 1 100%"
|
|
@@ -9101,7 +9101,7 @@ var lo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
9101
9101
|
children: s
|
|
9102
9102
|
})] }) : null]
|
|
9103
9103
|
});
|
|
9104
|
-
return
|
|
9104
|
+
return xt({
|
|
9105
9105
|
...e,
|
|
9106
9106
|
children: f
|
|
9107
9107
|
});
|
|
@@ -9117,7 +9117,7 @@ var lo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
9117
9117
|
} }), []);
|
|
9118
9118
|
return (0, $.jsx)(R, {
|
|
9119
9119
|
...p,
|
|
9120
|
-
className:
|
|
9120
|
+
className: J("outer", n),
|
|
9121
9121
|
style: {
|
|
9122
9122
|
minWidth: 120,
|
|
9123
9123
|
flex: "1 1 100%",
|
|
@@ -9126,8 +9126,8 @@ var lo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
9126
9126
|
justifyContent: "start",
|
|
9127
9127
|
...r
|
|
9128
9128
|
},
|
|
9129
|
-
ref:
|
|
9130
|
-
children: (0, $.jsx)(
|
|
9129
|
+
ref: tn([V, t]),
|
|
9130
|
+
children: (0, $.jsx)(_t, {
|
|
9131
9131
|
className: "outer-button",
|
|
9132
9132
|
sx: {
|
|
9133
9133
|
display: "flex",
|
|
@@ -9140,14 +9140,14 @@ var lo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
9140
9140
|
},
|
|
9141
9141
|
propsButton: { sx: {
|
|
9142
9142
|
backgroundColor: "var(--sxl-color-input, var(--sxl-color-base-100))",
|
|
9143
|
-
backgroundImage:
|
|
9143
|
+
backgroundImage: _e
|
|
9144
9144
|
} },
|
|
9145
9145
|
tabIndex: -1,
|
|
9146
9146
|
outlined: { color: (e) => i ? e.palette.action.disabled : "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.2)))" },
|
|
9147
9147
|
createPopupPanel: z,
|
|
9148
9148
|
onPopupOpen: () => w(!0),
|
|
9149
9149
|
onPopupClose: () => w(!1),
|
|
9150
|
-
createTooltip: ({ children: e }, t) => (0, $.jsx)(
|
|
9150
|
+
createTooltip: ({ children: e }, t) => (0, $.jsx)(Le, {
|
|
9151
9151
|
title: t || C ? "" : g("nameBox.title"),
|
|
9152
9152
|
disabled: t,
|
|
9153
9153
|
leaveDelay: 0,
|
|
@@ -9245,7 +9245,7 @@ var uo = "formula", fo = (e) => e.getType() === uo, po = (e) => {
|
|
|
9245
9245
|
margin: (e) => e.spacing(1.25)
|
|
9246
9246
|
},
|
|
9247
9247
|
children: [
|
|
9248
|
-
(0, $.jsx)(
|
|
9248
|
+
(0, $.jsx)($e, {
|
|
9249
9249
|
label: r("named.name"),
|
|
9250
9250
|
size: "small",
|
|
9251
9251
|
fullWidth: !0,
|
|
@@ -9257,7 +9257,7 @@ var uo = "formula", fo = (e) => e.getType() === uo, po = (e) => {
|
|
|
9257
9257
|
a(e.target.value), t.name = e.target.value;
|
|
9258
9258
|
}
|
|
9259
9259
|
}),
|
|
9260
|
-
(0, $.jsxs)(
|
|
9260
|
+
(0, $.jsxs)($e, {
|
|
9261
9261
|
label: r("named.scope"),
|
|
9262
9262
|
size: "small",
|
|
9263
9263
|
fullWidth: !0,
|
|
@@ -9269,10 +9269,10 @@ var uo = "formula", fo = (e) => e.getType() === uo, po = (e) => {
|
|
|
9269
9269
|
let n = e.target.value === _o ? null : e.target.value;
|
|
9270
9270
|
c(n), t.scope = n;
|
|
9271
9271
|
},
|
|
9272
|
-
children: [(0, $.jsx)(
|
|
9272
|
+
children: [(0, $.jsx)(tt, {
|
|
9273
9273
|
value: _o,
|
|
9274
9274
|
children: r("named.scopeWorkbook")
|
|
9275
|
-
}), m.map((e) => (0, $.jsx)(
|
|
9275
|
+
}), m.map((e) => (0, $.jsx)(tt, {
|
|
9276
9276
|
value: e,
|
|
9277
9277
|
children: e
|
|
9278
9278
|
}, e))]
|
|
@@ -9289,7 +9289,7 @@ var uo = "formula", fo = (e) => e.getType() === uo, po = (e) => {
|
|
|
9289
9289
|
t.expression = e;
|
|
9290
9290
|
}
|
|
9291
9291
|
}),
|
|
9292
|
-
(0, $.jsx)(
|
|
9292
|
+
(0, $.jsx)($e, {
|
|
9293
9293
|
label: r("named.comment"),
|
|
9294
9294
|
size: "small",
|
|
9295
9295
|
fullWidth: !0,
|
|
@@ -9302,8 +9302,8 @@ var uo = "formula", fo = (e) => e.getType() === uo, po = (e) => {
|
|
|
9302
9302
|
u(e.target.value), t.comment = e.target.value;
|
|
9303
9303
|
}
|
|
9304
9304
|
}),
|
|
9305
|
-
(0, $.jsx)(
|
|
9306
|
-
control: (0, $.jsx)(
|
|
9305
|
+
(0, $.jsx)(Qe, {
|
|
9306
|
+
control: (0, $.jsx)(Ze, {
|
|
9307
9307
|
size: "small",
|
|
9308
9308
|
disabled: p,
|
|
9309
9309
|
checked: d,
|
|
@@ -9399,13 +9399,13 @@ var yo = ({ item: e }) => {
|
|
|
9399
9399
|
workbook: t
|
|
9400
9400
|
})
|
|
9401
9401
|
}))(a), [a]),
|
|
9402
|
-
headerActions: (0, Q.useMemo)(() => (0, $.jsx)(
|
|
9402
|
+
headerActions: (0, Q.useMemo)(() => (0, $.jsx)(Qe, {
|
|
9403
9403
|
sx: {
|
|
9404
9404
|
flex: "0 0 auto",
|
|
9405
9405
|
marginRight: 0,
|
|
9406
9406
|
whiteSpace: "nowrap"
|
|
9407
9407
|
},
|
|
9408
|
-
control: (0, $.jsx)(
|
|
9408
|
+
control: (0, $.jsx)(Ze, {
|
|
9409
9409
|
size: "small",
|
|
9410
9410
|
checked: a,
|
|
9411
9411
|
onChange: (e) => o(e.target.checked)
|
|
@@ -9427,7 +9427,7 @@ var xo = (e) => {
|
|
|
9427
9427
|
...a
|
|
9428
9428
|
});
|
|
9429
9429
|
}, So = () => {
|
|
9430
|
-
|
|
9430
|
+
Ut.registerTaskPane({
|
|
9431
9431
|
key: "managedNames",
|
|
9432
9432
|
getTitle: () => "Names",
|
|
9433
9433
|
getIcon: () => "NamedManager",
|
|
@@ -9438,7 +9438,7 @@ var xo = (e) => {
|
|
|
9438
9438
|
...e
|
|
9439
9439
|
}), wo = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.2)))", To = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
9440
9440
|
let { className: n, style: r, workbook: i, editable: a, showNamedCollectionEditor: o = !0, propsNamedCollectionEditor: s, renderNamedCollectionEditor: c = Co, disabled: l, ...d } = e, p = i, [m, h] = (0, Q.useState)(p.getSelectedSheet()), [g, _] = (0, Q.useState)(m?.getSelectedCell().getCoords()), [v, x] = (0, Q.useState)(() => !!m && !m.getSelectedCell().isEditAllowed()), S = p.getProtection().isReadOnly(), C = l || v || S, w = P(["insertFunctionDialog"])[0];
|
|
9441
|
-
|
|
9441
|
+
Et(p, {
|
|
9442
9442
|
onSheetsChange: (e) => {
|
|
9443
9443
|
let t = e.getSelectedSheet();
|
|
9444
9444
|
t && (_(t.getSelectedCell().getCoords()), h(t));
|
|
@@ -9453,10 +9453,10 @@ var xo = (e) => {
|
|
|
9453
9453
|
}
|
|
9454
9454
|
});
|
|
9455
9455
|
let E = (0, Q.useMemo)(() => ({ fontSize: 11 }), []);
|
|
9456
|
-
|
|
9456
|
+
Et(m.getSelection(), { onChange: () => {
|
|
9457
9457
|
let e = m.getSelectedCell();
|
|
9458
9458
|
x(!e.isEditAllowed()), _(e.getCoords());
|
|
9459
|
-
} }),
|
|
9459
|
+
} }), Et(m, { onProtectionChange() {
|
|
9460
9460
|
x(!m.getSelectedCell().isEditAllowed());
|
|
9461
9461
|
} });
|
|
9462
9462
|
let D = b(), [O, A] = (0, Q.useState)(20), [j, M] = (0, Q.useState)(5), [N, F] = (0, Q.useState)(1), ne = B((e, { size: t }) => {
|
|
@@ -9470,7 +9470,7 @@ var xo = (e) => {
|
|
|
9470
9470
|
a?.cancel();
|
|
9471
9471
|
}, [a]), V = B(() => {
|
|
9472
9472
|
a?.commit();
|
|
9473
|
-
}, [a]), H = (0, Q.useMemo)(() =>
|
|
9473
|
+
}, [a]), H = (0, Q.useMemo)(() => it({
|
|
9474
9474
|
selection: m.getSelection(),
|
|
9475
9475
|
fillNone: !0
|
|
9476
9476
|
}), [m]), ie = (0, Q.useMemo)(() => a ? {
|
|
@@ -9486,9 +9486,9 @@ var xo = (e) => {
|
|
|
9486
9486
|
key: "formula:editor",
|
|
9487
9487
|
name: "editor"
|
|
9488
9488
|
},
|
|
9489
|
-
contributor: { dynamic:
|
|
9489
|
+
contributor: { dynamic: nt },
|
|
9490
9490
|
data: ie
|
|
9491
|
-
} : null, [ie]), oe = (0, Q.useMemo)(() => L ? null :
|
|
9491
|
+
} : null, [ie]), oe = (0, Q.useMemo)(() => L ? null : gt(m.getRange(g).getCell()), [
|
|
9492
9492
|
m,
|
|
9493
9493
|
g,
|
|
9494
9494
|
L
|
|
@@ -9499,7 +9499,7 @@ var xo = (e) => {
|
|
|
9499
9499
|
flexDirection: "row",
|
|
9500
9500
|
gap: 4
|
|
9501
9501
|
},
|
|
9502
|
-
children: (0, $.jsx)(
|
|
9502
|
+
children: (0, $.jsx)(Dt, {
|
|
9503
9503
|
editable: a,
|
|
9504
9504
|
readOnly: C,
|
|
9505
9505
|
editorId: "formula-bar",
|
|
@@ -9512,11 +9512,11 @@ var xo = (e) => {
|
|
|
9512
9512
|
weight: null
|
|
9513
9513
|
},
|
|
9514
9514
|
alignment: {
|
|
9515
|
-
horizontal:
|
|
9516
|
-
vertical:
|
|
9517
|
-
overflow:
|
|
9515
|
+
horizontal: pn.HorizontalAlignment.Left,
|
|
9516
|
+
vertical: pn.VerticalAlignment.Top,
|
|
9517
|
+
overflow: pn.Overflow.Visible
|
|
9518
9518
|
},
|
|
9519
|
-
fill: { type:
|
|
9519
|
+
fill: { type: mn.Type.None }
|
|
9520
9520
|
} }) : null,
|
|
9521
9521
|
renderEditor: (e) => (0, $.jsx)(H, {
|
|
9522
9522
|
...e,
|
|
@@ -9557,11 +9557,11 @@ var xo = (e) => {
|
|
|
9557
9557
|
userSelect: "none",
|
|
9558
9558
|
flexGrow: 0,
|
|
9559
9559
|
backgroundColor: "var(--sxl-color-input, var(--sxl-color-base-100))",
|
|
9560
|
-
backgroundImage:
|
|
9560
|
+
backgroundImage: _e,
|
|
9561
9561
|
border: (e) => `solid ${C ? e.palette.action.disabled : wo} 1px`
|
|
9562
9562
|
},
|
|
9563
9563
|
children: [
|
|
9564
|
-
(0, $.jsx)(
|
|
9564
|
+
(0, $.jsx)(lt, {
|
|
9565
9565
|
sx: {
|
|
9566
9566
|
border: "none !important",
|
|
9567
9567
|
"&.Mui-focusVisible": { border: "none" },
|
|
@@ -9582,7 +9582,7 @@ var xo = (e) => {
|
|
|
9582
9582
|
},
|
|
9583
9583
|
onClick: z
|
|
9584
9584
|
}),
|
|
9585
|
-
(0, $.jsx)(
|
|
9585
|
+
(0, $.jsx)(lt, {
|
|
9586
9586
|
sx: {
|
|
9587
9587
|
border: "none !important",
|
|
9588
9588
|
"&.Mui-focusVisible": { border: "none" },
|
|
@@ -9603,7 +9603,7 @@ var xo = (e) => {
|
|
|
9603
9603
|
},
|
|
9604
9604
|
onClick: V
|
|
9605
9605
|
}),
|
|
9606
|
-
(0, $.jsx)(
|
|
9606
|
+
(0, $.jsx)(lt, {
|
|
9607
9607
|
sx: {
|
|
9608
9608
|
border: "none !important",
|
|
9609
9609
|
"&.Mui-focusVisible": { border: "none" },
|
|
@@ -9647,7 +9647,7 @@ var xo = (e) => {
|
|
|
9647
9647
|
flex: "1 1 100%",
|
|
9648
9648
|
position: "relative",
|
|
9649
9649
|
fontFamily: (e) => e.typography.fontFamily,
|
|
9650
|
-
fontSize: 11 *
|
|
9650
|
+
fontSize: 11 * un.getDeviceScale(),
|
|
9651
9651
|
alignItems: "stretch",
|
|
9652
9652
|
paddingTop: "2px",
|
|
9653
9653
|
paddingBottom: "2px",
|
|
@@ -9655,7 +9655,7 @@ var xo = (e) => {
|
|
|
9655
9655
|
boxShadow: "none",
|
|
9656
9656
|
borderRadius: (e) => `${e.shape.borderRadius}px`,
|
|
9657
9657
|
backgroundColor: "var(--sxl-color-input, var(--sxl-color-base-100))",
|
|
9658
|
-
backgroundImage:
|
|
9658
|
+
backgroundImage: _e,
|
|
9659
9659
|
border: (e) => `solid ${C ? e.palette.action.disabled : wo} 1px`,
|
|
9660
9660
|
"& textarea": { color: (e) => C ? `${e.palette.text.disabled} !important` : e.palette.text.primary },
|
|
9661
9661
|
"& .react-resizable-handle": {
|
|
@@ -9707,7 +9707,7 @@ var xo = (e) => {
|
|
|
9707
9707
|
children: se ?? void 0
|
|
9708
9708
|
})
|
|
9709
9709
|
}),
|
|
9710
|
-
(0, $.jsx)(
|
|
9710
|
+
(0, $.jsx)(lt, {
|
|
9711
9711
|
sx: {
|
|
9712
9712
|
padding: "0px",
|
|
9713
9713
|
margin: "0px 0px",
|
|
@@ -9782,7 +9782,7 @@ var xo = (e) => {
|
|
|
9782
9782
|
children: (0, $.jsx)("div", {
|
|
9783
9783
|
...d,
|
|
9784
9784
|
ref: he,
|
|
9785
|
-
className:
|
|
9785
|
+
className: J(n),
|
|
9786
9786
|
style: {
|
|
9787
9787
|
display: "flex",
|
|
9788
9788
|
flexDirection: "row",
|
|
@@ -9818,7 +9818,7 @@ var Eo = (0, Q.forwardRef)((e, t) => {
|
|
|
9818
9818
|
}), s;
|
|
9819
9819
|
})(n, l), [n, l]), [d, p] = (0, Q.useState)(() => ((e, t) => {
|
|
9820
9820
|
let n = () => new Set(t.map((e, t) => t)), r = e.getFilter()?.getCondition();
|
|
9821
|
-
if (!r || r.getOperator()?.getName() !==
|
|
9821
|
+
if (!r || r.getOperator()?.getName() !== ln.BuiltInOperatorNames.InSet) return n();
|
|
9822
9822
|
let i = r.getParam();
|
|
9823
9823
|
if (!Array.isArray(i.items)) return n();
|
|
9824
9824
|
let a = new Set(i.items), o = /* @__PURE__ */ new Set();
|
|
@@ -9837,7 +9837,7 @@ var Eo = (0, Q.forwardRef)((e, t) => {
|
|
|
9837
9837
|
for (let n of e) t ? r.add(g[n]) : r.delete(g[n]);
|
|
9838
9838
|
return r;
|
|
9839
9839
|
});
|
|
9840
|
-
}, [g]), v = (0, Q.useCallback)((e, t) => (0, $.jsx)(
|
|
9840
|
+
}, [g]), v = (0, Q.useCallback)((e, t) => (0, $.jsx)(Ze, {
|
|
9841
9841
|
checked: e,
|
|
9842
9842
|
indeterminate: t,
|
|
9843
9843
|
size: "small",
|
|
@@ -9850,7 +9850,7 @@ var Eo = (0, Q.forwardRef)((e, t) => {
|
|
|
9850
9850
|
});
|
|
9851
9851
|
let i = n.getFilter();
|
|
9852
9852
|
i && (i.setCondition({
|
|
9853
|
-
operator:
|
|
9853
|
+
operator: ln.BuiltInOperatorNames.InSet,
|
|
9854
9854
|
param: {
|
|
9855
9855
|
items: e,
|
|
9856
9856
|
blank: t
|
|
@@ -9864,7 +9864,7 @@ var Eo = (0, Q.forwardRef)((e, t) => {
|
|
|
9864
9864
|
]), x = g.reduce((e, t) => e + +!!d.has(t), 0);
|
|
9865
9865
|
return (0, $.jsxs)(R, {
|
|
9866
9866
|
ref: c,
|
|
9867
|
-
className:
|
|
9867
|
+
className: J("filter-list", i),
|
|
9868
9868
|
sx: {
|
|
9869
9869
|
display: "flex",
|
|
9870
9870
|
flexDirection: "column",
|
|
@@ -9876,7 +9876,7 @@ var Eo = (0, Q.forwardRef)((e, t) => {
|
|
|
9876
9876
|
style: a,
|
|
9877
9877
|
...s,
|
|
9878
9878
|
children: [
|
|
9879
|
-
(0, $.jsx)(
|
|
9879
|
+
(0, $.jsx)($e, {
|
|
9880
9880
|
size: "small",
|
|
9881
9881
|
placeholder: l("filter.search"),
|
|
9882
9882
|
value: m,
|
|
@@ -9884,14 +9884,14 @@ var Eo = (0, Q.forwardRef)((e, t) => {
|
|
|
9884
9884
|
slotProps: { input: {} },
|
|
9885
9885
|
autoFocus: !0
|
|
9886
9886
|
}),
|
|
9887
|
-
(0, $.jsx)(
|
|
9887
|
+
(0, $.jsx)(Wt, {
|
|
9888
9888
|
itemCount: g.length,
|
|
9889
9889
|
itemHeight: 24,
|
|
9890
9890
|
isChecked: (e) => d.has(g[e]),
|
|
9891
9891
|
onCheckedChange: _,
|
|
9892
9892
|
renderValue: (e) => u[g[e]].label,
|
|
9893
9893
|
renderCheckbox: v,
|
|
9894
|
-
renderDivider: () => (0, $.jsx)(
|
|
9894
|
+
renderDivider: () => (0, $.jsx)(q, {
|
|
9895
9895
|
orientation: "horizontal",
|
|
9896
9896
|
sx: { marginTop: "0px !important" }
|
|
9897
9897
|
}),
|
|
@@ -9945,29 +9945,29 @@ var Do = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
9945
9945
|
...c,
|
|
9946
9946
|
variant: x.Menuitem
|
|
9947
9947
|
}), [s, c]), u = !(!n || (n.getSort()?.getCriteria() ?? null) === null && (n.getFilter()?.getCondition() ?? null) === null), d = (0, $.jsxs)($.Fragment, { children: [
|
|
9948
|
-
(0, $.jsx)(
|
|
9948
|
+
(0, $.jsx)(K, {
|
|
9949
9949
|
...l,
|
|
9950
9950
|
commandState: n?.getSort(),
|
|
9951
9951
|
commandKey: "sortAscending"
|
|
9952
9952
|
}),
|
|
9953
|
-
(0, $.jsx)(
|
|
9953
|
+
(0, $.jsx)(K, {
|
|
9954
9954
|
...l,
|
|
9955
9955
|
commandState: n?.getSort(),
|
|
9956
9956
|
commandKey: "sortDescending"
|
|
9957
9957
|
}),
|
|
9958
|
-
(0, $.jsx)(
|
|
9958
|
+
(0, $.jsx)(K, {
|
|
9959
9959
|
...l,
|
|
9960
9960
|
commandState: n?.getSort(),
|
|
9961
9961
|
commandKey: "sortCustom"
|
|
9962
9962
|
}),
|
|
9963
|
-
(0, $.jsx)(
|
|
9964
|
-
(0, $.jsx)(
|
|
9963
|
+
(0, $.jsx)(q, { orientation: "horizontal" }),
|
|
9964
|
+
(0, $.jsx)(K, {
|
|
9965
9965
|
...l,
|
|
9966
9966
|
commandState: n,
|
|
9967
9967
|
disabled: !u,
|
|
9968
9968
|
commandKey: "tableFilterClear"
|
|
9969
9969
|
}),
|
|
9970
|
-
n ? (0, $.jsxs)($.Fragment, { children: [(0, $.jsx)(
|
|
9970
|
+
n ? (0, $.jsxs)($.Fragment, { children: [(0, $.jsx)(q, { orientation: "horizontal" }), (0, $.jsx)(Eo, {
|
|
9971
9971
|
column: n,
|
|
9972
9972
|
floatReference: a
|
|
9973
9973
|
})] }) : null,
|
|
@@ -9989,10 +9989,10 @@ var Do = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
9989
9989
|
Do.displayName = "ColumnMenu";
|
|
9990
9990
|
var Oo = (e) => {
|
|
9991
9991
|
let { model: t, entryKey: n, frame: r, ref: i, ...a } = e, [, o] = (0, Q.useReducer)((e) => e + 1, 0);
|
|
9992
|
-
|
|
9992
|
+
Gt(t, "onSelectedSheetChange");
|
|
9993
9993
|
let s = t.getSelectedSheet();
|
|
9994
|
-
|
|
9995
|
-
let c = s.getSelectedCell().getStyle().getNumberFormat(), u = typeof c == "number" ?
|
|
9994
|
+
Et(s, { onSelectionChange: () => o() });
|
|
9995
|
+
let c = s.getSelectedCell().getStyle().getNumberFormat(), u = typeof c == "number" ? X.resolve(c) : c ?? "General";
|
|
9996
9996
|
return (0, $.jsx)(me, {
|
|
9997
9997
|
square: !0,
|
|
9998
9998
|
ref: i,
|
|
@@ -10006,7 +10006,7 @@ var Oo = (e) => {
|
|
|
10006
10006
|
padding: (e) => e.spacing(1.5)
|
|
10007
10007
|
},
|
|
10008
10008
|
...a,
|
|
10009
|
-
children: (0, $.jsx)(
|
|
10009
|
+
children: (0, $.jsx)(nn, {
|
|
10010
10010
|
value: u,
|
|
10011
10011
|
onChange: (e) => {
|
|
10012
10012
|
s.doBatch(() => s.getSelectedRanges().getStyle().update({ numberFormat: e }, {
|
|
@@ -10018,7 +10018,7 @@ var Oo = (e) => {
|
|
|
10018
10018
|
})
|
|
10019
10019
|
});
|
|
10020
10020
|
}, ko = () => {
|
|
10021
|
-
|
|
10021
|
+
Ut.registerTaskPane({
|
|
10022
10022
|
key: "numberFormatDetails",
|
|
10023
10023
|
getTitle: () => "Number Format",
|
|
10024
10024
|
getIcon: () => "NumberFormat",
|
|
@@ -10026,11 +10026,11 @@ var Oo = (e) => {
|
|
|
10026
10026
|
}, !0);
|
|
10027
10027
|
}, Ao = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
10028
10028
|
let { workbook: n, index: r, groupKey: i = "sheet", disabled: a, floatReference: o, className: s, tabStripRef: c, ...l } = e, [u, d] = (0, Q.useState)(n?.getProtection());
|
|
10029
|
-
|
|
10029
|
+
Et(n, { onProtectionChange: (e) => {
|
|
10030
10030
|
d(e?.getProtection());
|
|
10031
10031
|
} });
|
|
10032
10032
|
let f = S(), p = { disabled: a || r === void 0 }, m = [], h = f.resolveMembers("sheetTabMenu") ?? [];
|
|
10033
|
-
for (let e = 0; e < h.length; e++) m.push(h[e]), h[e] === "deleteSheet" && m.push({ render: () => (0, $.jsxs)(
|
|
10033
|
+
for (let e = 0; e < h.length; e++) m.push(h[e]), h[e] === "deleteSheet" && m.push({ render: () => (0, $.jsxs)(pt, {
|
|
10034
10034
|
onMouseDown: (e) => {
|
|
10035
10035
|
e.button === 0 && e.preventDefault();
|
|
10036
10036
|
},
|
|
@@ -10042,7 +10042,7 @@ var Oo = (e) => {
|
|
|
10042
10042
|
disabled: a || !u.isStructureAllowed(),
|
|
10043
10043
|
children: ["Rename", i === "sheet" ? "" : " Sheet"]
|
|
10044
10044
|
}) });
|
|
10045
|
-
let g =
|
|
10045
|
+
let g = zt(m, {
|
|
10046
10046
|
variant: x.Menuitem,
|
|
10047
10047
|
dividerOrientation: "horizontal",
|
|
10048
10048
|
groupKey: i,
|
|
@@ -10053,7 +10053,7 @@ var Oo = (e) => {
|
|
|
10053
10053
|
});
|
|
10054
10054
|
return (0, $.jsx)(R, {
|
|
10055
10055
|
ref: t,
|
|
10056
|
-
className:
|
|
10056
|
+
className: J("menu", s),
|
|
10057
10057
|
...l,
|
|
10058
10058
|
children: g
|
|
10059
10059
|
});
|
|
@@ -10061,7 +10061,7 @@ var Oo = (e) => {
|
|
|
10061
10061
|
Ao.displayName = "SheetTabMenu";
|
|
10062
10062
|
var jo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
10063
10063
|
let { workbook: n, floatReference: r, closeFloatAll: i, className: a, ...o } = e, [s, c] = (0, Q.useState)(n?.getSheets().getItems()), [l, d] = (0, Q.useState)(n?.getProtection());
|
|
10064
|
-
|
|
10064
|
+
Et(n, {
|
|
10065
10065
|
onSheetsChange: (e) => {
|
|
10066
10066
|
c(e.getSheets().getItems());
|
|
10067
10067
|
},
|
|
@@ -10070,10 +10070,10 @@ var jo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
10070
10070
|
}
|
|
10071
10071
|
});
|
|
10072
10072
|
let f = (0, Q.useMemo)(() => {
|
|
10073
|
-
let e = [], t = n.getSheets().getItems({ visibility:
|
|
10073
|
+
let e = [], t = n.getSheets().getItems({ visibility: dn.Visibility.Hidden }), i = n.getSelectedSheet();
|
|
10074
10074
|
for (let n = 0; n < t.length; n++) {
|
|
10075
10075
|
let a = t[n], o = a.getVisibility();
|
|
10076
|
-
if (o ===
|
|
10076
|
+
if (o === dn.Visibility.VeryHidden) continue;
|
|
10077
10077
|
let s = i === a, c = a.getProtection().isLocked(), d = a.getTabColor(), f = "var(--sxl-color-base-100)", p = null, m = null, h = f;
|
|
10078
10078
|
d && (h = d.toCSS(), s || (m = d.toBlackOrWhite().toCSS()), p = (0, $.jsx)(R, {
|
|
10079
10079
|
sx: {
|
|
@@ -10091,14 +10091,14 @@ var jo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
10091
10091
|
children: (0, $.jsx)(R, { sx: {
|
|
10092
10092
|
flex: "1 1 100%",
|
|
10093
10093
|
boxSizing: "content-box",
|
|
10094
|
-
opacity: s || o ===
|
|
10094
|
+
opacity: s || o === dn.Visibility.Hidden ? "50%" : "100%",
|
|
10095
10095
|
border: (e) => s ? `${f} solid 1.5px` : `${e.palette.divider} solid 1px`,
|
|
10096
10096
|
background: s && d ? `linear-gradient(0deg, ${h} 0%, ${f})` : h,
|
|
10097
10097
|
borderRadius: "4px"
|
|
10098
10098
|
} })
|
|
10099
10099
|
}));
|
|
10100
10100
|
let g = null;
|
|
10101
|
-
c && (g = (0, $.jsx)(u, { iconKey: "Lock" })), o !==
|
|
10101
|
+
c && (g = (0, $.jsx)(u, { iconKey: "Lock" })), o !== dn.Visibility.Visible && (g = (0, $.jsx)(u, {
|
|
10102
10102
|
iconKey: "VisibilityOff",
|
|
10103
10103
|
style: { opacity: l.isStructureAllowed() ? 1 : .7 },
|
|
10104
10104
|
color: "secondary"
|
|
@@ -10114,12 +10114,12 @@ var jo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
10114
10114
|
}
|
|
10115
10115
|
},
|
|
10116
10116
|
children: g
|
|
10117
|
-
}), e.push((0, $.jsx)(
|
|
10118
|
-
disabled: !l.isStructureAllowed() && o ===
|
|
10117
|
+
}), e.push((0, $.jsx)(pt, {
|
|
10118
|
+
disabled: !l.isStructureAllowed() && o === dn.Visibility.Hidden,
|
|
10119
10119
|
sx: {
|
|
10120
10120
|
color: (e) => {
|
|
10121
10121
|
let t = s ? e.palette.primary.main : e.palette.text.secondary;
|
|
10122
|
-
return m && (t = m), o ===
|
|
10122
|
+
return m && (t = m), o === dn.Visibility.Hidden && (t = E(t, e.palette.action.disabledOpacity)), t;
|
|
10123
10123
|
},
|
|
10124
10124
|
borderLeft: (e) => `${s ? e.palette.primary.main : "transparent"} solid 2px`,
|
|
10125
10125
|
paddingLeft: "4px",
|
|
@@ -10128,7 +10128,7 @@ var jo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
10128
10128
|
fontWeight: s ? "700" : "400",
|
|
10129
10129
|
"&:hover": { fontWeight: "700" }
|
|
10130
10130
|
},
|
|
10131
|
-
icon: s ? (0, $.jsx)(
|
|
10131
|
+
icon: s ? (0, $.jsx)(yt, {}) : void 0,
|
|
10132
10132
|
onMouseDown: (e) => e.preventDefault(),
|
|
10133
10133
|
onMouseUp: () => {
|
|
10134
10134
|
Promise.resolve(r.closeAll()).then(() => {
|
|
@@ -10180,7 +10180,7 @@ var jo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
10180
10180
|
]);
|
|
10181
10181
|
return (0, $.jsx)(R, {
|
|
10182
10182
|
ref: t,
|
|
10183
|
-
className:
|
|
10183
|
+
className: J("menu", a),
|
|
10184
10184
|
...o,
|
|
10185
10185
|
children: f
|
|
10186
10186
|
});
|
|
@@ -10188,8 +10188,8 @@ var jo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
10188
10188
|
jo.displayName = "SheetsAllMenu";
|
|
10189
10189
|
var Mo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
10190
10190
|
let { movable: n, disabled: r, floatReference: i, ...a } = e;
|
|
10191
|
-
|
|
10192
|
-
let o = S(), s = { disabled: r }, c =
|
|
10191
|
+
Et(n, { onAnyChange(e) {} });
|
|
10192
|
+
let o = S(), s = { disabled: r }, c = zt(o.resolveMembers("movableContextMenu") ?? [], {
|
|
10193
10193
|
variant: x.Menuitem,
|
|
10194
10194
|
dividerOrientation: "horizontal",
|
|
10195
10195
|
groupKey: "movableContextMenu",
|
|
@@ -10265,10 +10265,10 @@ var No = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
10265
10265
|
}, []), O = (0, Q.useCallback)((e) => (l ?? Ko)({
|
|
10266
10266
|
...e,
|
|
10267
10267
|
...c
|
|
10268
|
-
}), [l, c]), k = (0, $.jsx)(
|
|
10268
|
+
}), [l, c]), k = (0, $.jsx)(Pe, {
|
|
10269
10269
|
disableInteractive: !0,
|
|
10270
10270
|
title: _ ? "" : f("workbookStrip.listAllSheets"),
|
|
10271
|
-
children: (0, $.jsx)(
|
|
10271
|
+
children: (0, $.jsx)(lt, {
|
|
10272
10272
|
sx: {
|
|
10273
10273
|
padding: "0px",
|
|
10274
10274
|
ml: .5,
|
|
@@ -10293,15 +10293,15 @@ var No = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
10293
10293
|
icon: (0, $.jsx)(u, { iconKey: "Menu" })
|
|
10294
10294
|
})
|
|
10295
10295
|
});
|
|
10296
|
-
return (0, $.jsxs)(
|
|
10296
|
+
return (0, $.jsxs)(Mt, {
|
|
10297
10297
|
ref: m,
|
|
10298
10298
|
workbook: n,
|
|
10299
10299
|
disabled: r,
|
|
10300
10300
|
renderSheetTab: O,
|
|
10301
10301
|
onTabContextMenu: D,
|
|
10302
|
-
renderScrollButtonStart:
|
|
10303
|
-
renderScrollButtonEnd:
|
|
10304
|
-
renderScrollButtonEdge:
|
|
10302
|
+
renderScrollButtonStart: Rt,
|
|
10303
|
+
renderScrollButtonEnd: ht,
|
|
10304
|
+
renderScrollButtonEdge: Qt,
|
|
10305
10305
|
...d,
|
|
10306
10306
|
children: [
|
|
10307
10307
|
k,
|
|
@@ -10313,9 +10313,9 @@ var No = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
10313
10313
|
No.displayName = "WorkbookStrip";
|
|
10314
10314
|
var Po = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
10315
10315
|
let { workbook: n, disabled: r, floatReference: i, className: a, ...o } = e, [s, c] = (0, Q.useState)(n.getSelectedSheet()), [l, u] = (0, Q.useState)(s.getSelectedRanges()), [d, f] = (0, Q.useState)(s.getSelectedCell());
|
|
10316
|
-
|
|
10316
|
+
Et(n, { onSheetsChange() {
|
|
10317
10317
|
c(n.getSelectedSheet());
|
|
10318
|
-
} }),
|
|
10318
|
+
} }), Et(s.getSelection(), { onChange() {
|
|
10319
10319
|
u(s.getSelectedRanges()), f(s.getSelectedCell());
|
|
10320
10320
|
} });
|
|
10321
10321
|
let p = S(), m = {
|
|
@@ -10323,18 +10323,18 @@ var Po = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
10323
10323
|
groupKey: "contextMenu"
|
|
10324
10324
|
}, h = l.isEntireRows(), g = l.isEntireColumns(), _ = [];
|
|
10325
10325
|
if (!h && !g) {
|
|
10326
|
-
_.push("-"), _.push(d?.getHyperlink() ? { render: (e) => (0, $.jsx)(
|
|
10326
|
+
_.push("-"), _.push(d?.getHyperlink() ? { render: (e) => (0, $.jsx)(Xt, {
|
|
10327
10327
|
...e,
|
|
10328
10328
|
groupKey: "hyperlinkOptions",
|
|
10329
10329
|
members: ["updateHyperlink", "deleteHyperlink"],
|
|
10330
10330
|
quickCommand: "openHyperlink"
|
|
10331
|
-
}) } : "updateHyperlink"), _.push(d?.getComments() ? { render: (e) => (0, $.jsx)(
|
|
10331
|
+
}) } : "updateHyperlink"), _.push(d?.getComments() ? { render: (e) => (0, $.jsx)(Xt, {
|
|
10332
10332
|
...e,
|
|
10333
10333
|
members: ["deleteComments"],
|
|
10334
10334
|
quickCommand: "updateComments"
|
|
10335
10335
|
}) } : "updateComments");
|
|
10336
10336
|
let e = d?.getTable();
|
|
10337
|
-
_.push(e ? { render: (t) => (0, $.jsx)(
|
|
10337
|
+
_.push(e ? { render: (t) => (0, $.jsx)(Xt, {
|
|
10338
10338
|
...t,
|
|
10339
10339
|
groupKey: "tableOptions",
|
|
10340
10340
|
members: ["convertTableToRange", "deleteTable"],
|
|
@@ -10344,7 +10344,7 @@ var Po = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
10344
10344
|
}
|
|
10345
10345
|
let v = [];
|
|
10346
10346
|
h && v.push("-", "hideColumns", "unhideColumns"), g && v.push("-", "hideRows", "unhideRows"), (h || g) && v.push("-"), h && v.push("autoFitColumns", "resizeColumns"), g && v.push("autoFitRows", "resizeRows");
|
|
10347
|
-
let y =
|
|
10347
|
+
let y = zt([
|
|
10348
10348
|
...p.resolveMembers("contextMenu") ?? [],
|
|
10349
10349
|
..._,
|
|
10350
10350
|
...v,
|
|
@@ -10362,17 +10362,17 @@ var Po = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
|
10362
10362
|
});
|
|
10363
10363
|
return (0, $.jsx)(R, {
|
|
10364
10364
|
ref: t,
|
|
10365
|
-
className:
|
|
10365
|
+
className: J("menu", a),
|
|
10366
10366
|
...o,
|
|
10367
10367
|
children: y
|
|
10368
10368
|
});
|
|
10369
10369
|
}));
|
|
10370
10370
|
Po.displayName = "WorkbookContextMenu";
|
|
10371
|
-
var Fo = (e) => (0, $.jsx)(Mo, { ...e }), Io = (e) => (0, $.jsx)(Po, { ...e }), Lo = (e) => (0, $.jsx)(Do, { ...e }), Ro = (e) => (0, $.jsx)(To, { ...e }), zo = (e) => (0, $.jsx)(
|
|
10371
|
+
var Fo = (e) => (0, $.jsx)(Mo, { ...e }), Io = (e) => (0, $.jsx)(Po, { ...e }), Lo = (e) => (0, $.jsx)(Do, { ...e }), Ro = (e) => (0, $.jsx)(To, { ...e }), zo = (e) => (0, $.jsx)(Zt, {
|
|
10372
10372
|
transitionDelay: "160ms",
|
|
10373
10373
|
transparentBackground: !0,
|
|
10374
10374
|
...e
|
|
10375
|
-
}), Bo = (e) => (0, $.jsx)(
|
|
10375
|
+
}), Bo = (e) => (0, $.jsx)(Ft, {
|
|
10376
10376
|
hideStackTrace: !0,
|
|
10377
10377
|
...e
|
|
10378
10378
|
}), Vo = (e) => {
|
|
@@ -10393,10 +10393,10 @@ var Fo = (e) => (0, $.jsx)(Mo, { ...e }), Io = (e) => (0, $.jsx)(Po, { ...e }),
|
|
|
10393
10393
|
...a,
|
|
10394
10394
|
children: r
|
|
10395
10395
|
});
|
|
10396
|
-
}, Ko = (e) => (0, $.jsx)(
|
|
10396
|
+
}, Ko = (e) => (0, $.jsx)(bt, {
|
|
10397
10397
|
slotSurface: Go,
|
|
10398
10398
|
...e
|
|
10399
|
-
}), qo = (0, Q.memo)((0, Q.forwardRef)((e, t) => (0, $.jsx)(
|
|
10399
|
+
}), qo = (0, Q.memo)((0, Q.forwardRef)((e, t) => (0, $.jsx)(dt, { children: (0, $.jsx)(jt, {
|
|
10400
10400
|
ref: t,
|
|
10401
10401
|
renderTabs: Ho,
|
|
10402
10402
|
renderContextMenu: Io,
|
|
@@ -10451,13 +10451,13 @@ var Jo = (e = !1, t = !1) => t ? null : {
|
|
|
10451
10451
|
transition: j ? void 0 : "opacity .25s ease-in",
|
|
10452
10452
|
"& .tooltip-wrapper": { maxWidth: "100%" }
|
|
10453
10453
|
},
|
|
10454
|
-
ref:
|
|
10454
|
+
ref: tn([
|
|
10455
10455
|
F,
|
|
10456
10456
|
k,
|
|
10457
10457
|
t
|
|
10458
10458
|
]),
|
|
10459
10459
|
...m,
|
|
10460
|
-
children: [d ? (0, $.jsx)(
|
|
10460
|
+
children: [d ? (0, $.jsx)(Le, {
|
|
10461
10461
|
label: g("workbook.encrypted"),
|
|
10462
10462
|
children: (0, $.jsx)(R, {
|
|
10463
10463
|
component: "span",
|
|
@@ -10474,10 +10474,10 @@ var Jo = (e = !1, t = !1) => t ? null : {
|
|
|
10474
10474
|
},
|
|
10475
10475
|
children: (0, $.jsx)(u, { iconKey: "Lock" })
|
|
10476
10476
|
})
|
|
10477
|
-
}) : null, (0, $.jsx)(
|
|
10477
|
+
}) : null, (0, $.jsx)(Le, {
|
|
10478
10478
|
label: P.current?.requestReason ?? g("documentTitle.label"),
|
|
10479
10479
|
children: (0, $.jsxs)(R, {
|
|
10480
|
-
className:
|
|
10480
|
+
className: J({ "Mui-focusVisible": v }),
|
|
10481
10481
|
sx: {
|
|
10482
10482
|
visibility: O === 0 ? "hidden" : "visible",
|
|
10483
10483
|
display: "block",
|
|
@@ -10516,7 +10516,7 @@ var Jo = (e = !1, t = !1) => t ? null : {
|
|
|
10516
10516
|
},
|
|
10517
10517
|
children: "●"
|
|
10518
10518
|
}) : null]
|
|
10519
|
-
}) : (0, $.jsx)(
|
|
10519
|
+
}) : (0, $.jsx)(We, {
|
|
10520
10520
|
sx: {
|
|
10521
10521
|
width: `${Math.min(O + 3, Math.max(A, F.current?.getBoundingClientRect()?.width))}px`,
|
|
10522
10522
|
overflow: "hidden",
|
|
@@ -10582,8 +10582,8 @@ var Jo = (e = !1, t = !1) => t ? null : {
|
|
|
10582
10582
|
Yo.displayName = "DocumentTitle";
|
|
10583
10583
|
var Xo = () => (0, $.jsx)($.Fragment, {}), Zo = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
10584
10584
|
let { sx: n, style: r, className: i, licenseKey: a, renderDocumentLoading: o = zo, propsDocumentLoading: s, onWorkbookLoad: c, onDocumentError: l, ...u } = e;
|
|
10585
|
-
a &&
|
|
10586
|
-
let [d] = D(
|
|
10585
|
+
a && hn.setLicenseKey(a);
|
|
10586
|
+
let [d] = D(Yt.Mode, void 0), { themeMode: f } = L({ mode: d ?? void 0 }), p = f === "dark", [m, h] = (0, Q.useState)(!1), g = (0, Q.useMemo)(() => !o || m ? null : (0, $.jsx)(me, {
|
|
10587
10587
|
sx: n,
|
|
10588
10588
|
style: {
|
|
10589
10589
|
backgroundColor: `var(--sxl-color-base-100, ${p ? "#121212" : "#fff"})`,
|
|
@@ -10608,7 +10608,7 @@ var Xo = () => (0, $.jsx)($.Fragment, {}), Zo = (0, Q.memo)((0, Q.forwardRef)((e
|
|
|
10608
10608
|
]);
|
|
10609
10609
|
return (0, $.jsxs)($.Fragment, { children: [(0, $.jsx)(Q.Suspense, {
|
|
10610
10610
|
fallback: null,
|
|
10611
|
-
children: (0, $.jsx)((0, Q.useMemo)(() => (0, Q.lazy)(async () => await import("./
|
|
10611
|
+
children: (0, $.jsx)((0, Q.useMemo)(() => (0, Q.lazy)(async () => await import("./B6mzT3jt8PsKgBWH2.mjs")), []), {
|
|
10612
10612
|
...u,
|
|
10613
10613
|
className: i,
|
|
10614
10614
|
onWorkbookLoad: (e) => (requestAnimationFrame(() => requestAnimationFrame(() => h(!0))), c?.(e)),
|
|
@@ -10623,7 +10623,7 @@ var Xo = () => (0, $.jsx)($.Fragment, {}), Zo = (0, Q.memo)((0, Q.forwardRef)((e
|
|
|
10623
10623
|
Zo.displayName = "Studio";
|
|
10624
10624
|
var Qo = (e = {}) => {
|
|
10625
10625
|
let { source: t, documentTitle: n, confirmOnClose: r, keyboardGuard: i } = e, a = Ri(), [o, s] = (0, Q.useState)(null), [c, l] = (0, Q.useState)(!1);
|
|
10626
|
-
|
|
10626
|
+
at(Jt(o), c, {
|
|
10627
10627
|
documentTitle: n,
|
|
10628
10628
|
confirmOnClose: r,
|
|
10629
10629
|
keyboardGuard: i
|
|
@@ -10665,7 +10665,7 @@ var Qo = (e = {}) => {
|
|
|
10665
10665
|
ColorPanelType: () => qr,
|
|
10666
10666
|
ColorPopupButton: () => ri,
|
|
10667
10667
|
ColumnMenu: () => Do,
|
|
10668
|
-
DefaultTaskPaneRegistry: () =>
|
|
10668
|
+
DefaultTaskPaneRegistry: () => Ut,
|
|
10669
10669
|
DefaultWorkbookToolbars: () => Ya,
|
|
10670
10670
|
DocThemeCommandButton: () => ia,
|
|
10671
10671
|
DocumentTitle: () => Yo,
|
|
@@ -10684,7 +10684,7 @@ var Qo = (e = {}) => {
|
|
|
10684
10684
|
InsertFunctionOption: () => Fn,
|
|
10685
10685
|
InsertFunctionSumCommandPopupButton: () => Ja,
|
|
10686
10686
|
InsertFunctionWizard: () => Pn,
|
|
10687
|
-
LicenseManager: () =>
|
|
10687
|
+
LicenseManager: () => hn,
|
|
10688
10688
|
NAMED_TYPE_FORMULA: () => uo,
|
|
10689
10689
|
NamedCollectionEditor: () => lo,
|
|
10690
10690
|
NamedDetailsPanel: () => bo,
|
|
@@ -10692,7 +10692,7 @@ var Qo = (e = {}) => {
|
|
|
10692
10692
|
NamedEditorPanel: () => vo,
|
|
10693
10693
|
NamedPlugin: () => So,
|
|
10694
10694
|
NumberFormatCommandButton: () => _i,
|
|
10695
|
-
NumberFormatPanel: () =>
|
|
10695
|
+
NumberFormatPanel: () => nn,
|
|
10696
10696
|
NumberFormatTaskPane: () => Oo,
|
|
10697
10697
|
NumberStats: () => no,
|
|
10698
10698
|
PasteCommandButton: () => wi,
|
|
@@ -10720,9 +10720,9 @@ var Qo = (e = {}) => {
|
|
|
10720
10720
|
WalkingCopyCommandButton: () => sa,
|
|
10721
10721
|
WorkbookContextMenu: () => Po,
|
|
10722
10722
|
WorkbookElement: () => qo,
|
|
10723
|
-
WorkbookIO: () =>
|
|
10723
|
+
WorkbookIO: () => mt,
|
|
10724
10724
|
WorkbookProtectionDialog: () => rn,
|
|
10725
|
-
WorkbookProtectionPanel: () =>
|
|
10725
|
+
WorkbookProtectionPanel: () => an,
|
|
10726
10726
|
WorkbookStrip: () => No,
|
|
10727
10727
|
WorkbookToolbars: () => eo,
|
|
10728
10728
|
createNamedDraft: () => ho,
|
|
@@ -10739,10 +10739,10 @@ var Qo = (e = {}) => {
|
|
|
10739
10739
|
renderWorkbookSheetTab: () => Ko,
|
|
10740
10740
|
renderWorkbookToolbars: () => Xa,
|
|
10741
10741
|
saveNamedDraft: () => go,
|
|
10742
|
-
setPrintExamplesOnLoad: () =>
|
|
10742
|
+
setPrintExamplesOnLoad: () => Kt,
|
|
10743
10743
|
tokensToMuiOptions: () => ea,
|
|
10744
|
-
useModelListener: () =>
|
|
10745
|
-
useRangeListener: () =>
|
|
10744
|
+
useModelListener: () => Et,
|
|
10745
|
+
useRangeListener: () => Tt,
|
|
10746
10746
|
useStudioApp: () => Qo
|
|
10747
10747
|
});
|
|
10748
10748
|
(function() {
|
|
@@ -10758,7 +10758,7 @@ var Qo = (e = {}) => {
|
|
|
10758
10758
|
var es = (e) => {
|
|
10759
10759
|
e.button === 0 && e.preventDefault();
|
|
10760
10760
|
}, ts = (0, Q.memo)((0, Q.forwardRef)((e, t) => {
|
|
10761
|
-
let { disabled: n, className: r, sx: i, defaultInput: a, value: o, formName: s, formOptions: c, onChangeInput: l, onChangeText: d, onDone: f, changeOn: p, onValidate: m, apiRef: h, label: g, hideAdornment: _, onKeyDown: v, onFocus: y, ...x } = e, S = b(), C = g ?? S("namedInput.label"), w = jn(), T = s && w ? w.register(s, c) : null, E =
|
|
10761
|
+
let { disabled: n, className: r, sx: i, defaultInput: a, value: o, formName: s, formOptions: c, onChangeInput: l, onChangeText: d, onDone: f, changeOn: p, onValidate: m, apiRef: h, label: g, hideAdornment: _, onKeyDown: v, onFocus: y, ...x } = e, S = b(), C = g ?? S("namedInput.label"), w = jn(), T = s && w ? w.register(s, c) : null, E = Nt({
|
|
10762
10762
|
value: o ?? "",
|
|
10763
10763
|
onChange: l,
|
|
10764
10764
|
onChangeText: d,
|
|
@@ -10778,7 +10778,7 @@ var es = (e) => {
|
|
|
10778
10778
|
e && (E.error ? e.setError(s, { message: S(E.error) }) : e.clearErrors(s));
|
|
10779
10779
|
}, [E.error, s]);
|
|
10780
10780
|
let k = !!f, A = (0, Q.useMemo)(() => {
|
|
10781
|
-
if (!_ && k) return (0, $.jsxs)(
|
|
10781
|
+
if (!_ && k) return (0, $.jsxs)(en, {
|
|
10782
10782
|
tabIndex: -1,
|
|
10783
10783
|
onMouseDown: es,
|
|
10784
10784
|
"aria-hidden": !E.engaged,
|
|
@@ -10792,7 +10792,7 @@ var es = (e) => {
|
|
|
10792
10792
|
}
|
|
10793
10793
|
},
|
|
10794
10794
|
position: "end",
|
|
10795
|
-
children: [(0, $.jsx)(
|
|
10795
|
+
children: [(0, $.jsx)(lt, {
|
|
10796
10796
|
dense: !0,
|
|
10797
10797
|
outlined: !1,
|
|
10798
10798
|
color: "primary",
|
|
@@ -10808,7 +10808,7 @@ var es = (e) => {
|
|
|
10808
10808
|
onClick: () => {
|
|
10809
10809
|
E.commit();
|
|
10810
10810
|
}
|
|
10811
|
-
}), (0, $.jsx)(
|
|
10811
|
+
}), (0, $.jsx)(lt, {
|
|
10812
10812
|
dense: !0,
|
|
10813
10813
|
outlined: !1,
|
|
10814
10814
|
color: "warning",
|
|
@@ -10833,7 +10833,7 @@ var es = (e) => {
|
|
|
10833
10833
|
E.cancel,
|
|
10834
10834
|
!!E.error
|
|
10835
10835
|
]);
|
|
10836
|
-
return (0, $.jsx)(
|
|
10836
|
+
return (0, $.jsx)(He, {
|
|
10837
10837
|
sx: {
|
|
10838
10838
|
minWidth: 135,
|
|
10839
10839
|
width: "100%",
|
|
@@ -10841,9 +10841,9 @@ var es = (e) => {
|
|
|
10841
10841
|
},
|
|
10842
10842
|
size: "small",
|
|
10843
10843
|
ref: t,
|
|
10844
|
-
className:
|
|
10844
|
+
className: J("sxl-input-field", r),
|
|
10845
10845
|
...x,
|
|
10846
|
-
children: (0, $.jsx)(
|
|
10846
|
+
children: (0, $.jsx)($e, {
|
|
10847
10847
|
label: C,
|
|
10848
10848
|
placeholder: a,
|
|
10849
10849
|
disabled: n,
|