@katlux/toolkit 0.1.1-alpha.135 → 0.1.1-alpha.136

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": "@katlux/toolkit",
3
3
  "configKey": "katluxToolkit",
4
- "version": "0.1.1-alpha.135",
4
+ "version": "0.1.1-alpha.136",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -102,9 +102,9 @@ export function useKCompositeInputLogic(props, emit) {
102
102
  if (typeof props.selectionValue === "object") return props.selectionValue;
103
103
  if (props.dataProvider && typeof props.dataProvider === "object") {
104
104
  const provider = props.dataProvider;
105
- const rowMap = unref(provider.rowMap);
106
105
  const pageData = unref(provider.pageData);
107
- const data = Array.isArray(rowMap) && rowMap.length > 0 ? rowMap : Array.isArray(pageData) && pageData.length > 0 ? pageData : unref(provider.allData) || [];
106
+ const rowMap = unref(provider.rowMap);
107
+ const data = Array.isArray(pageData) && pageData.length > 0 ? pageData : Array.isArray(rowMap) && rowMap.length > 0 ? rowMap : unref(provider.allData) || [];
108
108
  return data.find((item) => getSelectionKey(item) === props.selectionValue) || props.selectionValue;
109
109
  }
110
110
  return props.selectionValue;
@@ -131,9 +131,9 @@ export function useKCompositeInputLogic(props, emit) {
131
131
  const resolvedValidation = computed(() => {
132
132
  if (props.validateAll) {
133
133
  const provider = props.dataProvider;
134
- const rowMap = unref(provider?.rowMap);
135
134
  const pageData = unref(provider?.pageData);
136
- const data = Array.isArray(rowMap) && rowMap.length > 0 ? rowMap : Array.isArray(pageData) && pageData.length > 0 ? pageData : unref(provider?.allData) || [];
135
+ const rowMap = unref(provider?.rowMap);
136
+ const data = Array.isArray(pageData) && pageData.length > 0 ? pageData : Array.isArray(rowMap) && rowMap.length > 0 ? rowMap : unref(provider?.allData) || [];
137
137
  const configField = props.inputConfigField || "inputConfig";
138
138
  const activeConfig = resolvedInputConfig.value;
139
139
  if (activeConfig.validation && activeConfig.validation !== "success") {
@@ -160,9 +160,9 @@ export function useKCompositeInputLogic(props, emit) {
160
160
  const resolvedValidationText = computed(() => {
161
161
  if (props.validateAll) {
162
162
  const provider = props.dataProvider;
163
- const rowMap = unref(provider?.rowMap);
164
163
  const pageData = unref(provider?.pageData);
165
- const data = Array.isArray(rowMap) && rowMap.length > 0 ? rowMap : Array.isArray(pageData) && pageData.length > 0 ? pageData : unref(provider?.allData) || [];
164
+ const rowMap = unref(provider?.rowMap);
165
+ const data = Array.isArray(pageData) && pageData.length > 0 ? pageData : Array.isArray(rowMap) && rowMap.length > 0 ? rowMap : unref(provider?.allData) || [];
166
166
  const configField = props.inputConfigField || "inputConfig";
167
167
  const activeConfig = resolvedInputConfig.value;
168
168
  if (activeConfig.validation && activeConfig.validation !== "success") {
@@ -27,7 +27,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
27
27
  }>> & Readonly<{}>, {
28
28
  disabled: boolean;
29
29
  text: string;
30
- position: "left" | "right" | "top" | "bottom";
30
+ position: "top" | "left" | "right" | "bottom";
31
31
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
33
33
  export default _default;
@@ -27,7 +27,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
27
27
  }>> & Readonly<{}>, {
28
28
  disabled: boolean;
29
29
  text: string;
30
- position: "left" | "right" | "top" | "bottom";
30
+ position: "top" | "left" | "right" | "bottom";
31
31
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
33
33
  export default _default;
@@ -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.134` | Core Nuxt module, UI toolkit, presets, and components | `npm install @katlux/toolkit@alpha` |
108
- | `@katlux/providers` | `0.1.1-alpha.121` | Core data providers, client caching, and state structures | `npm install @katlux/providers@alpha` |
109
- | `@katlux/preset-modern` | `0.1.1-alpha.109` | Modern design preset and styling variables | `npm install @katlux/preset-modern@alpha` |
110
- | `@katlux/preset-dark` | `0.1.1-alpha.40` | Sleek Dark Mode design preset | `npm install @katlux/preset-dark@alpha` |
111
- | `@katlux/block-charts` | `0.1.1-alpha.109` | Pre-built charting block components | `npm install @katlux/block-charts@alpha` |
112
- | `@katlux/block-ecommerce` | `0.1.1-alpha.109` | Pre-built eCommerce block components | `npm install @katlux/block-ecommerce@alpha` |
113
- | `@katlux/mcp` | `0.1.0-alpha.13` | Model Context Protocol server for AI assistant integration | `npm install @katlux/mcp@alpha` |
107
+ | `@katlux/toolkit` | `0.1.1-alpha.135` | Core Nuxt module, UI toolkit, presets, and components | `npm install @katlux/toolkit@alpha` |
108
+ | `@katlux/providers` | `0.1.1-alpha.122` | Core data providers, client caching, and state structures | `npm install @katlux/providers@alpha` |
109
+ | `@katlux/preset-modern` | `0.1.1-alpha.110` | Modern design preset and styling variables | `npm install @katlux/preset-modern@alpha` |
110
+ | `@katlux/preset-dark` | `0.1.1-alpha.41` | Sleek Dark Mode design preset | `npm install @katlux/preset-dark@alpha` |
111
+ | `@katlux/block-charts` | `0.1.1-alpha.110` | Pre-built charting block components | `npm install @katlux/block-charts@alpha` |
112
+ | `@katlux/block-ecommerce` | `0.1.1-alpha.110` | Pre-built eCommerce block components | `npm install @katlux/block-ecommerce@alpha` |
113
+ | `@katlux/mcp` | `0.1.0-alpha.14` | 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@katlux/toolkit",
3
- "version": "0.1.1-alpha.135",
3
+ "version": "0.1.1-alpha.136",
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.122",
57
+ "@katlux/providers": "^0.1.1-alpha.123",
58
58
  "@nuxt/kit": "^3.12.0",
59
59
  "@nuxtjs/i18n": "^10.4.0",
60
60
  "pug": "^3.0.0",