@zealsolutions/zeal-ui 1.0.0-alpha.100

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.
Files changed (58) hide show
  1. package/README.md +29 -0
  2. package/dist/BaseDropdownButton-D4GSZKdk.js +43 -0
  3. package/dist/BaseOverlay-aTh6_ssu.js +21 -0
  4. package/dist/BaseTooltip-CcnCHpL4.js +53 -0
  5. package/dist/ChevronDownIcon-De0Ga7A4.js +23 -0
  6. package/dist/ChevronRightIcon-Be-vxVtQ.js +95 -0
  7. package/dist/CircleExclamationIcon-CVpIK7Mu.js +23 -0
  8. package/dist/CircleStatusIcon-CRoBchKs.js +46 -0
  9. package/dist/CloseButton-BsjhPDWi.js +19 -0
  10. package/dist/DropdownMenuTextItem-BYGt1jLy.js +1813 -0
  11. package/dist/InfiniteScroll-CgeGewSV.js +498 -0
  12. package/dist/InputField-CxSec0eW.js +59 -0
  13. package/dist/NavigationMenuNotification-C_z9naik.js +452 -0
  14. package/dist/NotificationIcon-CxO6DGyQ.js +191 -0
  15. package/dist/OpacityScaleTransition-CtMzqccC.js +26 -0
  16. package/dist/OpacityTransition-D4EuhJnX.js +26 -0
  17. package/dist/OpacityTranslateTransition-fF3EnRwC.js +32 -0
  18. package/dist/ProclusLogo-BAHzwRvI.js +81 -0
  19. package/dist/TranslateTransition-iGQAQ66h.js +32 -0
  20. package/dist/TruncateText-BOyOYUV6.js +61 -0
  21. package/dist/XMarkIcon-Ba-nxo3h.js +23 -0
  22. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  23. package/dist/components/buttons/index.js +68 -0
  24. package/dist/components/forms/index.js +118 -0
  25. package/dist/components/icons/index.js +1416 -0
  26. package/dist/components/inputs/index.js +360 -0
  27. package/dist/components/layouts/index.js +118 -0
  28. package/dist/components/logos/index.js +468 -0
  29. package/dist/components/menus/index.js +304 -0
  30. package/dist/components/modals/index.js +212 -0
  31. package/dist/components/navigation/index.js +9 -0
  32. package/dist/components/overlays/index.js +4 -0
  33. package/dist/components/tooltips/index.js +4 -0
  34. package/dist/components/transitions/index.js +10 -0
  35. package/dist/components/utils/index.js +6 -0
  36. package/dist/config/tailwind/index.js +354 -0
  37. package/dist/css/base.css +185 -0
  38. package/dist/css/typography.css +43 -0
  39. package/dist/favicon.ico +0 -0
  40. package/dist/fonts/montserrat/JTUQjIg1_i6t8kCHKm459WxRxC7mw9c.woff2 +0 -0
  41. package/dist/fonts/montserrat/JTUQjIg1_i6t8kCHKm459WxRxi7mw9c.woff2 +0 -0
  42. package/dist/fonts/montserrat/JTUQjIg1_i6t8kCHKm459WxRxy7mw9c.woff2 +0 -0
  43. package/dist/fonts/montserrat/JTUQjIg1_i6t8kCHKm459WxRyS7m.woff2 +0 -0
  44. package/dist/fonts/montserrat/JTUQjIg1_i6t8kCHKm459WxRzS7mw9c.woff2 +0 -0
  45. package/dist/fonts/montserrat/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2 +0 -0
  46. package/dist/fonts/montserrat/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2 +0 -0
  47. package/dist/fonts/montserrat/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2 +0 -0
  48. package/dist/fonts/montserrat/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2 +0 -0
  49. package/dist/fonts/montserrat/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2 +0 -0
  50. package/dist/fonts/unna/AYCEpXzofN0NOp8LlQ.woff2 +0 -0
  51. package/dist/fonts/unna/AYCEpXzofN0NOpELlVHC.woff2 +0 -0
  52. package/dist/fonts/unna/AYCJpXzofN0NOpozLGzTR3Jv.woff2 +0 -0
  53. package/dist/fonts/unna/AYCJpXzofN0NOpozLGzTSXJv_vc.woff2 +0 -0
  54. package/dist/fonts/unna/AYCKpXzofN0NOpo7l0nG.woff2 +0 -0
  55. package/dist/fonts/unna/AYCKpXzofN0NOpo7mUnGeFM.woff2 +0 -0
  56. package/dist/fonts/unna/AYCLpXzofN0NMiQugG7jRQ.woff2 +0 -0
  57. package/dist/fonts/unna/AYCLpXzofN0NMiQugGDjRWpr.woff2 +0 -0
  58. package/package.json +83 -0
@@ -0,0 +1,304 @@
1
+ import { i as ie, g as ue, _ as R } from "../../DropdownMenuTextItem-BYGt1jLy.js";
2
+ import { a as el, D as ll } from "../../DropdownMenuTextItem-BYGt1jLy.js";
3
+ import { mergeModels as j, useSlots as re, computed as w, ref as s, useModel as de, onMounted as ce, watch as fe, openBlock as p, createElementBlock as I, createElementVNode as d, normalizeClass as V, renderSlot as k, createVNode as h, withCtx as c, createTextVNode as L, toDisplayString as F, createCommentVNode as C, createBlock as U, resolveDynamicComponent as ve, unref as K, withDirectives as O, normalizeStyle as X, withKeys as pe, withModifiers as G, vModelText as he, Fragment as me, renderList as ye, vShow as we, nextTick as ge } from "vue";
4
+ import { _ as be } from "../../OpacityScaleTransition-CtMzqccC.js";
5
+ import { _ as xe } from "../../OpacityTranslateTransition-fF3EnRwC.js";
6
+ import { _ as ke } from "../../OpacityTransition-D4EuhJnX.js";
7
+ import { a as Se, u as $e, w as Ie, _ as Ce, b as De } from "../../InfiniteScroll-CgeGewSV.js";
8
+ import { M as Me, C as Te, a as _e } from "../../CircleStatusIcon-CRoBchKs.js";
9
+ import { _ as Be } from "../../BaseDropdownButton-D4GSZKdk.js";
10
+ import { X as Ve } from "../../XMarkIcon-Ba-nxo3h.js";
11
+ const Le = { class: "relative" }, Ue = {
12
+ key: 0,
13
+ class: "bg-steel-100 border-b-0"
14
+ }, Ke = { class: "relative cursor-default select-none h-[38px] pl-4 text-black-950 text-style-input pr-5" }, Pe = { class: "flex h-full items-center space-x-3" }, Ee = { class: "relative h-2.5 w-2.5" }, Ne = ["placeholder", "onKeydown", "disabled"], We = { class: "absolute w-3 inset-y-0 right-4 flex items-center justify-center" }, qe = { class: "text-style-base-body focus:outline-none" }, D = 38, Qe = {
15
+ __name: "DropdownMenuMulti",
16
+ props: /* @__PURE__ */ j({
17
+ displayRows: {
18
+ type: Number,
19
+ default: 5
20
+ },
21
+ data: {
22
+ type: Array,
23
+ default: () => []
24
+ },
25
+ placeholder: {
26
+ type: String,
27
+ default: "Choose an option"
28
+ },
29
+ searchPlaceholder: {
30
+ type: String,
31
+ default: "Search"
32
+ },
33
+ fetchUrl: {
34
+ type: [String, null],
35
+ default: null,
36
+ required: !1
37
+ },
38
+ fetchParams: {
39
+ type: Object,
40
+ default: () => {
41
+ },
42
+ required: !1
43
+ },
44
+ searchUrl: {
45
+ type: [String, null],
46
+ default: null,
47
+ required: !1
48
+ },
49
+ idKey: {
50
+ type: String,
51
+ required: !1,
52
+ default: "id"
53
+ },
54
+ valKey: {
55
+ type: String,
56
+ required: !1,
57
+ default: "val"
58
+ },
59
+ responseCallback: {
60
+ type: [Function, null],
61
+ default: null
62
+ },
63
+ searchable: {
64
+ type: Boolean,
65
+ default: !1
66
+ },
67
+ fitContent: {
68
+ type: Boolean,
69
+ default: !1
70
+ },
71
+ forceWidth: {
72
+ type: String,
73
+ default: ""
74
+ },
75
+ maxWidth: {
76
+ type: String,
77
+ default: "none"
78
+ },
79
+ buttonPosition: {
80
+ type: String,
81
+ default: "left"
82
+ },
83
+ scrollable: {
84
+ type: Boolean,
85
+ default: !0
86
+ },
87
+ showBorder: {
88
+ type: Boolean,
89
+ default: !0
90
+ }
91
+ }, {
92
+ modelValue: { default: [] },
93
+ modelModifiers: {}
94
+ }),
95
+ emits: /* @__PURE__ */ j(["error"], ["update:modelValue"]),
96
+ setup(u, { emit: J }) {
97
+ const { width: Q, height: Y } = Se(), m = $e(De).smaller("sm"), a = u, Z = J, P = re(), ee = w(() => P.buttonIcon && ie(P.buttonIcon()[0].type)), g = s(null), r = s(null), E = s(null), i = de(u, "modelValue"), o = s(null), M = w(() => i.value.length === 0 || v.value.length === 0 ? null : v.value.filter((e) => i.value.includes(e.id)).length > 1 ? v.value.filter((e) => i.value.includes(e.id)).length + " items selected" : v.value.find((e) => e.id === i.value[0]).val), T = s(5), le = w(() => a.scrollable ? a.displayRows * D + 24 : "none"), b = s("down"), f = s(!1), N = s(0), n = s(a.data), v = s(a.data), y = s(""), S = w(() => a.buttonPosition === "left"), te = w(() => m.value ? "origin-bottom" : b.value === "down" ? S.value ? "origin-top-left" : "origin-top-right" : S.value ? "origin-bottom-left" : "origin-bottom-right");
98
+ let W = null, q = null;
99
+ const $ = s(!1), _ = () => {
100
+ f.value = !f.value, f.value ? ge(() => {
101
+ r.value.$el.scrollTop = N.value;
102
+ }) : o.value = null;
103
+ }, B = (e) => {
104
+ i.value.includes(e) ? i.value = i.value.filter((t) => t !== e) : i.value.push(e), N.value = r.value.$el.scrollTop;
105
+ }, z = (e) => {
106
+ o.value = e;
107
+ }, A = () => {
108
+ let e = E.value.getBoundingClientRect();
109
+ g.value.style.display = "block";
110
+ let t = g.value.clientHeight;
111
+ g.value.style.display = "none", e.top + e.height + t > window.innerHeight ? (b.value = "up", T.value = -t - e.height - 5) : (b.value = "down", T.value = 5);
112
+ }, ae = (e) => {
113
+ e.preventDefault(), r.value.$el.focus(), y.value !== "" && (o.value = n.value[0].id), o.value === null && (o.value = n.value[0].id);
114
+ }, oe = (e) => {
115
+ e.preventDefault();
116
+ let t = Math.floor(r.value.$el.scrollTop / D);
117
+ if (e.key === "Escape" && (o.value = null, f.value = !1), e.key === "ArrowDown") {
118
+ let l;
119
+ n.value.length > 0 ? (l = n.value.findIndex((x) => x.id === o.value), l < n.value.length - 1 && (o.value = n.value[l + 1].id)) : ((o.value === null || o.value < q) && o.value++, l = o.value - 1), l - t > a.displayRows - 2 && (r.value.$el.scrollTop += D);
120
+ }
121
+ if (e.key === "ArrowUp") {
122
+ let l;
123
+ n.value.length > 0 ? (l = n.value.findIndex((x) => x.id === o.value), l > 0 && (o.value = n.value[l - 1].id)) : o.value === null ? l = 0 : (o.value > 1 && o.value--, l = o.value - 1), l - t < 2 && (r.value.$el.scrollTop -= D);
124
+ }
125
+ (e.key === "Enter" || e.key === "Tab") && B(o.value);
126
+ }, ne = () => {
127
+ a.searchable ? g.value.getElementsByTagName("input")[0].focus() : r.value.$el.focus();
128
+ }, H = () => {
129
+ y.value = "";
130
+ }, se = w(() => {
131
+ let e = `margin-top: ${T.value}px; max-width: ${a.maxWidth};`;
132
+ return a.forceWidth !== "" && !m.value && (e += `width: ${a.forceWidth};`), e;
133
+ });
134
+ return ce(() => {
135
+ r.value.canEmit = !1, A(), a.fetchUrl !== null && ue(a.fetchUrl, a.fetchParams).then((e) => {
136
+ a.responseCallback !== null ? n.value = a.responseCallback(e.data) : n.value = e.data.map((t, l) => ({
137
+ id: t[a.idKey] || l,
138
+ val: t[a.valKey]
139
+ })), v.value = n.value;
140
+ }).catch((e) => {
141
+ Z("error", e);
142
+ }), a.data.length === 0 && (q = r.value.$el.getElementsByTagName("li").length);
143
+ }), fe([Q, Y], () => {
144
+ m.value || A();
145
+ }), Ie(y, (e) => {
146
+ let t = e.trim();
147
+ t !== W && (a.searchUrl !== null ? navValTrimmed === "" && (n.value = v.value) : n.value = v.value.filter((l) => l.val.toLowerCase().includes(t.toLowerCase())), W = t);
148
+ }, { debounce: a.searchUrl ? 300 : 0, maxWait: a.searchUrl ? 1e3 : void 0 }), (e, t) => (p(), I("div", Le, [
149
+ d("div", {
150
+ ref_key: "button",
151
+ ref: E,
152
+ class: V(["flex", S.value ? "justify-start" : "justify-end"])
153
+ }, [
154
+ k(e.$slots, "button", {
155
+ selectedItem: M.value,
156
+ toggleDropdown: _,
157
+ showDropdown: f.value,
158
+ dropdownDirection: b.value
159
+ }, () => [
160
+ h(Be, {
161
+ "show-button-icon": ee.value,
162
+ "show-dropdown": f.value,
163
+ "dropdown-direction": b.value,
164
+ onClick: _,
165
+ class: V(u.fitContent ? "w-fit" : "w-full")
166
+ }, {
167
+ buttonIcon: c(() => [
168
+ k(e.$slots, "buttonIcon")
169
+ ]),
170
+ default: c(() => [
171
+ L(F(M.value ? M.value : u.placeholder) + " ", 1)
172
+ ]),
173
+ _: 3
174
+ }, 8, ["show-button-icon", "show-dropdown", "dropdown-direction", "class"])
175
+ ])
176
+ ], 2),
177
+ h(ke, null, {
178
+ default: c(() => [
179
+ f.value ? (p(), I("div", {
180
+ key: 0,
181
+ class: "fixed inset-0 top-0 left-0 z-10 bg-black-950/85 sm:bg-transparent",
182
+ onClick: _
183
+ })) : C("", !0)
184
+ ]),
185
+ _: 1
186
+ }),
187
+ (p(), U(ve(K(m) ? xe : be), {
188
+ "enter-active-class": K(m) ? "transition-all duration-200 ease-in delay-100" : "transition-all ease-out duration-75 scale-100",
189
+ "leave-active-class": K(m) ? "transition-all duration-200 ease-out" : "transition-all ease-in duration-75 scale-100",
190
+ onAfterEnter: ne
191
+ }, {
192
+ default: c(() => [
193
+ O(d("div", {
194
+ ref_key: "container",
195
+ ref: g,
196
+ class: V(["fixed bottom-[75px] left-2.5 w-[calc(100%-20px)] sm:bottom-auto sm:absolute flex flex-col z-20 rounded-[20px] border-steel-400 overflow-hidden shadow-zeal-md", [
197
+ te.value,
198
+ u.fitContent ? "sm:w-fit" : "sm:w-full",
199
+ S.value ? "sm:left-0" : "sm:left-auto sm:right-0",
200
+ u.showBorder ? "border" : "border-0"
201
+ ]]),
202
+ style: X(se.value)
203
+ }, [
204
+ k(e.$slots, "search", {
205
+ searchString: y.value,
206
+ clearSearch: H,
207
+ inputDisabled: $.value
208
+ }, () => [
209
+ u.searchable ? (p(), I("div", Ue, [
210
+ d("div", Ke, [
211
+ d("div", Pe, [
212
+ d("div", Ee, [
213
+ h(Me, { class: "absolute scale-[0.8182] -left-1 -top-1 origin-top-left text-steel-600" })
214
+ ]),
215
+ d("div", null, [
216
+ O(d("input", {
217
+ type: "text",
218
+ class: "w-full text-style-input bg-transparent focus:outline-none focus:ring-0 border-0 px-0",
219
+ tabindex: "-1",
220
+ placeholder: u.searchPlaceholder,
221
+ "onUpdate:modelValue": t[0] || (t[0] = (l) => y.value = l),
222
+ onKeydown: pe(G(ae, ["self"]), ["tab"]),
223
+ disabled: $.value
224
+ }, null, 40, Ne), [
225
+ [he, y.value]
226
+ ])
227
+ ])
228
+ ]),
229
+ d("span", We, [
230
+ h(Ve, {
231
+ class: "scale-[0.8182] text-steel-700 cursor-pointer",
232
+ onClick: H
233
+ })
234
+ ])
235
+ ])
236
+ ])) : C("", !0)
237
+ ]),
238
+ h(Ce, {
239
+ ref_key: "list",
240
+ ref: r,
241
+ down: !1,
242
+ tabindex: "-1",
243
+ class: "w-full py-0 ring-inset focus:outline-none",
244
+ style: X(`max-height: ${le.value}px;`),
245
+ onLoad: e.handleLoad,
246
+ onKeydown: G(oe, ["self"]),
247
+ onFocus: t[1] || (t[1] = (l) => $.value = !0),
248
+ onBlur: t[2] || (t[2] = (l) => $.value = !1)
249
+ }, {
250
+ default: c(() => [
251
+ d("ul", qe, [
252
+ k(e.$slots, "default", {
253
+ itemList: n.value,
254
+ setActive: z,
255
+ selectItem: B,
256
+ selectedId: i.value,
257
+ activeId: o.value
258
+ }, () => [
259
+ (p(!0), I(me, null, ye(n.value, (l) => (p(), U(R, {
260
+ key: l.id,
261
+ selected: i.value.includes(l.id),
262
+ active: l.id === o.value,
263
+ onClick: (x) => B(l.id),
264
+ onMouseenter: (x) => z(l.id)
265
+ }, {
266
+ prefix: c(() => [
267
+ h(Te)
268
+ ]),
269
+ suffix: c(() => [
270
+ i.value.includes(l.id) ? (p(), U(_e, { key: 0 })) : C("", !0)
271
+ ]),
272
+ default: c(() => [
273
+ L(F(l.val) + " ", 1)
274
+ ]),
275
+ _: 2
276
+ }, 1032, ["selected", "active", "onClick", "onMouseenter"]))), 128))
277
+ ]),
278
+ (u.searchable || u.fetchUrl !== null) && n.value.length === 0 ? k(e.$slots, "empty", { key: 0 }, () => [
279
+ h(R, { tabindex: "-1" }, {
280
+ default: c(() => t[3] || (t[3] = [
281
+ L(" No items found ")
282
+ ])),
283
+ _: 1
284
+ })
285
+ ]) : C("", !0)
286
+ ])
287
+ ]),
288
+ _: 3
289
+ }, 8, ["style", "onLoad"])
290
+ ], 6), [
291
+ [we, f.value]
292
+ ])
293
+ ]),
294
+ _: 3
295
+ }, 40, ["enter-active-class", "leave-active-class"]))
296
+ ]));
297
+ }
298
+ };
299
+ export {
300
+ el as DropdownMenu,
301
+ R as DropdownMenuItem,
302
+ Qe as DropdownMenuMulti,
303
+ ll as DropdownMenuTextItem
304
+ };
@@ -0,0 +1,212 @@
1
+ import { useAttrs as b, openBlock as t, createBlock as a, Teleport as w, resolveDynamicComponent as f, withCtx as i, createCommentVNode as s, createVNode as B, unref as d, createElementBlock as p, mergeProps as q, renderSlot as n } from "vue";
2
+ import { _ as O } from "../../BaseOverlay-aTh6_ssu.js";
3
+ import { _ as T } from "../../OpacityTransition-D4EuhJnX.js";
4
+ import { _ as L } from "../../OpacityScaleTransition-CtMzqccC.js";
5
+ import { _ as C } from "../../CloseButton-BsjhPDWi.js";
6
+ import { _ as $ } from "../../TranslateTransition-iGQAQ66h.js";
7
+ const S = /* @__PURE__ */ Object.assign({
8
+ inheritAttrs: !1
9
+ }, {
10
+ __name: "BaseModal",
11
+ props: {
12
+ show: {
13
+ type: Boolean,
14
+ required: !0,
15
+ default: !1
16
+ },
17
+ showOverlay: {
18
+ type: Boolean,
19
+ required: !1,
20
+ default: !0
21
+ },
22
+ overlay: {
23
+ type: Object,
24
+ required: !1,
25
+ default: () => O
26
+ },
27
+ overlayTransition: {
28
+ type: Object,
29
+ required: !1,
30
+ default: () => T
31
+ },
32
+ overlayTransparent: {
33
+ type: Boolean,
34
+ required: !1,
35
+ default: !1
36
+ },
37
+ closeOutside: {
38
+ type: Boolean,
39
+ required: !1,
40
+ default: !0
41
+ },
42
+ modalTransition: {
43
+ type: Object,
44
+ required: !1,
45
+ default: () => L
46
+ },
47
+ showCloseButton: {
48
+ type: Boolean,
49
+ required: !1,
50
+ default: !0
51
+ },
52
+ disableTeleport: {
53
+ type: Boolean,
54
+ required: !1,
55
+ default: !1
56
+ }
57
+ },
58
+ emits: ["close", "afterEnter", "afterLeave"],
59
+ setup(e, { emit: u }) {
60
+ const c = b(), y = e, l = u, h = () => {
61
+ y.closeOutside && o();
62
+ }, o = () => {
63
+ l("close");
64
+ }, m = () => {
65
+ l("afterEnter");
66
+ }, v = () => {
67
+ l("afterLeave");
68
+ };
69
+ return (r, A) => (t(), a(w, {
70
+ to: "body",
71
+ disabled: e.disableTeleport
72
+ }, [
73
+ (t(), a(f(e.overlayTransition), {
74
+ onAfterEnter: m,
75
+ onAfterLeave: v
76
+ }, {
77
+ default: i(() => [
78
+ e.show && e.showOverlay ? (t(), a(f(e.overlay), {
79
+ key: 0,
80
+ transparent: e.overlayTransparent,
81
+ onClose: h
82
+ }, null, 40, ["transparent"])) : s("", !0)
83
+ ]),
84
+ _: 1
85
+ }, 32)),
86
+ B(d(e.modalTransition), null, {
87
+ default: i(() => [
88
+ e.show ? (t(), p("div", q({ key: 0 }, d(c), { class: "fixed flex flex-col p-8 top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 rounded-lg overflow-hidden bg-white shadow-xl z-50" }), [
89
+ n(r.$slots, "header", { handleClose: o }, () => [
90
+ e.showCloseButton ? (t(), a(C, {
91
+ key: 0,
92
+ class: "top-2 right-2 absolute",
93
+ onClose: o
94
+ })) : s("", !0)
95
+ ]),
96
+ n(r.$slots, "default"),
97
+ n(r.$slots, "footer")
98
+ ], 16)) : s("", !0)
99
+ ]),
100
+ _: 3
101
+ })
102
+ ], 8, ["disabled"]));
103
+ }
104
+ }), z = /* @__PURE__ */ Object.assign({
105
+ inheritAttrs: !1
106
+ }, {
107
+ __name: "SlideoutModal",
108
+ props: {
109
+ show: {
110
+ type: Boolean,
111
+ required: !0,
112
+ default: !1
113
+ },
114
+ showOverlay: {
115
+ type: Boolean,
116
+ required: !1,
117
+ default: !0
118
+ },
119
+ overlay: {
120
+ type: Object,
121
+ required: !1,
122
+ default: () => O
123
+ },
124
+ overlayTransition: {
125
+ type: Object,
126
+ required: !1,
127
+ default: () => T
128
+ },
129
+ overlayTransparent: {
130
+ type: Boolean,
131
+ required: !1,
132
+ default: !1
133
+ },
134
+ closeOutside: {
135
+ type: Boolean,
136
+ required: !1,
137
+ default: !0
138
+ },
139
+ modalTransition: {
140
+ type: Object,
141
+ required: !1,
142
+ default: () => $
143
+ },
144
+ showCloseButton: {
145
+ type: Boolean,
146
+ required: !1,
147
+ default: !0
148
+ },
149
+ disableTeleport: {
150
+ type: Boolean,
151
+ required: !1,
152
+ default: !1
153
+ },
154
+ positionLeft: {
155
+ type: Boolean,
156
+ required: !1,
157
+ default: !1
158
+ }
159
+ },
160
+ emits: ["close", "afterEnter", "afterLeave"],
161
+ setup(e, { emit: u }) {
162
+ const c = b(), y = e, l = u, h = () => {
163
+ y.closeOutside && o();
164
+ }, o = () => {
165
+ l("close");
166
+ }, m = () => {
167
+ l("afterEnter");
168
+ }, v = () => {
169
+ l("afterLeave");
170
+ };
171
+ return (r, A) => (t(), a(w, {
172
+ to: "body",
173
+ disabled: e.disableTeleport
174
+ }, [
175
+ (t(), a(f(e.overlayTransition), {
176
+ onAfterEnter: m,
177
+ onAfterLeave: v
178
+ }, {
179
+ default: i(() => [
180
+ e.show && e.showOverlay ? (t(), a(f(e.overlay), {
181
+ key: 0,
182
+ transparent: e.overlayTransparent,
183
+ onClose: h
184
+ }, null, 40, ["transparent"])) : s("", !0)
185
+ ]),
186
+ _: 1
187
+ }, 32)),
188
+ B(d(e.modalTransition), {
189
+ direction: e.positionLeft ? "left" : "right"
190
+ }, {
191
+ default: i(() => [
192
+ e.show ? (t(), p("div", q({ key: 0 }, d(c), {
193
+ class: ["fixed flex flex-col p-8 top-0 h-full w-96 overflow-hidden bg-white shadow-xl z-50", e.positionLeft ? "left-0" : "right-0"]
194
+ }), [
195
+ e.showCloseButton ? (t(), a(C, {
196
+ key: 0,
197
+ class: "top-2 right-2 absolute",
198
+ onClose: o
199
+ })) : s("", !0),
200
+ n(r.$slots, "default"),
201
+ n(r.$slots, "footer")
202
+ ], 16)) : s("", !0)
203
+ ]),
204
+ _: 3
205
+ }, 8, ["direction"])
206
+ ], 8, ["disabled"]));
207
+ }
208
+ });
209
+ export {
210
+ S as BaseModal,
211
+ z as SlideOutModal
212
+ };
@@ -0,0 +1,9 @@
1
+ import { _ as n, a as e, b as o, c as t, d as N, e as g } from "../../NavigationMenuNotification-C_z9naik.js";
2
+ export {
3
+ n as NavigationMenu,
4
+ e as NavigationMenuItem,
5
+ o as NavigationMenuItemLink,
6
+ t as NavigationMenuNotification,
7
+ N as NavigationMenuProfile,
8
+ g as SideNavigation
9
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as r } from "../../BaseOverlay-aTh6_ssu.js";
2
+ export {
3
+ r as BaseOverlay
4
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as e } from "../../BaseTooltip-CcnCHpL4.js";
2
+ export {
3
+ e as BaseTooltip
4
+ };
@@ -0,0 +1,10 @@
1
+ import { _ as t } from "../../OpacityTransition-D4EuhJnX.js";
2
+ import { _ as i } from "../../OpacityScaleTransition-CtMzqccC.js";
3
+ import { _ as s } from "../../OpacityTranslateTransition-fF3EnRwC.js";
4
+ import { _ as p } from "../../TranslateTransition-iGQAQ66h.js";
5
+ export {
6
+ i as OpacityScaleTransition,
7
+ t as OpacityTransition,
8
+ s as OpacityTranslateTransition,
9
+ p as TranslateTransition
10
+ };
@@ -0,0 +1,6 @@
1
+ import { _ as o } from "../../InfiniteScroll-CgeGewSV.js";
2
+ import { _ as a } from "../../TruncateText-BOyOYUV6.js";
3
+ export {
4
+ o as InfiniteScroll,
5
+ a as TruncateText
6
+ };