@feedmepos/mf-inventory-portal 1.9.0 → 1.9.2
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-CjEtCJ3u.js → App-Bip0baby.js} +10 -10
- package/dist/{ApprovalView-CWeB-z4R.js → ApprovalView-CE85REo2.js} +9 -9
- package/dist/{BindingsDialog-B2WXjWQ0.js → BindingsDialog-Ds7Vk2VQ.js} +2 -2
- package/dist/{BindingsPicker-DTc0Q5Em.js → BindingsPicker-B28BAkR5.js} +2 -2
- package/dist/{BindingsTable-x1FRAcgJ.js → BindingsTable-D8L_-zso.js} +4 -4
- package/dist/{BulkReceiveRequestPage-Dk4K_vUX.js → BulkReceiveRequestPage-Bf5zsedj.js} +19 -19
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CPGujVFu.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DIe4QGW4.js} +1 -1
- package/dist/{ClosingDraftView-BqpTn8dY.js → ClosingDraftView-br23XIYx.js} +19 -19
- package/dist/{ClosingHistoryView-BJQWFz5X.js → ClosingHistoryView-R6667fAp.js} +7 -7
- package/dist/ClosingTemplateView-CVVev-wi.js +2409 -0
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-Dxt4x9Ia.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CnC05TWX.js} +1 -1
- package/dist/{DefaultView-BIyIubVt.js → DefaultView-CnC2ffJG.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-2nIVkxIe.js → DeliveryOrderPrintPreview-MahhQkSO.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-BnJdt92Q.js → EmailDialog.vue_vue_type_script_setup_true_lang-D2N_1VWH.js} +23 -23
- package/dist/{FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-FraKTknm.js → FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-AnSwoMnm.js} +1 -1
- package/dist/{FeatureCapabilityGate-6_6psomb.js → FeatureCapabilityGate-CdB-dKPj.js} +2 -2
- package/dist/{FeaturePageGate.vue_vue_type_script_setup_true_lang-CbrcFNoj.js → FeaturePageGate.vue_vue_type_script_setup_true_lang-Dc_Lj6N5.js} +1 -1
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-B-wMlDXd.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CpB6jfVR.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CxOLg-J3.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-_RqcUvn1.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BeIfx9jE.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BewIoyJq.js} +2 -2
- package/dist/{FmMultiselectDialog-CcH__ggk.js → FmMultiselectDialog-CYCVAv1G.js} +2 -2
- package/dist/{FmMultiselectDialog-snxpWhRm.js → FmMultiselectDialog-DT7uPM66.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DHlqvBTh.js → FmUnitInput.vue_vue_type_script_setup_true_lang-2eASRTS_.js} +5 -5
- package/dist/{ImportView-C7KyQ6wA.js → ImportView-WW2X66rs.js} +7 -7
- package/dist/{IngredientsView-z4pObocZ.js → IngredientsView-B3wYe9Sb.js} +15 -15
- package/dist/{IntegrationExplorerView-thWjNTPa.js → IntegrationExplorerView-BSYTMmyx.js} +6 -6
- package/dist/{IntegrationPlatformView-BDe83nB1.js → IntegrationPlatformView-DLsgFSW3.js} +2 -2
- package/dist/{IntegrationView-CyR9BK3D.js → IntegrationView-f-6i3IW-.js} +15 -15
- package/dist/{InventoryBindingForm-CjTZYqzB.js → InventoryBindingForm-Dn1gDSYA.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DzXGyj0H.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-D14GHsTr.js} +4 -4
- package/dist/{InventoryBindingSummary-CnLEvpRL.js → InventoryBindingSummary-CPjxxMgY.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DpysXAz4.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Nhnc5fm7.js} +2 -2
- package/dist/{ProductionRunDetailPage-DqlFNDov.js → ProductionRunDetailPage-BmH4UM7y.js} +4 -4
- package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-D-GoCIbB.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-CAT6wWf0.js} +3972 -4089
- package/dist/{ProductionRunPage-xr34sye0.js → ProductionRunPage-BF7rqTn7.js} +4 -4
- package/dist/{PublishView-CfuP-tjm.js → PublishView-CHHUYo4m.js} +5 -5
- package/dist/{PurchaseOrderPrintPreview-DjAxJ2cK.js → PurchaseOrderPrintPreview-5a4qj3eY.js} +2 -2
- package/dist/{ReceiveRequestView-CVw76dPw.js → ReceiveRequestView--oyp49iL.js} +14 -14
- package/dist/{RecipeView-UlHc-Voo.js → RecipeView-lfkqibuU.js} +16 -16
- package/dist/{SettingsView-C1OGXlIE.js → SettingsView-B7t1rWaE.js} +7 -7
- package/dist/{StockView-CrKLqz-6.js → StockView-CNqMpHio.js} +21 -21
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Cm5vtlP6.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Cw4q-B5E.js} +1 -1
- package/dist/{SupplierView-DhH5eT5y.js → SupplierView-BpwkcdGC.js} +13 -13
- package/dist/{SurchargeView-ByKH6JnI.js → SurchargeView-DcN1DxcO.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-ZSuKa-oz.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Dx7OJu5i.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CHvqcU44.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Db-0enSJ.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CHyAdS3A.js → TransferDetails.vue_vue_type_script_setup_true_lang-r1X46S49.js} +21 -21
- package/dist/{TransferTemplateView-DJ1XO2Vg.js → TransferTemplateView-BpkNNXQO.js} +19 -19
- package/dist/{UnitCostHistoryView-CrBs_s0L.js → UnitCostHistoryView-B1Cb28gJ.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DRJptXCQ.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-Dw4vYOJB.js} +4 -4
- package/dist/{UnitView--PWg-4ON.js → UnitView-BpG95geA.js} +7 -7
- package/dist/{WarehouseView-DoOwa0Zq.js → WarehouseView-CD03O20D.js} +8 -8
- package/dist/{WastageTemplateView-CiLs8nAz.js → WastageTemplateView-B5zb2M1G.js} +15 -15
- package/dist/{app-CFO3QhF-.js → app-EBU-NyD3.js} +14 -14
- package/dist/app.js +1 -1
- package/dist/{bulk-edit-simulation.helper-BjYd_yK4.js → bulk-edit-simulation.helper-iXqP-Afi.js} +2 -2
- package/dist/{closing-template-DXfmztnK.js → closing-template-BExcgt_y.js} +1 -1
- package/dist/{date2-BMfqPhRQ.js → date2-BrsjI6gr.js} +1 -1
- package/dist/{dayjs.min-BVjxIhrP.js → dayjs.min-DhHR1Atx.js} +1 -1
- package/dist/{decimal-Drh1-c85.js → decimal-CIjtFLFM.js} +2 -2
- package/dist/{defineDeepModel-BuNVB2KT.js → defineDeepModel-D8_jChhs.js} +1 -1
- package/dist/{duplicate-template-Dua82hTr.js → duplicate-template-Drpx3l8P.js} +1 -1
- package/dist/{feature-C1JuDWvs.js → feature-CrqPX2nV.js} +129 -32
- package/dist/{format-time-from-id-Cq6U2Bxo.js → format-time-from-id-BRm36x25.js} +1 -1
- package/dist/{format-unit-display-DQLT3yWg.js → format-unit-display-CmuPkS0X.js} +12 -12
- package/dist/{id-to-date-F63bzmo9.js → id-to-date-B8bZXCrJ.js} +1 -1
- package/dist/{import-export.helper-C-wM1uvH.js → import-export.helper-XRtJRsBy.js} +5 -5
- package/dist/{index-CvbK4SMT.js → index-BQjvQ4jA.js} +1 -1
- package/dist/{index-CUK2ixs-.js → index-COCHojZC.js} +3 -3
- package/dist/{index-BI_mOT-T.js → index-VYeDb0tU.js} +1 -1
- package/dist/{lz-string-DaX9t6Vd.js → lz-string-Cysh8zS1.js} +1 -1
- package/dist/{netsuite-Zrpzr6d8.js → netsuite-DH_dLLGS.js} +2 -2
- package/dist/{netsuite-explorer-C3fHF-PT.js → netsuite-explorer-B7PSwbUs.js} +1 -1
- package/dist/{predefined-templates-DG6CeFks.js → predefined-templates-DFbOloni.js} +1 -1
- package/dist/{publish-versions-Cr7-V-Br.js → publish-versions-CkkPlQvJ.js} +1 -1
- package/dist/{purchase-order-template-wj3XUGRR.js → purchase-order-template-ZW2RQLI0.js} +1 -1
- package/dist/{recalculationUtils-B2fP6IRt.js → recalculationUtils-Dvp3I_bZ.js} +1 -1
- package/dist/{row-action.enum-fy5kNv1e.js → row-action.enum-CpWt9pKv.js} +1 -1
- package/dist/{rules-BbnkP4bE.js → rules-tQ6dVbmR.js} +3 -3
- package/dist/{stock-qgCoZCip.js → stock-Ca1gJEgm.js} +2 -2
- package/dist/{stock-2HrEwnse.js → stock-DgZrIUgV.js} +1 -1
- package/dist/{supplier-jSpdakxP.js → supplier-DXmkyzoG.js} +2 -2
- package/dist/{surcharge-BUcmyVUD.js → surcharge-zNev4QX6.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-CRVV9zbT.js → uom-rules-CYMN0gFj.js} +1 -1
- package/dist/use-ingredient-select-dialog-CtXkM-zf.js +56 -0
- package/dist/{use-inventory-binding-dialog-C71O7N8L.js → use-inventory-binding-dialog-C3Y8dQeX.js} +2 -2
- package/dist/{use-template-enabled-locations-DIN3OgYg.js → use-template-enabled-locations-CsqFfXDC.js} +2 -2
- package/dist/{use-transfer-locations-Bp60KXqJ.js → use-transfer-locations-B18yKDME.js} +2 -2
- package/dist/{useHrmPermission-isSBKi_1.js → useHrmPermission-Dg8Vmlv1.js} +1 -1
- package/dist/{useNavigationMenu-B7i0bnUj.js → useNavigationMenu--7ucF68d.js} +5 -5
- package/dist/{useSseClient-DOVhr07c.js → useSseClient-DsXyp1gS.js} +1 -1
- package/dist/{vue-XyWi0ihT.js → vue-Dw4OoOfe.js} +2 -2
- package/dist/{vue-i18n-B1LiOy9S.js → vue-i18n-gs-FmaMq.js} +313 -313
- package/dist/{xlsx.util-CLxGkNhJ.js → xlsx.util-D_AjvL9p.js} +2 -2
- package/package.json +6 -6
- package/dist/ClosingTemplateView-Pj1Kj49d.js +0 -2392
- package/dist/use-ingredient-select-dialog-BEpP8U3E.js +0 -52
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { getCurrentInstance as
|
|
1
|
+
import { getCurrentInstance as mn, inject as dt, ref as Et, shallowRef as gt, computed as he, watch as In, onMounted as Tt, onUnmounted as ht, defineComponent as fn, h as qn, createVNode as Nt, Text as bt, Fragment as Qn } from "vue";
|
|
2
2
|
import "@vue/devtools-api";
|
|
3
3
|
/*!
|
|
4
4
|
* shared v10.0.5
|
|
5
5
|
* (c) 2024 kazuya kawaguchi
|
|
6
6
|
* Released under the MIT License.
|
|
7
7
|
*/
|
|
8
|
-
const
|
|
8
|
+
const On = typeof window < "u", ie = (e, n = !1) => n ? Symbol.for(e) : Symbol(e), kt = (e, n, t) => It({ l: e, k: n, s: t }), It = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), j = (e) => typeof e == "number" && isFinite(e), Ot = (e) => pn(e) === "[object Date]", Pe = (e) => pn(e) === "[object RegExp]", Ue = (e) => D(e) && Object.keys(e).length === 0, K = Object.assign, vt = Object.create, U = (e = null) => vt(e);
|
|
9
9
|
let vn;
|
|
10
10
|
const ce = () => vn || (vn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : U());
|
|
11
11
|
function Ln(e) {
|
|
@@ -15,7 +15,7 @@ const Lt = Object.prototype.hasOwnProperty;
|
|
|
15
15
|
function Q(e, n) {
|
|
16
16
|
return Lt.call(e, n);
|
|
17
17
|
}
|
|
18
|
-
const x = Array.isArray, w = (e) => typeof e == "function",
|
|
18
|
+
const x = Array.isArray, w = (e) => typeof e == "function", I = (e) => typeof e == "string", B = (e) => typeof e == "boolean", P = (e) => e !== null && typeof e == "object", yt = (e) => P(e) && w(e.then) && w(e.catch), Zn = Object.prototype.toString, pn = (e) => Zn.call(e), D = (e) => pn(e) === "[object Object]", Rt = (e) => e == null ? "" : x(e) || D(e) && e.toString === Zn ? JSON.stringify(e, null, 2) : String(e);
|
|
19
19
|
function dn(e, n = "") {
|
|
20
20
|
return e.reduce((t, r, c) => c === 0 ? t + r : t + n + r, "");
|
|
21
21
|
}
|
|
@@ -59,8 +59,8 @@ const M = {
|
|
|
59
59
|
UNEXPECTED_LEXICAL_ANALYSIS: 14
|
|
60
60
|
}, Ct = 17;
|
|
61
61
|
function Fe(e, n, t = {}) {
|
|
62
|
-
const { domain: r, messages: c, args: o } = t, l = e,
|
|
63
|
-
return
|
|
62
|
+
const { domain: r, messages: c, args: o } = t, l = e, m = new SyntaxError(String(l));
|
|
63
|
+
return m.code = e, n && (m.location = n), m.domain = r, m;
|
|
64
64
|
}
|
|
65
65
|
function Dt(e) {
|
|
66
66
|
throw e;
|
|
@@ -70,27 +70,27 @@ const ee = " ", Pt = "\r", X = `
|
|
|
70
70
|
function Ft(e) {
|
|
71
71
|
const n = e;
|
|
72
72
|
let t = 0, r = 1, c = 1, o = 0;
|
|
73
|
-
const l = (T) => n[T] === Pt && n[T + 1] === X,
|
|
73
|
+
const l = (T) => n[T] === Pt && n[T + 1] === X, m = (T) => n[T] === X, _ = (T) => n[T] === Ut, g = (T) => n[T] === Mt, v = (T) => l(T) || m(T) || _(T) || g(T), O = () => t, N = () => r, A = () => c, S = () => o, L = (T) => l(T) || _(T) || g(T) ? X : n[T], y = () => L(t), i = () => L(t + o);
|
|
74
74
|
function d() {
|
|
75
75
|
return o = 0, v(t) && (r++, c = 0), l(t) && t++, t++, c++, n[t];
|
|
76
76
|
}
|
|
77
77
|
function h() {
|
|
78
78
|
return l(t + o) && o++, o++, n[t + o];
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function f() {
|
|
81
81
|
t = 0, r = 1, c = 1, o = 0;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function k(T = 0) {
|
|
84
84
|
o = T;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function b() {
|
|
87
87
|
const T = t + o;
|
|
88
88
|
for (; T !== t; )
|
|
89
89
|
d();
|
|
90
90
|
o = 0;
|
|
91
91
|
}
|
|
92
92
|
return {
|
|
93
|
-
index:
|
|
93
|
+
index: O,
|
|
94
94
|
line: N,
|
|
95
95
|
column: A,
|
|
96
96
|
peekOffset: S,
|
|
@@ -99,27 +99,27 @@ function Ft(e) {
|
|
|
99
99
|
currentPeek: i,
|
|
100
100
|
next: d,
|
|
101
101
|
peek: h,
|
|
102
|
-
reset:
|
|
103
|
-
resetPeek:
|
|
104
|
-
skipToPeek:
|
|
102
|
+
reset: f,
|
|
103
|
+
resetPeek: k,
|
|
104
|
+
skipToPeek: b
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
107
|
const re = void 0, wt = ".", yn = "'", Ht = "tokenizer";
|
|
108
108
|
function Gt(e, n = {}) {
|
|
109
|
-
const t = n.location !== !1, r = Ft(e), c = () => r.index(), o = () => St(r.line(), r.column(), r.index()), l = o(),
|
|
109
|
+
const t = n.location !== !1, r = Ft(e), c = () => r.index(), o = () => St(r.line(), r.column(), r.index()), l = o(), m = c(), _ = {
|
|
110
110
|
currentType: 13,
|
|
111
|
-
offset:
|
|
111
|
+
offset: m,
|
|
112
112
|
startLoc: l,
|
|
113
113
|
endLoc: l,
|
|
114
114
|
lastType: 13,
|
|
115
|
-
lastOffset:
|
|
115
|
+
lastOffset: m,
|
|
116
116
|
lastStartLoc: l,
|
|
117
117
|
lastEndLoc: l,
|
|
118
118
|
braceNest: 0,
|
|
119
119
|
inLinked: !1,
|
|
120
120
|
text: ""
|
|
121
121
|
}, g = () => _, { onError: v } = n;
|
|
122
|
-
function
|
|
122
|
+
function O(s, a, p, ...R) {
|
|
123
123
|
const V = g();
|
|
124
124
|
if (a.column += p, a.offset += p, v) {
|
|
125
125
|
const C = t ? tn(V.startLoc, a) : null, u = Fe(s, C, {
|
|
@@ -140,7 +140,7 @@ function Gt(e, n = {}) {
|
|
|
140
140
|
/* TokenTypes.EOF */
|
|
141
141
|
);
|
|
142
142
|
function S(s, a) {
|
|
143
|
-
return s.currentChar() === a ? (s.next(), a) : (
|
|
143
|
+
return s.currentChar() === a ? (s.next(), a) : (O(M.EXPECTED_TOKEN, o(), 0, a), "");
|
|
144
144
|
}
|
|
145
145
|
function L(s) {
|
|
146
146
|
let a = "";
|
|
@@ -174,7 +174,7 @@ function Gt(e, n = {}) {
|
|
|
174
174
|
const R = i(s.currentPeek());
|
|
175
175
|
return s.resetPeek(), R;
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function f(s, a) {
|
|
178
178
|
const { currentType: p } = a;
|
|
179
179
|
if (p !== 2)
|
|
180
180
|
return !1;
|
|
@@ -182,7 +182,7 @@ function Gt(e, n = {}) {
|
|
|
182
182
|
const R = s.currentPeek() === "-" ? s.peek() : s.currentPeek(), V = d(R);
|
|
183
183
|
return s.resetPeek(), V;
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function k(s, a) {
|
|
186
186
|
const { currentType: p } = a;
|
|
187
187
|
if (p !== 2)
|
|
188
188
|
return !1;
|
|
@@ -190,7 +190,7 @@ function Gt(e, n = {}) {
|
|
|
190
190
|
const R = s.currentPeek() === yn;
|
|
191
191
|
return s.resetPeek(), R;
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function b(s, a) {
|
|
194
194
|
const { currentType: p } = a;
|
|
195
195
|
if (p !== 7)
|
|
196
196
|
return !1;
|
|
@@ -309,23 +309,23 @@ function Gt(e, n = {}) {
|
|
|
309
309
|
let a = "", p = "";
|
|
310
310
|
for (; a = Ve(s); )
|
|
311
311
|
p += a;
|
|
312
|
-
return s.currentChar() === re &&
|
|
312
|
+
return s.currentChar() === re && O(M.UNTERMINATED_CLOSING_BRACE, o(), 0), p;
|
|
313
313
|
}
|
|
314
314
|
function je(s) {
|
|
315
315
|
y(s);
|
|
316
316
|
let a = "";
|
|
317
|
-
return s.currentChar() === "-" ? (s.next(), a += `-${Le(s)}`) : a += Le(s), s.currentChar() === re &&
|
|
317
|
+
return s.currentChar() === "-" ? (s.next(), a += `-${Le(s)}`) : a += Le(s), s.currentChar() === re && O(M.UNTERMINATED_CLOSING_BRACE, o(), 0), a;
|
|
318
318
|
}
|
|
319
|
-
function
|
|
319
|
+
function kn(s) {
|
|
320
320
|
return s !== yn && s !== X;
|
|
321
321
|
}
|
|
322
322
|
function Ke(s) {
|
|
323
323
|
y(s), S(s, "'");
|
|
324
324
|
let a = "", p = "";
|
|
325
|
-
for (; a = Y(s,
|
|
325
|
+
for (; a = Y(s, kn); )
|
|
326
326
|
a === "\\" ? p += Xe(s) : p += a;
|
|
327
327
|
const R = s.currentChar();
|
|
328
|
-
return R === X || R === re ? (
|
|
328
|
+
return R === X || R === re ? (O(M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), R === X && (s.next(), S(s, "'")), p) : (S(s, "'"), p);
|
|
329
329
|
}
|
|
330
330
|
function Xe(s) {
|
|
331
331
|
const a = s.currentChar();
|
|
@@ -338,7 +338,7 @@ function Gt(e, n = {}) {
|
|
|
338
338
|
case "U":
|
|
339
339
|
return ye(s, a, 6);
|
|
340
340
|
default:
|
|
341
|
-
return
|
|
341
|
+
return O(M.UNKNOWN_ESCAPE_SEQUENCE, o(), 0, a), "";
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
function ye(s, a, p) {
|
|
@@ -347,7 +347,7 @@ function Gt(e, n = {}) {
|
|
|
347
347
|
for (let V = 0; V < p; V++) {
|
|
348
348
|
const C = ve(s);
|
|
349
349
|
if (!C) {
|
|
350
|
-
|
|
350
|
+
O(M.INVALID_UNICODE_ESCAPE_SEQUENCE, o(), 0, `\\${a}${R}${s.currentChar()}`);
|
|
351
351
|
break;
|
|
352
352
|
}
|
|
353
353
|
R += C;
|
|
@@ -390,35 +390,35 @@ function Gt(e, n = {}) {
|
|
|
390
390
|
let p = null;
|
|
391
391
|
switch (s.currentChar()) {
|
|
392
392
|
case "{":
|
|
393
|
-
return a.braceNest >= 1 &&
|
|
393
|
+
return a.braceNest >= 1 && O(M.NOT_ALLOW_NEST_PLACEHOLDER, o(), 0), s.next(), p = N(
|
|
394
394
|
a,
|
|
395
395
|
2,
|
|
396
396
|
"{"
|
|
397
397
|
/* TokenChars.BraceLeft */
|
|
398
398
|
), y(s), a.braceNest++, p;
|
|
399
399
|
case "}":
|
|
400
|
-
return a.braceNest > 0 && a.currentType === 2 &&
|
|
400
|
+
return a.braceNest > 0 && a.currentType === 2 && O(M.EMPTY_PLACEHOLDER, o(), 0), s.next(), p = N(
|
|
401
401
|
a,
|
|
402
402
|
3,
|
|
403
403
|
"}"
|
|
404
404
|
/* TokenChars.BraceRight */
|
|
405
405
|
), a.braceNest--, a.braceNest > 0 && y(s), a.inLinked && a.braceNest === 0 && (a.inLinked = !1), p;
|
|
406
406
|
case "@":
|
|
407
|
-
return a.braceNest > 0 &&
|
|
407
|
+
return a.braceNest > 0 && O(M.UNTERMINATED_CLOSING_BRACE, o(), 0), p = _e(s, a) || A(a), a.braceNest = 0, p;
|
|
408
408
|
default: {
|
|
409
409
|
let V = !0, C = !0, u = !0;
|
|
410
410
|
if ($(s))
|
|
411
|
-
return a.braceNest > 0 &&
|
|
411
|
+
return a.braceNest > 0 && O(M.UNTERMINATED_CLOSING_BRACE, o(), 0), p = N(a, 1, ge(s)), a.braceNest = 0, a.inLinked = !1, p;
|
|
412
412
|
if (a.braceNest > 0 && (a.currentType === 4 || a.currentType === 5 || a.currentType === 6))
|
|
413
|
-
return
|
|
413
|
+
return O(M.UNTERMINATED_CLOSING_BRACE, o(), 0), a.braceNest = 0, Te(s, a);
|
|
414
414
|
if (V = h(s, a))
|
|
415
415
|
return p = N(a, 4, Ye(s)), y(s), p;
|
|
416
|
-
if (C =
|
|
416
|
+
if (C = f(s, a))
|
|
417
417
|
return p = N(a, 5, je(s)), y(s), p;
|
|
418
|
-
if (u =
|
|
418
|
+
if (u = k(s, a))
|
|
419
419
|
return p = N(a, 6, Ke(s)), y(s), p;
|
|
420
420
|
if (!V && !C && !u)
|
|
421
|
-
return p = N(a, 12, Je(s)),
|
|
421
|
+
return p = N(a, 12, Je(s)), O(M.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, p.value), y(s), p;
|
|
422
422
|
break;
|
|
423
423
|
}
|
|
424
424
|
}
|
|
@@ -428,7 +428,7 @@ function Gt(e, n = {}) {
|
|
|
428
428
|
const { currentType: p } = a;
|
|
429
429
|
let R = null;
|
|
430
430
|
const V = s.currentChar();
|
|
431
|
-
switch ((p === 7 || p === 8 || p === 11 || p === 9) && (V === X || V === ee) &&
|
|
431
|
+
switch ((p === 7 || p === 8 || p === 11 || p === 9) && (V === X || V === ee) && O(M.INVALID_LINKED_FORMAT, o(), 0), V) {
|
|
432
432
|
case "@":
|
|
433
433
|
return s.next(), R = N(
|
|
434
434
|
a,
|
|
@@ -451,7 +451,7 @@ function Gt(e, n = {}) {
|
|
|
451
451
|
/* TokenChars.LinkedDelimiter */
|
|
452
452
|
);
|
|
453
453
|
default:
|
|
454
|
-
return $(s) ? (R = N(a, 1, ge(s)), a.braceNest = 0, a.inLinked = !1, R) :
|
|
454
|
+
return $(s) ? (R = N(a, 1, ge(s)), a.braceNest = 0, a.inLinked = !1, R) : b(s, a) || H(s, a) ? (y(s), _e(s, a)) : T(s, a) ? (y(s), N(a, 11, qe(s))) : G(s, a) ? (y(s), V === "{" ? ue(s, a) || R : N(a, 10, Qe(s))) : (p === 7 && O(M.INVALID_LINKED_FORMAT, o(), 0), a.braceNest = 0, a.inLinked = !1, Te(s, a));
|
|
455
455
|
}
|
|
456
456
|
}
|
|
457
457
|
function Te(s, a) {
|
|
@@ -467,7 +467,7 @@ function Gt(e, n = {}) {
|
|
|
467
467
|
case "{":
|
|
468
468
|
return ue(s, a) || A(a);
|
|
469
469
|
case "}":
|
|
470
|
-
return
|
|
470
|
+
return O(M.UNBALANCED_CLOSING_BRACE, o(), 0), s.next(), N(
|
|
471
471
|
a,
|
|
472
472
|
3,
|
|
473
473
|
"}"
|
|
@@ -515,77 +515,77 @@ function Bt(e, n, t) {
|
|
|
515
515
|
}
|
|
516
516
|
function xt(e = {}) {
|
|
517
517
|
const n = e.location !== !1, { onError: t } = e;
|
|
518
|
-
function r(i, d, h,
|
|
519
|
-
const
|
|
520
|
-
if (
|
|
521
|
-
const T = n ? tn(h,
|
|
518
|
+
function r(i, d, h, f, ...k) {
|
|
519
|
+
const b = i.currentPosition();
|
|
520
|
+
if (b.offset += f, b.column += f, t) {
|
|
521
|
+
const T = n ? tn(h, b) : null, H = Fe(d, T, {
|
|
522
522
|
domain: Vt,
|
|
523
|
-
args:
|
|
523
|
+
args: k
|
|
524
524
|
});
|
|
525
525
|
t(H);
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
528
|
function c(i, d, h) {
|
|
529
|
-
const
|
|
530
|
-
return n && (
|
|
529
|
+
const f = { type: i };
|
|
530
|
+
return n && (f.start = d, f.end = d, f.loc = { start: h, end: h }), f;
|
|
531
531
|
}
|
|
532
|
-
function o(i, d, h,
|
|
532
|
+
function o(i, d, h, f) {
|
|
533
533
|
n && (i.end = d, i.loc && (i.loc.end = h));
|
|
534
534
|
}
|
|
535
535
|
function l(i, d) {
|
|
536
|
-
const h = i.context(),
|
|
537
|
-
return
|
|
536
|
+
const h = i.context(), f = c(3, h.offset, h.startLoc);
|
|
537
|
+
return f.value = d, o(f, i.currentOffset(), i.currentPosition()), f;
|
|
538
538
|
}
|
|
539
|
-
function
|
|
540
|
-
const h = i.context(), { lastOffset:
|
|
541
|
-
return
|
|
539
|
+
function m(i, d) {
|
|
540
|
+
const h = i.context(), { lastOffset: f, lastStartLoc: k } = h, b = c(5, f, k);
|
|
541
|
+
return b.index = parseInt(d, 10), i.nextToken(), o(b, i.currentOffset(), i.currentPosition()), b;
|
|
542
542
|
}
|
|
543
543
|
function _(i, d) {
|
|
544
|
-
const h = i.context(), { lastOffset:
|
|
545
|
-
return
|
|
544
|
+
const h = i.context(), { lastOffset: f, lastStartLoc: k } = h, b = c(4, f, k);
|
|
545
|
+
return b.key = d, i.nextToken(), o(b, i.currentOffset(), i.currentPosition()), b;
|
|
546
546
|
}
|
|
547
547
|
function g(i, d) {
|
|
548
|
-
const h = i.context(), { lastOffset:
|
|
549
|
-
return
|
|
548
|
+
const h = i.context(), { lastOffset: f, lastStartLoc: k } = h, b = c(9, f, k);
|
|
549
|
+
return b.value = d.replace(Wt, Bt), i.nextToken(), o(b, i.currentOffset(), i.currentPosition()), b;
|
|
550
550
|
}
|
|
551
551
|
function v(i) {
|
|
552
|
-
const d = i.nextToken(), h = i.context(), { lastOffset:
|
|
553
|
-
return d.type !== 11 ? (r(i, M.UNEXPECTED_EMPTY_LINKED_MODIFIER, h.lastStartLoc, 0),
|
|
552
|
+
const d = i.nextToken(), h = i.context(), { lastOffset: f, lastStartLoc: k } = h, b = c(8, f, k);
|
|
553
|
+
return d.type !== 11 ? (r(i, M.UNEXPECTED_EMPTY_LINKED_MODIFIER, h.lastStartLoc, 0), b.value = "", o(b, f, k), {
|
|
554
554
|
nextConsumeToken: d,
|
|
555
|
-
node:
|
|
556
|
-
}) : (d.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Z(d)),
|
|
557
|
-
node:
|
|
555
|
+
node: b
|
|
556
|
+
}) : (d.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Z(d)), b.value = d.value || "", o(b, i.currentOffset(), i.currentPosition()), {
|
|
557
|
+
node: b
|
|
558
558
|
});
|
|
559
559
|
}
|
|
560
|
-
function
|
|
561
|
-
const h = i.context(),
|
|
562
|
-
return
|
|
560
|
+
function O(i, d) {
|
|
561
|
+
const h = i.context(), f = c(7, h.offset, h.startLoc);
|
|
562
|
+
return f.value = d, o(f, i.currentOffset(), i.currentPosition()), f;
|
|
563
563
|
}
|
|
564
564
|
function N(i) {
|
|
565
565
|
const d = i.context(), h = c(6, d.offset, d.startLoc);
|
|
566
|
-
let
|
|
567
|
-
if (
|
|
568
|
-
const
|
|
569
|
-
h.modifier =
|
|
566
|
+
let f = i.nextToken();
|
|
567
|
+
if (f.type === 8) {
|
|
568
|
+
const k = v(i);
|
|
569
|
+
h.modifier = k.node, f = k.nextConsumeToken || i.nextToken();
|
|
570
570
|
}
|
|
571
|
-
switch (
|
|
571
|
+
switch (f.type !== 9 && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(f)), f = i.nextToken(), f.type === 2 && (f = i.nextToken()), f.type) {
|
|
572
572
|
case 10:
|
|
573
|
-
|
|
573
|
+
f.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(f)), h.key = O(i, f.value || "");
|
|
574
574
|
break;
|
|
575
575
|
case 4:
|
|
576
|
-
|
|
576
|
+
f.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(f)), h.key = _(i, f.value || "");
|
|
577
577
|
break;
|
|
578
578
|
case 5:
|
|
579
|
-
|
|
579
|
+
f.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(f)), h.key = m(i, f.value || "");
|
|
580
580
|
break;
|
|
581
581
|
case 6:
|
|
582
|
-
|
|
582
|
+
f.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(f)), h.key = g(i, f.value || "");
|
|
583
583
|
break;
|
|
584
584
|
default: {
|
|
585
585
|
r(i, M.UNEXPECTED_EMPTY_LINKED_KEY, d.lastStartLoc, 0);
|
|
586
|
-
const
|
|
587
|
-
return
|
|
588
|
-
nextConsumeToken:
|
|
586
|
+
const k = i.context(), b = c(7, k.offset, k.startLoc);
|
|
587
|
+
return b.value = "", o(b, k.offset, k.startLoc), h.key = b, o(h, k.offset, k.startLoc), {
|
|
588
|
+
nextConsumeToken: f,
|
|
589
589
|
node: h
|
|
590
590
|
};
|
|
591
591
|
}
|
|
@@ -595,52 +595,52 @@ function xt(e = {}) {
|
|
|
595
595
|
};
|
|
596
596
|
}
|
|
597
597
|
function A(i) {
|
|
598
|
-
const d = i.context(), h = d.currentType === 1 ? i.currentOffset() : d.offset,
|
|
599
|
-
|
|
600
|
-
let
|
|
598
|
+
const d = i.context(), h = d.currentType === 1 ? i.currentOffset() : d.offset, f = d.currentType === 1 ? d.endLoc : d.startLoc, k = c(2, h, f);
|
|
599
|
+
k.items = [];
|
|
600
|
+
let b = null;
|
|
601
601
|
do {
|
|
602
|
-
const G =
|
|
603
|
-
switch (
|
|
602
|
+
const G = b || i.nextToken();
|
|
603
|
+
switch (b = null, G.type) {
|
|
604
604
|
case 0:
|
|
605
|
-
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(G)),
|
|
605
|
+
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(G)), k.items.push(l(i, G.value || ""));
|
|
606
606
|
break;
|
|
607
607
|
case 5:
|
|
608
|
-
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(G)),
|
|
608
|
+
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(G)), k.items.push(m(i, G.value || ""));
|
|
609
609
|
break;
|
|
610
610
|
case 4:
|
|
611
|
-
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(G)),
|
|
611
|
+
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(G)), k.items.push(_(i, G.value || ""));
|
|
612
612
|
break;
|
|
613
613
|
case 6:
|
|
614
|
-
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(G)),
|
|
614
|
+
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(G)), k.items.push(g(i, G.value || ""));
|
|
615
615
|
break;
|
|
616
616
|
case 7: {
|
|
617
617
|
const $ = N(i);
|
|
618
|
-
|
|
618
|
+
k.items.push($.node), b = $.nextConsumeToken || null;
|
|
619
619
|
break;
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
622
|
} while (d.currentType !== 13 && d.currentType !== 1);
|
|
623
623
|
const T = d.currentType === 1 ? d.lastOffset : i.currentOffset(), H = d.currentType === 1 ? d.lastEndLoc : i.currentPosition();
|
|
624
|
-
return o(
|
|
624
|
+
return o(k, T, H), k;
|
|
625
625
|
}
|
|
626
|
-
function S(i, d, h,
|
|
627
|
-
const
|
|
628
|
-
let
|
|
626
|
+
function S(i, d, h, f) {
|
|
627
|
+
const k = i.context();
|
|
628
|
+
let b = f.items.length === 0;
|
|
629
629
|
const T = c(1, d, h);
|
|
630
|
-
T.cases = [], T.cases.push(
|
|
630
|
+
T.cases = [], T.cases.push(f);
|
|
631
631
|
do {
|
|
632
632
|
const H = A(i);
|
|
633
|
-
|
|
634
|
-
} while (
|
|
635
|
-
return
|
|
633
|
+
b || (b = H.items.length === 0), T.cases.push(H);
|
|
634
|
+
} while (k.currentType !== 13);
|
|
635
|
+
return b && r(i, M.MUST_HAVE_MESSAGES_IN_PLURAL, h, 0), o(T, i.currentOffset(), i.currentPosition()), T;
|
|
636
636
|
}
|
|
637
637
|
function L(i) {
|
|
638
|
-
const d = i.context(), { offset: h, startLoc:
|
|
639
|
-
return d.currentType === 13 ?
|
|
638
|
+
const d = i.context(), { offset: h, startLoc: f } = d, k = A(i);
|
|
639
|
+
return d.currentType === 13 ? k : S(i, h, f, k);
|
|
640
640
|
}
|
|
641
641
|
function y(i) {
|
|
642
|
-
const d = Gt(i, K({}, e)), h = d.context(),
|
|
643
|
-
return n &&
|
|
642
|
+
const d = Gt(i, K({}, e)), h = d.context(), f = c(0, h.offset, h.startLoc);
|
|
643
|
+
return n && f.loc && (f.loc.source = i), f.body = L(d), e.onCacheKey && (f.cacheKey = e.onCacheKey(i)), h.currentType !== 13 && r(d, M.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, i[h.offset] || ""), o(f, d.currentOffset(), d.currentPosition()), f;
|
|
644
644
|
}
|
|
645
645
|
return { parse: y };
|
|
646
646
|
}
|
|
@@ -736,24 +736,24 @@ function An(e) {
|
|
|
736
736
|
}
|
|
737
737
|
}
|
|
738
738
|
}
|
|
739
|
-
function
|
|
739
|
+
function fe(e) {
|
|
740
740
|
switch (e.t = e.type, e.type) {
|
|
741
741
|
case 0: {
|
|
742
742
|
const n = e;
|
|
743
|
-
|
|
743
|
+
fe(n.body), n.b = n.body, delete n.body;
|
|
744
744
|
break;
|
|
745
745
|
}
|
|
746
746
|
case 1: {
|
|
747
747
|
const n = e, t = n.cases;
|
|
748
748
|
for (let r = 0; r < t.length; r++)
|
|
749
|
-
|
|
749
|
+
fe(t[r]);
|
|
750
750
|
n.c = t, delete n.cases;
|
|
751
751
|
break;
|
|
752
752
|
}
|
|
753
753
|
case 2: {
|
|
754
754
|
const n = e, t = n.items;
|
|
755
755
|
for (let r = 0; r < t.length; r++)
|
|
756
|
-
|
|
756
|
+
fe(t[r]);
|
|
757
757
|
n.i = t, delete n.items, n.static && (n.s = n.static, delete n.static);
|
|
758
758
|
break;
|
|
759
759
|
}
|
|
@@ -767,7 +767,7 @@ function me(e) {
|
|
|
767
767
|
}
|
|
768
768
|
case 6: {
|
|
769
769
|
const n = e;
|
|
770
|
-
|
|
770
|
+
fe(n.key), n.k = n.key, delete n.key, n.modifier && (fe(n.modifier), n.m = n.modifier, delete n.modifier);
|
|
771
771
|
break;
|
|
772
772
|
}
|
|
773
773
|
case 5: {
|
|
@@ -796,7 +796,7 @@ function Xt(e, n) {
|
|
|
796
796
|
indentLevel: 0
|
|
797
797
|
};
|
|
798
798
|
o && e.loc && (l.source = e.loc.source);
|
|
799
|
-
const
|
|
799
|
+
const m = () => l;
|
|
800
800
|
function _(L, y) {
|
|
801
801
|
l.code += L;
|
|
802
802
|
}
|
|
@@ -808,7 +808,7 @@ function Xt(e, n) {
|
|
|
808
808
|
const y = ++l.indentLevel;
|
|
809
809
|
L && g(y);
|
|
810
810
|
}
|
|
811
|
-
function
|
|
811
|
+
function O(L = !0) {
|
|
812
812
|
const y = --l.indentLevel;
|
|
813
813
|
L && g(y);
|
|
814
814
|
}
|
|
@@ -816,10 +816,10 @@ function Xt(e, n) {
|
|
|
816
816
|
g(l.indentLevel);
|
|
817
817
|
}
|
|
818
818
|
return {
|
|
819
|
-
context:
|
|
819
|
+
context: m,
|
|
820
820
|
push: _,
|
|
821
821
|
indent: v,
|
|
822
|
-
deindent:
|
|
822
|
+
deindent: O,
|
|
823
823
|
newline: N,
|
|
824
824
|
helper: (L) => `_${L}`,
|
|
825
825
|
needIndent: () => l.needIndent
|
|
@@ -907,16 +907,16 @@ function pe(e, n) {
|
|
|
907
907
|
}
|
|
908
908
|
}
|
|
909
909
|
const Zt = (e, n = {}) => {
|
|
910
|
-
const t =
|
|
910
|
+
const t = I(n.mode) ? n.mode : "normal", r = I(n.filename) ? n.filename : "message.intl";
|
|
911
911
|
n.sourceMap;
|
|
912
912
|
const c = n.breakLineCode != null ? n.breakLineCode : t === "arrow" ? ";" : `
|
|
913
|
-
`, o = n.needIndent ? n.needIndent : t !== "arrow", l = e.helpers || [],
|
|
913
|
+
`, o = n.needIndent ? n.needIndent : t !== "arrow", l = e.helpers || [], m = Xt(e, {
|
|
914
914
|
filename: r,
|
|
915
915
|
breakLineCode: c,
|
|
916
916
|
needIndent: o
|
|
917
917
|
});
|
|
918
|
-
|
|
919
|
-
const { code: _, map: g } =
|
|
918
|
+
m.push(t === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), m.indent(o), l.length > 0 && (m.push(`const { ${dn(l.map((v) => `${v}: _${v}`), ", ")} } = ctx`), m.newline()), m.push("return "), pe(m, e), m.deindent(o), m.push("}"), delete e.helpers;
|
|
919
|
+
const { code: _, map: g } = m.context();
|
|
920
920
|
return {
|
|
921
921
|
ast: e,
|
|
922
922
|
code: _,
|
|
@@ -925,8 +925,8 @@ const Zt = (e, n = {}) => {
|
|
|
925
925
|
};
|
|
926
926
|
};
|
|
927
927
|
function zt(e, n = {}) {
|
|
928
|
-
const t = K({}, n), r = !!t.jit, c = !!t.minify, o = t.optimize == null ? !0 : t.optimize,
|
|
929
|
-
return r ? (o && Kt(
|
|
928
|
+
const t = K({}, n), r = !!t.jit, c = !!t.minify, o = t.optimize == null ? !0 : t.optimize, m = xt(t).parse(e);
|
|
929
|
+
return r ? (o && Kt(m), c && fe(m), { ast: m, code: "" }) : (jt(m, t), Zt(m, t));
|
|
930
930
|
}
|
|
931
931
|
var er = { env: { NODE_ENV: "production" } };
|
|
932
932
|
function nr() {
|
|
@@ -938,15 +938,15 @@ function ze(e) {
|
|
|
938
938
|
function tr(e, n) {
|
|
939
939
|
const t = sr(n);
|
|
940
940
|
if (t == null)
|
|
941
|
-
throw
|
|
941
|
+
throw be(
|
|
942
942
|
0
|
|
943
943
|
/* NodeTypes.Resource */
|
|
944
944
|
);
|
|
945
945
|
if (gn(t) === 1) {
|
|
946
946
|
const o = or(t);
|
|
947
|
-
return e.plural(o.reduce((l,
|
|
947
|
+
return e.plural(o.reduce((l, m) => [
|
|
948
948
|
...l,
|
|
949
|
-
Sn(e,
|
|
949
|
+
Sn(e, m)
|
|
950
950
|
], []));
|
|
951
951
|
} else
|
|
952
952
|
return Sn(e, t);
|
|
@@ -989,7 +989,7 @@ function rn(e, n) {
|
|
|
989
989
|
return e.interpolate(e.named(r.k));
|
|
990
990
|
if (Q(r, "key") && r.key)
|
|
991
991
|
return e.interpolate(e.named(r.key));
|
|
992
|
-
throw
|
|
992
|
+
throw be(t);
|
|
993
993
|
}
|
|
994
994
|
case 5: {
|
|
995
995
|
const r = n;
|
|
@@ -997,7 +997,7 @@ function rn(e, n) {
|
|
|
997
997
|
return e.interpolate(e.list(r.i));
|
|
998
998
|
if (Q(r, "index") && j(r.index))
|
|
999
999
|
return e.interpolate(e.list(r.index));
|
|
1000
|
-
throw
|
|
1000
|
+
throw be(t);
|
|
1001
1001
|
}
|
|
1002
1002
|
case 6: {
|
|
1003
1003
|
const r = n, c = pr(r), o = Er(r);
|
|
@@ -1015,23 +1015,23 @@ const _r = ["t", "type"];
|
|
|
1015
1015
|
function gn(e) {
|
|
1016
1016
|
return se(e, _r);
|
|
1017
1017
|
}
|
|
1018
|
-
const
|
|
1018
|
+
const mr = ["v", "value"];
|
|
1019
1019
|
function Se(e, n) {
|
|
1020
|
-
const t = se(e,
|
|
1020
|
+
const t = se(e, mr);
|
|
1021
1021
|
if (t)
|
|
1022
1022
|
return t;
|
|
1023
|
-
throw
|
|
1023
|
+
throw be(n);
|
|
1024
1024
|
}
|
|
1025
|
-
const
|
|
1025
|
+
const fr = ["m", "modifier"];
|
|
1026
1026
|
function pr(e) {
|
|
1027
|
-
return se(e,
|
|
1027
|
+
return se(e, fr);
|
|
1028
1028
|
}
|
|
1029
1029
|
const dr = ["k", "key"];
|
|
1030
1030
|
function Er(e) {
|
|
1031
1031
|
const n = se(e, dr);
|
|
1032
1032
|
if (n)
|
|
1033
1033
|
return n;
|
|
1034
|
-
throw
|
|
1034
|
+
throw be(
|
|
1035
1035
|
6
|
|
1036
1036
|
/* NodeTypes.Linked */
|
|
1037
1037
|
);
|
|
@@ -1044,7 +1044,7 @@ function se(e, n, t) {
|
|
|
1044
1044
|
}
|
|
1045
1045
|
return t;
|
|
1046
1046
|
}
|
|
1047
|
-
function
|
|
1047
|
+
function be(e) {
|
|
1048
1048
|
return new Error(`unhandled node type: ${e}`);
|
|
1049
1049
|
}
|
|
1050
1050
|
const gr = (e) => e;
|
|
@@ -1061,7 +1061,7 @@ function Tr(e, n = {}) {
|
|
|
1061
1061
|
}
|
|
1062
1062
|
// @__NO_SIDE_EFFECTS__
|
|
1063
1063
|
function hr(e, n) {
|
|
1064
|
-
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ &&
|
|
1064
|
+
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && I(e)) {
|
|
1065
1065
|
B(n.warnHtmlMessage) && n.warnHtmlMessage;
|
|
1066
1066
|
const r = (n.onCacheKey || gr)(e), c = Ce[r];
|
|
1067
1067
|
if (c)
|
|
@@ -1070,8 +1070,8 @@ function hr(e, n) {
|
|
|
1070
1070
|
...n,
|
|
1071
1071
|
location: er.env.NODE_ENV !== "production",
|
|
1072
1072
|
jit: !0
|
|
1073
|
-
}),
|
|
1074
|
-
return l ?
|
|
1073
|
+
}), m = ze(o);
|
|
1074
|
+
return l ? m : Ce[r] = m;
|
|
1075
1075
|
} else {
|
|
1076
1076
|
const t = e.cacheKey;
|
|
1077
1077
|
if (t) {
|
|
@@ -1081,21 +1081,21 @@ function hr(e, n) {
|
|
|
1081
1081
|
return ze(e);
|
|
1082
1082
|
}
|
|
1083
1083
|
}
|
|
1084
|
-
let
|
|
1084
|
+
let ke = null;
|
|
1085
1085
|
function Nr(e) {
|
|
1086
|
-
|
|
1086
|
+
ke = e;
|
|
1087
1087
|
}
|
|
1088
|
-
function
|
|
1089
|
-
|
|
1088
|
+
function br(e, n, t) {
|
|
1089
|
+
ke && ke.emit("i18n:init", {
|
|
1090
1090
|
timestamp: Date.now(),
|
|
1091
1091
|
i18n: e,
|
|
1092
1092
|
version: n,
|
|
1093
1093
|
meta: t
|
|
1094
1094
|
});
|
|
1095
1095
|
}
|
|
1096
|
-
const
|
|
1097
|
-
function
|
|
1098
|
-
return (n) =>
|
|
1096
|
+
const kr = /* @__PURE__ */ Ir("function:translate");
|
|
1097
|
+
function Ir(e) {
|
|
1098
|
+
return (n) => ke && ke.emit(e, n);
|
|
1099
1099
|
}
|
|
1100
1100
|
const ne = {
|
|
1101
1101
|
INVALID_ARGUMENT: Ct,
|
|
@@ -1105,7 +1105,7 @@ const ne = {
|
|
|
1105
1105
|
NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
|
|
1106
1106
|
NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
|
|
1107
1107
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1108
|
-
},
|
|
1108
|
+
}, Or = 24;
|
|
1109
1109
|
function te(e) {
|
|
1110
1110
|
return Fe(e, null, void 0);
|
|
1111
1111
|
}
|
|
@@ -1114,7 +1114,7 @@ function Tn(e, n) {
|
|
|
1114
1114
|
}
|
|
1115
1115
|
let en;
|
|
1116
1116
|
function Cn(e) {
|
|
1117
|
-
if (
|
|
1117
|
+
if (I(e))
|
|
1118
1118
|
return e;
|
|
1119
1119
|
if (w(e)) {
|
|
1120
1120
|
if (e.resolvedOnce && en != null)
|
|
@@ -1132,11 +1132,11 @@ function Cn(e) {
|
|
|
1132
1132
|
function vr(e, n, t) {
|
|
1133
1133
|
return [.../* @__PURE__ */ new Set([
|
|
1134
1134
|
t,
|
|
1135
|
-
...x(n) ? n : P(n) ? Object.keys(n) :
|
|
1135
|
+
...x(n) ? n : P(n) ? Object.keys(n) : I(n) ? [n] : [t]
|
|
1136
1136
|
])];
|
|
1137
1137
|
}
|
|
1138
1138
|
function zn(e, n, t) {
|
|
1139
|
-
const r =
|
|
1139
|
+
const r = I(t) ? t : Me, c = e;
|
|
1140
1140
|
c.__localeChainCache || (c.__localeChainCache = /* @__PURE__ */ new Map());
|
|
1141
1141
|
let o = c.__localeChainCache.get(r);
|
|
1142
1142
|
if (!o) {
|
|
@@ -1144,8 +1144,8 @@ function zn(e, n, t) {
|
|
|
1144
1144
|
let l = [t];
|
|
1145
1145
|
for (; x(l); )
|
|
1146
1146
|
l = Dn(o, l, n);
|
|
1147
|
-
const
|
|
1148
|
-
l =
|
|
1147
|
+
const m = x(n) || !D(n) ? n : n.default ? n.default : null;
|
|
1148
|
+
l = I(m) ? [m] : m, x(l) && Dn(o, l, !1), c.__localeChainCache.set(r, o);
|
|
1149
1149
|
}
|
|
1150
1150
|
return o;
|
|
1151
1151
|
}
|
|
@@ -1153,7 +1153,7 @@ function Dn(e, n, t) {
|
|
|
1153
1153
|
let r = !0;
|
|
1154
1154
|
for (let c = 0; c < n.length && B(r); c++) {
|
|
1155
1155
|
const o = n[c];
|
|
1156
|
-
|
|
1156
|
+
I(o) && (r = Lr(e, n[c], t));
|
|
1157
1157
|
}
|
|
1158
1158
|
return r;
|
|
1159
1159
|
}
|
|
@@ -1375,13 +1375,13 @@ function Dr(e) {
|
|
|
1375
1375
|
}
|
|
1376
1376
|
function Pr(e) {
|
|
1377
1377
|
const n = [];
|
|
1378
|
-
let t = -1, r = 0, c = 0, o, l,
|
|
1378
|
+
let t = -1, r = 0, c = 0, o, l, m, _, g, v, O;
|
|
1379
1379
|
const N = [];
|
|
1380
1380
|
N[
|
|
1381
1381
|
0
|
|
1382
1382
|
/* Actions.APPEND */
|
|
1383
1383
|
] = () => {
|
|
1384
|
-
l === void 0 ? l =
|
|
1384
|
+
l === void 0 ? l = m : l += m;
|
|
1385
1385
|
}, N[
|
|
1386
1386
|
1
|
|
1387
1387
|
/* Actions.PUSH */
|
|
@@ -1416,14 +1416,14 @@ function Pr(e) {
|
|
|
1416
1416
|
function A() {
|
|
1417
1417
|
const S = e[t + 1];
|
|
1418
1418
|
if (r === 5 && S === "'" || r === 6 && S === '"')
|
|
1419
|
-
return t++,
|
|
1419
|
+
return t++, m = "\\" + S, N[
|
|
1420
1420
|
0
|
|
1421
1421
|
/* Actions.APPEND */
|
|
1422
1422
|
](), !0;
|
|
1423
1423
|
}
|
|
1424
1424
|
for (; r !== null; )
|
|
1425
1425
|
if (t++, o = e[t], !(o === "\\" && A())) {
|
|
1426
|
-
if (_ = Cr(o),
|
|
1426
|
+
if (_ = Cr(o), O = ae[r], g = O[_] || O.l || 8, g === 8 || (r = g[0], g[1] !== void 0 && (v = N[g[1]], v && (m = o, v() === !1))))
|
|
1427
1427
|
return;
|
|
1428
1428
|
if (r === 7)
|
|
1429
1429
|
return n;
|
|
@@ -1452,9 +1452,9 @@ function Ur(e, n) {
|
|
|
1452
1452
|
const Fr = "10.0.5", we = -1, Me = "en-US", Mn = "", Un = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1453
1453
|
function wr() {
|
|
1454
1454
|
return {
|
|
1455
|
-
upper: (e, n) => n === "text" &&
|
|
1456
|
-
lower: (e, n) => n === "text" &&
|
|
1457
|
-
capitalize: (e, n) => n === "text" &&
|
|
1455
|
+
upper: (e, n) => n === "text" && I(e) ? e.toUpperCase() : n === "vnode" && P(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1456
|
+
lower: (e, n) => n === "text" && I(e) ? e.toLowerCase() : n === "vnode" && P(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
1457
|
+
capitalize: (e, n) => n === "text" && I(e) ? Un(e) : n === "vnode" && P(e) && "__v_isVNode" in e ? Un(e.children) : e
|
|
1458
1458
|
};
|
|
1459
1459
|
}
|
|
1460
1460
|
let et;
|
|
@@ -1479,7 +1479,7 @@ const Fn = (e) => {
|
|
|
1479
1479
|
}, xr = () => st;
|
|
1480
1480
|
let wn = 0;
|
|
1481
1481
|
function Yr(e = {}) {
|
|
1482
|
-
const n = w(e.onWarn) ? e.onWarn : At, t =
|
|
1482
|
+
const n = w(e.onWarn) ? e.onWarn : At, t = I(e.version) ? e.version : Fr, r = I(e.locale) || w(e.locale) ? e.locale : Me, c = w(r) ? Me : r, o = x(e.fallbackLocale) || D(e.fallbackLocale) || I(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c, l = D(e.messages) ? e.messages : nn(c), m = D(e.datetimeFormats) ? e.datetimeFormats : nn(c), _ = D(e.numberFormats) ? e.numberFormats : nn(c), g = K(U(), e.modifiers, wr()), v = e.pluralRules || U(), O = w(e.missing) ? e.missing : null, N = B(e.missingWarn) || Pe(e.missingWarn) ? e.missingWarn : !0, A = B(e.fallbackWarn) || Pe(e.fallbackWarn) ? e.fallbackWarn : !0, S = !!e.fallbackFormat, L = !!e.unresolving, y = w(e.postTranslation) ? e.postTranslation : null, i = D(e.processor) ? e.processor : null, d = B(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter, f = w(e.messageCompiler) ? e.messageCompiler : et, k = w(e.messageResolver) ? e.messageResolver : nt || Mr, b = w(e.localeFallbacker) ? e.localeFallbacker : tt || vr, T = P(e.fallbackContext) ? e.fallbackContext : void 0, H = e, G = P(H.__datetimeFormatters) ? H.__datetimeFormatters : /* @__PURE__ */ new Map(), $ = P(H.__numberFormatters) ? H.__numberFormatters : /* @__PURE__ */ new Map(), q = P(H.__meta) ? H.__meta : {};
|
|
1483
1483
|
wn++;
|
|
1484
1484
|
const Y = {
|
|
1485
1485
|
version: t,
|
|
@@ -1489,7 +1489,7 @@ function Yr(e = {}) {
|
|
|
1489
1489
|
messages: l,
|
|
1490
1490
|
modifiers: g,
|
|
1491
1491
|
pluralRules: v,
|
|
1492
|
-
missing:
|
|
1492
|
+
missing: O,
|
|
1493
1493
|
missingWarn: N,
|
|
1494
1494
|
fallbackWarn: A,
|
|
1495
1495
|
fallbackFormat: S,
|
|
@@ -1498,21 +1498,21 @@ function Yr(e = {}) {
|
|
|
1498
1498
|
processor: i,
|
|
1499
1499
|
warnHtmlMessage: d,
|
|
1500
1500
|
escapeParameter: h,
|
|
1501
|
-
messageCompiler:
|
|
1502
|
-
messageResolver:
|
|
1503
|
-
localeFallbacker:
|
|
1501
|
+
messageCompiler: f,
|
|
1502
|
+
messageResolver: k,
|
|
1503
|
+
localeFallbacker: b,
|
|
1504
1504
|
fallbackContext: T,
|
|
1505
1505
|
onWarn: n,
|
|
1506
1506
|
__meta: q
|
|
1507
1507
|
};
|
|
1508
|
-
return Y.datetimeFormats =
|
|
1508
|
+
return Y.datetimeFormats = m, Y.numberFormats = _, Y.__datetimeFormatters = G, Y.__numberFormatters = $, __INTLIFY_PROD_DEVTOOLS__ && br(Y, t, q), Y;
|
|
1509
1509
|
}
|
|
1510
1510
|
const nn = (e) => ({ [e]: U() });
|
|
1511
1511
|
function hn(e, n, t, r, c) {
|
|
1512
1512
|
const { missing: o, onWarn: l } = e;
|
|
1513
1513
|
if (o !== null) {
|
|
1514
|
-
const
|
|
1515
|
-
return
|
|
1514
|
+
const m = o(e, t, n, c);
|
|
1515
|
+
return I(m) ? m : n;
|
|
1516
1516
|
} else
|
|
1517
1517
|
return n;
|
|
1518
1518
|
}
|
|
@@ -1533,7 +1533,7 @@ function Kr(e, n) {
|
|
|
1533
1533
|
return !1;
|
|
1534
1534
|
}
|
|
1535
1535
|
function Hn(e, ...n) {
|
|
1536
|
-
const { datetimeFormats: t, unresolving: r, fallbackLocale: c, onWarn: o, localeFallbacker: l } = e, { __datetimeFormatters:
|
|
1536
|
+
const { datetimeFormats: t, unresolving: r, fallbackLocale: c, onWarn: o, localeFallbacker: l } = e, { __datetimeFormatters: m } = e, [_, g, v, O] = sn(...n), N = B(v.missingWarn) ? v.missingWarn : e.missingWarn;
|
|
1537
1537
|
B(v.fallbackWarn) ? v.fallbackWarn : e.fallbackWarn;
|
|
1538
1538
|
const A = !!v.part, S = Tn(e, v), L = l(
|
|
1539
1539
|
e,
|
|
@@ -1541,18 +1541,18 @@ function Hn(e, ...n) {
|
|
|
1541
1541
|
c,
|
|
1542
1542
|
S
|
|
1543
1543
|
);
|
|
1544
|
-
if (!
|
|
1545
|
-
return new Intl.DateTimeFormat(S,
|
|
1544
|
+
if (!I(_) || _ === "")
|
|
1545
|
+
return new Intl.DateTimeFormat(S, O).format(g);
|
|
1546
1546
|
let y = {}, i, d = null;
|
|
1547
1547
|
const h = "datetime format";
|
|
1548
|
-
for (let
|
|
1548
|
+
for (let b = 0; b < L.length && (i = L[b], y = t[i] || {}, d = y[_], !D(d)); b++)
|
|
1549
1549
|
hn(e, _, i, N, h);
|
|
1550
|
-
if (!D(d) || !
|
|
1550
|
+
if (!D(d) || !I(i))
|
|
1551
1551
|
return r ? we : _;
|
|
1552
|
-
let
|
|
1553
|
-
Ue(
|
|
1554
|
-
let
|
|
1555
|
-
return
|
|
1552
|
+
let f = `${i}__${_}`;
|
|
1553
|
+
Ue(O) || (f = `${f}__${JSON.stringify(O)}`);
|
|
1554
|
+
let k = m.get(f);
|
|
1555
|
+
return k || (k = new Intl.DateTimeFormat(i, K({}, d, O)), m.set(f, k)), A ? k.formatToParts(g) : k.format(g);
|
|
1556
1556
|
}
|
|
1557
1557
|
const at = [
|
|
1558
1558
|
"localeMatcher",
|
|
@@ -1578,29 +1578,29 @@ const at = [
|
|
|
1578
1578
|
];
|
|
1579
1579
|
function sn(...e) {
|
|
1580
1580
|
const [n, t, r, c] = e, o = U();
|
|
1581
|
-
let l = U(),
|
|
1582
|
-
if (
|
|
1581
|
+
let l = U(), m;
|
|
1582
|
+
if (I(n)) {
|
|
1583
1583
|
const _ = n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1584
1584
|
if (!_)
|
|
1585
1585
|
throw te(ne.INVALID_ISO_DATE_ARGUMENT);
|
|
1586
1586
|
const g = _[3] ? _[3].trim().startsWith("T") ? `${_[1].trim()}${_[3].trim()}` : `${_[1].trim()}T${_[3].trim()}` : _[1].trim();
|
|
1587
|
-
|
|
1587
|
+
m = new Date(g);
|
|
1588
1588
|
try {
|
|
1589
|
-
|
|
1589
|
+
m.toISOString();
|
|
1590
1590
|
} catch {
|
|
1591
1591
|
throw te(ne.INVALID_ISO_DATE_ARGUMENT);
|
|
1592
1592
|
}
|
|
1593
|
-
} else if (
|
|
1593
|
+
} else if (Ot(n)) {
|
|
1594
1594
|
if (isNaN(n.getTime()))
|
|
1595
1595
|
throw te(ne.INVALID_DATE_ARGUMENT);
|
|
1596
|
-
|
|
1596
|
+
m = n;
|
|
1597
1597
|
} else if (j(n))
|
|
1598
|
-
|
|
1598
|
+
m = n;
|
|
1599
1599
|
else
|
|
1600
1600
|
throw te(ne.INVALID_ARGUMENT);
|
|
1601
|
-
return
|
|
1601
|
+
return I(t) ? o.key = t : D(t) && Object.keys(t).forEach((_) => {
|
|
1602
1602
|
at.includes(_) ? l[_] = t[_] : o[_] = t[_];
|
|
1603
|
-
}),
|
|
1603
|
+
}), I(r) ? o.locale = r : D(r) && (l = r), D(c) && (l = c), [o.key || "", m, o, l];
|
|
1604
1604
|
}
|
|
1605
1605
|
function Gn(e, n, t) {
|
|
1606
1606
|
const r = e;
|
|
@@ -1610,7 +1610,7 @@ function Gn(e, n, t) {
|
|
|
1610
1610
|
}
|
|
1611
1611
|
}
|
|
1612
1612
|
function Vn(e, ...n) {
|
|
1613
|
-
const { numberFormats: t, unresolving: r, fallbackLocale: c, onWarn: o, localeFallbacker: l } = e, { __numberFormatters:
|
|
1613
|
+
const { numberFormats: t, unresolving: r, fallbackLocale: c, onWarn: o, localeFallbacker: l } = e, { __numberFormatters: m } = e, [_, g, v, O] = an(...n), N = B(v.missingWarn) ? v.missingWarn : e.missingWarn;
|
|
1614
1614
|
B(v.fallbackWarn) ? v.fallbackWarn : e.fallbackWarn;
|
|
1615
1615
|
const A = !!v.part, S = Tn(e, v), L = l(
|
|
1616
1616
|
e,
|
|
@@ -1618,18 +1618,18 @@ function Vn(e, ...n) {
|
|
|
1618
1618
|
c,
|
|
1619
1619
|
S
|
|
1620
1620
|
);
|
|
1621
|
-
if (!
|
|
1622
|
-
return new Intl.NumberFormat(S,
|
|
1621
|
+
if (!I(_) || _ === "")
|
|
1622
|
+
return new Intl.NumberFormat(S, O).format(g);
|
|
1623
1623
|
let y = {}, i, d = null;
|
|
1624
1624
|
const h = "number format";
|
|
1625
|
-
for (let
|
|
1625
|
+
for (let b = 0; b < L.length && (i = L[b], y = t[i] || {}, d = y[_], !D(d)); b++)
|
|
1626
1626
|
hn(e, _, i, N, h);
|
|
1627
|
-
if (!D(d) || !
|
|
1627
|
+
if (!D(d) || !I(i))
|
|
1628
1628
|
return r ? we : _;
|
|
1629
|
-
let
|
|
1630
|
-
Ue(
|
|
1631
|
-
let
|
|
1632
|
-
return
|
|
1629
|
+
let f = `${i}__${_}`;
|
|
1630
|
+
Ue(O) || (f = `${f}__${JSON.stringify(O)}`);
|
|
1631
|
+
let k = m.get(f);
|
|
1632
|
+
return k || (k = new Intl.NumberFormat(i, K({}, d, O)), m.set(f, k)), A ? k.formatToParts(g) : k.format(g);
|
|
1633
1633
|
}
|
|
1634
1634
|
const ot = [
|
|
1635
1635
|
"localeMatcher",
|
|
@@ -1658,10 +1658,10 @@ function an(...e) {
|
|
|
1658
1658
|
let l = U();
|
|
1659
1659
|
if (!j(n))
|
|
1660
1660
|
throw te(ne.INVALID_ARGUMENT);
|
|
1661
|
-
const
|
|
1662
|
-
return
|
|
1661
|
+
const m = n;
|
|
1662
|
+
return I(t) ? o.key = t : D(t) && Object.keys(t).forEach((_) => {
|
|
1663
1663
|
ot.includes(_) ? l[_] = t[_] : o[_] = t[_];
|
|
1664
|
-
}),
|
|
1664
|
+
}), I(r) ? o.locale = r : D(r) && (l = r), D(c) && (l = c), [o.key || "", m, o, l];
|
|
1665
1665
|
}
|
|
1666
1666
|
function Wn(e, n, t) {
|
|
1667
1667
|
const r = e;
|
|
@@ -1682,26 +1682,26 @@ function zr(e, n) {
|
|
|
1682
1682
|
n.count || (n.count = e), n.n || (n.n = e);
|
|
1683
1683
|
}
|
|
1684
1684
|
function es(e = {}) {
|
|
1685
|
-
const n = e.locale, t = Zr(e), r = P(e.pluralRules) &&
|
|
1685
|
+
const n = e.locale, t = Zr(e), r = P(e.pluralRules) && I(n) && w(e.pluralRules[n]) ? e.pluralRules[n] : Bn, c = P(e.pluralRules) && I(n) && w(e.pluralRules[n]) ? Bn : void 0, o = (i) => i[r(t, i.length, c)], l = e.list || [], m = (i) => l[i], _ = e.named || U();
|
|
1686
1686
|
j(e.pluralIndex) && zr(t, _);
|
|
1687
1687
|
const g = (i) => _[i];
|
|
1688
1688
|
function v(i, d) {
|
|
1689
1689
|
const h = w(e.messages) ? e.messages(i, !!d) : P(e.messages) ? e.messages[i] : !1;
|
|
1690
1690
|
return h || (e.parent ? e.parent.message(i) : $r);
|
|
1691
1691
|
}
|
|
1692
|
-
const
|
|
1693
|
-
list:
|
|
1692
|
+
const O = (i) => e.modifiers ? e.modifiers[i] : Xr, N = D(e.processor) && w(e.processor.normalize) ? e.processor.normalize : qr, A = D(e.processor) && w(e.processor.interpolate) ? e.processor.interpolate : Qr, S = D(e.processor) && I(e.processor.type) ? e.processor.type : Jr, y = {
|
|
1693
|
+
list: m,
|
|
1694
1694
|
named: g,
|
|
1695
1695
|
plural: o,
|
|
1696
1696
|
linked: (i, ...d) => {
|
|
1697
|
-
const [h,
|
|
1698
|
-
let
|
|
1699
|
-
d.length === 1 ? P(h) ? (
|
|
1697
|
+
const [h, f] = d;
|
|
1698
|
+
let k = "text", b = "";
|
|
1699
|
+
d.length === 1 ? P(h) ? (b = h.modifier || b, k = h.type || k) : I(h) && (b = h || b) : d.length === 2 && (I(h) && (b = h || b), I(f) && (k = f || k));
|
|
1700
1700
|
const T = v(i, !0)(y), H = (
|
|
1701
1701
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1702
|
-
|
|
1702
|
+
k === "vnode" && x(T) && b ? T[0] : T
|
|
1703
1703
|
);
|
|
1704
|
-
return
|
|
1704
|
+
return b ? O(b)(H, k) : H;
|
|
1705
1705
|
},
|
|
1706
1706
|
message: v,
|
|
1707
1707
|
type: S,
|
|
@@ -1713,44 +1713,44 @@ function es(e = {}) {
|
|
|
1713
1713
|
}
|
|
1714
1714
|
const xn = () => "", J = (e) => w(e);
|
|
1715
1715
|
function Yn(e, ...n) {
|
|
1716
|
-
const { fallbackFormat: t, postTranslation: r, unresolving: c, messageCompiler: o, fallbackLocale: l, messages:
|
|
1716
|
+
const { fallbackFormat: t, postTranslation: r, unresolving: c, messageCompiler: o, fallbackLocale: l, messages: m } = e, [_, g] = on(...n), v = B(g.missingWarn) ? g.missingWarn : e.missingWarn, O = B(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, N = B(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, A = !!g.resolvedMessage, S = I(g.default) || B(g.default) ? B(g.default) ? o ? _ : () => _ : g.default : t ? o ? _ : () => _ : null, L = t || S != null && (I(S) || w(S)), y = Tn(e, g);
|
|
1717
1717
|
N && ns(g);
|
|
1718
1718
|
let [i, d, h] = A ? [
|
|
1719
1719
|
_,
|
|
1720
1720
|
y,
|
|
1721
|
-
|
|
1722
|
-
] : ct(e, _, y, l,
|
|
1723
|
-
if (!A && !(
|
|
1721
|
+
m[y] || U()
|
|
1722
|
+
] : ct(e, _, y, l, O, v), f = i, k = _;
|
|
1723
|
+
if (!A && !(I(f) || de(f) || J(f)) && L && (f = S, k = f), !A && (!(I(f) || de(f) || J(f)) || !I(d)))
|
|
1724
1724
|
return c ? we : _;
|
|
1725
|
-
let
|
|
1725
|
+
let b = !1;
|
|
1726
1726
|
const T = () => {
|
|
1727
|
-
|
|
1728
|
-
}, H = J(
|
|
1729
|
-
if (
|
|
1730
|
-
return
|
|
1727
|
+
b = !0;
|
|
1728
|
+
}, H = J(f) ? f : it(e, _, d, f, k, T);
|
|
1729
|
+
if (b)
|
|
1730
|
+
return f;
|
|
1731
1731
|
const G = ss(e, d, h, g), $ = es(G), q = ts(e, H, $), Y = r ? r(q, _) : q;
|
|
1732
1732
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1733
1733
|
const le = {
|
|
1734
1734
|
timestamp: Date.now(),
|
|
1735
|
-
key:
|
|
1736
|
-
locale: d || (J(
|
|
1737
|
-
format:
|
|
1735
|
+
key: I(_) ? _ : J(f) ? f.key : "",
|
|
1736
|
+
locale: d || (J(f) ? f.locale : ""),
|
|
1737
|
+
format: I(f) ? f : J(f) ? f.source : "",
|
|
1738
1738
|
message: Y
|
|
1739
1739
|
};
|
|
1740
|
-
le.meta = K({}, e.__meta, /* @__PURE__ */ Br() || {}),
|
|
1740
|
+
le.meta = K({}, e.__meta, /* @__PURE__ */ Br() || {}), kr(le);
|
|
1741
1741
|
}
|
|
1742
1742
|
return Y;
|
|
1743
1743
|
}
|
|
1744
1744
|
function ns(e) {
|
|
1745
|
-
x(e.list) ? e.list = e.list.map((n) =>
|
|
1746
|
-
|
|
1745
|
+
x(e.list) ? e.list = e.list.map((n) => I(n) ? Ln(n) : n) : P(e.named) && Object.keys(e.named).forEach((n) => {
|
|
1746
|
+
I(e.named[n]) && (e.named[n] = Ln(e.named[n]));
|
|
1747
1747
|
});
|
|
1748
1748
|
}
|
|
1749
1749
|
function ct(e, n, t, r, c, o) {
|
|
1750
|
-
const { messages: l, onWarn:
|
|
1751
|
-
let
|
|
1750
|
+
const { messages: l, onWarn: m, messageResolver: _, localeFallbacker: g } = e, v = g(e, r, t);
|
|
1751
|
+
let O = U(), N, A = null;
|
|
1752
1752
|
const S = "translate";
|
|
1753
|
-
for (let L = 0; L < v.length && (N = v[L],
|
|
1753
|
+
for (let L = 0; L < v.length && (N = v[L], O = l[N] || U(), (A = _(O, n)) === null && (A = O[n]), !(I(A) || de(A) || J(A))); L++)
|
|
1754
1754
|
if (!Kr(N, v)) {
|
|
1755
1755
|
const y = hn(
|
|
1756
1756
|
e,
|
|
@@ -1762,10 +1762,10 @@ function ct(e, n, t, r, c, o) {
|
|
|
1762
1762
|
);
|
|
1763
1763
|
y !== n && (A = y);
|
|
1764
1764
|
}
|
|
1765
|
-
return [A, N,
|
|
1765
|
+
return [A, N, O];
|
|
1766
1766
|
}
|
|
1767
1767
|
function it(e, n, t, r, c, o) {
|
|
1768
|
-
const { messageCompiler: l, warnHtmlMessage:
|
|
1768
|
+
const { messageCompiler: l, warnHtmlMessage: m } = e;
|
|
1769
1769
|
if (J(r)) {
|
|
1770
1770
|
const g = r;
|
|
1771
1771
|
return g.locale = g.locale || t, g.key = g.key || n, g;
|
|
@@ -1774,7 +1774,7 @@ function it(e, n, t, r, c, o) {
|
|
|
1774
1774
|
const g = () => r;
|
|
1775
1775
|
return g.locale = t, g.key = n, g;
|
|
1776
1776
|
}
|
|
1777
|
-
const _ = l(r, rs(e, t, c, r,
|
|
1777
|
+
const _ = l(r, rs(e, t, c, r, m, o));
|
|
1778
1778
|
return _.locale = t, _.key = n, _.source = r, _;
|
|
1779
1779
|
}
|
|
1780
1780
|
function ts(e, n, t) {
|
|
@@ -1782,10 +1782,10 @@ function ts(e, n, t) {
|
|
|
1782
1782
|
}
|
|
1783
1783
|
function on(...e) {
|
|
1784
1784
|
const [n, t, r] = e, c = U();
|
|
1785
|
-
if (!
|
|
1785
|
+
if (!I(n) && !j(n) && !J(n) && !de(n))
|
|
1786
1786
|
throw te(ne.INVALID_ARGUMENT);
|
|
1787
1787
|
const o = j(n) ? String(n) : (J(n), n);
|
|
1788
|
-
return j(t) ? c.plural = t :
|
|
1788
|
+
return j(t) ? c.plural = t : I(t) ? c.default = t : D(t) && !Ue(t) ? c.named = t : x(t) && (c.list = t), j(r) ? c.plural = r : I(r) ? c.default = r : D(r) && K(c, r), [o, c];
|
|
1789
1789
|
}
|
|
1790
1790
|
function rs(e, n, t, r, c, o) {
|
|
1791
1791
|
return {
|
|
@@ -1795,11 +1795,11 @@ function rs(e, n, t, r, c, o) {
|
|
|
1795
1795
|
onError: (l) => {
|
|
1796
1796
|
throw o && o(l), l;
|
|
1797
1797
|
},
|
|
1798
|
-
onCacheKey: (l) =>
|
|
1798
|
+
onCacheKey: (l) => kt(n, t, l)
|
|
1799
1799
|
};
|
|
1800
1800
|
}
|
|
1801
1801
|
function ss(e, n, t, r) {
|
|
1802
|
-
const { modifiers: c, pluralRules: o, messageResolver: l, fallbackLocale:
|
|
1802
|
+
const { modifiers: c, pluralRules: o, messageResolver: l, fallbackLocale: m, fallbackWarn: _, missingWarn: g, fallbackContext: v } = e, N = {
|
|
1803
1803
|
locale: n,
|
|
1804
1804
|
modifiers: c,
|
|
1805
1805
|
pluralRules: o,
|
|
@@ -1811,13 +1811,13 @@ function ss(e, n, t, r) {
|
|
|
1811
1811
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1812
1812
|
A,
|
|
1813
1813
|
n,
|
|
1814
|
-
|
|
1814
|
+
m,
|
|
1815
1815
|
_,
|
|
1816
1816
|
g
|
|
1817
1817
|
);
|
|
1818
1818
|
L = l(y, A);
|
|
1819
1819
|
}
|
|
1820
|
-
if (
|
|
1820
|
+
if (I(L) || de(L)) {
|
|
1821
1821
|
let y = !1;
|
|
1822
1822
|
const d = it(e, A, n, L, A, () => {
|
|
1823
1823
|
y = !0;
|
|
@@ -1829,14 +1829,14 @@ function ss(e, n, t, r) {
|
|
|
1829
1829
|
return e.processor && (N.processor = e.processor), r.list && (N.list = r.list), r.named && (N.named = r.named), j(r.plural) && (N.pluralIndex = r.plural), N;
|
|
1830
1830
|
}
|
|
1831
1831
|
nr();
|
|
1832
|
-
var as = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_2100d4f8-f5f4-48f0-9f15-083e59924dc1", npm_package_dependencies_dinero_js: "1.9.1", npm_package_devDependencies__types_node: "18.19.33", npm_config_dedupe_peer_dependents: "", DOTNET_NOLOGO: "1", npm_package_scripts_test_smoke: "ls $(cat smoke-specs.txt) > /dev/null && vitest run $(cat smoke-specs.txt)", npm_package_scripts_prepublish: "pnpm check:env && pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_ui_library_v2: "2.0.0-alpha.0", npm_package_dependencies_fuzzy_search: "3.2.1", npm_package_dependencies_pinia: "2.1.7", npm_package_devDependencies_vitest: "1.6.0", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "3.5.13", npm_package_devDependencies_vite_plugin_commonjs: "0.10.3", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_2100d4f8-f5f4-48f0-9f15-083e59924dc1", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_dependencies_codemirror: "6.0.2", npm_package_dependencies_html2pdf_js: "0.14.0", npm_package_dependencies_node_html_parser: "7.0.1", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", npm_package_files_0: "dist", npm_package_scripts_prod_standalone: "PORTAL_ENV=production vite --mode standalone", npm_package_scripts_check_env: 'cat build-*.env | grep -qE "^[^#].*localhost" && { echo "Error: build-*.env files contains localhost reference" >&2; exit 1;} || exit 0', HOME: "/home/runner", npm_package_devDependencies_sass: "1.77.2", 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_scripts_build_mf_prod: "PORTAL_ENV=production vite build --mode fmmf", npm_package_dependencies_change_case: "5.4.4", NODE_OPTIONS: "--max-old-space-size=8192", GRADLE_HOME: "/usr/share/gradle-9.8.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/30.0.16248370", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --declaration --noEmit -p tsconfig.app.json", npm_package_dependencies__feedmepos_mf_common: "1.29.11", npm_package_dependencies_handlebars: "4.7.8", npm_package_devDependencies_code_inspector_plugin: "1.4.5", npm_package_devDependencies_npm_run_all2: "6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_dependencies__feedmepos_inventory_core_dart: "workspace:*", SYSTEMD_EXEC_PID: "1855", ACTIONS_ORCHESTRATION_ID: "26d1e9ca-3b49-87f8-959b-06c1ddee4a5a.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.1", npm_package_dependencies_dayjs: "1.11.11", npm_package_dependencies_dotenv: "16.4.5", npm_package_devDependencies__tsconfig_node18: "18.2.4", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_eventsource: "4.1.0", npm_package_devDependencies_tailwindcss: "3.4.1", 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_dependencies__codemirror_view: "6.39.15", npm_package_dependencies_google_maps: "4.3.3", npm_package_dependencies_xlsx: "0.18.5", npm_package_devDependencies_vue_tsc: "1.8.27", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20261018.339.1", npm_package_scripts_build_prod: "PORTAL_ENV=production vite build --mode standalone", npm_package_scripts_dev: "vite", npm_package_scripts_test_production_run: "NODE_OPTIONS=--max-old-space-size=8192 pnpm type-check && vitest run --no-dangerouslyIgnoreUnhandledErrors src/views/production-run src/api/production-run.spec.ts src/api/production-run-error.spec.ts src/composable/useNavigationMenu.production.spec.ts src/router/shared.production.spec.ts", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.5", npm_package_dependencies__types_dinero_js: "1.9.4", npm_package_devDependencies_prettier: "3.2.5", npm_package_devDependencies_zod: "3.17.9", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_2100d4f8-f5f4-48f0-9f15-083e59924dc1", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.9.0", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_scripts_prod: "PORTAL_ENV=production vite", npm_package_devDependencies__vue_tsconfig: "0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "10:11055", GITHUB_WORKFLOW: "[CD:prod] inventory-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_dependencies_csstype: "3.1.3", npm_package_dependencies_fuzzy: "0.1.3", npm_config_registry: "https://registry.npmjs.org", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.14/x64", GITHUB_RUN_ID: "39578612264", npm_package_dependencies__codemirror_lang_json: "6.0.2", npm_package_devDependencies__types_lodash: "4.17.20", npm_package_devDependencies_happy_dom: "12.10.3", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "25ea55b7f4c0e7eea4292b4d152fe550abe15f81", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.9/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "4.6.2", GITHUB_WORKFLOW_REF: "feedmepos/inventory-service/.github/workflows/inventory-portal-prod.yaml@refs/tags/inventory-portal-v1.9.0", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies__codemirror_merge: "6.12.2", npm_package_dependencies__feedmepos_integration_portal: "workspace:*", npm_package_dependencies__feedmepos_zod_inventory: "workspace:*", npm_package_dependencies_axios: "1.7.2", 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/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.2/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_af352c12-0931-4e97-9494-df4602205920", INVOCATION_ID: "935b0385240d49efb3c0f129c562fb75", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "479", GITHUB_TRIGGERING_ACTOR: "zdirnecamlcs96", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_test_publish: "pnpm prepublish && pnpm pack", npm_package_dependencies_vue_country_flag_next: "2.3.2", npm_config_frozen_lockfile: "", npm_package_dependencies__feedmepos_inventory_core_2: "workspace:*", npm_package_dependencies__typescript_eslint_typescript_estree: "8.21.0", npm_package_devDependencies__types_dompurify: "3.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "12.0.0", npm_package_devDependencies__vue_test_utils: "2.4.6", npm_package_devDependencies_eslint: "8.57.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000213335", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "inventory-portal-v1.9.0", GITHUB_REPOSITORY: "feedmepos/inventory-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_publish_beta: "pnpm publish --tag beta", npm_package_scripts_unpack: "tar zxf", npm_package_dependencies__feedmepos_core: "2.14.60", npm_package_devDependencies__types_debounce: "1.2.4", 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__feedmepos_netsuite_core: "workspace:*", npm_package_devDependencies__vue_eslint_config_prettier: "8.0.0", npm_config_manage_package_manager_versions: "true", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "656626604", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/bin/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules:/home/runner/work/inventory-service/inventory-service/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", npm_package_version: "1.9.0", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", npm_package_dependencies__feedmepos_hrm_permission: "1.0.9", npm_package_dependencies__tanstack_vue_table: "8.17.3", npm_package_dependencies__vue_cli_service: "5.0.8", npm_package_devDependencies__rushstack_eslint_patch: "1.10.3", npm_config_access: "public", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "true", npm_package_scripts_build: "vite build --mode standalone", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com", GITHUB_WORKSPACE: "/home/runner/work/inventory-service/inventory-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "4.17.21", npm_package_devDependencies__types_fuzzy_search: "2.1.5", npm_package_devDependencies_cypress: "13.10.0", GITHUB_SHA: "25ea55b7f4c0e7eea4292b4d152fe550abe15f81", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/tags/inventory-portal-v1.9.0", GITHUB_ACTOR: "zdirnecamlcs96", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_dependencies_lz_string: "1.5.0", npm_package_devDependencies__testing_library_vue: "8.1.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_2100d4f8-f5f4-48f0-9f15-083e59924dc1", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", GITHUB_ACTOR_ID: "12760908", RUNNER_WORKSPACE: "/home/runner/work/inventory-service", 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: "push", 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_2100d4f8-f5f4-48f0-9f15-083e59924dc1", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "0.0.15", npm_package_dependencies__feedmepos_inventory_core: "workspace:*", npm_package_dependencies_dompurify: "3.3.1", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_devDependencies_eslint_plugin_vue: "9.26.0", npm_package_devDependencies_postcss: "8.4.38", npm_config_node_options: "--max-old-space-size=8192", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_2100d4f8-f5f4-48f0-9f15-083e59924dc1", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_deploy: "pnpm run build-only && pnpm publish --no-git-checks .", npm_package_scripts_preview: "vite preview", npm_package_dependencies_debounce: "2.0.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__codemirror_state: "6.5.4", npm_package_dependencies__feedmepos_menu: "1.5.22", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_2100d4f8-f5f4-48f0-9f15-083e59924dc1", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_codemax_core: "workspace:*", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:*", npm_package_dependencies_libphonenumber_js: "1.11.18", NODE_ENV: "production" } };
|
|
1832
|
+
var as = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_a6862f44-9df1-42ee-8688-e4a8701b763e", npm_package_dependencies_dinero_js: "1.9.1", npm_package_devDependencies__types_node: "18.19.33", npm_config_dedupe_peer_dependents: "", DOTNET_NOLOGO: "1", npm_package_scripts_test_smoke: "ls $(cat smoke-specs.txt) > /dev/null && vitest run $(cat smoke-specs.txt)", npm_package_scripts_prepublish: "pnpm check:env && pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_ui_library_v2: "2.0.0-alpha.0", npm_package_dependencies_fuzzy_search: "3.2.1", npm_package_dependencies_pinia: "2.1.7", npm_package_devDependencies_vitest: "1.6.0", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "3.5.13", npm_package_devDependencies_vite_plugin_commonjs: "0.10.3", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_a6862f44-9df1-42ee-8688-e4a8701b763e", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_dependencies_codemirror: "6.0.2", npm_package_dependencies_html2pdf_js: "0.14.0", npm_package_dependencies_node_html_parser: "7.0.1", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", npm_package_files_0: "dist", npm_package_scripts_prod_standalone: "PORTAL_ENV=production vite --mode standalone", npm_package_scripts_check_env: 'cat build-*.env | grep -qE "^[^#].*localhost" && { echo "Error: build-*.env files contains localhost reference" >&2; exit 1;} || exit 0', HOME: "/home/runner", npm_package_devDependencies_sass: "1.77.2", 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_scripts_build_mf_prod: "PORTAL_ENV=production vite build --mode fmmf", npm_package_dependencies_change_case: "5.4.4", NODE_OPTIONS: "--max-old-space-size=8192", GRADLE_HOME: "/usr/share/gradle-9.8.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/30.0.16248370", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --declaration --noEmit -p tsconfig.app.json", npm_package_dependencies__feedmepos_mf_common: "1.29.11", npm_package_dependencies_handlebars: "4.7.8", npm_package_devDependencies_code_inspector_plugin: "1.4.5", npm_package_devDependencies_npm_run_all2: "6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_dependencies__feedmepos_inventory_core_dart: "workspace:*", SYSTEMD_EXEC_PID: "1863", ACTIONS_ORCHESTRATION_ID: "c2f329f3-8d92-8c41-bdc2-f0626b4b3ff0.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.1", npm_package_dependencies_dayjs: "1.11.11", npm_package_dependencies_dotenv: "16.4.5", npm_package_devDependencies__tsconfig_node18: "18.2.4", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_eventsource: "4.1.0", npm_package_devDependencies_tailwindcss: "3.4.1", 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_dependencies__codemirror_view: "6.39.15", npm_package_dependencies_google_maps: "4.3.3", npm_package_dependencies_xlsx: "0.18.5", npm_package_devDependencies_vue_tsc: "1.8.27", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20261012.334.1", npm_package_scripts_build_prod: "PORTAL_ENV=production vite build --mode standalone", npm_package_scripts_dev: "vite", npm_package_scripts_test_production_run: "NODE_OPTIONS=--max-old-space-size=8192 pnpm type-check && vitest run --no-dangerouslyIgnoreUnhandledErrors src/views/production-run src/api/production-run.spec.ts src/api/production-run-error.spec.ts src/composable/useNavigationMenu.production.spec.ts src/router/shared.production.spec.ts", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.5", npm_package_dependencies__types_dinero_js: "1.9.4", npm_package_devDependencies_prettier: "3.2.5", npm_package_devDependencies_zod: "3.17.9", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_a6862f44-9df1-42ee-8688-e4a8701b763e", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.9.2", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_scripts_prod: "PORTAL_ENV=production vite", npm_package_devDependencies__vue_tsconfig: "0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:13353", GITHUB_WORKFLOW: "[CD:prod] inventory-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_dependencies_csstype: "3.1.3", npm_package_dependencies_fuzzy: "0.1.3", npm_config_registry: "https://registry.npmjs.org", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.14/x64", GITHUB_RUN_ID: "39946316387", npm_package_dependencies__codemirror_lang_json: "6.0.2", npm_package_devDependencies__types_lodash: "4.17.20", npm_package_devDependencies_happy_dom: "12.10.3", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "93a7739dc08a20bb83b5c37bd984f7d11e2ca264", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.9/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "4.6.2", GITHUB_WORKFLOW_REF: "feedmepos/inventory-service/.github/workflows/inventory-portal-prod.yaml@refs/tags/inventory-portal-v1.9.2", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies__codemirror_merge: "6.12.2", npm_package_dependencies__feedmepos_integration_portal: "workspace:*", npm_package_dependencies__feedmepos_zod_inventory: "workspace:*", npm_package_dependencies_axios: "1.7.2", 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/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.2/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_6887b601-70b2-4dfb-89cb-c1c753b8a618", INVOCATION_ID: "5575e5979abd4284a8ea55697609176a", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "481", GITHUB_TRIGGERING_ACTOR: "zdirnecamlcs96", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_test_publish: "pnpm prepublish && pnpm pack", npm_package_dependencies_vue_country_flag_next: "2.3.2", npm_config_frozen_lockfile: "", npm_package_dependencies__feedmepos_inventory_core_2: "workspace:*", npm_package_dependencies__typescript_eslint_typescript_estree: "8.21.0", npm_package_devDependencies__types_dompurify: "3.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "12.0.0", npm_package_devDependencies__vue_test_utils: "2.4.6", npm_package_devDependencies_eslint: "8.57.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000220300", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "inventory-portal-v1.9.2", GITHUB_REPOSITORY: "feedmepos/inventory-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_publish_beta: "pnpm publish --tag beta", npm_package_scripts_unpack: "tar zxf", npm_package_dependencies__feedmepos_core: "2.14.60", npm_package_devDependencies__types_debounce: "1.2.4", 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__feedmepos_netsuite_core: "workspace:*", npm_package_devDependencies__vue_eslint_config_prettier: "8.0.0", npm_config_manage_package_manager_versions: "true", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "656626604", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/bin/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules:/home/runner/work/inventory-service/inventory-service/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", npm_package_version: "1.9.2", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", npm_package_dependencies__feedmepos_hrm_permission: "1.0.9", npm_package_dependencies__tanstack_vue_table: "8.17.3", npm_package_dependencies__vue_cli_service: "5.0.8", npm_package_devDependencies__rushstack_eslint_patch: "1.10.3", npm_config_access: "public", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "true", npm_package_scripts_build: "vite build --mode standalone", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com", GITHUB_WORKSPACE: "/home/runner/work/inventory-service/inventory-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "4.17.21", npm_package_devDependencies__types_fuzzy_search: "2.1.5", npm_package_devDependencies_cypress: "13.10.0", GITHUB_SHA: "93a7739dc08a20bb83b5c37bd984f7d11e2ca264", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/tags/inventory-portal-v1.9.2", GITHUB_ACTOR: "zdirnecamlcs96", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_dependencies_lz_string: "1.5.0", npm_package_devDependencies__testing_library_vue: "8.1.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_a6862f44-9df1-42ee-8688-e4a8701b763e", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", GITHUB_ACTOR_ID: "12760908", RUNNER_WORKSPACE: "/home/runner/work/inventory-service", 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: "push", 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_a6862f44-9df1-42ee-8688-e4a8701b763e", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "0.0.15", npm_package_dependencies__feedmepos_inventory_core: "workspace:*", npm_package_dependencies_dompurify: "3.3.1", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_devDependencies_eslint_plugin_vue: "9.26.0", npm_package_devDependencies_postcss: "8.4.38", npm_config_node_options: "--max-old-space-size=8192", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_a6862f44-9df1-42ee-8688-e4a8701b763e", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_deploy: "pnpm run build-only && pnpm publish --no-git-checks .", npm_package_scripts_preview: "vite preview", npm_package_dependencies_debounce: "2.0.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__codemirror_state: "6.5.4", npm_package_dependencies__feedmepos_menu: "1.5.22", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_a6862f44-9df1-42ee-8688-e4a8701b763e", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_codemax_core: "workspace:*", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:*", npm_package_dependencies_libphonenumber_js: "1.11.18", NODE_ENV: "production" } };
|
|
1833
1833
|
const os = "10.0.5";
|
|
1834
1834
|
function cs() {
|
|
1835
1835
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (ce().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (ce().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (ce().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (ce().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
1836
1836
|
}
|
|
1837
1837
|
const Ee = {
|
|
1838
1838
|
// composer module errors
|
|
1839
|
-
UNEXPECTED_RETURN_TYPE:
|
|
1839
|
+
UNEXPECTED_RETURN_TYPE: Or,
|
|
1840
1840
|
// 24
|
|
1841
1841
|
// legacy module errors
|
|
1842
1842
|
INVALID_ARGUMENT: 25,
|
|
@@ -1847,17 +1847,17 @@ const Ee = {
|
|
|
1847
1847
|
// unexpected error
|
|
1848
1848
|
UNEXPECTED_ERROR: 32
|
|
1849
1849
|
};
|
|
1850
|
-
function
|
|
1850
|
+
function Ie(e, ...n) {
|
|
1851
1851
|
return Fe(e, null, void 0);
|
|
1852
1852
|
}
|
|
1853
1853
|
const cn = /* @__PURE__ */ ie("__translateVNode"), ln = /* @__PURE__ */ ie("__datetimeParts"), un = /* @__PURE__ */ ie("__numberParts"), is = ie("__setPluralRules"), lt = /* @__PURE__ */ ie("__injectWithOption"), _n = /* @__PURE__ */ ie("__dispose");
|
|
1854
|
-
function
|
|
1854
|
+
function Oe(e) {
|
|
1855
1855
|
if (!P(e))
|
|
1856
1856
|
return e;
|
|
1857
1857
|
for (const n in e)
|
|
1858
1858
|
if (Q(e, n))
|
|
1859
1859
|
if (!n.includes("."))
|
|
1860
|
-
P(e[n]) &&
|
|
1860
|
+
P(e[n]) && Oe(e[n]);
|
|
1861
1861
|
else {
|
|
1862
1862
|
const t = n.split("."), r = t.length - 1;
|
|
1863
1863
|
let c = e, o = !1;
|
|
@@ -1868,21 +1868,21 @@ function be(e) {
|
|
|
1868
1868
|
}
|
|
1869
1869
|
c = c[t[l]];
|
|
1870
1870
|
}
|
|
1871
|
-
o || (c[t[r]] = e[n], delete e[n]), P(c[t[r]]) &&
|
|
1871
|
+
o || (c[t[r]] = e[n], delete e[n]), P(c[t[r]]) && Oe(c[t[r]]);
|
|
1872
1872
|
}
|
|
1873
1873
|
return e;
|
|
1874
1874
|
}
|
|
1875
1875
|
function ut(e, n) {
|
|
1876
1876
|
const { messages: t, __i18n: r, messageResolver: c, flatJson: o } = n, l = D(t) ? t : x(r) ? U() : { [e]: U() };
|
|
1877
|
-
if (x(r) && r.forEach((
|
|
1878
|
-
if ("locale" in
|
|
1879
|
-
const { locale: _, resource: g } =
|
|
1877
|
+
if (x(r) && r.forEach((m) => {
|
|
1878
|
+
if ("locale" in m && "resource" in m) {
|
|
1879
|
+
const { locale: _, resource: g } = m;
|
|
1880
1880
|
_ ? (l[_] = l[_] || U(), De(g, l[_])) : De(g, l);
|
|
1881
1881
|
} else
|
|
1882
|
-
|
|
1882
|
+
I(m) && De(JSON.parse(m), l);
|
|
1883
1883
|
}), c == null && o)
|
|
1884
|
-
for (const
|
|
1885
|
-
Q(l,
|
|
1884
|
+
for (const m in l)
|
|
1885
|
+
Q(l, m) && Oe(l[m]);
|
|
1886
1886
|
return l;
|
|
1887
1887
|
}
|
|
1888
1888
|
function _t(e) {
|
|
@@ -1914,40 +1914,40 @@ function ls(e, n, t) {
|
|
|
1914
1914
|
}
|
|
1915
1915
|
}
|
|
1916
1916
|
function jn(e) {
|
|
1917
|
-
return Nt(
|
|
1917
|
+
return Nt(bt, null, e, 0);
|
|
1918
1918
|
}
|
|
1919
1919
|
const Kn = "__INTLIFY_META__", Xn = () => [], us = () => !1;
|
|
1920
1920
|
let $n = 0;
|
|
1921
1921
|
function Jn(e) {
|
|
1922
|
-
return (n, t, r, c) => e(t, r,
|
|
1922
|
+
return (n, t, r, c) => e(t, r, mn() || void 0, c);
|
|
1923
1923
|
}
|
|
1924
1924
|
const _s = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1925
|
-
const e =
|
|
1925
|
+
const e = mn();
|
|
1926
1926
|
let n = null;
|
|
1927
1927
|
return e && (n = _t(e)[Kn]) ? { [Kn]: n } : null;
|
|
1928
1928
|
};
|
|
1929
|
-
function
|
|
1930
|
-
const { __root: n, __injectWithOption: t } = e, r = n === void 0, c = e.flatJson, o =
|
|
1929
|
+
function ms(e = {}) {
|
|
1930
|
+
const { __root: n, __injectWithOption: t } = e, r = n === void 0, c = e.flatJson, o = On ? Et : gt;
|
|
1931
1931
|
let l = B(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1932
|
-
const
|
|
1932
|
+
const m = o(
|
|
1933
1933
|
// prettier-ignore
|
|
1934
|
-
n && l ? n.locale.value :
|
|
1934
|
+
n && l ? n.locale.value : I(e.locale) ? e.locale : Me
|
|
1935
1935
|
), _ = o(
|
|
1936
1936
|
// prettier-ignore
|
|
1937
|
-
n && l ? n.fallbackLocale.value :
|
|
1938
|
-
), g = o(ut(
|
|
1939
|
-
let N = n ? n.missingWarn : B(e.missingWarn) || Pe(e.missingWarn) ? e.missingWarn : !0, A = n ? n.fallbackWarn : B(e.fallbackWarn) || Pe(e.fallbackWarn) ? e.fallbackWarn : !0, S = n ? n.fallbackRoot : B(e.fallbackRoot) ? e.fallbackRoot : !0, L = !!e.fallbackFormat, y = w(e.missing) ? e.missing : null, i = w(e.missing) ? Jn(e.missing) : null, d = w(e.postTranslation) ? e.postTranslation : null, h = n ? n.warnHtmlMessage : B(e.warnHtmlMessage) ? e.warnHtmlMessage : !0,
|
|
1940
|
-
const
|
|
1941
|
-
let
|
|
1937
|
+
n && l ? n.fallbackLocale.value : I(e.fallbackLocale) || x(e.fallbackLocale) || D(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : m.value
|
|
1938
|
+
), g = o(ut(m.value, e)), v = o(D(e.datetimeFormats) ? e.datetimeFormats : { [m.value]: {} }), O = o(D(e.numberFormats) ? e.numberFormats : { [m.value]: {} });
|
|
1939
|
+
let N = n ? n.missingWarn : B(e.missingWarn) || Pe(e.missingWarn) ? e.missingWarn : !0, A = n ? n.fallbackWarn : B(e.fallbackWarn) || Pe(e.fallbackWarn) ? e.fallbackWarn : !0, S = n ? n.fallbackRoot : B(e.fallbackRoot) ? e.fallbackRoot : !0, L = !!e.fallbackFormat, y = w(e.missing) ? e.missing : null, i = w(e.missing) ? Jn(e.missing) : null, d = w(e.postTranslation) ? e.postTranslation : null, h = n ? n.warnHtmlMessage : B(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, f = !!e.escapeParameter;
|
|
1940
|
+
const k = n ? n.modifiers : D(e.modifiers) ? e.modifiers : {};
|
|
1941
|
+
let b = e.pluralRules || n && n.pluralRules, T;
|
|
1942
1942
|
T = (() => {
|
|
1943
1943
|
r && Fn(null);
|
|
1944
1944
|
const u = {
|
|
1945
1945
|
version: os,
|
|
1946
|
-
locale:
|
|
1946
|
+
locale: m.value,
|
|
1947
1947
|
fallbackLocale: _.value,
|
|
1948
1948
|
messages: g.value,
|
|
1949
|
-
modifiers:
|
|
1950
|
-
pluralRules:
|
|
1949
|
+
modifiers: k,
|
|
1950
|
+
pluralRules: b,
|
|
1951
1951
|
missing: i === null ? void 0 : i,
|
|
1952
1952
|
missingWarn: N,
|
|
1953
1953
|
fallbackWarn: A,
|
|
@@ -1955,35 +1955,35 @@ function fs(e = {}) {
|
|
|
1955
1955
|
unresolving: !0,
|
|
1956
1956
|
postTranslation: d === null ? void 0 : d,
|
|
1957
1957
|
warnHtmlMessage: h,
|
|
1958
|
-
escapeParameter:
|
|
1958
|
+
escapeParameter: f,
|
|
1959
1959
|
messageResolver: e.messageResolver,
|
|
1960
1960
|
messageCompiler: e.messageCompiler,
|
|
1961
1961
|
__meta: { framework: "vue" }
|
|
1962
1962
|
};
|
|
1963
|
-
u.datetimeFormats = v.value, u.numberFormats =
|
|
1963
|
+
u.datetimeFormats = v.value, u.numberFormats = O.value, u.__datetimeFormatters = D(T) ? T.__datetimeFormatters : void 0, u.__numberFormatters = D(T) ? T.__numberFormatters : void 0;
|
|
1964
1964
|
const E = Yr(u);
|
|
1965
1965
|
return r && Fn(E), E;
|
|
1966
|
-
})(), Ne(T,
|
|
1966
|
+
})(), Ne(T, m.value, _.value);
|
|
1967
1967
|
function G() {
|
|
1968
1968
|
return [
|
|
1969
|
-
|
|
1969
|
+
m.value,
|
|
1970
1970
|
_.value,
|
|
1971
1971
|
g.value,
|
|
1972
1972
|
v.value,
|
|
1973
|
-
|
|
1973
|
+
O.value
|
|
1974
1974
|
];
|
|
1975
1975
|
}
|
|
1976
1976
|
const $ = he({
|
|
1977
|
-
get: () =>
|
|
1977
|
+
get: () => m.value,
|
|
1978
1978
|
set: (u) => {
|
|
1979
|
-
|
|
1979
|
+
m.value = u, T.locale = m.value;
|
|
1980
1980
|
}
|
|
1981
1981
|
}), q = he({
|
|
1982
1982
|
get: () => _.value,
|
|
1983
1983
|
set: (u) => {
|
|
1984
|
-
_.value = u, T.fallbackLocale = _.value, Ne(T,
|
|
1984
|
+
_.value = u, T.fallbackLocale = _.value, Ne(T, m.value, u);
|
|
1985
1985
|
}
|
|
1986
|
-
}), Y = he(() => g.value), le = /* @__PURE__ */ he(() => v.value), He = /* @__PURE__ */ he(() =>
|
|
1986
|
+
}), Y = he(() => g.value), le = /* @__PURE__ */ he(() => v.value), He = /* @__PURE__ */ he(() => O.value);
|
|
1987
1987
|
function Ge() {
|
|
1988
1988
|
return w(d) ? d : null;
|
|
1989
1989
|
}
|
|
@@ -1998,39 +1998,39 @@ function fs(e = {}) {
|
|
|
1998
1998
|
}
|
|
1999
1999
|
const z = (u, E, F, W, oe, Re) => {
|
|
2000
2000
|
G();
|
|
2001
|
-
let
|
|
2001
|
+
let me;
|
|
2002
2002
|
try {
|
|
2003
|
-
as.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (T.fallbackContext = n ? xr() : void 0),
|
|
2003
|
+
as.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (T.fallbackContext = n ? xr() : void 0), me = u(T);
|
|
2004
2004
|
} finally {
|
|
2005
2005
|
__INTLIFY_PROD_DEVTOOLS__, r || (T.fallbackContext = void 0);
|
|
2006
2006
|
}
|
|
2007
2007
|
if (F !== "translate exists" && // for not `te` (e.g `t`)
|
|
2008
|
-
j(
|
|
2009
|
-
const [pt,
|
|
2008
|
+
j(me) && me === we || F === "translate exists" && !me) {
|
|
2009
|
+
const [pt, ks] = E();
|
|
2010
2010
|
return n && S ? W(n) : oe(pt);
|
|
2011
2011
|
} else {
|
|
2012
|
-
if (Re(
|
|
2013
|
-
return
|
|
2014
|
-
throw
|
|
2012
|
+
if (Re(me))
|
|
2013
|
+
return me;
|
|
2014
|
+
throw Ie(Ee.UNEXPECTED_RETURN_TYPE);
|
|
2015
2015
|
}
|
|
2016
2016
|
};
|
|
2017
2017
|
function ve(...u) {
|
|
2018
|
-
return z((E) => Reflect.apply(Yn, null, [E, ...u]), () => on(...u), "translate", (E) => Reflect.apply(E.t, E, [...u]), (E) => E, (E) =>
|
|
2018
|
+
return z((E) => Reflect.apply(Yn, null, [E, ...u]), () => on(...u), "translate", (E) => Reflect.apply(E.t, E, [...u]), (E) => E, (E) => I(E));
|
|
2019
2019
|
}
|
|
2020
2020
|
function Le(...u) {
|
|
2021
2021
|
const [E, F, W] = u;
|
|
2022
2022
|
if (W && !P(W))
|
|
2023
|
-
throw
|
|
2023
|
+
throw Ie(Ee.INVALID_ARGUMENT);
|
|
2024
2024
|
return ve(E, F, K({ resolvedMessage: !0 }, W || {}));
|
|
2025
2025
|
}
|
|
2026
2026
|
function xe(...u) {
|
|
2027
|
-
return z((E) => Reflect.apply(Hn, null, [E, ...u]), () => sn(...u), "datetime format", (E) => Reflect.apply(E.d, E, [...u]), () => Mn, (E) =>
|
|
2027
|
+
return z((E) => Reflect.apply(Hn, null, [E, ...u]), () => sn(...u), "datetime format", (E) => Reflect.apply(E.d, E, [...u]), () => Mn, (E) => I(E));
|
|
2028
2028
|
}
|
|
2029
2029
|
function Ye(...u) {
|
|
2030
|
-
return z((E) => Reflect.apply(Vn, null, [E, ...u]), () => an(...u), "number format", (E) => Reflect.apply(E.n, E, [...u]), () => Mn, (E) =>
|
|
2030
|
+
return z((E) => Reflect.apply(Vn, null, [E, ...u]), () => an(...u), "number format", (E) => Reflect.apply(E.n, E, [...u]), () => Mn, (E) => I(E));
|
|
2031
2031
|
}
|
|
2032
2032
|
function je(u) {
|
|
2033
|
-
return u.map((E) =>
|
|
2033
|
+
return u.map((E) => I(E) || j(E) || B(E) ? jn(String(E)) : E);
|
|
2034
2034
|
}
|
|
2035
2035
|
const Ke = {
|
|
2036
2036
|
normalize: je,
|
|
@@ -2050,25 +2050,25 @@ function fs(e = {}) {
|
|
|
2050
2050
|
}, () => on(...u), "translate", (E) => E[cn](...u), (E) => [jn(E)], (E) => x(E));
|
|
2051
2051
|
}
|
|
2052
2052
|
function ye(...u) {
|
|
2053
|
-
return z((E) => Reflect.apply(Vn, null, [E, ...u]), () => an(...u), "number format", (E) => E[un](...u), Xn, (E) =>
|
|
2053
|
+
return z((E) => Reflect.apply(Vn, null, [E, ...u]), () => an(...u), "number format", (E) => E[un](...u), Xn, (E) => I(E) || x(E));
|
|
2054
2054
|
}
|
|
2055
2055
|
function $e(...u) {
|
|
2056
|
-
return z((E) => Reflect.apply(Hn, null, [E, ...u]), () => sn(...u), "datetime format", (E) => E[ln](...u), Xn, (E) =>
|
|
2056
|
+
return z((E) => Reflect.apply(Hn, null, [E, ...u]), () => sn(...u), "datetime format", (E) => E[ln](...u), Xn, (E) => I(E) || x(E));
|
|
2057
2057
|
}
|
|
2058
2058
|
function Je(u) {
|
|
2059
|
-
|
|
2059
|
+
b = u, T.pluralRules = b;
|
|
2060
2060
|
}
|
|
2061
2061
|
function qe(u, E) {
|
|
2062
2062
|
return z(() => {
|
|
2063
2063
|
if (!u)
|
|
2064
2064
|
return !1;
|
|
2065
|
-
const F =
|
|
2066
|
-
return de(oe) || J(oe) ||
|
|
2065
|
+
const F = I(E) ? E : m.value, W = ue(F), oe = T.messageResolver(W, u);
|
|
2066
|
+
return de(oe) || J(oe) || I(oe);
|
|
2067
2067
|
}, () => [u], "translate exists", (F) => Reflect.apply(F.te, F, [u, E]), us, (F) => B(F));
|
|
2068
2068
|
}
|
|
2069
2069
|
function Qe(u) {
|
|
2070
2070
|
let E = null;
|
|
2071
|
-
const F = zn(T, _.value,
|
|
2071
|
+
const F = zn(T, _.value, m.value);
|
|
2072
2072
|
for (let W = 0; W < F.length; W++) {
|
|
2073
2073
|
const oe = g.value[F[W]] || {}, Re = T.messageResolver(oe, u);
|
|
2074
2074
|
if (Re != null) {
|
|
@@ -2089,7 +2089,7 @@ function fs(e = {}) {
|
|
|
2089
2089
|
if (c) {
|
|
2090
2090
|
const F = { [u]: E };
|
|
2091
2091
|
for (const W in F)
|
|
2092
|
-
Q(F, W) &&
|
|
2092
|
+
Q(F, W) && Oe(F[W]);
|
|
2093
2093
|
E = F[u];
|
|
2094
2094
|
}
|
|
2095
2095
|
g.value[u] = E, T.messages = g.value;
|
|
@@ -2099,7 +2099,7 @@ function fs(e = {}) {
|
|
|
2099
2099
|
const F = { [u]: E };
|
|
2100
2100
|
if (c)
|
|
2101
2101
|
for (const W in F)
|
|
2102
|
-
Q(F, W) &&
|
|
2102
|
+
Q(F, W) && Oe(F[W]);
|
|
2103
2103
|
E = F[u], De(E, g.value[u]), T.messages = g.value;
|
|
2104
2104
|
}
|
|
2105
2105
|
function Ze(u) {
|
|
@@ -2112,18 +2112,18 @@ function fs(e = {}) {
|
|
|
2112
2112
|
v.value[u] = K(v.value[u] || {}, E), T.datetimeFormats = v.value, Gn(T, u, E);
|
|
2113
2113
|
}
|
|
2114
2114
|
function p(u) {
|
|
2115
|
-
return
|
|
2115
|
+
return O.value[u] || {};
|
|
2116
2116
|
}
|
|
2117
2117
|
function R(u, E) {
|
|
2118
|
-
|
|
2118
|
+
O.value[u] = E, T.numberFormats = O.value, Wn(T, u, E);
|
|
2119
2119
|
}
|
|
2120
2120
|
function V(u, E) {
|
|
2121
|
-
|
|
2121
|
+
O.value[u] = K(O.value[u] || {}, E), T.numberFormats = O.value, Wn(T, u, E);
|
|
2122
2122
|
}
|
|
2123
|
-
$n++, n &&
|
|
2124
|
-
l && (
|
|
2125
|
-
}),
|
|
2126
|
-
l && (_.value = u, T.fallbackLocale = u, Ne(T,
|
|
2123
|
+
$n++, n && On && (In(n.locale, (u) => {
|
|
2124
|
+
l && (m.value = u, T.locale = u, Ne(T, m.value, _.value));
|
|
2125
|
+
}), In(n.fallbackLocale, (u) => {
|
|
2126
|
+
l && (_.value = u, T.fallbackLocale = u, Ne(T, m.value, _.value));
|
|
2127
2127
|
}));
|
|
2128
2128
|
const C = {
|
|
2129
2129
|
id: $n,
|
|
@@ -2133,17 +2133,17 @@ function fs(e = {}) {
|
|
|
2133
2133
|
return l;
|
|
2134
2134
|
},
|
|
2135
2135
|
set inheritLocale(u) {
|
|
2136
|
-
l = u, u && n && (
|
|
2136
|
+
l = u, u && n && (m.value = n.locale.value, _.value = n.fallbackLocale.value, Ne(T, m.value, _.value));
|
|
2137
2137
|
},
|
|
2138
2138
|
get availableLocales() {
|
|
2139
2139
|
return Object.keys(g.value).sort();
|
|
2140
2140
|
},
|
|
2141
2141
|
messages: Y,
|
|
2142
2142
|
get modifiers() {
|
|
2143
|
-
return
|
|
2143
|
+
return k;
|
|
2144
2144
|
},
|
|
2145
2145
|
get pluralRules() {
|
|
2146
|
-
return
|
|
2146
|
+
return b || {};
|
|
2147
2147
|
},
|
|
2148
2148
|
get isGlobal() {
|
|
2149
2149
|
return r;
|
|
@@ -2179,10 +2179,10 @@ function fs(e = {}) {
|
|
|
2179
2179
|
h = u, T.warnHtmlMessage = u;
|
|
2180
2180
|
},
|
|
2181
2181
|
get escapeParameter() {
|
|
2182
|
-
return
|
|
2182
|
+
return f;
|
|
2183
2183
|
},
|
|
2184
2184
|
set escapeParameter(u) {
|
|
2185
|
-
|
|
2185
|
+
f = u, T.escapeParameter = u;
|
|
2186
2186
|
},
|
|
2187
2187
|
t: ve,
|
|
2188
2188
|
getLocaleMessage: ue,
|
|
@@ -2214,7 +2214,7 @@ const Nn = {
|
|
|
2214
2214
|
type: Object
|
|
2215
2215
|
}
|
|
2216
2216
|
};
|
|
2217
|
-
function
|
|
2217
|
+
function fs({ slots: e }, n) {
|
|
2218
2218
|
return n.length === 1 && n[0] === "default" ? (e.default ? e.default() : []).reduce((r, c) => [
|
|
2219
2219
|
...r,
|
|
2220
2220
|
// prettier-ignore
|
|
@@ -2224,7 +2224,7 @@ function ms({ slots: e }, n) {
|
|
|
2224
2224
|
return c && (t[r] = c()), t;
|
|
2225
2225
|
}, U());
|
|
2226
2226
|
}
|
|
2227
|
-
function
|
|
2227
|
+
function mt() {
|
|
2228
2228
|
return Qn;
|
|
2229
2229
|
}
|
|
2230
2230
|
K({
|
|
@@ -2238,22 +2238,22 @@ K({
|
|
|
2238
2238
|
}
|
|
2239
2239
|
}, Nn);
|
|
2240
2240
|
function ps(e) {
|
|
2241
|
-
return x(e) && !
|
|
2241
|
+
return x(e) && !I(e[0]);
|
|
2242
2242
|
}
|
|
2243
|
-
function
|
|
2243
|
+
function ft(e, n, t, r) {
|
|
2244
2244
|
const { slots: c, attrs: o } = n;
|
|
2245
2245
|
return () => {
|
|
2246
2246
|
const l = { part: !0 };
|
|
2247
|
-
let
|
|
2248
|
-
e.locale && (l.locale = e.locale),
|
|
2249
|
-
const _ = r(e.value, l,
|
|
2247
|
+
let m = U();
|
|
2248
|
+
e.locale && (l.locale = e.locale), I(e.format) ? l.key = e.format : P(e.format) && (I(e.format.key) && (l.key = e.format.key), m = Object.keys(e.format).reduce((N, A) => t.includes(A) ? K(U(), N, { [A]: e.format[A] }) : N, U()));
|
|
2249
|
+
const _ = r(e.value, l, m);
|
|
2250
2250
|
let g = [l.key];
|
|
2251
2251
|
x(_) ? g = _.map((N, A) => {
|
|
2252
2252
|
const S = c[N.type], L = S ? S({ [N.type]: N.value, index: A, parts: _ }) : [N.value];
|
|
2253
2253
|
return ps(L) && (L[0].key = `${N.type}-${A}`), L;
|
|
2254
|
-
}) :
|
|
2255
|
-
const v = K(U(), o),
|
|
2256
|
-
return qn(
|
|
2254
|
+
}) : I(_) && (g = [_]);
|
|
2255
|
+
const v = K(U(), o), O = I(e.tag) || P(e.tag) ? e.tag : mt();
|
|
2256
|
+
return qn(O, v, g);
|
|
2257
2257
|
};
|
|
2258
2258
|
}
|
|
2259
2259
|
K({
|
|
@@ -2275,12 +2275,12 @@ K({
|
|
|
2275
2275
|
}
|
|
2276
2276
|
}, Nn);
|
|
2277
2277
|
const ds = /* @__PURE__ */ ie("global-vue-i18n");
|
|
2278
|
-
function
|
|
2279
|
-
const n =
|
|
2278
|
+
function bn(e = {}) {
|
|
2279
|
+
const n = mn();
|
|
2280
2280
|
if (n == null)
|
|
2281
|
-
throw
|
|
2281
|
+
throw Ie(Ee.MUST_BE_CALL_SETUP_TOP);
|
|
2282
2282
|
if (!n.isCE && n.appContext.app != null && !n.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2283
|
-
throw
|
|
2283
|
+
throw Ie(Ee.NOT_INSTALLED);
|
|
2284
2284
|
const t = Es(n), r = Ts(t), c = _t(n), o = gs(e, c);
|
|
2285
2285
|
if (o === "global")
|
|
2286
2286
|
return ls(r, e, c), r;
|
|
@@ -2289,17 +2289,17 @@ function kn(e = {}) {
|
|
|
2289
2289
|
return _ == null && (_ = r), _;
|
|
2290
2290
|
}
|
|
2291
2291
|
const l = t;
|
|
2292
|
-
let
|
|
2293
|
-
if (
|
|
2292
|
+
let m = l.__getInstance(n);
|
|
2293
|
+
if (m == null) {
|
|
2294
2294
|
const _ = K({}, e);
|
|
2295
|
-
"__i18n" in c && (_.__i18n = c.__i18n), r && (_.__root = r),
|
|
2295
|
+
"__i18n" in c && (_.__i18n = c.__i18n), r && (_.__root = r), m = ms(_), l.__composerExtend && (m[_n] = l.__composerExtend(m)), bs(l, n, m), l.__setInstance(n, m);
|
|
2296
2296
|
}
|
|
2297
|
-
return
|
|
2297
|
+
return m;
|
|
2298
2298
|
}
|
|
2299
2299
|
function Es(e) {
|
|
2300
2300
|
const n = dt(e.isCE ? ds : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
2301
2301
|
if (!n)
|
|
2302
|
-
throw
|
|
2302
|
+
throw Ie(e.isCE ? Ee.NOT_INSTALLED_WITH_PROVIDE : Ee.UNEXPECTED_ERROR);
|
|
2303
2303
|
return n;
|
|
2304
2304
|
}
|
|
2305
2305
|
function gs(e, n) {
|
|
@@ -2317,8 +2317,8 @@ function hs(e, n, t = !1) {
|
|
|
2317
2317
|
if (e.mode === "composition")
|
|
2318
2318
|
r = l.__getInstance(o);
|
|
2319
2319
|
else if (__VUE_I18N_LEGACY_API__) {
|
|
2320
|
-
const
|
|
2321
|
-
|
|
2320
|
+
const m = l.__getInstance(o);
|
|
2321
|
+
m != null && (r = m.__composer, t && r && !r[lt] && (r = null));
|
|
2322
2322
|
}
|
|
2323
2323
|
if (r != null || c === o)
|
|
2324
2324
|
break;
|
|
@@ -2329,7 +2329,7 @@ function hs(e, n, t = !1) {
|
|
|
2329
2329
|
function Ns(e, n = !1) {
|
|
2330
2330
|
return e == null ? null : n && e.vnode.ctx || e.parent;
|
|
2331
2331
|
}
|
|
2332
|
-
function
|
|
2332
|
+
function bs(e, n, t) {
|
|
2333
2333
|
Tt(() => {
|
|
2334
2334
|
}, n), ht(() => {
|
|
2335
2335
|
const r = t;
|
|
@@ -2347,5 +2347,5 @@ if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
|
2347
2347
|
e.__INTLIFY__ = !0, Nr(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
2348
2348
|
}
|
|
2349
2349
|
export {
|
|
2350
|
-
|
|
2350
|
+
bn as u
|
|
2351
2351
|
};
|