@mediquo/elements 0.4.0 → 0.5.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/README.md +86 -1
- package/dist/chunks/api-chat-client-vbjgaIRV.js +1 -0
- package/dist/chunks/{apple-pay-outcomes-BNkcTbbM.js → apple-pay-outcomes-DxrMPQqB.js} +1 -1
- package/dist/chunks/appointment-card-skeleton-1c7552Ln.d.ts +398 -0
- package/dist/chunks/appointment-card-skeleton-CYFfacro.js +1 -0
- package/dist/chunks/chunk-4FFT6DC2-CVWibomC.js +1 -0
- package/dist/chunks/chunk-GZF3YFSX-BzloXkVp.js +1 -0
- package/dist/chunks/chunk-RCFIJTXZ-C6Ir0-sM.js +1 -0
- package/dist/chunks/chunk-S5RWG6G2-DPesx3Od.js +1 -0
- package/dist/chunks/chunk-YMQSBQHL-De_r7BNk.js +1 -0
- package/dist/chunks/chunk-YTQUGGS3-p18naHsk.js +1 -0
- package/dist/chunks/consume-CovVqBjI.js +1 -0
- package/dist/chunks/context-consumer-ESdICVAb.js +1 -0
- package/dist/chunks/context-provider--AKuwfs9.js +1 -0
- package/dist/chunks/create-context-DqP79qjF.js +1 -0
- package/dist/chunks/documentation-view-CS4Q-UpO.js +1 -0
- package/dist/chunks/external-mrLCXx_f.js +1 -0
- package/dist/chunks/{format-Cm3B1GMy.js → format-CRFiCNHw.js} +1 -1
- package/dist/chunks/get-appointment-query-Ck68BEMg.js +1 -0
- package/dist/chunks/get-patient-documents-query-DIQH-TMM.js +1 -0
- package/dist/chunks/get-patient-profile-query-B0tUDJmT.js +1 -0
- package/dist/chunks/i18n-formats-DYS91YEa.js +1 -0
- package/dist/chunks/index-BJYWtEmT.js +1 -0
- package/dist/chunks/index-CGnPsMVQ.js +1 -0
- package/dist/chunks/index-CvDnN2NR.js +1 -0
- package/dist/chunks/index-DBMxJ4Dp.js +1 -0
- package/dist/chunks/index-DNUbmrQl.d.ts +31 -0
- package/dist/chunks/index-czcKClL3.d.ts +47 -0
- package/dist/chunks/index-yd2JNJSr.js +1 -0
- package/dist/chunks/isBefore-CPpTogxo.js +1 -0
- package/dist/chunks/{isSameDay-DPfclwIL.js → isSameDay-CuhZMy1T.js} +1 -1
- package/dist/chunks/localized-decorator-BlOuLhym.js +1 -0
- package/dist/chunks/mq-layout-CGcdxGMQ.js +1 -0
- package/dist/chunks/mq-professional-presence-sync-cmg6CXhz.d.ts +22 -0
- package/dist/chunks/mq-unread-count-sync-DTn9dfR4.d.ts +22 -0
- package/dist/chunks/mutation-controller-CR2qcqhH.js +1 -0
- package/dist/chunks/parseISO-Dj3qSTG8.js +1 -0
- package/dist/chunks/price-CdF63nRC.js +1 -0
- package/dist/chunks/professional-overview-CfjgnTw4.js +1 -0
- package/dist/chunks/{provide-CfT7g_Zi.js → provide-D2fnEhT2.js} +1 -1
- package/dist/chunks/query-Cjvi4_dT.js +1 -0
- package/dist/chunks/query-controller-BlO1Ax65.js +1 -0
- package/dist/chunks/{refund-cancel-policy-CnbrIqH0.js → refund-cancel-policy-Bl9qE8wD.js} +1 -1
- package/dist/chunks/schemas.d-5LR6aN9I.d.ts +134 -0
- package/dist/chunks/telemetry-client-BLJVs9me.js +1 -0
- package/dist/env.js +1 -1
- package/dist/events.d.ts +11 -1
- package/dist/events.js +1 -1
- package/dist/i18n.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/mq-apple-pay-checkout.js +1 -1
- package/dist/mq-appointment-checkout.js +1 -1
- package/dist/mq-appointment-documentation.d.ts +48 -0
- package/dist/mq-appointment-documentation.js +1 -0
- package/dist/mq-chat-room.js +1 -1
- package/dist/mq-checkout.js +1 -1
- package/dist/mq-dashboard.d.ts +224 -0
- package/dist/mq-dashboard.js +1 -0
- package/dist/mq-documents.d.ts +46 -0
- package/dist/mq-documents.js +1 -0
- package/dist/mq-google-pay-checkout.js +1 -1
- package/dist/mq-immediate-videocall-checkout.js +1 -1
- package/dist/mq-my-appointments.d.ts +13 -525
- package/dist/mq-my-appointments.js +1 -1
- package/dist/mq-professional-presence-sync.d.ts +30 -0
- package/dist/mq-professional-presence-sync.js +1 -0
- package/dist/mq-query-client-provider.js +1 -1
- package/dist/mq-schedule-success.d.ts +9 -0
- package/dist/mq-schedule-success.js +2 -2
- package/dist/mq-schedule.d.ts +22 -10
- package/dist/mq-schedule.js +1 -1
- package/dist/mq-session-provider.d.ts +28 -0
- package/dist/mq-session-provider.js +1 -0
- package/dist/mq-socket-provider.js +1 -1
- package/dist/mq-support-chat.js +1 -1
- package/dist/mq-terms-and-conditions.d.ts +23 -0
- package/dist/mq-terms-and-conditions.js +1 -0
- package/dist/mq-unread-count-sync.d.ts +21 -0
- package/dist/mq-unread-count-sync.js +1 -0
- package/dist/mq-videocall.d.ts +35 -26
- package/dist/mq-videocall.js +1 -1
- package/dist/react/mq-apple-pay-checkout.d.ts +24 -7
- package/dist/react/mq-apple-pay-checkout.js +1 -1
- package/dist/react/mq-appointment-checkout.d.ts +20 -5
- package/dist/react/mq-appointment-checkout.js +1 -1
- package/dist/react/mq-appointment-documentation.d.ts +39 -0
- package/dist/react/mq-appointment-documentation.js +2 -0
- package/dist/react/mq-chat-room.d.ts +31 -6
- package/dist/react/mq-chat-room.js +1 -1
- package/dist/react/mq-checkout.d.ts +22 -8
- package/dist/react/mq-checkout.js +1 -1
- package/dist/react/mq-dashboard.d.ts +57 -0
- package/dist/react/mq-dashboard.js +2 -0
- package/dist/react/mq-documents.d.ts +27 -0
- package/dist/react/mq-documents.js +2 -0
- package/dist/react/mq-google-pay-checkout.d.ts +29 -7
- package/dist/react/mq-google-pay-checkout.js +1 -1
- package/dist/react/mq-immediate-videocall-checkout.d.ts +15 -5
- package/dist/react/mq-immediate-videocall-checkout.js +1 -1
- package/dist/react/mq-my-appointments.d.ts +27 -6
- package/dist/react/mq-my-appointments.js +1 -1
- package/dist/react/mq-professional-presence-sync.d.ts +13 -0
- package/dist/react/mq-professional-presence-sync.js +2 -0
- package/dist/react/mq-query-client-provider.d.ts +9 -2
- package/dist/react/mq-query-client-provider.js +1 -1
- package/dist/react/mq-schedule-success.d.ts +31 -5
- package/dist/react/mq-schedule-success.js +1 -1
- package/dist/react/mq-schedule.d.ts +47 -6
- package/dist/react/mq-schedule.js +1 -1
- package/dist/react/mq-session-provider.d.ts +19 -0
- package/dist/react/mq-session-provider.js +2 -0
- package/dist/react/mq-socket-provider.d.ts +13 -2
- package/dist/react/mq-socket-provider.js +1 -1
- package/dist/react/mq-support-chat.d.ts +31 -2
- package/dist/react/mq-support-chat.js +1 -1
- package/dist/react/mq-terms-and-conditions.d.ts +30 -0
- package/dist/react/mq-terms-and-conditions.js +2 -0
- package/dist/react/mq-theme-provider.d.ts +13 -2
- package/dist/react/mq-toast-container.d.ts +16 -0
- package/dist/react/mq-toast-container.js +2 -0
- package/dist/react/mq-unread-count-sync.d.ts +13 -0
- package/dist/react/mq-unread-count-sync.js +2 -0
- package/dist/react/mq-videocall.d.ts +33 -3
- package/dist/react/mq-videocall.js +1 -1
- package/dist/toast.d.ts +3 -0
- package/dist/toast.js +1 -0
- package/dist/ui/mq-calendar.js +1 -1
- package/dist/ui/mq-time-slot-picker.js +1 -1
- package/dist/ui/mq-toast.js +1 -1
- package/package.json +33 -1
- package/dist/chunks/api-chat-client-C8SqZtCa.js +0 -1
- package/dist/chunks/chunk-S5RWG6G2-oTcdgk2H.js +0 -1
- package/dist/chunks/chunk-YTQUGGS3-DN-JZpgG.js +0 -1
- package/dist/chunks/context-provider-CiMFpvDA.js +0 -1
- package/dist/chunks/exports-G_7Ih_GH.js +0 -1
- package/dist/chunks/external-zAbuzxDj.js +0 -1
- package/dist/chunks/get-patient-profile-query-C8T8DJ7z.js +0 -1
- package/dist/chunks/index-Bxh8Qfwr.js +0 -1
- package/dist/chunks/index-DiqYAEHW.js +0 -1
- package/dist/chunks/isBefore-Cof0D841.js +0 -1
- package/dist/chunks/mq-layout-CpIZTsV2.js +0 -1
- package/dist/chunks/mutation-controller-OVT8NEt6.js +0 -1
- package/dist/chunks/parseISO-jT42c8Ob.js +0 -1
- package/dist/chunks/price-tImUmtpX.js +0 -1
- package/dist/chunks/query-QJ1INUTG.js +0 -1
- package/dist/chunks/telemetry-client-BRVJU-fZ.js +0 -1
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Env } from '../env.js';
|
|
3
|
+
import { MqDashboard as MqDashboard$1 } from '../mq-dashboard.js';
|
|
4
|
+
import { MqAppointmentBookEvent, MqViewAppointmentsEvent, MqAppointmentJoinVideocallEvent, MqAppointmentRescheduleEvent, MqAppointmentViewDocumentationEvent, MqViewDocumentsEvent } from '../events.js';
|
|
5
|
+
import 'lit-html';
|
|
6
|
+
import 'lit';
|
|
7
|
+
import '../chunks/schemas.d-5LR6aN9I.js';
|
|
8
|
+
import 'zod';
|
|
9
|
+
import '../chunks/mq-layout-D8Mak16a.js';
|
|
10
|
+
import '../ui/mq-skeleton.js';
|
|
11
|
+
import '../ui/mq-avatar.js';
|
|
12
|
+
import '../ui/mq-button.js';
|
|
13
|
+
import '../chunks/index-DNUbmrQl.js';
|
|
14
|
+
import '../ui/mq-card.js';
|
|
15
|
+
import '../chunks/appointment-card-skeleton-1c7552Ln.js';
|
|
16
|
+
import '../chunks/appointment-details-DpzdYLjq.js';
|
|
17
|
+
import '../chunks/appointment.model.d-Dy50gMPg.js';
|
|
18
|
+
import '../chunks/professional-overview-mO3tuMuH.js';
|
|
19
|
+
import '../ui/mq-text-button.js';
|
|
20
|
+
import '../chunks/mq-chat-room-DuG4RuIp.js';
|
|
21
|
+
import '@tanstack/query-core';
|
|
22
|
+
import '../ui/mq-floating-bubble.js';
|
|
23
|
+
import '../chunks/price.d-CwLosdAN.js';
|
|
24
|
+
import '../ui/mq-dialog.js';
|
|
25
|
+
import '../ui/mq-unread-badge.js';
|
|
26
|
+
|
|
27
|
+
interface MqDashboardProps {
|
|
28
|
+
/** Mediquo API key. Required. */
|
|
29
|
+
apiKey: string;
|
|
30
|
+
/** Already-exchanged patient access token. Required. */
|
|
31
|
+
token: string;
|
|
32
|
+
/** Locale, e.g. `"es_ES"`. Defaults to the host/build locale. */
|
|
33
|
+
locale?: string;
|
|
34
|
+
/** Environment override (`"development" | "production"`). */
|
|
35
|
+
env?: Env;
|
|
36
|
+
/** Show the mediquo branding footer. Defaults to `true`. */
|
|
37
|
+
showMediquoBranding?: boolean;
|
|
38
|
+
/** The user asked to book a new appointment. */
|
|
39
|
+
onAppointmentBook?: (event: MqAppointmentBookEvent) => void;
|
|
40
|
+
/** The user asked to open the appointments list. */
|
|
41
|
+
onViewAppointments?: (event: MqViewAppointmentsEvent) => void;
|
|
42
|
+
/** The user asked to join an appointment's videocall. */
|
|
43
|
+
onAppointmentJoinVideocall?: (event: MqAppointmentJoinVideocallEvent) => void;
|
|
44
|
+
/** The user asked to reschedule an appointment. */
|
|
45
|
+
onAppointmentReschedule?: (event: MqAppointmentRescheduleEvent) => void;
|
|
46
|
+
/** The user asked to open an appointment's documentation. */
|
|
47
|
+
onAppointmentViewDocumentation?: (event: MqAppointmentViewDocumentationEvent) => void;
|
|
48
|
+
/** The user asked to open the full documents list. */
|
|
49
|
+
onViewDocuments?: (event: MqViewDocumentsEvent) => void;
|
|
50
|
+
className?: string;
|
|
51
|
+
style?: React.CSSProperties;
|
|
52
|
+
id?: string;
|
|
53
|
+
}
|
|
54
|
+
declare const MqDashboard: React.ForwardRefExoticComponent<MqDashboardProps & React.RefAttributes<MqDashboard$1>>;
|
|
55
|
+
|
|
56
|
+
export { MqDashboard };
|
|
57
|
+
export type { MqDashboardProps };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{o}from"../chunks/create-component-BB-6Gu6l.js";import*as i from"react";import{MqDashboard as s}from"../mq-dashboard.js";import"../i18n.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/chunk-4FFT6DC2-CVWibomC.js";import"../chunks/external-mrLCXx_f.js";import"../chunks/custom-element-DA9Fxvxd.js";import"../chunks/consume-CovVqBjI.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/query-controller-BlO1Ax65.js";import"../chunks/chunk-RCFIJTXZ-C6Ir0-sM.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/query-Cjvi4_dT.js";import"../chunks/chunk-S5RWG6G2-DPesx3Od.js";import"../chunks/get-organization-setup-query-BMbuRi6v.js";import"../chunks/telemetry-client-BLJVs9me.js";import"../chunks/parseISO-Dj3qSTG8.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../env.js";import"../chunks/api-chat-client-vbjgaIRV.js";import"../chunks/format-CRFiCNHw.js";import"../chunks/isBefore-CPpTogxo.js";import"../chunks/mq-layout-CGcdxGMQ.js";import"../ui/mq-skeleton.js";import"../chunks/style-map-CIdqdn7C.js";import"../chunks/directive-2EDmOukv.js";import"../chunks/chunk-YMQSBQHL-De_r7BNk.js";import"../chunks/state-LQivXIgA.js";import"../chunks/index-BJYWtEmT.js";import"../ui/icons/message-square-icon.js";import"../ui/icons/types.js";import"../ui/mq-avatar.js";import"../chunks/class-map-Co76I6aw.js";import"../ui/mq-button.js";import"../events.js";import"../chunks/i18n-formats-DYS91YEa.js";import"../chunks/get-patient-documents-query-DIQH-TMM.js";import"../chunks/index-DBMxJ4Dp.js";import"../ui/icons/download-icon.js";import"../ui/mq-card.js";import"../chunks/appointment-card-skeleton-CYFfacro.js";import"../chunks/refund-cancel-policy-Bl9qE8wD.js";import"../chunks/chunk-GZF3YFSX-BzloXkVp.js";import"../chunks/price-CdF63nRC.js";import"../ui/icons/briefcase-icon.js";import"../ui/icons/calendar-icon.js";import"../ui/icons/clock-icon.js";import"../ui/icons/message-bubble-icon.js";import"../ui/icons/phone-icon.js";import"../chunks/professional-overview-CfjgnTw4.js";import"../ui/icons/chevron-down-icon.js";import"../chunks/if-defined-BYeVdwgd.js";import"../ui/mq-text-button.js";import"../mq-chat-room.js";import"../chunks/provide-D2fnEhT2.js";import"../chunks/context-provider--AKuwfs9.js";import"../theme.js";import"../ui/icons/x-icon.js";import"../ui/icons/chevron-left-icon.js";import"../chunks/query-CeeutdfT.js";import"../ui/icons/check-double-icon.js";import"../ui/icons/check-icon.js";import"../chunks/chunk-YTQUGGS3-p18naHsk.js";import"../chunks/mutation-controller-CR2qcqhH.js";import"../ui/mq-floating-bubble.js";import"../ui/mq-dialog.js";import"../ui/icons/video-icon.js";import"../ui/mq-unread-badge.js";import"../ui/mq-toast.js";const t=o({react:i,tagName:"mq-dashboard",elementClass:s,events:{onAppointmentBook:"mq-appointment-book",onViewAppointments:"mq-view-appointments",onAppointmentJoinVideocall:"mq-appointment-join-videocall",onAppointmentReschedule:"mq-appointment-reschedule",onAppointmentViewDocumentation:"mq-appointment-view-documentation",onViewDocuments:"mq-view-documents"}});export{t as MqDashboard};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { MqDocuments as MqDocuments$1 } from '../mq-documents.js';
|
|
3
|
+
import 'lit-html';
|
|
4
|
+
import 'lit';
|
|
5
|
+
import '../env.js';
|
|
6
|
+
import '../chunks/index-DNUbmrQl.js';
|
|
7
|
+
import '../ui/mq-button.js';
|
|
8
|
+
import 'zod';
|
|
9
|
+
import '../ui/mq-skeleton.js';
|
|
10
|
+
|
|
11
|
+
interface MqDocumentsProps {
|
|
12
|
+
/** Mediquo API key. Required when used standalone. */
|
|
13
|
+
apiKey?: MqDocuments$1["apiKey"];
|
|
14
|
+
/** Already-exchanged access token. Required when used standalone. */
|
|
15
|
+
token?: MqDocuments$1["token"];
|
|
16
|
+
/** Locale, e.g. `"es_ES"`. Defaults to the host/build locale. */
|
|
17
|
+
locale?: MqDocuments$1["locale"];
|
|
18
|
+
/** Environment override (`"development" | "production"`). */
|
|
19
|
+
env?: MqDocuments$1["env"];
|
|
20
|
+
className?: string;
|
|
21
|
+
style?: React.CSSProperties;
|
|
22
|
+
id?: string;
|
|
23
|
+
}
|
|
24
|
+
declare const MqDocuments: React.ForwardRefExoticComponent<MqDocumentsProps & React.RefAttributes<MqDocuments$1>>;
|
|
25
|
+
|
|
26
|
+
export { MqDocuments };
|
|
27
|
+
export type { MqDocumentsProps };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{o as s}from"../chunks/create-component-BB-6Gu6l.js";import*as t from"react";import{MqDocuments as o}from"../mq-documents.js";import"../i18n.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/chunk-4FFT6DC2-CVWibomC.js";import"../chunks/external-mrLCXx_f.js";import"../chunks/custom-element-DA9Fxvxd.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/query-controller-BlO1Ax65.js";import"../chunks/chunk-RCFIJTXZ-C6Ir0-sM.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/query-Cjvi4_dT.js";import"../chunks/i18n-formats-DYS91YEa.js";import"../chunks/get-patient-documents-query-DIQH-TMM.js";import"../chunks/get-patient-profile-query-B0tUDJmT.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/state-LQivXIgA.js";import"../env.js";import"../chunks/api-chat-client-vbjgaIRV.js";import"../chunks/parseISO-Dj3qSTG8.js";import"../chunks/format-CRFiCNHw.js";import"../chunks/isBefore-CPpTogxo.js";import"../ui/icons/chevron-left-icon.js";import"../chunks/if-defined-BYeVdwgd.js";import"../ui/icons/types.js";import"../ui/icons/chevron-right-icon.js";import"../chunks/index-DBMxJ4Dp.js";import"../ui/icons/download-icon.js";import"../ui/mq-button.js";import"../chunks/class-map-Co76I6aw.js";import"../chunks/directive-2EDmOukv.js";import"../events.js";import"../ui/mq-skeleton.js";import"../chunks/style-map-CIdqdn7C.js";const r=s({react:t,tagName:"mq-documents",elementClass:o});export{r as MqDocuments};
|
|
@@ -1,15 +1,37 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { EventName } from '@lit/react';
|
|
1
|
+
import * as React from 'react';
|
|
3
2
|
import { MqGooglePayCheckout as MqGooglePayCheckout$1, GooglePayCheckoutSuccessEvent, GooglePayCheckoutDeniedEvent, GooglePayCheckoutErrorEvent } from '../mq-google-pay-checkout.js';
|
|
4
3
|
import 'lit';
|
|
5
4
|
import '../env.js';
|
|
6
5
|
import '../i18n.js';
|
|
7
6
|
import 'zod';
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
interface MqGooglePayCheckoutProps {
|
|
9
|
+
apiKey: MqGooglePayCheckout$1["apiKey"];
|
|
10
|
+
token: MqGooglePayCheckout$1["token"];
|
|
11
|
+
locale: MqGooglePayCheckout$1["locale"];
|
|
12
|
+
merchantId: MqGooglePayCheckout$1["merchantId"];
|
|
13
|
+
gatewayMerchantId: MqGooglePayCheckout$1["gatewayMerchantId"];
|
|
14
|
+
merchantName: MqGooglePayCheckout$1["merchantName"];
|
|
15
|
+
sessionId: MqGooglePayCheckout$1["sessionId"];
|
|
16
|
+
amount: MqGooglePayCheckout$1["amount"];
|
|
17
|
+
currency: MqGooglePayCheckout$1["currency"];
|
|
18
|
+
country: MqGooglePayCheckout$1["country"];
|
|
19
|
+
label: MqGooglePayCheckout$1["label"];
|
|
20
|
+
env?: MqGooglePayCheckout$1["env"];
|
|
21
|
+
/** Google Pay gateway environment (`test` or `production`), independent of `env`. */
|
|
22
|
+
gatewayEnvironment?: MqGooglePayCheckout$1["gatewayEnvironment"];
|
|
23
|
+
/** Payment authorized. */
|
|
24
|
+
onPaymentSuccess?: (event: GooglePayCheckoutSuccessEvent) => void;
|
|
25
|
+
/** Payment rejected by the backend. */
|
|
26
|
+
onPaymentDenied?: (event: GooglePayCheckoutDeniedEvent) => void;
|
|
27
|
+
/** Auth, unsupported device or authorization failure. */
|
|
28
|
+
onPaymentError?: (event: GooglePayCheckoutErrorEvent) => void;
|
|
29
|
+
className?: string;
|
|
30
|
+
style?: React.CSSProperties;
|
|
31
|
+
id?: string;
|
|
32
|
+
children?: React.ReactNode;
|
|
33
|
+
}
|
|
34
|
+
declare const MqGooglePayCheckout: React.ForwardRefExoticComponent<MqGooglePayCheckoutProps & React.RefAttributes<MqGooglePayCheckout$1>>;
|
|
14
35
|
|
|
15
36
|
export { MqGooglePayCheckout };
|
|
37
|
+
export type { MqGooglePayCheckoutProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as e from"react";import{MqGooglePayCheckout as
|
|
2
|
+
import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as e from"react";import{MqGooglePayCheckout as o}from"../mq-google-pay-checkout.js";import"../chunks/custom-element-DA9Fxvxd.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/login-token-task-BI-L2zSV.js";import"../chunks/task-Bj8p7kJX.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/chunk-4FFT6DC2-CVWibomC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/state-LQivXIgA.js";import"../env.js";import"../i18n.js";import"../chunks/external-mrLCXx_f.js";import"../chunks/api-chat-client-vbjgaIRV.js";import"../chunks/parseISO-Dj3qSTG8.js";import"../chunks/format-CRFiCNHw.js";import"../chunks/isBefore-CPpTogxo.js";import"../chunks/apple-pay-outcomes-DxrMPQqB.js";const s=t({react:e,tagName:"mq-google-pay-checkout",elementClass:o,events:{onPaymentSuccess:"payment-success",onPaymentDenied:"payment-denied",onPaymentError:"payment-error"}});export{s as MqGooglePayCheckout};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { EventName } from '@lit/react';
|
|
1
|
+
import * as React from 'react';
|
|
3
2
|
import { MqImmediateVideocallCheckout as MqImmediateVideocallCheckout$1, ImmediateVideocallPaidEvent } from '../mq-immediate-videocall-checkout.js';
|
|
4
3
|
import 'lit-html';
|
|
5
4
|
import 'lit';
|
|
@@ -9,8 +8,19 @@ import 'zod';
|
|
|
9
8
|
import '../mq-checkout.js';
|
|
10
9
|
import '../ui/mq-skeleton.js';
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
interface MqImmediateVideocallCheckoutProps {
|
|
12
|
+
apiKey: MqImmediateVideocallCheckout$1["apiKey"];
|
|
13
|
+
token: MqImmediateVideocallCheckout$1["token"];
|
|
14
|
+
locale: MqImmediateVideocallCheckout$1["locale"];
|
|
15
|
+
videoCallScheduleId: MqImmediateVideocallCheckout$1["videoCallScheduleId"];
|
|
16
|
+
env?: MqImmediateVideocallCheckout$1["env"];
|
|
17
|
+
/** Payment confirmed. */
|
|
18
|
+
onPaymentSuccess?: (event: ImmediateVideocallPaidEvent) => void;
|
|
19
|
+
className?: string;
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
id?: string;
|
|
22
|
+
}
|
|
23
|
+
declare const MqImmediateVideocallCheckout: React.ForwardRefExoticComponent<MqImmediateVideocallCheckoutProps & React.RefAttributes<MqImmediateVideocallCheckout$1>>;
|
|
15
24
|
|
|
16
25
|
export { MqImmediateVideocallCheckout };
|
|
26
|
+
export type { MqImmediateVideocallCheckoutProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as s from"react";import{MqImmediateVideocallCheckout as e}from"../mq-immediate-videocall-checkout.js";import"../chunks/custom-element-DA9Fxvxd.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/if-defined-BYeVdwgd.js";import"../chunks/api-chat-client-
|
|
2
|
+
import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as s from"react";import{MqImmediateVideocallCheckout as e}from"../mq-immediate-videocall-checkout.js";import"../chunks/custom-element-DA9Fxvxd.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/if-defined-BYeVdwgd.js";import"../chunks/api-chat-client-vbjgaIRV.js";import"../chunks/parseISO-Dj3qSTG8.js";import"../chunks/format-CRFiCNHw.js";import"../chunks/external-mrLCXx_f.js";import"../chunks/isBefore-CPpTogxo.js";import"../env.js";import"../mq-checkout.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/task-Bj8p7kJX.js";import"../chunks/login-token-task-BI-L2zSV.js";import"../chunks/chunk-4FFT6DC2-CVWibomC.js";import"../chunks/state-LQivXIgA.js";import"../theme.js";import"../i18n.js";import"../ui/mq-skeleton.js";import"../chunks/style-map-CIdqdn7C.js";import"../chunks/directive-2EDmOukv.js";const m=t({react:s,tagName:"mq-immediate-videocall-checkout",elementClass:e,events:{onPaymentSuccess:"payment-success"}});export{m as MqImmediateVideocallCheckout};
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { EventName } from '@lit/react';
|
|
1
|
+
import * as React from 'react';
|
|
3
2
|
import '../chunks/appointment-details-DpzdYLjq.js';
|
|
4
3
|
import { MqMyAppointments as MqMyAppointments$1, MqMyAppointmentsSelectEvent, RequestAppointmentEvent } from '../mq-my-appointments.js';
|
|
5
4
|
import '../chunks/professional-overview-mO3tuMuH.js';
|
|
5
|
+
import { MqHomeEvent, MqAppointmentBookEvent, MqAppointmentJoinVideocallEvent, MqAppointmentRescheduleEvent, MqAppointmentViewDocumentationEvent } from '../events.js';
|
|
6
6
|
import 'lit-html';
|
|
7
7
|
import 'lit';
|
|
8
8
|
import '../chunks/appointment.model.d-Dy50gMPg.js';
|
|
9
9
|
import 'zod';
|
|
10
|
+
import '../chunks/schemas.d-5LR6aN9I.js';
|
|
10
11
|
import '../ui/mq-tabs.js';
|
|
12
|
+
import '../chunks/appointment-card-skeleton-1c7552Ln.js';
|
|
11
13
|
import '../ui/mq-card.js';
|
|
12
14
|
import '../chunks/mq-chat-room-DuG4RuIp.js';
|
|
13
15
|
import '../ui/mq-avatar.js';
|
|
@@ -21,9 +23,28 @@ import '../ui/mq-unread-badge.js';
|
|
|
21
23
|
import '../ui/back-link.js';
|
|
22
24
|
import '../ui/mq-text-button.js';
|
|
23
25
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
interface MqMyAppointmentsProps {
|
|
27
|
+
/** Selected tab (`"next" | "history"`). Defaults to `"next"`. */
|
|
28
|
+
tab?: MqMyAppointments$1["tab"];
|
|
29
|
+
/** The user selected a different tab. */
|
|
30
|
+
onTabChange?: (event: MqMyAppointmentsSelectEvent) => void;
|
|
31
|
+
/** The user asked to request a new appointment. */
|
|
32
|
+
onRequestAppointment?: (event: RequestAppointmentEvent) => void;
|
|
33
|
+
/** The user asked to return to the home screen. */
|
|
34
|
+
onHome?: (event: MqHomeEvent) => void;
|
|
35
|
+
/** The user asked to book a new appointment (repeat). */
|
|
36
|
+
onAppointmentBook?: (event: MqAppointmentBookEvent) => void;
|
|
37
|
+
/** The user asked to join an appointment's videocall. */
|
|
38
|
+
onAppointmentJoinVideocall?: (event: MqAppointmentJoinVideocallEvent) => void;
|
|
39
|
+
/** The user asked to reschedule an appointment. */
|
|
40
|
+
onAppointmentReschedule?: (event: MqAppointmentRescheduleEvent) => void;
|
|
41
|
+
/** The user asked to open an appointment's documentation. */
|
|
42
|
+
onAppointmentViewDocumentation?: (event: MqAppointmentViewDocumentationEvent) => void;
|
|
43
|
+
className?: string;
|
|
44
|
+
style?: React.CSSProperties;
|
|
45
|
+
id?: string;
|
|
46
|
+
}
|
|
47
|
+
declare const MqMyAppointments: React.ForwardRefExoticComponent<MqMyAppointmentsProps & React.RefAttributes<MqMyAppointments$1>>;
|
|
28
48
|
|
|
29
49
|
export { MqMyAppointments };
|
|
50
|
+
export type { MqMyAppointmentsProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o
|
|
2
|
+
import{o}from"../chunks/create-component-BB-6Gu6l.js";import*as t from"react";import"../chunks/price-CdF63nRC.js";import{MqMyAppointments as i}from"../mq-my-appointments.js";import"../chunks/professional-overview-CfjgnTw4.js";import"../chunks/custom-element-DA9Fxvxd.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/api-chat-client-vbjgaIRV.js";import"../chunks/parseISO-Dj3qSTG8.js";import"../chunks/format-CRFiCNHw.js";import"../chunks/external-mrLCXx_f.js";import"../chunks/isBefore-CPpTogxo.js";import"../env.js";import"../chunks/telemetry-client-BLJVs9me.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/class-map-Co76I6aw.js";import"../chunks/directive-2EDmOukv.js";import"../i18n.js";import"../chunks/chunk-4FFT6DC2-CVWibomC.js";import"../ui/icons/briefcase-icon.js";import"../ui/icons/types.js";import"../ui/icons/calendar-icon.js";import"../ui/icons/clock-icon.js";import"../ui/icons/message-bubble-icon.js";import"../ui/icons/phone-icon.js";import"../chunks/consume-CovVqBjI.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/chunk-S5RWG6G2-DPesx3Od.js";import"../chunks/create-context-DqP79qjF.js";import"../events.js";import"../ui/mq-tabs.js";import"../chunks/appointment-card-skeleton-CYFfacro.js";import"../chunks/query-controller-BlO1Ax65.js";import"../chunks/chunk-RCFIJTXZ-C6Ir0-sM.js";import"../chunks/query-Cjvi4_dT.js";import"../chunks/get-organization-setup-query-BMbuRi6v.js";import"../chunks/i18n-formats-DYS91YEa.js";import"../chunks/refund-cancel-policy-Bl9qE8wD.js";import"../chunks/chunk-GZF3YFSX-BzloXkVp.js";import"../chunks/state-LQivXIgA.js";import"../ui/mq-card.js";import"../mq-chat-room.js";import"../chunks/provide-D2fnEhT2.js";import"../chunks/context-provider--AKuwfs9.js";import"../theme.js";import"../ui/icons/x-icon.js";import"../ui/mq-avatar.js";import"../ui/mq-button.js";import"../ui/mq-skeleton.js";import"../chunks/style-map-CIdqdn7C.js";import"../chunks/chunk-YMQSBQHL-De_r7BNk.js";import"../chunks/if-defined-BYeVdwgd.js";import"../ui/icons/chevron-left-icon.js";import"../chunks/query-CeeutdfT.js";import"../ui/icons/check-double-icon.js";import"../ui/icons/check-icon.js";import"../chunks/chunk-YTQUGGS3-p18naHsk.js";import"../chunks/mutation-controller-CR2qcqhH.js";import"../ui/mq-floating-bubble.js";import"../ui/mq-dialog.js";import"../ui/icons/video-icon.js";import"../ui/mq-unread-badge.js";import"../ui/mq-toast.js";import"../ui/back-link.js";import"../ui/mq-text-button.js";import"../ui/icons/chevron-down-icon.js";const n=o({react:t,tagName:"mq-my-appointments",elementClass:i,events:{onTabChange:"ontabchange",onRequestAppointment:"request-appointment",onHome:"mq-home",onAppointmentBook:"mq-appointment-book",onAppointmentJoinVideocall:"mq-appointment-join-videocall",onAppointmentReschedule:"mq-appointment-reschedule",onAppointmentViewDocumentation:"mq-appointment-view-documentation"}});export{n as MqMyAppointments};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { M as MqProfessionalPresenceSync$1 } from '../chunks/mq-professional-presence-sync-cmg6CXhz.js';
|
|
3
|
+
import 'lit';
|
|
4
|
+
|
|
5
|
+
interface MqProfessionalPresenceSyncProps {
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: React.CSSProperties;
|
|
8
|
+
id?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const MqProfessionalPresenceSync: React.ForwardRefExoticComponent<MqProfessionalPresenceSyncProps & React.RefAttributes<MqProfessionalPresenceSync$1>>;
|
|
11
|
+
|
|
12
|
+
export { MqProfessionalPresenceSync };
|
|
13
|
+
export type { MqProfessionalPresenceSyncProps };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{o as s}from"../chunks/create-component-BB-6Gu6l.js";import*as e from"react";import{MqProfessionalPresenceSync as t}from"../mq-professional-presence-sync.js";import"../chunks/api-chat-client-vbjgaIRV.js";import"../chunks/custom-element-DA9Fxvxd.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/chunk-RCFIJTXZ-C6Ir0-sM.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/chunk-YTQUGGS3-p18naHsk.js";import"../chunks/external-mrLCXx_f.js";import"../chunks/chunk-YMQSBQHL-De_r7BNk.js";import"../chunks/parseISO-Dj3qSTG8.js";import"../chunks/format-CRFiCNHw.js";import"../chunks/isBefore-CPpTogxo.js";import"../env.js";const n=s({react:e,tagName:"mq-professional-presence-sync",elementClass:t});export{n as MqProfessionalPresenceSync};
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { QueryClientProvider } from '../mq-query-client-provider.js';
|
|
3
3
|
import 'lit-html';
|
|
4
4
|
import 'lit';
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
interface MqQueryClientProviderProps {
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: React.CSSProperties;
|
|
9
|
+
id?: string;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
declare const MqQueryClientProvider: React.ForwardRefExoticComponent<MqQueryClientProviderProps & React.RefAttributes<QueryClientProvider>>;
|
|
7
13
|
|
|
8
14
|
export { MqQueryClientProvider };
|
|
15
|
+
export type { MqQueryClientProviderProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as e from"react";import{QueryClientProvider as r}from"../mq-query-client-provider.js";import"../chunks/custom-element-DA9Fxvxd.js";import"../chunks/
|
|
2
|
+
import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as e from"react";import{QueryClientProvider as r}from"../mq-query-client-provider.js";import"../chunks/custom-element-DA9Fxvxd.js";import"../chunks/chunk-RCFIJTXZ-C6Ir0-sM.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/provide-D2fnEhT2.js";import"../chunks/context-provider--AKuwfs9.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/query-Cjvi4_dT.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/state-LQivXIgA.js";import"../chunks/property-scuRaFcM.js";import"../chunks/ensure-context-root-DbdqwnKB.js";const o=t({react:e,tagName:"mq-query-client-provider",elementClass:r});export{o as MqQueryClientProvider};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { EventName } from '@lit/react';
|
|
1
|
+
import * as React from 'react';
|
|
3
2
|
import { MqScheduleSuccess as MqScheduleSuccess$1, OpenVideocallEvent } from '../mq-schedule-success.js';
|
|
3
|
+
import { MqViewAppointmentsEvent, MqHomeEvent } from '../events.js';
|
|
4
4
|
import 'lit-html';
|
|
5
5
|
import 'lit';
|
|
6
6
|
import '../env.js';
|
|
@@ -19,8 +19,34 @@ import '../ui/mq-floating-bubble.js';
|
|
|
19
19
|
import '../ui/mq-unread-badge.js';
|
|
20
20
|
import '../ui/mq-card.js';
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
interface MqScheduleSuccessProps {
|
|
23
|
+
/** Appointment id whose confirmation to show. Required. */
|
|
24
|
+
appointmentId: MqScheduleSuccess$1["appointmentId"];
|
|
25
|
+
/** Flow kind (`"schedule" | "reschedule"`). Defaults to `"schedule"`. */
|
|
26
|
+
kind?: MqScheduleSuccess$1["kind"];
|
|
27
|
+
/** Mediquo API key. Required when used standalone. */
|
|
28
|
+
apiKey?: MqScheduleSuccess$1["apiKey"];
|
|
29
|
+
/** Already-exchanged access token. Required when used standalone. */
|
|
30
|
+
token?: MqScheduleSuccess$1["token"];
|
|
31
|
+
/** IANA timezone for the appointment time. Defaults to the browser's. */
|
|
32
|
+
timezone?: MqScheduleSuccess$1["timezone"];
|
|
33
|
+
/** Locale, e.g. `"es_ES"`. Defaults to the host/build locale. */
|
|
34
|
+
locale?: MqScheduleSuccess$1["locale"];
|
|
35
|
+
/** Environment override (`"development" | "production"`). */
|
|
36
|
+
env?: MqScheduleSuccess$1["env"];
|
|
37
|
+
/** Show the post-booking navigation CTAs. Defaults to `false`. */
|
|
38
|
+
showNavCtas?: MqScheduleSuccess$1["showNavCtas"];
|
|
39
|
+
/** The user asked to join the videocall. */
|
|
40
|
+
onOpenVideocall?: (event: OpenVideocallEvent) => void;
|
|
41
|
+
/** The user asked to open the appointments list. */
|
|
42
|
+
onViewAppointments?: (event: MqViewAppointmentsEvent) => void;
|
|
43
|
+
/** The user asked to return to the home screen. */
|
|
44
|
+
onHome?: (event: MqHomeEvent) => void;
|
|
45
|
+
className?: string;
|
|
46
|
+
style?: React.CSSProperties;
|
|
47
|
+
id?: string;
|
|
48
|
+
}
|
|
49
|
+
declare const MqScheduleSuccess: React.ForwardRefExoticComponent<MqScheduleSuccessProps & React.RefAttributes<MqScheduleSuccess$1>>;
|
|
25
50
|
|
|
26
51
|
export { MqScheduleSuccess };
|
|
52
|
+
export type { MqScheduleSuccessProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as
|
|
2
|
+
import{o as s}from"../chunks/create-component-BB-6Gu6l.js";import*as o from"react";import{MqScheduleSuccess as i}from"../mq-schedule-success.js";import"../i18n.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/chunk-4FFT6DC2-CVWibomC.js";import"../chunks/external-mrLCXx_f.js";import"../chunks/custom-element-DA9Fxvxd.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/state-LQivXIgA.js";import"../env.js";import"../events.js";import"../chunks/api-chat-client-vbjgaIRV.js";import"../chunks/parseISO-Dj3qSTG8.js";import"../chunks/format-CRFiCNHw.js";import"../chunks/isBefore-CPpTogxo.js";import"../ui/icons/check-icon.js";import"../ui/icons/types.js";import"../ui/mq-callout.js";import"../ui/icons/info-circle-outine-icon.js";import"../ui/mq-button.js";import"../chunks/class-map-Co76I6aw.js";import"../chunks/directive-2EDmOukv.js";import"../chunks/consume-CovVqBjI.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/chunk-S5RWG6G2-DPesx3Od.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/professional-overview-CfjgnTw4.js";import"../ui/icons/chevron-down-icon.js";import"../chunks/if-defined-BYeVdwgd.js";import"../ui/mq-text-button.js";import"../ui/mq-avatar.js";import"../chunks/price-CdF63nRC.js";import"../chunks/telemetry-client-BLJVs9me.js";import"../ui/icons/briefcase-icon.js";import"../ui/icons/calendar-icon.js";import"../ui/icons/clock-icon.js";import"../ui/icons/message-bubble-icon.js";import"../ui/icons/phone-icon.js";import"../chunks/query-controller-BlO1Ax65.js";import"../chunks/chunk-RCFIJTXZ-C6Ir0-sM.js";import"../chunks/query-Cjvi4_dT.js";import"../chunks/get-appointment-query-Ck68BEMg.js";import"../chunks/get-organization-setup-query-BMbuRi6v.js";import"../chunks/get-patient-profile-query-B0tUDJmT.js";import"../chunks/chunk-GZF3YFSX-BzloXkVp.js";import"../ui/icons/chat-bubble-icon.js";import"../ui/icons/video-icon.js";import"../mq-chat-room.js";import"../chunks/provide-D2fnEhT2.js";import"../chunks/context-provider--AKuwfs9.js";import"../theme.js";import"../ui/icons/x-icon.js";import"../ui/mq-skeleton.js";import"../chunks/style-map-CIdqdn7C.js";import"../chunks/chunk-YMQSBQHL-De_r7BNk.js";import"../ui/icons/chevron-left-icon.js";import"../chunks/query-CeeutdfT.js";import"../ui/icons/check-double-icon.js";import"../chunks/chunk-YTQUGGS3-p18naHsk.js";import"../chunks/mutation-controller-CR2qcqhH.js";import"../ui/mq-floating-bubble.js";import"../ui/mq-unread-badge.js";import"../chunks/i18n-formats-DYS91YEa.js";import"../ui/mq-card.js";const t=s({react:o,tagName:"mq-schedule-success",elementClass:i,events:{onOpenVideocall:"open-videocall",onViewAppointments:"mq-view-appointments",onHome:"mq-home"}});export{t as MqScheduleSuccess};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { EventName } from '@lit/react';
|
|
1
|
+
import * as React from 'react';
|
|
3
2
|
import { MqSchedule as MqSchedule$1, AppointmentCreatedEvent, AuthRequiredEvent } from '../mq-schedule.js';
|
|
3
|
+
import { MqBackEvent } from '../events.js';
|
|
4
4
|
import 'lit-html';
|
|
5
5
|
import 'lit';
|
|
6
6
|
import '../chunks/mq-layout-D8Mak16a.js';
|
|
@@ -23,9 +23,50 @@ import '../ui/mq-select.js';
|
|
|
23
23
|
import '../ui/mq-time-slot-picker.js';
|
|
24
24
|
import '../ui/mq-calendar.js';
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
interface MqScheduleProps {
|
|
27
|
+
/** Preselected specialty (public slug or backend code). */
|
|
28
|
+
defaultSpecialty?: MqSchedule$1["defaultSpecialty"];
|
|
29
|
+
/** Preselected service (public slug or backend code). */
|
|
30
|
+
defaultService?: MqSchedule$1["defaultService"];
|
|
31
|
+
/** Pre-selects a professional and starts at the slot picker. */
|
|
32
|
+
defaultProfessionalHash?: MqSchedule$1["defaultProfessionalHash"];
|
|
33
|
+
/** Resumes on a previously-chosen slot (guest → login). */
|
|
34
|
+
defaultSlotId?: MqSchedule$1["defaultSlotId"];
|
|
35
|
+
/** Flow kind (`"schedule" | "reschedule"`). */
|
|
36
|
+
kind?: MqSchedule$1["kind"];
|
|
37
|
+
/** Whether the flow requires payment. Defaults to `true`. */
|
|
38
|
+
requiresPayment?: MqSchedule$1["requiresPayment"];
|
|
39
|
+
/** Appointment id — required when `kind="reschedule"`. */
|
|
40
|
+
appointmentId?: MqSchedule$1["appointmentId"];
|
|
41
|
+
/** Show the mediquo branding footer. Defaults to `true`. */
|
|
42
|
+
showMediquoBranding?: MqSchedule$1["showMediquoBranding"];
|
|
43
|
+
/** Show the back button on the first step. Defaults to `true`. */
|
|
44
|
+
showBackButton?: MqSchedule$1["showBackButton"];
|
|
45
|
+
/** Mediquo API key. Required when used standalone. */
|
|
46
|
+
apiKey?: MqSchedule$1["apiKey"];
|
|
47
|
+
/** Already-exchanged access token. Required when used standalone. */
|
|
48
|
+
token?: MqSchedule$1["token"];
|
|
49
|
+
/** Locale, e.g. `"es_ES"`. Defaults to the host/build locale. */
|
|
50
|
+
locale?: MqSchedule$1["locale"];
|
|
51
|
+
/** Environment override (`"development" | "production"`). */
|
|
52
|
+
env?: MqSchedule$1["env"];
|
|
53
|
+
/** Raw integrator user token for Apple Pay checkout URLs. */
|
|
54
|
+
userToken?: MqSchedule$1["userToken"];
|
|
55
|
+
/** Return URL passed to the Apple Pay shell as `success_url`. */
|
|
56
|
+
applePaySuccessUrl?: MqSchedule$1["applePaySuccessUrl"];
|
|
57
|
+
/** IANA timezone for slot times. Defaults to the browser's. */
|
|
58
|
+
timezone?: MqSchedule$1["timezone"];
|
|
59
|
+
/** An appointment was successfully created. */
|
|
60
|
+
onAppointmentCreated?: (event: AppointmentCreatedEvent) => void;
|
|
61
|
+
/** A guest picked a slot and login is required to continue. */
|
|
62
|
+
onAuthRequired?: (event: AuthRequiredEvent) => void;
|
|
63
|
+
/** The user navigated back out of the wizard. */
|
|
64
|
+
onBack?: (event: MqBackEvent) => void;
|
|
65
|
+
className?: string;
|
|
66
|
+
style?: React.CSSProperties;
|
|
67
|
+
id?: string;
|
|
68
|
+
}
|
|
69
|
+
declare const MqSchedule: React.ForwardRefExoticComponent<MqScheduleProps & React.RefAttributes<MqSchedule$1>>;
|
|
30
70
|
|
|
31
71
|
export { MqSchedule };
|
|
72
|
+
export type { MqScheduleProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as i}from"../chunks/create-component-BB-6Gu6l.js";import*as
|
|
2
|
+
import{o as i}from"../chunks/create-component-BB-6Gu6l.js";import*as s from"react";import{MqSchedule as o}from"../mq-schedule.js";import"../chunks/custom-element-DA9Fxvxd.js";import"../chunks/refund-cancel-policy-Bl9qE8wD.js";import"../chunks/api-chat-client-vbjgaIRV.js";import"../chunks/parseISO-Dj3qSTG8.js";import"../chunks/format-CRFiCNHw.js";import"../chunks/external-mrLCXx_f.js";import"../chunks/isBefore-CPpTogxo.js";import"../env.js";import"../events.js";import"../chunks/mq-layout-CGcdxGMQ.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/query-controller-BlO1Ax65.js";import"../chunks/chunk-RCFIJTXZ-C6Ir0-sM.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/query-Cjvi4_dT.js";import"../chunks/get-appointment-query-Ck68BEMg.js";import"../chunks/get-organization-setup-query-BMbuRi6v.js";import"../chunks/i18n-formats-DYS91YEa.js";import"../chunks/get-patient-profile-query-B0tUDJmT.js";import"../ui/mq-button.js";import"../chunks/class-map-Co76I6aw.js";import"../chunks/directive-2EDmOukv.js";import"../chunks/context-provider--AKuwfs9.js";import"../i18n.js";import"../chunks/chunk-4FFT6DC2-CVWibomC.js";import"../chunks/mutation-controller-CR2qcqhH.js";import"../chunks/if-defined-BYeVdwgd.js";import"../ui/mq-input.js";import"../chunks/state-LQivXIgA.js";import"../chunks/query-CeeutdfT.js";import"../ui/icons/calendar-icon.js";import"../ui/icons/types.js";import"../ui/mq-callout.js";import"../ui/icons/info-circle-outine-icon.js";import"../chunks/index-BJcdB5MT.js";import"../chunks/style-map-CIdqdn7C.js";import"../ui/mq-text-button.js";import"../ui/icons/chevron-left-icon.js";import"../chunks/consume-CovVqBjI.js";import"../chunks/professional-overview-CfjgnTw4.js";import"../ui/icons/chevron-down-icon.js";import"../ui/mq-avatar.js";import"../chunks/price-CdF63nRC.js";import"../chunks/telemetry-client-BLJVs9me.js";import"../ui/icons/briefcase-icon.js";import"../ui/icons/clock-icon.js";import"../ui/icons/message-bubble-icon.js";import"../ui/icons/phone-icon.js";import"../ui/mq-card.js";import"../ui/icons/spinner-icon.js";import"../ui/icons/tag-icon.js";import"../ui/mq-toast.js";import"../ui/icons/file-icon.js";import"../ui/icons/upload-icon.js";import"../ui/icons/x-icon.js";import"../ui/mq-textarea.js";import"../ui/mq-skeleton.js";import"../ui/mq-select.js";import"../chunks/index-CvDnN2NR.js";import"../ui/icons/chevron-right-icon.js";import"../chunks/isSameDay-CuhZMy1T.js";import"../chunks/index-CGnPsMVQ.js";import"../theme.js";const t=i({react:s,tagName:"mq-schedule",elementClass:o,events:{onAppointmentCreated:"appointment-created",onAuthRequired:"auth-required",onBack:"mq-back"}});export{t as MqSchedule};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { MqSessionProvider as MqSessionProvider$1 } from '../mq-session-provider.js';
|
|
3
|
+
import 'lit-html';
|
|
4
|
+
import '../chunks/schemas.d-5LR6aN9I.js';
|
|
5
|
+
import 'zod';
|
|
6
|
+
import 'lit';
|
|
7
|
+
|
|
8
|
+
interface MqSessionProviderProps {
|
|
9
|
+
/** The login-token response from the host's auth exchange. Required. */
|
|
10
|
+
session: MqSessionProvider$1["session"];
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: React.CSSProperties;
|
|
13
|
+
id?: string;
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
}
|
|
16
|
+
declare const MqSessionProvider: React.ForwardRefExoticComponent<MqSessionProviderProps & React.RefAttributes<MqSessionProvider$1>>;
|
|
17
|
+
|
|
18
|
+
export { MqSessionProvider };
|
|
19
|
+
export type { MqSessionProviderProps };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{o as e}from"../chunks/create-component-BB-6Gu6l.js";import*as s from"react";import{MqSessionProvider as t}from"../mq-session-provider.js";import"../chunks/custom-element-DA9Fxvxd.js";import"../chunks/provide-D2fnEhT2.js";import"../chunks/context-provider--AKuwfs9.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/chunk-S5RWG6G2-DPesx3Od.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/ensure-context-root-DbdqwnKB.js";const o=e({react:s,tagName:"mq-session-provider",elementClass:t});export{o as MqSessionProvider};
|
|
@@ -1,9 +1,20 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { SocketProvider } from '../mq-socket-provider.js';
|
|
3
3
|
import 'lit-html';
|
|
4
4
|
import 'socket.io-client';
|
|
5
5
|
import 'lit';
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
interface MqSocketProviderProps {
|
|
8
|
+
/** Environment to connect to (`"development" | "production"`). Required. */
|
|
9
|
+
env: SocketProvider["env"];
|
|
10
|
+
/** JWT token for authentication. Required. */
|
|
11
|
+
token: SocketProvider["token"];
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: React.CSSProperties;
|
|
14
|
+
id?: string;
|
|
15
|
+
children?: React.ReactNode;
|
|
16
|
+
}
|
|
17
|
+
declare const MqSocketProvider: React.ForwardRefExoticComponent<MqSocketProviderProps & React.RefAttributes<SocketProvider>>;
|
|
8
18
|
|
|
9
19
|
export { MqSocketProvider };
|
|
20
|
+
export type { MqSocketProviderProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as e from"react";import{SocketProvider as
|
|
2
|
+
import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as e from"react";import{SocketProvider as s}from"../mq-socket-provider.js";import"../chunks/custom-element-DA9Fxvxd.js";import"../chunks/provide-D2fnEhT2.js";import"../chunks/context-provider--AKuwfs9.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/chunk-YTQUGGS3-p18naHsk.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/external-mrLCXx_f.js";import"../chunks/chunk-4FFT6DC2-CVWibomC.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/state-LQivXIgA.js";const r=t({react:e,tagName:"mq-socket-provider",elementClass:s});export{r as MqSocketProvider};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { MqSupportChat as MqSupportChat$1 } from '../mq-support-chat.js';
|
|
3
3
|
import 'lit-html';
|
|
4
4
|
import 'lit';
|
|
@@ -10,6 +10,35 @@ import 'zod';
|
|
|
10
10
|
import '../chunks/appointment.model.d-Dy50gMPg.js';
|
|
11
11
|
import '@tanstack/query-core';
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
/** Emitted when the widget is opened. */
|
|
14
|
+
declare class SupportChatOpenEvent extends Event {
|
|
15
|
+
static eventName: string;
|
|
16
|
+
constructor();
|
|
17
|
+
}
|
|
18
|
+
/** Emitted when the widget is closed. */
|
|
19
|
+
declare class SupportChatCloseEvent extends Event {
|
|
20
|
+
static eventName: string;
|
|
21
|
+
constructor();
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
interface MqSupportChatProps {
|
|
25
|
+
/** Mediquo API key. Required. */
|
|
26
|
+
apiKey: MqSupportChat$1["apiKey"];
|
|
27
|
+
/** Already-exchanged access token. Required. */
|
|
28
|
+
token: MqSupportChat$1["token"];
|
|
29
|
+
/** Accessible label for the launcher button. */
|
|
30
|
+
label?: MqSupportChat$1["label"];
|
|
31
|
+
/** Launcher appearance (`"icon" | "avatar"`). Defaults to `"icon"`. */
|
|
32
|
+
variant?: MqSupportChat$1["variant"];
|
|
33
|
+
/** The support chat was opened. */
|
|
34
|
+
onOpen?: (event: SupportChatOpenEvent) => void;
|
|
35
|
+
/** The support chat was closed. */
|
|
36
|
+
onClose?: (event: SupportChatCloseEvent) => void;
|
|
37
|
+
className?: string;
|
|
38
|
+
style?: React.CSSProperties;
|
|
39
|
+
id?: string;
|
|
40
|
+
}
|
|
41
|
+
declare const MqSupportChat: React.ForwardRefExoticComponent<MqSupportChatProps & React.RefAttributes<MqSupportChat$1>>;
|
|
14
42
|
|
|
15
43
|
export { MqSupportChat };
|
|
44
|
+
export type { MqSupportChatProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as
|
|
2
|
+
import{o as s}from"../chunks/create-component-BB-6Gu6l.js";import*as t from"react";import{MqSupportChat as o}from"../mq-support-chat.js";import"../chunks/custom-element-DA9Fxvxd.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/api-chat-client-vbjgaIRV.js";import"../chunks/parseISO-Dj3qSTG8.js";import"../chunks/format-CRFiCNHw.js";import"../chunks/external-mrLCXx_f.js";import"../chunks/isBefore-CPpTogxo.js";import"../env.js";import"../chunks/query-controller-BlO1Ax65.js";import"../chunks/chunk-RCFIJTXZ-C6Ir0-sM.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/query-Cjvi4_dT.js";import"../chunks/mutation-controller-CR2qcqhH.js";import"../chunks/get-organization-setup-query-BMbuRi6v.js";import"../chunks/chunk-YMQSBQHL-De_r7BNk.js";import"../chunks/chunk-GZF3YFSX-BzloXkVp.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/state-LQivXIgA.js";import"../theme.js";import"../ui/icons/annotation-question-icon.js";import"../ui/icons/types.js";import"../ui/icons/spinner-icon.js";import"../ui/icons/x-icon.js";import"../mq-chat-room.js";import"../chunks/provide-D2fnEhT2.js";import"../chunks/context-provider--AKuwfs9.js";import"../chunks/consume-CovVqBjI.js";import"../ui/mq-avatar.js";import"../chunks/class-map-Co76I6aw.js";import"../chunks/directive-2EDmOukv.js";import"../ui/mq-button.js";import"../ui/mq-skeleton.js";import"../chunks/style-map-CIdqdn7C.js";import"../chunks/if-defined-BYeVdwgd.js";import"../ui/icons/chevron-left-icon.js";import"../chunks/query-CeeutdfT.js";import"../chunks/chunk-4FFT6DC2-CVWibomC.js";import"../events.js";import"../ui/icons/check-double-icon.js";import"../ui/icons/check-icon.js";import"../i18n.js";import"../chunks/chunk-YTQUGGS3-p18naHsk.js";import"../chunks/index-BJYWtEmT.js";import"../ui/mq-toast.js";const i=s({react:t,tagName:"mq-support-chat",elementClass:o,events:{onOpen:"mq-support-chat-open",onClose:"mq-support-chat-close"}});export{i as MqSupportChat};
|