@voyantjs/hospitality-ui 0.25.0 → 0.26.1
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/components/cancellation-policy-combobox.js +1 -1
- package/dist/components/maintenance-block-dialog.js +3 -3
- package/dist/components/maintenance-blocks-tab.js +3 -3
- package/dist/components/meal-plan-combobox.js +1 -1
- package/dist/components/meal-plan-dialog.js +1 -1
- package/dist/components/meal-plans-tab.js +3 -3
- package/dist/components/pagination-footer.js +1 -1
- package/dist/components/price-catalog-combobox.js +1 -1
- package/dist/components/rate-plan-combobox.js +1 -1
- package/dist/components/rate-plan-dialog.js +4 -4
- package/dist/components/rate-plans-tab.js +3 -3
- package/dist/components/room-block-dialog.js +3 -3
- package/dist/components/room-blocks-tab.js +3 -3
- package/dist/components/room-inventory-dialog.js +2 -2
- package/dist/components/room-inventory-tab.js +4 -4
- package/dist/components/room-type-combobox.js +1 -1
- package/dist/components/room-type-dialog.js +1 -1
- package/dist/components/room-types-tab.js +3 -3
- package/dist/components/room-unit-combobox.js +1 -1
- package/dist/components/room-unit-dialog.js +2 -2
- package/dist/components/room-units-tab.js +3 -3
- package/dist/components/stay-rule-dialog.js +3 -3
- package/dist/components/stay-rules-tab.js +3 -3
- package/dist/i18n/index.d.ts +4 -4
- package/dist/i18n/index.d.ts.map +1 -1
- package/dist/i18n/index.js +3 -3
- package/dist/i18n/provider.d.ts +1 -1
- package/dist/i18n/provider.d.ts.map +1 -1
- package/dist/i18n/provider.js +2 -2
- package/dist/index.d.ts +25 -25
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +24 -24
- package/package.json +11 -11
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useCancellationPolicies, useCancellationPolicy, } from "@voyantjs/pricing-react";
|
|
3
3
|
import { Combobox, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxInput, ComboboxItem, ComboboxList, } from "@voyantjs/ui/components/combobox";
|
|
4
4
|
import * as React from "react";
|
|
5
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
5
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
6
6
|
const PAGE_SIZE = 25;
|
|
7
7
|
export function CancellationPolicyCombobox({ value, onChange, placeholder, disabled }) {
|
|
8
8
|
const messages = useHospitalityUiMessagesOrDefault();
|
|
@@ -7,9 +7,9 @@ import { Loader2 } from "lucide-react";
|
|
|
7
7
|
import { useEffect } from "react";
|
|
8
8
|
import { useForm } from "react-hook-form";
|
|
9
9
|
import { z } from "zod/v4";
|
|
10
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
11
|
-
import { RoomTypeCombobox } from "./room-type-combobox";
|
|
12
|
-
import { RoomUnitCombobox } from "./room-unit-combobox";
|
|
10
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
11
|
+
import { RoomTypeCombobox } from "./room-type-combobox.js";
|
|
12
|
+
import { RoomUnitCombobox } from "./room-unit-combobox.js";
|
|
13
13
|
const STATUSES = ["open", "in_progress", "resolved", "cancelled"];
|
|
14
14
|
function createFormSchema(messages) {
|
|
15
15
|
return z.object({
|
|
@@ -6,9 +6,9 @@ import { Badge } from "@voyantjs/ui/components/badge";
|
|
|
6
6
|
import { Button } from "@voyantjs/ui/components/button";
|
|
7
7
|
import { Loader2, Pencil, Plus, Trash2 } from "lucide-react";
|
|
8
8
|
import * as React from "react";
|
|
9
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
10
|
-
import { MaintenanceBlockDialog } from "./maintenance-block-dialog";
|
|
11
|
-
import { PaginationFooter } from "./pagination-footer";
|
|
9
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
10
|
+
import { MaintenanceBlockDialog } from "./maintenance-block-dialog.js";
|
|
11
|
+
import { PaginationFooter } from "./pagination-footer.js";
|
|
12
12
|
const PAGE_SIZE = 25;
|
|
13
13
|
export function MaintenanceBlocksTab({ propertyId }) {
|
|
14
14
|
const messages = useHospitalityUiMessagesOrDefault();
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMealPlan, useMealPlans } from "@voyantjs/hospitality-react";
|
|
3
3
|
import { Combobox, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxInput, ComboboxItem, ComboboxList, } from "@voyantjs/ui/components/combobox";
|
|
4
4
|
import * as React from "react";
|
|
5
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
5
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
6
6
|
const PAGE_SIZE = 25;
|
|
7
7
|
export function MealPlanCombobox({ propertyId, value, onChange, placeholder, disabled }) {
|
|
8
8
|
const messages = useHospitalityUiMessagesOrDefault();
|
|
@@ -6,7 +6,7 @@ import { Loader2 } from "lucide-react";
|
|
|
6
6
|
import { useEffect } from "react";
|
|
7
7
|
import { useForm } from "react-hook-form";
|
|
8
8
|
import { z } from "zod/v4";
|
|
9
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
9
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
10
10
|
function createFormSchema(messages) {
|
|
11
11
|
return z.object({
|
|
12
12
|
code: z.string().min(1, messages.mealPlanDialog.validation.codeRequired).max(50),
|
|
@@ -5,9 +5,9 @@ import { Badge } from "@voyantjs/ui/components/badge";
|
|
|
5
5
|
import { Button } from "@voyantjs/ui/components/button";
|
|
6
6
|
import { Loader2, Pencil, Plus, Trash2 } from "lucide-react";
|
|
7
7
|
import * as React from "react";
|
|
8
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
9
|
-
import { MealPlanDialog } from "./meal-plan-dialog";
|
|
10
|
-
import { PaginationFooter } from "./pagination-footer";
|
|
8
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
9
|
+
import { MealPlanDialog } from "./meal-plan-dialog.js";
|
|
10
|
+
import { PaginationFooter } from "./pagination-footer.js";
|
|
11
11
|
const PAGE_SIZE = 25;
|
|
12
12
|
export function MealPlansTab({ propertyId }) {
|
|
13
13
|
const messages = useHospitalityUiMessagesOrDefault();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Button } from "@voyantjs/ui/components/button";
|
|
4
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
4
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
5
5
|
export function PaginationFooter({ pageIndex, pageSize, total, onPageIndexChange, }) {
|
|
6
6
|
const messages = useHospitalityUiMessagesOrDefault();
|
|
7
7
|
const pageCount = Math.max(1, Math.ceil(total / pageSize));
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { usePriceCatalog, usePriceCatalogs } from "@voyantjs/pricing-react";
|
|
3
3
|
import { Combobox, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxInput, ComboboxItem, ComboboxList, } from "@voyantjs/ui/components/combobox";
|
|
4
4
|
import * as React from "react";
|
|
5
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
5
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
6
6
|
const PAGE_SIZE = 25;
|
|
7
7
|
export function PriceCatalogCombobox({ value, onChange, placeholder, disabled }) {
|
|
8
8
|
const messages = useHospitalityUiMessagesOrDefault();
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRatePlan, useRatePlans } from "@voyantjs/hospitality-react";
|
|
3
3
|
import { Combobox, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxInput, ComboboxItem, ComboboxList, } from "@voyantjs/ui/components/combobox";
|
|
4
4
|
import * as React from "react";
|
|
5
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
5
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
6
6
|
const PAGE_SIZE = 25;
|
|
7
7
|
export function RatePlanCombobox({ propertyId, value, onChange, placeholder, disabled }) {
|
|
8
8
|
const messages = useHospitalityUiMessagesOrDefault();
|
|
@@ -7,10 +7,10 @@ import { Loader2 } from "lucide-react";
|
|
|
7
7
|
import { useEffect } from "react";
|
|
8
8
|
import { useForm } from "react-hook-form";
|
|
9
9
|
import { z } from "zod/v4";
|
|
10
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
11
|
-
import { CancellationPolicyCombobox } from "./cancellation-policy-combobox";
|
|
12
|
-
import { MealPlanCombobox } from "./meal-plan-combobox";
|
|
13
|
-
import { PriceCatalogCombobox } from "./price-catalog-combobox";
|
|
10
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
11
|
+
import { CancellationPolicyCombobox } from "./cancellation-policy-combobox.js";
|
|
12
|
+
import { MealPlanCombobox } from "./meal-plan-combobox.js";
|
|
13
|
+
import { PriceCatalogCombobox } from "./price-catalog-combobox.js";
|
|
14
14
|
const CHARGE_FREQUENCIES = [
|
|
15
15
|
"per_night",
|
|
16
16
|
"per_stay",
|
|
@@ -7,9 +7,9 @@ import { Badge } from "@voyantjs/ui/components/badge";
|
|
|
7
7
|
import { Button } from "@voyantjs/ui/components/button";
|
|
8
8
|
import { Loader2, Pencil, Plus, Trash2 } from "lucide-react";
|
|
9
9
|
import * as React from "react";
|
|
10
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
11
|
-
import { PaginationFooter } from "./pagination-footer";
|
|
12
|
-
import { RatePlanDialog } from "./rate-plan-dialog";
|
|
10
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
11
|
+
import { PaginationFooter } from "./pagination-footer.js";
|
|
12
|
+
import { RatePlanDialog } from "./rate-plan-dialog.js";
|
|
13
13
|
const PAGE_SIZE = 25;
|
|
14
14
|
export function RatePlansTab({ propertyId }) {
|
|
15
15
|
const messages = useHospitalityUiMessagesOrDefault();
|
|
@@ -7,9 +7,9 @@ import { Loader2 } from "lucide-react";
|
|
|
7
7
|
import { useEffect } from "react";
|
|
8
8
|
import { useForm } from "react-hook-form";
|
|
9
9
|
import { z } from "zod/v4";
|
|
10
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
11
|
-
import { RoomTypeCombobox } from "./room-type-combobox";
|
|
12
|
-
import { RoomUnitCombobox } from "./room-unit-combobox";
|
|
10
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
11
|
+
import { RoomTypeCombobox } from "./room-type-combobox.js";
|
|
12
|
+
import { RoomUnitCombobox } from "./room-unit-combobox.js";
|
|
13
13
|
const STATUSES = ["draft", "held", "confirmed", "released", "cancelled"];
|
|
14
14
|
function createFormSchema(messages) {
|
|
15
15
|
return z.object({
|
|
@@ -6,9 +6,9 @@ import { Badge } from "@voyantjs/ui/components/badge";
|
|
|
6
6
|
import { Button } from "@voyantjs/ui/components/button";
|
|
7
7
|
import { Loader2, Pencil, Plus, Trash2 } from "lucide-react";
|
|
8
8
|
import * as React from "react";
|
|
9
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
10
|
-
import { PaginationFooter } from "./pagination-footer";
|
|
11
|
-
import { RoomBlockDialog } from "./room-block-dialog";
|
|
9
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
10
|
+
import { PaginationFooter } from "./pagination-footer.js";
|
|
11
|
+
import { RoomBlockDialog } from "./room-block-dialog.js";
|
|
12
12
|
const PAGE_SIZE = 25;
|
|
13
13
|
export function RoomBlocksTab({ propertyId }) {
|
|
14
14
|
const messages = useHospitalityUiMessagesOrDefault();
|
|
@@ -7,8 +7,8 @@ import { Loader2 } from "lucide-react";
|
|
|
7
7
|
import { useEffect } from "react";
|
|
8
8
|
import { useForm } from "react-hook-form";
|
|
9
9
|
import { z } from "zod/v4";
|
|
10
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
11
|
-
import { RoomTypeCombobox } from "./room-type-combobox";
|
|
10
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
11
|
+
import { RoomTypeCombobox } from "./room-type-combobox.js";
|
|
12
12
|
function createFormSchema(messages) {
|
|
13
13
|
const intOrEmpty = z.coerce
|
|
14
14
|
.number()
|
|
@@ -8,10 +8,10 @@ import { Input } from "@voyantjs/ui/components/input";
|
|
|
8
8
|
import { Label } from "@voyantjs/ui/components/label";
|
|
9
9
|
import { Loader2, Pencil, Plus, Trash2 } from "lucide-react";
|
|
10
10
|
import * as React from "react";
|
|
11
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
12
|
-
import { PaginationFooter } from "./pagination-footer";
|
|
13
|
-
import { RoomInventoryDialog } from "./room-inventory-dialog";
|
|
14
|
-
import { RoomTypeCombobox } from "./room-type-combobox";
|
|
11
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
12
|
+
import { PaginationFooter } from "./pagination-footer.js";
|
|
13
|
+
import { RoomInventoryDialog } from "./room-inventory-dialog.js";
|
|
14
|
+
import { RoomTypeCombobox } from "./room-type-combobox.js";
|
|
15
15
|
const PAGE_SIZE = 25;
|
|
16
16
|
export function RoomInventoryTab({ propertyId }) {
|
|
17
17
|
const messages = useHospitalityUiMessagesOrDefault();
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRoomType, useRoomTypes } from "@voyantjs/hospitality-react";
|
|
3
3
|
import { Combobox, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxInput, ComboboxItem, ComboboxList, } from "@voyantjs/ui/components/combobox";
|
|
4
4
|
import * as React from "react";
|
|
5
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
5
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
6
6
|
const PAGE_SIZE = 25;
|
|
7
7
|
export function RoomTypeCombobox({ propertyId, value, onChange, placeholder, disabled }) {
|
|
8
8
|
const messages = useHospitalityUiMessagesOrDefault();
|
|
@@ -6,7 +6,7 @@ import { Loader2 } from "lucide-react";
|
|
|
6
6
|
import { useEffect } from "react";
|
|
7
7
|
import { useForm } from "react-hook-form";
|
|
8
8
|
import { z } from "zod/v4";
|
|
9
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
9
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
10
10
|
const INVENTORY_MODES = ["virtual", "pooled", "serialized"];
|
|
11
11
|
const intOrEmpty = z.coerce.number().int().optional().or(z.literal("")).nullable();
|
|
12
12
|
function createFormSchema(messages) {
|
|
@@ -5,9 +5,9 @@ import { Badge } from "@voyantjs/ui/components/badge";
|
|
|
5
5
|
import { Button } from "@voyantjs/ui/components/button";
|
|
6
6
|
import { Loader2, Pencil, Plus, Trash2 } from "lucide-react";
|
|
7
7
|
import * as React from "react";
|
|
8
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
9
|
-
import { PaginationFooter } from "./pagination-footer";
|
|
10
|
-
import { RoomTypeDialog } from "./room-type-dialog";
|
|
8
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
9
|
+
import { PaginationFooter } from "./pagination-footer.js";
|
|
10
|
+
import { RoomTypeDialog } from "./room-type-dialog.js";
|
|
11
11
|
const PAGE_SIZE = 25;
|
|
12
12
|
export function RoomTypesTab({ propertyId }) {
|
|
13
13
|
const messages = useHospitalityUiMessagesOrDefault();
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRoomUnit, useRoomUnits } from "@voyantjs/hospitality-react";
|
|
3
3
|
import { Combobox, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxInput, ComboboxItem, ComboboxList, } from "@voyantjs/ui/components/combobox";
|
|
4
4
|
import * as React from "react";
|
|
5
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
5
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
6
6
|
const PAGE_SIZE = 25;
|
|
7
7
|
export function RoomUnitCombobox({ propertyId, value, onChange, placeholder, disabled }) {
|
|
8
8
|
const messages = useHospitalityUiMessagesOrDefault();
|
|
@@ -6,8 +6,8 @@ import { Loader2 } from "lucide-react";
|
|
|
6
6
|
import { useEffect } from "react";
|
|
7
7
|
import { useForm } from "react-hook-form";
|
|
8
8
|
import { z } from "zod/v4";
|
|
9
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
10
|
-
import { RoomTypeCombobox } from "./room-type-combobox";
|
|
9
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
10
|
+
import { RoomTypeCombobox } from "./room-type-combobox.js";
|
|
11
11
|
const STATUSES = ["active", "inactive", "out_of_order", "archived"];
|
|
12
12
|
function createFormSchema(messages) {
|
|
13
13
|
return z.object({
|
|
@@ -6,9 +6,9 @@ import { Badge } from "@voyantjs/ui/components/badge";
|
|
|
6
6
|
import { Button } from "@voyantjs/ui/components/button";
|
|
7
7
|
import { Loader2, Pencil, Plus, Trash2 } from "lucide-react";
|
|
8
8
|
import * as React from "react";
|
|
9
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
10
|
-
import { PaginationFooter } from "./pagination-footer";
|
|
11
|
-
import { RoomUnitDialog } from "./room-unit-dialog";
|
|
9
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
10
|
+
import { PaginationFooter } from "./pagination-footer.js";
|
|
11
|
+
import { RoomUnitDialog } from "./room-unit-dialog.js";
|
|
12
12
|
const PAGE_SIZE = 25;
|
|
13
13
|
export function RoomUnitsTab({ propertyId }) {
|
|
14
14
|
const messages = useHospitalityUiMessagesOrDefault();
|
|
@@ -7,9 +7,9 @@ import { Loader2 } from "lucide-react";
|
|
|
7
7
|
import { useEffect } from "react";
|
|
8
8
|
import { useForm } from "react-hook-form";
|
|
9
9
|
import { z } from "zod/v4";
|
|
10
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
11
|
-
import { RatePlanCombobox } from "./rate-plan-combobox";
|
|
12
|
-
import { RoomTypeCombobox } from "./room-type-combobox";
|
|
10
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
11
|
+
import { RatePlanCombobox } from "./rate-plan-combobox.js";
|
|
12
|
+
import { RoomTypeCombobox } from "./room-type-combobox.js";
|
|
13
13
|
const WEEKDAYS = ["mon", "tue", "wed", "thu", "fri", "sat", "sun"];
|
|
14
14
|
function createFormSchema(messages) {
|
|
15
15
|
const intOrEmpty = z.coerce
|
|
@@ -6,9 +6,9 @@ import { Badge } from "@voyantjs/ui/components/badge";
|
|
|
6
6
|
import { Button } from "@voyantjs/ui/components/button";
|
|
7
7
|
import { Loader2, Pencil, Plus, Trash2 } from "lucide-react";
|
|
8
8
|
import * as React from "react";
|
|
9
|
-
import { useHospitalityUiMessagesOrDefault } from "../i18n";
|
|
10
|
-
import { PaginationFooter } from "./pagination-footer";
|
|
11
|
-
import { StayRuleDialog } from "./stay-rule-dialog";
|
|
9
|
+
import { useHospitalityUiMessagesOrDefault } from "../i18n/index.js";
|
|
10
|
+
import { PaginationFooter } from "./pagination-footer.js";
|
|
11
|
+
import { StayRuleDialog } from "./stay-rule-dialog.js";
|
|
12
12
|
const PAGE_SIZE = 25;
|
|
13
13
|
export function StayRulesTab({ propertyId }) {
|
|
14
14
|
const messages = useHospitalityUiMessagesOrDefault();
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { hospitalityUiEn } from "./en";
|
|
2
|
-
export type { ChargeFrequency, GuaranteeMode, HospitalityUiMessages, InventoryMode, MaintenanceBlockStatus, RoomBlockStatus, RoomUnitStatus, Weekday, } from "./messages";
|
|
3
|
-
export { getHospitalityUiI18n, type HospitalityUiMessageOverrides, HospitalityUiMessagesProvider, hospitalityUiMessageDefinitions, resolveHospitalityUiMessages, useHospitalityUiI18n, useHospitalityUiI18nOrDefault, useHospitalityUiMessages, useHospitalityUiMessagesOrDefault, } from "./provider";
|
|
4
|
-
export { hospitalityUiRo } from "./ro";
|
|
1
|
+
export { hospitalityUiEn } from "./en.js";
|
|
2
|
+
export type { ChargeFrequency, GuaranteeMode, HospitalityUiMessages, InventoryMode, MaintenanceBlockStatus, RoomBlockStatus, RoomUnitStatus, Weekday, } from "./messages.js";
|
|
3
|
+
export { getHospitalityUiI18n, type HospitalityUiMessageOverrides, HospitalityUiMessagesProvider, hospitalityUiMessageDefinitions, resolveHospitalityUiMessages, useHospitalityUiI18n, useHospitalityUiI18nOrDefault, useHospitalityUiMessages, useHospitalityUiMessagesOrDefault, } from "./provider.js";
|
|
4
|
+
export { hospitalityUiRo } from "./ro.js";
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/i18n/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AACzC,YAAY,EACV,eAAe,EACf,aAAa,EACb,qBAAqB,EACrB,aAAa,EACb,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,OAAO,GACR,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,oBAAoB,EACpB,KAAK,6BAA6B,EAClC,6BAA6B,EAC7B,+BAA+B,EAC/B,4BAA4B,EAC5B,oBAAoB,EACpB,6BAA6B,EAC7B,wBAAwB,EACxB,iCAAiC,GAClC,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA"}
|
package/dist/i18n/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { hospitalityUiEn } from "./en";
|
|
2
|
-
export { getHospitalityUiI18n, HospitalityUiMessagesProvider, hospitalityUiMessageDefinitions, resolveHospitalityUiMessages, useHospitalityUiI18n, useHospitalityUiI18nOrDefault, useHospitalityUiMessages, useHospitalityUiMessagesOrDefault, } from "./provider";
|
|
3
|
-
export { hospitalityUiRo } from "./ro";
|
|
1
|
+
export { hospitalityUiEn } from "./en.js";
|
|
2
|
+
export { getHospitalityUiI18n, HospitalityUiMessagesProvider, hospitalityUiMessageDefinitions, resolveHospitalityUiMessages, useHospitalityUiI18n, useHospitalityUiI18nOrDefault, useHospitalityUiMessages, useHospitalityUiMessagesOrDefault, } from "./provider.js";
|
|
3
|
+
export { hospitalityUiRo } from "./ro.js";
|
package/dist/i18n/provider.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type LocaleMessageOverrides, type PackageI18nValue } from "@voyantjs/i18n";
|
|
2
2
|
import type { ReactNode } from "react";
|
|
3
|
-
import type { HospitalityUiMessages } from "./messages";
|
|
3
|
+
import type { HospitalityUiMessages } from "./messages.js";
|
|
4
4
|
export declare const hospitalityUiMessageDefinitions: {
|
|
5
5
|
en: {
|
|
6
6
|
common: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/i18n/provider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EAEtB,MAAM,gBAAgB,CAAA;AACvB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/i18n/provider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EAEtB,MAAM,gBAAgB,CAAA;AACvB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAA;AAK1D,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGe,CAAA;AAE3D,MAAM,MAAM,6BAA6B,GAAG,sBAAsB,CAAC,qBAAqB,CAAC,CAAA;AAUzF,wBAAgB,4BAA4B,CAAC,EAC3C,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACjC,SAAS,CAAC,EAAE,6BAA6B,GAAG,IAAI,CAAA;CACjD,yBAOA;AAED,wBAAgB,oBAAoB,CAAC,EACnC,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IAClC,SAAS,CAAC,EAAE,6BAA6B,GAAG,IAAI,CAAA;CACjD,GAAG,gBAAgB,CAAC,qBAAqB,CAAC,CAS1C;AAED,wBAAgB,6BAA6B,CAAC,EAC5C,QAAQ,EACR,MAAM,EACN,SAAS,GACV,EAAE;IACD,QAAQ,EAAE,SAAS,CAAA;IACnB,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACjC,SAAS,CAAC,EAAE,6BAA6B,GAAG,IAAI,CAAA;CACjD,2CAWA;AAED,eAAO,MAAM,oBAAoB,+CAA+B,CAAA;AAChE,eAAO,MAAM,wBAAwB,6BAAmC,CAAA;AAExE,wBAAgB,6BAA6B,4CAE5C;AAED,wBAAgB,iCAAiC,0BAEhD"}
|
package/dist/i18n/provider.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { createLocaleFormatters, createPackageMessagesContext, resolvePackageMessages, } from "@voyantjs/i18n";
|
|
4
|
-
import { hospitalityUiEn } from "./en";
|
|
5
|
-
import { hospitalityUiRo } from "./ro";
|
|
4
|
+
import { hospitalityUiEn } from "./en.js";
|
|
5
|
+
import { hospitalityUiRo } from "./ro.js";
|
|
6
6
|
const fallbackLocale = "en";
|
|
7
7
|
export const hospitalityUiMessageDefinitions = {
|
|
8
8
|
en: hospitalityUiEn,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export { CancellationPolicyCombobox } from "./components/cancellation-policy-combobox";
|
|
2
|
-
export { type MaintenanceBlockData, MaintenanceBlockDialog, type MaintenanceBlockDialogProps, } from "./components/maintenance-block-dialog";
|
|
3
|
-
export { MaintenanceBlocksTab, type MaintenanceBlocksTabProps, } from "./components/maintenance-blocks-tab";
|
|
4
|
-
export { MealPlanCombobox } from "./components/meal-plan-combobox";
|
|
5
|
-
export { MealPlanDialog, type MealPlanDialogProps } from "./components/meal-plan-dialog";
|
|
6
|
-
export { MealPlansTab, type MealPlansTabProps } from "./components/meal-plans-tab";
|
|
7
|
-
export { PaginationFooter } from "./components/pagination-footer";
|
|
8
|
-
export { PriceCatalogCombobox } from "./components/price-catalog-combobox";
|
|
9
|
-
export { RatePlanCombobox } from "./components/rate-plan-combobox";
|
|
10
|
-
export { type RatePlanData, RatePlanDialog, type RatePlanDialogProps, } from "./components/rate-plan-dialog";
|
|
11
|
-
export { RatePlansTab, type RatePlansTabProps } from "./components/rate-plans-tab";
|
|
12
|
-
export { type RoomBlockData, RoomBlockDialog, type RoomBlockDialogProps, } from "./components/room-block-dialog";
|
|
13
|
-
export { RoomBlocksTab, type RoomBlocksTabProps } from "./components/room-blocks-tab";
|
|
14
|
-
export { type RoomInventoryData, RoomInventoryDialog, type RoomInventoryDialogProps, } from "./components/room-inventory-dialog";
|
|
15
|
-
export { RoomInventoryTab, type RoomInventoryTabProps } from "./components/room-inventory-tab";
|
|
16
|
-
export { RoomTypeCombobox } from "./components/room-type-combobox";
|
|
17
|
-
export { RoomTypeDialog, type RoomTypeDialogProps } from "./components/room-type-dialog";
|
|
18
|
-
export { RoomTypesTab, type RoomTypesTabProps } from "./components/room-types-tab";
|
|
19
|
-
export { RoomUnitCombobox } from "./components/room-unit-combobox";
|
|
20
|
-
export { RoomUnitDialog, type RoomUnitDialogProps } from "./components/room-unit-dialog";
|
|
21
|
-
export { RoomUnitsTab, type RoomUnitsTabProps } from "./components/room-units-tab";
|
|
22
|
-
export { type StayRuleData, StayRuleDialog, type StayRuleDialogProps, } from "./components/stay-rule-dialog";
|
|
23
|
-
export { StayRulesTab, type StayRulesTabProps } from "./components/stay-rules-tab";
|
|
24
|
-
export type { ChargeFrequency, GuaranteeMode, HospitalityUiMessages, InventoryMode, MaintenanceBlockStatus, RoomBlockStatus, RoomUnitStatus, Weekday, } from "./i18n";
|
|
25
|
-
export { getHospitalityUiI18n, type HospitalityUiMessageOverrides, HospitalityUiMessagesProvider, hospitalityUiEn, hospitalityUiMessageDefinitions, hospitalityUiRo, resolveHospitalityUiMessages, useHospitalityUiI18n, useHospitalityUiI18nOrDefault, useHospitalityUiMessages, useHospitalityUiMessagesOrDefault, } from "./i18n";
|
|
1
|
+
export { CancellationPolicyCombobox } from "./components/cancellation-policy-combobox.js";
|
|
2
|
+
export { type MaintenanceBlockData, MaintenanceBlockDialog, type MaintenanceBlockDialogProps, } from "./components/maintenance-block-dialog.js";
|
|
3
|
+
export { MaintenanceBlocksTab, type MaintenanceBlocksTabProps, } from "./components/maintenance-blocks-tab.js";
|
|
4
|
+
export { MealPlanCombobox } from "./components/meal-plan-combobox.js";
|
|
5
|
+
export { MealPlanDialog, type MealPlanDialogProps } from "./components/meal-plan-dialog.js";
|
|
6
|
+
export { MealPlansTab, type MealPlansTabProps } from "./components/meal-plans-tab.js";
|
|
7
|
+
export { PaginationFooter } from "./components/pagination-footer.js";
|
|
8
|
+
export { PriceCatalogCombobox } from "./components/price-catalog-combobox.js";
|
|
9
|
+
export { RatePlanCombobox } from "./components/rate-plan-combobox.js";
|
|
10
|
+
export { type RatePlanData, RatePlanDialog, type RatePlanDialogProps, } from "./components/rate-plan-dialog.js";
|
|
11
|
+
export { RatePlansTab, type RatePlansTabProps } from "./components/rate-plans-tab.js";
|
|
12
|
+
export { type RoomBlockData, RoomBlockDialog, type RoomBlockDialogProps, } from "./components/room-block-dialog.js";
|
|
13
|
+
export { RoomBlocksTab, type RoomBlocksTabProps } from "./components/room-blocks-tab.js";
|
|
14
|
+
export { type RoomInventoryData, RoomInventoryDialog, type RoomInventoryDialogProps, } from "./components/room-inventory-dialog.js";
|
|
15
|
+
export { RoomInventoryTab, type RoomInventoryTabProps } from "./components/room-inventory-tab.js";
|
|
16
|
+
export { RoomTypeCombobox } from "./components/room-type-combobox.js";
|
|
17
|
+
export { RoomTypeDialog, type RoomTypeDialogProps } from "./components/room-type-dialog.js";
|
|
18
|
+
export { RoomTypesTab, type RoomTypesTabProps } from "./components/room-types-tab.js";
|
|
19
|
+
export { RoomUnitCombobox } from "./components/room-unit-combobox.js";
|
|
20
|
+
export { RoomUnitDialog, type RoomUnitDialogProps } from "./components/room-unit-dialog.js";
|
|
21
|
+
export { RoomUnitsTab, type RoomUnitsTabProps } from "./components/room-units-tab.js";
|
|
22
|
+
export { type StayRuleData, StayRuleDialog, type StayRuleDialogProps, } from "./components/stay-rule-dialog.js";
|
|
23
|
+
export { StayRulesTab, type StayRulesTabProps } from "./components/stay-rules-tab.js";
|
|
24
|
+
export type { ChargeFrequency, GuaranteeMode, HospitalityUiMessages, InventoryMode, MaintenanceBlockStatus, RoomBlockStatus, RoomUnitStatus, Weekday, } from "./i18n/index.js";
|
|
25
|
+
export { getHospitalityUiI18n, type HospitalityUiMessageOverrides, HospitalityUiMessagesProvider, hospitalityUiEn, hospitalityUiMessageDefinitions, hospitalityUiRo, resolveHospitalityUiMessages, useHospitalityUiI18n, useHospitalityUiI18nOrDefault, useHospitalityUiMessages, useHospitalityUiMessagesOrDefault, } from "./i18n/index.js";
|
|
26
26
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAA;AACzF,OAAO,EACL,KAAK,oBAAoB,EACzB,sBAAsB,EACtB,KAAK,2BAA2B,GACjC,MAAM,0CAA0C,CAAA;AACjD,OAAO,EACL,oBAAoB,EACpB,KAAK,yBAAyB,GAC/B,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAA;AACrE,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAC3F,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACrF,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAA;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAA;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAA;AACrE,OAAO,EACL,KAAK,YAAY,EACjB,cAAc,EACd,KAAK,mBAAmB,GACzB,MAAM,kCAAkC,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACrF,OAAO,EACL,KAAK,aAAa,EAClB,eAAe,EACf,KAAK,oBAAoB,GAC1B,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AACxF,OAAO,EACL,KAAK,iBAAiB,EACtB,mBAAmB,EACnB,KAAK,wBAAwB,GAC9B,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,oCAAoC,CAAA;AACjG,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAA;AACrE,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAC3F,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACrF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAA;AACrE,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAC3F,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACrF,OAAO,EACL,KAAK,YAAY,EACjB,cAAc,EACd,KAAK,mBAAmB,GACzB,MAAM,kCAAkC,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACrF,YAAY,EACV,eAAe,EACf,aAAa,EACb,qBAAqB,EACrB,aAAa,EACb,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,OAAO,GACR,MAAM,iBAAiB,CAAA;AACxB,OAAO,EACL,oBAAoB,EACpB,KAAK,6BAA6B,EAClC,6BAA6B,EAC7B,eAAe,EACf,+BAA+B,EAC/B,eAAe,EACf,4BAA4B,EAC5B,oBAAoB,EACpB,6BAA6B,EAC7B,wBAAwB,EACxB,iCAAiC,GAClC,MAAM,iBAAiB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export { CancellationPolicyCombobox } from "./components/cancellation-policy-combobox";
|
|
2
|
-
export { MaintenanceBlockDialog, } from "./components/maintenance-block-dialog";
|
|
3
|
-
export { MaintenanceBlocksTab, } from "./components/maintenance-blocks-tab";
|
|
4
|
-
export { MealPlanCombobox } from "./components/meal-plan-combobox";
|
|
5
|
-
export { MealPlanDialog } from "./components/meal-plan-dialog";
|
|
6
|
-
export { MealPlansTab } from "./components/meal-plans-tab";
|
|
7
|
-
export { PaginationFooter } from "./components/pagination-footer";
|
|
8
|
-
export { PriceCatalogCombobox } from "./components/price-catalog-combobox";
|
|
9
|
-
export { RatePlanCombobox } from "./components/rate-plan-combobox";
|
|
10
|
-
export { RatePlanDialog, } from "./components/rate-plan-dialog";
|
|
11
|
-
export { RatePlansTab } from "./components/rate-plans-tab";
|
|
12
|
-
export { RoomBlockDialog, } from "./components/room-block-dialog";
|
|
13
|
-
export { RoomBlocksTab } from "./components/room-blocks-tab";
|
|
14
|
-
export { RoomInventoryDialog, } from "./components/room-inventory-dialog";
|
|
15
|
-
export { RoomInventoryTab } from "./components/room-inventory-tab";
|
|
16
|
-
export { RoomTypeCombobox } from "./components/room-type-combobox";
|
|
17
|
-
export { RoomTypeDialog } from "./components/room-type-dialog";
|
|
18
|
-
export { RoomTypesTab } from "./components/room-types-tab";
|
|
19
|
-
export { RoomUnitCombobox } from "./components/room-unit-combobox";
|
|
20
|
-
export { RoomUnitDialog } from "./components/room-unit-dialog";
|
|
21
|
-
export { RoomUnitsTab } from "./components/room-units-tab";
|
|
22
|
-
export { StayRuleDialog, } from "./components/stay-rule-dialog";
|
|
23
|
-
export { StayRulesTab } from "./components/stay-rules-tab";
|
|
24
|
-
export { getHospitalityUiI18n, HospitalityUiMessagesProvider, hospitalityUiEn, hospitalityUiMessageDefinitions, hospitalityUiRo, resolveHospitalityUiMessages, useHospitalityUiI18n, useHospitalityUiI18nOrDefault, useHospitalityUiMessages, useHospitalityUiMessagesOrDefault, } from "./i18n";
|
|
1
|
+
export { CancellationPolicyCombobox } from "./components/cancellation-policy-combobox.js";
|
|
2
|
+
export { MaintenanceBlockDialog, } from "./components/maintenance-block-dialog.js";
|
|
3
|
+
export { MaintenanceBlocksTab, } from "./components/maintenance-blocks-tab.js";
|
|
4
|
+
export { MealPlanCombobox } from "./components/meal-plan-combobox.js";
|
|
5
|
+
export { MealPlanDialog } from "./components/meal-plan-dialog.js";
|
|
6
|
+
export { MealPlansTab } from "./components/meal-plans-tab.js";
|
|
7
|
+
export { PaginationFooter } from "./components/pagination-footer.js";
|
|
8
|
+
export { PriceCatalogCombobox } from "./components/price-catalog-combobox.js";
|
|
9
|
+
export { RatePlanCombobox } from "./components/rate-plan-combobox.js";
|
|
10
|
+
export { RatePlanDialog, } from "./components/rate-plan-dialog.js";
|
|
11
|
+
export { RatePlansTab } from "./components/rate-plans-tab.js";
|
|
12
|
+
export { RoomBlockDialog, } from "./components/room-block-dialog.js";
|
|
13
|
+
export { RoomBlocksTab } from "./components/room-blocks-tab.js";
|
|
14
|
+
export { RoomInventoryDialog, } from "./components/room-inventory-dialog.js";
|
|
15
|
+
export { RoomInventoryTab } from "./components/room-inventory-tab.js";
|
|
16
|
+
export { RoomTypeCombobox } from "./components/room-type-combobox.js";
|
|
17
|
+
export { RoomTypeDialog } from "./components/room-type-dialog.js";
|
|
18
|
+
export { RoomTypesTab } from "./components/room-types-tab.js";
|
|
19
|
+
export { RoomUnitCombobox } from "./components/room-unit-combobox.js";
|
|
20
|
+
export { RoomUnitDialog } from "./components/room-unit-dialog.js";
|
|
21
|
+
export { RoomUnitsTab } from "./components/room-units-tab.js";
|
|
22
|
+
export { StayRuleDialog, } from "./components/stay-rule-dialog.js";
|
|
23
|
+
export { StayRulesTab } from "./components/stay-rules-tab.js";
|
|
24
|
+
export { getHospitalityUiI18n, HospitalityUiMessagesProvider, hospitalityUiEn, hospitalityUiMessageDefinitions, hospitalityUiRo, resolveHospitalityUiMessages, useHospitalityUiI18n, useHospitalityUiI18nOrDefault, useHospitalityUiMessages, useHospitalityUiMessagesOrDefault, } from "./i18n/index.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/hospitality-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"react-dom": "^19.0.0",
|
|
46
46
|
"react-hook-form": "^7.60.0",
|
|
47
47
|
"zod": "^4.3.6",
|
|
48
|
-
"@voyantjs/catalog-react": "0.
|
|
49
|
-
"@voyantjs/hospitality-react": "0.
|
|
50
|
-
"@voyantjs/pricing-react": "0.
|
|
51
|
-
"@voyantjs/ui": "0.
|
|
48
|
+
"@voyantjs/catalog-react": "0.26.1",
|
|
49
|
+
"@voyantjs/hospitality-react": "0.26.1",
|
|
50
|
+
"@voyantjs/pricing-react": "0.26.1",
|
|
51
|
+
"@voyantjs/ui": "0.26.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@tanstack/react-query": "^5.96.2",
|
|
@@ -61,15 +61,15 @@
|
|
|
61
61
|
"typescript": "^6.0.2",
|
|
62
62
|
"vitest": "^4.1.2",
|
|
63
63
|
"zod": "^4.3.6",
|
|
64
|
-
"@voyantjs/catalog-react": "0.
|
|
65
|
-
"@voyantjs/hospitality-react": "0.
|
|
66
|
-
"@voyantjs/i18n": "0.
|
|
67
|
-
"@voyantjs/pricing-react": "0.
|
|
68
|
-
"@voyantjs/ui": "0.
|
|
64
|
+
"@voyantjs/catalog-react": "0.26.1",
|
|
65
|
+
"@voyantjs/hospitality-react": "0.26.1",
|
|
66
|
+
"@voyantjs/i18n": "0.26.1",
|
|
67
|
+
"@voyantjs/pricing-react": "0.26.1",
|
|
68
|
+
"@voyantjs/ui": "0.26.1",
|
|
69
69
|
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@voyantjs/i18n": "0.
|
|
72
|
+
"@voyantjs/i18n": "0.26.1"
|
|
73
73
|
},
|
|
74
74
|
"files": [
|
|
75
75
|
"dist",
|