Major overhaul to the theme and now functioning.
This commit is contained in:
+70
@@ -0,0 +1,70 @@
|
||||
import {
|
||||
createLayout,
|
||||
makeLayoutProps
|
||||
} from "./chunk-KQXZAEJP.js";
|
||||
import {
|
||||
useRtl
|
||||
} from "./chunk-ENTLCOCZ.js";
|
||||
import {
|
||||
makeThemeProps,
|
||||
provideTheme
|
||||
} from "./chunk-3DSR7NCB.js";
|
||||
import {
|
||||
genericComponent,
|
||||
makeComponentProps,
|
||||
omit,
|
||||
propsFactory,
|
||||
useRender
|
||||
} from "./chunk-LZ5T2ERG.js";
|
||||
import {
|
||||
createBaseVNode,
|
||||
normalizeClass,
|
||||
normalizeStyle
|
||||
} from "./chunk-2MKFL3BX.js";
|
||||
|
||||
// node_modules/vuetify/lib/components/VApp/VApp.js
|
||||
import "/home/david/Documents/vscode/personal_development/ServerManagerWebApp/frontend/node_modules/vuetify/lib/components/VApp/VApp.css";
|
||||
var makeVAppProps = propsFactory({
|
||||
...makeComponentProps(),
|
||||
...omit(makeLayoutProps(), ["fullHeight"]),
|
||||
...makeThemeProps()
|
||||
}, "VApp");
|
||||
var VApp = genericComponent()({
|
||||
name: "VApp",
|
||||
props: makeVAppProps(),
|
||||
setup(props, _ref) {
|
||||
let {
|
||||
slots
|
||||
} = _ref;
|
||||
const theme = provideTheme(props);
|
||||
const {
|
||||
layoutClasses,
|
||||
getLayoutItem,
|
||||
items,
|
||||
layoutRef
|
||||
} = createLayout({
|
||||
...props,
|
||||
fullHeight: true
|
||||
});
|
||||
const {
|
||||
rtlClasses
|
||||
} = useRtl();
|
||||
useRender(() => createBaseVNode("div", {
|
||||
"ref": layoutRef,
|
||||
"class": normalizeClass(["v-application", theme.themeClasses.value, layoutClasses.value, rtlClasses.value, props.class]),
|
||||
"style": normalizeStyle([props.style])
|
||||
}, [createBaseVNode("div", {
|
||||
"class": "v-application__wrap"
|
||||
}, [slots.default?.()])]));
|
||||
return {
|
||||
getLayoutItem,
|
||||
items,
|
||||
theme
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
export {
|
||||
VApp
|
||||
};
|
||||
//# sourceMappingURL=chunk-IYFY4IHW.js.map
|
||||
Reference in New Issue
Block a user