fit2cloud-ui-plus 1.0.9 → 1.1.0
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/lib/fit2cloud-ui-plus.es.js +547 -72
- package/lib/fit2cloud-ui-plus.umd.js +1 -1
- package/package.json +1 -1
- package/src/components/ steps/FuHorizontalNavigation.vue +26 -0
- package/src/components/ steps/FuHorizontalSteps.vue +103 -0
- package/src/components/ steps/FuStep.vue +11 -0
- package/src/components/ steps/FuStepButton.vue +8 -0
- package/src/components/ steps/FuSteps.vue +43 -0
- package/src/components/ steps/FuStepsFooter.ts +75 -0
- package/src/components/ steps/FuVerticalNavigation.vue +41 -0
- package/src/components/ steps/FuVerticalSteps.vue +94 -0
- package/src/components/ steps/Stepper.ts +171 -0
- package/src/components/ steps/index.ts +10 -0
- package/src/components/ steps/types.ts +29 -0
- package/types/examples/pages/steps/attributes.d.ts +63 -0
- package/types/examples/pages/steps/demo/BaseSteps.vue.d.ts +2 -0
- package/types/examples/pages/steps/demo/CustomFooterDemo.vue.d.ts +2 -0
- package/types/examples/pages/steps/demo/SettingFooterDemo.vue.d.ts +2 -0
- package/types/examples/pages/steps/demo/StepsHooksDemo.vue.d.ts +2 -0
- package/types/examples/pages/steps/demo/VerticalSteps.vue.d.ts +2 -0
- package/types/examples/pages/steps/index.vue.d.ts +2 -0
- package/types/src/components/ steps/FuHorizontalNavigation.vue.d.ts +13 -0
- package/types/src/components/ steps/FuHorizontalSteps.vue.d.ts +6 -0
- package/types/src/components/ steps/FuStep.vue.d.ts +2 -0
- package/types/src/components/ steps/FuStepButton.vue.d.ts +2 -0
- package/types/src/components/ steps/FuSteps.vue.d.ts +12 -0
- package/types/src/components/ steps/FuStepsFooter.d.ts +6 -0
- package/types/src/components/ steps/FuVerticalNavigation.vue.d.ts +14 -0
- package/types/src/components/ steps/FuVerticalSteps.vue.d.ts +6 -0
- package/types/src/components/ steps/Stepper.d.ts +39 -0
- package/types/src/components/ steps/index.d.ts +2 -0
- package/types/src/components/ steps/types.d.ts +27 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
stepper: ObjectConstructor;
|
|
4
|
+
steps: ArrayConstructor;
|
|
5
|
+
disable: PropType<(index: number) => boolean>;
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "active"[], "active", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
stepper: ObjectConstructor;
|
|
8
|
+
steps: ArrayConstructor;
|
|
9
|
+
disable: PropType<(index: number) => boolean>;
|
|
10
|
+
}>> & {
|
|
11
|
+
onActive?: ((...args: any[]) => any) | undefined;
|
|
12
|
+
}, {}>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
4
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}, {}>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
2
|
+
direction?: any;
|
|
3
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
6
|
+
direction?: any;
|
|
7
|
+
}>>> & {
|
|
8
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
readonly direction?: any;
|
|
11
|
+
}>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "stepperFn"[], "stepperFn", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
4
|
+
onStepperFn?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}, {}>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import { Step } from "@/components/ steps/Stepper";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
stepper: ObjectConstructor;
|
|
5
|
+
steps: PropType<Step[]>;
|
|
6
|
+
disable: PropType<(index: number) => boolean>;
|
|
7
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "active"[], "active", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
stepper: ObjectConstructor;
|
|
9
|
+
steps: PropType<Step[]>;
|
|
10
|
+
disable: PropType<(index: number) => boolean>;
|
|
11
|
+
}>> & {
|
|
12
|
+
onActive?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
}, {}>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
4
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}, {}>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { StepperOptions, StepOptions } from './types';
|
|
2
|
+
export declare class Stepper implements StepperOptions {
|
|
3
|
+
steps: [Step];
|
|
4
|
+
index: number;
|
|
5
|
+
activeSet: any;
|
|
6
|
+
isLoading: boolean;
|
|
7
|
+
onCancelButtonText: string;
|
|
8
|
+
onFinishButtonText: string;
|
|
9
|
+
prevButtonText: string;
|
|
10
|
+
nextButtonText: string;
|
|
11
|
+
buttonSize: string;
|
|
12
|
+
footerAlign: string;
|
|
13
|
+
showCancel: any;
|
|
14
|
+
beforeActive: Function;
|
|
15
|
+
beforeLeave: Function;
|
|
16
|
+
height: string;
|
|
17
|
+
constructor(options?: StepperOptions);
|
|
18
|
+
isFirst(index: number): boolean;
|
|
19
|
+
isLast(index: number): boolean;
|
|
20
|
+
isActive(index: number): boolean;
|
|
21
|
+
isCurrent(index: number): boolean;
|
|
22
|
+
active(index: number): Promise<void>;
|
|
23
|
+
next(): void;
|
|
24
|
+
prev(): void;
|
|
25
|
+
getStep(index: number): Step | undefined;
|
|
26
|
+
executeBeforeLeave(index: number, forward: boolean): any;
|
|
27
|
+
executeBeforeActive(index: number, forward: boolean): any;
|
|
28
|
+
}
|
|
29
|
+
export declare class Step implements StepOptions {
|
|
30
|
+
id?: string;
|
|
31
|
+
index: number;
|
|
32
|
+
beforeActive?: Function;
|
|
33
|
+
beforeLeave?: Function;
|
|
34
|
+
title?: string;
|
|
35
|
+
description?: string;
|
|
36
|
+
icon?: string;
|
|
37
|
+
status?: string;
|
|
38
|
+
constructor(options?: StepOptions);
|
|
39
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Step } from "@/components/ steps/Stepper";
|
|
2
|
+
export interface StepperOptions {
|
|
3
|
+
steps: [Step];
|
|
4
|
+
index: number;
|
|
5
|
+
activeSet: any;
|
|
6
|
+
isLoading?: boolean;
|
|
7
|
+
onCancelButtonText: string;
|
|
8
|
+
onFinishButtonText: string;
|
|
9
|
+
prevButtonText: string;
|
|
10
|
+
nextButtonText: string;
|
|
11
|
+
buttonSize: string;
|
|
12
|
+
footerAlign: string;
|
|
13
|
+
showCancel: any;
|
|
14
|
+
beforeActive: Function;
|
|
15
|
+
beforeLeave: Function;
|
|
16
|
+
height: string;
|
|
17
|
+
}
|
|
18
|
+
export interface StepOptions {
|
|
19
|
+
id?: string;
|
|
20
|
+
index: number;
|
|
21
|
+
beforeActive?: Function;
|
|
22
|
+
beforeLeave?: Function;
|
|
23
|
+
title?: string;
|
|
24
|
+
description?: string;
|
|
25
|
+
icon?: string;
|
|
26
|
+
status?: string;
|
|
27
|
+
}
|