@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
|
@@ -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: HTMLTableCaptionElement;
|
|
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, {}, HTMLTableCaptionElement>;
|
|
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,24 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes["class"];
|
|
4
|
+
colspan?: number;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLTableRowElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
colspan: number;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableRowElement>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -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: HTMLTableSectionElement;
|
|
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, {}, HTMLTableSectionElement>;
|
|
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: HTMLTableSectionElement;
|
|
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, {}, HTMLTableSectionElement>;
|
|
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,9 @@
|
|
|
1
|
+
export { default as Table } from './Table.vue';
|
|
2
|
+
export { default as TableBody } from './TableBody.vue';
|
|
3
|
+
export { default as TableCaption } from './TableCaption.vue';
|
|
4
|
+
export { default as TableCell } from './TableCell.vue';
|
|
5
|
+
export { default as TableEmpty } from './TableEmpty.vue';
|
|
6
|
+
export { default as TableFooter } from './TableFooter.vue';
|
|
7
|
+
export { default as TableHead } from './TableHead.vue';
|
|
8
|
+
export { default as TableHeader } from './TableHeader.vue';
|
|
9
|
+
export { default as TableRow } from './TableRow.vue';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { TabsRootProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = TabsRootProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {
|
|
10
|
+
modelValue: string | number | undefined;
|
|
11
|
+
}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: any;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
"update:modelValue": (payload: string | number) => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
"onUpdate:modelValue"?: ((payload: string | number) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { TabsContentProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = TabsContentProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
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>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { TabsListProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = TabsListProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
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>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { TabsTriggerProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = TabsTriggerProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
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>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes["class"];
|
|
4
|
+
defaultValue?: string | number;
|
|
5
|
+
modelValue?: string | number;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
+
"update:modelValue": (payload: string | number) => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
"onUpdate:modelValue"?: ((payload: string | number) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTextAreaElement>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Textarea } from './Textarea.vue';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
defaultValue?: string;
|
|
4
|
+
modelValue?: string;
|
|
5
|
+
step?: string | number;
|
|
6
|
+
min?: string;
|
|
7
|
+
max?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
class?: HTMLAttributes['class'];
|
|
10
|
+
inputClass?: HTMLAttributes['class'];
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
13
|
+
"update:modelValue": (payload: string) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((payload: string) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
defaultValue: string;
|
|
19
|
+
step: string | number;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLInputElement>;
|
|
21
|
+
export default _default;
|
package/dist/confirm-dialog.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { reactive, render, h, markRaw, defineComponent, computed, openBlock, createBlock, unref, withCtx, createElementVNode,
|
|
2
|
-
import { H as HugeiconsIcon
|
|
3
|
-
import {
|
|
1
|
+
import { reactive, render, h, markRaw, defineComponent, computed, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, createTextVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
|
+
import { H as HugeiconsIcon } from "./HugeiconsIcon.vue-By2RXWWz.js";
|
|
3
|
+
import { A as AE } from "./index.min-CZ9FIOXr.js";
|
|
4
|
+
import { _ as _sfc_main$1, a as _sfc_main$2, b as _sfc_main$3, c as _sfc_main$4, d as _sfc_main$5, e as _sfc_main$6 } from "./AlertDialogTitle.vue_vue_type_script_setup_true_lang-_UW48pv7.js";
|
|
4
5
|
import { Button as _sfc_main$7 } from "./button.js";
|
|
5
6
|
const confirmDialogQueue = [];
|
|
6
7
|
let nextConfirmDialogId = 0;
|
|
@@ -107,8 +108,8 @@ const showConfirmDialog = (options) => {
|
|
|
107
108
|
message: options.message,
|
|
108
109
|
confirmText: options.confirmText ?? "Confirm",
|
|
109
110
|
cancelText: options.cancelText ?? "Cancel",
|
|
110
|
-
confirmButtonType: options.confirmButtonType ?? "
|
|
111
|
-
cancelButtonType: options.cancelButtonType ?? "
|
|
111
|
+
confirmButtonType: options.confirmButtonType ?? "primary",
|
|
112
|
+
cancelButtonType: options.cancelButtonType ?? "secondary",
|
|
112
113
|
icon: markIcon(options.icon),
|
|
113
114
|
confirmButtonIcon: markIcon(options.confirmButtonIcon),
|
|
114
115
|
cancelButtonIcon: markIcon(options.cancelButtonIcon),
|
|
@@ -142,11 +143,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
142
143
|
createElementVNode("div", _hoisted_1, [
|
|
143
144
|
createElementVNode("div", _hoisted_2, [
|
|
144
145
|
createElementVNode("div", _hoisted_3, [
|
|
145
|
-
currentDialog.value.options.icon ? (openBlock(), createBlock(
|
|
146
|
+
currentDialog.value.options.icon ? (openBlock(), createBlock(unref(HugeiconsIcon), {
|
|
146
147
|
key: 0,
|
|
148
|
+
icon: currentDialog.value.options.icon,
|
|
147
149
|
"stroke-width": 1.8,
|
|
148
150
|
class: "size-6 text-[var(--button-primary-light)] dark:text-[var(--button-primary-dark)]"
|
|
149
|
-
})) : (openBlock(), createBlock(unref(HugeiconsIcon), {
|
|
151
|
+
}, null, 8, ["icon"])) : (openBlock(), createBlock(unref(HugeiconsIcon), {
|
|
150
152
|
key: 1,
|
|
151
153
|
icon: unref(AE),
|
|
152
154
|
"stroke-width": 1.8,
|
|
@@ -180,10 +182,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
180
182
|
onClick: unref(cancelActiveConfirmDialog)
|
|
181
183
|
}, {
|
|
182
184
|
default: withCtx(() => [
|
|
183
|
-
currentDialog.value.options.cancelButtonIcon ? (openBlock(), createBlock(
|
|
185
|
+
currentDialog.value.options.cancelButtonIcon ? (openBlock(), createBlock(unref(HugeiconsIcon), {
|
|
184
186
|
key: 0,
|
|
187
|
+
icon: currentDialog.value.options.cancelButtonIcon,
|
|
185
188
|
class: "size-4"
|
|
186
|
-
})) : createCommentVNode("", true),
|
|
189
|
+
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
187
190
|
createTextVNode(" " + toDisplayString(currentDialog.value.options.cancelText), 1)
|
|
188
191
|
]),
|
|
189
192
|
_: 1
|
|
@@ -194,10 +197,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
194
197
|
onClick: unref(confirmActiveDialog)
|
|
195
198
|
}, {
|
|
196
199
|
default: withCtx(() => [
|
|
197
|
-
currentDialog.value.options.confirmButtonIcon ? (openBlock(), createBlock(
|
|
200
|
+
currentDialog.value.options.confirmButtonIcon ? (openBlock(), createBlock(unref(HugeiconsIcon), {
|
|
198
201
|
key: 0,
|
|
202
|
+
icon: currentDialog.value.options.confirmButtonIcon,
|
|
199
203
|
class: "size-4"
|
|
200
|
-
})) : createCommentVNode("", true),
|
|
204
|
+
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
201
205
|
createTextVNode(" " + toDisplayString(currentDialog.value.options.confirmText), 1)
|
|
202
206
|
]),
|
|
203
207
|
_: 1
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { inject, provide } from "vue";
|
|
2
|
+
function createContext(providerComponentName, contextName) {
|
|
3
|
+
const symbolDescription = typeof providerComponentName === "string" && !contextName ? `${providerComponentName}Context` : contextName;
|
|
4
|
+
const injectionKey = Symbol(symbolDescription);
|
|
5
|
+
const injectContext = (fallback) => {
|
|
6
|
+
const context = inject(injectionKey, fallback);
|
|
7
|
+
if (context) return context;
|
|
8
|
+
if (context === null) return context;
|
|
9
|
+
throw new Error(`Injection \`${injectionKey.toString()}\` not found. Component must be used within ${Array.isArray(providerComponentName) ? `one of the following components: ${providerComponentName.join(", ")}` : `\`${providerComponentName}\``}`);
|
|
10
|
+
};
|
|
11
|
+
const provideContext = (contextValue) => {
|
|
12
|
+
provide(injectionKey, contextValue);
|
|
13
|
+
return contextValue;
|
|
14
|
+
};
|
|
15
|
+
return [injectContext, provideContext];
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
createContext as c
|
|
19
|
+
};
|
package/dist/dashboard-shell.js
CHANGED
|
@@ -1,25 +1,38 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, withCtx, createVNode, renderSlot,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, withCtx, createVNode, renderSlot, createElementVNode, createElementBlock, createCommentVNode, toDisplayString, Fragment, renderList, createTextVNode, normalizeClass, resolveDynamicComponent, mergeProps } from "vue";
|
|
2
|
+
import { H as HugeiconsIcon } from "./HugeiconsIcon.vue-By2RXWWz.js";
|
|
3
|
+
import { B as BackgroundGrid } from "./BackgroundGrid-BJDDcLzF.js";
|
|
4
|
+
import { _ as _sfc_main$e } from "./Separator.vue_vue_type_script_setup_true_lang-D9BozdWD.js";
|
|
5
|
+
import { SidebarProvider as _sfc_main$1, Sidebar as _sfc_main$2, SidebarHeader as _sfc_main$3, SidebarMenu as _sfc_main$4, SidebarMenuItem as _sfc_main$5, SidebarMenuButton as _sfc_main$6, SidebarContent as _sfc_main$7, SidebarGroup as _sfc_main$8, SidebarGroupLabel as _sfc_main$9, SidebarGroupContent as _sfc_main$a, SidebarFooter as _sfc_main$b, SidebarInset as _sfc_main$c, SidebarTrigger as _sfc_main$d } from "./sidebar.js";
|
|
5
6
|
import { c as cn } from "./utils-Bz4m9VPB.js";
|
|
6
|
-
const _hoisted_1 =
|
|
7
|
-
const _hoisted_2 = { class: "
|
|
8
|
-
const _hoisted_3 =
|
|
7
|
+
const _hoisted_1 = ["href"];
|
|
8
|
+
const _hoisted_2 = { class: "inline-flex items-center gap-2" };
|
|
9
|
+
const _hoisted_3 = ["src", "alt"];
|
|
10
|
+
const _hoisted_4 = {
|
|
11
|
+
key: 1,
|
|
12
|
+
class: "text-xl font-bold tracking-tight text-foreground"
|
|
13
|
+
};
|
|
14
|
+
const _hoisted_5 = { class: "truncate font-semibold" };
|
|
15
|
+
const _hoisted_6 = {
|
|
9
16
|
key: 0,
|
|
10
17
|
class: "mt-0.5 text-[11px] leading-4 text-sidebar-foreground/65"
|
|
11
18
|
};
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
19
|
+
const _hoisted_7 = { class: "min-w-0 flex-1" };
|
|
20
|
+
const _hoisted_8 = { class: "truncate text-sm font-medium" };
|
|
21
|
+
const _hoisted_9 = {
|
|
15
22
|
key: 0,
|
|
16
23
|
class: "truncate text-xs text-muted-foreground"
|
|
17
24
|
};
|
|
18
|
-
const
|
|
19
|
-
const
|
|
25
|
+
const _hoisted_10 = { class: "relative z-10 min-w-0 flex-1" };
|
|
26
|
+
const _hoisted_11 = {
|
|
27
|
+
key: 1,
|
|
28
|
+
class: "relative z-10 mt-auto"
|
|
29
|
+
};
|
|
20
30
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
21
31
|
__name: "DashboardShell",
|
|
22
32
|
props: {
|
|
33
|
+
appName: { default: "" },
|
|
34
|
+
appLogo: { default: "" },
|
|
35
|
+
appLinkTo: { default: "/" },
|
|
23
36
|
title: { default: "" },
|
|
24
37
|
description: { default: "" },
|
|
25
38
|
collapsible: { default: "offcanvas" },
|
|
@@ -52,60 +65,96 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
52
65
|
collapsible: props.collapsible
|
|
53
66
|
}, {
|
|
54
67
|
default: withCtx(() => [
|
|
55
|
-
_ctx.$slots["sidebar-header"] ? (openBlock(), createBlock(unref(_sfc_main$3), {
|
|
68
|
+
props.appName || _ctx.$slots["sidebar-header"] ? (openBlock(), createBlock(unref(_sfc_main$3), {
|
|
56
69
|
key: 0,
|
|
57
70
|
class: "h-16 justify-center border-b border-sidebar-border"
|
|
58
71
|
}, {
|
|
59
72
|
default: withCtx(() => [
|
|
60
|
-
renderSlot(_ctx.$slots, "sidebar-header")
|
|
73
|
+
renderSlot(_ctx.$slots, "sidebar-header", {}, () => [
|
|
74
|
+
createVNode(unref(_sfc_main$4), null, {
|
|
75
|
+
default: withCtx(() => [
|
|
76
|
+
createVNode(unref(_sfc_main$5), null, {
|
|
77
|
+
default: withCtx(() => [
|
|
78
|
+
createVNode(unref(_sfc_main$6), {
|
|
79
|
+
"as-child": "",
|
|
80
|
+
size: "lg"
|
|
81
|
+
}, {
|
|
82
|
+
default: withCtx(() => [
|
|
83
|
+
createElementVNode("a", {
|
|
84
|
+
href: props.appLinkTo,
|
|
85
|
+
class: "inline-flex items-center gap-2"
|
|
86
|
+
}, [
|
|
87
|
+
createElementVNode("div", _hoisted_2, [
|
|
88
|
+
props.appLogo ? (openBlock(), createElementBlock("img", {
|
|
89
|
+
key: 0,
|
|
90
|
+
src: props.appLogo,
|
|
91
|
+
alt: `${props.appName} logo`,
|
|
92
|
+
class: "size-8 shrink-0 object-contain"
|
|
93
|
+
}, null, 8, _hoisted_3)) : createCommentVNode("", true),
|
|
94
|
+
props.appName ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(props.appName), 1)) : createCommentVNode("", true)
|
|
95
|
+
])
|
|
96
|
+
], 8, _hoisted_1)
|
|
97
|
+
]),
|
|
98
|
+
_: 1
|
|
99
|
+
})
|
|
100
|
+
]),
|
|
101
|
+
_: 1
|
|
102
|
+
})
|
|
103
|
+
]),
|
|
104
|
+
_: 1
|
|
105
|
+
})
|
|
106
|
+
])
|
|
61
107
|
]),
|
|
62
108
|
_: 3
|
|
63
109
|
})) : createCommentVNode("", true),
|
|
64
|
-
props.sidebarSections.length ? (openBlock(), createBlock(unref(_sfc_main$
|
|
110
|
+
props.sidebarSections.length ? (openBlock(), createBlock(unref(_sfc_main$7), { key: 1 }, {
|
|
65
111
|
default: withCtx(() => [
|
|
66
112
|
(openBlock(true), createElementBlock(Fragment, null, renderList(props.sidebarSections, (section) => {
|
|
67
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
113
|
+
return openBlock(), createBlock(unref(_sfc_main$8), {
|
|
68
114
|
key: section.id
|
|
69
115
|
}, {
|
|
70
116
|
default: withCtx(() => [
|
|
71
|
-
section.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
117
|
+
section.label ? (openBlock(), createBlock(unref(_sfc_main$9), { key: 0 }, {
|
|
72
118
|
default: withCtx(() => [
|
|
73
119
|
createTextVNode(toDisplayString(section.label), 1)
|
|
74
120
|
]),
|
|
75
121
|
_: 2
|
|
76
122
|
}, 1024)) : createCommentVNode("", true),
|
|
77
|
-
createVNode(unref(_sfc_main$
|
|
123
|
+
createVNode(unref(_sfc_main$a), null, {
|
|
78
124
|
default: withCtx(() => [
|
|
79
|
-
createVNode(unref(_sfc_main$
|
|
125
|
+
createVNode(unref(_sfc_main$4), { class: "gap-3" }, {
|
|
80
126
|
default: withCtx(() => [
|
|
81
127
|
(openBlock(true), createElementBlock(Fragment, null, renderList(section.items, (item) => {
|
|
82
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
128
|
+
return openBlock(), createBlock(unref(_sfc_main$5), {
|
|
83
129
|
key: item.id
|
|
84
130
|
}, {
|
|
85
131
|
default: withCtx(() => [
|
|
86
|
-
createVNode(unref(_sfc_main$
|
|
132
|
+
createVNode(unref(_sfc_main$6), {
|
|
87
133
|
"as-child": "",
|
|
88
134
|
"is-active": item.active,
|
|
89
|
-
class: "group h-auto min-h-12
|
|
135
|
+
class: normalizeClass(unref(cn)("group h-auto min-h-12 rounded border border-[var(--border-light)] px-3 py-2.5 text-[var(--text-secondary-light)] transition-all duration-200 hover:border-[var(--border-hover-light)] hover:bg-[var(--bg-selected-light)] hover:text-[var(--text-primary-light)] data-[active=true]:border-[var(--border-hover-light)] data-[active=true]:bg-[var(--bg-selected-light)] data-[active=true]:text-[var(--text-primary-light)] dark:border-[var(--border-dark)] dark:text-[var(--text-secondary-dark)] dark:hover:border-[var(--border-hover-dark)] dark:hover:bg-[var(--bg-selected-dark)] dark:hover:text-[var(--text-primary-dark)] dark:data-[active=true]:border-[var(--border-hover-dark)] dark:data-[active=true]:bg-[var(--bg-selected-dark)] dark:data-[active=true]:text-[var(--text-primary-dark)] sm:px-4 sm:py-3", item.description ? "items-start" : "items-center"))
|
|
90
136
|
}, {
|
|
91
137
|
default: withCtx(() => [
|
|
92
138
|
(openBlock(), createBlock(resolveDynamicComponent(props.sidebarLinkComponent), mergeProps({ ref_for: true }, getSidebarItemLinkProps(item)), {
|
|
93
139
|
default: withCtx(() => [
|
|
94
|
-
item.icon ? (openBlock(), createBlock(
|
|
140
|
+
item.icon ? (openBlock(), createBlock(unref(HugeiconsIcon), {
|
|
95
141
|
key: 0,
|
|
142
|
+
icon: item.icon,
|
|
96
143
|
"stroke-width": 1.8,
|
|
97
|
-
class: "
|
|
98
|
-
})) : createCommentVNode("", true),
|
|
99
|
-
createElementVNode("div",
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
144
|
+
class: normalizeClass(unref(cn)("shrink-0 opacity-90 transition-opacity duration-200 group-hover:opacity-100", item.description ? "mt-0.5 size-5 sm:h-5 sm:w-5" : "size-5 self-center sm:h-6 sm:w-6"))
|
|
145
|
+
}, null, 8, ["icon", "class"])) : createCommentVNode("", true),
|
|
146
|
+
createElementVNode("div", {
|
|
147
|
+
class: normalizeClass(unref(cn)("min-w-0 flex-1 text-left leading-tight", item.description ? "grid" : "flex items-center"))
|
|
148
|
+
}, [
|
|
149
|
+
createElementVNode("span", _hoisted_5, toDisplayString(item.label), 1),
|
|
150
|
+
item.description ? (openBlock(), createElementBlock("span", _hoisted_6, toDisplayString(item.description), 1)) : createCommentVNode("", true)
|
|
151
|
+
], 2)
|
|
103
152
|
]),
|
|
104
153
|
_: 2
|
|
105
154
|
}, 1040))
|
|
106
155
|
]),
|
|
107
156
|
_: 2
|
|
108
|
-
}, 1032, ["is-active"])
|
|
157
|
+
}, 1032, ["is-active", "class"])
|
|
109
158
|
]),
|
|
110
159
|
_: 2
|
|
111
160
|
}, 1024);
|
|
@@ -149,21 +198,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
149
198
|
class: "mr-2 data-[orientation=vertical]:h-4"
|
|
150
199
|
}),
|
|
151
200
|
renderSlot(_ctx.$slots, "topbar-leading"),
|
|
152
|
-
createElementVNode("div",
|
|
153
|
-
createElementVNode("div",
|
|
154
|
-
props.description ? (openBlock(), createElementBlock("div",
|
|
201
|
+
createElementVNode("div", _hoisted_7, [
|
|
202
|
+
createElementVNode("div", _hoisted_8, toDisplayString(props.title), 1),
|
|
203
|
+
props.description ? (openBlock(), createElementBlock("div", _hoisted_9, toDisplayString(props.description), 1)) : createCommentVNode("", true)
|
|
155
204
|
]),
|
|
156
205
|
renderSlot(_ctx.$slots, "topbar-trailing")
|
|
157
206
|
], 2),
|
|
158
|
-
createElementVNode("main",
|
|
207
|
+
createElementVNode("main", _hoisted_10, [
|
|
159
208
|
createElementVNode("div", {
|
|
160
|
-
class: normalizeClass(unref(cn)("mx-auto flex w-full min-w-0 max-w-
|
|
209
|
+
class: normalizeClass(unref(cn)("mx-auto flex w-full min-w-0 max-w-7xl flex-col gap-6 px-3 py-4 sm:px-6 sm:py-6 lg:px-8 lg:py-8", props.contentContainerClass))
|
|
161
210
|
}, [
|
|
162
|
-
|
|
163
|
-
renderSlot(_ctx.$slots, "default")
|
|
164
|
-
])
|
|
211
|
+
renderSlot(_ctx.$slots, "default")
|
|
165
212
|
], 2)
|
|
166
|
-
])
|
|
213
|
+
]),
|
|
214
|
+
_ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_11, [
|
|
215
|
+
renderSlot(_ctx.$slots, "footer")
|
|
216
|
+
])) : createCommentVNode("", true)
|
|
167
217
|
]),
|
|
168
218
|
_: 3
|
|
169
219
|
}, 8, ["class"])
|