mozrest-sdk-react-dev 0.3.26 → 0.3.28

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.
Files changed (3) hide show
  1. package/mozrest-sdk.es.js +389 -152
  2. package/package.json +1 -1
  3. package/style.css +75 -49
package/mozrest-sdk.es.js CHANGED
@@ -7803,6 +7803,17 @@ const openWidget$4 = "Open Widget";
7803
7803
  const widget$4 = "Widget";
7804
7804
  const maxPartySize$4 = "Max party size";
7805
7805
  const VENUE_MANAGEMENT$4 = "Venue management";
7806
+ const SLOTGAP$4 = "Slot gap";
7807
+ const MAX_RESERVATIONS_ARRIVAL_PER_SLOT_DESC$4 = "How many reservations are you able to welcome at a specific time slot";
7808
+ const TIMEOFFSETTOMEALTIME_DESC$4 = "Until how long in advance of meal time can a diner book";
7809
+ const SLOTGAP_DESC$4 = "Every how many minutes do you want to offer slots";
7810
+ const maxPartySize_DESC$4 = "What is the maximum number of customers a reservation can have";
7811
+ const OK$4 = "Ok";
7812
+ const UPDATE_IN_PROGRESS$4 = "Update in progress";
7813
+ const UPDATE_IN_PROGRESS_MESSAGE_WITH_X$4 = "We are updating the restaurant configuration. The changes can take up to {{value}} minutes to be available.";
7814
+ const ARE_YOU_SURE_DELETE_X_TABLES$4 = "Are you sure you want to delete {{value}} tables?";
7815
+ const ARE_YOU_SURE_DELETE_X_SPECIAL_DATES$4 = "Are you sure you want to delete {{value}} special dates?";
7816
+ const ARE_YOU_SURE_DELETE_X_AREAS$4 = "Are you sure you want to delete {{value}} areas?";
7806
7817
  const en = {
7807
7818
  errors: errors$4,
7808
7819
  SPECIALCLOSINGDATES: SPECIALCLOSINGDATES$4,
@@ -8316,7 +8327,18 @@ const en = {
8316
8327
  openWidget: openWidget$4,
8317
8328
  widget: widget$4,
8318
8329
  maxPartySize: maxPartySize$4,
8319
- VENUE_MANAGEMENT: VENUE_MANAGEMENT$4
8330
+ VENUE_MANAGEMENT: VENUE_MANAGEMENT$4,
8331
+ SLOTGAP: SLOTGAP$4,
8332
+ MAX_RESERVATIONS_ARRIVAL_PER_SLOT_DESC: MAX_RESERVATIONS_ARRIVAL_PER_SLOT_DESC$4,
8333
+ TIMEOFFSETTOMEALTIME_DESC: TIMEOFFSETTOMEALTIME_DESC$4,
8334
+ SLOTGAP_DESC: SLOTGAP_DESC$4,
8335
+ maxPartySize_DESC: maxPartySize_DESC$4,
8336
+ OK: OK$4,
8337
+ UPDATE_IN_PROGRESS: UPDATE_IN_PROGRESS$4,
8338
+ UPDATE_IN_PROGRESS_MESSAGE_WITH_X: UPDATE_IN_PROGRESS_MESSAGE_WITH_X$4,
8339
+ ARE_YOU_SURE_DELETE_X_TABLES: ARE_YOU_SURE_DELETE_X_TABLES$4,
8340
+ ARE_YOU_SURE_DELETE_X_SPECIAL_DATES: ARE_YOU_SURE_DELETE_X_SPECIAL_DATES$4,
8341
+ ARE_YOU_SURE_DELETE_X_AREAS: ARE_YOU_SURE_DELETE_X_AREAS$4
8320
8342
  };
8321
8343
  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" };
8322
8344
  const SPECIALCLOSINGDATES$3 = "Fechas de cierre especiales u horarios de apertura diferentes (días especiales, festivos, eventos privados…)";
@@ -8568,7 +8590,7 @@ const TABLE$3 = "Mesa";
8568
8590
  const STATUSES$3 = "Estados";
8569
8591
  const MINCAPACITY$3 = "Capacidad mínima";
8570
8592
  const MAXCAPACITY$3 = "Capacidad máxima";
8571
- const TIMEOFFSETTOMEALTIME$3 = "Desfase de tiempo a la hora de la comida";
8593
+ const TIMEOFFSETTOMEALTIME$3 = "Tiempo máximo de anticipación para reservar";
8572
8594
  const MAXPAXPERSLOT$3 = "Máximo de personas por franja horaria";
8573
8595
  const ADDRESERVATION$3 = "Agregar reserva";
8574
8596
  const DATE$4 = "Fecha";
@@ -8785,6 +8807,17 @@ const openWidget$3 = "Abrir widget";
8785
8807
  const widget$3 = "Widget";
8786
8808
  const maxPartySize$3 = "Tamaño máximo de grupo";
8787
8809
  const VENUE_MANAGEMENT$3 = "Gestión de restaurantes";
8810
+ const SLOTGAP$3 = "Intervalo entre reservas";
8811
+ const MAX_RESERVATIONS_ARRIVAL_PER_SLOT_DESC$3 = "¿Cuántas reservas puede recibir en un período de tiempo específico?";
8812
+ const TIMEOFFSETTOMEALTIME_DESC$3 = "¿Hasta cuánto tiempo antes de la hora de la comida puede un cliente reservar?";
8813
+ const SLOTGAP_DESC$3 = "¿Cada cuántos minutos desea ofrecer reservas?";
8814
+ const maxPartySize_DESC$3 = "¿Cuál es el número máximo de clientes que una reserva puede tener?";
8815
+ const OK$3 = "Ok";
8816
+ const UPDATE_IN_PROGRESS$3 = "Actualización en progreso";
8817
+ const UPDATE_IN_PROGRESS_MESSAGE_WITH_X$3 = "Estamos actualizando la configuración del restaurante. Los cambios pueden tardar hasta {{value}} minutos en aplicarse.";
8818
+ const ARE_YOU_SURE_DELETE_X_TABLES$3 = "¿Está seguro de que desea eliminar {{value}} mesas?";
8819
+ const ARE_YOU_SURE_DELETE_X_SPECIAL_DATES$3 = "¿Está seguro de que desea eliminar {{value}} fechas especiales?";
8820
+ const ARE_YOU_SURE_DELETE_X_AREAS$3 = "¿Está seguro de que desea eliminar {{value}} áreas?";
8788
8821
  const es$1 = {
8789
8822
  errors: errors$3,
8790
8823
  SPECIALCLOSINGDATES: SPECIALCLOSINGDATES$3,
@@ -9298,7 +9331,18 @@ const es$1 = {
9298
9331
  openWidget: openWidget$3,
9299
9332
  widget: widget$3,
9300
9333
  maxPartySize: maxPartySize$3,
9301
- VENUE_MANAGEMENT: VENUE_MANAGEMENT$3
9334
+ VENUE_MANAGEMENT: VENUE_MANAGEMENT$3,
9335
+ SLOTGAP: SLOTGAP$3,
9336
+ MAX_RESERVATIONS_ARRIVAL_PER_SLOT_DESC: MAX_RESERVATIONS_ARRIVAL_PER_SLOT_DESC$3,
9337
+ TIMEOFFSETTOMEALTIME_DESC: TIMEOFFSETTOMEALTIME_DESC$3,
9338
+ SLOTGAP_DESC: SLOTGAP_DESC$3,
9339
+ maxPartySize_DESC: maxPartySize_DESC$3,
9340
+ OK: OK$3,
9341
+ UPDATE_IN_PROGRESS: UPDATE_IN_PROGRESS$3,
9342
+ UPDATE_IN_PROGRESS_MESSAGE_WITH_X: UPDATE_IN_PROGRESS_MESSAGE_WITH_X$3,
9343
+ ARE_YOU_SURE_DELETE_X_TABLES: ARE_YOU_SURE_DELETE_X_TABLES$3,
9344
+ ARE_YOU_SURE_DELETE_X_SPECIAL_DATES: ARE_YOU_SURE_DELETE_X_SPECIAL_DATES$3,
9345
+ ARE_YOU_SURE_DELETE_X_AREAS: ARE_YOU_SURE_DELETE_X_AREAS$3
9302
9346
  };
9303
9347
  const errors$2 = { "required": "Ce champ est requis", "email": "Cet e-mail n'est pas valide", "phone": "Numéro de téléphone non valide", "url": "Cette URL n'est pas valide" };
9304
9348
  const SPECIALCLOSINGDATES$2 = "Dates de fermeture spéciales ou horaires différents (jours fériés, événements privés, etc.)";
@@ -9695,6 +9739,17 @@ const openWidget$2 = "Ouvrir le widget";
9695
9739
  const widget$2 = "Widget";
9696
9740
  const maxPartySize$2 = "Taille max. du groupe";
9697
9741
  const VENUE_MANAGEMENT$2 = "Gestion des établissements";
9742
+ const SLOTGAP$2 = "Intervalle entre réservations";
9743
+ const MAX_RESERVATIONS_ARRIVAL_PER_SLOT_DESC$2 = "Combien de réservations pouvez-vous recevoir dans un créneau de temps spécifique?";
9744
+ const TIMEOFFSETTOMEALTIME_DESC$2 = "Jusqu'à quelle heure avant la réservation peut-on recevoir une réservation?";
9745
+ const SLOTGAP_DESC$2 = "Combien de minutes entre deux réservations souhaitez-vous offrir?";
9746
+ const maxPartySize_DESC$2 = "Combien de clients une réservation peut-elle avoir?";
9747
+ const OK$2 = "Ok";
9748
+ const UPDATE_IN_PROGRESS$2 = "Mise à jour en cours";
9749
+ const UPDATE_IN_PROGRESS_MESSAGE_WITH_X$2 = "Nous mettons à jour la configuration du restaurant. Les changements peuvent prendre jusqu'à {{value}} minutes pour être appliqués.";
9750
+ const ARE_YOU_SURE_DELETE_X_TABLES$2 = "Êtes-vous sûr de vouloir supprimer {{value}} tables?";
9751
+ const ARE_YOU_SURE_DELETE_X_SPECIAL_DATES$2 = "Êtes-vous sûr de vouloir supprimer {{value}} dates spéciales?";
9752
+ const ARE_YOU_SURE_DELETE_X_AREAS$2 = "Êtes-vous sûr de vouloir supprimer {{value}} zones?";
9698
9753
  const fr = {
9699
9754
  errors: errors$2,
9700
9755
  SPECIALCLOSINGDATES: SPECIALCLOSINGDATES$2,
@@ -10093,7 +10148,18 @@ const fr = {
10093
10148
  openWidget: openWidget$2,
10094
10149
  widget: widget$2,
10095
10150
  maxPartySize: maxPartySize$2,
10096
- VENUE_MANAGEMENT: VENUE_MANAGEMENT$2
10151
+ VENUE_MANAGEMENT: VENUE_MANAGEMENT$2,
10152
+ SLOTGAP: SLOTGAP$2,
10153
+ MAX_RESERVATIONS_ARRIVAL_PER_SLOT_DESC: MAX_RESERVATIONS_ARRIVAL_PER_SLOT_DESC$2,
10154
+ TIMEOFFSETTOMEALTIME_DESC: TIMEOFFSETTOMEALTIME_DESC$2,
10155
+ SLOTGAP_DESC: SLOTGAP_DESC$2,
10156
+ maxPartySize_DESC: maxPartySize_DESC$2,
10157
+ OK: OK$2,
10158
+ UPDATE_IN_PROGRESS: UPDATE_IN_PROGRESS$2,
10159
+ UPDATE_IN_PROGRESS_MESSAGE_WITH_X: UPDATE_IN_PROGRESS_MESSAGE_WITH_X$2,
10160
+ ARE_YOU_SURE_DELETE_X_TABLES: ARE_YOU_SURE_DELETE_X_TABLES$2,
10161
+ ARE_YOU_SURE_DELETE_X_SPECIAL_DATES: ARE_YOU_SURE_DELETE_X_SPECIAL_DATES$2,
10162
+ ARE_YOU_SURE_DELETE_X_AREAS: ARE_YOU_SURE_DELETE_X_AREAS$2
10097
10163
  };
10098
10164
  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" };
10099
10165
  const SPECIALCLOSINGDATES$1 = "Besondere Schließungstage oder abweichende Öffnungszeiten (besondere Tage, Feiertage, private Veranstaltungen…)";
@@ -10562,6 +10628,17 @@ const openWidget$1 = "Widget öffnen";
10562
10628
  const widget$1 = "Widget";
10563
10629
  const maxPartySize$1 = "Max. Gästeanzahl";
10564
10630
  const VENUE_MANAGEMENT$1 = "Standortverwaltung";
10631
+ const SLOTGAP$1 = "Zeitfensterabstand";
10632
+ const MAX_RESERVATIONS_ARRIVAL_PER_SLOT_DESC$1 = "Wie viele Reservierungen können Sie in einem bestimmten Zeitfenster aufnehmen?";
10633
+ const TIMEOFFSETTOMEALTIME_DESC$1 = "Bis zu welcher Zeit vor der Essenszeit können Gäste reservieren?";
10634
+ const SLOTGAP_DESC$1 = "Wie viele Minuten zwischen zwei Reservierungen möchten Sie anbieten?";
10635
+ const maxPartySize_DESC$1 = "Wie viele Gäste können in einer Reservierung sein?";
10636
+ const OK$1 = "Ok";
10637
+ const UPDATE_IN_PROGRESS$1 = "Aktualisierung läuft";
10638
+ const UPDATE_IN_PROGRESS_MESSAGE_WITH_X$1 = "Wir aktualisieren die Restaurant-Konfiguration. Die Änderungen können bis zu {{value}} Minuten dauern.";
10639
+ const ARE_YOU_SURE_DELETE_X_TABLES$1 = "Sind Sie sicher, dass Sie {{value}} Tische löschen möchten?";
10640
+ const ARE_YOU_SURE_DELETE_X_SPECIAL_DATES$1 = "Sind Sie sicher, dass Sie {{value}} besondere Daten löschen möchten?";
10641
+ const ARE_YOU_SURE_DELETE_X_AREAS$1 = "Sind Sie sicher, dass Sie {{value}} Bereiche löschen möchten?";
10565
10642
  const de = {
10566
10643
  errors: errors$1,
10567
10644
  SPECIALCLOSINGDATES: SPECIALCLOSINGDATES$1,
@@ -11075,7 +11152,18 @@ const de = {
11075
11152
  openWidget: openWidget$1,
11076
11153
  widget: widget$1,
11077
11154
  maxPartySize: maxPartySize$1,
11078
- VENUE_MANAGEMENT: VENUE_MANAGEMENT$1
11155
+ VENUE_MANAGEMENT: VENUE_MANAGEMENT$1,
11156
+ SLOTGAP: SLOTGAP$1,
11157
+ MAX_RESERVATIONS_ARRIVAL_PER_SLOT_DESC: MAX_RESERVATIONS_ARRIVAL_PER_SLOT_DESC$1,
11158
+ TIMEOFFSETTOMEALTIME_DESC: TIMEOFFSETTOMEALTIME_DESC$1,
11159
+ SLOTGAP_DESC: SLOTGAP_DESC$1,
11160
+ maxPartySize_DESC: maxPartySize_DESC$1,
11161
+ OK: OK$1,
11162
+ UPDATE_IN_PROGRESS: UPDATE_IN_PROGRESS$1,
11163
+ UPDATE_IN_PROGRESS_MESSAGE_WITH_X: UPDATE_IN_PROGRESS_MESSAGE_WITH_X$1,
11164
+ ARE_YOU_SURE_DELETE_X_TABLES: ARE_YOU_SURE_DELETE_X_TABLES$1,
11165
+ ARE_YOU_SURE_DELETE_X_SPECIAL_DATES: ARE_YOU_SURE_DELETE_X_SPECIAL_DATES$1,
11166
+ ARE_YOU_SURE_DELETE_X_AREAS: ARE_YOU_SURE_DELETE_X_AREAS$1
11079
11167
  };
11080
11168
  const errors = { "required": "Dit veld is verplicht", "email": "Dit e-mailadres is ongeldig", "phone": "Ongeldig telefoonnummer", "url": "Deze URL is ongeldig" };
11081
11169
  const SPECIALCLOSINGDATES = "Speciale sluitingsdagen of afwijkende openingstijden (feestdagen, evenementen, enz.)";
@@ -11538,6 +11626,17 @@ const openWidget = "Widget openen";
11538
11626
  const widget = "Widget";
11539
11627
  const maxPartySize = "Max. gasten";
11540
11628
  const VENUE_MANAGEMENT = "Locatiebeheer";
11629
+ const SLOTGAP = "Tijdslotafstand";
11630
+ const MAX_RESERVATIONS_ARRIVAL_PER_SLOT_DESC = "Hoeveel reserveringen kunt u in een bepaald tijdsinterval ontvangen?";
11631
+ const TIMEOFFSETTOMEALTIME_DESC = "Tot welke tijd voor de maaltijd kunnen gasten een reservering maken?";
11632
+ const SLOTGAP_DESC = "Hoeveel minuten tussen twee reserveringen wilt u aanbieden?";
11633
+ const maxPartySize_DESC = "Hoeveel gasten kunnen in een reservering zitten?";
11634
+ const OK = "Ok";
11635
+ const UPDATE_IN_PROGRESS = "Update in uitvoering";
11636
+ const UPDATE_IN_PROGRESS_MESSAGE_WITH_X = "We zijn bezig met het bijwerken van de restaurantconfiguratie. De wijzigingen kunnen tot {{value}} minuten duren voordat ze worden toegepast.";
11637
+ const ARE_YOU_SURE_DELETE_X_TABLES = "Weet je zeker dat je {{value}} tafels wilt verwijderen?";
11638
+ const ARE_YOU_SURE_DELETE_X_SPECIAL_DATES = "Weet je zeker dat je {{value}} speciale datums wilt verwijderen?";
11639
+ const ARE_YOU_SURE_DELETE_X_AREAS = "Weet je zeker dat je {{value}} gebieden wilt verwijderen?";
11541
11640
  const nl = {
11542
11641
  errors,
11543
11642
  SPECIALCLOSINGDATES,
@@ -12029,7 +12128,18 @@ const nl = {
12029
12128
  openWidget,
12030
12129
  widget,
12031
12130
  maxPartySize,
12032
- VENUE_MANAGEMENT
12131
+ VENUE_MANAGEMENT,
12132
+ SLOTGAP,
12133
+ MAX_RESERVATIONS_ARRIVAL_PER_SLOT_DESC,
12134
+ TIMEOFFSETTOMEALTIME_DESC,
12135
+ SLOTGAP_DESC,
12136
+ maxPartySize_DESC,
12137
+ OK,
12138
+ UPDATE_IN_PROGRESS,
12139
+ UPDATE_IN_PROGRESS_MESSAGE_WITH_X,
12140
+ ARE_YOU_SURE_DELETE_X_TABLES,
12141
+ ARE_YOU_SURE_DELETE_X_SPECIAL_DATES,
12142
+ ARE_YOU_SURE_DELETE_X_AREAS
12033
12143
  };
12034
12144
  instance.use(initReactI18next).init({
12035
12145
  // the translations
@@ -39194,7 +39304,7 @@ const useService = (executer, { onSuccess, onError, successText } = {}) => {
39194
39304
  if (typeof onError === "function") {
39195
39305
  await onError(error22);
39196
39306
  }
39197
- showMessageError("Error");
39307
+ showMessageError((error22 == null ? void 0 : error22.message) ?? "Error");
39198
39308
  setError(error22 == null ? void 0 : error22.message);
39199
39309
  } finally {
39200
39310
  setIsExecuting(false);
@@ -62050,22 +62160,24 @@ const reInit = (el, props) => {
62050
62160
  el.litePickerInstance.destroy();
62051
62161
  init$2(el, props);
62052
62162
  };
62053
- const inputWrapper = "_inputWrapper_1i9tl_1";
62054
- const input$4 = "_input_1i9tl_1";
62055
- const inputIcon = "_inputIcon_1i9tl_75";
62163
+ const inputWrapper = "_inputWrapper_c5acm_1";
62164
+ const input$4 = "_input_c5acm_1";
62165
+ const inputIcon = "_inputIcon_c5acm_89";
62056
62166
  const styles$1v = {
62057
62167
  inputWrapper,
62058
62168
  input: input$4,
62059
- "input--r-md": "_input--r-md_1i9tl_37",
62060
- "input--r-sm": "_input--r-sm_1i9tl_42",
62061
- "input--with-icon-left": "_input--with-icon-left_1i9tl_47",
62062
- "input--with-icon-right": "_input--with-icon-right_1i9tl_50",
62063
- "input--filled": "_input--filled_1i9tl_53",
62064
- "input--borderless": "_input--borderless_1i9tl_56",
62065
- "input--rounded": "_input--rounded_1i9tl_60",
62169
+ "input--r-md": "_input--r-md_c5acm_37",
62170
+ "input--r-sm": "_input--r-sm_c5acm_42",
62171
+ "input--with-icon-left": "_input--with-icon-left_c5acm_47",
62172
+ "input--with-icon-right": "_input--with-icon-right_c5acm_50",
62173
+ "input--filled": "_input--filled_c5acm_53",
62174
+ "input--error": "_input--error_c5acm_56",
62175
+ "input--line-through": "_input--line-through_c5acm_59",
62176
+ "input--borderless": "_input--borderless_c5acm_70",
62177
+ "input--rounded": "_input--rounded_c5acm_74",
62066
62178
  inputIcon,
62067
- "inputIcon--p-left": "_inputIcon--p-left_1i9tl_84",
62068
- "inputIcon--p-right": "_inputIcon--p-right_1i9tl_87"
62179
+ "inputIcon--p-left": "_inputIcon--p-left_c5acm_98",
62180
+ "inputIcon--p-right": "_inputIcon--p-right_c5acm_101"
62069
62181
  };
62070
62182
  const Input$2 = React__default.forwardRef(({
62071
62183
  id: id2,
@@ -62087,7 +62199,9 @@ const Input$2 = React__default.forwardRef(({
62087
62199
  borderLess = false,
62088
62200
  rounded = false,
62089
62201
  customStyles: customStyles2,
62202
+ error: error3 = false,
62090
62203
  className,
62204
+ lineThrough = false,
62091
62205
  ...props
62092
62206
  }, ref) => {
62093
62207
  return /* @__PURE__ */ jsxs("div", {
@@ -62111,7 +62225,7 @@ const Input$2 = React__default.forwardRef(({
62111
62225
  },
62112
62226
  children: [/* @__PURE__ */ jsx$1("input", {
62113
62227
  ref,
62114
- className: classNames$2(styles$1v["input"], styles$1v[`input--h-${heigth}`], styles$1v[`input--r-${radius}`], icon2 && styles$1v[`input--with-icon-${iconPosition}`], filled == true ? styles$1v[`input--filled`] : "", borderLess == true ? styles$1v[`input--borderless`] : "", rounded == true ? styles$1v[`input--rounded`] : ""),
62228
+ className: classNames$2(styles$1v["input"], styles$1v[`input--h-${heigth}`], styles$1v[`input--r-${radius}`], icon2 && styles$1v[`input--with-icon-${iconPosition}`], filled == true ? styles$1v[`input--filled`] : "", borderLess == true ? styles$1v[`input--borderless`] : "", rounded == true ? styles$1v[`input--rounded`] : "", error3 == true ? styles$1v[`input--error`] : "", lineThrough == true ? styles$1v[`input--line-through`] : ""),
62115
62229
  style: customStyles2,
62116
62230
  onChange: onChange2,
62117
62231
  id: id2,
@@ -67363,6 +67477,7 @@ const TextInputField = ({
67363
67477
  onChangeE && onChangeE(e);
67364
67478
  },
67365
67479
  onBlur,
67480
+ error: error3 ? true : false,
67366
67481
  ...props
67367
67482
  }), infoText2 && /* @__PURE__ */ jsx$1("p", {
67368
67483
  className: styles$1e.infoText,
@@ -122645,22 +122760,28 @@ const addModuleGoogle = async ({
122645
122760
  data: data2
122646
122761
  };
122647
122762
  };
122648
- const account = "_account_8539r_12";
122763
+ const account = "_account_p1rn0_12";
122764
+ const account__address = "_account__address_p1rn0_27";
122649
122765
  const styles$w = {
122650
122766
  account,
122651
- "account--selected": "_account--selected_8539r_23"
122767
+ "account--selected": "_account--selected_p1rn0_24",
122768
+ account__address
122652
122769
  };
122653
122770
  const Account = ({
122654
122771
  name: name2,
122655
122772
  onClick,
122656
- selected
122773
+ selected,
122774
+ address: address2
122657
122775
  }) => {
122658
- return /* @__PURE__ */ jsx$1("div", {
122776
+ return /* @__PURE__ */ jsxs("div", {
122659
122777
  className: classNames$2(styles$w.account, {
122660
122778
  [styles$w["account--selected"]]: selected
122661
122779
  }),
122662
122780
  onClick,
122663
- children: name2
122781
+ children: [name2, address2 && /* @__PURE__ */ jsx$1("div", {
122782
+ className: styles$w.account__address,
122783
+ children: address2
122784
+ })]
122664
122785
  });
122665
122786
  };
122666
122787
  const selectAccount$1 = "_selectAccount_1cl8x_1";
@@ -122671,6 +122792,17 @@ const styles$v = {
122671
122792
  selectAccount__title: selectAccount__title$1,
122672
122793
  close: close2
122673
122794
  };
122795
+ const googleAddressFormatter = (storefrontAddress) => {
122796
+ if (!storefrontAddress) return null;
122797
+ const addressParts = [
122798
+ ...storefrontAddress.addressLines,
122799
+ storefrontAddress.locality,
122800
+ storefrontAddress.administrativeArea,
122801
+ storefrontAddress.postalCode,
122802
+ storefrontAddress.regionCode
122803
+ ].filter(Boolean);
122804
+ return addressParts.join(", ");
122805
+ };
122674
122806
  const SelectAccount$1 = ({
122675
122807
  accounts,
122676
122808
  onNext,
@@ -122687,7 +122819,10 @@ const SelectAccount$1 = ({
122687
122819
  };
122688
122820
  const handleSearchAccount = (e) => {
122689
122821
  setSearchValue(e.target.value);
122690
- setFilteredAccounts(accounts.filter((a2) => a2.title.toLowerCase().includes(e.target.value)));
122822
+ setFilteredAccounts(accounts.filter((a2) => {
122823
+ var _a2;
122824
+ return a2.title.toLowerCase().includes(e.target.value) || (a2.storefrontAddress ? (_a2 = googleAddressFormatter(a2.storefrontAddress)) == null ? void 0 : _a2.toLowerCase().includes(e.target.value) : false);
122825
+ }));
122691
122826
  };
122692
122827
  useEffect(() => {
122693
122828
  setFilteredAccounts(accounts);
@@ -122731,6 +122866,7 @@ const SelectAccount$1 = ({
122731
122866
  }), /* @__PURE__ */ jsx$1("br", {}), filteredAccounts.map((account2) => {
122732
122867
  return /* @__PURE__ */ jsx$1(Account, {
122733
122868
  name: account2.title,
122869
+ address: googleAddressFormatter(account2 == null ? void 0 : account2.storefrontAddress),
122734
122870
  onClick: () => onSelectAccount(account2),
122735
122871
  selected: (selectedAccount == null ? void 0 : selectedAccount.name) === account2.name
122736
122872
  }, account2.name);
@@ -123753,6 +123889,8 @@ const ConfirmationModal = ({
123753
123889
  title: title2,
123754
123890
  text: text2 = "AREYOUSURE?",
123755
123891
  icon: icon2,
123892
+ submitButtonText = "ACCEPT",
123893
+ cancelButtonText = "CANCEL",
123756
123894
  ...props
123757
123895
  }) => {
123758
123896
  const {
@@ -123790,13 +123928,13 @@ const ConfirmationModal = ({
123790
123928
  mode: "tertiary",
123791
123929
  onClick: props.onClose,
123792
123930
  disabled: isLoading,
123793
- children: t2("CANCEL")
123931
+ children: t2(cancelButtonText)
123794
123932
  }), /* @__PURE__ */ jsx$1(Button$1, {
123795
123933
  size: "small",
123796
123934
  type: "submit",
123797
123935
  onClick: () => onAccept(),
123798
123936
  isLoading,
123799
- children: t2("ACCEPT")
123937
+ children: t2(submitButtonText)
123800
123938
  })]
123801
123939
  })
123802
123940
  })]
@@ -127940,19 +128078,19 @@ const UpdateBookingStatusBooking = async ({ venueId, bookingId, data: data2 }) =
127940
128078
  }
127941
128079
  return { data: "ok" };
127942
128080
  };
127943
- const ReloadContext = createContext(void 0);
127944
- const useReloadContext = () => {
127945
- const context = useContext(ReloadContext);
128081
+ const ReloadContext$1 = createContext(void 0);
128082
+ const useReloadContext$1 = () => {
128083
+ const context = useContext(ReloadContext$1);
127946
128084
  if (!context) {
127947
128085
  throw new Error("useReloadContext must be used within a ReloadProvider");
127948
128086
  }
127949
128087
  return context;
127950
128088
  };
127951
- const ReloadProvider = ({
128089
+ const ReloadProvider$1 = ({
127952
128090
  children,
127953
128091
  reload
127954
128092
  }) => {
127955
- return /* @__PURE__ */ jsx$1(ReloadContext.Provider, {
128093
+ return /* @__PURE__ */ jsx$1(ReloadContext$1.Provider, {
127956
128094
  value: {
127957
128095
  reload
127958
128096
  },
@@ -127971,7 +128109,7 @@ const TableRow = ({
127971
128109
  } = useTranslation();
127972
128110
  const {
127973
128111
  reload: reloadMainTable
127974
- } = useReloadContext();
128112
+ } = useReloadContext$1();
127975
128113
  const {
127976
128114
  showSidebar,
127977
128115
  setShowSidebar
@@ -128217,7 +128355,7 @@ const ActionButtons = ({
128217
128355
  } = useSelectedBookingContext();
128218
128356
  const {
128219
128357
  reload: reloadMainTable
128220
- } = useReloadContext();
128358
+ } = useReloadContext$1();
128221
128359
  const [showConfrimationModal, setShowConfrimationModal] = useState(false);
128222
128360
  const [action, setAction] = useState("");
128223
128361
  const {
@@ -129005,7 +129143,7 @@ const index$7 = ({
129005
129143
  } = useTranslation();
129006
129144
  const {
129007
129145
  reload: reloadMainTable
129008
- } = useReloadContext();
129146
+ } = useReloadContext$1();
129009
129147
  const {
129010
129148
  selectedBooking,
129011
129149
  setSelectedBooking,
@@ -129417,16 +129555,16 @@ const index$7 = ({
129417
129555
  label: t2("notes"),
129418
129556
  placeholder: t2("notes")
129419
129557
  })
129558
+ }), selectedBooking && selectedBooking.status !== "canceled" && /* @__PURE__ */ jsxs(React__default.Fragment, {
129559
+ children: [/* @__PURE__ */ jsx$1(Divider2, {}), /* @__PURE__ */ jsx$1(BookingInfo, {
129560
+ item: selectedBooking
129561
+ })]
129420
129562
  })]
129421
129563
  }), /* @__PURE__ */ jsxs("div", {
129422
129564
  className: styles$e.sidebarFooter,
129423
129565
  children: [/* @__PURE__ */ jsx$1(Divider2, {}), canEdit && /* @__PURE__ */ jsx$1(ActionButtons, {
129424
129566
  onSubmit,
129425
129567
  venueId
129426
- }), selectedBooking && selectedBooking.status !== "canceled" && /* @__PURE__ */ jsxs(React__default.Fragment, {
129427
- children: [/* @__PURE__ */ jsx$1(Divider2, {}), /* @__PURE__ */ jsx$1(BookingInfo, {
129428
- item: selectedBooking
129429
- })]
129430
129568
  })]
129431
129569
  })]
129432
129570
  });
@@ -129575,6 +129713,9 @@ const EnableOnboarding = ({
129575
129713
  } = useService(EnableLive, {
129576
129714
  onSuccess: async () => {
129577
129715
  reloadSelectsData();
129716
+ },
129717
+ onError: () => {
129718
+ reloadSelectsData();
129578
129719
  }
129579
129720
  });
129580
129721
  useEffect(() => {
@@ -129702,13 +129843,13 @@ function MainComponent({
129702
129843
  clearInterval(interval);
129703
129844
  };
129704
129845
  }, [reload]);
129705
- return /* @__PURE__ */ jsx$1(ReloadProvider, {
129846
+ return /* @__PURE__ */ jsx$1(ReloadProvider$1, {
129706
129847
  reload,
129707
129848
  children: /* @__PURE__ */ jsxs("div", {
129708
129849
  className: styles$e.mainWrapper,
129709
129850
  children: [/* @__PURE__ */ jsx$1(EnableOnboarding, {
129710
129851
  venueId,
129711
- onboardingReady: filtersData == null ? void 0 : filtersData.onboardingReady,
129852
+ onboardingReady: !filtersData ? true : filtersData == null ? void 0 : filtersData.onboardingReady,
129712
129853
  reloadSelectsData
129713
129854
  }), /* @__PURE__ */ jsxs("div", {
129714
129855
  className: styles$e.mainConatiner,
@@ -129752,30 +129893,32 @@ function Main$2({
129752
129893
  })
129753
129894
  });
129754
129895
  }
129755
- const mainConatiner = "_mainConatiner_1afjz_41";
129756
- const header$1 = "_header_1afjz_54";
129757
- const sectionCard = "_sectionCard_1afjz_73";
129758
- const cardHeader = "_cardHeader_1afjz_77";
129759
- const cardTitle = "_cardTitle_1afjz_80";
129760
- const cardDesc = "_cardDesc_1afjz_84";
129761
- const cardBody = "_cardBody_1afjz_88";
129762
- const cardFooter = "_cardFooter_1afjz_92";
129763
- const cardFooterContent = "_cardFooterContent_1afjz_92";
129764
- const sectionManagement = "_sectionManagement_1afjz_104";
129765
- const sectionFormRow = "_sectionFormRow_1afjz_104";
129766
- const drawerContent = "_drawerContent_1afjz_111";
129767
- const scrollableForm = "_scrollableForm_1afjz_116";
129768
- const fixedActions = "_fixedActions_1afjz_122";
129769
- const specialDatesInfoText = "_specialDatesInfoText_1afjz_129";
129770
- const deleteIcon = "_deleteIcon_1afjz_143";
129771
- const stripeConnectContainer = "_stripeConnectContainer_1afjz_148";
129772
- const paymentGatewayContainer = "_paymentGatewayContainer_1afjz_156";
129773
- const paymentRules = "_paymentRules_1afjz_162";
129774
- const paymentRulesContainer = "_paymentRulesContainer_1afjz_167";
129775
- const paymentRulesDesc = "_paymentRulesDesc_1afjz_173";
129896
+ const mainConatiner = "_mainConatiner_gaf1i_41";
129897
+ const header$1 = "_header_gaf1i_54";
129898
+ const sectionCard = "_sectionCard_gaf1i_73";
129899
+ const cardHeader = "_cardHeader_gaf1i_77";
129900
+ const cardTitle = "_cardTitle_gaf1i_80";
129901
+ const cardDesc = "_cardDesc_gaf1i_84";
129902
+ const cardBody = "_cardBody_gaf1i_88";
129903
+ const cardFooter = "_cardFooter_gaf1i_92";
129904
+ const cardFooterContent = "_cardFooterContent_gaf1i_92";
129905
+ const sectionManagement = "_sectionManagement_gaf1i_104";
129906
+ const sectionFormRow = "_sectionFormRow_gaf1i_104";
129907
+ const drawerContent = "_drawerContent_gaf1i_111";
129908
+ const scrollableForm = "_scrollableForm_gaf1i_116";
129909
+ const formRow = "_formRow_gaf1i_122";
129910
+ const fixedActions = "_fixedActions_gaf1i_125";
129911
+ const specialDatesInfoText = "_specialDatesInfoText_gaf1i_132";
129912
+ const deleteIcon = "_deleteIcon_gaf1i_146";
129913
+ const stripeConnectContainer = "_stripeConnectContainer_gaf1i_151";
129914
+ const paymentGatewayContainer = "_paymentGatewayContainer_gaf1i_159";
129915
+ const paymentRules = "_paymentRules_gaf1i_165";
129916
+ const paymentRulesContainer = "_paymentRulesContainer_gaf1i_170";
129917
+ const paymentRulesDesc = "_paymentRulesDesc_gaf1i_176";
129918
+ const secText = "_secText_gaf1i_182";
129776
129919
  const styles$b = {
129777
- "my-masonry-grid": "_my-masonry-grid_1afjz_19",
129778
- "my-masonry-grid_column": "_my-masonry-grid_column_1afjz_30",
129920
+ "my-masonry-grid": "_my-masonry-grid_gaf1i_19",
129921
+ "my-masonry-grid_column": "_my-masonry-grid_column_gaf1i_30",
129779
129922
  mainConatiner,
129780
129923
  header: header$1,
129781
129924
  sectionCard,
@@ -129789,6 +129932,7 @@ const styles$b = {
129789
129932
  sectionFormRow,
129790
129933
  drawerContent,
129791
129934
  scrollableForm,
129935
+ formRow,
129792
129936
  fixedActions,
129793
129937
  specialDatesInfoText,
129794
129938
  deleteIcon,
@@ -129796,7 +129940,8 @@ const styles$b = {
129796
129940
  paymentGatewayContainer,
129797
129941
  paymentRules,
129798
129942
  paymentRulesContainer,
129799
- paymentRulesDesc
129943
+ paymentRulesDesc,
129944
+ secText
129800
129945
  };
129801
129946
  const AreaManagementCard$1 = ({
129802
129947
  isOpenDrawer,
@@ -129901,6 +130046,25 @@ const DeleteArea = async ({
129901
130046
  );
129902
130047
  return { data: "deleted" };
129903
130048
  };
130049
+ const ReloadContext = createContext(void 0);
130050
+ const useReloadContext = () => {
130051
+ const context = useContext(ReloadContext);
130052
+ if (!context) {
130053
+ throw new Error("useReloadContext must be used within a ReloadProvider");
130054
+ }
130055
+ return context;
130056
+ };
130057
+ const ReloadProvider = ({
130058
+ children,
130059
+ reload
130060
+ }) => {
130061
+ return /* @__PURE__ */ jsx$1(ReloadContext.Provider, {
130062
+ value: {
130063
+ reload
130064
+ },
130065
+ children
130066
+ });
130067
+ };
129904
130068
  const AreaEditDrawer = ({
129905
130069
  isOpen,
129906
130070
  setIsOpen,
@@ -129908,6 +130072,9 @@ const AreaEditDrawer = ({
129908
130072
  data: data2,
129909
130073
  reload
129910
130074
  }) => {
130075
+ const {
130076
+ reload: reloadAreaManagement
130077
+ } = useReloadContext();
129911
130078
  const {
129912
130079
  t: t2
129913
130080
  } = useTranslation();
@@ -129932,6 +130099,7 @@ const AreaEditDrawer = ({
129932
130099
  onSuccess: () => {
129933
130100
  setShowConfirmationModal(false);
129934
130101
  setSelectedArea(null);
130102
+ reloadAreaManagement();
129935
130103
  reload();
129936
130104
  }
129937
130105
  });
@@ -129954,10 +130122,7 @@ const AreaEditDrawer = ({
129954
130122
  control,
129955
130123
  reset,
129956
130124
  trigger,
129957
- getValues,
129958
- formState: {
129959
- isDirty
129960
- }
130125
+ getValues
129961
130126
  } = useForm({
129962
130127
  mode: "onChange",
129963
130128
  resolver: o(areaSchema()),
@@ -130010,6 +130175,7 @@ const AreaEditDrawer = ({
130010
130175
  venueId
130011
130176
  });
130012
130177
  }
130178
+ reloadAreaManagement();
130013
130179
  reload();
130014
130180
  setIsOpen(false);
130015
130181
  };
@@ -130543,6 +130709,9 @@ const TableEditDrawer = ({
130543
130709
  areasList,
130544
130710
  reload
130545
130711
  }) => {
130712
+ const {
130713
+ reload: reloadTableManagement
130714
+ } = useReloadContext();
130546
130715
  const {
130547
130716
  t: t2
130548
130717
  } = useTranslation();
@@ -130569,6 +130738,7 @@ const TableEditDrawer = ({
130569
130738
  onSuccess: () => {
130570
130739
  setShowConfirmationModal(false);
130571
130740
  setSelectedTable(null);
130741
+ reloadTableManagement();
130572
130742
  reload();
130573
130743
  }
130574
130744
  });
@@ -130599,8 +130769,7 @@ const TableEditDrawer = ({
130599
130769
  });
130600
130770
  const {
130601
130771
  fields,
130602
- append: append2,
130603
- remove
130772
+ append: append2
130604
130773
  } = useFieldArray({
130605
130774
  control,
130606
130775
  name: "tables"
@@ -130645,16 +130814,9 @@ const TableEditDrawer = ({
130645
130814
  bulkUpdate: true
130646
130815
  });
130647
130816
  reload();
130817
+ reloadTableManagement();
130648
130818
  setIsOpen(false);
130649
130819
  };
130650
- const onDelete = (value2, index2) => {
130651
- if (value2.id) {
130652
- setShowConfirmationModal(true);
130653
- setSelectedTable(value2.id);
130654
- } else {
130655
- remove(index2);
130656
- }
130657
- };
130658
130820
  const scrollToBottom = () => {
130659
130821
  if (scrollableRef.current) {
130660
130822
  scrollableRef.current.scrollTo({
@@ -130722,14 +130884,6 @@ const TableEditDrawer = ({
130722
130884
  children: fields.map((item2, index2) => /* @__PURE__ */ jsxs("div", {
130723
130885
  className: styles$b.sectionFormRow,
130724
130886
  children: [/* @__PURE__ */ jsx$1("div", {
130725
- className: styles$b.deleteIcon,
130726
- children: /* @__PURE__ */ jsx$1(Icon, {
130727
- icon: "TrashX",
130728
- onClick: () => {
130729
- onDelete(getValues(`tables.${index2}`), index2);
130730
- }
130731
- })
130732
- }), /* @__PURE__ */ jsx$1("div", {
130733
130887
  style: {
130734
130888
  width: 150
130735
130889
  },
@@ -130992,6 +131146,9 @@ const ReservationDurationEditDrawer = ({
130992
131146
  data: data2,
130993
131147
  reload
130994
131148
  }) => {
131149
+ const {
131150
+ reload: reloadReservationDuration
131151
+ } = useReloadContext();
130995
131152
  const {
130996
131153
  t: t2
130997
131154
  } = useTranslation();
@@ -131064,6 +131221,7 @@ const ReservationDurationEditDrawer = ({
131064
131221
  bulkUpdate: true
131065
131222
  });
131066
131223
  reload();
131224
+ reloadReservationDuration();
131067
131225
  setIsOpen(false);
131068
131226
  } catch (error3) {
131069
131227
  showMessageError("Failed to update reservation duration");
@@ -131375,6 +131533,9 @@ const SpecialDatesEditDrawer = ({
131375
131533
  data: data2,
131376
131534
  reload
131377
131535
  }) => {
131536
+ const {
131537
+ reload: reloadSpecialDates
131538
+ } = useReloadContext();
131378
131539
  const {
131379
131540
  t: t2
131380
131541
  } = useTranslation();
@@ -131396,6 +131557,7 @@ const SpecialDatesEditDrawer = ({
131396
131557
  onSuccess: () => {
131397
131558
  setShowConfirmationModal(false);
131398
131559
  setSelectedDate(null);
131560
+ reloadSpecialDates();
131399
131561
  reload();
131400
131562
  }
131401
131563
  });
@@ -131478,6 +131640,7 @@ const SpecialDatesEditDrawer = ({
131478
131640
  bulkUpdate: true
131479
131641
  });
131480
131642
  reload();
131643
+ reloadSpecialDates();
131481
131644
  setIsOpen(false);
131482
131645
  } catch (error3) {
131483
131646
  showMessageError("Failed to update special dates");
@@ -131754,6 +131917,9 @@ const ShiftsEditDrawer = ({
131754
131917
  data: data2,
131755
131918
  reload
131756
131919
  }) => {
131920
+ const {
131921
+ reload: reloadShifts
131922
+ } = useReloadContext();
131757
131923
  const {
131758
131924
  t: t2
131759
131925
  } = useTranslation();
@@ -131827,6 +131993,7 @@ const ShiftsEditDrawer = ({
131827
131993
  module: "opHour"
131828
131994
  });
131829
131995
  reload();
131996
+ reloadShifts();
131830
131997
  setIsOpen(false);
131831
131998
  } catch (error3) {
131832
131999
  showMessageError(t2("Failed to save shifts"));
@@ -132066,11 +132233,17 @@ const ReservationPreferencesCard = ({
132066
132233
  style: {
132067
132234
  display: "contents"
132068
132235
  },
132069
- children: [/* @__PURE__ */ jsx$1("p", {
132070
- style: {
132071
- fontWeight: "bold"
132072
- },
132073
- children: t2("MAX_RESERVATIONS_ARRIVAL_PER_SLOT")
132236
+ children: [/* @__PURE__ */ jsxs("div", {
132237
+ className: "",
132238
+ children: [/* @__PURE__ */ jsx$1("p", {
132239
+ style: {
132240
+ fontWeight: "bold"
132241
+ },
132242
+ children: t2("MAX_RESERVATIONS_ARRIVAL_PER_SLOT")
132243
+ }), /* @__PURE__ */ jsx$1("p", {
132244
+ className: styles$b.secText,
132245
+ children: t2("MAX_RESERVATIONS_ARRIVAL_PER_SLOT_DESC")
132246
+ })]
132074
132247
  }), /* @__PURE__ */ jsx$1("p", {
132075
132248
  style: {
132076
132249
  textAlign: "left"
@@ -132081,11 +132254,38 @@ const ReservationPreferencesCard = ({
132081
132254
  style: {
132082
132255
  display: "contents"
132083
132256
  },
132084
- children: [/* @__PURE__ */ jsx$1("p", {
132257
+ children: [/* @__PURE__ */ jsxs("div", {
132258
+ className: "",
132259
+ children: [/* @__PURE__ */ jsx$1("p", {
132260
+ style: {
132261
+ fontWeight: "bold"
132262
+ },
132263
+ children: t2("TIMEOFFSETTOMEALTIME")
132264
+ }), /* @__PURE__ */ jsx$1("p", {
132265
+ className: styles$b.secText,
132266
+ children: t2("TIMEOFFSETTOMEALTIME_DESC")
132267
+ })]
132268
+ }), /* @__PURE__ */ jsxs("p", {
132085
132269
  style: {
132086
- fontWeight: "bold"
132270
+ textAlign: "left"
132087
132271
  },
132088
- children: t2("TIMEOFFSETTOMEALTIME")
132272
+ children: [(venueData == null ? void 0 : venueData.minAdvanceBooking) ? `${venueData == null ? void 0 : venueData.minAdvanceBooking} min` : "-", " "]
132273
+ })]
132274
+ }), /* @__PURE__ */ jsxs("div", {
132275
+ style: {
132276
+ display: "contents"
132277
+ },
132278
+ children: [/* @__PURE__ */ jsxs("div", {
132279
+ className: "",
132280
+ children: [/* @__PURE__ */ jsx$1("p", {
132281
+ style: {
132282
+ fontWeight: "bold"
132283
+ },
132284
+ children: t2("SLOTGAP")
132285
+ }), /* @__PURE__ */ jsx$1("p", {
132286
+ className: styles$b.secText,
132287
+ children: t2("SLOTGAP_DESC")
132288
+ })]
132089
132289
  }), /* @__PURE__ */ jsxs("p", {
132090
132290
  style: {
132091
132291
  textAlign: "left"
@@ -132096,11 +132296,17 @@ const ReservationPreferencesCard = ({
132096
132296
  style: {
132097
132297
  display: "contents"
132098
132298
  },
132099
- children: [/* @__PURE__ */ jsx$1("p", {
132100
- style: {
132101
- fontWeight: "bold"
132102
- },
132103
- children: t2("maxPartySize")
132299
+ children: [/* @__PURE__ */ jsxs("div", {
132300
+ className: "",
132301
+ children: [/* @__PURE__ */ jsx$1("p", {
132302
+ style: {
132303
+ fontWeight: "bold"
132304
+ },
132305
+ children: t2("maxPartySize")
132306
+ }), /* @__PURE__ */ jsx$1("p", {
132307
+ className: styles$b.secText,
132308
+ children: t2("maxPartySize_DESC")
132309
+ })]
132104
132310
  }), /* @__PURE__ */ jsx$1("p", {
132105
132311
  style: {
132106
132312
  textAlign: "left"
@@ -132131,6 +132337,9 @@ const ReservationPreferencesEditDrawer = ({
132131
132337
  reloadVenue,
132132
132338
  reloadReservationDuration
132133
132339
  }) => {
132340
+ const {
132341
+ reload: reloadReservationPreferences
132342
+ } = useReloadContext();
132134
132343
  const {
132135
132344
  t: t2
132136
132345
  } = useTranslation();
@@ -132148,22 +132357,21 @@ const ReservationPreferencesEditDrawer = ({
132148
132357
  id: "",
132149
132358
  maxWelcomeSlot: "",
132150
132359
  slotDuration: "",
132151
- maxPartySize: venueData == null ? void 0 : venueData.maxCovers
132360
+ maxPartySize: venueData == null ? void 0 : venueData.maxCovers,
132361
+ minAdvanceBooking: venueData == null ? void 0 : venueData.minAdvanceBooking
132152
132362
  };
132153
132363
  const areaSchema = () => create$2().shape({
132154
132364
  id: create$4().nullable(),
132155
132365
  maxWelcomeSlot: create$4().required(t2("errors.required")),
132156
132366
  slotDuration: create$4().required(t2("errors.required")),
132157
- maxPartySize: create$4().required(t2("errors.required"))
132367
+ maxPartySize: create$4().required(t2("errors.required")),
132368
+ minAdvanceBooking: create$4().required(t2("errors.required"))
132158
132369
  });
132159
132370
  const {
132160
132371
  control,
132161
132372
  reset,
132162
132373
  trigger,
132163
- getValues,
132164
- formState: {
132165
- isDirty
132166
- }
132374
+ getValues
132167
132375
  } = useForm({
132168
132376
  mode: "onChange",
132169
132377
  resolver: o(areaSchema()),
@@ -132181,7 +132389,8 @@ const ReservationPreferencesEditDrawer = ({
132181
132389
  slotDuration: data22.slotDuration
132182
132390
  };
132183
132391
  const toSendToVenue = {
132184
- maxCovers: data22.maxPartySize
132392
+ maxCovers: data22.maxPartySize,
132393
+ minAdvanceBooking: data22.minAdvanceBooking
132185
132394
  };
132186
132395
  await execute({
132187
132396
  data: toSend,
@@ -132193,6 +132402,7 @@ const ReservationPreferencesEditDrawer = ({
132193
132402
  data: toSendToVenue,
132194
132403
  venueId
132195
132404
  });
132405
+ reloadReservationPreferences();
132196
132406
  reload();
132197
132407
  reloadVenue();
132198
132408
  reloadReservationDuration();
@@ -132204,7 +132414,8 @@ const ReservationPreferencesEditDrawer = ({
132204
132414
  id: data2.id,
132205
132415
  maxWelcomeSlot: data2.maxWelcomeSlot,
132206
132416
  slotDuration: data2.slotDuration,
132207
- maxPartySize: venueData == null ? void 0 : venueData.maxCovers
132417
+ maxPartySize: venueData == null ? void 0 : venueData.maxCovers,
132418
+ minAdvanceBooking: venueData == null ? void 0 : venueData.minAdvanceBooking
132208
132419
  });
132209
132420
  } else {
132210
132421
  reset(defaultValue2);
@@ -132220,7 +132431,7 @@ const ReservationPreferencesEditDrawer = ({
132220
132431
  children: [/* @__PURE__ */ jsxs("div", {
132221
132432
  className: styles$b.scrollableForm,
132222
132433
  children: [/* @__PURE__ */ jsx$1("div", {
132223
- className: "",
132434
+ className: styles$b.formRow,
132224
132435
  children: /* @__PURE__ */ jsx$1(TextInputField, {
132225
132436
  control,
132226
132437
  id: "maxWelcomeSlot",
@@ -132231,18 +132442,29 @@ const ReservationPreferencesEditDrawer = ({
132231
132442
  type: "number"
132232
132443
  })
132233
132444
  }), /* @__PURE__ */ jsx$1("div", {
132234
- className: "",
132445
+ className: styles$b.formRow,
132446
+ children: /* @__PURE__ */ jsx$1(TextInputField, {
132447
+ control,
132448
+ id: "minAdvanceBooking",
132449
+ name: "minAdvanceBooking",
132450
+ label: t2("TIMEOFFSETTOMEALTIME") + " (min)",
132451
+ placeholder: t2("TIMEOFFSETTOMEALTIME"),
132452
+ radius: "sm",
132453
+ type: "number"
132454
+ })
132455
+ }), /* @__PURE__ */ jsx$1("div", {
132456
+ className: styles$b.formRow,
132235
132457
  children: /* @__PURE__ */ jsx$1(TextInputField, {
132236
132458
  control,
132237
132459
  id: "slotDuration",
132238
132460
  name: "slotDuration",
132239
- label: "Time offset to mealtime (minutes)",
132240
- placeholder: "Time offset to mealtime ...",
132461
+ label: t2("SLOTGAP") + " (min)",
132462
+ placeholder: t2("SLOTGAP"),
132241
132463
  radius: "sm",
132242
132464
  type: "number"
132243
132465
  })
132244
132466
  }), /* @__PURE__ */ jsx$1("div", {
132245
- className: "",
132467
+ className: styles$b.formRow,
132246
132468
  children: /* @__PURE__ */ jsx$1(TextInputField, {
132247
132469
  control,
132248
132470
  id: "maxPartySize",
@@ -133003,6 +133225,7 @@ function Main$1({
133003
133225
  } = useTranslation();
133004
133226
  const [currentVenue, setCurrentVenue] = useState(null);
133005
133227
  const [canEdit, setCanEdit] = useState(false);
133228
+ const [showUpdateInprogressModal, setShowUpdateInprogressModal] = useState(false);
133006
133229
  const {
133007
133230
  data: data2,
133008
133231
  reload
@@ -133063,44 +133286,58 @@ function Main$1({
133063
133286
  children: /* @__PURE__ */ jsx$1("h2", {
133064
133287
  children: t2("RESTAURANTSETUP")
133065
133288
  })
133066
- }), /* @__PURE__ */ jsxs(Masonry, {
133067
- breakpointCols: {
133068
- default: 3,
133069
- 1200: 2,
133070
- 800: 1
133071
- },
133072
- className: styles$b["my-masonry-grid"],
133073
- columnClassName: styles$b["my-masonry-grid_column"],
133074
- children: [/* @__PURE__ */ jsx$1(index$6, {
133075
- areas: data2,
133076
- reloadAreas: reload,
133077
- venueId: currentVenue,
133078
- canEdit
133079
- }), /* @__PURE__ */ jsx$1(index$5, {
133080
- areas: data2,
133081
- venueId: currentVenue,
133082
- canEdit
133083
- }), /* @__PURE__ */ jsx$1(index$4, {
133084
- data: reservationDurationData,
133085
- reload: reloadReservationDuration,
133086
- venueId: currentVenue,
133087
- canEdit
133088
- }), /* @__PURE__ */ jsx$1(index$2, {
133089
- venueId: currentVenue,
133090
- canEdit
133091
- }), /* @__PURE__ */ jsx$1(index$3, {
133092
- venueId: currentVenue,
133093
- canEdit
133094
- }), /* @__PURE__ */ jsx$1(index$1, {
133095
- venueData: data2 == null ? void 0 : data2.venue,
133096
- reloadVenue: reload,
133097
- reloadReservationDuration,
133098
- venueId: currentVenue,
133099
- canEdit
133100
- }), /* @__PURE__ */ jsx$1(index, {
133101
- venueId: currentVenue,
133102
- canEdit
133103
- })]
133289
+ }), /* @__PURE__ */ jsx$1(ReloadProvider, {
133290
+ reload: () => setShowUpdateInprogressModal(true),
133291
+ children: /* @__PURE__ */ jsxs(Masonry, {
133292
+ breakpointCols: {
133293
+ default: 3,
133294
+ 1200: 2,
133295
+ 800: 1
133296
+ },
133297
+ className: styles$b["my-masonry-grid"],
133298
+ columnClassName: styles$b["my-masonry-grid_column"],
133299
+ children: [/* @__PURE__ */ jsx$1(index$6, {
133300
+ areas: data2,
133301
+ reloadAreas: reload,
133302
+ venueId: currentVenue,
133303
+ canEdit
133304
+ }), /* @__PURE__ */ jsx$1(index$5, {
133305
+ areas: data2,
133306
+ venueId: currentVenue,
133307
+ canEdit
133308
+ }), /* @__PURE__ */ jsx$1(index$4, {
133309
+ data: reservationDurationData,
133310
+ reload: reloadReservationDuration,
133311
+ venueId: currentVenue,
133312
+ canEdit
133313
+ }), /* @__PURE__ */ jsx$1(index$2, {
133314
+ venueId: currentVenue,
133315
+ canEdit
133316
+ }), /* @__PURE__ */ jsx$1(index$3, {
133317
+ venueId: currentVenue,
133318
+ canEdit
133319
+ }), /* @__PURE__ */ jsx$1(index$1, {
133320
+ venueData: data2 == null ? void 0 : data2.venue,
133321
+ reloadVenue: reload,
133322
+ reloadReservationDuration,
133323
+ venueId: currentVenue,
133324
+ canEdit
133325
+ }), /* @__PURE__ */ jsx$1(index, {
133326
+ venueId: currentVenue,
133327
+ canEdit
133328
+ })]
133329
+ })
133330
+ }), /* @__PURE__ */ jsx$1(ConfirmationModal, {
133331
+ icon: "CalendarTime",
133332
+ open: showUpdateInprogressModal,
133333
+ onClose: () => setShowUpdateInprogressModal(false),
133334
+ title: t2("UPDATE_IN_PROGRESS"),
133335
+ text: t2("UPDATE_IN_PROGRESS_MESSAGE_WITH_X", {
133336
+ value: 15
133337
+ }),
133338
+ onAccept: () => setShowUpdateInprogressModal(false),
133339
+ submitButtonText: t2("OK"),
133340
+ cancelButtonText: t2("CLOSE")
133104
133341
  })]
133105
133342
  });
133106
133343
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mozrest-sdk-react-dev",
3
- "version": "0.3.26",
3
+ "version": "0.3.28",
4
4
  "main": "mozrest-sdk.es.js",
5
5
  "keywords": [
6
6
  "mozrest"
package/style.css CHANGED
@@ -1518,14 +1518,14 @@
1518
1518
  :root {
1519
1519
  --litepicker-day-width: 35px;
1520
1520
  }
1521
- }._inputWrapper_1i9tl_1 {
1521
+ }._inputWrapper_c5acm_1 {
1522
1522
  position: relative;
1523
1523
  display: flex;
1524
1524
  align-items: center;
1525
1525
  width: 100%;
1526
1526
  }
1527
1527
 
1528
- ._input_1i9tl_1 {
1528
+ ._input_c5acm_1 {
1529
1529
  flex: 1;
1530
1530
  font: var(--moz-font-weight-input) var(--moz-font-size-input)/var(--moz-line-height-input) var(--moz-font-family-input);
1531
1531
  padding: 0.75rem 0.75rem;
@@ -1539,60 +1539,74 @@
1539
1539
  width: auto;
1540
1540
  box-sizing: border-box;
1541
1541
  }
1542
- ._input_1i9tl_1:focus {
1542
+ ._input_c5acm_1:focus {
1543
1543
  outline: none;
1544
1544
  box-shadow: 0 0 5px var(--moz-input-border);
1545
1545
  }
1546
- ._input_1i9tl_1:disabled {
1546
+ ._input_c5acm_1:disabled {
1547
1547
  color: var(--moz-bg-gray);
1548
1548
  background: var(--moz-input-disabled);
1549
1549
  }
1550
- ._input_1i9tl_1[type=number] {
1550
+ ._input_c5acm_1[type=number] {
1551
1551
  appearance: textfield;
1552
1552
  }
1553
- ._input_1i9tl_1[type=number]::-webkit-outer-spin-button, ._input_1i9tl_1[type=number]::-webkit-inner-spin-button {
1553
+ ._input_c5acm_1[type=number]::-webkit-outer-spin-button, ._input_c5acm_1[type=number]::-webkit-inner-spin-button {
1554
1554
  margin: 0;
1555
1555
  appearance: none;
1556
1556
  }
1557
- ._input--r-md_1i9tl_37 {
1557
+ ._input--r-md_c5acm_37 {
1558
1558
  border-radius: 8px;
1559
1559
  border-bottom-left-radius: 0;
1560
1560
  border-bottom-right-radius: 0;
1561
1561
  }
1562
- ._input--r-sm_1i9tl_42 {
1562
+ ._input--r-sm_c5acm_42 {
1563
1563
  border-radius: 2px;
1564
1564
  border-bottom-left-radius: 0;
1565
1565
  border-bottom-right-radius: 0;
1566
1566
  }
1567
- ._input--with-icon-left_1i9tl_47 {
1567
+ ._input--with-icon-left_c5acm_47 {
1568
1568
  padding-left: 2rem;
1569
1569
  }
1570
- ._input--with-icon-right_1i9tl_50 {
1570
+ ._input--with-icon-right_c5acm_50 {
1571
1571
  padding-right: 2rem;
1572
1572
  }
1573
- ._input--filled_1i9tl_53 {
1573
+ ._input--filled_c5acm_53 {
1574
1574
  background: var(--moz-input-filled);
1575
1575
  }
1576
- ._input--borderless_1i9tl_56 {
1576
+ ._input--error_c5acm_56 {
1577
+ border-color: rgb(220, 53, 69);
1578
+ }
1579
+ ._input--line-through_c5acm_59 {
1580
+ text-decoration: line-through;
1581
+ }
1582
+ ._input--line-through_c5acm_59::-webkit-datetime-edit, ._input--line-through_c5acm_59::-webkit-calendar-picker-indicator {
1583
+ text-decoration: line-through !important;
1584
+ -webkit-text-decoration: line-through !important;
1585
+ }
1586
+ ._input--line-through_c5acm_59[type=date]::-webkit-datetime-edit, ._input--line-through_c5acm_59[type=date]::-webkit-datetime-edit-fields-wrapper, ._input--line-through_c5acm_59[type=date]::-webkit-datetime-edit-text, ._input--line-through_c5acm_59[type=date]::-webkit-datetime-edit-month-field, ._input--line-through_c5acm_59[type=date]::-webkit-datetime-edit-day-field, ._input--line-through_c5acm_59[type=date]::-webkit-datetime-edit-year-field {
1587
+ text-decoration: line-through !important;
1588
+ -webkit-text-decoration: line-through !important;
1589
+ }
1590
+ ._input--borderless_c5acm_70 {
1577
1591
  border: none;
1578
1592
  border-bottom: none;
1579
1593
  }
1580
- ._input--rounded_1i9tl_60 {
1594
+ ._input--rounded_c5acm_74 {
1581
1595
  border-bottom-left-radius: 8px;
1582
1596
  border-bottom-right-radius: 8px;
1583
1597
  }
1584
- ._input_1i9tl_1::placeholder {
1598
+ ._input_c5acm_1::placeholder {
1585
1599
  color: var(--moz-text-input);
1586
1600
  opacity: 1;
1587
1601
  }
1588
- ._input_1i9tl_1:-ms-input-placeholder {
1602
+ ._input_c5acm_1:-ms-input-placeholder {
1589
1603
  color: var(--moz-text-input);
1590
1604
  }
1591
- ._input_1i9tl_1::-ms-input-placeholder {
1605
+ ._input_c5acm_1::-ms-input-placeholder {
1592
1606
  color: var(--moz-text-input);
1593
1607
  }
1594
1608
 
1595
- ._inputIcon_1i9tl_75 {
1609
+ ._inputIcon_c5acm_89 {
1596
1610
  position: absolute;
1597
1611
  pointer-events: none;
1598
1612
  display: flex;
@@ -1601,10 +1615,10 @@
1601
1615
  top: 50%;
1602
1616
  transform: translateY(-50%);
1603
1617
  }
1604
- ._inputIcon--p-left_1i9tl_84 {
1618
+ ._inputIcon--p-left_c5acm_98 {
1605
1619
  left: 0.5rem;
1606
1620
  }
1607
- ._inputIcon--p-right_1i9tl_87 {
1621
+ ._inputIcon--p-right_c5acm_101 {
1608
1622
  right: 0.5rem;
1609
1623
  }._filterButton_c0yjo_1 {
1610
1624
  display: flex;
@@ -3260,30 +3274,35 @@ hr {
3260
3274
  ._my-masonry-grid_column_vahsi_12 > div {
3261
3275
  /* change div to reference your elements you put in <Masonry> */
3262
3276
  margin-bottom: 40px;
3263
- }._selectAccount_8539r_1 {
3277
+ }._selectAccount_p1rn0_1 {
3264
3278
  display: flex;
3265
3279
  gap: 0.5rem;
3266
3280
  flex-direction: column;
3267
3281
  text-align: justify;
3268
3282
  }
3269
- ._selectAccount__title_8539r_7 {
3283
+ ._selectAccount__title_p1rn0_7 {
3270
3284
  font: 600 1.125rem/1.55 var(--moz-font-family);
3271
3285
  text-align: center;
3272
3286
  }
3273
3287
 
3274
- ._account_8539r_12 {
3288
+ ._account_p1rn0_12 {
3275
3289
  display: flex;
3290
+ flex-direction: column;
3276
3291
  justify-content: center;
3277
3292
  border: 1px solid var(--moz-input-border);
3278
3293
  border-radius: 1rem;
3279
3294
  padding: 0.5rem;
3280
3295
  cursor: default;
3281
3296
  }
3282
- ._account_8539r_12:hover {
3297
+ ._account_p1rn0_12:hover {
3283
3298
  background-color: var(--moz-cta-content-sec-bg);
3284
3299
  }
3285
- ._account--selected_8539r_23 {
3300
+ ._account--selected_p1rn0_24 {
3286
3301
  background-color: var(--moz-cta-body-bg);
3302
+ }
3303
+ ._account__address_p1rn0_27 {
3304
+ font: 0.75rem/1.75rem var(--moz-font-family-title);
3305
+ color: var(--moz-text-secondary);
3287
3306
  }._selectAccount_1cl8x_1 {
3288
3307
  display: flex;
3289
3308
  gap: 0.5rem;
@@ -31053,7 +31072,7 @@ hr {
31053
31072
  border: 0;
31054
31073
  border-top: 2px solid #42465a;
31055
31074
  }
31056
- ._my-masonry-grid_1afjz_19 {
31075
+ ._my-masonry-grid_gaf1i_19 {
31057
31076
  display: -webkit-box;
31058
31077
  /* Not needed if autoprefixing */
31059
31078
  display: -ms-flexbox;
@@ -31063,16 +31082,16 @@ hr {
31063
31082
  /* gutter size offset */
31064
31083
  width: auto;
31065
31084
  }
31066
- ._my-masonry-grid_column_1afjz_30 {
31085
+ ._my-masonry-grid_column_gaf1i_30 {
31067
31086
  padding-left: 40px;
31068
31087
  /* gutter size */
31069
31088
  background-clip: padding-box;
31070
31089
  }
31071
- ._my-masonry-grid_column_1afjz_30 > div {
31090
+ ._my-masonry-grid_column_gaf1i_30 > div {
31072
31091
  /* change div to reference your elements you put in <Masonry> */
31073
31092
  margin-bottom: 40px;
31074
31093
  }
31075
- ._mainConatiner_1afjz_41 {
31094
+ ._mainConatiner_gaf1i_41 {
31076
31095
  color: var(--moz-text-primary);
31077
31096
  height: 100vh;
31078
31097
  max-height: 100vh;
@@ -31085,13 +31104,13 @@ hr {
31085
31104
  padding-left: 10px;
31086
31105
  padding-right: 10px;
31087
31106
  }
31088
- ._mainConatiner_1afjz_41 ._header_1afjz_54 {
31107
+ ._mainConatiner_gaf1i_41 ._header_gaf1i_54 {
31089
31108
  display: flex;
31090
31109
  justify-content: flex-start;
31091
31110
  align-items: center;
31092
31111
  padding: 1.25rem;
31093
31112
  }
31094
- ._mainConatiner_1afjz_41 ._content_1afjz_60 {
31113
+ ._mainConatiner_gaf1i_41 ._content_gaf1i_60 {
31095
31114
  display: flex;
31096
31115
  justify-content: center;
31097
31116
  align-items: flex-start;
@@ -31099,29 +31118,29 @@ hr {
31099
31118
  padding: 1.5rem;
31100
31119
  overflow-y: auto;
31101
31120
  }
31102
- ._textSecondary_1afjz_69 {
31121
+ ._textSecondary_gaf1i_69 {
31103
31122
  color: var(--moz-text-secondary);
31104
31123
  }
31105
- ._sectionCard_1afjz_73 {
31124
+ ._sectionCard_gaf1i_73 {
31106
31125
  padding: 0;
31107
31126
  background-color: var(--moz-cta-content-bg);
31108
31127
  }
31109
- ._sectionCard_1afjz_73 ._cardHeader_1afjz_77 {
31128
+ ._sectionCard_gaf1i_73 ._cardHeader_gaf1i_77 {
31110
31129
  padding: 1.5rem;
31111
31130
  }
31112
- ._sectionCard_1afjz_73 ._cardHeader_1afjz_77 ._cardTitle_1afjz_80 {
31131
+ ._sectionCard_gaf1i_73 ._cardHeader_gaf1i_77 ._cardTitle_gaf1i_80 {
31113
31132
  font-size: 18px;
31114
31133
  color: var(--moz-text-label);
31115
31134
  }
31116
- ._sectionCard_1afjz_73 ._cardHeader_1afjz_77 ._cardDesc_1afjz_84 {
31135
+ ._sectionCard_gaf1i_73 ._cardHeader_gaf1i_77 ._cardDesc_gaf1i_84 {
31117
31136
  font-size: 14px;
31118
31137
  color: var(--moz-text-secondary);
31119
31138
  }
31120
- ._sectionCard_1afjz_73 ._cardBody_1afjz_88 {
31139
+ ._sectionCard_gaf1i_73 ._cardBody_gaf1i_88 {
31121
31140
  padding: 1.5rem;
31122
31141
  color: var(--moz-text-label);
31123
31142
  }
31124
- ._sectionCard_1afjz_73 ._cardFooter_1afjz_92 ._cardFooterContent_1afjz_92 {
31143
+ ._sectionCard_gaf1i_73 ._cardFooter_gaf1i_92 ._cardFooterContent_gaf1i_92 {
31125
31144
  padding: 0.5rem;
31126
31145
  display: flex;
31127
31146
  justify-content: center;
@@ -31132,73 +31151,80 @@ hr {
31132
31151
  color: var(--moz-text-secondary);
31133
31152
  cursor: pointer;
31134
31153
  }
31135
- ._sectionManagement_1afjz_104 ._sectionFormRow_1afjz_104 {
31154
+ ._sectionManagement_gaf1i_104 ._sectionFormRow_gaf1i_104 {
31136
31155
  display: flex;
31137
31156
  gap: 0.75rem;
31138
31157
  padding: 1.5rem;
31139
31158
  justify-content: center;
31140
31159
  align-items: center;
31141
31160
  }
31142
- ._sectionManagement_1afjz_104 ._drawerContent_1afjz_111 {
31161
+ ._sectionManagement_gaf1i_104 ._drawerContent_gaf1i_111 {
31143
31162
  display: flex;
31144
31163
  flex-direction: column;
31145
31164
  height: 100%;
31146
31165
  }
31147
- ._sectionManagement_1afjz_104 ._drawerContent_1afjz_111 ._scrollableForm_1afjz_116 {
31166
+ ._sectionManagement_gaf1i_104 ._drawerContent_gaf1i_111 ._scrollableForm_gaf1i_116 {
31148
31167
  flex: 1;
31149
31168
  overflow-y: auto;
31150
31169
  padding-top: 0px;
31151
31170
  padding: 0px;
31152
31171
  }
31153
- ._sectionManagement_1afjz_104 ._drawerContent_1afjz_111 ._fixedActions_1afjz_122 {
31172
+ ._sectionManagement_gaf1i_104 ._drawerContent_gaf1i_111 ._scrollableForm_gaf1i_116 ._formRow_gaf1i_122 {
31173
+ padding: 10px 0px 10px 0px;
31174
+ }
31175
+ ._sectionManagement_gaf1i_104 ._drawerContent_gaf1i_111 ._fixedActions_gaf1i_125 {
31154
31176
  display: flex;
31155
31177
  justify-content: flex-end;
31156
31178
  gap: 10px;
31157
31179
  padding: 10px 10px 0px 10px;
31158
31180
  }
31159
- ._specialDatesInfoText_1afjz_129 {
31181
+ ._specialDatesInfoText_gaf1i_132 {
31160
31182
  color: var(--moz-text-secondary);
31161
31183
  font-size: 14px;
31162
31184
  padding: 5px;
31163
31185
  padding-top: 0;
31164
31186
  padding-bottom: 0;
31165
31187
  }
31166
- ._closeIcon_1afjz_137 {
31188
+ ._closeIcon_gaf1i_140 {
31167
31189
  color: var(--moz-text-primary);
31168
31190
  cursor: "pointer";
31169
31191
  margin-top: 20;
31170
31192
  }
31171
- ._deleteIcon_1afjz_143 {
31193
+ ._deleteIcon_gaf1i_146 {
31172
31194
  color: var(--moz-cta-danger);
31173
31195
  cursor: "pointer";
31174
31196
  }
31175
- ._stripeConnectContainer_1afjz_148 {
31197
+ ._stripeConnectContainer_gaf1i_151 {
31176
31198
  margin-bottom: 20px;
31177
31199
  display: flex;
31178
31200
  justify-content: flex-start;
31179
31201
  align-items: center;
31180
31202
  gap: 20px;
31181
31203
  }
31182
- ._paymentGatewayContainer_1afjz_156 {
31204
+ ._paymentGatewayContainer_gaf1i_159 {
31183
31205
  display: flex;
31184
31206
  flex-direction: column;
31185
31207
  gap: 30px;
31186
31208
  margin-bottom: 30px;
31187
31209
  }
31188
- ._paymentGatewayContainer_1afjz_156 ._paymentRules_1afjz_162 {
31210
+ ._paymentGatewayContainer_gaf1i_159 ._paymentRules_gaf1i_165 {
31189
31211
  display: flex;
31190
31212
  flex-direction: column;
31191
31213
  gap: 20px;
31192
31214
  }
31193
- ._paymentGatewayContainer_1afjz_156 ._paymentRules_1afjz_162 ._paymentRulesContainer_1afjz_167 {
31215
+ ._paymentGatewayContainer_gaf1i_159 ._paymentRules_gaf1i_165 ._paymentRulesContainer_gaf1i_170 {
31194
31216
  display: flex;
31195
31217
  flex-direction: row;
31196
31218
  gap: 10px;
31197
31219
  }
31198
- ._paymentRulesDesc_1afjz_173 {
31220
+ ._paymentRulesDesc_gaf1i_176 {
31199
31221
  max-width: 600px;
31200
31222
  color: var(--moz-text-secondary);
31201
31223
  font-size: 14px;
31224
+ }
31225
+ ._secText_gaf1i_182 {
31226
+ font-size: 14px;
31227
+ color: var(--moz-text-secondary);
31202
31228
  }._form_p8f7t_1 {
31203
31229
  display: flex;
31204
31230
  flex-direction: column;