vlite3 0.2.1 → 0.2.3
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 +173 -54
- package/components/Dropdown/DropdownMenu.vue.js +48 -47
- package/components/GoogleLogin.vue.d.ts +3 -3
- package/components/GoogleLogin.vue.js +60 -0
- package/components/GoogleLogin.vue2.js +4 -0
- package/components/ProgressBar/ProgressBar.vue.js +7 -0
- package/components/ProgressBar/ProgressBar.vue2.js +158 -0
- package/directives/vScrollReveal.d.ts +2 -0
- package/directives/vScrollReveal.js +48 -0
- package/index.d.ts +6 -0
- package/index.js +160 -146
- package/package.json +5 -3
- package/style.css +24 -3
- package/utils/env.d.ts +14 -0
- package/utils/env.js +4 -0
- package/utils/index.d.ts +2 -0
- package/utils/search.util.d.ts +127 -0
- package/utils/search.util.js +363 -0
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { defineComponent as $, computed as s, openBlock as n, createElementBlock as i, normalizeStyle as o, normalizeClass as c, createElementVNode as d, toDisplayString as x, createCommentVNode as g } from "vue";
|
|
2
|
+
const S = ["aria-valuenow"], M = {
|
|
3
|
+
key: 0,
|
|
4
|
+
class: "px-2 font-medium truncate"
|
|
5
|
+
}, j = ["aria-valuenow"], E = ["width", "height", "viewBox"], I = ["cx", "cy", "r", "stroke-width"], N = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], W = /* @__PURE__ */ $({
|
|
6
|
+
__name: "ProgressBar",
|
|
7
|
+
props: {
|
|
8
|
+
modelValue: {},
|
|
9
|
+
type: { default: "linear" },
|
|
10
|
+
variant: { default: "primary" },
|
|
11
|
+
size: { default: "md" },
|
|
12
|
+
showValue: { type: Boolean, default: !1 },
|
|
13
|
+
label: {},
|
|
14
|
+
height: {},
|
|
15
|
+
width: {},
|
|
16
|
+
strokeWidth: {},
|
|
17
|
+
striped: { type: Boolean, default: !1 },
|
|
18
|
+
animated: { type: Boolean, default: !1 },
|
|
19
|
+
indeterminate: { type: Boolean, default: !1 },
|
|
20
|
+
color: {},
|
|
21
|
+
trackColor: {},
|
|
22
|
+
rounded: { default: "rounded-full" }
|
|
23
|
+
},
|
|
24
|
+
setup(t) {
|
|
25
|
+
const e = t, h = (a) => Math.min(100, Math.max(0, a)), m = (a) => {
|
|
26
|
+
if (a !== void 0)
|
|
27
|
+
return typeof a == "number" ? `${a}px` : a;
|
|
28
|
+
}, v = {
|
|
29
|
+
primary: "bg-primary text-primary-foreground",
|
|
30
|
+
secondary: "bg-secondary text-secondary-foreground",
|
|
31
|
+
success: "bg-success text-success-fg",
|
|
32
|
+
warning: "bg-warning text-warning-fg",
|
|
33
|
+
danger: "bg-destructive text-destructive-foreground",
|
|
34
|
+
info: "bg-info text-info-fg",
|
|
35
|
+
gradient: "bg-gradient-to-r from-primary to-purple-500 text-white"
|
|
36
|
+
}, y = {
|
|
37
|
+
xs: "h-1 text-[10px]",
|
|
38
|
+
sm: "h-2 text-xs",
|
|
39
|
+
md: "h-3 text-xs",
|
|
40
|
+
lg: "h-4 text-sm",
|
|
41
|
+
xl: "h-6 text-base"
|
|
42
|
+
}, w = {
|
|
43
|
+
xs: 40,
|
|
44
|
+
sm: 60,
|
|
45
|
+
md: 80,
|
|
46
|
+
lg: 120,
|
|
47
|
+
xl: 160
|
|
48
|
+
}, k = s(() => ({
|
|
49
|
+
height: m(e.height),
|
|
50
|
+
width: `${h(e.modelValue)}%`,
|
|
51
|
+
backgroundColor: e.color,
|
|
52
|
+
transition: "width 0.3s ease-in-out"
|
|
53
|
+
})), b = s(() => ({
|
|
54
|
+
backgroundColor: e.trackColor,
|
|
55
|
+
height: m(e.height)
|
|
56
|
+
})), r = s(() => {
|
|
57
|
+
const a = typeof e.width == "number" ? e.width : e.width ? parseInt(e.width) : w[e.size], l = e.strokeWidth || a / 10, f = (a - l) / 2, u = 2 * Math.PI * f, B = u - h(e.modelValue) / 100 * u;
|
|
58
|
+
return {
|
|
59
|
+
width: a,
|
|
60
|
+
stroke: l,
|
|
61
|
+
radius: f,
|
|
62
|
+
circumference: u,
|
|
63
|
+
offset: B,
|
|
64
|
+
center: a / 2
|
|
65
|
+
};
|
|
66
|
+
});
|
|
67
|
+
s(() => e.color ? e.color : "currentColor");
|
|
68
|
+
const p = s(() => [
|
|
69
|
+
"w-full overflow-hidden",
|
|
70
|
+
e.rounded,
|
|
71
|
+
e.height ? "" : y[e.size],
|
|
72
|
+
// Only apply preset height if custom not set
|
|
73
|
+
"bg-secondary"
|
|
74
|
+
// Default track
|
|
75
|
+
]), C = s(() => [
|
|
76
|
+
"h-full flex items-center justify-center transition-all duration-300 rounded",
|
|
77
|
+
e.color ? "" : v[e.variant],
|
|
78
|
+
e.striped ? "bg-stripe" : "",
|
|
79
|
+
e.animated ? "animate-progress-stripe" : "",
|
|
80
|
+
e.indeterminate ? "animate-progress-indeterminate w-full origin-left" : ""
|
|
81
|
+
]), z = s(() => ["absolute inset-0 flex items-center justify-center font-medium", {
|
|
82
|
+
xs: "text-[10px]",
|
|
83
|
+
sm: "text-xs",
|
|
84
|
+
md: "text-sm",
|
|
85
|
+
lg: "text-lg",
|
|
86
|
+
xl: "text-xl"
|
|
87
|
+
}[e.size]].join(" ")), V = s(() => ({
|
|
88
|
+
primary: "text-primary",
|
|
89
|
+
secondary: "text-secondary-foreground",
|
|
90
|
+
success: "text-success",
|
|
91
|
+
warning: "text-warning",
|
|
92
|
+
danger: "text-destructive",
|
|
93
|
+
info: "text-info",
|
|
94
|
+
gradient: "text-primary"
|
|
95
|
+
// SVG gradient handled separately if needed
|
|
96
|
+
})[e.variant]);
|
|
97
|
+
return (a, l) => t.type === "linear" ? (n(), i("div", {
|
|
98
|
+
key: 0,
|
|
99
|
+
role: "progressbar",
|
|
100
|
+
"aria-valuenow": t.indeterminate ? void 0 : t.modelValue,
|
|
101
|
+
"aria-valuemin": 0,
|
|
102
|
+
"aria-valuemax": 100,
|
|
103
|
+
class: c(p.value),
|
|
104
|
+
style: o(b.value)
|
|
105
|
+
}, [
|
|
106
|
+
d("div", {
|
|
107
|
+
class: c(C.value),
|
|
108
|
+
style: o(t.indeterminate ? {} : k.value)
|
|
109
|
+
}, [
|
|
110
|
+
t.showValue && !t.indeterminate && t.size !== "xs" && t.size !== "sm" ? (n(), i("span", M, x(t.label || `${Math.round(t.modelValue)}%`), 1)) : g("", !0)
|
|
111
|
+
], 6)
|
|
112
|
+
], 14, S)) : (n(), i("div", {
|
|
113
|
+
key: 1,
|
|
114
|
+
role: "progressbar",
|
|
115
|
+
"aria-valuenow": t.modelValue,
|
|
116
|
+
"aria-valuemin": 0,
|
|
117
|
+
"aria-valuemax": 100,
|
|
118
|
+
class: "relative inline-flex items-center justify-center",
|
|
119
|
+
style: o({ width: `${r.value.width}px`, height: `${r.value.width}px` })
|
|
120
|
+
}, [
|
|
121
|
+
(n(), i("svg", {
|
|
122
|
+
width: r.value.width,
|
|
123
|
+
height: r.value.width,
|
|
124
|
+
viewBox: `0 0 ${r.value.width} ${r.value.width}`,
|
|
125
|
+
class: "transform -rotate-90"
|
|
126
|
+
}, [
|
|
127
|
+
d("circle", {
|
|
128
|
+
cx: r.value.center,
|
|
129
|
+
cy: r.value.center,
|
|
130
|
+
r: r.value.radius,
|
|
131
|
+
"stroke-width": r.value.stroke,
|
|
132
|
+
fill: "transparent",
|
|
133
|
+
class: "text-secondary stroke-current",
|
|
134
|
+
style: o({ stroke: t.trackColor })
|
|
135
|
+
}, null, 12, I),
|
|
136
|
+
d("circle", {
|
|
137
|
+
cx: r.value.center,
|
|
138
|
+
cy: r.value.center,
|
|
139
|
+
r: r.value.radius,
|
|
140
|
+
"stroke-width": r.value.stroke,
|
|
141
|
+
fill: "transparent",
|
|
142
|
+
"stroke-dasharray": r.value.circumference,
|
|
143
|
+
"stroke-dashoffset": r.value.offset,
|
|
144
|
+
"stroke-linecap": "round",
|
|
145
|
+
class: c(["stroke-current transition-all duration-300 ease-out", [t.color ? "" : V.value]]),
|
|
146
|
+
style: o({ stroke: t.color })
|
|
147
|
+
}, null, 14, N)
|
|
148
|
+
], 8, E)),
|
|
149
|
+
t.showValue ? (n(), i("div", {
|
|
150
|
+
key: 0,
|
|
151
|
+
class: c(z.value)
|
|
152
|
+
}, x(t.label || `${Math.round(t.modelValue)}%`), 3)) : g("", !0)
|
|
153
|
+
], 12, j));
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
export {
|
|
157
|
+
W as default
|
|
158
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import c from "scrollreveal";
|
|
2
|
+
const o = /* @__PURE__ */ new WeakMap(), s = {
|
|
3
|
+
distance: "50px",
|
|
4
|
+
duration: 800,
|
|
5
|
+
delay: 200,
|
|
6
|
+
easing: "cubic-bezier(0.5, 0, 0, 1)",
|
|
7
|
+
origin: "bottom",
|
|
8
|
+
interval: 0,
|
|
9
|
+
opacity: 0,
|
|
10
|
+
scale: 1,
|
|
11
|
+
cleanup: !1,
|
|
12
|
+
mobile: !0,
|
|
13
|
+
reset: !1,
|
|
14
|
+
// true = animations repeat on scroll up/down
|
|
15
|
+
useDelay: "always",
|
|
16
|
+
viewFactor: 0
|
|
17
|
+
};
|
|
18
|
+
function r(e) {
|
|
19
|
+
if (!e) return window;
|
|
20
|
+
if (e === document.body || e === document.documentElement)
|
|
21
|
+
return document.documentElement;
|
|
22
|
+
const t = getComputedStyle(e).overflowY;
|
|
23
|
+
return (t === "auto" || t === "scroll" || t === "overlay") && e.scrollHeight > e.clientHeight ? e : r(e.parentElement);
|
|
24
|
+
}
|
|
25
|
+
const u = {
|
|
26
|
+
mounted: (e, l) => {
|
|
27
|
+
if (typeof window > "u") return;
|
|
28
|
+
const t = r(e.parentElement);
|
|
29
|
+
let n = o.get(t);
|
|
30
|
+
n || (n = c({
|
|
31
|
+
// If container is window/html, ScrollReveal expects 'document.documentElement' usually,
|
|
32
|
+
// but 'container' option defaults to window.document.documentElement.
|
|
33
|
+
// If it's a specific div, we pass that div.
|
|
34
|
+
container: t === window ? document.documentElement : t
|
|
35
|
+
}), o.set(t, n));
|
|
36
|
+
const a = Object.assign({}, s, l.value);
|
|
37
|
+
e.classList.add("v-scroll-reveal"), n.reveal(e, a);
|
|
38
|
+
},
|
|
39
|
+
updated: (e, l) => {
|
|
40
|
+
if (!(typeof window > "u") && JSON.stringify(l.value) !== JSON.stringify(l.oldValue)) {
|
|
41
|
+
const t = r(e.parentElement), n = o.get(t);
|
|
42
|
+
n && n.reveal(e, Object.assign({}, s, l.value));
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
export {
|
|
47
|
+
u as vScrollReveal
|
|
48
|
+
};
|
package/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as GoogleSignInPlugin } from 'vue3-google-signin';
|
|
1
2
|
export * from './components/Accordion';
|
|
2
3
|
export { default as Alert } from './components/Alert.vue';
|
|
3
4
|
export { default as Avatar } from './components/Avatar.vue';
|
|
@@ -43,9 +44,14 @@ export { default as Timeline } from './components/Timeline.vue';
|
|
|
43
44
|
export { default as ToastNotification } from './components/ToastNotification.vue';
|
|
44
45
|
export { default as Tooltip } from './components/Tooltip.vue';
|
|
45
46
|
export * from './components/Workbook';
|
|
47
|
+
export { default as GoogleLogin } from './components/GoogleLogin.vue';
|
|
48
|
+
export * from './components/ProgressBar';
|
|
49
|
+
export * from './components/Spinner';
|
|
46
50
|
export * from './composables/useNotifications';
|
|
47
51
|
export * from './composables/useTheme';
|
|
48
52
|
export * from './composables/useKeyStroke';
|
|
53
|
+
export * from './directives/vScrollReveal';
|
|
49
54
|
export { createVLite, useVLiteConfig } from './core';
|
|
55
|
+
export { GoogleSignInPlugin };
|
|
50
56
|
export * from './utils';
|
|
51
57
|
export * from './types';
|
package/index.js
CHANGED
|
@@ -1,175 +1,189 @@
|
|
|
1
|
-
import { default as t } from "
|
|
2
|
-
import { default as f } from "./components/Accordion/
|
|
3
|
-
import { default as
|
|
4
|
-
import { default as d } from "./components/Accordion/
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as i } from "./components/
|
|
7
|
-
import { default as c } from "./components/
|
|
8
|
-
import { default as g } from "./components/
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as P } from "./components/
|
|
1
|
+
import { default as t } from "vue3-google-signin";
|
|
2
|
+
import { default as f } from "./components/Accordion/Accordion.vue.js";
|
|
3
|
+
import { default as m } from "./components/Accordion/AccordionItem.vue.js";
|
|
4
|
+
import { default as d } from "./components/Accordion/AccordionTrigger.vue.js";
|
|
5
|
+
import { default as u } from "./components/Accordion/AccordionContent.vue.js";
|
|
6
|
+
import { default as i } from "./components/Alert.vue.js";
|
|
7
|
+
import { default as c } from "./components/Avatar.vue.js";
|
|
8
|
+
import { default as g } from "./components/AvatarUploader/AvatarUploader.vue.js";
|
|
9
|
+
import { default as b } from "./components/Badge.vue.js";
|
|
10
|
+
import { default as P } from "./components/Button.vue.js";
|
|
11
|
+
import { default as v } from "./components/ButtonGroup.vue.js";
|
|
11
12
|
import { default as C } from "./components/Carousel/Carousel.vue.js";
|
|
12
13
|
import { default as D } from "./components/CheckBox.vue.js";
|
|
13
|
-
import { default as
|
|
14
|
+
import { default as y } from "./components/Chip/Chip.vue.js";
|
|
14
15
|
import { default as k } from "./components/ChoiceBox/ChoiceBox.vue.js";
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
16
|
+
import { default as B } from "./components/ColorPicker/ColorPicker.vue.js";
|
|
17
|
+
import { default as G } from "./components/ConfirmationModal.vue.js";
|
|
17
18
|
import { default as E } from "./components/DatePicker.vue.js";
|
|
18
19
|
import { default as O } from "./components/DataTable/DataTable.vue.js";
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as
|
|
21
|
-
import { default as
|
|
22
|
-
import { default as
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { useDropdownSelection as
|
|
26
|
-
import { useDropdownIds as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
30
|
-
import { useTreeSelection as
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as
|
|
35
|
-
import { useForm as
|
|
36
|
-
import { useFileUpload as
|
|
37
|
-
import { default as
|
|
20
|
+
import { default as z } from "./components/DataTable/DataTableHeader.vue.js";
|
|
21
|
+
import { default as V } from "./components/DataTable/DataTableRow.vue.js";
|
|
22
|
+
import { default as W } from "./components/Dropdown/Dropdown.vue.js";
|
|
23
|
+
import { default as _ } from "./components/Dropdown/DropdownMenu.vue.js";
|
|
24
|
+
import { default as J } from "./components/Dropdown/DropdownTrigger.vue.js";
|
|
25
|
+
import { default as X } from "./components/Dropdown/DropdownItem.vue.js";
|
|
26
|
+
import { useDropdownSelection as $ } from "./components/Dropdown/composables/useDropdownSelection.js";
|
|
27
|
+
import { useDropdownIds as oe } from "./components/Dropdown/composables/useDropdownIds.js";
|
|
28
|
+
import { default as te } from "./components/FilePicker/FilePicker.vue.js";
|
|
29
|
+
import { default as fe } from "./components/FileTree/FileTree.vue.js";
|
|
30
|
+
import { default as me } from "./components/FileTree/FileTreeNode.vue.js";
|
|
31
|
+
import { useTreeSelection as de } from "./components/FileTree/useTreeSelection.js";
|
|
32
|
+
import { default as ue } from "./components/Form/Form.vue.js";
|
|
33
|
+
import { default as ie } from "./components/Form/FormField.vue.js";
|
|
34
|
+
import { default as ce } from "./components/Form/FormFields.vue.js";
|
|
35
|
+
import { default as ge } from "./components/Form/CustomFields.vue.js";
|
|
36
|
+
import { useForm as be } from "./components/Form/composables/useForm.js";
|
|
37
|
+
import { useFileUpload as Pe } from "./components/Form/composables/useFileUpload.js";
|
|
38
|
+
import { default as ve } from "./components/Heatmap/Heatmap.vue.js";
|
|
38
39
|
import { default as Ce } from "./components/Icon.vue.js";
|
|
39
40
|
import { default as De } from "./components/IconPicker.vue.js";
|
|
40
|
-
import { default as
|
|
41
|
+
import { default as ye } from "./components/Input.vue.js";
|
|
41
42
|
import { default as ke } from "./components/NumberInput.vue.js";
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
43
|
+
import { default as Be } from "./components/Label.vue.js";
|
|
44
|
+
import { default as Ge } from "./components/Logo.vue.js";
|
|
44
45
|
import { default as Ee } from "./components/Masonry/Masonry.vue.js";
|
|
45
46
|
import { MASONRY_BREAKPOINTS as Oe } from "./components/Masonry/types.js";
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
47
|
+
import { default as ze } from "./components/Modal.vue.js";
|
|
48
|
+
import { default as Ve } from "./components/MultiSelect/MultiSelect.vue.js";
|
|
49
|
+
import { default as We } from "./components/Navbar/Navbar.vue.js";
|
|
50
|
+
import { default as _e } from "./components/Navbar/NavbarItem.vue.js";
|
|
51
|
+
import { default as Je } from "./components/Navbar/NavbarGroup.vue.js";
|
|
52
|
+
import { default as Xe } from "./components/OTPInput/OTPInput.vue.js";
|
|
53
|
+
import { default as $e } from "./components/Pagination/Pagination.vue.js";
|
|
54
|
+
import { default as oo } from "./components/PricingPlan/PricingPlan.vue.js";
|
|
55
|
+
import { default as to } from "./components/PricingPlan/PricingPlanItem.vue.js";
|
|
56
|
+
import { default as fo } from "./components/SidePanel.vue.js";
|
|
57
|
+
import { default as mo } from "./components/SidebarMenu/SidebarMenu.vue.js";
|
|
58
|
+
import { default as so } from "./components/SidebarMenu/SidebarMenuItem.vue.js";
|
|
58
59
|
/* empty css */
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
60
|
+
import { default as xo } from "./components/Slider.vue.js";
|
|
61
|
+
import { default as no } from "./components/Spinner/Spinner.vue.js";
|
|
62
|
+
import { default as To } from "./components/Switch.vue.js";
|
|
63
|
+
import { default as So } from "./components/Tabes/Tabes.vue.js";
|
|
64
|
+
import { default as Io } from "./components/Textarea.vue.js";
|
|
65
|
+
import { default as ho } from "./components/ThemeToggle.vue.js";
|
|
65
66
|
import { default as Ao } from "./components/Timeline.vue.js";
|
|
66
67
|
import { default as Fo } from "./components/ToastNotification.vue.js";
|
|
67
68
|
import { default as wo } from "./components/Tooltip.vue.js";
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
69
|
+
import { default as No } from "./components/Workbook/Workbook.vue.js";
|
|
70
|
+
import { default as Mo } from "./components/Workbook/Sheet.vue.js";
|
|
71
|
+
import { default as Lo } from "./components/GoogleLogin.vue.js";
|
|
72
|
+
import { default as Ro } from "./components/ProgressBar/ProgressBar.vue.js";
|
|
73
|
+
import { configure as Ko, pauseTimers as Oo, removeToast as Uo, resumeTimers as zo, showToast as Ho, toast as Vo, useNotifications as qo } from "./composables/useNotifications.js";
|
|
74
|
+
import { useTheme as Yo } from "./composables/useTheme.js";
|
|
75
|
+
import { useAdvancedKeyStroke as jo, useKeyStroke as Jo } from "./composables/useKeyStroke.js";
|
|
76
|
+
import { vScrollReveal as Xo } from "./directives/vScrollReveal.js";
|
|
77
|
+
import { createVLite as $o } from "./core/index.js";
|
|
78
|
+
import { deepMerge as or } from "./utils/object.js";
|
|
79
|
+
import { camelCase as tr, capitalize as ar, copyToClipboard as fr, debounce as lr, delay as mr, downloadFile as pr, flattenArray as dr, formatCurrency as sr, getUniqueId as ur, isAppleDevice as xr, isEmpty as ir, randomNumber as nr, removeExtraProperties as cr, slugify as Tr, throttle as gr, truncate as Sr } from "./utils/functions.js";
|
|
80
|
+
import { lazySearch as Ir, resetSearchIndex as Pr, search as hr } from "./utils/search.util.js";
|
|
81
|
+
import { env as Ar } from "./utils/env.js";
|
|
82
|
+
import { useVLiteConfig as Fr } from "./core/config.js";
|
|
77
83
|
export {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
84
|
+
f as Accordion,
|
|
85
|
+
u as AccordionContent,
|
|
86
|
+
m as AccordionItem,
|
|
87
|
+
d as AccordionTrigger,
|
|
88
|
+
i as Alert,
|
|
89
|
+
c as Avatar,
|
|
90
|
+
g as AvatarUploader,
|
|
91
|
+
b as Badge,
|
|
92
|
+
P as Button,
|
|
93
|
+
v as ButtonGroup,
|
|
88
94
|
C as Carousel,
|
|
89
95
|
D as CheckBox,
|
|
90
|
-
|
|
96
|
+
y as Chip,
|
|
91
97
|
k as ChoiceBox,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
98
|
+
B as ColorPicker,
|
|
99
|
+
G as ConfirmationModal,
|
|
100
|
+
ge as CustomFields,
|
|
95
101
|
O as DataTable,
|
|
96
|
-
|
|
97
|
-
|
|
102
|
+
z as DataTableHeader,
|
|
103
|
+
V as DataTableRow,
|
|
98
104
|
E as DatePicker,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
105
|
+
W as Dropdown,
|
|
106
|
+
X as DropdownItem,
|
|
107
|
+
_ as DropdownMenu,
|
|
108
|
+
J as DropdownTrigger,
|
|
109
|
+
te as FilePicker,
|
|
110
|
+
fe as FileTree,
|
|
111
|
+
me as FileTreeNode,
|
|
112
|
+
ue as Form,
|
|
113
|
+
ie as FormField,
|
|
114
|
+
ce as FormFields,
|
|
115
|
+
Lo as GoogleLogin,
|
|
116
|
+
t as GoogleSignInPlugin,
|
|
117
|
+
ve as Heatmap,
|
|
110
118
|
Ce as Icon,
|
|
111
119
|
De as IconPicker,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
120
|
+
ye as Input,
|
|
121
|
+
Be as Label,
|
|
122
|
+
Ge as Logo,
|
|
115
123
|
Oe as MASONRY_BREAKPOINTS,
|
|
116
124
|
Ee as Masonry,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
125
|
+
ze as Modal,
|
|
126
|
+
Ve as MultiSelect,
|
|
127
|
+
We as Navbar,
|
|
128
|
+
Je as NavbarGroup,
|
|
129
|
+
_e as NavbarItem,
|
|
122
130
|
ke as NumberInput,
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
fo as
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
xo as
|
|
133
|
-
no as
|
|
134
|
-
To as
|
|
135
|
-
|
|
136
|
-
Io as
|
|
131
|
+
Xe as OTPInput,
|
|
132
|
+
$e as Pagination,
|
|
133
|
+
oo as PricingPlan,
|
|
134
|
+
to as PricingPlanItem,
|
|
135
|
+
Ro as ProgressBar,
|
|
136
|
+
Mo as Sheet,
|
|
137
|
+
fo as SidePanel,
|
|
138
|
+
mo as SidebarMenu,
|
|
139
|
+
so as SidebarMenuItem,
|
|
140
|
+
xo as Slider,
|
|
141
|
+
no as Spinner,
|
|
142
|
+
To as Switch,
|
|
143
|
+
So as Tabes,
|
|
144
|
+
Io as Textarea,
|
|
145
|
+
ho as ThemeToggle,
|
|
137
146
|
Ao as Timeline,
|
|
138
147
|
Fo as ToastNotification,
|
|
139
148
|
wo as Tooltip,
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
149
|
+
No as Workbook,
|
|
150
|
+
tr as camelCase,
|
|
151
|
+
ar as capitalize,
|
|
152
|
+
Ko as configure,
|
|
153
|
+
fr as copyToClipboard,
|
|
154
|
+
$o as createVLite,
|
|
155
|
+
lr as debounce,
|
|
156
|
+
or as deepMerge,
|
|
157
|
+
mr as delay,
|
|
158
|
+
pr as downloadFile,
|
|
159
|
+
Ar as env,
|
|
160
|
+
dr as flattenArray,
|
|
161
|
+
sr as formatCurrency,
|
|
162
|
+
ur as getUniqueId,
|
|
163
|
+
xr as isAppleDevice,
|
|
164
|
+
ir as isEmpty,
|
|
165
|
+
Ir as lazySearch,
|
|
166
|
+
Oo as pauseTimers,
|
|
167
|
+
nr as randomNumber,
|
|
168
|
+
cr as removeExtraProperties,
|
|
169
|
+
Uo as removeToast,
|
|
170
|
+
Pr as resetSearchIndex,
|
|
171
|
+
zo as resumeTimers,
|
|
172
|
+
hr as search,
|
|
173
|
+
Ho as showToast,
|
|
174
|
+
Tr as slugify,
|
|
175
|
+
gr as throttle,
|
|
176
|
+
Vo as toast,
|
|
177
|
+
Sr as truncate,
|
|
178
|
+
jo as useAdvancedKeyStroke,
|
|
179
|
+
oe as useDropdownIds,
|
|
180
|
+
$ as useDropdownSelection,
|
|
181
|
+
Pe as useFileUpload,
|
|
182
|
+
be as useForm,
|
|
183
|
+
Jo as useKeyStroke,
|
|
184
|
+
qo as useNotifications,
|
|
185
|
+
Yo as useTheme,
|
|
186
|
+
de as useTreeSelection,
|
|
187
|
+
Fr as useVLiteConfig,
|
|
188
|
+
Xo as vScrollReveal
|
|
175
189
|
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": false,
|
|
4
4
|
"description": "A Vue 3 UI component library built with Tailwind CSS.",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "0.2.
|
|
6
|
+
"version": "0.2.3",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "index.js",
|
|
9
9
|
"module": "index.js",
|
|
@@ -35,13 +35,15 @@
|
|
|
35
35
|
"@iconify/vue": "5.0.0",
|
|
36
36
|
"@jaames/iro": "^5.5.2",
|
|
37
37
|
"@tailwindcss/vite": "^4.1.18",
|
|
38
|
+
"@types/scrollreveal": "^0.0.11",
|
|
38
39
|
"@vueuse/core": "^14.1.0",
|
|
39
40
|
"iconify-icon-picker": "^1.0.3",
|
|
41
|
+
"scrollreveal": "^4.0.9",
|
|
40
42
|
"tailwindcss": "^4.1.18",
|
|
41
|
-
"v-datepicker-lite": "^0.1.
|
|
43
|
+
"v-datepicker-lite": "^0.1.6",
|
|
42
44
|
"v-tooltip-lite": "^0.1.9",
|
|
43
45
|
"vue-carousel-lite": "^0.2.3",
|
|
44
|
-
"vue3-google-
|
|
46
|
+
"vue3-google-signin": "^2.1.1"
|
|
45
47
|
},
|
|
46
48
|
"peerDependencies": {
|
|
47
49
|
"vue": "^3.5.24",
|