Major overhaul to the theme and now functioning.
This commit is contained in:
+51
@@ -0,0 +1,51 @@
|
||||
import {
|
||||
VProgressLinear
|
||||
} from "./chunk-FVDWV4NO.js";
|
||||
import {
|
||||
getCurrentInstanceName,
|
||||
propsFactory
|
||||
} from "./chunk-LZ5T2ERG.js";
|
||||
import {
|
||||
createBaseVNode,
|
||||
createVNode,
|
||||
normalizeClass,
|
||||
toRef
|
||||
} from "./chunk-2MKFL3BX.js";
|
||||
|
||||
// node_modules/vuetify/lib/composables/loader.js
|
||||
var makeLoaderProps = propsFactory({
|
||||
loading: [Boolean, String]
|
||||
}, "loader");
|
||||
function useLoader(props) {
|
||||
let name = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : getCurrentInstanceName();
|
||||
const loaderClasses = toRef(() => ({
|
||||
[`${name}--loading`]: props.loading
|
||||
}));
|
||||
return {
|
||||
loaderClasses
|
||||
};
|
||||
}
|
||||
function LoaderSlot(props, _ref) {
|
||||
let {
|
||||
slots
|
||||
} = _ref;
|
||||
return createBaseVNode("div", {
|
||||
"class": normalizeClass(`${props.name}__loader`)
|
||||
}, [slots.default?.({
|
||||
color: props.color,
|
||||
isActive: props.active
|
||||
}) || createVNode(VProgressLinear, {
|
||||
"absolute": props.absolute,
|
||||
"active": props.active,
|
||||
"color": props.color,
|
||||
"height": "2",
|
||||
"indeterminate": true
|
||||
}, null)]);
|
||||
}
|
||||
|
||||
export {
|
||||
makeLoaderProps,
|
||||
useLoader,
|
||||
LoaderSlot
|
||||
};
|
||||
//# sourceMappingURL=chunk-U2DSRSME.js.map
|
||||
Reference in New Issue
Block a user