@feedmepos/mf-order-setting 0.0.102 → 0.0.103

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 (139) hide show
  1. package/dist/{DisplaySystemView-jnt6letY.js → DisplaySystemView-BBiZqcWq.js} +1497 -1468
  2. package/dist/{FoodCourtInvitationsView-DoynqFWB.js → FoodCourtInvitationsView-DwOkVs9m.js} +4 -4
  3. package/dist/{FoodCourtOrderSettingsView-DYZLhTHy.js → FoodCourtOrderSettingsView-C9Ag5Bsg.js} +1 -1
  4. package/dist/FoodCourtOrdersView-y4EwK3sn.js +1173 -0
  5. package/dist/{FoodCourtStallsView-CRMTt5BB.js → FoodCourtStallsView-Bi8H-yR7.js} +2 -2
  6. package/dist/{FoodCourtStatusView-C-b-eI-8.js → FoodCourtStatusView-jugAzTKg.js} +1 -1
  7. package/dist/KioskDevicesView-CYiew4X5.js +4 -0
  8. package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-BCvbeo7R.js +1497 -0
  9. package/dist/KioskSettingView-AKBiij9a.js +1124 -0
  10. package/dist/KioskView-zKB6mC8I.js +765 -0
  11. package/dist/{OrderSettingsView-BBCnekaj.js → OrderSettingsView-CoV_yX3m.js} +22064 -21635
  12. package/dist/{RestaurantSelector.vue_vue_type_script_setup_true_lang-DjoTyV6m.js → RestaurantSelector.vue_vue_type_script_setup_true_lang-KSMU_jGl.js} +1 -1
  13. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  14. package/dist/{app-Dvk30CIa.js → app-CmuI6uSl.js} +3589 -2902
  15. package/dist/app.js +1 -1
  16. package/dist/{dayjs.min-DUFHhM7O.js → dayjs.min-B3MssMma.js} +1 -1
  17. package/dist/{featureFlag-BvcirzHS.js → featureFlag-CWvkPOBY.js} +123 -130
  18. package/dist/frontend/mf-order/src/api/food-court/index.d.ts +51 -0
  19. package/dist/frontend/mf-order/src/api/kiosk/index.d.ts +4 -0
  20. package/dist/frontend/mf-order/src/api/payment/index.d.ts +8 -0
  21. package/dist/frontend/mf-order/src/api/queue/index.d.ts +13 -0
  22. package/dist/frontend/mf-order/src/api/restaurant-setting/index.d.ts +9 -1
  23. package/dist/frontend/mf-order/src/app.d.ts +687 -0
  24. package/dist/frontend/mf-order/src/main.d.ts +687 -0
  25. package/dist/frontend/mf-order/src/modules/display-system/interface.d.ts +5 -0
  26. package/dist/frontend/mf-order/src/modules/kiosk/interface.d.ts +4 -0
  27. package/dist/frontend/mf-order/src/modules/kiosk/license.d.ts +92 -0
  28. package/dist/frontend/mf-order/src/modules/kiosk/outletLoad.d.ts +15 -0
  29. package/dist/frontend/mf-order/src/modules/kiosk/settingsSections.d.ts +24 -0
  30. package/dist/frontend/mf-order/src/modules/kiosk/useKioskSettings.d.ts +29 -0
  31. package/dist/frontend/mf-order/src/modules/payment/paymentDevice.d.ts +58 -0
  32. package/dist/frontend/mf-order/src/stores/kiosk/index.d.ts +67 -1
  33. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +19 -10
  34. package/dist/frontend/mf-order/src/stores/payment/index.d.ts +59 -1
  35. package/dist/frontend/mf-order/src/views/food-court/food-court-export.d.ts +38 -0
  36. package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDeviceCard.vue.d.ts +3 -0
  37. package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDevicesView.vue.d.ts +7 -0
  38. package/dist/frontend/mf-order/src/views/kiosk/devices/KioskLicenseSummary.vue.d.ts +7 -0
  39. package/dist/frontend/mf-order/src/views/kiosk/devices/KioskLicensesView.vue.d.ts +6 -0
  40. package/dist/frontend/mf-order/src/views/kiosk/devices/KioskOtpDialog.vue.d.ts +3 -0
  41. package/dist/frontend/mf-order/src/views/kiosk/devices/KioskPaymentDeviceCard.vue.d.ts +17 -0
  42. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskSettingView.vue.d.ts +5 -2
  43. package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialogContent.vue.d.ts +0 -9
  44. package/dist/frontend/mf-order/src/views/order-settings/pos-status/PosOrderingStatus.vue.d.ts +17 -0
  45. package/dist/frontend/mf-order/src/views/order-settings/pos-status/pos-status.d.ts +44 -0
  46. package/dist/frontend/mf-order/src/views/order-settings/queue/called-message.d.ts +1 -0
  47. package/dist/frontend/mf-order/src/views/order-settings/queue/phone-join-mode.d.ts +25 -0
  48. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  49. package/dist/{index-C4n5H7t3.js → index-BQa8AudZ.js} +3 -3
  50. package/dist/index-CMOvrim4.js +147 -0
  51. package/dist/{index-CW4VlFWz.js → index-D5qh2_4b.js} +1 -1
  52. package/dist/{index-C5n6lil6.js → index-Dup6kWLX.js} +6 -6
  53. package/dist/{index-CGxCWKHB.js → index-wuFIsXHT.js} +188 -179
  54. package/dist/{order.dto-Cb_gh3iB.js → order.dto-BD9raQG5.js} +2782 -2735
  55. package/dist/package/entity/display/blocks.d.ts +12 -2
  56. package/dist/package/entity/marketing/marketing.dto.d.ts +18 -18
  57. package/dist/package/entity/order-platform/external/reconciliation/external-reconciliation.do.d.ts +24 -24
  58. package/dist/package/entity/order-platform/menu.dto.d.ts +20 -20
  59. package/dist/package/entity/order-setting/order-setting.do.d.ts +10 -0
  60. package/dist/package/entity/order-setting/order-setting.dto.d.ts +26 -0
  61. package/dist/package/entity/order-setting/queue/queue.do.d.ts +23 -0
  62. package/dist/package/entity/order-setting/queue/queue.dto.d.ts +14 -0
  63. package/dist/package/entity/queue/queue.do.d.ts +153 -0
  64. package/dist/package/entity/queue/queue.dto.d.ts +221 -2
  65. package/dist/package/entity/queue/queue.enum.d.ts +5 -0
  66. package/dist/package/entity/restaurant/restaurant.dto.d.ts +20 -0
  67. package/dist/style.css +1 -1
  68. package/dist/{index-ILnighyU.js → useInternalUser-CHtaur9A.js} +93 -81
  69. package/package.json +2 -1
  70. package/src/api/food-court/index.ts +63 -0
  71. package/src/api/kiosk/index.ts +8 -0
  72. package/src/api/payment/index.ts +18 -1
  73. package/src/api/queue/index.ts +39 -0
  74. package/src/api/restaurant-setting/index.ts +14 -0
  75. package/src/locales/en-US.json +197 -26
  76. package/src/locales/ja-JP.json +193 -23
  77. package/src/locales/th-TH.json +193 -21
  78. package/src/locales/zh-CN.json +197 -23
  79. package/src/modules/display-system/interface.spec.ts +26 -1
  80. package/src/modules/display-system/interface.ts +20 -0
  81. package/src/modules/kiosk/interface.ts +4 -0
  82. package/src/modules/kiosk/license.spec.ts +167 -0
  83. package/src/modules/kiosk/license.ts +175 -0
  84. package/src/modules/kiosk/outletLoad.spec.ts +25 -0
  85. package/src/modules/kiosk/outletLoad.ts +19 -0
  86. package/src/modules/kiosk/settingsSections.spec.ts +85 -0
  87. package/src/modules/kiosk/settingsSections.ts +82 -0
  88. package/src/modules/kiosk/useKioskSettings.spec.ts +157 -0
  89. package/src/modules/kiosk/useKioskSettings.ts +61 -0
  90. package/src/modules/payment/paymentDevice.spec.ts +175 -0
  91. package/src/modules/payment/paymentDevice.ts +156 -0
  92. package/src/stores/kiosk/index.ts +16 -1
  93. package/src/stores/kiosk/mapper.ts +2 -0
  94. package/src/stores/order-setting/index.spec.ts +83 -0
  95. package/src/stores/order-setting/index.ts +49 -27
  96. package/src/stores/payment/index.spec.ts +86 -0
  97. package/src/stores/payment/index.ts +48 -2
  98. package/src/views/display-system/DisplayInspector.vue +17 -8
  99. package/src/views/display-system/DisplayTemplateEditor.vue +3 -1
  100. package/src/views/food-court/FoodCourtOrdersView.vue +46 -1
  101. package/src/views/food-court/food-court-export.spec.ts +151 -0
  102. package/src/views/food-court/food-court-export.ts +283 -0
  103. package/src/views/kiosk/KioskStatePanel.vue +2 -2
  104. package/src/views/kiosk/KioskView.vue +219 -82
  105. package/src/views/kiosk/devices/KioskDeviceCard.vue +148 -23
  106. package/src/views/kiosk/devices/KioskDevicesView.vue +48 -10
  107. package/src/views/kiosk/devices/KioskLicenseSummary.vue +79 -0
  108. package/src/views/kiosk/devices/KioskLicensesView.vue +152 -0
  109. package/src/views/kiosk/devices/KioskOtpDialog.vue +41 -1
  110. package/src/views/kiosk/devices/KioskPaymentDeviceCard.spec.ts +97 -0
  111. package/src/views/kiosk/devices/KioskPaymentDeviceCard.vue +221 -0
  112. package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +1 -1
  113. package/src/views/kiosk/settings/KioskSettingView.vue +702 -419
  114. package/src/views/order-settings/delivery/DeliverySetting.vue +4 -0
  115. package/src/views/order-settings/dine-in/DineInSetting.vue +4 -0
  116. package/src/views/order-settings/pickup/PickUpSetting.vue +4 -4
  117. package/src/views/order-settings/pickup/PickUpSettingDialogContent.vue +0 -23
  118. package/src/views/order-settings/pos-status/PosOrderingStatus.spec.ts +207 -0
  119. package/src/views/order-settings/pos-status/PosOrderingStatus.vue +209 -0
  120. package/src/views/order-settings/pos-status/pos-status.spec.ts +103 -0
  121. package/src/views/order-settings/pos-status/pos-status.ts +86 -0
  122. package/src/views/order-settings/queue/QueueSetting.source.spec.ts +43 -0
  123. package/src/views/order-settings/queue/QueueSetting.vue +289 -15
  124. package/src/views/order-settings/queue/called-message.spec.ts +29 -1
  125. package/src/views/order-settings/queue/called-message.ts +18 -0
  126. package/src/views/order-settings/queue/phone-join-mode.spec.ts +90 -0
  127. package/src/views/order-settings/queue/phone-join-mode.ts +49 -0
  128. package/dist/FoodCourtOrdersView-CAPOycT3.js +0 -544
  129. package/dist/KioskDevicesView-B0U9JxRl.js +0 -4
  130. package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-V3ai4FVI.js +0 -937
  131. package/dist/KioskSettingView-rdom_aS8.js +0 -880
  132. package/dist/KioskView-DOON9zR6.js +0 -516
  133. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskDisplayStandSection.vue.d.ts +0 -10
  134. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskInstructionSection.vue.d.ts +0 -15
  135. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPickAtCounterSection.vue.d.ts +0 -10
  136. package/dist/index-CaHG3M7C.js +0 -135
  137. package/src/views/kiosk/settings/KioskDisplayStandSection.vue +0 -189
  138. package/src/views/kiosk/settings/KioskInstructionSection.vue +0 -40
  139. package/src/views/kiosk/settings/KioskPickAtCounterSection.vue +0 -68
@@ -0,0 +1,765 @@
1
+ import { defineComponent as z, computed as I, h as L, resolveComponent as C, openBlock as y, createElementBlock as h, createElementVNode as f, toDisplayString as _, unref as i, createVNode as P, Fragment as g, renderList as de, createBlock as A, resolveDynamicComponent as Le, createCommentVNode as F, normalizeClass as Ae, ref as x, defineAsyncComponent as Ee, watch as j, withDirectives as Re, withCtx as X, vShow as Ke } from "vue";
2
+ import { s as oe, l as N, _ as Fe, a as De, b as Ue, u as ge, c as Ne, d as $e, e as re } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-BCvbeo7R.js";
3
+ import { d as qe } from "./dayjs.min-B3MssMma.js";
4
+ import { useI18n as Q, useCoreStore as Be } from "@feedmepos/mf-common";
5
+ import { components as Me, useDialog as Ve, useSnackbar as je } from "@feedmepos/ui-library";
6
+ import { onBeforeRouteLeave as Xe } from "vue-router";
7
+ import { S as H, a as se } from "./index-BQa8AudZ.js";
8
+ import { defineStore as We } from "pinia";
9
+ import { O as W } from "./index-Dup6kWLX.js";
10
+ import { F as Ge, a as He } from "./order.dto-BD9raQG5.js";
11
+ import { u as Ye } from "./app-CmuI6uSl.js";
12
+ import { u as ze } from "./useInternalUser-CHtaur9A.js";
13
+ import { _ as Qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const Je = { class: "flex flex-col gap-4" }, Ze = { class: "fm-typo-en-title-sm-600 block" }, Se = {
15
+ class: "hidden xs:flex flex-col gap-8",
16
+ "data-testid": "license-list"
17
+ }, Oe = { class: "flex items-center justify-between gap-8" }, ke = { class: "flex flex-col min-w-0" }, ea = { class: "fm-typo-en-body-md-600" }, aa = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary font-mono" }, ta = { class: "grid grid-cols-[auto_1fr] gap-x-12 gap-y-4 fm-typo-en-body-sm-400" }, na = { class: "text-fm-color-typo-secondary" }, la = { key: 1 }, oa = { class: "text-fm-color-typo-secondary" }, ra = { class: "min-w-0 break-words" }, sa = { class: "text-fm-color-typo-secondary" }, ca = {
18
+ key: 1,
19
+ class: "text-center py-32 text-fm-color-typo-secondary fm-typo-en-body-md-400"
20
+ }, ua = /* @__PURE__ */ z({
21
+ __name: "KioskLicensesView",
22
+ props: {
23
+ licenses: {}
24
+ },
25
+ setup(e) {
26
+ const { t: a } = Q(), l = e, r = { IN_USE: 0, FREE: 1, EXPIRED: 2 }, t = I(
27
+ () => {
28
+ var s;
29
+ return [...((s = l.licenses) == null ? void 0 : s.licenses) ?? []].sort(
30
+ (m, b) => r[m.status] - r[b.status] || m.expiredAt.localeCompare(b.expiredAt)
31
+ );
32
+ }
33
+ );
34
+ function n(s) {
35
+ return qe(s).format("DD MMM YYYY");
36
+ }
37
+ function o(s) {
38
+ return a(s === "TABLET" ? "order.licenseTypeTablet" : "order.licenseTypeKiosk");
39
+ }
40
+ function u(s) {
41
+ if (!s.device) return "-";
42
+ const m = De(s.device.deviceAppType, s.type), b = s.device.deviceAppType === "TABLET_APP" ? "licenseTypeTablet" : "licenseTypeKiosk";
43
+ return L("div", { class: "flex flex-col min-w-0" }, [
44
+ L("span", s.device.name || s.device.machineId),
45
+ L(
46
+ "span",
47
+ { class: "fm-typo-en-body-sm-400 text-fm-color-typo-tertiary" },
48
+ m ? `${a(`order.${b}`)} · ${a(m)}` : a(`order.${b}`)
49
+ )
50
+ ]);
51
+ }
52
+ const d = I(() => [
53
+ {
54
+ id: "type",
55
+ header: () => a("order.licenseColumnType"),
56
+ cell: ({ row: s }) => L("div", { class: "flex flex-col" }, [
57
+ L("span", o(s.original.type)),
58
+ L(
59
+ "span",
60
+ { class: "fm-typo-en-body-sm-400 text-fm-color-typo-tertiary font-mono" },
61
+ oe(s.original.id)
62
+ )
63
+ ]),
64
+ enableSorting: !1
65
+ },
66
+ {
67
+ id: "status",
68
+ header: () => a("order.licenseColumnStatus"),
69
+ cell: ({ row: s }) => {
70
+ const m = N(s.original);
71
+ return L(Me.FmChip, { variant: m.variant, label: a(m.labelKey, m.params) });
72
+ },
73
+ enableSorting: !1
74
+ },
75
+ {
76
+ id: "device",
77
+ header: () => a("order.licenseColumnDevice"),
78
+ cell: ({ row: s }) => u(s.original),
79
+ enableSorting: !1
80
+ },
81
+ {
82
+ id: "outlet",
83
+ header: () => a("order.licenseColumnOutlet"),
84
+ cell: ({ row: s }) => {
85
+ var m;
86
+ return ((m = s.original.device) == null ? void 0 : m.restaurantName) || "-";
87
+ },
88
+ enableSorting: !1
89
+ },
90
+ {
91
+ id: "expires",
92
+ header: () => a("order.licenseColumnExpires"),
93
+ cell: ({ row: s }) => n(s.original.expiredAt),
94
+ enableSorting: !1
95
+ }
96
+ ]);
97
+ return (s, m) => {
98
+ var w;
99
+ const b = C("FmTable"), T = C("FmChip");
100
+ return y(), h("div", Je, [
101
+ f("span", Ze, _(i(a)("order.licensesTab")), 1),
102
+ P(Fe, { licenses: e.licenses }, null, 8, ["licenses"]),
103
+ (w = e.licenses) != null && w.verified ? (y(), h(g, { key: 0 }, [
104
+ t.value.length ? (y(), h(g, { key: 0 }, [
105
+ P(b, {
106
+ "row-data": t.value,
107
+ "column-defs": d.value,
108
+ "hide-footer": !0,
109
+ "page-size": 1e3,
110
+ class: "w-full xs:hidden",
111
+ "data-testid": "license-table"
112
+ }, null, 8, ["row-data", "column-defs"]),
113
+ f("div", Se, [
114
+ (y(!0), h(g, null, de(t.value, (v) => {
115
+ var E;
116
+ return y(), h("div", {
117
+ key: v.id,
118
+ class: "border fm-corner-radius-lg p-12 flex flex-col gap-8"
119
+ }, [
120
+ f("div", Oe, [
121
+ f("div", ke, [
122
+ f("span", ea, _(o(v.type)), 1),
123
+ f("span", aa, _(i(oe)(v.id)), 1)
124
+ ]),
125
+ P(T, {
126
+ variant: i(N)(v).variant,
127
+ label: i(a)(i(N)(v).labelKey, i(N)(v).params)
128
+ }, null, 8, ["variant", "label"])
129
+ ]),
130
+ f("div", ta, [
131
+ f("span", na, _(i(a)("order.licenseColumnDevice")), 1),
132
+ v.device ? (y(), A(Le(u(v)), {
133
+ key: 0,
134
+ class: "min-w-0 break-words"
135
+ })) : (y(), h("span", la, "-")),
136
+ f("span", oa, _(i(a)("order.licenseColumnOutlet")), 1),
137
+ f("span", ra, _(((E = v.device) == null ? void 0 : E.restaurantName) || "-"), 1),
138
+ f("span", sa, _(i(a)("order.licenseColumnExpires")), 1),
139
+ f("span", null, _(n(v.expiredAt)), 1)
140
+ ])
141
+ ]);
142
+ }), 128))
143
+ ])
144
+ ], 64)) : (y(), h("div", ca, _(i(a)("order.licensesEmpty")), 1))
145
+ ], 64)) : F("", !0)
146
+ ]);
147
+ };
148
+ }
149
+ }), ia = { class: "flex flex-col gap-5 pb-6" }, da = { class: "fm-typo-en-body-md-400 block" }, pa = { class: "fm-typo-en-title-md-600" }, ma = {
150
+ key: 0,
151
+ class: "flex flex-col gap-2 border-t pt-4",
152
+ "data-testid": "bind-license-plan"
153
+ }, fa = { class: "fm-typo-en-body-md-600" }, va = /* @__PURE__ */ z({
154
+ __name: "KioskOtpDialog",
155
+ props: {
156
+ otp: {},
157
+ licenses: {}
158
+ },
159
+ setup(e) {
160
+ const { t: a } = Q(), l = e, r = I(() => {
161
+ const t = l.licenses;
162
+ if (!(t != null && t.verified)) return [];
163
+ if (t.unlimited)
164
+ return [{ key: "order.bindLicenseUnlimited", icon: "all_inclusive", warn: !1 }];
165
+ const n = Ue(t);
166
+ return [
167
+ n.kiosk === "KIOSK" ? { key: "order.bindLicenseKiosk", icon: "point_of_sale", warn: !1 } : { key: "order.bindLicenseNoKiosk", icon: "warning", warn: !0 },
168
+ n.tablet === "TABLET" ? { key: "order.bindLicenseTablet", icon: "tablet", warn: !1 } : n.tablet === "KIOSK" ? { key: "order.bindLicenseTabletFallback", icon: "tablet", warn: !0 } : { key: "order.bindLicenseNoTablet", icon: "warning", warn: !0 }
169
+ ];
170
+ });
171
+ return (t, n) => {
172
+ const o = C("FmIcon");
173
+ return y(), h("div", ia, [
174
+ f("span", da, _(i(a)("order.bindDeviceMessage")), 1),
175
+ f("div", pa, _(e.otp), 1),
176
+ r.value.length ? (y(), h("div", ma, [
177
+ f("span", fa, _(i(a)("order.bindLicenseTitle")), 1),
178
+ (y(!0), h(g, null, de(r.value, (u) => (y(), h("div", {
179
+ key: u.key,
180
+ class: Ae(["flex items-start gap-2 fm-typo-en-body-md-400", u.warn ? "text-fm-color-system-warning-400" : "text-fm-color-typo-secondary"])
181
+ }, [
182
+ P(o, {
183
+ name: u.icon
184
+ }, null, 8, ["name"]),
185
+ f("span", null, _(i(a)(u.key)), 1)
186
+ ], 2))), 128))
187
+ ])) : F("", !0)
188
+ ]);
189
+ };
190
+ }
191
+ }), ya = "KIOSK_LICENSE_QUOTA_EXHAUSTED";
192
+ function ba(e) {
193
+ return e ? e.status === 403 ? "order.bindDevicePermissionDenied" : e.code === ya || /no quota available/i.test(e.message ?? "") ? "order.bindDeviceNoQuota" : e.status === void 0 ? "order.bindDeviceNetworkError" : "order.bindDeviceFailed" : "order.bindDeviceFailed";
194
+ }
195
+ const _a = {
196
+ enabled: !1,
197
+ prefix: null,
198
+ padDigit: 0,
199
+ standSlotRange: {
200
+ min: 1,
201
+ max: 10
202
+ },
203
+ enablePaxDialog: !1,
204
+ submitOrderInstruction: {
205
+ payAtCounter: null,
206
+ paid: null
207
+ }
208
+ }, ha = {
209
+ enabled: !1,
210
+ submitOrderInstruction: {
211
+ payAtCounter: null,
212
+ paid: null
213
+ },
214
+ enablePaxDialog: !1
215
+ };
216
+ He.parse({});
217
+ const Y = {
218
+ payAtCounter: null,
219
+ paid: null
220
+ }, wa = (e) => {
221
+ var a, l;
222
+ return {
223
+ kiosk: xa(e.kioskSettings, (a = e.sequenceSettings) == null ? void 0 : a.kioskDineIn, (l = e.sequenceSettings) == null ? void 0 : l.kioskShareNumber)
224
+ };
225
+ }, xa = (e, a, l) => {
226
+ var r, t, n, o, u, d, s, m, b, T, w, v;
227
+ return {
228
+ dineIn: Ia(
229
+ a ?? {
230
+ current: 0,
231
+ prefix: "#K"
232
+ },
233
+ (e == null ? void 0 : e.dineIn) ?? void 0
234
+ ),
235
+ takeaway: {
236
+ enabled: (e == null ? void 0 : e.canTakeaway) ?? !1,
237
+ submitOrderInstruction: (r = e == null ? void 0 : e.takeaway) != null && r.submitOrderInstruction ? {
238
+ payAtCounter: ((o = (n = (t = e == null ? void 0 : e.takeaway) == null ? void 0 : t.submitOrderInstruction) == null ? void 0 : n.payAtCounter) == null ? void 0 : o.en) ?? null,
239
+ paid: ((s = (d = (u = e == null ? void 0 : e.takeaway) == null ? void 0 : u.submitOrderInstruction) == null ? void 0 : d.paid) == null ? void 0 : s.en) ?? null
240
+ } : Y
241
+ },
242
+ paymentSetting: {
243
+ paymentTypes: ((m = e == null ? void 0 : e.paymentSetting) == null ? void 0 : m.paymentTypes) ?? [],
244
+ offlinePaymentTypes: ((b = e == null ? void 0 : e.paymentSetting) == null ? void 0 : b.offlinePaymentTypes) ?? [],
245
+ ePaymentTypes: ((T = e == null ? void 0 : e.paymentSetting) == null ? void 0 : T.ePaymentTypes) ?? Ge.parse({
246
+ card: {
247
+ terminal: !1,
248
+ nfc: !1
249
+ },
250
+ eWallet: {
251
+ qrPay: !1,
252
+ scanPay: !1
253
+ }
254
+ })
255
+ },
256
+ menuItem: {
257
+ showAllOnly: ((w = e == null ? void 0 : e.menuItem) == null ? void 0 : w.showAllOnly) ?? !1
258
+ },
259
+ otaChannel: (e == null ? void 0 : e.otaChannel) ?? "",
260
+ coverImageLandscape: (e == null ? void 0 : e.coverImageLandscape) ?? null,
261
+ coverImagePortrait: (e == null ? void 0 : e.coverImagePortrait) ?? null,
262
+ // The cover-image editor works on one list per orientation and writes both
263
+ // this and coverImage* through modules/order-setting/kiosk/coverCarousel.
264
+ // It still has to be read back explicitly: the write side rebuilds
265
+ // kioskSettings field by field and the backend $sets the whole
266
+ // subdocument, so anything not carried here is deleted on the next
267
+ // unrelated save.
268
+ coverCarousel: e == null ? void 0 : e.coverCarousel,
269
+ // Preserve "unset" as null — collapsing to a boolean here is what let an
270
+ // unrelated save overwrite the inherited dineInSettings value.
271
+ autoSendKitchen: (e == null ? void 0 : e.autoSendKitchen) ?? null,
272
+ autoCloseBill: (e == null ? void 0 : e.autoCloseBill) ?? null,
273
+ printReceiptAfterClose: (e == null ? void 0 : e.printReceiptAfterClose) ?? null,
274
+ // Read back purely so the write side can hand it straight back. Nothing in
275
+ // the form touches it; dropping it here deletes it on the next save.
276
+ allowReject: (e == null ? void 0 : e.allowReject) ?? null,
277
+ // Stored [] means the same thing as unset ("all languages"), so collapse it
278
+ // to null here — the form only ever has to reason about null vs a real set.
279
+ languages: (v = e == null ? void 0 : e.languages) != null && v.length ? [...e.languages] : null,
280
+ // KDI-5138. Read back so a save of any other kiosk field keeps it.
281
+ minWeighGrams: (e == null ? void 0 : e.minWeighGrams) ?? null,
282
+ shareNumber: l === !0
283
+ };
284
+ }, ce = "#K", Ca = (e, a) => {
285
+ var t;
286
+ const l = { ...a ?? {} }, r = ((t = e.dineIn.sequenceNumber.prefix) == null ? void 0 : t.trim()) || ce;
287
+ return (a != null && a.kioskDineIn || r !== ce) && (l.kioskDineIn = {
288
+ ...(a == null ? void 0 : a.kioskDineIn) ?? { current: 0 },
289
+ prefix: r
290
+ }), (e.shareNumber || (a == null ? void 0 : a.kioskShareNumber) != null) && (l.kioskShareNumber = e.shareNumber), l;
291
+ }, Ia = (e, a) => {
292
+ var l, r, t, n, o, u, d, s;
293
+ return {
294
+ enabled: !!a,
295
+ sequenceNumber: e,
296
+ pickUp: a != null && a.pickUp ? {
297
+ ...a.pickUp,
298
+ submitOrderInstruction: a.pickUp.submitOrderInstruction ? {
299
+ payAtCounter: ((r = (l = a.pickUp.submitOrderInstruction) == null ? void 0 : l.payAtCounter) == null ? void 0 : r.en) ?? null,
300
+ paid: ((n = (t = a.pickUp.submitOrderInstruction) == null ? void 0 : t.paid) == null ? void 0 : n.en) ?? null
301
+ } : Y,
302
+ enablePaxDialog: a.pickUp.enablePaxDialog ? a.pickUp.enablePaxDialog : !1
303
+ } : ha,
304
+ displayStand: a != null && a.displayStand ? {
305
+ enabled: a.displayStand.enabled,
306
+ standSlotRange: a.displayStand.standSlotRange,
307
+ prefix: a.displayStand.prefix,
308
+ padDigit: a.displayStand.padDigit,
309
+ enablePaxDialog: a.displayStand.enablePaxDialog ?? !1,
310
+ submitOrderInstruction: a.displayStand.submitOrderInstruction ? {
311
+ payAtCounter: ((u = (o = a.displayStand.submitOrderInstruction) == null ? void 0 : o.payAtCounter) == null ? void 0 : u.en) ?? null,
312
+ paid: ((s = (d = a.displayStand.submitOrderInstruction) == null ? void 0 : d.paid) == null ? void 0 : s.en) ?? null
313
+ } : Y
314
+ } : _a
315
+ };
316
+ }, Pa = (e) => {
317
+ const a = (t) => {
318
+ var n, o, u, d;
319
+ return {
320
+ requiredSlot: !!t.displayStand,
321
+ displayStand: {
322
+ ...t.displayStand,
323
+ submitOrderInstruction: {
324
+ payAtCounter: (n = t.displayStand.submitOrderInstruction) != null && n.payAtCounter ? {
325
+ en: t.displayStand.submitOrderInstruction.payAtCounter
326
+ } : null,
327
+ paid: (o = t.displayStand.submitOrderInstruction) != null && o.paid ? {
328
+ en: t.displayStand.submitOrderInstruction.paid
329
+ } : null
330
+ }
331
+ },
332
+ pickUp: {
333
+ ...t.pickUp,
334
+ submitOrderInstruction: {
335
+ payAtCounter: (u = t.pickUp.submitOrderInstruction) != null && u.payAtCounter ? {
336
+ en: t.pickUp.submitOrderInstruction.payAtCounter
337
+ } : null,
338
+ paid: (d = t.pickUp.submitOrderInstruction) != null && d.paid ? {
339
+ en: t.pickUp.submitOrderInstruction.paid
340
+ } : null
341
+ }
342
+ }
343
+ };
344
+ }, l = (t) => {
345
+ var n;
346
+ return {
347
+ canTakeaway: e.takeaway.enabled,
348
+ dineIn: t,
349
+ menuItem: e.menuItem,
350
+ coverImageLandscape: e.coverImageLandscape,
351
+ coverImagePortrait: e.coverImagePortrait,
352
+ // Written straight back; see the read side in toKiosk().
353
+ coverCarousel: e.coverCarousel,
354
+ otaChannel: e.otaChannel || void 0,
355
+ // Omit when unset so the backend's `?? config.autoCloseBill` inheritance
356
+ // still applies — sending `false` here would pin it off for good.
357
+ autoSendKitchen: e.autoSendKitchen ?? void 0,
358
+ autoCloseBill: e.autoCloseBill ?? void 0,
359
+ printReceiptAfterClose: e.printReceiptAfterClose ?? void 0,
360
+ allowReject: e.allowReject ?? void 0,
361
+ // Omit rather than send [] when the merchant restricts nothing, so the
362
+ // saved document stays free of a field that means "all languages" anyway.
363
+ languages: (n = e.languages) != null && n.length ? e.languages : void 0,
364
+ // Omitted when unset: the backend $sets the whole kiosk subdocument, so a
365
+ // cleared minimum is removed instead of being stored as null.
366
+ minWeighGrams: e.minWeighGrams ?? void 0,
367
+ paymentSetting: r(e.paymentSetting),
368
+ takeaway: e.takeaway.submitOrderInstruction ? {
369
+ submitOrderInstruction: {
370
+ payAtCounter: e.takeaway.submitOrderInstruction.payAtCounter ? {
371
+ en: e.takeaway.submitOrderInstruction.payAtCounter
372
+ } : null,
373
+ paid: e.takeaway.submitOrderInstruction.paid ? {
374
+ en: e.takeaway.submitOrderInstruction.paid
375
+ } : null
376
+ }
377
+ } : void 0
378
+ };
379
+ }, r = (t) => ({
380
+ paymentTypes: t.paymentTypes,
381
+ offlinePaymentTypes: t.offlinePaymentTypes,
382
+ ePaymentTypes: t.ePaymentTypes
383
+ });
384
+ return e.dineIn.enabled ? {
385
+ kioskSettings: l(a(e.dineIn)),
386
+ kioskDineIn: e.dineIn.sequenceNumber
387
+ } : {
388
+ kioskSettings: l()
389
+ };
390
+ }, G = {
391
+ convertOrderSettingDto: wa,
392
+ toOrderKioskSettingsDto: Pa,
393
+ toKioskSequenceSettings: Ca
394
+ }, Ta = We("orderSetting", () => {
395
+ const e = x({});
396
+ async function a(n = () => !0) {
397
+ const o = H.getRestaurantId() ?? void 0, u = await W.getOrderSetting();
398
+ n() && t(u, o);
399
+ }
400
+ function l() {
401
+ e.value.orderSetting = void 0, e.value.kiosk = void 0, e.value.restaurantId = void 0;
402
+ }
403
+ async function r(n) {
404
+ const o = e.value.orderSetting, u = H.getRestaurantId() ?? void 0;
405
+ if (!o || !u || e.value.restaurantId !== u)
406
+ throw new Error("Order settings are not loaded for this outlet");
407
+ const { _id: d, ...s } = o, m = G.toOrderKioskSettingsDto(n), b = await W.getOrderSetting(), T = {
408
+ ...s,
409
+ kioskSettings: m.kioskSettings,
410
+ sequenceSettings: G.toKioskSequenceSettings(
411
+ n,
412
+ b.sequenceSettings
413
+ )
414
+ }, w = await W.updateOrderSetting(T);
415
+ t(w, u);
416
+ }
417
+ function t(n, o) {
418
+ e.value.orderSetting = n, e.value.kiosk = G.convertOrderSettingDto(n).kiosk, e.value.restaurantId = o;
419
+ }
420
+ return {
421
+ state: e.value,
422
+ getSetting: a,
423
+ reset: l,
424
+ updateKioskSetting: r
425
+ };
426
+ });
427
+ function La(e, a) {
428
+ return !e.hasToken || !e.restaurantId || e.restaurantId === a ? null : e.restaurantId;
429
+ }
430
+ function Aa(e, a) {
431
+ const l = x("idle");
432
+ let r = 0;
433
+ async function t() {
434
+ const u = ++r, d = () => u === r;
435
+ e.reset(), l.value = "loading";
436
+ try {
437
+ await e.getSetting(d), d() && (l.value = "ready");
438
+ } catch {
439
+ d() && (l.value = "error");
440
+ }
441
+ }
442
+ const n = I(
443
+ () => l.value === "ready" ? e.state.kiosk ?? null : null
444
+ );
445
+ async function o(u) {
446
+ try {
447
+ if (l.value !== "ready")
448
+ throw new Error("Kiosk settings are not loaded for this outlet");
449
+ await e.updateKioskSetting(u);
450
+ } catch (d) {
451
+ throw a.onFailed(), d;
452
+ }
453
+ a.onSaved();
454
+ }
455
+ return { status: l, form: n, load: t, save: o };
456
+ }
457
+ const Ea = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), Ra = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), Ka = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), Fa = /[^\p{L}\d]+/giu, ue = "$1\0$2", ie = "";
458
+ function pe(e) {
459
+ let a = e.trim();
460
+ a = a.replace(Ea, ue).replace(Ra, ue), a = a.replace(Fa, "\0");
461
+ let l = 0, r = a.length;
462
+ for (; a.charAt(l) === "\0"; )
463
+ l++;
464
+ if (l === r)
465
+ return [];
466
+ for (; a.charAt(r - 1) === "\0"; )
467
+ r--;
468
+ return a.slice(l, r).split(/\0/g);
469
+ }
470
+ function Da(e) {
471
+ const a = pe(e);
472
+ for (let l = 0; l < a.length; l++) {
473
+ const r = a[l], t = Ka.exec(r);
474
+ if (t) {
475
+ const n = t.index + (t[1] ?? t[2]).length;
476
+ a.splice(l, 1, r.slice(0, n), r.slice(n));
477
+ }
478
+ }
479
+ return a;
480
+ }
481
+ function Ua(e, a) {
482
+ const [l, r, t] = qa(e, a), n = ga(a == null ? void 0 : a.locale), o = Na(a == null ? void 0 : a.locale);
483
+ return l + r.map($a(n, o)).join(" ") + t;
484
+ }
485
+ function ga(e) {
486
+ return (a) => a.toLocaleLowerCase(e);
487
+ }
488
+ function Na(e) {
489
+ return (a) => a.toLocaleUpperCase(e);
490
+ }
491
+ function $a(e, a) {
492
+ return (l) => `${a(l[0])}${e(l.slice(1))}`;
493
+ }
494
+ function qa(e, a = {}) {
495
+ const l = a.split ?? (a.separateNumbers ? Da : pe), r = a.prefixCharacters ?? ie, t = a.suffixCharacters ?? ie;
496
+ let n = 0, o = e.length;
497
+ for (; n < e.length; ) {
498
+ const u = e.charAt(n);
499
+ if (!r.includes(u))
500
+ break;
501
+ n++;
502
+ }
503
+ for (; o > n; ) {
504
+ const u = o - 1, d = e.charAt(u);
505
+ if (!t.includes(d))
506
+ break;
507
+ o = u;
508
+ }
509
+ return [
510
+ e.slice(0, n),
511
+ l(e.slice(n, o)),
512
+ e.slice(o)
513
+ ];
514
+ }
515
+ const Ba = { class: "py-[1.5rem]" }, Ma = { class: "px-[1.5rem]" }, Va = { class: "flex flex-wrap items-center justify-between gap-x-24 gap-y-8 xs:flex-col xs:items-stretch" }, ja = ["title"], Xa = { class: "pt-[1.5rem]" }, Wa = { class: "flex flex-col gap-10" }, Ga = /* @__PURE__ */ z({
516
+ __name: "KioskView",
517
+ setup(e) {
518
+ var ne;
519
+ const { t: a } = Q(), { canManageOrderSetting: l } = Ye(), { isInternal: r } = ze(), t = Ee(
520
+ () => import("./KioskSettingView-AKBiij9a.js")
521
+ ), n = x("device"), o = ge(), u = Ta(), d = Ne(), s = Ve(), { currentRestaurant: m, restaurants: b, changeRestaurant: T } = Be(), w = je(), v = x(((ne = m.value) == null ? void 0 : ne._id) ?? void 0), E = x(null), $ = x(""), J = x(null), Z = I(() => {
522
+ const c = $.value.trim().toLowerCase();
523
+ return b.value.filter(
524
+ (p) => !c || p.profile.name.toLowerCase().includes(c) || p._id.toLowerCase().includes(c)
525
+ ).map((p) => ({
526
+ label: p.profile.name,
527
+ value: p._id
528
+ }));
529
+ });
530
+ async function me(c) {
531
+ $.value = c;
532
+ }
533
+ function fe(c) {
534
+ var p, K;
535
+ if (!c) {
536
+ $.value = "";
537
+ return;
538
+ }
539
+ (K = (p = J.value) == null ? void 0 : p.querySelector("input")) == null || K.select();
540
+ }
541
+ const D = x(""), q = x(null), B = x(!1), {
542
+ status: ve,
543
+ form: S,
544
+ load: O,
545
+ save: ye
546
+ } = Aa(u, {
547
+ onSaved: () => w.open({ title: a("order.kioskSettingSuccess"), type: "success" }),
548
+ onFailed: () => w.open({ title: a("order.kioskSettingFailed"), type: "error" })
549
+ }), R = x(!1);
550
+ async function k(c) {
551
+ if (c === D.value) return;
552
+ if (R.value && !await V()) {
553
+ v.value = D.value || void 0;
554
+ return;
555
+ }
556
+ R.value = !1;
557
+ const p = b.value.find((K) => K._id == c);
558
+ v.value = c, await T(p);
559
+ }
560
+ j(
561
+ () => {
562
+ var c;
563
+ return {
564
+ hasToken: !!H.getIdToken(),
565
+ restaurantId: (c = m.value) == null ? void 0 : c._id
566
+ };
567
+ },
568
+ (c) => {
569
+ const p = La(c, q.value);
570
+ p && (q.value = p, D.value = p, v.value = p, be());
571
+ },
572
+ { immediate: !0 }
573
+ );
574
+ async function be() {
575
+ o.state.devices = [], o.state.licenses = null, await Promise.all([
576
+ l.value ? O() : Promise.resolve(),
577
+ d.loadCheckouts(),
578
+ ee(),
579
+ M()
580
+ ]);
581
+ }
582
+ function ee() {
583
+ return r.value ? d.loadPaymentDevices() : (d.clearPaymentDevices(), Promise.resolve());
584
+ }
585
+ j(r, (c) => {
586
+ q.value ? ee() : c || d.clearPaymentDevices();
587
+ });
588
+ async function M() {
589
+ E.value = null, B.value = !0, await Promise.all([
590
+ o.getDevices().catch((c) => {
591
+ E.value = c instanceof se && c.status === 403 ? "forbidden" : "error";
592
+ }),
593
+ // Licences are extra information on top of the devices: a failure only shows
594
+ // a note in the summary (the store leaves `licenses` null).
595
+ o.getLicenses().catch(() => {
596
+ })
597
+ ]), B.value = !1;
598
+ }
599
+ const ae = I({
600
+ get: () => n.value,
601
+ set: (c) => {
602
+ if (c !== n.value) {
603
+ if (n.value === "setting" && R.value) {
604
+ V().then((p) => {
605
+ p && (R.value = !1, n.value = c);
606
+ });
607
+ return;
608
+ }
609
+ n.value = c;
610
+ }
611
+ }
612
+ });
613
+ function V() {
614
+ return new Promise((c) => {
615
+ s.open({
616
+ title: a("order.unsavedLeaveTitle"),
617
+ message: a("order.unsavedLeaveMessage"),
618
+ primaryActions: { text: a("order.unsavedLeaveConfirm"), variant: "destructive", close: !0 },
619
+ secondaryActions: { text: a("order.keepEditing"), variant: "tertiary", close: !0 }
620
+ }).onPrimary(() => c(!0)).onClose(() => setTimeout(() => c(!1), 0));
621
+ });
622
+ }
623
+ Xe(async () => R.value ? await V() : !0);
624
+ const _e = I(() => {
625
+ const c = [
626
+ { label: a("order.deviceBinding"), value: "device" },
627
+ { label: a("order.licensesTab"), value: "licenses" }
628
+ ];
629
+ return l.value && c.push({ label: a("order.settings"), value: "setting" }), c;
630
+ }), he = I(() => o.state.devices), te = I(() => o.state.licenses);
631
+ async function we() {
632
+ try {
633
+ await o.requestOtp();
634
+ } catch (c) {
635
+ w.open({
636
+ title: a(ba(c instanceof se ? c : null)),
637
+ type: "error"
638
+ });
639
+ return;
640
+ }
641
+ s.open({
642
+ title: Ua(a("order.bindDevice")),
643
+ contentComponent: va,
644
+ contentComponentProps: {
645
+ otp: o.state.otp,
646
+ licenses: o.state.licenses
647
+ }
648
+ }).onClose(async () => {
649
+ await M();
650
+ });
651
+ }
652
+ return j(
653
+ () => b.value.length,
654
+ async (c) => {
655
+ !m.value && v.value === void 0 && b.value.length > 0 && await k(b.value[0]._id);
656
+ },
657
+ { immediate: !0 }
658
+ ), (c, p) => {
659
+ var le;
660
+ const K = C("FmPageHead"), xe = C("FmTabs"), Ce = C("FmIcon"), Ie = C("FmMenuItem"), Pe = C("FmSelect"), Te = C("FmButton");
661
+ return y(), h("div", Ba, [
662
+ P(K, {
663
+ title: i(a)("order.kiosk")
664
+ }, null, 8, ["title"]),
665
+ f("div", Ma, [
666
+ f("div", Va, [
667
+ P(xe, {
668
+ "model-value": ae.value,
669
+ "onUpdate:modelValue": p[0] || (p[0] = (U) => ae.value = U),
670
+ items: _e.value
671
+ }, null, 8, ["model-value", "items"]),
672
+ Re(f("div", {
673
+ class: "kiosk-outlet-picker w-[360px] max-w-full xs:w-full",
674
+ ref_key: "restaurantPicker",
675
+ ref: J,
676
+ title: (le = i(m)) == null ? void 0 : le.profile.name
677
+ }, [
678
+ P(Pe, {
679
+ modelValue: v.value,
680
+ "onUpdate:modelValue": [
681
+ p[1] || (p[1] = (U) => v.value = U),
682
+ k
683
+ ],
684
+ items: Z.value,
685
+ placeholder: i(a)("order.searchRestaurant"),
686
+ "aria-label": i(a)("order.activateLocation"),
687
+ searchable: "",
688
+ "search-debounce": 150,
689
+ "on-search": me,
690
+ onDropdownChanged: fe
691
+ }, {
692
+ prepend: X(() => [
693
+ P(Ce, {
694
+ name: "storefront",
695
+ size: "md",
696
+ color: "#7d7d7d"
697
+ })
698
+ ]),
699
+ "append-menu": X(() => [
700
+ Z.value.length ? F("", !0) : (y(), A(Ie, {
701
+ key: 0,
702
+ disabled: "",
703
+ label: i(a)("order.noRestaurantFound")
704
+ }, null, 8, ["label"]))
705
+ ]),
706
+ _: 1
707
+ }, 8, ["modelValue", "items", "placeholder", "aria-label"])
708
+ ], 8, ja), [
709
+ [Ke, n.value != "licenses"]
710
+ ])
711
+ ]),
712
+ f("div", Xa, [
713
+ f("div", Wa, [
714
+ n.value == "device" ? (y(), A($e, {
715
+ key: 0,
716
+ devices: he.value,
717
+ licenses: te.value,
718
+ "load-error": E.value,
719
+ loading: B.value,
720
+ onRequestOtp: we,
721
+ onRetry: M
722
+ }, null, 8, ["devices", "licenses", "load-error", "loading"])) : F("", !0),
723
+ n.value == "licenses" ? (y(), A(ua, {
724
+ key: 1,
725
+ licenses: te.value
726
+ }, null, 8, ["licenses"])) : F("", !0),
727
+ n.value == "setting" && i(l) ? (y(), h(g, { key: 2 }, [
728
+ i(ve) === "error" ? (y(), A(re, {
729
+ key: 0,
730
+ icon: "error",
731
+ title: i(a)("order.settingsLoadErrorTitle"),
732
+ message: i(a)("order.settingsLoadErrorMessage")
733
+ }, {
734
+ default: X(() => [
735
+ P(Te, {
736
+ variant: "secondary",
737
+ label: i(a)("order.retry"),
738
+ "prepend-icon": "refresh",
739
+ onClick: i(O)
740
+ }, null, 8, ["label", "onClick"])
741
+ ]),
742
+ _: 1
743
+ }, 8, ["title", "message"])) : i(S) ? (y(), A(i(t), {
744
+ key: `KioskSettingView-${D.value}`,
745
+ "restaurant-id": D.value,
746
+ form: i(S),
747
+ save: i(ye),
748
+ onDirtyChange: p[2] || (p[2] = (U) => R.value = U)
749
+ }, null, 8, ["restaurant-id", "form", "save"])) : (y(), A(re, {
750
+ key: 1,
751
+ icon: "hourglass_empty",
752
+ title: i(a)("order.settingsLoading"),
753
+ message: ""
754
+ }, null, 8, ["title"]))
755
+ ], 64)) : F("", !0)
756
+ ])
757
+ ])
758
+ ])
759
+ ]);
760
+ };
761
+ }
762
+ }), lt = /* @__PURE__ */ Qe(Ga, [["__scopeId", "data-v-3ae3981d"]]);
763
+ export {
764
+ lt as default
765
+ };