@jbrowse/plugin-config 2.5.0 → 2.6.2
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/ConfigurationEditorWidget/components/BooleanEditor.d.ts +2 -1
- package/dist/ConfigurationEditorWidget/components/BooleanEditor.js +0 -1
- package/dist/ConfigurationEditorWidget/components/CallbackEditor.d.ts +2 -1
- package/dist/ConfigurationEditorWidget/components/CallbackEditor.js +0 -1
- package/dist/ConfigurationEditorWidget/components/ColorEditor.d.ts +3 -2
- package/dist/ConfigurationEditorWidget/components/ColorEditor.js +0 -1
- package/dist/ConfigurationEditorWidget/components/ConfigurationEditor.d.ts +2 -1
- package/dist/ConfigurationEditorWidget/components/ConfigurationEditor.js +0 -1
- package/dist/ConfigurationEditorWidget/components/ConfigurationTextField.d.ts +2 -1
- package/dist/ConfigurationEditorWidget/components/ConfigurationTextField.js +0 -1
- package/dist/ConfigurationEditorWidget/components/JsonEditor.d.ts +2 -1
- package/dist/ConfigurationEditorWidget/components/JsonEditor.js +0 -1
- package/dist/ConfigurationEditorWidget/components/NumberEditor.d.ts +2 -1
- package/dist/ConfigurationEditorWidget/components/NumberEditor.js +0 -1
- package/dist/ConfigurationEditorWidget/components/NumberMapEditor.d.ts +2 -1
- package/dist/ConfigurationEditorWidget/components/NumberMapEditor.js +0 -1
- package/dist/ConfigurationEditorWidget/components/SlotEditor.d.ts +2 -1
- package/dist/ConfigurationEditorWidget/components/SlotEditor.js +0 -1
- package/dist/ConfigurationEditorWidget/components/StringArrayEditor.d.ts +2 -1
- package/dist/ConfigurationEditorWidget/components/StringArrayEditor.js +0 -1
- package/dist/ConfigurationEditorWidget/components/StringArrayMapEditor.d.ts +2 -1
- package/dist/ConfigurationEditorWidget/components/StringArrayMapEditor.js +0 -1
- package/dist/ConfigurationEditorWidget/components/TypeSelector.d.ts +1 -1
- package/dist/ConfigurationEditorWidget/components/TypeSelector.js +0 -1
- package/dist/ConfigurationEditorWidget/index.d.ts +2 -1
- package/dist/ConfigurationEditorWidget/index.js +0 -1
- package/dist/ConfigurationEditorWidget/model.js +0 -1
- package/dist/FromConfigAdapter/FromConfigAdapter.js +0 -1
- package/dist/FromConfigAdapter/configSchema.js +0 -1
- package/dist/FromConfigAdapter/index.js +0 -1
- package/dist/FromConfigRegionsAdapter/FromConfigRegionsAdapter.js +0 -1
- package/dist/FromConfigRegionsAdapter/configSchema.js +0 -1
- package/dist/FromConfigRegionsAdapter/index.js +0 -1
- package/dist/FromConfigSequenceAdapter/FromConfigSequenceAdapter.js +0 -1
- package/dist/FromConfigSequenceAdapter/configSchema.js +0 -1
- package/dist/FromConfigSequenceAdapter/index.js +0 -1
- package/dist/RefNameAliasAdapter/RefNameAliasAdapter.js +0 -1
- package/dist/RefNameAliasAdapter/configSchema.js +0 -1
- package/dist/RefNameAliasAdapter/index.js +0 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +0 -1
- package/esm/ConfigurationEditorWidget/components/BooleanEditor.d.ts +2 -1
- package/esm/ConfigurationEditorWidget/components/BooleanEditor.js +0 -1
- package/esm/ConfigurationEditorWidget/components/CallbackEditor.d.ts +2 -1
- package/esm/ConfigurationEditorWidget/components/CallbackEditor.js +0 -1
- package/esm/ConfigurationEditorWidget/components/ColorEditor.d.ts +3 -2
- package/esm/ConfigurationEditorWidget/components/ColorEditor.js +0 -1
- package/esm/ConfigurationEditorWidget/components/ConfigurationEditor.d.ts +2 -1
- package/esm/ConfigurationEditorWidget/components/ConfigurationEditor.js +0 -1
- package/esm/ConfigurationEditorWidget/components/ConfigurationTextField.d.ts +2 -1
- package/esm/ConfigurationEditorWidget/components/ConfigurationTextField.js +0 -1
- package/esm/ConfigurationEditorWidget/components/JsonEditor.d.ts +2 -1
- package/esm/ConfigurationEditorWidget/components/JsonEditor.js +0 -1
- package/esm/ConfigurationEditorWidget/components/NumberEditor.d.ts +2 -1
- package/esm/ConfigurationEditorWidget/components/NumberEditor.js +0 -1
- package/esm/ConfigurationEditorWidget/components/NumberMapEditor.d.ts +2 -1
- package/esm/ConfigurationEditorWidget/components/NumberMapEditor.js +0 -1
- package/esm/ConfigurationEditorWidget/components/SlotEditor.d.ts +2 -1
- package/esm/ConfigurationEditorWidget/components/SlotEditor.js +0 -1
- package/esm/ConfigurationEditorWidget/components/StringArrayEditor.d.ts +2 -1
- package/esm/ConfigurationEditorWidget/components/StringArrayEditor.js +0 -1
- package/esm/ConfigurationEditorWidget/components/StringArrayMapEditor.d.ts +2 -1
- package/esm/ConfigurationEditorWidget/components/StringArrayMapEditor.js +0 -1
- package/esm/ConfigurationEditorWidget/components/TypeSelector.d.ts +1 -1
- package/esm/ConfigurationEditorWidget/components/TypeSelector.js +0 -1
- package/esm/ConfigurationEditorWidget/index.d.ts +2 -1
- package/esm/ConfigurationEditorWidget/index.js +0 -1
- package/esm/ConfigurationEditorWidget/model.js +0 -1
- package/esm/FromConfigAdapter/FromConfigAdapter.js +0 -1
- package/esm/FromConfigAdapter/configSchema.js +0 -1
- package/esm/FromConfigAdapter/index.js +0 -1
- package/esm/FromConfigRegionsAdapter/FromConfigRegionsAdapter.js +0 -1
- package/esm/FromConfigRegionsAdapter/configSchema.js +0 -1
- package/esm/FromConfigRegionsAdapter/index.js +0 -1
- package/esm/FromConfigSequenceAdapter/FromConfigSequenceAdapter.js +0 -1
- package/esm/FromConfigSequenceAdapter/configSchema.js +0 -1
- package/esm/FromConfigSequenceAdapter/index.js +0 -1
- package/esm/RefNameAliasAdapter/RefNameAliasAdapter.js +0 -1
- package/esm/RefNameAliasAdapter/configSchema.js +0 -1
- package/esm/RefNameAliasAdapter/index.js +0 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.js +0 -1
- package/package.json +3 -4
- package/dist/ConfigurationEditorWidget/components/BooleanEditor.js.map +0 -1
- package/dist/ConfigurationEditorWidget/components/CallbackEditor.js.map +0 -1
- package/dist/ConfigurationEditorWidget/components/ColorEditor.js.map +0 -1
- package/dist/ConfigurationEditorWidget/components/ConfigurationEditor.js.map +0 -1
- package/dist/ConfigurationEditorWidget/components/ConfigurationTextField.js.map +0 -1
- package/dist/ConfigurationEditorWidget/components/JsonEditor.js.map +0 -1
- package/dist/ConfigurationEditorWidget/components/NumberEditor.js.map +0 -1
- package/dist/ConfigurationEditorWidget/components/NumberMapEditor.js.map +0 -1
- package/dist/ConfigurationEditorWidget/components/SlotEditor.js.map +0 -1
- package/dist/ConfigurationEditorWidget/components/StringArrayEditor.js.map +0 -1
- package/dist/ConfigurationEditorWidget/components/StringArrayMapEditor.js.map +0 -1
- package/dist/ConfigurationEditorWidget/components/TypeSelector.js.map +0 -1
- package/dist/ConfigurationEditorWidget/index.js.map +0 -1
- package/dist/ConfigurationEditorWidget/model.js.map +0 -1
- package/dist/FromConfigAdapter/FromConfigAdapter.js.map +0 -1
- package/dist/FromConfigAdapter/configSchema.js.map +0 -1
- package/dist/FromConfigAdapter/index.js.map +0 -1
- package/dist/FromConfigRegionsAdapter/FromConfigRegionsAdapter.js.map +0 -1
- package/dist/FromConfigRegionsAdapter/configSchema.js.map +0 -1
- package/dist/FromConfigRegionsAdapter/index.js.map +0 -1
- package/dist/FromConfigSequenceAdapter/FromConfigSequenceAdapter.js.map +0 -1
- package/dist/FromConfigSequenceAdapter/configSchema.js.map +0 -1
- package/dist/FromConfigSequenceAdapter/index.js.map +0 -1
- package/dist/RefNameAliasAdapter/RefNameAliasAdapter.js.map +0 -1
- package/dist/RefNameAliasAdapter/configSchema.js.map +0 -1
- package/dist/RefNameAliasAdapter/index.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/esm/ConfigurationEditorWidget/components/BooleanEditor.js.map +0 -1
- package/esm/ConfigurationEditorWidget/components/CallbackEditor.js.map +0 -1
- package/esm/ConfigurationEditorWidget/components/ColorEditor.js.map +0 -1
- package/esm/ConfigurationEditorWidget/components/ConfigurationEditor.js.map +0 -1
- package/esm/ConfigurationEditorWidget/components/ConfigurationTextField.js.map +0 -1
- package/esm/ConfigurationEditorWidget/components/JsonEditor.js.map +0 -1
- package/esm/ConfigurationEditorWidget/components/NumberEditor.js.map +0 -1
- package/esm/ConfigurationEditorWidget/components/NumberMapEditor.js.map +0 -1
- package/esm/ConfigurationEditorWidget/components/SlotEditor.js.map +0 -1
- package/esm/ConfigurationEditorWidget/components/StringArrayEditor.js.map +0 -1
- package/esm/ConfigurationEditorWidget/components/StringArrayMapEditor.js.map +0 -1
- package/esm/ConfigurationEditorWidget/components/TypeSelector.js.map +0 -1
- package/esm/ConfigurationEditorWidget/index.js.map +0 -1
- package/esm/ConfigurationEditorWidget/model.js.map +0 -1
- package/esm/FromConfigAdapter/FromConfigAdapter.js.map +0 -1
- package/esm/FromConfigAdapter/configSchema.js.map +0 -1
- package/esm/FromConfigAdapter/index.js.map +0 -1
- package/esm/FromConfigRegionsAdapter/FromConfigRegionsAdapter.js.map +0 -1
- package/esm/FromConfigRegionsAdapter/configSchema.js.map +0 -1
- package/esm/FromConfigRegionsAdapter/index.js.map +0 -1
- package/esm/FromConfigSequenceAdapter/FromConfigSequenceAdapter.js.map +0 -1
- package/esm/FromConfigSequenceAdapter/configSchema.js.map +0 -1
- package/esm/FromConfigSequenceAdapter/index.js.map +0 -1
- package/esm/RefNameAliasAdapter/RefNameAliasAdapter.js.map +0 -1
- package/esm/RefNameAliasAdapter/configSchema.js.map +0 -1
- package/esm/RefNameAliasAdapter/index.js.map +0 -1
- package/esm/index.js.map +0 -1
- package/src/ConfigurationEditorWidget/components/BooleanEditor.tsx +0 -35
- package/src/ConfigurationEditorWidget/components/CallbackEditor.tsx +0 -126
- package/src/ConfigurationEditorWidget/components/ColorEditor.test.tsx +0 -14
- package/src/ConfigurationEditorWidget/components/ColorEditor.tsx +0 -59
- package/src/ConfigurationEditorWidget/components/ConfigurationEditor.test.tsx +0 -95
- package/src/ConfigurationEditorWidget/components/ConfigurationEditor.tsx +0 -167
- package/src/ConfigurationEditorWidget/components/ConfigurationTextField.tsx +0 -22
- package/src/ConfigurationEditorWidget/components/JsonEditor.tsx +0 -84
- package/src/ConfigurationEditorWidget/components/NumberEditor.tsx +0 -34
- package/src/ConfigurationEditorWidget/components/NumberMapEditor.tsx +0 -94
- package/src/ConfigurationEditorWidget/components/SlotEditor.tsx +0 -236
- package/src/ConfigurationEditorWidget/components/StringArrayEditor.tsx +0 -112
- package/src/ConfigurationEditorWidget/components/StringArrayMapEditor.tsx +0 -104
- package/src/ConfigurationEditorWidget/components/TypeSelector.tsx +0 -43
- package/src/ConfigurationEditorWidget/components/__snapshots__/ConfigurationEditor.test.tsx.snap +0 -2079
- package/src/ConfigurationEditorWidget/index.tsx +0 -25
- package/src/ConfigurationEditorWidget/model.ts +0 -21
- package/src/FromConfigAdapter/FromConfigAdapter.test.ts +0 -56
- package/src/FromConfigAdapter/FromConfigAdapter.ts +0 -90
- package/src/FromConfigAdapter/configSchema.ts +0 -22
- package/src/FromConfigAdapter/index.ts +0 -18
- package/src/FromConfigAdapter/test_data/volvox.2bit +0 -0
- package/src/FromConfigRegionsAdapter/FromConfigRegionsAdapter.test.ts +0 -58
- package/src/FromConfigRegionsAdapter/FromConfigRegionsAdapter.ts +0 -81
- package/src/FromConfigRegionsAdapter/configSchema.ts +0 -24
- package/src/FromConfigRegionsAdapter/index.ts +0 -18
- package/src/FromConfigSequenceAdapter/FromConfigSequenceAdapter.test.ts +0 -64
- package/src/FromConfigSequenceAdapter/FromConfigSequenceAdapter.ts +0 -86
- package/src/FromConfigSequenceAdapter/configSchema.ts +0 -21
- package/src/FromConfigSequenceAdapter/index.ts +0 -19
- package/src/RefNameAliasAdapter/RefNameAliasAdapter.test.ts +0 -18
- package/src/RefNameAliasAdapter/RefNameAliasAdapter.ts +0 -30
- package/src/RefNameAliasAdapter/configSchema.ts +0 -36
- package/src/RefNameAliasAdapter/index.ts +0 -19
- package/src/RefNameAliasAdapter/test_data/simple_alias.txt +0 -2
- package/src/__snapshots__/index.test.ts.snap +0 -10
- package/src/index.test.ts +0 -38
- package/src/index.ts +0 -42
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const _default: ({ slot, }: {
|
|
2
3
|
slot: {
|
|
3
4
|
name: string;
|
|
@@ -5,5 +6,5 @@ declare const _default: ({ slot, }: {
|
|
|
5
6
|
set: (arg: boolean) => void;
|
|
6
7
|
description: string;
|
|
7
8
|
};
|
|
8
|
-
}) => JSX.Element;
|
|
9
|
+
}) => React.JSX.Element;
|
|
9
10
|
export default _default;
|
|
@@ -11,4 +11,3 @@ exports.default = (0, mobx_react_1.observer)(function ({ slot, }) {
|
|
|
11
11
|
react_1.default.createElement(material_1.FormControlLabel, { label: slot.name, control: react_1.default.createElement(material_1.Checkbox, { checked: slot.value, onChange: evt => slot.set(evt.target.checked) }) }),
|
|
12
12
|
react_1.default.createElement(material_1.FormHelperText, null, slot.description)));
|
|
13
13
|
});
|
|
14
|
-
//# sourceMappingURL=BooleanEditor.js.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare function CallbackEditor({ slot, }: {
|
|
2
3
|
slot: {
|
|
3
4
|
set: (arg: string) => void;
|
|
@@ -6,6 +7,6 @@ declare function CallbackEditor({ slot, }: {
|
|
|
6
7
|
value: string;
|
|
7
8
|
contextVariable: string;
|
|
8
9
|
};
|
|
9
|
-
}): JSX.Element;
|
|
10
|
+
}): React.JSX.Element;
|
|
10
11
|
declare const _default: typeof CallbackEditor;
|
|
11
12
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export declare const ColorSlot: (props: {
|
|
2
3
|
value: string;
|
|
3
4
|
label?: string | undefined;
|
|
@@ -6,7 +7,7 @@ export declare const ColorSlot: (props: {
|
|
|
6
7
|
fullWidth: boolean;
|
|
7
8
|
} | undefined;
|
|
8
9
|
onChange: (arg: string) => void;
|
|
9
|
-
}) => JSX.Element;
|
|
10
|
+
}) => React.JSX.Element;
|
|
10
11
|
declare function ColorEditorSlot(props: {
|
|
11
12
|
slot: {
|
|
12
13
|
name: string;
|
|
@@ -14,6 +15,6 @@ declare function ColorEditorSlot(props: {
|
|
|
14
15
|
description: string;
|
|
15
16
|
set: (arg: string) => void;
|
|
16
17
|
};
|
|
17
|
-
}): JSX.Element;
|
|
18
|
+
}): React.JSX.Element;
|
|
18
19
|
declare const _default: typeof ColorEditorSlot;
|
|
19
20
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { AnyConfigurationModel } from '@jbrowse/core/configuration';
|
|
2
3
|
import { AbstractSessionModel } from '@jbrowse/core/util';
|
|
3
4
|
declare const ConfigurationEditor: ({ model, }: {
|
|
@@ -5,5 +6,5 @@ declare const ConfigurationEditor: ({ model, }: {
|
|
|
5
6
|
target: AnyConfigurationModel;
|
|
6
7
|
};
|
|
7
8
|
session?: AbstractSessionModel | undefined;
|
|
8
|
-
}) => JSX.Element;
|
|
9
|
+
}) => React.JSX.Element;
|
|
9
10
|
export default ConfigurationEditor;
|
|
@@ -90,4 +90,3 @@ const ConfigurationEditor = (0, mobx_react_1.observer)(function ({ model, }) {
|
|
|
90
90
|
react_1.default.createElement(material_1.AccordionDetails, { className: classes.expansionPanelDetails, "data-testid": "configEditor" }, !target ? 'no target set' : react_1.default.createElement(Schema, { schema: target }))));
|
|
91
91
|
});
|
|
92
92
|
exports.default = ConfigurationEditor;
|
|
93
|
-
//# sourceMappingURL=ConfigurationEditor.js.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare function JsonEditor({ slot, }: {
|
|
2
3
|
slot: {
|
|
3
4
|
name: string;
|
|
@@ -5,6 +6,6 @@ declare function JsonEditor({ slot, }: {
|
|
|
5
6
|
value: unknown;
|
|
6
7
|
set: (arg: unknown) => void;
|
|
7
8
|
};
|
|
8
|
-
}): JSX.Element;
|
|
9
|
+
}): React.JSX.Element;
|
|
9
10
|
declare const _default: typeof JsonEditor;
|
|
10
11
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const _default: ({ slot, }: {
|
|
2
3
|
slot: {
|
|
3
4
|
name?: string | undefined;
|
|
@@ -6,5 +7,5 @@ declare const _default: ({ slot, }: {
|
|
|
6
7
|
set: (val: number) => void;
|
|
7
8
|
reset?: (() => void) | undefined;
|
|
8
9
|
};
|
|
9
|
-
}) => JSX.Element;
|
|
10
|
+
}) => React.JSX.Element;
|
|
10
11
|
export default _default;
|
|
@@ -43,4 +43,3 @@ exports.default = (0, mobx_react_1.observer)(function ({ slot, }) {
|
|
|
43
43
|
}, [slot, val]);
|
|
44
44
|
return (react_1.default.createElement(ConfigurationTextField_1.default, { label: slot.name, helperText: slot.description, value: val, type: "number", onChange: evt => setVal(evt.target.value) }));
|
|
45
45
|
});
|
|
46
|
-
//# sourceMappingURL=NumberEditor.js.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const _default: ({ slot, }: {
|
|
2
3
|
slot: {
|
|
3
4
|
name: string;
|
|
@@ -6,5 +7,5 @@ declare const _default: ({ slot, }: {
|
|
|
6
7
|
add: (key: string, val: number) => void;
|
|
7
8
|
description: string;
|
|
8
9
|
};
|
|
9
|
-
}) => JSX.Element;
|
|
10
|
+
}) => React.JSX.Element;
|
|
10
11
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { IAnyType } from 'mobx-state-tree';
|
|
2
3
|
export declare const useSlotEditorStyles: (params: void, styleOverrides?: {
|
|
3
4
|
props: any;
|
|
@@ -11,5 +12,5 @@ export declare const useSlotEditorStyles: (params: void, styleOverrides?: {
|
|
|
11
12
|
declare const SlotEditor: ({ slot, slotSchema }: {
|
|
12
13
|
slot: any;
|
|
13
14
|
slotSchema: IAnyType;
|
|
14
|
-
}) => JSX.Element;
|
|
15
|
+
}) => React.JSX.Element;
|
|
15
16
|
export default SlotEditor;
|
|
@@ -127,4 +127,3 @@ const SlotEditor = (0, mobx_react_1.observer)(
|
|
|
127
127
|
: slot.convertToCallback(), title: `convert to ${slot.isCallback ? 'regular value' : 'callback'}` }, slot.isCallback ? react_1.default.createElement(SvgCheckbox, null) : react_1.default.createElement(RadioButtonUnchecked_1.default, null))) : null)));
|
|
128
128
|
});
|
|
129
129
|
exports.default = SlotEditor;
|
|
130
|
-
//# sourceMappingURL=SlotEditor.js.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const StringArrayEditor: ({ slot, }: {
|
|
2
3
|
slot: {
|
|
3
4
|
name: string;
|
|
@@ -7,5 +8,5 @@ declare const StringArrayEditor: ({ slot, }: {
|
|
|
7
8
|
add: Function;
|
|
8
9
|
description: string;
|
|
9
10
|
};
|
|
10
|
-
}) => JSX.Element;
|
|
11
|
+
}) => React.JSX.Element;
|
|
11
12
|
export default StringArrayEditor;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const _default: ({ slot, }: {
|
|
2
3
|
slot: {
|
|
3
4
|
name: string;
|
|
@@ -9,5 +10,5 @@ declare const _default: ({ slot, }: {
|
|
|
9
10
|
removeAtKeyIndex: (key: string, idx: number) => void;
|
|
10
11
|
addToKey: (key: string, val: string) => void;
|
|
11
12
|
};
|
|
12
|
-
}) => JSX.Element;
|
|
13
|
+
}) => React.JSX.Element;
|
|
13
14
|
export default _default;
|
|
@@ -5,5 +5,5 @@ declare const TypeSelector: ({ typeNameChoices, slot, slotName, onChange, }: {
|
|
|
5
5
|
slot: AnyConfigurationModel;
|
|
6
6
|
slotName: string;
|
|
7
7
|
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
8
|
-
}) => JSX.Element;
|
|
8
|
+
}) => React.JSX.Element;
|
|
9
9
|
export default TypeSelector;
|
|
@@ -14,4 +14,3 @@ const TypeSelector = (0, mobx_react_1.observer)(({ typeNameChoices, slot, slotNa
|
|
|
14
14
|
react_1.default.createElement(material_1.TextField, { value: slot.type, label: "Type", select: true, helperText: `Type of ${slotName} to use`, fullWidth: true, onChange: onChange }, typeNameChoices.map(str => (react_1.default.createElement(material_1.MenuItem, { key: str, value: str }, str)))))));
|
|
15
15
|
});
|
|
16
16
|
exports.default = TypeSelector;
|
|
17
|
-
//# sourceMappingURL=TypeSelector.js.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export { default as stateModelFactory } from './model';
|
|
2
3
|
export declare const configSchema: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
3
4
|
export declare const HeadingComponent: ({ model }: {
|
|
@@ -6,4 +7,4 @@ export declare const HeadingComponent: ({ model }: {
|
|
|
6
7
|
type: string;
|
|
7
8
|
};
|
|
8
9
|
} | undefined;
|
|
9
|
-
}) => JSX.Element;
|
|
10
|
+
}) => React.JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ declare const LazyConfigurationEditorComponent: import("react").LazyExoticCompon
|
|
|
10
10
|
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>;
|
|
11
11
|
};
|
|
12
12
|
session?: import("@jbrowse/core/util").AbstractSessionModel | undefined;
|
|
13
|
-
}) => JSX.Element>;
|
|
13
|
+
}) => import("react").JSX.Element>;
|
|
14
14
|
export default class extends Plugin {
|
|
15
15
|
name: string;
|
|
16
16
|
install(pluginManager: PluginManager): void;
|
package/dist/index.js
CHANGED
|
@@ -61,4 +61,3 @@ class default_1 extends Plugin_1.default {
|
|
|
61
61
|
exports.default = default_1;
|
|
62
62
|
var JsonEditor_1 = require("./ConfigurationEditorWidget/components/JsonEditor");
|
|
63
63
|
Object.defineProperty(exports, "JsonEditor", { enumerable: true, get: function () { return __importDefault(JsonEditor_1).default; } });
|
|
64
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const _default: ({ slot, }: {
|
|
2
3
|
slot: {
|
|
3
4
|
name: string;
|
|
@@ -5,5 +6,5 @@ declare const _default: ({ slot, }: {
|
|
|
5
6
|
set: (arg: boolean) => void;
|
|
6
7
|
description: string;
|
|
7
8
|
};
|
|
8
|
-
}) => JSX.Element;
|
|
9
|
+
}) => React.JSX.Element;
|
|
9
10
|
export default _default;
|
|
@@ -6,4 +6,3 @@ export default observer(function ({ slot, }) {
|
|
|
6
6
|
React.createElement(FormControlLabel, { label: slot.name, control: React.createElement(Checkbox, { checked: slot.value, onChange: evt => slot.set(evt.target.checked) }) }),
|
|
7
7
|
React.createElement(FormHelperText, null, slot.description)));
|
|
8
8
|
});
|
|
9
|
-
//# sourceMappingURL=BooleanEditor.js.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare function CallbackEditor({ slot, }: {
|
|
2
3
|
slot: {
|
|
3
4
|
set: (arg: string) => void;
|
|
@@ -6,6 +7,6 @@ declare function CallbackEditor({ slot, }: {
|
|
|
6
7
|
value: string;
|
|
7
8
|
contextVariable: string;
|
|
8
9
|
};
|
|
9
|
-
}): JSX.Element;
|
|
10
|
+
}): React.JSX.Element;
|
|
10
11
|
declare const _default: typeof CallbackEditor;
|
|
11
12
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export declare const ColorSlot: (props: {
|
|
2
3
|
value: string;
|
|
3
4
|
label?: string | undefined;
|
|
@@ -6,7 +7,7 @@ export declare const ColorSlot: (props: {
|
|
|
6
7
|
fullWidth: boolean;
|
|
7
8
|
} | undefined;
|
|
8
9
|
onChange: (arg: string) => void;
|
|
9
|
-
}) => JSX.Element;
|
|
10
|
+
}) => React.JSX.Element;
|
|
10
11
|
declare function ColorEditorSlot(props: {
|
|
11
12
|
slot: {
|
|
12
13
|
name: string;
|
|
@@ -14,6 +15,6 @@ declare function ColorEditorSlot(props: {
|
|
|
14
15
|
description: string;
|
|
15
16
|
set: (arg: string) => void;
|
|
16
17
|
};
|
|
17
|
-
}): JSX.Element;
|
|
18
|
+
}): React.JSX.Element;
|
|
18
19
|
declare const _default: typeof ColorEditorSlot;
|
|
19
20
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { AnyConfigurationModel } from '@jbrowse/core/configuration';
|
|
2
3
|
import { AbstractSessionModel } from '@jbrowse/core/util';
|
|
3
4
|
declare const ConfigurationEditor: ({ model, }: {
|
|
@@ -5,5 +6,5 @@ declare const ConfigurationEditor: ({ model, }: {
|
|
|
5
6
|
target: AnyConfigurationModel;
|
|
6
7
|
};
|
|
7
8
|
session?: AbstractSessionModel | undefined;
|
|
8
|
-
}) => JSX.Element;
|
|
9
|
+
}) => React.JSX.Element;
|
|
9
10
|
export default ConfigurationEditor;
|
|
@@ -85,4 +85,3 @@ const ConfigurationEditor = observer(function ({ model, }) {
|
|
|
85
85
|
React.createElement(AccordionDetails, { className: classes.expansionPanelDetails, "data-testid": "configEditor" }, !target ? 'no target set' : React.createElement(Schema, { schema: target }))));
|
|
86
86
|
});
|
|
87
87
|
export default ConfigurationEditor;
|
|
88
|
-
//# sourceMappingURL=ConfigurationEditor.js.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare function JsonEditor({ slot, }: {
|
|
2
3
|
slot: {
|
|
3
4
|
name: string;
|
|
@@ -5,6 +6,6 @@ declare function JsonEditor({ slot, }: {
|
|
|
5
6
|
value: unknown;
|
|
6
7
|
set: (arg: unknown) => void;
|
|
7
8
|
};
|
|
8
|
-
}): JSX.Element;
|
|
9
|
+
}): React.JSX.Element;
|
|
9
10
|
declare const _default: typeof JsonEditor;
|
|
10
11
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const _default: ({ slot, }: {
|
|
2
3
|
slot: {
|
|
3
4
|
name?: string | undefined;
|
|
@@ -6,5 +7,5 @@ declare const _default: ({ slot, }: {
|
|
|
6
7
|
set: (val: number) => void;
|
|
7
8
|
reset?: (() => void) | undefined;
|
|
8
9
|
};
|
|
9
|
-
}) => JSX.Element;
|
|
10
|
+
}) => React.JSX.Element;
|
|
10
11
|
export default _default;
|
|
@@ -15,4 +15,3 @@ export default observer(function ({ slot, }) {
|
|
|
15
15
|
}, [slot, val]);
|
|
16
16
|
return (React.createElement(ConfigurationTextField, { label: slot.name, helperText: slot.description, value: val, type: "number", onChange: evt => setVal(evt.target.value) }));
|
|
17
17
|
});
|
|
18
|
-
//# sourceMappingURL=NumberEditor.js.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const _default: ({ slot, }: {
|
|
2
3
|
slot: {
|
|
3
4
|
name: string;
|
|
@@ -6,5 +7,5 @@ declare const _default: ({ slot, }: {
|
|
|
6
7
|
add: (key: string, val: number) => void;
|
|
7
8
|
description: string;
|
|
8
9
|
};
|
|
9
|
-
}) => JSX.Element;
|
|
10
|
+
}) => React.JSX.Element;
|
|
10
11
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { IAnyType } from 'mobx-state-tree';
|
|
2
3
|
export declare const useSlotEditorStyles: (params: void, styleOverrides?: {
|
|
3
4
|
props: any;
|
|
@@ -11,5 +12,5 @@ export declare const useSlotEditorStyles: (params: void, styleOverrides?: {
|
|
|
11
12
|
declare const SlotEditor: ({ slot, slotSchema }: {
|
|
12
13
|
slot: any;
|
|
13
14
|
slotSchema: IAnyType;
|
|
14
|
-
}) => JSX.Element;
|
|
15
|
+
}) => React.JSX.Element;
|
|
15
16
|
export default SlotEditor;
|
|
@@ -98,4 +98,3 @@ const SlotEditor = observer(
|
|
|
98
98
|
: slot.convertToCallback(), title: `convert to ${slot.isCallback ? 'regular value' : 'callback'}` }, slot.isCallback ? React.createElement(SvgCheckbox, null) : React.createElement(RadioButtonUncheckedIcon, null))) : null)));
|
|
99
99
|
});
|
|
100
100
|
export default SlotEditor;
|
|
101
|
-
//# sourceMappingURL=SlotEditor.js.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const StringArrayEditor: ({ slot, }: {
|
|
2
3
|
slot: {
|
|
3
4
|
name: string;
|
|
@@ -7,5 +8,5 @@ declare const StringArrayEditor: ({ slot, }: {
|
|
|
7
8
|
add: Function;
|
|
8
9
|
description: string;
|
|
9
10
|
};
|
|
10
|
-
}) => JSX.Element;
|
|
11
|
+
}) => React.JSX.Element;
|
|
11
12
|
export default StringArrayEditor;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const _default: ({ slot, }: {
|
|
2
3
|
slot: {
|
|
3
4
|
name: string;
|
|
@@ -9,5 +10,5 @@ declare const _default: ({ slot, }: {
|
|
|
9
10
|
removeAtKeyIndex: (key: string, idx: number) => void;
|
|
10
11
|
addToKey: (key: string, val: string) => void;
|
|
11
12
|
};
|
|
12
|
-
}) => JSX.Element;
|
|
13
|
+
}) => React.JSX.Element;
|
|
13
14
|
export default _default;
|
|
@@ -5,5 +5,5 @@ declare const TypeSelector: ({ typeNameChoices, slot, slotName, onChange, }: {
|
|
|
5
5
|
slot: AnyConfigurationModel;
|
|
6
6
|
slotName: string;
|
|
7
7
|
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
8
|
-
}) => JSX.Element;
|
|
8
|
+
}) => React.JSX.Element;
|
|
9
9
|
export default TypeSelector;
|
|
@@ -9,4 +9,3 @@ const TypeSelector = observer(({ typeNameChoices, slot, slotName, onChange, }) =
|
|
|
9
9
|
React.createElement(TextField, { value: slot.type, label: "Type", select: true, helperText: `Type of ${slotName} to use`, fullWidth: true, onChange: onChange }, typeNameChoices.map(str => (React.createElement(MenuItem, { key: str, value: str }, str)))))));
|
|
10
10
|
});
|
|
11
11
|
export default TypeSelector;
|
|
12
|
-
//# sourceMappingURL=TypeSelector.js.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export { default as stateModelFactory } from './model';
|
|
2
3
|
export declare const configSchema: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
3
4
|
export declare const HeadingComponent: ({ model }: {
|
|
@@ -6,4 +7,4 @@ export declare const HeadingComponent: ({ model }: {
|
|
|
6
7
|
type: string;
|
|
7
8
|
};
|
|
8
9
|
} | undefined;
|
|
9
|
-
}) => JSX.Element;
|
|
10
|
+
}) => React.JSX.Element;
|