mozrest-sdk-react-dev 0.3.72 → 0.3.74
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/mozrest-sdk.es.js +808 -519
- package/package.json +1 -1
- package/style.css +34 -9
package/mozrest-sdk.es.js
CHANGED
|
@@ -8,7 +8,7 @@ import ReactDOM__default, { createPortal } from "react-dom";
|
|
|
8
8
|
const container$C = "_container_1xz3t_13";
|
|
9
9
|
const item$8 = "_item_1xz3t_20";
|
|
10
10
|
const itemfull$1 = "_itemfull_1xz3t_26";
|
|
11
|
-
const styles$
|
|
11
|
+
const styles$2q = {
|
|
12
12
|
"animate-pulse": "_animate-pulse_1xz3t_1",
|
|
13
13
|
container: container$C,
|
|
14
14
|
item: item$8,
|
|
@@ -960,15 +960,15 @@ const jsxs = jsxRuntimeExports.jsxs;
|
|
|
960
960
|
const Fragment = jsxRuntimeExports.Fragment;
|
|
961
961
|
const SkeletonPage$1 = () => {
|
|
962
962
|
return /* @__PURE__ */ jsx$1("div", {
|
|
963
|
-
className: styles$
|
|
963
|
+
className: styles$2q["animate-pulse"],
|
|
964
964
|
children: /* @__PURE__ */ jsxs("div", {
|
|
965
|
-
className: styles$
|
|
965
|
+
className: styles$2q.container,
|
|
966
966
|
children: [/* @__PURE__ */ jsx$1("div", {
|
|
967
|
-
className: styles$
|
|
967
|
+
className: styles$2q.item
|
|
968
968
|
}), /* @__PURE__ */ jsx$1("div", {
|
|
969
|
-
className: styles$
|
|
969
|
+
className: styles$2q.item
|
|
970
970
|
}), /* @__PURE__ */ jsx$1("div", {
|
|
971
|
-
className: styles$
|
|
971
|
+
className: styles$2q.itemfull
|
|
972
972
|
})]
|
|
973
973
|
})
|
|
974
974
|
});
|
|
@@ -3445,7 +3445,7 @@ const classNames$2 = (...classNames2) => {
|
|
|
3445
3445
|
return resultClasses.join(" ");
|
|
3446
3446
|
};
|
|
3447
3447
|
const container$B = "_container_1ar7o_1";
|
|
3448
|
-
const styles$
|
|
3448
|
+
const styles$2p = {
|
|
3449
3449
|
container: container$B
|
|
3450
3450
|
};
|
|
3451
3451
|
const Container = ({
|
|
@@ -3459,12 +3459,12 @@ const Container = ({
|
|
|
3459
3459
|
return /* @__PURE__ */ jsx$1(Tag2, {
|
|
3460
3460
|
"aria-label": ariaLabel,
|
|
3461
3461
|
"aria-labelledby": ariaLabelledby,
|
|
3462
|
-
className: classNames$2(styles$
|
|
3462
|
+
className: classNames$2(styles$2p["container"], className),
|
|
3463
3463
|
children
|
|
3464
3464
|
});
|
|
3465
3465
|
};
|
|
3466
3466
|
const container$A = "_container_11xrj_1";
|
|
3467
|
-
const styles$
|
|
3467
|
+
const styles$2o = {
|
|
3468
3468
|
container: container$A
|
|
3469
3469
|
};
|
|
3470
3470
|
const LayoutPage$2 = ({
|
|
@@ -3474,12 +3474,12 @@ const LayoutPage$2 = ({
|
|
|
3474
3474
|
contentClassName
|
|
3475
3475
|
}) => {
|
|
3476
3476
|
return /* @__PURE__ */ jsxs("div", {
|
|
3477
|
-
className: classNames$2(styles$
|
|
3477
|
+
className: classNames$2(styles$2o.container, containerClassName, "mz-sdk-cst-pf"),
|
|
3478
3478
|
children: [header2 && /* @__PURE__ */ jsx$1("div", {
|
|
3479
3479
|
className: "mz-header",
|
|
3480
3480
|
children: header2
|
|
3481
3481
|
}), /* @__PURE__ */ jsx$1(Container, {
|
|
3482
|
-
className: classNames$2(styles$
|
|
3482
|
+
className: classNames$2(styles$2o.content, contentClassName),
|
|
3483
3483
|
children
|
|
3484
3484
|
})]
|
|
3485
3485
|
});
|
|
@@ -7678,6 +7678,7 @@ const PROFILEURL$4 = "Profile URL";
|
|
|
7678
7678
|
const AREYOUSURECONNECTTOTRIPADVISOR$4 = "Are you sure you want to connect to Tripadvisor";
|
|
7679
7679
|
const TRIPADVISOR$4 = "Tripadvisor";
|
|
7680
7680
|
const TRIPADVISORREPLY$4 = "Reply on Tripadvisor";
|
|
7681
|
+
const ZOMATOREPLY$4 = "Reply on Zomato";
|
|
7681
7682
|
const COMMINGUP$4 = "Coming up";
|
|
7682
7683
|
const TODAY$4 = "Today";
|
|
7683
7684
|
const TOMORROW$4 = "Tomorrow";
|
|
@@ -7715,6 +7716,7 @@ const SPECIAL_DATES_DESC$4 = "Special closing dates or different shifts (special
|
|
|
7715
7716
|
const SPECIAL_DATES_DESC2$4 = "Define the period for closures or adjusted hours. Both dates are included.";
|
|
7716
7717
|
const SPECIAL_SHIFTS$4 = "Special shifts";
|
|
7717
7718
|
const ADD_SPECIAL_DATE$4 = "Add special date";
|
|
7719
|
+
const ADD_OCCASION$4 = "Add occasion";
|
|
7718
7720
|
const DELETE_SPECIAL_DATE$4 = "Delete special date";
|
|
7719
7721
|
const ARE_YOU_SURE_DELETE_SPECIAL_DATE$4 = "Are you sure you want to delete this special date?";
|
|
7720
7722
|
const RESERVATION_PREFERENCES$4 = "Reservation preferences";
|
|
@@ -7959,6 +7961,8 @@ const MENU$4 = "Menu";
|
|
|
7959
7961
|
const SELECT_OCCASION$3 = "Select Occasion";
|
|
7960
7962
|
const SELECT_AREA$4 = "Select Area";
|
|
7961
7963
|
const SELECT_MENU$4 = "Select Menu";
|
|
7964
|
+
const AREYOUSURECONNECTTOZOMATO$4 = "Are you sure you want to connect to Zomato";
|
|
7965
|
+
const AREYOUSUREDISCONNECTFROMZOMATO$4 = "Are you sure you want to disconnect from Zomato";
|
|
7962
7966
|
const en = {
|
|
7963
7967
|
errors: errors$4,
|
|
7964
7968
|
SPECIALCLOSINGDATES: SPECIALCLOSINGDATES$4,
|
|
@@ -8293,6 +8297,7 @@ const en = {
|
|
|
8293
8297
|
AREYOUSURECONNECTTOTRIPADVISOR: AREYOUSURECONNECTTOTRIPADVISOR$4,
|
|
8294
8298
|
TRIPADVISOR: TRIPADVISOR$4,
|
|
8295
8299
|
TRIPADVISORREPLY: TRIPADVISORREPLY$4,
|
|
8300
|
+
ZOMATOREPLY: ZOMATOREPLY$4,
|
|
8296
8301
|
COMMINGUP: COMMINGUP$4,
|
|
8297
8302
|
TODAY: TODAY$4,
|
|
8298
8303
|
TOMORROW: TOMORROW$4,
|
|
@@ -8330,6 +8335,7 @@ const en = {
|
|
|
8330
8335
|
SPECIAL_DATES_DESC2: SPECIAL_DATES_DESC2$4,
|
|
8331
8336
|
SPECIAL_SHIFTS: SPECIAL_SHIFTS$4,
|
|
8332
8337
|
ADD_SPECIAL_DATE: ADD_SPECIAL_DATE$4,
|
|
8338
|
+
ADD_OCCASION: ADD_OCCASION$4,
|
|
8333
8339
|
DELETE_SPECIAL_DATE: DELETE_SPECIAL_DATE$4,
|
|
8334
8340
|
ARE_YOU_SURE_DELETE_SPECIAL_DATE: ARE_YOU_SURE_DELETE_SPECIAL_DATE$4,
|
|
8335
8341
|
RESERVATION_PREFERENCES: RESERVATION_PREFERENCES$4,
|
|
@@ -8432,6 +8438,7 @@ const en = {
|
|
|
8432
8438
|
"Bing will contact you by email or post and provide you with a verification PIN code. Once you get it, please add it below so that your profile can be synchonised.": "Bing will contact you by email or post and provide you with a verification PIN code. Once you get it, please add it below so that your profile can be synchonised.",
|
|
8433
8439
|
"Bing may require verification of the business ownership, and contact you by email or post. Please, enter below the email you want to use for verification purposes with Bing.": "Bing may require verification of the business ownership, and contact you by email or post. Please, enter below the email you want to use for verification purposes with Bing.",
|
|
8434
8440
|
"Please, enter below the profile url of your tripadvisor.": "Please enter your TripAdvisor profile URL below.",
|
|
8441
|
+
"Please, enter below the profile url of your zomato.": "Please enter your Zomato profile URL below.",
|
|
8435
8442
|
"Select an account": "Select an account",
|
|
8436
8443
|
"Please select an accout that you want to connect to Facebook.": "Please select an account that you want to connect to Facebook.",
|
|
8437
8444
|
"Please select an accout that you want to connect to Google": "Replace it with: Please select an account that you want to connect to Google.",
|
|
@@ -8624,7 +8631,9 @@ const en = {
|
|
|
8624
8631
|
MENU: MENU$4,
|
|
8625
8632
|
SELECT_OCCASION: SELECT_OCCASION$3,
|
|
8626
8633
|
SELECT_AREA: SELECT_AREA$4,
|
|
8627
|
-
SELECT_MENU: SELECT_MENU$4
|
|
8634
|
+
SELECT_MENU: SELECT_MENU$4,
|
|
8635
|
+
AREYOUSURECONNECTTOZOMATO: AREYOUSURECONNECTTOZOMATO$4,
|
|
8636
|
+
AREYOUSUREDISCONNECTFROMZOMATO: AREYOUSUREDISCONNECTFROMZOMATO$4
|
|
8628
8637
|
};
|
|
8629
8638
|
const errors$3 = { "required": "Este campo es requerido", "email": "Este correo electrónico no es válido", "phone": "Número de teléfono no válido", "url": "URL no válida" };
|
|
8630
8639
|
const SPECIALCLOSINGDATES$3 = "Fechas de cierre especiales u horarios de apertura diferentes (días especiales, festivos, eventos privados…)";
|
|
@@ -8956,6 +8965,7 @@ const PROFILEURL$3 = "URL del perfil";
|
|
|
8956
8965
|
const AREYOUSURECONNECTTOTRIPADVISOR$3 = "¿Está seguro de que desea conectarse a Tripadvisor?";
|
|
8957
8966
|
const TRIPADVISOR$3 = "Tripadvisor";
|
|
8958
8967
|
const TRIPADVISORREPLY$3 = "Respuesta de Tripadvisor";
|
|
8968
|
+
const ZOMATOREPLY$3 = "Respuesta de Zomato";
|
|
8959
8969
|
const COMMINGUP$3 = "Próximamente";
|
|
8960
8970
|
const TODAY$3 = "Hoy";
|
|
8961
8971
|
const TOMORROW$3 = "Mañana";
|
|
@@ -8993,6 +9003,7 @@ const SPECIAL_DATES_DESC$3 = "Fechas de cierre especiales o turnos diferentes (d
|
|
|
8993
9003
|
const SPECIAL_DATES_DESC2$3 = "Defina el período para cierres u horarios ajustados. Ambas fechas están incluidas.";
|
|
8994
9004
|
const SPECIAL_SHIFTS$3 = "Turnos especiales";
|
|
8995
9005
|
const ADD_SPECIAL_DATE$3 = "Agregar fecha especial";
|
|
9006
|
+
const ADD_OCCASION$3 = "Añadir ocasión";
|
|
8996
9007
|
const DELETE_SPECIAL_DATE$3 = "Eliminar fecha especial";
|
|
8997
9008
|
const ARE_YOU_SURE_DELETE_SPECIAL_DATE$3 = "¿Está seguro de que desea eliminar esta fecha especial?";
|
|
8998
9009
|
const RESERVATION_PREFERENCES$3 = "Preferencias de reserva";
|
|
@@ -9238,6 +9249,8 @@ const MENU$3 = "Menú";
|
|
|
9238
9249
|
const SELECT_OCCASION$2 = "Seleccionar ocasión";
|
|
9239
9250
|
const SELECT_AREA$3 = "Seleccionar área";
|
|
9240
9251
|
const SELECT_MENU$3 = "Seleccionar menú";
|
|
9252
|
+
const AREYOUSURECONNECTTOZOMATO$3 = "¿Está seguro de que desea conectar a Zomato";
|
|
9253
|
+
const AREYOUSUREDISCONNECTFROMZOMATO$3 = "¿Está seguro de que desea desconectar de Zomato";
|
|
9241
9254
|
const es$2 = {
|
|
9242
9255
|
errors: errors$3,
|
|
9243
9256
|
SPECIALCLOSINGDATES: SPECIALCLOSINGDATES$3,
|
|
@@ -9572,6 +9585,7 @@ const es$2 = {
|
|
|
9572
9585
|
AREYOUSURECONNECTTOTRIPADVISOR: AREYOUSURECONNECTTOTRIPADVISOR$3,
|
|
9573
9586
|
TRIPADVISOR: TRIPADVISOR$3,
|
|
9574
9587
|
TRIPADVISORREPLY: TRIPADVISORREPLY$3,
|
|
9588
|
+
ZOMATOREPLY: ZOMATOREPLY$3,
|
|
9575
9589
|
COMMINGUP: COMMINGUP$3,
|
|
9576
9590
|
TODAY: TODAY$3,
|
|
9577
9591
|
TOMORROW: TOMORROW$3,
|
|
@@ -9609,6 +9623,7 @@ const es$2 = {
|
|
|
9609
9623
|
SPECIAL_DATES_DESC2: SPECIAL_DATES_DESC2$3,
|
|
9610
9624
|
SPECIAL_SHIFTS: SPECIAL_SHIFTS$3,
|
|
9611
9625
|
ADD_SPECIAL_DATE: ADD_SPECIAL_DATE$3,
|
|
9626
|
+
ADD_OCCASION: ADD_OCCASION$3,
|
|
9612
9627
|
DELETE_SPECIAL_DATE: DELETE_SPECIAL_DATE$3,
|
|
9613
9628
|
ARE_YOU_SURE_DELETE_SPECIAL_DATE: ARE_YOU_SURE_DELETE_SPECIAL_DATE$3,
|
|
9614
9629
|
RESERVATION_PREFERENCES: RESERVATION_PREFERENCES$3,
|
|
@@ -9711,6 +9726,7 @@ const es$2 = {
|
|
|
9711
9726
|
"Bing will contact you by email or post and provide you with a verification PIN code. Once you get it, please add it below so that your profile can be synchonised.": "Bing se pondrá en contacto con usted por correo electrónico o por correo postal y le proporcionará un código PIN de verificación. Una vez que lo reciba, agréguelo a continuación para que su perfil pueda sincronizarse.",
|
|
9712
9727
|
"Bing may require verification of the business ownership, and contact you by email or post. Please, enter below the email you want to use for verification purposes with Bing.": "Bing puede requerir la verificación de la propiedad del negocio y ponerse en contacto con usted por correo electrónico o por correo postal. Por favor, ingrese a continuación el correo electrónico que desea utilizar para fines de verificación con Bing.",
|
|
9713
9728
|
"Please, enter below the profile url of your tripadvisor.": "Por favor, ingrese a continuación la URL del perfil de su tripadvisor.",
|
|
9729
|
+
"Please, enter below the profile url of your zomato.": "Por favor, ingrese a continuación la URL del perfil de su zomato.",
|
|
9714
9730
|
"Select an account": "Seleccionar una cuenta",
|
|
9715
9731
|
"Please select an accout that you want to connect to Facebook.": "Por favor, seleccione una cuenta que desea conectar a Facebook.",
|
|
9716
9732
|
"Please select an accout that you want to connect to Google": "Por favor, seleccione una cuenta que desea conectar a Google",
|
|
@@ -9904,7 +9920,9 @@ const es$2 = {
|
|
|
9904
9920
|
MENU: MENU$3,
|
|
9905
9921
|
SELECT_OCCASION: SELECT_OCCASION$2,
|
|
9906
9922
|
SELECT_AREA: SELECT_AREA$3,
|
|
9907
|
-
SELECT_MENU: SELECT_MENU$3
|
|
9923
|
+
SELECT_MENU: SELECT_MENU$3,
|
|
9924
|
+
AREYOUSURECONNECTTOZOMATO: AREYOUSURECONNECTTOZOMATO$3,
|
|
9925
|
+
AREYOUSUREDISCONNECTFROMZOMATO: AREYOUSUREDISCONNECTFROMZOMATO$3
|
|
9908
9926
|
};
|
|
9909
9927
|
const errors$2 = { "required": "Ce champ est requis", "email": "Cet email n'est pas valide", "phone": "Numéro de téléphone non valide", "url": "Cette URL n'est pas valide" };
|
|
9910
9928
|
const SPECIALCLOSINGDATES$2 = "Fermetures exceptionnelles et horaires d’ouverture modifiés (jours fériés, événements, etc.) ";
|
|
@@ -10236,6 +10254,7 @@ const PROFILEURL$2 = "URL du profil";
|
|
|
10236
10254
|
const AREYOUSURECONNECTTOTRIPADVISOR$2 = "Êtes-vous sûr de vouloir vous connecter à Tripadvisor ?";
|
|
10237
10255
|
const TRIPADVISOR$2 = "Tripadvisor";
|
|
10238
10256
|
const TRIPADVISORREPLY$2 = "Répondre sur Tripadvisor ";
|
|
10257
|
+
const ZOMATOREPLY$2 = "Répondre sur Zomato";
|
|
10239
10258
|
const COMMINGUP$2 = "À venir";
|
|
10240
10259
|
const TODAY$2 = "Aujourd'hui";
|
|
10241
10260
|
const TOMORROW$2 = "Demain";
|
|
@@ -10273,6 +10292,7 @@ const SPECIAL_DATES_DESC$2 = "Dates de fermeture spéciales ou services différe
|
|
|
10273
10292
|
const SPECIAL_DATES_DESC2$2 = "Définissez la période de fermeture ou d’horaires modifiés. Les deux dates sont incluses.";
|
|
10274
10293
|
const SPECIAL_SHIFTS$2 = "Services spéciaux";
|
|
10275
10294
|
const ADD_SPECIAL_DATE$2 = "Ajouter une date spéciale";
|
|
10295
|
+
const ADD_OCCASION$2 = "Ajouter une occasion";
|
|
10276
10296
|
const DELETE_SPECIAL_DATE$2 = "Supprimer la date spéciale";
|
|
10277
10297
|
const ARE_YOU_SURE_DELETE_SPECIAL_DATE$2 = "Êtes-vous sûr de vouloir supprimer cette date spéciale ?";
|
|
10278
10298
|
const RESERVATION_PREFERENCES$2 = "Préférences de réservation";
|
|
@@ -10518,6 +10538,8 @@ const MENU$2 = "Menu";
|
|
|
10518
10538
|
const SELECT_OCCASION$1 = "Sélectionner l'occasion";
|
|
10519
10539
|
const SELECT_AREA$2 = "Sélectionner la zone";
|
|
10520
10540
|
const SELECT_MENU$2 = "Sélectionner le menu";
|
|
10541
|
+
const AREYOUSURECONNECTTOZOMATO$2 = "Êtes-vous sûr de vouloir vous connecter à Zomato";
|
|
10542
|
+
const AREYOUSUREDISCONNECTFROMZOMATO$2 = "Êtes-vous sûr de vouloir vous déconnecter de Zomato";
|
|
10521
10543
|
const fr$1 = {
|
|
10522
10544
|
errors: errors$2,
|
|
10523
10545
|
SPECIALCLOSINGDATES: SPECIALCLOSINGDATES$2,
|
|
@@ -10852,6 +10874,7 @@ const fr$1 = {
|
|
|
10852
10874
|
AREYOUSURECONNECTTOTRIPADVISOR: AREYOUSURECONNECTTOTRIPADVISOR$2,
|
|
10853
10875
|
TRIPADVISOR: TRIPADVISOR$2,
|
|
10854
10876
|
TRIPADVISORREPLY: TRIPADVISORREPLY$2,
|
|
10877
|
+
ZOMATOREPLY: ZOMATOREPLY$2,
|
|
10855
10878
|
COMMINGUP: COMMINGUP$2,
|
|
10856
10879
|
TODAY: TODAY$2,
|
|
10857
10880
|
TOMORROW: TOMORROW$2,
|
|
@@ -10889,6 +10912,7 @@ const fr$1 = {
|
|
|
10889
10912
|
SPECIAL_DATES_DESC2: SPECIAL_DATES_DESC2$2,
|
|
10890
10913
|
SPECIAL_SHIFTS: SPECIAL_SHIFTS$2,
|
|
10891
10914
|
ADD_SPECIAL_DATE: ADD_SPECIAL_DATE$2,
|
|
10915
|
+
ADD_OCCASION: ADD_OCCASION$2,
|
|
10892
10916
|
DELETE_SPECIAL_DATE: DELETE_SPECIAL_DATE$2,
|
|
10893
10917
|
ARE_YOU_SURE_DELETE_SPECIAL_DATE: ARE_YOU_SURE_DELETE_SPECIAL_DATE$2,
|
|
10894
10918
|
RESERVATION_PREFERENCES: RESERVATION_PREFERENCES$2,
|
|
@@ -10990,6 +11014,7 @@ const fr$1 = {
|
|
|
10990
11014
|
"Contact your account manager to get more information about how to get a license.": "Veuillez contacter votre gestionnaire de compte pour obtenir plus d’informations sur la procédure d’obtention d’une licence.",
|
|
10991
11015
|
"Bing will contact you by email or post and provide you with a verification PIN code. Once you get it, please add it below so that your profile can be synchonised.": "Bing vous contactera par email ou courrier pour vous fournir un code PIN de vérification. Dès réception, merci de bien vouloir le saisir ci-dessous afin de synchroniser votre profil.",
|
|
10992
11016
|
"Please, enter below the profile url of your tripadvisor.": "Veuillez saisir ci-dessous l'URL de votre profil Tripadvisor.",
|
|
11017
|
+
"Please, enter below the profile url of your zomato.": "Veuillez saisir ci-dessous l'URL de votre profil Zomato.",
|
|
10993
11018
|
"Select an account": "Sélectionner un compte",
|
|
10994
11019
|
"Please select an accout that you want to connect to Facebook.": "Veuillez sélectionner un compte à connecter à Facebook.",
|
|
10995
11020
|
"Please select an accout that you want to connect to Google": "Veuillez sélectionner un compte à connecter à Google.",
|
|
@@ -11183,7 +11208,9 @@ const fr$1 = {
|
|
|
11183
11208
|
MENU: MENU$2,
|
|
11184
11209
|
SELECT_OCCASION: SELECT_OCCASION$1,
|
|
11185
11210
|
SELECT_AREA: SELECT_AREA$2,
|
|
11186
|
-
SELECT_MENU: SELECT_MENU$2
|
|
11211
|
+
SELECT_MENU: SELECT_MENU$2,
|
|
11212
|
+
AREYOUSURECONNECTTOZOMATO: AREYOUSURECONNECTTOZOMATO$2,
|
|
11213
|
+
AREYOUSUREDISCONNECTFROMZOMATO: AREYOUSUREDISCONNECTFROMZOMATO$2
|
|
11187
11214
|
};
|
|
11188
11215
|
const errors$1 = { "required": "Dieses Feld ist erforderlich", "email": "Diese E-Mail ist nicht gültig", "phone": "Diese Telefonnummer ist nicht gültig", "url": "Diese URL ist nicht gültig" };
|
|
11189
11216
|
const SPECIALCLOSINGDATES$1 = "Besondere Schließungstage oder abweichende Öffnungszeiten (besondere Tage, Feiertage, private Veranstaltungen…)";
|
|
@@ -11513,6 +11540,7 @@ const PROFILEURL$1 = "Profil-URL";
|
|
|
11513
11540
|
const AREYOUSURECONNECTTOTRIPADVISOR$1 = "Sind Sie sicher, dass Sie eine Verbindung zu Tripadvisor herstellen möchten?";
|
|
11514
11541
|
const TRIPADVISOR$1 = "Tripadvisor";
|
|
11515
11542
|
const TRIPADVISORREPLY$1 = "Tripadvisor-Antwort";
|
|
11543
|
+
const ZOMATOREPLY$1 = "Zomato-Antwort";
|
|
11516
11544
|
const COMMINGUP$1 = "Steht bevor";
|
|
11517
11545
|
const TODAY$1 = "Heute";
|
|
11518
11546
|
const TOMORROW$1 = "Morgen";
|
|
@@ -11550,6 +11578,7 @@ const SPECIAL_DATES_DESC$1 = "Besondere Schließtage oder abweichende Schichten
|
|
|
11550
11578
|
const SPECIAL_DATES_DESC2$1 = "Definieren Sie den Zeitraum für Schließungen oder angepasste Öffnungszeiten. Beide Daten sind inklusive.";
|
|
11551
11579
|
const SPECIAL_SHIFTS$1 = "Besondere Schichten";
|
|
11552
11580
|
const ADD_SPECIAL_DATE$1 = "Besonderes Datum hinzufügen";
|
|
11581
|
+
const ADD_OCCASION$1 = "Anlass hinzufügen";
|
|
11553
11582
|
const DELETE_SPECIAL_DATE$1 = "Besonderes Datum löschen";
|
|
11554
11583
|
const ARE_YOU_SURE_DELETE_SPECIAL_DATE$1 = "Sind Sie sicher, dass Sie dieses besondere Datum löschen möchten?";
|
|
11555
11584
|
const RESERVATION_PREFERENCES$1 = "Reservierungspräferenzen";
|
|
@@ -11737,6 +11766,8 @@ const MENU$1 = "Menü";
|
|
|
11737
11766
|
const SELECT_OCCASION = "Gelegenheit auswählen";
|
|
11738
11767
|
const SELECT_AREA$1 = "Bereich auswählen";
|
|
11739
11768
|
const SELECT_MENU$1 = "Menü auswählen";
|
|
11769
|
+
const AREYOUSURECONNECTTOZOMATO$1 = "Sind Sie sicher, dass Sie eine Verbindung zu Zomato herstellen möchten?";
|
|
11770
|
+
const AREYOUSUREDISCONNECTFROMZOMATO$1 = "Sind Sie sicher, dass Sie eine Verbindung zu Zomato trennen möchten?";
|
|
11740
11771
|
const de$1 = {
|
|
11741
11772
|
errors: errors$1,
|
|
11742
11773
|
SPECIALCLOSINGDATES: SPECIALCLOSINGDATES$1,
|
|
@@ -12069,6 +12100,7 @@ const de$1 = {
|
|
|
12069
12100
|
AREYOUSURECONNECTTOTRIPADVISOR: AREYOUSURECONNECTTOTRIPADVISOR$1,
|
|
12070
12101
|
TRIPADVISOR: TRIPADVISOR$1,
|
|
12071
12102
|
TRIPADVISORREPLY: TRIPADVISORREPLY$1,
|
|
12103
|
+
ZOMATOREPLY: ZOMATOREPLY$1,
|
|
12072
12104
|
COMMINGUP: COMMINGUP$1,
|
|
12073
12105
|
TODAY: TODAY$1,
|
|
12074
12106
|
TOMORROW: TOMORROW$1,
|
|
@@ -12106,6 +12138,7 @@ const de$1 = {
|
|
|
12106
12138
|
SPECIAL_DATES_DESC2: SPECIAL_DATES_DESC2$1,
|
|
12107
12139
|
SPECIAL_SHIFTS: SPECIAL_SHIFTS$1,
|
|
12108
12140
|
ADD_SPECIAL_DATE: ADD_SPECIAL_DATE$1,
|
|
12141
|
+
ADD_OCCASION: ADD_OCCASION$1,
|
|
12109
12142
|
DELETE_SPECIAL_DATE: DELETE_SPECIAL_DATE$1,
|
|
12110
12143
|
ARE_YOU_SURE_DELETE_SPECIAL_DATE: ARE_YOU_SURE_DELETE_SPECIAL_DATE$1,
|
|
12111
12144
|
RESERVATION_PREFERENCES: RESERVATION_PREFERENCES$1,
|
|
@@ -12208,6 +12241,7 @@ const de$1 = {
|
|
|
12208
12241
|
"Bing will contact you by email or post and provide you with a verification PIN code. Once you get it, please add it below so that your profile can be synchonised.": "Bing wird Sie per E-Mail oder Post kontaktieren und Ihnen einen Verifizierungs-PIN senden. Sobald Sie ihn erhalten haben, geben Sie ihn bitte unten ein, damit Ihr Profil synchronisiert werden kann.",
|
|
12209
12242
|
"Bing may require verification of the business ownership, and contact you by email or post. Please, enter below the email you want to use for verification purposes with Bing.": "Bing kann eine Verifizierung des Unternehmensbesitzes verlangen und Sie per E-Mail oder Post kontaktieren. Bitte geben Sie unten die E-Mail-Adresse an, die Sie für die Verifizierung verwenden möchten.",
|
|
12210
12243
|
"Please, enter below the profile url of your tripadvisor.": "Bitte geben Sie unten die Profil-URL Ihres Tripadvisor-Kontos ein.",
|
|
12244
|
+
"Please, enter below the profile url of your zomato.": "Bitte geben Sie unten die Profil-URL Ihres Zomato-Kontos ein.",
|
|
12211
12245
|
"Select an account": "Konto auswählen",
|
|
12212
12246
|
"Please select an accout that you want to connect to Facebook.": "Bitte wählen Sie das Konto aus, das Sie mit Facebook verbinden möchten.",
|
|
12213
12247
|
"Please select an accout that you want to connect to Google": "Bitte wählen Sie das Konto aus, das Sie mit Google verbinden möchten.",
|
|
@@ -12343,7 +12377,9 @@ const de$1 = {
|
|
|
12343
12377
|
MENU: MENU$1,
|
|
12344
12378
|
SELECT_OCCASION,
|
|
12345
12379
|
SELECT_AREA: SELECT_AREA$1,
|
|
12346
|
-
SELECT_MENU: SELECT_MENU$1
|
|
12380
|
+
SELECT_MENU: SELECT_MENU$1,
|
|
12381
|
+
AREYOUSURECONNECTTOZOMATO: AREYOUSURECONNECTTOZOMATO$1,
|
|
12382
|
+
AREYOUSUREDISCONNECTFROMZOMATO: AREYOUSUREDISCONNECTFROMZOMATO$1
|
|
12347
12383
|
};
|
|
12348
12384
|
const errors = { "required": "Dit veld is verplicht", "email": "Dit e-mailadres is ongeldig", "phone": "Ongeldig telefoonnummer", "url": "Deze URL is ongeldig" };
|
|
12349
12385
|
const SPECIALCLOSINGDATES = "Speciale sluitingsdagen of afwijkende openingstijden (feestdagen, evenementen, enz.)";
|
|
@@ -12673,6 +12709,7 @@ const PROFILEURL = "Profiel-URL";
|
|
|
12673
12709
|
const AREYOUSURECONNECTTOTRIPADVISOR = "Weet je zeker dat je verbinding wilt maken met Tripadvisor?";
|
|
12674
12710
|
const TRIPADVISOR = "Tripadvisor";
|
|
12675
12711
|
const TRIPADVISORREPLY = "Tripadvisor-antwoord";
|
|
12712
|
+
const ZOMATOREPLY = "Zomato-antwoord";
|
|
12676
12713
|
const COMMINGUP = "Binnenkort";
|
|
12677
12714
|
const TODAY = "Vandaag";
|
|
12678
12715
|
const TOMORROW = "Morgen";
|
|
@@ -12710,6 +12747,7 @@ const SPECIAL_DATES_DESC = "Speciale sluitingsdagen of afwijkende shifts (feestd
|
|
|
12710
12747
|
const SPECIAL_DATES_DESC2 = "Geef de periode op voor sluitingen of aangepaste uren. Beide datums zijn inbegrepen.";
|
|
12711
12748
|
const SPECIAL_SHIFTS = "Speciale shifts";
|
|
12712
12749
|
const ADD_SPECIAL_DATE = "Speciale datum toevoegen";
|
|
12750
|
+
const ADD_OCCASION = "Gelegenheid toevoegen";
|
|
12713
12751
|
const DELETE_SPECIAL_DATE = "Speciale datum verwijderen";
|
|
12714
12752
|
const ARE_YOU_SURE_DELETE_SPECIAL_DATE = "Weet je zeker dat je deze speciale datum wilt verwijderen?";
|
|
12715
12753
|
const RESERVATION_PREFERENCES = "Voorkeuren voor reserveringen";
|
|
@@ -12897,6 +12935,8 @@ const MENU = "Menu";
|
|
|
12897
12935
|
const SELECT_OCHTEND = "Ochtend selecteren";
|
|
12898
12936
|
const SELECT_AREA = "Gebied selecteren";
|
|
12899
12937
|
const SELECT_MENU = "Menu selecteren";
|
|
12938
|
+
const AREYOUSURECONNECTTOZOMATO = "Weet je zeker dat je verbinding wilt maken met Zomato";
|
|
12939
|
+
const AREYOUSUREDISCONNECTFROMZOMATO = "Weet je zeker dat je verbinding wilt verbreken met Zomato";
|
|
12900
12940
|
const nl$1 = {
|
|
12901
12941
|
errors,
|
|
12902
12942
|
SPECIALCLOSINGDATES,
|
|
@@ -13229,6 +13269,7 @@ const nl$1 = {
|
|
|
13229
13269
|
AREYOUSURECONNECTTOTRIPADVISOR,
|
|
13230
13270
|
TRIPADVISOR,
|
|
13231
13271
|
TRIPADVISORREPLY,
|
|
13272
|
+
ZOMATOREPLY,
|
|
13232
13273
|
COMMINGUP,
|
|
13233
13274
|
TODAY,
|
|
13234
13275
|
TOMORROW,
|
|
@@ -13266,6 +13307,7 @@ const nl$1 = {
|
|
|
13266
13307
|
SPECIAL_DATES_DESC2,
|
|
13267
13308
|
SPECIAL_SHIFTS,
|
|
13268
13309
|
ADD_SPECIAL_DATE,
|
|
13310
|
+
ADD_OCCASION,
|
|
13269
13311
|
DELETE_SPECIAL_DATE,
|
|
13270
13312
|
ARE_YOU_SURE_DELETE_SPECIAL_DATE,
|
|
13271
13313
|
RESERVATION_PREFERENCES,
|
|
@@ -13368,6 +13410,7 @@ const nl$1 = {
|
|
|
13368
13410
|
"Bing will contact you by email or post and provide you with a verification PIN code. Once you get it, please add it below so that your profile can be synchonised.": "Bing neemt contact met je op via e-mail of post en geeft je een verificatiecode. Zodra je die hebt ontvangen, voeg je hem hieronder toe zodat je profiel gesynchroniseerd kan worden.",
|
|
13369
13411
|
"Bing may require verification of the business ownership, and contact you by email or post. Please, enter below the email you want to use for verification purposes with Bing.": "Bing kan een eigendomsverificatie van je bedrijf vereisen. Geef hieronder het e-mailadres op dat je daarvoor wilt gebruiken.",
|
|
13370
13412
|
"Please, enter below the profile url of your tripadvisor.": "Voer hieronder de profiel-URL van je Tripadvisor-account in.",
|
|
13413
|
+
"Please, enter below the profile url of your zomato.": "Voer hieronder de profiel-URL van je Zomato-account in.",
|
|
13371
13414
|
"Select an account": "Selecteer een account",
|
|
13372
13415
|
"Please select an accout that you want to connect to Facebook.": "Selecteer een account dat je wilt verbinden met Facebook.",
|
|
13373
13416
|
"Please select an accout that you want to connect to Google": "Selecteer een account dat je wilt verbinden met Google",
|
|
@@ -13503,7 +13546,9 @@ const nl$1 = {
|
|
|
13503
13546
|
MENU,
|
|
13504
13547
|
SELECT_OCHTEND,
|
|
13505
13548
|
SELECT_AREA,
|
|
13506
|
-
SELECT_MENU
|
|
13549
|
+
SELECT_MENU,
|
|
13550
|
+
AREYOUSURECONNECTTOZOMATO,
|
|
13551
|
+
AREYOUSUREDISCONNECTFROMZOMATO
|
|
13507
13552
|
};
|
|
13508
13553
|
instance.use(initReactI18next).init({
|
|
13509
13554
|
// the translations
|
|
@@ -40770,25 +40815,25 @@ const ContextUserRole = React__default.createContext([
|
|
|
40770
40815
|
const label$8 = "_label_7mgn7_1";
|
|
40771
40816
|
const comment$4 = "_comment_7mgn7_5";
|
|
40772
40817
|
const translate = "_translate_7mgn7_9";
|
|
40773
|
-
const styles$
|
|
40818
|
+
const styles$2n = {
|
|
40774
40819
|
label: label$8,
|
|
40775
40820
|
comment: comment$4,
|
|
40776
40821
|
translate
|
|
40777
40822
|
};
|
|
40778
40823
|
const sronly$1 = "_sronly_1n9bw_1";
|
|
40779
|
-
const styles$
|
|
40824
|
+
const styles$2m = {
|
|
40780
40825
|
sronly: sronly$1
|
|
40781
40826
|
};
|
|
40782
40827
|
const SrOnly$1 = ({
|
|
40783
40828
|
children
|
|
40784
40829
|
}) => {
|
|
40785
40830
|
return /* @__PURE__ */ jsx$1("span", {
|
|
40786
|
-
className: styles$
|
|
40831
|
+
className: styles$2m.sronly,
|
|
40787
40832
|
children
|
|
40788
40833
|
});
|
|
40789
40834
|
};
|
|
40790
40835
|
const label$7 = "_label_1vki7_1";
|
|
40791
|
-
const styles$
|
|
40836
|
+
const styles$2l = {
|
|
40792
40837
|
label: label$7
|
|
40793
40838
|
};
|
|
40794
40839
|
var propTypes$3 = { exports: {} };
|
|
@@ -45694,7 +45739,7 @@ const icons$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
45694
45739
|
yes: yes$1
|
|
45695
45740
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
45696
45741
|
const icon$a = "_icon_69yub_1";
|
|
45697
|
-
const styles$
|
|
45742
|
+
const styles$2k = {
|
|
45698
45743
|
icon: icon$a,
|
|
45699
45744
|
"icon--small": "_icon--small_69yub_12",
|
|
45700
45745
|
"icon--medium": "_icon--medium_69yub_15",
|
|
@@ -45709,14 +45754,14 @@ const Icon$1 = ({
|
|
|
45709
45754
|
...props
|
|
45710
45755
|
}) => {
|
|
45711
45756
|
return /* @__PURE__ */ jsx$1("span", {
|
|
45712
|
-
className: classNames$2(styles$
|
|
45757
|
+
className: classNames$2(styles$2k["icon"], styles$2k[`icon--${size}`], className),
|
|
45713
45758
|
...props,
|
|
45714
45759
|
children: icons$1[icon2]()
|
|
45715
45760
|
});
|
|
45716
45761
|
};
|
|
45717
45762
|
const tooltip$2 = "_tooltip_17puf_1";
|
|
45718
45763
|
const tooltip__icon$1 = "_tooltip__icon_17puf_4";
|
|
45719
|
-
const styles$
|
|
45764
|
+
const styles$2j = {
|
|
45720
45765
|
tooltip: tooltip$2,
|
|
45721
45766
|
tooltip__icon: tooltip__icon$1
|
|
45722
45767
|
};
|
|
@@ -45724,9 +45769,9 @@ const Tooltip$2 = ({
|
|
|
45724
45769
|
children
|
|
45725
45770
|
}) => {
|
|
45726
45771
|
return /* @__PURE__ */ jsxs("div", {
|
|
45727
|
-
className: styles$
|
|
45772
|
+
className: styles$2j.tooltip,
|
|
45728
45773
|
children: [/* @__PURE__ */ jsx$1(Icon$1, {
|
|
45729
|
-
className: styles$
|
|
45774
|
+
className: styles$2j.tooltip__icon,
|
|
45730
45775
|
icon: "question",
|
|
45731
45776
|
size: "small",
|
|
45732
45777
|
"data-tip": true
|
|
@@ -45747,7 +45792,7 @@ const Label$2 = ({
|
|
|
45747
45792
|
...props
|
|
45748
45793
|
}) => {
|
|
45749
45794
|
const label2 = /* @__PURE__ */ jsxs("label", {
|
|
45750
|
-
className: styles$
|
|
45795
|
+
className: styles$2l.label,
|
|
45751
45796
|
...props,
|
|
45752
45797
|
children: [children, tooltip2 && /* @__PURE__ */ jsx$1(Tooltip$2, {
|
|
45753
45798
|
children: tooltip2
|
|
@@ -45759,7 +45804,7 @@ const Label$2 = ({
|
|
|
45759
45804
|
};
|
|
45760
45805
|
const label$6 = "_label_15hk9_1";
|
|
45761
45806
|
const translation$1 = "_translation_15hk9_6";
|
|
45762
|
-
const styles$
|
|
45807
|
+
const styles$2i = {
|
|
45763
45808
|
label: label$6,
|
|
45764
45809
|
translation: translation$1
|
|
45765
45810
|
};
|
|
@@ -45799,13 +45844,13 @@ const ReplyTranslation = ({
|
|
|
45799
45844
|
children: [isExecuting && /* @__PURE__ */ jsxs("span", {
|
|
45800
45845
|
children: [t2("TRANSLATING"), "..."]
|
|
45801
45846
|
}), !isExecuting && /* @__PURE__ */ jsxs("div", {
|
|
45802
|
-
className: styles$
|
|
45847
|
+
className: styles$2i.translation,
|
|
45803
45848
|
children: [/* @__PURE__ */ jsx$1(Label$2, {
|
|
45804
45849
|
htmlFor: "",
|
|
45805
|
-
className: styles$
|
|
45850
|
+
className: styles$2i.label,
|
|
45806
45851
|
children: t2("TRANSLATION")
|
|
45807
45852
|
}), /* @__PURE__ */ jsx$1("p", {
|
|
45808
|
-
className: styles$
|
|
45853
|
+
className: styles$2i.translation,
|
|
45809
45854
|
children: data2 && data2.translatedText ? decodeHtmlEntities$1(data2.translatedText) : "---"
|
|
45810
45855
|
})]
|
|
45811
45856
|
})]
|
|
@@ -45946,6 +45991,16 @@ const Tripadvisor = () => /* @__PURE__ */ jsx$1("svg", {
|
|
|
45946
45991
|
})]
|
|
45947
45992
|
})
|
|
45948
45993
|
});
|
|
45994
|
+
const Zomato = () => /* @__PURE__ */ jsx$1("svg", {
|
|
45995
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
45996
|
+
height: "535",
|
|
45997
|
+
viewBox: "0 0 2500 535.29",
|
|
45998
|
+
width: "2500",
|
|
45999
|
+
children: /* @__PURE__ */ jsx$1("path", {
|
|
46000
|
+
d: "m381.02 135.1-2.25 72.32-188.62 205.03c78.79 0 128.75-.77 157.56-2.37-8.35 38.91-15.14 70.72-21.98 118.41-37.89-3.2-96.96-4-156.06-4-65.88 0-123.46.79-169.67 4l1.54-73.14 188.61-204.21c-82.57 0-112.88.78-146.95 1.58 7.55-36.56 12.86-77.07 18.16-117.62 59.84 2.38 83.32 3.16 161.35 3.16 71.97.01 112.85-.78 158.31-3.16zm214.39-21.48c-122.75 0-216.64 109.67-216.64 240.84 0 98.53 56.8 174.03 167.39 174.03 123.48 0 216.65-109.69 216.65-241.63.01-97.7-55.31-173.24-167.4-173.24zm-37.13 309.46c-27.28 0-43.17-24.67-43.17-73.14 0-72.32 29.54-130.32 65.92-130.32 26.49 0 42.4 23.86 42.4 73.1-.01 71.52-28.77 130.36-65.15 130.36zm1772.1-314.9c-124.32 0-219.47 111.12-219.47 243.94 0 99.87 57.55 176.37 169.59 176.37 125.09 0 219.49-111.13 219.49-244.78.01-99.02-55.99-175.53-169.61-175.53zm-39.95 314.48c-27.29 0-43.17-24.67-43.17-73.14 0-72.32 29.55-130.31 65.92-130.31 26.48 0 42.42 23.84 42.42 73.09-.02 71.55-28.81 130.36-65.17 130.36zm-890.58-165.97c9.86-67.53 4.56-128.74-70.42-128.74-54.55 0-113.63 46.1-155.29 123.19 9.1-63.6 3.78-123.19-70.45-123.19-56.05 0-116.65 48.47-158.33 128.74 10.61-52.45 8.35-112.07 5.31-124.78-43.17 7.16-81.03 11.12-134.07 12.71 1.52 36.57-.76 84.22-7.58 129.56l-17.42 119.19c-6.82 46.91-14.4 100.95-21.98 135.13h140.9c.77-20.69 6.08-53.26 9.86-81.87l12.12-81.84c9.84-53.28 52.25-116.03 84.82-116.03 18.94 0 18.2 18.27 12.89 52.44l-13.64 92.16c-6.84 46.91-14.39 100.95-21.98 135.13h142.41c.77-20.69 5.31-53.26 9.09-81.87l12.11-81.84c9.86-53.28 52.3-116.03 84.85-116.03 18.96 0 18.21 17.46 15.15 41.32l-34.02 238.41h129.97zm680.51 147.03-15.15 93.79c-23.49 12.71-67.43 31-118.18 31-86.36 0-103.76-46.1-90.15-143.85l21.98-157.36h-42.5l12-101.86 46.4-2.24 17.43-73.91 131.03-49.29-16.65 123.19h90.15c-3.02 12.71-13.66 82.67-16.64 104.1h-87.92l-19.7 145.44c-5.3 37.35-2.25 50.87 23.47 50.87 18.98-.02 46.98-11.15 64.43-19.88zm-497.04 50.66c47.69-5.91 80.51-51.88 88.4-97.75l1.33-12.29c-20.49-4.58-50.11-8.07-78.83-4.56-27.35 3.33-50.11 14.7-62.35 31.16-9.23 11.82-13.87 25.96-11.81 42.82 3.11 25.25 31.04 44.55 63.26 40.62zm-40.59 72.64c-67.31 8.27-111.64-18.45-124.95-79.22-8.35-38.24 3.24-81.8 23.51-107.79 27.15-33.99 71.39-55.81 125.38-62.4 43.45-5.39 80.06-2.73 114.3 3.75l1.42-5.87c.98-9.39 1.97-18.76.6-29.98-3.55-28.81-26.27-45.97-82.37-39.07-37.85 4.65-73.86 18.32-101.82 33.88l-27.2-82.19c37.9-21.76 85.67-38.32 140.34-45.03 104.43-12.81 177.81 20.49 187.21 97.05 2.49 20.36 2.79 41.94.22 61.52-13.41 94.66-22 165.89-25.77 213.63-.61 7.39-.56 20.09.1 38.09l-129.59-.12c2.76-7.46 5.23-17.58 7.43-30.27 1.46-8.35 2.5-18.88 3.15-31.64-27.39 37.58-65.04 59.9-111.96 65.66z",
|
|
46001
|
+
fill: "#e23744"
|
|
46002
|
+
})
|
|
46003
|
+
});
|
|
45949
46004
|
const LetterX = () => /* @__PURE__ */ jsxs("svg", {
|
|
45950
46005
|
xmlns: "http://www.w3.org/2000/svg",
|
|
45951
46006
|
width: "24",
|
|
@@ -47356,6 +47411,7 @@ const icons = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
47356
47411
|
UserPlus,
|
|
47357
47412
|
Users: Users$2,
|
|
47358
47413
|
UsersPlus,
|
|
47414
|
+
Zomato,
|
|
47359
47415
|
apple,
|
|
47360
47416
|
armChair,
|
|
47361
47417
|
arrowDown,
|
|
@@ -47428,7 +47484,7 @@ const icons = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
47428
47484
|
yes
|
|
47429
47485
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
47430
47486
|
const icon$9 = "_icon_lm3br_1";
|
|
47431
|
-
const styles$
|
|
47487
|
+
const styles$2h = {
|
|
47432
47488
|
icon: icon$9,
|
|
47433
47489
|
"icon--xs": "_icon--xs_lm3br_12",
|
|
47434
47490
|
"icon--small": "_icon--small_lm3br_15",
|
|
@@ -47443,13 +47499,13 @@ const Icon = ({
|
|
|
47443
47499
|
...props
|
|
47444
47500
|
}) => {
|
|
47445
47501
|
return /* @__PURE__ */ jsx$1("span", {
|
|
47446
|
-
className: classNames$2(styles$
|
|
47502
|
+
className: classNames$2(styles$2h["icon"], styles$2h[`icon--${size}`], className),
|
|
47447
47503
|
...props,
|
|
47448
47504
|
children: React__default.createElement(icons[icon2])
|
|
47449
47505
|
});
|
|
47450
47506
|
};
|
|
47451
47507
|
const btn$2 = "_btn_g6dop_1";
|
|
47452
|
-
const styles$
|
|
47508
|
+
const styles$2g = {
|
|
47453
47509
|
btn: btn$2,
|
|
47454
47510
|
"btn--large": "_btn--large_g6dop_16",
|
|
47455
47511
|
"btn--default": "_btn--default_g6dop_20",
|
|
@@ -47477,7 +47533,7 @@ const Button$1 = ({
|
|
|
47477
47533
|
...props
|
|
47478
47534
|
}) => {
|
|
47479
47535
|
const componentProps = {
|
|
47480
|
-
className: classNames$2(styles$
|
|
47536
|
+
className: classNames$2(styles$2g["btn"], styles$2g[`btn--${mode}`], styles$2g[`btn--${size}`], "mz-btn", className),
|
|
47481
47537
|
...props
|
|
47482
47538
|
};
|
|
47483
47539
|
const IconBtn = icon2 ? /* @__PURE__ */ jsx$1(Icon, {
|
|
@@ -47502,25 +47558,25 @@ const Button$1 = ({
|
|
|
47502
47558
|
});
|
|
47503
47559
|
};
|
|
47504
47560
|
const sronly = "_sronly_1n9bw_1";
|
|
47505
|
-
const styles$
|
|
47561
|
+
const styles$2f = {
|
|
47506
47562
|
sronly
|
|
47507
47563
|
};
|
|
47508
47564
|
const SrOnly = ({
|
|
47509
47565
|
children
|
|
47510
47566
|
}) => {
|
|
47511
47567
|
return /* @__PURE__ */ jsx$1("span", {
|
|
47512
|
-
className: styles$
|
|
47568
|
+
className: styles$2f.sronly,
|
|
47513
47569
|
children
|
|
47514
47570
|
});
|
|
47515
47571
|
};
|
|
47516
47572
|
const label$5 = "_label_wrsfp_1";
|
|
47517
|
-
const styles$
|
|
47573
|
+
const styles$2e = {
|
|
47518
47574
|
label: label$5
|
|
47519
47575
|
};
|
|
47520
47576
|
const tooltipContainer = "_tooltipContainer_13ux5_1";
|
|
47521
47577
|
const tooltipBox = "_tooltipBox_13ux5_5";
|
|
47522
47578
|
const isVisible = "_isVisible_13ux5_26";
|
|
47523
|
-
const styles$
|
|
47579
|
+
const styles$2d = {
|
|
47524
47580
|
tooltipContainer,
|
|
47525
47581
|
tooltipBox,
|
|
47526
47582
|
isVisible,
|
|
@@ -47540,14 +47596,14 @@ const Tooltip$1 = ({
|
|
|
47540
47596
|
const showTooltip = () => setIsVisible(true);
|
|
47541
47597
|
const hideTooltip = () => setIsVisible(false);
|
|
47542
47598
|
return /* @__PURE__ */ jsxs("div", {
|
|
47543
|
-
className: styles$
|
|
47599
|
+
className: styles$2d.tooltipContainer,
|
|
47544
47600
|
onMouseEnter: showTooltip,
|
|
47545
47601
|
onMouseLeave: hideTooltip,
|
|
47546
47602
|
onFocus: showTooltip,
|
|
47547
47603
|
onBlur: hideTooltip,
|
|
47548
47604
|
tabIndex: 0,
|
|
47549
47605
|
children: [children, /* @__PURE__ */ jsx$1("div", {
|
|
47550
|
-
className: classNames$2(styles$
|
|
47606
|
+
className: classNames$2(styles$2d.tooltipBox, styles$2d[`tooltip--${position2}`], isVisible2 ? styles$2d.isVisible : "", className),
|
|
47551
47607
|
...props,
|
|
47552
47608
|
children: message2 ?? ""
|
|
47553
47609
|
})]
|
|
@@ -47561,7 +47617,7 @@ const Label$1 = ({
|
|
|
47561
47617
|
...props
|
|
47562
47618
|
}) => {
|
|
47563
47619
|
const label2 = /* @__PURE__ */ jsxs("label", {
|
|
47564
|
-
className: styles$
|
|
47620
|
+
className: styles$2e.label,
|
|
47565
47621
|
...props,
|
|
47566
47622
|
children: [children, tooltip2 && /* @__PURE__ */ jsx$1(Tooltip$1, {
|
|
47567
47623
|
message: tooltip2,
|
|
@@ -49493,7 +49549,7 @@ function o(o2, n, a2) {
|
|
|
49493
49549
|
};
|
|
49494
49550
|
}
|
|
49495
49551
|
const text$2 = "_text_1f1l5_1";
|
|
49496
|
-
const styles$
|
|
49552
|
+
const styles$2c = {
|
|
49497
49553
|
text: text$2
|
|
49498
49554
|
};
|
|
49499
49555
|
const FieldError$1 = ({
|
|
@@ -49501,14 +49557,14 @@ const FieldError$1 = ({
|
|
|
49501
49557
|
}) => {
|
|
49502
49558
|
if (error3) {
|
|
49503
49559
|
return /* @__PURE__ */ jsx$1("div", {
|
|
49504
|
-
className: styles$
|
|
49560
|
+
className: styles$2c.text,
|
|
49505
49561
|
children: error3.message
|
|
49506
49562
|
});
|
|
49507
49563
|
}
|
|
49508
49564
|
return null;
|
|
49509
49565
|
};
|
|
49510
49566
|
const input$5 = "_input_1ayrx_1";
|
|
49511
|
-
const styles$
|
|
49567
|
+
const styles$2b = {
|
|
49512
49568
|
input: input$5
|
|
49513
49569
|
};
|
|
49514
49570
|
const TextArea$1 = React__default.forwardRef(({
|
|
@@ -49540,7 +49596,7 @@ const TextArea$1 = React__default.forwardRef(({
|
|
|
49540
49596
|
tooltip: tooltip2,
|
|
49541
49597
|
children: label2
|
|
49542
49598
|
}), /* @__PURE__ */ jsx$1("textarea", {
|
|
49543
|
-
className: styles$
|
|
49599
|
+
className: styles$2b.input,
|
|
49544
49600
|
onChange: handleChange,
|
|
49545
49601
|
id: id2,
|
|
49546
49602
|
name: id2,
|
|
@@ -49682,11 +49738,11 @@ const ReplyForm = ({
|
|
|
49682
49738
|
marginTop: 10
|
|
49683
49739
|
},
|
|
49684
49740
|
children: [!showTranslation && locale2 !== "en" && /* @__PURE__ */ jsx$1("span", {
|
|
49685
|
-
className: styles$
|
|
49741
|
+
className: styles$2n.translate,
|
|
49686
49742
|
onClick: () => setShowTranslation(true),
|
|
49687
49743
|
children: t2("SHOWTRANSLATION")
|
|
49688
49744
|
}), showTranslation && locale2 !== "en" && /* @__PURE__ */ jsx$1("span", {
|
|
49689
|
-
className: styles$
|
|
49745
|
+
className: styles$2n.translate,
|
|
49690
49746
|
onClick: () => setShowTranslation(false),
|
|
49691
49747
|
children: t2("HIDETRANSLATION")
|
|
49692
49748
|
})]
|
|
@@ -49735,7 +49791,7 @@ const ReplyForm = ({
|
|
|
49735
49791
|
const label$4 = "_label_x1r40_1";
|
|
49736
49792
|
const comment$1 = "_comment_x1r40_7";
|
|
49737
49793
|
const date$3 = "_date_x1r40_12";
|
|
49738
|
-
const styles$
|
|
49794
|
+
const styles$2a = {
|
|
49739
49795
|
label: label$4,
|
|
49740
49796
|
comment: comment$1,
|
|
49741
49797
|
date: date$3
|
|
@@ -49749,13 +49805,13 @@ const Reply = ({
|
|
|
49749
49805
|
return /* @__PURE__ */ jsxs("div", {
|
|
49750
49806
|
children: [/* @__PURE__ */ jsx$1(Label$2, {
|
|
49751
49807
|
htmlFor: "",
|
|
49752
|
-
className: styles$
|
|
49808
|
+
className: styles$2a.label,
|
|
49753
49809
|
children: t2("REPLY")
|
|
49754
49810
|
}), /* @__PURE__ */ jsx$1("p", {
|
|
49755
|
-
className: styles$
|
|
49811
|
+
className: styles$2a.comment,
|
|
49756
49812
|
children: reply2.comment
|
|
49757
49813
|
}), /* @__PURE__ */ jsx$1("span", {
|
|
49758
|
-
className: styles$
|
|
49814
|
+
className: styles$2a.date,
|
|
49759
49815
|
children: reply2.createdAt
|
|
49760
49816
|
}), /* @__PURE__ */ jsx$1("br", {})]
|
|
49761
49817
|
});
|
|
@@ -49832,7 +49888,8 @@ const StartScore = ({
|
|
|
49832
49888
|
const platformImages = {
|
|
49833
49889
|
tripadvisor: "https://static.tacdn.com/img2/brand_refresh/Tripadvisor_logoset_solid_green.svg",
|
|
49834
49890
|
facebook: "https://play-lh.googleusercontent.com/5pZMqQYClc5McEjaISPkvhF8pDmlbLqraTMwk1eeqTlnUSjVxPCq-MItIrJPJGe7xW4",
|
|
49835
|
-
google: "data:imagepng;base64,iVBORw0KGgoAAAANSUhEUgAAAHcAAAB6CAMAAACyeTxmAAABJlBMVEX////pQjU0qFNChfT6uwWAqvk5gfQzf/Tm7v690Pv6tgD6uQAwp1DpQDPpPC7/vADoOCklpEnn8+r63Nv98fD1sKz7wADoNjff8OPy+fT86ejrUkfoLBnoMSD4+v8QoT/sYlnudGzxj4nrST3nHQD4zszoJhD3phX/+vD7viX/9OD+8NL81IX95rj93Zb+35/94qpglvbd5/1DrV7R6NbC4cn3v7vynZjsWlD0pqHue3Txh4DtZmX1jwD80HHrVTDubSvyiCPweif1lh37xUjsTQn7xTrQ3vz8zFwhd/RJozXQtiaExZOauvmmsjh5rUWaz6beuB9Uqk3BtTCPsD+txvpmvYax2rpjuXMml5A1o3BAiec/kM4/mrA3n4kxpWI7k7yEsOVV1wY9AAAFRElEQVRoge2YaXvaRhDHhSyDDZLQIkwNSBaHIT5ip7E4fLTunYRGaUlaY9I2Pb7/l+iKW2J2pV1J+Hla/i/8xqCf5j8zO7MIwlZbbbXVZlSs6FNVipsi6r1+vVZtKupEqep1/e5AryQL1W/qVcPQVFVZkaqZbaXW6CUVud64NkxVSUHCcEO5TQBdvKkeazBzyTbMhh4rtXJnmHToDK0d11pxUgNCXZFqXMdDLjY0LSx0SjbrMbjda4Zy2CNNvYlIrdyyU7EUsxapo1sKm8VLqWaPH9s/5gl2FrLR4MXWDG6qK7PGdYxUqrwez6VVOepab6oRsdjqA2ZsKxUda7JjdeVJsJXo0aY4TBZiwLY5sLWolZxKHXNgG2bAQ90p324bhvvHhEYVTyULPfpxoWjt6m2/hze6It7uWgeNmmn4thAubKVJORwVzaz1dd85VOnV1dXxwVPJglCnJFdTb+GhXukvxyUftkdOLnWg4/Vg1gQ8JgvFFNFlrUlfYPTa5JV5GkgQ7kguK+27wC/32wpXA+E8kVwON8dbKl+0wheEg0pthhtpOh/2/EsCtprsBei+9Oyrz6Bok8WeZaVS7us1sKIlfN27zEmSVPrGD27Hd/WAJblcqfTMCzb7CWMvstJEJWk1yep1wljhPifNVPp2AVa0eK+W6zo5XXCl0ncbc1k4z0pLzRtKaSb+w8nznLQKnjaUGfVmF6zvPdxpQympxMM9k/zCDaUFD6Go8qR37vUPSRezILzIrXEl6RXtG6932fQafMobgJt7TuPuD9IsyuyCT/GXlavsBZWb2WHSS+ghJ68g7kmc3J0j4CHr5YxtPqVh2bl7wEPOofS+iZWbvgrLpZYVOxcq6Iv19pWyl7FyM/thuS82wIXK+fP/MPepfH6iutpAH4XnxntugFzwnJRi5YLnxgbmAnhOCiA31jkIc8G5fx8nF5yD4J6TO6UZvT/IEAVhwbkP7XV56ccOhXu0RxZkM8xdL+j8Wxk5FC7tlQbr3Mw7+LO+BSuX/0kURbnAxYVSD7av4L+n5KWfMVZEQy7ubhrgguXsS3D+/QcXK8o2T8BHYFmB5ey9h+Z/EWfiyvADYHMaXp+FlXt3Lv+ruBA6ZMYevQTCzTyQPj4fhXnpwxKLnWbm7gPVTEwv1tTo/HvRI2anwewS04t1mZ23j0dWl437Djqt0oTudXWSnbePL2KmFO8DPUS1GVfWvH28YmqmK9BlwuE809lbgMoGPtqBwyVW80QjmQCWaQNiRXswdidDripXhxbMFWX0GAZ7RcDSqmoiBxHAojUKxj5AjetqQA9XEMo2wWlc1WJAPx2OP6YJ4RLPyIW6xICx12NKlgsOktFvv4ObRjooXKwRGeySu2XwWx1HRBNP/oAmb1B2J+9NdtolW7bT8aHLneEYofn/PwHgEOFip0k1PY/ZEkfDx27BVaf76IxlC628qvWnv6Yz8A9XaxrSwRM2smZCyG8P+subZMLvVoDGlBSHkGz9vdpPlEHkFzXFIWR9zCy8hm8JsChdHE7LhhoQtkhYh5HBs4Ya0OdB/GAZfcKHV/iaig3sNhQ71j0/olW121D/sGOxRoF9HBAw5+UKHyARvJYR4zq4og6/18hm3/eXKjtrx2C4YC0Hnluh1eUJGdn8Hi9CHsqMZISGEYOdkR2LgYwsJ0pmPSoMUbjSxsPZ4fuFgKTu2AoqMQy143HYo4K7zZDYMoaOhyGXe3b0o2Mjd8WQ5QVPdpcPNB4NY8sqqHKhg1cq254iRdsej5zHTiF+e2F6uXDoqrAp4FZbbfW/179wN6bIyeplrwAAAABJRU5ErkJggg=="
|
|
49891
|
+
google: "data:imagepng;base64,iVBORw0KGgoAAAANSUhEUgAAAHcAAAB6CAMAAACyeTxmAAABJlBMVEX////pQjU0qFNChfT6uwWAqvk5gfQzf/Tm7v690Pv6tgD6uQAwp1DpQDPpPC7/vADoOCklpEnn8+r63Nv98fD1sKz7wADoNjff8OPy+fT86ejrUkfoLBnoMSD4+v8QoT/sYlnudGzxj4nrST3nHQD4zszoJhD3phX/+vD7viX/9OD+8NL81IX95rj93Zb+35/94qpglvbd5/1DrV7R6NbC4cn3v7vynZjsWlD0pqHue3Txh4DtZmX1jwD80HHrVTDubSvyiCPweif1lh37xUjsTQn7xTrQ3vz8zFwhd/RJozXQtiaExZOauvmmsjh5rUWaz6beuB9Uqk3BtTCPsD+txvpmvYax2rpjuXMml5A1o3BAiec/kM4/mrA3n4kxpWI7k7yEsOVV1wY9AAAFRElEQVRoge2YaXvaRhDHhSyDDZLQIkwNSBaHIT5ip7E4fLTunYRGaUlaY9I2Pb7/l+iKW2J2pV1J+Hla/i/8xqCf5j8zO7MIwlZbbbXVZlSs6FNVipsi6r1+vVZtKupEqep1/e5AryQL1W/qVcPQVFVZkaqZbaXW6CUVud64NkxVSUHCcEO5TQBdvKkeazBzyTbMhh4rtXJnmHToDK0d11pxUgNCXZFqXMdDLjY0LSx0SjbrMbjda4Zy2CNNvYlIrdyyU7EUsxapo1sKm8VLqWaPH9s/5gl2FrLR4MXWDG6qK7PGdYxUqrwez6VVOepab6oRsdjqA2ZsKxUda7JjdeVJsJXo0aY4TBZiwLY5sLWolZxKHXNgG2bAQ90p324bhvvHhEYVTyULPfpxoWjt6m2/hze6It7uWgeNmmn4thAubKVJORwVzaz1dd85VOnV1dXxwVPJglCnJFdTb+GhXukvxyUftkdOLnWg4/Vg1gQ8JgvFFNFlrUlfYPTa5JV5GkgQ7kguK+27wC/32wpXA+E8kVwON8dbKl+0wheEg0pthhtpOh/2/EsCtprsBei+9Oyrz6Bok8WeZaVS7us1sKIlfN27zEmSVPrGD27Hd/WAJblcqfTMCzb7CWMvstJEJWk1yep1wljhPifNVPp2AVa0eK+W6zo5XXCl0ncbc1k4z0pLzRtKaSb+w8nznLQKnjaUGfVmF6zvPdxpQympxMM9k/zCDaUFD6Go8qR37vUPSRezILzIrXEl6RXtG6932fQafMobgJt7TuPuD9IsyuyCT/GXlavsBZWb2WHSS+ghJ68g7kmc3J0j4CHr5YxtPqVh2bl7wEPOofS+iZWbvgrLpZYVOxcq6Iv19pWyl7FyM/thuS82wIXK+fP/MPepfH6iutpAH4XnxntugFzwnJRi5YLnxgbmAnhOCiA31jkIc8G5fx8nF5yD4J6TO6UZvT/IEAVhwbkP7XV56ccOhXu0RxZkM8xdL+j8Wxk5FC7tlQbr3Mw7+LO+BSuX/0kURbnAxYVSD7av4L+n5KWfMVZEQy7ubhrgguXsS3D+/QcXK8o2T8BHYFmB5ey9h+Z/EWfiyvADYHMaXp+FlXt3Lv+ruBA6ZMYevQTCzTyQPj4fhXnpwxKLnWbm7gPVTEwv1tTo/HvRI2anwewS04t1mZ23j0dWl437Djqt0oTudXWSnbePL2KmFO8DPUS1GVfWvH28YmqmK9BlwuE809lbgMoGPtqBwyVW80QjmQCWaQNiRXswdidDripXhxbMFWX0GAZ7RcDSqmoiBxHAojUKxj5AjetqQA9XEMo2wWlc1WJAPx2OP6YJ4RLPyIW6xICx12NKlgsOktFvv4ObRjooXKwRGeySu2XwWx1HRBNP/oAmb1B2J+9NdtolW7bT8aHLneEYofn/PwHgEOFip0k1PY/ZEkfDx27BVaf76IxlC628qvWnv6Yz8A9XaxrSwRM2smZCyG8P+subZMLvVoDGlBSHkGz9vdpPlEHkFzXFIWR9zCy8hm8JsChdHE7LhhoQtkhYh5HBs4Ya0OdB/GAZfcKHV/iaig3sNhQ71j0/olW121D/sGOxRoF9HBAw5+UKHyARvJYR4zq4og6/18hm3/eXKjtrx2C4YC0Hnluh1eUJGdn8Hi9CHsqMZISGEYOdkR2LgYwsJ0pmPSoMUbjSxsPZ4fuFgKTu2AoqMQy143HYo4K7zZDYMoaOhyGXe3b0o2Mjd8WQ5QVPdpcPNB4NY8sqqHKhg1cq254iRdsej5zHTiF+e2F6uXDoqrAp4FZbbfW/179wN6bIyeplrwAAAABJRU5ErkJggg==",
|
|
49892
|
+
zomato: "https://b.zmtcdn.com/web/assets/2267aec184e096c98c46a1565a5563661664945464.png"
|
|
49836
49893
|
};
|
|
49837
49894
|
const detail$1 = "_detail_ypeoh_1";
|
|
49838
49895
|
const hidden = "_hidden_ypeoh_14";
|
|
@@ -49841,7 +49898,7 @@ const back = "_back_ypeoh_30";
|
|
|
49841
49898
|
const statusbar = "_statusbar_ypeoh_38";
|
|
49842
49899
|
const statusbar__icons = "_statusbar__icons_ypeoh_44";
|
|
49843
49900
|
const platform$1 = "_platform_ypeoh_48";
|
|
49844
|
-
const styles$
|
|
49901
|
+
const styles$29 = {
|
|
49845
49902
|
detail: detail$1,
|
|
49846
49903
|
hidden,
|
|
49847
49904
|
reviewer: reviewer$1,
|
|
@@ -49864,39 +49921,46 @@ const Comment = ({
|
|
|
49864
49921
|
t: t2
|
|
49865
49922
|
} = useTranslation();
|
|
49866
49923
|
const [lang2] = useContext(ContextLang);
|
|
49924
|
+
const parseHtml = (text2) => {
|
|
49925
|
+
if (!text2) return "";
|
|
49926
|
+
return text2.replace(/<br\s*\/?>/gi, "<br />");
|
|
49927
|
+
};
|
|
49928
|
+
const parsedComment = parseHtml(children);
|
|
49867
49929
|
return /* @__PURE__ */ jsxs("div", {
|
|
49868
49930
|
children: [/* @__PURE__ */ jsx$1(Label$2, {
|
|
49869
49931
|
htmlFor: "",
|
|
49870
|
-
className: styles$
|
|
49932
|
+
className: styles$2n.label,
|
|
49871
49933
|
children: t2("REVIEW")
|
|
49872
49934
|
}), /* @__PURE__ */ jsx$1("p", {
|
|
49873
|
-
className: styles$
|
|
49874
|
-
|
|
49935
|
+
className: styles$2n.comment,
|
|
49936
|
+
dangerouslySetInnerHTML: {
|
|
49937
|
+
__html: parsedComment
|
|
49938
|
+
}
|
|
49875
49939
|
}), !showTranslation && locale2 !== lang2 && /* @__PURE__ */ jsx$1("span", {
|
|
49876
|
-
className: styles$
|
|
49940
|
+
className: styles$2n.translate,
|
|
49877
49941
|
onClick: () => setShowTranslation(true),
|
|
49878
49942
|
children: t2("SHOWTRANSLATION")
|
|
49879
49943
|
}), showTranslation && locale2 !== lang2 && /* @__PURE__ */ jsx$1("span", {
|
|
49880
|
-
className: styles$
|
|
49944
|
+
className: styles$2n.translate,
|
|
49881
49945
|
onClick: () => setShowTranslation(false),
|
|
49882
49946
|
children: t2("HIDETRANSLATION")
|
|
49883
49947
|
})]
|
|
49884
49948
|
});
|
|
49885
49949
|
};
|
|
49886
49950
|
const flag = "_flag_wd4ay_1";
|
|
49887
|
-
const styles$
|
|
49951
|
+
const styles$28 = {
|
|
49888
49952
|
flag
|
|
49889
49953
|
};
|
|
49890
49954
|
const CountryFlag = ({
|
|
49891
49955
|
locale: locale2
|
|
49892
49956
|
}) => {
|
|
49893
49957
|
return /* @__PURE__ */ jsx$1("span", {
|
|
49894
|
-
className: `fib fi-${locale2 === "en" ? "gb" : locale2} ${styles$
|
|
49958
|
+
className: `fib fi-${locale2 === "en" ? "gb" : locale2} ${styles$28.flag}`
|
|
49895
49959
|
});
|
|
49896
49960
|
};
|
|
49897
49961
|
const label$3 = "_label_15hk9_1";
|
|
49898
49962
|
const translation = "_translation_15hk9_6";
|
|
49899
|
-
const styles$
|
|
49963
|
+
const styles$27 = {
|
|
49900
49964
|
label: label$3,
|
|
49901
49965
|
translation
|
|
49902
49966
|
};
|
|
@@ -49939,13 +50003,13 @@ const CommentTranslation = ({
|
|
|
49939
50003
|
children: [isLoading && /* @__PURE__ */ jsxs("span", {
|
|
49940
50004
|
children: [t2("TRANSLATING"), "..."]
|
|
49941
50005
|
}), !isLoading && /* @__PURE__ */ jsxs("div", {
|
|
49942
|
-
className: styles$
|
|
50006
|
+
className: styles$27.translation,
|
|
49943
50007
|
children: [/* @__PURE__ */ jsx$1(Label$2, {
|
|
49944
50008
|
htmlFor: "",
|
|
49945
|
-
className: styles$
|
|
50009
|
+
className: styles$27.label,
|
|
49946
50010
|
children: t2("TRANSLATION")
|
|
49947
50011
|
}), /* @__PURE__ */ jsx$1("p", {
|
|
49948
|
-
className: styles$
|
|
50012
|
+
className: styles$27.translation,
|
|
49949
50013
|
children: decodeHtmlEntities(data2 || "")
|
|
49950
50014
|
})]
|
|
49951
50015
|
})]
|
|
@@ -49953,7 +50017,7 @@ const CommentTranslation = ({
|
|
|
49953
50017
|
};
|
|
49954
50018
|
const label$2 = "_label_13kaz_1";
|
|
49955
50019
|
const title$3 = "_title_13kaz_5";
|
|
49956
|
-
const styles$
|
|
50020
|
+
const styles$26 = {
|
|
49957
50021
|
label: label$2,
|
|
49958
50022
|
title: title$3
|
|
49959
50023
|
};
|
|
@@ -49966,10 +50030,10 @@ const Title = ({
|
|
|
49966
50030
|
return /* @__PURE__ */ jsxs("div", {
|
|
49967
50031
|
children: [/* @__PURE__ */ jsx$1(Label$2, {
|
|
49968
50032
|
htmlFor: "",
|
|
49969
|
-
className: styles$
|
|
50033
|
+
className: styles$26.label,
|
|
49970
50034
|
children: t2("TITLE")
|
|
49971
50035
|
}), /* @__PURE__ */ jsx$1("p", {
|
|
49972
|
-
className: styles$
|
|
50036
|
+
className: styles$26.title,
|
|
49973
50037
|
children
|
|
49974
50038
|
})]
|
|
49975
50039
|
});
|
|
@@ -50147,7 +50211,7 @@ const formatData$k = (data2) => {
|
|
|
50147
50211
|
});
|
|
50148
50212
|
};
|
|
50149
50213
|
const text$1 = "_text_12cto_1";
|
|
50150
|
-
const styles$
|
|
50214
|
+
const styles$25 = {
|
|
50151
50215
|
text: text$1
|
|
50152
50216
|
};
|
|
50153
50217
|
const tagsMap$2 = {
|
|
@@ -50160,7 +50224,7 @@ const TemplateText = ({
|
|
|
50160
50224
|
text: text2
|
|
50161
50225
|
}) => {
|
|
50162
50226
|
return /* @__PURE__ */ jsx$1("p", {
|
|
50163
|
-
className: styles$
|
|
50227
|
+
className: styles$25.text,
|
|
50164
50228
|
children: text2.split("@@").map((item2, index2) => {
|
|
50165
50229
|
if (tagsMap$2[item2]) {
|
|
50166
50230
|
return /* @__PURE__ */ jsx$1("span", {
|
|
@@ -50172,7 +50236,7 @@ const TemplateText = ({
|
|
|
50172
50236
|
});
|
|
50173
50237
|
};
|
|
50174
50238
|
const button$7 = "_button_1hbqp_1";
|
|
50175
|
-
const styles$
|
|
50239
|
+
const styles$24 = {
|
|
50176
50240
|
button: button$7
|
|
50177
50241
|
};
|
|
50178
50242
|
const Template$1 = ({
|
|
@@ -50187,7 +50251,7 @@ const Template$1 = ({
|
|
|
50187
50251
|
children: [/* @__PURE__ */ jsx$1(TemplateText, {
|
|
50188
50252
|
text: text2
|
|
50189
50253
|
}), /* @__PURE__ */ jsx$1("button", {
|
|
50190
|
-
className: styles$
|
|
50254
|
+
className: styles$24.button,
|
|
50191
50255
|
onClick: handleClickUse,
|
|
50192
50256
|
children: "Use"
|
|
50193
50257
|
})]
|
|
@@ -50196,7 +50260,7 @@ const Template$1 = ({
|
|
|
50196
50260
|
const container$z = "_container_1ej4w_1";
|
|
50197
50261
|
const hide$1 = "_hide_1ej4w_8";
|
|
50198
50262
|
const toolbar$3 = "_toolbar_1ej4w_12";
|
|
50199
|
-
const styles$
|
|
50263
|
+
const styles$23 = {
|
|
50200
50264
|
container: container$z,
|
|
50201
50265
|
hide: hide$1,
|
|
50202
50266
|
toolbar: toolbar$3
|
|
@@ -56276,7 +56340,7 @@ var StateManagedSelect = /* @__PURE__ */ forwardRef(function(props, ref) {
|
|
|
56276
56340
|
});
|
|
56277
56341
|
const tooltip$1 = "_tooltip_17puf_1";
|
|
56278
56342
|
const tooltip__icon = "_tooltip__icon_17puf_4";
|
|
56279
|
-
const styles$
|
|
56343
|
+
const styles$22 = {
|
|
56280
56344
|
tooltip: tooltip$1,
|
|
56281
56345
|
tooltip__icon
|
|
56282
56346
|
};
|
|
@@ -56284,9 +56348,9 @@ const LockTooltip = ({
|
|
|
56284
56348
|
children
|
|
56285
56349
|
}) => {
|
|
56286
56350
|
return /* @__PURE__ */ jsxs("div", {
|
|
56287
|
-
className: styles$
|
|
56351
|
+
className: styles$22.tooltip,
|
|
56288
56352
|
children: [/* @__PURE__ */ jsx$1(Icon$1, {
|
|
56289
|
-
className: styles$
|
|
56353
|
+
className: styles$22.tooltip__icon,
|
|
56290
56354
|
icon: "lock",
|
|
56291
56355
|
size: "small",
|
|
56292
56356
|
"data-tip": children
|
|
@@ -56300,7 +56364,7 @@ const LockTooltip = ({
|
|
|
56300
56364
|
};
|
|
56301
56365
|
const container$y = "_container_ut3y7_1";
|
|
56302
56366
|
const tooltip = "_tooltip_ut3y7_5";
|
|
56303
|
-
const styles$
|
|
56367
|
+
const styles$21 = {
|
|
56304
56368
|
container: container$y,
|
|
56305
56369
|
tooltip
|
|
56306
56370
|
};
|
|
@@ -56329,7 +56393,7 @@ const NewSelect = ({
|
|
|
56329
56393
|
...props
|
|
56330
56394
|
}) => {
|
|
56331
56395
|
return /* @__PURE__ */ jsxs("div", {
|
|
56332
|
-
className: styles$
|
|
56396
|
+
className: styles$21.container,
|
|
56333
56397
|
children: [label2 && /* @__PURE__ */ jsx$1(Label$2, {
|
|
56334
56398
|
htmlFor: id2,
|
|
56335
56399
|
children: label2
|
|
@@ -56343,7 +56407,7 @@ const NewSelect = ({
|
|
|
56343
56407
|
id: id2,
|
|
56344
56408
|
isDisabled
|
|
56345
56409
|
}), isDisabled && /* @__PURE__ */ jsx$1("div", {
|
|
56346
|
-
className: styles$
|
|
56410
|
+
className: styles$21.tooltip,
|
|
56347
56411
|
children: /* @__PURE__ */ jsx$1(LockTooltip, {
|
|
56348
56412
|
children: disabledTooltip
|
|
56349
56413
|
})
|
|
@@ -56419,12 +56483,12 @@ const filterTemplatesByLanguage = (templates, language) => {
|
|
|
56419
56483
|
};
|
|
56420
56484
|
const header$9 = "_header_1jmjy_1";
|
|
56421
56485
|
const icon$8 = "_icon_1jmjy_11";
|
|
56422
|
-
const styles$
|
|
56486
|
+
const styles$20 = {
|
|
56423
56487
|
header: header$9,
|
|
56424
56488
|
icon: icon$8
|
|
56425
56489
|
};
|
|
56426
56490
|
const heading = "_heading_1fifa_1";
|
|
56427
|
-
const styles$
|
|
56491
|
+
const styles$1$ = {
|
|
56428
56492
|
heading,
|
|
56429
56493
|
"heading--large": "_heading--large_1fifa_7",
|
|
56430
56494
|
"heading--medium": "_heading--medium_1fifa_15",
|
|
@@ -56440,7 +56504,7 @@ const Heading = ({
|
|
|
56440
56504
|
const Tag2 = level;
|
|
56441
56505
|
return /* @__PURE__ */ jsx$1(Tag2, {
|
|
56442
56506
|
id: id2,
|
|
56443
|
-
className: classNames$2(styles$
|
|
56507
|
+
className: classNames$2(styles$1$["heading"], styles$1$[`heading--${size}`]),
|
|
56444
56508
|
...props,
|
|
56445
56509
|
children
|
|
56446
56510
|
});
|
|
@@ -56455,18 +56519,18 @@ const Header$6 = ({
|
|
|
56455
56519
|
return header2;
|
|
56456
56520
|
}
|
|
56457
56521
|
return /* @__PURE__ */ jsxs("div", {
|
|
56458
|
-
className: styles$
|
|
56522
|
+
className: styles$20.header,
|
|
56459
56523
|
children: [/* @__PURE__ */ jsx$1(Heading, {
|
|
56460
56524
|
children: header2.title
|
|
56461
56525
|
}), typeof header2.icon === "string" && /* @__PURE__ */ jsx$1(Icon, {
|
|
56462
56526
|
icon: header2.icon,
|
|
56463
56527
|
onClick: header2.onClickIcon,
|
|
56464
|
-
className: styles$
|
|
56528
|
+
className: styles$20.icon
|
|
56465
56529
|
}), typeof header2.icon !== "string" && header2.icon && header2.icon]
|
|
56466
56530
|
});
|
|
56467
56531
|
};
|
|
56468
56532
|
const container$x = "_container_pc1hp_1";
|
|
56469
|
-
const styles$
|
|
56533
|
+
const styles$1_ = {
|
|
56470
56534
|
container: container$x
|
|
56471
56535
|
};
|
|
56472
56536
|
const Card$1 = ({
|
|
@@ -56478,12 +56542,12 @@ const Card$1 = ({
|
|
|
56478
56542
|
}) => {
|
|
56479
56543
|
return /* @__PURE__ */ jsx$1(Fragment, {
|
|
56480
56544
|
children: /* @__PURE__ */ jsxs("div", {
|
|
56481
|
-
className: classNames$2(styles$
|
|
56545
|
+
className: classNames$2(styles$1_.container, className, "mz-card"),
|
|
56482
56546
|
style: style2,
|
|
56483
56547
|
children: [/* @__PURE__ */ jsx$1(Header$6, {
|
|
56484
56548
|
header: header2
|
|
56485
56549
|
}), /* @__PURE__ */ jsx$1("div", {
|
|
56486
|
-
className: classNames$2(styles$
|
|
56550
|
+
className: classNames$2(styles$1_.content, classNameContent),
|
|
56487
56551
|
children
|
|
56488
56552
|
})]
|
|
56489
56553
|
})
|
|
@@ -56555,11 +56619,11 @@ const TemplatesModal = ({
|
|
|
56555
56619
|
icon: "close",
|
|
56556
56620
|
onClickIcon: onClose2
|
|
56557
56621
|
},
|
|
56558
|
-
className: classNames$2(styles$
|
|
56559
|
-
[styles$
|
|
56622
|
+
className: classNames$2(styles$23.container, {
|
|
56623
|
+
[styles$23.hide]: !open
|
|
56560
56624
|
}),
|
|
56561
56625
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
56562
|
-
className: styles$
|
|
56626
|
+
className: styles$23.toolbar,
|
|
56563
56627
|
children: [/* @__PURE__ */ jsx$1(NewSelect, {
|
|
56564
56628
|
label: t2("REPLYTEMPLATETYPE"),
|
|
56565
56629
|
options: typeOptions,
|
|
@@ -56598,6 +56662,7 @@ const DetailMobile = ({
|
|
|
56598
56662
|
locationName,
|
|
56599
56663
|
locale: locale2,
|
|
56600
56664
|
reviewUrl,
|
|
56665
|
+
module: module2,
|
|
56601
56666
|
meta,
|
|
56602
56667
|
onReload,
|
|
56603
56668
|
openForm,
|
|
@@ -56618,31 +56683,38 @@ const DetailMobile = ({
|
|
|
56618
56683
|
const openModal = () => setShowTemplates(true);
|
|
56619
56684
|
const closeModal = () => setShowTemplates(false);
|
|
56620
56685
|
return /* @__PURE__ */ jsxs("div", {
|
|
56621
|
-
className: classNames$2(styles$
|
|
56622
|
-
[styles$
|
|
56686
|
+
className: classNames$2(styles$29.detail, {
|
|
56687
|
+
[styles$29.hidden]: !openForm
|
|
56623
56688
|
}),
|
|
56624
56689
|
children: [/* @__PURE__ */ jsx$1("div", {
|
|
56625
56690
|
onClick,
|
|
56626
|
-
className: styles$
|
|
56691
|
+
className: styles$29.back,
|
|
56627
56692
|
children: /* @__PURE__ */ jsx$1(Icon, {
|
|
56628
56693
|
icon: "close"
|
|
56629
56694
|
})
|
|
56630
56695
|
}), /* @__PURE__ */ jsxs("div", {
|
|
56631
|
-
className: styles$
|
|
56696
|
+
className: styles$29.statusbar,
|
|
56632
56697
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
56633
|
-
className: styles$
|
|
56698
|
+
className: styles$29.statusbar__icons,
|
|
56634
56699
|
children: [/* @__PURE__ */ jsx$1(Icon, {
|
|
56635
56700
|
icon: reply2 ? "mailReplied" : "mailNotReplied"
|
|
56636
56701
|
}), /* @__PURE__ */ jsx$1("img", {
|
|
56637
56702
|
alt: platform2,
|
|
56638
|
-
src: platformImages[platform2],
|
|
56639
|
-
className: styles$
|
|
56703
|
+
src: module2.logo || reviewer2.profilePhoto || platformImages[platform2] || "",
|
|
56704
|
+
className: styles$29.platform,
|
|
56705
|
+
onError: (e) => {
|
|
56706
|
+
const target = e.target;
|
|
56707
|
+
const fallback = reviewer2.profilePhoto || platformImages[platform2] || "";
|
|
56708
|
+
if (target.src !== fallback) {
|
|
56709
|
+
target.src = fallback;
|
|
56710
|
+
}
|
|
56711
|
+
}
|
|
56640
56712
|
})]
|
|
56641
56713
|
}), /* @__PURE__ */ jsx$1("div", {
|
|
56642
56714
|
children: createdAt
|
|
56643
56715
|
})]
|
|
56644
56716
|
}), /* @__PURE__ */ jsxs("strong", {
|
|
56645
|
-
className: styles$
|
|
56717
|
+
className: styles$29.reviewer,
|
|
56646
56718
|
children: [reviewer2.name, " ", ` `, locale2 && /* @__PURE__ */ jsx$1(CountryFlag, {
|
|
56647
56719
|
locale: locale2
|
|
56648
56720
|
})]
|
|
@@ -56686,8 +56758,8 @@ const DetailMobile = ({
|
|
|
56686
56758
|
}), showTranslation && /* @__PURE__ */ jsx$1(CommentTranslation, {
|
|
56687
56759
|
commentId: id2
|
|
56688
56760
|
})]
|
|
56689
|
-
}), platform2 !== "tripadvisor" ? /* @__PURE__ */ jsx$1("div", {
|
|
56690
|
-
className: styles$
|
|
56761
|
+
}), platform2 !== "tripadvisor" && platform2 !== "zomato" ? /* @__PURE__ */ jsx$1("div", {
|
|
56762
|
+
className: styles$29["container--reply"],
|
|
56691
56763
|
children: reply2 && platform2 !== "facebook" && platform2 !== "google" ? /* @__PURE__ */ jsx$1(Reply, {
|
|
56692
56764
|
reply: reply2
|
|
56693
56765
|
}) : /* @__PURE__ */ jsx$1(ReplyForm, {
|
|
@@ -56703,7 +56775,7 @@ const DetailMobile = ({
|
|
|
56703
56775
|
reply: reply2
|
|
56704
56776
|
})
|
|
56705
56777
|
}) : /* @__PURE__ */ jsx$1("div", {
|
|
56706
|
-
className: styles$
|
|
56778
|
+
className: styles$29["container--reply"],
|
|
56707
56779
|
children: reply2 && /* @__PURE__ */ jsx$1(Reply, {
|
|
56708
56780
|
reply: reply2
|
|
56709
56781
|
})
|
|
@@ -56711,7 +56783,7 @@ const DetailMobile = ({
|
|
|
56711
56783
|
open: showTemplates,
|
|
56712
56784
|
rating,
|
|
56713
56785
|
onClose: closeModal
|
|
56714
|
-
}), platform2 !== "tripadvisor" ? /* @__PURE__ */ jsxs(Fragment, {
|
|
56786
|
+
}), platform2 !== "tripadvisor" && platform2 !== "zomato" ? /* @__PURE__ */ jsxs(Fragment, {
|
|
56715
56787
|
children: [/* @__PURE__ */ jsx$1(Button$1, {
|
|
56716
56788
|
isLoading: isSuggesting,
|
|
56717
56789
|
onClick: () => onSuggestTemplate(),
|
|
@@ -56728,21 +56800,21 @@ const DetailMobile = ({
|
|
|
56728
56800
|
type: "submit",
|
|
56729
56801
|
size: "small",
|
|
56730
56802
|
mode: "primary",
|
|
56731
|
-
children: t2("TRIPADVISORREPLY"),
|
|
56732
|
-
onClick: () => window.open(reviewUrl ?? "tripadvisor.com")
|
|
56803
|
+
children: platform2 === "zomato" ? t2("ZOMATOREPLY") : t2("TRIPADVISORREPLY"),
|
|
56804
|
+
onClick: () => window.open(reviewUrl ?? (platform2 === "zomato" ? "zomato.com" : "tripadvisor.com"))
|
|
56733
56805
|
})]
|
|
56734
56806
|
});
|
|
56735
56807
|
};
|
|
56736
56808
|
const detail = "_detail_1nbuk_1";
|
|
56737
56809
|
const reply = "_reply_1nbuk_10";
|
|
56738
56810
|
const hide = "_hide_1nbuk_14";
|
|
56739
|
-
const styles$
|
|
56811
|
+
const styles$1Z = {
|
|
56740
56812
|
detail,
|
|
56741
56813
|
reply,
|
|
56742
56814
|
hide
|
|
56743
56815
|
};
|
|
56744
56816
|
const btn$1 = "_btn_1wg4v_1";
|
|
56745
|
-
const styles$
|
|
56817
|
+
const styles$1Y = {
|
|
56746
56818
|
btn: btn$1,
|
|
56747
56819
|
"btn--large": "_btn--large_1wg4v_16",
|
|
56748
56820
|
"btn--small": "_btn--small_1wg4v_19",
|
|
@@ -56767,7 +56839,7 @@ const Button = React__default.forwardRef(({
|
|
|
56767
56839
|
...props
|
|
56768
56840
|
}, ref = null) => {
|
|
56769
56841
|
const componentProps = {
|
|
56770
|
-
className: classNames$2(styles$
|
|
56842
|
+
className: classNames$2(styles$1Y["btn"], styles$1Y[`btn--${mode}`], styles$1Y[`btn--${size}`], "mz-btn", className),
|
|
56771
56843
|
...props
|
|
56772
56844
|
};
|
|
56773
56845
|
const IconBtn = icon2 ? /* @__PURE__ */ jsx$1(Icon$1, {
|
|
@@ -56820,8 +56892,8 @@ const DetailDesktop = ({
|
|
|
56820
56892
|
const [showTranslation, setShowTranslation] = useState(false);
|
|
56821
56893
|
const shouldShowReply = reply2 && (platform2 !== "facebook" && platform2 !== "google" || platform2 === "facebook" && (!reply2.replyExternalId || reply2.replyExternalId === ""));
|
|
56822
56894
|
return /* @__PURE__ */ jsxs("div", {
|
|
56823
|
-
className: classNames$2(styles$
|
|
56824
|
-
[styles$
|
|
56895
|
+
className: classNames$2(styles$1Z.detail, {
|
|
56896
|
+
[styles$1Z.hide]: !openForm
|
|
56825
56897
|
}),
|
|
56826
56898
|
children: [meta && /* @__PURE__ */ jsxs("div", {
|
|
56827
56899
|
style: {
|
|
@@ -56861,8 +56933,8 @@ const DetailDesktop = ({
|
|
|
56861
56933
|
}), showTranslation && /* @__PURE__ */ jsx$1(CommentTranslation, {
|
|
56862
56934
|
commentId: id2
|
|
56863
56935
|
})]
|
|
56864
|
-
}), platform2 !== "tripadvisor" ? /* @__PURE__ */ jsx$1("div", {
|
|
56865
|
-
className: styles$
|
|
56936
|
+
}), platform2 !== "tripadvisor" && platform2 !== "zomato" ? /* @__PURE__ */ jsx$1("div", {
|
|
56937
|
+
className: styles$1Z.reply,
|
|
56866
56938
|
children: shouldShowReply ? /* @__PURE__ */ jsx$1(Reply, {
|
|
56867
56939
|
reply: reply2
|
|
56868
56940
|
}) : /* @__PURE__ */ jsx$1(ReplyForm, {
|
|
@@ -56878,7 +56950,7 @@ const DetailDesktop = ({
|
|
|
56878
56950
|
reply: reply2
|
|
56879
56951
|
})
|
|
56880
56952
|
}) : /* @__PURE__ */ jsx$1("div", {
|
|
56881
|
-
className: styles$
|
|
56953
|
+
className: styles$1Z.reply,
|
|
56882
56954
|
children: reply2 ? /* @__PURE__ */ jsx$1(Reply, {
|
|
56883
56955
|
reply: reply2
|
|
56884
56956
|
}) : /* @__PURE__ */ jsx$1("div", {
|
|
@@ -56890,8 +56962,8 @@ const DetailDesktop = ({
|
|
|
56890
56962
|
type: "submit",
|
|
56891
56963
|
size: "small",
|
|
56892
56964
|
mode: "primary",
|
|
56893
|
-
children: t2("TRIPADVISORREPLY"),
|
|
56894
|
-
onClick: () => window.open(reviewUrl ?? "tripadvisor.com")
|
|
56965
|
+
children: platform2 === "zomato" ? t2("ZOMATOREPLY") : t2("TRIPADVISORREPLY"),
|
|
56966
|
+
onClick: () => window.open(reviewUrl ?? (platform2 === "zomato" ? "zomato.com" : "tripadvisor.com"))
|
|
56895
56967
|
})
|
|
56896
56968
|
})
|
|
56897
56969
|
})]
|
|
@@ -56908,7 +56980,7 @@ const image$1 = "_image_x6ey8_40";
|
|
|
56908
56980
|
const imageMobile = "_imageMobile_x6ey8_46";
|
|
56909
56981
|
const reviewer = "_reviewer_x6ey8_61";
|
|
56910
56982
|
const location = "_location_x6ey8_66";
|
|
56911
|
-
const styles$
|
|
56983
|
+
const styles$1X = {
|
|
56912
56984
|
container: container$w,
|
|
56913
56985
|
light,
|
|
56914
56986
|
active,
|
|
@@ -56941,6 +57013,7 @@ const Review = ({
|
|
|
56941
57013
|
platform: platform2,
|
|
56942
57014
|
createdAt,
|
|
56943
57015
|
locationName,
|
|
57016
|
+
venueListingId,
|
|
56944
57017
|
locale: locale2,
|
|
56945
57018
|
reviewUrl,
|
|
56946
57019
|
module: module2,
|
|
@@ -56972,30 +57045,37 @@ const Review = ({
|
|
|
56972
57045
|
}
|
|
56973
57046
|
}, [data2]);
|
|
56974
57047
|
return /* @__PURE__ */ jsxs("article", {
|
|
56975
|
-
className: classNames$2(styles$
|
|
56976
|
-
[styles$
|
|
56977
|
-
[styles$
|
|
57048
|
+
className: classNames$2(styles$1X.container, {
|
|
57049
|
+
[styles$1X.light]: light2,
|
|
57050
|
+
[styles$1X.active]: openForm
|
|
56978
57051
|
}),
|
|
56979
57052
|
children: [/* @__PURE__ */ jsx$1("div", {
|
|
56980
|
-
className: styles$
|
|
57053
|
+
className: styles$1X.resume,
|
|
56981
57054
|
onClick,
|
|
56982
57055
|
children: /* @__PURE__ */ jsxs("div", {
|
|
56983
|
-
className: styles$
|
|
57056
|
+
className: styles$1X.resume__container,
|
|
56984
57057
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
56985
|
-
className: styles$
|
|
57058
|
+
className: styles$1X.left,
|
|
56986
57059
|
children: [/* @__PURE__ */ jsx$1(Row, {
|
|
56987
57060
|
children: /* @__PURE__ */ jsxs(Col, {
|
|
56988
57061
|
xs: 24,
|
|
56989
57062
|
sm: 0,
|
|
56990
57063
|
children: [/* @__PURE__ */ jsx$1("span", {
|
|
56991
|
-
className: styles$
|
|
57064
|
+
className: styles$1X["icon--center"],
|
|
56992
57065
|
children: /* @__PURE__ */ jsx$1(Icon, {
|
|
56993
57066
|
icon: reply2 ? "mailReplied" : "mailNotReplied"
|
|
56994
57067
|
})
|
|
56995
57068
|
}), /* @__PURE__ */ jsx$1("img", {
|
|
56996
57069
|
alt: platform2,
|
|
56997
|
-
src: module2.logo || platformImages[platform2],
|
|
56998
|
-
className: styles$
|
|
57070
|
+
src: module2.logo || reviewer2.profilePhoto || platformImages[platform2] || "",
|
|
57071
|
+
className: styles$1X.imageMobile,
|
|
57072
|
+
onError: (e) => {
|
|
57073
|
+
const target = e.target;
|
|
57074
|
+
const fallback = reviewer2.profilePhoto || platformImages[platform2] || "";
|
|
57075
|
+
if (target.src !== fallback) {
|
|
57076
|
+
target.src = fallback;
|
|
57077
|
+
}
|
|
57078
|
+
}
|
|
56999
57079
|
})]
|
|
57000
57080
|
})
|
|
57001
57081
|
}), /* @__PURE__ */ jsx$1(Row, {
|
|
@@ -57003,7 +57083,7 @@ const Review = ({
|
|
|
57003
57083
|
xs: 0,
|
|
57004
57084
|
sm: 24,
|
|
57005
57085
|
children: /* @__PURE__ */ jsx$1("span", {
|
|
57006
|
-
className: styles$
|
|
57086
|
+
className: styles$1X["icon--center"],
|
|
57007
57087
|
children: /* @__PURE__ */ jsx$1(Icon, {
|
|
57008
57088
|
icon: reply2 ? "mailReplied" : "mailNotReplied"
|
|
57009
57089
|
})
|
|
@@ -57015,8 +57095,15 @@ const Review = ({
|
|
|
57015
57095
|
sm: 24,
|
|
57016
57096
|
children: /* @__PURE__ */ jsx$1("img", {
|
|
57017
57097
|
alt: platform2,
|
|
57018
|
-
src: module2.logo || platformImages[platform2],
|
|
57019
|
-
className: styles$
|
|
57098
|
+
src: module2.logo || reviewer2.profilePhoto || platformImages[platform2] || "",
|
|
57099
|
+
className: styles$1X.image,
|
|
57100
|
+
onError: (e) => {
|
|
57101
|
+
const target = e.target;
|
|
57102
|
+
const fallback = reviewer2.profilePhoto || platformImages[platform2] || "";
|
|
57103
|
+
if (target.src !== fallback) {
|
|
57104
|
+
target.src = fallback;
|
|
57105
|
+
}
|
|
57106
|
+
}
|
|
57020
57107
|
})
|
|
57021
57108
|
})
|
|
57022
57109
|
}), /* @__PURE__ */ jsx$1(Row, {
|
|
@@ -57040,7 +57127,7 @@ const Review = ({
|
|
|
57040
57127
|
},
|
|
57041
57128
|
children: [/* @__PURE__ */ jsx$1(Col, {
|
|
57042
57129
|
children: /* @__PURE__ */ jsx$1("strong", {
|
|
57043
|
-
className: styles$
|
|
57130
|
+
className: styles$1X.reviewer,
|
|
57044
57131
|
children: reviewer2.name
|
|
57045
57132
|
})
|
|
57046
57133
|
}), /* @__PURE__ */ jsx$1(Col, {
|
|
@@ -57078,11 +57165,11 @@ const Review = ({
|
|
|
57078
57165
|
})]
|
|
57079
57166
|
}), multiVenue && /* @__PURE__ */ jsx$1("div", {
|
|
57080
57167
|
children: /* @__PURE__ */ jsx$1("div", {
|
|
57081
|
-
className: styles$
|
|
57168
|
+
className: styles$1X.location,
|
|
57082
57169
|
children: locationName
|
|
57083
57170
|
})
|
|
57084
57171
|
}), /* @__PURE__ */ jsx$1("div", {
|
|
57085
|
-
className: styles$
|
|
57172
|
+
className: styles$1X.right,
|
|
57086
57173
|
children: createdAt
|
|
57087
57174
|
})]
|
|
57088
57175
|
})
|
|
@@ -57096,8 +57183,10 @@ const Review = ({
|
|
|
57096
57183
|
platform: platform2,
|
|
57097
57184
|
createdAt,
|
|
57098
57185
|
locationName,
|
|
57186
|
+
venueListingId,
|
|
57099
57187
|
locale: locale2,
|
|
57100
57188
|
reviewUrl,
|
|
57189
|
+
module: module2,
|
|
57101
57190
|
meta,
|
|
57102
57191
|
onReload,
|
|
57103
57192
|
openForm,
|
|
@@ -57114,8 +57203,10 @@ const Review = ({
|
|
|
57114
57203
|
platform: platform2,
|
|
57115
57204
|
createdAt,
|
|
57116
57205
|
locationName,
|
|
57206
|
+
venueListingId,
|
|
57117
57207
|
locale: locale2,
|
|
57118
57208
|
reviewUrl,
|
|
57209
|
+
module: module2,
|
|
57119
57210
|
meta,
|
|
57120
57211
|
onReload,
|
|
57121
57212
|
openForm,
|
|
@@ -57128,7 +57219,7 @@ const Review = ({
|
|
|
57128
57219
|
};
|
|
57129
57220
|
const header$8 = "_header_190p9_1";
|
|
57130
57221
|
const icon$7 = "_icon_190p9_10";
|
|
57131
|
-
const styles$
|
|
57222
|
+
const styles$1W = {
|
|
57132
57223
|
header: header$8,
|
|
57133
57224
|
icon: icon$7
|
|
57134
57225
|
};
|
|
@@ -57142,18 +57233,18 @@ const Header$5 = ({
|
|
|
57142
57233
|
return header2;
|
|
57143
57234
|
}
|
|
57144
57235
|
return /* @__PURE__ */ jsxs("div", {
|
|
57145
|
-
className: styles$
|
|
57236
|
+
className: styles$1W.header,
|
|
57146
57237
|
children: [/* @__PURE__ */ jsx$1(Heading, {
|
|
57147
57238
|
children: header2.title
|
|
57148
57239
|
}), typeof header2.icon === "string" && /* @__PURE__ */ jsx$1(Icon$1, {
|
|
57149
57240
|
icon: header2.icon,
|
|
57150
57241
|
onClick: header2.onClickIcon,
|
|
57151
|
-
className: styles$
|
|
57242
|
+
className: styles$1W.icon
|
|
57152
57243
|
}), typeof header2.icon !== "string" && header2.icon && header2.icon]
|
|
57153
57244
|
});
|
|
57154
57245
|
};
|
|
57155
57246
|
const container$v = "_container_pd6ji_1";
|
|
57156
|
-
const styles$
|
|
57247
|
+
const styles$1V = {
|
|
57157
57248
|
container: container$v
|
|
57158
57249
|
};
|
|
57159
57250
|
const Card = ({
|
|
@@ -57165,43 +57256,43 @@ const Card = ({
|
|
|
57165
57256
|
}) => {
|
|
57166
57257
|
return /* @__PURE__ */ jsx$1(Fragment, {
|
|
57167
57258
|
children: /* @__PURE__ */ jsxs("div", {
|
|
57168
|
-
className: classNames$2(styles$
|
|
57259
|
+
className: classNames$2(styles$1V.container, className, "mz-card"),
|
|
57169
57260
|
style: style2,
|
|
57170
57261
|
children: [/* @__PURE__ */ jsx$1(Header$5, {
|
|
57171
57262
|
header: header2
|
|
57172
57263
|
}), /* @__PURE__ */ jsx$1("div", {
|
|
57173
|
-
className: classNames$2(styles$
|
|
57264
|
+
className: classNames$2(styles$1V.content, classNameContent),
|
|
57174
57265
|
children
|
|
57175
57266
|
})]
|
|
57176
57267
|
})
|
|
57177
57268
|
});
|
|
57178
57269
|
};
|
|
57179
57270
|
const header$7 = "_header_1qr4z_1";
|
|
57180
|
-
const styles$
|
|
57271
|
+
const styles$1U = {
|
|
57181
57272
|
header: header$7
|
|
57182
57273
|
};
|
|
57183
57274
|
const Header$4 = ({
|
|
57184
57275
|
title: title2
|
|
57185
57276
|
}) => {
|
|
57186
57277
|
return /* @__PURE__ */ jsx$1("div", {
|
|
57187
|
-
className: styles$
|
|
57278
|
+
className: styles$1U.header,
|
|
57188
57279
|
children: /* @__PURE__ */ jsxs(Heading, {
|
|
57189
57280
|
children: [" ", title2]
|
|
57190
57281
|
})
|
|
57191
57282
|
});
|
|
57192
57283
|
};
|
|
57193
57284
|
const container$u = "_container_1egcu_1";
|
|
57194
|
-
const styles$
|
|
57285
|
+
const styles$1T = {
|
|
57195
57286
|
container: container$u
|
|
57196
57287
|
};
|
|
57197
57288
|
const Empty = ({
|
|
57198
57289
|
children
|
|
57199
57290
|
}) => {
|
|
57200
57291
|
return /* @__PURE__ */ jsxs("div", {
|
|
57201
|
-
className: styles$
|
|
57292
|
+
className: styles$1T.container,
|
|
57202
57293
|
children: [/* @__PURE__ */ jsx$1(Icon$1, {
|
|
57203
57294
|
icon: "fileSad",
|
|
57204
|
-
className: styles$
|
|
57295
|
+
className: styles$1T.icon,
|
|
57205
57296
|
size: "xxl"
|
|
57206
57297
|
}), /* @__PURE__ */ jsx$1("h2", {
|
|
57207
57298
|
children
|
|
@@ -57211,7 +57302,7 @@ const Empty = ({
|
|
|
57211
57302
|
const container$t = "_container_n6953_1";
|
|
57212
57303
|
const content$a = "_content_n6953_6";
|
|
57213
57304
|
const empty = "_empty_n6953_10";
|
|
57214
|
-
const styles$
|
|
57305
|
+
const styles$1S = {
|
|
57215
57306
|
container: container$t,
|
|
57216
57307
|
content: content$a,
|
|
57217
57308
|
empty
|
|
@@ -57252,13 +57343,13 @@ const Reviews = ({
|
|
|
57252
57343
|
}
|
|
57253
57344
|
};
|
|
57254
57345
|
return /* @__PURE__ */ jsxs(Card, {
|
|
57255
|
-
className: styles$
|
|
57256
|
-
classNameContent: styles$
|
|
57346
|
+
className: styles$1S.container,
|
|
57347
|
+
classNameContent: styles$1S.content,
|
|
57257
57348
|
header: /* @__PURE__ */ jsx$1(Header$4, {
|
|
57258
57349
|
title: t2("REVIEWS")
|
|
57259
57350
|
}),
|
|
57260
57351
|
children: [isEmpty && /* @__PURE__ */ jsx$1("div", {
|
|
57261
|
-
className: styles$
|
|
57352
|
+
className: styles$1S.empty,
|
|
57262
57353
|
children: /* @__PURE__ */ jsx$1(Empty, {
|
|
57263
57354
|
children: t2("youDontHaveReviewsYet")
|
|
57264
57355
|
})
|
|
@@ -57310,7 +57401,7 @@ const collapse$1 = "_collapse_1tnkf_8";
|
|
|
57310
57401
|
const collapse__header = "_collapse__header_1tnkf_15";
|
|
57311
57402
|
const left$1 = "_left_1tnkf_23";
|
|
57312
57403
|
const content$9 = "_content_1tnkf_28";
|
|
57313
|
-
const styles$
|
|
57404
|
+
const styles$1R = {
|
|
57314
57405
|
collapse: collapse$1,
|
|
57315
57406
|
"collapse--light": "_collapse--light_1tnkf_12",
|
|
57316
57407
|
collapse__header,
|
|
@@ -57332,14 +57423,14 @@ const Template = ({
|
|
|
57332
57423
|
t: t2
|
|
57333
57424
|
} = useTranslation();
|
|
57334
57425
|
return /* @__PURE__ */ jsxs("div", {
|
|
57335
|
-
className: classNames$2(styles$
|
|
57336
|
-
[styles$
|
|
57426
|
+
className: classNames$2(styles$1R.collapse, {
|
|
57427
|
+
[styles$1R["collapse--light"]]: light2
|
|
57337
57428
|
}),
|
|
57338
57429
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
57339
|
-
className: styles$
|
|
57430
|
+
className: styles$1R.collapse__header,
|
|
57340
57431
|
onClick: toggle,
|
|
57341
57432
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
57342
|
-
className: styles$
|
|
57433
|
+
className: styles$1R.left,
|
|
57343
57434
|
children: [/* @__PURE__ */ jsx$1(Icon$1, {
|
|
57344
57435
|
icon: open ? "chevronDown" : "chevronRight"
|
|
57345
57436
|
}), template.title, /* @__PURE__ */ jsx$1(CountryFlag, {
|
|
@@ -57350,7 +57441,7 @@ const Template = ({
|
|
|
57350
57441
|
children: t2("USE")
|
|
57351
57442
|
})]
|
|
57352
57443
|
}), open && /* @__PURE__ */ jsx$1("div", {
|
|
57353
|
-
className: styles$
|
|
57444
|
+
className: styles$1R.content,
|
|
57354
57445
|
children: /* @__PURE__ */ jsx$1(TemplateContent, {
|
|
57355
57446
|
children: template.reply
|
|
57356
57447
|
})
|
|
@@ -57360,7 +57451,7 @@ const Template = ({
|
|
|
57360
57451
|
const skeleton$3 = "_skeleton_1jxqg_12";
|
|
57361
57452
|
const error$4 = "_error_1jxqg_16";
|
|
57362
57453
|
const filters$1 = "_filters_1jxqg_20";
|
|
57363
|
-
const styles$
|
|
57454
|
+
const styles$1Q = {
|
|
57364
57455
|
skeleton: skeleton$3,
|
|
57365
57456
|
error: error$4,
|
|
57366
57457
|
filters: filters$1,
|
|
@@ -62907,7 +62998,7 @@ const Modal$1 = ({
|
|
|
62907
62998
|
};
|
|
62908
62999
|
const container$s = "_container_vuyk0_1";
|
|
62909
63000
|
const fullWidth = "_fullWidth_vuyk0_6";
|
|
62910
|
-
const styles$
|
|
63001
|
+
const styles$1P = {
|
|
62911
63002
|
container: container$s,
|
|
62912
63003
|
fullWidth
|
|
62913
63004
|
};
|
|
@@ -63029,7 +63120,7 @@ const Select = ({
|
|
|
63029
63120
|
};
|
|
63030
63121
|
}, [value2, translateLabels, t2]);
|
|
63031
63122
|
return /* @__PURE__ */ jsxs("div", {
|
|
63032
|
-
className: `${styles$
|
|
63123
|
+
className: `${styles$1P.container} ${fullWidth2 ? styles$1P.fullWidth : ""}`,
|
|
63033
63124
|
children: [label2 && /* @__PURE__ */ jsx$1(Label$1, {
|
|
63034
63125
|
htmlFor: id2,
|
|
63035
63126
|
children: label2
|
|
@@ -63112,15 +63203,15 @@ const Templates = ({
|
|
|
63112
63203
|
children: t2("REPLYTEMPLATES")
|
|
63113
63204
|
}),
|
|
63114
63205
|
children: [isLoading && /* @__PURE__ */ jsx$1("div", {
|
|
63115
|
-
className: styles$
|
|
63206
|
+
className: styles$1Q.skeleton,
|
|
63116
63207
|
children: /* @__PURE__ */ jsx$1(SkeletonPage$1, {})
|
|
63117
63208
|
}), error3 && /* @__PURE__ */ jsx$1("div", {
|
|
63118
|
-
className: styles$
|
|
63209
|
+
className: styles$1Q.error,
|
|
63119
63210
|
children: /* @__PURE__ */ jsx$1("h2", {
|
|
63120
63211
|
children: error3
|
|
63121
63212
|
})
|
|
63122
63213
|
}), /* @__PURE__ */ jsxs("div", {
|
|
63123
|
-
className: styles$
|
|
63214
|
+
className: styles$1Q.filters,
|
|
63124
63215
|
children: [/* @__PURE__ */ jsx$1(Select, {
|
|
63125
63216
|
label: t2("REPLYTEMPLATETYPE"),
|
|
63126
63217
|
options: typeOptions,
|
|
@@ -63133,7 +63224,7 @@ const Templates = ({
|
|
|
63133
63224
|
onChange: handleOnChangeLanguage
|
|
63134
63225
|
})]
|
|
63135
63226
|
}), /* @__PURE__ */ jsx$1("div", {
|
|
63136
|
-
className: styles$
|
|
63227
|
+
className: styles$1Q["templates--container"],
|
|
63137
63228
|
children: templates == null ? void 0 : templates.map((template, index2) => /* @__PURE__ */ jsx$1(Template, {
|
|
63138
63229
|
template,
|
|
63139
63230
|
light: index2 % 2 === 1,
|
|
@@ -63530,7 +63621,7 @@ const useOutsideClick = (ref, callback) => {
|
|
|
63530
63621
|
const filterButton$1 = "_filterButton_c0yjo_1";
|
|
63531
63622
|
const buttonClose$1 = "_buttonClose_c0yjo_21";
|
|
63532
63623
|
const toolbar$2 = "_toolbar_c0yjo_38";
|
|
63533
|
-
const styles$
|
|
63624
|
+
const styles$1O = {
|
|
63534
63625
|
filterButton: filterButton$1,
|
|
63535
63626
|
buttonClose: buttonClose$1,
|
|
63536
63627
|
toolbar: toolbar$2,
|
|
@@ -63550,12 +63641,12 @@ const FiltersWrapper$1 = ({
|
|
|
63550
63641
|
return /* @__PURE__ */ jsxs(Fragment, {
|
|
63551
63642
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
63552
63643
|
ref,
|
|
63553
|
-
className: classNames$2(styles$
|
|
63554
|
-
[styles$
|
|
63644
|
+
className: classNames$2(styles$1O.toolbar, {
|
|
63645
|
+
[styles$1O["toolbar--hide"]]: !showFilters
|
|
63555
63646
|
}),
|
|
63556
63647
|
children: [/* @__PURE__ */ jsx$1("div", {
|
|
63557
|
-
className: classNames$2(styles$
|
|
63558
|
-
[styles$
|
|
63648
|
+
className: classNames$2(styles$1O.buttonClose, {
|
|
63649
|
+
[styles$1O.hide]: !showFilters
|
|
63559
63650
|
}),
|
|
63560
63651
|
children: /* @__PURE__ */ jsx$1(Icon, {
|
|
63561
63652
|
icon: "close",
|
|
@@ -63567,7 +63658,7 @@ const FiltersWrapper$1 = ({
|
|
|
63567
63658
|
})]
|
|
63568
63659
|
}), /* @__PURE__ */ jsxs("button", {
|
|
63569
63660
|
onClick: toogleFilter,
|
|
63570
|
-
className: styles$
|
|
63661
|
+
className: styles$1O.filterButton,
|
|
63571
63662
|
children: [/* @__PURE__ */ jsx$1(Icon, {
|
|
63572
63663
|
icon: "descriptionShort",
|
|
63573
63664
|
size: "small"
|
|
@@ -63578,7 +63669,7 @@ const FiltersWrapper$1 = ({
|
|
|
63578
63669
|
const inputWrapper = "_inputWrapper_c5acm_1";
|
|
63579
63670
|
const input$4 = "_input_c5acm_1";
|
|
63580
63671
|
const inputIcon = "_inputIcon_c5acm_89";
|
|
63581
|
-
const styles$
|
|
63672
|
+
const styles$1N = {
|
|
63582
63673
|
inputWrapper,
|
|
63583
63674
|
input: input$4,
|
|
63584
63675
|
"input--r-md": "_input--r-md_c5acm_37",
|
|
@@ -63640,7 +63731,7 @@ const Input$2 = React__default.forwardRef(({
|
|
|
63640
63731
|
},
|
|
63641
63732
|
children: [/* @__PURE__ */ jsx$1("input", {
|
|
63642
63733
|
ref,
|
|
63643
|
-
className: classNames$2(styles$
|
|
63734
|
+
className: classNames$2(styles$1N["input"], styles$1N[`input--h-${heigth}`], styles$1N[`input--r-${radius}`], icon2 && styles$1N[`input--with-icon-${iconPosition}`], filled == true ? styles$1N[`input--filled`] : "", borderLess == true ? styles$1N[`input--borderless`] : "", rounded == true ? styles$1N[`input--rounded`] : "", error3 == true ? styles$1N[`input--error`] : "", lineThrough == true ? styles$1N[`input--line-through`] : ""),
|
|
63644
63735
|
style: customStyles2,
|
|
63645
63736
|
onChange: onChange2,
|
|
63646
63737
|
id: id2,
|
|
@@ -63651,7 +63742,7 @@ const Input$2 = React__default.forwardRef(({
|
|
|
63651
63742
|
disabled: disabled2,
|
|
63652
63743
|
...props
|
|
63653
63744
|
}), icon2 && /* @__PURE__ */ jsx$1("div", {
|
|
63654
|
-
className: classNames$2(styles$
|
|
63745
|
+
className: classNames$2(styles$1N["inputIcon"], styles$1N[`inputIcon--p-${iconPosition}`], className ? className : ""),
|
|
63655
63746
|
children: /* @__PURE__ */ jsx$1(Icon, {
|
|
63656
63747
|
icon: icon2,
|
|
63657
63748
|
size: iconSize
|
|
@@ -63661,7 +63752,7 @@ const Input$2 = React__default.forwardRef(({
|
|
|
63661
63752
|
});
|
|
63662
63753
|
});
|
|
63663
63754
|
const datePicker$1 = "_datePicker_aezmq_1";
|
|
63664
|
-
const styles$
|
|
63755
|
+
const styles$1M = {
|
|
63665
63756
|
datePicker: datePicker$1
|
|
63666
63757
|
};
|
|
63667
63758
|
function r(e) {
|
|
@@ -72867,7 +72958,7 @@ const left = "_left_10sq9_38";
|
|
|
72867
72958
|
const datePickerShortcuts = "_datePickerShortcuts_10sq9_48";
|
|
72868
72959
|
const singleMode = "_singleMode_10sq9_298";
|
|
72869
72960
|
const rangeMode = "_rangeMode_10sq9_303";
|
|
72870
|
-
const styles$
|
|
72961
|
+
const styles$1L = {
|
|
72871
72962
|
datePicker,
|
|
72872
72963
|
inlinePicker,
|
|
72873
72964
|
visible,
|
|
@@ -86467,12 +86558,12 @@ const DatePicker$1 = ({
|
|
|
86467
86558
|
return null;
|
|
86468
86559
|
}
|
|
86469
86560
|
return /* @__PURE__ */ jsx$1("div", {
|
|
86470
|
-
className: styles$
|
|
86561
|
+
className: styles$1L.datePickerShortcuts,
|
|
86471
86562
|
children: options2.shortcuts.map((shortcut, index2) => /* @__PURE__ */ jsx$1(Button$1, {
|
|
86472
86563
|
type: "button",
|
|
86473
86564
|
mode: "tertiary",
|
|
86474
86565
|
size: "mini",
|
|
86475
|
-
className: styles$
|
|
86566
|
+
className: styles$1L.datePickerShortcutBtn,
|
|
86476
86567
|
onClick: () => {
|
|
86477
86568
|
shortcut.onClick({
|
|
86478
86569
|
setDateRange: (start, end) => {
|
|
@@ -86523,7 +86614,7 @@ const DatePicker$1 = ({
|
|
|
86523
86614
|
}, [value2, format3, isRangeMode]);
|
|
86524
86615
|
const selectedDate = isRangeMode ? startDate : singleDate;
|
|
86525
86616
|
return /* @__PURE__ */ jsxs("div", {
|
|
86526
|
-
className: `${styles$
|
|
86617
|
+
className: `${styles$1L.inlinePicker} ${show ? styles$1L.visible : ""} ${isRangeMode ? styles$1L.rangeMode : styles$1L.singleMode} ${styles$1L[pickerPosition]}`,
|
|
86527
86618
|
children: [/* @__PURE__ */ jsx$1(DatePicker$2, {
|
|
86528
86619
|
id: id2,
|
|
86529
86620
|
ref: datePickerRef,
|
|
@@ -86591,7 +86682,7 @@ const InputDatePicker = (props) => {
|
|
|
86591
86682
|
});
|
|
86592
86683
|
});
|
|
86593
86684
|
return /* @__PURE__ */ jsxs("div", {
|
|
86594
|
-
className: styles$
|
|
86685
|
+
className: styles$1M.datePicker,
|
|
86595
86686
|
ref: pickerContainerRef,
|
|
86596
86687
|
children: [/* @__PURE__ */ jsx$1(CustomInput, {}), /* @__PURE__ */ jsx$1(DatePicker$1, {
|
|
86597
86688
|
id: props.id,
|
|
@@ -86794,7 +86885,7 @@ const Header$3 = ({
|
|
|
86794
86885
|
const content$8 = "_content_6vryc_2";
|
|
86795
86886
|
const grid = "_grid_6vryc_8";
|
|
86796
86887
|
const footer$8 = "_footer_6vryc_15";
|
|
86797
|
-
const styles$
|
|
86888
|
+
const styles$1K = {
|
|
86798
86889
|
content: content$8,
|
|
86799
86890
|
grid,
|
|
86800
86891
|
footer: footer$8
|
|
@@ -86802,7 +86893,7 @@ const styles$1J = {
|
|
|
86802
86893
|
const container$r = "_container_1xz3t_13";
|
|
86803
86894
|
const item$7 = "_item_1xz3t_20";
|
|
86804
86895
|
const itemfull = "_itemfull_1xz3t_26";
|
|
86805
|
-
const styles$
|
|
86896
|
+
const styles$1J = {
|
|
86806
86897
|
"animate-pulse": "_animate-pulse_1xz3t_1",
|
|
86807
86898
|
container: container$r,
|
|
86808
86899
|
item: item$7,
|
|
@@ -86810,21 +86901,21 @@ const styles$1I = {
|
|
|
86810
86901
|
};
|
|
86811
86902
|
const SkeletonPage = () => {
|
|
86812
86903
|
return /* @__PURE__ */ jsx$1("div", {
|
|
86813
|
-
className: styles$
|
|
86904
|
+
className: styles$1J["animate-pulse"],
|
|
86814
86905
|
children: /* @__PURE__ */ jsxs("div", {
|
|
86815
|
-
className: styles$
|
|
86906
|
+
className: styles$1J.container,
|
|
86816
86907
|
children: [/* @__PURE__ */ jsx$1("div", {
|
|
86817
|
-
className: styles$
|
|
86908
|
+
className: styles$1J.item
|
|
86818
86909
|
}), /* @__PURE__ */ jsx$1("div", {
|
|
86819
|
-
className: styles$
|
|
86910
|
+
className: styles$1J.item
|
|
86820
86911
|
}), /* @__PURE__ */ jsx$1("div", {
|
|
86821
|
-
className: styles$
|
|
86912
|
+
className: styles$1J.itemfull
|
|
86822
86913
|
})]
|
|
86823
86914
|
})
|
|
86824
86915
|
});
|
|
86825
86916
|
};
|
|
86826
86917
|
const container$q = "_container_1oqup_1";
|
|
86827
|
-
const styles$
|
|
86918
|
+
const styles$1I = {
|
|
86828
86919
|
container: container$q
|
|
86829
86920
|
};
|
|
86830
86921
|
const LayoutPage$1 = ({
|
|
@@ -86834,12 +86925,12 @@ const LayoutPage$1 = ({
|
|
|
86834
86925
|
contentClassName
|
|
86835
86926
|
}) => {
|
|
86836
86927
|
return /* @__PURE__ */ jsxs("div", {
|
|
86837
|
-
className: classNames$2(styles$
|
|
86928
|
+
className: classNames$2(styles$1I.container, containerClassName, "mz-sdk-cst-pf"),
|
|
86838
86929
|
children: [header2 && /* @__PURE__ */ jsx$1("div", {
|
|
86839
86930
|
className: "mz-header",
|
|
86840
86931
|
children: header2
|
|
86841
86932
|
}), /* @__PURE__ */ jsx$1(Container, {
|
|
86842
|
-
className: classNames$2(styles$
|
|
86933
|
+
className: classNames$2(styles$1I.content, contentClassName),
|
|
86843
86934
|
children
|
|
86844
86935
|
})]
|
|
86845
86936
|
});
|
|
@@ -86935,7 +87026,7 @@ const ReviewsPage = ({
|
|
|
86935
87026
|
});
|
|
86936
87027
|
}
|
|
86937
87028
|
return /* @__PURE__ */ jsx$1(LayoutPage$2, {
|
|
86938
|
-
contentClassName: styles$
|
|
87029
|
+
contentClassName: styles$1K.content,
|
|
86939
87030
|
header: /* @__PURE__ */ jsx$1(Header$3, {
|
|
86940
87031
|
onChangeFilter: setFilters,
|
|
86941
87032
|
filters: filter2,
|
|
@@ -86952,7 +87043,7 @@ const ReviewsPage = ({
|
|
|
86952
87043
|
value: [lang2],
|
|
86953
87044
|
children: /* @__PURE__ */ jsxs("div", {
|
|
86954
87045
|
children: [isLoadingInitialData && /* @__PURE__ */ jsx$1(SkeletonPage, {}), !isLoadingInitialData && /* @__PURE__ */ jsxs("div", {
|
|
86955
|
-
className: styles$
|
|
87046
|
+
className: styles$1K.grid,
|
|
86956
87047
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
86957
87048
|
children: [/* @__PURE__ */ jsx$1(Reviews, {
|
|
86958
87049
|
reviews: issues,
|
|
@@ -86962,7 +87053,7 @@ const ReviewsPage = ({
|
|
|
86962
87053
|
setShowTemplate: setShowReplyTemplates,
|
|
86963
87054
|
selectedReviewId: filter2.reviewId
|
|
86964
87055
|
}), !isReachingEnd && /* @__PURE__ */ jsx$1("div", {
|
|
86965
|
-
className: styles$
|
|
87056
|
+
className: styles$1K.footer,
|
|
86966
87057
|
children: /* @__PURE__ */ jsx$1(Button$1, {
|
|
86967
87058
|
type: "button",
|
|
86968
87059
|
onClick: loadMore,
|
|
@@ -87975,7 +88066,7 @@ const container$p = "_container_1jgim_1";
|
|
|
87975
88066
|
const button$6 = "_button_1jgim_14";
|
|
87976
88067
|
const skeleton$2 = "_skeleton_1jgim_22";
|
|
87977
88068
|
const item$6 = "_item_1jgim_33";
|
|
87978
|
-
const styles$
|
|
88069
|
+
const styles$1H = {
|
|
87979
88070
|
container: container$p,
|
|
87980
88071
|
button: button$6,
|
|
87981
88072
|
"button-disable": "_button-disable_1jgim_17",
|
|
@@ -87998,11 +88089,11 @@ const Table$1 = ({
|
|
|
87998
88089
|
width: "100%"
|
|
87999
88090
|
},
|
|
88000
88091
|
children: /* @__PURE__ */ jsxs(Card, {
|
|
88001
|
-
classNameContent: classNames$2(styles$
|
|
88092
|
+
classNameContent: classNames$2(styles$1H.container, classNameContent),
|
|
88002
88093
|
className: classNameConatiner,
|
|
88003
88094
|
header: Header2,
|
|
88004
88095
|
children: [/* @__PURE__ */ jsxs("table", {
|
|
88005
|
-
className: classNames$2(styles$
|
|
88096
|
+
className: classNames$2(styles$1H.table, className),
|
|
88006
88097
|
children: [/* @__PURE__ */ jsx$1("thead", {
|
|
88007
88098
|
children: /* @__PURE__ */ jsx$1("tr", {
|
|
88008
88099
|
children: header2.map((h2) => /* @__PURE__ */ jsx$1("th", {
|
|
@@ -88032,12 +88123,12 @@ const LoadingBody$2 = ({
|
|
|
88032
88123
|
rows = 5,
|
|
88033
88124
|
items: items2 = 5
|
|
88034
88125
|
}) => /* @__PURE__ */ jsx$1("tbody", {
|
|
88035
|
-
className: styles$
|
|
88126
|
+
className: styles$1H.skeleton,
|
|
88036
88127
|
children: Object.keys(Array(rows).fill(1)).map((index2) => {
|
|
88037
88128
|
return /* @__PURE__ */ jsx$1("tr", {
|
|
88038
88129
|
children: Object.keys(Array(items2).fill(1)).map((id2) => /* @__PURE__ */ jsx$1("td", {
|
|
88039
88130
|
children: /* @__PURE__ */ jsx$1("div", {
|
|
88040
|
-
className: styles$
|
|
88131
|
+
className: styles$1H.item
|
|
88041
88132
|
})
|
|
88042
88133
|
}, `${index2}-${id2}`))
|
|
88043
88134
|
}, index2);
|
|
@@ -88062,11 +88153,11 @@ const TablePagination$2 = ({
|
|
|
88062
88153
|
page,
|
|
88063
88154
|
onChangePage
|
|
88064
88155
|
});
|
|
88065
|
-
const leftButtonsStyle = classNames$2(styles$
|
|
88066
|
-
[styles$
|
|
88156
|
+
const leftButtonsStyle = classNames$2(styles$1H.button, {
|
|
88157
|
+
[styles$1H["button-disable"]]: page === minPage
|
|
88067
88158
|
});
|
|
88068
|
-
const rightButtonsStyle = classNames$2(styles$
|
|
88069
|
-
[styles$
|
|
88159
|
+
const rightButtonsStyle = classNames$2(styles$1H.button, {
|
|
88160
|
+
[styles$1H["button-disable"]]: page === maxPage
|
|
88070
88161
|
});
|
|
88071
88162
|
if (total === 0) {
|
|
88072
88163
|
return null;
|
|
@@ -89109,7 +89200,7 @@ const formatParams$4 = ({ limit = 10, page = 1 }) => {
|
|
|
89109
89200
|
};
|
|
89110
89201
|
};
|
|
89111
89202
|
const container$o = "_container_aljvu_1";
|
|
89112
|
-
const styles$
|
|
89203
|
+
const styles$1G = {
|
|
89113
89204
|
container: container$o
|
|
89114
89205
|
};
|
|
89115
89206
|
const roleOptions = [{
|
|
@@ -89125,7 +89216,7 @@ const FiltersBar = () => {
|
|
|
89125
89216
|
title: "Filters"
|
|
89126
89217
|
},
|
|
89127
89218
|
children: /* @__PURE__ */ jsxs("div", {
|
|
89128
|
-
className: styles$
|
|
89219
|
+
className: styles$1G.container,
|
|
89129
89220
|
children: [/* @__PURE__ */ jsx$1(NewSelect, {
|
|
89130
89221
|
placeholder: "All roles",
|
|
89131
89222
|
options: roleOptions,
|
|
@@ -89142,7 +89233,7 @@ const FiltersBar = () => {
|
|
|
89142
89233
|
};
|
|
89143
89234
|
const container$n = "_container_ntz7t_1";
|
|
89144
89235
|
const table$2 = "_table_ntz7t_6";
|
|
89145
|
-
const styles$
|
|
89236
|
+
const styles$1F = {
|
|
89146
89237
|
container: container$n,
|
|
89147
89238
|
table: table$2
|
|
89148
89239
|
};
|
|
@@ -89164,8 +89255,8 @@ const Users = () => {
|
|
|
89164
89255
|
totalElements: (data2 == null ? void 0 : data2.total) || 0,
|
|
89165
89256
|
data: (data2 == null ? void 0 : data2.data) || [],
|
|
89166
89257
|
header: TableHeader,
|
|
89167
|
-
className: styles$
|
|
89168
|
-
classNameConatiner: styles$
|
|
89258
|
+
className: styles$1F.table,
|
|
89259
|
+
classNameConatiner: styles$1F.container
|
|
89169
89260
|
})]
|
|
89170
89261
|
});
|
|
89171
89262
|
};
|
|
@@ -91128,7 +91219,7 @@ var Form$7 = /* @__PURE__ */ forwardRef(function(props, ref) {
|
|
|
91128
91219
|
});
|
|
91129
91220
|
Form$7.displayName = "Form";
|
|
91130
91221
|
const text = "_text_1f1l5_1";
|
|
91131
|
-
const styles$
|
|
91222
|
+
const styles$1E = {
|
|
91132
91223
|
text
|
|
91133
91224
|
};
|
|
91134
91225
|
const FieldError = ({
|
|
@@ -91137,7 +91228,7 @@ const FieldError = ({
|
|
|
91137
91228
|
}) => {
|
|
91138
91229
|
if (touched && error3) {
|
|
91139
91230
|
return /* @__PURE__ */ jsx$1("div", {
|
|
91140
|
-
className: styles$
|
|
91231
|
+
className: styles$1E.text,
|
|
91141
91232
|
children: error3
|
|
91142
91233
|
});
|
|
91143
91234
|
}
|
|
@@ -91180,7 +91271,7 @@ const SelectField$1 = ({
|
|
|
91180
91271
|
});
|
|
91181
91272
|
};
|
|
91182
91273
|
const input$3 = "_input_1xto5_1";
|
|
91183
|
-
const styles$
|
|
91274
|
+
const styles$1D = {
|
|
91184
91275
|
input: input$3,
|
|
91185
91276
|
"input--r-md": "_input--r-md_1xto5_23",
|
|
91186
91277
|
"input--r-sm": "_input--r-sm_1xto5_26"
|
|
@@ -91225,7 +91316,7 @@ const Input$1 = ({
|
|
|
91225
91316
|
position: "relative"
|
|
91226
91317
|
},
|
|
91227
91318
|
children: /* @__PURE__ */ jsx$1("input", {
|
|
91228
|
-
className: classNames$2(styles$
|
|
91319
|
+
className: classNames$2(styles$1D["input"], styles$1D[`input--h-${heigth}`], styles$1D[`input--r-${radius}`]),
|
|
91229
91320
|
onChange: handleChange,
|
|
91230
91321
|
id: id2,
|
|
91231
91322
|
name: id2,
|
|
@@ -91250,14 +91341,14 @@ const TextInputField$1 = (props) => {
|
|
|
91250
91341
|
});
|
|
91251
91342
|
};
|
|
91252
91343
|
const layoutForm = "_layoutForm_2ktmv_1";
|
|
91253
|
-
const styles$
|
|
91344
|
+
const styles$1C = {
|
|
91254
91345
|
layoutForm
|
|
91255
91346
|
};
|
|
91256
91347
|
const LayoutForm = ({
|
|
91257
91348
|
children
|
|
91258
91349
|
}) => {
|
|
91259
91350
|
return /* @__PURE__ */ jsx$1("div", {
|
|
91260
|
-
className: styles$
|
|
91351
|
+
className: styles$1C.layoutForm,
|
|
91261
91352
|
children
|
|
91262
91353
|
});
|
|
91263
91354
|
};
|
|
@@ -91462,7 +91553,7 @@ const formatData$h = (data2) => {
|
|
|
91462
91553
|
const mainConatiner$3 = "_mainConatiner_1mt10_1";
|
|
91463
91554
|
const container$m = "_container_1mt10_5";
|
|
91464
91555
|
const item$5 = "_item_1mt10_23";
|
|
91465
|
-
const styles$
|
|
91556
|
+
const styles$1B = {
|
|
91466
91557
|
mainConatiner: mainConatiner$3,
|
|
91467
91558
|
container: container$m,
|
|
91468
91559
|
item: item$5
|
|
@@ -91470,7 +91561,7 @@ const styles$1A = {
|
|
|
91470
91561
|
const label$1 = "_label_4sekk_1";
|
|
91471
91562
|
const label__switch$1 = "_label__switch_4sekk_8";
|
|
91472
91563
|
const input$2 = "_input_4sekk_30";
|
|
91473
|
-
const styles$
|
|
91564
|
+
const styles$1A = {
|
|
91474
91565
|
label: label$1,
|
|
91475
91566
|
label__switch: label__switch$1,
|
|
91476
91567
|
input: input$2
|
|
@@ -91494,7 +91585,7 @@ const Toggle$2 = ({
|
|
|
91494
91585
|
}
|
|
91495
91586
|
return /* @__PURE__ */ jsxs("div", {
|
|
91496
91587
|
children: [/* @__PURE__ */ jsx$1("input", {
|
|
91497
|
-
className: styles$
|
|
91588
|
+
className: styles$1A.input,
|
|
91498
91589
|
onChange: handleChange,
|
|
91499
91590
|
id: id2,
|
|
91500
91591
|
name: id2,
|
|
@@ -91502,9 +91593,9 @@ const Toggle$2 = ({
|
|
|
91502
91593
|
checked
|
|
91503
91594
|
}), /* @__PURE__ */ jsxs("label", {
|
|
91504
91595
|
htmlFor: id2,
|
|
91505
|
-
className: styles$
|
|
91596
|
+
className: styles$1A.label,
|
|
91506
91597
|
children: [/* @__PURE__ */ jsx$1("span", {
|
|
91507
|
-
className: styles$
|
|
91598
|
+
className: styles$1A.label__switch
|
|
91508
91599
|
}), label2]
|
|
91509
91600
|
})]
|
|
91510
91601
|
});
|
|
@@ -91524,7 +91615,7 @@ const ToggleField = (props) => {
|
|
|
91524
91615
|
});
|
|
91525
91616
|
};
|
|
91526
91617
|
const item$4 = "_item_1hc7u_1";
|
|
91527
|
-
const styles$
|
|
91618
|
+
const styles$1z = {
|
|
91528
91619
|
item: item$4
|
|
91529
91620
|
};
|
|
91530
91621
|
const Item$1 = ({
|
|
@@ -91534,7 +91625,7 @@ const Item$1 = ({
|
|
|
91534
91625
|
isLoading
|
|
91535
91626
|
}) => {
|
|
91536
91627
|
return /* @__PURE__ */ jsxs("div", {
|
|
91537
|
-
className: styles$
|
|
91628
|
+
className: styles$1z.item,
|
|
91538
91629
|
children: [name2, isLoading ? /* @__PURE__ */ jsx$1(Spinner$1, {}) : /* @__PURE__ */ jsx$1(ToggleField, {
|
|
91539
91630
|
id: id2,
|
|
91540
91631
|
onChange: onChange2
|
|
@@ -91546,7 +91637,7 @@ const email2 = "_email_1vq15_8";
|
|
|
91546
91637
|
const button$5 = "_button_1vq15_20";
|
|
91547
91638
|
const plus$1 = "_plus_1vq15_33";
|
|
91548
91639
|
const footer$7 = "_footer_1vq15_42";
|
|
91549
|
-
const styles$
|
|
91640
|
+
const styles$1y = {
|
|
91550
91641
|
container: container$l,
|
|
91551
91642
|
email: email2,
|
|
91552
91643
|
button: button$5,
|
|
@@ -91565,7 +91656,7 @@ const cardFooter$1 = "_cardFooter_75rsa_119";
|
|
|
91565
91656
|
const cardFooterContent$1 = "_cardFooterContent_75rsa_132";
|
|
91566
91657
|
const sectionManagement$1 = "_sectionManagement_75rsa_145";
|
|
91567
91658
|
const sectionFormRow$1 = "_sectionFormRow_75rsa_145";
|
|
91568
|
-
const styles$
|
|
91659
|
+
const styles$1x = {
|
|
91569
91660
|
mainConatiner: mainConatiner$2,
|
|
91570
91661
|
header: header$6,
|
|
91571
91662
|
content: content$7,
|
|
@@ -91590,20 +91681,20 @@ const EmailsCard = ({
|
|
|
91590
91681
|
t: t2
|
|
91591
91682
|
} = useTranslation();
|
|
91592
91683
|
return /* @__PURE__ */ jsx$1(Card, {
|
|
91593
|
-
className: styles$
|
|
91684
|
+
className: styles$1x.sectionCard,
|
|
91594
91685
|
children: /* @__PURE__ */ jsxs("div", {
|
|
91595
|
-
className: styles$
|
|
91686
|
+
className: styles$1x.sectionCard,
|
|
91596
91687
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
91597
|
-
className: styles$
|
|
91688
|
+
className: styles$1x.cardHeader,
|
|
91598
91689
|
children: [/* @__PURE__ */ jsx$1("h2", {
|
|
91599
|
-
className: styles$
|
|
91690
|
+
className: styles$1x.cardTitle,
|
|
91600
91691
|
children: t2("EMAILS")
|
|
91601
91692
|
}), /* @__PURE__ */ jsx$1("p", {
|
|
91602
|
-
className: styles$
|
|
91693
|
+
className: styles$1x.cardDesc,
|
|
91603
91694
|
children: t2("EMAILS_DESC")
|
|
91604
91695
|
})]
|
|
91605
91696
|
}), /* @__PURE__ */ jsxs("div", {
|
|
91606
|
-
className: styles$
|
|
91697
|
+
className: styles$1x.cardBody,
|
|
91607
91698
|
children: [(data2 == null ? void 0 : data2.emails) && data2.emails.length > 0 && /* @__PURE__ */ jsx$1("div", {
|
|
91608
91699
|
style: {
|
|
91609
91700
|
display: "flex",
|
|
@@ -91626,9 +91717,9 @@ const EmailsCard = ({
|
|
|
91626
91717
|
}), t2("NOTDEFINED")]
|
|
91627
91718
|
})]
|
|
91628
91719
|
}), canEdit && /* @__PURE__ */ jsxs("div", {
|
|
91629
|
-
className: styles$
|
|
91720
|
+
className: styles$1x.cardFooter,
|
|
91630
91721
|
children: [/* @__PURE__ */ jsx$1(Divider$1, {}), /* @__PURE__ */ jsx$1("div", {
|
|
91631
|
-
className: styles$
|
|
91722
|
+
className: styles$1x.cardFooterContent,
|
|
91632
91723
|
onClick: () => {
|
|
91633
91724
|
setIsOpenDrawer(true);
|
|
91634
91725
|
},
|
|
@@ -91646,7 +91737,7 @@ const drawer__header__content = "_drawer__header__content_nrlje_50";
|
|
|
91646
91737
|
const drawer__header__content__desc = "_drawer__header__content__desc_nrlje_56";
|
|
91647
91738
|
const drawer__close = "_drawer__close_nrlje_61";
|
|
91648
91739
|
const drawer__body = "_drawer__body_nrlje_72";
|
|
91649
|
-
const styles$
|
|
91740
|
+
const styles$1w = {
|
|
91650
91741
|
drawer,
|
|
91651
91742
|
"drawer--open": "_drawer--open_nrlje_14",
|
|
91652
91743
|
drawer__overlay,
|
|
@@ -91666,36 +91757,36 @@ const Drawer = ({
|
|
|
91666
91757
|
width = 500
|
|
91667
91758
|
}) => {
|
|
91668
91759
|
return /* @__PURE__ */ jsxs("div", {
|
|
91669
|
-
className: classNames$2(styles$
|
|
91760
|
+
className: classNames$2(styles$1w.drawer, isOpen ? styles$1w[`drawer--open`] : ""),
|
|
91670
91761
|
children: [isOpen && /* @__PURE__ */ jsx$1("div", {
|
|
91671
|
-
className: styles$
|
|
91762
|
+
className: styles$1w.drawer__overlay,
|
|
91672
91763
|
onClick: onClose2
|
|
91673
91764
|
}), /* @__PURE__ */ jsxs("div", {
|
|
91674
|
-
className: styles$
|
|
91765
|
+
className: styles$1w.drawer__content,
|
|
91675
91766
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
91676
|
-
className: styles$
|
|
91767
|
+
className: styles$1w.drawer__header,
|
|
91677
91768
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
91678
|
-
className: styles$
|
|
91769
|
+
className: styles$1w.drawer__header__content,
|
|
91679
91770
|
children: [/* @__PURE__ */ jsx$1("h3", {
|
|
91680
91771
|
children: title2
|
|
91681
91772
|
}), titleDesc && /* @__PURE__ */ jsx$1("p", {
|
|
91682
|
-
className: styles$
|
|
91773
|
+
className: styles$1w.drawer__header__content__desc,
|
|
91683
91774
|
children: titleDesc
|
|
91684
91775
|
})]
|
|
91685
91776
|
}), /* @__PURE__ */ jsx$1("button", {
|
|
91686
|
-
className: styles$
|
|
91777
|
+
className: styles$1w.drawer__close,
|
|
91687
91778
|
onClick: onClose2,
|
|
91688
91779
|
children: "×"
|
|
91689
91780
|
})]
|
|
91690
91781
|
}), /* @__PURE__ */ jsx$1("div", {
|
|
91691
|
-
className: styles$
|
|
91782
|
+
className: styles$1w.drawer__body,
|
|
91692
91783
|
children
|
|
91693
91784
|
})]
|
|
91694
91785
|
})]
|
|
91695
91786
|
});
|
|
91696
91787
|
};
|
|
91697
91788
|
const infoText$1 = "_infoText_1m2uc_1";
|
|
91698
|
-
const styles$
|
|
91789
|
+
const styles$1v = {
|
|
91699
91790
|
infoText: infoText$1
|
|
91700
91791
|
};
|
|
91701
91792
|
const TextInputField = ({
|
|
@@ -91735,7 +91826,7 @@ const TextInputField = ({
|
|
|
91735
91826
|
error: error3 ? true : false,
|
|
91736
91827
|
...props
|
|
91737
91828
|
}), infoText2 && /* @__PURE__ */ jsx$1("p", {
|
|
91738
|
-
className: styles$
|
|
91829
|
+
className: styles$1v.infoText,
|
|
91739
91830
|
children: t2(infoText2)
|
|
91740
91831
|
}), error3 && /* @__PURE__ */ jsx$1(FieldError$1, {
|
|
91741
91832
|
error: error3
|
|
@@ -91814,7 +91905,7 @@ const EmailEditDrawer = ({
|
|
|
91814
91905
|
children: /* @__PURE__ */ jsxs("div", {
|
|
91815
91906
|
children: [/* @__PURE__ */ jsx$1("div", {
|
|
91816
91907
|
children: fields.map((item2, index2) => /* @__PURE__ */ jsxs("div", {
|
|
91817
|
-
className: styles$
|
|
91908
|
+
className: styles$1x.sectionFormRow,
|
|
91818
91909
|
style: {
|
|
91819
91910
|
justifyContent: "flex-start"
|
|
91820
91911
|
},
|
|
@@ -91875,7 +91966,7 @@ const index$d = ({
|
|
|
91875
91966
|
}) => {
|
|
91876
91967
|
const [isOpenDrawer, setIsOpenDrawer] = useState(false);
|
|
91877
91968
|
return /* @__PURE__ */ jsxs("div", {
|
|
91878
|
-
className: styles$
|
|
91969
|
+
className: styles$1x.sectionManagement,
|
|
91879
91970
|
children: [/* @__PURE__ */ jsx$1(EmailsCard, {
|
|
91880
91971
|
isOpenDrawer,
|
|
91881
91972
|
setIsOpenDrawer,
|
|
@@ -91893,7 +91984,7 @@ const index$d = ({
|
|
|
91893
91984
|
const label = "_label_1ghpv_1";
|
|
91894
91985
|
const label__switch = "_label__switch_1ghpv_8";
|
|
91895
91986
|
const input$1 = "_input_1ghpv_34";
|
|
91896
|
-
const styles$
|
|
91987
|
+
const styles$1u = {
|
|
91897
91988
|
label,
|
|
91898
91989
|
label__switch,
|
|
91899
91990
|
"label__switch--disabled": "_label__switch--disabled_1ghpv_18",
|
|
@@ -91921,7 +92012,7 @@ const Toggle$1 = ({
|
|
|
91921
92012
|
};
|
|
91922
92013
|
return /* @__PURE__ */ jsxs("div", {
|
|
91923
92014
|
children: [/* @__PURE__ */ jsx$1("input", {
|
|
91924
|
-
className: styles$
|
|
92015
|
+
className: styles$1u.input,
|
|
91925
92016
|
type: "checkbox",
|
|
91926
92017
|
onChange: handleChange,
|
|
91927
92018
|
id: id2,
|
|
@@ -91931,14 +92022,14 @@ const Toggle$1 = ({
|
|
|
91931
92022
|
disabled: disabled2
|
|
91932
92023
|
}), /* @__PURE__ */ jsxs("label", {
|
|
91933
92024
|
htmlFor: id2,
|
|
91934
|
-
className: styles$
|
|
92025
|
+
className: styles$1u.label,
|
|
91935
92026
|
style: {
|
|
91936
92027
|
display: "flex",
|
|
91937
92028
|
flexDirection: labelPosition === "left" ? "row-reverse" : "row",
|
|
91938
92029
|
fontWeight: boldLabel ? "bold" : "normal"
|
|
91939
92030
|
},
|
|
91940
92031
|
children: [/* @__PURE__ */ jsx$1("span", {
|
|
91941
|
-
className: classNames$2(styles$
|
|
92032
|
+
className: classNames$2(styles$1u.label__switch, disabled2 ? styles$1u["label__switch--disabled"] : "")
|
|
91942
92033
|
}), t2(label2 ?? "")]
|
|
91943
92034
|
})]
|
|
91944
92035
|
});
|
|
@@ -92018,18 +92109,18 @@ const ReservationsCard = ({
|
|
|
92018
92109
|
}
|
|
92019
92110
|
}, [data2]);
|
|
92020
92111
|
return /* @__PURE__ */ jsxs(Card, {
|
|
92021
|
-
className: styles$
|
|
92112
|
+
className: styles$1x.sectionCard,
|
|
92022
92113
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
92023
|
-
className: styles$
|
|
92114
|
+
className: styles$1x.cardHeader,
|
|
92024
92115
|
children: [/* @__PURE__ */ jsx$1("h2", {
|
|
92025
|
-
className: styles$
|
|
92116
|
+
className: styles$1x.cardTitle,
|
|
92026
92117
|
children: t2("RESERVATIONS")
|
|
92027
92118
|
}), /* @__PURE__ */ jsx$1("p", {
|
|
92028
|
-
className: styles$
|
|
92119
|
+
className: styles$1x.cardDesc,
|
|
92029
92120
|
children: t2("RESERVATIONS_DESC")
|
|
92030
92121
|
})]
|
|
92031
92122
|
}), /* @__PURE__ */ jsx$1("div", {
|
|
92032
|
-
className: styles$
|
|
92123
|
+
className: styles$1x.cardBody,
|
|
92033
92124
|
children: data2 && /* @__PURE__ */ jsxs("div", {
|
|
92034
92125
|
style: {
|
|
92035
92126
|
display: "flex",
|
|
@@ -92090,7 +92181,7 @@ const index$c = ({
|
|
|
92090
92181
|
canEdit
|
|
92091
92182
|
}) => {
|
|
92092
92183
|
return /* @__PURE__ */ jsx$1("div", {
|
|
92093
|
-
className: styles$
|
|
92184
|
+
className: styles$1x.sectionManagement,
|
|
92094
92185
|
children: /* @__PURE__ */ jsx$1(ReservationsCard, {
|
|
92095
92186
|
data: data2,
|
|
92096
92187
|
reload,
|
|
@@ -92138,18 +92229,18 @@ const ReviewsCard = ({
|
|
|
92138
92229
|
}
|
|
92139
92230
|
}, [data2]);
|
|
92140
92231
|
return /* @__PURE__ */ jsxs(Card, {
|
|
92141
|
-
className: styles$
|
|
92232
|
+
className: styles$1x.sectionCard,
|
|
92142
92233
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
92143
|
-
className: styles$
|
|
92234
|
+
className: styles$1x.cardHeader,
|
|
92144
92235
|
children: [/* @__PURE__ */ jsx$1("h2", {
|
|
92145
|
-
className: styles$
|
|
92236
|
+
className: styles$1x.cardTitle,
|
|
92146
92237
|
children: t2("REVIEWS")
|
|
92147
92238
|
}), /* @__PURE__ */ jsx$1("p", {
|
|
92148
|
-
className: styles$
|
|
92239
|
+
className: styles$1x.cardDesc,
|
|
92149
92240
|
children: t2("REVIEWS_DESC")
|
|
92150
92241
|
})]
|
|
92151
92242
|
}), /* @__PURE__ */ jsx$1("div", {
|
|
92152
|
-
className: styles$
|
|
92243
|
+
className: styles$1x.cardBody,
|
|
92153
92244
|
children: data2 && /* @__PURE__ */ jsxs("div", {
|
|
92154
92245
|
style: {
|
|
92155
92246
|
display: "flex",
|
|
@@ -92196,7 +92287,7 @@ const index$b = ({
|
|
|
92196
92287
|
canEdit
|
|
92197
92288
|
}) => {
|
|
92198
92289
|
return /* @__PURE__ */ jsx$1("div", {
|
|
92199
|
-
className: styles$
|
|
92290
|
+
className: styles$1x.sectionManagement,
|
|
92200
92291
|
children: /* @__PURE__ */ jsx$1(ReviewsCard, {
|
|
92201
92292
|
data: data2,
|
|
92202
92293
|
reload,
|
|
@@ -92245,18 +92336,18 @@ const ReviewsReportCard = ({
|
|
|
92245
92336
|
}
|
|
92246
92337
|
}, [data2]);
|
|
92247
92338
|
return /* @__PURE__ */ jsxs(Card, {
|
|
92248
|
-
className: styles$
|
|
92339
|
+
className: styles$1x.sectionCard,
|
|
92249
92340
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
92250
|
-
className: styles$
|
|
92341
|
+
className: styles$1x.cardHeader,
|
|
92251
92342
|
children: [/* @__PURE__ */ jsx$1("h2", {
|
|
92252
|
-
className: styles$
|
|
92343
|
+
className: styles$1x.cardTitle,
|
|
92253
92344
|
children: t2("REVIEWSREPORT")
|
|
92254
92345
|
}), /* @__PURE__ */ jsx$1("p", {
|
|
92255
|
-
className: styles$
|
|
92346
|
+
className: styles$1x.cardDesc,
|
|
92256
92347
|
children: t2("REVIEWSREPORT_DESC")
|
|
92257
92348
|
})]
|
|
92258
92349
|
}), /* @__PURE__ */ jsx$1("div", {
|
|
92259
|
-
className: styles$
|
|
92350
|
+
className: styles$1x.cardBody,
|
|
92260
92351
|
children: data2 && /* @__PURE__ */ jsxs("div", {
|
|
92261
92352
|
style: {
|
|
92262
92353
|
display: "flex",
|
|
@@ -92317,7 +92408,7 @@ const index$a = ({
|
|
|
92317
92408
|
canEdit
|
|
92318
92409
|
}) => {
|
|
92319
92410
|
return /* @__PURE__ */ jsx$1("div", {
|
|
92320
|
-
className: styles$
|
|
92411
|
+
className: styles$1x.sectionManagement,
|
|
92321
92412
|
children: /* @__PURE__ */ jsx$1(ReviewsReportCard, {
|
|
92322
92413
|
data: data2,
|
|
92323
92414
|
reload,
|
|
@@ -92351,14 +92442,14 @@ function Main$3({
|
|
|
92351
92442
|
setCurrentVenue(venueId);
|
|
92352
92443
|
}, [venueId]);
|
|
92353
92444
|
return /* @__PURE__ */ jsxs("div", {
|
|
92354
|
-
className: styles$
|
|
92445
|
+
className: styles$1x.mainConatiner,
|
|
92355
92446
|
children: [/* @__PURE__ */ jsx$1("div", {
|
|
92356
|
-
className: styles$
|
|
92447
|
+
className: styles$1x.header,
|
|
92357
92448
|
children: /* @__PURE__ */ jsx$1("h2", {
|
|
92358
92449
|
children: t2("NOTIFICATIONS")
|
|
92359
92450
|
})
|
|
92360
92451
|
}), /* @__PURE__ */ jsxs("div", {
|
|
92361
|
-
className: styles$
|
|
92452
|
+
className: styles$1x.content,
|
|
92362
92453
|
children: [/* @__PURE__ */ jsx$1(index$d, {
|
|
92363
92454
|
venueId: currentVenue,
|
|
92364
92455
|
data: data2,
|
|
@@ -92464,9 +92555,9 @@ const EmailForm = ({
|
|
|
92464
92555
|
onSubmit: handleSubmit(onSubmitForm),
|
|
92465
92556
|
children: /* @__PURE__ */ jsxs("div", {
|
|
92466
92557
|
children: [fields && fields.length > 0 ? fields.map((item2, index2) => /* @__PURE__ */ jsxs("div", {
|
|
92467
|
-
className: styles$
|
|
92558
|
+
className: styles$1y.container,
|
|
92468
92559
|
children: [/* @__PURE__ */ jsx$1("div", {
|
|
92469
|
-
className: styles$
|
|
92560
|
+
className: styles$1y.email,
|
|
92470
92561
|
children: /* @__PURE__ */ jsx$1(TextInputField, {
|
|
92471
92562
|
control,
|
|
92472
92563
|
id: `emails.${index2}`,
|
|
@@ -92476,19 +92567,19 @@ const EmailForm = ({
|
|
|
92476
92567
|
radius: "sm"
|
|
92477
92568
|
})
|
|
92478
92569
|
}), index2 > 0 && /* @__PURE__ */ jsx$1("button", {
|
|
92479
|
-
className: styles$
|
|
92570
|
+
className: styles$1y.button,
|
|
92480
92571
|
type: "button",
|
|
92481
92572
|
onClick: () => remove(index2),
|
|
92482
92573
|
children: /* @__PURE__ */ jsx$1("span", {
|
|
92483
|
-
className: styles$
|
|
92574
|
+
className: styles$1y.plus,
|
|
92484
92575
|
children: "-"
|
|
92485
92576
|
})
|
|
92486
92577
|
}), /* @__PURE__ */ jsx$1("button", {
|
|
92487
|
-
className: styles$
|
|
92578
|
+
className: styles$1y.button,
|
|
92488
92579
|
type: "button",
|
|
92489
92580
|
onClick: () => append2(""),
|
|
92490
92581
|
children: /* @__PURE__ */ jsx$1("span", {
|
|
92491
|
-
className: styles$
|
|
92582
|
+
className: styles$1y.plus,
|
|
92492
92583
|
children: "+"
|
|
92493
92584
|
})
|
|
92494
92585
|
})]
|
|
@@ -92499,7 +92590,7 @@ const EmailForm = ({
|
|
|
92499
92590
|
onClick: () => append2(""),
|
|
92500
92591
|
children: t2("ADDANEMAIL")
|
|
92501
92592
|
}), /* @__PURE__ */ jsx$1("div", {
|
|
92502
|
-
className: styles$
|
|
92593
|
+
className: styles$1y.footer,
|
|
92503
92594
|
children: /* @__PURE__ */ jsx$1(Button$1, {
|
|
92504
92595
|
size: "small",
|
|
92505
92596
|
type: "submit",
|
|
@@ -92529,7 +92620,7 @@ const formatData$g = (data2) => {
|
|
|
92529
92620
|
autoReplyReviews: data2.autoReplyReviews ? "true" : "false"
|
|
92530
92621
|
};
|
|
92531
92622
|
};
|
|
92532
|
-
const styles$
|
|
92623
|
+
const styles$1t = {
|
|
92533
92624
|
"ui-list": "_ui-list_4zr5h_1",
|
|
92534
92625
|
"ui-list--horizontal": "_ui-list--horizontal_4zr5h_10"
|
|
92535
92626
|
};
|
|
@@ -92538,7 +92629,7 @@ const UIList$1 = ({
|
|
|
92538
92629
|
children
|
|
92539
92630
|
}) => {
|
|
92540
92631
|
return /* @__PURE__ */ jsx$1("ul", {
|
|
92541
|
-
className: classNames$2(styles$
|
|
92632
|
+
className: classNames$2(styles$1t["ui-list"], styles$1t[`ui-list--${mode}`]),
|
|
92542
92633
|
children: React__default.Children.map(children, (child, i) => /* @__PURE__ */ jsx$1("li", {
|
|
92543
92634
|
children: child
|
|
92544
92635
|
}, i))
|
|
@@ -92571,7 +92662,7 @@ const Modal2 = ({
|
|
|
92571
92662
|
});
|
|
92572
92663
|
};
|
|
92573
92664
|
const input = "_input_1ufjp_1";
|
|
92574
|
-
const styles$
|
|
92665
|
+
const styles$1s = {
|
|
92575
92666
|
input
|
|
92576
92667
|
};
|
|
92577
92668
|
const TextArea = React__default.forwardRef(({
|
|
@@ -92607,7 +92698,7 @@ const TextArea = React__default.forwardRef(({
|
|
|
92607
92698
|
position: "relative"
|
|
92608
92699
|
},
|
|
92609
92700
|
children: [/* @__PURE__ */ jsx$1("textarea", {
|
|
92610
|
-
className: styles$
|
|
92701
|
+
className: styles$1s.input,
|
|
92611
92702
|
onChange: handleChange,
|
|
92612
92703
|
id: id2,
|
|
92613
92704
|
name: id2,
|
|
@@ -92828,7 +92919,7 @@ const AiPromptCard = ({
|
|
|
92828
92919
|
onChange: () => handleSubmit("autoReplyReviews", values)
|
|
92829
92920
|
})
|
|
92830
92921
|
}), /* @__PURE__ */ jsxs("div", {
|
|
92831
|
-
className: styles$
|
|
92922
|
+
className: styles$1B.item,
|
|
92832
92923
|
children: [/* @__PURE__ */ jsx$1("div", {
|
|
92833
92924
|
children: /* @__PURE__ */ jsx$1(Icon, {
|
|
92834
92925
|
icon: "robot"
|
|
@@ -92905,7 +92996,7 @@ const Notifications = ({
|
|
|
92905
92996
|
});
|
|
92906
92997
|
}
|
|
92907
92998
|
return /* @__PURE__ */ jsxs(LayoutPage$1, {
|
|
92908
|
-
containerClassName: styles$
|
|
92999
|
+
containerClassName: styles$1B.mainConatiner,
|
|
92909
93000
|
children: [/* @__PURE__ */ jsx$1(Formik, {
|
|
92910
93001
|
initialValues: data2,
|
|
92911
93002
|
onSubmit: handleSubmit,
|
|
@@ -92913,7 +93004,7 @@ const Notifications = ({
|
|
|
92913
93004
|
children: ({
|
|
92914
93005
|
handleSubmit: handleSubmit2
|
|
92915
93006
|
}) => /* @__PURE__ */ jsxs("div", {
|
|
92916
|
-
className: styles$
|
|
93007
|
+
className: styles$1B.container,
|
|
92917
93008
|
children: [/* @__PURE__ */ jsxs(Card$1, {
|
|
92918
93009
|
header: {
|
|
92919
93010
|
title: t2("REVIEWSREPORT")
|
|
@@ -92964,7 +93055,7 @@ const Notifications = ({
|
|
|
92964
93055
|
children: t2("Get all the notifications on these emails.")
|
|
92965
93056
|
}), /* @__PURE__ */ jsx$1("br", {}), data2 == null ? void 0 : data2.emails.map((email3, index2) => {
|
|
92966
93057
|
return /* @__PURE__ */ jsxs("div", {
|
|
92967
|
-
className: styles$
|
|
93058
|
+
className: styles$1B.item,
|
|
92968
93059
|
children: [/* @__PURE__ */ jsx$1("div", {
|
|
92969
93060
|
children: /* @__PURE__ */ jsx$1(Icon, {
|
|
92970
93061
|
icon: "mail"
|
|
@@ -92972,7 +93063,7 @@ const Notifications = ({
|
|
|
92972
93063
|
}), email3 || t2("NOTDEFINED")]
|
|
92973
93064
|
}, index2);
|
|
92974
93065
|
}), !(data2 == null ? void 0 : data2.emails) && /* @__PURE__ */ jsxs("div", {
|
|
92975
|
-
className: styles$
|
|
93066
|
+
className: styles$1B.item,
|
|
92976
93067
|
children: [/* @__PURE__ */ jsx$1("div", {
|
|
92977
93068
|
children: /* @__PURE__ */ jsx$1(Icon, {
|
|
92978
93069
|
icon: "mail"
|
|
@@ -93164,7 +93255,7 @@ function App$1() {
|
|
|
93164
93255
|
const filterButton = "_filterButton_l1kwj_1";
|
|
93165
93256
|
const buttonClose = "_buttonClose_l1kwj_20";
|
|
93166
93257
|
const toolbar$1 = "_toolbar_l1kwj_36";
|
|
93167
|
-
const styles$
|
|
93258
|
+
const styles$1r = {
|
|
93168
93259
|
filterButton,
|
|
93169
93260
|
buttonClose,
|
|
93170
93261
|
toolbar: toolbar$1,
|
|
@@ -93181,12 +93272,12 @@ const FiltersWrapper = ({
|
|
|
93181
93272
|
return /* @__PURE__ */ jsxs(Fragment, {
|
|
93182
93273
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
93183
93274
|
ref,
|
|
93184
|
-
className: classNames$2(styles$
|
|
93185
|
-
[styles$
|
|
93275
|
+
className: classNames$2(styles$1r.toolbar, {
|
|
93276
|
+
[styles$1r["toolbar--hide"]]: !showFilters
|
|
93186
93277
|
}),
|
|
93187
93278
|
children: [/* @__PURE__ */ jsx$1("div", {
|
|
93188
|
-
className: classNames$2(styles$
|
|
93189
|
-
[styles$
|
|
93279
|
+
className: classNames$2(styles$1r.buttonClose, {
|
|
93280
|
+
[styles$1r.hide]: !showFilters
|
|
93190
93281
|
}),
|
|
93191
93282
|
children: /* @__PURE__ */ jsx$1(Icon$1, {
|
|
93192
93283
|
icon: "close",
|
|
@@ -93198,7 +93289,7 @@ const FiltersWrapper = ({
|
|
|
93198
93289
|
})]
|
|
93199
93290
|
}), /* @__PURE__ */ jsxs("button", {
|
|
93200
93291
|
onClick: toogleFilter,
|
|
93201
|
-
className: styles$
|
|
93292
|
+
className: styles$1r.filterButton,
|
|
93202
93293
|
children: [/* @__PURE__ */ jsx$1(Icon$1, {
|
|
93203
93294
|
icon: "descriptionShort",
|
|
93204
93295
|
size: "small"
|
|
@@ -93530,7 +93621,7 @@ const icon$6 = "_icon_wt0av_1";
|
|
|
93530
93621
|
const green$1 = "_green_wt0av_10";
|
|
93531
93622
|
const blue$1 = "_blue_wt0av_15";
|
|
93532
93623
|
const red$1 = "_red_wt0av_20";
|
|
93533
|
-
const styles$
|
|
93624
|
+
const styles$1q = {
|
|
93534
93625
|
icon: icon$6,
|
|
93535
93626
|
green: green$1,
|
|
93536
93627
|
blue: blue$1,
|
|
@@ -93541,7 +93632,7 @@ const CircleIcon$1 = ({
|
|
|
93541
93632
|
color: color2 = "green"
|
|
93542
93633
|
}) => {
|
|
93543
93634
|
return /* @__PURE__ */ jsx$1("span", {
|
|
93544
|
-
className: classNames$2(styles$
|
|
93635
|
+
className: classNames$2(styles$1q.icon, styles$1q[color2]),
|
|
93545
93636
|
children: /* @__PURE__ */ jsx$1(Icon2, {
|
|
93546
93637
|
size: 20
|
|
93547
93638
|
})
|
|
@@ -116807,7 +116898,7 @@ const container$k = "_container_6pm34_1";
|
|
|
116807
116898
|
const content$6 = "_content_6pm34_7";
|
|
116808
116899
|
const item$3 = "_item_6pm34_13";
|
|
116809
116900
|
const compare = "_compare_6pm34_19";
|
|
116810
|
-
const styles$
|
|
116901
|
+
const styles$1p = {
|
|
116811
116902
|
container: container$k,
|
|
116812
116903
|
content: content$6,
|
|
116813
116904
|
item: item$3,
|
|
@@ -116825,11 +116916,11 @@ const AverageScoreCard = ({
|
|
|
116825
116916
|
header: {
|
|
116826
116917
|
title: t2("AVERAGESCORE")
|
|
116827
116918
|
},
|
|
116828
|
-
className: styles$
|
|
116829
|
-
classNameContent: styles$
|
|
116919
|
+
className: styles$1p.container,
|
|
116920
|
+
classNameContent: styles$1p.content,
|
|
116830
116921
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
116831
116922
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
116832
|
-
className: styles$
|
|
116923
|
+
className: styles$1p.item,
|
|
116833
116924
|
children: [/* @__PURE__ */ jsx$1(ScoreChart, {
|
|
116834
116925
|
data: inPeriod.chart,
|
|
116835
116926
|
avg: inPeriod.avg
|
|
@@ -116838,7 +116929,7 @@ const AverageScoreCard = ({
|
|
|
116838
116929
|
data: inPeriod.chart
|
|
116839
116930
|
})]
|
|
116840
116931
|
}), /* @__PURE__ */ jsxs("div", {
|
|
116841
|
-
className: styles$
|
|
116932
|
+
className: styles$1p.item,
|
|
116842
116933
|
children: [/* @__PURE__ */ jsx$1(ScoreChart, {
|
|
116843
116934
|
data: compare2.chart,
|
|
116844
116935
|
avg: compare2.avg
|
|
@@ -116848,7 +116939,7 @@ const AverageScoreCard = ({
|
|
|
116848
116939
|
})]
|
|
116849
116940
|
})]
|
|
116850
116941
|
}), /* @__PURE__ */ jsx$1("div", {
|
|
116851
|
-
className: styles$
|
|
116942
|
+
className: styles$1p.compare,
|
|
116852
116943
|
children: /* @__PURE__ */ jsx$1("small", {
|
|
116853
116944
|
children: t2("COMPARED_PERIOD", {
|
|
116854
116945
|
date: comparedPeriod
|
|
@@ -116907,7 +116998,7 @@ const comparison$1 = "_comparison_18cx4_20";
|
|
|
116907
116998
|
const container$j = "_container_18cx4_25";
|
|
116908
116999
|
const content$5 = "_content_18cx4_29";
|
|
116909
117000
|
const title$2 = "_title_18cx4_33";
|
|
116910
|
-
const styles$
|
|
117001
|
+
const styles$1o = {
|
|
116911
117002
|
success: success$1,
|
|
116912
117003
|
danger: danger$1,
|
|
116913
117004
|
header: header$5,
|
|
@@ -116919,18 +117010,18 @@ const styles$1n = {
|
|
|
116919
117010
|
};
|
|
116920
117011
|
const container$i = "_container_1vji6_13";
|
|
116921
117012
|
const itemStatCard$1 = "_itemStatCard_1vji6_32";
|
|
116922
|
-
const styles$
|
|
117013
|
+
const styles$1n = {
|
|
116923
117014
|
"animate-pulse": "_animate-pulse_1vji6_1",
|
|
116924
117015
|
container: container$i,
|
|
116925
117016
|
itemStatCard: itemStatCard$1
|
|
116926
117017
|
};
|
|
116927
117018
|
const SkeletonStatCard$1 = () => {
|
|
116928
117019
|
return /* @__PURE__ */ jsx$1("div", {
|
|
116929
|
-
className: styles$
|
|
117020
|
+
className: styles$1n["animate-pulse"],
|
|
116930
117021
|
children: /* @__PURE__ */ jsx$1("div", {
|
|
116931
|
-
className: styles$
|
|
117022
|
+
className: styles$1n.container,
|
|
116932
117023
|
children: /* @__PURE__ */ jsx$1("div", {
|
|
116933
|
-
className: styles$
|
|
117024
|
+
className: styles$1n.itemStatCard
|
|
116934
117025
|
})
|
|
116935
117026
|
})
|
|
116936
117027
|
});
|
|
@@ -116947,10 +117038,10 @@ const StatsCard$1 = ({
|
|
|
116947
117038
|
}) => {
|
|
116948
117039
|
const arrow2 = comparison2 > 0 ? /* @__PURE__ */ jsx$1(ArrowUp, {
|
|
116949
117040
|
size: 20,
|
|
116950
|
-
className: styles$
|
|
117041
|
+
className: styles$1o.success
|
|
116951
117042
|
}) : /* @__PURE__ */ jsx$1(ArrowDown, {
|
|
116952
117043
|
size: 20,
|
|
116953
|
-
className: styles$
|
|
117044
|
+
className: styles$1o.danger
|
|
116954
117045
|
});
|
|
116955
117046
|
const renderValue = () => {
|
|
116956
117047
|
if (loadingValue) {
|
|
@@ -116967,12 +117058,12 @@ const StatsCard$1 = ({
|
|
|
116967
117058
|
}
|
|
116968
117059
|
if (typeof value2 === "number") {
|
|
116969
117060
|
return /* @__PURE__ */ jsx$1("span", {
|
|
116970
|
-
className: styles$
|
|
117061
|
+
className: styles$1o.value,
|
|
116971
117062
|
children: numberToLocaleString(value2)
|
|
116972
117063
|
});
|
|
116973
117064
|
}
|
|
116974
117065
|
return /* @__PURE__ */ jsxs("span", {
|
|
116975
|
-
className: styles$
|
|
117066
|
+
className: styles$1o.value,
|
|
116976
117067
|
children: [numberToLocaleString(value2.value), /* @__PURE__ */ jsx$1("sub", {
|
|
116977
117068
|
style: {
|
|
116978
117069
|
fontWeight: "bold",
|
|
@@ -116984,19 +117075,19 @@ const StatsCard$1 = ({
|
|
|
116984
117075
|
};
|
|
116985
117076
|
return /* @__PURE__ */ jsx$1(Card$1, {
|
|
116986
117077
|
header: /* @__PURE__ */ jsxs("div", {
|
|
116987
|
-
className: styles$
|
|
117078
|
+
className: styles$1o.header,
|
|
116988
117079
|
children: [icon2, /* @__PURE__ */ jsx$1("span", {
|
|
116989
|
-
className: styles$
|
|
117080
|
+
className: styles$1o.title,
|
|
116990
117081
|
children: title2
|
|
116991
117082
|
})]
|
|
116992
117083
|
}),
|
|
116993
|
-
className: styles$
|
|
116994
|
-
classNameContent: styles$
|
|
117084
|
+
className: styles$1o.container,
|
|
117085
|
+
classNameContent: styles$1o.content,
|
|
116995
117086
|
children: !loading2 ? /* @__PURE__ */ jsxs(React__default.Fragment, {
|
|
116996
117087
|
children: [renderValue(), comparison2 !== 0 && /* @__PURE__ */ jsxs("div", {
|
|
116997
|
-
className: classNames$2(styles$
|
|
116998
|
-
[styles$
|
|
116999
|
-
[styles$
|
|
117088
|
+
className: classNames$2(styles$1o.comparison, {
|
|
117089
|
+
[styles$1o.success]: comparison2 > 0,
|
|
117090
|
+
[styles$1o.danger]: comparison2 < 0
|
|
117000
117091
|
}),
|
|
117001
117092
|
children: [comparison2 !== 0 ? arrow2 : /* @__PURE__ */ jsx$1("span", {
|
|
117002
117093
|
style: {
|
|
@@ -117261,7 +117352,7 @@ const content$4 = "_content_15v81_42";
|
|
|
117261
117352
|
const errorContainer = "_errorContainer_15v81_49";
|
|
117262
117353
|
const venueSelectorContainer = "_venueSelectorContainer_15v81_54";
|
|
117263
117354
|
const venueSelector$1 = "_venueSelector_15v81_54";
|
|
117264
|
-
const styles$
|
|
117355
|
+
const styles$1m = {
|
|
117265
117356
|
listingAnalyticsContainer,
|
|
117266
117357
|
h3,
|
|
117267
117358
|
center,
|
|
@@ -117551,7 +117642,7 @@ const SelectVenue = ({
|
|
|
117551
117642
|
};
|
|
117552
117643
|
const param = "_param_su98a_1";
|
|
117553
117644
|
const title$1 = "_title_su98a_6";
|
|
117554
|
-
const styles$
|
|
117645
|
+
const styles$1l = {
|
|
117555
117646
|
param,
|
|
117556
117647
|
title: title$1
|
|
117557
117648
|
};
|
|
@@ -117561,9 +117652,9 @@ const Param = ({
|
|
|
117561
117652
|
tooltip: tooltip2,
|
|
117562
117653
|
loadingValue = false
|
|
117563
117654
|
}) => /* @__PURE__ */ jsxs("div", {
|
|
117564
|
-
className: styles$
|
|
117655
|
+
className: styles$1l.param,
|
|
117565
117656
|
children: [/* @__PURE__ */ jsx$1("span", {
|
|
117566
|
-
className: styles$
|
|
117657
|
+
className: styles$1l.title,
|
|
117567
117658
|
children: tooltip2 ? /* @__PURE__ */ jsx$1(Tooltip$1, {
|
|
117568
117659
|
message: tooltip2,
|
|
117569
117660
|
children: title2
|
|
@@ -117633,11 +117724,11 @@ const Analytics$2 = ({
|
|
|
117633
117724
|
}
|
|
117634
117725
|
}, [data2]);
|
|
117635
117726
|
return /* @__PURE__ */ jsxs("div", {
|
|
117636
|
-
className: styles$
|
|
117727
|
+
className: styles$1m.listingAnalyticsContainer,
|
|
117637
117728
|
children: [/* @__PURE__ */ jsx$1("div", {
|
|
117638
|
-
className: styles$
|
|
117729
|
+
className: styles$1m.venueSelectorContainer,
|
|
117639
117730
|
children: /* @__PURE__ */ jsx$1("div", {
|
|
117640
|
-
className: styles$
|
|
117731
|
+
className: styles$1m.venueSelector,
|
|
117641
117732
|
children: /* @__PURE__ */ jsx$1(SelectVenue, {
|
|
117642
117733
|
onChange: handleChangeVenue,
|
|
117643
117734
|
selectedVenue: listingId,
|
|
@@ -117646,18 +117737,18 @@ const Analytics$2 = ({
|
|
|
117646
117737
|
})
|
|
117647
117738
|
}), isLoading && /* @__PURE__ */ jsx$1(LayoutPage$1, {
|
|
117648
117739
|
children: /* @__PURE__ */ jsxs("div", {
|
|
117649
|
-
className: styles$
|
|
117740
|
+
className: styles$1m.center,
|
|
117650
117741
|
children: [/* @__PURE__ */ jsx$1(Icon, {
|
|
117651
117742
|
icon: "Spinner",
|
|
117652
117743
|
size: "xl"
|
|
117653
117744
|
}), /* @__PURE__ */ jsx$1("h3", {
|
|
117654
|
-
className: styles$
|
|
117745
|
+
className: styles$1m.h3,
|
|
117655
117746
|
children: t2("loadingAnalytics")
|
|
117656
117747
|
})]
|
|
117657
117748
|
})
|
|
117658
117749
|
}), !isLoading && !formattedStats && (data2 == null ? void 0 : data2.error) && /* @__PURE__ */ jsx$1(LayoutPage$1, {
|
|
117659
117750
|
children: /* @__PURE__ */ jsxs("div", {
|
|
117660
|
-
className: styles$
|
|
117751
|
+
className: styles$1m.errorContainer,
|
|
117661
117752
|
children: [/* @__PURE__ */ jsx$1("h1", {
|
|
117662
117753
|
children: t2("You don't have a connected Google Account")
|
|
117663
117754
|
}), /* @__PURE__ */ jsx$1("p", {
|
|
@@ -117666,7 +117757,7 @@ const Analytics$2 = ({
|
|
|
117666
117757
|
})
|
|
117667
117758
|
}), !isLoading && notAuthorized && /* @__PURE__ */ jsx$1(LayoutPage$1, {
|
|
117668
117759
|
children: /* @__PURE__ */ jsxs("div", {
|
|
117669
|
-
className: styles$
|
|
117760
|
+
className: styles$1m.errorContainer,
|
|
117670
117761
|
children: [/* @__PURE__ */ jsx$1("h1", {
|
|
117671
117762
|
children: t2("Your Google Business Profile is not Verified")
|
|
117672
117763
|
}), /* @__PURE__ */ jsx$1("p", {
|
|
@@ -117679,7 +117770,7 @@ const Analytics$2 = ({
|
|
|
117679
117770
|
value: filter2
|
|
117680
117771
|
}),
|
|
117681
117772
|
children: [isLoading && /* @__PURE__ */ jsx$1(SkeletonPage, {}), !isLoading && formattedStats && /* @__PURE__ */ jsxs("div", {
|
|
117682
|
-
className: styles$
|
|
117773
|
+
className: styles$1m.content,
|
|
117683
117774
|
children: [/* @__PURE__ */ jsxs(Row, {
|
|
117684
117775
|
gutter: [16, 28],
|
|
117685
117776
|
children: [/* @__PURE__ */ jsx$1(Col, {
|
|
@@ -117788,7 +117879,7 @@ const comparison = "_comparison_18cx4_20";
|
|
|
117788
117879
|
const container$h = "_container_18cx4_25";
|
|
117789
117880
|
const content$3 = "_content_18cx4_29";
|
|
117790
117881
|
const title = "_title_18cx4_33";
|
|
117791
|
-
const styles$
|
|
117882
|
+
const styles$1k = {
|
|
117792
117883
|
success,
|
|
117793
117884
|
danger,
|
|
117794
117885
|
header: header$4,
|
|
@@ -117801,7 +117892,7 @@ const styles$1j = {
|
|
|
117801
117892
|
const container$g = "_container_1vji6_13";
|
|
117802
117893
|
const itemStatCard = "_itemStatCard_1vji6_32";
|
|
117803
117894
|
const itemDiv = "_itemDiv_1vji6_39";
|
|
117804
|
-
const styles$
|
|
117895
|
+
const styles$1j = {
|
|
117805
117896
|
"animate-pulse": "_animate-pulse_1vji6_1",
|
|
117806
117897
|
container: container$g,
|
|
117807
117898
|
itemStatCard,
|
|
@@ -117809,28 +117900,28 @@ const styles$1i = {
|
|
|
117809
117900
|
};
|
|
117810
117901
|
const SkeletonStatCard = () => {
|
|
117811
117902
|
return /* @__PURE__ */ jsx$1("div", {
|
|
117812
|
-
className: styles$
|
|
117903
|
+
className: styles$1j["animate-pulse"],
|
|
117813
117904
|
children: /* @__PURE__ */ jsx$1("div", {
|
|
117814
|
-
className: styles$
|
|
117905
|
+
className: styles$1j.container,
|
|
117815
117906
|
children: /* @__PURE__ */ jsx$1("div", {
|
|
117816
|
-
className: styles$
|
|
117907
|
+
className: styles$1j.itemStatCard
|
|
117817
117908
|
})
|
|
117818
117909
|
})
|
|
117819
117910
|
});
|
|
117820
117911
|
};
|
|
117821
117912
|
const SkeletonDiv = () => {
|
|
117822
117913
|
return /* @__PURE__ */ jsx$1("div", {
|
|
117823
|
-
className: styles$
|
|
117914
|
+
className: styles$1j["animate-pulse"],
|
|
117824
117915
|
children: /* @__PURE__ */ jsx$1("div", {
|
|
117825
|
-
className: styles$
|
|
117916
|
+
className: styles$1j.container,
|
|
117826
117917
|
children: /* @__PURE__ */ jsx$1("div", {
|
|
117827
|
-
className: styles$
|
|
117918
|
+
className: styles$1j.itemDiv
|
|
117828
117919
|
})
|
|
117829
117920
|
})
|
|
117830
117921
|
});
|
|
117831
117922
|
};
|
|
117832
117923
|
const spinner = "_spinner_mmhvn_1";
|
|
117833
|
-
const styles$
|
|
117924
|
+
const styles$1i = {
|
|
117834
117925
|
spinner
|
|
117835
117926
|
};
|
|
117836
117927
|
const Spinner = ({
|
|
@@ -117844,7 +117935,7 @@ const Spinner = ({
|
|
|
117844
117935
|
borderTop: `${size / 10}px solid transparent`
|
|
117845
117936
|
};
|
|
117846
117937
|
return /* @__PURE__ */ jsx$1("div", {
|
|
117847
|
-
className: styles$
|
|
117938
|
+
className: styles$1i.spinner,
|
|
117848
117939
|
style: spinnerStyle
|
|
117849
117940
|
});
|
|
117850
117941
|
};
|
|
@@ -117860,10 +117951,10 @@ const StatsCard = ({
|
|
|
117860
117951
|
}) => {
|
|
117861
117952
|
const arrow2 = comparison2 > 0 ? /* @__PURE__ */ jsx$1(ArrowUp, {
|
|
117862
117953
|
size: 20,
|
|
117863
|
-
className: styles$
|
|
117954
|
+
className: styles$1k.success
|
|
117864
117955
|
}) : /* @__PURE__ */ jsx$1(ArrowDown, {
|
|
117865
117956
|
size: 20,
|
|
117866
|
-
className: styles$
|
|
117957
|
+
className: styles$1k.danger
|
|
117867
117958
|
});
|
|
117868
117959
|
const renderValue = () => {
|
|
117869
117960
|
if (loadingValue) {
|
|
@@ -117879,12 +117970,12 @@ const StatsCard = ({
|
|
|
117879
117970
|
}
|
|
117880
117971
|
if (typeof value2 === "number") {
|
|
117881
117972
|
return /* @__PURE__ */ jsx$1("span", {
|
|
117882
|
-
className: styles$
|
|
117973
|
+
className: styles$1k.value,
|
|
117883
117974
|
children: numberToLocaleString(value2)
|
|
117884
117975
|
});
|
|
117885
117976
|
}
|
|
117886
117977
|
return /* @__PURE__ */ jsxs("span", {
|
|
117887
|
-
className: styles$
|
|
117978
|
+
className: styles$1k.value,
|
|
117888
117979
|
children: [numberToLocaleString(value2.value), /* @__PURE__ */ jsx$1("sub", {
|
|
117889
117980
|
style: {
|
|
117890
117981
|
fontWeight: "bold",
|
|
@@ -117896,19 +117987,19 @@ const StatsCard = ({
|
|
|
117896
117987
|
};
|
|
117897
117988
|
return /* @__PURE__ */ jsx$1(Card$1, {
|
|
117898
117989
|
header: /* @__PURE__ */ jsxs("div", {
|
|
117899
|
-
className: styles$
|
|
117990
|
+
className: styles$1k.header,
|
|
117900
117991
|
children: [icon2, /* @__PURE__ */ jsx$1("span", {
|
|
117901
|
-
className: styles$
|
|
117992
|
+
className: styles$1k.title,
|
|
117902
117993
|
children: title2
|
|
117903
117994
|
})]
|
|
117904
117995
|
}),
|
|
117905
|
-
className: styles$
|
|
117906
|
-
classNameContent: styles$
|
|
117996
|
+
className: styles$1k.container,
|
|
117997
|
+
classNameContent: styles$1k.content,
|
|
117907
117998
|
children: !loading2 ? /* @__PURE__ */ jsxs(React__default.Fragment, {
|
|
117908
117999
|
children: [renderValue(), comparison2 !== 0 && /* @__PURE__ */ jsxs("div", {
|
|
117909
|
-
className: classNames$2(styles$
|
|
117910
|
-
[styles$
|
|
117911
|
-
[styles$
|
|
118000
|
+
className: classNames$2(styles$1k.comparison, {
|
|
118001
|
+
[styles$1k.success]: comparison2 > 0,
|
|
118002
|
+
[styles$1k.danger]: comparison2 < 0
|
|
117912
118003
|
}),
|
|
117913
118004
|
children: [comparison2 !== 0 ? arrow2 : /* @__PURE__ */ jsx$1("span", {
|
|
117914
118005
|
style: {
|
|
@@ -117923,7 +118014,7 @@ const StatsCard = ({
|
|
|
117923
118014
|
}) : /* @__PURE__ */ jsx$1(SkeletonStatCard, {})
|
|
117924
118015
|
});
|
|
117925
118016
|
};
|
|
117926
|
-
const styles$
|
|
118017
|
+
const styles$1h = {
|
|
117927
118018
|
"ui-list": "_ui-list_4zr5h_1",
|
|
117928
118019
|
"ui-list--horizontal": "_ui-list--horizontal_4zr5h_10"
|
|
117929
118020
|
};
|
|
@@ -117932,7 +118023,7 @@ const UIList = ({
|
|
|
117932
118023
|
children
|
|
117933
118024
|
}) => {
|
|
117934
118025
|
return /* @__PURE__ */ jsx$1("ul", {
|
|
117935
|
-
className: classNames$2(styles$
|
|
118026
|
+
className: classNames$2(styles$1h["ui-list"], styles$1h[`ui-list--${mode}`]),
|
|
117936
118027
|
children: React__default.Children.map(children, (child, i) => /* @__PURE__ */ jsx$1("li", {
|
|
117937
118028
|
children: child
|
|
117938
118029
|
}, i))
|
|
@@ -117967,7 +118058,7 @@ const icon$5 = "_icon_wt0av_1";
|
|
|
117967
118058
|
const green = "_green_wt0av_10";
|
|
117968
118059
|
const blue = "_blue_wt0av_15";
|
|
117969
118060
|
const red = "_red_wt0av_20";
|
|
117970
|
-
const styles$
|
|
118061
|
+
const styles$1g = {
|
|
117971
118062
|
icon: icon$5,
|
|
117972
118063
|
green,
|
|
117973
118064
|
blue,
|
|
@@ -117978,7 +118069,7 @@ const CircleIcon = ({
|
|
|
117978
118069
|
color: color2 = "green"
|
|
117979
118070
|
}) => {
|
|
117980
118071
|
return /* @__PURE__ */ jsx$1("span", {
|
|
117981
|
-
className: classNames$2(styles$
|
|
118072
|
+
className: classNames$2(styles$1g.icon, styles$1g[color2]),
|
|
117982
118073
|
children: /* @__PURE__ */ jsx$1(Icon, {
|
|
117983
118074
|
size: "medium",
|
|
117984
118075
|
icon: name2
|
|
@@ -118424,18 +118515,18 @@ const Analytics$1 = ({
|
|
|
118424
118515
|
children: /* @__PURE__ */ jsxs("div", {
|
|
118425
118516
|
children: [isLoadingListingAnalytics && /* @__PURE__ */ jsx$1(LayoutPage$1, {
|
|
118426
118517
|
children: /* @__PURE__ */ jsxs("div", {
|
|
118427
|
-
className: styles$
|
|
118518
|
+
className: styles$1m.center,
|
|
118428
118519
|
children: [/* @__PURE__ */ jsx$1(Icon, {
|
|
118429
118520
|
icon: "Spinner",
|
|
118430
118521
|
size: "xl"
|
|
118431
118522
|
}), /* @__PURE__ */ jsx$1("h3", {
|
|
118432
|
-
className: styles$
|
|
118523
|
+
className: styles$1m.h3,
|
|
118433
118524
|
children: t2("loadingAnalytics")
|
|
118434
118525
|
})]
|
|
118435
118526
|
})
|
|
118436
118527
|
}), !isLoadingListingAnalytics && !formattedStats && (data2 == null ? void 0 : data2.error) && /* @__PURE__ */ jsx$1(LayoutPage$1, {
|
|
118437
118528
|
children: /* @__PURE__ */ jsxs("div", {
|
|
118438
|
-
className: styles$
|
|
118529
|
+
className: styles$1m.errorContainer,
|
|
118439
118530
|
children: [/* @__PURE__ */ jsx$1("h1", {
|
|
118440
118531
|
children: t2("You don't have a connected Google Account")
|
|
118441
118532
|
}), /* @__PURE__ */ jsx$1("p", {
|
|
@@ -118444,7 +118535,7 @@ const Analytics$1 = ({
|
|
|
118444
118535
|
})
|
|
118445
118536
|
}), !isLoadingListingAnalytics && notAuthorized && /* @__PURE__ */ jsx$1(LayoutPage$1, {
|
|
118446
118537
|
children: /* @__PURE__ */ jsxs("div", {
|
|
118447
|
-
className: styles$
|
|
118538
|
+
className: styles$1m.errorContainer,
|
|
118448
118539
|
children: [/* @__PURE__ */ jsx$1("h1", {
|
|
118449
118540
|
children: t2("Your Google Business Profile is not Verified")
|
|
118450
118541
|
}), /* @__PURE__ */ jsx$1("p", {
|
|
@@ -118870,7 +118961,7 @@ const getTooltipContentSourceName = (rule) => {
|
|
|
118870
118961
|
});
|
|
118871
118962
|
};
|
|
118872
118963
|
const icon$4 = "_icon_14ksh_1";
|
|
118873
|
-
const styles$
|
|
118964
|
+
const styles$1f = {
|
|
118874
118965
|
icon: icon$4
|
|
118875
118966
|
};
|
|
118876
118967
|
const EditIconWithRule = ({
|
|
@@ -118884,7 +118975,7 @@ const EditIconWithRule = ({
|
|
|
118884
118975
|
children: [/* @__PURE__ */ jsx$1(Icon, {
|
|
118885
118976
|
icon: "lock",
|
|
118886
118977
|
"data-tip": getTooltipContentSourceName(rule),
|
|
118887
|
-
className: styles$
|
|
118978
|
+
className: styles$1f.icon
|
|
118888
118979
|
}), /* @__PURE__ */ jsx$1(ReactTooltip, {
|
|
118889
118980
|
place: "right",
|
|
118890
118981
|
type: "dark",
|
|
@@ -118896,12 +118987,12 @@ const EditIconWithRule = ({
|
|
|
118896
118987
|
return /* @__PURE__ */ jsx$1(Icon, {
|
|
118897
118988
|
icon: "edit",
|
|
118898
118989
|
onClick,
|
|
118899
|
-
className: styles$
|
|
118990
|
+
className: styles$1f.icon
|
|
118900
118991
|
});
|
|
118901
118992
|
};
|
|
118902
118993
|
const item$2 = "_item_1pd7z_1";
|
|
118903
118994
|
const icon$3 = "_icon_1pd7z_7";
|
|
118904
|
-
const styles$
|
|
118995
|
+
const styles$1e = {
|
|
118905
118996
|
item: item$2,
|
|
118906
118997
|
icon: icon$3
|
|
118907
118998
|
};
|
|
@@ -118914,10 +119005,10 @@ const Item = ({
|
|
|
118914
119005
|
t: t2
|
|
118915
119006
|
} = useTranslation();
|
|
118916
119007
|
return /* @__PURE__ */ jsxs("div", {
|
|
118917
|
-
className: styles$
|
|
119008
|
+
className: styles$1e.item,
|
|
118918
119009
|
children: [icon2 && /* @__PURE__ */ jsx$1("div", {
|
|
118919
119010
|
children: /* @__PURE__ */ jsx$1(Icon, {
|
|
118920
|
-
className: styles$
|
|
119011
|
+
className: styles$1e.icon,
|
|
118921
119012
|
icon: icon2
|
|
118922
119013
|
})
|
|
118923
119014
|
}), label2 && /* @__PURE__ */ jsx$1("div", {
|
|
@@ -119090,7 +119181,7 @@ const GetListingCategories = async () => {
|
|
|
119090
119181
|
};
|
|
119091
119182
|
const container$f = "_container_d8rq4_1";
|
|
119092
119183
|
const footer$6 = "_footer_d8rq4_5";
|
|
119093
|
-
const styles$
|
|
119184
|
+
const styles$1d = {
|
|
119094
119185
|
container: container$f,
|
|
119095
119186
|
footer: footer$6
|
|
119096
119187
|
};
|
|
@@ -119272,7 +119363,7 @@ const Form$6 = ({
|
|
|
119272
119363
|
children: /* @__PURE__ */ jsxs("form", {
|
|
119273
119364
|
onSubmit: handleSubmit(onSubmitForm),
|
|
119274
119365
|
children: [/* @__PURE__ */ jsx$1("div", {
|
|
119275
|
-
className: styles$
|
|
119366
|
+
className: styles$1d.container,
|
|
119276
119367
|
children: /* @__PURE__ */ jsxs(Row, {
|
|
119277
119368
|
gutter: [16, 16],
|
|
119278
119369
|
children: [/* @__PURE__ */ jsx$1(Col, {
|
|
@@ -119343,7 +119434,7 @@ const Form$6 = ({
|
|
|
119343
119434
|
})]
|
|
119344
119435
|
})
|
|
119345
119436
|
}), /* @__PURE__ */ jsxs("div", {
|
|
119346
|
-
className: styles$
|
|
119437
|
+
className: styles$1d.footer,
|
|
119347
119438
|
children: [/* @__PURE__ */ jsx$1(Button$1, {
|
|
119348
119439
|
size: "small",
|
|
119349
119440
|
type: "reset",
|
|
@@ -120384,9 +120475,9 @@ function requireFacebookLoginRenderProps() {
|
|
|
120384
120475
|
}
|
|
120385
120476
|
var facebookLoginRenderPropsExports = requireFacebookLoginRenderProps();
|
|
120386
120477
|
const FacebookLogin = /* @__PURE__ */ getDefaultExportFromCjs(facebookLoginRenderPropsExports);
|
|
120387
|
-
const connectedText$
|
|
120388
|
-
const styles$
|
|
120389
|
-
connectedText: connectedText$
|
|
120478
|
+
const connectedText$4 = "_connectedText_1nbx5_1";
|
|
120479
|
+
const styles$1c = {
|
|
120480
|
+
connectedText: connectedText$4
|
|
120390
120481
|
};
|
|
120391
120482
|
const FbButton$1 = ({
|
|
120392
120483
|
onSuccess,
|
|
@@ -120424,7 +120515,7 @@ const FbButton$1 = ({
|
|
|
120424
120515
|
mode: "tertiary",
|
|
120425
120516
|
onClick: handleDisconect,
|
|
120426
120517
|
children: /* @__PURE__ */ jsx$1("span", {
|
|
120427
|
-
className: styles$
|
|
120518
|
+
className: styles$1c.connectedText,
|
|
120428
120519
|
children: isDisconnecting ? t2("SYNCING") : t2("SYNCKED")
|
|
120429
120520
|
})
|
|
120430
120521
|
});
|
|
@@ -120441,7 +120532,7 @@ const FbButton$1 = ({
|
|
|
120441
120532
|
onClick: () => setTimeout(renderProps.onClick, 100),
|
|
120442
120533
|
disabled: renderProps.isDisabled,
|
|
120443
120534
|
children: /* @__PURE__ */ jsx$1("span", {
|
|
120444
|
-
className: styles$
|
|
120535
|
+
className: styles$1c.connectedText,
|
|
120445
120536
|
children: t2("CONNECT")
|
|
120446
120537
|
})
|
|
120447
120538
|
})
|
|
@@ -126546,9 +126637,9 @@ const GoogleAuthCallback = async ({
|
|
|
126546
126637
|
validateResponse(data2);
|
|
126547
126638
|
return { data: data2 };
|
|
126548
126639
|
};
|
|
126549
|
-
const connectedText$
|
|
126550
|
-
const styles$
|
|
126551
|
-
connectedText: connectedText$
|
|
126640
|
+
const connectedText$3 = "_connectedText_1nbx5_1";
|
|
126641
|
+
const styles$1b = {
|
|
126642
|
+
connectedText: connectedText$3
|
|
126552
126643
|
};
|
|
126553
126644
|
const GoogleButton$1 = ({
|
|
126554
126645
|
onSuccess,
|
|
@@ -126593,7 +126684,7 @@ const GoogleButton$1 = ({
|
|
|
126593
126684
|
type: "button",
|
|
126594
126685
|
onClick: handleDisconect,
|
|
126595
126686
|
children: /* @__PURE__ */ jsx$1("span", {
|
|
126596
|
-
className: styles$
|
|
126687
|
+
className: styles$1b.connectedText,
|
|
126597
126688
|
children: isDisconnecting ? t2("SYNCING") : t2("SYNCKED")
|
|
126598
126689
|
})
|
|
126599
126690
|
});
|
|
@@ -126606,7 +126697,7 @@ const GoogleButton$1 = ({
|
|
|
126606
126697
|
onClick: () => login(),
|
|
126607
126698
|
isLoading: isExecuting,
|
|
126608
126699
|
children: /* @__PURE__ */ jsx$1("span", {
|
|
126609
|
-
className: styles$
|
|
126700
|
+
className: styles$1b.connectedText,
|
|
126610
126701
|
children: t2("CONNECT")
|
|
126611
126702
|
})
|
|
126612
126703
|
});
|
|
@@ -126619,9 +126710,9 @@ const GoogleButtonContainer$1 = (props) => {
|
|
|
126619
126710
|
})
|
|
126620
126711
|
});
|
|
126621
126712
|
};
|
|
126622
|
-
const connectedText$
|
|
126623
|
-
const styles$
|
|
126624
|
-
connectedText: connectedText$
|
|
126713
|
+
const connectedText$2 = "_connectedText_1nbx5_1";
|
|
126714
|
+
const styles$1a = {
|
|
126715
|
+
connectedText: connectedText$2
|
|
126625
126716
|
};
|
|
126626
126717
|
const BingButton$1 = ({
|
|
126627
126718
|
venueId,
|
|
@@ -126647,7 +126738,7 @@ const BingButton$1 = ({
|
|
|
126647
126738
|
icon: "Bing",
|
|
126648
126739
|
onClick: handleDisconnect,
|
|
126649
126740
|
children: /* @__PURE__ */ jsx$1("span", {
|
|
126650
|
-
className: styles$
|
|
126741
|
+
className: styles$1a.connectedText,
|
|
126651
126742
|
children: t2("SYNCKED")
|
|
126652
126743
|
})
|
|
126653
126744
|
});
|
|
@@ -126659,7 +126750,7 @@ const BingButton$1 = ({
|
|
|
126659
126750
|
icon: "Bing",
|
|
126660
126751
|
onClick: onBingVerify,
|
|
126661
126752
|
children: /* @__PURE__ */ jsx$1("span", {
|
|
126662
|
-
className: styles$
|
|
126753
|
+
className: styles$1a.connectedText,
|
|
126663
126754
|
children: t2("VERIFY")
|
|
126664
126755
|
})
|
|
126665
126756
|
});
|
|
@@ -126672,7 +126763,7 @@ const BingButton$1 = ({
|
|
|
126672
126763
|
icon: "Bing",
|
|
126673
126764
|
onClick: onBingConnect,
|
|
126674
126765
|
children: /* @__PURE__ */ jsx$1("span", {
|
|
126675
|
-
className: styles$
|
|
126766
|
+
className: styles$1a.connectedText,
|
|
126676
126767
|
children: t2("CONNECT")
|
|
126677
126768
|
})
|
|
126678
126769
|
});
|
|
@@ -126704,6 +126795,10 @@ const useConnect = ({ venueId }) => {
|
|
|
126704
126795
|
"Tripadvisor"
|
|
126705
126796
|
/* Tripadvisor */
|
|
126706
126797
|
);
|
|
126798
|
+
const ZomatoConnected = activeModules.includes(
|
|
126799
|
+
"Zomato"
|
|
126800
|
+
/* Zomato */
|
|
126801
|
+
);
|
|
126707
126802
|
return {
|
|
126708
126803
|
isLoading,
|
|
126709
126804
|
data: data2,
|
|
@@ -126712,22 +126807,23 @@ const useConnect = ({ venueId }) => {
|
|
|
126712
126807
|
BingConnected,
|
|
126713
126808
|
AppleConnected,
|
|
126714
126809
|
TripadvisorConnected,
|
|
126715
|
-
reload
|
|
126810
|
+
reload,
|
|
126811
|
+
ZomatoConnected
|
|
126716
126812
|
};
|
|
126717
126813
|
};
|
|
126718
126814
|
const toolbar = "_toolbar_1e45v_1";
|
|
126719
126815
|
const buttonGroup = "_buttonGroup_1e45v_9";
|
|
126720
126816
|
const venueSelector = "_venueSelector_1e45v_15";
|
|
126721
126817
|
const lastUpdate = "_lastUpdate_1e45v_26";
|
|
126722
|
-
const styles$
|
|
126818
|
+
const styles$19 = {
|
|
126723
126819
|
toolbar,
|
|
126724
126820
|
buttonGroup,
|
|
126725
126821
|
venueSelector,
|
|
126726
126822
|
lastUpdate
|
|
126727
126823
|
};
|
|
126728
|
-
const connectedText = "_connectedText_1nbx5_1";
|
|
126729
|
-
const styles$
|
|
126730
|
-
connectedText
|
|
126824
|
+
const connectedText$1 = "_connectedText_1nbx5_1";
|
|
126825
|
+
const styles$18 = {
|
|
126826
|
+
connectedText: connectedText$1
|
|
126731
126827
|
};
|
|
126732
126828
|
const TripadvisorButton = ({
|
|
126733
126829
|
venueId,
|
|
@@ -126750,7 +126846,7 @@ const TripadvisorButton = ({
|
|
|
126750
126846
|
type: "button",
|
|
126751
126847
|
onClick: handleDisconnect,
|
|
126752
126848
|
children: /* @__PURE__ */ jsx$1("span", {
|
|
126753
|
-
className: styles$
|
|
126849
|
+
className: styles$18.connectedText,
|
|
126754
126850
|
children: t2("SYNCKED")
|
|
126755
126851
|
})
|
|
126756
126852
|
});
|
|
@@ -126761,6 +126857,48 @@ const TripadvisorButton = ({
|
|
|
126761
126857
|
mode: "tertiary",
|
|
126762
126858
|
type: "button",
|
|
126763
126859
|
onClick: onTripadvisorConnect,
|
|
126860
|
+
children: /* @__PURE__ */ jsx$1("span", {
|
|
126861
|
+
className: styles$18.connectedText,
|
|
126862
|
+
children: t2("CONNECT")
|
|
126863
|
+
})
|
|
126864
|
+
});
|
|
126865
|
+
};
|
|
126866
|
+
const connectedText = "_connectedText_1nbx5_1";
|
|
126867
|
+
const styles$17 = {
|
|
126868
|
+
connectedText
|
|
126869
|
+
};
|
|
126870
|
+
const ZomatoButton = ({
|
|
126871
|
+
venueId,
|
|
126872
|
+
isConnected,
|
|
126873
|
+
onZomatoConnect,
|
|
126874
|
+
onDisconnect,
|
|
126875
|
+
onConnect
|
|
126876
|
+
}) => {
|
|
126877
|
+
const {
|
|
126878
|
+
t: t2
|
|
126879
|
+
} = useTranslation();
|
|
126880
|
+
const handleDisconnect = async () => {
|
|
126881
|
+
onDisconnect("Zomato");
|
|
126882
|
+
};
|
|
126883
|
+
if (isConnected) {
|
|
126884
|
+
return /* @__PURE__ */ jsx$1(Button$1, {
|
|
126885
|
+
icon: "Zomato",
|
|
126886
|
+
size: "default",
|
|
126887
|
+
mode: "tertiary",
|
|
126888
|
+
type: "button",
|
|
126889
|
+
onClick: handleDisconnect,
|
|
126890
|
+
children: /* @__PURE__ */ jsx$1("span", {
|
|
126891
|
+
className: styles$17.connectedText,
|
|
126892
|
+
children: t2("SYNCKED")
|
|
126893
|
+
})
|
|
126894
|
+
});
|
|
126895
|
+
}
|
|
126896
|
+
return /* @__PURE__ */ jsx$1(Button$1, {
|
|
126897
|
+
icon: "Zomato",
|
|
126898
|
+
size: "default",
|
|
126899
|
+
mode: "tertiary",
|
|
126900
|
+
type: "button",
|
|
126901
|
+
onClick: onZomatoConnect,
|
|
126764
126902
|
children: /* @__PURE__ */ jsx$1("span", {
|
|
126765
126903
|
className: styles$17.connectedText,
|
|
126766
126904
|
children: t2("CONNECT")
|
|
@@ -126780,6 +126918,7 @@ const FormToolBar = ({
|
|
|
126780
126918
|
onBingVerify,
|
|
126781
126919
|
onBingConnect,
|
|
126782
126920
|
onTripadvisorConnect,
|
|
126921
|
+
onZomatoConnect,
|
|
126783
126922
|
googlePublishing,
|
|
126784
126923
|
facebookPublishing
|
|
126785
126924
|
}) => {
|
|
@@ -126794,6 +126933,7 @@ const FormToolBar = ({
|
|
|
126794
126933
|
BingConnected,
|
|
126795
126934
|
AppleConnected,
|
|
126796
126935
|
TripadvisorConnected,
|
|
126936
|
+
ZomatoConnected,
|
|
126797
126937
|
reload,
|
|
126798
126938
|
isLoading: loadingConnections
|
|
126799
126939
|
} = useConnect({
|
|
@@ -126815,9 +126955,9 @@ const FormToolBar = ({
|
|
|
126815
126955
|
return /* @__PURE__ */ jsx$1(Fragment, {
|
|
126816
126956
|
children: /* @__PURE__ */ jsx$1(HeaderBar, {
|
|
126817
126957
|
children: /* @__PURE__ */ jsxs("div", {
|
|
126818
|
-
className: styles$
|
|
126958
|
+
className: styles$19.toolbar,
|
|
126819
126959
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
126820
|
-
className: styles$
|
|
126960
|
+
className: styles$19.buttonGroup,
|
|
126821
126961
|
children: [(GoogleConnected || FacebookConnected || BingConnected) && /* @__PURE__ */ jsxs(Fragment, {
|
|
126822
126962
|
children: [/* @__PURE__ */ jsx$1(GoogleButtonContainer$1, {
|
|
126823
126963
|
onSuccess: setGoogleResponse,
|
|
@@ -126840,6 +126980,13 @@ const FormToolBar = ({
|
|
|
126840
126980
|
onTripadvisorConnect,
|
|
126841
126981
|
onDisconnect,
|
|
126842
126982
|
onConnect
|
|
126983
|
+
}), /* @__PURE__ */ jsx$1(ZomatoButton, {
|
|
126984
|
+
venueId,
|
|
126985
|
+
isConnected: ZomatoConnected,
|
|
126986
|
+
reload: reloadConnect,
|
|
126987
|
+
onZomatoConnect,
|
|
126988
|
+
onDisconnect,
|
|
126989
|
+
onConnect
|
|
126843
126990
|
}), /* @__PURE__ */ jsx$1(BingButton$1, {
|
|
126844
126991
|
venueId,
|
|
126845
126992
|
bingVerificationCode: data2.bingVerificationCode,
|
|
@@ -126857,7 +127004,7 @@ const FormToolBar = ({
|
|
|
126857
127004
|
type: "button",
|
|
126858
127005
|
children: t2("CONNECT")
|
|
126859
127006
|
}), (GoogleConnected || FacebookConnected || BingConnected) && /* @__PURE__ */ jsxs("div", {
|
|
126860
|
-
className: styles$
|
|
127007
|
+
className: styles$19.lastUpdate,
|
|
126861
127008
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
126862
127009
|
style: {
|
|
126863
127010
|
fontWeight: "bolder"
|
|
@@ -126868,11 +127015,11 @@ const FormToolBar = ({
|
|
|
126868
127015
|
})]
|
|
126869
127016
|
})]
|
|
126870
127017
|
}), /* @__PURE__ */ jsx$1("div", {
|
|
126871
|
-
className: styles$
|
|
127018
|
+
className: styles$19.buttonGroup,
|
|
126872
127019
|
children: !singleVenue2 && /* @__PURE__ */ jsx$1("div", {
|
|
126873
|
-
className: styles$
|
|
127020
|
+
className: styles$19.buttonGroup,
|
|
126874
127021
|
children: /* @__PURE__ */ jsx$1("div", {
|
|
126875
|
-
className: styles$
|
|
127022
|
+
className: styles$19.venueSelector,
|
|
126876
127023
|
children: /* @__PURE__ */ jsx$1(SelectVenue, {
|
|
126877
127024
|
onChange: handleChangeVenue,
|
|
126878
127025
|
selectedVenue: venueId,
|
|
@@ -148333,6 +148480,76 @@ const ModalTripadvisorConnect = ({
|
|
|
148333
148480
|
})
|
|
148334
148481
|
});
|
|
148335
148482
|
};
|
|
148483
|
+
const ModalZomatoConnect = ({
|
|
148484
|
+
open,
|
|
148485
|
+
onClose: onClose2,
|
|
148486
|
+
initialValues,
|
|
148487
|
+
reload,
|
|
148488
|
+
venueListingId,
|
|
148489
|
+
onConnect,
|
|
148490
|
+
setZomatoProfileUrl
|
|
148491
|
+
}) => {
|
|
148492
|
+
const {
|
|
148493
|
+
t: t2
|
|
148494
|
+
} = useTranslation();
|
|
148495
|
+
const {
|
|
148496
|
+
isExecuting,
|
|
148497
|
+
execute
|
|
148498
|
+
} = useService(UpdateVenueListing, {
|
|
148499
|
+
onSuccess: async () => {
|
|
148500
|
+
onConnect("Zomato");
|
|
148501
|
+
await reload();
|
|
148502
|
+
onClose2();
|
|
148503
|
+
}
|
|
148504
|
+
});
|
|
148505
|
+
const handleSubmit = (data2) => {
|
|
148506
|
+
setZomatoProfileUrl(data2.profileUrl);
|
|
148507
|
+
execute({
|
|
148508
|
+
venueListingId,
|
|
148509
|
+
data: data2
|
|
148510
|
+
});
|
|
148511
|
+
};
|
|
148512
|
+
return /* @__PURE__ */ jsx$1(Modal2, {
|
|
148513
|
+
open,
|
|
148514
|
+
onClose: onClose2,
|
|
148515
|
+
title: t2("Zomato profile url"),
|
|
148516
|
+
width: 600,
|
|
148517
|
+
children: /* @__PURE__ */ jsx$1(Formik, {
|
|
148518
|
+
initialValues,
|
|
148519
|
+
onSubmit: handleSubmit,
|
|
148520
|
+
children: /* @__PURE__ */ jsxs(Form$7, {
|
|
148521
|
+
children: [/* @__PURE__ */ jsx$1("div", {
|
|
148522
|
+
children: /* @__PURE__ */ jsx$1("p", {
|
|
148523
|
+
children: t2("Please, enter below the profile url of your zomato.")
|
|
148524
|
+
})
|
|
148525
|
+
}), /* @__PURE__ */ jsx$1("div", {
|
|
148526
|
+
style: {
|
|
148527
|
+
display: "grid",
|
|
148528
|
+
gridTemplateColumns: "repeat(1,1fr)",
|
|
148529
|
+
gap: "1rem"
|
|
148530
|
+
},
|
|
148531
|
+
children: /* @__PURE__ */ jsx$1(TextInputField$1, {
|
|
148532
|
+
id: "profileUrl",
|
|
148533
|
+
label: t2("PROFILEURL")
|
|
148534
|
+
})
|
|
148535
|
+
}), /* @__PURE__ */ jsx$1("div", {
|
|
148536
|
+
style: {
|
|
148537
|
+
display: "flex",
|
|
148538
|
+
justifyContent: "flex-end",
|
|
148539
|
+
alignItems: "center",
|
|
148540
|
+
marginTop: "1rem"
|
|
148541
|
+
},
|
|
148542
|
+
children: /* @__PURE__ */ jsx$1(Button, {
|
|
148543
|
+
size: "small",
|
|
148544
|
+
type: "submit",
|
|
148545
|
+
isLoading: isExecuting,
|
|
148546
|
+
children: t2("SAVE")
|
|
148547
|
+
})
|
|
148548
|
+
})]
|
|
148549
|
+
})
|
|
148550
|
+
})
|
|
148551
|
+
});
|
|
148552
|
+
};
|
|
148336
148553
|
const VenueListingDetail = ({
|
|
148337
148554
|
venueListingId,
|
|
148338
148555
|
singleVenue: singleVenue2 = false
|
|
@@ -148348,6 +148565,8 @@ const VenueListingDetail = ({
|
|
|
148348
148565
|
const [openBingConnectModal, setOpenBingConnectModal] = useState(false);
|
|
148349
148566
|
const [openTripadvisorConnectModal, setOpenTripadvisorConnectModal] = useState(false);
|
|
148350
148567
|
const [tripadvisorProfileUrl, setTripadvisorProfileUrl] = useState(null);
|
|
148568
|
+
const [openZomatoConnectModal, setOpenZomatoConnectModal] = useState(false);
|
|
148569
|
+
const [zomatoProfileUrl, setZomatoProfileUrl] = useState(null);
|
|
148351
148570
|
const clearModuleToDisconnect = () => setModuleToDisconnect(void 0);
|
|
148352
148571
|
const clearModuleToConnect = () => setModuleToConnect(void 0);
|
|
148353
148572
|
const [showAppleConnectModal, setShowAppleConnectModal] = useState(false);
|
|
@@ -148427,7 +148646,7 @@ const VenueListingDetail = ({
|
|
|
148427
148646
|
void executeModuleConnect({
|
|
148428
148647
|
venueId,
|
|
148429
148648
|
module: moduleToConnect,
|
|
148430
|
-
profileUrl: tripadvisorProfileUrl
|
|
148649
|
+
profileUrl: tripadvisorProfileUrl || zomatoProfileUrl || void 0
|
|
148431
148650
|
});
|
|
148432
148651
|
};
|
|
148433
148652
|
const [temporaryClosed, setTemporaylosed] = useState();
|
|
@@ -148526,6 +148745,7 @@ const VenueListingDetail = ({
|
|
|
148526
148745
|
onBingVerify: () => setOpenBingModal(true),
|
|
148527
148746
|
onBingConnect: () => setOpenBingConnectModal(true),
|
|
148528
148747
|
onTripadvisorConnect: () => setOpenTripadvisorConnectModal(true),
|
|
148748
|
+
onZomatoConnect: () => setOpenZomatoConnectModal(true),
|
|
148529
148749
|
googlePublishing,
|
|
148530
148750
|
facebookPublishing
|
|
148531
148751
|
}),
|
|
@@ -148649,6 +148869,14 @@ const VenueListingDetail = ({
|
|
|
148649
148869
|
reload,
|
|
148650
148870
|
onConnect: setModuleToConnect,
|
|
148651
148871
|
setTripadvisorProfileUrl
|
|
148872
|
+
}), /* @__PURE__ */ jsx$1(ModalZomatoConnect, {
|
|
148873
|
+
onClose: () => setOpenZomatoConnectModal(false),
|
|
148874
|
+
open: Boolean(openZomatoConnectModal),
|
|
148875
|
+
initialValues: data2,
|
|
148876
|
+
venueListingId,
|
|
148877
|
+
reload,
|
|
148878
|
+
onConnect: setModuleToConnect,
|
|
148879
|
+
setZomatoProfileUrl
|
|
148652
148880
|
}), /* @__PURE__ */ jsx$1(FbStepsToConnect, {
|
|
148653
148881
|
venueId,
|
|
148654
148882
|
onSucess: reloadConnect,
|
|
@@ -148671,11 +148899,13 @@ const actionstoDisconnect = {
|
|
|
148671
148899
|
Google: t("AREYOUSUREDISCONNECTFROMGOOGLE"),
|
|
148672
148900
|
Facebook: t("AREYOUSUREDISCONNECTFROMFACEBOOK"),
|
|
148673
148901
|
Bing: t("AREYOUSUREDISCONNECTFROMBING"),
|
|
148674
|
-
Tripadvisor: t("AREYOUSUREDISCONNECTFROMTRIPADVISOR")
|
|
148902
|
+
Tripadvisor: t("AREYOUSUREDISCONNECTFROMTRIPADVISOR"),
|
|
148903
|
+
Zomato: t("AREYOUSUREDISCONNECTFROMZOMATO")
|
|
148675
148904
|
};
|
|
148676
148905
|
const actionstoConnect = {
|
|
148677
148906
|
BingConnect: t("AREYOUSURECONNECTTOBING"),
|
|
148678
|
-
TripAdvisorConnect: t("AREYOUSURECONNECTTOTRIPADVISOR")
|
|
148907
|
+
TripAdvisorConnect: t("AREYOUSURECONNECTTOTRIPADVISOR"),
|
|
148908
|
+
ZomatoConnect: t("AREYOUSURECONNECTTOZOMATO")
|
|
148679
148909
|
};
|
|
148680
148910
|
const getAction = (module2 = "") => {
|
|
148681
148911
|
return actionstoDisconnect[module2] || actionstoConnect[module2] || "";
|
|
@@ -153638,15 +153868,17 @@ const CheckDisplay = ({
|
|
|
153638
153868
|
const [showDetails, setShowDetails] = useState(false);
|
|
153639
153869
|
const [showAllItems, setShowAllItems] = useState(false);
|
|
153640
153870
|
const formatCurrency = (amount) => {
|
|
153871
|
+
console.log("currency", currency);
|
|
153872
|
+
console.log("amount", amount);
|
|
153641
153873
|
switch (currency) {
|
|
153642
153874
|
case "EUR":
|
|
153643
153875
|
return `€${amount.toFixed(2)}`;
|
|
153644
153876
|
case "USD":
|
|
153645
153877
|
return `$${amount.toFixed(2)}`;
|
|
153646
153878
|
case "GBP":
|
|
153647
|
-
return `£${amount.toFixed(2)}`;
|
|
153879
|
+
return `£${amount ? amount.toFixed(2) : "-"}`;
|
|
153648
153880
|
default:
|
|
153649
|
-
return `${amount.toFixed(2)} ${currency ?? ""}`;
|
|
153881
|
+
return `${amount ? amount.toFixed(2) : "-"} ${currency ?? ""}`;
|
|
153650
153882
|
}
|
|
153651
153883
|
};
|
|
153652
153884
|
const calculatedValues = useMemo$1(() => {
|
|
@@ -153697,14 +153929,14 @@ const CheckDisplay = ({
|
|
|
153697
153929
|
children: [/* @__PURE__ */ jsxs("span", {
|
|
153698
153930
|
children: [t2("TAX"), " (", calculatedValues.taxPercentage, "%)"]
|
|
153699
153931
|
}), /* @__PURE__ */ jsx$1("span", {
|
|
153700
|
-
children: formatCurrency(check2.tax)
|
|
153932
|
+
children: check2.tax ? formatCurrency(check2.tax) : "-"
|
|
153701
153933
|
})]
|
|
153702
153934
|
}), /* @__PURE__ */ jsxs("div", {
|
|
153703
153935
|
className: styles$q.detailRow,
|
|
153704
153936
|
children: [/* @__PURE__ */ jsxs("span", {
|
|
153705
153937
|
children: [t2("TIP"), " (", calculatedValues.tipPercentage, "%)"]
|
|
153706
153938
|
}), /* @__PURE__ */ jsx$1("span", {
|
|
153707
|
-
children: formatCurrency(check2.tip)
|
|
153939
|
+
children: check2.tip ? formatCurrency(check2.tip) : "-"
|
|
153708
153940
|
})]
|
|
153709
153941
|
}), /* @__PURE__ */ jsxs("div", {
|
|
153710
153942
|
className: styles$q.detailRow,
|
|
@@ -153713,7 +153945,7 @@ const CheckDisplay = ({
|
|
|
153713
153945
|
children: t2("GROSS_TOTAL")
|
|
153714
153946
|
}), /* @__PURE__ */ jsx$1("span", {
|
|
153715
153947
|
className: styles$q.grossTotalAmount,
|
|
153716
|
-
children: formatCurrency(calculatedValues.grossTotal)
|
|
153948
|
+
children: calculatedValues.grossTotal ? formatCurrency(calculatedValues.grossTotal) : "-"
|
|
153717
153949
|
})]
|
|
153718
153950
|
})]
|
|
153719
153951
|
}), /* @__PURE__ */ jsx$1("div", {
|
|
@@ -153743,7 +153975,7 @@ const CheckDisplay = ({
|
|
|
153743
153975
|
children: [item2.quantity, " - ", item2.name]
|
|
153744
153976
|
}), /* @__PURE__ */ jsx$1("span", {
|
|
153745
153977
|
className: styles$q.itemPrice,
|
|
153746
|
-
children: formatCurrency(item2.price)
|
|
153978
|
+
children: formatCurrency((item2 == null ? void 0 : item2.price) ?? (item2 == null ? void 0 : item2.amount) ?? (item2 == null ? void 0 : item2.unitAmount) ?? 0)
|
|
153747
153979
|
})]
|
|
153748
153980
|
}, `${check2.checkNumber}-${item2.id}-${itemIndex}`);
|
|
153749
153981
|
})
|
|
@@ -195543,19 +195775,21 @@ const BrandManagement$1 = ({
|
|
|
195543
195775
|
})
|
|
195544
195776
|
});
|
|
195545
195777
|
};
|
|
195546
|
-
const brandDetailHeader = "
|
|
195547
|
-
const brandDetailContainer = "
|
|
195548
|
-
const brandDetailContent = "
|
|
195549
|
-
const brandDetailContentContainer = "
|
|
195550
|
-
const
|
|
195551
|
-
const
|
|
195552
|
-
const
|
|
195553
|
-
const
|
|
195778
|
+
const brandDetailHeader = "_brandDetailHeader_gx61u_1";
|
|
195779
|
+
const brandDetailContainer = "_brandDetailContainer_gx61u_7";
|
|
195780
|
+
const brandDetailContent = "_brandDetailContent_gx61u_11";
|
|
195781
|
+
const brandDetailContentContainer = "_brandDetailContentContainer_gx61u_18";
|
|
195782
|
+
const brandDetailOccasionRow = "_brandDetailOccasionRow_gx61u_26";
|
|
195783
|
+
const brandDetailContentRow = "_brandDetailContentRow_gx61u_30";
|
|
195784
|
+
const brandDetailContentItem = "_brandDetailContentItem_gx61u_37";
|
|
195785
|
+
const brandDetailContentItemTitle = "_brandDetailContentItemTitle_gx61u_48";
|
|
195786
|
+
const brandDetailActions = "_brandDetailActions_gx61u_56";
|
|
195554
195787
|
const styles$e = {
|
|
195555
195788
|
brandDetailHeader,
|
|
195556
195789
|
brandDetailContainer,
|
|
195557
195790
|
brandDetailContent,
|
|
195558
195791
|
brandDetailContentContainer,
|
|
195792
|
+
brandDetailOccasionRow,
|
|
195559
195793
|
brandDetailContentRow,
|
|
195560
195794
|
brandDetailContentItem,
|
|
195561
195795
|
brandDetailContentItemTitle,
|
|
@@ -195568,6 +195802,82 @@ const UpdateBrand = async ({
|
|
|
195568
195802
|
await instance$1.put(`/brands/${brandId}`, data2);
|
|
195569
195803
|
return { data: "updated" };
|
|
195570
195804
|
};
|
|
195805
|
+
const OccasionsField = ({
|
|
195806
|
+
control,
|
|
195807
|
+
fields,
|
|
195808
|
+
watchedOccasions,
|
|
195809
|
+
occasionOptions,
|
|
195810
|
+
getAreaOptionsForOccasion,
|
|
195811
|
+
getMenuOptionsForOccasion,
|
|
195812
|
+
isLoadingOccasions,
|
|
195813
|
+
remove,
|
|
195814
|
+
append: append2
|
|
195815
|
+
}) => {
|
|
195816
|
+
const {
|
|
195817
|
+
t: t2
|
|
195818
|
+
} = useTranslation();
|
|
195819
|
+
return /* @__PURE__ */ jsxs(Fragment, {
|
|
195820
|
+
children: [fields.map((field, index2) => {
|
|
195821
|
+
var _a2, _b;
|
|
195822
|
+
const rowOccasionId = (_b = (_a2 = watchedOccasions == null ? void 0 : watchedOccasions[index2]) == null ? void 0 : _a2.occasionId) == null ? void 0 : _b.value;
|
|
195823
|
+
const areaOptions = getAreaOptionsForOccasion(rowOccasionId);
|
|
195824
|
+
const menuOptions = getMenuOptionsForOccasion(rowOccasionId);
|
|
195825
|
+
return /* @__PURE__ */ jsx$1("div", {
|
|
195826
|
+
className: styles$e.brandDetailOccasionRow,
|
|
195827
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
195828
|
+
className: styles$e.brandDetailContentRow,
|
|
195829
|
+
children: [/* @__PURE__ */ jsx$1(SelectField, {
|
|
195830
|
+
fullWidth: true,
|
|
195831
|
+
label: t2("OCCASION"),
|
|
195832
|
+
control,
|
|
195833
|
+
name: `occasions.${index2}.occasionId`,
|
|
195834
|
+
options: occasionOptions,
|
|
195835
|
+
placeholder: t2("SELECT_OCCASION") || "Select Occasion",
|
|
195836
|
+
isClearable: true,
|
|
195837
|
+
isDisabled: isLoadingOccasions,
|
|
195838
|
+
isLoading: isLoadingOccasions
|
|
195839
|
+
}), /* @__PURE__ */ jsx$1(SelectField, {
|
|
195840
|
+
fullWidth: true,
|
|
195841
|
+
label: t2("AREA"),
|
|
195842
|
+
control,
|
|
195843
|
+
name: `occasions.${index2}.occasionAreaId`,
|
|
195844
|
+
options: areaOptions,
|
|
195845
|
+
placeholder: t2("SELECT_AREA") || "Select Area",
|
|
195846
|
+
isClearable: true,
|
|
195847
|
+
isDisabled: !rowOccasionId || isLoadingOccasions,
|
|
195848
|
+
isLoading: isLoadingOccasions
|
|
195849
|
+
}), /* @__PURE__ */ jsx$1(SelectField, {
|
|
195850
|
+
fullWidth: true,
|
|
195851
|
+
label: t2("MENU"),
|
|
195852
|
+
control,
|
|
195853
|
+
name: `occasions.${index2}.occasionMenuId`,
|
|
195854
|
+
options: menuOptions,
|
|
195855
|
+
placeholder: t2("SELECT_MENU") || "Select Menu",
|
|
195856
|
+
isClearable: true,
|
|
195857
|
+
isDisabled: !rowOccasionId || isLoadingOccasions,
|
|
195858
|
+
isLoading: isLoadingOccasions
|
|
195859
|
+
}), /* @__PURE__ */ jsx$1(Button$1, {
|
|
195860
|
+
type: "button",
|
|
195861
|
+
mode: "tertiary",
|
|
195862
|
+
icon: "TrashX",
|
|
195863
|
+
onClick: () => remove(index2),
|
|
195864
|
+
"aria-label": t2("REMOVE") || "Remove"
|
|
195865
|
+
})]
|
|
195866
|
+
})
|
|
195867
|
+
}, field.id);
|
|
195868
|
+
}), /* @__PURE__ */ jsx$1(Button$1, {
|
|
195869
|
+
type: "button",
|
|
195870
|
+
mode: "secondary",
|
|
195871
|
+
onClick: () => append2({
|
|
195872
|
+
occasionId: null,
|
|
195873
|
+
occasionAreaId: null,
|
|
195874
|
+
occasionMenuId: null
|
|
195875
|
+
}),
|
|
195876
|
+
className: styles$e.brandDetailAddOccasion,
|
|
195877
|
+
children: t2("ADD_OCCASION")
|
|
195878
|
+
})]
|
|
195879
|
+
});
|
|
195880
|
+
};
|
|
195571
195881
|
const BrandDetail = () => {
|
|
195572
195882
|
const {
|
|
195573
195883
|
t: t2
|
|
@@ -195605,16 +195915,22 @@ const BrandDetail = () => {
|
|
|
195605
195915
|
defaultValues: {
|
|
195606
195916
|
rwgTc: "",
|
|
195607
195917
|
rwgTcLink: "",
|
|
195608
|
-
|
|
195609
|
-
occasionAreaId: null,
|
|
195610
|
-
occasionMenuId: null
|
|
195918
|
+
occasions: []
|
|
195611
195919
|
}
|
|
195612
195920
|
});
|
|
195613
|
-
const
|
|
195921
|
+
const {
|
|
195922
|
+
fields,
|
|
195923
|
+
append: append2,
|
|
195924
|
+
remove
|
|
195925
|
+
} = useFieldArray({
|
|
195614
195926
|
control,
|
|
195615
|
-
name: "
|
|
195927
|
+
name: "occasions"
|
|
195616
195928
|
});
|
|
195617
|
-
const
|
|
195929
|
+
const watchedOccasions = useWatch({
|
|
195930
|
+
control,
|
|
195931
|
+
name: "occasions"
|
|
195932
|
+
}) || [];
|
|
195933
|
+
const previousOccasionIdsRef = useRef({});
|
|
195618
195934
|
const isInitializingRef = useRef(true);
|
|
195619
195935
|
const {
|
|
195620
195936
|
isExecuting,
|
|
@@ -195632,97 +195948,92 @@ const BrandDetail = () => {
|
|
|
195632
195948
|
label: occasion.name
|
|
195633
195949
|
}));
|
|
195634
195950
|
}, [occasionsData]);
|
|
195635
|
-
const
|
|
195951
|
+
const getOccasionDataById = (occasionId) => {
|
|
195636
195952
|
var _a2;
|
|
195637
|
-
if (!
|
|
195638
|
-
return occasionsData.occasions.occasions.find((occ) => occ.id ===
|
|
195639
|
-
}
|
|
195640
|
-
const
|
|
195641
|
-
|
|
195642
|
-
|
|
195953
|
+
if (!occasionId || !((_a2 = occasionsData == null ? void 0 : occasionsData.occasions) == null ? void 0 : _a2.occasions)) return null;
|
|
195954
|
+
return occasionsData.occasions.occasions.find((occ) => occ.id === occasionId) || null;
|
|
195955
|
+
};
|
|
195956
|
+
const getAreaOptionsForOccasion = (occasionId) => {
|
|
195957
|
+
const occasionData = getOccasionDataById(occasionId);
|
|
195958
|
+
if (!(occasionData == null ? void 0 : occasionData.areas)) return [];
|
|
195959
|
+
return occasionData.areas.map((area2) => ({
|
|
195643
195960
|
value: area2.value,
|
|
195644
195961
|
label: area2.label
|
|
195645
195962
|
}));
|
|
195646
|
-
}
|
|
195647
|
-
const
|
|
195648
|
-
|
|
195649
|
-
|
|
195963
|
+
};
|
|
195964
|
+
const getMenuOptionsForOccasion = (occasionId) => {
|
|
195965
|
+
const occasionData = getOccasionDataById(occasionId);
|
|
195966
|
+
if (!(occasionData == null ? void 0 : occasionData.menus)) return [];
|
|
195967
|
+
return occasionData.menus.map((menu2) => ({
|
|
195650
195968
|
value: menu2.value,
|
|
195651
195969
|
label: menu2.label
|
|
195652
195970
|
}));
|
|
195653
|
-
}
|
|
195654
|
-
useEffect(() => {
|
|
195655
|
-
const currentOccasionValue = (selectedOccasion == null ? void 0 : selectedOccasion.value) || null;
|
|
195656
|
-
if (isInitializingRef.current) {
|
|
195657
|
-
previousOccasionRef.current = currentOccasionValue;
|
|
195658
|
-
return;
|
|
195659
|
-
}
|
|
195660
|
-
if (previousOccasionRef.current !== null && previousOccasionRef.current !== currentOccasionValue) {
|
|
195661
|
-
setValue("occasionAreaId", null);
|
|
195662
|
-
setValue("occasionMenuId", null);
|
|
195663
|
-
}
|
|
195664
|
-
previousOccasionRef.current = currentOccasionValue;
|
|
195665
|
-
}, [selectedOccasion == null ? void 0 : selectedOccasion.value, setValue]);
|
|
195971
|
+
};
|
|
195666
195972
|
useEffect(() => {
|
|
195667
|
-
if (
|
|
195668
|
-
|
|
195669
|
-
|
|
195670
|
-
|
|
195671
|
-
|
|
195672
|
-
|
|
195673
|
-
|
|
195674
|
-
|
|
195675
|
-
const occasionData = occasionsData.occasions.occasions.find((occ) => occ.id === extraData.occasionId);
|
|
195676
|
-
if (occasionData == null ? void 0 : occasionData.areas) {
|
|
195677
|
-
preselectedArea = occasionData.areas.find((area2) => area2.value === extraData.occasionAreaId) || null;
|
|
195678
|
-
if (preselectedArea) {
|
|
195679
|
-
preselectedArea = {
|
|
195680
|
-
value: preselectedArea.value,
|
|
195681
|
-
label: preselectedArea.label
|
|
195682
|
-
};
|
|
195683
|
-
}
|
|
195684
|
-
}
|
|
195685
|
-
}
|
|
195686
|
-
let preselectedMenu = null;
|
|
195687
|
-
if (extraData.occasionMenuId && preselectedOccasion) {
|
|
195688
|
-
const occasionData = occasionsData.occasions.occasions.find((occ) => occ.id === extraData.occasionId);
|
|
195689
|
-
if (occasionData == null ? void 0 : occasionData.menus) {
|
|
195690
|
-
preselectedMenu = occasionData.menus.find((menu2) => menu2.value === extraData.occasionMenuId) || null;
|
|
195691
|
-
if (preselectedMenu) {
|
|
195692
|
-
preselectedMenu = {
|
|
195693
|
-
value: preselectedMenu.value,
|
|
195694
|
-
label: preselectedMenu.label
|
|
195695
|
-
};
|
|
195696
|
-
}
|
|
195697
|
-
}
|
|
195973
|
+
if (isInitializingRef.current || !(watchedOccasions == null ? void 0 : watchedOccasions.length)) return;
|
|
195974
|
+
watchedOccasions.forEach((row, index2) => {
|
|
195975
|
+
var _a2;
|
|
195976
|
+
const currentId = ((_a2 = row == null ? void 0 : row.occasionId) == null ? void 0 : _a2.value) ?? null;
|
|
195977
|
+
const prevId = previousOccasionIdsRef.current[index2];
|
|
195978
|
+
if (prevId !== void 0 && prevId !== null && prevId !== currentId) {
|
|
195979
|
+
setValue(`occasions.${index2}.occasionAreaId`, null);
|
|
195980
|
+
setValue(`occasions.${index2}.occasionMenuId`, null);
|
|
195698
195981
|
}
|
|
195699
|
-
|
|
195700
|
-
|
|
195701
|
-
|
|
195702
|
-
|
|
195703
|
-
|
|
195704
|
-
|
|
195705
|
-
|
|
195706
|
-
|
|
195707
|
-
|
|
195708
|
-
|
|
195709
|
-
|
|
195982
|
+
previousOccasionIdsRef.current[index2] = currentId;
|
|
195983
|
+
});
|
|
195984
|
+
}, [watchedOccasions, setValue]);
|
|
195985
|
+
useEffect(() => {
|
|
195986
|
+
var _a2;
|
|
195987
|
+
if (!data2 || !((_a2 = occasionsData == null ? void 0 : occasionsData.occasions) == null ? void 0 : _a2.occasions)) return;
|
|
195988
|
+
const extraData = data2.extraData || {};
|
|
195989
|
+
const occasionsList = Array.isArray(extraData.occasions) ? extraData.occasions : [];
|
|
195990
|
+
const occasionsFormValues = occasionsList.map((item2) => {
|
|
195991
|
+
var _a3, _b;
|
|
195992
|
+
const occasionOpt = occasionOptions.find((o2) => o2.value === item2.occasionId) || null;
|
|
195993
|
+
const occasionData = getOccasionDataById(item2.occasionId);
|
|
195994
|
+
const areaOpt = (_a3 = occasionData == null ? void 0 : occasionData.areas) == null ? void 0 : _a3.find((a2) => a2.value === item2.occasionAreaId);
|
|
195995
|
+
const menuOpt = (_b = occasionData == null ? void 0 : occasionData.menus) == null ? void 0 : _b.find((m2) => m2.value === item2.occasionMenuId);
|
|
195996
|
+
return {
|
|
195997
|
+
occasionId: occasionOpt,
|
|
195998
|
+
occasionAreaId: areaOpt ? {
|
|
195999
|
+
value: areaOpt.value,
|
|
196000
|
+
label: areaOpt.label
|
|
196001
|
+
} : null,
|
|
196002
|
+
occasionMenuId: menuOpt ? {
|
|
196003
|
+
value: menuOpt.value,
|
|
196004
|
+
label: menuOpt.label
|
|
196005
|
+
} : null
|
|
196006
|
+
};
|
|
196007
|
+
});
|
|
196008
|
+
const initialOccasions = occasionsFormValues.length > 0 ? occasionsFormValues : [];
|
|
196009
|
+
reset({
|
|
196010
|
+
rwgTc: data2.rwgTc || "",
|
|
196011
|
+
rwgTcLink: data2.rwgTcLink || "",
|
|
196012
|
+
occasions: initialOccasions
|
|
196013
|
+
});
|
|
196014
|
+
Object.keys(previousOccasionIdsRef.current).forEach((key2) => delete previousOccasionIdsRef.current[Number(key2)]);
|
|
196015
|
+
initialOccasions.forEach((row, i) => {
|
|
196016
|
+
var _a3;
|
|
196017
|
+
previousOccasionIdsRef.current[i] = ((_a3 = row == null ? void 0 : row.occasionId) == null ? void 0 : _a3.value) ?? null;
|
|
196018
|
+
});
|
|
196019
|
+
setTimeout(() => {
|
|
196020
|
+
isInitializingRef.current = false;
|
|
196021
|
+
}, 100);
|
|
195710
196022
|
}, [data2, occasionsData, occasionOptions, reset]);
|
|
195711
196023
|
const onSubmit = (formData) => {
|
|
195712
|
-
|
|
196024
|
+
const occasionsList = (formData.occasions || []).map((row) => {
|
|
196025
|
+
var _a2, _b, _c;
|
|
196026
|
+
return {
|
|
196027
|
+
occasionId: ((_a2 = row.occasionId) == null ? void 0 : _a2.value) ?? null,
|
|
196028
|
+
occasionAreaId: ((_b = row.occasionAreaId) == null ? void 0 : _b.value) ?? null,
|
|
196029
|
+
occasionMenuId: ((_c = row.occasionMenuId) == null ? void 0 : _c.value) ?? null
|
|
196030
|
+
};
|
|
196031
|
+
});
|
|
195713
196032
|
const submitData = {
|
|
195714
196033
|
rwgTc: formData.rwgTc,
|
|
195715
|
-
rwgTcLink: formData.rwgTcLink
|
|
196034
|
+
rwgTcLink: formData.rwgTcLink,
|
|
196035
|
+
occasions: occasionsList
|
|
195716
196036
|
};
|
|
195717
|
-
if ((_a2 = formData.occasionId) == null ? void 0 : _a2.value) {
|
|
195718
|
-
submitData.occasionId = formData.occasionId.value;
|
|
195719
|
-
}
|
|
195720
|
-
if ((_b = formData.occasionAreaId) == null ? void 0 : _b.value) {
|
|
195721
|
-
submitData.occasionAreaId = formData.occasionAreaId.value;
|
|
195722
|
-
}
|
|
195723
|
-
if ((_c = formData.occasionMenuId) == null ? void 0 : _c.value) {
|
|
195724
|
-
submitData.occasionMenuId = formData.occasionMenuId.value;
|
|
195725
|
-
}
|
|
195726
196037
|
execute({
|
|
195727
196038
|
brandId,
|
|
195728
196039
|
data: submitData
|
|
@@ -195806,39 +196117,16 @@ const BrandDetail = () => {
|
|
|
195806
196117
|
}), /* @__PURE__ */ jsxs("h3", {
|
|
195807
196118
|
children: [t2("OCCASIONS"), ":"]
|
|
195808
196119
|
})]
|
|
195809
|
-
}), /* @__PURE__ */ jsx$1(Divider2, {}), /* @__PURE__ */
|
|
195810
|
-
|
|
195811
|
-
|
|
195812
|
-
|
|
195813
|
-
|
|
195814
|
-
|
|
195815
|
-
|
|
195816
|
-
|
|
195817
|
-
|
|
195818
|
-
|
|
195819
|
-
isDisabled: isLoadingOccasions,
|
|
195820
|
-
isLoading: isLoadingOccasions
|
|
195821
|
-
}), /* @__PURE__ */ jsx$1(SelectField, {
|
|
195822
|
-
fullWidth: true,
|
|
195823
|
-
label: t2("AREA"),
|
|
195824
|
-
control,
|
|
195825
|
-
name: "occasionAreaId",
|
|
195826
|
-
options: areaOptions,
|
|
195827
|
-
placeholder: t2("SELECT_AREA") || "Select Area",
|
|
195828
|
-
isClearable: true,
|
|
195829
|
-
isDisabled: !(selectedOccasion == null ? void 0 : selectedOccasion.value) || isLoadingOccasions,
|
|
195830
|
-
isLoading: isLoadingOccasions
|
|
195831
|
-
}), /* @__PURE__ */ jsx$1(SelectField, {
|
|
195832
|
-
fullWidth: true,
|
|
195833
|
-
label: t2("MENU"),
|
|
195834
|
-
control,
|
|
195835
|
-
name: "occasionMenuId",
|
|
195836
|
-
options: menuOptions,
|
|
195837
|
-
placeholder: t2("SELECT_MENU") || "Select Menu",
|
|
195838
|
-
isClearable: true,
|
|
195839
|
-
isDisabled: !(selectedOccasion == null ? void 0 : selectedOccasion.value) || isLoadingOccasions,
|
|
195840
|
-
isLoading: isLoadingOccasions
|
|
195841
|
-
})]
|
|
196120
|
+
}), /* @__PURE__ */ jsx$1(Divider2, {}), /* @__PURE__ */ jsx$1(OccasionsField, {
|
|
196121
|
+
control,
|
|
196122
|
+
fields,
|
|
196123
|
+
watchedOccasions,
|
|
196124
|
+
occasionOptions,
|
|
196125
|
+
getAreaOptionsForOccasion,
|
|
196126
|
+
getMenuOptionsForOccasion,
|
|
196127
|
+
isLoadingOccasions,
|
|
196128
|
+
remove,
|
|
196129
|
+
append: append2
|
|
195842
196130
|
})]
|
|
195843
196131
|
}), /* @__PURE__ */ jsx$1("div", {
|
|
195844
196132
|
className: styles$e.brandDetailActions,
|
|
@@ -197005,13 +197293,14 @@ const TableMatchCard = ({
|
|
|
197005
197293
|
isClearable: false,
|
|
197006
197294
|
menuPortalTarget: document.body,
|
|
197007
197295
|
styles: {
|
|
197296
|
+
// Above MUI Dialog (1400) when embedded in partner portal table-matching modal
|
|
197008
197297
|
menuPortal: (base) => ({
|
|
197009
197298
|
...base,
|
|
197010
|
-
zIndex:
|
|
197299
|
+
zIndex: 1500
|
|
197011
197300
|
}),
|
|
197012
197301
|
menu: (base) => ({
|
|
197013
197302
|
...base,
|
|
197014
|
-
zIndex:
|
|
197303
|
+
zIndex: 1500
|
|
197015
197304
|
})
|
|
197016
197305
|
}
|
|
197017
197306
|
})
|