@feedmepos/mf-common 1.29.18 → 1.29.20-dev

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.
@@ -35536,22 +35536,22 @@ kn.getAdapter = CZ.getAdapter;
35536
35536
  kn.HttpStatusCode = HY;
35537
35537
  kn.default = kn;
35538
35538
  const KZ = kn, {
35539
- Axios: ox,
35539
+ Axios: Ex,
35540
35540
  AxiosError: IY,
35541
- CanceledError: sx,
35542
- isCancel: cx,
35543
- CancelToken: ux,
35544
- VERSION: Vx,
35545
- all: Nx,
35546
- Cancel: Ux,
35547
- isAxiosError: Rx,
35548
- spread: hx,
35549
- toFormData: Fx,
35550
- AxiosHeaders: mx,
35551
- HttpStatusCode: px,
35552
- formToJSON: Zx,
35553
- getAdapter: Tx,
35554
- mergeConfig: Wx
35541
+ CanceledError: bx,
35542
+ isCancel: Mx,
35543
+ CancelToken: Sx,
35544
+ VERSION: kx,
35545
+ all: fx,
35546
+ Cancel: yx,
35547
+ isAxiosError: zx,
35548
+ spread: Qx,
35549
+ toFormData: gx,
35550
+ AxiosHeaders: vx,
35551
+ HttpStatusCode: Yx,
35552
+ formToJSON: Jx,
35553
+ getAdapter: jx,
35554
+ mergeConfig: Gx
35555
35555
  } = KZ;
35556
35556
  async function YU(l, o) {
35557
35557
  try {
@@ -35606,7 +35606,13 @@ async function qY(l) {
35606
35606
  );
35607
35607
  }
35608
35608
  async function _Y() {
35609
- return ea(await hr("").get("/my/agents"));
35609
+ try {
35610
+ return ea(await hr("").get("/my/is-agent"));
35611
+ } catch {
35612
+ return {
35613
+ isAgent: !1
35614
+ };
35615
+ }
35610
35616
  }
35611
35617
  async function eJ(l) {
35612
35618
  return ea(await hr("").post(`/auth/debug-user/${l}`));
@@ -37875,7 +37881,7 @@ class Uj {
37875
37881
  isAdmin: i === "admin",
37876
37882
  isStaff: i === "staff",
37877
37883
  isDebug: !!u,
37878
- isAgent: R.length > 0
37884
+ isAgent: R
37879
37885
  };
37880
37886
  }
37881
37887
  get isInternal() {
@@ -37922,7 +37928,7 @@ const Rj = jk("portal-core", () => {
37922
37928
  var x, L;
37923
37929
  if (B) {
37924
37930
  qn.getCountry() || de(Nj(B.phoneNumber ?? "")), Q0.Config.setCountry(((x = qn.getCountry()) == null ? void 0 : x.toUpperCase()) ?? "MY");
37925
- const { customClaims: j } = await Tn.getUserClaims(), I = await _Y(), K = new Uj(B, j ?? {}, I), q = await P(qn.getBusinessId());
37931
+ const { customClaims: j } = await Tn.getUserClaims(), { isAgent: I } = await _Y(), K = new Uj(B, j ?? {}, I), q = await P(qn.getBusinessId());
37926
37932
  q && (me.value = { ...q, id: q._id }), await Promise.all([
37927
37933
  z(K),
37928
37934
  D(K, q == null ? void 0 : q._id)
@@ -38262,7 +38268,7 @@ function hj() {
38262
38268
  const l = localStorage.getItem("locale") || navigator.language;
38263
38269
  return localStorage.getItem("locale") !== l && localStorage.setItem("locale", l), l;
38264
38270
  }
38265
- function Ex(l, o) {
38271
+ function Bx(l, o) {
38266
38272
  o && Sn().setNamespace(o);
38267
38273
  const i = "DEBUG_ACCOUNT_URL", u = window.localStorage.getItem(i);
38268
38274
  u && Tn.setBaseUrl(u), Tn.initialize({
@@ -38274,7 +38280,7 @@ function Ex(l, o) {
38274
38280
  const R = Sn();
38275
38281
  R.sessionUser.value || R.signIn();
38276
38282
  }
38277
- const bx = Tn.onAuthStateChanged, Fj = { class: "px-8" }, mj = { class: "max-h-[160px] overflow-y-auto" }, pj = /* @__PURE__ */ Pt({
38283
+ const Dx = Tn.onAuthStateChanged, Fj = { class: "px-8" }, mj = { class: "max-h-[160px] overflow-y-auto" }, pj = /* @__PURE__ */ Pt({
38278
38284
  __name: "FilterEntry",
38279
38285
  props: {
38280
38286
  modelValue: {},
@@ -42368,7 +42374,7 @@ const tB = { class: "flex flex-col gap-8 py-8" }, nB = { class: "pt-16 pb-8 flex
42368
42374
  ]);
42369
42375
  };
42370
42376
  }
42371
- }), Mx = /* @__PURE__ */ Pt({
42377
+ }), wx = /* @__PURE__ */ Pt({
42372
42378
  __name: "FilterBuilder",
42373
42379
  props: /* @__PURE__ */ V2({
42374
42380
  modelValue: {},
@@ -46139,7 +46145,7 @@ function print() { __p += __j.call(arguments, '') }
46139
46145
  })(ku, ku.exports);
46140
46146
  var mB = ku.exports;
46141
46147
  const pB = /* @__PURE__ */ FB(mB);
46142
- function Sx(l, o) {
46148
+ function Ox(l, o) {
46143
46149
  return WN(o, {
46144
46150
  data: l,
46145
46151
  cache: /* @__PURE__ */ new Map()
@@ -46281,7 +46287,7 @@ function bN(l, o, i, u) {
46281
46287
  }
46282
46288
  return !1;
46283
46289
  }
46284
- function kx({
46290
+ function xx({
46285
46291
  valueSource: l,
46286
46292
  keySource: o,
46287
46293
  entity: i = "item",
@@ -46323,10 +46329,10 @@ const bB = { $and: [] }, ET = {
46323
46329
  logic: "AND",
46324
46330
  rules: []
46325
46331
  };
46326
- function fx(l) {
46332
+ function Xx(l) {
46327
46333
  return !l || EN(l, {}) || EN(l, bB);
46328
46334
  }
46329
- function yx(l) {
46335
+ function Hx(l) {
46330
46336
  return !l || EN(l, ET);
46331
46337
  }
46332
46338
  var bT = { exports: {} };
@@ -47056,7 +47062,7 @@ var yu;
47056
47062
  })(o.Restaurant || (o.Restaurant = {}));
47057
47063
  })(l.Subject || (l.Subject = {}));
47058
47064
  })(yu || (yu = {}));
47059
- const zx = {
47065
+ const Ix = {
47060
47066
  menu: {
47061
47067
  label: "Menu Management",
47062
47068
  subject: "business::menu",
@@ -47263,9 +47269,9 @@ async function t9(l) {
47263
47269
  canAccess: !0
47264
47270
  };
47265
47271
  }
47266
- function Qx(l) {
47272
+ function Cx(l) {
47267
47273
  }
47268
- function gx(l) {
47274
+ function Ax(l) {
47269
47275
  return {
47270
47276
  render: () => du(qB, {}, { default: () => du(l) })
47271
47277
  };
@@ -48188,7 +48194,8 @@ const Ka = /* @__PURE__ */ Ad(tD, [["__scopeId", "data-v-c679bca7"]]), zT = [
48188
48194
  { code: "vi-VN", name: "Tiếng Việt" },
48189
48195
  { code: "ms-MY", name: "Bahasa Melayu" },
48190
48196
  { code: "ph-PH", name: "Filipino" },
48191
- { code: "ko-KR", name: "한국어" }
48197
+ { code: "ko-KR", name: "한국어" },
48198
+ { code: "fr-MA", name: "Français (Maroc)" }
48192
48199
  ], yN = qe(["en-US", "zh-CN"]);
48193
48200
  function nD(l) {
48194
48201
  yN.value = l;
@@ -49644,7 +49651,7 @@ const yO = /* @__PURE__ */ Ad(fO, [["__scopeId", "data-v-bafaa21f"]]), zO = { cl
49644
49651
  ])
49645
49652
  ], 64));
49646
49653
  }
49647
- }), vx = /* @__PURE__ */ Pt({
49654
+ }), Lx = /* @__PURE__ */ Pt({
49648
49655
  __name: "App",
49649
49656
  props: {
49650
49657
  hideAppDrawer: { type: Boolean }
@@ -49709,11 +49716,11 @@ const yO = /* @__PURE__ */ Ad(fO, [["__scopeId", "data-v-bafaa21f"]]), zO = { cl
49709
49716
  _: 3
49710
49717
  }, 8, ["dropdown-opened", "apps", "businesses", "countries", "current-app", "current-business", "current-country", "user", "embedded", "hide-app-drawer"]));
49711
49718
  }
49712
- }), Yx = JN(
49713
- () => import("./CustomAttributesForm-d2c43fcf.js")
49714
- ), Jx = JN(
49715
- () => import("./RestaurantSelector-e1d12a10.js")
49716
- ), jx = JN(() => import("./ItemSelector-5af6bba8.js")), gO = {
49719
+ }), Px = JN(
49720
+ () => import("./CustomAttributesForm-b40325d3.js")
49721
+ ), Kx = JN(
49722
+ () => import("./RestaurantSelector-0af009ac.js")
49723
+ ), $x = JN(() => import("./ItemSelector-08352c23.js")), gO = {
49717
49724
  yes: "Yes",
49718
49725
  no: "No",
49719
49726
  ok: "OK",
@@ -49746,6 +49753,102 @@ const yO = /* @__PURE__ */ Ad(fO, [["__scopeId", "data-v-bafaa21f"]]), zO = { cl
49746
49753
  }, vO = {
49747
49754
  common: gO
49748
49755
  }, YO = {
49756
+ yes: "Oui",
49757
+ no: "Non",
49758
+ ok: "OK",
49759
+ accept: "Accepter",
49760
+ download: "Télécharger",
49761
+ export: "Exporter",
49762
+ import: "Importer",
49763
+ save: "Enregistrer",
49764
+ update: "Mettre à jour",
49765
+ cancel: "Annuler",
49766
+ confirm: "Confirmer",
49767
+ delete: "Supprimer",
49768
+ edit: "Modifier",
49769
+ create: "Créer",
49770
+ search: "Rechercher",
49771
+ filter: "Filtrer",
49772
+ sort: "Trier",
49773
+ refresh: "Actualiser",
49774
+ close: "Fermer",
49775
+ back: "Retour",
49776
+ continue: "Continuer",
49777
+ next: "Suivant",
49778
+ previous: "Précédent",
49779
+ add: "Ajouter",
49780
+ remove: "Retirer",
49781
+ select: "Sélectionner",
49782
+ selectAll: "Tout sélectionner",
49783
+ unselectAll: "Tout désélectionner",
49784
+ selected: "{ count } sélectionné(s)"
49785
+ }, JO = {
49786
+ common: YO
49787
+ }, jO = {
49788
+ yes: "Ya",
49789
+ no: "Tidak",
49790
+ ok: "OK",
49791
+ accept: "Terima",
49792
+ download: "Unduh",
49793
+ export: "Ekspor",
49794
+ import: "Impor",
49795
+ save: "Simpan",
49796
+ update: "Perbarui",
49797
+ cancel: "Batal",
49798
+ confirm: "Konfirmasi",
49799
+ delete: "Hapus",
49800
+ edit: "Ubah",
49801
+ create: "Buat",
49802
+ search: "Cari",
49803
+ filter: "Saring",
49804
+ sort: "Urutkan",
49805
+ refresh: "Muat ulang",
49806
+ close: "Tutup",
49807
+ back: "Kembali",
49808
+ continue: "Lanjutkan",
49809
+ next: "Berikutnya",
49810
+ previous: "Sebelumnya",
49811
+ add: "Tambah",
49812
+ remove: "Hapus",
49813
+ select: "Pilih",
49814
+ selectAll: "Pilih semua",
49815
+ unselectAll: "Batalkan semua pilihan",
49816
+ selected: "{ count } terpilih"
49817
+ }, GO = {
49818
+ common: jO
49819
+ }, BO = {
49820
+ yes: "はい",
49821
+ no: "いいえ",
49822
+ ok: "OK",
49823
+ accept: "承諾",
49824
+ download: "ダウンロード",
49825
+ export: "エクスポート",
49826
+ import: "インポート",
49827
+ save: "保存",
49828
+ update: "更新",
49829
+ cancel: "キャンセル",
49830
+ confirm: "確認",
49831
+ delete: "削除",
49832
+ edit: "編集",
49833
+ create: "作成",
49834
+ search: "検索",
49835
+ filter: "フィルター",
49836
+ sort: "並び替え",
49837
+ refresh: "更新",
49838
+ close: "閉じる",
49839
+ back: "戻る",
49840
+ continue: "続ける",
49841
+ next: "次へ",
49842
+ previous: "前へ",
49843
+ add: "追加",
49844
+ remove: "削除",
49845
+ select: "選択",
49846
+ selectAll: "すべて選択",
49847
+ unselectAll: "すべて解除",
49848
+ selected: "{ count } 件選択中"
49849
+ }, DO = {
49850
+ common: BO
49851
+ }, wO = {
49749
49852
  yes: "ใช่",
49750
49853
  no: "ไม่ใช่",
49751
49854
  ok: "ตกลง",
@@ -49775,9 +49878,9 @@ const yO = /* @__PURE__ */ Ad(fO, [["__scopeId", "data-v-bafaa21f"]]), zO = { cl
49775
49878
  selectAll: "เลือกทั้งหมด",
49776
49879
  unselectAll: "ยกเลิกการเลือกทั้งหมด",
49777
49880
  selected: "{ count } เลือกแล้ว"
49778
- }, JO = {
49779
- common: YO
49780
- }, jO = {
49881
+ }, OO = {
49882
+ common: wO
49883
+ }, xO = {
49781
49884
  yes: "是",
49782
49885
  no: "否",
49783
49886
  ok: "好",
@@ -49807,9 +49910,9 @@ const yO = /* @__PURE__ */ Ad(fO, [["__scopeId", "data-v-bafaa21f"]]), zO = { cl
49807
49910
  selectAll: "全选",
49808
49911
  unselectAll: "取消全选",
49809
49912
  selected: "已选择 { count }项"
49810
- }, GO = {
49811
- common: jO
49812
- }, BO = {
49913
+ }, XO = {
49914
+ common: xO
49915
+ }, HO = {
49813
49916
  yes: "是",
49814
49917
  no: "否",
49815
49918
  ok: "好",
@@ -49839,15 +49942,15 @@ const yO = /* @__PURE__ */ Ad(fO, [["__scopeId", "data-v-bafaa21f"]]), zO = { cl
49839
49942
  selectAll: "全選",
49840
49943
  unselectAll: "取消全選",
49841
49944
  selected: "已選擇 { count }項"
49842
- }, DO = {
49843
- common: BO
49844
- }, wO = {
49945
+ }, IO = {
49946
+ common: HO
49947
+ }, CO = {
49845
49948
  dismiss: {
49846
49949
  title: "Dismiss?",
49847
49950
  message: "You have unsaved changes. Are you sure you want to discard them?",
49848
49951
  primaryActions: "Discard"
49849
49952
  }
49850
- }, OO = {
49953
+ }, AO = {
49851
49954
  menu: {
49852
49955
  account: "Account",
49853
49956
  business: "Business",
@@ -50021,16 +50124,568 @@ const yO = /* @__PURE__ */ Ad(fO, [["__scopeId", "data-v-bafaa21f"]]), zO = { cl
50021
50124
  selectAll: "Select all"
50022
50125
  }
50023
50126
  }
50024
- }, xO = {
50025
- portalCommon: wO,
50026
- portalshell: OO
50027
- }, XO = {
50127
+ }, LO = {
50128
+ portalCommon: CO,
50129
+ portalshell: AO
50130
+ }, PO = {
50131
+ dismiss: {
50132
+ title: "Ignorer ?",
50133
+ message: "Vous avez des modifications non enregistrées. Voulez-vous vraiment les ignorer ?",
50134
+ primaryActions: "Ignorer"
50135
+ }
50136
+ }, KO = {
50137
+ menu: {
50138
+ account: "Compte",
50139
+ business: "Entreprise",
50140
+ myBusiness: "Mon entreprise",
50141
+ manageAccount: "Gérer le compte",
50142
+ remy: "Remy",
50143
+ country: {
50144
+ label: "Pays et région",
50145
+ au: "Australie",
50146
+ bn: "Brunei",
50147
+ my: "Malaisie",
50148
+ sg: "Singapour",
50149
+ id: "Indonésie",
50150
+ th: "Thaïlande",
50151
+ vn: "Vietnam",
50152
+ ph: "Philippines",
50153
+ hk: "Hong Kong",
50154
+ mo: "Macao"
50155
+ },
50156
+ language: "Langue",
50157
+ logOut: "Déconnexion",
50158
+ debug: "Utilisateur debug",
50159
+ stopDebug: "Arrêter la session de debug"
50160
+ },
50161
+ apps: {
50162
+ section: {
50163
+ switchTo: "Basculer vers",
50164
+ devSpace: "Espace développeur"
50165
+ },
50166
+ actions: {
50167
+ settings: "Paramètres",
50168
+ switchToV2: "Revenir à l'interface précédente"
50169
+ },
50170
+ pos: {
50171
+ label: "POS",
50172
+ sublabel: "Optimisez vos opérations : menu, transactions et plus encore"
50173
+ },
50174
+ connect: {
50175
+ label: "Connect",
50176
+ sublabel: "Stimulez vos ventes grâce à des campagnes ciblées"
50177
+ },
50178
+ report: {
50179
+ label: "Rapports",
50180
+ sublabel: "Prenez des décisions éclairées grâce à des analyses détaillées"
50181
+ },
50182
+ inventory: {
50183
+ label: "Stock",
50184
+ sublabel: "Optimisez les niveaux de stock et suivez les inventaires en temps réel"
50185
+ },
50186
+ brand: {
50187
+ label: "Mini Programme",
50188
+ sublabel: "Valorisez votre marque avec des pages d'accueil personnalisées"
50189
+ },
50190
+ payment: {
50191
+ label: "Paiement",
50192
+ sublabel: "Simplifiez les transactions et suivez les règlements facilement"
50193
+ },
50194
+ settings: {
50195
+ label: "Paramètres"
50196
+ },
50197
+ adminSpace: {
50198
+ label: "Espace admin",
50199
+ sublabel: "Hub développeur pour la configuration interne"
50200
+ },
50201
+ hrm: {
50202
+ label: "RH",
50203
+ sublabel: "Gérer les dossiers des employés"
50204
+ },
50205
+ menu: {
50206
+ label: "Menu",
50207
+ sublabel: "Gérer le menu"
50208
+ },
50209
+ restaurantOperation: {
50210
+ label: "Opérations du restaurant",
50211
+ sublabel: "Gérer les opérations de votre restaurant"
50212
+ }
50213
+ },
50214
+ messages: {
50215
+ businessCopySuccess: "ID de l'entreprise copié dans le presse-papiers.",
50216
+ restaurantCopySuccess: "ID du restaurant copié dans le presse-papiers.",
50217
+ loadError: "Échec du chargement des entreprises"
50218
+ },
50219
+ selectBusiness: {
50220
+ title: "Sélectionner une entreprise",
50221
+ searchPlaceholder: "Rechercher une entreprise",
50222
+ createBusiness: "Créer une entreprise",
50223
+ noBusiness: "Vous n'avez pas encore d'entreprise.",
50224
+ noBusinessFound: "Aucune entreprise trouvée"
50225
+ },
50226
+ myBusiness: {
50227
+ title: "Mon entreprise",
50228
+ search_restaurants: "Rechercher des restaurants"
50229
+ },
50230
+ debugUser: {
50231
+ title: "Utilisateur debug",
50232
+ subtitle: "Entrez le numéro de téléphone à debugger",
50233
+ debug: "Debugger",
50234
+ phoneEmpty: "Le numéro de téléphone est vide",
50235
+ debugFailed: "Échec du debug utilisateur",
50236
+ stopDebugTitle: "Arrêter la session de debug",
50237
+ stopDebugMessage: "Voulez-vous vraiment arrêter la session de debug ?",
50238
+ stopDebugFailed: "Échec de l'arrêt de la session de debug"
50239
+ },
50240
+ logOut: {
50241
+ title: "Déconnexion",
50242
+ subtitle: "Voulez-vous vous déconnecter du portail FeedMe ?",
50243
+ logOut: "Se déconnecter"
50244
+ },
50245
+ manageAccount: {
50246
+ title: "Gérer le compte",
50247
+ basicInfo: "Informations de base",
50248
+ name: "Nom",
50249
+ email: "Email",
50250
+ phone: "Numéro de téléphone",
50251
+ password: "Mot de passe",
50252
+ passwordSubtitle: "Définissez un mot de passe pour vous connecter à votre compte",
50253
+ changePassword: "Changer le mot de passe",
50254
+ profileUpdated: "Profil mis à jour",
50255
+ failedToUpdateProfile: "Échec de la mise à jour du profil",
50256
+ nameRequired: "Le nom est requis",
50257
+ emailRequired: "L'email est requis",
50258
+ emailInvalid: "Email invalide"
50259
+ },
50260
+ changePassword: {
50261
+ step1: {
50262
+ title: "Confirmer le mot de passe",
50263
+ subtitle: "Pour continuer, vérifiez d'abord votre identité",
50264
+ currentPassword: "Mot de passe actuel",
50265
+ forgotPassword: "Mot de passe oublié ?",
50266
+ passwordConfirmed: "Mot de passe confirmé",
50267
+ passwordConfirmFailed: "Échec de la confirmation du mot de passe"
50268
+ },
50269
+ step2: {
50270
+ title: "Définir un nouveau mot de passe",
50271
+ newPassword: "Nouveau mot de passe",
50272
+ confirmNewPassword: "Confirmer le nouveau mot de passe",
50273
+ changePassword: "Changer le mot de passe",
50274
+ passwordChanged: "Mot de passe modifié",
50275
+ failedToChangePassword: "Échec du changement de mot de passe",
50276
+ newPasswordRequired: "Le nouveau mot de passe est requis",
50277
+ passwordMustBeAtLeast8Characters: "Le mot de passe doit comporter au moins 8 caractères",
50278
+ useAtLeast8Characters: "Utilisez au moins 8 caractères",
50279
+ passwordsDoNotMatch: "Les mots de passe ne correspondent pas"
50280
+ }
50281
+ },
50282
+ customAttributes: {
50283
+ form: {
50284
+ key: "Clé",
50285
+ value: "Valeur",
50286
+ valuePlaceholder: "Entrez la valeur",
50287
+ attributeValueMustBeNumber: "La valeur de l'attribut doit être un nombre",
50288
+ noCustomAttributes: "Aucun attribut personnalisé configuré pour cette entreprise, veuillez contacter le support FeedMe"
50289
+ },
50290
+ queryBuilder: {
50291
+ any: "Tout",
50292
+ noAttributeSettings: "Aucun paramètre d'attribut configuré pour cette entreprise, veuillez contacter le support FeedMe"
50293
+ }
50294
+ },
50295
+ components: {
50296
+ restaurantSelector: {
50297
+ allRestaurants: "Tous les restaurants",
50298
+ restaurantCount: "Restaurants : {count}",
50299
+ selectRestaurant: "Sélectionner un restaurant",
50300
+ unknownRestaurant: "Restaurant inconnu",
50301
+ restaurantTaggingFilter: "Filtre d'étiquetage des restaurants",
50302
+ resetFilter: "Réinitialiser le filtre"
50303
+ },
50304
+ itemSelector: {
50305
+ productsSelected: "{count} produit(s) sélectionné(s)",
50306
+ expandAll: "Tout développer",
50307
+ collapseAll: "Tout réduire",
50308
+ selectAll: "Tout sélectionner"
50309
+ }
50310
+ }
50311
+ }, $O = {
50312
+ portalCommon: PO,
50313
+ portalshell: KO
50314
+ }, qO = {
50315
+ dismiss: {
50316
+ title: "Abaikan?",
50317
+ message: "Anda memiliki perubahan yang belum disimpan. Yakin ingin membuangnya?",
50318
+ primaryActions: "Buang"
50319
+ }
50320
+ }, _O = {
50321
+ menu: {
50322
+ account: "Akun",
50323
+ business: "Bisnis",
50324
+ myBusiness: "Bisnis saya",
50325
+ manageAccount: "Kelola Akun",
50326
+ remy: "Remy",
50327
+ country: {
50328
+ label: "Negara & Wilayah",
50329
+ au: "Australia",
50330
+ bn: "Brunei",
50331
+ my: "Malaysia",
50332
+ sg: "Singapura",
50333
+ id: "Indonesia",
50334
+ th: "Thailand",
50335
+ vn: "Vietnam",
50336
+ ph: "Filipina",
50337
+ hk: "Hong Kong",
50338
+ mo: "Makau"
50339
+ },
50340
+ language: "Bahasa",
50341
+ logOut: "Keluar",
50342
+ debug: "Debug pengguna",
50343
+ stopDebug: "Hentikan sesi debug"
50344
+ },
50345
+ apps: {
50346
+ section: {
50347
+ switchTo: "Beralih ke",
50348
+ devSpace: "Ruang pengembang"
50349
+ },
50350
+ actions: {
50351
+ settings: "Pengaturan",
50352
+ switchToV2: "Kembali ke UI sebelumnya"
50353
+ },
50354
+ pos: {
50355
+ label: "POS",
50356
+ sublabel: "Optimalkan operasi dengan menu, transaksi, dan lainnya"
50357
+ },
50358
+ connect: {
50359
+ label: "Connect",
50360
+ sublabel: "Dorong penjualan melalui kampanye yang ditargetkan"
50361
+ },
50362
+ report: {
50363
+ label: "Laporan",
50364
+ sublabel: "Buat keputusan berdasarkan wawasan detail"
50365
+ },
50366
+ inventory: {
50367
+ label: "Inventaris",
50368
+ sublabel: "Optimalkan level stok dan lacak inventaris secara real-time"
50369
+ },
50370
+ brand: {
50371
+ label: "Program Mini",
50372
+ sublabel: "Tingkatkan merek Anda dengan halaman arahan kustom"
50373
+ },
50374
+ payment: {
50375
+ label: "Pembayaran",
50376
+ sublabel: "Sederhanakan transaksi dan lacak penyelesaian dengan mudah"
50377
+ },
50378
+ settings: {
50379
+ label: "Pengaturan"
50380
+ },
50381
+ adminSpace: {
50382
+ label: "Ruang admin",
50383
+ sublabel: "Pusat pengembang untuk pengaturan dan konfigurasi internal"
50384
+ },
50385
+ hrm: {
50386
+ label: "HRM",
50387
+ sublabel: "Kelola data karyawan"
50388
+ },
50389
+ menu: {
50390
+ label: "Menu",
50391
+ sublabel: "Kelola menu"
50392
+ },
50393
+ restaurantOperation: {
50394
+ label: "Operasional Restoran",
50395
+ sublabel: "Kelola operasional restoran Anda"
50396
+ }
50397
+ },
50398
+ messages: {
50399
+ businessCopySuccess: "ID Bisnis berhasil disalin ke clipboard.",
50400
+ restaurantCopySuccess: "ID Restoran berhasil disalin ke clipboard.",
50401
+ loadError: "Gagal memuat bisnis"
50402
+ },
50403
+ selectBusiness: {
50404
+ title: "Pilih bisnis",
50405
+ searchPlaceholder: "Cari bisnis",
50406
+ createBusiness: "Buat bisnis",
50407
+ noBusiness: "Anda belum memiliki bisnis.",
50408
+ noBusinessFound: "Tidak ada bisnis ditemukan"
50409
+ },
50410
+ myBusiness: {
50411
+ title: "Bisnis saya",
50412
+ search_restaurants: "Cari restoran"
50413
+ },
50414
+ debugUser: {
50415
+ title: "Debug pengguna",
50416
+ subtitle: "Masukkan nomor telepon untuk debug",
50417
+ debug: "Debug",
50418
+ phoneEmpty: "Nomor telepon kosong",
50419
+ debugFailed: "Debug pengguna gagal",
50420
+ stopDebugTitle: "Hentikan sesi debug",
50421
+ stopDebugMessage: "Yakin ingin menghentikan sesi debug?",
50422
+ stopDebugFailed: "Gagal menghentikan sesi debug"
50423
+ },
50424
+ logOut: {
50425
+ title: "Keluar",
50426
+ subtitle: "Apakah Anda ingin keluar dari Portal FeedMe?",
50427
+ logOut: "Keluar"
50428
+ },
50429
+ manageAccount: {
50430
+ title: "Kelola akun",
50431
+ basicInfo: "Informasi dasar",
50432
+ name: "Nama",
50433
+ email: "Email",
50434
+ phone: "Nomor telepon",
50435
+ password: "Kata sandi",
50436
+ passwordSubtitle: "Tetapkan kata sandi untuk masuk ke akun Anda",
50437
+ changePassword: "Ubah kata sandi",
50438
+ profileUpdated: "Profil diperbarui",
50439
+ failedToUpdateProfile: "Gagal memperbarui profil",
50440
+ nameRequired: "Nama wajib diisi",
50441
+ emailRequired: "Email wajib diisi",
50442
+ emailInvalid: "Email tidak valid"
50443
+ },
50444
+ changePassword: {
50445
+ step1: {
50446
+ title: "Konfirmasi kata sandi",
50447
+ subtitle: "Untuk melanjutkan, verifikasi identitas Anda terlebih dahulu",
50448
+ currentPassword: "Kata sandi saat ini",
50449
+ forgotPassword: "Lupa kata sandi?",
50450
+ passwordConfirmed: "Kata sandi dikonfirmasi",
50451
+ passwordConfirmFailed: "Gagal mengonfirmasi kata sandi"
50452
+ },
50453
+ step2: {
50454
+ title: "Atur kata sandi baru",
50455
+ newPassword: "Kata sandi baru",
50456
+ confirmNewPassword: "Konfirmasi kata sandi baru",
50457
+ changePassword: "Ubah kata sandi",
50458
+ passwordChanged: "Kata sandi diubah",
50459
+ failedToChangePassword: "Gagal mengubah kata sandi",
50460
+ newPasswordRequired: "Kata sandi baru wajib diisi",
50461
+ passwordMustBeAtLeast8Characters: "Kata sandi harus minimal 8 karakter",
50462
+ useAtLeast8Characters: "Gunakan minimal 8 karakter",
50463
+ passwordsDoNotMatch: "Kata sandi tidak cocok"
50464
+ }
50465
+ },
50466
+ customAttributes: {
50467
+ form: {
50468
+ key: "Kunci",
50469
+ value: "Nilai",
50470
+ valuePlaceholder: "Masukkan nilai",
50471
+ attributeValueMustBeNumber: "Nilai atribut harus berupa angka",
50472
+ noCustomAttributes: "Tidak ada atribut kustom yang dikonfigurasi untuk bisnis ini, hubungi dukungan FeedMe"
50473
+ },
50474
+ queryBuilder: {
50475
+ any: "Semua",
50476
+ noAttributeSettings: "Tidak ada pengaturan atribut yang dikonfigurasi untuk bisnis ini, hubungi dukungan FeedMe"
50477
+ }
50478
+ },
50479
+ components: {
50480
+ restaurantSelector: {
50481
+ allRestaurants: "Semua restoran",
50482
+ restaurantCount: "Restoran: {count}",
50483
+ selectRestaurant: "Pilih restoran",
50484
+ unknownRestaurant: "Restoran tidak dikenal",
50485
+ restaurantTaggingFilter: "Filter penandaan restoran",
50486
+ resetFilter: "Atur ulang filter"
50487
+ },
50488
+ itemSelector: {
50489
+ productsSelected: "{count} produk terpilih",
50490
+ expandAll: "Bentangkan semua",
50491
+ collapseAll: "Ciutkan semua",
50492
+ selectAll: "Pilih semua"
50493
+ }
50494
+ }
50495
+ }, ex = {
50496
+ portalCommon: qO,
50497
+ portalshell: _O
50498
+ }, tx = {
50499
+ dismiss: {
50500
+ title: "破棄しますか?",
50501
+ message: "未保存の変更があります。破棄してもよろしいですか?",
50502
+ primaryActions: "破棄"
50503
+ }
50504
+ }, nx = {
50505
+ menu: {
50506
+ account: "アカウント",
50507
+ business: "ビジネス",
50508
+ myBusiness: "マイビジネス",
50509
+ manageAccount: "アカウント管理",
50510
+ remy: "Remy",
50511
+ country: {
50512
+ label: "国と地域",
50513
+ au: "オーストラリア",
50514
+ bn: "ブルネイ",
50515
+ my: "マレーシア",
50516
+ sg: "シンガポール",
50517
+ id: "インドネシア",
50518
+ th: "タイ",
50519
+ vn: "ベトナム",
50520
+ ph: "フィリピン",
50521
+ hk: "香港",
50522
+ mo: "マカオ"
50523
+ },
50524
+ language: "言語",
50525
+ logOut: "ログアウト",
50526
+ debug: "デバッグユーザー",
50527
+ stopDebug: "デバッグセッションを終了"
50528
+ },
50529
+ apps: {
50530
+ section: {
50531
+ switchTo: "切り替え",
50532
+ devSpace: "開発者スペース"
50533
+ },
50534
+ actions: {
50535
+ settings: "設定",
50536
+ switchToV2: "以前のUIに戻す"
50537
+ },
50538
+ pos: {
50539
+ label: "POS",
50540
+ sublabel: "メニュー、取引などを管理して業務を効率化"
50541
+ },
50542
+ connect: {
50543
+ label: "Connect",
50544
+ sublabel: "ターゲットキャンペーンで売上を促進"
50545
+ },
50546
+ report: {
50547
+ label: "レポート",
50548
+ sublabel: "詳細な分析情報で意思決定を支援"
50549
+ },
50550
+ inventory: {
50551
+ label: "在庫",
50552
+ sublabel: "在庫レベルを最適化し、リアルタイムで追跡"
50553
+ },
50554
+ brand: {
50555
+ label: "ミニプログラム",
50556
+ sublabel: "カスタムランディングページでブランドを強化"
50557
+ },
50558
+ payment: {
50559
+ label: "決済",
50560
+ sublabel: "取引を効率化し、決済を容易に追跡"
50561
+ },
50562
+ settings: {
50563
+ label: "設定"
50564
+ },
50565
+ adminSpace: {
50566
+ label: "管理スペース",
50567
+ sublabel: "内部設定と構成のための開発者ハブ"
50568
+ },
50569
+ hrm: {
50570
+ label: "HRM",
50571
+ sublabel: "従業員記録の管理"
50572
+ },
50573
+ menu: {
50574
+ label: "メニュー",
50575
+ sublabel: "メニュー管理"
50576
+ },
50577
+ restaurantOperation: {
50578
+ label: "レストラン運営",
50579
+ sublabel: "レストラン業務の管理"
50580
+ }
50581
+ },
50582
+ messages: {
50583
+ businessCopySuccess: "ビジネスIDをクリップボードにコピーしました。",
50584
+ restaurantCopySuccess: "レストランIDをクリップボードにコピーしました。",
50585
+ loadError: "ビジネスの読み込みに失敗しました"
50586
+ },
50587
+ selectBusiness: {
50588
+ title: "ビジネスを選択",
50589
+ searchPlaceholder: "ビジネスを検索",
50590
+ createBusiness: "ビジネスを作成",
50591
+ noBusiness: "ビジネスがまだありません。",
50592
+ noBusinessFound: "ビジネスが見つかりません"
50593
+ },
50594
+ myBusiness: {
50595
+ title: "マイビジネス",
50596
+ search_restaurants: "レストランを検索"
50597
+ },
50598
+ debugUser: {
50599
+ title: "デバッグユーザー",
50600
+ subtitle: "デバッグする電話番号を入力",
50601
+ debug: "デバッグ",
50602
+ phoneEmpty: "電話番号が空です",
50603
+ debugFailed: "デバッグユーザーに失敗しました",
50604
+ stopDebugTitle: "デバッグセッションを終了",
50605
+ stopDebugMessage: "デバッグセッションを終了してもよろしいですか?",
50606
+ stopDebugFailed: "デバッグセッションの終了に失敗しました"
50607
+ },
50608
+ logOut: {
50609
+ title: "ログアウト",
50610
+ subtitle: "FeedMeポータルからログアウトしますか?",
50611
+ logOut: "ログアウト"
50612
+ },
50613
+ manageAccount: {
50614
+ title: "アカウント管理",
50615
+ basicInfo: "基本情報",
50616
+ name: "名前",
50617
+ email: "メールアドレス",
50618
+ phone: "電話番号",
50619
+ password: "パスワード",
50620
+ passwordSubtitle: "アカウントにログインするためのパスワードを設定",
50621
+ changePassword: "パスワードを変更",
50622
+ profileUpdated: "プロフィールを更新しました",
50623
+ failedToUpdateProfile: "プロフィールの更新に失敗しました",
50624
+ nameRequired: "名前は必須です",
50625
+ emailRequired: "メールアドレスは必須です",
50626
+ emailInvalid: "メールアドレスが無効です"
50627
+ },
50628
+ changePassword: {
50629
+ step1: {
50630
+ title: "パスワードを確認",
50631
+ subtitle: "続行するには、本人確認を行ってください",
50632
+ currentPassword: "現在のパスワード",
50633
+ forgotPassword: "パスワードをお忘れですか?",
50634
+ passwordConfirmed: "パスワードを確認しました",
50635
+ passwordConfirmFailed: "パスワードの確認に失敗しました"
50636
+ },
50637
+ step2: {
50638
+ title: "新しいパスワードを設定",
50639
+ newPassword: "新しいパスワード",
50640
+ confirmNewPassword: "新しいパスワードを確認",
50641
+ changePassword: "パスワードを変更",
50642
+ passwordChanged: "パスワードを変更しました",
50643
+ failedToChangePassword: "パスワードの変更に失敗しました",
50644
+ newPasswordRequired: "新しいパスワードは必須です",
50645
+ passwordMustBeAtLeast8Characters: "パスワードは8文字以上である必要があります",
50646
+ useAtLeast8Characters: "8文字以上を使用してください",
50647
+ passwordsDoNotMatch: "パスワードが一致しません"
50648
+ }
50649
+ },
50650
+ customAttributes: {
50651
+ form: {
50652
+ key: "キー",
50653
+ value: "値",
50654
+ valuePlaceholder: "値を入力",
50655
+ attributeValueMustBeNumber: "属性値は数値である必要があります",
50656
+ noCustomAttributes: "このビジネスにカスタム属性が設定されていません。FeedMeサポートにお問い合わせください"
50657
+ },
50658
+ queryBuilder: {
50659
+ any: "任意",
50660
+ noAttributeSettings: "このビジネスに属性設定が構成されていません。FeedMeサポートにお問い合わせください"
50661
+ }
50662
+ },
50663
+ components: {
50664
+ restaurantSelector: {
50665
+ allRestaurants: "すべてのレストラン",
50666
+ restaurantCount: "レストラン: {count}",
50667
+ selectRestaurant: "レストランを選択",
50668
+ unknownRestaurant: "不明なレストラン",
50669
+ restaurantTaggingFilter: "レストランタグフィルター",
50670
+ resetFilter: "フィルターをリセット"
50671
+ },
50672
+ itemSelector: {
50673
+ productsSelected: "{count} 点の商品が選択されました",
50674
+ expandAll: "すべて展開",
50675
+ collapseAll: "すべて折りたたむ",
50676
+ selectAll: "すべて選択"
50677
+ }
50678
+ }
50679
+ }, ax = {
50680
+ portalCommon: tx,
50681
+ portalshell: nx
50682
+ }, rx = {
50028
50683
  dismiss: {
50029
50684
  title: "ยกเลิก?",
50030
50685
  message: "คุณมีการเปลี่ยนแปลงที่ยังไม่ได้บันทึก คุณแน่ใจหรือไม่ว่าต้องการยกเลิก?",
50031
50686
  primaryActions: "ยกเลิก"
50032
50687
  }
50033
- }, HO = {
50688
+ }, lx = {
50034
50689
  menu: {
50035
50690
  account: "บัญชี",
50036
50691
  business: "ธุรกิจ",
@@ -50204,16 +50859,16 @@ const yO = /* @__PURE__ */ Ad(fO, [["__scopeId", "data-v-bafaa21f"]]), zO = { cl
50204
50859
  selectAll: "เลือกทั้งหมด"
50205
50860
  }
50206
50861
  }
50207
- }, IO = {
50208
- portalCommon: XO,
50209
- portalshell: HO
50210
- }, CO = {
50862
+ }, dx = {
50863
+ portalCommon: rx,
50864
+ portalshell: lx
50865
+ }, ix = {
50211
50866
  dismiss: {
50212
50867
  title: "退出",
50213
50868
  message: "您有未保存的更改。您确定要放弃它们吗?",
50214
50869
  primaryActions: "放弃"
50215
50870
  }
50216
- }, AO = {
50871
+ }, ox = {
50217
50872
  menu: {
50218
50873
  account: "账户",
50219
50874
  business: "商户",
@@ -50387,16 +51042,16 @@ const yO = /* @__PURE__ */ Ad(fO, [["__scopeId", "data-v-bafaa21f"]]), zO = { cl
50387
51042
  selectAll: "全选"
50388
51043
  }
50389
51044
  }
50390
- }, LO = {
50391
- portalCommon: CO,
50392
- portalshell: AO
50393
- }, PO = {
51045
+ }, sx = {
51046
+ portalCommon: ix,
51047
+ portalshell: ox
51048
+ }, cx = {
50394
51049
  dismiss: {
50395
51050
  title: "退出",
50396
51051
  message: "您有未保存的更改。您確定要放棄它們嗎?",
50397
51052
  primaryActions: "放棄"
50398
51053
  }
50399
- }, KO = {
51054
+ }, ux = {
50400
51055
  menu: {
50401
51056
  account: "賬户",
50402
51057
  business: "商户",
@@ -50570,27 +51225,30 @@ const yO = /* @__PURE__ */ Ad(fO, [["__scopeId", "data-v-bafaa21f"]]), zO = { cl
50570
51225
  selectAll: "全選"
50571
51226
  }
50572
51227
  }
50573
- }, $O = {
50574
- portalCommon: PO,
50575
- portalshell: KO
50576
- }, qO = zT.map((l) => l.code), _O = {
50577
- "en-US": { ...xO, ...vO },
50578
- "zh-CN": { ...LO, ...GO },
50579
- "th-TH": { ...IO, ...JO },
50580
- "zh-Hant": { ...$O, ...DO }
51228
+ }, Vx = {
51229
+ portalCommon: cx,
51230
+ portalshell: ux
51231
+ }, Nx = zT.map((l) => l.code), Ux = {
51232
+ "en-US": { ...LO, ...vO },
51233
+ "zh-CN": { ...sx, ...XO },
51234
+ "th-TH": { ...dx, ...OO },
51235
+ "zh-Hant": { ...Vx, ...IO },
51236
+ "ja-JP": { ...ax, ...DO },
51237
+ "fr-MA": { ...$O, ...JO },
51238
+ "id-ID": { ...ex, ...GO }
50581
51239
  };
50582
- function Gx(l) {
51240
+ function qx(l) {
50583
51241
  if (l.messages)
50584
- for (const o of qO) {
51242
+ for (const o of Nx) {
50585
51243
  const i = l.messages[o] || {};
50586
51244
  l.messages[o] = {
50587
- ..._O[o],
51245
+ ...Ux[o],
50588
51246
  ...i
50589
51247
  };
50590
51248
  }
50591
51249
  return ev(l);
50592
51250
  }
50593
- function Bx(l, o, i) {
51251
+ function _x(l, o, i) {
50594
51252
  l && o && i && /^GTM-[0-9A-Z]+$/.test(i.id) ? l.use(
50595
51253
  cv({
50596
51254
  id: i.id,
@@ -50603,7 +51261,7 @@ function Bx(l, o, i) {
50603
51261
  })
50604
51262
  ) : console.log("skipped init vue client monitoring");
50605
51263
  }
50606
- function Dx(l) {
51264
+ function eX(l) {
50607
51265
  l.beforeEach((o, i) => {
50608
51266
  const u = i.query.country || o.query.country || qn.getCountry(), R = i.query.businessId || o.query.businessId || qn.getBusinessId(), m = i.query.restaurantId || o.query.restaurantId || qn.getRestaurantId();
50609
51267
  if (R || u) {
@@ -50624,7 +51282,7 @@ function Dx(l) {
50624
51282
  });
50625
51283
  }
50626
51284
  const gT = "fm-post-message-request", zN = "fm-post-message-response";
50627
- function wx({
51285
+ function tX({
50628
51286
  targetWindow: l,
50629
51287
  methodName: o,
50630
51288
  params: i = [],
@@ -50677,60 +51335,60 @@ async function YT(l) {
50677
51335
  });
50678
51336
  }
50679
51337
  }
50680
- function Ox(l, o) {
51338
+ function nX(l, o) {
50681
51339
  vT[l] = o;
50682
51340
  }
50683
51341
  let QN = !1;
50684
- function xx() {
51342
+ function aX() {
50685
51343
  QN || (window.addEventListener("message", YT), QN = !0);
50686
51344
  }
50687
- function Xx() {
51345
+ function rX() {
50688
51346
  window.removeEventListener("message", YT), QN = !1;
50689
51347
  }
50690
51348
  export {
50691
- vx as A,
50692
- _O as B,
50693
- Yx as C,
50694
- Gx as D,
51349
+ Lx as A,
51350
+ Ux as B,
51351
+ Px as C,
51352
+ qx as D,
50695
51353
  bB as E,
50696
51354
  Tn as F,
50697
51355
  nD as G,
50698
51356
  IV as H,
50699
- jx as I,
51357
+ $x as I,
50700
51358
  gT as J,
50701
51359
  zN as K,
50702
- wx as L,
50703
- Ox as M,
50704
- xx as N,
50705
- Sx as O,
51360
+ tX as L,
51361
+ nX as M,
51362
+ aX as N,
51363
+ Ox as O,
50706
51364
  yu as P,
50707
- Xx as Q,
50708
- Jx as R,
51365
+ rX as Q,
51366
+ Kx as R,
50709
51367
  qB as _,
50710
51368
  w9 as a,
50711
- Mx as b,
51369
+ wx as b,
50712
51370
  a0 as c,
50713
- _e as d,
50714
- Qt as e,
51371
+ Qt as d,
51372
+ _e as e,
50715
51373
  ea as f,
50716
51374
  hr as g,
50717
51375
  Uj as h,
50718
- Ex as i,
51376
+ Bx as i,
50719
51377
  cT as j,
50720
- Bx as k,
51378
+ _x as k,
50721
51379
  pe as l,
50722
51380
  hj as m,
50723
- Dx as n,
50724
- bx as o,
51381
+ eX as n,
51382
+ Dx as o,
50725
51383
  Q0 as p,
50726
- kx as q,
51384
+ xx as q,
50727
51385
  ET as r,
50728
- fx as s,
51386
+ Xx as s,
50729
51387
  gn as t,
50730
51388
  Sn as u,
50731
- yx as v,
50732
- Qx as w,
50733
- zx as x,
50734
- gx as y,
51389
+ Hx as v,
51390
+ Cx as w,
51391
+ Ix as x,
51392
+ Ax as y,
50735
51393
  _B as z
50736
51394
  };