@mythpe/quasar-ui-qui 0.5.6 → 0.5.7
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.
- package/dist/components/MBtn/MBtn.d.ts +30 -33
- package/dist/components/grid/MColumn/MColumn.d.ts +11 -23
- package/dist/components/grid/MContainer/MContainer.d.ts +21 -30
- package/dist/components/grid/MGrid.d.ts +13 -7
- package/dist/index.common.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
|
@@ -1,35 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
label?: string | number | undefined | null;
|
|
9
|
-
/**
|
|
10
|
-
* Removes the default button styles
|
|
11
|
-
*/
|
|
1
|
+
import { MBtnProps } from './MBtn';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
|
+
interface Props {
|
|
4
|
+
label?: MBtnProps['label'];
|
|
5
|
+
spinner?: MBtnProps['spinner'];
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
nativeLabel?: boolean;
|
|
12
8
|
noStyle?: boolean;
|
|
13
|
-
nativeLabel?: boolean | undefined;
|
|
14
|
-
/**
|
|
15
|
-
* Type of loading indicator
|
|
16
|
-
*/
|
|
17
|
-
spinner?: SpinnerType;
|
|
18
|
-
}
|
|
19
|
-
export interface MBtnSlots {
|
|
20
|
-
/**
|
|
21
|
-
* Use for custom content, instead of relying on 'icon' and 'label' props
|
|
22
|
-
*/
|
|
23
|
-
default: () => VNode[];
|
|
24
|
-
/**
|
|
25
|
-
* Override the default QSpinner when in 'loading' state
|
|
26
|
-
*/
|
|
27
|
-
loading: () => VNode[];
|
|
28
|
-
}
|
|
29
|
-
export interface MBtn extends ComponentPublicInstance<MBtnProps> {
|
|
30
|
-
/**
|
|
31
|
-
* Emulate click on MBtn
|
|
32
|
-
* @param evt JS event object
|
|
33
|
-
*/
|
|
34
|
-
click: (evt?: Event) => void;
|
|
35
9
|
}
|
|
10
|
+
declare var __VLS_9: {}, __VLS_18: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
loading?: (props: typeof __VLS_9) => any;
|
|
13
|
+
} & {
|
|
14
|
+
default?: (props: typeof __VLS_18) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: DefineComponent<ExtractPropTypes<__VLS_TypePropsToOption<Props>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_TypePropsToOption<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: PropType<Required<T>[K]>;
|
|
23
|
+
} : {
|
|
24
|
+
type: PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -1,23 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export
|
|
11
|
-
|
|
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,32 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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;
|
|
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;
|
|
27
6
|
};
|
|
28
|
-
|
|
29
|
-
|
|
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
|
+
};
|
|
30
23
|
};
|
|
31
|
-
export interface MContainer extends ComponentPublicInstance<MContainerProps> {
|
|
32
|
-
}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
+
}
|
|
13
|
+
{}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<MGridProps>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
8
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
15
|
declare const _default: typeof __VLS_export;
|
|
10
16
|
export default _default;
|