@platforma-sdk/ui-vue 1.42.0 → 1.42.1

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,6 +1,6 @@
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.1 build /home/runner/_work/platforma/platforma/sdk/ui-vue
4
4
  > vite build
5
5
 
6
6
  vite v6.3.5 building for production...
@@ -10,7 +10,7 @@ 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 6433ms.
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
@@ -38,8 +38,8 @@ computing gzip size...
38
38
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/number.js  0.11 kB │ gzip: 0.12 kB │ map: 0.79 kB
39
39
  dist/components/PlAgCsvExporter/PlAgCsvExporter.vue2.js  0.12 kB │ gzip: 0.12 kB │ map: 0.11 kB
40
40
  dist/lib/ui/uikit/dist/helpers/math.js  0.12 kB │ gzip: 0.13 kB │ map: 0.36 kB
41
- dist/components/PlAgColumnHeader/PlAgColumnHeader.vue2.js  0.12 kB │ gzip: 0.12 kB │ map: 0.11 kB
42
41
  dist/components/PlAgCellProgress/PlAgCellProgress.vue2.js  0.12 kB │ gzip: 0.12 kB │ map: 0.11 kB
42
+ dist/components/PlAgColumnHeader/PlAgColumnHeader.vue2.js  0.12 kB │ gzip: 0.12 kB │ map: 0.11 kB
43
43
  dist/components/PlAgRowNumHeader.vue2.js  0.12 kB │ gzip: 0.12 kB │ map: 0.11 kB
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
@@ -554,7 +554,7 @@ computing gzip size...
554
554
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_bubble.svg.js  0.77 kB │ gzip: 0.40 kB │ map: 1.00 kB
555
555
  dist/plugins/Monetization/EndOfPeriod.vue2.js  0.77 kB │ gzip: 0.47 kB │ map: 1.55 kB
556
556
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_container.svg.js  0.78 kB │ gzip: 0.43 kB │ map: 1.08 kB
557
- dist/lib/ui/uikit/dist/components/PlAccordion/ExpandTransition.vue2.js  0.78 kB │ gzip: 0.43 kB │ map: 1.35 kB
557
+ dist/lib/ui/uikit/dist/components/PlAccordion/ExpandTransition.vue.js  0.78 kB │ gzip: 0.43 kB │ map: 1.34 kB
558
558
  dist/node_modules/.pnpm/canonicalize@2.1.0/node_modules/canonicalize/lib/canonicalize.js  0.80 kB │ gzip: 0.45 kB │ map: 2.18 kB
559
559
  dist/lib/ui/uikit/dist/node_modules/.pnpm/canonicalize@2.1.0/node_modules/canonicalize/lib/canonicalize.js  0.80 kB │ gzip: 0.45 kB │ map: 2.20 kB
560
560
  dist/lib/ui/uikit/dist/components/DataTable/adapters/AsyncData.js  0.81 kB │ gzip: 0.43 kB │ map: 2.16 kB
@@ -757,7 +757,7 @@ computing gzip size...
757
757
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/continuous.js  2.53 kB │ gzip: 0.94 kB │ map: 7.07 kB
758
758
  dist/lib/util/helpers/dist/index.js  2.55 kB │ gzip: 1.06 kB │ map: 25.73 kB
759
759
  dist/plugins/Monetization/LimitCard.vue3.js  2.55 kB │ gzip: 0.92 kB │ map: 0.11 kB
760
- dist/lib/ui/uikit/dist/components/PlAccordion/PlAccordionSection.vue2.js  2.57 kB │ gzip: 1.15 kB │ map: 2.90 kB
760
+ dist/lib/ui/uikit/dist/components/PlAccordion/PlAccordionSection.vue2.js  2.56 kB │ gzip: 1.16 kB │ map: 2.90 kB
761
761
  dist/node_modules/.pnpm/@vueuse_shared@13.3.0_vue@3.5.13_typescript@5.6.3_/node_modules/@vueuse/shared/index.js  2.57 kB │ gzip: 1.13 kB │ map: 50.11 kB
762
762
  dist/components/PlTableFilters/PlTableFiltersV2.vue3.js  2.58 kB │ gzip: 0.94 kB │ map: 0.12 kB
763
763
  dist/plugins/Monetization/LimitCard.vue2.js  2.61 kB │ gzip: 0.88 kB │ map: 4.83 kB
@@ -878,4 +878,4 @@ computing gzip size...
878
878
  dist/lib/ui/uikit/dist/index.js 497.77 kB │ gzip: 191.75 kB │ map: 0.18 kB
879
879
  dist/lib/ui/uikit/dist/components/PlSlideModal/PlPureSlideModal.vue.js 601.01 kB │ gzip: 204.69 kB │ map: 0.21 kB
880
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
881
+ ✓ built in 10.70s
@@ -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.1 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,12 @@
1
1
  # @platforma-sdk/ui-vue
2
2
 
3
+ ## 1.42.1
4
+
5
+ ### Patch Changes
6
+
7
+ - @platforma-sdk/model@1.42.1
8
+ - @milaboratories/uikit@2.3.25
9
+
3
10
  ## 1.42.0
4
11
 
5
12
  ### 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 = {};
@@ -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,
@@ -10,7 +10,7 @@ f.object({
10
10
  function A(e) {
11
11
  throw new Error("Unexpected object: " + e);
12
12
  }
13
- function W(e) {
13
+ function Z(e) {
14
14
  if (!e || typeof e != "object")
15
15
  return !1;
16
16
  const t = e;
@@ -160,7 +160,7 @@ function j(e, t) {
160
160
  const n = Math.floor(t / 8), r = 1 << 7 - t % 8;
161
161
  return (e[n] & r) > 0;
162
162
  }
163
- const C = { type: "absent" }, L = null;
163
+ const C = { type: "absent" }, $ = null;
164
164
  function oe(e) {
165
165
  return typeof e == "object" && e !== null && e.type === "absent";
166
166
  }
@@ -168,7 +168,7 @@ function ae(e, t, n = {}) {
168
168
  if (j(e.absent, t))
169
169
  return n.absent === void 0 ? C : n.absent;
170
170
  const r = e.data[t], o = e.type;
171
- if (O(r, o)) return n.na === void 0 ? L : n.na;
171
+ if (O(r, o)) return n.na === void 0 ? $ : n.na;
172
172
  switch (o) {
173
173
  case "Int":
174
174
  return r;
@@ -190,7 +190,7 @@ function l(e) {
190
190
  const { type: t, name: n, domain: r } = e, o = { type: t, name: n };
191
191
  return r && Object.entries(r).length > 0 && Object.assign(o, { domain: r }), o;
192
192
  }
193
- function $(e) {
193
+ function L(e) {
194
194
  return e.map(l);
195
195
  }
196
196
  function ie(e) {
@@ -526,7 +526,7 @@ function ye(e) {
526
526
  kind: e.kind,
527
527
  name: e.name
528
528
  };
529
- return e.domain !== void 0 && (t.domain = e.domain), h(e) && (t.axesSpec = $(e.axesSpec)), p(t);
529
+ return e.domain !== void 0 && (t.domain = e.domain), h(e) && (t.axesSpec = L(e.axesSpec)), p(t);
530
530
  }
531
531
  f.object({
532
532
  __isRef: f.literal(!0).describe("Crucial marker for the block dependency tree reconstruction"),
@@ -553,7 +553,7 @@ function be(e, t = !0) {
553
553
  function ge(e, t) {
554
554
  return e.ok ? { ok: !0, value: t(e.value) } : e;
555
555
  }
556
- function F(e) {
556
+ function U(e) {
557
557
  if (e instanceof Int8Array || e instanceof Uint8Array || e instanceof Uint8ClampedArray)
558
558
  return new DataView(e.buffer, e.byteOffset, e.byteLength);
559
559
  if (e instanceof ArrayBuffer) return new DataView(e);
@@ -561,17 +561,17 @@ function F(e) {
561
561
  "Expected `data` to be an ArrayBuffer, Buffer, Int8Array, Uint8Array or Uint8ClampedArray"
562
562
  );
563
563
  }
564
- const M = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567", U = "0123456789ABCDEFGHIJKLMNOPQRSTUV", _ = "0123456789ABCDEFGHJKMNPQRSTVWXYZ";
565
- function z(e, t, n) {
564
+ const F = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567", M = "0123456789ABCDEFGHIJKLMNOPQRSTUV", _ = "0123456789ABCDEFGHJKMNPQRSTVWXYZ";
565
+ function q(e, t, n) {
566
566
  n = n || {};
567
567
  let r, o;
568
568
  switch (t) {
569
569
  case "RFC3548":
570
570
  case "RFC4648":
571
- r = M, o = !0;
571
+ r = F, o = !0;
572
572
  break;
573
573
  case "RFC4648-HEX":
574
- r = U, o = !0;
574
+ r = M, o = !0;
575
575
  break;
576
576
  case "Crockford":
577
577
  r = _, o = !1;
@@ -579,7 +579,7 @@ function z(e, t, n) {
579
579
  default:
580
580
  throw new Error("Unknown base32 variant: " + String(t));
581
581
  }
582
- const s = n.padding !== void 0 ? n.padding : o, i = F(e);
582
+ const s = n.padding !== void 0 ? n.padding : o, i = U(e);
583
583
  let a = 0, c = 0, u = "";
584
584
  for (let d = 0; d < i.byteLength; d++)
585
585
  for (c = c << 8 | i.getUint8(d), a += 8; a >= 5; )
@@ -589,10 +589,10 @@ function z(e, t, n) {
589
589
  u += "=";
590
590
  return u;
591
591
  }
592
- const q = 15, H = 24, G = f.string().length(H).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
592
+ const z = 15, H = 24, Q = f.string().length(H).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
593
593
  function we() {
594
- const e = new Uint8Array(q);
595
- return crypto.getRandomValues(e), G.parse(z(e, "RFC4648"));
594
+ const e = new Uint8Array(z);
595
+ return crypto.getRandomValues(e), Q.parse(q(e, "RFC4648"));
596
596
  }
597
597
  function ve(e) {
598
598
  return p(e);
@@ -600,10 +600,10 @@ function ve(e) {
600
600
  function xe(e) {
601
601
  return JSON.parse(e);
602
602
  }
603
- function Q(e) {
604
- return e instanceof Error ? e.name === "AbortError" || Q(e.cause) : !1;
603
+ function G(e) {
604
+ return e instanceof Error ? e.name === "AbortError" || G(e.cause) : !1;
605
605
  }
606
- function X(e) {
606
+ function Y(e) {
607
607
  if (typeof e == "string")
608
608
  return `String value was thrown: ${e}`;
609
609
  if (e && typeof e == "object")
@@ -615,7 +615,7 @@ function X(e) {
615
615
  return `Non-Error value (${typeof e}) was thrown: ${e}`;
616
616
  }
617
617
  function Ae(e) {
618
- return e instanceof Error ? e : new Error(X(e));
618
+ return e instanceof Error ? e : new Error(Y(e));
619
619
  }
620
620
  function P(e) {
621
621
  const t = e.cause ? P(e.cause) : void 0, n = new Error(e.message, t !== void 0 ? { cause: t } : void 0);
@@ -629,13 +629,13 @@ function Pe(e) {
629
629
  export {
630
630
  ue as AnchoredIdDeriver,
631
631
  C as PTableAbsent,
632
- L as PTableNA,
632
+ $ as PTableNA,
633
633
  J as PValueBytesNA,
634
634
  N as PValueIntNA,
635
635
  b as PValueLongNA,
636
636
  I as PValueStringNA,
637
- G as PlId,
638
- q as PlIdBytes,
637
+ Q as PlId,
638
+ z as PlIdBytes,
639
639
  H as PlIdLength,
640
640
  ie as canonicalizeAxisId,
641
641
  ve as canonicalizeJson,
@@ -646,11 +646,11 @@ export {
646
646
  de as ensurePColumn,
647
647
  re as entriesToDataInfo,
648
648
  pe as extractAllColumns,
649
- $ as getAxesId,
649
+ L as getAxesId,
650
650
  l as getAxisId,
651
651
  ce as getPTableColumnId,
652
- Q as hasAbortError,
653
- W as isDataInfo,
652
+ G as hasAbortError,
653
+ Z as isDataInfo,
654
654
  S as isDataInfoEntries,
655
655
  K as isPColumn,
656
656
  h as isPColumnSpec,
@@ -24,4 +24,4 @@ const f = /* @__PURE__ */ n({
24
24
  export {
25
25
  f as default
26
26
  };
27
- //# sourceMappingURL=ExpandTransition.vue2.js.map
27
+ //# sourceMappingURL=ExpandTransition.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExpandTransition.vue.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.vue2.js";
5
+ import _ from "./ExpandTransition.vue.js";
6
6
  (function() {
7
7
  try {
8
8
  if (typeof document < "u") {
@@ -1,4 +1,4 @@
1
- import { defineComponent as M, reactive as P, useSlots as j, computed as i, watch as I, ref as q, createElementBlock as n, openBlock as o, Fragment as S, createElementVNode as u, createVNode as D, normalizeClass as B, createCommentVNode as s, withModifiers as N, withKeys as H, createBlock as p, normalizeStyle as K, toDisplayString as c, unref as r, withCtx as L, renderSlot as Q, createTextVNode as R } from "vue";
1
+ import { defineComponent as M, reactive as P, useSlots as I, computed as i, watch as j, ref as q, createElementBlock as n, openBlock as o, Fragment as S, createElementVNode as u, createVNode as D, normalizeClass as B, createCommentVNode as s, withModifiers as N, withKeys as H, createBlock as p, normalizeStyle as K, toDisplayString as c, unref as r, withCtx as L, renderSlot as Q, createTextVNode as R } from "vue";
2
2
  import { prettyBytes as x } from "../../lib/util/helpers/dist/index.js";
3
3
  import "../../sdk/model/dist/index.js";
4
4
  import U from "../../generated/components/svg/images/SvgRequired.vue2.js";
@@ -52,7 +52,7 @@ const ee = {
52
52
  const a = P({
53
53
  fileDialogOpen: !1,
54
54
  error: void 0
55
- }), _ = j(), g = v, l = h, b = (e, t) => {
55
+ }), _ = I(), g = v, l = h, b = (e, t) => {
56
56
  if (e)
57
57
  try {
58
58
  return t(e);
@@ -70,10 +70,10 @@ const ee = {
70
70
  } : {};
71
71
  }), C = () => {
72
72
  a.fileDialogOpen = !0;
73
- }, F = (e) => {
73
+ }, $ = (e) => {
74
74
  e.files.length && g("update:modelValue", e.files[0]);
75
- }, $ = () => g("update:modelValue", void 0);
76
- I(
75
+ }, F = () => g("update:modelValue", void 0);
76
+ j(
77
77
  () => l.modelValue,
78
78
  () => a.error = void 0,
79
79
  { immediate: !0 }
@@ -133,7 +133,7 @@ const ee = {
133
133
  key: 6,
134
134
  class: "pl-file-input__clear",
135
135
  name: "close",
136
- onClick: N($, ["stop"])
136
+ onClick: N(F, ["stop"])
137
137
  })) : s("", !0),
138
138
  D(A, { class: "pl-file-input__contour" })
139
139
  ], 34),
@@ -145,7 +145,7 @@ const ee = {
145
145
  "close-on-outside-click": e.fileDialogCloseOnOutsideClick,
146
146
  extensions: e.extensions,
147
147
  title: e.fileDialogTitle,
148
- "onImport:files": F
148
+ "onImport:files": $
149
149
  }, null, 8, ["modelValue", "close-on-outside-click", "extensions", "title"])
150
150
  ], 64));
151
151
  }
@@ -344,7 +344,7 @@ function Q(n, e, t) {
344
344
  return r.axes && (r.axes = r.axes.map((i) => K(n, i))), r;
345
345
  }
346
346
  function K(n, e) {
347
- if (!T(e))
347
+ if (!D(e))
348
348
  return e;
349
349
  const t = e.anchor, r = n[t];
350
350
  if (!r)
@@ -370,17 +370,17 @@ function K(n, e) {
370
370
  }
371
371
  throw new Error("Unsupported axis reference type");
372
372
  }
373
- function T(n) {
373
+ function D(n) {
374
374
  return typeof n == "object" && "anchor" in n;
375
375
  }
376
376
  function h(n) {
377
377
  return n.kind === "PColumn";
378
378
  }
379
- function D(n) {
379
+ function F(n) {
380
380
  return h(n.spec);
381
381
  }
382
382
  function X(n) {
383
- if (!D(n)) throw new Error(`not a PColumn (kind = ${n.spec.kind})`);
383
+ if (!F(n)) throw new Error(`not a PColumn (kind = ${n.spec.kind})`);
384
384
  return n;
385
385
  }
386
386
  function Y(n, e) {
@@ -513,11 +513,11 @@ function rn(n, e = !0) {
513
513
  function on(n, e) {
514
514
  return n.ok ? { ok: !0, value: e(n.value) } : n;
515
515
  }
516
- const F = 24;
517
- u.string().length(F).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
516
+ const T = 24;
517
+ u.string().length(T).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
518
518
  export {
519
519
  G as AnchoredIdDeriver,
520
- F as PlIdLength,
520
+ T as PlIdLength,
521
521
  W as canonicalizeAxisId,
522
522
  q as dataInfoToEntries,
523
523
  en as deriveNativeId,
@@ -532,7 +532,7 @@ export {
532
532
  E as isDataInfoEntries,
533
533
  J as isImportFileHandleIndex,
534
534
  I as isImportFileHandleUpload,
535
- D as isPColumn,
535
+ F as isPColumn,
536
536
  h as isPColumnSpec,
537
537
  H as isPartitionedDataInfoEntries,
538
538
  tn as isPlRef,
@@ -1256,7 +1256,7 @@ class G {
1256
1256
  this.ctx.logError(e);
1257
1257
  }
1258
1258
  }
1259
- const ht = "1.42.0", Y = ht;
1259
+ const ht = "1.42.1", Y = ht;
1260
1260
  function pt(i) {
1261
1261
  return i.__renderLambda === !0;
1262
1262
  }
@@ -1256,7 +1256,7 @@ class X {
1256
1256
  this.ctx.logError(e);
1257
1257
  }
1258
1258
  }
1259
- const vt = "1.42.0", Y = vt;
1259
+ const vt = "1.42.1", Y = vt;
1260
1260
  function Tt(n) {
1261
1261
  return n.__renderLambda === !0;
1262
1262
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platforma-sdk/ui-vue",
3
- "version": "1.42.0",
3
+ "version": "1.42.1",
4
4
  "type": "module",
5
5
  "main": "dist/lib.js",
6
6
  "styles": "dist/lib.js",
@@ -26,8 +26,8 @@
26
26
  "d3-format": "^3.1.0",
27
27
  "zod": "~3.23.8",
28
28
  "@milaboratories/biowasm-tools": "^1.1.0",
29
- "@milaboratories/uikit": "2.3.24",
30
- "@platforma-sdk/model": "~1.42.0"
29
+ "@milaboratories/uikit": "2.3.25",
30
+ "@platforma-sdk/model": "~1.42.1"
31
31
  },
32
32
  "devDependencies": {
33
33
  "happy-dom": "^15.11.7",
@@ -44,9 +44,9 @@
44
44
  "fast-json-patch": "^3.1.1",
45
45
  "@faker-js/faker": "^9.2.0",
46
46
  "@milaboratories/ts-configs": "1.0.5",
47
+ "@milaboratories/build-configs": "1.0.5",
47
48
  "@milaboratories/eslint-config": "^1.0.4",
48
- "@milaboratories/helpers": "^1.6.19",
49
- "@milaboratories/build-configs": "1.0.5"
49
+ "@milaboratories/helpers": "^1.6.19"
50
50
  },
51
51
  "scripts": {
52
52
  "test": "vitest run --passWithNoTests",
@@ -1 +0,0 @@
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;;;;;;;;;;;;;;;"}