@brumaombra/ui-vintage 0.3.0 → 0.5.0
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/dist/{AlertDialogTitle.vue_vue_type_script_setup_true_lang-Ca0g2mVz.js → AlertDialogTitle.vue_vue_type_script_setup_true_lang-_UW48pv7.js} +6 -5
- package/dist/{BackgroundGrid-Cxvbtefm.js → BackgroundGrid-BJDDcLzF.js} +1 -1
- package/dist/{Busy-1BeD2TRH.js → Busy-BaCc_Jo8.js} +2 -1
- package/dist/{CalendarPrevButton.vue_vue_type_script_setup_true_lang-BklOxtD-.js → CalendarPrevButton.vue_vue_type_script_setup_true_lang-DdzS6YGM.js} +18 -11
- package/dist/Card.vue_vue_type_script_setup_true_lang-D0pFVflK.js +30 -0
- package/dist/{Card.vue_vue_type_script_setup_true_lang-6ol3rxy1.js → CardContent.vue_vue_type_script_setup_true_lang-dBzO0q1t.js} +3 -8
- package/dist/{CardFooter.vue_vue_type_script_setup_true_lang-B1eS9wge.js → CardFooter.vue_vue_type_script_setup_true_lang-B5EqgrgN.js} +1 -19
- package/dist/CardText.vue_vue_type_script_setup_true_lang-DbDhSd3h.js +22 -0
- package/dist/{Collection-Coi6nyvb.js → Collection-4P3HQ4uU.js} +1 -1
- package/dist/{ConfigProvider-D2O0Jles.js → ConfigProvider-DYO65bNW.js} +1 -1
- package/dist/DatePicker.vue_vue_type_script_setup_true_lang-C2Ug81pX.js +88 -0
- package/dist/{DialogClose-DDtZ0Em0.js → DialogClose-DxCTEp0d.js} +2 -2
- package/dist/{DialogPortal-D81oXsCY.js → DialogPortal-BiMJAKLg.js} +1 -1
- package/dist/{DialogTitle-CLuntLBB.js → DialogTitle-jKgSCoXM.js} +10 -6
- package/dist/{DialogTitle.vue_vue_type_script_setup_true_lang-BMXrxvBF.js → DialogTitle.vue_vue_type_script_setup_true_lang-CycrzAMT.js} +23 -14
- package/dist/{DialogTrigger-CjJ8QNL_.js → DialogTrigger-Cb3rLcid.js} +3 -3
- package/dist/EmptyStateCard.vue_vue_type_script_setup_true_lang-BYKX6WRQ.js +59 -0
- package/dist/{FocusScope-DYbCtSNc.js → FocusScope-mzbqk6Y_.js} +8 -14
- package/dist/HugeiconsIcon.vue-By2RXWWz.js +111 -0
- package/dist/{Input.vue_vue_type_script_setup_true_lang-6SfPeT8d.js → Input.vue_vue_type_script_setup_true_lang-BdjbS5s7.js} +1 -1
- package/dist/{Label.vue_vue_type_script_setup_true_lang-pMIzCHzV.js → Label.vue_vue_type_script_setup_true_lang-CdLIMAdF.js} +2 -2
- package/dist/LandingContent.vue_vue_type_script_setup_true_lang-Wgtl_yeD.js +21 -0
- package/dist/LandingFooter.vue_vue_type_script_setup_true_lang-CDy30mYg.js +159 -0
- package/dist/LandingNavbar.vue_vue_type_script_setup_true_lang-0jX2tmdb.js +59 -0
- package/dist/LandingShell.vue_vue_type_script_setup_true_lang-BXwdQR24.js +49 -0
- package/dist/LanguageFlag.vue_vue_type_script_setup_true_lang-CgszKeNv.js +68 -0
- package/dist/LoadMoreButton.vue_vue_type_script_setup_true_lang-CGhFcsF-.js +61 -0
- package/dist/LoadingStateCard.vue_vue_type_script_setup_true_lang-DwyQjtZ3.js +53 -0
- package/dist/MessageToast-uKrMyOZf.js +79 -0
- package/dist/{NativeSelectOption.vue_vue_type_script_setup_true_lang-Ce5VmA0n.js → NativeSelectOption.vue_vue_type_script_setup_true_lang-CNcUI9Yh.js} +4 -3
- package/dist/{PopoverTrigger.vue_vue_type_script_setup_true_lang-DFZJvU_P.js → PopoverTrigger.vue_vue_type_script_setup_true_lang-Cf33q_yT.js} +11 -8
- package/dist/{PopperContent-h-thLTz8.js → PopperContent-DUJ8a4i0.js} +4 -4
- package/dist/Presence-CTmUEdMR.js +168 -0
- package/dist/Progress.vue_vue_type_script_setup_true_lang-BDJfyW-d.js +188 -0
- package/dist/{Separator.vue_vue_type_script_setup_true_lang-CMRkdntA.js → Separator.vue_vue_type_script_setup_true_lang-D9BozdWD.js} +1 -1
- package/dist/{SheetTitle.vue_vue_type_script_setup_true_lang-Csr3nKnG.js → SheetTitle.vue_vue_type_script_setup_true_lang-Ja7-gmXd.js} +6 -18
- package/dist/{Slider.vue_vue_type_script_setup_true_lang-C_CsSGAt.js → Slider.vue_vue_type_script_setup_true_lang-CSOSwGGr.js} +10 -9
- package/dist/{Switch.vue_vue_type_script_setup_true_lang-BG6nkPSO.js → Switch.vue_vue_type_script_setup_true_lang-C8mqOepU.js} +7 -6
- package/dist/{Teleport-CV0tKbq5.js → Teleport-DTOwRCqx.js} +7 -185
- package/dist/TimePicker.vue_vue_type_script_setup_true_lang-tbOoMfZu.js +51 -0
- package/dist/{TooltipTrigger.vue_vue_type_script_setup_true_lang-DEPKysA_.js → TooltipTrigger.vue_vue_type_script_setup_true_lang-BMdZRPa3.js} +9 -6
- package/dist/{VisuallyHiddenInput-1G1IEkBL.js → VisuallyHiddenInput-D5eipDQU.js} +1 -1
- package/dist/alert-dialog.js +7 -7
- package/dist/alert.js +8 -18
- package/dist/background-grid.js +1 -1
- package/dist/badge.js +9 -36
- package/dist/breadcrumb.js +159 -0
- package/dist/busy-indicator.js +1 -1
- package/dist/busy.js +1 -1
- package/dist/button.js +11 -7
- package/dist/calendar.js +1 -1
- package/dist/card-grid.js +58 -0
- package/dist/card.js +9 -6
- package/dist/chip.js +47 -0
- package/dist/color-tokens-D9BviGPK.js +40 -0
- package/dist/command.js +17 -33
- package/dist/components/card-grid/CardGrid.vue.d.ts +88 -0
- package/dist/components/card-grid/index.d.ts +2 -0
- package/dist/components/chip/Chip.vue.d.ts +17 -0
- package/dist/components/chip/index.d.ts +2 -0
- package/dist/components/confirm-dialog/confirm-dialog-state.d.ts +11 -8
- package/dist/components/dashboard-shell/DashboardShell.vue.d.ts +12 -2
- package/dist/components/data-list/DataList.vue.d.ts +21 -0
- package/dist/components/data-list/DataListItem.vue.d.ts +21 -0
- package/dist/components/data-list/DataListLabel.vue.d.ts +21 -0
- package/dist/components/data-list/DataListText.vue.d.ts +21 -0
- package/dist/components/data-list/DataListValue.vue.d.ts +21 -0
- package/dist/components/data-list/index.d.ts +5 -0
- package/dist/components/empty-state-card/EmptyStateCard.vue.d.ts +73 -0
- package/dist/components/empty-state-card/index.d.ts +2 -0
- package/dist/components/info-card/InfoCard.vue.d.ts +46 -0
- package/dist/components/info-card/index.d.ts +2 -0
- package/dist/components/landing/index.d.ts +6 -0
- package/dist/components/landing/landing-content/LandingContent.vue.d.ts +21 -0
- package/dist/components/landing/landing-content/index.d.ts +2 -0
- package/dist/components/landing/landing-footer/LandingFooter.vue.d.ts +39 -0
- package/dist/components/landing/landing-footer/index.d.ts +3 -0
- package/dist/components/landing/landing-navbar/LandingNavbar.vue.d.ts +32 -0
- package/dist/components/landing/landing-navbar/index.d.ts +2 -0
- package/dist/components/landing/landing-shell/LandingShell.vue.d.ts +31 -0
- package/dist/components/landing/landing-shell/index.d.ts +2 -0
- package/dist/components/language-flag/LanguageFlag.vue.d.ts +14 -0
- package/dist/components/language-flag/flags/EnglishFlag.vue.d.ts +2 -0
- package/dist/components/language-flag/flags/ItalianFlag.vue.d.ts +2 -0
- package/dist/components/language-flag/index.d.ts +4 -0
- package/dist/components/language-selector/LanguageSelector.vue.d.ts +35 -0
- package/dist/components/language-selector/index.d.ts +3 -0
- package/dist/components/load-more-button/LoadMoreButton.vue.d.ts +36 -0
- package/dist/components/load-more-button/index.d.ts +2 -0
- package/dist/components/loading-state-card/LoadingStateCard.vue.d.ts +55 -0
- package/dist/components/loading-state-card/index.d.ts +2 -0
- package/dist/components/message-dialog/message-dialog-state.d.ts +9 -7
- package/dist/components/message-toast/MessageToast.vue.d.ts +2 -0
- package/dist/components/message-toast/index.d.ts +2 -0
- package/dist/components/message-toast/message-toast-state.d.ts +18 -0
- package/dist/components/page-header/PageHeader.vue.d.ts +48 -0
- package/dist/components/page-header/index.d.ts +2 -0
- package/dist/components/progress-component/ProgressComponent.vue.d.ts +47 -0
- package/dist/components/progress-component/index.d.ts +2 -0
- package/dist/components/single-value-card/SingleValueCard.vue.d.ts +40 -0
- package/dist/components/single-value-card/index.d.ts +2 -0
- package/dist/components/slider-form-component/SliderFormComponent.vue.d.ts +2 -2
- package/dist/components/text-link/TextLink.vue.d.ts +35 -0
- package/dist/components/text-link/index.d.ts +2 -0
- package/dist/components/theme-selector/ThemeSelector.vue.d.ts +2 -0
- package/dist/components/theme-selector/index.d.ts +2 -0
- package/dist/components/ui/alert/Alert.vue.d.ts +2 -2
- package/dist/components/ui/alert/index.d.ts +6 -5
- package/dist/components/ui/badge/Badge.vue.d.ts +7 -20
- package/dist/components/ui/badge/index.d.ts +0 -5
- package/dist/components/ui/breadcrumb/Breadcrumb.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +24 -0
- package/dist/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/index.d.ts +7 -0
- package/dist/components/ui/button/index.d.ts +6 -6
- package/dist/components/ui/card/Card.vue.d.ts +3 -0
- package/dist/components/ui/card/CardText.vue.d.ts +21 -0
- package/dist/components/ui/card/index.d.ts +1 -0
- package/dist/components/ui/date-picker/DatePicker.vue.d.ts +2 -0
- package/dist/components/ui/date-time-picker/DateTimePicker.vue.d.ts +27 -0
- package/dist/components/ui/date-time-picker/index.d.ts +2 -0
- package/dist/components/ui/dialog/DialogFooter.vue.d.ts +1 -4
- package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +4 -1
- package/dist/components/ui/field/index.d.ts +4 -4
- package/dist/components/ui/progress/Progress.vue.d.ts +9 -0
- package/dist/components/ui/progress/index.d.ts +1 -0
- package/dist/components/ui/scroll-area/ScrollArea.vue.d.ts +22 -0
- package/dist/components/ui/scroll-area/ScrollBar.vue.d.ts +9 -0
- package/dist/components/ui/scroll-area/index.d.ts +2 -0
- package/dist/components/ui/select/SelectItemContent.vue.d.ts +15 -0
- package/dist/components/ui/select/SelectValueContent.vue.d.ts +16 -0
- package/dist/components/ui/select/index.d.ts +2 -0
- package/dist/components/ui/sidebar/index.d.ts +4 -4
- package/dist/components/ui/table/Table.vue.d.ts +21 -0
- package/dist/components/ui/table/TableBody.vue.d.ts +21 -0
- package/dist/components/ui/table/TableCaption.vue.d.ts +21 -0
- package/dist/components/ui/table/TableCell.vue.d.ts +21 -0
- package/dist/components/ui/table/TableEmpty.vue.d.ts +24 -0
- package/dist/components/ui/table/TableFooter.vue.d.ts +21 -0
- package/dist/components/ui/table/TableHead.vue.d.ts +21 -0
- package/dist/components/ui/table/TableHeader.vue.d.ts +21 -0
- package/dist/components/ui/table/TableRow.vue.d.ts +21 -0
- package/dist/components/ui/table/index.d.ts +9 -0
- package/dist/components/ui/tabs/Tabs.vue.d.ts +28 -0
- package/dist/components/ui/tabs/TabsContent.vue.d.ts +22 -0
- package/dist/components/ui/tabs/TabsList.vue.d.ts +22 -0
- package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +22 -0
- package/dist/components/ui/tabs/index.d.ts +4 -0
- package/dist/components/ui/textarea/Textarea.vue.d.ts +12 -0
- package/dist/components/ui/textarea/index.d.ts +1 -0
- package/dist/components/ui/time-picker/TimePicker.vue.d.ts +21 -0
- package/dist/components/ui/time-picker/index.d.ts +2 -0
- package/dist/confirm-dialog.js +15 -11
- package/dist/createContext-BabAT1K8.js +19 -0
- package/dist/dashboard-shell.js +89 -39
- package/dist/data-list.js +97 -0
- package/dist/date-picker.js +3 -82
- package/dist/date-time-picker.js +140 -0
- package/dist/dialog.js +32 -37
- package/dist/empty-state-card.js +5 -0
- package/dist/error-page.js +9 -7
- package/dist/field.js +2 -2
- package/dist/getActiveElement-Bmy6QsUb.js +9 -0
- package/dist/i18n/en.json.d.ts +57 -0
- package/dist/i18n/it.json.d.ts +57 -0
- package/dist/i18n.js +148 -0
- package/dist/{index-qGMU40e1.js → index-DDJjWaIl.js} +64 -0
- package/dist/{index-Cq9Ekgtb.js → index-Dw56kNV0.js} +10 -10
- package/dist/index.min-CZ9FIOXr.js +23 -0
- package/dist/info-card.js +65 -0
- package/dist/input.js +1 -1
- package/dist/label.js +1 -1
- package/dist/landing-content.js +5 -0
- package/dist/landing-footer.js +5 -0
- package/dist/landing-navbar.js +5 -0
- package/dist/landing-shell.js +5 -0
- package/dist/landing.js +11 -0
- package/dist/language-flag.js +7 -0
- package/dist/language-selector.js +123 -0
- package/dist/lib/color-tokens.d.ts +6 -0
- package/dist/lib/i18n.d.ts +222 -0
- package/dist/load-more-button.js +5 -0
- package/dist/loading-state-card.js +5 -0
- package/dist/message-dialog.js +34 -18
- package/dist/message-toast.js +103 -0
- package/dist/native-select.js +1 -1
- package/dist/nullish-D3tMkl6i.js +6 -0
- package/dist/page-header.js +57 -0
- package/dist/popover.js +4 -4
- package/dist/progress-component.js +51 -0
- package/dist/progress.js +4 -0
- package/dist/scroll-area.js +1080 -0
- package/dist/select.js +149 -53
- package/dist/separator.js +1 -1
- package/dist/sheet.js +3 -3
- package/dist/sidebar.js +10 -9
- package/dist/single-value-card.js +64 -0
- package/dist/slider-form-component.js +2 -2
- package/dist/slider.js +1 -1
- package/dist/style.css +1012 -175
- package/dist/switch-form-component.js +2 -2
- package/dist/switch.js +1 -1
- package/dist/table.js +193 -0
- package/dist/tabs.js +658 -0
- package/dist/text-link.js +39 -0
- package/dist/textarea.js +37 -0
- package/dist/theme-selector.js +159 -0
- package/dist/time-picker.js +5 -0
- package/dist/tooltip.js +2 -2
- package/dist/{useDirection-SIyEYNxv.js → useDirection-B2bMgzzV.js} +1 -1
- package/dist/{useFocusGuards-WYWvpJy2.js → useFocusGuards-2C1jyYW5.js} +1 -1
- package/dist/{useFormControl-CyoJwp9r.js → useFormControl-DZ4LnB9F.js} +1 -1
- package/dist/{useForwardExpose-BiRQH8eO.js → useForwardExpose-BcX3VRdS.js} +1 -1
- package/dist/{useForwardPropsEmits-DmumnZO5.js → useForwardPropsEmits-GlUGKcIz.js} +1 -17
- package/dist/useId-CF6wz41D.js +16 -0
- package/dist/useNonce-CWj1JlPB.js +12 -0
- package/dist/{usePrimitiveElement-Bk3ZOslv.js → usePrimitiveElement-BCpwlakH.js} +1 -1
- package/dist/{useSize-BLYTFgnQ.js → useSize-DUgGY9t1.js} +1 -1
- package/dist/{useTypeahead-KTl4-oeq.js → useTypeahead-4RK0Emcv.js} +2 -2
- package/dist/{utils-BXBXPGDA.js → utils-DbR1EZn-.js} +1 -1
- package/dist/utils-hdwtyAF3.js +44 -0
- package/package.json +119 -2
- package/dist/HugeiconsIcon.vue-BJ-_Wtmk.js +0 -124
package/dist/button.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { c as cva } from "./index-FpH8cK6B.js";
|
|
2
|
+
import { a as getButtonVariantClasses } from "./color-tokens-D9BviGPK.js";
|
|
2
3
|
import { defineComponent, openBlock, createBlock, unref, normalizeClass, withCtx, renderSlot } from "vue";
|
|
3
4
|
import { P as Primitive } from "./Primitive-D3IcFg81.js";
|
|
4
5
|
import { c as cn } from "./utils-Bz4m9VPB.js";
|
|
@@ -35,12 +36,15 @@ const buttonVariants = cva(
|
|
|
35
36
|
{
|
|
36
37
|
variants: {
|
|
37
38
|
variant: {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
primary: getButtonVariantClasses("primary"),
|
|
40
|
+
secondary: getButtonVariantClasses("secondary"),
|
|
41
|
+
ghost: getButtonVariantClasses("ghost"),
|
|
42
|
+
link: getButtonVariantClasses("link"),
|
|
43
|
+
gray: getButtonVariantClasses("gray"),
|
|
44
|
+
green: getButtonVariantClasses("green"),
|
|
45
|
+
red: getButtonVariantClasses("red"),
|
|
46
|
+
blue: getButtonVariantClasses("blue"),
|
|
47
|
+
yellow: getButtonVariantClasses("yellow")
|
|
44
48
|
},
|
|
45
49
|
size: {
|
|
46
50
|
"default": "min-h-12 px-4 py-3 has-[>svg]:px-3",
|
|
@@ -52,7 +56,7 @@ const buttonVariants = cva(
|
|
|
52
56
|
}
|
|
53
57
|
},
|
|
54
58
|
defaultVariants: {
|
|
55
|
-
variant: "
|
|
59
|
+
variant: "primary",
|
|
56
60
|
size: "default"
|
|
57
61
|
}
|
|
58
62
|
}
|
package/dist/calendar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _, a, b, c, d, e, f, g, h, i, j, k } from "./CalendarPrevButton.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _, a, b, c, d, e, f, g, h, i, j, k } from "./CalendarPrevButton.vue_vue_type_script_setup_true_lang-DdzS6YGM.js";
|
|
2
2
|
export {
|
|
3
3
|
_ as Calendar,
|
|
4
4
|
a as CalendarCell,
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, createBlock, unref, Fragment, renderList, renderSlot, createVNode, createCommentVNode } from "vue";
|
|
2
|
+
import { u as u7 } from "./index.min-CZ9FIOXr.js";
|
|
3
|
+
import { _ as _sfc_main$2 } from "./EmptyStateCard.vue_vue_type_script_setup_true_lang-BYKX6WRQ.js";
|
|
4
|
+
import { _ as _sfc_main$3 } from "./LoadMoreButton.vue_vue_type_script_setup_true_lang-CGhFcsF-.js";
|
|
5
|
+
import { _ as _sfc_main$1 } from "./LoadingStateCard.vue_vue_type_script_setup_true_lang-DwyQjtZ3.js";
|
|
6
|
+
const _hoisted_1 = {
|
|
7
|
+
key: 2,
|
|
8
|
+
class: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4 md:gap-6 xl:gap-4"
|
|
9
|
+
};
|
|
10
|
+
const _hoisted_2 = {
|
|
11
|
+
key: 3,
|
|
12
|
+
class: "flex justify-center mt-6"
|
|
13
|
+
};
|
|
14
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
|
+
__name: "CardGrid",
|
|
16
|
+
props: {
|
|
17
|
+
items: { type: Array, default: () => [] },
|
|
18
|
+
busy: { type: Boolean, default: false },
|
|
19
|
+
loadMoreBusy: { type: Boolean, default: false },
|
|
20
|
+
hasMore: { type: Boolean, default: false },
|
|
21
|
+
emptyMessage: { type: String, required: true },
|
|
22
|
+
emptyIcon: { type: Object, default: () => u7 }
|
|
23
|
+
},
|
|
24
|
+
emits: ["load-more"],
|
|
25
|
+
setup(__props, { emit: __emit }) {
|
|
26
|
+
const props = __props;
|
|
27
|
+
const emits = __emit;
|
|
28
|
+
const handleLoadMore = () => {
|
|
29
|
+
emits("load-more");
|
|
30
|
+
};
|
|
31
|
+
return (_ctx, _cache) => {
|
|
32
|
+
return openBlock(), createElementBlock("div", null, [
|
|
33
|
+
props.busy ? (openBlock(), createBlock(unref(_sfc_main$1), { key: 0 })) : !props.items || props.items.length === 0 ? (openBlock(), createBlock(unref(_sfc_main$2), {
|
|
34
|
+
key: 1,
|
|
35
|
+
description: props.emptyMessage,
|
|
36
|
+
icon: props.emptyIcon
|
|
37
|
+
}, null, 8, ["description", "icon"])) : (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
38
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(props.items, (item) => {
|
|
39
|
+
return renderSlot(_ctx.$slots, "card", {
|
|
40
|
+
item,
|
|
41
|
+
key: item.id
|
|
42
|
+
});
|
|
43
|
+
}), 128))
|
|
44
|
+
])),
|
|
45
|
+
props.hasMore || props.loadMoreBusy && props.items.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
46
|
+
createVNode(unref(_sfc_main$3), {
|
|
47
|
+
busy: props.loadMoreBusy,
|
|
48
|
+
onLoadMore: handleLoadMore
|
|
49
|
+
}, null, 8, ["busy"])
|
|
50
|
+
])) : createCommentVNode("", true)
|
|
51
|
+
]);
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
_sfc_main as CardGrid,
|
|
57
|
+
_sfc_main as default
|
|
58
|
+
};
|
package/dist/card.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { _ } from "./Card.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ } from "./Card.vue_vue_type_script_setup_true_lang-D0pFVflK.js";
|
|
2
2
|
import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
|
|
3
3
|
import { c as cn } from "./utils-Bz4m9VPB.js";
|
|
4
|
-
import { _ as _2
|
|
4
|
+
import { _ as _2 } from "./CardContent.vue_vue_type_script_setup_true_lang-dBzO0q1t.js";
|
|
5
|
+
import { _ as _3 } from "./CardText.vue_vue_type_script_setup_true_lang-DbDhSd3h.js";
|
|
6
|
+
import { _ as _4 } from "./CardFooter.vue_vue_type_script_setup_true_lang-B5EqgrgN.js";
|
|
5
7
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
6
8
|
__name: "CardAction",
|
|
7
9
|
props: {
|
|
@@ -29,7 +31,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
29
31
|
return (_ctx, _cache) => {
|
|
30
32
|
return openBlock(), createElementBlock("p", {
|
|
31
33
|
"data-slot": "card-description",
|
|
32
|
-
class: normalizeClass(unref(cn)("text-muted-foreground text-sm", props.class))
|
|
34
|
+
class: normalizeClass(unref(cn)("text-muted-foreground text-xs sm:text-sm", props.class))
|
|
33
35
|
}, [
|
|
34
36
|
renderSlot(_ctx.$slots, "default")
|
|
35
37
|
], 2);
|
|
@@ -46,7 +48,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
46
48
|
return (_ctx, _cache) => {
|
|
47
49
|
return openBlock(), createElementBlock("div", {
|
|
48
50
|
"data-slot": "card-header",
|
|
49
|
-
class: normalizeClass(unref(cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", props.class))
|
|
51
|
+
class: normalizeClass(unref(cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-3 sm:gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", props.class))
|
|
50
52
|
}, [
|
|
51
53
|
renderSlot(_ctx.$slots, "default")
|
|
52
54
|
], 2);
|
|
@@ -63,7 +65,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
63
65
|
return (_ctx, _cache) => {
|
|
64
66
|
return openBlock(), createElementBlock("h3", {
|
|
65
67
|
"data-slot": "card-title",
|
|
66
|
-
class: normalizeClass(unref(cn)("leading-none font-semibold", props.class))
|
|
68
|
+
class: normalizeClass(unref(cn)("leading-none font-semibold text-sm sm:text-base", props.class))
|
|
67
69
|
}, [
|
|
68
70
|
renderSlot(_ctx.$slots, "default")
|
|
69
71
|
], 2);
|
|
@@ -75,7 +77,8 @@ export {
|
|
|
75
77
|
_sfc_main$3 as CardAction,
|
|
76
78
|
_2 as CardContent,
|
|
77
79
|
_sfc_main$2 as CardDescription,
|
|
78
|
-
|
|
80
|
+
_4 as CardFooter,
|
|
79
81
|
_sfc_main$1 as CardHeader,
|
|
82
|
+
_3 as CardText,
|
|
80
83
|
_sfc_main as CardTitle
|
|
81
84
|
};
|
package/dist/chip.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, toDisplayString, createVNode } from "vue";
|
|
2
|
+
import { d as dp } from "./index.min-CZ9FIOXr.js";
|
|
3
|
+
import { H as HugeiconsIcon } from "./HugeiconsIcon.vue-By2RXWWz.js";
|
|
4
|
+
import { g as getSurfaceToneClasses } from "./color-tokens-D9BviGPK.js";
|
|
5
|
+
import { c as cn } from "./utils-Bz4m9VPB.js";
|
|
6
|
+
const _hoisted_1 = { class: "leading-none" };
|
|
7
|
+
const _hoisted_2 = ["aria-label"];
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
|
+
__name: "Chip",
|
|
10
|
+
props: {
|
|
11
|
+
text: {},
|
|
12
|
+
color: { default: "gray" },
|
|
13
|
+
removeLabel: { default: "Remove" },
|
|
14
|
+
class: {}
|
|
15
|
+
},
|
|
16
|
+
emits: ["remove"],
|
|
17
|
+
setup(__props, { emit: __emit }) {
|
|
18
|
+
const props = __props;
|
|
19
|
+
const emits = __emit;
|
|
20
|
+
const handleRemove = () => {
|
|
21
|
+
emits("remove");
|
|
22
|
+
};
|
|
23
|
+
return (_ctx, _cache) => {
|
|
24
|
+
return openBlock(), createElementBlock("div", {
|
|
25
|
+
"data-slot": "chip",
|
|
26
|
+
class: normalizeClass(unref(cn)("inline-flex items-center gap-2 rounded border px-3 py-2 text-sm font-semibold transition-colors duration-300 ease-in-out", unref(getSurfaceToneClasses)(props.color), props.class))
|
|
27
|
+
}, [
|
|
28
|
+
createElementVNode("span", _hoisted_1, toDisplayString(props.text), 1),
|
|
29
|
+
createElementVNode("button", {
|
|
30
|
+
type: "button",
|
|
31
|
+
"aria-label": props.removeLabel,
|
|
32
|
+
class: "inline-flex size-4 items-center justify-center rounded-sm opacity-70 transition-all duration-200 ease-in-out hover:bg-black/5 hover:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-current/20 dark:hover:bg-white/10",
|
|
33
|
+
onClick: handleRemove
|
|
34
|
+
}, [
|
|
35
|
+
createVNode(unref(HugeiconsIcon), {
|
|
36
|
+
icon: unref(dp),
|
|
37
|
+
class: "size-3"
|
|
38
|
+
}, null, 8, ["icon"])
|
|
39
|
+
], 8, _hoisted_2)
|
|
40
|
+
], 2);
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
export {
|
|
45
|
+
_sfc_main as Chip,
|
|
46
|
+
_sfc_main as default
|
|
47
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const surfaceToneClasses = {
|
|
2
|
+
gray: "border border-[var(--border-light)] bg-gray-50 text-[var(--text-primary-light)] dark:!border-[var(--border-dark)] dark:!bg-[var(--bg-card-dark)] dark:!text-[var(--text-primary-dark)]",
|
|
3
|
+
green: "border border-green-200 bg-green-50 text-green-700 dark:!border-green-800/50 dark:!bg-green-900/10 dark:!text-green-400",
|
|
4
|
+
red: "border border-red-200 bg-red-50 text-red-700 dark:!border-red-800/50 dark:!bg-red-900/10 dark:!text-red-400",
|
|
5
|
+
blue: "border border-blue-200 bg-blue-50 text-blue-700 dark:!border-blue-800/50 dark:!bg-blue-900/10 dark:!text-blue-400",
|
|
6
|
+
yellow: "border border-yellow-200 bg-yellow-50 text-yellow-700 dark:!border-yellow-800/50 dark:!bg-yellow-900/10 dark:!text-yellow-400"
|
|
7
|
+
};
|
|
8
|
+
const getSurfaceToneClasses = (color) => {
|
|
9
|
+
return surfaceToneClasses[color];
|
|
10
|
+
};
|
|
11
|
+
const interactiveSurfaceToneClasses = {
|
|
12
|
+
gray: `${surfaceToneClasses.gray} hover:bg-gray-100 dark:hover:!bg-[var(--bg-selected-dark)]`,
|
|
13
|
+
green: `${surfaceToneClasses.green} hover:bg-green-100 dark:hover:!bg-green-900/20`,
|
|
14
|
+
red: `${surfaceToneClasses.red} hover:bg-red-100 dark:hover:!bg-red-900/20`,
|
|
15
|
+
blue: `${surfaceToneClasses.blue} hover:bg-blue-100 dark:hover:!bg-blue-900/20`,
|
|
16
|
+
yellow: `${surfaceToneClasses.yellow} hover:bg-yellow-100 dark:hover:!bg-yellow-900/20`
|
|
17
|
+
};
|
|
18
|
+
const getInteractiveSurfaceToneClasses = (color) => {
|
|
19
|
+
return interactiveSurfaceToneClasses[color];
|
|
20
|
+
};
|
|
21
|
+
const buttonVariantClasses = {
|
|
22
|
+
// Custom button variants
|
|
23
|
+
primary: "bg-(--button-primary-light) text-(--button-primary-foreground-light) hover:bg-(--button-primary-hover-light) dark:!bg-(--button-primary-dark) dark:!text-(--button-primary-foreground-dark) dark:hover:!bg-(--button-primary-hover-dark)",
|
|
24
|
+
secondary: "border border-(--border-light) bg-(--button-secondary-light) text-(--text-primary-light) hover:border-(--border-hover-light) hover:bg-(--bg-selected-light) dark:!border-(--border-dark) dark:!bg-(--button-secondary-dark) dark:!text-(--text-primary-dark) dark:hover:!border-(--border-hover-dark) dark:hover:!bg-(--bg-selected-dark)",
|
|
25
|
+
ghost: "text-(--text-secondary-light) hover:bg-(--bg-selected-light) hover:text-(--text-primary-light) dark:!text-(--text-secondary-dark) dark:hover:!bg-(--bg-selected-dark) dark:hover:!text-(--text-primary-dark)",
|
|
26
|
+
link: "text-primary underline-offset-4 hover:underline",
|
|
27
|
+
// Tone-based button variants
|
|
28
|
+
gray: getInteractiveSurfaceToneClasses("gray"),
|
|
29
|
+
green: getInteractiveSurfaceToneClasses("green"),
|
|
30
|
+
red: getInteractiveSurfaceToneClasses("red"),
|
|
31
|
+
blue: getInteractiveSurfaceToneClasses("blue"),
|
|
32
|
+
yellow: getInteractiveSurfaceToneClasses("yellow")
|
|
33
|
+
};
|
|
34
|
+
const getButtonVariantClasses = (variant) => {
|
|
35
|
+
return buttonVariantClasses[variant];
|
|
36
|
+
};
|
|
37
|
+
export {
|
|
38
|
+
getButtonVariantClasses as a,
|
|
39
|
+
getSurfaceToneClasses as g
|
|
40
|
+
};
|
package/dist/command.js
CHANGED
|
@@ -1,20 +1,24 @@
|
|
|
1
|
-
import { c as createContext
|
|
1
|
+
import { c as createContext } from "./createContext-BabAT1K8.js";
|
|
2
2
|
import { computed, unref, defineComponent, toRefs, ref, watch, nextTick, openBlock, createBlock, withCtx, renderSlot, createCommentVNode, createVNode, withKeys, withModifiers, watchSyncEffect, onMounted, onUnmounted, mergeProps, withMemo, reactive, normalizeProps, guardReactiveProps, createTextVNode, toDisplayString, createElementVNode, createElementBlock, normalizeClass } from "vue";
|
|
3
|
-
import {
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
3
|
+
import { u as useForwardPropsEmits, a as useForwardProps } from "./useForwardPropsEmits-GlUGKcIz.js";
|
|
4
|
+
import { i as isEqual, u as useTypeahead } from "./useTypeahead-4RK0Emcv.js";
|
|
5
|
+
import { u as useDirection } from "./useDirection-B2bMgzzV.js";
|
|
6
|
+
import { u as useFormControl } from "./useFormControl-DZ4LnB9F.js";
|
|
6
7
|
import { u as useKbd } from "./useKbd-JjFOu4f7.js";
|
|
7
8
|
import { P as Primitive } from "./Primitive-D3IcFg81.js";
|
|
8
|
-
import { u as usePrimitiveElement } from "./usePrimitiveElement-
|
|
9
|
-
import { u as useCollection } from "./Collection-
|
|
10
|
-
import { V as VisuallyHiddenInput_default } from "./VisuallyHiddenInput-
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
9
|
+
import { u as usePrimitiveElement } from "./usePrimitiveElement-BCpwlakH.js";
|
|
10
|
+
import { u as useCollection } from "./Collection-4P3HQ4uU.js";
|
|
11
|
+
import { V as VisuallyHiddenInput_default } from "./VisuallyHiddenInput-D5eipDQU.js";
|
|
12
|
+
import { g as getFocusIntent } from "./utils-hdwtyAF3.js";
|
|
13
|
+
import { a as useVModel, f as useCurrentElement } from "./index-Dw56kNV0.js";
|
|
14
|
+
import { o as createEventHook, g as refAutoReset, r as reactiveOmit } from "./index-DDJjWaIl.js";
|
|
13
15
|
import { c as cn } from "./utils-Bz4m9VPB.js";
|
|
14
|
-
import { _ as _sfc_main$9, a as _sfc_main$a, c as _sfc_main$b, e as _sfc_main$c, b as _sfc_main$d } from "./DialogTitle.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { u as useId
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
16
|
+
import { _ as _sfc_main$9, a as _sfc_main$a, c as _sfc_main$b, e as _sfc_main$c, b as _sfc_main$d } from "./DialogTitle.vue_vue_type_script_setup_true_lang-CycrzAMT.js";
|
|
17
|
+
import { u as useId } from "./useId-CF6wz41D.js";
|
|
18
|
+
import { p as pkr } from "./index.min-CZ9FIOXr.js";
|
|
19
|
+
import { H as HugeiconsIcon } from "./HugeiconsIcon.vue-By2RXWWz.js";
|
|
20
|
+
import { h as handleAndDispatchCustomEvent } from "./Teleport-DTOwRCqx.js";
|
|
21
|
+
import { u as useForwardExpose } from "./useForwardExpose-BcX3VRdS.js";
|
|
18
22
|
import { S as Separator_default } from "./Separator-CFm_M4pb.js";
|
|
19
23
|
function findValuesBetween(array, start, end) {
|
|
20
24
|
const startIndex = array.findIndex((i) => isEqual(i, start));
|
|
@@ -71,26 +75,6 @@ function compare(value, currentValue, comparator) {
|
|
|
71
75
|
if (typeof comparator === "string") return (value == null ? void 0 : value[comparator]) === (currentValue == null ? void 0 : currentValue[comparator]);
|
|
72
76
|
return isEqual(value, currentValue);
|
|
73
77
|
}
|
|
74
|
-
const MAP_KEY_TO_FOCUS_INTENT = {
|
|
75
|
-
ArrowLeft: "prev",
|
|
76
|
-
ArrowUp: "prev",
|
|
77
|
-
ArrowRight: "next",
|
|
78
|
-
ArrowDown: "next",
|
|
79
|
-
PageUp: "first",
|
|
80
|
-
Home: "first",
|
|
81
|
-
PageDown: "last",
|
|
82
|
-
End: "last"
|
|
83
|
-
};
|
|
84
|
-
function getDirectionAwareKey(key, dir) {
|
|
85
|
-
if (dir !== "rtl") return key;
|
|
86
|
-
return key === "ArrowLeft" ? "ArrowRight" : key === "ArrowRight" ? "ArrowLeft" : key;
|
|
87
|
-
}
|
|
88
|
-
function getFocusIntent(event, orientation, dir) {
|
|
89
|
-
const key = getDirectionAwareKey(event.key, dir);
|
|
90
|
-
if (orientation === "vertical" && ["ArrowLeft", "ArrowRight"].includes(key)) return void 0;
|
|
91
|
-
if (orientation === "horizontal" && ["ArrowUp", "ArrowDown"].includes(key)) return void 0;
|
|
92
|
-
return MAP_KEY_TO_FOCUS_INTENT[key];
|
|
93
|
-
}
|
|
94
78
|
const [injectListboxRootContext, provideListboxRootContext] = createContext("ListboxRoot");
|
|
95
79
|
var ListboxRoot_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
96
80
|
__name: "ListboxRoot",
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
card?(_: {
|
|
5
|
+
item: unknown;
|
|
6
|
+
key: any;
|
|
7
|
+
}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
14
|
+
items: {
|
|
15
|
+
type: ArrayConstructor;
|
|
16
|
+
default: () => never[];
|
|
17
|
+
};
|
|
18
|
+
busy: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
loadMoreBusy: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
hasMore: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
emptyMessage: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
emptyIcon: {
|
|
35
|
+
type: ObjectConstructor;
|
|
36
|
+
default: () => [string, {
|
|
37
|
+
[key: string]: string | number;
|
|
38
|
+
}][] | readonly (readonly [string, {
|
|
39
|
+
readonly [key: string]: string | number;
|
|
40
|
+
}])[];
|
|
41
|
+
};
|
|
42
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
43
|
+
"load-more": (...args: any[]) => void;
|
|
44
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
45
|
+
items: {
|
|
46
|
+
type: ArrayConstructor;
|
|
47
|
+
default: () => never[];
|
|
48
|
+
};
|
|
49
|
+
busy: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
loadMoreBusy: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
hasMore: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
emptyMessage: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
65
|
+
emptyIcon: {
|
|
66
|
+
type: ObjectConstructor;
|
|
67
|
+
default: () => [string, {
|
|
68
|
+
[key: string]: string | number;
|
|
69
|
+
}][] | readonly (readonly [string, {
|
|
70
|
+
readonly [key: string]: string | number;
|
|
71
|
+
}])[];
|
|
72
|
+
};
|
|
73
|
+
}>> & Readonly<{
|
|
74
|
+
"onLoad-more"?: ((...args: any[]) => any) | undefined;
|
|
75
|
+
}>, {
|
|
76
|
+
busy: boolean;
|
|
77
|
+
items: unknown[];
|
|
78
|
+
loadMoreBusy: boolean;
|
|
79
|
+
hasMore: boolean;
|
|
80
|
+
emptyIcon: Record<string, any>;
|
|
81
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
82
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
83
|
+
export default _default;
|
|
84
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
85
|
+
new (): {
|
|
86
|
+
$slots: S;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { ToneColor } from '../../lib/color-tokens';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
text: string;
|
|
5
|
+
color?: ToneColor;
|
|
6
|
+
removeLabel?: string;
|
|
7
|
+
class?: HTMLAttributes["class"];
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
remove: () => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onRemove?: (() => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
color: ToneColor;
|
|
15
|
+
removeLabel: string;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
+
export default _default;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type DialogButtonVariant = "
|
|
1
|
+
import { ButtonVariants } from '../ui/button';
|
|
2
|
+
export type DialogButtonVariant = NonNullable<ButtonVariants["variant"]>;
|
|
3
|
+
export type HugeiconsIconDefinition = readonly (readonly [string, {
|
|
4
|
+
readonly [key: string]: string | number;
|
|
5
|
+
}])[];
|
|
3
6
|
export interface ShowConfirmDialogOptions {
|
|
4
7
|
title?: string;
|
|
5
8
|
message: string;
|
|
@@ -7,18 +10,18 @@ export interface ShowConfirmDialogOptions {
|
|
|
7
10
|
cancelText?: string;
|
|
8
11
|
confirmButtonType?: DialogButtonVariant;
|
|
9
12
|
cancelButtonType?: DialogButtonVariant;
|
|
10
|
-
icon?:
|
|
11
|
-
confirmButtonIcon?:
|
|
12
|
-
cancelButtonIcon?:
|
|
13
|
+
icon?: HugeiconsIconDefinition | null;
|
|
14
|
+
confirmButtonIcon?: HugeiconsIconDefinition | null;
|
|
15
|
+
cancelButtonIcon?: HugeiconsIconDefinition | null;
|
|
13
16
|
onConfirm?: (() => void | Promise<void>) | null;
|
|
14
17
|
onCancel?: (() => void | Promise<void>) | null;
|
|
15
18
|
}
|
|
16
19
|
interface ConfirmDialogRequest {
|
|
17
20
|
id: number;
|
|
18
21
|
options: Required<Omit<ShowConfirmDialogOptions, "icon" | "confirmButtonIcon" | "cancelButtonIcon" | "onConfirm" | "onCancel">> & {
|
|
19
|
-
icon:
|
|
20
|
-
confirmButtonIcon:
|
|
21
|
-
cancelButtonIcon:
|
|
22
|
+
icon: HugeiconsIconDefinition | null;
|
|
23
|
+
confirmButtonIcon: HugeiconsIconDefinition | null;
|
|
24
|
+
cancelButtonIcon: HugeiconsIconDefinition | null;
|
|
22
25
|
onConfirm: (() => void | Promise<void>) | null;
|
|
23
26
|
onCancel: (() => void | Promise<void>) | null;
|
|
24
27
|
};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { Component, HTMLAttributes } from 'vue';
|
|
2
|
+
type HugeiconsIconDefinition = readonly (readonly [string, {
|
|
3
|
+
readonly [key: string]: string | number;
|
|
4
|
+
}])[];
|
|
2
5
|
interface DashboardSidebarItem {
|
|
3
6
|
id: string;
|
|
4
7
|
label: string;
|
|
5
8
|
description?: string;
|
|
6
|
-
icon?:
|
|
9
|
+
icon?: HugeiconsIconDefinition | null;
|
|
7
10
|
href?: string;
|
|
8
11
|
to?: unknown;
|
|
9
12
|
active?: boolean;
|
|
@@ -15,6 +18,9 @@ interface DashboardSidebarSection {
|
|
|
15
18
|
items: DashboardSidebarItem[];
|
|
16
19
|
}
|
|
17
20
|
interface DashboardShellProps {
|
|
21
|
+
appName?: string;
|
|
22
|
+
appLogo?: string;
|
|
23
|
+
appLinkTo?: string;
|
|
18
24
|
title?: string;
|
|
19
25
|
description?: string;
|
|
20
26
|
collapsible?: "offcanvas" | "icon" | "none";
|
|
@@ -33,6 +39,7 @@ declare function __VLS_template(): {
|
|
|
33
39
|
'topbar-leading'?(_: {}): any;
|
|
34
40
|
'topbar-trailing'?(_: {}): any;
|
|
35
41
|
default?(_: {}): any;
|
|
42
|
+
footer?(_: {}): any;
|
|
36
43
|
};
|
|
37
44
|
refs: {};
|
|
38
45
|
rootEl: any;
|
|
@@ -40,8 +47,11 @@ declare function __VLS_template(): {
|
|
|
40
47
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
41
48
|
declare const __VLS_component: import('vue').DefineComponent<DashboardShellProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DashboardShellProps> & Readonly<{}>, {
|
|
42
49
|
title: string;
|
|
43
|
-
collapsible: "offcanvas" | "icon" | "none";
|
|
44
50
|
description: string;
|
|
51
|
+
collapsible: "offcanvas" | "icon" | "none";
|
|
52
|
+
appName: string;
|
|
53
|
+
appLogo: string;
|
|
54
|
+
appLinkTo: string;
|
|
45
55
|
sidebarSections: DashboardSidebarSection[];
|
|
46
56
|
sidebarLinkComponent: Component | string;
|
|
47
57
|
showBackground: boolean;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes["class"];
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLTableElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
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, {}, HTMLTableElement>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes["class"];
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLTableRowElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
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, {}, HTMLTableRowElement>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes["class"];
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLTableCellElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
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, {}, HTMLTableCellElement>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes["class"];
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
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, {}, HTMLDivElement>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes["class"];
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLTableCellElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
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, {}, HTMLTableCellElement>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as DataList } from './DataList.vue';
|
|
2
|
+
export { default as DataListItem } from './DataListItem.vue';
|
|
3
|
+
export { default as DataListLabel } from './DataListLabel.vue';
|
|
4
|
+
export { default as DataListText } from './DataListText.vue';
|
|
5
|
+
export { default as DataListValue } from './DataListValue.vue';
|