@brumaombra/ui-vintage 0.1.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/LICENSE +21 -0
- package/README.md +78 -0
- package/dist/AlertDialogTitle.vue_vue_type_script_setup_true_lang-CWCr2erD.js +360 -0
- package/dist/AlertDialogTrigger.vue_vue_type_script_setup_true_lang-vNwxOYhM.js +158 -0
- package/dist/BackgroundGrid-Cxvbtefm.js +13 -0
- package/dist/Busy-B65Nd9ec.js +62 -0
- package/dist/BusyIndicator-CnWzSMDb.js +4 -0
- package/dist/BusyIndicator.vue_vue_type_script_setup_true_lang-CYeXMI_V.js +66 -0
- package/dist/CalendarPrevButton.vue_vue_type_script_setup_true_lang-C-WnFnvj.js +3805 -0
- package/dist/Card.vue_vue_type_script_setup_true_lang-6ol3rxy1.js +27 -0
- package/dist/CardTitle.vue_vue_type_script_setup_true_lang-DVAd7AWF.js +112 -0
- package/dist/Collection-CmOoLBo7.js +76 -0
- package/dist/ConfigProvider-D2O0Jles.js +6 -0
- package/dist/ConfirmDialog-DEsvF0b_.js +4 -0
- package/dist/ConfirmDialog.vue_vue_type_script_setup_true_lang-BAd1l1zF.js +230 -0
- package/dist/DashboardShell.vue_vue_type_script_setup_true_lang-CT2SQBXv.js +171 -0
- package/dist/DatePicker.vue_vue_type_script_setup_true_lang-D8mev2ha.js +92 -0
- package/dist/DialogClose-BNlqG4G2.js +36 -0
- package/dist/DialogTitle-DXj0nkXn.js +522 -0
- package/dist/DialogTitle.vue_vue_type_script_setup_true_lang-Bw40D4AK.js +174 -0
- package/dist/DialogTrigger-CpyKnu11.js +52 -0
- package/dist/DialogTrigger.vue_vue_type_script_setup_true_lang-DLrFiCsw.js +141 -0
- package/dist/FocusScope-C3mcVwsf.js +454 -0
- package/dist/Input.vue_vue_type_script_setup_true_lang-U778IWa0.js +37 -0
- package/dist/Label.vue_vue_type_script_setup_true_lang-B_fwvfJ-.js +65 -0
- package/dist/MessageDialog-BrowppID.js +4 -0
- package/dist/MessageDialog.vue_vue_type_script_setup_true_lang-Ddih5Isd.js +242 -0
- package/dist/NativeSelectOption.vue_vue_type_script_setup_true_lang-DS87OTLT.js +73 -0
- package/dist/PopoverAnchor.vue_vue_type_script_setup_true_lang-CsfybvZp.js +61 -0
- package/dist/PopoverTrigger.vue_vue_type_script_setup_true_lang-KTcg6Jnl.js +798 -0
- package/dist/PopperContent-BiM0YLO3.js +2144 -0
- package/dist/Primitive-D3IcFg81.js +61 -0
- package/dist/SelectValue.vue_vue_type_script_setup_true_lang-DGAI4hw5.js +2124 -0
- package/dist/Separator-CFm_M4pb.js +87 -0
- package/dist/Separator.vue_vue_type_script_setup_true_lang-COrZ60NR.js +29 -0
- package/dist/SheetTitle.vue_vue_type_script_setup_true_lang-DLoXGMbx.js +175 -0
- package/dist/SheetTrigger.vue_vue_type_script_setup_true_lang-CE2XJNHy.js +62 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-BSbVyZz7.js +20 -0
- package/dist/Slider.vue_vue_type_script_setup_true_lang-D-cAN-4Q.js +802 -0
- package/dist/SliderFormComponent.vue_vue_type_script_setup_true_lang-KPzC_Lmr.js +59 -0
- package/dist/Switch.vue_vue_type_script_setup_true_lang-BWKCycMm.js +226 -0
- package/dist/SwitchFormComponent.vue_vue_type_script_setup_true_lang-XOBEs3pa.js +39 -0
- package/dist/Teleport-CuUn4UkG.js +493 -0
- package/dist/TooltipProvider.vue_vue_type_script_setup_true_lang-DwIfCQjY.js +28 -0
- package/dist/TooltipTrigger.vue_vue_type_script_setup_true_lang-BRyHTWgw.js +1117 -0
- package/dist/VisuallyHidden-udQT2Fmo.js +60 -0
- package/dist/VisuallyHiddenInput-DLAsRwUw.js +142 -0
- package/dist/_plugin-vue_export-helper-1tPrXgE0.js +10 -0
- package/dist/alert-dialog.d.ts +2 -0
- package/dist/alert-dialog.js +13 -0
- package/dist/alert.d.ts +2 -0
- package/dist/alert.js +76 -0
- package/dist/background-grid.d.ts +6 -0
- package/dist/background-grid.js +5 -0
- package/dist/busy-indicator.d.ts +2 -0
- package/dist/busy-indicator.js +6 -0
- package/dist/busy.d.ts +2 -0
- package/dist/busy.js +4 -0
- package/dist/button.d.ts +2 -0
- package/dist/button.js +63 -0
- package/dist/calendar.d.ts +2 -0
- package/dist/calendar.js +15 -0
- package/dist/card.d.ts +2 -0
- package/dist/card.js +11 -0
- package/dist/check-iejznCzf.js +11 -0
- package/dist/chevron-down-DP-oz-sL.js +13 -0
- package/dist/clamp-D5Ye0kJT.js +6 -0
- package/dist/command.d.ts +2 -0
- package/dist/command.js +1122 -0
- package/dist/components/background-grid/BackgroundGrid.vue.d.ts +2 -0
- package/dist/components/background-grid/index.d.ts +2 -0
- package/dist/components/busy-indicator/BusyIndicator.vue.d.ts +2 -0
- package/dist/components/busy-indicator/busy-indicator-state.d.ts +15 -0
- package/dist/components/busy-indicator/index.d.ts +3 -0
- package/dist/components/confirm-dialog/ConfirmDialog.vue.d.ts +2 -0
- package/dist/components/confirm-dialog/confirm-dialog-state.d.ts +37 -0
- package/dist/components/confirm-dialog/index.d.ts +3 -0
- package/dist/components/dashboard-shell/DashboardShell.vue.d.ts +54 -0
- package/dist/components/dashboard-shell/index.d.ts +2 -0
- package/dist/components/message-dialog/MessageDialog.vue.d.ts +2 -0
- package/dist/components/message-dialog/index.d.ts +3 -0
- package/dist/components/message-dialog/message-dialog-state.d.ts +28 -0
- package/dist/components/slider-form-component/SliderFormComponent.vue.d.ts +23 -0
- package/dist/components/slider-form-component/index.d.ts +2 -0
- package/dist/components/switch-form-component/SwitchFormComponent.vue.d.ts +12 -0
- package/dist/components/switch-form-component/index.d.ts +2 -0
- package/dist/components/ui/alert/Alert.vue.d.ts +23 -0
- package/dist/components/ui/alert/AlertDescription.vue.d.ts +21 -0
- package/dist/components/ui/alert/AlertTitle.vue.d.ts +21 -0
- package/dist/components/ui/alert/index.d.ts +8 -0
- package/dist/components/ui/alert-dialog/AlertDialog.vue.d.ts +25 -0
- package/dist/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +22 -0
- package/dist/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +22 -0
- package/dist/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +36 -0
- package/dist/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +22 -0
- package/dist/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +21 -0
- package/dist/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +21 -0
- package/dist/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +22 -0
- package/dist/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +18 -0
- package/dist/components/ui/alert-dialog/index.d.ts +9 -0
- package/dist/components/ui/busy/Busy.vue.d.ts +27 -0
- package/dist/components/ui/busy/index.d.ts +1 -0
- package/dist/components/ui/button/Button.vue.d.ts +27 -0
- package/dist/components/ui/button/index.d.ts +7 -0
- package/dist/components/ui/calendar/Calendar.vue.d.ts +44 -0
- package/dist/components/ui/calendar/CalendarCell.vue.d.ts +22 -0
- package/dist/components/ui/calendar/CalendarCellTrigger.vue.d.ts +24 -0
- package/dist/components/ui/calendar/CalendarGrid.vue.d.ts +22 -0
- package/dist/components/ui/calendar/CalendarGridBody.vue.d.ts +18 -0
- package/dist/components/ui/calendar/CalendarGridHead.vue.d.ts +22 -0
- package/dist/components/ui/calendar/CalendarGridRow.vue.d.ts +22 -0
- package/dist/components/ui/calendar/CalendarHeadCell.vue.d.ts +22 -0
- package/dist/components/ui/calendar/CalendarHeader.vue.d.ts +22 -0
- package/dist/components/ui/calendar/CalendarHeading.vue.d.ts +28 -0
- package/dist/components/ui/calendar/CalendarNextButton.vue.d.ts +22 -0
- package/dist/components/ui/calendar/CalendarPrevButton.vue.d.ts +22 -0
- package/dist/components/ui/calendar/index.d.ts +13 -0
- package/dist/components/ui/card/Card.vue.d.ts +21 -0
- package/dist/components/ui/card/CardAction.vue.d.ts +21 -0
- package/dist/components/ui/card/CardContent.vue.d.ts +21 -0
- package/dist/components/ui/card/CardDescription.vue.d.ts +21 -0
- package/dist/components/ui/card/CardFooter.vue.d.ts +21 -0
- package/dist/components/ui/card/CardHeader.vue.d.ts +21 -0
- package/dist/components/ui/card/CardTitle.vue.d.ts +21 -0
- package/dist/components/ui/card/index.d.ts +7 -0
- package/dist/components/ui/command/Command.vue.d.ts +40 -0
- package/dist/components/ui/command/CommandDialog.vue.d.ts +32 -0
- package/dist/components/ui/command/CommandEmpty.vue.d.ts +22 -0
- package/dist/components/ui/command/CommandGroup.vue.d.ts +23 -0
- package/dist/components/ui/command/CommandInput.vue.d.ts +7 -0
- package/dist/components/ui/command/CommandItem.vue.d.ts +30 -0
- package/dist/components/ui/command/CommandList.vue.d.ts +22 -0
- package/dist/components/ui/command/CommandSeparator.vue.d.ts +22 -0
- package/dist/components/ui/command/CommandShortcut.vue.d.ts +21 -0
- package/dist/components/ui/command/index.d.ts +90 -0
- package/dist/components/ui/date-picker/DatePicker.vue.d.ts +19 -0
- package/dist/components/ui/date-picker/index.d.ts +2 -0
- package/dist/components/ui/dialog/Dialog.vue.d.ts +25 -0
- package/dist/components/ui/dialog/DialogClose.vue.d.ts +18 -0
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +39 -0
- package/dist/components/ui/dialog/DialogDescription.vue.d.ts +22 -0
- package/dist/components/ui/dialog/DialogFooter.vue.d.ts +24 -0
- package/dist/components/ui/dialog/DialogHeader.vue.d.ts +21 -0
- package/dist/components/ui/dialog/DialogOverlay.vue.d.ts +22 -0
- package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +36 -0
- package/dist/components/ui/dialog/DialogTitle.vue.d.ts +22 -0
- package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +18 -0
- package/dist/components/ui/dialog/index.d.ts +10 -0
- package/dist/components/ui/field/Field.vue.d.ts +23 -0
- package/dist/components/ui/field/FieldContent.vue.d.ts +21 -0
- package/dist/components/ui/field/FieldDescription.vue.d.ts +21 -0
- package/dist/components/ui/field/FieldError.vue.d.ts +24 -0
- package/dist/components/ui/field/FieldGroup.vue.d.ts +21 -0
- package/dist/components/ui/field/FieldLabel.vue.d.ts +21 -0
- package/dist/components/ui/field/FieldLegend.vue.d.ts +22 -0
- package/dist/components/ui/field/FieldSeparator.vue.d.ts +21 -0
- package/dist/components/ui/field/FieldSet.vue.d.ts +21 -0
- package/dist/components/ui/field/FieldTitle.vue.d.ts +21 -0
- package/dist/components/ui/field/index.d.ts +15 -0
- package/dist/components/ui/input/Input.vue.d.ts +12 -0
- package/dist/components/ui/input/index.d.ts +1 -0
- package/dist/components/ui/label/Label.vue.d.ts +22 -0
- package/dist/components/ui/label/index.d.ts +1 -0
- package/dist/components/ui/native-select/NativeSelect.vue.d.ts +27 -0
- package/dist/components/ui/native-select/NativeSelectOptGroup.vue.d.ts +21 -0
- package/dist/components/ui/native-select/NativeSelectOption.vue.d.ts +21 -0
- package/dist/components/ui/native-select/index.d.ts +3 -0
- package/dist/components/ui/popover/Popover.vue.d.ts +25 -0
- package/dist/components/ui/popover/PopoverAnchor.vue.d.ts +18 -0
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +39 -0
- package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +18 -0
- package/dist/components/ui/popover/index.d.ts +4 -0
- package/dist/components/ui/select/Select.vue.d.ts +28 -0
- package/dist/components/ui/select/SelectContent.vue.d.ts +32 -0
- package/dist/components/ui/select/SelectGroup.vue.d.ts +18 -0
- package/dist/components/ui/select/SelectItem.vue.d.ts +24 -0
- package/dist/components/ui/select/SelectItemText.vue.d.ts +18 -0
- package/dist/components/ui/select/SelectLabel.vue.d.ts +22 -0
- package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +22 -0
- package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +22 -0
- package/dist/components/ui/select/SelectSeparator.vue.d.ts +7 -0
- package/dist/components/ui/select/SelectTrigger.vue.d.ts +25 -0
- package/dist/components/ui/select/SelectValue.vue.d.ts +18 -0
- package/dist/components/ui/select/index.d.ts +11 -0
- package/dist/components/ui/separator/Separator.vue.d.ts +10 -0
- package/dist/components/ui/separator/index.d.ts +1 -0
- package/dist/components/ui/sheet/Sheet.vue.d.ts +25 -0
- package/dist/components/ui/sheet/SheetClose.vue.d.ts +18 -0
- package/dist/components/ui/sheet/SheetContent.vue.d.ts +39 -0
- package/dist/components/ui/sheet/SheetDescription.vue.d.ts +22 -0
- package/dist/components/ui/sheet/SheetFooter.vue.d.ts +21 -0
- package/dist/components/ui/sheet/SheetHeader.vue.d.ts +21 -0
- package/dist/components/ui/sheet/SheetOverlay.vue.d.ts +22 -0
- package/dist/components/ui/sheet/SheetTitle.vue.d.ts +22 -0
- package/dist/components/ui/sheet/SheetTrigger.vue.d.ts +18 -0
- package/dist/components/ui/sheet/index.d.ts +8 -0
- package/dist/components/ui/sidebar/Sidebar.vue.d.ts +24 -0
- package/dist/components/ui/sidebar/SidebarContent.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarFooter.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarGroup.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarGroupAction.vue.d.ts +22 -0
- package/dist/components/ui/sidebar/SidebarGroupContent.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarGroupLabel.vue.d.ts +22 -0
- package/dist/components/ui/sidebar/SidebarHeader.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarInput.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarInset.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarMenu.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarMenuAction.vue.d.ts +25 -0
- package/dist/components/ui/sidebar/SidebarMenuBadge.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarMenuButton.vue.d.ts +27 -0
- package/dist/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +30 -0
- package/dist/components/ui/sidebar/SidebarMenuItem.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarMenuSkeleton.vue.d.ts +7 -0
- package/dist/components/ui/sidebar/SidebarMenuSub.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +27 -0
- package/dist/components/ui/sidebar/SidebarMenuSubItem.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarProvider.vue.d.ts +30 -0
- package/dist/components/ui/sidebar/SidebarRail.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarSeparator.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarTrigger.vue.d.ts +6 -0
- package/dist/components/ui/sidebar/index.d.ts +37 -0
- package/dist/components/ui/sidebar/utils.d.ts +56 -0
- package/dist/components/ui/skeleton/Skeleton.vue.d.ts +6 -0
- package/dist/components/ui/skeleton/index.d.ts +1 -0
- package/dist/components/ui/slider/Slider.vue.d.ts +13 -0
- package/dist/components/ui/slider/index.d.ts +1 -0
- package/dist/components/ui/switch/Switch.vue.d.ts +29 -0
- package/dist/components/ui/switch/index.d.ts +1 -0
- package/dist/components/ui/tooltip/Tooltip.vue.d.ts +24 -0
- package/dist/components/ui/tooltip/TooltipContent.vue.d.ts +30 -0
- package/dist/components/ui/tooltip/TooltipProvider.vue.d.ts +20 -0
- package/dist/components/ui/tooltip/TooltipTrigger.vue.d.ts +18 -0
- package/dist/components/ui/tooltip/index.d.ts +4 -0
- package/dist/confirm-dialog.d.ts +2 -0
- package/dist/confirm-dialog.js +9 -0
- package/dist/createLucideIcon-CCMB2vDW.js +130 -0
- package/dist/dashboard-shell.d.ts +6 -0
- package/dist/dashboard-shell.js +5 -0
- package/dist/date-picker.d.ts +6 -0
- package/dist/date-picker.js +5 -0
- package/dist/dialog.d.ts +2 -0
- package/dist/dialog.js +14 -0
- package/dist/field.d.ts +2 -0
- package/dist/field.js +294 -0
- package/dist/index-C1_fxYhb.js +251 -0
- package/dist/index-Dfi5ESP2.js +299 -0
- package/dist/index-FpH8cK6B.js +44 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.js +171 -0
- package/dist/info-DZrSmi42.js +15 -0
- package/dist/input.d.ts +2 -0
- package/dist/input.js +4 -0
- package/dist/label.d.ts +2 -0
- package/dist/label.js +4 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/message-dialog.d.ts +2 -0
- package/dist/message-dialog.js +8 -0
- package/dist/native-select.d.ts +2 -0
- package/dist/native-select.js +25 -0
- package/dist/popover.d.ts +2 -0
- package/dist/popover.js +8 -0
- package/dist/select.d.ts +2 -0
- package/dist/select.js +14 -0
- package/dist/separator.d.ts +2 -0
- package/dist/separator.js +4 -0
- package/dist/sheet.d.ts +2 -0
- package/dist/sheet.js +12 -0
- package/dist/sidebar.d.ts +2 -0
- package/dist/sidebar.js +813 -0
- package/dist/skeleton.d.ts +2 -0
- package/dist/skeleton.js +4 -0
- package/dist/slider-form-component.d.ts +6 -0
- package/dist/slider-form-component.js +5 -0
- package/dist/slider.d.ts +2 -0
- package/dist/slider.js +4 -0
- package/dist/style.css +4021 -0
- package/dist/switch-form-component.d.ts +6 -0
- package/dist/switch-form-component.js +5 -0
- package/dist/switch.d.ts +2 -0
- package/dist/switch.js +4 -0
- package/dist/tooltip.d.ts +2 -0
- package/dist/tooltip.js +8 -0
- package/dist/useDirection-SIyEYNxv.js +12 -0
- package/dist/useFocusGuards-tgErlvMF.js +29 -0
- package/dist/useFormControl-7ytzz-r7.js +11 -0
- package/dist/useForwardExpose-CNVHwdF2.js +58 -0
- package/dist/useForwardPropsEmits-DmumnZO5.js +63 -0
- package/dist/useKbd-JjFOu4f7.js +41 -0
- package/dist/usePrimitiveElement-CijaRBgF.js +16 -0
- package/dist/useSize-DO9Z3wC4.js +51 -0
- package/dist/useTypeahead-Dqe1QXq1.js +159 -0
- package/dist/utils-Bz4m9VPB.js +3192 -0
- package/dist/utils-RRmyeqLm.js +16 -0
- package/dist/utils.d.ts +2 -0
- package/dist/utils.js +4 -0
- package/dist/x-2_VzbDS9.js +48 -0
- package/package.json +186 -0
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
import { computed, watch, customRef, toValue, shallowRef, shallowReadonly, isRef, reactive, unref, getCurrentScope, onScopeDispose, getCurrentInstance, hasInjectionContext, inject, onBeforeUnmount, watchEffect, readonly, effectScope, toRefs } from "vue";
|
|
2
|
+
function computedEager(fn, options) {
|
|
3
|
+
var _options$flush;
|
|
4
|
+
const result = shallowRef();
|
|
5
|
+
watchEffect(() => {
|
|
6
|
+
result.value = fn();
|
|
7
|
+
}, {
|
|
8
|
+
...options,
|
|
9
|
+
flush: (_options$flush = options === null || options === void 0 ? void 0 : options.flush) !== null && _options$flush !== void 0 ? _options$flush : "sync"
|
|
10
|
+
});
|
|
11
|
+
return readonly(result);
|
|
12
|
+
}
|
|
13
|
+
function computedWithControl(source, fn, options = {}) {
|
|
14
|
+
let v = void 0;
|
|
15
|
+
let track;
|
|
16
|
+
let trigger;
|
|
17
|
+
let dirty = true;
|
|
18
|
+
const update = () => {
|
|
19
|
+
dirty = true;
|
|
20
|
+
trigger();
|
|
21
|
+
};
|
|
22
|
+
watch(source, update, {
|
|
23
|
+
flush: "sync",
|
|
24
|
+
...options
|
|
25
|
+
});
|
|
26
|
+
const get$1 = typeof fn === "function" ? fn : fn.get;
|
|
27
|
+
const set$1 = typeof fn === "function" ? void 0 : fn.set;
|
|
28
|
+
const result = customRef((_track, _trigger) => {
|
|
29
|
+
track = _track;
|
|
30
|
+
trigger = _trigger;
|
|
31
|
+
return {
|
|
32
|
+
get() {
|
|
33
|
+
if (dirty) {
|
|
34
|
+
v = get$1(v);
|
|
35
|
+
dirty = false;
|
|
36
|
+
}
|
|
37
|
+
track();
|
|
38
|
+
return v;
|
|
39
|
+
},
|
|
40
|
+
set(v$1) {
|
|
41
|
+
set$1 === null || set$1 === void 0 || set$1(v$1);
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
});
|
|
45
|
+
result.trigger = update;
|
|
46
|
+
return result;
|
|
47
|
+
}
|
|
48
|
+
function tryOnScopeDispose(fn, failSilently) {
|
|
49
|
+
if (getCurrentScope()) {
|
|
50
|
+
onScopeDispose(fn, failSilently);
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
// @__NO_SIDE_EFFECTS__
|
|
56
|
+
function createEventHook() {
|
|
57
|
+
const fns = /* @__PURE__ */ new Set();
|
|
58
|
+
const off = (fn) => {
|
|
59
|
+
fns.delete(fn);
|
|
60
|
+
};
|
|
61
|
+
const clear = () => {
|
|
62
|
+
fns.clear();
|
|
63
|
+
};
|
|
64
|
+
const on = (fn) => {
|
|
65
|
+
fns.add(fn);
|
|
66
|
+
const offFn = () => off(fn);
|
|
67
|
+
tryOnScopeDispose(offFn);
|
|
68
|
+
return { off: offFn };
|
|
69
|
+
};
|
|
70
|
+
const trigger = (...args) => {
|
|
71
|
+
return Promise.all(Array.from(fns).map((fn) => fn(...args)));
|
|
72
|
+
};
|
|
73
|
+
return {
|
|
74
|
+
on,
|
|
75
|
+
off,
|
|
76
|
+
trigger,
|
|
77
|
+
clear
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
// @__NO_SIDE_EFFECTS__
|
|
81
|
+
function createGlobalState(stateFactory) {
|
|
82
|
+
let initialized = false;
|
|
83
|
+
let state;
|
|
84
|
+
const scope = effectScope(true);
|
|
85
|
+
return (...args) => {
|
|
86
|
+
if (!initialized) {
|
|
87
|
+
state = scope.run(() => stateFactory(...args));
|
|
88
|
+
initialized = true;
|
|
89
|
+
}
|
|
90
|
+
return state;
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
const localProvidedStateMap = /* @__PURE__ */ new WeakMap();
|
|
94
|
+
const injectLocal = /* @__NO_SIDE_EFFECTS__ */ (...args) => {
|
|
95
|
+
var _getCurrentInstance;
|
|
96
|
+
const key = args[0];
|
|
97
|
+
const instance = (_getCurrentInstance = getCurrentInstance()) === null || _getCurrentInstance === void 0 ? void 0 : _getCurrentInstance.proxy;
|
|
98
|
+
const owner = instance !== null && instance !== void 0 ? instance : getCurrentScope();
|
|
99
|
+
if (owner == null && !hasInjectionContext()) throw new Error("injectLocal must be called in setup");
|
|
100
|
+
if (owner && localProvidedStateMap.has(owner) && key in localProvidedStateMap.get(owner)) return localProvidedStateMap.get(owner)[key];
|
|
101
|
+
return inject(...args);
|
|
102
|
+
};
|
|
103
|
+
const isClient = typeof window !== "undefined" && typeof document !== "undefined";
|
|
104
|
+
typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
|
|
105
|
+
const isDef = (val) => typeof val !== "undefined";
|
|
106
|
+
const toString = Object.prototype.toString;
|
|
107
|
+
const isObject = (val) => toString.call(val) === "[object Object]";
|
|
108
|
+
const isIOS = /* @__PURE__ */ getIsIOS();
|
|
109
|
+
function getIsIOS() {
|
|
110
|
+
var _window, _window2, _window3;
|
|
111
|
+
return isClient && !!((_window = window) === null || _window === void 0 || (_window = _window.navigator) === null || _window === void 0 ? void 0 : _window.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.navigator) === null || _window2 === void 0 ? void 0 : _window2.maxTouchPoints) > 2 && /iPad|Macintosh/.test((_window3 = window) === null || _window3 === void 0 ? void 0 : _window3.navigator.userAgent));
|
|
112
|
+
}
|
|
113
|
+
function pxValue(px) {
|
|
114
|
+
return px.endsWith("rem") ? Number.parseFloat(px) * 16 : Number.parseFloat(px);
|
|
115
|
+
}
|
|
116
|
+
function toArray(value) {
|
|
117
|
+
return Array.isArray(value) ? value : [value];
|
|
118
|
+
}
|
|
119
|
+
function cacheStringFunction(fn) {
|
|
120
|
+
const cache = /* @__PURE__ */ Object.create(null);
|
|
121
|
+
return (str) => {
|
|
122
|
+
return cache[str] || (cache[str] = fn(str));
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
const camelizeRE = /-(\w)/g;
|
|
126
|
+
const camelize = cacheStringFunction((str) => {
|
|
127
|
+
return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");
|
|
128
|
+
});
|
|
129
|
+
function getLifeCycleTarget(target) {
|
|
130
|
+
return getCurrentInstance();
|
|
131
|
+
}
|
|
132
|
+
// @__NO_SIDE_EFFECTS__
|
|
133
|
+
function createSharedComposable(composable) {
|
|
134
|
+
if (!isClient) return composable;
|
|
135
|
+
let subscribers = 0;
|
|
136
|
+
let state;
|
|
137
|
+
let scope;
|
|
138
|
+
const dispose = () => {
|
|
139
|
+
subscribers -= 1;
|
|
140
|
+
if (scope && subscribers <= 0) {
|
|
141
|
+
scope.stop();
|
|
142
|
+
state = void 0;
|
|
143
|
+
scope = void 0;
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
return (...args) => {
|
|
147
|
+
subscribers += 1;
|
|
148
|
+
if (!scope) {
|
|
149
|
+
scope = effectScope(true);
|
|
150
|
+
state = scope.run(() => composable(...args));
|
|
151
|
+
}
|
|
152
|
+
tryOnScopeDispose(dispose);
|
|
153
|
+
return state;
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
// @__NO_SIDE_EFFECTS__
|
|
157
|
+
function makeDestructurable(obj, arr) {
|
|
158
|
+
if (typeof Symbol !== "undefined") {
|
|
159
|
+
const clone = { ...obj };
|
|
160
|
+
Object.defineProperty(clone, Symbol.iterator, {
|
|
161
|
+
enumerable: false,
|
|
162
|
+
value() {
|
|
163
|
+
let index = 0;
|
|
164
|
+
return { next: () => ({
|
|
165
|
+
value: arr[index++],
|
|
166
|
+
done: index > arr.length
|
|
167
|
+
}) };
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
return clone;
|
|
171
|
+
} else return Object.assign([...arr], obj);
|
|
172
|
+
}
|
|
173
|
+
function toReactive(objectRef) {
|
|
174
|
+
if (!isRef(objectRef)) return reactive(objectRef);
|
|
175
|
+
return reactive(new Proxy({}, {
|
|
176
|
+
get(_, p, receiver) {
|
|
177
|
+
return unref(Reflect.get(objectRef.value, p, receiver));
|
|
178
|
+
},
|
|
179
|
+
set(_, p, value) {
|
|
180
|
+
if (isRef(objectRef.value[p]) && !isRef(value)) objectRef.value[p].value = value;
|
|
181
|
+
else objectRef.value[p] = value;
|
|
182
|
+
return true;
|
|
183
|
+
},
|
|
184
|
+
deleteProperty(_, p) {
|
|
185
|
+
return Reflect.deleteProperty(objectRef.value, p);
|
|
186
|
+
},
|
|
187
|
+
has(_, p) {
|
|
188
|
+
return Reflect.has(objectRef.value, p);
|
|
189
|
+
},
|
|
190
|
+
ownKeys() {
|
|
191
|
+
return Object.keys(objectRef.value);
|
|
192
|
+
},
|
|
193
|
+
getOwnPropertyDescriptor() {
|
|
194
|
+
return {
|
|
195
|
+
enumerable: true,
|
|
196
|
+
configurable: true
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
}));
|
|
200
|
+
}
|
|
201
|
+
function reactiveComputed(fn) {
|
|
202
|
+
return toReactive(computed(fn));
|
|
203
|
+
}
|
|
204
|
+
function reactiveOmit(obj, ...keys) {
|
|
205
|
+
const flatKeys = keys.flat();
|
|
206
|
+
const predicate = flatKeys[0];
|
|
207
|
+
return reactiveComputed(() => typeof predicate === "function" ? Object.fromEntries(Object.entries(toRefs(obj)).filter(([k, v]) => !predicate(toValue(v), k))) : Object.fromEntries(Object.entries(toRefs(obj)).filter((e) => !flatKeys.includes(e[0]))));
|
|
208
|
+
}
|
|
209
|
+
function refAutoReset(defaultValue, afterMs = 1e4) {
|
|
210
|
+
return customRef((track, trigger) => {
|
|
211
|
+
let value = toValue(defaultValue);
|
|
212
|
+
let timer;
|
|
213
|
+
const resetAfter = () => setTimeout(() => {
|
|
214
|
+
value = toValue(defaultValue);
|
|
215
|
+
trigger();
|
|
216
|
+
}, toValue(afterMs));
|
|
217
|
+
tryOnScopeDispose(() => {
|
|
218
|
+
clearTimeout(timer);
|
|
219
|
+
});
|
|
220
|
+
return {
|
|
221
|
+
get() {
|
|
222
|
+
track();
|
|
223
|
+
return value;
|
|
224
|
+
},
|
|
225
|
+
set(newValue) {
|
|
226
|
+
value = newValue;
|
|
227
|
+
trigger();
|
|
228
|
+
clearTimeout(timer);
|
|
229
|
+
timer = resetAfter();
|
|
230
|
+
}
|
|
231
|
+
};
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
function tryOnBeforeUnmount(fn, target) {
|
|
235
|
+
if (getLifeCycleTarget()) onBeforeUnmount(fn, target);
|
|
236
|
+
}
|
|
237
|
+
function useTimeoutFn(cb, interval, options = {}) {
|
|
238
|
+
const { immediate = true, immediateCallback = false } = options;
|
|
239
|
+
const isPending = shallowRef(false);
|
|
240
|
+
let timer;
|
|
241
|
+
function clear() {
|
|
242
|
+
if (timer) {
|
|
243
|
+
clearTimeout(timer);
|
|
244
|
+
timer = void 0;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
function stop() {
|
|
248
|
+
isPending.value = false;
|
|
249
|
+
clear();
|
|
250
|
+
}
|
|
251
|
+
function start(...args) {
|
|
252
|
+
if (immediateCallback) cb();
|
|
253
|
+
clear();
|
|
254
|
+
isPending.value = true;
|
|
255
|
+
timer = setTimeout(() => {
|
|
256
|
+
isPending.value = false;
|
|
257
|
+
timer = void 0;
|
|
258
|
+
cb(...args);
|
|
259
|
+
}, toValue(interval));
|
|
260
|
+
}
|
|
261
|
+
if (immediate) {
|
|
262
|
+
isPending.value = true;
|
|
263
|
+
if (isClient) start();
|
|
264
|
+
}
|
|
265
|
+
tryOnScopeDispose(stop);
|
|
266
|
+
return {
|
|
267
|
+
isPending: shallowReadonly(isPending),
|
|
268
|
+
start,
|
|
269
|
+
stop
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
function watchImmediate(source, cb, options) {
|
|
273
|
+
return watch(source, cb, {
|
|
274
|
+
...options,
|
|
275
|
+
immediate: true
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
export {
|
|
279
|
+
injectLocal as a,
|
|
280
|
+
isDef as b,
|
|
281
|
+
computedWithControl as c,
|
|
282
|
+
camelize as d,
|
|
283
|
+
tryOnScopeDispose as e,
|
|
284
|
+
isObject as f,
|
|
285
|
+
refAutoReset as g,
|
|
286
|
+
tryOnBeforeUnmount as h,
|
|
287
|
+
isClient as i,
|
|
288
|
+
createSharedComposable as j,
|
|
289
|
+
isIOS as k,
|
|
290
|
+
createGlobalState as l,
|
|
291
|
+
makeDestructurable as m,
|
|
292
|
+
computedEager as n,
|
|
293
|
+
createEventHook as o,
|
|
294
|
+
pxValue as p,
|
|
295
|
+
reactiveOmit as r,
|
|
296
|
+
toArray as t,
|
|
297
|
+
useTimeoutFn as u,
|
|
298
|
+
watchImmediate as w
|
|
299
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { a as clsx } from "./utils-Bz4m9VPB.js";
|
|
2
|
+
const falsyToString = (value) => typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
|
|
3
|
+
const cx = clsx;
|
|
4
|
+
const cva = (base, config) => (props) => {
|
|
5
|
+
var _config_compoundVariants;
|
|
6
|
+
if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
|
|
7
|
+
const { variants, defaultVariants } = config;
|
|
8
|
+
const getVariantClassNames = Object.keys(variants).map((variant) => {
|
|
9
|
+
const variantProp = props === null || props === void 0 ? void 0 : props[variant];
|
|
10
|
+
const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];
|
|
11
|
+
if (variantProp === null) return null;
|
|
12
|
+
const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);
|
|
13
|
+
return variants[variant][variantKey];
|
|
14
|
+
});
|
|
15
|
+
const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param) => {
|
|
16
|
+
let [key, value] = param;
|
|
17
|
+
if (value === void 0) {
|
|
18
|
+
return acc;
|
|
19
|
+
}
|
|
20
|
+
acc[key] = value;
|
|
21
|
+
return acc;
|
|
22
|
+
}, {});
|
|
23
|
+
const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param) => {
|
|
24
|
+
let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;
|
|
25
|
+
return Object.entries(compoundVariantOptions).every((param2) => {
|
|
26
|
+
let [key, value] = param2;
|
|
27
|
+
return Array.isArray(value) ? value.includes({
|
|
28
|
+
...defaultVariants,
|
|
29
|
+
...propsWithoutUndefined
|
|
30
|
+
}[key]) : {
|
|
31
|
+
...defaultVariants,
|
|
32
|
+
...propsWithoutUndefined
|
|
33
|
+
}[key] === value;
|
|
34
|
+
}) ? [
|
|
35
|
+
...acc,
|
|
36
|
+
cvClass,
|
|
37
|
+
cvClassName
|
|
38
|
+
] : acc;
|
|
39
|
+
}, []);
|
|
40
|
+
return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
|
|
41
|
+
};
|
|
42
|
+
export {
|
|
43
|
+
cva as c
|
|
44
|
+
};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export * from './components/ui/alert';
|
|
2
|
+
export * from './components/ui/alert-dialog';
|
|
3
|
+
export * from './components/ui/busy';
|
|
4
|
+
export * from './components/ui/button';
|
|
5
|
+
export * from './components/ui/card';
|
|
6
|
+
export * from './components/ui/command';
|
|
7
|
+
export * from './components/ui/date-picker';
|
|
8
|
+
export * from './components/ui/dialog';
|
|
9
|
+
export * from './components/ui/field';
|
|
10
|
+
export * from './components/ui/input';
|
|
11
|
+
export * from './components/ui/label';
|
|
12
|
+
export * from './components/ui/popover';
|
|
13
|
+
export * from './components/ui/select';
|
|
14
|
+
export * from './components/ui/separator';
|
|
15
|
+
export * from './components/ui/sheet';
|
|
16
|
+
export * from './components/ui/sidebar';
|
|
17
|
+
export * from './components/ui/skeleton';
|
|
18
|
+
export * from './components/ui/slider';
|
|
19
|
+
export * from './components/ui/switch';
|
|
20
|
+
export * from './components/ui/tooltip';
|
|
21
|
+
export * from './components/confirm-dialog';
|
|
22
|
+
export * from './components/message-dialog';
|
|
23
|
+
export * from './components/busy-indicator';
|
|
24
|
+
export * from './components/background-grid';
|
|
25
|
+
export * from './components/dashboard-shell';
|
|
26
|
+
export * from './components/switch-form-component';
|
|
27
|
+
export * from './components/slider-form-component';
|
|
28
|
+
export { cn } from './lib/utils';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { Alert, AlertDescription, AlertTitle, alertVariants } from "./alert.js";
|
|
2
|
+
import { _, a, b, c, d, e } from "./AlertDialogTitle.vue_vue_type_script_setup_true_lang-CWCr2erD.js";
|
|
3
|
+
import { _ as _2, a as a2, b as b2 } from "./AlertDialogTrigger.vue_vue_type_script_setup_true_lang-vNwxOYhM.js";
|
|
4
|
+
import { B } from "./Busy-B65Nd9ec.js";
|
|
5
|
+
import { Button, buttonVariants } from "./button.js";
|
|
6
|
+
import { _ as _3 } from "./Card.vue_vue_type_script_setup_true_lang-6ol3rxy1.js";
|
|
7
|
+
import { _ as _4, a as a3, b as b3, c as c2, d as d2, e as e2 } from "./CardTitle.vue_vue_type_script_setup_true_lang-DVAd7AWF.js";
|
|
8
|
+
import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, provideCommandContext, provideCommandGroupContext, useCommand, useCommandGroup } from "./command.js";
|
|
9
|
+
import { _ as _5 } from "./DatePicker.vue_vue_type_script_setup_true_lang-D8mev2ha.js";
|
|
10
|
+
import { _ as _6, a as a4, b as b4, c as c3, d as d3, e as e3 } from "./DialogTitle.vue_vue_type_script_setup_true_lang-Bw40D4AK.js";
|
|
11
|
+
import { _ as _7, a as a5, b as b5, c as c4 } from "./DialogTrigger.vue_vue_type_script_setup_true_lang-DLrFiCsw.js";
|
|
12
|
+
import { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, fieldVariants } from "./field.js";
|
|
13
|
+
import { _ as _8 } from "./Input.vue_vue_type_script_setup_true_lang-U778IWa0.js";
|
|
14
|
+
import { _ as _9 } from "./Label.vue_vue_type_script_setup_true_lang-B_fwvfJ-.js";
|
|
15
|
+
import { _ as _10, a as a6, b as b6 } from "./PopoverTrigger.vue_vue_type_script_setup_true_lang-KTcg6Jnl.js";
|
|
16
|
+
import { _ as _11 } from "./PopoverAnchor.vue_vue_type_script_setup_true_lang-CsfybvZp.js";
|
|
17
|
+
import { _ as _12, a as a7, b as b7, c as c5, d as d4, e as e4, f, g, h, i, j } from "./SelectValue.vue_vue_type_script_setup_true_lang-DGAI4hw5.js";
|
|
18
|
+
import { _ as _13 } from "./Separator.vue_vue_type_script_setup_true_lang-COrZ60NR.js";
|
|
19
|
+
import { _ as _14, a as a8, b as b8, c as c6, d as d5 } from "./SheetTitle.vue_vue_type_script_setup_true_lang-DLoXGMbx.js";
|
|
20
|
+
import { _ as _15, a as a9, b as b9 } from "./SheetTrigger.vue_vue_type_script_setup_true_lang-CE2XJNHy.js";
|
|
21
|
+
import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, sidebarMenuButtonVariants, useSidebar } from "./sidebar.js";
|
|
22
|
+
import { _ as _16 } from "./Skeleton.vue_vue_type_script_setup_true_lang-BSbVyZz7.js";
|
|
23
|
+
import { _ as _17 } from "./Slider.vue_vue_type_script_setup_true_lang-D-cAN-4Q.js";
|
|
24
|
+
import { _ as _18 } from "./Switch.vue_vue_type_script_setup_true_lang-BWKCycMm.js";
|
|
25
|
+
import { _ as _19, a as a10, b as b10 } from "./TooltipTrigger.vue_vue_type_script_setup_true_lang-BRyHTWgw.js";
|
|
26
|
+
import { _ as _20 } from "./TooltipProvider.vue_vue_type_script_setup_true_lang-DwIfCQjY.js";
|
|
27
|
+
import { _ as _21, c as c7, a as a11, b as b11, d as d6, s } from "./ConfirmDialog.vue_vue_type_script_setup_true_lang-BAd1l1zF.js";
|
|
28
|
+
import { _ as _22, c as c8, m, r, s as s2 } from "./MessageDialog.vue_vue_type_script_setup_true_lang-Ddih5Isd.js";
|
|
29
|
+
import { _ as _23, b as b12, s as s3 } from "./BusyIndicator.vue_vue_type_script_setup_true_lang-CYeXMI_V.js";
|
|
30
|
+
import { B as B2 } from "./BackgroundGrid-Cxvbtefm.js";
|
|
31
|
+
import { _ as _24 } from "./DashboardShell.vue_vue_type_script_setup_true_lang-CT2SQBXv.js";
|
|
32
|
+
import { _ as _25 } from "./SwitchFormComponent.vue_vue_type_script_setup_true_lang-XOBEs3pa.js";
|
|
33
|
+
import { _ as _26 } from "./SliderFormComponent.vue_vue_type_script_setup_true_lang-KPzC_Lmr.js";
|
|
34
|
+
import { c as c9 } from "./utils-Bz4m9VPB.js";
|
|
35
|
+
export {
|
|
36
|
+
Alert,
|
|
37
|
+
AlertDescription,
|
|
38
|
+
_ as AlertDialog,
|
|
39
|
+
_2 as AlertDialogAction,
|
|
40
|
+
a2 as AlertDialogCancel,
|
|
41
|
+
a as AlertDialogContent,
|
|
42
|
+
b as AlertDialogDescription,
|
|
43
|
+
c as AlertDialogFooter,
|
|
44
|
+
d as AlertDialogHeader,
|
|
45
|
+
e as AlertDialogTitle,
|
|
46
|
+
b2 as AlertDialogTrigger,
|
|
47
|
+
AlertTitle,
|
|
48
|
+
B2 as BackgroundGrid,
|
|
49
|
+
B as Busy,
|
|
50
|
+
_23 as BusyIndicator,
|
|
51
|
+
Button,
|
|
52
|
+
_3 as Card,
|
|
53
|
+
_4 as CardAction,
|
|
54
|
+
a3 as CardContent,
|
|
55
|
+
b3 as CardDescription,
|
|
56
|
+
c2 as CardFooter,
|
|
57
|
+
d2 as CardHeader,
|
|
58
|
+
e2 as CardTitle,
|
|
59
|
+
Command,
|
|
60
|
+
CommandDialog,
|
|
61
|
+
CommandEmpty,
|
|
62
|
+
CommandGroup,
|
|
63
|
+
CommandInput,
|
|
64
|
+
CommandItem,
|
|
65
|
+
CommandList,
|
|
66
|
+
CommandSeparator,
|
|
67
|
+
CommandShortcut,
|
|
68
|
+
_21 as ConfirmDialog,
|
|
69
|
+
_24 as DashboardShell,
|
|
70
|
+
_5 as DatePicker,
|
|
71
|
+
_6 as Dialog,
|
|
72
|
+
_7 as DialogClose,
|
|
73
|
+
a4 as DialogContent,
|
|
74
|
+
b4 as DialogDescription,
|
|
75
|
+
a5 as DialogFooter,
|
|
76
|
+
c3 as DialogHeader,
|
|
77
|
+
d3 as DialogOverlay,
|
|
78
|
+
b5 as DialogScrollContent,
|
|
79
|
+
e3 as DialogTitle,
|
|
80
|
+
c4 as DialogTrigger,
|
|
81
|
+
Field,
|
|
82
|
+
FieldContent,
|
|
83
|
+
FieldDescription,
|
|
84
|
+
FieldError,
|
|
85
|
+
FieldGroup,
|
|
86
|
+
FieldLabel,
|
|
87
|
+
FieldLegend,
|
|
88
|
+
FieldSeparator,
|
|
89
|
+
FieldSet,
|
|
90
|
+
FieldTitle,
|
|
91
|
+
_8 as Input,
|
|
92
|
+
_9 as Label,
|
|
93
|
+
_22 as MessageDialog,
|
|
94
|
+
_10 as Popover,
|
|
95
|
+
_11 as PopoverAnchor,
|
|
96
|
+
a6 as PopoverContent,
|
|
97
|
+
b6 as PopoverTrigger,
|
|
98
|
+
_12 as Select,
|
|
99
|
+
a7 as SelectContent,
|
|
100
|
+
b7 as SelectGroup,
|
|
101
|
+
c5 as SelectItem,
|
|
102
|
+
d4 as SelectItemText,
|
|
103
|
+
e4 as SelectLabel,
|
|
104
|
+
f as SelectScrollDownButton,
|
|
105
|
+
g as SelectScrollUpButton,
|
|
106
|
+
h as SelectSeparator,
|
|
107
|
+
i as SelectTrigger,
|
|
108
|
+
j as SelectValue,
|
|
109
|
+
_13 as Separator,
|
|
110
|
+
_14 as Sheet,
|
|
111
|
+
_15 as SheetClose,
|
|
112
|
+
a8 as SheetContent,
|
|
113
|
+
b8 as SheetDescription,
|
|
114
|
+
a9 as SheetFooter,
|
|
115
|
+
c6 as SheetHeader,
|
|
116
|
+
d5 as SheetTitle,
|
|
117
|
+
b9 as SheetTrigger,
|
|
118
|
+
Sidebar,
|
|
119
|
+
SidebarContent,
|
|
120
|
+
SidebarFooter,
|
|
121
|
+
SidebarGroup,
|
|
122
|
+
SidebarGroupAction,
|
|
123
|
+
SidebarGroupContent,
|
|
124
|
+
SidebarGroupLabel,
|
|
125
|
+
SidebarHeader,
|
|
126
|
+
SidebarInput,
|
|
127
|
+
SidebarInset,
|
|
128
|
+
SidebarMenu,
|
|
129
|
+
SidebarMenuAction,
|
|
130
|
+
SidebarMenuBadge,
|
|
131
|
+
SidebarMenuButton,
|
|
132
|
+
SidebarMenuItem,
|
|
133
|
+
SidebarMenuSkeleton,
|
|
134
|
+
SidebarMenuSub,
|
|
135
|
+
SidebarMenuSubButton,
|
|
136
|
+
SidebarMenuSubItem,
|
|
137
|
+
SidebarProvider,
|
|
138
|
+
SidebarRail,
|
|
139
|
+
SidebarSeparator,
|
|
140
|
+
SidebarTrigger,
|
|
141
|
+
_16 as Skeleton,
|
|
142
|
+
_17 as Slider,
|
|
143
|
+
_26 as SliderFormComponent,
|
|
144
|
+
_18 as Switch,
|
|
145
|
+
_25 as SwitchFormComponent,
|
|
146
|
+
_19 as Tooltip,
|
|
147
|
+
a10 as TooltipContent,
|
|
148
|
+
_20 as TooltipProvider,
|
|
149
|
+
b10 as TooltipTrigger,
|
|
150
|
+
alertVariants,
|
|
151
|
+
b12 as busyIndicatorState,
|
|
152
|
+
buttonVariants,
|
|
153
|
+
c7 as cancelActiveConfirmDialog,
|
|
154
|
+
a11 as closeConfirmDialog,
|
|
155
|
+
c8 as closeMessageDialog,
|
|
156
|
+
c9 as cn,
|
|
157
|
+
b11 as confirmActiveDialog,
|
|
158
|
+
d6 as confirmDialogState,
|
|
159
|
+
fieldVariants,
|
|
160
|
+
m as messageDialogState,
|
|
161
|
+
provideCommandContext,
|
|
162
|
+
provideCommandGroupContext,
|
|
163
|
+
r as resolveActiveMessageDialog,
|
|
164
|
+
s3 as setBusy,
|
|
165
|
+
s as showConfirmDialog,
|
|
166
|
+
s2 as showMessageDialog,
|
|
167
|
+
sidebarMenuButtonVariants,
|
|
168
|
+
useCommand,
|
|
169
|
+
useCommandGroup,
|
|
170
|
+
useSidebar
|
|
171
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { c as createLucideIcon } from "./createLucideIcon-CCMB2vDW.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-vue-next v1.0.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const Info = createLucideIcon("info", [
|
|
9
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
10
|
+
["path", { d: "M12 16v-4", key: "1dtifu" }],
|
|
11
|
+
["path", { d: "M12 8h.01", key: "e9boi3" }]
|
|
12
|
+
]);
|
|
13
|
+
export {
|
|
14
|
+
Info as I
|
|
15
|
+
};
|
package/dist/input.d.ts
ADDED
package/dist/input.js
ADDED
package/dist/label.d.ts
ADDED
package/dist/label.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { _, a } from "./NativeSelectOption.vue_vue_type_script_setup_true_lang-DS87OTLT.js";
|
|
2
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
|
|
3
|
+
import { c as cn } from "./utils-Bz4m9VPB.js";
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
+
__name: "NativeSelectOptGroup",
|
|
6
|
+
props: {
|
|
7
|
+
class: {}
|
|
8
|
+
},
|
|
9
|
+
setup(__props) {
|
|
10
|
+
const props = __props;
|
|
11
|
+
return (_ctx, _cache) => {
|
|
12
|
+
return openBlock(), createElementBlock("optgroup", {
|
|
13
|
+
"data-slot": "native-select-optgroup",
|
|
14
|
+
class: normalizeClass(unref(cn)("bg-popover text-popover-foreground", props.class))
|
|
15
|
+
}, [
|
|
16
|
+
renderSlot(_ctx.$slots, "default")
|
|
17
|
+
], 2);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
export {
|
|
22
|
+
_ as NativeSelect,
|
|
23
|
+
_sfc_main as NativeSelectOptGroup,
|
|
24
|
+
a as NativeSelectOption
|
|
25
|
+
};
|
package/dist/popover.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { _, a, b } from "./PopoverTrigger.vue_vue_type_script_setup_true_lang-KTcg6Jnl.js";
|
|
2
|
+
import { _ as _2 } from "./PopoverAnchor.vue_vue_type_script_setup_true_lang-CsfybvZp.js";
|
|
3
|
+
export {
|
|
4
|
+
_ as Popover,
|
|
5
|
+
_2 as PopoverAnchor,
|
|
6
|
+
a as PopoverContent,
|
|
7
|
+
b as PopoverTrigger
|
|
8
|
+
};
|
package/dist/select.d.ts
ADDED
package/dist/select.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { _, a, b, c, d, e, f, g, h, i, j } from "./SelectValue.vue_vue_type_script_setup_true_lang-DGAI4hw5.js";
|
|
2
|
+
export {
|
|
3
|
+
_ as Select,
|
|
4
|
+
a as SelectContent,
|
|
5
|
+
b as SelectGroup,
|
|
6
|
+
c as SelectItem,
|
|
7
|
+
d as SelectItemText,
|
|
8
|
+
e as SelectLabel,
|
|
9
|
+
f as SelectScrollDownButton,
|
|
10
|
+
g as SelectScrollUpButton,
|
|
11
|
+
h as SelectSeparator,
|
|
12
|
+
i as SelectTrigger,
|
|
13
|
+
j as SelectValue
|
|
14
|
+
};
|
package/dist/sheet.d.ts
ADDED