@platforma-open/milaboratories.sequence-properties.ui 1.1.1 → 1.1.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/index.html CHANGED
@@ -4,7 +4,7 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta http-equiv="Content-Security-Policy" content="script-src 'self' blob:" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <script type="module" crossorigin src="./assets/index-D8ZGYda9.js"></script>
7
+ <script type="module" crossorigin src="./assets/index-DSjbsQ6M.js"></script>
8
8
  <link rel="modulepreload" crossorigin href="./assets/chunk-DECur_0Z.js">
9
9
  <link rel="stylesheet" crossorigin href="./assets/index-WqWl6Tyy.css">
10
10
  </head>
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@platforma-open/milaboratories.sequence-properties.ui",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@platforma-sdk/ui-vue": "1.69.0",
7
- "@platforma-open/milaboratories.sequence-properties.model": "1.1.1"
7
+ "@platforma-open/milaboratories.sequence-properties.model": "1.1.2"
8
8
  },
9
9
  "devDependencies": {
10
10
  "@milaboratories/ts-builder": "1.3.2",
@@ -10,12 +10,20 @@ import {
10
10
  PlSlideModal,
11
11
  usePlDataTableSettingsV2,
12
12
  } from "@platforma-sdk/ui-vue";
13
- import { ref } from "vue";
13
+ import { ref, watch } from "vue";
14
14
  import { useApp } from "../app";
15
15
 
16
16
  const app = useApp();
17
17
 
18
18
  const logOpen = ref(false);
19
+ const settingsOpen = ref(app.model.data.inputAnchor === undefined);
20
+
21
+ watch(
22
+ () => app.model.outputs.isRunning,
23
+ (isRunning) => {
24
+ if (isRunning) settingsOpen.value = false;
25
+ },
26
+ );
19
27
 
20
28
  const tableSettings = usePlDataTableSettingsV2({
21
29
  model: () => app.model.outputs.propertiesTable,
@@ -32,18 +40,14 @@ const tableSettings = usePlDataTableSettingsV2({
32
40
  <PlMaskIcon24 name="file-logs" />
33
41
  </template>
34
42
  </PlBtnGhost>
43
+ <PlBtnGhost @click.stop="() => (settingsOpen = true)">
44
+ Settings
45
+ <template #append>
46
+ <PlMaskIcon24 name="settings" />
47
+ </template>
48
+ </PlBtnGhost>
35
49
  </template>
36
50
 
37
- <PlDropdownRef
38
- v-model="app.model.data.inputAnchor"
39
- :options="app.model.outputs.inputOptions"
40
- label="Input dataset"
41
- >
42
- <template #tooltip>
43
- Peptide extraction or MiXCR clonotyping output. Modality is auto-detected.
44
- </template>
45
- </PlDropdownRef>
46
-
47
51
  <PlAlert
48
52
  v-for="(message, idx) in app.model.outputs.info?.messages ?? []"
49
53
  :key="idx"
@@ -60,6 +64,21 @@ const tableSettings = usePlDataTableSettingsV2({
60
64
  />
61
65
  </PlBlockPage>
62
66
 
67
+ <PlSlideModal v-model="settingsOpen" close-on-outside-click shadow>
68
+ <template #title>Settings</template>
69
+ <PlDropdownRef
70
+ v-model="app.model.data.inputAnchor"
71
+ :options="app.model.outputs.inputOptions"
72
+ label="Input dataset"
73
+ clearable
74
+ required
75
+ >
76
+ <template #tooltip>
77
+ Peptide extraction or MiXCR clonotyping output. Modality is auto-detected.
78
+ </template>
79
+ </PlDropdownRef>
80
+ </PlSlideModal>
81
+
63
82
  <PlSlideModal v-model="logOpen" width="80%">
64
83
  <template #title>Processing Log</template>
65
84
  <PlLogView :log-handle="app.model.outputs.processingLog" />