vft 0.0.166 → 0.0.168
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/es/component.js +84 -81
- package/es/components/backtop/backtop.vue2.js +3 -2
- package/es/components/button/use-button.js +3 -3
- package/es/components/context-menu/context-menu.vue2.js +3 -2
- package/es/components/footer-layout/footer-layout.vue2.js +3 -2
- package/es/components/header-layout/header-layout.vue2.js +3 -2
- package/es/components/icon/icon.vue.d.ts +1 -12
- package/es/components/icon/index.d.ts +1 -2
- package/es/components/icon/types.d.ts +12 -0
- package/es/components/icon/types.js +1 -0
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +190 -187
- package/es/components/md-container/md-container.vue2.js +3 -2
- package/es/components/menu/menu-item.vue2.js +3 -2
- package/es/components/menu/sub-menu.vue2.js +3 -2
- package/es/components/modal/modal-footer-action.vue2.js +3 -2
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +3 -2
- package/es/components/result/result.vue2.js +3 -2
- package/es/components/side-menu/side-menu.vue2.js +3 -2
- package/es/components/super-form/component-map.js +11 -10
- package/es/components/super-form/super-form-action.vue2.js +3 -2
- package/es/components/super-form/super-form-item.vue2.js +3 -2
- package/es/components/super-form/super-form.vue2.js +3 -2
- package/es/components/table/field.js +19 -18
- package/es/components/tabs/tab-nav.vue2.js +3 -2
- package/es/components/timeline/index.d.ts +263 -0
- package/es/components/timeline/index.js +16 -0
- package/es/components/timeline/style/css.d.ts +1 -0
- package/es/components/timeline/style/css.js +2 -0
- package/es/components/timeline/style/index.d.ts +1 -0
- package/es/components/timeline/style/index.js +2 -0
- package/es/components/timeline/timeline-item.vue.d.ts +31 -0
- package/es/components/timeline/timeline-item.vue.js +4 -0
- package/es/components/timeline/timeline-item.vue2.js +83 -0
- package/es/components/timeline/timeline.vue.d.ts +2 -0
- package/es/components/timeline/timeline.vue.js +4 -0
- package/es/components/timeline/timeline.vue2.js +20 -0
- package/es/components/timeline-item/style/css.d.ts +1 -0
- package/es/components/timeline-item/style/css.js +2 -0
- package/es/components/timeline-item/style/index.d.ts +1 -0
- package/es/components/timeline-item/style/index.js +2 -0
- package/es/index.js +295 -292
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/lib/component.cjs +1 -1
- package/lib/components/backtop/backtop.vue2.cjs +1 -1
- package/lib/components/button/use-button.cjs +1 -1
- package/lib/components/context-menu/context-menu.vue2.cjs +1 -1
- package/lib/components/footer-layout/footer-layout.vue2.cjs +1 -1
- package/lib/components/header-layout/header-layout.vue2.cjs +1 -1
- package/lib/components/icon/icon.vue.d.ts +1 -12
- package/lib/components/icon/index.d.ts +1 -2
- package/lib/components/icon/types.cjs +1 -0
- package/lib/components/icon/types.d.ts +12 -0
- package/lib/components/index.cjs +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/menu/menu-item.vue2.cjs +1 -1
- package/lib/components/menu/sub-menu.vue2.cjs +1 -1
- package/lib/components/modal/modal-footer-action.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/result/result.vue2.cjs +1 -1
- package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
- package/lib/components/super-form/component-map.cjs +1 -1
- package/lib/components/super-form/super-form-action.vue2.cjs +1 -1
- package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
- package/lib/components/super-form/super-form.vue2.cjs +1 -1
- package/lib/components/table/field.cjs +1 -1
- package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
- package/lib/components/timeline/index.cjs +1 -0
- package/lib/components/timeline/index.d.ts +263 -0
- package/lib/components/timeline/style/css.cjs +1 -0
- package/lib/components/timeline/style/css.d.ts +1 -0
- package/lib/components/timeline/style/index.cjs +1 -0
- package/lib/components/timeline/style/index.d.ts +1 -0
- package/lib/components/timeline/timeline-item.vue.cjs +1 -0
- package/lib/components/timeline/timeline-item.vue.d.ts +31 -0
- package/lib/components/timeline/timeline-item.vue2.cjs +1 -0
- package/lib/components/timeline/timeline.vue.cjs +1 -0
- package/lib/components/timeline/timeline.vue.d.ts +2 -0
- package/lib/components/timeline/timeline.vue2.cjs +1 -0
- package/lib/components/timeline-item/style/css.cjs +1 -0
- package/lib/components/timeline-item/style/css.d.ts +1 -0
- package/lib/components/timeline-item/style/index.cjs +1 -0
- package/lib/components/timeline-item/style/index.d.ts +1 -0
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +4 -4
- package/web-types.json +1 -1
|
@@ -81,6 +81,7 @@ import "../progress/index.js";
|
|
|
81
81
|
import "../super-form/index.js";
|
|
82
82
|
import "../upload/index.js";
|
|
83
83
|
import "../carousel/index.js";
|
|
84
|
+
import "../timeline/index.js";
|
|
84
85
|
import "../md-code-demo/index.js";
|
|
85
86
|
import "../md-code-tabs/index.js";
|
|
86
87
|
import "../md-comment/index.js";
|
|
@@ -106,7 +107,7 @@ function Me(b) {
|
|
|
106
107
|
}
|
|
107
108
|
const Se = I({
|
|
108
109
|
name: "vft-side-menu"
|
|
109
|
-
}),
|
|
110
|
+
}), ho = /* @__PURE__ */ I({
|
|
110
111
|
...Se,
|
|
111
112
|
props: {
|
|
112
113
|
isFixedLeft: {
|
|
@@ -366,5 +367,5 @@ const Se = I({
|
|
|
366
367
|
}
|
|
367
368
|
});
|
|
368
369
|
export {
|
|
369
|
-
|
|
370
|
+
ho as default
|
|
370
371
|
};
|
|
@@ -79,6 +79,7 @@ import "../progress/index.js";
|
|
|
79
79
|
import "./index.js";
|
|
80
80
|
import "../upload/index.js";
|
|
81
81
|
import "../carousel/index.js";
|
|
82
|
+
import "../timeline/index.js";
|
|
82
83
|
import "../md-code-demo/index.js";
|
|
83
84
|
import "../md-code-tabs/index.js";
|
|
84
85
|
import "../md-comment/index.js";
|
|
@@ -121,25 +122,25 @@ i.set("week", r);
|
|
|
121
122
|
i.set("datetimerange", r);
|
|
122
123
|
i.set("daterange", r);
|
|
123
124
|
i.set("monthrange", r);
|
|
124
|
-
function
|
|
125
|
+
function pi(t, a) {
|
|
125
126
|
i.set(t, a);
|
|
126
127
|
}
|
|
127
|
-
function
|
|
128
|
+
function ai(t) {
|
|
128
129
|
i.delete(t);
|
|
129
130
|
}
|
|
130
|
-
const
|
|
131
|
+
const mi = (t) => [
|
|
131
132
|
"datetimerange",
|
|
132
133
|
"daterange",
|
|
133
134
|
"monthrange"
|
|
134
135
|
/* MONTHRANGE_PICKER */
|
|
135
|
-
].includes(t),
|
|
136
|
+
].includes(t), si = (t) => [
|
|
136
137
|
"input",
|
|
137
138
|
"input-number",
|
|
138
139
|
"password",
|
|
139
140
|
"textarea",
|
|
140
141
|
"search"
|
|
141
142
|
/* SEARCH */
|
|
142
|
-
].includes(t),
|
|
143
|
+
].includes(t), ci = (t) => [
|
|
143
144
|
"year",
|
|
144
145
|
"month",
|
|
145
146
|
"date",
|
|
@@ -153,10 +154,10 @@ const ai = (t) => [
|
|
|
153
154
|
].includes(t);
|
|
154
155
|
export {
|
|
155
156
|
T as FormCompEnum,
|
|
156
|
-
|
|
157
|
+
pi as add,
|
|
157
158
|
i as componentMap,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
ai as del,
|
|
160
|
+
ci as isDatePicker,
|
|
161
|
+
si as isInput,
|
|
162
|
+
mi as isRangePicker
|
|
162
163
|
};
|
|
@@ -79,6 +79,7 @@ import "../progress/index.js";
|
|
|
79
79
|
import "./index.js";
|
|
80
80
|
import "../upload/index.js";
|
|
81
81
|
import "../carousel/index.js";
|
|
82
|
+
import "../timeline/index.js";
|
|
82
83
|
import "../md-code-demo/index.js";
|
|
83
84
|
import "../md-code-tabs/index.js";
|
|
84
85
|
import "../md-comment/index.js";
|
|
@@ -95,7 +96,7 @@ import "../message/index.js";
|
|
|
95
96
|
import "../infinite-scroll/index.js";
|
|
96
97
|
import "../progress-i/index.js";
|
|
97
98
|
import { useFormContext as x } from "./use/use-form-context.js";
|
|
98
|
-
const
|
|
99
|
+
const yo = /* @__PURE__ */ k({
|
|
99
100
|
__name: "super-form-action",
|
|
100
101
|
props: {
|
|
101
102
|
showResetButton: { type: Boolean },
|
|
@@ -165,5 +166,5 @@ const ko = /* @__PURE__ */ k({
|
|
|
165
166
|
}
|
|
166
167
|
});
|
|
167
168
|
export {
|
|
168
|
-
|
|
169
|
+
yo as default
|
|
169
170
|
};
|
|
@@ -79,6 +79,7 @@ import "../progress/index.js";
|
|
|
79
79
|
import "./index.js";
|
|
80
80
|
import "../upload/index.js";
|
|
81
81
|
import "../carousel/index.js";
|
|
82
|
+
import "../timeline/index.js";
|
|
82
83
|
import "../md-code-demo/index.js";
|
|
83
84
|
import "../md-code-tabs/index.js";
|
|
84
85
|
import "../md-comment/index.js";
|
|
@@ -101,7 +102,7 @@ function q(i) {
|
|
|
101
102
|
}
|
|
102
103
|
const fe = J({
|
|
103
104
|
inheritAttrs: !1
|
|
104
|
-
}),
|
|
105
|
+
}), or = /* @__PURE__ */ J({
|
|
105
106
|
...fe,
|
|
106
107
|
__name: "super-form-item",
|
|
107
108
|
props: {
|
|
@@ -405,5 +406,5 @@ const fe = J({
|
|
|
405
406
|
}
|
|
406
407
|
});
|
|
407
408
|
export {
|
|
408
|
-
|
|
409
|
+
or as default
|
|
409
410
|
};
|
|
@@ -79,6 +79,7 @@ import "../progress/index.js";
|
|
|
79
79
|
import "./index.js";
|
|
80
80
|
import "../upload/index.js";
|
|
81
81
|
import "../carousel/index.js";
|
|
82
|
+
import "../timeline/index.js";
|
|
82
83
|
import "../md-code-demo/index.js";
|
|
83
84
|
import "../md-code-tabs/index.js";
|
|
84
85
|
import "../md-comment/index.js";
|
|
@@ -105,7 +106,7 @@ const Tt = (
|
|
|
105
106
|
Ot("super-form")
|
|
106
107
|
), Dt = et({
|
|
107
108
|
name: "vft-super-form"
|
|
108
|
-
}),
|
|
109
|
+
}), Ao = /* @__PURE__ */ et({
|
|
109
110
|
...Dt,
|
|
110
111
|
props: {
|
|
111
112
|
rowProps: {
|
|
@@ -407,5 +408,5 @@ const Tt = (
|
|
|
407
408
|
}
|
|
408
409
|
});
|
|
409
410
|
export {
|
|
410
|
-
|
|
411
|
+
Ao as default
|
|
411
412
|
};
|
|
@@ -79,6 +79,7 @@ import "../progress/index.js";
|
|
|
79
79
|
import "../super-form/index.js";
|
|
80
80
|
import "../upload/index.js";
|
|
81
81
|
import "../carousel/index.js";
|
|
82
|
+
import "../timeline/index.js";
|
|
82
83
|
import "../md-code-demo/index.js";
|
|
83
84
|
import "../md-code-tabs/index.js";
|
|
84
85
|
import "../md-comment/index.js";
|
|
@@ -97,25 +98,25 @@ import "../progress-i/index.js";
|
|
|
97
98
|
function u(i) {
|
|
98
99
|
return typeof i == "function" || Object.prototype.toString.call(i) === "[object Object]" && !_(i);
|
|
99
100
|
}
|
|
100
|
-
const
|
|
101
|
+
const di = {
|
|
101
102
|
type: "seq",
|
|
102
103
|
title: "序号",
|
|
103
104
|
fixed: "left",
|
|
104
105
|
width: 53
|
|
105
|
-
},
|
|
106
|
+
}, Di = {
|
|
106
107
|
type: "checkbox",
|
|
107
108
|
title: "",
|
|
108
109
|
minWidth: 60,
|
|
109
110
|
fixed: "left"
|
|
110
|
-
},
|
|
111
|
+
}, Ei = {
|
|
111
112
|
field: "id",
|
|
112
113
|
title: "Id",
|
|
113
114
|
minWidth: 100
|
|
114
|
-
},
|
|
115
|
+
}, li = {
|
|
115
116
|
field: "name",
|
|
116
117
|
title: "名称",
|
|
117
118
|
minWidth: 100
|
|
118
|
-
},
|
|
119
|
+
}, ci = ({
|
|
119
120
|
format: i = "YYYY-MM-DD",
|
|
120
121
|
field: t = "date",
|
|
121
122
|
title: o = "时间"
|
|
@@ -137,7 +138,7 @@ const fi = {
|
|
|
137
138
|
formatter: ({
|
|
138
139
|
row: r
|
|
139
140
|
}) => r[t] ? l(r[t], i) : "-"
|
|
140
|
-
}),
|
|
141
|
+
}), ai = ({
|
|
141
142
|
format: i = "YYYY-MM-DD HH:mm:ss",
|
|
142
143
|
field: t = "createTime",
|
|
143
144
|
title: o = "创建时间"
|
|
@@ -145,7 +146,7 @@ const fi = {
|
|
|
145
146
|
format: i,
|
|
146
147
|
field: t,
|
|
147
148
|
title: o
|
|
148
|
-
}),
|
|
149
|
+
}), Ii = ({
|
|
149
150
|
format: i = "YYYY-MM-DD HH:mm:ss",
|
|
150
151
|
field: t = "updateTime",
|
|
151
152
|
title: o = "更新时间"
|
|
@@ -153,7 +154,7 @@ const fi = {
|
|
|
153
154
|
format: i,
|
|
154
155
|
field: t,
|
|
155
156
|
title: o
|
|
156
|
-
}),
|
|
157
|
+
}), Yi = ({
|
|
157
158
|
field: i = "status",
|
|
158
159
|
title: t = "状态",
|
|
159
160
|
normalText: o = "正常",
|
|
@@ -177,7 +178,7 @@ const fi = {
|
|
|
177
178
|
}));
|
|
178
179
|
}
|
|
179
180
|
}
|
|
180
|
-
}),
|
|
181
|
+
}), _i = ({
|
|
181
182
|
confirmText: i = "确认删除?",
|
|
182
183
|
leftCallback: t,
|
|
183
184
|
rightCallback: o,
|
|
@@ -222,14 +223,14 @@ const fi = {
|
|
|
222
223
|
}
|
|
223
224
|
});
|
|
224
225
|
export {
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
226
|
+
_i as ACTION_FIELD,
|
|
227
|
+
Di as CHECKED_FIELD,
|
|
228
|
+
ai as CREATE_TIME_FIELD,
|
|
229
|
+
ci as DATE_FIELD,
|
|
229
230
|
c as DATE_TIME_FIELD,
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
231
|
+
Ei as ID_FIELD,
|
|
232
|
+
li as NAME_FIELD,
|
|
233
|
+
di as SEQ_FIELD,
|
|
234
|
+
Yi as STATUS_FIELD,
|
|
235
|
+
Ii as UPDATE_TIME_FIELD
|
|
235
236
|
};
|
|
@@ -83,6 +83,7 @@ import "../progress/index.js";
|
|
|
83
83
|
import "../super-form/index.js";
|
|
84
84
|
import "../upload/index.js";
|
|
85
85
|
import "../carousel/index.js";
|
|
86
|
+
import "../timeline/index.js";
|
|
86
87
|
import "../md-code-demo/index.js";
|
|
87
88
|
import "../md-code-tabs/index.js";
|
|
88
89
|
import "../md-comment/index.js";
|
|
@@ -103,7 +104,7 @@ const q = (
|
|
|
103
104
|
D("tab-nav")
|
|
104
105
|
), dt = V({
|
|
105
106
|
name: q.b()
|
|
106
|
-
}),
|
|
107
|
+
}), co = /* @__PURE__ */ V({
|
|
107
108
|
...dt,
|
|
108
109
|
props: {
|
|
109
110
|
panes: {},
|
|
@@ -271,5 +272,5 @@ const q = (
|
|
|
271
272
|
}
|
|
272
273
|
});
|
|
273
274
|
export {
|
|
274
|
-
|
|
275
|
+
co as default
|
|
275
276
|
};
|
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
export declare const VftTimeline: import("vft/es/utils").SFCWithInstall<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>> & {
|
|
2
|
+
TimelineItem: {
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<globalThis.ExtractPropTypes<{
|
|
4
|
+
timestamp: {
|
|
5
|
+
type: globalThis.PropType<string>;
|
|
6
|
+
};
|
|
7
|
+
hideTimestamp: {
|
|
8
|
+
type: globalThis.PropType<boolean>;
|
|
9
|
+
};
|
|
10
|
+
center: {
|
|
11
|
+
type: globalThis.PropType<boolean>;
|
|
12
|
+
};
|
|
13
|
+
placement: {
|
|
14
|
+
type: globalThis.PropType<"bottom" | "top">;
|
|
15
|
+
};
|
|
16
|
+
type: {
|
|
17
|
+
type: globalThis.PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
18
|
+
};
|
|
19
|
+
color: {
|
|
20
|
+
type: globalThis.PropType<string>;
|
|
21
|
+
};
|
|
22
|
+
size: {
|
|
23
|
+
type: globalThis.PropType<"large" | "normal">;
|
|
24
|
+
};
|
|
25
|
+
icon: {
|
|
26
|
+
type: globalThis.PropType<import("vft/es/components").IconProps>;
|
|
27
|
+
};
|
|
28
|
+
hollow: {
|
|
29
|
+
type: globalThis.PropType<boolean>;
|
|
30
|
+
};
|
|
31
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
|
|
32
|
+
timestamp: {
|
|
33
|
+
type: globalThis.PropType<string>;
|
|
34
|
+
};
|
|
35
|
+
hideTimestamp: {
|
|
36
|
+
type: globalThis.PropType<boolean>;
|
|
37
|
+
};
|
|
38
|
+
center: {
|
|
39
|
+
type: globalThis.PropType<boolean>;
|
|
40
|
+
};
|
|
41
|
+
placement: {
|
|
42
|
+
type: globalThis.PropType<"bottom" | "top">;
|
|
43
|
+
};
|
|
44
|
+
type: {
|
|
45
|
+
type: globalThis.PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
46
|
+
};
|
|
47
|
+
color: {
|
|
48
|
+
type: globalThis.PropType<string>;
|
|
49
|
+
};
|
|
50
|
+
size: {
|
|
51
|
+
type: globalThis.PropType<"large" | "normal">;
|
|
52
|
+
};
|
|
53
|
+
icon: {
|
|
54
|
+
type: globalThis.PropType<import("vft/es/components").IconProps>;
|
|
55
|
+
};
|
|
56
|
+
hollow: {
|
|
57
|
+
type: globalThis.PropType<boolean>;
|
|
58
|
+
};
|
|
59
|
+
}>>, {}, true, {}, {}, {
|
|
60
|
+
P: {};
|
|
61
|
+
B: {};
|
|
62
|
+
D: {};
|
|
63
|
+
C: {};
|
|
64
|
+
M: {};
|
|
65
|
+
Defaults: {};
|
|
66
|
+
}, Readonly<globalThis.ExtractPropTypes<{
|
|
67
|
+
timestamp: {
|
|
68
|
+
type: globalThis.PropType<string>;
|
|
69
|
+
};
|
|
70
|
+
hideTimestamp: {
|
|
71
|
+
type: globalThis.PropType<boolean>;
|
|
72
|
+
};
|
|
73
|
+
center: {
|
|
74
|
+
type: globalThis.PropType<boolean>;
|
|
75
|
+
};
|
|
76
|
+
placement: {
|
|
77
|
+
type: globalThis.PropType<"bottom" | "top">;
|
|
78
|
+
};
|
|
79
|
+
type: {
|
|
80
|
+
type: globalThis.PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
81
|
+
};
|
|
82
|
+
color: {
|
|
83
|
+
type: globalThis.PropType<string>;
|
|
84
|
+
};
|
|
85
|
+
size: {
|
|
86
|
+
type: globalThis.PropType<"large" | "normal">;
|
|
87
|
+
};
|
|
88
|
+
icon: {
|
|
89
|
+
type: globalThis.PropType<import("vft/es/components").IconProps>;
|
|
90
|
+
};
|
|
91
|
+
hollow: {
|
|
92
|
+
type: globalThis.PropType<boolean>;
|
|
93
|
+
};
|
|
94
|
+
}>>, {}, {}, {}, {}, {}>;
|
|
95
|
+
__isFragment?: undefined;
|
|
96
|
+
__isTeleport?: undefined;
|
|
97
|
+
__isSuspense?: undefined;
|
|
98
|
+
} & import("vue").ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
99
|
+
timestamp: {
|
|
100
|
+
type: globalThis.PropType<string>;
|
|
101
|
+
};
|
|
102
|
+
hideTimestamp: {
|
|
103
|
+
type: globalThis.PropType<boolean>;
|
|
104
|
+
};
|
|
105
|
+
center: {
|
|
106
|
+
type: globalThis.PropType<boolean>;
|
|
107
|
+
};
|
|
108
|
+
placement: {
|
|
109
|
+
type: globalThis.PropType<"bottom" | "top">;
|
|
110
|
+
};
|
|
111
|
+
type: {
|
|
112
|
+
type: globalThis.PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
113
|
+
};
|
|
114
|
+
color: {
|
|
115
|
+
type: globalThis.PropType<string>;
|
|
116
|
+
};
|
|
117
|
+
size: {
|
|
118
|
+
type: globalThis.PropType<"large" | "normal">;
|
|
119
|
+
};
|
|
120
|
+
icon: {
|
|
121
|
+
type: globalThis.PropType<import("vft/es/components").IconProps>;
|
|
122
|
+
};
|
|
123
|
+
hollow: {
|
|
124
|
+
type: globalThis.PropType<boolean>;
|
|
125
|
+
};
|
|
126
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
127
|
+
$slots: {
|
|
128
|
+
dot?(_: {}): any;
|
|
129
|
+
default?(_: {}): any;
|
|
130
|
+
};
|
|
131
|
+
});
|
|
132
|
+
};
|
|
133
|
+
export declare const VftTimelineItem: import("vft/es/utils").SFCWithInstall<{
|
|
134
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<globalThis.ExtractPropTypes<{
|
|
135
|
+
timestamp: {
|
|
136
|
+
type: globalThis.PropType<string>;
|
|
137
|
+
};
|
|
138
|
+
hideTimestamp: {
|
|
139
|
+
type: globalThis.PropType<boolean>;
|
|
140
|
+
};
|
|
141
|
+
center: {
|
|
142
|
+
type: globalThis.PropType<boolean>;
|
|
143
|
+
};
|
|
144
|
+
placement: {
|
|
145
|
+
type: globalThis.PropType<"bottom" | "top">;
|
|
146
|
+
};
|
|
147
|
+
type: {
|
|
148
|
+
type: globalThis.PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
149
|
+
};
|
|
150
|
+
color: {
|
|
151
|
+
type: globalThis.PropType<string>;
|
|
152
|
+
};
|
|
153
|
+
size: {
|
|
154
|
+
type: globalThis.PropType<"large" | "normal">;
|
|
155
|
+
};
|
|
156
|
+
icon: {
|
|
157
|
+
type: globalThis.PropType<import("vft/es/components").IconProps>;
|
|
158
|
+
};
|
|
159
|
+
hollow: {
|
|
160
|
+
type: globalThis.PropType<boolean>;
|
|
161
|
+
};
|
|
162
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
|
|
163
|
+
timestamp: {
|
|
164
|
+
type: globalThis.PropType<string>;
|
|
165
|
+
};
|
|
166
|
+
hideTimestamp: {
|
|
167
|
+
type: globalThis.PropType<boolean>;
|
|
168
|
+
};
|
|
169
|
+
center: {
|
|
170
|
+
type: globalThis.PropType<boolean>;
|
|
171
|
+
};
|
|
172
|
+
placement: {
|
|
173
|
+
type: globalThis.PropType<"bottom" | "top">;
|
|
174
|
+
};
|
|
175
|
+
type: {
|
|
176
|
+
type: globalThis.PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
177
|
+
};
|
|
178
|
+
color: {
|
|
179
|
+
type: globalThis.PropType<string>;
|
|
180
|
+
};
|
|
181
|
+
size: {
|
|
182
|
+
type: globalThis.PropType<"large" | "normal">;
|
|
183
|
+
};
|
|
184
|
+
icon: {
|
|
185
|
+
type: globalThis.PropType<import("vft/es/components").IconProps>;
|
|
186
|
+
};
|
|
187
|
+
hollow: {
|
|
188
|
+
type: globalThis.PropType<boolean>;
|
|
189
|
+
};
|
|
190
|
+
}>>, {}, true, {}, {}, {
|
|
191
|
+
P: {};
|
|
192
|
+
B: {};
|
|
193
|
+
D: {};
|
|
194
|
+
C: {};
|
|
195
|
+
M: {};
|
|
196
|
+
Defaults: {};
|
|
197
|
+
}, Readonly<globalThis.ExtractPropTypes<{
|
|
198
|
+
timestamp: {
|
|
199
|
+
type: globalThis.PropType<string>;
|
|
200
|
+
};
|
|
201
|
+
hideTimestamp: {
|
|
202
|
+
type: globalThis.PropType<boolean>;
|
|
203
|
+
};
|
|
204
|
+
center: {
|
|
205
|
+
type: globalThis.PropType<boolean>;
|
|
206
|
+
};
|
|
207
|
+
placement: {
|
|
208
|
+
type: globalThis.PropType<"bottom" | "top">;
|
|
209
|
+
};
|
|
210
|
+
type: {
|
|
211
|
+
type: globalThis.PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
212
|
+
};
|
|
213
|
+
color: {
|
|
214
|
+
type: globalThis.PropType<string>;
|
|
215
|
+
};
|
|
216
|
+
size: {
|
|
217
|
+
type: globalThis.PropType<"large" | "normal">;
|
|
218
|
+
};
|
|
219
|
+
icon: {
|
|
220
|
+
type: globalThis.PropType<import("vft/es/components").IconProps>;
|
|
221
|
+
};
|
|
222
|
+
hollow: {
|
|
223
|
+
type: globalThis.PropType<boolean>;
|
|
224
|
+
};
|
|
225
|
+
}>>, {}, {}, {}, {}, {}>;
|
|
226
|
+
__isFragment?: undefined;
|
|
227
|
+
__isTeleport?: undefined;
|
|
228
|
+
__isSuspense?: undefined;
|
|
229
|
+
} & import("vue").ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
230
|
+
timestamp: {
|
|
231
|
+
type: globalThis.PropType<string>;
|
|
232
|
+
};
|
|
233
|
+
hideTimestamp: {
|
|
234
|
+
type: globalThis.PropType<boolean>;
|
|
235
|
+
};
|
|
236
|
+
center: {
|
|
237
|
+
type: globalThis.PropType<boolean>;
|
|
238
|
+
};
|
|
239
|
+
placement: {
|
|
240
|
+
type: globalThis.PropType<"bottom" | "top">;
|
|
241
|
+
};
|
|
242
|
+
type: {
|
|
243
|
+
type: globalThis.PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
244
|
+
};
|
|
245
|
+
color: {
|
|
246
|
+
type: globalThis.PropType<string>;
|
|
247
|
+
};
|
|
248
|
+
size: {
|
|
249
|
+
type: globalThis.PropType<"large" | "normal">;
|
|
250
|
+
};
|
|
251
|
+
icon: {
|
|
252
|
+
type: globalThis.PropType<import("vft/es/components").IconProps>;
|
|
253
|
+
};
|
|
254
|
+
hollow: {
|
|
255
|
+
type: globalThis.PropType<boolean>;
|
|
256
|
+
};
|
|
257
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
258
|
+
$slots: {
|
|
259
|
+
dot?(_: {}): any;
|
|
260
|
+
default?(_: {}): any;
|
|
261
|
+
};
|
|
262
|
+
})>;
|
|
263
|
+
export default VftTimeline;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import "@vueuse/core";
|
|
2
|
+
import "@vft/utils";
|
|
3
|
+
import "../../utils/ns-cover.js";
|
|
4
|
+
import { withInstall as i, withNoopInstall as m } from "../../utils/vue/install.js";
|
|
5
|
+
import "lodash";
|
|
6
|
+
import "vue";
|
|
7
|
+
import o from "./timeline.vue2.js";
|
|
8
|
+
import t from "./timeline-item.vue2.js";
|
|
9
|
+
const c = i(o, {
|
|
10
|
+
TimelineItem: t
|
|
11
|
+
}), I = m(t);
|
|
12
|
+
export {
|
|
13
|
+
c as VftTimeline,
|
|
14
|
+
I as VftTimelineItem,
|
|
15
|
+
c as default
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import 'vft/theme-style/vft-timeline.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import 'vft/theme-style/src/timeline.scss';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type IconProps } from 'vft/es/components/icon';
|
|
2
|
+
export interface Props {
|
|
3
|
+
timestamp?: string;
|
|
4
|
+
hideTimestamp?: boolean;
|
|
5
|
+
center?: boolean;
|
|
6
|
+
placement?: 'top' | 'bottom';
|
|
7
|
+
type?: 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
8
|
+
color?: string;
|
|
9
|
+
size?: 'normal' | 'large';
|
|
10
|
+
icon?: IconProps;
|
|
11
|
+
hollow?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, {
|
|
14
|
+
dot?(_: {}): any;
|
|
15
|
+
default?(_: {}): any;
|
|
16
|
+
}>;
|
|
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_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|