vlite3 1.2.5 → 1.2.8
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/README.md +5 -1
- package/components/Barcode/Barcode.vue.d.ts +1 -1
- package/components/Button.vue.js +18 -18
- package/components/Chart/GanttChart.vue.d.ts +67 -0
- package/components/Chart/GanttChart.vue.js +7 -0
- package/components/Chart/GanttChart.vue2.js +911 -0
- package/components/Chart/SpeedometerChart.vue.d.ts +54 -0
- package/components/Chart/SpeedometerChart.vue.js +558 -0
- package/components/Chart/SpeedometerChart.vue2.js +4 -0
- package/components/Chart/index.d.ts +3 -1
- package/components/Chart/types.d.ts +106 -0
- package/components/Chip/Chip.vue.js +10 -9
- package/components/Chip/types.d.ts +1 -1
- package/components/ChoiceBox/ChoiceBox.vue.d.ts +46 -1
- package/components/ChoiceBox/ChoiceBox.vue.js +274 -91
- package/components/ChoiceBox/index.d.ts +1 -1
- package/components/ColorPicker/ColorPicker.vue.js +1 -1
- package/components/CommandPalette/CommandPaletteContent.vue2.js +1 -1
- package/components/CommandPalette/{CommandPaletteItem.vue2.js → CommandPaletteItem.vue.js} +1 -1
- package/components/DataTable/DataTableHeader.vue.js +33 -30
- package/components/Dropdown/Dropdown.vue.d.ts +2 -0
- package/components/Dropdown/Dropdown.vue.js +35 -30
- package/components/Form/Form.vue.d.ts +10 -1
- package/components/Form/Form.vue.js +1 -1
- package/components/Form/Form.vue2.js +146 -132
- package/components/ImageComparison/ImageComparison.vue.d.ts +29 -0
- package/components/ImageComparison/ImageComparison.vue.js +126 -0
- package/components/ImageComparison/ImageComparison.vue2.js +4 -0
- package/components/ImageComparison/index.d.ts +1 -0
- package/components/ImportData/ImportData.vue.js +1 -1
- package/components/NavbarCommandPalette.vue.js +1 -1
- package/components/OTPInput/OTPInput.vue.d.ts +18 -0
- package/components/OTPInput/OTPInput.vue.js +127 -82
- package/components/PricingPlan/PricingPlanItem.vue.js +19 -19
- package/components/Radio.vue.d.ts +41 -0
- package/components/Radio.vue.js +97 -0
- package/components/Radio.vue2.js +4 -0
- package/components/RadioGroup.vue.d.ts +38 -0
- package/components/RadioGroup.vue.js +37 -0
- package/components/RadioGroup.vue2.js +4 -0
- package/components/Screen/ScreenFilter.vue.js +25 -25
- package/components/SidePanel.vue.js +3 -3
- package/components/SidePanel.vue2.js +1 -1
- package/components/Slider.vue.d.ts +7 -0
- package/components/Slider.vue.js +194 -120
- package/components/StatusChip/status-map.js +13 -0
- package/components/Timeline/Timeline.vue.d.ts +1 -1
- package/components/index.d.ts +1 -1
- package/index.d.ts +3 -0
- package/index.js +138 -128
- package/package.json +1 -1
- package/style.css +66 -26
- package/types/form.type.d.ts +23 -0
package/components/Slider.vue.js
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import { $t as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as F, ref as V, watch as H, computed as r, openBlock as u, createElementBlock as d, normalizeClass as s, createBlock as I, createCommentVNode as c, toDisplayString as y, createElementVNode as h, normalizeStyle as k, withDirectives as U, vModelText as W } from "vue";
|
|
2
|
+
import P from "./Icon.vue.js";
|
|
3
|
+
import { $t as q } from "../utils/i18n.js";
|
|
4
|
+
const A = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "flex justify-between items-end w-full"
|
|
7
|
+
}, G = {
|
|
5
8
|
key: 1,
|
|
6
|
-
class: "
|
|
7
|
-
},
|
|
9
|
+
class: "whitespace-nowrap cursor-pointer"
|
|
10
|
+
}, J = {
|
|
11
|
+
key: 1,
|
|
12
|
+
class: "whitespace-nowrap cursor-pointer"
|
|
13
|
+
}, K = ["min", "max", "step", "disabled", "orient"], Z = /* @__PURE__ */ F({
|
|
8
14
|
__name: "Slider",
|
|
9
15
|
props: {
|
|
10
16
|
min: { default: 0 },
|
|
@@ -17,20 +23,24 @@ const j = {
|
|
|
17
23
|
showValue: { type: Boolean, default: !0 },
|
|
18
24
|
modelValue: { default: 0 },
|
|
19
25
|
labelClass: {},
|
|
26
|
+
valueClass: {},
|
|
20
27
|
centerOrigin: { type: Boolean, default: void 0 },
|
|
21
|
-
size: { default: "md" }
|
|
28
|
+
size: { default: "md" },
|
|
29
|
+
orientation: { default: "horizontal" },
|
|
30
|
+
variant: { default: "one" },
|
|
31
|
+
thumbVariant: { default: "default" }
|
|
22
32
|
},
|
|
23
33
|
emits: ["update:modelValue", "change", "iconClick"],
|
|
24
|
-
setup(
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
() =>
|
|
28
|
-
(
|
|
29
|
-
|
|
34
|
+
setup(l, { emit: O }) {
|
|
35
|
+
const e = l, v = O, i = V(!1), x = V(!1), o = V(e.modelValue);
|
|
36
|
+
H(
|
|
37
|
+
() => e.modelValue,
|
|
38
|
+
(t) => {
|
|
39
|
+
o.value = t;
|
|
30
40
|
}
|
|
31
41
|
);
|
|
32
|
-
const
|
|
33
|
-
switch (
|
|
42
|
+
const w = r(() => e.centerOrigin !== void 0 ? e.centerOrigin : e.min < 0 && e.max > 0), C = r(() => e.max - e.min), f = r(() => (o.value - e.min) / C.value * 100), g = r(() => (0 - e.min) / C.value * 100), z = r(() => {
|
|
43
|
+
switch (e.size) {
|
|
34
44
|
case "xs":
|
|
35
45
|
return 12;
|
|
36
46
|
case "sm":
|
|
@@ -40,142 +50,206 @@ const j = {
|
|
|
40
50
|
default:
|
|
41
51
|
return 14;
|
|
42
52
|
}
|
|
43
|
-
}),
|
|
44
|
-
const
|
|
45
|
-
return `calc(${
|
|
46
|
-
},
|
|
47
|
-
if (
|
|
48
|
-
const
|
|
49
|
-
return {
|
|
50
|
-
|
|
51
|
-
|
|
53
|
+
}), m = (t) => {
|
|
54
|
+
const a = z.value / 2, n = z.value;
|
|
55
|
+
return `calc(${t}% + (${a}px - ${n * (t / 100)}px))`;
|
|
56
|
+
}, T = r(() => {
|
|
57
|
+
if (w.value) {
|
|
58
|
+
const t = Math.min(f.value, g.value), a = Math.max(f.value, g.value), n = m(t), S = m(a);
|
|
59
|
+
return e.orientation === "vertical" ? {
|
|
60
|
+
bottom: n,
|
|
61
|
+
height: `calc(${S} - ${n})`
|
|
62
|
+
} : {
|
|
63
|
+
left: n,
|
|
64
|
+
width: `calc(${S} - ${n})`
|
|
52
65
|
};
|
|
53
66
|
} else
|
|
54
|
-
return {
|
|
67
|
+
return e.orientation === "vertical" ? {
|
|
68
|
+
bottom: "0%",
|
|
69
|
+
height: m(f.value)
|
|
70
|
+
} : {
|
|
55
71
|
left: "0%",
|
|
56
|
-
width:
|
|
72
|
+
width: m(f.value)
|
|
57
73
|
};
|
|
58
|
-
}),
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
const l = b.value ? 0 : t.min;
|
|
67
|
-
u.value = l, d("update:modelValue", l), d("change", l);
|
|
68
|
-
}, T = r(() => {
|
|
69
|
-
const l = t.step.toString().split(".")[1]?.length || 0;
|
|
70
|
-
return u.value.toFixed(l);
|
|
71
|
-
}), m = r(() => ({
|
|
72
|
-
xs: {
|
|
73
|
-
track: "h-[2.85px] bg-gray-300",
|
|
74
|
-
thumb: "w-[12px] h-[12px]",
|
|
75
|
-
wrapper: "h-4",
|
|
76
|
-
tick: "h-2.5"
|
|
77
|
-
},
|
|
78
|
-
sm: {
|
|
79
|
-
track: "h-[4px] bg-gray-300",
|
|
80
|
-
thumb: "w-[13px] h-[13px]",
|
|
81
|
-
wrapper: "h-4",
|
|
82
|
-
tick: "h-3"
|
|
83
|
-
},
|
|
84
|
-
md: {
|
|
85
|
-
track: "h-1.5 bg-gray-250",
|
|
86
|
-
thumb: "w-3.5 h-3.5",
|
|
87
|
-
wrapper: "h-6",
|
|
88
|
-
tick: "h-3.5"
|
|
89
|
-
},
|
|
90
|
-
lg: {
|
|
91
|
-
track: "h-2 bg-gray-250",
|
|
92
|
-
thumb: "w-4.5 h-4.5",
|
|
93
|
-
wrapper: "h-7",
|
|
94
|
-
tick: "h-4"
|
|
74
|
+
}), j = r(() => {
|
|
75
|
+
if (!w.value) return "";
|
|
76
|
+
if (e.orientation === "vertical") {
|
|
77
|
+
if (o.value < 0) return "rounded-t-none";
|
|
78
|
+
if (o.value > 0) return "rounded-b-none";
|
|
79
|
+
} else {
|
|
80
|
+
if (o.value < 0) return "rounded-r-none";
|
|
81
|
+
if (o.value > 0) return "rounded-l-none";
|
|
95
82
|
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
83
|
+
return "";
|
|
84
|
+
}), E = r(() => e.orientation === "vertical" ? {
|
|
85
|
+
bottom: m(f.value)
|
|
86
|
+
} : {
|
|
87
|
+
left: m(f.value)
|
|
88
|
+
}), L = () => {
|
|
89
|
+
v("update:modelValue", o.value);
|
|
90
|
+
}, N = () => {
|
|
91
|
+
v("change", o.value), i.value = !1;
|
|
92
|
+
}, R = r(() => Math.abs(e.modelValue) > 1e-3), $ = () => {
|
|
93
|
+
if (e.disabled) return;
|
|
94
|
+
const t = w.value ? 0 : e.min;
|
|
95
|
+
o.value = t, v("update:modelValue", t), v("change", t);
|
|
96
|
+
}, M = r(() => {
|
|
97
|
+
const t = e.step.toString().split(".")[1]?.length || 0;
|
|
98
|
+
return o.value.toFixed(t);
|
|
99
|
+
}), b = r(() => {
|
|
100
|
+
const t = e.orientation === "vertical";
|
|
101
|
+
return {
|
|
102
|
+
xs: {
|
|
103
|
+
track: t ? "w-[2.85px] bg-gray-300" : "h-[2.4px] bg-gray-300",
|
|
104
|
+
thumb: "w-[11.5px] h-[11.5px]",
|
|
105
|
+
wrapper: t ? "w-4 min-h-[100px]" : "h-4 w-full",
|
|
106
|
+
tick: t ? "w-2.5 h-[1.85px]" : "h-2.5 w-[2px]"
|
|
107
|
+
},
|
|
108
|
+
sm: {
|
|
109
|
+
track: t ? "w-[4px] bg-gray-300" : "h-[4px] bg-gray-300",
|
|
110
|
+
thumb: "w-[13px] h-[13px]",
|
|
111
|
+
wrapper: t ? "w-4 min-h-[100px]" : "h-4 w-full",
|
|
112
|
+
tick: t ? "w-3 h-[2px]" : "h-3 w-[2px]"
|
|
113
|
+
},
|
|
114
|
+
md: {
|
|
115
|
+
track: t ? "w-1.5 bg-gray-250" : "h-1.5 bg-gray-250",
|
|
116
|
+
thumb: "w-3.5 h-3.5",
|
|
117
|
+
wrapper: t ? "w-6 min-h-[100px]" : "h-6 w-full",
|
|
118
|
+
tick: t ? "w-3.5 h-[2px]" : "h-3.5 w-[2px]"
|
|
119
|
+
},
|
|
120
|
+
lg: {
|
|
121
|
+
track: t ? "w-2 bg-gray-250" : "h-2 bg-gray-250",
|
|
122
|
+
thumb: "w-4.5 h-4.5",
|
|
123
|
+
wrapper: t ? "w-7 min-h-[100px]" : "h-7 w-full",
|
|
124
|
+
tick: t ? "w-4 h-[2px]" : "h-4 w-[2px]"
|
|
125
|
+
}
|
|
126
|
+
}[e.size];
|
|
127
|
+
}), p = r(() => e.labelI18n ? q(e.labelI18n) : e.label), B = r(() => e.labelClass ? e.labelClass : e.size === "xs" || e.size === "sm" ? "text-muted-foreground text-xs font-normal" : "text-muted-foreground text-sm font-medium"), D = r(() => e.valueClass ? e.valueClass : e.size === "xs" || e.size === "sm" ? "text-muted-foreground text-xs font-normal" : "text-muted-foreground text-sm");
|
|
128
|
+
return (t, a) => (u(), d("div", {
|
|
129
|
+
class: s(["slider-wrapper flex select-none touch-none", [
|
|
130
|
+
{ "opacity-50 pointer-events-none": l.disabled },
|
|
131
|
+
e.orientation === "vertical" ? "flex-col items-center h-full py-2 gap-3" : e.variant === "two" ? "flex-col w-full gap-1" : "w-full flex-row items-center gap-3"
|
|
132
|
+
]]),
|
|
133
|
+
onMouseenter: a[7] || (a[7] = (n) => x.value = !0),
|
|
134
|
+
onMouseleave: a[8] || (a[8] = (n) => x.value = !1)
|
|
101
135
|
}, [
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
136
|
+
e.variant === "two" && e.orientation !== "vertical" ? (u(), d("div", A, [
|
|
137
|
+
p.value || l.icon ? (u(), d("div", {
|
|
138
|
+
key: 0,
|
|
139
|
+
class: s(["flex items-center gap-2 cursor-pointer transition-colors", [{ "text-primary": i.value || x.value }, B.value]]),
|
|
140
|
+
onClick: a[0] || (a[0] = (n) => v("iconClick")),
|
|
141
|
+
title: "Double-click to reset"
|
|
142
|
+
}, [
|
|
143
|
+
l.icon ? (u(), I(P, {
|
|
144
|
+
key: 0,
|
|
145
|
+
icon: l.icon,
|
|
146
|
+
class: "h-4 w-4"
|
|
147
|
+
}, null, 8, ["icon"])) : c("", !0),
|
|
148
|
+
p.value ? (u(), d("label", G, y(p.value), 1)) : c("", !0)
|
|
149
|
+
], 2)) : c("", !0),
|
|
150
|
+
l.showValue ? (u(), d("span", {
|
|
151
|
+
key: 1,
|
|
152
|
+
onDblclick: $,
|
|
153
|
+
class: s(["font-mono tabular-nums text-right min-w-6", D.value])
|
|
154
|
+
}, y(M.value), 35)) : c("", !0)
|
|
155
|
+
])) : c("", !0),
|
|
156
|
+
(e.variant !== "two" || e.orientation === "vertical") && (p.value || l.icon) ? (u(), d("div", {
|
|
157
|
+
key: 1,
|
|
158
|
+
class: s(["flex items-center gap-2 min-w-fit cursor-pointer transition-colors", [{ "text-primary": i.value || x.value }, B.value]]),
|
|
159
|
+
onClick: a[1] || (a[1] = (n) => v("iconClick")),
|
|
106
160
|
title: "Double-click to reset"
|
|
107
161
|
}, [
|
|
108
|
-
|
|
162
|
+
l.icon ? (u(), I(P, {
|
|
109
163
|
key: 0,
|
|
110
|
-
icon:
|
|
164
|
+
icon: l.icon,
|
|
111
165
|
class: "h-4 w-4"
|
|
112
|
-
}, null, 8, ["icon"])) :
|
|
113
|
-
|
|
114
|
-
], 2)) :
|
|
115
|
-
|
|
116
|
-
class: s(["relative flex-
|
|
166
|
+
}, null, 8, ["icon"])) : c("", !0),
|
|
167
|
+
p.value ? (u(), d("label", J, y(p.value), 1)) : c("", !0)
|
|
168
|
+
], 2)) : c("", !0),
|
|
169
|
+
h("div", {
|
|
170
|
+
class: s(["relative flex justify-center items-center group", [
|
|
171
|
+
b.value.wrapper,
|
|
172
|
+
e.orientation === "vertical" || e.variant !== "two" ? "flex-1" : ""
|
|
173
|
+
]])
|
|
117
174
|
}, [
|
|
118
|
-
|
|
119
|
-
class: s(["absolute
|
|
175
|
+
h("div", {
|
|
176
|
+
class: s(["absolute rounded-full", [
|
|
177
|
+
b.value.track,
|
|
178
|
+
e.orientation === "vertical" ? "h-full left-1/2 transform -translate-x-1/2" : "w-full top-1/2 transform -translate-y-1/2"
|
|
179
|
+
]])
|
|
120
180
|
}, null, 2),
|
|
121
|
-
|
|
181
|
+
w.value ? (u(), d("div", {
|
|
122
182
|
key: 0,
|
|
123
|
-
class: s(["absolute
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
183
|
+
class: s(["absolute bg-muted-foreground/30 rounded z-0", [
|
|
184
|
+
b.value.tick,
|
|
185
|
+
e.orientation === "vertical" ? "left-1/2 transform -translate-x-1/2" : "top-1/2 transform -translate-y-1/2"
|
|
186
|
+
]]),
|
|
187
|
+
style: k(
|
|
188
|
+
e.orientation === "vertical" ? { bottom: m(g.value) } : { left: m(g.value) }
|
|
189
|
+
)
|
|
190
|
+
}, null, 6)) : c("", !0),
|
|
191
|
+
h("div", {
|
|
127
192
|
class: s(["absolute bg-primary rounded-full will-change-transform", [
|
|
128
193
|
{
|
|
129
|
-
"bg-muted-foreground":
|
|
130
|
-
"transition-all duration-75 ease-out": !
|
|
131
|
-
"duration-0":
|
|
194
|
+
"bg-muted-foreground": l.disabled,
|
|
195
|
+
"transition-all duration-75 ease-out": !i.value,
|
|
196
|
+
"duration-0": i.value
|
|
132
197
|
},
|
|
133
|
-
|
|
134
|
-
|
|
198
|
+
b.value.track,
|
|
199
|
+
j.value,
|
|
200
|
+
e.orientation === "vertical" ? "left-1/2 transform -translate-x-1/2" : "top-1/2 transform -translate-y-1/2"
|
|
135
201
|
]]),
|
|
136
|
-
style: k(
|
|
202
|
+
style: k(T.value)
|
|
137
203
|
}, null, 6),
|
|
138
|
-
|
|
139
|
-
class: s(["absolute
|
|
204
|
+
h("div", {
|
|
205
|
+
class: s(["absolute rounded-full pointer-events-none transition-transform duration-100 ease-out z-10", [
|
|
206
|
+
e.thumbVariant === "solid" ? "bg-primary" : "bg-background border border-gray-400/90 shadow-sm",
|
|
140
207
|
{
|
|
141
|
-
"border-primary shadow-md scale-110":
|
|
142
|
-
"
|
|
208
|
+
"border-primary shadow-md scale-110": i.value && e.thumbVariant !== "solid",
|
|
209
|
+
"scale-110": i.value && e.thumbVariant === "solid",
|
|
210
|
+
"border-primary": R.value && e.thumbVariant !== "solid",
|
|
211
|
+
"bg-muted-foreground": l.disabled && e.thumbVariant === "solid"
|
|
143
212
|
},
|
|
144
|
-
|
|
213
|
+
b.value.thumb,
|
|
214
|
+
e.orientation === "vertical" ? "left-1/2 transform -translate-x-1/2 translate-y-1/2" : "top-1/2 -ml-px transform -translate-y-1/2 -translate-x-1/2"
|
|
145
215
|
]]),
|
|
146
|
-
style: k(
|
|
216
|
+
style: k(E.value)
|
|
147
217
|
}, null, 6),
|
|
148
|
-
|
|
218
|
+
U(h("input", {
|
|
149
219
|
type: "range",
|
|
150
|
-
"onUpdate:modelValue":
|
|
151
|
-
min:
|
|
152
|
-
max:
|
|
153
|
-
step:
|
|
154
|
-
disabled:
|
|
155
|
-
onInput:
|
|
156
|
-
onChange:
|
|
157
|
-
onMousedown:
|
|
158
|
-
onTouchstart:
|
|
159
|
-
onMouseup:
|
|
160
|
-
onTouchend:
|
|
161
|
-
class: "slider-input absolute inset-0 w-full h-full opacity-0 cursor-pointer z-20 m-0 p-0"
|
|
162
|
-
|
|
220
|
+
"onUpdate:modelValue": a[2] || (a[2] = (n) => o.value = n),
|
|
221
|
+
min: l.min,
|
|
222
|
+
max: l.max,
|
|
223
|
+
step: l.step,
|
|
224
|
+
disabled: l.disabled,
|
|
225
|
+
onInput: L,
|
|
226
|
+
onChange: N,
|
|
227
|
+
onMousedown: a[3] || (a[3] = (n) => i.value = !0),
|
|
228
|
+
onTouchstart: a[4] || (a[4] = (n) => i.value = !0),
|
|
229
|
+
onMouseup: a[5] || (a[5] = (n) => i.value = !1),
|
|
230
|
+
onTouchend: a[6] || (a[6] = (n) => i.value = !1),
|
|
231
|
+
class: "slider-input absolute inset-0 w-full h-full opacity-0 cursor-pointer z-20 m-0 p-0",
|
|
232
|
+
orient: e.orientation === "vertical" ? "vertical" : void 0,
|
|
233
|
+
style: k(
|
|
234
|
+
e.orientation === "vertical" ? "appearance: slider-vertical; -webkit-appearance: slider-vertical;" : ""
|
|
235
|
+
)
|
|
236
|
+
}, null, 44, K), [
|
|
163
237
|
[
|
|
164
|
-
|
|
165
|
-
|
|
238
|
+
W,
|
|
239
|
+
o.value,
|
|
166
240
|
void 0,
|
|
167
241
|
{ number: !0 }
|
|
168
242
|
]
|
|
169
243
|
])
|
|
170
244
|
], 2),
|
|
171
|
-
|
|
172
|
-
key:
|
|
173
|
-
onDblclick:
|
|
174
|
-
class: "font-mono tabular-nums text-
|
|
175
|
-
},
|
|
245
|
+
(e.variant !== "two" || e.orientation === "vertical") && l.showValue ? (u(), d("span", {
|
|
246
|
+
key: 2,
|
|
247
|
+
onDblclick: $,
|
|
248
|
+
class: s(["font-mono tabular-nums text-right min-w-6", D.value])
|
|
249
|
+
}, y(M.value), 35)) : c("", !0)
|
|
176
250
|
], 34));
|
|
177
251
|
}
|
|
178
252
|
});
|
|
179
253
|
export {
|
|
180
|
-
|
|
254
|
+
Z as default
|
|
181
255
|
};
|
|
@@ -18,6 +18,7 @@ const o = {
|
|
|
18
18
|
available: { variant: "teal", icon: "lucide:circle-check" },
|
|
19
19
|
present: { variant: "success", icon: "lucide:user-check" },
|
|
20
20
|
shipped: { variant: "teal", icon: "lucide:truck" },
|
|
21
|
+
arrived: { variant: "teal", icon: "lucide:map-pin" },
|
|
21
22
|
published: { variant: "success", icon: "lucide:globe" },
|
|
22
23
|
online: { variant: "indigo", icon: "lucide:globe" },
|
|
23
24
|
success: { variant: "success", icon: "lucide:check-circle-2" },
|
|
@@ -45,6 +46,7 @@ const o = {
|
|
|
45
46
|
reviewing: { variant: "indigo", icon: "lucide:eye" },
|
|
46
47
|
underreview: { variant: "indigo", icon: "lucide:eye" },
|
|
47
48
|
submitted: { variant: "indigo", icon: "lucide:send" },
|
|
49
|
+
submited: { variant: "indigo", icon: "lucide:send" },
|
|
48
50
|
sent: { variant: "cyan", icon: "lucide:send" },
|
|
49
51
|
scheduled: { variant: "cyan", icon: "lucide:calendar-clock" },
|
|
50
52
|
syncing: { variant: "purple", icon: "lucide:refresh-cw" },
|
|
@@ -130,11 +132,21 @@ const o = {
|
|
|
130
132
|
unposted: { variant: "secondary", icon: "lucide:file-x" },
|
|
131
133
|
settled: { variant: "success", icon: "lucide:handshake" },
|
|
132
134
|
voided: { variant: "secondary", icon: "lucide:ban" },
|
|
135
|
+
profit: { variant: "success", icon: "lucide:trending-up" },
|
|
136
|
+
loss: { variant: "danger", icon: "lucide:trending-down" },
|
|
137
|
+
revenue: { variant: "success", icon: "lucide:coins" },
|
|
138
|
+
journal: { variant: "purple", icon: "lucide:book-open" },
|
|
139
|
+
journalentry: { variant: "purple", icon: "lucide:book-open", label: "Journal Entry" },
|
|
140
|
+
voucher: { variant: "cyan", icon: "lucide:ticket" },
|
|
133
141
|
// ── Payment Methods ────────────────────────────────────────────────────────
|
|
134
142
|
cash: { variant: "success", icon: "lucide:banknote" },
|
|
135
143
|
check: { variant: "blue", icon: "lucide:receipt" },
|
|
136
144
|
card: { variant: "purple", icon: "lucide:credit-card" },
|
|
137
145
|
transfer: { variant: "cyan", icon: "lucide:arrow-right-left" },
|
|
146
|
+
bank: { variant: "blue", icon: "lucide:landmark" },
|
|
147
|
+
app: { variant: "indigo", icon: "lucide:smartphone" },
|
|
148
|
+
checkslip: { variant: "secondary", icon: "lucide:receipt", label: "Check Slip" },
|
|
149
|
+
bankcheck: { variant: "blue", icon: "lucide:receipt", label: "Bank Check" },
|
|
138
150
|
// ── HR / Recruiting ────────────────────────────────────────────────────────
|
|
139
151
|
hired: { variant: "success", icon: "lucide:user-check" },
|
|
140
152
|
interviewing: { variant: "indigo", icon: "lucide:users" },
|
|
@@ -174,6 +186,7 @@ const o = {
|
|
|
174
186
|
// ── Invoice Type ───────────────────────────────────────────────────────────
|
|
175
187
|
sale: { variant: "success", icon: "lucide:shopping-cart" },
|
|
176
188
|
expense: { variant: "warning", icon: "lucide:receipt" },
|
|
189
|
+
expenses: { variant: "warning", icon: "lucide:receipt" },
|
|
177
190
|
// ── Payment Type ───────────────────────────────────────────────────────────
|
|
178
191
|
debit: { variant: "danger", icon: "lucide:arrow-up-right" },
|
|
179
192
|
credit: { variant: "success", icon: "lucide:arrow-down-left" },
|
|
@@ -46,10 +46,10 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
46
46
|
class: string;
|
|
47
47
|
clickable: boolean;
|
|
48
48
|
direction: TimelineDirection;
|
|
49
|
+
indicatorType: TimelineIndicatorType;
|
|
49
50
|
activeStep: number;
|
|
50
51
|
textPosition: TimelineTextPosition;
|
|
51
52
|
lineStyle: TimelineLineStyle;
|
|
52
|
-
indicatorType: TimelineIndicatorType;
|
|
53
53
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
54
54
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
55
55
|
export default _default;
|
package/components/index.d.ts
CHANGED
|
@@ -66,4 +66,4 @@ export { default as Tooltip } from './Tooltip.vue';
|
|
|
66
66
|
export { Workbook } from './Workbook';
|
|
67
67
|
export { ExportData } from './ExportData';
|
|
68
68
|
export { ImportData } from './ImportData';
|
|
69
|
-
export { LineChart, BarChart, PieChart, CircleChart } from './Chart';
|
|
69
|
+
export { LineChart, BarChart, PieChart, CircleChart, GanttChart } from './Chart';
|
package/index.d.ts
CHANGED
|
@@ -58,6 +58,7 @@ export * from './components/Chart';
|
|
|
58
58
|
export * from './components/AppShell';
|
|
59
59
|
export * from './components/Rating';
|
|
60
60
|
export * from './components/AsyncSelect';
|
|
61
|
+
export * from './components/ImageComparison';
|
|
61
62
|
export { default as Icon } from './components/Icon.vue';
|
|
62
63
|
export { default as Logo } from './components/Logo.vue';
|
|
63
64
|
export { default as Alert } from './components/Alert.vue';
|
|
@@ -74,6 +75,8 @@ export { default as Switch } from './components/Switch.vue';
|
|
|
74
75
|
export { default as Tooltip } from './components/Tooltip.vue';
|
|
75
76
|
export { default as CheckBox } from './components/CheckBox.vue';
|
|
76
77
|
export { default as Textarea } from './components/Textarea.vue';
|
|
78
|
+
export { default as Radio } from './components/Radio.vue';
|
|
79
|
+
export { default as RadioGroup } from './components/RadioGroup.vue';
|
|
77
80
|
export { default as SidePanel } from './components/SidePanel.vue';
|
|
78
81
|
export { default as DatePicker } from './components/DatePicker.vue';
|
|
79
82
|
export { default as IconPicker } from './components/IconPicker.vue';
|