@platforma-open/milaboratories.antibody-sequence-liabilities.ui 3.0.0 → 3.0.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,8 +4,8 @@
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-BFZxW8OZ.js"></script>
8
- <link rel="stylesheet" crossorigin href="./assets/index-CdQHukgY.css">
7
+ <script type="module" crossorigin src="./assets/index-CFkVXxD2.js"></script>
8
+ <link rel="stylesheet" crossorigin href="./assets/index-BWvENSvw.css">
9
9
  </head>
10
10
  <body>
11
11
  <div id="app"></div>
package/package.json CHANGED
@@ -1,18 +1,19 @@
1
1
  {
2
2
  "name": "@platforma-open/milaboratories.antibody-sequence-liabilities.ui",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "type": "module",
5
5
  "dependencies": {
6
- "@platforma-sdk/ui-vue": "^1.30.26",
7
- "@platforma-sdk/model": "^1.30.26",
6
+ "@platforma-sdk/ui-vue": "^1.33.17",
7
+ "@platforma-sdk/model": "^1.33.17",
8
8
  "vue": "^3.5.12",
9
- "@platforma-open/milaboratories.antibody-sequence-liabilities.model": "3.0.0"
9
+ "@platforma-open/milaboratories.antibody-sequence-liabilities.model": "3.0.2"
10
10
  },
11
11
  "devDependencies": {
12
- "@vitejs/plugin-vue": "^5.1.4",
12
+ "@vitejs/plugin-vue": "^5.2.4",
13
13
  "typescript": "~5.5.4",
14
+ "eslint": "^9.27.0",
14
15
  "vite": "^5.4.11",
15
- "vue-tsc": "^2.1.6",
16
+ "vue-tsc": "^2.2.10",
16
17
  "@platforma-sdk/eslint-config": "^1.0.3"
17
18
  },
18
19
  "scripts": {
@@ -1,9 +1,9 @@
1
1
  <script setup lang="ts">
2
2
  import { liabilityTypes } from '@platforma-open/milaboratories.antibody-sequence-liabilities.model';
3
- import type { PlRef } from '@platforma-sdk/model';
3
+ import type { PlRef, PTableColumnSpec } from '@platforma-sdk/model';
4
4
  import { plRefsEqual } from '@platforma-sdk/model';
5
5
  import type { PlAgDataTableSettings } from '@platforma-sdk/ui-vue';
6
- import { PlAgDataTableV2, PlBlockPage, PlBtnGhost, PlDropdownMulti, PlDropdownRef, PlMaskIcon24, PlSlideModal } from '@platforma-sdk/ui-vue';
6
+ import { PlAgDataTableToolsPanel, PlAgDataTableV2, PlBlockPage, PlBtnGhost, PlDropdownMulti, PlDropdownRef, PlMaskIcon24, PlSlideModal, PlTableFilters } from '@platforma-sdk/ui-vue';
7
7
  import { computed, ref } from 'vue';
8
8
  import { useApp } from '../app';
9
9
 
@@ -40,12 +40,16 @@ const liabilityTypesModel = computed({
40
40
  },
41
41
  });
42
42
 
43
+ const columns = ref<PTableColumnSpec[]>([]);
43
44
  </script>
44
45
 
45
46
  <template>
46
47
  <PlBlockPage>
47
48
  <template #title> Antibody sequence liabilities </template>
48
49
  <template #append>
50
+ <PlAgDataTableToolsPanel>
51
+ <PlTableFilters v-model="app.model.ui.filterModel" :columns="columns" />
52
+ </PlAgDataTableToolsPanel>
49
53
  <PlBtnGhost @click.stop="settingsIsShown = true">
50
54
  Settings
51
55
  <template #append>
@@ -53,7 +57,14 @@ const liabilityTypesModel = computed({
53
57
  </template>
54
58
  </PlBtnGhost>
55
59
  </template>
56
- <PlAgDataTableV2 v-model="app.model.ui.tableState" :settings="tableSettings" show-export-button />
60
+ <PlAgDataTableV2
61
+ v-model="app.model.ui.tableState"
62
+ :settings="tableSettings"
63
+ show-export-button
64
+ not-ready-text="Block is not started"
65
+ show-columns-panel
66
+ @columns-changed="(newColumns) => (columns = newColumns)"
67
+ />
57
68
  </PlBlockPage>
58
69
 
59
70
  <PlSlideModal v-model="settingsIsShown">