@openc3/vue-common 6.3.0 → 6.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ArrayWidget-DkjHrXsu.cjs → ArrayWidget-Ba-YDfZB.cjs} +2 -2
- package/dist/{ArrayWidget-DkjHrXsu.cjs.map → ArrayWidget-Ba-YDfZB.cjs.map} +1 -1
- package/dist/{ArrayWidget-BbsN1dzF.js → ArrayWidget-DAZApfkV.js} +4 -4
- package/dist/{ArrayWidget-BbsN1dzF.js.map → ArrayWidget-DAZApfkV.js.map} +1 -1
- package/dist/{ArrayplotWidget-CCKEyYIx.js → ArrayplotWidget-BfsxDplv.js} +3 -3
- package/dist/{ArrayplotWidget-CCKEyYIx.js.map → ArrayplotWidget-BfsxDplv.js.map} +1 -1
- package/dist/ArrayplotWidget-Ckm4lmSc.cjs +2 -0
- package/dist/{ArrayplotWidget-COeaK_Lz.cjs.map → ArrayplotWidget-Ckm4lmSc.cjs.map} +1 -1
- package/dist/BarColumn-Cp7oEFJR.cjs +2 -0
- package/dist/{BarColumn-CJLW1nXy.cjs.map → BarColumn-Cp7oEFJR.cjs.map} +1 -1
- package/dist/{BarColumn-C6p07yWK.js → BarColumn-q0nAsvrd.js} +3 -3
- package/dist/{BarColumn-C6p07yWK.js.map → BarColumn-q0nAsvrd.js.map} +1 -1
- package/dist/{BlockWidget-BFVYgbd_.cjs → BlockWidget-DRB-TDL_.cjs} +2 -2
- package/dist/{BlockWidget-BFVYgbd_.cjs.map → BlockWidget-DRB-TDL_.cjs.map} +1 -1
- package/dist/{BlockWidget-DlCHbqZX.js → BlockWidget-SDCUWcMQ.js} +4 -4
- package/dist/{BlockWidget-DlCHbqZX.js.map → BlockWidget-SDCUWcMQ.js.map} +1 -1
- package/dist/{ButtonWidget-CtfJzCBR.js → ButtonWidget-BVMjwC19.js} +14 -14
- package/dist/{ButtonWidget-CtfJzCBR.js.map → ButtonWidget-BVMjwC19.js.map} +1 -1
- package/dist/ButtonWidget-yJ70adEU.cjs +3 -0
- package/dist/{ButtonWidget-HN8UHsme.cjs.map → ButtonWidget-yJ70adEU.cjs.map} +1 -1
- package/dist/{CanvasWidget-CHmkxxMO.cjs → CanvasWidget-DXkxnt1x.cjs} +2 -2
- package/dist/{CanvasWidget-CHmkxxMO.cjs.map → CanvasWidget-DXkxnt1x.cjs.map} +1 -1
- package/dist/{CanvasWidget-CqRlXc4r.js → CanvasWidget-bVkufjRQ.js} +2 -2
- package/dist/{CanvasWidget-CqRlXc4r.js.map → CanvasWidget-bVkufjRQ.js.map} +1 -1
- package/dist/{CanvasdotWidget-B4bUcKRc.cjs → CanvasdotWidget-Bi3nZh7g.cjs} +2 -2
- package/dist/{CanvasdotWidget-B4bUcKRc.cjs.map → CanvasdotWidget-Bi3nZh7g.cjs.map} +1 -1
- package/dist/{CanvasdotWidget--Xr_KsZs.js → CanvasdotWidget-DpniFfca.js} +2 -2
- package/dist/{CanvasdotWidget--Xr_KsZs.js.map → CanvasdotWidget-DpniFfca.js.map} +1 -1
- package/dist/{CanvasimageWidget-B5YozXoI.cjs → CanvasimageWidget-C-aBl-by.cjs} +2 -2
- package/dist/{CanvasimageWidget-B5YozXoI.cjs.map → CanvasimageWidget-C-aBl-by.cjs.map} +1 -1
- package/dist/{CanvasimageWidget-BPlj5QYK.js → CanvasimageWidget-DHOSz-dJ.js} +3 -3
- package/dist/{CanvasimageWidget-BPlj5QYK.js.map → CanvasimageWidget-DHOSz-dJ.js.map} +1 -1
- package/dist/{CanvasimagevalueWidget-Dx1HnbEw.cjs → CanvasimagevalueWidget-DAbbV-LB.cjs} +2 -2
- package/dist/{CanvasimagevalueWidget-Dx1HnbEw.cjs.map → CanvasimagevalueWidget-DAbbV-LB.cjs.map} +1 -1
- package/dist/{CanvasimagevalueWidget-DVFGLt8f.js → CanvasimagevalueWidget-zrURWWUL.js} +3 -3
- package/dist/{CanvasimagevalueWidget-DVFGLt8f.js.map → CanvasimagevalueWidget-zrURWWUL.js.map} +1 -1
- package/dist/{CanvaslabelWidget-DgadQD-D.cjs → CanvaslabelWidget-82bf_Awf.cjs} +2 -2
- package/dist/{CanvaslabelWidget-DgadQD-D.cjs.map → CanvaslabelWidget-82bf_Awf.cjs.map} +1 -1
- package/dist/{CanvaslabelWidget-CYNqmyP0.js → CanvaslabelWidget-D-XAMifp.js} +2 -2
- package/dist/{CanvaslabelWidget-CYNqmyP0.js.map → CanvaslabelWidget-D-XAMifp.js.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-B7yIDmsn.js → CanvaslabelvalueWidget-BsIdBtEb.js} +2 -2
- package/dist/{CanvaslabelvalueWidget-B7yIDmsn.js.map → CanvaslabelvalueWidget-BsIdBtEb.js.map} +1 -1
- package/dist/{CanvaslabelvalueWidget-C3k5gx5c.cjs → CanvaslabelvalueWidget-DgDzwLdi.cjs} +2 -2
- package/dist/{CanvaslabelvalueWidget-C3k5gx5c.cjs.map → CanvaslabelvalueWidget-DgDzwLdi.cjs.map} +1 -1
- package/dist/{CanvaslineWidget-CYHkes0a.cjs → CanvaslineWidget-BRRPuuqS.cjs} +2 -2
- package/dist/{CanvaslineWidget-CYHkes0a.cjs.map → CanvaslineWidget-BRRPuuqS.cjs.map} +1 -1
- package/dist/{CanvaslineWidget-BICdxX0Q.js → CanvaslineWidget-CA2aPGRg.js} +2 -2
- package/dist/{CanvaslineWidget-BICdxX0Q.js.map → CanvaslineWidget-CA2aPGRg.js.map} +1 -1
- package/dist/{CanvaslinevalueWidget-5DzhZ22p.cjs → CanvaslinevalueWidget-BYjWr2gq.cjs} +2 -2
- package/dist/{CanvaslinevalueWidget-5DzhZ22p.cjs.map → CanvaslinevalueWidget-BYjWr2gq.cjs.map} +1 -1
- package/dist/{CanvaslinevalueWidget-Cq-Ddh0P.js → CanvaslinevalueWidget-J7epKRlo.js} +2 -2
- package/dist/{CanvaslinevalueWidget-Cq-Ddh0P.js.map → CanvaslinevalueWidget-J7epKRlo.js.map} +1 -1
- package/dist/{CheckbuttonWidget-B74AWeaW.js → CheckbuttonWidget-ByH-PDRG.js} +2 -2
- package/dist/{CheckbuttonWidget-B74AWeaW.js.map → CheckbuttonWidget-ByH-PDRG.js.map} +1 -1
- package/dist/{CheckbuttonWidget-BCzsXnIF.cjs → CheckbuttonWidget-DkoFFTcM.cjs} +2 -2
- package/dist/{CheckbuttonWidget-BCzsXnIF.cjs.map → CheckbuttonWidget-DkoFFTcM.cjs.map} +1 -1
- package/dist/{ComboboxWidget-CtyKbEWb.js → ComboboxWidget-Bdm_fMzW.js} +2 -2
- package/dist/{ComboboxWidget-CtyKbEWb.js.map → ComboboxWidget-Bdm_fMzW.js.map} +1 -1
- package/dist/{ComboboxWidget-DQgDyDAC.cjs → ComboboxWidget-Dq28F4bs.cjs} +2 -2
- package/dist/{ComboboxWidget-DQgDyDAC.cjs.map → ComboboxWidget-Dq28F4bs.cjs.map} +1 -1
- package/dist/{CriticalCmdDialog-DPIZOBeP.js → CriticalCmdDialog-Bcq8PGag.js} +16 -16
- package/dist/CriticalCmdDialog-Bcq8PGag.js.map +1 -0
- package/dist/CriticalCmdDialog-CLF7hYKu.cjs +2 -0
- package/dist/CriticalCmdDialog-CLF7hYKu.cjs.map +1 -0
- package/dist/{DateWidget-BEVSczU8.js → DateWidget-BaQqthC7.js} +3 -3
- package/dist/{DateWidget-BEVSczU8.js.map → DateWidget-BaQqthC7.js.map} +1 -1
- package/dist/{DateWidget-BB4cIuUS.cjs → DateWidget-DCayVS3o.cjs} +2 -2
- package/dist/{DateWidget-BB4cIuUS.cjs.map → DateWidget-DCayVS3o.cjs.map} +1 -1
- package/dist/{DetailsDialog-DmEC5BTs.js → DetailsDialog-C5jf8o0K.js} +18 -18
- package/dist/DetailsDialog-C5jf8o0K.js.map +1 -0
- package/dist/DetailsDialog-CangkVuF.cjs +2 -0
- package/dist/DetailsDialog-CangkVuF.cjs.map +1 -0
- package/dist/{EventListDialog-CSMSmCIT.js → EventListDialog-Bniar26O.js} +513 -590
- package/dist/EventListDialog-Bniar26O.js.map +1 -0
- package/dist/EventListDialog-D_KXhGDO.cjs +2 -0
- package/dist/EventListDialog-D_KXhGDO.cjs.map +1 -0
- package/dist/FormatvalueWidget--H5B9i_Y.js +48 -0
- package/dist/FormatvalueWidget--H5B9i_Y.js.map +1 -0
- package/dist/FormatvalueWidget-CDh1rF5P.cjs +2 -0
- package/dist/FormatvalueWidget-CDh1rF5P.cjs.map +1 -0
- package/dist/Graph-DIR-5tJu.cjs +2 -0
- package/dist/Graph-DIR-5tJu.cjs.map +1 -0
- package/dist/{Graph-Bgo0cjl3.js → Graph-M382Zo8o.js} +666 -801
- package/dist/Graph-M382Zo8o.js.map +1 -0
- package/dist/{GraphWidget-sid4Ws9H.cjs → GraphWidget-CNUOLw5-.cjs} +2 -2
- package/dist/{GraphWidget-sid4Ws9H.cjs.map → GraphWidget-CNUOLw5-.cjs.map} +1 -1
- package/dist/{GraphWidget-DurWDmpg.js → GraphWidget-_YOGDD1U.js} +2 -2
- package/dist/{GraphWidget-DurWDmpg.js.map → GraphWidget-_YOGDD1U.js.map} +1 -1
- package/dist/{HorizontalWidget-_6IR0cR8.cjs → HorizontalWidget-Bix4q7It.cjs} +2 -2
- package/dist/{HorizontalWidget-_6IR0cR8.cjs.map → HorizontalWidget-Bix4q7It.cjs.map} +1 -1
- package/dist/{HorizontalWidget-Cd_wl1b3.js → HorizontalWidget-D_gzrOWs.js} +2 -2
- package/dist/{HorizontalWidget-Cd_wl1b3.js.map → HorizontalWidget-D_gzrOWs.js.map} +1 -1
- package/dist/{HorizontalboxWidget-zmnurtv1.cjs → HorizontalboxWidget-B8a4-h2J.cjs} +2 -2
- package/dist/{HorizontalboxWidget-zmnurtv1.cjs.map → HorizontalboxWidget-B8a4-h2J.cjs.map} +1 -1
- package/dist/{HorizontalboxWidget-BcMTFBU-.js → HorizontalboxWidget-GDcjO-UB.js} +5 -5
- package/dist/{HorizontalboxWidget-BcMTFBU-.js.map → HorizontalboxWidget-GDcjO-UB.js.map} +1 -1
- package/dist/{HorizontallineWidget-CM-6WqCj.cjs → HorizontallineWidget-BD6dqVhE.cjs} +2 -2
- package/dist/{HorizontallineWidget-CM-6WqCj.cjs.map → HorizontallineWidget-BD6dqVhE.cjs.map} +1 -1
- package/dist/{HorizontallineWidget-CXFqHclf.js → HorizontallineWidget-DZvOYFxf.js} +2 -2
- package/dist/{HorizontallineWidget-CXFqHclf.js.map → HorizontallineWidget-DZvOYFxf.js.map} +1 -1
- package/dist/{IframeWidget-BPerHCCa.js → IframeWidget-CuUav9b3.js} +2 -2
- package/dist/{IframeWidget-BPerHCCa.js.map → IframeWidget-CuUav9b3.js.map} +1 -1
- package/dist/{IframeWidget-EhncMob0.cjs → IframeWidget-DL_CET3B.cjs} +2 -2
- package/dist/{IframeWidget-EhncMob0.cjs.map → IframeWidget-DL_CET3B.cjs.map} +1 -1
- package/dist/{ImageLoader-4N-7Gj61.js → ImageLoader-3KLKJ5mV.js} +2 -2
- package/dist/{ImageLoader-4N-7Gj61.js.map → ImageLoader-3KLKJ5mV.js.map} +1 -1
- package/dist/ImageLoader-DaWMqoJS.cjs +2 -0
- package/dist/{ImageLoader-cRmBcpU9.cjs.map → ImageLoader-DaWMqoJS.cjs.map} +1 -1
- package/dist/{ImageviewerWidget-Cw_H_HmZ.js → ImageviewerWidget-BMZ6REN4.js} +2 -2
- package/dist/{ImageviewerWidget-Cw_H_HmZ.js.map → ImageviewerWidget-BMZ6REN4.js.map} +1 -1
- package/dist/{ImageviewerWidget-Bv3CreXd.cjs → ImageviewerWidget-_0YopZ1s.cjs} +2 -2
- package/dist/{ImageviewerWidget-Bv3CreXd.cjs.map → ImageviewerWidget-_0YopZ1s.cjs.map} +1 -1
- package/dist/InterfacesTab-DGrLsTA0.cjs +2 -0
- package/dist/InterfacesTab-DGrLsTA0.cjs.map +1 -0
- package/dist/InterfacesTab-DTixVrGo.js +83 -0
- package/dist/InterfacesTab-DTixVrGo.js.map +1 -0
- package/dist/{LabelWidget-mMcf5S8K.cjs → LabelWidget-DkZvBxYg.cjs} +2 -2
- package/dist/{LabelWidget-mMcf5S8K.cjs.map → LabelWidget-DkZvBxYg.cjs.map} +1 -1
- package/dist/{LabelWidget-xrmcVeq8.js → LabelWidget-oh6FIG6s.js} +2 -2
- package/dist/{LabelWidget-xrmcVeq8.js.map → LabelWidget-oh6FIG6s.js.map} +1 -1
- package/dist/{LabelledWidget-D48QoyMk.js → LabelledWidget-Bic36les.js} +4 -4
- package/dist/{LabelledWidget-D48QoyMk.js.map → LabelledWidget-Bic36les.js.map} +1 -1
- package/dist/{LabelledWidget-BoYCuDaH.cjs → LabelledWidget-D7nm73kj.cjs} +2 -2
- package/dist/{LabelledWidget-BoYCuDaH.cjs.map → LabelledWidget-D7nm73kj.cjs.map} +1 -1
- package/dist/{LabelprogressbarWidget-C_950t6g.js → LabelprogressbarWidget-CqIiGoDb.js} +4 -4
- package/dist/{LabelprogressbarWidget-C_950t6g.js.map → LabelprogressbarWidget-CqIiGoDb.js.map} +1 -1
- package/dist/{LabelprogressbarWidget-DiucKsT2.cjs → LabelprogressbarWidget-DY0Xd2c2.cjs} +2 -2
- package/dist/{LabelprogressbarWidget-DiucKsT2.cjs.map → LabelprogressbarWidget-DY0Xd2c2.cjs.map} +1 -1
- package/dist/{LabelsparklineWidget-0KXQyPoU.js → LabelsparklineWidget-DLhmqO02.js} +4 -4
- package/dist/{LabelsparklineWidget-0KXQyPoU.js.map → LabelsparklineWidget-DLhmqO02.js.map} +1 -1
- package/dist/{LabelsparklineWidget-A3MTEhQc.cjs → LabelsparklineWidget-DZ5-iEcK.cjs} +2 -2
- package/dist/{LabelsparklineWidget-A3MTEhQc.cjs.map → LabelsparklineWidget-DZ5-iEcK.cjs.map} +1 -1
- package/dist/{LabelvalueWidget-CQ06wWDK.js → LabelvalueWidget-BefwSSVq.js} +4 -4
- package/dist/{LabelvalueWidget-CQ06wWDK.js.map → LabelvalueWidget-BefwSSVq.js.map} +1 -1
- package/dist/{LabelvalueWidget-DnKoz0-N.cjs → LabelvalueWidget-D-u38nLh.cjs} +2 -2
- package/dist/{LabelvalueWidget-DnKoz0-N.cjs.map → LabelvalueWidget-D-u38nLh.cjs.map} +1 -1
- package/dist/LabelvaluedescWidget-DMuBCLM8.cjs +2 -0
- package/dist/{LabelvaluedescWidget-I6ljK--Y.cjs.map → LabelvaluedescWidget-DMuBCLM8.cjs.map} +1 -1
- package/dist/{LabelvaluedescWidget-Bo8zT01X.js → LabelvaluedescWidget-NxrCzznm.js} +9 -9
- package/dist/{LabelvaluedescWidget-Bo8zT01X.js.map → LabelvaluedescWidget-NxrCzznm.js.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-Cb6i_Ixc.cjs → LabelvaluelimitsbarWidget-BY212bgc.cjs} +2 -2
- package/dist/{LabelvaluelimitsbarWidget-Cb6i_Ixc.cjs.map → LabelvaluelimitsbarWidget-BY212bgc.cjs.map} +1 -1
- package/dist/{LabelvaluelimitsbarWidget-BucTw8Yk.js → LabelvaluelimitsbarWidget-pq7qoolL.js} +4 -4
- package/dist/{LabelvaluelimitsbarWidget-BucTw8Yk.js.map → LabelvaluelimitsbarWidget-pq7qoolL.js.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-ClY5OxUC.cjs → LabelvaluelimitscolumnWidget-DVLGU6ja.cjs} +2 -2
- package/dist/{LabelvaluelimitscolumnWidget-ClY5OxUC.cjs.map → LabelvaluelimitscolumnWidget-DVLGU6ja.cjs.map} +1 -1
- package/dist/{LabelvaluelimitscolumnWidget-Dflb1hNd.js → LabelvaluelimitscolumnWidget-edkpogsl.js} +5 -5
- package/dist/{LabelvaluelimitscolumnWidget-Dflb1hNd.js.map → LabelvaluelimitscolumnWidget-edkpogsl.js.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-9S5rVZaS.cjs → LabelvaluerangebarWidget-CA_7kTS2.cjs} +2 -2
- package/dist/{LabelvaluerangebarWidget-9S5rVZaS.cjs.map → LabelvaluerangebarWidget-CA_7kTS2.cjs.map} +1 -1
- package/dist/{LabelvaluerangebarWidget-D8cbfXFM.js → LabelvaluerangebarWidget-DpJNv9dh.js} +4 -4
- package/dist/{LabelvaluerangebarWidget-D8cbfXFM.js.map → LabelvaluerangebarWidget-DpJNv9dh.js.map} +1 -1
- package/dist/{Layout-Tf--nruw.js → Layout-B0hvhBQO.js} +2 -2
- package/dist/{Layout-Tf--nruw.js.map → Layout-B0hvhBQO.js.map} +1 -1
- package/dist/Layout-BLADjt_A.cjs +2 -0
- package/dist/{Layout-DuCYyOw4.cjs.map → Layout-BLADjt_A.cjs.map} +1 -1
- package/dist/{LedWidget-qH_FthkK.js → LedWidget--4eSxBnn.js} +13 -10
- package/dist/LedWidget--4eSxBnn.js.map +1 -0
- package/dist/LedWidget-BoZKOBZg.cjs +2 -0
- package/dist/LedWidget-BoZKOBZg.cjs.map +1 -0
- package/dist/{LimitsbarWidget-B9lAB2RD.js → LimitsbarWidget-BQaumgRt.js} +10 -7
- package/dist/LimitsbarWidget-BQaumgRt.js.map +1 -0
- package/dist/LimitsbarWidget-CyHbbNx3.cjs +2 -0
- package/dist/LimitsbarWidget-CyHbbNx3.cjs.map +1 -0
- package/dist/{LimitscolorWidget-c6Qa6su7.js → LimitscolorWidget-BBF9sRtF.js} +2 -2
- package/dist/{LimitscolorWidget-c6Qa6su7.js.map → LimitscolorWidget-BBF9sRtF.js.map} +1 -1
- package/dist/{LimitscolorWidget-DORhDxRo.cjs → LimitscolorWidget-CsuRoqxm.cjs} +2 -2
- package/dist/{LimitscolorWidget-DORhDxRo.cjs.map → LimitscolorWidget-CsuRoqxm.cjs.map} +1 -1
- package/dist/{LimitscolumnWidget-C9Uyg7Fh.cjs → LimitscolumnWidget-Cr1qFT8M.cjs} +2 -2
- package/dist/{LimitscolumnWidget-C9Uyg7Fh.cjs.map → LimitscolumnWidget-Cr1qFT8M.cjs.map} +1 -1
- package/dist/{LimitscolumnWidget-CcLs_443.js → LimitscolumnWidget-DZZtSoXw.js} +2 -2
- package/dist/{LimitscolumnWidget-CcLs_443.js.map → LimitscolumnWidget-DZZtSoXw.js.map} +1 -1
- package/dist/LinegraphWidget-Cw9vua8K.cjs +2 -0
- package/dist/{LinegraphWidget-Bf8DIwEn.cjs.map → LinegraphWidget-Cw9vua8K.cjs.map} +1 -1
- package/dist/{LinegraphWidget-BSVYLFo1.js → LinegraphWidget-DTLZmyWs.js} +4 -4
- package/dist/{LinegraphWidget-BSVYLFo1.js.map → LinegraphWidget-DTLZmyWs.js.map} +1 -1
- package/dist/MatrixbycolumnsWidget-Digh2kY7.cjs +2 -0
- package/dist/{MatrixbycolumnsWidget-DpdFzNeP.cjs.map → MatrixbycolumnsWidget-Digh2kY7.cjs.map} +1 -1
- package/dist/{MatrixbycolumnsWidget-DXFpZTre.js → MatrixbycolumnsWidget-dpgZz4wR.js} +3 -3
- package/dist/{MatrixbycolumnsWidget-DXFpZTre.js.map → MatrixbycolumnsWidget-dpgZz4wR.js.map} +1 -1
- package/dist/MicroservicesTab-BQywJ_ya.cjs +2 -0
- package/dist/MicroservicesTab-BQywJ_ya.cjs.map +1 -0
- package/dist/MicroservicesTab-DbL48MBc.js +219 -0
- package/dist/MicroservicesTab-DbL48MBc.js.map +1 -0
- package/dist/Openc3Screen-COi4u-9k.cjs +5 -0
- package/dist/Openc3Screen-COi4u-9k.cjs.map +1 -0
- package/dist/Openc3Screen-CtwGKfq-.js +1690 -0
- package/dist/Openc3Screen-CtwGKfq-.js.map +1 -0
- package/dist/{OutputDialog-zVPZiZay.js → OutputDialog-B5qHVyck.js} +66 -78
- package/dist/OutputDialog-B5qHVyck.js.map +1 -0
- package/dist/OutputDialog-CFhG2RY9.cjs +2 -0
- package/dist/OutputDialog-CFhG2RY9.cjs.map +1 -0
- package/dist/PackagesTab-Bw34RkLc.js +313 -0
- package/dist/PackagesTab-Bw34RkLc.js.map +1 -0
- package/dist/PackagesTab-DXSowjd4.cjs +2 -0
- package/dist/PackagesTab-DXSowjd4.cjs.map +1 -0
- package/dist/{PluginsTab-B64OvayB.js → PluginsTab-C9t0-QVm.js} +205 -244
- package/dist/PluginsTab-C9t0-QVm.js.map +1 -0
- package/dist/PluginsTab-CPaBGJMa.cjs +6 -0
- package/dist/PluginsTab-CPaBGJMa.cjs.map +1 -0
- package/dist/{ProgressbarWidget-iYGw8-Dc.js → ProgressbarWidget-7cYr8136.js} +2 -2
- package/dist/{ProgressbarWidget-iYGw8-Dc.js.map → ProgressbarWidget-7cYr8136.js.map} +1 -1
- package/dist/{ProgressbarWidget-fGWa6ipm.cjs → ProgressbarWidget-CdOWGViG.cjs} +2 -2
- package/dist/{ProgressbarWidget-fGWa6ipm.cjs.map → ProgressbarWidget-CdOWGViG.cjs.map} +1 -1
- package/dist/{RadiobuttonWidget-ZEPJbOp_.cjs → RadiobuttonWidget-5t4ofYx3.cjs} +2 -2
- package/dist/{RadiobuttonWidget-ZEPJbOp_.cjs.map → RadiobuttonWidget-5t4ofYx3.cjs.map} +1 -1
- package/dist/{RadiobuttonWidget-ytmoVZ3u.js → RadiobuttonWidget-DTfn-7F2.js} +2 -2
- package/dist/{RadiobuttonWidget-ytmoVZ3u.js.map → RadiobuttonWidget-DTfn-7F2.js.map} +1 -1
- package/dist/{RadiogroupWidget-CusMBhKH.js → RadiogroupWidget-DWvTpw94.js} +2 -2
- package/dist/{RadiogroupWidget-CusMBhKH.js.map → RadiogroupWidget-DWvTpw94.js.map} +1 -1
- package/dist/{RadiogroupWidget-EK4rEGUC.cjs → RadiogroupWidget-emxyymRZ.cjs} +2 -2
- package/dist/{RadiogroupWidget-EK4rEGUC.cjs.map → RadiogroupWidget-emxyymRZ.cjs.map} +1 -1
- package/dist/{RangebarWidget-D_zGTtCa.js → RangebarWidget-CG2Y7eYp.js} +2 -2
- package/dist/{RangebarWidget-D_zGTtCa.js.map → RangebarWidget-CG2Y7eYp.js.map} +1 -1
- package/dist/{RangebarWidget-DwIs-L5k.cjs → RangebarWidget-CLMKfbiT.cjs} +2 -2
- package/dist/{RangebarWidget-DwIs-L5k.cjs.map → RangebarWidget-CLMKfbiT.cjs.map} +1 -1
- package/dist/{RedisTab-CyPo6ADN.js → RedisTab-CvPLS0Qe.js} +13 -13
- package/dist/{RedisTab-CyPo6ADN.js.map → RedisTab-CvPLS0Qe.js.map} +1 -1
- package/dist/RedisTab-PbizvHjY.cjs +2 -0
- package/dist/{RedisTab-67UcKoPf.cjs.map → RedisTab-PbizvHjY.cjs.map} +1 -1
- package/dist/{RollupWidget-Dolsixyt.js → RollupWidget-C6HKTfCR.js} +2 -2
- package/dist/{RollupWidget-Dolsixyt.js.map → RollupWidget-C6HKTfCR.js.map} +1 -1
- package/dist/{RollupWidget-DC3OIP6G.cjs → RollupWidget-CHKUdXMx.cjs} +2 -2
- package/dist/{RollupWidget-DC3OIP6G.cjs.map → RollupWidget-CHKUdXMx.cjs.map} +1 -1
- package/dist/RoutersTab-D-ex_yMO.js +85 -0
- package/dist/RoutersTab-D-ex_yMO.js.map +1 -0
- package/dist/RoutersTab-zkaML-Xt.cjs +2 -0
- package/dist/RoutersTab-zkaML-Xt.cjs.map +1 -0
- package/dist/ScriptChooser-Dkf84RzQ.cjs +2 -0
- package/dist/ScriptChooser-Dkf84RzQ.cjs.map +1 -0
- package/dist/ScriptChooser-qiC2xQ_W.js +176 -0
- package/dist/ScriptChooser-qiC2xQ_W.js.map +1 -0
- package/dist/{ScrollwindowWidget-BWeqSUPc.cjs → ScrollwindowWidget-CVc9EXW2.cjs} +2 -2
- package/dist/{ScrollwindowWidget-BWeqSUPc.cjs.map → ScrollwindowWidget-CVc9EXW2.cjs.map} +1 -1
- package/dist/{ScrollwindowWidget-DV2nZuNi.js → ScrollwindowWidget-DvhBCYd2.js} +3 -3
- package/dist/{ScrollwindowWidget-DV2nZuNi.js.map → ScrollwindowWidget-DvhBCYd2.js.map} +1 -1
- package/dist/{SecretsTab-DVyyyGlG.js → SecretsTab-CLkJfzf-.js} +39 -49
- package/dist/SecretsTab-CLkJfzf-.js.map +1 -0
- package/dist/SecretsTab-Clw9ErBz.cjs +2 -0
- package/dist/SecretsTab-Clw9ErBz.cjs.map +1 -0
- package/dist/SettingsTab-BJ9mrQ8U.cjs +3 -0
- package/dist/{SettingsTab-B1LvOLG2.cjs.map → SettingsTab-BJ9mrQ8U.cjs.map} +1 -1
- package/dist/{SettingsTab-g29K6FyC.js → SettingsTab-CysOMBFu.js} +3 -3
- package/dist/{SettingsTab-g29K6FyC.js.map → SettingsTab-CysOMBFu.js.map} +1 -1
- package/dist/{SignalWidget-d9-6h85k.js → SignalWidget-BZIoGjam.js} +16 -18
- package/dist/SignalWidget-BZIoGjam.js.map +1 -0
- package/dist/{SignalWidget-RvRwpE8T.cjs → SignalWidget-DpNUpQNW.cjs} +2 -2
- package/dist/SignalWidget-DpNUpQNW.cjs.map +1 -0
- package/dist/SimpleTextDialog-CGStqYvO.js +97 -0
- package/dist/SimpleTextDialog-CGStqYvO.js.map +1 -0
- package/dist/SimpleTextDialog-P2KPhVHq.cjs +2 -0
- package/dist/SimpleTextDialog-P2KPhVHq.cjs.map +1 -0
- package/dist/{SpacerWidget-7_8bpLCb.cjs → SpacerWidget-CHuv4qDR.cjs} +2 -2
- package/dist/{SpacerWidget-7_8bpLCb.cjs.map → SpacerWidget-CHuv4qDR.cjs.map} +1 -1
- package/dist/{SpacerWidget-BH0p2OLi.js → SpacerWidget-YBS8RZIE.js} +2 -2
- package/dist/{SpacerWidget-BH0p2OLi.js.map → SpacerWidget-YBS8RZIE.js.map} +1 -1
- package/dist/{SparklineWidget-coxi9r2g.js → SparklineWidget-BMhY9vYe.js} +4 -4
- package/dist/{SparklineWidget-coxi9r2g.js.map → SparklineWidget-BMhY9vYe.js.map} +1 -1
- package/dist/SparklineWidget-qWQGTMwn.cjs +2 -0
- package/dist/{SparklineWidget-60jVlbHA.cjs.map → SparklineWidget-qWQGTMwn.cjs.map} +1 -1
- package/dist/{TabbookWidget-D1CVT9IK.cjs → TabbookWidget-C4jdzkQl.cjs} +2 -2
- package/dist/{TabbookWidget-D1CVT9IK.cjs.map → TabbookWidget-C4jdzkQl.cjs.map} +1 -1
- package/dist/{TabbookWidget-B1XKplGH.js → TabbookWidget-RfET19pq.js} +2 -2
- package/dist/{TabbookWidget-B1XKplGH.js.map → TabbookWidget-RfET19pq.js.map} +1 -1
- package/dist/TargetsTab-CVZR_Bp6.cjs +2 -0
- package/dist/TargetsTab-CVZR_Bp6.cjs.map +1 -0
- package/dist/TargetsTab-CfBt-dZW.js +117 -0
- package/dist/TargetsTab-CfBt-dZW.js.map +1 -0
- package/dist/TextBoxDialog-C60jmnyN.js +98 -0
- package/dist/TextBoxDialog-C60jmnyN.js.map +1 -0
- package/dist/TextBoxDialog-DWt30tB8.cjs +2 -0
- package/dist/TextBoxDialog-DWt30tB8.cjs.map +1 -0
- package/dist/TextboxWidget-Cm7-yWTZ.cjs +2 -0
- package/dist/{TextboxWidget-BDG4NxRw.cjs.map → TextboxWidget-Cm7-yWTZ.cjs.map} +1 -1
- package/dist/{TextboxWidget-C-_M2M4l.js → TextboxWidget-M8vFBSxS.js} +4 -4
- package/dist/{TextboxWidget-C-_M2M4l.js.map → TextboxWidget-M8vFBSxS.js.map} +1 -1
- package/dist/{TextfieldWidget-BGJv9Lox.cjs → TextfieldWidget-Bfk2NPtC.cjs} +2 -2
- package/dist/{TextfieldWidget-BGJv9Lox.cjs.map → TextfieldWidget-Bfk2NPtC.cjs.map} +1 -1
- package/dist/{TextfieldWidget-C08N4JE8.js → TextfieldWidget-Dev7lCsT.js} +2 -2
- package/dist/{TextfieldWidget-C08N4JE8.js.map → TextfieldWidget-Dev7lCsT.js.map} +1 -1
- package/dist/{TimeWidget-CGCOIouj.cjs → TimeWidget-BqkZJdg7.cjs} +2 -2
- package/dist/{TimeWidget-CGCOIouj.cjs.map → TimeWidget-BqkZJdg7.cjs.map} +1 -1
- package/dist/{TimeWidget-DtwdEcFg.js → TimeWidget-CQzn13rQ.js} +3 -3
- package/dist/{TimeWidget-DtwdEcFg.js.map → TimeWidget-CQzn13rQ.js.map} +1 -1
- package/dist/{TitleWidget-CT-aLcNb.js → TitleWidget-C4zbSian.js} +2 -2
- package/dist/{TitleWidget-CT-aLcNb.js.map → TitleWidget-C4zbSian.js.map} +1 -1
- package/dist/{TitleWidget-BljFH9RB.cjs → TitleWidget-DW0hJ0FE.cjs} +2 -2
- package/dist/{TitleWidget-BljFH9RB.cjs.map → TitleWidget-DW0hJ0FE.cjs.map} +1 -1
- package/dist/ToolsTab-CKeFb94Y.cjs +7 -0
- package/dist/{ToolsTab-RMTst_Sy.cjs.map → ToolsTab-CKeFb94Y.cjs.map} +1 -1
- package/dist/ToolsTab-CnhhRS3J.js +1501 -0
- package/dist/{ToolsTab-NveeVXz2.js.map → ToolsTab-CnhhRS3J.js.map} +1 -1
- package/dist/TopBar-4zZ-wYMY.cjs +2 -0
- package/dist/TopBar-4zZ-wYMY.cjs.map +1 -0
- package/dist/{TopBar-CnJNNJlV.js → TopBar-BQhv8Jcc.js} +68 -64
- package/dist/TopBar-BQhv8Jcc.js.map +1 -0
- package/dist/UpgradeToEnterpriseDialog-C0MA3Uc-.cjs +2 -0
- package/dist/UpgradeToEnterpriseDialog-C0MA3Uc-.cjs.map +1 -0
- package/dist/UpgradeToEnterpriseDialog-c6twungI.js +95 -0
- package/dist/UpgradeToEnterpriseDialog-c6twungI.js.map +1 -0
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-Bowkx8lp.cjs +1497 -0
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-Bowkx8lp.cjs.map +1 -0
- package/dist/{WidgetComponents-C1lSLZ0I.js → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CVrrWDJ_.js} +10558 -10519
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CVrrWDJ_.js.map +1 -0
- package/dist/{VWidget-DQqb7NVW.js → VWidget-iASFPjdx.js} +3 -3
- package/dist/{VWidget-DQqb7NVW.js.map → VWidget-iASFPjdx.js.map} +1 -1
- package/dist/{VWidget-2N2cOosI.cjs → VWidget-iTwRH6Qq.cjs} +2 -2
- package/dist/{VWidget-2N2cOosI.cjs.map → VWidget-iTwRH6Qq.cjs.map} +1 -1
- package/dist/{ValueWidget-C6RanBj3.js → ValueWidget-BVI6uUVX.js} +16 -14
- package/dist/ValueWidget-BVI6uUVX.js.map +1 -0
- package/dist/ValueWidget-CPuSUgn9.cjs +2 -0
- package/dist/ValueWidget-CPuSUgn9.cjs.map +1 -0
- package/dist/{ValuelimitsbarWidget-B3bvjfxc.js → ValuelimitsbarWidget-BiIcery0.js} +4 -4
- package/dist/{ValuelimitsbarWidget-B3bvjfxc.js.map → ValuelimitsbarWidget-BiIcery0.js.map} +1 -1
- package/dist/{ValuelimitsbarWidget-C0HROxrb.cjs → ValuelimitsbarWidget-CNdyobcf.cjs} +2 -2
- package/dist/{ValuelimitsbarWidget-C0HROxrb.cjs.map → ValuelimitsbarWidget-CNdyobcf.cjs.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-QvhI6EcE.js → ValuelimitscolumnWidget-BiRI8GbI.js} +4 -4
- package/dist/{ValuelimitscolumnWidget-QvhI6EcE.js.map → ValuelimitscolumnWidget-BiRI8GbI.js.map} +1 -1
- package/dist/{ValuelimitscolumnWidget-CWvLfg8u.cjs → ValuelimitscolumnWidget-Db0K4OjQ.cjs} +2 -2
- package/dist/{ValuelimitscolumnWidget-CWvLfg8u.cjs.map → ValuelimitscolumnWidget-Db0K4OjQ.cjs.map} +1 -1
- package/dist/{ValuerangebarWidget-Dt3K9BnC.js → ValuerangebarWidget-CtMFQu9-.js} +4 -4
- package/dist/{ValuerangebarWidget-Dt3K9BnC.js.map → ValuerangebarWidget-CtMFQu9-.js.map} +1 -1
- package/dist/{ValuerangebarWidget-DyN78cQl.cjs → ValuerangebarWidget-DAEr-D_E.cjs} +2 -2
- package/dist/{ValuerangebarWidget-DyN78cQl.cjs.map → ValuerangebarWidget-DAEr-D_E.cjs.map} +1 -1
- package/dist/{VerticalWidget-BIIViZgI.js → VerticalWidget-CRmcpQBn.js} +2 -2
- package/dist/{VerticalWidget-BIIViZgI.js.map → VerticalWidget-CRmcpQBn.js.map} +1 -1
- package/dist/{VerticalWidget-CFTOu4H8.cjs → VerticalWidget-YG3auPJa.cjs} +2 -2
- package/dist/{VerticalWidget-CFTOu4H8.cjs.map → VerticalWidget-YG3auPJa.cjs.map} +1 -1
- package/dist/{VerticalboxWidget-DY72fLHW.js → VerticalboxWidget-C-qChjug.js} +5 -5
- package/dist/{VerticalboxWidget-DY72fLHW.js.map → VerticalboxWidget-C-qChjug.js.map} +1 -1
- package/dist/{VerticalboxWidget-Z8-DWI8t.cjs → VerticalboxWidget-DX8-gFay.cjs} +2 -2
- package/dist/{VerticalboxWidget-Z8-DWI8t.cjs.map → VerticalboxWidget-DX8-gFay.cjs.map} +1 -1
- package/dist/{Widget-oyqWpFXJ.js → Widget-CFEnOKms.js} +3 -3
- package/dist/Widget-CFEnOKms.js.map +1 -0
- package/dist/Widget-EsyLQi_8.cjs +2 -0
- package/dist/Widget-EsyLQi_8.cjs.map +1 -0
- package/dist/components.cjs +3 -3
- package/dist/components.cjs.map +1 -1
- package/dist/components.js +285 -318
- package/dist/components.js.map +1 -1
- package/dist/index-DcL65Mqb.cjs +7 -0
- package/dist/index-DcL65Mqb.cjs.map +1 -0
- package/dist/{index-DwP8ryNM.js → index-qCq0L4jN.js} +332 -323
- package/dist/index-qCq0L4jN.js.map +1 -0
- package/dist/plugins.cjs +2 -2
- package/dist/plugins.cjs.map +1 -1
- package/dist/plugins.js +94 -89
- package/dist/plugins.js.map +1 -1
- package/dist/{timeFilters-CRYpYDdf.js → timeFilters-BKnCM4rv.js} +139 -136
- package/dist/{timeFilters-CRYpYDdf.js.map → timeFilters-BKnCM4rv.js.map} +1 -1
- package/dist/timeFilters-CJFxfjqN.cjs +2 -0
- package/dist/{timeFilters-8SaYvcH0.cjs.map → timeFilters-CJFxfjqN.cjs.map} +1 -1
- package/dist/tools/admin.cjs +10 -10
- package/dist/tools/admin.cjs.map +1 -1
- package/dist/tools/admin.js +380 -406
- package/dist/tools/admin.js.map +1 -1
- package/dist/tools/base.cjs +1 -1
- package/dist/tools/base.cjs.map +1 -1
- package/dist/tools/base.js +212 -215
- package/dist/tools/base.js.map +1 -1
- package/dist/tools/calendar.cjs +1 -1
- package/dist/tools/calendar.js +1 -1
- package/dist/tools/scriptrunner.cjs +7 -8
- package/dist/tools/scriptrunner.cjs.map +1 -1
- package/dist/tools/scriptrunner.js +2021 -2011
- package/dist/tools/scriptrunner.js.map +1 -1
- package/dist/util.cjs +1 -1
- package/dist/util.js +1 -1
- package/dist/vue-common.css +1 -1
- package/dist/widgets.cjs +1 -1
- package/dist/widgets.js +63 -63
- package/package.json +12 -12
- package/dist/ArrayplotWidget-COeaK_Lz.cjs +0 -2
- package/dist/BarColumn-CJLW1nXy.cjs +0 -2
- package/dist/ButtonWidget-HN8UHsme.cjs +0 -3
- package/dist/CriticalCmdDialog-BnxZlt7W.cjs +0 -2
- package/dist/CriticalCmdDialog-BnxZlt7W.cjs.map +0 -1
- package/dist/CriticalCmdDialog-DPIZOBeP.js.map +0 -1
- package/dist/DetailsDialog-DmEC5BTs.js.map +0 -1
- package/dist/DetailsDialog-mvxMFmgV.cjs +0 -2
- package/dist/DetailsDialog-mvxMFmgV.cjs.map +0 -1
- package/dist/EventListDialog-BHZLl28V.cjs +0 -2
- package/dist/EventListDialog-BHZLl28V.cjs.map +0 -1
- package/dist/EventListDialog-CSMSmCIT.js.map +0 -1
- package/dist/FormatvalueWidget-CdjCEAI7.cjs +0 -2
- package/dist/FormatvalueWidget-CdjCEAI7.cjs.map +0 -1
- package/dist/FormatvalueWidget-DN12xymS.js +0 -44
- package/dist/FormatvalueWidget-DN12xymS.js.map +0 -1
- package/dist/Graph-Bgo0cjl3.js.map +0 -1
- package/dist/Graph-Ujd2yaeI.cjs +0 -2
- package/dist/Graph-Ujd2yaeI.cjs.map +0 -1
- package/dist/ImageLoader-cRmBcpU9.cjs +0 -2
- package/dist/InterfacesTab-B4glsR9Z.js +0 -93
- package/dist/InterfacesTab-B4glsR9Z.js.map +0 -1
- package/dist/InterfacesTab-Co1Kd6Fa.cjs +0 -2
- package/dist/InterfacesTab-Co1Kd6Fa.cjs.map +0 -1
- package/dist/LabelvaluedescWidget-I6ljK--Y.cjs +0 -2
- package/dist/Layout-DuCYyOw4.cjs +0 -2
- package/dist/LedWidget-B2BcwiYF.cjs +0 -2
- package/dist/LedWidget-B2BcwiYF.cjs.map +0 -1
- package/dist/LedWidget-qH_FthkK.js.map +0 -1
- package/dist/LimitsbarWidget-B9lAB2RD.js.map +0 -1
- package/dist/LimitsbarWidget-CVCLFIhG.cjs +0 -2
- package/dist/LimitsbarWidget-CVCLFIhG.cjs.map +0 -1
- package/dist/LinegraphWidget-Bf8DIwEn.cjs +0 -2
- package/dist/MatrixbycolumnsWidget-DpdFzNeP.cjs +0 -2
- package/dist/MicroservicesTab-B5n-mN8G.cjs +0 -2
- package/dist/MicroservicesTab-B5n-mN8G.cjs.map +0 -1
- package/dist/MicroservicesTab-mCdS0v39.js +0 -264
- package/dist/MicroservicesTab-mCdS0v39.js.map +0 -1
- package/dist/Openc3Screen-BYhHaH_I.cjs +0 -5
- package/dist/Openc3Screen-BYhHaH_I.cjs.map +0 -1
- package/dist/Openc3Screen-Cud0OCFu.js +0 -1789
- package/dist/Openc3Screen-Cud0OCFu.js.map +0 -1
- package/dist/OutputDialog-DXoL9VPw.cjs +0 -2
- package/dist/OutputDialog-DXoL9VPw.cjs.map +0 -1
- package/dist/OutputDialog-zVPZiZay.js.map +0 -1
- package/dist/PackagesTab-CvT2JyMA.cjs +0 -2
- package/dist/PackagesTab-CvT2JyMA.cjs.map +0 -1
- package/dist/PackagesTab-SWcXumpK.js +0 -332
- package/dist/PackagesTab-SWcXumpK.js.map +0 -1
- package/dist/PluginsTab-B64OvayB.js.map +0 -1
- package/dist/PluginsTab-CfpwWsqv.cjs +0 -6
- package/dist/PluginsTab-CfpwWsqv.cjs.map +0 -1
- package/dist/RedisTab-67UcKoPf.cjs +0 -2
- package/dist/RoutersTab-BBPlFi_z.cjs +0 -2
- package/dist/RoutersTab-BBPlFi_z.cjs.map +0 -1
- package/dist/RoutersTab-Cs2dFVNA.js +0 -95
- package/dist/RoutersTab-Cs2dFVNA.js.map +0 -1
- package/dist/ScriptChooser-EV65rbWx.js +0 -199
- package/dist/ScriptChooser-EV65rbWx.js.map +0 -1
- package/dist/ScriptChooser-vyZwngrz.cjs +0 -2
- package/dist/ScriptChooser-vyZwngrz.cjs.map +0 -1
- package/dist/SecretsTab-0IFqUxNJ.cjs +0 -2
- package/dist/SecretsTab-0IFqUxNJ.cjs.map +0 -1
- package/dist/SecretsTab-DVyyyGlG.js.map +0 -1
- package/dist/SettingsTab-B1LvOLG2.cjs +0 -3
- package/dist/SignalWidget-RvRwpE8T.cjs.map +0 -1
- package/dist/SignalWidget-d9-6h85k.js.map +0 -1
- package/dist/SimpleTextDialog-Cpbt7Q-8.cjs +0 -2
- package/dist/SimpleTextDialog-Cpbt7Q-8.cjs.map +0 -1
- package/dist/SimpleTextDialog-pwN8oRy1.js +0 -107
- package/dist/SimpleTextDialog-pwN8oRy1.js.map +0 -1
- package/dist/SparklineWidget-60jVlbHA.cjs +0 -2
- package/dist/TargetsTab-BkBkXn9A.js +0 -129
- package/dist/TargetsTab-BkBkXn9A.js.map +0 -1
- package/dist/TargetsTab-C-m26Eqq.cjs +0 -2
- package/dist/TargetsTab-C-m26Eqq.cjs.map +0 -1
- package/dist/TextBoxDialog-DOJ5d2RM.js +0 -110
- package/dist/TextBoxDialog-DOJ5d2RM.js.map +0 -1
- package/dist/TextBoxDialog-DfMXg_5C.cjs +0 -2
- package/dist/TextBoxDialog-DfMXg_5C.cjs.map +0 -1
- package/dist/TextboxWidget-BDG4NxRw.cjs +0 -2
- package/dist/ToolsTab-NveeVXz2.js +0 -1521
- package/dist/ToolsTab-RMTst_Sy.cjs +0 -7
- package/dist/TopBar-CnJNNJlV.js.map +0 -1
- package/dist/TopBar-Cnmb6DyC.cjs +0 -2
- package/dist/TopBar-Cnmb6DyC.cjs.map +0 -1
- package/dist/UpgradeToEnterpriseDialog-BvfgoNB1.js +0 -94
- package/dist/UpgradeToEnterpriseDialog-BvfgoNB1.js.map +0 -1
- package/dist/UpgradeToEnterpriseDialog-sUipOVpB.cjs +0 -2
- package/dist/UpgradeToEnterpriseDialog-sUipOVpB.cjs.map +0 -1
- package/dist/ValueWidget-C6RanBj3.js.map +0 -1
- package/dist/ValueWidget-Cu7hgKja.cjs +0 -2
- package/dist/ValueWidget-Cu7hgKja.cjs.map +0 -1
- package/dist/Widget-ChoIB2dd.cjs +0 -2
- package/dist/Widget-ChoIB2dd.cjs.map +0 -1
- package/dist/Widget-oyqWpFXJ.js.map +0 -1
- package/dist/WidgetComponents-C1lSLZ0I.js.map +0 -1
- package/dist/WidgetComponents-utpQ592X.cjs +0 -1493
- package/dist/WidgetComponents-utpQ592X.cjs.map +0 -1
- package/dist/index-BX05anye.cjs +0 -7
- package/dist/index-BX05anye.cjs.map +0 -1
- package/dist/index-DwP8ryNM.js.map +0 -1
- package/dist/timeFilters-8SaYvcH0.cjs +0 -2
|
@@ -0,0 +1,1501 @@
|
|
|
1
|
+
import { l as de } from "./UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CVrrWDJ_.js";
|
|
2
|
+
import { resolveComponent as z, createElementBlock as qe, openBlock as Ee, createVNode as N, createElementVNode as Vt, createBlock as gt, createCommentVNode as mt, withCtx as W, createTextVNode as Je, toDisplayString as vt, Fragment as jt, renderList as Gt, normalizeClass as zt } from "vue";
|
|
3
|
+
import { _ as Ut } from "./CustomIcon-h5X7369N.js";
|
|
4
|
+
import "single-spa";
|
|
5
|
+
import { O as $t } from "./OutputDialog-B5qHVyck.js";
|
|
6
|
+
/**!
|
|
7
|
+
* Sortable 1.15.6
|
|
8
|
+
* @author RubaXa <trash@rubaxa.org>
|
|
9
|
+
* @author owenm <owen23355@gmail.com>
|
|
10
|
+
* @license MIT
|
|
11
|
+
*/
|
|
12
|
+
function bt(t, e) {
|
|
13
|
+
var n = Object.keys(t);
|
|
14
|
+
if (Object.getOwnPropertySymbols) {
|
|
15
|
+
var o = Object.getOwnPropertySymbols(t);
|
|
16
|
+
e && (o = o.filter(function(i) {
|
|
17
|
+
return Object.getOwnPropertyDescriptor(t, i).enumerable;
|
|
18
|
+
})), n.push.apply(n, o);
|
|
19
|
+
}
|
|
20
|
+
return n;
|
|
21
|
+
}
|
|
22
|
+
function $(t) {
|
|
23
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
24
|
+
var n = arguments[e] != null ? arguments[e] : {};
|
|
25
|
+
e % 2 ? bt(Object(n), !0).forEach(function(o) {
|
|
26
|
+
qt(t, o, n[o]);
|
|
27
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : bt(Object(n)).forEach(function(o) {
|
|
28
|
+
Object.defineProperty(t, o, Object.getOwnPropertyDescriptor(n, o));
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
return t;
|
|
32
|
+
}
|
|
33
|
+
function Xe(t) {
|
|
34
|
+
"@babel/helpers - typeof";
|
|
35
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Xe = function(e) {
|
|
36
|
+
return typeof e;
|
|
37
|
+
} : Xe = function(e) {
|
|
38
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
39
|
+
}, Xe(t);
|
|
40
|
+
}
|
|
41
|
+
function qt(t, e, n) {
|
|
42
|
+
return e in t ? Object.defineProperty(t, e, {
|
|
43
|
+
value: n,
|
|
44
|
+
enumerable: !0,
|
|
45
|
+
configurable: !0,
|
|
46
|
+
writable: !0
|
|
47
|
+
}) : t[e] = n, t;
|
|
48
|
+
}
|
|
49
|
+
function K() {
|
|
50
|
+
return K = Object.assign || function(t) {
|
|
51
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
52
|
+
var n = arguments[e];
|
|
53
|
+
for (var o in n)
|
|
54
|
+
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
55
|
+
}
|
|
56
|
+
return t;
|
|
57
|
+
}, K.apply(this, arguments);
|
|
58
|
+
}
|
|
59
|
+
function Jt(t, e) {
|
|
60
|
+
if (t == null) return {};
|
|
61
|
+
var n = {}, o = Object.keys(t), i, r;
|
|
62
|
+
for (r = 0; r < o.length; r++)
|
|
63
|
+
i = o[r], !(e.indexOf(i) >= 0) && (n[i] = t[i]);
|
|
64
|
+
return n;
|
|
65
|
+
}
|
|
66
|
+
function Kt(t, e) {
|
|
67
|
+
if (t == null) return {};
|
|
68
|
+
var n = Jt(t, e), o, i;
|
|
69
|
+
if (Object.getOwnPropertySymbols) {
|
|
70
|
+
var r = Object.getOwnPropertySymbols(t);
|
|
71
|
+
for (i = 0; i < r.length; i++)
|
|
72
|
+
o = r[i], !(e.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(t, o) && (n[o] = t[o]);
|
|
73
|
+
}
|
|
74
|
+
return n;
|
|
75
|
+
}
|
|
76
|
+
var Zt = "1.15.6";
|
|
77
|
+
function J(t) {
|
|
78
|
+
if (typeof window < "u" && window.navigator)
|
|
79
|
+
return !!/* @__PURE__ */ navigator.userAgent.match(t);
|
|
80
|
+
}
|
|
81
|
+
var Z = J(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ne = J(/Edge/i), _t = J(/firefox/i), Ce = J(/safari/i) && !J(/chrome/i) && !J(/android/i), dt = J(/iP(ad|od|hone)/i), Ot = J(/chrome/i) && J(/android/i), It = {
|
|
82
|
+
capture: !1,
|
|
83
|
+
passive: !1
|
|
84
|
+
};
|
|
85
|
+
function _(t, e, n) {
|
|
86
|
+
t.addEventListener(e, n, !Z && It);
|
|
87
|
+
}
|
|
88
|
+
function v(t, e, n) {
|
|
89
|
+
t.removeEventListener(e, n, !Z && It);
|
|
90
|
+
}
|
|
91
|
+
function Ve(t, e) {
|
|
92
|
+
if (e) {
|
|
93
|
+
if (e[0] === ">" && (e = e.substring(1)), t)
|
|
94
|
+
try {
|
|
95
|
+
if (t.matches)
|
|
96
|
+
return t.matches(e);
|
|
97
|
+
if (t.msMatchesSelector)
|
|
98
|
+
return t.msMatchesSelector(e);
|
|
99
|
+
if (t.webkitMatchesSelector)
|
|
100
|
+
return t.webkitMatchesSelector(e);
|
|
101
|
+
} catch {
|
|
102
|
+
return !1;
|
|
103
|
+
}
|
|
104
|
+
return !1;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
function At(t) {
|
|
108
|
+
return t.host && t !== document && t.host.nodeType ? t.host : t.parentNode;
|
|
109
|
+
}
|
|
110
|
+
function j(t, e, n, o) {
|
|
111
|
+
if (t) {
|
|
112
|
+
n = n || document;
|
|
113
|
+
do {
|
|
114
|
+
if (e != null && (e[0] === ">" ? t.parentNode === n && Ve(t, e) : Ve(t, e)) || o && t === n)
|
|
115
|
+
return t;
|
|
116
|
+
if (t === n) break;
|
|
117
|
+
} while (t = At(t));
|
|
118
|
+
}
|
|
119
|
+
return null;
|
|
120
|
+
}
|
|
121
|
+
var wt = /\s+/g;
|
|
122
|
+
function B(t, e, n) {
|
|
123
|
+
if (t && e)
|
|
124
|
+
if (t.classList)
|
|
125
|
+
t.classList[n ? "add" : "remove"](e);
|
|
126
|
+
else {
|
|
127
|
+
var o = (" " + t.className + " ").replace(wt, " ").replace(" " + e + " ", " ");
|
|
128
|
+
t.className = (o + (n ? " " + e : "")).replace(wt, " ");
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
function h(t, e, n) {
|
|
132
|
+
var o = t && t.style;
|
|
133
|
+
if (o) {
|
|
134
|
+
if (n === void 0)
|
|
135
|
+
return document.defaultView && document.defaultView.getComputedStyle ? n = document.defaultView.getComputedStyle(t, "") : t.currentStyle && (n = t.currentStyle), e === void 0 ? n : n[e];
|
|
136
|
+
!(e in o) && e.indexOf("webkit") === -1 && (e = "-webkit-" + e), o[e] = n + (typeof n == "string" ? "" : "px");
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
function ge(t, e) {
|
|
140
|
+
var n = "";
|
|
141
|
+
if (typeof t == "string")
|
|
142
|
+
n = t;
|
|
143
|
+
else
|
|
144
|
+
do {
|
|
145
|
+
var o = h(t, "transform");
|
|
146
|
+
o && o !== "none" && (n = o + " " + n);
|
|
147
|
+
} while (!e && (t = t.parentNode));
|
|
148
|
+
var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
|
|
149
|
+
return i && new i(n);
|
|
150
|
+
}
|
|
151
|
+
function xt(t, e, n) {
|
|
152
|
+
if (t) {
|
|
153
|
+
var o = t.getElementsByTagName(e), i = 0, r = o.length;
|
|
154
|
+
if (n)
|
|
155
|
+
for (; i < r; i++)
|
|
156
|
+
n(o[i], i);
|
|
157
|
+
return o;
|
|
158
|
+
}
|
|
159
|
+
return [];
|
|
160
|
+
}
|
|
161
|
+
function U() {
|
|
162
|
+
var t = document.scrollingElement;
|
|
163
|
+
return t || document.documentElement;
|
|
164
|
+
}
|
|
165
|
+
function O(t, e, n, o, i) {
|
|
166
|
+
if (!(!t.getBoundingClientRect && t !== window)) {
|
|
167
|
+
var r, a, l, s, u, f, c;
|
|
168
|
+
if (t !== window && t.parentNode && t !== U() ? (r = t.getBoundingClientRect(), a = r.top, l = r.left, s = r.bottom, u = r.right, f = r.height, c = r.width) : (a = 0, l = 0, s = window.innerHeight, u = window.innerWidth, f = window.innerHeight, c = window.innerWidth), (e || n) && t !== window && (i = i || t.parentNode, !Z))
|
|
169
|
+
do
|
|
170
|
+
if (i && i.getBoundingClientRect && (h(i, "transform") !== "none" || n && h(i, "position") !== "static")) {
|
|
171
|
+
var m = i.getBoundingClientRect();
|
|
172
|
+
a -= m.top + parseInt(h(i, "border-top-width")), l -= m.left + parseInt(h(i, "border-left-width")), s = a + r.height, u = l + r.width;
|
|
173
|
+
break;
|
|
174
|
+
}
|
|
175
|
+
while (i = i.parentNode);
|
|
176
|
+
if (o && t !== window) {
|
|
177
|
+
var y = ge(i || t), b = y && y.a, w = y && y.d;
|
|
178
|
+
y && (a /= w, l /= b, c /= b, f /= w, s = a + f, u = l + c);
|
|
179
|
+
}
|
|
180
|
+
return {
|
|
181
|
+
top: a,
|
|
182
|
+
left: l,
|
|
183
|
+
bottom: s,
|
|
184
|
+
right: u,
|
|
185
|
+
width: c,
|
|
186
|
+
height: f
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
function yt(t, e, n) {
|
|
191
|
+
for (var o = oe(t, !0), i = O(t)[e]; o; ) {
|
|
192
|
+
var r = O(o)[n], a = void 0;
|
|
193
|
+
if (a = i >= r, !a) return o;
|
|
194
|
+
if (o === U()) break;
|
|
195
|
+
o = oe(o, !1);
|
|
196
|
+
}
|
|
197
|
+
return !1;
|
|
198
|
+
}
|
|
199
|
+
function me(t, e, n, o) {
|
|
200
|
+
for (var i = 0, r = 0, a = t.children; r < a.length; ) {
|
|
201
|
+
if (a[r].style.display !== "none" && a[r] !== p.ghost && (o || a[r] !== p.dragged) && j(a[r], n.draggable, t, !1)) {
|
|
202
|
+
if (i === e)
|
|
203
|
+
return a[r];
|
|
204
|
+
i++;
|
|
205
|
+
}
|
|
206
|
+
r++;
|
|
207
|
+
}
|
|
208
|
+
return null;
|
|
209
|
+
}
|
|
210
|
+
function ct(t, e) {
|
|
211
|
+
for (var n = t.lastElementChild; n && (n === p.ghost || h(n, "display") === "none" || e && !Ve(n, e)); )
|
|
212
|
+
n = n.previousElementSibling;
|
|
213
|
+
return n || null;
|
|
214
|
+
}
|
|
215
|
+
function L(t, e) {
|
|
216
|
+
var n = 0;
|
|
217
|
+
if (!t || !t.parentNode)
|
|
218
|
+
return -1;
|
|
219
|
+
for (; t = t.previousElementSibling; )
|
|
220
|
+
t.nodeName.toUpperCase() !== "TEMPLATE" && t !== p.clone && (!e || Ve(t, e)) && n++;
|
|
221
|
+
return n;
|
|
222
|
+
}
|
|
223
|
+
function Et(t) {
|
|
224
|
+
var e = 0, n = 0, o = U();
|
|
225
|
+
if (t)
|
|
226
|
+
do {
|
|
227
|
+
var i = ge(t), r = i.a, a = i.d;
|
|
228
|
+
e += t.scrollLeft * r, n += t.scrollTop * a;
|
|
229
|
+
} while (t !== o && (t = t.parentNode));
|
|
230
|
+
return [e, n];
|
|
231
|
+
}
|
|
232
|
+
function Qt(t, e) {
|
|
233
|
+
for (var n in t)
|
|
234
|
+
if (t.hasOwnProperty(n)) {
|
|
235
|
+
for (var o in e)
|
|
236
|
+
if (e.hasOwnProperty(o) && e[o] === t[n][o]) return Number(n);
|
|
237
|
+
}
|
|
238
|
+
return -1;
|
|
239
|
+
}
|
|
240
|
+
function oe(t, e) {
|
|
241
|
+
if (!t || !t.getBoundingClientRect) return U();
|
|
242
|
+
var n = t, o = !1;
|
|
243
|
+
do
|
|
244
|
+
if (n.clientWidth < n.scrollWidth || n.clientHeight < n.scrollHeight) {
|
|
245
|
+
var i = h(n);
|
|
246
|
+
if (n.clientWidth < n.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || n.clientHeight < n.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
|
|
247
|
+
if (!n.getBoundingClientRect || n === document.body) return U();
|
|
248
|
+
if (o || e) return n;
|
|
249
|
+
o = !0;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
while (n = n.parentNode);
|
|
253
|
+
return U();
|
|
254
|
+
}
|
|
255
|
+
function en(t, e) {
|
|
256
|
+
if (t && e)
|
|
257
|
+
for (var n in e)
|
|
258
|
+
e.hasOwnProperty(n) && (t[n] = e[n]);
|
|
259
|
+
return t;
|
|
260
|
+
}
|
|
261
|
+
function Ke(t, e) {
|
|
262
|
+
return Math.round(t.top) === Math.round(e.top) && Math.round(t.left) === Math.round(e.left) && Math.round(t.height) === Math.round(e.height) && Math.round(t.width) === Math.round(e.width);
|
|
263
|
+
}
|
|
264
|
+
var Oe;
|
|
265
|
+
function Nt(t, e) {
|
|
266
|
+
return function() {
|
|
267
|
+
if (!Oe) {
|
|
268
|
+
var n = arguments, o = this;
|
|
269
|
+
n.length === 1 ? t.call(o, n[0]) : t.apply(o, n), Oe = setTimeout(function() {
|
|
270
|
+
Oe = void 0;
|
|
271
|
+
}, e);
|
|
272
|
+
}
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
function tn() {
|
|
276
|
+
clearTimeout(Oe), Oe = void 0;
|
|
277
|
+
}
|
|
278
|
+
function Pt(t, e, n) {
|
|
279
|
+
t.scrollLeft += e, t.scrollTop += n;
|
|
280
|
+
}
|
|
281
|
+
function Ft(t) {
|
|
282
|
+
var e = window.Polymer, n = window.jQuery || window.Zepto;
|
|
283
|
+
return e && e.dom ? e.dom(t).cloneNode(!0) : n ? n(t).clone(!0)[0] : t.cloneNode(!0);
|
|
284
|
+
}
|
|
285
|
+
function Mt(t, e, n) {
|
|
286
|
+
var o = {};
|
|
287
|
+
return Array.from(t.children).forEach(function(i) {
|
|
288
|
+
var r, a, l, s;
|
|
289
|
+
if (!(!j(i, e.draggable, t, !1) || i.animated || i === n)) {
|
|
290
|
+
var u = O(i);
|
|
291
|
+
o.left = Math.min((r = o.left) !== null && r !== void 0 ? r : 1 / 0, u.left), o.top = Math.min((a = o.top) !== null && a !== void 0 ? a : 1 / 0, u.top), o.right = Math.max((l = o.right) !== null && l !== void 0 ? l : -1 / 0, u.right), o.bottom = Math.max((s = o.bottom) !== null && s !== void 0 ? s : -1 / 0, u.bottom);
|
|
292
|
+
}
|
|
293
|
+
}), o.width = o.right - o.left, o.height = o.bottom - o.top, o.x = o.left, o.y = o.top, o;
|
|
294
|
+
}
|
|
295
|
+
var M = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
|
|
296
|
+
function nn() {
|
|
297
|
+
var t = [], e;
|
|
298
|
+
return {
|
|
299
|
+
captureAnimationState: function() {
|
|
300
|
+
if (t = [], !!this.options.animation) {
|
|
301
|
+
var o = [].slice.call(this.el.children);
|
|
302
|
+
o.forEach(function(i) {
|
|
303
|
+
if (!(h(i, "display") === "none" || i === p.ghost)) {
|
|
304
|
+
t.push({
|
|
305
|
+
target: i,
|
|
306
|
+
rect: O(i)
|
|
307
|
+
});
|
|
308
|
+
var r = $({}, t[t.length - 1].rect);
|
|
309
|
+
if (i.thisAnimationDuration) {
|
|
310
|
+
var a = ge(i, !0);
|
|
311
|
+
a && (r.top -= a.f, r.left -= a.e);
|
|
312
|
+
}
|
|
313
|
+
i.fromRect = r;
|
|
314
|
+
}
|
|
315
|
+
});
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
addAnimationState: function(o) {
|
|
319
|
+
t.push(o);
|
|
320
|
+
},
|
|
321
|
+
removeAnimationState: function(o) {
|
|
322
|
+
t.splice(Qt(t, {
|
|
323
|
+
target: o
|
|
324
|
+
}), 1);
|
|
325
|
+
},
|
|
326
|
+
animateAll: function(o) {
|
|
327
|
+
var i = this;
|
|
328
|
+
if (!this.options.animation) {
|
|
329
|
+
clearTimeout(e), typeof o == "function" && o();
|
|
330
|
+
return;
|
|
331
|
+
}
|
|
332
|
+
var r = !1, a = 0;
|
|
333
|
+
t.forEach(function(l) {
|
|
334
|
+
var s = 0, u = l.target, f = u.fromRect, c = O(u), m = u.prevFromRect, y = u.prevToRect, b = l.rect, w = ge(u, !0);
|
|
335
|
+
w && (c.top -= w.f, c.left -= w.e), u.toRect = c, u.thisAnimationDuration && Ke(m, c) && !Ke(f, c) && // Make sure animatingRect is on line between toRect & fromRect
|
|
336
|
+
(b.top - c.top) / (b.left - c.left) === (f.top - c.top) / (f.left - c.left) && (s = rn(b, m, y, i.options)), Ke(c, f) || (u.prevFromRect = f, u.prevToRect = c, s || (s = i.options.animation), i.animate(u, b, c, s)), s && (r = !0, a = Math.max(a, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
|
|
337
|
+
u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
|
|
338
|
+
}, s), u.thisAnimationDuration = s);
|
|
339
|
+
}), clearTimeout(e), r ? e = setTimeout(function() {
|
|
340
|
+
typeof o == "function" && o();
|
|
341
|
+
}, a) : typeof o == "function" && o(), t = [];
|
|
342
|
+
},
|
|
343
|
+
animate: function(o, i, r, a) {
|
|
344
|
+
if (a) {
|
|
345
|
+
h(o, "transition", ""), h(o, "transform", "");
|
|
346
|
+
var l = ge(this.el), s = l && l.a, u = l && l.d, f = (i.left - r.left) / (s || 1), c = (i.top - r.top) / (u || 1);
|
|
347
|
+
o.animatingX = !!f, o.animatingY = !!c, h(o, "transform", "translate3d(" + f + "px," + c + "px,0)"), this.forRepaintDummy = on(o), h(o, "transition", "transform " + a + "ms" + (this.options.easing ? " " + this.options.easing : "")), h(o, "transform", "translate3d(0,0,0)"), typeof o.animated == "number" && clearTimeout(o.animated), o.animated = setTimeout(function() {
|
|
348
|
+
h(o, "transition", ""), h(o, "transform", ""), o.animated = !1, o.animatingX = !1, o.animatingY = !1;
|
|
349
|
+
}, a);
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
};
|
|
353
|
+
}
|
|
354
|
+
function on(t) {
|
|
355
|
+
return t.offsetWidth;
|
|
356
|
+
}
|
|
357
|
+
function rn(t, e, n, o) {
|
|
358
|
+
return Math.sqrt(Math.pow(e.top - t.top, 2) + Math.pow(e.left - t.left, 2)) / Math.sqrt(Math.pow(e.top - n.top, 2) + Math.pow(e.left - n.left, 2)) * o.animation;
|
|
359
|
+
}
|
|
360
|
+
var ce = [], Ze = {
|
|
361
|
+
initializeByDefault: !0
|
|
362
|
+
}, Pe = {
|
|
363
|
+
mount: function(e) {
|
|
364
|
+
for (var n in Ze)
|
|
365
|
+
Ze.hasOwnProperty(n) && !(n in e) && (e[n] = Ze[n]);
|
|
366
|
+
ce.forEach(function(o) {
|
|
367
|
+
if (o.pluginName === e.pluginName)
|
|
368
|
+
throw "Sortable: Cannot mount plugin ".concat(e.pluginName, " more than once");
|
|
369
|
+
}), ce.push(e);
|
|
370
|
+
},
|
|
371
|
+
pluginEvent: function(e, n, o) {
|
|
372
|
+
var i = this;
|
|
373
|
+
this.eventCanceled = !1, o.cancel = function() {
|
|
374
|
+
i.eventCanceled = !0;
|
|
375
|
+
};
|
|
376
|
+
var r = e + "Global";
|
|
377
|
+
ce.forEach(function(a) {
|
|
378
|
+
n[a.pluginName] && (n[a.pluginName][r] && n[a.pluginName][r]($({
|
|
379
|
+
sortable: n
|
|
380
|
+
}, o)), n.options[a.pluginName] && n[a.pluginName][e] && n[a.pluginName][e]($({
|
|
381
|
+
sortable: n
|
|
382
|
+
}, o)));
|
|
383
|
+
});
|
|
384
|
+
},
|
|
385
|
+
initializePlugins: function(e, n, o, i) {
|
|
386
|
+
ce.forEach(function(l) {
|
|
387
|
+
var s = l.pluginName;
|
|
388
|
+
if (!(!e.options[s] && !l.initializeByDefault)) {
|
|
389
|
+
var u = new l(e, n, e.options);
|
|
390
|
+
u.sortable = e, u.options = e.options, e[s] = u, K(o, u.defaults);
|
|
391
|
+
}
|
|
392
|
+
});
|
|
393
|
+
for (var r in e.options)
|
|
394
|
+
if (e.options.hasOwnProperty(r)) {
|
|
395
|
+
var a = this.modifyOption(e, r, e.options[r]);
|
|
396
|
+
typeof a < "u" && (e.options[r] = a);
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
getEventProperties: function(e, n) {
|
|
400
|
+
var o = {};
|
|
401
|
+
return ce.forEach(function(i) {
|
|
402
|
+
typeof i.eventProperties == "function" && K(o, i.eventProperties.call(n[i.pluginName], e));
|
|
403
|
+
}), o;
|
|
404
|
+
},
|
|
405
|
+
modifyOption: function(e, n, o) {
|
|
406
|
+
var i;
|
|
407
|
+
return ce.forEach(function(r) {
|
|
408
|
+
e[r.pluginName] && r.optionListeners && typeof r.optionListeners[n] == "function" && (i = r.optionListeners[n].call(e[r.pluginName], o));
|
|
409
|
+
}), i;
|
|
410
|
+
}
|
|
411
|
+
};
|
|
412
|
+
function an(t) {
|
|
413
|
+
var e = t.sortable, n = t.rootEl, o = t.name, i = t.targetEl, r = t.cloneEl, a = t.toEl, l = t.fromEl, s = t.oldIndex, u = t.newIndex, f = t.oldDraggableIndex, c = t.newDraggableIndex, m = t.originalEvent, y = t.putSortable, b = t.extraEventProperties;
|
|
414
|
+
if (e = e || n && n[M], !!e) {
|
|
415
|
+
var w, E = e.options, Y = "on" + o.charAt(0).toUpperCase() + o.substr(1);
|
|
416
|
+
window.CustomEvent && !Z && !Ne ? w = new CustomEvent(o, {
|
|
417
|
+
bubbles: !0,
|
|
418
|
+
cancelable: !0
|
|
419
|
+
}) : (w = document.createEvent("Event"), w.initEvent(o, !0, !0)), w.to = a || n, w.from = l || n, w.item = i || n, w.clone = r, w.oldIndex = s, w.newIndex = u, w.oldDraggableIndex = f, w.newDraggableIndex = c, w.originalEvent = m, w.pullMode = y ? y.lastPutMode : void 0;
|
|
420
|
+
var I = $($({}, b), Pe.getEventProperties(o, e));
|
|
421
|
+
for (var H in I)
|
|
422
|
+
w[H] = I[H];
|
|
423
|
+
n && n.dispatchEvent(w), E[Y] && E[Y].call(e, w);
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
var ln = ["evt"], F = function(e, n) {
|
|
427
|
+
var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = o.evt, r = Kt(o, ln);
|
|
428
|
+
Pe.pluginEvent.bind(p)(e, n, $({
|
|
429
|
+
dragEl: d,
|
|
430
|
+
parentEl: T,
|
|
431
|
+
ghostEl: g,
|
|
432
|
+
rootEl: D,
|
|
433
|
+
nextEl: ue,
|
|
434
|
+
lastDownEl: Ye,
|
|
435
|
+
cloneEl: S,
|
|
436
|
+
cloneHidden: ne,
|
|
437
|
+
dragStarted: De,
|
|
438
|
+
putSortable: A,
|
|
439
|
+
activeSortable: p.active,
|
|
440
|
+
originalEvent: i,
|
|
441
|
+
oldIndex: pe,
|
|
442
|
+
oldDraggableIndex: Ie,
|
|
443
|
+
newIndex: X,
|
|
444
|
+
newDraggableIndex: te,
|
|
445
|
+
hideGhostForTarget: Xt,
|
|
446
|
+
unhideGhostForTarget: Yt,
|
|
447
|
+
cloneNowHidden: function() {
|
|
448
|
+
ne = !0;
|
|
449
|
+
},
|
|
450
|
+
cloneNowShown: function() {
|
|
451
|
+
ne = !1;
|
|
452
|
+
},
|
|
453
|
+
dispatchSortableEvent: function(l) {
|
|
454
|
+
P({
|
|
455
|
+
sortable: n,
|
|
456
|
+
name: l,
|
|
457
|
+
originalEvent: i
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
}, r));
|
|
461
|
+
};
|
|
462
|
+
function P(t) {
|
|
463
|
+
an($({
|
|
464
|
+
putSortable: A,
|
|
465
|
+
cloneEl: S,
|
|
466
|
+
targetEl: d,
|
|
467
|
+
rootEl: D,
|
|
468
|
+
oldIndex: pe,
|
|
469
|
+
oldDraggableIndex: Ie,
|
|
470
|
+
newIndex: X,
|
|
471
|
+
newDraggableIndex: te
|
|
472
|
+
}, t));
|
|
473
|
+
}
|
|
474
|
+
var d, T, g, D, ue, Ye, S, ne, pe, X, Ie, te, Me, A, he = !1, je = !1, Ge = [], le, V, Qe, et, Dt, St, De, fe, Ae, xe = !1, ke = !1, Le, x, tt = [], at = !1, ze = [], $e = typeof document < "u", Re = dt, Tt = Ne || Z ? "cssFloat" : "float", sn = $e && !Ot && !dt && "draggable" in document.createElement("div"), kt = function() {
|
|
475
|
+
if ($e) {
|
|
476
|
+
if (Z)
|
|
477
|
+
return !1;
|
|
478
|
+
var t = document.createElement("x");
|
|
479
|
+
return t.style.cssText = "pointer-events:auto", t.style.pointerEvents === "auto";
|
|
480
|
+
}
|
|
481
|
+
}(), Rt = function(e, n) {
|
|
482
|
+
var o = h(e), i = parseInt(o.width) - parseInt(o.paddingLeft) - parseInt(o.paddingRight) - parseInt(o.borderLeftWidth) - parseInt(o.borderRightWidth), r = me(e, 0, n), a = me(e, 1, n), l = r && h(r), s = a && h(a), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + O(r).width, f = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + O(a).width;
|
|
483
|
+
if (o.display === "flex")
|
|
484
|
+
return o.flexDirection === "column" || o.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
485
|
+
if (o.display === "grid")
|
|
486
|
+
return o.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
|
|
487
|
+
if (r && l.float && l.float !== "none") {
|
|
488
|
+
var c = l.float === "left" ? "left" : "right";
|
|
489
|
+
return a && (s.clear === "both" || s.clear === c) ? "vertical" : "horizontal";
|
|
490
|
+
}
|
|
491
|
+
return r && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= i && o[Tt] === "none" || a && o[Tt] === "none" && u + f > i) ? "vertical" : "horizontal";
|
|
492
|
+
}, un = function(e, n, o) {
|
|
493
|
+
var i = o ? e.left : e.top, r = o ? e.right : e.bottom, a = o ? e.width : e.height, l = o ? n.left : n.top, s = o ? n.right : n.bottom, u = o ? n.width : n.height;
|
|
494
|
+
return i === l || r === s || i + a / 2 === l + u / 2;
|
|
495
|
+
}, dn = function(e, n) {
|
|
496
|
+
var o;
|
|
497
|
+
return Ge.some(function(i) {
|
|
498
|
+
var r = i[M].options.emptyInsertThreshold;
|
|
499
|
+
if (!(!r || ct(i))) {
|
|
500
|
+
var a = O(i), l = e >= a.left - r && e <= a.right + r, s = n >= a.top - r && n <= a.bottom + r;
|
|
501
|
+
if (l && s)
|
|
502
|
+
return o = i;
|
|
503
|
+
}
|
|
504
|
+
}), o;
|
|
505
|
+
}, Bt = function(e) {
|
|
506
|
+
function n(r, a) {
|
|
507
|
+
return function(l, s, u, f) {
|
|
508
|
+
var c = l.options.group.name && s.options.group.name && l.options.group.name === s.options.group.name;
|
|
509
|
+
if (r == null && (a || c))
|
|
510
|
+
return !0;
|
|
511
|
+
if (r == null || r === !1)
|
|
512
|
+
return !1;
|
|
513
|
+
if (a && r === "clone")
|
|
514
|
+
return r;
|
|
515
|
+
if (typeof r == "function")
|
|
516
|
+
return n(r(l, s, u, f), a)(l, s, u, f);
|
|
517
|
+
var m = (a ? l : s).options.group.name;
|
|
518
|
+
return r === !0 || typeof r == "string" && r === m || r.join && r.indexOf(m) > -1;
|
|
519
|
+
};
|
|
520
|
+
}
|
|
521
|
+
var o = {}, i = e.group;
|
|
522
|
+
(!i || Xe(i) != "object") && (i = {
|
|
523
|
+
name: i
|
|
524
|
+
}), o.name = i.name, o.checkPull = n(i.pull, !0), o.checkPut = n(i.put), o.revertClone = i.revertClone, e.group = o;
|
|
525
|
+
}, Xt = function() {
|
|
526
|
+
!kt && g && h(g, "display", "none");
|
|
527
|
+
}, Yt = function() {
|
|
528
|
+
!kt && g && h(g, "display", "");
|
|
529
|
+
};
|
|
530
|
+
$e && !Ot && document.addEventListener("click", function(t) {
|
|
531
|
+
if (je)
|
|
532
|
+
return t.preventDefault(), t.stopPropagation && t.stopPropagation(), t.stopImmediatePropagation && t.stopImmediatePropagation(), je = !1, !1;
|
|
533
|
+
}, !0);
|
|
534
|
+
var se = function(e) {
|
|
535
|
+
if (d) {
|
|
536
|
+
e = e.touches ? e.touches[0] : e;
|
|
537
|
+
var n = dn(e.clientX, e.clientY);
|
|
538
|
+
if (n) {
|
|
539
|
+
var o = {};
|
|
540
|
+
for (var i in e)
|
|
541
|
+
e.hasOwnProperty(i) && (o[i] = e[i]);
|
|
542
|
+
o.target = o.rootEl = n, o.preventDefault = void 0, o.stopPropagation = void 0, n[M]._onDragOver(o);
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
}, cn = function(e) {
|
|
546
|
+
d && d.parentNode[M]._isOutsideThisEl(e.target);
|
|
547
|
+
};
|
|
548
|
+
function p(t, e) {
|
|
549
|
+
if (!(t && t.nodeType && t.nodeType === 1))
|
|
550
|
+
throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));
|
|
551
|
+
this.el = t, this.options = e = K({}, e), t[M] = this;
|
|
552
|
+
var n = {
|
|
553
|
+
group: null,
|
|
554
|
+
sort: !0,
|
|
555
|
+
disabled: !1,
|
|
556
|
+
store: null,
|
|
557
|
+
handle: null,
|
|
558
|
+
draggable: /^[uo]l$/i.test(t.nodeName) ? ">li" : ">*",
|
|
559
|
+
swapThreshold: 1,
|
|
560
|
+
// percentage; 0 <= x <= 1
|
|
561
|
+
invertSwap: !1,
|
|
562
|
+
// invert always
|
|
563
|
+
invertedSwapThreshold: null,
|
|
564
|
+
// will be set to same as swapThreshold if default
|
|
565
|
+
removeCloneOnHide: !0,
|
|
566
|
+
direction: function() {
|
|
567
|
+
return Rt(t, this.options);
|
|
568
|
+
},
|
|
569
|
+
ghostClass: "sortable-ghost",
|
|
570
|
+
chosenClass: "sortable-chosen",
|
|
571
|
+
dragClass: "sortable-drag",
|
|
572
|
+
ignore: "a, img",
|
|
573
|
+
filter: null,
|
|
574
|
+
preventOnFilter: !0,
|
|
575
|
+
animation: 0,
|
|
576
|
+
easing: null,
|
|
577
|
+
setData: function(a, l) {
|
|
578
|
+
a.setData("Text", l.textContent);
|
|
579
|
+
},
|
|
580
|
+
dropBubble: !1,
|
|
581
|
+
dragoverBubble: !1,
|
|
582
|
+
dataIdAttr: "data-id",
|
|
583
|
+
delay: 0,
|
|
584
|
+
delayOnTouchOnly: !1,
|
|
585
|
+
touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
|
|
586
|
+
forceFallback: !1,
|
|
587
|
+
fallbackClass: "sortable-fallback",
|
|
588
|
+
fallbackOnBody: !1,
|
|
589
|
+
fallbackTolerance: 0,
|
|
590
|
+
fallbackOffset: {
|
|
591
|
+
x: 0,
|
|
592
|
+
y: 0
|
|
593
|
+
},
|
|
594
|
+
// Disabled on Safari: #1571; Enabled on Safari IOS: #2244
|
|
595
|
+
supportPointer: p.supportPointer !== !1 && "PointerEvent" in window && (!Ce || dt),
|
|
596
|
+
emptyInsertThreshold: 5
|
|
597
|
+
};
|
|
598
|
+
Pe.initializePlugins(this, t, n);
|
|
599
|
+
for (var o in n)
|
|
600
|
+
!(o in e) && (e[o] = n[o]);
|
|
601
|
+
Bt(e);
|
|
602
|
+
for (var i in this)
|
|
603
|
+
i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
|
|
604
|
+
this.nativeDraggable = e.forceFallback ? !1 : sn, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? _(t, "pointerdown", this._onTapStart) : (_(t, "mousedown", this._onTapStart), _(t, "touchstart", this._onTapStart)), this.nativeDraggable && (_(t, "dragover", this), _(t, "dragenter", this)), Ge.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), K(this, nn());
|
|
605
|
+
}
|
|
606
|
+
p.prototype = /** @lends Sortable.prototype */
|
|
607
|
+
{
|
|
608
|
+
constructor: p,
|
|
609
|
+
_isOutsideThisEl: function(e) {
|
|
610
|
+
!this.el.contains(e) && e !== this.el && (fe = null);
|
|
611
|
+
},
|
|
612
|
+
_getDirection: function(e, n) {
|
|
613
|
+
return typeof this.options.direction == "function" ? this.options.direction.call(this, e, n, d) : this.options.direction;
|
|
614
|
+
},
|
|
615
|
+
_onTapStart: function(e) {
|
|
616
|
+
if (e.cancelable) {
|
|
617
|
+
var n = this, o = this.el, i = this.options, r = i.preventOnFilter, a = e.type, l = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, s = (l || e).target, u = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || s, f = i.filter;
|
|
618
|
+
if (_n(o), !d && !(/mousedown|pointerdown/.test(a) && e.button !== 0 || i.disabled) && !u.isContentEditable && !(!this.nativeDraggable && Ce && s && s.tagName.toUpperCase() === "SELECT") && (s = j(s, i.draggable, o, !1), !(s && s.animated) && Ye !== s)) {
|
|
619
|
+
if (pe = L(s), Ie = L(s, i.draggable), typeof f == "function") {
|
|
620
|
+
if (f.call(this, e, s, this)) {
|
|
621
|
+
P({
|
|
622
|
+
sortable: n,
|
|
623
|
+
rootEl: u,
|
|
624
|
+
name: "filter",
|
|
625
|
+
targetEl: s,
|
|
626
|
+
toEl: o,
|
|
627
|
+
fromEl: o
|
|
628
|
+
}), F("filter", n, {
|
|
629
|
+
evt: e
|
|
630
|
+
}), r && e.preventDefault();
|
|
631
|
+
return;
|
|
632
|
+
}
|
|
633
|
+
} else if (f && (f = f.split(",").some(function(c) {
|
|
634
|
+
if (c = j(u, c.trim(), o, !1), c)
|
|
635
|
+
return P({
|
|
636
|
+
sortable: n,
|
|
637
|
+
rootEl: c,
|
|
638
|
+
name: "filter",
|
|
639
|
+
targetEl: s,
|
|
640
|
+
fromEl: o,
|
|
641
|
+
toEl: o
|
|
642
|
+
}), F("filter", n, {
|
|
643
|
+
evt: e
|
|
644
|
+
}), !0;
|
|
645
|
+
}), f)) {
|
|
646
|
+
r && e.preventDefault();
|
|
647
|
+
return;
|
|
648
|
+
}
|
|
649
|
+
i.handle && !j(u, i.handle, o, !1) || this._prepareDragStart(e, l, s);
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
},
|
|
653
|
+
_prepareDragStart: function(e, n, o) {
|
|
654
|
+
var i = this, r = i.el, a = i.options, l = r.ownerDocument, s;
|
|
655
|
+
if (o && !d && o.parentNode === r) {
|
|
656
|
+
var u = O(o);
|
|
657
|
+
if (D = r, d = o, T = d.parentNode, ue = d.nextSibling, Ye = o, Me = a.group, p.dragged = d, le = {
|
|
658
|
+
target: d,
|
|
659
|
+
clientX: (n || e).clientX,
|
|
660
|
+
clientY: (n || e).clientY
|
|
661
|
+
}, Dt = le.clientX - u.left, St = le.clientY - u.top, this._lastX = (n || e).clientX, this._lastY = (n || e).clientY, d.style["will-change"] = "all", s = function() {
|
|
662
|
+
if (F("delayEnded", i, {
|
|
663
|
+
evt: e
|
|
664
|
+
}), p.eventCanceled) {
|
|
665
|
+
i._onDrop();
|
|
666
|
+
return;
|
|
667
|
+
}
|
|
668
|
+
i._disableDelayedDragEvents(), !_t && i.nativeDraggable && (d.draggable = !0), i._triggerDragStart(e, n), P({
|
|
669
|
+
sortable: i,
|
|
670
|
+
name: "choose",
|
|
671
|
+
originalEvent: e
|
|
672
|
+
}), B(d, a.chosenClass, !0);
|
|
673
|
+
}, a.ignore.split(",").forEach(function(f) {
|
|
674
|
+
xt(d, f.trim(), nt);
|
|
675
|
+
}), _(l, "dragover", se), _(l, "mousemove", se), _(l, "touchmove", se), a.supportPointer ? (_(l, "pointerup", i._onDrop), !this.nativeDraggable && _(l, "pointercancel", i._onDrop)) : (_(l, "mouseup", i._onDrop), _(l, "touchend", i._onDrop), _(l, "touchcancel", i._onDrop)), _t && this.nativeDraggable && (this.options.touchStartThreshold = 4, d.draggable = !0), F("delayStart", this, {
|
|
676
|
+
evt: e
|
|
677
|
+
}), a.delay && (!a.delayOnTouchOnly || n) && (!this.nativeDraggable || !(Ne || Z))) {
|
|
678
|
+
if (p.eventCanceled) {
|
|
679
|
+
this._onDrop();
|
|
680
|
+
return;
|
|
681
|
+
}
|
|
682
|
+
a.supportPointer ? (_(l, "pointerup", i._disableDelayedDrag), _(l, "pointercancel", i._disableDelayedDrag)) : (_(l, "mouseup", i._disableDelayedDrag), _(l, "touchend", i._disableDelayedDrag), _(l, "touchcancel", i._disableDelayedDrag)), _(l, "mousemove", i._delayedDragTouchMoveHandler), _(l, "touchmove", i._delayedDragTouchMoveHandler), a.supportPointer && _(l, "pointermove", i._delayedDragTouchMoveHandler), i._dragStartTimer = setTimeout(s, a.delay);
|
|
683
|
+
} else
|
|
684
|
+
s();
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
_delayedDragTouchMoveHandler: function(e) {
|
|
688
|
+
var n = e.touches ? e.touches[0] : e;
|
|
689
|
+
Math.max(Math.abs(n.clientX - this._lastX), Math.abs(n.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
|
|
690
|
+
},
|
|
691
|
+
_disableDelayedDrag: function() {
|
|
692
|
+
d && nt(d), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
|
|
693
|
+
},
|
|
694
|
+
_disableDelayedDragEvents: function() {
|
|
695
|
+
var e = this.el.ownerDocument;
|
|
696
|
+
v(e, "mouseup", this._disableDelayedDrag), v(e, "touchend", this._disableDelayedDrag), v(e, "touchcancel", this._disableDelayedDrag), v(e, "pointerup", this._disableDelayedDrag), v(e, "pointercancel", this._disableDelayedDrag), v(e, "mousemove", this._delayedDragTouchMoveHandler), v(e, "touchmove", this._delayedDragTouchMoveHandler), v(e, "pointermove", this._delayedDragTouchMoveHandler);
|
|
697
|
+
},
|
|
698
|
+
_triggerDragStart: function(e, n) {
|
|
699
|
+
n = n || e.pointerType == "touch" && e, !this.nativeDraggable || n ? this.options.supportPointer ? _(document, "pointermove", this._onTouchMove) : n ? _(document, "touchmove", this._onTouchMove) : _(document, "mousemove", this._onTouchMove) : (_(d, "dragend", this), _(D, "dragstart", this._onDragStart));
|
|
700
|
+
try {
|
|
701
|
+
document.selection ? He(function() {
|
|
702
|
+
document.selection.empty();
|
|
703
|
+
}) : window.getSelection().removeAllRanges();
|
|
704
|
+
} catch {
|
|
705
|
+
}
|
|
706
|
+
},
|
|
707
|
+
_dragStarted: function(e, n) {
|
|
708
|
+
if (he = !1, D && d) {
|
|
709
|
+
F("dragStarted", this, {
|
|
710
|
+
evt: n
|
|
711
|
+
}), this.nativeDraggable && _(document, "dragover", cn);
|
|
712
|
+
var o = this.options;
|
|
713
|
+
!e && B(d, o.dragClass, !1), B(d, o.ghostClass, !0), p.active = this, e && this._appendGhost(), P({
|
|
714
|
+
sortable: this,
|
|
715
|
+
name: "start",
|
|
716
|
+
originalEvent: n
|
|
717
|
+
});
|
|
718
|
+
} else
|
|
719
|
+
this._nulling();
|
|
720
|
+
},
|
|
721
|
+
_emulateDragOver: function() {
|
|
722
|
+
if (V) {
|
|
723
|
+
this._lastX = V.clientX, this._lastY = V.clientY, Xt();
|
|
724
|
+
for (var e = document.elementFromPoint(V.clientX, V.clientY), n = e; e && e.shadowRoot && (e = e.shadowRoot.elementFromPoint(V.clientX, V.clientY), e !== n); )
|
|
725
|
+
n = e;
|
|
726
|
+
if (d.parentNode[M]._isOutsideThisEl(e), n)
|
|
727
|
+
do {
|
|
728
|
+
if (n[M]) {
|
|
729
|
+
var o = void 0;
|
|
730
|
+
if (o = n[M]._onDragOver({
|
|
731
|
+
clientX: V.clientX,
|
|
732
|
+
clientY: V.clientY,
|
|
733
|
+
target: e,
|
|
734
|
+
rootEl: n
|
|
735
|
+
}), o && !this.options.dragoverBubble)
|
|
736
|
+
break;
|
|
737
|
+
}
|
|
738
|
+
e = n;
|
|
739
|
+
} while (n = At(n));
|
|
740
|
+
Yt();
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
_onTouchMove: function(e) {
|
|
744
|
+
if (le) {
|
|
745
|
+
var n = this.options, o = n.fallbackTolerance, i = n.fallbackOffset, r = e.touches ? e.touches[0] : e, a = g && ge(g, !0), l = g && a && a.a, s = g && a && a.d, u = Re && x && Et(x), f = (r.clientX - le.clientX + i.x) / (l || 1) + (u ? u[0] - tt[0] : 0) / (l || 1), c = (r.clientY - le.clientY + i.y) / (s || 1) + (u ? u[1] - tt[1] : 0) / (s || 1);
|
|
746
|
+
if (!p.active && !he) {
|
|
747
|
+
if (o && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < o)
|
|
748
|
+
return;
|
|
749
|
+
this._onDragStart(e, !0);
|
|
750
|
+
}
|
|
751
|
+
if (g) {
|
|
752
|
+
a ? (a.e += f - (Qe || 0), a.f += c - (et || 0)) : a = {
|
|
753
|
+
a: 1,
|
|
754
|
+
b: 0,
|
|
755
|
+
c: 0,
|
|
756
|
+
d: 1,
|
|
757
|
+
e: f,
|
|
758
|
+
f: c
|
|
759
|
+
};
|
|
760
|
+
var m = "matrix(".concat(a.a, ",").concat(a.b, ",").concat(a.c, ",").concat(a.d, ",").concat(a.e, ",").concat(a.f, ")");
|
|
761
|
+
h(g, "webkitTransform", m), h(g, "mozTransform", m), h(g, "msTransform", m), h(g, "transform", m), Qe = f, et = c, V = r;
|
|
762
|
+
}
|
|
763
|
+
e.cancelable && e.preventDefault();
|
|
764
|
+
}
|
|
765
|
+
},
|
|
766
|
+
_appendGhost: function() {
|
|
767
|
+
if (!g) {
|
|
768
|
+
var e = this.options.fallbackOnBody ? document.body : D, n = O(d, !0, Re, !0, e), o = this.options;
|
|
769
|
+
if (Re) {
|
|
770
|
+
for (x = e; h(x, "position") === "static" && h(x, "transform") === "none" && x !== document; )
|
|
771
|
+
x = x.parentNode;
|
|
772
|
+
x !== document.body && x !== document.documentElement ? (x === document && (x = U()), n.top += x.scrollTop, n.left += x.scrollLeft) : x = U(), tt = Et(x);
|
|
773
|
+
}
|
|
774
|
+
g = d.cloneNode(!0), B(g, o.ghostClass, !1), B(g, o.fallbackClass, !0), B(g, o.dragClass, !0), h(g, "transition", ""), h(g, "transform", ""), h(g, "box-sizing", "border-box"), h(g, "margin", 0), h(g, "top", n.top), h(g, "left", n.left), h(g, "width", n.width), h(g, "height", n.height), h(g, "opacity", "0.8"), h(g, "position", Re ? "absolute" : "fixed"), h(g, "zIndex", "100000"), h(g, "pointerEvents", "none"), p.ghost = g, e.appendChild(g), h(g, "transform-origin", Dt / parseInt(g.style.width) * 100 + "% " + St / parseInt(g.style.height) * 100 + "%");
|
|
775
|
+
}
|
|
776
|
+
},
|
|
777
|
+
_onDragStart: function(e, n) {
|
|
778
|
+
var o = this, i = e.dataTransfer, r = o.options;
|
|
779
|
+
if (F("dragStart", this, {
|
|
780
|
+
evt: e
|
|
781
|
+
}), p.eventCanceled) {
|
|
782
|
+
this._onDrop();
|
|
783
|
+
return;
|
|
784
|
+
}
|
|
785
|
+
F("setupClone", this), p.eventCanceled || (S = Ft(d), S.removeAttribute("id"), S.draggable = !1, S.style["will-change"] = "", this._hideClone(), B(S, this.options.chosenClass, !1), p.clone = S), o.cloneId = He(function() {
|
|
786
|
+
F("clone", o), !p.eventCanceled && (o.options.removeCloneOnHide || D.insertBefore(S, d), o._hideClone(), P({
|
|
787
|
+
sortable: o,
|
|
788
|
+
name: "clone"
|
|
789
|
+
}));
|
|
790
|
+
}), !n && B(d, r.dragClass, !0), n ? (je = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (v(document, "mouseup", o._onDrop), v(document, "touchend", o._onDrop), v(document, "touchcancel", o._onDrop), i && (i.effectAllowed = "move", r.setData && r.setData.call(o, i, d)), _(document, "drop", o), h(d, "transform", "translateZ(0)")), he = !0, o._dragStartId = He(o._dragStarted.bind(o, n, e)), _(document, "selectstart", o), De = !0, window.getSelection().removeAllRanges(), Ce && h(document.body, "user-select", "none");
|
|
791
|
+
},
|
|
792
|
+
// Returns true - if no further action is needed (either inserted or another condition)
|
|
793
|
+
_onDragOver: function(e) {
|
|
794
|
+
var n = this.el, o = e.target, i, r, a, l = this.options, s = l.group, u = p.active, f = Me === s, c = l.sort, m = A || u, y, b = this, w = !1;
|
|
795
|
+
if (at) return;
|
|
796
|
+
function E(ye, Ht) {
|
|
797
|
+
F(ye, b, $({
|
|
798
|
+
evt: e,
|
|
799
|
+
isOwner: f,
|
|
800
|
+
axis: y ? "vertical" : "horizontal",
|
|
801
|
+
revert: a,
|
|
802
|
+
dragRect: i,
|
|
803
|
+
targetRect: r,
|
|
804
|
+
canSort: c,
|
|
805
|
+
fromSortable: m,
|
|
806
|
+
target: o,
|
|
807
|
+
completed: I,
|
|
808
|
+
onMove: function(pt, Wt) {
|
|
809
|
+
return Be(D, n, d, i, pt, O(pt), e, Wt);
|
|
810
|
+
},
|
|
811
|
+
changed: H
|
|
812
|
+
}, Ht));
|
|
813
|
+
}
|
|
814
|
+
function Y() {
|
|
815
|
+
E("dragOverAnimationCapture"), b.captureAnimationState(), b !== m && m.captureAnimationState();
|
|
816
|
+
}
|
|
817
|
+
function I(ye) {
|
|
818
|
+
return E("dragOverCompleted", {
|
|
819
|
+
insertion: ye
|
|
820
|
+
}), ye && (f ? u._hideClone() : u._showClone(b), b !== m && (B(d, A ? A.options.ghostClass : u.options.ghostClass, !1), B(d, l.ghostClass, !0)), A !== b && b !== p.active ? A = b : b === p.active && A && (A = null), m === b && (b._ignoreWhileAnimating = o), b.animateAll(function() {
|
|
821
|
+
E("dragOverAnimationComplete"), b._ignoreWhileAnimating = null;
|
|
822
|
+
}), b !== m && (m.animateAll(), m._ignoreWhileAnimating = null)), (o === d && !d.animated || o === n && !o.animated) && (fe = null), !l.dragoverBubble && !e.rootEl && o !== document && (d.parentNode[M]._isOutsideThisEl(e.target), !ye && se(e)), !l.dragoverBubble && e.stopPropagation && e.stopPropagation(), w = !0;
|
|
823
|
+
}
|
|
824
|
+
function H() {
|
|
825
|
+
X = L(d), te = L(d, l.draggable), P({
|
|
826
|
+
sortable: b,
|
|
827
|
+
name: "change",
|
|
828
|
+
toEl: n,
|
|
829
|
+
newIndex: X,
|
|
830
|
+
newDraggableIndex: te,
|
|
831
|
+
originalEvent: e
|
|
832
|
+
});
|
|
833
|
+
}
|
|
834
|
+
if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), o = j(o, l.draggable, n, !0), E("dragOver"), p.eventCanceled) return w;
|
|
835
|
+
if (d.contains(e.target) || o.animated && o.animatingX && o.animatingY || b._ignoreWhileAnimating === o)
|
|
836
|
+
return I(!1);
|
|
837
|
+
if (je = !1, u && !l.disabled && (f ? c || (a = T !== D) : A === this || (this.lastPutMode = Me.checkPull(this, u, d, e)) && s.checkPut(this, u, d, e))) {
|
|
838
|
+
if (y = this._getDirection(e, o) === "vertical", i = O(d), E("dragOverValid"), p.eventCanceled) return w;
|
|
839
|
+
if (a)
|
|
840
|
+
return T = D, Y(), this._hideClone(), E("revert"), p.eventCanceled || (ue ? D.insertBefore(d, ue) : D.appendChild(d)), I(!0);
|
|
841
|
+
var k = ct(n, l.draggable);
|
|
842
|
+
if (!k || gn(e, y, this) && !k.animated) {
|
|
843
|
+
if (k === d)
|
|
844
|
+
return I(!1);
|
|
845
|
+
if (k && n === e.target && (o = k), o && (r = O(o)), Be(D, n, d, i, o, r, e, !!o) !== !1)
|
|
846
|
+
return Y(), k && k.nextSibling ? n.insertBefore(d, k.nextSibling) : n.appendChild(d), T = n, H(), I(!0);
|
|
847
|
+
} else if (k && pn(e, y, this)) {
|
|
848
|
+
var ie = me(n, 0, l, !0);
|
|
849
|
+
if (ie === d)
|
|
850
|
+
return I(!1);
|
|
851
|
+
if (o = ie, r = O(o), Be(D, n, d, i, o, r, e, !1) !== !1)
|
|
852
|
+
return Y(), n.insertBefore(d, ie), T = n, H(), I(!0);
|
|
853
|
+
} else if (o.parentNode === n) {
|
|
854
|
+
r = O(o);
|
|
855
|
+
var G = 0, re, ve = d.parentNode !== n, R = !un(d.animated && d.toRect || i, o.animated && o.toRect || r, y), be = y ? "top" : "left", Q = yt(o, "top", "top") || yt(d, "top", "top"), _e = Q ? Q.scrollTop : void 0;
|
|
856
|
+
fe !== o && (re = r[be], xe = !1, ke = !R && l.invertSwap || ve), G = mn(e, o, r, y, R ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, ke, fe === o);
|
|
857
|
+
var q;
|
|
858
|
+
if (G !== 0) {
|
|
859
|
+
var ae = L(d);
|
|
860
|
+
do
|
|
861
|
+
ae -= G, q = T.children[ae];
|
|
862
|
+
while (q && (h(q, "display") === "none" || q === g));
|
|
863
|
+
}
|
|
864
|
+
if (G === 0 || q === o)
|
|
865
|
+
return I(!1);
|
|
866
|
+
fe = o, Ae = G;
|
|
867
|
+
var we = o.nextElementSibling, ee = !1;
|
|
868
|
+
ee = G === 1;
|
|
869
|
+
var Fe = Be(D, n, d, i, o, r, e, ee);
|
|
870
|
+
if (Fe !== !1)
|
|
871
|
+
return (Fe === 1 || Fe === -1) && (ee = Fe === 1), at = !0, setTimeout(hn, 30), Y(), ee && !we ? n.appendChild(d) : o.parentNode.insertBefore(d, ee ? we : o), Q && Pt(Q, 0, _e - Q.scrollTop), T = d.parentNode, re !== void 0 && !ke && (Le = Math.abs(re - O(o)[be])), H(), I(!0);
|
|
872
|
+
}
|
|
873
|
+
if (n.contains(d))
|
|
874
|
+
return I(!1);
|
|
875
|
+
}
|
|
876
|
+
return !1;
|
|
877
|
+
},
|
|
878
|
+
_ignoreWhileAnimating: null,
|
|
879
|
+
_offMoveEvents: function() {
|
|
880
|
+
v(document, "mousemove", this._onTouchMove), v(document, "touchmove", this._onTouchMove), v(document, "pointermove", this._onTouchMove), v(document, "dragover", se), v(document, "mousemove", se), v(document, "touchmove", se);
|
|
881
|
+
},
|
|
882
|
+
_offUpEvents: function() {
|
|
883
|
+
var e = this.el.ownerDocument;
|
|
884
|
+
v(e, "mouseup", this._onDrop), v(e, "touchend", this._onDrop), v(e, "pointerup", this._onDrop), v(e, "pointercancel", this._onDrop), v(e, "touchcancel", this._onDrop), v(document, "selectstart", this);
|
|
885
|
+
},
|
|
886
|
+
_onDrop: function(e) {
|
|
887
|
+
var n = this.el, o = this.options;
|
|
888
|
+
if (X = L(d), te = L(d, o.draggable), F("drop", this, {
|
|
889
|
+
evt: e
|
|
890
|
+
}), T = d && d.parentNode, X = L(d), te = L(d, o.draggable), p.eventCanceled) {
|
|
891
|
+
this._nulling();
|
|
892
|
+
return;
|
|
893
|
+
}
|
|
894
|
+
he = !1, ke = !1, xe = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), lt(this.cloneId), lt(this._dragStartId), this.nativeDraggable && (v(document, "drop", this), v(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Ce && h(document.body, "user-select", ""), h(d, "transform", ""), e && (De && (e.cancelable && e.preventDefault(), !o.dropBubble && e.stopPropagation()), g && g.parentNode && g.parentNode.removeChild(g), (D === T || A && A.lastPutMode !== "clone") && S && S.parentNode && S.parentNode.removeChild(S), d && (this.nativeDraggable && v(d, "dragend", this), nt(d), d.style["will-change"] = "", De && !he && B(d, A ? A.options.ghostClass : this.options.ghostClass, !1), B(d, this.options.chosenClass, !1), P({
|
|
895
|
+
sortable: this,
|
|
896
|
+
name: "unchoose",
|
|
897
|
+
toEl: T,
|
|
898
|
+
newIndex: null,
|
|
899
|
+
newDraggableIndex: null,
|
|
900
|
+
originalEvent: e
|
|
901
|
+
}), D !== T ? (X >= 0 && (P({
|
|
902
|
+
rootEl: T,
|
|
903
|
+
name: "add",
|
|
904
|
+
toEl: T,
|
|
905
|
+
fromEl: D,
|
|
906
|
+
originalEvent: e
|
|
907
|
+
}), P({
|
|
908
|
+
sortable: this,
|
|
909
|
+
name: "remove",
|
|
910
|
+
toEl: T,
|
|
911
|
+
originalEvent: e
|
|
912
|
+
}), P({
|
|
913
|
+
rootEl: T,
|
|
914
|
+
name: "sort",
|
|
915
|
+
toEl: T,
|
|
916
|
+
fromEl: D,
|
|
917
|
+
originalEvent: e
|
|
918
|
+
}), P({
|
|
919
|
+
sortable: this,
|
|
920
|
+
name: "sort",
|
|
921
|
+
toEl: T,
|
|
922
|
+
originalEvent: e
|
|
923
|
+
})), A && A.save()) : X !== pe && X >= 0 && (P({
|
|
924
|
+
sortable: this,
|
|
925
|
+
name: "update",
|
|
926
|
+
toEl: T,
|
|
927
|
+
originalEvent: e
|
|
928
|
+
}), P({
|
|
929
|
+
sortable: this,
|
|
930
|
+
name: "sort",
|
|
931
|
+
toEl: T,
|
|
932
|
+
originalEvent: e
|
|
933
|
+
})), p.active && ((X == null || X === -1) && (X = pe, te = Ie), P({
|
|
934
|
+
sortable: this,
|
|
935
|
+
name: "end",
|
|
936
|
+
toEl: T,
|
|
937
|
+
originalEvent: e
|
|
938
|
+
}), this.save()))), this._nulling();
|
|
939
|
+
},
|
|
940
|
+
_nulling: function() {
|
|
941
|
+
F("nulling", this), D = d = T = g = ue = S = Ye = ne = le = V = De = X = te = pe = Ie = fe = Ae = A = Me = p.dragged = p.ghost = p.clone = p.active = null, ze.forEach(function(e) {
|
|
942
|
+
e.checked = !0;
|
|
943
|
+
}), ze.length = Qe = et = 0;
|
|
944
|
+
},
|
|
945
|
+
handleEvent: function(e) {
|
|
946
|
+
switch (e.type) {
|
|
947
|
+
case "drop":
|
|
948
|
+
case "dragend":
|
|
949
|
+
this._onDrop(e);
|
|
950
|
+
break;
|
|
951
|
+
case "dragenter":
|
|
952
|
+
case "dragover":
|
|
953
|
+
d && (this._onDragOver(e), fn(e));
|
|
954
|
+
break;
|
|
955
|
+
case "selectstart":
|
|
956
|
+
e.preventDefault();
|
|
957
|
+
break;
|
|
958
|
+
}
|
|
959
|
+
},
|
|
960
|
+
/**
|
|
961
|
+
* Serializes the item into an array of string.
|
|
962
|
+
* @returns {String[]}
|
|
963
|
+
*/
|
|
964
|
+
toArray: function() {
|
|
965
|
+
for (var e = [], n, o = this.el.children, i = 0, r = o.length, a = this.options; i < r; i++)
|
|
966
|
+
n = o[i], j(n, a.draggable, this.el, !1) && e.push(n.getAttribute(a.dataIdAttr) || bn(n));
|
|
967
|
+
return e;
|
|
968
|
+
},
|
|
969
|
+
/**
|
|
970
|
+
* Sorts the elements according to the array.
|
|
971
|
+
* @param {String[]} order order of the items
|
|
972
|
+
*/
|
|
973
|
+
sort: function(e, n) {
|
|
974
|
+
var o = {}, i = this.el;
|
|
975
|
+
this.toArray().forEach(function(r, a) {
|
|
976
|
+
var l = i.children[a];
|
|
977
|
+
j(l, this.options.draggable, i, !1) && (o[r] = l);
|
|
978
|
+
}, this), n && this.captureAnimationState(), e.forEach(function(r) {
|
|
979
|
+
o[r] && (i.removeChild(o[r]), i.appendChild(o[r]));
|
|
980
|
+
}), n && this.animateAll();
|
|
981
|
+
},
|
|
982
|
+
/**
|
|
983
|
+
* Save the current sorting
|
|
984
|
+
*/
|
|
985
|
+
save: function() {
|
|
986
|
+
var e = this.options.store;
|
|
987
|
+
e && e.set && e.set(this);
|
|
988
|
+
},
|
|
989
|
+
/**
|
|
990
|
+
* For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
|
|
991
|
+
* @param {HTMLElement} el
|
|
992
|
+
* @param {String} [selector] default: `options.draggable`
|
|
993
|
+
* @returns {HTMLElement|null}
|
|
994
|
+
*/
|
|
995
|
+
closest: function(e, n) {
|
|
996
|
+
return j(e, n || this.options.draggable, this.el, !1);
|
|
997
|
+
},
|
|
998
|
+
/**
|
|
999
|
+
* Set/get option
|
|
1000
|
+
* @param {string} name
|
|
1001
|
+
* @param {*} [value]
|
|
1002
|
+
* @returns {*}
|
|
1003
|
+
*/
|
|
1004
|
+
option: function(e, n) {
|
|
1005
|
+
var o = this.options;
|
|
1006
|
+
if (n === void 0)
|
|
1007
|
+
return o[e];
|
|
1008
|
+
var i = Pe.modifyOption(this, e, n);
|
|
1009
|
+
typeof i < "u" ? o[e] = i : o[e] = n, e === "group" && Bt(o);
|
|
1010
|
+
},
|
|
1011
|
+
/**
|
|
1012
|
+
* Destroy
|
|
1013
|
+
*/
|
|
1014
|
+
destroy: function() {
|
|
1015
|
+
F("destroy", this);
|
|
1016
|
+
var e = this.el;
|
|
1017
|
+
e[M] = null, v(e, "mousedown", this._onTapStart), v(e, "touchstart", this._onTapStart), v(e, "pointerdown", this._onTapStart), this.nativeDraggable && (v(e, "dragover", this), v(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(n) {
|
|
1018
|
+
n.removeAttribute("draggable");
|
|
1019
|
+
}), this._onDrop(), this._disableDelayedDragEvents(), Ge.splice(Ge.indexOf(this.el), 1), this.el = e = null;
|
|
1020
|
+
},
|
|
1021
|
+
_hideClone: function() {
|
|
1022
|
+
if (!ne) {
|
|
1023
|
+
if (F("hideClone", this), p.eventCanceled) return;
|
|
1024
|
+
h(S, "display", "none"), this.options.removeCloneOnHide && S.parentNode && S.parentNode.removeChild(S), ne = !0;
|
|
1025
|
+
}
|
|
1026
|
+
},
|
|
1027
|
+
_showClone: function(e) {
|
|
1028
|
+
if (e.lastPutMode !== "clone") {
|
|
1029
|
+
this._hideClone();
|
|
1030
|
+
return;
|
|
1031
|
+
}
|
|
1032
|
+
if (ne) {
|
|
1033
|
+
if (F("showClone", this), p.eventCanceled) return;
|
|
1034
|
+
d.parentNode == D && !this.options.group.revertClone ? D.insertBefore(S, d) : ue ? D.insertBefore(S, ue) : D.appendChild(S), this.options.group.revertClone && this.animate(d, S), h(S, "display", ""), ne = !1;
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
};
|
|
1038
|
+
function fn(t) {
|
|
1039
|
+
t.dataTransfer && (t.dataTransfer.dropEffect = "move"), t.cancelable && t.preventDefault();
|
|
1040
|
+
}
|
|
1041
|
+
function Be(t, e, n, o, i, r, a, l) {
|
|
1042
|
+
var s, u = t[M], f = u.options.onMove, c;
|
|
1043
|
+
return window.CustomEvent && !Z && !Ne ? s = new CustomEvent("move", {
|
|
1044
|
+
bubbles: !0,
|
|
1045
|
+
cancelable: !0
|
|
1046
|
+
}) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = e, s.from = t, s.dragged = n, s.draggedRect = o, s.related = i || e, s.relatedRect = r || O(e), s.willInsertAfter = l, s.originalEvent = a, t.dispatchEvent(s), f && (c = f.call(u, s, a)), c;
|
|
1047
|
+
}
|
|
1048
|
+
function nt(t) {
|
|
1049
|
+
t.draggable = !1;
|
|
1050
|
+
}
|
|
1051
|
+
function hn() {
|
|
1052
|
+
at = !1;
|
|
1053
|
+
}
|
|
1054
|
+
function pn(t, e, n) {
|
|
1055
|
+
var o = O(me(n.el, 0, n.options, !0)), i = Mt(n.el, n.options, g), r = 10;
|
|
1056
|
+
return e ? t.clientX < i.left - r || t.clientY < o.top && t.clientX < o.right : t.clientY < i.top - r || t.clientY < o.bottom && t.clientX < o.left;
|
|
1057
|
+
}
|
|
1058
|
+
function gn(t, e, n) {
|
|
1059
|
+
var o = O(ct(n.el, n.options.draggable)), i = Mt(n.el, n.options, g), r = 10;
|
|
1060
|
+
return e ? t.clientX > i.right + r || t.clientY > o.bottom && t.clientX > o.left : t.clientY > i.bottom + r || t.clientX > o.right && t.clientY > o.top;
|
|
1061
|
+
}
|
|
1062
|
+
function mn(t, e, n, o, i, r, a, l) {
|
|
1063
|
+
var s = o ? t.clientY : t.clientX, u = o ? n.height : n.width, f = o ? n.top : n.left, c = o ? n.bottom : n.right, m = !1;
|
|
1064
|
+
if (!a) {
|
|
1065
|
+
if (l && Le < u * i) {
|
|
1066
|
+
if (!xe && (Ae === 1 ? s > f + u * r / 2 : s < c - u * r / 2) && (xe = !0), xe)
|
|
1067
|
+
m = !0;
|
|
1068
|
+
else if (Ae === 1 ? s < f + Le : s > c - Le)
|
|
1069
|
+
return -Ae;
|
|
1070
|
+
} else if (s > f + u * (1 - i) / 2 && s < c - u * (1 - i) / 2)
|
|
1071
|
+
return vn(e);
|
|
1072
|
+
}
|
|
1073
|
+
return m = m || a, m && (s < f + u * r / 2 || s > c - u * r / 2) ? s > f + u / 2 ? 1 : -1 : 0;
|
|
1074
|
+
}
|
|
1075
|
+
function vn(t) {
|
|
1076
|
+
return L(d) < L(t) ? 1 : -1;
|
|
1077
|
+
}
|
|
1078
|
+
function bn(t) {
|
|
1079
|
+
for (var e = t.tagName + t.className + t.src + t.href + t.textContent, n = e.length, o = 0; n--; )
|
|
1080
|
+
o += e.charCodeAt(n);
|
|
1081
|
+
return o.toString(36);
|
|
1082
|
+
}
|
|
1083
|
+
function _n(t) {
|
|
1084
|
+
ze.length = 0;
|
|
1085
|
+
for (var e = t.getElementsByTagName("input"), n = e.length; n--; ) {
|
|
1086
|
+
var o = e[n];
|
|
1087
|
+
o.checked && ze.push(o);
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
function He(t) {
|
|
1091
|
+
return setTimeout(t, 0);
|
|
1092
|
+
}
|
|
1093
|
+
function lt(t) {
|
|
1094
|
+
return clearTimeout(t);
|
|
1095
|
+
}
|
|
1096
|
+
$e && _(document, "touchmove", function(t) {
|
|
1097
|
+
(p.active || he) && t.cancelable && t.preventDefault();
|
|
1098
|
+
});
|
|
1099
|
+
p.utils = {
|
|
1100
|
+
on: _,
|
|
1101
|
+
off: v,
|
|
1102
|
+
css: h,
|
|
1103
|
+
find: xt,
|
|
1104
|
+
is: function(e, n) {
|
|
1105
|
+
return !!j(e, n, e, !1);
|
|
1106
|
+
},
|
|
1107
|
+
extend: en,
|
|
1108
|
+
throttle: Nt,
|
|
1109
|
+
closest: j,
|
|
1110
|
+
toggleClass: B,
|
|
1111
|
+
clone: Ft,
|
|
1112
|
+
index: L,
|
|
1113
|
+
nextTick: He,
|
|
1114
|
+
cancelNextTick: lt,
|
|
1115
|
+
detectDirection: Rt,
|
|
1116
|
+
getChild: me,
|
|
1117
|
+
expando: M
|
|
1118
|
+
};
|
|
1119
|
+
p.get = function(t) {
|
|
1120
|
+
return t[M];
|
|
1121
|
+
};
|
|
1122
|
+
p.mount = function() {
|
|
1123
|
+
for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++)
|
|
1124
|
+
e[n] = arguments[n];
|
|
1125
|
+
e[0].constructor === Array && (e = e[0]), e.forEach(function(o) {
|
|
1126
|
+
if (!o.prototype || !o.prototype.constructor)
|
|
1127
|
+
throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));
|
|
1128
|
+
o.utils && (p.utils = $($({}, p.utils), o.utils)), Pe.mount(o);
|
|
1129
|
+
});
|
|
1130
|
+
};
|
|
1131
|
+
p.create = function(t, e) {
|
|
1132
|
+
return new p(t, e);
|
|
1133
|
+
};
|
|
1134
|
+
p.version = Zt;
|
|
1135
|
+
var C = [], Se, st, ut = !1, ot, it, Ue, Te;
|
|
1136
|
+
function wn() {
|
|
1137
|
+
function t() {
|
|
1138
|
+
this.defaults = {
|
|
1139
|
+
scroll: !0,
|
|
1140
|
+
forceAutoScrollFallback: !1,
|
|
1141
|
+
scrollSensitivity: 30,
|
|
1142
|
+
scrollSpeed: 10,
|
|
1143
|
+
bubbleScroll: !0
|
|
1144
|
+
};
|
|
1145
|
+
for (var e in this)
|
|
1146
|
+
e.charAt(0) === "_" && typeof this[e] == "function" && (this[e] = this[e].bind(this));
|
|
1147
|
+
}
|
|
1148
|
+
return t.prototype = {
|
|
1149
|
+
dragStarted: function(n) {
|
|
1150
|
+
var o = n.originalEvent;
|
|
1151
|
+
this.sortable.nativeDraggable ? _(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? _(document, "pointermove", this._handleFallbackAutoScroll) : o.touches ? _(document, "touchmove", this._handleFallbackAutoScroll) : _(document, "mousemove", this._handleFallbackAutoScroll);
|
|
1152
|
+
},
|
|
1153
|
+
dragOverCompleted: function(n) {
|
|
1154
|
+
var o = n.originalEvent;
|
|
1155
|
+
!this.options.dragOverBubble && !o.rootEl && this._handleAutoScroll(o);
|
|
1156
|
+
},
|
|
1157
|
+
drop: function() {
|
|
1158
|
+
this.sortable.nativeDraggable ? v(document, "dragover", this._handleAutoScroll) : (v(document, "pointermove", this._handleFallbackAutoScroll), v(document, "touchmove", this._handleFallbackAutoScroll), v(document, "mousemove", this._handleFallbackAutoScroll)), Ct(), We(), tn();
|
|
1159
|
+
},
|
|
1160
|
+
nulling: function() {
|
|
1161
|
+
Ue = st = Se = ut = Te = ot = it = null, C.length = 0;
|
|
1162
|
+
},
|
|
1163
|
+
_handleFallbackAutoScroll: function(n) {
|
|
1164
|
+
this._handleAutoScroll(n, !0);
|
|
1165
|
+
},
|
|
1166
|
+
_handleAutoScroll: function(n, o) {
|
|
1167
|
+
var i = this, r = (n.touches ? n.touches[0] : n).clientX, a = (n.touches ? n.touches[0] : n).clientY, l = document.elementFromPoint(r, a);
|
|
1168
|
+
if (Ue = n, o || this.options.forceAutoScrollFallback || Ne || Z || Ce) {
|
|
1169
|
+
rt(n, this.options, l, o);
|
|
1170
|
+
var s = oe(l, !0);
|
|
1171
|
+
ut && (!Te || r !== ot || a !== it) && (Te && Ct(), Te = setInterval(function() {
|
|
1172
|
+
var u = oe(document.elementFromPoint(r, a), !0);
|
|
1173
|
+
u !== s && (s = u, We()), rt(n, i.options, u, o);
|
|
1174
|
+
}, 10), ot = r, it = a);
|
|
1175
|
+
} else {
|
|
1176
|
+
if (!this.options.bubbleScroll || oe(l, !0) === U()) {
|
|
1177
|
+
We();
|
|
1178
|
+
return;
|
|
1179
|
+
}
|
|
1180
|
+
rt(n, this.options, oe(l, !1), !1);
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
}, K(t, {
|
|
1184
|
+
pluginName: "scroll",
|
|
1185
|
+
initializeByDefault: !0
|
|
1186
|
+
});
|
|
1187
|
+
}
|
|
1188
|
+
function We() {
|
|
1189
|
+
C.forEach(function(t) {
|
|
1190
|
+
clearInterval(t.pid);
|
|
1191
|
+
}), C = [];
|
|
1192
|
+
}
|
|
1193
|
+
function Ct() {
|
|
1194
|
+
clearInterval(Te);
|
|
1195
|
+
}
|
|
1196
|
+
var rt = Nt(function(t, e, n, o) {
|
|
1197
|
+
if (e.scroll) {
|
|
1198
|
+
var i = (t.touches ? t.touches[0] : t).clientX, r = (t.touches ? t.touches[0] : t).clientY, a = e.scrollSensitivity, l = e.scrollSpeed, s = U(), u = !1, f;
|
|
1199
|
+
st !== n && (st = n, We(), Se = e.scroll, f = e.scrollFn, Se === !0 && (Se = oe(n, !0)));
|
|
1200
|
+
var c = 0, m = Se;
|
|
1201
|
+
do {
|
|
1202
|
+
var y = m, b = O(y), w = b.top, E = b.bottom, Y = b.left, I = b.right, H = b.width, k = b.height, ie = void 0, G = void 0, re = y.scrollWidth, ve = y.scrollHeight, R = h(y), be = y.scrollLeft, Q = y.scrollTop;
|
|
1203
|
+
y === s ? (ie = H < re && (R.overflowX === "auto" || R.overflowX === "scroll" || R.overflowX === "visible"), G = k < ve && (R.overflowY === "auto" || R.overflowY === "scroll" || R.overflowY === "visible")) : (ie = H < re && (R.overflowX === "auto" || R.overflowX === "scroll"), G = k < ve && (R.overflowY === "auto" || R.overflowY === "scroll"));
|
|
1204
|
+
var _e = ie && (Math.abs(I - i) <= a && be + H < re) - (Math.abs(Y - i) <= a && !!be), q = G && (Math.abs(E - r) <= a && Q + k < ve) - (Math.abs(w - r) <= a && !!Q);
|
|
1205
|
+
if (!C[c])
|
|
1206
|
+
for (var ae = 0; ae <= c; ae++)
|
|
1207
|
+
C[ae] || (C[ae] = {});
|
|
1208
|
+
(C[c].vx != _e || C[c].vy != q || C[c].el !== y) && (C[c].el = y, C[c].vx = _e, C[c].vy = q, clearInterval(C[c].pid), (_e != 0 || q != 0) && (u = !0, C[c].pid = setInterval((function() {
|
|
1209
|
+
o && this.layer === 0 && p.active._onTouchMove(Ue);
|
|
1210
|
+
var we = C[this.layer].vy ? C[this.layer].vy * l : 0, ee = C[this.layer].vx ? C[this.layer].vx * l : 0;
|
|
1211
|
+
typeof f == "function" && f.call(p.dragged.parentNode[M], ee, we, t, Ue, C[this.layer].el) !== "continue" || Pt(C[this.layer].el, ee, we);
|
|
1212
|
+
}).bind({
|
|
1213
|
+
layer: c
|
|
1214
|
+
}), 24))), c++;
|
|
1215
|
+
} while (e.bubbleScroll && m !== s && (m = oe(m, !1)));
|
|
1216
|
+
ut = u;
|
|
1217
|
+
}
|
|
1218
|
+
}, 30), Lt = function(e) {
|
|
1219
|
+
var n = e.originalEvent, o = e.putSortable, i = e.dragEl, r = e.activeSortable, a = e.dispatchSortableEvent, l = e.hideGhostForTarget, s = e.unhideGhostForTarget;
|
|
1220
|
+
if (n) {
|
|
1221
|
+
var u = o || r;
|
|
1222
|
+
l();
|
|
1223
|
+
var f = n.changedTouches && n.changedTouches.length ? n.changedTouches[0] : n, c = document.elementFromPoint(f.clientX, f.clientY);
|
|
1224
|
+
s(), u && !u.el.contains(c) && (a("spill"), this.onSpill({
|
|
1225
|
+
dragEl: i,
|
|
1226
|
+
putSortable: o
|
|
1227
|
+
}));
|
|
1228
|
+
}
|
|
1229
|
+
};
|
|
1230
|
+
function ft() {
|
|
1231
|
+
}
|
|
1232
|
+
ft.prototype = {
|
|
1233
|
+
startIndex: null,
|
|
1234
|
+
dragStart: function(e) {
|
|
1235
|
+
var n = e.oldDraggableIndex;
|
|
1236
|
+
this.startIndex = n;
|
|
1237
|
+
},
|
|
1238
|
+
onSpill: function(e) {
|
|
1239
|
+
var n = e.dragEl, o = e.putSortable;
|
|
1240
|
+
this.sortable.captureAnimationState(), o && o.captureAnimationState();
|
|
1241
|
+
var i = me(this.sortable.el, this.startIndex, this.options);
|
|
1242
|
+
i ? this.sortable.el.insertBefore(n, i) : this.sortable.el.appendChild(n), this.sortable.animateAll(), o && o.animateAll();
|
|
1243
|
+
},
|
|
1244
|
+
drop: Lt
|
|
1245
|
+
};
|
|
1246
|
+
K(ft, {
|
|
1247
|
+
pluginName: "revertOnSpill"
|
|
1248
|
+
});
|
|
1249
|
+
function ht() {
|
|
1250
|
+
}
|
|
1251
|
+
ht.prototype = {
|
|
1252
|
+
onSpill: function(e) {
|
|
1253
|
+
var n = e.dragEl, o = e.putSortable, i = o || this.sortable;
|
|
1254
|
+
i.captureAnimationState(), n.parentNode && n.parentNode.removeChild(n), i.animateAll();
|
|
1255
|
+
},
|
|
1256
|
+
drop: Lt
|
|
1257
|
+
};
|
|
1258
|
+
K(ht, {
|
|
1259
|
+
pluginName: "removeOnSpill"
|
|
1260
|
+
});
|
|
1261
|
+
p.mount(new wn());
|
|
1262
|
+
p.mount(ht, ft);
|
|
1263
|
+
const yn = {
|
|
1264
|
+
components: { OutputDialog: $t },
|
|
1265
|
+
data() {
|
|
1266
|
+
return {
|
|
1267
|
+
name: null,
|
|
1268
|
+
icon: "astro:add-small",
|
|
1269
|
+
url: null,
|
|
1270
|
+
tools: [],
|
|
1271
|
+
jsonContent: "",
|
|
1272
|
+
dialogTitle: "",
|
|
1273
|
+
showDialog: !1,
|
|
1274
|
+
tool_id: null
|
|
1275
|
+
};
|
|
1276
|
+
},
|
|
1277
|
+
mounted() {
|
|
1278
|
+
this.update();
|
|
1279
|
+
let t = document.getElementById("toollist");
|
|
1280
|
+
p.create(t, {
|
|
1281
|
+
filter: ".filter",
|
|
1282
|
+
// 'filter' class is not draggable
|
|
1283
|
+
onUpdate: this.sortChanged
|
|
1284
|
+
});
|
|
1285
|
+
},
|
|
1286
|
+
methods: {
|
|
1287
|
+
sortChanged(t) {
|
|
1288
|
+
de.post(`/openc3-api/tools/position/${this.tools[t.oldIndex]}`, {
|
|
1289
|
+
data: {
|
|
1290
|
+
position: t.newIndex
|
|
1291
|
+
},
|
|
1292
|
+
// Tools are global and are always installed into the DEFAULT scope
|
|
1293
|
+
params: { scope: "DEFAULT" }
|
|
1294
|
+
}).then((e) => {
|
|
1295
|
+
this.$notify.normal({
|
|
1296
|
+
title: `Reordered tool ${this.tools[t.oldIndex]}`
|
|
1297
|
+
}), this.update();
|
|
1298
|
+
});
|
|
1299
|
+
},
|
|
1300
|
+
update() {
|
|
1301
|
+
de.get("/openc3-api/tools", { params: { scope: "DEFAULT" } }).then(
|
|
1302
|
+
(t) => {
|
|
1303
|
+
this.tools = t.data, this.name = "", this.url = "";
|
|
1304
|
+
}
|
|
1305
|
+
);
|
|
1306
|
+
},
|
|
1307
|
+
add() {
|
|
1308
|
+
de.post("/openc3-api/tools", {
|
|
1309
|
+
data: {
|
|
1310
|
+
id: this.name,
|
|
1311
|
+
json: JSON.stringify({
|
|
1312
|
+
name: this.name,
|
|
1313
|
+
icon: this.icon,
|
|
1314
|
+
url: this.url,
|
|
1315
|
+
window: "NEW"
|
|
1316
|
+
})
|
|
1317
|
+
},
|
|
1318
|
+
// Tools are global and are always installed into the DEFAULT scope
|
|
1319
|
+
params: { scope: "DEFAULT" }
|
|
1320
|
+
}).then((t) => {
|
|
1321
|
+
this.$notify.normal({
|
|
1322
|
+
title: `Added tool ${this.name}`
|
|
1323
|
+
}), this.update();
|
|
1324
|
+
}).catch((t) => {
|
|
1325
|
+
window.$cosmosNotify.serious({
|
|
1326
|
+
title: `Failed to add tool ${this.name}`,
|
|
1327
|
+
message: t.response.data
|
|
1328
|
+
});
|
|
1329
|
+
});
|
|
1330
|
+
},
|
|
1331
|
+
showTool(t) {
|
|
1332
|
+
de.get(`/openc3-api/tools/${t}`, {
|
|
1333
|
+
// Tools are global and are always installed into the DEFAULT scope
|
|
1334
|
+
params: { scope: "DEFAULT" }
|
|
1335
|
+
}).then((e) => {
|
|
1336
|
+
this.tool_id = t, this.jsonContent = JSON.stringify(e.data, null, " "), this.dialogTitle = t, this.showDialog = !0;
|
|
1337
|
+
});
|
|
1338
|
+
},
|
|
1339
|
+
dialogCallback(t) {
|
|
1340
|
+
if (this.showDialog = !1, t !== null) {
|
|
1341
|
+
let e = JSON.parse(t), n = "put", o = `/openc3-api/tools/${this.tool_id}`;
|
|
1342
|
+
e.name !== this.tool_id && (n = "post", o = "/openc3-api/tools"), de[n](o, {
|
|
1343
|
+
data: {
|
|
1344
|
+
json: t
|
|
1345
|
+
},
|
|
1346
|
+
// Tools are global and are always installed into the DEFAULT scope
|
|
1347
|
+
params: { scope: "DEFAULT" }
|
|
1348
|
+
}).then((i) => {
|
|
1349
|
+
this.$notify.normal({
|
|
1350
|
+
title: `Modified tool ${e.name}`
|
|
1351
|
+
}), this.update();
|
|
1352
|
+
});
|
|
1353
|
+
}
|
|
1354
|
+
},
|
|
1355
|
+
deleteTool(t) {
|
|
1356
|
+
this.$dialog.confirm(`Are you sure you want to remove: ${t}`, {
|
|
1357
|
+
okText: "Delete",
|
|
1358
|
+
cancelText: "Cancel"
|
|
1359
|
+
}).then(function(e) {
|
|
1360
|
+
return de.delete(`/openc3-api/tools/${t}`, {
|
|
1361
|
+
// Tools are global and are always installed into the DEFAULT scope
|
|
1362
|
+
params: { scope: "DEFAULT" }
|
|
1363
|
+
});
|
|
1364
|
+
}).then((e) => {
|
|
1365
|
+
this.$notify.normal({
|
|
1366
|
+
title: `Removed tool ${t}`
|
|
1367
|
+
}), this.update();
|
|
1368
|
+
});
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
};
|
|
1372
|
+
function En(t, e, n, o, i, r) {
|
|
1373
|
+
const a = z("v-icon"), l = z("v-btn"), s = z("v-col"), u = z("v-text-field"), f = z("v-row"), c = z("v-list-item-title"), m = z("v-list-item"), y = z("v-divider"), b = z("v-list"), w = z("output-dialog");
|
|
1374
|
+
return Ee(), qe("div", null, [
|
|
1375
|
+
N(f, {
|
|
1376
|
+
"no-gutters": "",
|
|
1377
|
+
align: "center",
|
|
1378
|
+
style: { "padding-left": "10px" }
|
|
1379
|
+
}, {
|
|
1380
|
+
default: W(() => [
|
|
1381
|
+
N(s, { cols: "3" }, {
|
|
1382
|
+
default: W(() => [
|
|
1383
|
+
N(l, {
|
|
1384
|
+
block: "",
|
|
1385
|
+
color: "primary",
|
|
1386
|
+
"data-test": "toolAdd",
|
|
1387
|
+
disabled: !i.name || !i.url || !i.icon,
|
|
1388
|
+
onClick: e[0] || (e[0] = (E) => r.add())
|
|
1389
|
+
}, {
|
|
1390
|
+
default: W(() => [
|
|
1391
|
+
e[5] || (e[5] = Je(" Add ")),
|
|
1392
|
+
N(a, {
|
|
1393
|
+
end: "",
|
|
1394
|
+
theme: "dark"
|
|
1395
|
+
}, {
|
|
1396
|
+
default: W(() => [
|
|
1397
|
+
Je(vt(i.icon), 1)
|
|
1398
|
+
]),
|
|
1399
|
+
_: 1
|
|
1400
|
+
})
|
|
1401
|
+
]),
|
|
1402
|
+
_: 1
|
|
1403
|
+
}, 8, ["disabled"])
|
|
1404
|
+
]),
|
|
1405
|
+
_: 1
|
|
1406
|
+
}),
|
|
1407
|
+
N(s, { cols: "3" }, {
|
|
1408
|
+
default: W(() => [
|
|
1409
|
+
N(u, {
|
|
1410
|
+
modelValue: i.icon,
|
|
1411
|
+
"onUpdate:modelValue": e[1] || (e[1] = (E) => i.icon = E),
|
|
1412
|
+
label: "Tool Icon",
|
|
1413
|
+
class: "px-2"
|
|
1414
|
+
}, null, 8, ["modelValue"])
|
|
1415
|
+
]),
|
|
1416
|
+
_: 1
|
|
1417
|
+
}),
|
|
1418
|
+
N(s, { cols: "3" }, {
|
|
1419
|
+
default: W(() => [
|
|
1420
|
+
N(u, {
|
|
1421
|
+
modelValue: i.name,
|
|
1422
|
+
"onUpdate:modelValue": e[2] || (e[2] = (E) => i.name = E),
|
|
1423
|
+
label: "Tool Name",
|
|
1424
|
+
class: "px-2"
|
|
1425
|
+
}, null, 8, ["modelValue"])
|
|
1426
|
+
]),
|
|
1427
|
+
_: 1
|
|
1428
|
+
}),
|
|
1429
|
+
N(s, {
|
|
1430
|
+
cols: "3",
|
|
1431
|
+
class: "px-2"
|
|
1432
|
+
}, {
|
|
1433
|
+
default: W(() => [
|
|
1434
|
+
N(u, {
|
|
1435
|
+
modelValue: i.url,
|
|
1436
|
+
"onUpdate:modelValue": e[3] || (e[3] = (E) => i.url = E),
|
|
1437
|
+
label: "Tool Url"
|
|
1438
|
+
}, null, 8, ["modelValue"])
|
|
1439
|
+
]),
|
|
1440
|
+
_: 1
|
|
1441
|
+
})
|
|
1442
|
+
]),
|
|
1443
|
+
_: 1
|
|
1444
|
+
}),
|
|
1445
|
+
e[6] || (e[6] = Vt("span", { class: "text-body1 pa-3" }, "Drag and drop to reorder tools in the NavBar. Note: 'Base' and 'Admin' can't be reordered. A browser refresh is required to see the new tool order.", -1)),
|
|
1446
|
+
N(b, {
|
|
1447
|
+
id: "toollist",
|
|
1448
|
+
class: "list",
|
|
1449
|
+
"data-test": "toolList"
|
|
1450
|
+
}, {
|
|
1451
|
+
default: W(() => [
|
|
1452
|
+
(Ee(!0), qe(jt, null, Gt(i.tools, (E, Y) => (Ee(), qe("div", { key: E }, [
|
|
1453
|
+
N(m, {
|
|
1454
|
+
class: zt({ filter: E === "Base" || E === "Admin" }),
|
|
1455
|
+
"prepend-icon": "mdi-drag-horizontal"
|
|
1456
|
+
}, {
|
|
1457
|
+
append: W(() => [
|
|
1458
|
+
N(l, {
|
|
1459
|
+
icon: "mdi-eye",
|
|
1460
|
+
variant: "text",
|
|
1461
|
+
"aria-label": "View Tool",
|
|
1462
|
+
onClick: (I) => r.showTool(E)
|
|
1463
|
+
}, null, 8, ["onClick"]),
|
|
1464
|
+
N(l, {
|
|
1465
|
+
icon: "mdi-delete",
|
|
1466
|
+
variant: "text",
|
|
1467
|
+
"aria-label": "Delete Tool",
|
|
1468
|
+
onClick: (I) => r.deleteTool(E)
|
|
1469
|
+
}, null, 8, ["onClick"])
|
|
1470
|
+
]),
|
|
1471
|
+
default: W(() => [
|
|
1472
|
+
N(c, null, {
|
|
1473
|
+
default: W(() => [
|
|
1474
|
+
Je(vt(E), 1)
|
|
1475
|
+
]),
|
|
1476
|
+
_: 2
|
|
1477
|
+
}, 1024)
|
|
1478
|
+
]),
|
|
1479
|
+
_: 2
|
|
1480
|
+
}, 1032, ["class"]),
|
|
1481
|
+
Y < i.tools.length - 1 ? (Ee(), gt(y, { key: Y })) : mt("", !0)
|
|
1482
|
+
]))), 128))
|
|
1483
|
+
]),
|
|
1484
|
+
_: 1
|
|
1485
|
+
}),
|
|
1486
|
+
i.showDialog ? (Ee(), gt(w, {
|
|
1487
|
+
key: 0,
|
|
1488
|
+
modelValue: i.showDialog,
|
|
1489
|
+
"onUpdate:modelValue": e[4] || (e[4] = (E) => i.showDialog = E),
|
|
1490
|
+
content: i.jsonContent,
|
|
1491
|
+
type: "Tool",
|
|
1492
|
+
name: i.dialogTitle,
|
|
1493
|
+
onSubmit: r.dialogCallback
|
|
1494
|
+
}, null, 8, ["modelValue", "content", "name", "onSubmit"])) : mt("", !0)
|
|
1495
|
+
]);
|
|
1496
|
+
}
|
|
1497
|
+
const An = /* @__PURE__ */ Ut(yn, [["render", En], ["__scopeId", "data-v-78445080"]]);
|
|
1498
|
+
export {
|
|
1499
|
+
An as default
|
|
1500
|
+
};
|
|
1501
|
+
//# sourceMappingURL=ToolsTab-CnhhRS3J.js.map
|