@brumaombra/ui-vintage 0.4.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/{Busy-D1u_LUYu.js → Busy-BaCc_Jo8.js} +2 -1
- package/dist/{CalendarPrevButton.vue_vue_type_script_setup_true_lang-BA4Aw_Sl.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-DxCTEp0d.js +36 -0
- 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-BG4dvMRo.js → DialogTitle.vue_vue_type_script_setup_true_lang-CycrzAMT.js} +33 -10
- package/dist/{DialogTrigger-BQbSAHMb.js → DialogTrigger-Cb3rLcid.js} +5 -35
- 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-C1L25W2l.js → MessageToast-uKrMyOZf.js} +15 -12
- package/dist/{NativeSelectOption.vue_vue_type_script_setup_true_lang-COnFRt8g.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-BQbpsE2c.js → SheetTitle.vue_vue_type_script_setup_true_lang-Ja7-gmXd.js} +4 -4
- 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 -6
- package/dist/alert.js +8 -18
- 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/landing-content/LandingContent.vue.d.ts +2 -3
- package/dist/components/landing/landing-footer/LandingFooter.vue.d.ts +5 -10
- package/dist/components/landing/landing-navbar/LandingNavbar.vue.d.ts +8 -1
- package/dist/components/landing/landing-shell/LandingShell.vue.d.ts +0 -1
- 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/index.d.ts +1 -1
- package/dist/components/message-toast/message-toast-state.d.ts +3 -3
- 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/DialogContent.vue.d.ts +4 -1
- 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 +88 -38
- 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 +36 -29
- package/dist/empty-state-card.js +5 -0
- package/dist/error-page.js +8 -6
- 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 +9 -237
- 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 +2 -2
- 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 -2
- 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 +822 -144
- 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 +111 -2
- package/dist/HugeiconsIcon.vue-CurGbgrJ.js +0 -125
|
@@ -105,11 +105,63 @@ typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalSc
|
|
|
105
105
|
const isDef = (val) => typeof val !== "undefined";
|
|
106
106
|
const toString = Object.prototype.toString;
|
|
107
107
|
const isObject = (val) => toString.call(val) === "[object Object]";
|
|
108
|
+
const noop = () => {
|
|
109
|
+
};
|
|
108
110
|
const isIOS = /* @__PURE__ */ getIsIOS();
|
|
109
111
|
function getIsIOS() {
|
|
110
112
|
var _window, _window2, _window3;
|
|
111
113
|
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
114
|
}
|
|
115
|
+
function createFilterWrapper(filter, fn) {
|
|
116
|
+
function wrapper(...args) {
|
|
117
|
+
return new Promise((resolve, reject) => {
|
|
118
|
+
Promise.resolve(filter(() => fn.apply(this, args), {
|
|
119
|
+
fn,
|
|
120
|
+
thisArg: this,
|
|
121
|
+
args
|
|
122
|
+
})).then(resolve).catch(reject);
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
return wrapper;
|
|
126
|
+
}
|
|
127
|
+
function debounceFilter(ms, options = {}) {
|
|
128
|
+
let timer;
|
|
129
|
+
let maxTimer;
|
|
130
|
+
let lastRejector = noop;
|
|
131
|
+
const _clearTimeout = (timer$1) => {
|
|
132
|
+
clearTimeout(timer$1);
|
|
133
|
+
lastRejector();
|
|
134
|
+
lastRejector = noop;
|
|
135
|
+
};
|
|
136
|
+
let lastInvoker;
|
|
137
|
+
const filter = (invoke$1) => {
|
|
138
|
+
const duration = toValue(ms);
|
|
139
|
+
const maxDuration = toValue(options.maxWait);
|
|
140
|
+
if (timer) _clearTimeout(timer);
|
|
141
|
+
if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {
|
|
142
|
+
if (maxTimer) {
|
|
143
|
+
_clearTimeout(maxTimer);
|
|
144
|
+
maxTimer = void 0;
|
|
145
|
+
}
|
|
146
|
+
return Promise.resolve(invoke$1());
|
|
147
|
+
}
|
|
148
|
+
return new Promise((resolve, reject) => {
|
|
149
|
+
lastRejector = options.rejectOnCancel ? reject : resolve;
|
|
150
|
+
lastInvoker = invoke$1;
|
|
151
|
+
if (maxDuration && !maxTimer) maxTimer = setTimeout(() => {
|
|
152
|
+
if (timer) _clearTimeout(timer);
|
|
153
|
+
maxTimer = void 0;
|
|
154
|
+
resolve(lastInvoker());
|
|
155
|
+
}, maxDuration);
|
|
156
|
+
timer = setTimeout(() => {
|
|
157
|
+
if (maxTimer) _clearTimeout(maxTimer);
|
|
158
|
+
maxTimer = void 0;
|
|
159
|
+
resolve(invoke$1());
|
|
160
|
+
}, duration);
|
|
161
|
+
});
|
|
162
|
+
};
|
|
163
|
+
return filter;
|
|
164
|
+
}
|
|
113
165
|
function pxValue(px) {
|
|
114
166
|
return px.endsWith("rem") ? Number.parseFloat(px) * 16 : Number.parseFloat(px);
|
|
115
167
|
}
|
|
@@ -231,6 +283,10 @@ function refAutoReset(defaultValue, afterMs = 1e4) {
|
|
|
231
283
|
};
|
|
232
284
|
});
|
|
233
285
|
}
|
|
286
|
+
// @__NO_SIDE_EFFECTS__
|
|
287
|
+
function useDebounceFn(fn, ms = 200, options = {}) {
|
|
288
|
+
return createFilterWrapper(debounceFilter(ms, options), fn);
|
|
289
|
+
}
|
|
234
290
|
function tryOnBeforeUnmount(fn, target) {
|
|
235
291
|
if (getLifeCycleTarget()) onBeforeUnmount(fn, target);
|
|
236
292
|
}
|
|
@@ -275,6 +331,12 @@ function watchImmediate(source, cb, options) {
|
|
|
275
331
|
immediate: true
|
|
276
332
|
});
|
|
277
333
|
}
|
|
334
|
+
function watchOnce(source, cb, options) {
|
|
335
|
+
return watch(source, cb, {
|
|
336
|
+
...options,
|
|
337
|
+
once: true
|
|
338
|
+
});
|
|
339
|
+
}
|
|
278
340
|
export {
|
|
279
341
|
injectLocal as a,
|
|
280
342
|
isDef as b,
|
|
@@ -292,7 +354,9 @@ export {
|
|
|
292
354
|
computedEager as n,
|
|
293
355
|
createEventHook as o,
|
|
294
356
|
pxValue as p,
|
|
357
|
+
useDebounceFn as q,
|
|
295
358
|
reactiveOmit as r,
|
|
359
|
+
watchOnce as s,
|
|
296
360
|
toArray as t,
|
|
297
361
|
useTimeoutFn as u,
|
|
298
362
|
watchImmediate as w
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as pxValue, t as toArray, w as watchImmediate, i as isClient,
|
|
2
|
-
import { shallowRef, watchEffect, toValue, computed, getCurrentInstance, ref, watch, nextTick,
|
|
1
|
+
import { p as pxValue, t as toArray, w as watchImmediate, i as isClient, c as computedWithControl, m as makeDestructurable, a as injectLocal, b as isDef, d as camelize, e as tryOnScopeDispose, f as isObject } from "./index-DDJjWaIl.js";
|
|
2
|
+
import { shallowRef, watchEffect, toValue, computed, getCurrentInstance, ref, watch, nextTick, onUpdated, onMounted, defineComponent, hasInjectionContext, unref } from "vue";
|
|
3
3
|
// @__NO_SIDE_EFFECTS__
|
|
4
4
|
function createReusableTemplate(options = {}) {
|
|
5
5
|
const { inheritAttrs = true } = options;
|
|
@@ -237,15 +237,15 @@ function useVModel(props, key, emit, options = {}) {
|
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
export {
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
240
|
+
useVModel as a,
|
|
241
|
+
useMounted as b,
|
|
242
|
+
useEventListener as c,
|
|
243
243
|
defaultWindow as d,
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
244
|
+
useResizeObserver as e,
|
|
245
|
+
useCurrentElement as f,
|
|
246
|
+
useMediaQuery as g,
|
|
247
|
+
defaultDocument as h,
|
|
248
248
|
createReusableTemplate as i,
|
|
249
249
|
onKeyStroke as o,
|
|
250
|
-
|
|
250
|
+
unrefElement as u
|
|
251
251
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const $o = [["circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M12 8V12", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }], ["path", { d: "M12.125 15.75H12M12.25 15.75C12.25 15.8881 12.1381 16 12 16C11.8619 16 11.75 15.8881 11.75 15.75C11.75 15.6119 11.8619 15.5 12 15.5C12.1381 15.5 12.25 15.6119 12.25 15.75Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "2" }]], dn = [["path", { d: "M18 9.00005C18 9.00005 13.5811 15 12 15C10.4188 15 6 9 6 9", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]], mn = [["path", { d: "M15 6C15 6 9.00001 10.4189 9 12C8.99999 13.5812 15 18 15 18", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]], Nn = [["path", { d: "M9.00005 6C9.00005 6 15 10.4189 15 12C15 13.5812 9 18 9 18", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]], CC = [["path", { d: "M17.9998 15C17.9998 15 13.5809 9.00001 11.9998 9C10.4187 8.99999 5.99985 15 5.99985 15", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]], cL = [["path", { d: "M16 2V6M8 2V6", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M13 4H11C7.22876 4 5.34315 4 4.17157 5.17157C3 6.34315 3 8.22876 3 12V14C3 17.7712 3 19.6569 4.17157 20.8284C5.34315 22 7.22876 22 11 22H13C16.7712 22 18.6569 22 19.8284 20.8284C21 19.6569 21 17.7712 21 14V12C21 8.22876 21 6.34315 19.8284 5.17157C18.6569 4 16.7712 4 13 4Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }], ["path", { d: "M3 10H21", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "2" }], ["path", { d: "M12.1258 14H12.0008M12.1258 18H12.0008M7.625 14H7.5M7.625 18H7.5M16.625 14H16.5M12.2508 14C12.2508 14.1381 12.1389 14.25 12.0008 14.25C11.8628 14.25 11.7508 14.1381 11.7508 14C11.7508 13.8619 11.8628 13.75 12.0008 13.75C12.1389 13.75 12.2508 13.8619 12.2508 14ZM12.2508 18C12.2508 18.1381 12.1389 18.25 12.0008 18.25C11.8628 18.25 11.7508 18.1381 11.7508 18C11.7508 17.8619 11.8628 17.75 12.0008 17.75C12.1389 17.75 12.2508 17.8619 12.2508 18ZM7.75 14C7.75 14.1381 7.63807 14.25 7.5 14.25C7.36193 14.25 7.25 14.1381 7.25 14C7.25 13.8619 7.36193 13.75 7.5 13.75C7.63807 13.75 7.75 13.8619 7.75 14ZM7.75 18C7.75 18.1381 7.63807 18.25 7.5 18.25C7.36193 18.25 7.25 18.1381 7.25 18C7.25 17.8619 7.36193 17.75 7.5 17.75C7.63807 17.75 7.75 17.8619 7.75 18ZM16.75 14C16.75 14.1381 16.6381 14.25 16.5 14.25C16.3619 14.25 16.25 14.1381 16.25 14C16.25 13.8619 16.3619 13.75 16.5 13.75C16.6381 13.75 16.75 13.8619 16.75 14Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "3" }]], dp = [["path", { d: "M18 6L6.00081 17.9992M17.9992 18L6 6.00085", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]], Ay = [["path", { d: "M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z", stroke: "currentColor", strokeWidth: "1.5", key: "0" }], ["path", { d: "M8 12.5L10.5 15L16 9", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }]], bV = [["path", { d: "M6 17H8", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M12 17H18", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }], ["path", { d: "M10 3H14C15.8692 3 16.8038 3 17.5 3.40192C17.9561 3.66523 18.3348 4.04394 18.5981 4.5C19 5.19615 19 6.13077 19 8C19 9.86923 19 10.8038 18.5981 11.5C18.3348 11.9561 17.9561 12.3348 17.5 12.5981C16.8038 13 15.8692 13 14 13H10C8.13077 13 7.19615 13 6.5 12.5981C6.04394 12.3348 5.66523 11.9561 5.40192 11.5C5 10.8038 5 9.86923 5 8C5 6.13077 5 5.19615 5.40192 4.5C5.66523 4.04394 6.04394 3.66523 6.5 3.40192C7.19615 3 8.13077 3 10 3Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "2" }], ["path", { d: "M6 13H18C18.93 13 19.395 13 19.7765 13.1022C20.8117 13.3796 21.6204 14.1883 21.8978 15.2235C22 15.605 22 16.07 22 17C22 17.93 22 18.395 21.8978 18.7765C21.6204 19.8117 20.8117 20.6204 19.7765 20.8978C19.395 21 18.93 21 18 21H6C5.07003 21 4.60504 21 4.22354 20.8978C3.18827 20.6204 2.37962 19.8117 2.10222 18.7765C2 18.395 2 17.93 2 17C2 16.07 2 15.605 2.10222 15.2235C2.37962 14.1883 3.18827 13.3796 4.22354 13.1022C4.60504 13 5.07003 13 6 13Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "3" }]], DB = [["path", { d: "M10.4107 19.9677C7.58942 17.858 2 13.0348 2 8.69444C2 5.82563 4.10526 3.5 7 3.5C8.5 3.5 10 4 12 6C14 4 15.5 3.5 17 3.5C19.8947 3.5 22 5.82563 22 8.69444C22 13.0348 16.4106 17.858 13.5893 19.9677C12.6399 20.6776 11.3601 20.6776 10.4107 19.9677Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]], bD = [["path", { d: "M20.5 14.469C19.3635 15.0758 18.0654 15.4199 16.687 15.4199C12.2097 15.4199 8.58014 11.7903 8.58014 7.31302C8.58014 5.9346 8.92416 4.63654 9.53102 3.5C5.50093 4.44451 2.5 8.0617 2.5 12.3798C2.5 17.4167 6.58325 21.5 11.6202 21.5C15.9383 21.5 19.5555 18.4991 20.5 14.469Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M21.5 12C21.5 6.75329 17.2467 2.5 12 2.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }]], AE = [["circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M12 16V12", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }], ["path", { d: "M12.125 8.25H12M12.25 8.25C12.25 8.11193 12.1381 8 12 8C11.8619 8 11.75 8.11193 11.75 8.25C11.75 8.38807 11.8619 8.5 12 8.5C12.1381 8.5 12.25 8.38807 12.25 8.25Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "2" }]], SK = [["path", { d: "M12 3V6", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M12 18V21", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "1" }], ["path", { d: "M21 12L18 12", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "2" }], ["path", { d: "M6 12L3 12", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "3" }], ["path", { d: "M18.3635 5.63672L16.2422 7.75804", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "4" }], ["path", { d: "M7.75804 16.2422L5.63672 18.3635", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "5" }], ["path", { d: "M18.3635 18.3635L16.2422 16.2422", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "6" }], ["path", { d: "M7.75804 7.75804L5.63672 5.63672", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "7" }]], K1 = [["path", { d: "M6.00449 12.5V12M18.0045 12.5V12M12.0045 12.5V12M7.00449 12.5C7.00449 11.9477 6.55677 11.5 6.00449 11.5C5.4522 11.5 5.00449 11.9477 5.00449 12.5C5.00449 13.0523 5.4522 13.5 6.00449 13.5C6.55677 13.5 7.00449 13.0523 7.00449 12.5ZM19.0045 12.5C19.0045 11.9477 18.5568 11.5 18.0045 11.5C17.4522 11.5 17.0045 11.9477 17.0045 12.5C17.0045 13.0523 17.4522 13.5 18.0045 13.5C18.5568 13.5 19.0045 13.0523 19.0045 12.5ZM13.0045 12.5C13.0045 11.9477 12.5568 11.5 12.0045 11.5C11.4522 11.5 11.0045 11.9477 11.0045 12.5C11.0045 13.0523 11.4522 13.5 12.0045 13.5C12.5568 13.5 13.0045 13.0523 13.0045 12.5Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]], u7 = [["path", { d: "M12 22C11.1818 22 10.4002 21.6698 8.83693 21.0095C4.94564 19.3657 3 18.5438 3 17.1613C3 16.7742 3 10.0645 3 7M12 22C12.8182 22 13.5998 21.6698 15.1631 21.0095C19.0544 19.3657 21 18.5438 21 17.1613V7M12 22L12 11.3548", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M8.32592 9.69138L5.40472 8.27785C3.80157 7.5021 3 7.11423 3 6.5C3 5.88577 3.80157 5.4979 5.40472 4.72215L8.32592 3.30862C10.1288 2.43621 11.0303 2 12 2C12.9697 2 13.8712 2.4362 15.6741 3.30862L18.5953 4.72215C20.1984 5.4979 21 5.88577 21 6.5C21 7.11423 20.1984 7.5021 18.5953 8.27785L15.6741 9.69138C13.8712 10.5638 12.9697 11 12 11C11.0303 11 10.1288 10.5638 8.32592 9.69138Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }], ["path", { d: "M6 12L8 13", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "2" }], ["path", { d: "M17 4L7 9", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "3" }]], m7 = [["path", { d: "M13 3H11C7.22876 3 5.34315 3 4.17157 4.17157C3 5.34315 3 7.22876 3 11V13C3 16.7712 3 18.6569 4.17157 19.8284C5.34315 21 7.22876 21 11 21H13C16.7712 21 18.6569 21 19.8284 19.8284C21 18.6569 21 16.7712 21 13V11C21 7.22876 21 5.34315 19.8284 4.17157C18.6569 3 16.7712 3 13 3Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M9 3V21", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }]], Ser = [["path", { d: "M20.0092 2V5.13219C20.0092 5.42605 19.6418 5.55908 19.4537 5.33333C17.6226 3.2875 14.9617 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]], pkr = [["path", { d: "M17 17L21 21", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19C15.4183 19 19 15.4183 19 11Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }]], spr = [["path", { d: "M16.9991 12C16.9991 14.7614 14.7605 17 11.9991 17C9.23766 17 6.99908 14.7614 6.99908 12C6.99908 9.23858 9.23766 7 11.9991 7C14.7605 7 16.9991 9.23858 16.9991 12Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M12.1247 3.25H11.9997M12.1242 20.75H11.9992M20.75 12.125V12M3.25 12.125V12M18.2752 5.90098L18.1868 5.81259M5.90051 18.275L5.81212 18.1866M18.0987 18.2756L18.187 18.1872M5.72429 5.9012L5.81267 5.81282M12.2497 3.25C12.2497 3.38807 12.1378 3.5 11.9997 3.5C11.8616 3.5 11.7497 3.38807 11.7497 3.25C11.7497 3.11193 11.8616 3 11.9997 3C12.1378 3 12.2497 3.11193 12.2497 3.25ZM12.2492 20.75C12.2492 20.8881 12.1373 21 11.9992 21C11.8611 21 11.7492 20.8881 11.7492 20.75C11.7492 20.6119 11.8611 20.5 11.9992 20.5C12.1373 20.5 12.2492 20.6119 12.2492 20.75ZM20.75 12.25C20.6119 12.25 20.5 12.1381 20.5 12C20.5 11.8619 20.6119 11.75 20.75 11.75C20.8881 11.75 21 11.8619 21 12C21 12.1381 20.8881 12.25 20.75 12.25ZM3.25 12.25C3.11193 12.25 3 12.1381 3 12C3 11.8619 3.11193 11.75 3.25 11.75C3.38807 11.75 3.5 11.8619 3.5 12C3.5 12.1381 3.38807 12.25 3.25 12.25ZM18.3636 5.98937C18.266 6.087 18.1077 6.087 18.01 5.98937C17.9124 5.89174 17.9124 5.73345 18.01 5.63582C18.1077 5.53819 18.266 5.53819 18.3636 5.63582C18.4612 5.73345 18.4612 5.89174 18.3636 5.98937ZM5.9889 18.3634C5.89127 18.461 5.73297 18.461 5.63534 18.3634C5.53771 18.2658 5.53771 18.1075 5.63534 18.0099C5.73297 17.9122 5.89127 17.9122 5.9889 18.0099C6.08653 18.1075 6.08653 18.2658 5.9889 18.3634ZM18.0103 18.364C17.9126 18.2663 17.9126 18.108 18.0103 18.0104C18.1079 17.9128 18.2662 17.9128 18.3638 18.0104C18.4614 18.108 18.4614 18.2663 18.3638 18.364C18.2662 18.4616 18.1079 18.4616 18.0103 18.364ZM5.6359 5.98959C5.53827 5.89196 5.53827 5.73367 5.6359 5.63604C5.73353 5.53841 5.89182 5.53841 5.98945 5.63604C6.08708 5.73367 6.08708 5.89196 5.98945 5.98959C5.89182 6.08722 5.73353 6.08722 5.6359 5.98959Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }]], TWr = [["path", { d: "M5 14L8.5 17.5L19 6.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]];
|
|
2
|
+
export {
|
|
3
|
+
$o as $,
|
|
4
|
+
AE as A,
|
|
5
|
+
CC as C,
|
|
6
|
+
DB as D,
|
|
7
|
+
K1 as K,
|
|
8
|
+
Nn as N,
|
|
9
|
+
Ser as S,
|
|
10
|
+
TWr as T,
|
|
11
|
+
dn as a,
|
|
12
|
+
SK as b,
|
|
13
|
+
bD as c,
|
|
14
|
+
dp as d,
|
|
15
|
+
bV as e,
|
|
16
|
+
cL as f,
|
|
17
|
+
Ay as g,
|
|
18
|
+
m7 as h,
|
|
19
|
+
mn as m,
|
|
20
|
+
pkr as p,
|
|
21
|
+
spr as s,
|
|
22
|
+
u7 as u
|
|
23
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, withCtx, createVNode, createElementVNode, toDisplayString, createTextVNode, createCommentVNode, createElementBlock, renderSlot } from "vue";
|
|
2
|
+
import { H as HugeiconsIcon } from "./HugeiconsIcon.vue-By2RXWWz.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./Card.vue_vue_type_script_setup_true_lang-D0pFVflK.js";
|
|
4
|
+
import { _ as _sfc_main$2 } from "./CardContent.vue_vue_type_script_setup_true_lang-dBzO0q1t.js";
|
|
5
|
+
import { _ as _sfc_main$3 } from "./CardText.vue_vue_type_script_setup_true_lang-DbDhSd3h.js";
|
|
6
|
+
const _hoisted_1 = { class: "flex w-full flex-1 items-center justify-between text-center sm:w-auto sm:text-left" };
|
|
7
|
+
const _hoisted_2 = { class: "flex flex-col" };
|
|
8
|
+
const _hoisted_3 = { class: "text-base font-bold text-[var(--text-primary-light)] dark:text-[var(--text-primary-dark)]" };
|
|
9
|
+
const _hoisted_4 = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "ml-4"
|
|
12
|
+
};
|
|
13
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
|
+
__name: "InfoCard",
|
|
15
|
+
props: {
|
|
16
|
+
icon: { type: Object, required: true },
|
|
17
|
+
title: { type: String, default: "" },
|
|
18
|
+
description: { type: [String, Number], default: "" }
|
|
19
|
+
},
|
|
20
|
+
setup(__props) {
|
|
21
|
+
const props = __props;
|
|
22
|
+
return (_ctx, _cache) => {
|
|
23
|
+
return openBlock(), createBlock(unref(_sfc_main$1), { class: "flex flex-col items-center !p-4 sm:flex-row" }, {
|
|
24
|
+
default: withCtx(() => [
|
|
25
|
+
createVNode(unref(_sfc_main$2), { class: "flex w-full flex-col items-center gap-0 !p-0 sm:flex-row" }, {
|
|
26
|
+
default: withCtx(() => [
|
|
27
|
+
createVNode(unref(_sfc_main$1), {
|
|
28
|
+
color: "gray",
|
|
29
|
+
class: "mb-3 mr-0 flex h-12 w-12 flex-shrink-0 items-center justify-center !p-0 sm:mb-0 sm:mr-4"
|
|
30
|
+
}, {
|
|
31
|
+
default: withCtx(() => [
|
|
32
|
+
createVNode(unref(HugeiconsIcon), {
|
|
33
|
+
icon: props.icon,
|
|
34
|
+
class: "size-5"
|
|
35
|
+
}, null, 8, ["icon"])
|
|
36
|
+
]),
|
|
37
|
+
_: 1
|
|
38
|
+
}),
|
|
39
|
+
createElementVNode("div", _hoisted_1, [
|
|
40
|
+
createElementVNode("div", _hoisted_2, [
|
|
41
|
+
createElementVNode("span", _hoisted_3, toDisplayString(props.title), 1),
|
|
42
|
+
props.description ? (openBlock(), createBlock(unref(_sfc_main$3), { key: 0 }, {
|
|
43
|
+
default: withCtx(() => [
|
|
44
|
+
createTextVNode(toDisplayString(props.description), 1)
|
|
45
|
+
]),
|
|
46
|
+
_: 1
|
|
47
|
+
})) : createCommentVNode("", true)
|
|
48
|
+
]),
|
|
49
|
+
_ctx.$slots.right ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
50
|
+
renderSlot(_ctx.$slots, "right")
|
|
51
|
+
])) : createCommentVNode("", true)
|
|
52
|
+
])
|
|
53
|
+
]),
|
|
54
|
+
_: 3
|
|
55
|
+
})
|
|
56
|
+
]),
|
|
57
|
+
_: 3
|
|
58
|
+
});
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
export {
|
|
63
|
+
_sfc_main as InfoCard,
|
|
64
|
+
_sfc_main as default
|
|
65
|
+
};
|
package/dist/input.js
CHANGED
package/dist/label.js
CHANGED
package/dist/landing.js
CHANGED
|
@@ -1,239 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
__name: "LandingNavbar",
|
|
6
|
-
props: {
|
|
7
|
-
class: {},
|
|
8
|
-
containerClass: {},
|
|
9
|
-
leftClass: {},
|
|
10
|
-
rightClass: {}
|
|
11
|
-
},
|
|
12
|
-
setup(__props) {
|
|
13
|
-
const props = __props;
|
|
14
|
-
return (_ctx, _cache) => {
|
|
15
|
-
return openBlock(), createElementBlock("header", {
|
|
16
|
-
class: normalizeClass(unref(cn)("z-30 flex h-20 w-full flex-wrap sm:flex-nowrap sm:justify-start", props.class))
|
|
17
|
-
}, [
|
|
18
|
-
createElementVNode("nav", {
|
|
19
|
-
class: normalizeClass(unref(cn)("mx-auto flex max-w-6xl basis-full items-center justify-between px-3 sm:px-6 lg:px-8", props.containerClass))
|
|
20
|
-
}, [
|
|
21
|
-
createElementVNode("div", {
|
|
22
|
-
class: normalizeClass(unref(cn)("flex items-center", props.leftClass))
|
|
23
|
-
}, [
|
|
24
|
-
renderSlot(_ctx.$slots, "left")
|
|
25
|
-
], 2),
|
|
26
|
-
createElementVNode("div", {
|
|
27
|
-
class: normalizeClass(unref(cn)("flex items-center justify-end gap-3", props.rightClass))
|
|
28
|
-
}, [
|
|
29
|
-
renderSlot(_ctx.$slots, "right")
|
|
30
|
-
], 2)
|
|
31
|
-
], 2)
|
|
32
|
-
], 2);
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
37
|
-
__name: "LandingContent",
|
|
38
|
-
props: {
|
|
39
|
-
class: {},
|
|
40
|
-
containerClass: {}
|
|
41
|
-
},
|
|
42
|
-
setup(__props) {
|
|
43
|
-
const props = __props;
|
|
44
|
-
return (_ctx, _cache) => {
|
|
45
|
-
return openBlock(), createElementBlock("main", {
|
|
46
|
-
class: normalizeClass(unref(cn)("relative z-10 flex-1", props.class))
|
|
47
|
-
}, [
|
|
48
|
-
createElementVNode("div", {
|
|
49
|
-
class: normalizeClass(unref(cn)("mx-auto w-full max-w-6xl px-3 py-6 sm:px-6 lg:px-8 lg:py-14", props.containerClass))
|
|
50
|
-
}, [
|
|
51
|
-
renderSlot(_ctx.$slots, "default")
|
|
52
|
-
], 2)
|
|
53
|
-
], 2);
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
58
|
-
__name: "LandingShell",
|
|
59
|
-
props: {
|
|
60
|
-
showBackground: { type: Boolean, default: true },
|
|
61
|
-
rootClass: {},
|
|
62
|
-
navbarClass: {},
|
|
63
|
-
mainClass: {},
|
|
64
|
-
contentContainerClass: {},
|
|
65
|
-
footerClass: {}
|
|
66
|
-
},
|
|
67
|
-
setup(__props) {
|
|
68
|
-
const props = __props;
|
|
69
|
-
const slots = useSlots();
|
|
70
|
-
const hasStructuredSlots = computed(() => {
|
|
71
|
-
return Boolean(slots.navbar || slots.content || slots.footer);
|
|
72
|
-
});
|
|
73
|
-
return (_ctx, _cache) => {
|
|
74
|
-
return openBlock(), createElementBlock("div", {
|
|
75
|
-
class: normalizeClass(unref(cn)("relative flex min-h-screen flex-col bg-background text-foreground", props.rootClass))
|
|
76
|
-
}, [
|
|
77
|
-
props.showBackground ? (openBlock(), createBlock(BackgroundGrid, { key: 0 })) : createCommentVNode("", true),
|
|
78
|
-
hasStructuredSlots.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
79
|
-
createElementVNode("header", {
|
|
80
|
-
class: normalizeClass(unref(cn)("relative z-10", props.navbarClass))
|
|
81
|
-
}, [
|
|
82
|
-
renderSlot(_ctx.$slots, "navbar")
|
|
83
|
-
], 2),
|
|
84
|
-
createElementVNode("main", {
|
|
85
|
-
class: normalizeClass(unref(cn)("relative z-10 flex-1", props.mainClass))
|
|
86
|
-
}, [
|
|
87
|
-
createElementVNode("div", {
|
|
88
|
-
class: normalizeClass(unref(cn)("mx-auto w-full max-w-6xl px-3 py-6 sm:px-6 lg:px-8 lg:py-14", props.contentContainerClass))
|
|
89
|
-
}, [
|
|
90
|
-
renderSlot(_ctx.$slots, "content", {}, () => [
|
|
91
|
-
renderSlot(_ctx.$slots, "default")
|
|
92
|
-
])
|
|
93
|
-
], 2)
|
|
94
|
-
], 2),
|
|
95
|
-
createElementVNode("footer", {
|
|
96
|
-
class: normalizeClass(unref(cn)("relative z-10", props.footerClass))
|
|
97
|
-
}, [
|
|
98
|
-
renderSlot(_ctx.$slots, "footer")
|
|
99
|
-
], 2)
|
|
100
|
-
], 64)) : renderSlot(_ctx.$slots, "default", { key: 2 })
|
|
101
|
-
], 2);
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
});
|
|
105
|
-
const _hoisted_1 = { class: "grid grid-cols-1 gap-8 md:grid-cols-4" };
|
|
106
|
-
const _hoisted_2 = { class: "mb-4 text-lg font-semibold tracking-tight text-foreground" };
|
|
107
|
-
const _hoisted_3 = {
|
|
108
|
-
key: 0,
|
|
109
|
-
class: "max-w-sm text-sm leading-relaxed text-muted-foreground"
|
|
110
|
-
};
|
|
111
|
-
const _hoisted_4 = { class: "md:text-right" };
|
|
112
|
-
const _hoisted_5 = { class: "mb-4 font-semibold text-foreground" };
|
|
113
|
-
const _hoisted_6 = { class: "space-y-3 text-sm" };
|
|
114
|
-
const _hoisted_7 = { class: "mb-4 font-semibold text-foreground" };
|
|
115
|
-
const _hoisted_8 = { class: "space-y-3 text-sm" };
|
|
116
|
-
const _hoisted_9 = { key: 0 };
|
|
117
|
-
const _hoisted_10 = ["href"];
|
|
118
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
119
|
-
__name: "LandingFooter",
|
|
120
|
-
props: {
|
|
121
|
-
appName: {},
|
|
122
|
-
appDescription: { default: "" },
|
|
123
|
-
sections: { default: () => [] },
|
|
124
|
-
linkComponent: { default: "a" },
|
|
125
|
-
copyrightName: { default: "" },
|
|
126
|
-
allRightsReservedText: { default: "All rights reserved." },
|
|
127
|
-
madeByText: { default: "" },
|
|
128
|
-
madeByName: { default: "" },
|
|
129
|
-
madeByLink: { default: "" },
|
|
130
|
-
year: { default: () => (/* @__PURE__ */ new Date()).getFullYear() },
|
|
131
|
-
showBottomBar: { type: Boolean, default: true },
|
|
132
|
-
class: {},
|
|
133
|
-
containerClass: {},
|
|
134
|
-
brandClass: {},
|
|
135
|
-
sectionsClass: {},
|
|
136
|
-
bottomBarClass: {}
|
|
137
|
-
},
|
|
138
|
-
setup(__props) {
|
|
139
|
-
const props = __props;
|
|
140
|
-
const resolvedCopyrightName = computed(() => props.copyrightName || props.appName);
|
|
141
|
-
const getLinkProps = (link) => {
|
|
142
|
-
const sharedProps = link.newTab ? { target: "_blank", rel: "noopener noreferrer" } : {};
|
|
143
|
-
if (props.linkComponent === "a") {
|
|
144
|
-
return {
|
|
145
|
-
href: link.href ?? "#",
|
|
146
|
-
...sharedProps
|
|
147
|
-
};
|
|
148
|
-
}
|
|
149
|
-
return {
|
|
150
|
-
to: link.to ?? link.href ?? "/",
|
|
151
|
-
...sharedProps
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
return (_ctx, _cache) => {
|
|
155
|
-
var _a, _b, _c;
|
|
156
|
-
return openBlock(), createElementBlock("footer", {
|
|
157
|
-
class: normalizeClass(unref(cn)("relative z-10 border-t border-border bg-card", props.class))
|
|
158
|
-
}, [
|
|
159
|
-
createElementVNode("div", {
|
|
160
|
-
class: normalizeClass(unref(cn)("mx-auto max-w-7xl px-4 py-12 sm:px-6 lg:px-8", props.containerClass))
|
|
161
|
-
}, [
|
|
162
|
-
createElementVNode("div", _hoisted_1, [
|
|
163
|
-
createElementVNode("div", {
|
|
164
|
-
class: normalizeClass(unref(cn)("col-span-1 md:col-span-2", props.brandClass))
|
|
165
|
-
}, [
|
|
166
|
-
createElementVNode("div", _hoisted_2, toDisplayString(props.appName), 1),
|
|
167
|
-
props.appDescription ? (openBlock(), createElementBlock("p", _hoisted_3, toDisplayString(props.appDescription), 1)) : createCommentVNode("", true)
|
|
168
|
-
], 2),
|
|
169
|
-
((_a = props.sections) == null ? void 0 : _a.length) === 1 ? (openBlock(), createElementBlock("div", {
|
|
170
|
-
key: 0,
|
|
171
|
-
class: normalizeClass(unref(cn)("min-w-0 md:col-span-2 md:flex md:justify-end", props.sectionsClass))
|
|
172
|
-
}, [
|
|
173
|
-
createElementVNode("div", _hoisted_4, [
|
|
174
|
-
createElementVNode("h3", _hoisted_5, toDisplayString((_b = props.sections[0]) == null ? void 0 : _b.title), 1),
|
|
175
|
-
createElementVNode("ul", _hoisted_6, [
|
|
176
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList((_c = props.sections[0]) == null ? void 0 : _c.links, (link) => {
|
|
177
|
-
return openBlock(), createElementBlock("li", {
|
|
178
|
-
key: link.id
|
|
179
|
-
}, [
|
|
180
|
-
(openBlock(), createBlock(resolveDynamicComponent(props.linkComponent), mergeProps({ ref_for: true }, getLinkProps(link), { class: "text-muted-foreground transition-colors duration-200 hover:text-foreground" }), {
|
|
181
|
-
default: withCtx(() => [
|
|
182
|
-
createTextVNode(toDisplayString(link.label), 1)
|
|
183
|
-
]),
|
|
184
|
-
_: 2
|
|
185
|
-
}, 1040))
|
|
186
|
-
]);
|
|
187
|
-
}), 128))
|
|
188
|
-
])
|
|
189
|
-
])
|
|
190
|
-
], 2)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(props.sections, (section) => {
|
|
191
|
-
return openBlock(), createElementBlock("div", {
|
|
192
|
-
key: section.id,
|
|
193
|
-
class: normalizeClass(unref(cn)("min-w-0", props.sectionsClass))
|
|
194
|
-
}, [
|
|
195
|
-
createElementVNode("h3", _hoisted_7, toDisplayString(section.title), 1),
|
|
196
|
-
createElementVNode("ul", _hoisted_8, [
|
|
197
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(section.links, (link) => {
|
|
198
|
-
return openBlock(), createElementBlock("li", {
|
|
199
|
-
key: link.id
|
|
200
|
-
}, [
|
|
201
|
-
(openBlock(), createBlock(resolveDynamicComponent(props.linkComponent), mergeProps({ ref_for: true }, getLinkProps(link), { class: "text-muted-foreground transition-colors duration-200 hover:text-foreground" }), {
|
|
202
|
-
default: withCtx(() => [
|
|
203
|
-
createTextVNode(toDisplayString(link.label), 1)
|
|
204
|
-
]),
|
|
205
|
-
_: 2
|
|
206
|
-
}, 1040))
|
|
207
|
-
]);
|
|
208
|
-
}), 128))
|
|
209
|
-
])
|
|
210
|
-
], 2);
|
|
211
|
-
}), 128))
|
|
212
|
-
]),
|
|
213
|
-
props.showBottomBar ? (openBlock(), createElementBlock("div", {
|
|
214
|
-
key: 0,
|
|
215
|
-
class: normalizeClass(unref(cn)("mt-12 flex flex-col items-center justify-between gap-4 border-t border-border pt-8 text-sm text-muted-foreground md:flex-row", props.bottomBarClass))
|
|
216
|
-
}, [
|
|
217
|
-
createElementVNode("div", null, " © " + toDisplayString(props.year) + " " + toDisplayString(resolvedCopyrightName.value) + ". " + toDisplayString(props.allRightsReservedText), 1),
|
|
218
|
-
props.madeByText && props.madeByName && props.madeByLink ? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
219
|
-
createTextVNode(toDisplayString(props.madeByText) + " ", 1),
|
|
220
|
-
createElementVNode("a", {
|
|
221
|
-
href: props.madeByLink,
|
|
222
|
-
target: "_blank",
|
|
223
|
-
rel: "noopener noreferrer",
|
|
224
|
-
class: "font-medium text-foreground hover:underline"
|
|
225
|
-
}, toDisplayString(props.madeByName), 9, _hoisted_10)
|
|
226
|
-
])) : createCommentVNode("", true)
|
|
227
|
-
], 2)) : createCommentVNode("", true)
|
|
228
|
-
], 2)
|
|
229
|
-
], 2);
|
|
230
|
-
};
|
|
231
|
-
}
|
|
232
|
-
});
|
|
1
|
+
import { _, _ as _2 } from "./LandingNavbar.vue_vue_type_script_setup_true_lang-0jX2tmdb.js";
|
|
2
|
+
import { _ as _3 } from "./LandingContent.vue_vue_type_script_setup_true_lang-Wgtl_yeD.js";
|
|
3
|
+
import { _ as _4 } from "./LandingShell.vue_vue_type_script_setup_true_lang-BXwdQR24.js";
|
|
4
|
+
import { _ as _5 } from "./LandingFooter.vue_vue_type_script_setup_true_lang-CDy30mYg.js";
|
|
233
5
|
export {
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
6
|
+
_3 as LandingContent,
|
|
7
|
+
_5 as LandingFooter,
|
|
8
|
+
_ as LandingNavbar,
|
|
9
|
+
_4 as LandingShell,
|
|
10
|
+
_2 as default
|
|
239
11
|
};
|