@stachelock/ui 0.6.6 → 0.6.8
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/{CalendarHeader.vue_vue_type_script_setup_true_lang-CA_C4dmn.js → CalendarHeader.vue_vue_type_script_setup_true_lang-CMBsY5Y0.js} +1 -1
- package/dist/{ComboboxInput.vue_vue_type_script_setup_true_lang-D52gzkAa.js → ComboboxInput.vue_vue_type_script_setup_true_lang-DacJtKYo.js} +141 -125
- package/dist/{DynamicForm.vue_vue_type_script_setup_true_lang-BR8Pq7Kw.js → DynamicForm.vue_vue_type_script_setup_true_lang-Bq8Gvhsc.js} +1 -1
- package/dist/{DynamicFormField.vue_vue_type_script_setup_true_lang-BCVmqg_n.js → DynamicFormField.vue_vue_type_script_setup_true_lang-CdNtWWlT.js} +4 -4
- package/dist/{InlineTabs.vue_vue_type_script_setup_true_lang-slNq2sot.js → InlineTabs.vue_vue_type_script_setup_true_lang-B6A0zsE6.js} +1 -1
- package/dist/{SelectInput.vue_vue_type_script_setup_true_lang-COZuuSFS.js → SelectInput.vue_vue_type_script_setup_true_lang-DFfKsmvj.js} +96 -86
- package/dist/{SelectTextInput.vue_vue_type_script_setup_true_lang-BVaViHPl.js → SelectTextInput.vue_vue_type_script_setup_true_lang-C3BGLjY1.js} +1 -1
- package/dist/{TabGroup.vue_vue_type_script_setup_true_lang-pEKm-uUq.js → TabGroup.vue_vue_type_script_setup_true_lang-BzqtAqbr.js} +1 -1
- package/dist/{TabGroupUnderline.vue_vue_type_script_setup_true_lang--IKyRPkX.js → TabGroupUnderline.vue_vue_type_script_setup_true_lang-C6OYRDCq.js} +1 -1
- package/dist/{TabsInPills.vue_vue_type_script_setup_true_lang-EG0nj4F6.js → TabsInPills.vue_vue_type_script_setup_true_lang-C7T3PUnB.js} +1 -1
- package/dist/TextInput-C5IzX7m_.js +131 -0
- package/dist/calendars/CalendarDashboard.js +1 -1
- package/dist/calendars/CalendarHeader.js +1 -1
- package/dist/forms/DynamicForm.js +1 -1
- package/dist/forms/DynamicFormField.js +1 -1
- package/dist/index.js +132 -132
- package/dist/inputs/AddressInput.js +148 -146
- package/dist/inputs/ComboboxInput.js +1 -1
- package/dist/inputs/SelectInput.js +1 -1
- package/dist/inputs/SelectTextInput.js +1 -1
- package/dist/inputs/TextInput.js +3 -108
- package/dist/src/components/inputs/AddressInput.d.ts +6 -0
- package/dist/src/components/inputs/ComboboxInput.d.ts +3 -0
- package/dist/src/components/inputs/TextInput.d.ts +1 -0
- package/dist/src/types/ui.d.ts +5 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/validation.d.ts +11 -0
- package/dist/style.css +1 -1
- package/dist/tabs/InlineTabs.js +1 -1
- package/dist/tabs/TabGroup.js +1 -1
- package/dist/tabs/TabGroupUnderline.js +1 -1
- package/dist/tabs/TabsInPills.js +1 -1
- package/dist/tabs/index.js +4 -4
- package/dist/ui.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as en, g as tn, s as sn } from "./id-DafBB_QF.js";
|
|
2
|
-
import { defineAsyncComponent as Q, defineComponent as
|
|
3
|
-
import q from "./
|
|
2
|
+
import { defineAsyncComponent as Q, defineComponent as T, ref as te, watch as oe, createBlock as L, openBlock as o, unref as I, withCtx as C, createVNode as $, createElementVNode as s, normalizeStyle as F, createTextVNode as R, withDirectives as ae, vModelText as ie, createElementBlock as u, Fragment as U, renderList as H, normalizeClass as z, toDisplayString as k, computed as p, createCommentVNode as w, resolveDynamicComponent as J, toRefs as Ie, mergeProps as Se, withKeys as de, withModifiers as he, renderSlot as S, h as G, reactive as ze, useSlots as ye, Transition as ce, vShow as Le, inject as Te, createStaticVNode as De } from "vue";
|
|
3
|
+
import { T as q } from "./TextInput-C5IzX7m_.js";
|
|
4
4
|
import { useCalendar as an } from "./composables/useCalendar.js";
|
|
5
|
-
import { u as
|
|
5
|
+
import { u as Me, v as re } from "./useCollectionEditor-BYyoAT0U.js";
|
|
6
6
|
import { C as rn } from "./useCollectionEditor-BYyoAT0U.js";
|
|
7
7
|
import { c as dn, u as cn } from "./useEventSegments-B-r_8zCW.js";
|
|
8
8
|
import { useFormValidation as mn } from "./composables/useFormValidation.js";
|
|
@@ -10,7 +10,7 @@ import { U as pn, W as gn, d as hn, i as yn, u as xn } from "./useMap-BGg0H582.j
|
|
|
10
10
|
import { useModal as vn } from "./composables/useModal.js";
|
|
11
11
|
import { useNotifications as wn } from "./composables/useNotifications.js";
|
|
12
12
|
import { g as _n, u as Cn } from "./useSimpleTabs-CSgkChEU.js";
|
|
13
|
-
import { f as Sn, i as zn, s as Ln, a as
|
|
13
|
+
import { f as Sn, i as zn, s as Ln, a as Tn, t as Dn, c as Mn, b as Bn, u as Pn } from "./useStringTransform-CSr7nZWg.js";
|
|
14
14
|
import { useTabs as An } from "./composables/useTabs.js";
|
|
15
15
|
import { useTheme as xe, presetThemes as Be } from "./composables/useTheme.js";
|
|
16
16
|
import { _ as Vn } from "./LottieAnimation.vue_vue_type_script_setup_true_lang-C0R4ADBb.js";
|
|
@@ -27,7 +27,7 @@ import { _ as Xn } from "./UiTable.vue_vue_type_script_setup_true_lang-xGAiJ9rS.
|
|
|
27
27
|
import { _ as ei } from "./UiTransition.vue_vue_type_script_setup_true_lang-C4jb9I-3.js";
|
|
28
28
|
import { UserIcon as Ae, XMarkIcon as Ee, XCircleIcon as Ve } from "@heroicons/vue/24/solid";
|
|
29
29
|
import Ne from "./components/CloudinaryImage.js";
|
|
30
|
-
import { _ as si } from "./CalendarHeader.vue_vue_type_script_setup_true_lang-
|
|
30
|
+
import { _ as si } from "./CalendarHeader.vue_vue_type_script_setup_true_lang-CMBsY5Y0.js";
|
|
31
31
|
import { _ as ai } from "./DayCalendar.vue_vue_type_script_setup_true_lang-D-4jcUvI.js";
|
|
32
32
|
import { _ as ri } from "./EventCard.vue_vue_type_script_setup_true_lang-B3TP-mWX.js";
|
|
33
33
|
import { _ as ii } from "./EventsList.vue_vue_type_script_setup_true_lang-BTIoGr_e.js";
|
|
@@ -41,7 +41,7 @@ import { _ as wi } from "./SparklineChart.vue_vue_type_script_setup_true_lang-Bl
|
|
|
41
41
|
import { _ as _i } from "./StatCard.vue_vue_type_script_setup_true_lang-B5SuaSXL.js";
|
|
42
42
|
import { format as Y, differenceInYears as se, differenceInMonths as be, isValid as K, parseISO as ee } from "date-fns";
|
|
43
43
|
import { _ as Fe } from "./AddDeleteButtonGroup.vue_vue_type_script_setup_true_lang-6taLcPq0.js";
|
|
44
|
-
import { _ as Ue } from "./DynamicForm.vue_vue_type_script_setup_true_lang-
|
|
44
|
+
import { _ as Ue } from "./DynamicForm.vue_vue_type_script_setup_true_lang-Bq8Gvhsc.js";
|
|
45
45
|
import { _ as Re } from "./AlertModal.vue_vue_type_script_setup_true_lang-DzhVQdx4.js";
|
|
46
46
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
47
47
|
import { _ as Ii } from "./ComingSoon.vue_vue_type_script_setup_true_lang-CJ8FXE42.js";
|
|
@@ -50,10 +50,10 @@ import P from "dayjs";
|
|
|
50
50
|
import ve from "dayjs/plugin/utc";
|
|
51
51
|
import ke from "dayjs/plugin/timezone";
|
|
52
52
|
import He from "dayjs/plugin/relativeTime";
|
|
53
|
-
import { _ as
|
|
53
|
+
import { _ as Ti } from "./DynamicFormField.vue_vue_type_script_setup_true_lang-CdNtWWlT.js";
|
|
54
54
|
import { _ as Oe } from "./CheckboxInput.vue_vue_type_script_setup_true_lang-BikR9rgi.js";
|
|
55
|
-
import { _ as We } from "./ComboboxInput.vue_vue_type_script_setup_true_lang-
|
|
56
|
-
import { _ as
|
|
55
|
+
import { _ as We } from "./ComboboxInput.vue_vue_type_script_setup_true_lang-DacJtKYo.js";
|
|
56
|
+
import { _ as Mi } from "./DatepickerInput.vue_vue_type_style_index_0_lang-DbI3619T.js";
|
|
57
57
|
import { _ as Pi } from "./EmailInput.vue_vue_type_script_setup_true_lang-BicPMIop.js";
|
|
58
58
|
import { _ as Ai } from "./EmptyInput.vue_vue_type_script_setup_true_lang-FWDCFF2c.js";
|
|
59
59
|
import { _ as Vi } from "./FileDropzoneInput.vue_vue_type_script_setup_true_lang-BJR-_ngq.js";
|
|
@@ -61,8 +61,8 @@ import { _ as Fi } from "./HiddenInput.vue_vue_type_script_setup_true_lang-PtGZ4
|
|
|
61
61
|
import { _ as Ri } from "./ImageDropzoneInput.vue_vue_type_script_setup_true_lang-7JWDfxD2.js";
|
|
62
62
|
import { _ as Ge } from "./TextAreaInput.vue_vue_type_script_setup_true_lang-Cf0MJobG.js";
|
|
63
63
|
import { _ as qe } from "./SwitchInput.vue_vue_type_script_setup_true_lang-D5Es9AjF.js";
|
|
64
|
-
import { _ as ue } from "./SelectInput.vue_vue_type_script_setup_true_lang-
|
|
65
|
-
import { _ as Oi } from "./SelectTextInput.vue_vue_type_script_setup_true_lang-
|
|
64
|
+
import { _ as ue } from "./SelectInput.vue_vue_type_script_setup_true_lang-DFfKsmvj.js";
|
|
65
|
+
import { _ as Oi } from "./SelectTextInput.vue_vue_type_script_setup_true_lang-C3BGLjY1.js";
|
|
66
66
|
import { _ as Gi } from "./SwitchInputGroup.vue_vue_type_script_setup_true_lang-DigNYqVZ.js";
|
|
67
67
|
import { _ as Yi } from "./TagifyInput.vue_vue_type_script_setup_true_lang-BF2mK8JC.js";
|
|
68
68
|
import { _ as Zi } from "./DashboardLayout.vue_vue_type_script_setup_true_lang-BAx4gKqh.js";
|
|
@@ -79,12 +79,12 @@ import { _ as hd } from "./NotificationContainer.vue_vue_type_style_index_0_lang
|
|
|
79
79
|
import { _ as xd } from "./NotificationToast.vue_vue_type_script_setup_true_lang-BBWpW4km.js";
|
|
80
80
|
import { SwatchIcon as Ye, XMarkIcon as Ke, PhoneIcon as me, EnvelopeIcon as Ze, GlobeAltIcon as we, CakeIcon as $e, CalendarDaysIcon as Je, BriefcaseIcon as Xe, BuildingOfficeIcon as Qe, LinkIcon as et, MapPinIcon as fe, BuildingLibraryIcon as tt, UserGroupIcon as st } from "@heroicons/vue/24/outline";
|
|
81
81
|
import { _ as vd } from "./StepperPanels.vue_vue_type_script_setup_true_lang-DPLQ9mQn.js";
|
|
82
|
-
import { _ as wd } from "./InlineTabs.vue_vue_type_script_setup_true_lang-
|
|
83
|
-
import { _ as _d } from "./TabGroup.vue_vue_type_script_setup_true_lang-
|
|
84
|
-
import { _ as Id } from "./TabGroupUnderline.vue_vue_type_script_setup_true_lang
|
|
85
|
-
import { _ as zd } from "./TabsInPills.vue_vue_type_script_setup_true_lang-
|
|
86
|
-
import { _ as
|
|
87
|
-
import { _ as
|
|
82
|
+
import { _ as wd } from "./InlineTabs.vue_vue_type_script_setup_true_lang-B6A0zsE6.js";
|
|
83
|
+
import { _ as _d } from "./TabGroup.vue_vue_type_script_setup_true_lang-BzqtAqbr.js";
|
|
84
|
+
import { _ as Id } from "./TabGroupUnderline.vue_vue_type_script_setup_true_lang-C6OYRDCq.js";
|
|
85
|
+
import { _ as zd } from "./TabsInPills.vue_vue_type_script_setup_true_lang-C7T3PUnB.js";
|
|
86
|
+
import { _ as Td } from "./BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-C8msTrTn.js";
|
|
87
|
+
import { _ as Md } from "./CardWrapper.vue_vue_type_script_setup_true_lang-D59QBAi9.js";
|
|
88
88
|
import { _ as Pd } from "./DisclosureWrapper.vue_vue_type_script_setup_true_lang-CgHPOC-w.js";
|
|
89
89
|
import { _ as Ad } from "./FormErrorWrapper.vue_vue_type_script_setup_true_lang-D7ZAgfPs.js";
|
|
90
90
|
import { TransitionRoot as lt, Dialog as at, TransitionChild as pe, DialogPanel as ot, DialogTitle as rt } from "@headlessui/vue";
|
|
@@ -105,8 +105,8 @@ import { default as w0 } from "./loading/SmartLoadingIndicator.js";
|
|
|
105
105
|
import { default as _0 } from "./maps/GoogleMap.js";
|
|
106
106
|
import { default as I0 } from "./maps/UiInfoWindow.js";
|
|
107
107
|
import { default as z0 } from "./maps/UiMap.js";
|
|
108
|
-
import { default as
|
|
109
|
-
import { default as
|
|
108
|
+
import { default as T0 } from "./maps/UiMapMarker.js";
|
|
109
|
+
import { default as M0 } from "./modals/ImageCropperModal.js";
|
|
110
110
|
var nt = /* @__PURE__ */ ((t) => (t.Verified = "verified", t.Error = "error", t.Unverified = "unverified", t.Pending = "pending", t))(nt || {});
|
|
111
111
|
function Sr(t) {
|
|
112
112
|
return ["street", "city", "state", "zipcode", "country"].includes(t);
|
|
@@ -376,7 +376,7 @@ function ut(t) {
|
|
|
376
376
|
`, e += `}
|
|
377
377
|
`, e;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function Tr(t) {
|
|
380
380
|
let e = `export default {
|
|
381
381
|
`;
|
|
382
382
|
return e += ` prefix: "sl-",
|
|
@@ -428,7 +428,7 @@ function mt(t) {
|
|
|
428
428
|
const a = parseInt(e.slice(0, 2), 16), l = parseInt(e.slice(2, 4), 16), c = parseInt(e.slice(4, 6), 16);
|
|
429
429
|
return Number.isNaN(a) || Number.isNaN(l) || Number.isNaN(c) ? null : `${a} ${l} ${c}`;
|
|
430
430
|
}
|
|
431
|
-
const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto" }, pt = { class: "sl-flex sl-min-h-full sl-items-center sl-justify-center sl-p-4" }, gt = { class: "sl-bg-gradient-to-r sl-from-gray-900 sl-to-gray-800 sl-px-6 sl-py-4" }, ht = { class: "sl-flex sl-items-center sl-justify-between" }, yt = { class: "sl-flex sl-items-center sl-gap-3" }, xt = { class: "sl-p-6 sl-space-y-6" }, bt = { class: "sl-flex sl-items-center sl-gap-4" }, vt = { class: "sl-relative" }, kt = { class: "sl-flex-1" }, wt = { class: "sl-grid sl-grid-cols-2 sl-gap-2" }, $t = ["onClick"], _t = { class: "sl-min-w-0" }, Ct = { class: "sl-text-sm sl-font-medium sl-text-gray-900 dark:sl-text-white sl-truncate" }, It = { class: "sl-text-xs sl-text-gray-500 dark:sl-text-gray-400 sl-truncate" }, St = { class: "sl-rounded-xl sl-border sl-border-gray-200 dark:sl-border-slate-600 sl-bg-gray-50 dark:sl-bg-slate-900 sl-p-4 sl-space-y-4" }, zt = { class: "sl-flex sl-flex-wrap sl-gap-2" }, Lt = { class: "sl-flex sl-flex-wrap sl-gap-2" },
|
|
431
|
+
const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto" }, pt = { class: "sl-flex sl-min-h-full sl-items-center sl-justify-center sl-p-4" }, gt = { class: "sl-bg-gradient-to-r sl-from-gray-900 sl-to-gray-800 sl-px-6 sl-py-4" }, ht = { class: "sl-flex sl-items-center sl-justify-between" }, yt = { class: "sl-flex sl-items-center sl-gap-3" }, xt = { class: "sl-p-6 sl-space-y-6" }, bt = { class: "sl-flex sl-items-center sl-gap-4" }, vt = { class: "sl-relative" }, kt = { class: "sl-flex-1" }, wt = { class: "sl-grid sl-grid-cols-2 sl-gap-2" }, $t = ["onClick"], _t = { class: "sl-min-w-0" }, Ct = { class: "sl-text-sm sl-font-medium sl-text-gray-900 dark:sl-text-white sl-truncate" }, It = { class: "sl-text-xs sl-text-gray-500 dark:sl-text-gray-400 sl-truncate" }, St = { class: "sl-rounded-xl sl-border sl-border-gray-200 dark:sl-border-slate-600 sl-bg-gray-50 dark:sl-bg-slate-900 sl-p-4 sl-space-y-4" }, zt = { class: "sl-flex sl-flex-wrap sl-gap-2" }, Lt = { class: "sl-flex sl-flex-wrap sl-gap-2" }, Tt = { class: "sl-flex sl-items-center sl-gap-4" }, Dt = { class: "sl-flex sl-items-center sl-gap-3" }, Mt = { class: "sl-flex sl-rounded-lg sl-overflow-hidden sl-shadow-sm dark:sl-shadow-slate-900/50" }, Bt = { class: "sl-border-t sl-border-gray-200 dark:sl-border-slate-700 sl-bg-gray-50 dark:sl-bg-slate-900 sl-px-6 sl-py-4" }, Pt = { class: "sl-flex sl-items-center sl-justify-between" }, jt = { class: "sl-flex sl-gap-3" }, At = /* @__PURE__ */ T({
|
|
432
432
|
__name: "ThemeDebugModal",
|
|
433
433
|
props: {
|
|
434
434
|
modelValue: { type: Boolean }
|
|
@@ -616,11 +616,11 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
616
616
|
_: 1
|
|
617
617
|
})
|
|
618
618
|
]),
|
|
619
|
-
s("div",
|
|
619
|
+
s("div", Tt, [
|
|
620
620
|
$(je, { size: "sm" }),
|
|
621
621
|
d[13] || (d[13] = s("span", { class: "sl-text-sm sl-text-gray-600 dark:sl-text-gray-400" }, "Loading indicator", -1))
|
|
622
622
|
]),
|
|
623
|
-
s("div",
|
|
623
|
+
s("div", Dt, [
|
|
624
624
|
$(Pe, {
|
|
625
625
|
name: "Theme Test",
|
|
626
626
|
size: "md"
|
|
@@ -631,7 +631,7 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
631
631
|
]),
|
|
632
632
|
s("div", null, [
|
|
633
633
|
d[16] || (d[16] = s("label", { class: "sl-block sl-text-sm sl-font-medium sl-text-gray-700 dark:sl-text-gray-300 sl-mb-3" }, " Generated Palette ", -1)),
|
|
634
|
-
s("div",
|
|
634
|
+
s("div", Mt, [
|
|
635
635
|
(o(), u(U, null, H([50, 100, 200, 300, 400, 500, 600, 700, 800, 900], (f) => s("div", {
|
|
636
636
|
key: f,
|
|
637
637
|
class: "sl-flex-1 sl-h-8 sl-relative sl-group",
|
|
@@ -689,13 +689,13 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
689
689
|
_: 1
|
|
690
690
|
}, 8, ["show"]));
|
|
691
691
|
}
|
|
692
|
-
}),
|
|
692
|
+
}), Dr = /* @__PURE__ */ A(At, [["__scopeId", "data-v-c9b3cc37"]]), Et = {
|
|
693
693
|
viewBox: "0 0 36 36",
|
|
694
694
|
class: "sl-transform -sl-rotate-90 sl-w-full sl-h-full"
|
|
695
695
|
}, Vt = ["stroke-width"], Nt = ["stroke", "stroke-dasharray", "stroke-width"], Ft = {
|
|
696
696
|
key: 0,
|
|
697
697
|
class: "sl-absolute sl-inset-0 sl-flex sl-items-center sl-justify-center"
|
|
698
|
-
},
|
|
698
|
+
}, Mr = /* @__PURE__ */ T({
|
|
699
699
|
__name: "UiRadialProgressBar",
|
|
700
700
|
props: {
|
|
701
701
|
value: { default: 0 },
|
|
@@ -744,7 +744,7 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
744
744
|
])) : w("", !0)
|
|
745
745
|
], 4));
|
|
746
746
|
}
|
|
747
|
-
}), Br = /* @__PURE__ */
|
|
747
|
+
}), Br = /* @__PURE__ */ T({
|
|
748
748
|
__name: "AvatarIcon",
|
|
749
749
|
props: {
|
|
750
750
|
size: {},
|
|
@@ -807,7 +807,7 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
807
807
|
}, k(t.initials), 3))
|
|
808
808
|
], 6));
|
|
809
809
|
}
|
|
810
|
-
}), Ut = ["src", "alt"], Pr = /* @__PURE__ */
|
|
810
|
+
}), Ut = ["src", "alt"], Pr = /* @__PURE__ */ T({
|
|
811
811
|
__name: "AvatarImage",
|
|
812
812
|
props: {
|
|
813
813
|
size: {},
|
|
@@ -822,16 +822,16 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
822
822
|
const a = Q(() => import("./AvatarIcon-kcEI0AWe.js")), l = e, c = t, n = p(() => c.image && c.image.url && c.image.url.startsWith("http")), r = p(() => {
|
|
823
823
|
const x = c.image?.public_id;
|
|
824
824
|
if (!x || typeof x != "string") return "";
|
|
825
|
-
let
|
|
826
|
-
return
|
|
825
|
+
let D = x.replace(/^v\d+\//, "");
|
|
826
|
+
return D = D.replace(/\.(png|jpg|jpeg|webp|gif)$/i, ""), D;
|
|
827
827
|
}), i = p(() => {
|
|
828
828
|
const x = r.value;
|
|
829
829
|
if (typeof x != "string") return !1;
|
|
830
|
-
const
|
|
831
|
-
if (
|
|
830
|
+
const D = x.trim();
|
|
831
|
+
if (D.length === 0 || D.length < 8) return !1;
|
|
832
832
|
const N = [/^https?:\/\//, /\s+/, /^\//, /\/$/, /^[0-9a-f]{3,8}$/i];
|
|
833
833
|
for (const O of N)
|
|
834
|
-
if (O.test(
|
|
834
|
+
if (O.test(D))
|
|
835
835
|
return !1;
|
|
836
836
|
return !0;
|
|
837
837
|
}), y = (x) => {
|
|
@@ -850,7 +850,7 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
850
850
|
]), _ = p(() => [
|
|
851
851
|
(x) => x.resize(`c_thumb,g_face,w_${parseInt(g.value) * 4},h_${parseInt(g.value) * 4},z_0.8`).roundCorners(c.rounded === "rounded-full" ? "max" : "20")
|
|
852
852
|
]);
|
|
853
|
-
return (x,
|
|
853
|
+
return (x, D) => (o(), u("div", null, [
|
|
854
854
|
n.value && t.image ? (o(), u("img", {
|
|
855
855
|
key: 0,
|
|
856
856
|
src: t.image.url,
|
|
@@ -877,7 +877,7 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
877
877
|
}, null, 8, ["icon-component", "size"]))
|
|
878
878
|
]));
|
|
879
879
|
}
|
|
880
|
-
}), jr = /* @__PURE__ */
|
|
880
|
+
}), jr = /* @__PURE__ */ T({
|
|
881
881
|
__name: "AvatarInitials",
|
|
882
882
|
props: {
|
|
883
883
|
size: {},
|
|
@@ -933,7 +933,7 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
933
933
|
}, k(I(c)), 3)
|
|
934
934
|
], 2));
|
|
935
935
|
}
|
|
936
|
-
}), Rt = { class: "sl-group sl-block sl-flex-shrink-0" }, Ht = { class: "sl-flex sl-items-center" }, Ot = { class: "sl-ml-3 sl-text-left" }, Wt = { class: "sl-text-sm sl-font-medium sl-text-gray-700 dark:sl-text-gray-200 group-hover:sl-text-gray-800 dark:group-hover:sl-text-white" }, Gt = { class: "sl-text-xs sl-font-medium sl-text-gray-500 dark:sl-text-gray-400 group-hover:sl-text-gray-700 dark:group-hover:sl-text-gray-300" }, Ar = /* @__PURE__ */
|
|
936
|
+
}), Rt = { class: "sl-group sl-block sl-flex-shrink-0" }, Ht = { class: "sl-flex sl-items-center" }, Ot = { class: "sl-ml-3 sl-text-left" }, Wt = { class: "sl-text-sm sl-font-medium sl-text-gray-700 dark:sl-text-gray-200 group-hover:sl-text-gray-800 dark:group-hover:sl-text-white" }, Gt = { class: "sl-text-xs sl-font-medium sl-text-gray-500 dark:sl-text-gray-400 group-hover:sl-text-gray-700 dark:group-hover:sl-text-gray-300" }, Ar = /* @__PURE__ */ T({
|
|
937
937
|
__name: "AvatarWithText",
|
|
938
938
|
props: {
|
|
939
939
|
/** Which avatar component to use */
|
|
@@ -1022,7 +1022,7 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
1022
1022
|
}, as = {
|
|
1023
1023
|
key: 1,
|
|
1024
1024
|
class: "sl-relative sl-cursor-default sl-select-none sl-px-4 sl-py-8 sl-text-gray-500 dark:sl-text-gray-400 sl-text-sm sl-text-center"
|
|
1025
|
-
}, os = /* @__PURE__ */
|
|
1025
|
+
}, os = /* @__PURE__ */ T({
|
|
1026
1026
|
__name: "CollectionItemList",
|
|
1027
1027
|
props: {
|
|
1028
1028
|
items: { default: () => [] },
|
|
@@ -1082,10 +1082,10 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
1082
1082
|
]),
|
|
1083
1083
|
role: "button",
|
|
1084
1084
|
tabindex: t.canEdit ? 0 : -1,
|
|
1085
|
-
onClick: (
|
|
1085
|
+
onClick: (D) => b(_),
|
|
1086
1086
|
onKeydown: [
|
|
1087
|
-
de((
|
|
1088
|
-
de(he((
|
|
1087
|
+
de((D) => b(_), ["enter"]),
|
|
1088
|
+
de(he((D) => b(_), ["prevent"]), ["space"])
|
|
1089
1089
|
]
|
|
1090
1090
|
}, [
|
|
1091
1091
|
s("div", es, [
|
|
@@ -1110,7 +1110,7 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
1110
1110
|
}), rs = { class: "sl-collection-editor sl-flex sl-flex-row sl-flex-wrap sl--mx-3" }, ns = { class: "sl-w-full sm:sl-w-1/2 sl-px-3 sl-flex sl-flex-col" }, is = { class: "sl-mb-4 sl-flex sl-justify-between sl-items-center" }, ds = { class: "sl-flex sl-gap-2" }, cs = {
|
|
1111
1111
|
key: 0,
|
|
1112
1112
|
class: "sl-text-xs sl-uppercase sl-text-gray-500 dark:sl-text-gray-400 sl-truncate sl-text-right sl-font-semibold"
|
|
1113
|
-
}, us = { class: "sl-border-t sl-border-gray-200 dark:sl-border-gray-700 sl-pt-4" }, ms = { class: "sl-w-full sm:sl-w-1/2 sl-px-3" }, fs = /* @__PURE__ */
|
|
1113
|
+
}, us = { class: "sl-border-t sl-border-gray-200 dark:sl-border-gray-700 sl-pt-4" }, ms = { class: "sl-w-full sm:sl-w-1/2 sl-px-3" }, fs = /* @__PURE__ */ T({
|
|
1114
1114
|
__name: "CollectionEditor",
|
|
1115
1115
|
props: {
|
|
1116
1116
|
name: {},
|
|
@@ -1130,8 +1130,8 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
1130
1130
|
},
|
|
1131
1131
|
emits: ["update:modelValue", "item-added", "item-updated", "item-deleted", "item-selected", "update:form", "update:validity"],
|
|
1132
1132
|
setup(t, { expose: e, emit: a }) {
|
|
1133
|
-
const l = t, c = a, n = (
|
|
1134
|
-
c(
|
|
1133
|
+
const l = t, c = a, n = (M, ...B) => {
|
|
1134
|
+
c(M, ...B);
|
|
1135
1135
|
}, {
|
|
1136
1136
|
items: r,
|
|
1137
1137
|
activeItem: i,
|
|
@@ -1145,7 +1145,7 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
1145
1145
|
handleFormUpdate: h,
|
|
1146
1146
|
confirmDelete: _,
|
|
1147
1147
|
cancelDelete: x
|
|
1148
|
-
} =
|
|
1148
|
+
} = Me(
|
|
1149
1149
|
{
|
|
1150
1150
|
initialItems: l.modelValue,
|
|
1151
1151
|
emptyFormValues: l.emptyFormValues,
|
|
@@ -1156,26 +1156,26 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
1156
1156
|
);
|
|
1157
1157
|
oe(
|
|
1158
1158
|
() => l.modelValue,
|
|
1159
|
-
(
|
|
1160
|
-
|
|
1159
|
+
(M) => {
|
|
1160
|
+
M && JSON.stringify(M) !== JSON.stringify(r.value) && (r.value = M.map((B) => l.explodeItem(B)));
|
|
1161
1161
|
},
|
|
1162
1162
|
{ deep: !0 }
|
|
1163
1163
|
);
|
|
1164
|
-
const
|
|
1165
|
-
d(
|
|
1166
|
-
}, O = (
|
|
1167
|
-
f(
|
|
1168
|
-
}, W = (
|
|
1169
|
-
h(
|
|
1164
|
+
const D = p(() => r.value), N = (M) => {
|
|
1165
|
+
d(M);
|
|
1166
|
+
}, O = (M) => {
|
|
1167
|
+
f(M);
|
|
1168
|
+
}, W = (M) => {
|
|
1169
|
+
h(M), c("update:form", M);
|
|
1170
1170
|
}, j = () => {
|
|
1171
1171
|
_();
|
|
1172
1172
|
};
|
|
1173
1173
|
return e({
|
|
1174
|
-
getItems: () => r.value.map((
|
|
1174
|
+
getItems: () => r.value.map((M) => l.implodeItem(M)),
|
|
1175
1175
|
resetForm: () => {
|
|
1176
1176
|
y.value = { ...l.emptyFormValues }, i.value = null;
|
|
1177
1177
|
}
|
|
1178
|
-
}), (
|
|
1178
|
+
}), (M, B) => (o(), u("div", rs, [
|
|
1179
1179
|
s("div", ns, [
|
|
1180
1180
|
s("div", is, [
|
|
1181
1181
|
s("span", ds, [
|
|
@@ -1201,13 +1201,13 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
1201
1201
|
])
|
|
1202
1202
|
]),
|
|
1203
1203
|
s("div", ms, [
|
|
1204
|
-
S(
|
|
1205
|
-
items:
|
|
1204
|
+
S(M.$slots, "list", {
|
|
1205
|
+
items: D.value,
|
|
1206
1206
|
selected: I(i),
|
|
1207
1207
|
onSelect: I(v)
|
|
1208
1208
|
}, () => [
|
|
1209
1209
|
$(os, {
|
|
1210
|
-
items:
|
|
1210
|
+
items: D.value,
|
|
1211
1211
|
selected: I(i),
|
|
1212
1212
|
"can-edit": !0,
|
|
1213
1213
|
title: t.title,
|
|
@@ -1218,13 +1218,13 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
1218
1218
|
onSelect: I(v)
|
|
1219
1219
|
}, {
|
|
1220
1220
|
"item-content": C(({ item: E }) => [
|
|
1221
|
-
S(
|
|
1221
|
+
S(M.$slots, "item-content", { item: E }, void 0, !0)
|
|
1222
1222
|
]),
|
|
1223
1223
|
"item-secondary": C(({ item: E }) => [
|
|
1224
|
-
S(
|
|
1224
|
+
S(M.$slots, "item-secondary", { item: E }, void 0, !0)
|
|
1225
1225
|
]),
|
|
1226
1226
|
empty: C(() => [
|
|
1227
|
-
S(
|
|
1227
|
+
S(M.$slots, "empty", {}, void 0, !0)
|
|
1228
1228
|
]),
|
|
1229
1229
|
_: 3
|
|
1230
1230
|
}, 8, ["items", "selected", "title", "group-by", "primary-field", "secondary-field", "empty-message", "onSelect"])
|
|
@@ -1240,7 +1240,7 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
1240
1240
|
}, null, 8, ["title", "description", "onClose"])) : w("", !0)
|
|
1241
1241
|
]));
|
|
1242
1242
|
}
|
|
1243
|
-
}), ne = /* @__PURE__ */ A(fs, [["__scopeId", "data-v-64df06ec"]]), ps = { class: "sl-py-1 sl-text-sm sl-leading-5 sl-text-gray-600 dark:sl-text-gray-300" }, gs = { class: "sl-text-xs sl-text-gray-500 dark:sl-text-gray-400" }, Er = /* @__PURE__ */
|
|
1243
|
+
}), ne = /* @__PURE__ */ A(fs, [["__scopeId", "data-v-64df06ec"]]), ps = { class: "sl-py-1 sl-text-sm sl-leading-5 sl-text-gray-600 dark:sl-text-gray-300" }, gs = { class: "sl-text-xs sl-text-gray-500 dark:sl-text-gray-400" }, Er = /* @__PURE__ */ T({
|
|
1244
1244
|
__name: "OrganizationsEditor",
|
|
1245
1245
|
props: {
|
|
1246
1246
|
name: {},
|
|
@@ -1352,7 +1352,7 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
1352
1352
|
}, b = (d, f) => {
|
|
1353
1353
|
const h = m(d), _ = m(f), x = [];
|
|
1354
1354
|
if (h && x.push(Y(h, "MMM yyyy")), x.push("–"), _ ? x.push(Y(_, "MMM yyyy")) : x.push("Present"), h) {
|
|
1355
|
-
const
|
|
1355
|
+
const D = _ || /* @__PURE__ */ new Date(), N = se(D, h), O = be(D, h) % 12, W = [];
|
|
1356
1356
|
N > 0 && W.push(`${N}y`), (O > 0 || N === 0) && W.push(`${O || 1}mo`), W.length > 0 && x.push("•", W.join(" "));
|
|
1357
1357
|
}
|
|
1358
1358
|
return x.join(" ");
|
|
@@ -1390,7 +1390,7 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
1390
1390
|
}), hs = { class: "sl-flex sl-items-center sl-gap-3" }, ys = { class: "sl-w-8 sl-h-8 sl-rounded-full sl-flex sl-items-center sl-justify-center sl-bg-primary-100 dark:sl-bg-primary-900/50 sl-text-primary-600 dark:sl-text-primary-400 sl-text-xs sl-font-semibold sl-flex-shrink-0" }, xs = { class: "sl-text-sm sl-font-medium sl-text-gray-900 dark:sl-text-gray-100" }, bs = { class: "sl-text-xs sl-text-gray-500 dark:sl-text-gray-400" }, vs = {
|
|
1391
1391
|
key: 0,
|
|
1392
1392
|
class: "sl-text-xs sl-text-gray-500 dark:sl-text-gray-400"
|
|
1393
|
-
}, Vr = /* @__PURE__ */
|
|
1393
|
+
}, Vr = /* @__PURE__ */ T({
|
|
1394
1394
|
__name: "RelatedNamesEditor",
|
|
1395
1395
|
props: {
|
|
1396
1396
|
name: {},
|
|
@@ -1517,7 +1517,7 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
1517
1517
|
}), ks = { class: "sl-flex sl-items-center sl-gap-3" }, ws = { class: "sl-text-sm sl-font-medium sl-text-gray-900 dark:sl-text-gray-100" }, $s = {
|
|
1518
1518
|
key: 0,
|
|
1519
1519
|
class: "sl-text-xs sl-text-gray-500 dark:sl-text-gray-400"
|
|
1520
|
-
}, _s = ["href"], Nr = /* @__PURE__ */
|
|
1520
|
+
}, _s = ["href"], Nr = /* @__PURE__ */ T({
|
|
1521
1521
|
__name: "SocialLinksEditor",
|
|
1522
1522
|
props: {
|
|
1523
1523
|
name: {},
|
|
@@ -1594,13 +1594,13 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
1594
1594
|
placeholder: "https://..."
|
|
1595
1595
|
}
|
|
1596
1596
|
]
|
|
1597
|
-
})), x = (B) => B,
|
|
1597
|
+
})), x = (B) => B, D = (B) => B, N = (B) => d.platforms.find((V) => V.id === B)?.name || B || "Unknown Platform", O = (B) => {
|
|
1598
1598
|
const E = B?.toLowerCase() || "website";
|
|
1599
1599
|
return b[E] || m;
|
|
1600
1600
|
}, W = (B) => {
|
|
1601
1601
|
const E = B?.toLowerCase() || "website";
|
|
1602
1602
|
return v[E] || "sl-text-gray-500";
|
|
1603
|
-
}, j = (B) => B ? B.startsWith("http://") || B.startsWith("https://") ? B : `https://${B}` : "#",
|
|
1603
|
+
}, j = (B) => B ? B.startsWith("http://") || B.startsWith("https://") ? B : `https://${B}` : "#", M = (B) => {
|
|
1604
1604
|
f("update:modelValue", B);
|
|
1605
1605
|
};
|
|
1606
1606
|
return (B, E) => (o(), L(ne, {
|
|
@@ -1613,11 +1613,11 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
1613
1613
|
"primary-field": "platform",
|
|
1614
1614
|
"secondary-field": "handle",
|
|
1615
1615
|
"explode-item": x,
|
|
1616
|
-
"implode-item":
|
|
1616
|
+
"implode-item": D,
|
|
1617
1617
|
"delete-confirm-title": "Remove Social Link",
|
|
1618
1618
|
"delete-confirm-message": "Are you sure you want to remove this social link? You will need to save your changes for this to take effect.",
|
|
1619
1619
|
"empty-message": "No social links found. Click 'Add' to create one.",
|
|
1620
|
-
"onUpdate:modelValue":
|
|
1620
|
+
"onUpdate:modelValue": M,
|
|
1621
1621
|
onItemAdded: E[1] || (E[1] = (V) => f("item-added", V)),
|
|
1622
1622
|
onItemUpdated: E[2] || (E[2] = (V) => f("item-updated", V)),
|
|
1623
1623
|
onItemDeleted: E[3] || (E[3] = (V) => f("item-deleted", V))
|
|
@@ -1656,7 +1656,7 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
1656
1656
|
}, zs = {
|
|
1657
1657
|
key: 1,
|
|
1658
1658
|
class: "sl-flex sl-items-center"
|
|
1659
|
-
}, Fr = /* @__PURE__ */
|
|
1659
|
+
}, Fr = /* @__PURE__ */ T({
|
|
1660
1660
|
__name: "DateFormatter",
|
|
1661
1661
|
props: {
|
|
1662
1662
|
/** The date to format */
|
|
@@ -1758,10 +1758,10 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
1758
1758
|
s("span", { class: "sl-text-gray-400 dark:sl-text-gray-500 sl-italic" }, "Date unavailable", -1)
|
|
1759
1759
|
])]));
|
|
1760
1760
|
}
|
|
1761
|
-
}), Ls = { key: 0 },
|
|
1761
|
+
}), Ls = { key: 0 }, Ts = { class: "sl-mt-1 sl-text-xs sl-leading-5 sl-text-gray-500 dark:sl-text-gray-400" }, Ds = {
|
|
1762
1762
|
key: 0,
|
|
1763
1763
|
class: "sl-block sm:sl-inline sm:sl-ml-1"
|
|
1764
|
-
},
|
|
1764
|
+
}, Ms = { key: 1 }, Ur = /* @__PURE__ */ T({
|
|
1765
1765
|
__name: "DateRangeFormatter",
|
|
1766
1766
|
props: {
|
|
1767
1767
|
/** Start date of the range */
|
|
@@ -1843,14 +1843,14 @@ const ft = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
1843
1843
|
}
|
|
1844
1844
|
});
|
|
1845
1845
|
return (m, b) => r.value ? (o(), u("div", Ls, [
|
|
1846
|
-
s("p",
|
|
1846
|
+
s("p", Ts, [
|
|
1847
1847
|
s("span", null, k(i.value) + " – " + k(y.value), 1),
|
|
1848
|
-
t.useCalculateTimeBetween ? (o(), u("span",
|
|
1848
|
+
t.useCalculateTimeBetween ? (o(), u("span", Ds, [
|
|
1849
1849
|
b[0] || (b[0] = s("span", { class: "sl-hidden sm:sl-inline sl-mr-1" }, "•", -1)),
|
|
1850
1850
|
s("span", null, k(g.value), 1)
|
|
1851
1851
|
])) : w("", !0)
|
|
1852
1852
|
])
|
|
1853
|
-
])) : (o(), u("div",
|
|
1853
|
+
])) : (o(), u("div", Ms, [...b[1] || (b[1] = [
|
|
1854
1854
|
s("p", { class: "sl-mt-1 sl-truncate sl-text-xs sl-leading-5 sl-text-gray-500 dark:sl-text-gray-400 sl-italic" }, " Dates unavailable ", -1)
|
|
1855
1855
|
])]));
|
|
1856
1856
|
}
|
|
@@ -2003,7 +2003,7 @@ function _l(t, e) {
|
|
|
2003
2003
|
}, null, -1)
|
|
2004
2004
|
])]);
|
|
2005
2005
|
}
|
|
2006
|
-
const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white sl-rounded-lg sl-shadow sl-p-6" }, Sl = { class: "sl-space-y-8" }, zl = { class: "sl-grid sl-grid-cols-1 sl-md:grid-cols-2 sl-gap-6" }, Ll = { class: "sl-bg-gray-50 sl-rounded-md sl-p-4 sl-text-sm sl-text-gray-700" },
|
|
2006
|
+
const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white sl-rounded-lg sl-shadow sl-p-6" }, Sl = { class: "sl-space-y-8" }, zl = { class: "sl-grid sl-grid-cols-1 sl-md:grid-cols-2 sl-gap-6" }, Ll = { class: "sl-bg-gray-50 sl-rounded-md sl-p-4 sl-text-sm sl-text-gray-700" }, Tl = { class: "sl-whitespace-pre-wrap" }, Rr = /* @__PURE__ */ T({
|
|
2007
2007
|
__name: "InputsShowcase",
|
|
2008
2008
|
setup(t) {
|
|
2009
2009
|
const e = ze({
|
|
@@ -2119,12 +2119,12 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2119
2119
|
]),
|
|
2120
2120
|
s("div", Ll, [
|
|
2121
2121
|
r[14] || (r[14] = s("div", { class: "sl-font-semibold sl-mb-1" }, "State", -1)),
|
|
2122
|
-
s("pre",
|
|
2122
|
+
s("pre", Tl, k(e), 1)
|
|
2123
2123
|
])
|
|
2124
2124
|
])
|
|
2125
2125
|
]));
|
|
2126
2126
|
}
|
|
2127
|
-
}),
|
|
2127
|
+
}), Dl = { class: "sl-flex sl-items-center sl-gap-4" }, Ml = {
|
|
2128
2128
|
key: 0,
|
|
2129
2129
|
class: "sl-flex-shrink-0 sl-flex sl-items-center sl-justify-center"
|
|
2130
2130
|
}, Bl = { class: "sl-flex-1 sl-min-w-0" }, Pl = {
|
|
@@ -2177,7 +2177,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2177
2177
|
}, ta = {
|
|
2178
2178
|
key: 0,
|
|
2179
2179
|
class: "sl-text-sm sl-font-medium sl-text-gray-600 dark:sl-text-gray-300"
|
|
2180
|
-
}, sa = /* @__PURE__ */
|
|
2180
|
+
}, sa = /* @__PURE__ */ T({
|
|
2181
2181
|
__name: "CardLayout",
|
|
2182
2182
|
props: {
|
|
2183
2183
|
variant: { default: "elevated" },
|
|
@@ -2238,7 +2238,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2238
2238
|
};
|
|
2239
2239
|
N[l.shadow] && x.push(N[l.shadow]);
|
|
2240
2240
|
}
|
|
2241
|
-
const
|
|
2241
|
+
const D = {
|
|
2242
2242
|
none: "",
|
|
2243
2243
|
sm: "sl-rounded-sm",
|
|
2244
2244
|
md: "sl-rounded-md",
|
|
@@ -2247,7 +2247,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2247
2247
|
"2xl": "sl-rounded-2xl",
|
|
2248
2248
|
full: "sl-rounded-3xl"
|
|
2249
2249
|
};
|
|
2250
|
-
return
|
|
2250
|
+
return D[l.rounded] && x.push(D[l.rounded]), l.hoverable && x.push(
|
|
2251
2251
|
"sl-transition-shadow",
|
|
2252
2252
|
"sl-duration-200",
|
|
2253
2253
|
"hover:sl-shadow-lg",
|
|
@@ -2276,7 +2276,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2276
2276
|
return e({
|
|
2277
2277
|
toggleCollapse: y,
|
|
2278
2278
|
isCollapsed: i
|
|
2279
|
-
}), (x,
|
|
2279
|
+
}), (x, D) => (o(), u("div", {
|
|
2280
2280
|
class: z([
|
|
2281
2281
|
"sl-card-layout",
|
|
2282
2282
|
b.value,
|
|
@@ -2293,8 +2293,8 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2293
2293
|
])
|
|
2294
2294
|
}, [
|
|
2295
2295
|
S(x.$slots, "header", {}, () => [
|
|
2296
|
-
s("div",
|
|
2297
|
-
x.$slots["header-icon"] ? (o(), u("div",
|
|
2296
|
+
s("div", Dl, [
|
|
2297
|
+
x.$slots["header-icon"] ? (o(), u("div", Ml, [
|
|
2298
2298
|
S(x.$slots, "header-icon", {}, void 0, !0)
|
|
2299
2299
|
])) : w("", !0),
|
|
2300
2300
|
s("div", Bl, [
|
|
@@ -2326,7 +2326,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2326
2326
|
viewBox: "0 0 24 24",
|
|
2327
2327
|
stroke: "currentColor",
|
|
2328
2328
|
"stroke-width": "2"
|
|
2329
|
-
}, [...
|
|
2329
|
+
}, [...D[0] || (D[0] = [
|
|
2330
2330
|
s("path", {
|
|
2331
2331
|
"stroke-linecap": "round",
|
|
2332
2332
|
"stroke-linejoin": "round",
|
|
@@ -2433,7 +2433,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2433
2433
|
t.loading ? (o(), u("div", Xl, [
|
|
2434
2434
|
S(x.$slots, "loading", {}, () => [
|
|
2435
2435
|
s("div", Ql, [
|
|
2436
|
-
(o(), u("svg", ea, [...
|
|
2436
|
+
(o(), u("svg", ea, [...D[1] || (D[1] = [
|
|
2437
2437
|
s("circle", {
|
|
2438
2438
|
class: "sl-opacity-25",
|
|
2439
2439
|
cx: "12",
|
|
@@ -2457,7 +2457,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2457
2457
|
})
|
|
2458
2458
|
], 6));
|
|
2459
2459
|
}
|
|
2460
|
-
}), Hr = /* @__PURE__ */ A(sa, [["__scopeId", "data-v-a1ea2aac"]]), la = "sl-text-sm", Or = /* @__PURE__ */
|
|
2460
|
+
}), Hr = /* @__PURE__ */ A(sa, [["__scopeId", "data-v-a1ea2aac"]]), la = "sl-text-sm", Or = /* @__PURE__ */ T({
|
|
2461
2461
|
__name: "InfoCard",
|
|
2462
2462
|
props: {
|
|
2463
2463
|
title: { default: "" },
|
|
@@ -2497,7 +2497,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2497
2497
|
], 4)
|
|
2498
2498
|
], 4));
|
|
2499
2499
|
}
|
|
2500
|
-
}), aa = { class: "sl-space-y-4" }, oa = { class: "sl-text-xl sl-font-semibold sl-text-slate-900 dark:sl-text-white" }, ra = { class: "sl-overflow-x-auto" }, na = { class: "sl-min-w-full sl-divide-y sl-divide-slate-200 dark:sl-divide-slate-700" }, ia = { class: "sl-bg-slate-50 dark:sl-bg-slate-900" }, da = { class: "sl-divide-y sl-divide-slate-200 dark:sl-divide-slate-700" }, ca = { class: "sl-px-6 sl-py-4 sl-text-sm sl-font-mono sl-text-slate-900 dark:sl-text-slate-100" }, ua = { class: "sl-px-6 sl-py-4 sl-text-sm sl-text-slate-600 dark:sl-text-slate-300" }, ma = { class: "sl-px-6 sl-py-4 sl-text-sm sl-font-mono sl-text-slate-500 dark:sl-text-slate-300" }, fa = { class: "sl-px-6 sl-py-4 sl-text-sm sl-text-slate-600 dark:sl-text-slate-300" }, Wr = /* @__PURE__ */
|
|
2500
|
+
}), aa = { class: "sl-space-y-4" }, oa = { class: "sl-text-xl sl-font-semibold sl-text-slate-900 dark:sl-text-white" }, ra = { class: "sl-overflow-x-auto" }, na = { class: "sl-min-w-full sl-divide-y sl-divide-slate-200 dark:sl-divide-slate-700" }, ia = { class: "sl-bg-slate-50 dark:sl-bg-slate-900" }, da = { class: "sl-divide-y sl-divide-slate-200 dark:sl-divide-slate-700" }, ca = { class: "sl-px-6 sl-py-4 sl-text-sm sl-font-mono sl-text-slate-900 dark:sl-text-slate-100" }, ua = { class: "sl-px-6 sl-py-4 sl-text-sm sl-text-slate-600 dark:sl-text-slate-300" }, ma = { class: "sl-px-6 sl-py-4 sl-text-sm sl-font-mono sl-text-slate-500 dark:sl-text-slate-300" }, fa = { class: "sl-px-6 sl-py-4 sl-text-sm sl-text-slate-600 dark:sl-text-slate-300" }, Wr = /* @__PURE__ */ T({
|
|
2501
2501
|
__name: "PropsTable",
|
|
2502
2502
|
props: {
|
|
2503
2503
|
title: { default: "Props" },
|
|
@@ -2552,7 +2552,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2552
2552
|
key: 0,
|
|
2553
2553
|
class: "sl-text-sm sl-mt-1",
|
|
2554
2554
|
style: { color: "var(--sl-text-muted)" }
|
|
2555
|
-
}, Gr = /* @__PURE__ */
|
|
2555
|
+
}, Gr = /* @__PURE__ */ T({
|
|
2556
2556
|
__name: "ShowcaseCard",
|
|
2557
2557
|
props: {
|
|
2558
2558
|
title: { default: "" },
|
|
@@ -2589,7 +2589,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2589
2589
|
key: 0,
|
|
2590
2590
|
class: "sl-flex sl-flex-wrap sl-gap-2 sl-pb-4",
|
|
2591
2591
|
style: { borderBottom: "1px solid var(--sl-border-default)" }
|
|
2592
|
-
}, $a = ["onClick"], _a = { class: "sl-space-y-8" }, qr = /* @__PURE__ */
|
|
2592
|
+
}, $a = ["onClick"], _a = { class: "sl-space-y-8" }, qr = /* @__PURE__ */ T({
|
|
2593
2593
|
__name: "ShowcaseLayout",
|
|
2594
2594
|
props: {
|
|
2595
2595
|
title: {},
|
|
@@ -2634,7 +2634,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2634
2634
|
}), Ca = { class: "sl-space-y-4" }, Ia = {
|
|
2635
2635
|
class: "sl-text-xl sl-font-semibold",
|
|
2636
2636
|
style: { color: "var(--sl-text-primary)" }
|
|
2637
|
-
}, Sa = { class: "sl-rounded-xl sl-p-4 sl-overflow-auto sl-bg-slate-800 dark:sl-bg-slate-900" }, za = { class: "sl-text-sm sl-text-slate-300 sl-font-mono" }, Yr = /* @__PURE__ */
|
|
2637
|
+
}, Sa = { class: "sl-rounded-xl sl-p-4 sl-overflow-auto sl-bg-slate-800 dark:sl-bg-slate-900" }, za = { class: "sl-text-sm sl-text-slate-300 sl-font-mono" }, Yr = /* @__PURE__ */ T({
|
|
2638
2638
|
__name: "StateDisplay",
|
|
2639
2639
|
props: {
|
|
2640
2640
|
title: { default: "Current State" },
|
|
@@ -2649,7 +2649,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2649
2649
|
])
|
|
2650
2650
|
]));
|
|
2651
2651
|
}
|
|
2652
|
-
}), La = { class: "sl-relative sl-z-10 sl-flex sl-flex-col sm:sl-flex-row sl-items-center sl-gap-6" },
|
|
2652
|
+
}), La = { class: "sl-relative sl-z-10 sl-flex sl-flex-col sm:sl-flex-row sl-items-center sl-gap-6" }, Ta = { class: "sl-flex-shrink-0" }, Da = { class: "sl-relative" }, Ma = ["src", "alt"], Ba = {
|
|
2653
2653
|
key: 1,
|
|
2654
2654
|
class: "sl-w-full sl-h-full sl-flex sl-items-center sl-justify-center sl-bg-white/20 sl-text-white sl-text-2xl sl-font-bold"
|
|
2655
2655
|
}, Pa = {
|
|
@@ -2661,7 +2661,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2661
2661
|
}, Va = {
|
|
2662
2662
|
key: 1,
|
|
2663
2663
|
class: "sl-mt-3"
|
|
2664
|
-
}, Na = { class: "sl-inline-flex sl-items-center sl-gap-1.5 sl-px-3 sl-py-1 sl-rounded-full sl-text-sm sl-font-medium sl-bg-red-500/20 sl-text-white sl-border sl-border-red-400/30" }, Fa = /* @__PURE__ */
|
|
2664
|
+
}, Na = { class: "sl-inline-flex sl-items-center sl-gap-1.5 sl-px-3 sl-py-1 sl-rounded-full sl-text-sm sl-font-medium sl-bg-red-500/20 sl-text-white sl-border sl-border-red-400/30" }, Fa = /* @__PURE__ */ T({
|
|
2665
2665
|
__name: "ProfileHeaderCard",
|
|
2666
2666
|
props: {
|
|
2667
2667
|
name: {},
|
|
@@ -2696,8 +2696,8 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2696
2696
|
g[2] || (g[2] = s("div", { class: "sl-absolute sl-top-0 sl-right-0 sl-w-64 sl-h-64 sl-bg-white/5 sl-rounded-full sl--translate-y-1/2 sl-translate-x-1/2" }, null, -1)),
|
|
2697
2697
|
g[3] || (g[3] = s("div", { class: "sl-absolute sl-bottom-0 sl-left-0 sl-w-48 sl-h-48 sl-bg-white/5 sl-rounded-full sl-translate-y-1/2 sl--translate-x-1/2" }, null, -1)),
|
|
2698
2698
|
s("div", La, [
|
|
2699
|
-
s("div",
|
|
2700
|
-
s("div",
|
|
2699
|
+
s("div", Ta, [
|
|
2700
|
+
s("div", Da, [
|
|
2701
2701
|
s("div", {
|
|
2702
2702
|
class: z([
|
|
2703
2703
|
"sl-w-24 sl-h-24 sl-rounded-full sl-overflow-hidden sl-shadow-xl",
|
|
@@ -2710,7 +2710,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2710
2710
|
alt: t.name,
|
|
2711
2711
|
class: "sl-w-full sl-h-full sl-object-cover",
|
|
2712
2712
|
onError: i
|
|
2713
|
-
}, null, 40,
|
|
2713
|
+
}, null, 40, Ma)) : (o(), u("div", Ba, k(n.value), 1))
|
|
2714
2714
|
], 2),
|
|
2715
2715
|
l.value ? (o(), u("span", Pa, [
|
|
2716
2716
|
$(I(Ee), { class: "sl-w-4 sl-h-4 sl-text-white" })
|
|
@@ -2736,7 +2736,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2736
2736
|
}, Ha = {
|
|
2737
2737
|
key: 1,
|
|
2738
2738
|
class: "sl-text-sm sl-font-semibold sl-text-gray-900 dark:sl-text-gray-100"
|
|
2739
|
-
}, Oa = /* @__PURE__ */
|
|
2739
|
+
}, Oa = /* @__PURE__ */ T({
|
|
2740
2740
|
__name: "ProfileCard",
|
|
2741
2741
|
props: {
|
|
2742
2742
|
title: {},
|
|
@@ -2786,7 +2786,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2786
2786
|
}, Ka = ["href"], Za = {
|
|
2787
2787
|
key: 2,
|
|
2788
2788
|
class: "sl-flex sl-items-start sl-gap-3"
|
|
2789
|
-
}, Ja = ["href"], Xa = /* @__PURE__ */
|
|
2789
|
+
}, Ja = ["href"], Xa = /* @__PURE__ */ T({
|
|
2790
2790
|
__name: "ProfileContactCard",
|
|
2791
2791
|
props: {
|
|
2792
2792
|
email: {},
|
|
@@ -2846,7 +2846,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2846
2846
|
_: 1
|
|
2847
2847
|
}, 8, ["icon", "animation-index", "animation-enabled"]));
|
|
2848
2848
|
}
|
|
2849
|
-
}), Qa = { class: "sl-flex sl-items-center sl-gap-3" }, eo = { class: "sl-text-sm sl-text-gray-900 dark:sl-text-gray-100" }, to = /* @__PURE__ */
|
|
2849
|
+
}), Qa = { class: "sl-flex sl-items-center sl-gap-3" }, eo = { class: "sl-text-sm sl-text-gray-900 dark:sl-text-gray-100" }, to = /* @__PURE__ */ T({
|
|
2850
2850
|
__name: "ProfilePersonalCard",
|
|
2851
2851
|
props: {
|
|
2852
2852
|
birthday: {},
|
|
@@ -2889,7 +2889,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2889
2889
|
}, ro = {
|
|
2890
2890
|
key: 1,
|
|
2891
2891
|
class: "sl-flex sl-items-center sl-gap-3"
|
|
2892
|
-
}, no = ["href"], io = /* @__PURE__ */
|
|
2892
|
+
}, no = ["href"], io = /* @__PURE__ */ T({
|
|
2893
2893
|
__name: "ProfileProfessionalCard",
|
|
2894
2894
|
props: {
|
|
2895
2895
|
professional: {},
|
|
@@ -2945,7 +2945,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
2945
2945
|
}), co = { class: "sl-flex sl-flex-wrap sl-gap-4" }, uo = ["href", "title"], mo = { class: "sl-text-xs sl-text-gray-500 dark:sl-text-gray-400 sl-capitalize sl-text-center" }, fo = {
|
|
2946
2946
|
key: 0,
|
|
2947
2947
|
class: "sl-text-center sl-py-4 sl-text-sm sl-text-gray-500 dark:sl-text-gray-400"
|
|
2948
|
-
}, po = /* @__PURE__ */
|
|
2948
|
+
}, po = /* @__PURE__ */ T({
|
|
2949
2949
|
__name: "ProfileSocialCard",
|
|
2950
2950
|
props: {
|
|
2951
2951
|
social: {},
|
|
@@ -3037,7 +3037,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
3037
3037
|
}, xo = ["src"], bo = {
|
|
3038
3038
|
key: 1,
|
|
3039
3039
|
class: "sl-w-full sl-h-full sl-flex sl-items-center sl-justify-center"
|
|
3040
|
-
}, vo = /* @__PURE__ */
|
|
3040
|
+
}, vo = /* @__PURE__ */ T({
|
|
3041
3041
|
__name: "ProfileLocationCard",
|
|
3042
3042
|
props: {
|
|
3043
3043
|
address: {},
|
|
@@ -3047,7 +3047,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
3047
3047
|
animationEnabled: { type: Boolean, default: !0 }
|
|
3048
3048
|
},
|
|
3049
3049
|
setup(t) {
|
|
3050
|
-
const e = t, a =
|
|
3050
|
+
const e = t, a = Te("googleMaps", {}), l = te(!1), c = p(() => e.address ? Array.isArray(e.address) ? e.address[0] || null : e.address : null), n = p(() => {
|
|
3051
3051
|
const m = c.value;
|
|
3052
3052
|
if (!m) return "No address specified";
|
|
3053
3053
|
if (m.description) return m.description;
|
|
@@ -3103,7 +3103,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
3103
3103
|
}, _o = { class: "sl-flex-1 sl-pb-4" }, Co = { class: "sl-text-sm sl-font-medium sl-text-gray-900 dark:sl-text-gray-100" }, Io = {
|
|
3104
3104
|
key: 0,
|
|
3105
3105
|
class: "sl-text-sm sl-text-gray-600 dark:sl-text-gray-400"
|
|
3106
|
-
}, So = { class: "sl-mt-1 sl-text-xs sl-text-gray-500 dark:sl-text-gray-500" }, zo = /* @__PURE__ */
|
|
3106
|
+
}, So = { class: "sl-mt-1 sl-text-xs sl-text-gray-500 dark:sl-text-gray-500" }, zo = /* @__PURE__ */ T({
|
|
3107
3107
|
__name: "ProfileOrganizationsCard",
|
|
3108
3108
|
props: {
|
|
3109
3109
|
organizations: {},
|
|
@@ -3155,10 +3155,10 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
3155
3155
|
_: 1
|
|
3156
3156
|
}, 8, ["icon", "animation-index", "animation-enabled"]));
|
|
3157
3157
|
}
|
|
3158
|
-
}), Lo = { class: "sl-grid sl-grid-cols-2 sl-gap-4" },
|
|
3158
|
+
}), Lo = { class: "sl-grid sl-grid-cols-2 sl-gap-4" }, To = { class: "sl-w-10 sl-h-10 sl-rounded-full sl-flex sl-items-center sl-justify-center sl-bg-primary-100 dark:sl-bg-primary-900/50 sl-text-primary-600 dark:sl-text-primary-400 sl-text-sm sl-font-semibold sl-flex-shrink-0" }, Do = { class: "sl-min-w-0 sl-flex-1" }, Mo = { class: "sl-text-sm sl-font-medium sl-text-gray-900 dark:sl-text-gray-100 sl-truncate" }, Bo = { class: "sl-text-xs sl-text-gray-500 dark:sl-text-gray-400 sl-truncate" }, Po = {
|
|
3159
3159
|
key: 0,
|
|
3160
3160
|
class: "sl-text-xs sl-text-gray-400 dark:sl-text-gray-500 sl-flex sl-items-center sl-gap-1"
|
|
3161
|
-
}, jo = /* @__PURE__ */
|
|
3161
|
+
}, jo = /* @__PURE__ */ T({
|
|
3162
3162
|
__name: "ProfileRelatedNamesCard",
|
|
3163
3163
|
props: {
|
|
3164
3164
|
relatedNames: {},
|
|
@@ -3192,9 +3192,9 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
3192
3192
|
key: g.id || m,
|
|
3193
3193
|
class: "sl-flex sl-items-center sl-gap-3 sl-p-3 sl-rounded-lg sl-bg-gray-50 dark:sl-bg-gray-700/50"
|
|
3194
3194
|
}, [
|
|
3195
|
-
s("div",
|
|
3196
|
-
s("div",
|
|
3197
|
-
s("p",
|
|
3195
|
+
s("div", To, k(c(g)), 1),
|
|
3196
|
+
s("div", Do, [
|
|
3197
|
+
s("p", Mo, k(l(g)), 1),
|
|
3198
3198
|
s("p", Bo, k(n(g)), 1),
|
|
3199
3199
|
r(g) ? (o(), u("p", Po, [
|
|
3200
3200
|
$(I($e), { class: "sl-w-3 sl-h-3" }),
|
|
@@ -3210,7 +3210,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
3210
3210
|
}), Ao = { class: "sl-bento-profile-layout sl-min-h-screen sl-relative" }, Eo = { class: "sl-relative sl-max-w-4xl sl-mx-auto sl-px-4 sl-py-8 sl-space-y-6" }, Vo = {
|
|
3211
3211
|
key: 0,
|
|
3212
3212
|
class: "sl-space-y-6"
|
|
3213
|
-
}, No = { class: "sl-space-y-6" }, Fo = /* @__PURE__ */
|
|
3213
|
+
}, No = { class: "sl-space-y-6" }, Fo = /* @__PURE__ */ T({
|
|
3214
3214
|
__name: "BentoProfileLayout",
|
|
3215
3215
|
props: {
|
|
3216
3216
|
profile: {},
|
|
@@ -3244,14 +3244,14 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
3244
3244
|
return e.profile._geoloc;
|
|
3245
3245
|
const j = e.profile.address;
|
|
3246
3246
|
if (j) {
|
|
3247
|
-
const
|
|
3248
|
-
if (
|
|
3249
|
-
return
|
|
3247
|
+
const M = Array.isArray(j) ? j[0] : j;
|
|
3248
|
+
if (M?.geocode?.location?.lat && M?.geocode?.location?.lng)
|
|
3249
|
+
return M.geocode.location;
|
|
3250
3250
|
}
|
|
3251
3251
|
return null;
|
|
3252
|
-
}), x = p(() => l.value && (f.value || h.value)),
|
|
3253
|
-
return (j,
|
|
3254
|
-
|
|
3252
|
+
}), x = p(() => l.value && (f.value || h.value)), D = p(() => e.profile.organizations || []), N = p(() => e.profile.relatedNames || e.profile.related_names || []), O = p(() => e.profile.social || []), W = p(() => O.value.length > 0);
|
|
3253
|
+
return (j, M) => (o(), u("div", Ao, [
|
|
3254
|
+
M[0] || (M[0] = s("div", { class: "sl-absolute sl-inset-0 sl-bg-gray-50 dark:sl-bg-gray-900 sl--z-10" }, null, -1)),
|
|
3255
3255
|
s("div", Eo, [
|
|
3256
3256
|
$(Ua, {
|
|
3257
3257
|
name: m.value,
|
|
@@ -3311,9 +3311,9 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
3311
3311
|
])) : w("", !0)
|
|
3312
3312
|
], 2),
|
|
3313
3313
|
s("div", No, [
|
|
3314
|
-
r.value &&
|
|
3314
|
+
r.value && D.value.length > 0 ? (o(), L(zo, {
|
|
3315
3315
|
key: 0,
|
|
3316
|
-
organizations:
|
|
3316
|
+
organizations: D.value,
|
|
3317
3317
|
"animation-index": 5,
|
|
3318
3318
|
"animation-enabled": g.value
|
|
3319
3319
|
}, null, 8, ["organizations", "animation-enabled"])) : w("", !0),
|
|
@@ -3330,7 +3330,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
3330
3330
|
}), Kr = /* @__PURE__ */ A(Fo, [["__scopeId", "data-v-3144ceb6"]]), Uo = { class: "sl-bento-profile-skeleton sl-min-h-screen sl-relative" }, Ro = { class: "sl-relative sl-max-w-4xl sl-mx-auto sl-px-4 sl-py-8 sl-space-y-6" }, Ho = { class: "sl-space-y-4" }, Oo = { class: "sl-space-y-3" }, Wo = { class: "sl-space-y-3" }, Go = {
|
|
3331
3331
|
key: 0,
|
|
3332
3332
|
class: "sl-space-y-6"
|
|
3333
|
-
}, qo = { class: "sl-space-y-3" }, Yo = { class: "sl-space-y-6" }, Ko = { class: "sl-space-y-4" }, Zo = { class: "sl-flex-1 sl-space-y-1" }, Jo = { class: "sl-grid sl-grid-cols-2 sl-gap-4" }, Xo = { class: "sl-space-y-1" }, Qo = /* @__PURE__ */
|
|
3333
|
+
}, qo = { class: "sl-space-y-3" }, Yo = { class: "sl-space-y-6" }, Ko = { class: "sl-space-y-4" }, Zo = { class: "sl-flex-1 sl-space-y-1" }, Jo = { class: "sl-grid sl-grid-cols-2 sl-gap-4" }, Xo = { class: "sl-space-y-1" }, Qo = /* @__PURE__ */ T({
|
|
3334
3334
|
__name: "BentoProfileLayoutSkeleton",
|
|
3335
3335
|
props: {
|
|
3336
3336
|
showLocation: { type: Boolean, default: !0 },
|
|
@@ -3363,7 +3363,7 @@ const Cl = /* @__PURE__ */ A(wl, [["render", _l]]), Il = { class: "sl-bg-white s
|
|
|
3363
3363
|
return (l, c) => (o(), u("div", Uo, [
|
|
3364
3364
|
c[4] || (c[4] = s("div", { class: "sl-absolute sl-inset-0 sl-bg-gray-50 dark:sl-bg-gray-900 sl--z-10" }, null, -1)),
|
|
3365
3365
|
s("div", Ro, [
|
|
3366
|
-
c[3] || (c[3] =
|
|
3366
|
+
c[3] || (c[3] = De('<div class="sl-rounded-2xl sl-bg-gradient-to-r sl-from-primary-600 sl-to-primary-700 sl-p-6 sl-animate-pulse" data-v-dbce0c6a><div class="sl-flex sl-items-center sl-gap-4" data-v-dbce0c6a><div class="sl-w-20 sl-h-20 sl-rounded-full sl-bg-white/20" data-v-dbce0c6a></div><div class="sl-space-y-2" data-v-dbce0c6a><div class="sl-h-6 sl-w-48 sl-bg-white/20 sl-rounded" data-v-dbce0c6a></div><div class="sl-h-4 sl-w-24 sl-bg-white/20 sl-rounded" data-v-dbce0c6a></div></div></div></div>', 1)),
|
|
3367
3367
|
s("div", {
|
|
3368
3368
|
class: z([
|
|
3369
3369
|
"sl-grid sl-gap-6",
|
|
@@ -3524,7 +3524,7 @@ export {
|
|
|
3524
3524
|
Pr as AvatarImage,
|
|
3525
3525
|
jr as AvatarInitials,
|
|
3526
3526
|
Ar as AvatarWithText,
|
|
3527
|
-
|
|
3527
|
+
Td as BackgroundGradientWrapper,
|
|
3528
3528
|
le as Badge,
|
|
3529
3529
|
Vd as Banner,
|
|
3530
3530
|
pi as BarChart,
|
|
@@ -3538,7 +3538,7 @@ export {
|
|
|
3538
3538
|
Od as CalendarDashboard,
|
|
3539
3539
|
si as CalendarHeader,
|
|
3540
3540
|
Hr as CardLayout,
|
|
3541
|
-
|
|
3541
|
+
Md as CardWrapper,
|
|
3542
3542
|
Rn as Checkbox,
|
|
3543
3543
|
Oe as CheckboxInput,
|
|
3544
3544
|
Ne as CloudinaryImage,
|
|
@@ -3552,7 +3552,7 @@ export {
|
|
|
3552
3552
|
Zi as DashboardLayout,
|
|
3553
3553
|
Fr as DateFormatter,
|
|
3554
3554
|
Ur as DateRangeFormatter,
|
|
3555
|
-
|
|
3555
|
+
Mi as DatepickerInput,
|
|
3556
3556
|
ai as DayCalendar,
|
|
3557
3557
|
Xi as DefaultLayout,
|
|
3558
3558
|
Pd as DisclosureWrapper,
|
|
@@ -3566,7 +3566,7 @@ export {
|
|
|
3566
3566
|
Fs as FacebookBrandIcon,
|
|
3567
3567
|
Vi as FileDropzoneInput,
|
|
3568
3568
|
Ad as FormErrorWrapper,
|
|
3569
|
-
|
|
3569
|
+
Ti as FormField,
|
|
3570
3570
|
m0 as FormFieldWrapper,
|
|
3571
3571
|
hi as FunnelChart,
|
|
3572
3572
|
nt as GeocodeStatus,
|
|
@@ -3574,7 +3574,7 @@ export {
|
|
|
3574
3574
|
_0 as GoogleMap,
|
|
3575
3575
|
ed as HeaderLayout,
|
|
3576
3576
|
Fi as HiddenInput,
|
|
3577
|
-
|
|
3577
|
+
M0 as ImageCropperModal,
|
|
3578
3578
|
Ri as ImageDropzoneInput,
|
|
3579
3579
|
Or as InfoCard,
|
|
3580
3580
|
I0 as InfoWindow,
|
|
@@ -3588,7 +3588,7 @@ export {
|
|
|
3588
3588
|
Vn as LottieAnimation,
|
|
3589
3589
|
z0 as Map,
|
|
3590
3590
|
md as MapAll,
|
|
3591
|
-
|
|
3591
|
+
T0 as MapMarker,
|
|
3592
3592
|
On as Menu,
|
|
3593
3593
|
Gn as Modal,
|
|
3594
3594
|
ci as MonthCalendar,
|
|
@@ -3614,7 +3614,7 @@ export {
|
|
|
3614
3614
|
Zn as ProgressBar,
|
|
3615
3615
|
id as ProjectLogo,
|
|
3616
3616
|
Wr as PropsTable,
|
|
3617
|
-
|
|
3617
|
+
Mr as RadialProgressBar,
|
|
3618
3618
|
Vr as RelatedNamesEditor,
|
|
3619
3619
|
x0 as RichTextInput,
|
|
3620
3620
|
ue as SelectInput,
|
|
@@ -3639,7 +3639,7 @@ export {
|
|
|
3639
3639
|
Yi as TagifyInput,
|
|
3640
3640
|
Ge as TextAreaInput,
|
|
3641
3641
|
q as TextInput,
|
|
3642
|
-
|
|
3642
|
+
Dr as ThemeDebugModal,
|
|
3643
3643
|
cl as ThreadsBrandIcon,
|
|
3644
3644
|
pl as TikTokBrandIcon,
|
|
3645
3645
|
ei as Transition,
|
|
@@ -3669,7 +3669,7 @@ export {
|
|
|
3669
3669
|
ut as generateCSSVariables,
|
|
3670
3670
|
en as generateDeterministicId,
|
|
3671
3671
|
tn as generateId,
|
|
3672
|
-
|
|
3672
|
+
Tr as generateTailwindConfig,
|
|
3673
3673
|
o0 as getAreaGradient,
|
|
3674
3674
|
Lr as getComponent,
|
|
3675
3675
|
_n as getTabBadgeClasses,
|
|
@@ -3686,12 +3686,12 @@ export {
|
|
|
3686
3686
|
Ln as slugToReadable,
|
|
3687
3687
|
d0 as stachelockColors,
|
|
3688
3688
|
c0 as toRgba,
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3689
|
+
Tn as toSentenceCase,
|
|
3690
|
+
Dn as toTitleCase,
|
|
3691
|
+
Mn as transformString,
|
|
3692
3692
|
Bn as truncateString,
|
|
3693
3693
|
an as useCalendar,
|
|
3694
|
-
|
|
3694
|
+
Me as useCollectionEditor,
|
|
3695
3695
|
cn as useEventSegments,
|
|
3696
3696
|
mn as useFormValidation,
|
|
3697
3697
|
xn as useMap,
|