@fkui/vue 6.32.1 → 6.33.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/cjs/index.cjs.js +26 -33
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/esm/index.esm.js +26 -33
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/types/index.d.ts +13 -2
- package/package.json +5 -5
package/dist/types/index.d.ts
CHANGED
|
@@ -18553,8 +18553,19 @@ export declare interface RenderSlotOptions {
|
|
|
18553
18553
|
*/
|
|
18554
18554
|
export declare function renderSlotText(render: Slot | undefined, props?: Record<string, unknown>, options?: Partial<RenderSlotOptions>): string | undefined;
|
|
18555
18555
|
|
|
18556
|
-
/**
|
|
18557
|
-
|
|
18556
|
+
/**
|
|
18557
|
+
* Recursively assigns internal keys to items (and optionally to nested item arrays).
|
|
18558
|
+
*
|
|
18559
|
+
* @public
|
|
18560
|
+
* @param items - The array of items to process. Items are mutated in place.
|
|
18561
|
+
* @param keyAttribute - Optional property key on each item whose value should be used as the internal key. If omitted, an internal key is generated.
|
|
18562
|
+
* @param expandableAttribute - Optional property key on each item whose value is expected to be an array of nested items to process recursively.
|
|
18563
|
+
*
|
|
18564
|
+
* @throws Error If an item is missing or has an invalid value for `key` when `key` is provided.
|
|
18565
|
+
* @throws Error If a duplicate `key` value is encountered when `key` is provided.
|
|
18566
|
+
* @returns The same `items` array (with items mutated to include internal keys).
|
|
18567
|
+
*/
|
|
18568
|
+
export declare function setInternalKeys<T>(items: T[], keyAttribute?: keyof T, expandableAttribute?: keyof T, seenValues?: Set<unknown>): T[];
|
|
18558
18569
|
|
|
18559
18570
|
/**
|
|
18560
18571
|
* @public
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fkui/vue",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.33.0",
|
|
4
4
|
"description": "Vue implementation of FKUI components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fkui",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"unit:watch": "jest --watch"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@fkui/date": "^6.
|
|
64
|
-
"@fkui/design": "^6.
|
|
65
|
-
"@fkui/logic": "^6.
|
|
63
|
+
"@fkui/date": "^6.33.0",
|
|
64
|
+
"@fkui/design": "^6.33.0",
|
|
65
|
+
"@fkui/logic": "^6.33.0",
|
|
66
66
|
"fk-icons": "^4.30.1",
|
|
67
67
|
"html-validate": ">= 7.9.0",
|
|
68
68
|
"vue": "^3.5.0"
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"node": ">= 20",
|
|
80
80
|
"npm": ">= 7"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "aefd7e006c712b409aae7893129f1cd3aa8d04cb"
|
|
83
83
|
}
|