@affino/datagrid-vue-app 0.1.37 → 0.1.39

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 (19) hide show
  1. package/dist/DataGrid.d.ts +1 -1
  2. package/dist/advanced-filter.js +1 -1
  3. package/dist/aggregations.js +1 -1
  4. package/dist/chunks/{DataGridAdvancedFilterPopover-CXT1rG40.js → DataGridAdvancedFilterPopover-BBLSw7c4.js} +1 -1
  5. package/dist/chunks/{DataGridAdvancedFilterPopover.vue_vue_type_script_setup_true_lang-BshOPOFV.js → DataGridAdvancedFilterPopover.vue_vue_type_script_setup_true_lang-BUkG_Bz7.js} +1 -1
  6. package/dist/chunks/{DataGridAggregationsPopover-BRVx8c_y.js → DataGridAggregationsPopover-C8kdwv0O.js} +1 -1
  7. package/dist/chunks/{DataGridAggregationsPopover.vue_vue_type_script_setup_true_lang-CsQpLONh.js → DataGridAggregationsPopover.vue_vue_type_script_setup_true_lang-t6v8MqIT.js} +1 -1
  8. package/dist/chunks/{DataGridFilterableCombobox.vue_vue_type_script_setup_true_lang-Dc5SowKk.js → DataGridFilterableCombobox.vue_vue_type_script_setup_true_lang-xry4J3Lx.js} +66 -62
  9. package/dist/chunks/DataGridGanttStageEntry-o99nyV0i.js +9665 -0
  10. package/dist/chunks/{useDataGridAppRowModel-JUDjg-Fq.js → useDataGridAppRowModel-Dy5CF0h4.js} +1614 -1597
  11. package/dist/gantt.js +4 -4
  12. package/dist/index.js +413 -397
  13. package/dist/internal.js +28 -29
  14. package/dist/stage/dataGridTableStage.types.d.ts +2 -2
  15. package/dist/stage/useDataGridTableStageRuntime.d.ts +12 -12
  16. package/package.json +4 -4
  17. package/dist/chunks/DataGridGanttStage.vue_vue_type_script_setup_true_lang-DJ72Tgpd.js +0 -1007
  18. package/dist/chunks/DataGridGanttStageEntry-C4qhNhnp.js +0 -40
  19. package/dist/chunks/DataGridTableStage.vue_vue_type_script_setup_true_lang-Q2ri6J1V.js +0 -8604
@@ -932,8 +932,8 @@ declare const DataGridRuntimeComponent: import("vue").DefineComponent<{
932
932
  readonly virtualization: DataGridVirtualizationProp | undefined;
933
933
  readonly pagination: DataGridPaginationProp | undefined;
934
934
  readonly rowModel: DataGridRowModel<unknown> | undefined;
935
- readonly aggregations: DataGridAggregationsProp | undefined;
936
935
  readonly baseRowHeight: number;
936
+ readonly aggregations: DataGridAggregationsProp | undefined;
937
937
  readonly sortModel: readonly DataGridSortState[] | undefined;
938
938
  readonly filterModel: DataGridFilterSnapshot | null | undefined;
939
939
  readonly groupBy: DataGridGroupByProp | undefined;
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./chunks/DataGridAdvancedFilterPopover.vue_vue_type_script_setup_true_lang-BshOPOFV.js";
1
+ import { _ as e } from "./chunks/DataGridAdvancedFilterPopover.vue_vue_type_script_setup_true_lang-BUkG_Bz7.js";
2
2
  export {
3
3
  e as DataGridAdvancedFilterPopover
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as a } from "./chunks/DataGridAggregationsPopover.vue_vue_type_script_setup_true_lang-CsQpLONh.js";
1
+ import { _ as a } from "./chunks/DataGridAggregationsPopover.vue_vue_type_script_setup_true_lang-t6v8MqIT.js";
2
2
  export {
3
3
  a as DataGridAggregationsPopover
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./DataGridAdvancedFilterPopover.vue_vue_type_script_setup_true_lang-BshOPOFV.js";
1
+ import { _ as f } from "./DataGridAdvancedFilterPopover.vue_vue_type_script_setup_true_lang-BUkG_Bz7.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as j, inject as q, ref as w, computed as v, watch as y, nextTick as P, openBlock as o, createElementBlock as n, Fragment as h, createElementVNode as e, mergeProps as I, unref as s, createCommentVNode as A, createTextVNode as G, toDisplayString as C, createBlock as L, Teleport as z, renderList as T, createVNode as O } from "vue";
2
2
  import { usePopoverController as J, useFloatingPopover as K } from "@affino/popover-vue";
3
- import { _ as k } from "./DataGridFilterableCombobox.vue_vue_type_script_setup_true_lang-Dc5SowKk.js";
3
+ import { _ as k } from "./DataGridFilterableCombobox.vue_vue_type_script_setup_true_lang-xry4J3Lx.js";
4
4
  import { d as M, r as Z } from "./dataGridOverlayThemeVars-vzY74EIz.js";
5
5
  import { u as H } from "./useDataGridDraggableOverlaySurface-BgkSR_nl.js";
6
6
  const Q = ["data-datagrid-advanced-filter-active"], U = {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./DataGridAggregationsPopover.vue_vue_type_script_setup_true_lang-CsQpLONh.js";
1
+ import { _ as f } from "./DataGridAggregationsPopover.vue_vue_type_script_setup_true_lang-t6v8MqIT.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as V, inject as E, ref as b, computed as d, watch as _, nextTick as m, openBlock as l, createElementBlock as i, Fragment as y, createElementVNode as e, mergeProps as k, unref as f, toDisplayString as h, createBlock as G, Teleport as D, createVNode as C, renderList as I, createCommentVNode as L } from "vue";
2
2
  import { usePopoverController as j, useFloatingPopover as z } from "@affino/popover-vue";
3
- import { _ as O } from "./DataGridFilterableCombobox.vue_vue_type_script_setup_true_lang-Dc5SowKk.js";
3
+ import { _ as O } from "./DataGridFilterableCombobox.vue_vue_type_script_setup_true_lang-xry4J3Lx.js";
4
4
  import { d as q, r as K } from "./dataGridOverlayThemeVars-vzY74EIz.js";
5
5
  const U = ["disabled", "title"], H = { class: "datagrid-aggregations__header" }, J = /* @__PURE__ */ e("div", null, [
6
6
  /* @__PURE__ */ e("div", { class: "datagrid-aggregations__eyebrow" }, "Aggregations"),
@@ -1,4 +1,4 @@
1
- import { defineComponent as Ce, inject as ke, ref as v, useAttrs as Le, computed as s, watch as B, nextTick as m, onMounted as Fe, onBeforeUnmount as Se, openBlock as b, createElementBlock as h, createElementVNode as ne, mergeProps as Ae, withModifiers as V, createBlock as Re, Teleport as Me, normalizeStyle as Be, normalizeClass as oe, Fragment as le, renderList as Ve, toDisplayString as De, createCommentVNode as U } from "vue";
1
+ import { defineComponent as Oe, inject as ke, ref as v, useAttrs as Le, computed as s, watch as V, nextTick as m, onMounted as Fe, onBeforeUnmount as Se, openBlock as b, createElementBlock as h, createElementVNode as ne, mergeProps as Ae, withModifiers as w, createBlock as Re, Teleport as Me, normalizeStyle as Be, normalizeClass as oe, Fragment as le, renderList as Ve, toDisplayString as De, createCommentVNode as U } from "vue";
2
2
  import { d as Te, r as Pe } from "./dataGridOverlayThemeVars-vzY74EIz.js";
3
3
  function Ne(n = {}) {
4
4
  return {
@@ -7,7 +7,7 @@ function Ne(n = {}) {
7
7
  activeIndex: n.activeIndex ?? -1
8
8
  };
9
9
  }
10
- function k(n, o) {
10
+ function L(n, o) {
11
11
  return n.open === o ? n : {
12
12
  ...n,
13
13
  open: o
@@ -19,7 +19,7 @@ function X(n, o) {
19
19
  filter: o
20
20
  };
21
21
  }
22
- function L(n, o, t) {
22
+ function F(n, o, t) {
23
23
  const r = $e(o, t);
24
24
  return r === n.activeIndex ? n : {
25
25
  ...n,
@@ -30,9 +30,9 @@ function ae(n, o, t, r = !0) {
30
30
  if (t <= 0 || o === 0)
31
31
  return n;
32
32
  if (n.activeIndex < 0)
33
- return L(n, o > 0 ? 0 : t - 1, t);
33
+ return F(n, o > 0 ? 0 : t - 1, t);
34
34
  const u = n.activeIndex + Math.trunc(o);
35
- return r ? L(n, Ge(u, t), t) : L(n, u, t);
35
+ return r ? F(n, Ge(u, t), t) : F(n, u, t);
36
36
  }
37
37
  function $e(n, o) {
38
38
  if (o <= 0)
@@ -58,8 +58,8 @@ function Je(n, o) {
58
58
  return r.sort((u, c) => {
59
59
  if (u.score !== c.score)
60
60
  return u.score - c.score;
61
- const w = u.option.label.length, d = c.option.label.length;
62
- return w !== d ? w - d : u.originalIndex - c.originalIndex;
61
+ const I = u.option.label.length, d = c.option.label.length;
62
+ return I !== d ? I - d : u.originalIndex - c.originalIndex;
63
63
  }), r.map((u) => u.option);
64
64
  }
65
65
  function Ye(n, o) {
@@ -84,7 +84,7 @@ const Ze = ["id", "name", "value", "placeholder", "disabled", "aria-expanded", "
84
84
  class: "datagrid-cell-combobox__empty"
85
85
  }, at = {
86
86
  inheritAttrs: !1
87
- }, pt = /* @__PURE__ */ Ce({
87
+ }, pt = /* @__PURE__ */ Oe({
88
88
  ...at,
89
89
  __name: "DataGridFilterableCombobox",
90
90
  props: {
@@ -101,8 +101,8 @@ const Ze = ["id", "name", "value", "placeholder", "disabled", "aria-expanded", "
101
101
  },
102
102
  emits: ["commit", "cancel", "optionsResolved"],
103
103
  setup(n, { emit: o }) {
104
- const t = n, r = o, u = ke(Te, v(null)), c = Le(), w = v(null), d = v(null), I = v(null), q = v({}), D = v({}), F = v("below"), E = v(""), T = v(!1), P = v([]), l = v(Ne({ open: !1 })), O = `datagrid-filterable-combobox-${Math.random().toString(36).slice(2, 10)}`, ue = `${O}-input`, se = `${O}-field`;
105
- let S = 0;
104
+ const t = n, r = o, u = ke(Te, v(null)), c = Le(), I = v(null), d = v(null), E = v(null), q = v({}), D = v({}), S = v("below"), C = v(""), T = v(!1), P = v([]), l = v(Ne({ open: !1 })), O = `datagrid-filterable-combobox-${Math.random().toString(36).slice(2, 10)}`, ue = `${O}-input`, se = `${O}-field`;
105
+ let A = 0;
106
106
  const ce = s(() => {
107
107
  const {
108
108
  class: e,
@@ -118,9 +118,9 @@ const Ze = ["id", "name", "value", "placeholder", "disabled", "aria-expanded", "
118
118
  onBlur: st,
119
119
  onKeydown: ct,
120
120
  onClick: dt,
121
- ...Oe
121
+ ...Ce
122
122
  } = c;
123
- return Oe;
123
+ return Ce;
124
124
  }), de = s(() => String(c.id ?? ue)), ve = s(() => String(c.name ?? se)), fe = s(() => [
125
125
  "cell-editor-control",
126
126
  "datagrid-cell-combobox__input",
@@ -128,7 +128,7 @@ const Ze = ["id", "name", "value", "placeholder", "disabled", "aria-expanded", "
128
128
  ]), pe = s(() => c.style), me = s(() => {
129
129
  if (!t.inlinePanel)
130
130
  return "body";
131
- }), N = s(() => j.value.find((e) => e.value === t.value) ?? null), j = s(() => t.loadOptions && P.value.length > 0 ? P.value : t.options), p = s(() => Je(j.value, l.value.filter)), _ = s(() => l.value.activeIndex), A = s(() => _.value >= 0 ? p.value[_.value] ?? null : null), be = s(() => _.value >= 0 ? J(_.value) : void 0), $ = s(() => l.value.open);
131
+ }), N = s(() => j.value.find((e) => e.value === t.value) ?? null), j = s(() => t.loadOptions && P.value.length > 0 ? P.value : t.options), p = s(() => Je(j.value, l.value.filter)), _ = s(() => l.value.activeIndex), R = s(() => _.value >= 0 ? p.value[_.value] ?? null : null), be = s(() => _.value >= 0 ? J(_.value) : void 0), $ = s(() => l.value.open);
132
132
  function J(e) {
133
133
  return `${O}-option-${e}`;
134
134
  }
@@ -136,12 +136,12 @@ const Ze = ["id", "name", "value", "placeholder", "disabled", "aria-expanded", "
136
136
  q.value = Pe(u.value);
137
137
  }
138
138
  function G() {
139
- E.value = N.value?.label ?? t.value;
139
+ C.value = N.value?.label ?? t.value;
140
140
  }
141
141
  function Y() {
142
- E.value = t.initialFilter;
142
+ C.value = t.initialFilter;
143
143
  }
144
- function C(e) {
144
+ function k(e) {
145
145
  const a = p.value;
146
146
  if (a.length === 0) {
147
147
  l.value = {
@@ -155,27 +155,27 @@ const Ze = ["id", "name", "value", "placeholder", "disabled", "aria-expanded", "
155
155
  const f = a.findIndex((y) => y.value === N.value?.value);
156
156
  f >= 0 && (i = f);
157
157
  }
158
- l.value = L(l.value, i, a.length);
158
+ l.value = F(l.value, i, a.length);
159
159
  }
160
160
  async function H(e) {
161
161
  if (!t.loadOptions)
162
162
  return;
163
- const a = S + 1;
164
- S = a, T.value = !0;
163
+ const a = A + 1;
164
+ A = a, T.value = !0;
165
165
  try {
166
166
  const i = await t.loadOptions(e);
167
- if (a !== S)
167
+ if (a !== A)
168
168
  return;
169
- P.value = i, r("optionsResolved", i), C(!0), m(() => {
169
+ P.value = i, r("optionsResolved", i), k(!0), m(() => {
170
170
  g(), x();
171
171
  });
172
172
  } finally {
173
- a === S && (T.value = !1);
173
+ a === A && (T.value = !1);
174
174
  }
175
175
  }
176
176
  function g() {
177
177
  if (t.inlinePanel) {
178
- F.value = "below", D.value = {
178
+ S.value = "below", D.value = {
179
179
  position: "absolute",
180
180
  top: "calc(100% - 1px)",
181
181
  left: "0px",
@@ -187,8 +187,8 @@ const Ze = ["id", "name", "value", "placeholder", "disabled", "aria-expanded", "
187
187
  }
188
188
  if (typeof window > "u" || !d.value)
189
189
  return;
190
- const e = d.value.getBoundingClientRect(), a = Math.max(e.width, 160), i = Math.min(I.value?.offsetHeight ?? 220, 260), y = window.innerHeight - e.bottom - 8 < Math.min(180, i) && e.top > i + 12;
191
- F.value = y ? "above" : "below";
190
+ const e = d.value.getBoundingClientRect(), a = Math.max(e.width, 160), i = Math.min(E.value?.offsetHeight ?? 220, 260), y = window.innerHeight - e.bottom - 8 < Math.min(180, i) && e.top > i + 12;
191
+ S.value = y ? "above" : "below";
192
192
  const ee = y ? Math.max(8, e.top - i + 1) : Math.min(window.innerHeight - i - 8, e.bottom - 1), te = Math.min(
193
193
  Math.max(8, e.left),
194
194
  Math.max(8, window.innerWidth - a - 8)
@@ -203,12 +203,12 @@ const Ze = ["id", "name", "value", "placeholder", "disabled", "aria-expanded", "
203
203
  };
204
204
  }
205
205
  function x() {
206
- if (!I.value || _.value < 0)
206
+ if (!E.value || _.value < 0)
207
207
  return;
208
- I.value.querySelector(`[data-option-index="${_.value}"]`)?.scrollIntoView({ block: "nearest" });
208
+ E.value.querySelector(`[data-option-index="${_.value}"]`)?.scrollIntoView({ block: "nearest" });
209
209
  }
210
210
  function W() {
211
- t.disabled || (l.value = k(l.value, !0), C(!0), m(() => {
211
+ t.disabled || (l.value = L(l.value, !0), k(!0), m(() => {
212
212
  if (g(), x(), d.value?.focus({ preventScroll: !0 }), !!d.value) {
213
213
  if (l.value.filter.length > 0) {
214
214
  const e = d.value.value.length;
@@ -219,28 +219,28 @@ const Ze = ["id", "name", "value", "placeholder", "disabled", "aria-expanded", "
219
219
  }
220
220
  }), t.loadOptions && H(l.value.filter));
221
221
  }
222
- function R() {
223
- l.value = k(l.value, !1);
222
+ function M() {
223
+ l.value = L(l.value, !1);
224
224
  }
225
225
  function _e(e) {
226
- return e instanceof Node && (w.value?.contains(e) === !0 || I.value?.contains(e) === !0);
226
+ return e instanceof Node && (I.value?.contains(e) === !0 || E.value?.contains(e) === !0);
227
227
  }
228
228
  function xe() {
229
229
  if (l.value.filter.trim().length === 0)
230
230
  return t.value;
231
- if (A.value)
232
- return A.value.value;
233
- const e = E.value.trim().toLocaleLowerCase();
231
+ if (R.value)
232
+ return R.value.value;
233
+ const e = C.value.trim().toLocaleLowerCase();
234
234
  return e.length === 0 ? t.value : p.value.find((i) => i.label.trim().toLocaleLowerCase() === e || i.value.trim().toLocaleLowerCase() === e)?.value ?? t.value;
235
235
  }
236
236
  function Z(e = "stay") {
237
- R(), r("commit", xe(), e);
237
+ M(), r("commit", xe(), e);
238
238
  }
239
239
  function Q(e, a = "stay") {
240
- R(), r("commit", e, a);
240
+ M(), r("commit", e, a);
241
241
  }
242
242
  function K(e) {
243
- l.value = L(l.value, e, p.value.length), m(x);
243
+ l.value = F(l.value, e, p.value.length), m(x);
244
244
  }
245
245
  function ye() {
246
246
  t.openOnFocus && W();
@@ -252,7 +252,7 @@ const Ze = ["id", "name", "value", "placeholder", "disabled", "aria-expanded", "
252
252
  if (t.disabled)
253
253
  return;
254
254
  const a = e.target.value;
255
- E.value = a, l.value = X(l.value, a), l.value = k(l.value, !0), C(!1), m(() => {
255
+ C.value = a, l.value = X(l.value, a), l.value = L(l.value, !0), k(!1), m(() => {
256
256
  g(), x();
257
257
  }), t.loadOptions && H(a);
258
258
  }
@@ -264,11 +264,11 @@ const Ze = ["id", "name", "value", "placeholder", "disabled", "aria-expanded", "
264
264
  function Ee(e) {
265
265
  if (!t.disabled) {
266
266
  if (e.key === "ArrowDown") {
267
- e.preventDefault(), l.value = k(l.value, !0), l.value = ae(l.value, 1, p.value.length, !0), m(x);
267
+ e.preventDefault(), l.value = L(l.value, !0), l.value = ae(l.value, 1, p.value.length, !0), m(x);
268
268
  return;
269
269
  }
270
270
  if (e.key === "ArrowUp") {
271
- e.preventDefault(), l.value = k(l.value, !0), l.value = ae(l.value, -1, p.value.length, !0), m(x);
271
+ e.preventDefault(), l.value = L(l.value, !0), l.value = ae(l.value, -1, p.value.length, !0), m(x);
272
272
  return;
273
273
  }
274
274
  if (e.key === "Home") {
@@ -280,36 +280,36 @@ const Ze = ["id", "name", "value", "placeholder", "disabled", "aria-expanded", "
280
280
  return;
281
281
  }
282
282
  if (e.key === "Enter" || e.key === "Tab") {
283
- if (e.preventDefault(), A.value) {
284
- Q(A.value.value, e.shiftKey ? "previous" : "next");
283
+ if (e.preventDefault(), R.value) {
284
+ Q(R.value.value, e.shiftKey ? "previous" : "next");
285
285
  return;
286
286
  }
287
287
  Z(e.shiftKey ? "previous" : "next");
288
288
  return;
289
289
  }
290
- e.key === "Escape" && (e.preventDefault(), R(), r("cancel"));
290
+ e.key === "Escape" && (e.preventDefault(), M(), r("cancel"));
291
291
  }
292
292
  }
293
- function M() {
293
+ function B() {
294
294
  $.value && g();
295
295
  }
296
- return B(() => t.options, () => {
297
- t.loadOptions || (C(!0), m(g));
298
- }, { immediate: !0 }), B(() => t.value, () => {
296
+ return V(() => t.options, () => {
297
+ t.loadOptions || (k(!0), m(g));
298
+ }, { immediate: !0 }), V(() => t.value, () => {
299
299
  G();
300
- }), B(() => t.initialFilter, (e) => {
301
- document.activeElement !== d.value && (l.value = X(l.value, e), e.length > 0 ? (Y(), H(e)) : G(), C(!0), m(() => {
300
+ }), V(() => t.initialFilter, (e) => {
301
+ document.activeElement !== d.value && (l.value = X(l.value, e), e.length > 0 ? (Y(), H(e)) : G(), k(!0), m(() => {
302
302
  g(), x();
303
303
  }));
304
- }), B(() => t.disabled, (e) => {
305
- e && R();
304
+ }), V(() => t.disabled, (e) => {
305
+ e && M();
306
306
  }), Fe(() => {
307
- he(), t.initialFilter.length > 0 ? (l.value = X(l.value, t.initialFilter), Y()) : G(), t.openOnMount && W(), typeof window < "u" && (window.addEventListener("resize", M), window.addEventListener("scroll", M, !0));
307
+ he(), t.initialFilter.length > 0 ? (l.value = X(l.value, t.initialFilter), Y()) : G(), t.openOnMount && W(), typeof window < "u" && (window.addEventListener("resize", B), window.addEventListener("scroll", B, !0));
308
308
  }), Se(() => {
309
- typeof window < "u" && (window.removeEventListener("resize", M), window.removeEventListener("scroll", M, !0));
309
+ typeof window < "u" && (window.removeEventListener("resize", B), window.removeEventListener("scroll", B, !0));
310
310
  }), (e, a) => (b(), h("div", {
311
311
  ref_key: "rootEl",
312
- ref: w,
312
+ ref: I,
313
313
  class: "datagrid-cell-combobox"
314
314
  }, [
315
315
  ne("input", Ae({
@@ -322,7 +322,7 @@ const Ze = ["id", "name", "value", "placeholder", "disabled", "aria-expanded", "
322
322
  style: pe.value,
323
323
  type: "text",
324
324
  role: "combobox",
325
- value: E.value,
325
+ value: C.value,
326
326
  placeholder: e.placeholder,
327
327
  disabled: e.disabled,
328
328
  "aria-expanded": $.value ? "true" : "false",
@@ -330,9 +330,13 @@ const Ze = ["id", "name", "value", "placeholder", "disabled", "aria-expanded", "
330
330
  "aria-autocomplete": "list",
331
331
  "aria-activedescendant": be.value,
332
332
  onFocus: ye,
333
- onClick: V(ge, ["stop"]),
333
+ onMousedown: a[0] || (a[0] = w(() => {
334
+ }, ["stop"])),
335
+ onContextmenu: a[1] || (a[1] = w(() => {
336
+ }, ["stop"])),
337
+ onClick: w(ge, ["stop"]),
334
338
  onInput: we,
335
- onKeydown: V(Ee, ["stop"]),
339
+ onKeydown: w(Ee, ["stop"]),
336
340
  onBlur: Ie
337
341
  }), null, 16, Ze),
338
342
  (b(), Re(Me, {
@@ -343,16 +347,16 @@ const Ze = ["id", "name", "value", "placeholder", "disabled", "aria-expanded", "
343
347
  key: 0,
344
348
  id: O,
345
349
  ref_key: "panelEl",
346
- ref: I,
350
+ ref: E,
347
351
  class: oe(["datagrid-cell-combobox__panel", {
348
352
  "datagrid-cell-combobox__panel--inline": e.inlinePanel,
349
- "datagrid-cell-combobox__panel--attached-below": F.value === "below",
350
- "datagrid-cell-combobox__panel--attached-above": F.value === "above"
353
+ "datagrid-cell-combobox__panel--attached-below": S.value === "below",
354
+ "datagrid-cell-combobox__panel--attached-above": S.value === "above"
351
355
  }]),
352
356
  "data-affino-popover-sticky": e.stickyPopoverId || void 0,
353
357
  style: Be([q.value, D.value]),
354
358
  role: "listbox",
355
- onMousedown: a[0] || (a[0] = V(() => {
359
+ onMousedown: a[2] || (a[2] = w(() => {
356
360
  }, ["prevent"]))
357
361
  }, [
358
362
  T.value ? (b(), h("div", et, "Loading options...")) : (b(), h(le, { key: 1 }, [
@@ -368,7 +372,7 @@ const Ze = ["id", "name", "value", "placeholder", "disabled", "aria-expanded", "
368
372
  "aria-selected": i.value === e.value ? "true" : "false",
369
373
  "data-option-index": f,
370
374
  onMousemove: (y) => K(f),
371
- onClick: V((y) => Q(i.value), ["stop"])
375
+ onClick: w((y) => Q(i.value), ["stop"])
372
376
  }, [
373
377
  ne("span", nt, De(i.label), 1),
374
378
  i.value === e.value ? (b(), h("span", ot)) : U("", !0)