@voyantjs/products-ui 0.26.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/option-unit-dialog.js +2 -2
- package/dist/components/option-unit-form.js +1 -1
- package/dist/components/product-category-combobox.js +1 -1
- package/dist/components/product-category-dialog.js +2 -2
- package/dist/components/product-category-form.js +2 -2
- package/dist/components/product-category-list.js +2 -2
- package/dist/components/product-day-dialog.js +2 -2
- package/dist/components/product-day-form.js +1 -1
- package/dist/components/product-day-media-tray.d.ts +1 -1
- package/dist/components/product-day-media-tray.d.ts.map +1 -1
- package/dist/components/product-day-media-tray.js +2 -2
- package/dist/components/product-day-service-form.js +1 -1
- package/dist/components/product-itinerary-day-row.js +1 -1
- package/dist/components/product-itinerary-dialog.js +1 -1
- package/dist/components/product-media-dialog.js +2 -2
- package/dist/components/product-media-form.js +1 -1
- package/dist/components/product-media-section.js +2 -2
- package/dist/components/product-option-dialog.js +2 -2
- package/dist/components/product-option-form.js +1 -1
- package/dist/components/product-options-section.js +3 -3
- package/dist/components/product-tag-dialog.js +2 -2
- package/dist/components/product-tag-form.js +1 -1
- package/dist/components/product-tag-list.js +2 -2
- package/dist/components/product-type-combobox.js +1 -1
- package/dist/components/product-version-dialog.js +1 -1
- package/dist/components/product-versions-section.js +2 -2
- 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 +26 -26
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +25 -25
- package/package.json +19 -19
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, } from "@voyantjs/ui/components/dialog";
|
|
4
|
-
import { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
5
|
-
import { OptionUnitForm } from "./option-unit-form";
|
|
4
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
5
|
+
import { OptionUnitForm } from "./option-unit-form.js";
|
|
6
6
|
export function OptionUnitDialog({ open, onOpenChange, optionId, unit, sortOrder, onSuccess, }) {
|
|
7
7
|
const isEdit = Boolean(unit);
|
|
8
8
|
const messages = useProductsUiMessagesOrDefault();
|
|
@@ -9,7 +9,7 @@ import { Switch } from "@voyantjs/ui/components/switch";
|
|
|
9
9
|
import { Textarea } from "@voyantjs/ui/components/textarea";
|
|
10
10
|
import { Loader2 } from "lucide-react";
|
|
11
11
|
import * as React from "react";
|
|
12
|
-
import { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
12
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
13
13
|
const UNIT_TYPES = [
|
|
14
14
|
{ value: "person" },
|
|
15
15
|
{ value: "group" },
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useProductCategories, useProductCategory, } from "@voyantjs/products-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 { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
5
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
6
6
|
const PAGE_SIZE = 25;
|
|
7
7
|
export function ProductCategoryCombobox({ value, onChange, placeholder, disabled, excludeId, }) {
|
|
8
8
|
const messages = useProductsUiMessagesOrDefault();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, } from "@voyantjs/ui/components/dialog";
|
|
4
|
-
import { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
5
|
-
import { ProductCategoryForm } from "./product-category-form";
|
|
4
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
5
|
+
import { ProductCategoryForm } from "./product-category-form.js";
|
|
6
6
|
export function ProductCategoryDialog({ open, onOpenChange, category, onSuccess, }) {
|
|
7
7
|
const isEdit = Boolean(category);
|
|
8
8
|
const messages = useProductsUiMessagesOrDefault();
|
|
@@ -9,8 +9,8 @@ import { Switch } from "@voyantjs/ui/components/switch";
|
|
|
9
9
|
import { Textarea } from "@voyantjs/ui/components/textarea";
|
|
10
10
|
import { Loader2 } from "lucide-react";
|
|
11
11
|
import * as React from "react";
|
|
12
|
-
import { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
13
|
-
import { ProductCategoryCombobox } from "./product-category-combobox";
|
|
12
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
13
|
+
import { ProductCategoryCombobox } from "./product-category-combobox.js";
|
|
14
14
|
function initialState(mode) {
|
|
15
15
|
if (mode.kind === "edit") {
|
|
16
16
|
const category = mode.category;
|
|
@@ -8,8 +8,8 @@ import { Input } from "@voyantjs/ui/components/input";
|
|
|
8
8
|
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from "@voyantjs/ui/components/table";
|
|
9
9
|
import { CheckCircle2, Loader2, MoreHorizontal, Pencil, Plus, Search, Trash2 } from "lucide-react";
|
|
10
10
|
import * as React from "react";
|
|
11
|
-
import { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
12
|
-
import { ProductCategoryDialog } from "./product-category-dialog";
|
|
11
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
12
|
+
import { ProductCategoryDialog } from "./product-category-dialog.js";
|
|
13
13
|
export function ProductCategoryList({ pageSize = 200 } = {}) {
|
|
14
14
|
const [search, setSearch] = React.useState("");
|
|
15
15
|
const [offset, setOffset] = React.useState(0);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, } from "@voyantjs/ui/components/dialog";
|
|
4
|
-
import { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
5
|
-
import { ProductDayForm } from "./product-day-form";
|
|
4
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
5
|
+
import { ProductDayForm } from "./product-day-form.js";
|
|
6
6
|
export function ProductDayDialog({ open, onOpenChange, productId, itineraryId, day, nextDayNumber, onSuccess, }) {
|
|
7
7
|
const isEdit = Boolean(day);
|
|
8
8
|
const messages = useProductsUiMessagesOrDefault();
|
|
@@ -7,7 +7,7 @@ import { Label } from "@voyantjs/ui/components/label";
|
|
|
7
7
|
import { Textarea } from "@voyantjs/ui/components/textarea";
|
|
8
8
|
import { Loader2 } from "lucide-react";
|
|
9
9
|
import * as React from "react";
|
|
10
|
-
import { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
10
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
11
11
|
function initialState(mode) {
|
|
12
12
|
if (mode.kind === "edit") {
|
|
13
13
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import type { ProductMediaUploadHandler } from "./product-media-section";
|
|
2
|
+
import type { ProductMediaUploadHandler } from "./product-media-section.js";
|
|
3
3
|
export interface ProductDayMediaTrayProps {
|
|
4
4
|
productId: string;
|
|
5
5
|
dayId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-day-media-tray.d.ts","sourceRoot":"","sources":["../../src/components/product-day-media-tray.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"product-day-media-tray.d.ts","sourceRoot":"","sources":["../../src/components/product-day-media-tray.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAE3E,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,yBAAyB,CAAA;IACvC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC7B;AAED,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,KAAK,EACL,WAAW,EACX,YAAgD,EAChD,UAAU,GACX,EAAE,wBAAwB,2CAqM1B"}
|
|
@@ -5,8 +5,8 @@ import { Badge } from "@voyantjs/ui/components/badge";
|
|
|
5
5
|
import { Button } from "@voyantjs/ui/components/button";
|
|
6
6
|
import { ImageIcon, Loader2, Pencil, Plus, Star, Trash2, Upload } from "lucide-react";
|
|
7
7
|
import * as React from "react";
|
|
8
|
-
import { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
9
|
-
import { ProductMediaDialog } from "./product-media-dialog";
|
|
8
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
9
|
+
import { ProductMediaDialog } from "./product-media-dialog.js";
|
|
10
10
|
export function ProductDayMediaTray({ productId, dayId, uploadMedia, uploadAccept = "image/*,video/*,application/pdf", emptyState, }) {
|
|
11
11
|
const messages = useProductsUiMessagesOrDefault();
|
|
12
12
|
const [dialogOpen, setDialogOpen] = React.useState(false);
|
|
@@ -8,7 +8,7 @@ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "
|
|
|
8
8
|
import { Textarea } from "@voyantjs/ui/components/textarea";
|
|
9
9
|
import { Loader2 } from "lucide-react";
|
|
10
10
|
import * as React from "react";
|
|
11
|
-
import { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
11
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
12
12
|
function initialState(mode) {
|
|
13
13
|
if (mode.kind === "edit") {
|
|
14
14
|
return {
|
|
@@ -4,7 +4,7 @@ import { useProductDayServices, } from "@voyantjs/products-react";
|
|
|
4
4
|
import { Badge } from "@voyantjs/ui/components/badge";
|
|
5
5
|
import { Button } from "@voyantjs/ui/components/button";
|
|
6
6
|
import { ChevronDown, ChevronRight, Pencil, Plus, Trash2 } from "lucide-react";
|
|
7
|
-
import { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
7
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
8
8
|
function formatServiceType(serviceType, messages) {
|
|
9
9
|
return messages.serviceTypes[serviceType];
|
|
10
10
|
}
|
|
@@ -8,7 +8,7 @@ import { Input } from "@voyantjs/ui/components/input";
|
|
|
8
8
|
import { Label } from "@voyantjs/ui/components/label";
|
|
9
9
|
import { Loader2 } from "lucide-react";
|
|
10
10
|
import * as React from "react";
|
|
11
|
-
import { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
11
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
12
12
|
export function ProductItineraryDialog({ open, onOpenChange, productId, itinerary, itineraryCount, onSuccess, }) {
|
|
13
13
|
const isEditing = !!itinerary;
|
|
14
14
|
const isFirstItinerary = !isEditing && itineraryCount === 0;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, } from "@voyantjs/ui/components/dialog";
|
|
4
|
-
import { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
5
|
-
import { ProductMediaForm } from "./product-media-form";
|
|
4
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
5
|
+
import { ProductMediaForm } from "./product-media-form.js";
|
|
6
6
|
export function ProductMediaDialog({ open, onOpenChange, productId, dayId, media, onSuccess, }) {
|
|
7
7
|
const isEdit = Boolean(media);
|
|
8
8
|
const messages = useProductsUiMessagesOrDefault();
|
|
@@ -9,7 +9,7 @@ import { Switch } from "@voyantjs/ui/components/switch";
|
|
|
9
9
|
import { Textarea } from "@voyantjs/ui/components/textarea";
|
|
10
10
|
import { Loader2 } from "lucide-react";
|
|
11
11
|
import * as React from "react";
|
|
12
|
-
import { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
12
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
13
13
|
const MEDIA_TYPES = [
|
|
14
14
|
{ value: "image" },
|
|
15
15
|
{ value: "video" },
|
|
@@ -7,8 +7,8 @@ import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@voy
|
|
|
7
7
|
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from "@voyantjs/ui/components/table";
|
|
8
8
|
import { ImageIcon, Loader2, Pencil, Plus, Star, Trash2, Upload } from "lucide-react";
|
|
9
9
|
import * as React from "react";
|
|
10
|
-
import { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
11
|
-
import { ProductMediaDialog } from "./product-media-dialog";
|
|
10
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
11
|
+
import { ProductMediaDialog } from "./product-media-dialog.js";
|
|
12
12
|
export function ProductMediaSection({ productId, dayId, title, description, compact = false, uploadMedia, uploadAccept = "image/*,video/*,application/pdf", }) {
|
|
13
13
|
const messages = useProductsUiMessagesOrDefault();
|
|
14
14
|
const [dialogOpen, setDialogOpen] = React.useState(false);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, } from "@voyantjs/ui/components/dialog";
|
|
4
|
-
import { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
5
|
-
import { ProductOptionForm } from "./product-option-form";
|
|
4
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
5
|
+
import { ProductOptionForm } from "./product-option-form.js";
|
|
6
6
|
export function ProductOptionDialog({ open, onOpenChange, productId, option, sortOrder, onSuccess, }) {
|
|
7
7
|
const isEdit = Boolean(option);
|
|
8
8
|
const messages = useProductsUiMessagesOrDefault();
|
|
@@ -10,7 +10,7 @@ import { Switch } from "@voyantjs/ui/components/switch";
|
|
|
10
10
|
import { Textarea } from "@voyantjs/ui/components/textarea";
|
|
11
11
|
import { Loader2 } from "lucide-react";
|
|
12
12
|
import * as React from "react";
|
|
13
|
-
import { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
13
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
14
14
|
const OPTION_STATUSES = [{ value: "draft" }, { value: "active" }, { value: "archived" }];
|
|
15
15
|
function initialState(mode) {
|
|
16
16
|
if (mode.kind === "edit") {
|
|
@@ -8,9 +8,9 @@ import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@voy
|
|
|
8
8
|
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from "@voyantjs/ui/components/table";
|
|
9
9
|
import { ChevronDown, ChevronRight, Copy, Loader2, Pencil, Plus, Trash2 } from "lucide-react";
|
|
10
10
|
import * as React from "react";
|
|
11
|
-
import { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
12
|
-
import { OptionUnitDialog } from "./option-unit-dialog";
|
|
13
|
-
import { ProductOptionDialog } from "./product-option-dialog";
|
|
11
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
12
|
+
import { OptionUnitDialog } from "./option-unit-dialog.js";
|
|
13
|
+
import { ProductOptionDialog } from "./product-option-dialog.js";
|
|
14
14
|
const optionStatusVariant = {
|
|
15
15
|
draft: "outline",
|
|
16
16
|
active: "default",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, } from "@voyantjs/ui/components/dialog";
|
|
4
|
-
import { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
5
|
-
import { ProductTagForm } from "./product-tag-form";
|
|
4
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
5
|
+
import { ProductTagForm } from "./product-tag-form.js";
|
|
6
6
|
export function ProductTagDialog({ open, onOpenChange, tag, onSuccess }) {
|
|
7
7
|
const isEdit = Boolean(tag);
|
|
8
8
|
const messages = useProductsUiMessagesOrDefault();
|
|
@@ -6,7 +6,7 @@ import { Input } from "@voyantjs/ui/components/input";
|
|
|
6
6
|
import { Label } from "@voyantjs/ui/components/label";
|
|
7
7
|
import { Loader2 } from "lucide-react";
|
|
8
8
|
import * as React from "react";
|
|
9
|
-
import { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
9
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
10
10
|
function initialState(mode) {
|
|
11
11
|
return {
|
|
12
12
|
name: mode.kind === "edit" ? mode.tag.name : "",
|
|
@@ -7,8 +7,8 @@ import { Input } from "@voyantjs/ui/components/input";
|
|
|
7
7
|
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from "@voyantjs/ui/components/table";
|
|
8
8
|
import { Loader2, MoreHorizontal, Pencil, Plus, Search, Trash2 } from "lucide-react";
|
|
9
9
|
import * as React from "react";
|
|
10
|
-
import { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
11
|
-
import { ProductTagDialog } from "./product-tag-dialog";
|
|
10
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
11
|
+
import { ProductTagDialog } from "./product-tag-dialog.js";
|
|
12
12
|
export function ProductTagList({ pageSize = 200 } = {}) {
|
|
13
13
|
const [search, setSearch] = React.useState("");
|
|
14
14
|
const [offset, setOffset] = React.useState(0);
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useProductType, useProductTypes } from "@voyantjs/products-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 { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
5
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
6
6
|
const PAGE_SIZE = 25;
|
|
7
7
|
export function ProductTypeCombobox({ value, onChange, placeholder, disabled }) {
|
|
8
8
|
const messages = useProductsUiMessagesOrDefault();
|
|
@@ -7,7 +7,7 @@ import { Label } from "@voyantjs/ui/components/label";
|
|
|
7
7
|
import { Textarea } from "@voyantjs/ui/components/textarea";
|
|
8
8
|
import { Loader2 } from "lucide-react";
|
|
9
9
|
import * as React from "react";
|
|
10
|
-
import { useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
10
|
+
import { useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
11
11
|
export function ProductVersionDialog({ open, onOpenChange, productId, onSuccess, }) {
|
|
12
12
|
const [notes, setNotes] = React.useState("");
|
|
13
13
|
const [error, setError] = React.useState(null);
|
|
@@ -5,8 +5,8 @@ import { Button } from "@voyantjs/ui/components/button";
|
|
|
5
5
|
import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@voyantjs/ui/components/card";
|
|
6
6
|
import { FileText, Loader2, Plus } from "lucide-react";
|
|
7
7
|
import * as React from "react";
|
|
8
|
-
import { useProductsUiI18nOrDefault, useProductsUiMessagesOrDefault } from "../i18n/provider";
|
|
9
|
-
import { ProductVersionDialog } from "./product-version-dialog";
|
|
8
|
+
import { useProductsUiI18nOrDefault, useProductsUiMessagesOrDefault } from "../i18n/provider.js";
|
|
9
|
+
import { ProductVersionDialog } from "./product-version-dialog.js";
|
|
10
10
|
export function ProductVersionsSection({ productId, title, description, }) {
|
|
11
11
|
const [dialogOpen, setDialogOpen] = React.useState(false);
|
|
12
12
|
const { data, isPending, isError } = useProductVersions(productId);
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { productsUiEn } from "./en";
|
|
2
|
-
export type { ProductsUiMessages } from "./messages";
|
|
3
|
-
export { getProductsUiI18n, type ProductsUiMessageOverrides, ProductsUiMessagesProvider, productsUiMessageDefinitions, resolveProductsUiMessages, useProductsUiI18n, useProductsUiI18nOrDefault, useProductsUiMessages, useProductsUiMessagesOrDefault, } from "./provider";
|
|
4
|
-
export { productsUiRo } from "./ro";
|
|
1
|
+
export { productsUiEn } from "./en.js";
|
|
2
|
+
export type { ProductsUiMessages } from "./messages.js";
|
|
3
|
+
export { getProductsUiI18n, type ProductsUiMessageOverrides, ProductsUiMessagesProvider, productsUiMessageDefinitions, resolveProductsUiMessages, useProductsUiI18n, useProductsUiI18nOrDefault, useProductsUiMessages, useProductsUiMessagesOrDefault, } from "./provider.js";
|
|
4
|
+
export { productsUiRo } 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,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,YAAY,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AACvD,OAAO,EACL,iBAAiB,EACjB,KAAK,0BAA0B,EAC/B,0BAA0B,EAC1B,4BAA4B,EAC5B,yBAAyB,EACzB,iBAAiB,EACjB,0BAA0B,EAC1B,qBAAqB,EACrB,8BAA8B,GAC/B,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA"}
|
package/dist/i18n/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { productsUiEn } from "./en";
|
|
2
|
-
export { getProductsUiI18n, ProductsUiMessagesProvider, productsUiMessageDefinitions, resolveProductsUiMessages, useProductsUiI18n, useProductsUiI18nOrDefault, useProductsUiMessages, useProductsUiMessagesOrDefault, } from "./provider";
|
|
3
|
-
export { productsUiRo } from "./ro";
|
|
1
|
+
export { productsUiEn } from "./en.js";
|
|
2
|
+
export { getProductsUiI18n, ProductsUiMessagesProvider, productsUiMessageDefinitions, resolveProductsUiMessages, useProductsUiI18n, useProductsUiI18nOrDefault, useProductsUiMessages, useProductsUiMessagesOrDefault, } from "./provider.js";
|
|
3
|
+
export { productsUiRo } 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 { ProductsUiMessages } from "./messages";
|
|
3
|
+
import type { ProductsUiMessages } from "./messages.js";
|
|
4
4
|
export declare const productsUiMessageDefinitions: {
|
|
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,kBAAkB,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,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAKvD,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGe,CAAA;AAExD,MAAM,MAAM,0BAA0B,GAAG,sBAAsB,CAAC,kBAAkB,CAAC,CAAA;AASnF,wBAAgB,yBAAyB,CAAC,EACxC,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACjC,SAAS,CAAC,EAAE,0BAA0B,GAAG,IAAI,CAAA;CAC9C,sBAOA;AAED,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IAClC,SAAS,CAAC,EAAE,0BAA0B,GAAG,IAAI,CAAA;CAC9C,GAAG,gBAAgB,CAAC,kBAAkB,CAAC,CASvC;AAED,wBAAgB,0BAA0B,CAAC,EACzC,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,0BAA0B,GAAG,IAAI,CAAA;CAC9C,2CAWA;AAED,eAAO,MAAM,iBAAiB,4CAA4B,CAAA;AAC1D,eAAO,MAAM,qBAAqB,0BAAgC,CAAA;AAElE,wBAAgB,0BAA0B,yCAEzC;AAED,wBAAgB,8BAA8B,uBAE7C"}
|
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 { productsUiEn } from "./en";
|
|
5
|
-
import { productsUiRo } from "./ro";
|
|
4
|
+
import { productsUiEn } from "./en.js";
|
|
5
|
+
import { productsUiRo } from "./ro.js";
|
|
6
6
|
const fallbackLocale = "en";
|
|
7
7
|
export const productsUiMessageDefinitions = {
|
|
8
8
|
en: productsUiEn,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export { OptionUnitDialog, type OptionUnitDialogProps } from "./components/option-unit-dialog";
|
|
2
|
-
export { OptionUnitForm, type OptionUnitFormProps } from "./components/option-unit-form";
|
|
3
|
-
export { ProductCategoryCombobox } from "./components/product-category-combobox";
|
|
4
|
-
export { ProductCategoryDialog, type ProductCategoryDialogProps, } from "./components/product-category-dialog";
|
|
5
|
-
export { ProductCategoryForm, type ProductCategoryFormProps, } from "./components/product-category-form";
|
|
6
|
-
export { ProductCategoryList, type ProductCategoryListProps, } from "./components/product-category-list";
|
|
7
|
-
export { ProductDayDialog, type ProductDayDialogProps } from "./components/product-day-dialog";
|
|
8
|
-
export { ProductDayForm, type ProductDayFormProps } from "./components/product-day-form";
|
|
9
|
-
export { ProductDayMediaTray, type ProductDayMediaTrayProps, } from "./components/product-day-media-tray";
|
|
10
|
-
export { ProductDayServiceForm, type ProductDayServiceFormHelpers, type ProductDayServiceFormProps, type ProductDayServiceSupplierServiceFieldProps, type ProductDayServiceSupplierServiceOption, } from "./components/product-day-service-form";
|
|
11
|
-
export { ProductItineraryDayRow, type ProductItineraryDayRowProps, type ProductItineraryDayRowRenderContext, } from "./components/product-itinerary-day-row";
|
|
12
|
-
export { ProductItineraryDialog, type ProductItineraryDialogProps, } from "./components/product-itinerary-dialog";
|
|
13
|
-
export { ProductMediaDialog, type ProductMediaDialogProps } from "./components/product-media-dialog";
|
|
14
|
-
export { ProductMediaForm, type ProductMediaFormProps } from "./components/product-media-form";
|
|
15
|
-
export { ProductMediaSection, type ProductMediaSectionProps, type ProductMediaUploadHandler, type ProductMediaUploadResult, } from "./components/product-media-section";
|
|
16
|
-
export { ProductOptionDialog, type ProductOptionDialogProps, } from "./components/product-option-dialog";
|
|
17
|
-
export { ProductOptionForm, type ProductOptionFormProps } from "./components/product-option-form";
|
|
18
|
-
export { ProductOptionsSection, type ProductOptionsSectionProps, } from "./components/product-options-section";
|
|
19
|
-
export { ProductTagDialog, type ProductTagDialogProps } from "./components/product-tag-dialog";
|
|
20
|
-
export { ProductTagForm, type ProductTagFormProps } from "./components/product-tag-form";
|
|
21
|
-
export { ProductTagList, type ProductTagListProps } from "./components/product-tag-list";
|
|
22
|
-
export { ProductTypeCombobox } from "./components/product-type-combobox";
|
|
23
|
-
export { ProductVersionDialog, type ProductVersionDialogProps, } from "./components/product-version-dialog";
|
|
24
|
-
export { ProductVersionsSection, type ProductVersionsSectionProps, } from "./components/product-versions-section";
|
|
25
|
-
export type { ProductsUiMessages } from "./i18n";
|
|
26
|
-
export { getProductsUiI18n, type ProductsUiMessageOverrides, ProductsUiMessagesProvider, productsUiEn, productsUiMessageDefinitions, productsUiRo, resolveProductsUiMessages, useProductsUiI18n, useProductsUiI18nOrDefault, useProductsUiMessages, useProductsUiMessagesOrDefault, } from "./i18n";
|
|
1
|
+
export { OptionUnitDialog, type OptionUnitDialogProps } from "./components/option-unit-dialog.js";
|
|
2
|
+
export { OptionUnitForm, type OptionUnitFormProps } from "./components/option-unit-form.js";
|
|
3
|
+
export { ProductCategoryCombobox } from "./components/product-category-combobox.js";
|
|
4
|
+
export { ProductCategoryDialog, type ProductCategoryDialogProps, } from "./components/product-category-dialog.js";
|
|
5
|
+
export { ProductCategoryForm, type ProductCategoryFormProps, } from "./components/product-category-form.js";
|
|
6
|
+
export { ProductCategoryList, type ProductCategoryListProps, } from "./components/product-category-list.js";
|
|
7
|
+
export { ProductDayDialog, type ProductDayDialogProps } from "./components/product-day-dialog.js";
|
|
8
|
+
export { ProductDayForm, type ProductDayFormProps } from "./components/product-day-form.js";
|
|
9
|
+
export { ProductDayMediaTray, type ProductDayMediaTrayProps, } from "./components/product-day-media-tray.js";
|
|
10
|
+
export { ProductDayServiceForm, type ProductDayServiceFormHelpers, type ProductDayServiceFormProps, type ProductDayServiceSupplierServiceFieldProps, type ProductDayServiceSupplierServiceOption, } from "./components/product-day-service-form.js";
|
|
11
|
+
export { ProductItineraryDayRow, type ProductItineraryDayRowProps, type ProductItineraryDayRowRenderContext, } from "./components/product-itinerary-day-row.js";
|
|
12
|
+
export { ProductItineraryDialog, type ProductItineraryDialogProps, } from "./components/product-itinerary-dialog.js";
|
|
13
|
+
export { ProductMediaDialog, type ProductMediaDialogProps, } from "./components/product-media-dialog.js";
|
|
14
|
+
export { ProductMediaForm, type ProductMediaFormProps } from "./components/product-media-form.js";
|
|
15
|
+
export { ProductMediaSection, type ProductMediaSectionProps, type ProductMediaUploadHandler, type ProductMediaUploadResult, } from "./components/product-media-section.js";
|
|
16
|
+
export { ProductOptionDialog, type ProductOptionDialogProps, } from "./components/product-option-dialog.js";
|
|
17
|
+
export { ProductOptionForm, type ProductOptionFormProps } from "./components/product-option-form.js";
|
|
18
|
+
export { ProductOptionsSection, type ProductOptionsSectionProps, } from "./components/product-options-section.js";
|
|
19
|
+
export { ProductTagDialog, type ProductTagDialogProps } from "./components/product-tag-dialog.js";
|
|
20
|
+
export { ProductTagForm, type ProductTagFormProps } from "./components/product-tag-form.js";
|
|
21
|
+
export { ProductTagList, type ProductTagListProps } from "./components/product-tag-list.js";
|
|
22
|
+
export { ProductTypeCombobox } from "./components/product-type-combobox.js";
|
|
23
|
+
export { ProductVersionDialog, type ProductVersionDialogProps, } from "./components/product-version-dialog.js";
|
|
24
|
+
export { ProductVersionsSection, type ProductVersionsSectionProps, } from "./components/product-versions-section.js";
|
|
25
|
+
export type { ProductsUiMessages } from "./i18n/index.js";
|
|
26
|
+
export { getProductsUiI18n, type ProductsUiMessageOverrides, ProductsUiMessagesProvider, productsUiEn, productsUiMessageDefinitions, productsUiRo, resolveProductsUiMessages, useProductsUiI18n, useProductsUiI18nOrDefault, useProductsUiMessages, useProductsUiMessagesOrDefault, } from "./i18n/index.js";
|
|
27
27
|
//# 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,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,oCAAoC,CAAA;AACjG,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAC3F,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAA;AACnF,OAAO,EACL,qBAAqB,EACrB,KAAK,0BAA0B,GAChC,MAAM,yCAAyC,CAAA;AAChD,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,GAC9B,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,GAC9B,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,oCAAoC,CAAA;AACjG,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAC3F,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,GAC9B,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EACL,qBAAqB,EACrB,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,0CAA0C,EAC/C,KAAK,sCAAsC,GAC5C,MAAM,0CAA0C,CAAA;AACjD,OAAO,EACL,sBAAsB,EACtB,KAAK,2BAA2B,EAChC,KAAK,mCAAmC,GACzC,MAAM,2CAA2C,CAAA;AAClD,OAAO,EACL,sBAAsB,EACtB,KAAK,2BAA2B,GACjC,MAAM,0CAA0C,CAAA;AACjD,OAAO,EACL,kBAAkB,EAClB,KAAK,uBAAuB,GAC7B,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,oCAAoC,CAAA;AACjG,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,GAC9B,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,GAC9B,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;AACpG,OAAO,EACL,qBAAqB,EACrB,KAAK,0BAA0B,GAChC,MAAM,yCAAyC,CAAA;AAChD,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,oCAAoC,CAAA;AACjG,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAC3F,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAC3F,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAA;AAC3E,OAAO,EACL,oBAAoB,EACpB,KAAK,yBAAyB,GAC/B,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EACL,sBAAsB,EACtB,KAAK,2BAA2B,GACjC,MAAM,0CAA0C,CAAA;AACjD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,EACL,iBAAiB,EACjB,KAAK,0BAA0B,EAC/B,0BAA0B,EAC1B,YAAY,EACZ,4BAA4B,EAC5B,YAAY,EACZ,yBAAyB,EACzB,iBAAiB,EACjB,0BAA0B,EAC1B,qBAAqB,EACrB,8BAA8B,GAC/B,MAAM,iBAAiB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
export { OptionUnitDialog } from "./components/option-unit-dialog";
|
|
2
|
-
export { OptionUnitForm } from "./components/option-unit-form";
|
|
3
|
-
export { ProductCategoryCombobox } from "./components/product-category-combobox";
|
|
4
|
-
export { ProductCategoryDialog, } from "./components/product-category-dialog";
|
|
5
|
-
export { ProductCategoryForm, } from "./components/product-category-form";
|
|
6
|
-
export { ProductCategoryList, } from "./components/product-category-list";
|
|
7
|
-
export { ProductDayDialog } from "./components/product-day-dialog";
|
|
8
|
-
export { ProductDayForm } from "./components/product-day-form";
|
|
9
|
-
export { ProductDayMediaTray, } from "./components/product-day-media-tray";
|
|
10
|
-
export { ProductDayServiceForm, } from "./components/product-day-service-form";
|
|
11
|
-
export { ProductItineraryDayRow, } from "./components/product-itinerary-day-row";
|
|
12
|
-
export { ProductItineraryDialog, } from "./components/product-itinerary-dialog";
|
|
13
|
-
export { ProductMediaDialog } from "./components/product-media-dialog";
|
|
14
|
-
export { ProductMediaForm } from "./components/product-media-form";
|
|
15
|
-
export { ProductMediaSection, } from "./components/product-media-section";
|
|
16
|
-
export { ProductOptionDialog, } from "./components/product-option-dialog";
|
|
17
|
-
export { ProductOptionForm } from "./components/product-option-form";
|
|
18
|
-
export { ProductOptionsSection, } from "./components/product-options-section";
|
|
19
|
-
export { ProductTagDialog } from "./components/product-tag-dialog";
|
|
20
|
-
export { ProductTagForm } from "./components/product-tag-form";
|
|
21
|
-
export { ProductTagList } from "./components/product-tag-list";
|
|
22
|
-
export { ProductTypeCombobox } from "./components/product-type-combobox";
|
|
23
|
-
export { ProductVersionDialog, } from "./components/product-version-dialog";
|
|
24
|
-
export { ProductVersionsSection, } from "./components/product-versions-section";
|
|
25
|
-
export { getProductsUiI18n, ProductsUiMessagesProvider, productsUiEn, productsUiMessageDefinitions, productsUiRo, resolveProductsUiMessages, useProductsUiI18n, useProductsUiI18nOrDefault, useProductsUiMessages, useProductsUiMessagesOrDefault, } from "./i18n";
|
|
1
|
+
export { OptionUnitDialog } from "./components/option-unit-dialog.js";
|
|
2
|
+
export { OptionUnitForm } from "./components/option-unit-form.js";
|
|
3
|
+
export { ProductCategoryCombobox } from "./components/product-category-combobox.js";
|
|
4
|
+
export { ProductCategoryDialog, } from "./components/product-category-dialog.js";
|
|
5
|
+
export { ProductCategoryForm, } from "./components/product-category-form.js";
|
|
6
|
+
export { ProductCategoryList, } from "./components/product-category-list.js";
|
|
7
|
+
export { ProductDayDialog } from "./components/product-day-dialog.js";
|
|
8
|
+
export { ProductDayForm } from "./components/product-day-form.js";
|
|
9
|
+
export { ProductDayMediaTray, } from "./components/product-day-media-tray.js";
|
|
10
|
+
export { ProductDayServiceForm, } from "./components/product-day-service-form.js";
|
|
11
|
+
export { ProductItineraryDayRow, } from "./components/product-itinerary-day-row.js";
|
|
12
|
+
export { ProductItineraryDialog, } from "./components/product-itinerary-dialog.js";
|
|
13
|
+
export { ProductMediaDialog, } from "./components/product-media-dialog.js";
|
|
14
|
+
export { ProductMediaForm } from "./components/product-media-form.js";
|
|
15
|
+
export { ProductMediaSection, } from "./components/product-media-section.js";
|
|
16
|
+
export { ProductOptionDialog, } from "./components/product-option-dialog.js";
|
|
17
|
+
export { ProductOptionForm } from "./components/product-option-form.js";
|
|
18
|
+
export { ProductOptionsSection, } from "./components/product-options-section.js";
|
|
19
|
+
export { ProductTagDialog } from "./components/product-tag-dialog.js";
|
|
20
|
+
export { ProductTagForm } from "./components/product-tag-form.js";
|
|
21
|
+
export { ProductTagList } from "./components/product-tag-list.js";
|
|
22
|
+
export { ProductTypeCombobox } from "./components/product-type-combobox.js";
|
|
23
|
+
export { ProductVersionDialog, } from "./components/product-version-dialog.js";
|
|
24
|
+
export { ProductVersionsSection, } from "./components/product-versions-section.js";
|
|
25
|
+
export { getProductsUiI18n, ProductsUiMessagesProvider, productsUiEn, productsUiMessageDefinitions, productsUiRo, resolveProductsUiMessages, useProductsUiI18n, useProductsUiI18nOrDefault, useProductsUiMessages, useProductsUiMessagesOrDefault, } from "./i18n/index.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/products-ui",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -43,17 +43,17 @@
|
|
|
43
43
|
"@tanstack/react-query": "^5.0.0",
|
|
44
44
|
"react": "^19.0.0",
|
|
45
45
|
"react-dom": "^19.0.0",
|
|
46
|
-
"@voyantjs/availability-react": "0.26.
|
|
47
|
-
"@voyantjs/catalog-react": "0.26.
|
|
48
|
-
"@voyantjs/finance": "0.26.
|
|
49
|
-
"@voyantjs/finance-ui": "0.26.
|
|
50
|
-
"@voyantjs/pricing-react": "0.26.
|
|
51
|
-
"@voyantjs/products-react": "0.26.
|
|
52
|
-
"@voyantjs/suppliers-react": "0.26.
|
|
53
|
-
"@voyantjs/ui": "0.26.
|
|
46
|
+
"@voyantjs/availability-react": "0.26.1",
|
|
47
|
+
"@voyantjs/catalog-react": "0.26.1",
|
|
48
|
+
"@voyantjs/finance": "0.26.1",
|
|
49
|
+
"@voyantjs/finance-ui": "0.26.1",
|
|
50
|
+
"@voyantjs/pricing-react": "0.26.1",
|
|
51
|
+
"@voyantjs/products-react": "0.26.1",
|
|
52
|
+
"@voyantjs/suppliers-react": "0.26.1",
|
|
53
|
+
"@voyantjs/ui": "0.26.1"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@voyantjs/i18n": "0.26.
|
|
56
|
+
"@voyantjs/i18n": "0.26.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@tanstack/react-query": "^5.96.2",
|
|
@@ -64,16 +64,16 @@
|
|
|
64
64
|
"react-dom": "^19.2.4",
|
|
65
65
|
"typescript": "^6.0.2",
|
|
66
66
|
"vitest": "^4.1.2",
|
|
67
|
-
"@voyantjs/availability-react": "0.26.
|
|
68
|
-
"@voyantjs/catalog-react": "0.26.
|
|
69
|
-
"@voyantjs/finance": "0.26.
|
|
70
|
-
"@voyantjs/finance-ui": "0.26.
|
|
71
|
-
"@voyantjs/i18n": "0.26.
|
|
72
|
-
"@voyantjs/pricing-react": "0.26.
|
|
73
|
-
"@voyantjs/products-react": "0.26.
|
|
74
|
-
"@voyantjs/suppliers-react": "0.26.
|
|
67
|
+
"@voyantjs/availability-react": "0.26.1",
|
|
68
|
+
"@voyantjs/catalog-react": "0.26.1",
|
|
69
|
+
"@voyantjs/finance": "0.26.1",
|
|
70
|
+
"@voyantjs/finance-ui": "0.26.1",
|
|
71
|
+
"@voyantjs/i18n": "0.26.1",
|
|
72
|
+
"@voyantjs/pricing-react": "0.26.1",
|
|
73
|
+
"@voyantjs/products-react": "0.26.1",
|
|
74
|
+
"@voyantjs/suppliers-react": "0.26.1",
|
|
75
75
|
"@voyantjs/voyant-typescript-config": "0.1.0",
|
|
76
|
-
"@voyantjs/ui": "0.26.
|
|
76
|
+
"@voyantjs/ui": "0.26.1"
|
|
77
77
|
},
|
|
78
78
|
"files": [
|
|
79
79
|
"dist",
|