vlite3 0.2.13 → 0.2.15
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/components/Avatar.vue.js +5 -5
- package/components/Button.vue.js +28 -34
- package/components/Carousel/Carousel.vue.d.ts +2 -2
- package/components/DataTable/DataTable.vue.js +1 -1
- package/components/DataTable/DataTableRow.vue.js +1 -1
- package/components/Form/Form.vue.js +2 -2
- package/components/Form/Form.vue2.js +1 -1
- package/components/Form/FormField.vue.d.ts +1 -1
- package/components/Form/FormField.vue.js +9 -8
- package/components/Input.vue.d.ts +2 -2
- package/components/Label.vue.js +6 -6
- package/components/Modal.vue.js +4 -4
- package/components/MultiSelect/MultiSelect.vue.js +1 -1
- package/components/NumberInput.vue.d.ts +2 -2
- package/components/Textarea.vue.d.ts +2 -2
- package/composables/useNotifications.js +1 -1
- package/package.json +1 -1
- package/style.css +33 -27
- package/directives/vRipple.d.ts +0 -4
- package/directives/vRipple.js +0 -17
package/components/Avatar.vue.js
CHANGED
|
@@ -29,11 +29,11 @@ const y = ["src", "alt"], z = { key: 0 }, A = /* @__PURE__ */ k({
|
|
|
29
29
|
return l.length === 1 ? l[0].slice(0, 2).toUpperCase() : (l[0][0] + l[l.length - 1][0]).toUpperCase();
|
|
30
30
|
}), x = {
|
|
31
31
|
xs: "h-6 w-6 text-[10px]",
|
|
32
|
-
sm: "h-
|
|
33
|
-
md: "h-
|
|
34
|
-
lg: "h-
|
|
35
|
-
xl: "h-
|
|
36
|
-
"2xl": "h-
|
|
32
|
+
sm: "h-10 w-10 text-xs",
|
|
33
|
+
md: "h-12 w-12 text-sm",
|
|
34
|
+
lg: "h-15 w-15 text-base",
|
|
35
|
+
xl: "h-18 w-18 text-lg",
|
|
36
|
+
"2xl": "h-20 w-20 text-xl"
|
|
37
37
|
}, h = {
|
|
38
38
|
none: "rounded-none",
|
|
39
39
|
sm: "rounded-sm",
|
package/components/Button.vue.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { defineComponent as v, useSlots as x, computed as c,
|
|
1
|
+
import { defineComponent as v, useSlots as x, computed as c, openBlock as o, createElementBlock as w, normalizeClass as r, createBlock as l, createCommentVNode as g, renderSlot as y, createTextVNode as p, toDisplayString as z } from "vue";
|
|
2
2
|
import d from "./Icon.vue.js";
|
|
3
|
-
|
|
4
|
-
const S = ["type", "disabled"], D = /* @__PURE__ */ v({
|
|
3
|
+
const k = ["type", "disabled"], S = /* @__PURE__ */ v({
|
|
5
4
|
__name: "Button",
|
|
6
5
|
props: {
|
|
7
6
|
variant: { default: "primary" },
|
|
@@ -16,8 +15,8 @@ const S = ["type", "disabled"], D = /* @__PURE__ */ v({
|
|
|
16
15
|
rounded: { default: "md" }
|
|
17
16
|
},
|
|
18
17
|
setup(e) {
|
|
19
|
-
const
|
|
20
|
-
const
|
|
18
|
+
const n = e, u = x(), s = c(() => n.icon && !n.text && !u.default), h = c(() => {
|
|
19
|
+
const t = "inline-flex items-center justify-center whitespace-nowrap text-sm font-medium ring-offset-background transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 active:scale-[0.95] active:opacity-80 cursor-pointer gap-2", i = {
|
|
21
20
|
primary: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
22
21
|
"primary-light": "bg-primary-light text-primary-fg-light hover:bg-primary/20",
|
|
23
22
|
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
@@ -43,13 +42,13 @@ const S = ["type", "disabled"], D = /* @__PURE__ */ v({
|
|
|
43
42
|
md: "h-9 px-4 py-2",
|
|
44
43
|
lg: "h-10 px-6",
|
|
45
44
|
xl: "h-12 px-10"
|
|
46
|
-
},
|
|
45
|
+
}, b = {
|
|
47
46
|
xs: "h-6.5 w-6.5 min-h-6.5 min-w-6.5",
|
|
48
47
|
sm: "h-7 w-7 min-h-7 min-w-7",
|
|
49
48
|
md: "h-7.5 w-7.5 min-h-7.5 min-w-7.5",
|
|
50
49
|
lg: "h-8 w-8 min-h-8 min-w-8",
|
|
51
50
|
xl: "h-8.5 w-8.5 min-h-8.5 min-w-8.5"
|
|
52
|
-
},
|
|
51
|
+
}, m = {
|
|
53
52
|
none: "rounded-none",
|
|
54
53
|
sm: "rounded-sm",
|
|
55
54
|
md: "rounded",
|
|
@@ -59,58 +58,53 @@ const S = ["type", "disabled"], D = /* @__PURE__ */ v({
|
|
|
59
58
|
full: "rounded-full"
|
|
60
59
|
};
|
|
61
60
|
return [
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
s.value ?
|
|
66
|
-
|
|
61
|
+
t,
|
|
62
|
+
i[n.variant],
|
|
63
|
+
m[n.rounded],
|
|
64
|
+
s.value ? b[n.size] : f[n.size],
|
|
65
|
+
n.class
|
|
67
66
|
].join(" ");
|
|
68
67
|
}), a = c(() => {
|
|
69
|
-
const
|
|
68
|
+
const t = {
|
|
70
69
|
xs: "w-3 h-3",
|
|
71
70
|
sm: "w-4 h-4",
|
|
72
71
|
md: "w-4 h-4",
|
|
73
72
|
lg: "w-4 h-4",
|
|
74
73
|
xl: "w-4 h-4"
|
|
75
|
-
},
|
|
74
|
+
}, i = {
|
|
76
75
|
xs: "w-3 h-3",
|
|
77
76
|
sm: "w-3.5 h-3.5",
|
|
78
77
|
md: "w-3.5 h-3.5",
|
|
79
78
|
lg: "w-4 h-4",
|
|
80
79
|
xl: "w-4 h-4"
|
|
81
80
|
};
|
|
82
|
-
return s.value ?
|
|
81
|
+
return s.value ? i[n.size] : t[n.size];
|
|
83
82
|
});
|
|
84
|
-
return (
|
|
83
|
+
return (t, i) => (o(), w("button", {
|
|
85
84
|
type: e.type,
|
|
86
|
-
class:
|
|
85
|
+
class: r(h.value),
|
|
87
86
|
disabled: e.disabled || e.loading
|
|
88
87
|
}, [
|
|
89
|
-
e.loading ? (
|
|
88
|
+
e.loading ? (o(), l(d, {
|
|
90
89
|
key: 0,
|
|
91
90
|
icon: "lucide:loader-2",
|
|
92
|
-
class:
|
|
93
|
-
}, null, 8, ["class"])) : e.icon ? (
|
|
91
|
+
class: r(["animate-spin pointer-events-none", a.value])
|
|
92
|
+
}, null, 8, ["class"])) : e.icon ? (o(), l(d, {
|
|
94
93
|
key: 1,
|
|
95
94
|
icon: e.icon,
|
|
96
|
-
class:
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}, null, 8, ["icon", "class"])) : u("", !0),
|
|
101
|
-
p(n.$slots, "default", {}, () => [
|
|
102
|
-
z(k(e.text), 1)
|
|
95
|
+
class: r(["pointer-events-none", [a.value, s.value ? "mx-auto" : ""]])
|
|
96
|
+
}, null, 8, ["icon", "class"])) : g("", !0),
|
|
97
|
+
y(t.$slots, "default", {}, () => [
|
|
98
|
+
p(z(e.text), 1)
|
|
103
99
|
]),
|
|
104
|
-
e.iconRight && !e.loading ? (
|
|
100
|
+
e.iconRight && !e.loading ? (o(), l(d, {
|
|
105
101
|
key: 2,
|
|
106
102
|
icon: e.iconRight,
|
|
107
|
-
class:
|
|
108
|
-
}, null, 8, ["icon", "class"])) :
|
|
109
|
-
], 10,
|
|
110
|
-
[B(C)]
|
|
111
|
-
]);
|
|
103
|
+
class: r([a.value, "h-4 w-4 pointer-events-none"])
|
|
104
|
+
}, null, 8, ["icon", "class"])) : g("", !0)
|
|
105
|
+
], 10, k));
|
|
112
106
|
}
|
|
113
107
|
});
|
|
114
108
|
export {
|
|
115
|
-
|
|
109
|
+
S as default
|
|
116
110
|
};
|
|
@@ -352,7 +352,7 @@ declare function __VLS_template(): {
|
|
|
352
352
|
};
|
|
353
353
|
}>> & Readonly<{
|
|
354
354
|
"onSlide-change"?: ((index: number) => any) | undefined;
|
|
355
|
-
}>, "
|
|
355
|
+
}>, "direction" | "pagination" | "paginationSize" | "paginationVisibility" | "paginationHoverInitialTimeout" | "paginationHoverEdgeThreshold" | "autoPlay" | "draggable" | "autoPlayInterval" | "itemsToShow" | "gap" | "speed" | "easing" | "mousewheel" | "loop" | "currentItem" | "bufferSize" | "maxDomElements" | "goToSlide" | "goNext" | "goPrev" | "autoFocus" | "wheelOptions" | "state" | "canGoNext" | "canGoPrev" | "focus"> & import('vue').ShallowUnwrapRef<{
|
|
356
356
|
goToSlide: (index: number, smooth?: boolean) => void;
|
|
357
357
|
goNext: (smooth?: boolean) => void;
|
|
358
358
|
goPrev: (smooth?: boolean) => void;
|
|
@@ -778,7 +778,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
778
778
|
};
|
|
779
779
|
}>> & Readonly<{
|
|
780
780
|
"onSlide-change"?: ((index: number) => any) | undefined;
|
|
781
|
-
}>, "
|
|
781
|
+
}>, "direction" | "pagination" | "paginationSize" | "paginationVisibility" | "paginationHoverInitialTimeout" | "paginationHoverEdgeThreshold" | "autoPlay" | "draggable" | "autoPlayInterval" | "itemsToShow" | "gap" | "speed" | "easing" | "mousewheel" | "loop" | "currentItem" | "bufferSize" | "maxDomElements" | "goToSlide" | "goNext" | "goPrev" | "autoFocus" | "wheelOptions" | "state" | "canGoNext" | "canGoPrev" | "focus"> & import('vue').ShallowUnwrapRef<{
|
|
782
782
|
goToSlide: (index: number, smooth?: boolean) => void;
|
|
783
783
|
goNext: (smooth?: boolean) => void;
|
|
784
784
|
goPrev: (smooth?: boolean) => void;
|
|
@@ -139,7 +139,7 @@ const fe = { class: "space-y-4" }, he = { class: "overflow-x-auto w-full" }, ge
|
|
|
139
139
|
"overflow-hidden",
|
|
140
140
|
l.bordered ? "border border-border/60" : "",
|
|
141
141
|
l.class
|
|
142
|
-
].join(" ")), Z = b(() => ["w-full caption-bottom text-
|
|
142
|
+
].join(" ")), Z = b(() => ["w-full caption-bottom -text-fs-1", l.tableClass].join(" ")), _ = (e) => e.width ? e.width : "auto";
|
|
143
143
|
return p(
|
|
144
144
|
() => l.rows,
|
|
145
145
|
() => {
|
|
@@ -90,7 +90,7 @@ const L = ["data-state"], U = { class: "flex items-center justify-center" }, h =
|
|
|
90
90
|
(c(!0), d(M, null, V(i.headers, (n) => (c(), d("td", {
|
|
91
91
|
key: n.field,
|
|
92
92
|
class: u(["align-middle overflow-hidden", [
|
|
93
|
-
i.compact ? "p-2
|
|
93
|
+
i.compact ? "p-2" : "py-3! px-3 -text-fs-1.5!",
|
|
94
94
|
y(n),
|
|
95
95
|
n.hideOnMobile ? "hidden md:table-cell" : "",
|
|
96
96
|
x(n, o(i.row, n.field), i.row)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Form.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-b1fa52ca"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
@@ -207,7 +207,7 @@ const ne = {
|
|
|
207
207
|
class: h([
|
|
208
208
|
"form-footer flex items-center justify-end gap-3",
|
|
209
209
|
e.footerClass,
|
|
210
|
-
$.value ? "sticky bottom-0 z-20 bg-body pt-4 border-t border-border/
|
|
210
|
+
$.value ? "sticky bottom-0 z-20 bg-body pt-4 border-t border-border/75 -mx-4 px-4 mt-8" : "mt-6"
|
|
211
211
|
])
|
|
212
212
|
}, [
|
|
213
213
|
G.value ? (l(), p(A, {
|
|
@@ -24,8 +24,8 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
24
24
|
disabled: boolean;
|
|
25
25
|
size: InputSize;
|
|
26
26
|
variant: InputVariant;
|
|
27
|
-
error: string;
|
|
28
27
|
rounded: InputRounded;
|
|
28
|
+
error: string;
|
|
29
29
|
readonly: boolean;
|
|
30
30
|
isUpdate: boolean;
|
|
31
31
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as N, computed as n, markRaw as P, openBlock as r, createBlock as u, mergeProps as f, toHandlers as R, createSlots as B, unref as
|
|
1
|
+
import { defineComponent as N, computed as n, markRaw as P, openBlock as r, createBlock as u, mergeProps as f, toHandlers as R, createSlots as B, unref as $, withCtx as o, createVNode as C, createTextVNode as c, toDisplayString as m, createCommentVNode as L, resolveDynamicComponent as O } from "vue";
|
|
2
2
|
import { isComponent as h, isAddonObject as p } from "./utils/form.utils.js";
|
|
3
3
|
import I from "../NumberInput.vue.js";
|
|
4
4
|
import v from "../Button.vue.js";
|
|
@@ -97,7 +97,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
97
97
|
min: e.field.min,
|
|
98
98
|
// kept for validation attributes if needed
|
|
99
99
|
max: e.field.max,
|
|
100
|
-
class: e.field.className
|
|
100
|
+
class: `${e.field.className}`
|
|
101
101
|
} : t === "number" ? {
|
|
102
102
|
...a,
|
|
103
103
|
modelValue: e.value ?? void 0,
|
|
@@ -154,6 +154,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
154
154
|
size: e.size,
|
|
155
155
|
rounded: e.rounded
|
|
156
156
|
} : t === "avatarUpload" ? {
|
|
157
|
+
size: "2xl",
|
|
157
158
|
...a,
|
|
158
159
|
modelValue: e.value,
|
|
159
160
|
editable: !e.readonly
|
|
@@ -227,7 +228,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
227
228
|
...V.value,
|
|
228
229
|
...l.field?.props || {}
|
|
229
230
|
}, R(b.value)), B({ _: 2 }, [
|
|
230
|
-
|
|
231
|
+
$(p)(l.field.addonLeft) ? {
|
|
231
232
|
name: "addon-left",
|
|
232
233
|
fn: o(() => [
|
|
233
234
|
l.field.addonLeft.type === "select" ? (r(), u(y, f({
|
|
@@ -238,7 +239,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
238
239
|
onOnSelect: a[0] || (a[0] = (i) => k(l.field.addonLeft, i))
|
|
239
240
|
}), {
|
|
240
241
|
trigger: o(({ selectedLabel: i }) => [
|
|
241
|
-
|
|
242
|
+
C(v, { variant: "outline" }, {
|
|
242
243
|
default: o(() => [
|
|
243
244
|
c(m(i), 1)
|
|
244
245
|
]),
|
|
@@ -256,11 +257,11 @@ const fe = /* @__PURE__ */ N({
|
|
|
256
257
|
c(m(l.field.addonLeft.text), 1)
|
|
257
258
|
]),
|
|
258
259
|
_: 1
|
|
259
|
-
}, 16)) :
|
|
260
|
+
}, 16)) : L("", !0)
|
|
260
261
|
]),
|
|
261
262
|
key: "0"
|
|
262
263
|
} : void 0,
|
|
263
|
-
|
|
264
|
+
$(p)(l.field.addonRight) ? {
|
|
264
265
|
name: "addon-right",
|
|
265
266
|
fn: o(() => [
|
|
266
267
|
l.field.addonRight.type === "select" ? (r(), u(y, f({
|
|
@@ -271,7 +272,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
271
272
|
onOnSelect: a[2] || (a[2] = (i) => k(l.field.addonRight, i))
|
|
272
273
|
}), {
|
|
273
274
|
trigger: o(({ selectedLabel: i }) => [
|
|
274
|
-
|
|
275
|
+
C(v, { variant: "outline" }, {
|
|
275
276
|
default: o(() => [
|
|
276
277
|
c(m(i), 1)
|
|
277
278
|
]),
|
|
@@ -289,7 +290,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
289
290
|
c(m(l.field.addonRight.text), 1)
|
|
290
291
|
]),
|
|
291
292
|
_: 1
|
|
292
|
-
}, 16)) :
|
|
293
|
+
}, 16)) : L("", !0)
|
|
293
294
|
]),
|
|
294
295
|
key: "1"
|
|
295
296
|
} : void 0
|
|
@@ -14,15 +14,15 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
14
14
|
declare const __VLS_component: import('vue').DefineComponent<InputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
15
|
"update:modelValue": (value: string | number) => any;
|
|
16
16
|
change: (value: string | number) => any;
|
|
17
|
-
blur: (event: FocusEvent) => any;
|
|
18
17
|
focus: (event: FocusEvent) => any;
|
|
18
|
+
blur: (event: FocusEvent) => any;
|
|
19
19
|
"click:icon": (event: MouseEvent) => any;
|
|
20
20
|
"click:icon-right": (event: MouseEvent) => any;
|
|
21
21
|
}, string, import('vue').PublicProps, Readonly<InputProps> & Readonly<{
|
|
22
22
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
23
23
|
onChange?: (value: string | number) => any;
|
|
24
|
-
onBlur?: (event: FocusEvent) => any;
|
|
25
24
|
onFocus?: (event: FocusEvent) => any;
|
|
25
|
+
onBlur?: (event: FocusEvent) => any;
|
|
26
26
|
"onClick:icon"?: (event: MouseEvent) => any;
|
|
27
27
|
"onClick:icon-right"?: (event: MouseEvent) => any;
|
|
28
28
|
}>, {
|
package/components/Label.vue.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const p = ["for"],
|
|
1
|
+
import { defineComponent as r, computed as a, openBlock as l, createElementBlock as n, normalizeClass as c, renderSlot as d } from "vue";
|
|
2
|
+
const p = ["for"], u = /* @__PURE__ */ r({
|
|
3
3
|
__name: "Label",
|
|
4
4
|
props: {
|
|
5
5
|
for: {},
|
|
6
6
|
class: { default: "" }
|
|
7
7
|
},
|
|
8
8
|
setup(o) {
|
|
9
|
-
const e = o, s =
|
|
10
|
-
"text-sm
|
|
9
|
+
const e = o, s = a(() => [
|
|
10
|
+
"text-sm leading-none text-gray-800 peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
|
|
11
11
|
e.class
|
|
12
12
|
].join(" "));
|
|
13
|
-
return (t, f) => (
|
|
13
|
+
return (t, f) => (l(), n("label", {
|
|
14
14
|
for: e.for,
|
|
15
15
|
class: c(s.value)
|
|
16
16
|
}, [
|
|
@@ -19,5 +19,5 @@ const p = ["for"], m = /* @__PURE__ */ l({
|
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
export {
|
|
22
|
-
|
|
22
|
+
u as default
|
|
23
23
|
};
|
package/components/Modal.vue.js
CHANGED
|
@@ -6,7 +6,7 @@ const D = {
|
|
|
6
6
|
class: "flex-none flex flex-col space-y-1.5 pb-0 border-b border-border/90"
|
|
7
7
|
}, K = { class: "text-lg font-semibold leading-none tracking-tight" }, M = {
|
|
8
8
|
key: 0,
|
|
9
|
-
class: "text-sm text-muted-foreground mb-
|
|
9
|
+
class: "text-sm text-muted-foreground mb-6.5"
|
|
10
10
|
}, F = /* @__PURE__ */ w({
|
|
11
11
|
inheritAttrs: !1,
|
|
12
12
|
__name: "Modal",
|
|
@@ -71,13 +71,13 @@ const D = {
|
|
|
71
71
|
onClick: k
|
|
72
72
|
}, [
|
|
73
73
|
r("div", {
|
|
74
|
-
class: d(["modal-body relative w-full rounded border border-border bg-body shadow-lg text-foreground flex flex-col max-h-[85vh] sm:max-h-[90vh]", [e.maxWidth]]),
|
|
74
|
+
class: d(["modal-body relative w-full rounded border border-border/60 bg-body shadow-lg text-foreground flex flex-col max-h-[85vh] sm:max-h-[90vh]", [e.maxWidth]]),
|
|
75
75
|
onClick: u[0] || (u[0] = b(() => {
|
|
76
76
|
}, ["stop"]))
|
|
77
77
|
}, [
|
|
78
78
|
e.title ? (s(), a("div", D, [
|
|
79
79
|
r("div", {
|
|
80
|
-
class: d(["flex items-center justify-between py-
|
|
80
|
+
class: d(["flex items-center justify-between py-2 px-4 rounded-t-md", e.headerClass])
|
|
81
81
|
}, [
|
|
82
82
|
r("h3", K, p(e.title), 1),
|
|
83
83
|
v(V, {
|
|
@@ -101,7 +101,7 @@ const D = {
|
|
|
101
101
|
], 2),
|
|
102
102
|
t.$slots.footer ? (s(), a("div", {
|
|
103
103
|
key: 1,
|
|
104
|
-
class: d([e.footerClass, "flex-none flex items-center px-4 py-3 border-t border-border/
|
|
104
|
+
class: d([e.footerClass, "flex-none flex items-center px-4 py-3 border-t border-border/75 rounded-b-xl bg"])
|
|
105
105
|
}, [
|
|
106
106
|
i(t.$slots, "footer", { close: o })
|
|
107
107
|
], 2)) : n("", !0)
|
|
@@ -36,7 +36,7 @@ const F = { class: "flex flex-wrap gap-1.5 items-center flex-1 min-w-0 py-0.5" }
|
|
|
36
36
|
}, S = () => {
|
|
37
37
|
s("update:modelValue", []), s("change", []);
|
|
38
38
|
}, N = i(() => [
|
|
39
|
-
"flex items-center justify-between w-full
|
|
39
|
+
"flex items-center justify-between w-full px-3 py-1.5 rounded-md border text-sm transition-colors cursor-pointer",
|
|
40
40
|
o.disabled ? "opacity-50 cursor-not-allowed bg-muted" : "bg-background hover:bg-gray-50/70",
|
|
41
41
|
o.variant === "outline" ? "border-input" : "border-transparent bg-muted",
|
|
42
42
|
u.value ? "border-primary/20" : ""
|
|
@@ -16,13 +16,13 @@ export interface NumberInputProps {
|
|
|
16
16
|
declare const _default: import('vue').DefineComponent<NumberInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
17
|
"update:modelValue": (value: number) => any;
|
|
18
18
|
change: (value: number) => any;
|
|
19
|
-
blur: (event: FocusEvent) => any;
|
|
20
19
|
focus: (event: FocusEvent) => any;
|
|
20
|
+
blur: (event: FocusEvent) => any;
|
|
21
21
|
}, string, import('vue').PublicProps, Readonly<NumberInputProps> & Readonly<{
|
|
22
22
|
"onUpdate:modelValue"?: (value: number) => any;
|
|
23
23
|
onChange?: (value: number) => any;
|
|
24
|
-
onBlur?: (event: FocusEvent) => any;
|
|
25
24
|
onFocus?: (event: FocusEvent) => any;
|
|
25
|
+
onBlur?: (event: FocusEvent) => any;
|
|
26
26
|
}>, {
|
|
27
27
|
disabled: boolean;
|
|
28
28
|
mode: "solid" | "outline" | "ghost";
|
|
@@ -7,12 +7,12 @@ interface Props {
|
|
|
7
7
|
}
|
|
8
8
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
9
9
|
"update:modelValue": (value: string) => any;
|
|
10
|
-
blur: (event: FocusEvent) => any;
|
|
11
10
|
focus: (event: FocusEvent) => any;
|
|
11
|
+
blur: (event: FocusEvent) => any;
|
|
12
12
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
13
13
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
14
|
-
onBlur?: (event: FocusEvent) => any;
|
|
15
14
|
onFocus?: (event: FocusEvent) => any;
|
|
15
|
+
onBlur?: (event: FocusEvent) => any;
|
|
16
16
|
}>, {
|
|
17
17
|
disabled: boolean;
|
|
18
18
|
class: string;
|
package/package.json
CHANGED
package/style.css
CHANGED
|
@@ -80,13 +80,16 @@
|
|
|
80
80
|
--animate-ripple: ripple 600ms linear;
|
|
81
81
|
|
|
82
82
|
--text--fs-1: 0.95em;
|
|
83
|
-
--text--fs-
|
|
83
|
+
--text--fs-1.5: 0.91em;
|
|
84
|
+
--text--fs-2: 0.85em;
|
|
85
|
+
--text--fs-2.5: 0.8em;
|
|
84
86
|
--text--fs-3: 0.75em;
|
|
85
|
-
--text--fs-
|
|
86
|
-
--text--fs-
|
|
87
|
-
--text--fs-
|
|
88
|
-
--text--fs-
|
|
89
|
-
--text--fs-
|
|
87
|
+
--text--fs-3.5: 0.7em;
|
|
88
|
+
--text--fs-4: 0.65em;
|
|
89
|
+
--text--fs-5: 0.6em;
|
|
90
|
+
--text--fs-6: 0.55em;
|
|
91
|
+
--text--fs-7: 0.5em;
|
|
92
|
+
--text--fs-8: 0.45em;
|
|
90
93
|
--text-fs-0.5: 1em;
|
|
91
94
|
--text-fs-1: 1.03030303em;
|
|
92
95
|
--text-fs-1.5: 1.06060606em;
|
|
@@ -107,6 +110,26 @@
|
|
|
107
110
|
--text-fs-9: 1.93939394em;
|
|
108
111
|
--text-fs-9.5: 2em;
|
|
109
112
|
--text-fs-10: 2.06060606em;
|
|
113
|
+
--text-fs-10.5: 2.1;
|
|
114
|
+
--text-fs-11: 2.15;
|
|
115
|
+
--text-fs-11.5: 2.2;
|
|
116
|
+
--text-fs-12: 2.25;
|
|
117
|
+
--text-fs-12.5: 2.3;
|
|
118
|
+
--text-fs-13: 2.35;
|
|
119
|
+
--text-fs-13.5: 2.4;
|
|
120
|
+
--text-fs-14: 2.45;
|
|
121
|
+
--text-fs-14.5: 2.5;
|
|
122
|
+
--text-fs-15: 2.55;
|
|
123
|
+
--text-fs-15.5: 2.6;
|
|
124
|
+
--text-fs-16: 2.65;
|
|
125
|
+
--text-fs-16.5: 2.7;
|
|
126
|
+
--text-fs-17: 2.75;
|
|
127
|
+
--text-fs-17.5: 2.8;
|
|
128
|
+
--text-fs-18: 2.85;
|
|
129
|
+
--text-fs-18.5: 2.9;
|
|
130
|
+
--text-fs-19: 2.95;
|
|
131
|
+
--text-fs-19.5: 3;
|
|
132
|
+
--text-fs-20: 3.05;
|
|
110
133
|
}
|
|
111
134
|
}
|
|
112
135
|
|
|
@@ -322,8 +345,8 @@
|
|
|
322
345
|
|
|
323
346
|
.dark .modal-body,
|
|
324
347
|
.dark .sidepanel-body {
|
|
325
|
-
--color-white: #
|
|
326
|
-
--color-mixture-1: #
|
|
348
|
+
--color-white: #101010 !important;
|
|
349
|
+
--color-mixture-1: #161616 !important;
|
|
327
350
|
--color-mixture-2: #ffffff !important;
|
|
328
351
|
--color-input: color-mix(in oklab, var(--color-mixture-1) 92%, var(--color-mixture-2));
|
|
329
352
|
}
|
|
@@ -447,17 +470,6 @@ html {
|
|
|
447
470
|
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
448
471
|
}
|
|
449
472
|
|
|
450
|
-
|
|
451
|
-
/* Ripple */
|
|
452
|
-
span.ripple {
|
|
453
|
-
position: absolute;
|
|
454
|
-
border-radius: 50%;
|
|
455
|
-
transform: scale(0);
|
|
456
|
-
animation: ripple 600ms linear;
|
|
457
|
-
background-color: rgba(255, 255, 255, 0.094);
|
|
458
|
-
pointer-events: none;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
473
|
*,
|
|
462
474
|
::before,
|
|
463
475
|
::after {
|
|
@@ -557,13 +569,6 @@ html {
|
|
|
557
569
|
}
|
|
558
570
|
}
|
|
559
571
|
|
|
560
|
-
@keyframes ripple {
|
|
561
|
-
to {
|
|
562
|
-
transform: scale(4);
|
|
563
|
-
opacity: 0;
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
|
|
567
572
|
#icon-picker {
|
|
568
573
|
--iconPicker-text: var(--color-foreground);
|
|
569
574
|
--iconPicker-border: var(--color-border);
|
|
@@ -619,6 +624,7 @@ html {
|
|
|
619
624
|
padding-right: 10px !important;
|
|
620
625
|
}
|
|
621
626
|
|
|
627
|
+
|
|
622
628
|
/* --- input.css --- */
|
|
623
629
|
input[type='number']::-webkit-inner-spin-button,
|
|
624
630
|
input[type='number']::-webkit-outer-spin-button {
|
|
@@ -683,5 +689,5 @@ textarea::-webkit-scrollbar-thumb {
|
|
|
683
689
|
}
|
|
684
690
|
|
|
685
691
|
/* --- Vite Generated CSS --- */
|
|
686
|
-
.accordion-enter-active[data-v-aa189e08],.accordion-leave-active[data-v-aa189e08]{transition:height .3s ease-in-out}.attached-group[data-v-8c9add3e]:not(.vertical-group) button{border-radius:0}.attached-group[data-v-8c9add3e] button{position:relative;--radius: .375rem}.attached-group[data-v-8c9add3e] button:focus-visible,.attached-group[data-v-8c9add3e] button:hover{z-index:10}.attached-group[data-v-8c9add3e]:not(.vertical-group) button:not(:first-child){margin-left:-1px}.attached-group[data-v-8c9add3e]:not(.vertical-group) button:first-child{border-top-left-radius:var(--radius);border-bottom-left-radius:var(--radius);border-top-right-radius:0;border-bottom-right-radius:0}.attached-group[data-v-8c9add3e]:not(.vertical-group) button:not(:first-child):not(:last-child){border-radius:0}.attached-group[data-v-8c9add3e]:not(.vertical-group) button:last-child{border-top-right-radius:var(--radius);border-bottom-right-radius:var(--radius);border-top-left-radius:0;border-bottom-left-radius:0}.vertical-group[data-v-8c9add3e] button:not(:first-child){margin-top:-1px}.vertical-group[data-v-8c9add3e] button:first-child{border-top-left-radius:var(--radius);border-top-right-radius:var(--radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.vertical-group[data-v-8c9add3e] button:not(:first-child):not(:last-child){border-radius:0}.vertical-group[data-v-8c9add3e] button:last-child{border-bottom-left-radius:var(--radius);border-bottom-right-radius:var(--radius);border-top-left-radius:0;border-top-right-radius:0}.attached-group[data-v-8c9add3e]:not(.vertical-group) button:not(:first-child):not(.border):before{content:"";position:absolute;left:0;top:0;bottom:0;width:1px;background-color:currentColor;opacity:.15;z-index:5;pointer-events:none}.vertical-group[data-v-8c9add3e] button:not(:first-child):not(.border):before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background-color:currentColor;opacity:.15;z-index:5;pointer-events:none;width:auto}.vertical-group[data-v-8c9add3e] button:not(:first-child):not(.border):before{width:100%}.attached-group[data-v-8c9add3e]:not(.vertical-group) button:not(:first-child):not(.border):before{height:100%}.carousel-wrapper[data-v-655a78c8]{width:100%;position:relative}.IroBox{border-radius:8px!important}input[data-v-e7171c4f]::-webkit-outer-spin-button,input[data-v-e7171c4f]::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}input[type=number][data-v-e7171c4f]{-moz-appearance:textfield;appearance:textfield}.custom-fields-table[data-v-ce6a94e8] .form-field-item{margin-bottom:0!important;height:100%}.custom-fields-table[data-v-ce6a94e8] input,.custom-fields-table[data-v-ce6a94e8] textarea{padding-left:1em;padding-right:.5em}.custom-fields-table[data-v-ce6a94e8] input,.custom-fields-table[data-v-ce6a94e8] textarea,.custom-fields-table[data-v-ce6a94e8] select,.custom-fields-table[data-v-ce6a94e8] .input-wrapper,.custom-fields-table[data-v-ce6a94e8] .tooltip-trigger button{border:none!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;height:100%!important;min-height:40px}.custom-fields-table[data-v-ce6a94e8] .tooltip-trigger button{justify-content:space-between!important}.custom-fields-table[data-v-ce6a94e8] input:focus,.custom-fields-table[data-v-ce6a94e8] textarea:focus,.custom-fields-table[data-v-ce6a94e8] select:focus,.custom-fields-table[data-v-ce6a94e8] .input-wrapper:focus-within{background-color:hsla(var(--primary) / .03)!important;box-shadow:inset 0 0 0 2px hsla(var(--primary) / .1)!important}.custom-fields-table[data-v-ce6a94e8] .w-full{width:100%;height:100%}.list-enter-active[data-v-ce6a94e8]{transition:all .15s cubic-bezier(.16,1,.3,1)}.list-enter-from[data-v-ce6a94e8]{opacity:0;transform:translateY(-5px)}.form-field-item[data-v-47af145c]{display:flex;flex-direction:column}.form-field-item[data-v-47af145c]:has([role=switch]),.form-field-item[data-v-47af145c]:has([role=checkbox]){flex-direction:row;align-items:center}.form-container[data-v-
|
|
692
|
+
.accordion-enter-active[data-v-aa189e08],.accordion-leave-active[data-v-aa189e08]{transition:height .3s ease-in-out}.attached-group[data-v-8c9add3e]:not(.vertical-group) button{border-radius:0}.attached-group[data-v-8c9add3e] button{position:relative;--radius: .375rem}.attached-group[data-v-8c9add3e] button:focus-visible,.attached-group[data-v-8c9add3e] button:hover{z-index:10}.attached-group[data-v-8c9add3e]:not(.vertical-group) button:not(:first-child){margin-left:-1px}.attached-group[data-v-8c9add3e]:not(.vertical-group) button:first-child{border-top-left-radius:var(--radius);border-bottom-left-radius:var(--radius);border-top-right-radius:0;border-bottom-right-radius:0}.attached-group[data-v-8c9add3e]:not(.vertical-group) button:not(:first-child):not(:last-child){border-radius:0}.attached-group[data-v-8c9add3e]:not(.vertical-group) button:last-child{border-top-right-radius:var(--radius);border-bottom-right-radius:var(--radius);border-top-left-radius:0;border-bottom-left-radius:0}.vertical-group[data-v-8c9add3e] button:not(:first-child){margin-top:-1px}.vertical-group[data-v-8c9add3e] button:first-child{border-top-left-radius:var(--radius);border-top-right-radius:var(--radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.vertical-group[data-v-8c9add3e] button:not(:first-child):not(:last-child){border-radius:0}.vertical-group[data-v-8c9add3e] button:last-child{border-bottom-left-radius:var(--radius);border-bottom-right-radius:var(--radius);border-top-left-radius:0;border-top-right-radius:0}.attached-group[data-v-8c9add3e]:not(.vertical-group) button:not(:first-child):not(.border):before{content:"";position:absolute;left:0;top:0;bottom:0;width:1px;background-color:currentColor;opacity:.15;z-index:5;pointer-events:none}.vertical-group[data-v-8c9add3e] button:not(:first-child):not(.border):before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background-color:currentColor;opacity:.15;z-index:5;pointer-events:none;width:auto}.vertical-group[data-v-8c9add3e] button:not(:first-child):not(.border):before{width:100%}.attached-group[data-v-8c9add3e]:not(.vertical-group) button:not(:first-child):not(.border):before{height:100%}.carousel-wrapper[data-v-655a78c8]{width:100%;position:relative}.IroBox{border-radius:8px!important}input[data-v-e7171c4f]::-webkit-outer-spin-button,input[data-v-e7171c4f]::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}input[type=number][data-v-e7171c4f]{-moz-appearance:textfield;appearance:textfield}.custom-fields-table[data-v-ce6a94e8] .form-field-item{margin-bottom:0!important;height:100%}.custom-fields-table[data-v-ce6a94e8] input,.custom-fields-table[data-v-ce6a94e8] textarea{padding-left:1em;padding-right:.5em}.custom-fields-table[data-v-ce6a94e8] input,.custom-fields-table[data-v-ce6a94e8] textarea,.custom-fields-table[data-v-ce6a94e8] select,.custom-fields-table[data-v-ce6a94e8] .input-wrapper,.custom-fields-table[data-v-ce6a94e8] .tooltip-trigger button{border:none!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;height:100%!important;min-height:40px}.custom-fields-table[data-v-ce6a94e8] .tooltip-trigger button{justify-content:space-between!important}.custom-fields-table[data-v-ce6a94e8] input:focus,.custom-fields-table[data-v-ce6a94e8] textarea:focus,.custom-fields-table[data-v-ce6a94e8] select:focus,.custom-fields-table[data-v-ce6a94e8] .input-wrapper:focus-within{background-color:hsla(var(--primary) / .03)!important;box-shadow:inset 0 0 0 2px hsla(var(--primary) / .1)!important}.custom-fields-table[data-v-ce6a94e8] .w-full{width:100%;height:100%}.list-enter-active[data-v-ce6a94e8]{transition:all .15s cubic-bezier(.16,1,.3,1)}.list-enter-from[data-v-ce6a94e8]{opacity:0;transform:translateY(-5px)}.form-field-item[data-v-47af145c]{display:flex;flex-direction:column}.form-field-item[data-v-47af145c]:has([role=switch]),.form-field-item[data-v-47af145c]:has([role=checkbox]){flex-direction:row;align-items:center}.form-container[data-v-b1fa52ca]{width:100%}.heatmap-container[data-v-00476f00]{width:100%;height:100%;display:flex;flex-direction:column;min-height:0}.heatmap-wrapper[data-v-00476f00]{width:100%;height:100%;overflow:auto;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box;position:relative}.heatmap-grid[data-v-00476f00]{width:fit-content;height:fit-content;transition:all .2s ease-in-out}.heatmap-cell[data-v-00476f00]{aspect-ratio:1 / 1;border-radius:2px;transition:all .15s ease-in-out;border:1px solid transparent;box-sizing:border-box}.heatmap-cell-interactive[data-v-00476f00]{cursor:pointer}.heatmap-cell-interactive[data-v-00476f00]:hover{transform:scale(1.1);border-color:var(--border);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;z-index:10;position:relative}.heatmap-cell-empty[data-v-00476f00]{opacity:.6}.heatmap-cell-hovered[data-v-00476f00]{outline:2px solid var(--primary);outline-offset:1px}.heatmap-cell-label[data-v-00476f00]{font-size:8px;font-weight:500;color:var(--foreground);opacity:.8;display:flex;align-items:center;justify-content:center;height:100%;width:100%;pointer-events:none}.heatmap-legend[data-v-00476f00]{display:flex;align-items:center;gap:.5rem;margin-top:1rem;font-size:.75rem;color:var(--muted-foreground);flex-shrink:0}.heatmap-legend-label[data-v-00476f00]{font-weight:500}.heatmap-legend-colors[data-v-00476f00]{display:flex;gap:.125rem}.heatmap-legend-item[data-v-00476f00]{width:.75rem;height:.75rem;border-radius:.375rem;border:1px solid var(--border)}@media(max-width:640px){.heatmap-wrapper[data-v-00476f00]{padding:12px}.heatmap-cell[data-v-00476f00]{border-radius:2px}.heatmap-cell-label[data-v-00476f00]{font-size:7px}}@media(min-width:641px)and (max-width:1023px){.heatmap-wrapper[data-v-00476f00]{padding:14px}.heatmap-cell[data-v-00476f00]{border-radius:2px}}@media(min-width:1024px){.heatmap-wrapper[data-v-00476f00]{padding:16px}.heatmap-cell[data-v-00476f00]{border-radius:3px}}.custom-scrollbar[data-v-9ac38977]::-webkit-scrollbar{width:0px}.custom-scrollbar[data-v-9ac38977]::-webkit-scrollbar-track{background:transparent}.custom-scrollbar[data-v-9ac38977]::-webkit-scrollbar-thumb{background-color:var(--color-border);border-radius:10px}.custom-scrollbar-x[data-v-11bc76c9]::-webkit-scrollbar{height:8px}.custom-scrollbar-x[data-v-11bc76c9]::-webkit-scrollbar-track{background:transparent}.custom-scrollbar-x[data-v-11bc76c9]::-webkit-scrollbar-thumb{background-color:var(--color-border);border-radius:10px}.masonry-item[data-v-c29d0159]{content-visibility:auto;contain-intrinsic-size:1px 200px}.slide-right-enter-active[data-v-495f8aa0],.slide-right-leave-active[data-v-495f8aa0],.slide-left-enter-active[data-v-495f8aa0],.slide-left-leave-active[data-v-495f8aa0]{transition:transform .3s ease-in-out}.slide-right-enter-from[data-v-495f8aa0],.slide-right-leave-to[data-v-495f8aa0]{transform:translate(100%)}.slide-left-enter-from[data-v-495f8aa0],.slide-left-leave-to[data-v-495f8aa0]{transform:translate(-100%)}.sidebar-manu-item .tooltip-trigger{width:100%!important}.sidebar-menu-tooltip{margin-left:4px!important}[dir=rtl] .sidebar-menu-tooltip{margin-right:4px!important}.first-toast-enter-active[data-v-6b631840]{animation:first-toast-in-6b631840 .45s cubic-bezier(.23,1,.32,1) forwards}.first-toast-leave-active[data-v-6b631840]{transition:all .25s ease-in}.first-toast-leave-to[data-v-6b631840]{opacity:0;transform:scale(.98)}@keyframes first-toast-in-6b631840{0%{opacity:var(--entrance-opacity, .6);transform:translateY(var(--entrance-offset, 25px)) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.stack-toast-enter-active[data-v-6b631840],.stack-toast-leave-active[data-v-6b631840]{transition:all .3s cubic-bezier(.16,1,.3,1)}.stack-toast-enter-from[data-v-6b631840]{opacity:0;transform:scale(.95) translateY(10px)}.stack-toast-leave-to[data-v-6b631840]{opacity:0;transform:scale(.95)}.stack-toast-move[data-v-6b631840]{transition:transform .4s cubic-bezier(.16,1,.3,1)}.bg-stripe[data-v-454a1505]{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}.animate-progress-stripe[data-v-454a1505]{animation:progress-stripe-454a1505 1s linear infinite}@keyframes progress-stripe-454a1505{0%{background-position:1rem 0}to{background-position:0 0}}.animate-progress-indeterminate[data-v-454a1505]{animation:progress-indeterminate-454a1505 1.5s infinite cubic-bezier(.65,.815,.735,.395)}@keyframes progress-indeterminate-454a1505{0%{transform:translate(-100%) scaleX(.2)}50%{transform:translate(0) scaleX(.5)}to{transform:translate(100%) scaleX(.2)}}
|
|
687
693
|
|
package/directives/vRipple.d.ts
DELETED
package/directives/vRipple.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
const d = (e, n) => {
|
|
2
|
-
const i = n.getBoundingClientRect(), c = e.clientX - i.left, p = e.clientY - i.top, t = document.createElement("span"), s = Math.max(i.width, i.height), o = s / 2;
|
|
3
|
-
t.style.width = t.style.height = `${s}px`, t.style.left = `${c - o}px`, t.style.top = `${p - o}px`, t.classList.add("ripple");
|
|
4
|
-
const l = document.getElementsByClassName("ripple")[0];
|
|
5
|
-
l && l.remove(), n.appendChild(t), setTimeout(() => {
|
|
6
|
-
t.remove();
|
|
7
|
-
}, 600);
|
|
8
|
-
}, a = {
|
|
9
|
-
mounted(e) {
|
|
10
|
-
e.style.position = "relative", e.style.overflow = "hidden", e.addEventListener("click", (n) => d(n, e));
|
|
11
|
-
},
|
|
12
|
-
unmounted(e) {
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
export {
|
|
16
|
-
a as vRipple
|
|
17
|
-
};
|