@septkit/ui 0.0.15 → 0.0.16
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/_virtual/_rolldown/runtime.js +17 -0
- package/dist/dropdown/combobox.js +5 -0
- package/dist/dropdown/combobox.vue_vue_type_script_setup_true_lang.js +103 -0
- package/dist/dropdown/dropdown.js +1 -1
- package/dist/dropdown/dropdown.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/dropdown/index.js +2 -0
- package/dist/external/.pnpm/@floating-ui_core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.js +359 -0
- package/dist/external/.pnpm/@floating-ui_dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +328 -0
- package/dist/external/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +97 -0
- package/dist/external/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +106 -0
- package/dist/external/.pnpm/@floating-ui_vue@1.1.11_vue@3.5.32_typescript@5.8.3_/node_modules/@floating-ui/vue/dist/floating-ui.vue.js +102 -0
- package/dist/external/.pnpm/@vueuse_core@14.2.1_vue@3.5.32_typescript@5.8.3_/node_modules/@vueuse/core/dist/index.js +66 -0
- package/dist/external/.pnpm/@vueuse_shared@14.2.1_vue@3.5.32_typescript@5.8.3_/node_modules/@vueuse/shared/dist/index.js +83 -0
- package/dist/external/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +46 -0
- package/dist/external/.pnpm/defu@6.1.7/node_modules/defu/dist/defu.js +22 -0
- package/dist/external/.pnpm/lucide-vue-next@1.0.0_vue@3.5.32_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/check.js +8 -0
- package/dist/external/.pnpm/lucide-vue-next@1.0.0_vue@3.5.32_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/chevron-down.js +8 -0
- package/dist/external/.pnpm/ohash@2.0.11/node_modules/ohash/dist/shared/ohash.D__AXeF1.js +106 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Collection/Collection.js +62 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxAnchor.js +41 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxContent.js +134 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxContentImpl.js +192 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxEmpty.js +26 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxGroup.js +6 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxInput.js +115 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxItem.js +64 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxItemIndicator.js +26 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxRoot.js +213 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxTrigger.js +55 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxViewport.js +51 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/ConfigProvider/ConfigProvider.js +6 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/DismissableLayer/DismissableLayer.js +80 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/DismissableLayer/utils.js +62 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/FocusScope/FocusScope.js +109 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/FocusScope/stack.js +22 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/FocusScope/utils.js +45 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Listbox/ListboxContent.js +65 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Listbox/ListboxFilter.js +84 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Listbox/ListboxItem.js +81 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Listbox/ListboxItemIndicator.js +33 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Listbox/ListboxRoot.js +268 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Listbox/utils.js +10 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Popper/PopperAnchor.js +37 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Popper/PopperContent.js +225 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Popper/PopperRoot.js +16 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Popper/utils.js +27 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Presence/Presence.js +39 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Presence/usePresence.js +58 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Primitive/Primitive.js +27 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Primitive/Slot.js +23 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Primitive/usePrimitiveElement.js +12 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/RovingFocus/utils.js +20 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/VisuallyHidden/VisuallyHidden.js +57 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/VisuallyHidden/VisuallyHiddenInput.js +65 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/VisuallyHidden/VisuallyHiddenInputBubble.js +55 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/arrays.js +10 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/createContext.js +12 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/getActiveElement.js +9 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/handleAndDispatchCustomEvent.js +11 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/nullish.js +6 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/renderSlotFragments.js +7 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useBodyScrollLock.js +63 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useDirection.js +9 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useEmitAsProps.js +10 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useFilter.js +24 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useFocusGuards.js +19 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useFormControl.js +8 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useForwardExpose.js +50 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useForwardProps.js +19 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useForwardPropsEmits.js +13 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useHideOthers.js +18 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useId.js +11 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useKbd.js +41 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useNonce.js +9 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useSize.js +33 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useStateMachine.js +16 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useTypeahead.js +33 -0
- package/dist/external/.pnpm/vue-demi@0.14.10_vue@3.5.32_typescript@5.8.3_/node_modules/vue-demi/lib/index.js +28 -0
- package/dist/index.d.ts +52 -1
- package/dist/index.js +4 -2
- package/dist/ui.css +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { customRef as e, effectScope as t, getCurrentInstance as n, getCurrentScope as r, onBeforeUnmount as i, onScopeDispose as a, readonly as o, shallowRef as s, toValue as c, watch as l, watchEffect as u } from "vue";
|
|
2
|
+
//#region node_modules/.pnpm/@vueuse+shared@14.2.1_vue@3.5.32_typescript@5.8.3_/node_modules/@vueuse/shared/dist/index.js
|
|
3
|
+
function d(e, t) {
|
|
4
|
+
let n = s();
|
|
5
|
+
return u(() => {
|
|
6
|
+
n.value = e();
|
|
7
|
+
}, {
|
|
8
|
+
...t,
|
|
9
|
+
flush: t?.flush ?? "sync"
|
|
10
|
+
}), o(n);
|
|
11
|
+
}
|
|
12
|
+
function f(e, t) {
|
|
13
|
+
return r() ? (a(e, t), !0) : !1;
|
|
14
|
+
}
|
|
15
|
+
function p() {
|
|
16
|
+
let e = /* @__PURE__ */ new Set(), t = (t) => {
|
|
17
|
+
e.delete(t);
|
|
18
|
+
};
|
|
19
|
+
return {
|
|
20
|
+
on: (n) => {
|
|
21
|
+
e.add(n);
|
|
22
|
+
let r = () => t(n);
|
|
23
|
+
return f(r), { off: r };
|
|
24
|
+
},
|
|
25
|
+
off: t,
|
|
26
|
+
trigger: (...t) => Promise.all(Array.from(e).map((e) => e(...t))),
|
|
27
|
+
clear: () => {
|
|
28
|
+
e.clear();
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
function m(e) {
|
|
33
|
+
let n = !1, r, i = t(!0);
|
|
34
|
+
return ((...t) => (n ||= (r = i.run(() => e(...t)), !0), r));
|
|
35
|
+
}
|
|
36
|
+
var h = typeof window < "u" && typeof document < "u";
|
|
37
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
38
|
+
var g = (e) => e !== void 0, _ = Object.prototype.toString, v = (e) => _.call(e) === "[object Object]", y = /* @__PURE__ */ b();
|
|
39
|
+
function b() {
|
|
40
|
+
var e, t;
|
|
41
|
+
return h && !!(!((e = window) == null || (e = e.navigator) == null) && e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window) == null || (t = t.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window?.navigator.userAgent));
|
|
42
|
+
}
|
|
43
|
+
function x(e) {
|
|
44
|
+
return Array.isArray(e) ? e : [e];
|
|
45
|
+
}
|
|
46
|
+
function S(e) {
|
|
47
|
+
return e || n();
|
|
48
|
+
}
|
|
49
|
+
function C(e) {
|
|
50
|
+
if (!h) return e;
|
|
51
|
+
let n = 0, r, i, a = () => {
|
|
52
|
+
--n, i && n <= 0 && (i.stop(), r = void 0, i = void 0);
|
|
53
|
+
};
|
|
54
|
+
return ((...o) => (n += 1, i || (i = t(!0), r = i.run(() => e(...o))), f(a), r));
|
|
55
|
+
}
|
|
56
|
+
function w(t, n = 1e4) {
|
|
57
|
+
return e((e, r) => {
|
|
58
|
+
let i = c(t), a, o = () => setTimeout(() => {
|
|
59
|
+
i = c(t), r();
|
|
60
|
+
}, c(n));
|
|
61
|
+
return f(() => {
|
|
62
|
+
clearTimeout(a);
|
|
63
|
+
}), {
|
|
64
|
+
get() {
|
|
65
|
+
return e(), i;
|
|
66
|
+
},
|
|
67
|
+
set(e) {
|
|
68
|
+
i = e, r(), clearTimeout(a), a = o();
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
function T(e, t) {
|
|
74
|
+
S(t) && i(e, t);
|
|
75
|
+
}
|
|
76
|
+
function E(e, t, n) {
|
|
77
|
+
return l(e, t, {
|
|
78
|
+
...n,
|
|
79
|
+
immediate: !0
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
//#endregion
|
|
83
|
+
export { d as computedEager, p as createEventHook, m as createGlobalState, C as createSharedComposable, S as getLifeCycleTarget, h as isClient, g as isDef, y as isIOS, v as isObject, w as refAutoReset, x as toArray, T as tryOnBeforeUnmount, f as tryOnScopeDispose, E as watchImmediate };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js
|
|
2
|
+
var e = function(e) {
|
|
3
|
+
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
4
|
+
}, t = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap(), r = {}, i = 0, a = function(e) {
|
|
5
|
+
return e && (e.host || a(e.parentNode));
|
|
6
|
+
}, o = function(e, t) {
|
|
7
|
+
return t.map(function(t) {
|
|
8
|
+
if (e.contains(t)) return t;
|
|
9
|
+
var n = a(t);
|
|
10
|
+
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
11
|
+
}).filter(function(e) {
|
|
12
|
+
return !!e;
|
|
13
|
+
});
|
|
14
|
+
}, s = function(e, a, s, c) {
|
|
15
|
+
var l = o(a, Array.isArray(e) ? e : [e]);
|
|
16
|
+
r[s] || (r[s] = /* @__PURE__ */ new WeakMap());
|
|
17
|
+
var u = r[s], d = [], f = /* @__PURE__ */ new Set(), p = new Set(l), m = function(e) {
|
|
18
|
+
!e || f.has(e) || (f.add(e), m(e.parentNode));
|
|
19
|
+
};
|
|
20
|
+
l.forEach(m);
|
|
21
|
+
var h = function(e) {
|
|
22
|
+
!e || p.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
23
|
+
if (f.has(e)) h(e);
|
|
24
|
+
else try {
|
|
25
|
+
var r = e.getAttribute(c), i = r !== null && r !== "false", a = (t.get(e) || 0) + 1, o = (u.get(e) || 0) + 1;
|
|
26
|
+
t.set(e, a), u.set(e, o), d.push(e), a === 1 && i && n.set(e, !0), o === 1 && e.setAttribute(s, "true"), i || e.setAttribute(c, "true");
|
|
27
|
+
} catch (t) {
|
|
28
|
+
console.error("aria-hidden: cannot operate on ", e, t);
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
return h(a), f.clear(), i++, function() {
|
|
33
|
+
d.forEach(function(e) {
|
|
34
|
+
var r = t.get(e) - 1, i = u.get(e) - 1;
|
|
35
|
+
t.set(e, r), u.set(e, i), r || (n.has(e) || e.removeAttribute(c), n.delete(e)), i || e.removeAttribute(s);
|
|
36
|
+
}), i--, i || (t = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap(), r = {});
|
|
37
|
+
};
|
|
38
|
+
}, c = function(t, n, r) {
|
|
39
|
+
r === void 0 && (r = "data-aria-hidden");
|
|
40
|
+
var i = Array.from(Array.isArray(t) ? t : [t]), a = n || e(t);
|
|
41
|
+
return a ? (i.push.apply(i, Array.from(a.querySelectorAll("[aria-live], script"))), s(i, a, r, "aria-hidden")) : function() {
|
|
42
|
+
return null;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
//#endregion
|
|
46
|
+
export { c as hideOthers };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/defu@6.1.7/node_modules/defu/dist/defu.mjs
|
|
2
|
+
function e(e) {
|
|
3
|
+
if (typeof e != "object" || !e) return !1;
|
|
4
|
+
let t = Object.getPrototypeOf(e);
|
|
5
|
+
return t !== null && t !== Object.prototype && Object.getPrototypeOf(t) !== null || Symbol.iterator in e ? !1 : Symbol.toStringTag in e ? Object.prototype.toString.call(e) === "[object Module]" : !0;
|
|
6
|
+
}
|
|
7
|
+
function t(n, r, i = ".", a) {
|
|
8
|
+
if (!e(r)) return t(n, {}, i, a);
|
|
9
|
+
let o = { ...r };
|
|
10
|
+
for (let r of Object.keys(n)) {
|
|
11
|
+
if (r === "__proto__" || r === "constructor") continue;
|
|
12
|
+
let s = n[r];
|
|
13
|
+
s != null && (a && a(o, r, s, i) || (Array.isArray(s) && Array.isArray(o[r]) ? o[r] = [...s, ...o[r]] : e(s) && e(o[r]) ? o[r] = t(s, o[r], (i ? `${i}.` : "") + r.toString(), a) : o[r] = s));
|
|
14
|
+
}
|
|
15
|
+
return o;
|
|
16
|
+
}
|
|
17
|
+
function n(e) {
|
|
18
|
+
return (...n) => n.reduce((n, r) => t(n, r, "", e), {});
|
|
19
|
+
}
|
|
20
|
+
var r = n();
|
|
21
|
+
//#endregion
|
|
22
|
+
export { r as defu };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { createLucideIcon as e } from "../createLucideIcon.js";
|
|
2
|
+
//#region node_modules/.pnpm/lucide-vue-next@1.0.0_vue@3.5.32_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/check.js
|
|
3
|
+
var t = e("check", [["path", {
|
|
4
|
+
d: "M20 6 9 17l-5-5",
|
|
5
|
+
key: "1gmf2c"
|
|
6
|
+
}]]);
|
|
7
|
+
//#endregion
|
|
8
|
+
export { t as Check };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { createLucideIcon as e } from "../createLucideIcon.js";
|
|
2
|
+
//#region node_modules/.pnpm/lucide-vue-next@1.0.0_vue@3.5.32_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/chevron-down.js
|
|
3
|
+
var t = e("chevron-down", [["path", {
|
|
4
|
+
d: "m6 9 6 6 6-6",
|
|
5
|
+
key: "qrunsl"
|
|
6
|
+
}]]);
|
|
7
|
+
//#endregion
|
|
8
|
+
export { t as ChevronDown };
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/shared/ohash.D__AXeF1.mjs
|
|
2
|
+
function e(e) {
|
|
3
|
+
return typeof e == "string" ? `'${e}'` : new t().serialize(e);
|
|
4
|
+
}
|
|
5
|
+
var t = /* @__PURE__ */ function() {
|
|
6
|
+
class e {
|
|
7
|
+
#e = /* @__PURE__ */ new Map();
|
|
8
|
+
compare(e, t) {
|
|
9
|
+
let n = typeof e, r = typeof t;
|
|
10
|
+
return n === "string" && r === "string" ? e.localeCompare(t) : n === "number" && r === "number" ? e - t : String.prototype.localeCompare.call(this.serialize(e, !0), this.serialize(t, !0));
|
|
11
|
+
}
|
|
12
|
+
serialize(e, t) {
|
|
13
|
+
if (e === null) return "null";
|
|
14
|
+
switch (typeof e) {
|
|
15
|
+
case "string": return t ? e : `'${e}'`;
|
|
16
|
+
case "bigint": return `${e}n`;
|
|
17
|
+
case "object": return this.$object(e);
|
|
18
|
+
case "function": return this.$function(e);
|
|
19
|
+
}
|
|
20
|
+
return String(e);
|
|
21
|
+
}
|
|
22
|
+
serializeObject(e) {
|
|
23
|
+
let t = Object.prototype.toString.call(e);
|
|
24
|
+
if (t !== "[object Object]") return this.serializeBuiltInType(t.length < 10 ? `unknown:${t}` : t.slice(8, -1), e);
|
|
25
|
+
let n = e.constructor, r = n === Object || n === void 0 ? "" : n.name;
|
|
26
|
+
if (r !== "" && globalThis[r] === n) return this.serializeBuiltInType(r, e);
|
|
27
|
+
if (typeof e.toJSON == "function") {
|
|
28
|
+
let t = e.toJSON();
|
|
29
|
+
return r + (typeof t == "object" && t ? this.$object(t) : `(${this.serialize(t)})`);
|
|
30
|
+
}
|
|
31
|
+
return this.serializeObjectEntries(r, Object.entries(e));
|
|
32
|
+
}
|
|
33
|
+
serializeBuiltInType(e, t) {
|
|
34
|
+
let n = this["$" + e];
|
|
35
|
+
if (n) return n.call(this, t);
|
|
36
|
+
if (typeof t?.entries == "function") return this.serializeObjectEntries(e, t.entries());
|
|
37
|
+
throw Error(`Cannot serialize ${e}`);
|
|
38
|
+
}
|
|
39
|
+
serializeObjectEntries(e, t) {
|
|
40
|
+
let n = Array.from(t).sort((e, t) => this.compare(e[0], t[0])), r = `${e}{`;
|
|
41
|
+
for (let e = 0; e < n.length; e++) {
|
|
42
|
+
let [t, i] = n[e];
|
|
43
|
+
r += `${this.serialize(t, !0)}:${this.serialize(i)}`, e < n.length - 1 && (r += ",");
|
|
44
|
+
}
|
|
45
|
+
return r + "}";
|
|
46
|
+
}
|
|
47
|
+
$object(e) {
|
|
48
|
+
let t = this.#e.get(e);
|
|
49
|
+
return t === void 0 && (this.#e.set(e, `#${this.#e.size}`), t = this.serializeObject(e), this.#e.set(e, t)), t;
|
|
50
|
+
}
|
|
51
|
+
$function(e) {
|
|
52
|
+
let t = Function.prototype.toString.call(e);
|
|
53
|
+
return t.slice(-15) === "[native code] }" ? `${e.name || ""}()[native]` : `${e.name}(${e.length})${t.replace(/\s*\n\s*/g, "")}`;
|
|
54
|
+
}
|
|
55
|
+
$Array(e) {
|
|
56
|
+
let t = "[";
|
|
57
|
+
for (let n = 0; n < e.length; n++) t += this.serialize(e[n]), n < e.length - 1 && (t += ",");
|
|
58
|
+
return t + "]";
|
|
59
|
+
}
|
|
60
|
+
$Date(e) {
|
|
61
|
+
try {
|
|
62
|
+
return `Date(${e.toISOString()})`;
|
|
63
|
+
} catch {
|
|
64
|
+
return "Date(null)";
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
$ArrayBuffer(e) {
|
|
68
|
+
return `ArrayBuffer[${new Uint8Array(e).join(",")}]`;
|
|
69
|
+
}
|
|
70
|
+
$Set(e) {
|
|
71
|
+
return `Set${this.$Array(Array.from(e).sort((e, t) => this.compare(e, t)))}`;
|
|
72
|
+
}
|
|
73
|
+
$Map(e) {
|
|
74
|
+
return this.serializeObjectEntries("Map", e.entries());
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
for (let t of [
|
|
78
|
+
"Error",
|
|
79
|
+
"RegExp",
|
|
80
|
+
"URL"
|
|
81
|
+
]) e.prototype["$" + t] = function(e) {
|
|
82
|
+
return `${t}(${e})`;
|
|
83
|
+
};
|
|
84
|
+
for (let t of [
|
|
85
|
+
"Int8Array",
|
|
86
|
+
"Uint8Array",
|
|
87
|
+
"Uint8ClampedArray",
|
|
88
|
+
"Int16Array",
|
|
89
|
+
"Uint16Array",
|
|
90
|
+
"Int32Array",
|
|
91
|
+
"Uint32Array",
|
|
92
|
+
"Float32Array",
|
|
93
|
+
"Float64Array"
|
|
94
|
+
]) e.prototype["$" + t] = function(e) {
|
|
95
|
+
return `${t}[${e.join(",")}]`;
|
|
96
|
+
};
|
|
97
|
+
for (let t of ["BigInt64Array", "BigUint64Array"]) e.prototype["$" + t] = function(e) {
|
|
98
|
+
return `${t}[${e.join("n,")}${e.length > 0 ? "n" : ""}]`;
|
|
99
|
+
};
|
|
100
|
+
return e;
|
|
101
|
+
}();
|
|
102
|
+
function n(t, n) {
|
|
103
|
+
return t === n || e(t) === e(n);
|
|
104
|
+
}
|
|
105
|
+
//#endregion
|
|
106
|
+
export { n as isEqual };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Slot as e } from "../Primitive/Slot.js";
|
|
2
|
+
import { usePrimitiveElement as t } from "../Primitive/usePrimitiveElement.js";
|
|
3
|
+
import { computed as n, defineComponent as r, h as i, inject as a, markRaw as o, provide as s, ref as c, watch as l, watchEffect as u } from "vue";
|
|
4
|
+
//#region node_modules/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Collection/Collection.js
|
|
5
|
+
var d = "data-reka-collection-item";
|
|
6
|
+
function f(f = {}) {
|
|
7
|
+
let { key: p = "", isProvider: m = !1 } = f, h = `${p}CollectionProvider`, g;
|
|
8
|
+
if (m) {
|
|
9
|
+
let e = c(/* @__PURE__ */ new Map());
|
|
10
|
+
g = {
|
|
11
|
+
collectionRef: c(),
|
|
12
|
+
itemMap: e
|
|
13
|
+
}, s(h, g);
|
|
14
|
+
} else g = a(h);
|
|
15
|
+
let _ = (e = !1) => {
|
|
16
|
+
let t = g.collectionRef.value;
|
|
17
|
+
if (!t) return [];
|
|
18
|
+
let n = Array.from(t.querySelectorAll(`[${d}]`)), r = Array.from(g.itemMap.value.values()).sort((e, t) => n.indexOf(e.ref) - n.indexOf(t.ref));
|
|
19
|
+
return e ? r : r.filter((e) => e.ref.dataset.disabled !== "");
|
|
20
|
+
}, v = /* @__PURE__ */ r({
|
|
21
|
+
name: "CollectionSlot",
|
|
22
|
+
inheritAttrs: !1,
|
|
23
|
+
setup(n, { slots: r, attrs: a }) {
|
|
24
|
+
let { primitiveElement: o, currentElement: s } = t();
|
|
25
|
+
return l(s, () => {
|
|
26
|
+
g.collectionRef.value = s.value;
|
|
27
|
+
}), () => i(e, {
|
|
28
|
+
ref: o,
|
|
29
|
+
...a
|
|
30
|
+
}, r);
|
|
31
|
+
}
|
|
32
|
+
}), y = /* @__PURE__ */ r({
|
|
33
|
+
name: "CollectionItem",
|
|
34
|
+
inheritAttrs: !1,
|
|
35
|
+
props: { value: { validator: () => !0 } },
|
|
36
|
+
setup(n, { slots: r, attrs: a }) {
|
|
37
|
+
let { primitiveElement: s, currentElement: c } = t();
|
|
38
|
+
return u((e) => {
|
|
39
|
+
if (c.value) {
|
|
40
|
+
let t = o(c.value);
|
|
41
|
+
g.itemMap.value.set(t, {
|
|
42
|
+
ref: c.value,
|
|
43
|
+
value: n.value
|
|
44
|
+
}), e(() => g.itemMap.value.delete(t));
|
|
45
|
+
}
|
|
46
|
+
}), () => i(e, {
|
|
47
|
+
...a,
|
|
48
|
+
[d]: "",
|
|
49
|
+
ref: s
|
|
50
|
+
}, r);
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
return {
|
|
54
|
+
getItems: _,
|
|
55
|
+
reactiveItems: n(() => Array.from(g.itemMap.value.values())),
|
|
56
|
+
itemMapSize: n(() => g.itemMap.value.size),
|
|
57
|
+
CollectionSlot: v,
|
|
58
|
+
CollectionItem: y
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
//#endregion
|
|
62
|
+
export { f as useCollection };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { useForwardExpose as e } from "../shared/useForwardExpose.js";
|
|
2
|
+
import { Primitive as t } from "../Primitive/Primitive.js";
|
|
3
|
+
import { PopperAnchor_default as n } from "../Popper/PopperAnchor.js";
|
|
4
|
+
import { createBlock as r, createVNode as i, defineComponent as a, mergeProps as o, openBlock as s, renderSlot as c, unref as l, withCtx as u } from "vue";
|
|
5
|
+
//#region node_modules/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxAnchor.js
|
|
6
|
+
var d = /* @__PURE__ */ a({
|
|
7
|
+
__name: "ComboboxAnchor",
|
|
8
|
+
props: {
|
|
9
|
+
reference: {
|
|
10
|
+
type: null,
|
|
11
|
+
required: !1
|
|
12
|
+
},
|
|
13
|
+
asChild: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
required: !1
|
|
16
|
+
},
|
|
17
|
+
as: {
|
|
18
|
+
type: null,
|
|
19
|
+
required: !1
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
setup(a) {
|
|
23
|
+
let { forwardRef: d } = e();
|
|
24
|
+
return (e, a) => (s(), r(l(n), {
|
|
25
|
+
"as-child": "",
|
|
26
|
+
reference: e.reference
|
|
27
|
+
}, {
|
|
28
|
+
default: u(() => [i(l(t), o({
|
|
29
|
+
ref: l(d),
|
|
30
|
+
"as-child": e.asChild,
|
|
31
|
+
as: e.as
|
|
32
|
+
}, e.$attrs), {
|
|
33
|
+
default: u(() => [c(e.$slots, "default")]),
|
|
34
|
+
_: 3
|
|
35
|
+
}, 16, ["as-child", "as"])]),
|
|
36
|
+
_: 3
|
|
37
|
+
}, 8, ["reference"]));
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
export { d as ComboboxAnchor_default };
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { useForwardExpose as e } from "../shared/useForwardExpose.js";
|
|
2
|
+
import { useForwardPropsEmits as t } from "../shared/useForwardPropsEmits.js";
|
|
3
|
+
import { useId as n } from "../shared/useId.js";
|
|
4
|
+
import { Presence_default as r } from "../Presence/Presence.js";
|
|
5
|
+
import { injectComboboxRootContext as i } from "./ComboboxRoot.js";
|
|
6
|
+
import { ComboboxContentImpl_default as a } from "./ComboboxContentImpl.js";
|
|
7
|
+
import { createBlock as o, createVNode as s, defineComponent as c, mergeProps as l, openBlock as u, renderSlot as d, unref as f, withCtx as p } from "vue";
|
|
8
|
+
//#region node_modules/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxContent.js
|
|
9
|
+
var m = /* @__PURE__ */ c({
|
|
10
|
+
__name: "ComboboxContent",
|
|
11
|
+
props: {
|
|
12
|
+
forceMount: {
|
|
13
|
+
type: Boolean,
|
|
14
|
+
required: !1
|
|
15
|
+
},
|
|
16
|
+
position: {
|
|
17
|
+
type: String,
|
|
18
|
+
required: !1
|
|
19
|
+
},
|
|
20
|
+
bodyLock: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
required: !1
|
|
23
|
+
},
|
|
24
|
+
hideWhenEmpty: {
|
|
25
|
+
type: Boolean,
|
|
26
|
+
required: !1
|
|
27
|
+
},
|
|
28
|
+
side: {
|
|
29
|
+
type: null,
|
|
30
|
+
required: !1
|
|
31
|
+
},
|
|
32
|
+
sideOffset: {
|
|
33
|
+
type: Number,
|
|
34
|
+
required: !1
|
|
35
|
+
},
|
|
36
|
+
sideFlip: {
|
|
37
|
+
type: Boolean,
|
|
38
|
+
required: !1
|
|
39
|
+
},
|
|
40
|
+
align: {
|
|
41
|
+
type: null,
|
|
42
|
+
required: !1
|
|
43
|
+
},
|
|
44
|
+
alignOffset: {
|
|
45
|
+
type: Number,
|
|
46
|
+
required: !1
|
|
47
|
+
},
|
|
48
|
+
alignFlip: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
required: !1
|
|
51
|
+
},
|
|
52
|
+
avoidCollisions: {
|
|
53
|
+
type: Boolean,
|
|
54
|
+
required: !1
|
|
55
|
+
},
|
|
56
|
+
collisionBoundary: {
|
|
57
|
+
type: null,
|
|
58
|
+
required: !1
|
|
59
|
+
},
|
|
60
|
+
collisionPadding: {
|
|
61
|
+
type: [Number, Object],
|
|
62
|
+
required: !1
|
|
63
|
+
},
|
|
64
|
+
arrowPadding: {
|
|
65
|
+
type: Number,
|
|
66
|
+
required: !1
|
|
67
|
+
},
|
|
68
|
+
hideShiftedArrow: {
|
|
69
|
+
type: Boolean,
|
|
70
|
+
required: !1
|
|
71
|
+
},
|
|
72
|
+
sticky: {
|
|
73
|
+
type: String,
|
|
74
|
+
required: !1
|
|
75
|
+
},
|
|
76
|
+
hideWhenDetached: {
|
|
77
|
+
type: Boolean,
|
|
78
|
+
required: !1
|
|
79
|
+
},
|
|
80
|
+
positionStrategy: {
|
|
81
|
+
type: String,
|
|
82
|
+
required: !1
|
|
83
|
+
},
|
|
84
|
+
updatePositionStrategy: {
|
|
85
|
+
type: String,
|
|
86
|
+
required: !1
|
|
87
|
+
},
|
|
88
|
+
disableUpdateOnLayoutShift: {
|
|
89
|
+
type: Boolean,
|
|
90
|
+
required: !1
|
|
91
|
+
},
|
|
92
|
+
prioritizePosition: {
|
|
93
|
+
type: Boolean,
|
|
94
|
+
required: !1
|
|
95
|
+
},
|
|
96
|
+
reference: {
|
|
97
|
+
type: null,
|
|
98
|
+
required: !1
|
|
99
|
+
},
|
|
100
|
+
asChild: {
|
|
101
|
+
type: Boolean,
|
|
102
|
+
required: !1
|
|
103
|
+
},
|
|
104
|
+
as: {
|
|
105
|
+
type: null,
|
|
106
|
+
required: !1
|
|
107
|
+
},
|
|
108
|
+
disableOutsidePointerEvents: {
|
|
109
|
+
type: Boolean,
|
|
110
|
+
required: !1
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
emits: [
|
|
114
|
+
"escapeKeyDown",
|
|
115
|
+
"pointerDownOutside",
|
|
116
|
+
"focusOutside",
|
|
117
|
+
"interactOutside"
|
|
118
|
+
],
|
|
119
|
+
setup(c, { emit: m }) {
|
|
120
|
+
let h = t(c, m), { forwardRef: g } = e(), _ = i();
|
|
121
|
+
return _.contentId ||= n(void 0, "reka-combobox-content"), (e, t) => (u(), o(f(r), { present: e.forceMount || f(_).open.value }, {
|
|
122
|
+
default: p(() => [s(a, l({
|
|
123
|
+
...f(h),
|
|
124
|
+
...e.$attrs
|
|
125
|
+
}, { ref: f(g) }), {
|
|
126
|
+
default: p(() => [d(e.$slots, "default")]),
|
|
127
|
+
_: 3
|
|
128
|
+
}, 16)]),
|
|
129
|
+
_: 3
|
|
130
|
+
}, 8, ["present"]));
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
//#endregion
|
|
134
|
+
export { m as ComboboxContent_default };
|