mc-plus 1.0.76 → 1.0.78
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/es/index.js +26 -26
- package/dist/es/mc-button-Ckv7FHa8.js +16 -0
- package/dist/es/{mc-file-list-Dv2LDhbp.js → mc-file-list-Cv4OP1Ga.js} +2 -2
- package/dist/es/{mc-progress-bar-CGr9Uf7f.js → mc-progress-bar-tWHWi19h.js} +4 -4
- package/dist/es/mc-progress-indicator-BLQqSDrY.js +154 -0
- package/dist/es/mc-progress-indicator-child-item-DAKkXWWn.js +7 -0
- package/dist/es/mc-progress-indicator-item-BiQL0uXR.js +7 -0
- package/dist/es/{mc-select-Dnk7W7Mf.js → mc-select-3xlHImKe.js} +1 -1
- package/dist/es/{mc-select-group-Dz2G57Zo.js → mc-select-group-BKEcd7s0.js} +1 -1
- package/dist/es/{mc-select-group-plus-CbEB4hhG.js → mc-select-group-plus-CPt1eYeR.js} +1 -1
- package/dist/es/{mc-select-option-CXmSRasD.js → mc-select-option-Cptm5wjF.js} +2 -2
- package/dist/es/{mc-select-option-plus-Bn4h9rqa.js → mc-select-option-plus-93vuN2mf.js} +1 -1
- package/dist/es/{mc-select-plus-BfvGWpjV.js → mc-select-plus-Hdl-shv8.js} +4 -4
- package/dist/es/{mc-upload-B95Ngkxg.js → mc-upload-CDkkDtlT.js} +1 -1
- package/dist/es/theme/mc-button.css +1 -1
- package/dist/es/theme/mc-progress-bar.css +1 -1
- package/dist/es/theme/mc-progress-indicator.css +1 -1
- package/dist/index.css +1 -1
- package/dist/types/mc-progress-indicator/hooks/useStepItem.d.ts +65 -34
- package/dist/types/mc-progress-indicator/index.d.ts +3 -0
- package/dist/types/mc-progress-indicator/mc-progress-indicator-step.vue.d.ts +5 -0
- package/dist/types/mc-progress-indicator/mc-progress-indicator.vue.d.ts +1 -0
- package/dist/types/mc-progress-indicator/schemes/index.d.ts +1 -0
- package/dist/types/mc-progress-indicator/schemes/mc-progress-indicator.d.ts +44 -0
- package/dist/types/mc-progress-indicator/types/mc-progress-indicator-step-num.d.ts +2 -0
- package/dist/types/mc-progress-indicator/types/mc-progress-indicator-step.d.ts +2 -1
- package/dist/types/mc-progress-indicator/types/mc-progress-indicator.d.ts +3 -26
- package/dist/types/mc-progress-indicator/utils/contentDisplay.d.ts +1 -1
- package/dist/types/mc-progress-indicator/utils/generateStepItems.d.ts +2 -1
- package/dist/types/mc-progress-indicator/utils/getStatus.d.ts +2 -1
- package/dist/types/mc-progress-indicator-child-item/types.d.ts +5 -0
- package/dist/types/mc-select-plus/hooks/useSelectWidthHeight.d.ts +2 -2
- package/dist/types/mc-upload/types/common.d.ts +1 -0
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.css.gz +0 -0
- package/dist/umd/index.umd.cjs +4 -4
- package/dist/umd/index.umd.cjs.gz +0 -0
- package/package.json +2 -2
- package/dist/es/mc-button-BDtWAwB8.js +0 -15
- package/dist/es/mc-progress-indicator-BkgfTSnP.js +0 -81
- package/dist/es/mc-progress-indicator-child-item-B9cd-rkf.js +0 -7
- package/dist/es/mc-progress-indicator-item-DXEPoLrA.js +0 -7
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
import { McProgressIndicatorKey as StepKey
|
|
1
|
+
import { McProgressIndicatorKey as StepKey } from '../types';
|
|
2
|
+
import { McProgressIndicatorStepClass as StepItem } from '../schemes';
|
|
2
3
|
declare const useStepItem: () => {
|
|
3
4
|
stepItems: import('vue').Ref<{
|
|
5
|
+
readonly id: string;
|
|
6
|
+
readonly stepKey: StepKey;
|
|
4
7
|
index?: number | undefined;
|
|
5
8
|
parentIndex?: number | undefined;
|
|
6
9
|
childIndex?: number | undefined;
|
|
10
|
+
readonly label?: string | undefined;
|
|
11
|
+
readonly icon?: import('../..').McIconPlusName | undefined;
|
|
12
|
+
readonly showContent?: boolean | undefined;
|
|
13
|
+
readonly success?: boolean | undefined;
|
|
14
|
+
readonly hiddenHeader?: boolean | undefined;
|
|
15
|
+
readonly hiddenFooter?: boolean | undefined;
|
|
16
|
+
readonly hiddenFooterLeft?: boolean | undefined;
|
|
17
|
+
readonly hiddenFooterRight?: boolean | undefined;
|
|
7
18
|
previousStep?: /*elided*/ any | undefined;
|
|
8
19
|
nextStep?: /*elided*/ any | undefined;
|
|
9
|
-
step: StepKey;
|
|
10
|
-
label?: string | undefined;
|
|
11
|
-
icon?: import('../..').McIconPlusName | undefined;
|
|
12
20
|
parentStep?: /*elided*/ any | undefined;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
children?: /*elided*/ any[] | undefined;
|
|
16
|
-
childrenSteps?: StepKey[] | undefined;
|
|
17
|
-
showContent?: boolean | undefined;
|
|
18
|
-
success?: boolean | undefined;
|
|
19
|
-
iconSlot?: import('vue').Slot | undefined;
|
|
20
|
-
labelSlot?: import('vue').Slot | undefined;
|
|
21
|
+
readonly iconSlot?: import('vue').Slot | undefined;
|
|
22
|
+
readonly labelSlot?: import('vue').Slot | undefined;
|
|
21
23
|
defaultSlot?: import('vue').Slot | undefined;
|
|
22
24
|
contentTitleSlot?: import('vue').Slot | undefined;
|
|
23
25
|
contentToolbarSlot?: import('vue').Slot | undefined;
|
|
@@ -25,24 +27,34 @@ declare const useStepItem: () => {
|
|
|
25
27
|
contentFooterSlot?: import('vue').Slot | undefined;
|
|
26
28
|
contentFooterLeftSlot?: import('vue').Slot | undefined;
|
|
27
29
|
contentFooterRightSlot?: import('vue').Slot | undefined;
|
|
30
|
+
readonly isChild: boolean;
|
|
31
|
+
readonly hasChildren: boolean;
|
|
32
|
+
getChildrenSteps: () => StepItem[];
|
|
33
|
+
hasChildStep: (stepKey: StepKey) => boolean;
|
|
34
|
+
getFirstChildStep: () => StepItem | undefined;
|
|
35
|
+
getLastChildStep: () => StepItem | undefined;
|
|
36
|
+
appendChildStep: (step: StepItem) => void;
|
|
37
|
+
removeChildStep: (stepKey: StepKey) => void;
|
|
38
|
+
clearContent: () => void;
|
|
28
39
|
}[], StepItem[] | {
|
|
40
|
+
readonly id: string;
|
|
41
|
+
readonly stepKey: StepKey;
|
|
29
42
|
index?: number | undefined;
|
|
30
43
|
parentIndex?: number | undefined;
|
|
31
44
|
childIndex?: number | undefined;
|
|
45
|
+
readonly label?: string | undefined;
|
|
46
|
+
readonly icon?: import('../..').McIconPlusName | undefined;
|
|
47
|
+
readonly showContent?: boolean | undefined;
|
|
48
|
+
readonly success?: boolean | undefined;
|
|
49
|
+
readonly hiddenHeader?: boolean | undefined;
|
|
50
|
+
readonly hiddenFooter?: boolean | undefined;
|
|
51
|
+
readonly hiddenFooterLeft?: boolean | undefined;
|
|
52
|
+
readonly hiddenFooterRight?: boolean | undefined;
|
|
32
53
|
previousStep?: /*elided*/ any | undefined;
|
|
33
54
|
nextStep?: /*elided*/ any | undefined;
|
|
34
|
-
step: StepKey;
|
|
35
|
-
label?: string | undefined;
|
|
36
|
-
icon?: import('../..').McIconPlusName | undefined;
|
|
37
55
|
parentStep?: /*elided*/ any | undefined;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
children?: /*elided*/ any[] | undefined;
|
|
41
|
-
childrenSteps?: StepKey[] | undefined;
|
|
42
|
-
showContent?: boolean | undefined;
|
|
43
|
-
success?: boolean | undefined;
|
|
44
|
-
iconSlot?: import('vue').Slot | undefined;
|
|
45
|
-
labelSlot?: import('vue').Slot | undefined;
|
|
56
|
+
readonly iconSlot?: import('vue').Slot | undefined;
|
|
57
|
+
readonly labelSlot?: import('vue').Slot | undefined;
|
|
46
58
|
defaultSlot?: import('vue').Slot | undefined;
|
|
47
59
|
contentTitleSlot?: import('vue').Slot | undefined;
|
|
48
60
|
contentToolbarSlot?: import('vue').Slot | undefined;
|
|
@@ -50,25 +62,35 @@ declare const useStepItem: () => {
|
|
|
50
62
|
contentFooterSlot?: import('vue').Slot | undefined;
|
|
51
63
|
contentFooterLeftSlot?: import('vue').Slot | undefined;
|
|
52
64
|
contentFooterRightSlot?: import('vue').Slot | undefined;
|
|
65
|
+
readonly isChild: boolean;
|
|
66
|
+
readonly hasChildren: boolean;
|
|
67
|
+
getChildrenSteps: () => StepItem[];
|
|
68
|
+
hasChildStep: (stepKey: StepKey) => boolean;
|
|
69
|
+
getFirstChildStep: () => StepItem | undefined;
|
|
70
|
+
getLastChildStep: () => StepItem | undefined;
|
|
71
|
+
appendChildStep: (step: StepItem) => void;
|
|
72
|
+
removeChildStep: (stepKey: StepKey) => void;
|
|
73
|
+
clearContent: () => void;
|
|
53
74
|
}[]>;
|
|
54
75
|
currentStep: import('vue').ComputedRef<{
|
|
76
|
+
readonly id: string;
|
|
77
|
+
readonly stepKey: StepKey;
|
|
55
78
|
index?: number | undefined;
|
|
56
79
|
parentIndex?: number | undefined;
|
|
57
80
|
childIndex?: number | undefined;
|
|
81
|
+
readonly label?: string | undefined;
|
|
82
|
+
readonly icon?: import('../..').McIconPlusName | undefined;
|
|
83
|
+
readonly showContent?: boolean | undefined;
|
|
84
|
+
readonly success?: boolean | undefined;
|
|
85
|
+
readonly hiddenHeader?: boolean | undefined;
|
|
86
|
+
readonly hiddenFooter?: boolean | undefined;
|
|
87
|
+
readonly hiddenFooterLeft?: boolean | undefined;
|
|
88
|
+
readonly hiddenFooterRight?: boolean | undefined;
|
|
58
89
|
previousStep?: /*elided*/ any | undefined;
|
|
59
90
|
nextStep?: /*elided*/ any | undefined;
|
|
60
|
-
step: StepKey;
|
|
61
|
-
label?: string | undefined;
|
|
62
|
-
icon?: import('../..').McIconPlusName | undefined;
|
|
63
91
|
parentStep?: /*elided*/ any | undefined;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
children?: /*elided*/ any[] | undefined;
|
|
67
|
-
childrenSteps?: StepKey[] | undefined;
|
|
68
|
-
showContent?: boolean | undefined;
|
|
69
|
-
success?: boolean | undefined;
|
|
70
|
-
iconSlot?: import('vue').Slot | undefined;
|
|
71
|
-
labelSlot?: import('vue').Slot | undefined;
|
|
92
|
+
readonly iconSlot?: import('vue').Slot | undefined;
|
|
93
|
+
readonly labelSlot?: import('vue').Slot | undefined;
|
|
72
94
|
defaultSlot?: import('vue').Slot | undefined;
|
|
73
95
|
contentTitleSlot?: import('vue').Slot | undefined;
|
|
74
96
|
contentToolbarSlot?: import('vue').Slot | undefined;
|
|
@@ -76,6 +98,15 @@ declare const useStepItem: () => {
|
|
|
76
98
|
contentFooterSlot?: import('vue').Slot | undefined;
|
|
77
99
|
contentFooterLeftSlot?: import('vue').Slot | undefined;
|
|
78
100
|
contentFooterRightSlot?: import('vue').Slot | undefined;
|
|
101
|
+
readonly isChild: boolean;
|
|
102
|
+
readonly hasChildren: boolean;
|
|
103
|
+
getChildrenSteps: () => StepItem[];
|
|
104
|
+
hasChildStep: (stepKey: StepKey) => boolean;
|
|
105
|
+
getFirstChildStep: () => StepItem | undefined;
|
|
106
|
+
getLastChildStep: () => StepItem | undefined;
|
|
107
|
+
appendChildStep: (step: StepItem) => void;
|
|
108
|
+
removeChildStep: (stepKey: StepKey) => void;
|
|
109
|
+
clearContent: () => void;
|
|
79
110
|
} | undefined>;
|
|
80
111
|
};
|
|
81
112
|
export default useStepItem;
|
|
@@ -19,6 +19,7 @@ export declare const McProgressIndicator: {
|
|
|
19
19
|
showSuccessIcon: boolean;
|
|
20
20
|
successBehavior: import('./types').McProgressIndicatorSuccessBehavior;
|
|
21
21
|
previousBehavior: import('./types').McProgressIndicatorPreviousBehavior;
|
|
22
|
+
scrollToStep: boolean;
|
|
22
23
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
23
24
|
P: {};
|
|
24
25
|
B: {};
|
|
@@ -39,6 +40,7 @@ export declare const McProgressIndicator: {
|
|
|
39
40
|
showSuccessIcon: boolean;
|
|
40
41
|
successBehavior: import('./types').McProgressIndicatorSuccessBehavior;
|
|
41
42
|
previousBehavior: import('./types').McProgressIndicatorPreviousBehavior;
|
|
43
|
+
scrollToStep: boolean;
|
|
42
44
|
}>;
|
|
43
45
|
__isFragment?: never;
|
|
44
46
|
__isTeleport?: never;
|
|
@@ -61,4 +63,5 @@ export declare const McProgressIndicator: {
|
|
|
61
63
|
showSuccessIcon: boolean;
|
|
62
64
|
successBehavior: import('./types').McProgressIndicatorSuccessBehavior;
|
|
63
65
|
previousBehavior: import('./types').McProgressIndicatorPreviousBehavior;
|
|
66
|
+
scrollToStep: boolean;
|
|
64
67
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
@@ -2,6 +2,11 @@ import { McProgressIndicatorStepStatus as StepStatus, McProgressIndicatorStepPro
|
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: {
|
|
5
|
+
icon?(_: {
|
|
6
|
+
stepKey: import('./types').McProgressIndicatorKey;
|
|
7
|
+
label: string | undefined;
|
|
8
|
+
status: StepStatus;
|
|
9
|
+
}): any;
|
|
5
10
|
default?(_: {
|
|
6
11
|
stepKey: import('./types').McProgressIndicatorKey;
|
|
7
12
|
label: string | undefined;
|
|
@@ -17,5 +17,6 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
17
17
|
showSuccessIcon: boolean;
|
|
18
18
|
successBehavior: import('./types').McProgressIndicatorSuccessBehavior;
|
|
19
19
|
previousBehavior: import('./types').McProgressIndicatorPreviousBehavior;
|
|
20
|
+
scrollToStep: boolean;
|
|
20
21
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
22
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as McProgressIndicatorStepClass } from './mc-progress-indicator';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Slot } from 'vue';
|
|
2
|
+
import { McIconPlusName as IconName } from '../../mc-icon-plus';
|
|
3
|
+
import { McProgressIndicatorItemProps as StepItemProps } from '../../mc-progress-indicator-item';
|
|
4
|
+
import { McProgressIndicatorChildItemSlots as StepItemSlots } from '../../mc-progress-indicator-child-item';
|
|
5
|
+
import { McProgressIndicatorNode as StepNode, McProgressIndicatorKey as StepKey } from '../types';
|
|
6
|
+
declare class McProgressIndicatorStepClass implements StepNode {
|
|
7
|
+
readonly id: string;
|
|
8
|
+
readonly stepKey: StepKey;
|
|
9
|
+
index?: number;
|
|
10
|
+
parentIndex?: number;
|
|
11
|
+
childIndex?: number;
|
|
12
|
+
readonly label?: string;
|
|
13
|
+
readonly icon?: IconName;
|
|
14
|
+
readonly showContent?: boolean;
|
|
15
|
+
readonly success?: boolean;
|
|
16
|
+
readonly hiddenHeader?: boolean;
|
|
17
|
+
readonly hiddenFooter?: boolean;
|
|
18
|
+
readonly hiddenFooterLeft?: boolean;
|
|
19
|
+
readonly hiddenFooterRight?: boolean;
|
|
20
|
+
previousStep?: McProgressIndicatorStepClass;
|
|
21
|
+
nextStep?: McProgressIndicatorStepClass;
|
|
22
|
+
parentStep?: McProgressIndicatorStepClass;
|
|
23
|
+
private childrenSteps?;
|
|
24
|
+
readonly iconSlot?: Slot;
|
|
25
|
+
readonly labelSlot?: Slot;
|
|
26
|
+
defaultSlot?: Slot;
|
|
27
|
+
contentTitleSlot?: Slot;
|
|
28
|
+
contentToolbarSlot?: Slot;
|
|
29
|
+
contentSlot?: Slot;
|
|
30
|
+
contentFooterSlot?: Slot;
|
|
31
|
+
contentFooterLeftSlot?: Slot;
|
|
32
|
+
contentFooterRightSlot?: Slot;
|
|
33
|
+
constructor(props?: StepItemProps, slots?: StepItemSlots);
|
|
34
|
+
get isChild(): boolean;
|
|
35
|
+
get hasChildren(): boolean;
|
|
36
|
+
getChildrenSteps(): McProgressIndicatorStepClass[];
|
|
37
|
+
hasChildStep(stepKey: StepKey): boolean;
|
|
38
|
+
getFirstChildStep(): McProgressIndicatorStepClass | undefined;
|
|
39
|
+
getLastChildStep(): McProgressIndicatorStepClass | undefined;
|
|
40
|
+
appendChildStep(step: McProgressIndicatorStepClass): void;
|
|
41
|
+
removeChildStep(stepKey: StepKey): void;
|
|
42
|
+
clearContent(): void;
|
|
43
|
+
}
|
|
44
|
+
export default McProgressIndicatorStepClass;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { McIconPlusName } from '../../mc-icon-plus';
|
|
1
2
|
import { McProgressIndicatorStepStatus } from './mc-progress-indicator-step';
|
|
2
3
|
export type McProgressIndicatorStepNumProps = {
|
|
3
4
|
num?: number;
|
|
4
5
|
status?: McProgressIndicatorStepStatus;
|
|
5
6
|
showSuccessIcon?: boolean;
|
|
6
7
|
isChild?: boolean;
|
|
8
|
+
icon?: McIconPlusName;
|
|
7
9
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { McProgressIndicatorSuccessBehavior as StepSuccessBehavior
|
|
1
|
+
import { McProgressIndicatorSuccessBehavior as StepSuccessBehavior } from './mc-progress-indicator';
|
|
2
|
+
import { McProgressIndicatorStepClass as StepItem } from '../schemes';
|
|
2
3
|
export type McProgressIndicatorStepStatus = "default" | "active" | "success";
|
|
3
4
|
export type McProgressIndicatorStepPosition = "first" | "last" | "middle";
|
|
4
5
|
export type McProgressIndicatorStepProps = {
|
|
@@ -1,33 +1,9 @@
|
|
|
1
|
-
import { Slot } from 'vue';
|
|
2
|
-
import { McIconPlusName } from '../../mc-icon-plus';
|
|
3
1
|
export type McProgressIndicatorKey = string | number | undefined;
|
|
4
2
|
export type McProgressIndicatorSuccessBehavior = "auto" | "manual";
|
|
5
3
|
export type McProgressIndicatorPreviousBehavior = "last-child" | "first-child";
|
|
6
4
|
export interface McProgressIndicatorNode {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
childIndex?: number;
|
|
10
|
-
previousStep?: McProgressIndicatorNode;
|
|
11
|
-
nextStep?: McProgressIndicatorNode;
|
|
12
|
-
step: McProgressIndicatorKey;
|
|
13
|
-
label?: string;
|
|
14
|
-
icon?: McIconPlusName;
|
|
15
|
-
parentStep?: McProgressIndicatorNode;
|
|
16
|
-
isChild?: boolean;
|
|
17
|
-
hasChildren?: boolean;
|
|
18
|
-
children?: McProgressIndicatorNode[];
|
|
19
|
-
childrenSteps?: McProgressIndicatorKey[];
|
|
20
|
-
showContent?: boolean;
|
|
21
|
-
success?: boolean;
|
|
22
|
-
iconSlot?: Slot;
|
|
23
|
-
labelSlot?: Slot;
|
|
24
|
-
defaultSlot?: Slot;
|
|
25
|
-
contentTitleSlot?: Slot;
|
|
26
|
-
contentToolbarSlot?: Slot;
|
|
27
|
-
contentSlot?: Slot;
|
|
28
|
-
contentFooterSlot?: Slot;
|
|
29
|
-
contentFooterLeftSlot?: Slot;
|
|
30
|
-
contentFooterRightSlot?: Slot;
|
|
5
|
+
readonly id: string;
|
|
6
|
+
readonly stepKey: McProgressIndicatorKey;
|
|
31
7
|
}
|
|
32
8
|
export interface McProgressIndicatorProps {
|
|
33
9
|
modelValue?: McProgressIndicatorKey;
|
|
@@ -35,6 +11,7 @@ export interface McProgressIndicatorProps {
|
|
|
35
11
|
successBehavior?: McProgressIndicatorSuccessBehavior;
|
|
36
12
|
previousBehavior?: McProgressIndicatorPreviousBehavior;
|
|
37
13
|
showSuccessIcon?: boolean;
|
|
14
|
+
scrollToStep?: boolean;
|
|
38
15
|
}
|
|
39
16
|
export interface McProgressIndicatorEmits {
|
|
40
17
|
(e: "update:modelValue", value: McProgressIndicatorKey): void;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { VNodeNormalizedChildren } from 'vue';
|
|
2
|
-
import { McProgressIndicatorKey as StepKey
|
|
2
|
+
import { McProgressIndicatorKey as StepKey } from '../types';
|
|
3
|
+
import { McProgressIndicatorStepClass as StepItem } from '../schemes';
|
|
3
4
|
declare const generateStepItems: (children?: VNodeNormalizedChildren) => {
|
|
4
5
|
stepItems: StepItem[];
|
|
5
6
|
stepMap: Map<StepKey, StepItem>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { MaybeRef } from 'vue';
|
|
2
|
-
import { McProgressIndicatorStepStatus as StepStatus,
|
|
2
|
+
import { McProgressIndicatorStepStatus as StepStatus, McProgressIndicatorSuccessBehavior as StepSuccessBehavior } from '../types';
|
|
3
|
+
import { McProgressIndicatorStepClass as StepItem } from '../schemes';
|
|
3
4
|
declare const getStatus: (stepItem?: StepItem, currentStep?: MaybeRef<StepItem>, behavior?: StepSuccessBehavior) => StepStatus;
|
|
4
5
|
export default getStatus;
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { Slot } from 'vue';
|
|
2
2
|
import { McProgressIndicatorStepStatus as StepStatus, McProgressIndicatorKey as StepKey } from '../mc-progress-indicator';
|
|
3
3
|
export interface McProgressIndicatorChildItemProps {
|
|
4
|
+
id?: string;
|
|
4
5
|
step?: StepKey;
|
|
5
6
|
label?: string;
|
|
6
7
|
showContent?: boolean;
|
|
7
8
|
success?: boolean;
|
|
9
|
+
hiddenHeader?: boolean;
|
|
10
|
+
hiddenFooter?: boolean;
|
|
11
|
+
hiddenFooterLeft?: boolean;
|
|
12
|
+
hiddenFooterRight?: boolean;
|
|
8
13
|
}
|
|
9
14
|
export interface McProgressIndicatorChildItemSlots {
|
|
10
15
|
icon?: Slot<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const useSelectWidthHeight: () => {
|
|
2
2
|
selectRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
3
|
-
width: import('vue').ComputedRef<string>;
|
|
4
|
-
height: import('vue').ComputedRef<string>;
|
|
3
|
+
width: import('vue').ComputedRef<string | undefined>;
|
|
4
|
+
height: import('vue').ComputedRef<string | undefined>;
|
|
5
5
|
setWidth: () => void;
|
|
6
6
|
};
|
|
7
7
|
export default useSelectWidthHeight;
|