@platforma-sdk/ui-vue 1.41.2 → 1.41.4

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.
Files changed (56) hide show
  1. package/.turbo/turbo-build.log +20 -30
  2. package/.turbo/turbo-type-check.log +1 -1
  3. package/CHANGELOG.md +17 -0
  4. package/dist/aggrid.js +4 -4
  5. package/dist/components/PlAgDataTable/PlAgDataTableV2.vue.d.ts +14 -3
  6. package/dist/components/PlAgDataTable/PlAgDataTableV2.vue.d.ts.map +1 -1
  7. package/dist/components/PlAgDataTable/PlAgDataTableV2.vue2.js +252 -179
  8. package/dist/components/PlAgDataTable/PlAgDataTableV2.vue2.js.map +1 -1
  9. package/dist/components/PlAgDataTable/PlAgRowCount.vue.js +1 -1
  10. package/dist/components/PlAgDataTable/sources/focus-row.d.ts +8 -7
  11. package/dist/components/PlAgDataTable/sources/focus-row.d.ts.map +1 -1
  12. package/dist/components/PlAgDataTable/sources/focus-row.js +46 -31
  13. package/dist/components/PlAgDataTable/sources/focus-row.js.map +1 -1
  14. package/dist/components/PlAgDataTable/sources/table-source-v2.d.ts +10 -5
  15. package/dist/components/PlAgDataTable/sources/table-source-v2.d.ts.map +1 -1
  16. package/dist/components/PlAgDataTable/sources/table-source-v2.js +144 -141
  17. package/dist/components/PlAgDataTable/sources/table-source-v2.js.map +1 -1
  18. package/dist/components/PlAgDataTable/types.d.ts +27 -1
  19. package/dist/components/PlAgDataTable/types.d.ts.map +1 -1
  20. package/dist/components/PlAgDataTable/types.js.map +1 -1
  21. package/dist/components/PlAgRowNumCheckbox/PlAgRowNumCheckbox.vue.js +1 -1
  22. package/dist/components/PlAgRowNumHeader.vue.js +1 -1
  23. package/dist/components/PlAnnotations/components/DynamicForm.vue2.js +29 -29
  24. package/dist/components/PlAnnotations/components/FilterSidebar.vue2.js +2 -2
  25. package/dist/components/PlMultiSequenceAlignment/data.js +14 -14
  26. package/dist/defineApp.js +12 -12
  27. package/dist/internal/test-helpers/BlockMock.d.ts +1 -0
  28. package/dist/internal/test-helpers/BlockMock.d.ts.map +1 -1
  29. package/dist/lib/ui/uikit/dist/components/PlAccordion/{ExpandTransition.vue.js → ExpandTransition.vue2.js} +1 -1
  30. package/dist/lib/ui/uikit/dist/components/PlAccordion/ExpandTransition.vue2.js.map +1 -0
  31. package/dist/lib/ui/uikit/dist/components/PlAccordion/PlAccordionSection.vue2.js +1 -1
  32. package/dist/lib/ui/uikit/dist/components/PlAutocomplete/PlAutocomplete.vue.js +1 -1
  33. package/dist/lib/ui/uikit/dist/components/PlDropdown/PlDropdown.vue.js +1 -1
  34. package/dist/lib/ui/uikit/dist/components/PlDropdownLegacy/PlDropdownLegacy.vue.js +1 -1
  35. package/dist/lib/ui/uikit/dist/components/PlDropdownMulti/PlDropdownMulti.vue.js +1 -1
  36. package/dist/lib/ui/uikit/dist/components/PlFileDialog/Local.vue.js +4 -4
  37. package/dist/lib/ui/uikit/dist/components/PlFileInput/PlFileInput.vue.js +1 -1
  38. package/dist/lib/ui/uikit/dist/components/PlTextArea/PlTextArea.vue.js +1 -1
  39. package/dist/lib/ui/uikit/dist/components/PlTextField/PlTextField.vue.js +1 -1
  40. package/dist/lib/ui/uikit/dist/generated/components/svg/images/{SvgRequired.vue2.js → SvgRequired.vue.js} +1 -1
  41. package/dist/lib/ui/uikit/dist/generated/components/svg/images/SvgRequired.vue.js.map +1 -0
  42. package/dist/lib/ui/uikit/dist/sdk/model/dist/index.js +25 -25
  43. package/dist/lib/ui/uikit/dist/sdk/model/dist/index.js.map +1 -1
  44. package/dist/lib/util/helpers/dist/index.js +88 -73
  45. package/dist/lib/util/helpers/dist/index.js.map +1 -1
  46. package/dist/lib.js +73 -73
  47. package/dist/sdk/model/dist/index.js +110 -103
  48. package/dist/sdk/model/dist/index.js.map +1 -1
  49. package/package.json +8 -8
  50. package/src/components/PlAgDataTable/PlAgDataTableV2.vue +172 -45
  51. package/src/components/PlAgDataTable/sources/focus-row.ts +38 -37
  52. package/src/components/PlAgDataTable/sources/table-source-v2.ts +113 -110
  53. package/src/components/PlAgDataTable/types.ts +30 -1
  54. package/src/internal/test-helpers/BlockMock.ts +5 -0
  55. package/dist/lib/ui/uikit/dist/components/PlAccordion/ExpandTransition.vue.js.map +0 -1
  56. package/dist/lib/ui/uikit/dist/generated/components/svg/images/SvgRequired.vue2.js.map +0 -1
@@ -1,12 +1,12 @@
1
- import { defineComponent as g, mergeModels as O, useModel as D, computed as c, watch as _, resolveComponent as h, createElementBlock as v, createCommentVNode as V, openBlock as n, normalizeClass as B, Fragment as i, renderList as S, createBlock as p, unref as s, withCtx as j, createTextVNode as w, toDisplayString as U } from "vue";
1
+ import { defineComponent as g, mergeModels as O, useModel as D, computed as c, watch as _, resolveComponent as h, createElementBlock as v, createCommentVNode as V, openBlock as u, normalizeClass as B, Fragment as i, renderList as S, createBlock as p, unref as s, withCtx as j, createTextVNode as w, toDisplayString as U } from "vue";
2
2
  import { isNil as R } from "../../../lib/util/helpers/dist/index.js";
3
3
  import "../../../lib/ui/uikit/dist/index.js";
4
- import { getFilterUiMetadata as x, getFilterUiTypeOptions as z } from "../../../sdk/model/dist/index.js";
4
+ import { getFilterUiMetadata as Z, getFilterUiTypeOptions as x } from "../../../sdk/model/dist/index.js";
5
5
  import k from "../../../lib/ui/uikit/dist/components/PlDropdown/PlDropdown.vue.js";
6
- import E from "../../../lib/ui/uikit/dist/components/PlTextField/PlTextField.vue.js";
6
+ import z from "../../../lib/ui/uikit/dist/components/PlTextField/PlTextField.vue.js";
7
7
  import T from "../../../lib/ui/uikit/dist/components/PlNumberField/PlNumberField.vue.js";
8
- import I from "../../../lib/ui/uikit/dist/components/PlCheckbox/PlCheckbox.vue.js";
9
- const L = { key: 7 }, H = /* @__PURE__ */ g({
8
+ import E from "../../../lib/ui/uikit/dist/components/PlCheckbox/PlCheckbox.vue.js";
9
+ const I = { key: 7 }, K = /* @__PURE__ */ g({
10
10
  __name: "DynamicForm",
11
11
  props: /* @__PURE__ */ O({
12
12
  columns: {},
@@ -18,77 +18,77 @@ const L = { key: 7 }, H = /* @__PURE__ */ g({
18
18
  emits: ["update:modelValue"],
19
19
  setup(y) {
20
20
  const t = D(y, "modelValue"), d = y, b = c(() => {
21
- var u;
21
+ var n;
22
22
  const o = t.value;
23
23
  if ("column" in o)
24
- return (u = d.columns.find((r) => r.id === o.column)) == null ? void 0 : u.obj;
24
+ return (n = d.columns.find((r) => r.id === o.column)) == null ? void 0 : n.obj;
25
25
  }), f = c(() => {
26
26
  const o = t.value;
27
27
  if (o.type && typeof o.type == "string")
28
- return x(o.type);
29
- }), M = c(() => z(b.value)), F = c(() => d.columns.map((o) => ({ label: o.label, value: o.id }))), C = c(() => {
30
- const o = f.value, u = b.value;
31
- return o && u ? d.columns.filter((r) => o.supportedFor(u, r.obj)).map((r) => ({
28
+ return Z(o.type);
29
+ }), M = c(() => x(b.value)), F = c(() => d.columns.map((o) => ({ label: o.label, value: o.id }))), C = c(() => {
30
+ const o = f.value, n = b.value;
31
+ return o && n ? d.columns.filter((r) => o.supportedFor(n, r.obj)).map((r) => ({
32
32
  label: r.label,
33
33
  value: r.id
34
34
  })) : [];
35
- }), m = (o, u) => {
36
- t.value[o] = u;
35
+ }), m = (o, n) => {
36
+ t.value[o] = n;
37
37
  };
38
38
  return _(
39
39
  () => d.formMetadata,
40
40
  (o) => {
41
- for (const [u, r] of Object.entries(o))
42
- if (t.value[u] === void 0) {
41
+ for (const [n, r] of Object.entries(o))
42
+ if (t.value[n] === void 0) {
43
43
  const l = r.defaultValue();
44
- R(l) || (t.value[u] = l);
44
+ R(l) || (t.value[n] = l);
45
45
  }
46
46
  },
47
47
  { immediate: !0, deep: !0 }
48
- ), (o, u) => {
48
+ ), (o, n) => {
49
49
  const r = h("DynamicForm", !0);
50
- return o.formMetadata ? (n(), v("div", {
50
+ return o.formMetadata ? (u(), v("div", {
51
51
  key: 0,
52
52
  class: B(o.$style.form)
53
53
  }, [
54
- (n(!0), v(i, null, S(o.formMetadata, (l, e) => (n(), v(i, { key: e }, [
55
- l.fieldType === "form" ? (n(), v(i, { key: 0 }, [
56
- "form" in l ? (n(), p(r, {
54
+ (u(!0), v(i, null, S(o.formMetadata, (l, e) => (u(), v(i, { key: e }, [
55
+ l.fieldType === "form" ? (u(), v(i, { key: 0 }, [
56
+ "form" in l ? (u(), p(r, {
57
57
  key: 0,
58
58
  "model-value": t.value[e],
59
59
  "form-metadata": l.form,
60
60
  columns: d.columns,
61
61
  "onUpdate:modelValue": (a) => m(e, a)
62
62
  }, null, 8, ["model-value", "form-metadata", "columns", "onUpdate:modelValue"])) : V("", !0)
63
- ], 64)) : l.fieldType === "FilterUiType" ? (n(), p(s(k), {
63
+ ], 64)) : l.fieldType === "FilterUiType" ? (u(), p(s(k), {
64
64
  key: 1,
65
65
  "model-value": t.value[e],
66
66
  label: l.label ?? e,
67
67
  options: M.value,
68
68
  "onUpdate:modelValue": (a) => m(e, a)
69
- }, null, 8, ["model-value", "label", "options", "onUpdate:modelValue"])) : l.fieldType === "string" ? (n(), p(s(E), {
69
+ }, null, 8, ["model-value", "label", "options", "onUpdate:modelValue"])) : l.fieldType === "string" ? (u(), p(s(z), {
70
70
  key: 2,
71
71
  "model-value": t.value[e],
72
72
  label: l.label ?? e,
73
73
  "onUpdate:modelValue": (a) => m(e, a)
74
- }, null, 8, ["model-value", "label", "onUpdate:modelValue"])) : l.fieldType === "SUniversalPColumnId" ? (n(), p(s(k), {
74
+ }, null, 8, ["model-value", "label", "onUpdate:modelValue"])) : l.fieldType === "SUniversalPColumnId" ? (u(), p(s(k), {
75
75
  key: 3,
76
76
  "model-value": t.value[e],
77
77
  label: l.label ?? e,
78
78
  options: e === "column" ? F.value : C.value,
79
79
  "onUpdate:modelValue": (a) => m(e, a)
80
- }, null, 8, ["model-value", "label", "options", "onUpdate:modelValue"])) : l.fieldType === "number" ? (n(), p(s(T), {
80
+ }, null, 8, ["model-value", "label", "options", "onUpdate:modelValue"])) : l.fieldType === "number" ? (u(), p(s(T), {
81
81
  key: 4,
82
82
  "model-value": t.value[e],
83
83
  label: l.label ?? e,
84
84
  "onUpdate:modelValue": (a) => m(e, a)
85
- }, null, 8, ["model-value", "label", "onUpdate:modelValue"])) : l.fieldType === "number?" ? (n(), p(s(T), {
85
+ }, null, 8, ["model-value", "label", "onUpdate:modelValue"])) : l.fieldType === "number?" ? (u(), p(s(T), {
86
86
  key: 5,
87
87
  "model-value": t.value[e],
88
88
  label: l.label ?? e,
89
89
  clearable: !0,
90
90
  "onUpdate:modelValue": (a) => m(e, a)
91
- }, null, 8, ["model-value", "label", "onUpdate:modelValue"])) : l.fieldType === "boolean" || l.fieldType === "boolean?" ? (n(), p(s(I), {
91
+ }, null, 8, ["model-value", "label", "onUpdate:modelValue"])) : l.fieldType === "boolean" || l.fieldType === "boolean?" ? (u(), p(s(E), {
92
92
  key: 6,
93
93
  "model-value": !!t.value[e],
94
94
  label: l.label ?? e,
@@ -98,13 +98,13 @@ const L = { key: 7 }, H = /* @__PURE__ */ g({
98
98
  w(U(l.label ?? e), 1)
99
99
  ]),
100
100
  _: 2
101
- }, 1032, ["model-value", "label", "onUpdate:modelValue"])) : (n(), v("pre", L, "TODO:" + U(l.fieldType), 1))
101
+ }, 1032, ["model-value", "label", "onUpdate:modelValue"])) : (u(), v("pre", I, "TODO:" + U(l.fieldType), 1))
102
102
  ], 64))), 128))
103
103
  ], 2)) : V("", !0);
104
104
  };
105
105
  }
106
106
  });
107
107
  export {
108
- H as default
108
+ K as default
109
109
  };
110
110
  //# sourceMappingURL=DynamicForm.vue2.js.map
@@ -8,7 +8,7 @@ import D from "../../../lib/ui/uikit/dist/components/PlSidebar/PlSidebarItem.vue
8
8
  import V from "../../../lib/ui/uikit/dist/components/PlBtnSecondary/PlBtnSecondary.vue.js";
9
9
  import j from "../../../lib/ui/uikit/dist/components/PlElementList/PlElementList.vue.js";
10
10
  import q from "../../../lib/ui/uikit/dist/components/PlEditableTitle/PlEditableTitle.vue.js";
11
- const I = { key: 1 }, K = /* @__PURE__ */ E({
11
+ const I = { key: 1 }, O = /* @__PURE__ */ E({
12
12
  __name: "FilterSidebar",
13
13
  props: /* @__PURE__ */ S({
14
14
  columns: {},
@@ -119,6 +119,6 @@ const I = { key: 1 }, K = /* @__PURE__ */ E({
119
119
  }
120
120
  });
121
121
  export {
122
- K as default
122
+ O as default
123
123
  };
124
124
  //# sourceMappingURL=FilterSidebar.vue2.js.map
@@ -1,12 +1,12 @@
1
1
  import { isJsonEqual as L } from "../../lib/util/helpers/dist/index.js";
2
- import { getRawPlatformaInstance as Q, isLabelColumn as B, isLinkerColumn as X, createRowSelectionColumn as Y } from "../../sdk/model/dist/index.js";
2
+ import { getRawPlatformaInstance as K, isLabelColumn as B, isLinkerColumn as Q, createRowSelectionColumn as Y } from "../../sdk/model/dist/index.js";
3
3
  import { ref as O, watch as Z } from "vue";
4
4
  import { chemicalPropertiesColorMap as I, colorizeSequencesByChemicalProperties as ee } from "./chemical-properties.js";
5
5
  import { parseMarkup as te, markupAlignedSequence as ne, markupColors as T, colorizeSequencesByMarkup as oe } from "./markup.js";
6
6
  import { multiSequenceAlignment as ae } from "./multi-sequence-alignment.js";
7
7
  import { getResidueCounts as re } from "./residue-counts.js";
8
8
  import { ensureError as se, canonicalizeJson as A, getAxisId as J, parseJson as D, matchAxisId as ie, pTableValue as q } from "../../lib/model/common/dist/index.js";
9
- const M = () => Q().pFrameDriver, E = 1e3, Se = k(
9
+ const M = () => K().pFrameDriver, E = 1e3, Se = k(
10
10
  le
11
11
  ), xe = k(
12
12
  ce
@@ -111,9 +111,9 @@ async function ue({
111
111
  colorScheme: s,
112
112
  alignmentParams: i
113
113
  }) {
114
- var $, j, z, N;
114
+ var $, j, N, _;
115
115
  if (!c || !(t != null && t.length) || !d) return;
116
- const p = M(), m = await p.listColumns(c), f = m.filter((e) => X(e.spec)), x = Y({ selection: a });
116
+ const p = M(), m = await p.listColumns(c), f = m.filter((e) => Q(e.spec)), x = Y({ selection: a });
117
117
  let w = {
118
118
  type: "inner",
119
119
  entries: t.map((e) => ({
@@ -201,12 +201,12 @@ async function ue({
201
201
  ), F = Array.from(
202
202
  { length: b },
203
203
  (e, n) => W.map((o) => o[n])
204
- ), G = R.map(
204
+ ), X = R.map(
205
205
  (e) => {
206
206
  var n;
207
207
  return ((n = e.spec.spec.annotations) == null ? void 0 : n["pl7.app/label"]) ?? "Unlabelled column";
208
208
  }
209
- ), H = Array.from(
209
+ ), G = Array.from(
210
210
  { length: b },
211
211
  (e, n) => V.map(
212
212
  (o) => {
@@ -216,8 +216,8 @@ async function ue({
216
216
  )
217
217
  ), v = F.map((e) => e.join(" ")), U = re(v), S = {
218
218
  sequences: v,
219
- sequenceNames: G,
220
- labelsRows: H,
219
+ sequenceNames: X,
220
+ labelsRows: G,
221
221
  exceedsLimit: P,
222
222
  residueCounts: U
223
223
  };
@@ -227,11 +227,11 @@ async function ue({
227
227
  ), n = Array.from(
228
228
  { length: b },
229
229
  (o, h) => {
230
- var _;
231
- const K = te(
232
- ((_ = q(C.data, h, { na: "", absent: "" })) == null ? void 0 : _.toString()) ?? ""
230
+ var z;
231
+ const H = te(
232
+ ((z = q(C.data, h, { na: "", absent: "" })) == null ? void 0 : z.toString()) ?? ""
233
233
  );
234
- return ne(F[h][0], K);
234
+ return ne(F[h][0], H);
235
235
  }
236
236
  );
237
237
  S.markup = { labels: e, data: n };
@@ -257,9 +257,9 @@ async function ue({
257
257
  );
258
258
  S.highlightImage = {
259
259
  blob: await oe({
260
- markupRows: ((z = S.markup) == null ? void 0 : z.data) ?? [],
260
+ markupRows: ((N = S.markup) == null ? void 0 : N.data) ?? [],
261
261
  colorMap: e,
262
- columnCount: ((N = v.at(0)) == null ? void 0 : N.length) ?? 0
262
+ columnCount: ((_ = v.at(0)) == null ? void 0 : _.length) ?? 0
263
263
  }),
264
264
  colorMap: e
265
265
  };
package/dist/defineApp.js CHANGED
@@ -16,11 +16,11 @@ function C(e, p, l = {}) {
16
16
  if (f !== d)
17
17
  throw new Error(`Block requested API version ${f} but runtime API version is ${d}.
18
18
  Please update the desktop app to use the latest API version.`);
19
- e.apiVersion === void 0 || e.apiVersion === 1 ? await e.loadBlockState().then((o) => {
19
+ e.apiVersion === void 0 || e.apiVersion === 1 ? await e.loadBlockState().then((r) => {
20
20
  a.loaded = !0;
21
- const t = j(o, e, l), i = p(t), c = Object.fromEntries(
22
- Object.entries(i.routes).map(([s, r]) => {
23
- const n = typeof r == "function" ? r() : r;
21
+ const t = j(r, e, l), i = p(t), c = Object.fromEntries(
22
+ Object.entries(i.routes).map(([s, o]) => {
23
+ const n = typeof o == "function" ? o() : o;
24
24
  return [s, A(n)];
25
25
  })
26
26
  );
@@ -30,19 +30,19 @@ function C(e, p, l = {}) {
30
30
  return c[s];
31
31
  }
32
32
  });
33
- }) : e.apiVersion === 2 && await e.loadBlockState().then((o) => {
34
- const t = y(o);
33
+ }) : e.apiVersion === 2 && await e.loadBlockState().then((r) => {
34
+ const t = y(r);
35
35
  a.loaded = !0;
36
36
  const i = S(t, e, l), c = p(i), s = Object.fromEntries(
37
- Object.entries(c.routes).map(([r, n]) => {
37
+ Object.entries(c.routes).map(([o, n]) => {
38
38
  const v = typeof n == "function" ? n() : n;
39
- return [r, A(v)];
39
+ return [o, A(v)];
40
40
  })
41
41
  );
42
42
  u = Object.assign(i, {
43
43
  ...c,
44
- getRoute(r) {
45
- return s[r];
44
+ getRoute(o) {
45
+ return s[o];
46
46
  }
47
47
  });
48
48
  });
@@ -55,8 +55,8 @@ function C(e, p, l = {}) {
55
55
  },
56
56
  // @todo type portability issue with Vue
57
57
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
58
- install(o) {
59
- o.provide(m, this), b().catch((t) => {
58
+ install(r) {
59
+ r.provide(m, this), b().catch((t) => {
60
60
  console.error("load initial state error", t), a.error = t;
61
61
  });
62
62
  }
@@ -14,6 +14,7 @@ export declare abstract class BlockMock<Args = unknown, Outputs extends BlockOut
14
14
  #private;
15
15
  state: BlockStateMock<Args, Outputs, UiState, Href>;
16
16
  constructor(state: BlockStateMock<Args, Outputs, UiState, Href>);
17
+ dispose(): Promise<ResultOrError<void>>;
17
18
  get uTag(): string;
18
19
  setBlockArgs(args: Args, author?: AuthorMarker): Promise<ResultOrError<void, Error>>;
19
20
  setBlockUiState(ui: UiState, author?: AuthorMarker): Promise<ResultOrError<void, Error>>;
@@ -1 +1 @@
1
- {"version":3,"file":"BlockMock.d.ts","sourceRoot":"","sources":["../../../src/internal/test-helpers/BlockMock.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAE3B,KAAK,aAAa,EAEnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAW,KAAK,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAEtE,qBAAa,cAAc,CACzB,IAAI,GAAG,OAAO,EACd,OAAO,SAAS,gBAAgB,GAAG,gBAAgB,EACnD,OAAO,GAAG,OAAO,EACjB,IAAI,SAAS,IAAI,MAAM,EAAE,GAAG,IAAI,MAAM,EAAE;IAG/B,IAAI,EAAE,IAAI;IACV,OAAO,EAAE,OAAO;IAChB,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,IAAI;IACV,MAAM,EAAE,YAAY;IACpB,IAAI,EAAE,MAAM;gBALZ,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,EAAE,EAAE,OAAO,EACX,IAAI,EAAE,IAAI,EACV,MAAM,GAAE,YAAoD,EAC5D,IAAI,GAAE,MAAmB;IAGlC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC,cAAc,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;CAUvE;AAED,8BAAsB,SAAS,CAC7B,IAAI,GAAG,OAAO,EACd,OAAO,SAAS,gBAAgB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AAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAK7C,IAAI,IAAI,IAAI,MAAM,CAEjB;IAEK,YAAY,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC,EAAE,YAAY;IAO9C,eAAe,CAAC,EAAE,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,YAAY;IAOlD,sBAAsB,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,YAAY;IAYrE,kBAAkB,CAAC,eAAe,EAAE,eAAe,CAAC,IAAI,CAAC;IAOzD,cAAc,IAAI,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,UAAU,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAiBjG,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,sBAAsB,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;YAsB7E,QAAQ;IAItB,QAAQ,CAAC,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAClC;AAED,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC"}
@@ -24,4 +24,4 @@ const f = /* @__PURE__ */ n({
24
24
  export {
25
25
  f as default
26
26
  };
27
- //# sourceMappingURL=ExpandTransition.vue.js.map
27
+ //# sourceMappingURL=ExpandTransition.vue2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExpandTransition.vue2.js","sources":["../../../../../../../../../lib/ui/uikit/src/components/PlAccordion/ExpandTransition.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nconst onStart = (el: Element) => {\n el.classList.add('expand-collapse-fix');\n (el as HTMLElement).style.setProperty('--component-height', el.scrollHeight + 'px');\n};\n\nconst onAfter = (el: Element) => {\n (el as HTMLElement).style.removeProperty('--component-height');\n el.classList.remove('expand-collapse-fix');\n};\n</script>\n\n<template>\n <Transition name=\"expand-collapse\" @enter=\"onStart\" @leave=\"onStart\" @after-enter=\"onAfter\" @after-leave=\"onAfter\">\n <slot/>\n </Transition>\n</template>\n\n<style>\n.expand-collapse-fix {\n overflow: hidden;\n}\n\n.expand-collapse-enter-active,\n.expand-collapse-leave-active {\n transition:\n height 0.2s ease-in-out,\n opacity 0.2s ease-in-out;\n height: var(--component-height);\n}\n\n.expand-collapse-enter-from,\n.expand-collapse-leave-to {\n opacity: 0.5;\n height: 0;\n}\n</style>\n"],"names":["onStart","el","onAfter"],"mappings":";;;;AACMA,UAAAA,IAAU,CAACC,MAAgB;AAC5BA,QAAA,UAAU,IAAI,qBAAqB,GACrCA,EAAmB,MAAM,YAAY,sBAAsBA,EAAG,eAAe,IAAI;AAAA,IAAA,GAG9EC,IAAU,CAACD,MAAgB;AAC9BA,QAAmB,MAAM,eAAe,oBAAoB,GAC1DA,EAAA,UAAU,OAAO,qBAAqB;AAAA,IAC3C;;;;;;;;;;;;;;;"}
@@ -2,7 +2,7 @@ import { defineComponent as x, mergeModels as g, inject as d, toRef as u, useMod
2
2
  import { uniqueId as w } from "../../lib/util/helpers/dist/index.js";
3
3
  import B from "../PlIcon16/PlIcon16.vue.js";
4
4
  import N from "../PlSectionSeparator/PlSectionSeparator.vue.js";
5
- import _ from "./ExpandTransition.vue.js";
5
+ import _ from "./ExpandTransition.vue2.js";
6
6
  (function() {
7
7
  try {
8
8
  if (typeof document < "u") {
@@ -11,7 +11,7 @@ import Le from "../PlIcon16/PlIcon16.vue.js";
11
11
  import Se from "../PlIcon24/PlIcon24.vue.js";
12
12
  import $e from "../../utils/DropdownOverlay/DropdownOverlay.vue.js";
13
13
  import { useWatchFetch as U } from "../../composition/useWatchFetch.js";
14
- import Ie from "../../generated/components/svg/images/SvgRequired.vue2.js";
14
+ import Ie from "../../generated/components/svg/images/SvgRequired.vue.js";
15
15
  import { getErrorMessage as Ee } from "../../helpers/error.js";
16
16
  import { debouncedRef as Ce } from "../../node_modules/.pnpm/@vueuse_shared@13.3.0_vue@3.5.13_typescript@5.6.3_/node_modules/@vueuse/shared/index.js";
17
17
  (function() {
@@ -8,7 +8,7 @@ import xo from "../LongText.vue.js";
8
8
  import { normalizeListOptions as go } from "../../helpers/utils.js";
9
9
  import bo from "../PlIcon16/PlIcon16.vue.js";
10
10
  import _o from "../PlIcon24/PlIcon24.vue.js";
11
- import ko from "../../generated/components/svg/images/SvgRequired.vue2.js";
11
+ import ko from "../../generated/components/svg/images/SvgRequired.vue.js";
12
12
  import { getErrorMessage as yo } from "../../helpers/error.js";
13
13
  import Lo from "./OptionList.vue.js";
14
14
  import { useGroupBy as zo } from "./useGroupBy.js";
@@ -10,7 +10,7 @@ import me from "../LongText.vue.js";
10
10
  import xe from "../PlIcon16/PlIcon16.vue.js";
11
11
  import be from "../PlIcon24/PlIcon24.vue.js";
12
12
  import { normalizeListOptions as ye } from "../../helpers/utils.js";
13
- import ke from "../../generated/components/svg/images/SvgRequired.vue2.js";
13
+ import ke from "../../generated/components/svg/images/SvgRequired.vue.js";
14
14
  import { getErrorMessage as _e } from "../../helpers/error.js";
15
15
  (function() {
16
16
  try {
@@ -9,7 +9,7 @@ import { deepEqual as _, deepIncludes as T } from "../../helpers/objects.js";
9
9
  import { normalizeListOptions as ho } from "../../helpers/utils.js";
10
10
  import mo from "../../utils/DropdownOverlay/DropdownOverlay.vue.js";
11
11
  import vo from "../PlIcon24/PlIcon24.vue.js";
12
- import wo from "../../generated/components/svg/images/SvgRequired.vue2.js";
12
+ import wo from "../../generated/components/svg/images/SvgRequired.vue.js";
13
13
  import { getErrorMessage as fo } from "../../helpers/error.js";
14
14
  (function() {
15
15
  try {
@@ -16,7 +16,7 @@ const N = {
16
16
  setup(g) {
17
17
  const o = g, n = I({
18
18
  error: void 0
19
- }), x = S(() => o.multi ? "Drag & Drop files here or click to add" : "Drag & Drop file here or click to add"), k = async (t) => {
19
+ }), x = S(() => o.multi ? "Drag & Drop files here or click to add" : "Drag & Drop file here or click to add"), y = async (t) => {
20
20
  var r, l, e;
21
21
  const f = (l = (r = c()) == null ? void 0 : r.lsDriver) == null ? void 0 : l.fileToImportHandle;
22
22
  if (!f)
@@ -27,7 +27,7 @@ const N = {
27
27
  d.length && o.importFiles({
28
28
  files: d
29
29
  });
30
- }, y = async () => {
30
+ }, k = async () => {
31
31
  var t, r;
32
32
  const l = o.extensions ? [
33
33
  {
@@ -53,10 +53,10 @@ const N = {
53
53
  };
54
54
  return (t, r) => (a(), s("div", {
55
55
  class: v(m(h).local),
56
- onDrop: k,
56
+ onDrop: y,
57
57
  onDragover: r[0] || (r[0] = z(() => {
58
58
  }, ["prevent"])),
59
- onClick: y
59
+ onClick: k
60
60
  }, [
61
61
  B(m(P), { name: "cloud-upload" }),
62
62
  C("span", null, p(x.value), 1),
@@ -6,7 +6,7 @@ import "../../sdk/model/dist/index.js";
6
6
  import A from "../../utils/DoubleContour.vue.js";
7
7
  import { useLabelNotch as G } from "../../utils/useLabelNotch.js";
8
8
  import { prettyBytes as x } from "../../lib/util/helpers/dist/index.js";
9
- import J from "../../generated/components/svg/images/SvgRequired.vue2.js";
9
+ import J from "../../generated/components/svg/images/SvgRequired.vue.js";
10
10
  import { getErrorMessage as W } from "../../helpers/error.js";
11
11
  import { getFileNameFromHandle as X, getFilePathFromHandle as Z } from "../../lib/model/common/dist/index.js";
12
12
  (function() {
@@ -3,7 +3,7 @@ import T from "../PlTooltip/PlTooltip.vue.js";
3
3
  import q from "../../utils/DoubleContour.vue.js";
4
4
  import { useLabelNotch as D } from "../../utils/useLabelNotch.js";
5
5
  import { useValidation as P } from "../../utils/useValidation.js";
6
- import U from "../../generated/components/svg/images/SvgRequired.vue2.js";
6
+ import U from "../../generated/components/svg/images/SvgRequired.vue.js";
7
7
  import { getErrorMessage as A } from "../../helpers/error.js";
8
8
  (function() {
9
9
  try {
@@ -5,7 +5,7 @@ import { useLabelNotch as I } from "../../utils/useLabelNotch.js";
5
5
  import { useValidation as J } from "../../utils/useValidation.js";
6
6
  import K from "../PlIcon16/PlIcon16.vue.js";
7
7
  import O from "../PlIcon24/PlIcon24.vue.js";
8
- import Q from "../../generated/components/svg/images/SvgRequired.vue2.js";
8
+ import Q from "../../generated/components/svg/images/SvgRequired.vue.js";
9
9
  import { getErrorMessage as W } from "../../helpers/error.js";
10
10
  (function() {
11
11
  try {
@@ -22,4 +22,4 @@ const L = /* @__PURE__ */ r(o, [["render", d]]);
22
22
  export {
23
23
  L as default
24
24
  };
25
- //# sourceMappingURL=SvgRequired.vue2.js.map
25
+ //# sourceMappingURL=SvgRequired.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SvgRequired.vue.js","sources":["../../../../../../../../../../../lib/ui/uikit/src/generated/components/svg/images/SvgRequired.vue"],"sourcesContent":["<!-- ⚠️ AUTOGENERATED. DO NOT EDIT. -->\n<script lang=\"ts\">\nimport '../svg-styles.css';\nexport default { name: 'SvgRequired' };\n</script>\n\n<template>\n <div class=\"svg-icon SvgRequired\" style=\"width: 5px; height: 12px\" />\n</template>\n\n<style>\n .SvgRequired { background-image: url(\"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%225%22%20height%3D%2212%22%20viewBox%3D%220%200%205%2012%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1.51685%204.8L2.5%203.34159L3.47612%204.8L4.39607%204.12743L3.31461%202.7469L5%202.25133L4.64888%201.16106L3.00562%201.77699L3.06882%200H1.93118L1.99438%201.77699L0.351124%201.16106L0%202.25133L1.68539%202.7469L0.59691%204.12743L1.51685%204.8Z%22%20fill%3D%22%23F1222F%22%2F%3E%3C%2Fsvg%3E\"); }\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;AAOoC,MAAA,IAAA;AAAA,EAAA,OAAA;AAAA;;;;;;"}
@@ -1,8 +1,8 @@
1
1
  import { isDataInfo as ae, extractAllColumns as Ee, mapPTableDef as Te, selectorsToPredicate as W, withEnrichments as ce, AnchoredIdDeriver as he, isPlRef as Fe, mapValueInVOE as Oe, mapPObjectData as le, ensurePColumn as ke, isPColumnSpec as z, isPColumn as be, resolveAnchors as pe, deriveNativeId as Re, isPartitionedDataInfoEntries as De, getAxisId as de, entriesToDataInfo as $e, isDataInfoEntries as _e, dataInfoToEntries as Ke, canonicalizeAxisId as Ne, mapDataInfo as je } from "../../../lib/model/common/dist/index.js";
2
- import { PlIdLength as bt, getAxesId as _t, getFileNameFromHandle as wt, getFilePathFromHandle as Pt, isImportFileHandleIndex as At, isImportFileHandleUpload as xt, mapJoinEntry as It, matchAxis as Lt, matchAxisId as St, matchPColumn as Ct, stringifyColumnId as Et } from "../../../lib/model/common/dist/index.js";
2
+ import { PlIdLength as _t, getAxesId as wt, getFileNameFromHandle as Pt, getFilePathFromHandle as At, isImportFileHandleIndex as xt, isImportFileHandleUpload as It, mapJoinEntry as Lt, matchAxis as St, matchAxisId as Ct, matchPColumn as Et, stringifyColumnId as Tt } from "../../../lib/model/common/dist/index.js";
3
3
  import we from "../../../_virtual/canonicalize.js";
4
4
  import K from "../../../node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.js";
5
- import { BasePlErrorLike as Ft, ErrorLike as Ot, PlErrorLike as kt, StandardErrorLike as Rt } from "../../../lib/model/pl-error-like/dist/index.js";
5
+ import { BasePlErrorLike as Ot, ErrorLike as kt, PlErrorLike as Rt, StandardErrorLike as Dt } from "../../../lib/model/pl-error-like/dist/index.js";
6
6
  var Be = Object.defineProperty, Ve = (i, e, t) => e in i ? Be(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, I = (i, e, t) => Ve(i, typeof e != "symbol" ? e + "" : e, t);
7
7
  function X(i) {
8
8
  return { type: "Immediate", value: i };
@@ -1256,15 +1256,15 @@ class G {
1256
1256
  this.ctx.logError(e);
1257
1257
  }
1258
1258
  }
1259
- const Y = "1.41.2";
1260
- function ht(i) {
1259
+ const ht = "1.41.4", Y = ht;
1260
+ function pt(i) {
1261
1261
  return i.__renderLambda === !0;
1262
1262
  }
1263
1263
  function te(i) {
1264
1264
  if (i !== void 0)
1265
- return ht(i) ? i.handle : i;
1265
+ return pt(i) ? i.handle : i;
1266
1266
  }
1267
- const pt = class b {
1267
+ const dt = class b {
1268
1268
  constructor(e, t, r, s, n, o, a, l, y) {
1269
1269
  this._renderingMode = e, this._initialArgs = t, this._initialUiState = r, this._outputs = s, this._inputsValid = n, this._sections = o, this._title = a, this._enrichmentTargets = l, this._featureFlags = y;
1270
1270
  }
@@ -1499,24 +1499,24 @@ const pt = class b {
1499
1499
  return globalThis.platformaApiVersion = e, Ue() ? Pe({ sdkVersion: Y, apiVersion: platformaApiVersion }) : { config: t };
1500
1500
  }
1501
1501
  };
1502
- I(pt, "INITIAL_BLOCK_FEATURE_FLAGS", {
1502
+ I(dt, "INITIAL_BLOCK_FEATURE_FLAGS", {
1503
1503
  supportsLazyState: !0,
1504
1504
  requiresUIAPIVersion: 1,
1505
1505
  requiresModelAPIVersion: 1
1506
1506
  });
1507
- function mt() {
1507
+ function yt() {
1508
1508
  return Pe({ sdkVersion: Y, apiVersion: platformaApiVersion });
1509
1509
  }
1510
1510
  export {
1511
1511
  he as AnchoredIdDeriver,
1512
- Ft as BasePlErrorLike,
1513
- Ot as ErrorLike,
1512
+ Ot as BasePlErrorLike,
1513
+ kt as ErrorLike,
1514
1514
  w as FutureRef,
1515
1515
  qe as PAnnotationLabel,
1516
1516
  Ge as PAnnotationTrace,
1517
1517
  me as PColumnCollection,
1518
- kt as PlErrorLike,
1519
- bt as PlIdLength,
1518
+ Rt as PlErrorLike,
1519
+ _t as PlIdLength,
1520
1520
  N as RT_BINARY_PARTITIONED,
1521
1521
  M as RT_BINARY_SUPER_PARTITIONED,
1522
1522
  J as RT_JSON_PARTITIONED,
@@ -1525,7 +1525,7 @@ export {
1525
1525
  se as RT_RESOURCE_MAP_PARTITIONED,
1526
1526
  G as RenderCtx,
1527
1527
  ct as ResultPool,
1528
- Rt as StandardErrorLike,
1528
+ Dt as StandardErrorLike,
1529
1529
  Ye as Trace,
1530
1530
  ze as TraceEntry,
1531
1531
  L as TreeNodeAccessor,
@@ -1539,36 +1539,36 @@ export {
1539
1539
  $e as entriesToDataInfo,
1540
1540
  Ee as extractAllColumns,
1541
1541
  it as filterDataInfoEntries,
1542
- _t as getAxesId,
1542
+ wt as getAxesId,
1543
1543
  de as getAxisId,
1544
- wt as getFileNameFromHandle,
1545
- Pt as getFilePathFromHandle,
1544
+ Pt as getFileNameFromHandle,
1545
+ At as getFilePathFromHandle,
1546
1546
  X as getImmediate,
1547
1547
  Ze as getPartitionKeysList,
1548
- mt as getRawPlatformaInstance,
1548
+ yt as getRawPlatformaInstance,
1549
1549
  tt as getUniquePartitionKeys,
1550
1550
  re as ifDef,
1551
- ht as isConfigLambda,
1551
+ pt as isConfigLambda,
1552
1552
  ae as isDataInfo,
1553
1553
  _e as isDataInfoEntries,
1554
- At as isImportFileHandleIndex,
1555
- xt as isImportFileHandleUpload,
1554
+ xt as isImportFileHandleIndex,
1555
+ It as isImportFileHandleUpload,
1556
1556
  be as isPColumn,
1557
1557
  z as isPColumnSpec,
1558
1558
  De as isPartitionedDataInfoEntries,
1559
1559
  Fe as isPlRef,
1560
1560
  je as mapDataInfo,
1561
- It as mapJoinEntry,
1561
+ Lt as mapJoinEntry,
1562
1562
  le as mapPObjectData,
1563
1563
  Te as mapPTableDef,
1564
1564
  Oe as mapValueInVOE,
1565
- Lt as matchAxis,
1566
- St as matchAxisId,
1567
- Ct as matchPColumn,
1565
+ St as matchAxis,
1566
+ Ct as matchAxisId,
1567
+ Et as matchPColumn,
1568
1568
  oe as parsePColumnData,
1569
1569
  pe as resolveAnchors,
1570
1570
  W as selectorsToPredicate,
1571
- Et as stringifyColumnId,
1571
+ Tt as stringifyColumnId,
1572
1572
  ce as withEnrichments
1573
1573
  };
1574
1574
  //# sourceMappingURL=index.js.map