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

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 (28) 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/composables/locales.js +48 -24
  16. package/dist/runtime/presets/default/components/KDatatable/KDatatable.vue +0 -4
  17. package/dist/runtime/presets/default/components/KGantt/KGantt.vue +14 -4
  18. package/dist/runtime/presets/default/components/KGantt/KGanttTimeline.vue +5 -5
  19. package/dist/runtime/presets/default/components/{MultiTabs/MultiTabs.d.vue.ts → KMultiTabs/KMultiTabs.d.vue.ts} +3 -2
  20. package/dist/runtime/presets/default/components/{MultiTabs/MultiTabs.vue → KMultiTabs/KMultiTabs.vue} +19 -14
  21. package/dist/runtime/presets/default/components/{MultiTabs/MultiTabs.vue.d.ts → KMultiTabs/KMultiTabs.vue.d.ts} +3 -2
  22. package/dist/skills/katlux-components/SKILL.md +1 -1
  23. package/dist/skills/katlux-components/components/KMultiTabs.md +20 -0
  24. package/dist/skills/katlux-config/SKILL.md +7 -7
  25. package/dist/types.d.mts +2 -6
  26. package/package.json +2 -2
  27. package/dist/runtime/components/MultiTabs/MultiTabs.logic.d.ts +0 -25
  28. package/dist/skills/katlux-components/components/MultiTabs.md +0 -20
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.133",
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.120",
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 }`