mixdashboards 1.1.13 → 1.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AgGridTable-BjGMC3qC.js → AgGridTable-Cr7AVD7d.js} +1 -1
- package/dist/{AgGridTable-Bi7O66-r.cjs → AgGridTable-DU6yvOpb.cjs} +1 -1
- package/dist/{BaseComponent-9njJjeix.cjs → BaseComponent-CPat9pFl.cjs} +1 -1
- package/dist/{BaseComponent-B38Blgw3.js → BaseComponent-DMJmgFIo.js} +3 -3
- package/dist/{EChartComponentBase-BwbycwwW.cjs → EChartComponentBase-Cj_dO_ES.cjs} +1 -1
- package/dist/{EChartComponentBase-DJScukmS.js → EChartComponentBase-DrDdGF1C.js} +2 -2
- package/dist/{EmergencyPlanPanel-BxzP1xYW.cjs → EmergencyPlanPanel-B_zAk2e3.cjs} +1 -1
- package/dist/{EmergencyPlanPanel-D3GF-xQQ.js → EmergencyPlanPanel-TBKoqIa0.js} +1 -1
- package/dist/{HistoryPlanDialog-DQXCUsy4.cjs → HistoryPlanDialog-92_V1nQB.cjs} +1 -1
- package/dist/{HistoryPlanDialog-DpaiRZgi.js → HistoryPlanDialog-HKCYJnCh.js} +1 -1
- package/dist/{MixiotAppDetailPage-BGfF3qrm.js → MixiotAppDetailPage-BQZhhM3Q.js} +1 -1
- package/dist/{MixiotAppDetailPage-CL1Sd9HJ.cjs → MixiotAppDetailPage-wddBsvgj.cjs} +1 -1
- package/dist/{MonitoringMap-Wzsw3hVH.cjs → MonitoringMap-Dh9TWEoX.cjs} +1 -1
- package/dist/{MonitoringMap-DQkO116Z.js → MonitoringMap-wOD2eWiY.js} +2 -2
- package/dist/{UniverSheet-Bne7JZyr.cjs → UniverSheet-B76C9C3z.cjs} +1 -1
- package/dist/{UniverSheet-Cd2a9LPx.js → UniverSheet-BxGZmiAP.js} +2 -2
- package/dist/{accelerationChart-BJhVC_l5.cjs → accelerationChart-BHspqWCw.cjs} +1 -1
- package/dist/{accelerationChart-BUsbSkwA.js → accelerationChart-T-LB2UqH.js} +2 -2
- package/dist/{actionItem-DxB7IvtW.cjs → actionItem-CD6E8s6n.cjs} +1 -1
- package/dist/{actionItem-B3B4MFcW.js → actionItem-Ch9jL-8V.js} +2 -2
- package/dist/{alarmLevelChart-DC_hx4Pn.cjs → alarmLevelChart-Chh-SGw4.cjs} +1 -1
- package/dist/{alarmLevelChart-DC-q2AgI.js → alarmLevelChart-DuQtzr0i.js} +2 -2
- package/dist/{alertTable-CHfA0TR-.cjs → alertTable-CnZCtID1.cjs} +1 -1
- package/dist/{alertTable-CGRDnNPw.js → alertTable-DoE1UTWF.js} +2 -2
- package/dist/{aliasObjectSelectorDemo-DGoLPE4i.cjs → aliasObjectSelectorDemo-BKLLJY3E.cjs} +1 -1
- package/dist/{aliasObjectSelectorDemo-DuGQCEcG.js → aliasObjectSelectorDemo-CAKTzbqy.js} +1 -1
- package/dist/{annualRainfallChart-Dr8KKYOG.js → annualRainfallChart-C06ujiLk.js} +2 -2
- package/dist/{annualRainfallChart-CLxVqN5Z.cjs → annualRainfallChart-CjaFNTTM.cjs} +1 -1
- package/dist/{aqi-BmYGSf2e.cjs → aqi-B6CEx8sE.cjs} +1 -1
- package/dist/{aqi-rBhSWA_m.js → aqi-CZ2gjTXo.js} +2 -2
- package/dist/{aqiIndass-Cpqau5M0.cjs → aqiIndass-CUuczycJ.cjs} +1 -1
- package/dist/{aqiIndass-DqJBc799.js → aqiIndass-CV6JefRZ.js} +2 -2
- package/dist/{areaDeformCurve-B924KVWX.cjs → areaDeformCurve-C60FahWu.cjs} +1 -1
- package/dist/{areaDeformCurve-DpHWg6pf.js → areaDeformCurve-CyG8zh6J.js} +2 -2
- package/dist/{arrayCard-C7anoYI-.js → arrayCard-BSI7KqPn.js} +2 -2
- package/dist/{arrayCard-Bzjg3HKN.cjs → arrayCard-CLu8UfQy.cjs} +1 -1
- package/dist/{audio-DTiS2piX.js → audio-Q13sznt_.js} +2 -2
- package/dist/{audio-aADcgdZP.cjs → audio-zKQ44FKN.cjs} +1 -1
- package/dist/{bar-D32xICYZ.js → bar-BISEWCfM.js} +2 -2
- package/dist/{bar-DqY55XnC.cjs → bar-CNb34Izd.cjs} +1 -1
- package/dist/{basicShapeToolbox-D8q86CzB.js → basicShapeToolbox--WQ0UXKa.js} +2 -2
- package/dist/{basicShapeToolbox-BvJjH4fV.cjs → basicShapeToolbox-BkPIElK7.cjs} +1 -1
- package/dist/{bmp-DU3vm7yj.js → bmp-Ohs2XiTO.js} +2 -2
- package/dist/{bmp-DIFGLoNl.cjs → bmp-fBe7llKN.cjs} +1 -1
- package/dist/{box-C8pOZXek.cjs → box-BZGYB00G.cjs} +1 -1
- package/dist/{box-DTQKGR9g.js → box-UAgHgnGs.js} +2 -2
- package/dist/{chartConfigPanel-Bz82sVyH.js → chartConfigPanel-Bw8uepae.js} +1 -1
- package/dist/{chartConfigPanel-D4vk7zWs.cjs → chartConfigPanel-WLvSpg3a.cjs} +1 -1
- package/dist/{circleBar-B48h_-uK.cjs → circleBar-B1JVQluC.cjs} +1 -1
- package/dist/{circleBar-ClO05bgq.js → circleBar-BUtmqZym.js} +2 -2
- package/dist/{clock-DB94wQje.cjs → clock-BNJFjC85.cjs} +1 -1
- package/dist/{clock-D8ZXhy53.js → clock-DhNe_L29.js} +2 -2
- package/dist/{clt-cxeCTOaA.cjs → clt-DS09EYqd.cjs} +1 -1
- package/dist/{clt-BX0SNGZr.js → clt-DgElAJo_.js} +2 -2
- package/dist/{cmc-BvnYrQrR.cjs → cmc-YYd7u-QY.cjs} +1 -1
- package/dist/{cmc-Co13D559.js → cmc-uYTH_bql.js} +2 -2
- package/dist/{cmp-B4cYCR4p.js → cmp-DwNUtgiD.js} +2 -2
- package/dist/{cmp-Dd56EQ09.cjs → cmp-_LIlSPJ1.cjs} +1 -1
- package/dist/{conclusionCard-Bla25-qd.js → conclusionCard-2e7U38q9.js} +2 -2
- package/dist/{conclusionCard-Cd3DoD1l.cjs → conclusionCard-BJCT66AX.cjs} +1 -1
- package/dist/{controlList-CyT_LYgr.cjs → controlList-Cm7vrNpm.cjs} +1 -1
- package/dist/{controlList-Dx4wSpA7.js → controlList-J_DItB3R.js} +3 -3
- package/dist/{controlRecordList-DsxYHRrs.cjs → controlRecordList-DwH-MkK_.cjs} +1 -1
- package/dist/{controlRecordList-BAI_15ZN.js → controlRecordList-GGUGUMMv.js} +3 -3
- package/dist/{controlRecordListAPP-BQlABx3f.js → controlRecordListAPP-C4LPtUXx.js} +2 -2
- package/dist/{controlRecordListAPP-Zfiwcrmq.cjs → controlRecordListAPP-CWJlq6Q4.cjs} +1 -1
- package/dist/{crd-IsqkYOAy.js → crd-DqDMG-hx.js} +56 -57
- package/dist/crd-W0OZyu6Q.cjs +1 -0
- package/dist/{ctrBtn-C3OqkyNS.cjs → ctrBtn-CWT3PVMG.cjs} +1 -1
- package/dist/{ctrBtn-LwuY-nVR.js → ctrBtn-DSqCP9tA.js} +3 -3
- package/dist/{ctrSet-B0nYCdwh.cjs → ctrSet-BKppFnu1.cjs} +1 -1
- package/dist/{ctrSet-Qb5XEdD4.js → ctrSet-D-bAunly.js} +3 -3
- package/dist/{ctrSwitch-Bps4Ak15.cjs → ctrSwitch-BFJ-KrvY.cjs} +1 -1
- package/dist/{ctrSwitch-B3jo3Gx0.js → ctrSwitch-CvuXs2UU.js} +3 -3
- package/dist/{dataManagement-CVHalRKp.js → dataManagement-BorUl90l.js} +2 -2
- package/dist/{dataManagement-BFxVtU33.cjs → dataManagement-C13-RFUx.cjs} +1 -1
- package/dist/{dataReport-Bk79cBkV.cjs → dataReport-Bur1aIJL.cjs} +1 -1
- package/dist/{dataReport-B2AiDMdM.js → dataReport-F8EPUK0m.js} +2 -2
- package/dist/{dataTable-Dh7s14jM.cjs → dataTable-B1uLxNVm.cjs} +1 -1
- package/dist/{dataTable-D9sSJRQn.js → dataTable-Digc4UYG.js} +1 -1
- package/dist/{datetime-CEKzNAlD.js → datetime-B2HzR4oW.js} +2 -2
- package/dist/{datetime-C25d1bAc.cjs → datetime-JquezhC4.cjs} +1 -1
- package/dist/{deepClusterSlipSurface-DODVh-Qw.js → deepClusterSlipSurface-C5KWD61Q.js} +2 -2
- package/dist/{deepClusterSlipSurface-BLZL2xX6.cjs → deepClusterSlipSurface-LiAhIFTL.cjs} +1 -1
- package/dist/{deepDataMatrix-D_NPV2sQ.cjs → deepDataMatrix-Cf_RcM6k.cjs} +1 -1
- package/dist/{deepDataMatrix-9iClruS0.js → deepDataMatrix-CrVKo32h.js} +2 -2
- package/dist/{deepDisplacement3D-C6puNK1m.cjs → deepDisplacement3D-CFGsM61z.cjs} +1 -1
- package/dist/{deepDisplacement3D-C5YMqHiD.js → deepDisplacement3D-CqpBMdR9.js} +2 -2
- package/dist/{deepDisplacementChart-DEn2yqGO.js → deepDisplacementChart-BltwfhE1.js} +3 -3
- package/dist/{deepDisplacementChart-DhQO428W.cjs → deepDisplacementChart-Df3FUPCh.cjs} +1 -1
- package/dist/{deepDisplacementChart-D-dqPlzq.cjs → deepDisplacementChart-DkjQ4fkv.cjs} +1 -1
- package/dist/{deepDisplacementChart-9sQF6tFO.js → deepDisplacementChart-qEVHkptV.js} +2 -2
- package/dist/{deepDisplacementView-tzX-vzxO.cjs → deepDisplacementView-CiqJXRCI.cjs} +1 -1
- package/dist/{deepDisplacementView-Cux6lFtG.js → deepDisplacementView-a9DN060j.js} +1 -1
- package/dist/{deepNodeTemperatureChart-Cyfnw2BR.cjs → deepNodeTemperatureChart-BtcEmexL.cjs} +1 -1
- package/dist/{deepNodeTemperatureChart--GH8-4O7.js → deepNodeTemperatureChart-t6-mnDzl.js} +2 -2
- package/dist/{deepTangentAngleChart-Dae_3j30.js → deepTangentAngleChart-ZzdLeEzC.js} +2 -2
- package/dist/{deepTangentAngleChart-DPMDFXiA.cjs → deepTangentAngleChart-gewuzLOU.cjs} +1 -1
- package/dist/{deepTemperatureField-B3Eu4zqv.cjs → deepTemperatureField-BxIxt-TJ.cjs} +1 -1
- package/dist/{deepTemperatureField-Cr2e_Ytp.js → deepTemperatureField-yLmp7ory.js} +3 -3
- package/dist/{deepTrendChart-8fniZ16K.js → deepTrendChart-BiPoTZsv.js} +2 -2
- package/dist/{deepTrendChart-BPYqojQ2.cjs → deepTrendChart-Crqx6O9C.cjs} +1 -1
- package/dist/{deviceOnlineStatus-mJ0KVMo4.cjs → deviceOnlineStatus-DiK6L6te.cjs} +1 -1
- package/dist/{deviceOnlineStatus-DP7-u5lC.js → deviceOnlineStatus-vMr4Ttoe.js} +2 -2
- package/dist/{deviceStatus-B0AxN-cY.cjs → deviceStatus-BWr8xMGE.cjs} +1 -1
- package/dist/{deviceStatus-Ih0jQNYO.js → deviceStatus-DQ1mH-tr.js} +2 -2
- package/dist/{displacementDataTable-BbZjdMtX.js → displacementDataTable-C1YNWIwQ.js} +2 -2
- package/dist/{displacementDataTable-Dkka_jGJ.cjs → displacementDataTable-CX9Hk2mo.cjs} +1 -1
- package/dist/{displacementTrajectoryChart-DDwm-jr2.cjs → displacementTrajectoryChart-Bxiam7z3.cjs} +1 -1
- package/dist/{displacementTrajectoryChart-BZDSkYoZ.js → displacementTrajectoryChart-DSPVm9mn.js} +2 -2
- package/dist/{displacementTrendChart-CUeVa58Q.cjs → displacementTrendChart-4z9j3til.cjs} +1 -1
- package/dist/{displacementTrendChart-DZZaVi86.js → displacementTrendChart-DM18rfxN.js} +2 -2
- package/dist/{dxf-BOfmTSO8.cjs → dxf-BIvGNyQr.cjs} +1 -1
- package/dist/{dxf-DYC74yWV.js → dxf-CZdTRr3-.js} +2 -2
- package/dist/{dzc-DUFiz7a_.cjs → dzc-BrR_-vKI.cjs} +1 -1
- package/dist/{dzc-BU7yYW4I.js → dzc-b6JbaxSz.js} +2 -2
- package/dist/{emergencyPlan-DDb6j7YU.cjs → emergencyPlan-CIHoGe6V.cjs} +1 -1
- package/dist/{emergencyPlan-DabL46QK.js → emergencyPlan-Gi2_uHgX.js} +3 -3
- package/dist/{evn-DhdColcF.js → evn-B0lZlMO4.js} +2 -2
- package/dist/{evn-DrreVqnm.cjs → evn-_5PRwXFL.cjs} +1 -1
- package/dist/{evolutionChart-aedDj0mQ.js → evolutionChart-Cg14O4jy.js} +3 -3
- package/dist/{evolutionChart-QuGAgjXo.cjs → evolutionChart-xsho6XVP.cjs} +1 -1
- package/dist/{fileViewer-oBpWIjGb.js → fileViewer-Cyrv561L.js} +2 -2
- package/dist/{fileViewer-CvNnUxUK.cjs → fileViewer-z1v9eLyT.cjs} +1 -1
- package/dist/{filterBar-CwHODFoy.cjs → filterBar-BUNhPZd2.cjs} +1 -1
- package/dist/{filterBar-DYpEssxC.js → filterBar-DB4bnLZ0.js} +2 -2
- package/dist/{fireCombustionCurve-lu2qH6_b.cjs → fireCombustionCurve-Dej-lndv.cjs} +1 -1
- package/dist/{fireCombustionCurve-wbKsWk4E.js → fireCombustionCurve-S5aOdnbU.js} +3 -3
- package/dist/{fireFilterBar-9_fqGo2q.js → fireFilterBar-CtBV9WL_.js} +2 -2
- package/dist/{fireFilterBar-B8su74tt.cjs → fireFilterBar-cB6h_XQy.cjs} +1 -1
- package/dist/{fireHistoryTable-pOJz1_Rp.cjs → fireHistoryTable-DOCuy-HR.cjs} +1 -1
- package/dist/{fireHistoryTable-C1C95uYN.js → fireHistoryTable-DZZOy0kR.js} +2 -2
- package/dist/{gag-BGUeQKJJ.js → gag-B9dx9otC.js} +2 -2
- package/dist/{gag-LSkHPD7f.cjs → gag-DkKmJPZ1.cjs} +1 -1
- package/dist/{gasStationList-DJTrXjkv.cjs → gasStationList-DisLh5Uj.cjs} +1 -1
- package/dist/{gasStationList-4TtBLsqC.js → gasStationList-X2Asa789.js} +2 -2
- package/dist/{geo3dViewer-CK89hYK7.cjs → geo3dViewer-CBt6ecb8.cjs} +1 -1
- package/dist/{geo3dViewer-DIjv75YP.js → geo3dViewer-CiKzVKzd.js} +3 -3
- package/dist/{glbModel-IOIVpCjq.js → glbModel-BnnNfJu8.js} +2 -2
- package/dist/{glbModel-BDgY9S4f.cjs → glbModel-vxOxcBfY.cjs} +1 -1
- package/dist/{globalObjectSelector-B2dkzNyk.js → globalObjectSelector-BuY_B24m.js} +1 -1
- package/dist/{globalObjectSelector-N7s0yyOp.cjs → globalObjectSelector-CGjUMfxb.cjs} +1 -1
- package/dist/{gnssFilterBar-BF_tbN4_.js → gnssFilterBar-BAjtjr4i.js} +2 -2
- package/dist/{gnssFilterBar-8eSkGWMH.cjs → gnssFilterBar-BFA38iLP.cjs} +1 -1
- package/dist/{gnssHistoryTable-DUjRjXoS.js → gnssHistoryTable-Djvc6Jdb.js} +2 -2
- package/dist/{gnssHistoryTable-X_cgOa6r.cjs → gnssHistoryTable-WkPj3f6N.cjs} +1 -1
- package/dist/{gnssMapView-DnF2bYAD.cjs → gnssMapView-BH3RBHEQ.cjs} +2 -2
- package/dist/{gnssMapView-BnwPDey9.js → gnssMapView-DeJLZEJb.js} +4 -4
- package/dist/{gnssSectionProfile-D0sbRu3A.js → gnssSectionProfile-CU_czVAF.js} +2 -2
- package/dist/{gnssSectionProfile-DoEXHKTy.cjs → gnssSectionProfile-xaVKtgrn.cjs} +1 -1
- package/dist/{gnssTimeSeriesChart-glTixABx.js → gnssTimeSeriesChart-BvSyllnp.js} +2 -2
- package/dist/{gnssTimeSeriesChart-Csm6PwRv.cjs → gnssTimeSeriesChart-hpXlRHme.cjs} +1 -1
- package/dist/{gnssXYTrajectory-4c8JDd_b.cjs → gnssXYTrajectory-CIC6gn9B.cjs} +1 -1
- package/dist/{gnssXYTrajectory-BMCO0sb0.js → gnssXYTrajectory-Dmdq-PnT.js} +2 -2
- package/dist/{grd-BTGTCp0z.js → grd-B3_37W5r.js} +2 -2
- package/dist/{grd-D1enzYOI.cjs → grd-BNh82cJv.cjs} +1 -1
- package/dist/{grdIndass-Dn62HL6y.js → grdIndass-C2_cKlqo.js} +2 -2
- package/dist/{grdIndass-B6fwa_k8.cjs → grdIndass-UL5YpOVN.cjs} +1 -1
- package/dist/{grg-B5128EcW.cjs → grg-RBfTeprb.cjs} +1 -1
- package/dist/{grg-DMOF8h8j.js → grg-l-LZiFIi.js} +2 -2
- package/dist/{gridview-Ddin99YO.cjs → gridview-DQ3UYvRc.cjs} +1 -1
- package/dist/{gridview-Dewc5Eax.js → gridview-DdVcRQDa.js} +2 -2
- package/dist/{groundwaterFilterBar-2uj_Hf_Q.cjs → groundwaterFilterBar-CNt_-xoQ.cjs} +1 -1
- package/dist/{groundwaterFilterBar-mukvYHDm.js → groundwaterFilterBar-DBMk3gox.js} +2 -2
- package/dist/{groundwaterProfileChart-BPTP8WBi.js → groundwaterProfileChart-CJeACUDa.js} +3 -3
- package/dist/{groundwaterProfileChart-DDVsfzyr.cjs → groundwaterProfileChart-DPgBwHGo.cjs} +2 -2
- package/dist/{groundwaterTimeCurve-Zzn-sEsW.cjs → groundwaterTimeCurve-BJ2-dRCa.cjs} +1 -1
- package/dist/{groundwaterTimeCurve-jtQFr0hU.js → groundwaterTimeCurve-DPQlZknH.js} +3 -3
- package/dist/{groupCard-B3fp05QD.js → groupCard-CaoCu7P5.js} +2 -2
- package/dist/{groupCard-DWjFdiH0.cjs → groupCard-yyzjr8U4.cjs} +1 -1
- package/dist/{headerBar-B6lX3WST.cjs → headerBar-B_XVnPEY.cjs} +1 -1
- package/dist/{headerBar-BkpSQMNy.js → headerBar-UZR69ix4.js} +2 -2
- package/dist/{history-DqPjJP_E.cjs → history-DHsGJFOf.cjs} +1 -1
- package/dist/{history-DgSlSTUD.js → history-DptcYt8k.js} +1 -1
- package/dist/{index-Bo49zvKb.cjs → index-D9ehIVda.cjs} +8 -8
- package/dist/{index-BbXEpgom.js → index-nru6zK5E.js} +1560 -1549
- package/dist/{insarDeformChart-8UyVWXTx.cjs → insarDeformChart-D5y2pi6R.cjs} +1 -1
- package/dist/{insarDeformChart-DNBHbVuk.js → insarDeformChart-DYrt3aNq.js} +2 -2
- package/dist/{insarImageViewer-B8PhDcuG.cjs → insarImageViewer-BGP-ktoS.cjs} +1 -1
- package/dist/{insarImageViewer-BeykgIJy.js → insarImageViewer-DuXOrFV0.js} +2 -2
- package/dist/{kds-CS473Sia.js → kds-DQW17H8R.js} +2 -2
- package/dist/{kds-BJwYrjV_.cjs → kds-Dp4hx0W6.cjs} +1 -1
- package/dist/{kpiCard-OMuCQe7O.cjs → kpiCard-0aUt2U5z.cjs} +1 -1
- package/dist/{kpiCard-CNgj9P9s.js → kpiCard-DyO-3YLf.js} +2 -2
- package/dist/{landslideMap-NaGM5jJE.cjs → landslideMap-2yF_d4_7.cjs} +1 -1
- package/dist/{landslideMap-DMNcfDYF.js → landslideMap-D5U5hSkY.js} +3 -3
- package/dist/{landslideWarning-V1wB3aWq.cjs → landslideWarning-C2BZY-at.cjs} +1 -1
- package/dist/{landslideWarning-DU-dDiiS.js → landslideWarning-bIAgVIIX.js} +5 -5
- package/dist/{layerTabs-Bgi7pfof.js → layerTabs-C26xKIu6.js} +2 -2
- package/dist/{layerTabs-VfYlv6Ks.cjs → layerTabs-iEkQSuRJ.cjs} +1 -1
- package/dist/{leaflet-src-WG2ob5HA.cjs → leaflet-src-DGU8KhZD.cjs} +1 -1
- package/dist/{leaflet-src-4AJHN6it.js → leaflet-src-xderqfOz.js} +1 -1
- package/dist/{lerc-BDiJ3I_S.js → lerc-CCL-0sUH.js} +2 -2
- package/dist/{lerc-CEea2nO1.cjs → lerc-nnW6QG9P.cjs} +1 -1
- package/dist/{lin-B_rN6QBj.cjs → lin-psrIdmWq.cjs} +1 -1
- package/dist/{lin-BO1pGlXr.js → lin-qPc-DZV1.js} +2 -2
- package/dist/{linIndass-B7XnW5XO.cjs → linIndass-C3h0p0ok.cjs} +1 -1
- package/dist/{linIndass-BGpoCQ4j.js → linIndass-DHJqj7k0.js} +2 -2
- package/dist/{lst-BBl9nn63.js → lst-CI_bABXS.js} +2 -2
- package/dist/{lst-BeB_Gi9l.cjs → lst-D3Qmo7He.cjs} +1 -1
- package/dist/{manualEntry-C3qifAlP.js → manualEntry-C3A9qrDX.js} +2 -2
- package/dist/{manualEntry-BQVUqtm7.cjs → manualEntry-D7SZvGOp.cjs} +1 -1
- package/dist/{mapBackground-CDS60ZJC.js → mapBackground-BugTUIga.js} +3 -3
- package/dist/{mapBackground-D3-V7S-d.cjs → mapBackground-CYvUGNV6.cjs} +1 -1
- package/dist/{mappingList-B0jG2LlO.js → mappingList-70-e0OmS.js} +3 -3
- package/dist/{mappingList-DnoAuivo.cjs → mappingList-BJ-loWWS.cjs} +1 -1
- package/dist/{markdownViewer-BlXaqjhL.js → markdownViewer-BxSVHMco.js} +2 -2
- package/dist/{markdownViewer-BMkbW1Cl.cjs → markdownViewer-D_j1zaJM.cjs} +1 -1
- package/dist/materialFileUrl-DkrGz5LQ.cjs +1 -0
- package/dist/{materialFileUrl-hKqW_JAq.js → materialFileUrl-SyvwFB5E.js} +5 -4
- package/dist/{mix-control-modal-aUWGjwZP.cjs → mix-control-modal-CS-lOybT.cjs} +1 -1
- package/dist/{mix-control-modal-BEXucxt5.js → mix-control-modal-DvWbmJn_.js} +1 -1
- package/dist/{mixGrid-B5pKpGT3.cjs → mixGrid-BmZ5Qqa9.cjs} +1 -1
- package/dist/{mixGrid-DQf7U1_8.js → mixGrid-XI6dlQNw.js} +2 -2
- package/dist/mixdashboards.cjs +1 -1
- package/dist/mixdashboards.css +1 -1
- package/dist/mixdashboards.js +1 -1
- package/dist/{mjpegCamera-C6pxWuEr.js → mjpegCamera-BXrFeGm3.js} +2 -2
- package/dist/{mjpegCamera-CJgiIk0q.cjs → mjpegCamera-D2-Uc2EO.cjs} +1 -1
- package/dist/{monitorAlert-BPd1b_Cx.cjs → monitorAlert-CnP_gjvI.cjs} +1 -1
- package/dist/{monitorAlert-ZNF5siqY.js → monitorAlert-TjkxV9nx.js} +2 -2
- package/dist/{monitorData-slk6ogNe.cjs → monitorData-BpyzcuzE.cjs} +1 -1
- package/dist/{monitorData-DIxZYNVr.js → monitorData-CkD6tz8x.js} +2 -2
- package/dist/{monitorSpeedChart-BRwbLD8B.cjs → monitorSpeedChart-BE9wJ8LA.cjs} +1 -1
- package/dist/{monitorSpeedChart-DCO39Aka.js → monitorSpeedChart-LMAvdp1a.js} +1 -1
- package/dist/{mxa-DFq19ply.js → mxa-BGm4E2oj.js} +2 -2
- package/dist/{mxa-Bp4RH0w3.cjs → mxa-CzskPPvU.cjs} +1 -1
- package/dist/{myValue-g8shJQA9.cjs → myValue-BeTEf6SX.cjs} +1 -1
- package/dist/{myValue-BvItzUMv.js → myValue-BnlcjDSq.js} +2 -2
- package/dist/{myValueList-A_UGyNxN.js → myValueList-B5swLYff.js} +2 -2
- package/dist/{myValueList-DnZBoJXp.cjs → myValueList-zVkTLQrP.cjs} +1 -1
- package/dist/{objectList-DgVJlA1o.js → objectList-BHKtuK_E.js} +225 -213
- package/dist/objectList-CVz7jUhV.cjs +1 -0
- package/dist/{objectListAPP-CdewSo8l.js → objectListAPP-0Iuanvz-.js} +3 -3
- package/dist/{objectListAPP-DxRImk8W.cjs → objectListAPP-BAXwRH73.cjs} +1 -1
- package/dist/{percentBar-Cq5ACj9c.cjs → percentBar-Dy_RZ-16.cjs} +1 -1
- package/dist/{percentBar-BvmYW_u6.js → percentBar-UaUBa8pT.js} +2 -2
- package/dist/{photo-t11P9WKh.js → photo-BN8MzHVR.js} +3 -3
- package/dist/{photo-B-kxNdb5.cjs → photo-C7eoToJB.cjs} +1 -1
- package/dist/{pie-yTahcSl_.js → pie-C0gZTNM3.js} +2 -2
- package/dist/{pie-0s6FwVBt.cjs → pie-CPyctjgS.cjs} +1 -1
- package/dist/{placeholder-DBmyvwFn.cjs → placeholder-BHJQm9H3.cjs} +1 -1
- package/dist/{placeholder-D_CaQ-hg.js → placeholder-tSU5fQxu.js} +1 -1
- package/dist/{pressBtn-CP4kJr-P.js → pressBtn-D4vNvwB7.js} +3 -3
- package/dist/{pressBtn-JFezb7Yx.cjs → pressBtn-DmprQWtp.cjs} +1 -1
- package/dist/{processTable-BXswsnmt.js → processTable-BfbVj9Rv.js} +2 -2
- package/dist/{processTable-DRdI9ExW.cjs → processTable-CItb59hD.cjs} +1 -1
- package/dist/{progressBar-Sn6tAxTY.cjs → progressBar-BNArO298.cjs} +1 -1
- package/dist/{progressBar-D1Xh5APg.js → progressBar-CeWq1Q8-.js} +2 -2
- package/dist/{progressCircle-BMpJVwIE.js → progressCircle-BshtPibr.js} +2 -2
- package/dist/{progressCircle-DLk9v_Os.cjs → progressCircle-CFPbq8WS.cjs} +1 -1
- package/dist/{qrcode-BDtn3Ql7.cjs → qrcode-DVtk1b5F.cjs} +1 -1
- package/dist/{qrcode-BqlqV7Jf.js → qrcode-UsFuP8-Y.js} +2 -2
- package/dist/{raceBar-BpvWNCV7.cjs → raceBar-BYLfgaFz.cjs} +1 -1
- package/dist/{raceBar-zSL-J18j.js → raceBar-COvS_R8D.js} +2 -2
- package/dist/{rad-DSfVfaMa.cjs → rad-CkB-n_ms.cjs} +1 -1
- package/dist/{rad-CZhY-L-z.js → rad-D33c2RGY.js} +2 -2
- package/dist/{radarMapViewer-B4tTLLyl.js → radarMapViewer-BODSZl1u.js} +2 -2
- package/dist/{radarMapViewer-GmzS18dJ.cjs → radarMapViewer-DlFWHDQy.cjs} +1 -1
- package/dist/{rainfallFilterBar-ijVmoglb.js → rainfallFilterBar-BFMnGW2A.js} +2 -2
- package/dist/{rainfallFilterBar-DHaVjXt5.cjs → rainfallFilterBar-DquisAn6.cjs} +1 -1
- package/dist/{rainfallTimeCurve-B3_bl5L6.js → rainfallTimeCurve-C7AGPuwX.js} +3 -3
- package/dist/{rainfallTimeCurve-Crz3Adzh.cjs → rainfallTimeCurve-DXFH_dGt.cjs} +1 -1
- package/dist/{rangeLin-BOEsEaV1.js → rangeLin-Cda_LTSF.js} +2 -2
- package/dist/{rangeLin-DpEbvxsg.cjs → rangeLin-s-_gmKS0.cjs} +1 -1
- package/dist/{realtimeEvolutionMap-C2u4a2JL.js → realtimeEvolutionMap-BZGG9sn0.js} +2 -2
- package/dist/{realtimeEvolutionMap-BwQJkus6.cjs → realtimeEvolutionMap-DZAGkUNu.cjs} +1 -1
- package/dist/{regionBar-BQr-kq-M.js → regionBar-BJL96Emk.js} +2 -2
- package/dist/{regionBar-P1fqv7Vb.cjs → regionBar-LMJvgf0X.cjs} +1 -1
- package/dist/{request-Bn2gQLgM.js → request-DegJhVlL.js} +1 -1
- package/dist/{request-D9N74QdZ.cjs → request-DkP7M6Af.cjs} +1 -1
- package/dist/{retainer1-BCh8WSOq.cjs → retainer1-B0ZegRdn.cjs} +1 -1
- package/dist/{retainer1-Fnw0-Jvy.js → retainer1-CkOgZNh9.js} +3 -3
- package/dist/{retainer2-_3NOOefF.cjs → retainer2-D28sge-m.cjs} +1 -1
- package/dist/{retainer2-nPyFv6Hs.js → retainer2-npgiiskx.js} +3 -3
- package/dist/{retainerRecordList-BaOTTQQN.cjs → retainerRecordList-B8nyu28l.cjs} +1 -1
- package/dist/{retainerRecordList-C_UsUKsQ.js → retainerRecordList-hv5QyWME.js} +3 -3
- package/dist/{retainerRecordListAPP-BgKyfAMh.js → retainerRecordListAPP-DkXvtq9K.js} +3 -3
- package/dist/{retainerRecordListAPP-CE3l6WrB.cjs → retainerRecordListAPP-WALqHGbm.cjs} +1 -1
- package/dist/{ringTopN-Dz0EoM-A.js → ringTopN-Becl3FRO.js} +2 -2
- package/dist/{ringTopN-DEv30Ms2.cjs → ringTopN-BknMVZLZ.cjs} +1 -1
- package/dist/{riskRegionTable-Dot8zD_6.js → riskRegionTable-Cd_0Rd-M.js} +2 -2
- package/dist/{riskRegionTable-BODT2UTF.cjs → riskRegionTable-CyJIOy57.cjs} +1 -1
- package/dist/{sankey-CbEUEE5B.js → sankey-DcdzfDDI.js} +2 -2
- package/dist/{sankey-CYTyQB-L.cjs → sankey-wr0x7tfw.cjs} +1 -1
- package/dist/scd-B7RWxgVJ.cjs +1 -0
- package/dist/{scd-Btsiastw.js → scd-vg1A8R5X.js} +344 -348
- package/dist/{sideMenu-dnpq3qTF.cjs → sideMenu-BQmUk_pp.cjs} +1 -1
- package/dist/{sideMenu-BxJRAAdM.js → sideMenu-r-paLSMO.js} +2 -2
- package/dist/{slopeStability-DX7WP5ZW.cjs → slopeStability-C9dfB2fF.cjs} +1 -1
- package/dist/{slopeStability-DrooNf1g.js → slopeStability-CCGImuom.js} +2 -2
- package/dist/{speedCurve-BT8wnfZI.cjs → speedCurve-BVeqdClI.cjs} +1 -1
- package/dist/{speedCurve-CNUJ5ScK.js → speedCurve-Dwf-w3GL.js} +2 -2
- package/dist/{stackedBar-X8Y4lVgT.cjs → stackedBar-C0M7bOpV.cjs} +1 -1
- package/dist/{stackedBar-nIfO6Aa3.js → stackedBar-lXH6oJX4.js} +2 -2
- package/dist/{stationList-D7lGCblu.js → stationList-34Qu34hq.js} +2 -2
- package/dist/{stationList-DVzvGGHI.cjs → stationList-DB-Hn4KT.cjs} +1 -1
- package/dist/{stressFilterBar-D5xktTRI.cjs → stressFilterBar-BfmLl6RK.cjs} +1 -1
- package/dist/{stressFilterBar-DqeqFHm7.js → stressFilterBar-e1E4tOup.js} +2 -2
- package/dist/{stressTimeCurve-DfjNQ0rU.js → stressTimeCurve-BUo51IkU.js} +3 -3
- package/dist/{stressTimeCurve-Bhhb-eqB.cjs → stressTimeCurve-D_lNCKx9.cjs} +1 -1
- package/dist/{swiper-DuNuvT_N.js → swiper-43PBhQqD.js} +2 -2
- package/dist/{swiper-XCpwFkWS.cjs → swiper-CrFwcs3m.cjs} +1 -1
- package/dist/{tablemanCreate-Cp5DaYUd.cjs → tablemanCreate-1S_EcSDm.cjs} +1 -1
- package/dist/{tablemanCreate-Cp9nOGg2.js → tablemanCreate-CpbZDLF6.js} +3 -3
- package/dist/{tablemanDetail-3ZMWkdpz.cjs → tablemanDetail-DlTYZCx5.cjs} +1 -1
- package/dist/{tablemanDetail-DvZdgdHD.js → tablemanDetail-DyCQ7DyB.js} +4 -4
- package/dist/{tablemanList-OLxgUmAi.cjs → tablemanList-BbjUecnu.cjs} +1 -1
- package/dist/{tablemanList-DZdb1FUR.js → tablemanList-C6Gtfx1o.js} +4 -4
- package/dist/{tablemanTableList-BN6QjYEV.cjs → tablemanTableList-DR_KxUuu.cjs} +1 -1
- package/dist/{tablemanTableList-CqsnRIHS.js → tablemanTableList-Dj71HRDW.js} +3 -3
- package/dist/{tablemanUpdate-CHs5OgAG.js → tablemanUpdate-BtnIRkBn.js} +3 -3
- package/dist/{tablemanUpdate-E3d7A3WM.cjs → tablemanUpdate-CA7JRGBh.cjs} +1 -1
- package/dist/{terminalConfigList-BlgcWy40.cjs → terminalConfigList-BDaYrefd.cjs} +1 -1
- package/dist/{terminalConfigList-BEBNi1Nl.js → terminalConfigList-Brd1oIU1.js} +3 -3
- package/dist/{terminalList-CJpH2Z-r.js → terminalList-B5R-5IYH.js} +3 -3
- package/dist/{terminalList-Bl5BPmF9.cjs → terminalList-DyYTp_7j.cjs} +1 -1
- package/dist/{terminalListAPP-BpONJQOA.js → terminalListAPP-Cz9-XSy9.js} +3 -3
- package/dist/{terminalListAPP-Dgvz8I3j.cjs → terminalListAPP-DQyeShOh.cjs} +1 -1
- package/dist/{textbox-CJnSDwg7.js → textbox-AofzoSoM.js} +2 -2
- package/dist/{textbox-DR0bQEX7.cjs → textbox-DQg0UmXD.cjs} +1 -1
- package/dist/{timeQueryBar-FJDQv-gp.js → timeQueryBar-B62qxOHn.js} +1 -1
- package/dist/{timeQueryBar-Cmyan_30.cjs → timeQueryBar-BPKD7Elj.cjs} +1 -1
- package/dist/{timeSeries-_RLSUPmg.cjs → timeSeries-Bp_iMD22.cjs} +1 -1
- package/dist/{timeSeries-t4uZvXRF.js → timeSeries-Vl1W6ELZ.js} +3 -3
- package/dist/{timeSeriesCurve-BxWiI6w-.js → timeSeriesCurve-D8iElxyO.js} +3 -3
- package/dist/{timeSeriesCurve-BUuLFQ8A.cjs → timeSeriesCurve-DNYyUKj1.cjs} +1 -1
- package/dist/{toggleBtn-Cx44qVci.js → toggleBtn-CizAxinC.js} +2 -2
- package/dist/{toggleBtn-BcpJcxpU.cjs → toggleBtn-DOXzintk.cjs} +1 -1
- package/dist/{trajectoryConfigPanel-dyo30nx9.js → trajectoryConfigPanel-BYMdJKNX.js} +1 -1
- package/dist/{trajectoryConfigPanel-BTUv5OVS.cjs → trajectoryConfigPanel-Bw_l7pKo.cjs} +1 -1
- package/dist/{trajectoryScatter-CK4_Z1iU.cjs → trajectoryScatter-DP56FRFE.cjs} +1 -1
- package/dist/{trajectoryScatter-BghFGqxH.js → trajectoryScatter-DPbgYMS8.js} +2 -2
- package/dist/{universalConfigPanel-yJFrQDBa.js → universalConfigPanel-B3BIF8L5.js} +1 -1
- package/dist/{universalConfigPanel-Cvlpgn-j.cjs → universalConfigPanel-DV9h6sMj.cjs} +1 -1
- package/dist/{universalTable-CvBC-L9Z.js → universalTable-CQ3B2I-G.js} +2 -2
- package/dist/{universalTable-CRJ7Rx0P.cjs → universalTable-Jxfp2RkG.cjs} +1 -1
- package/dist/{useTablemanApi-BAt370b-.js → useTablemanApi-Bh5_NFWe.js} +1 -1
- package/dist/{useTablemanApi-fqoMpRxe.cjs → useTablemanApi-Df1q1aWI.cjs} +1 -1
- package/dist/{useTablemanFormPanel-Cxo0WsI1.cjs → useTablemanFormPanel-Byr9usXu.cjs} +1 -1
- package/dist/{useTablemanFormPanel-BKbM39_H.js → useTablemanFormPanel-DRv-m4UQ.js} +2 -2
- package/dist/{useTablemanListActions-DRXW-WTa.cjs → useTablemanListActions-DWDKR-3Y.cjs} +1 -1
- package/dist/{useTablemanListActions-CYauYy6z.js → useTablemanListActions-DX-_BfWk.js} +3 -3
- package/dist/{video-C1N8Ikkh.js → video-C6XgnAxj.js} +2 -2
- package/dist/{video-BN19nKK_.cjs → video-D_eGQjE9.cjs} +1 -1
- package/dist/{videoMonitor-fkEuZ25x.js → videoMonitor-Cez3ENoV.js} +2 -2
- package/dist/{videoMonitor-PKypdwRl.cjs → videoMonitor-_F66e2Ol.cjs} +1 -1
- package/dist/{vlu-B8tqM9md.js → vlu-8CrS8YvY.js} +2 -2
- package/dist/{vlu-DrABl6SW.cjs → vlu-Cz0gMSym.cjs} +1 -1
- package/dist/{warningOverview-_rp_SbLs.js → warningOverview-DfDN7kF-.js} +3 -3
- package/dist/{warningOverview-DaTHPveq.cjs → warningOverview-YWMdtsgL.cjs} +1 -1
- package/dist/{weather-qvsptrt0.js → weather-BDi6MTCV.js} +2 -2
- package/dist/{weather-B_XCWwDa.cjs → weather-p1VDVqeB.cjs} +1 -1
- package/dist/{windLin-BDtJUYBu.js → windLin-BpS0UWbr.js} +2 -2
- package/dist/{windLin-P84T5W3o.cjs → windLin-CCfJT1_-.cjs} +1 -1
- package/package.json +1 -1
- package/dist/crd-C6iegy7d.cjs +0 -1
- package/dist/materialFileUrl-8YHw7z1T.cjs +0 -1
- package/dist/objectList-BcSCvy54.cjs +0 -1
- package/dist/scd-DwdWl6Wz.cjs +0 -1
|
@@ -11,26 +11,26 @@ var Cn = (V, z, j) => z in V ? ei(V, z, { enumerable: !0, configurable: !0, writ
|
|
|
11
11
|
return V;
|
|
12
12
|
}, Rn = (V, z) => ti(V, ni(z));
|
|
13
13
|
var Vt = (V, z, j) => new Promise((X, Z) => {
|
|
14
|
-
var F = (
|
|
14
|
+
var F = (ee) => {
|
|
15
15
|
try {
|
|
16
|
-
R(j.next(
|
|
16
|
+
R(j.next(ee));
|
|
17
17
|
} catch (ie) {
|
|
18
18
|
Z(ie);
|
|
19
19
|
}
|
|
20
|
-
}, de = (
|
|
20
|
+
}, de = (ee) => {
|
|
21
21
|
try {
|
|
22
|
-
R(j.throw(
|
|
22
|
+
R(j.throw(ee));
|
|
23
23
|
} catch (ie) {
|
|
24
24
|
Z(ie);
|
|
25
25
|
}
|
|
26
|
-
}, R = (
|
|
26
|
+
}, R = (ee) => ee.done ? X(ee.value) : Promise.resolve(ee.value).then(F, de);
|
|
27
27
|
R((j = j.apply(V, z)).next());
|
|
28
28
|
});
|
|
29
|
-
import { defineComponent as oi, ref as $t, watch as jn, computed as gt, onBeforeUnmount as ai, openBlock as se, createElementBlock as
|
|
30
|
-
import { B as pi } from "./BaseComponent-
|
|
31
|
-
import { j as fi, k as di, _ as hi } from "./index-
|
|
29
|
+
import { defineComponent as oi, ref as $t, watch as jn, computed as gt, onBeforeUnmount as ai, openBlock as se, createElementBlock as ce, normalizeStyle as N, unref as je, createElementVNode as re, toDisplayString as ye, createCommentVNode as si, Fragment as Bt, renderList as Fn, normalizeClass as Je, createTextVNode as ci, renderSlot as li, nextTick as ui } from "vue";
|
|
30
|
+
import { B as pi } from "./BaseComponent-DMJmgFIo.js";
|
|
31
|
+
import { j as fi, k as di, _ as hi } from "./index-nru6zK5E.js";
|
|
32
32
|
import { g as vi } from "./titleStyle-BT5GlpAb.js";
|
|
33
|
-
import { e as gi, b as mi } from "./materialFileUrl-
|
|
33
|
+
import { e as gi, b as mi } from "./materialFileUrl-SyvwFB5E.js";
|
|
34
34
|
var Qe = { exports: {} }, yi = Qe.exports, Vn;
|
|
35
35
|
function bi() {
|
|
36
36
|
return Vn || (Vn = 1, (function(V, z) {
|
|
@@ -51,7 +51,7 @@ function bi() {
|
|
|
51
51
|
for (var e = 1; e < arguments.length; e++) {
|
|
52
52
|
var n = arguments[e] != null ? arguments[e] : {};
|
|
53
53
|
e % 2 ? j(Object(n), !0).forEach((function(r) {
|
|
54
|
-
|
|
54
|
+
ee(t, r, n[r]);
|
|
55
55
|
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : j(Object(n)).forEach((function(r) {
|
|
56
56
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
|
|
57
57
|
}));
|
|
@@ -77,17 +77,17 @@ function bi() {
|
|
|
77
77
|
function R(t, e, n) {
|
|
78
78
|
return e && de(t.prototype, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function ee(t, e, n) {
|
|
81
81
|
return (e = Fe(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
|
|
82
82
|
}
|
|
83
83
|
function ie(t, e) {
|
|
84
84
|
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function");
|
|
85
85
|
t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _e(t, e);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
return
|
|
87
|
+
function le(t) {
|
|
88
|
+
return le = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
|
|
89
89
|
return e.__proto__ || Object.getPrototypeOf(e);
|
|
90
|
-
},
|
|
90
|
+
}, le(t);
|
|
91
91
|
}
|
|
92
92
|
function _e(t, e) {
|
|
93
93
|
return _e = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
|
|
@@ -110,9 +110,9 @@ function bi() {
|
|
|
110
110
|
}
|
|
111
111
|
})();
|
|
112
112
|
return function() {
|
|
113
|
-
var n, r =
|
|
113
|
+
var n, r = le(t);
|
|
114
114
|
if (e) {
|
|
115
|
-
var i =
|
|
115
|
+
var i = le(this).constructor;
|
|
116
116
|
n = Reflect.construct(r, arguments, i);
|
|
117
117
|
} else n = r.apply(this, arguments);
|
|
118
118
|
return (function(o, a) {
|
|
@@ -125,7 +125,7 @@ function bi() {
|
|
|
125
125
|
function Me() {
|
|
126
126
|
return Me = typeof Reflect != "undefined" && Reflect.get ? Reflect.get.bind() : function(t, e, n) {
|
|
127
127
|
var r = (function(o, a) {
|
|
128
|
-
for (; !Object.prototype.hasOwnProperty.call(o, a) && (o =
|
|
128
|
+
for (; !Object.prototype.hasOwnProperty.call(o, a) && (o = le(o)) !== null; ) ;
|
|
129
129
|
return o;
|
|
130
130
|
})(t, e);
|
|
131
131
|
if (r) {
|
|
@@ -150,7 +150,7 @@ function bi() {
|
|
|
150
150
|
var ue = function(t) {
|
|
151
151
|
return !(!t || !t.Window) && t instanceof t.Window;
|
|
152
152
|
}, De = void 0, pe = void 0;
|
|
153
|
-
function
|
|
153
|
+
function te(t) {
|
|
154
154
|
De = t;
|
|
155
155
|
var e = t.document.createTextNode("");
|
|
156
156
|
e.ownerDocument !== t.document && typeof t.wrap == "function" && t.wrap(e) === e && (t = t.wrap(t)), pe = t;
|
|
@@ -158,7 +158,7 @@ function bi() {
|
|
|
158
158
|
function Y(t) {
|
|
159
159
|
return ue(t) ? t : (t.ownerDocument || t).defaultView || pe.window;
|
|
160
160
|
}
|
|
161
|
-
typeof window != "undefined" && window &&
|
|
161
|
+
typeof window != "undefined" && window && te(window);
|
|
162
162
|
var fe = function(t) {
|
|
163
163
|
return !!t && Z(t) === "object";
|
|
164
164
|
}, oe = function(t) {
|
|
@@ -211,16 +211,16 @@ function bi() {
|
|
|
211
211
|
return "move";
|
|
212
212
|
}, filterEventType: function(t) {
|
|
213
213
|
return t.search("drag") === 0;
|
|
214
|
-
} }, tt = ze,
|
|
214
|
+
} }, tt = ze, K = { init: function(t) {
|
|
215
215
|
var e = t;
|
|
216
|
-
|
|
216
|
+
K.document = e.document, K.DocumentFragment = e.DocumentFragment || be, K.SVGElement = e.SVGElement || be, K.SVGSVGElement = e.SVGSVGElement || be, K.SVGElementInstance = e.SVGElementInstance || be, K.Element = e.Element || be, K.HTMLElement = e.HTMLElement || K.Element, K.Event = e.Event, K.Touch = e.Touch || be, K.PointerEvent = e.PointerEvent || e.MSPointerEvent;
|
|
217
217
|
}, document: null, DocumentFragment: null, SVGElement: null, SVGSVGElement: null, SVGElementInstance: null, Element: null, HTMLElement: null, Event: null, Touch: null, PointerEvent: null };
|
|
218
218
|
function be() {
|
|
219
219
|
}
|
|
220
|
-
var U =
|
|
220
|
+
var U = K, J = { init: function(t) {
|
|
221
221
|
var e = U.Element, n = t.navigator || {};
|
|
222
|
-
|
|
223
|
-
}, supportsTouch: null, supportsPointerEvent: null, isIOS7: null, isIOS: null, isIe9: null, isOperaMobile: null, prefixedMatchesSelector: null, pEventTypes: null, wheelEvent: null },
|
|
222
|
+
J.supportsTouch = "ontouchstart" in t || d.func(t.DocumentTouch) && U.document instanceof t.DocumentTouch, J.supportsPointerEvent = n.pointerEnabled !== !1 && !!U.PointerEvent, J.isIOS = /iP(hone|od|ad)/.test(n.platform), J.isIOS7 = /iP(hone|od|ad)/.test(n.platform) && /OS 7[^\d]/.test(n.appVersion), J.isIe9 = /MSIE 9/.test(n.userAgent), J.isOperaMobile = n.appName === "Opera" && J.supportsTouch && /Presto/.test(n.userAgent), J.prefixedMatchesSelector = "matches" in e.prototype ? "matches" : "webkitMatchesSelector" in e.prototype ? "webkitMatchesSelector" : "mozMatchesSelector" in e.prototype ? "mozMatchesSelector" : "oMatchesSelector" in e.prototype ? "oMatchesSelector" : "msMatchesSelector", J.pEventTypes = J.supportsPointerEvent ? U.PointerEvent === t.MSPointerEvent ? { up: "MSPointerUp", down: "MSPointerDown", over: "mouseover", out: "mouseout", move: "MSPointerMove", cancel: "MSPointerCancel" } : { up: "pointerup", down: "pointerdown", over: "pointerover", out: "pointerout", move: "pointermove", cancel: "pointercancel" } : null, J.wheelEvent = U.document && "onmousewheel" in U.document ? "mousewheel" : "wheel";
|
|
223
|
+
}, supportsTouch: null, supportsPointerEvent: null, isIOS7: null, isIOS: null, isIe9: null, isOperaMobile: null, prefixedMatchesSelector: null, pEventTypes: null, wheelEvent: null }, Q = J;
|
|
224
224
|
function he(t, e) {
|
|
225
225
|
if (t.contains) return t.contains(e);
|
|
226
226
|
for (; e; ) {
|
|
@@ -245,7 +245,7 @@ function bi() {
|
|
|
245
245
|
return e;
|
|
246
246
|
}
|
|
247
247
|
function y(t, e) {
|
|
248
|
-
return pe !== De && (e = e.replace(/\/deep\//g, " ")), t[
|
|
248
|
+
return pe !== De && (e = e.replace(/\/deep\//g, " ")), t[Q.prefixedMatchesSelector](e);
|
|
249
249
|
}
|
|
250
250
|
var S = function(t) {
|
|
251
251
|
return t.parentNode || t.host;
|
|
@@ -270,7 +270,7 @@ function bi() {
|
|
|
270
270
|
}
|
|
271
271
|
function B(t) {
|
|
272
272
|
var e, n = k(t);
|
|
273
|
-
if (!
|
|
273
|
+
if (!Q.isIOS7 && n) {
|
|
274
274
|
var r = { x: (e = (e = Y(t)) || pe).scrollX || e.document.documentElement.scrollLeft, y: e.scrollY || e.document.documentElement.scrollTop };
|
|
275
275
|
n.left += r.x, n.right += r.x, n.top += r.y, n.bottom += r.y;
|
|
276
276
|
}
|
|
@@ -308,11 +308,11 @@ function bi() {
|
|
|
308
308
|
return $e(q(r && r.origin || t.options.origin, t, e, [t && e])) || { x: 0, y: 0 };
|
|
309
309
|
}
|
|
310
310
|
function Oe(t, e) {
|
|
311
|
-
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(
|
|
311
|
+
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(c) {
|
|
312
312
|
return !0;
|
|
313
313
|
}, r = arguments.length > 3 ? arguments[3] : void 0;
|
|
314
|
-
if (r = r || {}, d.string(t) && t.search(" ") !== -1 && (t = Ut(t)), d.array(t)) return t.forEach((function(
|
|
315
|
-
return Oe(
|
|
314
|
+
if (r = r || {}, d.string(t) && t.search(" ") !== -1 && (t = Ut(t)), d.array(t)) return t.forEach((function(c) {
|
|
315
|
+
return Oe(c, e, n, r);
|
|
316
316
|
})), r;
|
|
317
317
|
if (d.object(t) && (e = t, t = ""), d.func(e) && n(t)) r[t] = r[t] || [], r[t].push(e);
|
|
318
318
|
else if (d.array(e)) for (var i = 0, o = e; i < o.length; i++) {
|
|
@@ -320,8 +320,8 @@ function bi() {
|
|
|
320
320
|
Oe(t, a, n, r);
|
|
321
321
|
}
|
|
322
322
|
else if (d.object(e)) for (var s in e)
|
|
323
|
-
Oe(Ut(s).map((function(
|
|
324
|
-
return "".concat(t).concat(
|
|
323
|
+
Oe(Ut(s).map((function(c) {
|
|
324
|
+
return "".concat(t).concat(c);
|
|
325
325
|
})), e[s], n, r);
|
|
326
326
|
return r;
|
|
327
327
|
}
|
|
@@ -359,7 +359,7 @@ function bi() {
|
|
|
359
359
|
return t = t || "page", (n = n || {}).x = e[t + "X"], n.y = e[t + "Y"], n;
|
|
360
360
|
}
|
|
361
361
|
function qt(t, e) {
|
|
362
|
-
return e = e || { x: 0, y: 0 },
|
|
362
|
+
return e = e || { x: 0, y: 0 }, Q.isOperaMobile && Wt(t) ? (ot("screen", t, e), e.x += window.scrollX, e.y += window.scrollY) : ot("page", t, e), e;
|
|
363
363
|
}
|
|
364
364
|
function Ne(t) {
|
|
365
365
|
return d.number(t.pointerId) ? t.pointerId : t.identifier;
|
|
@@ -367,7 +367,7 @@ function bi() {
|
|
|
367
367
|
function Un(t, e, n) {
|
|
368
368
|
var r = e.length > 1 ? Xt(e) : e[0];
|
|
369
369
|
qt(r, t.page), (function(i, o) {
|
|
370
|
-
o = o || {},
|
|
370
|
+
o = o || {}, Q.isOperaMobile && Wt(i) ? ot("screen", i, o) : ot("client", i, o);
|
|
371
371
|
})(r, t.client), t.timeStamp = n;
|
|
372
372
|
}
|
|
373
373
|
function mt(t) {
|
|
@@ -436,15 +436,15 @@ function bi() {
|
|
|
436
436
|
function n(r, i, o) {
|
|
437
437
|
var a;
|
|
438
438
|
F(this, n), (a = e.call(this, i._interaction)).dropzone = void 0, a.dragEvent = void 0, a.relatedTarget = void 0, a.draggable = void 0, a.propagationStopped = !1, a.immediatePropagationStopped = !1;
|
|
439
|
-
var s = o === "dragleave" ? r.prev : r.cur,
|
|
440
|
-
return a.type = o, a.target =
|
|
439
|
+
var s = o === "dragleave" ? r.prev : r.cur, c = s.element, u = s.dropzone;
|
|
440
|
+
return a.type = o, a.target = c, a.currentTarget = c, a.dropzone = u, a.dragEvent = i, a.relatedTarget = i.target, a.draggable = i.interactable, a.timeStamp = i.timeStamp, a;
|
|
441
441
|
}
|
|
442
442
|
return R(n, [{ key: "reject", value: function() {
|
|
443
443
|
var r = this, i = this._interaction.dropState;
|
|
444
444
|
if (this.type === "dropactivate" || this.dropzone && i.cur.dropzone === this.dropzone && i.cur.element === this.target) if (i.prev.dropzone = this.dropzone, i.prev.element = this.target, i.rejected = !0, i.events.enter = null, this.stopImmediatePropagation(), this.type === "dropactivate") {
|
|
445
|
-
var o = i.activeDrops, a = We(o, (function(
|
|
446
|
-
var u =
|
|
447
|
-
return u === r.dropzone &&
|
|
445
|
+
var o = i.activeDrops, a = We(o, (function(c) {
|
|
446
|
+
var u = c.dropzone, l = c.element;
|
|
447
|
+
return u === r.dropzone && l === r.target;
|
|
448
448
|
}));
|
|
449
449
|
i.activeDrops.splice(a, 1);
|
|
450
450
|
var s = new n(i, this.dragEvent, "dropdeactivate");
|
|
@@ -465,13 +465,13 @@ function bi() {
|
|
|
465
465
|
}
|
|
466
466
|
function wt(t, e) {
|
|
467
467
|
for (var n = (function(o, a) {
|
|
468
|
-
for (var s = [],
|
|
469
|
-
var
|
|
470
|
-
if (
|
|
471
|
-
var p =
|
|
472
|
-
if (!(d.element(p) && p !== a || d.string(p) && !y(a, p) || d.func(p) && !p({ dropzone:
|
|
468
|
+
for (var s = [], c = 0, u = o.interactables.list; c < u.length; c++) {
|
|
469
|
+
var l = u[c];
|
|
470
|
+
if (l.options.drop.enabled) {
|
|
471
|
+
var p = l.options.drop.accept;
|
|
472
|
+
if (!(d.element(p) && p !== a || d.string(p) && !y(a, p) || d.func(p) && !p({ dropzone: l, draggableElement: a }))) for (var f = 0, v = l.getAllElements(); f < v.length; f++) {
|
|
473
473
|
var h = v[f];
|
|
474
|
-
h !== a && s.push({ dropzone:
|
|
474
|
+
h !== a && s.push({ dropzone: l, element: h, rect: l.getRect(h) });
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
477
|
}
|
|
@@ -483,8 +483,8 @@ function bi() {
|
|
|
483
483
|
return n;
|
|
484
484
|
}
|
|
485
485
|
function Jt(t, e, n) {
|
|
486
|
-
for (var r = t.dropState, i = t.interactable, o = t.element, a = [], s = 0,
|
|
487
|
-
var u =
|
|
486
|
+
for (var r = t.dropState, i = t.interactable, o = t.element, a = [], s = 0, c = r.activeDrops; s < c.length; s++) {
|
|
487
|
+
var u = c[s], l = u.dropzone, p = u.element, f = u.rect, v = l.dropCheck(e, n, i, o, p, f);
|
|
488
488
|
a.push(v ? p : null);
|
|
489
489
|
}
|
|
490
490
|
var h = (function(m) {
|
|
@@ -540,16 +540,16 @@ function bi() {
|
|
|
540
540
|
return (function(a, s) {
|
|
541
541
|
if (d.object(s)) {
|
|
542
542
|
if (a.options.drop.enabled = s.enabled !== !1, s.listeners) {
|
|
543
|
-
var
|
|
544
|
-
return p[/^(enter|leave)/.test(f) ? "drag".concat(f) : /^(activate|deactivate|move)/.test(f) ? "drop".concat(f) : f] =
|
|
545
|
-
}), {}),
|
|
546
|
-
|
|
543
|
+
var c = Oe(s.listeners), u = Object.keys(c).reduce((function(p, f) {
|
|
544
|
+
return p[/^(enter|leave)/.test(f) ? "drag".concat(f) : /^(activate|deactivate|move)/.test(f) ? "drop".concat(f) : f] = c[f], p;
|
|
545
|
+
}), {}), l = a.options.drop.listeners;
|
|
546
|
+
l && a.off(l), a.on(u), a.options.drop.listeners = u;
|
|
547
547
|
}
|
|
548
548
|
return d.func(s.ondrop) && a.on("drop", s.ondrop), d.func(s.ondropactivate) && a.on("dropactivate", s.ondropactivate), d.func(s.ondropdeactivate) && a.on("dropdeactivate", s.ondropdeactivate), d.func(s.ondragenter) && a.on("dragenter", s.ondragenter), d.func(s.ondragleave) && a.on("dragleave", s.ondragleave), d.func(s.ondropmove) && a.on("dropmove", s.ondropmove), /^(pointer|center)$/.test(s.overlap) ? a.options.drop.overlap = s.overlap : d.number(s.overlap) && (a.options.drop.overlap = Math.max(Math.min(1, s.overlap), 0)), "accept" in s && (a.options.drop.accept = s.accept), "checker" in s && (a.options.drop.checker = s.checker), a;
|
|
549
549
|
}
|
|
550
550
|
return d.bool(s) ? (a.options.drop.enabled = s, a) : a.options.drop;
|
|
551
551
|
})(this, o);
|
|
552
|
-
}, r.prototype.dropCheck = function(o, a, s,
|
|
552
|
+
}, r.prototype.dropCheck = function(o, a, s, c, u, l) {
|
|
553
553
|
return (function(p, f, v, h, m, w, b) {
|
|
554
554
|
var _ = !1;
|
|
555
555
|
if (!(b = b || p.getRect(w))) return !!p.options.drop.checker && p.options.drop.checker(f, v, _, p, w, h, m);
|
|
@@ -566,7 +566,7 @@ function bi() {
|
|
|
566
566
|
_ = ne >= b.left && ne <= b.right && ae >= b.top && ae <= b.bottom;
|
|
567
567
|
}
|
|
568
568
|
return A && d.number(P) && (_ = Math.max(0, Math.min(b.right, A.right) - Math.max(b.left, A.left)) * Math.max(0, Math.min(b.bottom, A.bottom) - Math.max(b.top, A.top)) / (A.width * A.height) >= P), p.options.drop.checker && (_ = p.options.drop.checker(f, v, _, p, w, h, m)), _;
|
|
569
|
-
})(this, o, a, s,
|
|
569
|
+
})(this, o, a, s, c, u, l);
|
|
570
570
|
}, n.dynamicDrop = function(o) {
|
|
571
571
|
return d.bool(o) ? (t.dynamicDrop = o, n) : t.dynamicDrop;
|
|
572
572
|
}, E(e.phaselessTypes, { dragenter: !0, dragleave: !0, dropactivate: !0, dropdeactivate: !0, dropmove: !0, drop: !0 }), e.methodDict.drop = "dropzone", t.dynamicDrop = !1, i.actions.drop = en.defaults;
|
|
@@ -607,8 +607,8 @@ function bi() {
|
|
|
607
607
|
})), o = r === "start", a = r === "end", s = e.interactable.options.deltaSource;
|
|
608
608
|
if (n.touches = [i[0], i[1]], o) n.distance = bt(i, s), n.box = yt(i), n.scale = 1, n.ds = 0, n.angle = xt(i, s), n.da = 0, e.gesture.startDistance = n.distance, e.gesture.startAngle = n.angle;
|
|
609
609
|
else if (a || e.pointers.length < 2) {
|
|
610
|
-
var
|
|
611
|
-
n.distance =
|
|
610
|
+
var c = e.prevEvent;
|
|
611
|
+
n.distance = c.distance, n.box = c.box, n.scale = c.scale, n.ds = 0, n.angle = c.angle, n.da = 0;
|
|
612
612
|
} else n.distance = bt(i, s), n.box = yt(i), n.scale = n.distance / e.gesture.startDistance, n.angle = xt(i, s), n.ds = n.scale - e.gesture.scale, n.da = n.angle - e.gesture.angle;
|
|
613
613
|
e.gesture.distance = n.distance, e.gesture.angle = n.angle, d.number(n.scale) && n.scale !== 1 / 0 && !isNaN(n.scale) && (e.gesture.scale = n.scale);
|
|
614
614
|
}
|
|
@@ -633,17 +633,17 @@ function bi() {
|
|
|
633
633
|
function qn(t, e, n, r, i, o, a) {
|
|
634
634
|
if (!e) return !1;
|
|
635
635
|
if (e === !0) {
|
|
636
|
-
var s = d.number(o.width) ? o.width : o.right - o.left,
|
|
637
|
-
if (a = Math.min(a, Math.abs((t === "left" || t === "right" ? s :
|
|
636
|
+
var s = d.number(o.width) ? o.width : o.right - o.left, c = d.number(o.height) ? o.height : o.bottom - o.top;
|
|
637
|
+
if (a = Math.min(a, Math.abs((t === "left" || t === "right" ? s : c) / 2)), s < 0 && (t === "left" ? t = "right" : t === "right" && (t = "left")), c < 0 && (t === "top" ? t = "bottom" : t === "bottom" && (t = "top")), t === "left") {
|
|
638
638
|
var u = s >= 0 ? o.left : o.right;
|
|
639
639
|
return n.x < u + a;
|
|
640
640
|
}
|
|
641
641
|
if (t === "top") {
|
|
642
|
-
var
|
|
643
|
-
return n.y <
|
|
642
|
+
var l = c >= 0 ? o.top : o.bottom;
|
|
643
|
+
return n.y < l + a;
|
|
644
644
|
}
|
|
645
645
|
if (t === "right") return n.x > (s >= 0 ? o.right : o.left) - a;
|
|
646
|
-
if (t === "bottom") return n.y > (
|
|
646
|
+
if (t === "bottom") return n.y > (c >= 0 ? o.bottom : o.top) - a;
|
|
647
647
|
}
|
|
648
648
|
return !!d.element(r) && (d.element(e) ? e === r : M(r, e, i));
|
|
649
649
|
}
|
|
@@ -659,8 +659,8 @@ function bi() {
|
|
|
659
659
|
ge.cursors = (function(o) {
|
|
660
660
|
return o.isIe9 ? { x: "e-resize", y: "s-resize", xy: "se-resize", top: "n-resize", left: "w-resize", bottom: "s-resize", right: "e-resize", topleft: "se-resize", bottomright: "se-resize", topright: "ne-resize", bottomleft: "ne-resize" } : { x: "ew-resize", y: "ns-resize", xy: "nwse-resize", top: "ns-resize", left: "ew-resize", bottom: "ns-resize", right: "ew-resize", topleft: "nwse-resize", bottomright: "nwse-resize", topright: "nesw-resize", bottomleft: "nesw-resize" };
|
|
661
661
|
})(n), ge.defaultMargin = n.supportsTouch || n.supportsPointerEvent ? 20 : 10, r.prototype.resizable = function(o) {
|
|
662
|
-
return (function(a, s,
|
|
663
|
-
return d.object(s) ? (a.options.resize.enabled = s.enabled !== !1, a.setPerAction("resize", s), a.setOnEvents("resize", s), d.string(s.axis) && /^x$|^y$|^xy$/.test(s.axis) ? a.options.resize.axis = s.axis : s.axis === null && (a.options.resize.axis =
|
|
662
|
+
return (function(a, s, c) {
|
|
663
|
+
return d.object(s) ? (a.options.resize.enabled = s.enabled !== !1, a.setPerAction("resize", s), a.setOnEvents("resize", s), d.string(s.axis) && /^x$|^y$|^xy$/.test(s.axis) ? a.options.resize.axis = s.axis : s.axis === null && (a.options.resize.axis = c.defaults.actions.resize.axis), d.bool(s.preserveAspectRatio) ? a.options.resize.preserveAspectRatio = s.preserveAspectRatio : d.bool(s.square) && (a.options.resize.square = s.square), a) : d.bool(s) ? (a.options.resize.enabled = s, a) : a.options.resize;
|
|
664
664
|
})(this, o, t);
|
|
665
665
|
}, e.map.resize = ge, e.methodDict.resize = "resizable", i.actions.resize = ge.defaults;
|
|
666
666
|
}, listeners: { "interactions:new": function(t) {
|
|
@@ -677,21 +677,21 @@ function bi() {
|
|
|
677
677
|
(function(e) {
|
|
678
678
|
var n = e.iEvent, r = e.interaction;
|
|
679
679
|
if (r.prepared.name === "resize" && r.prepared.edges) {
|
|
680
|
-
var i = n, o = r.interactable.options.resize.invert, a = o === "reposition" || o === "negate", s = r.rect,
|
|
681
|
-
if (E(f,
|
|
682
|
-
if (E(
|
|
683
|
-
if (
|
|
684
|
-
var v =
|
|
685
|
-
|
|
680
|
+
var i = n, o = r.interactable.options.resize.invert, a = o === "reposition" || o === "negate", s = r.rect, c = r._rects, u = c.start, l = c.corrected, p = c.delta, f = c.previous;
|
|
681
|
+
if (E(f, l), a) {
|
|
682
|
+
if (E(l, s), o === "reposition") {
|
|
683
|
+
if (l.top > l.bottom) {
|
|
684
|
+
var v = l.top;
|
|
685
|
+
l.top = l.bottom, l.bottom = v;
|
|
686
686
|
}
|
|
687
|
-
if (
|
|
688
|
-
var h =
|
|
689
|
-
|
|
687
|
+
if (l.left > l.right) {
|
|
688
|
+
var h = l.left;
|
|
689
|
+
l.left = l.right, l.right = h;
|
|
690
690
|
}
|
|
691
691
|
}
|
|
692
|
-
} else
|
|
693
|
-
for (var m in
|
|
694
|
-
i.edges = r.prepared.edges, i.rect =
|
|
692
|
+
} else l.top = Math.min(s.top, u.bottom), l.bottom = Math.max(s.bottom, u.top), l.left = Math.min(s.left, u.right), l.right = Math.max(s.right, u.left);
|
|
693
|
+
for (var m in l.width = l.right - l.left, l.height = l.bottom - l.top, l) p[m] = l[m] - f[m];
|
|
694
|
+
i.edges = r.prepared.edges, i.rect = l, i.deltaRect = p;
|
|
695
695
|
}
|
|
696
696
|
})(t), tn(t);
|
|
697
697
|
}, "interactions:action-end": function(t) {
|
|
@@ -706,12 +706,12 @@ function bi() {
|
|
|
706
706
|
var a = E({}, e.coords.cur.page), s = n.options.resize;
|
|
707
707
|
if (s && s.enabled && (!e.pointerIsDown || !/mouse|pointer/.test(e.pointerType) || (o & s.mouseButtons) != 0)) {
|
|
708
708
|
if (d.object(s.edges)) {
|
|
709
|
-
var
|
|
710
|
-
for (var u in
|
|
711
|
-
|
|
709
|
+
var c = { left: !1, right: !1, top: !1, bottom: !1 };
|
|
710
|
+
for (var u in c) c[u] = qn(u, s.edges[u], a, e._latestPointer.eventTarget, r, i, s.margin || ge.defaultMargin);
|
|
711
|
+
c.left = c.left && !c.right, c.top = c.top && !c.bottom, (c.left || c.right || c.top || c.bottom) && (t.action = { name: "resize", edges: c });
|
|
712
712
|
} else {
|
|
713
|
-
var
|
|
714
|
-
(
|
|
713
|
+
var l = s.axis !== "y" && a.x > i.right - ge.defaultMargin, p = s.axis !== "x" && a.y > i.bottom - ge.defaultMargin;
|
|
714
|
+
(l || p) && (t.action = { name: "resize", axes: (l ? "x" : "") + (p ? "y" : "") });
|
|
715
715
|
}
|
|
716
716
|
return !t.action && void 0;
|
|
717
717
|
}
|
|
@@ -720,8 +720,8 @@ function bi() {
|
|
|
720
720
|
var e = t.edges, n = t.axis, r = t.name, i = ge.cursors, o = null;
|
|
721
721
|
if (n) o = i[r + n];
|
|
722
722
|
else if (e) {
|
|
723
|
-
for (var a = "", s = 0,
|
|
724
|
-
var u =
|
|
723
|
+
for (var a = "", s = 0, c = ["top", "bottom", "left", "right"]; s < c.length; s++) {
|
|
724
|
+
var u = c[s];
|
|
725
725
|
e[u] && (a += u);
|
|
726
726
|
}
|
|
727
727
|
o = i[a];
|
|
@@ -753,13 +753,13 @@ function bi() {
|
|
|
753
753
|
}, stop: function() {
|
|
754
754
|
O.isScrolling = !1, O.interaction && (O.interaction.autoScroll = null), xe.cancel(O.i);
|
|
755
755
|
}, scroll: function() {
|
|
756
|
-
var t = O.interaction, e = t.interactable, n = t.element, r = t.prepared.name, i = e.options[r].autoScroll, o = rn(i.container, e, n), a = O.now(), s = (a - O.prevTime) / 1e3,
|
|
757
|
-
if (
|
|
758
|
-
var u = { x: O.x *
|
|
756
|
+
var t = O.interaction, e = t.interactable, n = t.element, r = t.prepared.name, i = e.options[r].autoScroll, o = rn(i.container, e, n), a = O.now(), s = (a - O.prevTime) / 1e3, c = i.speed * s;
|
|
757
|
+
if (c >= 1) {
|
|
758
|
+
var u = { x: O.x * c, y: O.y * c };
|
|
759
759
|
if (u.x || u.y) {
|
|
760
|
-
var
|
|
760
|
+
var l = on(o);
|
|
761
761
|
d.window(o) ? o.scrollBy(u.x, u.y) : o && (o.scrollLeft += u.x, o.scrollTop += u.y);
|
|
762
|
-
var p = on(o), f = { x: p.x -
|
|
762
|
+
var p = on(o), f = { x: p.x - l.x, y: p.y - l.y };
|
|
763
763
|
(f.x || f.y) && e.fire({ type: "autoscroll", target: n, interactable: e, delta: f, interaction: t, container: o });
|
|
764
764
|
}
|
|
765
765
|
O.prevTime = a;
|
|
@@ -772,13 +772,13 @@ function bi() {
|
|
|
772
772
|
var e = t.interaction, n = t.pointer;
|
|
773
773
|
if (e.interacting() && O.check(e.interactable, e.prepared.name)) if (e.simulation) O.x = O.y = 0;
|
|
774
774
|
else {
|
|
775
|
-
var r, i, o, a, s = e.interactable,
|
|
775
|
+
var r, i, o, a, s = e.interactable, c = e.element, u = e.prepared.name, l = s.options[u].autoScroll, p = rn(l.container, s, c);
|
|
776
776
|
if (d.window(p)) a = n.clientX < O.margin, r = n.clientY < O.margin, i = n.clientX > p.innerWidth - O.margin, o = n.clientY > p.innerHeight - O.margin;
|
|
777
777
|
else {
|
|
778
778
|
var f = k(p);
|
|
779
779
|
a = n.clientX < f.left + O.margin, r = n.clientY < f.top + O.margin, i = n.clientX > f.right - O.margin, o = n.clientY > f.bottom - O.margin;
|
|
780
780
|
}
|
|
781
|
-
O.x = i ? 1 : a ? -1 : 0, O.y = o ? 1 : r ? -1 : 0, O.isScrolling || (O.margin =
|
|
781
|
+
O.x = i ? 1 : a ? -1 : 0, O.y = o ? 1 : r ? -1 : 0, O.isScrolling || (O.margin = l.margin, O.speed = l.speed, O.start(e));
|
|
782
782
|
}
|
|
783
783
|
} };
|
|
784
784
|
function rn(t, e, n) {
|
|
@@ -817,8 +817,8 @@ function bi() {
|
|
|
817
817
|
var Jn = { id: "auto-start/interactableMethods", install: function(t) {
|
|
818
818
|
var e = t.Interactable;
|
|
819
819
|
e.prototype.getAction = function(n, r, i, o) {
|
|
820
|
-
var a = (function(s,
|
|
821
|
-
var f = s.getRect(
|
|
820
|
+
var a = (function(s, c, u, l, p) {
|
|
821
|
+
var f = s.getRect(l), v = c.buttons || { 0: 1, 1: 4, 3: 8, 4: 16 }[c.button], h = { action: null, interactable: s, interaction: u, element: l, rect: f, buttons: v };
|
|
822
822
|
return p.fire("auto-start:check", h), h.action;
|
|
823
823
|
})(this, r, i, o, t);
|
|
824
824
|
return this.options.actionChecker ? this.options.actionChecker(n, r, a, this, o, i) : a;
|
|
@@ -832,43 +832,43 @@ function bi() {
|
|
|
832
832
|
return e.testIgnoreAllow(e.options[t.name], n, r) && e.options[t.name].enabled && st(e, n, t, i) ? t : null;
|
|
833
833
|
}
|
|
834
834
|
function Qn(t, e, n, r, i, o, a) {
|
|
835
|
-
for (var s = 0,
|
|
836
|
-
var u = r[s],
|
|
835
|
+
for (var s = 0, c = r.length; s < c; s++) {
|
|
836
|
+
var u = r[s], l = i[s], p = u.getAction(e, n, t, l);
|
|
837
837
|
if (p) {
|
|
838
|
-
var f = an(p, u,
|
|
839
|
-
if (f) return { action: f, interactable: u, element:
|
|
838
|
+
var f = an(p, u, l, o, a);
|
|
839
|
+
if (f) return { action: f, interactable: u, element: l };
|
|
840
840
|
}
|
|
841
841
|
}
|
|
842
842
|
return { action: null, interactable: null, element: null };
|
|
843
843
|
}
|
|
844
844
|
function sn(t, e, n, r, i) {
|
|
845
845
|
var o = [], a = [], s = r;
|
|
846
|
-
function l
|
|
847
|
-
o.push(
|
|
846
|
+
function c(l) {
|
|
847
|
+
o.push(l), a.push(s);
|
|
848
848
|
}
|
|
849
849
|
for (; d.element(s); ) {
|
|
850
|
-
o = [], a = [], i.interactables.forEachMatch(s,
|
|
850
|
+
o = [], a = [], i.interactables.forEachMatch(s, c);
|
|
851
851
|
var u = Qn(t, e, n, o, a, r, i);
|
|
852
852
|
if (u.action && !u.interactable.options[u.action.name].manualStart) return u;
|
|
853
853
|
s = g(s);
|
|
854
854
|
}
|
|
855
855
|
return { action: null, interactable: null, element: null };
|
|
856
856
|
}
|
|
857
|
-
function
|
|
857
|
+
function cn(t, e, n) {
|
|
858
858
|
var r = e.action, i = e.interactable, o = e.element;
|
|
859
859
|
r = r || { name: null }, t.interactable = i, t.element = o, kt(t.prepared, r), t.rect = i && r.name ? i.getRect(o) : null, un(t, n), n.fire("autoStart:prepared", { interaction: t });
|
|
860
860
|
}
|
|
861
861
|
function st(t, e, n, r) {
|
|
862
|
-
var i = t.options, o = i[n.name].max, a = i[n.name].maxPerElement, s = r.autoStart.maxInteractions,
|
|
862
|
+
var i = t.options, o = i[n.name].max, a = i[n.name].maxPerElement, s = r.autoStart.maxInteractions, c = 0, u = 0, l = 0;
|
|
863
863
|
if (!(o && a && s)) return !1;
|
|
864
864
|
for (var p = 0, f = r.interactions.list; p < f.length; p++) {
|
|
865
865
|
var v = f[p], h = v.prepared.name;
|
|
866
|
-
if (v.interacting() && (++
|
|
866
|
+
if (v.interacting() && (++c >= s || v.interactable === t && ((u += h === n.name ? 1 : 0) >= o || v.element === e && (l++, h === n.name && l >= a))))
|
|
867
867
|
return !1;
|
|
868
868
|
}
|
|
869
869
|
return s > 0;
|
|
870
870
|
}
|
|
871
|
-
function
|
|
871
|
+
function ln(t, e) {
|
|
872
872
|
return d.number(t) ? (e.autoStart.maxInteractions = t, this) : e.autoStart.maxInteractions;
|
|
873
873
|
}
|
|
874
874
|
function Tt(t, e, n) {
|
|
@@ -889,15 +889,15 @@ function bi() {
|
|
|
889
889
|
var er = { id: "auto-start/base", before: ["actions"], install: function(t) {
|
|
890
890
|
var e = t.interactStatic, n = t.defaults;
|
|
891
891
|
t.usePlugin(Jn), n.base.actionChecker = null, n.base.styleCursor = !0, E(n.perAction, { manualStart: !1, max: 1 / 0, maxPerElement: 1, allowFrom: null, ignoreFrom: null, mouseButtons: 1 }), e.maxInteractions = function(r) {
|
|
892
|
-
return
|
|
892
|
+
return ln(r, t);
|
|
893
893
|
}, t.autoStart = { maxInteractions: 1 / 0, withinInteractionLimit: st, cursorElement: null };
|
|
894
894
|
}, listeners: { "interactions:down": function(t, e) {
|
|
895
895
|
var n = t.interaction, r = t.pointer, i = t.event, o = t.eventTarget;
|
|
896
|
-
n.interacting() ||
|
|
896
|
+
n.interacting() || cn(n, sn(n, r, i, o, e), e);
|
|
897
897
|
}, "interactions:move": function(t, e) {
|
|
898
898
|
(function(n, r) {
|
|
899
899
|
var i = n.interaction, o = n.pointer, a = n.event, s = n.eventTarget;
|
|
900
|
-
i.pointerType !== "mouse" || i.pointerIsDown || i.interacting() ||
|
|
900
|
+
i.pointerType !== "mouse" || i.pointerIsDown || i.interacting() || cn(i, sn(i, o, a, s, r), r);
|
|
901
901
|
})(t, e), (function(n, r) {
|
|
902
902
|
var i = n.interaction;
|
|
903
903
|
if (i.pointerIsDown && !i.interacting() && i.pointerWasMoved && i.prepared.name) {
|
|
@@ -909,11 +909,11 @@ function bi() {
|
|
|
909
909
|
}, "interactions:stop": function(t, e) {
|
|
910
910
|
var n = t.interaction, r = n.interactable;
|
|
911
911
|
r && r.options.styleCursor && Tt(n.element, "", e);
|
|
912
|
-
} }, maxInteractions:
|
|
912
|
+
} }, maxInteractions: ln, withinInteractionLimit: st, validateAction: an }, Ot = er, tr = { id: "auto-start/dragAxis", listeners: { "autoStart:before-start": function(t, e) {
|
|
913
913
|
var n = t.interaction, r = t.eventTarget, i = t.dx, o = t.dy;
|
|
914
914
|
if (n.prepared.name === "drag") {
|
|
915
|
-
var a = Math.abs(i), s = Math.abs(o),
|
|
916
|
-
if (n.prepared.axis =
|
|
915
|
+
var a = Math.abs(i), s = Math.abs(o), c = n.interactable.options.drag, u = c.startAxis, l = a > s ? "x" : a < s ? "y" : "xy";
|
|
916
|
+
if (n.prepared.axis = c.lockAxis === "start" ? l[0] : c.lockAxis, l !== "xy" && u !== "xy" && u !== l) {
|
|
917
917
|
n.prepared.name = null;
|
|
918
918
|
for (var p = r, f = function(h) {
|
|
919
919
|
if (h !== n.interactable) {
|
|
@@ -924,7 +924,7 @@ function bi() {
|
|
|
924
924
|
if (!_) return !1;
|
|
925
925
|
var P = _.options.drag.startAxis;
|
|
926
926
|
return b === "xy" || P === "xy" || P === b;
|
|
927
|
-
})(
|
|
927
|
+
})(l, h) && Ot.validateAction(w, h, p, r, e)) return h;
|
|
928
928
|
}
|
|
929
929
|
}
|
|
930
930
|
}; d.element(p); ) {
|
|
@@ -976,8 +976,8 @@ function bi() {
|
|
|
976
976
|
var a = r.options.preventDefault;
|
|
977
977
|
if (a !== "never") if (a !== "always") {
|
|
978
978
|
if (i.events.supportsPassive && /^touch(start|move)$/.test(o.type)) {
|
|
979
|
-
var s = Y(o.target).document,
|
|
980
|
-
if (!
|
|
979
|
+
var s = Y(o.target).document, c = i.getDocOptions(s);
|
|
980
|
+
if (!c || !c.events || c.events.passive !== !1) return;
|
|
981
981
|
}
|
|
982
982
|
/^(mouse|pointer|touch)*(down|start)/i.test(o.type) || d.element(o.target) && y(o.target, "input,select,textarea,[contenteditable=true],[contenteditable=true] *") || o.preventDefault();
|
|
983
983
|
} else o.preventDefault();
|
|
@@ -991,7 +991,7 @@ function bi() {
|
|
|
991
991
|
}, listeners: ["down", "move", "up", "cancel"].reduce((function(t, e) {
|
|
992
992
|
return t["interactions:".concat(e)] = ar, t;
|
|
993
993
|
}), {}) };
|
|
994
|
-
function
|
|
994
|
+
function ct(t, e) {
|
|
995
995
|
if (e.phaselessTypes[t]) return !0;
|
|
996
996
|
for (var n in e.map) if (t.indexOf(n) === 0 && t.substr(n.length) in e.phases) return !0;
|
|
997
997
|
return !1;
|
|
@@ -1006,21 +1006,21 @@ function bi() {
|
|
|
1006
1006
|
}
|
|
1007
1007
|
var It = (function() {
|
|
1008
1008
|
function t(e) {
|
|
1009
|
-
F(this, t), this.states = [], this.startOffset = { left: 0, right: 0, top: 0, bottom: 0 }, this.startDelta = void 0, this.result = void 0, this.endResult = void 0, this.startEdges = void 0, this.edges = void 0, this.interaction = void 0, this.interaction = e, this.result =
|
|
1009
|
+
F(this, t), this.states = [], this.startOffset = { left: 0, right: 0, top: 0, bottom: 0 }, this.startDelta = void 0, this.result = void 0, this.endResult = void 0, this.startEdges = void 0, this.edges = void 0, this.interaction = void 0, this.interaction = e, this.result = lt(), this.edges = { left: !1, right: !1, top: !1, bottom: !1 };
|
|
1010
1010
|
}
|
|
1011
1011
|
return R(t, [{ key: "start", value: function(e, n) {
|
|
1012
1012
|
var r, i, o = e.phase, a = this.interaction, s = (function(u) {
|
|
1013
|
-
var
|
|
1013
|
+
var l = u.interactable.options[u.prepared.name], p = l.modifiers;
|
|
1014
1014
|
return p && p.length ? p : ["snap", "snapSize", "snapEdges", "restrict", "restrictEdges", "restrictSize"].map((function(f) {
|
|
1015
|
-
var v =
|
|
1015
|
+
var v = l[f];
|
|
1016
1016
|
return v && v.enabled && { options: v, methods: v._methods };
|
|
1017
1017
|
})).filter((function(f) {
|
|
1018
1018
|
return !!f;
|
|
1019
1019
|
}));
|
|
1020
1020
|
})(a);
|
|
1021
1021
|
this.prepareStates(s), this.startEdges = E({}, a.edges), this.edges = E({}, this.startEdges), this.startOffset = (r = a.rect, i = n, r ? { left: i.x - r.left, top: i.y - r.top, right: r.right - i.x, bottom: r.bottom - i.y } : { left: 0, top: 0, right: 0, bottom: 0 }), this.startDelta = { x: 0, y: 0 };
|
|
1022
|
-
var
|
|
1023
|
-
return this.result =
|
|
1022
|
+
var c = this.fillArg({ phase: o, pageCoords: n, preEnd: !1 });
|
|
1023
|
+
return this.result = lt(), this.startAll(c), this.result = this.setAll(c);
|
|
1024
1024
|
} }, { key: "fillArg", value: function(e) {
|
|
1025
1025
|
var n = this.interaction;
|
|
1026
1026
|
return e.interaction = n, e.interactable = n.interactable, e.element = n.element, e.rect || (e.rect = n.rect), e.edges || (e.edges = this.startEdges), e.startOffset = this.startOffset, e;
|
|
@@ -1032,22 +1032,22 @@ function bi() {
|
|
|
1032
1032
|
} }, { key: "setAll", value: function(e) {
|
|
1033
1033
|
var n = e.phase, r = e.preEnd, i = e.skipModifiers, o = e.rect, a = e.edges;
|
|
1034
1034
|
e.coords = E({}, e.pageCoords), e.rect = E({}, o), e.edges = E({}, a);
|
|
1035
|
-
for (var s = i ? this.states.slice(i) : this.states,
|
|
1036
|
-
var
|
|
1037
|
-
(
|
|
1035
|
+
for (var s = i ? this.states.slice(i) : this.states, c = lt(e.coords, e.rect), u = 0; u < s.length; u++) {
|
|
1036
|
+
var l, p = s[u], f = p.options, v = E({}, e.coords), h = null;
|
|
1037
|
+
(l = p.methods) != null && l.set && this.shouldDo(f, r, n) && (e.state = p, h = p.methods.set(e), nt(e.edges, e.rect, { x: e.coords.x - v.x, y: e.coords.y - v.y })), c.eventProps.push(h);
|
|
1038
1038
|
}
|
|
1039
|
-
E(this.edges, e.edges),
|
|
1039
|
+
E(this.edges, e.edges), c.delta.x = e.coords.x - e.pageCoords.x, c.delta.y = e.coords.y - e.pageCoords.y, c.rectDelta.left = e.rect.left - o.left, c.rectDelta.right = e.rect.right - o.right, c.rectDelta.top = e.rect.top - o.top, c.rectDelta.bottom = e.rect.bottom - o.bottom;
|
|
1040
1040
|
var m = this.result.coords, w = this.result.rect;
|
|
1041
1041
|
if (m && w) {
|
|
1042
|
-
var b =
|
|
1043
|
-
|
|
1042
|
+
var b = c.rect.left !== w.left || c.rect.right !== w.right || c.rect.top !== w.top || c.rect.bottom !== w.bottom;
|
|
1043
|
+
c.changed = b || m.x !== c.coords.x || m.y !== c.coords.y;
|
|
1044
1044
|
}
|
|
1045
|
-
return
|
|
1045
|
+
return c;
|
|
1046
1046
|
} }, { key: "applyToInteraction", value: function(e) {
|
|
1047
|
-
var n = this.interaction, r = e.phase, i = n.coords.cur, o = n.coords.start, a = this.result, s = this.startDelta,
|
|
1047
|
+
var n = this.interaction, r = e.phase, i = n.coords.cur, o = n.coords.start, a = this.result, s = this.startDelta, c = a.delta;
|
|
1048
1048
|
r === "start" && E(this.startDelta, a.delta);
|
|
1049
|
-
for (var u = 0,
|
|
1050
|
-
var p =
|
|
1049
|
+
for (var u = 0, l = [[o, s], [i, c]]; u < l.length; u++) {
|
|
1050
|
+
var p = l[u], f = p[0], v = p[1];
|
|
1051
1051
|
f.page.x += v.x, f.page.y += v.y, f.client.x += v.x, f.client.y += v.y;
|
|
1052
1052
|
}
|
|
1053
1053
|
var h = this.result.rectDelta, m = e.rect || n.rect;
|
|
@@ -1056,8 +1056,8 @@ function bi() {
|
|
|
1056
1056
|
var n = this.interaction, r = e.phase, i = e.preEnd, o = e.skipModifiers, a = this.setAll(this.fillArg({ preEnd: i, phase: r, pageCoords: e.modifiedCoords || n.coords.cur.page }));
|
|
1057
1057
|
if (this.result = a, !a.changed && (!o || o < this.states.length) && n.interacting()) return !1;
|
|
1058
1058
|
if (e.modifiedCoords) {
|
|
1059
|
-
var s = n.coords.cur.page,
|
|
1060
|
-
a.coords.x +=
|
|
1059
|
+
var s = n.coords.cur.page, c = { x: e.modifiedCoords.x - s.x, y: e.modifiedCoords.y - s.y };
|
|
1060
|
+
a.coords.x += c.x, a.coords.y += c.y, a.delta.x += c.x, a.delta.y += c.y;
|
|
1061
1061
|
}
|
|
1062
1062
|
this.applyToInteraction(e);
|
|
1063
1063
|
} }, { key: "beforeEnd", value: function(e) {
|
|
@@ -1066,9 +1066,9 @@ function bi() {
|
|
|
1066
1066
|
for (var o = !1, a = 0; a < i.length; a++) {
|
|
1067
1067
|
var s = i[a];
|
|
1068
1068
|
e.state = s;
|
|
1069
|
-
var
|
|
1070
|
-
if (
|
|
1071
|
-
o = o || !o && this.shouldDo(
|
|
1069
|
+
var c = s.options, u = s.methods, l = u.beforeEnd && u.beforeEnd(e);
|
|
1070
|
+
if (l) return this.endResult = l, !1;
|
|
1071
|
+
o = o || !o && this.shouldDo(c, !0, e.phase, !0);
|
|
1072
1072
|
}
|
|
1073
1073
|
o && n.move({ event: r, preEnd: !0 });
|
|
1074
1074
|
}
|
|
@@ -1093,8 +1093,8 @@ function bi() {
|
|
|
1093
1093
|
} }, { key: "restoreInteractionCoords", value: function(e) {
|
|
1094
1094
|
var n = e.interaction, r = n.coords, i = n.rect, o = n.modification;
|
|
1095
1095
|
if (o.result) {
|
|
1096
|
-
for (var a = o.startDelta, s = o.result,
|
|
1097
|
-
var f = p[
|
|
1096
|
+
for (var a = o.startDelta, s = o.result, c = s.delta, u = s.rectDelta, l = 0, p = [[r.start, a], [r.cur, c]]; l < p.length; l++) {
|
|
1097
|
+
var f = p[l], v = f[0], h = f[1];
|
|
1098
1098
|
v.page.x -= h.x, v.page.y -= h.y, v.client.x -= h.x, v.client.y -= h.y;
|
|
1099
1099
|
}
|
|
1100
1100
|
i.left -= u.left, i.right -= u.right, i.top -= u.top, i.bottom -= u.bottom;
|
|
@@ -1104,24 +1104,24 @@ function bi() {
|
|
|
1104
1104
|
} }, { key: "copyFrom", value: function(e) {
|
|
1105
1105
|
this.startOffset = e.startOffset, this.startDelta = e.startDelta, this.startEdges = e.startEdges, this.edges = e.edges, this.states = e.states.map((function(n) {
|
|
1106
1106
|
return Re(n);
|
|
1107
|
-
})), this.result =
|
|
1107
|
+
})), this.result = lt(E({}, e.result.coords), E({}, e.result.rect));
|
|
1108
1108
|
} }, { key: "destroy", value: function() {
|
|
1109
1109
|
for (var e in this) this[e] = null;
|
|
1110
1110
|
} }]), t;
|
|
1111
1111
|
})();
|
|
1112
|
-
function
|
|
1112
|
+
function lt(t, e) {
|
|
1113
1113
|
return { rect: e, coords: t, delta: { x: 0, y: 0 }, rectDelta: { left: 0, right: 0, top: 0, bottom: 0 }, eventProps: [], changed: !0 };
|
|
1114
1114
|
}
|
|
1115
1115
|
function we(t, e) {
|
|
1116
1116
|
var n = t.defaults, r = { start: t.start, set: t.set, beforeEnd: t.beforeEnd, stop: t.stop }, i = function(o) {
|
|
1117
1117
|
var a = o || {};
|
|
1118
1118
|
for (var s in a.enabled = a.enabled !== !1, n) s in a || (a[s] = n[s]);
|
|
1119
|
-
var
|
|
1120
|
-
return a.enabled = !0,
|
|
1119
|
+
var c = { options: a, methods: r, name: e, enable: function() {
|
|
1120
|
+
return a.enabled = !0, c;
|
|
1121
1121
|
}, disable: function() {
|
|
1122
|
-
return a.enabled = !1,
|
|
1122
|
+
return a.enabled = !1, c;
|
|
1123
1123
|
} };
|
|
1124
|
-
return
|
|
1124
|
+
return c;
|
|
1125
1125
|
};
|
|
1126
1126
|
return e && typeof e == "string" && (i._defaults = n, i._methods = r), i;
|
|
1127
1127
|
}
|
|
@@ -1152,11 +1152,11 @@ function bi() {
|
|
|
1152
1152
|
} } }, fn = sr, dn = { base: { preventDefault: "auto", deltaSource: "page" }, perAction: { enabled: !1, origin: { x: 0, y: 0 } }, actions: {} }, Mt = (function(t) {
|
|
1153
1153
|
ie(n, t);
|
|
1154
1154
|
var e = ke(n);
|
|
1155
|
-
function n(r, i, o, a, s,
|
|
1156
|
-
var
|
|
1157
|
-
F(this, n), (
|
|
1158
|
-
var p = r.interactable, f = (p && p.options || dn).deltaSource, v = Be(p, s, o), h = a === "start", m = a === "end", w = h ? Le(
|
|
1159
|
-
return
|
|
1155
|
+
function n(r, i, o, a, s, c, u) {
|
|
1156
|
+
var l;
|
|
1157
|
+
F(this, n), (l = e.call(this, r)).relatedTarget = null, l.screenX = void 0, l.screenY = void 0, l.button = void 0, l.buttons = void 0, l.ctrlKey = void 0, l.shiftKey = void 0, l.altKey = void 0, l.metaKey = void 0, l.page = void 0, l.client = void 0, l.delta = void 0, l.rect = void 0, l.x0 = void 0, l.y0 = void 0, l.t0 = void 0, l.dt = void 0, l.duration = void 0, l.clientX0 = void 0, l.clientY0 = void 0, l.velocity = void 0, l.speed = void 0, l.swipe = void 0, l.axes = void 0, l.preEnd = void 0, s = s || r.element;
|
|
1158
|
+
var p = r.interactable, f = (p && p.options || dn).deltaSource, v = Be(p, s, o), h = a === "start", m = a === "end", w = h ? Le(l) : r.prevEvent, b = h ? r.coords.start : m ? { page: w.page, client: w.client, timeStamp: r.coords.cur.timeStamp } : r.coords.cur;
|
|
1159
|
+
return l.page = E({}, b.page), l.client = E({}, b.client), l.rect = E({}, r.rect), l.timeStamp = b.timeStamp, m || (l.page.x -= v.x, l.page.y -= v.y, l.client.x -= v.x, l.client.y -= v.y), l.ctrlKey = i.ctrlKey, l.altKey = i.altKey, l.shiftKey = i.shiftKey, l.metaKey = i.metaKey, l.button = i.button, l.buttons = i.buttons, l.target = s, l.currentTarget = s, l.preEnd = c, l.type = u || o + (a || ""), l.interactable = p, l.t0 = h ? r.pointers[r.pointers.length - 1].downTime : w.t0, l.x0 = r.coords.start.page.x - v.x, l.y0 = r.coords.start.page.y - v.y, l.clientX0 = r.coords.start.client.x - v.x, l.clientY0 = r.coords.start.client.y - v.y, l.delta = h || m ? { x: 0, y: 0 } : { x: l[f].x - w[f].x, y: l[f].y - w[f].y }, l.dt = r.coords.delta.timeStamp, l.duration = l.timeStamp - l.t0, l.velocity = E({}, r.coords.velocity[f]), l.speed = Ue(l.velocity.x, l.velocity.y), l.swipe = m || a === "inertiastart" ? l.getSwipe() : null, l;
|
|
1160
1160
|
}
|
|
1161
1161
|
return R(n, [{ key: "getSwipe", value: function() {
|
|
1162
1162
|
var r = this._interaction;
|
|
@@ -1205,32 +1205,32 @@ function bi() {
|
|
|
1205
1205
|
}, set: function(t) {
|
|
1206
1206
|
this.velocity.y = t;
|
|
1207
1207
|
} } });
|
|
1208
|
-
var
|
|
1208
|
+
var cr = R((function t(e, n, r, i, o) {
|
|
1209
1209
|
F(this, t), this.id = void 0, this.pointer = void 0, this.event = void 0, this.downTime = void 0, this.downTarget = void 0, this.id = e, this.pointer = n, this.event = r, this.downTime = i, this.downTarget = o;
|
|
1210
|
-
})),
|
|
1210
|
+
})), lr = (function(t) {
|
|
1211
1211
|
return t.interactable = "", t.element = "", t.prepared = "", t.pointerIsDown = "", t.pointerWasMoved = "", t._proxy = "", t;
|
|
1212
1212
|
})({}), hn = (function(t) {
|
|
1213
1213
|
return t.start = "", t.move = "", t.end = "", t.stop = "", t.interacting = "", t;
|
|
1214
1214
|
})({}), ur = 0, pr = (function() {
|
|
1215
1215
|
function t(e) {
|
|
1216
1216
|
var n = this, r = e.pointerType, i = e.scopeFire;
|
|
1217
|
-
F(this, t), this.interactable = null, this.element = null, this.rect = null, this._rects = void 0, this.edges = null, this._scopeFire = void 0, this.prepared = { name: null, axis: null, edges: null }, this.pointerType = void 0, this.pointers = [], this.downEvent = null, this.downPointer = {}, this._latestPointer = { pointer: null, event: null, eventTarget: null }, this.prevEvent = null, this.pointerIsDown = !1, this.pointerWasMoved = !1, this._interacting = !1, this._ending = !1, this._stopped = !0, this._proxy = void 0, this.simulation = null, this.doMove = Xe((function(
|
|
1218
|
-
this.move(
|
|
1217
|
+
F(this, t), this.interactable = null, this.element = null, this.rect = null, this._rects = void 0, this.edges = null, this._scopeFire = void 0, this.prepared = { name: null, axis: null, edges: null }, this.pointerType = void 0, this.pointers = [], this.downEvent = null, this.downPointer = {}, this._latestPointer = { pointer: null, event: null, eventTarget: null }, this.prevEvent = null, this.pointerIsDown = !1, this.pointerWasMoved = !1, this._interacting = !1, this._ending = !1, this._stopped = !0, this._proxy = void 0, this.simulation = null, this.doMove = Xe((function(l) {
|
|
1218
|
+
this.move(l);
|
|
1219
1219
|
}), "The interaction.doMove() method has been renamed to interaction.move()"), this.coords = { start: { page: { x: 0, y: 0 }, client: { x: 0, y: 0 }, timeStamp: 0 }, prev: { page: { x: 0, y: 0 }, client: { x: 0, y: 0 }, timeStamp: 0 }, cur: { page: { x: 0, y: 0 }, client: { x: 0, y: 0 }, timeStamp: 0 }, delta: { page: { x: 0, y: 0 }, client: { x: 0, y: 0 }, timeStamp: 0 }, velocity: { page: { x: 0, y: 0 }, client: { x: 0, y: 0 }, timeStamp: 0 } }, this._id = ur++, this._scopeFire = i, this.pointerType = r;
|
|
1220
1220
|
var o = this;
|
|
1221
1221
|
this._proxy = {};
|
|
1222
|
-
var a = function(
|
|
1223
|
-
Object.defineProperty(n._proxy,
|
|
1224
|
-
return o[
|
|
1222
|
+
var a = function(l) {
|
|
1223
|
+
Object.defineProperty(n._proxy, l, { get: function() {
|
|
1224
|
+
return o[l];
|
|
1225
1225
|
} });
|
|
1226
1226
|
};
|
|
1227
|
-
for (var s in
|
|
1228
|
-
var
|
|
1229
|
-
Object.defineProperty(n._proxy,
|
|
1230
|
-
return o[
|
|
1227
|
+
for (var s in lr) a(s);
|
|
1228
|
+
var c = function(l) {
|
|
1229
|
+
Object.defineProperty(n._proxy, l, { value: function() {
|
|
1230
|
+
return o[l].apply(o, arguments);
|
|
1231
1231
|
} });
|
|
1232
1232
|
};
|
|
1233
|
-
for (var u in hn)
|
|
1233
|
+
for (var u in hn) c(u);
|
|
1234
1234
|
this._scopeFire("interactions:new", { interaction: this });
|
|
1235
1235
|
}
|
|
1236
1236
|
return R(t, [{ key: "pointerMoveTolerance", get: function() {
|
|
@@ -1244,8 +1244,8 @@ function bi() {
|
|
|
1244
1244
|
this.simulation || this.modification && this.modification.endResult || this.updatePointer(e, n, r, !1);
|
|
1245
1245
|
var i, o, a = this.coords.cur.page.x === this.coords.prev.page.x && this.coords.cur.page.y === this.coords.prev.page.y && this.coords.cur.client.x === this.coords.prev.client.x && this.coords.cur.client.y === this.coords.prev.client.y;
|
|
1246
1246
|
this.pointerIsDown && !this.pointerWasMoved && (i = this.coords.cur.client.x - this.coords.start.client.x, o = this.coords.cur.client.y - this.coords.start.client.y, this.pointerWasMoved = Ue(i, o) > this.pointerMoveTolerance);
|
|
1247
|
-
var s,
|
|
1248
|
-
a || (s = this.coords.velocity,
|
|
1247
|
+
var s, c, u, l = this.getPointerIndex(e), p = { pointer: e, pointerIndex: l, pointerInfo: this.pointers[l], event: n, type: "move", eventTarget: r, dx: i, dy: o, duplicate: a, interaction: this };
|
|
1248
|
+
a || (s = this.coords.velocity, c = this.coords.delta, u = Math.max(c.timeStamp / 1e3, 1e-3), s.page.x = c.page.x / u, s.page.y = c.page.y / u, s.client.x = c.client.x / u, s.client.y = c.client.y / u, s.timeStamp = u), this._scopeFire("interactions:move", p), a || this.simulation || (this.interacting() && (p.type = null, this.move(p)), this.pointerWasMoved && it(this.coords.prev, this.coords.cur));
|
|
1249
1249
|
} }, { key: "move", value: function(e) {
|
|
1250
1250
|
e && e.event || Nt(this.coords.delta), (e = E({ pointer: this._latestPointer.pointer, event: this._latestPointer.event, eventTarget: this._latestPointer.eventTarget, interaction: this }, e || {})).phase = "move", this._doPhase(e);
|
|
1251
1251
|
} }, { key: "pointerUp", value: function(e, n, r, i) {
|
|
@@ -1272,10 +1272,10 @@ function bi() {
|
|
|
1272
1272
|
} }, { key: "getPointerInfo", value: function(e) {
|
|
1273
1273
|
return this.pointers[this.getPointerIndex(e)];
|
|
1274
1274
|
} }, { key: "updatePointer", value: function(e, n, r, i) {
|
|
1275
|
-
var o, a, s,
|
|
1276
|
-
return i = i !== !1 && (i || /(down|start)$/i.test(n.type)),
|
|
1275
|
+
var o, a, s, c = Ne(e), u = this.getPointerIndex(e), l = this.pointers[u];
|
|
1276
|
+
return i = i !== !1 && (i || /(down|start)$/i.test(n.type)), l ? l.pointer = e : (l = new cr(c, e, n, null, null), u = this.pointers.length, this.pointers.push(l)), Un(this.coords.cur, this.pointers.map((function(p) {
|
|
1277
1277
|
return p.pointer;
|
|
1278
|
-
})), this._now()), o = this.coords.delta, a = this.coords.prev, s = this.coords.cur, o.page.x = s.page.x - a.page.x, o.page.y = s.page.y - a.page.y, o.client.x = s.client.x - a.client.x, o.client.y = s.client.y - a.client.y, o.timeStamp = s.timeStamp - a.timeStamp, i && (this.pointerIsDown = !0,
|
|
1278
|
+
})), this._now()), o = this.coords.delta, a = this.coords.prev, s = this.coords.cur, o.page.x = s.page.x - a.page.x, o.page.y = s.page.y - a.page.y, o.client.x = s.client.x - a.client.x, o.client.y = s.client.y - a.client.y, o.timeStamp = s.timeStamp - a.timeStamp, i && (this.pointerIsDown = !0, l.downTime = this.coords.cur.timeStamp, l.downTarget = r, rt(this.downPointer, e), this.interacting() || (it(this.coords.start, this.coords.cur), it(this.coords.prev, this.coords.cur), this.downEvent = n, this.pointerWasMoved = !1)), this._updateLatestPointer(e, n, r), this._scopeFire("interactions:update-pointer", { pointer: e, event: n, eventTarget: r, down: i, pointerInfo: l, pointerIndex: u, interaction: this }), u;
|
|
1279
1279
|
} }, { key: "removePointer", value: function(e, n) {
|
|
1280
1280
|
var r = this.getPointerIndex(e);
|
|
1281
1281
|
if (r !== -1) {
|
|
@@ -1365,13 +1365,13 @@ function bi() {
|
|
|
1365
1365
|
n.active && e();
|
|
1366
1366
|
}));
|
|
1367
1367
|
} }, { key: "inertiaTick", value: function() {
|
|
1368
|
-
var e, n, r, i, o, a, s,
|
|
1368
|
+
var e, n, r, i, o, a, s, c = this, u = this.interaction, l = ut(u).resistance, p = (u._now() - this.t0) / 1e3;
|
|
1369
1369
|
if (p < this.te) {
|
|
1370
|
-
var f, v = 1 - (Math.exp(-
|
|
1370
|
+
var f, v = 1 - (Math.exp(-l * p) - this.lambda_v0) / this.one_ve_v0;
|
|
1371
1371
|
this.isModified ? (e = 0, n = 0, r = this.targetOffset.x, i = this.targetOffset.y, o = this.modifiedOffset.x, a = this.modifiedOffset.y, f = { x: yn(s = v, e, r, o), y: yn(s, n, i, a) }) : f = { x: this.targetOffset.x * v, y: this.targetOffset.y * v };
|
|
1372
1372
|
var h = { x: f.x - this.currentOffset.x, y: f.y - this.currentOffset.y };
|
|
1373
1373
|
this.currentOffset.x += h.x, this.currentOffset.y += h.y, u.offsetBy(h), u.move(), this.onNextFrame((function() {
|
|
1374
|
-
return
|
|
1374
|
+
return c.inertiaTick();
|
|
1375
1375
|
}));
|
|
1376
1376
|
} else u.offsetBy({ x: this.modifiedOffset.x - this.currentOffset.x, y: this.modifiedOffset.y - this.currentOffset.y }), this.end();
|
|
1377
1377
|
} }, { key: "smoothEndTick", value: function() {
|
|
@@ -1456,8 +1456,8 @@ function bi() {
|
|
|
1456
1456
|
for (e in r) {
|
|
1457
1457
|
var i = this.types[e];
|
|
1458
1458
|
if (i && i.length) for (var o = 0, a = r[e]; o < a.length; o++) {
|
|
1459
|
-
var s = a[o],
|
|
1460
|
-
|
|
1459
|
+
var s = a[o], c = i.indexOf(s);
|
|
1460
|
+
c !== -1 && i.splice(c, 1);
|
|
1461
1461
|
}
|
|
1462
1462
|
}
|
|
1463
1463
|
} }, { key: "getRect", value: function(e) {
|
|
@@ -1482,50 +1482,50 @@ function bi() {
|
|
|
1482
1482
|
return t === e || (typeof t == "boolean" ? !!e.capture === t && !e.passive : !!t.capture == !!e.capture && !!t.passive == !!e.passive);
|
|
1483
1483
|
}
|
|
1484
1484
|
var yr = { id: "events", install: function(t) {
|
|
1485
|
-
var e, n = [], r = {}, i = [], o = { add: a, remove: s, addDelegate: function(
|
|
1485
|
+
var e, n = [], r = {}, i = [], o = { add: a, remove: s, addDelegate: function(l, p, f, v, h) {
|
|
1486
1486
|
var m = Ge(h);
|
|
1487
1487
|
if (!r[f]) {
|
|
1488
1488
|
r[f] = [];
|
|
1489
1489
|
for (var w = 0; w < i.length; w++) {
|
|
1490
1490
|
var b = i[w];
|
|
1491
|
-
a(b, f,
|
|
1491
|
+
a(b, f, c), a(b, f, u, !0);
|
|
1492
1492
|
}
|
|
1493
1493
|
}
|
|
1494
1494
|
var _ = r[f], P = qe(_, (function(D) {
|
|
1495
|
-
return D.selector ===
|
|
1495
|
+
return D.selector === l && D.context === p;
|
|
1496
1496
|
}));
|
|
1497
|
-
P || (P = { selector:
|
|
1498
|
-
}, removeDelegate: function(
|
|
1497
|
+
P || (P = { selector: l, context: p, listeners: [] }, _.push(P)), P.listeners.push({ func: v, options: m });
|
|
1498
|
+
}, removeDelegate: function(l, p, f, v, h) {
|
|
1499
1499
|
var m, w = Ge(h), b = r[f], _ = !1;
|
|
1500
1500
|
if (b)
|
|
1501
1501
|
for (m = b.length - 1; m >= 0; m--) {
|
|
1502
1502
|
var P = b[m];
|
|
1503
|
-
if (P.selector ===
|
|
1503
|
+
if (P.selector === l && P.context === p) {
|
|
1504
1504
|
for (var D = P.listeners, T = D.length - 1; T >= 0; T--) {
|
|
1505
1505
|
var I = D[T];
|
|
1506
1506
|
if (I.func === v && pt(I.options, w)) {
|
|
1507
|
-
D.splice(T, 1), D.length || (b.splice(m, 1), s(p, f,
|
|
1507
|
+
D.splice(T, 1), D.length || (b.splice(m, 1), s(p, f, c), s(p, f, u, !0)), _ = !0;
|
|
1508
1508
|
break;
|
|
1509
1509
|
}
|
|
1510
1510
|
}
|
|
1511
1511
|
if (_) break;
|
|
1512
1512
|
}
|
|
1513
1513
|
}
|
|
1514
|
-
}, delegateListener:
|
|
1515
|
-
function a(
|
|
1516
|
-
if (
|
|
1514
|
+
}, delegateListener: c, delegateUseCapture: u, delegatedEvents: r, documents: i, targets: n, supportsOptions: !1, supportsPassive: !1 };
|
|
1515
|
+
function a(l, p, f, v) {
|
|
1516
|
+
if (l.addEventListener) {
|
|
1517
1517
|
var h = Ge(v), m = qe(n, (function(w) {
|
|
1518
|
-
return w.eventTarget ===
|
|
1518
|
+
return w.eventTarget === l;
|
|
1519
1519
|
}));
|
|
1520
|
-
m || (m = { eventTarget:
|
|
1520
|
+
m || (m = { eventTarget: l, events: {} }, n.push(m)), m.events[p] || (m.events[p] = []), qe(m.events[p], (function(w) {
|
|
1521
1521
|
return w.func === f && pt(w.options, h);
|
|
1522
|
-
})) || (
|
|
1522
|
+
})) || (l.addEventListener(p, f, o.supportsOptions ? h : h.capture), m.events[p].push({ func: f, options: h }));
|
|
1523
1523
|
}
|
|
1524
1524
|
}
|
|
1525
|
-
function s(
|
|
1526
|
-
if (
|
|
1525
|
+
function s(l, p, f, v) {
|
|
1526
|
+
if (l.addEventListener && l.removeEventListener) {
|
|
1527
1527
|
var h = We(n, (function(H) {
|
|
1528
|
-
return H.eventTarget ===
|
|
1528
|
+
return H.eventTarget === l;
|
|
1529
1529
|
})), m = n[h];
|
|
1530
1530
|
if (m && m.events) if (p !== "all") {
|
|
1531
1531
|
var w = !1, b = m.events[p];
|
|
@@ -1533,24 +1533,24 @@ function bi() {
|
|
|
1533
1533
|
if (f === "all") {
|
|
1534
1534
|
for (var _ = b.length - 1; _ >= 0; _--) {
|
|
1535
1535
|
var P = b[_];
|
|
1536
|
-
s(
|
|
1536
|
+
s(l, p, P.func, P.options);
|
|
1537
1537
|
}
|
|
1538
1538
|
return;
|
|
1539
1539
|
}
|
|
1540
1540
|
for (var D = Ge(v), T = 0; T < b.length; T++) {
|
|
1541
1541
|
var I = b[T];
|
|
1542
1542
|
if (I.func === f && pt(I.options, D)) {
|
|
1543
|
-
|
|
1543
|
+
l.removeEventListener(p, f, o.supportsOptions ? D : D.capture), b.splice(T, 1), b.length === 0 && (delete m.events[p], w = !0);
|
|
1544
1544
|
break;
|
|
1545
1545
|
}
|
|
1546
1546
|
}
|
|
1547
1547
|
}
|
|
1548
1548
|
w && !Object.keys(m.events).length && n.splice(h, 1);
|
|
1549
|
-
} else for (p in m.events) m.events.hasOwnProperty(p) && s(
|
|
1549
|
+
} else for (p in m.events) m.events.hasOwnProperty(p) && s(l, p, "all");
|
|
1550
1550
|
}
|
|
1551
1551
|
}
|
|
1552
|
-
function l
|
|
1553
|
-
for (var f = Ge(p), v = new mr(
|
|
1552
|
+
function c(l, p) {
|
|
1553
|
+
for (var f = Ge(p), v = new mr(l), h = r[l.type], m = Gt(l)[0], w = m; d.element(w); ) {
|
|
1554
1554
|
for (var b = 0; b < h.length; b++) {
|
|
1555
1555
|
var _ = h[b], P = _.selector, D = _.context;
|
|
1556
1556
|
if (y(w, P) && he(D, m) && he(D, w)) {
|
|
@@ -1565,8 +1565,8 @@ function bi() {
|
|
|
1565
1565
|
w = g(w);
|
|
1566
1566
|
}
|
|
1567
1567
|
}
|
|
1568
|
-
function u(
|
|
1569
|
-
return l
|
|
1568
|
+
function u(l) {
|
|
1569
|
+
return c(l, !0);
|
|
1570
1570
|
}
|
|
1571
1571
|
return (e = t.document) == null || e.createElement("div").addEventListener("test", null, { get capture() {
|
|
1572
1572
|
return o.supportsOptions = !0;
|
|
@@ -1583,10 +1583,10 @@ function bi() {
|
|
|
1583
1583
|
var e = t.pointerType, n = t.eventType, r = t.eventTarget, i = t.scope;
|
|
1584
1584
|
if (!/down|start/i.test(n)) return null;
|
|
1585
1585
|
for (var o = 0, a = i.interactions.list; o < a.length; o++) {
|
|
1586
|
-
var s = a[o],
|
|
1587
|
-
if (s.simulation && s.simulation.allowResume && s.pointerType === e) for (;
|
|
1588
|
-
if (
|
|
1589
|
-
|
|
1586
|
+
var s = a[o], c = r;
|
|
1587
|
+
if (s.simulation && s.simulation.allowResume && s.pointerType === e) for (; c; ) {
|
|
1588
|
+
if (c === s.element) return s;
|
|
1589
|
+
c = g(c);
|
|
1590
1590
|
}
|
|
1591
1591
|
}
|
|
1592
1592
|
return null;
|
|
@@ -1594,16 +1594,16 @@ function bi() {
|
|
|
1594
1594
|
var e, n = t.pointerId, r = t.pointerType, i = t.eventType, o = t.scope;
|
|
1595
1595
|
if (r !== "mouse" && r !== "pen") return null;
|
|
1596
1596
|
for (var a = 0, s = o.interactions.list; a < s.length; a++) {
|
|
1597
|
-
var
|
|
1598
|
-
if (
|
|
1599
|
-
if (
|
|
1600
|
-
if (
|
|
1601
|
-
e || (e =
|
|
1597
|
+
var c = s[a];
|
|
1598
|
+
if (c.pointerType === r) {
|
|
1599
|
+
if (c.simulation && !Sn(c, n)) continue;
|
|
1600
|
+
if (c.interacting()) return c;
|
|
1601
|
+
e || (e = c);
|
|
1602
1602
|
}
|
|
1603
1603
|
}
|
|
1604
1604
|
if (e) return e;
|
|
1605
|
-
for (var u = 0,
|
|
1606
|
-
var p =
|
|
1605
|
+
for (var u = 0, l = o.interactions.list; u < l.length; u++) {
|
|
1606
|
+
var p = l[u];
|
|
1607
1607
|
if (!(p.pointerType !== r || /down/i.test(i) && p.simulation)) return p;
|
|
1608
1608
|
}
|
|
1609
1609
|
return null;
|
|
@@ -1632,26 +1632,26 @@ function bi() {
|
|
|
1632
1632
|
var br = zt, Ct = ["pointerDown", "pointerMove", "pointerUp", "updatePointer", "removePointer", "windowBlur"];
|
|
1633
1633
|
function En(t, e) {
|
|
1634
1634
|
return function(n) {
|
|
1635
|
-
var r = e.interactions.list, i = Yt(n), o = Gt(n), a = o[0], s = o[1],
|
|
1635
|
+
var r = e.interactions.list, i = Yt(n), o = Gt(n), a = o[0], s = o[1], c = [];
|
|
1636
1636
|
if (/^touch/.test(n.type)) {
|
|
1637
1637
|
e.prevTouchTime = e.now();
|
|
1638
|
-
for (var u = 0,
|
|
1639
|
-
var p =
|
|
1640
|
-
|
|
1638
|
+
for (var u = 0, l = n.changedTouches; u < l.length; u++) {
|
|
1639
|
+
var p = l[u], f = { pointer: p, pointerId: Ne(p), pointerType: i, eventType: n.type, eventTarget: a, curEventTarget: s, scope: e }, v = _n(f);
|
|
1640
|
+
c.push([f.pointer, f.eventTarget, f.curEventTarget, v]);
|
|
1641
1641
|
}
|
|
1642
1642
|
} else {
|
|
1643
1643
|
var h = !1;
|
|
1644
|
-
if (!
|
|
1644
|
+
if (!Q.supportsPointerEvent && /mouse/.test(n.type)) {
|
|
1645
1645
|
for (var m = 0; m < r.length && !h; m++) h = r[m].pointerType !== "mouse" && r[m].pointerIsDown;
|
|
1646
1646
|
h = h || e.now() - e.prevTouchTime < 500 || n.timeStamp === 0;
|
|
1647
1647
|
}
|
|
1648
1648
|
if (!h) {
|
|
1649
1649
|
var w = { pointer: n, pointerId: Ne(n), pointerType: i, eventType: n.type, curEventTarget: s, eventTarget: a, scope: e }, b = _n(w);
|
|
1650
|
-
|
|
1650
|
+
c.push([w.pointer, w.eventTarget, w.curEventTarget, b]);
|
|
1651
1651
|
}
|
|
1652
1652
|
}
|
|
1653
|
-
for (var _ = 0; _ <
|
|
1654
|
-
var P =
|
|
1653
|
+
for (var _ = 0; _ < c.length; _++) {
|
|
1654
|
+
var P = c[_], D = P[0], T = P[1], I = P[2];
|
|
1655
1655
|
P[3][t](D, n, T, I);
|
|
1656
1656
|
}
|
|
1657
1657
|
};
|
|
@@ -1662,9 +1662,9 @@ function bi() {
|
|
|
1662
1662
|
}
|
|
1663
1663
|
function At(t, e) {
|
|
1664
1664
|
var n = t.doc, r = t.scope, i = t.options, o = r.interactions.docEvents, a = r.events, s = a[e];
|
|
1665
|
-
for (var
|
|
1666
|
-
for (var u = i && i.events,
|
|
1667
|
-
var p = o[
|
|
1665
|
+
for (var c in r.browser.isIOS && !i.events && (i.events = { passive: !1 }), a.delegatedEvents) s(n, c, a.delegateListener), s(n, c, a.delegateUseCapture, !0);
|
|
1666
|
+
for (var u = i && i.events, l = 0; l < o.length; l++) {
|
|
1667
|
+
var p = o[l];
|
|
1668
1668
|
s(n, p.type, p.listener, u);
|
|
1669
1669
|
}
|
|
1670
1670
|
}
|
|
@@ -1673,40 +1673,40 @@ function bi() {
|
|
|
1673
1673
|
var r = Ct[n];
|
|
1674
1674
|
e[r] = En(r, t);
|
|
1675
1675
|
}
|
|
1676
|
-
var i, o =
|
|
1676
|
+
var i, o = Q.pEventTypes;
|
|
1677
1677
|
function a() {
|
|
1678
|
-
for (var s = 0,
|
|
1679
|
-
var u =
|
|
1680
|
-
if (u.pointerIsDown && u.pointerType === "touch" && !u._interacting) for (var
|
|
1678
|
+
for (var s = 0, c = t.interactions.list; s < c.length; s++) {
|
|
1679
|
+
var u = c[s];
|
|
1680
|
+
if (u.pointerIsDown && u.pointerType === "touch" && !u._interacting) for (var l = function() {
|
|
1681
1681
|
var v = f[p];
|
|
1682
1682
|
t.documents.some((function(h) {
|
|
1683
1683
|
return he(h.doc, v.downTarget);
|
|
1684
1684
|
})) || u.removePointer(v.pointer, v.event);
|
|
1685
|
-
}, p = 0, f = u.pointers; p < f.length; p++)
|
|
1685
|
+
}, p = 0, f = u.pointers; p < f.length; p++) l();
|
|
1686
1686
|
}
|
|
1687
1687
|
}
|
|
1688
1688
|
(i = U.PointerEvent ? [{ type: o.down, listener: a }, { type: o.down, listener: e.pointerDown }, { type: o.move, listener: e.pointerMove }, { type: o.up, listener: e.pointerUp }, { type: o.cancel, listener: e.pointerUp }] : [{ type: "mousedown", listener: e.pointerDown }, { type: "mousemove", listener: e.pointerMove }, { type: "mouseup", listener: e.pointerUp }, { type: "touchstart", listener: a }, { type: "touchstart", listener: e.pointerDown }, { type: "touchmove", listener: e.pointerMove }, { type: "touchend", listener: e.pointerUp }, { type: "touchcancel", listener: e.pointerUp }]).push({ type: "blur", listener: function(s) {
|
|
1689
|
-
for (var
|
|
1690
|
-
u[
|
|
1689
|
+
for (var c = 0, u = t.interactions.list; c < u.length; c++)
|
|
1690
|
+
u[c].documentBlur(s);
|
|
1691
1691
|
} }), t.prevTouchTime = 0, t.Interaction = (function(s) {
|
|
1692
1692
|
ie(u, s);
|
|
1693
|
-
var
|
|
1693
|
+
var c = ke(u);
|
|
1694
1694
|
function u() {
|
|
1695
|
-
return F(this, u),
|
|
1695
|
+
return F(this, u), c.apply(this, arguments);
|
|
1696
1696
|
}
|
|
1697
1697
|
return R(u, [{ key: "pointerMoveTolerance", get: function() {
|
|
1698
1698
|
return t.interactions.pointerMoveTolerance;
|
|
1699
|
-
}, set: function(
|
|
1700
|
-
t.interactions.pointerMoveTolerance =
|
|
1699
|
+
}, set: function(l) {
|
|
1700
|
+
t.interactions.pointerMoveTolerance = l;
|
|
1701
1701
|
} }, { key: "_now", value: function() {
|
|
1702
1702
|
return t.now();
|
|
1703
1703
|
} }]), u;
|
|
1704
1704
|
})(pr), t.interactions = { list: [], new: function(s) {
|
|
1705
|
-
s.scopeFire = function(u,
|
|
1706
|
-
return t.fire(u,
|
|
1705
|
+
s.scopeFire = function(u, l) {
|
|
1706
|
+
return t.fire(u, l);
|
|
1707
1707
|
};
|
|
1708
|
-
var
|
|
1709
|
-
return t.interactions.list.push(
|
|
1708
|
+
var c = new t.Interaction(s);
|
|
1709
|
+
return t.interactions.list.push(c), c;
|
|
1710
1710
|
}, listeners: e, docEvents: i, pointerMoveTolerance: 1 }, t.usePlugin(pn);
|
|
1711
1711
|
}, listeners: { "scope:add-document": function(t) {
|
|
1712
1712
|
return At(t, "add");
|
|
@@ -1728,8 +1728,8 @@ function bi() {
|
|
|
1728
1728
|
} }, { key: "setOnEvents", value: function(e, n) {
|
|
1729
1729
|
return d.func(n.onstart) && this.on("".concat(e, "start"), n.onstart), d.func(n.onmove) && this.on("".concat(e, "move"), n.onmove), d.func(n.onend) && this.on("".concat(e, "end"), n.onend), d.func(n.oninertiastart) && this.on("".concat(e, "inertiastart"), n.oninertiastart), this;
|
|
1730
1730
|
} }, { key: "updatePerActionListeners", value: function(e, n, r) {
|
|
1731
|
-
var i, o = this, a = (i = this._actions.map[e]) == null ? void 0 : i.filterEventType, s = function(
|
|
1732
|
-
return (a == null || a(
|
|
1731
|
+
var i, o = this, a = (i = this._actions.map[e]) == null ? void 0 : i.filterEventType, s = function(c) {
|
|
1732
|
+
return (a == null || a(c)) && ct(c, o._actions);
|
|
1733
1733
|
};
|
|
1734
1734
|
(d.array(n) || d.object(n)) && this._onOff(Se.Off, e, n, void 0, s), (d.array(r) || d.object(r)) && this._onOff(Se.On, e, r, void 0, s);
|
|
1735
1735
|
} }, { key: "setPerAction", value: function(e, n) {
|
|
@@ -1775,10 +1775,10 @@ function bi() {
|
|
|
1775
1775
|
d.object(n) && !d.array(n) && (i = r, r = null);
|
|
1776
1776
|
var a = Oe(n, r, o);
|
|
1777
1777
|
for (var s in a) {
|
|
1778
|
-
s === "wheel" && (s =
|
|
1779
|
-
for (var
|
|
1780
|
-
var
|
|
1781
|
-
|
|
1778
|
+
s === "wheel" && (s = Q.wheelEvent);
|
|
1779
|
+
for (var c = 0, u = a[s]; c < u.length; c++) {
|
|
1780
|
+
var l = u[c];
|
|
1781
|
+
ct(s, this._actions) ? this.events[e === Se.On ? "on" : "off"](s, l) : d.string(this.target) ? this._scopeEvents[e === Se.On ? "addDelegate" : "removeDelegate"](this.target, this._context, s, l, i) : this._scopeEvents[e === Se.On ? "add" : "remove"](this.target, s, l, i);
|
|
1782
1782
|
}
|
|
1783
1783
|
}
|
|
1784
1784
|
return this;
|
|
@@ -1798,7 +1798,7 @@ function bi() {
|
|
|
1798
1798
|
if (d.string(this.target)) for (var e in this._scopeEvents.delegatedEvents) for (var n = this._scopeEvents.delegatedEvents[e], r = n.length - 1; r >= 0; r--) {
|
|
1799
1799
|
var i = n[r], o = i.selector, a = i.context, s = i.listeners;
|
|
1800
1800
|
o === this.target && a === this._context && n.splice(r, 1);
|
|
1801
|
-
for (var
|
|
1801
|
+
for (var c = s.length - 1; c >= 0; c--) this._scopeEvents.removeDelegate(this.target, this._context, e, s[c][0], s[c][1]);
|
|
1802
1802
|
}
|
|
1803
1803
|
else this._scopeEvents.remove(this.target, "all");
|
|
1804
1804
|
} }]), t;
|
|
@@ -1806,8 +1806,8 @@ function bi() {
|
|
|
1806
1806
|
function t(e) {
|
|
1807
1807
|
var n = this;
|
|
1808
1808
|
F(this, t), this.list = [], this.selectorMap = {}, this.scope = void 0, this.scope = e, e.addListeners({ "interactable:unset": function(r) {
|
|
1809
|
-
var i = r.interactable, o = i.target, a = d.string(o) ? n.selectorMap[o] : o[n.scope.id], s = We(a, (function(
|
|
1810
|
-
return
|
|
1809
|
+
var i = r.interactable, o = i.target, a = d.string(o) ? n.selectorMap[o] : o[n.scope.id], s = We(a, (function(c) {
|
|
1810
|
+
return c === i;
|
|
1811
1811
|
}));
|
|
1812
1812
|
a.splice(s, 1);
|
|
1813
1813
|
} });
|
|
@@ -1830,10 +1830,10 @@ function bi() {
|
|
|
1830
1830
|
})(), _r = (function() {
|
|
1831
1831
|
function t() {
|
|
1832
1832
|
var e = this;
|
|
1833
|
-
F(this, t), this.id = "__interact_scope_".concat(Math.floor(100 * Math.random())), this.isInitialized = !1, this.listenerMaps = [], this.browser =
|
|
1833
|
+
F(this, t), this.id = "__interact_scope_".concat(Math.floor(100 * Math.random())), this.isInitialized = !1, this.listenerMaps = [], this.browser = Q, this.defaults = Re(dn), this.Eventable = wn, this.actions = { map: {}, phases: { start: !0, move: !0, end: !0 }, methodDict: {}, phaselessTypes: {} }, this.interactStatic = (function(r) {
|
|
1834
1834
|
var i = function o(a, s) {
|
|
1835
|
-
var
|
|
1836
|
-
return
|
|
1835
|
+
var c = r.interactables.getExisting(a, s);
|
|
1836
|
+
return c || ((c = r.interactables.new(a, s)).events.global = o.globalEvents), c;
|
|
1837
1837
|
};
|
|
1838
1838
|
return i.getPointerAverage = Xt, i.getTouchBBox = yt, i.getTouchDistance = bt, i.getTouchAngle = xt, i.getElementRect = B, i.getElementClientRect = k, i.matchesSelector = y, i.closest = Te, i.globalEvents = {}, i.version = "1.10.27", i.scope = r, i.use = function(o, a) {
|
|
1839
1839
|
return this.scope.usePlugin(o, a), this;
|
|
@@ -1841,9 +1841,9 @@ function bi() {
|
|
|
1841
1841
|
return !!this.scope.interactables.get(o, a && a.context);
|
|
1842
1842
|
}, i.on = Xe((function(o, a, s) {
|
|
1843
1843
|
if (d.string(o) && o.search(" ") !== -1 && (o = o.trim().split(/ +/)), d.array(o)) {
|
|
1844
|
-
for (var
|
|
1845
|
-
var
|
|
1846
|
-
this.on(
|
|
1844
|
+
for (var c = 0, u = o; c < u.length; c++) {
|
|
1845
|
+
var l = u[c];
|
|
1846
|
+
this.on(l, a, s);
|
|
1847
1847
|
}
|
|
1848
1848
|
return this;
|
|
1849
1849
|
}
|
|
@@ -1851,12 +1851,12 @@ function bi() {
|
|
|
1851
1851
|
for (var p in o) this.on(p, o[p], a);
|
|
1852
1852
|
return this;
|
|
1853
1853
|
}
|
|
1854
|
-
return
|
|
1854
|
+
return ct(o, this.scope.actions) ? this.globalEvents[o] ? this.globalEvents[o].push(a) : this.globalEvents[o] = [a] : this.scope.events.add(this.scope.document, o, a, { options: s }), this;
|
|
1855
1855
|
}), "The interact.on() method is being deprecated"), i.off = Xe((function(o, a, s) {
|
|
1856
1856
|
if (d.string(o) && o.search(" ") !== -1 && (o = o.trim().split(/ +/)), d.array(o)) {
|
|
1857
|
-
for (var
|
|
1858
|
-
var
|
|
1859
|
-
this.off(
|
|
1857
|
+
for (var c = 0, u = o; c < u.length; c++) {
|
|
1858
|
+
var l = u[c];
|
|
1859
|
+
this.off(l, a, s);
|
|
1860
1860
|
}
|
|
1861
1861
|
return this;
|
|
1862
1862
|
}
|
|
@@ -1865,13 +1865,13 @@ function bi() {
|
|
|
1865
1865
|
return this;
|
|
1866
1866
|
}
|
|
1867
1867
|
var f;
|
|
1868
|
-
return
|
|
1868
|
+
return ct(o, this.scope.actions) ? o in this.globalEvents && (f = this.globalEvents[o].indexOf(a)) !== -1 && this.globalEvents[o].splice(f, 1) : this.scope.events.remove(this.scope.document, o, a, s), this;
|
|
1869
1869
|
}), "The interact.off() method is being deprecated"), i.debug = function() {
|
|
1870
1870
|
return this.scope;
|
|
1871
1871
|
}, i.supportsTouch = function() {
|
|
1872
|
-
return
|
|
1872
|
+
return Q.supportsTouch;
|
|
1873
1873
|
}, i.supportsPointerEvent = function() {
|
|
1874
|
-
return
|
|
1874
|
+
return Q.supportsPointerEvent;
|
|
1875
1875
|
}, i.stop = function() {
|
|
1876
1876
|
for (var o = 0, a = this.scope.interactions.list; o < a.length; o++) a[o].stop();
|
|
1877
1877
|
return this;
|
|
@@ -1895,9 +1895,9 @@ function bi() {
|
|
|
1895
1895
|
return R(o, [{ key: "_defaults", get: function() {
|
|
1896
1896
|
return n.defaults;
|
|
1897
1897
|
} }, { key: "set", value: function(a) {
|
|
1898
|
-
return Me(
|
|
1898
|
+
return Me(le(o.prototype), "set", this).call(this, a), n.fire("interactable:set", { options: a, interactable: this }), this;
|
|
1899
1899
|
} }, { key: "unset", value: function() {
|
|
1900
|
-
Me(
|
|
1900
|
+
Me(le(o.prototype), "unset", this).call(this);
|
|
1901
1901
|
var a = n.interactables.list.indexOf(this);
|
|
1902
1902
|
a < 0 || (n.interactables.list.splice(a, 1), n.fire("interactable:unset", { interactable: this }));
|
|
1903
1903
|
} }]), o;
|
|
@@ -1912,7 +1912,7 @@ function bi() {
|
|
|
1912
1912
|
}
|
|
1913
1913
|
} }, { key: "init", value: function(e) {
|
|
1914
1914
|
return this.isInitialized ? this : (function(n, r) {
|
|
1915
|
-
return n.isInitialized = !0, d.window(r) &&
|
|
1915
|
+
return n.isInitialized = !0, d.window(r) && te(r), U.init(r), Q.init(r), xe.init(r), n.window = r, n.document = r.document, n.usePlugin(wr), n.usePlugin(yr), n;
|
|
1916
1916
|
})(this, e);
|
|
1917
1917
|
} }, { key: "pluginIsInstalled", value: function(e) {
|
|
1918
1918
|
var n = e.id;
|
|
@@ -1921,8 +1921,8 @@ function bi() {
|
|
|
1921
1921
|
if (!this.isInitialized) return this;
|
|
1922
1922
|
if (this.pluginIsInstalled(e)) return this;
|
|
1923
1923
|
if (e.id && (this._plugins.map[e.id] = e), this._plugins.list.push(e), e.install && e.install(this, n), e.listeners && e.before) {
|
|
1924
|
-
for (var r = 0, i = this.listenerMaps.length, o = e.before.reduce((function(s,
|
|
1925
|
-
return s[
|
|
1924
|
+
for (var r = 0, i = this.listenerMaps.length, o = e.before.reduce((function(s, c) {
|
|
1925
|
+
return s[c] = !0, s[Ln(c)] = !0, s;
|
|
1926
1926
|
}), {}); r < i; r++) {
|
|
1927
1927
|
var a = this.listenerMaps[r].id;
|
|
1928
1928
|
if (a && (o[a] || o[Ln(a)])) break;
|
|
@@ -1959,35 +1959,35 @@ function bi() {
|
|
|
1959
1959
|
var i = r[0], o = r[1];
|
|
1960
1960
|
return i in t || o in t;
|
|
1961
1961
|
})), n = function(r, i) {
|
|
1962
|
-
for (var o = t.range, a = t.limits, s = a === void 0 ? { left: -1 / 0, right: 1 / 0, top: -1 / 0, bottom: 1 / 0 } : a,
|
|
1962
|
+
for (var o = t.range, a = t.limits, s = a === void 0 ? { left: -1 / 0, right: 1 / 0, top: -1 / 0, bottom: 1 / 0 } : a, c = t.offset, u = c === void 0 ? { x: 0, y: 0 } : c, l = { range: o, grid: t, x: null, y: null }, p = 0; p < e.length; p++) {
|
|
1963
1963
|
var f = e[p], v = f[0], h = f[1], m = Math.round((r - u.x) / t[v]), w = Math.round((i - u.y) / t[h]);
|
|
1964
|
-
|
|
1964
|
+
l[v] = Math.max(s.left, Math.min(s.right, m * t[v] + u.x)), l[h] = Math.max(s.top, Math.min(s.bottom, w * t[h] + u.y));
|
|
1965
1965
|
}
|
|
1966
|
-
return
|
|
1966
|
+
return l;
|
|
1967
1967
|
};
|
|
1968
1968
|
return n.grid = t, n.coordFields = e, n;
|
|
1969
1969
|
} }), Tr = { id: "snappers", install: function(t) {
|
|
1970
1970
|
var e = t.interactStatic;
|
|
1971
1971
|
e.snappers = E(e.snappers || {}, kr), e.createSnapGrid = e.snappers.grid;
|
|
1972
1972
|
} }, Or = Tr, Pr = { start: function(t) {
|
|
1973
|
-
var e = t.state, n = t.rect, r = t.edges, i = t.pageCoords, o = e.options, a = o.ratio, s = o.enabled,
|
|
1973
|
+
var e = t.state, n = t.rect, r = t.edges, i = t.pageCoords, o = e.options, a = o.ratio, s = o.enabled, c = e.options, u = c.equalDelta, l = c.modifiers;
|
|
1974
1974
|
a === "preserve" && (a = n.width / n.height), e.startCoords = E({}, i), e.startRect = E({}, n), e.ratio = a, e.equalDelta = u;
|
|
1975
1975
|
var p = e.linkedEdges = { top: r.top || r.left && !r.bottom, left: r.left || r.top && !r.right, bottom: r.bottom || r.right && !r.top, right: r.right || r.bottom && !r.left };
|
|
1976
1976
|
if (e.xIsPrimaryAxis = !(!r.left && !r.right), e.equalDelta) {
|
|
1977
1977
|
var f = (p.left ? 1 : -1) * (p.top ? 1 : -1);
|
|
1978
1978
|
e.edgeSign = { x: f, y: f };
|
|
1979
1979
|
} else e.edgeSign = { x: p.left ? -1 : 1, y: p.top ? -1 : 1 };
|
|
1980
|
-
if (s !== !1 && E(r, p),
|
|
1980
|
+
if (s !== !1 && E(r, p), l != null && l.length) {
|
|
1981
1981
|
var v = new It(t.interaction);
|
|
1982
|
-
v.copyFrom(t.interaction.modification), v.prepareStates(
|
|
1982
|
+
v.copyFrom(t.interaction.modification), v.prepareStates(l), e.subModification = v, v.startAll(X({}, t));
|
|
1983
1983
|
}
|
|
1984
1984
|
}, set: function(t) {
|
|
1985
1985
|
var e = t.state, n = t.rect, r = t.coords, i = e.linkedEdges, o = E({}, r), a = e.equalDelta ? Ir : Mr;
|
|
1986
1986
|
if (E(t.edges, i), a(e, e.xIsPrimaryAxis, r, n), !e.subModification) return null;
|
|
1987
1987
|
var s = E({}, n);
|
|
1988
1988
|
nt(i, s, { x: r.x - o.x, y: r.y - o.y });
|
|
1989
|
-
var
|
|
1990
|
-
return
|
|
1989
|
+
var c = e.subModification.setAll(X(X({}, t), {}, { rect: s, edges: i, pageCoords: r, prevCoords: r, prevRect: s })), u = c.delta;
|
|
1990
|
+
return c.changed && (a(e, Math.abs(u.x) > Math.abs(u.y), c.coords, c.rect), E(r, c.coords)), c.eventProps;
|
|
1991
1991
|
}, defaults: { ratio: "preserve", equalDelta: !1, modifiers: [], enabled: !1 } };
|
|
1992
1992
|
function Ir(t, e, n) {
|
|
1993
1993
|
var r = t.startCoords, i = t.edgeSign;
|
|
@@ -1996,8 +1996,8 @@ function bi() {
|
|
|
1996
1996
|
function Mr(t, e, n, r) {
|
|
1997
1997
|
var i = t.startRect, o = t.startCoords, a = t.ratio, s = t.edgeSign;
|
|
1998
1998
|
if (e) {
|
|
1999
|
-
var
|
|
2000
|
-
n.y = o.y + (
|
|
1999
|
+
var c = r.width / a;
|
|
2000
|
+
n.y = o.y + (c - i.height) * s.y;
|
|
2001
2001
|
} else {
|
|
2002
2002
|
var u = r.height * a;
|
|
2003
2003
|
n.x = o.x + (u - i.width) * s.x;
|
|
@@ -2011,21 +2011,21 @@ function bi() {
|
|
|
2011
2011
|
return d.func(t) ? q(t, e.interactable, e.element, [n.x, n.y, e]) : q(t, e.interactable, e.element);
|
|
2012
2012
|
}
|
|
2013
2013
|
var dt = { start: function(t) {
|
|
2014
|
-
var e = t.rect, n = t.startOffset, r = t.state, i = t.interaction, o = t.pageCoords, a = r.options, s = a.elementRect,
|
|
2014
|
+
var e = t.rect, n = t.startOffset, r = t.state, i = t.interaction, o = t.pageCoords, a = r.options, s = a.elementRect, c = E({ left: 0, top: 0, right: 0, bottom: 0 }, a.offset || {});
|
|
2015
2015
|
if (e && s) {
|
|
2016
2016
|
var u = Ie(a.restriction, i, o);
|
|
2017
2017
|
if (u) {
|
|
2018
|
-
var
|
|
2019
|
-
|
|
2018
|
+
var l = u.right - u.left - e.width, p = u.bottom - u.top - e.height;
|
|
2019
|
+
l < 0 && (c.left += l, c.right += l), p < 0 && (c.top += p, c.bottom += p);
|
|
2020
2020
|
}
|
|
2021
|
-
|
|
2021
|
+
c.left += n.left - e.width * s.left, c.top += n.top - e.height * s.top, c.right += n.right - e.width * (1 - s.right), c.bottom += n.bottom - e.height * (1 - s.bottom);
|
|
2022
2022
|
}
|
|
2023
|
-
r.offset =
|
|
2023
|
+
r.offset = c;
|
|
2024
2024
|
}, set: function(t) {
|
|
2025
2025
|
var e = t.coords, n = t.interaction, r = t.state, i = r.options, o = r.offset, a = Ie(i.restriction, n, e);
|
|
2026
2026
|
if (a) {
|
|
2027
|
-
var s = (function(
|
|
2028
|
-
return !
|
|
2027
|
+
var s = (function(c) {
|
|
2028
|
+
return !c || "left" in c && "top" in c || ((c = E({}, c)).left = c.x || 0, c.top = c.y || 0, c.right = c.right || c.left + c.width, c.bottom = c.bottom || c.top + c.height), c;
|
|
2029
2029
|
})(a);
|
|
2030
2030
|
e.x = Math.max(Math.min(s.right - o.right, e.x), s.left + o.left), e.y = Math.max(Math.min(s.bottom - o.bottom, e.y), s.top + o.top);
|
|
2031
2031
|
}
|
|
@@ -2043,8 +2043,8 @@ function bi() {
|
|
|
2043
2043
|
}, set: function(t) {
|
|
2044
2044
|
var e = t.coords, n = t.edges, r = t.interaction, i = t.state, o = i.offset, a = i.options;
|
|
2045
2045
|
if (n) {
|
|
2046
|
-
var s = E({}, e),
|
|
2047
|
-
In(
|
|
2046
|
+
var s = E({}, e), c = Ie(a.inner, r, s) || {}, u = Ie(a.outer, r, s) || {};
|
|
2047
|
+
In(c, On), In(u, Pn), n.top ? e.y = Math.min(Math.max(u.top + o.top, s.y), c.top + o.top) : n.bottom && (e.y = Math.max(Math.min(u.bottom + o.bottom, s.y), c.bottom + o.bottom)), n.left ? e.x = Math.min(Math.max(u.left + o.left, s.x), c.left + o.left) : n.right && (e.x = Math.max(Math.min(u.right + o.right, s.x), c.right + o.right));
|
|
2048
2048
|
}
|
|
2049
2049
|
}, defaults: { inner: null, outer: null, offset: null, endOnly: !1, enabled: !1 } }, Cr = we(He, "restrictEdges"), Ar = E({ get elementRect() {
|
|
2050
2050
|
return { top: 0, left: 0, bottom: 1, right: 1 };
|
|
@@ -2058,28 +2058,28 @@ function bi() {
|
|
|
2058
2058
|
n.options = { endOnly: o.endOnly, inner: E({}, He.noInner), outer: E({}, He.noOuter) }, i.top ? (n.options.inner.top = r.bottom - a.height, n.options.outer.top = r.bottom - s.height) : i.bottom && (n.options.inner.bottom = r.top + a.height, n.options.outer.bottom = r.top + s.height), i.left ? (n.options.inner.left = r.right - a.width, n.options.outer.left = r.right - s.width) : i.right && (n.options.inner.right = r.left + a.width, n.options.outer.right = r.left + s.width), He.set(t), n.options = o;
|
|
2059
2059
|
}
|
|
2060
2060
|
}, defaults: { min: null, max: null, endOnly: !1, enabled: !1 } }, "restrictSize"), Rt = { start: function(t) {
|
|
2061
|
-
var e, n = t.interaction, r = t.interactable, i = t.element, o = t.rect, a = t.state, s = t.startOffset,
|
|
2061
|
+
var e, n = t.interaction, r = t.interactable, i = t.element, o = t.rect, a = t.state, s = t.startOffset, c = a.options, u = c.offsetWithOrigin ? (function(f) {
|
|
2062
2062
|
var v = f.interaction.element, h = $e(q(f.state.options.origin, null, null, [v])), m = h || Be(f.interactable, v, f.interaction.prepared.name);
|
|
2063
2063
|
return m;
|
|
2064
2064
|
})(t) : { x: 0, y: 0 };
|
|
2065
|
-
if (
|
|
2065
|
+
if (c.offset === "startCoords") e = { x: n.coords.start.page.x, y: n.coords.start.page.y };
|
|
2066
2066
|
else {
|
|
2067
|
-
var
|
|
2068
|
-
(e = $e(
|
|
2067
|
+
var l = q(c.offset, r, i, [n]);
|
|
2068
|
+
(e = $e(l) || { x: 0, y: 0 }).x += u.x, e.y += u.y;
|
|
2069
2069
|
}
|
|
2070
|
-
var p =
|
|
2070
|
+
var p = c.relativePoints;
|
|
2071
2071
|
a.offsets = o && p && p.length ? p.map((function(f, v) {
|
|
2072
2072
|
return { index: v, relativePoint: f, x: s.left - o.width * f.x + e.x, y: s.top - o.height * f.y + e.y };
|
|
2073
2073
|
})) : [{ index: 0, relativePoint: null, x: e.x, y: e.y }];
|
|
2074
2074
|
}, set: function(t) {
|
|
2075
|
-
var e = t.interaction, n = t.coords, r = t.state, i = r.options, o = r.offsets, a = Be(e.interactable, e.element, e.prepared.name), s = E({}, n),
|
|
2075
|
+
var e = t.interaction, n = t.coords, r = t.state, i = r.options, o = r.offsets, a = Be(e.interactable, e.element, e.prepared.name), s = E({}, n), c = [];
|
|
2076
2076
|
i.offsetWithOrigin || (s.x -= a.x, s.y -= a.y);
|
|
2077
|
-
for (var u = 0,
|
|
2077
|
+
for (var u = 0, l = o; u < l.length; u++) for (var p = l[u], f = s.x - p.x, v = s.y - p.y, h = 0, m = i.targets.length; h < m; h++) {
|
|
2078
2078
|
var w = i.targets[h], b = void 0;
|
|
2079
|
-
(b = d.func(w) ? w(f, v, e._proxy, p, h) : w) &&
|
|
2079
|
+
(b = d.func(w) ? w(f, v, e._proxy, p, h) : w) && c.push({ x: (d.number(b.x) ? b.x : f) + p.x, y: (d.number(b.y) ? b.y : v) + p.y, range: d.number(b.range) ? b.range : i.range, source: w, index: h, offset: p });
|
|
2080
2080
|
}
|
|
2081
|
-
for (var _ = { target: null, inRange: !1, distance: 0, range: 0, delta: { x: 0, y: 0 } }, P = 0; P <
|
|
2082
|
-
var D =
|
|
2081
|
+
for (var _ = { target: null, inRange: !1, distance: 0, range: 0, delta: { x: 0, y: 0 } }, P = 0; P < c.length; P++) {
|
|
2082
|
+
var D = c[P], T = D.range, I = D.x - s.x, H = D.y - s.y, A = Ue(I, H), ne = A <= T;
|
|
2083
2083
|
T === 1 / 0 && _.inRange && _.range !== 1 / 0 && (ne = !1), _.target && !(ne ? _.inRange && T !== 1 / 0 ? A / T < _.distance / _.range : T === 1 / 0 && _.range !== 1 / 0 || A < _.distance : !_.inRange && A < _.distance) || (_.target = D, _.distance = A, _.range = T, _.inRange = ne, _.delta.x = I, _.delta.y = H);
|
|
2084
2084
|
}
|
|
2085
2085
|
return _.inRange && (n.x = _.target.x, n.y = _.target.y), r.closest = _, _;
|
|
@@ -2090,17 +2090,17 @@ function bi() {
|
|
|
2090
2090
|
}, set: function(t) {
|
|
2091
2091
|
var e = t.interaction, n = t.state, r = t.coords, i = n.options, o = n.offsets, a = { x: r.x - o[0].x, y: r.y - o[0].y };
|
|
2092
2092
|
n.options = E({}, i), n.options.targets = [];
|
|
2093
|
-
for (var s = 0,
|
|
2094
|
-
var u =
|
|
2095
|
-
if (
|
|
2093
|
+
for (var s = 0, c = i.targets || []; s < c.length; s++) {
|
|
2094
|
+
var u = c[s], l = void 0;
|
|
2095
|
+
if (l = d.func(u) ? u(a.x, a.y, e) : u) {
|
|
2096
2096
|
for (var p = 0, f = n.targetFields; p < f.length; p++) {
|
|
2097
2097
|
var v = f[p], h = v[0], m = v[1];
|
|
2098
|
-
if (h in
|
|
2099
|
-
|
|
2098
|
+
if (h in l || m in l) {
|
|
2099
|
+
l.x = l[h], l.y = l[m];
|
|
2100
2100
|
break;
|
|
2101
2101
|
}
|
|
2102
2102
|
}
|
|
2103
|
-
n.options.targets.push(
|
|
2103
|
+
n.options.targets.push(l);
|
|
2104
2104
|
}
|
|
2105
2105
|
}
|
|
2106
2106
|
var w = Rt.set(t);
|
|
@@ -2117,11 +2117,11 @@ function bi() {
|
|
|
2117
2117
|
} }, Nr = Ur, Mn = (function(t) {
|
|
2118
2118
|
ie(n, t);
|
|
2119
2119
|
var e = ke(n);
|
|
2120
|
-
function n(r, i, o, a, s,
|
|
2120
|
+
function n(r, i, o, a, s, c) {
|
|
2121
2121
|
var u;
|
|
2122
|
-
if (F(this, n), rt(Le(u = e.call(this, s)), o), o !== i && rt(Le(u), i), u.timeStamp =
|
|
2123
|
-
var
|
|
2124
|
-
u.dt = u.timeStamp - s.pointers[
|
|
2122
|
+
if (F(this, n), rt(Le(u = e.call(this, s)), o), o !== i && rt(Le(u), i), u.timeStamp = c, u.originalEvent = o, u.type = r, u.pointerId = Ne(i), u.pointerType = Yt(i), u.target = a, u.currentTarget = null, r === "tap") {
|
|
2123
|
+
var l = s.getPointerIndex(i);
|
|
2124
|
+
u.dt = u.timeStamp - s.pointers[l].downTime;
|
|
2125
2125
|
var p = u.timeStamp - s.tapTime;
|
|
2126
2126
|
u.double = !!s.prevTap && s.prevTap.type !== "doubletap" && s.prevTap.target === u.target && p < 500;
|
|
2127
2127
|
} else r === "doubletap" && (u.dt = i.timeStamp - s.tapTime, u.double = !0);
|
|
@@ -2149,8 +2149,8 @@ function bi() {
|
|
|
2149
2149
|
t.duplicate || n.pointerIsDown && !n.pointerWasMoved || (n.pointerIsDown && Ft(t), Ee({ interaction: n, pointer: r, event: i, eventTarget: o, type: "move" }, e));
|
|
2150
2150
|
}, "interactions:down": function(t, e) {
|
|
2151
2151
|
(function(n, r) {
|
|
2152
|
-
for (var i = n.interaction, o = n.pointer, a = n.event, s = n.eventTarget,
|
|
2153
|
-
var v =
|
|
2152
|
+
for (var i = n.interaction, o = n.pointer, a = n.event, s = n.eventTarget, c = n.pointerIndex, u = i.pointers[c].hold, l = $(s), p = { interaction: i, pointer: o, event: a, eventTarget: s, type: "hold", targets: [], path: l, node: null }, f = 0; f < l.length; f++) {
|
|
2153
|
+
var v = l[f];
|
|
2154
2154
|
p.node = v, r.fire("pointerEvents:collect-targets", p);
|
|
2155
2155
|
}
|
|
2156
2156
|
if (p.targets.length) {
|
|
@@ -2172,31 +2172,31 @@ function bi() {
|
|
|
2172
2172
|
Ft(t), Ee(t, e);
|
|
2173
2173
|
} }, PointerEvent: Mn, fire: Ee, collectEventTargets: Dn, defaults: { holdDuration: 600, ignoreFrom: null, allowFrom: null, origin: { x: 0, y: 0 } }, types: { down: !0, move: !0, up: !0, cancel: !0, tap: !0, doubletap: !0, hold: !0 } };
|
|
2174
2174
|
function Ee(t, e) {
|
|
2175
|
-
var n = t.interaction, r = t.pointer, i = t.event, o = t.eventTarget, a = t.type, s = t.targets,
|
|
2175
|
+
var n = t.interaction, r = t.pointer, i = t.event, o = t.eventTarget, a = t.type, s = t.targets, c = s === void 0 ? Dn(t, e) : s, u = new Mn(a, r, i, o, n, e.now());
|
|
2176
2176
|
e.fire("pointerEvents:new", { pointerEvent: u });
|
|
2177
|
-
for (var
|
|
2178
|
-
var f =
|
|
2177
|
+
for (var l = { interaction: n, pointer: r, event: i, eventTarget: o, targets: c, type: a, pointerEvent: u }, p = 0; p < c.length; p++) {
|
|
2178
|
+
var f = c[p];
|
|
2179
2179
|
for (var v in f.props || {}) u[v] = f.props[v];
|
|
2180
2180
|
var h = Be(f.eventable, f.node);
|
|
2181
|
-
if (u._subtractOrigin(h), u.eventable = f.eventable, u.currentTarget = f.node, f.eventable.fire(u), u._addOrigin(h), u.immediatePropagationStopped || u.propagationStopped && p + 1 <
|
|
2181
|
+
if (u._subtractOrigin(h), u.eventable = f.eventable, u.currentTarget = f.node, f.eventable.fire(u), u._addOrigin(h), u.immediatePropagationStopped || u.propagationStopped && p + 1 < c.length && c[p + 1].node !== u.currentTarget) break;
|
|
2182
2182
|
}
|
|
2183
|
-
if (e.fire("pointerEvents:fired",
|
|
2183
|
+
if (e.fire("pointerEvents:fired", l), a === "tap") {
|
|
2184
2184
|
var m = u.double ? Ee({ interaction: n, pointer: r, event: i, eventTarget: o, type: "doubletap" }, e) : u;
|
|
2185
2185
|
n.prevTap = m, n.tapTime = m.timeStamp;
|
|
2186
2186
|
}
|
|
2187
2187
|
return u;
|
|
2188
2188
|
}
|
|
2189
2189
|
function Dn(t, e) {
|
|
2190
|
-
var n = t.interaction, r = t.pointer, i = t.event, o = t.eventTarget, a = t.type, s = n.getPointerIndex(r),
|
|
2191
|
-
if (a === "tap" && (n.pointerWasMoved || !
|
|
2192
|
-
for (var u = $(o),
|
|
2190
|
+
var n = t.interaction, r = t.pointer, i = t.event, o = t.eventTarget, a = t.type, s = n.getPointerIndex(r), c = n.pointers[s];
|
|
2191
|
+
if (a === "tap" && (n.pointerWasMoved || !c || c.downTarget !== o)) return [];
|
|
2192
|
+
for (var u = $(o), l = { interaction: n, pointer: r, event: i, eventTarget: o, type: a, path: u, targets: [], node: null }, p = 0; p < u.length; p++) {
|
|
2193
2193
|
var f = u[p];
|
|
2194
|
-
|
|
2194
|
+
l.node = f, e.fire("pointerEvents:collect-targets", l);
|
|
2195
2195
|
}
|
|
2196
|
-
return a === "hold" && (
|
|
2196
|
+
return a === "hold" && (l.targets = l.targets.filter((function(v) {
|
|
2197
2197
|
var h, m;
|
|
2198
2198
|
return v.eventable.options.holdDuration === ((h = n.pointers[s]) == null || (m = h.hold) == null ? void 0 : m.duration);
|
|
2199
|
-
}))),
|
|
2199
|
+
}))), l.targets;
|
|
2200
2200
|
}
|
|
2201
2201
|
function Ft(t) {
|
|
2202
2202
|
var e = t.interaction, n = t.pointerIndex, r = e.pointers[n].hold;
|
|
@@ -2237,8 +2237,8 @@ function bi() {
|
|
|
2237
2237
|
}, listeners: { "pointerEvents:collect-targets": function(t, e) {
|
|
2238
2238
|
var n = t.targets, r = t.node, i = t.type, o = t.eventTarget;
|
|
2239
2239
|
e.interactables.forEachMatch(r, (function(a) {
|
|
2240
|
-
var s = a.events,
|
|
2241
|
-
s.types[i] && s.types[i].length && a.testIgnoreAllow(
|
|
2240
|
+
var s = a.events, c = s.options;
|
|
2241
|
+
s.types[i] && s.types[i].length && a.testIgnoreAllow(c, r, o) && n.push({ node: r, eventable: s, props: { interactable: a } });
|
|
2242
2242
|
}));
|
|
2243
2243
|
}, "interactable:new": function(t) {
|
|
2244
2244
|
var e = t.interactable;
|
|
@@ -2254,13 +2254,13 @@ function bi() {
|
|
|
2254
2254
|
var e = t.Interactable;
|
|
2255
2255
|
t.actions.phases.reflow = !0, e.prototype.reflow = function(n) {
|
|
2256
2256
|
return (function(r, i, o) {
|
|
2257
|
-
for (var a = r.getAllElements(), s = o.window.Promise,
|
|
2258
|
-
var p = a[
|
|
2257
|
+
for (var a = r.getAllElements(), s = o.window.Promise, c = s ? [] : null, u = function() {
|
|
2258
|
+
var p = a[l], f = r.getRect(p);
|
|
2259
2259
|
if (!f) return 1;
|
|
2260
2260
|
var v, h = qe(o.interactions.list, (function(b) {
|
|
2261
2261
|
return b.interacting() && b.interactable === r && b.element === p && b.prepared.name === i.name;
|
|
2262
2262
|
}));
|
|
2263
|
-
if (h) h.move(),
|
|
2263
|
+
if (h) h.move(), c && (v = h._reflowPromise || new s((function(b) {
|
|
2264
2264
|
h._reflowResolve = b;
|
|
2265
2265
|
})));
|
|
2266
2266
|
else {
|
|
@@ -2301,9 +2301,9 @@ function bi() {
|
|
|
2301
2301
|
return I._reflowPromise = ae, I.start(D, _, P), I._interacting ? (I.move(H), I.end(T)) : (I.stop(), I._reflowResolve()), I.removePointer(T, T), ae;
|
|
2302
2302
|
})(o, r, p, i, w);
|
|
2303
2303
|
}
|
|
2304
|
-
|
|
2305
|
-
},
|
|
2306
|
-
return
|
|
2304
|
+
c && c.push(v);
|
|
2305
|
+
}, l = 0; l < a.length && !u(); l++) ;
|
|
2306
|
+
return c && s.all(c).then((function() {
|
|
2307
2307
|
return r;
|
|
2308
2308
|
}));
|
|
2309
2309
|
})(this, n, t);
|
|
@@ -2440,7 +2440,7 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2440
2440
|
var g, y, S;
|
|
2441
2441
|
return (S = (y = j.value) != null ? y : (g = document.getElementById(z)) == null ? void 0 : g.querySelector("[data-scd-layout-root]")) != null ? S : null;
|
|
2442
2442
|
}
|
|
2443
|
-
function
|
|
2443
|
+
function ee() {
|
|
2444
2444
|
de && (de.disconnect(), de = null);
|
|
2445
2445
|
}
|
|
2446
2446
|
function ie(g) {
|
|
@@ -2455,7 +2455,7 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2455
2455
|
}
|
|
2456
2456
|
return null;
|
|
2457
2457
|
}
|
|
2458
|
-
function
|
|
2458
|
+
function le(g, y) {
|
|
2459
2459
|
if (!(y > 0)) return;
|
|
2460
2460
|
if (typeof g == "string") {
|
|
2461
2461
|
const L = g.trim();
|
|
@@ -2480,7 +2480,7 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2480
2480
|
return g.height = L, !0;
|
|
2481
2481
|
const C = typeof g.height == "number" && g.height > 0 ? g.height : L;
|
|
2482
2482
|
for (const k of M) {
|
|
2483
|
-
const B =
|
|
2483
|
+
const B = le(k == null ? void 0 : k.x, S), $ = le(k == null ? void 0 : k.y, L);
|
|
2484
2484
|
B !== void 0 && (k.x = B), $ !== void 0 && (k.y = $), typeof (k == null ? void 0 : k.height) == "number" && C > 0 && (k.height = Math.floor(L / C * k.height));
|
|
2485
2485
|
}
|
|
2486
2486
|
return g.height = L, !0;
|
|
@@ -2488,7 +2488,7 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2488
2488
|
function Le(g) {
|
|
2489
2489
|
ui(() => {
|
|
2490
2490
|
if (_e(g)) return;
|
|
2491
|
-
|
|
2491
|
+
ee();
|
|
2492
2492
|
const y = R();
|
|
2493
2493
|
if (!y || typeof ResizeObserver == "undefined") {
|
|
2494
2494
|
requestAnimationFrame(() => {
|
|
@@ -2497,7 +2497,7 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2497
2497
|
return;
|
|
2498
2498
|
}
|
|
2499
2499
|
de = new ResizeObserver(() => {
|
|
2500
|
-
_e(g) &&
|
|
2500
|
+
_e(g) && ee();
|
|
2501
2501
|
}), de.observe(y);
|
|
2502
2502
|
});
|
|
2503
2503
|
}
|
|
@@ -2567,7 +2567,7 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2567
2567
|
if (g) return g;
|
|
2568
2568
|
const y = (L = (S = X.conf) == null ? void 0 : S.options) == null ? void 0 : L.bgImg;
|
|
2569
2569
|
return y && typeof y == "object" && y !== null && "value" in y ? F(y.value) : typeof y == "string" ? y.trim() : "";
|
|
2570
|
-
}),
|
|
2570
|
+
}), te = $t("");
|
|
2571
2571
|
let Y = null, fe = 0, oe = null;
|
|
2572
2572
|
const d = () => {
|
|
2573
2573
|
Y && (URL.revokeObjectURL(Y), Y = null);
|
|
@@ -2576,20 +2576,16 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2576
2576
|
return Vt(this, null, function* () {
|
|
2577
2577
|
const g = pe.value.trim(), y = ++fe;
|
|
2578
2578
|
if (oe == null || oe.abort(), oe = new AbortController(), !g) {
|
|
2579
|
-
d(),
|
|
2579
|
+
d(), te.value = "";
|
|
2580
2580
|
return;
|
|
2581
2581
|
}
|
|
2582
2582
|
if (g.startsWith("blob:") || g.startsWith("data:")) {
|
|
2583
|
-
d(),
|
|
2584
|
-
return;
|
|
2585
|
-
}
|
|
2586
|
-
if (g.toLowerCase().includes("mixportal")) {
|
|
2587
|
-
d(), K.value = "", console.warn("[scd] 背景为门户本地上传路径(mixportal),请在设计器从素材库重新选择背景", g);
|
|
2583
|
+
d(), te.value = g;
|
|
2588
2584
|
return;
|
|
2589
2585
|
}
|
|
2590
2586
|
const S = gi(mi(g));
|
|
2591
2587
|
if (!S) {
|
|
2592
|
-
d(),
|
|
2588
|
+
d(), te.value = "";
|
|
2593
2589
|
return;
|
|
2594
2590
|
}
|
|
2595
2591
|
try {
|
|
@@ -2604,26 +2600,26 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2604
2600
|
});
|
|
2605
2601
|
if (y !== fe) return;
|
|
2606
2602
|
if (!C.ok) {
|
|
2607
|
-
console.warn("[scd] 背景图加载失败", C.status, S),
|
|
2603
|
+
console.warn("[scd] 背景图加载失败", C.status, S), te.value = "";
|
|
2608
2604
|
return;
|
|
2609
2605
|
}
|
|
2610
2606
|
const k = yield C.blob();
|
|
2611
2607
|
if (y !== fe) return;
|
|
2612
2608
|
if (!k.size) {
|
|
2613
|
-
|
|
2609
|
+
te.value = "";
|
|
2614
2610
|
return;
|
|
2615
2611
|
}
|
|
2616
|
-
Y = URL.createObjectURL(k),
|
|
2612
|
+
Y = URL.createObjectURL(k), te.value = Y;
|
|
2617
2613
|
} catch (L) {
|
|
2618
2614
|
if ((L == null ? void 0 : L.name) === "AbortError" || y !== fe) return;
|
|
2619
|
-
console.warn("[scd] 背景图 fetch 异常", L),
|
|
2615
|
+
console.warn("[scd] 背景图 fetch 异常", L), te.value = "";
|
|
2620
2616
|
}
|
|
2621
2617
|
});
|
|
2622
2618
|
}
|
|
2623
2619
|
jn(() => pe.value, () => {
|
|
2624
2620
|
Ve();
|
|
2625
2621
|
}, { immediate: !0 }), ai(() => {
|
|
2626
|
-
fe++, oe == null || oe.abort(), d(),
|
|
2622
|
+
fe++, oe == null || oe.abort(), d(), te.value = "", ee();
|
|
2627
2623
|
});
|
|
2628
2624
|
const et = gt(() => ({
|
|
2629
2625
|
minHeight: 0
|
|
@@ -2644,7 +2640,7 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2644
2640
|
pointerEvents: "none",
|
|
2645
2641
|
boxSizing: "border-box"
|
|
2646
2642
|
};
|
|
2647
|
-
}), tt = gt(() => vi(X.conf.options)),
|
|
2643
|
+
}), tt = gt(() => vi(X.conf.options)), K = (g) => {
|
|
2648
2644
|
let y = 5;
|
|
2649
2645
|
return /^\d+$/.test(g) && (y = Number(g)), y + 1;
|
|
2650
2646
|
}, be = (g, y) => {
|
|
@@ -2654,10 +2650,10 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2654
2650
|
$n("." + z).draggable({
|
|
2655
2651
|
modifiers: [$n.modifiers.restrictRect({ restriction: "parent", endOnly: !0 })],
|
|
2656
2652
|
onmove(g) {
|
|
2657
|
-
|
|
2653
|
+
J(g);
|
|
2658
2654
|
}
|
|
2659
2655
|
});
|
|
2660
|
-
},
|
|
2656
|
+
}, J = (g) => {
|
|
2661
2657
|
const { data: y } = X.conf, S = R();
|
|
2662
2658
|
if (!S) return;
|
|
2663
2659
|
const L = S.clientWidth, M = S.clientHeight, C = (k, B, $) => {
|
|
@@ -2683,7 +2679,7 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2683
2679
|
k.x = `${$ / L * 100}%`, k.y = `${W / M * 100}%`;
|
|
2684
2680
|
}
|
|
2685
2681
|
});
|
|
2686
|
-
},
|
|
2682
|
+
}, Q = (g) => {
|
|
2687
2683
|
const y = g.max - g.min;
|
|
2688
2684
|
let S, L;
|
|
2689
2685
|
return g.value < g.startValue ? (S = Math.abs((g.value - g.startValue) / y * g.height), L = g.value / y * g.height) : (S = Math.abs((g.value - g.startValue) / y * g.height), L = g.startValue / y * g.height), { height: `${S}px`, bottom: `${L}px` };
|
|
@@ -2699,7 +2695,7 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2699
2695
|
};
|
|
2700
2696
|
return X.mode === "edit" && U(), (g, y) => {
|
|
2701
2697
|
var S, L, M, C, k, B, $, W, E;
|
|
2702
|
-
return se(),
|
|
2698
|
+
return se(), ce("div", {
|
|
2703
2699
|
class: "mix-component",
|
|
2704
2700
|
style: N({ backgroundColor: je(ue).bgColor, borderRadius: `${je(ue).radiusSize}px` })
|
|
2705
2701
|
}, [
|
|
@@ -2727,18 +2723,18 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2727
2723
|
"data-scd-layout-root": "",
|
|
2728
2724
|
style: N(et.value)
|
|
2729
2725
|
}, [
|
|
2730
|
-
|
|
2726
|
+
te.value ? (se(), ce("img", {
|
|
2731
2727
|
key: 0,
|
|
2732
2728
|
class: "scd-bg-raster",
|
|
2733
|
-
src:
|
|
2729
|
+
src: te.value,
|
|
2734
2730
|
alt: "",
|
|
2735
2731
|
draggable: "false",
|
|
2736
2732
|
style: N(ze.value)
|
|
2737
2733
|
}, null, 12, Ei)) : si("", !0),
|
|
2738
|
-
(se(!0),
|
|
2734
|
+
(se(!0), ce(Bt, null, Fn((E = V.conf) == null ? void 0 : E.data, (x, q) => (se(), ce(Bt, {
|
|
2739
2735
|
key: x.fv + "_" + q
|
|
2740
2736
|
}, [
|
|
2741
|
-
x.type == "ULG" ? (se(),
|
|
2737
|
+
x.type == "ULG" ? (se(), ce("div", {
|
|
2742
2738
|
key: 0,
|
|
2743
2739
|
class: Je(`${z} liquid absolute`),
|
|
2744
2740
|
id: `ULG_${z}_${x.fv}_${q}`,
|
|
@@ -2752,14 +2748,14 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2752
2748
|
class: "liquid-value",
|
|
2753
2749
|
id: z + "_Liquid_" + x.fv,
|
|
2754
2750
|
title: x.value,
|
|
2755
|
-
style: N({ height:
|
|
2751
|
+
style: N({ height: Q(x).height, bottom: Q(x).bottom })
|
|
2756
2752
|
}, null, 12, Li)
|
|
2757
2753
|
], 4),
|
|
2758
2754
|
re("div", {
|
|
2759
2755
|
class: "liquid-scale",
|
|
2760
2756
|
style: N({ display: x.showScale === !1 ? "none" : "flex" })
|
|
2761
2757
|
}, [
|
|
2762
|
-
(se(!0),
|
|
2758
|
+
(se(!0), ce(Bt, null, Fn(K(x.pieces), ($e, Ce) => (se(), ce("div", {
|
|
2763
2759
|
class: "split",
|
|
2764
2760
|
key: Ce,
|
|
2765
2761
|
style: N({ fontSize: `${x.fontSize}px`, fontWeight: x.isBold ? "bold" : "normal" })
|
|
@@ -2767,12 +2763,12 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2767
2763
|
re("span", ki, ye(be(Ce, x)), 1)
|
|
2768
2764
|
], 4))), 128))
|
|
2769
2765
|
], 4)
|
|
2770
|
-
], 14, _i)) : x.type == "Signal" ? (se(),
|
|
2766
|
+
], 14, _i)) : x.type == "Signal" ? (se(), ce("div", {
|
|
2771
2767
|
key: 1,
|
|
2772
2768
|
class: Je(`${z} signal absolute ${he(x)}`),
|
|
2773
2769
|
style: N({ width: `${x.fontSize}px`, height: `${x.fontSize}px`, left: x.x, top: x.y, zIndex: Number(q) + 1 }),
|
|
2774
2770
|
id: `Signal_${z}_${x.fv}_${q}`
|
|
2775
|
-
}, null, 14, Ti)) : x.type == "Digit" ? (se(),
|
|
2771
|
+
}, null, 14, Ti)) : x.type == "Digit" ? (se(), ce("div", {
|
|
2776
2772
|
key: 2,
|
|
2777
2773
|
class: Je(`${z} absolute`),
|
|
2778
2774
|
style: N({
|
|
@@ -2784,13 +2780,13 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2784
2780
|
zIndex: Number(q) + 1
|
|
2785
2781
|
}),
|
|
2786
2782
|
id: `Digit_${z}_${x.fv}_${q}`
|
|
2787
|
-
}, ye(x.value) + ye(x.unit ? " " + x.unit : ""), 15, Oi)) : x.type == "Status" ? (se(),
|
|
2783
|
+
}, ye(x.value) + ye(x.unit ? " " + x.unit : ""), 15, Oi)) : x.type == "Status" ? (se(), ce("div", {
|
|
2788
2784
|
key: 3,
|
|
2789
2785
|
class: Je(`${z} absolute status`),
|
|
2790
2786
|
id: `Status_${z}_${x.fv}_${q}`,
|
|
2791
2787
|
style: N({ color: Te(x).color, left: x.x, top: x.y, zIndex: Number(q) + 1 })
|
|
2792
2788
|
}, [
|
|
2793
|
-
|
|
2789
|
+
ci(ye(x.name) + ": ", 1),
|
|
2794
2790
|
re("span", null, [
|
|
2795
2791
|
re("div", {
|
|
2796
2792
|
style: N({ "background-color": Te(x).color }),
|
|
@@ -2801,7 +2797,7 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2801
2797
|
style: N({ color: Te(x).color })
|
|
2802
2798
|
}, ye(Te(x).text), 13, Mi)
|
|
2803
2799
|
])
|
|
2804
|
-
], 14, Pi)) : (se(),
|
|
2800
|
+
], 14, Pi)) : (se(), ce("div", {
|
|
2805
2801
|
key: 4,
|
|
2806
2802
|
class: Je(`${z} absolute plate`),
|
|
2807
2803
|
id: `Plate_${z}_${x.fv}_${q}`,
|
|
@@ -2827,11 +2823,11 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2827
2823
|
], 4)
|
|
2828
2824
|
], 4)
|
|
2829
2825
|
]),
|
|
2830
|
-
|
|
2826
|
+
li(g.$slots, "default", {}, void 0, !0)
|
|
2831
2827
|
], 4);
|
|
2832
2828
|
};
|
|
2833
2829
|
}
|
|
2834
|
-
})), Yi = /* @__PURE__ */ hi($i, [["__scopeId", "data-v-
|
|
2830
|
+
})), Yi = /* @__PURE__ */ hi($i, [["__scopeId", "data-v-e7c804da"]]);
|
|
2835
2831
|
export {
|
|
2836
2832
|
Yi as default
|
|
2837
2833
|
};
|