@feedmepos/mf-inventory-portal 1.4.1-dev.1 → 1.4.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-ChJEzu4r.js → App-D8p5pMar.js} +5 -5
- package/dist/{ApprovalView-DE7cizNA.js → ApprovalView-B6WmrP3R.js} +7 -7
- package/dist/{BindingsDialog-BsMtvOJG.js → BindingsDialog-DAG2toHR.js} +2 -2
- package/dist/{BindingsPicker-Cqm2FCk4.js → BindingsPicker-CPbNuwFq.js} +2 -2
- package/dist/{BindingsTable-DnmlqSXV.js → BindingsTable-Hkkel0vq.js} +3 -3
- package/dist/{ClosingDraftView-DCo7R5X_.js → ClosingDraftView-JCtS2MZa.js} +15 -15
- package/dist/{ClosingHistoryView-B8pvoz_L.js → ClosingHistoryView-D7GacAqj.js} +5 -5
- package/dist/{ClosingTemplateView-BhWMZskM.js → ClosingTemplateView-DqpbjHK2.js} +14 -14
- package/dist/{DefaultView-7L4zg3pD.js → DefaultView-BSm6fE5w.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-BJUAI20p.js → DeliveryOrderPrintPreview-DFj56iJk.js} +2 -2
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CZz44xPT.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CaVUl6v3.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D2xaJ_fT.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-FunJ5ZX5.js} +2 -2
- package/dist/{FmMultiselectDialog-CSlbhVxn.js → FmMultiselectDialog-BE2Tqm4H.js} +1 -1
- package/dist/{FmMultiselectDialog-CPt0eMqz.js → FmMultiselectDialog-DpekFj8a.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DeFbqEt_.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Bt_kCIFn.js} +4 -4
- package/dist/{ImportView-DDq7-EqO.js → ImportView-CAcUO9Pv.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-TLC_uZ1L.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-0Abq7FDN.js} +1 -1
- package/dist/{IngredientGroupView-BOPm59h1.js → IngredientGroupView-CeUfykez.js} +5 -5
- package/dist/{IngredientsView-Drxqdl5C.js → IngredientsView-Cdhgw3Tw.js} +15 -15
- package/dist/{IntegrationExplorerView-ClolIlZJ.js → IntegrationExplorerView-BioiObpU.js} +5 -5
- package/dist/{IntegrationView-BhsxOMny.js → IntegrationView-BHjOvMpX.js} +13 -13
- package/dist/{InventoryBindingForm-DSmmb2Re.js → InventoryBindingForm-D892WEqV.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bs1WRSC4.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BMfmKcz8.js} +5 -5
- package/dist/{InventoryBindingSummary-DwmmGqLA.js → InventoryBindingSummary-DOGWF0fo.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-cBTXwRyT.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B-dhMJ0F.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-WgbXX2to.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CKuIWTXZ.js} +1 -1
- package/dist/{PublishView-CjIwzQ1D.js → PublishView-Dh6OiaG1.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-D14UaMbm.js → PurchaseOrderPrintPreview-Cpme08gm.js} +2 -2
- package/dist/{ReceiveRequestView-C5s6H1ly.js → ReceiveRequestView-Dldwu3-H.js} +25 -25
- package/dist/{RecipeView-BWlgNjqM.js → RecipeView-gkZuFdCP.js} +17 -17
- package/dist/{SettingsView-BiaJS0Qs.js → SettingsView-wOy_OATI.js} +4 -4
- package/dist/{StockView-DzdW3saV.js → StockView-DeLcyQrC.js} +19 -19
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CziwNGpm.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-C2Jax3tb.js} +1 -1
- package/dist/{SupplierView-CEH1mh4O.js → SupplierView-Bf2AW8JH.js} +12 -12
- package/dist/{SurchargeView-DLL1vb1m.js → SurchargeView-CJtg87ol.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CyzJFEM1.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Bfzqxalj.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-riu5GB0x.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CEz3Yc2Z.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CdPx9jtv.js → TransferDetails.vue_vue_type_script_setup_true_lang-CcpH12aM.js} +20 -20
- package/dist/{TransferTemplateView-B1hOOEld.js → TransferTemplateView-DpWFExzQ.js} +18 -18
- package/dist/{UnitCostHistoryView-CfVLgSsg.js → UnitCostHistoryView-PEexDaAO.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-D_5MeWML.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-i8HZEphD.js} +4 -4
- package/dist/{UnitView-CNEW1ZyC.js → UnitView-BPyyMHKE.js} +7 -7
- package/dist/{WarehouseView-BAEddBqH.js → WarehouseView-BmCech19.js} +5 -5
- package/dist/{WastageTemplateView-BDDcGlH1.js → WastageTemplateView-DJOBAWKd.js} +14 -14
- package/dist/api/food-market-hub.d.ts +1 -1
- package/dist/api/inventory.d.ts +92 -92
- package/dist/api/netsuite.d.ts +67 -67
- package/dist/api/surcharge.d.ts +2 -2
- package/dist/{app-8jckOqPv.js → app-D4P-koOR.js} +31824 -31795
- package/dist/app.d.ts +24 -24
- package/dist/app.js +1 -1
- package/dist/{closing-template-DI_wHTs-.js → closing-template-CCvXzoLm.js} +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +20 -20
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +6 -6
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +11 -11
- package/dist/{date2-R--GWp3h.js → date2-XHYHbI0K.js} +1 -1
- package/dist/{dayjs.min-BLMwzZoP.js → dayjs.min-pkE_kmHZ.js} +1 -1
- package/dist/{decimal-C1gVMYNr.js → decimal-CQ7SlCe0.js} +2 -2
- package/dist/{defineDeepModel-v4CSJ0KR.js → defineDeepModel-CZDkmNol.js} +1 -1
- package/dist/{duplicate-template-B2FyWucr.js → duplicate-template-BQ0bF_MO.js} +1 -1
- package/dist/export-CDIp6ydU.js +26 -0
- package/dist/{feature-D5wDntDA.js → feature-C4zPjstX.js} +2 -2
- package/dist/{format-time-from-id-iIaeuVUR.js → format-time-from-id-D_USijTz.js} +1 -1
- package/dist/{format-unit-display-DoXOol_B.js → format-unit-display-CF6-yU7v.js} +11 -11
- package/dist/helper/xlsx.util.d.ts +9 -0
- package/dist/{import-export.helper-CRZm_4kx.js → import-export.helper-iVXMr9yw.js} +6 -6
- package/dist/{index-DvydJuBP.js → index-BIG8c4oA.js} +3 -3
- package/dist/{index-Dctf0kPG.js → index-CTNLpvtM.js} +1 -1
- package/dist/{index-BlCcDs_t.js → index-EoaZ_eFV.js} +1 -1
- package/dist/{inventory-core-dart.default-BGNoRNOu.js → inventory-core-dart.default-D6cCA8tk.js} +1 -1
- package/dist/{lodash-BGLr9-Z4.js → lodash-DR7t9CsC.js} +1 -1
- package/dist/{lz-string-BXxSHhql.js → lz-string-DgqLqrsO.js} +1 -1
- package/dist/modules/print-template/api/print-template.d.ts +3 -3
- package/dist/modules/print-template/components/PrintTemplateEditorDialog.vue.d.ts +6 -6
- package/dist/modules/print-template/store/print-template.d.ts +36 -36
- package/dist/{netsuite-QrjgLCzF.js → netsuite-ByBZj6uf.js} +55 -44
- package/dist/{number-BW3CMNw8.js → number-f4J4YlZT.js} +3 -3
- package/dist/{predefined-templates-BAl0dgvF.js → predefined-templates-BlmLhRsh.js} +1 -1
- package/dist/{purchase-order-template-BXiI76-R.js → purchase-order-template-BS94QDpg.js} +1 -1
- package/dist/{recalculationUtils-DryzcsyX.js → recalculationUtils-D0wl-tgM.js} +1 -1
- package/dist/{rules-uhOTzvDT.js → rules-Cpi5Vduo.js} +2 -2
- package/dist/{stock-DIzLmqOG.js → stock-BynB5KIH.js} +1 -1
- package/dist/{stock-CFigyCpv.js → stock-GYUDrBUF.js} +3 -3
- package/dist/stores/integration/foodmarkethub.d.ts +1 -1
- package/dist/stores/integration/netsuite.d.ts +22 -22
- package/dist/stores/inventory.d.ts +91 -91
- package/dist/stores/location.d.ts +28 -28
- package/dist/stores/stock.d.ts +3 -3
- package/dist/stores/supplier.d.ts +120 -120
- package/dist/stores/surcharge.d.ts +1 -1
- package/dist/stores/warehouse.d.ts +5 -5
- package/dist/{supplier-DnHSGzUP.js → supplier-BDpzWHvm.js} +2 -2
- package/dist/{surcharge-NTU0Whsq.js → surcharge-ztZ3mUE2.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-BTeCOYD1.js → use-ingredient-select-dialog-xx_W7OyU.js} +2 -2
- package/dist/{use-inventory-binding-dialog-C5dSHkMZ.js → use-inventory-binding-dialog-B_OV8CCL.js} +2 -2
- package/dist/{use-template-enabled-locations-Ba9BFrFN.js → use-template-enabled-locations-ByOi4t2R.js} +2 -2
- package/dist/{use-transfer-locations-D__VLxA7.js → use-transfer-locations-BOR-wq8s.js} +2 -2
- package/dist/{useHrmPermission-DMlbCSlp.js → useHrmPermission-BtXw89bp.js} +1 -1
- package/dist/{useNavigationMenu-jtnBmp0t.js → useNavigationMenu-Ds6IBfYX.js} +2 -2
- package/dist/{useSseClient-D8q23tYV.js → useSseClient-q5d7Qjrq.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +60 -60
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +4 -4
- package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +4 -4
- package/dist/views/adjustment-template/wastage-template/table.d.ts +66 -66
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +156 -156
- package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +55 -55
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +234 -234
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +8 -8
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +132 -132
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +132 -132
- package/dist/views/ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts +2 -2
- package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +1 -1
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +9 -9
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +6 -6
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +32 -32
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingAlternative.vue.d.ts +4 -4
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventorySkuBindingV2Field.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-alternative-table.d.ts +1 -1
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +8 -8
- package/dist/views/integration/components/ApplyProduct.vue.d.ts +2 -2
- package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +2 -2
- package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +2 -2
- package/dist/views/integration/components/netsuite/InventoryTransfer.vue.d.ts +4 -4
- package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +32 -32
- package/dist/views/integration/components/netsuite/PurchaseOrder.vue.d.ts +4 -4
- package/dist/views/integration/components/netsuite/TransferOrder.vue.d.ts +4 -4
- package/dist/views/integration/components/netsuite/business/AddLocationDialog.vue.d.ts +12 -12
- package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +60 -60
- package/dist/views/integration-explorer/netsuite/inventoryTransfer/InventoryTransferView.vue.d.ts +4 -4
- package/dist/views/integration-explorer/netsuite/orders/OrdersView.vue.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +152 -152
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +32 -32
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +64 -64
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +16 -16
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +221 -221
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1503 -1503
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1758 -1758
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +6 -6
- package/dist/views/recipe/composables/use-recipe-bulk-editor.d.ts +90 -90
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +26 -26
- package/dist/views/stock/components/dialog/AmendAdjustmentForm.vue.d.ts +10 -10
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +10 -10
- package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +2 -2
- package/dist/views/supplier/composables/use-supplier-table.d.ts +5 -5
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +122 -122
- package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +18 -18
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +32 -32
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +16 -16
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +16 -16
- package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +48 -48
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +757 -757
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +755 -755
- package/dist/views/unit/components/unit-form/UnitForm.vue.d.ts +2 -2
- package/dist/views/unit/components/unit-summary/UnitSummary.vue.d.ts +2 -2
- package/dist/views/unit/composables/use-unit-table.d.ts +1 -1
- package/dist/views/unit-cost-history/composables/use-unit-cost-history.d.ts +3 -3
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +10 -10
- package/dist/{vue-i18n-8-OMxHzQ.js → vue-i18n-C35dl24s.js} +302 -302
- package/dist/{xlsx-BFjtlsJV.js → xlsx-CzLrFB_A.js} +1 -1
- package/dist/xlsx.util-osyDkxYO.js +101 -0
- package/package.json +5 -5
- package/dist/export-rvaYes9_.js +0 -25
- package/dist/xlsx.util-0LMGvDYM.js +0 -78
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as pn, h as qn, getCurrentInstance as dn, inject as ft, onMounted as Et, onUnmounted as gt, computed as
|
|
1
|
+
import { defineComponent as pn, h as qn, getCurrentInstance as dn, inject as ft, onMounted as Et, onUnmounted as gt, computed as ve, watch as Nn, Fragment as Qn, ref as Tt, shallowRef as vt, createVNode as ht, Text as kt } 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 bn = typeof window < "u", ie = (e, n = !1) => n ? Symbol.for(e) : Symbol(e), Ot = (e, n, t) => Nt({ l: e, k: n, s: t }), Nt = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), Y = (e) => typeof e == "number" && isFinite(e), bt = (e) => mn(e) === "[object Date]", Pe = (e) => mn(e) === "[object RegExp]", Me = (e) => C(e) && Object.keys(e).length === 0, K = Object.assign, It = Object.create, M = (e = null) => It(e);
|
|
9
9
|
let In;
|
|
10
10
|
const ce = () => In || (In = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : M());
|
|
11
11
|
function Rn(e) {
|
|
@@ -15,7 +15,7 @@ const Rt = Object.prototype.hasOwnProperty;
|
|
|
15
15
|
function Q(e, n) {
|
|
16
16
|
return Rt.call(e, n);
|
|
17
17
|
}
|
|
18
|
-
const j = Array.isArray, w = (e) => typeof e == "function",
|
|
18
|
+
const j = Array.isArray, w = (e) => typeof e == "function", b = (e) => typeof e == "string", W = (e) => typeof e == "boolean", P = (e) => e !== null && typeof e == "object", Lt = (e) => P(e) && w(e.then) && w(e.catch), Zn = Object.prototype.toString, mn = (e) => Zn.call(e), C = (e) => mn(e) === "[object Object]", At = (e) => e == null ? "" : j(e) || C(e) && e.toString === Zn ? JSON.stringify(e, null, 2) : String(e);
|
|
19
19
|
function fn(e, n = "") {
|
|
20
20
|
return e.reduce((t, r, c) => c === 0 ? t + r : t + n + r, "");
|
|
21
21
|
}
|
|
@@ -74,37 +74,37 @@ const ee = " ", Pt = "\r", X = `
|
|
|
74
74
|
function Ht(e) {
|
|
75
75
|
const n = e;
|
|
76
76
|
let t = 0, r = 1, c = 1, o = 0;
|
|
77
|
-
const _ = (
|
|
77
|
+
const _ = (T) => n[T] === Pt && n[T + 1] === X, p = (T) => n[T] === X, l = (T) => n[T] === Mt, g = (T) => n[T] === Ut, I = (T) => _(T) || p(T) || l(T) || g(T), N = () => t, h = () => r, A = () => c, D = () => o, y = (T) => _(T) || l(T) || g(T) ? X : n[T], R = () => y(t), i = () => y(t + o);
|
|
78
78
|
function f() {
|
|
79
79
|
return o = 0, I(t) && (r++, c = 0), _(t) && t++, t++, c++, n[t];
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function v() {
|
|
82
82
|
return _(t + o) && o++, o++, n[t + o];
|
|
83
83
|
}
|
|
84
84
|
function d() {
|
|
85
85
|
t = 0, r = 1, c = 1, o = 0;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
o =
|
|
87
|
+
function O(T = 0) {
|
|
88
|
+
o = T;
|
|
89
89
|
}
|
|
90
90
|
function k() {
|
|
91
|
-
const
|
|
92
|
-
for (;
|
|
91
|
+
const T = t + o;
|
|
92
|
+
for (; T !== t; )
|
|
93
93
|
f();
|
|
94
94
|
o = 0;
|
|
95
95
|
}
|
|
96
96
|
return {
|
|
97
|
-
index:
|
|
98
|
-
line:
|
|
97
|
+
index: N,
|
|
98
|
+
line: h,
|
|
99
99
|
column: A,
|
|
100
100
|
peekOffset: D,
|
|
101
101
|
charAt: y,
|
|
102
102
|
currentChar: R,
|
|
103
103
|
currentPeek: i,
|
|
104
104
|
next: f,
|
|
105
|
-
peek:
|
|
105
|
+
peek: v,
|
|
106
106
|
reset: d,
|
|
107
|
-
resetPeek:
|
|
107
|
+
resetPeek: O,
|
|
108
108
|
skipToPeek: k
|
|
109
109
|
};
|
|
110
110
|
}
|
|
@@ -123,7 +123,7 @@ function Gt(e, n = {}) {
|
|
|
123
123
|
inLinked: !1,
|
|
124
124
|
text: ""
|
|
125
125
|
}, g = () => l, { onError: I } = n;
|
|
126
|
-
function
|
|
126
|
+
function N(s, a, m, ...L) {
|
|
127
127
|
const B = g();
|
|
128
128
|
if (a.column += m, a.offset += m, I) {
|
|
129
129
|
const S = t ? tn(B.startLoc, a) : null, u = He(s, S, {
|
|
@@ -133,18 +133,18 @@ function Gt(e, n = {}) {
|
|
|
133
133
|
I(u);
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function h(s, a, m) {
|
|
137
137
|
s.endLoc = o(), s.currentType = a;
|
|
138
138
|
const L = { type: a };
|
|
139
139
|
return t && (L.loc = tn(s.startLoc, s.endLoc)), m != null && (L.value = m), L;
|
|
140
140
|
}
|
|
141
|
-
const A = (s) =>
|
|
141
|
+
const A = (s) => h(
|
|
142
142
|
s,
|
|
143
143
|
13
|
|
144
144
|
/* TokenTypes.EOF */
|
|
145
145
|
);
|
|
146
146
|
function D(s, a) {
|
|
147
|
-
return s.currentChar() === a ? (s.next(), a) : (
|
|
147
|
+
return s.currentChar() === a ? (s.next(), a) : (N(U.EXPECTED_TOKEN, o(), 0, a), "");
|
|
148
148
|
}
|
|
149
149
|
function y(s) {
|
|
150
150
|
let a = "";
|
|
@@ -170,7 +170,7 @@ function Gt(e, n = {}) {
|
|
|
170
170
|
const a = s.charCodeAt(0);
|
|
171
171
|
return a >= 48 && a <= 57;
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function v(s, a) {
|
|
174
174
|
const { currentType: m } = a;
|
|
175
175
|
if (m !== 2)
|
|
176
176
|
return !1;
|
|
@@ -186,7 +186,7 @@ function Gt(e, n = {}) {
|
|
|
186
186
|
const L = s.currentPeek() === "-" ? s.peek() : s.currentPeek(), B = f(L);
|
|
187
187
|
return s.resetPeek(), B;
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function O(s, a) {
|
|
190
190
|
const { currentType: m } = a;
|
|
191
191
|
if (m !== 2)
|
|
192
192
|
return !1;
|
|
@@ -202,7 +202,7 @@ function Gt(e, n = {}) {
|
|
|
202
202
|
const L = s.currentPeek() === ".";
|
|
203
203
|
return s.resetPeek(), L;
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function T(s, a) {
|
|
206
206
|
const { currentType: m } = a;
|
|
207
207
|
if (m !== 8)
|
|
208
208
|
return !1;
|
|
@@ -313,23 +313,23 @@ function Gt(e, n = {}) {
|
|
|
313
313
|
let a = "", m = "";
|
|
314
314
|
for (; a = Be(s); )
|
|
315
315
|
m += a;
|
|
316
|
-
return s.currentChar() === re &&
|
|
316
|
+
return s.currentChar() === re && N(U.UNTERMINATED_CLOSING_BRACE, o(), 0), m;
|
|
317
317
|
}
|
|
318
318
|
function Ye(s) {
|
|
319
319
|
R(s);
|
|
320
320
|
let a = "";
|
|
321
|
-
return s.currentChar() === "-" ? (s.next(), a += `-${Re(s)}`) : a += Re(s), s.currentChar() === re &&
|
|
321
|
+
return s.currentChar() === "-" ? (s.next(), a += `-${Re(s)}`) : a += Re(s), s.currentChar() === re && N(U.UNTERMINATED_CLOSING_BRACE, o(), 0), a;
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function On(s) {
|
|
324
324
|
return s !== Ln && s !== X;
|
|
325
325
|
}
|
|
326
326
|
function Ke(s) {
|
|
327
327
|
R(s), D(s, "'");
|
|
328
328
|
let a = "", m = "";
|
|
329
|
-
for (; a = x(s,
|
|
329
|
+
for (; a = x(s, On); )
|
|
330
330
|
a === "\\" ? m += Xe(s) : m += a;
|
|
331
331
|
const L = s.currentChar();
|
|
332
|
-
return L === X || L === re ? (
|
|
332
|
+
return L === X || L === re ? (N(U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), L === X && (s.next(), D(s, "'")), m) : (D(s, "'"), m);
|
|
333
333
|
}
|
|
334
334
|
function Xe(s) {
|
|
335
335
|
const a = s.currentChar();
|
|
@@ -342,7 +342,7 @@ function Gt(e, n = {}) {
|
|
|
342
342
|
case "U":
|
|
343
343
|
return Le(s, a, 6);
|
|
344
344
|
default:
|
|
345
|
-
return
|
|
345
|
+
return N(U.UNKNOWN_ESCAPE_SEQUENCE, o(), 0, a), "";
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
function Le(s, a, m) {
|
|
@@ -351,7 +351,7 @@ function Gt(e, n = {}) {
|
|
|
351
351
|
for (let B = 0; B < m; B++) {
|
|
352
352
|
const S = Ie(s);
|
|
353
353
|
if (!S) {
|
|
354
|
-
|
|
354
|
+
N(U.INVALID_UNICODE_ESCAPE_SEQUENCE, o(), 0, `\\${a}${L}${s.currentChar()}`);
|
|
355
355
|
break;
|
|
356
356
|
}
|
|
357
357
|
L += S;
|
|
@@ -394,35 +394,35 @@ function Gt(e, n = {}) {
|
|
|
394
394
|
let m = null;
|
|
395
395
|
switch (s.currentChar()) {
|
|
396
396
|
case "{":
|
|
397
|
-
return a.braceNest >= 1 &&
|
|
397
|
+
return a.braceNest >= 1 && N(U.NOT_ALLOW_NEST_PLACEHOLDER, o(), 0), s.next(), m = h(
|
|
398
398
|
a,
|
|
399
399
|
2,
|
|
400
400
|
"{"
|
|
401
401
|
/* TokenChars.BraceLeft */
|
|
402
402
|
), R(s), a.braceNest++, m;
|
|
403
403
|
case "}":
|
|
404
|
-
return a.braceNest > 0 && a.currentType === 2 &&
|
|
404
|
+
return a.braceNest > 0 && a.currentType === 2 && N(U.EMPTY_PLACEHOLDER, o(), 0), s.next(), m = h(
|
|
405
405
|
a,
|
|
406
406
|
3,
|
|
407
407
|
"}"
|
|
408
408
|
/* TokenChars.BraceRight */
|
|
409
409
|
), a.braceNest--, a.braceNest > 0 && R(s), a.inLinked && a.braceNest === 0 && (a.inLinked = !1), m;
|
|
410
410
|
case "@":
|
|
411
|
-
return a.braceNest > 0 &&
|
|
411
|
+
return a.braceNest > 0 && N(U.UNTERMINATED_CLOSING_BRACE, o(), 0), m = ue(s, a) || A(a), a.braceNest = 0, m;
|
|
412
412
|
default: {
|
|
413
413
|
let B = !0, S = !0, u = !0;
|
|
414
414
|
if ($(s))
|
|
415
|
-
return a.braceNest > 0 &&
|
|
415
|
+
return a.braceNest > 0 && N(U.UNTERMINATED_CLOSING_BRACE, o(), 0), m = h(a, 1, ge(s)), a.braceNest = 0, a.inLinked = !1, m;
|
|
416
416
|
if (a.braceNest > 0 && (a.currentType === 4 || a.currentType === 5 || a.currentType === 6))
|
|
417
|
-
return
|
|
418
|
-
if (B =
|
|
419
|
-
return m =
|
|
417
|
+
return N(U.UNTERMINATED_CLOSING_BRACE, o(), 0), a.braceNest = 0, Te(s, a);
|
|
418
|
+
if (B = v(s, a))
|
|
419
|
+
return m = h(a, 4, xe(s)), R(s), m;
|
|
420
420
|
if (S = d(s, a))
|
|
421
|
-
return m =
|
|
422
|
-
if (u =
|
|
423
|
-
return m =
|
|
421
|
+
return m = h(a, 5, Ye(s)), R(s), m;
|
|
422
|
+
if (u = O(s, a))
|
|
423
|
+
return m = h(a, 6, Ke(s)), R(s), m;
|
|
424
424
|
if (!B && !S && !u)
|
|
425
|
-
return m =
|
|
425
|
+
return m = h(a, 12, Je(s)), N(U.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, m.value), R(s), m;
|
|
426
426
|
break;
|
|
427
427
|
}
|
|
428
428
|
}
|
|
@@ -432,33 +432,33 @@ function Gt(e, n = {}) {
|
|
|
432
432
|
const { currentType: m } = a;
|
|
433
433
|
let L = null;
|
|
434
434
|
const B = s.currentChar();
|
|
435
|
-
switch ((m === 7 || m === 8 || m === 11 || m === 9) && (B === X || B === ee) &&
|
|
435
|
+
switch ((m === 7 || m === 8 || m === 11 || m === 9) && (B === X || B === ee) && N(U.INVALID_LINKED_FORMAT, o(), 0), B) {
|
|
436
436
|
case "@":
|
|
437
|
-
return s.next(), L =
|
|
437
|
+
return s.next(), L = h(
|
|
438
438
|
a,
|
|
439
439
|
7,
|
|
440
440
|
"@"
|
|
441
441
|
/* TokenChars.LinkedAlias */
|
|
442
442
|
), a.inLinked = !0, L;
|
|
443
443
|
case ".":
|
|
444
|
-
return R(s), s.next(),
|
|
444
|
+
return R(s), s.next(), h(
|
|
445
445
|
a,
|
|
446
446
|
8,
|
|
447
447
|
"."
|
|
448
448
|
/* TokenChars.LinkedDot */
|
|
449
449
|
);
|
|
450
450
|
case ":":
|
|
451
|
-
return R(s), s.next(),
|
|
451
|
+
return R(s), s.next(), h(
|
|
452
452
|
a,
|
|
453
453
|
9,
|
|
454
454
|
":"
|
|
455
455
|
/* TokenChars.LinkedDelimiter */
|
|
456
456
|
);
|
|
457
457
|
default:
|
|
458
|
-
return $(s) ? (L =
|
|
458
|
+
return $(s) ? (L = h(a, 1, ge(s)), a.braceNest = 0, a.inLinked = !1, L) : k(s, a) || F(s, a) ? (R(s), ue(s, a)) : T(s, a) ? (R(s), h(a, 11, qe(s))) : G(s, a) ? (R(s), B === "{" ? le(s, a) || L : h(a, 10, Qe(s))) : (m === 7 && N(U.INVALID_LINKED_FORMAT, o(), 0), a.braceNest = 0, a.inLinked = !1, Te(s, a));
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
|
-
function
|
|
461
|
+
function Te(s, a) {
|
|
462
462
|
let m = {
|
|
463
463
|
type: 13
|
|
464
464
|
/* TokenTypes.EOF */
|
|
@@ -471,7 +471,7 @@ function Gt(e, n = {}) {
|
|
|
471
471
|
case "{":
|
|
472
472
|
return le(s, a) || A(a);
|
|
473
473
|
case "}":
|
|
474
|
-
return
|
|
474
|
+
return N(U.UNBALANCED_CLOSING_BRACE, o(), 0), s.next(), h(
|
|
475
475
|
a,
|
|
476
476
|
3,
|
|
477
477
|
"}"
|
|
@@ -481,9 +481,9 @@ function Gt(e, n = {}) {
|
|
|
481
481
|
return ue(s, a) || A(a);
|
|
482
482
|
default: {
|
|
483
483
|
if ($(s))
|
|
484
|
-
return m =
|
|
484
|
+
return m = h(a, 1, ge(s)), a.braceNest = 0, a.inLinked = !1, m;
|
|
485
485
|
if (q(s))
|
|
486
|
-
return
|
|
486
|
+
return h(a, 0, je(s));
|
|
487
487
|
break;
|
|
488
488
|
}
|
|
489
489
|
}
|
|
@@ -491,11 +491,11 @@ function Gt(e, n = {}) {
|
|
|
491
491
|
}
|
|
492
492
|
function Ze() {
|
|
493
493
|
const { currentType: s, offset: a, startLoc: m, endLoc: L } = l;
|
|
494
|
-
return l.lastType = s, l.lastOffset = a, l.lastStartLoc = m, l.lastEndLoc = L, l.offset = c(), l.startLoc = o(), r.currentChar() === re ?
|
|
494
|
+
return l.lastType = s, l.lastOffset = a, l.lastStartLoc = m, l.lastEndLoc = L, l.offset = c(), l.startLoc = o(), r.currentChar() === re ? h(
|
|
495
495
|
l,
|
|
496
496
|
13
|
|
497
497
|
/* TokenTypes.EOF */
|
|
498
|
-
) :
|
|
498
|
+
) : Te(r, l);
|
|
499
499
|
}
|
|
500
500
|
return {
|
|
501
501
|
nextToken: Ze,
|
|
@@ -519,132 +519,132 @@ function Wt(e, n, t) {
|
|
|
519
519
|
}
|
|
520
520
|
function jt(e = {}) {
|
|
521
521
|
const n = e.location !== !1, { onError: t } = e;
|
|
522
|
-
function r(i, f,
|
|
522
|
+
function r(i, f, v, d, ...O) {
|
|
523
523
|
const k = i.currentPosition();
|
|
524
524
|
if (k.offset += d, k.column += d, t) {
|
|
525
|
-
const
|
|
525
|
+
const T = n ? tn(v, k) : null, F = He(f, T, {
|
|
526
526
|
domain: Bt,
|
|
527
|
-
args:
|
|
527
|
+
args: O
|
|
528
528
|
});
|
|
529
529
|
t(F);
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
|
-
function c(i, f,
|
|
532
|
+
function c(i, f, v) {
|
|
533
533
|
const d = { type: i };
|
|
534
|
-
return n && (d.start = f, d.end = f, d.loc = { start:
|
|
534
|
+
return n && (d.start = f, d.end = f, d.loc = { start: v, end: v }), d;
|
|
535
535
|
}
|
|
536
|
-
function o(i, f,
|
|
537
|
-
n && (i.end = f, i.loc && (i.loc.end =
|
|
536
|
+
function o(i, f, v, d) {
|
|
537
|
+
n && (i.end = f, i.loc && (i.loc.end = v));
|
|
538
538
|
}
|
|
539
539
|
function _(i, f) {
|
|
540
|
-
const
|
|
540
|
+
const v = i.context(), d = c(3, v.offset, v.startLoc);
|
|
541
541
|
return d.value = f, o(d, i.currentOffset(), i.currentPosition()), d;
|
|
542
542
|
}
|
|
543
543
|
function p(i, f) {
|
|
544
|
-
const
|
|
544
|
+
const v = i.context(), { lastOffset: d, lastStartLoc: O } = v, k = c(5, d, O);
|
|
545
545
|
return k.index = parseInt(f, 10), i.nextToken(), o(k, i.currentOffset(), i.currentPosition()), k;
|
|
546
546
|
}
|
|
547
547
|
function l(i, f) {
|
|
548
|
-
const
|
|
548
|
+
const v = i.context(), { lastOffset: d, lastStartLoc: O } = v, k = c(4, d, O);
|
|
549
549
|
return k.key = f, i.nextToken(), o(k, i.currentOffset(), i.currentPosition()), k;
|
|
550
550
|
}
|
|
551
551
|
function g(i, f) {
|
|
552
|
-
const
|
|
552
|
+
const v = i.context(), { lastOffset: d, lastStartLoc: O } = v, k = c(9, d, O);
|
|
553
553
|
return k.value = f.replace(Vt, Wt), i.nextToken(), o(k, i.currentOffset(), i.currentPosition()), k;
|
|
554
554
|
}
|
|
555
555
|
function I(i) {
|
|
556
|
-
const f = i.nextToken(),
|
|
557
|
-
return f.type !== 11 ? (r(i, U.UNEXPECTED_EMPTY_LINKED_MODIFIER,
|
|
556
|
+
const f = i.nextToken(), v = i.context(), { lastOffset: d, lastStartLoc: O } = v, k = c(8, d, O);
|
|
557
|
+
return f.type !== 11 ? (r(i, U.UNEXPECTED_EMPTY_LINKED_MODIFIER, v.lastStartLoc, 0), k.value = "", o(k, d, O), {
|
|
558
558
|
nextConsumeToken: f,
|
|
559
559
|
node: k
|
|
560
|
-
}) : (f.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
560
|
+
}) : (f.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, v.lastStartLoc, 0, Z(f)), k.value = f.value || "", o(k, i.currentOffset(), i.currentPosition()), {
|
|
561
561
|
node: k
|
|
562
562
|
});
|
|
563
563
|
}
|
|
564
|
-
function
|
|
565
|
-
const
|
|
564
|
+
function N(i, f) {
|
|
565
|
+
const v = i.context(), d = c(7, v.offset, v.startLoc);
|
|
566
566
|
return d.value = f, o(d, i.currentOffset(), i.currentPosition()), d;
|
|
567
567
|
}
|
|
568
|
-
function
|
|
569
|
-
const f = i.context(),
|
|
568
|
+
function h(i) {
|
|
569
|
+
const f = i.context(), v = c(6, f.offset, f.startLoc);
|
|
570
570
|
let d = i.nextToken();
|
|
571
571
|
if (d.type === 8) {
|
|
572
|
-
const
|
|
573
|
-
|
|
572
|
+
const O = I(i);
|
|
573
|
+
v.modifier = O.node, d = O.nextConsumeToken || i.nextToken();
|
|
574
574
|
}
|
|
575
575
|
switch (d.type !== 9 && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(d)), d = i.nextToken(), d.type === 2 && (d = i.nextToken()), d.type) {
|
|
576
576
|
case 10:
|
|
577
|
-
d.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(d)),
|
|
577
|
+
d.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(d)), v.key = N(i, d.value || "");
|
|
578
578
|
break;
|
|
579
579
|
case 4:
|
|
580
|
-
d.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(d)),
|
|
580
|
+
d.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(d)), v.key = l(i, d.value || "");
|
|
581
581
|
break;
|
|
582
582
|
case 5:
|
|
583
|
-
d.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(d)),
|
|
583
|
+
d.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(d)), v.key = p(i, d.value || "");
|
|
584
584
|
break;
|
|
585
585
|
case 6:
|
|
586
|
-
d.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(d)),
|
|
586
|
+
d.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(d)), v.key = g(i, d.value || "");
|
|
587
587
|
break;
|
|
588
588
|
default: {
|
|
589
589
|
r(i, U.UNEXPECTED_EMPTY_LINKED_KEY, f.lastStartLoc, 0);
|
|
590
|
-
const
|
|
591
|
-
return k.value = "", o(k,
|
|
590
|
+
const O = i.context(), k = c(7, O.offset, O.startLoc);
|
|
591
|
+
return k.value = "", o(k, O.offset, O.startLoc), v.key = k, o(v, O.offset, O.startLoc), {
|
|
592
592
|
nextConsumeToken: d,
|
|
593
|
-
node:
|
|
593
|
+
node: v
|
|
594
594
|
};
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
|
-
return o(
|
|
598
|
-
node:
|
|
597
|
+
return o(v, i.currentOffset(), i.currentPosition()), {
|
|
598
|
+
node: v
|
|
599
599
|
};
|
|
600
600
|
}
|
|
601
601
|
function A(i) {
|
|
602
|
-
const f = i.context(),
|
|
603
|
-
|
|
602
|
+
const f = i.context(), v = f.currentType === 1 ? i.currentOffset() : f.offset, d = f.currentType === 1 ? f.endLoc : f.startLoc, O = c(2, v, d);
|
|
603
|
+
O.items = [];
|
|
604
604
|
let k = null;
|
|
605
605
|
do {
|
|
606
606
|
const G = k || i.nextToken();
|
|
607
607
|
switch (k = null, G.type) {
|
|
608
608
|
case 0:
|
|
609
|
-
G.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(G)),
|
|
609
|
+
G.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(G)), O.items.push(_(i, G.value || ""));
|
|
610
610
|
break;
|
|
611
611
|
case 5:
|
|
612
|
-
G.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(G)),
|
|
612
|
+
G.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(G)), O.items.push(p(i, G.value || ""));
|
|
613
613
|
break;
|
|
614
614
|
case 4:
|
|
615
|
-
G.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(G)),
|
|
615
|
+
G.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(G)), O.items.push(l(i, G.value || ""));
|
|
616
616
|
break;
|
|
617
617
|
case 6:
|
|
618
|
-
G.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(G)),
|
|
618
|
+
G.value == null && r(i, U.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Z(G)), O.items.push(g(i, G.value || ""));
|
|
619
619
|
break;
|
|
620
620
|
case 7: {
|
|
621
|
-
const $ =
|
|
622
|
-
|
|
621
|
+
const $ = h(i);
|
|
622
|
+
O.items.push($.node), k = $.nextConsumeToken || null;
|
|
623
623
|
break;
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
626
|
} while (f.currentType !== 13 && f.currentType !== 1);
|
|
627
|
-
const
|
|
628
|
-
return o(
|
|
627
|
+
const T = f.currentType === 1 ? f.lastOffset : i.currentOffset(), F = f.currentType === 1 ? f.lastEndLoc : i.currentPosition();
|
|
628
|
+
return o(O, T, F), O;
|
|
629
629
|
}
|
|
630
|
-
function D(i, f,
|
|
631
|
-
const
|
|
630
|
+
function D(i, f, v, d) {
|
|
631
|
+
const O = i.context();
|
|
632
632
|
let k = d.items.length === 0;
|
|
633
|
-
const
|
|
634
|
-
|
|
633
|
+
const T = c(1, f, v);
|
|
634
|
+
T.cases = [], T.cases.push(d);
|
|
635
635
|
do {
|
|
636
636
|
const F = A(i);
|
|
637
|
-
k || (k = F.items.length === 0),
|
|
638
|
-
} while (
|
|
639
|
-
return k && r(i, U.MUST_HAVE_MESSAGES_IN_PLURAL,
|
|
637
|
+
k || (k = F.items.length === 0), T.cases.push(F);
|
|
638
|
+
} while (O.currentType !== 13);
|
|
639
|
+
return k && r(i, U.MUST_HAVE_MESSAGES_IN_PLURAL, v, 0), o(T, i.currentOffset(), i.currentPosition()), T;
|
|
640
640
|
}
|
|
641
641
|
function y(i) {
|
|
642
|
-
const f = i.context(), { offset:
|
|
643
|
-
return f.currentType === 13 ?
|
|
642
|
+
const f = i.context(), { offset: v, startLoc: d } = f, O = A(i);
|
|
643
|
+
return f.currentType === 13 ? O : D(i, v, d, O);
|
|
644
644
|
}
|
|
645
645
|
function R(i) {
|
|
646
|
-
const f = Gt(i, K({}, e)),
|
|
647
|
-
return n && d.loc && (d.loc.source = i), d.body = y(f), e.onCacheKey && (d.cacheKey = e.onCacheKey(i)),
|
|
646
|
+
const f = Gt(i, K({}, e)), v = f.context(), d = c(0, v.offset, v.startLoc);
|
|
647
|
+
return n && d.loc && (d.loc.source = i), d.body = y(f), e.onCacheKey && (d.cacheKey = e.onCacheKey(i)), v.currentType !== 13 && r(f, U.UNEXPECTED_LEXICAL_ANALYSIS, v.lastStartLoc, 0, i[v.offset] || ""), o(d, f.currentOffset(), f.currentPosition()), d;
|
|
648
648
|
}
|
|
649
649
|
return { parse: R };
|
|
650
650
|
}
|
|
@@ -808,11 +808,11 @@ function Xt(e, n) {
|
|
|
808
808
|
const f = i ? c : "";
|
|
809
809
|
g(o ? f + " ".repeat(R) : f);
|
|
810
810
|
}
|
|
811
|
-
function
|
|
811
|
+
function N(R = !0) {
|
|
812
812
|
const i = ++p.indentLevel;
|
|
813
813
|
R && I(i);
|
|
814
814
|
}
|
|
815
|
-
function
|
|
815
|
+
function h(R = !0) {
|
|
816
816
|
const i = --p.indentLevel;
|
|
817
817
|
R && I(i);
|
|
818
818
|
}
|
|
@@ -822,8 +822,8 @@ function Xt(e, n) {
|
|
|
822
822
|
return {
|
|
823
823
|
context: l,
|
|
824
824
|
push: g,
|
|
825
|
-
indent:
|
|
826
|
-
deindent:
|
|
825
|
+
indent: N,
|
|
826
|
+
deindent: h,
|
|
827
827
|
newline: A,
|
|
828
828
|
helper: (R) => `_${R}`,
|
|
829
829
|
needIndent: () => p.needIndent
|
|
@@ -911,7 +911,7 @@ function me(e, n) {
|
|
|
911
911
|
}
|
|
912
912
|
}
|
|
913
913
|
const Zt = (e, n = {}) => {
|
|
914
|
-
const t =
|
|
914
|
+
const t = b(n.mode) ? n.mode : "normal", r = b(n.filename) ? n.filename : "message.intl", c = !!n.sourceMap, o = n.breakLineCode != null ? n.breakLineCode : t === "arrow" ? ";" : `
|
|
915
915
|
`, _ = n.needIndent ? n.needIndent : t !== "arrow", p = e.helpers || [], l = Xt(e, {
|
|
916
916
|
mode: t,
|
|
917
917
|
filename: r,
|
|
@@ -919,7 +919,7 @@ const Zt = (e, n = {}) => {
|
|
|
919
919
|
breakLineCode: o,
|
|
920
920
|
needIndent: _
|
|
921
921
|
});
|
|
922
|
-
l.push(t === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), l.indent(_), p.length > 0 && (l.push(`const { ${fn(p.map((
|
|
922
|
+
l.push(t === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), l.indent(_), p.length > 0 && (l.push(`const { ${fn(p.map((N) => `${N}: _${N}`), ", ")} } = ctx`), l.newline()), l.push("return "), me(l, e), l.deindent(_), l.push("}"), delete e.helpers;
|
|
923
923
|
const { code: g, map: I } = l.context();
|
|
924
924
|
return {
|
|
925
925
|
ast: e,
|
|
@@ -932,7 +932,7 @@ function zt(e, n = {}) {
|
|
|
932
932
|
const t = K({}, n), r = !!t.jit, c = !!t.minify, o = t.optimize == null ? !0 : t.optimize, p = jt(t).parse(e);
|
|
933
933
|
return r ? (o && Kt(p), c && de(p), { ast: p, code: "" }) : (Yt(p, t), Zt(p, t));
|
|
934
934
|
}
|
|
935
|
-
var er = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_26af7959-f316-4ad2-96be-336eaa281cec", 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_prepublish: "pnpm check:env && pnpm build:mf && pnpm build:dts", 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.12.1 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_26af7959-f316-4ad2-96be-336eaa281cec", 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", 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.4.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --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.2.2", npm_package_devDependencies_npm_run_all2: "^6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_dependencies__feedmepos_inventory_core_dart: "workspace:^", SYSTEMD_EXEC_PID: "1874", ACTIONS_ORCHESTRATION_ID: "41e9d0ca-25cc-46b5-a696-447378943b55.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_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: "20260329.72.1", npm_package_scripts_build_prod: "PORTAL_ENV=production vite build --mode standalone", npm_package_scripts_dev: "vite", 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", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.4.1-dev.1", 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", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:12825", GITHUB_WORKFLOW: "[CD:dev] 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.8/x64", GITHUB_RUN_ID: "24089840414", npm_package_dependencies__codemirror_lang_json: "^6.0.2", npm_package_devDependencies__types_lodash: "^4.17.16", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "707fc2788370df1416bcb7b4a518bf1c450cbd83", 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-dev.yaml@refs/heads/development", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies__feedmepos_zod_inventory: "workspace:^", npm_package_dependencies_axios: "^1.7.1", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/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.12.1/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.12.1/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:/home/runner/.pub-cache/bin:/opt/hostedtoolcache/dart/3.4.3/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_26b13362-936e-4cd2-815b-40ef02d6014b", INVOCATION_ID: "6091b6930fcb450aa5a73e83bef6dbb5", 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: "969", 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", DART_HOME: "/opt/hostedtoolcache/dart/3.4.3/x64", 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 1000058377", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "development", 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.40", 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", 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.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "1.4.1-dev.1", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", npm_package_dependencies__feedmepos_hrm_permission: "1.0.0", 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.20", npm_package_devDependencies__types_fuzzy_search: "^2.1.5", npm_package_devDependencies_cypress: "^13.9.0", GITHUB_SHA: "707fc2788370df1416bcb7b4a518bf1c450cbd83", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/heads/development", 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_26af7959-f316-4ad2-96be-336eaa281cec", 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.12.1/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_26af7959-f316-4ad2-96be-336eaa281cec", 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", PUB_CACHE: "/home/runner/.pub-cache", 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_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", 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__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_26af7959-f316-4ad2-96be-336eaa281cec", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } };
|
|
935
|
+
var er = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_1d4a0c4a-d2ea-4c66-8e32-b92b98274174", 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_prepublish: "pnpm check:env && pnpm build:mf && pnpm build:dts", 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.12.1 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_1d4a0c4a-d2ea-4c66-8e32-b92b98274174", 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", 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.4.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --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.2.2", npm_package_devDependencies_npm_run_all2: "^6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_dependencies__feedmepos_inventory_core_dart: "workspace:^", SYSTEMD_EXEC_PID: "1875", ACTIONS_ORCHESTRATION_ID: "033e2454-779e-4b8e-9607-5839a59c6887.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_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: "20260406.80.1", npm_package_scripts_build_prod: "PORTAL_ENV=production vite build --mode standalone", npm_package_scripts_dev: "vite", 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", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.4.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", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:15389", 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.8/x64", GITHUB_RUN_ID: "24231585116", npm_package_dependencies__codemirror_lang_json: "^6.0.2", npm_package_devDependencies__types_lodash: "^4.17.16", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "5937dce136e79de4b65f0b925be406e0f8aa1d62", 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.4.2", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies__feedmepos_zod_inventory: "workspace:^", npm_package_dependencies_axios: "^1.7.1", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/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.12.1/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.12.1/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_94cbaeb6-9e83-4845-9873-f174a8b117d4", INVOCATION_ID: "fc386f9abcb94c5fa4df47629af7cab5", 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: "419", 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 1000059312", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "inventory-portal-v1.4.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.40", 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", 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.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "1.4.2", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", npm_package_dependencies__feedmepos_hrm_permission: "1.0.0", 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: "false", 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.20", npm_package_devDependencies__types_fuzzy_search: "^2.1.5", npm_package_devDependencies_cypress: "^13.9.0", GITHUB_SHA: "5937dce136e79de4b65f0b925be406e0f8aa1d62", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/tags/inventory-portal-v1.4.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_1d4a0c4a-d2ea-4c66-8e32-b92b98274174", 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.12.1/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_1d4a0c4a-d2ea-4c66-8e32-b92b98274174", 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_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", 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__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_1d4a0c4a-d2ea-4c66-8e32-b92b98274174", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } };
|
|
936
936
|
function nr() {
|
|
937
937
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (ce().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (ce().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
938
938
|
}
|
|
@@ -1056,7 +1056,7 @@ let Se = M();
|
|
|
1056
1056
|
function fe(e) {
|
|
1057
1057
|
return P(e) && gn(e) === 0 && (Q(e, "b") || Q(e, "body"));
|
|
1058
1058
|
}
|
|
1059
|
-
function
|
|
1059
|
+
function Tr(e, n = {}) {
|
|
1060
1060
|
let t = !1;
|
|
1061
1061
|
const r = n.onError || Ct;
|
|
1062
1062
|
return n.onError = (c) => {
|
|
@@ -1064,13 +1064,13 @@ function hr(e, n = {}) {
|
|
|
1064
1064
|
}, { ...zt(e, n), detectError: t };
|
|
1065
1065
|
}
|
|
1066
1066
|
// @__NO_SIDE_EFFECTS__
|
|
1067
|
-
function
|
|
1068
|
-
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ &&
|
|
1067
|
+
function vr(e, n) {
|
|
1068
|
+
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && b(e)) {
|
|
1069
1069
|
W(n.warnHtmlMessage) && n.warnHtmlMessage;
|
|
1070
1070
|
const r = (n.onCacheKey || gr)(e), c = Se[r];
|
|
1071
1071
|
if (c)
|
|
1072
1072
|
return c;
|
|
1073
|
-
const { ast: o, detectError: _ } =
|
|
1073
|
+
const { ast: o, detectError: _ } = Tr(e, {
|
|
1074
1074
|
...n,
|
|
1075
1075
|
location: er.env.NODE_ENV !== "production",
|
|
1076
1076
|
jit: !0
|
|
@@ -1085,21 +1085,21 @@ function Tr(e, n) {
|
|
|
1085
1085
|
return ze(e);
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
1088
|
-
let
|
|
1089
|
-
function
|
|
1090
|
-
|
|
1088
|
+
let Oe = null;
|
|
1089
|
+
function hr(e) {
|
|
1090
|
+
Oe = e;
|
|
1091
1091
|
}
|
|
1092
1092
|
function kr(e, n, t) {
|
|
1093
|
-
|
|
1093
|
+
Oe && Oe.emit("i18n:init", {
|
|
1094
1094
|
timestamp: Date.now(),
|
|
1095
1095
|
i18n: e,
|
|
1096
1096
|
version: n,
|
|
1097
1097
|
meta: t
|
|
1098
1098
|
});
|
|
1099
1099
|
}
|
|
1100
|
-
const
|
|
1101
|
-
function
|
|
1102
|
-
return (n) =>
|
|
1100
|
+
const Or = /* @__PURE__ */ Nr("function:translate");
|
|
1101
|
+
function Nr(e) {
|
|
1102
|
+
return (n) => Oe && Oe.emit(e, n);
|
|
1103
1103
|
}
|
|
1104
1104
|
const ne = {
|
|
1105
1105
|
INVALID_ARGUMENT: St,
|
|
@@ -1110,16 +1110,16 @@ const ne = {
|
|
|
1110
1110
|
NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
|
|
1111
1111
|
NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
|
|
1112
1112
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1113
|
-
},
|
|
1113
|
+
}, br = 24;
|
|
1114
1114
|
function te(e) {
|
|
1115
1115
|
return He(e, null, void 0);
|
|
1116
1116
|
}
|
|
1117
|
-
function
|
|
1117
|
+
function Tn(e, n) {
|
|
1118
1118
|
return n.locale != null ? Sn(n.locale) : Sn(e.locale);
|
|
1119
1119
|
}
|
|
1120
1120
|
let en;
|
|
1121
1121
|
function Sn(e) {
|
|
1122
|
-
if (
|
|
1122
|
+
if (b(e))
|
|
1123
1123
|
return e;
|
|
1124
1124
|
if (w(e)) {
|
|
1125
1125
|
if (e.resolvedOnce && en != null)
|
|
@@ -1137,11 +1137,11 @@ function Sn(e) {
|
|
|
1137
1137
|
function Ir(e, n, t) {
|
|
1138
1138
|
return [.../* @__PURE__ */ new Set([
|
|
1139
1139
|
t,
|
|
1140
|
-
...j(n) ? n : P(n) ? Object.keys(n) :
|
|
1140
|
+
...j(n) ? n : P(n) ? Object.keys(n) : b(n) ? [n] : [t]
|
|
1141
1141
|
])];
|
|
1142
1142
|
}
|
|
1143
1143
|
function zn(e, n, t) {
|
|
1144
|
-
const r =
|
|
1144
|
+
const r = b(t) ? t : Ue, c = e;
|
|
1145
1145
|
c.__localeChainCache || (c.__localeChainCache = /* @__PURE__ */ new Map());
|
|
1146
1146
|
let o = c.__localeChainCache.get(r);
|
|
1147
1147
|
if (!o) {
|
|
@@ -1150,7 +1150,7 @@ function zn(e, n, t) {
|
|
|
1150
1150
|
for (; j(_); )
|
|
1151
1151
|
_ = Cn(o, _, n);
|
|
1152
1152
|
const p = j(n) || !C(n) ? n : n.default ? n.default : null;
|
|
1153
|
-
_ =
|
|
1153
|
+
_ = b(p) ? [p] : p, j(_) && Cn(o, _, !1), c.__localeChainCache.set(r, o);
|
|
1154
1154
|
}
|
|
1155
1155
|
return o;
|
|
1156
1156
|
}
|
|
@@ -1158,7 +1158,7 @@ function Cn(e, n, t) {
|
|
|
1158
1158
|
let r = !0;
|
|
1159
1159
|
for (let c = 0; c < n.length && W(r); c++) {
|
|
1160
1160
|
const o = n[c];
|
|
1161
|
-
|
|
1161
|
+
b(o) && (r = Rr(e, n[c], t));
|
|
1162
1162
|
}
|
|
1163
1163
|
return r;
|
|
1164
1164
|
}
|
|
@@ -1380,39 +1380,39 @@ function Cr(e) {
|
|
|
1380
1380
|
}
|
|
1381
1381
|
function Pr(e) {
|
|
1382
1382
|
const n = [];
|
|
1383
|
-
let t = -1, r = 0, c = 0, o, _, p, l, g, I,
|
|
1384
|
-
const
|
|
1385
|
-
|
|
1383
|
+
let t = -1, r = 0, c = 0, o, _, p, l, g, I, N;
|
|
1384
|
+
const h = [];
|
|
1385
|
+
h[
|
|
1386
1386
|
0
|
|
1387
1387
|
/* Actions.APPEND */
|
|
1388
1388
|
] = () => {
|
|
1389
1389
|
_ === void 0 ? _ = p : _ += p;
|
|
1390
|
-
},
|
|
1390
|
+
}, h[
|
|
1391
1391
|
1
|
|
1392
1392
|
/* Actions.PUSH */
|
|
1393
1393
|
] = () => {
|
|
1394
1394
|
_ !== void 0 && (n.push(_), _ = void 0);
|
|
1395
|
-
},
|
|
1395
|
+
}, h[
|
|
1396
1396
|
2
|
|
1397
1397
|
/* Actions.INC_SUB_PATH_DEPTH */
|
|
1398
1398
|
] = () => {
|
|
1399
|
-
|
|
1399
|
+
h[
|
|
1400
1400
|
0
|
|
1401
1401
|
/* Actions.APPEND */
|
|
1402
1402
|
](), c++;
|
|
1403
|
-
},
|
|
1403
|
+
}, h[
|
|
1404
1404
|
3
|
|
1405
1405
|
/* Actions.PUSH_SUB_PATH */
|
|
1406
1406
|
] = () => {
|
|
1407
1407
|
if (c > 0)
|
|
1408
|
-
c--, r = 4,
|
|
1408
|
+
c--, r = 4, h[
|
|
1409
1409
|
0
|
|
1410
1410
|
/* Actions.APPEND */
|
|
1411
1411
|
]();
|
|
1412
1412
|
else {
|
|
1413
1413
|
if (c = 0, _ === void 0 || (_ = Cr(_), _ === !1))
|
|
1414
1414
|
return !1;
|
|
1415
|
-
|
|
1415
|
+
h[
|
|
1416
1416
|
1
|
|
1417
1417
|
/* Actions.PUSH */
|
|
1418
1418
|
]();
|
|
@@ -1421,14 +1421,14 @@ function Pr(e) {
|
|
|
1421
1421
|
function A() {
|
|
1422
1422
|
const D = e[t + 1];
|
|
1423
1423
|
if (r === 5 && D === "'" || r === 6 && D === '"')
|
|
1424
|
-
return t++, p = "\\" + D,
|
|
1424
|
+
return t++, p = "\\" + D, h[
|
|
1425
1425
|
0
|
|
1426
1426
|
/* Actions.APPEND */
|
|
1427
1427
|
](), !0;
|
|
1428
1428
|
}
|
|
1429
1429
|
for (; r !== null; )
|
|
1430
1430
|
if (t++, o = e[t], !(o === "\\" && A())) {
|
|
1431
|
-
if (l = Sr(o),
|
|
1431
|
+
if (l = Sr(o), N = ae[r], g = N[l] || N.l || 8, g === 8 || (r = g[0], g[1] !== void 0 && (I = h[g[1]], I && (p = o, I() === !1))))
|
|
1432
1432
|
return;
|
|
1433
1433
|
if (r === 7)
|
|
1434
1434
|
return n;
|
|
@@ -1457,9 +1457,9 @@ function Mr(e, n) {
|
|
|
1457
1457
|
const Hr = "10.0.5", we = -1, Ue = "en-US", Un = "", Mn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1458
1458
|
function wr() {
|
|
1459
1459
|
return {
|
|
1460
|
-
upper: (e, n) => n === "text" &&
|
|
1461
|
-
lower: (e, n) => n === "text" &&
|
|
1462
|
-
capitalize: (e, n) => n === "text" &&
|
|
1460
|
+
upper: (e, n) => n === "text" && b(e) ? e.toUpperCase() : n === "vnode" && P(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1461
|
+
lower: (e, n) => n === "text" && b(e) ? e.toLowerCase() : n === "vnode" && P(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
1462
|
+
capitalize: (e, n) => n === "text" && b(e) ? Mn(e) : n === "vnode" && P(e) && "__v_isVNode" in e ? Mn(e.children) : e
|
|
1463
1463
|
};
|
|
1464
1464
|
}
|
|
1465
1465
|
let et;
|
|
@@ -1484,7 +1484,7 @@ const Hn = (e) => {
|
|
|
1484
1484
|
}, jr = () => st;
|
|
1485
1485
|
let wn = 0;
|
|
1486
1486
|
function xr(e = {}) {
|
|
1487
|
-
const n = w(e.onWarn) ? e.onWarn : yt, t =
|
|
1487
|
+
const n = w(e.onWarn) ? e.onWarn : yt, t = b(e.version) ? e.version : Hr, r = b(e.locale) || w(e.locale) ? e.locale : Ue, c = w(r) ? Ue : r, o = j(e.fallbackLocale) || C(e.fallbackLocale) || b(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c, _ = C(e.messages) ? e.messages : nn(c), p = C(e.datetimeFormats) ? e.datetimeFormats : nn(c), l = C(e.numberFormats) ? e.numberFormats : nn(c), g = K(M(), e.modifiers, wr()), I = e.pluralRules || M(), N = w(e.missing) ? e.missing : null, h = W(e.missingWarn) || Pe(e.missingWarn) ? e.missingWarn : !0, A = W(e.fallbackWarn) || Pe(e.fallbackWarn) ? e.fallbackWarn : !0, D = !!e.fallbackFormat, y = !!e.unresolving, R = w(e.postTranslation) ? e.postTranslation : null, i = C(e.processor) ? e.processor : null, f = W(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, v = !!e.escapeParameter, d = w(e.messageCompiler) ? e.messageCompiler : et, O = w(e.messageResolver) ? e.messageResolver : nt || Ur, k = w(e.localeFallbacker) ? e.localeFallbacker : tt || Ir, T = P(e.fallbackContext) ? e.fallbackContext : void 0, F = e, G = P(F.__datetimeFormatters) ? F.__datetimeFormatters : /* @__PURE__ */ new Map(), $ = P(F.__numberFormatters) ? F.__numberFormatters : /* @__PURE__ */ new Map(), q = P(F.__meta) ? F.__meta : {};
|
|
1488
1488
|
wn++;
|
|
1489
1489
|
const x = {
|
|
1490
1490
|
version: t,
|
|
@@ -1494,34 +1494,34 @@ function xr(e = {}) {
|
|
|
1494
1494
|
messages: _,
|
|
1495
1495
|
modifiers: g,
|
|
1496
1496
|
pluralRules: I,
|
|
1497
|
-
missing:
|
|
1498
|
-
missingWarn:
|
|
1497
|
+
missing: N,
|
|
1498
|
+
missingWarn: h,
|
|
1499
1499
|
fallbackWarn: A,
|
|
1500
1500
|
fallbackFormat: D,
|
|
1501
1501
|
unresolving: y,
|
|
1502
1502
|
postTranslation: R,
|
|
1503
1503
|
processor: i,
|
|
1504
1504
|
warnHtmlMessage: f,
|
|
1505
|
-
escapeParameter:
|
|
1505
|
+
escapeParameter: v,
|
|
1506
1506
|
messageCompiler: d,
|
|
1507
|
-
messageResolver:
|
|
1507
|
+
messageResolver: O,
|
|
1508
1508
|
localeFallbacker: k,
|
|
1509
|
-
fallbackContext:
|
|
1509
|
+
fallbackContext: T,
|
|
1510
1510
|
onWarn: n,
|
|
1511
1511
|
__meta: q
|
|
1512
1512
|
};
|
|
1513
1513
|
return x.datetimeFormats = p, x.numberFormats = l, x.__datetimeFormatters = G, x.__numberFormatters = $, __INTLIFY_PROD_DEVTOOLS__ && kr(x, t, q), x;
|
|
1514
1514
|
}
|
|
1515
1515
|
const nn = (e) => ({ [e]: M() });
|
|
1516
|
-
function
|
|
1516
|
+
function vn(e, n, t, r, c) {
|
|
1517
1517
|
const { missing: o, onWarn: _ } = e;
|
|
1518
1518
|
if (o !== null) {
|
|
1519
1519
|
const p = o(e, t, n, c);
|
|
1520
|
-
return
|
|
1520
|
+
return b(p) ? p : n;
|
|
1521
1521
|
} else
|
|
1522
1522
|
return n;
|
|
1523
1523
|
}
|
|
1524
|
-
function
|
|
1524
|
+
function he(e, n, t) {
|
|
1525
1525
|
const r = e;
|
|
1526
1526
|
r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, t, n);
|
|
1527
1527
|
}
|
|
@@ -1538,26 +1538,26 @@ function Kr(e, n) {
|
|
|
1538
1538
|
return !1;
|
|
1539
1539
|
}
|
|
1540
1540
|
function Fn(e, ...n) {
|
|
1541
|
-
const { datetimeFormats: t, unresolving: r, fallbackLocale: c, onWarn: o, localeFallbacker: _ } = e, { __datetimeFormatters: p } = e, [l, g, I,
|
|
1541
|
+
const { datetimeFormats: t, unresolving: r, fallbackLocale: c, onWarn: o, localeFallbacker: _ } = e, { __datetimeFormatters: p } = e, [l, g, I, N] = sn(...n), h = W(I.missingWarn) ? I.missingWarn : e.missingWarn;
|
|
1542
1542
|
W(I.fallbackWarn) ? I.fallbackWarn : e.fallbackWarn;
|
|
1543
|
-
const A = !!I.part, D =
|
|
1543
|
+
const A = !!I.part, D = Tn(e, I), y = _(
|
|
1544
1544
|
e,
|
|
1545
1545
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1546
1546
|
c,
|
|
1547
1547
|
D
|
|
1548
1548
|
);
|
|
1549
|
-
if (!
|
|
1550
|
-
return new Intl.DateTimeFormat(D,
|
|
1549
|
+
if (!b(l) || l === "")
|
|
1550
|
+
return new Intl.DateTimeFormat(D, N).format(g);
|
|
1551
1551
|
let R = {}, i, f = null;
|
|
1552
|
-
const
|
|
1552
|
+
const v = "datetime format";
|
|
1553
1553
|
for (let k = 0; k < y.length && (i = y[k], R = t[i] || {}, f = R[l], !C(f)); k++)
|
|
1554
|
-
|
|
1555
|
-
if (!C(f) || !
|
|
1554
|
+
vn(e, l, i, h, v);
|
|
1555
|
+
if (!C(f) || !b(i))
|
|
1556
1556
|
return r ? we : l;
|
|
1557
1557
|
let d = `${i}__${l}`;
|
|
1558
|
-
Me(
|
|
1559
|
-
let
|
|
1560
|
-
return
|
|
1558
|
+
Me(N) || (d = `${d}__${JSON.stringify(N)}`);
|
|
1559
|
+
let O = p.get(d);
|
|
1560
|
+
return O || (O = new Intl.DateTimeFormat(i, K({}, f, N)), p.set(d, O)), A ? O.formatToParts(g) : O.format(g);
|
|
1561
1561
|
}
|
|
1562
1562
|
const at = [
|
|
1563
1563
|
"localeMatcher",
|
|
@@ -1584,7 +1584,7 @@ const at = [
|
|
|
1584
1584
|
function sn(...e) {
|
|
1585
1585
|
const [n, t, r, c] = e, o = M();
|
|
1586
1586
|
let _ = M(), p;
|
|
1587
|
-
if (
|
|
1587
|
+
if (b(n)) {
|
|
1588
1588
|
const l = n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1589
1589
|
if (!l)
|
|
1590
1590
|
throw te(ne.INVALID_ISO_DATE_ARGUMENT);
|
|
@@ -1595,7 +1595,7 @@ function sn(...e) {
|
|
|
1595
1595
|
} catch {
|
|
1596
1596
|
throw te(ne.INVALID_ISO_DATE_ARGUMENT);
|
|
1597
1597
|
}
|
|
1598
|
-
} else if (
|
|
1598
|
+
} else if (bt(n)) {
|
|
1599
1599
|
if (isNaN(n.getTime()))
|
|
1600
1600
|
throw te(ne.INVALID_DATE_ARGUMENT);
|
|
1601
1601
|
p = n;
|
|
@@ -1603,9 +1603,9 @@ function sn(...e) {
|
|
|
1603
1603
|
p = n;
|
|
1604
1604
|
else
|
|
1605
1605
|
throw te(ne.INVALID_ARGUMENT);
|
|
1606
|
-
return
|
|
1606
|
+
return b(t) ? o.key = t : C(t) && Object.keys(t).forEach((l) => {
|
|
1607
1607
|
at.includes(l) ? _[l] = t[l] : o[l] = t[l];
|
|
1608
|
-
}),
|
|
1608
|
+
}), b(r) ? o.locale = r : C(r) && (_ = r), C(c) && (_ = c), [o.key || "", p, o, _];
|
|
1609
1609
|
}
|
|
1610
1610
|
function Gn(e, n, t) {
|
|
1611
1611
|
const r = e;
|
|
@@ -1615,26 +1615,26 @@ function Gn(e, n, t) {
|
|
|
1615
1615
|
}
|
|
1616
1616
|
}
|
|
1617
1617
|
function Bn(e, ...n) {
|
|
1618
|
-
const { numberFormats: t, unresolving: r, fallbackLocale: c, onWarn: o, localeFallbacker: _ } = e, { __numberFormatters: p } = e, [l, g, I,
|
|
1618
|
+
const { numberFormats: t, unresolving: r, fallbackLocale: c, onWarn: o, localeFallbacker: _ } = e, { __numberFormatters: p } = e, [l, g, I, N] = an(...n), h = W(I.missingWarn) ? I.missingWarn : e.missingWarn;
|
|
1619
1619
|
W(I.fallbackWarn) ? I.fallbackWarn : e.fallbackWarn;
|
|
1620
|
-
const A = !!I.part, D =
|
|
1620
|
+
const A = !!I.part, D = Tn(e, I), y = _(
|
|
1621
1621
|
e,
|
|
1622
1622
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1623
1623
|
c,
|
|
1624
1624
|
D
|
|
1625
1625
|
);
|
|
1626
|
-
if (!
|
|
1627
|
-
return new Intl.NumberFormat(D,
|
|
1626
|
+
if (!b(l) || l === "")
|
|
1627
|
+
return new Intl.NumberFormat(D, N).format(g);
|
|
1628
1628
|
let R = {}, i, f = null;
|
|
1629
|
-
const
|
|
1629
|
+
const v = "number format";
|
|
1630
1630
|
for (let k = 0; k < y.length && (i = y[k], R = t[i] || {}, f = R[l], !C(f)); k++)
|
|
1631
|
-
|
|
1632
|
-
if (!C(f) || !
|
|
1631
|
+
vn(e, l, i, h, v);
|
|
1632
|
+
if (!C(f) || !b(i))
|
|
1633
1633
|
return r ? we : l;
|
|
1634
1634
|
let d = `${i}__${l}`;
|
|
1635
|
-
Me(
|
|
1636
|
-
let
|
|
1637
|
-
return
|
|
1635
|
+
Me(N) || (d = `${d}__${JSON.stringify(N)}`);
|
|
1636
|
+
let O = p.get(d);
|
|
1637
|
+
return O || (O = new Intl.NumberFormat(i, K({}, f, N)), p.set(d, O)), A ? O.formatToParts(g) : O.format(g);
|
|
1638
1638
|
}
|
|
1639
1639
|
const ot = [
|
|
1640
1640
|
"localeMatcher",
|
|
@@ -1664,9 +1664,9 @@ function an(...e) {
|
|
|
1664
1664
|
if (!Y(n))
|
|
1665
1665
|
throw te(ne.INVALID_ARGUMENT);
|
|
1666
1666
|
const p = n;
|
|
1667
|
-
return
|
|
1667
|
+
return b(t) ? o.key = t : C(t) && Object.keys(t).forEach((l) => {
|
|
1668
1668
|
ot.includes(l) ? _[l] = t[l] : o[l] = t[l];
|
|
1669
|
-
}),
|
|
1669
|
+
}), b(r) ? o.locale = r : C(r) && (_ = r), C(c) && (_ = c), [o.key || "", p, o, _];
|
|
1670
1670
|
}
|
|
1671
1671
|
function Vn(e, n, t) {
|
|
1672
1672
|
const r = e;
|
|
@@ -1687,87 +1687,87 @@ function zr(e, n) {
|
|
|
1687
1687
|
n.count || (n.count = e), n.n || (n.n = e);
|
|
1688
1688
|
}
|
|
1689
1689
|
function es(e = {}) {
|
|
1690
|
-
const n = e.locale, t = Zr(e), r = P(e.pluralRules) &&
|
|
1690
|
+
const n = e.locale, t = Zr(e), r = P(e.pluralRules) && b(n) && w(e.pluralRules[n]) ? e.pluralRules[n] : Wn, c = P(e.pluralRules) && b(n) && w(e.pluralRules[n]) ? Wn : void 0, o = (i) => i[r(t, i.length, c)], _ = e.list || [], p = (i) => _[i], l = e.named || M();
|
|
1691
1691
|
Y(e.pluralIndex) && zr(t, l);
|
|
1692
1692
|
const g = (i) => l[i];
|
|
1693
1693
|
function I(i, f) {
|
|
1694
|
-
const
|
|
1695
|
-
return
|
|
1694
|
+
const v = w(e.messages) ? e.messages(i, !!f) : P(e.messages) ? e.messages[i] : !1;
|
|
1695
|
+
return v || (e.parent ? e.parent.message(i) : $r);
|
|
1696
1696
|
}
|
|
1697
|
-
const
|
|
1697
|
+
const N = (i) => e.modifiers ? e.modifiers[i] : Xr, h = C(e.processor) && w(e.processor.normalize) ? e.processor.normalize : qr, A = C(e.processor) && w(e.processor.interpolate) ? e.processor.interpolate : Qr, D = C(e.processor) && b(e.processor.type) ? e.processor.type : Jr, R = {
|
|
1698
1698
|
list: p,
|
|
1699
1699
|
named: g,
|
|
1700
1700
|
plural: o,
|
|
1701
1701
|
linked: (i, ...f) => {
|
|
1702
|
-
const [
|
|
1703
|
-
let
|
|
1704
|
-
f.length === 1 ? P(
|
|
1705
|
-
const
|
|
1702
|
+
const [v, d] = f;
|
|
1703
|
+
let O = "text", k = "";
|
|
1704
|
+
f.length === 1 ? P(v) ? (k = v.modifier || k, O = v.type || O) : b(v) && (k = v || k) : f.length === 2 && (b(v) && (k = v || k), b(d) && (O = d || O));
|
|
1705
|
+
const T = I(i, !0)(R), F = (
|
|
1706
1706
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1707
|
-
|
|
1707
|
+
O === "vnode" && j(T) && k ? T[0] : T
|
|
1708
1708
|
);
|
|
1709
|
-
return k ?
|
|
1709
|
+
return k ? N(k)(F, O) : F;
|
|
1710
1710
|
},
|
|
1711
1711
|
message: I,
|
|
1712
1712
|
type: D,
|
|
1713
1713
|
interpolate: A,
|
|
1714
|
-
normalize:
|
|
1714
|
+
normalize: h,
|
|
1715
1715
|
values: K(M(), _, l)
|
|
1716
1716
|
};
|
|
1717
1717
|
return R;
|
|
1718
1718
|
}
|
|
1719
1719
|
const jn = () => "", J = (e) => w(e);
|
|
1720
1720
|
function xn(e, ...n) {
|
|
1721
|
-
const { fallbackFormat: t, postTranslation: r, unresolving: c, messageCompiler: o, fallbackLocale: _, messages: p } = e, [l, g] = on(...n), I = W(g.missingWarn) ? g.missingWarn : e.missingWarn,
|
|
1722
|
-
|
|
1723
|
-
let [i, f,
|
|
1721
|
+
const { fallbackFormat: t, postTranslation: r, unresolving: c, messageCompiler: o, fallbackLocale: _, messages: p } = e, [l, g] = on(...n), I = W(g.missingWarn) ? g.missingWarn : e.missingWarn, N = W(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, h = W(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, A = !!g.resolvedMessage, D = b(g.default) || W(g.default) ? W(g.default) ? o ? l : () => l : g.default : t ? o ? l : () => l : null, y = t || D != null && (b(D) || w(D)), R = Tn(e, g);
|
|
1722
|
+
h && ns(g);
|
|
1723
|
+
let [i, f, v] = A ? [
|
|
1724
1724
|
l,
|
|
1725
1725
|
R,
|
|
1726
1726
|
p[R] || M()
|
|
1727
|
-
] : ct(e, l, R, _,
|
|
1728
|
-
if (!A && !(
|
|
1727
|
+
] : ct(e, l, R, _, N, I), d = i, O = l;
|
|
1728
|
+
if (!A && !(b(d) || fe(d) || J(d)) && y && (d = D, O = d), !A && (!(b(d) || fe(d) || J(d)) || !b(f)))
|
|
1729
1729
|
return c ? we : l;
|
|
1730
1730
|
let k = !1;
|
|
1731
|
-
const
|
|
1731
|
+
const T = () => {
|
|
1732
1732
|
k = !0;
|
|
1733
|
-
}, F = J(d) ? d : it(e, l, f, d,
|
|
1733
|
+
}, F = J(d) ? d : it(e, l, f, d, O, T);
|
|
1734
1734
|
if (k)
|
|
1735
1735
|
return d;
|
|
1736
|
-
const G = ss(e, f,
|
|
1736
|
+
const G = ss(e, f, v, g), $ = es(G), q = ts(e, F, $), x = r ? r(q, l) : q;
|
|
1737
1737
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1738
1738
|
const _e = {
|
|
1739
1739
|
timestamp: Date.now(),
|
|
1740
|
-
key:
|
|
1740
|
+
key: b(l) ? l : J(d) ? d.key : "",
|
|
1741
1741
|
locale: f || (J(d) ? d.locale : ""),
|
|
1742
|
-
format:
|
|
1742
|
+
format: b(d) ? d : J(d) ? d.source : "",
|
|
1743
1743
|
message: x
|
|
1744
1744
|
};
|
|
1745
|
-
_e.meta = K({}, e.__meta, /* @__PURE__ */ Wr() || {}),
|
|
1745
|
+
_e.meta = K({}, e.__meta, /* @__PURE__ */ Wr() || {}), Or(_e);
|
|
1746
1746
|
}
|
|
1747
1747
|
return x;
|
|
1748
1748
|
}
|
|
1749
1749
|
function ns(e) {
|
|
1750
|
-
j(e.list) ? e.list = e.list.map((n) =>
|
|
1751
|
-
|
|
1750
|
+
j(e.list) ? e.list = e.list.map((n) => b(n) ? Rn(n) : n) : P(e.named) && Object.keys(e.named).forEach((n) => {
|
|
1751
|
+
b(e.named[n]) && (e.named[n] = Rn(e.named[n]));
|
|
1752
1752
|
});
|
|
1753
1753
|
}
|
|
1754
1754
|
function ct(e, n, t, r, c, o) {
|
|
1755
1755
|
const { messages: _, onWarn: p, messageResolver: l, localeFallbacker: g } = e, I = g(e, r, t);
|
|
1756
|
-
let
|
|
1756
|
+
let N = M(), h, A = null;
|
|
1757
1757
|
const D = "translate";
|
|
1758
|
-
for (let y = 0; y < I.length && (
|
|
1759
|
-
if (!Kr(
|
|
1760
|
-
const R =
|
|
1758
|
+
for (let y = 0; y < I.length && (h = I[y], N = _[h] || M(), (A = l(N, n)) === null && (A = N[n]), !(b(A) || fe(A) || J(A))); y++)
|
|
1759
|
+
if (!Kr(h, I)) {
|
|
1760
|
+
const R = vn(
|
|
1761
1761
|
e,
|
|
1762
1762
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1763
1763
|
n,
|
|
1764
|
-
|
|
1764
|
+
h,
|
|
1765
1765
|
o,
|
|
1766
1766
|
D
|
|
1767
1767
|
);
|
|
1768
1768
|
R !== n && (A = R);
|
|
1769
1769
|
}
|
|
1770
|
-
return [A,
|
|
1770
|
+
return [A, h, N];
|
|
1771
1771
|
}
|
|
1772
1772
|
function it(e, n, t, r, c, o) {
|
|
1773
1773
|
const { messageCompiler: _, warnHtmlMessage: p } = e;
|
|
@@ -1787,10 +1787,10 @@ function ts(e, n, t) {
|
|
|
1787
1787
|
}
|
|
1788
1788
|
function on(...e) {
|
|
1789
1789
|
const [n, t, r] = e, c = M();
|
|
1790
|
-
if (!
|
|
1790
|
+
if (!b(n) && !Y(n) && !J(n) && !fe(n))
|
|
1791
1791
|
throw te(ne.INVALID_ARGUMENT);
|
|
1792
1792
|
const o = Y(n) ? String(n) : (J(n), n);
|
|
1793
|
-
return Y(t) ? c.plural = t :
|
|
1793
|
+
return Y(t) ? c.plural = t : b(t) ? c.default = t : C(t) && !Me(t) ? c.named = t : j(t) && (c.list = t), Y(r) ? c.plural = r : b(r) ? c.default = r : C(r) && K(c, r), [o, c];
|
|
1794
1794
|
}
|
|
1795
1795
|
function rs(e, n, t, r, c, o) {
|
|
1796
1796
|
return {
|
|
@@ -1800,11 +1800,11 @@ function rs(e, n, t, r, c, o) {
|
|
|
1800
1800
|
onError: (_) => {
|
|
1801
1801
|
throw o && o(_), _;
|
|
1802
1802
|
},
|
|
1803
|
-
onCacheKey: (_) =>
|
|
1803
|
+
onCacheKey: (_) => Ot(n, t, _)
|
|
1804
1804
|
};
|
|
1805
1805
|
}
|
|
1806
1806
|
function ss(e, n, t, r) {
|
|
1807
|
-
const { modifiers: c, pluralRules: o, messageResolver: _, fallbackLocale: p, fallbackWarn: l, missingWarn: g, fallbackContext: I } = e,
|
|
1807
|
+
const { modifiers: c, pluralRules: o, messageResolver: _, fallbackLocale: p, fallbackWarn: l, missingWarn: g, fallbackContext: I } = e, h = {
|
|
1808
1808
|
locale: n,
|
|
1809
1809
|
modifiers: c,
|
|
1810
1810
|
pluralRules: o,
|
|
@@ -1822,7 +1822,7 @@ function ss(e, n, t, r) {
|
|
|
1822
1822
|
);
|
|
1823
1823
|
y = _(R, A);
|
|
1824
1824
|
}
|
|
1825
|
-
if (
|
|
1825
|
+
if (b(y) || fe(y)) {
|
|
1826
1826
|
let R = !1;
|
|
1827
1827
|
const f = it(e, A, n, y, A, () => {
|
|
1828
1828
|
R = !0;
|
|
@@ -1831,17 +1831,17 @@ function ss(e, n, t, r) {
|
|
|
1831
1831
|
} else return J(y) ? y : jn;
|
|
1832
1832
|
}
|
|
1833
1833
|
};
|
|
1834
|
-
return e.processor && (
|
|
1834
|
+
return e.processor && (h.processor = e.processor), r.list && (h.list = r.list), r.named && (h.named = r.named), Y(r.plural) && (h.pluralIndex = r.plural), h;
|
|
1835
1835
|
}
|
|
1836
1836
|
nr();
|
|
1837
|
-
var as = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_26af7959-f316-4ad2-96be-336eaa281cec", 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_prepublish: "pnpm check:env && pnpm build:mf && pnpm build:dts", 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.12.1 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_26af7959-f316-4ad2-96be-336eaa281cec", 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", 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.4.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --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.2.2", npm_package_devDependencies_npm_run_all2: "^6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_dependencies__feedmepos_inventory_core_dart: "workspace:^", SYSTEMD_EXEC_PID: "1874", ACTIONS_ORCHESTRATION_ID: "41e9d0ca-25cc-46b5-a696-447378943b55.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_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: "20260329.72.1", npm_package_scripts_build_prod: "PORTAL_ENV=production vite build --mode standalone", npm_package_scripts_dev: "vite", 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", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.4.1-dev.1", 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", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:12825", GITHUB_WORKFLOW: "[CD:dev] 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.8/x64", GITHUB_RUN_ID: "24089840414", npm_package_dependencies__codemirror_lang_json: "^6.0.2", npm_package_devDependencies__types_lodash: "^4.17.16", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "707fc2788370df1416bcb7b4a518bf1c450cbd83", 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-dev.yaml@refs/heads/development", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies__feedmepos_zod_inventory: "workspace:^", npm_package_dependencies_axios: "^1.7.1", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/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.12.1/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.12.1/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:/home/runner/.pub-cache/bin:/opt/hostedtoolcache/dart/3.4.3/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_26b13362-936e-4cd2-815b-40ef02d6014b", INVOCATION_ID: "6091b6930fcb450aa5a73e83bef6dbb5", 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: "969", 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", DART_HOME: "/opt/hostedtoolcache/dart/3.4.3/x64", 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 1000058377", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "development", 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.40", 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", 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.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "1.4.1-dev.1", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", npm_package_dependencies__feedmepos_hrm_permission: "1.0.0", 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.20", npm_package_devDependencies__types_fuzzy_search: "^2.1.5", npm_package_devDependencies_cypress: "^13.9.0", GITHUB_SHA: "707fc2788370df1416bcb7b4a518bf1c450cbd83", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/heads/development", 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_26af7959-f316-4ad2-96be-336eaa281cec", 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.12.1/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_26af7959-f316-4ad2-96be-336eaa281cec", 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", PUB_CACHE: "/home/runner/.pub-cache", 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_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", 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__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_26af7959-f316-4ad2-96be-336eaa281cec", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } };
|
|
1837
|
+
var as = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_1d4a0c4a-d2ea-4c66-8e32-b92b98274174", 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_prepublish: "pnpm check:env && pnpm build:mf && pnpm build:dts", 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.12.1 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_1d4a0c4a-d2ea-4c66-8e32-b92b98274174", 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", 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.4.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --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.2.2", npm_package_devDependencies_npm_run_all2: "^6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_dependencies__feedmepos_inventory_core_dart: "workspace:^", SYSTEMD_EXEC_PID: "1875", ACTIONS_ORCHESTRATION_ID: "033e2454-779e-4b8e-9607-5839a59c6887.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_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: "20260406.80.1", npm_package_scripts_build_prod: "PORTAL_ENV=production vite build --mode standalone", npm_package_scripts_dev: "vite", 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", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.4.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", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:15389", 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.8/x64", GITHUB_RUN_ID: "24231585116", npm_package_dependencies__codemirror_lang_json: "^6.0.2", npm_package_devDependencies__types_lodash: "^4.17.16", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "5937dce136e79de4b65f0b925be406e0f8aa1d62", 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.4.2", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies__feedmepos_zod_inventory: "workspace:^", npm_package_dependencies_axios: "^1.7.1", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/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.12.1/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.12.1/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_94cbaeb6-9e83-4845-9873-f174a8b117d4", INVOCATION_ID: "fc386f9abcb94c5fa4df47629af7cab5", 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: "419", 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 1000059312", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "inventory-portal-v1.4.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.40", 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", 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.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "1.4.2", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", npm_package_dependencies__feedmepos_hrm_permission: "1.0.0", 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: "false", 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.20", npm_package_devDependencies__types_fuzzy_search: "^2.1.5", npm_package_devDependencies_cypress: "^13.9.0", GITHUB_SHA: "5937dce136e79de4b65f0b925be406e0f8aa1d62", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/tags/inventory-portal-v1.4.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_1d4a0c4a-d2ea-4c66-8e32-b92b98274174", 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.12.1/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_1d4a0c4a-d2ea-4c66-8e32-b92b98274174", 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_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", 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__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_1d4a0c4a-d2ea-4c66-8e32-b92b98274174", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } };
|
|
1838
1838
|
const os = "10.0.5";
|
|
1839
1839
|
function cs() {
|
|
1840
1840
|
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);
|
|
1841
1841
|
}
|
|
1842
1842
|
const Ee = {
|
|
1843
1843
|
// composer module errors
|
|
1844
|
-
UNEXPECTED_RETURN_TYPE:
|
|
1844
|
+
UNEXPECTED_RETURN_TYPE: br,
|
|
1845
1845
|
// 24
|
|
1846
1846
|
// legacy module errors
|
|
1847
1847
|
INVALID_ARGUMENT: 25,
|
|
@@ -1861,17 +1861,17 @@ const Ee = {
|
|
|
1861
1861
|
// Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly
|
|
1862
1862
|
NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
|
|
1863
1863
|
};
|
|
1864
|
-
function
|
|
1864
|
+
function Ne(e, ...n) {
|
|
1865
1865
|
return He(e, null, void 0);
|
|
1866
1866
|
}
|
|
1867
1867
|
const cn = /* @__PURE__ */ ie("__translateVNode"), _n = /* @__PURE__ */ ie("__datetimeParts"), ln = /* @__PURE__ */ ie("__numberParts"), is = ie("__setPluralRules"), _t = /* @__PURE__ */ ie("__injectWithOption"), un = /* @__PURE__ */ ie("__dispose");
|
|
1868
|
-
function
|
|
1868
|
+
function be(e) {
|
|
1869
1869
|
if (!P(e))
|
|
1870
1870
|
return e;
|
|
1871
1871
|
for (const n in e)
|
|
1872
1872
|
if (Q(e, n))
|
|
1873
1873
|
if (!n.includes("."))
|
|
1874
|
-
P(e[n]) &&
|
|
1874
|
+
P(e[n]) && be(e[n]);
|
|
1875
1875
|
else {
|
|
1876
1876
|
const t = n.split("."), r = t.length - 1;
|
|
1877
1877
|
let c = e, o = !1;
|
|
@@ -1882,7 +1882,7 @@ function Ne(e) {
|
|
|
1882
1882
|
}
|
|
1883
1883
|
c = c[t[_]];
|
|
1884
1884
|
}
|
|
1885
|
-
o || (c[t[r]] = e[n], delete e[n]), P(c[t[r]]) &&
|
|
1885
|
+
o || (c[t[r]] = e[n], delete e[n]), P(c[t[r]]) && be(c[t[r]]);
|
|
1886
1886
|
}
|
|
1887
1887
|
return e;
|
|
1888
1888
|
}
|
|
@@ -1893,10 +1893,10 @@ function lt(e, n) {
|
|
|
1893
1893
|
const { locale: l, resource: g } = p;
|
|
1894
1894
|
l ? (_[l] = _[l] || M(), Ce(g, _[l])) : Ce(g, _);
|
|
1895
1895
|
} else
|
|
1896
|
-
|
|
1896
|
+
b(p) && Ce(JSON.parse(p), _);
|
|
1897
1897
|
}), c == null && o)
|
|
1898
1898
|
for (const p in _)
|
|
1899
|
-
Q(_, p) &&
|
|
1899
|
+
Q(_, p) && be(_[p]);
|
|
1900
1900
|
return _;
|
|
1901
1901
|
}
|
|
1902
1902
|
function ut(e) {
|
|
@@ -1928,7 +1928,7 @@ function _s(e, n, t) {
|
|
|
1928
1928
|
}
|
|
1929
1929
|
}
|
|
1930
1930
|
function Yn(e) {
|
|
1931
|
-
return
|
|
1931
|
+
return ht(kt, null, e, 0);
|
|
1932
1932
|
}
|
|
1933
1933
|
const Kn = "__INTLIFY_META__", Xn = () => [], ls = () => !1;
|
|
1934
1934
|
let $n = 0;
|
|
@@ -1941,110 +1941,110 @@ const us = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
|
1941
1941
|
return e && (n = ut(e)[Kn]) ? { [Kn]: n } : null;
|
|
1942
1942
|
};
|
|
1943
1943
|
function ps(e = {}) {
|
|
1944
|
-
const { __root: n, __injectWithOption: t } = e, r = n === void 0, c = e.flatJson, o =
|
|
1944
|
+
const { __root: n, __injectWithOption: t } = e, r = n === void 0, c = e.flatJson, o = bn ? Tt : vt;
|
|
1945
1945
|
let _ = W(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1946
1946
|
const p = o(
|
|
1947
1947
|
// prettier-ignore
|
|
1948
|
-
n && _ ? n.locale.value :
|
|
1948
|
+
n && _ ? n.locale.value : b(e.locale) ? e.locale : Ue
|
|
1949
1949
|
), l = o(
|
|
1950
1950
|
// prettier-ignore
|
|
1951
|
-
n && _ ? n.fallbackLocale.value :
|
|
1952
|
-
), g = o(lt(p.value, e)), I = o(C(e.datetimeFormats) ? e.datetimeFormats : { [p.value]: {} }),
|
|
1953
|
-
let
|
|
1954
|
-
const
|
|
1955
|
-
let k = e.pluralRules || n && n.pluralRules,
|
|
1956
|
-
|
|
1951
|
+
n && _ ? n.fallbackLocale.value : b(e.fallbackLocale) || j(e.fallbackLocale) || C(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : p.value
|
|
1952
|
+
), g = o(lt(p.value, e)), I = o(C(e.datetimeFormats) ? e.datetimeFormats : { [p.value]: {} }), N = o(C(e.numberFormats) ? e.numberFormats : { [p.value]: {} });
|
|
1953
|
+
let h = n ? n.missingWarn : W(e.missingWarn) || Pe(e.missingWarn) ? e.missingWarn : !0, A = n ? n.fallbackWarn : W(e.fallbackWarn) || Pe(e.fallbackWarn) ? e.fallbackWarn : !0, D = n ? n.fallbackRoot : W(e.fallbackRoot) ? e.fallbackRoot : !0, y = !!e.fallbackFormat, R = w(e.missing) ? e.missing : null, i = w(e.missing) ? Jn(e.missing) : null, f = w(e.postTranslation) ? e.postTranslation : null, v = n ? n.warnHtmlMessage : W(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, d = !!e.escapeParameter;
|
|
1954
|
+
const O = n ? n.modifiers : C(e.modifiers) ? e.modifiers : {};
|
|
1955
|
+
let k = e.pluralRules || n && n.pluralRules, T;
|
|
1956
|
+
T = (() => {
|
|
1957
1957
|
r && Hn(null);
|
|
1958
1958
|
const u = {
|
|
1959
1959
|
version: os,
|
|
1960
1960
|
locale: p.value,
|
|
1961
1961
|
fallbackLocale: l.value,
|
|
1962
1962
|
messages: g.value,
|
|
1963
|
-
modifiers:
|
|
1963
|
+
modifiers: O,
|
|
1964
1964
|
pluralRules: k,
|
|
1965
1965
|
missing: i === null ? void 0 : i,
|
|
1966
|
-
missingWarn:
|
|
1966
|
+
missingWarn: h,
|
|
1967
1967
|
fallbackWarn: A,
|
|
1968
1968
|
fallbackFormat: y,
|
|
1969
1969
|
unresolving: !0,
|
|
1970
1970
|
postTranslation: f === null ? void 0 : f,
|
|
1971
|
-
warnHtmlMessage:
|
|
1971
|
+
warnHtmlMessage: v,
|
|
1972
1972
|
escapeParameter: d,
|
|
1973
1973
|
messageResolver: e.messageResolver,
|
|
1974
1974
|
messageCompiler: e.messageCompiler,
|
|
1975
1975
|
__meta: { framework: "vue" }
|
|
1976
1976
|
};
|
|
1977
|
-
u.datetimeFormats = I.value, u.numberFormats =
|
|
1977
|
+
u.datetimeFormats = I.value, u.numberFormats = N.value, u.__datetimeFormatters = C(T) ? T.__datetimeFormatters : void 0, u.__numberFormatters = C(T) ? T.__numberFormatters : void 0;
|
|
1978
1978
|
const E = xr(u);
|
|
1979
1979
|
return r && Hn(E), E;
|
|
1980
|
-
})(),
|
|
1980
|
+
})(), he(T, p.value, l.value);
|
|
1981
1981
|
function G() {
|
|
1982
1982
|
return [
|
|
1983
1983
|
p.value,
|
|
1984
1984
|
l.value,
|
|
1985
1985
|
g.value,
|
|
1986
1986
|
I.value,
|
|
1987
|
-
|
|
1987
|
+
N.value
|
|
1988
1988
|
];
|
|
1989
1989
|
}
|
|
1990
|
-
const $ =
|
|
1990
|
+
const $ = ve({
|
|
1991
1991
|
get: () => p.value,
|
|
1992
1992
|
set: (u) => {
|
|
1993
|
-
p.value = u,
|
|
1993
|
+
p.value = u, T.locale = p.value;
|
|
1994
1994
|
}
|
|
1995
|
-
}), q =
|
|
1995
|
+
}), q = ve({
|
|
1996
1996
|
get: () => l.value,
|
|
1997
1997
|
set: (u) => {
|
|
1998
|
-
l.value = u,
|
|
1998
|
+
l.value = u, T.fallbackLocale = l.value, he(T, p.value, u);
|
|
1999
1999
|
}
|
|
2000
|
-
}), x =
|
|
2000
|
+
}), x = ve(() => g.value), _e = /* @__PURE__ */ ve(() => I.value), Fe = /* @__PURE__ */ ve(() => N.value);
|
|
2001
2001
|
function Ge() {
|
|
2002
2002
|
return w(f) ? f : null;
|
|
2003
2003
|
}
|
|
2004
2004
|
function Be(u) {
|
|
2005
|
-
f = u,
|
|
2005
|
+
f = u, T.postTranslation = u;
|
|
2006
2006
|
}
|
|
2007
2007
|
function Ve() {
|
|
2008
2008
|
return R;
|
|
2009
2009
|
}
|
|
2010
2010
|
function We(u) {
|
|
2011
|
-
u !== null && (i = Jn(u)), R = u,
|
|
2011
|
+
u !== null && (i = Jn(u)), R = u, T.missing = i;
|
|
2012
2012
|
}
|
|
2013
2013
|
const z = (u, E, H, V, oe, Ae) => {
|
|
2014
2014
|
G();
|
|
2015
2015
|
let pe;
|
|
2016
2016
|
try {
|
|
2017
|
-
as.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (
|
|
2017
|
+
as.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (T.fallbackContext = n ? jr() : void 0), pe = u(T);
|
|
2018
2018
|
} finally {
|
|
2019
|
-
__INTLIFY_PROD_DEVTOOLS__, r || (
|
|
2019
|
+
__INTLIFY_PROD_DEVTOOLS__, r || (T.fallbackContext = void 0);
|
|
2020
2020
|
}
|
|
2021
2021
|
if (H !== "translate exists" && // for not `te` (e.g `t`)
|
|
2022
2022
|
Y(pe) && pe === we || H === "translate exists" && !pe) {
|
|
2023
|
-
const [mt,
|
|
2023
|
+
const [mt, Os] = E();
|
|
2024
2024
|
return n && D ? V(n) : oe(mt);
|
|
2025
2025
|
} else {
|
|
2026
2026
|
if (Ae(pe))
|
|
2027
2027
|
return pe;
|
|
2028
|
-
throw
|
|
2028
|
+
throw Ne(Ee.UNEXPECTED_RETURN_TYPE);
|
|
2029
2029
|
}
|
|
2030
2030
|
};
|
|
2031
2031
|
function Ie(...u) {
|
|
2032
|
-
return z((E) => Reflect.apply(xn, null, [E, ...u]), () => on(...u), "translate", (E) => Reflect.apply(E.t, E, [...u]), (E) => E, (E) =>
|
|
2032
|
+
return z((E) => Reflect.apply(xn, null, [E, ...u]), () => on(...u), "translate", (E) => Reflect.apply(E.t, E, [...u]), (E) => E, (E) => b(E));
|
|
2033
2033
|
}
|
|
2034
2034
|
function Re(...u) {
|
|
2035
2035
|
const [E, H, V] = u;
|
|
2036
2036
|
if (V && !P(V))
|
|
2037
|
-
throw
|
|
2037
|
+
throw Ne(Ee.INVALID_ARGUMENT);
|
|
2038
2038
|
return Ie(E, H, K({ resolvedMessage: !0 }, V || {}));
|
|
2039
2039
|
}
|
|
2040
2040
|
function je(...u) {
|
|
2041
|
-
return z((E) => Reflect.apply(Fn, null, [E, ...u]), () => sn(...u), "datetime format", (E) => Reflect.apply(E.d, E, [...u]), () => Un, (E) =>
|
|
2041
|
+
return z((E) => Reflect.apply(Fn, null, [E, ...u]), () => sn(...u), "datetime format", (E) => Reflect.apply(E.d, E, [...u]), () => Un, (E) => b(E));
|
|
2042
2042
|
}
|
|
2043
2043
|
function xe(...u) {
|
|
2044
|
-
return z((E) => Reflect.apply(Bn, null, [E, ...u]), () => an(...u), "number format", (E) => Reflect.apply(E.n, E, [...u]), () => Un, (E) =>
|
|
2044
|
+
return z((E) => Reflect.apply(Bn, null, [E, ...u]), () => an(...u), "number format", (E) => Reflect.apply(E.n, E, [...u]), () => Un, (E) => b(E));
|
|
2045
2045
|
}
|
|
2046
2046
|
function Ye(u) {
|
|
2047
|
-
return u.map((E) =>
|
|
2047
|
+
return u.map((E) => b(E) || Y(E) || W(E) ? Yn(String(E)) : E);
|
|
2048
2048
|
}
|
|
2049
2049
|
const Ke = {
|
|
2050
2050
|
normalize: Ye,
|
|
@@ -2064,27 +2064,27 @@ function ps(e = {}) {
|
|
|
2064
2064
|
}, () => on(...u), "translate", (E) => E[cn](...u), (E) => [Yn(E)], (E) => j(E));
|
|
2065
2065
|
}
|
|
2066
2066
|
function Le(...u) {
|
|
2067
|
-
return z((E) => Reflect.apply(Bn, null, [E, ...u]), () => an(...u), "number format", (E) => E[ln](...u), Xn, (E) =>
|
|
2067
|
+
return z((E) => Reflect.apply(Bn, null, [E, ...u]), () => an(...u), "number format", (E) => E[ln](...u), Xn, (E) => b(E) || j(E));
|
|
2068
2068
|
}
|
|
2069
2069
|
function $e(...u) {
|
|
2070
|
-
return z((E) => Reflect.apply(Fn, null, [E, ...u]), () => sn(...u), "datetime format", (E) => E[_n](...u), Xn, (E) =>
|
|
2070
|
+
return z((E) => Reflect.apply(Fn, null, [E, ...u]), () => sn(...u), "datetime format", (E) => E[_n](...u), Xn, (E) => b(E) || j(E));
|
|
2071
2071
|
}
|
|
2072
2072
|
function Je(u) {
|
|
2073
|
-
k = u,
|
|
2073
|
+
k = u, T.pluralRules = k;
|
|
2074
2074
|
}
|
|
2075
2075
|
function qe(u, E) {
|
|
2076
2076
|
return z(() => {
|
|
2077
2077
|
if (!u)
|
|
2078
2078
|
return !1;
|
|
2079
|
-
const H =
|
|
2080
|
-
return fe(oe) || J(oe) ||
|
|
2079
|
+
const H = b(E) ? E : p.value, V = le(H), oe = T.messageResolver(V, u);
|
|
2080
|
+
return fe(oe) || J(oe) || b(oe);
|
|
2081
2081
|
}, () => [u], "translate exists", (H) => Reflect.apply(H.te, H, [u, E]), ls, (H) => W(H));
|
|
2082
2082
|
}
|
|
2083
2083
|
function Qe(u) {
|
|
2084
2084
|
let E = null;
|
|
2085
|
-
const H = zn(
|
|
2085
|
+
const H = zn(T, l.value, p.value);
|
|
2086
2086
|
for (let V = 0; V < H.length; V++) {
|
|
2087
|
-
const oe = g.value[H[V]] || {}, Ae =
|
|
2087
|
+
const oe = g.value[H[V]] || {}, Ae = T.messageResolver(oe, u);
|
|
2088
2088
|
if (Ae != null) {
|
|
2089
2089
|
E = Ae;
|
|
2090
2090
|
break;
|
|
@@ -2103,41 +2103,41 @@ function ps(e = {}) {
|
|
|
2103
2103
|
if (c) {
|
|
2104
2104
|
const H = { [u]: E };
|
|
2105
2105
|
for (const V in H)
|
|
2106
|
-
Q(H, V) &&
|
|
2106
|
+
Q(H, V) && be(H[V]);
|
|
2107
2107
|
E = H[u];
|
|
2108
2108
|
}
|
|
2109
|
-
g.value[u] = E,
|
|
2109
|
+
g.value[u] = E, T.messages = g.value;
|
|
2110
2110
|
}
|
|
2111
|
-
function
|
|
2111
|
+
function Te(u, E) {
|
|
2112
2112
|
g.value[u] = g.value[u] || {};
|
|
2113
2113
|
const H = { [u]: E };
|
|
2114
2114
|
if (c)
|
|
2115
2115
|
for (const V in H)
|
|
2116
|
-
Q(H, V) &&
|
|
2117
|
-
E = H[u], Ce(E, g.value[u]),
|
|
2116
|
+
Q(H, V) && be(H[V]);
|
|
2117
|
+
E = H[u], Ce(E, g.value[u]), T.messages = g.value;
|
|
2118
2118
|
}
|
|
2119
2119
|
function Ze(u) {
|
|
2120
2120
|
return I.value[u] || {};
|
|
2121
2121
|
}
|
|
2122
2122
|
function s(u, E) {
|
|
2123
|
-
I.value[u] = E,
|
|
2123
|
+
I.value[u] = E, T.datetimeFormats = I.value, Gn(T, u, E);
|
|
2124
2124
|
}
|
|
2125
2125
|
function a(u, E) {
|
|
2126
|
-
I.value[u] = K(I.value[u] || {}, E),
|
|
2126
|
+
I.value[u] = K(I.value[u] || {}, E), T.datetimeFormats = I.value, Gn(T, u, E);
|
|
2127
2127
|
}
|
|
2128
2128
|
function m(u) {
|
|
2129
|
-
return
|
|
2129
|
+
return N.value[u] || {};
|
|
2130
2130
|
}
|
|
2131
2131
|
function L(u, E) {
|
|
2132
|
-
|
|
2132
|
+
N.value[u] = E, T.numberFormats = N.value, Vn(T, u, E);
|
|
2133
2133
|
}
|
|
2134
2134
|
function B(u, E) {
|
|
2135
|
-
|
|
2135
|
+
N.value[u] = K(N.value[u] || {}, E), T.numberFormats = N.value, Vn(T, u, E);
|
|
2136
2136
|
}
|
|
2137
|
-
$n++, n &&
|
|
2138
|
-
_ && (p.value = u,
|
|
2139
|
-
}),
|
|
2140
|
-
_ && (l.value = u,
|
|
2137
|
+
$n++, n && bn && (Nn(n.locale, (u) => {
|
|
2138
|
+
_ && (p.value = u, T.locale = u, he(T, p.value, l.value));
|
|
2139
|
+
}), Nn(n.fallbackLocale, (u) => {
|
|
2140
|
+
_ && (l.value = u, T.fallbackLocale = u, he(T, p.value, l.value));
|
|
2141
2141
|
}));
|
|
2142
2142
|
const S = {
|
|
2143
2143
|
id: $n,
|
|
@@ -2147,14 +2147,14 @@ function ps(e = {}) {
|
|
|
2147
2147
|
return _;
|
|
2148
2148
|
},
|
|
2149
2149
|
set inheritLocale(u) {
|
|
2150
|
-
_ = u, u && n && (p.value = n.locale.value, l.value = n.fallbackLocale.value,
|
|
2150
|
+
_ = u, u && n && (p.value = n.locale.value, l.value = n.fallbackLocale.value, he(T, p.value, l.value));
|
|
2151
2151
|
},
|
|
2152
2152
|
get availableLocales() {
|
|
2153
2153
|
return Object.keys(g.value).sort();
|
|
2154
2154
|
},
|
|
2155
2155
|
messages: x,
|
|
2156
2156
|
get modifiers() {
|
|
2157
|
-
return
|
|
2157
|
+
return O;
|
|
2158
2158
|
},
|
|
2159
2159
|
get pluralRules() {
|
|
2160
2160
|
return k || {};
|
|
@@ -2163,16 +2163,16 @@ function ps(e = {}) {
|
|
|
2163
2163
|
return r;
|
|
2164
2164
|
},
|
|
2165
2165
|
get missingWarn() {
|
|
2166
|
-
return
|
|
2166
|
+
return h;
|
|
2167
2167
|
},
|
|
2168
2168
|
set missingWarn(u) {
|
|
2169
|
-
|
|
2169
|
+
h = u, T.missingWarn = h;
|
|
2170
2170
|
},
|
|
2171
2171
|
get fallbackWarn() {
|
|
2172
2172
|
return A;
|
|
2173
2173
|
},
|
|
2174
2174
|
set fallbackWarn(u) {
|
|
2175
|
-
A = u,
|
|
2175
|
+
A = u, T.fallbackWarn = A;
|
|
2176
2176
|
},
|
|
2177
2177
|
get fallbackRoot() {
|
|
2178
2178
|
return D;
|
|
@@ -2184,24 +2184,24 @@ function ps(e = {}) {
|
|
|
2184
2184
|
return y;
|
|
2185
2185
|
},
|
|
2186
2186
|
set fallbackFormat(u) {
|
|
2187
|
-
y = u,
|
|
2187
|
+
y = u, T.fallbackFormat = y;
|
|
2188
2188
|
},
|
|
2189
2189
|
get warnHtmlMessage() {
|
|
2190
|
-
return
|
|
2190
|
+
return v;
|
|
2191
2191
|
},
|
|
2192
2192
|
set warnHtmlMessage(u) {
|
|
2193
|
-
|
|
2193
|
+
v = u, T.warnHtmlMessage = u;
|
|
2194
2194
|
},
|
|
2195
2195
|
get escapeParameter() {
|
|
2196
2196
|
return d;
|
|
2197
2197
|
},
|
|
2198
2198
|
set escapeParameter(u) {
|
|
2199
|
-
d = u,
|
|
2199
|
+
d = u, T.escapeParameter = u;
|
|
2200
2200
|
},
|
|
2201
2201
|
t: Ie,
|
|
2202
2202
|
getLocaleMessage: le,
|
|
2203
2203
|
setLocaleMessage: ue,
|
|
2204
|
-
mergeLocaleMessage:
|
|
2204
|
+
mergeLocaleMessage: Te,
|
|
2205
2205
|
getPostTranslationHandler: Ge,
|
|
2206
2206
|
setPostTranslationHandler: Be,
|
|
2207
2207
|
getMissingHandler: Ve,
|
|
@@ -2210,7 +2210,7 @@ function ps(e = {}) {
|
|
|
2210
2210
|
};
|
|
2211
2211
|
return S.datetimeFormats = _e, S.numberFormats = Fe, S.rt = Re, S.te = qe, S.tm = ge, S.d = je, S.n = xe, S.getDateTimeFormat = Ze, S.setDateTimeFormat = s, S.mergeDateTimeFormat = a, S.getNumberFormat = m, S.setNumberFormat = L, S.mergeNumberFormat = B, S[_t] = t, S[cn] = Xe, S[_n] = $e, S[ln] = Le, S;
|
|
2212
2212
|
}
|
|
2213
|
-
const
|
|
2213
|
+
const hn = {
|
|
2214
2214
|
tag: {
|
|
2215
2215
|
type: [String, Object]
|
|
2216
2216
|
},
|
|
@@ -2250,24 +2250,24 @@ K({
|
|
|
2250
2250
|
type: [Number, String],
|
|
2251
2251
|
validator: (e) => Y(e) || !isNaN(e)
|
|
2252
2252
|
}
|
|
2253
|
-
},
|
|
2253
|
+
}, hn);
|
|
2254
2254
|
function ms(e) {
|
|
2255
|
-
return j(e) && !
|
|
2255
|
+
return j(e) && !b(e[0]);
|
|
2256
2256
|
}
|
|
2257
2257
|
function dt(e, n, t, r) {
|
|
2258
2258
|
const { slots: c, attrs: o } = n;
|
|
2259
2259
|
return () => {
|
|
2260
2260
|
const _ = { part: !0 };
|
|
2261
2261
|
let p = M();
|
|
2262
|
-
e.locale && (_.locale = e.locale),
|
|
2262
|
+
e.locale && (_.locale = e.locale), b(e.format) ? _.key = e.format : P(e.format) && (b(e.format.key) && (_.key = e.format.key), p = Object.keys(e.format).reduce((h, A) => t.includes(A) ? K(M(), h, { [A]: e.format[A] }) : h, M()));
|
|
2263
2263
|
const l = r(e.value, _, p);
|
|
2264
2264
|
let g = [_.key];
|
|
2265
|
-
j(l) ? g = l.map((
|
|
2266
|
-
const D = c[
|
|
2267
|
-
return ms(y) && (y[0].key = `${
|
|
2268
|
-
}) :
|
|
2269
|
-
const I = K(M(), o),
|
|
2270
|
-
return qn(
|
|
2265
|
+
j(l) ? g = l.map((h, A) => {
|
|
2266
|
+
const D = c[h.type], y = D ? D({ [h.type]: h.value, index: A, parts: l }) : [h.value];
|
|
2267
|
+
return ms(y) && (y[0].key = `${h.type}-${A}`), y;
|
|
2268
|
+
}) : b(l) && (g = [l]);
|
|
2269
|
+
const I = K(M(), o), N = b(e.tag) || P(e.tag) ? e.tag : pt();
|
|
2270
|
+
return qn(N, I, g);
|
|
2271
2271
|
};
|
|
2272
2272
|
}
|
|
2273
2273
|
K({
|
|
@@ -2278,7 +2278,7 @@ K({
|
|
|
2278
2278
|
format: {
|
|
2279
2279
|
type: [String, Object]
|
|
2280
2280
|
}
|
|
2281
|
-
},
|
|
2281
|
+
}, hn);
|
|
2282
2282
|
K({
|
|
2283
2283
|
value: {
|
|
2284
2284
|
type: [Number, Date],
|
|
@@ -2287,19 +2287,19 @@ K({
|
|
|
2287
2287
|
format: {
|
|
2288
2288
|
type: [String, Object]
|
|
2289
2289
|
}
|
|
2290
|
-
},
|
|
2290
|
+
}, hn);
|
|
2291
2291
|
const fs = /* @__PURE__ */ ie("global-vue-i18n");
|
|
2292
2292
|
function kn(e = {}) {
|
|
2293
2293
|
const n = dn();
|
|
2294
2294
|
if (n == null)
|
|
2295
|
-
throw
|
|
2295
|
+
throw Ne(Ee.MUST_BE_CALL_SETUP_TOP);
|
|
2296
2296
|
if (!n.isCE && n.appContext.app != null && !n.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2297
|
-
throw
|
|
2298
|
-
const t = Es(n), r =
|
|
2297
|
+
throw Ne(Ee.NOT_INSTALLED);
|
|
2298
|
+
const t = Es(n), r = Ts(t), c = ut(n), o = gs(e, c);
|
|
2299
2299
|
if (o === "global")
|
|
2300
2300
|
return _s(r, e, c), r;
|
|
2301
2301
|
if (o === "parent") {
|
|
2302
|
-
let l =
|
|
2302
|
+
let l = vs(t, n, e.__useComponent);
|
|
2303
2303
|
return l == null && (l = r), l;
|
|
2304
2304
|
}
|
|
2305
2305
|
const _ = t;
|
|
@@ -2313,19 +2313,19 @@ function kn(e = {}) {
|
|
|
2313
2313
|
function Es(e) {
|
|
2314
2314
|
const n = ft(e.isCE ? fs : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
2315
2315
|
if (!n)
|
|
2316
|
-
throw
|
|
2316
|
+
throw Ne(e.isCE ? Ee.NOT_INSTALLED_WITH_PROVIDE : Ee.UNEXPECTED_ERROR);
|
|
2317
2317
|
return n;
|
|
2318
2318
|
}
|
|
2319
2319
|
function gs(e, n) {
|
|
2320
2320
|
return Me(e) ? "__i18n" in n ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
2321
2321
|
}
|
|
2322
|
-
function
|
|
2322
|
+
function Ts(e) {
|
|
2323
2323
|
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
2324
2324
|
}
|
|
2325
|
-
function
|
|
2325
|
+
function vs(e, n, t = !1) {
|
|
2326
2326
|
let r = null;
|
|
2327
2327
|
const c = n.root;
|
|
2328
|
-
let o =
|
|
2328
|
+
let o = hs(n, t);
|
|
2329
2329
|
for (; o != null; ) {
|
|
2330
2330
|
const _ = e;
|
|
2331
2331
|
if (e.mode === "composition")
|
|
@@ -2340,7 +2340,7 @@ function Ts(e, n, t = !1) {
|
|
|
2340
2340
|
}
|
|
2341
2341
|
return r;
|
|
2342
2342
|
}
|
|
2343
|
-
function
|
|
2343
|
+
function hs(e, n = !1) {
|
|
2344
2344
|
return e == null ? null : n && e.vnode.ctx || e.parent;
|
|
2345
2345
|
}
|
|
2346
2346
|
function ks(e, n, t) {
|
|
@@ -2353,12 +2353,12 @@ function ks(e, n, t) {
|
|
|
2353
2353
|
}, n);
|
|
2354
2354
|
}
|
|
2355
2355
|
cs();
|
|
2356
|
-
Fr(
|
|
2356
|
+
Fr(vr);
|
|
2357
2357
|
Gr(Mr);
|
|
2358
2358
|
Br(zn);
|
|
2359
2359
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2360
2360
|
const e = ce();
|
|
2361
|
-
e.__INTLIFY__ = !0,
|
|
2361
|
+
e.__INTLIFY__ = !0, hr(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
2362
2362
|
}
|
|
2363
2363
|
export {
|
|
2364
2364
|
kn as u
|