@agrotools1/at-components 2.0.35 → 2.0.36

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 (29) hide show
  1. package/dist/changelog/versions/components/index.d.ts.map +1 -1
  2. package/dist/changelog/versions/components/v2.0.35.d.ts.map +1 -1
  3. package/dist/changelog/versions/components/v2.0.36.d.ts +4 -0
  4. package/dist/changelog/versions/components/v2.0.36.d.ts.map +1 -0
  5. package/dist/combobox/ComboboxList.vue.d.ts +6 -2
  6. package/dist/combobox/ComboboxList.vue.d.ts.map +1 -1
  7. package/dist/combobox/ComboboxList.vue.js +29 -26
  8. package/dist/data-table/DataTable.vue.d.ts +0 -8
  9. package/dist/data-table/DataTable.vue.d.ts.map +1 -1
  10. package/dist/data-table/DataTable.vue.js +28 -31
  11. package/dist/document-input/DocumentAutoComplete.vue.d.ts.map +1 -1
  12. package/dist/document-input/DocumentAutoComplete.vue.js +1 -2
  13. package/dist/dropdown-menu/DropdownMenuContent.vue.d.ts +6 -2
  14. package/dist/dropdown-menu/DropdownMenuContent.vue.d.ts.map +1 -1
  15. package/dist/dropdown-menu/DropdownMenuContent.vue.js +28 -25
  16. package/dist/index.css +1 -1
  17. package/dist/popover/PopoverContent.vue.d.ts +4 -0
  18. package/dist/popover/PopoverContent.vue.d.ts.map +1 -1
  19. package/dist/popover/PopoverContent.vue.js +27 -24
  20. package/dist/select/SelectContent.vue.d.ts +4 -0
  21. package/dist/select/SelectContent.vue.d.ts.map +1 -1
  22. package/dist/select/SelectContent.vue.js +43 -40
  23. package/dist/sheet/SheetContent.vue.d.ts.map +1 -1
  24. package/dist/sheet/SheetContent.vue.js +19 -25
  25. package/dist/sheet/SheetFooter.vue.js +3 -3
  26. package/dist/sheet/sheetContent.variants.d.ts +6 -0
  27. package/dist/sheet/sheetContent.variants.d.ts.map +1 -0
  28. package/dist/sheet/sheetContent.variants.js +20 -0
  29. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/changelog/versions/components/index.ts"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,4EAA4E;AAC5E,eAAO,MAAM,kBAAkB,EAAE,WAAW,EAoB3C,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/changelog/versions/components/index.ts"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,4EAA4E;AAC5E,eAAO,MAAM,kBAAkB,EAAE,WAAW,EAqB3C,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"v2.0.35.d.ts","sourceRoot":"","sources":["../../../../src/changelog/versions/components/v2.0.35.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,QAAA,MAAM,OAAO,EAAE,WAiBd,CAAA;AAED,eAAe,OAAO,CAAA"}
1
+ {"version":3,"file":"v2.0.35.d.ts","sourceRoot":"","sources":["../../../../src/changelog/versions/components/v2.0.35.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,QAAA,MAAM,OAAO,EAAE,WAWd,CAAA;AAED,eAAe,OAAO,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { VersionData } from '../../types';
2
+ declare const v2_0_36: VersionData;
3
+ export default v2_0_36;
4
+ //# sourceMappingURL=v2.0.36.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v2.0.36.d.ts","sourceRoot":"","sources":["../../../../src/changelog/versions/components/v2.0.36.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,QAAA,MAAM,OAAO,EAAE,WA6Cd,CAAA;AAED,eAAe,OAAO,CAAA"}
@@ -2,6 +2,8 @@ import { ComboboxContentProps } from 'reka-ui';
2
2
  import { HTMLAttributes } from 'vue';
3
3
  type __VLS_Props = ComboboxContentProps & {
4
4
  class?: HTMLAttributes['class'];
5
+ disablePortal?: boolean;
6
+ positionStrategy?: 'fixed' | 'absolute';
5
7
  };
6
8
  declare function __VLS_template(): {
7
9
  attrs: Partial<{}>;
@@ -9,7 +11,7 @@ declare function __VLS_template(): {
9
11
  default?(_: {}): any;
10
12
  };
11
13
  refs: {};
12
- rootEl: any;
14
+ rootEl: HTMLDivElement;
13
15
  };
14
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
17
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -26,7 +28,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
26
28
  align: "end" | "start" | "center";
27
29
  position: "inline" | "popper";
28
30
  sideOffset: number;
29
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ positionStrategy: "absolute" | "fixed";
32
+ disablePortal: boolean;
33
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
30
34
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
35
  export default _default;
32
36
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1 +1 @@
1
- {"version":3,"file":"ComboboxList.vue.d.ts","sourceRoot":"","sources":["../../src/combobox/ComboboxList.vue"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAwB,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAEzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAIzC,KAAK,WAAW,GAAG,oBAAoB,GAAG;IAAE,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAA;CAAE,CAAC;AAsB9E,iBAAS,cAAc;WAyDT,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;6EASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ComboboxList.vue.d.ts","sourceRoot":"","sources":["../../src/combobox/ComboboxList.vue"],"names":[],"mappings":"AAmDA,OAAO,KAAK,EAAwB,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAEzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,KAAK,WAAW,GAAG,oBAAoB,GAAG;IACpC,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAA;IAC/B,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,gBAAgB,CAAC,EAAE,OAAO,GAAG,UAAU,CAAA;CACxC,CAAC;AA2BN,iBAAS,cAAc;WA8DT,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;mBA/GC,OAAO;wFAwH3B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,8 +1,8 @@
1
- import { defineComponent as l, createBlock as p, openBlock as c, unref as o, withCtx as t, createVNode as m, mergeProps as f, renderSlot as u } from "vue";
2
- import { reactiveOmit as b } from "@vueuse/core";
3
- import { useForwardPropsEmits as g, ComboboxPortal as y, ComboboxContent as h } from "reka-ui";
4
- import { cn as B } from "../lib/utils.js";
5
- const O = /* @__PURE__ */ l({
1
+ import { defineComponent as p, createElementBlock as c, openBlock as m, createVNode as t, unref as e, withCtx as a, mergeProps as f, renderSlot as u } from "vue";
2
+ import { cn as b } from "../lib/utils.js";
3
+ import { reactiveOmit as g } from "@vueuse/core";
4
+ import { useForwardPropsEmits as y, ComboboxPortal as h, ComboboxContent as B } from "reka-ui";
5
+ const v = { class: "relative" }, O = /* @__PURE__ */ p({
6
6
  __name: "ComboboxList",
7
7
  props: {
8
8
  forceMount: { type: Boolean },
@@ -20,7 +20,7 @@ const O = /* @__PURE__ */ l({
20
20
  arrowPadding: {},
21
21
  sticky: {},
22
22
  hideWhenDetached: { type: Boolean },
23
- positionStrategy: {},
23
+ positionStrategy: { default: "absolute" },
24
24
  updatePositionStrategy: {},
25
25
  disableUpdateOnLayoutShift: { type: Boolean },
26
26
  prioritizePosition: { type: Boolean },
@@ -28,28 +28,31 @@ const O = /* @__PURE__ */ l({
28
28
  asChild: { type: Boolean },
29
29
  as: {},
30
30
  disableOutsidePointerEvents: { type: Boolean },
31
- class: {}
31
+ class: {},
32
+ disablePortal: { type: Boolean, default: !0 }
32
33
  },
33
34
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside"],
34
- setup(a, { emit: i }) {
35
- const e = a, n = i, s = b(e, "class"), r = g(s, n);
36
- return (d, w) => (c(), p(o(y), null, {
37
- default: t(() => [
38
- m(o(h), f({ "data-slot": "combobox-list" }, o(r), {
39
- class: o(B)(
40
- "!border-input max-h-[50vh] overflow-y-auto overscroll-contain !border",
41
- "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-[var(--reka-combobox-trigger-width)] min-w-[var(--reka-combobox-trigger-width)] origin-(--reka-combobox-content-transform-origin) rounded-md shadow-xs outline-none",
42
- e.class
43
- )
44
- }), {
45
- default: t(() => [
46
- u(d.$slots, "default")
47
- ]),
48
- _: 3
49
- }, 16, ["class"])
50
- ]),
51
- _: 3
52
- }));
35
+ setup(i, { emit: s }) {
36
+ const o = i, r = s, n = g(o, "class"), d = y(n, r);
37
+ return (l, w) => (m(), c("div", v, [
38
+ t(e(h), { disabled: !0 }, {
39
+ default: a(() => [
40
+ t(e(B), f({ "data-slot": "combobox-list" }, { ...e(d), strategy: "absolute" }, {
41
+ class: e(b)(
42
+ "!border-input max-h-[50vh] overflow-y-auto overscroll-contain !border",
43
+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-[var(--reka-combobox-trigger-width)] min-w-[var(--reka-combobox-trigger-width)] origin-(--reka-combobox-content-transform-origin) rounded-md shadow-xs outline-none relative",
44
+ o.class
45
+ )
46
+ }), {
47
+ default: a(() => [
48
+ u(l.$slots, "default")
49
+ ]),
50
+ _: 3
51
+ }, 16, ["class"])
52
+ ]),
53
+ _: 3
54
+ })
55
+ ]));
53
56
  }
54
57
  });
55
58
  export {
@@ -47,14 +47,6 @@ declare const _default: <TData extends RowData>(__VLS_props: NonNullable<Awaited
47
47
  * Row selection state conf
48
48
  */
49
49
  rowSelection?: RowSelectionState;
50
- /**
51
- * Additional classes for table headers
52
- */
53
- headerClass?: string;
54
- /**
55
- * Additional classes for table cells
56
- */
57
- cellClass?: string;
58
50
  } & any> & import('vue').PublicProps;
59
51
  expose(exposed: import('vue').ShallowUnwrapRef<{
60
52
  table: import('@tanstack/vue-table').Table<TData>;
@@ -1 +1 @@
1
- {"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../src/data-table/DataTable.vue"],"names":[],"mappings":"AAAA,OA+NO,KAAK,EACV,SAAS,EACT,eAAe,EACf,OAAO,EACP,iBAAiB,EACjB,YAAY,EACb,MAAM,qBAAqB,CAAA;yBAuBX,KAAK,SAAS,OAAO,EACrC,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAwYO,mBAAmB,CAAC;;;;;QAtY1B;;WAEG;cACG,KAAK,EAAE;QAEb;;WAEG;iBACM,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE;QAEhC;;WAEG;oBACS,OAAO;QAEnB;;WAEG;2BACgB,OAAO;QAE1B;;WAEG;wBACa,OAAO;QAEvB;;;WAGG;mBACQ,MAAM;QAEjB;;;WAGG;oBACS,MAAM;QAElB;;WAEG;qBACU,eAAe;QAE5B;;WAEG;kBACO,YAAY;QAEtB;;WAEG;uBACY,iBAAiB;QAEhC;;WAEG;sBACW,MAAM;QAEpB;;WAEG;oBACS,MAAM;WA0U0E,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WACpE,GAAG;;;EAIP,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAnZzE,wBAm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,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,17 +1,17 @@
1
- import { defineComponent as v, computed as C, useSlots as z, createBlock as l, openBlock as n, unref as e, withCtx as a, createVNode as f, createElementBlock as u, Fragment as s, renderList as m, normalizeClass as _, normalizeStyle as V, createCommentVNode as L, renderSlot as D } from "vue";
2
- import { useVueTable as T, FlexRender as $ } from "../node_modules/.pnpm/@tanstack_vue-table@8.21.3_vue@3.5.19_typescript@5.8.3_/node_modules/@tanstack/vue-table/build/lib/index.js";
3
- import { cn as x } from "../lib/utils.js";
1
+ import { defineComponent as B, computed as w, useSlots as v, createBlock as l, openBlock as n, unref as e, withCtx as a, createVNode as f, createElementBlock as u, Fragment as s, renderList as m, normalizeClass as z, normalizeStyle as V, createCommentVNode as x, renderSlot as L } from "vue";
2
+ import { useVueTable as D, FlexRender as _ } from "../node_modules/.pnpm/@tanstack_vue-table@8.21.3_vue@3.5.19_typescript@5.8.3_/node_modules/@tanstack/vue-table/build/lib/index.js";
3
+ import { cn as T } from "../lib/utils.js";
4
4
  import F from "../skeleton/Skeleton.vue.js";
5
5
  import H from "../table/Table.vue.js";
6
6
  import N from "../table/TableBody.vue.js";
7
- import h from "../table/TableCell.vue.js";
7
+ import $ from "../table/TableCell.vue.js";
8
8
  import M from "../table/TableEmpty.vue.js";
9
9
  import E from "../table/TableHead.vue.js";
10
10
  import I from "../table/TableHeader.vue.js";
11
- import w from "../table/TableRow.vue.js";
12
- import { valueUpdater as y } from "../table/utils.js";
11
+ import y from "../table/TableRow.vue.js";
12
+ import { valueUpdater as C } from "../table/utils.js";
13
13
  import { getPaginationRowModel as U, getSortedRowModel as j, getCoreRowModel as q } from "../node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js";
14
- const le = /* @__PURE__ */ v({
14
+ const le = /* @__PURE__ */ B({
15
15
  __name: "DataTable",
16
16
  props: {
17
17
  data: {},
@@ -23,22 +23,20 @@ const le = /* @__PURE__ */ v({
23
23
  pageCount: {},
24
24
  pagination: { default: () => ({ pageIndex: 0, pageSize: 10 }) },
25
25
  sorting: { default: () => [] },
26
- rowSelection: { default: () => ({}) },
27
- headerClass: {},
28
- cellClass: {}
26
+ rowSelection: { default: () => ({}) }
29
27
  },
30
28
  emits: ["update:pagination", "update:sorting", "update:row-selection"],
31
29
  setup(r, { expose: P, emit: b }) {
32
- const p = b, S = C({
30
+ const p = b, S = w({
33
31
  get: () => r.pagination,
34
32
  set: (t) => p("update:pagination", t)
35
- }), k = C({
33
+ }), k = w({
36
34
  get: () => r.sorting,
37
35
  set: (t) => p("update:sorting", t)
38
- }), R = C({
36
+ }), R = w({
39
37
  get: () => r.rowSelection ?? {},
40
38
  set: (t) => p("update:row-selection", t)
41
- }), g = T({
39
+ }), g = D({
42
40
  // Use computed properties or getters for reactivity with props
43
41
  get data() {
44
42
  return r.data;
@@ -54,9 +52,9 @@ const le = /* @__PURE__ */ v({
54
52
  manualPagination: r.manualPagination,
55
53
  manualSorting: r.manualSorting,
56
54
  enableRowSelection: !0,
57
- onRowSelectionChange: (t) => y(t, R),
58
- onPaginationChange: (t) => y(t, S),
59
- onSortingChange: (t) => y(t, k),
55
+ onRowSelectionChange: (t) => C(t, R),
56
+ onPaginationChange: (t) => C(t, S),
57
+ onSortingChange: (t) => C(t, k),
60
58
  get rowCount() {
61
59
  return r.rowCount;
62
60
  },
@@ -74,14 +72,14 @@ const le = /* @__PURE__ */ v({
74
72
  return R.value;
75
73
  }
76
74
  }
77
- }), B = z();
75
+ }), h = v();
78
76
  return P({
79
77
  table: g
80
78
  }), (t, A) => (n(), l(e(H), null, {
81
79
  default: a(() => [
82
80
  f(e(I), null, {
83
81
  default: a(() => [
84
- (n(!0), u(s, null, m(e(g).getHeaderGroups(), (c) => (n(), l(e(w), {
82
+ (n(!0), u(s, null, m(e(g).getHeaderGroups(), (c) => (n(), l(e(y), {
85
83
  key: c.id,
86
84
  type: "head"
87
85
  }, {
@@ -90,14 +88,14 @@ const le = /* @__PURE__ */ v({
90
88
  key: o.id,
91
89
  "col-span": o.colSpan,
92
90
  style: V({ width: o.getSize() !== 150 ? `${o.getSize()}px` : void 0 }),
93
- class: _(e(x)(o.column.getCanSort() && "cursor-pointer select-none", t.headerClass)),
91
+ class: z(e(T)(o.column.getCanSort() && "cursor-pointer select-none")),
94
92
  onClick: (i) => {
95
93
  var d;
96
94
  return (d = o.column.getToggleSortingHandler()) == null ? void 0 : d(i);
97
95
  }
98
96
  }, {
99
97
  default: a(() => [
100
- o.isPlaceholder ? L("", !0) : (n(), l(e($), {
98
+ o.isPlaceholder ? x("", !0) : (n(), l(e(_), {
101
99
  key: 0,
102
100
  render: o.column.columnDef.header,
103
101
  props: o.getContext()
@@ -115,9 +113,9 @@ const le = /* @__PURE__ */ v({
115
113
  default: a(() => {
116
114
  var c;
117
115
  return [
118
- t.isLoading ? (n(!0), u(s, { key: 0 }, m(t.columns.length, (o, i) => (n(), l(e(w), { key: i }, {
116
+ t.isLoading ? (n(!0), u(s, { key: 0 }, m(t.columns.length, (o, i) => (n(), l(e(y), { key: i }, {
119
117
  default: a(() => [
120
- (n(!0), u(s, null, m(e(g).getVisibleLeafColumns(), (d) => (n(), l(e(h), {
118
+ (n(!0), u(s, null, m(e(g).getVisibleLeafColumns(), (d) => (n(), l(e($), {
121
119
  key: d.id
122
120
  }, {
123
121
  default: a(() => [
@@ -127,32 +125,31 @@ const le = /* @__PURE__ */ v({
127
125
  }, 1024))), 128))
128
126
  ]),
129
127
  _: 2
130
- }, 1024))), 128)) : (c = e(g).getRowModel().rows) != null && c.length ? (n(!0), u(s, { key: 2 }, m(e(g).getRowModel().rows, (o) => (n(), l(e(w), {
128
+ }, 1024))), 128)) : (c = e(g).getRowModel().rows) != null && c.length ? (n(!0), u(s, { key: 2 }, m(e(g).getRowModel().rows, (o) => (n(), l(e(y), {
131
129
  key: o.id,
132
130
  type: "body"
133
131
  }, {
134
132
  default: a(() => [
135
- (n(!0), u(s, null, m(o.getVisibleCells(), (i) => (n(), l(e(h), {
136
- key: i.id,
137
- class: _(t.cellClass)
133
+ (n(!0), u(s, null, m(o.getVisibleCells(), (i) => (n(), l(e($), {
134
+ key: i.id
138
135
  }, {
139
136
  default: a(() => [
140
- f(e($), {
137
+ f(e(_), {
141
138
  render: i.column.columnDef.cell,
142
139
  props: i.getContext()
143
140
  }, null, 8, ["render", "props"])
144
141
  ]),
145
142
  _: 2
146
- }, 1032, ["class"]))), 128))
143
+ }, 1024))), 128))
147
144
  ]),
148
145
  _: 2
149
146
  }, 1024))), 128)) : (n(), u(s, { key: 1 }, [
150
- e(B).empty ? (n(), l(e(M), {
147
+ e(h).empty ? (n(), l(e(M), {
151
148
  key: 0,
152
149
  colspan: t.columns.length
153
150
  }, {
154
151
  default: a(() => [
155
- D(t.$slots, "empty")
152
+ L(t.$slots, "empty")
156
153
  ]),
157
154
  _: 3
158
155
  }, 8, ["colspan"])) : (n(), l(e(M), {
@@ -1 +1 @@
1
- {"version":3,"file":"DocumentAutoComplete.vue.d.ts","sourceRoot":"","sources":["../../src/document-input/DocumentAutoComplete.vue"],"names":[],"mappings":"AAspBA,UAAU,KAAK;IACb,8BAA8B;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,+CAA+C;IAC/C,UAAU,CAAC,EAAE,GAAG,CAAA;IAChB;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAA;IACjE,8CAA8C;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IACx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AM,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ;4BAsCxC,OAAO;YAVvB,OAAO;mBA4BA,OAAO;cALZ,MAAM;;;kBAg0BjB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"DocumentAutoComplete.vue.d.ts","sourceRoot":"","sources":["../../src/document-input/DocumentAutoComplete.vue"],"names":[],"mappings":"AAqpBA,UAAU,KAAK;IACb,8BAA8B;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,+CAA+C;IAC/C,UAAU,CAAC,EAAE,GAAG,CAAA;IAChB;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAA;IACjE,8CAA8C;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IACxB,oEAAoE;IACpE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,uEAAuE;IACvE,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,2DAA2D;IAC3D,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,+CAA+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CAAA;CACD,CAAC"}
@@ -74,8 +74,7 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
74
74
  "loading",
75
75
  "notFoundText",
76
76
  "loadingText",
77
- "optionId",
78
- "modelValue"
77
+ "optionId"
79
78
  ), W = ke(Q, o), s = v(""), V = v(!1), I = v(!1), E = v(!1), $ = v(null), M = v(e.modelValue);
80
79
  function Y(t, l) {
81
80
  if (!l) return t;
@@ -2,6 +2,8 @@ import { DropdownMenuContentProps } from 'reka-ui';
2
2
  import { HTMLAttributes } from 'vue';
3
3
  type __VLS_Props = DropdownMenuContentProps & {
4
4
  class?: HTMLAttributes['class'];
5
+ disablePortal?: boolean;
6
+ positionStrategy?: 'fixed' | 'absolute';
5
7
  };
6
8
  declare function __VLS_template(): {
7
9
  attrs: Partial<{}>;
@@ -9,7 +11,7 @@ declare function __VLS_template(): {
9
11
  default?(_: {}): any;
10
12
  };
11
13
  refs: {};
12
- rootEl: any;
14
+ rootEl: HTMLDivElement;
13
15
  };
14
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
17
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -26,7 +28,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
26
28
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
27
29
  }>, {
28
30
  sideOffset: number;
29
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ positionStrategy: "absolute" | "fixed";
32
+ disablePortal: boolean;
33
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
30
34
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
35
  export default _default;
32
36
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownMenuContent.vue.d.ts","sourceRoot":"","sources":["../../src/dropdown-menu/DropdownMenuContent.vue"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAA4B,wBAAwB,EAAE,MAAM,SAAS,CAAA;AACjF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAKzC,KAAK,WAAW,GAAG,wBAAwB,GAAG;IAAE,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAA;CAAE,CAAC;AAmBlF,iBAAS,cAAc;WAuDT,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;6EASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"DropdownMenuContent.vue.d.ts","sourceRoot":"","sources":["../../src/dropdown-menu/DropdownMenuContent.vue"],"names":[],"mappings":"AAgDA,OAAO,KAAK,EAA4B,wBAAwB,EAAE,MAAM,SAAS,CAAA;AACjF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAKzC,KAAK,WAAW,GAAG,wBAAwB,GAAG;IACxC,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAA;IAC/B,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,gBAAgB,CAAC,EAAE,OAAO,GAAG,UAAU,CAAA;CACxC,CAAC;AAyBN,iBAAS,cAAc;WA4DT,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;mBA3GC,OAAO;wFAoH3B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,8 +1,8 @@
1
- import { defineComponent as l, createBlock as p, openBlock as c, unref as o, withCtx as t, createVNode as m, mergeProps as u, renderSlot as f } from "vue";
2
- import { reactiveOmit as g } from "@vueuse/core";
3
- import { useForwardPropsEmits as w, DropdownMenuPortal as y, DropdownMenuContent as h } from "reka-ui";
1
+ import { defineComponent as p, createElementBlock as u, openBlock as c, createVNode as a, unref as e, withCtx as n, mergeProps as m, renderSlot as f } from "vue";
2
+ import { reactiveOmit as y } from "@vueuse/core";
3
+ import { useForwardPropsEmits as g, DropdownMenuPortal as w, DropdownMenuContent as h } from "reka-ui";
4
4
  import { cn as B } from "../lib/utils.js";
5
- const C = /* @__PURE__ */ l({
5
+ const b = { class: "relative" }, D = /* @__PURE__ */ p({
6
6
  __name: "DropdownMenuContent",
7
7
  props: {
8
8
  forceMount: { type: Boolean },
@@ -19,36 +19,39 @@ const C = /* @__PURE__ */ l({
19
19
  arrowPadding: {},
20
20
  sticky: {},
21
21
  hideWhenDetached: { type: Boolean },
22
- positionStrategy: {},
22
+ positionStrategy: { default: "absolute" },
23
23
  updatePositionStrategy: {},
24
24
  disableUpdateOnLayoutShift: { type: Boolean },
25
25
  prioritizePosition: { type: Boolean },
26
26
  reference: {},
27
27
  asChild: { type: Boolean },
28
28
  as: {},
29
- class: {}
29
+ class: {},
30
+ disablePortal: { type: Boolean, default: !0 }
30
31
  },
31
32
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "closeAutoFocus"],
32
- setup(a, { emit: n }) {
33
- const e = a, i = n, d = g(e, "class"), r = w(d, i);
34
- return (s, P) => (c(), p(o(y), null, {
35
- default: t(() => [
36
- m(o(h), u({ "data-slot": "dropdown-menu-content" }, o(r), {
37
- class: o(B)(
38
- "border-input bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--reka-dropdown-menu-content-available-height) min-w-[8rem] origin-(--reka-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
39
- e.class
40
- )
41
- }), {
42
- default: t(() => [
43
- f(s.$slots, "default")
44
- ]),
45
- _: 3
46
- }, 16, ["class"])
47
- ]),
48
- _: 3
49
- }));
33
+ setup(i, { emit: s }) {
34
+ const o = i, d = s, r = y(o, "class"), l = g(r, d);
35
+ return (t, v) => (c(), u("div", b, [
36
+ a(e(w), { disabled: !0 }, {
37
+ default: n(() => [
38
+ a(e(h), m({ "data-slot": "dropdown-menu-content" }, { ...e(l), ...t.$attrs, strategy: "absolute" }, {
39
+ class: e(B)(
40
+ "border-input bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--reka-dropdown-menu-content-available-height) min-w-[8rem] origin-(--reka-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md relative",
41
+ o.class
42
+ )
43
+ }), {
44
+ default: n(() => [
45
+ f(t.$slots, "default")
46
+ ]),
47
+ _: 3
48
+ }, 16, ["class"])
49
+ ]),
50
+ _: 3
51
+ })
52
+ ]));
50
53
  }
51
54
  });
52
55
  export {
53
- C as default
56
+ D as default
54
57
  };