@hotelinking/ui 5.37.6 → 5.37.7
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.es.js +7 -7
- package/dist/ui.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -2396,14 +2396,14 @@ const Uu = Fo(wu, [["render", function(l2, r2, s2, u2, d2, c2) {
|
|
|
2396
2396
|
} }), Xd = { class: "flex flex-col lg:flex-row w-full gap-y-4 gap-x-2" }, Qd = { name: "uiDateRange" }, ec = Object.assign(Qd, { props: { id: { type: String, required: true }, loading: { type: Boolean, default: true }, literals: { type: Object, required: true }, color: String, values: { type: Object, default: () => ({ from: "", to: "" }) }, error: String, disabled: Boolean, label: String }, setup(t2) {
|
|
2397
2397
|
let l2 = C({ from: void 0, to: void 0 });
|
|
2398
2398
|
return (r2, i2) => (e(), a("div", Xd, [o(Ln, { type: "date", loading: t2.loading, addOn: t2.literals.from, name: `dateFrom_${t2.id}`, color: t2.color, value: t2.values.from, error: t2.error, disabled: t2.disabled, label: t2.label, onInputChanged: i2[0] || (i2[0] = (e2) => d(l2).from = e2.value) }, null, 8, ["loading", "addOn", "name", "color", "value", "error", "disabled", "label"]), o(Ln, { class: n([{ "mt-6": t2.label && !t2.loading }, { "mt-4": t2.loading }]), type: "date", loading: t2.loading, addOn: t2.literals.to, name: `dateTo_${t2.id}`, color: t2.color, value: t2.values.to, error: t2.error, disabled: t2.disabled, onInputChanged: i2[1] || (i2[1] = (e2) => d(l2).to = e2.value) }, null, 8, ["class", "loading", "addOn", "name", "color", "value", "error", "disabled"]), o(ee, { disabled: t2.disabled, color: "primary", loading: t2.loading, class: n([{ "mt-6": t2.label && !t2.loading }, "h-10"]), onClick: i2[2] || (i2[2] = (e2) => r2.$emit("uiDateRangeButtonClicked", d(l2))) }, { default: T(() => [I(_(t2.literals.search), 1)]), _: 1 }, 8, ["disabled", "loading", "class"])]));
|
|
2399
|
-
} }), tc = { class: "flex justify-between items-center" }, lc = { key: 0, class: "block text-sm font-medium text-gray-700" }, nc = { key: 1, class: "text-[10px] text-gray-500 uppercase justify-self-end" }, ac = {
|
|
2400
|
-
const
|
|
2401
|
-
return (
|
|
2402
|
-
} }),
|
|
2403
|
-
Object.keys(
|
|
2404
|
-
e2.component(t2,
|
|
2399
|
+
} }), tc = { class: "flex justify-between items-center" }, lc = { key: 0, class: "block text-sm font-medium text-gray-700" }, nc = { key: 1, class: "text-[10px] text-gray-500 uppercase justify-self-end" }, ac = { key: 1, class: "h-2 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 w-full" }, oc = { name: "uiRangeSlider" }, rc = Object.assign(oc, { props: { loading: { type: Boolean, default: true }, disabled: { type: Boolean, default: false }, min: Number, max: Number, sliderValue: [Array, Number], label: String, optional: String }, emits: ["sliderUpdated"], setup(l2, { emit: o2 }) {
|
|
2400
|
+
const r2 = o2, u2 = s(l2.sliderValue);
|
|
2401
|
+
return (o3, s2) => (e(), a("div", null, [i("div", tc, [l2.label ? (e(), a("label", lc, _(l2.label), 1)) : R("", true), l2.optional ? (e(), a("span", nc, _(l2.optional), 1)) : R("", true)]), i("div", { class: n([{ "mt-1": l2.label }, "pt-16 px-6 pb-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"]) }, [l2.loading ? (e(), a("p", ac)) : (e(), t(d(W), { key: 0, modelValue: u2.value, "onUpdate:modelValue": s2[0] || (s2[0] = (e2) => u2.value = e2), min: l2.min, max: l2.max, disabled: l2.disabled, onChange: s2[1] || (s2[1] = (e2) => r2("sliderUpdated", e2)), classes: { base: "w-full h-full relative z-1 bg-gray-300 rounded", tooltip: "absolute block text-sm font-semibold whitespace-nowrap py-1 px-1.5 min-w-5 text-center text-white rounded border border-indigo-600 bg-indigo-600 transform h:-translate-x-1/2 h:left-1/2 v:-translate-y-1/2 v:top-1/2 slider-disabled:bg-gray-400 slider-disabled:border-gray-400 merge-h:translate-x-1/2 merge-h:left-auto merge-v:-translate-x-4 merge-v:top-auto tt-focus:hidden tt-focused:block tt-drag:hidden tt-dragging:block" } }, null, 8, ["modelValue", "min", "max", "disabled"]))], 2)]));
|
|
2402
|
+
} }), ic = { uiButton: ee, uiIcon: J, uiCheckbox: ue, uiDropdown: Mn, uiInput: Ln, uiInputFile: Xn, uiSelect: na, uiTag: ia, uiTextArea: ma, uiToggle: xa, uiAlert: _a, uiBreadcrumbs: $a, uiCard: Ga, uiFilter: Xa, uiModal: co, uiNotification: So, uiTaskList: Ao, uiPriceCalendar: Nr, uiChart: Zr, uiFooter: ti, uiLoadingScreen: ai, uiPagination: xi, uiSidebar: Ai, uiStats: Gi, uiStripedCard: ps, uiTable: Ls, uiTabs: Us, uiTimeline: xu, uiTopbar: Uu, uiFunnelChartV2: td, uiNoResults: od, uiRightSidebar: xd, uiGallery: Pd, uiDragAndDrop: Vd, uiCircleChart: Zd, uiDateRange: ec, uiRangeSlider: rc }, sc = { install(e2) {
|
|
2403
|
+
Object.keys(ic).forEach((t2) => {
|
|
2404
|
+
e2.component(t2, ic[t2]);
|
|
2405
2405
|
});
|
|
2406
2406
|
} };
|
|
2407
2407
|
export {
|
|
2408
|
-
|
|
2408
|
+
sc as default
|
|
2409
2409
|
};
|