@shwfed/nuxt 0.11.15 → 0.11.16

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.d.mts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
2
  export { FieldsInstance } from '../dist/runtime/components/fields-instance.js';
3
- export { FieldsSlotProps } from '../dist/runtime/components/ui/fields/slot-props.js';
3
+ export { TableInstance } from '../dist/runtime/components/table-instance.js';
4
+ export { CellContext } from '@tanstack/vue-table';
4
5
 
5
6
  type Wrap<T> = T extends object ? Readonly<{
6
7
  [P in keyof T]?: Wrap<T[P]>;
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shwfed/nuxt",
3
3
  "configKey": "shwfed",
4
- "version": "0.11.15",
4
+ "version": "0.11.16",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { execSync } from 'node:child_process';
2
- import { defineNuxtModule, createResolver, addVitePlugin, addPlugin, addImportsDir, addComponentsDir, addRouteMiddleware, addLayout } from '@nuxt/kit';
2
+ import { defineNuxtModule, createResolver, addVitePlugin, addPlugin, addImportsDir, addComponent, addRouteMiddleware, addLayout } from '@nuxt/kit';
3
3
  import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite';
4
4
  import TailwindCSS from '@tailwindcss/vite';
5
5
  import defu from 'defu';
@@ -65,11 +65,33 @@ const module$1 = defineNuxtModule({
65
65
  mode: "client"
66
66
  });
67
67
  addImportsDir(resolver.resolve("runtime/composables"));
68
- addComponentsDir({
69
- path: resolver.resolve("runtime/components"),
70
- ignore: ["ui/**/*.{vue,ts}"],
71
- prefix: "shwfed",
72
- extensions: ["vue"]
68
+ addComponent({
69
+ name: "ShwfedApp",
70
+ filePath: resolver.resolve("runtime/components/app.vue")
71
+ });
72
+ addComponent({
73
+ name: "ShwfedButton",
74
+ filePath: resolver.resolve("runtime/components/button.vue")
75
+ });
76
+ addComponent({
77
+ name: "ShwfedFields",
78
+ filePath: resolver.resolve("runtime/components/fields.vue")
79
+ });
80
+ addComponent({
81
+ name: "ShwfedMarkdown",
82
+ filePath: resolver.resolve("runtime/components/markdown.vue")
83
+ });
84
+ addComponent({
85
+ name: "ShwfedMenuTabs",
86
+ filePath: resolver.resolve("runtime/components/menu-tabs.vue")
87
+ });
88
+ addComponent({
89
+ name: "ShwfedModal",
90
+ filePath: resolver.resolve("runtime/components/modal.vue")
91
+ });
92
+ addComponent({
93
+ name: "ShwfedTable",
94
+ filePath: resolver.resolve("runtime/components/table.vue")
73
95
  });
74
96
  addRouteMiddleware({
75
97
  path: resolver.resolve("runtime/middleware/token"),
@@ -0,0 +1 @@
1
+ export type TableInstance = import('@tanstack/table-core').Table<unknown>;
File without changes
package/dist/types.d.mts CHANGED
@@ -6,7 +6,9 @@ export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<
6
6
 
7
7
  export { type FieldsInstance } from '../dist/runtime/components/fields-instance.js'
8
8
 
9
- export { type FieldsSlotProps } from '../dist/runtime/components/ui/fields/slot-props.js'
9
+ export { type TableInstance } from '../dist/runtime/components/table-instance.js'
10
+
11
+ export { type CellContext } from '@tanstack/vue-table'
10
12
 
11
13
  export { default } from './module.mjs'
12
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shwfed/nuxt",
3
- "version": "0.11.15",
3
+ "version": "0.11.16",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "type": "module",