@antcde/component-library 0.1.12 → 0.1.14-rc.0cf856e
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/index.js +18737 -17167
- package/dist/types/components/BaseAntCard.vue.d.ts +14 -6
- package/dist/types/components/BaseAntInput.vue.d.ts +13 -5
- package/dist/types/components/BaseAppCard.vue.d.ts +18 -1
- package/dist/types/components/BaseClickableIcon.vue.d.ts +1 -1
- package/dist/types/components/BaseConfirmDialog.vue.d.ts +16 -7
- package/dist/types/components/BaseDeleteDialog.vue.d.ts +17 -9
- package/dist/types/components/BaseDialog.vue.d.ts +12 -4
- package/dist/types/components/BaseLimitedButton.vue.d.ts +45 -0
- package/dist/types/components/BaseResizePanel.vue.d.ts +12 -12
- package/dist/types/components/BulkLabelsMenu.vue.d.ts +33 -0
- package/dist/types/components/StackedLabels/_LabelsMenuCard.vue.d.ts +15 -0
- package/dist/types/components/StackedLabels/index.vue.d.ts +26 -0
- package/dist/types/components/TasksFlow/components/_dropzoneBackground.vue.d.ts +11 -3
- package/dist/types/components/TasksFlow/composables/useTaskFlow.d.ts +7 -7
- package/dist/types/components/TasksFlow/composables/useTaskFlowDragDrop.d.ts +3 -3
- package/dist/types/index.d.ts +5 -1
- package/package.json +47 -58
- package/dist/component-library.css +0 -1
- package/lib/DocumentManager/DocumentDrop.vue +0 -74
- package/lib/DocumentManager/DocumentManager.vue +0 -571
- package/lib/DocumentManager/hooks/useDms.ts +0 -172
- package/lib/DocumentManager/index.ts +0 -3
- package/lib/DocumentManager/lang/translations/de.json +0 -36
- package/lib/DocumentManager/lang/translations/en.json +0 -38
- package/lib/DocumentManager/lang/translations/nl.json +0 -36
- package/lib/DocumentManager/utils.ts +0 -16
|
@@ -4,16 +4,24 @@ type __VLS_Props = {
|
|
|
4
4
|
header?: boolean;
|
|
5
5
|
footer?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
title?(_: {}): any;
|
|
11
|
+
content?(_: {}): any;
|
|
12
|
+
actions?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
19
|
width: number;
|
|
9
20
|
transparent: boolean;
|
|
10
21
|
header: boolean;
|
|
11
22
|
footer: boolean;
|
|
12
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement
|
|
13
|
-
|
|
14
|
-
content?(_: {}): any;
|
|
15
|
-
actions?(_: {}): any;
|
|
16
|
-
}>;
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
25
|
export default _default;
|
|
18
26
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
27
|
new (): {
|
|
@@ -74,7 +74,17 @@ interface Props {
|
|
|
74
74
|
type __VLS_PublicProps = {
|
|
75
75
|
modelValue?: any;
|
|
76
76
|
} & __VLS_Props;
|
|
77
|
-
declare
|
|
77
|
+
declare function __VLS_template(): {
|
|
78
|
+
attrs: Partial<{}>;
|
|
79
|
+
slots: {
|
|
80
|
+
'label-append'?(_: {}): any;
|
|
81
|
+
input?(_: {}): any;
|
|
82
|
+
};
|
|
83
|
+
refs: {};
|
|
84
|
+
rootEl: HTMLDivElement;
|
|
85
|
+
};
|
|
86
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
87
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
78
88
|
"update:modelValue": (value: any) => any;
|
|
79
89
|
} & {
|
|
80
90
|
"click:append-inner": (value: any) => any;
|
|
@@ -98,10 +108,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
98
108
|
disabled: boolean;
|
|
99
109
|
density: "default" | "comfortable" | "compact";
|
|
100
110
|
clearable: boolean;
|
|
101
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement
|
|
102
|
-
|
|
103
|
-
input?(_: {}): any;
|
|
104
|
-
}>;
|
|
111
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
112
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
105
113
|
export default _default;
|
|
106
114
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
107
115
|
new (): {
|
|
@@ -20,7 +20,18 @@ type __VLS_Props = {
|
|
|
20
20
|
shadow?: boolean;
|
|
21
21
|
size?: 's' | 'xs' | 'toolbar';
|
|
22
22
|
};
|
|
23
|
-
declare
|
|
23
|
+
declare function __VLS_template(): {
|
|
24
|
+
attrs: Partial<{}>;
|
|
25
|
+
slots: {
|
|
26
|
+
'bottom-right'?(_: {
|
|
27
|
+
foregroundColor: string;
|
|
28
|
+
}): any;
|
|
29
|
+
};
|
|
30
|
+
refs: {};
|
|
31
|
+
rootEl: any;
|
|
32
|
+
};
|
|
33
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
34
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
24
35
|
clicked: (app: AppLike) => any;
|
|
25
36
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
26
37
|
onClicked?: ((app: AppLike) => any) | undefined;
|
|
@@ -28,4 +39,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
28
39
|
showLoadingIndicator: boolean;
|
|
29
40
|
shadow: boolean;
|
|
30
41
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
42
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
43
|
export default _default;
|
|
44
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -10,7 +10,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
10
10
|
size: string;
|
|
11
11
|
icon: string;
|
|
12
12
|
tooltipText: string;
|
|
13
|
-
tooltipLocation: "
|
|
13
|
+
tooltipLocation: "top" | "bottom" | "start" | "end";
|
|
14
14
|
loading: boolean;
|
|
15
15
|
active: boolean;
|
|
16
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
displayed: boolean;
|
|
3
3
|
title: string;
|
|
4
|
-
isLoading
|
|
5
|
-
icon
|
|
6
|
-
confirmTitle
|
|
4
|
+
isLoading?: boolean;
|
|
5
|
+
icon?: string;
|
|
6
|
+
confirmTitle?: string | null;
|
|
7
7
|
};
|
|
8
|
-
declare
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
content?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: any;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
18
|
close: (...args: any[]) => void;
|
|
10
19
|
action: (...args: any[]) => void;
|
|
11
20
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
@@ -14,9 +23,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
14
23
|
}>, {
|
|
15
24
|
icon: string;
|
|
16
25
|
isLoading: boolean;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
26
|
+
confirmTitle: string | null;
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
29
|
export default _default;
|
|
21
30
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
31
|
new (): {
|
|
@@ -10,21 +10,29 @@ type __VLS_Props = {
|
|
|
10
10
|
type __VLS_PublicProps = {
|
|
11
11
|
modelValue: boolean;
|
|
12
12
|
} & __VLS_Props;
|
|
13
|
-
declare
|
|
13
|
+
declare function __VLS_template(): {
|
|
14
|
+
attrs: Partial<{}>;
|
|
15
|
+
slots: {
|
|
16
|
+
activator?(_: {
|
|
17
|
+
props: any;
|
|
18
|
+
}): any;
|
|
19
|
+
title?(_: {}): any;
|
|
20
|
+
content?(_: {}): any;
|
|
21
|
+
};
|
|
22
|
+
refs: {};
|
|
23
|
+
rootEl: any;
|
|
24
|
+
};
|
|
25
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
27
|
close: (...args: any[]) => void;
|
|
15
28
|
delete: (...args: any[]) => void;
|
|
16
29
|
"update:modelValue": (value: boolean) => void;
|
|
17
30
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
19
31
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
32
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
20
33
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
21
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any
|
|
22
|
-
|
|
23
|
-
props: any;
|
|
24
|
-
}): any;
|
|
25
|
-
title?(_: {}): any;
|
|
26
|
-
content?(_: {}): any;
|
|
27
|
-
}>;
|
|
34
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
36
|
export default _default;
|
|
29
37
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
38
|
new (): {
|
|
@@ -9,13 +9,21 @@ interface Props {
|
|
|
9
9
|
cancelText?: string;
|
|
10
10
|
confirmText?: string;
|
|
11
11
|
}
|
|
12
|
-
declare
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
14
|
+
slots: {
|
|
15
|
+
content?(_: {}): any;
|
|
16
|
+
};
|
|
17
|
+
refs: {};
|
|
18
|
+
rootEl: any;
|
|
19
|
+
};
|
|
20
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
22
|
close: (...args: any[]) => void;
|
|
14
23
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
15
24
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any
|
|
17
|
-
|
|
18
|
-
}>;
|
|
25
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
27
|
export default _default;
|
|
20
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
29
|
new (): {
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Whether the limit has been reached (shows crown badge and disables button) */
|
|
3
|
+
limited?: boolean;
|
|
4
|
+
/** Tooltip text shown when limited */
|
|
5
|
+
tooltip?: string;
|
|
6
|
+
/** Tooltip max width */
|
|
7
|
+
tooltipMaxWidth?: number | string;
|
|
8
|
+
/** Button variant */
|
|
9
|
+
variant?: 'flat' | 'text' | 'elevated' | 'tonal' | 'outlined' | 'plain';
|
|
10
|
+
/** Button size */
|
|
11
|
+
size?: 'x-small' | 'small' | 'default' | 'large' | 'x-large';
|
|
12
|
+
/** Button color */
|
|
13
|
+
color?: string;
|
|
14
|
+
/** Icon to show before button text */
|
|
15
|
+
prependIcon?: string;
|
|
16
|
+
};
|
|
17
|
+
declare function __VLS_template(): {
|
|
18
|
+
attrs: Partial<{}>;
|
|
19
|
+
slots: {
|
|
20
|
+
default?(_: {}): any;
|
|
21
|
+
};
|
|
22
|
+
refs: {};
|
|
23
|
+
rootEl: any;
|
|
24
|
+
};
|
|
25
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
+
click: (event: MouseEvent) => any;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
size: "x-small" | "small" | "default" | "large" | "x-large";
|
|
32
|
+
color: string;
|
|
33
|
+
prependIcon: string;
|
|
34
|
+
variant: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
|
|
35
|
+
limited: boolean;
|
|
36
|
+
tooltip: string;
|
|
37
|
+
tooltipMaxWidth: number | string;
|
|
38
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
40
|
+
export default _default;
|
|
41
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
|
-
minWidth?: number
|
|
3
|
-
maxWidth?: number | null
|
|
2
|
+
minWidth?: number;
|
|
3
|
+
maxWidth?: number | null;
|
|
4
4
|
defaultWidth: number;
|
|
5
|
-
minHeight?: number
|
|
6
|
-
maxHeight?: number | null
|
|
7
|
-
defaultHeight?: number
|
|
5
|
+
minHeight?: number;
|
|
6
|
+
maxHeight?: number | null;
|
|
7
|
+
defaultHeight?: number;
|
|
8
8
|
side: string;
|
|
9
|
-
collapsible?: boolean
|
|
9
|
+
collapsible?: boolean;
|
|
10
10
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
11
|
resize: (...args: any[]) => void;
|
|
12
12
|
"resize-end": (...args: any[]) => void;
|
|
13
13
|
collapse: (...args: any[]) => void;
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<{
|
|
15
|
-
minWidth?: number
|
|
16
|
-
maxWidth?: number | null
|
|
15
|
+
minWidth?: number;
|
|
16
|
+
maxWidth?: number | null;
|
|
17
17
|
defaultWidth: number;
|
|
18
|
-
minHeight?: number
|
|
19
|
-
maxHeight?: number | null
|
|
20
|
-
defaultHeight?: number
|
|
18
|
+
minHeight?: number;
|
|
19
|
+
maxHeight?: number | null;
|
|
20
|
+
defaultHeight?: number;
|
|
21
21
|
side: string;
|
|
22
|
-
collapsible?: boolean
|
|
22
|
+
collapsible?: boolean;
|
|
23
23
|
}> & Readonly<{
|
|
24
24
|
onResize?: ((...args: any[]) => any) | undefined;
|
|
25
25
|
"onResize-end"?: ((...args: any[]) => any) | undefined;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Label } from '@antcde/connect-ts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
selectedCount: number;
|
|
4
|
+
fetchLabels: () => Promise<Label[]>;
|
|
5
|
+
isAttaching?: boolean;
|
|
6
|
+
isRemoving?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
activator?(_: {
|
|
12
|
+
props: any;
|
|
13
|
+
isOpen: boolean;
|
|
14
|
+
}): any;
|
|
15
|
+
};
|
|
16
|
+
refs: {};
|
|
17
|
+
rootEl: any;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
attachLabel: (labelId: string) => any;
|
|
22
|
+
removeAll: () => any;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
+
onAttachLabel?: ((labelId: string) => any) | undefined;
|
|
25
|
+
onRemoveAll?: (() => any) | undefined;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Label } from '@antcde/connect-ts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
labels: Label[];
|
|
4
|
+
selectedIds: string[];
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
saving: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
cancel: () => any;
|
|
10
|
+
save: (labelIds: string[]) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onCancel?: (() => any) | undefined;
|
|
13
|
+
onSave?: ((labelIds: string[]) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Label } from '@antcde/connect-ts';
|
|
2
|
+
export interface StackedLabel {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
color?: string | null;
|
|
6
|
+
icon?: string | null;
|
|
7
|
+
}
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
labels: StackedLabel[];
|
|
10
|
+
maxVisible?: number;
|
|
11
|
+
size?: number;
|
|
12
|
+
display?: 'stacked' | 'inline';
|
|
13
|
+
menuEnabled?: boolean;
|
|
14
|
+
showIcon?: boolean;
|
|
15
|
+
fetchLabels?: () => Promise<Label[]>;
|
|
16
|
+
saveLabels?: (labelIds: string[]) => Promise<void>;
|
|
17
|
+
fetchSelectedLabelIds?: () => Promise<string[]>;
|
|
18
|
+
};
|
|
19
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
20
|
+
size: number;
|
|
21
|
+
display: "stacked" | "inline";
|
|
22
|
+
maxVisible: number;
|
|
23
|
+
menuEnabled: boolean;
|
|
24
|
+
showIcon: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
26
|
+
export default _default;
|
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
4
12
|
export default _default;
|
|
5
13
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
14
|
new (): {
|
|
@@ -24,7 +24,7 @@ export declare function useTaskFlow(antConnect: AntConnect, notepad: Notepad): {
|
|
|
24
24
|
position_y: number;
|
|
25
25
|
}) => Promise<void>;
|
|
26
26
|
deleteNode: (nodeId: string) => Promise<void>;
|
|
27
|
-
createEdge: (source: string, target: string, type:
|
|
27
|
+
createEdge: (source: string, target: string, type: "BLOCKED_BY" | "NON_BLOCKING") => Promise<void>;
|
|
28
28
|
deleteEdge: (edgeId: string) => Promise<void>;
|
|
29
29
|
createTriggerNode: (triggerId: string, position?: {
|
|
30
30
|
x: number;
|
|
@@ -32,7 +32,7 @@ export declare function useTaskFlow(antConnect: AntConnect, notepad: Notepad): {
|
|
|
32
32
|
}) => Promise<string | null>;
|
|
33
33
|
addRelationQuery: (edgeId: string, queryId: string) => Promise<void>;
|
|
34
34
|
deleteRelationQuery: (edgeId: string, queryId: string) => Promise<void>;
|
|
35
|
-
setEdgeRelationType: (edgeId: string, newType:
|
|
35
|
+
setEdgeRelationType: (edgeId: string, newType: "BLOCKED_BY" | "NON_BLOCKING") => Promise<void>;
|
|
36
36
|
addTaskRelationQueryApi: import('@antcde/vue-utils').UseApiReturn<import('@antcde/connect-ts').TableQuery | null, [taskId: string, relationId: string, queryId: string], true>;
|
|
37
37
|
deleteTaskRelationQueryApi: import('@antcde/vue-utils').UseApiReturn<{
|
|
38
38
|
id: string;
|
|
@@ -50,21 +50,21 @@ export interface TaskFlowNode {
|
|
|
50
50
|
data: {
|
|
51
51
|
status: string;
|
|
52
52
|
title: string;
|
|
53
|
-
description
|
|
53
|
+
description?: string;
|
|
54
54
|
progress: number;
|
|
55
55
|
script?: string;
|
|
56
56
|
isLocked: boolean;
|
|
57
|
-
app
|
|
57
|
+
app?: {
|
|
58
58
|
title: string;
|
|
59
59
|
color: string;
|
|
60
60
|
icon: string;
|
|
61
|
-
};
|
|
62
|
-
assigned_to
|
|
61
|
+
} | null;
|
|
62
|
+
assigned_to: string | {
|
|
63
63
|
id: string;
|
|
64
64
|
firstname: string;
|
|
65
65
|
lastname: string;
|
|
66
66
|
email: string;
|
|
67
|
-
};
|
|
67
|
+
} | null;
|
|
68
68
|
trigger?: {
|
|
69
69
|
id: string;
|
|
70
70
|
name: string;
|
|
@@ -24,14 +24,14 @@ export declare function useTaskFlowDragDrop(api?: TaskFlowDragDropApi): {
|
|
|
24
24
|
onDrop: (event: DragEvent, createNodeFn: (position?: {
|
|
25
25
|
x: number;
|
|
26
26
|
y: number;
|
|
27
|
-
}) => Promise<string | null>, createTriggerNodeFn?: (
|
|
27
|
+
}) => Promise<string | null>, createTriggerNodeFn?: (id: string, position?: {
|
|
28
28
|
x: number;
|
|
29
29
|
y: number;
|
|
30
|
-
}) => Promise<string | null
|
|
30
|
+
}) => Promise<string | null>, persistPositionFn?: (data: {
|
|
31
31
|
id: string;
|
|
32
32
|
position_x: number;
|
|
33
33
|
position_y: number;
|
|
34
|
-
}) => Promise<void>)
|
|
34
|
+
}) => Promise<void>) => Promise<void>;
|
|
35
35
|
onDragEnd: () => void;
|
|
36
36
|
};
|
|
37
37
|
export {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -11,13 +11,17 @@ import { default as BaseClickableIcon } from './components/BaseClickableIcon.vue
|
|
|
11
11
|
import { default as BaseConfirmDialog } from './components/BaseConfirmDialog.vue';
|
|
12
12
|
import { default as BaseDeleteDialog } from './components/BaseDeleteDialog.vue';
|
|
13
13
|
import { default as BaseDialog } from './components/BaseDialog.vue';
|
|
14
|
+
import { default as BaseLimitedButton } from './components/BaseLimitedButton.vue';
|
|
14
15
|
import { default as BaseResizePanel } from './components/BaseResizePanel.vue';
|
|
16
|
+
import { default as BulkLabelsMenu } from './components/BulkLabelsMenu.vue';
|
|
15
17
|
import { default as GlobalLabelBadge } from './components/GlobalLabelBadge.vue';
|
|
16
18
|
import { default as PermissionCard } from './components/RBAC/Permissions/PermissionCard.vue';
|
|
19
|
+
import { default as StackedLabels } from './components/StackedLabels/index.vue';
|
|
17
20
|
import { default as TaskFlow } from './components/TasksFlow/index.vue';
|
|
18
21
|
export type { AppLike } from './components/BaseAppCard.vue';
|
|
22
|
+
export type { StackedLabel } from './components/StackedLabels/index.vue';
|
|
19
23
|
export * from '@antcde/vue-utils';
|
|
20
|
-
export { BaseAntButton, BaseAntCard, BaseAntCreateCard, BaseAntDatePicker, BaseAntInput, BaseAntLoading, BaseAppCard, BaseAppCardSkeleton, BaseClickableIcon, BaseConfirmDialog, BaseDeleteDialog, BaseDialog, BaseResizePanel, GlobalLabelBadge, PermissionCard, TaskFlow, };
|
|
24
|
+
export { BaseAntButton, BaseAntCard, BaseAntCreateCard, BaseAntDatePicker, BaseAntInput, BaseAntLoading, BaseAppCard, BaseAppCardSkeleton, BaseClickableIcon, BaseConfirmDialog, BaseDeleteDialog, BaseDialog, BaseLimitedButton, BaseResizePanel, BulkLabelsMenu, GlobalLabelBadge, PermissionCard, StackedLabels, TaskFlow, };
|
|
21
25
|
declare const _default: {
|
|
22
26
|
install: (app: App) => void;
|
|
23
27
|
};
|
package/package.json
CHANGED
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antcde/component-library",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.14-rc.0cf856e",
|
|
5
5
|
"description": "Helper to use ant components in Vue 3",
|
|
6
6
|
"author": "CollaborAll",
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "https://npm.antcde.io"
|
|
10
|
-
},
|
|
11
|
-
"publishConfig": {
|
|
12
|
-
"registry": "https://npm.antcde.io"
|
|
13
|
-
},
|
|
14
7
|
"exports": {
|
|
15
8
|
".": {
|
|
16
9
|
"types": "./dist/types/index.d.ts",
|
|
@@ -54,55 +47,6 @@
|
|
|
54
47
|
"README.md",
|
|
55
48
|
"package.json"
|
|
56
49
|
],
|
|
57
|
-
"dependencies": {
|
|
58
|
-
"@arcgis/core": "^4.30.9",
|
|
59
|
-
"@mdi/font": "^7.2.96",
|
|
60
|
-
"@vue-flow/background": "^1.3.2",
|
|
61
|
-
"@vue-flow/core": "^1.41.6",
|
|
62
|
-
"@vue-flow/minimap": "^1.4.0",
|
|
63
|
-
"@vueuse/core": "^12.0.0",
|
|
64
|
-
"dayjs": "^1.11.13",
|
|
65
|
-
"qs": "^6.13.1",
|
|
66
|
-
"uuid": "^10.0.0",
|
|
67
|
-
"vue": "^3.5.10",
|
|
68
|
-
"vue-i18n": "^10.0.1",
|
|
69
|
-
"vue-router": "^4.4.4",
|
|
70
|
-
"vuetify": "^3.7.4",
|
|
71
|
-
"@antcde/vue-utils": "0.2.11",
|
|
72
|
-
"@antcde/connect-ts": "0.4.14"
|
|
73
|
-
},
|
|
74
|
-
"bundleDependencies": [
|
|
75
|
-
"vue",
|
|
76
|
-
"vuetify"
|
|
77
|
-
],
|
|
78
|
-
"devDependencies": {
|
|
79
|
-
"@iconify-json/mdi": "^1.2.2",
|
|
80
|
-
"@iconify/vue": "^5.0.0",
|
|
81
|
-
"@arcgis/core": "^4.30.9",
|
|
82
|
-
"@intlify/unplugin-vue-i18n": "^6.0.1",
|
|
83
|
-
"@mdi/font": "^7.2.96",
|
|
84
|
-
"@tsconfig/node20": "^20.1.4",
|
|
85
|
-
"@types/node": "^22.9.3",
|
|
86
|
-
"@types/qs": "^6.9.17",
|
|
87
|
-
"@types/uuid": "^10.0.0",
|
|
88
|
-
"@vitejs/plugin-vue": "^5.2.1",
|
|
89
|
-
"@vue/tsconfig": "^0.5.1",
|
|
90
|
-
"@vueuse/core": "^12.0.0",
|
|
91
|
-
"axios": "^1.7.9",
|
|
92
|
-
"esbuild": "0.24.0",
|
|
93
|
-
"glob": "^11.0.0",
|
|
94
|
-
"npm-run-all2": "^6.2.3",
|
|
95
|
-
"pinia": "^2.3.0",
|
|
96
|
-
"rxjs": "^7.8.1",
|
|
97
|
-
"sass": "^1.83.4",
|
|
98
|
-
"typescript": "~5.5.4",
|
|
99
|
-
"vite": "^6.0.11",
|
|
100
|
-
"vite-plugin-dts": "^4.3.0",
|
|
101
|
-
"vite-plugin-vuetify": "^2.0.4",
|
|
102
|
-
"vue-cli-plugin-vuetify": "~2.5.8",
|
|
103
|
-
"vue-tsc": "^2.2.0",
|
|
104
|
-
"unplugin-icons": "^22.0.0"
|
|
105
|
-
},
|
|
106
50
|
"scripts": {
|
|
107
51
|
"dev": "vite",
|
|
108
52
|
"build": "vite build",
|
|
@@ -114,5 +58,50 @@
|
|
|
114
58
|
"type-check": "vue-tsc --build --force",
|
|
115
59
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
116
60
|
"format": "prettier --write src/"
|
|
61
|
+
},
|
|
62
|
+
"peerDependencies": {
|
|
63
|
+
"vue": "^3.5.29",
|
|
64
|
+
"vuetify": "^3.12.1"
|
|
65
|
+
},
|
|
66
|
+
"dependencies": {
|
|
67
|
+
"@antcde/connect-ts": "0.4.17-rc.0cf856e",
|
|
68
|
+
"@antcde/vue-utils": "0.2.13-rc.0cf856e",
|
|
69
|
+
"@arcgis/core": "^4.34.8",
|
|
70
|
+
"@mdi/font": "^7.4.47",
|
|
71
|
+
"@vue-flow/background": "^1.3.2",
|
|
72
|
+
"@vue-flow/core": "^1.48.2",
|
|
73
|
+
"@vue-flow/minimap": "^1.5.4",
|
|
74
|
+
"@vueuse/core": "^14.2.1",
|
|
75
|
+
"dayjs": "^1.11.20",
|
|
76
|
+
"qs": "^6.15.0",
|
|
77
|
+
"uuid": "^13.0.0",
|
|
78
|
+
"vue-i18n": "^11.3.2",
|
|
79
|
+
"vue-router": "^5.0.4"
|
|
80
|
+
},
|
|
81
|
+
"devDependencies": {
|
|
82
|
+
"@arcgis/core": "^4.30.9",
|
|
83
|
+
"@iconify-json/mdi": "^1.2.3",
|
|
84
|
+
"@iconify/vue": "^5.0.0",
|
|
85
|
+
"@intlify/unplugin-vue-i18n": "^11.0.7",
|
|
86
|
+
"@mdi/font": "^7.2.96",
|
|
87
|
+
"@tsconfig/node20": "^20.1.9",
|
|
88
|
+
"@types/node": "^22.19.17",
|
|
89
|
+
"@types/qs": "^6.15.0",
|
|
90
|
+
"@vitejs/plugin-vue": "^6.0.5",
|
|
91
|
+
"@vue/tsconfig": "^0.8.1",
|
|
92
|
+
"axios": "^1.14.0",
|
|
93
|
+
"esbuild": "0.27.2",
|
|
94
|
+
"glob": "^13.0.6",
|
|
95
|
+
"npm-run-all2": "^6.2.6",
|
|
96
|
+
"pinia": "^3.0.4",
|
|
97
|
+
"rxjs": "^7.8.2",
|
|
98
|
+
"sass": "^1.99.0",
|
|
99
|
+
"typescript": "~5.9.3",
|
|
100
|
+
"unplugin-icons": "^23.0.1",
|
|
101
|
+
"vite": "^7.3.2",
|
|
102
|
+
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
103
|
+
"vite-plugin-dts": "^4.5.4",
|
|
104
|
+
"vite-plugin-vuetify": "^2.1.3",
|
|
105
|
+
"vue-tsc": "^3.2.6"
|
|
117
106
|
}
|
|
118
|
-
}
|
|
107
|
+
}
|