@hotelinking/ui 9.41.20 → 9.41.22
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/ui.cjs +9 -9
- package/dist/ui.es.js +4 -2
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Ge, openBlock as E, createBlock as Fe, resolveDynamicComponent as Da, normalizeClass as me, createElementBlock as O, createCommentVNode as ze, renderSlot as Ct, createElementVNode as b, ref as dt, computed as pt, unref as K, withCtx as be, toDisplayString as J, createVNode as Q, createTextVNode as st, Transition as ki, Fragment as Re, renderList as Ne,
|
|
1
|
+
import { defineComponent as Ge, openBlock as E, createBlock as Fe, resolveDynamicComponent as Da, normalizeClass as me, createElementBlock as O, createCommentVNode as ze, renderSlot as Ct, createElementVNode as b, ref as dt, watch as ft, computed as pt, unref as K, withCtx as be, toDisplayString as J, createVNode as Q, createTextVNode as st, Transition as ki, Fragment as Re, renderList as Ne, withDirectives as We, vModelDynamic as Ya, vShow as je, withModifiers as na, vModelText as Xa, createStaticVNode as Qt, resolveComponent as Bt, vModelCheckbox as ga, onBeforeMount as _a, onMounted as Vi, getCurrentInstance as Ra, onBeforeUnmount as Fa, toRefs as ci, h as Oa, nextTick as Na, isRef as pa, reactive as fa, TransitionGroup as Ba, onUnmounted as Ha, mergeProps as Wa } from "vue";
|
|
2
2
|
import { Menu as Gi, MenuButton as ji, MenuItems as Ui, MenuItem as qi, Combobox as ma, ComboboxLabel as $a, ComboboxInput as xa, ComboboxButton as ba, ComboboxOptions as va, ComboboxOption as ya, SwitchGroup as Va, Switch as Ga, SwitchLabel as ja, TransitionRoot as Zi, Dialog as Ji, TransitionChild as qt, DialogPanel as Qi, DialogTitle as wa, Disclosure as Ki, DisclosureButton as Ht, DisclosurePanel as ea } from "@headlessui/vue";
|
|
3
3
|
import Ua from "vue3-draggable";
|
|
4
4
|
const et = /* @__PURE__ */ Ge({
|
|
@@ -107,7 +107,9 @@ const et = /* @__PURE__ */ Ge({
|
|
|
107
107
|
const P = D, I = $, T = dt(I.check), Y = () => {
|
|
108
108
|
I.disabled || (T.value = !T.value, P("checkboxChanged", { checked: T.value, value: I.value }));
|
|
109
109
|
};
|
|
110
|
-
return (
|
|
110
|
+
return ft(() => I.check, (M) => {
|
|
111
|
+
M && (T.value = M);
|
|
112
|
+
}), (M, V) => M.loading ? (E(), O("div", is, V[1] || (V[1] = [
|
|
111
113
|
b("div", { class: "w-5 h-5 rounded bg-gray-200" }, null, -1),
|
|
112
114
|
b("div", { class: "ml-3 h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" }, null, -1)
|
|
113
115
|
]))) : (E(), O("div", Ja, [
|