@feedmepos/mf-connect 0.1.38-beta.73 → 0.1.38-beta.75

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 (108) hide show
  1. package/dist/{Analytic-gGjm5ome.js → Analytic-9B27Q-I3.js} +14 -14
  2. package/dist/{App-BDz9mw-6.js → App-isiE4pjM.js} +44 -40
  3. package/dist/{AuditLogs-4x90ZjjY.js → AuditLogs-BmHr7pNI.js} +9 -9
  4. package/dist/{Bin-Bby2f42O.js → Bin-BR06pDbx.js} +8 -8
  5. package/dist/{Broadcast-eYN2AqFC.js → Broadcast-D_t80J2I.js} +10 -10
  6. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-B-fO9-Hb.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-C5IuPCTB.js} +6 -6
  7. package/dist/{Card-Cz-pLt7X.js → Card-Zs-1lcSr.js} +20 -19
  8. package/dist/{Collections-CgfXuVA1.js → Collections-BjeTJSHo.js} +19 -18
  9. package/dist/{Credit-Lc6B2oQ9.js → Credit-DdmdsxOF.js} +10 -10
  10. package/dist/DateInput.vue_vue_type_script_setup_true_lang-BN4Q5Y3l.js +54 -0
  11. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-Bm7XTR7o.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-DkOfrONH.js} +253 -300
  12. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-Cp5nSLEX.js → EffectSheet.vue_vue_type_style_index_0_lang-kzk3iEKA.js} +6 -6
  13. package/dist/{Experience-Ca94IJBt.js → Experience-WxtE9ZIT.js} +10 -10
  14. package/dist/{FileSaver.min-BThLVsSf.js → FileSaver.min-Vgxo4jNi.js} +1 -1
  15. package/dist/{Game-BYLYDTU9.js → Game-Cc0mZ3y4.js} +11 -11
  16. package/dist/{GenerateMaterial-CUoG6uyI.js → GenerateMaterial-Dsvnpz4o.js} +6 -6
  17. package/dist/{Grab-DZ_LkTly.js → Grab-CcaXToD-.js} +9 -9
  18. package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-CI4kP9ul.js → ImageInput.vue_vue_type_script_setup_true_lang-D0yJMgs9.js} +1 -1
  19. package/dist/{Index-BZ2r8x0t.js → Index-C0TcFJJY.js} +10 -10
  20. package/dist/LocationPicker.vue_vue_type_script_setup_true_lang-CXFtSS9_.js +48 -0
  21. package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-BLKlXW1b.js → LottieAnimation.vue_vue_type_script_setup_true_lang-Ca7hKpcD.js} +1 -1
  22. package/dist/{MainLayout-BfGSSVMW.js → MainLayout-DPpjvWwq.js} +1 -1
  23. package/dist/{Marketing-DYg0J1xG.js → Marketing-DfXuNM7X.js} +4 -4
  24. package/dist/{MarketingMaterialEdit-B--Kck7j.js → MarketingMaterialEdit-C63qyQSd.js} +4 -4
  25. package/dist/{Member-By5QEJxn.js → Member-LTYVn-80.js} +11 -11
  26. package/dist/{MemberList-D49bMmGJ.js → MemberList-Gqr6ha5p.js} +28 -27
  27. package/dist/{MemberTransactions-Cz9XENK1.js → MemberTransactions-CVZ-SPhm.js} +1 -1
  28. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-IlFjM-Y5.js → MessageInput.vue_vue_type_script_setup_true_lang-BGooFTgg.js} +16 -15
  29. package/dist/{Mission-Cvl-V7c8.js → Mission-CLQdNsOe.js} +11 -11
  30. package/dist/{Overview-lu82lUJp.js → Overview-BluyLBRI.js} +18 -18
  31. package/dist/{Point-C65YFhOB.js → Point-DQLQxJG1.js} +10 -10
  32. package/dist/{Promotion-DQCrKO6a.js → Promotion-BG0xL1ed.js} +11 -11
  33. package/dist/{Queue-DR5lfSMi.js → Queue-BR7TrLI8.js} +19 -19
  34. package/dist/{Record-BCt42_VZ.js → Record-2WFpDhAb.js} +9 -9
  35. package/dist/Review-Bu9SGftr.js +617 -0
  36. package/dist/ReviewFacebookCallback-CV99Udei.js +243 -0
  37. package/dist/ReviewGoogleCallback-DiqgQzOt.js +213 -0
  38. package/dist/{Reward-7aOnjmMm.js → Reward-CPhM3ChT.js} +16 -16
  39. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-BPgjr91S.js → RewardGroup.vue_vue_type_script_setup_true_lang-Q9pVq11w.js} +11 -11
  40. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-Bp5jnlFr.js → RuleGroup.vue_vue_type_script_setup_true_lang-BRUQtqjv.js} +14 -14
  41. package/dist/{Segment-DiYwfb8M.js → Segment-D6V8FKUY.js} +24 -24
  42. package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-ydM5ypC0.js → SelectItems.vue_vue_type_script_setup_true_lang-BrE1gGHP.js} +2 -2
  43. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-BRs7pw0l.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-DQhO9k7V.js} +12 -12
  44. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-DU8AAPFD.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-CyHx6m95.js} +4 -4
  45. package/dist/{Setting-k6xShcs8.js → Setting-Bh5bB75w.js} +16 -15
  46. package/dist/{SettingAdvertisements-DQa_jXYM.js → SettingAdvertisements-CFUjq6s1.js} +22 -21
  47. package/dist/{Store-B6lYBpsm.js → Store-DiVaUn7w.js} +23 -22
  48. package/dist/{StoreRewards-Cqd399q8.js → StoreRewards-Bb9iW3Yz.js} +25 -24
  49. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-Wv_SHwmo.js → StoreTransactions.vue_vue_type_script_setup_true_lang-DVFsPzLK.js} +31 -30
  50. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-Bi1o4YAz.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-D9uZR0si.js} +2 -2
  51. package/dist/{Tier-CXXImaDx.js → Tier-BYxLjqAB.js} +26 -25
  52. package/dist/{Title-CTxNCmBW.js → Title-D3cdNE2O.js} +28 -27
  53. package/dist/{Transaction-DonaHVzF.js → Transaction-D7ItbBra.js} +2 -2
  54. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-DbRVYccO.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-UXSlpEM0.js} +6 -6
  55. package/dist/{Voucher-Bso_Mjlg.js → Voucher-DNQz_ujN.js} +14 -14
  56. package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-DNvmaJk9.js → VoucherEditor.vue_vue_type_script_setup_true_lang-CztGuaCV.js} +12 -12
  57. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-KHZ3-THo.js → ZodTextField.vue_vue_type_script_setup_true_lang-RI0mY3Nx.js} +2 -2
  58. package/dist/{app-DKrmktFJ.js → app-zPef9Uzl.js} +5619 -5294
  59. package/dist/app.js +1 -1
  60. package/dist/{business-Dd73TVX5.js → business-DKEB57Mf.js} +1 -1
  61. package/dist/{campaign-BUQHH4KL.js → campaign-BD_s6pW4.js} +2 -2
  62. package/dist/{campaign-DkJOyF24.js → campaign-D9IfNIPI.js} +8 -8
  63. package/dist/{campaign.enum-C8vJuDAq.js → campaign.enum-gPz5hWSW.js} +1 -1
  64. package/dist/{campaign.fn-DJSpfhZH.js → campaign.fn-Csxad3W7.js} +48 -48
  65. package/dist/{collectible.enum-D3W0TwoJ.js → collectible.enum-CA-QbTP-.js} +1 -1
  66. package/dist/{collection.fn-YzgpOmG0.js → collection.fn-tFxG0UiA.js} +2 -2
  67. package/dist/{dto-sceHHLGr.js → dto-CdvywxS_.js} +4 -4
  68. package/dist/{duplicateCampaign-CDulKxgJ.js → duplicateCampaign-Cj68m0Ti.js} +2 -2
  69. package/dist/{effect-BSgfR9iB.js → effect-KecOJIEK.js} +1 -1
  70. package/dist/{email-addresses-D_fyxOof.js → email-addresses-Ske7sY-s.js} +2 -2
  71. package/dist/{export-OxiqL1B7.js → export-17vDh5vq.js} +10 -9
  72. package/dist/{helper-CzurWUe4.js → helper-B-ZDFjy7.js} +1 -1
  73. package/dist/{index-Dw3ew6qN.js → index-BRZC-Cy5.js} +1 -1
  74. package/dist/{index-IBvUTxqC.js → index-BV_G-XzK.js} +3 -3
  75. package/dist/{index-BtMmY44D.js → index-BwLCkOIF.js} +1 -1
  76. package/dist/index-C1Z4oibL.js +48 -0
  77. package/dist/{index-BqQas5Sx.js → index-CNLqZu6_.js} +424 -213
  78. package/dist/{index-BF0hGAkO.js → index-CdByBgmF.js} +1 -1
  79. package/dist/{index-Cyt6eKEF.js → index-CkqQGjg1.js} +3 -3
  80. package/dist/{index-BGMhsZnB.js → index-D05Pcg0E.js} +1 -1
  81. package/dist/{index-pkwrUX33.js → index-D58_aTiN.js} +2 -2
  82. package/dist/{index-CAUVTn1I.js → index-DCzjjZgV.js} +1 -1
  83. package/dist/{index-Cg-sBBf_.js → index-DY3_9zbY.js} +46 -34
  84. package/dist/{index-B_QGGlMD.js → index-Dc2JsMD2.js} +3 -3
  85. package/dist/index-Dh78uGTl.js +146 -0
  86. package/dist/{index-tYmg4eyJ.js → index-DnrSd_o_.js} +1 -1
  87. package/dist/{index-BbTHqh58.js → index-woXH3LmA.js} +1 -1
  88. package/dist/{index.esm2017-5xGykkgL.js → index.esm2017-DxQe1gCt.js} +1 -1
  89. package/dist/loading-B1ymwDT_.js +71 -0
  90. package/dist/{lodash-Q-_FPkpI.js → lodash-BiGSPE0G.js} +1 -1
  91. package/dist/{membership-CU-wFWan.js → membership-GnNCDGBk.js} +3 -3
  92. package/dist/{money-CzlfhEoe.js → money-CG6LGklW.js} +1 -1
  93. package/dist/{number-Bee2M41N.js → number-p19we-YD.js} +1 -1
  94. package/dist/{objectid-DRJQv7AY.js → objectid-XhaZoPQl.js} +15 -15
  95. package/dist/{plugins-CAdlnev8.js → plugins-cxSxZO0d.js} +3 -3
  96. package/dist/{reward-BhlYd0FB.js → reward-siULTu5h.js} +1 -1
  97. package/dist/{rule-Ccvu41A_.js → rule-GD9oMCPH.js} +3 -3
  98. package/dist/{rule-builder-B968rIyS.js → rule-builder-DWFem4d5.js} +1 -1
  99. package/dist/{template-OZfyPJVE.js → template-o23nw6e2.js} +6 -6
  100. package/dist/{timezone-CopuRbDK.js → timezone-BVwygiRH.js} +2 -2
  101. package/dist/{trigger-BtQI81FL.js → trigger-CrEBP1aZ.js} +5 -5
  102. package/dist/{usePagination-Ciom38dd.js → usePagination-BbTCnhtY.js} +1 -1
  103. package/dist/{user-BOW0ixDK.js → user-DcMEufQ6.js} +1 -1
  104. package/dist/{vue-i18n-jTYKTJq1.js → vue-i18n-BxV_u4BZ.js} +368 -368
  105. package/dist/{xlsx-YD3LYwip.js → xlsx-BnJDxONa.js} +1 -1
  106. package/dist/{zod-B_G9o5PC.js → zod-CUN5LrI6.js} +1 -1
  107. package/package.json +1 -1
  108. package/dist/loading-CvHPT80F.js +0 -215
@@ -0,0 +1,243 @@
1
+ import { defineComponent as S, computed as T, openBlock as d, createElementBlock as g, normalizeClass as z, createElementVNode as m, createBlock as C, unref as e, toDisplayString as k, createCommentVNode as $, createVNode as v, onMounted as B, ref as P, Fragment as E, renderList as N, resolveComponent as R, isRef as U } from "vue";
2
+ import { u as M } from "./vue-i18n-BxV_u4BZ.js";
3
+ import { components as x } from "@feedmepos/ui-library";
4
+ import { r as L } from "./index-C1Z4oibL.js";
5
+ import { u as V } from "./business-DKEB57Mf.js";
6
+ import { _ as A } from "./LocationPicker.vue_vue_type_script_setup_true_lang-CXFtSS9_.js";
7
+ import { useRouter as H } from "vue-router";
8
+ const D = ["src"], q = { class: "fm-typo-en-body-md-600 flex-1 truncate" }, G = {
9
+ key: 2,
10
+ class: "fm-typo-en-body-sm-400 text-fm-color-primary-500 shrink-0"
11
+ }, J = /* @__PURE__ */ S({
12
+ __name: "FacebookPageConfig",
13
+ props: {
14
+ page: {},
15
+ expanded: { type: Boolean },
16
+ availableLocations: {}
17
+ },
18
+ emits: ["toggleExpand", "toggleLocation"],
19
+ setup(i, { emit: n }) {
20
+ const b = i, l = n, { t: h } = M(), f = T(
21
+ () => b.page.locations.map((_) => _._id)
22
+ );
23
+ return (_, c) => (d(), g("div", {
24
+ class: z([
25
+ "rounded-lg border overflow-hidden transition-colors",
26
+ i.expanded ? "border-fm-color-primary-500" : "border-fm-color-neutral-gray-200"
27
+ ])
28
+ }, [
29
+ m("button", {
30
+ class: "w-full flex items-center gap-12 p-16 bg-white text-left hover:bg-fm-color-neutral-gray-50 transition-colors",
31
+ onClick: c[0] || (c[0] = (w) => l("toggleExpand"))
32
+ }, [
33
+ i.page.pageProfileImageUrl ? (d(), g("img", {
34
+ key: 0,
35
+ src: i.page.pageProfileImageUrl,
36
+ class: "w-32 h-32 rounded-full shrink-0 object-cover"
37
+ }, null, 8, D)) : (d(), C(e(x).FmIcon, {
38
+ key: 1,
39
+ name: "thumb_up",
40
+ class: "text-fm-color-neutral-gray-400 shrink-0"
41
+ })),
42
+ m("span", q, k(i.page.pageName), 1),
43
+ i.page.locations.length > 0 ? (d(), g("span", G, k(e(h)("connect.review.locationsSelected", i.page.locations.length)), 1)) : $("", !0),
44
+ v(e(x).FmIcon, {
45
+ name: i.expanded ? "expand_less" : "expand_more",
46
+ class: "text-fm-color-neutral-gray-400 shrink-0"
47
+ }, null, 8, ["name"])
48
+ ]),
49
+ i.expanded ? (d(), C(A, {
50
+ key: 0,
51
+ locations: i.availableLocations,
52
+ "selected-ids": e(f),
53
+ onToggle: c[1] || (c[1] = (w) => l("toggleLocation", w))
54
+ }, null, 8, ["locations", "selected-ids"])) : $("", !0)
55
+ ], 2));
56
+ }
57
+ }), K = { class: "flex flex-col gap-8" }, O = /* @__PURE__ */ S({
58
+ __name: "FacebookPageLocationMapping",
59
+ props: {
60
+ pages: {}
61
+ },
62
+ emits: ["update:pages"],
63
+ setup(i, { emit: n }) {
64
+ const b = i, l = V();
65
+ B(() => l.readLocations());
66
+ const h = n, f = P(null), _ = T(() => {
67
+ const r = /* @__PURE__ */ new Set();
68
+ for (const p of b.pages)
69
+ p.locations.forEach((a) => r.add(a._id));
70
+ return r;
71
+ });
72
+ function c(r) {
73
+ const p = new Set(r.locations.map((a) => a._id));
74
+ return console.log(l.locations), l.locations.filter((a) => {
75
+ const t = a._id.toString();
76
+ return !_.value.has(t) || p.has(t);
77
+ });
78
+ }
79
+ function w(r, p) {
80
+ const a = p._id.toString(), t = b.pages.map((o) => {
81
+ if (o.facebookPageId !== r) return o;
82
+ const u = o.locations.some(
83
+ (s) => s._id === a
84
+ );
85
+ return {
86
+ ...o,
87
+ locations: u ? o.locations.filter((s) => s._id !== a) : [
88
+ ...o.locations,
89
+ {
90
+ _id: a,
91
+ name: p.name
92
+ }
93
+ ]
94
+ };
95
+ });
96
+ h("update:pages", t);
97
+ }
98
+ function I(r) {
99
+ f.value = f.value === r ? null : r;
100
+ }
101
+ return (r, p) => (d(), g("div", K, [
102
+ (d(!0), g(E, null, N(i.pages, (a) => (d(), C(J, {
103
+ key: a.facebookPageId,
104
+ page: a,
105
+ expanded: e(f) === a.facebookPageId,
106
+ "available-locations": c(a),
107
+ onToggleExpand: (t) => I(a.facebookPageId),
108
+ onToggleLocation: (t) => w(a.facebookPageId, t)
109
+ }, null, 8, ["page", "expanded", "available-locations", "onToggleExpand", "onToggleLocation"]))), 128))
110
+ ]));
111
+ }
112
+ }), Q = { class: "flex flex-col min-h-full gap-16 p-24" }, W = {
113
+ key: 0,
114
+ class: "flex flex-col items-center justify-center flex-1 gap-16"
115
+ }, X = { class: "fm-typo-en-body-md-400 text-fm-color-neutral-gray-400" }, Y = {
116
+ key: 1,
117
+ class: "flex flex-col items-center justify-center flex-1 gap-16"
118
+ }, Z = { class: "fm-typo-en-body-lg-600" }, ee = { class: "fm-typo-en-body-md-400 text-fm-color-neutral-gray-400" }, oe = {
119
+ key: 2,
120
+ class: "flex flex-col items-center justify-center flex-1 gap-16"
121
+ }, te = { class: "fm-typo-en-body-lg-600" }, ne = { class: "fm-typo-en-body-md-400 text-fm-color-neutral-gray-400" }, ae = { class: "fm-typo-en-body-lg-600" }, se = { class: "flex gap-8 justify-end mt-auto pt-8" }, ge = /* @__PURE__ */ S({
122
+ __name: "ReviewFacebookCallback",
123
+ setup(i) {
124
+ const { t: n } = M(), b = H(), l = P([]), h = P(!1), f = P(!1), _ = P(!1), c = P(null), w = T(
125
+ () => l.value.some((t) => t.locations.length > 0)
126
+ );
127
+ function I(t, o) {
128
+ const u = new Map(
129
+ o.map((s) => [s.facebookPageId, s])
130
+ );
131
+ return t.map((s) => {
132
+ var y;
133
+ return {
134
+ ...s,
135
+ locations: ((y = u.get(s.facebookPageId)) == null ? void 0 : y.locations) ?? []
136
+ };
137
+ });
138
+ }
139
+ function r(t, o) {
140
+ return t instanceof Error ? t.message : o;
141
+ }
142
+ async function p() {
143
+ var s;
144
+ const t = window.location.hash;
145
+ if (!t) {
146
+ c.value = n("connect.review.noToken");
147
+ return;
148
+ }
149
+ const u = new URLSearchParams(t.slice(1)).get("access_token");
150
+ if (!u) {
151
+ c.value = n("connect.review.noToken");
152
+ return;
153
+ }
154
+ h.value = !0;
155
+ try {
156
+ const y = await L.getSource(), j = ((s = y == null ? void 0 : y.facebook) == null ? void 0 : s.pages) ?? [], F = await L.connectFacebook(u);
157
+ l.value = I((F == null ? void 0 : F.pages) ?? [], j), l.value.length === 0 && (c.value = n("connect.review.facebook.noPages"));
158
+ } catch (y) {
159
+ c.value = r(y, n("connect.review.facebook.failed"));
160
+ } finally {
161
+ h.value = !1;
162
+ }
163
+ }
164
+ async function a() {
165
+ const t = l.value.filter((o) => o.locations.length > 0).map((o) => ({
166
+ facebookPageId: o.facebookPageId,
167
+ locationIds: o.locations.map((u) => u._id)
168
+ }));
169
+ if (t.length === 0) {
170
+ c.value = n("connect.review.noMappings");
171
+ return;
172
+ }
173
+ f.value = !0;
174
+ try {
175
+ await L.updateFacebookPages(t), _.value = !0, setTimeout(() => b.replace("/review"), 2e3);
176
+ } catch (o) {
177
+ c.value = r(o, n("connect.review.facebook.failed"));
178
+ } finally {
179
+ f.value = !1;
180
+ }
181
+ }
182
+ return B(p), (t, o) => {
183
+ const u = R("FmPageHead");
184
+ return d(), g(E, null, [
185
+ v(u, {
186
+ title: e(n)("connect.navigation.review")
187
+ }, null, 8, ["title"]),
188
+ m("div", Q, [
189
+ e(h) ? (d(), g("div", W, [
190
+ v(e(x).FmIcon, {
191
+ name: "sync",
192
+ size: "xl",
193
+ class: "animate-spin text-fm-color-neutral-gray-400"
194
+ }),
195
+ m("p", X, k(e(n)("connect.review.facebook.fetching")), 1)
196
+ ])) : e(_) ? (d(), g("div", Y, [
197
+ v(e(x).FmIcon, {
198
+ name: "check_circle",
199
+ size: "xl",
200
+ class: "text-fm-color-typo-success"
201
+ }),
202
+ m("p", Z, k(e(n)("connect.review.facebook.success")), 1),
203
+ m("p", ee, k(e(n)("connect.review.redirecting")), 1)
204
+ ])) : e(c) ? (d(), g("div", oe, [
205
+ v(e(x).FmIcon, {
206
+ name: "error",
207
+ size: "xl",
208
+ class: "text-fm-color-system-error-500"
209
+ }),
210
+ m("p", te, k(e(n)("connect.review.errorTitle")), 1),
211
+ m("p", ne, k(e(c)), 1),
212
+ v(e(x).FmButton, {
213
+ label: e(n)("connect.review.goBack"),
214
+ onClick: o[0] || (o[0] = (s) => e(b).replace("/review"))
215
+ }, null, 8, ["label"])
216
+ ])) : e(l).length > 0 ? (d(), g(E, { key: 3 }, [
217
+ m("p", ae, k(e(n)("connect.review.facebook.selectPage")), 1),
218
+ v(O, {
219
+ pages: e(l),
220
+ "onUpdate:pages": o[1] || (o[1] = (s) => U(l) ? l.value = s : null)
221
+ }, null, 8, ["pages"]),
222
+ m("div", se, [
223
+ v(e(x).FmButton, {
224
+ variant: "outlined",
225
+ label: e(n)("connect.review.cancel"),
226
+ onClick: o[2] || (o[2] = (s) => e(b).replace("/review"))
227
+ }, null, 8, ["label"]),
228
+ v(e(x).FmButton, {
229
+ label: e(n)("connect.review.connect"),
230
+ disabled: !e(w),
231
+ loading: e(f),
232
+ onClick: a
233
+ }, null, 8, ["label", "disabled", "loading"])
234
+ ])
235
+ ], 64)) : $("", !0)
236
+ ])
237
+ ], 64);
238
+ };
239
+ }
240
+ });
241
+ export {
242
+ ge as default
243
+ };
@@ -0,0 +1,213 @@
1
+ import { defineComponent as $, onMounted as B, ref as w, computed as T, openBlock as g, createElementBlock as v, Fragment as F, renderList as M, normalizeClass as j, unref as e, createElementVNode as u, createVNode as d, toDisplayString as y, createCommentVNode as S, createBlock as z, resolveComponent as G, isRef as R } from "vue";
2
+ import { u as P } from "./vue-i18n-BxV_u4BZ.js";
3
+ import { components as _ } from "@feedmepos/ui-library";
4
+ import { r as C } from "./index-C1Z4oibL.js";
5
+ import { u as V } from "./business-DKEB57Mf.js";
6
+ import { _ as A } from "./LocationPicker.vue_vue_type_script_setup_true_lang-CXFtSS9_.js";
7
+ import { useRouter as H } from "vue-router";
8
+ const U = { class: "flex flex-col gap-8" }, D = ["onClick"], q = { class: "fm-typo-en-body-md-600 flex-1 truncate" }, J = {
9
+ key: 0,
10
+ class: "fm-typo-en-body-sm-400 text-fm-color-primary-500 shrink-0"
11
+ }, K = /* @__PURE__ */ $({
12
+ __name: "GoogleLocationMapping",
13
+ props: {
14
+ locations: {}
15
+ },
16
+ emits: ["update:locations"],
17
+ setup(L, { emit: a }) {
18
+ const x = L, i = a, h = V();
19
+ B(() => h.readLocations());
20
+ const f = w(null), b = T(() => {
21
+ const s = /* @__PURE__ */ new Set();
22
+ for (const m of x.locations)
23
+ m.locationId && s.add(m.locationId);
24
+ return s;
25
+ });
26
+ function r(s) {
27
+ return h.locations.filter((m) => {
28
+ const t = m._id.toString();
29
+ return !b.value.has(t) || s.locationId === t;
30
+ });
31
+ }
32
+ function N(s, m) {
33
+ const t = m._id.toString(), n = x.locations.map((o) => {
34
+ if (o.googleLocationName !== s) return o;
35
+ const p = o.locationId === t;
36
+ return {
37
+ ...o,
38
+ locationId: p ? null : t,
39
+ locationName: p ? null : m.name
40
+ };
41
+ });
42
+ i("update:locations", n);
43
+ }
44
+ function k(s) {
45
+ f.value = f.value === s ? null : s;
46
+ }
47
+ return (s, m) => (g(), v("div", U, [
48
+ (g(!0), v(F, null, M(L.locations, (t) => (g(), v("div", {
49
+ key: t.googleLocationName,
50
+ class: j([
51
+ "rounded-lg border overflow-hidden transition-colors",
52
+ e(f) === t.googleLocationName ? "border-fm-color-primary-500" : "border-fm-color-neutral-gray-200"
53
+ ])
54
+ }, [
55
+ u("button", {
56
+ class: "w-full flex items-center gap-12 p-16 bg-white text-left hover:bg-fm-color-neutral-gray-50 transition-colors",
57
+ onClick: (n) => k(t.googleLocationName)
58
+ }, [
59
+ d(e(_).FmIcon, {
60
+ name: "storefront",
61
+ class: "text-fm-color-neutral-gray-400 shrink-0"
62
+ }),
63
+ u("span", q, y(t.displayName || t.googleLocationName), 1),
64
+ t.locationName ? (g(), v("span", J, y(t.locationName), 1)) : S("", !0),
65
+ d(e(_).FmIcon, {
66
+ name: e(f) === t.googleLocationName ? "expand_less" : "expand_more",
67
+ class: "text-fm-color-neutral-gray-400 shrink-0"
68
+ }, null, 8, ["name"])
69
+ ], 8, D),
70
+ e(f) === t.googleLocationName ? (g(), z(A, {
71
+ key: 0,
72
+ locations: r(t),
73
+ "selected-ids": t.locationId ? [t.locationId] : [],
74
+ onToggle: (n) => N(t.googleLocationName, n)
75
+ }, null, 8, ["locations", "selected-ids", "onToggle"])) : S("", !0)
76
+ ], 2))), 128))
77
+ ]));
78
+ }
79
+ }), O = { class: "flex flex-col min-h-full gap-16 p-24" }, Q = {
80
+ key: 0,
81
+ class: "flex flex-col items-center justify-center flex-1 gap-16"
82
+ }, W = { class: "fm-typo-en-body-md-400 text-fm-color-neutral-gray-400" }, X = {
83
+ key: 1,
84
+ class: "flex flex-col items-center justify-center flex-1 gap-16"
85
+ }, Y = { class: "fm-typo-en-body-lg-600" }, Z = { class: "fm-typo-en-body-md-400 text-fm-color-neutral-gray-400" }, ee = {
86
+ key: 2,
87
+ class: "flex flex-col items-center justify-center flex-1 gap-16"
88
+ }, oe = { class: "fm-typo-en-body-lg-600" }, te = { class: "fm-typo-en-body-md-400 text-fm-color-neutral-gray-400" }, ne = { class: "fm-typo-en-body-lg-600" }, ae = { class: "flex gap-8 justify-end mt-auto pt-8" }, de = /* @__PURE__ */ $({
89
+ __name: "ReviewGoogleCallback",
90
+ setup(L) {
91
+ const { t: a } = P(), x = H(), i = w([]), h = w(!1), f = w(!1), b = w(!1), r = w(null), N = T(
92
+ () => i.value.some((n) => n.locationId !== null)
93
+ );
94
+ function k(n, o) {
95
+ return n instanceof Error ? n.message : o;
96
+ }
97
+ function s(n, o) {
98
+ const p = new Map(
99
+ o.map((l) => [l.googleLocationName, l.location])
100
+ );
101
+ return n.map((l) => {
102
+ const c = p.get(l.googleLocationName) ?? null;
103
+ return {
104
+ googleLocationName: l.googleLocationName,
105
+ displayName: l.displayName,
106
+ locationId: (c == null ? void 0 : c._id) ?? null,
107
+ locationName: (c == null ? void 0 : c.name) ?? null
108
+ };
109
+ });
110
+ }
111
+ async function m() {
112
+ var l;
113
+ const n = window.location.hash;
114
+ if (!n) {
115
+ r.value = a("connect.review.noToken");
116
+ return;
117
+ }
118
+ const p = new URLSearchParams(n.slice(1)).get("access_token");
119
+ if (!p) {
120
+ r.value = a("connect.review.noToken");
121
+ return;
122
+ }
123
+ h.value = !0;
124
+ try {
125
+ const c = await C.getSource(), E = ((l = c == null ? void 0 : c.google) == null ? void 0 : l.locations) ?? [], I = await C.connectGoogle(p);
126
+ i.value = s((I == null ? void 0 : I.locations) ?? [], E), i.value.length === 0 && (r.value = a("connect.review.google.noLocations"));
127
+ } catch (c) {
128
+ r.value = k(c, a("connect.review.google.failed"));
129
+ } finally {
130
+ h.value = !1;
131
+ }
132
+ }
133
+ async function t() {
134
+ const n = i.value.map((o) => ({
135
+ googleLocationName: o.googleLocationName,
136
+ displayName: o.displayName,
137
+ locationId: o.locationId
138
+ }));
139
+ if (n.length === 0) {
140
+ r.value = a("connect.review.noMappings");
141
+ return;
142
+ }
143
+ f.value = !0;
144
+ try {
145
+ await C.updateGoogleLocations(n), b.value = !0, setTimeout(() => x.replace("/review"), 2e3);
146
+ } catch (o) {
147
+ r.value = k(o, a("connect.review.google.failed"));
148
+ } finally {
149
+ f.value = !1;
150
+ }
151
+ }
152
+ return B(m), (n, o) => {
153
+ const p = G("FmPageHead");
154
+ return g(), v(F, null, [
155
+ d(p, {
156
+ title: e(a)("connect.navigation.review")
157
+ }, null, 8, ["title"]),
158
+ u("div", O, [
159
+ e(h) ? (g(), v("div", Q, [
160
+ d(e(_).FmIcon, {
161
+ name: "sync",
162
+ size: "xl",
163
+ class: "animate-spin text-fm-color-neutral-gray-400"
164
+ }),
165
+ u("p", W, y(e(a)("connect.review.google.fetching")), 1)
166
+ ])) : e(b) ? (g(), v("div", X, [
167
+ d(e(_).FmIcon, {
168
+ name: "check_circle",
169
+ size: "xl",
170
+ class: "text-fm-color-typo-success"
171
+ }),
172
+ u("p", Y, y(e(a)("connect.review.google.success")), 1),
173
+ u("p", Z, y(e(a)("connect.review.redirecting")), 1)
174
+ ])) : e(r) ? (g(), v("div", ee, [
175
+ d(e(_).FmIcon, {
176
+ name: "error",
177
+ size: "xl",
178
+ class: "text-fm-color-system-error-500"
179
+ }),
180
+ u("p", oe, y(e(a)("connect.review.errorTitle")), 1),
181
+ u("p", te, y(e(r)), 1),
182
+ d(e(_).FmButton, {
183
+ label: e(a)("connect.review.goBack"),
184
+ onClick: o[0] || (o[0] = (l) => e(x).replace("/review"))
185
+ }, null, 8, ["label"])
186
+ ])) : e(i).length > 0 ? (g(), v(F, { key: 3 }, [
187
+ u("p", ne, y(e(a)("connect.review.google.selectLocation")), 1),
188
+ d(K, {
189
+ locations: e(i),
190
+ "onUpdate:locations": o[1] || (o[1] = (l) => R(i) ? i.value = l : null)
191
+ }, null, 8, ["locations"]),
192
+ u("div", ae, [
193
+ d(e(_).FmButton, {
194
+ variant: "outlined",
195
+ label: e(a)("connect.review.cancel"),
196
+ onClick: o[2] || (o[2] = (l) => e(x).replace("/review"))
197
+ }, null, 8, ["label"]),
198
+ d(e(_).FmButton, {
199
+ label: e(a)("connect.review.connect"),
200
+ disabled: !e(N),
201
+ loading: e(f),
202
+ onClick: t
203
+ }, null, 8, ["label", "disabled", "loading"])
204
+ ])
205
+ ], 64)) : S("", !0)
206
+ ])
207
+ ], 64);
208
+ };
209
+ }
210
+ });
211
+ export {
212
+ de as default
213
+ };
@@ -1,26 +1,26 @@
1
1
  import { defineComponent as X, ref as x, computed as H, resolveComponent as w, openBlock as b, createBlock as h, unref as t, isRef as Z, withCtx as A, createElementVNode as f, createVNode as d, createCommentVNode as k, createElementBlock as M, Fragment as Y, h as O, onMounted as q, toDisplayString as B } from "vue";
2
2
  import { _ as z } from "./campaign-CpzFl8Vr.js";
3
3
  import { useDialog as Q, components as L } from "@feedmepos/ui-library";
4
- import { u as G } from "./loading-CvHPT80F.js";
5
- import { u as J, C as ee } from "./membership-CU-wFWan.js";
6
- import { f as j, p as te } from "./plugins-CAdlnev8.js";
7
- import { u as oe } from "./vue-i18n-jTYKTJq1.js";
4
+ import { u as G } from "./loading-B1ymwDT_.js";
5
+ import { u as J, C as ee } from "./membership-GnNCDGBk.js";
6
+ import { f as j, p as te } from "./plugins-cxSxZO0d.js";
7
+ import { u as oe } from "./vue-i18n-BxV_u4BZ.js";
8
8
  import { c as ae } from "./object-qECH92oz.js";
9
- import { Z as _ } from "./zod-B_G9o5PC.js";
10
- import "./index-Cyt6eKEF.js";
11
- import { F as N } from "./index-B_QGGlMD.js";
9
+ import { Z as _ } from "./zod-CUN5LrI6.js";
10
+ import "./index-CkqQGjg1.js";
11
+ import { F as N } from "./index-Dc2JsMD2.js";
12
12
  import { useCoreStore as le } from "@feedmepos/mf-common";
13
- import { _ as ne, a as ie } from "./VoucherEditor.vue_vue_type_script_setup_true_lang-DNvmaJk9.js";
14
- import { b as re } from "./EffectSheet.vue_vue_type_style_index_0_lang-Cp5nSLEX.js";
13
+ import { _ as ne, a as ie } from "./VoucherEditor.vue_vue_type_script_setup_true_lang-CztGuaCV.js";
14
+ import { b as re } from "./EffectSheet.vue_vue_type_style_index_0_lang-kzk3iEKA.js";
15
15
  import { J as K } from "./JsonViewer-v8_C7l5N.js";
16
- import { _ as se } from "./ZodTextField.vue_vue_type_script_setup_true_lang-KHZ3-THo.js";
17
- import { i as de } from "./helper-CzurWUe4.js";
18
- import { u as pe, r as P } from "./reward-BhlYd0FB.js";
19
- import "./index-tYmg4eyJ.js";
20
- import { C as ce } from "./campaign.fn-DJSpfhZH.js";
21
- import { e as me } from "./effect-BSgfR9iB.js";
16
+ import { _ as se } from "./ZodTextField.vue_vue_type_script_setup_true_lang-RI0mY3Nx.js";
17
+ import { i as de } from "./helper-B-ZDFjy7.js";
18
+ import { u as pe, r as P } from "./reward-siULTu5h.js";
19
+ import "./index-DnrSd_o_.js";
20
+ import { C as ce } from "./campaign.fn-Csxad3W7.js";
21
+ import { e as me } from "./effect-KecOJIEK.js";
22
22
  import { useRouter as ue } from "vue-router";
23
- import { R as ye } from "./app-DKrmktFJ.js";
23
+ import { R as ye } from "./app-zPef9Uzl.js";
24
24
  const fe = { class: "flex gap-8 items-center justify-start" }, we = /* @__PURE__ */ X({
25
25
  __name: "EditRewardSheet",
26
26
  emits: ["update"],
@@ -1,18 +1,18 @@
1
1
  import { ref as p, defineComponent as T, computed as x, resolveComponent as y, openBlock as U, createBlock as G, unref as e, isRef as $, withCtx as b, createElementVNode as v, createVNode as u, toDisplayString as j } from "vue";
2
- import { u as B } from "./loading-CvHPT80F.js";
2
+ import { u as B } from "./loading-B1ymwDT_.js";
3
3
  import { J as P } from "./JsonViewer-v8_C7l5N.js";
4
- import { _ as D } from "./ZodTextField.vue_vue_type_script_setup_true_lang-KHZ3-THo.js";
5
- import { _ as I } from "./UserRuleGroup.vue_vue_type_script_setup_true_lang-DbRVYccO.js";
6
- import { Z as L } from "./zod-B_G9o5PC.js";
4
+ import { _ as D } from "./ZodTextField.vue_vue_type_script_setup_true_lang-RI0mY3Nx.js";
5
+ import { _ as I } from "./UserRuleGroup.vue_vue_type_script_setup_true_lang-UXSlpEM0.js";
6
+ import { Z as L } from "./zod-CUN5LrI6.js";
7
7
  import { u as V } from "./app-wDQR6dpb.js";
8
8
  import { defineStore as N } from "pinia";
9
- import { r as k } from "./index-BF0hGAkO.js";
10
- import { c as E } from "./index-BqQas5Sx.js";
11
- import "./index-Cg-sBBf_.js";
12
- import "./index-Cyt6eKEF.js";
13
- import "./index-IBvUTxqC.js";
14
- import "./index-B_QGGlMD.js";
15
- import { u as J } from "./vue-i18n-jTYKTJq1.js";
9
+ import { r as k } from "./index-CdByBgmF.js";
10
+ import { c as E } from "./index-CNLqZu6_.js";
11
+ import "./index-DY3_9zbY.js";
12
+ import "./index-CkqQGjg1.js";
13
+ import "./index-BV_G-XzK.js";
14
+ import "./index-Dc2JsMD2.js";
15
+ import { u as J } from "./vue-i18n-BxV_u4BZ.js";
16
16
  import { c as C } from "./object-qECH92oz.js";
17
17
  import { useDialog as Z } from "@feedmepos/ui-library";
18
18
  const A = N("mf-connect-referral", () => {
@@ -1,22 +1,22 @@
1
1
  import { defineComponent as P, computed as M, resolveComponent as k, openBlock as r, createElementBlock as V, createElementVNode as C, createVNode as v, unref as e, createTextVNode as ne, toDisplayString as A, withCtx as B, onMounted as Z, createBlock as g, createCommentVNode as N, ref as W, watch as pe, Fragment as q, renderList as $, normalizeClass as K, resolveDynamicComponent as me, onBeforeMount as ce, isRef as fe, createSlots as ye } from "vue";
2
- import { m as ge, C as _e, n as ke, a as he, o as Ee } from "./index-Cyt6eKEF.js";
3
- import { R as Y, a as Ve } from "./rule-builder-B968rIyS.js";
2
+ import { m as ge, C as _e, n as ke, a as he, o as Ee } from "./index-CkqQGjg1.js";
3
+ import { R as Y, a as Ve } from "./rule-builder-DWFem4d5.js";
4
4
  import { useDialog as ue, useDialogChild as ve, useSnackbar as Te } from "@feedmepos/ui-library";
5
- import { u as G } from "./vue-i18n-jTYKTJq1.js";
6
- import { a as Se, R as w, S as Fe, C as j, g as xe, W as Re, T as ie, O as de } from "./rule-Ccvu41A_.js";
7
- import { p as Ue } from "./plugins-CAdlnev8.js";
5
+ import { u as G } from "./vue-i18n-BxV_u4BZ.js";
6
+ import { a as Se, R as w, S as Fe, C as j, g as xe, W as Re, T as ie, O as de } from "./rule-GD9oMCPH.js";
7
+ import { p as Ue } from "./plugins-cxSxZO0d.js";
8
8
  import { h as ae } from "./moment-D7p2TMB-.js";
9
- import { z as Ce } from "./app-DKrmktFJ.js";
10
- import { u as X } from "./membership-CU-wFWan.js";
11
- import { u as te } from "./business-Dd73TVX5.js";
12
- import "./index-IBvUTxqC.js";
9
+ import { z as Ce } from "./app-zPef9Uzl.js";
10
+ import { u as X } from "./membership-GnNCDGBk.js";
11
+ import { u as te } from "./business-DKEB57Mf.js";
12
+ import "./index-BV_G-XzK.js";
13
13
  import { _ as O } from "./CustomSelect.vue_vue_type_script_setup_true_lang-Du7fRSZC.js";
14
14
  import { c as be } from "./object-qECH92oz.js";
15
- import { Z as le } from "./zod-B_G9o5PC.js";
16
- import { _ as Ye } from "./SelectItems.vue_vue_type_script_setup_true_lang-ydM5ypC0.js";
17
- import "./index-BqQas5Sx.js";
18
- import "./index-Cg-sBBf_.js";
19
- import "./index-B_QGGlMD.js";
15
+ import { Z as le } from "./zod-CUN5LrI6.js";
16
+ import { _ as Ye } from "./SelectItems.vue_vue_type_script_setup_true_lang-BrE1gGHP.js";
17
+ import "./index-CNLqZu6_.js";
18
+ import "./index-DY3_9zbY.js";
19
+ import "./index-Dc2JsMD2.js";
20
20
  const Oe = { class: "flex items-center justify-between" }, De = { class: "flex items-center gap-8 xs:flex-wrap" }, we = { class: "text-fm-color-primary line-clamp-1 text-ellipsis" }, qe = /* @__PURE__ */ P({
21
21
  __name: "RuleEntry",
22
22
  props: {
@@ -1,34 +1,34 @@
1
1
  import { defineComponent as ee, ref as z, resolveComponent as S, openBlock as p, createElementBlock as k, createElementVNode as l, createVNode as r, unref as t, createCommentVNode as le, withCtx as E, Fragment as O, renderList as ie, createBlock as J, toDisplayString as R, normalizeClass as re, onMounted as Se, computed as ce, isRef as Ie, createSlots as Me, h as Y, onBeforeMount as Te } from "vue";
2
2
  import { _ as Ee } from "./campaign-CpzFl8Vr.js";
3
- import { n as Ae, p as De } from "./plugins-CAdlnev8.js";
4
- import { u as $e } from "./loading-CvHPT80F.js";
3
+ import { n as Ae, p as De } from "./plugins-cxSxZO0d.js";
4
+ import { u as $e } from "./loading-B1ymwDT_.js";
5
5
  import { FmButtonVariant as ae, useSnackbar as Re, components as X } from "@feedmepos/ui-library";
6
- import { u as we, _ as Fe } from "./usePagination-Ciom38dd.js";
7
- import { u as be } from "./vue-i18n-jTYKTJq1.js";
8
- import "./index-BqQas5Sx.js";
9
- import { i as Pe, j as $, c as fe } from "./index-Cg-sBBf_.js";
10
- import "./index-Cyt6eKEF.js";
11
- import { F as ye, z as Be } from "./index-IBvUTxqC.js";
12
- import "./index-B_QGGlMD.js";
13
- import { u as ne, w as he } from "./xlsx-YD3LYwip.js";
14
- import { e as Ne, M as Ve } from "./email-addresses-D_fyxOof.js";
15
- import { Z as Ye } from "./zod-B_G9o5PC.js";
6
+ import { u as we, _ as Fe } from "./usePagination-BbTCnhtY.js";
7
+ import { u as be } from "./vue-i18n-BxV_u4BZ.js";
8
+ import "./index-CNLqZu6_.js";
9
+ import { i as Pe, j as $, c as fe } from "./index-DY3_9zbY.js";
10
+ import "./index-CkqQGjg1.js";
11
+ import { F as ye, z as Be } from "./index-BV_G-XzK.js";
12
+ import "./index-Dc2JsMD2.js";
13
+ import { u as ne, w as he } from "./xlsx-BnJDxONa.js";
14
+ import { e as Ne, M as Ve } from "./email-addresses-Ske7sY-s.js";
15
+ import { Z as Ye } from "./zod-CUN5LrI6.js";
16
16
  import { u as Ue } from "./app-wDQR6dpb.js";
17
- import { R as ge } from "./rule-builder-B968rIyS.js";
18
- import { _ as Le } from "./ZodTextField.vue_vue_type_script_setup_true_lang-KHZ3-THo.js";
19
- import { _ as ze } from "./RuleGroup.vue_vue_type_script_setup_true_lang-Bp5jnlFr.js";
20
- import { u as Oe, v as je, w as qe } from "./index.esm2017-5xGykkgL.js";
21
- import { F as Ge } from "./FileSaver.min-BThLVsSf.js";
17
+ import { R as ge } from "./rule-builder-DWFem4d5.js";
18
+ import { _ as Le } from "./ZodTextField.vue_vue_type_script_setup_true_lang-RI0mY3Nx.js";
19
+ import { _ as ze } from "./RuleGroup.vue_vue_type_script_setup_true_lang-BRUQtqjv.js";
20
+ import { u as Oe, v as je, w as qe } from "./index.esm2017-DxQe1gCt.js";
21
+ import { F as Ge } from "./FileSaver.min-Vgxo4jNi.js";
22
22
  import { h as H } from "./moment-D7p2TMB-.js";
23
- import { s as B, u as He } from "./membership-CU-wFWan.js";
23
+ import { s as B, u as He } from "./membership-GnNCDGBk.js";
24
24
  import { o as Je } from "./objectId-dwaoBfJX.js";
25
- import { u as Ce } from "./business-Dd73TVX5.js";
26
- import { f as Qe } from "./number-Bee2M41N.js";
27
- import { t as We } from "./money-CzlfhEoe.js";
28
- import "./index-tYmg4eyJ.js";
25
+ import { u as Ce } from "./business-DKEB57Mf.js";
26
+ import { f as Qe } from "./number-p19we-YD.js";
27
+ import { t as We } from "./money-CG6LGklW.js";
28
+ import "./index-DnrSd_o_.js";
29
29
  import { useRouter as Ze } from "vue-router";
30
- import { m as ve } from "./index-Dw3ew6qN.js";
31
- import { R as _e } from "./app-DKrmktFJ.js";
30
+ import { m as ve } from "./index-BRZC-Cy5.js";
31
+ import { R as _e } from "./app-zPef9Uzl.js";
32
32
  const Ke = Pe.extend({
33
33
  _id: ye.optional(),
34
34
  business: ye.optional(),
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as N, computed as f, ref as V, onMounted as H, resolveComponent as _, openBlock as c, createElementBlock as u, createVNode as i, withCtx as F, createElementVNode as p, toDisplayString as q, normalizeClass as A, Fragment as x, renderList as S, createCommentVNode as B } from "vue";
2
- import { F as D } from "./app-DKrmktFJ.js";
3
- import "./index-IBvUTxqC.js";
2
+ import { F as D } from "./app-zPef9Uzl.js";
3
+ import "./index-BV_G-XzK.js";
4
4
  import { c as E } from "./object-qECH92oz.js";
5
5
  const M = { class: "flex flex-col flex-nowrap" }, T = { class: "flex gap-16 items-center w-full" }, $ = { class: "flex grow items-center" }, z = { class: "grow text-fm-color-typo-secondary" }, K = { key: 0 }, J = { class: "px-16" }, X = /* @__PURE__ */ N({
6
6
  __name: "SelectItems",