@platforma-sdk/ui-vue 1.45.45 → 1.46.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.
Files changed (25) hide show
  1. package/.turbo/turbo-build.log +10 -10
  2. package/.turbo/turbo-type-check.log +1 -1
  3. package/CHANGELOG.md +18 -0
  4. package/dist/components/PlAdvancedFilter/FilterEditor.vue.d.ts +2 -6
  5. package/dist/components/PlAdvancedFilter/FilterEditor.vue2.js +138 -141
  6. package/dist/components/PlAdvancedFilter/FilterEditor.vue2.js.map +1 -1
  7. package/dist/components/PlAdvancedFilter/PlAdvancedFilter.vue.d.ts +2 -12
  8. package/dist/components/PlAdvancedFilter/PlAdvancedFilter.vue2.js +54 -56
  9. package/dist/components/PlAdvancedFilter/PlAdvancedFilter.vue2.js.map +1 -1
  10. package/dist/components/PlAgDataTable/PlAgDataTableV2.vue2.js +8 -8
  11. package/dist/components/PlAgDataTable/PlAgDataTableV2.vue2.js.map +1 -1
  12. package/dist/components/PlAnnotations/components/FilterSidebar.vue.d.ts +2 -6
  13. package/dist/components/PlAnnotations/components/FilterSidebar.vue2.js +29 -31
  14. package/dist/components/PlAnnotations/components/FilterSidebar.vue2.js.map +1 -1
  15. package/dist/components/PlAnnotations/components/PlAnnotations.vue2.js +14 -16
  16. package/dist/components/PlAnnotations/components/PlAnnotations.vue2.js.map +1 -1
  17. package/dist/components/PlAnnotations/components/PlAnnotationsModal.vue2.js +13 -15
  18. package/dist/components/PlAnnotations/components/PlAnnotationsModal.vue2.js.map +1 -1
  19. package/package.json +7 -7
  20. package/src/components/PlAdvancedFilter/FilterEditor.vue +16 -20
  21. package/src/components/PlAdvancedFilter/PlAdvancedFilter.vue +2 -6
  22. package/src/components/PlAgDataTable/PlAgDataTableV2.vue +7 -5
  23. package/src/components/PlAnnotations/components/FilterSidebar.vue +1 -5
  24. package/src/components/PlAnnotations/components/PlAnnotations.vue +0 -1
  25. package/src/components/PlAnnotations/components/PlAnnotationsModal.vue +0 -1
@@ -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.45.45 build /home/runner/_work/platforma/platforma/sdk/ui-vue
3
+ > @platforma-sdk/ui-vue@1.46.1 build /home/runner/_work/platforma/platforma/sdk/ui-vue
4
4
  > ts-builder build --target browser-lib
5
5
 
6
6
  Building browser-lib project...
@@ -79,8 +79,8 @@ computing gzip size...
79
79
  dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js  0.30 kB │ gzip: 0.23 kB │ map: 0.78 kB
80
80
  dist/components/PlBtnExportArchive/PlBtnExportArchive.vue.js  0.31 kB │ gzip: 0.22 kB │ map: 0.11 kB
81
81
  dist/components/PlAnnotations/components/PlAnnotationsModal.vue.js  0.31 kB │ gzip: 0.22 kB │ map: 0.11 kB
82
- dist/components/PlAgDataTable/PlAgDataTableSheets.vue.js  0.31 kB │ gzip: 0.22 kB │ map: 0.11 kB
83
82
  dist/components/PlAnnotations/components/AnnotationsSidebar.vue.js  0.31 kB │ gzip: 0.22 kB │ map: 0.11 kB
83
+ dist/components/PlAgDataTable/PlAgDataTableSheets.vue.js  0.31 kB │ gzip: 0.22 kB │ map: 0.11 kB
84
84
  dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js  0.31 kB │ gzip: 0.22 kB │ map: 0.76 kB
85
85
  dist/components/PlAgGridColumnManager/PlAgGridColumnManager.vue.js  0.32 kB │ gzip: 0.23 kB │ map: 0.12 kB
86
86
  dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js  0.32 kB │ gzip: 0.23 kB │ map: 0.74 kB
@@ -160,7 +160,7 @@ computing gzip size...
160
160
  dist/internal/createAppModel.js  1.73 kB │ gzip: 0.77 kB │ map: 4.81 kB
161
161
  dist/plugins/Monetization/RunStatus.vue3.js  1.79 kB │ gzip: 0.82 kB │ map: 0.11 kB
162
162
  dist/internal/UpdateSerializer.js  1.86 kB │ gzip: 0.80 kB │ map: 4.63 kB
163
- dist/components/PlAnnotations/components/PlAnnotationsModal.vue2.js  2.10 kB │ gzip: 0.88 kB │ map: 2.69 kB
163
+ dist/components/PlAnnotations/components/PlAnnotationsModal.vue2.js  1.99 kB │ gzip: 0.86 kB │ map: 2.62 kB
164
164
  dist/defineApp.js  2.15 kB │ gzip: 0.96 kB │ map: 9.58 kB
165
165
  dist/plugins/Monetization/useInfo.js  2.18 kB │ gzip: 0.80 kB │ map: 4.32 kB
166
166
  dist/components/PlAgTextAndButtonCell/PlAgTextAndButtonCell.vue.js  2.20 kB │ gzip: 1.05 kB │ map: 3.27 kB
@@ -170,7 +170,7 @@ computing gzip size...
170
170
  dist/components/PlTableFilters/PlTableFiltersV2.vue3.js  2.58 kB │ gzip: 0.94 kB │ map: 0.12 kB
171
171
  dist/components/PlTableFilters/filters-state.js  2.60 kB │ gzip: 1.08 kB │ map: 7.95 kB
172
172
  dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js  2.65 kB │ gzip: 0.94 kB │ map: 6.36 kB
173
- dist/components/PlAnnotations/components/PlAnnotations.vue2.js  2.79 kB │ gzip: 1.10 kB │ map: 4.11 kB
173
+ dist/components/PlAnnotations/components/PlAnnotations.vue2.js  2.68 kB │ gzip: 1.08 kB │ map: 4.03 kB
174
174
  dist/node_modules/.pnpm/fast-json-patch@3.1.1/node_modules/fast-json-patch/module/helpers.js  2.79 kB │ gzip: 1.21 kB │ map: 8.92 kB
175
175
  dist/components/PlAgDataTable/sources/row-number.js  3.10 kB │ gzip: 1.34 kB │ map: 8.36 kB
176
176
  dist/plugins/Monetization/LimitCard.vue3.js  3.10 kB │ gzip: 1.09 kB │ map: 0.11 kB
@@ -185,7 +185,7 @@ computing gzip size...
185
185
  dist/plugins/Monetization/LimitCard.vue2.js  3.84 kB │ gzip: 1.15 kB │ map: 9.38 kB
186
186
  dist/components/PlAgGridColumnManager/PlAgGridColumnManager.vue2.js  3.85 kB │ gzip: 1.53 kB │ map: 6.90 kB
187
187
  dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js  4.03 kB │ gzip: 1.23 kB │ map: 12.92 kB
188
- dist/components/PlAnnotations/components/FilterSidebar.vue2.js  4.33 kB │ gzip: 1.54 kB │ map: 7.56 kB
188
+ dist/components/PlAnnotations/components/FilterSidebar.vue2.js  4.22 kB │ gzip: 1.53 kB │ map: 7.29 kB
189
189
  dist/plugins/Monetization/MonetizationSidebar.vue.js  4.71 kB │ gzip: 1.75 kB │ map: 6.69 kB
190
190
  dist/components/BlockLayout.vue2.js  4.97 kB │ gzip: 1.84 kB │ map: 3.90 kB
191
191
  dist/components/PlAnnotations/components/AnnotationsSidebar.vue3.js  5.65 kB │ gzip: 1.67 kB │ map: 0.11 kB
@@ -198,10 +198,10 @@ computing gzip size...
198
198
  dist/components/PlAgDataTable/sources/table-source-v2.js  7.32 kB │ gzip: 2.67 kB │ map: 22.27 kB
199
199
  dist/components/PlTableFilters/PlTableFilterEntryV2.vue.js  7.36 kB │ gzip: 1.62 kB │ map: 10.79 kB
200
200
  dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js  7.70 kB │ gzip: 2.49 kB │ map: 25.65 kB
201
+ dist/components/PlAdvancedFilter/PlAdvancedFilter.vue2.js  8.32 kB │ gzip: 2.42 kB │ map: 16.71 kB
201
202
  dist/node_modules/.pnpm/fast-json-patch@3.1.1/node_modules/fast-json-patch/module/core.js  8.44 kB │ gzip: 2.53 kB │ map: 29.29 kB
202
- dist/components/PlAdvancedFilter/PlAdvancedFilter.vue2.js  8.46 kB │ gzip: 2.45 kB │ map: 17.06 kB
203
203
  dist/components/PlTableFilters/filters_logic.js  9.18 kB │ gzip: 2.18 kB │ map: 20.22 kB
204
- dist/components/PlAdvancedFilter/FilterEditor.vue2.js 13.00 kB │ gzip: 3.26 kB │ map: 25.89 kB
204
+ dist/components/PlAdvancedFilter/FilterEditor.vue2.js 12.66 kB │ gzip: 3.26 kB │ map: 24.94 kB
205
205
  dist/components/PlAgDataTable/PlAgOverlayNoRows.vue3.js 35.48 kB │ gzip: 26.70 kB │ map: 0.11 kB
206
206
  dist/components/PlAgDataTable/pl-ag-overlay-loading.module.scss.js 41.43 kB │ gzip: 30.91 kB │ map: 0.12 kB
207
207
  dist/index.js 43.15 kB │ gzip: 29.03 kB │ map: 0.13 kB
@@ -209,8 +209,8 @@ computing gzip size...
209
209
  dist/components/PlAgRowNumCheckbox/PlAgRowNumCheckbox.vue.js 44.32 kB │ gzip: 29.25 kB │ map: 3.03 kB
210
210
  dist/components/PlAgRowNumHeader.vue.js 44.59 kB │ gzip: 29.26 kB │ map: 4.04 kB
211
211
  dist/AgGridVue/useAgGridOptions.js 49.22 kB │ gzip: 30.12 kB │ map: 16.35 kB
212
- dist/components/PlAgDataTable/PlAgDataTableV2.vue2.js 50.33 kB │ gzip: 31.04 kB │ map: 34.62 kB
213
- [vite:dts] Declaration files built in 8001ms.
212
+ dist/components/PlAgDataTable/PlAgDataTableV2.vue2.js 50.37 kB │ gzip: 31.06 kB │ map: 34.73 kB
213
+ [vite:dts] Declaration files built in 7562ms.
214
214
 
215
- ✓ built in 9.80s
215
+ ✓ built in 9.17s
216
216
  Build completed successfully
@@ -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.45.45 type-check /home/runner/_work/platforma/platforma/sdk/ui-vue
3
+ > @platforma-sdk/ui-vue@1.46.1 type-check /home/runner/_work/platforma/platforma/sdk/ui-vue
4
4
  > ts-builder types --target browser-lib
5
5
 
6
6
  ↳ vue-tsc.js --noEmit --project ./tsconfig.json
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @platforma-sdk/ui-vue
2
2
 
3
+ ## 1.46.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 55055eb: Fix PlAgDataTableV2 ignoring manual column resize
8
+
9
+ ## 1.46.0
10
+
11
+ ### Minor Changes
12
+
13
+ - a81ce44: simplify pl autocomplete interface
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [a81ce44]
18
+ - @milaboratories/uikit@2.7.0
19
+ - @platforma-sdk/model@1.46.0
20
+
3
21
  ## 1.45.45
4
22
 
5
23
  ### Patch Changes
@@ -9,14 +9,10 @@ type __VLS_Props = {
9
9
  supportedFilters: typeof SUPPORTED_FILTER_TYPES;
10
10
  getSuggestOptions: (params: {
11
11
  columnId: PlAdvancedFilterColumnId;
12
- searchStr: string;
13
12
  axisIdx?: number;
14
- }) => ListOptionBase<string | number>[] | Promise<ListOptionBase<string | number>[]>;
15
- getSuggestModel?: (params: {
16
- columnId: PlAdvancedFilterColumnId;
13
+ searchType: 'value' | 'label';
17
14
  searchStr: string;
18
- axisIdx?: number;
19
- }) => ListOptionBase<string | number> | Promise<ListOptionBase<string | number>>;
15
+ }) => ListOptionBase<string | number>[] | Promise<ListOptionBase<string | number>[]>;
20
16
  onDelete: (columnId: PlAdvancedFilterColumnId) => void;
21
17
  onChangeOperand: (op: Operand) => void;
22
18
  };
@@ -1,19 +1,18 @@
1
- import { defineComponent as _, mergeModels as ee, useModel as le, computed as m, createElementBlock as x, openBlock as a, Fragment as E, createElementVNode as v, createVNode as F, normalizeClass as r, createCommentVNode as b, createBlock as c, unref as n, toDisplayString as te, renderList as oe } from "vue";
2
- import { PlIcon16 as B, PlDropdown as N, PlAutocomplete as D, PlTextField as A, Slider as ue, PlToggleSwitch as ne, PlAutocompleteMulti as ae, PlNumberField as q } from "@milaboratories/uikit";
3
- import { parseColumnId as U, isFilteredPColumn as z, stringifyColumnId as L } from "@platforma-sdk/model";
4
- import { DEFAULT_FILTERS as R, DEFAULT_FILTER_TYPE as se } from "./constants.js";
1
+ import { defineComponent as Z, mergeModels as _, useModel as ee, computed as v, createElementBlock as S, openBlock as a, Fragment as A, createElementVNode as m, createVNode as F, normalizeClass as i, createCommentVNode as f, createBlock as c, unref as n, toDisplayString as le, renderList as te } from "vue";
2
+ import { PlIcon16 as k, PlDropdown as E, PlAutocomplete as w, PlTextField as N, Slider as oe, PlToggleSwitch as ue, PlAutocompleteMulti as ne, PlNumberField as D } from "@milaboratories/uikit";
3
+ import { parseColumnId as T, isFilteredPColumn as M, stringifyColumnId as q } from "@platforma-sdk/model";
4
+ import { DEFAULT_FILTERS as z, DEFAULT_FILTER_TYPE as ae } from "./constants.js";
5
5
  import re from "./OperandButton.vue.js";
6
- import { getNormalizedSpec as w, getFilterInfo as M, isNumericFilter as ie, isPositionFilter as de } from "./utils.js";
7
- const pe = ["title"], fe = /* @__PURE__ */ _({
6
+ import { getNormalizedSpec as L, getFilterInfo as U, isNumericFilter as se, isPositionFilter as ie } from "./utils.js";
7
+ const de = ["title"], fe = /* @__PURE__ */ Z({
8
8
  __name: "FilterEditor",
9
- props: /* @__PURE__ */ ee({
9
+ props: /* @__PURE__ */ _({
10
10
  isLast: { type: Boolean },
11
11
  operand: {},
12
12
  enableDnd: { type: Boolean },
13
13
  columnOptions: {},
14
14
  supportedFilters: {},
15
15
  getSuggestOptions: { type: Function },
16
- getSuggestModel: { type: Function },
17
16
  onDelete: { type: Function },
18
17
  onChangeOperand: { type: Function }
19
18
  }, {
@@ -21,94 +20,95 @@ const pe = ["title"], fe = /* @__PURE__ */ _({
21
20
  filterModifiers: {}
22
21
  }),
23
22
  emits: ["update:filter"],
24
- setup(f) {
25
- const t = le(f, "filter"), p = f, T = (...e) => typeof p.getSuggestModel == "function" ? p.getSuggestModel(...e) : Promise.resolve(p.getSuggestOptions(...e)).then((l) => l[0]);
26
- async function j(e, l, u) {
27
- return Promise.all(l.map((i) => T({ columnId: e, searchStr: i, axisIdx: u })));
23
+ setup(g) {
24
+ const t = ee(g, "filter"), V = g;
25
+ async function I(e, l, u, r) {
26
+ return V.getSuggestOptions({ columnId: e, axisIdx: r, searchType: l, searchStr: u });
28
27
  }
29
- async function h(e, l, u) {
30
- return T({ columnId: e, searchStr: l, axisIdx: u });
28
+ async function R(e, l, u, r) {
29
+ if (l === "label" && typeof u == "string")
30
+ return I(e, l, u, r);
31
+ if (l === "value" && Array.isArray(u))
32
+ return (await Promise.all(u.map((p) => I(e, l, p, r)))).map((p) => p[0]);
33
+ throw new Error("Invalid arguments combination");
31
34
  }
32
- async function k(e, l, u) {
33
- return p.getSuggestOptions({ columnId: e, searchStr: l, axisIdx: u });
35
+ function h() {
36
+ const e = z[t.value.type];
37
+ t.value = Object.entries(e).reduce((l, [u, r]) => (l[u] = t.value[u] ?? r, l), {});
34
38
  }
35
- function W() {
36
- const e = R[t.value.type];
37
- t.value = Object.entries(e).reduce((l, [u, i]) => (l[u] = t.value[u] ?? i, l), {});
38
- }
39
- function X(e) {
39
+ function j(e) {
40
40
  if (!e)
41
41
  return;
42
- const l = p.columnOptions.find((d) => d.id === C(e));
42
+ const l = V.columnOptions.find((s) => s.id === C(e));
43
43
  if (!l)
44
44
  return;
45
- const u = M(t.value.type), i = w(l == null ? void 0 : l.spec);
46
- u.supportedFor(i) ? t.value.column = e : t.value = {
47
- ...R[se],
45
+ const u = U(t.value.type), r = L(l == null ? void 0 : l.spec);
46
+ u.supportedFor(r) ? t.value.column = e : t.value = {
47
+ ...z[ae],
48
48
  column: e
49
49
  };
50
50
  }
51
- const S = m(() => p.columnOptions.find((l) => l.id === C(t.value.column)) === void 0), Y = m(() => {
52
- const e = p.columnOptions.map((l) => ({ value: l.id, label: l.label ?? l }));
53
- return S.value && e.unshift({ value: t.value.column, label: "Inconsistent value" }), e;
51
+ const x = v(() => V.columnOptions.find((l) => l.id === C(t.value.column)) === void 0), W = v(() => {
52
+ const e = V.columnOptions.map((l) => ({ value: l.id, label: l.label ?? l }));
53
+ return x.value && e.unshift({ value: t.value.column, label: "Inconsistent value" }), e;
54
54
  });
55
55
  function C(e) {
56
56
  try {
57
- const l = U(e);
58
- return z(l) ? L(l.source) : e;
57
+ const l = T(e);
58
+ return M(l) ? q(l.source) : e;
59
59
  } catch {
60
60
  return e;
61
61
  }
62
62
  }
63
- function G(e) {
64
- const l = C(e), u = p.columnOptions.find((d) => d.id === l), i = ((u == null ? void 0 : u.axesToBeFixed) ?? []).reduce((d, V) => (d[V.idx] = void 0, d), {});
63
+ function X(e) {
64
+ const l = C(e), u = V.columnOptions.find((s) => s.id === l), r = ((u == null ? void 0 : u.axesToBeFixed) ?? []).reduce((s, p) => (s[p.idx] = void 0, s), {});
65
65
  try {
66
- const d = U(e);
67
- if (z(d))
66
+ const s = T(e);
67
+ if (M(s))
68
68
  return {
69
69
  source: l,
70
- axisFiltersByIndex: d.axisFilters.reduce((V, I) => (V[I[0]] = I[1], V), i)
70
+ axisFiltersByIndex: s.axisFilters.reduce((p, O) => (p[O[0]] = O[1], p), r)
71
71
  };
72
72
  } catch {
73
- return { source: e, axisFiltersByIndex: i };
73
+ return { source: e, axisFiltersByIndex: r };
74
74
  }
75
- return { source: e, axisFiltersByIndex: i };
75
+ return { source: e, axisFiltersByIndex: r };
76
76
  }
77
- function H(e) {
78
- return Object.keys(e.axisFiltersByIndex).length === 0 ? e.source : L({
79
- source: U(e.source),
77
+ function Y(e) {
78
+ return Object.keys(e.axisFiltersByIndex).length === 0 ? e.source : q({
79
+ source: T(e.source),
80
80
  axisFilters: Object.entries(e.axisFiltersByIndex).map(([l, u]) => [Number(l), u])
81
81
  });
82
82
  }
83
- const s = m({
84
- get: () => G(t.value.column),
83
+ const d = v({
84
+ get: () => X(t.value.column),
85
85
  set: (e) => {
86
- t.value.column = H(e);
86
+ t.value.column = Y(e);
87
87
  }
88
88
  });
89
- function J(e, l) {
90
- s.value = {
91
- ...s.value,
92
- axisFiltersByIndex: { ...s.value.axisFiltersByIndex, [e]: l }
89
+ function G(e, l) {
90
+ d.value = {
91
+ ...d.value,
92
+ axisFiltersByIndex: { ...d.value.axisFiltersByIndex, [e]: l }
93
93
  };
94
94
  }
95
- const y = m(() => p.columnOptions.find((e) => e.id === s.value.source)), $ = m(() => {
95
+ const y = v(() => V.columnOptions.find((e) => e.id === d.value.source)), $ = v(() => {
96
96
  var e;
97
- return (e = y.value) != null && e.spec ? w(y.value.spec) : null;
98
- }), P = m(() => {
97
+ return (e = y.value) != null && e.spec ? L(y.value.spec) : null;
98
+ }), P = v(() => {
99
99
  var e;
100
100
  return (e = $.value) == null ? void 0 : e.valueType;
101
- }), O = m(() => {
101
+ }), B = v(() => {
102
102
  var e;
103
- return !!((e = y.value) != null && e.error) || S.value;
104
- }), K = m(
105
- () => p.supportedFilters.filter(
106
- (e) => t.value.type === e || ($.value ? M(e).supportedFor($.value) : !0)
107
- ).map((e) => ({ value: e, label: M(e).label }))
108
- ), Q = m(() => {
103
+ return !!((e = y.value) != null && e.error) || x.value;
104
+ }), H = v(
105
+ () => V.supportedFilters.filter(
106
+ (e) => t.value.type === e || ($.value ? U(e).supportedFor($.value) : !0)
107
+ ).map((e) => ({ value: e, label: U(e).label }))
108
+ ), J = v(() => {
109
109
  var e, l;
110
110
  return t.value.type !== "patternFuzzyContainSubsequence" ? [] : ((e = y.value) == null ? void 0 : e.alphabet) === "nucleotide" ? [{ label: "N", value: "N" }] : ((l = y.value) == null ? void 0 : l.alphabet) === "aminoacid" ? [{ label: "X", value: "X" }] : [...new Set(t.value.value.split(""))].sort().map((u) => ({ value: u, label: u }));
111
- }), Z = m(() => {
111
+ }), K = v(() => {
112
112
  if (t.value.type !== "patternMatchesRegularExpression")
113
113
  return !1;
114
114
  try {
@@ -118,182 +118,179 @@ const pe = ["title"], fe = /* @__PURE__ */ _({
118
118
  }
119
119
  });
120
120
  return (e, l) => {
121
- var u, i, d, V, I;
122
- return a(), x(E, null, [
123
- v("div", {
124
- class: r(e.$style.filterWrapper)
121
+ var u, r, s, p, O;
122
+ return a(), S(A, null, [
123
+ m("div", {
124
+ class: i(e.$style.filterWrapper)
125
125
  }, [
126
- f.enableDnd ? (a(), x("div", {
126
+ g.enableDnd ? (a(), S("div", {
127
127
  key: 0,
128
- class: r([e.$style.top, e.$style.columnChip, { [e.$style.error]: O.value }])
128
+ class: i([e.$style.top, e.$style.columnChip, { [e.$style.error]: B.value }])
129
129
  }, [
130
- v("div", {
131
- class: r([e.$style.typeIcon, { [e.$style.error]: O.value }])
130
+ m("div", {
131
+ class: i([e.$style.typeIcon, { [e.$style.error]: B.value }])
132
132
  }, [
133
- O.value ? (a(), c(n(B), {
133
+ B.value ? (a(), c(n(k), {
134
134
  key: 0,
135
135
  name: "warning"
136
- })) : (a(), c(n(B), {
136
+ })) : (a(), c(n(k), {
137
137
  key: 1,
138
138
  name: P.value === "String" || P.value === void 0 ? "cell-type-txt" : "cell-type-num"
139
139
  }, null, 8, ["name"]))
140
140
  ], 2),
141
- v("div", {
142
- class: r(e.$style.titleWrapper),
141
+ m("div", {
142
+ class: i(e.$style.titleWrapper),
143
143
  title: ((u = y.value) == null ? void 0 : u.label) ?? ""
144
144
  }, [
145
- v("div", {
146
- class: r(e.$style.title)
147
- }, te(S.value ? "Inconsistent value" : ((i = y.value) == null ? void 0 : i.label) ?? t.value.column), 3)
148
- ], 10, pe),
149
- v("div", {
150
- class: r(e.$style.closeIcon),
151
- onClick: l[0] || (l[0] = (o) => f.onDelete(t.value.column))
145
+ m("div", {
146
+ class: i(e.$style.title)
147
+ }, le(x.value ? "Inconsistent value" : ((r = y.value) == null ? void 0 : r.label) ?? t.value.column), 3)
148
+ ], 10, de),
149
+ m("div", {
150
+ class: i(e.$style.closeIcon),
151
+ onClick: l[0] || (l[0] = (o) => g.onDelete(t.value.column))
152
152
  }, [
153
- F(n(B), { name: "close" })
153
+ F(n(k), { name: "close" })
154
154
  ], 2)
155
- ], 2)) : (a(), x("div", {
155
+ ], 2)) : (a(), S("div", {
156
156
  key: 1,
157
- class: r(e.$style.top)
157
+ class: i(e.$style.top)
158
158
  }, [
159
- F(n(N), {
160
- modelValue: s.value.source,
159
+ F(n(E), {
160
+ modelValue: d.value.source,
161
161
  "onUpdate:modelValue": [
162
- l[1] || (l[1] = (o) => s.value.source = o),
163
- X
162
+ l[1] || (l[1] = (o) => d.value.source = o),
163
+ j
164
164
  ],
165
- errorStatus: O.value,
166
- options: Y.value,
165
+ errorStatus: B.value,
166
+ options: W.value,
167
167
  style: { width: "100%" },
168
168
  "group-position": "top-left"
169
169
  }, null, 8, ["modelValue", "errorStatus", "options"]),
170
- v("div", {
171
- class: r(e.$style.closeButton),
172
- onClick: l[2] || (l[2] = (o) => f.onDelete(t.value.column))
170
+ m("div", {
171
+ class: i(e.$style.closeButton),
172
+ onClick: l[2] || (l[2] = (o) => g.onDelete(t.value.column))
173
173
  }, [
174
- F(n(B), { name: "close" })
174
+ F(n(k), { name: "close" })
175
175
  ], 2)
176
176
  ], 2)),
177
- (V = (d = y.value) == null ? void 0 : d.axesToBeFixed) != null && V.length ? (a(), x("div", {
177
+ (p = (s = y.value) == null ? void 0 : s.axesToBeFixed) != null && p.length ? (a(), S("div", {
178
178
  key: 2,
179
- class: r(e.$style.fixedAxesBlock)
179
+ class: i(e.$style.fixedAxesBlock)
180
180
  }, [
181
- (a(!0), x(E, null, oe((I = y.value) == null ? void 0 : I.axesToBeFixed, (o) => (a(), c(n(D), {
181
+ (a(!0), S(A, null, te((O = y.value) == null ? void 0 : O.axesToBeFixed, (o) => (a(), c(n(w), {
182
182
  key: o.idx,
183
- modelValue: s.value.axisFiltersByIndex[o.idx],
184
- "onUpdate:modelValue": [(g) => s.value.axisFiltersByIndex[o.idx] = g, (g) => J(o.idx, g)],
183
+ modelValue: d.value.axisFiltersByIndex[o.idx],
184
+ "onUpdate:modelValue": [(b) => d.value.axisFiltersByIndex[o.idx] = b, (b) => G(o.idx, b)],
185
185
  label: o.label,
186
- "options-search": (g) => k(s.value.source, g, o.idx),
187
- "model-search": (g) => h(s.value.source, String(g), o.idx),
188
- disabled: S.value,
186
+ "options-search": (b, Q) => I(d.value.source, Q, b, o.idx),
187
+ disabled: x.value,
189
188
  clearable: !0
190
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options-search", "model-search", "disabled"]))), 128))
191
- ], 2)) : b("", !0),
192
- v("div", {
193
- class: r(t.value.type === "isNA" || t.value.type === "isNotNA" ? e.$style.bottom : e.$style.middle)
189
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options-search", "disabled"]))), 128))
190
+ ], 2)) : f("", !0),
191
+ m("div", {
192
+ class: i(t.value.type === "isNA" || t.value.type === "isNotNA" ? e.$style.bottom : e.$style.middle)
194
193
  }, [
195
- F(n(N), {
194
+ F(n(E), {
196
195
  modelValue: t.value.type,
197
196
  "onUpdate:modelValue": [
198
197
  l[3] || (l[3] = (o) => t.value.type = o),
199
- W
198
+ h
200
199
  ],
201
- options: K.value,
200
+ options: H.value,
202
201
  "group-position": t.value.type === "isNA" || t.value.type === "isNotNA" ? "bottom" : "middle"
203
202
  }, null, 8, ["modelValue", "options", "group-position"])
204
203
  ], 2),
205
- t.value.type === "patternFuzzyContainSubsequence" ? (a(), x(E, { key: 3 }, [
206
- v("div", {
207
- class: r(e.$style.middle)
204
+ t.value.type === "patternFuzzyContainSubsequence" ? (a(), S(A, { key: 3 }, [
205
+ m("div", {
206
+ class: i(e.$style.middle)
208
207
  }, [
209
- F(n(A), {
208
+ F(n(N), {
210
209
  modelValue: t.value.value,
211
210
  "onUpdate:modelValue": l[4] || (l[4] = (o) => t.value.value = o),
212
211
  placeholder: "Substring",
213
212
  "group-position": "middle"
214
213
  }, null, 8, ["modelValue"])
215
214
  ], 2),
216
- v("div", {
217
- class: r(e.$style.innerSection)
215
+ m("div", {
216
+ class: i(e.$style.innerSection)
218
217
  }, [
219
- F(n(ue), {
218
+ F(n(oe), {
220
219
  modelValue: t.value.maxEdits,
221
220
  "onUpdate:modelValue": l[5] || (l[5] = (o) => t.value.maxEdits = o),
222
221
  max: 5,
223
222
  breakpoints: "",
224
223
  label: "Maximum number of substitutions and indels"
225
224
  }, null, 8, ["modelValue"]),
226
- F(n(ne), {
225
+ F(n(ue), {
227
226
  modelValue: t.value.substitutionsOnly,
228
227
  "onUpdate:modelValue": l[6] || (l[6] = (o) => t.value.substitutionsOnly = o),
229
228
  label: "Substitutions only"
230
229
  }, null, 8, ["modelValue"])
231
230
  ], 2)
232
- ], 64)) : b("", !0),
233
- v("div", {
234
- class: r(e.$style.bottom)
231
+ ], 64)) : f("", !0),
232
+ m("div", {
233
+ class: i(e.$style.bottom)
235
234
  }, [
236
- t.value.type === "patternEquals" || t.value.type === "patternNotEquals" ? (a(), c(n(D), {
235
+ t.value.type === "patternEquals" || t.value.type === "patternNotEquals" ? (a(), c(n(w), {
237
236
  key: 0,
238
237
  modelValue: t.value.value,
239
238
  "onUpdate:modelValue": l[7] || (l[7] = (o) => t.value.value = o),
240
- "options-search": (o) => k(s.value.source, o),
241
- "model-search": (o) => h(s.value.source, String(o)),
242
- disabled: S.value,
239
+ "options-search": (o, b) => I(d.value.source, b, o),
240
+ disabled: x.value,
243
241
  clearable: !0,
244
242
  "group-position": "bottom"
245
- }, null, 8, ["modelValue", "options-search", "model-search", "disabled"])) : b("", !0),
246
- t.value.type === "inSet" || t.value.type === "notInSet" ? (a(), c(n(ae), {
243
+ }, null, 8, ["modelValue", "options-search", "disabled"])) : f("", !0),
244
+ t.value.type === "inSet" || t.value.type === "notInSet" ? (a(), c(n(ne), {
247
245
  key: 1,
248
246
  modelValue: t.value.value,
249
247
  "onUpdate:modelValue": l[8] || (l[8] = (o) => t.value.value = o),
250
- "options-search": (o) => k(s.value.source, o),
251
- "model-search": (o) => j(s.value.source, o.map((g) => String(g))),
252
- disabled: S.value,
248
+ "options-search": (o, b) => R(d.value.source, b, o),
249
+ disabled: x.value,
253
250
  "group-position": "bottom"
254
- }, null, 8, ["modelValue", "options-search", "model-search", "disabled"])) : b("", !0),
255
- n(ie)(t.value) ? (a(), c(n(q), {
251
+ }, null, 8, ["modelValue", "options-search", "disabled"])) : f("", !0),
252
+ n(se)(t.value) ? (a(), c(n(D), {
256
253
  key: 2,
257
254
  modelValue: t.value.x,
258
255
  "onUpdate:modelValue": l[9] || (l[9] = (o) => t.value.x = o),
259
256
  "group-position": "bottom"
260
- }, null, 8, ["modelValue"])) : b("", !0),
261
- n(de)(t.value) ? (a(), c(n(q), {
257
+ }, null, 8, ["modelValue"])) : f("", !0),
258
+ n(ie)(t.value) ? (a(), c(n(D), {
262
259
  key: 3,
263
260
  modelValue: t.value.n,
264
261
  "onUpdate:modelValue": l[10] || (l[10] = (o) => t.value.n = o),
265
262
  "group-position": "bottom"
266
- }, null, 8, ["modelValue"])) : b("", !0),
267
- t.value.type === "patternContainSubsequence" || t.value.type === "patternNotContainSubsequence" ? (a(), c(n(A), {
263
+ }, null, 8, ["modelValue"])) : f("", !0),
264
+ t.value.type === "patternContainSubsequence" || t.value.type === "patternNotContainSubsequence" ? (a(), c(n(N), {
268
265
  key: 4,
269
266
  modelValue: t.value.value,
270
267
  "onUpdate:modelValue": l[11] || (l[11] = (o) => t.value.value = o),
271
268
  placeholder: "Substring",
272
269
  "group-position": "bottom"
273
- }, null, 8, ["modelValue"])) : b("", !0),
274
- t.value.type === "patternMatchesRegularExpression" ? (a(), c(n(A), {
270
+ }, null, 8, ["modelValue"])) : f("", !0),
271
+ t.value.type === "patternMatchesRegularExpression" ? (a(), c(n(N), {
275
272
  key: 5,
276
273
  modelValue: t.value.value,
277
274
  "onUpdate:modelValue": l[12] || (l[12] = (o) => t.value.value = o),
278
- error: Z.value ? "Regular expression is not valid" : void 0,
275
+ error: K.value ? "Regular expression is not valid" : void 0,
279
276
  placeholder: "Regular expression",
280
277
  "group-position": "bottom"
281
- }, null, 8, ["modelValue", "error"])) : b("", !0),
282
- t.value.type === "patternFuzzyContainSubsequence" ? (a(), c(n(N), {
278
+ }, null, 8, ["modelValue", "error"])) : f("", !0),
279
+ t.value.type === "patternFuzzyContainSubsequence" ? (a(), c(n(E), {
283
280
  key: 6,
284
281
  modelValue: t.value.wildcard,
285
282
  "onUpdate:modelValue": l[13] || (l[13] = (o) => t.value.wildcard = o),
286
283
  clearable: "",
287
284
  placeholder: "Wildcard value",
288
- options: Q.value,
285
+ options: J.value,
289
286
  "group-position": "bottom"
290
- }, null, 8, ["modelValue", "options"])) : b("", !0)
287
+ }, null, 8, ["modelValue", "options"])) : f("", !0)
291
288
  ], 2)
292
289
  ], 2),
293
290
  F(re, {
294
- active: f.operand,
295
- disabled: f.isLast,
296
- "on-select": f.onChangeOperand
291
+ active: g.operand,
292
+ disabled: g.isLast,
293
+ "on-select": g.onChangeOperand
297
294
  }, null, 8, ["active", "disabled", "on-select"])
298
295
  ], 64);
299
296
  };