@katlux/toolkit 0.1.1-alpha.131 → 0.1.1-alpha.132

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 (30) hide show
  1. package/bin/add-ai-reference.mjs +50 -44
  2. package/dist/compiled/composables/locales.mjs +48 -24
  3. package/dist/module.cjs +122 -0
  4. package/dist/module.d.cts +6 -1
  5. package/dist/module.d.mts +6 -1
  6. package/dist/module.json +1 -1
  7. package/dist/module.mjs +123 -1
  8. package/dist/runtime/components/KDropdown/KDropdown.global.d.vue.ts +1 -1
  9. package/dist/runtime/components/KDropdown/KDropdown.global.vue.d.ts +1 -1
  10. package/dist/runtime/components/{MultiTabs/MultiTabs.global.d.vue.ts → KMultiTabs/KMultiTabs.global.d.vue.ts} +5 -5
  11. package/dist/runtime/components/{MultiTabs/MultiTabs.global.vue → KMultiTabs/KMultiTabs.global.vue} +5 -5
  12. package/dist/runtime/components/{MultiTabs/MultiTabs.global.vue.d.ts → KMultiTabs/KMultiTabs.global.vue.d.ts} +5 -5
  13. package/dist/runtime/components/KMultiTabs/KMultiTabs.logic.d.ts +34 -0
  14. package/dist/runtime/components/{MultiTabs/MultiTabs.logic.js → KMultiTabs/KMultiTabs.logic.js} +4 -2
  15. package/dist/runtime/components/KTooltip/KTooltip.global.d.vue.ts +1 -1
  16. package/dist/runtime/components/KTooltip/KTooltip.global.vue.d.ts +1 -1
  17. package/dist/runtime/composables/locales.js +48 -24
  18. package/dist/runtime/presets/default/components/KDatatable/KDatatable.vue +0 -4
  19. package/dist/runtime/presets/default/components/KGantt/KGantt.vue +14 -4
  20. package/dist/runtime/presets/default/components/KGantt/KGanttTimeline.vue +5 -5
  21. package/dist/runtime/presets/default/components/{MultiTabs/MultiTabs.d.vue.ts → KMultiTabs/KMultiTabs.d.vue.ts} +3 -2
  22. package/dist/runtime/presets/default/components/{MultiTabs/MultiTabs.vue → KMultiTabs/KMultiTabs.vue} +19 -14
  23. package/dist/runtime/presets/default/components/{MultiTabs/MultiTabs.vue.d.ts → KMultiTabs/KMultiTabs.vue.d.ts} +3 -2
  24. package/dist/skills/katlux-components/SKILL.md +1 -1
  25. package/dist/skills/katlux-components/components/KMultiTabs.md +20 -0
  26. package/dist/skills/katlux-config/SKILL.md +7 -7
  27. package/dist/types.d.mts +2 -6
  28. package/package.json +2 -2
  29. package/dist/runtime/components/MultiTabs/MultiTabs.logic.d.ts +0 -25
  30. package/dist/skills/katlux-components/components/MultiTabs.md +0 -20
@@ -104,13 +104,13 @@ export default defineAppConfig({
104
104
 
105
105
  | Package Name | Current Version | Description | Installation Command |
106
106
  | --- | --- | --- | --- |
107
- | `@katlux/toolkit` | `0.1.1-alpha.130` | Core Nuxt module, UI toolkit, presets, and components | `npm install @katlux/toolkit@alpha` |
108
- | `@katlux/providers` | `0.1.1-alpha.117` | Core data providers, client caching, and state structures | `npm install @katlux/providers@alpha` |
109
- | `@katlux/preset-modern` | `0.1.1-alpha.105` | Modern design preset and styling variables | `npm install @katlux/preset-modern@alpha` |
110
- | `@katlux/preset-dark` | `0.1.1-alpha.36` | Sleek Dark Mode design preset | `npm install @katlux/preset-dark@alpha` |
111
- | `@katlux/block-charts` | `0.1.1-alpha.105` | Pre-built charting block components | `npm install @katlux/block-charts@alpha` |
112
- | `@katlux/block-ecommerce` | `0.1.1-alpha.105` | Pre-built eCommerce block components | `npm install @katlux/block-ecommerce@alpha` |
113
- | `@katlux/mcp` | `0.1.0-alpha.9` | Model Context Protocol server for AI assistant integration | `npm install @katlux/mcp@alpha` |
107
+ | `@katlux/toolkit` | `0.1.1-alpha.131` | Core Nuxt module, UI toolkit, presets, and components | `npm install @katlux/toolkit@alpha` |
108
+ | `@katlux/providers` | `0.1.1-alpha.118` | Core data providers, client caching, and state structures | `npm install @katlux/providers@alpha` |
109
+ | `@katlux/preset-modern` | `0.1.1-alpha.106` | Modern design preset and styling variables | `npm install @katlux/preset-modern@alpha` |
110
+ | `@katlux/preset-dark` | `0.1.1-alpha.37` | Sleek Dark Mode design preset | `npm install @katlux/preset-dark@alpha` |
111
+ | `@katlux/block-charts` | `0.1.1-alpha.106` | Pre-built charting block components | `npm install @katlux/block-charts@alpha` |
112
+ | `@katlux/block-ecommerce` | `0.1.1-alpha.106` | Pre-built eCommerce block components | `npm install @katlux/block-ecommerce@alpha` |
113
+ | `@katlux/mcp` | `0.1.0-alpha.10` | Model Context Protocol server for AI assistant integration | `npm install @katlux/mcp@alpha` |
114
114
 
115
115
  > [!NOTE]
116
116
  > Katlux packages are currently published under the `@alpha` tag on NPM. Always append `@alpha` or the specific version tag when adding dependencies.
package/dist/types.d.mts CHANGED
@@ -1,7 +1,3 @@
1
- import type { NuxtModule } from '@nuxt/schema'
2
-
3
- import type { default as Module } from './module.mjs'
4
-
5
- export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
6
-
7
1
  export { default } from './module.mjs'
2
+
3
+ export { type ModuleOptions } from './module.mjs'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@katlux/toolkit",
3
- "version": "0.1.1-alpha.131",
3
+ "version": "0.1.1-alpha.132",
4
4
  "description": "Core UI toolkit and utilities for the Katlux ecosystem",
5
5
  "author": "Katlux",
6
6
  "license": "Apache-2.0",
@@ -54,7 +54,7 @@
54
54
  "**/*.sass"
55
55
  ],
56
56
  "dependencies": {
57
- "@katlux/providers": "^0.1.1-alpha.118",
57
+ "@katlux/providers": "^0.1.1-alpha.119",
58
58
  "@nuxt/kit": "^3.12.0",
59
59
  "@nuxtjs/i18n": "^10.4.0",
60
60
  "pug": "^3.0.0",
@@ -1,25 +0,0 @@
1
- import { type PropType } from 'vue';
2
- export interface MultiTabsTab {
3
- id: string;
4
- title: string;
5
- slotName?: string;
6
- component?: any;
7
- props?: Record<string, any>;
8
- isOpen?: boolean;
9
- }
10
- export interface MultiTabsGroup {
11
- id: string;
12
- tabs: MultiTabsTab[];
13
- }
14
- export declare const MultiTabsDefaultProps: {
15
- modelValue: {
16
- type: PropType<MultiTabsGroup[]>;
17
- default: undefined;
18
- };
19
- };
20
- export declare function useMultiTabsLogic(props: any, emit: any): {
21
- groups: import("vue").WritableComputedRef<MultiTabsGroup[], MultiTabsGroup[]>;
22
- addTab: (tab: MultiTabsTab, groupId?: string) => void;
23
- splitScreen: (initialTab?: MultiTabsTab) => string;
24
- closeSplit: (groupId: string) => void;
25
- };
@@ -1,20 +0,0 @@
1
- ### `MultiTabs`
2
- - **Purpose**: Manage complex layouts involving multiple tabs and vertical split screens dynamically.
3
- - **Props**:
4
- | Prop | Type | Default | Description |
5
- | --- | --- | --- | --- |
6
- | `v-model` | `MultiTabsGroup[]` | **Required** | The active groupings of tabs. Each group represents a vertical split pane. |
7
- - **Methods (Exposed via `ref`)**:
8
- | Method | Params | Description |
9
- | --- | --- | --- |
10
- | `addTab(tab, groupId?)` | `(tab: MultiTabsTab, groupId?: string)` | Opens a new tab within the specified group (or defaults to the first group). |
11
- | `splitScreen(initialTab?)` | `(initialTab?: MultiTabsTab)` | Creates a new vertical pane to the right, optionally initializing it with a tab. |
12
- | `closeSplit(groupId)` | `(groupId: string)` | Closes the specified split screen pane. |
13
- - **Slots**:
14
- | Slot | Scope | Description |
15
- | --- | --- | --- |
16
- | `#tab-[id]` | `{ tab: MultiTabsTab }` | Render custom content for a specific tab by its ID. |
17
- | `#empty` | None | Fallback content shown in a pane when it contains no tabs. |
18
- - **Associated Types**:
19
- - **`MultiTabsGroup`**: `{ id: string, tabs: MultiTabsTab[] }`
20
- - **`MultiTabsTab`**: `{ id: string, title: string, isOpen: boolean }`