@aaravpos/appointment-booking-plugin 8.0.3 → 8.0.5
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/{src/components → components}/AppointmentBookingPlugin.d.ts +1 -1
- package/dist/{src/components → components}/BookingPluginContainer.d.ts +1 -1
- package/dist/components/common/Breadcrumb.d.ts +1 -0
- package/dist/{src/components → components}/common/ChooseYourOutlet.d.ts +2 -2
- package/dist/{src/components → components}/common/MainLayout.d.ts +2 -2
- package/dist/components/modals/ConsentModal.d.ts +3 -0
- package/dist/{src/components → components}/modals/PaymentModal.d.ts +1 -1
- package/dist/{src/components → components}/sidebar/ProfessionalSidebar.d.ts +2 -2
- package/dist/{src/components → components}/sidebar/ServiceSidebar.d.ts +2 -2
- package/dist/components/steps/ProfessionalServicePage.d.ts +1 -0
- package/dist/components/steps/Professionals.d.ts +1 -0
- package/dist/components/steps/ServiceProfessionalPage.d.ts +1 -0
- package/dist/components/steps/ServicesPage.d.ts +1 -0
- package/dist/index.cjs +32 -29
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3465 -3399
- package/dist/styles.css +53 -19
- package/package.json +1 -1
- package/dist/src/components/common/Breadcrumb.d.ts +0 -1
- package/dist/src/components/modals/ConsentModal.d.ts +0 -3
- package/dist/src/components/steps/ProfessionalServicePage.d.ts +0 -1
- package/dist/src/components/steps/Professionals.d.ts +0 -1
- package/dist/src/components/steps/ServiceProfessionalPage.d.ts +0 -1
- package/dist/src/components/steps/ServicesPage.d.ts +0 -1
- package/dist/src/index.d.ts +0 -2
- /package/dist/{src/components → components}/common/CalendarOverlay.d.ts +0 -0
- /package/dist/{src/components → components}/common/ProfessionalSkeletonCard.d.ts +0 -0
- /package/dist/{src/components → components}/common/ServiceSidebarSkeleton.d.ts +0 -0
- /package/dist/{src/components → components}/common/ServiceSkeleton.d.ts +0 -0
- /package/dist/{src/components → components}/common/SlotSkeleton.d.ts +0 -0
- /package/dist/{src/components → components}/common/Spinner.d.ts +0 -0
- /package/dist/{src/components → components}/sidebar/OrderSidebar.d.ts +0 -0
- /package/dist/{src/components → components}/steps/ConfirmPage.d.ts +0 -0
- /package/dist/{src/components → components}/steps/DetailsPage.d.ts +0 -0
- /package/dist/{src/components → components}/steps/SuccessPage.d.ts +0 -0
- /package/dist/{src/components → components}/steps/TimePage.d.ts +0 -0
- /package/dist/{src/components → components}/steps/index.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Breadcrumb(): import('react').JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Outlet } from '
|
|
1
|
+
import { Outlet } from '../../types';
|
|
2
2
|
interface OutletProps {
|
|
3
3
|
outlets: Outlet[];
|
|
4
4
|
onSelectOutlet: (outlet: Outlet) => void;
|
|
5
5
|
loadingOutletId?: string | null;
|
|
6
6
|
}
|
|
7
|
-
export default function ChooseYourOutlet({ outlets, onSelectOutlet, loadingOutletId, }: OutletProps): import(
|
|
7
|
+
export default function ChooseYourOutlet({ outlets, onSelectOutlet, loadingOutletId, }: OutletProps): import('react').JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MainLayoutProps } from '
|
|
2
|
-
export default function MainLayout({ children, sidebar, renderButton, isConfirm, handleSidebarOpen, isSidebarOpen }: MainLayoutProps): import(
|
|
1
|
+
import { MainLayoutProps } from '../../types';
|
|
2
|
+
export default function MainLayout({ children, sidebar, renderButton, isConfirm, handleSidebarOpen, isSidebarOpen }: MainLayoutProps): import('react').JSX.Element;
|
|
@@ -13,5 +13,5 @@ type PaymentModalProps = {
|
|
|
13
13
|
export declare const formatCardNumber: (value: string) => string;
|
|
14
14
|
export declare const formatExpiry: (value: string) => string;
|
|
15
15
|
export declare const formatCVV: (value: string) => string;
|
|
16
|
-
export default function PaymentModal({ onClose, onPay, amount, }: PaymentModalProps): import(
|
|
16
|
+
export default function PaymentModal({ onClose, onPay, amount, }: PaymentModalProps): import('react').JSX.Element;
|
|
17
17
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Staff, Step, Service } from '
|
|
1
|
+
import { Staff, Step, Service } from '../../types';
|
|
2
2
|
interface SelectedStaffService extends Service {
|
|
3
3
|
qty: number;
|
|
4
4
|
duration?: number;
|
|
@@ -11,5 +11,5 @@ interface ProfessionalSidebarProps {
|
|
|
11
11
|
totalDuration?: number;
|
|
12
12
|
goToStep: (step: Step) => void;
|
|
13
13
|
}
|
|
14
|
-
declare const ProfessionalSidebar: ({ pro, selectedStaffServices, totalPrice, totalDuration, goToStep, }: ProfessionalSidebarProps) => import(
|
|
14
|
+
declare const ProfessionalSidebar: ({ pro, selectedStaffServices, totalPrice, totalDuration, goToStep, }: ProfessionalSidebarProps) => import('react').JSX.Element;
|
|
15
15
|
export default ProfessionalSidebar;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ServiceItem, Step } from '
|
|
1
|
+
import { ServiceItem, Step } from '../../types';
|
|
2
2
|
interface ServiceSidebarProps {
|
|
3
3
|
selectedServices: ServiceItem[];
|
|
4
4
|
totalPrice: number;
|
|
5
5
|
goToStep: (step: Step) => void;
|
|
6
6
|
}
|
|
7
|
-
export default function ServiceSidebar({ selectedServices, totalPrice, goToStep, }: ServiceSidebarProps): import(
|
|
7
|
+
export default function ServiceSidebar({ selectedServices, totalPrice, goToStep, }: ServiceSidebarProps): import('react').JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function ProfessionalServicePage(): import('react').JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Professionals(): import('react').JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function ServiceProfessionalPage(): import('react').JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function ServicesPage(): import('react').JSX.Element;
|