@mediquo/elements 0.5.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 +3 -1
- package/dist/chunks/api-chat-client-vbjgaIRV.js +1 -0
- package/dist/chunks/{apple-pay-outcomes-CjCnBYOD.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-GZF3YFSX-DM-GTqxg.js → chunk-GZF3YFSX-BzloXkVp.js} +1 -1
- package/dist/chunks/{chunk-YTQUGGS3-DmCGIoFy.js → chunk-YTQUGGS3-p18naHsk.js} +1 -1
- package/dist/chunks/{documentation-view-fFbvjJqx.js → documentation-view-CS4Q-UpO.js} +1 -1
- package/dist/chunks/{external-CJj32K_p.js → external-mrLCXx_f.js} +1 -1
- package/dist/chunks/get-patient-documents-query-DIQH-TMM.js +1 -0
- package/dist/chunks/index-BJYWtEmT.js +1 -0
- package/dist/chunks/{index-Xcn-xs13.js → index-DBMxJ4Dp.js} +1 -1
- package/dist/chunks/{index-CLdWVaEs.js → index-yd2JNJSr.js} +1 -1
- package/dist/chunks/{price-BmA2Dl9f.js → price-CdF63nRC.js} +1 -1
- package/dist/chunks/{refund-cancel-policy-D_tUYPyv.js → refund-cancel-policy-Bl9qE8wD.js} +1 -1
- 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.js +1 -1
- 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.js +1 -1
- 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 +9 -391
- package/dist/mq-my-appointments.js +1 -1
- package/dist/mq-professional-presence-sync.js +1 -1
- package/dist/mq-schedule-success.js +2 -2
- package/dist/mq-schedule.js +1 -1
- package/dist/mq-socket-provider.js +1 -1
- package/dist/mq-support-chat.js +1 -1
- package/dist/mq-terms-and-conditions.js +1 -1
- package/dist/mq-unread-count-sync.js +1 -1
- 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 +17 -6
- package/dist/react/mq-appointment-documentation.js +1 -1
- package/dist/react/mq-chat-room.d.ts +30 -7
- 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 +16 -2
- package/dist/react/mq-documents.js +1 -1
- 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 +26 -6
- package/dist/react/mq-my-appointments.js +1 -1
- package/dist/react/mq-professional-presence-sync.d.ts +8 -2
- package/dist/react/mq-professional-presence-sync.js +1 -1
- package/dist/react/mq-query-client-provider.d.ts +9 -2
- package/dist/react/mq-schedule-success.d.ts +30 -7
- package/dist/react/mq-schedule-success.js +1 -1
- package/dist/react/mq-schedule.d.ts +46 -7
- package/dist/react/mq-schedule.js +1 -1
- package/dist/react/mq-session-provider.d.ts +11 -2
- 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 +21 -5
- package/dist/react/mq-terms-and-conditions.js +1 -1
- package/dist/react/mq-theme-provider.d.ts +13 -2
- package/dist/react/mq-toast-container.d.ts +10 -2
- package/dist/react/mq-unread-count-sync.d.ts +8 -2
- package/dist/react/mq-unread-count-sync.js +1 -1
- package/dist/react/mq-videocall.d.ts +30 -12
- package/dist/react/mq-videocall.js +1 -1
- package/package.json +5 -1
- package/dist/chunks/api-chat-client-CqMn2JEn.js +0 -1
- package/dist/chunks/telemetry-client-Ca71sobH.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
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-
|
|
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 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-
|
|
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,14 +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
10
|
import '../chunks/schemas.d-5LR6aN9I.js';
|
|
11
11
|
import '../ui/mq-tabs.js';
|
|
12
|
+
import '../chunks/appointment-card-skeleton-1c7552Ln.js';
|
|
12
13
|
import '../ui/mq-card.js';
|
|
13
14
|
import '../chunks/mq-chat-room-DuG4RuIp.js';
|
|
14
15
|
import '../ui/mq-avatar.js';
|
|
@@ -22,9 +23,28 @@ import '../ui/mq-unread-badge.js';
|
|
|
22
23
|
import '../ui/back-link.js';
|
|
23
24
|
import '../ui/mq-text-button.js';
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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>>;
|
|
29
48
|
|
|
30
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};
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { M as MqProfessionalPresenceSync$1 } from '../chunks/mq-professional-presence-sync-cmg6CXhz.js';
|
|
3
3
|
import 'lit';
|
|
4
4
|
|
|
5
|
-
|
|
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>>;
|
|
6
11
|
|
|
7
12
|
export { MqProfessionalPresenceSync };
|
|
13
|
+
export type { MqProfessionalPresenceSyncProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
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-
|
|
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,5 +1,4 @@
|
|
|
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';
|
|
4
3
|
import { MqViewAppointmentsEvent, MqHomeEvent } from '../events.js';
|
|
5
4
|
import 'lit-html';
|
|
@@ -20,10 +19,34 @@ import '../ui/mq-floating-bubble.js';
|
|
|
20
19
|
import '../ui/mq-unread-badge.js';
|
|
21
20
|
import '../ui/mq-card.js';
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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>>;
|
|
28
50
|
|
|
29
51
|
export { MqScheduleSuccess };
|
|
52
|
+
export type { MqScheduleSuccessProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
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-
|
|
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,5 +1,4 @@
|
|
|
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';
|
|
4
3
|
import { MqBackEvent } from '../events.js';
|
|
5
4
|
import 'lit-html';
|
|
@@ -24,10 +23,50 @@ import '../ui/mq-select.js';
|
|
|
24
23
|
import '../ui/mq-time-slot-picker.js';
|
|
25
24
|
import '../ui/mq-calendar.js';
|
|
26
25
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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>>;
|
|
32
70
|
|
|
33
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 s from"react";import{MqSchedule as o}from"../mq-schedule.js";import"../chunks/custom-element-DA9Fxvxd.js";import"../chunks/refund-cancel-policy-
|
|
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};
|
|
@@ -1,10 +1,19 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { MqSessionProvider as MqSessionProvider$1 } from '../mq-session-provider.js';
|
|
3
3
|
import 'lit-html';
|
|
4
4
|
import '../chunks/schemas.d-5LR6aN9I.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import 'lit';
|
|
7
7
|
|
|
8
|
-
|
|
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>>;
|
|
9
17
|
|
|
10
18
|
export { MqSessionProvider };
|
|
19
|
+
export type { MqSessionProviderProps };
|
|
@@ -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 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-
|
|
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 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-
|
|
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};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { EventName } from '@lit/react';
|
|
1
|
+
import * as React from 'react';
|
|
3
2
|
import { M as MqTermsAndConditions$1, T as TermsAndConditionsContinueEvent } from '../chunks/index-czcKClL3.js';
|
|
4
3
|
import 'lit-html';
|
|
5
4
|
import 'lit';
|
|
@@ -7,8 +6,25 @@ import '../ui/mq-checkbox.js';
|
|
|
7
6
|
import '../ui/mq-button.js';
|
|
8
7
|
import '../env.js';
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
interface MqTermsAndConditionsProps {
|
|
10
|
+
/** Disable the checkbox and continue button. Defaults to `false`. */
|
|
11
|
+
disabled?: MqTermsAndConditions$1["disabled"];
|
|
12
|
+
/** Include commercial-communications consent. Defaults to `false`. */
|
|
13
|
+
hasCommercialCommunications?: MqTermsAndConditions$1["hasCommercialCommunications"];
|
|
14
|
+
/** Mediquo API key. Required when used standalone (outside mq-router). */
|
|
15
|
+
apiKey?: MqTermsAndConditions$1["apiKey"];
|
|
16
|
+
/** Already-exchanged access token. Required when used standalone. */
|
|
17
|
+
token?: MqTermsAndConditions$1["token"];
|
|
18
|
+
/** Environment override (`"development" | "production"`). */
|
|
19
|
+
env?: MqTermsAndConditions$1["env"];
|
|
20
|
+
/** The user accepted the terms and asked to continue. */
|
|
21
|
+
onContinue?: (event: TermsAndConditionsContinueEvent) => void;
|
|
22
|
+
className?: string;
|
|
23
|
+
style?: React.CSSProperties;
|
|
24
|
+
id?: string;
|
|
25
|
+
children?: React.ReactNode;
|
|
26
|
+
}
|
|
27
|
+
declare const MqTermsAndConditions: React.ForwardRefExoticComponent<MqTermsAndConditionsProps & React.RefAttributes<MqTermsAndConditions$1>>;
|
|
13
28
|
|
|
14
29
|
export { MqTermsAndConditions };
|
|
30
|
+
export type { MqTermsAndConditionsProps };
|
|
@@ -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{M as o}from"../chunks/index-
|
|
2
|
+
import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as s from"react";import{M as o}from"../chunks/index-yd2JNJSr.js";import"../chunks/custom-element-DA9Fxvxd.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/state-LQivXIgA.js";import"../ui/mq-checkbox.js";import"../chunks/class-map-Co76I6aw.js";import"../chunks/directive-2EDmOukv.js";import"../ui/mq-button.js";import"../chunks/mutation-controller-CR2qcqhH.js";import"../env.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";const n=t({react:s,tagName:"mq-terms-and-conditions",elementClass:o,events:{onContinue:"continue"}});export{n as MqTermsAndConditions};
|
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { MqThemeProvider as MqThemeProvider$1 } from '../mq-theme-provider.js';
|
|
3
3
|
import 'lit-html';
|
|
4
4
|
import 'lit';
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
interface MqThemeProviderProps {
|
|
7
|
+
/** Theme name to use. Defaults to `"default"`. */
|
|
8
|
+
theme?: MqThemeProvider$1["theme"];
|
|
9
|
+
/** Custom token overrides as a CSS string. Applied on top of the theme. */
|
|
10
|
+
customTokens?: MqThemeProvider$1["customTokens"];
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: React.CSSProperties;
|
|
13
|
+
id?: string;
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
}
|
|
16
|
+
declare const MqThemeProvider: React.ForwardRefExoticComponent<MqThemeProviderProps & React.RefAttributes<MqThemeProvider$1>>;
|
|
7
17
|
|
|
8
18
|
export { MqThemeProvider };
|
|
19
|
+
export type { MqThemeProviderProps };
|
|
@@ -1,8 +1,16 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { MqToastContainer as MqToastContainer$1 } from '../ui/mq-toast.js';
|
|
3
3
|
import 'lit-html';
|
|
4
4
|
import 'lit';
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
interface MqToastContainerProps {
|
|
7
|
+
/** Position of toasts on screen. Defaults to `"bottom-right"`. */
|
|
8
|
+
position?: MqToastContainer$1["position"];
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
id?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const MqToastContainer: React.ForwardRefExoticComponent<MqToastContainerProps & React.RefAttributes<MqToastContainer$1>>;
|
|
7
14
|
|
|
8
15
|
export { MqToastContainer };
|
|
16
|
+
export type { MqToastContainerProps };
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { M as MqUnreadCountSync$1 } from '../chunks/mq-unread-count-sync-DTn9dfR4.js';
|
|
3
3
|
import 'lit';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
interface MqUnreadCountSyncProps {
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: React.CSSProperties;
|
|
8
|
+
id?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const MqUnreadCountSync: React.ForwardRefExoticComponent<MqUnreadCountSyncProps & React.RefAttributes<MqUnreadCountSync$1>>;
|
|
6
11
|
|
|
7
12
|
export { MqUnreadCountSync };
|
|
13
|
+
export type { MqUnreadCountSyncProps };
|