@sheetxl/studio-vanilla 0.8.0-beta.1 → 0.8.0-beta.10
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/esm/-LoBx7J6imeqaxCq.mjs +236 -0
- package/browser/esm/8-jmVNNbOHuXFdVQ.mjs +392 -0
- package/browser/esm/{CJPemkFUzhcAD_qR.mjs → B00ixdmb8-O5ijEp.mjs} +1 -1
- package/{cdn/assets/Bv_96nwOEMHN9Sa0.js → browser/esm/B0Wjc3lwtjKMwnvn.mjs} +27 -29
- package/browser/esm/B3Ii8x6RquHW1jMc.mjs +299 -0
- package/{cdn/assets/C_Io1QC4CeLGRBrz.js → browser/esm/B7iV5qzlmJlM2nQv.mjs} +179 -202
- package/{cdn/assets/D_t53-8k73CNpV-p2.js → browser/esm/BAH_cWcQEIBKWnl6.mjs} +94 -74
- package/browser/esm/BAdRecWK1maKGOZd.mjs +142 -0
- package/browser/esm/BBjgqNlHm-ssbSAG.mjs +47 -0
- package/browser/esm/BCWTI3jdTPG37r8W.mjs +46 -0
- package/browser/esm/{Dnx3_xXfRlD6ECfZ2.mjs → BMlPFJ1glExv-70Z.mjs} +5 -5
- package/browser/esm/{DBL3Qp5jyPrFg7KI2.mjs → BN2d5U1nw7pRtOrn.mjs} +1 -1
- package/browser/esm/BNIInlJQbJjH8B6G.mjs +84250 -0
- package/browser/esm/BPrHgyAsm2Htx15h.mjs +67 -0
- package/browser/esm/BRfat1fV3oGLwvin.mjs +76 -0
- package/browser/esm/{8V-VceXEjpADM8qK2.mjs → BSCja5yvevmKZPBB.mjs} +1 -1
- package/browser/esm/BThOwSja2ra4xejQ.mjs +6306 -0
- package/browser/esm/BVJUL2HhoedhbwVy.mjs +77 -0
- package/browser/esm/{CfvrjQGuf7vXiQCB.mjs → BWo1N4YbK_zGU0nu.mjs} +1 -1
- package/browser/esm/B_HB4y7AA88Z775Z.mjs +91 -0
- package/browser/esm/BaEZmurTZnX_yfKD.mjs +1082 -0
- package/browser/esm/BeMLfv6hWo15VCIL.mjs +239 -0
- package/{cdn/assets/C1ZePT2B182vSnxW.js → browser/esm/BhkeuRcx8RlLCQ5E.mjs} +1 -1
- package/browser/esm/Bi5-feQLtwpV6Ai8.mjs +57 -0
- package/browser/esm/BlPn_DXaEXOPxMxC.mjs +540 -0
- package/browser/esm/{B4iT_CduJeJunwBc.mjs → BsUrrzAgfyAdcCJW.mjs} +28 -13
- package/browser/esm/{47Yv4X226-93If7L.mjs → BtGmrIqU9W1L8zfZ.mjs} +1 -1
- package/browser/esm/BtdRr6IbtO6Gypsk.mjs +27 -0
- package/browser/esm/BwOxnbR61WFJwy0A.mjs +607 -0
- package/browser/esm/BxhKgo_rPQ2d12HT.mjs +35 -0
- package/browser/esm/By3a43qwWICwXRmw.mjs +8035 -0
- package/browser/esm/{BqTFwWLbXXJ0Fu-X2.mjs → ByUcqyCNfqi5Mm7w.mjs} +2 -2
- package/browser/esm/{Blc1T4zLkp8bRC_n2.mjs → ByqhqEMBLrnkaPKE.mjs} +28 -27
- package/{cdn/assets/8f9hCbpXTTYEgG31.js → browser/esm/C-0viTjg1dT2F-sk.mjs} +2 -2
- package/{cdn/assets/BMRav2VAqEzDSp3r.js → browser/esm/C3r_9RqlWrEmlXZ1.mjs} +37 -3
- package/browser/esm/C4VT6lNbpaDXCpBb.mjs +8820 -0
- package/browser/esm/{Be4QC65cR8N84rTn.mjs → C5EKgE9Owsc_juw-.mjs} +1 -1
- package/browser/esm/{1guzFZp1LHz_FwfL.mjs → C9NyIoUahFiyRCxP.mjs} +2 -2
- package/{cdn/assets/BykiUmcpDgSRNQI1.js → browser/esm/CBdNC7BOfc5TewHU.mjs} +1 -1
- package/browser/esm/CCd192S7yVpc6iOe.mjs +118 -0
- package/browser/esm/{BLcn1kGRsjURZSzk.mjs → CDsuiN--qdALFyql.mjs} +179 -202
- package/{cdn/assets/BDkVAo0CDCTE04ZJ.js → browser/esm/CFvKDDbrL3wpXnQH.mjs} +1 -1
- package/browser/esm/{CH0of3GZTzHviuQV.mjs → CHMqT9DzYKTxPfP6.mjs} +2 -2
- package/browser/esm/{CEN8dYSpN2oew8HH.mjs → CMxbiQ5J79M3n1tk.mjs} +604 -405
- package/browser/esm/{vcRSnmAqjwKglEkY.mjs → CQOyeq_-pg3CM-uA.mjs} +6 -7
- package/browser/esm/CQuv-nk5jtXUfu7C.mjs +7 -0
- package/browser/esm/CRAzVh3CaAa16avf.mjs +521 -0
- package/{cdn/assets/hFSDx-LnUOObv-6h.js → browser/esm/CSEMxasVyGCekxKf.mjs} +6 -7
- package/browser/esm/CTI-mCJbJzitJZwj.mjs +25 -0
- package/{cdn/assets/CdMv3f8Gyxh8q2RR.js → browser/esm/CTdFZ_I-41Vr6Dy4.mjs} +1 -1
- package/browser/esm/CVcCUfSRsiZ1-6hs.mjs +119 -0
- package/browser/esm/CVxlfyE-gnJM8hOz.mjs +177 -0
- package/browser/esm/CWJzHmEgahdOfNjH.mjs +527 -0
- package/browser/esm/CWoPWWRwMgkGPFFP.mjs +7393 -0
- package/browser/esm/CZOJogyZqMfUxcXj.mjs +1141 -0
- package/{cdn/assets/DLEdaT0MmrOxMa2h2.js → browser/esm/CaS8_J5HfBRk5_Nw.mjs} +94 -94
- package/browser/esm/CdeXXPCp5cCYvGyD.mjs +14 -0
- package/browser/esm/{BVRzmIk5PujkT_Ap.mjs → CfltjY8hY-RPwwpd.mjs} +582 -551
- package/browser/esm/Chr_TXM-48IsK8Va.mjs +155 -0
- package/browser/esm/{DTaVECXVrgvC48BE.mjs → ClJvUf8aR8vNC_3Z.mjs} +6 -6
- package/browser/esm/Clx8vvGDOTWK_M2l.mjs +484 -0
- package/browser/esm/CnWNviK4qlX2GVl6.mjs +73 -0
- package/browser/esm/{CQM87ZBN7Yzn4Yxr.mjs → Cpza4AeltEVHASij.mjs} +3 -3
- package/browser/esm/{BceIETi6JJRW6Ss62.mjs → CqoHxlGpZ3yzPj5V.mjs} +22 -21
- package/{cdn/assets/iXWgTu3qpYZHcx1J.js → browser/esm/CtZPEkaldpJpoGtW.mjs} +2197 -2013
- package/browser/esm/CvWGtHslTdesJik-.mjs +69 -0
- package/browser/esm/Cw-4uoMuq_m7ziA3.mjs +36 -0
- package/browser/esm/CxCipDFamYSOctBo.mjs +299 -0
- package/browser/esm/Cy00y9b9j17Txyv1.mjs +466 -0
- package/browser/esm/D-55MlIn7Wo_hdjI.mjs +905 -0
- package/browser/esm/D-9f1NKcpuYSgond.mjs +412 -0
- package/browser/esm/D-KZpU6HMaP4VUva.mjs +357 -0
- package/browser/esm/D0r2MPlWLnStWJNW.mjs +622 -0
- package/browser/esm/{9_bymSfTn_rR_v6W.mjs → D2aQPiGg0ZoMYzuf.mjs} +22 -21
- package/{cdn/assets/DKeLjEJPO9nT3bpr.js → browser/esm/D2coM-dNrlLpnUu5.mjs} +1000 -1010
- package/browser/esm/D7CGuQcwpkiuesEI.mjs +229 -0
- package/browser/esm/{RW23HF8taEtW8q9D.mjs → D7DWH3-5fBNx8jtc.mjs} +182 -132
- package/browser/esm/D7kkzIFPqKBK94kO.mjs +17952 -0
- package/browser/esm/D88StfSjZJi5E8Xb.mjs +5153 -0
- package/browser/esm/D8exjrado9TJrBp-.mjs +1946 -0
- package/browser/esm/DAE3Kv0Vs0VuBecT.mjs +32 -0
- package/browser/esm/DAprxR00V9qvNLL2.mjs +6607 -0
- package/browser/esm/DEvZj68igS7Q8SZE.mjs +763 -0
- package/browser/esm/DG3BfxRsbjey-B7E.mjs +441 -0
- package/browser/esm/DGCOPbZbEmt0x9z0.mjs +155 -0
- package/browser/esm/DGcvio2uhlrsE3ZY.mjs +236 -0
- package/browser/esm/DGuynZFJ9tqziqQs.mjs +92 -0
- package/browser/esm/DJqj66SnUcx0QmSN.mjs +15 -0
- package/browser/esm/DLhK_oSGg71ry6-m.mjs +86 -0
- package/{cdn/assets/D9-wpGVbTS9rRpxx.js → browser/esm/DLqc11Pf8vaE4Q5B.mjs} +2 -2
- package/browser/esm/DNCqTF9EbT-U1TdV.mjs +20 -0
- package/browser/esm/{R5bs6kCQSZmsCXz-.mjs → DNaPo7BQu6hr1fWq.mjs} +1 -1
- package/browser/esm/{BCkXtOM3yKocv7L-2.mjs → DQEjvIGMgEkiaP6J.mjs} +1 -1
- package/{cdn/assets/CAPgMrAKg07EREFD2.js → browser/esm/DQIRFXG4MveFkK3I.mjs} +1 -1
- package/browser/esm/{DrUEYcXg6N2D2s1Z2.mjs → DRm1R4uVOkaMfXNI.mjs} +51 -11
- package/browser/esm/DSf-Db1h8rlW2A6n.mjs +122 -0
- package/browser/esm/DSviq1TNoiIAGW7W.mjs +32 -0
- package/{cdn/assets/UYgwKnPX3US3Cj2k2.js → browser/esm/DTn9oYyiIYgyijAk.mjs} +110 -83
- package/{cdn/assets/Clfp7SznkOrJoQvL.js → browser/esm/DVpi1vC8ixXvUQG_.mjs} +3 -3
- package/browser/esm/{BOl4FzJRD7MplCU72.mjs → DWgp4t9N9u0eWthH.mjs} +1 -1
- package/{cdn/assets/B5ZqqASTcBEV5L9K.js → browser/esm/DXo8mR6t5HGsmTcu.mjs} +1 -1
- package/browser/esm/DZRmBfjn2TgOTu5e.mjs +3604 -0
- package/browser/esm/{DVZ_UnchuMRveDG32.mjs → D_7BWdsu8yejhUxy.mjs} +184 -11
- package/browser/esm/D_thhK0vSez8Yfle.mjs +798 -0
- package/browser/esm/DaMKWQQTgIF08cT7.mjs +105 -0
- package/browser/esm/Db6Tvr45TS9J5Qsb.mjs +259 -0
- package/{cdn/assets/EwzqnZl1lTr56hH-.js → browser/esm/Dc2ZwgbIEgYWwAsF.mjs} +1 -1
- package/{cdn/assets/DQ4o4dG7gWbL1X8F.js → browser/esm/DeUXRggj8Oz9ru_i.mjs} +2 -2
- package/{cdn/assets/DRc_Wi5c7WdKHTVN.js → browser/esm/DfESVLC8CAi8m8A7.mjs} +6 -6
- package/browser/esm/{D3G3tI3DVCUF3Gdk.mjs → DjdkGy-EI1kSo226.mjs} +7 -5
- package/browser/esm/DjtXfgbmXjUAoG0y.mjs +58 -0
- package/browser/esm/DlOVZD0OiAjouS6-.mjs +3563 -0
- package/browser/esm/Dme0qpRinBnhzp53.mjs +519 -0
- package/browser/esm/DnyZmrwPxShyeUjm.mjs +849 -0
- package/browser/esm/DoS1sE431fEhdOQb.mjs +216 -0
- package/browser/esm/DqBj-9o7UdXu4qhb.mjs +33 -0
- package/browser/esm/{DZbR5R1fNikjgqYb.mjs → DrI_S0A9TQvriTua.mjs} +1 -1
- package/browser/esm/Dv2z0548SZRGTN3l.mjs +149 -0
- package/browser/esm/{D6SKy2BtcWkhfiA02.mjs → Dv8aQFTTaQBJKDDk.mjs} +2 -5
- package/browser/esm/DvWCBuY0jAL-RmJV.mjs +3363 -0
- package/browser/esm/Dwxz0s23ra1tRtsH.mjs +7 -0
- package/browser/esm/{Cbw0JeJURvQyxIoa.mjs → DxcRLd7wmBGDgJsA.mjs} +1 -1
- package/{cdn/assets/DOsbSsKsexrBoeXa2.js → browser/esm/DxwprgjYhcmfDbXH.mjs} +24 -24
- package/browser/esm/{Dc0BDcQUGy_WIVFa.mjs → Dy44qJVkwNseMG-3.mjs} +1 -1
- package/browser/esm/DyeY6XwMQ_XNUHiW.mjs +89 -0
- package/browser/esm/{BD7RxHQgrqy_4tb5.mjs → ErIXJFPDFXwGEL8V.mjs} +2 -2
- package/{cdn/assets/COA_SZY2x8q6t4BD.js → browser/esm/FO1Jezau486fH4kN.mjs} +7 -6
- package/browser/esm/FjNOhkR7-JAIaRP6.mjs +19 -0
- package/browser/esm/H-JnJQMcZQbpvjdb.mjs +2706 -0
- package/browser/esm/J9i3r1fU0H10b2hX.mjs +1001 -0
- package/browser/esm/LAbUYeLiPG8z9cmA.mjs +277 -0
- package/browser/esm/M7RYrx20B_Yl_euJ.mjs +400 -0
- package/browser/esm/{Gy0CHZTvn4hY-rkx2.mjs → PtGiIWFBYP-ujLmf.mjs} +1 -1
- package/browser/esm/RLU85PsAYtKPUf6N.mjs +71 -0
- package/browser/esm/{qG5zdZZAe6mQIJo32.mjs → RfHd1JATBlcsfLPv.mjs} +5 -5
- package/{cdn/assets/CtXoSHbCUKMY-tSJ2.js → browser/esm/SNze-adFJwKuGSQW.mjs} +48 -2
- package/browser/esm/UTZcodQydbuMfCOS.mjs +171 -0
- package/browser/esm/{BHmYoIIbNW3GdcqV2.mjs → VwGokBaawZfZiV2X.mjs} +1 -1
- package/browser/esm/WMYR09ZOR8JbZEnx.mjs +4748 -0
- package/browser/esm/{DW72HwfnJtQxzoGa.mjs → ZbGPiRN9j0629JJQ.mjs} +2 -2
- package/browser/esm/{CR3jgkduTLczbMjH2.mjs → ZxsFYopF0_WWqw4Q.mjs} +1 -1
- package/browser/esm/_MPToH4oMe4rhTdZ.mjs +63 -0
- package/{cdn/assets/BHBJtVTiQByD_y9j2.js → browser/esm/_t0Mx-mUFVtmVNkU.mjs} +2 -2
- package/browser/esm/{B0HA_dHcr0kKfudQ.mjs → _zRV52yhE4gPf3XI.mjs} +213 -190
- package/browser/esm/aUREGNA8H7p4BpMK.mjs +33 -0
- package/browser/esm/cwuYkcKwsKkPe3gG.mjs +598 -0
- package/browser/esm/{NekeSGoazNCraGNC2.mjs → djM9mJznx8GzVq51.mjs} +16 -15
- package/browser/esm/{DuPdSe-EXFTx9dsc2.mjs → f1OJemsiZnbwnds-.mjs} +16 -15
- package/{cdn/assets/DQ-0yyFAwoWtxmhV2.js → browser/esm/i0P63Wd0RRlgJotb.mjs} +1 -1
- package/browser/esm/{B4vYIE3kSPTxCgpf2.mjs → iC69oOND5T8khIWf.mjs} +18 -17
- package/browser/esm/index.mjs +644 -48
- package/browser/esm/{7rixDGGrR72lXkMV.mjs → kVBPUUnVyZfb8pf3.mjs} +52 -52
- package/{cdn/assets/BCZjYGV8AqIZghBH.js → browser/esm/lqknEt3DTma5Juxs.mjs} +69 -4
- package/browser/esm/mZ92wNrHVpYdli1U.mjs +182 -0
- package/browser/esm/{DtXC6uPF2LLktqFE.mjs → pKc_RPdZPLAgvNDh.mjs} +2 -2
- package/browser/esm/{BPv6Pw1hW-sV5Fya.mjs → pc49xtHdprXZLW2X.mjs} +1 -1
- package/browser/esm/px-aQ8dMjiWag_pV.mjs +167 -0
- package/browser/esm/qYca4mdySLkACfo1.mjs +37 -0
- package/browser/esm/r2Az2Yc4_qj2-sn0.mjs +398 -0
- package/browser/esm/{DXWmgQSeh0_HDxZj.mjs → rY-dC3WB558TIbum.mjs} +4 -4
- package/browser/esm/rkTVQiYG3wd8oPom.mjs +2452 -0
- package/browser/esm/sDVzjXC1mS5rucF5.mjs +2447 -0
- package/browser/esm/sxxbiJiCMOW2Eivd.mjs +24952 -0
- package/{cdn/assets/CopfZ7Y1Zn_PDNXK.js → browser/esm/vGKTE7yjY8y-XnsW.mjs} +16 -11
- package/browser/esm/{CG5v2hAwGR5Ptufn.mjs → x6GcENwqoUVbd60j.mjs} +1 -1
- package/{cdn/assets/CGqvy5LwQ4z9J2oD.js → browser/esm/ycmpAs4kQfeh78Pa.mjs} +1 -1
- package/browser/esm/ztqpWR65YYMZ3EPk.mjs +811 -0
- package/cdn/assets/0vqRTRN0wEzWao1c.js +522 -0
- package/cdn/assets/514mXPTuNvdNgw35.js +412 -0
- package/{browser/esm/DVQNQmjI2PKkwiOw2.mjs → cdn/assets/7Sg0ht_ZCMJkPurt.js} +89 -87
- package/cdn/assets/{mtrwY1hjJeYlmzC-.js → 7i4WSxDsu2ApJJ2_.js} +6 -6
- package/cdn/assets/AjMG7Fb9r4Fk7Hsf.js +78 -0
- package/cdn/assets/{CJPemkFUzhcAD_qR.js → B00ixdmb8-O5ijEp.js} +1 -1
- package/{browser/esm/Bv_96nwOEMHN9Sa02.mjs → cdn/assets/B0Wjc3lwtjKMwnvn.js} +27 -29
- package/cdn/assets/B27vTQlxbHhSQJx8.js +24953 -0
- package/cdn/assets/B3NWCYKXucbHhOix.js +93 -0
- package/{browser/esm/D_t53-8k73CNpV-p.mjs → cdn/assets/BAH_cWcQEIBKWnl6.js} +94 -74
- package/cdn/assets/BAdRecWK1maKGOZd.js +142 -0
- package/cdn/assets/BB4MW8sSYEXjPvvf.js +64 -0
- package/cdn/assets/BBjgqNlHm-ssbSAG.js +47 -0
- package/cdn/assets/BI6afPOpgNYkzIWv.js +6609 -0
- package/cdn/assets/{CF8m5SqeMaRkGIYM.js → BIsbcP5RXRU2XPfx.js} +2 -2
- package/cdn/assets/{Dnx3_xXfRlD6ECfZ.js → BMlPFJ1glExv-70Z.js} +5 -5
- package/cdn/assets/{DBL3Qp5jyPrFg7KI.js → BN2d5U1nw7pRtOrn.js} +1 -1
- package/cdn/assets/BNsqqoZY7a4N1wWC.js +905 -0
- package/cdn/assets/BPrHgyAsm2Htx15h.js +67 -0
- package/cdn/assets/{8V-VceXEjpADM8qK.js → BSCja5yvevmKZPBB.js} +1 -1
- package/cdn/assets/{CfvrjQGuf7vXiQCB2.js → BWo1N4YbK_zGU0nu.js} +1 -1
- package/cdn/assets/B_3Musz0q2MSZ5H-.js +799 -0
- package/cdn/assets/Ba8taVvLslFcKS72.js +119 -0
- package/cdn/assets/{CBuvbUg67ah_3BOZ.js → BeQ95CzwR65il0CK.js} +2 -2
- package/cdn/assets/BelX6bvQPsGuo-x3.js +7 -0
- package/cdn/assets/{C8mUyjJ26jsHGl_D.js → Bgbi7BFR3rN5qj51.js} +22 -21
- package/cdn/assets/BgyY4zVPZSXljoCZ.js +14 -0
- package/{browser/esm/C1ZePT2B182vSnxW2.mjs → cdn/assets/BhkeuRcx8RlLCQ5E.js} +1 -1
- package/cdn/assets/BlIZ30huelIxNo6S.js +91 -0
- package/cdn/assets/BlPn_DXaEXOPxMxC.js +540 -0
- package/cdn/assets/BoFx07POTorOb5g-.js +7393 -0
- package/cdn/assets/{-2S675KWulPRlVNb2.js → BpZ7P0CO148rR4zW.js} +23 -22
- package/cdn/assets/BsTFy_iJXJYmaO3Z.js +763 -0
- package/cdn/assets/{j8nXVEYbO2kPuEYQ.js → Bsn-tUx172sEG2kR.js} +59 -47
- package/cdn/assets/{47Yv4X226-93If7L2.js → BtGmrIqU9W1L8zfZ.js} +1 -1
- package/cdn/assets/BuYS_ZjSlcvWZ1JC.js +8035 -0
- package/cdn/assets/BvlfKrfrDhE9Jw4d.js +598 -0
- package/cdn/assets/BwOxnbR61WFJwy0A.js +607 -0
- package/cdn/assets/BxqXOiOyI_XiOmvN.js +156 -0
- package/cdn/assets/{BqTFwWLbXXJ0Fu-X.js → ByUcqyCNfqi5Mm7w.js} +2 -2
- package/{browser/esm/CsufM5aF6VTLKDWM.mjs → cdn/assets/BzbP4jaN13wC9aSi.js} +58 -55
- package/{browser/esm/8f9hCbpXTTYEgG312.mjs → cdn/assets/C-0viTjg1dT2F-sk.js} +2 -2
- package/cdn/assets/C0CeCYdLWLjySEFe.js +123 -0
- package/cdn/assets/{B55nrhIK6gAAu4ZA.js → C32co-XulWTkEKrW.js} +2 -2
- package/{browser/esm/BMRav2VAqEzDSp3r2.mjs → cdn/assets/C3r_9RqlWrEmlXZ1.js} +37 -3
- package/cdn/assets/{Be4QC65cR8N84rTn2.js → C5EKgE9Owsc_juw-.js} +1 -1
- package/cdn/assets/C6INLvBy8kdzFpsX.js +2447 -0
- package/cdn/assets/C7fu6LrSMBlHqwUy.js +46 -0
- package/{browser/esm/DMX-ZlC_ljcf7oUN.mjs → cdn/assets/C9NyIoUahFiyRCxP.js} +2 -2
- package/{browser/esm/BykiUmcpDgSRNQI12.mjs → cdn/assets/CBdNC7BOfc5TewHU.js} +1 -1
- package/cdn/assets/{DZDynaLqNeVaDoiH2.js → CCvBdPu7W2ZF6A9J.js} +3 -3
- package/cdn/assets/{Chq4BwbjH0sbIkJN2.js → CDAYVaQYywqaxg4O.js} +28 -13
- package/cdn/assets/CEYyp6Qrr_IopxpL.js +22597 -0
- package/cdn/assets/CFBgmXap8kmumhoz.js +622 -0
- package/{browser/esm/BDkVAo0CDCTE04ZJ2.mjs → cdn/assets/CFvKDDbrL3wpXnQH.js} +1 -1
- package/cdn/assets/{1guzFZp1LHz_FwfL2.js → CHMqT9DzYKTxPfP6.js} +2 -2
- package/cdn/assets/CILUMtSddGz7WXEv.js +240 -0
- package/cdn/assets/{DnzDlqizzNkbhJP7.js → CIyaijfp6itgRpFM.js} +95 -87
- package/cdn/assets/{DW7JlG-SQEdLYNar2.js → CL6Tgu_rUO6G-fyq.js} +183 -10
- package/cdn/assets/CMVTwWHsRgyfSEDM.js +300 -0
- package/cdn/assets/{CEN8dYSpN2oew8HH2.js → CMxbiQ5J79M3n1tk.js} +604 -405
- package/cdn/assets/COMOqucXq7X1vi0P.js +230 -0
- package/cdn/assets/{vcRSnmAqjwKglEkY2.js → CQOyeq_-pg3CM-uA.js} +6 -7
- package/cdn/assets/{c6VvwMHfXubjjtyj.js → CRXSrbGNABtzf532.js} +141 -126
- package/{browser/esm/hFSDx-LnUOObv-6h2.mjs → cdn/assets/CSEMxasVyGCekxKf.js} +6 -7
- package/cdn/assets/CSIZpJClc66_20kP.js +849 -0
- package/cdn/assets/CTI-mCJbJzitJZwj.js +25 -0
- package/{browser/esm/CdMv3f8Gyxh8q2RR2.mjs → cdn/assets/CTdFZ_I-41Vr6Dy4.js} +1 -1
- package/cdn/assets/CTvPIYWTcjwlJeEA.js +237 -0
- package/cdn/assets/CU5cKipVT1X8Xz7F.js +156 -0
- package/cdn/assets/CVcCUfSRsiZ1-6hs.js +119 -0
- package/cdn/assets/CWJzHmEgahdOfNjH.js +527 -0
- package/cdn/assets/CZOJogyZqMfUxcXj.js +1141 -0
- package/{browser/esm/D4VqLbEWag8lTWzC2.mjs → cdn/assets/CakrxSS_RXtKmcUX.js} +123 -94
- package/{browser/esm/Bl6bX86tSq8hfyb2.mjs → cdn/assets/CbTN0q6XnYGJqyEp.js} +2215 -2027
- package/cdn/assets/{gspQcUnmlRIwG609.js → Cfg4Dtndwurxv9LM.js} +8 -8
- package/cdn/assets/{BhDLR-jtbOOG-tl12.js → ChAKLV5zrGAHAof2.js} +28 -27
- package/cdn/assets/{CpnA5TZRkPDt4HnM2.js → CsrTRThObSryov1b.js} +182 -132
- package/cdn/assets/Cv5PLuhEmh5IDHjb.js +75 -0
- package/cdn/assets/Cw-4uoMuq_m7ziA3.js +36 -0
- package/cdn/assets/Cw7AJWd0S2sjRmr6.js +6309 -0
- package/cdn/assets/CwqRA5h1u92Cyit-.js +7 -0
- package/cdn/assets/Cy00y9b9j17Txyv1.js +466 -0
- package/cdn/assets/{CT3G9YRPVfKtHWwf2.js → D-bNmX0QsA8SuT0m.js} +32 -31
- package/{browser/esm/Dg5wjQp0fArKXlM3.mjs → cdn/assets/D-yz3V2UC54rwctD.js} +16 -11
- package/cdn/assets/D32D_biNXRCZ24vG.js +87 -0
- package/cdn/assets/D8DghdqjOtBzO2Wx.js +35 -0
- package/cdn/assets/DAE3Kv0Vs0VuBecT.js +32 -0
- package/cdn/assets/DCnWyVXikb_8Dat3.js +61 -0
- package/cdn/assets/DHH_uKVzQ_kRYO2N.js +57 -0
- package/cdn/assets/DHugYwX4_ZyqGn-C.js +1947 -0
- package/cdn/assets/DJqj66SnUcx0QmSN.js +15 -0
- package/cdn/assets/{R5bs6kCQSZmsCXz-2.js → DNaPo7BQu6hr1fWq.js} +1 -1
- package/cdn/assets/DOHh3pUXxMM09UY5.js +3604 -0
- package/cdn/assets/DONxZZT2Iwu7psS5.js +27 -0
- package/cdn/assets/{BCkXtOM3yKocv7L-.js → DQEjvIGMgEkiaP6J.js} +1 -1
- package/{browser/esm/CAPgMrAKg07EREFD.mjs → cdn/assets/DQIRFXG4MveFkK3I.js} +1 -1
- package/cdn/assets/DQjxp9lDP9DzP8ah.js +357 -0
- package/cdn/assets/{DrUEYcXg6N2D2s1Z.js → DRm1R4uVOkaMfXNI.js} +51 -11
- package/cdn/assets/DSXJHEORGmMQX_Mb.js +8391 -0
- package/cdn/assets/DSviq1TNoiIAGW7W.js +32 -0
- package/{browser/esm/Clfp7SznkOrJoQvL.mjs → cdn/assets/DVpi1vC8ixXvUQG_.js} +3 -3
- package/cdn/assets/{BOl4FzJRD7MplCU7.js → DWgp4t9N9u0eWthH.js} +1 -1
- package/{browser/esm/B5ZqqASTcBEV5L9K2.mjs → cdn/assets/DXo8mR6t5HGsmTcu.js} +1 -1
- package/cdn/assets/DYvBgX17ZerZSHEJ.js +300 -0
- package/cdn/assets/DZRm4H75lnEtOG8e.js +260 -0
- package/cdn/assets/D_pMOq6FdH4RSBLc.js +3364 -0
- package/{browser/esm/EwzqnZl1lTr56hH-2.mjs → cdn/assets/Dc2ZwgbIEgYWwAsF.js} +1 -1
- package/cdn/assets/DckmFyHxGX4Y1gOq.js +70 -0
- package/{browser/esm/oYdWyqsKo9ejAdVm.mjs → cdn/assets/De2z8LdHaWRFiR5T.js} +179 -202
- package/{browser/esm/DQ4o4dG7gWbL1X8F2.mjs → cdn/assets/DeUXRggj8Oz9ru_i.js} +2 -2
- package/{browser/esm/DRc_Wi5c7WdKHTVN2.mjs → cdn/assets/DfESVLC8CAi8m8A7.js} +6 -6
- package/cdn/assets/DicTo_3G-KZyWDiE.js +1084 -0
- package/cdn/assets/{D3G3tI3DVCUF3Gdk2.js → DjdkGy-EI1kSo226.js} +7 -5
- package/cdn/assets/DjtXfgbmXjUAoG0y.js +58 -0
- package/cdn/assets/DlpgIJxNq2V4gdDq.js +74 -0
- package/cdn/assets/{DaBczM5xU9ev5_or.js → Dp-GJXOMz_b8qAxD.js} +2 -2
- package/cdn/assets/DqBj-9o7UdXu4qhb.js +33 -0
- package/cdn/assets/{DZbR5R1fNikjgqYb.js → DrI_S0A9TQvriTua.js} +1 -1
- package/cdn/assets/DuAbY54w5gJpQgss.js +84250 -0
- package/cdn/assets/{D6SKy2BtcWkhfiA0.js → Dv8aQFTTaQBJKDDk.js} +2 -5
- package/cdn/assets/DviEoeWW0EvDg1hr.js +149 -0
- package/cdn/assets/{Cbw0JeJURvQyxIoa.js → DxcRLd7wmBGDgJsA.js} +1 -1
- package/cdn/assets/DxisV9_27l_WU-nk.js +21 -0
- package/cdn/assets/{Dc0BDcQUGy_WIVFa.js → Dy44qJVkwNseMG-3.js} +1 -1
- package/cdn/assets/ENtt4kmaU9mJfVEp.js +236 -0
- package/{browser/esm/COA_SZY2x8q6t4BD.mjs → cdn/assets/FO1Jezau486fH4kN.js} +7 -6
- package/cdn/assets/FjNOhkR7-JAIaRP6.js +19 -0
- package/cdn/assets/{DbEGszSW_J_k96KJ.js → G5z0uVlyF6CLw_PA.js} +179 -202
- package/cdn/assets/H-JnJQMcZQbpvjdb.js +2706 -0
- package/cdn/assets/J3hutJxqQiHENpIe.js +392 -0
- package/cdn/assets/J9i3r1fU0H10b2hX.js +1001 -0
- package/cdn/assets/{Gy0CHZTvn4hY-rkx.js → PtGiIWFBYP-ujLmf.js} +1 -1
- package/cdn/assets/PzWqv-oXxEuzKdaT.js +484 -0
- package/cdn/assets/QJ4AkDD269D1MzmI.js +89 -0
- package/cdn/assets/{qG5zdZZAe6mQIJo3.js → RfHd1JATBlcsfLPv.js} +5 -5
- package/{browser/esm/CtXoSHbCUKMY-tSJ.mjs → cdn/assets/SNze-adFJwKuGSQW.js} +48 -2
- package/cdn/assets/UTZcodQydbuMfCOS.js +171 -0
- package/{browser/esm/DzDwSOBdJh_lx_NM.mjs → cdn/assets/VCiu_neIjCTg2NUa.js} +998 -1006
- package/cdn/assets/{BHmYoIIbNW3GdcqV.js → VwGokBaawZfZiV2X.js} +1 -1
- package/cdn/assets/W1d6GQyySAHrtjEu.js +3563 -0
- package/cdn/assets/ZSYS1J3uR7UQuHwZ.js +217 -0
- package/cdn/assets/{CR3jgkduTLczbMjH.js → ZxsFYopF0_WWqw4Q.js} +1 -1
- package/{browser/esm/BHBJtVTiQByD_y9j.mjs → cdn/assets/_t0Mx-mUFVtmVNkU.js} +2 -2
- package/cdn/assets/aHTKr1ijZ6bRi3Zg.js +33 -0
- package/cdn/assets/anQDUZhHMDPi1eha.js +812 -0
- package/cdn/assets/{tVOVNvOs6ro8FXqa2.js → dn69mDhY7Xcc91kF.js} +20 -19
- package/cdn/assets/fm3mUdTDo-STB36M.js +4749 -0
- package/cdn/assets/gpQ4FdJMbIScKnS_.js +400 -0
- package/cdn/assets/{EjOJX5m8OEL-IjPB.js → hg8WYI0Yy4WPPPoP.js} +28 -27
- package/{browser/esm/DQ-0yyFAwoWtxmhV2.mjs → cdn/assets/i0P63Wd0RRlgJotb.js} +1 -1
- package/cdn/assets/lWY3TbG2NDscy9He.js +72 -0
- package/{browser/esm/BCZjYGV8AqIZghBH.mjs → cdn/assets/lqknEt3DTma5Juxs.js} +69 -4
- package/cdn/assets/mK8HcIZyXkOTvL6E.js +2453 -0
- package/cdn/assets/{BPv6Pw1hW-sV5Fya.js → pc49xtHdprXZLW2X.js} +1 -1
- package/cdn/assets/px-aQ8dMjiWag_pV.js +167 -0
- package/cdn/assets/qYca4mdySLkACfo1.js +37 -0
- package/{browser/esm/BqwvP0318zI2izeL2.mjs → cdn/assets/w5IQWbJETgHhqMsY.js} +33 -31
- package/cdn/assets/wM7DzeOpoEGBVDBe.js +441 -0
- package/cdn/assets/{CG5v2hAwGR5Ptufn2.js → x6GcENwqoUVbd60j.js} +1 -1
- package/cdn/assets/xlXDq-qoj7eOE6_T.js +5153 -0
- package/{browser/esm/CGqvy5LwQ4z9J2oD2.mjs → cdn/assets/ycmpAs4kQfeh78Pa.js} +1 -1
- package/cdn/index.js +2 -2
- package/package.json +13 -14
- package/browser/cjs/1XrWGMP3GmsQOMIX2.cjs +0 -1
- package/browser/cjs/2zXD3NPfuQT2KSZq.cjs +0 -7
- package/browser/cjs/49_x589Na12sizKK.cjs +0 -1
- package/browser/cjs/4nReftSsKWmnRdtf2.cjs +0 -1
- package/browser/cjs/507hQYooKKjnRzsZ2.cjs +0 -1
- package/browser/cjs/B19QM3SGmPKKwD_o.cjs +0 -1
- package/browser/cjs/B4JJfKSI4ppwU8552.cjs +0 -1
- package/browser/cjs/B5YBx0GqLor3i0O1.cjs +0 -1
- package/browser/cjs/B7_pDFYCVzt-3hUs.cjs +0 -1
- package/browser/cjs/B9EI7wviSkHS9ZkH.cjs +0 -1
- package/browser/cjs/BAxVLKkxFgI6cXnR.cjs +0 -1
- package/browser/cjs/BC2gCQkR1iykfAuC.cjs +0 -1
- package/browser/cjs/BEJFcqVMDMKOvs11.cjs +0 -1
- package/browser/cjs/BEVqcFGFU6Ri9y8T.cjs +0 -5
- package/browser/cjs/BEzaum_kgG4yAOx0.cjs +0 -1
- package/browser/cjs/BF-38Z7Z0FZOPl192.cjs +0 -1
- package/browser/cjs/BIQZDBQfv3Qm5iC8.cjs +0 -4
- package/browser/cjs/BK0SCfN_VZYqBxoQ2.cjs +0 -1
- package/browser/cjs/BSCgCfORdZz1Ii5S.cjs +0 -2
- package/browser/cjs/BWDfauDHqB6U_2ka2.cjs +0 -1
- package/browser/cjs/BZr-IqNS1skh1hr6.cjs +0 -21
- package/browser/cjs/B_WV3e3yexp3dKaz.cjs +0 -9
- package/browser/cjs/BfzzZ9IR27ZPzj-8.cjs +0 -3
- package/browser/cjs/Bgke3PtMSF2Iaen4.cjs +0 -1
- package/browser/cjs/BnccBYHCCq9TGFx4.cjs +0 -8
- package/browser/cjs/Btc0Nzu40VYOpzLX.cjs +0 -1
- package/browser/cjs/BvG8N7G_8CXIAlT-.cjs +0 -1
- package/browser/cjs/BwLx9ix5Sq7suAYP2.cjs +0 -1
- package/browser/cjs/BziOCn_XEGT4ynN5.cjs +0 -1
- package/browser/cjs/C-HOJozu5NgCil1q.cjs +0 -1
- package/browser/cjs/C-bW8lKUTFFUVap4.cjs +0 -1
- package/browser/cjs/C2oTW2DjZypuqq7x.cjs +0 -1
- package/browser/cjs/C2uDl8VIJqh58YF_.cjs +0 -1
- package/browser/cjs/C5rQELB0TUeXY6VM.cjs +0 -1
- package/browser/cjs/C6yxQPAEgcGWAhYR.cjs +0 -33
- package/browser/cjs/C9C-pr-T_ThweQX92.cjs +0 -1
- package/browser/cjs/CHFOXPbNUaeZbrXn.cjs +0 -1
- package/browser/cjs/CHMgm0vAbEBS1mVW.cjs +0 -1
- package/browser/cjs/CJYewYJ5Z3iojl7J.cjs +0 -1
- package/browser/cjs/CPcBvw4ZPwHVTUZF.cjs +0 -1
- package/browser/cjs/CPgCih_KEqnUZ9Rv.cjs +0 -3
- package/browser/cjs/CRx1WvmgBjT8WVyB2.cjs +0 -1
- package/browser/cjs/CSNCOmYEOR-iTJ7K.cjs +0 -5
- package/browser/cjs/CV4KQsHluMqo1I2Q.cjs +0 -1
- package/browser/cjs/CW-b31_-r-_raT8Y2.cjs +0 -1
- package/browser/cjs/CXlzsh_WHCOsErJ12.cjs +0 -1
- package/browser/cjs/C_7w8EJZpHw8ueuq.cjs +0 -1
- package/browser/cjs/C_IEgjM-hSJCv6Gm.cjs +0 -1
- package/browser/cjs/CbLXP9WY38wTcGn5.cjs +0 -10
- package/browser/cjs/CcneNtiqtKppCa-p.cjs +0 -57
- package/browser/cjs/CeF0DZ-k4DB8M47I.cjs +0 -1
- package/browser/cjs/Ci8Uu7_b4lwwRLAD2.cjs +0 -1
- package/browser/cjs/Clu7XiAsCB48GDXN2.cjs +0 -1
- package/browser/cjs/Cm21F18ga8TluA9h.cjs +0 -1
- package/browser/cjs/CnZfa45XxA-9Jhmp.cjs +0 -1
- package/browser/cjs/CojEXZgX08waZOoq.cjs +0 -1
- package/browser/cjs/CpJJh4UnFl1_qFui.cjs +0 -1
- package/browser/cjs/CrDTTLE9EvaGDSD4.cjs +0 -88
- package/browser/cjs/CrZlUtdX1h2RUnCP.cjs +0 -1
- package/browser/cjs/Cty5pi0fwToP1GWe.cjs +0 -7
- package/browser/cjs/CvV18ZJgssoHMkdf2.cjs +0 -2
- package/browser/cjs/Cy-4IMt-AbR-ifP3.cjs +0 -126
- package/browser/cjs/CyGzzWYDy-IniKCq2.cjs +0 -7
- package/browser/cjs/CzgwTfy2072Dmt5u.cjs +0 -1
- package/browser/cjs/D19RglhKiroWfpQn2.cjs +0 -1
- package/browser/cjs/D8-KovdJ0LjxqCe2.cjs +0 -1
- package/browser/cjs/DCIlWcGDrp-5PDoA.cjs +0 -1
- package/browser/cjs/DDnGLOLTqLFsdUDS2.cjs +0 -1
- package/browser/cjs/DEOu_cHJ1FfTA9R_2.cjs +0 -1
- package/browser/cjs/DFHxNnJ-lHtv0hIq.cjs +0 -1
- package/browser/cjs/DG-AY_xO8RKHtEBE.cjs +0 -2
- package/browser/cjs/DG2kqsWRUtVugjay2.cjs +0 -1
- package/browser/cjs/DH3WXPfGHwWJW0nH.cjs +0 -1
- package/browser/cjs/DIbdDzNf_3S2RYZN.cjs +0 -1
- package/browser/cjs/DLYEQZzAGuSAmJsp.cjs +0 -6
- package/browser/cjs/DM7-R_ltoLbA9jde2.cjs +0 -1
- package/browser/cjs/DNCC-QNp2I7saV-I.cjs +0 -1
- package/browser/cjs/DNKyaSruDogoBd2H2.cjs +0 -1
- package/browser/cjs/DNy-UU3NKNqQQngF.cjs +0 -1
- package/browser/cjs/DPjEO7dwhCFd8DHR2.cjs +0 -2
- package/browser/cjs/DYqvGm5rx1DB53p7.cjs +0 -1
- package/browser/cjs/DZSvmqU8nRas1uz62.cjs +0 -1
- package/browser/cjs/DfMJOaJ0GcUiSn4Q.cjs +0 -1
- package/browser/cjs/DiZDRPIgbO3sQ8Vb.cjs +0 -1
- package/browser/cjs/DsFZgtSQpC75d1M02.cjs +0 -1
- package/browser/cjs/DsIHLUKUrSrYhFHl.cjs +0 -1
- package/browser/cjs/Du4jBiFxRIF1OjD4.cjs +0 -1
- package/browser/cjs/DvSvfeo9V0Abfd3q2.cjs +0 -1
- package/browser/cjs/Dx79LP1-YCQg8B87.cjs +0 -1
- package/browser/cjs/DxQkFYAFNZubVdn22.cjs +0 -1
- package/browser/cjs/E-IqDztfMb_xdszH.cjs +0 -1
- package/browser/cjs/EeOVMRq7TuptFKTc2.cjs +0 -1
- package/browser/cjs/ElcoSB--cCpS6i7R2.cjs +0 -1
- package/browser/cjs/JfM6P_qoQQTWakZf.cjs +0 -1
- package/browser/cjs/KNCocKN9uPR0tvUS.cjs +0 -1
- package/browser/cjs/Kr8f1inOTt-MICaP2.cjs +0 -1
- package/browser/cjs/Kvn916ebqGc4t6hv2.cjs +0 -1
- package/browser/cjs/NcNz8RfT5V889CMT.cjs +0 -10
- package/browser/cjs/PM3PrEWG3WHKxaDx.cjs +0 -1
- package/browser/cjs/YG320hBA20Dl3HoU2.cjs +0 -1
- package/browser/cjs/Ytzw6iUYx5f19wfK.cjs +0 -9
- package/browser/cjs/_H5j4dU7HOBYTawU.cjs +0 -1
- package/browser/cjs/a0Z-SXs_N71CtqYb2.cjs +0 -1
- package/browser/cjs/aONv0Ys3C8xmnaR82.cjs +0 -1
- package/browser/cjs/aYuNpndpwcZG5eik2.cjs +0 -20
- package/browser/cjs/bGMaev70Zd_NXqLM2.cjs +0 -1
- package/browser/cjs/bIaGoYEDSBCrAaB6.cjs +0 -1
- package/browser/cjs/bM25C5avKgBAJVfk2.cjs +0 -1
- package/browser/cjs/fqTQ_p3ehzUvc1tF2.cjs +0 -1
- package/browser/cjs/h3dw1jAp2J5Pu4p32.cjs +0 -1
- package/browser/cjs/hzUo76TXMOBqsI3U2.cjs +0 -1
- package/browser/cjs/i2VboqjlOcozI9MQ.cjs +0 -12
- package/browser/cjs/index.cjs +0 -79
- package/browser/cjs/jev6VGWTdgEgm4Yk2.cjs +0 -1
- package/browser/cjs/lEQC21-Sk4lwHy2r2.cjs +0 -1
- package/browser/cjs/ppSJKdLn646BZOzg.cjs +0 -1
- package/browser/cjs/xBcvszV6x7ys-m532.cjs +0 -1
- package/browser/cjs/xQ6-wbTw5UzZUM1Y.cjs +0 -1
- package/browser/cjs/z_rZE1OHFPpdGBh42.cjs +0 -1
- package/browser/esm/-vgNEEXiEad4bltZ.mjs +0 -28782
- package/browser/esm/3y_bCend8tkaewDG2.mjs +0 -106
- package/browser/esm/At60x9FEPePwPP_J.mjs +0 -51151
- package/browser/esm/B1NoGosH2YQh01g7.mjs +0 -105
- package/browser/esm/B4h6iO7hQ9lCR7kj.mjs +0 -11273
- package/browser/esm/BBtOlJMVlsWorNJH.mjs +0 -824
- package/browser/esm/BQDXkeSabbxB5DUB2.mjs +0 -47
- package/browser/esm/BUCKq_2lHPd1ndvw.mjs +0 -149
- package/browser/esm/BVjXdv_wkL1x_8ZJ2.mjs +0 -1149
- package/browser/esm/BX4f6i2WMBMKFVCq.mjs +0 -99
- package/browser/esm/BZsx0QHg1RZlM9ZN.mjs +0 -15
- package/browser/esm/BhxX7CZWSOlV2Dsz.mjs +0 -224
- package/browser/esm/BhzLZRz2N8RxjQ_U.mjs +0 -34
- package/browser/esm/BjTf3XA9Swj0ngpH.mjs +0 -7813
- package/browser/esm/BkSb_vyWe-AhyEDa.mjs +0 -4423
- package/browser/esm/Bp9qFBIcpIGXvMgo.mjs +0 -134
- package/browser/esm/C0rS1uBqfsj-gPR8.mjs +0 -152
- package/browser/esm/C6CK_4GD9IpxKglV2.mjs +0 -6713
- package/browser/esm/CGGJWgWSPZ0aP_C3.mjs +0 -87
- package/browser/esm/CGyydD3tRb0ik50l2.mjs +0 -20
- package/browser/esm/CPUlpDM6aAzZzCat2.mjs +0 -471
- package/browser/esm/CU1d8OvDv5TU6fSd.mjs +0 -2211
- package/browser/esm/CY1zykikO58_ADk8.mjs +0 -3188
- package/browser/esm/CZWIS7FuqNjbheSw.mjs +0 -235
- package/browser/esm/Cb-FUOYcyRSkHG6u2.mjs +0 -238
- package/browser/esm/Cc5IufffX4N-8QpE.mjs +0 -6104
- package/browser/esm/Cd8HXAJlflkkTXxc.mjs +0 -53
- package/browser/esm/CfuhUkrvOq11d9FR.mjs +0 -44
- package/browser/esm/Ckl3FLCOeqw7yhkP2.mjs +0 -82
- package/browser/esm/CpjX81WsWJbXMUoT.mjs +0 -3655
- package/browser/esm/D9-wpGVbTS9rRpxx.mjs +0 -24
- package/browser/esm/DDOO4tcrO4OfMUDe.mjs +0 -25
- package/browser/esm/DDUYQ8FPeh1TJU24.mjs +0 -538
- package/browser/esm/DFdU1DsC1lXOrejZ.mjs +0 -8260
- package/browser/esm/DMLwXmjo28k_iNEU.mjs +0 -4740
- package/browser/esm/DVJd6McdAG5udItH.mjs +0 -27
- package/browser/esm/D_zNx76HGunFi7xJ.mjs +0 -509
- package/browser/esm/DfRGH6mEtIVDWEYN2.mjs +0 -304
- package/browser/esm/DnuaqN0xfgqzl8qG.mjs +0 -2687
- package/browser/esm/fJ1McMt7xzRA_lUX.mjs +0 -383
- package/browser/esm/nguMxPB9LKexKBRX.mjs +0 -219
- package/browser/esm/qzhFT2j-mpQEQnKs.mjs +0 -16386
- package/cdn/assets/2CuCH0wi9XPgVzE42.js +0 -44
- package/cdn/assets/2UHIeioUPXrwtZy-2.js +0 -83
- package/cdn/assets/BAhvL7M7ZcgZ8eDc2.js +0 -48
- package/cdn/assets/BJEpPEyFWtLzMIq-2.js +0 -3655
- package/cdn/assets/BKEzd89UphJ8q1pp2.js +0 -2211
- package/cdn/assets/BM7OqAUEUk-up7_82.js +0 -134
- package/cdn/assets/BNuoKAzs4zkxSocG2.js +0 -44
- package/cdn/assets/BNybEGR813e3aNIv.js +0 -8263
- package/cdn/assets/BU6uQhQhpaLElTT82.js +0 -225
- package/cdn/assets/BVgTMDEoPgsWFmku.js +0 -510
- package/cdn/assets/BVjXdv_wkL1x_8ZJ2.js +0 -1149
- package/cdn/assets/BWlMK76Aj2d4ygsH.js +0 -538
- package/cdn/assets/BZsx0QHg1RZlM9ZN2.js +0 -15
- package/cdn/assets/BixsQGDDf3Iv_PtW2.js +0 -4740
- package/cdn/assets/Bl6C6xWT8E6b7OwJ2.js +0 -239
- package/cdn/assets/BzUU8y1IFjREzgog2.js +0 -107
- package/cdn/assets/CGyydD3tRb0ik50l.js +0 -20
- package/cdn/assets/CH0of3GZTzHviuQV.js +0 -24
- package/cdn/assets/CH0of3GZTzHviuQV2.js +0 -24
- package/cdn/assets/CHttngK66Ido5dWW.js +0 -106
- package/cdn/assets/Ce5A_D4YBgi_s2KF.js +0 -176
- package/cdn/assets/CpYlf4dXa_V2v-iS2.js +0 -3188
- package/cdn/assets/Crkvq5j5KIa6eTLI2.js +0 -51151
- package/cdn/assets/Cv-KXN9kl0UeMezQ.js +0 -824
- package/cdn/assets/CvtkpvGzCHhNuwTm.js +0 -16386
- package/cdn/assets/D-fJXasEYyfRUcj2.js +0 -6104
- package/cdn/assets/D1MA2ed2cLMt7hV9.js +0 -236
- package/cdn/assets/D9gETGi23d14kT7u2.js +0 -99
- package/cdn/assets/D9joTG0Z2zdWHAEa2.js +0 -4423
- package/cdn/assets/DC9obE_EVmxtvXCf.js +0 -11275
- package/cdn/assets/DCnA2-zB7W_QB-tD2.js +0 -2199
- package/cdn/assets/DDNivpFWzQ3AIJia.js +0 -2687
- package/cdn/assets/DDOO4tcrO4OfMUDe.js +0 -25
- package/cdn/assets/DEUY_zuVwmptMX4l.js +0 -150
- package/cdn/assets/DIQf1pX-j-dWQu_e.js +0 -472
- package/cdn/assets/DJwQ9abZkyFO9Doy.js +0 -7404
- package/cdn/assets/DTCtbG90ip7Z7LaG.js +0 -220
- package/cdn/assets/DVS_5oDniuAFH3vT2.js +0 -6715
- package/cdn/assets/D_HeH7AJqWoxehn52.js +0 -53
- package/cdn/assets/DfRGH6mEtIVDWEYN.js +0 -304
- package/cdn/assets/DvItgGbf8IOWPyxd.js +0 -28784
- package/cdn/assets/DvlpP6sUZ9Qzl9s22.js +0 -616
- package/cdn/assets/WLUhtyUNK5QJ7Pff.js +0 -34
- package/cdn/assets/c7aIqKLOO4pvUsV12.js +0 -220
- package/cdn/assets/mtI43hWjdp4E3Z_-.js +0 -152
- package/cdn/assets/nmR_PgTW7GrlbHHZ.js +0 -27
- package/cdn/assets/vTCuFafvRlSaT9wy.js +0 -87
|
@@ -0,0 +1,905 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.10
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
import { P as e, b as t, o as n, r } from "./CMxbiQ5J79M3n1tk.js";
|
|
8
|
+
var i = (e, t) => {
|
|
9
|
+
let n = /* @__PURE__ */ new Map();
|
|
10
|
+
return e.forEach((e, r) => {
|
|
11
|
+
t.get(r) !== e && n.set(r, e);
|
|
12
|
+
}), n;
|
|
13
|
+
}, a = !1, o = 0, s = (e) => {
|
|
14
|
+
if (typeof e != "string") throw Error("A stateId (string) is required. Register with 'ITransaction.IStore.create'.");
|
|
15
|
+
return e;
|
|
16
|
+
}, c = class extends Error {
|
|
17
|
+
constructor(e, t, n) {
|
|
18
|
+
super(e === "open" ? `Transaction conflict: a transaction is already open (expected commit '${t}').` : `Transaction conflict: expected commit '${t}' but current is '${n}'.`), this.name = "TransactionConflictError", this.reason = e, this.expectedCommitId = t, this.actualCommitId = n;
|
|
19
|
+
}
|
|
20
|
+
}, l = class {
|
|
21
|
+
constructor(e) {
|
|
22
|
+
this._record = e;
|
|
23
|
+
}
|
|
24
|
+
getId() {
|
|
25
|
+
return this._record.id;
|
|
26
|
+
}
|
|
27
|
+
getDescription() {
|
|
28
|
+
return this._record.description;
|
|
29
|
+
}
|
|
30
|
+
getMeta() {
|
|
31
|
+
return Object.freeze(this._record.meta);
|
|
32
|
+
}
|
|
33
|
+
getAuthor() {
|
|
34
|
+
return this._record.author;
|
|
35
|
+
}
|
|
36
|
+
getTimestamp() {
|
|
37
|
+
return this._record.timestamp;
|
|
38
|
+
}
|
|
39
|
+
getOperation() {
|
|
40
|
+
return this._record.operation;
|
|
41
|
+
}
|
|
42
|
+
getIntents() {
|
|
43
|
+
return Object.freeze({ ...this._record.intents });
|
|
44
|
+
}
|
|
45
|
+
}, u = class {
|
|
46
|
+
constructor(e) {
|
|
47
|
+
this._listeners = /* @__PURE__ */ new Set(), this._listenersState = /* @__PURE__ */ new Map(), this._commits = /* @__PURE__ */ new Map(), this._locked = !1, this._pending = null, this._versionCounter = 0, this._flushOnRead = 0, this._isSync = e?.sync ?? a, this._isTransient = e?.transient ?? !1, this._author = e?.author, this._maxCommits = e?.maxCommits ?? 1e3;
|
|
48
|
+
let t = {
|
|
49
|
+
id: "0",
|
|
50
|
+
description: "initial",
|
|
51
|
+
meta: {},
|
|
52
|
+
author: this._author,
|
|
53
|
+
timestamp: Date.now(),
|
|
54
|
+
states: /* @__PURE__ */ new Map(),
|
|
55
|
+
intents: {},
|
|
56
|
+
intentWrites: [],
|
|
57
|
+
version: 0,
|
|
58
|
+
previousId: null
|
|
59
|
+
}, n = {
|
|
60
|
+
record: t,
|
|
61
|
+
commit: new l(t)
|
|
62
|
+
};
|
|
63
|
+
this._current = n, this._cacheId = null, this._cacheState = null, this._states = t.states, this._transactionStack = [], this._restoring = !1;
|
|
64
|
+
let r = /* @__PURE__ */ new Map();
|
|
65
|
+
r.set(t.id, n), this._commits = r, this._tipId = t.id;
|
|
66
|
+
}
|
|
67
|
+
static {
|
|
68
|
+
this.setDefaultSync = (e) => {
|
|
69
|
+
a = e;
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
getLog(e, t = 100) {
|
|
73
|
+
let n = [], r = e;
|
|
74
|
+
do {
|
|
75
|
+
let e = this._commits.get(r);
|
|
76
|
+
if (!e) throw Error(`Invalid commit id: '${r}'`);
|
|
77
|
+
if (n.push(e.commit), r = e.record.previousId, !r) return n;
|
|
78
|
+
} while (n.length < t);
|
|
79
|
+
return n;
|
|
80
|
+
}
|
|
81
|
+
getCommitCount() {
|
|
82
|
+
return this._commits.size;
|
|
83
|
+
}
|
|
84
|
+
isOpenTransaction() {
|
|
85
|
+
return this._transactionStack.length > 0;
|
|
86
|
+
}
|
|
87
|
+
isRestoring() {
|
|
88
|
+
return this._restoring;
|
|
89
|
+
}
|
|
90
|
+
isAmendingOtherCommit() {
|
|
91
|
+
let e = this._transactionStack[0];
|
|
92
|
+
return e instanceof f && e._isRetargeted();
|
|
93
|
+
}
|
|
94
|
+
getPendingTransaction() {
|
|
95
|
+
return this._transactionStack[0] ?? null;
|
|
96
|
+
}
|
|
97
|
+
getCurrentTransaction() {
|
|
98
|
+
let e = this._transactionStack;
|
|
99
|
+
return e[e.length - 1] ?? null;
|
|
100
|
+
}
|
|
101
|
+
amend(e, t) {
|
|
102
|
+
let n = this.beginCommit(), r = n.getDepth() === 0 ? this._commits.get(e) : void 0;
|
|
103
|
+
n.getDepth() === 0 && (n._setAmendOf(e), r && r !== this._current && n._retarget(r));
|
|
104
|
+
try {
|
|
105
|
+
let e = t(r ? r.commit : this._current.commit);
|
|
106
|
+
return n.commit(), e;
|
|
107
|
+
} catch (e) {
|
|
108
|
+
throw n.rollback(), e;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
_squashTip(e) {
|
|
112
|
+
if (this._transactionStack.length > 0) return !1;
|
|
113
|
+
let t = this._commits.get(this._tipId), n = t?.record.previousId;
|
|
114
|
+
if (!t || !n) return !1;
|
|
115
|
+
let r = this._commits.get(n);
|
|
116
|
+
return !!r && (r.record.states = t.record.states, r.record.intents = e(r.record.intents, t.record.intents), r.record.timestamp = t.record.timestamp, this._commits.delete(t.record.id), this._tipId = n, this._current === t && (this._current = r, this._states = r.record.states, this._cacheId = null, this._cacheState = null), !0);
|
|
117
|
+
}
|
|
118
|
+
create(t) {
|
|
119
|
+
let n = e.uuidV4();
|
|
120
|
+
if (t !== void 0) {
|
|
121
|
+
let e = this.beginCommit();
|
|
122
|
+
try {
|
|
123
|
+
e.updateState(n, t), e.commit();
|
|
124
|
+
} catch (t) {
|
|
125
|
+
throw e.rollback(), t;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
return n;
|
|
129
|
+
}
|
|
130
|
+
getStateAt(e, t) {
|
|
131
|
+
return s(t), this._commits.get(e)?.record.states.get(t);
|
|
132
|
+
}
|
|
133
|
+
getState(e) {
|
|
134
|
+
s(e);
|
|
135
|
+
let t = this._transactionStack;
|
|
136
|
+
if (t.length === 0) {
|
|
137
|
+
if (this._cacheId === e) return this._cacheState;
|
|
138
|
+
let t = this._states.get(e);
|
|
139
|
+
return this._cacheId = e, this._cacheState = t, t;
|
|
140
|
+
}
|
|
141
|
+
if (this._flushOnRead > 0) for (let n = t.length - 1; n >= 0; n--) t[n]._isFlushedBy(e) && t[n]._flush();
|
|
142
|
+
return t[t.length - 1].getState(e);
|
|
143
|
+
}
|
|
144
|
+
getCurrentCommit(e = !0) {
|
|
145
|
+
return (e ? this._pending?.commit : null) ?? this._current.commit;
|
|
146
|
+
}
|
|
147
|
+
getTipCommit() {
|
|
148
|
+
return this._commits.get(this._tipId).commit;
|
|
149
|
+
}
|
|
150
|
+
getVersionId(e) {
|
|
151
|
+
return s(e), this._states.get(e)?.version ?? 0;
|
|
152
|
+
}
|
|
153
|
+
restore(e, t) {
|
|
154
|
+
let n = this._getCommitContainer(e, t);
|
|
155
|
+
if (this._current.commit.getId() === n.commit.getId()) return n.commit;
|
|
156
|
+
let r = i(n.record.states, this._current.record.states);
|
|
157
|
+
this._notifyStates("onBeforeCommitStart", this._current, r, !0, !1, !1, n), this._current = n, this._states = this._current.record.states, this._cacheId = null, this._cacheState = null, this._notifyStates("onAfterStateChange", n, r, !1, !0, !0), this._notify("onCommitChange", n.commit, !0), this._restoring = !0;
|
|
158
|
+
try {
|
|
159
|
+
this._notifyStates("onRestoreOrRevert", n, n.record.states, !1, !0);
|
|
160
|
+
} finally {
|
|
161
|
+
this._restoring = !1;
|
|
162
|
+
}
|
|
163
|
+
return n.commit;
|
|
164
|
+
}
|
|
165
|
+
revert(e, t) {
|
|
166
|
+
let n = this._getCommitContainer(e, t), r = this._commits.get(n.record.previousId);
|
|
167
|
+
if (!r) throw Error(`Invalid commit id: '${n.record.previousId}'`);
|
|
168
|
+
let a = i(r.record.states, this._current.record.states);
|
|
169
|
+
this._notifyStates("onBeforeCommitStart", this._current, a, !0, !1, !1, n), this._current = r, this._states = this._current.record.states, this._cacheId = null, this._cacheState = null, this._notifyStates("onAfterStateChange", r, a, !0, !1, !0, n), this._notify("onCommitChange", r.commit, !0), this._restoring = !0;
|
|
170
|
+
try {
|
|
171
|
+
this._notifyStates("onRestoreOrRevert", r, r.record.states, !0, !0, !1, n);
|
|
172
|
+
} finally {
|
|
173
|
+
this._restoring = !1;
|
|
174
|
+
}
|
|
175
|
+
return r.commit;
|
|
176
|
+
}
|
|
177
|
+
_getCommitContainer(e, t) {
|
|
178
|
+
let n = this._commits.get(e);
|
|
179
|
+
if (!n) throw Error(`Invalid commit id: '${e}'`);
|
|
180
|
+
if (this._isTransient) throw Error("Cannot revert transient store");
|
|
181
|
+
if (t?.force && this._transactionStack.length > 0 && this._transactionStack[0].rollback(), this._transactionStack.length !== 0) throw Error("Open transactions.");
|
|
182
|
+
return n;
|
|
183
|
+
}
|
|
184
|
+
_pruneForwards(e) {
|
|
185
|
+
let t = this._tipId;
|
|
186
|
+
for (; t && t !== e;) {
|
|
187
|
+
let e = this._commits.get(t);
|
|
188
|
+
if (!e) break;
|
|
189
|
+
this._commits.delete(t), t = e.record.previousId;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
_trimOldest() {
|
|
193
|
+
if (this._commits.size <= this._maxCommits) return;
|
|
194
|
+
let e = this._commits.keys();
|
|
195
|
+
for (; this._commits.size > this._maxCommits;) this._commits.delete(e.next().value);
|
|
196
|
+
let t = this._commits.get(e.next().value);
|
|
197
|
+
t && (t.record.previousId = null);
|
|
198
|
+
}
|
|
199
|
+
beginCommit(t, n) {
|
|
200
|
+
let r = this._transactionStack;
|
|
201
|
+
r.length > 0 && r[r.length - 1]._flush();
|
|
202
|
+
let i = r.length;
|
|
203
|
+
typeof t == "string" && (t = { description: t });
|
|
204
|
+
let a = t?.expectedCommitId;
|
|
205
|
+
if (a !== void 0) {
|
|
206
|
+
let e = this._current.record.id;
|
|
207
|
+
if (i > 0 || this._restoring) throw new c("open", a, e);
|
|
208
|
+
if (e !== a) throw new c("stale", a, e);
|
|
209
|
+
}
|
|
210
|
+
if (this._locked) throw console.warn("TransactionStore locked", r), Error(`TransactionStore is locked by '${r[i - 1].getDescription()}`);
|
|
211
|
+
let o, s = t?.preventFurtherTransactions, u = this, d = (e, t, r) => {
|
|
212
|
+
let a = u._transactionStack;
|
|
213
|
+
i !== a.length - 1 && console.warn("Transaction stack out of sync", i, a.length, a), s && (this._locked = !1), a.pop(), e._isFlushedOnRead() && u._flushOnRead--, n?.(e, t, r), a.length === 0 && (u._pending = null, u._notifyClose(e._getCommit(), t, e._isElided(), e._isAmendClose()));
|
|
214
|
+
};
|
|
215
|
+
if (r.length === 0) {
|
|
216
|
+
let n = this._current.record, r = {
|
|
217
|
+
states: /* @__PURE__ */ new Map(),
|
|
218
|
+
id: e.uuidV4(),
|
|
219
|
+
description: typeof t == "string" ? t : t?.description ?? null,
|
|
220
|
+
meta: {},
|
|
221
|
+
timestamp: Date.now(),
|
|
222
|
+
author: (typeof t == "object" ? t?.author : void 0) ?? this._author ?? null,
|
|
223
|
+
version: n.version + 1,
|
|
224
|
+
previousId: n.id,
|
|
225
|
+
intents: {},
|
|
226
|
+
intentWrites: [],
|
|
227
|
+
operation: t?.operation
|
|
228
|
+
}, i = {
|
|
229
|
+
record: r,
|
|
230
|
+
commit: new l(r)
|
|
231
|
+
};
|
|
232
|
+
this._pending = i, this._notify("onCommitStart", i.commit), o = new f(this, i, n?.states, t, d);
|
|
233
|
+
} else o = r[r.length - 1].beginTransaction(t, d);
|
|
234
|
+
return s && (this._locked = !0), this._transactionStack.push(o), o._isFlushedOnRead() && this._flushOnRead++, o;
|
|
235
|
+
}
|
|
236
|
+
doBatch(e, t, n) {
|
|
237
|
+
let r, i = this.beginCommit(t, n), a = this.getCurrentCommit();
|
|
238
|
+
try {
|
|
239
|
+
r = e?.(a);
|
|
240
|
+
let n = () => {
|
|
241
|
+
i.commit(t);
|
|
242
|
+
};
|
|
243
|
+
if (r && typeof r.then == "function") return new Promise((e, t) => {
|
|
244
|
+
r.then((r) => {
|
|
245
|
+
try {
|
|
246
|
+
n(), e(r);
|
|
247
|
+
} catch (e) {
|
|
248
|
+
t(e);
|
|
249
|
+
}
|
|
250
|
+
}).catch((e) => {
|
|
251
|
+
i.rollback(), t(e);
|
|
252
|
+
});
|
|
253
|
+
});
|
|
254
|
+
n();
|
|
255
|
+
} catch (e) {
|
|
256
|
+
throw i.rollback(), e;
|
|
257
|
+
}
|
|
258
|
+
return r;
|
|
259
|
+
}
|
|
260
|
+
remove(e) {
|
|
261
|
+
s(e);
|
|
262
|
+
let t = !1, n = this._listenersState.get(e);
|
|
263
|
+
if (n) {
|
|
264
|
+
let r = this.getCurrentCommit();
|
|
265
|
+
n.forEach((e) => {
|
|
266
|
+
e.onClose?.(r);
|
|
267
|
+
}), this._listenersState.delete(e), t = !0;
|
|
268
|
+
}
|
|
269
|
+
this._current.record.states.delete(e) && (t = !0), this._commits.forEach((n) => {
|
|
270
|
+
n.record.states.delete(e) && (t = !0);
|
|
271
|
+
});
|
|
272
|
+
let r = this._transactionStack;
|
|
273
|
+
return r.length > 0 && r[0]._purgeState(e), this._cacheId = null, this._cacheState = null, t;
|
|
274
|
+
}
|
|
275
|
+
addListener(e) {
|
|
276
|
+
let t = this._listeners;
|
|
277
|
+
return t.add(e), () => {
|
|
278
|
+
t.delete(e);
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
addStateListener(e, t) {
|
|
282
|
+
if (s(e), !t) throw Error("Listener is required");
|
|
283
|
+
let n = this._listenersState.get(e);
|
|
284
|
+
return n || (n = /* @__PURE__ */ new Set(), this._listenersState.set(e, n)), n.add(t), () => {
|
|
285
|
+
n.delete(t), n.size === 0 && this._listenersState.delete(e);
|
|
286
|
+
};
|
|
287
|
+
}
|
|
288
|
+
dispatchEvents(e, t = !1) {
|
|
289
|
+
!t || this._isSync ? e() : setTimeout(e, 0);
|
|
290
|
+
}
|
|
291
|
+
_commitRecord(t, n, r) {
|
|
292
|
+
let i = t.record, a = t.commit, o = t, s = ++this._versionCounter;
|
|
293
|
+
if (n.forEach((e, t) => {
|
|
294
|
+
e != null && ((e, t, n) => {
|
|
295
|
+
Object.defineProperty(e, "id", {
|
|
296
|
+
value: t,
|
|
297
|
+
enumerable: !1,
|
|
298
|
+
configurable: !0,
|
|
299
|
+
writable: !1
|
|
300
|
+
}), Object.defineProperty(e, "version", {
|
|
301
|
+
value: n,
|
|
302
|
+
enumerable: !1,
|
|
303
|
+
configurable: !0,
|
|
304
|
+
writable: !1
|
|
305
|
+
});
|
|
306
|
+
})(e, t, s);
|
|
307
|
+
}), !this._isTransient) {
|
|
308
|
+
let n = !1;
|
|
309
|
+
if (r !== null) {
|
|
310
|
+
let s = this._current, c = this._commits.get(r) ?? s, l = c.record, u = c !== s, d = u ? l.states : s.record.states;
|
|
311
|
+
if (i.states.forEach((e, t) => {
|
|
312
|
+
d.set(t, e);
|
|
313
|
+
}), ((e, t) => {
|
|
314
|
+
for (let n = 0; n < t.length; n++) {
|
|
315
|
+
let [r, i] = t[n];
|
|
316
|
+
e[r] = typeof i == "function" ? i(e[r]) : i;
|
|
317
|
+
}
|
|
318
|
+
})(l.intents, i.intentWrites), l.meta = {
|
|
319
|
+
...l.meta,
|
|
320
|
+
...i.meta
|
|
321
|
+
}, l.timestamp = i.timestamp, n = !0, u) return void (o.record.intentWrites = e.EmptyArray);
|
|
322
|
+
i = s.record, a = s.commit, t = s;
|
|
323
|
+
}
|
|
324
|
+
this._commits.set(i.id, t), n || (i.previousId !== this._tipId && this._pruneForwards(i.previousId), this._tipId = i.id, this._trimOldest());
|
|
325
|
+
}
|
|
326
|
+
this._current = t, this._states = this._current.record.states, this._cacheId = null, this._cacheState = null, o.record.intentWrites = e.EmptyArray, r === null && this._notify("onCommitChange", a), this._notifyStates("onAfterStateChange", t, n, !1, !1, !0, o), this._notify(r === null ? "onCommitEnd" : "onAmendEnd", a, !0);
|
|
327
|
+
}
|
|
328
|
+
_notifyStates(e, t, n, r = !1, i = !1, a = !1, o = t) {
|
|
329
|
+
let s = t.commit, c = o.record.intents, l = this._listenersState;
|
|
330
|
+
n.forEach((t, n) => {
|
|
331
|
+
let o = l.get(n);
|
|
332
|
+
o && this.dispatchEvents(() => {
|
|
333
|
+
o.forEach((n) => {
|
|
334
|
+
n[e]?.(t, s, r, i, c);
|
|
335
|
+
});
|
|
336
|
+
}, a);
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
_notifyClose(e, t, n = !1, r = !1) {
|
|
340
|
+
this._listeners.forEach((i) => {
|
|
341
|
+
i.onCommitClose?.(e, t, n, r);
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
_notify(e, t, n = !1) {
|
|
345
|
+
return this.dispatchEvents(() => {
|
|
346
|
+
this._listeners.forEach((n) => {
|
|
347
|
+
n[e]?.(t);
|
|
348
|
+
});
|
|
349
|
+
}, n);
|
|
350
|
+
}
|
|
351
|
+
}, d = class {
|
|
352
|
+
constructor(e, t, n) {
|
|
353
|
+
if (this._children = /* @__PURE__ */ new Set(), this._depth = 0, this._closed = !1, this._isAmend = !1, this._readOnly = !1, this._hooks = null, this._flushing = !1, this._outcomes = null, this._store = e, this._container = t, n = typeof n == "string" ? { description: n } : n, this._description = n?.description ?? "", this._operation = n?.operation ?? null, this._readOnly = n?.readOnly ?? !1, n?.flush || n?.onCommit || n?.onRollback) {
|
|
354
|
+
let e = {
|
|
355
|
+
flush: n.flush,
|
|
356
|
+
writes: n.writes,
|
|
357
|
+
onCommit: n.onCommit,
|
|
358
|
+
onRollback: n.onRollback
|
|
359
|
+
};
|
|
360
|
+
this._hooks = e, (e.onCommit || e.onRollback) && (this._outcomes = [e]);
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
_isFlushedOnRead() {
|
|
364
|
+
return !(!this._hooks?.flush || !this._hooks.writes?.length);
|
|
365
|
+
}
|
|
366
|
+
_isFlushedBy(e) {
|
|
367
|
+
let t = this._hooks?.writes;
|
|
368
|
+
return !!t && t.includes(e);
|
|
369
|
+
}
|
|
370
|
+
_flush() {
|
|
371
|
+
let e = this._hooks?.flush;
|
|
372
|
+
if (e && !this._flushing) {
|
|
373
|
+
this._flushing = !0;
|
|
374
|
+
try {
|
|
375
|
+
e();
|
|
376
|
+
} finally {
|
|
377
|
+
this._flushing = !1;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
_settle(e) {
|
|
382
|
+
let t = this._children;
|
|
383
|
+
for (; t.size > 0;) t.values().next().value.commit(e);
|
|
384
|
+
this._flush();
|
|
385
|
+
}
|
|
386
|
+
_adoptOutcomes(e) {
|
|
387
|
+
let t = e._outcomes;
|
|
388
|
+
if (t) {
|
|
389
|
+
if (this._outcomes) for (let e = 0; e < t.length; e++) this._outcomes.push(t[e]);
|
|
390
|
+
else this._outcomes = t;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
_notifyOutcome(e) {
|
|
394
|
+
let t = this._outcomes;
|
|
395
|
+
if (t) {
|
|
396
|
+
this._outcomes = null;
|
|
397
|
+
for (let n = 0; n < t.length; n++) try {
|
|
398
|
+
e ? t[n].onCommit?.(e) : t[n].onRollback?.();
|
|
399
|
+
} catch (e) {
|
|
400
|
+
console.warn(e);
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
_getCommit() {
|
|
405
|
+
return this._container.commit;
|
|
406
|
+
}
|
|
407
|
+
_isElided() {
|
|
408
|
+
return !1;
|
|
409
|
+
}
|
|
410
|
+
_setAmendOf(e) {
|
|
411
|
+
this._container.amendOf = e;
|
|
412
|
+
}
|
|
413
|
+
_isAmendClose() {
|
|
414
|
+
return this._isAmend || this._container.amendOf !== void 0;
|
|
415
|
+
}
|
|
416
|
+
getIntent(e) {
|
|
417
|
+
return this._container.record.intents?.[e];
|
|
418
|
+
}
|
|
419
|
+
setIntent(e, t) {
|
|
420
|
+
let n = this._container.record, r = n.intents ??= {};
|
|
421
|
+
r[e] = typeof t == "function" ? t(r[e]) : t, (n.intentWrites ??= []).push([e, t]);
|
|
422
|
+
}
|
|
423
|
+
getDepth() {
|
|
424
|
+
return this._depth;
|
|
425
|
+
}
|
|
426
|
+
getDescription() {
|
|
427
|
+
return this._description;
|
|
428
|
+
}
|
|
429
|
+
getOperation() {
|
|
430
|
+
return this._operation;
|
|
431
|
+
}
|
|
432
|
+
getStates() {
|
|
433
|
+
return this._states;
|
|
434
|
+
}
|
|
435
|
+
beginTransaction(e, t) {
|
|
436
|
+
this._ensureOpen();
|
|
437
|
+
let n = new p(this._store, this, this._container, typeof e == "string" ? { description: e } : e, t);
|
|
438
|
+
return this._children || this._children, this._children.add(n), n;
|
|
439
|
+
}
|
|
440
|
+
isReadOnly() {
|
|
441
|
+
return this._readOnly;
|
|
442
|
+
}
|
|
443
|
+
updateState(e, t) {
|
|
444
|
+
if (this._ensureOpen(), s(e), this._readOnly) throw Error("Transaction is read-only" + (this._description ? `: '${this._description}'` : ""));
|
|
445
|
+
let n, r = this.getState(e);
|
|
446
|
+
if (typeof t == "function") {
|
|
447
|
+
if (n = t(r), n === r) return r;
|
|
448
|
+
n &&= { ...n };
|
|
449
|
+
} else {
|
|
450
|
+
if (t === void 0) return r;
|
|
451
|
+
n = {
|
|
452
|
+
...r,
|
|
453
|
+
...t
|
|
454
|
+
};
|
|
455
|
+
}
|
|
456
|
+
if (n) {
|
|
457
|
+
let t = this._states;
|
|
458
|
+
t || (t = /* @__PURE__ */ new Map(), this._states = t), t.set(e, n);
|
|
459
|
+
}
|
|
460
|
+
return n;
|
|
461
|
+
}
|
|
462
|
+
amend(e) {
|
|
463
|
+
return this._isAmend = !0, this.commit(e);
|
|
464
|
+
}
|
|
465
|
+
commit(t) {
|
|
466
|
+
return this._ensureOpen(), typeof t == "string" && (t = { description: t }), t && (t.description && (this._description = t.description), t.meta && (this._meta = e.mergeContentful(t.meta, this._meta))), this._children && this._children.forEach((e) => {
|
|
467
|
+
e.commit(t);
|
|
468
|
+
}), this;
|
|
469
|
+
}
|
|
470
|
+
isClose() {
|
|
471
|
+
return this._closed;
|
|
472
|
+
}
|
|
473
|
+
_ensureOpen() {
|
|
474
|
+
if (this._closed) throw this._descriptions ? console.warn(`stack: [${this._descriptions.join(",")}]`) : this._description && console.warn(`description: [${this._description}]`), Error("Transaction already closed");
|
|
475
|
+
}
|
|
476
|
+
_removeChild(e, t = !1) {
|
|
477
|
+
this._children.delete(e), t || this._mergeStates(e._states);
|
|
478
|
+
}
|
|
479
|
+
_purgeState(e) {
|
|
480
|
+
this._states?.delete(e), this._children.forEach((t) => {
|
|
481
|
+
t._purgeState(e);
|
|
482
|
+
});
|
|
483
|
+
}
|
|
484
|
+
_mergeStates(e) {
|
|
485
|
+
if (!e || e.size === 0) return;
|
|
486
|
+
let t = this._states;
|
|
487
|
+
return t ? (e.forEach((e, n) => {
|
|
488
|
+
t.set(n, e);
|
|
489
|
+
}), t) : (this._states = e, e);
|
|
490
|
+
}
|
|
491
|
+
get isITransaction() {
|
|
492
|
+
return !0;
|
|
493
|
+
}
|
|
494
|
+
}, f = class extends d {
|
|
495
|
+
constructor(e, t, n, r, i) {
|
|
496
|
+
super(e, t, r), this._retargeted = !1, this._elided = !1, this._prevStates = n, this._onClose = i, this._states = /* @__PURE__ */ new Map(), this._meta = t.record.meta;
|
|
497
|
+
}
|
|
498
|
+
_isElided() {
|
|
499
|
+
return this._elided;
|
|
500
|
+
}
|
|
501
|
+
_retarget(e) {
|
|
502
|
+
this._prevStates = e.record.states, this._retargeted = !0;
|
|
503
|
+
}
|
|
504
|
+
_isRetargeted() {
|
|
505
|
+
return this._retargeted;
|
|
506
|
+
}
|
|
507
|
+
getId() {
|
|
508
|
+
return this._container.commit.getId();
|
|
509
|
+
}
|
|
510
|
+
getSavepointId() {
|
|
511
|
+
return this.getId();
|
|
512
|
+
}
|
|
513
|
+
getParent() {
|
|
514
|
+
return this;
|
|
515
|
+
}
|
|
516
|
+
commit(e) {
|
|
517
|
+
this._ensureOpen(), this._settle(e);
|
|
518
|
+
let t = this._states, n = this._container;
|
|
519
|
+
if (this._store._notifyStates("onBeforeCommitStart", n, t, !1, !1), super.commit(e), this._states.size === 0) return this._closed = !0, this._elided = !0, this._onClose?.(this, !1, e), this._notifyOutcome(n.commit), this;
|
|
520
|
+
this._store._notifyStates("onBeforeCommitEnd", n, t, !1, !1), this._settle(e);
|
|
521
|
+
let r = new Map(this._prevStates);
|
|
522
|
+
this._states.forEach((e, t) => {
|
|
523
|
+
e === null ? r.delete(t) : r.set(t, e);
|
|
524
|
+
}), this._states = r, this._description && (n.record.description = this._description), this._meta && (n.record.meta = this._meta), n.record.states = r, this._closed = !0, this._onClose?.(this, !1, e);
|
|
525
|
+
let i = n.amendOf ?? (this._isAmend ? n.record.previousId : null);
|
|
526
|
+
return this._store._commitRecord(n, t, i), this._notifyOutcome(n.commit), this;
|
|
527
|
+
}
|
|
528
|
+
rollback() {
|
|
529
|
+
return this._ensureOpen(), this._children && this._children.forEach((e) => {
|
|
530
|
+
e.rollback();
|
|
531
|
+
}), this._notifyOutcome(null), this._closed = !0, this._onClose?.(this, !0, null), this;
|
|
532
|
+
}
|
|
533
|
+
updateState(e, t) {
|
|
534
|
+
let n = this.getState(e), r = super.updateState(e, t);
|
|
535
|
+
return r === n || this._states.set(e, r), r;
|
|
536
|
+
}
|
|
537
|
+
getState(e) {
|
|
538
|
+
s(e);
|
|
539
|
+
let t = this._states.get(e);
|
|
540
|
+
return t ||= this._prevStates.get(e), t;
|
|
541
|
+
}
|
|
542
|
+
}, p = class extends d {
|
|
543
|
+
constructor(e, t, n, r, i) {
|
|
544
|
+
if (super(e, n, r), this._savepointId = null, !t) throw Error("Parent transaction required");
|
|
545
|
+
this._parent = t, this._depth = this._parent.getDepth() + 1, !1 !== (typeof r == "string" ? void 0 : r?.savepoint) && (this._savepointId = `${t.getId()}:${++o}`), t.isReadOnly() && (this._readOnly = !0), this._onClose = i;
|
|
546
|
+
}
|
|
547
|
+
getId() {
|
|
548
|
+
return this._parent.getId();
|
|
549
|
+
}
|
|
550
|
+
getSavepointId() {
|
|
551
|
+
return this._savepointId ?? this._parent.getSavepointId();
|
|
552
|
+
}
|
|
553
|
+
getParent() {
|
|
554
|
+
return this._parent;
|
|
555
|
+
}
|
|
556
|
+
getState(e) {
|
|
557
|
+
if (this._states) {
|
|
558
|
+
let t = this._states.get(e);
|
|
559
|
+
if (t !== void 0) return t;
|
|
560
|
+
}
|
|
561
|
+
return this._parent.getState(e);
|
|
562
|
+
}
|
|
563
|
+
commit(e) {
|
|
564
|
+
return this._ensureOpen(), this._settle(e), super.commit(e), this._parent._removeChild(this), this._parent._adoptOutcomes(this), this._closed = !0, this._onClose?.(this, !1, e), this._parent ?? this;
|
|
565
|
+
}
|
|
566
|
+
rollback() {
|
|
567
|
+
return this._ensureOpen(), this._children && this._children.forEach((e) => {
|
|
568
|
+
e.rollback();
|
|
569
|
+
}), this._notifyOutcome(null), this._parent._removeChild(this, !0), this._closed = !0, this._onClose?.(this, !0, null), this._parent ?? this;
|
|
570
|
+
}
|
|
571
|
+
}, m = (e, t, ...n) => {
|
|
572
|
+
let r = globalThis.__SXL_LOG_EVENTS;
|
|
573
|
+
r && (typeof r != "string" || e.includes(r)) && console.log(`[sxl:${e}] ${t}`, ...n);
|
|
574
|
+
}, h = class {
|
|
575
|
+
constructor(e, t) {
|
|
576
|
+
this._listeners = /* @__PURE__ */ new Set(), this._pending = null, this._landing = null, this._listeners = /* @__PURE__ */ new Set(), this._transactions = t ?? new u({ transient: !0 }), this._stateId = this._transactions.create(), this._src = e;
|
|
577
|
+
let n = this, r = () => {
|
|
578
|
+
let e = n._landing;
|
|
579
|
+
if (m(n._label(), `drain landing=${e ? e.length : "null"}`), !e) return;
|
|
580
|
+
n._landing = null;
|
|
581
|
+
let t = /* @__PURE__ */ new Set(), r = e.length;
|
|
582
|
+
for (let i = 0; i < r; i++) {
|
|
583
|
+
let r = e[i];
|
|
584
|
+
n._doNotify(r.listeners, r.removes, r.options, t);
|
|
585
|
+
}
|
|
586
|
+
};
|
|
587
|
+
this._transactionsRemoveListener = this._transactions.addListener({
|
|
588
|
+
onCommitClose(e, t, i) {
|
|
589
|
+
let a = n._pending;
|
|
590
|
+
m(n._label(), `commitClose rollback=${t} elided=${i} pending=${a ? a.length : "null"}`), n._pending = null, t || (a && (n._landing ? n._landing.push(...a) : n._landing = a), i && r());
|
|
591
|
+
},
|
|
592
|
+
onCommitEnd: r,
|
|
593
|
+
onAmendEnd: r
|
|
594
|
+
});
|
|
595
|
+
}
|
|
596
|
+
_label() {
|
|
597
|
+
return this._src?.constructor?.name ?? "unknown";
|
|
598
|
+
}
|
|
599
|
+
_inOperation() {
|
|
600
|
+
return this._transactions.isOpenTransaction() || this._transactions.isRestoring();
|
|
601
|
+
}
|
|
602
|
+
addListeners(e, t) {
|
|
603
|
+
let n = t?.transactional ?? this._inOperation(), r = { listeners: e }, i = this, a = () => {
|
|
604
|
+
n ? i._updateEntries((e) => {
|
|
605
|
+
e.delete(r);
|
|
606
|
+
}) : i._listeners.delete(r);
|
|
607
|
+
};
|
|
608
|
+
return r.remove = t?.once ? a : null, n ? i._updateEntries((e) => {
|
|
609
|
+
e.add(r);
|
|
610
|
+
}) : i._listeners.add(r), a;
|
|
611
|
+
}
|
|
612
|
+
_updateEntries(e) {
|
|
613
|
+
let t = this._transactions, n = t.getState(this._stateId)?.listeners, r = new Set(n);
|
|
614
|
+
e(r);
|
|
615
|
+
let i = t.beginCommit();
|
|
616
|
+
try {
|
|
617
|
+
i.updateState(this._stateId, { listeners: r }), i.amend();
|
|
618
|
+
} catch (e) {
|
|
619
|
+
throw i.rollback(), e;
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
async _doNotify(e, t = null, n, r) {
|
|
623
|
+
let i = n?.source ?? this._src, a = [], o = n?.params, s = e.length;
|
|
624
|
+
for (let t = 0; t < s; t++) {
|
|
625
|
+
let n = e[t];
|
|
626
|
+
r && r.has(n) || (r?.add(n), a.push(n(i, o)));
|
|
627
|
+
}
|
|
628
|
+
let c = null;
|
|
629
|
+
if (t && (c = () => {
|
|
630
|
+
let e = t.length;
|
|
631
|
+
for (let n = 0; n < e; n++) t[n]();
|
|
632
|
+
}), n?.async) return new Promise(async (e, t) => {
|
|
633
|
+
try {
|
|
634
|
+
let t = await Promise.all(a);
|
|
635
|
+
c?.(), e(t);
|
|
636
|
+
} catch (e) {
|
|
637
|
+
c?.(), t(e);
|
|
638
|
+
}
|
|
639
|
+
});
|
|
640
|
+
c?.();
|
|
641
|
+
}
|
|
642
|
+
_collect(e, t) {
|
|
643
|
+
if (!e) return null;
|
|
644
|
+
let n = null, r = null;
|
|
645
|
+
return e.forEach((e) => {
|
|
646
|
+
let i = e.listeners[t];
|
|
647
|
+
i && ((n ??= []).push(i), e.remove && (r ??= []).push(e.remove));
|
|
648
|
+
}), n ? {
|
|
649
|
+
listeners: n,
|
|
650
|
+
removes: r
|
|
651
|
+
} : null;
|
|
652
|
+
}
|
|
653
|
+
notify(e, t) {
|
|
654
|
+
let n = this._transactions, r = t?.transactional ?? this._inOperation();
|
|
655
|
+
if (r) {
|
|
656
|
+
let r = this._collect(n.getState(this._stateId)?.listeners, e);
|
|
657
|
+
r && this._doNotify(r.listeners, r.removes, t);
|
|
658
|
+
}
|
|
659
|
+
let i = this._collect(this._listeners, e);
|
|
660
|
+
if (i) return !r || n.isRestoring() || t?.async ? (m(this._label(), `notify ${String(e)} delivered to ${i.listeners.length}`), this._doNotify(i.listeners, i.removes, t)) : ((this._pending ??= []).push({
|
|
661
|
+
listeners: i.listeners,
|
|
662
|
+
removes: i.removes,
|
|
663
|
+
options: t
|
|
664
|
+
}), void m(this._label(), `notify ${String(e)} QUEUED (open transaction) pending=${this._pending.length}`));
|
|
665
|
+
m(this._label(), `notify ${String(e)} inOperation=${r} listeners=0`);
|
|
666
|
+
}
|
|
667
|
+
close() {
|
|
668
|
+
this._transactions.remove(this._stateId), this._transactionsRemoveListener(), this._listeners.clear(), this._pending = null, this._landing = null;
|
|
669
|
+
}
|
|
670
|
+
}, g = "Item has been closed. No further operations are allowed.", _ = (e = t("op.update")) => n("error.anchor.protected", { description: n(e) }), v = class {
|
|
671
|
+
constructor(e) {
|
|
672
|
+
this._closed = !1, this._options = { ...e };
|
|
673
|
+
let t = this;
|
|
674
|
+
this._transactions = this._options?.transactions ?? new u({ transient: !0 }), this._id = this._transactions.create({ isDeleted: !1 }), this._emitter = new h(this, this._transactions), e?.json && this._fromJSON(e.json), this._options?.setContainerReadOnlyCallback?.(() => {
|
|
675
|
+
t._processOnContainerReadOnly();
|
|
676
|
+
}), this._transactionsRemoveListener = this._transactions.addStateListener(this._id, {
|
|
677
|
+
onAfterStateChange(e, n) {
|
|
678
|
+
t._processAfterStateChange(e, n);
|
|
679
|
+
},
|
|
680
|
+
onRestoreOrRevert(e, n) {
|
|
681
|
+
t._processRestoreOrRevert(e, n);
|
|
682
|
+
}
|
|
683
|
+
}), this._processInit();
|
|
684
|
+
}
|
|
685
|
+
_fromJSON(e) {}
|
|
686
|
+
isReadOnly() {
|
|
687
|
+
return this._options.isReadOnly?.() ?? !1;
|
|
688
|
+
}
|
|
689
|
+
isDeleted() {
|
|
690
|
+
let e = this._getState();
|
|
691
|
+
return e === void 0 || (e.isDeleted ?? !1);
|
|
692
|
+
}
|
|
693
|
+
getType() {
|
|
694
|
+
return this._options.type;
|
|
695
|
+
}
|
|
696
|
+
get isIModel() {
|
|
697
|
+
return !0;
|
|
698
|
+
}
|
|
699
|
+
_processTransactionDone(e) {}
|
|
700
|
+
_getActionDescription(e) {
|
|
701
|
+
return null;
|
|
702
|
+
}
|
|
703
|
+
_getState() {
|
|
704
|
+
if (this._closed) throw Error(n("error.model.modelClosed"));
|
|
705
|
+
return this._transactions.getState(this._id);
|
|
706
|
+
}
|
|
707
|
+
_beginCommit(e) {
|
|
708
|
+
return this._transactions.beginCommit(typeof e == "string" ? { description: e } : e);
|
|
709
|
+
}
|
|
710
|
+
_getTransactions() {
|
|
711
|
+
return this._transactions;
|
|
712
|
+
}
|
|
713
|
+
_updateState(e, t, n) {
|
|
714
|
+
return this._writeState(e, t, n, !1);
|
|
715
|
+
}
|
|
716
|
+
_amendState(e, t, n) {
|
|
717
|
+
return this._writeState(e, t, n, !0);
|
|
718
|
+
}
|
|
719
|
+
_writeState(e, t, r, i = !1) {
|
|
720
|
+
if (this._closed) throw Error(n("error.model.modelClosed"));
|
|
721
|
+
if (!e) return this;
|
|
722
|
+
let a = this._beginCommit(t?.description);
|
|
723
|
+
try {
|
|
724
|
+
a.updateState(this._id, e);
|
|
725
|
+
let n = !1, o = r ? r.length : 0;
|
|
726
|
+
for (let e = 0; e < o; e++) {
|
|
727
|
+
let t = r[e];
|
|
728
|
+
n ||= t === "onAnyChange", this._emitter.notify(t);
|
|
729
|
+
}
|
|
730
|
+
!n && r && o > 0 && this._emitter.notify("onAnyChange"), i ? a.amend(t) : a.commit(t);
|
|
731
|
+
} catch (e) {
|
|
732
|
+
throw a.rollback(), e;
|
|
733
|
+
}
|
|
734
|
+
return this;
|
|
735
|
+
}
|
|
736
|
+
_getEmitter() {
|
|
737
|
+
return this._emitter;
|
|
738
|
+
}
|
|
739
|
+
_processInit() {}
|
|
740
|
+
_processAfterStateChange(e, t) {}
|
|
741
|
+
_processRestoreOrRevert(e, t) {
|
|
742
|
+
this._emitter.notify("onInvalidated");
|
|
743
|
+
}
|
|
744
|
+
delete(e) {
|
|
745
|
+
this._getState().isDeleted || this._delete(e);
|
|
746
|
+
}
|
|
747
|
+
_delete(e) {
|
|
748
|
+
e = {
|
|
749
|
+
description: this._getActionDescription("delete") ?? t("op.delete"),
|
|
750
|
+
...e
|
|
751
|
+
};
|
|
752
|
+
let n = this._beginCommit(e?.description);
|
|
753
|
+
try {
|
|
754
|
+
this._options.deleteFromContainer && this._options.deleteFromContainer?.(e), this._processDelete(), n.commit();
|
|
755
|
+
} catch (e) {
|
|
756
|
+
throw n.rollback(), e;
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
_processOnContainerDeleted() {
|
|
760
|
+
this._processDelete();
|
|
761
|
+
}
|
|
762
|
+
_processDelete() {
|
|
763
|
+
this._updateState({ isDeleted: !0 }, void 0, ["onDelete"]);
|
|
764
|
+
}
|
|
765
|
+
_processOnContainerReadOnly() {
|
|
766
|
+
this._emitter.notify("onReadOnlyChange");
|
|
767
|
+
}
|
|
768
|
+
addListeners(e, t) {
|
|
769
|
+
return this._emitter.addListeners(e, t);
|
|
770
|
+
}
|
|
771
|
+
getId() {
|
|
772
|
+
return this._id;
|
|
773
|
+
}
|
|
774
|
+
getVersionId() {
|
|
775
|
+
return this._transactions.getVersionId(this._id);
|
|
776
|
+
}
|
|
777
|
+
beginCommit(e) {
|
|
778
|
+
return this._beginCommit(e);
|
|
779
|
+
}
|
|
780
|
+
doBatch(e, t) {
|
|
781
|
+
let n = this;
|
|
782
|
+
return this._transactions.doBatch(e, typeof t == "string" ? { description: t } : t, (e) => {
|
|
783
|
+
n._processTransactionDone(e);
|
|
784
|
+
});
|
|
785
|
+
}
|
|
786
|
+
isClosed() {
|
|
787
|
+
return this._closed;
|
|
788
|
+
}
|
|
789
|
+
close() {
|
|
790
|
+
this._closed || (this._emitter.notify("onClose"), this._closed = !0, this._transactionsRemoveListener?.(), this._transactions.remove(this._id));
|
|
791
|
+
}
|
|
792
|
+
}, y = class e extends v {
|
|
793
|
+
static {
|
|
794
|
+
this.instanceCounter = 0;
|
|
795
|
+
}
|
|
796
|
+
constructor(t) {
|
|
797
|
+
super(t), this._watches = /* @__PURE__ */ new Set(), this._watchesReleased = !1, this._getMovable = t.getMovable ?? null, this._addWatchOption = t.addWatch ?? null, this._getRangeOption = t.getRange ?? null;
|
|
798
|
+
let n = t.name ?? null;
|
|
799
|
+
!n && this._getMovable && (n = `${this.getTypeDescription()} ${++e.instanceCounter}`);
|
|
800
|
+
let r = t.description ?? null;
|
|
801
|
+
n === null && r === null || this._updateState({
|
|
802
|
+
name: n,
|
|
803
|
+
description: r
|
|
804
|
+
});
|
|
805
|
+
}
|
|
806
|
+
getName() {
|
|
807
|
+
return this._closed ? null : this._getState()?.name ?? null;
|
|
808
|
+
}
|
|
809
|
+
setName(e) {
|
|
810
|
+
let n = { description: t("op.setMovableName") };
|
|
811
|
+
return this._protectionCheck(n.description), this._updateState({ name: e }, n, ["onAnyChange"]), this;
|
|
812
|
+
}
|
|
813
|
+
getDescription() {
|
|
814
|
+
return this._closed ? null : this._getState()?.description ?? null;
|
|
815
|
+
}
|
|
816
|
+
setDescription(e) {
|
|
817
|
+
let n = { description: t("op.setMovableDescription") };
|
|
818
|
+
return this._protectionCheck(n.description), this._updateState({ description: e || null }, n, ["onAnyChange"]), this;
|
|
819
|
+
}
|
|
820
|
+
getMovable() {
|
|
821
|
+
return this._getMovable?.() ?? null;
|
|
822
|
+
}
|
|
823
|
+
getReferences() {
|
|
824
|
+
if (this._closed || this._watchesReleased || this._watches.size === 0) return null;
|
|
825
|
+
let e = [], t = /* @__PURE__ */ new Set();
|
|
826
|
+
for (let n of this._watches) {
|
|
827
|
+
let r = n.formula?.getReferences() ?? this._parseReference(n.expression);
|
|
828
|
+
if (!r) continue;
|
|
829
|
+
let i = r.getCount();
|
|
830
|
+
for (let n = 0; n < i; n++) {
|
|
831
|
+
let i = r.at(n);
|
|
832
|
+
if (i.isInvalid()) continue;
|
|
833
|
+
let a = `${i.getSheet().getId()}!${i.getAddress()}`;
|
|
834
|
+
t.has(a) || (t.add(a), e.push(i));
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
return e.length === 0 ? null : e[0].getSheet().getRanges(e);
|
|
838
|
+
}
|
|
839
|
+
_addWatch(e, t, n) {
|
|
840
|
+
let r = typeof e == "string" ? e : e.getExpression(), i = {
|
|
841
|
+
expression: r.startsWith("=") ? r.substring(1) : r,
|
|
842
|
+
formula: null,
|
|
843
|
+
callback: t,
|
|
844
|
+
options: n,
|
|
845
|
+
release: null
|
|
846
|
+
};
|
|
847
|
+
return this._watches.add(i), this._watchesReleased || this._hold(i, typeof e == "string" ? void 0 : e), () => {
|
|
848
|
+
this._watches.delete(i) && (i.release?.(), i.release = null, this._notifyReferencesChange());
|
|
849
|
+
};
|
|
850
|
+
}
|
|
851
|
+
_resolveRange(e) {
|
|
852
|
+
return this._getRangeOption?.(e) ?? null;
|
|
853
|
+
}
|
|
854
|
+
_hold(e, t) {
|
|
855
|
+
let n = this._addWatchOption;
|
|
856
|
+
n && (e.release = n(t ?? e.expression, (t) => {
|
|
857
|
+
e.formula = t.formula, e.expression = t.formula.getExpression(), e.callback?.(t), this._notifyReferencesChange();
|
|
858
|
+
}, e.options));
|
|
859
|
+
}
|
|
860
|
+
_parseReference(e) {
|
|
861
|
+
if (!e || e.includes("#REF!")) return null;
|
|
862
|
+
try {
|
|
863
|
+
let t = e.includes("!") ? null : this.getMovable()?.getRange().getSheet(), n = t ? t.getRange(e) : this._resolveRange(e);
|
|
864
|
+
return n && !n.isInvalid() ? n.getSheet().getRanges([n]) : null;
|
|
865
|
+
} catch {
|
|
866
|
+
return null;
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
_notifyReferencesChange() {
|
|
870
|
+
this._closed || (this._emitter.notify("onReferencesChange"), this._emitter.notify("onAnyChange"));
|
|
871
|
+
}
|
|
872
|
+
_releaseWatches() {
|
|
873
|
+
this._watchesReleased = !0;
|
|
874
|
+
for (let e of this._watches) e.release?.(), e.release = null;
|
|
875
|
+
}
|
|
876
|
+
_holdWatches() {
|
|
877
|
+
this._watchesReleased = !1;
|
|
878
|
+
for (let e of this._watches) this._hold(e, e.formula ?? void 0);
|
|
879
|
+
}
|
|
880
|
+
_processDelete() {
|
|
881
|
+
this._releaseWatches(), super._processDelete();
|
|
882
|
+
}
|
|
883
|
+
_processRestoreOrRevert(e, t) {
|
|
884
|
+
super._processRestoreOrRevert(e, t);
|
|
885
|
+
let n = e === void 0 || !0 === e.isDeleted;
|
|
886
|
+
n && !this._watchesReleased ? this._releaseWatches() : !n && this._watchesReleased && this._holdWatches();
|
|
887
|
+
}
|
|
888
|
+
_getSourceId() {
|
|
889
|
+
let e = this._getState()?.data;
|
|
890
|
+
return typeof e?.sourceId == "number" ? e.sourceId : void 0;
|
|
891
|
+
}
|
|
892
|
+
_ensureSourceId(e) {
|
|
893
|
+
let n = this._getSourceId();
|
|
894
|
+
if (n !== void 0) return n;
|
|
895
|
+
let r = e(), i = this._getState()?.data ?? {};
|
|
896
|
+
return this._updateState({ data: {
|
|
897
|
+
...i,
|
|
898
|
+
sourceId: r
|
|
899
|
+
} }, { description: t("op.connectShape") }), r;
|
|
900
|
+
}
|
|
901
|
+
_protectionCheck(e) {
|
|
902
|
+
if (this.isReadOnly()) throw new r(_(e));
|
|
903
|
+
}
|
|
904
|
+
};
|
|
905
|
+
export { v as a, u as i, g as n, y as o, h as r, _ as t };
|