-
-
-
-
- mdi-menu-down
-
- mdi-pencil
-
-
- mdi-delete
-
-
- mdi-plus
-
-
-
-
- remove '{{selected}}' ephemeris?
-
-
- mdi-close
-
-
- mdi-delete
-
-
-
-
-
-
- mdi-close
-
-
- mdi-check
-
-
-
-
-
-
-
-
-
-
diff --git a/lcviz/helper.py b/lcviz/helper.py
index 59fc5c66..d063ec69 100644
--- a/lcviz/helper.py
+++ b/lcviz/helper.py
@@ -10,7 +10,7 @@
__all__ = ['LCviz']
-custom_components = {'lcviz-editable-select': 'components/plugin_editable_select.vue'}
+custom_components = {}
# Register pure vue component. This allows us to do recursive component instantiation only in the
# vue component file
diff --git a/lcviz/plugins/ephemeris/ephemeris.py b/lcviz/plugins/ephemeris/ephemeris.py
index 38aecee0..1d2762cf 100644
--- a/lcviz/plugins/ephemeris/ephemeris.py
+++ b/lcviz/plugins/ephemeris/ephemeris.py
@@ -7,13 +7,12 @@
from jdaviz.core.custom_traitlets import FloatHandleEmpty
from jdaviz.core.events import (NewViewerMessage, ViewerAddedMessage, ViewerRemovedMessage)
from jdaviz.core.registries import tray_registry
-from jdaviz.core.template_mixin import (PluginTemplateMixin, SelectPluginComponent,
- DatasetSelectMixin)
+from jdaviz.core.template_mixin import (PluginTemplateMixin, DatasetSelectMixin,
+ SelectPluginComponent, EditableSelectPluginComponent)
from jdaviz.core.user_api import PluginUserApi
from lightkurve import periodogram
-from lcviz.template_mixin import EditableSelectPluginComponent
from lcviz.viewers import PhaseScatterView
__all__ = ['Ephemeris']
@@ -31,7 +30,7 @@ class Ephemeris(PluginTemplateMixin, DatasetSelectMixin):
Only the following attributes and methods are available through the
public plugin API.
- * ``component`` (:class:`~lcviz.template_mixin.EditableSelectPluginComponent`):
+ * ``component`` (:class:`~jdaviz.template_mixin.EditableSelectPluginComponent`):
Label of the component corresponding to the active ephemeris.
* :attr:`t0`:
Zeropoint of the ephemeris.
@@ -85,6 +84,7 @@ def __init__(self, *args, **kwargs):
self._ephemerides = {}
self.component = EditableSelectPluginComponent(self,
+ name='ephemeris',
mode='component_mode',
edit_value='component_edit_value',
items='component_items',
diff --git a/lcviz/plugins/ephemeris/ephemeris.vue b/lcviz/plugins/ephemeris/ephemeris.vue
index 852e6d89..7fa93dbc 100644
--- a/lcviz/plugins/ephemeris/ephemeris.vue
+++ b/lcviz/plugins/ephemeris/ephemeris.vue
@@ -4,7 +4,7 @@
:link="'https://lcviz.readthedocs.io/en/'+vdocs+'/plugins.html#ephemeris'"
:popout_button="popout_button">
-