mixdashboards 1.0.74 → 1.0.76
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/BaseComponent-BmhMoM4H.cjs +1 -0
- package/dist/{BaseComponent-NnwLq7Cf.js → BaseComponent-CQaDWNO0.js} +10 -10
- package/dist/{EChartComponentBase-D7_ZiE7P.cjs → EChartComponentBase-D9EUh4BZ.cjs} +1 -1
- package/dist/{EChartComponentBase-C3gcATBZ.js → EChartComponentBase-i76OGL3z.js} +2 -2
- package/dist/{EmergencyPlanPanel-0EfbQlQm.js → EmergencyPlanPanel-B9S3Ru5-.js} +1 -1
- package/dist/{EmergencyPlanPanel-XDtQc5aN.cjs → EmergencyPlanPanel-BiAHvTfh.cjs} +1 -1
- package/dist/{HistoryPlanDialog-fbBtPeVt.cjs → HistoryPlanDialog-BU4GayEm.cjs} +1 -1
- package/dist/{HistoryPlanDialog-ihGqWXNI.js → HistoryPlanDialog-CbbeFm-i.js} +1 -1
- package/dist/{MonitoringMap-DysFrw3B.js → MonitoringMap-B6tXBdvK.js} +2 -2
- package/dist/{MonitoringMap-UT2OL3ca.cjs → MonitoringMap-FGDoA0fw.cjs} +1 -1
- package/dist/{UniverSheet-DeZ-y5mH.cjs → UniverSheet-D7y2pceH.cjs} +1 -1
- package/dist/{UniverSheet-CMWL98B8.js → UniverSheet-D8sflrTb.js} +2 -2
- package/dist/{accelerationChart-BGjzOc4I.cjs → accelerationChart-DTlwSA0N.cjs} +1 -1
- package/dist/{accelerationChart-JNRxAqU5.js → accelerationChart-bch4O3t-.js} +9 -9
- package/dist/{actionItem-DnrNafUu.js → actionItem-Cw67YwsR.js} +2 -2
- package/dist/{actionItem-DDlL4pxR.cjs → actionItem-cdsgUvaC.cjs} +1 -1
- package/dist/{alarmLevelChart-B4TglthF.cjs → alarmLevelChart-BMjTLxB5.cjs} +1 -1
- package/dist/{alarmLevelChart-D4ZPyGyd.js → alarmLevelChart-BynSRHG2.js} +2 -2
- package/dist/{alertTable-WmivR3n_.cjs → alertTable-3VhkUZSf.cjs} +1 -1
- package/dist/{alertTable-IwL3PIbe.js → alertTable-CiwuaydQ.js} +2 -2
- package/dist/{aliasObjectSelectorDemo-zcElLG44.cjs → aliasObjectSelectorDemo-BLoecZkV.cjs} +1 -1
- package/dist/{aliasObjectSelectorDemo-DCcqetww.js → aliasObjectSelectorDemo-DfdRxb4I.js} +1 -1
- package/dist/{annualRainfallChart-CNqrXKJZ.js → annualRainfallChart-CHcr4-0D.js} +2 -2
- package/dist/{annualRainfallChart-DspMrDxt.cjs → annualRainfallChart-DKR-A_PT.cjs} +1 -1
- package/dist/{aqi-B1bcKY5p.cjs → aqi-D7VqP1QE.cjs} +1 -1
- package/dist/{aqi-CdGE9-CD.js → aqi-Gu-pAovO.js} +4 -4
- package/dist/{aqiIndass-CuKfMaYn.js → aqiIndass-Bjj6n1aj.js} +18 -18
- package/dist/{aqiIndass-BZpPo1tj.cjs → aqiIndass-nfYUZ3UM.cjs} +1 -1
- package/dist/{areaDeformCurve-bNNNS8Cb.cjs → areaDeformCurve-fpGWmq05.cjs} +1 -1
- package/dist/{areaDeformCurve-Chn4CE8w.js → areaDeformCurve-nwlcUBDv.js} +2 -2
- package/dist/arrayCard-TfcgLrHv.js +139 -0
- package/dist/arrayCard-UoDqAGbN.cjs +1 -0
- package/dist/{audio-YTfr7Lqf.js → audio-BYgGYoEr.js} +2 -2
- package/dist/{audio-BeYg08W5.cjs → audio-DdUv9Ot-.cjs} +1 -1
- package/dist/bar-CkBXc7t1.cjs +2 -0
- package/dist/{bar-YhAAV2al.js → bar-SfGiFl1r.js} +75 -67
- package/dist/{bmp-Uj7Bu61U.js → bmp-BbtdzIrI.js} +2 -2
- package/dist/{bmp-vWIH5Cu7.cjs → bmp-CY-Hb2x1.cjs} +1 -1
- package/dist/{box-Cdzw27uU.cjs → box-B4C_mirv.cjs} +1 -1
- package/dist/{box-C8RIfuID.js → box-CV41cJuX.js} +2 -2
- package/dist/{chartConfigPanel-DLa3heKy.js → chartConfigPanel-D650rSn7.js} +1 -1
- package/dist/{chartConfigPanel-D3voTkdQ.cjs → chartConfigPanel-DBlqAbbH.cjs} +1 -1
- package/dist/{circleBar-Dc_qd4gk.cjs → circleBar-DkV7xPBl.cjs} +1 -1
- package/dist/{circleBar-DUSP-iMF.js → circleBar-U3iXMQr5.js} +2 -2
- package/dist/{clock-0USfNfTc.cjs → clock-CjgMeOhp.cjs} +1 -1
- package/dist/{clock-Dk1zjBcJ.js → clock-zKVUU8pu.js} +2 -2
- package/dist/clt-BsIA-YPQ.js +301 -0
- package/dist/clt-DwI8i7zI.cjs +1 -0
- package/dist/cmc-BX9ichBB.cjs +1 -0
- package/dist/cmc-CgpHejR2.js +275 -0
- package/dist/{cmp-D4ZO7mz7.js → cmp-CS34lG7V.js} +2 -2
- package/dist/{cmp-BPM8lMqg.cjs → cmp-CTqtxzo4.cjs} +1 -1
- package/dist/{conclusionCard-BYR-fH4f.js → conclusionCard-N6pA6Q9P.js} +2 -2
- package/dist/{conclusionCard-BVHHtpxH.cjs → conclusionCard-wvtJmV_8.cjs} +1 -1
- package/dist/{controlList-DsEyes9v.cjs → controlList-BUAMdHA3.cjs} +1 -1
- package/dist/{controlList-DYV1wgUY.js → controlList-Zz5ABe5b.js} +2 -2
- package/dist/{controlRecordList-j0pBrQiU.cjs → controlRecordList-CMR4y_Ml.cjs} +1 -1
- package/dist/{controlRecordList-CBGpB41d.js → controlRecordList-Dx0zj7js.js} +2 -2
- package/dist/controlRecordListAPP-ZDCKmz_8.cjs +1 -0
- package/dist/controlRecordListAPP-bL9oqWzQ.js +569 -0
- package/dist/{crd-C8IqmHc6.cjs → crd-8tMwNlgx.cjs} +1 -1
- package/dist/{crd-Di7EfiY1.js → crd-DZPpD6XY.js} +2 -2
- package/dist/{ctrBtn-BzMHJHA9.js → ctrBtn-6Ql9ulTr.js} +3 -3
- package/dist/{ctrBtn-Cj-AqUKM.cjs → ctrBtn-eCu0UDtW.cjs} +1 -1
- package/dist/{ctrSet-DMkuRDFI.js → ctrSet-BwFVH1Mk.js} +51 -50
- package/dist/{ctrSet-CnDBng-I.cjs → ctrSet-pX-zVivo.cjs} +1 -1
- package/dist/{ctrSwitch-BRfl35Aw.cjs → ctrSwitch-D95SI-aJ.cjs} +1 -1
- package/dist/{ctrSwitch-FJgD05b0.js → ctrSwitch-b6hHf4QF.js} +3 -3
- package/dist/{dataManagement-CXbeNggN.cjs → dataManagement-DubA1TV1.cjs} +1 -1
- package/dist/{dataManagement-CQoqc9Rh.js → dataManagement-VucRLCK4.js} +2 -2
- package/dist/{dataReport-l2SE8HZx.js → dataReport-CALIw14D.js} +2 -2
- package/dist/{dataReport-BkIDOCdC.cjs → dataReport-CkF5J7X1.cjs} +1 -1
- package/dist/{dataTable-jf6qXfJJ.js → dataTable-C1rBH_p9.js} +1 -1
- package/dist/{dataTable-BdttKfHG.cjs → dataTable-C2q_CX5D.cjs} +1 -1
- package/dist/{datetime-eht4XkmD.js → datetime-Cq8scz5Q.js} +2 -2
- package/dist/{datetime-BH9orUUf.cjs → datetime-TBTeWqlf.cjs} +1 -1
- package/dist/{deepClusterSlipSurface-CF_MN7sO.cjs → deepClusterSlipSurface-CFaxRVmM.cjs} +1 -1
- package/dist/{deepClusterSlipSurface-D2d52L50.js → deepClusterSlipSurface-Cm50wbjv.js} +13 -13
- package/dist/{deepDataMatrix-DqbCqz8d.cjs → deepDataMatrix-CAYSav3X.cjs} +1 -1
- package/dist/{deepDataMatrix-DY1WmgGR.js → deepDataMatrix-DyStA98d.js} +13 -13
- package/dist/{deepDisplacement3D-D3-KOmef.cjs → deepDisplacement3D-B3Iju2KK.cjs} +1 -1
- package/dist/{deepDisplacement3D-CuVVhd0X.js → deepDisplacement3D-Bat-Wc3i.js} +2 -2
- package/dist/{deepDisplacementChart-BwBojI9h.cjs → deepDisplacementChart-C-Tr4DdI.cjs} +1 -1
- package/dist/{deepDisplacementChart-DzikjpBz.cjs → deepDisplacementChart-CX9ALM89.cjs} +1 -1
- package/dist/{deepDisplacementChart-C_3eHTmR.js → deepDisplacementChart-CYMpNu_W.js} +3 -3
- package/dist/{deepDisplacementChart-DFosjAQL.js → deepDisplacementChart-D5rHoC9r.js} +26 -26
- package/dist/{deepDisplacementView-gJdi6U9B.cjs → deepDisplacementView-DTSsODJQ.cjs} +1 -1
- package/dist/{deepDisplacementView-BNQaheci.js → deepDisplacementView-DnjwQmEW.js} +1 -1
- package/dist/{deepNodeTemperatureChart-oMknBT7e.cjs → deepNodeTemperatureChart-C9NRJ49Y.cjs} +1 -1
- package/dist/{deepNodeTemperatureChart-C5d-tyOA.js → deepNodeTemperatureChart-CLKg72UA.js} +2 -2
- package/dist/{deepTangentAngleChart-C7b7sEab.cjs → deepTangentAngleChart-C9aFSFrD.cjs} +1 -1
- package/dist/{deepTangentAngleChart-C35d0nBR.js → deepTangentAngleChart-DklHYHhm.js} +2 -2
- package/dist/{deepTemperatureField-BnWHpVPm.cjs → deepTemperatureField-CXBL4_LS.cjs} +1 -1
- package/dist/{deepTemperatureField-DbGy0vHS.js → deepTemperatureField-CcnVGgbf.js} +3 -3
- package/dist/{deepTrendChart-DdCYjiWZ.js → deepTrendChart-De7ebpk4.js} +2 -2
- package/dist/{deepTrendChart-D676owsq.cjs → deepTrendChart-OGW08BX-.cjs} +1 -1
- package/dist/{deviceOnlineStatus-DSuaeFZj.cjs → deviceOnlineStatus-DarcMtY4.cjs} +1 -1
- package/dist/{deviceOnlineStatus-BH-2-UBD.js → deviceOnlineStatus-_3Txb8Tg.js} +2 -2
- package/dist/{deviceStatus-ySE9suGE.cjs → deviceStatus-BiJw8rnz.cjs} +1 -1
- package/dist/{deviceStatus-CxjbfqGK.js → deviceStatus-CL6E-pQ0.js} +12 -12
- package/dist/{displacementDataTable-DwutxypE.cjs → displacementDataTable-DmAqr-JK.cjs} +1 -1
- package/dist/{displacementDataTable-CAYYafN7.js → displacementDataTable-tKtGe2xd.js} +17 -17
- package/dist/{displacementTrajectoryChart-zya-qu9n.cjs → displacementTrajectoryChart-DG2YdSqq.cjs} +1 -1
- package/dist/{displacementTrajectoryChart-ClUAsle_.js → displacementTrajectoryChart-Dh6oPB0p.js} +31 -31
- package/dist/{displacementTrendChart-xqe9LMp8.js → displacementTrendChart-BHORe0qO.js} +40 -40
- package/dist/{displacementTrendChart-DZj52qRD.cjs → displacementTrendChart-CT140vXG.cjs} +1 -1
- package/dist/{dxf-Cmr9xmL0.cjs → dxf-CVa4Vfm3.cjs} +1 -1
- package/dist/{dxf-tZgpovsn.js → dxf-CjcHSJq-.js} +2 -2
- package/dist/{dzc-C0VMyvsH.js → dzc-DDXNSuie.js} +6 -6
- package/dist/{dzc-BwCEpLKp.cjs → dzc-DK16oTVj.cjs} +1 -1
- package/dist/{emergencyPlan-CQtYRB5n.cjs → emergencyPlan-D0AMuD-3.cjs} +1 -1
- package/dist/{emergencyPlan-j1icRflR.js → emergencyPlan-Vim4E6h7.js} +3 -3
- package/dist/evn-CdMN8gIC.js +165 -0
- package/dist/evn-D2mdSoFB.cjs +1 -0
- package/dist/{evolutionChart-q9UtSs9r.cjs → evolutionChart-I8XVW05I.cjs} +1 -1
- package/dist/{evolutionChart-C1rPjVsB.js → evolutionChart-P0l6P0Bc.js} +3 -3
- package/dist/{fileViewer-ZO55zvWU.cjs → fileViewer-D7sAA8-W.cjs} +1 -1
- package/dist/{fileViewer-Bj4FYg5G.js → fileViewer-DvntGv0b.js} +2 -2
- package/dist/{filterBar-CIYpcc9y.js → filterBar-8gex5oR-.js} +2 -2
- package/dist/{filterBar-D7js_Q7g.cjs → filterBar-GSTji96g.cjs} +1 -1
- package/dist/{fireCombustionCurve-DEHjb7Lp.js → fireCombustionCurve-B3jAhOft.js} +3 -3
- package/dist/{fireCombustionCurve-CiVXjt9E.cjs → fireCombustionCurve-DrMmHf3N.cjs} +1 -1
- package/dist/{fireFilterBar-BzgnlY5d.js → fireFilterBar-CH6iK0Xg.js} +2 -2
- package/dist/{fireFilterBar-CkQU9Yaf.cjs → fireFilterBar-Dy9DcHij.cjs} +1 -1
- package/dist/{fireHistoryTable-BoAArvjx.js → fireHistoryTable-CHxHqPs0.js} +2 -2
- package/dist/{fireHistoryTable-JCY4nLos.cjs → fireHistoryTable-n6L3juWp.cjs} +1 -1
- package/dist/{gag-DCGVulGC.js → gag-BsO4kmp1.js} +2 -2
- package/dist/{gag-CrUeBa30.cjs → gag-BzjuwBvY.cjs} +1 -1
- package/dist/gasStationList-7JzUcISs.js +1325 -0
- package/dist/gasStationList-QwqTDEAG.cjs +1 -0
- package/dist/{geo3dViewer-BSAjBg2m.cjs → geo3dViewer-Cf-jHpvF.cjs} +1 -1
- package/dist/{geo3dViewer-Du775tJ7.js → geo3dViewer-doEpUC_J.js} +3 -3
- package/dist/{glbModel-2uTNL367.js → glbModel-BgFIj_es.js} +2 -2
- package/dist/{glbModel-Cm1M6hko.cjs → glbModel-C6L--3dO.cjs} +1 -1
- package/dist/{globalObjectSelector-CEpO2o2w.js → globalObjectSelector-CdfiXRjg.js} +1 -1
- package/dist/{globalObjectSelector-W_YToM6x.cjs → globalObjectSelector-P_irB0rv.cjs} +1 -1
- package/dist/{gnssFilterBar-BSHEfiyz.cjs → gnssFilterBar-CIwyv2yc.cjs} +1 -1
- package/dist/{gnssFilterBar-DZYOL5nC.js → gnssFilterBar-DPNshMIx.js} +2 -2
- package/dist/{gnssHistoryTable-naChmXHT.js → gnssHistoryTable-C7x4-Tpp.js} +2 -2
- package/dist/{gnssHistoryTable-Ct98Vz6i.cjs → gnssHistoryTable-j5FL6oYs.cjs} +1 -1
- package/dist/{gnssMapView-DouWOPLF.js → gnssMapView-BWcS4hqj.js} +4 -4
- package/dist/{gnssMapView-CCW4_-Sn.cjs → gnssMapView-_VaJWBcE.cjs} +2 -2
- package/dist/{gnssSectionProfile-hzXQ4KzJ.cjs → gnssSectionProfile-DGbTO7lV.cjs} +1 -1
- package/dist/{gnssSectionProfile-Be-THvQP.js → gnssSectionProfile-hpyiGI-6.js} +2 -2
- package/dist/{gnssTimeSeriesChart-CbMxKxjG.cjs → gnssTimeSeriesChart-CNT6xaNs.cjs} +1 -1
- package/dist/{gnssTimeSeriesChart-DoMBz4zf.js → gnssTimeSeriesChart-rL9oG1ly.js} +2 -2
- package/dist/{gnssXYTrajectory-Bg2B89Vw.js → gnssXYTrajectory-B1LZAepw.js} +2 -2
- package/dist/{gnssXYTrajectory-BNwqQna4.cjs → gnssXYTrajectory-CwAjhPRc.cjs} +1 -1
- package/dist/{grd-XTVPofQw.js → grd-BLab9IY0.js} +26 -26
- package/dist/{grd-C-x23C0E.cjs → grd-rJXqEimt.cjs} +1 -1
- package/dist/{grdIndass-CYawTr5K.js → grdIndass-gGrZ7gRV.js} +2 -2
- package/dist/{grdIndass-h7STZwba.cjs → grdIndass-niY4UOwz.cjs} +1 -1
- package/dist/{grg-DMRsgNoC.cjs → grg-C1L5yeyY.cjs} +1 -1
- package/dist/{grg-BZPHOdr_.js → grg-Dnro7bLg.js} +6 -6
- package/dist/{gridview-C_Lqcw3n.js → gridview-BhjWlD0J.js} +2 -2
- package/dist/{gridview-BAqXV-TI.cjs → gridview-DxUsv2ny.cjs} +1 -1
- package/dist/{groundwaterFilterBar-RcVBt_vt.cjs → groundwaterFilterBar-C-2e7S04.cjs} +1 -1
- package/dist/{groundwaterFilterBar-Dq216QFO.js → groundwaterFilterBar-bNhTkX1C.js} +2 -2
- package/dist/{groundwaterProfileChart-D31MpfdN.cjs → groundwaterProfileChart-BxKGPuOe.cjs} +2 -2
- package/dist/{groundwaterProfileChart-7LN3wfLM.js → groundwaterProfileChart-dhzmwfwz.js} +3 -3
- package/dist/{groundwaterTimeCurve-CJgvt43Z.js → groundwaterTimeCurve-BtzP6icm.js} +3 -3
- package/dist/{groundwaterTimeCurve-C65gdinn.cjs → groundwaterTimeCurve-CTQPlTUr.cjs} +1 -1
- package/dist/{groupCard-BpjcijZW.js → groupCard-D00ElZoy.js} +63 -53
- package/dist/{groupCard-DNOawK4_.cjs → groupCard-D4gdaVqR.cjs} +1 -1
- package/dist/{headerBar-Bnv8ylmr.js → headerBar-DEHj8fJr.js} +2 -2
- package/dist/{headerBar-CNWKR951.cjs → headerBar-MFw1W0qa.cjs} +1 -1
- package/dist/{history-DdkBOj8L.js → history-BRkb914v.js} +22 -22
- package/dist/{history-xZTq1lUB.cjs → history-D1R2RAZQ.cjs} +1 -1
- package/dist/index-77aUdspY.cjs +612 -0
- package/dist/{index-D5BukPPY.js → index-BZpYmpDy.js} +3511 -3043
- package/dist/{insarDeformChart-DIvxdDkN.cjs → insarDeformChart-5EVWIkpL.cjs} +1 -1
- package/dist/{insarDeformChart-BKgJHbFe.js → insarDeformChart-pbOnnoN-.js} +2 -2
- package/dist/{insarImageViewer-qI5GBqkU.js → insarImageViewer-D3bbQA6g.js} +2 -2
- package/dist/{insarImageViewer-Bray3mKg.cjs → insarImageViewer-DQJBN4YM.cjs} +1 -1
- package/dist/{kds-BibvGW1n.cjs → kds-D5seJB3L.cjs} +1 -1
- package/dist/{kds-C1Chb0fa.js → kds-gTJOwHbM.js} +2 -2
- package/dist/{kpiCard-tnfcEXOn.cjs → kpiCard-Bz-fg6sL.cjs} +1 -1
- package/dist/{kpiCard-KuMZjN55.js → kpiCard-Cx6VNK6L.js} +2 -2
- package/dist/{landslideMap-B4vzymkZ.js → landslideMap-5erIcZo7.js} +3 -3
- package/dist/{landslideMap-DlMSDibx.cjs → landslideMap-D7_QpwmM.cjs} +1 -1
- package/dist/{landslideWarning-DtOMb7U_.cjs → landslideWarning-C3FZqrxT.cjs} +1 -1
- package/dist/{landslideWarning-BYlaEzUr.js → landslideWarning-CzaddgWf.js} +14 -14
- package/dist/{layerTabs-DQm_b2aH.cjs → layerTabs-Dc1Xb11W.cjs} +1 -1
- package/dist/{layerTabs-BG0gTvo8.js → layerTabs-DqbOykS2.js} +2 -2
- package/dist/{leaflet-src-DVXepwmU.js → leaflet-src-BY2SMh9y.js} +1 -1
- package/dist/{leaflet-src-qPfpknMO.cjs → leaflet-src-Brb8KUL5.cjs} +1 -1
- package/dist/{lerc-Z6kWrF7V.js → lerc-Chm_GVte.js} +2 -2
- package/dist/{lerc-CITZZDb7.cjs → lerc-DGuyYCKG.cjs} +1 -1
- package/dist/{lin-CW8Q8u-z.cjs → lin-8x2j8aGa.cjs} +1 -1
- package/dist/{lin-zJYjIE2f.js → lin-tqtSA5ci.js} +5 -5
- package/dist/{linIndass-27mWriLs.js → linIndass-DHFymSVI.js} +10 -10
- package/dist/{linIndass-CQaikC7I.cjs → linIndass-Dxo_bzrZ.cjs} +1 -1
- package/dist/{lst-Cu-ohx2m.cjs → lst-BV6EbDPs.cjs} +1 -1
- package/dist/{lst-BqXNkXrQ.js → lst-BejIuO0f.js} +2 -2
- package/dist/{manualEntry-zj6TEXL7.cjs → manualEntry-Bt4cs6kn.cjs} +1 -1
- package/dist/{manualEntry-BPEmSok7.js → manualEntry-DObI0OAq.js} +2 -2
- package/dist/{mapBackground-BhcSOZ_h.js → mapBackground-Cuym5Dqr.js} +3 -3
- package/dist/{mapBackground-CRI873EC.cjs → mapBackground-oVOBK3zr.cjs} +1 -1
- package/dist/{mappingList-DGgPl4t4.cjs → mappingList-BEWAqLd4.cjs} +1 -1
- package/dist/{mappingList-CvG8EIIC.js → mappingList-Dzq0zMfs.js} +2 -2
- package/dist/{markdownViewer-D9JqGyeI.js → markdownViewer-Bz50jkb6.js} +2 -2
- package/dist/{markdownViewer-DvbUv7kn.cjs → markdownViewer-V5b1xhPh.cjs} +1 -1
- package/dist/{mix-control-modal-DaRWnX3S.js → mix-control-modal-DzVLdO3S.js} +1 -1
- package/dist/{mix-control-modal-DpAs-GHi.cjs → mix-control-modal-I6DqPm04.cjs} +1 -1
- package/dist/{mixGrid-CHne1dXO.cjs → mixGrid-_ur8VKLD.cjs} +1 -1
- package/dist/{mixGrid-FBiMFT4V.js → mixGrid-tVSdKPms.js} +2 -2
- package/dist/mixdashboards.cjs +1 -1
- package/dist/mixdashboards.css +1 -1
- package/dist/mixdashboards.js +1 -1
- package/dist/mixiotObjectListApi-BUQ-RZ3L.cjs +1 -0
- package/dist/mixiotObjectListApi-D5vNNWgT.js +212 -0
- package/dist/{mjpegCamera-D32gJ5oN.cjs → mjpegCamera-CjWe8BEK.cjs} +1 -1
- package/dist/{mjpegCamera-D2quqZNc.js → mjpegCamera-DnAPpFJU.js} +2 -2
- package/dist/{monitorAlert-D4qszzHh.js → monitorAlert-B-fTYPn6.js} +15 -15
- package/dist/{monitorAlert-CxC81qAu.cjs → monitorAlert-qmVSQ1lc.cjs} +1 -1
- package/dist/{monitorData-DnWDsgTT.js → monitorData-Dopc660L.js} +7 -7
- package/dist/{monitorData-CVkL2ukF.cjs → monitorData-YhGSUq3H.cjs} +1 -1
- package/dist/{monitorSpeedChart-CKxwWE0i.cjs → monitorSpeedChart-Brj_YHsO.cjs} +1 -1
- package/dist/{monitorSpeedChart-CHpQsrDt.js → monitorSpeedChart-Dsvr_QPB.js} +1 -1
- package/dist/{mxa-UU7rQDd8.cjs → mxa-BzdI7BLB.cjs} +1 -1
- package/dist/{mxa-Cbnwonqc.js → mxa-D4WkyBYZ.js} +7 -7
- package/dist/{myValue-DzARZpdg.cjs → myValue-C0tq-asC.cjs} +1 -1
- package/dist/{myValue-DBxx1jtk.js → myValue-DYtBtOJ2.js} +2 -2
- package/dist/{myValueList-BVbeDsWn.cjs → myValueList-BJctRTNd.cjs} +1 -1
- package/dist/{myValueList-BbtPVr5y.js → myValueList-Ddpn1S68.js} +2 -2
- package/dist/objectList-Csf0hVwo.cjs +1 -0
- package/dist/objectList-G4wXFDwe.js +2040 -0
- package/dist/{objectListAPP-CYxy9UjL.js → objectListAPP-BrmUj4At.js} +49 -51
- package/dist/objectListAPP-UZN4iuTn.cjs +1 -0
- package/dist/{photo-DPOhq559.js → photo-BEPeK7U8.js} +2 -2
- package/dist/{photo-BRMACjXO.cjs → photo-BYH_qg5O.cjs} +1 -1
- package/dist/{pie-B7HO9F24.cjs → pie-B57zDxJV.cjs} +1 -1
- package/dist/{pie-CUqy6VGE.js → pie-CEVKe1lL.js} +2 -2
- package/dist/{placeholder-D-BpaT59.cjs → placeholder-BezBEQGo.cjs} +1 -1
- package/dist/{placeholder-DsyLsZM5.js → placeholder-Bwv3VyEg.js} +1 -1
- package/dist/{pressBtn-IefW25bT.js → pressBtn-1LCNz2gE.js} +33 -33
- package/dist/{pressBtn-DZz7PZ7o.cjs → pressBtn-CJZTyY8I.cjs} +1 -1
- package/dist/{processTable-Bm2HnUrZ.js → processTable-CHDazqah.js} +2 -2
- package/dist/{processTable-kVFr2ntb.cjs → processTable-HtDeg1by.cjs} +1 -1
- package/dist/{progressBar-00yP_jc2.cjs → progressBar-BP4SmPZK.cjs} +1 -1
- package/dist/{progressBar-C7RKpdcE.js → progressBar-C3NcWUrS.js} +2 -2
- package/dist/{progressCircle-BBkwMkI0.js → progressCircle-Bo9-Qva_.js} +48 -48
- package/dist/{progressCircle-CzqibMlZ.cjs → progressCircle-CDqK1iFt.cjs} +1 -1
- package/dist/{qrcode-DaHlY7Vv.js → qrcode-VmYwvClG.js} +2 -2
- package/dist/{qrcode-4NUAsx0h.cjs → qrcode-qD6tOm4F.cjs} +1 -1
- package/dist/{raceBar-WhOgwnlP.js → raceBar-DR2-luKW.js} +2 -2
- package/dist/{raceBar-BVsHg94d.cjs → raceBar-uAs91hyk.cjs} +1 -1
- package/dist/{rad-BlEn2Yx1.js → rad-1Jy1KDzt.js} +2 -2
- package/dist/{rad-sMtJPs8L.cjs → rad-D7-YZJNO.cjs} +1 -1
- package/dist/{radarMapViewer-C1_FFYFi.js → radarMapViewer-ByQXe0Mu.js} +2 -2
- package/dist/{radarMapViewer-CzhHFpRX.cjs → radarMapViewer-KPhNE5XX.cjs} +1 -1
- package/dist/{rainfallFilterBar-Bt2TbXV6.js → rainfallFilterBar-C1obotPf.js} +2 -2
- package/dist/{rainfallFilterBar-F7DU_nqK.cjs → rainfallFilterBar-CVQpQp82.cjs} +1 -1
- package/dist/{rainfallTimeCurve-C5tBf1lx.js → rainfallTimeCurve-B2rEx3T_.js} +3 -3
- package/dist/{rainfallTimeCurve-DaXSW7dI.cjs → rainfallTimeCurve-DU2tt-Ls.cjs} +1 -1
- package/dist/{rangeLin-Cr4NRYc9.cjs → rangeLin-COsJkCky.cjs} +1 -1
- package/dist/{rangeLin-Bral8Ev4.js → rangeLin-CdfUCFQr.js} +8 -8
- package/dist/{realtimeEvolutionMap-CCisvZz8.cjs → realtimeEvolutionMap-B7GT8MOq.cjs} +1 -1
- package/dist/{realtimeEvolutionMap-xJwuPatp.js → realtimeEvolutionMap-aR63xPW_.js} +2 -2
- package/dist/{regionBar-C8myvRfQ.cjs → regionBar-BYF7IaGA.cjs} +1 -1
- package/dist/{regionBar-D1iKcs2-.js → regionBar-DB-secNe.js} +2 -2
- package/dist/{request-C-rUicMg.js → request-CBsG4ipL.js} +1 -1
- package/dist/{request-Cxljxwu9.cjs → request-CvdHjG34.cjs} +1 -1
- package/dist/{retainer1-CC6TO-vq.cjs → retainer1-1CFk4InO.cjs} +1 -1
- package/dist/{retainer1-BvzeaTtU.js → retainer1-CMzTlM5Z.js} +3 -3
- package/dist/{retainer2-BeakFCgo.js → retainer2-DW4ewYX7.js} +3 -3
- package/dist/{retainer2-CmdgkB1y.cjs → retainer2-DliOH7it.cjs} +1 -1
- package/dist/{retainerRecordList-C7lDliOb.js → retainerRecordList-Bcm6leuD.js} +254 -275
- package/dist/retainerRecordList-DV7Tx39d.cjs +1 -0
- package/dist/retainerRecordListAPP-BDRwp8T3.js +1219 -0
- package/dist/retainerRecordListAPP-CJ-u0Tj2.cjs +1 -0
- package/dist/{ringTopN-BaKY-79s.js → ringTopN-Duq0pzm_.js} +2 -2
- package/dist/{ringTopN-Wfvu1-jE.cjs → ringTopN-rd2UwH9f.cjs} +1 -1
- package/dist/{riskRegionTable-ovBbwMl2.js → riskRegionTable-BE_ggcEV.js} +2 -2
- package/dist/{riskRegionTable-C7ee9wQX.cjs → riskRegionTable-CbPB8mlY.cjs} +1 -1
- package/dist/{sankey-BmWOGLSZ.cjs → sankey-BqBn6_rx.cjs} +1 -1
- package/dist/{sankey-K5BLueeX.js → sankey-CnKm9PZe.js} +2 -2
- package/dist/{scd-CMVoKjwE.js → scd-BaBLoem8.js} +456 -449
- package/dist/scd-BgJ5P7co.cjs +1 -0
- package/dist/{sideMenu-BbiMVHw1.cjs → sideMenu-BgiQL2P1.cjs} +1 -1
- package/dist/{sideMenu-L_dYXVgD.js → sideMenu-CUal1UQY.js} +2 -2
- package/dist/{slopeStability-WUcwG1vB.js → slopeStability-B9YbQLCE.js} +25 -25
- package/dist/{slopeStability-BWVxuRRV.cjs → slopeStability-Y2tDzJeh.cjs} +1 -1
- package/dist/{speedCurve-uwPuIJp0.js → speedCurve-DERBMtE1.js} +2 -2
- package/dist/{speedCurve-QTXe81e1.cjs → speedCurve-Kll2RRJ8.cjs} +1 -1
- package/dist/{stressFilterBar-DcqWlqsx.cjs → stressFilterBar-BGI4gVfE.cjs} +1 -1
- package/dist/{stressFilterBar-CnFNp7BR.js → stressFilterBar-CHRWFnpP.js} +2 -2
- package/dist/{stressTimeCurve-C-qycuZ2.cjs → stressTimeCurve-DE5KiXEt.cjs} +1 -1
- package/dist/{stressTimeCurve-C3r3LUBt.js → stressTimeCurve-hrlqSYS3.js} +3 -3
- package/dist/{swiper-wWrsPbDA.cjs → swiper-CnGllhBQ.cjs} +1 -1
- package/dist/{swiper-JShIvM0E.js → swiper-DNHC412s.js} +2 -2
- package/dist/{terminalConfigList-DVhEvcTB.js → terminalConfigList-BlHAsyCm.js} +2 -2
- package/dist/{terminalConfigList-nQqB1W5s.cjs → terminalConfigList-C45EANO4.cjs} +1 -1
- package/dist/{terminalList-BkMuHXZw.cjs → terminalList-CNI3_FGb.cjs} +1 -1
- package/dist/{terminalList-wAz6t4Ib.js → terminalList-UGjkhyf4.js} +2 -2
- package/dist/{terminalListAPP-CePxWgcL.cjs → terminalListAPP-6fPXF-yJ.cjs} +1 -1
- package/dist/{terminalListAPP-DuLN2OVq.js → terminalListAPP-CIJZMdxI.js} +2 -2
- package/dist/{textbox-DxXuhIyj.js → textbox-BD_LQ0EN.js} +2 -2
- package/dist/{textbox-BBi-Lg1Z.cjs → textbox-yNPnOaan.cjs} +1 -1
- package/dist/{timeQueryBar-BCTeL04F.cjs → timeQueryBar-3qiV0IV9.cjs} +1 -1
- package/dist/{timeQueryBar-DtngkLJX.js → timeQueryBar-B-uPtN25.js} +1 -1
- package/dist/{timeSeries-DJZnExBA.cjs → timeSeries-BTUuojvj.cjs} +1 -1
- package/dist/{timeSeries-CrdyAYs2.js → timeSeries-DdQI4oZU.js} +3 -3
- package/dist/{timeSeriesCurve-8_n0JJyf.cjs → timeSeriesCurve-Cj_FbK4x.cjs} +1 -1
- package/dist/{timeSeriesCurve-8_exdGlQ.js → timeSeriesCurve-TGXshTzl.js} +3 -3
- package/dist/{toggleBtn-DExYfMvi.js → toggleBtn-BMxqm5WG.js} +2 -2
- package/dist/{toggleBtn-B6dJ5cAt.cjs → toggleBtn-BXcQfnTB.cjs} +1 -1
- package/dist/{trajectoryConfigPanel-B2fwoe-I.cjs → trajectoryConfigPanel-CqoKO0hL.cjs} +1 -1
- package/dist/{trajectoryConfigPanel-Ce1SoMtw.js → trajectoryConfigPanel-uRLWdXUb.js} +1 -1
- package/dist/{trajectoryScatter-h32teAQ0.js → trajectoryScatter-DPE4cC8N.js} +2 -2
- package/dist/{trajectoryScatter-CVLEXMPO.cjs → trajectoryScatter-Dph8PSdN.cjs} +1 -1
- package/dist/{universalConfigPanel-CxbrIc2Z.js → universalConfigPanel-CI1CuBmr.js} +1 -1
- package/dist/{universalConfigPanel-cRzJmx3l.cjs → universalConfigPanel-Db-pC67o.cjs} +1 -1
- package/dist/{universalTable-BssAi-QH.js → universalTable-DMrgtBrw.js} +2 -2
- package/dist/{universalTable-V604pFVr.cjs → universalTable-dQObEQog.cjs} +1 -1
- package/dist/{video-BjmIbrRS.js → video-DEhLie80.js} +2 -2
- package/dist/{video-B8JeGpBc.cjs → video-DbsKQhVD.cjs} +1 -1
- package/dist/{videoMonitor-CVkFwlZq.js → videoMonitor-BS6_LYUb.js} +12 -12
- package/dist/{videoMonitor-B6FzkJlS.cjs → videoMonitor-DLBtivXO.cjs} +1 -1
- package/dist/vlu-DXk_wQf-.cjs +1 -0
- package/dist/vlu-DaSjPY3I.js +149 -0
- package/dist/{warningOverview-DDOm2wwB.js → warningOverview-CKCEs_Jj.js} +3 -3
- package/dist/{warningOverview-4M-WX3Ob.cjs → warningOverview-DAUlXzr0.cjs} +1 -1
- package/dist/{weather-BGrOQFPM.cjs → weather-BAI0IWNH.cjs} +1 -1
- package/dist/{weather-CETxcsJS.js → weather-XUj6pFwM.js} +2 -2
- package/dist/{windLin-B3YXltBn.js → windLin-Bt4q2eUT.js} +2 -2
- package/dist/{windLin-B6uEtUnB.cjs → windLin-C9dsCT1w.cjs} +1 -1
- package/package.json +1 -1
- package/dist/BaseComponent-CaCkjmmb.cjs +0 -1
- package/dist/arrayCard-BYZWRop3.cjs +0 -1
- package/dist/arrayCard-CVVWnZDk.js +0 -131
- package/dist/bar-1K14ZPKy.cjs +0 -2
- package/dist/clt-BCHpLoab.cjs +0 -1
- package/dist/clt-Ba9Ov5WY.js +0 -296
- package/dist/cmc-CdDCboSm.cjs +0 -1
- package/dist/cmc-CsVB4uz3.js +0 -277
- package/dist/controlRecordListAPP-BktJCkFK.cjs +0 -1
- package/dist/controlRecordListAPP-CSt8rFZX.js +0 -502
- package/dist/evn-B2F6pbqY.js +0 -158
- package/dist/evn-B6WNZ0pv.cjs +0 -1
- package/dist/gasStationList-CN2y3zri.cjs +0 -1
- package/dist/gasStationList-CifrfkH0.js +0 -1239
- package/dist/index-BzWbqJIl.cjs +0 -612
- package/dist/mixiotObjectListApi-BwIQvSS-.js +0 -67
- package/dist/mixiotObjectListApi-ClirV2tM.cjs +0 -1
- package/dist/objectList-Cpu0yqsK.js +0 -1740
- package/dist/objectList-D5E8PU66.cjs +0 -1
- package/dist/objectListAPP-Cr4uoJuN.cjs +0 -1
- package/dist/retainerRecordList-C9xVt3Yk.cjs +0 -1
- package/dist/retainerRecordListAPP-BRmG7UnF.cjs +0 -1
- package/dist/retainerRecordListAPP-Cjip5JHS.js +0 -1070
- package/dist/scd-CCNgUI2Q.cjs +0 -1
- package/dist/vlu-CHHDngO6.js +0 -142
- package/dist/vlu-Dv1vt9r0.cjs +0 -1
|
@@ -10,32 +10,32 @@ var Cn = (V, z, j) => z in V ? ei(V, z, { enumerable: !0, configurable: !0, writ
|
|
|
10
10
|
ii.call(z, j) && Cn(V, j, z[j]);
|
|
11
11
|
return V;
|
|
12
12
|
}, Rn = (V, z) => ti(V, ni(z));
|
|
13
|
-
var Vt = (V, z, j) => new Promise((
|
|
14
|
-
var F = (
|
|
13
|
+
var Vt = (V, z, j) => new Promise((X, Z) => {
|
|
14
|
+
var F = (te) => {
|
|
15
15
|
try {
|
|
16
|
-
R(j.next(
|
|
17
|
-
} catch (
|
|
18
|
-
|
|
16
|
+
R(j.next(te));
|
|
17
|
+
} catch (ie) {
|
|
18
|
+
Z(ie);
|
|
19
19
|
}
|
|
20
|
-
}, de = (
|
|
20
|
+
}, de = (te) => {
|
|
21
21
|
try {
|
|
22
|
-
R(j.throw(
|
|
23
|
-
} catch (
|
|
24
|
-
|
|
22
|
+
R(j.throw(te));
|
|
23
|
+
} catch (ie) {
|
|
24
|
+
Z(ie);
|
|
25
25
|
}
|
|
26
|
-
}, R = (
|
|
26
|
+
}, R = (te) => te.done ? X(te.value) : Promise.resolve(te.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 le, normalizeStyle as
|
|
30
|
-
import { B as pi } from "./BaseComponent-
|
|
31
|
-
import { k as fi, r 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 le, 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 li, renderSlot as ci, nextTick as ui } from "vue";
|
|
30
|
+
import { B as pi } from "./BaseComponent-CQaDWNO0.js";
|
|
31
|
+
import { k as fi, r as di, _ as hi } from "./index-BZpYmpDy.js";
|
|
32
32
|
import { g as vi } from "./titleStyle-BT5GlpAb.js";
|
|
33
33
|
import { e as gi, b as mi } from "./materialFileUrl-CubtnHeq.js";
|
|
34
34
|
var Qe = { exports: {} }, yi = Qe.exports, Vn;
|
|
35
35
|
function bi() {
|
|
36
36
|
return Vn || (Vn = 1, (function(V, z) {
|
|
37
|
-
(function(j,
|
|
38
|
-
V.exports =
|
|
37
|
+
(function(j, X) {
|
|
38
|
+
V.exports = X();
|
|
39
39
|
})(yi, (function() {
|
|
40
40
|
function j(t, e) {
|
|
41
41
|
var n = Object.keys(t);
|
|
@@ -47,23 +47,23 @@ function bi() {
|
|
|
47
47
|
}
|
|
48
48
|
return n;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function X(t) {
|
|
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
|
+
te(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
|
}));
|
|
58
58
|
}
|
|
59
59
|
return t;
|
|
60
60
|
}
|
|
61
|
-
function
|
|
62
|
-
return
|
|
61
|
+
function Z(t) {
|
|
62
|
+
return Z = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
63
63
|
return typeof e;
|
|
64
64
|
} : function(e) {
|
|
65
65
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
66
|
-
},
|
|
66
|
+
}, Z(t);
|
|
67
67
|
}
|
|
68
68
|
function F(t, e) {
|
|
69
69
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
@@ -71,16 +71,16 @@ function bi() {
|
|
|
71
71
|
function de(t, e) {
|
|
72
72
|
for (var n = 0; n < e.length; n++) {
|
|
73
73
|
var r = e[n];
|
|
74
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t,
|
|
74
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, Fe(r.key), r);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
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
|
|
81
|
-
return (e =
|
|
80
|
+
function te(t, e, n) {
|
|
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
|
-
function
|
|
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
|
}
|
|
@@ -122,8 +122,8 @@ function bi() {
|
|
|
122
122
|
})(this, n);
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
|
-
function
|
|
126
|
-
return
|
|
125
|
+
function Me() {
|
|
126
|
+
return Me = typeof Reflect != "undefined" && Reflect.get ? Reflect.get.bind() : function(t, e, n) {
|
|
127
127
|
var r = (function(o, a) {
|
|
128
128
|
for (; !Object.prototype.hasOwnProperty.call(o, a) && (o = ce(o)) !== null; ) ;
|
|
129
129
|
return o;
|
|
@@ -132,9 +132,9 @@ function bi() {
|
|
|
132
132
|
var i = Object.getOwnPropertyDescriptor(r, e);
|
|
133
133
|
return i.get ? i.get.call(arguments.length < 3 ? t : n) : i.value;
|
|
134
134
|
}
|
|
135
|
-
},
|
|
135
|
+
}, Me.apply(this, arguments);
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function Fe(t) {
|
|
138
138
|
var e = (function(n, r) {
|
|
139
139
|
if (typeof n != "object" || n === null) return n;
|
|
140
140
|
var i = n[Symbol.toPrimitive];
|
|
@@ -149,18 +149,18 @@ function bi() {
|
|
|
149
149
|
}
|
|
150
150
|
var ue = function(t) {
|
|
151
151
|
return !(!t || !t.Window) && t instanceof t.Window;
|
|
152
|
-
},
|
|
153
|
-
function
|
|
154
|
-
|
|
152
|
+
}, De = void 0, pe = void 0;
|
|
153
|
+
function K(t) {
|
|
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;
|
|
157
157
|
}
|
|
158
|
-
function
|
|
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 && K(window);
|
|
162
162
|
var fe = function(t) {
|
|
163
|
-
return !!t &&
|
|
163
|
+
return !!t && Z(t) === "object";
|
|
164
164
|
}, oe = function(t) {
|
|
165
165
|
return typeof t == "function";
|
|
166
166
|
}, d = { window: function(t) {
|
|
@@ -174,15 +174,15 @@ function bi() {
|
|
|
174
174
|
}, string: function(t) {
|
|
175
175
|
return typeof t == "string";
|
|
176
176
|
}, element: function(t) {
|
|
177
|
-
if (!t ||
|
|
178
|
-
var e =
|
|
179
|
-
return /object|function/.test(typeof Element == "undefined" ? "undefined" :
|
|
177
|
+
if (!t || Z(t) !== "object") return !1;
|
|
178
|
+
var e = Y(t) || pe;
|
|
179
|
+
return /object|function/.test(typeof Element == "undefined" ? "undefined" : Z(Element)) ? t instanceof Element || t instanceof e.Element : t.nodeType === 1 && typeof t.nodeName == "string";
|
|
180
180
|
}, plainObject: function(t) {
|
|
181
181
|
return fe(t) && !!t.constructor && /function Object\b/.test(t.constructor.toString());
|
|
182
182
|
}, array: function(t) {
|
|
183
183
|
return fe(t) && t.length !== void 0 && oe(t.splice);
|
|
184
184
|
} };
|
|
185
|
-
function
|
|
185
|
+
function Ve(t) {
|
|
186
186
|
var e = t.interaction;
|
|
187
187
|
if (e.prepared.name === "drag") {
|
|
188
188
|
var n = e.prepared.axis;
|
|
@@ -199,28 +199,28 @@ function bi() {
|
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
var
|
|
202
|
+
var ze = { id: "actions/drag", install: function(t) {
|
|
203
203
|
var e = t.actions, n = t.Interactable, r = t.defaults;
|
|
204
|
-
n.prototype.draggable =
|
|
205
|
-
}, listeners: { "interactions:before-action-move":
|
|
204
|
+
n.prototype.draggable = ze.draggable, e.map.drag = ze, e.methodDict.drag = "draggable", r.actions.drag = ze.defaults;
|
|
205
|
+
}, listeners: { "interactions:before-action-move": Ve, "interactions:action-resume": Ve, "interactions:action-move": et, "auto-start:check": function(t) {
|
|
206
206
|
var e = t.interaction, n = t.interactable, r = t.buttons, i = n.options.drag;
|
|
207
207
|
if (i && i.enabled && (!e.pointerIsDown || !/mouse|pointer/.test(e.pointerType) || (r & n.options.drag.mouseButtons) != 0)) return t.action = { name: "drag", axis: i.lockAxis === "start" ? i.startAxis : i.lockAxis }, !1;
|
|
208
208
|
} }, draggable: function(t) {
|
|
209
209
|
return d.object(t) ? (this.options.drag.enabled = t.enabled !== !1, this.setPerAction("drag", t), this.setOnEvents("drag", t), /^(xy|x|y|start)$/.test(t.lockAxis) && (this.options.drag.lockAxis = t.lockAxis), /^(xy|x|y)$/.test(t.startAxis) && (this.options.drag.startAxis = t.startAxis), this) : d.bool(t) ? (this.options.drag.enabled = t, this) : this.options.drag;
|
|
210
|
-
}, beforeMove:
|
|
210
|
+
}, beforeMove: Ve, move: et, defaults: { startAxis: "xy", lockAxis: "xy" }, getCursor: function() {
|
|
211
211
|
return "move";
|
|
212
212
|
}, filterEventType: function(t) {
|
|
213
213
|
return t.search("drag") === 0;
|
|
214
|
-
} }, tt =
|
|
214
|
+
} }, tt = ze, J = { init: function(t) {
|
|
215
215
|
var e = t;
|
|
216
|
-
|
|
216
|
+
J.document = e.document, J.DocumentFragment = e.DocumentFragment || be, J.SVGElement = e.SVGElement || be, J.SVGSVGElement = e.SVGSVGElement || be, J.SVGElementInstance = e.SVGElementInstance || be, J.Element = e.Element || be, J.HTMLElement = e.HTMLElement || J.Element, J.Event = e.Event, J.Touch = e.Touch || be, J.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
|
|
221
|
-
var e =
|
|
222
|
-
|
|
223
|
-
}, supportsTouch: null, supportsPointerEvent: null, isIOS7: null, isIOS: null, isIe9: null, isOperaMobile: null, prefixedMatchesSelector: null, pEventTypes: null, wheelEvent: null },
|
|
220
|
+
var U = J, Q = { init: function(t) {
|
|
221
|
+
var e = U.Element, n = t.navigator || {};
|
|
222
|
+
Q.supportsTouch = "ontouchstart" in t || d.func(t.DocumentTouch) && U.document instanceof t.DocumentTouch, Q.supportsPointerEvent = n.pointerEnabled !== !1 && !!U.PointerEvent, Q.isIOS = /iP(hone|od|ad)/.test(n.platform), Q.isIOS7 = /iP(hone|od|ad)/.test(n.platform) && /OS 7[^\d]/.test(n.appVersion), Q.isIe9 = /MSIE 9/.test(n.userAgent), Q.isOperaMobile = n.appName === "Opera" && Q.supportsTouch && /Presto/.test(n.userAgent), Q.prefixedMatchesSelector = "matches" in e.prototype ? "matches" : "webkitMatchesSelector" in e.prototype ? "webkitMatchesSelector" : "mozMatchesSelector" in e.prototype ? "mozMatchesSelector" : "oMatchesSelector" in e.prototype ? "oMatchesSelector" : "msMatchesSelector", Q.pEventTypes = Q.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, Q.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 }, ee = Q;
|
|
224
224
|
function he(t, e) {
|
|
225
225
|
if (t.contains) return t.contains(e);
|
|
226
226
|
for (; e; ) {
|
|
@@ -245,16 +245,16 @@ function bi() {
|
|
|
245
245
|
return e;
|
|
246
246
|
}
|
|
247
247
|
function y(t, e) {
|
|
248
|
-
return pe !==
|
|
248
|
+
return pe !== De && (e = e.replace(/\/deep\//g, " ")), t[ee.prefixedMatchesSelector](e);
|
|
249
249
|
}
|
|
250
|
-
var
|
|
250
|
+
var S = function(t) {
|
|
251
251
|
return t.parentNode || t.host;
|
|
252
252
|
};
|
|
253
253
|
function L(t, e) {
|
|
254
|
-
for (var n, r = [], i = t; (n =
|
|
254
|
+
for (var n, r = [], i = t; (n = S(i)) && i !== e && n !== i.ownerDocument; ) r.unshift(i), i = n;
|
|
255
255
|
return r;
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function M(t, e, n) {
|
|
258
258
|
for (; d.element(t); ) {
|
|
259
259
|
if (y(t, e)) return !0;
|
|
260
260
|
if ((t = g(t)) === n) return y(t, e);
|
|
@@ -264,63 +264,63 @@ function bi() {
|
|
|
264
264
|
function C(t) {
|
|
265
265
|
return t.correspondingUseElement || t;
|
|
266
266
|
}
|
|
267
|
-
function
|
|
268
|
-
var e = t instanceof
|
|
267
|
+
function k(t) {
|
|
268
|
+
var e = t instanceof U.SVGElement ? t.getBoundingClientRect() : t.getClientRects()[0];
|
|
269
269
|
return e && { left: e.left, right: e.right, top: e.top, bottom: e.bottom, width: e.width || e.right - e.left, height: e.height || e.bottom - e.top };
|
|
270
270
|
}
|
|
271
271
|
function B(t) {
|
|
272
|
-
var e, n =
|
|
273
|
-
if (!
|
|
274
|
-
var r = { x: (e = (e =
|
|
272
|
+
var e, n = k(t);
|
|
273
|
+
if (!ee.isIOS7 && n) {
|
|
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
|
}
|
|
277
277
|
return n;
|
|
278
278
|
}
|
|
279
|
-
function
|
|
279
|
+
function $(t) {
|
|
280
280
|
for (var e = []; t; ) e.push(t), t = g(t);
|
|
281
281
|
return e;
|
|
282
282
|
}
|
|
283
|
-
function
|
|
284
|
-
return !!d.string(t) && (
|
|
283
|
+
function W(t) {
|
|
284
|
+
return !!d.string(t) && (U.document.querySelector(t), !0);
|
|
285
285
|
}
|
|
286
|
-
function
|
|
286
|
+
function E(t, e) {
|
|
287
287
|
for (var n in e) t[n] = e[n];
|
|
288
288
|
return t;
|
|
289
289
|
}
|
|
290
290
|
function x(t, e, n) {
|
|
291
291
|
return t === "parent" ? g(n) : t === "self" ? e.getRect(n) : Te(n, t);
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function q(t, e, n, r) {
|
|
294
294
|
var i = t;
|
|
295
295
|
return d.string(i) ? i = x(i, e, n) : d.func(i) && (i = i.apply(void 0, r)), d.element(i) && (i = B(i)), i;
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function $e(t) {
|
|
298
298
|
return t && { x: "x" in t ? t.x : t.left, y: "y" in t ? t.y : t.top };
|
|
299
299
|
}
|
|
300
|
-
function
|
|
301
|
-
return !t || "x" in t && "y" in t || ((t =
|
|
300
|
+
function Ce(t) {
|
|
301
|
+
return !t || "x" in t && "y" in t || ((t = E({}, t)).x = t.left || 0, t.y = t.top || 0, t.width = t.width || (t.right || 0) - t.x, t.height = t.height || (t.bottom || 0) - t.y), t;
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function nt(t, e, n) {
|
|
304
304
|
t.left && (e.left += n.x), t.right && (e.right += n.x), t.top && (e.top += n.y), t.bottom && (e.bottom += n.y), e.width = e.right - e.left, e.height = e.bottom - e.top;
|
|
305
305
|
}
|
|
306
306
|
function Be(t, e, n) {
|
|
307
307
|
var r = n && t.options[n];
|
|
308
|
-
return
|
|
308
|
+
return $e(q(r && r.origin || t.options.origin, t, e, [t && e])) || { x: 0, y: 0 };
|
|
309
309
|
}
|
|
310
|
-
function
|
|
310
|
+
function Oe(t, e) {
|
|
311
311
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(l) {
|
|
312
312
|
return !0;
|
|
313
313
|
}, r = arguments.length > 3 ? arguments[3] : void 0;
|
|
314
314
|
if (r = r || {}, d.string(t) && t.search(" ") !== -1 && (t = Ut(t)), d.array(t)) return t.forEach((function(l) {
|
|
315
|
-
return
|
|
315
|
+
return Oe(l, 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++) {
|
|
319
319
|
var a = o[i];
|
|
320
|
-
|
|
320
|
+
Oe(t, a, n, r);
|
|
321
321
|
}
|
|
322
322
|
else if (d.object(e)) for (var s in e)
|
|
323
|
-
|
|
323
|
+
Oe(Ut(s).map((function(l) {
|
|
324
324
|
return "".concat(t).concat(l);
|
|
325
325
|
})), e[s], n, r);
|
|
326
326
|
return r;
|
|
@@ -353,13 +353,13 @@ function bi() {
|
|
|
353
353
|
t.page.x = 0, t.page.y = 0, t.client.x = 0, t.client.y = 0;
|
|
354
354
|
}
|
|
355
355
|
function Wt(t) {
|
|
356
|
-
return t instanceof
|
|
356
|
+
return t instanceof U.Event || t instanceof U.Touch;
|
|
357
357
|
}
|
|
358
358
|
function ot(t, e, n) {
|
|
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 }, ee.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 || {}, ee.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) {
|
|
@@ -396,7 +396,7 @@ function bi() {
|
|
|
396
396
|
return 180 * Math.atan2(a, o) / Math.PI;
|
|
397
397
|
}
|
|
398
398
|
function Yt(t) {
|
|
399
|
-
return d.string(t.pointerType) ? t.pointerType : d.number(t.pointerType) ? [void 0, void 0, "touch", "pen", "mouse"][t.pointerType] : /touch/.test(t.type || "") || t instanceof
|
|
399
|
+
return d.string(t.pointerType) ? t.pointerType : d.number(t.pointerType) ? [void 0, void 0, "touch", "pen", "mouse"][t.pointerType] : /touch/.test(t.type || "") || t instanceof U.Touch ? "touch" : "mouse";
|
|
400
400
|
}
|
|
401
401
|
function Gt(t) {
|
|
402
402
|
var e = d.func(t.composedPath) ? t.composedPath() : t.path;
|
|
@@ -430,8 +430,8 @@ function bi() {
|
|
|
430
430
|
return -1;
|
|
431
431
|
}, qe = function(t, e) {
|
|
432
432
|
return t[We(t, e)];
|
|
433
|
-
},
|
|
434
|
-
|
|
433
|
+
}, Ae = (function(t) {
|
|
434
|
+
ie(n, t);
|
|
435
435
|
var e = ke(n);
|
|
436
436
|
function n(r, i, o) {
|
|
437
437
|
var a;
|
|
@@ -488,30 +488,30 @@ function bi() {
|
|
|
488
488
|
a.push(v ? p : null);
|
|
489
489
|
}
|
|
490
490
|
var h = (function(m) {
|
|
491
|
-
for (var w, b, _, P = [],
|
|
492
|
-
var
|
|
493
|
-
if (
|
|
494
|
-
var
|
|
495
|
-
if (
|
|
491
|
+
for (var w, b, _, P = [], D = 0; D < m.length; D++) {
|
|
492
|
+
var T = m[D], I = m[w];
|
|
493
|
+
if (T && D !== w) if (I) {
|
|
494
|
+
var H = S(T), A = S(I);
|
|
495
|
+
if (H !== T.ownerDocument) if (A !== T.ownerDocument) if (H !== A) {
|
|
496
496
|
P = P.length ? P : L(I);
|
|
497
|
-
var
|
|
498
|
-
if (I instanceof
|
|
499
|
-
if (
|
|
500
|
-
|
|
501
|
-
} else
|
|
502
|
-
for (var ae = L(
|
|
497
|
+
var ne = void 0;
|
|
498
|
+
if (I instanceof U.HTMLElement && T instanceof U.SVGElement && !(T instanceof U.SVGSVGElement)) {
|
|
499
|
+
if (T === A) continue;
|
|
500
|
+
ne = T.ownerSVGElement;
|
|
501
|
+
} else ne = T;
|
|
502
|
+
for (var ae = L(ne, I.ownerDocument), me = 0; ae[me] && ae[me] === P[me]; ) me++;
|
|
503
503
|
var vt = [ae[me - 1], ae[me], P[me]];
|
|
504
504
|
if (vt[0]) for (var Ke = vt[0].lastChild; Ke; ) {
|
|
505
505
|
if (Ke === vt[1]) {
|
|
506
|
-
w =
|
|
506
|
+
w = D, P = ae;
|
|
507
507
|
break;
|
|
508
508
|
}
|
|
509
509
|
if (Ke === vt[2]) break;
|
|
510
510
|
Ke = Ke.previousSibling;
|
|
511
511
|
}
|
|
512
|
-
} else _ = I, (parseInt(
|
|
513
|
-
else w =
|
|
514
|
-
} else w =
|
|
512
|
+
} else _ = I, (parseInt(Y(b = T).getComputedStyle(b).zIndex, 10) || 0) >= (parseInt(Y(_).getComputedStyle(_).zIndex, 10) || 0) && (w = D);
|
|
513
|
+
else w = D;
|
|
514
|
+
} else w = D;
|
|
515
515
|
}
|
|
516
516
|
return w;
|
|
517
517
|
})(a);
|
|
@@ -519,7 +519,7 @@ function bi() {
|
|
|
519
519
|
}
|
|
520
520
|
function St(t, e, n) {
|
|
521
521
|
var r = t.dropState, i = { enter: null, leave: null, activate: null, deactivate: null, move: null, drop: null };
|
|
522
|
-
return n.type === "dragstart" && (i.activate = new
|
|
522
|
+
return n.type === "dragstart" && (i.activate = new Ae(r, n, "dropactivate"), i.activate.target = null, i.activate.dropzone = null), n.type === "dragend" && (i.deactivate = new Ae(r, n, "dropdeactivate"), i.deactivate.target = null, i.deactivate.dropzone = null), r.rejected || (r.cur.element !== r.prev.element && (r.prev.dropzone && (i.leave = new Ae(r, n, "dragleave"), n.dragLeave = i.leave.target = r.prev.element, n.prevDropzone = i.leave.dropzone = r.prev.dropzone), r.cur.dropzone && (i.enter = new Ae(r, n, "dragenter"), n.dragEnter = r.cur.element, n.dropzone = r.cur.dropzone)), n.type === "dragend" && r.cur.dropzone && (i.drop = new Ae(r, n, "drop"), n.dropzone = r.cur.dropzone, n.relatedTarget = r.cur.element), n.type === "dragmove" && r.cur.dropzone && (i.move = new Ae(r, n, "dropmove"), n.dropzone = r.cur.dropzone)), i;
|
|
523
523
|
}
|
|
524
524
|
function Et(t, e) {
|
|
525
525
|
var n = t.dropState, r = n.activeDrops, i = n.cur, o = n.prev;
|
|
@@ -540,7 +540,7 @@ 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 l =
|
|
543
|
+
var l = Oe(s.listeners), u = Object.keys(l).reduce((function(p, f) {
|
|
544
544
|
return p[/^(enter|leave)/.test(f) ? "drag".concat(f) : /^(activate|deactivate|move)/.test(f) ? "drop".concat(f) : f] = l[f], p;
|
|
545
545
|
}), {}), c = a.options.drop.listeners;
|
|
546
546
|
c && a.off(c), a.on(u), a.options.drop.listeners = u;
|
|
@@ -555,21 +555,21 @@ function bi() {
|
|
|
555
555
|
if (!(b = b || p.getRect(w))) return !!p.options.drop.checker && p.options.drop.checker(f, v, _, p, w, h, m);
|
|
556
556
|
var P = p.options.drop.overlap;
|
|
557
557
|
if (P === "pointer") {
|
|
558
|
-
var
|
|
559
|
-
|
|
560
|
-
var I =
|
|
561
|
-
_ = I &&
|
|
558
|
+
var D = Be(h, m, "drag"), T = qt(f);
|
|
559
|
+
T.x += D.x, T.y += D.y;
|
|
560
|
+
var I = T.x > b.left && T.x < b.right, H = T.y > b.top && T.y < b.bottom;
|
|
561
|
+
_ = I && H;
|
|
562
562
|
}
|
|
563
563
|
var A = h.getRect(m);
|
|
564
564
|
if (A && P === "center") {
|
|
565
|
-
var
|
|
566
|
-
_ =
|
|
565
|
+
var ne = A.left + A.width / 2, ae = A.top + A.height / 2;
|
|
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
569
|
})(this, o, a, s, l, u, c);
|
|
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;
|
|
573
573
|
}, listeners: { "interactions:before-action-start": function(t) {
|
|
574
574
|
var e = t.interaction;
|
|
575
575
|
e.prepared.name === "drag" && (e.dropState = { cur: { dropzone: null, element: null }, prev: { dropzone: null, element: null }, rejected: null, events: null, activeDrops: [] });
|
|
@@ -645,7 +645,7 @@ function bi() {
|
|
|
645
645
|
if (t === "right") return n.x > (s >= 0 ? o.right : o.left) - a;
|
|
646
646
|
if (t === "bottom") return n.y > (l >= 0 ? o.bottom : o.top) - a;
|
|
647
647
|
}
|
|
648
|
-
return !!d.element(r) && (d.element(e) ? e === r :
|
|
648
|
+
return !!d.element(r) && (d.element(e) ? e === r : M(r, e, i));
|
|
649
649
|
}
|
|
650
650
|
function tn(t) {
|
|
651
651
|
var e = t.iEvent, n = t.interaction;
|
|
@@ -654,7 +654,7 @@ function bi() {
|
|
|
654
654
|
n.interactable.options.resize.square ? (n.resizeAxes === "y" ? r.delta.x = r.delta.y : r.delta.y = r.delta.x, r.axes = "xy") : (r.axes = n.resizeAxes, n.resizeAxes === "x" ? r.delta.y = 0 : n.resizeAxes === "y" && (r.delta.x = 0));
|
|
655
655
|
}
|
|
656
656
|
}
|
|
657
|
-
var ve,
|
|
657
|
+
var ve, Pe, ge = { id: "actions/resize", before: ["actions/drag"], install: function(t) {
|
|
658
658
|
var e = t.actions, n = t.browser, r = t.Interactable, i = t.defaults;
|
|
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" };
|
|
@@ -670,7 +670,7 @@ function bi() {
|
|
|
670
670
|
var n = e.iEvent, r = e.interaction;
|
|
671
671
|
if (r.prepared.name === "resize" && r.prepared.edges) {
|
|
672
672
|
var i = n, o = r.rect;
|
|
673
|
-
r._rects = { start:
|
|
673
|
+
r._rects = { start: E({}, o), corrected: E({}, o), previous: E({}, o), delta: { left: 0, right: 0, width: 0, top: 0, bottom: 0, height: 0 } }, i.edges = r.prepared.edges, i.rect = r._rects.corrected, i.deltaRect = r._rects.delta;
|
|
674
674
|
}
|
|
675
675
|
})(t), tn(t);
|
|
676
676
|
}, "interactions:action-move": function(t) {
|
|
@@ -678,8 +678,8 @@ function bi() {
|
|
|
678
678
|
var n = e.iEvent, r = e.interaction;
|
|
679
679
|
if (r.prepared.name === "resize" && r.prepared.edges) {
|
|
680
680
|
var i = n, o = r.interactable.options.resize.invert, a = o === "reposition" || o === "negate", s = r.rect, l = r._rects, u = l.start, c = l.corrected, p = l.delta, f = l.previous;
|
|
681
|
-
if (
|
|
682
|
-
if (
|
|
681
|
+
if (E(f, c), a) {
|
|
682
|
+
if (E(c, s), o === "reposition") {
|
|
683
683
|
if (c.top > c.bottom) {
|
|
684
684
|
var v = c.top;
|
|
685
685
|
c.top = c.bottom, c.bottom = v;
|
|
@@ -703,7 +703,7 @@ function bi() {
|
|
|
703
703
|
}, "auto-start:check": function(t) {
|
|
704
704
|
var e = t.interaction, n = t.interactable, r = t.element, i = t.rect, o = t.buttons;
|
|
705
705
|
if (i) {
|
|
706
|
-
var a =
|
|
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
709
|
var l = { left: !1, right: !1, top: !1, bottom: !1 };
|
|
@@ -734,70 +734,70 @@ function bi() {
|
|
|
734
734
|
} }, nn = 0, xe = { request: function(t) {
|
|
735
735
|
return ve(t);
|
|
736
736
|
}, cancel: function(t) {
|
|
737
|
-
return
|
|
737
|
+
return Pe(t);
|
|
738
738
|
}, init: function(t) {
|
|
739
|
-
if (ve = t.requestAnimationFrame,
|
|
739
|
+
if (ve = t.requestAnimationFrame, Pe = t.cancelAnimationFrame, !ve) for (var e = ["ms", "moz", "webkit", "o"], n = 0; n < e.length; n++) {
|
|
740
740
|
var r = e[n];
|
|
741
|
-
ve = t["".concat(r, "RequestAnimationFrame")],
|
|
741
|
+
ve = t["".concat(r, "RequestAnimationFrame")], Pe = t["".concat(r, "CancelAnimationFrame")] || t["".concat(r, "CancelRequestAnimationFrame")];
|
|
742
742
|
}
|
|
743
|
-
ve = ve && ve.bind(t),
|
|
743
|
+
ve = ve && ve.bind(t), Pe = Pe && Pe.bind(t), ve || (ve = function(i) {
|
|
744
744
|
var o = Date.now(), a = Math.max(0, 16 - (o - nn)), s = t.setTimeout((function() {
|
|
745
745
|
i(o + a);
|
|
746
746
|
}), a);
|
|
747
747
|
return nn = o + a, s;
|
|
748
|
-
},
|
|
748
|
+
}, Pe = function(i) {
|
|
749
749
|
return clearTimeout(i);
|
|
750
750
|
});
|
|
751
|
-
} },
|
|
752
|
-
|
|
751
|
+
} }, O = { defaults: { enabled: !1, margin: 60, container: null, speed: 300 }, now: Date.now, interaction: null, i: 0, x: 0, y: 0, isScrolling: !1, prevTime: 0, margin: 0, speed: 0, start: function(t) {
|
|
752
|
+
O.isScrolling = !0, xe.cancel(O.i), t.autoScroll = O, O.interaction = t, O.prevTime = O.now(), O.i = xe.request(O.scroll);
|
|
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 =
|
|
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, l = i.speed * s;
|
|
757
757
|
if (l >= 1) {
|
|
758
|
-
var u = { x:
|
|
758
|
+
var u = { x: O.x * l, y: O.y * l };
|
|
759
759
|
if (u.x || u.y) {
|
|
760
760
|
var c = on(o);
|
|
761
761
|
d.window(o) ? o.scrollBy(u.x, u.y) : o && (o.scrollLeft += u.x, o.scrollTop += u.y);
|
|
762
762
|
var p = on(o), f = { x: p.x - c.x, y: p.y - c.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;
|
|
766
766
|
}
|
|
767
|
-
|
|
767
|
+
O.isScrolling && (xe.cancel(O.i), O.i = xe.request(O.scroll));
|
|
768
768
|
}, check: function(t, e) {
|
|
769
769
|
var n;
|
|
770
770
|
return (n = t.options[e].autoScroll) == null ? void 0 : n.enabled;
|
|
771
771
|
}, onInteractionMove: function(t) {
|
|
772
772
|
var e = t.interaction, n = t.pointer;
|
|
773
|
-
if (e.interacting() &&
|
|
773
|
+
if (e.interacting() && O.check(e.interactable, e.prepared.name)) if (e.simulation) O.x = O.y = 0;
|
|
774
774
|
else {
|
|
775
775
|
var r, i, o, a, s = e.interactable, l = e.element, u = e.prepared.name, c = s.options[u].autoScroll, p = rn(c.container, s, l);
|
|
776
|
-
if (d.window(p)) a = n.clientX <
|
|
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
|
-
var f =
|
|
779
|
-
a = n.clientX < f.left +
|
|
778
|
+
var f = k(p);
|
|
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
|
-
|
|
781
|
+
O.x = i ? 1 : a ? -1 : 0, O.y = o ? 1 : r ? -1 : 0, O.isScrolling || (O.margin = c.margin, O.speed = c.speed, O.start(e));
|
|
782
782
|
}
|
|
783
783
|
} };
|
|
784
784
|
function rn(t, e, n) {
|
|
785
|
-
return (d.string(t) ? x(t, e, n) : t) ||
|
|
785
|
+
return (d.string(t) ? x(t, e, n) : t) || Y(n);
|
|
786
786
|
}
|
|
787
787
|
function on(t) {
|
|
788
788
|
return d.window(t) && (t = window.document.body), { x: t.scrollLeft, y: t.scrollTop };
|
|
789
789
|
}
|
|
790
790
|
var Gn = { id: "auto-scroll", install: function(t) {
|
|
791
791
|
var e = t.defaults, n = t.actions;
|
|
792
|
-
t.autoScroll =
|
|
792
|
+
t.autoScroll = O, O.now = function() {
|
|
793
793
|
return t.now();
|
|
794
|
-
}, n.phaselessTypes.autoscroll = !0, e.perAction.autoScroll =
|
|
794
|
+
}, n.phaselessTypes.autoscroll = !0, e.perAction.autoScroll = O.defaults;
|
|
795
795
|
}, listeners: { "interactions:new": function(t) {
|
|
796
796
|
t.interaction.autoScroll = null;
|
|
797
797
|
}, "interactions:destroy": function(t) {
|
|
798
|
-
t.interaction.autoScroll = null,
|
|
799
|
-
}, "interactions:stop":
|
|
800
|
-
return
|
|
798
|
+
t.interaction.autoScroll = null, O.stop(), O.interaction && (O.interaction = null);
|
|
799
|
+
}, "interactions:stop": O.stop, "interactions:action-move": function(t) {
|
|
800
|
+
return O.onInteractionMove(t);
|
|
801
801
|
} } }, Hn = Gn;
|
|
802
802
|
function Xe(t, e) {
|
|
803
803
|
var n = !1;
|
|
@@ -888,7 +888,7 @@ function bi() {
|
|
|
888
888
|
}
|
|
889
889
|
var er = { id: "auto-start/base", before: ["actions"], install: function(t) {
|
|
890
890
|
var e = t.interactStatic, n = t.defaults;
|
|
891
|
-
t.usePlugin(Jn), n.base.actionChecker = null, n.base.styleCursor = !0,
|
|
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
892
|
return cn(r, t);
|
|
893
893
|
}, t.autoStart = { maxInteractions: 1 / 0, withinInteractionLimit: st, cursorElement: null };
|
|
894
894
|
}, listeners: { "interactions:down": function(t, e) {
|
|
@@ -976,7 +976,7 @@ 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 =
|
|
979
|
+
var s = Y(o.target).document, l = i.getDocOptions(s);
|
|
980
980
|
if (!l || !l.events || l.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();
|
|
@@ -996,11 +996,11 @@ function bi() {
|
|
|
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;
|
|
998
998
|
}
|
|
999
|
-
function
|
|
999
|
+
function Re(t) {
|
|
1000
1000
|
var e = {};
|
|
1001
1001
|
for (var n in t) {
|
|
1002
1002
|
var r = t[n];
|
|
1003
|
-
d.plainObject(r) ? e[n] =
|
|
1003
|
+
d.plainObject(r) ? e[n] = Re(r) : d.array(r) ? e[n] = Zt(r) : e[n] = r;
|
|
1004
1004
|
}
|
|
1005
1005
|
return e;
|
|
1006
1006
|
}
|
|
@@ -1018,7 +1018,7 @@ function bi() {
|
|
|
1018
1018
|
return !!f;
|
|
1019
1019
|
}));
|
|
1020
1020
|
})(a);
|
|
1021
|
-
this.prepareStates(s), this.startEdges =
|
|
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
1022
|
var l = this.fillArg({ phase: o, pageCoords: n, preEnd: !1 });
|
|
1023
1023
|
return this.result = ct(), this.startAll(l), this.result = this.setAll(l);
|
|
1024
1024
|
} }, { key: "fillArg", value: function(e) {
|
|
@@ -1031,12 +1031,12 @@ function bi() {
|
|
|
1031
1031
|
}
|
|
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
|
-
e.coords =
|
|
1034
|
+
e.coords = E({}, e.pageCoords), e.rect = E({}, o), e.edges = E({}, a);
|
|
1035
1035
|
for (var s = i ? this.states.slice(i) : this.states, l = ct(e.coords, e.rect), u = 0; u < s.length; u++) {
|
|
1036
|
-
var c, p = s[u], f = p.options, v =
|
|
1037
|
-
(c = p.methods) != null && c.set && this.shouldDo(f, r, n) && (e.state = p, h = p.methods.set(e),
|
|
1036
|
+
var c, p = s[u], f = p.options, v = E({}, e.coords), h = null;
|
|
1037
|
+
(c = p.methods) != null && c.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 })), l.eventProps.push(h);
|
|
1038
1038
|
}
|
|
1039
|
-
|
|
1039
|
+
E(this.edges, e.edges), l.delta.x = e.coords.x - e.pageCoords.x, l.delta.y = e.coords.y - e.pageCoords.y, l.rectDelta.left = e.rect.left - o.left, l.rectDelta.right = e.rect.right - o.right, l.rectDelta.top = e.rect.top - o.top, l.rectDelta.bottom = e.rect.bottom - o.bottom;
|
|
1040
1040
|
var m = this.result.coords, w = this.result.rect;
|
|
1041
1041
|
if (m && w) {
|
|
1042
1042
|
var b = l.rect.left !== w.left || l.rect.right !== w.right || l.rect.top !== w.top || l.rect.bottom !== w.bottom;
|
|
@@ -1045,7 +1045,7 @@ function bi() {
|
|
|
1045
1045
|
return l;
|
|
1046
1046
|
} }, { key: "applyToInteraction", value: function(e) {
|
|
1047
1047
|
var n = this.interaction, r = e.phase, i = n.coords.cur, o = n.coords.start, a = this.result, s = this.startDelta, l = a.delta;
|
|
1048
|
-
r === "start" &&
|
|
1048
|
+
r === "start" && E(this.startDelta, a.delta);
|
|
1049
1049
|
for (var u = 0, c = [[o, s], [i, l]]; u < c.length; u++) {
|
|
1050
1050
|
var p = c[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;
|
|
@@ -1075,7 +1075,7 @@ function bi() {
|
|
|
1075
1075
|
} }, { key: "stop", value: function(e) {
|
|
1076
1076
|
var n = e.interaction;
|
|
1077
1077
|
if (this.states && this.states.length) {
|
|
1078
|
-
var r =
|
|
1078
|
+
var r = E({ states: this.states, interactable: n.interactable, element: n.element, rect: null }, e);
|
|
1079
1079
|
this.fillArg(r);
|
|
1080
1080
|
for (var i = 0, o = this.states; i < o.length; i++) {
|
|
1081
1081
|
var a = o[i];
|
|
@@ -1103,8 +1103,8 @@ function bi() {
|
|
|
1103
1103
|
return !(!e || e.enabled === !1 || i && !e.endOnly || e.endOnly && !n || r === "start" && !e.setStart);
|
|
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
|
-
return
|
|
1107
|
-
})), this.result = ct(
|
|
1106
|
+
return Re(n);
|
|
1107
|
+
})), this.result = ct(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;
|
|
@@ -1150,13 +1150,13 @@ function bi() {
|
|
|
1150
1150
|
}, "interactions:stop": function(t) {
|
|
1151
1151
|
return t.interaction.modification.stop(t);
|
|
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
1155
|
function n(r, i, o, a, s, l, u) {
|
|
1156
1156
|
var c;
|
|
1157
1157
|
F(this, n), (c = e.call(this, r)).relatedTarget = null, c.screenX = void 0, c.screenY = void 0, c.button = void 0, c.buttons = void 0, c.ctrlKey = void 0, c.shiftKey = void 0, c.altKey = void 0, c.metaKey = void 0, c.page = void 0, c.client = void 0, c.delta = void 0, c.rect = void 0, c.x0 = void 0, c.y0 = void 0, c.t0 = void 0, c.dt = void 0, c.duration = void 0, c.clientX0 = void 0, c.clientY0 = void 0, c.velocity = void 0, c.speed = void 0, c.swipe = void 0, c.axes = void 0, c.preEnd = void 0, s = s || r.element;
|
|
1158
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(c) : r.prevEvent, b = h ? r.coords.start : m ? { page: w.page, client: w.client, timeStamp: r.coords.cur.timeStamp } : r.coords.cur;
|
|
1159
|
-
return c.page =
|
|
1159
|
+
return c.page = E({}, b.page), c.client = E({}, b.client), c.rect = E({}, r.rect), c.timeStamp = b.timeStamp, m || (c.page.x -= v.x, c.page.y -= v.y, c.client.x -= v.x, c.client.y -= v.y), c.ctrlKey = i.ctrlKey, c.altKey = i.altKey, c.shiftKey = i.shiftKey, c.metaKey = i.metaKey, c.button = i.button, c.buttons = i.buttons, c.target = s, c.currentTarget = s, c.preEnd = l, c.type = u || o + (a || ""), c.interactable = p, c.t0 = h ? r.pointers[r.pointers.length - 1].downTime : w.t0, c.x0 = r.coords.start.page.x - v.x, c.y0 = r.coords.start.page.y - v.y, c.clientX0 = r.coords.start.client.x - v.x, c.clientY0 = r.coords.start.client.y - v.y, c.delta = h || m ? { x: 0, y: 0 } : { x: c[f].x - w[f].x, y: c[f].y - w[f].y }, c.dt = r.coords.delta.timeStamp, c.duration = c.timeStamp - c.t0, c.velocity = E({}, r.coords.velocity[f]), c.speed = Ue(c.velocity.x, c.velocity.y), c.swipe = m || a === "inertiastart" ? c.getSwipe() : null, c;
|
|
1160
1160
|
}
|
|
1161
1161
|
return R(n, [{ key: "getSwipe", value: function() {
|
|
1162
1162
|
var r = this._interaction;
|
|
@@ -1239,7 +1239,7 @@ function bi() {
|
|
|
1239
1239
|
var i = this.updatePointer(e, n, r, !0), o = this.pointers[i];
|
|
1240
1240
|
this._scopeFire("interactions:down", { pointer: e, event: n, eventTarget: r, pointerIndex: i, pointerInfo: o, type: "down", interaction: this });
|
|
1241
1241
|
} }, { key: "start", value: function(e, n, r) {
|
|
1242
|
-
return !(this.interacting() || !this.pointerIsDown || this.pointers.length < (e.name === "gesture" ? 2 : 1) || !n.options[e.name].enabled) && (kt(this.prepared, e), this.interactable = n, this.element = r, this.rect = n.getRect(r), this.edges = this.prepared.edges ?
|
|
1242
|
+
return !(this.interacting() || !this.pointerIsDown || this.pointers.length < (e.name === "gesture" ? 2 : 1) || !n.options[e.name].enabled) && (kt(this.prepared, e), this.interactable = n, this.element = r, this.rect = n.getRect(r), this.edges = this.prepared.edges ? E({}, this.prepared.edges) : { left: !0, right: !0, top: !0, bottom: !0 }, this._stopped = !1, this._interacting = this._doPhase({ interaction: this, event: this.downEvent, phase: "start" }) && !this._stopped, this._interacting);
|
|
1243
1243
|
} }, { key: "pointerMove", value: function(e, n, r) {
|
|
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;
|
|
@@ -1247,7 +1247,7 @@ function bi() {
|
|
|
1247
1247
|
var s, l, u, c = this.getPointerIndex(e), p = { pointer: e, pointerIndex: c, pointerInfo: this.pointers[c], event: n, type: "move", eventTarget: r, dx: i, dy: o, duplicate: a, interaction: this };
|
|
1248
1248
|
a || (s = this.coords.velocity, l = this.coords.delta, u = Math.max(l.timeStamp / 1e3, 1e-3), s.page.x = l.page.x / u, s.page.y = l.page.y / u, s.client.x = l.client.x / u, s.client.y = l.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
|
-
e && e.event || Nt(this.coords.delta), (e =
|
|
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) {
|
|
1252
1252
|
var o = this.getPointerIndex(e);
|
|
1253
1253
|
o === -1 && (o = this.updatePointer(e, n, r, !1));
|
|
@@ -1293,7 +1293,7 @@ function bi() {
|
|
|
1293
1293
|
(n = this.interactable) == null || n.fire(e), (!this.prevEvent || e.timeStamp >= this.prevEvent.timeStamp) && (this.prevEvent = e);
|
|
1294
1294
|
} }, { key: "_doPhase", value: function(e) {
|
|
1295
1295
|
var n = e.event, r = e.phase, i = e.preEnd, o = e.type, a = this.rect;
|
|
1296
|
-
if (a && r === "move" && (
|
|
1296
|
+
if (a && r === "move" && (nt(this.edges, a, this.coords.delta[this.interactable.options.deltaSource]), a.width = a.right - a.left, a.height = a.bottom - a.top), this._scopeFire("interactions:before-action-".concat(r), e) === !1) return !1;
|
|
1297
1297
|
var s = e.iEvent = this._createPreparedEvent(n, r, i, o);
|
|
1298
1298
|
return this._scopeFire("interactions:action-".concat(r), e), r === "start" && (this.prevEvent = s), this._fireEvent(s), this._scopeFire("interactions:after-action-".concat(r), e), !0;
|
|
1299
1299
|
} }, { key: "_now", value: function() {
|
|
@@ -1308,7 +1308,7 @@ function bi() {
|
|
|
1308
1308
|
return !(!n.offset.pending.x && !n.offset.pending.y);
|
|
1309
1309
|
})(t)) return !1;
|
|
1310
1310
|
var e = t.offset.pending;
|
|
1311
|
-
return Dt(t.coords.cur, e), Dt(t.coords.delta, e),
|
|
1311
|
+
return Dt(t.coords.cur, e), Dt(t.coords.delta, e), nt(t.edges, t.rect, e), e.x = 0, e.y = 0, !0;
|
|
1312
1312
|
}
|
|
1313
1313
|
function fr(t) {
|
|
1314
1314
|
var e = t.x, n = t.y;
|
|
@@ -1443,16 +1443,16 @@ function bi() {
|
|
|
1443
1443
|
}
|
|
1444
1444
|
var wn = (function() {
|
|
1445
1445
|
function t(e) {
|
|
1446
|
-
F(this, t), this.options = void 0, this.types = {}, this.propagationStopped = !1, this.immediatePropagationStopped = !1, this.global = void 0, this.options =
|
|
1446
|
+
F(this, t), this.options = void 0, this.types = {}, this.propagationStopped = !1, this.immediatePropagationStopped = !1, this.global = void 0, this.options = E({}, e || {});
|
|
1447
1447
|
}
|
|
1448
1448
|
return R(t, [{ key: "fire", value: function(e) {
|
|
1449
1449
|
var n, r = this.global;
|
|
1450
1450
|
(n = this.types[e.type]) && xn(e, n), !e.propagationStopped && r && (n = r[e.type]) && xn(e, n);
|
|
1451
1451
|
} }, { key: "on", value: function(e, n) {
|
|
1452
|
-
var r =
|
|
1452
|
+
var r = Oe(e, n);
|
|
1453
1453
|
for (e in r) this.types[e] = Ht(this.types[e] || [], r[e]);
|
|
1454
1454
|
} }, { key: "off", value: function(e, n) {
|
|
1455
|
-
var r =
|
|
1455
|
+
var r = Oe(e, n);
|
|
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++) {
|
|
@@ -1491,8 +1491,8 @@ function bi() {
|
|
|
1491
1491
|
a(b, f, l), a(b, f, u, !0);
|
|
1492
1492
|
}
|
|
1493
1493
|
}
|
|
1494
|
-
var _ = r[f], P = qe(_, (function(
|
|
1495
|
-
return
|
|
1494
|
+
var _ = r[f], P = qe(_, (function(D) {
|
|
1495
|
+
return D.selector === c && D.context === p;
|
|
1496
1496
|
}));
|
|
1497
1497
|
P || (P = { selector: c, context: p, listeners: [] }, _.push(P)), P.listeners.push({ func: v, options: m });
|
|
1498
1498
|
}, removeDelegate: function(c, p, f, v, h) {
|
|
@@ -1501,10 +1501,10 @@ function bi() {
|
|
|
1501
1501
|
for (m = b.length - 1; m >= 0; m--) {
|
|
1502
1502
|
var P = b[m];
|
|
1503
1503
|
if (P.selector === c && P.context === p) {
|
|
1504
|
-
for (var
|
|
1505
|
-
var I =
|
|
1504
|
+
for (var D = P.listeners, T = D.length - 1; T >= 0; T--) {
|
|
1505
|
+
var I = D[T];
|
|
1506
1506
|
if (I.func === v && pt(I.options, w)) {
|
|
1507
|
-
|
|
1507
|
+
D.splice(T, 1), D.length || (b.splice(m, 1), s(p, f, l), s(p, f, u, !0)), _ = !0;
|
|
1508
1508
|
break;
|
|
1509
1509
|
}
|
|
1510
1510
|
}
|
|
@@ -1524,8 +1524,8 @@ function bi() {
|
|
|
1524
1524
|
}
|
|
1525
1525
|
function s(c, p, f, v) {
|
|
1526
1526
|
if (c.addEventListener && c.removeEventListener) {
|
|
1527
|
-
var h = We(n, (function(
|
|
1528
|
-
return
|
|
1527
|
+
var h = We(n, (function(H) {
|
|
1528
|
+
return H.eventTarget === c;
|
|
1529
1529
|
})), m = n[h];
|
|
1530
1530
|
if (m && m.events) if (p !== "all") {
|
|
1531
1531
|
var w = !1, b = m.events[p];
|
|
@@ -1537,10 +1537,10 @@ function bi() {
|
|
|
1537
1537
|
}
|
|
1538
1538
|
return;
|
|
1539
1539
|
}
|
|
1540
|
-
for (var
|
|
1541
|
-
var I = b[
|
|
1542
|
-
if (I.func === f && pt(I.options,
|
|
1543
|
-
c.removeEventListener(p, f, o.supportsOptions ?
|
|
1540
|
+
for (var D = Ge(v), T = 0; T < b.length; T++) {
|
|
1541
|
+
var I = b[T];
|
|
1542
|
+
if (I.func === f && pt(I.options, D)) {
|
|
1543
|
+
c.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
|
}
|
|
@@ -1552,13 +1552,13 @@ function bi() {
|
|
|
1552
1552
|
function l(c, p) {
|
|
1553
1553
|
for (var f = Ge(p), v = new mr(c), h = r[c.type], m = Gt(c)[0], w = m; d.element(w); ) {
|
|
1554
1554
|
for (var b = 0; b < h.length; b++) {
|
|
1555
|
-
var _ = h[b], P = _.selector,
|
|
1556
|
-
if (y(w, P) && he(
|
|
1557
|
-
var
|
|
1555
|
+
var _ = h[b], P = _.selector, D = _.context;
|
|
1556
|
+
if (y(w, P) && he(D, m) && he(D, w)) {
|
|
1557
|
+
var T = _.listeners;
|
|
1558
1558
|
v.currentTarget = w;
|
|
1559
|
-
for (var I = 0; I <
|
|
1560
|
-
var
|
|
1561
|
-
pt(
|
|
1559
|
+
for (var I = 0; I < T.length; I++) {
|
|
1560
|
+
var H = T[I];
|
|
1561
|
+
pt(H.options, f) && H.func(v);
|
|
1562
1562
|
}
|
|
1563
1563
|
}
|
|
1564
1564
|
}
|
|
@@ -1641,7 +1641,7 @@ function bi() {
|
|
|
1641
1641
|
}
|
|
1642
1642
|
} else {
|
|
1643
1643
|
var h = !1;
|
|
1644
|
-
if (!
|
|
1644
|
+
if (!ee.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
|
}
|
|
@@ -1651,8 +1651,8 @@ function bi() {
|
|
|
1651
1651
|
}
|
|
1652
1652
|
}
|
|
1653
1653
|
for (var _ = 0; _ < l.length; _++) {
|
|
1654
|
-
var P = l[_],
|
|
1655
|
-
P[3][t](
|
|
1654
|
+
var P = l[_], D = P[0], T = P[1], I = P[2];
|
|
1655
|
+
P[3][t](D, n, T, I);
|
|
1656
1656
|
}
|
|
1657
1657
|
};
|
|
1658
1658
|
}
|
|
@@ -1673,7 +1673,7 @@ 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 = ee.pEventTypes;
|
|
1677
1677
|
function a() {
|
|
1678
1678
|
for (var s = 0, l = t.interactions.list; s < l.length; s++) {
|
|
1679
1679
|
var u = l[s];
|
|
@@ -1685,11 +1685,11 @@ function bi() {
|
|
|
1685
1685
|
}, p = 0, f = u.pointers; p < f.length; p++) c();
|
|
1686
1686
|
}
|
|
1687
1687
|
}
|
|
1688
|
-
(i =
|
|
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
1689
|
for (var l = 0, u = t.interactions.list; l < u.length; l++)
|
|
1690
1690
|
u[l].documentBlur(s);
|
|
1691
1691
|
} }), t.prevTouchTime = 0, t.Interaction = (function(s) {
|
|
1692
|
-
|
|
1692
|
+
ie(u, s);
|
|
1693
1693
|
var l = ke(u);
|
|
1694
1694
|
function u() {
|
|
1695
1695
|
return F(this, u), l.apply(this, arguments);
|
|
@@ -1721,7 +1721,7 @@ function bi() {
|
|
|
1721
1721
|
return t[t.On = 0] = "On", t[t.Off = 1] = "Off", t;
|
|
1722
1722
|
})(Se || {}), Sr = (function() {
|
|
1723
1723
|
function t(e, n, r, i) {
|
|
1724
|
-
F(this, t), this.target = void 0, this.options = void 0, this._actions = void 0, this.events = new wn(), this._context = void 0, this._win = void 0, this._doc = void 0, this._scopeEvents = void 0, this._actions = n.actions, this.target = e, this._context = n.context || r, this._win =
|
|
1724
|
+
F(this, t), this.target = void 0, this.options = void 0, this._actions = void 0, this.events = new wn(), this._context = void 0, this._win = void 0, this._doc = void 0, this._scopeEvents = void 0, this._actions = n.actions, this.target = e, this._context = n.context || r, this._win = Y(W(e) ? this._context : e), this._doc = this._win.document, this._scopeEvents = i, this.set(n);
|
|
1725
1725
|
}
|
|
1726
1726
|
return R(t, [{ key: "_defaults", get: function() {
|
|
1727
1727
|
return { base: {}, perAction: {}, actions: {} };
|
|
@@ -1736,18 +1736,18 @@ function bi() {
|
|
|
1736
1736
|
var r = this._defaults;
|
|
1737
1737
|
for (var i in n) {
|
|
1738
1738
|
var o = i, a = this.options[e], s = n[o];
|
|
1739
|
-
o === "listeners" && this.updatePerActionListeners(e, a.listeners, s), d.array(s) ? a[o] = Zt(s) : d.plainObject(s) ? (a[o] =
|
|
1739
|
+
o === "listeners" && this.updatePerActionListeners(e, a.listeners, s), d.array(s) ? a[o] = Zt(s) : d.plainObject(s) ? (a[o] = E(a[o] || {}, Re(s)), d.object(r.perAction[o]) && "enabled" in r.perAction[o] && (a[o].enabled = s.enabled !== !1)) : d.bool(s) && d.object(r.perAction[o]) ? a[o].enabled = s : a[o] = s;
|
|
1740
1740
|
}
|
|
1741
1741
|
} }, { key: "getRect", value: function(e) {
|
|
1742
1742
|
return e = e || (d.element(this.target) ? this.target : null), d.string(this.target) && (e = e || this._context.querySelector(this.target)), B(e);
|
|
1743
1743
|
} }, { key: "rectChecker", value: function(e) {
|
|
1744
1744
|
var n = this;
|
|
1745
1745
|
return d.func(e) ? (this.getRect = function(r) {
|
|
1746
|
-
var i =
|
|
1746
|
+
var i = E({}, e.apply(n, r));
|
|
1747
1747
|
return "width" in i || (i.width = i.right - i.left, i.height = i.bottom - i.top), i;
|
|
1748
1748
|
}, this) : e === null ? (delete this.getRect, this) : this.getRect;
|
|
1749
1749
|
} }, { key: "_backCompatOption", value: function(e, n) {
|
|
1750
|
-
if (
|
|
1750
|
+
if (W(n) || d.object(n)) {
|
|
1751
1751
|
for (var r in this.options[e] = n, this._actions.map) this.options[r][e] = n;
|
|
1752
1752
|
return this;
|
|
1753
1753
|
}
|
|
@@ -1766,16 +1766,16 @@ function bi() {
|
|
|
1766
1766
|
} }, { key: "testIgnoreAllow", value: function(e, n, r) {
|
|
1767
1767
|
return !this.testIgnore(e.ignoreFrom, n, r) && this.testAllow(e.allowFrom, n, r);
|
|
1768
1768
|
} }, { key: "testAllow", value: function(e, n, r) {
|
|
1769
|
-
return !e || !!d.element(r) && (d.string(e) ?
|
|
1769
|
+
return !e || !!d.element(r) && (d.string(e) ? M(r, e, n) : !!d.element(e) && he(e, r));
|
|
1770
1770
|
} }, { key: "testIgnore", value: function(e, n, r) {
|
|
1771
|
-
return !(!e || !d.element(r)) && (d.string(e) ?
|
|
1771
|
+
return !(!e || !d.element(r)) && (d.string(e) ? M(r, e, n) : !!d.element(e) && he(e, r));
|
|
1772
1772
|
} }, { key: "fire", value: function(e) {
|
|
1773
1773
|
return this.events.fire(e), this;
|
|
1774
1774
|
} }, { key: "_onOff", value: function(e, n, r, i, o) {
|
|
1775
1775
|
d.object(n) && !d.array(n) && (i = r, r = null);
|
|
1776
|
-
var a =
|
|
1776
|
+
var a = Oe(n, r, o);
|
|
1777
1777
|
for (var s in a) {
|
|
1778
|
-
s === "wheel" && (s =
|
|
1778
|
+
s === "wheel" && (s = ee.wheelEvent);
|
|
1779
1779
|
for (var l = 0, u = a[s]; l < u.length; l++) {
|
|
1780
1780
|
var c = u[l];
|
|
1781
1781
|
lt(s, this._actions) ? this.events[e === Se.On ? "on" : "off"](s, c) : d.string(this.target) ? this._scopeEvents[e === Se.On ? "addDelegate" : "removeDelegate"](this.target, this._context, s, c, i) : this._scopeEvents[e === Se.On ? "add" : "remove"](this.target, s, c, i);
|
|
@@ -1788,9 +1788,9 @@ function bi() {
|
|
|
1788
1788
|
return this._onOff(Se.Off, e, n, r);
|
|
1789
1789
|
} }, { key: "set", value: function(e) {
|
|
1790
1790
|
var n = this._defaults;
|
|
1791
|
-
for (var r in d.object(e) || (e = {}), this.options =
|
|
1791
|
+
for (var r in d.object(e) || (e = {}), this.options = Re(n.base), this._actions.methodDict) {
|
|
1792
1792
|
var i = r, o = this._actions.methodDict[i];
|
|
1793
|
-
this.options[i] = {}, this.setPerAction(i,
|
|
1793
|
+
this.options[i] = {}, this.setPerAction(i, E(E({}, n.perAction), n.actions[i])), this[o](e[i]);
|
|
1794
1794
|
}
|
|
1795
1795
|
for (var a in e) a !== "getRect" ? d.func(this[a]) && this[a](e[a]) : this.rectChecker(e.getRect);
|
|
1796
1796
|
return this;
|
|
@@ -1813,7 +1813,7 @@ function bi() {
|
|
|
1813
1813
|
} });
|
|
1814
1814
|
}
|
|
1815
1815
|
return R(t, [{ key: "new", value: function(e, n) {
|
|
1816
|
-
n =
|
|
1816
|
+
n = E(n || {}, { actions: this.scope.actions });
|
|
1817
1817
|
var r = new this.scope.Interactable(e, n, this.scope.document, this.scope.events);
|
|
1818
1818
|
return this.scope.addDocument(r._doc), this.list.push(r), d.string(e) ? (this.selectorMap[e] || (this.selectorMap[e] = []), this.selectorMap[e].push(r)) : (r.target[this.scope.id] || Object.defineProperty(e, this.scope.id, { value: [], configurable: !0 }), e[this.scope.id].push(r)), this.scope.fire("interactable:new", { target: e, options: n, interactable: r, win: this.scope._win }), r;
|
|
1819
1819
|
} }, { key: "getExisting", value: function(e, n) {
|
|
@@ -1830,12 +1830,12 @@ 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 = ee, 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
1835
|
var l = r.interactables.getExisting(a, s);
|
|
1836
1836
|
return l || ((l = r.interactables.new(a, s)).events.global = o.globalEvents), l;
|
|
1837
1837
|
};
|
|
1838
|
-
return i.getPointerAverage = Xt, i.getTouchBBox = yt, i.getTouchDistance = bt, i.getTouchAngle = xt, i.getElementRect = B, i.getElementClientRect =
|
|
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;
|
|
1840
1840
|
}, i.isSet = function(o, a) {
|
|
1841
1841
|
return !!this.scope.interactables.get(o, a && a.context);
|
|
@@ -1869,9 +1869,9 @@ function bi() {
|
|
|
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 ee.supportsTouch;
|
|
1873
1873
|
}, i.supportsPointerEvent = function() {
|
|
1874
|
-
return
|
|
1874
|
+
return ee.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;
|
|
@@ -1887,7 +1887,7 @@ function bi() {
|
|
|
1887
1887
|
};
|
|
1888
1888
|
var n = this;
|
|
1889
1889
|
this.Interactable = (function(r) {
|
|
1890
|
-
|
|
1890
|
+
ie(o, r);
|
|
1891
1891
|
var i = ke(o);
|
|
1892
1892
|
function o() {
|
|
1893
1893
|
return F(this, o), i.apply(this, arguments);
|
|
@@ -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
|
|
1898
|
+
return Me(ce(o.prototype), "set", this).call(this, a), n.fire("interactable:set", { options: a, interactable: this }), this;
|
|
1899
1899
|
} }, { key: "unset", value: function() {
|
|
1900
|
-
|
|
1900
|
+
Me(ce(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) && K(r), U.init(r), ee.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;
|
|
@@ -1932,10 +1932,10 @@ function bi() {
|
|
|
1932
1932
|
return this;
|
|
1933
1933
|
} }, { key: "addDocument", value: function(e, n) {
|
|
1934
1934
|
if (this.getDocIndex(e) !== -1) return !1;
|
|
1935
|
-
var r =
|
|
1936
|
-
n = n ?
|
|
1935
|
+
var r = Y(e);
|
|
1936
|
+
n = n ? E({}, n) : {}, this.documents.push({ doc: e, options: n }), this.events.documents.push(e), e !== this.document && this.events.add(r, "unload", this.onWindowUnload), this.fire("scope:add-document", { doc: e, window: r, scope: this, options: n });
|
|
1937
1937
|
} }, { key: "removeDocument", value: function(e) {
|
|
1938
|
-
var n = this.getDocIndex(e), r =
|
|
1938
|
+
var n = this.getDocIndex(e), r = Y(e), i = this.documents[n].options;
|
|
1939
1939
|
this.events.remove(r, "unload", this.onWindowUnload), this.documents.splice(n, 1), this.events.documents.splice(n, 1), this.fire("scope:remove-document", { doc: e, window: r, scope: this, options: i });
|
|
1940
1940
|
} }, { key: "getDocIndex", value: function(e) {
|
|
1941
1941
|
for (var n = 0; n < this.documents.length; n++) if (this.documents[n].doc === e) return n;
|
|
@@ -1950,7 +1950,7 @@ function bi() {
|
|
|
1950
1950
|
function Ln(t) {
|
|
1951
1951
|
return t && t.replace(/\/.*$/, "");
|
|
1952
1952
|
}
|
|
1953
|
-
var kn = new _r(),
|
|
1953
|
+
var kn = new _r(), G = kn.interactStatic, Lr = typeof globalThis != "undefined" ? globalThis : window;
|
|
1954
1954
|
kn.init(Lr);
|
|
1955
1955
|
var kr = Object.freeze({ __proto__: null, edgeTarget: function() {
|
|
1956
1956
|
}, elements: function() {
|
|
@@ -1968,26 +1968,26 @@ function bi() {
|
|
|
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
|
-
e.snappers =
|
|
1971
|
+
e.snappers = E(e.snappers || {}, kr), e.createSnapGrid = e.snappers.grid;
|
|
1972
1972
|
} }, Or = Tr, Pr = { start: function(t) {
|
|
1973
1973
|
var e = t.state, n = t.rect, r = t.edges, i = t.pageCoords, o = e.options, a = o.ratio, s = o.enabled, l = e.options, u = l.equalDelta, c = l.modifiers;
|
|
1974
|
-
a === "preserve" && (a = n.width / n.height), e.startCoords =
|
|
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 &&
|
|
1980
|
+
if (s !== !1 && E(r, p), c != null && c.length) {
|
|
1981
1981
|
var v = new It(t.interaction);
|
|
1982
|
-
v.copyFrom(t.interaction.modification), v.prepareStates(c), e.subModification = v, v.startAll(
|
|
1982
|
+
v.copyFrom(t.interaction.modification), v.prepareStates(c), e.subModification = v, v.startAll(X({}, t));
|
|
1983
1983
|
}
|
|
1984
1984
|
}, set: function(t) {
|
|
1985
|
-
var e = t.state, n = t.rect, r = t.coords, i = e.linkedEdges, o =
|
|
1986
|
-
if (
|
|
1987
|
-
var s =
|
|
1988
|
-
|
|
1989
|
-
var l = e.subModification.setAll(
|
|
1990
|
-
return l.changed && (a(e, Math.abs(u.x) > Math.abs(u.y), l.coords, l.rect),
|
|
1985
|
+
var e = t.state, n = t.rect, r = t.coords, i = e.linkedEdges, o = E({}, r), a = e.equalDelta ? Ir : Mr;
|
|
1986
|
+
if (E(t.edges, i), a(e, e.xIsPrimaryAxis, r, n), !e.subModification) return null;
|
|
1987
|
+
var s = E({}, n);
|
|
1988
|
+
nt(i, s, { x: r.x - o.x, y: r.y - o.y });
|
|
1989
|
+
var l = e.subModification.setAll(X(X({}, t), {}, { rect: s, edges: i, pageCoords: r, prevCoords: r, prevRect: s })), u = l.delta;
|
|
1990
|
+
return l.changed && (a(e, Math.abs(u.x) > Math.abs(u.y), l.coords, l.rect), E(r, l.coords)), l.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;
|
|
@@ -2007,13 +2007,13 @@ function bi() {
|
|
|
2007
2007
|
};
|
|
2008
2008
|
Tn._defaults = {};
|
|
2009
2009
|
var ft = Tn;
|
|
2010
|
-
function
|
|
2011
|
-
return d.func(t) ?
|
|
2010
|
+
function Ie(t, e, n) {
|
|
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, l =
|
|
2014
|
+
var e = t.rect, n = t.startOffset, r = t.state, i = t.interaction, o = t.pageCoords, a = r.options, s = a.elementRect, l = E({ left: 0, top: 0, right: 0, bottom: 0 }, a.offset || {});
|
|
2015
2015
|
if (e && s) {
|
|
2016
|
-
var u =
|
|
2016
|
+
var u = Ie(a.restriction, i, o);
|
|
2017
2017
|
if (u) {
|
|
2018
2018
|
var c = u.right - u.left - e.width, p = u.bottom - u.top - e.height;
|
|
2019
2019
|
c < 0 && (l.left += c, l.right += c), p < 0 && (l.top += p, l.bottom += p);
|
|
@@ -2022,10 +2022,10 @@ function bi() {
|
|
|
2022
2022
|
}
|
|
2023
2023
|
r.offset = l;
|
|
2024
2024
|
}, set: function(t) {
|
|
2025
|
-
var e = t.coords, n = t.interaction, r = t.state, i = r.options, o = r.offset, a =
|
|
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
2027
|
var s = (function(l) {
|
|
2028
|
-
return !l || "left" in l && "top" in l || ((l =
|
|
2028
|
+
return !l || "left" in l && "top" in l || ((l = E({}, l)).left = l.x || 0, l.top = l.y || 0, l.right = l.right || l.left + l.width, l.bottom = l.bottom || l.top + l.height), l;
|
|
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
|
}
|
|
@@ -2039,14 +2039,14 @@ function bi() {
|
|
|
2039
2039
|
}
|
|
2040
2040
|
var He = { noInner: On, noOuter: Pn, start: function(t) {
|
|
2041
2041
|
var e, n = t.interaction, r = t.startOffset, i = t.state, o = i.options;
|
|
2042
|
-
o && (e =
|
|
2042
|
+
o && (e = $e(Ie(o.offset, n, n.coords.start.page))), e = e || { x: 0, y: 0 }, i.offset = { top: e.y + r.top, left: e.x + r.left, bottom: e.y - r.bottom, right: e.x - r.right };
|
|
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 =
|
|
2046
|
+
var s = E({}, e), l = Ie(a.inner, r, s) || {}, u = Ie(a.outer, r, s) || {};
|
|
2047
2047
|
In(l, On), In(u, Pn), n.top ? e.y = Math.min(Math.max(u.top + o.top, s.y), l.top + o.top) : n.bottom && (e.y = Math.max(Math.min(u.bottom + o.bottom, s.y), l.bottom + o.bottom)), n.left ? e.x = Math.min(Math.max(u.left + o.left, s.x), l.left + o.left) : n.right && (e.x = Math.max(Math.min(u.right + o.right, s.x), l.right + o.right));
|
|
2048
2048
|
}
|
|
2049
|
-
}, defaults: { inner: null, outer: null, offset: null, endOnly: !1, enabled: !1 } }, Cr = we(He, "restrictEdges"), Ar =
|
|
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 };
|
|
2051
2051
|
}, set elementRect(t) {
|
|
2052
2052
|
} }, dt.defaults), Rr = we({ start: dt.start, set: dt.set, defaults: Ar }, "restrictRect"), jr = { width: -1 / 0, height: -1 / 0 }, Fr = { width: 1 / 0, height: 1 / 0 }, Vr = we({ start: function(t) {
|
|
@@ -2054,33 +2054,33 @@ function bi() {
|
|
|
2054
2054
|
}, set: function(t) {
|
|
2055
2055
|
var e = t.interaction, n = t.state, r = t.rect, i = t.edges, o = n.options;
|
|
2056
2056
|
if (i) {
|
|
2057
|
-
var a =
|
|
2058
|
-
n.options = { endOnly: o.endOnly, inner:
|
|
2057
|
+
var a = Ce(Ie(o.min, e, t.coords)) || jr, s = Ce(Ie(o.max, e, t.coords)) || Fr;
|
|
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
2061
|
var e, n = t.interaction, r = t.interactable, i = t.element, o = t.rect, a = t.state, s = t.startOffset, l = a.options, u = l.offsetWithOrigin ? (function(f) {
|
|
2062
|
-
var v = f.interaction.element, h =
|
|
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
2065
|
if (l.offset === "startCoords") e = { x: n.coords.start.page.x, y: n.coords.start.page.y };
|
|
2066
2066
|
else {
|
|
2067
|
-
var c =
|
|
2068
|
-
(e =
|
|
2067
|
+
var c = q(l.offset, r, i, [n]);
|
|
2068
|
+
(e = $e(c) || { x: 0, y: 0 }).x += u.x, e.y += u.y;
|
|
2069
2069
|
}
|
|
2070
2070
|
var p = l.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 =
|
|
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), l = [];
|
|
2076
2076
|
i.offsetWithOrigin || (s.x -= a.x, s.y -= a.y);
|
|
2077
2077
|
for (var u = 0, c = o; u < c.length; u++) for (var p = c[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
2079
|
(b = d.func(w) ? w(f, v, e._proxy, p, h) : w) && l.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
2081
|
for (var _ = { target: null, inRange: !1, distance: 0, range: 0, delta: { x: 0, y: 0 } }, P = 0; P < l.length; P++) {
|
|
2082
|
-
var
|
|
2083
|
-
|
|
2082
|
+
var D = l[P], T = D.range, I = D.x - s.x, H = D.y - s.y, A = Ue(I, H), ne = A <= T;
|
|
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 = _, _;
|
|
2086
2086
|
}, defaults: { range: 1 / 0, targets: null, offset: null, offsetWithOrigin: !0, origin: null, relativePoints: null, endOnly: !1, enabled: !1 } }, $r = we(Rt, "snap"), ht = { start: function(t) {
|
|
@@ -2089,7 +2089,7 @@ function bi() {
|
|
|
2089
2089
|
t.state = { options: { targets: null, relativePoints: [{ x: n.left ? 0 : 1, y: n.top ? 0 : 1 }], offset: r.offset || "self", origin: { x: 0, y: 0 }, range: r.range } }, e.targetFields = e.targetFields || [["width", "height"], ["x", "y"]], Rt.start(t), e.offsets = t.state.offsets, t.state = e;
|
|
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
|
-
n.options =
|
|
2092
|
+
n.options = E({}, i), n.options.targets = [];
|
|
2093
2093
|
for (var s = 0, l = i.targets || []; s < l.length; s++) {
|
|
2094
2094
|
var u = l[s], c = void 0;
|
|
2095
2095
|
if (c = d.func(u) ? u(a.x, a.y, e) : u) {
|
|
@@ -2108,14 +2108,14 @@ function bi() {
|
|
|
2108
2108
|
}, defaults: { range: 1 / 0, targets: null, offset: null, endOnly: !1, enabled: !1 } }, Br = we(ht, "snapSize"), jt = { aspectRatio: Dr, restrictEdges: Cr, restrict: zr, restrictRect: Rr, restrictSize: Vr, snapEdges: we({ start: function(t) {
|
|
2109
2109
|
var e = t.edges;
|
|
2110
2110
|
return e ? (t.state.targetFields = t.state.targetFields || [[e.left ? "left" : "right", e.top ? "top" : "bottom"]], ht.start(t)) : null;
|
|
2111
|
-
}, set: ht.set, defaults:
|
|
2111
|
+
}, set: ht.set, defaults: E(Re(ht.defaults), { targets: void 0, range: void 0, offset: { x: 0, y: 0 } }) }, "snapEdges"), snap: $r, snapSize: Br, spring: ft, avoid: ft, transform: ft, rubberband: ft }, Ur = { id: "modifiers", install: function(t) {
|
|
2112
2112
|
var e = t.interactStatic;
|
|
2113
2113
|
for (var n in t.usePlugin(fn), t.usePlugin(Or), e.modifiers = jt, jt) {
|
|
2114
2114
|
var r = jt[n], i = r._defaults, o = r._methods;
|
|
2115
2115
|
i._methods = o, t.defaults.perAction[n] = i;
|
|
2116
2116
|
}
|
|
2117
2117
|
} }, Nr = Ur, Mn = (function(t) {
|
|
2118
|
-
|
|
2118
|
+
ie(n, t);
|
|
2119
2119
|
var e = ke(n);
|
|
2120
2120
|
function n(r, i, o, a, s, l) {
|
|
2121
2121
|
var u;
|
|
@@ -2137,7 +2137,7 @@ function bi() {
|
|
|
2137
2137
|
this.originalEvent.preventDefault();
|
|
2138
2138
|
} }]), n;
|
|
2139
2139
|
})(at), Ze = { id: "pointer-events/base", before: ["inertia", "modifiers", "auto-start", "actions"], install: function(t) {
|
|
2140
|
-
t.pointerEvents = Ze, t.defaults.actions.pointerEvents = Ze.defaults,
|
|
2140
|
+
t.pointerEvents = Ze, t.defaults.actions.pointerEvents = Ze.defaults, E(t.actions.phaselessTypes, Ze.types);
|
|
2141
2141
|
}, listeners: { "interactions:new": function(t) {
|
|
2142
2142
|
var e = t.interaction;
|
|
2143
2143
|
e.prevTap = null, e.tapTime = 0;
|
|
@@ -2149,7 +2149,7 @@ 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, l = n.pointerIndex, u = i.pointers[l].hold, c =
|
|
2152
|
+
for (var i = n.interaction, o = n.pointer, a = n.event, s = n.eventTarget, l = n.pointerIndex, u = i.pointers[l].hold, c = $(s), p = { interaction: i, pointer: o, event: a, eventTarget: s, type: "hold", targets: [], path: c, node: null }, f = 0; f < c.length; f++) {
|
|
2153
2153
|
var v = c[f];
|
|
2154
2154
|
p.node = v, r.fire("pointerEvents:collect-targets", p);
|
|
2155
2155
|
}
|
|
@@ -2189,7 +2189,7 @@ function bi() {
|
|
|
2189
2189
|
function Dn(t, e) {
|
|
2190
2190
|
var n = t.interaction, r = t.pointer, i = t.event, o = t.eventTarget, a = t.type, s = n.getPointerIndex(r), l = n.pointers[s];
|
|
2191
2191
|
if (a === "tap" && (n.pointerWasMoved || !l || l.downTarget !== o)) return [];
|
|
2192
|
-
for (var u =
|
|
2192
|
+
for (var u = $(o), c = { 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
|
c.node = f, e.fire("pointerEvents:collect-targets", c);
|
|
2195
2195
|
}
|
|
@@ -2227,7 +2227,7 @@ function bi() {
|
|
|
2227
2227
|
} }) }, Yr = Xr, Gr = { id: "pointer-events/interactableTargets", install: function(t) {
|
|
2228
2228
|
var e = t.Interactable;
|
|
2229
2229
|
e.prototype.pointerEvents = function(r) {
|
|
2230
|
-
return
|
|
2230
|
+
return E(this.events.options, r), this;
|
|
2231
2231
|
};
|
|
2232
2232
|
var n = e.prototype._backCompatOption;
|
|
2233
2233
|
e.prototype._backCompatOption = function(r, i) {
|
|
@@ -2247,7 +2247,7 @@ function bi() {
|
|
|
2247
2247
|
};
|
|
2248
2248
|
}, "interactable:set": function(t, e) {
|
|
2249
2249
|
var n = t.interactable, r = t.options;
|
|
2250
|
-
|
|
2250
|
+
E(n.events.options, e.pointerEvents.defaults), E(n.events.options, r.pointerEvents || {});
|
|
2251
2251
|
} } }, Hr = Gr, Zr = { id: "pointer-events", install: function(t) {
|
|
2252
2252
|
t.usePlugin(Wr), t.usePlugin(Yr), t.usePlugin(Hr);
|
|
2253
2253
|
} }, Kr = Zr, Jr = { id: "reflow", install: function(t) {
|
|
@@ -2264,7 +2264,7 @@ function bi() {
|
|
|
2264
2264
|
h._reflowResolve = b;
|
|
2265
2265
|
})));
|
|
2266
2266
|
else {
|
|
2267
|
-
var m =
|
|
2267
|
+
var m = Ce(f), w = /* @__PURE__ */ (function(b) {
|
|
2268
2268
|
return { coords: b, get page() {
|
|
2269
2269
|
return this.coords.page;
|
|
2270
2270
|
}, get client() {
|
|
@@ -2292,13 +2292,13 @@ function bi() {
|
|
|
2292
2292
|
}, preventDefault: function() {
|
|
2293
2293
|
} };
|
|
2294
2294
|
})({ page: { x: m.x, y: m.y }, client: { x: m.x, y: m.y }, timeStamp: o.now() });
|
|
2295
|
-
v = (function(b, _, P,
|
|
2296
|
-
var I = b.interactions.new({ pointerType: "reflow" }),
|
|
2297
|
-
I.interactable = _, I.element = P, I.prevEvent =
|
|
2298
|
-
var A = b.window,
|
|
2295
|
+
v = (function(b, _, P, D, T) {
|
|
2296
|
+
var I = b.interactions.new({ pointerType: "reflow" }), H = { interaction: I, event: T, pointer: T, eventTarget: P, phase: "reflow" };
|
|
2297
|
+
I.interactable = _, I.element = P, I.prevEvent = T, I.updatePointer(T, T, P, !0), Nt(I.coords.delta), kt(I.prepared, D), I._doPhase(H);
|
|
2298
|
+
var A = b.window, ne = A.Promise, ae = ne ? new ne((function(me) {
|
|
2299
2299
|
I._reflowResolve = me;
|
|
2300
2300
|
})) : void 0;
|
|
2301
|
-
return I._reflowPromise = ae, I.start(
|
|
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
2304
|
l && l.push(v);
|
|
@@ -2314,11 +2314,11 @@ function bi() {
|
|
|
2314
2314
|
r.splice(r.indexOf(i), 1);
|
|
2315
2315
|
})(e.interactions.list, n));
|
|
2316
2316
|
} } }, Qr = Jr;
|
|
2317
|
-
if (
|
|
2318
|
-
V.exports =
|
|
2317
|
+
if (G.use(pn), G.use(mn), G.use(Kr), G.use(gr), G.use(Nr), G.use(ir), G.use(Yn), G.use(Hn), G.use(Qr), G.default = G, Z(V) === "object" && V) try {
|
|
2318
|
+
V.exports = G;
|
|
2319
2319
|
} catch (t) {
|
|
2320
2320
|
}
|
|
2321
|
-
return
|
|
2321
|
+
return G.default = G, G;
|
|
2322
2322
|
}));
|
|
2323
2323
|
})(Qe, Qe.exports)), Qe.exports;
|
|
2324
2324
|
}
|
|
@@ -2422,14 +2422,14 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2422
2422
|
theme: { type: String, default: "light" }
|
|
2423
2423
|
},
|
|
2424
2424
|
setup(V) {
|
|
2425
|
-
const z = "monitor_" + Math.random().toString(16).substring(4, 12), j = $t(null),
|
|
2425
|
+
const z = "monitor_" + Math.random().toString(16).substring(4, 12), j = $t(null), X = V, Z = "--";
|
|
2426
2426
|
function F(g) {
|
|
2427
2427
|
if (g == null || g === "") return "";
|
|
2428
2428
|
if (typeof g == "string") return g.trim();
|
|
2429
2429
|
if (typeof g == "object" && g !== null) {
|
|
2430
2430
|
const y = g;
|
|
2431
|
-
for (const
|
|
2432
|
-
const L = y[
|
|
2431
|
+
for (const S of ["material_path", "materialPath", "path", "value", "url", "fileUrl"]) {
|
|
2432
|
+
const L = y[S];
|
|
2433
2433
|
if (typeof L == "string" && L.trim()) return L.trim();
|
|
2434
2434
|
}
|
|
2435
2435
|
}
|
|
@@ -2437,20 +2437,20 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2437
2437
|
}
|
|
2438
2438
|
let de = null;
|
|
2439
2439
|
function R() {
|
|
2440
|
-
var g, y,
|
|
2441
|
-
return (
|
|
2440
|
+
var g, y, S;
|
|
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 te() {
|
|
2444
2444
|
de && (de.disconnect(), de = null);
|
|
2445
2445
|
}
|
|
2446
|
-
function
|
|
2446
|
+
function ie(g) {
|
|
2447
2447
|
if (typeof g == "number" && Number.isFinite(g)) return g;
|
|
2448
2448
|
if (typeof g == "string") {
|
|
2449
2449
|
const y = g.trim();
|
|
2450
2450
|
if (!y || y.endsWith("%") || y.endsWith("px")) return null;
|
|
2451
2451
|
if (/^-?\d+(\.\d+)?$/i.test(y)) {
|
|
2452
|
-
const
|
|
2453
|
-
return Number.isFinite(
|
|
2452
|
+
const S = parseFloat(y);
|
|
2453
|
+
return Number.isFinite(S) ? S : null;
|
|
2454
2454
|
}
|
|
2455
2455
|
}
|
|
2456
2456
|
return null;
|
|
@@ -2462,33 +2462,33 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2462
2462
|
if (!L) return;
|
|
2463
2463
|
if (L.endsWith("%")) return L;
|
|
2464
2464
|
if (L.endsWith("px")) {
|
|
2465
|
-
const
|
|
2466
|
-
return Number.isFinite(
|
|
2465
|
+
const M = parseFloat(L);
|
|
2466
|
+
return Number.isFinite(M) ? `${M / y * 100}%` : void 0;
|
|
2467
2467
|
}
|
|
2468
2468
|
}
|
|
2469
|
-
const
|
|
2470
|
-
if (
|
|
2471
|
-
return `${
|
|
2469
|
+
const S = ie(g);
|
|
2470
|
+
if (S != null)
|
|
2471
|
+
return `${S / y * 100}%`;
|
|
2472
2472
|
}
|
|
2473
2473
|
function _e(g) {
|
|
2474
2474
|
const y = R();
|
|
2475
2475
|
if (!y) return !1;
|
|
2476
|
-
const
|
|
2477
|
-
if (
|
|
2478
|
-
const
|
|
2479
|
-
if (!Array.isArray(
|
|
2476
|
+
const S = y.clientWidth, L = y.clientHeight;
|
|
2477
|
+
if (S <= 0 || L <= 0) return !1;
|
|
2478
|
+
const M = g.data;
|
|
2479
|
+
if (!Array.isArray(M))
|
|
2480
2480
|
return g.height = L, !0;
|
|
2481
2481
|
const C = typeof g.height == "number" && g.height > 0 ? g.height : L;
|
|
2482
|
-
for (const
|
|
2483
|
-
const B = ce(
|
|
2484
|
-
B !== void 0 && (
|
|
2482
|
+
for (const k of M) {
|
|
2483
|
+
const B = ce(k == null ? void 0 : k.x, S), $ = ce(k == null ? void 0 : k.y, L);
|
|
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;
|
|
2487
2487
|
}
|
|
2488
2488
|
function Le(g) {
|
|
2489
2489
|
ui(() => {
|
|
2490
2490
|
if (_e(g)) return;
|
|
2491
|
-
|
|
2491
|
+
te();
|
|
2492
2492
|
const y = R();
|
|
2493
2493
|
if (!y || typeof ResizeObserver == "undefined") {
|
|
2494
2494
|
requestAnimationFrame(() => {
|
|
@@ -2497,19 +2497,19 @@ 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) && te();
|
|
2501
2501
|
}), de.observe(y);
|
|
2502
2502
|
});
|
|
2503
2503
|
}
|
|
2504
2504
|
function ke() {
|
|
2505
2505
|
var y;
|
|
2506
|
-
const g = (y =
|
|
2507
|
-
return Array.isArray(g) ? `${g.length}|${g.map((
|
|
2506
|
+
const g = (y = X.conf) == null ? void 0 : y.data;
|
|
2507
|
+
return Array.isArray(g) ? `${g.length}|${g.map((S) => [S == null ? void 0 : S.type, S == null ? void 0 : S.fv, String(S == null ? void 0 : S.x), String(S == null ? void 0 : S.y)].join(":")).join(";")}` : "0";
|
|
2508
2508
|
}
|
|
2509
2509
|
jn(ke, () => {
|
|
2510
|
-
Le(
|
|
2510
|
+
Le(X.conf);
|
|
2511
2511
|
}, { flush: "post" });
|
|
2512
|
-
class
|
|
2512
|
+
class Me extends pi {
|
|
2513
2513
|
extractStyles() {
|
|
2514
2514
|
const y = {
|
|
2515
2515
|
bgColor: this.getOptionValue("bgColor", "#fff"),
|
|
@@ -2525,68 +2525,78 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2525
2525
|
}
|
|
2526
2526
|
init() {
|
|
2527
2527
|
return Vt(this, null, function* () {
|
|
2528
|
-
this.Style.value = this.extractStyles(), this.applyTheme(),
|
|
2528
|
+
this.Style.value = this.extractStyles(), this.applyTheme(), De.value = this.Style.value.bgImg, Le(this.props.conf);
|
|
2529
|
+
});
|
|
2530
|
+
}
|
|
2531
|
+
setHistoryData(y) {
|
|
2532
|
+
const { data: S } = this.props.conf;
|
|
2533
|
+
S.forEach((L, M) => {
|
|
2534
|
+
var C, k, B;
|
|
2535
|
+
try {
|
|
2536
|
+
L.value = (C = y[M].data[0]) != null ? C : Z;
|
|
2537
|
+
} catch ($) {
|
|
2538
|
+
L.value = (B = (k = L.value) != null ? k : L.default) != null ? B : Z;
|
|
2539
|
+
}
|
|
2529
2540
|
});
|
|
2530
2541
|
}
|
|
2531
|
-
// ✅ 删除 setHistoryData(),不再需要历史数据
|
|
2532
2542
|
// ✅ 重写 setSocketData(),处理多种显示类型
|
|
2533
2543
|
// 注意:Session 已经根据 object_id 精确匹配并分发数据
|
|
2534
2544
|
setSocketData(y) {
|
|
2535
2545
|
var L;
|
|
2536
2546
|
if (!y) return;
|
|
2537
|
-
const { data:
|
|
2538
|
-
if (
|
|
2539
|
-
var C,
|
|
2547
|
+
const { data: S } = this.props.conf;
|
|
2548
|
+
if (S.forEach((M) => {
|
|
2549
|
+
var C, k, B, $;
|
|
2540
2550
|
try {
|
|
2541
|
-
const
|
|
2542
|
-
|
|
2543
|
-
} catch (
|
|
2544
|
-
|
|
2551
|
+
const W = (C = this.extractDataValue(y, M.fv)) != null ? C : M.value;
|
|
2552
|
+
M.value = (k = W != null ? W : M.default) != null ? k : Z;
|
|
2553
|
+
} catch (W) {
|
|
2554
|
+
M.value = ($ = (B = M.value) != null ? B : M.default) != null ? $ : Z;
|
|
2545
2555
|
}
|
|
2546
2556
|
}), this.Style.value.multipleImg && this.Style.value.statusFv) {
|
|
2547
|
-
const
|
|
2548
|
-
|
|
2557
|
+
const M = this.extractDataValue(y, this.Style.value.statusFv), C = (L = this.Style.value.images) == null ? void 0 : L.find((k) => String(k.code) === String(M));
|
|
2558
|
+
De.value = F(C == null ? void 0 : C.value) || this.Style.value.bgImg;
|
|
2549
2559
|
}
|
|
2550
2560
|
}
|
|
2551
2561
|
}
|
|
2552
|
-
const
|
|
2553
|
-
|
|
2554
|
-
const ue =
|
|
2555
|
-
var
|
|
2556
|
-
const g = F(
|
|
2562
|
+
const Fe = new Me(X, "scd");
|
|
2563
|
+
Fe.setupLifecycle();
|
|
2564
|
+
const ue = Fe.getStyle(), De = $t(""), pe = gt(() => {
|
|
2565
|
+
var S, L;
|
|
2566
|
+
const g = F(De.value);
|
|
2557
2567
|
if (g) return g;
|
|
2558
|
-
const y = (L = (
|
|
2568
|
+
const y = (L = (S = X.conf) == null ? void 0 : S.options) == null ? void 0 : L.bgImg;
|
|
2559
2569
|
return y && typeof y == "object" && y !== null && "value" in y ? F(y.value) : typeof y == "string" ? y.trim() : "";
|
|
2560
|
-
}),
|
|
2561
|
-
let
|
|
2570
|
+
}), K = $t("");
|
|
2571
|
+
let Y = null, fe = 0, oe = null;
|
|
2562
2572
|
const d = () => {
|
|
2563
|
-
|
|
2573
|
+
Y && (URL.revokeObjectURL(Y), Y = null);
|
|
2564
2574
|
};
|
|
2565
|
-
function
|
|
2575
|
+
function Ve() {
|
|
2566
2576
|
return Vt(this, null, function* () {
|
|
2567
2577
|
const g = pe.value.trim(), y = ++fe;
|
|
2568
2578
|
if (oe == null || oe.abort(), oe = new AbortController(), !g) {
|
|
2569
|
-
d(),
|
|
2579
|
+
d(), K.value = "";
|
|
2570
2580
|
return;
|
|
2571
2581
|
}
|
|
2572
2582
|
if (g.startsWith("blob:") || g.startsWith("data:")) {
|
|
2573
|
-
d(),
|
|
2583
|
+
d(), K.value = g;
|
|
2574
2584
|
return;
|
|
2575
2585
|
}
|
|
2576
2586
|
if (g.toLowerCase().includes("mixportal")) {
|
|
2577
|
-
d(),
|
|
2587
|
+
d(), K.value = "", console.warn("[scd] 背景为门户本地上传路径(mixportal),请在设计器从素材库重新选择背景", g);
|
|
2578
2588
|
return;
|
|
2579
2589
|
}
|
|
2580
|
-
const
|
|
2581
|
-
if (!
|
|
2582
|
-
d(),
|
|
2590
|
+
const S = gi(mi(g));
|
|
2591
|
+
if (!S) {
|
|
2592
|
+
d(), K.value = "";
|
|
2583
2593
|
return;
|
|
2584
2594
|
}
|
|
2585
2595
|
try {
|
|
2586
2596
|
d();
|
|
2587
|
-
const L = {},
|
|
2588
|
-
|
|
2589
|
-
const C = yield fetch(
|
|
2597
|
+
const L = {}, M = di();
|
|
2598
|
+
M && (L.Authorization = `Bearer ${M}`);
|
|
2599
|
+
const C = yield fetch(S, {
|
|
2590
2600
|
mode: "cors",
|
|
2591
2601
|
credentials: "include",
|
|
2592
2602
|
signal: oe.signal,
|
|
@@ -2594,229 +2604,226 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2594
2604
|
});
|
|
2595
2605
|
if (y !== fe) return;
|
|
2596
2606
|
if (!C.ok) {
|
|
2597
|
-
console.warn("[scd] 背景图加载失败", C.status,
|
|
2607
|
+
console.warn("[scd] 背景图加载失败", C.status, S), K.value = "";
|
|
2598
2608
|
return;
|
|
2599
2609
|
}
|
|
2600
|
-
const
|
|
2610
|
+
const k = yield C.blob();
|
|
2601
2611
|
if (y !== fe) return;
|
|
2602
|
-
if (!
|
|
2603
|
-
|
|
2612
|
+
if (!k.size) {
|
|
2613
|
+
K.value = "";
|
|
2604
2614
|
return;
|
|
2605
2615
|
}
|
|
2606
|
-
|
|
2616
|
+
Y = URL.createObjectURL(k), K.value = Y;
|
|
2607
2617
|
} catch (L) {
|
|
2608
2618
|
if ((L == null ? void 0 : L.name) === "AbortError" || y !== fe) return;
|
|
2609
|
-
console.warn("[scd] 背景图 fetch 异常", L),
|
|
2619
|
+
console.warn("[scd] 背景图 fetch 异常", L), K.value = "";
|
|
2610
2620
|
}
|
|
2611
2621
|
});
|
|
2612
2622
|
}
|
|
2613
2623
|
jn(() => pe.value, () => {
|
|
2614
|
-
|
|
2624
|
+
Ve();
|
|
2615
2625
|
}, { immediate: !0 }), ai(() => {
|
|
2616
|
-
fe++, oe == null || oe.abort(), d(),
|
|
2626
|
+
fe++, oe == null || oe.abort(), d(), K.value = "", te();
|
|
2617
2627
|
});
|
|
2618
2628
|
const et = gt(() => ({
|
|
2619
2629
|
minHeight: 0
|
|
2620
|
-
})),
|
|
2621
|
-
var
|
|
2622
|
-
const g = ((
|
|
2630
|
+
})), ze = gt(() => {
|
|
2631
|
+
var M, C, k;
|
|
2632
|
+
const g = ((M = ue.value) == null ? void 0 : M.inner) || { width: "100%", height: "100%" }, y = String((C = g.width) != null ? C : "100%").trim() || "100%", S = String((k = g.height) != null ? k : "100%").trim() || "100%";
|
|
2623
2633
|
return {
|
|
2624
2634
|
position: "absolute",
|
|
2625
2635
|
left: "0",
|
|
2626
2636
|
top: "0",
|
|
2627
2637
|
width: y,
|
|
2628
|
-
height:
|
|
2638
|
+
height: S,
|
|
2629
2639
|
maxWidth: "100%",
|
|
2630
2640
|
maxHeight: "100%",
|
|
2631
|
-
objectFit: y === "100%" &&
|
|
2641
|
+
objectFit: y === "100%" && S === "100%" ? "fill" : "contain",
|
|
2632
2642
|
objectPosition: "center center",
|
|
2633
2643
|
zIndex: "0",
|
|
2634
2644
|
pointerEvents: "none",
|
|
2635
2645
|
boxSizing: "border-box"
|
|
2636
2646
|
};
|
|
2637
|
-
}), tt = gt(() => vi(
|
|
2647
|
+
}), tt = gt(() => vi(X.conf.options)), J = (g) => {
|
|
2638
2648
|
let y = 5;
|
|
2639
2649
|
return /^\d+$/.test(g) && (y = Number(g)), y + 1;
|
|
2640
2650
|
}, be = (g, y) => {
|
|
2641
|
-
const
|
|
2642
|
-
return L - Math.floor((L -
|
|
2643
|
-
},
|
|
2651
|
+
const S = y.pieces ? Number(y.pieces) : 5, L = y.max ? Number(y.max) : 100, M = y.min ? Number(y.min) : 0;
|
|
2652
|
+
return L - Math.floor((L - M) / S) * g;
|
|
2653
|
+
}, U = () => {
|
|
2644
2654
|
$n("." + z).draggable({
|
|
2645
2655
|
modifiers: [$n.modifiers.restrictRect({ restriction: "parent", endOnly: !0 })],
|
|
2646
2656
|
onmove(g) {
|
|
2647
|
-
|
|
2657
|
+
Q(g);
|
|
2648
2658
|
}
|
|
2649
2659
|
});
|
|
2650
|
-
},
|
|
2651
|
-
const { data: y } =
|
|
2652
|
-
if (!
|
|
2653
|
-
const L =
|
|
2654
|
-
if (typeof
|
|
2655
|
-
if (typeof
|
|
2656
|
-
const
|
|
2657
|
-
if (
|
|
2658
|
-
const x = parseFloat(
|
|
2659
|
-
return (Number.isFinite(x) ? x : 0) * B +
|
|
2660
|
+
}, Q = (g) => {
|
|
2661
|
+
const { data: y } = X.conf, S = R();
|
|
2662
|
+
if (!S) return;
|
|
2663
|
+
const L = S.clientWidth, M = S.clientHeight, C = (k, B, $) => {
|
|
2664
|
+
if (typeof k == "number" && Number.isFinite(k)) return k + $;
|
|
2665
|
+
if (typeof k == "string") {
|
|
2666
|
+
const W = k.trim();
|
|
2667
|
+
if (W.endsWith("%")) {
|
|
2668
|
+
const x = parseFloat(W) / 100;
|
|
2669
|
+
return (Number.isFinite(x) ? x : 0) * B + $;
|
|
2660
2670
|
}
|
|
2661
|
-
if (
|
|
2662
|
-
const x = parseFloat(
|
|
2663
|
-
return (Number.isFinite(x) ? x : 0) +
|
|
2671
|
+
if (W.endsWith("px")) {
|
|
2672
|
+
const x = parseFloat(W);
|
|
2673
|
+
return (Number.isFinite(x) ? x : 0) + $;
|
|
2664
2674
|
}
|
|
2665
|
-
const
|
|
2666
|
-
if (
|
|
2675
|
+
const E = ie(k);
|
|
2676
|
+
if (E != null) return E + $;
|
|
2667
2677
|
}
|
|
2668
|
-
return
|
|
2678
|
+
return $;
|
|
2669
2679
|
};
|
|
2670
|
-
y.forEach((
|
|
2671
|
-
if (`${
|
|
2672
|
-
const
|
|
2673
|
-
|
|
2680
|
+
y.forEach((k, B) => {
|
|
2681
|
+
if (`${k.type}_${z}_${k.fv}_${B}` === g.target.id) {
|
|
2682
|
+
const $ = C(k.x, L, g.dx), W = C(k.y, M, g.dy);
|
|
2683
|
+
k.x = `${$ / L * 100}%`, k.y = `${W / M * 100}%`;
|
|
2674
2684
|
}
|
|
2675
2685
|
});
|
|
2676
|
-
},
|
|
2686
|
+
}, ee = (g) => {
|
|
2677
2687
|
const y = g.max - g.min;
|
|
2678
|
-
let
|
|
2679
|
-
return g.value < g.startValue ? (
|
|
2688
|
+
let S, L;
|
|
2689
|
+
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` };
|
|
2680
2690
|
}, he = (g) => {
|
|
2681
2691
|
let y = "standby";
|
|
2682
2692
|
return String(g.value) === g.online && (y = "online"), String(g.value) === g.offline && (y = "offline"), y;
|
|
2683
2693
|
}, Te = (g) => {
|
|
2684
|
-
var
|
|
2694
|
+
var S;
|
|
2685
2695
|
let y = { text: "--", color: g.color };
|
|
2686
|
-
return (
|
|
2696
|
+
return (S = g.status) == null || S.forEach((L) => {
|
|
2687
2697
|
String(g.value) === String(L.code) && (y.text = L.text, y.color = L.color);
|
|
2688
2698
|
}), y;
|
|
2689
2699
|
};
|
|
2690
|
-
return
|
|
2691
|
-
var
|
|
2700
|
+
return X.mode === "edit" && U(), (g, y) => {
|
|
2701
|
+
var S, L, M, C, k, B, $, W, E;
|
|
2692
2702
|
return se(), le("div", {
|
|
2693
2703
|
class: "mix-component",
|
|
2694
|
-
style:
|
|
2704
|
+
style: N({ backgroundColor: je(ue).bgColor, borderRadius: `${je(ue).radiusSize}px` })
|
|
2695
2705
|
}, [
|
|
2696
|
-
|
|
2706
|
+
re("div", {
|
|
2697
2707
|
class: "mix-title",
|
|
2698
|
-
style:
|
|
2708
|
+
style: N(tt.value)
|
|
2699
2709
|
}, ye(V.conf.caption || V.conf.name), 5),
|
|
2700
|
-
|
|
2710
|
+
re("div", {
|
|
2701
2711
|
class: "mix-body",
|
|
2702
2712
|
id: z
|
|
2703
2713
|
}, [
|
|
2704
|
-
|
|
2705
|
-
style:
|
|
2706
|
-
height: (L = (
|
|
2707
|
-
width: (C = (
|
|
2708
|
-
top: (B = (
|
|
2709
|
-
left: (
|
|
2714
|
+
re("div", {
|
|
2715
|
+
style: N({
|
|
2716
|
+
height: (L = (S = je(ue)) == null ? void 0 : S.outer) == null ? void 0 : L.height,
|
|
2717
|
+
width: (C = (M = je(ue)) == null ? void 0 : M.outer) == null ? void 0 : C.width,
|
|
2718
|
+
top: (B = (k = je(ue)) == null ? void 0 : k.outer) == null ? void 0 : B.top,
|
|
2719
|
+
left: (W = ($ = je(ue)) == null ? void 0 : $.outer) == null ? void 0 : W.left
|
|
2710
2720
|
}),
|
|
2711
2721
|
class: "absolute"
|
|
2712
2722
|
}, [
|
|
2713
|
-
|
|
2723
|
+
re("div", {
|
|
2714
2724
|
ref_key: "scdLayoutRootRef",
|
|
2715
2725
|
ref: j,
|
|
2716
2726
|
class: "w-[100%] h-full relative",
|
|
2717
2727
|
"data-scd-layout-root": "",
|
|
2718
|
-
style:
|
|
2728
|
+
style: N(et.value)
|
|
2719
2729
|
}, [
|
|
2720
|
-
|
|
2730
|
+
K.value ? (se(), le("img", {
|
|
2721
2731
|
key: 0,
|
|
2722
2732
|
class: "scd-bg-raster",
|
|
2723
|
-
src:
|
|
2733
|
+
src: K.value,
|
|
2724
2734
|
alt: "",
|
|
2725
2735
|
draggable: "false",
|
|
2726
|
-
style:
|
|
2736
|
+
style: N(ze.value)
|
|
2727
2737
|
}, null, 12, Ei)) : si("", !0),
|
|
2728
|
-
(se(!0), le(Bt, null, Fn((
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2738
|
+
(se(!0), le(Bt, null, Fn((E = V.conf) == null ? void 0 : E.data, (x, q) => (se(), le(Bt, {
|
|
2739
|
+
key: x.fv + "_" + q
|
|
2740
|
+
}, [
|
|
2741
|
+
x.type == "ULG" ? (se(), le("div", {
|
|
2742
|
+
key: 0,
|
|
2743
|
+
class: Je(`${z} liquid absolute`),
|
|
2744
|
+
id: `ULG_${z}_${x.fv}_${q}`,
|
|
2745
|
+
style: N({ height: `${x.height}px`, left: x.x, top: x.y, zIndex: Number(q) + 1 })
|
|
2732
2746
|
}, [
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
id: `ULG_${z}_${x.fv}_${N}`,
|
|
2737
|
-
style: U({ height: `${x.height}px`, left: x.x, top: x.y, zIndex: N + 1 })
|
|
2747
|
+
re("div", {
|
|
2748
|
+
class: "liquid-bar",
|
|
2749
|
+
style: N({ width: `${x.width}px` })
|
|
2738
2750
|
}, [
|
|
2739
|
-
|
|
2740
|
-
class: "liquid-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
], 4),
|
|
2750
|
-
te("div", {
|
|
2751
|
-
class: "liquid-scale",
|
|
2752
|
-
style: U({ display: x.showScale === !1 ? "none" : "flex" })
|
|
2753
|
-
}, [
|
|
2754
|
-
(se(!0), le(Bt, null, Fn(Z(x.pieces), (nt, Pe) => (se(), le("div", {
|
|
2755
|
-
class: "split",
|
|
2756
|
-
key: Pe,
|
|
2757
|
-
style: U({ fontSize: `${x.fontSize}px`, fontWeight: x.isBold ? "bold" : "normal" })
|
|
2758
|
-
}, [
|
|
2759
|
-
te("span", ki, ye(be(Pe, x)), 1)
|
|
2760
|
-
], 4))), 128))
|
|
2761
|
-
], 4)
|
|
2762
|
-
], 14, _i)) : x.type == "Signal" ? (se(), le("div", {
|
|
2763
|
-
key: 1,
|
|
2764
|
-
class: Je(`${z} signal absolute ${he(x)}`),
|
|
2765
|
-
style: U({ width: `${x.fontSize}px`, height: `${x.fontSize}px`, left: x.x, top: x.y, zIndex: N + 1 }),
|
|
2766
|
-
id: `Signal_${z}_${x.fv}_${N}`
|
|
2767
|
-
}, null, 14, Ti)) : x.type == "Digit" ? (se(), le("div", {
|
|
2768
|
-
key: 2,
|
|
2769
|
-
class: Je(`${z} absolute`),
|
|
2770
|
-
style: U({
|
|
2771
|
-
left: x.x,
|
|
2772
|
-
top: x.y,
|
|
2773
|
-
color: x.color,
|
|
2774
|
-
fontSize: `${x.fontSize}px`,
|
|
2775
|
-
fontWeight: x.isBold ? "bold" : "normal",
|
|
2776
|
-
zIndex: N + 1
|
|
2777
|
-
}),
|
|
2778
|
-
id: `Digit_${z}_${x.fv}_${N}`
|
|
2779
|
-
}, ye((Oe = x.value) != null ? Oe : x.default) + ye(x.unit ? " " + x.unit : ""), 15, Oi)) : x.type == "Status" ? (se(), le("div", {
|
|
2780
|
-
key: 3,
|
|
2781
|
-
class: Je(`${z} absolute status`),
|
|
2782
|
-
id: `Status_${z}_${x.fv}_${N}`,
|
|
2783
|
-
style: U({ color: Te(x).color, left: x.x, top: x.y, zIndex: N + 1 })
|
|
2751
|
+
re("div", {
|
|
2752
|
+
class: "liquid-value",
|
|
2753
|
+
id: z + "_Liquid_" + x.fv,
|
|
2754
|
+
title: x.value,
|
|
2755
|
+
style: N({ height: ee(x).height, bottom: ee(x).bottom })
|
|
2756
|
+
}, null, 12, Li)
|
|
2757
|
+
], 4),
|
|
2758
|
+
re("div", {
|
|
2759
|
+
class: "liquid-scale",
|
|
2760
|
+
style: N({ display: x.showScale === !1 ? "none" : "flex" })
|
|
2784
2761
|
}, [
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
},
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2762
|
+
(se(!0), le(Bt, null, Fn(J(x.pieces), ($e, Ce) => (se(), le("div", {
|
|
2763
|
+
class: "split",
|
|
2764
|
+
key: Ce,
|
|
2765
|
+
style: N({ fontSize: `${x.fontSize}px`, fontWeight: x.isBold ? "bold" : "normal" })
|
|
2766
|
+
}, [
|
|
2767
|
+
re("span", ki, ye(be(Ce, x)), 1)
|
|
2768
|
+
], 4))), 128))
|
|
2769
|
+
], 4)
|
|
2770
|
+
], 14, _i)) : x.type == "Signal" ? (se(), le("div", {
|
|
2771
|
+
key: 1,
|
|
2772
|
+
class: Je(`${z} signal absolute ${he(x)}`),
|
|
2773
|
+
style: N({ width: `${x.fontSize}px`, height: `${x.fontSize}px`, left: x.x, top: x.y, zIndex: Number(q) + 1 }),
|
|
2774
|
+
id: `Signal_${z}_${x.fv}_${q}`
|
|
2775
|
+
}, null, 14, Ti)) : x.type == "Digit" ? (se(), le("div", {
|
|
2776
|
+
key: 2,
|
|
2777
|
+
class: Je(`${z} absolute`),
|
|
2778
|
+
style: N({
|
|
2779
|
+
left: x.x,
|
|
2780
|
+
top: x.y,
|
|
2781
|
+
color: x.color,
|
|
2782
|
+
fontSize: `${x.fontSize}px`,
|
|
2783
|
+
fontWeight: x.isBold ? "bold" : "normal",
|
|
2784
|
+
zIndex: Number(q) + 1
|
|
2785
|
+
}),
|
|
2786
|
+
id: `Digit_${z}_${x.fv}_${q}`
|
|
2787
|
+
}, ye(x.value) + ye(x.unit ? " " + x.unit : ""), 15, Oi)) : x.type == "Status" ? (se(), le("div", {
|
|
2788
|
+
key: 3,
|
|
2789
|
+
class: Je(`${z} absolute status`),
|
|
2790
|
+
id: `Status_${z}_${x.fv}_${q}`,
|
|
2791
|
+
style: N({ color: Te(x).color, left: x.x, top: x.y, zIndex: Number(q) + 1 })
|
|
2792
|
+
}, [
|
|
2793
|
+
li(ye(x.name) + ": ", 1),
|
|
2794
|
+
re("span", null, [
|
|
2795
|
+
re("div", {
|
|
2796
|
+
style: N({ "background-color": Te(x).color }),
|
|
2797
|
+
id: "monitorStatus-" + x.fv
|
|
2798
|
+
}, null, 12, Ii),
|
|
2799
|
+
re("span", {
|
|
2800
|
+
id: "monitorStatusSpan-" + x.fv,
|
|
2801
|
+
style: N({ color: Te(x).color })
|
|
2802
|
+
}, ye(Te(x).text), 13, Mi)
|
|
2803
|
+
])
|
|
2804
|
+
], 14, Pi)) : (se(), le("div", {
|
|
2805
|
+
key: 4,
|
|
2806
|
+
class: Je(`${z} absolute plate`),
|
|
2807
|
+
id: `Plate_${z}_${x.fv}_${q}`,
|
|
2808
|
+
style: N({
|
|
2809
|
+
width: `${x.width}px`,
|
|
2810
|
+
fontSize: `${x.fontSize}px`,
|
|
2811
|
+
fontWeight: x.isBold ? "bold" : "normal",
|
|
2812
|
+
left: x.x,
|
|
2813
|
+
top: x.y,
|
|
2814
|
+
zIndex: Number(q) + 1
|
|
2815
|
+
})
|
|
2816
|
+
}, [
|
|
2817
|
+
re("div", {
|
|
2818
|
+
class: "name",
|
|
2819
|
+
style: N({ color: x.titleColor, backgroundColor: x.titleBg })
|
|
2820
|
+
}, ye(x.name || "--") + ye(x.unit ? "/" + x.unit : ""), 5),
|
|
2821
|
+
re("div", {
|
|
2822
|
+
class: "value",
|
|
2823
|
+
style: N({ color: x.valueColor, backgroundColor: x.valueBg, borderColor: x.titleBg })
|
|
2824
|
+
}, ye(x.value || "--"), 5)
|
|
2825
|
+
], 14, Di))
|
|
2826
|
+
], 64))), 128))
|
|
2820
2827
|
], 4)
|
|
2821
2828
|
], 4)
|
|
2822
2829
|
]),
|
|
@@ -2824,7 +2831,7 @@ const $n = /* @__PURE__ */ fi(xi), wi = "data:image/svg+xml,%3c?xml%20version='1
|
|
|
2824
2831
|
], 4);
|
|
2825
2832
|
};
|
|
2826
2833
|
}
|
|
2827
|
-
})), Yi = /* @__PURE__ */ hi($i, [["__scopeId", "data-v-
|
|
2834
|
+
})), Yi = /* @__PURE__ */ hi($i, [["__scopeId", "data-v-38f6fb70"]]);
|
|
2828
2835
|
export {
|
|
2829
2836
|
Yi as default
|
|
2830
2837
|
};
|