@expcat/tigercat-vue 2.1.4 → 2.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/chunk-2WUDJQT7.mjs +219 -0
- package/dist/{chunk-4KFAGTGA.mjs → chunk-3GNK4XIP.mjs} +1 -1
- package/dist/{chunk-MWYNO42Z.mjs → chunk-5IVN54XY.mjs} +1 -1
- package/dist/{chunk-BFIYTA3E.mjs → chunk-72XR5ZIW.mjs} +6 -2
- package/dist/{chunk-XCIQNTJN.mjs → chunk-77L52YWC.mjs} +37 -5
- package/dist/chunk-7L5MXXHC.mjs +85 -0
- package/dist/{chunk-FZQAYEIU.mjs → chunk-AIONRIMJ.mjs} +1 -1
- package/dist/{chunk-ETJ4QD6U.mjs → chunk-AYCK22RG.mjs} +1 -1
- package/dist/{chunk-35JLHFUT.mjs → chunk-ETW3MBHS.mjs} +22 -1
- package/dist/{chunk-ZHAIO7DA.mjs → chunk-GAIFRCYZ.mjs} +6 -3
- package/dist/chunk-GFSZU7EJ.mjs +98 -0
- package/dist/{chunk-TQEN6GDE.mjs → chunk-IKM3NBMK.mjs} +5 -6
- package/dist/chunk-JUSJUVFQ.mjs +76 -0
- package/dist/chunk-OEHI4BZZ.mjs +168 -0
- package/dist/{chunk-ZW2VXGO3.mjs → chunk-RBST5GCI.mjs} +6 -3
- package/dist/{chunk-HSKBYNCP.mjs → chunk-ZMSGID63.mjs} +7 -5
- package/dist/components/ActivityFeed.mjs +2 -2
- package/dist/components/Anchor.mjs +1 -1
- package/dist/components/BackTop.mjs +1 -1
- package/dist/components/Calendar.d.mts +12 -3
- package/dist/components/Calendar.mjs +1 -1
- package/dist/components/Code.d.mts +19 -1
- package/dist/components/Code.mjs +1 -1
- package/dist/components/CodeEditor.d.mts +2 -2
- package/dist/components/CommentThread.d.mts +1 -1
- package/dist/components/CommentThread.mjs +2 -2
- package/dist/components/DataTableWithToolbar.mjs +1 -1
- package/dist/components/DatePicker.mjs +2 -2
- package/dist/components/Drag.d.mts +62 -0
- package/dist/components/Drag.mjs +9 -0
- package/dist/components/Footer.d.mts +10 -0
- package/dist/components/Footer.mjs +1 -1
- package/dist/components/FormWizard.d.mts +1 -1
- package/dist/components/FullscreenButton.d.mts +58 -0
- package/dist/components/FullscreenButton.mjs +10 -0
- package/dist/components/Icon.d.mts +3 -3
- package/dist/components/Loading.d.mts +1 -1
- package/dist/components/Menu.d.mts +4 -4
- package/dist/components/Menu.mjs +1 -1
- package/dist/components/NotificationCenter.mjs +2 -2
- package/dist/components/ScrollSpy.mjs +1 -1
- package/dist/components/Text.d.mts +23 -73
- package/dist/components/Text.mjs +2 -1
- package/dist/components/WorkflowTimeline.d.mts +150 -0
- package/dist/components/WorkflowTimeline.mjs +15 -0
- package/dist/composables/useFullscreen.d.mts +14 -0
- package/dist/composables/useFullscreen.mjs +6 -0
- package/dist/index.d.mts +6 -2
- package/dist/index.mjs +64 -0
- package/package.json +27 -2
- package/dist/chunk-I77GUQV4.mjs +0 -93
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { TigerLocale, TigerLocaleFullscreen } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
interface VueFullscreenButtonProps {
|
|
6
|
+
target?: Element | (() => Element | null | undefined) | null;
|
|
7
|
+
locale?: Partial<TigerLocale>;
|
|
8
|
+
labels?: Partial<TigerLocaleFullscreen>;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
type FullscreenButtonProps = VueFullscreenButtonProps;
|
|
12
|
+
declare const FullscreenButton: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
13
|
+
target: {
|
|
14
|
+
type: PropType<Element | (() => Element | null | undefined) | null>;
|
|
15
|
+
default: undefined;
|
|
16
|
+
};
|
|
17
|
+
locale: {
|
|
18
|
+
type: PropType<Partial<TigerLocale>>;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
labels: {
|
|
22
|
+
type: PropType<Partial<TigerLocaleFullscreen>>;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
className: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "error")[], "change" | "error", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
32
|
+
target: {
|
|
33
|
+
type: PropType<Element | (() => Element | null | undefined) | null>;
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
locale: {
|
|
37
|
+
type: PropType<Partial<TigerLocale>>;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
labels: {
|
|
41
|
+
type: PropType<Partial<TigerLocaleFullscreen>>;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
className: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: undefined;
|
|
47
|
+
};
|
|
48
|
+
}>> & Readonly<{
|
|
49
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
}>, {
|
|
52
|
+
locale: Partial<TigerLocale>;
|
|
53
|
+
labels: Partial<TigerLocaleFullscreen>;
|
|
54
|
+
className: string;
|
|
55
|
+
target: Element | (() => Element | null | undefined) | null;
|
|
56
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
57
|
+
|
|
58
|
+
export { FullscreenButton, type FullscreenButtonProps, type VueFullscreenButtonProps, FullscreenButton as default };
|
|
@@ -14,7 +14,7 @@ declare const Icon: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
14
14
|
* set when no custom SVG children are provided.
|
|
15
15
|
*/
|
|
16
16
|
name: {
|
|
17
|
-
type: PropType<IconName>;
|
|
17
|
+
type: PropType<IconName | (string & {})>;
|
|
18
18
|
default: undefined;
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
@@ -48,7 +48,7 @@ declare const Icon: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
48
48
|
* set when no custom SVG children are provided.
|
|
49
49
|
*/
|
|
50
50
|
name: {
|
|
51
|
-
type: PropType<IconName>;
|
|
51
|
+
type: PropType<IconName | (string & {})>;
|
|
52
52
|
default: undefined;
|
|
53
53
|
};
|
|
54
54
|
/**
|
|
@@ -75,7 +75,7 @@ declare const Icon: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
75
75
|
default: undefined;
|
|
76
76
|
};
|
|
77
77
|
}>> & Readonly<{}>, {
|
|
78
|
-
name: "image" | "upload" | "calendar" | "filter" | "link" | "menu" | "search" | "close" | "copy" | "error" | "phone" | "success" | "warning" | "home" | "info" | "check" | "chevron-up" | "chevron-down" | "chevron-left" | "chevron-right" | "arrow-left" | "arrow-right" | "arrow-up" | "arrow-down" | "plus" | "minus" | "edit" | "trash" | "user" | "settings" | "eye" | "eye-off" | "clock" | "more-horizontal" | "more-vertical" | "external-link" | "bell" | "mail" | "download" | "refresh" | "logout" | "lock" | "star" | "heart" | "document" | "folder" | "map-pin" | "check-circle" | "x-circle" | "users" | "dashboard";
|
|
78
|
+
name: "image" | "upload" | "calendar" | "fullscreen" | "chart" | "filter" | "link" | "menu" | "search" | "close" | "copy" | "error" | "phone" | "success" | "warning" | (string & {}) | "home" | "info" | "check" | "chevron-up" | "chevron-down" | "chevron-left" | "chevron-right" | "arrow-left" | "arrow-right" | "arrow-up" | "arrow-down" | "plus" | "minus" | "edit" | "trash" | "user" | "settings" | "eye" | "eye-off" | "clock" | "more-horizontal" | "more-vertical" | "external-link" | "bell" | "mail" | "download" | "refresh" | "logout" | "lock" | "star" | "heart" | "document" | "folder" | "map-pin" | "check-circle" | "x-circle" | "users" | "dashboard" | "fullscreen-exit" | "ticket" | "bolt" | "zap" | "chart-bar" | "database";
|
|
79
79
|
size: IconSize;
|
|
80
80
|
color: string;
|
|
81
81
|
icon: IconDefinition;
|
|
@@ -118,13 +118,13 @@ declare const Loading: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
118
118
|
};
|
|
119
119
|
}>> & Readonly<{}>, {
|
|
120
120
|
locale: Partial<TigerLocale>;
|
|
121
|
+
fullscreen: boolean;
|
|
121
122
|
style: Record<string, string | number>;
|
|
122
123
|
size: LoadingSize;
|
|
123
124
|
className: string;
|
|
124
125
|
variant: LoadingVariant;
|
|
125
126
|
color: LoadingColor;
|
|
126
127
|
text: string;
|
|
127
|
-
fullscreen: boolean;
|
|
128
128
|
spinning: boolean;
|
|
129
129
|
delay: number;
|
|
130
130
|
background: string;
|
|
@@ -40,7 +40,7 @@ interface VueMenuProps {
|
|
|
40
40
|
popupPortal?: boolean;
|
|
41
41
|
className?: string;
|
|
42
42
|
style?: MenuProps$1['style'];
|
|
43
|
-
searchable?: boolean;
|
|
43
|
+
searchable?: boolean | 'auto';
|
|
44
44
|
searchValue?: string;
|
|
45
45
|
defaultSearchValue?: string;
|
|
46
46
|
searchPlaceholder?: string;
|
|
@@ -102,7 +102,7 @@ declare const Menu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
102
102
|
default: undefined;
|
|
103
103
|
};
|
|
104
104
|
searchable: {
|
|
105
|
-
type:
|
|
105
|
+
type: PropType<boolean | "auto">;
|
|
106
106
|
default: boolean;
|
|
107
107
|
};
|
|
108
108
|
searchValue: {
|
|
@@ -181,7 +181,7 @@ declare const Menu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
181
181
|
default: undefined;
|
|
182
182
|
};
|
|
183
183
|
searchable: {
|
|
184
|
-
type:
|
|
184
|
+
type: PropType<boolean | "auto">;
|
|
185
185
|
default: boolean;
|
|
186
186
|
};
|
|
187
187
|
searchValue: {
|
|
@@ -218,7 +218,7 @@ declare const Menu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
218
218
|
emptyText: string;
|
|
219
219
|
searchPlaceholder: string;
|
|
220
220
|
className: string;
|
|
221
|
-
searchable: boolean;
|
|
221
|
+
searchable: boolean | "auto";
|
|
222
222
|
multiple: boolean;
|
|
223
223
|
searchValue: string;
|
|
224
224
|
defaultSearchValue: string;
|
package/dist/components/Menu.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NotificationCenter,
|
|
3
3
|
NotificationCenter_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-AIONRIMJ.mjs";
|
|
5
5
|
import "../chunk-B4RZHDOU.mjs";
|
|
6
6
|
import "../chunk-66JX7T3H.mjs";
|
|
7
7
|
import "../chunk-DXL3YHRP.mjs";
|
|
@@ -9,7 +9,7 @@ import "../chunk-IOSUZR6Z.mjs";
|
|
|
9
9
|
import "../chunk-SZO4WL42.mjs";
|
|
10
10
|
import "../chunk-X7UK3A6Z.mjs";
|
|
11
11
|
import "../chunk-NWPALCKN.mjs";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-OEHI4BZZ.mjs";
|
|
13
13
|
import "../chunk-W4A6L2TC.mjs";
|
|
14
14
|
import "../chunk-FEVDV3I6.mjs";
|
|
15
15
|
import "../chunk-4KIZXFFG.mjs";
|
|
@@ -1,153 +1,102 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import { TextTag, TextSize, TextWeight, TextAlign, TextColor, TextProps } from '@expcat/tigercat-core';
|
|
3
|
+
import { TextTag, TextSize, TextWeight, TextAlign, TextColor, TextCopyable, TigerLocale, TextProps } from '@expcat/tigercat-core';
|
|
4
4
|
|
|
5
5
|
type VueTextProps = TextProps;
|
|
6
6
|
declare const Text: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
7
|
-
/**
|
|
8
|
-
* HTML tag to render. Only the TextTag whitelist is allowed.
|
|
9
|
-
* @default 'p'
|
|
10
|
-
*/
|
|
11
7
|
tag: {
|
|
12
8
|
type: PropType<TextTag>;
|
|
13
9
|
default: TextTag;
|
|
14
10
|
};
|
|
15
|
-
/**
|
|
16
|
-
* Text size
|
|
17
|
-
* @default 'base'
|
|
18
|
-
*/
|
|
19
11
|
size: {
|
|
20
12
|
type: PropType<TextSize>;
|
|
21
13
|
default: TextSize;
|
|
22
14
|
};
|
|
23
|
-
/**
|
|
24
|
-
* Font weight
|
|
25
|
-
* @default 'normal'
|
|
26
|
-
*/
|
|
27
15
|
weight: {
|
|
28
16
|
type: PropType<TextWeight>;
|
|
29
17
|
default: TextWeight;
|
|
30
18
|
};
|
|
31
|
-
/**
|
|
32
|
-
* Logical text alignment (`start` / `center` / `end` / `justify`)
|
|
33
|
-
*/
|
|
34
19
|
align: {
|
|
35
20
|
type: PropType<TextAlign>;
|
|
36
21
|
};
|
|
37
|
-
/**
|
|
38
|
-
* Text color
|
|
39
|
-
* @default 'default'
|
|
40
|
-
*/
|
|
41
22
|
color: {
|
|
42
23
|
type: PropType<TextColor>;
|
|
43
24
|
default: TextColor;
|
|
44
25
|
};
|
|
45
|
-
/**
|
|
46
|
-
* Truncate text with ellipsis
|
|
47
|
-
* @default false
|
|
48
|
-
*/
|
|
49
26
|
truncate: {
|
|
50
27
|
type: BooleanConstructor;
|
|
51
28
|
default: boolean;
|
|
52
29
|
};
|
|
53
|
-
/**
|
|
54
|
-
* Italic text style
|
|
55
|
-
* @default false
|
|
56
|
-
*/
|
|
57
30
|
italic: {
|
|
58
31
|
type: BooleanConstructor;
|
|
59
32
|
default: boolean;
|
|
60
33
|
};
|
|
61
|
-
/**
|
|
62
|
-
* Underline text decoration
|
|
63
|
-
* @default false
|
|
64
|
-
*/
|
|
65
34
|
underline: {
|
|
66
35
|
type: BooleanConstructor;
|
|
67
36
|
default: boolean;
|
|
68
37
|
};
|
|
69
|
-
/**
|
|
70
|
-
* Line-through text decoration
|
|
71
|
-
* @default false
|
|
72
|
-
*/
|
|
73
38
|
lineThrough: {
|
|
74
39
|
type: BooleanConstructor;
|
|
75
40
|
default: boolean;
|
|
76
41
|
};
|
|
42
|
+
copyable: {
|
|
43
|
+
type: PropType<TextCopyable>;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
locale: {
|
|
47
|
+
type: PropType<Partial<TigerLocale>>;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
77
50
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
78
51
|
[key: string]: any;
|
|
79
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin,
|
|
80
|
-
/**
|
|
81
|
-
* HTML tag to render. Only the TextTag whitelist is allowed.
|
|
82
|
-
* @default 'p'
|
|
83
|
-
*/
|
|
52
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "copy"[], "copy", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
84
53
|
tag: {
|
|
85
54
|
type: PropType<TextTag>;
|
|
86
55
|
default: TextTag;
|
|
87
56
|
};
|
|
88
|
-
/**
|
|
89
|
-
* Text size
|
|
90
|
-
* @default 'base'
|
|
91
|
-
*/
|
|
92
57
|
size: {
|
|
93
58
|
type: PropType<TextSize>;
|
|
94
59
|
default: TextSize;
|
|
95
60
|
};
|
|
96
|
-
/**
|
|
97
|
-
* Font weight
|
|
98
|
-
* @default 'normal'
|
|
99
|
-
*/
|
|
100
61
|
weight: {
|
|
101
62
|
type: PropType<TextWeight>;
|
|
102
63
|
default: TextWeight;
|
|
103
64
|
};
|
|
104
|
-
/**
|
|
105
|
-
* Logical text alignment (`start` / `center` / `end` / `justify`)
|
|
106
|
-
*/
|
|
107
65
|
align: {
|
|
108
66
|
type: PropType<TextAlign>;
|
|
109
67
|
};
|
|
110
|
-
/**
|
|
111
|
-
* Text color
|
|
112
|
-
* @default 'default'
|
|
113
|
-
*/
|
|
114
68
|
color: {
|
|
115
69
|
type: PropType<TextColor>;
|
|
116
70
|
default: TextColor;
|
|
117
71
|
};
|
|
118
|
-
/**
|
|
119
|
-
* Truncate text with ellipsis
|
|
120
|
-
* @default false
|
|
121
|
-
*/
|
|
122
72
|
truncate: {
|
|
123
73
|
type: BooleanConstructor;
|
|
124
74
|
default: boolean;
|
|
125
75
|
};
|
|
126
|
-
/**
|
|
127
|
-
* Italic text style
|
|
128
|
-
* @default false
|
|
129
|
-
*/
|
|
130
76
|
italic: {
|
|
131
77
|
type: BooleanConstructor;
|
|
132
78
|
default: boolean;
|
|
133
79
|
};
|
|
134
|
-
/**
|
|
135
|
-
* Underline text decoration
|
|
136
|
-
* @default false
|
|
137
|
-
*/
|
|
138
80
|
underline: {
|
|
139
81
|
type: BooleanConstructor;
|
|
140
82
|
default: boolean;
|
|
141
83
|
};
|
|
142
|
-
/**
|
|
143
|
-
* Line-through text decoration
|
|
144
|
-
* @default false
|
|
145
|
-
*/
|
|
146
84
|
lineThrough: {
|
|
147
85
|
type: BooleanConstructor;
|
|
148
86
|
default: boolean;
|
|
149
87
|
};
|
|
150
|
-
|
|
88
|
+
copyable: {
|
|
89
|
+
type: PropType<TextCopyable>;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
locale: {
|
|
93
|
+
type: PropType<Partial<TigerLocale>>;
|
|
94
|
+
default: undefined;
|
|
95
|
+
};
|
|
96
|
+
}>> & Readonly<{
|
|
97
|
+
onCopy?: ((...args: any[]) => any) | undefined;
|
|
98
|
+
}>, {
|
|
99
|
+
locale: Partial<TigerLocale>;
|
|
151
100
|
italic: boolean;
|
|
152
101
|
underline: boolean;
|
|
153
102
|
size: TextSize;
|
|
@@ -156,6 +105,7 @@ declare const Text: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
156
105
|
weight: TextWeight;
|
|
157
106
|
tag: TextTag;
|
|
158
107
|
lineThrough: boolean;
|
|
108
|
+
copyable: TextCopyable;
|
|
159
109
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
160
110
|
|
|
161
111
|
export { Text, type VueTextProps, Text as default };
|
package/dist/components/Text.mjs
CHANGED
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { WorkflowActionBarProps as WorkflowActionBarProps$1, WorkflowTimelineProps as WorkflowTimelineProps$1, WorkflowActionBarItem, WorkflowTimelineStep, TimelineMode } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
interface VueWorkflowActionBarProps extends WorkflowActionBarProps$1 {
|
|
6
|
+
style?: Record<string, unknown>;
|
|
7
|
+
}
|
|
8
|
+
interface VueWorkflowTimelineProps extends WorkflowTimelineProps$1 {
|
|
9
|
+
style?: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
type WorkflowActionBarProps = VueWorkflowActionBarProps;
|
|
12
|
+
type WorkflowTimelineProps = VueWorkflowTimelineProps;
|
|
13
|
+
declare const WorkflowActionBar: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
14
|
+
items: {
|
|
15
|
+
type: PropType<WorkflowActionBarItem[]>;
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
disabled: BooleanConstructor;
|
|
19
|
+
ariaLabel: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: undefined;
|
|
22
|
+
};
|
|
23
|
+
className: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: undefined;
|
|
26
|
+
};
|
|
27
|
+
style: {
|
|
28
|
+
type: PropType<Record<string, unknown>>;
|
|
29
|
+
default: undefined;
|
|
30
|
+
};
|
|
31
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "action"[], "action", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
34
|
+
items: {
|
|
35
|
+
type: PropType<WorkflowActionBarItem[]>;
|
|
36
|
+
default: undefined;
|
|
37
|
+
};
|
|
38
|
+
disabled: BooleanConstructor;
|
|
39
|
+
ariaLabel: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: undefined;
|
|
42
|
+
};
|
|
43
|
+
className: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: undefined;
|
|
46
|
+
};
|
|
47
|
+
style: {
|
|
48
|
+
type: PropType<Record<string, unknown>>;
|
|
49
|
+
default: undefined;
|
|
50
|
+
};
|
|
51
|
+
}>> & Readonly<{
|
|
52
|
+
onAction?: ((...args: any[]) => any) | undefined;
|
|
53
|
+
}>, {
|
|
54
|
+
style: Record<string, unknown>;
|
|
55
|
+
ariaLabel: string;
|
|
56
|
+
className: string;
|
|
57
|
+
disabled: boolean;
|
|
58
|
+
items: WorkflowActionBarItem[];
|
|
59
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
60
|
+
declare const WorkflowTimeline: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
61
|
+
steps: {
|
|
62
|
+
type: PropType<WorkflowTimelineStep[]>;
|
|
63
|
+
default: undefined;
|
|
64
|
+
};
|
|
65
|
+
actions: {
|
|
66
|
+
type: PropType<WorkflowActionBarItem[]>;
|
|
67
|
+
default: undefined;
|
|
68
|
+
};
|
|
69
|
+
showActions: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: undefined;
|
|
72
|
+
};
|
|
73
|
+
mode: {
|
|
74
|
+
type: PropType<TimelineMode>;
|
|
75
|
+
default: TimelineMode;
|
|
76
|
+
};
|
|
77
|
+
pending: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
pendingDot: {
|
|
82
|
+
type: PropType<unknown>;
|
|
83
|
+
default: undefined;
|
|
84
|
+
};
|
|
85
|
+
reverse: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
className: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: undefined;
|
|
92
|
+
};
|
|
93
|
+
style: {
|
|
94
|
+
type: PropType<Record<string, unknown>>;
|
|
95
|
+
default: undefined;
|
|
96
|
+
};
|
|
97
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
98
|
+
[key: string]: any;
|
|
99
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "action"[], "action", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
100
|
+
steps: {
|
|
101
|
+
type: PropType<WorkflowTimelineStep[]>;
|
|
102
|
+
default: undefined;
|
|
103
|
+
};
|
|
104
|
+
actions: {
|
|
105
|
+
type: PropType<WorkflowActionBarItem[]>;
|
|
106
|
+
default: undefined;
|
|
107
|
+
};
|
|
108
|
+
showActions: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: undefined;
|
|
111
|
+
};
|
|
112
|
+
mode: {
|
|
113
|
+
type: PropType<TimelineMode>;
|
|
114
|
+
default: TimelineMode;
|
|
115
|
+
};
|
|
116
|
+
pending: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
pendingDot: {
|
|
121
|
+
type: PropType<unknown>;
|
|
122
|
+
default: undefined;
|
|
123
|
+
};
|
|
124
|
+
reverse: {
|
|
125
|
+
type: BooleanConstructor;
|
|
126
|
+
default: boolean;
|
|
127
|
+
};
|
|
128
|
+
className: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
default: undefined;
|
|
131
|
+
};
|
|
132
|
+
style: {
|
|
133
|
+
type: PropType<Record<string, unknown>>;
|
|
134
|
+
default: undefined;
|
|
135
|
+
};
|
|
136
|
+
}>> & Readonly<{
|
|
137
|
+
onAction?: ((...args: any[]) => any) | undefined;
|
|
138
|
+
}>, {
|
|
139
|
+
steps: WorkflowTimelineStep[];
|
|
140
|
+
reverse: boolean;
|
|
141
|
+
mode: TimelineMode;
|
|
142
|
+
style: Record<string, unknown>;
|
|
143
|
+
className: string;
|
|
144
|
+
pending: boolean;
|
|
145
|
+
actions: WorkflowActionBarItem[];
|
|
146
|
+
pendingDot: undefined;
|
|
147
|
+
showActions: boolean;
|
|
148
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
149
|
+
|
|
150
|
+
export { type VueWorkflowActionBarProps, type VueWorkflowTimelineProps, WorkflowActionBar, type WorkflowActionBarProps, WorkflowTimeline, type WorkflowTimelineProps, WorkflowTimeline as default };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
WorkflowActionBar,
|
|
3
|
+
WorkflowTimeline,
|
|
4
|
+
WorkflowTimeline_default
|
|
5
|
+
} from "../chunk-2WUDJQT7.mjs";
|
|
6
|
+
import "../chunk-K46SNCCE.mjs";
|
|
7
|
+
import "../chunk-7PLYHGMY.mjs";
|
|
8
|
+
import "../chunk-4KIZXFFG.mjs";
|
|
9
|
+
import "../chunk-4QMHNTUU.mjs";
|
|
10
|
+
import "../chunk-4GOTWNOO.mjs";
|
|
11
|
+
export {
|
|
12
|
+
WorkflowActionBar,
|
|
13
|
+
WorkflowTimeline,
|
|
14
|
+
WorkflowTimeline_default as default
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ref, MaybeRefOrGetter } from 'vue';
|
|
2
|
+
import { UseFullscreenOptions } from '@expcat/tigercat-core';
|
|
3
|
+
export { UseFullscreenOptions } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
interface UseFullscreenReturn {
|
|
6
|
+
isFullscreen: ReturnType<typeof ref<boolean>>;
|
|
7
|
+
supported: boolean;
|
|
8
|
+
enter: () => Promise<void>;
|
|
9
|
+
exit: () => Promise<void>;
|
|
10
|
+
toggle: () => Promise<void>;
|
|
11
|
+
}
|
|
12
|
+
declare function useFullscreen(options?: MaybeRefOrGetter<UseFullscreenOptions>): UseFullscreenReturn;
|
|
13
|
+
|
|
14
|
+
export { type UseFullscreenReturn, useFullscreen };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from '@expcat/tigercat-core';
|
|
2
|
-
export { AutoCompleteOption, BackTopProps, CarouselMethods, CascaderModelValue, CascaderOption, CascaderValue, ChatWindowHandle, ColorFormat, DrawerPlacement, DrawerSize, ListItem, LoadingBarOptions, LoadingBarProps, LoadingProps, MentionOption, MessageOptions, MessageProps, NotificationOptions, NotificationProps, PrintLayoutInstance, ProgressProps, ScrollAreaInstance, SelectOption, SelectOptions, TableColumn, TigerConfig, TreeNode, TreeSelectValue, UploadFile, UseDragOptions, VirtualListHandle, VirtualTableHandle } from '@expcat/tigercat-core';
|
|
2
|
+
export { AutoCompleteOption, BackTopProps, CarouselMethods, CascaderModelValue, CascaderOption, CascaderValue, ChatWindowHandle, ColorFormat, DrawerPlacement, DrawerSize, ListItem, LoadingBarOptions, LoadingBarProps, LoadingProps, MentionOption, MessageOptions, MessageProps, NotificationOptions, NotificationProps, PrintLayoutInstance, ProgressProps, ScrollAreaInstance, SelectOption, SelectOptions, TableColumn, TigerConfig, TreeNode, TreeSelectValue, UploadFile, UseDragOptions, UseFullscreenOptions, VirtualListHandle, VirtualTableHandle } from '@expcat/tigercat-core';
|
|
3
3
|
export { ConfigProvider, VueConfigProviderProps, useTigerConfig } from './components/ConfigProvider.mjs';
|
|
4
4
|
export { Button, VueButtonProps } from './components/Button.mjs';
|
|
5
5
|
export { ButtonGroup, VueButtonGroupProps } from './components/ButtonGroup.mjs';
|
|
@@ -63,6 +63,7 @@ export { ImageAnnotation, VueImageAnnotationProps } from './components/ImageAnno
|
|
|
63
63
|
export { List, ListProps, VueListProps } from './components/List.mjs';
|
|
64
64
|
export { Descriptions, DescriptionsProps, VueDescriptionsProps } from './components/Descriptions.mjs';
|
|
65
65
|
export { Timeline, TimelineProps, VueTimelineProps } from './components/Timeline.mjs';
|
|
66
|
+
export { VueWorkflowActionBarProps, VueWorkflowTimelineProps, WorkflowActionBar, WorkflowActionBarProps, WorkflowTimeline, WorkflowTimelineProps } from './components/WorkflowTimeline.mjs';
|
|
66
67
|
export { Countdown, CountdownProps, VueCountdownProps } from './components/Countdown.mjs';
|
|
67
68
|
export { Tree, TreeProps, VueTreeProps } from './components/Tree.mjs';
|
|
68
69
|
export { Skeleton, VueSkeletonProps } from './components/Skeleton.mjs';
|
|
@@ -142,6 +143,9 @@ export { Affix, AffixProps, VueAffixProps } from './components/Affix.mjs';
|
|
|
142
143
|
export { UseChartInteractionOptions, UseChartInteractionReturn, useChartInteraction } from './composables/useChartInteraction.mjs';
|
|
143
144
|
export { ResponsiveChartLayout, useResponsiveChartSize } from './composables/useResponsiveChartSize.mjs';
|
|
144
145
|
export { UseDragReturn, useDrag } from './composables/useDrag.mjs';
|
|
146
|
+
export { UseFullscreenReturn, useFullscreen } from './composables/useFullscreen.mjs';
|
|
147
|
+
export { FullscreenButton as Fullscreen, FullscreenButton, FullscreenButtonProps, VueFullscreenButtonProps } from './components/FullscreenButton.mjs';
|
|
148
|
+
export { Drag, DragProps, VueDragProps } from './components/Drag.mjs';
|
|
145
149
|
export { Splitter, VueSplitterProps } from './components/Splitter.mjs';
|
|
146
150
|
export { Resizable, VueResizableProps } from './components/Resizable.mjs';
|
|
147
151
|
export { ScrollArea, ScrollAreaProps, VueScrollAreaProps } from './components/ScrollArea.mjs';
|
|
@@ -168,6 +172,6 @@ import 'vue';
|
|
|
168
172
|
* Vue 3 components for Tigercat UI library
|
|
169
173
|
*/
|
|
170
174
|
|
|
171
|
-
declare const version = "2.
|
|
175
|
+
declare const version = "2.3.0";
|
|
172
176
|
|
|
173
177
|
export { version };
|