@platforma-sdk/ui-vue 1.30.26 → 1.30.37
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 +9 -0
- package/dist/assets/chemical-properties.worker-thYtrBDn.js.map +1 -0
- package/dist/lib.js +11619 -10406
- package/dist/lib.js.map +1 -1
- package/dist/lib.umd.cjs +36 -29
- package/dist/lib.umd.cjs.map +1 -1
- package/dist/src/components/PlAgDataTable/PlAgDataTable.vue.d.ts +2 -1
- package/dist/src/components/PlAgDataTable/PlAgDataTable.vue.d.ts.map +1 -1
- package/dist/src/components/PlAgDataTable/PlAgDataTableV2.vue.d.ts +12 -12
- package/dist/src/components/PlAgDataTable/PlAgDataTableV2.vue.d.ts.map +1 -1
- package/dist/src/components/PlAgDataTable/sources/common.d.ts +6 -16
- package/dist/src/components/PlAgDataTable/sources/common.d.ts.map +1 -1
- package/dist/src/components/PlAgDataTable/sources/table-source-v2.d.ts +13 -4
- package/dist/src/components/PlAgDataTable/sources/table-source-v2.d.ts.map +1 -1
- package/dist/src/components/PlAgDataTable/sources/table-source.d.ts +12 -3
- package/dist/src/components/PlAgDataTable/sources/table-source.d.ts.map +1 -1
- package/dist/src/components/PlAgDataTable/types.d.ts +25 -5
- package/dist/src/components/PlAgDataTable/types.d.ts.map +1 -1
- package/dist/src/components/PlMultiSequenceAlignment/MultiSequenceAlignmentView.vue.d.ts +8 -0
- package/dist/src/components/PlMultiSequenceAlignment/MultiSequenceAlignmentView.vue.d.ts.map +1 -0
- package/dist/src/components/PlMultiSequenceAlignment/PlMultiSequenceAlignment.vue.d.ts +40 -0
- package/dist/src/components/PlMultiSequenceAlignment/PlMultiSequenceAlignment.vue.d.ts.map +1 -0
- package/dist/src/components/PlMultiSequenceAlignment/data.d.ts +86 -0
- package/dist/src/components/PlMultiSequenceAlignment/data.d.ts.map +1 -0
- package/dist/src/components/PlMultiSequenceAlignment/highlight/chemical-properties.d.ts +19 -0
- package/dist/src/components/PlMultiSequenceAlignment/highlight/chemical-properties.d.ts.map +1 -0
- package/dist/src/components/PlMultiSequenceAlignment/highlight/chemical-properties.worker.d.ts +9 -0
- package/dist/src/components/PlMultiSequenceAlignment/highlight/chemical-properties.worker.d.ts.map +1 -0
- package/dist/src/components/PlMultiSequenceAlignment/highlight/index.d.ts +7 -0
- package/dist/src/components/PlMultiSequenceAlignment/highlight/index.d.ts.map +1 -0
- package/dist/src/components/PlMultiSequenceAlignment/highlight/types.d.ts +6 -0
- package/dist/src/components/PlMultiSequenceAlignment/highlight/types.d.ts.map +1 -0
- package/dist/src/components/PlMultiSequenceAlignment/index.d.ts +2 -0
- package/dist/src/components/PlMultiSequenceAlignment/index.d.ts.map +1 -0
- package/dist/src/components/PlMultiSequenceAlignment/multi-sequence-alignment.d.ts +7 -0
- package/dist/src/components/PlMultiSequenceAlignment/multi-sequence-alignment.d.ts.map +1 -0
- package/dist/src/components/PlMultiSequenceAlignment/types.d.ts +6 -0
- package/dist/src/components/PlMultiSequenceAlignment/types.d.ts.map +1 -0
- package/dist/src/lib.d.ts +1 -0
- package/dist/src/lib.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +14 -12
- package/src/components/PlAgDataTable/PlAgDataTable.vue +8 -7
- package/src/components/PlAgDataTable/PlAgDataTableV2.vue +157 -86
- package/src/components/PlAgDataTable/sources/common.ts +7 -101
- package/src/components/PlAgDataTable/sources/table-source-v2.ts +106 -11
- package/src/components/PlAgDataTable/sources/table-source.ts +95 -2
- package/src/components/PlAgDataTable/types.ts +29 -5
- package/src/components/PlMultiSequenceAlignment/MultiSequenceAlignmentView.vue +135 -0
- package/src/components/PlMultiSequenceAlignment/PlMultiSequenceAlignment.vue +173 -0
- package/src/components/PlMultiSequenceAlignment/data.ts +404 -0
- package/src/components/PlMultiSequenceAlignment/highlight/chemical-properties.ts +72 -0
- package/src/components/PlMultiSequenceAlignment/highlight/chemical-properties.worker.ts +191 -0
- package/src/components/PlMultiSequenceAlignment/highlight/index.ts +25 -0
- package/src/components/PlMultiSequenceAlignment/highlight/types.ts +5 -0
- package/src/components/PlMultiSequenceAlignment/index.ts +1 -0
- package/src/components/PlMultiSequenceAlignment/multi-sequence-alignment.ts +134 -0
- package/src/components/PlMultiSequenceAlignment/types.ts +5 -0
- package/src/lib.ts +2 -0
- package/src/vite-env.d.ts +13 -0
- package/tsconfig.lib.json +3 -1
- package/vite.config.ts +5 -2
- package/vitest.config.ts +7 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { PTableRowKey } from '@platforma-sdk/model';
|
|
1
2
|
import { type AxisId, type PlDataTableState, type PTableColumnSpec } from '@platforma-sdk/model';
|
|
2
|
-
import type { PlDataTableSettings
|
|
3
|
+
import type { PlDataTableSettings } from './types';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
settings?: Readonly<PlDataTableSettings>;
|
|
5
6
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlAgDataTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/PlAgDataTable/PlAgDataTable.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PlAgDataTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/PlAgDataTable/PlAgDataTable.vue"],"names":[],"mappings":"AAwkBA,OAAO,KAAK,EAEV,YAAY,EACb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAIL,KAAK,MAAM,EACX,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EAItB,MAAM,sBAAsB,CAAC;AAS9B,OAAO,KAAK,EAA2B,mBAAmB,EAA+C,MAAM,SAAS,CAAC;AAkBzH,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IACzC;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;;;;;SAMK;IACL,iCAAiC,CAAC,EAAE,OAAO,CAAC;CAC7C,CAAC;AAiaF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,cAAc,CAAC,EAAE,YAAY,EAAE,CAAC;CAC/B,GAAG,WAAW,CAAC;AAMhB,iBAAS,cAAc;WAwJT,OAAO,IAA6B;;iCATZ,GAAG;gCACJ,GAAG;;;;EAavC;AAyBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;6FASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import type { PlAgDataTableSettings,
|
|
1
|
+
import type { AxisId, PlDataTableState, PlSelectionModel, PTableColumnSpec, PTableKey } from '@platforma-sdk/model';
|
|
2
|
+
import type { CellRendererSelectorFunc } from 'ag-grid-enterprise';
|
|
3
|
+
import type { PlAgDataTableSettings, PlAgDataTableV2Row } from './types';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
settings?: Readonly<PlAgDataTableSettings>;
|
|
6
6
|
/**
|
|
@@ -49,11 +49,11 @@ type __VLS_Props = {
|
|
|
49
49
|
* Callback to override the default renderer for a given cell.
|
|
50
50
|
* @see https://www.ag-grid.com/vue-data-grid/component-cell-renderer/#dynamic-component-selection
|
|
51
51
|
*/
|
|
52
|
-
cellRendererSelector?: CellRendererSelectorFunc<
|
|
52
|
+
cellRendererSelector?: CellRendererSelectorFunc<PlAgDataTableV2Row>;
|
|
53
53
|
};
|
|
54
54
|
type __VLS_PublicProps = {
|
|
55
55
|
modelValue?: PlDataTableState;
|
|
56
|
-
'
|
|
56
|
+
'selection'?: PlSelectionModel;
|
|
57
57
|
} & __VLS_Props;
|
|
58
58
|
declare function __VLS_template(): {
|
|
59
59
|
attrs: Partial<{}>;
|
|
@@ -66,19 +66,19 @@ declare function __VLS_template(): {
|
|
|
66
66
|
};
|
|
67
67
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
68
68
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
69
|
-
focusRow: (rowKey:
|
|
69
|
+
focusRow: (rowKey: PTableKey) => Promise<void>;
|
|
70
70
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
71
71
|
"update:modelValue": (value: PlDataTableState) => any;
|
|
72
|
-
rowDoubleClicked: (key?:
|
|
72
|
+
rowDoubleClicked: (key?: PTableKey | undefined) => any;
|
|
73
73
|
columnsChanged: (columns: PTableColumnSpec[]) => any;
|
|
74
|
-
cellButtonClicked: (key?:
|
|
75
|
-
"update:
|
|
74
|
+
cellButtonClicked: (key?: PTableKey | undefined) => any;
|
|
75
|
+
"update:selection": (value: PlSelectionModel) => any;
|
|
76
76
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
77
77
|
"onUpdate:modelValue"?: ((value: PlDataTableState) => any) | undefined;
|
|
78
|
-
onRowDoubleClicked?: ((key?:
|
|
78
|
+
onRowDoubleClicked?: ((key?: PTableKey | undefined) => any) | undefined;
|
|
79
79
|
onColumnsChanged?: ((columns: PTableColumnSpec[]) => any) | undefined;
|
|
80
|
-
onCellButtonClicked?: ((key?:
|
|
81
|
-
"onUpdate:
|
|
80
|
+
onCellButtonClicked?: ((key?: PTableKey | undefined) => any) | undefined;
|
|
81
|
+
"onUpdate:selection"?: ((value: PlSelectionModel) => any) | undefined;
|
|
82
82
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
83
83
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
84
84
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlAgDataTableV2.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/PlAgDataTable/PlAgDataTableV2.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PlAgDataTableV2.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/PlAgDataTable/PlAgDataTableV2.vue"],"names":[],"mappings":"AA4qBA,OAAO,KAAK,EACV,MAAM,EAEN,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAEhB,SAAS,EAGV,MAAM,sBAAsB,CAAC;AAM9B,OAAO,KAAK,EACV,wBAAwB,EAWzB,MAAM,oBAAoB,CAAC;AAiC5B,OAAO,KAAK,EACV,qBAAqB,EAGrB,kBAAkB,EAGnB,MAAM,SAAS,CAAC;AAejB,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,QAAQ,CAAC,qBAAqB,CAAC,CAAC;IAC3C;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;;;;;OAMG;IACH,iCAAiC,CAAC,EAAE,OAAO,CAAC;IAE5C,wDAAwD;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,yDAAyD;IACzD,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,gDAAgD;IAChD,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,oBAAoB,CAAC,EAAE,wBAAwB,CAAC,kBAAkB,CAAC,CAAC;CACrE,CAAC;AAoeF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,WAAW,CAAC,EAAE,gBAAgB,CAAC;CAC9B,GAAG,WAAW,CAAC;AAMhB,iBAAS,cAAc;WAqKT,OAAO,IAA6B;;iCATZ,GAAG;gCACJ,GAAG;;;;EAavC;AAyBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;6FASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,21 +1,11 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import
|
|
3
|
-
import type { PlAgDataTableRow
|
|
4
|
-
export type PlAgCellButtonAxisParams = {
|
|
5
|
-
showCellButtonForAxisId?: AxisId;
|
|
6
|
-
cellButtonInvokeRowsOnDoubleClick?: boolean;
|
|
7
|
-
trigger: (key?: PTableRowKey) => void;
|
|
8
|
-
};
|
|
1
|
+
import { type PTableColumnSpec, type PTableValue } from '@platforma-sdk/model';
|
|
2
|
+
import type { ValueFormatterParams } from 'ag-grid-enterprise';
|
|
3
|
+
import type { PlAgDataTableRow } from '../types';
|
|
9
4
|
export declare const PTableHidden: {
|
|
10
|
-
type:
|
|
5
|
+
readonly type: "hidden";
|
|
11
6
|
};
|
|
12
7
|
export type PTableHidden = typeof PTableHidden;
|
|
13
|
-
export declare function isPTableHidden(value: PTableValue): value is PTableHidden;
|
|
14
|
-
export declare const defaultValueFormatter: (value: ValueFormatterParams<PlAgDataTableRow, PTableValue>) => string;
|
|
15
|
-
/**
|
|
16
|
-
* Calculates column definition for a given p-table column
|
|
17
|
-
*/
|
|
18
|
-
export declare function makeColDef(iCol: number, spec: PTableColumnSpec, hiddenColIds?: string[], cellButtonAxisParams?: PlAgCellButtonAxisParams): ColDef;
|
|
19
|
-
export declare function makeRowId(rowKey: PTableValue[]): PTableRowKeyJson;
|
|
8
|
+
export declare function isPTableHidden(value: PTableValue | PTableHidden): value is PTableHidden;
|
|
9
|
+
export declare const defaultValueFormatter: (value: ValueFormatterParams<PlAgDataTableRow, PTableValue | PTableHidden>) => string;
|
|
20
10
|
export declare function isLabelColumn(column: PTableColumnSpec): boolean;
|
|
21
11
|
//# sourceMappingURL=common.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../src/components/PlAgDataTable/sources/common.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../src/components/PlAgDataTable/sources/common.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAIjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,eAAO,MAAM,YAAY;;CAA8B,CAAC;AACxD,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC;AAE/C,wBAAgB,cAAc,CAAC,KAAK,EAAE,WAAW,GAAG,YAAY,GAAG,KAAK,IAAI,YAAY,CAEvF;AAED,eAAO,MAAM,qBAAqB,UAAW,oBAAoB,CAAC,gBAAgB,EAAE,WAAW,GAAG,YAAY,CAAC,WAU9G,CAAC;AAEF,wBAAgB,aAAa,CAAC,MAAM,EAAE,gBAAgB,WAErD"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { ColDef, IServerSideDatasource, RowModelType } from 'ag-grid-enterprise';
|
|
2
|
-
import type { PlDataTableGridStateWithoutSheets, PlDataTableModel } from '@platforma-sdk/model';
|
|
2
|
+
import type { AxisId, PlDataTableGridStateWithoutSheets, PlDataTableModel, PTableColumnSpec, PTableKey } from '@platforma-sdk/model';
|
|
3
3
|
import { type PFrameDriver, type PlDataTableSheet } from '@platforma-sdk/model';
|
|
4
|
-
import type {
|
|
4
|
+
import type { PlAgDataTableV2Row, PTableKeyJson } from '../types';
|
|
5
5
|
import type { Ref } from 'vue';
|
|
6
|
-
import { type PlAgCellButtonAxisParams } from './common';
|
|
7
6
|
/**
|
|
8
7
|
* Calculate GridOptions for p-table data source type
|
|
9
8
|
*/
|
|
@@ -11,6 +10,16 @@ export declare function updatePFrameGridOptions(pfDriver: PFrameDriver, model: P
|
|
|
11
10
|
columnDefs: ColDef[];
|
|
12
11
|
serverSideDatasource?: IServerSideDatasource;
|
|
13
12
|
rowModelType: RowModelType;
|
|
14
|
-
rowData?:
|
|
13
|
+
rowData?: PlAgDataTableV2Row[];
|
|
15
14
|
}>;
|
|
15
|
+
export type PlAgCellButtonAxisParams = {
|
|
16
|
+
showCellButtonForAxisId?: AxisId;
|
|
17
|
+
cellButtonInvokeRowsOnDoubleClick?: boolean;
|
|
18
|
+
trigger: (key?: PTableKey) => void;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Calculates column definition for a given p-table column
|
|
22
|
+
*/
|
|
23
|
+
export declare function makeColDef(iCol: number, spec: PTableColumnSpec, hiddenColIds?: string[], cellButtonAxisParams?: PlAgCellButtonAxisParams): ColDef;
|
|
24
|
+
export declare function makeRowId(rowKey: PTableKey): PTableKeyJson;
|
|
16
25
|
//# sourceMappingURL=table-source-v2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-source-v2.d.ts","sourceRoot":"","sources":["../../../../../src/components/PlAgDataTable/sources/table-source-v2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,
|
|
1
|
+
{"version":3,"file":"table-source-v2.d.ts","sourceRoot":"","sources":["../../../../../src/components/PlAgDataTable/sources/table-source-v2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAEN,qBAAqB,EAErB,YAAY,EACb,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EACV,MAAM,EACN,iCAAiC,EACjC,gBAAgB,EAChB,gBAAgB,EAChB,SAAS,EACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAQL,KAAK,YAAY,EACjB,KAAK,gBAAgB,EAEtB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAGlE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAqC/B;;GAEG;AACH,wBAAsB,uBAAuB,CAC3C,QAAQ,EAAE,YAAY,EACtB,KAAK,EAAE,gBAAgB,EACvB,MAAM,EAAE,gBAAgB,EAAE,EAC1B,UAAU,EAAE,OAAO,EACnB,SAAS,EAAE,GAAG,CAAC,iCAAiC,CAAC,EACjD,oBAAoB,CAAC,EAAE,wBAAwB,GAC9C,OAAO,CAAC;IACP,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,oBAAoB,CAAC,EAAE,qBAAqB,CAAC;IAC7C,YAAY,EAAE,YAAY,CAAC;IAC3B,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAChC,CAAC,CA8LH;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,iCAAiC,CAAC,EAAE,OAAO,CAAC;IAC5C,OAAO,EAAE,CAAC,GAAG,CAAC,EAAE,SAAS,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF;;GAEG;AACH,wBAAgB,UAAU,CACxB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,gBAAgB,EACtB,YAAY,CAAC,EAAE,MAAM,EAAE,EACvB,oBAAoB,CAAC,EAAE,wBAAwB,GAC9C,MAAM,CA8DR;AAED,wBAAgB,SAAS,CAAC,MAAM,EAAE,SAAS,GAAG,aAAa,CAE1D"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { ColDef, IServerSideDatasource, RowModelType } from 'ag-grid-enterprise';
|
|
2
|
-
import type { PlDataTableGridStateWithoutSheets } from '@platforma-sdk/model';
|
|
2
|
+
import type { AxisId, PlDataTableGridStateWithoutSheets, PTableColumnSpec, PTableRowKey } from '@platforma-sdk/model';
|
|
3
3
|
import { type PFrameDriver, type PlDataTableSheet, type PTableHandle } from '@platforma-sdk/model';
|
|
4
|
-
import type { PlAgDataTableRow } from '../types';
|
|
4
|
+
import type { PlAgDataTableRow, PTableRowKeyJson } from '../types';
|
|
5
5
|
import type { Ref } from 'vue';
|
|
6
|
-
import { type PlAgCellButtonAxisParams } from './common';
|
|
7
6
|
/**
|
|
8
7
|
* Calculate GridOptions for p-table data source type
|
|
9
8
|
*/
|
|
@@ -13,4 +12,14 @@ export declare function updatePFrameGridOptions(pfDriver: PFrameDriver, pt: PTab
|
|
|
13
12
|
rowModelType: RowModelType;
|
|
14
13
|
rowData?: PlAgDataTableRow[];
|
|
15
14
|
}>;
|
|
15
|
+
export type PlAgCellButtonAxisParams = {
|
|
16
|
+
showCellButtonForAxisId?: AxisId;
|
|
17
|
+
cellButtonInvokeRowsOnDoubleClick?: boolean;
|
|
18
|
+
trigger: (key?: PTableRowKey) => void;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Calculates column definition for a given p-table column
|
|
22
|
+
*/
|
|
23
|
+
export declare function makeColDef(iCol: number, spec: PTableColumnSpec, hiddenColIds?: string[], cellButtonAxisParams?: PlAgCellButtonAxisParams): ColDef;
|
|
24
|
+
export declare function makeRowId(rowKey: PTableRowKey): PTableRowKeyJson;
|
|
16
25
|
//# sourceMappingURL=table-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-source.d.ts","sourceRoot":"","sources":["../../../../../src/components/PlAgDataTable/sources/table-source.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,
|
|
1
|
+
{"version":3,"file":"table-source.d.ts","sourceRoot":"","sources":["../../../../../src/components/PlAgDataTable/sources/table-source.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAEN,qBAAqB,EAErB,YAAY,EACb,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EACV,MAAM,EACN,iCAAiC,EACjC,gBAAgB,EAChB,YAAY,EACb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAOL,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EAElB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAInE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAqB/B;;GAEG;AACH,wBAAsB,uBAAuB,CAC3C,QAAQ,EAAE,YAAY,EACtB,EAAE,EAAE,YAAY,EAChB,MAAM,EAAE,gBAAgB,EAAE,EAC1B,UAAU,EAAE,OAAO,EACnB,SAAS,EAAE,GAAG,CAAC,iCAAiC,CAAC,EACjD,oBAAoB,CAAC,EAAE,wBAAwB,GAC9C,OAAO,CAAC;IACP,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,oBAAoB,CAAC,EAAE,qBAAqB,CAAC;IAC7C,YAAY,EAAE,YAAY,CAAC;IAC3B,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC9B,CAAC,CAgMH;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,iCAAiC,CAAC,EAAE,OAAO,CAAC;IAC5C,OAAO,EAAE,CAAC,GAAG,CAAC,EAAE,YAAY,KAAK,IAAI,CAAC;CACvC,CAAC;AAEF;;GAEG;AACH,wBAAgB,UAAU,CACxB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,gBAAgB,EACtB,YAAY,CAAC,EAAE,MAAM,EAAE,EACvB,oBAAoB,CAAC,EAAE,wBAAwB,GAC9C,MAAM,CA8DR;AAED,wBAAgB,SAAS,CAAC,MAAM,EAAE,YAAY,GAAG,gBAAgB,CAEhE"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { CanonicalizedJson, LocalBlobHandleAndSize, PlDataTableModel, PlDataTableSheet, PlTableFilter, PlTableFilterType, PTableColumnId, PTableHandle, PTableValue, RemoteBlobHandleAndSize } from '@platforma-sdk/model';
|
|
1
|
+
import type { CanonicalizedJson, LocalBlobHandleAndSize, PlDataTableModel, PlDataTableSheet, PlTableFilter, PlTableFilterType, PTableColumnId, PTableHandle, PTableKey, PTableRowKey, PTableValue, RemoteBlobHandleAndSize } from '@platforma-sdk/model';
|
|
2
|
+
import type { PTableHidden } from './sources/common';
|
|
2
3
|
export type PlDataTableSettingsPTable = {
|
|
3
4
|
/** The type of the source to feed the data into the table */
|
|
4
5
|
sourceType: 'ptable';
|
|
@@ -38,8 +39,6 @@ export type PlTableFiltersDefault = {
|
|
|
38
39
|
/** Filter entry */
|
|
39
40
|
default: PlTableFilter;
|
|
40
41
|
};
|
|
41
|
-
/** Key is a set of all axes values, which means it is unique across rows */
|
|
42
|
-
export type PTableRowKey = PTableValue[];
|
|
43
42
|
/** PlAgDataTable controller contains all exported methods */
|
|
44
43
|
export type PlAgDataTableController = {
|
|
45
44
|
/**
|
|
@@ -48,8 +47,19 @@ export type PlAgDataTableController = {
|
|
|
48
47
|
*/
|
|
49
48
|
focusRow: (rowKey: PTableRowKey) => Promise<void>;
|
|
50
49
|
};
|
|
51
|
-
/**
|
|
52
|
-
export type
|
|
50
|
+
/** PlAgDataTable controller contains all exported methods */
|
|
51
|
+
export type PlAgDataTableV2Controller = {
|
|
52
|
+
/**
|
|
53
|
+
* Scroll table to make row with provided key visible
|
|
54
|
+
* Warning: works reliably only in client side mode.
|
|
55
|
+
*/
|
|
56
|
+
focusRow: (rowKey: PTableKey) => Promise<void>;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Canonicalized PTableValue array JSON string
|
|
60
|
+
* @deprecated Migrate to PlAgDataTableV2
|
|
61
|
+
*/
|
|
62
|
+
export type PTableRowKeyJson = CanonicalizedJson<PTableRowKey>;
|
|
53
63
|
/** PlAgDataTable row */
|
|
54
64
|
export type PlAgDataTableRow = {
|
|
55
65
|
/** Axis key is not present for heterogeneous axes */
|
|
@@ -59,6 +69,16 @@ export type PlAgDataTableRow = {
|
|
|
59
69
|
/** Row values by column; sheet axes and labeled axes are excluded */
|
|
60
70
|
[field: `${number}` | `hC${number}`]: PTableValue;
|
|
61
71
|
};
|
|
72
|
+
export type PTableKeyJson = CanonicalizedJson<PTableKey>;
|
|
73
|
+
/** PlAgDataTableV2 row */
|
|
74
|
+
export type PlAgDataTableV2Row = {
|
|
75
|
+
/** Axis key is not present for heterogeneous axes */
|
|
76
|
+
key?: PTableKey;
|
|
77
|
+
/** Unique row identifier, created as canonicalize(key)! when key is present */
|
|
78
|
+
id: PTableKeyJson;
|
|
79
|
+
/** Row values by column; sheet axes and labeled axes are excluded */
|
|
80
|
+
[field: `${number}`]: PTableValue | PTableHidden;
|
|
81
|
+
};
|
|
62
82
|
export type PlAgOverlayLoadingParams = {
|
|
63
83
|
/**
|
|
64
84
|
* Required flag, that shows catInBag icon with message if `true`, shows PlSplash component if `false`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/PlAgDataTable/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAi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,WAAW,GAAG,YAAY,CAAC;CAClD,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,WAAW,CAAC,EAAE,aAAa,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SequenceRow } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
sequenceRows: SequenceRow[];
|
|
4
|
+
highlight?: 'chemical-properties' | undefined;
|
|
5
|
+
};
|
|
6
|
+
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, {}, any>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=MultiSequenceAlignmentView.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultiSequenceAlignmentView.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/MultiSequenceAlignmentView.vue"],"names":[],"mappings":"AAgJA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAI3C,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,SAAS,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;CAC/C,CAAC;;AAuIF,wBAMG"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { PColumnPredicate, PFrameHandle, PlMultiSequenceAlignmentModel, PlSelectionModel } from '@platforma-sdk/model';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/**
|
|
4
|
+
* Handle to PFrame created using `createPFrameForGraphs`.
|
|
5
|
+
* Should contain all desired sequence and label columns.
|
|
6
|
+
*/
|
|
7
|
+
readonly pFrame: PFrameHandle | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Return true if column should be shown in sequence columns dropdown.
|
|
10
|
+
* By default, all sequence columns are selected.
|
|
11
|
+
*/
|
|
12
|
+
readonly sequenceColumnPredicate: PColumnPredicate;
|
|
13
|
+
/**
|
|
14
|
+
* Return true if column should be shown in label columns dropdown.
|
|
15
|
+
* By default, common axes of selected sequence columns are selected.
|
|
16
|
+
*/
|
|
17
|
+
readonly labelColumnOptionPredicate?: PColumnPredicate;
|
|
18
|
+
/**
|
|
19
|
+
* Sometimes sequence column and label column have disjoint axes.
|
|
20
|
+
* In this case you have to define `linkerColumnPredicate` to select columns
|
|
21
|
+
* connecting axes of sequence and label columns.
|
|
22
|
+
*/
|
|
23
|
+
readonly linkerColumnPredicate?: PColumnPredicate;
|
|
24
|
+
/**
|
|
25
|
+
* Row selection model (from `PlAgDataTableV2` or `GraphMaker`).
|
|
26
|
+
* If not provided or empty, all rows will be considered selected.
|
|
27
|
+
* Warning: should be forwarded as a field of `reactive` object
|
|
28
|
+
*/
|
|
29
|
+
readonly selection?: PlSelectionModel | undefined;
|
|
30
|
+
};
|
|
31
|
+
type __VLS_PublicProps = {
|
|
32
|
+
modelValue?: PlMultiSequenceAlignmentModel;
|
|
33
|
+
} & __VLS_Props;
|
|
34
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
|
+
"update:modelValue": (value: PlMultiSequenceAlignmentModel) => any;
|
|
36
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
37
|
+
"onUpdate:modelValue"?: ((value: PlMultiSequenceAlignmentModel) => any) | undefined;
|
|
38
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
export default _default;
|
|
40
|
+
//# sourceMappingURL=PlMultiSequenceAlignment.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlMultiSequenceAlignment.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/PlMultiSequenceAlignment.vue"],"names":[],"mappings":"AAuLA,OAAO,KAAK,EACV,gBAAgB,EAChB,YAAY,EACZ,6BAA6B,EAC7B,gBAAgB,EACjB,MAAM,sBAAsB,CAAC;AAe9B,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,GAAG,SAAS,CAAC;CACnD,CAAC;AAqDF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,6BAA6B,CAAC;CAC1C,GAAG,WAAW,CAAC;;;;;;AA+KhB,wBAOG"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { ListOption } from '@milaboratories/uikit';
|
|
2
|
+
import type { PColumnIdAndSpec, PColumnPredicate, PFrameHandle, PlSelectionModel, PObjectId, PTableColumnIdJson } from '@platforma-sdk/model';
|
|
3
|
+
import type { MaybeRefOrGetter } from 'vue';
|
|
4
|
+
import type { SequenceRow } from './types';
|
|
5
|
+
export declare function useSequenceColumns(params: MaybeRefOrGetter<{
|
|
6
|
+
pframe: PFrameHandle | undefined;
|
|
7
|
+
sequenceColumnPredicate: (column: PColumnIdAndSpec) => boolean;
|
|
8
|
+
}>): {
|
|
9
|
+
options: import("vue").Ref<({
|
|
10
|
+
text: string;
|
|
11
|
+
description?: string | undefined;
|
|
12
|
+
value: PObjectId;
|
|
13
|
+
} | {
|
|
14
|
+
label: string;
|
|
15
|
+
description?: string | undefined;
|
|
16
|
+
value: PObjectId;
|
|
17
|
+
})[], ListOption<PObjectId>[] | ({
|
|
18
|
+
text: string;
|
|
19
|
+
description?: string | undefined;
|
|
20
|
+
value: PObjectId;
|
|
21
|
+
} | {
|
|
22
|
+
label: string;
|
|
23
|
+
description?: string | undefined;
|
|
24
|
+
value: PObjectId;
|
|
25
|
+
})[]>;
|
|
26
|
+
defaults: import("vue").Ref<PObjectId[], PObjectId[]>;
|
|
27
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
28
|
+
};
|
|
29
|
+
export declare function useLabelColumns(params: MaybeRefOrGetter<{
|
|
30
|
+
pframe: PFrameHandle | undefined;
|
|
31
|
+
sequenceColumnIds: PObjectId[];
|
|
32
|
+
labelColumnOptionPredicate?: (column: PColumnIdAndSpec) => boolean;
|
|
33
|
+
}>): {
|
|
34
|
+
options: import("vue").Ref<({
|
|
35
|
+
text: string;
|
|
36
|
+
description?: string | undefined;
|
|
37
|
+
value: string & {
|
|
38
|
+
__json_canonicalized: import("@platforma-sdk/model").PTableColumnId;
|
|
39
|
+
};
|
|
40
|
+
} | {
|
|
41
|
+
label: string;
|
|
42
|
+
description?: string | undefined;
|
|
43
|
+
value: string & {
|
|
44
|
+
__json_canonicalized: import("@platforma-sdk/model").PTableColumnId;
|
|
45
|
+
};
|
|
46
|
+
})[], ListOption<string & {
|
|
47
|
+
__json_canonicalized: import("@platforma-sdk/model").PTableColumnId;
|
|
48
|
+
}>[] | ({
|
|
49
|
+
text: string;
|
|
50
|
+
description?: string | undefined;
|
|
51
|
+
value: string & {
|
|
52
|
+
__json_canonicalized: import("@platforma-sdk/model").PTableColumnId;
|
|
53
|
+
};
|
|
54
|
+
} | {
|
|
55
|
+
label: string;
|
|
56
|
+
description?: string | undefined;
|
|
57
|
+
value: string & {
|
|
58
|
+
__json_canonicalized: import("@platforma-sdk/model").PTableColumnId;
|
|
59
|
+
};
|
|
60
|
+
})[]>;
|
|
61
|
+
defaults: import("vue").Ref<(string & {
|
|
62
|
+
__json_canonicalized: import("@platforma-sdk/model").PTableColumnId;
|
|
63
|
+
})[], (string & {
|
|
64
|
+
__json_canonicalized: import("@platforma-sdk/model").PTableColumnId;
|
|
65
|
+
})[]>;
|
|
66
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
67
|
+
};
|
|
68
|
+
export declare function useSequenceRows(params: MaybeRefOrGetter<{
|
|
69
|
+
pframe: PFrameHandle | undefined;
|
|
70
|
+
sequenceColumnIds: PObjectId[];
|
|
71
|
+
labelColumnIds: PTableColumnIdJson[];
|
|
72
|
+
linkerColumnPredicate?: PColumnPredicate;
|
|
73
|
+
selection: PlSelectionModel | undefined;
|
|
74
|
+
}>): {
|
|
75
|
+
data: import("vue").Ref<{
|
|
76
|
+
labels: string[];
|
|
77
|
+
sequence: string;
|
|
78
|
+
header: string;
|
|
79
|
+
}[], SequenceRow[] | {
|
|
80
|
+
labels: string[];
|
|
81
|
+
sequence: string;
|
|
82
|
+
header: string;
|
|
83
|
+
}[]>;
|
|
84
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
85
|
+
};
|
|
86
|
+
//# sourceMappingURL=data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAMV,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,gBAAgB,EAChB,SAAS,EAGT,kBAAkB,EAEnB,MAAM,sBAAsB,CAAC;AAY9B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAE5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAI3C,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,gBAAgB,CAAC;IACvB,MAAM,EAAE,YAAY,GAAG,SAAS,CAAC;IACjC,uBAAuB,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,OAAO,CAAC;CAChE,CAAC;;;;;;;;;;;;;;;;;;;;EAqCH;AAED,wBAAgB,eAAe,CAC7B,MAAM,EAAE,gBAAgB,CAAC;IACvB,MAAM,EAAE,YAAY,GAAG,SAAS,CAAC;IACjC,iBAAiB,EAAE,SAAS,EAAE,CAAC;IAC/B,0BAA0B,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,OAAO,CAAC;CACpE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwCH;AAED,wBAAgB,eAAe,CAC7B,MAAM,EAAE,gBAAgB,CAAC;IACvB,MAAM,EAAE,YAAY,GAAG,SAAS,CAAC;IACjC,iBAAiB,EAAE,SAAS,EAAE,CAAC;IAC/B,cAAc,EAAE,kBAAkB,EAAE,CAAC;IACrC,qBAAqB,CAAC,EAAE,gBAAgB,CAAC;IACzC,SAAS,EAAE,gBAAgB,GAAG,SAAS,CAAC;CACzC,CAAC;;;;;;;;;;;EAsCH"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { MaybeRefOrGetter } from 'vue';
|
|
2
|
+
import type { HighlightedColumn } from './types';
|
|
3
|
+
export declare const chemicalCategories: readonly ["hydrophobic", "positive_charge", "negative_charge", "polar", "cysteine", "glycine", "proline", "aromatic"];
|
|
4
|
+
export type ChemicalCategory = typeof chemicalCategories[number];
|
|
5
|
+
export declare const chemicalPropertiesLabels: Record<ChemicalCategory, string>;
|
|
6
|
+
export declare const chemicalPropertiesColors: Record<ChemicalCategory, string>;
|
|
7
|
+
export declare function useChemicalPropertiesHighlight(alignedRows: MaybeRefOrGetter<string[] | undefined>): {
|
|
8
|
+
data: import("vue").Ref<{
|
|
9
|
+
category: "hydrophobic" | "positive_charge" | "negative_charge" | "polar" | "cysteine" | "glycine" | "proline" | "aromatic";
|
|
10
|
+
start: number;
|
|
11
|
+
end: number;
|
|
12
|
+
}[][], HighlightedColumn<"hydrophobic" | "positive_charge" | "negative_charge" | "polar" | "cysteine" | "glycine" | "proline" | "aromatic">[] | {
|
|
13
|
+
category: "hydrophobic" | "positive_charge" | "negative_charge" | "polar" | "cysteine" | "glycine" | "proline" | "aromatic";
|
|
14
|
+
start: number;
|
|
15
|
+
end: number;
|
|
16
|
+
}[][]>;
|
|
17
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=chemical-properties.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chemical-properties.d.ts","sourceRoot":"","sources":["../../../../../src/components/PlMultiSequenceAlignment/highlight/chemical-properties.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAI5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAMjD,eAAO,MAAM,kBAAkB,uHASrB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,OAAO,kBAAkB,CAAC,MAAM,CAAC,CAAC;AAEjE,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CASrE,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CASrE,CAAC;AAEF,wBAAgB,8BAA8B,CAC5C,WAAW,EAAE,gBAAgB,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC;;;;;;;;;;;EAwBpD"}
|
package/dist/src/components/PlMultiSequenceAlignment/highlight/chemical-properties.worker.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ChemicalCategory } from './chemical-properties';
|
|
2
|
+
import type { HighlightedColumn } from './types';
|
|
3
|
+
declare function getChemicalPropertiesHighlight(alignedRows: string[]): HighlightedColumn<ChemicalCategory>[];
|
|
4
|
+
declare const workerApi: {
|
|
5
|
+
getChemicalPropertiesHighlight: typeof getChemicalPropertiesHighlight;
|
|
6
|
+
};
|
|
7
|
+
export type ChemicalPropertiesWorkerApi = typeof workerApi;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=chemical-properties.worker.d.ts.map
|
package/dist/src/components/PlMultiSequenceAlignment/highlight/chemical-properties.worker.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chemical-properties.worker.d.ts","sourceRoot":"","sources":["../../../../../src/components/PlMultiSequenceAlignment/highlight/chemical-properties.worker.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,iBAAS,8BAA8B,CACrC,WAAW,EAAE,MAAM,EAAE,GACpB,iBAAiB,CAAC,gBAAgB,CAAC,EAAE,CA6EvC;AAuGD,QAAA,MAAM,SAAS;;CAAqC,CAAC;AAErD,MAAM,MAAM,2BAA2B,GAAG,OAAO,SAAS,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { HighlightedColumn } from './types';
|
|
2
|
+
export declare function getCssBackgroundImage<T extends string>({ columns, rowCount, colors }: {
|
|
3
|
+
columns: HighlightedColumn<T>[];
|
|
4
|
+
rowCount: number;
|
|
5
|
+
colors: Record<T, string>;
|
|
6
|
+
}): string;
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/PlMultiSequenceAlignment/highlight/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,MAAM,EACpD,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE;IAC7B,OAAO,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;CAC3B,GACA,MAAM,CAgBR"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/PlMultiSequenceAlignment/highlight/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI;IACjC,QAAQ,EAAE,CAAC,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type MaybeRefOrGetter } from 'vue';
|
|
2
|
+
import type { SequenceRow } from './types';
|
|
3
|
+
export declare function useAlignedRows(sequenceRows: MaybeRefOrGetter<SequenceRow[]>): {
|
|
4
|
+
value: Map<string, string> & Omit<Map<string, string>, keyof Map<any, any>>;
|
|
5
|
+
loading: boolean;
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=multi-sequence-alignment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"multi-sequence-alignment.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/multi-sequence-alignment.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,gBAAgB,EAKtB,MAAM,KAAK,CAAC;AACb,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,wBAAgB,cAAc,CAAC,YAAY,EAAE,gBAAgB,CAAC,WAAW,EAAE,CAAC;;;EAwB3E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/PlMultiSequenceAlignment/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
package/dist/src/lib.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from './components/PlAgCsvExporter';
|
|
|
18
18
|
export * from './components/PlAgTextAndButtonCell';
|
|
19
19
|
export * from './components/PlAgGridColumnManager';
|
|
20
20
|
export * from './components/PlTableFilters';
|
|
21
|
+
export * from './components/PlMultiSequenceAlignment';
|
|
21
22
|
export * from './defineApp';
|
|
22
23
|
export * from './createModel';
|
|
23
24
|
export * from './types';
|
package/dist/src/lib.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../../src/lib.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,WAAW,MAAM,8BAA8B,CAAC;AACvD,OAAO,aAAa,MAAM,8CAA8C,CAAC;AACzE,OAAO,eAAe,MAAM,gDAAgD,CAAC;AAC7E,OAAO,kBAAkB,MAAM,mDAAmD,CAAC;AACnF,OAAO,iBAAiB,MAAM,kDAAkD,CAAC;AACjF,OAAO,sBAAsB,MAAM,yCAAyC,CAAC;AAE7E,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,eAAe,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,CAAC;AAEtH,cAA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