routie dev init since i didn't adhere to any proper guidance up until now
This commit is contained in:
+618
@@ -0,0 +1,618 @@
|
||||
|
||||
import type { PropType } from 'vue';
|
||||
declare const ALIGN_SELF_VALUES: readonly ['auto', 'start', 'end', 'center', 'baseline', 'stretch'];
|
||||
export declare const makeVColProps: <Defaults extends {
|
||||
class?: unknown;
|
||||
style?: unknown;
|
||||
tag?: unknown;
|
||||
cols?: unknown;
|
||||
offset?: unknown;
|
||||
order?: unknown;
|
||||
orderSm?: unknown;
|
||||
orderMd?: unknown;
|
||||
orderLg?: unknown;
|
||||
orderXl?: unknown;
|
||||
orderXxl?: unknown;
|
||||
alignSelf?: unknown;
|
||||
lg?: unknown;
|
||||
md?: unknown;
|
||||
offsetLg?: unknown;
|
||||
offsetMd?: unknown;
|
||||
offsetSm?: unknown;
|
||||
offsetXl?: unknown;
|
||||
offsetXxl?: unknown;
|
||||
sm?: unknown;
|
||||
xl?: unknown;
|
||||
xxl?: unknown;
|
||||
} = {}>(defaults?: Defaults | undefined) => {
|
||||
class: unknown extends Defaults["class"] ? PropType<any> : {
|
||||
type: PropType<unknown extends Defaults["class"] ? any : any>;
|
||||
default: unknown extends Defaults["class"] ? any : any;
|
||||
};
|
||||
style: unknown extends Defaults["style"] ? {
|
||||
type: PropType<import("vue").StyleValue>;
|
||||
default: null;
|
||||
} : Omit<{
|
||||
type: PropType<import("vue").StyleValue>;
|
||||
default: null;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["style"] ? import("vue").StyleValue : Defaults["style"] | import("vue").StyleValue>;
|
||||
default: unknown extends Defaults["style"] ? import("vue").StyleValue : Defaults["style"] | NonNullable<import("vue").StyleValue>;
|
||||
};
|
||||
tag: unknown extends Defaults["tag"] ? {
|
||||
type: PropType<string | import("../../util/index.js").JSXComponent>;
|
||||
default: string;
|
||||
} : Omit<{
|
||||
type: PropType<string | import("../../util/index.js").JSXComponent>;
|
||||
default: string;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["tag"] ? string | import("../../util/index.js").JSXComponent : string | Defaults["tag"] | import("../../util/index.js").JSXComponent>;
|
||||
default: unknown extends Defaults["tag"] ? string | import("../../util/index.js").JSXComponent : Defaults["tag"] | NonNullable<string | import("../../util/index.js").JSXComponent>;
|
||||
};
|
||||
cols: unknown extends Defaults["cols"] ? {
|
||||
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
|
||||
default: boolean;
|
||||
} : Omit<{
|
||||
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
|
||||
default: boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["cols"] ? string | number | boolean : string | number | boolean | Defaults["cols"]>;
|
||||
default: unknown extends Defaults["cols"] ? string | number | boolean : Defaults["cols"] | NonNullable<string | number | boolean>;
|
||||
};
|
||||
offset: unknown extends Defaults["offset"] ? {
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
} : Omit<{
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["offset"] ? string | number : string | number | Defaults["offset"]>;
|
||||
default: unknown extends Defaults["offset"] ? string | number : Defaults["offset"] | NonNullable<string | number>;
|
||||
};
|
||||
order: unknown extends Defaults["order"] ? {
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
} : Omit<{
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["order"] ? string | number : string | number | Defaults["order"]>;
|
||||
default: unknown extends Defaults["order"] ? string | number : Defaults["order"] | NonNullable<string | number>;
|
||||
};
|
||||
orderSm: unknown extends Defaults["orderSm"] ? {
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
} : Omit<{
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["orderSm"] ? string | number : string | number | Defaults["orderSm"]>;
|
||||
default: unknown extends Defaults["orderSm"] ? string | number : Defaults["orderSm"] | NonNullable<string | number>;
|
||||
};
|
||||
orderMd: unknown extends Defaults["orderMd"] ? {
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
} : Omit<{
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["orderMd"] ? string | number : string | number | Defaults["orderMd"]>;
|
||||
default: unknown extends Defaults["orderMd"] ? string | number : Defaults["orderMd"] | NonNullable<string | number>;
|
||||
};
|
||||
orderLg: unknown extends Defaults["orderLg"] ? {
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
} : Omit<{
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["orderLg"] ? string | number : string | number | Defaults["orderLg"]>;
|
||||
default: unknown extends Defaults["orderLg"] ? string | number : Defaults["orderLg"] | NonNullable<string | number>;
|
||||
};
|
||||
orderXl: unknown extends Defaults["orderXl"] ? {
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
} : Omit<{
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["orderXl"] ? string | number : string | number | Defaults["orderXl"]>;
|
||||
default: unknown extends Defaults["orderXl"] ? string | number : Defaults["orderXl"] | NonNullable<string | number>;
|
||||
};
|
||||
orderXxl: unknown extends Defaults["orderXxl"] ? {
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
} : Omit<{
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["orderXxl"] ? string | number : string | number | Defaults["orderXxl"]>;
|
||||
default: unknown extends Defaults["orderXxl"] ? string | number : Defaults["orderXxl"] | NonNullable<string | number>;
|
||||
};
|
||||
alignSelf: unknown extends Defaults["alignSelf"] ? {
|
||||
type: PropType<(typeof ALIGN_SELF_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
} : Omit<{
|
||||
type: PropType<(typeof ALIGN_SELF_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["alignSelf"] ? "auto" | "baseline" | "center" | "end" | "start" | "stretch" : "auto" | "baseline" | "center" | "end" | "start" | "stretch" | Defaults["alignSelf"]>;
|
||||
default: unknown extends Defaults["alignSelf"] ? "auto" | "baseline" | "center" | "end" | "start" | "stretch" : Defaults["alignSelf"] | NonNullable<"auto" | "baseline" | "center" | "end" | "start" | "stretch">;
|
||||
};
|
||||
lg: unknown extends Defaults["lg"] ? {
|
||||
type: [BooleanConstructor, StringConstructor, NumberConstructor];
|
||||
default: false;
|
||||
} : Omit<{
|
||||
type: [BooleanConstructor, StringConstructor, NumberConstructor];
|
||||
default: false;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["lg"] ? string | number | boolean : string | number | boolean | Defaults["lg"]>;
|
||||
default: unknown extends Defaults["lg"] ? string | number | boolean : Defaults["lg"] | NonNullable<string | number | boolean>;
|
||||
};
|
||||
md: unknown extends Defaults["md"] ? {
|
||||
type: [BooleanConstructor, StringConstructor, NumberConstructor];
|
||||
default: false;
|
||||
} : Omit<{
|
||||
type: [BooleanConstructor, StringConstructor, NumberConstructor];
|
||||
default: false;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["md"] ? string | number | boolean : string | number | boolean | Defaults["md"]>;
|
||||
default: unknown extends Defaults["md"] ? string | number | boolean : Defaults["md"] | NonNullable<string | number | boolean>;
|
||||
};
|
||||
offsetLg: unknown extends Defaults["offsetLg"] ? {
|
||||
type: [StringConstructor, NumberConstructor];
|
||||
default: null;
|
||||
} : Omit<{
|
||||
type: [StringConstructor, NumberConstructor];
|
||||
default: null;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["offsetLg"] ? string | number : string | number | Defaults["offsetLg"]>;
|
||||
default: unknown extends Defaults["offsetLg"] ? string | number : Defaults["offsetLg"] | NonNullable<string | number>;
|
||||
};
|
||||
offsetMd: unknown extends Defaults["offsetMd"] ? {
|
||||
type: [StringConstructor, NumberConstructor];
|
||||
default: null;
|
||||
} : Omit<{
|
||||
type: [StringConstructor, NumberConstructor];
|
||||
default: null;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["offsetMd"] ? string | number : string | number | Defaults["offsetMd"]>;
|
||||
default: unknown extends Defaults["offsetMd"] ? string | number : Defaults["offsetMd"] | NonNullable<string | number>;
|
||||
};
|
||||
offsetSm: unknown extends Defaults["offsetSm"] ? {
|
||||
type: [StringConstructor, NumberConstructor];
|
||||
default: null;
|
||||
} : Omit<{
|
||||
type: [StringConstructor, NumberConstructor];
|
||||
default: null;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["offsetSm"] ? string | number : string | number | Defaults["offsetSm"]>;
|
||||
default: unknown extends Defaults["offsetSm"] ? string | number : Defaults["offsetSm"] | NonNullable<string | number>;
|
||||
};
|
||||
offsetXl: unknown extends Defaults["offsetXl"] ? {
|
||||
type: [StringConstructor, NumberConstructor];
|
||||
default: null;
|
||||
} : Omit<{
|
||||
type: [StringConstructor, NumberConstructor];
|
||||
default: null;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["offsetXl"] ? string | number : string | number | Defaults["offsetXl"]>;
|
||||
default: unknown extends Defaults["offsetXl"] ? string | number : Defaults["offsetXl"] | NonNullable<string | number>;
|
||||
};
|
||||
offsetXxl: unknown extends Defaults["offsetXxl"] ? {
|
||||
type: [StringConstructor, NumberConstructor];
|
||||
default: null;
|
||||
} : Omit<{
|
||||
type: [StringConstructor, NumberConstructor];
|
||||
default: null;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["offsetXxl"] ? string | number : string | number | Defaults["offsetXxl"]>;
|
||||
default: unknown extends Defaults["offsetXxl"] ? string | number : Defaults["offsetXxl"] | NonNullable<string | number>;
|
||||
};
|
||||
sm: unknown extends Defaults["sm"] ? {
|
||||
type: [BooleanConstructor, StringConstructor, NumberConstructor];
|
||||
default: false;
|
||||
} : Omit<{
|
||||
type: [BooleanConstructor, StringConstructor, NumberConstructor];
|
||||
default: false;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["sm"] ? string | number | boolean : string | number | boolean | Defaults["sm"]>;
|
||||
default: unknown extends Defaults["sm"] ? string | number | boolean : Defaults["sm"] | NonNullable<string | number | boolean>;
|
||||
};
|
||||
xl: unknown extends Defaults["xl"] ? {
|
||||
type: [BooleanConstructor, StringConstructor, NumberConstructor];
|
||||
default: false;
|
||||
} : Omit<{
|
||||
type: [BooleanConstructor, StringConstructor, NumberConstructor];
|
||||
default: false;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["xl"] ? string | number | boolean : string | number | boolean | Defaults["xl"]>;
|
||||
default: unknown extends Defaults["xl"] ? string | number | boolean : Defaults["xl"] | NonNullable<string | number | boolean>;
|
||||
};
|
||||
xxl: unknown extends Defaults["xxl"] ? {
|
||||
type: [BooleanConstructor, StringConstructor, NumberConstructor];
|
||||
default: false;
|
||||
} : Omit<{
|
||||
type: [BooleanConstructor, StringConstructor, NumberConstructor];
|
||||
default: false;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["xxl"] ? string | number | boolean : string | number | boolean | Defaults["xxl"]>;
|
||||
default: unknown extends Defaults["xxl"] ? string | number | boolean : Defaults["xxl"] | NonNullable<string | number | boolean>;
|
||||
};
|
||||
};
|
||||
export declare const VCol: {
|
||||
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
||||
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
||||
tag: string | import("../../util/index.js").JSXComponent;
|
||||
cols: string | number | boolean;
|
||||
offset: string | number;
|
||||
order: string | number;
|
||||
orderSm: string | number;
|
||||
orderMd: string | number;
|
||||
orderLg: string | number;
|
||||
orderXl: string | number;
|
||||
orderXxl: string | number;
|
||||
alignSelf: "auto" | "baseline" | "center" | "end" | "start" | "stretch";
|
||||
lg: string | number | boolean;
|
||||
md: string | number | boolean;
|
||||
offsetLg: string | number;
|
||||
offsetMd: string | number;
|
||||
offsetSm: string | number;
|
||||
offsetXl: string | number;
|
||||
offsetXxl: string | number;
|
||||
sm: string | number | boolean;
|
||||
xl: string | number | boolean;
|
||||
xxl: string | number | boolean;
|
||||
} & {
|
||||
class?: any;
|
||||
} & {
|
||||
$children?: {
|
||||
default?: (() => import("vue").VNodeChild) | undefined;
|
||||
} | {
|
||||
$stable?: boolean;
|
||||
} | (() => import("vue").VNodeChild) | import("vue").VNodeChild;
|
||||
'v-slots'?: {
|
||||
default?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
} | undefined;
|
||||
} & {
|
||||
"v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
||||
style: import("vue").StyleValue;
|
||||
tag: string | import("../../util/index.js").JSXComponent;
|
||||
cols: string | number | boolean;
|
||||
offset: string | number;
|
||||
order: string | number;
|
||||
orderSm: string | number;
|
||||
orderMd: string | number;
|
||||
orderLg: string | number;
|
||||
orderXl: string | number;
|
||||
orderXxl: string | number;
|
||||
alignSelf: "auto" | "baseline" | "center" | "end" | "start" | "stretch";
|
||||
lg: string | number | boolean;
|
||||
md: string | number | boolean;
|
||||
offsetLg: string | number;
|
||||
offsetMd: string | number;
|
||||
offsetSm: string | number;
|
||||
offsetXl: string | number;
|
||||
offsetXxl: string | number;
|
||||
sm: string | number | boolean;
|
||||
xl: string | number | boolean;
|
||||
xxl: string | number | boolean;
|
||||
}, true, {}, import("vue").SlotsType<Partial<{
|
||||
default: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>[];
|
||||
}>>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
||||
P: {};
|
||||
B: {};
|
||||
D: {};
|
||||
C: {};
|
||||
M: {};
|
||||
Defaults: {};
|
||||
}, {
|
||||
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
||||
tag: string | import("../../util/index.js").JSXComponent;
|
||||
cols: string | number | boolean;
|
||||
offset: string | number;
|
||||
order: string | number;
|
||||
orderSm: string | number;
|
||||
orderMd: string | number;
|
||||
orderLg: string | number;
|
||||
orderXl: string | number;
|
||||
orderXxl: string | number;
|
||||
alignSelf: "auto" | "baseline" | "center" | "end" | "start" | "stretch";
|
||||
lg: string | number | boolean;
|
||||
md: string | number | boolean;
|
||||
offsetLg: string | number;
|
||||
offsetMd: string | number;
|
||||
offsetSm: string | number;
|
||||
offsetXl: string | number;
|
||||
offsetXxl: string | number;
|
||||
sm: string | number | boolean;
|
||||
xl: string | number | boolean;
|
||||
xxl: string | number | boolean;
|
||||
} & {
|
||||
class?: any;
|
||||
} & {
|
||||
$children?: {
|
||||
default?: (() => import("vue").VNodeChild) | undefined;
|
||||
} | {
|
||||
$stable?: boolean;
|
||||
} | (() => import("vue").VNodeChild) | import("vue").VNodeChild;
|
||||
'v-slots'?: {
|
||||
default?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
} | undefined;
|
||||
} & {
|
||||
"v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>, {}, {}, {}, {
|
||||
style: import("vue").StyleValue;
|
||||
tag: string | import("../../util/index.js").JSXComponent;
|
||||
cols: string | number | boolean;
|
||||
offset: string | number;
|
||||
order: string | number;
|
||||
orderSm: string | number;
|
||||
orderMd: string | number;
|
||||
orderLg: string | number;
|
||||
orderXl: string | number;
|
||||
orderXxl: string | number;
|
||||
alignSelf: "auto" | "baseline" | "center" | "end" | "start" | "stretch";
|
||||
lg: string | number | boolean;
|
||||
md: string | number | boolean;
|
||||
offsetLg: string | number;
|
||||
offsetMd: string | number;
|
||||
offsetSm: string | number;
|
||||
offsetXl: string | number;
|
||||
offsetXxl: string | number;
|
||||
sm: string | number | boolean;
|
||||
xl: string | number | boolean;
|
||||
xxl: string | number | boolean;
|
||||
}>;
|
||||
__isFragment?: never;
|
||||
__isTeleport?: never;
|
||||
__isSuspense?: never;
|
||||
} & import("vue").ComponentOptionsBase<{
|
||||
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
||||
tag: string | import("../../util/index.js").JSXComponent;
|
||||
cols: string | number | boolean;
|
||||
offset: string | number;
|
||||
order: string | number;
|
||||
orderSm: string | number;
|
||||
orderMd: string | number;
|
||||
orderLg: string | number;
|
||||
orderXl: string | number;
|
||||
orderXxl: string | number;
|
||||
alignSelf: "auto" | "baseline" | "center" | "end" | "start" | "stretch";
|
||||
lg: string | number | boolean;
|
||||
md: string | number | boolean;
|
||||
offsetLg: string | number;
|
||||
offsetMd: string | number;
|
||||
offsetSm: string | number;
|
||||
offsetXl: string | number;
|
||||
offsetXxl: string | number;
|
||||
sm: string | number | boolean;
|
||||
xl: string | number | boolean;
|
||||
xxl: string | number | boolean;
|
||||
} & {
|
||||
class?: any;
|
||||
} & {
|
||||
$children?: {
|
||||
default?: (() => import("vue").VNodeChild) | undefined;
|
||||
} | {
|
||||
$stable?: boolean;
|
||||
} | (() => import("vue").VNodeChild) | import("vue").VNodeChild;
|
||||
'v-slots'?: {
|
||||
default?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
} | undefined;
|
||||
} & {
|
||||
"v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
||||
style: import("vue").StyleValue;
|
||||
tag: string | import("../../util/index.js").JSXComponent;
|
||||
cols: string | number | boolean;
|
||||
offset: string | number;
|
||||
order: string | number;
|
||||
orderSm: string | number;
|
||||
orderMd: string | number;
|
||||
orderLg: string | number;
|
||||
orderXl: string | number;
|
||||
orderXxl: string | number;
|
||||
alignSelf: "auto" | "baseline" | "center" | "end" | "start" | "stretch";
|
||||
lg: string | number | boolean;
|
||||
md: string | number | boolean;
|
||||
offsetLg: string | number;
|
||||
offsetMd: string | number;
|
||||
offsetSm: string | number;
|
||||
offsetXl: string | number;
|
||||
offsetXxl: string | number;
|
||||
sm: string | number | boolean;
|
||||
xl: string | number | boolean;
|
||||
xxl: string | number | boolean;
|
||||
}, {}, string, import("vue").SlotsType<Partial<{
|
||||
default: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>[];
|
||||
}>>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("../../util/index.js").FilterPropsOptions<{
|
||||
class: PropType<import("../../composables/component.js").ClassValue>;
|
||||
style: {
|
||||
type: PropType<import("vue").StyleValue>;
|
||||
default: null;
|
||||
};
|
||||
tag: {
|
||||
type: PropType<string | import("../../util/index.js").JSXComponent>;
|
||||
default: string;
|
||||
};
|
||||
cols: {
|
||||
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
|
||||
default: boolean;
|
||||
};
|
||||
offset: {
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
};
|
||||
order: {
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
};
|
||||
orderSm: {
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
};
|
||||
orderMd: {
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
};
|
||||
orderLg: {
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
};
|
||||
orderXl: {
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
};
|
||||
orderXxl: {
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
};
|
||||
alignSelf: {
|
||||
type: PropType<(typeof ALIGN_SELF_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
lg: {
|
||||
type: [BooleanConstructor, StringConstructor, NumberConstructor];
|
||||
default: false;
|
||||
};
|
||||
md: {
|
||||
type: [BooleanConstructor, StringConstructor, NumberConstructor];
|
||||
default: false;
|
||||
};
|
||||
offsetLg: {
|
||||
type: [StringConstructor, NumberConstructor];
|
||||
default: null;
|
||||
};
|
||||
offsetMd: {
|
||||
type: [StringConstructor, NumberConstructor];
|
||||
default: null;
|
||||
};
|
||||
offsetSm: {
|
||||
type: [StringConstructor, NumberConstructor];
|
||||
default: null;
|
||||
};
|
||||
offsetXl: {
|
||||
type: [StringConstructor, NumberConstructor];
|
||||
default: null;
|
||||
};
|
||||
offsetXxl: {
|
||||
type: [StringConstructor, NumberConstructor];
|
||||
default: null;
|
||||
};
|
||||
sm: {
|
||||
type: [BooleanConstructor, StringConstructor, NumberConstructor];
|
||||
default: false;
|
||||
};
|
||||
xl: {
|
||||
type: [BooleanConstructor, StringConstructor, NumberConstructor];
|
||||
default: false;
|
||||
};
|
||||
xxl: {
|
||||
type: [BooleanConstructor, StringConstructor, NumberConstructor];
|
||||
default: false;
|
||||
};
|
||||
}, import("vue").ExtractPropTypes<{
|
||||
class: PropType<import("../../composables/component.js").ClassValue>;
|
||||
style: {
|
||||
type: PropType<import("vue").StyleValue>;
|
||||
default: null;
|
||||
};
|
||||
tag: {
|
||||
type: PropType<string | import("../../util/index.js").JSXComponent>;
|
||||
default: string;
|
||||
};
|
||||
cols: {
|
||||
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
|
||||
default: boolean;
|
||||
};
|
||||
offset: {
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
};
|
||||
order: {
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
};
|
||||
orderSm: {
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
};
|
||||
orderMd: {
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
};
|
||||
orderLg: {
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
};
|
||||
orderXl: {
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
};
|
||||
orderXxl: {
|
||||
type: (NumberConstructor | StringConstructor)[];
|
||||
default: null;
|
||||
};
|
||||
alignSelf: {
|
||||
type: PropType<(typeof ALIGN_SELF_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
lg: {
|
||||
type: [BooleanConstructor, StringConstructor, NumberConstructor];
|
||||
default: false;
|
||||
};
|
||||
md: {
|
||||
type: [BooleanConstructor, StringConstructor, NumberConstructor];
|
||||
default: false;
|
||||
};
|
||||
offsetLg: {
|
||||
type: [StringConstructor, NumberConstructor];
|
||||
default: null;
|
||||
};
|
||||
offsetMd: {
|
||||
type: [StringConstructor, NumberConstructor];
|
||||
default: null;
|
||||
};
|
||||
offsetSm: {
|
||||
type: [StringConstructor, NumberConstructor];
|
||||
default: null;
|
||||
};
|
||||
offsetXl: {
|
||||
type: [StringConstructor, NumberConstructor];
|
||||
default: null;
|
||||
};
|
||||
offsetXxl: {
|
||||
type: [StringConstructor, NumberConstructor];
|
||||
default: null;
|
||||
};
|
||||
sm: {
|
||||
type: [BooleanConstructor, StringConstructor, NumberConstructor];
|
||||
default: false;
|
||||
};
|
||||
xl: {
|
||||
type: [BooleanConstructor, StringConstructor, NumberConstructor];
|
||||
default: false;
|
||||
};
|
||||
xxl: {
|
||||
type: [BooleanConstructor, StringConstructor, NumberConstructor];
|
||||
default: false;
|
||||
};
|
||||
}>>;
|
||||
export type VCol = InstanceType<typeof VCol>;
|
||||
|
||||
+182
@@ -0,0 +1,182 @@
|
||||
// Styles
|
||||
import "./VGrid.css";
|
||||
|
||||
// Composables
|
||||
import { makeComponentProps } from "../../composables/component.js";
|
||||
import { breakpoints } from "../../composables/display.js";
|
||||
import { makeTagProps } from "../../composables/tag.js"; // Utilities
|
||||
import { capitalize, computed, h } from 'vue';
|
||||
import { genericComponent, keys, propsFactory } from "../../util/index.js"; // Types
|
||||
const breakpointProps = (() => {
|
||||
return breakpoints.reduce((props, val) => {
|
||||
props[val] = {
|
||||
type: [Boolean, String, Number],
|
||||
default: false
|
||||
};
|
||||
return props;
|
||||
}, {});
|
||||
})();
|
||||
const offsetProps = (() => {
|
||||
return breakpoints.reduce((props, val) => {
|
||||
const offsetKey = 'offset' + capitalize(val);
|
||||
props[offsetKey] = {
|
||||
type: [String, Number],
|
||||
default: null
|
||||
};
|
||||
return props;
|
||||
}, {});
|
||||
})();
|
||||
const propMap = {
|
||||
col: keys(breakpointProps),
|
||||
offset: keys(offsetProps),
|
||||
order: ['order', 'orderSm', 'orderMd', 'orderLg', 'orderXl', 'orderXxl']
|
||||
};
|
||||
function parseCols(val) {
|
||||
if (typeof val === 'string' && val.includes('/')) {
|
||||
const [cols, size] = val.split('/');
|
||||
return {
|
||||
cols: Number(cols),
|
||||
size: Number(size)
|
||||
};
|
||||
}
|
||||
return {
|
||||
cols: val
|
||||
};
|
||||
}
|
||||
function parseBreakpoint(type, prop, val) {
|
||||
if (val == null || val === false) {
|
||||
return {};
|
||||
}
|
||||
const {
|
||||
cols,
|
||||
size
|
||||
} = parseCols(val);
|
||||
const breakpoint = prop.replace(type, '').toLowerCase();
|
||||
if (type === 'offset') {
|
||||
return {
|
||||
className: `v-col--offset-${breakpoint}-${cols}`,
|
||||
variables: [{
|
||||
[`--v-col-offset-base-${breakpoint}`]: size
|
||||
}]
|
||||
};
|
||||
} else if (type === 'order') {
|
||||
return {
|
||||
className: `order-${breakpoint}-${cols}`
|
||||
};
|
||||
}
|
||||
|
||||
// Handling the boolean style prop when accepting [Boolean, String, Number]
|
||||
// means Vue will not convert <v-col sm></v-col> to sm: true for us.
|
||||
// Since the default is false, an empty string indicates the prop's presence.
|
||||
return {
|
||||
className: cols === '' || cols === true ? `v-col--${breakpoint}` : `v-col--cols-${breakpoint}-${cols}`,
|
||||
variables: [{
|
||||
[`--v-col-size-base-${breakpoint}`]: size
|
||||
}]
|
||||
};
|
||||
}
|
||||
const ALIGN_SELF_VALUES = ['auto', 'start', 'end', 'center', 'baseline', 'stretch'];
|
||||
const alignSelfValidator = str => ALIGN_SELF_VALUES.includes(str);
|
||||
export const makeVColProps = propsFactory({
|
||||
cols: {
|
||||
type: [Boolean, String, Number],
|
||||
default: false
|
||||
},
|
||||
...breakpointProps,
|
||||
offset: {
|
||||
type: [String, Number],
|
||||
default: null
|
||||
},
|
||||
...offsetProps,
|
||||
/** @deprecated use order-* class instead */
|
||||
order: {
|
||||
type: [String, Number],
|
||||
default: null
|
||||
},
|
||||
/** @deprecated use order-sm-* class instead */
|
||||
orderSm: {
|
||||
type: [String, Number],
|
||||
default: null
|
||||
},
|
||||
/** @deprecated use order-md-* class instead */
|
||||
orderMd: {
|
||||
type: [String, Number],
|
||||
default: null
|
||||
},
|
||||
/** @deprecated use order-lg-* class instead */
|
||||
orderLg: {
|
||||
type: [String, Number],
|
||||
default: null
|
||||
},
|
||||
/** @deprecated use order-xl-* class instead */
|
||||
orderXl: {
|
||||
type: [String, Number],
|
||||
default: null
|
||||
},
|
||||
/** @deprecated use order-xxl-* class instead */
|
||||
orderXxl: {
|
||||
type: [String, Number],
|
||||
default: null
|
||||
},
|
||||
/** @deprecated use align-self-* class instead */
|
||||
alignSelf: {
|
||||
type: String,
|
||||
default: null,
|
||||
validator: alignSelfValidator
|
||||
},
|
||||
...makeComponentProps(),
|
||||
...makeTagProps()
|
||||
}, 'VCol');
|
||||
export const VCol = genericComponent()({
|
||||
name: 'VCol',
|
||||
props: makeVColProps(),
|
||||
setup(props, {
|
||||
slots
|
||||
}) {
|
||||
const sizeBaseOverride = computed(() => parseCols(props.cols).size);
|
||||
const offsetBaseOverride = computed(() => parseCols(props.offset).size);
|
||||
const responsive = computed(() => {
|
||||
const classList = ['v-col'];
|
||||
const variablesList = [];
|
||||
|
||||
// Loop through `col`, `offset`, `order` breakpoint props
|
||||
let type;
|
||||
for (type in propMap) {
|
||||
propMap[type].forEach(prop => {
|
||||
const value = props[prop];
|
||||
const {
|
||||
className,
|
||||
variables
|
||||
} = parseBreakpoint(type, prop, value);
|
||||
if (className) classList.push(className);
|
||||
if (variables) variablesList.push(...variables);
|
||||
});
|
||||
}
|
||||
const {
|
||||
cols
|
||||
} = parseCols(props.cols);
|
||||
const {
|
||||
cols: offset
|
||||
} = parseCols(props.offset);
|
||||
classList.push({
|
||||
[`v-col--cols-${cols}`]: cols,
|
||||
[`v-col--offset-${offset}`]: offset,
|
||||
[`order-${props.order}`]: props.order,
|
||||
[`align-self-${props.alignSelf}`]: props.alignSelf
|
||||
});
|
||||
return {
|
||||
classes: classList,
|
||||
variables: variablesList
|
||||
};
|
||||
});
|
||||
return () => h(props.tag, {
|
||||
class: [responsive.value.classes, props.class],
|
||||
style: [{
|
||||
'--v-col-size-base': sizeBaseOverride.value
|
||||
}, {
|
||||
'--v-col-offset-base': offsetBaseOverride.value
|
||||
}, responsive.value.variables, props.style]
|
||||
}, slots.default?.());
|
||||
}
|
||||
});
|
||||
//# sourceMappingURL=VCol.js.map
|
||||
+1
File diff suppressed because one or more lines are too long
+31
@@ -0,0 +1,31 @@
|
||||
@layer vuetify-components {
|
||||
.v-container {
|
||||
width: 100%;
|
||||
padding: 16px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
@media (min-width: 840px) {
|
||||
.v-container {
|
||||
max-width: 700px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1145px) {
|
||||
.v-container {
|
||||
max-width: 1000px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1545px) {
|
||||
.v-container {
|
||||
max-width: 1400px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 2138px) {
|
||||
.v-container {
|
||||
max-width: 2000px;
|
||||
}
|
||||
}
|
||||
.v-container--fluid {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
+215
@@ -0,0 +1,215 @@
|
||||
|
||||
export declare const makeVContainerProps: <Defaults extends {
|
||||
class?: unknown;
|
||||
style?: unknown;
|
||||
tag?: unknown;
|
||||
height?: unknown;
|
||||
maxHeight?: unknown;
|
||||
maxWidth?: unknown;
|
||||
minHeight?: unknown;
|
||||
minWidth?: unknown;
|
||||
width?: unknown;
|
||||
fluid?: unknown;
|
||||
} = {}>(defaults?: Defaults | undefined) => {
|
||||
class: unknown extends Defaults["class"] ? import("vue").PropType<any> : {
|
||||
type: import("vue").PropType<unknown extends Defaults["class"] ? any : any>;
|
||||
default: unknown extends Defaults["class"] ? any : any;
|
||||
};
|
||||
style: unknown extends Defaults["style"] ? {
|
||||
type: import("vue").PropType<import("vue").StyleValue>;
|
||||
default: null;
|
||||
} : Omit<{
|
||||
type: import("vue").PropType<import("vue").StyleValue>;
|
||||
default: null;
|
||||
}, "default" | "type"> & {
|
||||
type: import("vue").PropType<unknown extends Defaults["style"] ? import("vue").StyleValue : Defaults["style"] | import("vue").StyleValue>;
|
||||
default: unknown extends Defaults["style"] ? import("vue").StyleValue : Defaults["style"] | NonNullable<import("vue").StyleValue>;
|
||||
};
|
||||
tag: unknown extends Defaults["tag"] ? {
|
||||
type: import("vue").PropType<string | import("../../util/index.js").JSXComponent>;
|
||||
default: string;
|
||||
} : Omit<{
|
||||
type: import("vue").PropType<string | import("../../util/index.js").JSXComponent>;
|
||||
default: string;
|
||||
}, "default" | "type"> & {
|
||||
type: import("vue").PropType<unknown extends Defaults["tag"] ? string | import("../../util/index.js").JSXComponent : string | Defaults["tag"] | import("../../util/index.js").JSXComponent>;
|
||||
default: unknown extends Defaults["tag"] ? string | import("../../util/index.js").JSXComponent : Defaults["tag"] | NonNullable<string | import("../../util/index.js").JSXComponent>;
|
||||
};
|
||||
height: unknown extends Defaults["height"] ? (NumberConstructor | StringConstructor)[] : {
|
||||
type: import("vue").PropType<unknown extends Defaults["height"] ? string | number : string | number | Defaults["height"]>;
|
||||
default: unknown extends Defaults["height"] ? string | number : Defaults["height"] | NonNullable<string | number>;
|
||||
};
|
||||
maxHeight: unknown extends Defaults["maxHeight"] ? (NumberConstructor | StringConstructor)[] : {
|
||||
type: import("vue").PropType<unknown extends Defaults["maxHeight"] ? string | number : string | number | Defaults["maxHeight"]>;
|
||||
default: unknown extends Defaults["maxHeight"] ? string | number : Defaults["maxHeight"] | NonNullable<string | number>;
|
||||
};
|
||||
maxWidth: unknown extends Defaults["maxWidth"] ? (NumberConstructor | StringConstructor)[] : {
|
||||
type: import("vue").PropType<unknown extends Defaults["maxWidth"] ? string | number : string | number | Defaults["maxWidth"]>;
|
||||
default: unknown extends Defaults["maxWidth"] ? string | number : Defaults["maxWidth"] | NonNullable<string | number>;
|
||||
};
|
||||
minHeight: unknown extends Defaults["minHeight"] ? (NumberConstructor | StringConstructor)[] : {
|
||||
type: import("vue").PropType<unknown extends Defaults["minHeight"] ? string | number : string | number | Defaults["minHeight"]>;
|
||||
default: unknown extends Defaults["minHeight"] ? string | number : Defaults["minHeight"] | NonNullable<string | number>;
|
||||
};
|
||||
minWidth: unknown extends Defaults["minWidth"] ? (NumberConstructor | StringConstructor)[] : {
|
||||
type: import("vue").PropType<unknown extends Defaults["minWidth"] ? string | number : string | number | Defaults["minWidth"]>;
|
||||
default: unknown extends Defaults["minWidth"] ? string | number : Defaults["minWidth"] | NonNullable<string | number>;
|
||||
};
|
||||
width: unknown extends Defaults["width"] ? (NumberConstructor | StringConstructor)[] : {
|
||||
type: import("vue").PropType<unknown extends Defaults["width"] ? string | number : string | number | Defaults["width"]>;
|
||||
default: unknown extends Defaults["width"] ? string | number : Defaults["width"] | NonNullable<string | number>;
|
||||
};
|
||||
fluid: unknown extends Defaults["fluid"] ? {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
} : Omit<{
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: import("vue").PropType<unknown extends Defaults["fluid"] ? boolean : boolean | Defaults["fluid"]>;
|
||||
default: unknown extends Defaults["fluid"] ? boolean : boolean | Defaults["fluid"];
|
||||
};
|
||||
};
|
||||
export declare const VContainer: {
|
||||
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
||||
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
||||
tag: string | import("../../util/index.js").JSXComponent;
|
||||
fluid: boolean;
|
||||
} & {
|
||||
class?: any;
|
||||
height?: string | number | undefined;
|
||||
maxHeight?: string | number | undefined;
|
||||
maxWidth?: string | number | undefined;
|
||||
minHeight?: string | number | undefined;
|
||||
minWidth?: string | number | undefined;
|
||||
width?: string | number | undefined;
|
||||
} & {
|
||||
$children?: {
|
||||
default?: (() => import("vue").VNodeChild) | undefined;
|
||||
} | {
|
||||
$stable?: boolean;
|
||||
} | (() => import("vue").VNodeChild) | import("vue").VNodeChild;
|
||||
'v-slots'?: {
|
||||
default?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
} | undefined;
|
||||
} & {
|
||||
"v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
||||
style: import("vue").StyleValue;
|
||||
tag: string | import("../../util/index.js").JSXComponent;
|
||||
fluid: boolean;
|
||||
}, true, {}, import("vue").SlotsType<Partial<{
|
||||
default: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>[];
|
||||
}>>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
||||
P: {};
|
||||
B: {};
|
||||
D: {};
|
||||
C: {};
|
||||
M: {};
|
||||
Defaults: {};
|
||||
}, {
|
||||
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
||||
tag: string | import("../../util/index.js").JSXComponent;
|
||||
fluid: boolean;
|
||||
} & {
|
||||
class?: any;
|
||||
height?: string | number | undefined;
|
||||
maxHeight?: string | number | undefined;
|
||||
maxWidth?: string | number | undefined;
|
||||
minHeight?: string | number | undefined;
|
||||
minWidth?: string | number | undefined;
|
||||
width?: string | number | undefined;
|
||||
} & {
|
||||
$children?: {
|
||||
default?: (() => import("vue").VNodeChild) | undefined;
|
||||
} | {
|
||||
$stable?: boolean;
|
||||
} | (() => import("vue").VNodeChild) | import("vue").VNodeChild;
|
||||
'v-slots'?: {
|
||||
default?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
} | undefined;
|
||||
} & {
|
||||
"v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
}, {}, {}, {}, {}, {
|
||||
style: import("vue").StyleValue;
|
||||
tag: string | import("../../util/index.js").JSXComponent;
|
||||
fluid: boolean;
|
||||
}>;
|
||||
__isFragment?: never;
|
||||
__isTeleport?: never;
|
||||
__isSuspense?: never;
|
||||
} & import("vue").ComponentOptionsBase<{
|
||||
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
||||
tag: string | import("../../util/index.js").JSXComponent;
|
||||
fluid: boolean;
|
||||
} & {
|
||||
class?: any;
|
||||
height?: string | number | undefined;
|
||||
maxHeight?: string | number | undefined;
|
||||
maxWidth?: string | number | undefined;
|
||||
minHeight?: string | number | undefined;
|
||||
minWidth?: string | number | undefined;
|
||||
width?: string | number | undefined;
|
||||
} & {
|
||||
$children?: {
|
||||
default?: (() => import("vue").VNodeChild) | undefined;
|
||||
} | {
|
||||
$stable?: boolean;
|
||||
} | (() => import("vue").VNodeChild) | import("vue").VNodeChild;
|
||||
'v-slots'?: {
|
||||
default?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
} | undefined;
|
||||
} & {
|
||||
"v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
||||
style: import("vue").StyleValue;
|
||||
tag: string | import("../../util/index.js").JSXComponent;
|
||||
fluid: boolean;
|
||||
}, {}, string, import("vue").SlotsType<Partial<{
|
||||
default: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>[];
|
||||
}>>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("../../util/index.js").FilterPropsOptions<{
|
||||
class: import("vue").PropType<any>;
|
||||
style: {
|
||||
type: import("vue").PropType<import("vue").StyleValue>;
|
||||
default: null;
|
||||
};
|
||||
tag: {
|
||||
type: import("vue").PropType<string | import("../../util/index.js").JSXComponent>;
|
||||
default: string;
|
||||
};
|
||||
height: (NumberConstructor | StringConstructor)[];
|
||||
maxHeight: (NumberConstructor | StringConstructor)[];
|
||||
maxWidth: (NumberConstructor | StringConstructor)[];
|
||||
minHeight: (NumberConstructor | StringConstructor)[];
|
||||
minWidth: (NumberConstructor | StringConstructor)[];
|
||||
width: (NumberConstructor | StringConstructor)[];
|
||||
fluid: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
}, import("vue").ExtractPropTypes<{
|
||||
class: import("vue").PropType<any>;
|
||||
style: {
|
||||
type: import("vue").PropType<import("vue").StyleValue>;
|
||||
default: null;
|
||||
};
|
||||
tag: {
|
||||
type: import("vue").PropType<string | import("../../util/index.js").JSXComponent>;
|
||||
default: string;
|
||||
};
|
||||
height: (NumberConstructor | StringConstructor)[];
|
||||
maxHeight: (NumberConstructor | StringConstructor)[];
|
||||
maxWidth: (NumberConstructor | StringConstructor)[];
|
||||
minHeight: (NumberConstructor | StringConstructor)[];
|
||||
minWidth: (NumberConstructor | StringConstructor)[];
|
||||
width: (NumberConstructor | StringConstructor)[];
|
||||
fluid: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
}>>;
|
||||
export type VContainer = InstanceType<typeof VContainer>;
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
import { normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createVNode as _createVNode } from "vue";
|
||||
// Styles
|
||||
import "./VContainer.css";
|
||||
|
||||
// Composables
|
||||
import { makeComponentProps } from "../../composables/component.js";
|
||||
import { makeDimensionProps, useDimension } from "../../composables/dimensions.js";
|
||||
import { useRtl } from "../../composables/locale.js";
|
||||
import { makeTagProps } from "../../composables/tag.js"; // Utilities
|
||||
import { genericComponent, propsFactory, useRender } from "../../util/index.js";
|
||||
export const makeVContainerProps = propsFactory({
|
||||
fluid: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
...makeComponentProps(),
|
||||
...makeDimensionProps(),
|
||||
...makeTagProps()
|
||||
}, 'VContainer');
|
||||
export const VContainer = genericComponent()({
|
||||
name: 'VContainer',
|
||||
props: makeVContainerProps(),
|
||||
setup(props, {
|
||||
slots
|
||||
}) {
|
||||
const {
|
||||
rtlClasses
|
||||
} = useRtl();
|
||||
const {
|
||||
dimensionStyles
|
||||
} = useDimension(props);
|
||||
useRender(() => _createVNode(props.tag, {
|
||||
"class": _normalizeClass(['v-container', {
|
||||
'v-container--fluid': props.fluid
|
||||
}, rtlClasses.value, props.class]),
|
||||
"style": _normalizeStyle([dimensionStyles.value, props.style])
|
||||
}, slots));
|
||||
return {};
|
||||
}
|
||||
});
|
||||
//# sourceMappingURL=VContainer.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"VContainer.js","names":["makeComponentProps","makeDimensionProps","useDimension","useRtl","makeTagProps","genericComponent","propsFactory","useRender","makeVContainerProps","fluid","type","Boolean","default","VContainer","name","props","setup","slots","rtlClasses","dimensionStyles","_createVNode","tag","_normalizeClass","value","class","_normalizeStyle","style"],"sources":["../../../src/components/VGrid/VContainer.tsx"],"sourcesContent":["// Styles\nimport './VContainer.sass'\n\n// Composables\nimport { makeComponentProps } from '@/composables/component'\nimport { makeDimensionProps, useDimension } from '@/composables/dimensions'\nimport { useRtl } from '@/composables/locale'\nimport { makeTagProps } from '@/composables/tag'\n\n// Utilities\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\nexport const makeVContainerProps = propsFactory({\n fluid: {\n type: Boolean,\n default: false,\n },\n\n ...makeComponentProps(),\n ...makeDimensionProps(),\n ...makeTagProps(),\n}, 'VContainer')\n\nexport const VContainer = genericComponent()({\n name: 'VContainer',\n\n props: makeVContainerProps(),\n\n setup (props, { slots }) {\n const { rtlClasses } = useRtl()\n const { dimensionStyles } = useDimension(props)\n\n useRender(() => (\n <props.tag\n class={[\n 'v-container',\n { 'v-container--fluid': props.fluid },\n rtlClasses.value,\n props.class,\n ]}\n style={[\n dimensionStyles.value,\n props.style,\n ]}\n v-slots={ slots }\n />\n ))\n\n return {}\n },\n})\n\nexport type VContainer = InstanceType<typeof VContainer>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,kBAAkB;AAAA,SAClBC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,MAAM;AAAA,SACNC,YAAY,oCAErB;AAAA,SACSC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS;AAElD,OAAO,MAAMC,mBAAmB,GAAGF,YAAY,CAAC;EAC9CG,KAAK,EAAE;IACLC,IAAI,EAAEC,OAAO;IACbC,OAAO,EAAE;EACX,CAAC;EAED,GAAGZ,kBAAkB,CAAC,CAAC;EACvB,GAAGC,kBAAkB,CAAC,CAAC;EACvB,GAAGG,YAAY,CAAC;AAClB,CAAC,EAAE,YAAY,CAAC;AAEhB,OAAO,MAAMS,UAAU,GAAGR,gBAAgB,CAAC,CAAC,CAAC;EAC3CS,IAAI,EAAE,YAAY;EAElBC,KAAK,EAAEP,mBAAmB,CAAC,CAAC;EAE5BQ,KAAKA,CAAED,KAAK,EAAE;IAAEE;EAAM,CAAC,EAAE;IACvB,MAAM;MAAEC;IAAW,CAAC,GAAGf,MAAM,CAAC,CAAC;IAC/B,MAAM;MAAEgB;IAAgB,CAAC,GAAGjB,YAAY,CAACa,KAAK,CAAC;IAE/CR,SAAS,CAAC,MAAAa,YAAA,CAAAL,KAAA,CAAAM,GAAA;MAAA,SAAAC,eAAA,CAEC,CACL,aAAa,EACb;QAAE,oBAAoB,EAAEP,KAAK,CAACN;MAAM,CAAC,EACrCS,UAAU,CAACK,KAAK,EAChBR,KAAK,CAACS,KAAK,CACZ;MAAA,SAAAC,eAAA,CACM,CACLN,eAAe,CAACI,KAAK,EACrBR,KAAK,CAACW,KAAK,CACZ;IAAA,GACST,KAAK,CAElB,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC","ignoreList":[]}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
@use '../../styles/tools'
|
||||
@use './mixins' as *
|
||||
|
||||
@include tools.layer('components')
|
||||
.v-container
|
||||
@include make-container
|
||||
@include make-container-max-widths
|
||||
|
||||
&--fluid
|
||||
max-width: 100%
|
||||
+906
@@ -0,0 +1,906 @@
|
||||
@layer vuetify-components {
|
||||
.v-row {
|
||||
--v-row-columns: 12;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex: 1 1 auto;
|
||||
gap: var(--v-col-gap-y) var(--v-col-gap-x);
|
||||
}
|
||||
.v-row + .v-row {
|
||||
margin-top: var(--v-col-gap-y);
|
||||
}
|
||||
.v-row--density-default {
|
||||
--v-col-gap-x: 24px;
|
||||
--v-col-gap-y: 24px;
|
||||
}
|
||||
.v-row--density-comfortable {
|
||||
--v-col-gap-x: 16px;
|
||||
--v-col-gap-y: 16px;
|
||||
}
|
||||
.v-row--density-compact {
|
||||
--v-col-gap-x: 8px;
|
||||
--v-col-gap-y: 8px;
|
||||
}
|
||||
.v-row--no-gutters {
|
||||
--v-col-gap-x: 0px;
|
||||
--v-col-gap-y: 0px;
|
||||
}
|
||||
.v-col {
|
||||
flex-grow: var(--v-col-is-size, 0) var(--v-col-is-auto, 0) var(--v-col-is-grow, 1);
|
||||
flex-shrink: 0;
|
||||
flex-basis: var(--v-col-is-size, calc(var(--v-col-size) * (100% + var(--v-col-gap-x)) / var(--v-col-size-columns) - var(--v-col-gap-x))) var(--v-col-is-auto, auto) var(--v-col-is-grow, 0);
|
||||
max-width: 100%;
|
||||
min-width: var(--v-col-is-size, 0) var(--v-col-is-auto, auto) var(--v-col-is-grow, auto);
|
||||
--v-col-is-size: ;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: initial;
|
||||
--v-col-size-base: initial;
|
||||
--v-col-size-base-sm: initial;
|
||||
--v-col-size-base-md: initial;
|
||||
--v-col-size-base-lg: initial;
|
||||
--v-col-size-base-xl: initial;
|
||||
--v-col-size-base-xxl: initial;
|
||||
--v-col-offset-base: initial;
|
||||
--v-col-offset-base-sm: initial;
|
||||
--v-col-offset-base-md: initial;
|
||||
--v-col-offset-base-lg: initial;
|
||||
--v-col-offset-base-xl: initial;
|
||||
--v-col-offset-base-xxl: initial;
|
||||
}
|
||||
.v-col:where([class*=v-col--offset-]) {
|
||||
margin-inline-start: calc(var(--v-col-offset) * (100% + var(--v-col-gap-x)) / var(--v-col-offset-columns));
|
||||
}
|
||||
.v-col--cols-auto {
|
||||
--v-col-is-size: ;
|
||||
--v-col-is-auto: initial;
|
||||
--v-col-is-grow: ;
|
||||
}
|
||||
.v-col--cols-1 {
|
||||
--v-col-size: 1;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-2 {
|
||||
--v-col-size: 2;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-3 {
|
||||
--v-col-size: 3;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-4 {
|
||||
--v-col-size: 4;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-5 {
|
||||
--v-col-size: 5;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-6 {
|
||||
--v-col-size: 6;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-7 {
|
||||
--v-col-size: 7;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-8 {
|
||||
--v-col-size: 8;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-9 {
|
||||
--v-col-size: 9;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-10 {
|
||||
--v-col-size: 10;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-11 {
|
||||
--v-col-size: 11;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-12 {
|
||||
--v-col-size: 12;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-1 {
|
||||
--v-col-offset: 1;
|
||||
--v-col-offset-columns: var(--v-col-offset-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-2 {
|
||||
--v-col-offset: 2;
|
||||
--v-col-offset-columns: var(--v-col-offset-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-3 {
|
||||
--v-col-offset: 3;
|
||||
--v-col-offset-columns: var(--v-col-offset-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-4 {
|
||||
--v-col-offset: 4;
|
||||
--v-col-offset-columns: var(--v-col-offset-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-5 {
|
||||
--v-col-offset: 5;
|
||||
--v-col-offset-columns: var(--v-col-offset-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-6 {
|
||||
--v-col-offset: 6;
|
||||
--v-col-offset-columns: var(--v-col-offset-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-7 {
|
||||
--v-col-offset: 7;
|
||||
--v-col-offset-columns: var(--v-col-offset-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-8 {
|
||||
--v-col-offset: 8;
|
||||
--v-col-offset-columns: var(--v-col-offset-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-9 {
|
||||
--v-col-offset: 9;
|
||||
--v-col-offset-columns: var(--v-col-offset-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-10 {
|
||||
--v-col-offset: 10;
|
||||
--v-col-offset-columns: var(--v-col-offset-base, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-11 {
|
||||
--v-col-offset: 11;
|
||||
--v-col-offset-columns: var(--v-col-offset-base, var(--v-row-columns));
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
.v-col--sm {
|
||||
--v-col-is-size: ;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: initial;
|
||||
}
|
||||
.v-col--cols-sm-auto {
|
||||
--v-col-is-size: ;
|
||||
--v-col-is-auto: initial;
|
||||
--v-col-is-grow: ;
|
||||
}
|
||||
.v-col--cols-sm-1 {
|
||||
--v-col-size: 1;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-sm-2 {
|
||||
--v-col-size: 2;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-sm-3 {
|
||||
--v-col-size: 3;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-sm-4 {
|
||||
--v-col-size: 4;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-sm-5 {
|
||||
--v-col-size: 5;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-sm-6 {
|
||||
--v-col-size: 6;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-sm-7 {
|
||||
--v-col-size: 7;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-sm-8 {
|
||||
--v-col-size: 8;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-sm-9 {
|
||||
--v-col-size: 9;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-sm-10 {
|
||||
--v-col-size: 10;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-sm-11 {
|
||||
--v-col-size: 11;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-sm-12 {
|
||||
--v-col-size: 12;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-sm-0 {
|
||||
--v-col-offset: 0;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-sm-1 {
|
||||
--v-col-offset: 1;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-sm-2 {
|
||||
--v-col-offset: 2;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-sm-3 {
|
||||
--v-col-offset: 3;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-sm-4 {
|
||||
--v-col-offset: 4;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-sm-5 {
|
||||
--v-col-offset: 5;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-sm-6 {
|
||||
--v-col-offset: 6;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-sm-7 {
|
||||
--v-col-offset: 7;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-sm-8 {
|
||||
--v-col-offset: 8;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-sm-9 {
|
||||
--v-col-offset: 9;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-sm-10 {
|
||||
--v-col-offset: 10;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-sm, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-sm-11 {
|
||||
--v-col-offset: 11;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-sm, var(--v-row-columns));
|
||||
}
|
||||
}
|
||||
@media (min-width: 840px) {
|
||||
.v-col--md {
|
||||
--v-col-is-size: ;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: initial;
|
||||
}
|
||||
.v-col--cols-md-auto {
|
||||
--v-col-is-size: ;
|
||||
--v-col-is-auto: initial;
|
||||
--v-col-is-grow: ;
|
||||
}
|
||||
.v-col--cols-md-1 {
|
||||
--v-col-size: 1;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-md-2 {
|
||||
--v-col-size: 2;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-md-3 {
|
||||
--v-col-size: 3;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-md-4 {
|
||||
--v-col-size: 4;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-md-5 {
|
||||
--v-col-size: 5;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-md-6 {
|
||||
--v-col-size: 6;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-md-7 {
|
||||
--v-col-size: 7;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-md-8 {
|
||||
--v-col-size: 8;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-md-9 {
|
||||
--v-col-size: 9;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-md-10 {
|
||||
--v-col-size: 10;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-md-11 {
|
||||
--v-col-size: 11;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-md-12 {
|
||||
--v-col-size: 12;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-md-0 {
|
||||
--v-col-offset: 0;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-md-1 {
|
||||
--v-col-offset: 1;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-md-2 {
|
||||
--v-col-offset: 2;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-md-3 {
|
||||
--v-col-offset: 3;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-md-4 {
|
||||
--v-col-offset: 4;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-md-5 {
|
||||
--v-col-offset: 5;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-md-6 {
|
||||
--v-col-offset: 6;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-md-7 {
|
||||
--v-col-offset: 7;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-md-8 {
|
||||
--v-col-offset: 8;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-md-9 {
|
||||
--v-col-offset: 9;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-md-10 {
|
||||
--v-col-offset: 10;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-md, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-md-11 {
|
||||
--v-col-offset: 11;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-md, var(--v-row-columns));
|
||||
}
|
||||
}
|
||||
@media (min-width: 1145px) {
|
||||
.v-col--lg {
|
||||
--v-col-is-size: ;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: initial;
|
||||
}
|
||||
.v-col--cols-lg-auto {
|
||||
--v-col-is-size: ;
|
||||
--v-col-is-auto: initial;
|
||||
--v-col-is-grow: ;
|
||||
}
|
||||
.v-col--cols-lg-1 {
|
||||
--v-col-size: 1;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-lg-2 {
|
||||
--v-col-size: 2;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-lg-3 {
|
||||
--v-col-size: 3;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-lg-4 {
|
||||
--v-col-size: 4;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-lg-5 {
|
||||
--v-col-size: 5;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-lg-6 {
|
||||
--v-col-size: 6;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-lg-7 {
|
||||
--v-col-size: 7;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-lg-8 {
|
||||
--v-col-size: 8;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-lg-9 {
|
||||
--v-col-size: 9;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-lg-10 {
|
||||
--v-col-size: 10;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-lg-11 {
|
||||
--v-col-size: 11;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-lg-12 {
|
||||
--v-col-size: 12;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-lg-0 {
|
||||
--v-col-offset: 0;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-lg-1 {
|
||||
--v-col-offset: 1;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-lg-2 {
|
||||
--v-col-offset: 2;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-lg-3 {
|
||||
--v-col-offset: 3;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-lg-4 {
|
||||
--v-col-offset: 4;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-lg-5 {
|
||||
--v-col-offset: 5;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-lg-6 {
|
||||
--v-col-offset: 6;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-lg-7 {
|
||||
--v-col-offset: 7;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-lg-8 {
|
||||
--v-col-offset: 8;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-lg-9 {
|
||||
--v-col-offset: 9;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-lg-10 {
|
||||
--v-col-offset: 10;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-lg, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-lg-11 {
|
||||
--v-col-offset: 11;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-lg, var(--v-row-columns));
|
||||
}
|
||||
}
|
||||
@media (min-width: 1545px) {
|
||||
.v-col--xl {
|
||||
--v-col-is-size: ;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: initial;
|
||||
}
|
||||
.v-col--cols-xl-auto {
|
||||
--v-col-is-size: ;
|
||||
--v-col-is-auto: initial;
|
||||
--v-col-is-grow: ;
|
||||
}
|
||||
.v-col--cols-xl-1 {
|
||||
--v-col-size: 1;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xl-2 {
|
||||
--v-col-size: 2;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xl-3 {
|
||||
--v-col-size: 3;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xl-4 {
|
||||
--v-col-size: 4;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xl-5 {
|
||||
--v-col-size: 5;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xl-6 {
|
||||
--v-col-size: 6;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xl-7 {
|
||||
--v-col-size: 7;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xl-8 {
|
||||
--v-col-size: 8;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xl-9 {
|
||||
--v-col-size: 9;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xl-10 {
|
||||
--v-col-size: 10;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xl-11 {
|
||||
--v-col-size: 11;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xl-12 {
|
||||
--v-col-size: 12;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xl-0 {
|
||||
--v-col-offset: 0;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xl-1 {
|
||||
--v-col-offset: 1;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xl-2 {
|
||||
--v-col-offset: 2;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xl-3 {
|
||||
--v-col-offset: 3;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xl-4 {
|
||||
--v-col-offset: 4;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xl-5 {
|
||||
--v-col-offset: 5;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xl-6 {
|
||||
--v-col-offset: 6;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xl-7 {
|
||||
--v-col-offset: 7;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xl-8 {
|
||||
--v-col-offset: 8;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xl-9 {
|
||||
--v-col-offset: 9;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xl-10 {
|
||||
--v-col-offset: 10;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xl-11 {
|
||||
--v-col-offset: 11;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xl, var(--v-row-columns));
|
||||
}
|
||||
}
|
||||
@media (min-width: 2138px) {
|
||||
.v-col--xxl {
|
||||
--v-col-is-size: ;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: initial;
|
||||
}
|
||||
.v-col--cols-xxl-auto {
|
||||
--v-col-is-size: ;
|
||||
--v-col-is-auto: initial;
|
||||
--v-col-is-grow: ;
|
||||
}
|
||||
.v-col--cols-xxl-1 {
|
||||
--v-col-size: 1;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xxl-2 {
|
||||
--v-col-size: 2;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xxl-3 {
|
||||
--v-col-size: 3;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xxl-4 {
|
||||
--v-col-size: 4;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xxl-5 {
|
||||
--v-col-size: 5;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xxl-6 {
|
||||
--v-col-size: 6;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xxl-7 {
|
||||
--v-col-size: 7;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xxl-8 {
|
||||
--v-col-size: 8;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xxl-9 {
|
||||
--v-col-size: 9;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xxl-10 {
|
||||
--v-col-size: 10;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xxl-11 {
|
||||
--v-col-size: 11;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--cols-xxl-12 {
|
||||
--v-col-size: 12;
|
||||
--v-col-is-size: initial;
|
||||
--v-col-is-auto: ;
|
||||
--v-col-is-grow: ;
|
||||
--v-col-size-columns: var(--v-col-size-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xxl-0 {
|
||||
--v-col-offset: 0;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xxl-1 {
|
||||
--v-col-offset: 1;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xxl-2 {
|
||||
--v-col-offset: 2;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xxl-3 {
|
||||
--v-col-offset: 3;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xxl-4 {
|
||||
--v-col-offset: 4;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xxl-5 {
|
||||
--v-col-offset: 5;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xxl-6 {
|
||||
--v-col-offset: 6;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xxl-7 {
|
||||
--v-col-offset: 7;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xxl-8 {
|
||||
--v-col-offset: 8;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xxl-9 {
|
||||
--v-col-offset: 9;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xxl-10 {
|
||||
--v-col-offset: 10;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
.v-col--offset-xxl-11 {
|
||||
--v-col-offset: 11;
|
||||
--v-col-offset-columns: var(--v-col-offset-base-xxl, var(--v-row-columns));
|
||||
}
|
||||
}
|
||||
}
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
@use 'sass:map'
|
||||
@use '../../styles/settings'
|
||||
@use '../../styles/tools'
|
||||
@use './mixins' as *
|
||||
|
||||
// https://lea.verou.me/blog/2020/10/the-var-space-hack-to-toggle-multiple-values-with-one-custom-property/
|
||||
$true: initial
|
||||
$false: ' '
|
||||
|
||||
@include tools.layer('components')
|
||||
// Row
|
||||
//
|
||||
// Rows contain and clear the floats of your columns.
|
||||
.v-row
|
||||
--v-row-columns: #{settings.$grid-columns}
|
||||
display: flex
|
||||
flex-wrap: wrap
|
||||
flex: 1 1 auto
|
||||
gap: var(--v-col-gap-y) var(--v-col-gap-x)
|
||||
|
||||
& + .v-row
|
||||
margin-top: var(--v-col-gap-y)
|
||||
|
||||
@at-root
|
||||
@include tools.density('v-row', settings.$grid-density) using ($modifier)
|
||||
--v-col-gap-x: #{settings.$grid-gutter + $modifier * 2}
|
||||
--v-col-gap-y: #{settings.$grid-gutter + $modifier * 2}
|
||||
|
||||
.v-row--no-gutters
|
||||
--v-col-gap-x: 0px
|
||||
--v-col-gap-y: 0px
|
||||
|
||||
// Columns
|
||||
//
|
||||
// Common styles for small and large grid columns
|
||||
.v-col
|
||||
$size: var(--v-col-size)
|
||||
$cols: var(--v-col-size-columns)
|
||||
$gap: var(--v-col-gap-x)
|
||||
$offset: var(--v-col-offset)
|
||||
$offsetCols: var(--v-col-offset-columns)
|
||||
flex-grow: var(--v-col-is-size, 0) var(--v-col-is-auto, 0) var(--v-col-is-grow, 1)
|
||||
flex-shrink: 0
|
||||
flex-basis: var(--v-col-is-size, calc(($size * (100% + $gap)) / $cols - $gap)) var(--v-col-is-auto, auto) var(--v-col-is-grow, 0)
|
||||
max-width: 100%
|
||||
min-width: var(--v-col-is-size, 0) var(--v-col-is-auto, auto) var(--v-col-is-grow, auto)
|
||||
--v-col-is-size: #{$false}
|
||||
--v-col-is-auto: #{$false}
|
||||
--v-col-is-grow: #{$true}
|
||||
|
||||
--v-col-size-base: initial
|
||||
--v-col-size-base-sm: initial
|
||||
--v-col-size-base-md: initial
|
||||
--v-col-size-base-lg: initial
|
||||
--v-col-size-base-xl: initial
|
||||
--v-col-size-base-xxl: initial
|
||||
|
||||
--v-col-offset-base: initial
|
||||
--v-col-offset-base-sm: initial
|
||||
--v-col-offset-base-md: initial
|
||||
--v-col-offset-base-lg: initial
|
||||
--v-col-offset-base-xl: initial
|
||||
--v-col-offset-base-xxl: initial
|
||||
|
||||
&:where([class*='v-col--offset-'])
|
||||
margin-inline-start: calc($offset * (100% + $gap) / $offsetCols)
|
||||
|
||||
@include make-grid-columns using ($infix)
|
||||
@if $infix != ''
|
||||
.v-col-#{$infix}
|
||||
--v-col-is-size: #{$false}
|
||||
--v-col-is-auto: #{$false}
|
||||
--v-col-is-grow: #{$true}
|
||||
|
||||
.v-col--cols#{$infix}-auto
|
||||
--v-col-is-size: #{$false}
|
||||
--v-col-is-auto: #{$true}
|
||||
--v-col-is-grow: #{$false}
|
||||
|
||||
@for $i from 1 through settings.$grid-columns
|
||||
.v-col--cols#{$infix}-#{$i}
|
||||
--v-col-size: #{$i}
|
||||
--v-col-is-size: #{$true}
|
||||
--v-col-is-auto: #{$false}
|
||||
--v-col-is-grow: #{$false}
|
||||
--v-col-size-columns: var(--v-col-size-base#{$infix}, var(--v-row-columns))
|
||||
|
||||
@for $i from 0 through settings.$grid-columns - 1
|
||||
@if not ($infix == "" and $i == 0) // skip useless .v-col-offset-0
|
||||
.v-col--offset#{$infix}-#{$i}
|
||||
--v-col-offset: #{$i}
|
||||
--v-col-offset-columns: var(--v-col-offset-base#{$infix}, var(--v-row-columns))
|
||||
+738
@@ -0,0 +1,738 @@
|
||||
|
||||
import type { PropType } from 'vue';
|
||||
declare const ALIGN_VALUES: readonly ["start", "end", "center", "baseline", "stretch"];
|
||||
declare const JUSTIFY_VALUES: readonly ["start", "end", "center", "space-between", "space-around", "space-evenly"];
|
||||
declare const ALIGN_CONTENT_VALUES: readonly ["start", "end", "center", "space-between", "space-around", "space-evenly", "stretch"];
|
||||
export declare const makeVRowProps: <Defaults extends {
|
||||
class?: unknown;
|
||||
style?: unknown;
|
||||
density?: unknown;
|
||||
tag?: unknown;
|
||||
dense?: unknown;
|
||||
align?: unknown;
|
||||
alignSm?: unknown;
|
||||
alignMd?: unknown;
|
||||
alignLg?: unknown;
|
||||
alignXl?: unknown;
|
||||
alignXxl?: unknown;
|
||||
justify?: unknown;
|
||||
justifySm?: unknown;
|
||||
justifyMd?: unknown;
|
||||
justifyLg?: unknown;
|
||||
justifyXl?: unknown;
|
||||
justifyXxl?: unknown;
|
||||
alignContent?: unknown;
|
||||
alignContentSm?: unknown;
|
||||
alignContentMd?: unknown;
|
||||
alignContentLg?: unknown;
|
||||
alignContentXl?: unknown;
|
||||
alignContentXxl?: unknown;
|
||||
noGutters?: unknown;
|
||||
gap?: unknown;
|
||||
size?: unknown;
|
||||
} = {}>(defaults?: Defaults | undefined) => {
|
||||
class: unknown extends Defaults["class"] ? PropType<any> : {
|
||||
type: PropType<unknown extends Defaults["class"] ? any : any>;
|
||||
default: unknown extends Defaults["class"] ? any : any;
|
||||
};
|
||||
style: unknown extends Defaults["style"] ? {
|
||||
type: PropType<import("vue").StyleValue>;
|
||||
default: null;
|
||||
} : Omit<{
|
||||
type: PropType<import("vue").StyleValue>;
|
||||
default: null;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["style"] ? import("vue").StyleValue : Defaults["style"] | import("vue").StyleValue>;
|
||||
default: unknown extends Defaults["style"] ? import("vue").StyleValue : Defaults["style"] | NonNullable<import("vue").StyleValue>;
|
||||
};
|
||||
density: unknown extends Defaults["density"] ? {
|
||||
type: PropType<import("../../composables/density.js").Density>;
|
||||
default: string;
|
||||
validator: (v: any) => boolean;
|
||||
} : Omit<{
|
||||
type: PropType<import("../../composables/density.js").Density>;
|
||||
default: string;
|
||||
validator: (v: any) => boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["density"] ? import("../../composables/density.js").Density : Defaults["density"] | import("../../composables/density.js").Density>;
|
||||
default: unknown extends Defaults["density"] ? import("../../composables/density.js").Density : Defaults["density"] | NonNullable<import("../../composables/density.js").Density>;
|
||||
};
|
||||
tag: unknown extends Defaults["tag"] ? {
|
||||
type: PropType<string | import("../../util/index.js").JSXComponent>;
|
||||
default: string;
|
||||
} : Omit<{
|
||||
type: PropType<string | import("../../util/index.js").JSXComponent>;
|
||||
default: string;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["tag"] ? string | import("../../util/index.js").JSXComponent : string | Defaults["tag"] | import("../../util/index.js").JSXComponent>;
|
||||
default: unknown extends Defaults["tag"] ? string | import("../../util/index.js").JSXComponent : Defaults["tag"] | NonNullable<string | import("../../util/index.js").JSXComponent>;
|
||||
};
|
||||
dense: unknown extends Defaults["dense"] ? BooleanConstructor : {
|
||||
type: PropType<unknown extends Defaults["dense"] ? boolean : boolean | Defaults["dense"]>;
|
||||
default: unknown extends Defaults["dense"] ? boolean : boolean | Defaults["dense"];
|
||||
};
|
||||
align: unknown extends Defaults["align"] ? {
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
} : Omit<{
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["align"] ? "baseline" | "center" | "end" | "start" | "stretch" : "baseline" | "center" | "end" | "start" | "stretch" | Defaults["align"]>;
|
||||
default: unknown extends Defaults["align"] ? "baseline" | "center" | "end" | "start" | "stretch" : Defaults["align"] | NonNullable<"baseline" | "center" | "end" | "start" | "stretch">;
|
||||
};
|
||||
alignSm: unknown extends Defaults["alignSm"] ? {
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
} : Omit<{
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["alignSm"] ? "baseline" | "center" | "end" | "start" | "stretch" : "baseline" | "center" | "end" | "start" | "stretch" | Defaults["alignSm"]>;
|
||||
default: unknown extends Defaults["alignSm"] ? "baseline" | "center" | "end" | "start" | "stretch" : Defaults["alignSm"] | NonNullable<"baseline" | "center" | "end" | "start" | "stretch">;
|
||||
};
|
||||
alignMd: unknown extends Defaults["alignMd"] ? {
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
} : Omit<{
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["alignMd"] ? "baseline" | "center" | "end" | "start" | "stretch" : "baseline" | "center" | "end" | "start" | "stretch" | Defaults["alignMd"]>;
|
||||
default: unknown extends Defaults["alignMd"] ? "baseline" | "center" | "end" | "start" | "stretch" : Defaults["alignMd"] | NonNullable<"baseline" | "center" | "end" | "start" | "stretch">;
|
||||
};
|
||||
alignLg: unknown extends Defaults["alignLg"] ? {
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
} : Omit<{
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["alignLg"] ? "baseline" | "center" | "end" | "start" | "stretch" : "baseline" | "center" | "end" | "start" | "stretch" | Defaults["alignLg"]>;
|
||||
default: unknown extends Defaults["alignLg"] ? "baseline" | "center" | "end" | "start" | "stretch" : Defaults["alignLg"] | NonNullable<"baseline" | "center" | "end" | "start" | "stretch">;
|
||||
};
|
||||
alignXl: unknown extends Defaults["alignXl"] ? {
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
} : Omit<{
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["alignXl"] ? "baseline" | "center" | "end" | "start" | "stretch" : "baseline" | "center" | "end" | "start" | "stretch" | Defaults["alignXl"]>;
|
||||
default: unknown extends Defaults["alignXl"] ? "baseline" | "center" | "end" | "start" | "stretch" : Defaults["alignXl"] | NonNullable<"baseline" | "center" | "end" | "start" | "stretch">;
|
||||
};
|
||||
alignXxl: unknown extends Defaults["alignXxl"] ? {
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
} : Omit<{
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["alignXxl"] ? "baseline" | "center" | "end" | "start" | "stretch" : "baseline" | "center" | "end" | "start" | "stretch" | Defaults["alignXxl"]>;
|
||||
default: unknown extends Defaults["alignXxl"] ? "baseline" | "center" | "end" | "start" | "stretch" : Defaults["alignXxl"] | NonNullable<"baseline" | "center" | "end" | "start" | "stretch">;
|
||||
};
|
||||
justify: unknown extends Defaults["justify"] ? {
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
} : Omit<{
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["justify"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" : "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | Defaults["justify"]>;
|
||||
default: unknown extends Defaults["justify"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" : Defaults["justify"] | NonNullable<"center" | "end" | "space-around" | "space-between" | "space-evenly" | "start">;
|
||||
};
|
||||
justifySm: unknown extends Defaults["justifySm"] ? {
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
} : Omit<{
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["justifySm"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" : "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | Defaults["justifySm"]>;
|
||||
default: unknown extends Defaults["justifySm"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" : Defaults["justifySm"] | NonNullable<"center" | "end" | "space-around" | "space-between" | "space-evenly" | "start">;
|
||||
};
|
||||
justifyMd: unknown extends Defaults["justifyMd"] ? {
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
} : Omit<{
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["justifyMd"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" : "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | Defaults["justifyMd"]>;
|
||||
default: unknown extends Defaults["justifyMd"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" : Defaults["justifyMd"] | NonNullable<"center" | "end" | "space-around" | "space-between" | "space-evenly" | "start">;
|
||||
};
|
||||
justifyLg: unknown extends Defaults["justifyLg"] ? {
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
} : Omit<{
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["justifyLg"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" : "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | Defaults["justifyLg"]>;
|
||||
default: unknown extends Defaults["justifyLg"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" : Defaults["justifyLg"] | NonNullable<"center" | "end" | "space-around" | "space-between" | "space-evenly" | "start">;
|
||||
};
|
||||
justifyXl: unknown extends Defaults["justifyXl"] ? {
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
} : Omit<{
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["justifyXl"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" : "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | Defaults["justifyXl"]>;
|
||||
default: unknown extends Defaults["justifyXl"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" : Defaults["justifyXl"] | NonNullable<"center" | "end" | "space-around" | "space-between" | "space-evenly" | "start">;
|
||||
};
|
||||
justifyXxl: unknown extends Defaults["justifyXxl"] ? {
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
} : Omit<{
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["justifyXxl"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" : "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | Defaults["justifyXxl"]>;
|
||||
default: unknown extends Defaults["justifyXxl"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" : Defaults["justifyXxl"] | NonNullable<"center" | "end" | "space-around" | "space-between" | "space-evenly" | "start">;
|
||||
};
|
||||
alignContent: unknown extends Defaults["alignContent"] ? {
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
} : Omit<{
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["alignContent"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch" : "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch" | Defaults["alignContent"]>;
|
||||
default: unknown extends Defaults["alignContent"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch" : Defaults["alignContent"] | NonNullable<"center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch">;
|
||||
};
|
||||
alignContentSm: unknown extends Defaults["alignContentSm"] ? {
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
} : Omit<{
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["alignContentSm"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch" : "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch" | Defaults["alignContentSm"]>;
|
||||
default: unknown extends Defaults["alignContentSm"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch" : Defaults["alignContentSm"] | NonNullable<"center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch">;
|
||||
};
|
||||
alignContentMd: unknown extends Defaults["alignContentMd"] ? {
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
} : Omit<{
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["alignContentMd"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch" : "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch" | Defaults["alignContentMd"]>;
|
||||
default: unknown extends Defaults["alignContentMd"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch" : Defaults["alignContentMd"] | NonNullable<"center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch">;
|
||||
};
|
||||
alignContentLg: unknown extends Defaults["alignContentLg"] ? {
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
} : Omit<{
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["alignContentLg"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch" : "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch" | Defaults["alignContentLg"]>;
|
||||
default: unknown extends Defaults["alignContentLg"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch" : Defaults["alignContentLg"] | NonNullable<"center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch">;
|
||||
};
|
||||
alignContentXl: unknown extends Defaults["alignContentXl"] ? {
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
} : Omit<{
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["alignContentXl"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch" : "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch" | Defaults["alignContentXl"]>;
|
||||
default: unknown extends Defaults["alignContentXl"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch" : Defaults["alignContentXl"] | NonNullable<"center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch">;
|
||||
};
|
||||
alignContentXxl: unknown extends Defaults["alignContentXxl"] ? {
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
} : Omit<{
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
}, "default" | "type"> & {
|
||||
type: PropType<unknown extends Defaults["alignContentXxl"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch" : "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch" | Defaults["alignContentXxl"]>;
|
||||
default: unknown extends Defaults["alignContentXxl"] ? "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch" : Defaults["alignContentXxl"] | NonNullable<"center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch">;
|
||||
};
|
||||
noGutters: unknown extends Defaults["noGutters"] ? BooleanConstructor : {
|
||||
type: PropType<unknown extends Defaults["noGutters"] ? boolean : boolean | Defaults["noGutters"]>;
|
||||
default: unknown extends Defaults["noGutters"] ? boolean : boolean | Defaults["noGutters"];
|
||||
};
|
||||
gap: unknown extends Defaults["gap"] ? PropType<string | number | (string | number)[]> : {
|
||||
type: PropType<unknown extends Defaults["gap"] ? string | number | (string | number)[] : string | number | (string | number)[] | Defaults["gap"]>;
|
||||
default: unknown extends Defaults["gap"] ? string | number | (string | number)[] : Defaults["gap"] | NonNullable<string | number | (string | number)[]>;
|
||||
};
|
||||
size: unknown extends Defaults["size"] ? (NumberConstructor | StringConstructor)[] : {
|
||||
type: PropType<unknown extends Defaults["size"] ? string | number : string | number | Defaults["size"]>;
|
||||
default: unknown extends Defaults["size"] ? string | number : Defaults["size"] | NonNullable<string | number>;
|
||||
};
|
||||
};
|
||||
export declare const VRow: {
|
||||
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
||||
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
||||
density: import("../../composables/density.js").Density;
|
||||
tag: string | import("../../util/index.js").JSXComponent;
|
||||
dense: boolean;
|
||||
align: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignSm: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignMd: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignLg: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignXl: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignXxl: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
justify: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifySm: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyMd: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyLg: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyXl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyXxl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
alignContent: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentSm: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentMd: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentLg: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentXl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentXxl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
noGutters: boolean;
|
||||
} & {
|
||||
class?: any;
|
||||
gap?: string | number | (string | number)[] | undefined;
|
||||
size?: string | number | undefined;
|
||||
} & {
|
||||
$children?: {
|
||||
default?: (() => import("vue").VNodeChild) | undefined;
|
||||
} | {
|
||||
$stable?: boolean;
|
||||
} | (() => import("vue").VNodeChild) | import("vue").VNodeChild;
|
||||
'v-slots'?: {
|
||||
default?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
} | undefined;
|
||||
} & {
|
||||
"v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
||||
style: import("vue").StyleValue;
|
||||
density: import("../../composables/density.js").Density;
|
||||
tag: string | import("../../util/index.js").JSXComponent;
|
||||
dense: boolean;
|
||||
align: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignSm: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignMd: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignLg: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignXl: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignXxl: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
justify: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifySm: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyMd: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyLg: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyXl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyXxl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
alignContent: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentSm: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentMd: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentLg: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentXl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentXxl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
noGutters: boolean;
|
||||
}, true, {}, import("vue").SlotsType<Partial<{
|
||||
default: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>[];
|
||||
}>>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
||||
P: {};
|
||||
B: {};
|
||||
D: {};
|
||||
C: {};
|
||||
M: {};
|
||||
Defaults: {};
|
||||
}, {
|
||||
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
||||
density: import("../../composables/density.js").Density;
|
||||
tag: string | import("../../util/index.js").JSXComponent;
|
||||
dense: boolean;
|
||||
align: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignSm: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignMd: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignLg: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignXl: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignXxl: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
justify: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifySm: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyMd: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyLg: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyXl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyXxl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
alignContent: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentSm: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentMd: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentLg: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentXl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentXxl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
noGutters: boolean;
|
||||
} & {
|
||||
class?: any;
|
||||
gap?: string | number | (string | number)[] | undefined;
|
||||
size?: string | number | undefined;
|
||||
} & {
|
||||
$children?: {
|
||||
default?: (() => import("vue").VNodeChild) | undefined;
|
||||
} | {
|
||||
$stable?: boolean;
|
||||
} | (() => import("vue").VNodeChild) | import("vue").VNodeChild;
|
||||
'v-slots'?: {
|
||||
default?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
} | undefined;
|
||||
} & {
|
||||
"v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>, {}, {}, {}, {
|
||||
style: import("vue").StyleValue;
|
||||
density: import("../../composables/density.js").Density;
|
||||
tag: string | import("../../util/index.js").JSXComponent;
|
||||
dense: boolean;
|
||||
align: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignSm: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignMd: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignLg: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignXl: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignXxl: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
justify: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifySm: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyMd: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyLg: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyXl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyXxl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
alignContent: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentSm: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentMd: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentLg: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentXl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentXxl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
noGutters: boolean;
|
||||
}>;
|
||||
__isFragment?: never;
|
||||
__isTeleport?: never;
|
||||
__isSuspense?: never;
|
||||
} & import("vue").ComponentOptionsBase<{
|
||||
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
||||
density: import("../../composables/density.js").Density;
|
||||
tag: string | import("../../util/index.js").JSXComponent;
|
||||
dense: boolean;
|
||||
align: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignSm: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignMd: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignLg: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignXl: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignXxl: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
justify: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifySm: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyMd: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyLg: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyXl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyXxl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
alignContent: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentSm: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentMd: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentLg: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentXl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentXxl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
noGutters: boolean;
|
||||
} & {
|
||||
class?: any;
|
||||
gap?: string | number | (string | number)[] | undefined;
|
||||
size?: string | number | undefined;
|
||||
} & {
|
||||
$children?: {
|
||||
default?: (() => import("vue").VNodeChild) | undefined;
|
||||
} | {
|
||||
$stable?: boolean;
|
||||
} | (() => import("vue").VNodeChild) | import("vue").VNodeChild;
|
||||
'v-slots'?: {
|
||||
default?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
} | undefined;
|
||||
} & {
|
||||
"v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
||||
style: import("vue").StyleValue;
|
||||
density: import("../../composables/density.js").Density;
|
||||
tag: string | import("../../util/index.js").JSXComponent;
|
||||
dense: boolean;
|
||||
align: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignSm: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignMd: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignLg: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignXl: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
alignXxl: "baseline" | "center" | "end" | "start" | "stretch";
|
||||
justify: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifySm: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyMd: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyLg: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyXl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
justifyXxl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
||||
alignContent: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentSm: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentMd: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentLg: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentXl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
alignContentXxl: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
|
||||
noGutters: boolean;
|
||||
}, {}, string, import("vue").SlotsType<Partial<{
|
||||
default: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>[];
|
||||
}>>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("../../util/index.js").FilterPropsOptions<{
|
||||
class: PropType<import("../../composables/component.js").ClassValue>;
|
||||
style: {
|
||||
type: PropType<import("vue").StyleValue>;
|
||||
default: null;
|
||||
};
|
||||
density: {
|
||||
type: PropType<import("../../composables/density.js").Density>;
|
||||
default: string;
|
||||
validator: (v: any) => boolean;
|
||||
};
|
||||
tag: {
|
||||
type: PropType<string | import("../../util/index.js").JSXComponent>;
|
||||
default: string;
|
||||
};
|
||||
dense: BooleanConstructor;
|
||||
align: {
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignSm: {
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignMd: {
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignLg: {
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignXl: {
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignXxl: {
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
justify: {
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
justifySm: {
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
justifyMd: {
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
justifyLg: {
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
justifyXl: {
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
justifyXxl: {
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignContent: {
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignContentSm: {
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignContentMd: {
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignContentLg: {
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignContentXl: {
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignContentXxl: {
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
noGutters: BooleanConstructor;
|
||||
gap: PropType<number | string | (string | number)[]>;
|
||||
size: (NumberConstructor | StringConstructor)[];
|
||||
}, import("vue").ExtractPropTypes<{
|
||||
class: PropType<import("../../composables/component.js").ClassValue>;
|
||||
style: {
|
||||
type: PropType<import("vue").StyleValue>;
|
||||
default: null;
|
||||
};
|
||||
density: {
|
||||
type: PropType<import("../../composables/density.js").Density>;
|
||||
default: string;
|
||||
validator: (v: any) => boolean;
|
||||
};
|
||||
tag: {
|
||||
type: PropType<string | import("../../util/index.js").JSXComponent>;
|
||||
default: string;
|
||||
};
|
||||
dense: BooleanConstructor;
|
||||
align: {
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignSm: {
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignMd: {
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignLg: {
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignXl: {
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignXxl: {
|
||||
type: PropType<(typeof ALIGN_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
justify: {
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
justifySm: {
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
justifyMd: {
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
justifyLg: {
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
justifyXl: {
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
justifyXxl: {
|
||||
type: PropType<(typeof JUSTIFY_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignContent: {
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignContentSm: {
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignContentMd: {
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignContentLg: {
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignContentXl: {
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
alignContentXxl: {
|
||||
type: PropType<(typeof ALIGN_CONTENT_VALUES)[number]>;
|
||||
default: null;
|
||||
validator: (str: any) => boolean;
|
||||
};
|
||||
noGutters: BooleanConstructor;
|
||||
gap: PropType<number | string | (string | number)[]>;
|
||||
size: (NumberConstructor | StringConstructor)[];
|
||||
}>>;
|
||||
export type VRow = InstanceType<typeof VRow>;
|
||||
|
||||
+208
@@ -0,0 +1,208 @@
|
||||
// Styles
|
||||
import "./VGrid.css";
|
||||
|
||||
// Composables
|
||||
import { makeComponentProps } from "../../composables/component.js";
|
||||
import { makeDensityProps } from "../../composables/density.js";
|
||||
import { makeTagProps } from "../../composables/tag.js"; // Utilities
|
||||
import { computed, h } from 'vue';
|
||||
import { convertToUnit, deprecate, genericComponent, propsFactory } from "../../util/index.js"; // Types
|
||||
const ALIGNMENT = ['start', 'end', 'center'];
|
||||
const SPACE = ['space-between', 'space-around', 'space-evenly'];
|
||||
const ALIGN_VALUES = [...ALIGNMENT, 'baseline', 'stretch'];
|
||||
const alignValidator = str => ALIGN_VALUES.includes(str);
|
||||
const JUSTIFY_VALUES = [...ALIGNMENT, ...SPACE];
|
||||
const justifyValidator = str => JUSTIFY_VALUES.includes(str);
|
||||
const ALIGN_CONTENT_VALUES = [...ALIGNMENT, ...SPACE, 'stretch'];
|
||||
const alignContentValidator = str => ALIGN_CONTENT_VALUES.includes(str);
|
||||
const propMap = {
|
||||
align: ['align', 'alignSm', 'alignMd', 'alignLg', 'alignXl', 'alignXxl'],
|
||||
justify: ['justify', 'justifySm', 'justifyMd', 'justifyLg', 'justifyXl', 'justifyXxl'],
|
||||
alignContent: ['alignContent', 'alignContentSm', 'alignContentMd', 'alignContentLg', 'alignContentXl', 'alignContentXxl']
|
||||
};
|
||||
const classMap = {
|
||||
align: 'align',
|
||||
justify: 'justify',
|
||||
alignContent: 'align-content'
|
||||
};
|
||||
function breakpointClass(type, prop, val) {
|
||||
let className = classMap[type];
|
||||
if (val == null) {
|
||||
return undefined;
|
||||
}
|
||||
if (prop) {
|
||||
// alignSm -> Sm
|
||||
const breakpoint = prop.replace(type, '');
|
||||
className += `-${breakpoint}`;
|
||||
}
|
||||
// .align-items-sm-center
|
||||
className += `-${val}`;
|
||||
return className.toLowerCase();
|
||||
}
|
||||
export const makeVRowProps = propsFactory({
|
||||
/** @deprecated use density="compact" instead */
|
||||
dense: Boolean,
|
||||
/** @deprecated use align-* class instead */
|
||||
align: {
|
||||
type: String,
|
||||
default: null,
|
||||
validator: alignValidator
|
||||
},
|
||||
/** @deprecated use align-sm-* class instead */
|
||||
alignSm: {
|
||||
type: String,
|
||||
default: null,
|
||||
validator: alignValidator
|
||||
},
|
||||
/** @deprecated use align-md-* class instead */
|
||||
alignMd: {
|
||||
type: String,
|
||||
default: null,
|
||||
validator: alignValidator
|
||||
},
|
||||
/** @deprecated use align-lg-* class instead */
|
||||
alignLg: {
|
||||
type: String,
|
||||
default: null,
|
||||
validator: alignValidator
|
||||
},
|
||||
/** @deprecated use align-xl-* class instead */
|
||||
alignXl: {
|
||||
type: String,
|
||||
default: null,
|
||||
validator: alignValidator
|
||||
},
|
||||
/** @deprecated use align-xxl-* class instead */
|
||||
alignXxl: {
|
||||
type: String,
|
||||
default: null,
|
||||
validator: alignValidator
|
||||
},
|
||||
/** @deprecated use justify-* class instead */
|
||||
justify: {
|
||||
type: String,
|
||||
default: null,
|
||||
validator: justifyValidator
|
||||
},
|
||||
/** @deprecated use justify-sm-* class instead */
|
||||
justifySm: {
|
||||
type: String,
|
||||
default: null,
|
||||
validator: justifyValidator
|
||||
},
|
||||
/** @deprecated use justify-md-* class instead */
|
||||
justifyMd: {
|
||||
type: String,
|
||||
default: null,
|
||||
validator: justifyValidator
|
||||
},
|
||||
/** @deprecated use justify-lg-* class instead */
|
||||
justifyLg: {
|
||||
type: String,
|
||||
default: null,
|
||||
validator: justifyValidator
|
||||
},
|
||||
/** @deprecated use justify-xl-* class instead */
|
||||
justifyXl: {
|
||||
type: String,
|
||||
default: null,
|
||||
validator: justifyValidator
|
||||
},
|
||||
/** @deprecated use justify-xxl-* class instead */
|
||||
justifyXxl: {
|
||||
type: String,
|
||||
default: null,
|
||||
validator: justifyValidator
|
||||
},
|
||||
/** @deprecated use align-content-* class instead */
|
||||
alignContent: {
|
||||
type: String,
|
||||
default: null,
|
||||
validator: alignContentValidator
|
||||
},
|
||||
/** @deprecated use align-content-sm-* class instead */
|
||||
alignContentSm: {
|
||||
type: String,
|
||||
default: null,
|
||||
validator: alignContentValidator
|
||||
},
|
||||
/** @deprecated use align-content-md-* class instead */
|
||||
alignContentMd: {
|
||||
type: String,
|
||||
default: null,
|
||||
validator: alignContentValidator
|
||||
},
|
||||
/** @deprecated use align-content-lg-* class instead */
|
||||
alignContentLg: {
|
||||
type: String,
|
||||
default: null,
|
||||
validator: alignContentValidator
|
||||
},
|
||||
/** @deprecated use align-content-xl-* class instead */
|
||||
alignContentXl: {
|
||||
type: String,
|
||||
default: null,
|
||||
validator: alignContentValidator
|
||||
},
|
||||
/** @deprecated use align-content-xxl-* class instead */
|
||||
alignContentXxl: {
|
||||
type: String,
|
||||
default: null,
|
||||
validator: alignContentValidator
|
||||
},
|
||||
noGutters: Boolean,
|
||||
gap: [Number, String, Array],
|
||||
size: [Number, String],
|
||||
...makeComponentProps(),
|
||||
...makeDensityProps(),
|
||||
...makeTagProps()
|
||||
}, 'VRow');
|
||||
export const VRow = genericComponent()({
|
||||
name: 'VRow',
|
||||
props: makeVRowProps(),
|
||||
setup(props, {
|
||||
slots
|
||||
}) {
|
||||
if (props.dense) {
|
||||
deprecate('dense', 'density="comfortable"');
|
||||
}
|
||||
const classes = computed(() => {
|
||||
const classList = [];
|
||||
|
||||
// Loop through `align`, `justify`, `alignContent` breakpoint props
|
||||
let type;
|
||||
for (type in propMap) {
|
||||
propMap[type].forEach(prop => {
|
||||
const value = props[prop];
|
||||
const className = breakpointClass(type, prop, value);
|
||||
if (className) classList.push(className);
|
||||
});
|
||||
}
|
||||
classList.push({
|
||||
'v-row--no-gutters': props.noGutters,
|
||||
'v-row--density-default': props.density === 'default' && !props.noGutters && !props.dense,
|
||||
'v-row--density-compact': props.density === 'compact',
|
||||
'v-row--density-comfortable': props.density === 'comfortable' || props.dense,
|
||||
[`align-${props.align}`]: props.align,
|
||||
[`justify-${props.justify}`]: props.justify,
|
||||
[`align-content-${props.alignContent}`]: props.alignContent
|
||||
});
|
||||
return classList;
|
||||
});
|
||||
const horizontalGap = computed(() => {
|
||||
return Array.isArray(props.gap) ? convertToUnit(props.gap[0] || 0) : convertToUnit(props.gap);
|
||||
});
|
||||
const verticalGap = computed(() => {
|
||||
return Array.isArray(props.gap) ? convertToUnit(props.gap[1] || 0) : horizontalGap.value;
|
||||
});
|
||||
return () => h(props.tag, {
|
||||
class: ['v-row', classes.value, props.class],
|
||||
style: [{
|
||||
'--v-col-gap-x': horizontalGap.value,
|
||||
'--v-col-gap-y': verticalGap.value,
|
||||
'--v-row-columns': props.size
|
||||
}, props.style]
|
||||
}, slots.default?.());
|
||||
}
|
||||
});
|
||||
//# sourceMappingURL=VRow.js.map
|
||||
+1
File diff suppressed because one or more lines are too long
+5
@@ -0,0 +1,5 @@
|
||||
@layer vuetify-components {
|
||||
.v-spacer {
|
||||
flex-grow: 1;
|
||||
}
|
||||
}
|
||||
+106
@@ -0,0 +1,106 @@
|
||||
|
||||
export declare const VSpacer: {
|
||||
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
||||
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
||||
tag: string;
|
||||
} & {
|
||||
class?: any;
|
||||
} & {
|
||||
$children?: {
|
||||
default?: (() => import("vue").VNodeChild) | undefined;
|
||||
} | {
|
||||
$stable?: boolean;
|
||||
} | (() => import("vue").VNodeChild) | import("vue").VNodeChild;
|
||||
'v-slots'?: {
|
||||
default?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
} | undefined;
|
||||
} & {
|
||||
"v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
||||
style: import("vue").StyleValue;
|
||||
tag: string;
|
||||
}, true, {}, import("vue").SlotsType<Partial<{
|
||||
default: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>[];
|
||||
}>>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
||||
P: {};
|
||||
B: {};
|
||||
D: {};
|
||||
C: {};
|
||||
M: {};
|
||||
Defaults: {};
|
||||
}, {
|
||||
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
||||
tag: string;
|
||||
} & {
|
||||
class?: any;
|
||||
} & {
|
||||
$children?: {
|
||||
default?: (() => import("vue").VNodeChild) | undefined;
|
||||
} | {
|
||||
$stable?: boolean;
|
||||
} | (() => import("vue").VNodeChild) | import("vue").VNodeChild;
|
||||
'v-slots'?: {
|
||||
default?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
} | undefined;
|
||||
} & {
|
||||
"v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>, {}, {}, {}, {
|
||||
style: import("vue").StyleValue;
|
||||
tag: string;
|
||||
}>;
|
||||
__isFragment?: never;
|
||||
__isTeleport?: never;
|
||||
__isSuspense?: never;
|
||||
} & import("vue").ComponentOptionsBase<{
|
||||
style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
|
||||
tag: string;
|
||||
} & {
|
||||
class?: any;
|
||||
} & {
|
||||
$children?: {
|
||||
default?: (() => import("vue").VNodeChild) | undefined;
|
||||
} | {
|
||||
$stable?: boolean;
|
||||
} | (() => import("vue").VNodeChild) | import("vue").VNodeChild;
|
||||
'v-slots'?: {
|
||||
default?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
} | undefined;
|
||||
} & {
|
||||
"v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
|
||||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
||||
style: import("vue").StyleValue;
|
||||
tag: string;
|
||||
}, {}, string, import("vue").SlotsType<Partial<{
|
||||
default: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>[];
|
||||
}>>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("../../util/index.js").FilterPropsOptions<{
|
||||
class: import("vue").PropType<any>;
|
||||
style: {
|
||||
type: import("vue").PropType<import("vue").StyleValue>;
|
||||
default: null;
|
||||
};
|
||||
tag: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
};
|
||||
}, import("vue").ExtractPropTypes<{
|
||||
class: import("vue").PropType<any>;
|
||||
style: {
|
||||
type: import("vue").PropType<import("vue").StyleValue>;
|
||||
default: null;
|
||||
};
|
||||
tag: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
};
|
||||
}>>;
|
||||
export type VSpacer = InstanceType<typeof VSpacer>;
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// Styles
|
||||
import "./VSpacer.css";
|
||||
|
||||
// Utilities
|
||||
import { createSimpleFunctional } from "../../util/index.js";
|
||||
export const VSpacer = createSimpleFunctional('v-spacer', 'div', 'VSpacer');
|
||||
//# sourceMappingURL=VSpacer.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"VSpacer.js","names":["createSimpleFunctional","VSpacer"],"sources":["../../../src/components/VGrid/VSpacer.ts"],"sourcesContent":["// Styles\nimport './VSpacer.sass'\n\n// Utilities\nimport { createSimpleFunctional } from '@/util'\n\nexport const VSpacer = createSimpleFunctional('v-spacer', 'div', 'VSpacer')\n\nexport type VSpacer = InstanceType<typeof VSpacer>\n"],"mappings":"AAAA;AACA;;AAEA;AAAA,SACSA,sBAAsB;AAE/B,OAAO,MAAMC,OAAO,GAAGD,sBAAsB,CAAC,UAAU,EAAE,KAAK,EAAE,SAAS,CAAC","ignoreList":[]}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
@use '../../styles/tools'
|
||||
|
||||
@include tools.layer('components')
|
||||
.v-spacer
|
||||
flex-grow: 1
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
@use 'sass:map'
|
||||
@use '../../styles/settings'
|
||||
@use '../../styles/tools'
|
||||
|
||||
@mixin make-container($padding-x: settings.$container-padding-x)
|
||||
width: 100%
|
||||
padding: $padding-x
|
||||
margin-right: auto
|
||||
margin-left: auto
|
||||
|
||||
// For each breakpoint, define the maximum width of the container in a media query
|
||||
@mixin make-container-max-widths
|
||||
$max-widths: settings.$container-max-widths
|
||||
$breakpoints: settings.$grid-breakpoints
|
||||
@each $breakpoint, $container-max-width in $max-widths
|
||||
@include tools.media-breakpoint-up($breakpoint, $breakpoints)
|
||||
max-width: $container-max-width
|
||||
|
||||
@mixin make-grid-columns
|
||||
$breakpoints: settings.$grid-breakpoints
|
||||
@each $breakpoint in map.keys($breakpoints)
|
||||
$infix: tools.breakpoint-infix($breakpoint, $breakpoints)
|
||||
|
||||
@include tools.media-breakpoint-up($breakpoint, $breakpoints)
|
||||
@content($infix)
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
export { VContainer } from './VContainer.js';
|
||||
export { VCol } from './VCol.js';
|
||||
export { VRow } from './VRow.js';
|
||||
export { VSpacer } from './VSpacer.js';
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
export { VContainer } from "./VContainer.js";
|
||||
export { VCol } from "./VCol.js";
|
||||
export { VRow } from "./VRow.js";
|
||||
export { VSpacer } from "./VSpacer.js";
|
||||
//# sourceMappingURL=index.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","names":["VContainer","VCol","VRow","VSpacer"],"sources":["../../../src/components/VGrid/index.ts"],"sourcesContent":["export { VContainer } from './VContainer'\nexport { VCol } from './VCol'\nexport { VRow } from './VRow'\nexport { VSpacer } from './VSpacer'\n"],"mappings":"SAASA,UAAU;AAAA,SACVC,IAAI;AAAA,SACJC,IAAI;AAAA,SACJC,OAAO","ignoreList":[]}
|
||||
Reference in New Issue
Block a user