xc-computent 0.1.0 → 0.3.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/dist/components/Badge/Badge.vue.d.ts +4 -4
- package/dist/components/Button/Button.vue.d.ts +6 -6
- package/dist/components/Icon/IconMap/IconMap.d.ts +1 -0
- package/dist/components/Icon/IconMap/index.d.ts +23 -0
- package/dist/components/Icon/IconMap/modules/publicWelfare.d.ts +22 -0
- package/dist/components/Icon/IconMap/propTypes.d.ts +8 -0
- package/dist/components/Icon/IconMap/useDesign.d.ts +4 -0
- package/dist/components/Icon/index.d.ts +26 -0
- package/dist/components/Icon/src/Icon.vue.d.ts +30 -0
- package/dist/components/Input/Input.vue.d.ts +39 -0
- package/dist/components/Input/index.d.ts +4 -0
- package/dist/components/ToDoCard/ToDoCard.vue.d.ts +87 -0
- package/dist/components/ToDoCard/index.d.ts +4 -0
- package/dist/computent.js +650 -45
- package/dist/computent.umd.cjs +1 -1
- package/dist/index.d.ts +6 -3
- package/dist/style.css +1 -1
- package/package.json +11 -4
|
@@ -6,19 +6,19 @@ interface BadgeProps {
|
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
7
|
default?(_: {}): any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BadgeProps>, {
|
|
10
10
|
type: string;
|
|
11
11
|
variant: string;
|
|
12
12
|
dot: boolean;
|
|
13
|
-
}
|
|
13
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BadgeProps>, {
|
|
14
14
|
type: string;
|
|
15
15
|
variant: string;
|
|
16
16
|
dot: boolean;
|
|
17
|
-
}
|
|
17
|
+
}>>>, {
|
|
18
18
|
type: "default" | "success" | "warning" | "danger" | "info";
|
|
19
19
|
variant: "filled" | "subtle" | "outline";
|
|
20
20
|
dot: boolean;
|
|
21
|
-
}, {}
|
|
21
|
+
}, {}>;
|
|
22
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
23
23
|
export default _default;
|
|
24
24
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -8,26 +8,26 @@ declare function __VLS_template(): {
|
|
|
8
8
|
icon?(_: {}): any;
|
|
9
9
|
default?(_: {}): any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
|
|
12
12
|
variant: string;
|
|
13
13
|
size: string;
|
|
14
14
|
loading: boolean;
|
|
15
15
|
disabled: boolean;
|
|
16
|
-
}
|
|
16
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
17
|
click: (event: MouseEvent) => void;
|
|
18
|
-
}, string, import('vue').
|
|
18
|
+
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
|
|
19
19
|
variant: string;
|
|
20
20
|
size: string;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
disabled: boolean;
|
|
23
|
-
}>>> &
|
|
23
|
+
}>>> & {
|
|
24
24
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
25
|
-
}
|
|
25
|
+
}, {
|
|
26
26
|
variant: "primary" | "secondary" | "outline" | "text" | "danger";
|
|
27
27
|
size: "sm" | "md" | "lg";
|
|
28
28
|
loading: boolean;
|
|
29
29
|
disabled: boolean;
|
|
30
|
-
}, {}
|
|
30
|
+
}, {}>;
|
|
31
31
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
32
32
|
export default _default;
|
|
33
33
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function importModules(): Record<string, string>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
icon: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
size: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: null;
|
|
9
|
+
};
|
|
10
|
+
}, () => JSX.Element, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
icon: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
size: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: null;
|
|
18
|
+
};
|
|
19
|
+
}>>, {
|
|
20
|
+
size: number;
|
|
21
|
+
icon: string;
|
|
22
|
+
}, {}>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const iconMap: {
|
|
2
|
+
'xc-revert': string;
|
|
3
|
+
'xc-progress': string;
|
|
4
|
+
'xc-upload': string;
|
|
5
|
+
'xc-download': string;
|
|
6
|
+
'xc-author': string;
|
|
7
|
+
'xc-lock': string;
|
|
8
|
+
'xc-unlock': string;
|
|
9
|
+
'xc-setting': string;
|
|
10
|
+
'xc-link': string;
|
|
11
|
+
'xc-cancel': string;
|
|
12
|
+
'xc-shelves': string;
|
|
13
|
+
'xc-settle': string;
|
|
14
|
+
'xc-invoice': string;
|
|
15
|
+
'xc-cancel-invoice': string;
|
|
16
|
+
'xc-start-use': string;
|
|
17
|
+
'xc-reduce': string;
|
|
18
|
+
'xc-pass': string;
|
|
19
|
+
'xc-expire': string;
|
|
20
|
+
'xc-pause': string;
|
|
21
|
+
'xc-review': string;
|
|
22
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { VueTypesInterface, VueTypeValidableDef } from 'vue-types';
|
|
2
|
+
import { CSSProperties } from 'vue';
|
|
3
|
+
|
|
4
|
+
type PropTypes = VueTypesInterface & {
|
|
5
|
+
readonly style: VueTypeValidableDef<CSSProperties>;
|
|
6
|
+
};
|
|
7
|
+
declare const propTypes: PropTypes;
|
|
8
|
+
export { propTypes };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { default as Icon } from './IconMap/index';
|
|
2
|
+
|
|
3
|
+
declare const XcIcon: import('vue').DefineComponent<{
|
|
4
|
+
icon: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
size: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: null;
|
|
11
|
+
};
|
|
12
|
+
}, () => JSX.Element, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
icon: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
size: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
default: null;
|
|
20
|
+
};
|
|
21
|
+
}>>, {
|
|
22
|
+
size: number;
|
|
23
|
+
icon: string;
|
|
24
|
+
}, {}>;
|
|
25
|
+
export { Icon, XcIcon };
|
|
26
|
+
export default Icon;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
icon: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
3
|
+
default: string;
|
|
4
|
+
};
|
|
5
|
+
color: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
size: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
9
|
+
default: number;
|
|
10
|
+
} & {
|
|
11
|
+
default: number;
|
|
12
|
+
};
|
|
13
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
+
icon: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
color: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
size: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
21
|
+
default: number;
|
|
22
|
+
} & {
|
|
23
|
+
default: number;
|
|
24
|
+
};
|
|
25
|
+
}>>, {
|
|
26
|
+
size: number;
|
|
27
|
+
icon: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}, {}>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
interface InputProps {
|
|
2
|
+
size?: 'large' | 'default' | 'small';
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: any) => any>>;
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputProps>, {
|
|
7
|
+
size: string;
|
|
8
|
+
placeholder: string;
|
|
9
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputProps>, {
|
|
10
|
+
size: string;
|
|
11
|
+
placeholder: string;
|
|
12
|
+
}>>>, {
|
|
13
|
+
size: "large" | "default" | "small";
|
|
14
|
+
placeholder: string;
|
|
15
|
+
}, {}>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: import('vue').PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
type __VLS_WithDefaults<P, D> = {
|
|
28
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
|
+
default: D[K];
|
|
30
|
+
}> : P[K];
|
|
31
|
+
};
|
|
32
|
+
type __VLS_Prettify<T> = {
|
|
33
|
+
[K in keyof T]: T[K];
|
|
34
|
+
} & {};
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
interface ToDoCardProps {
|
|
2
|
+
countList?: any[];
|
|
3
|
+
type?: number;
|
|
4
|
+
typeFlowPath?: string;
|
|
5
|
+
copyStatus?: number;
|
|
6
|
+
treatDerailsComponent?: any;
|
|
7
|
+
newTreatDerailsComponent?: any;
|
|
8
|
+
formTemplateComponent?: any;
|
|
9
|
+
isDeleteFn?: (item: any, typeFlowPath: string) => boolean;
|
|
10
|
+
showFormTitleFn?: (typeFlowPath: string, approvalStatus: any, status: any) => boolean;
|
|
11
|
+
formatTimeFn?: (val: any) => string;
|
|
12
|
+
statusTypeMap?: Record<number, any>;
|
|
13
|
+
statusTypeNormalMap?: Record<number, any>;
|
|
14
|
+
contractTypeMap?: Record<number, any>;
|
|
15
|
+
contractTypeLabelMap?: Record<number, any>;
|
|
16
|
+
flowPathTypeList?: any[];
|
|
17
|
+
}
|
|
18
|
+
declare function __VLS_template(): {
|
|
19
|
+
"form-content"?(_: {
|
|
20
|
+
item: any;
|
|
21
|
+
}): any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ToDoCardProps>, {
|
|
24
|
+
countList: () => never[];
|
|
25
|
+
typeFlowPath: string;
|
|
26
|
+
statusTypeMap: () => {};
|
|
27
|
+
statusTypeNormalMap: () => {};
|
|
28
|
+
contractTypeMap: () => {};
|
|
29
|
+
contractTypeLabelMap: () => {};
|
|
30
|
+
flowPathTypeList: () => never[];
|
|
31
|
+
}>, {
|
|
32
|
+
details: (item: any, type?: number) => void;
|
|
33
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
34
|
+
details: (...args: any[]) => void;
|
|
35
|
+
getList: (...args: any[]) => void;
|
|
36
|
+
doScreen: (...args: any[]) => void;
|
|
37
|
+
copy: (...args: any[]) => void;
|
|
38
|
+
delete: (...args: any[]) => void;
|
|
39
|
+
expedite: (...args: any[]) => void;
|
|
40
|
+
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ToDoCardProps>, {
|
|
41
|
+
countList: () => never[];
|
|
42
|
+
typeFlowPath: string;
|
|
43
|
+
statusTypeMap: () => {};
|
|
44
|
+
statusTypeNormalMap: () => {};
|
|
45
|
+
contractTypeMap: () => {};
|
|
46
|
+
contractTypeLabelMap: () => {};
|
|
47
|
+
flowPathTypeList: () => never[];
|
|
48
|
+
}>>> & {
|
|
49
|
+
onCopy?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
onDetails?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
onGetList?: ((...args: any[]) => any) | undefined;
|
|
52
|
+
onDoScreen?: ((...args: any[]) => any) | undefined;
|
|
53
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
54
|
+
onExpedite?: ((...args: any[]) => any) | undefined;
|
|
55
|
+
}, {
|
|
56
|
+
countList: any[];
|
|
57
|
+
typeFlowPath: string;
|
|
58
|
+
statusTypeMap: Record<number, any>;
|
|
59
|
+
statusTypeNormalMap: Record<number, any>;
|
|
60
|
+
contractTypeMap: Record<number, any>;
|
|
61
|
+
contractTypeLabelMap: Record<number, any>;
|
|
62
|
+
flowPathTypeList: any[];
|
|
63
|
+
}, {}>;
|
|
64
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
65
|
+
export default _default;
|
|
66
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
67
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
68
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
69
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
70
|
+
} : {
|
|
71
|
+
type: import('vue').PropType<T[K]>;
|
|
72
|
+
required: true;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
type __VLS_WithDefaults<P, D> = {
|
|
76
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
77
|
+
default: D[K];
|
|
78
|
+
}> : P[K];
|
|
79
|
+
};
|
|
80
|
+
type __VLS_Prettify<T> = {
|
|
81
|
+
[K in keyof T]: T[K];
|
|
82
|
+
} & {};
|
|
83
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
84
|
+
new (): {
|
|
85
|
+
$slots: S;
|
|
86
|
+
};
|
|
87
|
+
};
|
package/dist/computent.js
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
1
|
+
import { defineComponent as P, openBlock as e, createElementBlock as c, normalizeClass as _s, createCommentVNode as r, renderSlot as Z, createElementVNode as o, resolveComponent as es, createVNode as Xs, mergeProps as Ys, createSlots as Zs, renderList as ds, withCtx as y, normalizeProps as ms, guardReactiveProps as so, computed as Y, unref as $, createBlock as p, normalizeStyle as oo, ref as cs, Fragment as os, toDisplayString as n, createTextVNode as k, withModifiers as U, resolveDynamicComponent as rs, pushScopeId as eo, popScopeId as no } from "vue";
|
|
2
|
+
import { ElIcon as to } from "element-plus";
|
|
3
|
+
import { createTypes as lo } from "vue-types";
|
|
4
|
+
import { Icon as ao } from "@iconify/vue";
|
|
5
|
+
const co = ["disabled"], ro = {
|
|
3
6
|
key: 0,
|
|
4
7
|
class: "comp-btn__spinner"
|
|
5
|
-
},
|
|
8
|
+
}, _o = {
|
|
6
9
|
key: 1,
|
|
7
10
|
class: "comp-btn__icon"
|
|
8
|
-
},
|
|
11
|
+
}, po = { class: "comp-btn__content" }, uo = /* @__PURE__ */ P({
|
|
9
12
|
__name: "Button",
|
|
10
13
|
props: {
|
|
11
14
|
variant: { default: "primary" },
|
|
@@ -14,69 +17,671 @@ const f = ["disabled"], p = {
|
|
|
14
17
|
disabled: { type: Boolean, default: !1 }
|
|
15
18
|
},
|
|
16
19
|
emits: ["click"],
|
|
17
|
-
setup(
|
|
18
|
-
const
|
|
19
|
-
!
|
|
20
|
+
setup(a, { emit: d }) {
|
|
21
|
+
const u = a, t = d, f = (_) => {
|
|
22
|
+
!u.disabled && !u.loading && t("click", _);
|
|
20
23
|
};
|
|
21
|
-
return (
|
|
22
|
-
class:
|
|
24
|
+
return (_, C) => (e(), c("button", {
|
|
25
|
+
class: _s([
|
|
23
26
|
"comp-btn",
|
|
24
|
-
`comp-btn--${
|
|
25
|
-
`comp-btn--${
|
|
27
|
+
`comp-btn--${_.variant}`,
|
|
28
|
+
`comp-btn--${_.size}`,
|
|
26
29
|
{
|
|
27
|
-
"comp-btn--loading":
|
|
28
|
-
"comp-btn--disabled":
|
|
30
|
+
"comp-btn--loading": _.loading,
|
|
31
|
+
"comp-btn--disabled": _.disabled || _.loading
|
|
29
32
|
}
|
|
30
33
|
]),
|
|
31
|
-
disabled:
|
|
32
|
-
onClick:
|
|
34
|
+
disabled: _.disabled || _.loading,
|
|
35
|
+
onClick: f
|
|
33
36
|
}, [
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
])) :
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
_.loading ? (e(), c("span", ro)) : r("", !0),
|
|
38
|
+
_.$slots.icon && !_.loading ? (e(), c("span", _o, [
|
|
39
|
+
Z(_.$slots, "icon", {}, void 0, !0)
|
|
40
|
+
])) : r("", !0),
|
|
41
|
+
o("span", po, [
|
|
42
|
+
Z(_.$slots, "default", {}, void 0, !0)
|
|
40
43
|
])
|
|
41
|
-
], 10,
|
|
44
|
+
], 10, co));
|
|
42
45
|
}
|
|
43
|
-
}),
|
|
44
|
-
const
|
|
45
|
-
for (const [
|
|
46
|
-
|
|
47
|
-
return
|
|
48
|
-
},
|
|
46
|
+
}), ts = (a, d) => {
|
|
47
|
+
const u = a.__vccOpts || a;
|
|
48
|
+
for (const [t, f] of d)
|
|
49
|
+
u[t] = f;
|
|
50
|
+
return u;
|
|
51
|
+
}, fo = /* @__PURE__ */ ts(uo, [["__scopeId", "data-v-7c40bef2"]]), yo = {
|
|
49
52
|
key: 0,
|
|
50
53
|
class: "comp-badge__dot"
|
|
51
|
-
},
|
|
54
|
+
}, io = { class: "comp-badge__content" }, ho = /* @__PURE__ */ P({
|
|
52
55
|
__name: "Badge",
|
|
53
56
|
props: {
|
|
54
57
|
type: { default: "default" },
|
|
55
58
|
variant: { default: "subtle" },
|
|
56
59
|
dot: { type: Boolean, default: !1 }
|
|
57
60
|
},
|
|
58
|
-
setup(
|
|
59
|
-
return (
|
|
60
|
-
class:
|
|
61
|
+
setup(a) {
|
|
62
|
+
return (d, u) => (e(), c("span", {
|
|
63
|
+
class: _s([
|
|
61
64
|
"comp-badge",
|
|
62
|
-
`comp-badge--${
|
|
63
|
-
`comp-badge--${
|
|
64
|
-
{ "comp-badge--has-dot":
|
|
65
|
+
`comp-badge--${d.type}`,
|
|
66
|
+
`comp-badge--${d.variant}`,
|
|
67
|
+
{ "comp-badge--has-dot": d.dot }
|
|
65
68
|
])
|
|
66
69
|
}, [
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
+
d.dot ? (e(), c("span", yo)) : r("", !0),
|
|
71
|
+
o("span", io, [
|
|
72
|
+
Z(d.$slots, "default", {}, void 0, !0)
|
|
70
73
|
])
|
|
71
74
|
], 2));
|
|
72
75
|
}
|
|
73
|
-
}),
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
76
|
+
}), wo = /* @__PURE__ */ ts(ho, [["__scopeId", "data-v-158f78af"]]), bo = { class: "comp-input-wrapper" }, vo = /* @__PURE__ */ P({
|
|
77
|
+
__name: "Input",
|
|
78
|
+
props: {
|
|
79
|
+
size: { default: "default" },
|
|
80
|
+
placeholder: { default: "Please enter..." }
|
|
81
|
+
},
|
|
82
|
+
setup(a) {
|
|
83
|
+
return (d, u) => {
|
|
84
|
+
const t = es("el-input");
|
|
85
|
+
return e(), c("div", bo, [
|
|
86
|
+
Xs(t, Ys(d.$attrs, {
|
|
87
|
+
size: d.size,
|
|
88
|
+
placeholder: d.placeholder,
|
|
89
|
+
class: "comp-el-input"
|
|
90
|
+
}), Zs({ _: 2 }, [
|
|
91
|
+
ds(d.$slots, (f, _) => ({
|
|
92
|
+
name: _,
|
|
93
|
+
fn: y((C) => [
|
|
94
|
+
Z(d.$slots, _, ms(so(C || {})), void 0, !0)
|
|
95
|
+
])
|
|
96
|
+
}))
|
|
97
|
+
]), 1040, ["size", "placeholder"])
|
|
98
|
+
]);
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
}), xo = /* @__PURE__ */ ts(vo, [["__scopeId", "data-v-e8d4db36"]]), ko = {
|
|
102
|
+
// 转移
|
|
103
|
+
"xc-revert": "grommet-icons:revert",
|
|
104
|
+
// 进度
|
|
105
|
+
"xc-progress": "nrk:progress",
|
|
106
|
+
// 上传
|
|
107
|
+
"xc-upload": "bytesize:upload",
|
|
108
|
+
// 下载
|
|
109
|
+
"xc-download": "bytesize:download",
|
|
110
|
+
// 授权
|
|
111
|
+
"xc-author": "hugeicons:authorized",
|
|
112
|
+
// 黑名单
|
|
113
|
+
"xc-lock": "hugeicons:folder-locked",
|
|
114
|
+
// 解除
|
|
115
|
+
"xc-unlock": "hugeicons:folder-unlocked",
|
|
116
|
+
// 设置
|
|
117
|
+
"xc-setting": "uil:setting",
|
|
118
|
+
// 链接
|
|
119
|
+
"xc-link": "material-symbols:link",
|
|
120
|
+
// 取消
|
|
121
|
+
"xc-cancel": "mdi:cancel-circle-outline",
|
|
122
|
+
// 上架
|
|
123
|
+
"xc-shelves": "material-symbols:shelves",
|
|
124
|
+
// 结算
|
|
125
|
+
"xc-settle": "f7:money-yen-circle",
|
|
126
|
+
// 开票
|
|
127
|
+
"xc-invoice": "hugeicons:money-add-02",
|
|
128
|
+
// 取消开票
|
|
129
|
+
"xc-cancel-invoice": "hugeicons:money-not-found-03",
|
|
130
|
+
// 启用
|
|
131
|
+
"xc-start-use": "formkit:start",
|
|
132
|
+
// 减量
|
|
133
|
+
"xc-reduce": "icon-park-outline:reduce",
|
|
134
|
+
// 通过
|
|
135
|
+
"xc-pass": "codicon:pass",
|
|
136
|
+
//失效
|
|
137
|
+
"xc-expire": "pajamas:expire",
|
|
138
|
+
//暂停
|
|
139
|
+
"xc-pause": "tabler:clock-pause",
|
|
140
|
+
//审核
|
|
141
|
+
"xc-review": "mdi:account-check-outline"
|
|
142
|
+
}, go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
143
|
+
__proto__: null,
|
|
144
|
+
iconMap: ko
|
|
145
|
+
}, Symbol.toStringTag, { value: "Module" })), Co = {
|
|
146
|
+
// 新增
|
|
147
|
+
"xc-add": "bi:plus-lg",
|
|
148
|
+
// 编辑
|
|
149
|
+
"xc-edit": "bi:pencil-square",
|
|
150
|
+
// 删除
|
|
151
|
+
"xc-delete": "bi:trash",
|
|
152
|
+
// 复制
|
|
153
|
+
"xc-copy": "bi:copy",
|
|
154
|
+
// 详情
|
|
155
|
+
"xc-file": "bi:file-earmark-text",
|
|
156
|
+
// 搜索
|
|
157
|
+
"xc-search": "bi:search",
|
|
158
|
+
// 重置
|
|
159
|
+
"xc-reset": "bi:arrow-repeat",
|
|
160
|
+
// 更多
|
|
161
|
+
"xc-more": "icon-park-outline:more-two",
|
|
162
|
+
// 查看
|
|
163
|
+
"xc-view": "hugeicons:property-view",
|
|
164
|
+
// 导出
|
|
165
|
+
"xc-export": "bx:export",
|
|
166
|
+
// 刷新
|
|
167
|
+
"xc-refresh": "bi:arrow-clockwise",
|
|
168
|
+
// 问号
|
|
169
|
+
"xc-question": "mage:question-mark-circle-fill"
|
|
170
|
+
};
|
|
171
|
+
function Fo() {
|
|
172
|
+
const a = /* @__PURE__ */ Object.assign({ "./modules/publicWelfare.ts": go }), d = {};
|
|
173
|
+
for (const u of Object.values(a))
|
|
174
|
+
Object.assign(d, u.iconMap || {});
|
|
175
|
+
return Object.assign(d, Co), d;
|
|
176
|
+
}
|
|
177
|
+
const ns = lo({
|
|
178
|
+
func: void 0,
|
|
179
|
+
bool: void 0,
|
|
180
|
+
string: void 0,
|
|
181
|
+
number: void 0,
|
|
182
|
+
object: void 0,
|
|
183
|
+
integer: void 0
|
|
184
|
+
});
|
|
185
|
+
ns.extend([
|
|
186
|
+
{
|
|
187
|
+
name: "style",
|
|
188
|
+
getter: !0,
|
|
189
|
+
type: [String, Object],
|
|
190
|
+
default: void 0
|
|
191
|
+
}
|
|
192
|
+
]);
|
|
193
|
+
const $o = "v", To = "el", Po = {
|
|
194
|
+
namespace: $o,
|
|
195
|
+
elNamespace: To
|
|
196
|
+
}, zo = () => {
|
|
197
|
+
const a = Po;
|
|
198
|
+
return {
|
|
199
|
+
variables: a,
|
|
200
|
+
getPrefixCls: (u) => `${a.namespace}-${u}`
|
|
201
|
+
};
|
|
202
|
+
}, Io = {
|
|
203
|
+
key: 0,
|
|
204
|
+
"aria-hidden": "true"
|
|
205
|
+
}, So = ["xlink:href"], Do = /* @__PURE__ */ P({
|
|
206
|
+
__name: "Icon",
|
|
207
|
+
props: {
|
|
208
|
+
// icon name
|
|
209
|
+
icon: ns.string,
|
|
210
|
+
// icon color
|
|
211
|
+
color: ns.string,
|
|
212
|
+
// icon size
|
|
213
|
+
size: ns.number.def(16)
|
|
214
|
+
},
|
|
215
|
+
setup(a) {
|
|
216
|
+
const { getPrefixCls: d } = zo(), u = d("icon"), t = a, f = Y(() => t.icon.startsWith("svg-icon:")), _ = Y(() => $(f) ? `#icon-${t.icon.split("svg-icon:")[1]}` : t.icon), C = Y(() => {
|
|
217
|
+
const { color: T, size: z } = t;
|
|
218
|
+
return {
|
|
219
|
+
fontSize: `${z}px`,
|
|
220
|
+
color: T
|
|
221
|
+
};
|
|
222
|
+
});
|
|
223
|
+
return (T, z) => (e(), p($(to), {
|
|
224
|
+
class: _s($(u)),
|
|
225
|
+
size: a.size,
|
|
226
|
+
color: a.color
|
|
227
|
+
}, {
|
|
228
|
+
default: y(() => [
|
|
229
|
+
f.value ? (e(), c("svg", Io, [
|
|
230
|
+
o("use", { "xlink:href": _.value }, null, 8, So)
|
|
231
|
+
])) : (e(), p($(ao), {
|
|
232
|
+
key: 1,
|
|
233
|
+
icon: _.value,
|
|
234
|
+
style: oo(C.value)
|
|
235
|
+
}, null, 8, ["icon", "style"]))
|
|
236
|
+
]),
|
|
237
|
+
_: 1
|
|
238
|
+
}, 8, ["class", "size", "color"]));
|
|
239
|
+
}
|
|
240
|
+
}), X = P({
|
|
241
|
+
name: "IconMap",
|
|
242
|
+
inheritAttrs: !1,
|
|
243
|
+
props: {
|
|
244
|
+
icon: {
|
|
245
|
+
type: String,
|
|
246
|
+
default: ""
|
|
247
|
+
},
|
|
248
|
+
size: {
|
|
249
|
+
type: Number,
|
|
250
|
+
default: null
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
setup(a, { attrs: d }) {
|
|
254
|
+
const u = Fo(), t = Y(() => u[a.icon] || a.icon), f = Y(
|
|
255
|
+
() => a.size ? a.size : u[a.icon] ? 12 : 16
|
|
256
|
+
);
|
|
257
|
+
return () => /* @__PURE__ */ React.createElement(Do, { icon: t.value, size: f.value, ...d });
|
|
258
|
+
}
|
|
259
|
+
}), i = (a) => (eo("data-v-85a8dd58"), a = a(), no(), a), Mo = { class: "flex-between-center-display" }, Lo = { class: "mr-2 text-16px font-500" }, Bo = { class: "flex items-center" }, No = {
|
|
260
|
+
key: 1,
|
|
261
|
+
class: "text-14px text-[#acb0b7] mr-2"
|
|
262
|
+
}, jo = {
|
|
263
|
+
key: 2,
|
|
264
|
+
class: "text-14px text-[#acb0b7] mr-2"
|
|
265
|
+
}, Oo = { class: "flex items-center" }, Ro = { class: "w-120px mr-4" }, Vo = { class: "text-14px font-400" }, Eo = { class: "mr-2 container_old flex-1 min-w-0" }, qo = { class: "text-12px" }, Go = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("流程ID:"), -1)), Wo = { style: { "font-size": "13px" } }, Ao = { class: "text-12px" }, Ho = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("流程名称:"), -1)), Jo = { style: { "line-height": "16px" } }, Ko = { class: "text-12px" }, Qo = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("流程类型:"), -1)), Uo = { key: 0 }, Xo = { key: 1 }, Yo = {
|
|
266
|
+
key: 0,
|
|
267
|
+
class: "text-12px"
|
|
268
|
+
}, Zo = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("合同编号:"), -1)), mo = {
|
|
269
|
+
key: 1,
|
|
270
|
+
class: "text-12px"
|
|
271
|
+
}, se = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("企业名称:"), -1)), oe = { style: { "line-height": "14px" } }, ee = {
|
|
272
|
+
key: 0,
|
|
273
|
+
class: "text-12px"
|
|
274
|
+
}, ne = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("签约类型:"), -1)), te = { style: { "font-size": "13px" } }, le = {
|
|
275
|
+
key: 1,
|
|
276
|
+
class: "text-12px"
|
|
277
|
+
}, ae = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("签约类型:"), -1)), ce = { style: { "font-size": "13px" } }, re = {
|
|
278
|
+
key: 2,
|
|
279
|
+
class: "text-12px"
|
|
280
|
+
}, de = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("签约类型:"), -1)), _e = { style: { "font-size": "13px" } }, pe = {
|
|
281
|
+
key: 3,
|
|
282
|
+
class: "text-12px"
|
|
283
|
+
}, ue = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("签约类型:"), -1)), fe = { style: { "font-size": "13px" } }, ye = {
|
|
284
|
+
key: 4,
|
|
285
|
+
class: "text-12px"
|
|
286
|
+
}, ie = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("合同类型:"), -1)), he = { style: { "font-size": "13px" } }, we = {
|
|
287
|
+
key: 3,
|
|
288
|
+
class: "text-12px"
|
|
289
|
+
}, be = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("标准:"), -1)), ve = { style: { "line-height": "18px" } }, xe = {
|
|
290
|
+
key: 4,
|
|
291
|
+
class: "text-12px"
|
|
292
|
+
}, ke = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("当前流转时间:"), -1)), ge = {
|
|
293
|
+
key: 5,
|
|
294
|
+
class: "text-12px"
|
|
295
|
+
}, Ce = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("当前审批人:"), -1)), Fe = {
|
|
296
|
+
key: 6,
|
|
297
|
+
class: "text-12px"
|
|
298
|
+
}, $e = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("合同类型:"), -1)), Te = {
|
|
299
|
+
key: 7,
|
|
300
|
+
class: "text-12px"
|
|
301
|
+
}, Pe = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("签约方式:"), -1)), ze = {
|
|
302
|
+
key: 8,
|
|
303
|
+
class: "text-12px"
|
|
304
|
+
}, Ie = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("那方先签约:"), -1)), Se = { class: "flex-between-center-display" }, De = { class: "mr-2 text-16px font-500" }, Me = { class: "flex items-center" }, Le = {
|
|
305
|
+
key: 0,
|
|
306
|
+
class: "text-14px text-[#acb0b7] mr-2"
|
|
307
|
+
}, Be = {
|
|
308
|
+
key: 1,
|
|
309
|
+
class: "text-14px text-[#acb0b7] mr-2"
|
|
310
|
+
}, Ne = { class: "flex items-center" }, je = { class: "w-120px mr-4 flex items-center" }, Oe = { class: "text-14px font-400" }, Re = { class: "mr-2 container_old flex-1 min-w-0" }, Ve = /* @__PURE__ */ P({
|
|
311
|
+
__name: "ToDoCard",
|
|
312
|
+
props: {
|
|
313
|
+
countList: { default: () => [] },
|
|
314
|
+
type: {},
|
|
315
|
+
typeFlowPath: { default: "" },
|
|
316
|
+
copyStatus: {},
|
|
317
|
+
treatDerailsComponent: {},
|
|
318
|
+
newTreatDerailsComponent: {},
|
|
319
|
+
formTemplateComponent: {},
|
|
320
|
+
isDeleteFn: {},
|
|
321
|
+
showFormTitleFn: {},
|
|
322
|
+
formatTimeFn: {},
|
|
323
|
+
statusTypeMap: { default: () => ({}) },
|
|
324
|
+
statusTypeNormalMap: { default: () => ({}) },
|
|
325
|
+
contractTypeMap: { default: () => ({}) },
|
|
326
|
+
contractTypeLabelMap: { default: () => ({}) },
|
|
327
|
+
flowPathTypeList: { default: () => [] }
|
|
328
|
+
},
|
|
329
|
+
emits: [
|
|
330
|
+
"getList",
|
|
331
|
+
"doScreen",
|
|
332
|
+
"copy",
|
|
333
|
+
"delete",
|
|
334
|
+
"expedite",
|
|
335
|
+
"details"
|
|
336
|
+
],
|
|
337
|
+
setup(a, { expose: d, emit: u }) {
|
|
338
|
+
const t = a, f = u, _ = cs(null), C = cs(null), T = cs(), z = (l, g) => t.isDeleteFn ? t.isDeleteFn(l, g) : !1, ps = (l, g, b) => t.showFormTitleFn ? t.showFormTitleFn(l, g, b) : !1, I = (l) => t.formatTimeFn ? t.formatTimeFn(l) : String(l || ""), m = (l) => t.statusTypeMap[l] || { type: "", status: "" }, ss = (l) => t.statusTypeNormalMap[l] || { type: "", status: "" }, Hs = (l) => t.contractTypeLabelMap[l] || "-", Js = (l) => t.contractTypeMap[l] || "-", Ks = (l) => {
|
|
339
|
+
const g = t.flowPathTypeList.find((b) => b.value === l);
|
|
340
|
+
return g ? g.label : "-";
|
|
341
|
+
}, ls = (l, g) => {
|
|
342
|
+
T.value = l, f("details", { item: l, type: g }), l.is_old_flow ? _.value && (_.value.showFlag = !0) : C.value && (C.value.showFlag = !0);
|
|
343
|
+
}, us = () => {
|
|
344
|
+
f("getList");
|
|
345
|
+
}, fs = () => {
|
|
346
|
+
f("doScreen", 3, T.value.flow_id);
|
|
347
|
+
}, Qs = (l) => {
|
|
348
|
+
f("copy", l);
|
|
349
|
+
}, ys = (l) => {
|
|
350
|
+
f("delete", l);
|
|
351
|
+
}, is = (l) => {
|
|
352
|
+
f("expedite", l);
|
|
353
|
+
};
|
|
354
|
+
return d({
|
|
355
|
+
details: ls
|
|
356
|
+
}), (l, g) => {
|
|
357
|
+
const b = es("el-tag"), as = es("el-button"), hs = es("el-card");
|
|
358
|
+
return e(), c("div", null, [
|
|
359
|
+
(e(!0), c(os, null, ds(t.countList, (s, Us) => (e(), c(os, { key: Us }, [
|
|
360
|
+
s != null && s.is_old_flow ? (e(), p(hs, {
|
|
361
|
+
key: 0,
|
|
362
|
+
shadow: "hover",
|
|
363
|
+
class: "mb-1",
|
|
364
|
+
onClick: (w) => ls(s, t.type)
|
|
365
|
+
}, {
|
|
366
|
+
header: y(() => {
|
|
367
|
+
var w, x, h, S, D, M, L, B, N, j, O, R, V, E, q, G, W, A, H, J;
|
|
368
|
+
return [
|
|
369
|
+
o("div", Mo, [
|
|
370
|
+
o("div", null, [
|
|
371
|
+
o("span", Lo, n((w = s.old_flow) == null ? void 0 : w.flow_node_name), 1),
|
|
372
|
+
(x = s.old_flow) != null && x.is_sign ? (e(), p(b, {
|
|
373
|
+
key: 0,
|
|
374
|
+
type: "success",
|
|
375
|
+
effect: "plain"
|
|
376
|
+
}, {
|
|
377
|
+
default: y(() => [
|
|
378
|
+
k(" 已发起签约 ")
|
|
379
|
+
]),
|
|
380
|
+
_: 1
|
|
381
|
+
})) : r("", !0),
|
|
382
|
+
t.typeFlowPath === "抄送我的" && (s == null ? void 0 : s.copy_status) === 1 ? (e(), p($(X), {
|
|
383
|
+
key: 1,
|
|
384
|
+
class: "read",
|
|
385
|
+
icon: "icon-park-solid:round",
|
|
386
|
+
size: 5,
|
|
387
|
+
style: { color: "red" }
|
|
388
|
+
})) : r("", !0),
|
|
389
|
+
t.typeFlowPath === "我发起的" && ((h = s == null ? void 0 : s.old_flow) == null ? void 0 : h.status) === 2 ? (e(), p(as, {
|
|
390
|
+
key: 2,
|
|
391
|
+
link: "",
|
|
392
|
+
type: "primary",
|
|
393
|
+
onClick: U((v) => is(s), ["stop"])
|
|
394
|
+
}, {
|
|
395
|
+
default: y(() => [
|
|
396
|
+
k(" 催办 ")
|
|
397
|
+
]),
|
|
398
|
+
_: 2
|
|
399
|
+
}, 1032, ["onClick"])) : r("", !0),
|
|
400
|
+
t.typeFlowPath === "待我审批" && (s != null && s.have_remind) ? (e(), p(b, {
|
|
401
|
+
key: 3,
|
|
402
|
+
effect: "plain",
|
|
403
|
+
type: "danger"
|
|
404
|
+
}, {
|
|
405
|
+
default: y(() => [
|
|
406
|
+
k(" 发起人已催办 ")
|
|
407
|
+
]),
|
|
408
|
+
_: 1
|
|
409
|
+
})) : r("", !0)
|
|
410
|
+
]),
|
|
411
|
+
o("div", Bo, [
|
|
412
|
+
(((S = s == null ? void 0 : s.old_flow) == null ? void 0 : S.business_type) === 1 && ((D = s == null ? void 0 : s.old_flow) == null ? void 0 : D.sign_type) !== 1 || [3, 8].includes((M = s == null ? void 0 : s.old_flow) == null ? void 0 : M.business_type) || ((L = s == null ? void 0 : s.old_flow) == null ? void 0 : L.business_type) === 2 && ((B = s == null ? void 0 : s.old_flow) == null ? void 0 : B.status) === 5 || [16, 10].includes((N = s == null ? void 0 : s.old_flow) == null ? void 0 : N.business_type) && [4, 5].includes((j = s == null ? void 0 : s.old_flow) == null ? void 0 : j.status)) && t.typeFlowPath === "我发起的" ? (e(), p(as, {
|
|
413
|
+
key: 0,
|
|
414
|
+
link: "",
|
|
415
|
+
type: "primary",
|
|
416
|
+
class: "mr-2",
|
|
417
|
+
onClick: U((v) => Qs(s == null ? void 0 : s.old_flow), ["stop"])
|
|
418
|
+
}, {
|
|
419
|
+
default: y(() => [
|
|
420
|
+
k(" 一键复制 ")
|
|
421
|
+
]),
|
|
422
|
+
_: 2
|
|
423
|
+
}, 1032, ["onClick"])) : r("", !0),
|
|
424
|
+
t.typeFlowPath === "抄送我的" ? (e(), c("div", No, n(I((V = (R = (O = s == null ? void 0 : s.old_flow) == null ? void 0 : O.copy_list) == null ? void 0 : R[0]) == null ? void 0 : V.copy_time)), 1)) : (e(), c("div", jo, n(I((E = s == null ? void 0 : s.old_flow) == null ? void 0 : E.submit_time)), 1)),
|
|
425
|
+
t.typeFlowPath === "待我审批" ? (e(), p(b, {
|
|
426
|
+
key: 3,
|
|
427
|
+
type: (A = m(
|
|
428
|
+
(W = (G = (q = s == null ? void 0 : s.old_flow) == null ? void 0 : q.node_list) == null ? void 0 : G[0]) == null ? void 0 : W.approval_status
|
|
429
|
+
)) == null ? void 0 : A.type
|
|
430
|
+
}, {
|
|
431
|
+
default: y(() => {
|
|
432
|
+
var v, F, K, Q;
|
|
433
|
+
return [
|
|
434
|
+
k(n((Q = m(
|
|
435
|
+
(K = (F = (v = s == null ? void 0 : s.old_flow) == null ? void 0 : v.node_list) == null ? void 0 : F[0]) == null ? void 0 : K.approval_status
|
|
436
|
+
)) == null ? void 0 : Q.status), 1)
|
|
437
|
+
];
|
|
438
|
+
}),
|
|
439
|
+
_: 2
|
|
440
|
+
}, 1032, ["type"])) : (e(), p(b, {
|
|
441
|
+
key: 4,
|
|
442
|
+
type: (J = ss((H = s == null ? void 0 : s.old_flow) == null ? void 0 : H.status)) == null ? void 0 : J.type
|
|
443
|
+
}, {
|
|
444
|
+
default: y(() => {
|
|
445
|
+
var v, F;
|
|
446
|
+
return [
|
|
447
|
+
k(n((F = ss((v = s == null ? void 0 : s.old_flow) == null ? void 0 : v.status)) == null ? void 0 : F.status), 1)
|
|
448
|
+
];
|
|
449
|
+
}),
|
|
450
|
+
_: 2
|
|
451
|
+
}, 1032, ["type"])),
|
|
452
|
+
z(s, t.typeFlowPath) ? (e(), p($(X), {
|
|
453
|
+
key: 5,
|
|
454
|
+
class: "ml-2 cursor-pointer",
|
|
455
|
+
icon: "material-symbols:delete-outline",
|
|
456
|
+
size: 24,
|
|
457
|
+
style: { color: "red" },
|
|
458
|
+
onClick: U((v) => ys(s == null ? void 0 : s.old_flow), ["stop"])
|
|
459
|
+
}, null, 8, ["onClick"])) : r("", !0)
|
|
460
|
+
])
|
|
461
|
+
])
|
|
462
|
+
];
|
|
463
|
+
}),
|
|
464
|
+
default: y(() => {
|
|
465
|
+
var w, x, h, S, D, M, L, B, N, j, O, R, V, E, q, G, W, A, H, J, v, F, K, Q, ws, bs, vs, xs, ks, gs, Cs, Fs, $s, Ts, Ps, zs, Is, Ss, Ds, Ms, Ls, Bs, Ns, js, Os, Rs, Vs, Es, qs, Gs, Ws, As;
|
|
466
|
+
return [
|
|
467
|
+
o("div", Oo, [
|
|
468
|
+
o("div", Ro, [
|
|
469
|
+
o("div", Vo, n("发起人:") + n((w = s == null ? void 0 : s.old_flow) == null ? void 0 : w.create_user_name), 1)
|
|
470
|
+
]),
|
|
471
|
+
o("div", Eo, [
|
|
472
|
+
o("div", qo, [
|
|
473
|
+
Go,
|
|
474
|
+
o("span", Wo, n((s == null ? void 0 : s.flow_id) || ""), 1)
|
|
475
|
+
]),
|
|
476
|
+
o("div", Ao, [
|
|
477
|
+
Ho,
|
|
478
|
+
o("span", Jo, n((x = s == null ? void 0 : s.old_flow) == null ? void 0 : x.flow_name), 1)
|
|
479
|
+
]),
|
|
480
|
+
o("div", Ko, [
|
|
481
|
+
Qo,
|
|
482
|
+
((h = s == null ? void 0 : s.old_flow) == null ? void 0 : h.business_type) === 9 ? (e(), c("span", Uo, n((s == null ? void 0 : s.old_flow.sign_type) === 1 ? "新流程" : "补充店铺"), 1)) : (e(), c("span", Xo, n(s.template_type), 1))
|
|
483
|
+
]),
|
|
484
|
+
((S = s == null ? void 0 : s.old_flow) == null ? void 0 : S.business_type) === 1 || ((D = s == null ? void 0 : s.old_flow) == null ? void 0 : D.business_type) === 8 ? (e(), c("div", Yo, [
|
|
485
|
+
Zo,
|
|
486
|
+
o("span", null, n(s == null ? void 0 : s.old_flow.business_ctx.esign_contract_no), 1)
|
|
487
|
+
])) : r("", !0),
|
|
488
|
+
[1, 16, 19].includes((M = s == null ? void 0 : s.old_flow) == null ? void 0 : M.business_type) ? (e(), c("div", mo, [
|
|
489
|
+
se,
|
|
490
|
+
o("span", oe, n((s == null ? void 0 : s.old_flow.business_ctx.company_name) || ((B = (L = s == null ? void 0 : s.old_flow.business_ctx.no_business_contract_info) == null ? void 0 : L.company_info) == null ? void 0 : B.fp_company_name) || ((j = (N = s == null ? void 0 : s.old_flow.business_ctx.no_business_contract_info) == null ? void 0 : N.personal_info) == null ? void 0 : j.name) || "-"), 1)
|
|
491
|
+
])) : r("", !0),
|
|
492
|
+
((O = s == null ? void 0 : s.old_flow) == null ? void 0 : O.business_type) !== 9 ? (e(), c(os, { key: 2 }, [
|
|
493
|
+
((R = s == null ? void 0 : s.old_flow) == null ? void 0 : R.business_type) === 1 ? (e(), c("div", ee, [
|
|
494
|
+
ne,
|
|
495
|
+
o("span", te, n(((V = s == null ? void 0 : s.old_flow) == null ? void 0 : V.sign_type) === 1 ? "首次签约" : "补充店铺"), 1)
|
|
496
|
+
])) : r("", !0),
|
|
497
|
+
((E = s == null ? void 0 : s.old_flow) == null ? void 0 : E.business_type) === 2 ? (e(), c("div", le, [
|
|
498
|
+
ae,
|
|
499
|
+
o("span", ce, n(Hs(
|
|
500
|
+
s == null ? void 0 : s.old_flow.business_ctx.contract_template_id
|
|
501
|
+
)), 1)
|
|
502
|
+
])) : r("", !0),
|
|
503
|
+
[3, 4, 5, 6, 7, 8].includes((q = s == null ? void 0 : s.old_flow) == null ? void 0 : q.business_type) ? (e(), c("div", re, [
|
|
504
|
+
de,
|
|
505
|
+
o("span", _e, n(Ks((G = s == null ? void 0 : s.old_flow) == null ? void 0 : G.business_type)), 1)
|
|
506
|
+
])) : r("", !0),
|
|
507
|
+
[16].includes((W = s == null ? void 0 : s.old_flow) == null ? void 0 : W.business_type) ? (e(), c("div", pe, [
|
|
508
|
+
ue,
|
|
509
|
+
o("span", fe, n(["", "主合同", "补充协议", "解除协议"][(A = s == null ? void 0 : s.old_flow) == null ? void 0 : A.sign_type] || "-"), 1)
|
|
510
|
+
])) : r("", !0),
|
|
511
|
+
((H = s == null ? void 0 : s.old_flow) == null ? void 0 : H.business_type) === 16 && ((J = s == null ? void 0 : s.old_flow) == null ? void 0 : J.sign_type) === 1 ? (e(), c("div", ye, [
|
|
512
|
+
ie,
|
|
513
|
+
o("span", he, n(Js(
|
|
514
|
+
(K = (F = (v = s == null ? void 0 : s.old_flow) == null ? void 0 : v.business_ctx) == null ? void 0 : F.no_business_contract_info) == null ? void 0 : K.contract_type
|
|
515
|
+
)), 1)
|
|
516
|
+
])) : r("", !0)
|
|
517
|
+
], 64)) : r("", !0),
|
|
518
|
+
((Q = s == null ? void 0 : s.old_flow) == null ? void 0 : Q.business_type) === 9 ? (e(), c("div", we, [
|
|
519
|
+
be,
|
|
520
|
+
o("span", ve, n(((ws = s == null ? void 0 : s.old_flow.business_ctx.reduce_store_srv_fee_form) == null ? void 0 : ws.reduce_store_srv_fee_standard_type) === 1 ? "当日在线3店及以上,且合计活动名额100单及以上份额" : "名下同品牌店铺10家及以上,月累计(近30天)销单1000单"), 1)
|
|
521
|
+
])) : r("", !0),
|
|
522
|
+
ps(
|
|
523
|
+
t.typeFlowPath,
|
|
524
|
+
(xs = (vs = (bs = s == null ? void 0 : s.old_flow) == null ? void 0 : bs.node_list) == null ? void 0 : vs[0]) == null ? void 0 : xs.approval_status,
|
|
525
|
+
(ks = s == null ? void 0 : s.old_flow) == null ? void 0 : ks.status
|
|
526
|
+
) ? (e(), c("div", xe, [
|
|
527
|
+
ke,
|
|
528
|
+
o("span", null, n(I((Fs = (Cs = (gs = s == null ? void 0 : s.old_flow) == null ? void 0 : gs.node_list) == null ? void 0 : Cs[0]) == null ? void 0 : Fs.flow_time)), 1)
|
|
529
|
+
])) : r("", !0),
|
|
530
|
+
ps(
|
|
531
|
+
t.typeFlowPath,
|
|
532
|
+
(Ps = (Ts = ($s = s == null ? void 0 : s.old_flow) == null ? void 0 : $s.node_list) == null ? void 0 : Ts[0]) == null ? void 0 : Ps.approval_status,
|
|
533
|
+
(zs = s == null ? void 0 : s.old_flow) == null ? void 0 : zs.status
|
|
534
|
+
) ? (e(), c("div", ge, [
|
|
535
|
+
Ce,
|
|
536
|
+
o("span", null, n((Ds = (Ss = (Is = s == null ? void 0 : s.old_flow) == null ? void 0 : Is.node_list) == null ? void 0 : Ss[0]) == null ? void 0 : Ds.approval_user_name), 1)
|
|
537
|
+
])) : r("", !0),
|
|
538
|
+
((Ms = s == null ? void 0 : s.old_flow) == null ? void 0 : Ms.business_type) === 19 ? (e(), c("div", Fe, [
|
|
539
|
+
$e,
|
|
540
|
+
o("span", null, n(((Ls = s == null ? void 0 : s.old_flow) == null ? void 0 : Ls.sign_type) === 1 ? "达人合作主合同" : "达人合作补充协议"), 1)
|
|
541
|
+
])) : r("", !0),
|
|
542
|
+
((Bs = s == null ? void 0 : s.old_flow) == null ? void 0 : Bs.business_type) === 16 ? (e(), c("div", Te, [
|
|
543
|
+
Pe,
|
|
544
|
+
o("span", null, n(((Os = (js = (Ns = s == null ? void 0 : s.old_flow) == null ? void 0 : Ns.business_ctx) == null ? void 0 : js.no_business_contract_info) == null ? void 0 : Os.e_sign_type) === 1 ? "线下纸质签" : "线上电子签"), 1)
|
|
545
|
+
])) : r("", !0),
|
|
546
|
+
((Rs = s == null ? void 0 : s.old_flow) == null ? void 0 : Rs.business_type) === 16 && ((qs = (Es = (Vs = s == null ? void 0 : s.old_flow) == null ? void 0 : Vs.business_ctx) == null ? void 0 : Es.no_business_contract_info) == null ? void 0 : qs.e_sign_type) === 1 ? (e(), c("div", ze, [
|
|
547
|
+
Ie,
|
|
548
|
+
o("span", null, n(((As = (Ws = (Gs = s == null ? void 0 : s.old_flow) == null ? void 0 : Gs.business_ctx) == null ? void 0 : Ws.no_business_contract_info) == null ? void 0 : As.first_signer) === 1 ? "我方" : "对方"), 1)
|
|
549
|
+
])) : r("", !0)
|
|
550
|
+
])
|
|
551
|
+
])
|
|
552
|
+
];
|
|
553
|
+
}),
|
|
554
|
+
_: 2
|
|
555
|
+
}, 1032, ["onClick"])) : (e(), p(hs, {
|
|
556
|
+
key: 1,
|
|
557
|
+
shadow: "hover",
|
|
558
|
+
class: "mb-1",
|
|
559
|
+
onClick: (w) => ls(s, t.type)
|
|
560
|
+
}, {
|
|
561
|
+
header: y(() => {
|
|
562
|
+
var w, x;
|
|
563
|
+
return [
|
|
564
|
+
o("div", Se, [
|
|
565
|
+
o("div", null, [
|
|
566
|
+
o("span", De, n(s.node_title), 1),
|
|
567
|
+
t.typeFlowPath === "抄送我的" && s.copy_status === 1 ? (e(), p($(X), {
|
|
568
|
+
key: 0,
|
|
569
|
+
class: "read",
|
|
570
|
+
icon: "icon-park-solid:round",
|
|
571
|
+
size: 5,
|
|
572
|
+
style: { color: "red" }
|
|
573
|
+
})) : r("", !0),
|
|
574
|
+
t.typeFlowPath === "我发起的" && (s == null ? void 0 : s.flow_status) === 2 ? (e(), p(as, {
|
|
575
|
+
key: 1,
|
|
576
|
+
link: "",
|
|
577
|
+
type: "primary",
|
|
578
|
+
onClick: U((h) => is(s), ["stop"])
|
|
579
|
+
}, {
|
|
580
|
+
default: y(() => [
|
|
581
|
+
k(" 催办 ")
|
|
582
|
+
]),
|
|
583
|
+
_: 2
|
|
584
|
+
}, 1032, ["onClick"])) : r("", !0),
|
|
585
|
+
t.typeFlowPath === "待我审批" && (s != null && s.have_remind) ? (e(), p(b, {
|
|
586
|
+
key: 2,
|
|
587
|
+
effect: "plain",
|
|
588
|
+
type: "danger"
|
|
589
|
+
}, {
|
|
590
|
+
default: y(() => [
|
|
591
|
+
k(" 发起人已催办 ")
|
|
592
|
+
]),
|
|
593
|
+
_: 1
|
|
594
|
+
})) : r("", !0)
|
|
595
|
+
]),
|
|
596
|
+
o("div", Me, [
|
|
597
|
+
t.typeFlowPath === "抄送我的" ? (e(), c("div", Le, n(I(s.final_pass_time)), 1)) : (e(), c("div", Be, n(I(s.flow_time)), 1)),
|
|
598
|
+
t.typeFlowPath === "待我审批" ? (e(), p(b, {
|
|
599
|
+
key: 2,
|
|
600
|
+
type: (w = m(s == null ? void 0 : s.node_approval_status)) == null ? void 0 : w.type
|
|
601
|
+
}, {
|
|
602
|
+
default: y(() => {
|
|
603
|
+
var h;
|
|
604
|
+
return [
|
|
605
|
+
k(n((h = m(s == null ? void 0 : s.node_approval_status)) == null ? void 0 : h.status), 1)
|
|
606
|
+
];
|
|
607
|
+
}),
|
|
608
|
+
_: 2
|
|
609
|
+
}, 1032, ["type"])) : (e(), p(b, {
|
|
610
|
+
key: 3,
|
|
611
|
+
type: (x = ss(s == null ? void 0 : s.flow_status)) == null ? void 0 : x.type
|
|
612
|
+
}, {
|
|
613
|
+
default: y(() => {
|
|
614
|
+
var h;
|
|
615
|
+
return [
|
|
616
|
+
k(n((h = ss(s == null ? void 0 : s.flow_status)) == null ? void 0 : h.status), 1)
|
|
617
|
+
];
|
|
618
|
+
}),
|
|
619
|
+
_: 2
|
|
620
|
+
}, 1032, ["type"])),
|
|
621
|
+
z(s, t.typeFlowPath) ? (e(), p($(X), {
|
|
622
|
+
key: 4,
|
|
623
|
+
class: "ml-2 cursor-pointer",
|
|
624
|
+
icon: "material-symbols:delete-outline",
|
|
625
|
+
size: 24,
|
|
626
|
+
style: { color: "red" },
|
|
627
|
+
onClick: U((h) => ys(s), ["stop"])
|
|
628
|
+
}, null, 8, ["onClick"])) : r("", !0)
|
|
629
|
+
])
|
|
630
|
+
])
|
|
631
|
+
];
|
|
632
|
+
}),
|
|
633
|
+
default: y(() => [
|
|
634
|
+
o("div", Ne, [
|
|
635
|
+
o("div", je, [
|
|
636
|
+
o("div", Oe, n("发起人:") + n(s == null ? void 0 : s.create_user_name), 1)
|
|
637
|
+
]),
|
|
638
|
+
o("div", Re, [
|
|
639
|
+
Z(l.$slots, "form-content", { item: s }, () => [
|
|
640
|
+
l.formTemplateComponent ? (e(!0), c(os, { key: 0 }, ds(s.form_value, (w, x) => (e(), p(rs(l.formTemplateComponent), {
|
|
641
|
+
key: x,
|
|
642
|
+
item_: w,
|
|
643
|
+
item: s
|
|
644
|
+
}, null, 8, ["item_", "item"]))), 128)) : r("", !0)
|
|
645
|
+
], !0)
|
|
646
|
+
])
|
|
647
|
+
])
|
|
648
|
+
]),
|
|
649
|
+
_: 2
|
|
650
|
+
}, 1032, ["onClick"]))
|
|
651
|
+
], 64))), 128)),
|
|
652
|
+
l.treatDerailsComponent ? (e(), p(rs(l.treatDerailsComponent), {
|
|
653
|
+
key: 0,
|
|
654
|
+
ref_key: "treatDerailsRef",
|
|
655
|
+
ref: _,
|
|
656
|
+
rowItem: T.value,
|
|
657
|
+
typeFlowPath: t.typeFlowPath,
|
|
658
|
+
copyStatus: t.copyStatus,
|
|
659
|
+
onGetList: us,
|
|
660
|
+
onReada: fs
|
|
661
|
+
}, null, 40, ["rowItem", "typeFlowPath", "copyStatus"])) : r("", !0),
|
|
662
|
+
l.newTreatDerailsComponent ? (e(), p(rs(l.newTreatDerailsComponent), {
|
|
663
|
+
key: 1,
|
|
664
|
+
ref_key: "newTreatDerailsRef",
|
|
665
|
+
ref: C,
|
|
666
|
+
rowItem: T.value,
|
|
667
|
+
typeFlowPath: t.typeFlowPath,
|
|
668
|
+
copyStatus: t.copyStatus,
|
|
669
|
+
onGetList: us,
|
|
670
|
+
onReada: fs
|
|
671
|
+
}, null, 40, ["rowItem", "typeFlowPath", "copyStatus"])) : r("", !0)
|
|
672
|
+
]);
|
|
673
|
+
};
|
|
674
|
+
}
|
|
675
|
+
}), Ee = /* @__PURE__ */ ts(Ve, [["__scopeId", "data-v-85a8dd58"]]), qe = (a) => {
|
|
676
|
+
a.component("CButton", fo), a.component("CBadge", wo), a.component("CInput", xo), a.component("CToDoCard", Ee), a.component("CIcon", X);
|
|
677
|
+
}, Je = {
|
|
678
|
+
install: qe
|
|
77
679
|
};
|
|
78
680
|
export {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
681
|
+
wo as Badge,
|
|
682
|
+
fo as Button,
|
|
683
|
+
X as Icon,
|
|
684
|
+
xo as Input,
|
|
685
|
+
Ee as ToDoCard,
|
|
686
|
+
Je as default
|
|
82
687
|
};
|
package/dist/computent.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(n,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(n=typeof globalThis<"u"?globalThis:n||self,e(n.Computent={},n.Vue))})(this,function(n,e){"use strict";const r=["disabled"],f={key:0,class:"comp-btn__spinner"},p={key:1,class:"comp-btn__icon"},b={class:"comp-btn__content"},u=e.defineComponent({__name:"Button",props:{variant:{default:"primary"},size:{default:"md"},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["click"],setup(t,{emit:a}){const o=t,d=a,l=c=>{!o.disabled&&!o.loading&&d("click",c)};return(c,y)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["comp-btn",`comp-btn--${t.variant}`,`comp-btn--${t.size}`,{"comp-btn--loading":t.loading,"comp-btn--disabled":t.disabled||t.loading}]),disabled:t.disabled||t.loading,onClick:l},[t.loading?(e.openBlock(),e.createElementBlock("span",f)):e.createCommentVNode("",!0),c.$slots.icon&&!t.loading?(e.openBlock(),e.createElementBlock("span",p,[e.renderSlot(c.$slots,"icon",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("span",b,[e.renderSlot(c.$slots,"default",{},void 0,!0)])],10,r))}}),s=(t,a)=>{const o=t.__vccOpts||t;for(const[d,l]of a)o[d]=l;return o},i=s(u,[["__scopeId","data-v-7c40bef2"]]),B={key:0,class:"comp-badge__dot"},g={class:"comp-badge__content"},m=s(e.defineComponent({__name:"Badge",props:{type:{default:"default"},variant:{default:"subtle"},dot:{type:Boolean,default:!1}},setup(t){return(a,o)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(["comp-badge",`comp-badge--${t.type}`,`comp-badge--${t.variant}`,{"comp-badge--has-dot":t.dot}])},[t.dot?(e.openBlock(),e.createElementBlock("span",B)):e.createCommentVNode("",!0),e.createElementVNode("span",g,[e.renderSlot(a.$slots,"default",{},void 0,!0)])],2))}}),[["__scopeId","data-v-158f78af"]]),k={install:t=>{t.component("CButton",i),t.component("CBadge",m)}};n.Badge=m,n.Button=i,n.default=k,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
1
|
+
(function(p,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue"),require("element-plus"),require("vue-types"),require("@iconify/vue")):typeof define=="function"&&define.amd?define(["exports","vue","element-plus","vue-types","@iconify/vue"],o):(p=typeof globalThis<"u"?globalThis:p||self,o(p.Computent={},p.Vue,p.ElementPlus,p.VueTypes,p.Iconify))})(this,function(p,o,uo,Io,Mo){"use strict";const Lo=["disabled"],mo={key:0,class:"comp-btn__spinner"},jo={key:1,class:"comp-btn__icon"},Oo={class:"comp-btn__content"},Ro=o.defineComponent({__name:"Button",props:{variant:{default:"primary"},size:{default:"md"},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["click"],setup(s,{emit:l}){const a=s,t=l,d=c=>{!a.disabled&&!a.loading&&t("click",c)};return(c,w)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass(["comp-btn",`comp-btn--${c.variant}`,`comp-btn--${c.size}`,{"comp-btn--loading":c.loading,"comp-btn--disabled":c.disabled||c.loading}]),disabled:c.disabled||c.loading,onClick:d},[c.loading?(o.openBlock(),o.createElementBlock("span",mo)):o.createCommentVNode("",!0),c.$slots.icon&&!c.loading?(o.openBlock(),o.createElementBlock("span",jo,[o.renderSlot(c.$slots,"icon",{},void 0,!0)])):o.createCommentVNode("",!0),o.createElementVNode("span",Oo,[o.renderSlot(c.$slots,"default",{},void 0,!0)])],10,Lo))}}),G=(s,l)=>{const a=s.__vccOpts||s;for(const[t,d]of l)a[t]=d;return a},Q=G(Ro,[["__scopeId","data-v-7c40bef2"]]),qo={key:0,class:"comp-badge__dot"},Go={class:"comp-badge__content"},U=G(o.defineComponent({__name:"Badge",props:{type:{default:"default"},variant:{default:"subtle"},dot:{type:Boolean,default:!1}},setup(s){return(l,a)=>(o.openBlock(),o.createElementBlock("span",{class:o.normalizeClass(["comp-badge",`comp-badge--${l.type}`,`comp-badge--${l.variant}`,{"comp-badge--has-dot":l.dot}])},[l.dot?(o.openBlock(),o.createElementBlock("span",qo)):o.createCommentVNode("",!0),o.createElementVNode("span",Go,[o.renderSlot(l.$slots,"default",{},void 0,!0)])],2))}}),[["__scopeId","data-v-158f78af"]]),Wo={class:"comp-input-wrapper"},X=G(o.defineComponent({__name:"Input",props:{size:{default:"default"},placeholder:{default:"Please enter..."}},setup(s){return(l,a)=>{const t=o.resolveComponent("el-input");return o.openBlock(),o.createElementBlock("div",Wo,[o.createVNode(t,o.mergeProps(l.$attrs,{size:l.size,placeholder:l.placeholder,class:"comp-el-input"}),o.createSlots({_:2},[o.renderList(l.$slots,(d,c)=>({name:c,fn:o.withCtx(w=>[o.renderSlot(l.$slots,c,o.normalizeProps(o.guardReactiveProps(w||{})),void 0,!0)])}))]),1040,["size","placeholder"])])}}}),[["__scopeId","data-v-e8d4db36"]]),Ao=Object.freeze(Object.defineProperty({__proto__:null,iconMap:{"xc-revert":"grommet-icons:revert","xc-progress":"nrk:progress","xc-upload":"bytesize:upload","xc-download":"bytesize:download","xc-author":"hugeicons:authorized","xc-lock":"hugeicons:folder-locked","xc-unlock":"hugeicons:folder-unlocked","xc-setting":"uil:setting","xc-link":"material-symbols:link","xc-cancel":"mdi:cancel-circle-outline","xc-shelves":"material-symbols:shelves","xc-settle":"f7:money-yen-circle","xc-invoice":"hugeicons:money-add-02","xc-cancel-invoice":"hugeicons:money-not-found-03","xc-start-use":"formkit:start","xc-reduce":"icon-park-outline:reduce","xc-pass":"codicon:pass","xc-expire":"pajamas:expire","xc-pause":"tabler:clock-pause","xc-review":"mdi:account-check-outline"}},Symbol.toStringTag,{value:"Module"})),Ho={"xc-add":"bi:plus-lg","xc-edit":"bi:pencil-square","xc-delete":"bi:trash","xc-copy":"bi:copy","xc-file":"bi:file-earmark-text","xc-search":"bi:search","xc-reset":"bi:arrow-repeat","xc-more":"icon-park-outline:more-two","xc-view":"hugeicons:property-view","xc-export":"bx:export","xc-refresh":"bi:arrow-clockwise","xc-question":"mage:question-mark-circle-fill"};function Jo(){const s=Object.assign({"./modules/publicWelfare.ts":Ao}),l={};for(const a of Object.values(s))Object.assign(l,a.iconMap||{});return Object.assign(l,Ho),l}const W=Io.createTypes({func:void 0,bool:void 0,string:void 0,number:void 0,object:void 0,integer:void 0});W.extend([{name:"style",getter:!0,type:[String,Object],default:void 0}]);const Ko={namespace:"v",elNamespace:"el"},Qo=()=>{const s=Ko;return{variables:s,getPrefixCls:a=>`${s.namespace}-${a}`}},Uo={key:0,"aria-hidden":"true"},Xo=["xlink:href"],Yo=o.defineComponent({__name:"Icon",props:{icon:W.string,color:W.string,size:W.number.def(16)},setup(s){const{getPrefixCls:l}=Qo(),a=l("icon"),t=s,d=o.computed(()=>t.icon.startsWith("svg-icon:")),c=o.computed(()=>o.unref(d)?`#icon-${t.icon.split("svg-icon:")[1]}`:t.icon),w=o.computed(()=>{const{color:x,size:B}=t;return{fontSize:`${B}px`,color:x}});return(x,B)=>(o.openBlock(),o.createBlock(o.unref(uo.ElIcon),{class:o.normalizeClass(o.unref(a)),size:s.size,color:s.color},{default:o.withCtx(()=>[d.value?(o.openBlock(),o.createElementBlock("svg",Uo,[o.createElementVNode("use",{"xlink:href":c.value},null,8,Xo)])):(o.openBlock(),o.createBlock(o.unref(Mo.Icon),{key:1,icon:c.value,style:o.normalizeStyle(w.value)},null,8,["icon","style"]))]),_:1},8,["class","size","color"]))}}),b=o.defineComponent({name:"IconMap",inheritAttrs:!1,props:{icon:{type:String,default:""},size:{type:Number,default:null}},setup(s,{attrs:l}){const a=Jo(),t=o.computed(()=>a[s.icon]||s.icon),d=o.computed(()=>s.size?s.size:a[s.icon]?12:16);return()=>React.createElement(Yo,{icon:t.value,size:d.value,...l})}}),r=s=>(o.pushScopeId("data-v-85a8dd58"),s=s(),o.popScopeId(),s),Zo={class:"flex-between-center-display"},vo={class:"mr-2 text-16px font-500"},oe={class:"flex items-center"},ee={key:1,class:"text-14px text-[#acb0b7] mr-2"},te={key:2,class:"text-14px text-[#acb0b7] mr-2"},ne={class:"flex items-center"},se={class:"w-120px mr-4"},le={class:"text-14px font-400"},ce={class:"mr-2 container_old flex-1 min-w-0"},ae={class:"text-12px"},re=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("流程ID:"),-1)),de={style:{"font-size":"13px"}},pe={class:"text-12px"},_e=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("流程名称:"),-1)),ie={style:{"line-height":"16px"}},ye={class:"text-12px"},fe=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("流程类型:"),-1)),ke={key:0},he={key:1},we={key:0,class:"text-12px"},ge=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("合同编号:"),-1)),xe={key:1,class:"text-12px"},be=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("企业名称:"),-1)),Be={style:{"line-height":"14px"}},Ce={key:0,class:"text-12px"},Ne=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("签约类型:"),-1)),Ve={style:{"font-size":"13px"}},Ee={key:1,class:"text-12px"},Se=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("签约类型:"),-1)),De={style:{"font-size":"13px"}},Te={key:2,class:"text-12px"},Fe=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("签约类型:"),-1)),$e={style:{"font-size":"13px"}},Pe={key:3,class:"text-12px"},ze=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("签约类型:"),-1)),ue={style:{"font-size":"13px"}},Ie={key:4,class:"text-12px"},Me=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("合同类型:"),-1)),Le={style:{"font-size":"13px"}},me={key:3,class:"text-12px"},je=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("标准:"),-1)),Oe={style:{"line-height":"18px"}},Re={key:4,class:"text-12px"},qe=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("当前流转时间:"),-1)),Ge={key:5,class:"text-12px"},We=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("当前审批人:"),-1)),Ae={key:6,class:"text-12px"},He=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("合同类型:"),-1)),Je={key:7,class:"text-12px"},Ke=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("签约方式:"),-1)),Qe={key:8,class:"text-12px"},Ue=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("那方先签约:"),-1)),Xe={class:"flex-between-center-display"},Ye={class:"mr-2 text-16px font-500"},Ze={class:"flex items-center"},ve={key:0,class:"text-14px text-[#acb0b7] mr-2"},ot={key:1,class:"text-14px text-[#acb0b7] mr-2"},et={class:"flex items-center"},tt={class:"w-120px mr-4 flex items-center"},nt={class:"text-14px font-400"},st={class:"mr-2 container_old flex-1 min-w-0"},Y=G(o.defineComponent({__name:"ToDoCard",props:{countList:{default:()=>[]},type:{},typeFlowPath:{default:""},copyStatus:{},treatDerailsComponent:{},newTreatDerailsComponent:{},formTemplateComponent:{},isDeleteFn:{},showFormTitleFn:{},formatTimeFn:{},statusTypeMap:{default:()=>({})},statusTypeNormalMap:{default:()=>({})},contractTypeMap:{default:()=>({})},contractTypeLabelMap:{default:()=>({})},flowPathTypeList:{default:()=>[]}},emits:["getList","doScreen","copy","delete","expedite","details"],setup(s,{expose:l,emit:a}){const t=s,d=a,c=o.ref(null),w=o.ref(null),x=o.ref(),B=(n,h)=>t.isDeleteFn?t.isDeleteFn(n,h):!1,Z=(n,h,y)=>t.showFormTitleFn?t.showFormTitleFn(n,h,y):!1,C=n=>t.formatTimeFn?t.formatTimeFn(n):String(n||""),A=n=>t.statusTypeMap[n]||{type:"",status:""},H=n=>t.statusTypeNormalMap[n]||{type:"",status:""},ct=n=>t.contractTypeLabelMap[n]||"-",at=n=>t.contractTypeMap[n]||"-",rt=n=>{const h=t.flowPathTypeList.find(y=>y.value===n);return h?h.label:"-"},J=(n,h)=>{x.value=n,d("details",{item:n,type:h}),n.is_old_flow?c.value&&(c.value.showFlag=!0):w.value&&(w.value.showFlag=!0)},v=()=>{d("getList")},oo=()=>{d("doScreen",3,x.value.flow_id)},dt=n=>{d("copy",n)},eo=n=>{d("delete",n)},to=n=>{d("expedite",n)};return l({details:J}),(n,h)=>{const y=o.resolveComponent("el-tag"),K=o.resolveComponent("el-button"),no=o.resolveComponent("el-card");return o.openBlock(),o.createElementBlock("div",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.countList,(e,pt)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:pt},[e!=null&&e.is_old_flow?(o.openBlock(),o.createBlock(no,{key:0,shadow:"hover",class:"mb-1",onClick:i=>J(e,t.type)},{header:o.withCtx(()=>{var i,k,_,N,V,E,S,D,T,F,$,P,z,u,I,M,L,m,j,O;return[o.createElementVNode("div",Zo,[o.createElementVNode("div",null,[o.createElementVNode("span",vo,o.toDisplayString((i=e.old_flow)==null?void 0:i.flow_node_name),1),(k=e.old_flow)!=null&&k.is_sign?(o.openBlock(),o.createBlock(y,{key:0,type:"success",effect:"plain"},{default:o.withCtx(()=>[o.createTextVNode(" 已发起签约 ")]),_:1})):o.createCommentVNode("",!0),t.typeFlowPath==="抄送我的"&&(e==null?void 0:e.copy_status)===1?(o.openBlock(),o.createBlock(o.unref(b),{key:1,class:"read",icon:"icon-park-solid:round",size:5,style:{color:"red"}})):o.createCommentVNode("",!0),t.typeFlowPath==="我发起的"&&((_=e==null?void 0:e.old_flow)==null?void 0:_.status)===2?(o.openBlock(),o.createBlock(K,{key:2,link:"",type:"primary",onClick:o.withModifiers(f=>to(e),["stop"])},{default:o.withCtx(()=>[o.createTextVNode(" 催办 ")]),_:2},1032,["onClick"])):o.createCommentVNode("",!0),t.typeFlowPath==="待我审批"&&(e!=null&&e.have_remind)?(o.openBlock(),o.createBlock(y,{key:3,effect:"plain",type:"danger"},{default:o.withCtx(()=>[o.createTextVNode(" 发起人已催办 ")]),_:1})):o.createCommentVNode("",!0)]),o.createElementVNode("div",oe,[(((N=e==null?void 0:e.old_flow)==null?void 0:N.business_type)===1&&((V=e==null?void 0:e.old_flow)==null?void 0:V.sign_type)!==1||[3,8].includes((E=e==null?void 0:e.old_flow)==null?void 0:E.business_type)||((S=e==null?void 0:e.old_flow)==null?void 0:S.business_type)===2&&((D=e==null?void 0:e.old_flow)==null?void 0:D.status)===5||[16,10].includes((T=e==null?void 0:e.old_flow)==null?void 0:T.business_type)&&[4,5].includes((F=e==null?void 0:e.old_flow)==null?void 0:F.status))&&t.typeFlowPath==="我发起的"?(o.openBlock(),o.createBlock(K,{key:0,link:"",type:"primary",class:"mr-2",onClick:o.withModifiers(f=>dt(e==null?void 0:e.old_flow),["stop"])},{default:o.withCtx(()=>[o.createTextVNode(" 一键复制 ")]),_:2},1032,["onClick"])):o.createCommentVNode("",!0),t.typeFlowPath==="抄送我的"?(o.openBlock(),o.createElementBlock("div",ee,o.toDisplayString(C((z=(P=($=e==null?void 0:e.old_flow)==null?void 0:$.copy_list)==null?void 0:P[0])==null?void 0:z.copy_time)),1)):(o.openBlock(),o.createElementBlock("div",te,o.toDisplayString(C((u=e==null?void 0:e.old_flow)==null?void 0:u.submit_time)),1)),t.typeFlowPath==="待我审批"?(o.openBlock(),o.createBlock(y,{key:3,type:(m=A((L=(M=(I=e==null?void 0:e.old_flow)==null?void 0:I.node_list)==null?void 0:M[0])==null?void 0:L.approval_status))==null?void 0:m.type},{default:o.withCtx(()=>{var f,g,R,q;return[o.createTextVNode(o.toDisplayString((q=A((R=(g=(f=e==null?void 0:e.old_flow)==null?void 0:f.node_list)==null?void 0:g[0])==null?void 0:R.approval_status))==null?void 0:q.status),1)]}),_:2},1032,["type"])):(o.openBlock(),o.createBlock(y,{key:4,type:(O=H((j=e==null?void 0:e.old_flow)==null?void 0:j.status))==null?void 0:O.type},{default:o.withCtx(()=>{var f,g;return[o.createTextVNode(o.toDisplayString((g=H((f=e==null?void 0:e.old_flow)==null?void 0:f.status))==null?void 0:g.status),1)]}),_:2},1032,["type"])),B(e,t.typeFlowPath)?(o.openBlock(),o.createBlock(o.unref(b),{key:5,class:"ml-2 cursor-pointer",icon:"material-symbols:delete-outline",size:24,style:{color:"red"},onClick:o.withModifiers(f=>eo(e==null?void 0:e.old_flow),["stop"])},null,8,["onClick"])):o.createCommentVNode("",!0)])])]}),default:o.withCtx(()=>{var i,k,_,N,V,E,S,D,T,F,$,P,z,u,I,M,L,m,j,O,f,g,R,q,so,lo,co,ao,ro,po,_o,io,yo,fo,ko,ho,wo,go,xo,bo,Bo,Co,No,Vo,Eo,So,Do,To,Fo,$o,Po,zo;return[o.createElementVNode("div",ne,[o.createElementVNode("div",se,[o.createElementVNode("div",le,o.toDisplayString("发起人:")+o.toDisplayString((i=e==null?void 0:e.old_flow)==null?void 0:i.create_user_name),1)]),o.createElementVNode("div",ce,[o.createElementVNode("div",ae,[re,o.createElementVNode("span",de,o.toDisplayString((e==null?void 0:e.flow_id)||""),1)]),o.createElementVNode("div",pe,[_e,o.createElementVNode("span",ie,o.toDisplayString((k=e==null?void 0:e.old_flow)==null?void 0:k.flow_name),1)]),o.createElementVNode("div",ye,[fe,((_=e==null?void 0:e.old_flow)==null?void 0:_.business_type)===9?(o.openBlock(),o.createElementBlock("span",ke,o.toDisplayString((e==null?void 0:e.old_flow.sign_type)===1?"新流程":"补充店铺"),1)):(o.openBlock(),o.createElementBlock("span",he,o.toDisplayString(e.template_type),1))]),((N=e==null?void 0:e.old_flow)==null?void 0:N.business_type)===1||((V=e==null?void 0:e.old_flow)==null?void 0:V.business_type)===8?(o.openBlock(),o.createElementBlock("div",we,[ge,o.createElementVNode("span",null,o.toDisplayString(e==null?void 0:e.old_flow.business_ctx.esign_contract_no),1)])):o.createCommentVNode("",!0),[1,16,19].includes((E=e==null?void 0:e.old_flow)==null?void 0:E.business_type)?(o.openBlock(),o.createElementBlock("div",xe,[be,o.createElementVNode("span",Be,o.toDisplayString((e==null?void 0:e.old_flow.business_ctx.company_name)||((D=(S=e==null?void 0:e.old_flow.business_ctx.no_business_contract_info)==null?void 0:S.company_info)==null?void 0:D.fp_company_name)||((F=(T=e==null?void 0:e.old_flow.business_ctx.no_business_contract_info)==null?void 0:T.personal_info)==null?void 0:F.name)||"-"),1)])):o.createCommentVNode("",!0),(($=e==null?void 0:e.old_flow)==null?void 0:$.business_type)!==9?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[((P=e==null?void 0:e.old_flow)==null?void 0:P.business_type)===1?(o.openBlock(),o.createElementBlock("div",Ce,[Ne,o.createElementVNode("span",Ve,o.toDisplayString(((z=e==null?void 0:e.old_flow)==null?void 0:z.sign_type)===1?"首次签约":"补充店铺"),1)])):o.createCommentVNode("",!0),((u=e==null?void 0:e.old_flow)==null?void 0:u.business_type)===2?(o.openBlock(),o.createElementBlock("div",Ee,[Se,o.createElementVNode("span",De,o.toDisplayString(ct(e==null?void 0:e.old_flow.business_ctx.contract_template_id)),1)])):o.createCommentVNode("",!0),[3,4,5,6,7,8].includes((I=e==null?void 0:e.old_flow)==null?void 0:I.business_type)?(o.openBlock(),o.createElementBlock("div",Te,[Fe,o.createElementVNode("span",$e,o.toDisplayString(rt((M=e==null?void 0:e.old_flow)==null?void 0:M.business_type)),1)])):o.createCommentVNode("",!0),[16].includes((L=e==null?void 0:e.old_flow)==null?void 0:L.business_type)?(o.openBlock(),o.createElementBlock("div",Pe,[ze,o.createElementVNode("span",ue,o.toDisplayString(["","主合同","补充协议","解除协议"][(m=e==null?void 0:e.old_flow)==null?void 0:m.sign_type]||"-"),1)])):o.createCommentVNode("",!0),((j=e==null?void 0:e.old_flow)==null?void 0:j.business_type)===16&&((O=e==null?void 0:e.old_flow)==null?void 0:O.sign_type)===1?(o.openBlock(),o.createElementBlock("div",Ie,[Me,o.createElementVNode("span",Le,o.toDisplayString(at((R=(g=(f=e==null?void 0:e.old_flow)==null?void 0:f.business_ctx)==null?void 0:g.no_business_contract_info)==null?void 0:R.contract_type)),1)])):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),((q=e==null?void 0:e.old_flow)==null?void 0:q.business_type)===9?(o.openBlock(),o.createElementBlock("div",me,[je,o.createElementVNode("span",Oe,o.toDisplayString(((so=e==null?void 0:e.old_flow.business_ctx.reduce_store_srv_fee_form)==null?void 0:so.reduce_store_srv_fee_standard_type)===1?"当日在线3店及以上,且合计活动名额100单及以上份额":"名下同品牌店铺10家及以上,月累计(近30天)销单1000单"),1)])):o.createCommentVNode("",!0),Z(t.typeFlowPath,(ao=(co=(lo=e==null?void 0:e.old_flow)==null?void 0:lo.node_list)==null?void 0:co[0])==null?void 0:ao.approval_status,(ro=e==null?void 0:e.old_flow)==null?void 0:ro.status)?(o.openBlock(),o.createElementBlock("div",Re,[qe,o.createElementVNode("span",null,o.toDisplayString(C((io=(_o=(po=e==null?void 0:e.old_flow)==null?void 0:po.node_list)==null?void 0:_o[0])==null?void 0:io.flow_time)),1)])):o.createCommentVNode("",!0),Z(t.typeFlowPath,(ko=(fo=(yo=e==null?void 0:e.old_flow)==null?void 0:yo.node_list)==null?void 0:fo[0])==null?void 0:ko.approval_status,(ho=e==null?void 0:e.old_flow)==null?void 0:ho.status)?(o.openBlock(),o.createElementBlock("div",Ge,[We,o.createElementVNode("span",null,o.toDisplayString((xo=(go=(wo=e==null?void 0:e.old_flow)==null?void 0:wo.node_list)==null?void 0:go[0])==null?void 0:xo.approval_user_name),1)])):o.createCommentVNode("",!0),((bo=e==null?void 0:e.old_flow)==null?void 0:bo.business_type)===19?(o.openBlock(),o.createElementBlock("div",Ae,[He,o.createElementVNode("span",null,o.toDisplayString(((Bo=e==null?void 0:e.old_flow)==null?void 0:Bo.sign_type)===1?"达人合作主合同":"达人合作补充协议"),1)])):o.createCommentVNode("",!0),((Co=e==null?void 0:e.old_flow)==null?void 0:Co.business_type)===16?(o.openBlock(),o.createElementBlock("div",Je,[Ke,o.createElementVNode("span",null,o.toDisplayString(((Eo=(Vo=(No=e==null?void 0:e.old_flow)==null?void 0:No.business_ctx)==null?void 0:Vo.no_business_contract_info)==null?void 0:Eo.e_sign_type)===1?"线下纸质签":"线上电子签"),1)])):o.createCommentVNode("",!0),((So=e==null?void 0:e.old_flow)==null?void 0:So.business_type)===16&&((Fo=(To=(Do=e==null?void 0:e.old_flow)==null?void 0:Do.business_ctx)==null?void 0:To.no_business_contract_info)==null?void 0:Fo.e_sign_type)===1?(o.openBlock(),o.createElementBlock("div",Qe,[Ue,o.createElementVNode("span",null,o.toDisplayString(((zo=(Po=($o=e==null?void 0:e.old_flow)==null?void 0:$o.business_ctx)==null?void 0:Po.no_business_contract_info)==null?void 0:zo.first_signer)===1?"我方":"对方"),1)])):o.createCommentVNode("",!0)])])]}),_:2},1032,["onClick"])):(o.openBlock(),o.createBlock(no,{key:1,shadow:"hover",class:"mb-1",onClick:i=>J(e,t.type)},{header:o.withCtx(()=>{var i,k;return[o.createElementVNode("div",Xe,[o.createElementVNode("div",null,[o.createElementVNode("span",Ye,o.toDisplayString(e.node_title),1),t.typeFlowPath==="抄送我的"&&e.copy_status===1?(o.openBlock(),o.createBlock(o.unref(b),{key:0,class:"read",icon:"icon-park-solid:round",size:5,style:{color:"red"}})):o.createCommentVNode("",!0),t.typeFlowPath==="我发起的"&&(e==null?void 0:e.flow_status)===2?(o.openBlock(),o.createBlock(K,{key:1,link:"",type:"primary",onClick:o.withModifiers(_=>to(e),["stop"])},{default:o.withCtx(()=>[o.createTextVNode(" 催办 ")]),_:2},1032,["onClick"])):o.createCommentVNode("",!0),t.typeFlowPath==="待我审批"&&(e!=null&&e.have_remind)?(o.openBlock(),o.createBlock(y,{key:2,effect:"plain",type:"danger"},{default:o.withCtx(()=>[o.createTextVNode(" 发起人已催办 ")]),_:1})):o.createCommentVNode("",!0)]),o.createElementVNode("div",Ze,[t.typeFlowPath==="抄送我的"?(o.openBlock(),o.createElementBlock("div",ve,o.toDisplayString(C(e.final_pass_time)),1)):(o.openBlock(),o.createElementBlock("div",ot,o.toDisplayString(C(e.flow_time)),1)),t.typeFlowPath==="待我审批"?(o.openBlock(),o.createBlock(y,{key:2,type:(i=A(e==null?void 0:e.node_approval_status))==null?void 0:i.type},{default:o.withCtx(()=>{var _;return[o.createTextVNode(o.toDisplayString((_=A(e==null?void 0:e.node_approval_status))==null?void 0:_.status),1)]}),_:2},1032,["type"])):(o.openBlock(),o.createBlock(y,{key:3,type:(k=H(e==null?void 0:e.flow_status))==null?void 0:k.type},{default:o.withCtx(()=>{var _;return[o.createTextVNode(o.toDisplayString((_=H(e==null?void 0:e.flow_status))==null?void 0:_.status),1)]}),_:2},1032,["type"])),B(e,t.typeFlowPath)?(o.openBlock(),o.createBlock(o.unref(b),{key:4,class:"ml-2 cursor-pointer",icon:"material-symbols:delete-outline",size:24,style:{color:"red"},onClick:o.withModifiers(_=>eo(e),["stop"])},null,8,["onClick"])):o.createCommentVNode("",!0)])])]}),default:o.withCtx(()=>[o.createElementVNode("div",et,[o.createElementVNode("div",tt,[o.createElementVNode("div",nt,o.toDisplayString("发起人:")+o.toDisplayString(e==null?void 0:e.create_user_name),1)]),o.createElementVNode("div",st,[o.renderSlot(n.$slots,"form-content",{item:e},()=>[n.formTemplateComponent?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(e.form_value,(i,k)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.formTemplateComponent),{key:k,item_:i,item:e},null,8,["item_","item"]))),128)):o.createCommentVNode("",!0)],!0)])])]),_:2},1032,["onClick"]))],64))),128)),n.treatDerailsComponent?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.treatDerailsComponent),{key:0,ref_key:"treatDerailsRef",ref:c,rowItem:x.value,typeFlowPath:t.typeFlowPath,copyStatus:t.copyStatus,onGetList:v,onReada:oo},null,40,["rowItem","typeFlowPath","copyStatus"])):o.createCommentVNode("",!0),n.newTreatDerailsComponent?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.newTreatDerailsComponent),{key:1,ref_key:"newTreatDerailsRef",ref:w,rowItem:x.value,typeFlowPath:t.typeFlowPath,copyStatus:t.copyStatus,onGetList:v,onReada:oo},null,40,["rowItem","typeFlowPath","copyStatus"])):o.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-85a8dd58"]]),lt={install:s=>{s.component("CButton",Q),s.component("CBadge",U),s.component("CInput",X),s.component("CToDoCard",Y),s.component("CIcon",b)}};p.Badge=U,p.Button=Q,p.Icon=b,p.Input=X,p.ToDoCard=Y,p.default=lt,Object.defineProperties(p,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
-
import { default as Button } from './components/Button';
|
|
3
|
-
import { default as Badge } from './components/Badge';
|
|
2
|
+
import { default as Button } from './components/Button/index';
|
|
3
|
+
import { default as Badge } from './components/Badge/index';
|
|
4
|
+
import { default as Input } from './components/Input/index';
|
|
5
|
+
import { default as ToDoCard } from './components/ToDoCard/index';
|
|
6
|
+
import { default as Icon } from './components/Icon/index';
|
|
4
7
|
|
|
5
|
-
export { Button, Badge };
|
|
8
|
+
export { Button, Badge, Input, ToDoCard, Icon };
|
|
6
9
|
declare const _default: {
|
|
7
10
|
install: (app: App) => void;
|
|
8
11
|
};
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.comp-btn[data-v-7c40bef2]{display:inline-flex;align-items:center;justify-content:center;font-family:var(--comp-font-sans, system-ui, sans-serif);font-weight:600;border-radius:var(--comp-radius-md, 8px);border:1px solid transparent;cursor:pointer;outline:none;position:relative;overflow:hidden;-webkit-user-select:none;user-select:none;white-space:nowrap;vertical-align:middle;transition:all var(--comp-transition-fast, .2s)}.comp-btn--sm[data-v-7c40bef2]{padding:6px 12px;font-size:13px;border-radius:var(--comp-radius-sm, 6px)}.comp-btn--md[data-v-7c40bef2]{padding:10px 18px;font-size:14px;border-radius:var(--comp-radius-md, 10px)}.comp-btn--lg[data-v-7c40bef2]{padding:14px 24px;font-size:16px;border-radius:var(--comp-radius-lg, 14px)}.comp-btn--primary[data-v-7c40bef2]{background-color:var(--comp-primary);color:#fff;box-shadow:var(--comp-shadow-sm)}.comp-btn--primary[data-v-7c40bef2]:hover:not(.comp-btn--disabled){background-color:var(--comp-primary-hover);box-shadow:var(--comp-shadow-glow);transform:translateY(-1px)}.comp-btn--primary[data-v-7c40bef2]:active:not(.comp-btn--disabled){background-color:var(--comp-primary-active);transform:translateY(0)}.comp-btn--secondary[data-v-7c40bef2]{background-color:var(--comp-bg-card);border-color:var(--comp-border);color:var(--comp-text-primary)}.comp-btn--secondary[data-v-7c40bef2]:hover:not(.comp-btn--disabled){background-color:var(--comp-bg-hover);border-color:var(--comp-border-hover);transform:translateY(-1px)}.comp-btn--secondary[data-v-7c40bef2]:active:not(.comp-btn--disabled){background-color:var(--comp-bg-card);transform:translateY(0)}.comp-btn--outline[data-v-7c40bef2]{background-color:transparent;border-color:var(--comp-primary);color:var(--comp-primary)}.comp-btn--outline[data-v-7c40bef2]:hover:not(.comp-btn--disabled){background-color:#6366f114;transform:translateY(-1px)}.comp-btn--outline[data-v-7c40bef2]:active:not(.comp-btn--disabled){background-color:#6366f129;transform:translateY(0)}.comp-btn--text[data-v-7c40bef2]{background-color:transparent;border-color:transparent;color:var(--comp-text-secondary)}.comp-btn--text[data-v-7c40bef2]:hover:not(.comp-btn--disabled){color:var(--comp-text-primary);background-color:#ffffff0d}.comp-btn--text[data-v-7c40bef2]:active:not(.comp-btn--disabled){background-color:#ffffff1a}.comp-btn--danger[data-v-7c40bef2]{background-color:var(--comp-danger);color:#fff}.comp-btn--danger[data-v-7c40bef2]:hover:not(.comp-btn--disabled){background-color:var(--comp-danger-hover);transform:translateY(-1px)}.comp-btn--danger[data-v-7c40bef2]:active:not(.comp-btn--disabled){background-color:var(--comp-danger-active);transform:translateY(0)}.comp-btn--disabled[data-v-7c40bef2]{opacity:.6;cursor:not-allowed;transform:none!important;box-shadow:none!important}.comp-btn__icon[data-v-7c40bef2]{display:inline-flex;align-items:center;justify-content:center;margin-right:6px;font-size:1.1em}.comp-btn__content[data-v-7c40bef2]{display:inline-flex;align-items:center}.comp-btn__spinner[data-v-7c40bef2]{width:14px;height:14px;border:2px solid currentColor;border-bottom-color:transparent;border-radius:50%;display:inline-block;margin-right:8px;animation:comp-spin-7c40bef2 .75s linear infinite}@keyframes comp-spin-7c40bef2{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.comp-badge[data-v-158f78af]{display:inline-flex;align-items:center;justify-content:center;font-family:var(--comp-font-sans, system-ui, sans-serif);font-weight:600;font-size:11px;letter-spacing:.03em;text-transform:uppercase;padding:3px 8px;border-radius:var(--comp-radius-full, 9999px);line-height:1;border:1px solid transparent;-webkit-user-select:none;user-select:none;transition:all var(--comp-transition-fast, .2s)}.comp-badge--default.comp-badge--filled[data-v-158f78af]{background-color:var(--comp-text-secondary);color:var(--comp-bg-main)}.comp-badge--default.comp-badge--subtle[data-v-158f78af]{background-color:var(--comp-bg-hover);color:var(--comp-text-primary);border-color:var(--comp-border)}.comp-badge--default.comp-badge--outline[data-v-158f78af]{background-color:transparent;border-color:var(--comp-text-muted);color:var(--comp-text-secondary)}.comp-badge--success.comp-badge--filled[data-v-158f78af]{background-color:var(--comp-success);color:#fff}.comp-badge--success.comp-badge--subtle[data-v-158f78af]{background-color:#10b9811f;color:#34d399;border-color:#10b98133}.comp-badge--success.comp-badge--outline[data-v-158f78af]{background-color:transparent;border-color:var(--comp-success);color:var(--comp-success)}.comp-badge--warning.comp-badge--filled[data-v-158f78af]{background-color:var(--comp-warning);color:#fff}.comp-badge--warning.comp-badge--subtle[data-v-158f78af]{background-color:#f59e0b1f;color:#fbbf24;border-color:#f59e0b33}.comp-badge--warning.comp-badge--outline[data-v-158f78af]{background-color:transparent;border-color:var(--comp-warning);color:var(--comp-warning)}.comp-badge--danger.comp-badge--filled[data-v-158f78af]{background-color:var(--comp-danger);color:#fff}.comp-badge--danger.comp-badge--subtle[data-v-158f78af]{background-color:#ef44441f;color:#fca5a5;border-color:#ef444433}.comp-badge--danger.comp-badge--outline[data-v-158f78af]{background-color:transparent;border-color:var(--comp-danger);color:var(--comp-danger)}.comp-badge--info.comp-badge--filled[data-v-158f78af]{background-color:var(--comp-info);color:#fff}.comp-badge--info.comp-badge--subtle[data-v-158f78af]{background-color:#06b6d41f;color:#22d3ee;border-color:#06b6d433}.comp-badge--info.comp-badge--outline[data-v-158f78af]{background-color:transparent;border-color:var(--comp-info);color:var(--comp-info)}.comp-badge__dot[data-v-158f78af]{width:6px;height:6px;border-radius:50%;margin-right:5px;background-color:currentColor;display:inline-block;box-shadow:0 0 4px currentColor}.comp-badge[data-v-158f78af]:hover{transform:translateY(-.5px);filter:brightness(1.08)}:root{--comp-primary: #6366f1;--comp-primary-hover: #4f46e5;--comp-primary-active: #4338ca;--comp-primary-light: #e0e7ff;--comp-success: #10b981;--comp-success-hover: #059669;--comp-success-light: #d1fae5;--comp-warning: #f59e0b;--comp-warning-hover: #d97706;--comp-warning-light: #fef3c7;--comp-danger: #ef4444;--comp-danger-hover: #dc2626;--comp-danger-active: #b91c1c;--comp-danger-light: #fee2e2;--comp-info: #06b6d4;--comp-info-hover: #0891b2;--comp-info-light: #ecfeff;--comp-bg-main: #0b0f19;--comp-bg-card: #151d30;--comp-bg-hover: #1f293d;--comp-text-primary: #f3f4f6;--comp-text-secondary: #9ca3af;--comp-text-muted: #6b7280;--comp-border: #2d3748;--comp-border-hover: #4a5568;--comp-font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;--comp-radius-sm: 6px;--comp-radius-md: 10px;--comp-radius-lg: 16px;--comp-radius-full: 9999px;--comp-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--comp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--comp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .3), 0 4px 6px -4px rgba(0, 0, 0, .3);--comp-shadow-glow: 0 0 15px rgba(99, 102, 241, .3);--comp-transition-fast: .15s cubic-bezier(.4, 0, .2, 1);--comp-transition-normal: .25s cubic-bezier(.4, 0, .2, 1)}.comp-lib-root,.comp-lib-root *,.comp-lib-root *:before,.comp-lib-root *:after{box-sizing:border-box;font-family:var(--comp-font-sans)}
|
|
1
|
+
.comp-btn[data-v-7c40bef2]{display:inline-flex;align-items:center;justify-content:center;font-family:var(--comp-font-sans, system-ui, sans-serif);font-weight:600;border-radius:var(--comp-radius-md, 8px);border:1px solid transparent;cursor:pointer;outline:none;position:relative;overflow:hidden;-webkit-user-select:none;user-select:none;white-space:nowrap;vertical-align:middle;transition:all var(--comp-transition-fast, .2s)}.comp-btn--sm[data-v-7c40bef2]{padding:6px 12px;font-size:13px;border-radius:var(--comp-radius-sm, 6px)}.comp-btn--md[data-v-7c40bef2]{padding:10px 18px;font-size:14px;border-radius:var(--comp-radius-md, 10px)}.comp-btn--lg[data-v-7c40bef2]{padding:14px 24px;font-size:16px;border-radius:var(--comp-radius-lg, 14px)}.comp-btn--primary[data-v-7c40bef2]{background-color:var(--comp-primary);color:#fff;box-shadow:var(--comp-shadow-sm)}.comp-btn--primary[data-v-7c40bef2]:hover:not(.comp-btn--disabled){background-color:var(--comp-primary-hover);box-shadow:var(--comp-shadow-glow);transform:translateY(-1px)}.comp-btn--primary[data-v-7c40bef2]:active:not(.comp-btn--disabled){background-color:var(--comp-primary-active);transform:translateY(0)}.comp-btn--secondary[data-v-7c40bef2]{background-color:var(--comp-bg-card);border-color:var(--comp-border);color:var(--comp-text-primary)}.comp-btn--secondary[data-v-7c40bef2]:hover:not(.comp-btn--disabled){background-color:var(--comp-bg-hover);border-color:var(--comp-border-hover);transform:translateY(-1px)}.comp-btn--secondary[data-v-7c40bef2]:active:not(.comp-btn--disabled){background-color:var(--comp-bg-card);transform:translateY(0)}.comp-btn--outline[data-v-7c40bef2]{background-color:transparent;border-color:var(--comp-primary);color:var(--comp-primary)}.comp-btn--outline[data-v-7c40bef2]:hover:not(.comp-btn--disabled){background-color:#6366f114;transform:translateY(-1px)}.comp-btn--outline[data-v-7c40bef2]:active:not(.comp-btn--disabled){background-color:#6366f129;transform:translateY(0)}.comp-btn--text[data-v-7c40bef2]{background-color:transparent;border-color:transparent;color:var(--comp-text-secondary)}.comp-btn--text[data-v-7c40bef2]:hover:not(.comp-btn--disabled){color:var(--comp-text-primary);background-color:#ffffff0d}.comp-btn--text[data-v-7c40bef2]:active:not(.comp-btn--disabled){background-color:#ffffff1a}.comp-btn--danger[data-v-7c40bef2]{background-color:var(--comp-danger);color:#fff}.comp-btn--danger[data-v-7c40bef2]:hover:not(.comp-btn--disabled){background-color:var(--comp-danger-hover);transform:translateY(-1px)}.comp-btn--danger[data-v-7c40bef2]:active:not(.comp-btn--disabled){background-color:var(--comp-danger-active);transform:translateY(0)}.comp-btn--disabled[data-v-7c40bef2]{opacity:.6;cursor:not-allowed;transform:none!important;box-shadow:none!important}.comp-btn__icon[data-v-7c40bef2]{display:inline-flex;align-items:center;justify-content:center;margin-right:6px;font-size:1.1em}.comp-btn__content[data-v-7c40bef2]{display:inline-flex;align-items:center}.comp-btn__spinner[data-v-7c40bef2]{width:14px;height:14px;border:2px solid currentColor;border-bottom-color:transparent;border-radius:50%;display:inline-block;margin-right:8px;animation:comp-spin-7c40bef2 .75s linear infinite}@keyframes comp-spin-7c40bef2{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.comp-badge[data-v-158f78af]{display:inline-flex;align-items:center;justify-content:center;font-family:var(--comp-font-sans, system-ui, sans-serif);font-weight:600;font-size:11px;letter-spacing:.03em;text-transform:uppercase;padding:3px 8px;border-radius:var(--comp-radius-full, 9999px);line-height:1;border:1px solid transparent;-webkit-user-select:none;user-select:none;transition:all var(--comp-transition-fast, .2s)}.comp-badge--default.comp-badge--filled[data-v-158f78af]{background-color:var(--comp-text-secondary);color:var(--comp-bg-main)}.comp-badge--default.comp-badge--subtle[data-v-158f78af]{background-color:var(--comp-bg-hover);color:var(--comp-text-primary);border-color:var(--comp-border)}.comp-badge--default.comp-badge--outline[data-v-158f78af]{background-color:transparent;border-color:var(--comp-text-muted);color:var(--comp-text-secondary)}.comp-badge--success.comp-badge--filled[data-v-158f78af]{background-color:var(--comp-success);color:#fff}.comp-badge--success.comp-badge--subtle[data-v-158f78af]{background-color:#10b9811f;color:#34d399;border-color:#10b98133}.comp-badge--success.comp-badge--outline[data-v-158f78af]{background-color:transparent;border-color:var(--comp-success);color:var(--comp-success)}.comp-badge--warning.comp-badge--filled[data-v-158f78af]{background-color:var(--comp-warning);color:#fff}.comp-badge--warning.comp-badge--subtle[data-v-158f78af]{background-color:#f59e0b1f;color:#fbbf24;border-color:#f59e0b33}.comp-badge--warning.comp-badge--outline[data-v-158f78af]{background-color:transparent;border-color:var(--comp-warning);color:var(--comp-warning)}.comp-badge--danger.comp-badge--filled[data-v-158f78af]{background-color:var(--comp-danger);color:#fff}.comp-badge--danger.comp-badge--subtle[data-v-158f78af]{background-color:#ef44441f;color:#fca5a5;border-color:#ef444433}.comp-badge--danger.comp-badge--outline[data-v-158f78af]{background-color:transparent;border-color:var(--comp-danger);color:var(--comp-danger)}.comp-badge--info.comp-badge--filled[data-v-158f78af]{background-color:var(--comp-info);color:#fff}.comp-badge--info.comp-badge--subtle[data-v-158f78af]{background-color:#06b6d41f;color:#22d3ee;border-color:#06b6d433}.comp-badge--info.comp-badge--outline[data-v-158f78af]{background-color:transparent;border-color:var(--comp-info);color:var(--comp-info)}.comp-badge__dot[data-v-158f78af]{width:6px;height:6px;border-radius:50%;margin-right:5px;background-color:currentColor;display:inline-block;box-shadow:0 0 4px currentColor}.comp-badge[data-v-158f78af]:hover{transform:translateY(-.5px);filter:brightness(1.08)}.comp-input-wrapper[data-v-e8d4db36]{font-family:var(--comp-font-sans, system-ui, sans-serif);width:100%}.comp-el-input[data-v-e8d4db36] .el-input__wrapper{background-color:var(--comp-bg-card);box-shadow:0 0 0 1px var(--comp-border) inset;border-radius:var(--comp-radius-md);color:var(--comp-text-primary);transition:all var(--comp-transition-fast)}.comp-el-input[data-v-e8d4db36] .el-input__wrapper:hover{box-shadow:0 0 0 1px var(--comp-border-hover) inset}.comp-el-input[data-v-e8d4db36] .el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--comp-primary) inset;background-color:var(--comp-bg-hover)}.comp-el-input[data-v-e8d4db36] .el-input__inner{color:var(--comp-text-primary)}.comp-el-input[data-v-e8d4db36] .el-input__inner::placeholder{color:var(--comp-text-muted)}.mb-1[data-v-85a8dd58]{margin-bottom:8px}.mr-2[data-v-85a8dd58]{margin-right:8px}.mr-4[data-v-85a8dd58]{margin-right:16px}.ml-2[data-v-85a8dd58]{margin-left:8px}.text-16px[data-v-85a8dd58]{font-size:16px}.text-14px[data-v-85a8dd58]{font-size:14px}.text-12px[data-v-85a8dd58]{font-size:12px}.font-500[data-v-85a8dd58]{font-weight:500}.font-400[data-v-85a8dd58]{font-weight:400}.flex[data-v-85a8dd58]{display:flex}.items-center[data-v-85a8dd58]{align-items:center}.flex-between-center-display[data-v-85a8dd58]{display:flex;align-items:center;justify-content:space-between}.flex-1[data-v-85a8dd58]{flex:1}.min-w-0[data-v-85a8dd58]{min-width:0}.w-120px[data-v-85a8dd58]{width:120px}.cursor-pointer[data-v-85a8dd58]{cursor:pointer}.read-dot[data-v-85a8dd58]{width:6px;height:6px;border-radius:50%;background-color:red;display:inline-block;vertical-align:middle;margin-left:4px;transform:translateY(-8px)}.delete-btn[data-v-85a8dd58]{font-size:18px;color:#ef4444;transition:opacity .2s}.delete-btn[data-v-85a8dd58]:hover{opacity:.8}.container_old[data-v-85a8dd58]{display:grid;grid-auto-flow:column;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,auto);row-gap:8px;align-content:start}.title[data-v-85a8dd58]{font-size:12px;font-weight:500;color:var(--comp-text-secondary, #9ca3af);margin-right:4px}[data-v-85a8dd58] .el-card__header{padding:8px 15px;background-color:var(--comp-bg-hover, rgba(255, 255, 255, .02))}[data-v-85a8dd58] .el-card__body{padding:10px 20px}:root{--comp-primary: #6366f1;--comp-primary-hover: #4f46e5;--comp-primary-active: #4338ca;--comp-primary-light: #e0e7ff;--comp-success: #10b981;--comp-success-hover: #059669;--comp-success-light: #d1fae5;--comp-warning: #f59e0b;--comp-warning-hover: #d97706;--comp-warning-light: #fef3c7;--comp-danger: #ef4444;--comp-danger-hover: #dc2626;--comp-danger-active: #b91c1c;--comp-danger-light: #fee2e2;--comp-info: #06b6d4;--comp-info-hover: #0891b2;--comp-info-light: #ecfeff;--comp-bg-main: #0b0f19;--comp-bg-card: #151d30;--comp-bg-hover: #1f293d;--comp-text-primary: #f3f4f6;--comp-text-secondary: #9ca3af;--comp-text-muted: #6b7280;--comp-border: #2d3748;--comp-border-hover: #4a5568;--comp-font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;--comp-radius-sm: 6px;--comp-radius-md: 10px;--comp-radius-lg: 16px;--comp-radius-full: 9999px;--comp-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--comp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--comp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .3), 0 4px 6px -4px rgba(0, 0, 0, .3);--comp-shadow-glow: 0 0 15px rgba(99, 102, 241, .3);--comp-transition-fast: .15s cubic-bezier(.4, 0, .2, 1);--comp-transition-normal: .25s cubic-bezier(.4, 0, .2, 1)}.comp-lib-root,.comp-lib-root *,.comp-lib-root *:before,.comp-lib-root *:after{box-sizing:border-box;font-family:var(--comp-font-sans)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xc-computent",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "A premium Vue 3 component library built with Vite and TypeScript",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/computent.umd.cjs",
|
|
@@ -33,14 +33,21 @@
|
|
|
33
33
|
"author": "",
|
|
34
34
|
"license": "MIT",
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"vue": "^3.3.
|
|
36
|
+
"vue": "^3.3.6",
|
|
37
|
+
"element-plus": "^2.4.3",
|
|
38
|
+
"@iconify/vue": "^4.0.0",
|
|
39
|
+
"vue-types": "^5.0.0"
|
|
37
40
|
},
|
|
38
41
|
"devDependencies": {
|
|
42
|
+
"@iconify/vue": "^4.1.1",
|
|
39
43
|
"@vitejs/plugin-vue": "^5.0.5",
|
|
44
|
+
"element-plus": "2.4.3",
|
|
45
|
+
"less": "^4.2.0",
|
|
40
46
|
"typescript": "^5.4.5",
|
|
41
47
|
"vite": "^5.2.11",
|
|
42
48
|
"vite-plugin-dts": "^3.9.1",
|
|
43
|
-
"vue": "
|
|
44
|
-
"vue-tsc": "^2.0.19"
|
|
49
|
+
"vue": "3.3.6",
|
|
50
|
+
"vue-tsc": "^2.0.19",
|
|
51
|
+
"vue-types": "^5.1.1"
|
|
45
52
|
}
|
|
46
53
|
}
|