@profeskills/vuejs-ui 0.2.2
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/ConfirmDialog.vue.d.ts +2 -0
- package/HBadge.vue.d.ts +17 -0
- package/HDialog.vue.d.ts +23 -0
- package/HMetricCard.vue.d.ts +7 -0
- package/HTooltip.vue.d.ts +16 -0
- package/LICENSE +21 -0
- package/README.md +47 -0
- package/StatCard.vue.d.ts +10 -0
- package/badge/Badge.vue.d.ts +18 -0
- package/badge/index.d.ts +1 -0
- package/badge/index.js +2 -0
- package/checkbox/Checkbox.vue.d.ts +12 -0
- package/checkbox/index.d.ts +1 -0
- package/checkbox/index.js +2 -0
- package/chunks/badge-Bs0JHyBd.js +17 -0
- package/chunks/checkbox-Dy2MEOEB.js +28 -0
- package/chunks/data-table-CmHz_5Gm.js +1106 -0
- package/chunks/dialog-B5d9RrVM.js +91 -0
- package/chunks/dropdown-menu-DjfkyvUs.js +190 -0
- package/chunks/select-sj-TTDYA.js +132 -0
- package/chunks/separator-nJXJBrX8.js +30 -0
- package/chunks/sheet-Bloy0C7L.js +91 -0
- package/chunks/tabs-CmEu-lQt.js +84 -0
- package/chunks/tooltip-Ck8h37A5.js +62 -0
- package/composables/useConfirm.d.ts +11 -0
- package/composables/useConfirm.js +13 -0
- package/composables/useTableInstance.d.ts +9 -0
- package/composables/useTableInstance.js +16 -0
- package/data-table/DataTable.vue.d.ts +17 -0
- package/data-table/DataTableColumnHeader.vue.d.ts +7 -0
- package/data-table/DataTableColumnsVisibility.vue.d.ts +2 -0
- package/data-table/DataTablePagination.vue.d.ts +6 -0
- package/data-table/DataTableSkeleton.vue.d.ts +9 -0
- package/data-table/advanced/DataTableAdvancedToolbar.vue.d.ts +31 -0
- package/data-table/advanced/DataTableFilterItem.vue.d.ts +13 -0
- package/data-table/advanced/DataTableMultiFilter.vue.d.ts +15 -0
- package/data-table/advanced/views/DataTableViewsDropdown.vue.d.ts +21 -0
- package/data-table/advanced/views/utils.d.ts +6 -0
- package/data-table/index.d.ts +10 -0
- package/data-table/index.js +2 -0
- package/dialog/Dialog.vue.d.ts +21 -0
- package/dialog/DialogClose.vue.d.ts +12 -0
- package/dialog/DialogContent.vue.d.ts +21 -0
- package/dialog/DialogDescription.vue.d.ts +15 -0
- package/dialog/DialogFooter.vue.d.ts +15 -0
- package/dialog/DialogHeader.vue.d.ts +15 -0
- package/dialog/DialogTitle.vue.d.ts +15 -0
- package/dialog/DialogTrigger.vue.d.ts +12 -0
- package/dialog/index.d.ts +8 -0
- package/dialog/index.js +2 -0
- package/dropdown-menu/DropdownMenu.vue.d.ts +21 -0
- package/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +23 -0
- package/dropdown-menu/DropdownMenuContent.vue.d.ts +26 -0
- package/dropdown-menu/DropdownMenuItem.vue.d.ts +22 -0
- package/dropdown-menu/DropdownMenuLabel.vue.d.ts +16 -0
- package/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +19 -0
- package/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +21 -0
- package/dropdown-menu/DropdownMenuRoot.vue.d.ts +12 -0
- package/dropdown-menu/DropdownMenuSeparator.vue.d.ts +5 -0
- package/dropdown-menu/DropdownMenuShortcut.vue.d.ts +15 -0
- package/dropdown-menu/DropdownMenuSub.vue.d.ts +16 -0
- package/dropdown-menu/DropdownMenuSubContent.vue.d.ts +15 -0
- package/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +17 -0
- package/dropdown-menu/DropdownMenuTrigger.vue.d.ts +16 -0
- package/dropdown-menu/index.d.ts +13 -0
- package/dropdown-menu/index.js +2 -0
- package/index.d.ts +20 -0
- package/index.js +142 -0
- package/package.json +128 -0
- package/select/Select.vue.d.ts +24 -0
- package/select/SelectContent.vue.d.ts +24 -0
- package/select/SelectGroup.vue.d.ts +12 -0
- package/select/SelectItem.vue.d.ts +21 -0
- package/select/SelectLabel.vue.d.ts +15 -0
- package/select/SelectSeparator.vue.d.ts +5 -0
- package/select/SelectTrigger.vue.d.ts +21 -0
- package/select/SelectValue.vue.d.ts +15 -0
- package/select/index.d.ts +8 -0
- package/select/index.js +2 -0
- package/separator/Separator.vue.d.ts +10 -0
- package/separator/index.d.ts +1 -0
- package/separator/index.js +2 -0
- package/sheet/Sheet.vue.d.ts +21 -0
- package/sheet/SheetClose.vue.d.ts +12 -0
- package/sheet/SheetContent.vue.d.ts +19 -0
- package/sheet/SheetDescription.vue.d.ts +15 -0
- package/sheet/SheetFooter.vue.d.ts +15 -0
- package/sheet/SheetHeader.vue.d.ts +15 -0
- package/sheet/SheetTitle.vue.d.ts +15 -0
- package/sheet/SheetTrigger.vue.d.ts +12 -0
- package/sheet/index.d.ts +8 -0
- package/sheet/index.js +2 -0
- package/styles.css +2 -0
- package/tabs/Tabs.vue.d.ts +20 -0
- package/tabs/TabsContent.vue.d.ts +16 -0
- package/tabs/TabsList.vue.d.ts +16 -0
- package/tabs/TabsTrigger.vue.d.ts +16 -0
- package/tabs/index.d.ts +4 -0
- package/tabs/index.js +2 -0
- package/tooltip/Tooltip.vue.d.ts +21 -0
- package/tooltip/TooltipContent.vue.d.ts +23 -0
- package/tooltip/TooltipProvider.vue.d.ts +17 -0
- package/tooltip/TooltipTrigger.vue.d.ts +12 -0
- package/tooltip/index.d.ts +4 -0
- package/tooltip/index.js +2 -0
- package/types.d.ts +32 -0
- package/types.js +0 -0
- package/utils.d.ts +5 -0
- package/utils.js +11 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { default as DropdownMenu } from './DropdownMenu.vue';
|
|
2
|
+
export { default as DropdownMenuTrigger } from './DropdownMenuTrigger.vue';
|
|
3
|
+
export { default as DropdownMenuContent } from './DropdownMenuContent.vue';
|
|
4
|
+
export { default as DropdownMenuItem } from './DropdownMenuItem.vue';
|
|
5
|
+
export { default as DropdownMenuCheckboxItem } from './DropdownMenuCheckboxItem.vue';
|
|
6
|
+
export { default as DropdownMenuRadioItem } from './DropdownMenuRadioItem.vue';
|
|
7
|
+
export { default as DropdownMenuRadioGroup } from './DropdownMenuRadioGroup.vue';
|
|
8
|
+
export { default as DropdownMenuSeparator } from './DropdownMenuSeparator.vue';
|
|
9
|
+
export { default as DropdownMenuLabel } from './DropdownMenuLabel.vue';
|
|
10
|
+
export { default as DropdownMenuSub } from './DropdownMenuSub.vue';
|
|
11
|
+
export { default as DropdownMenuSubTrigger } from './DropdownMenuSubTrigger.vue';
|
|
12
|
+
export { default as DropdownMenuSubContent } from './DropdownMenuSubContent.vue';
|
|
13
|
+
export { default as DropdownMenuShortcut } from './DropdownMenuShortcut.vue';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "../chunks/dropdown-menu-DjfkyvUs.js";
|
|
2
|
+
export { c as DropdownMenu, a as DropdownMenuCheckboxItem, n as DropdownMenuContent, f as DropdownMenuItem, e as DropdownMenuLabel, u as DropdownMenuRadioGroup, t as DropdownMenuRadioItem, s as DropdownMenuSeparator, d as DropdownMenuShortcut, i as DropdownMenuSub, o as DropdownMenuSubContent, l as DropdownMenuSubTrigger, r as DropdownMenuTrigger };
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { default as ConfirmDialog } from './ConfirmDialog.vue';
|
|
2
|
+
export { default as HBadge } from './HBadge.vue';
|
|
3
|
+
export { default as HDialog } from './HDialog.vue';
|
|
4
|
+
export { default as HMetricCard } from './HMetricCard.vue';
|
|
5
|
+
export { default as HTooltip } from './HTooltip.vue';
|
|
6
|
+
export { default as StatCard } from './StatCard.vue';
|
|
7
|
+
export * from './badge';
|
|
8
|
+
export * from './checkbox';
|
|
9
|
+
export * from './data-table';
|
|
10
|
+
export * from './dialog';
|
|
11
|
+
export * from './dropdown-menu';
|
|
12
|
+
export * from './select';
|
|
13
|
+
export * from './separator';
|
|
14
|
+
export * from './sheet';
|
|
15
|
+
export * from './tabs';
|
|
16
|
+
export * from './tooltip';
|
|
17
|
+
export * from './composables/useConfirm';
|
|
18
|
+
export * from './composables/useTableInstance';
|
|
19
|
+
export * from './types';
|
|
20
|
+
export * from './utils';
|
package/index.js
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { _confirmOpen as e, _confirmOpts as t, resolveConfirm as n, showConfirm as r } from "./composables/useConfirm.js";
|
|
2
|
+
import { a as i, c as a, i as o, n as s, o as c, r as l, s as u, t as ee } from "./chunks/dialog-B5d9RrVM.js";
|
|
3
|
+
import { cn as te, getIsMacOS as ne } from "./utils.js";
|
|
4
|
+
import { a as re, c as ie, d as ae, f as oe, h as se, i as ce, l as le, m as ue, n as de, o as fe, p as pe, r as me, s as he, t as d, u as f } from "./chunks/data-table-CmHz_5Gm.js";
|
|
5
|
+
import { t as p } from "./chunks/badge-Bs0JHyBd.js";
|
|
6
|
+
import { t as m } from "./chunks/checkbox-Dy2MEOEB.js";
|
|
7
|
+
import { a as h, c as g, i as _, n as v, o as y, r as b, s as x, t as S } from "./chunks/select-sj-TTDYA.js";
|
|
8
|
+
import { TableInstanceKey as C, provideTableInstance as w, useTableInstance as T } from "./composables/useTableInstance.js";
|
|
9
|
+
import { a as E, c as D, d as O, f as k, i as A, l as j, n as M, o as N, p as P, r as F, s as I, t as L, u as R } from "./chunks/dropdown-menu-DjfkyvUs.js";
|
|
10
|
+
import { t as ge } from "./chunks/separator-nJXJBrX8.js";
|
|
11
|
+
import { a as _e, c as ve, i as ye, n as be, o as xe, r as Se, s as Ce, t as we } from "./chunks/sheet-Bloy0C7L.js";
|
|
12
|
+
import { i as Te, n as Ee, r as De, t as Oe } from "./chunks/tabs-CmEu-lQt.js";
|
|
13
|
+
import { i as ke, n as Ae, r as je, t as Me } from "./chunks/tooltip-Ck8h37A5.js";
|
|
14
|
+
import "./types.js";
|
|
15
|
+
import { Teleport as Ne, createBlock as z, createCommentVNode as B, createElementBlock as V, createElementVNode as H, createTextVNode as U, createVNode as W, defineComponent as G, normalizeClass as K, normalizeStyle as Pe, openBlock as q, renderSlot as J, resolveDynamicComponent as Fe, toDisplayString as Y, unref as X, withCtx as Z, withModifiers as Ie } from "vue";
|
|
16
|
+
import { IconX as Le } from "@tabler/icons-vue";
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region src/ConfirmDialog.vue
|
|
19
|
+
var Re = /* @__PURE__ */ G({
|
|
20
|
+
__name: "ConfirmDialog",
|
|
21
|
+
setup(r) {
|
|
22
|
+
return (r, s) => (q(), z(X(a), {
|
|
23
|
+
open: X(e),
|
|
24
|
+
"onUpdate:open": s[2] ||= (e) => {
|
|
25
|
+
e || X(n)(!1);
|
|
26
|
+
}
|
|
27
|
+
}, {
|
|
28
|
+
default: Z(() => [W(X(u), { class: "sm:max-w-sm" }, {
|
|
29
|
+
default: Z(() => [W(X(c), null, {
|
|
30
|
+
default: Z(() => [W(X(o), null, {
|
|
31
|
+
default: Z(() => [U(Y(X(t).title), 1)]),
|
|
32
|
+
_: 1
|
|
33
|
+
}), X(t).description ? (q(), z(X(l), { key: 0 }, {
|
|
34
|
+
default: Z(() => [U(Y(X(t).description), 1)]),
|
|
35
|
+
_: 1
|
|
36
|
+
})) : B("", !0)]),
|
|
37
|
+
_: 1
|
|
38
|
+
}), W(X(i), { class: "flex gap-2 pt-2" }, {
|
|
39
|
+
default: Z(() => [H("button", {
|
|
40
|
+
type: "button",
|
|
41
|
+
onClick: s[0] ||= (e) => X(n)(!1),
|
|
42
|
+
class: "inline-flex h-9 flex-1 items-center justify-center rounded-md border px-4 text-sm hover:bg-accent"
|
|
43
|
+
}, Y(X(t).cancelLabel ?? "Annuler"), 1), H("button", {
|
|
44
|
+
type: "button",
|
|
45
|
+
onClick: s[1] ||= (e) => X(n)(!0),
|
|
46
|
+
class: K(["inline-flex h-9 flex-1 items-center justify-center rounded-md px-4 text-sm font-medium", X(t).variant === "destructive" ? "bg-destructive text-destructive-foreground hover:bg-destructive/90" : "bg-primary text-primary-foreground hover:bg-primary/90"])
|
|
47
|
+
}, Y(X(t).confirmLabel ?? "Confirmer"), 3)]),
|
|
48
|
+
_: 1
|
|
49
|
+
})]),
|
|
50
|
+
_: 1
|
|
51
|
+
})]),
|
|
52
|
+
_: 1
|
|
53
|
+
}, 8, ["open"]));
|
|
54
|
+
}
|
|
55
|
+
}), ze = /* @__PURE__ */ G({
|
|
56
|
+
__name: "HBadge",
|
|
57
|
+
props: { variant: { default: "gray" } },
|
|
58
|
+
setup(e) {
|
|
59
|
+
let t = {
|
|
60
|
+
green: "h-badge-green",
|
|
61
|
+
amber: "h-badge-amber",
|
|
62
|
+
red: "h-badge-red",
|
|
63
|
+
blue: "h-badge-blue",
|
|
64
|
+
purple: "h-badge-purple",
|
|
65
|
+
gray: "h-badge-gray"
|
|
66
|
+
}[e.variant];
|
|
67
|
+
return (e, n) => (q(), V("span", { class: K(["h-badge", X(t)]) }, [J(e.$slots, "default", {}, void 0, !0)], 2));
|
|
68
|
+
}
|
|
69
|
+
}), Q = (e, t) => {
|
|
70
|
+
let n = e.__vccOpts || e;
|
|
71
|
+
for (let [e, r] of t) n[e] = r;
|
|
72
|
+
return n;
|
|
73
|
+
}, Be = /* @__PURE__ */ Q(ze, [["__scopeId", "data-v-71d3ab6e"]]), Ve = { class: "h-dialog-header" }, $ = { class: "h-dialog-title" }, He = { class: "h-dialog-body" }, Ue = {
|
|
74
|
+
key: 0,
|
|
75
|
+
class: "h-dialog-footer"
|
|
76
|
+
}, We = /* @__PURE__ */ Q(/* @__PURE__ */ G({
|
|
77
|
+
__name: "HDialog",
|
|
78
|
+
props: {
|
|
79
|
+
modelValue: { type: Boolean },
|
|
80
|
+
title: {},
|
|
81
|
+
width: {}
|
|
82
|
+
},
|
|
83
|
+
emits: ["update:modelValue"],
|
|
84
|
+
setup(e) {
|
|
85
|
+
return (t, n) => (q(), z(Ne, { to: "body" }, [e.modelValue ? (q(), V("div", {
|
|
86
|
+
key: 0,
|
|
87
|
+
class: "h-dialog-backdrop",
|
|
88
|
+
onClick: n[1] ||= Ie((e) => t.$emit("update:modelValue", !1), ["self"])
|
|
89
|
+
}, [H("div", {
|
|
90
|
+
class: "h-dialog-panel",
|
|
91
|
+
style: Pe({ maxWidth: e.width })
|
|
92
|
+
}, [
|
|
93
|
+
H("div", Ve, [H("span", $, Y(e.title), 1), H("button", {
|
|
94
|
+
class: "h-dialog-close",
|
|
95
|
+
onClick: n[0] ||= (e) => t.$emit("update:modelValue", !1)
|
|
96
|
+
}, [W(X(Le), { size: 16 })])]),
|
|
97
|
+
H("div", He, [J(t.$slots, "default", {}, void 0, !0)]),
|
|
98
|
+
t.$slots.footer ? (q(), V("div", Ue, [J(t.$slots, "footer", {}, void 0, !0)])) : B("", !0)
|
|
99
|
+
], 4)])) : B("", !0)]));
|
|
100
|
+
}
|
|
101
|
+
}), [["__scopeId", "data-v-4f175098"]]), Ge = { class: "h-metric-card" }, Ke = { class: "h-metric-label" }, qe = { class: "h-metric-val" }, Je = {
|
|
102
|
+
key: 0,
|
|
103
|
+
class: "h-metric-sub"
|
|
104
|
+
}, Ye = /* @__PURE__ */ Q(/* @__PURE__ */ G({
|
|
105
|
+
__name: "HMetricCard",
|
|
106
|
+
props: {
|
|
107
|
+
label: {},
|
|
108
|
+
value: {},
|
|
109
|
+
sub: {}
|
|
110
|
+
},
|
|
111
|
+
setup(e) {
|
|
112
|
+
return (t, n) => (q(), V("div", Ge, [
|
|
113
|
+
H("div", Ke, Y(e.label), 1),
|
|
114
|
+
H("div", qe, Y(e.value), 1),
|
|
115
|
+
e.sub ? (q(), V("div", Je, Y(e.sub), 1)) : B("", !0)
|
|
116
|
+
]));
|
|
117
|
+
}
|
|
118
|
+
}), [["__scopeId", "data-v-735e7f0c"]]), Xe = { class: "rounded-xl border bg-card p-5" }, Ze = { class: "flex items-center justify-between" }, Qe = {
|
|
119
|
+
key: 0,
|
|
120
|
+
class: "grid h-9 w-9 place-items-center rounded-lg bg-primary/10 text-primary"
|
|
121
|
+
}, $e = { class: "mt-4 text-2xl font-bold" }, et = { class: "text-sm text-muted-foreground" }, tt = /* @__PURE__ */ G({
|
|
122
|
+
__name: "StatCard",
|
|
123
|
+
props: {
|
|
124
|
+
icon: {},
|
|
125
|
+
label: {},
|
|
126
|
+
value: {},
|
|
127
|
+
delta: {},
|
|
128
|
+
up: { type: Boolean }
|
|
129
|
+
},
|
|
130
|
+
setup(e) {
|
|
131
|
+
return (t, n) => (q(), V("div", Xe, [
|
|
132
|
+
H("div", Ze, [e.icon ? (q(), V("span", Qe, [(q(), z(Fe(e.icon), { class: "h-5 w-5" }))])) : B("", !0), e.delta ? (q(), V("span", {
|
|
133
|
+
key: 1,
|
|
134
|
+
class: K(["text-xs font-semibold", e.up ? "text-emerald-500" : "text-red-500"])
|
|
135
|
+
}, Y(e.delta), 3)) : B("", !0)]),
|
|
136
|
+
H("p", $e, Y(e.value), 1),
|
|
137
|
+
H("p", et, Y(e.label), 1)
|
|
138
|
+
]));
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
//#endregion
|
|
142
|
+
export { p as Badge, re as COLUMNS, m as Checkbox, Re as ConfirmDialog, ue as DataTable, d as DataTableAdvancedToolbar, f as DataTableColumnHeader, ae as DataTableColumnsVisibility, me as DataTableFilterItem, de as DataTableMultiFilter, oe as DataTablePagination, pe as DataTableSkeleton, ce as DataTableViewsDropdown, a as Dialog, ee as DialogClose, u as DialogContent, l as DialogDescription, i as DialogFooter, c as DialogHeader, o as DialogTitle, s as DialogTrigger, P as DropdownMenu, j as DropdownMenuCheckboxItem, O as DropdownMenuContent, R as DropdownMenuItem, E as DropdownMenuLabel, I as DropdownMenuRadioGroup, D as DropdownMenuRadioItem, N as DropdownMenuSeparator, L as DropdownMenuShortcut, A as DropdownMenuSub, M as DropdownMenuSubContent, F as DropdownMenuSubTrigger, k as DropdownMenuTrigger, fe as FILTERABLE_FIELDS, Be as HBadge, We as HDialog, Ye as HMetricCard, se as HTooltip, g as Select, y as SelectContent, _ as SelectGroup, h as SelectItem, S as SelectLabel, v as SelectSeparator, x as SelectTrigger, b as SelectValue, ge as Separator, ve as Sheet, xe as SheetClose, _e as SheetContent, we as SheetDescription, Se as SheetFooter, ye as SheetHeader, be as SheetTitle, Ce as SheetTrigger, tt as StatCard, C as TableInstanceKey, Te as Tabs, Oe as TabsContent, De as TabsList, Ee as TabsTrigger, ke as Tooltip, Ae as TooltipContent, Me as TooltipProvider, je as TooltipTrigger, e as _confirmOpen, t as _confirmOpts, he as calcFilterParams, ie as calcViewSearchParams, te as cn, le as getIsFiltered, ne as getIsMacOS, w as provideTableInstance, n as resolveConfirm, r as showConfirm, T as useTableInstance };
|
package/package.json
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@profeskills/vuejs-ui",
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"description": "Composants Vue 3 accessibles et réutilisables pour les applications ProfesSkills.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.css"
|
|
8
|
+
],
|
|
9
|
+
"main": "./index.js",
|
|
10
|
+
"module": "./index.js",
|
|
11
|
+
"types": "./index.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./index.d.ts",
|
|
15
|
+
"import": "./index.js"
|
|
16
|
+
},
|
|
17
|
+
"./badge": {
|
|
18
|
+
"types": "./badge/index.d.ts",
|
|
19
|
+
"import": "./badge/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./checkbox": {
|
|
22
|
+
"types": "./checkbox/index.d.ts",
|
|
23
|
+
"import": "./checkbox/index.js"
|
|
24
|
+
},
|
|
25
|
+
"./data-table": {
|
|
26
|
+
"types": "./data-table/index.d.ts",
|
|
27
|
+
"import": "./data-table/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./dialog": {
|
|
30
|
+
"types": "./dialog/index.d.ts",
|
|
31
|
+
"import": "./dialog/index.js"
|
|
32
|
+
},
|
|
33
|
+
"./dropdown-menu": {
|
|
34
|
+
"types": "./dropdown-menu/index.d.ts",
|
|
35
|
+
"import": "./dropdown-menu/index.js"
|
|
36
|
+
},
|
|
37
|
+
"./select": {
|
|
38
|
+
"types": "./select/index.d.ts",
|
|
39
|
+
"import": "./select/index.js"
|
|
40
|
+
},
|
|
41
|
+
"./separator": {
|
|
42
|
+
"types": "./separator/index.d.ts",
|
|
43
|
+
"import": "./separator/index.js"
|
|
44
|
+
},
|
|
45
|
+
"./sheet": {
|
|
46
|
+
"types": "./sheet/index.d.ts",
|
|
47
|
+
"import": "./sheet/index.js"
|
|
48
|
+
},
|
|
49
|
+
"./tabs": {
|
|
50
|
+
"types": "./tabs/index.d.ts",
|
|
51
|
+
"import": "./tabs/index.js"
|
|
52
|
+
},
|
|
53
|
+
"./tooltip": {
|
|
54
|
+
"types": "./tooltip/index.d.ts",
|
|
55
|
+
"import": "./tooltip/index.js"
|
|
56
|
+
},
|
|
57
|
+
"./confirm": {
|
|
58
|
+
"types": "./composables/useConfirm.d.ts",
|
|
59
|
+
"import": "./composables/useConfirm.js"
|
|
60
|
+
},
|
|
61
|
+
"./composables/useConfirm": {
|
|
62
|
+
"types": "./composables/useConfirm.d.ts",
|
|
63
|
+
"import": "./composables/useConfirm.js"
|
|
64
|
+
},
|
|
65
|
+
"./table-instance": {
|
|
66
|
+
"types": "./composables/useTableInstance.d.ts",
|
|
67
|
+
"import": "./composables/useTableInstance.js"
|
|
68
|
+
},
|
|
69
|
+
"./composables/useTableInstance": {
|
|
70
|
+
"types": "./composables/useTableInstance.d.ts",
|
|
71
|
+
"import": "./composables/useTableInstance.js"
|
|
72
|
+
},
|
|
73
|
+
"./types": {
|
|
74
|
+
"types": "./types.d.ts",
|
|
75
|
+
"import": "./types.js"
|
|
76
|
+
},
|
|
77
|
+
"./utils": {
|
|
78
|
+
"types": "./utils.d.ts",
|
|
79
|
+
"import": "./utils.js"
|
|
80
|
+
},
|
|
81
|
+
"./styles.css": "./styles.css",
|
|
82
|
+
"./package.json": "./package.json"
|
|
83
|
+
},
|
|
84
|
+
"files": [
|
|
85
|
+
"**/*.js",
|
|
86
|
+
"**/*.d.ts",
|
|
87
|
+
"styles.css",
|
|
88
|
+
"README.md",
|
|
89
|
+
"LICENSE"
|
|
90
|
+
],
|
|
91
|
+
"engines": {
|
|
92
|
+
"node": ">=20"
|
|
93
|
+
},
|
|
94
|
+
"peerDependencies": {
|
|
95
|
+
"@tanstack/vue-table": "^8.0.0",
|
|
96
|
+
"vue": "^3.5.0",
|
|
97
|
+
"vue-router": ">=4 <6"
|
|
98
|
+
},
|
|
99
|
+
"dependencies": {
|
|
100
|
+
"@tabler/icons-vue": "^3.44.0",
|
|
101
|
+
"clsx": "^2.1.1",
|
|
102
|
+
"lucide-vue-next": "^0.363.0",
|
|
103
|
+
"radix-vue": "^1.9.17",
|
|
104
|
+
"tailwind-merge": "^2.6.0",
|
|
105
|
+
"vue-component-type-helpers": "^2.0.24"
|
|
106
|
+
},
|
|
107
|
+
"publishConfig": {
|
|
108
|
+
"access": "public",
|
|
109
|
+
"registry": "https://registry.npmjs.org/"
|
|
110
|
+
},
|
|
111
|
+
"repository": {
|
|
112
|
+
"type": "git",
|
|
113
|
+
"url": "git+https://gitlab.com/jalil.mestaoui/platform-apps.git",
|
|
114
|
+
"directory": "libs/vuejs-ui"
|
|
115
|
+
},
|
|
116
|
+
"homepage": "https://gitlab.com/jalil.mestaoui/platform-apps/-/tree/main/libs/vuejs-ui",
|
|
117
|
+
"bugs": {
|
|
118
|
+
"url": "https://gitlab.com/jalil.mestaoui/platform-apps/-/issues"
|
|
119
|
+
},
|
|
120
|
+
"keywords": [
|
|
121
|
+
"vue",
|
|
122
|
+
"ui",
|
|
123
|
+
"components",
|
|
124
|
+
"tailwindcss",
|
|
125
|
+
"profeskills"
|
|
126
|
+
],
|
|
127
|
+
"license": "MIT"
|
|
128
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: string;
|
|
3
|
+
defaultValue?: string;
|
|
4
|
+
open?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_6: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_6) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
12
|
+
"update:open": (v: boolean) => any;
|
|
13
|
+
"update:modelValue": (v: string) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
"onUpdate:open"?: ((v: boolean) => any) | undefined;
|
|
16
|
+
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
class?: string;
|
|
3
|
+
position?: 'item-aligned' | 'popper';
|
|
4
|
+
side?: 'top' | 'bottom' | 'left' | 'right';
|
|
5
|
+
align?: 'start' | 'center' | 'end';
|
|
6
|
+
sideOffset?: number;
|
|
7
|
+
avoidCollisions?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_22: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
default?: (props: typeof __VLS_22) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
14
|
+
closeAutoFocus: (ev: Event) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onCloseAutoFocus?: ((ev: Event) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare var __VLS_6: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_6) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
class?: string;
|
|
3
|
+
value: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_18: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_18) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
+
select: (ev: Event) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onSelect?: ((ev: Event) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
class?: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_6: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_6) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
class?: string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
class?: string;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
asChild?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_6: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_6) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
+
click: (ev: MouseEvent) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
placeholder?: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_6: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_6) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as Select } from './Select.vue';
|
|
2
|
+
export { default as SelectTrigger } from './SelectTrigger.vue';
|
|
3
|
+
export { default as SelectContent } from './SelectContent.vue';
|
|
4
|
+
export { default as SelectItem } from './SelectItem.vue';
|
|
5
|
+
export { default as SelectGroup } from './SelectGroup.vue';
|
|
6
|
+
export { default as SelectValue } from './SelectValue.vue';
|
|
7
|
+
export { default as SelectSeparator } from './SelectSeparator.vue';
|
|
8
|
+
export { default as SelectLabel } from './SelectLabel.vue';
|
package/select/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
class?: string;
|
|
3
|
+
orientation?: 'horizontal' | 'vertical';
|
|
4
|
+
decorative?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
|
+
orientation: "horizontal" | "vertical";
|
|
8
|
+
decorative: boolean;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Separator } from './Separator.vue';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
open?: boolean;
|
|
3
|
+
defaultOpen?: boolean;
|
|
4
|
+
modal?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_6: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_6) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
+
"update:open": (v: boolean) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
"onUpdate:open"?: ((v: boolean) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare var __VLS_6: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_6) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
class?: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_22: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_22) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
|
+
openAutoFocus: (ev: Event) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onOpenAutoFocus?: ((ev: Event) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
class?: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_6: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_6) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
class?: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
class?: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
class?: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_6: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_6) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare var __VLS_6: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_6) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
package/sheet/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as Sheet } from './Sheet.vue';
|
|
2
|
+
export { default as SheetTrigger } from './SheetTrigger.vue';
|
|
3
|
+
export { default as SheetClose } from './SheetClose.vue';
|
|
4
|
+
export { default as SheetContent } from './SheetContent.vue';
|
|
5
|
+
export { default as SheetHeader } from './SheetHeader.vue';
|
|
6
|
+
export { default as SheetFooter } from './SheetFooter.vue';
|
|
7
|
+
export { default as SheetTitle } from './SheetTitle.vue';
|
|
8
|
+
export { default as SheetDescription } from './SheetDescription.vue';
|
package/sheet/index.js
ADDED