@openc3/vue-common 6.2.0 → 6.3.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-BbsN1dzF.js +106 -0
- package/dist/ArrayWidget-BbsN1dzF.js.map +1 -0
- package/dist/ArrayWidget-DkjHrXsu.cjs +3 -0
- package/dist/ArrayWidget-DkjHrXsu.cjs.map +1 -0
- package/dist/ArrayplotWidget-CCKEyYIx.js +199 -0
- package/dist/ArrayplotWidget-CCKEyYIx.js.map +1 -0
- package/dist/ArrayplotWidget-COeaK_Lz.cjs +2 -0
- package/dist/ArrayplotWidget-COeaK_Lz.cjs.map +1 -0
- package/dist/AstroStatus-CILMWL6F.cjs +2 -0
- package/dist/AstroStatus-CILMWL6F.cjs.map +1 -0
- package/dist/AstroStatus-CY9VkeTN.js +40 -0
- package/dist/AstroStatus-CY9VkeTN.js.map +1 -0
- package/dist/BarColumn-C6p07yWK.js +108 -0
- package/dist/BarColumn-C6p07yWK.js.map +1 -0
- package/dist/BarColumn-CJLW1nXy.cjs +2 -0
- package/dist/BarColumn-CJLW1nXy.cjs.map +1 -0
- package/dist/BlockWidget-BFVYgbd_.cjs +3 -0
- package/dist/BlockWidget-BFVYgbd_.cjs.map +1 -0
- package/dist/BlockWidget-DlCHbqZX.js +112 -0
- package/dist/BlockWidget-DlCHbqZX.js.map +1 -0
- package/dist/ButtonWidget-CtfJzCBR.js +166 -0
- package/dist/ButtonWidget-CtfJzCBR.js.map +1 -0
- package/dist/ButtonWidget-HN8UHsme.cjs +3 -0
- package/dist/ButtonWidget-HN8UHsme.cjs.map +1 -0
- package/dist/CanvasWidget-CHmkxxMO.cjs +2 -0
- package/dist/CanvasWidget-CHmkxxMO.cjs.map +1 -0
- package/dist/CanvasWidget-CqRlXc4r.js +39 -0
- package/dist/CanvasWidget-CqRlXc4r.js.map +1 -0
- package/dist/CanvasdotWidget--Xr_KsZs.js +19 -0
- package/dist/CanvasdotWidget--Xr_KsZs.js.map +1 -0
- package/dist/CanvasdotWidget-B4bUcKRc.cjs +2 -0
- package/dist/CanvasdotWidget-B4bUcKRc.cjs.map +1 -0
- package/dist/CanvasimageWidget-B5YozXoI.cjs +2 -0
- package/dist/CanvasimageWidget-B5YozXoI.cjs.map +1 -0
- package/dist/CanvasimageWidget-BPlj5QYK.js +58 -0
- package/dist/CanvasimageWidget-BPlj5QYK.js.map +1 -0
- package/dist/CanvasimagevalueWidget-DVFGLt8f.js +107 -0
- package/dist/CanvasimagevalueWidget-DVFGLt8f.js.map +1 -0
- package/dist/CanvasimagevalueWidget-Dx1HnbEw.cjs +2 -0
- package/dist/CanvasimagevalueWidget-Dx1HnbEw.cjs.map +1 -0
- package/dist/CanvaslabelWidget-CYNqmyP0.js +23 -0
- package/dist/CanvaslabelWidget-CYNqmyP0.js.map +1 -0
- package/dist/CanvaslabelWidget-DgadQD-D.cjs +2 -0
- package/dist/CanvaslabelWidget-DgadQD-D.cjs.map +1 -0
- package/dist/CanvaslabelvalueWidget-B7yIDmsn.js +42 -0
- package/dist/CanvaslabelvalueWidget-B7yIDmsn.js.map +1 -0
- package/dist/CanvaslabelvalueWidget-C3k5gx5c.cjs +2 -0
- package/dist/CanvaslabelvalueWidget-C3k5gx5c.cjs.map +1 -0
- package/dist/CanvaslineWidget-BICdxX0Q.js +28 -0
- package/dist/CanvaslineWidget-BICdxX0Q.js.map +1 -0
- package/dist/CanvaslineWidget-CYHkes0a.cjs +2 -0
- package/dist/CanvaslineWidget-CYHkes0a.cjs.map +1 -0
- package/dist/CanvaslinevalueWidget-5DzhZ22p.cjs +2 -0
- package/dist/CanvaslinevalueWidget-5DzhZ22p.cjs.map +1 -0
- package/dist/CanvaslinevalueWidget-Cq-Ddh0P.js +44 -0
- package/dist/CanvaslinevalueWidget-Cq-Ddh0P.js.map +1 -0
- package/dist/CheckbuttonWidget-B74AWeaW.js +37 -0
- package/dist/CheckbuttonWidget-B74AWeaW.js.map +1 -0
- package/dist/CheckbuttonWidget-BCzsXnIF.cjs +2 -0
- package/dist/CheckbuttonWidget-BCzsXnIF.cjs.map +1 -0
- package/dist/ComboboxWidget-CtyKbEWb.js +37 -0
- package/dist/ComboboxWidget-CtyKbEWb.js.map +1 -0
- package/dist/ComboboxWidget-DQgDyDAC.cjs +2 -0
- package/dist/ComboboxWidget-DQgDyDAC.cjs.map +1 -0
- package/dist/CriticalCmdDialog-BnxZlt7W.cjs +2 -0
- package/dist/CriticalCmdDialog-BnxZlt7W.cjs.map +1 -0
- package/dist/CriticalCmdDialog-DPIZOBeP.js +270 -0
- package/dist/CriticalCmdDialog-DPIZOBeP.js.map +1 -0
- package/dist/CustomIcon-Bop2mEnu.cjs +2 -0
- package/dist/CustomIcon-Bop2mEnu.cjs.map +1 -0
- package/dist/CustomIcon-h5X7369N.js +50 -0
- package/dist/CustomIcon-h5X7369N.js.map +1 -0
- package/dist/DateWidget-BB4cIuUS.cjs +2 -0
- package/dist/DateWidget-BB4cIuUS.cjs.map +1 -0
- package/dist/DateWidget-BEVSczU8.js +40 -0
- package/dist/DateWidget-BEVSczU8.js.map +1 -0
- package/dist/DetailsDialog-DmEC5BTs.js +767 -0
- package/dist/DetailsDialog-DmEC5BTs.js.map +1 -0
- package/dist/DetailsDialog-mvxMFmgV.cjs +2 -0
- package/dist/DetailsDialog-mvxMFmgV.cjs.map +1 -0
- package/dist/DynamicWidget-BWEVCUfd.cjs +2 -0
- package/dist/DynamicWidget-BWEVCUfd.cjs.map +1 -0
- package/dist/DynamicWidget-CfMtj7H8.js +35 -0
- package/dist/DynamicWidget-CfMtj7H8.js.map +1 -0
- package/dist/EventListDialog-BHZLl28V.cjs +2 -0
- package/dist/EventListDialog-BHZLl28V.cjs.map +1 -0
- package/dist/EventListDialog-CSMSmCIT.js +1586 -0
- package/dist/EventListDialog-CSMSmCIT.js.map +1 -0
- package/dist/FormatvalueWidget-CdjCEAI7.cjs +2 -0
- package/dist/FormatvalueWidget-CdjCEAI7.cjs.map +1 -0
- package/dist/FormatvalueWidget-DN12xymS.js +44 -0
- package/dist/FormatvalueWidget-DN12xymS.js.map +1 -0
- package/dist/Graph-Bgo0cjl3.js +1988 -0
- package/dist/Graph-Bgo0cjl3.js.map +1 -0
- package/dist/Graph-Ujd2yaeI.cjs +2 -0
- package/dist/Graph-Ujd2yaeI.cjs.map +1 -0
- package/dist/GraphWidget-DurWDmpg.js +130 -0
- package/dist/GraphWidget-DurWDmpg.js.map +1 -0
- package/dist/GraphWidget-sid4Ws9H.cjs +2 -0
- package/dist/GraphWidget-sid4Ws9H.cjs.map +1 -0
- package/dist/HorizontalWidget-Cd_wl1b3.js +41 -0
- package/dist/HorizontalWidget-Cd_wl1b3.js.map +1 -0
- package/dist/HorizontalWidget-_6IR0cR8.cjs +2 -0
- package/dist/HorizontalWidget-_6IR0cR8.cjs.map +1 -0
- package/dist/HorizontalboxWidget-BcMTFBU-.js +47 -0
- package/dist/HorizontalboxWidget-BcMTFBU-.js.map +1 -0
- package/dist/HorizontalboxWidget-zmnurtv1.cjs +2 -0
- package/dist/HorizontalboxWidget-zmnurtv1.cjs.map +1 -0
- package/dist/HorizontallineWidget-CM-6WqCj.cjs +2 -0
- package/dist/HorizontallineWidget-CM-6WqCj.cjs.map +1 -0
- package/dist/HorizontallineWidget-CXFqHclf.js +16 -0
- package/dist/HorizontallineWidget-CXFqHclf.js.map +1 -0
- package/dist/IframeWidget-BPerHCCa.js +90 -0
- package/dist/IframeWidget-BPerHCCa.js.map +1 -0
- package/dist/IframeWidget-EhncMob0.cjs +2 -0
- package/dist/IframeWidget-EhncMob0.cjs.map +1 -0
- package/dist/ImageLoader-4N-7Gj61.js +36 -0
- package/dist/ImageLoader-4N-7Gj61.js.map +1 -0
- package/dist/ImageLoader-cRmBcpU9.cjs +2 -0
- package/dist/ImageLoader-cRmBcpU9.cjs.map +1 -0
- package/dist/ImageviewerWidget-Bv3CreXd.cjs +2 -0
- package/dist/ImageviewerWidget-Bv3CreXd.cjs.map +1 -0
- package/dist/ImageviewerWidget-Cw_H_HmZ.js +37 -0
- package/dist/ImageviewerWidget-Cw_H_HmZ.js.map +1 -0
- package/dist/InterfacesTab-B4glsR9Z.js +93 -0
- package/dist/InterfacesTab-B4glsR9Z.js.map +1 -0
- package/dist/InterfacesTab-Co1Kd6Fa.cjs +2 -0
- package/dist/InterfacesTab-Co1Kd6Fa.cjs.map +1 -0
- package/dist/LabelWidget-mMcf5S8K.cjs +2 -0
- package/dist/LabelWidget-mMcf5S8K.cjs.map +1 -0
- package/dist/LabelWidget-xrmcVeq8.js +48 -0
- package/dist/LabelWidget-xrmcVeq8.js.map +1 -0
- package/dist/LabelledWidget-BoYCuDaH.cjs +2 -0
- package/dist/LabelledWidget-BoYCuDaH.cjs.map +1 -0
- package/dist/LabelledWidget-D48QoyMk.js +42 -0
- package/dist/LabelledWidget-D48QoyMk.js.map +1 -0
- package/dist/LabelprogressbarWidget-C_950t6g.js +43 -0
- package/dist/LabelprogressbarWidget-C_950t6g.js.map +1 -0
- package/dist/LabelprogressbarWidget-DiucKsT2.cjs +2 -0
- package/dist/LabelprogressbarWidget-DiucKsT2.cjs.map +1 -0
- package/dist/LabelsparklineWidget-0KXQyPoU.js +44 -0
- package/dist/LabelsparklineWidget-0KXQyPoU.js.map +1 -0
- package/dist/LabelsparklineWidget-A3MTEhQc.cjs +2 -0
- package/dist/LabelsparklineWidget-A3MTEhQc.cjs.map +1 -0
- package/dist/LabelvalueWidget-CQ06wWDK.js +58 -0
- package/dist/LabelvalueWidget-CQ06wWDK.js.map +1 -0
- package/dist/LabelvalueWidget-DnKoz0-N.cjs +2 -0
- package/dist/LabelvalueWidget-DnKoz0-N.cjs.map +1 -0
- package/dist/LabelvaluedescWidget-Bo8zT01X.js +59 -0
- package/dist/LabelvaluedescWidget-Bo8zT01X.js.map +1 -0
- package/dist/LabelvaluedescWidget-I6ljK--Y.cjs +2 -0
- package/dist/LabelvaluedescWidget-I6ljK--Y.cjs.map +1 -0
- package/dist/LabelvaluelimitsbarWidget-BucTw8Yk.js +57 -0
- package/dist/LabelvaluelimitsbarWidget-BucTw8Yk.js.map +1 -0
- package/dist/LabelvaluelimitsbarWidget-Cb6i_Ixc.cjs +2 -0
- package/dist/LabelvaluelimitsbarWidget-Cb6i_Ixc.cjs.map +1 -0
- package/dist/LabelvaluelimitscolumnWidget-ClY5OxUC.cjs +2 -0
- package/dist/LabelvaluelimitscolumnWidget-ClY5OxUC.cjs.map +1 -0
- package/dist/LabelvaluelimitscolumnWidget-Dflb1hNd.js +47 -0
- package/dist/LabelvaluelimitscolumnWidget-Dflb1hNd.js.map +1 -0
- package/dist/LabelvaluerangebarWidget-9S5rVZaS.cjs +2 -0
- package/dist/LabelvaluerangebarWidget-9S5rVZaS.cjs.map +1 -0
- package/dist/LabelvaluerangebarWidget-D8cbfXFM.js +79 -0
- package/dist/LabelvaluerangebarWidget-D8cbfXFM.js.map +1 -0
- package/dist/Layout-DuCYyOw4.cjs +2 -0
- package/dist/Layout-DuCYyOw4.cjs.map +1 -0
- package/dist/Layout-Tf--nruw.js +14 -0
- package/dist/Layout-Tf--nruw.js.map +1 -0
- package/dist/LedWidget-B2BcwiYF.cjs +2 -0
- package/dist/LedWidget-B2BcwiYF.cjs.map +1 -0
- package/dist/LedWidget-qH_FthkK.js +145 -0
- package/dist/LedWidget-qH_FthkK.js.map +1 -0
- package/dist/LimitsbarWidget-B9lAB2RD.js +69 -0
- package/dist/LimitsbarWidget-B9lAB2RD.js.map +1 -0
- package/dist/LimitsbarWidget-CVCLFIhG.cjs +2 -0
- package/dist/LimitsbarWidget-CVCLFIhG.cjs.map +1 -0
- package/dist/LimitscolorWidget-DORhDxRo.cjs +2 -0
- package/dist/LimitscolorWidget-DORhDxRo.cjs.map +1 -0
- package/dist/LimitscolorWidget-c6Qa6su7.js +63 -0
- package/dist/LimitscolorWidget-c6Qa6su7.js.map +1 -0
- package/dist/LimitscolumnWidget-C9Uyg7Fh.cjs +2 -0
- package/dist/LimitscolumnWidget-C9Uyg7Fh.cjs.map +1 -0
- package/dist/LimitscolumnWidget-CcLs_443.js +66 -0
- package/dist/LimitscolumnWidget-CcLs_443.js.map +1 -0
- package/dist/LinegraphWidget-BSVYLFo1.js +39 -0
- package/dist/LinegraphWidget-BSVYLFo1.js.map +1 -0
- package/dist/LinegraphWidget-Bf8DIwEn.cjs +2 -0
- package/dist/LinegraphWidget-Bf8DIwEn.cjs.map +1 -0
- package/dist/MatrixbycolumnsWidget-DXFpZTre.js +56 -0
- package/dist/MatrixbycolumnsWidget-DXFpZTre.js.map +1 -0
- package/dist/MatrixbycolumnsWidget-DpdFzNeP.cjs +2 -0
- package/dist/MatrixbycolumnsWidget-DpdFzNeP.cjs.map +1 -0
- package/dist/MicroservicesTab-B5n-mN8G.cjs +2 -0
- package/dist/MicroservicesTab-B5n-mN8G.cjs.map +1 -0
- package/dist/MicroservicesTab-mCdS0v39.js +264 -0
- package/dist/MicroservicesTab-mCdS0v39.js.map +1 -0
- package/dist/Openc3Screen-BYhHaH_I.cjs +5 -0
- package/dist/Openc3Screen-BYhHaH_I.cjs.map +1 -0
- package/dist/Openc3Screen-Cud0OCFu.js +1789 -0
- package/dist/Openc3Screen-Cud0OCFu.js.map +1 -0
- package/dist/OutputDialog-DXoL9VPw.cjs +2 -0
- package/dist/OutputDialog-DXoL9VPw.cjs.map +1 -0
- package/dist/OutputDialog-zVPZiZay.js +242 -0
- package/dist/OutputDialog-zVPZiZay.js.map +1 -0
- package/dist/PackagesTab-CvT2JyMA.cjs +2 -0
- package/dist/PackagesTab-CvT2JyMA.cjs.map +1 -0
- package/dist/PackagesTab-SWcXumpK.js +332 -0
- package/dist/PackagesTab-SWcXumpK.js.map +1 -0
- package/dist/PluginsTab-B64OvayB.js +599 -0
- package/dist/PluginsTab-B64OvayB.js.map +1 -0
- package/dist/PluginsTab-CfpwWsqv.cjs +6 -0
- package/dist/PluginsTab-CfpwWsqv.cjs.map +1 -0
- package/dist/ProgressbarWidget-fGWa6ipm.cjs +2 -0
- package/dist/ProgressbarWidget-fGWa6ipm.cjs.map +1 -0
- package/dist/ProgressbarWidget-iYGw8-Dc.js +46 -0
- package/dist/ProgressbarWidget-iYGw8-Dc.js.map +1 -0
- package/dist/RadiobuttonWidget-ZEPJbOp_.cjs +2 -0
- package/dist/RadiobuttonWidget-ZEPJbOp_.cjs.map +1 -0
- package/dist/RadiobuttonWidget-ytmoVZ3u.js +34 -0
- package/dist/RadiobuttonWidget-ytmoVZ3u.js.map +1 -0
- package/dist/RadiogroupWidget-CusMBhKH.js +48 -0
- package/dist/RadiogroupWidget-CusMBhKH.js.map +1 -0
- package/dist/RadiogroupWidget-EK4rEGUC.cjs +2 -0
- package/dist/RadiogroupWidget-EK4rEGUC.cjs.map +1 -0
- package/dist/RangebarWidget-D_zGTtCa.js +67 -0
- package/dist/RangebarWidget-D_zGTtCa.js.map +1 -0
- package/dist/RangebarWidget-DwIs-L5k.cjs +2 -0
- package/dist/RangebarWidget-DwIs-L5k.cjs.map +1 -0
- package/dist/RedisTab-67UcKoPf.cjs +2 -0
- package/dist/RedisTab-67UcKoPf.cjs.map +1 -0
- package/dist/RedisTab-CyPo6ADN.js +135 -0
- package/dist/RedisTab-CyPo6ADN.js.map +1 -0
- package/dist/RollupWidget-DC3OIP6G.cjs +2 -0
- package/dist/RollupWidget-DC3OIP6G.cjs.map +1 -0
- package/dist/RollupWidget-Dolsixyt.js +83 -0
- package/dist/RollupWidget-Dolsixyt.js.map +1 -0
- package/dist/RoutersTab-BBPlFi_z.cjs +2 -0
- package/dist/RoutersTab-BBPlFi_z.cjs.map +1 -0
- package/dist/RoutersTab-Cs2dFVNA.js +95 -0
- package/dist/RoutersTab-Cs2dFVNA.js.map +1 -0
- package/dist/ScriptChooser-EV65rbWx.js +199 -0
- package/dist/ScriptChooser-EV65rbWx.js.map +1 -0
- package/dist/ScriptChooser-vyZwngrz.cjs +2 -0
- package/dist/ScriptChooser-vyZwngrz.cjs.map +1 -0
- package/dist/ScrollwindowWidget-BWeqSUPc.cjs +2 -0
- package/dist/ScrollwindowWidget-BWeqSUPc.cjs.map +1 -0
- package/dist/ScrollwindowWidget-DV2nZuNi.js +45 -0
- package/dist/ScrollwindowWidget-DV2nZuNi.js.map +1 -0
- package/dist/SecretsTab-0IFqUxNJ.cjs +2 -0
- package/dist/SecretsTab-0IFqUxNJ.cjs.map +1 -0
- package/dist/SecretsTab-DVyyyGlG.js +202 -0
- package/dist/SecretsTab-DVyyyGlG.js.map +1 -0
- package/dist/SettingsTab-B1LvOLG2.cjs +3 -0
- package/dist/SettingsTab-B1LvOLG2.cjs.map +1 -0
- package/dist/SettingsTab-g29K6FyC.js +1445 -0
- package/dist/SettingsTab-g29K6FyC.js.map +1 -0
- package/dist/SignalWidget-RvRwpE8T.cjs +2 -0
- package/dist/SignalWidget-RvRwpE8T.cjs.map +1 -0
- package/dist/SignalWidget-d9-6h85k.js +66 -0
- package/dist/SignalWidget-d9-6h85k.js.map +1 -0
- package/dist/SimpleTextDialog-Cpbt7Q-8.cjs +2 -0
- package/dist/SimpleTextDialog-Cpbt7Q-8.cjs.map +1 -0
- package/dist/SimpleTextDialog-pwN8oRy1.js +107 -0
- package/dist/SimpleTextDialog-pwN8oRy1.js.map +1 -0
- package/dist/SpacerWidget-7_8bpLCb.cjs +2 -0
- package/dist/SpacerWidget-7_8bpLCb.cjs.map +1 -0
- package/dist/SpacerWidget-BH0p2OLi.js +19 -0
- package/dist/SpacerWidget-BH0p2OLi.js.map +1 -0
- package/dist/SparklineWidget-60jVlbHA.cjs +2 -0
- package/dist/SparklineWidget-60jVlbHA.cjs.map +1 -0
- package/dist/SparklineWidget-coxi9r2g.js +48 -0
- package/dist/SparklineWidget-coxi9r2g.js.map +1 -0
- package/dist/TabbookWidget-B1XKplGH.js +66 -0
- package/dist/TabbookWidget-B1XKplGH.js.map +1 -0
- package/dist/TabbookWidget-D1CVT9IK.cjs +2 -0
- package/dist/TabbookWidget-D1CVT9IK.cjs.map +1 -0
- package/dist/TargetsTab-BkBkXn9A.js +129 -0
- package/dist/TargetsTab-BkBkXn9A.js.map +1 -0
- package/dist/TargetsTab-C-m26Eqq.cjs +2 -0
- package/dist/TargetsTab-C-m26Eqq.cjs.map +1 -0
- package/dist/TextBoxDialog-DOJ5d2RM.js +110 -0
- package/dist/TextBoxDialog-DOJ5d2RM.js.map +1 -0
- package/dist/TextBoxDialog-DfMXg_5C.cjs +2 -0
- package/dist/TextBoxDialog-DfMXg_5C.cjs.map +1 -0
- package/dist/TextboxWidget-BDG4NxRw.cjs +2 -0
- package/dist/TextboxWidget-BDG4NxRw.cjs.map +1 -0
- package/dist/TextboxWidget-C-_M2M4l.js +93 -0
- package/dist/TextboxWidget-C-_M2M4l.js.map +1 -0
- package/dist/TextfieldWidget-BGJv9Lox.cjs +2 -0
- package/dist/TextfieldWidget-BGJv9Lox.cjs.map +1 -0
- package/dist/TextfieldWidget-C08N4JE8.js +37 -0
- package/dist/TextfieldWidget-C08N4JE8.js.map +1 -0
- package/dist/TimeWidget-CGCOIouj.cjs +2 -0
- package/dist/TimeWidget-CGCOIouj.cjs.map +1 -0
- package/dist/TimeWidget-DtwdEcFg.js +40 -0
- package/dist/TimeWidget-DtwdEcFg.js.map +1 -0
- package/dist/TitleWidget-BljFH9RB.cjs +2 -0
- package/dist/TitleWidget-BljFH9RB.cjs.map +1 -0
- package/dist/TitleWidget-CT-aLcNb.js +26 -0
- package/dist/TitleWidget-CT-aLcNb.js.map +1 -0
- package/dist/ToolsTab-NveeVXz2.js +1521 -0
- package/dist/ToolsTab-NveeVXz2.js.map +1 -0
- package/dist/ToolsTab-RMTst_Sy.cjs +7 -0
- package/dist/ToolsTab-RMTst_Sy.cjs.map +1 -0
- package/dist/TopBar-CnJNNJlV.js +278 -0
- package/dist/TopBar-CnJNNJlV.js.map +1 -0
- package/dist/TopBar-Cnmb6DyC.cjs +2 -0
- package/dist/TopBar-Cnmb6DyC.cjs.map +1 -0
- package/dist/UpgradeToEnterpriseDialog-BvfgoNB1.js +94 -0
- package/dist/UpgradeToEnterpriseDialog-BvfgoNB1.js.map +1 -0
- package/dist/UpgradeToEnterpriseDialog-sUipOVpB.cjs +2 -0
- package/dist/UpgradeToEnterpriseDialog-sUipOVpB.cjs.map +1 -0
- package/dist/VWidget-2N2cOosI.cjs +2 -0
- package/dist/VWidget-2N2cOosI.cjs.map +1 -0
- package/dist/VWidget-DQqb7NVW.js +323 -0
- package/dist/VWidget-DQqb7NVW.js.map +1 -0
- package/dist/ValueWidget-C6RanBj3.js +116 -0
- package/dist/ValueWidget-C6RanBj3.js.map +1 -0
- package/dist/ValueWidget-Cu7hgKja.cjs +2 -0
- package/dist/ValueWidget-Cu7hgKja.cjs.map +1 -0
- package/dist/ValuelimitsbarWidget-B3bvjfxc.js +41 -0
- package/dist/ValuelimitsbarWidget-B3bvjfxc.js.map +1 -0
- package/dist/ValuelimitsbarWidget-C0HROxrb.cjs +2 -0
- package/dist/ValuelimitsbarWidget-C0HROxrb.cjs.map +1 -0
- package/dist/ValuelimitscolumnWidget-CWvLfg8u.cjs +2 -0
- package/dist/ValuelimitscolumnWidget-CWvLfg8u.cjs.map +1 -0
- package/dist/ValuelimitscolumnWidget-QvhI6EcE.js +40 -0
- package/dist/ValuelimitscolumnWidget-QvhI6EcE.js.map +1 -0
- package/dist/ValuerangebarWidget-Dt3K9BnC.js +65 -0
- package/dist/ValuerangebarWidget-Dt3K9BnC.js.map +1 -0
- package/dist/ValuerangebarWidget-DyN78cQl.cjs +2 -0
- package/dist/ValuerangebarWidget-DyN78cQl.cjs.map +1 -0
- package/dist/VerticalWidget-BIIViZgI.js +40 -0
- package/dist/VerticalWidget-BIIViZgI.js.map +1 -0
- package/dist/VerticalWidget-CFTOu4H8.cjs +2 -0
- package/dist/VerticalWidget-CFTOu4H8.cjs.map +1 -0
- package/dist/VerticalboxWidget-DY72fLHW.js +46 -0
- package/dist/VerticalboxWidget-DY72fLHW.js.map +1 -0
- package/dist/VerticalboxWidget-Z8-DWI8t.cjs +2 -0
- package/dist/VerticalboxWidget-Z8-DWI8t.cjs.map +1 -0
- package/dist/Widget-ChoIB2dd.cjs +2 -0
- package/dist/Widget-ChoIB2dd.cjs.map +1 -0
- package/dist/Widget-oyqWpFXJ.js +197 -0
- package/dist/Widget-oyqWpFXJ.js.map +1 -0
- package/dist/WidgetComponents-C1lSLZ0I.js +30205 -0
- package/dist/WidgetComponents-C1lSLZ0I.js.map +1 -0
- package/dist/WidgetComponents-utpQ592X.cjs +1493 -0
- package/dist/WidgetComponents-utpQ592X.cjs.map +1 -0
- package/dist/addMonths-BtG7uZLJ.js +19 -0
- package/dist/addMonths-BtG7uZLJ.js.map +1 -0
- package/dist/addMonths-n1tnl3ab.cjs +2 -0
- package/dist/addMonths-n1tnl3ab.cjs.map +1 -0
- package/dist/components.cjs +4 -0
- package/dist/components.cjs.map +1 -0
- package/dist/components.js +1379 -0
- package/dist/components.js.map +1 -0
- package/dist/fileIcon-BduOQcTc.cjs +2 -0
- package/dist/fileIcon-BduOQcTc.cjs.map +1 -0
- package/dist/fileIcon-DqRHb1_Z.js +22 -0
- package/dist/fileIcon-DqRHb1_Z.js.map +1 -0
- package/dist/format-B22VpiOS.cjs +2 -0
- package/dist/format-B22VpiOS.cjs.map +1 -0
- package/dist/format-CVeawcIv.js +1295 -0
- package/dist/format-CVeawcIv.js.map +1 -0
- package/dist/getDefaultOptions-Batab9o8.cjs +2 -0
- package/dist/getDefaultOptions-Batab9o8.cjs.map +1 -0
- package/dist/getDefaultOptions-BhSDk-Jo.js +8 -0
- package/dist/getDefaultOptions-BhSDk-Jo.js.map +1 -0
- package/dist/icons/status-dark.png +0 -0
- package/dist/icons/status-dark.xcf +0 -0
- package/dist/icons/status-light.png +0 -0
- package/dist/icons.cjs +2 -0
- package/dist/icons.cjs.map +1 -0
- package/dist/icons.js +164 -0
- package/dist/icons.js.map +1 -0
- package/dist/index-BX05anye.cjs +7 -0
- package/dist/index-BX05anye.cjs.map +1 -0
- package/dist/index-DwP8ryNM.js +1694 -0
- package/dist/index-DwP8ryNM.js.map +1 -0
- package/dist/parse-DnkEsW-3.js +1603 -0
- package/dist/parse-DnkEsW-3.js.map +1 -0
- package/dist/parse-DwfgQboe.cjs +2 -0
- package/dist/parse-DwfgQboe.cjs.map +1 -0
- package/dist/plugins.cjs +9 -0
- package/dist/plugins.cjs.map +1 -0
- package/dist/plugins.js +776 -0
- package/dist/plugins.js.map +1 -0
- package/dist/timeFilters-8SaYvcH0.cjs +2 -0
- package/dist/timeFilters-8SaYvcH0.cjs.map +1 -0
- package/dist/timeFilters-CRYpYDdf.js +622 -0
- package/dist/timeFilters-CRYpYDdf.js.map +1 -0
- package/dist/tools/admin.cjs +13 -0
- package/dist/tools/admin.cjs.map +1 -0
- package/dist/tools/admin.js +2024 -0
- package/dist/tools/admin.js.map +1 -0
- package/dist/tools/base.cjs +2 -0
- package/dist/tools/base.cjs.map +1 -0
- package/dist/tools/base.js +1677 -0
- package/dist/tools/base.js.map +1 -0
- package/dist/tools/calendar.cjs +2 -0
- package/dist/tools/calendar.cjs.map +1 -0
- package/dist/tools/calendar.js +12 -0
- package/dist/tools/calendar.js.map +1 -0
- package/dist/tools/scriptrunner.cjs +86 -0
- package/dist/tools/scriptrunner.cjs.map +1 -0
- package/dist/tools/scriptrunner.js +4564 -0
- package/dist/tools/scriptrunner.js.map +1 -0
- package/dist/util.cjs +2 -0
- package/dist/util.cjs.map +1 -0
- package/dist/util.js +9 -0
- package/dist/util.js.map +1 -0
- package/dist/vue-common.css +1 -0
- package/dist/widgets.cjs +2 -0
- package/dist/widgets.cjs.map +1 -0
- package/dist/widgets.js +132 -0
- package/dist/widgets.js.map +1 -0
- package/package.json +20 -15
package/dist/plugins.js
ADDED
|
@@ -0,0 +1,776 @@
|
|
|
1
|
+
import { resolveComponent as f, createBlock as $, openBlock as h, withCtx as d, createVNode as c, createElementVNode as E, toDisplayString as p, createCommentVNode as v, createElementBlock as _, createTextVNode as y, withDirectives as M, normalizeStyle as V, withModifiers as U, vShow as q, createApp as z, warn as G, getCurrentInstance as K, inject as Y, computed as D, shallowRef as X, watchEffect as Z, provide as J, defineComponent as Q, mergeProps as tt, h as et } from "vue";
|
|
2
|
+
import { _ as H } from "./CustomIcon-h5X7369N.js";
|
|
3
|
+
import { createStore as nt } from "vuex";
|
|
4
|
+
import { createVuetify as ot } from "vuetify";
|
|
5
|
+
import { AstroStatusColors as st, getStatusColorContrast as at, CustomIconSet as it, AstroIconVuetifySets as rt } from "./icons.js";
|
|
6
|
+
const lt = {
|
|
7
|
+
dark: !0,
|
|
8
|
+
colors: {
|
|
9
|
+
primary: "#005A8F",
|
|
10
|
+
secondary: "#4DACFF",
|
|
11
|
+
tertiary: "#BBC1C9",
|
|
12
|
+
"openc3-green": "#56f000",
|
|
13
|
+
"openc3-yellow": "#fce83a",
|
|
14
|
+
"openc3-red": "#ff3838",
|
|
15
|
+
"openc3-blue": "#2dccff",
|
|
16
|
+
"openc3-purple": "#c800c8",
|
|
17
|
+
"openc3-black": "#ffffff",
|
|
18
|
+
"openc3-white": "#ffffff"
|
|
19
|
+
}
|
|
20
|
+
}, ct = {
|
|
21
|
+
data: function() {
|
|
22
|
+
return {
|
|
23
|
+
show: !1,
|
|
24
|
+
params: {
|
|
25
|
+
title: "Title",
|
|
26
|
+
text: "The text that is displayed",
|
|
27
|
+
okText: "Ok",
|
|
28
|
+
okClass: "primary",
|
|
29
|
+
validateText: "CONFIRM",
|
|
30
|
+
cancelText: "Cancel",
|
|
31
|
+
html: !1
|
|
32
|
+
},
|
|
33
|
+
resolve: null,
|
|
34
|
+
reject: null,
|
|
35
|
+
validationText: null,
|
|
36
|
+
rules: {
|
|
37
|
+
required: (t) => !!t || "Required.",
|
|
38
|
+
match: (t) => t === this.params.validateText || "Value mismatch."
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
computed: {
|
|
43
|
+
dataTestOk: function() {
|
|
44
|
+
return `confirm-dialog-${this.params.okText.toLowerCase()}`;
|
|
45
|
+
},
|
|
46
|
+
dataTestCancel: function() {
|
|
47
|
+
return `confirm-dialog-${this.params.cancelText.toLowerCase()}`;
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
methods: {
|
|
51
|
+
dialog: function(t, e, n) {
|
|
52
|
+
this.params = t, this.show = !0, this.resolve = e, this.reject = n;
|
|
53
|
+
},
|
|
54
|
+
ok: function() {
|
|
55
|
+
(!this.params.validateText || this.params.validateText === this.validationText) && (this.show = !1, this.resolve(!0), this.refresh());
|
|
56
|
+
},
|
|
57
|
+
cancel: function() {
|
|
58
|
+
this.show = !1, this.reject(!0), this.refresh();
|
|
59
|
+
},
|
|
60
|
+
refresh: function() {
|
|
61
|
+
this.validationText = "";
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}, ut = ["innerHTML"], ft = { key: 2 }, dt = {
|
|
65
|
+
key: 3,
|
|
66
|
+
class: "validate mt-4"
|
|
67
|
+
};
|
|
68
|
+
function mt(t, e, n, o, s, a) {
|
|
69
|
+
const i = f("v-spacer"), l = f("v-toolbar"), r = f("v-icon"), u = f("v-text-field"), m = f("v-card-text"), w = f("v-btn"), T = f("v-card-actions"), k = f("v-card"), b = f("v-dialog"), x = f("v-app");
|
|
70
|
+
return h(), $(x, null, {
|
|
71
|
+
default: d(() => [
|
|
72
|
+
c(b, {
|
|
73
|
+
modelValue: t.show,
|
|
74
|
+
"onUpdate:modelValue": e[1] || (e[1] = (g) => t.show = g),
|
|
75
|
+
width: "600"
|
|
76
|
+
}, {
|
|
77
|
+
default: d(() => [
|
|
78
|
+
c(k, null, {
|
|
79
|
+
default: d(() => [
|
|
80
|
+
c(l, { height: "24" }, {
|
|
81
|
+
default: d(() => [
|
|
82
|
+
c(i),
|
|
83
|
+
E("span", null, p(t.params.title), 1),
|
|
84
|
+
c(i)
|
|
85
|
+
]),
|
|
86
|
+
_: 1
|
|
87
|
+
}),
|
|
88
|
+
c(m, { class: "mt-4 pa-3" }, {
|
|
89
|
+
default: d(() => [
|
|
90
|
+
t.params.validateText ? (h(), $(r, {
|
|
91
|
+
key: 0,
|
|
92
|
+
class: "mr-2"
|
|
93
|
+
}, {
|
|
94
|
+
default: d(() => e[2] || (e[2] = [
|
|
95
|
+
y(" mdi-alert ")
|
|
96
|
+
])),
|
|
97
|
+
_: 1
|
|
98
|
+
})) : v("", !0),
|
|
99
|
+
t.params.html ? (h(), _("span", {
|
|
100
|
+
key: 1,
|
|
101
|
+
innerHTML: t.params.text
|
|
102
|
+
}, null, 8, ut)) : (h(), _("span", ft, p(t.params.text), 1)),
|
|
103
|
+
t.params.validateText ? (h(), _("div", dt, [
|
|
104
|
+
y(" Enter " + p(t.params.validateText) + " to confirm! ", 1),
|
|
105
|
+
c(u, {
|
|
106
|
+
variant: "solo",
|
|
107
|
+
density: "compact",
|
|
108
|
+
"single-line": "",
|
|
109
|
+
modelValue: t.validationText,
|
|
110
|
+
"onUpdate:modelValue": e[0] || (e[0] = (g) => t.validationText = g),
|
|
111
|
+
rules: [t.rules.required, t.rules.match],
|
|
112
|
+
"data-test": "confirm-dialog-validate"
|
|
113
|
+
}, null, 8, ["modelValue", "rules"])
|
|
114
|
+
])) : v("", !0)
|
|
115
|
+
]),
|
|
116
|
+
_: 1
|
|
117
|
+
}),
|
|
118
|
+
c(T, { class: "px-2" }, {
|
|
119
|
+
default: d(() => [
|
|
120
|
+
c(i),
|
|
121
|
+
t.params.cancelText ? (h(), $(w, {
|
|
122
|
+
key: 0,
|
|
123
|
+
variant: "outlined",
|
|
124
|
+
"data-test": a.dataTestCancel,
|
|
125
|
+
onClick: a.cancel
|
|
126
|
+
}, {
|
|
127
|
+
default: d(() => [
|
|
128
|
+
y(p(t.params.cancelText), 1)
|
|
129
|
+
]),
|
|
130
|
+
_: 1
|
|
131
|
+
}, 8, ["data-test", "onClick"])) : v("", !0),
|
|
132
|
+
c(w, {
|
|
133
|
+
variant: "flat",
|
|
134
|
+
color: t.params.okClass,
|
|
135
|
+
"data-test": a.dataTestOk,
|
|
136
|
+
onClick: a.ok
|
|
137
|
+
}, {
|
|
138
|
+
default: d(() => [
|
|
139
|
+
y(p(t.params.okText), 1)
|
|
140
|
+
]),
|
|
141
|
+
_: 1
|
|
142
|
+
}, 8, ["color", "data-test", "onClick"])
|
|
143
|
+
]),
|
|
144
|
+
_: 1
|
|
145
|
+
})
|
|
146
|
+
]),
|
|
147
|
+
_: 1
|
|
148
|
+
})
|
|
149
|
+
]),
|
|
150
|
+
_: 1
|
|
151
|
+
}, 8, ["modelValue"])
|
|
152
|
+
]),
|
|
153
|
+
_: 1
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
const ht = /* @__PURE__ */ H(ct, [["render", mt], ["__scopeId", "data-v-f10fb7f4"]]);
|
|
157
|
+
class pt {
|
|
158
|
+
constructor() {
|
|
159
|
+
this.mounted = !1, this.$root = null;
|
|
160
|
+
}
|
|
161
|
+
mount() {
|
|
162
|
+
if (this.mounted) return;
|
|
163
|
+
const e = window.Vue.createApp(ht);
|
|
164
|
+
e.use(B);
|
|
165
|
+
const n = document.createElement("div");
|
|
166
|
+
document.querySelector("#openc3-app-toolbar > div").appendChild(n), this.$root = e.mount(n), this.mounted = !0;
|
|
167
|
+
}
|
|
168
|
+
open({ title: e, text: n, okText: o, okClass: s, validateText: a, cancelText: i, html: l }) {
|
|
169
|
+
return this.mount(), new Promise((r, u) => {
|
|
170
|
+
this.$root.dialog(
|
|
171
|
+
{ title: e, text: n, okText: o, okClass: s, validateText: a, cancelText: i, html: l },
|
|
172
|
+
r,
|
|
173
|
+
u
|
|
174
|
+
);
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
confirm(e, { okText: n = "Ok", cancelText: o = "Cancel", okClass: s = "primary" }) {
|
|
178
|
+
return this.open({
|
|
179
|
+
title: "Confirm",
|
|
180
|
+
text: e,
|
|
181
|
+
okText: n,
|
|
182
|
+
okClass: s,
|
|
183
|
+
validateText: null,
|
|
184
|
+
cancelText: o,
|
|
185
|
+
html: !1
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
alert(e, { okText: n = "Ok", html: o = !1, okClass: s = "primary" }) {
|
|
189
|
+
return this.open({
|
|
190
|
+
title: "Alert",
|
|
191
|
+
text: e,
|
|
192
|
+
okText: n,
|
|
193
|
+
okClass: s,
|
|
194
|
+
validateText: null,
|
|
195
|
+
cancelText: null,
|
|
196
|
+
html: o
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
validate(e, {
|
|
200
|
+
okText: n = "Ok",
|
|
201
|
+
validateText: o = "CONFIRM",
|
|
202
|
+
cancelText: s = "Cancel",
|
|
203
|
+
okClass: a = "primary"
|
|
204
|
+
}) {
|
|
205
|
+
return this.open({
|
|
206
|
+
title: "Confirm",
|
|
207
|
+
text: e,
|
|
208
|
+
okText: n,
|
|
209
|
+
okClass: a,
|
|
210
|
+
validateText: o,
|
|
211
|
+
cancelText: s,
|
|
212
|
+
html: !1
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
const jt = {
|
|
217
|
+
install(t, e) {
|
|
218
|
+
const n = new pt();
|
|
219
|
+
t.provide("dialog", n), t.config.globalProperties.hasOwnProperty("$dialog") || (t.config.globalProperties.$dialog = n);
|
|
220
|
+
}
|
|
221
|
+
}, gt = {
|
|
222
|
+
data: function() {
|
|
223
|
+
return {
|
|
224
|
+
showToast: !1,
|
|
225
|
+
expanded: !1,
|
|
226
|
+
toastNotification: {
|
|
227
|
+
title: "Title here",
|
|
228
|
+
body: "This is the notification body",
|
|
229
|
+
message: "Overall message here"
|
|
230
|
+
},
|
|
231
|
+
timeout: null,
|
|
232
|
+
noToastPaths: ["/login"]
|
|
233
|
+
};
|
|
234
|
+
},
|
|
235
|
+
computed: {
|
|
236
|
+
toastNotificationIcon: function() {
|
|
237
|
+
switch (this.toastNotification.type) {
|
|
238
|
+
case "notification":
|
|
239
|
+
return "mdi-bell";
|
|
240
|
+
case "alert":
|
|
241
|
+
default:
|
|
242
|
+
return "mdi-alert-box";
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
toastStyle: function() {
|
|
246
|
+
return `
|
|
247
|
+
--toast-bg-color:${st[this.toastNotification.level]};
|
|
248
|
+
--toast-fg-color:${at(
|
|
249
|
+
this.toastNotification.level
|
|
250
|
+
)};
|
|
251
|
+
`;
|
|
252
|
+
},
|
|
253
|
+
contentStyle: function() {
|
|
254
|
+
return `
|
|
255
|
+
white-space: ${this.expanded ? "normal" : "nowrap"};
|
|
256
|
+
overflow-x: ${this.expanded ? "visible" : "hidden"};
|
|
257
|
+
text-overflow: ${this.expanded ? "unset" : "ellipsis"};
|
|
258
|
+
`;
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
methods: {
|
|
262
|
+
toast: function(t, e) {
|
|
263
|
+
this.noToastPaths.includes(window.location.pathname) || (e === void 0 && (e = 5e3), this.toastNotification = t, this.showToast = !0, this.cancelAutohide(), e && (this.timeout = setTimeout(() => {
|
|
264
|
+
this.hide();
|
|
265
|
+
}, e)));
|
|
266
|
+
},
|
|
267
|
+
hide: function() {
|
|
268
|
+
this.cancelAutohide(), this.showToast = !1;
|
|
269
|
+
},
|
|
270
|
+
cancelAutohide: function() {
|
|
271
|
+
this.timeout && (clearTimeout(this.timeout), this.timeout = null);
|
|
272
|
+
},
|
|
273
|
+
expand: function() {
|
|
274
|
+
this.cancelAutohide(), this.expanded = !0;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}, yt = {
|
|
278
|
+
key: 0,
|
|
279
|
+
class: "text-subtitle-1 mr-1 notification-text"
|
|
280
|
+
}, vt = {
|
|
281
|
+
key: 1,
|
|
282
|
+
class: "text-body-2 notification-text"
|
|
283
|
+
}, _t = {
|
|
284
|
+
key: 2,
|
|
285
|
+
class: "text-body-2 notification-text"
|
|
286
|
+
};
|
|
287
|
+
function wt(t, e, n, o, s, a) {
|
|
288
|
+
const i = f("v-icon"), l = f("v-spacer"), r = f("v-btn"), u = f("v-sheet"), m = f("v-slide-y-transition");
|
|
289
|
+
return h(), $(m, null, {
|
|
290
|
+
default: d(() => [
|
|
291
|
+
M(c(u, {
|
|
292
|
+
style: V(a.toastStyle),
|
|
293
|
+
class: "toast-notification",
|
|
294
|
+
onClick: a.expand
|
|
295
|
+
}, {
|
|
296
|
+
default: d(() => [
|
|
297
|
+
c(i, { class: "mr-1 notification-text" }, {
|
|
298
|
+
default: d(() => [
|
|
299
|
+
y(p(a.toastNotificationIcon), 1)
|
|
300
|
+
]),
|
|
301
|
+
_: 1
|
|
302
|
+
}),
|
|
303
|
+
E("div", {
|
|
304
|
+
class: "toast-content",
|
|
305
|
+
style: V(a.contentStyle)
|
|
306
|
+
}, [
|
|
307
|
+
t.toastNotification.title ? (h(), _("span", yt, p(t.toastNotification.title) + ": ", 1)) : v("", !0),
|
|
308
|
+
t.toastNotification.body ? (h(), _("span", vt, p(t.toastNotification.body), 1)) : v("", !0),
|
|
309
|
+
t.toastNotification.message ? (h(), _("span", _t, p(t.toastNotification.message), 1)) : v("", !0)
|
|
310
|
+
], 4),
|
|
311
|
+
c(l),
|
|
312
|
+
c(r, {
|
|
313
|
+
variant: "text",
|
|
314
|
+
onClick: U(a.hide, ["stop"]),
|
|
315
|
+
class: "notification-text"
|
|
316
|
+
}, {
|
|
317
|
+
default: d(() => e[0] || (e[0] = [
|
|
318
|
+
y(" Dismiss ")
|
|
319
|
+
])),
|
|
320
|
+
_: 1
|
|
321
|
+
}, 8, ["onClick"])
|
|
322
|
+
]),
|
|
323
|
+
_: 1
|
|
324
|
+
}, 8, ["style", "onClick"]), [
|
|
325
|
+
[q, t.showToast]
|
|
326
|
+
])
|
|
327
|
+
]),
|
|
328
|
+
_: 1
|
|
329
|
+
});
|
|
330
|
+
}
|
|
331
|
+
const Ct = /* @__PURE__ */ H(gt, [["render", wt], ["__scopeId", "data-v-b0459ba8"]]);
|
|
332
|
+
class Tt {
|
|
333
|
+
/*
|
|
334
|
+
* This gets called by the `install()` function below
|
|
335
|
+
*/
|
|
336
|
+
constructor(e = {}) {
|
|
337
|
+
var n;
|
|
338
|
+
this.$store = e.store, this.mounted = !1, this.$root = null, (n = window.$cosmosNotify) != null && n.$root ? (this.mounted = !0, this.$root = window.$cosmosNotify.$root) : window.$cosmosNotify = this;
|
|
339
|
+
}
|
|
340
|
+
/*
|
|
341
|
+
* This gets called each time `open()` is invoked by an app in COSMOS.
|
|
342
|
+
* It puts the element into the DOM that allows toasts to be shown.
|
|
343
|
+
*/
|
|
344
|
+
mount() {
|
|
345
|
+
if (this.mounted) return;
|
|
346
|
+
const e = z(Ct);
|
|
347
|
+
e.use(B);
|
|
348
|
+
const n = document.createElement("div");
|
|
349
|
+
document.querySelector("#openc3-app-toolbar > div").appendChild(n), this.$root = e.mount(n), this.mounted = !0;
|
|
350
|
+
}
|
|
351
|
+
open({
|
|
352
|
+
method: e,
|
|
353
|
+
title: n,
|
|
354
|
+
body: o,
|
|
355
|
+
message: s,
|
|
356
|
+
level: a,
|
|
357
|
+
duration: i,
|
|
358
|
+
type: l = "alert",
|
|
359
|
+
logToConsole: r = !1,
|
|
360
|
+
saveToHistory: u = !0
|
|
361
|
+
}) {
|
|
362
|
+
this.mount(), r && console.log(s ? `${a.toUpperCase()} - ${s}` : `${a.toUpperCase()} - ${n}: ${o}`), u && this.$store.commit("notifyAddHistory", { title: n, body: o, message: s, level: a }), this[e]({ title: n, body: o, message: s, level: a, duration: i, type: l });
|
|
363
|
+
}
|
|
364
|
+
toast({ title: e, body: n, message: o, level: s, duration: a, type: i }) {
|
|
365
|
+
this.$root.toast(
|
|
366
|
+
{
|
|
367
|
+
title: e,
|
|
368
|
+
body: n,
|
|
369
|
+
message: o,
|
|
370
|
+
level: s,
|
|
371
|
+
type: i
|
|
372
|
+
},
|
|
373
|
+
a
|
|
374
|
+
);
|
|
375
|
+
}
|
|
376
|
+
critical({
|
|
377
|
+
title: e,
|
|
378
|
+
body: n,
|
|
379
|
+
message: o,
|
|
380
|
+
type: s,
|
|
381
|
+
duration: a,
|
|
382
|
+
logToConsole: i,
|
|
383
|
+
saveToHistory: l
|
|
384
|
+
}) {
|
|
385
|
+
this.open({
|
|
386
|
+
method: "toast",
|
|
387
|
+
level: "critical",
|
|
388
|
+
title: e,
|
|
389
|
+
body: n,
|
|
390
|
+
message: o,
|
|
391
|
+
type: s,
|
|
392
|
+
duration: a,
|
|
393
|
+
logToConsole: i,
|
|
394
|
+
saveToHistory: l
|
|
395
|
+
});
|
|
396
|
+
}
|
|
397
|
+
FATAL(e) {
|
|
398
|
+
this.critical(e);
|
|
399
|
+
}
|
|
400
|
+
ERROR(e) {
|
|
401
|
+
this.critical(e);
|
|
402
|
+
}
|
|
403
|
+
serious({
|
|
404
|
+
title: e,
|
|
405
|
+
body: n,
|
|
406
|
+
message: o,
|
|
407
|
+
type: s,
|
|
408
|
+
duration: a,
|
|
409
|
+
logToConsole: i,
|
|
410
|
+
saveToHistory: l
|
|
411
|
+
}) {
|
|
412
|
+
this.open({
|
|
413
|
+
method: "toast",
|
|
414
|
+
level: "serious",
|
|
415
|
+
title: e,
|
|
416
|
+
body: n,
|
|
417
|
+
message: o,
|
|
418
|
+
type: s,
|
|
419
|
+
duration: a,
|
|
420
|
+
logToConsole: i,
|
|
421
|
+
saveToHistory: l
|
|
422
|
+
});
|
|
423
|
+
}
|
|
424
|
+
caution({
|
|
425
|
+
title: e,
|
|
426
|
+
body: n,
|
|
427
|
+
message: o,
|
|
428
|
+
type: s,
|
|
429
|
+
duration: a,
|
|
430
|
+
logToConsole: i,
|
|
431
|
+
saveToHistory: l
|
|
432
|
+
}) {
|
|
433
|
+
this.open({
|
|
434
|
+
method: "toast",
|
|
435
|
+
level: "caution",
|
|
436
|
+
title: e,
|
|
437
|
+
body: n,
|
|
438
|
+
message: o,
|
|
439
|
+
type: s,
|
|
440
|
+
duration: a,
|
|
441
|
+
logToConsole: i,
|
|
442
|
+
saveToHistory: l
|
|
443
|
+
});
|
|
444
|
+
}
|
|
445
|
+
WARN(e) {
|
|
446
|
+
this.caution(e);
|
|
447
|
+
}
|
|
448
|
+
normal({
|
|
449
|
+
title: e,
|
|
450
|
+
body: n,
|
|
451
|
+
message: o,
|
|
452
|
+
type: s,
|
|
453
|
+
duration: a,
|
|
454
|
+
logToConsole: i,
|
|
455
|
+
saveToHistory: l
|
|
456
|
+
}) {
|
|
457
|
+
this.open({
|
|
458
|
+
method: "toast",
|
|
459
|
+
level: "normal",
|
|
460
|
+
title: e,
|
|
461
|
+
body: n,
|
|
462
|
+
message: o,
|
|
463
|
+
type: s,
|
|
464
|
+
duration: a,
|
|
465
|
+
logToConsole: i,
|
|
466
|
+
saveToHistory: l
|
|
467
|
+
});
|
|
468
|
+
}
|
|
469
|
+
INFO(e) {
|
|
470
|
+
this.normal(e);
|
|
471
|
+
}
|
|
472
|
+
DEBUG(e) {
|
|
473
|
+
this.normal(e);
|
|
474
|
+
}
|
|
475
|
+
standby({
|
|
476
|
+
title: e,
|
|
477
|
+
body: n,
|
|
478
|
+
message: o,
|
|
479
|
+
type: s,
|
|
480
|
+
duration: a,
|
|
481
|
+
logToConsole: i,
|
|
482
|
+
saveToHistory: l
|
|
483
|
+
}) {
|
|
484
|
+
this.open({
|
|
485
|
+
method: "toast",
|
|
486
|
+
level: "standby",
|
|
487
|
+
title: e,
|
|
488
|
+
body: n,
|
|
489
|
+
message: o,
|
|
490
|
+
type: s,
|
|
491
|
+
duration: a,
|
|
492
|
+
logToConsole: i,
|
|
493
|
+
saveToHistory: l
|
|
494
|
+
});
|
|
495
|
+
}
|
|
496
|
+
off({ title: e, body: n, message: o, type: s, duration: a, logToConsole: i, saveToHistory: l }) {
|
|
497
|
+
this.open({
|
|
498
|
+
method: "toast",
|
|
499
|
+
level: "off",
|
|
500
|
+
title: e,
|
|
501
|
+
body: n,
|
|
502
|
+
message: o,
|
|
503
|
+
type: s,
|
|
504
|
+
duration: a,
|
|
505
|
+
logToConsole: i,
|
|
506
|
+
saveToHistory: l
|
|
507
|
+
});
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
const Ft = {
|
|
511
|
+
/*
|
|
512
|
+
* This gets called by the Vue runtime when you have `app.use(Notify)` in that app's main .js file.
|
|
513
|
+
*/
|
|
514
|
+
install(t, e) {
|
|
515
|
+
const n = new Tt(e);
|
|
516
|
+
t.provide("notify", n), t.config.globalProperties.hasOwnProperty("$notify") || (t.config.globalProperties.$notify = n);
|
|
517
|
+
}
|
|
518
|
+
}, I = 100, Rt = nt({
|
|
519
|
+
state: {
|
|
520
|
+
notifyHistory: [],
|
|
521
|
+
namedWidgets: {}
|
|
522
|
+
},
|
|
523
|
+
getters: {
|
|
524
|
+
namedWidget: (t) => (e) => t.namedWidgets[e]
|
|
525
|
+
},
|
|
526
|
+
mutations: {
|
|
527
|
+
notifyAddHistory: (t, e) => {
|
|
528
|
+
t.notifyHistory.length >= I && (t.notifyHistory.length = I - 1), t.notifyHistory.unshift(e);
|
|
529
|
+
},
|
|
530
|
+
notifyClearHistory: (t) => {
|
|
531
|
+
t.notifyHistory = [];
|
|
532
|
+
},
|
|
533
|
+
setNamedWidget: (t, e) => {
|
|
534
|
+
Object.assign(t.namedWidgets, e);
|
|
535
|
+
},
|
|
536
|
+
clearNamedWidget: (t, e) => {
|
|
537
|
+
delete t.namedWidgets[e];
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
modules: {}
|
|
541
|
+
});
|
|
542
|
+
function P(t) {
|
|
543
|
+
let e;
|
|
544
|
+
return t !== null && typeof t == "object" && ((e = Object.getPrototypeOf(t)) === Object.prototype || e === null);
|
|
545
|
+
}
|
|
546
|
+
function kt(t, e) {
|
|
547
|
+
const n = {};
|
|
548
|
+
for (const o of e)
|
|
549
|
+
Object.hasOwn(t, o) && (n[o] = t[o]);
|
|
550
|
+
return n;
|
|
551
|
+
}
|
|
552
|
+
function j() {
|
|
553
|
+
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0;
|
|
554
|
+
const o = {};
|
|
555
|
+
for (const s in t)
|
|
556
|
+
o[s] = t[s];
|
|
557
|
+
for (const s in e) {
|
|
558
|
+
const a = t[s], i = e[s];
|
|
559
|
+
if (P(a) && P(i)) {
|
|
560
|
+
o[s] = j(a, i, n);
|
|
561
|
+
continue;
|
|
562
|
+
}
|
|
563
|
+
if (n && Array.isArray(a) && Array.isArray(i)) {
|
|
564
|
+
o[s] = n(a, i);
|
|
565
|
+
continue;
|
|
566
|
+
}
|
|
567
|
+
o[s] = i;
|
|
568
|
+
}
|
|
569
|
+
return o;
|
|
570
|
+
}
|
|
571
|
+
function C() {
|
|
572
|
+
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
|
|
573
|
+
if (C.cache.has(t)) return C.cache.get(t);
|
|
574
|
+
const e = t.replace(/[^a-z]/gi, "-").replace(/\B([A-Z])/g, "-$1").toLowerCase();
|
|
575
|
+
return C.cache.set(t, e), e;
|
|
576
|
+
}
|
|
577
|
+
C.cache = /* @__PURE__ */ new Map();
|
|
578
|
+
function bt(t) {
|
|
579
|
+
G(`Vuetify: ${t}`);
|
|
580
|
+
}
|
|
581
|
+
function F(t, e) {
|
|
582
|
+
return (n) => Object.keys(t).reduce((o, s) => {
|
|
583
|
+
const i = typeof t[s] == "object" && t[s] != null && !Array.isArray(t[s]) ? t[s] : {
|
|
584
|
+
type: t[s]
|
|
585
|
+
};
|
|
586
|
+
return n && s in n ? o[s] = {
|
|
587
|
+
...i,
|
|
588
|
+
default: n[s]
|
|
589
|
+
} : o[s] = i, e && !o[s].source && (o[s].source = e), o;
|
|
590
|
+
}, {});
|
|
591
|
+
}
|
|
592
|
+
function R(t, e) {
|
|
593
|
+
const n = K();
|
|
594
|
+
if (!n)
|
|
595
|
+
throw new Error(`[Vuetify] ${t} must be called from inside a setup function`);
|
|
596
|
+
return n;
|
|
597
|
+
}
|
|
598
|
+
function xt(t) {
|
|
599
|
+
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : R("injectSelf");
|
|
600
|
+
const {
|
|
601
|
+
provides: n
|
|
602
|
+
} = e;
|
|
603
|
+
if (n && t in n)
|
|
604
|
+
return n[t];
|
|
605
|
+
}
|
|
606
|
+
const O = Symbol.for("vuetify:defaults");
|
|
607
|
+
function W() {
|
|
608
|
+
const t = Y(O);
|
|
609
|
+
if (!t) throw new Error("[Vuetify] Could not find defaults instance");
|
|
610
|
+
return t;
|
|
611
|
+
}
|
|
612
|
+
function $t(t, e) {
|
|
613
|
+
var n, o;
|
|
614
|
+
return typeof ((n = t.props) == null ? void 0 : n[e]) < "u" || typeof ((o = t.props) == null ? void 0 : o[C(e)]) < "u";
|
|
615
|
+
}
|
|
616
|
+
function At() {
|
|
617
|
+
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = arguments.length > 1 ? arguments[1] : void 0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : W();
|
|
618
|
+
const o = R("useDefaults");
|
|
619
|
+
if (e = e ?? o.type.name ?? o.type.__name, !e)
|
|
620
|
+
throw new Error("[Vuetify] Could not determine component name");
|
|
621
|
+
const s = D(() => {
|
|
622
|
+
var r;
|
|
623
|
+
return (r = n.value) == null ? void 0 : r[t._as ?? e];
|
|
624
|
+
}), a = new Proxy(t, {
|
|
625
|
+
get(r, u) {
|
|
626
|
+
var w, T, k, b, x, g, S;
|
|
627
|
+
const m = Reflect.get(r, u);
|
|
628
|
+
return u === "class" || u === "style" ? [(w = s.value) == null ? void 0 : w[u], m].filter((L) => L != null) : typeof u == "string" && !$t(o.vnode, u) ? ((T = s.value) == null ? void 0 : T[u]) !== void 0 ? (k = s.value) == null ? void 0 : k[u] : ((x = (b = n.value) == null ? void 0 : b.global) == null ? void 0 : x[u]) !== void 0 ? (S = (g = n.value) == null ? void 0 : g.global) == null ? void 0 : S[u] : m : m;
|
|
629
|
+
}
|
|
630
|
+
}), i = X();
|
|
631
|
+
Z(() => {
|
|
632
|
+
if (s.value) {
|
|
633
|
+
const r = Object.entries(s.value).filter((u) => {
|
|
634
|
+
let [m] = u;
|
|
635
|
+
return m.startsWith(m[0].toUpperCase());
|
|
636
|
+
});
|
|
637
|
+
i.value = r.length ? Object.fromEntries(r) : void 0;
|
|
638
|
+
} else
|
|
639
|
+
i.value = void 0;
|
|
640
|
+
});
|
|
641
|
+
function l() {
|
|
642
|
+
const r = xt(O, o);
|
|
643
|
+
J(O, D(() => i.value ? j((r == null ? void 0 : r.value) ?? {}, i.value) : r == null ? void 0 : r.value));
|
|
644
|
+
}
|
|
645
|
+
return {
|
|
646
|
+
props: a,
|
|
647
|
+
provideSubDefaults: l
|
|
648
|
+
};
|
|
649
|
+
}
|
|
650
|
+
function A(t) {
|
|
651
|
+
if (t._setup = t._setup ?? t.setup, !t.name)
|
|
652
|
+
return bt("The component is missing an explicit name, unable to generate default prop value"), t;
|
|
653
|
+
if (t._setup) {
|
|
654
|
+
t.props = F(t.props ?? {}, t.name)();
|
|
655
|
+
const e = Object.keys(t.props).filter((n) => n !== "class" && n !== "style");
|
|
656
|
+
t.filterProps = function(o) {
|
|
657
|
+
return kt(o, e);
|
|
658
|
+
}, t.props._as = String, t.setup = function(o, s) {
|
|
659
|
+
const a = W();
|
|
660
|
+
if (!a.value) return t._setup(o, s);
|
|
661
|
+
const {
|
|
662
|
+
props: i,
|
|
663
|
+
provideSubDefaults: l
|
|
664
|
+
} = At(o, o._as ?? t.name, a), r = t._setup(i, s);
|
|
665
|
+
return l(), r;
|
|
666
|
+
};
|
|
667
|
+
}
|
|
668
|
+
return t;
|
|
669
|
+
}
|
|
670
|
+
function Nt() {
|
|
671
|
+
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
|
|
672
|
+
return (e) => (t ? A : Q)(e);
|
|
673
|
+
}
|
|
674
|
+
const Ot = [String, Function, Object, Array], N = F({
|
|
675
|
+
icon: {
|
|
676
|
+
type: Ot
|
|
677
|
+
},
|
|
678
|
+
// Could not remove this and use makeTagProps, types complained because it is not required
|
|
679
|
+
tag: {
|
|
680
|
+
type: String,
|
|
681
|
+
required: !0
|
|
682
|
+
}
|
|
683
|
+
}, "icon");
|
|
684
|
+
Nt()({
|
|
685
|
+
name: "VComponentIcon",
|
|
686
|
+
props: N(),
|
|
687
|
+
setup(t, e) {
|
|
688
|
+
let {
|
|
689
|
+
slots: n
|
|
690
|
+
} = e;
|
|
691
|
+
return () => {
|
|
692
|
+
const o = t.icon;
|
|
693
|
+
return c(t.tag, null, {
|
|
694
|
+
default: () => {
|
|
695
|
+
var s;
|
|
696
|
+
return [t.icon ? c(o, null, null) : (s = n.default) == null ? void 0 : s.call(n)];
|
|
697
|
+
}
|
|
698
|
+
});
|
|
699
|
+
};
|
|
700
|
+
}
|
|
701
|
+
});
|
|
702
|
+
A({
|
|
703
|
+
name: "VSvgIcon",
|
|
704
|
+
inheritAttrs: !1,
|
|
705
|
+
props: N(),
|
|
706
|
+
setup(t, e) {
|
|
707
|
+
let {
|
|
708
|
+
attrs: n
|
|
709
|
+
} = e;
|
|
710
|
+
return () => c(t.tag, tt(n, {
|
|
711
|
+
style: null
|
|
712
|
+
}), {
|
|
713
|
+
default: () => [c("svg", {
|
|
714
|
+
class: "v-icon__svg",
|
|
715
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
716
|
+
viewBox: "0 0 24 24",
|
|
717
|
+
role: "img",
|
|
718
|
+
"aria-hidden": "true"
|
|
719
|
+
}, [Array.isArray(t.icon) ? t.icon.map((o) => Array.isArray(o) ? c("path", {
|
|
720
|
+
d: o[0],
|
|
721
|
+
"fill-opacity": o[1]
|
|
722
|
+
}, null) : c("path", {
|
|
723
|
+
d: o
|
|
724
|
+
}, null)) : c("path", {
|
|
725
|
+
d: t.icon
|
|
726
|
+
}, null)])]
|
|
727
|
+
});
|
|
728
|
+
}
|
|
729
|
+
});
|
|
730
|
+
A({
|
|
731
|
+
name: "VLigatureIcon",
|
|
732
|
+
props: N(),
|
|
733
|
+
setup(t) {
|
|
734
|
+
return () => c(t.tag, null, {
|
|
735
|
+
default: () => [t.icon]
|
|
736
|
+
});
|
|
737
|
+
}
|
|
738
|
+
});
|
|
739
|
+
const St = A({
|
|
740
|
+
name: "VClassIcon",
|
|
741
|
+
props: N(),
|
|
742
|
+
setup(t) {
|
|
743
|
+
return () => c(t.tag, {
|
|
744
|
+
class: t.icon
|
|
745
|
+
}, null);
|
|
746
|
+
}
|
|
747
|
+
}), Vt = {
|
|
748
|
+
// Not using mergeProps here, functional components merge props by default (?)
|
|
749
|
+
component: (t) => et(St, {
|
|
750
|
+
...t,
|
|
751
|
+
class: "mdi"
|
|
752
|
+
})
|
|
753
|
+
}, B = ot({
|
|
754
|
+
theme: {
|
|
755
|
+
defaultTheme: "cosmosDark",
|
|
756
|
+
themes: {
|
|
757
|
+
cosmosDark: lt
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
icons: {
|
|
761
|
+
defaultSet: "mdi",
|
|
762
|
+
sets: {
|
|
763
|
+
mdi: Vt,
|
|
764
|
+
...rt,
|
|
765
|
+
...it
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
});
|
|
769
|
+
export {
|
|
770
|
+
jt as Dialog,
|
|
771
|
+
Ft as Notify,
|
|
772
|
+
lt as cosmosThemeDark,
|
|
773
|
+
Rt as store,
|
|
774
|
+
B as vuetify
|
|
775
|
+
};
|
|
776
|
+
//# sourceMappingURL=plugins.js.map
|