@nexdom/uimed-vue 2.0.0-beta.51 → 2.0.0-beta.52
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/components.d.ts +8 -3
- package/dist/components.js +1 -6
- package/package.json +1 -1
package/dist/components.d.ts
CHANGED
|
@@ -202,10 +202,15 @@ type NavigationMenuParentItem = {
|
|
|
202
202
|
*/
|
|
203
203
|
icon?: Icon;
|
|
204
204
|
/**
|
|
205
|
-
* Child {@link
|
|
205
|
+
* Child {@link NavigationMenuChildItem} list. Unlike the first level items, they show no icon.
|
|
206
206
|
*/
|
|
207
|
-
items: Array<
|
|
207
|
+
items: Array<NavigationMenuChildItem>;
|
|
208
208
|
};
|
|
209
|
+
/**
|
|
210
|
+
* Item inside a {@link NavigationMenuParentItem}. Only the first level items and groups show an
|
|
211
|
+
* icon, so every menu follows the same visual pattern.
|
|
212
|
+
*/
|
|
213
|
+
type NavigationMenuChildItem = Omit<NavigationMenuItem, "icon">;
|
|
209
214
|
interface NavigationMenuItem {
|
|
210
215
|
/**
|
|
211
216
|
* Text to present for the item.
|
|
@@ -620,8 +625,8 @@ declare const __VLS_export$16: import("vue", { with: { "resolution-mode": "impor
|
|
|
620
625
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
621
626
|
}>, {
|
|
622
627
|
variant: TextFieldVariant;
|
|
623
|
-
type: TextFieldType;
|
|
624
628
|
clearable: boolean;
|
|
629
|
+
type: TextFieldType;
|
|
625
630
|
}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
626
631
|
//#endregion
|
|
627
632
|
//#region src/components/inputs/checkbox/types.d.ts
|
package/dist/components.js
CHANGED
|
@@ -821,13 +821,8 @@ var navigation_menu_default = /* @__PURE__ */ defineComponent({
|
|
|
821
821
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(item.items, (childItem, childIndex) => {
|
|
822
822
|
return openBlock(), createBlock(unref(VListItem), mergeProps({ key: childIndex }, { ref_for: true }, unref(routeToListItemProps)(childItem.route), {
|
|
823
823
|
title: childItem.description,
|
|
824
|
-
"prepend-icon": childItem.icon && unref(icons)[childItem.icon],
|
|
825
824
|
onClick: childItem.action
|
|
826
|
-
}), null, 16, [
|
|
827
|
-
"title",
|
|
828
|
-
"prepend-icon",
|
|
829
|
-
"onClick"
|
|
830
|
-
]);
|
|
825
|
+
}), null, 16, ["title", "onClick"]);
|
|
831
826
|
}), 128))]),
|
|
832
827
|
_: 2
|
|
833
828
|
}, 1024)) : (openBlock(), createBlock(unref(VListItem), mergeProps({
|