routie dev init since i didn't adhere to any proper guidance up until now
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
import { Qn as toRef } from "./vue.runtime.esm-bundler-BvoXUmaf.js";
|
||||
import { c as getCurrentInstanceName, l as propsFactory } from "./defineComponent-DB6xIcDy.js";
|
||||
//#region node_modules/vuetify/lib/composables/density.js
|
||||
var allowedDensities = [
|
||||
null,
|
||||
"default",
|
||||
"comfortable",
|
||||
"compact"
|
||||
];
|
||||
var makeDensityProps = propsFactory({ density: {
|
||||
type: String,
|
||||
default: "default",
|
||||
validator: (v) => allowedDensities.includes(v)
|
||||
} }, "density");
|
||||
function useDensity(props, name = getCurrentInstanceName()) {
|
||||
return { densityClasses: toRef(() => {
|
||||
return `${name}--density-${props.density}`;
|
||||
}) };
|
||||
}
|
||||
//#endregion
|
||||
export { useDensity as n, makeDensityProps as t };
|
||||
|
||||
//# sourceMappingURL=density-CpKZ5PhP.js.map
|
||||
Reference in New Issue
Block a user