File tree Expand file tree Collapse file tree 10 files changed +13
-22
lines changed
formbuilder/objectform/layer Expand file tree Collapse file tree 10 files changed +13
-22
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,7 @@ export interface IProcessingFormDialogOptions extends IBaseFormProps {
2828/**
2929 * Wrapper component to handle OK button state
3030 */
31- export interface IProcessingFormWrapperProps
32- extends IProcessingFormDialogOptions {
31+ export interface IProcessingFormWrapperProps extends IProcessingFormDialogOptions {
3332 okSignalPromise : PromiseDelegate < Signal < Dialog < any > , number > > ;
3433 formErrorSignalPromise ?: PromiseDelegate < Signal < Dialog < any > , boolean > > ;
3534}
Original file line number Diff line number Diff line change @@ -17,8 +17,7 @@ export interface ISymbologyDialogProps {
1717 layerId ?: string ;
1818}
1919
20- export interface ISymbologyDialogWithAttributesProps
21- extends ISymbologyDialogProps {
20+ export interface ISymbologyDialogWithAttributesProps extends ISymbologyDialogProps {
2221 selectableAttributesAndValues : Record < string , Set < any > > ;
2322}
2423
Original file line number Diff line number Diff line change 11import { IDict } from '@jupytergis/schema' ;
2+ import { ISubmitEvent } from '@rjsf/core' ;
23
34import { LayerPropertiesForm } from './layerform' ;
4- import { ISubmitEvent } from '@rjsf/core' ;
55
66/**
77 * The form to modify a hillshade layer.
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ export const LayersBodyComponent: React.FC<IBodyProps> = props => {
150150 } else {
151151 // Check if new selection is the same type as previous selections
152152 const isSelectedSameType = Object . values ( selectedValue ) . some (
153- selection => ( selection as ISelection ) . type === type ,
153+ selection => selection . type === type ,
154154 ) ;
155155
156156 if ( ! isSelectedSameType ) {
Original file line number Diff line number Diff line change @@ -266,8 +266,10 @@ export interface IUserData {
266266 userData : User . IIdentity ;
267267}
268268
269- export interface IJupyterGISDocumentWidget
270- extends IDocumentWidget < SplitPanel , IJupyterGISModel > {
269+ export interface IJupyterGISDocumentWidget extends IDocumentWidget <
270+ SplitPanel ,
271+ IJupyterGISModel
272+ > {
271273 readonly model : IJupyterGISModel ;
272274}
273275
Original file line number Diff line number Diff line change @@ -934,8 +934,7 @@ export namespace JupyterGISModel {
934934 return Private . layerTreeRecursion ( model . sharedModel . layerTree ) ;
935935 }
936936
937- export interface IOptions
938- extends DocumentRegistry . IModelOptions < IJupyterGISDoc > {
937+ export interface IOptions extends DocumentRegistry . IModelOptions < IJupyterGISDoc > {
939938 annotationModel ?: IAnnotationModel ;
940939 settingRegistry ?: ISettingRegistry ;
941940 }
Original file line number Diff line number Diff line change 33 IJGISExternalCommandRegistry ,
44} from '@jupytergis/schema' ;
55
6- export class JupyterGISExternalCommandRegistry
7- implements IJGISExternalCommandRegistry
8- {
6+ export class JupyterGISExternalCommandRegistry implements IJGISExternalCommandRegistry {
97 constructor ( ) {
108 this . _registry = new Set ( ) ;
119 }
Original file line number Diff line number Diff line change @@ -10,9 +10,7 @@ import { ISettingRegistry } from '@jupyterlab/settingregistry';
1010/**
1111 * A Model factory to create new instances of JupyterGISModel.
1212 */
13- export class JupyterGISModelFactory
14- implements DocumentRegistry . IModelFactory < JupyterGISModel >
15- {
13+ export class JupyterGISModelFactory implements DocumentRegistry . IModelFactory < JupyterGISModel > {
1614 constructor ( options : JupyterGISModelFactory . IOptions ) {
1715 this . _annotationModel = options . annotationModel ;
1816 this . _settingRegistry = options . settingRegistry ;
Original file line number Diff line number Diff line change @@ -10,9 +10,7 @@ import {
1010 * @class JupyterGISLayerBrowserRegistry
1111 * @implements IJGISLayerBrowserRegistry
1212 */
13- export class JupyterGISLayerBrowserRegistry
14- implements IJGISLayerBrowserRegistry
15- {
13+ export class JupyterGISLayerBrowserRegistry implements IJGISLayerBrowserRegistry {
1614 private _registry : IRasterLayerGalleryEntry [ ] ;
1715
1816 constructor ( ) {
Original file line number Diff line number Diff line change @@ -10,9 +10,7 @@ import { ISettingRegistry } from '@jupyterlab/settingregistry';
1010/**
1111 * A Model factory to create new instances of JupyterGISModel.
1212 */
13- export class JupyterGISModelFactoryBase
14- implements DocumentRegistry . IModelFactory < JupyterGISModel >
15- {
13+ export class JupyterGISModelFactoryBase implements DocumentRegistry . IModelFactory < JupyterGISModel > {
1614 constructor ( options : JupyterGISModelFactoryBase . IOptions ) {
1715 this . _annotationModel = options . annotationModel ;
1816 }
You can’t perform that action at this time.
0 commit comments