@mythpe/quasar-ui-qui 0.5.12 → 0.5.15
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 → form/MBtn}/MBtn.d.ts +18 -1
- package/dist/components/form/index.d.ts +1 -0
- package/dist/components/grid/MBlock/MBlock.d.ts +38 -0
- package/dist/components/grid/MBlock/index.d.ts +4 -0
- package/dist/components/grid/MCol/MCol.d.ts +19 -23
- package/dist/components/grid/MContainer/MContainer.d.ts +4 -0
- package/dist/components/grid/MGrid/MGrid.d.ts +1 -0
- package/dist/components/grid/MHelpRow/MHelpRow.d.ts +13 -0
- package/dist/components/grid/MHelpRow/index.d.ts +4 -0
- package/dist/components/grid/MInnerLoading/MInnerLoading.d.ts +30 -0
- package/dist/components/grid/MInnerLoading/index.d.ts +4 -0
- package/dist/components/grid/MTooltip/MTooltip.d.ts +90 -0
- package/dist/components/grid/MTooltip/index.d.ts +4 -0
- package/dist/components/grid/index.d.ts +4 -0
- package/dist/components/index.d.ts +11 -3
- package/dist/components/transition/MTransition/MTransition.d.ts +38 -0
- package/dist/components/transition/MTransition/index.d.ts +4 -0
- package/dist/components/transition/MTransitionGroup/MTransitionGroup.d.ts +7 -0
- package/dist/components/transition/MTransitionGroup/index.d.ts +4 -0
- package/dist/components/transition/index.d.ts +2 -0
- package/dist/components/typography/MSarIcon/MSarIcon.d.ts +23 -0
- package/dist/components/typography/MSarIcon/index.d.ts +4 -0
- package/dist/components/typography/MSarString/MSarString.d.ts +30 -0
- package/dist/components/typography/MSarString/index.d.ts +4 -0
- package/dist/components/typography/MTypingString/MTypingString.d.ts +15 -0
- package/dist/components/typography/MTypingString/index.d.ts +4 -0
- package/dist/components/typography/index.d.ts +3 -0
- package/dist/composables/useContainer.d.ts +5 -0
- package/dist/composables/useMyth.d.ts +58 -26
- package/dist/composables/useMythMeta.d.ts +7 -27
- package/dist/composables/useTransition.d.ts +9 -0
- package/dist/config/config.d.ts +46 -22
- package/dist/index.common.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +12 -3
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/config.d.ts +38 -2
- package/package.json +4 -3
- /package/dist/components/{MBtn → form/MBtn}/index.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { QBtnProps } from 'quasar';
|
|
2
2
|
import { VNode } from 'vue';
|
|
3
|
-
import { SpinnerType } from '
|
|
3
|
+
import { SpinnerType } from '../../../types';
|
|
4
4
|
export interface MBtnProps extends Omit<QBtnProps, 'label'> {
|
|
5
5
|
/**
|
|
6
6
|
* The text that will be shown on the button
|
|
@@ -26,3 +26,20 @@ export interface MBtnSlots {
|
|
|
26
26
|
*/
|
|
27
27
|
loading: () => VNode[];
|
|
28
28
|
}
|
|
29
|
+
ly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
30
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_TypePropsToOption<T> = {
|
|
34
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
+
type: PropType<Required<T>[K]>;
|
|
36
|
+
} : {
|
|
37
|
+
type: PropType<T[K]>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './MBtn';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
import { GridGutterSize, GridShadow } from '../../../types';
|
|
3
|
+
export interface MBlockProps {
|
|
4
|
+
tag?: 'string';
|
|
5
|
+
/**
|
|
6
|
+
* Size of the padding block.
|
|
7
|
+
* Default: 'md'
|
|
8
|
+
*/
|
|
9
|
+
size?: GridGutterSize | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* Rounded block
|
|
12
|
+
*/
|
|
13
|
+
rounded?: boolean | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Shadow level
|
|
16
|
+
*/
|
|
17
|
+
shadow?: GridShadow | undefined;
|
|
18
|
+
}
|
|
19
|
+
export interface MBlockSlots {
|
|
20
|
+
default?: () => VNode[];
|
|
21
|
+
}
|
|
22
|
+
y< ExtractPropTypes<__VLS_TypePropsToOption<MBlockProps>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_TypePropsToOption<T> = {
|
|
27
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
+
type: PropType<Required<T>[K]>;
|
|
29
|
+
} : {
|
|
30
|
+
type: PropType<T[K]>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
new (): {
|
|
21
|
-
$slots: S;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
export type ColStyleType = boolean | undefined | string | number | 'auto' | 'grow' | 'shrink' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
3
|
+
export interface MColProps {
|
|
4
|
+
name?: string;
|
|
5
|
+
tag?: string;
|
|
6
|
+
auto?: boolean;
|
|
7
|
+
shrink?: boolean;
|
|
8
|
+
grow?: boolean;
|
|
9
|
+
col?: ColStyleType;
|
|
10
|
+
xs?: ColStyleType;
|
|
11
|
+
sm?: ColStyleType;
|
|
12
|
+
md?: ColStyleType;
|
|
13
|
+
lg?: ColStyleType;
|
|
14
|
+
xl?: ColStyleType;
|
|
15
|
+
xxl?: ColStyleType;
|
|
16
|
+
}
|
|
17
|
+
export interface MColSlots {
|
|
18
|
+
default?: () => VNode[];
|
|
19
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { VNode } from 'vue';
|
|
2
2
|
import { MGridProps } from '../MGrid';
|
|
3
|
+
import { GridShadow } from '../../../types';
|
|
3
4
|
export type MContainerProps = {
|
|
5
|
+
tag?: string;
|
|
4
6
|
/**
|
|
5
7
|
* Defines the spacing size (gutter) between rows and columns.
|
|
6
8
|
* Matches the design system global theme sizes.
|
|
@@ -24,6 +26,8 @@ export type MContainerProps = {
|
|
|
24
26
|
* @default false
|
|
25
27
|
*/
|
|
26
28
|
fluid?: boolean | undefined;
|
|
29
|
+
rounded?: boolean | undefined;
|
|
30
|
+
shadow?: GridShadow | undefined;
|
|
27
31
|
};
|
|
28
32
|
export type MContainerSlots = {
|
|
29
33
|
default?: () => VNode[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MHelpRowProps } from '../../..';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
|
+
declare const __VLS_export: DefineComponent<ExtractPropTypes<__VLS_TypePropsToOption<MHelpRowProps>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<MHelpRowProps>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
declare const _default: typeof __VLS_export;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_TypePropsToOption<T> = {
|
|
7
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
8
|
+
type: PropType<Required<T>[K]>;
|
|
9
|
+
} : {
|
|
10
|
+
type: PropType<T[K]>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { MInnerLoadingProps } from '../../..';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
|
+
interface Props {
|
|
4
|
+
showing?: boolean;
|
|
5
|
+
label?: MInnerLoadingProps['label'];
|
|
6
|
+
labelClass?: MInnerLoadingProps['labelClass'];
|
|
7
|
+
labelStyle?: MInnerLoadingProps['labelStyle'];
|
|
8
|
+
color?: MInnerLoadingProps['color'];
|
|
9
|
+
}
|
|
10
|
+
declare var __VLS_9: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_9) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: DefineComponent<ExtractPropTypes<__VLS_TypePropsToOption<Props>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_TypePropsToOption<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: PropType<Required<T>[K]>;
|
|
21
|
+
} : {
|
|
22
|
+
type: PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare var __VLS_8: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_8) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
ith a listener for 'update:model-value' event) OR use v-model directive
|
|
16
|
+
*/
|
|
17
|
+
modelValue?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* The maximum height of the Tooltip; Size in CSS units, including unit name
|
|
20
|
+
*/
|
|
21
|
+
maxHeight?: string | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* The maximum width of the Tooltip; Size in CSS units, including unit name
|
|
24
|
+
*/
|
|
25
|
+
maxWidth?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Two values setting the starting position or anchor point of the Tooltip relative to its target
|
|
28
|
+
* Default value: bottom middle
|
|
29
|
+
*/
|
|
30
|
+
anchor?: 'top left' | 'top middle' | 'top right' | 'top start' | 'top end' | 'center left' | 'center middle' | 'center right' | 'center start' | 'center end' | 'bottom left' | 'bottom middle' | 'bottom right' | 'bottom start' | 'bottom end' | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Two values setting the Tooltip's own position relative to its target
|
|
33
|
+
* Default value: top middle
|
|
34
|
+
*/
|
|
35
|
+
self?: 'top left' | 'top middle' | 'top right' | 'top start' | 'top end' | 'center left' | 'center middle' | 'center right' | 'center start' | 'center end' | 'bottom left' | 'bottom middle' | 'bottom right' | 'bottom start' | 'bottom end' | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* An array of two numbers to offset the Tooltip horizontally and vertically in pixels
|
|
38
|
+
* Default value: [14, 14]
|
|
39
|
+
*/
|
|
40
|
+
offset?: readonly any[] | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* CSS selector or DOM element to be used as a custom scroll container instead of the auto detected one
|
|
43
|
+
*/
|
|
44
|
+
scrollTarget?: Element | string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Configure a target element to trigger Tooltip toggle; 'true' means it enables the parent DOM element, 'false' means it disables attaching events to any DOM elements; By using a String (CSS selector) it attaches the events to the specified DOM element (if it exists)
|
|
47
|
+
* Default value: true
|
|
48
|
+
*/
|
|
49
|
+
target?: boolean | string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Skips attaching events to the target DOM element (that trigger the element to get shown)
|
|
52
|
+
*/
|
|
53
|
+
noParentEvent?: boolean | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* Configure Tooltip to appear with delay
|
|
56
|
+
*/
|
|
57
|
+
delay?: number | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* Configure Tooltip to disappear with delay
|
|
60
|
+
*/
|
|
61
|
+
hideDelay?: number | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Emitted when showing/hidden state changes; Is also used by v-model
|
|
64
|
+
* @param value New state (showing/hidden)
|
|
65
|
+
*/
|
|
66
|
+
'onUpdate:modelValue'?: (value: boolean) => void;
|
|
67
|
+
/**
|
|
68
|
+
* Emitted after component has triggered show()
|
|
69
|
+
* @param evt JS event object
|
|
70
|
+
*/
|
|
71
|
+
onShow?: (evt: Event) => void;
|
|
72
|
+
/**
|
|
73
|
+
* Emitted when component triggers show() but before it finishes doing it
|
|
74
|
+
* @param evt JS event object
|
|
75
|
+
*/
|
|
76
|
+
onBeforeShow?: (evt: Event) => void;
|
|
77
|
+
/**
|
|
78
|
+
* Emitted after component has triggered hide()
|
|
79
|
+
* @param evt JS event object
|
|
80
|
+
*/
|
|
81
|
+
onHide?: (evt: Event) => void;
|
|
82
|
+
/**
|
|
83
|
+
* Emitted when component triggers hide() but before it finishes doing it
|
|
84
|
+
* @param evt JS event object
|
|
85
|
+
*/
|
|
86
|
+
onBeforeHide?: (evt: Event) => void;
|
|
87
|
+
}
|
|
88
|
+
export interface MTooltipSlots {
|
|
89
|
+
default?: () => VNode[];
|
|
90
|
+
}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
+
import { default as MBtn } from './form/MBtn/MBtn';
|
|
2
|
+
import { default as MCol } from './grid/MCol/MCol';
|
|
1
3
|
import { default as MColumn } from './grid/MColumn/MColumn';
|
|
2
4
|
import { default as MContainer } from './grid/MContainer/MContainer';
|
|
3
5
|
import { default as MGrid } from './grid/MGrid/MGrid';
|
|
4
6
|
import { default as MRow } from './grid/MRow/MRow';
|
|
5
|
-
import { default as
|
|
6
|
-
|
|
7
|
+
import { default as MTransition } from './transition/MTransition/MTransition';
|
|
8
|
+
import { default as MTransitionGroup } from './transition/MTransitionGroup/MTransitionGroup';
|
|
9
|
+
import { default as MTypingString } from './typography/MTypingString/MTypingString';
|
|
7
10
|
export { MBtn };
|
|
11
|
+
export { MCol, MColumn, MContainer, MGrid, MRow };
|
|
12
|
+
export { MTransitionGroup, MTransition };
|
|
13
|
+
export { MTypingString };
|
|
14
|
+
export * from './form';
|
|
8
15
|
export * from './grid';
|
|
9
|
-
export * from './
|
|
16
|
+
export * from './transition';
|
|
17
|
+
export * from './typography';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { TransitionProps, VNode } from 'vue';
|
|
2
|
+
export type GeneralTransitionClasses = 'bounce' | 'flash' | 'flip' | 'headShake' | 'heartBeat' | 'hinge' | 'jello' | 'pulse' | 'rubberBand' | 'shake' | 'shakeX' | 'shakeY' | 'swing' | 'tada' | 'wobble';
|
|
3
|
+
export type InTransitionClasses = 'backInDown' | 'backInLeft' | 'backInRight' | 'backInUp' | 'bounceIn' | 'bounceInDown' | 'bounceInLeft' | 'bounceInRight' | 'bounceInUp' | 'fadeIn' | 'fadeInBottomLeft' | 'fadeInBottomRight' | 'fadeInDown' | 'fadeInDownBig' | 'fadeInLeft' | 'fadeInLeftBig' | 'fadeInRight' | 'fadeInRightBig' | 'fadeInTopLeft' | 'fadeInTopRight' | 'fadeInUp' | 'fadeInUpBig' | 'flipInX' | 'flipInY' | 'jackInTheBox' | 'lightSpeedInLeft' | 'lightSpeedInRight' | 'rollIn' | 'rotateIn' | 'rotateInDownLeft' | 'rotateInDownRight' | 'rotateInUpLeft' | 'rotateInUpRight' | 'slideInDown' | 'slideInLeft' | 'slideInRight' | 'slideInUp' | 'zoomIn' | 'zoomInDown' | 'zoomInLeft' | 'zoomInRight' | 'zoomInUp';
|
|
4
|
+
type OutTransitionClasses = 'backOutDown' | 'backOutLeft' | 'backOutRight' | 'backOutUp' | 'bounceOut' | 'bounceOutDown' | 'bounceOutLeft' | 'bounceOutRight' | 'bounceOutUp' | 'fadeOut' | 'fadeOutBottomLeft' | 'fadeOutBottomRight' | 'fadeOutDown' | 'fadeOutDownBig' | 'fadeOutLeft' | 'fadeOutLeftBig' | 'fadeOutRight' | 'fadeOutRightBig' | 'fadeOutTopLeft' | 'fadeOutTopRight' | 'fadeOutUp' | 'fadeOutUpBig' | 'flipOutX' | 'flipOutY' | 'lightSpeedOutLeft' | 'lightSpeedOutRight' | 'rollOut' | 'rotateOut' | 'rotateOutDownLeft' | 'rotateOutDownRight' | 'rotateOutUpLeft' | 'rotateOutUpRight' | 'slideOutDown' | 'slideOutLeft' | 'slideOutRight' | 'slideOutUp' | 'zoomOut' | 'zoomOutDown' | 'zoomOutLeft' | 'zoomOutRight' | 'zoomOutUp';
|
|
5
|
+
export type TransitionClass = GeneralTransitionClasses | InTransitionClasses | OutTransitionClasses;
|
|
6
|
+
export type TransitionDelay = boolean | string | number;
|
|
7
|
+
export type TransitionRepeat = boolean | string | number;
|
|
8
|
+
export interface BaseMTransitionProps {
|
|
9
|
+
in?: TransitionClass | null;
|
|
10
|
+
inSlower?: boolean;
|
|
11
|
+
inSlow?: boolean;
|
|
12
|
+
inFast?: boolean;
|
|
13
|
+
inFaster?: boolean;
|
|
14
|
+
inDelay?: TransitionDelay;
|
|
15
|
+
inRepeat?: TransitionRepeat;
|
|
16
|
+
out?: TransitionClass | null;
|
|
17
|
+
outSlower?: boolean;
|
|
18
|
+
outSlow?: boolean;
|
|
19
|
+
outFast?: boolean;
|
|
20
|
+
outFaster?: boolean;
|
|
21
|
+
outDelay?: TransitionDelay;
|
|
22
|
+
outRepeat?: TransitionRepeat;
|
|
23
|
+
appear?: TransitionClass | null;
|
|
24
|
+
appearSlower?: boolean;
|
|
25
|
+
appearSlow?: boolean;
|
|
26
|
+
appearFast?: boolean;
|
|
27
|
+
appearFaster?: boolean;
|
|
28
|
+
appearDelay?: TransitionDelay;
|
|
29
|
+
appearRepeat?: TransitionRepeat;
|
|
30
|
+
noAppear?: boolean;
|
|
31
|
+
noCss?: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface MTransitionProps extends BaseMTransitionProps, Omit<TransitionProps, 'appear'> {
|
|
34
|
+
}
|
|
35
|
+
export interface MTransitionSlots {
|
|
36
|
+
default?: () => VNode[];
|
|
37
|
+
}
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TransitionGroupProps, VNode } from 'vue';
|
|
2
|
+
import { BaseMTransitionProps } from '../MTransition';
|
|
3
|
+
export interface MTransitionGroupProps extends BaseMTransitionProps, Omit<TransitionGroupProps, 'appear'> {
|
|
4
|
+
}
|
|
5
|
+
export interface MTransitionGroupSlots {
|
|
6
|
+
default?: () => VNode[];
|
|
7
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { MSarIconProps } from '../../..';
|
|
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<MSarIconProps>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<MSarIconProps>>> & 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
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { MSarStringProps } from '../../..';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
|
+
interface Props {
|
|
4
|
+
tag?: MSarStringProps['tag'];
|
|
5
|
+
text?: MSarStringProps['text'];
|
|
6
|
+
string?: boolean;
|
|
7
|
+
format?: MSarStringProps['format'];
|
|
8
|
+
digits?: MSarStringProps['digits'];
|
|
9
|
+
}
|
|
10
|
+
declare var __VLS_8: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_8) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: DefineComponent<ExtractPropTypes<__VLS_TypePropsToOption<Props>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_TypePropsToOption<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: PropType<Required<T>[K]>;
|
|
21
|
+
} : {
|
|
22
|
+
type: PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
import { TypedOptions } from 'typed.js';
|
|
3
|
+
export interface MTypingStringProps {
|
|
4
|
+
name: string;
|
|
5
|
+
tag?: string;
|
|
6
|
+
string: string | string[] | null | undefined;
|
|
7
|
+
loop?: boolean;
|
|
8
|
+
speed?: number | string;
|
|
9
|
+
backDelay?: number | string;
|
|
10
|
+
fadeOut?: boolean;
|
|
11
|
+
options?: Omit<TypedOptions, 'loop' | 'typeSpeed' | 'backDelay' | 'fadeOut'>;
|
|
12
|
+
}
|
|
13
|
+
export interface MTypingStringSlots {
|
|
14
|
+
default?: () => VNode[];
|
|
15
|
+
}
|