@feedmepos/mf-inventory-portal 1.2.22-dev.1 → 1.2.22-dev.3
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-CVo40hoN.js → App-aHs88TEq.js} +1 -1
- package/dist/{ApprovalView-B99YGXOt.js → ApprovalView-DBZQsKg9.js} +9 -9
- package/dist/{BindingsDialog-DGFYmVX9.js → BindingsDialog-arTYvJn2.js} +2 -2
- package/dist/{BindingsPicker-CVWxRkDE.js → BindingsPicker-Bm0s6sKE.js} +9 -9
- package/dist/{BindingsTable-Cxs_cQrM.js → BindingsTable-DXlM-qDU.js} +1 -1
- package/dist/ClosingDraftView-DVB02I09.js +1888 -0
- package/dist/ClosingTemplateView-k8EkjlIJ.js +2001 -0
- package/dist/{DeliveryOrderPrintPreview-D-H7S-4t.js → DeliveryOrderPrintPreview-CSv5FOby.js} +8 -8
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BsPMd4IE.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-D0BKSSSp.js} +33 -33
- package/dist/{FmMultiselectDialog-DXVvibUU.js → FmMultiselectDialog-DOf8rbVD.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-Dq8lMkNV.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BZX05ToS.js} +49 -49
- package/dist/{ImportView-DUPfQshy.js → ImportView-6ckPf1Ll.js} +27 -27
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DxLVS1Ar.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-QK12Klz5.js} +8 -8
- package/dist/{IngredientGroupView-CqPl6RZI.js → IngredientGroupView-D2RuwnJ3.js} +17 -17
- package/dist/{IngredientsView--7ro7P7J.js → IngredientsView-CZIyrGJ0.js} +72 -73
- package/dist/{IntegrationView-BZnq8gYp.js → IntegrationView-D9JrR8Hb.js} +3 -3
- package/dist/{InventoryBindingForm-DASUGZuO.js → InventoryBindingForm-6QGOGZlB.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-l_EgNW0u.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DG_WKGVU.js} +12 -12
- package/dist/{InventoryBindingSummary-BoUAsK9S.js → InventoryBindingSummary-CoeODKLp.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DimqJCjO.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Ovi_bWlF.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-C_wNgXUC.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CaKjg0eV.js} +7 -7
- package/dist/{PublishView-B-Zal--Y.js → PublishView-BLtshSks.js} +10 -10
- package/dist/{PurchaseOrderPrintPreview-CoXu4VO-.js → PurchaseOrderPrintPreview-DCLjVNlh.js} +13 -13
- package/dist/{ReceiveRequestView-B7rprDy7.js → ReceiveRequestView-DdJ3_qMY.js} +115 -115
- package/dist/{RecipeView-BbMlUt0v.js → RecipeView-DYFDguU9.js} +50 -50
- package/dist/{StockView-Bko2-Rzd.js → StockView-DyUrO7Y0.js} +7 -7
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DONtcweN.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Bj05qEWl.js} +1 -1
- package/dist/{SupplierView-D4hAT4CW.js → SupplierView-BYDbDGfd.js} +93 -93
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DuaHM-Wk.js +3233 -0
- package/dist/{TransferTemplateView-BLWYhdZG.js → TransferTemplateView-db5L1CIZ.js} +140 -140
- package/dist/{UnitView-Boi_sRGP.js → UnitView-4ygzmFTY.js} +44 -44
- package/dist/{WarehouseView-B1aAyncU.js → WarehouseView-D-b-t21n.js} +66 -66
- package/dist/api/adjustment-template.d.ts +1 -0
- package/dist/api/closing-template.d.ts +1 -0
- package/dist/{app-C4dN86_k.js → app-BDiHcGqi.js} +30052 -30029
- package/dist/app.js +4 -4
- package/dist/{decimal-Cf4voIJl.js → decimal-C-phHxE7.js} +1 -1
- package/dist/{format-unit-display-CjsVuoHS.js → format-unit-display-MVZRrkkD.js} +33 -33
- package/dist/{import-export.helper-DmouV6nF.js → import-export.helper-C3camZX5.js} +6 -6
- package/dist/{index-DK93lkR_.js → index-B60G756h.js} +1 -1
- package/dist/{index-D2C87f4k.js → index-B6zknB--.js} +1 -1
- package/dist/{purchase-order-template-CQcIyT35.js → purchase-order-template-Bkz_Xjv5.js} +1 -1
- package/dist/{stock-CRKwCBhd.js → stock-DnawcaKQ.js} +1 -1
- package/dist/{supplier-BGeDlnSm.js → supplier-Bq0fMcn0.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-Dg3hbUaX.js → use-ingredient-select-dialog-BH2O0eEN.js} +1 -1
- package/dist/{use-inventory-binding-dialog-DRCiAYUs.js → use-inventory-binding-dialog-CI_pMWSk.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +60 -0
- package/dist/views/adjustment-template/wastage-template/table.d.ts +60 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +56 -0
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +468 -0
- package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +8 -1
- package/dist/views/receive-request/components/delivery-order-form/SystemTrailDialog.vue.d.ts +8 -4
- package/package.json +3 -3
- package/dist/ClosingDraftView-gBO5Icdy.js +0 -1739
- package/dist/ClosingTemplateView-C61_1m3k.js +0 -1970
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Cr30q-Ft.js +0 -3394
- package/dist/closing-template-CNtgIoiQ.js +0 -53
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as ie, mergeModels as Hd, computed as E, useModel as ed, resolveComponent as
|
|
2
|
-
import { u as ce } from "./supplier-
|
|
3
|
-
import { b as ke, i as Yd, D as td, j as ye, f as we, a as Ve,
|
|
1
|
+
import { defineComponent as ie, mergeModels as Hd, computed as E, useModel as ed, resolveComponent as L, openBlock as S, createElementBlock as w, createElementVNode as h, createVNode as C, withCtx as U, toDisplayString as A, unref as p, Fragment as oe, renderList as le, ref as k, createBlock as z, createCommentVNode as W, createTextVNode as wd, isRef as dd, normalizeClass as ae, watch as Td, createSlots as jd, normalizeStyle as Kd, Teleport as Wd } from "vue";
|
|
2
|
+
import { u as ce } from "./supplier-Bq0fMcn0.js";
|
|
3
|
+
import { b as ke, i as Yd, D as td, j as ye, f as we, a as Ve, v as rd, w as nd, o as Xd, x as Zd, ar as Ad, u as Pe, r as Z, c as Ce, e as B, z as qd, W as Rd, Y as zd, X as Md, as as Jd, C as Qd, E as et, G as dt, I as tt, J as rt, K as nt, L as ve } from "./app-BDiHcGqi.js";
|
|
4
4
|
import { useI18n as ee, useCoreStore as Ne } from "@feedmepos/mf-common";
|
|
5
5
|
import { useDialog as Se, useSnackbar as xe, useProxiedModel as od, useDialogChild as ot, useBreakpoints as at } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as it } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
7
|
-
import { _ as $t } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { u as lt } from "./purchase-order-template-
|
|
7
|
+
import { _ as $t } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BZX05ToS.js";
|
|
8
|
+
import { u as lt } from "./purchase-order-template-Bkz_Xjv5.js";
|
|
9
9
|
import { defineStore as st } from "pinia";
|
|
10
10
|
function ut(e, d) {
|
|
11
11
|
const { t } = ee(), r = ke();
|
|
@@ -166,13 +166,13 @@ const ct = { class: "flex flex-col gap-12" }, pt = { class: "flex flex-col" }, f
|
|
|
166
166
|
o.value = N;
|
|
167
167
|
}
|
|
168
168
|
return (c, y) => {
|
|
169
|
-
const g =
|
|
169
|
+
const g = L("FmButton");
|
|
170
170
|
return S(), w("div", ct, [
|
|
171
171
|
h("div", pt, [
|
|
172
172
|
h("div", ft, [
|
|
173
173
|
h("div", mt, [
|
|
174
174
|
C(it, { "z-index": 50 }, {
|
|
175
|
-
default:
|
|
175
|
+
default: U(() => [
|
|
176
176
|
h("div", yt, A(p(i)("inventory.supplier.supplyItems.title")), 1)
|
|
177
177
|
]),
|
|
178
178
|
_: 1
|
|
@@ -214,7 +214,7 @@ const ct = { class: "flex flex-col gap-12" }, pt = { class: "flex flex-col" }, f
|
|
|
214
214
|
precision: 4,
|
|
215
215
|
"format-minimum-precision": 2
|
|
216
216
|
}, {
|
|
217
|
-
prepend:
|
|
217
|
+
prepend: U(() => {
|
|
218
218
|
var T, V;
|
|
219
219
|
return [
|
|
220
220
|
h("div", St, A(p(rd)(((T = p(d).currentCountry) == null ? void 0 : T.value) ?? p(nd)) === "MYR" ? "RM" : p(rd)(((V = p(d).currentCountry) == null ? void 0 : V.value) ?? p(nd))), 1)
|
|
@@ -237,13 +237,13 @@ const ct = { class: "flex flex-col gap-12" }, pt = { class: "flex flex-col" }, f
|
|
|
237
237
|
]);
|
|
238
238
|
};
|
|
239
239
|
}
|
|
240
|
-
}), Et = { class: "flex flex-col gap-40" }, It = { class: "flex flex-col gap-16" }, Ot = { key: 0 }, Ft = { class: "flex flex-col gap-8" }, wt = { class: "fm-typo-en-title-sm-800" }, Tt = { class: "grid grid-cols-2 gap-24" }, At = { class: "flex flex-col gap-8" }, Rt = { class: "fm-typo-en-title-sm-800" }, Mt = { class: "flex flex-col gap-16" },
|
|
240
|
+
}), Et = { class: "flex flex-col gap-40" }, It = { class: "flex flex-col gap-16" }, Ot = { key: 0 }, Ft = { class: "flex flex-col gap-8" }, wt = { class: "fm-typo-en-title-sm-800" }, Tt = { class: "grid grid-cols-2 gap-24" }, At = { class: "flex flex-col gap-8" }, Rt = { class: "fm-typo-en-title-sm-800" }, Mt = { class: "flex flex-col gap-16" }, Lt = {
|
|
241
241
|
key: 0,
|
|
242
242
|
class: "flex flex-col gap-8"
|
|
243
|
-
},
|
|
243
|
+
}, Dt = { class: "fm-typo-en-title-sm-800" }, kt = { class: "flex flex-col gap-16" }, Vt = {
|
|
244
244
|
key: 1,
|
|
245
245
|
class: "flex flex-col gap-8"
|
|
246
|
-
},
|
|
246
|
+
}, Ut = /* @__PURE__ */ ie({
|
|
247
247
|
__name: "SupplierForm",
|
|
248
248
|
props: {
|
|
249
249
|
modelValue: {},
|
|
@@ -389,13 +389,13 @@ const ct = { class: "flex flex-col gap-12" }, pt = { class: "flex flex-col" }, f
|
|
|
389
389
|
(a = ($ = x.value) == null ? void 0 : $.resetInputs) == null || a.call($);
|
|
390
390
|
}
|
|
391
391
|
}), ($, a) => {
|
|
392
|
-
const H =
|
|
392
|
+
const H = L("FmChip"), I = L("FmTextField"), R = L("FmPhoneNumber"), de = L("FmPill"), M = L("FmForm");
|
|
393
393
|
return S(), z(M, {
|
|
394
394
|
ref_key: "formRef",
|
|
395
395
|
ref: x,
|
|
396
396
|
onValidationSuccess: a[13] || (a[13] = (P) => n("validation-success"))
|
|
397
397
|
}, {
|
|
398
|
-
default:
|
|
398
|
+
default: U(() => [
|
|
399
399
|
h("div", Et, [
|
|
400
400
|
h("div", It, [
|
|
401
401
|
v.value ? (S(), w("div", Ot, [
|
|
@@ -503,8 +503,8 @@ const ct = { class: "flex flex-col gap-12" }, pt = { class: "flex flex-col" }, f
|
|
|
503
503
|
}, null, 8, ["disabled", "label", "modelValue"])
|
|
504
504
|
])
|
|
505
505
|
]),
|
|
506
|
-
p(i).enableSupplierPreparationTime ? (S(), w("div",
|
|
507
|
-
h("div",
|
|
506
|
+
p(i).enableSupplierPreparationTime ? (S(), w("div", Lt, [
|
|
507
|
+
h("div", Dt, [
|
|
508
508
|
wd(A(p(s)("inventory.supplier.delivery.title")) + " ", 1),
|
|
509
509
|
C(de, { variant: "beta" })
|
|
510
510
|
]),
|
|
@@ -530,7 +530,7 @@ const ct = { class: "flex flex-col gap-12" }, pt = { class: "flex flex-col" }, f
|
|
|
530
530
|
}, 512);
|
|
531
531
|
};
|
|
532
532
|
}
|
|
533
|
-
}),
|
|
533
|
+
}), Bt = {
|
|
534
534
|
key: 0,
|
|
535
535
|
class: "mt-5 flex flex-col gap-4"
|
|
536
536
|
}, Gt = { class: "line-clamp-1" }, Ht = { class: "flex gap-4" }, jt = /* @__PURE__ */ ie({
|
|
@@ -544,21 +544,21 @@ const ct = { class: "flex flex-col gap-12" }, pt = { class: "flex flex-col" }, f
|
|
|
544
544
|
setup(e, { expose: d, emit: t }) {
|
|
545
545
|
const r = ke(), n = e, i = t, o = k(!1), l = xe(), s = Se(), { t: u } = ee(), v = ce(), m = lt(), c = Ve(), y = k(!1), g = E(() => {
|
|
546
546
|
switch (n.mode) {
|
|
547
|
-
case
|
|
547
|
+
case B.READ:
|
|
548
548
|
return "";
|
|
549
|
-
case
|
|
549
|
+
case B.UPDATE:
|
|
550
550
|
return u("inventory.supplier.update.title");
|
|
551
|
-
case
|
|
551
|
+
case B.CREATE:
|
|
552
552
|
return u("inventory.supplier.create.title");
|
|
553
553
|
}
|
|
554
554
|
return "";
|
|
555
555
|
}), N = E(() => {
|
|
556
556
|
switch (n.mode) {
|
|
557
|
-
case
|
|
557
|
+
case B.READ:
|
|
558
558
|
return "";
|
|
559
|
-
case
|
|
559
|
+
case B.UPDATE:
|
|
560
560
|
return u("common.save");
|
|
561
|
-
case
|
|
561
|
+
case B.CREATE:
|
|
562
562
|
return u("common.add");
|
|
563
563
|
}
|
|
564
564
|
return "";
|
|
@@ -607,11 +607,11 @@ const ct = { class: "flex flex-col gap-12" }, pt = { class: "flex flex-col" }, f
|
|
|
607
607
|
async function V() {
|
|
608
608
|
var _;
|
|
609
609
|
switch (n.mode) {
|
|
610
|
-
case
|
|
610
|
+
case B.READ:
|
|
611
611
|
return;
|
|
612
|
-
case
|
|
612
|
+
case B.UPDATE:
|
|
613
613
|
return ((_ = b.value.supplyItems) == null ? void 0 : _.length) > 0 ? await T() : y.value = !1, X();
|
|
614
|
-
case
|
|
614
|
+
case B.CREATE:
|
|
615
615
|
return Y();
|
|
616
616
|
}
|
|
617
617
|
}
|
|
@@ -727,7 +727,7 @@ const ct = { class: "flex flex-col gap-12" }, pt = { class: "flex flex-col" }, f
|
|
|
727
727
|
}
|
|
728
728
|
}
|
|
729
729
|
return (_, x) => {
|
|
730
|
-
const $ =
|
|
730
|
+
const $ = L("FmLabel"), a = L("FmField"), H = L("FmButton"), I = L("FmSideSheet");
|
|
731
731
|
return S(), z(I, {
|
|
732
732
|
header: g.value,
|
|
733
733
|
modelValue: p(O),
|
|
@@ -736,10 +736,10 @@ const ct = { class: "flex flex-col gap-12" }, pt = { class: "flex flex-col" }, f
|
|
|
736
736
|
"close-button": "",
|
|
737
737
|
"max-width": 500
|
|
738
738
|
}, {
|
|
739
|
-
default:
|
|
739
|
+
default: U(() => {
|
|
740
740
|
var R;
|
|
741
741
|
return [
|
|
742
|
-
(S(), z(
|
|
742
|
+
(S(), z(Ut, {
|
|
743
743
|
class: "w-full",
|
|
744
744
|
ref_key: "formRef",
|
|
745
745
|
ref: f,
|
|
@@ -749,10 +749,10 @@ const ct = { class: "flex flex-col gap-12" }, pt = { class: "flex flex-col" }, f
|
|
|
749
749
|
key: ((R = _.supplier) == null ? void 0 : R._id) ?? "",
|
|
750
750
|
disabled: o.value
|
|
751
751
|
}, null, 8, ["modelValue", "disabled"])),
|
|
752
|
-
p(r).isEnabled && p(r).getVendorSubsidiaryName(p(b)._id) ? (S(), w("div",
|
|
752
|
+
p(r).isEnabled && p(r).getVendorSubsidiaryName(p(b)._id) ? (S(), w("div", Bt, [
|
|
753
753
|
C($, { label: "NetSuite Subsidiary" }),
|
|
754
754
|
C(a, null, {
|
|
755
|
-
default:
|
|
755
|
+
default: U(() => [
|
|
756
756
|
h("span", Gt, A(p(r).getVendorSubsidiaryName(p(b)._id)), 1)
|
|
757
757
|
]),
|
|
758
758
|
_: 1
|
|
@@ -760,7 +760,7 @@ const ct = { class: "flex flex-col gap-12" }, pt = { class: "flex flex-col" }, f
|
|
|
760
760
|
])) : W("", !0)
|
|
761
761
|
];
|
|
762
762
|
}),
|
|
763
|
-
"side-sheet-footer":
|
|
763
|
+
"side-sheet-footer": U(() => [
|
|
764
764
|
h("div", Ht, [
|
|
765
765
|
C(H, {
|
|
766
766
|
loading: o.value,
|
|
@@ -799,7 +799,7 @@ function Zt(e, d) {
|
|
|
799
799
|
e.prototype = Object.create(d && d.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), d && se(e, d);
|
|
800
800
|
}
|
|
801
801
|
function qt(e) {
|
|
802
|
-
var d =
|
|
802
|
+
var d = Dd();
|
|
803
803
|
return function() {
|
|
804
804
|
var r = ue(e), n;
|
|
805
805
|
if (d) {
|
|
@@ -815,9 +815,9 @@ function zt(e, d) {
|
|
|
815
815
|
return d;
|
|
816
816
|
if (d !== void 0)
|
|
817
817
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
818
|
-
return
|
|
818
|
+
return Ld(e);
|
|
819
819
|
}
|
|
820
|
-
function
|
|
820
|
+
function Ld(e) {
|
|
821
821
|
if (e === void 0)
|
|
822
822
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
823
823
|
return e;
|
|
@@ -839,14 +839,14 @@ function Ae(e) {
|
|
|
839
839
|
}, Ae(e);
|
|
840
840
|
}
|
|
841
841
|
function ge(e, d, t) {
|
|
842
|
-
return
|
|
842
|
+
return Dd() ? ge = Reflect.construct : ge = function(n, i, o) {
|
|
843
843
|
var l = [null];
|
|
844
844
|
l.push.apply(l, i);
|
|
845
845
|
var s = Function.bind.apply(n, l), u = new s();
|
|
846
846
|
return o && se(u, o.prototype), u;
|
|
847
847
|
}, ge.apply(null, arguments);
|
|
848
848
|
}
|
|
849
|
-
function
|
|
849
|
+
function Dd() {
|
|
850
850
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
|
|
851
851
|
if (typeof Proxy == "function") return !0;
|
|
852
852
|
try {
|
|
@@ -874,10 +874,10 @@ var q = /* @__PURE__ */ function(e) {
|
|
|
874
874
|
var d = qt(t);
|
|
875
875
|
function t(r) {
|
|
876
876
|
var n;
|
|
877
|
-
return Xt(this, t), n = d.call(this, r), Object.setPrototypeOf(
|
|
877
|
+
return Xt(this, t), n = d.call(this, r), Object.setPrototypeOf(Ld(n), t.prototype), n.name = n.constructor.name, n;
|
|
878
878
|
}
|
|
879
879
|
return Yt(t);
|
|
880
|
-
}(/* @__PURE__ */ Ae(Error)),
|
|
880
|
+
}(/* @__PURE__ */ Ae(Error)), Ue = 2, Qt = 17, er = 3, G = "0-90-9٠-٩۰-۹", dr = "-‐-―−ー-", tr = "//", rr = "..", nr = " ", or = "()()[]\\[\\]", ar = "~⁓∼~", be = "".concat(dr).concat(tr).concat(rr).concat(nr).concat(or).concat(ar), Be = "++";
|
|
881
881
|
function ad(e, d) {
|
|
882
882
|
e = e.split("-"), d = d.split("-");
|
|
883
883
|
for (var t = e[0].split("."), r = d[0].split("."), n = 0; n < 3; n++) {
|
|
@@ -914,7 +914,7 @@ function $r(e, d) {
|
|
|
914
914
|
function Ie(e, d, t) {
|
|
915
915
|
return d && $r(e.prototype, d), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
916
916
|
}
|
|
917
|
-
var lr = "1.2.0", sr = "1.7.35", id = " ext. ", ur = /^\d+$/,
|
|
917
|
+
var lr = "1.2.0", sr = "1.7.35", id = " ext. ", ur = /^\d+$/, D = /* @__PURE__ */ function() {
|
|
918
918
|
function e(d) {
|
|
919
919
|
Ee(this, e), mr(d), this.metadata = d, kd.call(this, d);
|
|
920
920
|
}
|
|
@@ -1334,7 +1334,7 @@ var yr = function(d) {
|
|
|
1334
1334
|
return Re(d);
|
|
1335
1335
|
};
|
|
1336
1336
|
function Ge(e, d) {
|
|
1337
|
-
if (d = new
|
|
1337
|
+
if (d = new D(d), d.hasCountry(e))
|
|
1338
1338
|
return d.country(e).countryCallingCode();
|
|
1339
1339
|
throw new Error("Unknown country: ".concat(e));
|
|
1340
1340
|
}
|
|
@@ -1352,14 +1352,14 @@ function Vd(e) {
|
|
|
1352
1352
|
var d = "20", t = "15", r = "9", n = "6", i = "[ \\t,]*", o = "[:\\..]?[ \\t,-]*", l = "#?", s = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", u = "(?:[xx##~~]|int|int)", v = "[- ]+", m = "[ \\t]*", c = "(?:,{2}|;)", y = gr + ne(d), g = i + s + o + ne(d) + l, N = i + u + o + ne(r) + l, f = v + ne(n) + "#", O = m + c + o + ne(t) + l, b = m + "(?:,)+" + o + ne(r) + l;
|
|
1353
1353
|
return y + "|" + g + "|" + N + "|" + f + "|" + O + "|" + b;
|
|
1354
1354
|
}
|
|
1355
|
-
var hr = "[" + G + "]{" +
|
|
1355
|
+
var hr = "[" + G + "]{" + Ue + "}", br = "[" + Be + "]{0,1}(?:[" + be + "]*[" + G + "]){3,}[" + be + G + "]*", _r = new RegExp("^[" + Be + "]{0,1}(?:[" + be + "]*[" + G + "]){1,2}$", "i"), Pr = br + // Phone number extensions
|
|
1356
1356
|
"(?:" + Vd() + ")?", Cr = new RegExp(
|
|
1357
1357
|
// Either a short two-digit-only phone number
|
|
1358
1358
|
"^" + hr + "$|^" + Pr + "$",
|
|
1359
1359
|
"i"
|
|
1360
1360
|
);
|
|
1361
1361
|
function Nr(e) {
|
|
1362
|
-
return e.length >=
|
|
1362
|
+
return e.length >= Ue && Cr.test(e);
|
|
1363
1363
|
}
|
|
1364
1364
|
function Sr(e) {
|
|
1365
1365
|
return _r.test(e);
|
|
@@ -1501,7 +1501,7 @@ function Tr(e, d, t) {
|
|
|
1501
1501
|
return o === i ? "IS_POSSIBLE" : o > i ? "TOO_SHORT" : n[n.length - 1] < i ? "TOO_LONG" : n.indexOf(i, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
|
|
1502
1502
|
}
|
|
1503
1503
|
function Ar(e, d, t) {
|
|
1504
|
-
if (d === void 0 && (d = {}), t = new
|
|
1504
|
+
if (d === void 0 && (d = {}), t = new D(t), d.v2) {
|
|
1505
1505
|
if (!e.countryCallingCode)
|
|
1506
1506
|
throw new Error("Invalid phone number object passed");
|
|
1507
1507
|
t.selectNumberingPlan(e.countryCallingCode);
|
|
@@ -1519,12 +1519,12 @@ function Ar(e, d, t) {
|
|
|
1519
1519
|
}
|
|
1520
1520
|
}
|
|
1521
1521
|
if (t.possibleLengths())
|
|
1522
|
-
return
|
|
1522
|
+
return Ud(e.phone || e.nationalNumber, t);
|
|
1523
1523
|
if (e.countryCallingCode && t.isNonGeographicCallingCode(e.countryCallingCode))
|
|
1524
1524
|
return !0;
|
|
1525
1525
|
throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
|
|
1526
1526
|
}
|
|
1527
|
-
function
|
|
1527
|
+
function Ud(e, d) {
|
|
1528
1528
|
switch (He(e, d)) {
|
|
1529
1529
|
case "IS_POSSIBLE":
|
|
1530
1530
|
return !0;
|
|
@@ -1562,15 +1562,15 @@ function pd(e, d) {
|
|
|
1562
1562
|
r[t] = e[t];
|
|
1563
1563
|
return r;
|
|
1564
1564
|
}
|
|
1565
|
-
var
|
|
1565
|
+
var Lr = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
|
1566
1566
|
function je(e, d, t) {
|
|
1567
1567
|
if (d = d || {}, !(!e.country && !e.countryCallingCode)) {
|
|
1568
|
-
t = new
|
|
1568
|
+
t = new D(t), t.selectNumberingPlan(e.country, e.countryCallingCode);
|
|
1569
1569
|
var r = d.v2 ? e.nationalNumber : e.phone;
|
|
1570
1570
|
if (J(r, t.nationalNumberPattern())) {
|
|
1571
1571
|
if (Oe(r, "FIXED_LINE", t))
|
|
1572
1572
|
return t.type("MOBILE") && t.type("MOBILE").pattern() === "" || !t.type("MOBILE") || Oe(r, "MOBILE", t) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
|
|
1573
|
-
for (var n = Rr(
|
|
1573
|
+
for (var n = Rr(Lr), i; !(i = n()).done; ) {
|
|
1574
1574
|
var o = i.value;
|
|
1575
1575
|
if (Oe(r, o, t))
|
|
1576
1576
|
return o;
|
|
@@ -1581,26 +1581,26 @@ function je(e, d, t) {
|
|
|
1581
1581
|
function Oe(e, d, t) {
|
|
1582
1582
|
return d = t.type(d), !d || !d.pattern() || d.possibleLengths() && d.possibleLengths().indexOf(e.length) < 0 ? !1 : J(e, d.pattern());
|
|
1583
1583
|
}
|
|
1584
|
-
function
|
|
1585
|
-
if (d = d || {}, t = new
|
|
1584
|
+
function Dr(e, d, t) {
|
|
1585
|
+
if (d = d || {}, t = new D(t), t.selectNumberingPlan(e.country, e.countryCallingCode), t.hasTypes())
|
|
1586
1586
|
return je(e, d, t.metadata) !== void 0;
|
|
1587
1587
|
var r = d.v2 ? e.nationalNumber : e.phone;
|
|
1588
1588
|
return J(r, t.nationalNumberPattern());
|
|
1589
1589
|
}
|
|
1590
1590
|
function kr(e, d, t) {
|
|
1591
|
-
var r = new
|
|
1591
|
+
var r = new D(t), n = r.getCountryCodesForCallingCode(e);
|
|
1592
1592
|
return n ? n.filter(function(i) {
|
|
1593
1593
|
return Vr(d, i, t);
|
|
1594
1594
|
}) : [];
|
|
1595
1595
|
}
|
|
1596
1596
|
function Vr(e, d, t) {
|
|
1597
|
-
var r = new
|
|
1597
|
+
var r = new D(t);
|
|
1598
1598
|
return r.selectNumberingPlan(d), r.numberingPlan.possibleLengths().indexOf(e.length) >= 0;
|
|
1599
1599
|
}
|
|
1600
|
-
function
|
|
1600
|
+
function Ur(e) {
|
|
1601
1601
|
return e.replace(new RegExp("[".concat(be, "]+"), "g"), " ").trim();
|
|
1602
1602
|
}
|
|
1603
|
-
var
|
|
1603
|
+
var Br = /(\$\d)/;
|
|
1604
1604
|
function Gr(e, d, t) {
|
|
1605
1605
|
var r = t.useInternationalFormat, n = t.withNationalPrefix, i = e.replace(new RegExp(d.pattern()), r ? d.internationalFormat() : (
|
|
1606
1606
|
// This library doesn't use `domestic_carrier_code_formatting_rule`,
|
|
@@ -1616,13 +1616,13 @@ function Gr(e, d, t) {
|
|
|
1616
1616
|
// ? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
|
|
1617
1617
|
// : format.format()
|
|
1618
1618
|
// )
|
|
1619
|
-
n && d.nationalPrefixFormattingRule() ? d.format().replace(
|
|
1619
|
+
n && d.nationalPrefixFormattingRule() ? d.format().replace(Br, d.nationalPrefixFormattingRule()) : d.format()
|
|
1620
1620
|
));
|
|
1621
|
-
return r ?
|
|
1621
|
+
return r ? Ur(i) : i;
|
|
1622
1622
|
}
|
|
1623
1623
|
var Hr = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
|
|
1624
1624
|
function jr(e, d, t) {
|
|
1625
|
-
var r = new
|
|
1625
|
+
var r = new D(t);
|
|
1626
1626
|
if (r.selectNumberingPlan(e, d), r.defaultIDDPrefix())
|
|
1627
1627
|
return r.defaultIDDPrefix();
|
|
1628
1628
|
if (Hr.test(r.IDDPrefix()))
|
|
@@ -1693,7 +1693,7 @@ var vd = {
|
|
|
1693
1693
|
}
|
|
1694
1694
|
};
|
|
1695
1695
|
function Zr(e, d, t, r) {
|
|
1696
|
-
if (t ? t = yd(yd({}, vd), t) : t = vd, r = new
|
|
1696
|
+
if (t ? t = yd(yd({}, vd), t) : t = vd, r = new D(r), e.country && e.country !== "001") {
|
|
1697
1697
|
if (!r.hasCountry(e.country))
|
|
1698
1698
|
throw new Error("Unknown country: ".concat(e.country));
|
|
1699
1699
|
r.country(e.country);
|
|
@@ -1826,14 +1826,14 @@ var t0 = /* @__PURE__ */ function() {
|
|
|
1826
1826
|
}, {
|
|
1827
1827
|
key: "isValid",
|
|
1828
1828
|
value: function() {
|
|
1829
|
-
return
|
|
1829
|
+
return Dr(this, {
|
|
1830
1830
|
v2: !0
|
|
1831
1831
|
}, this.getMetadata());
|
|
1832
1832
|
}
|
|
1833
1833
|
}, {
|
|
1834
1834
|
key: "isNonGeographic",
|
|
1835
1835
|
value: function() {
|
|
1836
|
-
var t = new
|
|
1836
|
+
var t = new D(this.getMetadata());
|
|
1837
1837
|
return t.isNonGeographicCallingCode(this.countryCallingCode);
|
|
1838
1838
|
}
|
|
1839
1839
|
}, {
|
|
@@ -1891,7 +1891,7 @@ var t0 = /* @__PURE__ */ function() {
|
|
|
1891
1891
|
return /^[A-Z]{2}$/.test(d);
|
|
1892
1892
|
};
|
|
1893
1893
|
function n0(e, d) {
|
|
1894
|
-
var t, r, n = new
|
|
1894
|
+
var t, r, n = new D(d);
|
|
1895
1895
|
return r0(e) ? (t = e, n.selectNumberingPlan(t), r = n.countryCallingCode()) : r = e, {
|
|
1896
1896
|
country: t,
|
|
1897
1897
|
countryCallingCode: r
|
|
@@ -1900,7 +1900,7 @@ function n0(e, d) {
|
|
|
1900
1900
|
var o0 = new RegExp("([" + G + "])");
|
|
1901
1901
|
function a0(e, d, t, r) {
|
|
1902
1902
|
if (d) {
|
|
1903
|
-
var n = new
|
|
1903
|
+
var n = new D(r);
|
|
1904
1904
|
n.selectNumberingPlan(d, t);
|
|
1905
1905
|
var i = new RegExp(n.IDDPrefix());
|
|
1906
1906
|
if (e.search(i) === 0) {
|
|
@@ -1971,7 +1971,7 @@ function l0(e, d) {
|
|
|
1971
1971
|
function s0(e, d, t, r) {
|
|
1972
1972
|
var n = d ? Ge(d, r) : t;
|
|
1973
1973
|
if (e.indexOf(n) === 0) {
|
|
1974
|
-
r = new
|
|
1974
|
+
r = new D(r), r.selectNumberingPlan(d, t);
|
|
1975
1975
|
var i = e.slice(n.length), o = Me(i, r), l = o.nationalNumber, s = Me(e, r), u = s.nationalNumber;
|
|
1976
1976
|
if (!J(u, r.nationalNumberPattern()) && J(l, r.nationalNumberPattern()) || He(u, r) === "TOO_LONG")
|
|
1977
1977
|
return {
|
|
@@ -2010,7 +2010,7 @@ function u0(e, d, t, r) {
|
|
|
2010
2010
|
}
|
|
2011
2011
|
if (e[1] === "0")
|
|
2012
2012
|
return {};
|
|
2013
|
-
r = new
|
|
2013
|
+
r = new D(r);
|
|
2014
2014
|
for (var u = 2; u - 1 <= er && u <= e.length; ) {
|
|
2015
2015
|
var v = e.slice(1, u);
|
|
2016
2016
|
if (r.hasCallingCode(v))
|
|
@@ -2052,7 +2052,7 @@ function bd(e, d) {
|
|
|
2052
2052
|
}
|
|
2053
2053
|
function f0(e, d) {
|
|
2054
2054
|
var t = d.countries, r = d.metadata;
|
|
2055
|
-
r = new
|
|
2055
|
+
r = new D(r);
|
|
2056
2056
|
for (var n = c0(t), i; !(i = n()).done; ) {
|
|
2057
2057
|
var o = i.value;
|
|
2058
2058
|
if (r.country(o), r.leadingDigits()) {
|
|
@@ -2074,12 +2074,12 @@ function m0(e, d) {
|
|
|
2074
2074
|
metadata: n.metadata
|
|
2075
2075
|
});
|
|
2076
2076
|
}
|
|
2077
|
-
var
|
|
2077
|
+
var Bd = "+", y0 = "[\\-\\.\\(\\)]?", _d = "([" + G + "]|" + y0 + ")", v0 = "^\\" + Bd + _d + "*[" + G + "]" + _d + "*$", g0 = new RegExp(v0, "g"), Le = G, h0 = "[" + Le + "]+((\\-)*[" + Le + "])*", b0 = "a-zA-Z", _0 = "[" + b0 + "]+((\\-)*[" + Le + "])*", P0 = "^(" + h0 + "\\.)*" + _0 + "\\.?$", C0 = new RegExp(P0, "g"), Pd = "tel:", De = ";phone-context=", N0 = ";isub=";
|
|
2078
2078
|
function S0(e) {
|
|
2079
|
-
var d = e.indexOf(
|
|
2079
|
+
var d = e.indexOf(De);
|
|
2080
2080
|
if (d < 0)
|
|
2081
2081
|
return null;
|
|
2082
|
-
var t = d +
|
|
2082
|
+
var t = d + De.length;
|
|
2083
2083
|
if (t >= e.length)
|
|
2084
2084
|
return "";
|
|
2085
2085
|
var r = e.indexOf(";", t);
|
|
@@ -2096,19 +2096,19 @@ function E0(e, d) {
|
|
|
2096
2096
|
if (r === null)
|
|
2097
2097
|
n = t(e) || "";
|
|
2098
2098
|
else {
|
|
2099
|
-
n = "", r.charAt(0) ===
|
|
2099
|
+
n = "", r.charAt(0) === Bd && (n += r);
|
|
2100
2100
|
var i = e.indexOf(Pd), o;
|
|
2101
2101
|
i >= 0 ? o = i + Pd.length : o = 0;
|
|
2102
|
-
var l = e.indexOf(
|
|
2102
|
+
var l = e.indexOf(De);
|
|
2103
2103
|
n += e.substring(o, l);
|
|
2104
2104
|
}
|
|
2105
2105
|
var s = n.indexOf(N0);
|
|
2106
2106
|
if (s > 0 && (n = n.substring(0, s)), n !== "")
|
|
2107
2107
|
return n;
|
|
2108
2108
|
}
|
|
2109
|
-
var I0 = 250, O0 = new RegExp("[" +
|
|
2109
|
+
var I0 = 250, O0 = new RegExp("[" + Be + G + "]"), F0 = new RegExp("[^" + G + "#]+$");
|
|
2110
2110
|
function w0(e, d, t) {
|
|
2111
|
-
if (d = d || {}, t = new
|
|
2111
|
+
if (d = d || {}, t = new D(t), d.defaultCountry && !t.hasCountry(d.defaultCountry))
|
|
2112
2112
|
throw d.v2 ? new q("INVALID_COUNTRY") : new Error("Unknown country: ".concat(d.defaultCountry));
|
|
2113
2113
|
var r = A0(e, d.v2, d.extract), n = r.number, i = r.ext, o = r.error;
|
|
2114
2114
|
if (!n) {
|
|
@@ -2122,7 +2122,7 @@ function w0(e, d, t) {
|
|
|
2122
2122
|
throw new q("INVALID_COUNTRY");
|
|
2123
2123
|
return {};
|
|
2124
2124
|
}
|
|
2125
|
-
if (!u || u.length <
|
|
2125
|
+
if (!u || u.length < Ue) {
|
|
2126
2126
|
if (d.v2)
|
|
2127
2127
|
throw new q("TOO_SHORT");
|
|
2128
2128
|
return {};
|
|
@@ -2142,7 +2142,7 @@ function w0(e, d, t) {
|
|
|
2142
2142
|
countryCallingCode: v,
|
|
2143
2143
|
carrierCode: c,
|
|
2144
2144
|
valid: g,
|
|
2145
|
-
possible: g ? !0 : !!(d.extended === !0 && t.possibleLengths() &&
|
|
2145
|
+
possible: g ? !0 : !!(d.extended === !0 && t.possibleLengths() && Ud(u, t)),
|
|
2146
2146
|
phone: u,
|
|
2147
2147
|
ext: i
|
|
2148
2148
|
} : g ? R0(s, u, i) : {};
|
|
@@ -2224,17 +2224,17 @@ function Nd(e) {
|
|
|
2224
2224
|
for (var d = 1; d < arguments.length; d++) {
|
|
2225
2225
|
var t = arguments[d] != null ? arguments[d] : {};
|
|
2226
2226
|
d % 2 ? Cd(Object(t), !0).forEach(function(r) {
|
|
2227
|
-
|
|
2227
|
+
L0(e, r, t[r]);
|
|
2228
2228
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Cd(Object(t)).forEach(function(r) {
|
|
2229
2229
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
2230
2230
|
});
|
|
2231
2231
|
}
|
|
2232
2232
|
return e;
|
|
2233
2233
|
}
|
|
2234
|
-
function
|
|
2234
|
+
function L0(e, d, t) {
|
|
2235
2235
|
return d in e ? Object.defineProperty(e, d, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[d] = t, e;
|
|
2236
2236
|
}
|
|
2237
|
-
function
|
|
2237
|
+
function D0(e, d, t) {
|
|
2238
2238
|
return w0(e, Nd(Nd({}, d), {}, {
|
|
2239
2239
|
v2: !0
|
|
2240
2240
|
}), t);
|
|
@@ -2263,10 +2263,10 @@ function k0(e) {
|
|
|
2263
2263
|
function V0(e, d, t) {
|
|
2264
2264
|
return d in e ? Object.defineProperty(e, d, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[d] = t, e;
|
|
2265
2265
|
}
|
|
2266
|
-
function
|
|
2267
|
-
return j0(e) || H0(e, d) || G0(e, d) ||
|
|
2266
|
+
function U0(e, d) {
|
|
2267
|
+
return j0(e) || H0(e, d) || G0(e, d) || B0();
|
|
2268
2268
|
}
|
|
2269
|
-
function
|
|
2269
|
+
function B0() {
|
|
2270
2270
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2271
2271
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2272
2272
|
}
|
|
@@ -2307,7 +2307,7 @@ function j0(e) {
|
|
|
2307
2307
|
if (Array.isArray(e)) return e;
|
|
2308
2308
|
}
|
|
2309
2309
|
function K0(e) {
|
|
2310
|
-
var d = Array.prototype.slice.call(e), t =
|
|
2310
|
+
var d = Array.prototype.slice.call(e), t = U0(d, 4), r = t[0], n = t[1], i = t[2], o = t[3], l, s, u;
|
|
2311
2311
|
if (typeof r == "string")
|
|
2312
2312
|
l = r;
|
|
2313
2313
|
else throw new TypeError("A text for parsing must be a string.");
|
|
@@ -2353,7 +2353,7 @@ function Y0(e, d, t) {
|
|
|
2353
2353
|
defaultCountry: void 0
|
|
2354
2354
|
}));
|
|
2355
2355
|
try {
|
|
2356
|
-
return
|
|
2356
|
+
return D0(e, d, t);
|
|
2357
2357
|
} catch (r) {
|
|
2358
2358
|
if (!(r instanceof q)) throw r;
|
|
2359
2359
|
}
|
|
@@ -2626,7 +2626,7 @@ const t1 = { class: "flex items-center gap-12 pl-8" }, r1 = { class: "flex flex-
|
|
|
2626
2626
|
setup(e) {
|
|
2627
2627
|
const { t: d } = ee();
|
|
2628
2628
|
return (t, r) => {
|
|
2629
|
-
const n =
|
|
2629
|
+
const n = L("FmIcon"), i = L("FmTooltip");
|
|
2630
2630
|
return S(), w("div", t1, [
|
|
2631
2631
|
r[0] || (r[0] = h("div", null, "•", -1)),
|
|
2632
2632
|
h("div", r1, [
|
|
@@ -2641,12 +2641,12 @@ const t1 = { class: "flex items-center gap-12 pl-8" }, r1 = { class: "flex flex-
|
|
|
2641
2641
|
], 2),
|
|
2642
2642
|
t.errors.length ? (S(), w("div", a1, [
|
|
2643
2643
|
C(i, { "z-index": 50 }, {
|
|
2644
|
-
content:
|
|
2644
|
+
content: U(() => [
|
|
2645
2645
|
h("ol", null, [
|
|
2646
2646
|
(S(!0), w(oe, null, le(t.errors, (o, l) => (S(), w("li", { key: l }, A(o), 1))), 128))
|
|
2647
2647
|
])
|
|
2648
2648
|
]),
|
|
2649
|
-
default:
|
|
2649
|
+
default: U(() => [
|
|
2650
2650
|
C(n, {
|
|
2651
2651
|
name: "error",
|
|
2652
2652
|
size: "sm",
|
|
@@ -2731,7 +2731,7 @@ const t1 = { class: "flex items-center gap-12 pl-8" }, r1 = { class: "flex flex-
|
|
|
2731
2731
|
return Td(d, (y) => {
|
|
2732
2732
|
y && c(y);
|
|
2733
2733
|
}), (y, g) => {
|
|
2734
|
-
const N =
|
|
2734
|
+
const N = L("FmCircularProgress"), f = L("FmIcon"), O = L("FmButton");
|
|
2735
2735
|
return S(), w("div", i1, [
|
|
2736
2736
|
h("div", $1, A(p(m)("inventory.supplier.import.message")), 1),
|
|
2737
2737
|
i.value ? (S(), w("div", l1, [
|
|
@@ -2755,7 +2755,7 @@ const t1 = { class: "flex items-center gap-12 pl-8" }, r1 = { class: "flex flex-
|
|
|
2755
2755
|
}, jd({ _: 2 }, [
|
|
2756
2756
|
d.value ? {
|
|
2757
2757
|
name: "default",
|
|
2758
|
-
fn:
|
|
2758
|
+
fn: U(({ openFileDialog: b }) => [
|
|
2759
2759
|
h("div", u1, [
|
|
2760
2760
|
h("div", {
|
|
2761
2761
|
class: ae([
|
|
@@ -2959,10 +2959,10 @@ const t1 = { class: "flex items-center gap-12 pl-8" }, r1 = { class: "flex flex-
|
|
|
2959
2959
|
() => n.businessLevel || i.businessSupplierOnly ? r.businessSuppliers : r.locationSuppliers
|
|
2960
2960
|
), g = k({});
|
|
2961
2961
|
function N() {
|
|
2962
|
-
g.value.mode =
|
|
2962
|
+
g.value.mode = B.CREATE, g.value.supplier = {}, g.value.show = !0;
|
|
2963
2963
|
}
|
|
2964
2964
|
function f($) {
|
|
2965
|
-
g.value.mode =
|
|
2965
|
+
g.value.mode = B.UPDATE, g.value.supplier = we($), g.value.show = !0;
|
|
2966
2966
|
}
|
|
2967
2967
|
async function O($) {
|
|
2968
2968
|
s.open({
|
|
@@ -3044,14 +3044,14 @@ const t1 = { class: "flex items-center gap-12 pl-8" }, r1 = { class: "flex flex-
|
|
|
3044
3044
|
}
|
|
3045
3045
|
]);
|
|
3046
3046
|
return ($, a) => {
|
|
3047
|
-
const H =
|
|
3047
|
+
const H = L("FmTable");
|
|
3048
3048
|
return S(), z(tt, {
|
|
3049
3049
|
title: p(v)("inventory.supplier.title"),
|
|
3050
3050
|
actions: x.value,
|
|
3051
3051
|
"onClick:action": T,
|
|
3052
3052
|
"helper-text": p(n).businessLevel || p(i).businessSupplierOnly ? S1 : void 0
|
|
3053
3053
|
}, {
|
|
3054
|
-
default:
|
|
3054
|
+
default: U(() => [
|
|
3055
3055
|
h("div", {
|
|
3056
3056
|
class: ae([
|
|
3057
3057
|
"flex flex-col gap-8 max-h-full",
|
|
@@ -3079,12 +3079,12 @@ const t1 = { class: "flex items-center gap-12 pl-8" }, r1 = { class: "flex flex-
|
|
|
3079
3079
|
onRowClick: a[1] || (a[1] = (I) => f(I.original)),
|
|
3080
3080
|
"page-size": te.value
|
|
3081
3081
|
}, {
|
|
3082
|
-
"list-row":
|
|
3082
|
+
"list-row": U((I) => [
|
|
3083
3083
|
C(nt, {
|
|
3084
3084
|
row: I,
|
|
3085
3085
|
onRowClick: f
|
|
3086
3086
|
}, {
|
|
3087
|
-
default:
|
|
3087
|
+
default: U((R) => {
|
|
3088
3088
|
var de, M, P, Q, j, K, re, $e, pe, Ke, We, Ye, Xe, fe, Ze, qe, ze, Je, me, Qe;
|
|
3089
3089
|
return [
|
|
3090
3090
|
h("div", b1, [
|