@jupytergis/base 0.4.5 → 0.6.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.
Files changed (192) hide show
  1. package/lib/annotations/components/Annotation.d.ts +2 -2
  2. package/lib/annotations/components/Annotation.js +3 -3
  3. package/lib/annotations/components/AnnotationFloater.d.ts +1 -1
  4. package/lib/annotations/components/AnnotationFloater.js +2 -2
  5. package/lib/annotations/components/Message.d.ts +2 -1
  6. package/lib/annotations/components/Message.js +3 -3
  7. package/lib/annotations/model.js +5 -5
  8. package/lib/commands/BaseCommandIDs.d.ts +32 -0
  9. package/lib/commands/BaseCommandIDs.js +43 -0
  10. package/lib/{commands.d.ts → commands/index.d.ts} +1 -1
  11. package/lib/{commands.js → commands/index.js} +76 -319
  12. package/lib/console/consoleview.d.ts +3 -3
  13. package/lib/console/consoleview.js +5 -5
  14. package/lib/constants.d.ts +2 -51
  15. package/lib/constants.js +6 -65
  16. package/lib/dialogs/ProcessingFormDialog.d.ts +4 -4
  17. package/lib/dialogs/ProcessingFormDialog.js +9 -11
  18. package/lib/dialogs/layerBrowserDialog.d.ts +1 -1
  19. package/lib/dialogs/layerBrowserDialog.js +7 -7
  20. package/lib/dialogs/layerCreationFormDialog.d.ts +4 -4
  21. package/lib/dialogs/layerCreationFormDialog.js +6 -6
  22. package/lib/dialogs/symbology/components/color_ramp/CanvasSelectComponent.d.ts +1 -1
  23. package/lib/dialogs/symbology/components/color_ramp/CanvasSelectComponent.js +3 -3
  24. package/lib/dialogs/symbology/components/color_ramp/ColorRamp.d.ts +3 -2
  25. package/lib/dialogs/symbology/components/color_ramp/ColorRamp.js +6 -7
  26. package/lib/dialogs/symbology/components/color_ramp/ColorRampEntry.d.ts +1 -1
  27. package/lib/dialogs/symbology/components/color_ramp/ColorRampEntry.js +1 -1
  28. package/lib/dialogs/symbology/components/color_ramp/ModeSelectRow.d.ts +1 -1
  29. package/lib/dialogs/symbology/components/color_ramp/ModeSelectRow.js +1 -1
  30. package/lib/dialogs/symbology/components/color_stops/StopContainer.d.ts +2 -2
  31. package/lib/dialogs/symbology/components/color_stops/StopContainer.js +4 -4
  32. package/lib/dialogs/symbology/components/color_stops/StopRow.d.ts +3 -3
  33. package/lib/dialogs/symbology/components/color_stops/StopRow.js +2 -2
  34. package/lib/dialogs/symbology/hooks/useGetBandInfo.js +5 -5
  35. package/lib/dialogs/symbology/hooks/useGetProperties.d.ts +1 -1
  36. package/lib/dialogs/symbology/hooks/useGetProperties.js +4 -4
  37. package/lib/dialogs/symbology/symbologyDialog.d.ts +8 -0
  38. package/lib/dialogs/symbology/symbologyDialog.js +1 -1
  39. package/lib/dialogs/symbology/symbologyUtils.js +38 -31
  40. package/lib/dialogs/symbology/tiff_layer/TiffRendering.d.ts +2 -2
  41. package/lib/dialogs/symbology/tiff_layer/TiffRendering.js +2 -2
  42. package/lib/dialogs/symbology/tiff_layer/components/BandRow.d.ts +2 -2
  43. package/lib/dialogs/symbology/tiff_layer/components/BandRow.js +4 -4
  44. package/lib/dialogs/symbology/tiff_layer/types/MultibandColor.d.ts +2 -2
  45. package/lib/dialogs/symbology/tiff_layer/types/MultibandColor.js +30 -20
  46. package/lib/dialogs/symbology/tiff_layer/types/SingleBandPseudoColor.d.ts +2 -2
  47. package/lib/dialogs/symbology/tiff_layer/types/SingleBandPseudoColor.js +23 -21
  48. package/lib/dialogs/symbology/vector_layer/VectorRendering.d.ts +2 -2
  49. package/lib/dialogs/symbology/vector_layer/VectorRendering.js +81 -39
  50. package/lib/dialogs/symbology/vector_layer/components/ValueSelect.d.ts +1 -1
  51. package/lib/dialogs/symbology/vector_layer/components/ValueSelect.js +1 -1
  52. package/lib/dialogs/symbology/vector_layer/types/Canonical.d.ts +4 -0
  53. package/lib/dialogs/symbology/vector_layer/types/Canonical.js +66 -0
  54. package/lib/dialogs/symbology/vector_layer/types/Categorized.d.ts +2 -2
  55. package/lib/dialogs/symbology/vector_layer/types/Categorized.js +142 -47
  56. package/lib/dialogs/symbology/vector_layer/types/Graduated.d.ts +2 -2
  57. package/lib/dialogs/symbology/vector_layer/types/Graduated.js +193 -99
  58. package/lib/dialogs/symbology/vector_layer/types/Heatmap.d.ts +2 -2
  59. package/lib/dialogs/symbology/vector_layer/types/Heatmap.js +7 -6
  60. package/lib/dialogs/symbology/vector_layer/types/SimpleSymbol.d.ts +2 -2
  61. package/lib/dialogs/symbology/vector_layer/types/SimpleSymbol.js +33 -30
  62. package/lib/formbuilder/creationform.js +3 -3
  63. package/lib/formbuilder/editform.js +3 -3
  64. package/lib/formbuilder/formselectors.d.ts +1 -1
  65. package/lib/formbuilder/formselectors.js +2 -2
  66. package/lib/formbuilder/objectform/baseform.d.ts +5 -4
  67. package/lib/formbuilder/objectform/baseform.js +16 -14
  68. package/lib/formbuilder/objectform/fileselectorwidget.d.ts +1 -1
  69. package/lib/formbuilder/objectform/fileselectorwidget.js +5 -5
  70. package/lib/formbuilder/objectform/layer/heatmapLayerForm.js +2 -2
  71. package/lib/formbuilder/objectform/layer/hillshadeLayerForm.js +1 -1
  72. package/lib/formbuilder/objectform/layer/layerform.d.ts +1 -1
  73. package/lib/formbuilder/objectform/layer/layerform.js +3 -2
  74. package/lib/formbuilder/objectform/process/dissolveProcessForm.d.ts +1 -1
  75. package/lib/formbuilder/objectform/process/dissolveProcessForm.js +5 -5
  76. package/lib/formbuilder/objectform/source/geojsonsource.js +4 -4
  77. package/lib/formbuilder/objectform/source/geotiffsource.js +4 -4
  78. package/lib/formbuilder/objectform/source/pathbasedsource.js +6 -6
  79. package/lib/formbuilder/objectform/source/sourceform.d.ts +1 -1
  80. package/lib/formbuilder/objectform/source/sourceform.js +1 -1
  81. package/lib/formbuilder/objectform/source/tilesourceform.js +3 -3
  82. package/lib/gdal.js +2 -2
  83. package/lib/icons.js +29 -29
  84. package/lib/index.d.ts +4 -2
  85. package/lib/index.js +4 -2
  86. package/lib/mainview/CollaboratorPointers.d.ts +1 -1
  87. package/lib/mainview/CollaboratorPointers.js +5 -5
  88. package/lib/mainview/FollowIndicator.d.ts +2 -2
  89. package/lib/mainview/FollowIndicator.js +3 -3
  90. package/lib/mainview/TemporalSlider.d.ts +1 -1
  91. package/lib/mainview/TemporalSlider.js +7 -7
  92. package/lib/mainview/mainView.d.ts +4 -2
  93. package/lib/mainview/mainView.js +232 -137
  94. package/lib/menus.d.ts +4 -0
  95. package/lib/menus.js +45 -0
  96. package/lib/panelview/annotationPanel.d.ts +2 -2
  97. package/lib/panelview/annotationPanel.js +1 -1
  98. package/lib/panelview/components/filter-panel/Filter.d.ts +2 -2
  99. package/lib/panelview/components/filter-panel/Filter.js +5 -5
  100. package/lib/panelview/components/filter-panel/FilterRow.d.ts +2 -2
  101. package/lib/panelview/components/identify-panel/IdentifyPanel.d.ts +1 -1
  102. package/lib/panelview/components/identify-panel/IdentifyPanel.js +5 -5
  103. package/lib/panelview/components/layers.d.ts +1 -1
  104. package/lib/panelview/components/layers.js +12 -12
  105. package/lib/panelview/leftpanel.d.ts +4 -2
  106. package/lib/panelview/leftpanel.js +24 -14
  107. package/lib/panelview/model.d.ts +1 -1
  108. package/lib/panelview/objectproperties.d.ts +1 -1
  109. package/lib/panelview/objectproperties.js +3 -3
  110. package/lib/panelview/rightpanel.d.ts +2 -1
  111. package/lib/panelview/rightpanel.js +13 -5
  112. package/lib/{processing.d.ts → processing/index.d.ts} +4 -4
  113. package/lib/{processing.js → processing/index.js} +19 -24
  114. package/lib/processing/processingCommands.d.ts +6 -0
  115. package/lib/processing/processingCommands.js +47 -0
  116. package/lib/processing/processingFormToParam.d.ts +2 -0
  117. package/lib/processing/processingFormToParam.js +15 -0
  118. package/lib/shared/components/Badge.d.ts +7 -0
  119. package/lib/shared/components/Badge.js +19 -0
  120. package/lib/shared/components/Button.d.ts +9 -0
  121. package/lib/shared/components/Button.js +20 -0
  122. package/lib/shared/components/Calendar.d.ts +47 -0
  123. package/lib/shared/components/Calendar.js +184 -0
  124. package/lib/shared/components/Checkbox.d.ts +4 -0
  125. package/lib/shared/components/Checkbox.js +25 -0
  126. package/lib/shared/components/DropdownMenu.d.ts +27 -0
  127. package/lib/shared/components/DropdownMenu.js +92 -0
  128. package/lib/shared/components/Pagination.d.ts +25 -0
  129. package/lib/shared/components/Pagination.js +68 -0
  130. package/lib/shared/components/Popover.d.ts +7 -0
  131. package/lib/shared/components/Popover.js +32 -0
  132. package/lib/shared/components/Tabs.d.ts +7 -0
  133. package/lib/shared/components/Tabs.js +31 -0
  134. package/lib/shared/components/ToggleGroup.d.ts +12 -0
  135. package/lib/shared/components/ToggleGroup.js +52 -0
  136. package/lib/shared/components/loading.d.ts +12 -0
  137. package/lib/shared/components/loading.js +6 -0
  138. package/lib/shared/components/utils.d.ts +2 -0
  139. package/lib/shared/components/utils.js +4 -0
  140. package/lib/shared/hooks/useIsFirstRender.d.ts +2 -0
  141. package/lib/shared/hooks/useIsFirstRender.js +10 -0
  142. package/lib/stacBrowser/StacBrowser.d.ts +7 -0
  143. package/lib/stacBrowser/StacBrowser.js +16 -0
  144. package/lib/stacBrowser/StacPanel.d.ts +14 -0
  145. package/lib/stacBrowser/StacPanel.js +16 -0
  146. package/lib/stacBrowser/components/StacFilterSection.d.ts +23 -0
  147. package/lib/stacBrowser/components/StacFilterSection.js +49 -0
  148. package/lib/stacBrowser/components/StacPanelFilters.d.ts +14 -0
  149. package/lib/stacBrowser/components/StacPanelFilters.js +65 -0
  150. package/lib/stacBrowser/components/StacPanelResults.d.ts +13 -0
  151. package/lib/stacBrowser/components/StacPanelResults.js +48 -0
  152. package/lib/stacBrowser/components/StacPanelView.d.ts +7 -0
  153. package/lib/stacBrowser/components/StacPanelView.js +20 -0
  154. package/lib/stacBrowser/constants.d.ts +25 -0
  155. package/lib/stacBrowser/constants.js +197 -0
  156. package/lib/stacBrowser/hooks/useStacSearch.d.ts +30 -0
  157. package/lib/stacBrowser/hooks/useStacSearch.js +221 -0
  158. package/lib/stacBrowser/index.d.ts +1 -0
  159. package/lib/stacBrowser/index.js +1 -0
  160. package/lib/stacBrowser/types/types.d.ts +124 -0
  161. package/lib/stacBrowser/types/types.js +1 -0
  162. package/lib/statusbar/StatusBar.d.ts +1 -1
  163. package/lib/statusbar/StatusBar.js +3 -3
  164. package/lib/toolbar/index.d.ts +0 -1
  165. package/lib/toolbar/index.js +0 -1
  166. package/lib/toolbar/widget.js +28 -64
  167. package/lib/tools.d.ts +30 -5
  168. package/lib/tools.js +82 -69
  169. package/lib/types.d.ts +2 -0
  170. package/lib/widget.d.ts +2 -1
  171. package/lib/widget.js +8 -5
  172. package/package.json +22 -8
  173. package/style/base.css +26 -0
  174. package/style/layerBrowser.css +10 -0
  175. package/style/leftPanel.css +0 -1
  176. package/style/shared/badge.css +61 -0
  177. package/style/shared/button.css +164 -0
  178. package/style/shared/calendar.css +274 -0
  179. package/style/shared/checkbox.css +28 -0
  180. package/style/shared/dropdownMenu.css +240 -0
  181. package/style/shared/pagination.css +167 -0
  182. package/style/shared/popover.css +53 -0
  183. package/style/shared/tabs.css +57 -0
  184. package/style/shared/toggle.css +85 -0
  185. package/style/stacBrowser.css +74 -0
  186. package/style/symbologyDialog.css +0 -7
  187. package/lib/mainview/spinner.d.ts +0 -6
  188. package/lib/mainview/spinner.js +0 -5
  189. package/lib/panelview/components/sources.d.ts +0 -10
  190. package/lib/panelview/components/sources.js +0 -147
  191. package/lib/toolbar/usertoolbaritem.d.ts +0 -19
  192. package/lib/toolbar/usertoolbaritem.js +0 -59
@@ -1,11 +1,11 @@
1
1
  import { IAnnotationModel } from '@jupytergis/schema';
2
2
  import React from 'react';
3
- import { IControlPanelModel } from '../../types';
3
+ import { IControlPanelModel } from "../../types";
4
4
  export interface IAnnotationProps {
5
5
  itemId: string;
6
6
  annotationModel: IAnnotationModel;
7
7
  rightPanelModel?: IControlPanelModel;
8
8
  children?: JSX.Element[] | JSX.Element;
9
9
  }
10
- declare const Annotation: ({ itemId, annotationModel, rightPanelModel, children }: IAnnotationProps) => React.JSX.Element;
10
+ declare const Annotation: React.FC<IAnnotationProps>;
11
11
  export default Annotation;
@@ -1,10 +1,10 @@
1
- import { faTrash, faPaperPlane, faArrowsToDot } from '@fortawesome/free-solid-svg-icons';
1
+ import { faTrash, faPaperPlane, faArrowsToDot, } from '@fortawesome/free-solid-svg-icons';
2
2
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
3
3
  import { showDialog, Dialog } from '@jupyterlab/apputils';
4
4
  import { Button } from '@jupyterlab/ui-components';
5
5
  import React, { useMemo, useState } from 'react';
6
6
  import { Message } from './Message';
7
- const Annotation = ({ itemId, annotationModel, rightPanelModel, children }) => {
7
+ const Annotation = ({ itemId, annotationModel, rightPanelModel, children, }) => {
8
8
  const [messageContent, setMessageContent] = useState('');
9
9
  const [jgisModel, setJgisModel] = useState(rightPanelModel === null || rightPanelModel === void 0 ? void 0 : rightPanelModel.jGISModel);
10
10
  const annotation = annotationModel.getAnnotation(itemId);
@@ -29,7 +29,7 @@ const Annotation = ({ itemId, annotationModel, rightPanelModel, children }) => {
29
29
  const result = await showDialog({
30
30
  title: 'Delete Annotation',
31
31
  body: 'Are you sure you want to delete this annotation?',
32
- buttons: [Dialog.cancelButton(), Dialog.okButton({ label: 'Delete' })]
32
+ buttons: [Dialog.cancelButton(), Dialog.okButton({ label: 'Delete' })],
33
33
  });
34
34
  if (result.button.accept) {
35
35
  annotationModel.removeAnnotation(itemId);
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { IAnnotationProps } from './Annotation';
3
- declare const AnnotationFloater: ({ itemId, annotationModel: model }: IAnnotationProps) => React.JSX.Element;
3
+ declare const AnnotationFloater: React.FC<IAnnotationProps>;
4
4
  export default AnnotationFloater;
@@ -1,8 +1,8 @@
1
- import React, { useState } from 'react';
2
1
  import { faWindowMinimize } from '@fortawesome/free-solid-svg-icons';
3
2
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
3
+ import React, { useState } from 'react';
4
4
  import Annotation from './Annotation';
5
- const AnnotationFloater = ({ itemId, annotationModel: model }) => {
5
+ const AnnotationFloater = ({ itemId, annotationModel: model, }) => {
6
6
  const annotation = model.getAnnotation(itemId);
7
7
  const [isOpen, setIsOpen] = useState(annotation === null || annotation === void 0 ? void 0 : annotation.open);
8
8
  // Function that either
@@ -1,8 +1,9 @@
1
1
  import { User } from '@jupyterlab/services';
2
+ import React from 'react';
2
3
  interface IProps {
3
4
  message: string;
4
5
  self: boolean;
5
6
  user?: User.IIdentity;
6
7
  }
7
- export declare const Message: (props: IProps) => JSX.Element;
8
+ export declare const Message: React.FC<IProps>;
8
9
  export {};
@@ -1,15 +1,15 @@
1
1
  import React from 'react';
2
- export const Message = (props) => {
2
+ export const Message = props => {
3
3
  var _a, _b, _c;
4
4
  const { self, message, user } = props;
5
5
  const color = (_a = user === null || user === void 0 ? void 0 : user.color) !== null && _a !== void 0 ? _a : 'black';
6
6
  const author = (_b = user === null || user === void 0 ? void 0 : user.display_name) !== null && _b !== void 0 ? _b : '';
7
7
  const initials = (_c = user === null || user === void 0 ? void 0 : user.initials) !== null && _c !== void 0 ? _c : '';
8
8
  return (React.createElement("div", { className: "jGIS-Annotation-Message", style: {
9
- flexFlow: self ? 'row' : 'row-reverse'
9
+ flexFlow: self ? 'row' : 'row-reverse',
10
10
  } },
11
11
  React.createElement("div", { className: "jGIS-Annotation-User-Icon", style: {
12
- backgroundColor: color
12
+ backgroundColor: color,
13
13
  }, title: author },
14
14
  React.createElement("span", { style: { width: 24, textAlign: 'center' } }, initials)),
15
15
  React.createElement("div", { className: "jGIS-Annotation-Message-Content" },
@@ -31,7 +31,7 @@ export class AnnotationModel {
31
31
  var _a;
32
32
  const rawData = (_a = this._model) === null || _a === void 0 ? void 0 : _a.sharedModel.getMetadata(id);
33
33
  if (rawData) {
34
- return JSON.parse(rawData);
34
+ return rawData;
35
35
  }
36
36
  }
37
37
  getAnnotationIds() {
@@ -46,7 +46,7 @@ export class AnnotationModel {
46
46
  }
47
47
  addAnnotation(key, value) {
48
48
  var _a;
49
- (_a = this._model) === null || _a === void 0 ? void 0 : _a.sharedModel.setMetadata(`annotation_${key}`, JSON.stringify(value));
49
+ (_a = this._model) === null || _a === void 0 ? void 0 : _a.sharedModel.setMetadata(`annotation_${key}`, value);
50
50
  }
51
51
  updateAnnotation(id, updates) {
52
52
  var _a;
@@ -54,7 +54,7 @@ export class AnnotationModel {
54
54
  if (!existing) {
55
55
  return;
56
56
  }
57
- (_a = this._model) === null || _a === void 0 ? void 0 : _a.sharedModel.setMetadata(id, JSON.stringify(Object.assign(Object.assign({}, existing), updates)));
57
+ (_a = this._model) === null || _a === void 0 ? void 0 : _a.sharedModel.setMetadata(id, Object.assign(Object.assign({}, existing), updates));
58
58
  this._updateSignal.emit(null);
59
59
  }
60
60
  removeAnnotation(key) {
@@ -65,12 +65,12 @@ export class AnnotationModel {
65
65
  var _a;
66
66
  const newContent = {
67
67
  value,
68
- user: this._user
68
+ user: this._user,
69
69
  };
70
70
  const currentAnnotation = this.getAnnotation(id);
71
71
  if (currentAnnotation) {
72
72
  const newAnnotation = Object.assign(Object.assign({}, currentAnnotation), { contents: [...currentAnnotation.contents, newContent] });
73
- (_a = this._model) === null || _a === void 0 ? void 0 : _a.sharedModel.setMetadata(id, JSON.stringify(newAnnotation));
73
+ (_a = this._model) === null || _a === void 0 ? void 0 : _a.sharedModel.setMetadata(id, newAnnotation);
74
74
  }
75
75
  }
76
76
  }
@@ -0,0 +1,32 @@
1
+ export declare const createNew = "jupytergis:create-new-jGIS-file";
2
+ export declare const redo = "jupytergis:redo";
3
+ export declare const undo = "jupytergis:undo";
4
+ export declare const symbology = "jupytergis:symbology";
5
+ export declare const identify = "jupytergis:identify";
6
+ export declare const temporalController = "jupytergis:temporalController";
7
+ export declare const getGeolocation = "jupytergis:getGeolocation";
8
+ export declare const openLayerBrowser = "jupytergis:openLayerBrowser";
9
+ export declare const newRasterEntry = "jupytergis:newRasterEntry";
10
+ export declare const newVectorTileEntry = "jupytergis:newVectorTileEntry";
11
+ export declare const newShapefileEntry = "jupytergis:newShapefileEntry";
12
+ export declare const newGeoJSONEntry = "jupytergis:newGeoJSONEntry";
13
+ export declare const newHillshadeEntry = "jupytergis:newHillshadeEntry";
14
+ export declare const newImageEntry = "jupytergis:newImageEntry";
15
+ export declare const newVideoEntry = "jupytergis:newVideoEntry";
16
+ export declare const newGeoTiffEntry = "jupytergis:newGeoTiffEntry";
17
+ export declare const renameLayer = "jupytergis:renameLayer";
18
+ export declare const removeLayer = "jupytergis:removeLayer";
19
+ export declare const renameGroup = "jupytergis:renameGroup";
20
+ export declare const removeGroup = "jupytergis:removeGroup";
21
+ export declare const moveLayersToGroup = "jupytergis:moveLayersToGroup";
22
+ export declare const moveLayerToNewGroup = "jupytergis:moveLayerToNewGroup";
23
+ export declare const renameSource = "jupytergis:renameSource";
24
+ export declare const removeSource = "jupytergis:removeSource";
25
+ export declare const toggleConsole = "jupytergis:toggleConsole";
26
+ export declare const invokeCompleter = "jupytergis:invokeConsoleCompleter";
27
+ export declare const removeConsole = "jupytergis:removeConsole";
28
+ export declare const executeConsole = "jupytergis:executeConsole";
29
+ export declare const selectCompleter = "jupytergis:selectConsoleCompleter";
30
+ export declare const addAnnotation = "jupytergis:addAnnotation";
31
+ export declare const zoomToLayer = "jupytergis:zoomToLayer";
32
+ export declare const downloadGeoJSON = "jupytergis:downloadGeoJSON";
@@ -0,0 +1,43 @@
1
+ /* This file is not an exhaustive list of commands.
2
+ *
3
+ * See the documentation for more details.
4
+ */
5
+ export const createNew = 'jupytergis:create-new-jGIS-file';
6
+ export const redo = 'jupytergis:redo';
7
+ export const undo = 'jupytergis:undo';
8
+ export const symbology = 'jupytergis:symbology';
9
+ export const identify = 'jupytergis:identify';
10
+ export const temporalController = 'jupytergis:temporalController';
11
+ // geolocation
12
+ export const getGeolocation = 'jupytergis:getGeolocation';
13
+ // Layers and sources creation commands
14
+ export const openLayerBrowser = 'jupytergis:openLayerBrowser';
15
+ // Layer and source
16
+ export const newRasterEntry = 'jupytergis:newRasterEntry';
17
+ export const newVectorTileEntry = 'jupytergis:newVectorTileEntry';
18
+ export const newShapefileEntry = 'jupytergis:newShapefileEntry';
19
+ export const newGeoJSONEntry = 'jupytergis:newGeoJSONEntry';
20
+ export const newHillshadeEntry = 'jupytergis:newHillshadeEntry';
21
+ export const newImageEntry = 'jupytergis:newImageEntry';
22
+ export const newVideoEntry = 'jupytergis:newVideoEntry';
23
+ export const newGeoTiffEntry = 'jupytergis:newGeoTiffEntry';
24
+ // Layer and group actions
25
+ export const renameLayer = 'jupytergis:renameLayer';
26
+ export const removeLayer = 'jupytergis:removeLayer';
27
+ export const renameGroup = 'jupytergis:renameGroup';
28
+ export const removeGroup = 'jupytergis:removeGroup';
29
+ export const moveLayersToGroup = 'jupytergis:moveLayersToGroup';
30
+ export const moveLayerToNewGroup = 'jupytergis:moveLayerToNewGroup';
31
+ // Source actions
32
+ export const renameSource = 'jupytergis:renameSource';
33
+ export const removeSource = 'jupytergis:removeSource';
34
+ // Console commands
35
+ export const toggleConsole = 'jupytergis:toggleConsole';
36
+ export const invokeCompleter = 'jupytergis:invokeConsoleCompleter';
37
+ export const removeConsole = 'jupytergis:removeConsole';
38
+ export const executeConsole = 'jupytergis:executeConsole';
39
+ export const selectCompleter = 'jupytergis:selectConsoleCompleter';
40
+ // Map Commands
41
+ export const addAnnotation = 'jupytergis:addAnnotation';
42
+ export const zoomToLayer = 'jupytergis:zoomToLayer';
43
+ export const downloadGeoJSON = 'jupytergis:downloadGeoJSON';
@@ -3,7 +3,7 @@ import { JupyterFrontEnd } from '@jupyterlab/application';
3
3
  import { ICompletionProviderManager } from '@jupyterlab/completer';
4
4
  import { IStateDB } from '@jupyterlab/statedb';
5
5
  import { ITranslator } from '@jupyterlab/translation';
6
- import { JupyterGISTracker } from './types';
6
+ import { JupyterGISTracker } from '../types';
7
7
  /**
8
8
  * Add the commands to the application's command registry.
9
9
  */