@nexdom/uimed-vue 2.3.0 → 2.3.1
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.
|
@@ -23,8 +23,8 @@ declare const __VLS_export: import("vue", { with: { "resolution-mode": "import"
|
|
|
23
23
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
variant: TextFieldVariant;
|
|
26
|
-
clearable: boolean;
|
|
27
26
|
type: TextFieldType;
|
|
27
|
+
clearable: boolean;
|
|
28
28
|
}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { _default as default };
|
package/dist/components/navigation-menu/navigation-menu.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -5,9 +5,9 @@ import skeleton_loader_default from "../skeleton-loader/skeleton-loader.js";
|
|
|
5
5
|
import text_field_default from "../inputs/text-field/text-field.js";
|
|
6
6
|
import { isParentItem, useNavigationRail } from "../../composables/navigation/use-navigation-rail.js";
|
|
7
7
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, isRef, mergeModels, mergeProps, openBlock, ref, renderList, unref, useModel, useTemplateRef, vShow, watch, withCtx, withDirectives, withKeys } from "vue";
|
|
8
|
-
import { VDivider, VList, VListGroup, VListItem, VNavigationDrawer } from "vuetify/components";
|
|
8
|
+
import { VDefaultsProvider, VDivider, VList, VListGroup, VListItem, VNavigationDrawer } from "vuetify/components";
|
|
9
9
|
//#region src/components/navigation-menu/navigation-menu.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
-
const _hoisted_1 = { class: "px-4
|
|
10
|
+
const _hoisted_1 = { class: "px-4 pb-4" };
|
|
11
11
|
var navigation_menu_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
12
12
|
inheritAttrs: false,
|
|
13
13
|
__name: "navigation-menu",
|
|
@@ -36,6 +36,7 @@ var navigation_menu_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
36
36
|
const props = __props;
|
|
37
37
|
const open = useModel(__props, "modelValue");
|
|
38
38
|
const search = ref("");
|
|
39
|
+
const searchFieldDefaults = { VTextField: { hideDetails: "auto" } };
|
|
39
40
|
const field = useTemplateRef("searchField");
|
|
40
41
|
const { mobile, collapsed, drawerOpen, menuOpen, opened, isActiveGroup, dismiss, isRestoringFocus, onFocusin, onFocusout, onMouseenter, onMouseleave } = useNavigationRail({
|
|
41
42
|
open,
|
|
@@ -96,20 +97,23 @@ var navigation_menu_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
96
97
|
onKeydown: withKeys(unref(dismiss), ["esc"])
|
|
97
98
|
}, {
|
|
98
99
|
prepend: withCtx(() => [
|
|
99
|
-
withDirectives(createElementVNode("div", _hoisted_1, [createVNode(
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
100
|
+
withDirectives(createElementVNode("div", _hoisted_1, [createCommentVNode(" Hides the empty messages area, which made the expanded rail's search taller than the\n collapsed one's search item and pushed the items down when the rail expanded "), createVNode(unref(VDefaultsProvider), { defaults: searchFieldDefaults }, {
|
|
101
|
+
default: withCtx(() => [createVNode(text_field_default, {
|
|
102
|
+
ref: "searchField",
|
|
103
|
+
modelValue: search.value,
|
|
104
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => search.value = $event),
|
|
105
|
+
type: "search",
|
|
106
|
+
placeholder: `Buscar (${unref(shortcutLabel)})`,
|
|
107
|
+
"data-testid": searchDataTestid.value,
|
|
108
|
+
disabled: props.loading
|
|
109
|
+
}, null, 8, [
|
|
110
|
+
"modelValue",
|
|
111
|
+
"placeholder",
|
|
112
|
+
"data-testid",
|
|
113
|
+
"disabled"
|
|
114
|
+
])]),
|
|
115
|
+
_: 1
|
|
116
|
+
})], 512), [[vShow, !unref(collapsed)]]),
|
|
113
117
|
createCommentVNode(" Vuetify's list is focusable and passes the focus on to its first item: out of the tab\n order, the item gets the focus straight from the page, which then gets it back on `Esc` "),
|
|
114
118
|
withDirectives(createVNode(unref(VList), {
|
|
115
119
|
nav: "",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"padding-y": (
|
|
76
76
|
responsive: false,
|
|
77
77
|
),
|
|
78
|
-
"padding-
|
|
78
|
+
"padding-bottom": (
|
|
79
79
|
responsive: false,
|
|
80
80
|
),
|
|
81
81
|
"text-align": (
|
|
@@ -115,8 +115,8 @@
|
|
|
115
115
|
"negative-margin-left": false,
|
|
116
116
|
"negative-margin-start": false,
|
|
117
117
|
"negative-margin-end": false,
|
|
118
|
+
"padding-top": false,
|
|
118
119
|
"padding-right": false,
|
|
119
|
-
"padding-bottom": false,
|
|
120
120
|
"padding-left": false,
|
|
121
121
|
"padding-start": false,
|
|
122
122
|
"padding-end": false,
|