@platforma-sdk/ui-vue 1.34.18 → 1.35.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/CHANGELOG.md +6 -0
- package/dist/lib.css +1 -1
- package/dist/lib.js +7004 -6818
- package/dist/lib.js.map +1 -1
- package/dist/src/components/PlMultiSequenceAlignment/Consensus.vue.d.ts.map +1 -1
- package/dist/src/components/PlMultiSequenceAlignment/Legend.vue.d.ts +5 -1
- package/dist/src/components/PlMultiSequenceAlignment/Legend.vue.d.ts.map +1 -1
- package/dist/src/components/PlMultiSequenceAlignment/MultiSequenceAlignmentView.vue.d.ts +5 -0
- package/dist/src/components/PlMultiSequenceAlignment/MultiSequenceAlignmentView.vue.d.ts.map +1 -1
- package/dist/src/components/PlMultiSequenceAlignment/PlMultiSequenceAlignment.vue.d.ts.map +1 -1
- package/dist/src/components/PlMultiSequenceAlignment/Toolbar.vue.d.ts +4 -2
- package/dist/src/components/PlMultiSequenceAlignment/Toolbar.vue.d.ts.map +1 -1
- package/dist/src/components/PlMultiSequenceAlignment/chemical-properties.d.ts +9 -0
- package/dist/src/components/PlMultiSequenceAlignment/chemical-properties.d.ts.map +1 -0
- package/dist/src/components/PlMultiSequenceAlignment/data.d.ts +32 -33
- package/dist/src/components/PlMultiSequenceAlignment/data.d.ts.map +1 -1
- package/dist/src/components/PlMultiSequenceAlignment/markup.d.ts +15 -0
- package/dist/src/components/PlMultiSequenceAlignment/markup.d.ts.map +1 -0
- package/dist/src/components/PlMultiSequenceAlignment/settings.d.ts +2 -2
- package/dist/src/components/PlMultiSequenceAlignment/settings.d.ts.map +1 -1
- package/dist/src/components/PlMultiSequenceAlignment/types.d.ts +17 -1
- package/dist/src/components/PlMultiSequenceAlignment/types.d.ts.map +1 -1
- package/dist/src/components/PlMultiSequenceAlignment/useMiPlots.d.ts.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/components/PlMultiSequenceAlignment/Consensus.vue +5 -5
- package/src/components/PlMultiSequenceAlignment/Legend.vue +9 -9
- package/src/components/PlMultiSequenceAlignment/MultiSequenceAlignmentView.vue +31 -40
- package/src/components/PlMultiSequenceAlignment/PlMultiSequenceAlignment.vue +110 -18
- package/src/components/PlMultiSequenceAlignment/Toolbar.vue +9 -10
- package/src/components/PlMultiSequenceAlignment/{highlight/chemical-properties.ts → chemical-properties.ts} +71 -68
- package/src/components/PlMultiSequenceAlignment/data.ts +159 -42
- package/src/components/PlMultiSequenceAlignment/markup.ts +107 -0
- package/src/components/PlMultiSequenceAlignment/settings.ts +2 -2
- package/src/components/PlMultiSequenceAlignment/types.ts +13 -1
- package/src/components/PlMultiSequenceAlignment/useMiPlots.ts +1 -2
- package/dist/src/components/PlMultiSequenceAlignment/highlight/chemical-properties.d.ts +0 -20
- package/dist/src/components/PlMultiSequenceAlignment/highlight/chemical-properties.d.ts.map +0 -1
- package/dist/src/components/PlMultiSequenceAlignment/highlight/index.d.ts +0 -7
- package/dist/src/components/PlMultiSequenceAlignment/highlight/index.d.ts.map +0 -1
- package/dist/src/components/PlMultiSequenceAlignment/highlight/types.d.ts +0 -8
- package/dist/src/components/PlMultiSequenceAlignment/highlight/types.d.ts.map +0 -1
- package/src/components/PlMultiSequenceAlignment/highlight/index.ts +0 -33
- package/src/components/PlMultiSequenceAlignment/highlight/types.ts +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Consensus.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/Consensus.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Consensus.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/Consensus.vue"],"names":[],"mappings":"AA4MA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAK7C,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;;;;AA2MF,wBAQG"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import type { ColorMap } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
colors: ColorMap;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2
6
|
export default _default;
|
|
3
7
|
//# sourceMappingURL=Legend.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Legend.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/Legend.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Legend.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/Legend.vue"],"names":[],"mappings":"AAAA,OA6CO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAIxC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,QAAQ,CAAC;CAClB,CAAC;;AA+DF,wBAOG"}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { type Markup } from './markup';
|
|
1
2
|
import type { ColorScheme } from './types';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
sequenceRows: string[][];
|
|
4
5
|
labelRows: string[][];
|
|
6
|
+
markup: {
|
|
7
|
+
labels: Record<string, string>;
|
|
8
|
+
data: Markup[];
|
|
9
|
+
} | undefined;
|
|
5
10
|
colorScheme: ColorScheme;
|
|
6
11
|
consensus: boolean;
|
|
7
12
|
seqLogo: boolean;
|
package/dist/src/components/PlMultiSequenceAlignment/MultiSequenceAlignmentView.vue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSequenceAlignmentView.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/MultiSequenceAlignmentView.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MultiSequenceAlignmentView.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/MultiSequenceAlignmentView.vue"],"names":[],"mappings":"AA4JA,OAAO,EAA6B,KAAK,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAI3C,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,MAAM,EAAE,EAAE,CAAC;IACzB,SAAS,EAAE,MAAM,EAAE,EAAE,CAAC;IACtB,MAAM,EAAE;QACN,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAC/B,IAAI,EAAE,MAAM,EAAE,CAAC;KAChB,GAAG,SAAS,CAAC;IACd,WAAW,EAAE,WAAW,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;;AAmIF,wBAOG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlMultiSequenceAlignment.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/PlMultiSequenceAlignment.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PlMultiSequenceAlignment.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/PlMultiSequenceAlignment.vue"],"names":[],"mappings":"AA6PA,OAAO,KAAK,EACV,gBAAgB,EAChB,YAAY,EACZ,6BAA6B,EAC7B,gBAAgB,EACjB,MAAM,sBAAsB,CAAC;AA0B9B,KAAK,WAAW,GAAG;IACjB;;;OAGG;IACH,QAAQ,CAAC,MAAM,EAAE,YAAY,GAAG,SAAS,CAAC;IAC1C;;;OAGG;IACH,QAAQ,CAAC,uBAAuB,EAAE,gBAAgB,CAAC;IACnD;;;OAGG;IACH,QAAQ,CAAC,0BAA0B,CAAC,EAAE,gBAAgB,CAAC;IACvD;;;;OAIG;IACH,QAAQ,CAAC,qBAAqB,CAAC,EAAE,gBAAgB,CAAC;IAClD;;;;OAIG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,gBAAgB,CAAC;CACvC,CAAC;AAgIF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,6BAA6B,CAAC;CAC1C,GAAG,WAAW,CAAC;;;;;;AA8IhB,wBAOG"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { type ListOptionNormalized } from '@milaboratories/uikit';
|
|
2
2
|
import type { PObjectId, PTableColumnId } from '@platforma-sdk/model';
|
|
3
3
|
import type { Settings } from './settings';
|
|
4
|
+
import type { ColorSchemeOption } from './types';
|
|
4
5
|
type __VLS_Props = {
|
|
5
6
|
sequenceColumnOptions: ListOptionNormalized<PObjectId>[];
|
|
6
7
|
labelColumnOptions: ListOptionNormalized<PTableColumnId>[];
|
|
8
|
+
colorSchemeOptions: ListOptionNormalized<ColorSchemeOption>[];
|
|
7
9
|
};
|
|
8
10
|
type __VLS_PublicProps = {
|
|
9
11
|
'sequenceColumns': PObjectId[];
|
|
@@ -14,7 +16,7 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
14
16
|
"update:sequenceColumns": (value: PObjectId[]) => any;
|
|
15
17
|
"update:labelColumns": (value: PTableColumnId[]) => any;
|
|
16
18
|
"update:settings": (value: {
|
|
17
|
-
colorScheme:
|
|
19
|
+
colorScheme: ColorSchemeOption;
|
|
18
20
|
consensus: boolean;
|
|
19
21
|
seqLogo: boolean;
|
|
20
22
|
legend: boolean;
|
|
@@ -23,7 +25,7 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
23
25
|
"onUpdate:sequenceColumns"?: ((value: PObjectId[]) => any) | undefined;
|
|
24
26
|
"onUpdate:labelColumns"?: ((value: PTableColumnId[]) => any) | undefined;
|
|
25
27
|
"onUpdate:settings"?: ((value: {
|
|
26
|
-
colorScheme:
|
|
28
|
+
colorScheme: ColorSchemeOption;
|
|
27
29
|
consensus: boolean;
|
|
28
30
|
seqLogo: boolean;
|
|
29
31
|
legend: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toolbar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/Toolbar.vue"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"Toolbar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/Toolbar.vue"],"names":[],"mappings":"AAAA,OAwGO,EACL,KAAK,oBAAoB,EAK1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAmBjD,KAAK,WAAW,GAAG;IACjB,qBAAqB,EAAE,oBAAoB,CAAC,SAAS,CAAC,EAAE,CAAC;IACzD,kBAAkB,EAAE,oBAAoB,CAAC,cAAc,CAAC,EAAE,CAAC;IAC3D,kBAAkB,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,CAAC;CAC/D,CAAC;AAUF,KAAK,iBAAiB,GAAG;IACzB,iBAAiB,EAAE,SAAS,EAAE,CAAC;IAC/B,cAAc,EAAE,cAAc,EAAE,CAAC;IACjC,UAAU,EAAE,QAAQ,CAAC;CACpB,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;AA0IhB,wBAQG"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ColorMap, ResidueCounts } from './types';
|
|
2
|
+
export declare const chemicalPropertiesColorMap: ColorMap;
|
|
3
|
+
export type ChemicalCategory = keyof typeof chemicalPropertiesColorMap;
|
|
4
|
+
export declare function colorizeSequencesByChemicalProperties({ sequences, residueCounts, colorMap }: {
|
|
5
|
+
sequences: string[];
|
|
6
|
+
residueCounts: ResidueCounts;
|
|
7
|
+
colorMap: ColorMap;
|
|
8
|
+
}): Promise<Blob>;
|
|
9
|
+
//# sourceMappingURL=chemical-properties.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chemical-properties.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/chemical-properties.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAEvD,eAAO,MAAM,0BAA0B,EAAE,QAiCxC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,0BAA0B,CAAC;AAEvE,wBAAgB,qCAAqC,CACnD,EAAE,SAAS,EAAE,aAAa,EAAE,QAAQ,EAAE,EAAE;IACtC,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,aAAa,EAAE,aAAa,CAAC;IAC7B,QAAQ,EAAE,QAAQ,CAAC;CACpB,GACA,OAAO,CAAC,IAAI,CAAC,CAwBf"}
|
|
@@ -1,54 +1,53 @@
|
|
|
1
1
|
import type { ListOptionNormalized } from '@milaboratories/uikit';
|
|
2
2
|
import { type PColumnIdAndSpec, type PColumnPredicate, type PFrameHandle, type PlSelectionModel, type PObjectId, type PTableColumnId } from '@platforma-sdk/model';
|
|
3
3
|
import { type MaybeRefOrGetter } from 'vue';
|
|
4
|
+
import { type Markup } from './markup';
|
|
4
5
|
export declare const sequenceLimit = 1000;
|
|
5
6
|
export declare function useSequenceColumnsOptions(params: MaybeRefOrGetter<{
|
|
6
7
|
pFrame: PFrameHandle | undefined;
|
|
7
8
|
sequenceColumnPredicate: PColumnPredicate;
|
|
8
|
-
}>):
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
defaults: never[];
|
|
13
|
-
options: never[];
|
|
14
|
-
}, {
|
|
15
|
-
options: ListOptionNormalized<PObjectId>[];
|
|
16
|
-
defaults: PObjectId[];
|
|
17
|
-
} | {
|
|
18
|
-
defaults: never[];
|
|
19
|
-
options: never[];
|
|
20
|
-
}>;
|
|
9
|
+
}>): {
|
|
10
|
+
data: import("vue").Ref<OptionsWithDefaults<PObjectId>, OptionsWithDefaults<PObjectId>>;
|
|
11
|
+
error: import("vue").ShallowRef<Error | undefined, Error | undefined>;
|
|
12
|
+
};
|
|
21
13
|
export declare function useLabelColumnsOptions(params: MaybeRefOrGetter<{
|
|
22
14
|
pFrame: PFrameHandle | undefined;
|
|
23
15
|
sequenceColumnIds: PObjectId[];
|
|
24
16
|
labelColumnOptionPredicate: ((column: PColumnIdAndSpec) => boolean) | undefined;
|
|
25
|
-
}>):
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
defaults: PTableColumnId[];
|
|
37
|
-
}>;
|
|
17
|
+
}>): {
|
|
18
|
+
data: import("vue").Ref<OptionsWithDefaults<PTableColumnId>, OptionsWithDefaults<PTableColumnId>>;
|
|
19
|
+
error: import("vue").ShallowRef<Error | undefined, Error | undefined>;
|
|
20
|
+
};
|
|
21
|
+
export declare function useMarkupColumnsOptions(params: MaybeRefOrGetter<{
|
|
22
|
+
pFrame: PFrameHandle | undefined;
|
|
23
|
+
sequenceColumnIds: PObjectId[];
|
|
24
|
+
}>): {
|
|
25
|
+
data: import("vue").Ref<ListOptionNormalized<PObjectId>[], ListOptionNormalized<PObjectId>[]>;
|
|
26
|
+
error: import("vue").ShallowRef<Error | undefined, Error | undefined>;
|
|
27
|
+
};
|
|
38
28
|
export declare function useMultipleAlignmentData(params: MaybeRefOrGetter<{
|
|
39
29
|
pframe: PFrameHandle | undefined;
|
|
40
30
|
sequenceColumnIds: PObjectId[];
|
|
41
31
|
labelColumnIds: PTableColumnId[];
|
|
32
|
+
markupColumnId: PObjectId | undefined;
|
|
42
33
|
linkerColumnPredicate: PColumnPredicate | undefined;
|
|
43
34
|
selection: PlSelectionModel | undefined;
|
|
44
35
|
}>): {
|
|
45
|
-
data: import("vue").ComputedRef<
|
|
46
|
-
|
|
47
|
-
labels: string[][];
|
|
48
|
-
} | {
|
|
49
|
-
sequences: never[];
|
|
50
|
-
labels: never[];
|
|
51
|
-
}>;
|
|
36
|
+
data: import("vue").ComputedRef<MultipleAlignmentData>;
|
|
37
|
+
error: import("vue").ShallowRef<Error | undefined, Error | undefined>;
|
|
52
38
|
loading: import("vue").Ref<boolean, boolean>;
|
|
53
39
|
};
|
|
40
|
+
type MultipleAlignmentData = {
|
|
41
|
+
sequences: string[][];
|
|
42
|
+
labels: string[][];
|
|
43
|
+
markup?: {
|
|
44
|
+
labels: Record<string, string>;
|
|
45
|
+
data: Markup[];
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
type OptionsWithDefaults<T> = {
|
|
49
|
+
options: ListOptionNormalized<T>[];
|
|
50
|
+
defaults: T[];
|
|
51
|
+
};
|
|
52
|
+
export {};
|
|
54
53
|
//# sourceMappingURL=data.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/data.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/data.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAYL,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,KAAK,cAAc,EAEpB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,KAAK,gBAAgB,EAA4B,MAAM,KAAK,CAAC;AACtE,OAAO,EAAE,KAAK,MAAM,EAAsC,MAAM,UAAU,CAAC;AAK3E,eAAO,MAAM,aAAa,OAAO,CAAC;AAElC,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,gBAAgB,CAAC;IACvB,MAAM,EAAE,YAAY,GAAG,SAAS,CAAC;IACjC,uBAAuB,EAAE,gBAAgB,CAAC;CAC3C,CAAC;;;EAgBH;AAED,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,gBAAgB,CAAC;IACvB,MAAM,EAAE,YAAY,GAAG,SAAS,CAAC;IACjC,iBAAiB,EAAE,SAAS,EAAE,CAAC;IAC/B,0BAA0B,EACtB,CAAC,CAAC,MAAM,EAAE,gBAAgB,KAAK,OAAO,CAAC,GACvC,SAAS,CAAC;CACf,CAAC;;;EAgBH;AAED,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,gBAAgB,CAAC;IACvB,MAAM,EAAE,YAAY,GAAG,SAAS,CAAC;IACjC,iBAAiB,EAAE,SAAS,EAAE,CAAC;CAChC,CAAC;;;EAgBH;AAED,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,gBAAgB,CAAC;IACvB,MAAM,EAAE,YAAY,GAAG,SAAS,CAAC;IACjC,iBAAiB,EAAE,SAAS,EAAE,CAAC;IAC/B,cAAc,EAAE,cAAc,EAAE,CAAC;IACjC,cAAc,EAAE,SAAS,GAAG,SAAS,CAAC;IACtC,qBAAqB,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACpD,SAAS,EAAE,gBAAgB,GAAG,SAAS,CAAC;CACzC,CAAC;;;;EAkBH;AA+RD,KAAK,qBAAqB,GAAG;IAC3B,SAAS,EAAE,MAAM,EAAE,EAAE,CAAC;IACtB,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC;IACnB,MAAM,CAAC,EAAE;QACP,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAC/B,IAAI,EAAE,MAAM,EAAE,CAAC;KAChB,CAAC;CACH,CAAC;AAEF,KAAK,mBAAmB,CAAC,CAAC,IAAI;IAC5B,OAAO,EAAE,oBAAoB,CAAC,CAAC,CAAC,EAAE,CAAC;IACnC,QAAQ,EAAE,CAAC,EAAE,CAAC;CACf,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ColorMap } from './types';
|
|
2
|
+
export type Markup = {
|
|
3
|
+
id: string;
|
|
4
|
+
start: number;
|
|
5
|
+
length: number;
|
|
6
|
+
}[];
|
|
7
|
+
export declare function parseMarkup(row: string): Markup;
|
|
8
|
+
export declare function markupAlignedSequence(alignedSequence: string, markup: Markup): Markup;
|
|
9
|
+
export declare function colorizeSequencesByMarkup({ markupRows, columnCount, colorMap }: {
|
|
10
|
+
markupRows: Markup[];
|
|
11
|
+
columnCount: number;
|
|
12
|
+
colorMap: ColorMap;
|
|
13
|
+
}): Promise<Blob>;
|
|
14
|
+
export declare const markupColors: string[];
|
|
15
|
+
//# sourceMappingURL=markup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"markup.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/markup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,MAAM,MAAM,MAAM,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EAAE,CAAC;AAErE,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAmB/C;AAED,wBAAgB,qBAAqB,CACnC,eAAe,EAAE,MAAM,EACvB,MAAM,EAAE,MAAM,GACb,MAAM,CAkBR;AAED,wBAAgB,yBAAyB,CACvC,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE;IACrC,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,QAAQ,CAAC;CACpB,GACA,OAAO,CAAC,IAAI,CAAC,CAYf;AAED,eAAO,MAAM,YAAY,UAiBxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,eAAO,MAAM,eAAe;iBACsB,iBAAiB;;;;CAIlE,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,OAAO,eAAe,CAAC"}
|
|
@@ -1,3 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
import type { PObjectId } from '@platforma-sdk/model';
|
|
2
|
+
export type ColorSchemeOption = {
|
|
3
|
+
type: 'no-color';
|
|
4
|
+
} | {
|
|
5
|
+
type: 'chemical-properties';
|
|
6
|
+
} | {
|
|
7
|
+
type: 'markup';
|
|
8
|
+
columnId: PObjectId;
|
|
9
|
+
};
|
|
10
|
+
export type ColorScheme = {
|
|
11
|
+
type: ColorSchemeOption['type'];
|
|
12
|
+
colors: ColorMap;
|
|
13
|
+
};
|
|
14
|
+
export type ColorMap = Record<string, {
|
|
15
|
+
label: string;
|
|
16
|
+
color: string;
|
|
17
|
+
}>;
|
|
2
18
|
export type ResidueCounts = Record<string, number>[];
|
|
3
19
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,MAAM,iBAAiB,GACzB;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,GACpB;IAAE,IAAI,EAAE,qBAAqB,CAAA;CAAE,GAC/B;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,CAAC;AAE5C,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAChC,MAAM,EAAE,QAAQ,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAExE,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMiPlots.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/useMiPlots.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useMiPlots.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/useMiPlots.ts"],"names":[],"mappings":"AAGA,wBAAgB,UAAU;;;EAmBzB"}
|