@voyantjs/bookings-ui 0.13.0 → 0.15.0
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/LICENSE +109 -0
- package/README.md +2 -2
- package/dist/components/booking-activity-timeline.d.ts.map +1 -1
- package/dist/components/booking-activity-timeline.js +1 -1
- package/dist/components/booking-cancellation-dialog.js +1 -1
- package/dist/components/booking-create-dialog.js +1 -1
- package/dist/components/booking-dialog.js +4 -4
- package/dist/components/booking-document-dialog.js +3 -3
- package/dist/components/booking-document-list.d.ts.map +1 -1
- package/dist/components/booking-document-list.js +1 -1
- package/dist/components/booking-group-link-dialog.js +1 -1
- package/dist/components/booking-group-section.d.ts.map +1 -1
- package/dist/components/booking-group-section.js +1 -1
- package/dist/components/booking-guarantee-dialog.js +4 -4
- package/dist/components/booking-guarantee-list.d.ts.map +1 -1
- package/dist/components/booking-guarantee-list.js +1 -1
- package/dist/components/booking-item-dialog.js +4 -4
- package/dist/components/booking-item-list.d.ts.map +1 -1
- package/dist/components/booking-item-list.js +1 -1
- package/dist/components/booking-item-travelers.js +1 -1
- package/dist/components/booking-list.js +4 -4
- package/dist/components/booking-notes.d.ts.map +1 -1
- package/dist/components/booking-notes.js +1 -1
- package/dist/components/booking-payment-schedule-dialog.js +4 -4
- package/dist/components/booking-payment-schedule-list.d.ts.map +1 -1
- package/dist/components/booking-payment-schedule-list.js +1 -1
- package/dist/components/booking-payments-summary.js +1 -1
- package/dist/components/passengers-section.js +1 -1
- package/dist/components/payment-schedule-section.js +1 -1
- package/dist/components/person-picker-section.js +1 -1
- package/dist/components/price-breakdown-section.js +1 -1
- package/dist/components/product-picker-section.js +1 -1
- package/dist/components/rooms-stepper-section.js +1 -1
- package/dist/components/shared-room-section.js +1 -1
- package/dist/components/status-change-dialog.js +2 -2
- package/dist/components/supplier-status-dialog.js +3 -3
- package/dist/components/supplier-status-list.d.ts.map +1 -1
- package/dist/components/supplier-status-list.js +1 -1
- package/dist/components/traveler-dialog.js +2 -2
- package/dist/components/traveler-list.js +1 -1
- package/dist/components/voucher-picker-section.js +1 -1
- package/package.json +38 -43
package/LICENSE
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# Functional Source License, Version 1.1, Apache 2.0 Future License
|
|
2
|
+
|
|
3
|
+
## Abbreviation
|
|
4
|
+
|
|
5
|
+
FSL-1.1-Apache-2.0
|
|
6
|
+
|
|
7
|
+
## Notice
|
|
8
|
+
|
|
9
|
+
Copyright 2026 PixelMakers Studio SRL
|
|
10
|
+
|
|
11
|
+
## Terms and Conditions
|
|
12
|
+
|
|
13
|
+
### Licensor ("We")
|
|
14
|
+
|
|
15
|
+
The party offering the Software under these Terms and Conditions.
|
|
16
|
+
|
|
17
|
+
### The Software
|
|
18
|
+
|
|
19
|
+
The "Software" is each version of the software that we make available under
|
|
20
|
+
these Terms and Conditions, as indicated by our inclusion of these Terms and
|
|
21
|
+
Conditions with the Software.
|
|
22
|
+
|
|
23
|
+
### License Grant
|
|
24
|
+
|
|
25
|
+
Subject to your compliance with this License Grant and the Patents,
|
|
26
|
+
Redistribution and Trademark clauses below, we hereby grant you the right to
|
|
27
|
+
use, copy, modify, create derivative works, publicly perform, publicly
|
|
28
|
+
display and redistribute the Software for any Permitted Purpose identified
|
|
29
|
+
below.
|
|
30
|
+
|
|
31
|
+
### Permitted Purpose
|
|
32
|
+
|
|
33
|
+
A Permitted Purpose is any purpose other than a Competing Use. A Competing
|
|
34
|
+
Use means making the Software available to others in a commercial product or
|
|
35
|
+
service that:
|
|
36
|
+
|
|
37
|
+
1. substitutes for the Software;
|
|
38
|
+
|
|
39
|
+
2. substitutes for any other product or service we offer using the Software
|
|
40
|
+
that exists as of the date we make the Software available; or
|
|
41
|
+
|
|
42
|
+
3. offers the same or substantially similar functionality as the Software.
|
|
43
|
+
|
|
44
|
+
Permitted Purposes specifically include using the Software:
|
|
45
|
+
|
|
46
|
+
1. for your internal use and access;
|
|
47
|
+
|
|
48
|
+
2. for non-commercial education;
|
|
49
|
+
|
|
50
|
+
3. for non-commercial research; and
|
|
51
|
+
|
|
52
|
+
4. in connection with professional services that you provide to a licensee
|
|
53
|
+
using the Software in accordance with these Terms and Conditions.
|
|
54
|
+
|
|
55
|
+
### Patents
|
|
56
|
+
|
|
57
|
+
To the extent your use for a Permitted Purpose would necessarily infringe
|
|
58
|
+
our patents, the license grant above includes a license under our patents.
|
|
59
|
+
If you make a claim against any party that the Software infringes or
|
|
60
|
+
contributes to the infringement of any patent, then your patent license to
|
|
61
|
+
the Software ends immediately.
|
|
62
|
+
|
|
63
|
+
### Redistribution
|
|
64
|
+
|
|
65
|
+
The Terms and Conditions apply to all copies, modifications and derivatives
|
|
66
|
+
of the Software.
|
|
67
|
+
|
|
68
|
+
If you redistribute any copies, modifications or derivatives of the
|
|
69
|
+
Software, you must include a copy of or a link to these Terms and Conditions
|
|
70
|
+
and not remove any copyright notices provided in or with the Software.
|
|
71
|
+
|
|
72
|
+
### Disclaimer
|
|
73
|
+
|
|
74
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS
|
|
75
|
+
OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A
|
|
76
|
+
PARTICULAR PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.
|
|
77
|
+
|
|
78
|
+
IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO
|
|
79
|
+
THE SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
|
|
80
|
+
DAMAGES, EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE.
|
|
81
|
+
|
|
82
|
+
### Trademarks
|
|
83
|
+
|
|
84
|
+
Except for displaying the License Details and identifying us as the origin
|
|
85
|
+
of the Software, you have no right under these Terms and Conditions to use
|
|
86
|
+
our trademarks, trade names, service marks or product names.
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## Grant of Future License
|
|
91
|
+
|
|
92
|
+
We hereby irrevocably grant you an additional license to use the Software
|
|
93
|
+
under the Apache License, Version 2.0 that is effective on the second
|
|
94
|
+
anniversary of the date we make the Software available. On or after that
|
|
95
|
+
date, you may use the Software under the Apache License, Version 2.0, in
|
|
96
|
+
which case the following will apply:
|
|
97
|
+
|
|
98
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
99
|
+
use this file except in compliance with the License.
|
|
100
|
+
|
|
101
|
+
You may obtain a copy of the License at
|
|
102
|
+
|
|
103
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
104
|
+
|
|
105
|
+
Unless required by applicable law or agreed to in writing, software
|
|
106
|
+
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
107
|
+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
108
|
+
License for the specific language governing permissions and limitations
|
|
109
|
+
under the License.
|
package/README.md
CHANGED
|
@@ -5,9 +5,9 @@ Importable React UI components for Voyant bookings. Bundler-consumed (Vite, Next
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
pnpm add @voyantjs/bookings-ui @voyantjs/bookings-react @voyantjs/
|
|
8
|
+
pnpm add @voyantjs/bookings-ui @voyantjs/bookings-react @voyantjs/ui @tanstack/react-query react react-dom
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
`@voyantjs/
|
|
11
|
+
`@voyantjs/ui` provides the design-system primitives. `@voyantjs/bookings-react` provides the data-layer hooks. Both are required peers.
|
|
12
12
|
|
|
13
13
|
All components accept a `className` prop and merge it with `cn()`. Wrap or compose to extend; use the registry copy-paste path (`npx shadcn add @voyant/...`) for components you want to fork outright.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"booking-activity-timeline.d.ts","sourceRoot":"","sources":["../../src/components/booking-activity-timeline.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"booking-activity-timeline.d.ts","sourceRoot":"","sources":["../../src/components/booking-activity-timeline.tsx"],"names":[],"mappings":"AAmBA,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,MAAM,CAAA;CAClB;AA+CD,wBAAgB,uBAAuB,CAAC,EAAE,SAAS,EAAE,EAAE,4BAA4B,2CAqFlF"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useBookingActivity, useBookingTravelerDocuments } from "@voyantjs/bookings-react";
|
|
4
4
|
import { usePublicBookingPayments } from "@voyantjs/finance-react";
|
|
5
|
-
import { Badge, Button, Card, CardContent, CardHeader, CardTitle
|
|
5
|
+
import { Badge, Button, Card, CardContent, CardHeader, CardTitle } from "@voyantjs/ui/components";
|
|
6
6
|
import { Activity, Clock, CreditCard, ExternalLink, FileText, Pencil, Plus, RefreshCw, UserPlus, } from "lucide-react";
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
const activityIcons = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useBookingCancelMutation, useBookingPrimaryProduct, } from "@voyantjs/bookings-react";
|
|
4
4
|
import { useEvaluateCancellation, useResolvePolicy } from "@voyantjs/legal-react";
|
|
5
|
-
import { Badge, Button, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Label, Textarea, } from "@voyantjs/
|
|
5
|
+
import { Badge, Button, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Label, Textarea, } from "@voyantjs/ui/components";
|
|
6
6
|
import { AlertTriangle, Loader2 } from "lucide-react";
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
function formatAmount(cents, currency) {
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { useSlots, useSlotUnitAvailability } from "@voyantjs/availability-react";
|
|
4
4
|
import { useBookingQuickCreateMutation, useBookingStatusByIdMutation, } from "@voyantjs/bookings-react";
|
|
5
5
|
import { usePersonMutation } from "@voyantjs/crm-react";
|
|
6
|
-
import { Button, Checkbox, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea, } from "@voyantjs/
|
|
6
|
+
import { Button, Checkbox, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea, } from "@voyantjs/ui/components";
|
|
7
7
|
import { Loader2 } from "lucide-react";
|
|
8
8
|
import * as React from "react";
|
|
9
9
|
import { emptyPassengerListValue, PassengersSection, } from "./passengers-section";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useBookingMutation } from "@voyantjs/bookings-react";
|
|
4
|
-
import { Button, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Input, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea, } from "@voyantjs/
|
|
5
|
-
import { CurrencyCombobox } from "@voyantjs/
|
|
6
|
-
import { DateRangePicker } from "@voyantjs/
|
|
7
|
-
import { zodResolver } from "@voyantjs/
|
|
4
|
+
import { Button, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Input, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea, } from "@voyantjs/ui/components";
|
|
5
|
+
import { CurrencyCombobox } from "@voyantjs/ui/components/currency-combobox";
|
|
6
|
+
import { DateRangePicker } from "@voyantjs/ui/components/date-picker";
|
|
7
|
+
import { zodResolver } from "@voyantjs/ui/lib/zod-resolver";
|
|
8
8
|
import { Loader2 } from "lucide-react";
|
|
9
9
|
import { useEffect } from "react";
|
|
10
10
|
import { useForm } from "react-hook-form";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useBookingTravelerDocumentMutation, useTravelers } from "@voyantjs/bookings-react";
|
|
4
|
-
import { Button, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea, } from "@voyantjs/
|
|
5
|
-
import { DatePicker } from "@voyantjs/
|
|
6
|
-
import { zodResolver } from "@voyantjs/
|
|
4
|
+
import { Button, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea, } from "@voyantjs/ui/components";
|
|
5
|
+
import { DatePicker } from "@voyantjs/ui/components/date-picker";
|
|
6
|
+
import { zodResolver } from "@voyantjs/ui/lib/zod-resolver";
|
|
7
7
|
import { Loader2 } from "lucide-react";
|
|
8
8
|
import { useEffect } from "react";
|
|
9
9
|
import { useForm } from "react-hook-form";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"booking-document-list.d.ts","sourceRoot":"","sources":["../../src/components/booking-document-list.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"booking-document-list.d.ts","sourceRoot":"","sources":["../../src/components/booking-document-list.tsx"],"names":[],"mappings":"AAsBA,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,wBAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,EAAE,wBAAwB,2CAqG1E"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useBookingTravelerDocumentMutation, useBookingTravelerDocuments, useTravelers, } from "@voyantjs/bookings-react";
|
|
4
|
-
import { Badge, Button, Card, CardContent, CardHeader, CardTitle
|
|
4
|
+
import { Badge, Button, Card, CardContent, CardHeader, CardTitle } from "@voyantjs/ui/components";
|
|
5
5
|
import { ExternalLink, FileText, Plus, Trash2 } from "lucide-react";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { BookingDocumentDialog } from "./booking-document-dialog";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useBookingGroupMemberMutation, useBookingGroupMutation, useBookingGroups, } from "@voyantjs/bookings-react";
|
|
4
|
-
import { Button, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Input, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@voyantjs/
|
|
4
|
+
import { Button, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Input, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@voyantjs/ui/components";
|
|
5
5
|
import { Loader2 } from "lucide-react";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
const JOIN_PLACEHOLDER = "__none__";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"booking-group-section.d.ts","sourceRoot":"","sources":["../../src/components/booking-group-section.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"booking-group-section.d.ts","sourceRoot":"","sources":["../../src/components/booking-group-section.tsx"],"names":[],"mappings":"AAcA,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC7B;AAED,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,SAAS,EACT,YAAY,GACb,EAAE,wBAAwB,2CAsH1B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useBookingGroup, useBookingGroupForBooking, useBookingGroupMemberMutation, useBookingPrimaryProduct, } from "@voyantjs/bookings-react";
|
|
4
|
-
import { Badge, Button, Card, CardContent, CardHeader, CardTitle
|
|
4
|
+
import { Badge, Button, Card, CardContent, CardHeader, CardTitle } from "@voyantjs/ui/components";
|
|
5
5
|
import { Link2, Unlink, Users } from "lucide-react";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { BookingGroupLinkDialog } from "./booking-group-link-dialog";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useBookingGuaranteeMutation } from "@voyantjs/finance-react";
|
|
4
|
-
import { Button, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Input, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea, } from "@voyantjs/
|
|
5
|
-
import { CurrencyCombobox } from "@voyantjs/
|
|
6
|
-
import { DateTimePicker } from "@voyantjs/
|
|
7
|
-
import { zodResolver } from "@voyantjs/
|
|
4
|
+
import { Button, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Input, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea, } from "@voyantjs/ui/components";
|
|
5
|
+
import { CurrencyCombobox } from "@voyantjs/ui/components/currency-combobox";
|
|
6
|
+
import { DateTimePicker } from "@voyantjs/ui/components/date-time-picker";
|
|
7
|
+
import { zodResolver } from "@voyantjs/ui/lib/zod-resolver";
|
|
8
8
|
import { Loader2 } from "lucide-react";
|
|
9
9
|
import { useEffect } from "react";
|
|
10
10
|
import { useForm } from "react-hook-form";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"booking-guarantee-list.d.ts","sourceRoot":"","sources":["../../src/components/booking-guarantee-list.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"booking-guarantee-list.d.ts","sourceRoot":"","sources":["../../src/components/booking-guarantee-list.tsx"],"names":[],"mappings":"AA2BA,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,wBAAgB,oBAAoB,CAAC,EAAE,SAAS,EAAE,EAAE,yBAAyB,2CAkH5E"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useBookingGuaranteeMutation, useBookingGuarantees, } from "@voyantjs/finance-react";
|
|
4
|
-
import { Badge, Button, Card, CardContent, CardHeader, CardTitle
|
|
4
|
+
import { Badge, Button, Card, CardContent, CardHeader, CardTitle } from "@voyantjs/ui/components";
|
|
5
5
|
import { Pencil, Plus, ShieldCheck, Trash2 } from "lucide-react";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { BookingGuaranteeDialog } from "./booking-guarantee-dialog";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useBookingItemMutation } from "@voyantjs/bookings-react";
|
|
4
|
-
import { Button, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Input, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea, } from "@voyantjs/
|
|
5
|
-
import { CurrencyCombobox } from "@voyantjs/
|
|
6
|
-
import { DatePicker } from "@voyantjs/
|
|
7
|
-
import { zodResolver } from "@voyantjs/
|
|
4
|
+
import { Button, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Input, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea, } from "@voyantjs/ui/components";
|
|
5
|
+
import { CurrencyCombobox } from "@voyantjs/ui/components/currency-combobox";
|
|
6
|
+
import { DatePicker } from "@voyantjs/ui/components/date-picker";
|
|
7
|
+
import { zodResolver } from "@voyantjs/ui/lib/zod-resolver";
|
|
8
8
|
import { Loader2 } from "lucide-react";
|
|
9
9
|
import { useEffect } from "react";
|
|
10
10
|
import { useForm } from "react-hook-form";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"booking-item-list.d.ts","sourceRoot":"","sources":["../../src/components/booking-item-list.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"booking-item-list.d.ts","sourceRoot":"","sources":["../../src/components/booking-item-list.tsx"],"names":[],"mappings":"AA4BA,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,EAAE,oBAAoB,2CAyIlE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useBookingItemMutation, useBookingItems, } from "@voyantjs/bookings-react";
|
|
4
|
-
import { Badge, Button, Card, CardContent, CardHeader, CardTitle
|
|
4
|
+
import { Badge, Button, Card, CardContent, CardHeader, CardTitle } from "@voyantjs/ui/components";
|
|
5
5
|
import { ChevronDown, ChevronRight, Package, Pencil, Plus, Trash2 } from "lucide-react";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { BookingItemDialog } from "./booking-item-dialog";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useBookingItemTravelerMutation, useBookingItemTravelers, useTravelers, } from "@voyantjs/bookings-react";
|
|
4
|
-
import { Badge, Button, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@voyantjs/
|
|
4
|
+
import { Badge, Button, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@voyantjs/ui/components";
|
|
5
5
|
import { Plus, Trash2, UserCheck } from "lucide-react";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
const roles = [
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { bookingStatusBadgeVariant, formatBookingStatus, useBookings, } from "@voyantjs/bookings-react";
|
|
4
|
-
import { Badge } from "@voyantjs/
|
|
5
|
-
import { Button } from "@voyantjs/
|
|
6
|
-
import { Input } from "@voyantjs/
|
|
7
|
-
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from "@voyantjs/
|
|
4
|
+
import { Badge } from "@voyantjs/ui/components/badge";
|
|
5
|
+
import { Button } from "@voyantjs/ui/components/button";
|
|
6
|
+
import { Input } from "@voyantjs/ui/components/input";
|
|
7
|
+
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from "@voyantjs/ui/components/table";
|
|
8
8
|
import { Loader2, Plus, Search } from "lucide-react";
|
|
9
9
|
import * as React from "react";
|
|
10
10
|
import { BookingDialog } from "./booking-dialog";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"booking-notes.d.ts","sourceRoot":"","sources":["../../src/components/booking-notes.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"booking-notes.d.ts","sourceRoot":"","sources":["../../src/components/booking-notes.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,EAAE,iBAAiB,2CA+C5D"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useBookingNoteMutation, useBookingNotes } from "@voyantjs/bookings-react";
|
|
4
|
-
import { Button, Card, CardContent, CardHeader, CardTitle, Textarea
|
|
4
|
+
import { Button, Card, CardContent, CardHeader, CardTitle, Textarea } from "@voyantjs/ui/components";
|
|
5
5
|
import { Loader2 } from "lucide-react";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
export function BookingNotes({ bookingId }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useBookingPaymentScheduleMutation, } from "@voyantjs/finance-react";
|
|
4
|
-
import { Button, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Input, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea, } from "@voyantjs/
|
|
5
|
-
import { CurrencyCombobox } from "@voyantjs/
|
|
6
|
-
import { DatePicker } from "@voyantjs/
|
|
7
|
-
import { zodResolver } from "@voyantjs/
|
|
4
|
+
import { Button, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Input, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea, } from "@voyantjs/ui/components";
|
|
5
|
+
import { CurrencyCombobox } from "@voyantjs/ui/components/currency-combobox";
|
|
6
|
+
import { DatePicker } from "@voyantjs/ui/components/date-picker";
|
|
7
|
+
import { zodResolver } from "@voyantjs/ui/lib/zod-resolver";
|
|
8
8
|
import { Loader2 } from "lucide-react";
|
|
9
9
|
import { useEffect } from "react";
|
|
10
10
|
import { useForm } from "react-hook-form";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"booking-payment-schedule-list.d.ts","sourceRoot":"","sources":["../../src/components/booking-payment-schedule-list.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"booking-payment-schedule-list.d.ts","sourceRoot":"","sources":["../../src/components/booking-payment-schedule-list.tsx"],"names":[],"mappings":"AA0BA,MAAM,WAAW,+BAA+B;IAC9C,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,wBAAgB,0BAA0B,CAAC,EAAE,SAAS,EAAE,EAAE,+BAA+B,2CAgHxF"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useBookingPaymentScheduleMutation, useBookingPaymentSchedules, } from "@voyantjs/finance-react";
|
|
4
|
-
import { Badge, Button, Card, CardContent, CardHeader, CardTitle
|
|
4
|
+
import { Badge, Button, Card, CardContent, CardHeader, CardTitle } from "@voyantjs/ui/components";
|
|
5
5
|
import { CalendarClock, Pencil, Plus, Trash2 } from "lucide-react";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { BookingPaymentScheduleDialog } from "./booking-payment-schedule-dialog";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { usePublicBookingPayments } from "@voyantjs/finance-react";
|
|
4
|
-
import { Badge, Card, CardContent, CardHeader, CardTitle } from "@voyantjs/
|
|
4
|
+
import { Badge, Card, CardContent, CardHeader, CardTitle } from "@voyantjs/ui/components";
|
|
5
5
|
import { CreditCard } from "lucide-react";
|
|
6
6
|
const statusVariant = {
|
|
7
7
|
pending: "outline",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Button, Input, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@voyantjs/
|
|
3
|
+
import { Button, Input, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@voyantjs/ui/components";
|
|
4
4
|
import { Trash2 } from "lucide-react";
|
|
5
5
|
const ALL_ROLES = ["lead", "adult", "child", "infant"];
|
|
6
6
|
export const emptyPassengerListValue = { passengers: [] };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Button, Input, Label } from "@voyantjs/
|
|
3
|
+
import { Button, Input, Label } from "@voyantjs/ui/components";
|
|
4
4
|
export const emptyPaymentScheduleValue = {
|
|
5
5
|
mode: "unpaid",
|
|
6
6
|
fullDueDate: null,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { useOrganizations, usePeople } from "@voyantjs/crm-react";
|
|
4
|
-
import { Button, Input, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@voyantjs/
|
|
4
|
+
import { Button, Input, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@voyantjs/ui/components";
|
|
5
5
|
import { UserPlus } from "lucide-react";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
const ORG_NONE = "__none__";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { usePricingPreview } from "@voyantjs/bookings-react";
|
|
4
|
-
import { Label } from "@voyantjs/
|
|
4
|
+
import { Label } from "@voyantjs/ui/components";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
const DEFAULT_LABELS = {
|
|
7
7
|
heading: "Price breakdown",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { useProductOptions, useProducts } from "@voyantjs/products-react";
|
|
4
|
-
import { Input, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@voyantjs/
|
|
4
|
+
import { Input, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@voyantjs/ui/components";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
const OPTION_NONE = "__none__";
|
|
7
7
|
const DEFAULT_LABELS = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useSlotUnitAvailability } from "@voyantjs/availability-react";
|
|
4
|
-
import { Button, Label } from "@voyantjs/
|
|
4
|
+
import { Button, Label } from "@voyantjs/ui/components";
|
|
5
5
|
import { Minus, Plus } from "lucide-react";
|
|
6
6
|
export const emptyRoomsStepperValue = { quantities: {} };
|
|
7
7
|
const DEFAULT_LABELS = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useBookingGroups } from "@voyantjs/bookings-react";
|
|
4
|
-
import { Button, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@voyantjs/
|
|
4
|
+
import { Button, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@voyantjs/ui/components";
|
|
5
5
|
const GROUP_NONE = "__none__";
|
|
6
6
|
export const emptySharedRoomValue = {
|
|
7
7
|
enabled: 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 { bookingStatusOptions, bookingStatusSchema, useBookingStatusMutation, } from "@voyantjs/bookings-react";
|
|
4
|
-
import { Button, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea, } from "@voyantjs/
|
|
5
|
-
import { zodResolver } from "@voyantjs/
|
|
4
|
+
import { Button, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea, } from "@voyantjs/ui/components";
|
|
5
|
+
import { zodResolver } from "@voyantjs/ui/lib/zod-resolver";
|
|
6
6
|
import { Loader2 } from "lucide-react";
|
|
7
7
|
import { useEffect } from "react";
|
|
8
8
|
import { useForm } from "react-hook-form";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useSupplierStatusMutation, } from "@voyantjs/bookings-react";
|
|
4
|
-
import { Button, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Input, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea, } from "@voyantjs/
|
|
5
|
-
import { CurrencyCombobox } from "@voyantjs/
|
|
6
|
-
import { zodResolver } from "@voyantjs/
|
|
4
|
+
import { Button, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Input, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea, } from "@voyantjs/ui/components";
|
|
5
|
+
import { CurrencyCombobox } from "@voyantjs/ui/components/currency-combobox";
|
|
6
|
+
import { zodResolver } from "@voyantjs/ui/lib/zod-resolver";
|
|
7
7
|
import { Loader2 } from "lucide-react";
|
|
8
8
|
import { useEffect } from "react";
|
|
9
9
|
import { useForm } from "react-hook-form";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"supplier-status-list.d.ts","sourceRoot":"","sources":["../../src/components/supplier-status-list.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"supplier-status-list.d.ts","sourceRoot":"","sources":["../../src/components/supplier-status-list.tsx"],"names":[],"mappings":"AASA,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,CAAA;CAClB;AASD,wBAAgB,kBAAkB,CAAC,EAAE,SAAS,EAAE,EAAE,uBAAuB,2CA+FxE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useSupplierStatuses } from "@voyantjs/bookings-react";
|
|
4
|
-
import { Badge, Button, Card, CardContent, CardHeader, CardTitle
|
|
4
|
+
import { Badge, Button, Card, CardContent, CardHeader, CardTitle } from "@voyantjs/ui/components";
|
|
5
5
|
import { Pencil, Plus } from "lucide-react";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { SupplierStatusDialog } from "./supplier-status-dialog";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useTravelerMutation } from "@voyantjs/bookings-react";
|
|
4
|
-
import { Button, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Input, Label, Textarea, } from "@voyantjs/
|
|
5
|
-
import { zodResolver } from "@voyantjs/
|
|
4
|
+
import { Button, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Input, Label, Textarea, } from "@voyantjs/ui/components";
|
|
5
|
+
import { zodResolver } from "@voyantjs/ui/lib/zod-resolver";
|
|
6
6
|
import { Loader2 } from "lucide-react";
|
|
7
7
|
import { useEffect } from "react";
|
|
8
8
|
import { useForm } from "react-hook-form";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useTravelerMutation, useTravelers, } from "@voyantjs/bookings-react";
|
|
4
|
-
import { Button, Card, CardContent, CardHeader, CardTitle } from "@voyantjs/
|
|
4
|
+
import { Button, Card, CardContent, CardHeader, CardTitle } from "@voyantjs/ui/components";
|
|
5
5
|
import { Pencil, Plus, Trash2, Users } from "lucide-react";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { TravelerDialog } from "./traveler-dialog";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { usePublicVoucherValidationMutation } from "@voyantjs/finance-react";
|
|
4
|
-
import { Button, Input, Label } from "@voyantjs/
|
|
4
|
+
import { Button, Input, Label } from "@voyantjs/ui/components";
|
|
5
5
|
import { CheckCircle2, Loader2, XCircle } from "lucide-react";
|
|
6
6
|
export const emptyVoucherPickerValue = {
|
|
7
7
|
code: "",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/bookings-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"license": "FSL-1.1-Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -10,67 +10,62 @@
|
|
|
10
10
|
"type": "module",
|
|
11
11
|
"sideEffects": false,
|
|
12
12
|
"exports": {
|
|
13
|
-
".":
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"lint": "biome check src/",
|
|
22
|
-
"test": "vitest run --passWithNoTests"
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/index.js"
|
|
16
|
+
},
|
|
17
|
+
"./components/*": {
|
|
18
|
+
"types": "./dist/components/*.d.ts",
|
|
19
|
+
"import": "./dist/components/*.js"
|
|
20
|
+
}
|
|
23
21
|
},
|
|
24
22
|
"peerDependencies": {
|
|
25
23
|
"@tanstack/react-query": "^5.0.0",
|
|
26
|
-
"@voyantjs/availability-react": "workspace:*",
|
|
27
|
-
"@voyantjs/bookings-react": "workspace:*",
|
|
28
|
-
"@voyantjs/crm-react": "workspace:*",
|
|
29
|
-
"@voyantjs/finance-react": "workspace:*",
|
|
30
|
-
"@voyantjs/legal-react": "workspace:*",
|
|
31
|
-
"@voyantjs/products-react": "workspace:*",
|
|
32
|
-
"@voyantjs/voyant-ui": "workspace:*",
|
|
33
24
|
"react": "^19.0.0",
|
|
34
25
|
"react-dom": "^19.0.0",
|
|
35
26
|
"react-hook-form": "^7.60.0",
|
|
36
|
-
"zod": "^3.25.76"
|
|
27
|
+
"zod": "^3.25.76",
|
|
28
|
+
"@voyantjs/availability-react": "0.15.0",
|
|
29
|
+
"@voyantjs/bookings-react": "0.15.0",
|
|
30
|
+
"@voyantjs/crm-react": "0.15.0",
|
|
31
|
+
"@voyantjs/finance-react": "0.15.0",
|
|
32
|
+
"@voyantjs/legal-react": "0.15.0",
|
|
33
|
+
"@voyantjs/products-react": "0.15.0",
|
|
34
|
+
"@voyantjs/ui": "0.15.0"
|
|
37
35
|
},
|
|
38
36
|
"devDependencies": {
|
|
39
37
|
"@tanstack/react-query": "^5.96.2",
|
|
40
38
|
"@types/react": "^19.2.14",
|
|
41
39
|
"@types/react-dom": "^19.2.3",
|
|
42
|
-
"@voyantjs/availability-react": "workspace:*",
|
|
43
|
-
"@voyantjs/bookings-react": "workspace:*",
|
|
44
|
-
"@voyantjs/crm-react": "workspace:*",
|
|
45
|
-
"@voyantjs/finance-react": "workspace:*",
|
|
46
|
-
"@voyantjs/legal-react": "workspace:*",
|
|
47
|
-
"@voyantjs/products-react": "workspace:*",
|
|
48
|
-
"@voyantjs/voyant-typescript-config": "workspace:*",
|
|
49
|
-
"@voyantjs/voyant-ui": "workspace:*",
|
|
50
40
|
"lucide-react": "^0.475.0",
|
|
51
41
|
"react": "^19.2.4",
|
|
52
42
|
"react-dom": "^19.2.4",
|
|
53
43
|
"react-hook-form": "^7.60.0",
|
|
54
44
|
"typescript": "^6.0.2",
|
|
55
45
|
"vitest": "^4.1.2",
|
|
56
|
-
"zod": "^3.25.76"
|
|
46
|
+
"zod": "^3.25.76",
|
|
47
|
+
"@voyantjs/availability-react": "0.15.0",
|
|
48
|
+
"@voyantjs/bookings-react": "0.15.0",
|
|
49
|
+
"@voyantjs/crm-react": "0.15.0",
|
|
50
|
+
"@voyantjs/finance-react": "0.15.0",
|
|
51
|
+
"@voyantjs/legal-react": "0.15.0",
|
|
52
|
+
"@voyantjs/products-react": "0.15.0",
|
|
53
|
+
"@voyantjs/voyant-typescript-config": "0.1.0",
|
|
54
|
+
"@voyantjs/ui": "0.15.0"
|
|
57
55
|
},
|
|
58
56
|
"files": [
|
|
59
57
|
"dist"
|
|
60
58
|
],
|
|
61
59
|
"publishConfig": {
|
|
62
|
-
"access": "public"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"types": "./dist/index.d.ts"
|
|
75
|
-
}
|
|
76
|
-
}
|
|
60
|
+
"access": "public"
|
|
61
|
+
},
|
|
62
|
+
"scripts": {
|
|
63
|
+
"build": "tsc -p tsconfig.build.json",
|
|
64
|
+
"clean": "rm -rf dist",
|
|
65
|
+
"typecheck": "tsc --noEmit",
|
|
66
|
+
"lint": "biome check src/",
|
|
67
|
+
"test": "vitest run --passWithNoTests"
|
|
68
|
+
},
|
|
69
|
+
"main": "./dist/index.js",
|
|
70
|
+
"types": "./dist/index.d.ts"
|
|
71
|
+
}
|