@nu-grid/nuxt 0.1.4 → 0.2.0

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.
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nu-grid/nuxt",
3
3
  "configKey": "nuGrid",
4
- "version": "0.1.4",
4
+ "version": "0.2.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -6,7 +6,7 @@ interface Props {
6
6
  declare const __VLS_export: import("vue").DefineComponent<Props, {
7
7
  openMenu: () => void;
8
8
  closeMenu: () => void;
9
- isOpen: any;
9
+ isOpen: import("vue").WritableComputedRef<boolean, boolean>;
10
10
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  export default _default;
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { computed, ref, watch } from "vue";
2
3
  defineOptions({ inheritAttrs: false });
3
4
  const props = defineProps({
4
5
  row: { type: Object, required: true },
@@ -6,7 +6,7 @@ interface Props {
6
6
  declare const __VLS_export: import("vue").DefineComponent<Props, {
7
7
  openMenu: () => void;
8
8
  closeMenu: () => void;
9
- isOpen: any;
9
+ isOpen: import("vue").WritableComputedRef<boolean, boolean>;
10
10
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  export default _default;
@@ -1,5 +1,5 @@
1
1
  <script setup>
2
- import { isRef } from "vue";
2
+ import { computed, isRef } from "vue";
3
3
  import { nuGridDefaults } from "../../config/_internal";
4
4
  defineOptions({ inheritAttrs: false });
5
5
  const props = defineProps({
@@ -1,5 +1,5 @@
1
1
  <script setup>
2
- import { ref } from "vue";
2
+ import { computed, ref } from "vue";
3
3
  import NuGridCellCheckbox from "../../components/NuGridCellCheckbox.vue";
4
4
  import { useNuGridCellEditor } from "../../composables/useNuGridCellEditor";
5
5
  defineOptions({ inheritAttrs: false });
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { computed } from "vue";
2
3
  import NuGridCellCheckbox from "../../components/NuGridCellCheckbox.vue";
3
4
  defineOptions({ inheritAttrs: false });
4
5
  const props = defineProps({
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { computed, inject } from "vue";
2
3
  import { nuGridDefaults } from "../../config/_internal";
3
4
  defineOptions({ inheritAttrs: false });
4
5
  const props = defineProps({
@@ -1,5 +1,5 @@
1
1
  <script setup>
2
- import { inject } from "vue";
2
+ import { computed, inject } from "vue";
3
3
  import { resolveStyleObject, resolveValue } from "../../composables/_internal";
4
4
  import NuGridCellContent from "./NuGridCellContent.vue";
5
5
  const props = defineProps({
@@ -1,5 +1,6 @@
1
1
  <script setup>
2
2
  import theme from "#build/ui/tooltip";
3
+ import { useAppConfig } from "#imports";
3
4
  import { tv } from "@nuxt/ui/utils/tv";
4
5
  import { Presence } from "reka-ui";
5
6
  import { computed } from "vue";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nu-grid/nuxt",
3
3
  "type": "module",
4
- "version": "0.1.4",
4
+ "version": "0.2.0",
5
5
  "description": "A powerful data grid component for Nuxt with virtualization, cell editing, and TanStack Table integration",
6
6
  "license": "MIT",
7
7
  "homepage": "https://www.nu-grid.dev",
@@ -52,7 +52,8 @@
52
52
  ],
53
53
  "peerDependencies": {
54
54
  "@nuxt/ui": "^4.0.0",
55
- "@vueuse/nuxt": "^14.0.0"
55
+ "@vueuse/nuxt": "^14.0.0",
56
+ "reka-ui": "^2.0.0"
56
57
  },
57
58
  "peerDependenciesMeta": {
58
59
  "write-excel-file": {