@feedmepos/mf-menu 0.32.8 → 0.32.9-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-C8wS3ShV.js → App-Db2dJHs3.js} +32 -29
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-BNpRxwxr.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DPpQfpZD.js} +3 -3
- package/dist/{Catalog-BFd1AM_V.js → Catalog-C_60F3N3.js} +6 -6
- package/dist/{Category-DBWqpshQ.js → Category-BzXPUOmu.js} +6 -6
- package/dist/{Category-dmAlwuez.js → Category-ih4XxkKe.js} +4 -4
- package/dist/{CookingGuide-jIeAIeh0.js → CookingGuide-BC2JNAlM.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-B64i08zq.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-D4jiqEhc.js} +1 -1
- package/dist/{Group-D1ydkrLs.js → Group-By1cdxRE.js} +1 -1
- package/dist/{Group-FF5Hjlxe.js → Group-D6R7aapT.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DAD-k-wo.js → Group.vue_vue_type_script_setup_true_lang-CZ80kEao.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-G6f6Nmpp.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DjUKpOzF.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BZPytpjY.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-EZlHC1Hi.js} +3127 -3127
- package/dist/{Ingredient-Dd5DxV-y.js → Ingredient-CGxo2l6w.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-giegQwr5.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DIvRg2ni.js} +2 -2
- package/dist/{LinkProductSideSheet-CCSmzw8I.js → LinkProductSideSheet-fy0j7bAI.js} +3 -3
- package/dist/{MenuSetting-DUoenWGs.js → MenuSetting-CeXNCm5j.js} +5 -5
- package/dist/{PrintRoute-BnC6HtKs.js → PrintRoute-DGOzw2IH.js} +4 -4
- package/dist/{Product-CHQio6L_.js → Product-BWKNB81h.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-jjHqJtPH.js → Product.vue_vue_type_script_setup_true_lang-DN5jU0iJ.js} +13 -13
- package/dist/{ProductInternalTools-FxIUEUXl.js → ProductInternalTools-popwNUGV.js} +6 -6
- package/dist/{Products-B4G9pxFp.js → Products-Dnyf1Iq4.js} +11 -11
- package/dist/{Publish-CQgttpHh.js → Publish-CNNb4pRY.js} +3 -3
- package/dist/{Recipe-CTDKKfsd.js → Recipe-D540ebS4.js} +4 -4
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-B9BRYMTj.js → RuleView.vue_vue_type_script_setup_true_lang-CWCHsssJ.js} +280 -280
- package/dist/{Scheduler-DFHMH-x_.js → Scheduler-BpwsZVgL.js} +3 -3
- package/dist/{ServingSequence-BR9xYWGr.js → ServingSequence-JMWYxKAi.js} +3 -3
- package/dist/{Setting-UnXT4s-d.js → Setting-DbPXJUPC.js} +5 -5
- package/dist/{Subcategory-okheUt4z.js → Subcategory-BbwpQNbz.js} +4 -4
- package/dist/{Takeaway-BqnNk-34.js → Takeaway-CNYGmqWk.js} +1 -1
- package/dist/{Takeaway-BVPCos7g.js → Takeaway-DvSfxj8U.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-DOIkhJuQ.js → Takeaway.vue_vue_type_script_setup_true_lang-fHa4jBFI.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-BFG6dtwc.js → Thumbnail.vue_vue_type_script_setup_true_lang-BK-Qepgt.js} +4 -4
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CrGYJDpK.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D_ojXhW4.js} +15 -15
- package/dist/{Unit-B6KaHkaQ.js → Unit-DBGk7h-2.js} +2 -2
- package/dist/{Variant-DyQvzOM1.js → Variant-D_azMCoY.js} +3 -3
- package/dist/{_id_-C38gTgwi.js → _id_-ovZRtQA5.js} +10 -10
- package/dist/{app-eCkD4rhw.js → app-D7lRtehz.js} +1 -1
- package/dist/{app-CgTo5Mn2.js → app-DPmI3yQy.js} +26 -26
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-jp8Wgf8m.js → linked-status-BC3PIxB6.js} +2 -2
- package/dist/assets/{override-menu-Y7KA9W5q.js → override-menu-Bsf53qVG.js} +2 -2
- package/dist/assets/{validate-menu-BKtf8I-m.js → validate-menu-CvnaEBH-.js} +2 -2
- package/dist/{catalog-CAwAsANl.js → catalog-BvvT0VEB.js} +1 -1
- package/dist/{catalogSetting-DBYK5i1A.js → catalogSetting-Bn7OeAcx.js} +1 -1
- package/dist/{category-sUsBd0Fp.js → category-YDIUEu8C.js} +1 -1
- package/dist/{currency-aUeOA6Sh.js → currency-CCnaNVMN.js} +1 -1
- package/dist/{index-BgofvuRO.js → index-B_cqzSE-.js} +1 -1
- package/dist/{index-CEQnejlh.js → index-DIh89cOf.js} +1 -1
- package/dist/{index-D2v0niii.js → index-Dt6an0ID.js} +4 -4
- package/dist/{index-BOfpmGre.js → index-g0vIpK1M.js} +3 -3
- package/dist/{index.vue_vue_type_script_setup_true_lang-D_YxZIKW.js → index.vue_vue_type_script_setup_true_lang-BKQjpYsf.js} +79 -79
- package/dist/{item-Cp2Y6SVB.js → item-BykPrK5o.js} +14 -14
- package/dist/{iteration-Su0utDgZ.js → iteration-p6S2tLug.js} +1 -1
- package/dist/{jszip.min-D--hravX.js → jszip.min-BAoYoaMb.js} +353 -353
- package/dist/{menu-Ca7L4Rag.js → menu-C-kfLlb9.js} +1 -1
- package/dist/{menuV2-CjV6wIPJ.js → menuV2-BiCQLW9P.js} +53 -53
- package/dist/{priceTier-DwLiGawi.js → priceTier-c1BZ5l3l.js} +1 -1
- package/dist/{scheduler-mtesIJHS.js → scheduler-CywCZW5_.js} +4 -4
- package/dist/{subcategory-Cjjc11DF.js → subcategory-DSmYh_7w.js} +2 -2
- package/dist/{toExcel-m4AG-THf.js → toExcel-bPOQmPuM.js} +2 -2
- package/dist/{unit-DM0AOsGB.js → unit-JjJg4HS0.js} +2 -2
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as ie, createElementBlock as j, openBlock as
|
|
2
|
-
import { x as
|
|
3
|
-
import { useCoreStore as Pt, useI18n as
|
|
1
|
+
import { defineComponent as ie, createElementBlock as j, openBlock as B, normalizeClass as yn, renderSlot as Qe, createCommentVNode as we, createVNode as Q, createElementVNode as V, toDisplayString as Z, withCtx as ae, getCurrentInstance as Dt, inject as Gn, ref as oe, shallowRef as Hn, computed as x, watch as Ze, onMounted as bn, onUnmounted as xn, h as hn, Text as Wn, Fragment as de, resolveComponent as fe, unref as Y, withModifiers as se, renderList as Me, createBlock as xt } from "vue";
|
|
2
|
+
import { x as Bn, N as Kn } from "./app-5fxKLAzS.js";
|
|
3
|
+
import { useCoreStore as Pt, useI18n as He, useCustomAttributes as Wt, EMPTY_RULE as jn, isEmptyMongoQuery as Yn, isEmptyRule as Xn } from "@feedmepos/mf-common";
|
|
4
4
|
import "@vue/devtools-api";
|
|
5
|
-
import { u as
|
|
5
|
+
import { u as Tn, J as Bt, A as yt } from "./index.vue_vue_type_script_setup_true_lang-BKQjpYsf.js";
|
|
6
6
|
import { FmButtonVariant as Fe, components as qn } from "@feedmepos/ui-library";
|
|
7
7
|
const Jn = /* @__PURE__ */ ie({
|
|
8
8
|
__name: "FormColumn",
|
|
@@ -10,7 +10,7 @@ const Jn = /* @__PURE__ */ ie({
|
|
|
10
10
|
shrinkable: { type: Boolean }
|
|
11
11
|
},
|
|
12
12
|
setup(e) {
|
|
13
|
-
return (t, n) => (
|
|
13
|
+
return (t, n) => (B(), j("div", {
|
|
14
14
|
class: yn(["flex-1 flex flex-col space-y-24", { "min-h-0": t.shrinkable }])
|
|
15
15
|
}, [
|
|
16
16
|
Qe(t.$slots, "default")
|
|
@@ -22,7 +22,7 @@ const Jn = /* @__PURE__ */ ie({
|
|
|
22
22
|
}, Zn = { class: "space-y-4" }, zn = { class: "fm-typo-en-title-sm-600" }, er = {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
25
|
-
},
|
|
25
|
+
}, Ws = /* @__PURE__ */ ie({
|
|
26
26
|
__name: "FormSection",
|
|
27
27
|
props: {
|
|
28
28
|
title: {},
|
|
@@ -30,13 +30,13 @@ const Jn = /* @__PURE__ */ ie({
|
|
|
30
30
|
shrinkable: { type: Boolean }
|
|
31
31
|
},
|
|
32
32
|
setup(e) {
|
|
33
|
-
return (t, n) => (
|
|
33
|
+
return (t, n) => (B(), j("div", {
|
|
34
34
|
class: yn(["flex flex-col space-y-16", { "min-h-0": t.shrinkable }])
|
|
35
35
|
}, [
|
|
36
|
-
t.title ? (
|
|
36
|
+
t.title ? (B(), j("div", Qn, [
|
|
37
37
|
V("div", Zn, [
|
|
38
38
|
V("p", zn, Z(t.title), 1),
|
|
39
|
-
t.subTitle ? (
|
|
39
|
+
t.subTitle ? (B(), j("p", er, Z(t.subTitle), 1)) : we("", !0)
|
|
40
40
|
]),
|
|
41
41
|
Qe(t.$slots, "append-title")
|
|
42
42
|
])) : we("", !0),
|
|
@@ -54,9 +54,9 @@ const Jn = /* @__PURE__ */ ie({
|
|
|
54
54
|
* (c) 2024 kazuya kawaguchi
|
|
55
55
|
* Released under the MIT License.
|
|
56
56
|
*/
|
|
57
|
-
const Kt = typeof window < "u",
|
|
57
|
+
const Kt = typeof window < "u", Te = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), tr = (e, t, n) => nr({ l: e, k: t, s: n }), nr = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ee = (e) => typeof e == "number" && isFinite(e), rr = (e) => wt(e) === "[object Date]", ze = (e) => wt(e) === "[object RegExp]", tt = (e) => M(e) && Object.keys(e).length === 0, te = Object.assign, ar = Object.create, G = (e = null) => ar(e);
|
|
58
58
|
let jt;
|
|
59
|
-
const he = () => jt || (jt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global :
|
|
59
|
+
const he = () => jt || (jt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : G());
|
|
60
60
|
function Yt(e) {
|
|
61
61
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
62
62
|
}
|
|
@@ -64,7 +64,7 @@ const sr = Object.prototype.hasOwnProperty;
|
|
|
64
64
|
function le(e, t) {
|
|
65
65
|
return sr.call(e, t);
|
|
66
66
|
}
|
|
67
|
-
const z = Array.isArray, K = (e) => typeof e == "function", O = (e) => typeof e == "string", J = (e) => typeof e == "boolean", U = (e) => e !== null && typeof e == "object", or = (e) => U(e) && K(e.then) && K(e.catch),
|
|
67
|
+
const z = Array.isArray, K = (e) => typeof e == "function", O = (e) => typeof e == "string", J = (e) => typeof e == "boolean", U = (e) => e !== null && typeof e == "object", or = (e) => U(e) && K(e.then) && K(e.catch), kn = Object.prototype.toString, wt = (e) => kn.call(e), M = (e) => wt(e) === "[object Object]", lr = (e) => e == null ? "" : z(e) || M(e) && e.toString === kn ? JSON.stringify(e, null, 2) : String(e);
|
|
68
68
|
function Ft(e, t = "") {
|
|
69
69
|
return e.reduce((n, r, a) => a === 0 ? n + r : n + t + r, "");
|
|
70
70
|
}
|
|
@@ -79,14 +79,14 @@ function Je(e, t) {
|
|
|
79
79
|
for (; n.length; ) {
|
|
80
80
|
const { src: r, des: a } = n.pop();
|
|
81
81
|
Object.keys(r).forEach((s) => {
|
|
82
|
-
s !== "__proto__" && (U(r[s]) && !U(a[s]) && (a[s] = Array.isArray(r[s]) ? [] :
|
|
82
|
+
s !== "__proto__" && (U(r[s]) && !U(a[s]) && (a[s] = Array.isArray(r[s]) ? [] : G()), Ye(a[s]) || Ye(r[s]) ? a[s] = r[s] : n.push({ src: r[s], des: a[s] }));
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
function ir(e, t, n) {
|
|
87
87
|
return { line: e, column: t, offset: n };
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function kt(e, t, n) {
|
|
90
90
|
return { start: e, end: t };
|
|
91
91
|
}
|
|
92
92
|
const $ = {
|
|
@@ -119,9 +119,9 @@ const _e = " ", mr = "\r", ne = `
|
|
|
119
119
|
function fr(e) {
|
|
120
120
|
const t = e;
|
|
121
121
|
let n = 0, r = 1, a = 1, s = 0;
|
|
122
|
-
const u = (m) => t[m] === mr && t[m + 1] === ne, _ = (m) => t[m] === ne, c = (m) => t[m] === dr, E = (m) => t[m] === pr,
|
|
122
|
+
const u = (m) => t[m] === mr && t[m + 1] === ne, _ = (m) => t[m] === ne, c = (m) => t[m] === dr, E = (m) => t[m] === pr, T = (m) => u(m) || _(m) || c(m) || E(m), R = () => n, g = () => r, p = () => a, L = () => s, k = (m) => u(m) || c(m) || E(m) ? ne : t[m], y = () => k(n), i = () => k(n + s);
|
|
123
123
|
function b() {
|
|
124
|
-
return s = 0,
|
|
124
|
+
return s = 0, T(n) && (r++, a = 0), u(n) && n++, n++, a++, t[n];
|
|
125
125
|
}
|
|
126
126
|
function N() {
|
|
127
127
|
return u(n + s) && s++, s++, t[n + s];
|
|
@@ -143,7 +143,7 @@ function fr(e) {
|
|
|
143
143
|
line: g,
|
|
144
144
|
column: p,
|
|
145
145
|
peekOffset: L,
|
|
146
|
-
charAt:
|
|
146
|
+
charAt: k,
|
|
147
147
|
currentChar: y,
|
|
148
148
|
currentPeek: i,
|
|
149
149
|
next: b,
|
|
@@ -167,21 +167,21 @@ function vr(e, t = {}) {
|
|
|
167
167
|
braceNest: 0,
|
|
168
168
|
inLinked: !1,
|
|
169
169
|
text: ""
|
|
170
|
-
}, E = () => c, { onError:
|
|
170
|
+
}, E = () => c, { onError: T } = t;
|
|
171
171
|
function R(o, l, h, ...S) {
|
|
172
172
|
const X = E();
|
|
173
|
-
if (l.column += h, l.offset += h,
|
|
174
|
-
const F = n ?
|
|
173
|
+
if (l.column += h, l.offset += h, T) {
|
|
174
|
+
const F = n ? kt(X.startLoc, l) : null, d = nt(o, F, {
|
|
175
175
|
domain: Er,
|
|
176
176
|
args: S
|
|
177
177
|
});
|
|
178
|
-
|
|
178
|
+
T(d);
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
function g(o, l, h) {
|
|
182
182
|
o.endLoc = s(), o.currentType = l;
|
|
183
183
|
const S = { type: l };
|
|
184
|
-
return n && (S.loc =
|
|
184
|
+
return n && (S.loc = kt(o.startLoc, o.endLoc)), h != null && (S.value = h), S;
|
|
185
185
|
}
|
|
186
186
|
const p = (o) => g(
|
|
187
187
|
o,
|
|
@@ -191,14 +191,14 @@ function vr(e, t = {}) {
|
|
|
191
191
|
function L(o, l) {
|
|
192
192
|
return o.currentChar() === l ? (o.next(), l) : (R($.EXPECTED_TOKEN, s(), 0, l), "");
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function k(o) {
|
|
195
195
|
let l = "";
|
|
196
196
|
for (; o.currentPeek() === _e || o.currentPeek() === ne; )
|
|
197
197
|
l += o.currentPeek(), o.peek();
|
|
198
198
|
return l;
|
|
199
199
|
}
|
|
200
200
|
function y(o) {
|
|
201
|
-
const l =
|
|
201
|
+
const l = k(o);
|
|
202
202
|
return o.skipToPeek(), l;
|
|
203
203
|
}
|
|
204
204
|
function i(o) {
|
|
@@ -219,7 +219,7 @@ function vr(e, t = {}) {
|
|
|
219
219
|
const { currentType: h } = l;
|
|
220
220
|
if (h !== 2)
|
|
221
221
|
return !1;
|
|
222
|
-
|
|
222
|
+
k(o);
|
|
223
223
|
const S = i(o.currentPeek());
|
|
224
224
|
return o.resetPeek(), S;
|
|
225
225
|
}
|
|
@@ -227,7 +227,7 @@ function vr(e, t = {}) {
|
|
|
227
227
|
const { currentType: h } = l;
|
|
228
228
|
if (h !== 2)
|
|
229
229
|
return !1;
|
|
230
|
-
|
|
230
|
+
k(o);
|
|
231
231
|
const S = o.currentPeek() === "-" ? o.peek() : o.currentPeek(), X = b(S);
|
|
232
232
|
return o.resetPeek(), X;
|
|
233
233
|
}
|
|
@@ -235,7 +235,7 @@ function vr(e, t = {}) {
|
|
|
235
235
|
const { currentType: h } = l;
|
|
236
236
|
if (h !== 2)
|
|
237
237
|
return !1;
|
|
238
|
-
|
|
238
|
+
k(o);
|
|
239
239
|
const S = o.currentPeek() === Xt;
|
|
240
240
|
return o.resetPeek(), S;
|
|
241
241
|
}
|
|
@@ -243,7 +243,7 @@ function vr(e, t = {}) {
|
|
|
243
243
|
const { currentType: h } = l;
|
|
244
244
|
if (h !== 7)
|
|
245
245
|
return !1;
|
|
246
|
-
|
|
246
|
+
k(o);
|
|
247
247
|
const S = o.currentPeek() === ".";
|
|
248
248
|
return o.resetPeek(), S;
|
|
249
249
|
}
|
|
@@ -251,7 +251,7 @@ function vr(e, t = {}) {
|
|
|
251
251
|
const { currentType: h } = l;
|
|
252
252
|
if (h !== 8)
|
|
253
253
|
return !1;
|
|
254
|
-
|
|
254
|
+
k(o);
|
|
255
255
|
const S = i(o.currentPeek());
|
|
256
256
|
return o.resetPeek(), S;
|
|
257
257
|
}
|
|
@@ -259,7 +259,7 @@ function vr(e, t = {}) {
|
|
|
259
259
|
const { currentType: h } = l;
|
|
260
260
|
if (!(h === 7 || h === 11))
|
|
261
261
|
return !1;
|
|
262
|
-
|
|
262
|
+
k(o);
|
|
263
263
|
const S = o.currentPeek() === ":";
|
|
264
264
|
return o.resetPeek(), S;
|
|
265
265
|
}
|
|
@@ -273,8 +273,8 @@ function vr(e, t = {}) {
|
|
|
273
273
|
}, X = S();
|
|
274
274
|
return o.resetPeek(), X;
|
|
275
275
|
}
|
|
276
|
-
function
|
|
277
|
-
|
|
276
|
+
function W(o) {
|
|
277
|
+
k(o);
|
|
278
278
|
const l = o.currentPeek() === "|";
|
|
279
279
|
return o.resetPeek(), l;
|
|
280
280
|
}
|
|
@@ -289,7 +289,7 @@ function vr(e, t = {}) {
|
|
|
289
289
|
const h = o.currentChar();
|
|
290
290
|
return h === Ee ? Ee : l(h) ? (o.next(), h) : null;
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function ke(o) {
|
|
293
293
|
const l = o.charCodeAt(0);
|
|
294
294
|
return l >= 97 && l <= 122 || // a-z
|
|
295
295
|
l >= 65 && l <= 90 || // A-Z
|
|
@@ -298,7 +298,7 @@ function vr(e, t = {}) {
|
|
|
298
298
|
l === 36;
|
|
299
299
|
}
|
|
300
300
|
function at(o) {
|
|
301
|
-
return P(o,
|
|
301
|
+
return P(o, ke);
|
|
302
302
|
}
|
|
303
303
|
function st(o) {
|
|
304
304
|
const l = o.charCodeAt(0);
|
|
@@ -325,10 +325,10 @@ function vr(e, t = {}) {
|
|
|
325
325
|
l >= 65 && l <= 70 || // A-F
|
|
326
326
|
l >= 97 && l <= 102;
|
|
327
327
|
}
|
|
328
|
-
function
|
|
328
|
+
function We(o) {
|
|
329
329
|
return P(o, ce);
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function Be(o) {
|
|
332
332
|
let l = "", h = "";
|
|
333
333
|
for (; l = ut(o); )
|
|
334
334
|
h += l;
|
|
@@ -344,7 +344,7 @@ function vr(e, t = {}) {
|
|
|
344
344
|
if (w(o))
|
|
345
345
|
l += h, o.next();
|
|
346
346
|
else {
|
|
347
|
-
if (
|
|
347
|
+
if (W(o))
|
|
348
348
|
break;
|
|
349
349
|
l += h, o.next();
|
|
350
350
|
}
|
|
@@ -363,15 +363,15 @@ function vr(e, t = {}) {
|
|
|
363
363
|
function _t(o) {
|
|
364
364
|
y(o);
|
|
365
365
|
let l = "";
|
|
366
|
-
return o.currentChar() === "-" ? (o.next(), l += `-${
|
|
366
|
+
return o.currentChar() === "-" ? (o.next(), l += `-${Be(o)}`) : l += Be(o), o.currentChar() === Ee && R($.UNTERMINATED_CLOSING_BRACE, s(), 0), l;
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function Ht(o) {
|
|
369
369
|
return o !== Xt && o !== ne;
|
|
370
370
|
}
|
|
371
371
|
function mt(o) {
|
|
372
372
|
y(o), L(o, "'");
|
|
373
373
|
let l = "", h = "";
|
|
374
|
-
for (; l = P(o,
|
|
374
|
+
for (; l = P(o, Ht); )
|
|
375
375
|
l === "\\" ? h += pt(o) : h += l;
|
|
376
376
|
const S = o.currentChar();
|
|
377
377
|
return S === ne || S === Ee ? (R($.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, s(), 0), S === ne && (o.next(), L(o, "'")), h) : (L(o, "'"), h);
|
|
@@ -394,7 +394,7 @@ function vr(e, t = {}) {
|
|
|
394
394
|
L(o, l);
|
|
395
395
|
let S = "";
|
|
396
396
|
for (let X = 0; X < h; X++) {
|
|
397
|
-
const F =
|
|
397
|
+
const F = We(o);
|
|
398
398
|
if (!F) {
|
|
399
399
|
R($.INVALID_UNICODE_ESCAPE_SEQUENCE, s(), 0, `\\${l}${S}${o.currentChar()}`);
|
|
400
400
|
break;
|
|
@@ -456,7 +456,7 @@ function vr(e, t = {}) {
|
|
|
456
456
|
return l.braceNest > 0 && R($.UNTERMINATED_CLOSING_BRACE, s(), 0), h = Ne(o, l) || p(l), l.braceNest = 0, h;
|
|
457
457
|
default: {
|
|
458
458
|
let X = !0, F = !0, d = !0;
|
|
459
|
-
if (
|
|
459
|
+
if (W(o))
|
|
460
460
|
return l.braceNest > 0 && R($.UNTERMINATED_CLOSING_BRACE, s(), 0), h = g(l, 1, Se(o)), l.braceNest = 0, l.inLinked = !1, h;
|
|
461
461
|
if (l.braceNest > 0 && (l.currentType === 4 || l.currentType === 5 || l.currentType === 6))
|
|
462
462
|
return R($.UNTERMINATED_CLOSING_BRACE, s(), 0), l.braceNest = 0, De(o, l);
|
|
@@ -500,7 +500,7 @@ function vr(e, t = {}) {
|
|
|
500
500
|
/* TokenChars.LinkedDelimiter */
|
|
501
501
|
);
|
|
502
502
|
default:
|
|
503
|
-
return
|
|
503
|
+
return W(o) ? (S = g(l, 1, Se(o)), l.braceNest = 0, l.inLinked = !1, S) : v(o, l) || C(o, l) ? (y(o), Ne(o, l)) : m(o, l) ? (y(o), g(l, 11, gt(o))) : D(o, l) ? (y(o), X === "{" ? Ie(o, l) || S : g(l, 10, Et(o))) : (h === 7 && R($.INVALID_LINKED_FORMAT, s(), 0), l.braceNest = 0, l.inLinked = !1, De(o, l));
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
506
|
function De(o, l) {
|
|
@@ -525,7 +525,7 @@ function vr(e, t = {}) {
|
|
|
525
525
|
case "@":
|
|
526
526
|
return Ne(o, l) || p(l);
|
|
527
527
|
default: {
|
|
528
|
-
if (
|
|
528
|
+
if (W(o))
|
|
529
529
|
return h = g(l, 1, Se(o)), l.braceNest = 0, l.inLinked = !1, h;
|
|
530
530
|
if (w(o))
|
|
531
531
|
return g(l, 0, it(o));
|
|
@@ -563,12 +563,12 @@ function hr(e, t, n) {
|
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
|
-
function
|
|
566
|
+
function Tr(e = {}) {
|
|
567
567
|
const t = e.location !== !1, { onError: n } = e;
|
|
568
568
|
function r(i, b, N, f, ...A) {
|
|
569
569
|
const v = i.currentPosition();
|
|
570
570
|
if (v.offset += f, v.column += f, n) {
|
|
571
|
-
const m = t ?
|
|
571
|
+
const m = t ? kt(N, v) : null, C = nt(b, m, {
|
|
572
572
|
domain: yr,
|
|
573
573
|
args: A
|
|
574
574
|
});
|
|
@@ -598,7 +598,7 @@ function kr(e = {}) {
|
|
|
598
598
|
const N = i.context(), { lastOffset: f, lastStartLoc: A } = N, v = a(9, f, A);
|
|
599
599
|
return v.value = b.replace(br, hr), i.nextToken(), s(v, i.currentOffset(), i.currentPosition()), v;
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function T(i) {
|
|
602
602
|
const b = i.nextToken(), N = i.context(), { lastOffset: f, lastStartLoc: A } = N, v = a(8, f, A);
|
|
603
603
|
return b.type !== 11 ? (r(i, $.UNEXPECTED_EMPTY_LINKED_MODIFIER, N.lastStartLoc, 0), v.value = "", s(v, f, A), {
|
|
604
604
|
nextConsumeToken: b,
|
|
@@ -615,7 +615,7 @@ function kr(e = {}) {
|
|
|
615
615
|
const b = i.context(), N = a(6, b.offset, b.startLoc);
|
|
616
616
|
let f = i.nextToken();
|
|
617
617
|
if (f.type === 8) {
|
|
618
|
-
const A =
|
|
618
|
+
const A = T(i);
|
|
619
619
|
N.modifier = A.node, f = A.nextConsumeToken || i.nextToken();
|
|
620
620
|
}
|
|
621
621
|
switch (f.type !== 9 && r(i, $.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, ue(f)), f = i.nextToken(), f.type === 2 && (f = i.nextToken()), f.type) {
|
|
@@ -664,8 +664,8 @@ function kr(e = {}) {
|
|
|
664
664
|
D.value == null && r(i, $.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, ue(D)), A.items.push(E(i, D.value || ""));
|
|
665
665
|
break;
|
|
666
666
|
case 7: {
|
|
667
|
-
const
|
|
668
|
-
A.items.push(
|
|
667
|
+
const W = g(i);
|
|
668
|
+
A.items.push(W.node), v = W.nextConsumeToken || null;
|
|
669
669
|
break;
|
|
670
670
|
}
|
|
671
671
|
}
|
|
@@ -684,13 +684,13 @@ function kr(e = {}) {
|
|
|
684
684
|
} while (A.currentType !== 13);
|
|
685
685
|
return v && r(i, $.MUST_HAVE_MESSAGES_IN_PLURAL, N, 0), s(m, i.currentOffset(), i.currentPosition()), m;
|
|
686
686
|
}
|
|
687
|
-
function
|
|
687
|
+
function k(i) {
|
|
688
688
|
const b = i.context(), { offset: N, startLoc: f } = b, A = p(i);
|
|
689
689
|
return b.currentType === 13 ? A : L(i, N, f, A);
|
|
690
690
|
}
|
|
691
691
|
function y(i) {
|
|
692
692
|
const b = vr(i, te({}, e)), N = b.context(), f = a(0, N.offset, N.startLoc);
|
|
693
|
-
return t && f.loc && (f.loc.source = i), f.body =
|
|
693
|
+
return t && f.loc && (f.loc.source = i), f.body = k(b), e.onCacheKey && (f.cacheKey = e.onCacheKey(i)), N.currentType !== 13 && r(b, $.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, i[N.offset] || ""), s(f, b.currentOffset(), b.currentPosition()), f;
|
|
694
694
|
}
|
|
695
695
|
return { parse: y };
|
|
696
696
|
}
|
|
@@ -700,7 +700,7 @@ function ue(e) {
|
|
|
700
700
|
const t = (e.value || "").replace(/\r?\n/gu, "\\n");
|
|
701
701
|
return t.length > 10 ? t.slice(0, 9) + "…" : t;
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function kr(e, t = {}) {
|
|
704
704
|
const n = {
|
|
705
705
|
ast: e,
|
|
706
706
|
helpers: /* @__PURE__ */ new Set()
|
|
@@ -753,7 +753,7 @@ function Mt(e, t) {
|
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
755
|
function Ir(e, t = {}) {
|
|
756
|
-
const n =
|
|
756
|
+
const n = kr(e);
|
|
757
757
|
n.helper(
|
|
758
758
|
"normalize"
|
|
759
759
|
/* HelperNameMap.NORMALIZE */
|
|
@@ -847,20 +847,20 @@ function Rr(e, t) {
|
|
|
847
847
|
};
|
|
848
848
|
s && e.loc && (u.source = e.loc.source);
|
|
849
849
|
const _ = () => u;
|
|
850
|
-
function c(
|
|
851
|
-
u.code +=
|
|
850
|
+
function c(k, y) {
|
|
851
|
+
u.code += k;
|
|
852
852
|
}
|
|
853
|
-
function E(
|
|
853
|
+
function E(k, y = !0) {
|
|
854
854
|
const i = y ? r : "";
|
|
855
|
-
c(a ? i + " ".repeat(
|
|
855
|
+
c(a ? i + " ".repeat(k) : i);
|
|
856
856
|
}
|
|
857
|
-
function k
|
|
857
|
+
function T(k = !0) {
|
|
858
858
|
const y = ++u.indentLevel;
|
|
859
|
-
|
|
859
|
+
k && E(y);
|
|
860
860
|
}
|
|
861
|
-
function R(
|
|
861
|
+
function R(k = !0) {
|
|
862
862
|
const y = --u.indentLevel;
|
|
863
|
-
|
|
863
|
+
k && E(y);
|
|
864
864
|
}
|
|
865
865
|
function g() {
|
|
866
866
|
E(u.indentLevel);
|
|
@@ -868,10 +868,10 @@ function Rr(e, t) {
|
|
|
868
868
|
return {
|
|
869
869
|
context: _,
|
|
870
870
|
push: c,
|
|
871
|
-
indent:
|
|
871
|
+
indent: T,
|
|
872
872
|
deindent: R,
|
|
873
873
|
newline: g,
|
|
874
|
-
helper: (
|
|
874
|
+
helper: (k) => `_${k}`,
|
|
875
875
|
needIndent: () => u.needIndent
|
|
876
876
|
};
|
|
877
877
|
}
|
|
@@ -965,7 +965,7 @@ const Sr = (e, t = {}) => {
|
|
|
965
965
|
breakLineCode: a,
|
|
966
966
|
needIndent: s
|
|
967
967
|
});
|
|
968
|
-
_.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), _.indent(s), u.length > 0 && (_.push(`const { ${Ft(u.map((
|
|
968
|
+
_.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), _.indent(s), u.length > 0 && (_.push(`const { ${Ft(u.map((T) => `${T}: _${T}`), ", ")} } = ctx`), _.newline()), _.push("return "), Le(_, e), _.deindent(s), _.push("}"), delete e.helpers;
|
|
969
969
|
const { code: c, map: E } = _.context();
|
|
970
970
|
return {
|
|
971
971
|
ast: e,
|
|
@@ -975,7 +975,7 @@ const Sr = (e, t = {}) => {
|
|
|
975
975
|
};
|
|
976
976
|
};
|
|
977
977
|
function Dr(e, t = {}) {
|
|
978
|
-
const n = te({}, t), r = !!n.jit, a = !!n.minify, s = n.optimize == null ? !0 : n.optimize, _ =
|
|
978
|
+
const n = te({}, t), r = !!n.jit, a = !!n.minify, s = n.optimize == null ? !0 : n.optimize, _ = Tr(n).parse(e);
|
|
979
979
|
return r ? (s && Nr(_), a && Ae(_), { ast: _, code: "" }) : (Ir(_, n), Sr(_, n));
|
|
980
980
|
}
|
|
981
981
|
var Pr = { env: { NODE_ENV: "production" } };
|
|
@@ -1010,20 +1010,20 @@ function $r(e) {
|
|
|
1010
1010
|
return ve(e, Vr, []);
|
|
1011
1011
|
}
|
|
1012
1012
|
function Qt(e, t) {
|
|
1013
|
-
const n =
|
|
1013
|
+
const n = Hr(t);
|
|
1014
1014
|
if (n != null)
|
|
1015
1015
|
return e.type === "text" ? n : e.normalize([n]);
|
|
1016
1016
|
{
|
|
1017
|
-
const r =
|
|
1017
|
+
const r = Wr(t).reduce((a, s) => [...a, It(e, s)], []);
|
|
1018
1018
|
return e.normalize(r);
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
|
-
const
|
|
1022
|
-
function
|
|
1023
|
-
return ve(e,
|
|
1021
|
+
const Gr = ["s", "static"];
|
|
1022
|
+
function Hr(e) {
|
|
1023
|
+
return ve(e, Gr);
|
|
1024
1024
|
}
|
|
1025
1025
|
const xr = ["i", "items"];
|
|
1026
|
-
function
|
|
1026
|
+
function Wr(e) {
|
|
1027
1027
|
return ve(e, xr, []);
|
|
1028
1028
|
}
|
|
1029
1029
|
function It(e, t) {
|
|
@@ -1061,9 +1061,9 @@ function It(e, t) {
|
|
|
1061
1061
|
throw new Error(`unhandled node on format message part: ${n}`);
|
|
1062
1062
|
}
|
|
1063
1063
|
}
|
|
1064
|
-
const
|
|
1064
|
+
const Br = ["t", "type"];
|
|
1065
1065
|
function Ut(e) {
|
|
1066
|
-
return ve(e,
|
|
1066
|
+
return ve(e, Br);
|
|
1067
1067
|
}
|
|
1068
1068
|
const Kr = ["v", "value"];
|
|
1069
1069
|
function Xe(e, t) {
|
|
@@ -1098,7 +1098,7 @@ function Ue(e) {
|
|
|
1098
1098
|
return new Error(`unhandled node type: ${e}`);
|
|
1099
1099
|
}
|
|
1100
1100
|
const Jr = (e) => e;
|
|
1101
|
-
let qe =
|
|
1101
|
+
let qe = G();
|
|
1102
1102
|
function Oe(e) {
|
|
1103
1103
|
return U(e) && Ut(e) === 0 && (le(e, "b") || le(e, "body"));
|
|
1104
1104
|
}
|
|
@@ -1437,7 +1437,7 @@ function _a(e) {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
function ma(e) {
|
|
1439
1439
|
const t = [];
|
|
1440
|
-
let n = -1, r = 0, a = 0, s, u, _, c, E,
|
|
1440
|
+
let n = -1, r = 0, a = 0, s, u, _, c, E, T, R;
|
|
1441
1441
|
const g = [];
|
|
1442
1442
|
g[
|
|
1443
1443
|
0
|
|
@@ -1485,7 +1485,7 @@ function ma(e) {
|
|
|
1485
1485
|
}
|
|
1486
1486
|
for (; r !== null; )
|
|
1487
1487
|
if (n++, s = e[n], !(s === "\\" && p())) {
|
|
1488
|
-
if (c = ca(s), R = ye[r], E = R[c] || R.l || 8, E === 8 || (r = E[0], E[1] !== void 0 && (
|
|
1488
|
+
if (c = ca(s), R = ye[r], E = R[c] || R.l || 8, E === 8 || (r = E[0], E[1] !== void 0 && (T = g[E[1]], T && (_ = s, T() === !1))))
|
|
1489
1489
|
return;
|
|
1490
1490
|
if (r === 7)
|
|
1491
1491
|
return t;
|
|
@@ -1538,10 +1538,10 @@ const ba = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
|
1538
1538
|
let On = null;
|
|
1539
1539
|
const rn = (e) => {
|
|
1540
1540
|
On = e;
|
|
1541
|
-
},
|
|
1541
|
+
}, Ta = () => On;
|
|
1542
1542
|
let an = 0;
|
|
1543
|
-
function
|
|
1544
|
-
const t = K(e.onWarn) ? e.onWarn : ur, n = O(e.version) ? e.version : fa, r = O(e.locale) || K(e.locale) ? e.locale : et, a = K(r) ? et : r, s = z(e.fallbackLocale) || M(e.fallbackLocale) || O(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, u = M(e.messages) ? e.messages :
|
|
1543
|
+
function ka(e = {}) {
|
|
1544
|
+
const t = K(e.onWarn) ? e.onWarn : ur, n = O(e.version) ? e.version : fa, r = O(e.locale) || K(e.locale) ? e.locale : et, a = K(r) ? et : r, s = z(e.fallbackLocale) || M(e.fallbackLocale) || O(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, u = M(e.messages) ? e.messages : Tt(a), _ = M(e.datetimeFormats) ? e.datetimeFormats : Tt(a), c = M(e.numberFormats) ? e.numberFormats : Tt(a), E = te(G(), e.modifiers, ga()), T = e.pluralRules || G(), R = K(e.missing) ? e.missing : null, g = J(e.missingWarn) || ze(e.missingWarn) ? e.missingWarn : !0, p = J(e.fallbackWarn) || ze(e.fallbackWarn) ? e.fallbackWarn : !0, L = !!e.fallbackFormat, k = !!e.unresolving, y = K(e.postTranslation) ? e.postTranslation : null, i = M(e.processor) ? e.processor : null, b = J(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, N = !!e.escapeParameter, f = K(e.messageCompiler) ? e.messageCompiler : Nn, A = K(e.messageResolver) ? e.messageResolver : Rn || pa, v = K(e.localeFallbacker) ? e.localeFallbacker : An || aa, m = U(e.fallbackContext) ? e.fallbackContext : void 0, C = e, D = U(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), W = U(C.__numberFormatters) ? C.__numberFormatters : /* @__PURE__ */ new Map(), w = U(C.__meta) ? C.__meta : {};
|
|
1545
1545
|
an++;
|
|
1546
1546
|
const P = {
|
|
1547
1547
|
version: n,
|
|
@@ -1550,12 +1550,12 @@ function Ta(e = {}) {
|
|
|
1550
1550
|
fallbackLocale: s,
|
|
1551
1551
|
messages: u,
|
|
1552
1552
|
modifiers: E,
|
|
1553
|
-
pluralRules:
|
|
1553
|
+
pluralRules: T,
|
|
1554
1554
|
missing: R,
|
|
1555
1555
|
missingWarn: g,
|
|
1556
1556
|
fallbackWarn: p,
|
|
1557
1557
|
fallbackFormat: L,
|
|
1558
|
-
unresolving:
|
|
1558
|
+
unresolving: k,
|
|
1559
1559
|
postTranslation: y,
|
|
1560
1560
|
processor: i,
|
|
1561
1561
|
warnHtmlMessage: b,
|
|
@@ -1567,9 +1567,9 @@ function Ta(e = {}) {
|
|
|
1567
1567
|
onWarn: t,
|
|
1568
1568
|
__meta: w
|
|
1569
1569
|
};
|
|
1570
|
-
return P.datetimeFormats = _, P.numberFormats = c, P.__datetimeFormatters = D, P.__numberFormatters =
|
|
1570
|
+
return P.datetimeFormats = _, P.numberFormats = c, P.__datetimeFormatters = D, P.__numberFormatters = W, __INTLIFY_PROD_DEVTOOLS__ && ea(P, n, w), P;
|
|
1571
1571
|
}
|
|
1572
|
-
const
|
|
1572
|
+
const Tt = (e) => ({ [e]: G() });
|
|
1573
1573
|
function $t(e, t, n, r, a) {
|
|
1574
1574
|
const { missing: s, onWarn: u } = e;
|
|
1575
1575
|
if (s !== null) {
|
|
@@ -1595,9 +1595,9 @@ function Na(e, t) {
|
|
|
1595
1595
|
return !1;
|
|
1596
1596
|
}
|
|
1597
1597
|
function sn(e, ...t) {
|
|
1598
|
-
const { datetimeFormats: n, unresolving: r, fallbackLocale: a, onWarn: s, localeFallbacker: u } = e, { __datetimeFormatters: _ } = e, [c, E,
|
|
1599
|
-
J(
|
|
1600
|
-
const p = !!
|
|
1598
|
+
const { datetimeFormats: n, unresolving: r, fallbackLocale: a, onWarn: s, localeFallbacker: u } = e, { __datetimeFormatters: _ } = e, [c, E, T, R] = Nt(...t), g = J(T.missingWarn) ? T.missingWarn : e.missingWarn;
|
|
1599
|
+
J(T.fallbackWarn) ? T.fallbackWarn : e.fallbackWarn;
|
|
1600
|
+
const p = !!T.part, L = Vt(e, T), k = u(
|
|
1601
1601
|
e,
|
|
1602
1602
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1603
1603
|
a,
|
|
@@ -1607,7 +1607,7 @@ function sn(e, ...t) {
|
|
|
1607
1607
|
return new Intl.DateTimeFormat(L, R).format(E);
|
|
1608
1608
|
let y = {}, i, b = null;
|
|
1609
1609
|
const N = "datetime format";
|
|
1610
|
-
for (let v = 0; v <
|
|
1610
|
+
for (let v = 0; v < k.length && (i = k[v], y = n[i] || {}, b = y[c], !M(b)); v++)
|
|
1611
1611
|
$t(e, c, i, g, N);
|
|
1612
1612
|
if (!M(b) || !O(i))
|
|
1613
1613
|
return r ? rt : c;
|
|
@@ -1639,8 +1639,8 @@ const Cn = [
|
|
|
1639
1639
|
"fractionalSecondDigits"
|
|
1640
1640
|
];
|
|
1641
1641
|
function Nt(...e) {
|
|
1642
|
-
const [t, n, r, a] = e, s =
|
|
1643
|
-
let u =
|
|
1642
|
+
const [t, n, r, a] = e, s = G();
|
|
1643
|
+
let u = G(), _;
|
|
1644
1644
|
if (O(t)) {
|
|
1645
1645
|
const c = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1646
1646
|
if (!c)
|
|
@@ -1672,9 +1672,9 @@ function on(e, t, n) {
|
|
|
1672
1672
|
}
|
|
1673
1673
|
}
|
|
1674
1674
|
function ln(e, ...t) {
|
|
1675
|
-
const { numberFormats: n, unresolving: r, fallbackLocale: a, onWarn: s, localeFallbacker: u } = e, { __numberFormatters: _ } = e, [c, E,
|
|
1676
|
-
J(
|
|
1677
|
-
const p = !!
|
|
1675
|
+
const { numberFormats: n, unresolving: r, fallbackLocale: a, onWarn: s, localeFallbacker: u } = e, { __numberFormatters: _ } = e, [c, E, T, R] = Rt(...t), g = J(T.missingWarn) ? T.missingWarn : e.missingWarn;
|
|
1676
|
+
J(T.fallbackWarn) ? T.fallbackWarn : e.fallbackWarn;
|
|
1677
|
+
const p = !!T.part, L = Vt(e, T), k = u(
|
|
1678
1678
|
e,
|
|
1679
1679
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1680
1680
|
a,
|
|
@@ -1684,7 +1684,7 @@ function ln(e, ...t) {
|
|
|
1684
1684
|
return new Intl.NumberFormat(L, R).format(E);
|
|
1685
1685
|
let y = {}, i, b = null;
|
|
1686
1686
|
const N = "number format";
|
|
1687
|
-
for (let v = 0; v <
|
|
1687
|
+
for (let v = 0; v < k.length && (i = k[v], y = n[i] || {}, b = y[c], !M(b)); v++)
|
|
1688
1688
|
$t(e, c, i, g, N);
|
|
1689
1689
|
if (!M(b) || !O(i))
|
|
1690
1690
|
return r ? rt : c;
|
|
@@ -1716,8 +1716,8 @@ const Sn = [
|
|
|
1716
1716
|
"trailingZeroDisplay"
|
|
1717
1717
|
];
|
|
1718
1718
|
function Rt(...e) {
|
|
1719
|
-
const [t, n, r, a] = e, s =
|
|
1720
|
-
let u =
|
|
1719
|
+
const [t, n, r, a] = e, s = G();
|
|
1720
|
+
let u = G();
|
|
1721
1721
|
if (!ee(t))
|
|
1722
1722
|
throw pe(me.INVALID_ARGUMENT);
|
|
1723
1723
|
const _ = t;
|
|
@@ -1744,10 +1744,10 @@ function Da(e, t) {
|
|
|
1744
1744
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1745
1745
|
}
|
|
1746
1746
|
function Pa(e = {}) {
|
|
1747
|
-
const t = e.locale, n = Sa(e), r = U(e.pluralRules) && O(t) && K(e.pluralRules[t]) ? e.pluralRules[t] : cn, a = U(e.pluralRules) && O(t) && K(e.pluralRules[t]) ? cn : void 0, s = (i) => i[r(n, i.length, a)], u = e.list || [], _ = (i) => u[i], c = e.named ||
|
|
1747
|
+
const t = e.locale, n = Sa(e), r = U(e.pluralRules) && O(t) && K(e.pluralRules[t]) ? e.pluralRules[t] : cn, a = U(e.pluralRules) && O(t) && K(e.pluralRules[t]) ? cn : void 0, s = (i) => i[r(n, i.length, a)], u = e.list || [], _ = (i) => u[i], c = e.named || G();
|
|
1748
1748
|
ee(e.pluralIndex) && Da(n, c);
|
|
1749
1749
|
const E = (i) => c[i];
|
|
1750
|
-
function
|
|
1750
|
+
function T(i, b) {
|
|
1751
1751
|
const N = K(e.messages) ? e.messages(i, !!b) : U(e.messages) ? e.messages[i] : !1;
|
|
1752
1752
|
return N || (e.parent ? e.parent.message(i) : Aa);
|
|
1753
1753
|
}
|
|
@@ -1759,30 +1759,30 @@ function Pa(e = {}) {
|
|
|
1759
1759
|
const [N, f] = b;
|
|
1760
1760
|
let A = "text", v = "";
|
|
1761
1761
|
b.length === 1 ? U(N) ? (v = N.modifier || v, A = N.type || A) : O(N) && (v = N || v) : b.length === 2 && (O(N) && (v = N || v), O(f) && (A = f || A));
|
|
1762
|
-
const m =
|
|
1762
|
+
const m = T(i, !0)(y), C = (
|
|
1763
1763
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1764
1764
|
A === "vnode" && z(m) && v ? m[0] : m
|
|
1765
1765
|
);
|
|
1766
1766
|
return v ? R(v)(C, A) : C;
|
|
1767
1767
|
},
|
|
1768
|
-
message:
|
|
1768
|
+
message: T,
|
|
1769
1769
|
type: L,
|
|
1770
1770
|
interpolate: p,
|
|
1771
1771
|
normalize: g,
|
|
1772
|
-
values: te(
|
|
1772
|
+
values: te(G(), u, c)
|
|
1773
1773
|
};
|
|
1774
1774
|
return y;
|
|
1775
1775
|
}
|
|
1776
1776
|
const _n = () => "", re = (e) => K(e);
|
|
1777
1777
|
function mn(e, ...t) {
|
|
1778
|
-
const { fallbackFormat: n, postTranslation: r, unresolving: a, messageCompiler: s, fallbackLocale: u, messages: _ } = e, [c, E] = At(...t),
|
|
1778
|
+
const { fallbackFormat: n, postTranslation: r, unresolving: a, messageCompiler: s, fallbackLocale: u, messages: _ } = e, [c, E] = At(...t), T = J(E.missingWarn) ? E.missingWarn : e.missingWarn, R = J(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn, g = J(E.escapeParameter) ? E.escapeParameter : e.escapeParameter, p = !!E.resolvedMessage, L = O(E.default) || J(E.default) ? J(E.default) ? s ? c : () => c : E.default : n ? s ? c : () => c : null, k = n || L != null && (O(L) || K(L)), y = Vt(e, E);
|
|
1779
1779
|
g && wa(E);
|
|
1780
1780
|
let [i, b, N] = p ? [
|
|
1781
1781
|
c,
|
|
1782
1782
|
y,
|
|
1783
|
-
_[y] ||
|
|
1784
|
-
] : Dn(e, c, y, u, R,
|
|
1785
|
-
if (!p && !(O(f) || Oe(f) || re(f)) &&
|
|
1783
|
+
_[y] || G()
|
|
1784
|
+
] : Dn(e, c, y, u, R, T), f = i, A = c;
|
|
1785
|
+
if (!p && !(O(f) || Oe(f) || re(f)) && k && (f = L, A = f), !p && (!(O(f) || Oe(f) || re(f)) || !O(b)))
|
|
1786
1786
|
return a ? rt : c;
|
|
1787
1787
|
let v = !1;
|
|
1788
1788
|
const m = () => {
|
|
@@ -1790,16 +1790,16 @@ function mn(e, ...t) {
|
|
|
1790
1790
|
}, C = re(f) ? f : Pn(e, c, b, f, A, m);
|
|
1791
1791
|
if (v)
|
|
1792
1792
|
return f;
|
|
1793
|
-
const D = Ua(e, b, N, E),
|
|
1793
|
+
const D = Ua(e, b, N, E), W = Pa(D), w = Fa(e, C, W), P = r ? r(w, c) : w;
|
|
1794
1794
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1795
|
-
const
|
|
1795
|
+
const ke = {
|
|
1796
1796
|
timestamp: Date.now(),
|
|
1797
1797
|
key: O(c) ? c : re(f) ? f.key : "",
|
|
1798
1798
|
locale: b || (re(f) ? f.locale : ""),
|
|
1799
1799
|
format: O(f) ? f : re(f) ? f.source : "",
|
|
1800
1800
|
message: P
|
|
1801
1801
|
};
|
|
1802
|
-
|
|
1802
|
+
ke.meta = te({}, e.__meta, /* @__PURE__ */ ha() || {}), ta(ke);
|
|
1803
1803
|
}
|
|
1804
1804
|
return P;
|
|
1805
1805
|
}
|
|
@@ -1809,11 +1809,11 @@ function wa(e) {
|
|
|
1809
1809
|
});
|
|
1810
1810
|
}
|
|
1811
1811
|
function Dn(e, t, n, r, a, s) {
|
|
1812
|
-
const { messages: u, onWarn: _, messageResolver: c, localeFallbacker: E } = e,
|
|
1813
|
-
let R =
|
|
1812
|
+
const { messages: u, onWarn: _, messageResolver: c, localeFallbacker: E } = e, T = E(e, r, n);
|
|
1813
|
+
let R = G(), g, p = null;
|
|
1814
1814
|
const L = "translate";
|
|
1815
|
-
for (let
|
|
1816
|
-
if (!Na(g,
|
|
1815
|
+
for (let k = 0; k < T.length && (g = T[k], R = u[g] || G(), (p = c(R, t)) === null && (p = R[t]), !(O(p) || Oe(p) || re(p))); k++)
|
|
1816
|
+
if (!Na(g, T)) {
|
|
1817
1817
|
const y = $t(
|
|
1818
1818
|
e,
|
|
1819
1819
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
@@ -1843,7 +1843,7 @@ function Fa(e, t, n) {
|
|
|
1843
1843
|
return t(n);
|
|
1844
1844
|
}
|
|
1845
1845
|
function At(...e) {
|
|
1846
|
-
const [t, n, r] = e, a =
|
|
1846
|
+
const [t, n, r] = e, a = G();
|
|
1847
1847
|
if (!O(t) && !ee(t) && !re(t) && !Oe(t))
|
|
1848
1848
|
throw pe(me.INVALID_ARGUMENT);
|
|
1849
1849
|
const s = ee(t) ? String(t) : (re(t), t);
|
|
@@ -1861,15 +1861,15 @@ function Ma(e, t, n, r, a, s) {
|
|
|
1861
1861
|
};
|
|
1862
1862
|
}
|
|
1863
1863
|
function Ua(e, t, n, r) {
|
|
1864
|
-
const { modifiers: a, pluralRules: s, messageResolver: u, fallbackLocale: _, fallbackWarn: c, missingWarn: E, fallbackContext:
|
|
1864
|
+
const { modifiers: a, pluralRules: s, messageResolver: u, fallbackLocale: _, fallbackWarn: c, missingWarn: E, fallbackContext: T } = e, g = {
|
|
1865
1865
|
locale: t,
|
|
1866
1866
|
modifiers: a,
|
|
1867
1867
|
pluralRules: s,
|
|
1868
1868
|
messages: (p, L) => {
|
|
1869
|
-
let
|
|
1870
|
-
if (
|
|
1869
|
+
let k = u(n, p);
|
|
1870
|
+
if (k == null && (T || L)) {
|
|
1871
1871
|
const [, , y] = Dn(
|
|
1872
|
-
|
|
1872
|
+
T || e,
|
|
1873
1873
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1874
1874
|
p,
|
|
1875
1875
|
t,
|
|
@@ -1877,23 +1877,23 @@ function Ua(e, t, n, r) {
|
|
|
1877
1877
|
c,
|
|
1878
1878
|
E
|
|
1879
1879
|
);
|
|
1880
|
-
|
|
1880
|
+
k = u(y, p);
|
|
1881
1881
|
}
|
|
1882
|
-
if (O(
|
|
1882
|
+
if (O(k) || Oe(k)) {
|
|
1883
1883
|
let y = !1;
|
|
1884
|
-
const b = Pn(e, p, t,
|
|
1884
|
+
const b = Pn(e, p, t, k, p, () => {
|
|
1885
1885
|
y = !0;
|
|
1886
1886
|
});
|
|
1887
1887
|
return y ? _n : b;
|
|
1888
|
-
} else return re(
|
|
1888
|
+
} else return re(k) ? k : _n;
|
|
1889
1889
|
}
|
|
1890
1890
|
};
|
|
1891
1891
|
return e.processor && (g.processor = e.processor), r.list && (g.list = r.list), r.named && (g.named = r.named), ee(r.plural) && (g.pluralIndex = r.plural), g;
|
|
1892
1892
|
}
|
|
1893
1893
|
wr();
|
|
1894
|
-
var Va = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_875eef4d-d209-433e-96c2-b26ba9ec013b", npm_package_scripts_dev_prod: "dotenv -e .env.prod -- vite --mode dev --port 5176", npm_package_dependencies__vue_devtools_api: "^6.5.0", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.18.5", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_core_dart: "^0.2.6", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^2.1.8", USER: "runner", npm_package_devDependencies__rollup_plugin_node_resolve: "^16.0.0", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v18.20.8 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_875eef4d-d209-433e-96c2-b26ba9ec013b", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", npm_package_devDependencies_vite: "^6.2.2", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", MENU_BACKEND_URL: "https://menu-v4.feedmeapi.com", GTM_ID: "GTM-WR8XHXLH", FIREBASE_MESSAGING_SENDER_ID: "128512026847", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "production", npm_package_devDependencies_sass: "1.69.5", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies__feedmepos_core_legacy: "file:../../core-legacy-1.4.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.3.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "workspace:^", npm_package_devDependencies_npm_run_all2: "^6.1.1", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-zzez732dna-as.a.run.app", SYSTEMD_EXEC_PID: "1830", ACTIONS_ORCHESTRATION_ID: "97b52994-25b5-4291-8d18-b42c83c45c51.publish.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.8.8", npm_package_dependencies_dayjs: "^1.11.12", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_i18next: "^23.11.5", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "dotenv -e .env.dev pnpm build-only", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.25", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260201.15.1", npm_package_scripts_dev: "vite --mode dev --port 5176", npm_package_scripts_build_prod: "dotenv -e .env.prod pnpm build-only", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.4", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_dependencies_i18next_vue: "^4.0.0", npm_package_devDependencies_prettier: "^3.0.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2.feedmeapi.com", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^10.11.0", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13426", GITHUB_WORKFLOW: "Publish mf-menu prod", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_vite_svg_loader: "^5.1.0", npm_package_devDependencies__rollup_plugin_commonjs: "^28.0.2", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.12/x64", REMY_URL: "https://remy.feedmeapi.com/v1", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^10.0.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.6/x64", GITHUB_RUN_ID: "21893953765", VITE_REMY_BACKEND_URL: "https://remy-agent.feedmeapi.com", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "6298cd0349d66b8aeb2e7a365461c7363f3e3684", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "production", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.2.4", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu-prod.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", npm_package_dependencies_axios: "^1.7.2", npm_package_devDependencies__types_pouchdb_core: "^7.0.15", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_e4409f82-7502-4e4f-a738-4089741de5b3", INVOCATION_ID: "28d1dd803a464af6bc64ecf046068c93", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "133", GITHUB_TRIGGERING_ACTOR: "victorchai", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-2MP52PC24R", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --no-git-checks", npm_config_frozen_lockfile: "", npm_package_dependencies_vue_advanced_cropper: "^2.8.9", npm_package_devDependencies__vitest_ui: "^2.1.8", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.49.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000046812", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", npm_package_exports___style_css: "./dist/style.css", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "2.15.3", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^5.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.32.8", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && echo 'Build completed'", npm_package_dependencies__feedmepos_mf_inventory_portal: "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz", npm_package_dependencies_exceljs: "^4.4.0", npm_package_dependencies_vuedraggable: "^4.1.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "false", FIREBASE_PROJECT_ID: "feedme-253402", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_scripts_test_coverage: "vitest --coverage", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "6298cd0349d66b8aeb2e7a365461c7363f3e3684", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", npm_package_dependencies_canvas: "^2.9.3", npm_package_dependencies_vue_router: "^4.2.5", npm_package_devDependencies_eslint_plugin_tailwindcss: "^3.14.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "victorchai", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_scripts_test_ui: "vitest --ui", npm_package_scripts_format: "prettier --write src/", npm_package_scripts_prepare_menu_debug: "bash scripts/prepare-menu-debug.sh", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_jszip: "^3.10.1", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_875eef4d-d209-433e-96c2-b26ba9ec013b", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "49786844", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_875eef4d-d209-433e-96c2-b26ba9ec013b", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "0.0.15", npm_package_dependencies__feedmepos_inventory_core: "^0.2.6", npm_package_dependencies__feedmepos_zod_entity: "0.0.4-alpha.9", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_devDependencies_eslint_plugin_vue: "^9.17.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", npm_package_scripts_deploy: "pnpm publish --no-git-checks .", npm_package_dependencies_vue3_carousel: "0.16.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", npm_package_dependencies__feedmepos_menu: "1.7.32", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_875eef4d-d209-433e-96c2-b26ba9ec013b", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_dependencies__feedmepos_mf_remy_panel: "^0.1.0", NODE_ENV: "production" } };
|
|
1894
|
+
var Va = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_15b0252f-6095-447c-a8cb-0b35bc42e4a9", npm_package_scripts_dev_prod: "dotenv -e .env.prod -- vite --mode dev --port 5176", npm_package_dependencies__vue_devtools_api: "^6.5.0", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.18.5", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_core_dart: "^0.2.6", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^2.1.8", USER: "runner", npm_package_devDependencies__rollup_plugin_node_resolve: "^16.0.0", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v18.20.8 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_15b0252f-6095-447c-a8cb-0b35bc42e4a9", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", npm_package_devDependencies_vite: "^6.2.2", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", MENU_BACKEND_URL: "https://menu-v4-dev.feedmeapi.com", GTM_ID: "GTM-P7Z9FMS6", FIREBASE_MESSAGING_SENDER_ID: "458797803788", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "development", npm_package_devDependencies_sass: "1.69.5", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies__feedmepos_core_legacy: "file:../../core-legacy-1.4.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.3.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "workspace:^", npm_package_devDependencies_npm_run_all2: "^6.1.1", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", VITE_FEATURE_FLAG_API_KEY: "MaGoXrEWuEJNpWgKTqseee", SYSTEMD_EXEC_PID: "1825", ACTIONS_ORCHESTRATION_ID: "04236c7d-cb1f-4be7-b7d9-ffd96fed3e23.publish.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.8.8", npm_package_dependencies_dayjs: "^1.11.12", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_i18next: "^23.11.5", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "dotenv -e .env.dev pnpm build-only", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.25", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260201.15.1", npm_package_scripts_dev: "vite --mode dev --port 5176", npm_package_scripts_build_prod: "dotenv -e .env.prod pnpm build-only", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.4", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_dependencies_i18next_vue: "^4.0.0", npm_package_devDependencies_prettier: "^3.0.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2-dev.feedmeapi.com", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^10.11.0", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13025", GITHUB_WORKFLOW: "Publish mf-menu dev", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_vite_svg_loader: "^5.1.0", npm_package_devDependencies__rollup_plugin_commonjs: "^28.0.2", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.12/x64", REMY_URL: "https://remy-dev.feedmeapi.com/v1", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^10.0.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.6/x64", GITHUB_RUN_ID: "21899278392", VITE_REMY_BACKEND_URL: "https://remy-agent.feedmeapidev.com", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "e527ebe38141487aab7223fcce9551d32f4be03c", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "development", FIREBASE_STORAGE_BUCKET: "image.feedmedev.cc", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.2.4", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", npm_package_dependencies_axios: "^1.7.2", npm_package_devDependencies__types_pouchdb_core: "^7.0.15", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_eb1149b3-643b-440c-b3fe-0b3356de65cb", INVOCATION_ID: "a2a05f4a670649f8b3fdc0fbf67e5aed", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "502", GITHUB_TRIGGERING_ACTOR: "victorchai", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-759WBZPF06", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --no-git-checks", npm_config_frozen_lockfile: "", npm_package_dependencies_vue_advanced_cropper: "^2.8.9", npm_package_devDependencies__vitest_ui: "^2.1.8", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.49.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000046949", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", npm_package_exports___style_css: "./dist/style.css", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "2.15.3", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^5.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.32.9-dev", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && echo 'Build completed'", npm_package_dependencies__feedmepos_mf_inventory_portal: "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz", npm_package_dependencies_exceljs: "^4.4.0", npm_package_dependencies_vuedraggable: "^4.1.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "true", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_scripts_test_coverage: "vitest --coverage", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "e527ebe38141487aab7223fcce9551d32f4be03c", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", npm_package_dependencies_canvas: "^2.9.3", npm_package_dependencies_vue_router: "^4.2.5", npm_package_devDependencies_eslint_plugin_tailwindcss: "^3.14.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "victorchai", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_scripts_test_ui: "vitest --ui", npm_package_scripts_format: "prettier --write src/", npm_package_scripts_prepare_menu_debug: "bash scripts/prepare-menu-debug.sh", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_jszip: "^3.10.1", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_15b0252f-6095-447c-a8cb-0b35bc42e4a9", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "49786844", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_15b0252f-6095-447c-a8cb-0b35bc42e4a9", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "0.0.15", npm_package_dependencies__feedmepos_inventory_core: "^0.2.6", npm_package_dependencies__feedmepos_zod_entity: "0.0.4-alpha.9", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_devDependencies_eslint_plugin_vue: "^9.17.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", npm_package_scripts_deploy: "pnpm publish --no-git-checks .", npm_package_dependencies_vue3_carousel: "0.16.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", npm_package_dependencies__feedmepos_menu: "1.7.32", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_15b0252f-6095-447c-a8cb-0b35bc42e4a9", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_dependencies__feedmepos_mf_remy_panel: "^0.1.0", NODE_ENV: "production" } };
|
|
1895
1895
|
const $a = "10.0.5";
|
|
1896
|
-
function
|
|
1896
|
+
function Ga() {
|
|
1897
1897
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (he().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (he().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (he().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (he().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
1898
1898
|
}
|
|
1899
1899
|
const Ce = {
|
|
@@ -1912,46 +1912,46 @@ const Ce = {
|
|
|
1912
1912
|
function $e(e, ...t) {
|
|
1913
1913
|
return nt(e, null, void 0);
|
|
1914
1914
|
}
|
|
1915
|
-
const Lt = /* @__PURE__ */
|
|
1916
|
-
function
|
|
1915
|
+
const Lt = /* @__PURE__ */ Te("__translateVNode"), Ot = /* @__PURE__ */ Te("__datetimeParts"), Ct = /* @__PURE__ */ Te("__numberParts"), Ha = Te("__setPluralRules"), wn = /* @__PURE__ */ Te("__injectWithOption"), St = /* @__PURE__ */ Te("__dispose");
|
|
1916
|
+
function Ge(e) {
|
|
1917
1917
|
if (!U(e))
|
|
1918
1918
|
return e;
|
|
1919
1919
|
for (const t in e)
|
|
1920
1920
|
if (le(e, t))
|
|
1921
1921
|
if (!t.includes("."))
|
|
1922
|
-
U(e[t]) &&
|
|
1922
|
+
U(e[t]) && Ge(e[t]);
|
|
1923
1923
|
else {
|
|
1924
1924
|
const n = t.split("."), r = n.length - 1;
|
|
1925
1925
|
let a = e, s = !1;
|
|
1926
1926
|
for (let u = 0; u < r; u++) {
|
|
1927
|
-
if (n[u] in a || (a[n[u]] =
|
|
1927
|
+
if (n[u] in a || (a[n[u]] = G()), !U(a[n[u]])) {
|
|
1928
1928
|
s = !0;
|
|
1929
1929
|
break;
|
|
1930
1930
|
}
|
|
1931
1931
|
a = a[n[u]];
|
|
1932
1932
|
}
|
|
1933
|
-
s || (a[n[r]] = e[t], delete e[t]), U(a[n[r]]) &&
|
|
1933
|
+
s || (a[n[r]] = e[t], delete e[t]), U(a[n[r]]) && Ge(a[n[r]]);
|
|
1934
1934
|
}
|
|
1935
1935
|
return e;
|
|
1936
1936
|
}
|
|
1937
1937
|
function Fn(e, t) {
|
|
1938
|
-
const { messages: n, __i18n: r, messageResolver: a, flatJson: s } = t, u = M(n) ? n : z(r) ?
|
|
1938
|
+
const { messages: n, __i18n: r, messageResolver: a, flatJson: s } = t, u = M(n) ? n : z(r) ? G() : { [e]: G() };
|
|
1939
1939
|
if (z(r) && r.forEach((_) => {
|
|
1940
1940
|
if ("locale" in _ && "resource" in _) {
|
|
1941
1941
|
const { locale: c, resource: E } = _;
|
|
1942
|
-
c ? (u[c] = u[c] ||
|
|
1942
|
+
c ? (u[c] = u[c] || G(), Je(E, u[c])) : Je(E, u);
|
|
1943
1943
|
} else
|
|
1944
1944
|
O(_) && Je(JSON.parse(_), u);
|
|
1945
1945
|
}), a == null && s)
|
|
1946
1946
|
for (const _ in u)
|
|
1947
|
-
le(u, _) &&
|
|
1947
|
+
le(u, _) && Ge(u[_]);
|
|
1948
1948
|
return u;
|
|
1949
1949
|
}
|
|
1950
1950
|
function Mn(e) {
|
|
1951
1951
|
return e.type;
|
|
1952
1952
|
}
|
|
1953
1953
|
function xa(e, t, n) {
|
|
1954
|
-
let r = U(t.messages) ? t.messages :
|
|
1954
|
+
let r = U(t.messages) ? t.messages : G();
|
|
1955
1955
|
"__i18nGlobal" in n && (r = Fn(e.locale.value, {
|
|
1956
1956
|
messages: r,
|
|
1957
1957
|
__i18n: n.__i18nGlobal
|
|
@@ -1976,20 +1976,20 @@ function xa(e, t, n) {
|
|
|
1976
1976
|
}
|
|
1977
1977
|
}
|
|
1978
1978
|
function pn(e) {
|
|
1979
|
-
return Q(
|
|
1979
|
+
return Q(Wn, null, e, 0);
|
|
1980
1980
|
}
|
|
1981
|
-
const dn = "__INTLIFY_META__", fn = () => [],
|
|
1981
|
+
const dn = "__INTLIFY_META__", fn = () => [], Wa = () => !1;
|
|
1982
1982
|
let gn = 0;
|
|
1983
1983
|
function En(e) {
|
|
1984
1984
|
return (t, n, r, a) => e(n, r, Dt() || void 0, a);
|
|
1985
1985
|
}
|
|
1986
|
-
const
|
|
1986
|
+
const Ba = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1987
1987
|
const e = Dt();
|
|
1988
1988
|
let t = null;
|
|
1989
1989
|
return e && (t = Mn(e)[dn]) ? { [dn]: t } : null;
|
|
1990
1990
|
};
|
|
1991
1991
|
function Ka(e = {}) {
|
|
1992
|
-
const { __root: t, __injectWithOption: n } = e, r = t === void 0, a = e.flatJson, s = Kt ? oe :
|
|
1992
|
+
const { __root: t, __injectWithOption: n } = e, r = t === void 0, a = e.flatJson, s = Kt ? oe : Hn;
|
|
1993
1993
|
let u = J(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1994
1994
|
const _ = s(
|
|
1995
1995
|
// prettier-ignore
|
|
@@ -1997,8 +1997,8 @@ function Ka(e = {}) {
|
|
|
1997
1997
|
), c = s(
|
|
1998
1998
|
// prettier-ignore
|
|
1999
1999
|
t && u ? t.fallbackLocale.value : O(e.fallbackLocale) || z(e.fallbackLocale) || M(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : _.value
|
|
2000
|
-
), E = s(Fn(_.value, e)),
|
|
2001
|
-
let g = t ? t.missingWarn : J(e.missingWarn) || ze(e.missingWarn) ? e.missingWarn : !0, p = t ? t.fallbackWarn : J(e.fallbackWarn) || ze(e.fallbackWarn) ? e.fallbackWarn : !0, L = t ? t.fallbackRoot : J(e.fallbackRoot) ? e.fallbackRoot : !0,
|
|
2000
|
+
), E = s(Fn(_.value, e)), T = s(M(e.datetimeFormats) ? e.datetimeFormats : { [_.value]: {} }), R = s(M(e.numberFormats) ? e.numberFormats : { [_.value]: {} });
|
|
2001
|
+
let g = t ? t.missingWarn : J(e.missingWarn) || ze(e.missingWarn) ? e.missingWarn : !0, p = t ? t.fallbackWarn : J(e.fallbackWarn) || ze(e.fallbackWarn) ? e.fallbackWarn : !0, L = t ? t.fallbackRoot : J(e.fallbackRoot) ? e.fallbackRoot : !0, k = !!e.fallbackFormat, y = K(e.missing) ? e.missing : null, i = K(e.missing) ? En(e.missing) : null, b = K(e.postTranslation) ? e.postTranslation : null, N = t ? t.warnHtmlMessage : J(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, f = !!e.escapeParameter;
|
|
2002
2002
|
const A = t ? t.modifiers : M(e.modifiers) ? e.modifiers : {};
|
|
2003
2003
|
let v = e.pluralRules || t && t.pluralRules, m;
|
|
2004
2004
|
m = (() => {
|
|
@@ -2013,7 +2013,7 @@ function Ka(e = {}) {
|
|
|
2013
2013
|
missing: i === null ? void 0 : i,
|
|
2014
2014
|
missingWarn: g,
|
|
2015
2015
|
fallbackWarn: p,
|
|
2016
|
-
fallbackFormat:
|
|
2016
|
+
fallbackFormat: k,
|
|
2017
2017
|
unresolving: !0,
|
|
2018
2018
|
postTranslation: b === null ? void 0 : b,
|
|
2019
2019
|
warnHtmlMessage: N,
|
|
@@ -2022,8 +2022,8 @@ function Ka(e = {}) {
|
|
|
2022
2022
|
messageCompiler: e.messageCompiler,
|
|
2023
2023
|
__meta: { framework: "vue" }
|
|
2024
2024
|
};
|
|
2025
|
-
d.datetimeFormats =
|
|
2026
|
-
const I =
|
|
2025
|
+
d.datetimeFormats = T.value, d.numberFormats = R.value, d.__datetimeFormatters = M(m) ? m.__datetimeFormatters : void 0, d.__numberFormatters = M(m) ? m.__numberFormatters : void 0;
|
|
2026
|
+
const I = ka(d);
|
|
2027
2027
|
return r && rn(I), I;
|
|
2028
2028
|
})(), Pe(m, _.value, c.value);
|
|
2029
2029
|
function D() {
|
|
@@ -2031,11 +2031,11 @@ function Ka(e = {}) {
|
|
|
2031
2031
|
_.value,
|
|
2032
2032
|
c.value,
|
|
2033
2033
|
E.value,
|
|
2034
|
-
|
|
2034
|
+
T.value,
|
|
2035
2035
|
R.value
|
|
2036
2036
|
];
|
|
2037
2037
|
}
|
|
2038
|
-
const
|
|
2038
|
+
const W = x({
|
|
2039
2039
|
get: () => _.value,
|
|
2040
2040
|
set: (d) => {
|
|
2041
2041
|
_.value = d, m.locale = _.value;
|
|
@@ -2045,7 +2045,7 @@ function Ka(e = {}) {
|
|
|
2045
2045
|
set: (d) => {
|
|
2046
2046
|
c.value = d, m.fallbackLocale = c.value, Pe(m, _.value, d);
|
|
2047
2047
|
}
|
|
2048
|
-
}), P = x(() => E.value),
|
|
2048
|
+
}), P = x(() => E.value), ke = /* @__PURE__ */ x(() => T.value), at = /* @__PURE__ */ x(() => R.value);
|
|
2049
2049
|
function st() {
|
|
2050
2050
|
return K(b) ? b : null;
|
|
2051
2051
|
}
|
|
@@ -2058,16 +2058,16 @@ function Ka(e = {}) {
|
|
|
2058
2058
|
function ut(d) {
|
|
2059
2059
|
d !== null && (i = En(d)), y = d, m.missing = i;
|
|
2060
2060
|
}
|
|
2061
|
-
const ce = (d, I,
|
|
2061
|
+
const ce = (d, I, H, q, be, je) => {
|
|
2062
2062
|
D();
|
|
2063
2063
|
let Re;
|
|
2064
2064
|
try {
|
|
2065
|
-
Va.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (m.fallbackContext = t ?
|
|
2065
|
+
Va.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (m.fallbackContext = t ? Ta() : void 0), Re = d(m);
|
|
2066
2066
|
} finally {
|
|
2067
2067
|
__INTLIFY_PROD_DEVTOOLS__, r || (m.fallbackContext = void 0);
|
|
2068
2068
|
}
|
|
2069
|
-
if (
|
|
2070
|
-
ee(Re) && Re === rt ||
|
|
2069
|
+
if (H !== "translate exists" && // for not `te` (e.g `t`)
|
|
2070
|
+
ee(Re) && Re === rt || H === "translate exists" && !Re) {
|
|
2071
2071
|
const [$n, Ms] = I();
|
|
2072
2072
|
return t && L ? q(t) : be($n);
|
|
2073
2073
|
} else {
|
|
@@ -2076,14 +2076,14 @@ function Ka(e = {}) {
|
|
|
2076
2076
|
throw $e(Ce.UNEXPECTED_RETURN_TYPE);
|
|
2077
2077
|
}
|
|
2078
2078
|
};
|
|
2079
|
-
function
|
|
2079
|
+
function We(...d) {
|
|
2080
2080
|
return ce((I) => Reflect.apply(mn, null, [I, ...d]), () => At(...d), "translate", (I) => Reflect.apply(I.t, I, [...d]), (I) => I, (I) => O(I));
|
|
2081
2081
|
}
|
|
2082
|
-
function
|
|
2083
|
-
const [I,
|
|
2082
|
+
function Be(...d) {
|
|
2083
|
+
const [I, H, q] = d;
|
|
2084
2084
|
if (q && !U(q))
|
|
2085
2085
|
throw $e(Ce.INVALID_ARGUMENT);
|
|
2086
|
-
return
|
|
2086
|
+
return We(I, H, te({ resolvedMessage: !0 }, q || {}));
|
|
2087
2087
|
}
|
|
2088
2088
|
function it(...d) {
|
|
2089
2089
|
return ce((I) => Reflect.apply(sn, null, [I, ...d]), () => Nt(...d), "datetime format", (I) => Reflect.apply(I.d, I, [...d]), () => tn, (I) => O(I));
|
|
@@ -2101,14 +2101,14 @@ function Ka(e = {}) {
|
|
|
2101
2101
|
};
|
|
2102
2102
|
function pt(...d) {
|
|
2103
2103
|
return ce((I) => {
|
|
2104
|
-
let
|
|
2104
|
+
let H;
|
|
2105
2105
|
const q = I;
|
|
2106
2106
|
try {
|
|
2107
|
-
q.processor = mt,
|
|
2107
|
+
q.processor = mt, H = Reflect.apply(mn, null, [q, ...d]);
|
|
2108
2108
|
} finally {
|
|
2109
2109
|
q.processor = null;
|
|
2110
2110
|
}
|
|
2111
|
-
return
|
|
2111
|
+
return H;
|
|
2112
2112
|
}, () => At(...d), "translate", (I) => I[Lt](...d), (I) => [pn(I)], (I) => z(I));
|
|
2113
2113
|
}
|
|
2114
2114
|
function Ke(...d) {
|
|
@@ -2124,15 +2124,15 @@ function Ka(e = {}) {
|
|
|
2124
2124
|
return ce(() => {
|
|
2125
2125
|
if (!d)
|
|
2126
2126
|
return !1;
|
|
2127
|
-
const
|
|
2127
|
+
const H = O(I) ? I : _.value, q = Ie(H), be = m.messageResolver(q, d);
|
|
2128
2128
|
return Oe(be) || re(be) || O(be);
|
|
2129
|
-
}, () => [d], "translate exists", (
|
|
2129
|
+
}, () => [d], "translate exists", (H) => Reflect.apply(H.te, H, [d, I]), Wa, (H) => J(H));
|
|
2130
2130
|
}
|
|
2131
2131
|
function Et(d) {
|
|
2132
2132
|
let I = null;
|
|
2133
|
-
const
|
|
2134
|
-
for (let q = 0; q <
|
|
2135
|
-
const be = E.value[
|
|
2133
|
+
const H = In(m, c.value, _.value);
|
|
2134
|
+
for (let q = 0; q < H.length; q++) {
|
|
2135
|
+
const be = E.value[H[q]] || {}, je = m.messageResolver(be, d);
|
|
2136
2136
|
if (je != null) {
|
|
2137
2137
|
I = je;
|
|
2138
2138
|
break;
|
|
@@ -2149,29 +2149,29 @@ function Ka(e = {}) {
|
|
|
2149
2149
|
}
|
|
2150
2150
|
function Ne(d, I) {
|
|
2151
2151
|
if (a) {
|
|
2152
|
-
const
|
|
2153
|
-
for (const q in
|
|
2154
|
-
le(
|
|
2155
|
-
I =
|
|
2152
|
+
const H = { [d]: I };
|
|
2153
|
+
for (const q in H)
|
|
2154
|
+
le(H, q) && Ge(H[q]);
|
|
2155
|
+
I = H[d];
|
|
2156
2156
|
}
|
|
2157
2157
|
E.value[d] = I, m.messages = E.value;
|
|
2158
2158
|
}
|
|
2159
2159
|
function De(d, I) {
|
|
2160
2160
|
E.value[d] = E.value[d] || {};
|
|
2161
|
-
const
|
|
2161
|
+
const H = { [d]: I };
|
|
2162
2162
|
if (a)
|
|
2163
|
-
for (const q in
|
|
2164
|
-
le(
|
|
2165
|
-
I =
|
|
2163
|
+
for (const q in H)
|
|
2164
|
+
le(H, q) && Ge(H[q]);
|
|
2165
|
+
I = H[d], Je(I, E.value[d]), m.messages = E.value;
|
|
2166
2166
|
}
|
|
2167
2167
|
function vt(d) {
|
|
2168
|
-
return
|
|
2168
|
+
return T.value[d] || {};
|
|
2169
2169
|
}
|
|
2170
2170
|
function o(d, I) {
|
|
2171
|
-
|
|
2171
|
+
T.value[d] = I, m.datetimeFormats = T.value, on(m, d, I);
|
|
2172
2172
|
}
|
|
2173
2173
|
function l(d, I) {
|
|
2174
|
-
|
|
2174
|
+
T.value[d] = te(T.value[d] || {}, I), m.datetimeFormats = T.value, on(m, d, I);
|
|
2175
2175
|
}
|
|
2176
2176
|
function h(d) {
|
|
2177
2177
|
return R.value[d] || {};
|
|
@@ -2189,7 +2189,7 @@ function Ka(e = {}) {
|
|
|
2189
2189
|
}));
|
|
2190
2190
|
const F = {
|
|
2191
2191
|
id: gn,
|
|
2192
|
-
locale:
|
|
2192
|
+
locale: W,
|
|
2193
2193
|
fallbackLocale: w,
|
|
2194
2194
|
get inheritLocale() {
|
|
2195
2195
|
return u;
|
|
@@ -2229,10 +2229,10 @@ function Ka(e = {}) {
|
|
|
2229
2229
|
L = d;
|
|
2230
2230
|
},
|
|
2231
2231
|
get fallbackFormat() {
|
|
2232
|
-
return
|
|
2232
|
+
return k;
|
|
2233
2233
|
},
|
|
2234
2234
|
set fallbackFormat(d) {
|
|
2235
|
-
|
|
2235
|
+
k = d, m.fallbackFormat = k;
|
|
2236
2236
|
},
|
|
2237
2237
|
get warnHtmlMessage() {
|
|
2238
2238
|
return N;
|
|
@@ -2246,7 +2246,7 @@ function Ka(e = {}) {
|
|
|
2246
2246
|
set escapeParameter(d) {
|
|
2247
2247
|
f = d, m.escapeParameter = d;
|
|
2248
2248
|
},
|
|
2249
|
-
t:
|
|
2249
|
+
t: We,
|
|
2250
2250
|
getLocaleMessage: Ie,
|
|
2251
2251
|
setLocaleMessage: Ne,
|
|
2252
2252
|
mergeLocaleMessage: De,
|
|
@@ -2254,11 +2254,11 @@ function Ka(e = {}) {
|
|
|
2254
2254
|
setPostTranslationHandler: ot,
|
|
2255
2255
|
getMissingHandler: lt,
|
|
2256
2256
|
setMissingHandler: ut,
|
|
2257
|
-
[
|
|
2257
|
+
[Ha]: ft
|
|
2258
2258
|
};
|
|
2259
|
-
return F.datetimeFormats =
|
|
2259
|
+
return F.datetimeFormats = ke, F.numberFormats = at, F.rt = Be, F.te = gt, F.tm = Se, F.d = it, F.n = ct, F.getDateTimeFormat = vt, F.setDateTimeFormat = o, F.mergeDateTimeFormat = l, F.getNumberFormat = h, F.setNumberFormat = S, F.mergeNumberFormat = X, F[wn] = n, F[Lt] = pt, F[Ot] = dt, F[Ct] = Ke, F;
|
|
2260
2260
|
}
|
|
2261
|
-
const
|
|
2261
|
+
const Gt = {
|
|
2262
2262
|
tag: {
|
|
2263
2263
|
type: [String, Object]
|
|
2264
2264
|
},
|
|
@@ -2284,7 +2284,7 @@ function ja({ slots: e }, t) {
|
|
|
2284
2284
|
], []) : t.reduce((n, r) => {
|
|
2285
2285
|
const a = e[r];
|
|
2286
2286
|
return a && (n[r] = a()), n;
|
|
2287
|
-
},
|
|
2287
|
+
}, G());
|
|
2288
2288
|
}
|
|
2289
2289
|
function Un() {
|
|
2290
2290
|
return de;
|
|
@@ -2298,7 +2298,7 @@ te({
|
|
|
2298
2298
|
type: [Number, String],
|
|
2299
2299
|
validator: (e) => ee(e) || !isNaN(e)
|
|
2300
2300
|
}
|
|
2301
|
-
},
|
|
2301
|
+
}, Gt);
|
|
2302
2302
|
function Ya(e) {
|
|
2303
2303
|
return z(e) && !O(e[0]);
|
|
2304
2304
|
}
|
|
@@ -2306,16 +2306,16 @@ function Vn(e, t, n, r) {
|
|
|
2306
2306
|
const { slots: a, attrs: s } = t;
|
|
2307
2307
|
return () => {
|
|
2308
2308
|
const u = { part: !0 };
|
|
2309
|
-
let _ =
|
|
2310
|
-
e.locale && (u.locale = e.locale), O(e.format) ? u.key = e.format : U(e.format) && (O(e.format.key) && (u.key = e.format.key), _ = Object.keys(e.format).reduce((g, p) => n.includes(p) ? te(
|
|
2309
|
+
let _ = G();
|
|
2310
|
+
e.locale && (u.locale = e.locale), O(e.format) ? u.key = e.format : U(e.format) && (O(e.format.key) && (u.key = e.format.key), _ = Object.keys(e.format).reduce((g, p) => n.includes(p) ? te(G(), g, { [p]: e.format[p] }) : g, G()));
|
|
2311
2311
|
const c = r(e.value, u, _);
|
|
2312
2312
|
let E = [u.key];
|
|
2313
2313
|
z(c) ? E = c.map((g, p) => {
|
|
2314
|
-
const L = a[g.type],
|
|
2315
|
-
return Ya(
|
|
2314
|
+
const L = a[g.type], k = L ? L({ [g.type]: g.value, index: p, parts: c }) : [g.value];
|
|
2315
|
+
return Ya(k) && (k[0].key = `${g.type}-${p}`), k;
|
|
2316
2316
|
}) : O(c) && (E = [c]);
|
|
2317
|
-
const
|
|
2318
|
-
return hn(R,
|
|
2317
|
+
const T = te(G(), s), R = O(e.tag) || U(e.tag) ? e.tag : Un();
|
|
2318
|
+
return hn(R, T, E);
|
|
2319
2319
|
};
|
|
2320
2320
|
}
|
|
2321
2321
|
te({
|
|
@@ -2326,7 +2326,7 @@ te({
|
|
|
2326
2326
|
format: {
|
|
2327
2327
|
type: [String, Object]
|
|
2328
2328
|
}
|
|
2329
|
-
},
|
|
2329
|
+
}, Gt);
|
|
2330
2330
|
te({
|
|
2331
2331
|
value: {
|
|
2332
2332
|
type: [Number, Date],
|
|
@@ -2335,8 +2335,8 @@ te({
|
|
|
2335
2335
|
format: {
|
|
2336
2336
|
type: [String, Object]
|
|
2337
2337
|
}
|
|
2338
|
-
},
|
|
2339
|
-
const Xa = /* @__PURE__ */
|
|
2338
|
+
}, Gt);
|
|
2339
|
+
const Xa = /* @__PURE__ */ Te("global-vue-i18n");
|
|
2340
2340
|
function xe(e = {}) {
|
|
2341
2341
|
const t = Dt();
|
|
2342
2342
|
if (t == null)
|
|
@@ -2359,7 +2359,7 @@ function xe(e = {}) {
|
|
|
2359
2359
|
return _;
|
|
2360
2360
|
}
|
|
2361
2361
|
function qa(e) {
|
|
2362
|
-
const t =
|
|
2362
|
+
const t = Gn(e.isCE ? Xa : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
2363
2363
|
if (!t)
|
|
2364
2364
|
throw $e(e.isCE ? Ce.NOT_INSTALLED_WITH_PROVIDE : Ce.UNEXPECTED_ERROR);
|
|
2365
2365
|
return t;
|
|
@@ -2400,7 +2400,7 @@ function es(e, t, n) {
|
|
|
2400
2400
|
a && (a(), delete r[St]);
|
|
2401
2401
|
}, t);
|
|
2402
2402
|
}
|
|
2403
|
-
|
|
2403
|
+
Ga();
|
|
2404
2404
|
Ea(Zr);
|
|
2405
2405
|
va(da);
|
|
2406
2406
|
ya(In);
|
|
@@ -2411,7 +2411,7 @@ if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
|
2411
2411
|
function ge(e) {
|
|
2412
2412
|
return Array.from(new Set(e));
|
|
2413
2413
|
}
|
|
2414
|
-
function
|
|
2414
|
+
function Bs() {
|
|
2415
2415
|
const e = Pt();
|
|
2416
2416
|
return {
|
|
2417
2417
|
restaurantAttributes: x(() => [
|
|
@@ -2452,7 +2452,7 @@ function ns(e, t) {
|
|
|
2452
2452
|
}));
|
|
2453
2453
|
}
|
|
2454
2454
|
function rs() {
|
|
2455
|
-
const e = Pt(), { t } =
|
|
2455
|
+
const e = Pt(), { t } = He(), n = e.restaurants.value;
|
|
2456
2456
|
return [
|
|
2457
2457
|
"name",
|
|
2458
2458
|
"code",
|
|
@@ -2468,7 +2468,7 @@ function rs() {
|
|
|
2468
2468
|
}));
|
|
2469
2469
|
}
|
|
2470
2470
|
function as() {
|
|
2471
|
-
const e =
|
|
2471
|
+
const e = Tn(), { t } = He(), n = e.state.menu.modules.item, r = e.categories;
|
|
2472
2472
|
return [
|
|
2473
2473
|
{
|
|
2474
2474
|
label: t("menu.rule_groups.condition_view.attribute.product_name"),
|
|
@@ -2502,19 +2502,19 @@ function Ks(e = {}) {
|
|
|
2502
2502
|
type: "string",
|
|
2503
2503
|
key: "name",
|
|
2504
2504
|
entity: "item",
|
|
2505
|
-
values: ge(u.filter((
|
|
2505
|
+
values: ge(u.filter((T) => !!T.name).map((T) => T.name))
|
|
2506
2506
|
},
|
|
2507
2507
|
{
|
|
2508
2508
|
type: "string",
|
|
2509
2509
|
key: "code",
|
|
2510
2510
|
entity: "item",
|
|
2511
|
-
values: ge(u.filter((
|
|
2511
|
+
values: ge(u.filter((T) => !!T.code).map((T) => T.code))
|
|
2512
2512
|
},
|
|
2513
2513
|
{
|
|
2514
2514
|
type: "string",
|
|
2515
2515
|
key: "category",
|
|
2516
2516
|
entity: "item",
|
|
2517
|
-
values: ge(_.filter((
|
|
2517
|
+
values: ge(_.filter((T) => !!T.name).map((T) => T.name))
|
|
2518
2518
|
}
|
|
2519
2519
|
];
|
|
2520
2520
|
}), n = x(() => {
|
|
@@ -2531,20 +2531,20 @@ function Ks(e = {}) {
|
|
|
2531
2531
|
}), u;
|
|
2532
2532
|
});
|
|
2533
2533
|
function a(u) {
|
|
2534
|
-
const _ =
|
|
2534
|
+
const _ = Bt.cloneDeep(u);
|
|
2535
2535
|
return _ != null && _.rules && (_.rules = _.rules.map((c) => {
|
|
2536
2536
|
if ("property" in c && c.property === "category" && Array.isArray(c.value)) {
|
|
2537
|
-
const E = c.value.map((
|
|
2537
|
+
const E = c.value.map((T) => r.value[T]);
|
|
2538
2538
|
return { ...c, value: E };
|
|
2539
2539
|
}
|
|
2540
2540
|
return c;
|
|
2541
2541
|
})), _;
|
|
2542
2542
|
}
|
|
2543
2543
|
function s(u) {
|
|
2544
|
-
const _ =
|
|
2544
|
+
const _ = Bt.cloneDeep(u);
|
|
2545
2545
|
return _ != null && _.rules && (_.rules = _.rules.map((c) => {
|
|
2546
2546
|
if ("property" in c && c.property === "category" && Array.isArray(c.value)) {
|
|
2547
|
-
const E = c.value.map((
|
|
2547
|
+
const E = c.value.map((T) => n.value[T]);
|
|
2548
2548
|
return { ...c, value: E };
|
|
2549
2549
|
}
|
|
2550
2550
|
return c;
|
|
@@ -2592,17 +2592,17 @@ const ss = {
|
|
|
2592
2592
|
}) {
|
|
2593
2593
|
const {
|
|
2594
2594
|
t: n
|
|
2595
|
-
} =
|
|
2595
|
+
} = He(), r = e, a = t, s = Tn(), {
|
|
2596
2596
|
attributes: u
|
|
2597
|
-
} =
|
|
2597
|
+
} = Wt({
|
|
2598
2598
|
valueSource: Pt().restaurants,
|
|
2599
2599
|
entity: "restaurant"
|
|
2600
2600
|
}), {
|
|
2601
2601
|
attributes: _
|
|
2602
|
-
} =
|
|
2602
|
+
} = Wt({
|
|
2603
2603
|
valueSource: x(() => s.state.menu.modules.item || []),
|
|
2604
2604
|
entity: "item"
|
|
2605
|
-
}), c = rs(), E = as(),
|
|
2605
|
+
}), c = rs(), E = as(), T = oe(r.ruleKey), R = x(() => [...c.map((v) => ({
|
|
2606
2606
|
label: v.label,
|
|
2607
2607
|
value: `restaurant_attr_${v.value}`
|
|
2608
2608
|
})), ...u.value.map((v) => ({
|
|
@@ -2615,7 +2615,7 @@ const ss = {
|
|
|
2615
2615
|
label: `Product ${v.key}`,
|
|
2616
2616
|
value: `item_custom_${v.key}`
|
|
2617
2617
|
}))]), g = oe(r.values), p = x(() => {
|
|
2618
|
-
const v =
|
|
2618
|
+
const v = T.value;
|
|
2619
2619
|
if (!v) return [];
|
|
2620
2620
|
if (v.startsWith("restaurant_attr_")) {
|
|
2621
2621
|
const m = v.replace("restaurant_attr_", ""), C = c.find((D) => D.value === m);
|
|
@@ -2641,7 +2641,7 @@ const ss = {
|
|
|
2641
2641
|
}));
|
|
2642
2642
|
}
|
|
2643
2643
|
return [];
|
|
2644
|
-
}), L = oe(r.operator),
|
|
2644
|
+
}), L = oe(r.operator), k = [{
|
|
2645
2645
|
label: n("menu.rule_groups.condition_view.operator.in"),
|
|
2646
2646
|
value: "$in"
|
|
2647
2647
|
}, {
|
|
@@ -2654,14 +2654,14 @@ const ss = {
|
|
|
2654
2654
|
label: n("menu.rule_groups.condition_view.operator.starts_with"),
|
|
2655
2655
|
value: "$startsWith"
|
|
2656
2656
|
}], y = oe(""), i = x(() => {
|
|
2657
|
-
const v = p.value, m = Array.isArray(g.value) ? g.value : [], C = m.map((
|
|
2657
|
+
const v = p.value, m = Array.isArray(g.value) ? g.value : [], C = m.map((W) => v.find((w) => w.value === W)).filter(Boolean);
|
|
2658
2658
|
let D = [];
|
|
2659
|
-
return y.value ? (D = v.filter((
|
|
2659
|
+
return y.value ? (D = v.filter((W) => W.label.toLowerCase().includes(y.value.toLowerCase()) && !m.includes(W.value)), [...C, ...D]) : (D = v.filter((W) => !m.includes(W.value)), [...C, ...D]);
|
|
2660
2660
|
}), b = x(() => {
|
|
2661
2661
|
let v = R.value;
|
|
2662
|
-
return v = v.filter((m) => !r.selectedKeys.includes(m.value) || m.value ===
|
|
2662
|
+
return v = v.filter((m) => !r.selectedKeys.includes(m.value) || m.value === T.value), y.value ? v.filter((m) => m.label.toLowerCase().includes(y.value.toLowerCase())) : v;
|
|
2663
2663
|
});
|
|
2664
|
-
Ze(() =>
|
|
2664
|
+
Ze(() => T.value, (v) => {
|
|
2665
2665
|
g.value = [];
|
|
2666
2666
|
});
|
|
2667
2667
|
function N(v) {
|
|
@@ -2675,7 +2675,7 @@ const ss = {
|
|
|
2675
2675
|
return "string";
|
|
2676
2676
|
}
|
|
2677
2677
|
function f(v, m) {
|
|
2678
|
-
const C = N(v === "ruleKey" ? m :
|
|
2678
|
+
const C = N(v === "ruleKey" ? m : T.value);
|
|
2679
2679
|
switch (v) {
|
|
2680
2680
|
case "ruleKey":
|
|
2681
2681
|
a("update:modelValue", {
|
|
@@ -2689,7 +2689,7 @@ const ss = {
|
|
|
2689
2689
|
break;
|
|
2690
2690
|
case "operator":
|
|
2691
2691
|
a("update:modelValue", {
|
|
2692
|
-
ruleKey:
|
|
2692
|
+
ruleKey: T.value,
|
|
2693
2693
|
operator: m,
|
|
2694
2694
|
values: g.value,
|
|
2695
2695
|
uniqueKey: r.uniqueKey,
|
|
@@ -2699,7 +2699,7 @@ const ss = {
|
|
|
2699
2699
|
break;
|
|
2700
2700
|
case "ruleValues":
|
|
2701
2701
|
a("update:modelValue", {
|
|
2702
|
-
ruleKey:
|
|
2702
|
+
ruleKey: T.value,
|
|
2703
2703
|
operator: L.value,
|
|
2704
2704
|
values: m,
|
|
2705
2705
|
uniqueKey: r.uniqueKey,
|
|
@@ -2719,11 +2719,11 @@ const ss = {
|
|
|
2719
2719
|
});
|
|
2720
2720
|
}
|
|
2721
2721
|
return (v, m) => {
|
|
2722
|
-
const C = fe("FmSearch"), D = fe("FmSelect"),
|
|
2723
|
-
return
|
|
2722
|
+
const C = fe("FmSearch"), D = fe("FmSelect"), W = fe("FmButton");
|
|
2723
|
+
return B(), j("div", ss, [V("div", os, [Q(D, {
|
|
2724
2724
|
class: "flex w-full",
|
|
2725
|
-
modelValue:
|
|
2726
|
-
"onUpdate:modelValue": [m[2] || (m[2] = (w) =>
|
|
2725
|
+
modelValue: T.value,
|
|
2726
|
+
"onUpdate:modelValue": [m[2] || (m[2] = (w) => T.value = w), m[3] || (m[3] = (w) => f("ruleKey", w))],
|
|
2727
2727
|
items: b.value,
|
|
2728
2728
|
placeholder: Y(n)("menu.rule_groups.condition_view.select_item")
|
|
2729
2729
|
}, {
|
|
@@ -2742,8 +2742,8 @@ const ss = {
|
|
|
2742
2742
|
modelValue: L.value,
|
|
2743
2743
|
"onUpdate:modelValue": [m[4] || (m[4] = (w) => L.value = w), m[5] || (m[5] = (w) => f("operator", w))],
|
|
2744
2744
|
placeholder: Y(n)("menu.rule_groups.condition_view.select_item"),
|
|
2745
|
-
items:
|
|
2746
|
-
rules: [(w) =>
|
|
2745
|
+
items: k,
|
|
2746
|
+
rules: [(w) => T.value && !w ? Y(n)("menu.rule_groups.condition_view.required") : !0]
|
|
2747
2747
|
}, null, 8, ["modelValue", "placeholder", "rules"]), Q(D, {
|
|
2748
2748
|
class: "flex w-full",
|
|
2749
2749
|
modelValue: g.value,
|
|
@@ -2752,7 +2752,7 @@ const ss = {
|
|
|
2752
2752
|
placeholder: Y(n)("menu.rule_groups.condition_view.select_item"),
|
|
2753
2753
|
multiselect: "",
|
|
2754
2754
|
"hide-chips": "",
|
|
2755
|
-
rules: [(w) =>
|
|
2755
|
+
rules: [(w) => T.value && (!w || w.length === 0) ? Y(n)("menu.rule_groups.condition_view.required") : !0]
|
|
2756
2756
|
}, {
|
|
2757
2757
|
default: ae(() => [V("div", ls, Z(g.value.join(", ")), 1)]),
|
|
2758
2758
|
"prepend-menu": ae(() => [Q(C, {
|
|
@@ -2762,7 +2762,7 @@ const ss = {
|
|
|
2762
2762
|
placeholder: Y(n)("common.filter")
|
|
2763
2763
|
}, null, 8, ["modelValue", "placeholder"])]),
|
|
2764
2764
|
_: 1
|
|
2765
|
-
}, 8, ["modelValue", "items", "placeholder", "rules"])]), Q(
|
|
2765
|
+
}, 8, ["modelValue", "items", "placeholder", "rules"])]), Q(W, {
|
|
2766
2766
|
variant: "tertiary",
|
|
2767
2767
|
"prepend-icon": "close",
|
|
2768
2768
|
onClick: m[9] || (m[9] = se((w) => A(), ["stop"]))
|
|
@@ -2786,7 +2786,7 @@ const ss = {
|
|
|
2786
2786
|
}) {
|
|
2787
2787
|
const {
|
|
2788
2788
|
t: n
|
|
2789
|
-
} =
|
|
2789
|
+
} = He(), r = e, a = t, s = x(() => {
|
|
2790
2790
|
var p;
|
|
2791
2791
|
return ((p = r.modelValue.restaurantRule) == null ? void 0 : p.restaurantAttributes) ?? {};
|
|
2792
2792
|
}), u = x(() => {
|
|
@@ -2818,19 +2818,19 @@ const ss = {
|
|
|
2818
2818
|
bn(() => {
|
|
2819
2819
|
E.value.length === 0 && g();
|
|
2820
2820
|
});
|
|
2821
|
-
const
|
|
2821
|
+
const T = oe([]);
|
|
2822
2822
|
function R(p) {
|
|
2823
|
-
const L = p.uniqueKey.split("_"),
|
|
2823
|
+
const L = p.uniqueKey.split("_"), k = L[0] === "newCondition";
|
|
2824
2824
|
if (p.action === "delete")
|
|
2825
|
-
if (
|
|
2826
|
-
|
|
2825
|
+
if (k)
|
|
2826
|
+
T.value = T.value.filter((y) => y.key !== p.uniqueKey);
|
|
2827
2827
|
else {
|
|
2828
2828
|
const y = L.slice(1).join("_");
|
|
2829
2829
|
E.value = E.value.filter((i) => i.id !== y);
|
|
2830
2830
|
}
|
|
2831
2831
|
else if (p.action === "update")
|
|
2832
|
-
if (
|
|
2833
|
-
|
|
2832
|
+
if (k)
|
|
2833
|
+
T.value = T.value.filter((y) => y.key !== p.uniqueKey), E.value.push({
|
|
2834
2834
|
id: crypto.randomUUID(),
|
|
2835
2835
|
property: p.ruleKey,
|
|
2836
2836
|
operator: p.operator,
|
|
@@ -2851,15 +2851,15 @@ const ss = {
|
|
|
2851
2851
|
a("update:modelValue", E.value);
|
|
2852
2852
|
}
|
|
2853
2853
|
function g() {
|
|
2854
|
-
|
|
2855
|
-
key: `newCondition_${
|
|
2854
|
+
T.value.push({
|
|
2855
|
+
key: `newCondition_${T.value.length}`
|
|
2856
2856
|
});
|
|
2857
2857
|
}
|
|
2858
|
-
return Ze(() => E.value.length +
|
|
2858
|
+
return Ze(() => E.value.length + T.value.length, (p) => {
|
|
2859
2859
|
p === 0 && g();
|
|
2860
2860
|
}), (p, L) => {
|
|
2861
|
-
const
|
|
2862
|
-
return
|
|
2861
|
+
const k = fe("FmButton");
|
|
2862
|
+
return B(), j("div", us, [V("p", is, Z(Y(n)("menu.rule_groups.condition_view.condition")), 1), V("div", cs, [(B(!0), j(de, null, Me(E.value, (y) => (B(), j("div", {
|
|
2863
2863
|
key: y.id
|
|
2864
2864
|
}, [Q(vn, {
|
|
2865
2865
|
ruleKey: y.property,
|
|
@@ -2870,7 +2870,7 @@ const ss = {
|
|
|
2870
2870
|
"onUpdate:modelValue": L[0] || (L[0] = (i) => {
|
|
2871
2871
|
R(i);
|
|
2872
2872
|
})
|
|
2873
|
-
}, null, 8, ["ruleKey", "operator", "values", "unique-key", "selected-keys"])]))), 128)), (
|
|
2873
|
+
}, null, 8, ["ruleKey", "operator", "values", "unique-key", "selected-keys"])]))), 128)), (B(!0), j(de, null, Me(T.value, (y) => (B(), j("div", {
|
|
2874
2874
|
key: y.key
|
|
2875
2875
|
}, [Q(vn, {
|
|
2876
2876
|
ruleKey: "",
|
|
@@ -2881,7 +2881,7 @@ const ss = {
|
|
|
2881
2881
|
"onUpdate:modelValue": L[1] || (L[1] = (i) => {
|
|
2882
2882
|
R(i);
|
|
2883
2883
|
})
|
|
2884
|
-
}, null, 8, ["unique-key", "selected-keys"])]))), 128)), Q(
|
|
2884
|
+
}, null, 8, ["unique-key", "selected-keys"])]))), 128)), Q(k, {
|
|
2885
2885
|
variant: Y(Fe).Plain,
|
|
2886
2886
|
"prepend-icon": "add",
|
|
2887
2887
|
label: Y(n)("menu.rule_groups.condition_view.add_condition"),
|
|
@@ -2933,7 +2933,7 @@ const ss = {
|
|
|
2933
2933
|
};
|
|
2934
2934
|
return (a, s) => {
|
|
2935
2935
|
const u = fe("FmMenu");
|
|
2936
|
-
return
|
|
2936
|
+
return B(), j("div", ms, [
|
|
2937
2937
|
V("p", ps, Z(e.number) + ".", 1),
|
|
2938
2938
|
V("div", ds, [
|
|
2939
2939
|
V("p", fs, Z(e.property), 1),
|
|
@@ -2950,7 +2950,7 @@ const ss = {
|
|
|
2950
2950
|
}, Z(e.value.join(", ")), 513)
|
|
2951
2951
|
]),
|
|
2952
2952
|
default: ae(() => [
|
|
2953
|
-
(
|
|
2953
|
+
(B(!0), j(de, null, Me(e.value, (_) => (B(), j("div", {
|
|
2954
2954
|
key: _,
|
|
2955
2955
|
class: "flex flex-col px-8 space-y-8"
|
|
2956
2956
|
}, [
|
|
@@ -2965,7 +2965,7 @@ const ss = {
|
|
|
2965
2965
|
}
|
|
2966
2966
|
});
|
|
2967
2967
|
function js(e) {
|
|
2968
|
-
return Yn(e) ? jn :
|
|
2968
|
+
return Yn(e) ? jn : Bn.build(e);
|
|
2969
2969
|
}
|
|
2970
2970
|
function Ys(e) {
|
|
2971
2971
|
return Xn(e) ? null : Kn.build(e);
|
|
@@ -2980,7 +2980,7 @@ const vs = {
|
|
|
2980
2980
|
class: "fm-typo-en-headline-lg-600"
|
|
2981
2981
|
}, hs = {
|
|
2982
2982
|
class: "flex gap-16 items-center"
|
|
2983
|
-
},
|
|
2983
|
+
}, Ts = /* @__PURE__ */ ie({
|
|
2984
2984
|
__name: "RuleForm",
|
|
2985
2985
|
props: {
|
|
2986
2986
|
modelValue: {},
|
|
@@ -2995,29 +2995,29 @@ const vs = {
|
|
|
2995
2995
|
}) {
|
|
2996
2996
|
const {
|
|
2997
2997
|
t: r
|
|
2998
|
-
} =
|
|
2999
|
-
typeof
|
|
2998
|
+
} = He(), a = oe(!1), s = (k) => {
|
|
2999
|
+
typeof k == "boolean" ? a.value = k : a.value = !a.value;
|
|
3000
3000
|
}, u = e, _ = n;
|
|
3001
3001
|
t({
|
|
3002
3002
|
show: a,
|
|
3003
3003
|
trigger: s
|
|
3004
3004
|
});
|
|
3005
3005
|
const c = x(() => {
|
|
3006
|
-
var
|
|
3007
|
-
return ((
|
|
3006
|
+
var k;
|
|
3007
|
+
return ((k = u.modelValue.restaurantRule) == null ? void 0 : k.restaurantAttributes) ?? {};
|
|
3008
3008
|
}), E = x(() => {
|
|
3009
|
-
var
|
|
3010
|
-
return ((
|
|
3011
|
-
}),
|
|
3012
|
-
var
|
|
3013
|
-
return ((
|
|
3009
|
+
var k;
|
|
3010
|
+
return ((k = u.modelValue.restaurantRule) == null ? void 0 : k.restaurantCustomAttributes) ?? {};
|
|
3011
|
+
}), T = x(() => {
|
|
3012
|
+
var k;
|
|
3013
|
+
return ((k = u.modelValue.itemRule) == null ? void 0 : k.itemAttributes) ?? {};
|
|
3014
3014
|
}), R = x(() => {
|
|
3015
|
-
var
|
|
3016
|
-
return ((
|
|
3017
|
-
}), g = oe([...c.value.rules ?? [], ...E.value.rules ?? [], ...
|
|
3015
|
+
var k;
|
|
3016
|
+
return ((k = u.modelValue.itemRule) == null ? void 0 : k.itemCustomAttributes) ?? {};
|
|
3017
|
+
}), g = oe([...c.value.rules ?? [], ...E.value.rules ?? [], ...T.value.rules ?? [], ...R.value.rules ?? []]), p = oe([]);
|
|
3018
3018
|
function L() {
|
|
3019
|
-
var f, A, v, m, C, D,
|
|
3020
|
-
const
|
|
3019
|
+
var f, A, v, m, C, D, W, w;
|
|
3020
|
+
const k = u.modelValue, y = [], i = [], b = [], N = [];
|
|
3021
3021
|
if (p.value.length === 0) {
|
|
3022
3022
|
s(!1);
|
|
3023
3023
|
return;
|
|
@@ -3044,31 +3044,31 @@ const vs = {
|
|
|
3044
3044
|
value: P.value,
|
|
3045
3045
|
type: P.type
|
|
3046
3046
|
});
|
|
3047
|
-
}),
|
|
3047
|
+
}), k.restaurantRule = {
|
|
3048
3048
|
restaurantAttributes: {
|
|
3049
|
-
logic: ((A = (f =
|
|
3049
|
+
logic: ((A = (f = k.restaurantRule) == null ? void 0 : f.restaurantAttributes) == null ? void 0 : A.logic) ?? "AND",
|
|
3050
3050
|
rules: y
|
|
3051
3051
|
},
|
|
3052
3052
|
restaurantCustomAttributes: {
|
|
3053
|
-
logic: ((m = (v =
|
|
3053
|
+
logic: ((m = (v = k.restaurantRule) == null ? void 0 : v.restaurantCustomAttributes) == null ? void 0 : m.logic) ?? "AND",
|
|
3054
3054
|
rules: i
|
|
3055
3055
|
}
|
|
3056
|
-
},
|
|
3056
|
+
}, k.itemRule = {
|
|
3057
3057
|
itemAttributes: {
|
|
3058
|
-
logic: ((D = (C =
|
|
3058
|
+
logic: ((D = (C = k.itemRule) == null ? void 0 : C.itemAttributes) == null ? void 0 : D.logic) ?? "AND",
|
|
3059
3059
|
rules: b
|
|
3060
3060
|
},
|
|
3061
3061
|
itemCustomAttributes: {
|
|
3062
|
-
logic: ((w = (
|
|
3062
|
+
logic: ((w = (W = k.itemRule) == null ? void 0 : W.itemCustomAttributes) == null ? void 0 : w.logic) ?? "AND",
|
|
3063
3063
|
rules: N
|
|
3064
3064
|
}
|
|
3065
3065
|
}, s(!1), _("update:modelValue", {
|
|
3066
|
-
menuRule:
|
|
3066
|
+
menuRule: k
|
|
3067
3067
|
});
|
|
3068
3068
|
}
|
|
3069
|
-
return (
|
|
3069
|
+
return (k, y) => {
|
|
3070
3070
|
const i = fe("FmButton"), b = fe("FmSideSheet");
|
|
3071
|
-
return
|
|
3071
|
+
return B(), j(de, null, [Qe(k.$slots, "default", {
|
|
3072
3072
|
trigger: s
|
|
3073
3073
|
}), Q(b, {
|
|
3074
3074
|
modelValue: a.value,
|
|
@@ -3085,7 +3085,7 @@ const vs = {
|
|
|
3085
3085
|
variant: Y(Fe).Tertiary,
|
|
3086
3086
|
"prepend-icon": "arrow_back",
|
|
3087
3087
|
onClick: y[0] || (y[0] = se((N) => s(), ["stop"]))
|
|
3088
|
-
}, null, 8, ["variant"]),
|
|
3088
|
+
}, null, 8, ["variant"]), k.isEditMode && g.value.length > 0 ? (B(), j("div", ys, Z(Y(r)("menu.rule_groups.condition_view.edit_condition")), 1)) : (B(), j("div", bs, Z(Y(r)("menu.rule_groups.condition_view.add_condition")), 1))])]),
|
|
3089
3089
|
"side-sheet-footer": ae(() => [V("div", hs, [Q(i, {
|
|
3090
3090
|
variant: "primary",
|
|
3091
3091
|
label: Y(r)("common.save"),
|
|
@@ -3097,7 +3097,7 @@ const vs = {
|
|
|
3097
3097
|
}, null, 8, ["label"])])]),
|
|
3098
3098
|
default: ae(() => [Q(_s, {
|
|
3099
3099
|
class: "p-16",
|
|
3100
|
-
"model-value":
|
|
3100
|
+
"model-value": k.modelValue,
|
|
3101
3101
|
"onUpdate:modelValue": y[1] || (y[1] = (N) => {
|
|
3102
3102
|
p.value = N;
|
|
3103
3103
|
})
|
|
@@ -3106,7 +3106,7 @@ const vs = {
|
|
|
3106
3106
|
}, 8, ["modelValue", "is-container", "is-container-props"])], 64);
|
|
3107
3107
|
};
|
|
3108
3108
|
}
|
|
3109
|
-
}),
|
|
3109
|
+
}), ks = {
|
|
3110
3110
|
class: "flex items-center justify-between pb-8"
|
|
3111
3111
|
}, Is = {
|
|
3112
3112
|
key: 0,
|
|
@@ -3178,7 +3178,7 @@ const vs = {
|
|
|
3178
3178
|
}), E = x(() => {
|
|
3179
3179
|
var g, p;
|
|
3180
3180
|
return ((p = (g = r.modelValue.itemRule) == null ? void 0 : g.itemAttributes) == null ? void 0 : p.rules) ?? [];
|
|
3181
|
-
}),
|
|
3181
|
+
}), T = x(() => {
|
|
3182
3182
|
var g, p;
|
|
3183
3183
|
return ((p = (g = r.modelValue.itemRule) == null ? void 0 : g.itemCustomAttributes) == null ? void 0 : p.rules) ?? [];
|
|
3184
3184
|
}), R = x(() => [..._.value.map((g) => ({
|
|
@@ -3190,20 +3190,20 @@ const vs = {
|
|
|
3190
3190
|
})), ...E.value.map((g) => ({
|
|
3191
3191
|
...g,
|
|
3192
3192
|
property: `${n("menu.product.title")} ${g.property}`
|
|
3193
|
-
})), ...
|
|
3193
|
+
})), ...T.value.map((g) => ({
|
|
3194
3194
|
...g,
|
|
3195
3195
|
property: `${n("menu.product.title")} ${g.property}`
|
|
3196
3196
|
}))]);
|
|
3197
3197
|
return (g, p) => {
|
|
3198
|
-
const L = fe("FmButton"),
|
|
3199
|
-
return
|
|
3198
|
+
const L = fe("FmButton"), k = fe("FmMenu");
|
|
3199
|
+
return B(), j(de, null, [V("div", ks, [e.title ? (B(), j("p", Is, Z(e.title), 1)) : we("", !0), V("div", Ns, [e.isCatalogLinkItemRuleView ? (B(), xt(L, {
|
|
3200
3200
|
key: 1,
|
|
3201
3201
|
variant: Y(Fe).Tertiary,
|
|
3202
3202
|
class: "cursor-pointer",
|
|
3203
3203
|
"prepend-icon": "edit",
|
|
3204
3204
|
"text-color": " text-fm-color-primary",
|
|
3205
3205
|
onClick: p[1] || (p[1] = se((y) => e.isCatalogLinkItemRuleView ? g.$emit("open-catalog-link-item-rule-form") : null, ["stop"]))
|
|
3206
|
-
}, null, 8, ["variant"])) : (
|
|
3206
|
+
}, null, 8, ["variant"])) : (B(), xt(Ts, {
|
|
3207
3207
|
key: 0,
|
|
3208
3208
|
ref_key: "ruleFormRef",
|
|
3209
3209
|
ref: u,
|
|
@@ -3229,11 +3229,11 @@ const vs = {
|
|
|
3229
3229
|
"prepend-icon": "delete",
|
|
3230
3230
|
"text-color": " text-fm-color-typo-error",
|
|
3231
3231
|
onClick: p[2] || (p[2] = se(() => s("delete-rule", r.modelValue._id), ["stop"]))
|
|
3232
|
-
}, null, 8, ["variant"])])]), V("div", Rs, [V("p", As, Z(Y(n)("menu.rule_groups.condition_view.when")), 1), e.ruleGroupNames ? (
|
|
3232
|
+
}, null, 8, ["variant"])])]), V("div", Rs, [V("p", As, Z(Y(n)("menu.rule_groups.condition_view.when")), 1), e.ruleGroupNames ? (B(!0), j(de, {
|
|
3233
3233
|
key: 0
|
|
3234
|
-
}, Me(e.ruleGroupNames, (y, i) => (
|
|
3234
|
+
}, Me(e.ruleGroupNames, (y, i) => (B(), j("div", {
|
|
3235
3235
|
key: y
|
|
3236
|
-
}, [V("div", Ls, [V("p", Os, Z(i + 1) + ".", 1), V("div", Cs, [V("p", null, Z(Y(n)("menu.rule_groups.condition_view.in_rule_group")), 1), Q(
|
|
3236
|
+
}, [V("div", Ls, [V("p", Os, Z(i + 1) + ".", 1), V("div", Cs, [V("p", null, Z(Y(n)("menu.rule_groups.condition_view.in_rule_group")), 1), Q(k, {
|
|
3237
3237
|
trigger: "hover",
|
|
3238
3238
|
closeOnMouseLeave: ""
|
|
3239
3239
|
}, {
|
|
@@ -3245,9 +3245,9 @@ const vs = {
|
|
|
3245
3245
|
}, Z(y), 513)]),
|
|
3246
3246
|
default: ae(() => [V("p", Ss, Z(y), 1)]),
|
|
3247
3247
|
_: 2
|
|
3248
|
-
}, 1024)])])]))), 128)) : we("", !0), (
|
|
3248
|
+
}, 1024)])])]))), 128)) : we("", !0), (B(!0), j(de, null, Me(R.value, (y, i) => {
|
|
3249
3249
|
var b;
|
|
3250
|
-
return
|
|
3250
|
+
return B(), j("div", {
|
|
3251
3251
|
key: y.property
|
|
3252
3252
|
}, [Q(Es, {
|
|
3253
3253
|
number: i + (((b = e.ruleGroupNames) == null ? void 0 : b.length) ?? 0) + 1,
|
|
@@ -3261,7 +3261,7 @@ const vs = {
|
|
|
3261
3261
|
return (f = u.value) == null ? void 0 : f.trigger();
|
|
3262
3262
|
})
|
|
3263
3263
|
}, null, 8, ["number", "property", "operator", "value", "isCatalogLinkItemRuleView"])]);
|
|
3264
|
-
}), 128))]), e.orderFrom ? (
|
|
3264
|
+
}), 128))]), e.orderFrom ? (B(), j("div", Ds, [V("p", Ps, Z(Y(n)("menu.rule_groups.condition_view.then")), 1), V("div", ws, [V("p", Fs, Z(Y(n)("menu.rule_groups.condition_view.product_availability")), 1), p[7] || (p[7] = V("p", {
|
|
3265
3265
|
class: "fm-typo-en-body-lg-600 text-fm-color-neutral-gray-300"
|
|
3266
3266
|
}, "is", -1)), V("p", {
|
|
3267
3267
|
class: "text-fm-color-primary underline underline-offset-2 cursor-pointer truncate",
|
|
@@ -3271,11 +3271,11 @@ const vs = {
|
|
|
3271
3271
|
}
|
|
3272
3272
|
});
|
|
3273
3273
|
export {
|
|
3274
|
-
|
|
3274
|
+
Ws as _,
|
|
3275
3275
|
Jn as a,
|
|
3276
3276
|
Xs as b,
|
|
3277
|
-
|
|
3278
|
-
|
|
3277
|
+
Ts as c,
|
|
3278
|
+
Bs as d,
|
|
3279
3279
|
xe as e,
|
|
3280
3280
|
Ys as f,
|
|
3281
3281
|
Es as g,
|