gitea push

This commit is contained in:
2026-05-09 12:19:29 -06:00
parent 06113c95b8
commit 429461e985
1481 changed files with 74306 additions and 52475 deletions
+53 -24
View File
@@ -1,5 +1,5 @@
/*!
* Vuetify v4.0.6
* Vuetify v4.0.7
* Forged by John Leider
* Released under the MIT License.
*/
@@ -393,21 +393,21 @@
} while ((!_el || _el.offsetParent == null || !(condition?.(_el) ?? true)) && idx < elements.length && idx >= 0);
return _el;
}
function focusChild(el, location) {
function focusChild(el, location, options) {
const focusable = focusableChildren(el);
if (location == null) {
if (el === document.activeElement || !el.contains(document.activeElement)) {
focusable[0]?.focus();
focusable[0]?.focus(options);
}
} else if (location === 'first') {
focusable[0]?.focus();
focusable[0]?.focus(options);
} else if (location === 'last') {
focusable.at(-1)?.focus();
focusable.at(-1)?.focus(options);
} else if (typeof location === 'number') {
focusable[location]?.focus();
focusable[location]?.focus(options);
} else {
const _el = getNextElement(focusable, location);
if (_el) _el.focus();else focusChild(el, location === 'next' ? 'first' : 'last');
if (_el) _el.focus();else focusChild(el, location === 'next' ? 'first' : 'last', options);
}
}
function isEmpty(val) {
@@ -5837,8 +5837,10 @@
}
const gapRelativeSize = 100 * chunkGap.value / containerSize;
const chunkRelativeSize = 100 * (chunkWidth.value + chunkGap.value) / containerSize;
const filledChunks = Math.floor((val + gapRelativeSize) / chunkRelativeSize);
return clamp(0, filledChunks * chunkRelativeSize - gapRelativeSize / 2, 100);
// low-effort workaround to floating-point rounding in the division
const filledChunks = Math.floor((val + gapRelativeSize) / chunkRelativeSize + 1e-9);
return clamp(filledChunks * chunkRelativeSize - gapRelativeSize / 2, 0, 100);
}
return {
hasChunks,
@@ -9974,7 +9976,8 @@
const useNested = (props, {
items,
returnObject,
scrollToActive
scrollToActive,
valueComparator
}) => {
let isUnmounted = false;
const children = vue.shallowRef(new Map());
@@ -10029,8 +10032,28 @@
return multipleOpenStrategy;
}
});
const activated = useProxiedModel(props, 'activated', props.activated, v => activeStrategy.value.in(v, children.value, parents.value), v => activeStrategy.value.out(v, children.value, parents.value));
const selected = useProxiedModel(props, 'selected', props.selected, v => selectStrategy.value.in(v, children.value, parents.value, disabled.value), v => selectStrategy.value.out(v, children.value, parents.value));
const flatItems = vue.computed(() => {
const flat = [];
const stack = [...items.value];
while (stack.length) {
const item = stack.pop();
flat.push(item);
if (item.children) stack.push(...item.children);
}
return flat;
});
function resolveValue(value) {
const comparator = vue.toValue(valueComparator);
if (!comparator) return value;
const _returnObject = vue.toValue(returnObject);
for (const item of flatItems.value) {
const itemVal = _returnObject ? vue.toRaw(item.raw) : item.value;
if (comparator(value, itemVal)) return itemVal;
}
return value;
}
const activated = useProxiedModel(props, 'activated', props.activated, v => activeStrategy.value.in(Array.isArray(v) ? v.map(resolveValue) : v, children.value, parents.value), v => activeStrategy.value.out(v, children.value, parents.value));
const selected = useProxiedModel(props, 'selected', props.selected, v => selectStrategy.value.in(Array.isArray(v) ? v.map(resolveValue) : v, children.value, parents.value, disabled.value), v => selectStrategy.value.out(v, children.value, parents.value));
vue.onBeforeUnmount(() => {
isUnmounted = true;
});
@@ -11158,7 +11181,8 @@
} = useNested(props, {
items,
returnObject: vue.toRef(() => props.returnObject),
scrollToActive: vue.toRef(() => props.navigationStrategy === 'track')
scrollToActive: vue.toRef(() => props.navigationStrategy === 'track'),
valueComparator: vue.toRef(() => props.valueComparator)
});
const lineClasses = vue.toRef(() => props.lines ? `v-list--${props.lines}-line` : undefined);
const activeColor = vue.toRef(() => props.activeColor);
@@ -11283,9 +11307,9 @@
function onMousedown(e) {
isFocused.value = true;
}
function focus(location) {
function focus(location, options) {
if (contentRef.value) {
return focusChild(contentRef.value, location);
return focusChild(contentRef.value, location, options);
}
}
useRender(() => {
@@ -14845,7 +14869,9 @@
}
if (listRef.value && isFocused.value) {
const index = getSelectedFocusableIndex();
listRef.value.focus(index >= 0 ? index : 'first');
listRef.value.focus(index >= 0 ? index : 'first', {
focusVisible: false
});
}
}
function onAfterLeave() {
@@ -14941,7 +14967,6 @@
"modelValue": menu.value,
"onUpdate:modelValue": $event => menu.value = $event,
"activator": "parent",
"contentClass": "v-select__content",
"disabled": menuDisabled.value,
"eager": props.eager,
"maxHeight": 310,
@@ -14950,7 +14975,9 @@
"transition": props.transition,
"onAfterEnter": onAfterEnter,
"onAfterLeave": onAfterLeave
}, computedMenuProps.value), {
}, computedMenuProps.value, {
"contentClass": ['v-select__content', computedMenuProps.value.contentClass]
}), {
default: () => [vue.createVNode(VSheet, {
"elevation": props.menuElevation,
"onFocusin": onFocusin,
@@ -15478,7 +15505,6 @@
"modelValue": menu.value,
"onUpdate:modelValue": $event => menu.value = $event,
"activator": "parent",
"contentClass": "v-autocomplete__content",
"disabled": menuDisabled.value,
"eager": props.eager,
"maxHeight": 310,
@@ -15486,7 +15512,9 @@
"closeOnContentClick": false,
"onAfterEnter": onAfterEnter,
"onAfterLeave": onAfterLeave
}, props.menuProps), {
}, props.menuProps, {
"contentClass": ['v-autocomplete__content', props.menuProps?.contentClass]
}), {
default: () => [vue.createVNode(VSheet, {
"elevation": props.menuElevation,
"onFocusin": onFocusin,
@@ -23472,7 +23500,6 @@
"modelValue": menu.value,
"onUpdate:modelValue": $event => menu.value = $event,
"activator": "parent",
"contentClass": "v-combobox__content",
"disabled": menuDisabled.value,
"eager": props.eager,
"maxHeight": 310,
@@ -23480,7 +23507,9 @@
"closeOnContentClick": false,
"onAfterEnter": onAfterEnter,
"onAfterLeave": onAfterLeave
}, props.menuProps), {
}, props.menuProps, {
"contentClass": ['v-combobox__content', props.menuProps?.contentClass]
}), {
default: () => [vue.createVNode(VSheet, {
"elevation": props.menuElevation,
"onFocusin": onFocusin,
@@ -37537,7 +37566,7 @@
};
});
}
const version$1 = "4.0.6";
const version$1 = "4.0.7";
createVuetify$1.version = version$1;
// Vue's inject() can only be used in setup
@@ -37561,7 +37590,7 @@
...options
});
};
const version = "4.0.6";
const version = "4.0.7";
createVuetify.version = version;
exports.blueprints = index;