@platforma-sdk/ui-vue 1.42.0 → 1.42.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.
@@ -1,16 +1,16 @@
1
1
   WARN  Issue while reading "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-sdk/ui-vue@1.42.0 build /home/runner/_work/platforma/platforma/sdk/ui-vue
3
+ > @platforma-sdk/ui-vue@1.42.2 build /home/runner/_work/platforma/platforma/sdk/ui-vue
4
4
  > vite build
5
5
 
6
6
  vite v6.3.5 building for production...
7
7
  transforming...
8
- ✓ 899 modules transformed.
8
+ ✓ 900 modules transformed.
9
9
  rendering chunks...
10
10
 
11
11
  [vite:dts] Start generate declaration files...
12
12
  computing gzip size...
13
- [vite:dts] Declaration files built in 6216ms.
13
+ [vite:dts] Declaration files built in 5831ms.
14
14
 
15
15
  dist/_virtual/re.js  0.08 kB │ gzip: 0.10 kB │ map: 0.09 kB
16
16
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.js  0.09 kB │ gzip: 0.10 kB │ map: 0.32 kB
@@ -44,12 +44,12 @@ computing gzip size...
44
44
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/constant.js  0.12 kB │ gzip: 0.12 kB │ map: 0.40 kB
45
45
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.js  0.12 kB │ gzip: 0.12 kB │ map: 0.40 kB
46
46
  dist/components/PlAgDataTable/PlAgOverlayLoading.vue2.js  0.12 kB │ gzip: 0.12 kB │ map: 0.11 kB
47
- dist/components/PlAgRowNumCheckbox/PlAgRowNumCheckbox.vue2.js  0.12 kB │ gzip: 0.12 kB │ map: 0.11 kB
48
47
  dist/components/PlTableFilters/PlTableAddFilterV2.vue2.js  0.12 kB │ gzip: 0.12 kB │ map: 0.11 kB
48
+ dist/components/PlAgRowNumCheckbox/PlAgRowNumCheckbox.vue2.js  0.12 kB │ gzip: 0.12 kB │ map: 0.11 kB
49
49
  dist/plugins/Monetization/MonetizationSidebar.vue2.js  0.13 kB │ gzip: 0.12 kB │ map: 0.11 kB
50
50
  dist/components/PlTableFilters/PlTableFilterEntryV2.vue2.js  0.13 kB │ gzip: 0.12 kB │ map: 0.11 kB
51
- dist/components/PlAgTextAndButtonCell/PlAgTextAndButtonCell.vue2.js  0.13 kB │ gzip: 0.12 kB │ map: 0.11 kB
52
51
  dist/components/PlAgGridColumnManager/PlAgGridColumnManager.vue2.js  0.13 kB │ gzip: 0.12 kB │ map: 0.11 kB
52
+ dist/components/PlAgTextAndButtonCell/PlAgTextAndButtonCell.vue2.js  0.13 kB │ gzip: 0.12 kB │ map: 0.11 kB
53
53
  dist/lib/ui/uikit/dist/components/PlRadio/keys.js  0.13 kB │ gzip: 0.13 kB │ map: 0.46 kB
54
54
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.js  0.13 kB │ gzip: 0.13 kB │ map: 0.49 kB
55
55
  dist/components/ValueOrErrorsComponent.vue2.js  0.13 kB │ gzip: 0.12 kB │ map: 0.11 kB
@@ -151,8 +151,8 @@ computing gzip size...
151
151
  dist/lib/ui/uikit/dist/components/PlRadio/PlRadio.vue.js  0.27 kB │ gzip: 0.21 kB │ map: 0.10 kB
152
152
  dist/_virtual/index.js  0.27 kB │ gzip: 0.21 kB │ map: 0.09 kB
153
153
  dist/components/PlMultiSequenceAlignment/Toolbar.vue.js  0.27 kB │ gzip: 0.21 kB │ map: 0.10 kB
154
- dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_linetype-longdash.svg.js  0.27 kB │ gzip: 0.23 kB │ map: 0.50 kB
155
154
  dist/lib/ui/uikit/dist/components/PlChartStackedBar/Legends.vue.js  0.27 kB │ gzip: 0.21 kB │ map: 0.10 kB
155
+ dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_linetype-longdash.svg.js  0.27 kB │ gzip: 0.23 kB │ map: 0.50 kB
156
156
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/16_chevron-first.svg.js  0.28 kB │ gzip: 0.23 kB │ map: 0.48 kB
157
157
  dist/lib/ui/uikit/dist/components/PlIcon16/PlIcon16.vue.js  0.28 kB │ gzip: 0.22 kB │ map: 0.10 kB
158
158
  dist/lib/ui/uikit/dist/components/PlIcon24/PlIcon24.vue.js  0.28 kB │ gzip: 0.22 kB │ map: 0.10 kB
@@ -705,6 +705,7 @@ computing gzip size...
705
705
  dist/AgGridVue/createAgGridColDef.js  1.61 kB │ gzip: 0.72 kB │ map: 9.40 kB
706
706
  dist/lib/ui/uikit/dist/node_modules/.pnpm/@vueuse_integrations@13.3.0_axios@1.8.1_focus-trap@7.6.0_sortablejs@1.15.6_vue@3.5.13_typescript@5.6.3_/node_modules/@vueuse/integrations/useSortable.js  1.61 kB │ gzip: 0.80 kB │ map: 4.03 kB
707
707
  dist/lib/ui/uikit/dist/components/PlTabs/PlTabs.vue.js  1.61 kB │ gzip: 0.80 kB │ map: 2.14 kB
708
+ dist/lib/ui/uikit/dist/components/PlNumberField/parseNumber.js  1.61 kB │ gzip: 0.56 kB │ map: 4.44 kB
708
709
  dist/lib/ui/uikit/dist/base/BtnBase.vue.js  1.63 kB │ gzip: 0.74 kB │ map: 1.80 kB
709
710
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.js  1.63 kB │ gzip: 0.68 kB │ map: 4.38 kB
710
711
  dist/lib/ui/uikit/dist/components/PlFileDialog/Shortcuts.vue2.js  1.63 kB │ gzip: 0.60 kB │ map: 0.14 kB
@@ -849,7 +850,7 @@ computing gzip size...
849
850
  dist/lib/ui/uikit/dist/components/PlElementList/PlElementList.vue2.js  9.17 kB │ gzip: 2.43 kB │ map: 17.22 kB
850
851
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.js  9.19 kB │ gzip: 3.33 kB │ map: 22.02 kB
851
852
  dist/components/PlTableFilters/filters_logic.js  9.69 kB │ gzip: 2.25 kB │ map: 20.32 kB
852
- dist/lib/ui/uikit/dist/components/PlNumberField/PlNumberField.vue.js  10.42 kB │ gzip: 3.33 kB │ map: 13.57 kB
853
+ dist/lib/ui/uikit/dist/components/PlNumberField/PlNumberField.vue.js  10.00 kB │ gzip: 3.17 kB │ map: 12.09 kB
853
854
  dist/lib/ui/uikit/dist/components/PlFileInput/PlFileInput.vue.js  10.78 kB │ gzip: 3.38 kB │ map: 8.09 kB
854
855
  dist/lib/ui/uikit/dist/demo-site-data/all-css-variables.js  11.00 kB │ gzip: 1.76 kB │ map: 18.24 kB
855
856
  dist/lib/ui/uikit/dist/components/PlDropdownLine/PlDropdownLine.vue.js  14.70 kB │ gzip: 3.91 kB │ map: 12.75 kB
@@ -876,6 +877,6 @@ computing gzip size...
876
877
  dist/lib/ui/uikit/dist/node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.js  83.80 kB │ gzip: 17.23 kB │ map: 240.83 kB
877
878
  dist/node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.js  83.81 kB │ gzip: 17.26 kB │ map: 241.15 kB
878
879
  dist/lib/ui/uikit/dist/index.js 497.77 kB │ gzip: 191.75 kB │ map: 0.18 kB
879
- dist/lib/ui/uikit/dist/components/PlSlideModal/PlPureSlideModal.vue.js 601.01 kB │ gzip: 204.69 kB │ map: 0.21 kB
880
- dist/lib/ui/uikit/dist/components/DataTable/TableComponent.vue.js 602.90 kB │ gzip: 205.54 kB │ map: 0.27 kB
881
- ✓ built in 10.20s
880
+ dist/lib/ui/uikit/dist/components/PlSlideModal/PlPureSlideModal.vue.js 601.12 kB │ gzip: 204.71 kB │ map: 0.21 kB
881
+ dist/lib/ui/uikit/dist/components/DataTable/TableComponent.vue.js 603.01 kB │ gzip: 205.56 kB │ map: 0.27 kB
882
+ ✓ built in 9.90s
@@ -1,5 +1,5 @@
1
1
   WARN  Issue while reading "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-sdk/ui-vue@1.42.0 type-check /home/runner/_work/platforma/platforma/sdk/ui-vue
3
+ > @platforma-sdk/ui-vue@1.42.2 type-check /home/runner/_work/platforma/platforma/sdk/ui-vue
4
4
  > vue-tsc --noEmit --project ./tsconfig.json
5
5
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @platforma-sdk/ui-vue
2
2
 
3
+ ## 1.42.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [911f928]
8
+ - @milaboratories/uikit@2.3.26
9
+
10
+ ## 1.42.1
11
+
12
+ ### Patch Changes
13
+
14
+ - @platforma-sdk/model@1.42.1
15
+ - @milaboratories/uikit@2.3.25
16
+
3
17
  ## 1.42.0
4
18
 
5
19
  ### Minor Changes
@@ -6,7 +6,7 @@ import { defaultMainMenuItems as j } from "./menu-items.js";
6
6
  import { makeRowNumberColDef as U, PlAgDataTableRowNumberColId as W } from "./row-number.js";
7
7
  import { getColumnRenderingSpec as Z } from "./value-rendering.js";
8
8
  import { isJsonEqual as $ } from "../../../lib/util/helpers/dist/index.js";
9
- import { canonicalizeJson as M, getAxisId as F, matchAxisId as T, pTableValue as E } from "../../../lib/model/common/dist/index.js";
9
+ import { canonicalizeJson as O, getAxisId as F, matchAxisId as T, pTableValue as E } from "../../../lib/model/common/dist/index.js";
10
10
  function X(a) {
11
11
  switch (a.type) {
12
12
  case "axis":
@@ -26,7 +26,7 @@ function Y(a, o, w, c) {
26
26
  for (let u = 0; u < o[0].data.length; ++u) {
27
27
  const d = w.map((n) => K(
28
28
  E(o[c[n]], u)
29
- )), l = { id: M(d), axesKey: d };
29
+ )), l = { id: O(d), axesKey: d };
30
30
  a.forEach((n, p) => {
31
31
  l[n.toString()] = c[p] === -1 ? V : E(o[c[p]], u);
32
32
  }), r.push(l);
@@ -46,7 +46,7 @@ async function ue({
46
46
  if (i !== a.value) throw l;
47
47
  const p = w.visibleTableHandle, S = await o.getSpec(p);
48
48
  if (i !== a.value) throw l;
49
- const x = (e) => M(X(e)), b = new Map(
49
+ const x = (e) => O(X(e)), b = new Map(
50
50
  S.entries().map(([e, t]) => [x(t), e])
51
51
  ), g = new Map(
52
52
  n.entries().map(([e, t]) => {
@@ -76,12 +76,12 @@ async function ue({
76
76
  }
77
77
  ).map(([e]) => e).toArray();
78
78
  f.sort((e, t) => {
79
- var q, N;
79
+ var k, N;
80
80
  if (n[e].type !== n[t].type) return n[e].type === "axis" ? -1 : 1;
81
- const s = (q = n[e].spec.annotations) == null ? void 0 : q["pl7.app/table/orderPriority"], y = (N = n[t].spec.annotations) == null ? void 0 : N["pl7.app/table/orderPriority"];
81
+ const s = (k = n[e].spec.annotations) == null ? void 0 : k["pl7.app/table/orderPriority"], y = (N = n[t].spec.annotations) == null ? void 0 : N["pl7.app/table/orderPriority"];
82
82
  return s === void 0 ? y === void 0 ? 0 : 1 : y === void 0 ? -1 : Number(y) - Number(s);
83
83
  });
84
- const O = [...f];
84
+ const q = [...f];
85
85
  f = f.map((e) => {
86
86
  const t = n[e];
87
87
  if (t.type === "axis") {
@@ -93,8 +93,8 @@ async function ue({
93
93
  });
94
94
  const L = [
95
95
  U(),
96
- ...O.map((e, t) => B(e, n[e], n[f[t]], u, d))
97
- ], k = n.values().filter((e) => e.type === "axis").map((e) => e.spec).toArray(), P = k.keys().map((e) => {
96
+ ...q.map((e, t) => B(e, n[e], n[f[t]], u, d))
97
+ ], M = n.values().filter((e) => e.type === "axis").map((e) => e.spec).toArray(), P = M.keys().map((e) => {
98
98
  let t = f.indexOf(e);
99
99
  return t === -1 && (t = f.length, f.push(e)), t;
100
100
  }).toArray(), C = [], D = [];
@@ -104,7 +104,7 @@ async function ue({
104
104
  });
105
105
  let m = -1, R;
106
106
  return {
107
- axesSpec: k,
107
+ axesSpec: M,
108
108
  columnDefs: L,
109
109
  serverSideDatasource: {
110
110
  getRows: async (e) => {
@@ -129,7 +129,7 @@ async function ue({
129
129
  length: t
130
130
  });
131
131
  if (i !== a.value || e.api.isDestroyed()) return e.fail();
132
- s = Y(O, y, P, D);
132
+ s = Y(q, y, P, D);
133
133
  }
134
134
  e.success({ rowData: s, rowCount: m }), e.api.autoSizeColumns(
135
135
  e.api.getAllDisplayedColumns().filter((y) => y.getColId() !== W)
@@ -144,7 +144,7 @@ async function ue({
144
144
  }
145
145
  function B(a, o, w, c, r) {
146
146
  var n, p;
147
- const u = M({
147
+ const u = O({
148
148
  source: o,
149
149
  labeled: w
150
150
  }), d = o.type === "axis" ? o.spec.type : o.spec.valueType, i = Z(o), l = {};
@@ -1,4 +1,4 @@
1
- import { defineComponent as I, ref as b, watchEffect as K, computed as P, createElementBlock as $, openBlock as f, Fragment as L, createElementVNode as r, createVNode as o, normalizeClass as d, unref as n, withModifiers as S, withCtx as s, createTextVNode as i, createCommentVNode as U, createBlock as T, withKeys as C } from "vue";
1
+ import { defineComponent as I, ref as b, watchEffect as K, computed as P, createElementBlock as $, openBlock as f, Fragment as L, createElementVNode as r, createVNode as o, normalizeClass as u, unref as n, withModifiers as S, withCtx as s, createTextVNode as i, createCommentVNode as U, createBlock as T, withKeys as C } from "vue";
2
2
  import { isJsonEqual as k } from "../../lib/util/helpers/dist/index.js";
3
3
  import "../../lib/ui/uikit/dist/index.js";
4
4
  import { defaultAlignmentParams as A } from "./multi-sequence-alignment.js";
@@ -19,7 +19,7 @@ const h = /* @__PURE__ */ I({
19
19
  colorSchemeOptions: {}
20
20
  },
21
21
  emits: ["updateSettings", "export"],
22
- setup(u, { emit: w }) {
22
+ setup(d, { emit: w }) {
23
23
  const O = w, p = b(!1);
24
24
  function m(t, e) {
25
25
  O("updateSettings", { [t]: e });
@@ -27,27 +27,27 @@ const h = /* @__PURE__ */ I({
27
27
  function v(t, e) {
28
28
  m(
29
29
  "widgets",
30
- e ? [...u.settings.widgets, t] : u.settings.widgets.filter((l) => t !== l)
30
+ e ? [...d.settings.widgets, t] : d.settings.widgets.filter((l) => t !== l)
31
31
  );
32
32
  }
33
- const a = b({ ...u.settings.alignmentParams });
33
+ const a = b({ ...d.settings.alignmentParams });
34
34
  K(() => {
35
- a.value = { ...u.settings.alignmentParams };
35
+ a.value = { ...d.settings.alignmentParams };
36
36
  });
37
37
  const E = P(
38
- () => !k(u.settings.alignmentParams, a.value)
38
+ () => !k(d.settings.alignmentParams, a.value)
39
39
  ), N = P(
40
- () => !k(u.settings.alignmentParams, A)
40
+ () => !k(d.settings.alignmentParams, A)
41
41
  );
42
42
  return (t, e) => (f(), $(L, null, [
43
43
  r("div", {
44
- class: d(t.$style.container)
44
+ class: u(t.$style.container)
45
45
  }, [
46
46
  r("div", {
47
- class: d(t.$style.line)
47
+ class: u(t.$style.line)
48
48
  }, [
49
49
  r("div", {
50
- class: d(t.$style.section)
50
+ class: u(t.$style.section)
51
51
  }, [
52
52
  o(n(q), {
53
53
  label: "Sequence Columns",
@@ -71,7 +71,7 @@ const h = /* @__PURE__ */ I({
71
71
  }, null, 8, ["model-value", "options"])
72
72
  ], 2),
73
73
  r("div", {
74
- class: d(t.$style.buttons)
74
+ class: u(t.$style.buttons)
75
75
  }, [
76
76
  o(n(y), {
77
77
  icon: "settings",
@@ -94,10 +94,10 @@ const h = /* @__PURE__ */ I({
94
94
  ], 2)
95
95
  ], 2),
96
96
  r("div", {
97
- class: d(t.$style.line)
97
+ class: u(t.$style.line)
98
98
  }, [
99
99
  r("div", {
100
- class: d(t.$style.section)
100
+ class: u(t.$style.section)
101
101
  }, [
102
102
  o(n(g), {
103
103
  "model-value": t.settings.widgets.includes("seqLogo"),
@@ -194,7 +194,7 @@ const h = /* @__PURE__ */ I({
194
194
  }, 8, ["modelValue"]),
195
195
  E.value ? (f(), $("div", {
196
196
  key: 0,
197
- class: d(t.$style["pending-changes"])
197
+ class: u(t.$style["pending-changes"])
198
198
  }, [
199
199
  o(n(G), {
200
200
  onClick: e[14] || (e[14] = (l) => m("alignmentParams", a.value))
@@ -215,7 +215,7 @@ const h = /* @__PURE__ */ I({
215
215
  ], 2)) : U("", !0),
216
216
  N.value ? (f(), T(n(z), {
217
217
  key: 1,
218
- class: d(t.$style["reset-button"]),
218
+ class: u(t.$style["reset-button"]),
219
219
  icon: "reverse",
220
220
  onClick: e[16] || (e[16] = (l) => m("alignmentParams", void 0))
221
221
  }, {
@@ -5,14 +5,14 @@ import { highlightByChemicalProperties as H } from "./chemical-properties.js";
5
5
  import { parseMarkup as K, markupAlignedSequence as Q, highlightByMarkup as Y } from "./markup.js";
6
6
  import { multiSequenceAlignment as Z } from "./multi-sequence-alignment.js";
7
7
  import { getResidueCounts as nn } from "./residue-counts.js";
8
- import { ensureError as tn, canonicalizeJson as A, getAxisId as E, parseJson as D, matchAxisId as en, pTableValue as O } from "../../lib/model/common/dist/index.js";
9
- const S = () => z().pFrameDriver, q = 1e3, gn = C(
8
+ import { ensureError as tn, canonicalizeJson as A, getAxisId as E, parseJson as D, matchAxisId as en, pTableValue as q } from "../../lib/model/common/dist/index.js";
9
+ const S = () => z().pFrameDriver, O = 1e3, gn = k(
10
10
  an
11
- ), hn = C(
11
+ ), hn = k(
12
12
  on
13
- ), wn = C(
13
+ ), wn = k(
14
14
  rn
15
- ), bn = C(
15
+ ), bn = k(
16
16
  sn
17
17
  );
18
18
  async function an({
@@ -107,7 +107,7 @@ async function sn({
107
107
  colorScheme: t,
108
108
  alignmentParams: l
109
109
  }) {
110
- var $, F;
110
+ var F, I;
111
111
  if (!c || !(e != null && e.length) || !y) return;
112
112
  const o = S(), u = await o.listColumns(c), m = u.filter((n) => W(n.spec)), f = X({ selection: p });
113
113
  let h = {
@@ -163,11 +163,11 @@ async function sn({
163
163
  {
164
164
  offset: 0,
165
165
  // +1 is a hack to check whether the selection is over the limit
166
- length: q + 1
166
+ length: O + 1
167
167
  }
168
168
  );
169
169
  let g = (a == null ? void 0 : a[0].data.data.length) ?? 0, v = !1;
170
- g > q && (g = q, v = !0);
170
+ g > O && (g = O, v = !0);
171
171
  const L = e.map((n) => {
172
172
  const r = a.find(({ spec: s }) => s.id === n);
173
173
  if (!r)
@@ -190,13 +190,13 @@ async function sn({
190
190
  { length: g },
191
191
  (r, s) => {
192
192
  var w;
193
- return ((w = O(n.data, s, { na: "", absent: "" })) == null ? void 0 : w.toString()) ?? "";
193
+ return ((w = q(n.data, s, { na: "", absent: "" })) == null ? void 0 : w.toString()) ?? "";
194
194
  }
195
195
  ),
196
196
  l
197
197
  )
198
198
  )
199
- ), P = Array.from(
199
+ ), R = Array.from(
200
200
  { length: g },
201
201
  (n, r) => j.map((s) => s[r])
202
202
  ), B = L.map(
@@ -209,20 +209,20 @@ async function sn({
209
209
  (n, r) => _.map(
210
210
  (s) => {
211
211
  var w;
212
- return ((w = O(s.data, r, { na: "", absent: "" })) == null ? void 0 : w.toString()) ?? "";
212
+ return ((w = q(s.data, r, { na: "", absent: "" })) == null ? void 0 : w.toString()) ?? "";
213
213
  }
214
214
  )
215
- ), x = P.map((n) => n.join(" ")), R = nn(x), k = {
215
+ ), x = R.map((n) => n.join(" ")), $ = nn(x), C = {
216
216
  sequences: x,
217
217
  sequenceNames: B,
218
218
  labelRows: T,
219
219
  exceedsLimit: v,
220
- residueCounts: R
220
+ residueCounts: $
221
221
  };
222
222
  if (t.type === "chemical-properties")
223
- k.highlightImage = H({
223
+ C.highlightImage = H({
224
224
  sequences: x,
225
- residueCounts: R
225
+ residueCounts: $
226
226
  });
227
227
  else if (t.type === "markup") {
228
228
  const n = a.find(
@@ -234,25 +234,25 @@ async function sn({
234
234
  );
235
235
  const r = Array.from(
236
236
  { length: g },
237
- (w, I) => {
237
+ (w, P) => {
238
238
  var U;
239
239
  const V = K(
240
- ((U = O(n.data, I, { na: "", absent: "" })) == null ? void 0 : U.toString()) ?? ""
240
+ ((U = q(n.data, P, { na: "", absent: "" })) == null ? void 0 : U.toString()) ?? ""
241
241
  );
242
- return Q(P[I][0], V);
242
+ return Q(R[P][0], V);
243
243
  }
244
244
  ), s = JSON.parse(
245
- (($ = n.spec.spec.annotations) == null ? void 0 : $["pl7.app/sequence/annotation/mapping"]) ?? "{}"
245
+ ((F = n.spec.spec.annotations) == null ? void 0 : F["pl7.app/sequence/annotation/mapping"]) ?? "{}"
246
246
  );
247
- k.highlightImage = Y({
247
+ C.highlightImage = Y({
248
248
  markupRows: r,
249
- columnCount: ((F = x.at(0)) == null ? void 0 : F.length) ?? 0,
249
+ columnCount: ((I = x.at(0)) == null ? void 0 : I.length) ?? 0,
250
250
  labels: s
251
251
  });
252
252
  }
253
- return k;
253
+ return C;
254
254
  }
255
- function C(c) {
255
+ function k(c) {
256
256
  const e = M(), y = M(!0), p = M();
257
257
  let t;
258
258
  return (l) => (G(l, async (o, u) => {
@@ -270,7 +270,7 @@ function C(c) {
270
270
  }, { immediate: !0 }), { data: e, isLoading: y, error: p });
271
271
  }
272
272
  export {
273
- q as sequenceLimit,
273
+ O as sequenceLimit,
274
274
  hn as useLabelColumnsOptions,
275
275
  wn as useMarkupColumnsOptions,
276
276
  bn as useMultipleAlignmentData,
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as D, mergeModels as w, useModel as H, toRefs as J, computed as u, ref as f, onMounted as $, watch as O, onBeforeUnmount as W, createElementBlock as b, openBlock as m, Fragment as q, createBlock as E, createCommentVNode as V, createVNode as i, unref as o, Teleport as I, withModifiers as C, withCtx as d, createTextVNode as p, createElementVNode as k, normalizeClass as v, toDisplayString as S } from "vue";
2
2
  import "../../sdk/model/dist/index.js";
3
3
  import "../../lib/ui/uikit/dist/index.js";
4
- import { useFilters as h } from "./filters-state.js";
5
- import j from "./PlTableAddFilterV2.vue.js";
6
- import G from "./PlTableFilterEntryV2.vue.js";
7
- import { isJsonEqual as K } from "../../lib/util/helpers/dist/index.js";
8
- import { usePlBlockPageTitleTeleportTarget as L } from "../../lib/ui/uikit/dist/layout/PlBlockPage/usePlBlockPageTitleTeleportTarget.js";
9
- import Q from "../../lib/ui/uikit/dist/components/PlBtnGhost/PlBtnGhost.vue.js";
10
- import X from "../../lib/ui/uikit/dist/components/PlSlideModal/PlSlideModal.vue.js";
11
- import Y from "../../lib/ui/uikit/dist/components/PlElementList/PlElementList.vue.js";
12
- import Z from "../../lib/ui/uikit/dist/components/PlIcon16/PlIcon16.vue.js";
4
+ import { useFilters as j } from "./filters-state.js";
5
+ import G from "./PlTableAddFilterV2.vue.js";
6
+ import K from "./PlTableFilterEntryV2.vue.js";
7
+ import { isJsonEqual as L } from "../../lib/util/helpers/dist/index.js";
8
+ import { usePlBlockPageTitleTeleportTarget as Q } from "../../lib/ui/uikit/dist/layout/PlBlockPage/usePlBlockPageTitleTeleportTarget.js";
9
+ import X from "../../lib/ui/uikit/dist/components/PlBtnGhost/PlBtnGhost.vue.js";
10
+ import Y from "../../lib/ui/uikit/dist/components/PlSlideModal/PlSlideModal.vue.js";
11
+ import Z from "../../lib/ui/uikit/dist/components/PlElementList/PlElementList.vue.js";
12
+ import h from "../../lib/ui/uikit/dist/components/PlIcon16/PlIcon16.vue.js";
13
13
  import _ from "../../lib/ui/uikit/dist/components/PlBtnSecondary/PlBtnSecondary.vue.js";
14
14
  import { canonicalizeJson as ee } from "../../lib/model/common/dist/index.js";
15
15
  const te = ["disabled"], le = { key: 1 }, be = /* @__PURE__ */ D({
@@ -24,11 +24,11 @@ const te = ["disabled"], le = { key: 1 }, be = /* @__PURE__ */ D({
24
24
  }),
25
25
  emits: ["update:modelValue"],
26
26
  setup(F) {
27
- const U = H(F, "modelValue"), B = F, { settings: N } = J(B), r = h(N, U), R = u(() => r.value.some((e) => e.filter && !e.filter.disabled)), y = f(!1);
27
+ const U = H(F, "modelValue"), B = F, { settings: N } = J(B), r = j(N, U), R = u(() => r.value.some((e) => e.filter && !e.filter.disabled)), y = f(!1);
28
28
  $(() => {
29
29
  y.value = !0;
30
30
  });
31
- const T = L("PlTableFiltersV2"), c = f(!1), A = f(!1), s = f();
31
+ const T = Q("PlTableFiltersV2"), c = f(!1), A = f(!1), s = f();
32
32
  let n;
33
33
  $(() => {
34
34
  n = new ResizeObserver(() => {
@@ -43,7 +43,7 @@ const te = ["disabled"], le = { key: 1 }, be = /* @__PURE__ */ D({
43
43
  });
44
44
  const P = u(() => r.value.some((e) => !e.filter)), g = f(!1), x = u(() => r.value.some((e) => {
45
45
  var l, t;
46
- return !e.defaultFilter && e.filter || e.defaultFilter && (((l = e.filter) == null ? void 0 : l.disabled) === !0 || !K((t = e.filter) == null ? void 0 : t.value, e.defaultFilter));
46
+ return !e.defaultFilter && e.filter || e.defaultFilter && (((l = e.filter) == null ? void 0 : l.disabled) === !0 || !L((t = e.filter) == null ? void 0 : t.value, e.defaultFilter));
47
47
  })), z = () => {
48
48
  r.value.forEach((e) => {
49
49
  e.defaultFilter ? e.filter = {
@@ -58,7 +58,7 @@ const te = ["disabled"], le = { key: 1 }, be = /* @__PURE__ */ D({
58
58
  key: 0,
59
59
  to: o(T)
60
60
  }, [
61
- i(o(Q), {
61
+ i(o(X), {
62
62
  icon: R.value ? "filter-on" : "filter",
63
63
  onClick: l[0] || (l[0] = C((t) => c.value = !0, ["stop"]))
64
64
  }, {
@@ -68,7 +68,7 @@ const te = ["disabled"], le = { key: 1 }, be = /* @__PURE__ */ D({
68
68
  _: 1
69
69
  }, 8, ["icon"])
70
70
  ], 8, ["to"])) : V("", !0),
71
- i(o(X), {
71
+ i(o(Y), {
72
72
  modelValue: c.value,
73
73
  "onUpdate:modelValue": l[3] || (l[3] = (t) => c.value = t),
74
74
  "close-on-outside-click": !1
@@ -82,7 +82,7 @@ const te = ["disabled"], le = { key: 1 }, be = /* @__PURE__ */ D({
82
82
  ref: s,
83
83
  class: v(e.$style["filter-manager"])
84
84
  }, [
85
- i(o(Y), {
85
+ i(o(Z), {
86
86
  items: M.value,
87
87
  "onUpdate:items": l[1] || (l[1] = (t) => M.value = t),
88
88
  "on-expand": (t) => {
@@ -109,7 +109,7 @@ const te = ["disabled"], le = { key: 1 }, be = /* @__PURE__ */ D({
109
109
  p(S(t.label), 1)
110
110
  ]),
111
111
  "item-content": d(({ index: t }) => [
112
- i(G, {
112
+ i(K, {
113
113
  modelValue: o(r).value[t],
114
114
  "onUpdate:modelValue": (a) => o(r).value[t] = a
115
115
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
@@ -125,7 +125,7 @@ const te = ["disabled"], le = { key: 1 }, be = /* @__PURE__ */ D({
125
125
  class: v(e.$style["add-btn"]),
126
126
  onClick: l[2] || (l[2] = (t) => g.value = !0)
127
127
  }, [
128
- i(o(Z), { name: "add" }),
128
+ i(o(h), { name: "add" }),
129
129
  k("div", {
130
130
  class: v(e.$style["add-btn-title"])
131
131
  }, "Add Filter", 2)
@@ -145,7 +145,7 @@ const te = ["disabled"], le = { key: 1 }, be = /* @__PURE__ */ D({
145
145
  ]),
146
146
  _: 1
147
147
  }, 8, ["modelValue"]),
148
- i(j, {
148
+ i(G, {
149
149
  modelValue: g.value,
150
150
  "onUpdate:modelValue": l[4] || (l[4] = (t) => g.value = t),
151
151
  filters: o(r).value,
package/dist/defineApp.js CHANGED
@@ -2,16 +2,16 @@ import { notEmpty as V } from "./lib/util/helpers/dist/index.js";
2
2
  import { getPlatformaApiVersion as g } from "./sdk/model/dist/index.js";
3
3
  import { inject as k, reactive as h, markRaw as A } from "vue";
4
4
  import { createAppV1 as j } from "./internal/createAppV1.js";
5
- import { createAppV2 as S } from "./internal/createAppV2.js";
6
- import { activateAgGrid as w } from "./aggrid.js";
7
- import { unwrapResult as y } from "./lib/model/common/dist/index.js";
5
+ import { createAppV2 as w } from "./internal/createAppV2.js";
6
+ import { activateAgGrid as y } from "./aggrid.js";
7
+ import { unwrapResult as O } from "./lib/model/common/dist/index.js";
8
8
  const m = Symbol("sdk-vue");
9
9
  function $() {
10
10
  return k(m);
11
11
  }
12
12
  function C(e, p, l = {}) {
13
13
  let u;
14
- w();
14
+ y();
15
15
  const d = e.apiVersion ?? 1, f = g(), b = async () => {
16
16
  if (f !== d)
17
17
  throw new Error(`Block requested API version ${f} but runtime API version is ${d}.
@@ -31,9 +31,9 @@ function C(e, p, l = {}) {
31
31
  }
32
32
  });
33
33
  }) : e.apiVersion === 2 && await e.loadBlockState().then((r) => {
34
- const t = y(r);
34
+ const t = O(r);
35
35
  a.loaded = !0;
36
- const i = S(t, e, l), c = p(i), s = Object.fromEntries(
36
+ const i = w(t, e, l), c = p(i), s = Object.fromEntries(
37
37
  Object.entries(c.routes).map(([o, n]) => {
38
38
  const v = typeof n == "function" ? n() : n;
39
39
  return [o, A(v)];
@@ -1,7 +1,7 @@
1
1
  import { deepClone as l, uniqueId as V, delay as L } from "../lib/util/helpers/dist/index.js";
2
2
  import "../sdk/model/dist/index.js";
3
- import { ref as A, computed as p, reactive as B, watch as W } from "vue";
4
- import { createModel as N } from "../createModel.js";
3
+ import { ref as A, computed as p, reactive as P, watch as W } from "vue";
4
+ import { createModel as B } from "../createModel.js";
5
5
  import { parseQuery as F } from "../urls.js";
6
6
  import { MultiError as G, unwrapValueOrErrors as H } from "../utils.js";
7
7
  import "../node_modules/.pnpm/fast-json-patch@3.1.1/node_modules/fast-json-patch/index.js";
@@ -23,13 +23,13 @@ function se(n, d, h) {
23
23
  authorId: V(),
24
24
  localVersion: 0
25
25
  }
26
- }, S = () => (u.author = X(u.author), r("nextAuthorMarker", u.author), u.author), g = A(!1), f = A(n.uTag), v = h.debounceSpan ?? 200, y = new m({ debounceSpan: v }), M = new m({ debounceSpan: v }), U = new m({ debounceSpan: v }), R = new m({ debounceSpan: v }), o = A(n.value), T = async (e) => d.setBlockArgs(e, S()), x = async (e) => d.setBlockUiState(e, S()), k = async (e, t) => d.setBlockArgsAndUiState(e, t, S()), q = async (e) => d.setNavigationState(e), C = p(() => {
26
+ }, f = () => (u.author = X(u.author), r("nextAuthorMarker", u.author), u.author), g = A(!1), S = A(n.uTag), v = h.debounceSpan ?? 200, y = new m({ debounceSpan: v }), M = new m({ debounceSpan: v }), U = new m({ debounceSpan: v }), R = new m({ debounceSpan: v }), o = A(n.value), T = async (e) => d.setBlockArgs(e, f()), x = async (e) => d.setBlockUiState(e, f()), k = async (e, t) => d.setBlockArgsAndUiState(e, t, f()), q = async (e) => d.setNavigationState(e), C = p(() => {
27
27
  const e = Object.entries(o.value.outputs).map(([t, a]) => [t, a.ok && a.value !== void 0 ? a.value : void 0]);
28
28
  return Object.fromEntries(e);
29
29
  }), D = p(() => {
30
30
  const e = Object.entries(o.value.outputs).map(([t, a]) => [t, a && !a.ok ? new G(a.errors) : void 0]);
31
31
  return Object.fromEntries(e);
32
- }), s = B({
32
+ }), s = P({
33
33
  error: "",
34
34
  model: {
35
35
  args: l(o.value.args),
@@ -55,8 +55,8 @@ function se(n, d, h) {
55
55
  });
56
56
  }); !g.value; )
57
57
  try {
58
- const a = await d.getPatches(f.value).then(c);
59
- if (r("patches.length", a.value.length), r("uTagRef.value", f.value), r("patches.uTag", a.uTag), r("patches.author", a.author), r("data.author", u.author), f.value = a.uTag, a.value.length === 0) {
58
+ const a = await d.getPatches(S.value).then(c);
59
+ if (r("patches.length", a.value.length), r("uTagRef.value", S.value), r("patches.uTag", a.uTag), r("patches.author", a.author), r("data.author", u.author), S.value = a.uTag, a.value.length === 0) {
60
60
  await new Promise((w) => setTimeout(w, Q));
61
61
  continue;
62
62
  }
@@ -66,12 +66,12 @@ function se(n, d, h) {
66
66
  K(a) ? (r("patches loop aborted"), g.value = !0) : (b("error in patches loop", a), await new Promise((i) => setTimeout(i, 1e3)));
67
67
  }
68
68
  })();
69
- const I = () => l(s.model.args), j = () => l(s.model.ui), P = () => l(o.value.navigationState), z = {
69
+ const I = () => l(s.model.args), j = () => l(s.model.ui), N = () => l(o.value.navigationState), z = {
70
70
  cloneArgs: I,
71
71
  cloneUiState: j,
72
- cloneNavigationState: P,
72
+ cloneNavigationState: N,
73
73
  createArgsModel(e = {}) {
74
- return N({
74
+ return B({
75
75
  get() {
76
76
  return e.transform ? e.transform(o.value.args) : o.value.args;
77
77
  },
@@ -86,7 +86,7 @@ function se(n, d, h) {
86
86
  * defaultUiState is temporarily here, remove it after implementing initialUiState
87
87
  */
88
88
  createUiModel(e = {}, t) {
89
- return N({
89
+ return B({
90
90
  get() {
91
91
  return e.transform ? e.transform(o.value.ui) : o.value.ui ?? t();
92
92
  },
@@ -137,7 +137,7 @@ function se(n, d, h) {
137
137
  * @returns A promise resolving after the navigation state is updated.
138
138
  */
139
139
  navigateTo(e) {
140
- const t = P();
140
+ const t = N();
141
141
  return t.href = e, R.run(() => q(t).then(c));
142
142
  },
143
143
  async allSettled() {
@@ -150,7 +150,7 @@ function se(n, d, h) {
150
150
  href: p(() => o.value.navigationState.href),
151
151
  hasErrors: p(() => Object.values(o.value.outputs).some((e) => !(e != null && e.ok)))
152
152
  };
153
- return B(Object.assign(s, z, J));
153
+ return P(Object.assign(s, z, J));
154
154
  }
155
155
  export {
156
156
  se as createAppV2,