@mythpe/quasar-ui-qui 0.5.8 → 0.5.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,23 +1,11 @@
1
- import { MColumnProps } from './MColumn';
2
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
3
- declare var __VLS_8: {};
4
- type __VLS_Slots = {} & {
5
- default?: (props: typeof __VLS_8) => any;
6
- };
7
- declare const __VLS_base: DefineComponent<ExtractPropTypes<__VLS_TypePropsToOption<MColumnProps>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<MColumnProps>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
8
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
- declare const _default: typeof __VLS_export;
10
- export default _default;
11
- type __VLS_TypePropsToOption<T> = {
12
- [K in keyof T]-?: {} extends Pick<T, K> ? {
13
- type: PropType<Required<T>[K]>;
14
- } : {
15
- type: PropType<T[K]>;
16
- required: true;
17
- };
18
- };
19
- type __VLS_WithSlots<T, S> = T & {
20
- new (): {
21
- $slots: S;
22
- };
23
- };
1
+ import { ComponentPublicInstance, VNode } from 'vue';
2
+ import { MGridProps } from '../MGrid';
3
+ export interface MColumnProps {
4
+ size?: MGridProps['size'];
5
+ type?: MGridProps['type'];
6
+ }
7
+ export interface MColumnSlots {
8
+ default?: () => VNode[];
9
+ }
10
+ export interface MColumn extends ComponentPublicInstance<MColumnProps> {
11
+ }
@@ -1,23 +1,32 @@
1
- import { MContainerProps } from './MContainer';
2
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
3
- declare var __VLS_1: {};
4
- type __VLS_Slots = {} & {
5
- default?: (props: typeof __VLS_1) => any;
1
+ import { ComponentPublicInstance, VNode } from 'vue';
2
+ import { MGridProps } from '../MGrid';
3
+ export type MContainerProps = {
4
+ /**
5
+ * Defines the spacing size (gutter) between rows and columns.
6
+ * Matches the design system global theme sizes.
7
+ * @default 'md'
8
+ */
9
+ size?: MGridProps['size'];
10
+ /**
11
+ * Determines the Quasar gutter implementation behavior.
12
+ * - 'col': Uses 'q-col-gutter' (adds negative margins, ideal for layout grids).
13
+ * - 'gutter': Uses 'q-gutter' (adds standard margins between direct children).
14
+ * @default 'gutter'
15
+ */
16
+ type?: MGridProps['type'];
17
+ /**
18
+ * Reduces the inner padding or vertical spacing of the container for a more compact layout.
19
+ * @default false
20
+ */
21
+ dense?: boolean | undefined;
22
+ /**
23
+ * If true, the container spans the full width of the viewport, removing maximum width constraints.
24
+ * @default false
25
+ */
26
+ fluid?: boolean | undefined;
6
27
  };
7
- declare const __VLS_base: DefineComponent<ExtractPropTypes<__VLS_TypePropsToOption<MContainerProps>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<MContainerProps>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
8
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
- declare const _default: typeof __VLS_export;
10
- export default _default;
11
- type __VLS_TypePropsToOption<T> = {
12
- [K in keyof T]-?: {} extends Pick<T, K> ? {
13
- type: PropType<Required<T>[K]>;
14
- } : {
15
- type: PropType<T[K]>;
16
- required: true;
17
- };
18
- };
19
- type __VLS_WithSlots<T, S> = T & {
20
- new (): {
21
- $slots: S;
22
- };
28
+ export type MContainerSlots = {
29
+ default?: () => VNode[];
23
30
  };
31
+ export interface MContainer extends ComponentPublicInstance<MContainerProps> {
32
+ }
@@ -1,23 +1,12 @@
1
- import { MGridProps } from './MGrid';
2
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
3
- declare var __VLS_1: {};
4
- type __VLS_Slots = {} & {
5
- default?: (props: typeof __VLS_1) => any;
6
- };
7
- declare const __VLS_base: DefineComponent<ExtractPropTypes<__VLS_TypePropsToOption<MGridProps>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<MGridProps>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
8
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
- declare const _default: typeof __VLS_export;
10
- export default _default;
11
- type __VLS_TypePropsToOption<T> = {
12
- [K in keyof T]-?: {} extends Pick<T, K> ? {
13
- type: PropType<Required<T>[K]>;
14
- } : {
15
- type: PropType<T[K]>;
16
- required: true;
17
- };
18
- };
19
- type __VLS_WithSlots<T, S> = T & {
20
- new (): {
21
- $slots: S;
22
- };
23
- };
1
+ import { ComponentPublicInstance, VNode } from 'vue';
2
+ import { GridGutterSize, GridGutterType, GridType } from '../../types/config';
3
+ export interface MGridProps {
4
+ gridType: GridType;
5
+ size?: GridGutterSize;
6
+ type?: GridGutterType;
7
+ }
8
+ export interface MGridSlots {
9
+ default?: () => VNode[];
10
+ }
11
+ export interface MGrid extends ComponentPublicInstance<MGridProps> {
12
+ }
@@ -1,11 +1,23 @@
1
- import { ComponentPublicInstance, VNode } from 'vue';
2
- import { MGridProps } from '../MGrid';
3
- export interface MRowProps {
4
- size?: MGridProps['size'];
5
- type?: MGridProps['type'];
6
- }
7
- export interface MRowSlots {
8
- default?: () => VNode[];
9
- }
10
- export interface MRow extends ComponentPublicInstance<MRowProps> {
11
- }
1
+ import { MRowProps } from './MRow';
2
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
3
+ declare var __VLS_8: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_8) => any;
6
+ };
7
+ declare const __VLS_base: DefineComponent<ExtractPropTypes<__VLS_TypePropsToOption<MRowProps>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<MRowProps>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
8
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ type __VLS_TypePropsToOption<T> = {
12
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
13
+ type: PropType<Required<T>[K]>;
14
+ } : {
15
+ type: PropType<T[K]>;
16
+ required: true;
17
+ };
18
+ };
19
+ type __VLS_WithSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
@@ -17,3 +17,15 @@ export interface MythGlobalComponents {
17
17
  MRow: GlobalComponentConstructor<MRowProps, MRowSlots>;
18
18
  MBtn: GlobalComponentConstructor<MBtnProps, MBtnSlots>;
19
19
  }
20
+ declare module 'vue' {
21
+ interface GlobalComponents extends MythGlobalComponents {
22
+ }
23
+ }
24
+ declare module '@vue/runtime-dom' {
25
+ interface GlobalComponents extends MythGlobalComponents {
26
+ }
27
+ }
28
+ declare module '@vue/runtime-core' {
29
+ interface GlobalComponents extends MythGlobalComponents {
30
+ }
31
+ }