@feedmepos/mf-settings 0.0.62-prod → 0.0.63-prod
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-f71c3ea4.js → App-2615cfbb.js} +1 -1
- package/dist/{Business-4501d17b.js → Business-b4a5fe0c.js} +170 -168
- package/dist/{FoodCourt-681673e7.js → FoodCourt-2e122628.js} +1805 -1801
- package/dist/{ReasonTemplate-6cc84a02.js → ReasonTemplate-06a053d7.js} +10 -9
- package/dist/ResponsiveFabButton.vue_vue_type_script_setup_true_lang-8f929a2d.js +38 -0
- package/dist/{Tagging-ec17ef77.js → Tagging-2a5212f1.js} +1 -1
- package/dist/{app-9c271caa.js → app-06c20144.js} +6 -6
- package/dist/app.js +1 -1
- package/dist/apps/mf-settings/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-08a69f88.js +0 -88
- package/dist/packages/shared/src/components/form/RestaurantSelector.vue.d.ts +0 -37
- package/dist/packages/shared/src/components/form/RestaurantSelectorMultiple.vue.d.ts +0 -22
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var $d = Object.defineProperty;
|
|
2
2
|
var Pd = (e, t, r) => t in e ? $d(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var Vs = (e, t, r) => (Pd(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
4
|
-
import { defineComponent as qe, ref as Qe, resolveComponent as ue, openBlock as J, createBlock as Ge, withCtx as ce, withModifiers as Vn, createCommentVNode as vt, renderSlot as At, createElementVNode as
|
|
5
|
-
import { useCoreStore as Ot, useI18n as qt, CustomAttributesForm as Vd } from "@feedmepos/mf-common";
|
|
6
|
-
import { useSnackbar as gi, components as
|
|
7
|
-
import {
|
|
4
|
+
import { defineComponent as qe, ref as Qe, resolveComponent as ue, openBlock as J, createBlock as Ge, withCtx as ce, withModifiers as Vn, createCommentVNode as vt, renderSlot as At, createElementVNode as P, nextTick as Bd, createElementBlock as ae, normalizeClass as He, createTextVNode as ss, toDisplayString as oe, computed as xe, normalizeStyle as ns, createVNode as K, reactive as mi, Fragment as ot, unref as $, renderList as Gt, h as ko, Teleport as Od, Transition as Md, withKeys as Fd, watch as $o, onMounted as Dd, onUnmounted as Ld, toRaw as Po, normalizeProps as Ud, guardReactiveProps as jd, getCurrentInstance as zd, isRef as Bo } from "vue";
|
|
5
|
+
import { useCoreStore as Ot, useI18n as qt, CustomAttributesForm as Vd, RestaurantSelector as Hd } from "@feedmepos/mf-common";
|
|
6
|
+
import { useSnackbar as gi, components as Gd, useDialog as yi, useDialogChild as Kd, useBreakpoints as Sl } from "@feedmepos/ui-library";
|
|
7
|
+
import { _ as qd } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-8f929a2d.js";
|
|
8
8
|
import { _ as Wd, c as Hs } from "./createForm-d3b97d2e.js";
|
|
9
9
|
import { D as bi, u as Rl } from "./dayjs.min-1dcf0c5a.js";
|
|
10
10
|
import { _ as dr, c as Xd } from "./FormSection.vue_vue_type_script_setup_true_lang-6aab82f2.js";
|
|
@@ -14,7 +14,7 @@ import { c as nr } from "./object-27ce045b.js";
|
|
|
14
14
|
import { b as Jd } from "./business-b5512a2c.js";
|
|
15
15
|
import { x as Ei, y as vi, z as Il, u as Ks, A as qs, B as Zd, D as Qd, G as ef, H as tf, I as os, v as er, J as rf, K as sf } from "./map-54b71412.js";
|
|
16
16
|
import { _ as Tl } from "./_plugin-vue_export-helper-dad06003.js";
|
|
17
|
-
import { u as nf } from "./app-
|
|
17
|
+
import { u as nf } from "./app-06c20144.js";
|
|
18
18
|
import { r as Nt } from "./rules-2bee6632.js";
|
|
19
19
|
import "pinia";
|
|
20
20
|
import "@feedmepos/mf-mdm";
|
|
@@ -80,7 +80,7 @@ const af = /* @__PURE__ */ qe({
|
|
|
80
80
|
At(s.$slots, "button")
|
|
81
81
|
]),
|
|
82
82
|
default: ce(() => [
|
|
83
|
-
|
|
83
|
+
P("div", {
|
|
84
84
|
onClick: n[0] || (n[0] = (a) => t.value = !1)
|
|
85
85
|
}, [
|
|
86
86
|
At(s.$slots, "default")
|
|
@@ -146,17 +146,17 @@ const af = /* @__PURE__ */ qe({
|
|
|
146
146
|
return (i, o) => {
|
|
147
147
|
const a = ue("fm-icon"), c = ue("fm-drop-field");
|
|
148
148
|
return n.value ? (J(), ae("div", uf, [
|
|
149
|
-
|
|
149
|
+
P("p", df, [
|
|
150
150
|
ss(oe(r.label) + " ", 1),
|
|
151
|
-
|
|
151
|
+
P("span", ff, oe(i.subLabel), 1)
|
|
152
152
|
]),
|
|
153
|
-
|
|
153
|
+
P("div", {
|
|
154
154
|
class: He(["relative", "border-2 border-dashed border-fm-color-neutral-gray-300 rounded-md"]),
|
|
155
155
|
style: ns({ width: `${r.width}px`, height: `${r.height}px` })
|
|
156
156
|
}, [
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
157
|
+
P("div", hf, [
|
|
158
|
+
P("div", pf, [
|
|
159
|
+
P("img", {
|
|
160
160
|
class: He(["h-full w-full", "object-cover"]),
|
|
161
161
|
src: n.value,
|
|
162
162
|
alt: "product image"
|
|
@@ -183,13 +183,13 @@ const af = /* @__PURE__ */ qe({
|
|
|
183
183
|
onFileUpload: o[1] || (o[1] = (u) => s("update:model-value", u))
|
|
184
184
|
}, {
|
|
185
185
|
label: ce(() => [
|
|
186
|
-
|
|
186
|
+
P("p", gf, [
|
|
187
187
|
ss(oe(r.label) + " ", 1),
|
|
188
|
-
|
|
188
|
+
P("span", yf, oe(r.subLabel), 1)
|
|
189
189
|
])
|
|
190
190
|
]),
|
|
191
191
|
"accept-text": ce(() => o[2] || (o[2] = [
|
|
192
|
-
|
|
192
|
+
P("p", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Accepts .jpg, .jpeg, .png, .gif ", -1)
|
|
193
193
|
])),
|
|
194
194
|
_: 1
|
|
195
195
|
}, 8, ["style"]));
|
|
@@ -8895,7 +8895,7 @@ const Mn = {
|
|
|
8895
8895
|
id: "unit-form",
|
|
8896
8896
|
modelValue: u.value,
|
|
8897
8897
|
"onUpdate:modelValue": b[4] || (b[4] = (N) => u.value = N),
|
|
8898
|
-
"is-container":
|
|
8898
|
+
"is-container": $(Gd).FmForm,
|
|
8899
8899
|
"is-container-props": {
|
|
8900
8900
|
onValidationSuccess: m,
|
|
8901
8901
|
blameFormChildOnValidationFailed: !0
|
|
@@ -8904,19 +8904,19 @@ const Mn = {
|
|
|
8904
8904
|
"z-index": 100
|
|
8905
8905
|
}, {
|
|
8906
8906
|
"side-sheet-header": ce(() => [
|
|
8907
|
-
|
|
8907
|
+
P("p", kE, oe($(d)("settings.business.form.title")), 1)
|
|
8908
8908
|
]),
|
|
8909
8909
|
"side-sheet-footer": ce(() => [
|
|
8910
|
-
|
|
8910
|
+
P("div", PE, [
|
|
8911
8911
|
K(_, {
|
|
8912
|
-
label:
|
|
8912
|
+
label: $(d)("common.update"),
|
|
8913
8913
|
loading: c.value,
|
|
8914
8914
|
size: "lg",
|
|
8915
8915
|
type: "submit",
|
|
8916
8916
|
variant: "primary"
|
|
8917
8917
|
}, null, 8, ["label", "loading"]),
|
|
8918
8918
|
K(_, {
|
|
8919
|
-
label:
|
|
8919
|
+
label: $(d)("common.cancel"),
|
|
8920
8920
|
size: "lg",
|
|
8921
8921
|
variant: "tertiary",
|
|
8922
8922
|
onClick: b[3] || (b[3] = () => u.value = !1)
|
|
@@ -8924,41 +8924,41 @@ const Mn = {
|
|
|
8924
8924
|
])
|
|
8925
8925
|
]),
|
|
8926
8926
|
default: ce(() => [
|
|
8927
|
-
|
|
8928
|
-
|
|
8927
|
+
P("div", $E, [
|
|
8928
|
+
P("div", null, [
|
|
8929
8929
|
K(tr, {
|
|
8930
|
-
label:
|
|
8931
|
-
"sub-label":
|
|
8930
|
+
label: $(d)("settings.business.form.cover_photo.label"),
|
|
8931
|
+
"sub-label": $(d)("settings.business.form.cover_photo.optional"),
|
|
8932
8932
|
"previous-url": o.thumbnail,
|
|
8933
8933
|
modelValue: o.newThumbnail,
|
|
8934
8934
|
"onUpdate:modelValue": b[0] || (b[0] = (N) => o.newThumbnail = N),
|
|
8935
8935
|
"onReset:modelValue": f
|
|
8936
8936
|
}, null, 8, ["label", "sub-label", "previous-url", "modelValue"])
|
|
8937
8937
|
]),
|
|
8938
|
-
|
|
8938
|
+
P("div", null, [
|
|
8939
8939
|
K(w, {
|
|
8940
|
-
label:
|
|
8940
|
+
label: $(d)("settings.business.form.name"),
|
|
8941
8941
|
modelValue: o.name,
|
|
8942
8942
|
"onUpdate:modelValue": b[1] || (b[1] = (N) => o.name = N)
|
|
8943
8943
|
}, null, 8, ["label", "modelValue"])
|
|
8944
8944
|
]),
|
|
8945
|
-
|
|
8945
|
+
P("div", null, [
|
|
8946
8946
|
K(w, {
|
|
8947
|
-
label:
|
|
8947
|
+
label: $(d)("settings.business.form.url.label"),
|
|
8948
8948
|
"model-value": o.url || "",
|
|
8949
8949
|
"onUpdate:modelValue": b[2] || (b[2] = (N) => o.url = N),
|
|
8950
8950
|
placeholder: e.businessId,
|
|
8951
8951
|
rules: [
|
|
8952
8952
|
(N) => {
|
|
8953
8953
|
var F;
|
|
8954
|
-
return !N || ((F = e.initialValue) == null ? void 0 : F.url) == o.url || a.value ==
|
|
8954
|
+
return !N || ((F = e.initialValue) == null ? void 0 : F.url) == o.url || a.value == $(wi.F_COUNTRY).enum.MY || $(d)("settings.business.form.url.errors.disabled");
|
|
8955
8955
|
},
|
|
8956
|
-
(N) => !N ||
|
|
8957
|
-
(N) => !N ||
|
|
8956
|
+
(N) => !N || $(Nl).test(N) || $(d)("settings.business.form.url.errors.format"),
|
|
8957
|
+
(N) => !N || !$(kl).includes(N) || $(d)("settings.business.form.url.errors.reserved")
|
|
8958
8958
|
]
|
|
8959
8959
|
}, {
|
|
8960
8960
|
prepend: ce(() => [
|
|
8961
|
-
|
|
8961
|
+
P("span", null, oe($(i) + "/"), 1)
|
|
8962
8962
|
]),
|
|
8963
8963
|
_: 1
|
|
8964
8964
|
}, 8, ["label", "model-value", "placeholder", "rules"])
|
|
@@ -8981,7 +8981,7 @@ const Mn = {
|
|
|
8981
8981
|
const t = e, r = xe(() => t.optional && !t.subLabel ? "(optional)" : t.subLabel);
|
|
8982
8982
|
return (s, n) => (J(), ae("p", OE, [
|
|
8983
8983
|
ss(oe(s.label) + " ", 1),
|
|
8984
|
-
|
|
8984
|
+
P("span", ME, oe(r.value), 1)
|
|
8985
8985
|
]));
|
|
8986
8986
|
}
|
|
8987
8987
|
}), FE = { class: "space-y-4" }, DE = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, LE = { class: "fm-typo-en-body-lg-600" }, Kc = /* @__PURE__ */ qe({
|
|
@@ -8998,14 +8998,14 @@ const Mn = {
|
|
|
8998
8998
|
},
|
|
8999
8999
|
setup(e) {
|
|
9000
9000
|
return (t, r) => (J(), ae("div", FE, [
|
|
9001
|
-
|
|
9002
|
-
|
|
9001
|
+
P("div", DE, oe(e.name), 1),
|
|
9002
|
+
P("div", LE, oe(e.value), 1)
|
|
9003
9003
|
]));
|
|
9004
9004
|
}
|
|
9005
9005
|
}), UE = {};
|
|
9006
9006
|
function jE(e, t) {
|
|
9007
9007
|
return J(), ae("div", null, t[0] || (t[0] = [
|
|
9008
|
-
|
|
9008
|
+
P("div", { class: "h-px w-full bg-fm-color-neutral-gray-100" }, null, -1)
|
|
9009
9009
|
]));
|
|
9010
9010
|
}
|
|
9011
9011
|
const zE = /* @__PURE__ */ Tl(UE, [["render", jE]]), VE = {
|
|
@@ -9036,7 +9036,7 @@ const zE = /* @__PURE__ */ Tl(UE, [["render", jE]]), VE = {
|
|
|
9036
9036
|
return (n, i) => {
|
|
9037
9037
|
const o = ue("FmButton");
|
|
9038
9038
|
return t.variant === "full" ? (J(), ae("div", VE, [
|
|
9039
|
-
|
|
9039
|
+
P("div", HE, oe(n.title), 1),
|
|
9040
9040
|
K(zE),
|
|
9041
9041
|
(J(!0), ae(ot, null, Gt(n.items, (a) => (J(), Ge(Kc, {
|
|
9042
9042
|
key: a.name,
|
|
@@ -9091,8 +9091,8 @@ const zE = /* @__PURE__ */ Tl(UE, [["render", jE]]), VE = {
|
|
|
9091
9091
|
onKeyup: Fd(n, ["esc"])
|
|
9092
9092
|
}, {
|
|
9093
9093
|
default: ce(() => [
|
|
9094
|
-
|
|
9095
|
-
|
|
9094
|
+
P("div", GE, [
|
|
9095
|
+
P("p", KE, oe(i.title), 1),
|
|
9096
9096
|
At(i.$slots, "append-title", {}, void 0, !0),
|
|
9097
9097
|
(J(!0), ae(ot, null, Gt(i.secondaryActions, (u) => (J(), Ge(a, {
|
|
9098
9098
|
label: u.label,
|
|
@@ -9105,7 +9105,7 @@ const zE = /* @__PURE__ */ Tl(UE, [["render", jE]]), VE = {
|
|
|
9105
9105
|
variant: "primary"
|
|
9106
9106
|
}, null, 8, ["label"])
|
|
9107
9107
|
]),
|
|
9108
|
-
|
|
9108
|
+
P("div", qE, [
|
|
9109
9109
|
At(i.$slots, "default", {}, void 0, !0)
|
|
9110
9110
|
])
|
|
9111
9111
|
]),
|
|
@@ -10187,25 +10187,25 @@ const Ar = {
|
|
|
10187
10187
|
}
|
|
10188
10188
|
},
|
|
10189
10189
|
setup(e) {
|
|
10190
|
-
const { t } = qt(), r = e, { emitData: s } =
|
|
10190
|
+
const { t } = qt(), r = e, { emitData: s } = Kd(), n = mi(
|
|
10191
10191
|
nr(r.coordinate ? r.coordinate : os.jb)
|
|
10192
10192
|
);
|
|
10193
10193
|
function i({ position: o }) {
|
|
10194
10194
|
n.lat = o.lat, n.lng = o.lng, s(n);
|
|
10195
10195
|
}
|
|
10196
10196
|
return s(n), (o, a) => (J(), ae("div", Kx, [
|
|
10197
|
-
|
|
10198
|
-
|
|
10199
|
-
|
|
10200
|
-
|
|
10197
|
+
P("div", null, [
|
|
10198
|
+
P("div", qx, [
|
|
10199
|
+
P("div", null, oe($(t)("settings.coordinate_dialog.address")) + ":", 1),
|
|
10200
|
+
P("div", null, oe(e.address || "--"), 1)
|
|
10201
10201
|
]),
|
|
10202
|
-
|
|
10203
|
-
|
|
10204
|
-
|
|
10202
|
+
P("div", Wx, [
|
|
10203
|
+
P("div", null, oe($(t)("settings.coordinate_dialog.latitude")) + ":", 1),
|
|
10204
|
+
P("div", null, oe(n.lat), 1)
|
|
10205
10205
|
]),
|
|
10206
|
-
|
|
10207
|
-
|
|
10208
|
-
|
|
10206
|
+
P("div", Xx, [
|
|
10207
|
+
P("div", null, oe($(t)("settings.coordinate_dialog.longitude")) + ":", 1),
|
|
10208
|
+
P("div", null, oe(n.lng), 1)
|
|
10209
10209
|
])
|
|
10210
10210
|
]),
|
|
10211
10211
|
K(Gx, {
|
|
@@ -10283,7 +10283,7 @@ const Ar = {
|
|
|
10283
10283
|
return J(), Ge(b, {
|
|
10284
10284
|
modelValue: o.value,
|
|
10285
10285
|
"onUpdate:modelValue": m[0] || (m[0] = (w) => o.value = w),
|
|
10286
|
-
label:
|
|
10286
|
+
label: $(r)("settings.coordinate_input.title")
|
|
10287
10287
|
}, {
|
|
10288
10288
|
default: ce(() => [
|
|
10289
10289
|
K(E, {
|
|
@@ -10303,9 +10303,9 @@ const Ar = {
|
|
|
10303
10303
|
]),
|
|
10304
10304
|
default: ce(() => [
|
|
10305
10305
|
At(f.$slots, "default", {}, () => [
|
|
10306
|
-
|
|
10306
|
+
P("div", {
|
|
10307
10307
|
class: He([[o.value ? "text-fm-color-typo-primary" : "text-fm-color-typo-tertiary"], "break-all fm-typo-en-body-lg-400 line-clamp-1"])
|
|
10308
|
-
}, oe(o.value ? a.value :
|
|
10308
|
+
}, oe(o.value ? a.value : $(r)("settings.coordinate_input.not_set")), 3)
|
|
10309
10309
|
])
|
|
10310
10310
|
]),
|
|
10311
10311
|
_: 3
|
|
@@ -10399,7 +10399,7 @@ const Ar = {
|
|
|
10399
10399
|
key: Z.value,
|
|
10400
10400
|
class: "flex flex-col items-start"
|
|
10401
10401
|
}, [
|
|
10402
|
-
|
|
10402
|
+
P("div", Zx, [
|
|
10403
10403
|
K(N, {
|
|
10404
10404
|
"model-value": u.value,
|
|
10405
10405
|
label: Z.label,
|
|
@@ -10407,8 +10407,8 @@ const Ar = {
|
|
|
10407
10407
|
"onUpdate:modelValue": f
|
|
10408
10408
|
}, null, 8, ["model-value", "label", "value"])
|
|
10409
10409
|
]),
|
|
10410
|
-
|
|
10411
|
-
|
|
10410
|
+
P("div", Qx, [
|
|
10411
|
+
P("div", null, [
|
|
10412
10412
|
u.value.includes(Z.value) ? (J(!0), ae(ot, { key: 0 }, Gt(c.value[Z.value], (Ae, p) => (J(), ae("div", {
|
|
10413
10413
|
key: p,
|
|
10414
10414
|
class: "flex items-center gap-8"
|
|
@@ -10417,9 +10417,9 @@ const Ar = {
|
|
|
10417
10417
|
"model-value": Ae.start,
|
|
10418
10418
|
"onUpdate:modelValue": (y) => E(Z.value, p, y)
|
|
10419
10419
|
}, null, 8, ["model-value", "onUpdate:modelValue"]),
|
|
10420
|
-
|
|
10420
|
+
P("span", {
|
|
10421
10421
|
class: He([["text-fm-color-typo-tertiary"], "fm-typo-en-body-lg-400"])
|
|
10422
|
-
}, oe(
|
|
10422
|
+
}, oe($(i)("settings.operation_hours.to")), 1),
|
|
10423
10423
|
K(F, {
|
|
10424
10424
|
"model-value": Ae.end,
|
|
10425
10425
|
"onUpdate:modelValue": (y) => b(Z.value, p, y)
|
|
@@ -10439,20 +10439,20 @@ const Ar = {
|
|
|
10439
10439
|
]))), 128)) : (J(), ae("div", eA, [
|
|
10440
10440
|
K(le, null, {
|
|
10441
10441
|
default: ce(() => [
|
|
10442
|
-
|
|
10442
|
+
P("div", {
|
|
10443
10443
|
class: He([["text-fm-color-typo-tertiary"], "break-all fm-typo-en-body-lg-400 line-clamp-1"])
|
|
10444
|
-
}, oe(
|
|
10444
|
+
}, oe($(i)("settings.operation_hours.close")), 1)
|
|
10445
10445
|
]),
|
|
10446
10446
|
_: 1
|
|
10447
10447
|
}),
|
|
10448
|
-
|
|
10448
|
+
P("span", {
|
|
10449
10449
|
class: He([["text-fm-color-typo-tertiary"], "fm-typo-en-body-lg-400"])
|
|
10450
|
-
}, oe(
|
|
10450
|
+
}, oe($(i)("settings.operation_hours.to")), 1),
|
|
10451
10451
|
K(le, null, {
|
|
10452
10452
|
default: ce(() => [
|
|
10453
|
-
|
|
10453
|
+
P("div", {
|
|
10454
10454
|
class: He([["text-fm-color-typo-tertiary"], "break-all fm-typo-en-body-lg-400 line-clamp-1"])
|
|
10455
|
-
}, oe(
|
|
10455
|
+
}, oe($(i)("settings.operation_hours.close")), 1)
|
|
10456
10456
|
]),
|
|
10457
10457
|
_: 1
|
|
10458
10458
|
})
|
|
@@ -10485,60 +10485,60 @@ const Ar = {
|
|
|
10485
10485
|
return (c, u) => {
|
|
10486
10486
|
const l = ue("FmTextField");
|
|
10487
10487
|
return J(), ae("div", rA, [
|
|
10488
|
-
|
|
10489
|
-
|
|
10488
|
+
P("div", sA, [
|
|
10489
|
+
P("div", nA, [
|
|
10490
10490
|
K(l, {
|
|
10491
10491
|
"model-value": i.value.line1,
|
|
10492
|
-
label:
|
|
10492
|
+
label: $(r)("settings.address.line1"),
|
|
10493
10493
|
"label-mark": "required",
|
|
10494
|
-
rules: [
|
|
10494
|
+
rules: [$(Nt)],
|
|
10495
10495
|
"onUpdate:modelValue": u[0] || (u[0] = (f) => a((m) => ({ ...m, line1: o(f) })))
|
|
10496
10496
|
}, null, 8, ["model-value", "label", "rules"])
|
|
10497
10497
|
]),
|
|
10498
|
-
|
|
10498
|
+
P("div", iA, [
|
|
10499
10499
|
K(l, {
|
|
10500
10500
|
"model-value": i.value.line2,
|
|
10501
|
-
label:
|
|
10501
|
+
label: $(r)("settings.address.line2"),
|
|
10502
10502
|
"onUpdate:modelValue": u[1] || (u[1] = (f) => a((m) => ({ ...m, line2: o(f) })))
|
|
10503
10503
|
}, null, 8, ["model-value", "label"])
|
|
10504
10504
|
])
|
|
10505
10505
|
]),
|
|
10506
|
-
|
|
10507
|
-
|
|
10506
|
+
P("div", oA, [
|
|
10507
|
+
P("div", aA, [
|
|
10508
10508
|
K(l, {
|
|
10509
10509
|
"model-value": i.value.city,
|
|
10510
|
-
rules: [
|
|
10511
|
-
label:
|
|
10510
|
+
rules: [$(Nt)],
|
|
10511
|
+
label: $(r)("settings.address.city"),
|
|
10512
10512
|
"label-mark": "required",
|
|
10513
10513
|
"onUpdate:modelValue": u[2] || (u[2] = (f) => a((m) => ({ ...m, city: o(f) })))
|
|
10514
10514
|
}, null, 8, ["model-value", "rules", "label"])
|
|
10515
10515
|
]),
|
|
10516
|
-
|
|
10516
|
+
P("div", cA, [
|
|
10517
10517
|
K(l, {
|
|
10518
10518
|
"model-value": i.value.postcode,
|
|
10519
|
-
label:
|
|
10519
|
+
label: $(r)("settings.address.postal_code"),
|
|
10520
10520
|
"label-mark": "required",
|
|
10521
|
-
rules: [
|
|
10521
|
+
rules: [$(Nt)],
|
|
10522
10522
|
"onUpdate:modelValue": u[3] || (u[3] = (f) => a((m) => ({ ...m, postcode: o(f) })))
|
|
10523
10523
|
}, null, 8, ["model-value", "label", "rules"])
|
|
10524
10524
|
])
|
|
10525
10525
|
]),
|
|
10526
|
-
|
|
10527
|
-
|
|
10526
|
+
P("div", lA, [
|
|
10527
|
+
P("div", uA, [
|
|
10528
10528
|
K(l, {
|
|
10529
10529
|
"model-value": i.value.state,
|
|
10530
|
-
label:
|
|
10530
|
+
label: $(r)("settings.address.state"),
|
|
10531
10531
|
"label-mark": "required",
|
|
10532
|
-
rules: [
|
|
10532
|
+
rules: [$(Nt)],
|
|
10533
10533
|
"onUpdate:modelValue": u[4] || (u[4] = (f) => a((m) => ({ ...m, state: o(f) })))
|
|
10534
10534
|
}, null, 8, ["model-value", "label", "rules"])
|
|
10535
10535
|
]),
|
|
10536
|
-
|
|
10536
|
+
P("div", dA, [
|
|
10537
10537
|
K(l, {
|
|
10538
10538
|
"model-value": i.value.country,
|
|
10539
|
-
label:
|
|
10539
|
+
label: $(r)("settings.address.country"),
|
|
10540
10540
|
"label-mark": "required",
|
|
10541
|
-
rules: [
|
|
10541
|
+
rules: [$(Nt)],
|
|
10542
10542
|
"onUpdate:modelValue": u[5] || (u[5] = (f) => a((m) => ({ ...m, country: o(f) })))
|
|
10543
10543
|
}, null, 8, ["model-value", "label", "rules"])
|
|
10544
10544
|
])
|
|
@@ -10800,15 +10800,15 @@ const pA = () => {
|
|
|
10800
10800
|
K(XE, {
|
|
10801
10801
|
title: _.value,
|
|
10802
10802
|
show: l.value,
|
|
10803
|
-
"primary-action": { label:
|
|
10803
|
+
"primary-action": { label: $(w)("common.save") },
|
|
10804
10804
|
"secondary-actions": [
|
|
10805
|
-
{ label:
|
|
10805
|
+
{ label: $(w)("settings.business.restaurant.actions.discard"), click: () => l.value = !1 }
|
|
10806
10806
|
],
|
|
10807
10807
|
onOnPrimary: z,
|
|
10808
10808
|
onOnCancel: O[17] || (O[17] = (ee) => l.value = !1)
|
|
10809
10809
|
}, {
|
|
10810
10810
|
"append-title": ce(() => [
|
|
10811
|
-
|
|
10811
|
+
$(B)("sm") ? (J(), Ge(qc, {
|
|
10812
10812
|
key: 0,
|
|
10813
10813
|
variant: "dialog",
|
|
10814
10814
|
title: x.value.title,
|
|
@@ -10816,102 +10816,102 @@ const pA = () => {
|
|
|
10816
10816
|
}, null, 8, ["title", "items"])) : vt("", !0)
|
|
10817
10817
|
]),
|
|
10818
10818
|
default: ce(() => [
|
|
10819
|
-
|
|
10820
|
-
|
|
10819
|
+
P("div", mA, [
|
|
10820
|
+
P("div", {
|
|
10821
10821
|
ref_key: "formWrapper",
|
|
10822
10822
|
ref: D,
|
|
10823
10823
|
class: "py-24 pr-[400px] w-[1150px] xs:pr-0 sm:pr-0 xs:w-full"
|
|
10824
10824
|
}, [
|
|
10825
|
-
|
|
10825
|
+
$(B)("sm") ? vt("", !0) : (J(), Ge(qc, {
|
|
10826
10826
|
key: 0,
|
|
10827
10827
|
class: "fixed",
|
|
10828
10828
|
style: ns({
|
|
10829
10829
|
top: "85px",
|
|
10830
|
-
left:
|
|
10830
|
+
left: $(q).right - 400 + "px"
|
|
10831
10831
|
}),
|
|
10832
10832
|
variant: "full",
|
|
10833
10833
|
title: x.value.title,
|
|
10834
10834
|
items: x.value.items
|
|
10835
10835
|
}, null, 8, ["style", "title", "items"])),
|
|
10836
|
-
|
|
10836
|
+
P("div", gA, [
|
|
10837
10837
|
K(dr, {
|
|
10838
|
-
title:
|
|
10838
|
+
title: $(w)("settings.business.restaurant.form.sections.basic_info.title")
|
|
10839
10839
|
}, {
|
|
10840
10840
|
default: ce(() => {
|
|
10841
10841
|
var ee, Ue;
|
|
10842
10842
|
return [
|
|
10843
|
-
|
|
10844
|
-
|
|
10843
|
+
P("div", yA, [
|
|
10844
|
+
P("div", null, [
|
|
10845
10845
|
K(H, {
|
|
10846
|
-
label:
|
|
10846
|
+
label: $(w)("settings.business.restaurant.form.sections.basic_info.code.label"),
|
|
10847
10847
|
modelValue: d.code,
|
|
10848
10848
|
"onUpdate:modelValue": O[0] || (O[0] = (ge) => d.code = ge),
|
|
10849
10849
|
"label-mark": "optional",
|
|
10850
|
-
"helper-text":
|
|
10850
|
+
"helper-text": $(w)("settings.business.restaurant.form.sections.basic_info.code.helper"),
|
|
10851
10851
|
disabled: ((ee = m.value) == null ? void 0 : ee.code) !== void 0 && ((Ue = m.value) == null ? void 0 : Ue.code) !== null
|
|
10852
10852
|
}, null, 8, ["label", "modelValue", "helper-text", "disabled"])
|
|
10853
10853
|
]),
|
|
10854
|
-
|
|
10854
|
+
P("div", null, [
|
|
10855
10855
|
K(H, {
|
|
10856
|
-
label:
|
|
10856
|
+
label: $(w)("settings.business.restaurant.form.sections.basic_info.name.label"),
|
|
10857
10857
|
modelValue: d.name,
|
|
10858
10858
|
"onUpdate:modelValue": O[1] || (O[1] = (ge) => d.name = ge),
|
|
10859
10859
|
"label-mark": "required",
|
|
10860
|
-
rules: [
|
|
10860
|
+
rules: [$(Nt)]
|
|
10861
10861
|
}, null, 8, ["label", "modelValue", "rules"])
|
|
10862
10862
|
]),
|
|
10863
|
-
|
|
10863
|
+
P("div", null, [
|
|
10864
10864
|
K(H, {
|
|
10865
|
-
label:
|
|
10865
|
+
label: $(w)("settings.business.restaurant.form.sections.basic_info.legal_name.label"),
|
|
10866
10866
|
modelValue: d.legalName,
|
|
10867
10867
|
"onUpdate:modelValue": O[2] || (O[2] = (ge) => d.legalName = ge),
|
|
10868
10868
|
"label-mark": "required",
|
|
10869
|
-
rules: [
|
|
10869
|
+
rules: [$(Nt)]
|
|
10870
10870
|
}, null, 8, ["label", "modelValue", "rules"])
|
|
10871
10871
|
]),
|
|
10872
|
-
|
|
10872
|
+
P("div", null, [
|
|
10873
10873
|
K(H, {
|
|
10874
|
-
label:
|
|
10874
|
+
label: $(w)("settings.business.restaurant.form.sections.basic_info.reg_no.label"),
|
|
10875
10875
|
modelValue: d.regNo,
|
|
10876
10876
|
"onUpdate:modelValue": O[3] || (O[3] = (ge) => d.regNo = ge),
|
|
10877
10877
|
"label-mark": "required",
|
|
10878
|
-
rules: [
|
|
10878
|
+
rules: [$(Nt)]
|
|
10879
10879
|
}, null, 8, ["label", "modelValue", "rules"])
|
|
10880
10880
|
]),
|
|
10881
|
-
|
|
10881
|
+
P("div", null, [
|
|
10882
10882
|
K(H, {
|
|
10883
10883
|
modelValue: d.sstRegNo,
|
|
10884
10884
|
"onUpdate:modelValue": O[4] || (O[4] = (ge) => d.sstRegNo = ge),
|
|
10885
|
-
label:
|
|
10885
|
+
label: $(w)("settings.business.restaurant.form.sections.basic_info.tax_no.label"),
|
|
10886
10886
|
"label-mark": "optional"
|
|
10887
10887
|
}, null, 8, ["modelValue", "label"])
|
|
10888
10888
|
]),
|
|
10889
|
-
|
|
10890
|
-
|
|
10889
|
+
P("div", bA, [
|
|
10890
|
+
P("div", wA, [
|
|
10891
10891
|
K(se, {
|
|
10892
10892
|
class: "w-full",
|
|
10893
|
-
label:
|
|
10893
|
+
label: $(w)("settings.business.restaurant.form.sections.basic_info.contact.label"),
|
|
10894
10894
|
modelValue: d.phoneNo,
|
|
10895
10895
|
"onUpdate:modelValue": O[5] || (O[5] = (ge) => d.phoneNo = ge),
|
|
10896
10896
|
"label-mark": "optional",
|
|
10897
|
-
"extra-country-codes":
|
|
10897
|
+
"extra-country-codes": $(o),
|
|
10898
10898
|
"default-country": b.value
|
|
10899
10899
|
}, null, 8, ["label", "modelValue", "extra-country-codes", "default-country"])
|
|
10900
10900
|
]),
|
|
10901
|
-
|
|
10901
|
+
P("div", EA, [
|
|
10902
10902
|
K(H, {
|
|
10903
10903
|
class: "w-full",
|
|
10904
10904
|
modelValue: d.email,
|
|
10905
10905
|
"onUpdate:modelValue": O[6] || (O[6] = (ge) => d.email = ge),
|
|
10906
|
-
label:
|
|
10906
|
+
label: $(w)("settings.business.restaurant.form.sections.basic_info.email.label"),
|
|
10907
10907
|
"label-mark": "optional"
|
|
10908
10908
|
}, null, 8, ["modelValue", "label"])
|
|
10909
10909
|
])
|
|
10910
10910
|
]),
|
|
10911
|
-
|
|
10911
|
+
P("div", null, [
|
|
10912
10912
|
K(tr, {
|
|
10913
|
-
label:
|
|
10914
|
-
"sub-label":
|
|
10913
|
+
label: $(w)("settings.business.restaurant.form.sections.basic_info.image.label"),
|
|
10914
|
+
"sub-label": $(w)("settings.business.restaurant.form.sections.basic_info.image.optional"),
|
|
10915
10915
|
"previous-url": d.thumbnailPhoto,
|
|
10916
10916
|
modelValue: d.newThumbnailPhoto,
|
|
10917
10917
|
"onUpdate:modelValue": O[7] || (O[7] = (ge) => d.newThumbnailPhoto = ge),
|
|
@@ -10923,14 +10923,14 @@ const pA = () => {
|
|
|
10923
10923
|
}),
|
|
10924
10924
|
_: 1
|
|
10925
10925
|
}, 8, ["title"]),
|
|
10926
|
-
|
|
10927
|
-
O[18] || (O[18] =
|
|
10926
|
+
$(i).length > 0 ? (J(), ae(ot, { key: 0 }, [
|
|
10927
|
+
O[18] || (O[18] = P("div", { class: "w-full h-[2px] bg-fm-color-neutral-gray-100" }, null, -1)),
|
|
10928
10928
|
K(dr, {
|
|
10929
|
-
title:
|
|
10930
|
-
"sub-title":
|
|
10929
|
+
title: $(w)("settings.restaurantTagging.title"),
|
|
10930
|
+
"sub-title": $(w)("settings.restaurantTagging.subtitle")
|
|
10931
10931
|
}, {
|
|
10932
10932
|
default: ce(() => [
|
|
10933
|
-
K(
|
|
10933
|
+
K($(Vd), {
|
|
10934
10934
|
entity: "restaurant",
|
|
10935
10935
|
modelValue: I.value,
|
|
10936
10936
|
"onUpdate:modelValue": O[8] || (O[8] = (ee) => I.value = ee)
|
|
@@ -10939,12 +10939,12 @@ const pA = () => {
|
|
|
10939
10939
|
_: 1
|
|
10940
10940
|
}, 8, ["title", "sub-title"])
|
|
10941
10941
|
], 64)) : vt("", !0),
|
|
10942
|
-
O[19] || (O[19] =
|
|
10942
|
+
O[19] || (O[19] = P("div", { class: "w-full h-[2px] bg-fm-color-neutral-gray-100" }, null, -1)),
|
|
10943
10943
|
K(dr, {
|
|
10944
|
-
title:
|
|
10944
|
+
title: $(w)("settings.business.restaurant.form.sections.address.title")
|
|
10945
10945
|
}, {
|
|
10946
10946
|
default: ce(() => [
|
|
10947
|
-
|
|
10947
|
+
P("div", vA, [
|
|
10948
10948
|
K(fA, {
|
|
10949
10949
|
modelValue: d.address,
|
|
10950
10950
|
"onUpdate:modelValue": O[9] || (O[9] = (ee) => d.address = ee)
|
|
@@ -10958,19 +10958,21 @@ const pA = () => {
|
|
|
10958
10958
|
]),
|
|
10959
10959
|
_: 1
|
|
10960
10960
|
}, 8, ["title"]),
|
|
10961
|
-
O[20] || (O[20] =
|
|
10961
|
+
O[20] || (O[20] = P("div", { class: "w-full h-[2px] bg-fm-color-neutral-gray-100" }, null, -1)),
|
|
10962
10962
|
K(dr, {
|
|
10963
|
-
title:
|
|
10963
|
+
title: $(w)("settings.business.restaurant.form.sections.operation_hours.title")
|
|
10964
10964
|
}, {
|
|
10965
10965
|
default: ce(() => [
|
|
10966
|
-
|
|
10967
|
-
|
|
10966
|
+
P("div", xA, [
|
|
10967
|
+
P("div", AA, [
|
|
10968
10968
|
K(Gc, {
|
|
10969
|
-
label:
|
|
10969
|
+
label: $(w)("settings.business.restaurant.form.sections.operation_hours.copy_with"),
|
|
10970
10970
|
optional: !1
|
|
10971
10971
|
}, null, 8, ["label"]),
|
|
10972
|
-
K(
|
|
10972
|
+
K($(Hd), {
|
|
10973
10973
|
class: "w-[320px]",
|
|
10974
|
+
"managable-only": !1,
|
|
10975
|
+
variant: "dark",
|
|
10974
10976
|
"exclude-restaurants": e.restaurantId ? [e.restaurantId] : [],
|
|
10975
10977
|
"model-value": "",
|
|
10976
10978
|
"onUpdate:modelValue": O[11] || (O[11] = (ee) => ee && le(ee))
|
|
@@ -10984,33 +10986,33 @@ const pA = () => {
|
|
|
10984
10986
|
]),
|
|
10985
10987
|
_: 1
|
|
10986
10988
|
}, 8, ["title"]),
|
|
10987
|
-
O[21] || (O[21] =
|
|
10989
|
+
O[21] || (O[21] = P("div", { class: "w-full h-[2px] bg-fm-color-neutral-gray-100" }, null, -1)),
|
|
10988
10990
|
K(dr, {
|
|
10989
|
-
title:
|
|
10991
|
+
title: $(w)("settings.business.restaurant.form.sections.branding.title")
|
|
10990
10992
|
}, {
|
|
10991
10993
|
default: ce(() => [
|
|
10992
|
-
|
|
10994
|
+
P("div", SA, [
|
|
10993
10995
|
K(we, {
|
|
10994
|
-
label:
|
|
10996
|
+
label: $(w)("settings.business.restaurant.form.sections.branding.description"),
|
|
10995
10997
|
"model-value": d.description ?? "",
|
|
10996
10998
|
"onUpdate:modelValue": O[13] || (O[13] = (ee) => d.description = ee)
|
|
10997
10999
|
}, null, 8, ["label", "model-value"]),
|
|
10998
11000
|
K(H, {
|
|
10999
|
-
label:
|
|
11001
|
+
label: $(w)("settings.business.restaurant.form.sections.branding.url.label"),
|
|
11000
11002
|
placeholder: e.restaurantId,
|
|
11001
11003
|
"model-value": d.url,
|
|
11002
11004
|
"onUpdate:modelValue": O[14] || (O[14] = (ee) => d.url = ee),
|
|
11003
11005
|
rules: [
|
|
11004
11006
|
(ee) => {
|
|
11005
11007
|
var Ue;
|
|
11006
|
-
return !ee || ((Ue = m.value) == null ? void 0 : Ue.url) == d.url || b.value ==
|
|
11008
|
+
return !ee || ((Ue = m.value) == null ? void 0 : Ue.url) == d.url || b.value == $(wi.F_COUNTRY).enum.MY || $(w)("settings.business.restaurant.form.sections.branding.url.errors.disabled");
|
|
11007
11009
|
},
|
|
11008
|
-
(ee) => !ee ||
|
|
11009
|
-
(ee) => !ee ||
|
|
11010
|
+
(ee) => !ee || $(Nl).test(ee) || $(w)("settings.business.restaurant.form.sections.branding.url.errors.invalid"),
|
|
11011
|
+
(ee) => !ee || !$(kl).includes(ee) || $(w)("settings.business.restaurant.form.sections.branding.url.errors.reserved")
|
|
11010
11012
|
]
|
|
11011
11013
|
}, {
|
|
11012
11014
|
prepend: ce(() => [
|
|
11013
|
-
|
|
11015
|
+
P("span", null, oe(E))
|
|
11014
11016
|
]),
|
|
11015
11017
|
append: ce(() => [
|
|
11016
11018
|
K(me, {
|
|
@@ -11022,18 +11024,18 @@ const pA = () => {
|
|
|
11022
11024
|
]),
|
|
11023
11025
|
_: 1
|
|
11024
11026
|
}, 8, ["label", "placeholder", "model-value", "rules"]),
|
|
11025
|
-
|
|
11027
|
+
P("div", null, [
|
|
11026
11028
|
K(tr, {
|
|
11027
|
-
label:
|
|
11029
|
+
label: $(w)("settings.business.form.cover_photo.label"),
|
|
11028
11030
|
"previous-url": d.coverPhoto,
|
|
11029
11031
|
modelValue: d.newCoverPhoto,
|
|
11030
11032
|
"onUpdate:modelValue": O[15] || (O[15] = (ee) => d.newCoverPhoto = ee),
|
|
11031
11033
|
"onReset:modelValue": p
|
|
11032
11034
|
}, null, 8, ["label", "previous-url", "modelValue"])
|
|
11033
11035
|
]),
|
|
11034
|
-
|
|
11036
|
+
P("div", null, [
|
|
11035
11037
|
K(Gc, {
|
|
11036
|
-
label:
|
|
11038
|
+
label: $(w)("settings.business.restaurant.form.sections.branding.carousel_photos.label")
|
|
11037
11039
|
}, null, 8, ["label"]),
|
|
11038
11040
|
(J(!0), ae(ot, null, Gt(d.photos || [], (ee, Ue) => (J(), Ge(tr, {
|
|
11039
11041
|
key: Ue,
|
|
@@ -11933,9 +11935,9 @@ const GA = { class: "fm-typo-cn-body-md-400 text-fm-color-typo-secondary xs:flex
|
|
|
11933
11935
|
"sub-heading": ce(() => {
|
|
11934
11936
|
var Z;
|
|
11935
11937
|
return [
|
|
11936
|
-
|
|
11937
|
-
|
|
11938
|
-
|
|
11938
|
+
P("div", GA, [
|
|
11939
|
+
P("span", null, oe($(o)("settings.business.url")) + ": ", 1),
|
|
11940
|
+
P("span", {
|
|
11939
11941
|
class: "cursor-pointer xs:w-max-[200px] truncate",
|
|
11940
11942
|
onClick: u
|
|
11941
11943
|
}, oe((Z = a.value) == null ? void 0 : Z.url), 1)
|
|
@@ -11943,18 +11945,18 @@ const GA = { class: "fm-typo-cn-body-md-400 text-fm-color-typo-secondary xs:flex
|
|
|
11943
11945
|
];
|
|
11944
11946
|
}),
|
|
11945
11947
|
"append-heading": ce(() => [
|
|
11946
|
-
|
|
11948
|
+
P("div", KA, [
|
|
11947
11949
|
K(w),
|
|
11948
11950
|
i.value ? (J(), ae(ot, { key: 1 }, [
|
|
11949
11951
|
K(qd, {
|
|
11950
11952
|
onClick: m,
|
|
11951
|
-
label:
|
|
11953
|
+
label: $(o)("settings.business.add_restaurant"),
|
|
11952
11954
|
"prepend-icon": "add"
|
|
11953
11955
|
}, null, 8, ["label"]),
|
|
11954
11956
|
K(af, null, {
|
|
11955
11957
|
default: ce(() => [
|
|
11956
11958
|
K(lf, {
|
|
11957
|
-
label:
|
|
11959
|
+
label: $(o)("common.edit"),
|
|
11958
11960
|
onClick: l
|
|
11959
11961
|
}, null, 8, ["label"])
|
|
11960
11962
|
]),
|
|
@@ -11964,7 +11966,7 @@ const GA = { class: "fm-typo-cn-body-md-400 text-fm-color-typo-secondary xs:flex
|
|
|
11964
11966
|
K(_, {
|
|
11965
11967
|
onClick: l,
|
|
11966
11968
|
variant: "secondary",
|
|
11967
|
-
label:
|
|
11969
|
+
label: $(o)("common.edit")
|
|
11968
11970
|
}, null, 8, ["label"]),
|
|
11969
11971
|
K(I, {
|
|
11970
11972
|
variant: "rich",
|
|
@@ -11975,8 +11977,8 @@ const GA = { class: "fm-typo-cn-body-md-400 text-fm-color-typo-secondary xs:flex
|
|
|
11975
11977
|
var Z;
|
|
11976
11978
|
return [
|
|
11977
11979
|
(Z = a.value) != null && Z.canCreateRestaurant ? vt("", !0) : (J(), ae("div", WA, [
|
|
11978
|
-
|
|
11979
|
-
|
|
11980
|
+
P("p", XA, oe($(o)("settings.business.quota.limit_title")), 1),
|
|
11981
|
+
P("p", null, oe($(o)("settings.business.quota.limit_message")), 1)
|
|
11980
11982
|
]))
|
|
11981
11983
|
];
|
|
11982
11984
|
}),
|
|
@@ -11985,7 +11987,7 @@ const GA = { class: "fm-typo-cn-body-md-400 text-fm-color-typo-secondary xs:flex
|
|
|
11985
11987
|
return [
|
|
11986
11988
|
K(_, {
|
|
11987
11989
|
onClick: m,
|
|
11988
|
-
label:
|
|
11990
|
+
label: $(o)("settings.business.add_restaurant"),
|
|
11989
11991
|
disabled: !((Z = a.value) != null && Z.canCreateRestaurant),
|
|
11990
11992
|
"prepend-icon": "add"
|
|
11991
11993
|
}, null, 8, ["label", "disabled"])
|
|
@@ -12002,11 +12004,11 @@ const GA = { class: "fm-typo-cn-body-md-400 text-fm-color-typo-secondary xs:flex
|
|
|
12002
12004
|
i.value ? (J(), ae(ot, { key: 1 }, [
|
|
12003
12005
|
K(N, {
|
|
12004
12006
|
class: "my-8 mx-16",
|
|
12005
|
-
modelValue:
|
|
12007
|
+
modelValue: $(t),
|
|
12006
12008
|
"onUpdate:modelValue": b[2] || (b[2] = (p) => Bo(t) ? t.value = p : null),
|
|
12007
|
-
placeholder:
|
|
12009
|
+
placeholder: $(o)("settings.business.search_restaurants")
|
|
12008
12010
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
12009
|
-
|
|
12011
|
+
P("div", ZA, [
|
|
12010
12012
|
a.value ? (J(!0), ae(ot, { key: 1 }, Gt((Ae = a.value) == null ? void 0 : Ae.restaurants, (p) => {
|
|
12011
12013
|
var y;
|
|
12012
12014
|
return J(), ae("div", {
|
|
@@ -12014,9 +12016,9 @@ const GA = { class: "fm-typo-cn-body-md-400 text-fm-color-typo-secondary xs:flex
|
|
|
12014
12016
|
class: "py-12 px-16 space-y-4",
|
|
12015
12017
|
onClick: (R) => d(p)
|
|
12016
12018
|
}, [
|
|
12017
|
-
|
|
12018
|
-
|
|
12019
|
-
|
|
12019
|
+
P("div", tS, [
|
|
12020
|
+
P("div", rS, oe(p.name), 1),
|
|
12021
|
+
P("div", sS, [
|
|
12020
12022
|
K(_, {
|
|
12021
12023
|
icon: "edit",
|
|
12022
12024
|
"text-color": "neutral-gray-400",
|
|
@@ -12027,25 +12029,25 @@ const GA = { class: "fm-typo-cn-body-md-400 text-fm-color-typo-secondary xs:flex
|
|
|
12027
12029
|
icon: "file_copy",
|
|
12028
12030
|
"text-color": "neutral-gray-400",
|
|
12029
12031
|
variant: "tertiary",
|
|
12030
|
-
onClick: Vn((R) =>
|
|
12032
|
+
onClick: Vn((R) => $(s)(p.id), ["stop"])
|
|
12031
12033
|
}, null, 8, ["onClick"])
|
|
12032
12034
|
])
|
|
12033
12035
|
]),
|
|
12034
|
-
|
|
12035
|
-
|
|
12036
|
-
|
|
12036
|
+
P("div", nS, oe($(o)("settings.business.restaurant.contact")) + ": " + oe(p.phone), 1),
|
|
12037
|
+
P("div", iS, oe($(o)("settings.business.restaurant.email")) + ": " + oe(p.email), 1),
|
|
12038
|
+
P("div", oS, oe($(o)("settings.business.restaurant.tax.title")) + ": " + oe((y = p.doc.profile.sstRegNo) != null && y.length ? p.doc.profile.sstRegNo : $(o)("settings.business.restaurant.tax.not_set")), 1)
|
|
12037
12039
|
], 8, eS);
|
|
12038
12040
|
}), 128)) : (J(), ae("div", QA, [
|
|
12039
12041
|
K(te, { size: "lg" })
|
|
12040
12042
|
]))
|
|
12041
12043
|
])
|
|
12042
12044
|
], 64)) : (J(), ae("div", YA, [
|
|
12043
|
-
|
|
12045
|
+
P("div", JA, [
|
|
12044
12046
|
K(N, {
|
|
12045
12047
|
class: "w-[320px]",
|
|
12046
|
-
modelValue:
|
|
12048
|
+
modelValue: $(t),
|
|
12047
12049
|
"onUpdate:modelValue": b[0] || (b[0] = (p) => Bo(t) ? t.value = p : null),
|
|
12048
|
-
placeholder:
|
|
12050
|
+
placeholder: $(o)("settings.business.search_restaurants")
|
|
12049
12051
|
}, null, 8, ["modelValue", "placeholder"])
|
|
12050
12052
|
]),
|
|
12051
12053
|
K(F, {
|