@feedmepos/mf-inventory-portal 1.5.2 → 1.5.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-DgTh51DD.js → App-Tip851gM.js} +101 -99
- package/dist/{ApprovalView-Drbolw9l.js → ApprovalView-Co_jr0yJ.js} +7 -7
- package/dist/{BindingsDialog-CEamuZUT.js → BindingsDialog-BKLZATL5.js} +2 -2
- package/dist/{BindingsPicker-CXgdT_CN.js → BindingsPicker-BmNUo00s.js} +2 -2
- package/dist/{BindingsTable-BRW2wubh.js → BindingsTable-CDW0p3XW.js} +3 -3
- package/dist/{ClosingDraftView-DIgIG05y.js → ClosingDraftView-BRoUOMnB.js} +14 -14
- package/dist/{ClosingHistoryView-2V3PMTBj.js → ClosingHistoryView-BfjMgTvj.js} +5 -5
- package/dist/{ClosingTemplateView-s8tpVK70.js → ClosingTemplateView-BxpOMPaW.js} +14 -14
- package/dist/{DefaultView-DtLbw1f-.js → DefaultView-CDgYGaus.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-pG1sNFnn.js → DeliveryOrderPrintPreview-Cpxujtv1.js} +2 -2
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CHWkkV8S.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-jmTuy7Q-.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DxRwuoSd.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DtdLaxj1.js} +2 -2
- package/dist/{FmMultiselectDialog-CvhfHinq.js → FmMultiselectDialog-PQkX6Fbu.js} +1 -1
- package/dist/{FmMultiselectDialog-2Qjto1gP.js → FmMultiselectDialog-whugZ2H4.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-B7irUmED.js → FmUnitInput.vue_vue_type_script_setup_true_lang-naoG-656.js} +4 -4
- package/dist/{ImportView-BR2huPWB.js → ImportView-DzwhWGy8.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-93ArjluD.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DM5HnG4b.js} +1 -1
- package/dist/{IngredientGroupView-D8gpeFQl.js → IngredientGroupView-CQ1dD6By.js} +5 -5
- package/dist/{IngredientsView-hd0ResCN.js → IngredientsView-BnZZfPxe.js} +15 -15
- package/dist/{IntegrationExplorerView-Cpjhk-b4.js → IntegrationExplorerView-Stxhc76u.js} +5 -5
- package/dist/{IntegrationView-CHf2wRlq.js → IntegrationView-CF-WkMUn.js} +13 -13
- package/dist/{InventoryBindingForm-W4lwdgDd.js → InventoryBindingForm-DKpbfR1q.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-C-pmgLCe.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bwg3EPGp.js} +5 -5
- package/dist/{InventoryBindingSummary-BHN-4_Lz.js → InventoryBindingSummary-IfhUtZSq.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cbm0yJoD.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-PB76EGz3.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BlUSDr3n.js → PremiumBadge.vue_vue_type_script_setup_true_lang-mDtjDdRa.js} +1 -1
- package/dist/{PublishView-D5i0eB2G.js → PublishView-DDW8AvS7.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-XTsLYcXE.js → PurchaseOrderPrintPreview-CiXt3Jl8.js} +2 -2
- package/dist/{ReceiveRequestView-w-aolpRr.js → ReceiveRequestView-BPn5F6x0.js} +25 -25
- package/dist/{RecipeView-CBMPbfhN.js → RecipeView-B6QJg7Es.js} +17 -17
- package/dist/{SettingsView-Dsx8dzB7.js → SettingsView-DpT_Ih8C.js} +4 -4
- package/dist/{StockView-DCjIJpMp.js → StockView-Dtiy0YFc.js} +19 -19
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-ChJyLXU-.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BipR8XT4.js} +1 -1
- package/dist/{SupplierView-Dq88lsJc.js → SupplierView-BwYsrfeB.js} +12 -12
- package/dist/{SurchargeView-CkwezJuw.js → SurchargeView-Bypfh3qG.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-BIQVvUFi.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Bmu1ilka.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Co8HN3fK.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CdJrATDm.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-pzJOTJE6.js → TransferDetails.vue_vue_type_script_setup_true_lang-CQHdJM5b.js} +20 -20
- package/dist/{TransferTemplateView-LEw36JX7.js → TransferTemplateView-B6keHDoT.js} +18 -18
- package/dist/{UnitCostHistoryView-htq5j6Zn.js → UnitCostHistoryView-CJZjR6LD.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-t5B3RyEw.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CBfZKWMS.js} +4 -4
- package/dist/{UnitView-B-83wHGF.js → UnitView-Bg3N4L5v.js} +7 -7
- package/dist/{WarehouseView-CWXKpDqs.js → WarehouseView-DBQa43bC.js} +5 -5
- package/dist/{WastageTemplateView-m2KN0ykq.js → WastageTemplateView-Pd1_NNpV.js} +14 -14
- package/dist/api/netsuite.d.ts +4 -0
- package/dist/{app-Dl-QzcQa.js → app-vSI7o64L.js} +4150 -4091
- package/dist/app.js +1 -1
- package/dist/{closing-template-B1fDf4-G.js → closing-template-DVI1UstK.js} +1 -1
- package/dist/{date2-D9F2wSJn.js → date2-Bl0d_33c.js} +1 -1
- package/dist/{dayjs.min-C09ejrwV.js → dayjs.min-C2tfHKCc.js} +1 -1
- package/dist/{decimal-Bixy5KOW.js → decimal-ysEl72HE.js} +2 -2
- package/dist/{defineDeepModel-BtPuYZzc.js → defineDeepModel-Bue1KSYu.js} +1 -1
- package/dist/{duplicate-template-BCtwbDaJ.js → duplicate-template-DefSuGTM.js} +1 -1
- package/dist/{export-DoWkQBCX.js → export-BsvVWSah.js} +2 -2
- package/dist/{feature-QcnF8Hac.js → feature-Ble30e7u.js} +2 -2
- package/dist/{format-time-from-id-B2ZLK0hg.js → format-time-from-id-rL8zKj9R.js} +1 -1
- package/dist/{format-unit-display-Cy7KwJ4g.js → format-unit-display-D7kQOF1c.js} +11 -11
- package/dist/{import-export.helper-Df90hAqq.js → import-export.helper-DueYHILM.js} +6 -6
- package/dist/{index-Dw3nMmF7.js → index-Bqizeiw2.js} +1 -1
- package/dist/{index-orAalMCW.js → index-CuYUOzR5.js} +3 -3
- package/dist/{index-ClCh5oJz.js → index-ICVB-RbL.js} +1 -1
- package/dist/{inventory-core-dart.default-BlHIwzU4.js → inventory-core-dart.default-C4oYtkAS.js} +3 -3
- package/dist/{lodash-Bdz34Lcx.js → lodash-CJDbt6zN.js} +1 -1
- package/dist/{lz-string-BjezuvOi.js → lz-string-DGI7OOd0.js} +1 -1
- package/dist/{netsuite-C-XvVOVi.js → netsuite-CNSrwmDK.js} +930 -841
- package/dist/{number-DpuiqPjX.js → number-AWapL9Jq.js} +3 -3
- package/dist/{predefined-templates-Bx0gx5dY.js → predefined-templates-CnAEkEQx.js} +1 -1
- package/dist/{purchase-order-template-CL7Jkv0v.js → purchase-order-template-CpWZ8Agv.js} +1 -1
- package/dist/{recalculationUtils-C12if63c.js → recalculationUtils-B5chj8Yr.js} +1 -1
- package/dist/{rules-B8fNxhNe.js → rules-Bji3egEM.js} +2 -2
- package/dist/{stock-3noCFqP3.js → stock-CobZZaou.js} +1 -1
- package/dist/stores/integration/netsuite.d.ts +6 -0
- package/dist/{supplier-Clx97llz.js → supplier-C7eV9eko.js} +2 -2
- package/dist/{surcharge-BvTo0bVT.js → surcharge-BMnJG9Wp.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-B9e9jzqt.js → use-ingredient-select-dialog-CoyT4NI0.js} +2 -2
- package/dist/{use-inventory-binding-dialog-BHXeKoPW.js → use-inventory-binding-dialog-CChnp1_1.js} +2 -2
- package/dist/{use-template-enabled-locations-D6NEw6yL.js → use-template-enabled-locations-D4AkRbcD.js} +2 -2
- package/dist/{use-transfer-locations-BVfAgoYe.js → use-transfer-locations-RQIHaB3o.js} +2 -2
- package/dist/{useHrmPermission-CM9g4l9_.js → useHrmPermission-CLahtOPY.js} +1 -1
- package/dist/{useNavigationMenu-Bg8uYzlc.js → useNavigationMenu-CUanWPd_.js} +2 -2
- package/dist/{useSseClient-Cqntr06O.js → useSseClient-DlcA3RSF.js} +3 -3
- package/dist/{vue-i18n-D-pNCKKX.js → vue-i18n-efULw9Mj.js} +494 -494
- package/dist/{xlsx-CfgBBtx2.js → xlsx-N71KISwc.js} +398 -398
- package/dist/{xlsx.util-ByGhgFoQ.js → xlsx.util-D6kwayGS.js} +3 -3
- package/package.json +5 -5
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ref as k, onUnmounted as H, computed as y, defineComponent as
|
|
1
|
+
import { ref as k, onUnmounted as H, computed as y, defineComponent as P, watch as N, onMounted as $, resolveComponent as w, openBlock as m, createElementBlock as g, unref as x, createVNode as _, createElementVNode as o, toDisplayString as b, createBlock as L, createCommentVNode as U, withCtx as R, withDirectives as O, vModelText as j, Fragment as q, renderList as z, createTextVNode as B } from "vue";
|
|
2
2
|
import { _ as K } from "./empty-placeholder-B0QU467o.js";
|
|
3
|
-
import { u as Q, a as J, R as
|
|
4
|
-
import { useCoreStore as
|
|
5
|
-
import { useRouter as
|
|
6
|
-
import { u as Z, a as ee, I as te } from "./feature-
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as D } from "./useNavigationMenu-
|
|
9
|
-
import { u as
|
|
3
|
+
import { u as Q, a as J, R as S, b as W } from "./app-vSI7o64L.js";
|
|
4
|
+
import { useCoreStore as C, useI18n as X } from "@feedmepos/mf-common";
|
|
5
|
+
import { useRouter as T, useRoute as Y } from "vue-router";
|
|
6
|
+
import { u as Z, a as ee, I as te } from "./feature-Ble30e7u.js";
|
|
7
|
+
import { u as oe } from "./netsuite-CNSrwmDK.js";
|
|
8
|
+
import { u as D } from "./useNavigationMenu-CUanWPd_.js";
|
|
9
|
+
import { u as ne } from "./useTabStorage-BkIVScW_.js";
|
|
10
10
|
import { F as se } from "./FmAdminBadge-DjnBAgyv.js";
|
|
11
11
|
import { u as re } from "./googlemap-BGi_aKUA.js";
|
|
12
12
|
function ae() {
|
|
@@ -17,16 +17,16 @@ function ae() {
|
|
|
17
17
|
}
|
|
18
18
|
const F = k(ae());
|
|
19
19
|
function le() {
|
|
20
|
-
const p =
|
|
20
|
+
const p = T();
|
|
21
21
|
if (!F.value.loadingHookInstalled) {
|
|
22
22
|
F.value.loadingHookInstalled = !0;
|
|
23
23
|
const t = p.beforeEach(() => {
|
|
24
24
|
F.value.isLoading = !0;
|
|
25
|
-
}),
|
|
25
|
+
}), c = p.afterEach(() => {
|
|
26
26
|
F.value.isLoading = !1;
|
|
27
27
|
});
|
|
28
28
|
H(() => {
|
|
29
|
-
F.value.loadingHookInstalled = !1, t(),
|
|
29
|
+
F.value.loadingHookInstalled = !1, t(), c();
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
@@ -48,73 +48,75 @@ const ue = {
|
|
|
48
48
|
}, de = { class: "flex flex-col gap-12 items-center text-center px-24 max-w-[600px]" }, me = { class: "fm-typo-en-title-lg-600" }, pe = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, fe = {
|
|
49
49
|
key: 2,
|
|
50
50
|
class: "flex flex-col pt-[200px] gap-32 items-center"
|
|
51
|
-
}, ve = { class: "flex flex-col gap-12 items-center text-center px-24 max-w-[1000px]" }, ge = { class: "fm-typo-en-title-lg-600" }, _e = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, ye = { class: "flex gap-16" }, xe = { href: "https://feedme.ai/product/inventory/features?tab=plans_%26_prices" }, be = { href: "https://feedme.ai/form" }, he = /* @__PURE__ */
|
|
51
|
+
}, ve = { class: "flex flex-col gap-12 items-center text-center px-24 max-w-[1000px]" }, ge = { class: "fm-typo-en-title-lg-600" }, _e = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, ye = { class: "flex gap-16" }, xe = { href: "https://feedme.ai/product/inventory/features?tab=plans_%26_prices" }, be = { href: "https://feedme.ai/form" }, he = /* @__PURE__ */ P({
|
|
52
52
|
__name: "InventoryView",
|
|
53
53
|
setup(p) {
|
|
54
|
-
const t = Q(),
|
|
55
|
-
|
|
54
|
+
const t = Q(), c = J(), i = oe(), r = C(), d = T(), a = le(), e = Z(), { t: l } = X(), { hasAnyAccessibleInventoryRoute: f } = ie();
|
|
55
|
+
N(
|
|
56
56
|
[() => r.sessionUser.value, () => r.currentBusiness.value],
|
|
57
|
-
([v,
|
|
58
|
-
|
|
57
|
+
([v, u]) => {
|
|
58
|
+
n(v, u);
|
|
59
59
|
}
|
|
60
60
|
), $(async () => {
|
|
61
61
|
await e.init(), await r.readBusinesses();
|
|
62
|
-
const v = r.sessionUser.value,
|
|
63
|
-
|
|
62
|
+
const v = r.sessionUser.value, u = r.currentBusiness.value;
|
|
63
|
+
n(v, u);
|
|
64
64
|
});
|
|
65
|
-
function
|
|
66
|
-
!v || !
|
|
65
|
+
function n(v, u) {
|
|
66
|
+
!v || !u || s();
|
|
67
67
|
}
|
|
68
68
|
async function s() {
|
|
69
69
|
return await t.init(), await i.readSetting().catch((v) => {
|
|
70
70
|
console.error("[all] error on reading netsuite store", v);
|
|
71
|
-
}), await
|
|
71
|
+
}), await c.init();
|
|
72
72
|
}
|
|
73
|
-
const
|
|
74
|
-
() =>
|
|
73
|
+
const A = y(() => d.currentRoute.value.name === S.TRANSFER_TEMPLATE ? e.enablePoTemplate : d.currentRoute.value.name === S.INGREDIENT_GROUP ? e.enableIngredientGroup : !0), E = y(
|
|
74
|
+
() => d.currentRoute.value.matched.some((v) => {
|
|
75
75
|
var I;
|
|
76
|
-
const
|
|
77
|
-
return (((I =
|
|
76
|
+
const u = v.meta, h = u == null ? void 0 : u.validationManifest;
|
|
77
|
+
return (((I = h == null ? void 0 : h.requiredCaslPermissions) == null ? void 0 : I.length) ?? 0) > 0;
|
|
78
78
|
})
|
|
79
79
|
), G = y(() => {
|
|
80
|
-
if (!r.sessionUser.value
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
if (!r.sessionUser.value) return !1;
|
|
81
|
+
if (t._locations !== null && t.locations.length === 0) return !0;
|
|
82
|
+
if (!e.isLoaded) return !1;
|
|
83
|
+
const h = d.currentRoute.value.name === S.LOADING;
|
|
84
|
+
return !f.value && (h || E.value);
|
|
83
85
|
});
|
|
84
|
-
return (v,
|
|
85
|
-
const
|
|
86
|
+
return (v, u) => {
|
|
87
|
+
const h = w("FmSpacer"), I = w("FmCircularProgress"), V = w("FmButton"), M = w("RouterView");
|
|
86
88
|
return m(), g("div", null, [
|
|
87
89
|
x(a).isLoading ? (m(), g("div", ue, [
|
|
88
|
-
_(
|
|
89
|
-
|
|
90
|
+
_(h),
|
|
91
|
+
o("div", null, [
|
|
90
92
|
_(I, { size: "xl" })
|
|
91
93
|
]),
|
|
92
|
-
|
|
93
|
-
_(
|
|
94
|
+
u[0] || (u[0] = o("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading page...", -1)),
|
|
95
|
+
_(h)
|
|
94
96
|
])) : G.value ? (m(), g("div", ce, [
|
|
95
|
-
|
|
97
|
+
u[1] || (u[1] = o("img", {
|
|
96
98
|
src: K,
|
|
97
99
|
alt: "No permission",
|
|
98
100
|
class: "w-[200px] h-[200px]"
|
|
99
101
|
}, null, -1)),
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
102
|
+
o("div", de, [
|
|
103
|
+
o("div", me, b(x(l)("inventory.common.noPermission.title")), 1),
|
|
104
|
+
o("div", pe, b(x(l)("inventory.common.noPermission.description")), 1)
|
|
103
105
|
])
|
|
104
|
-
])) :
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
])) : A.value ? x(r).sessionUser.value ? (m(), L(M, { key: 3 })) : U("", !0) : (m(), g("div", fe, [
|
|
107
|
+
o("div", ve, [
|
|
108
|
+
o("div", ge, b(x(l)("inventory.common.proPlan.title")), 1),
|
|
109
|
+
o("div", _e, b(x(l)("inventory.common.proPlan.subtitle")), 1)
|
|
108
110
|
]),
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
_(
|
|
111
|
+
o("div", ye, [
|
|
112
|
+
o("a", xe, [
|
|
113
|
+
_(V, {
|
|
112
114
|
label: x(l)("inventory.common.proPlan.comparePlans"),
|
|
113
115
|
variant: "secondary"
|
|
114
116
|
}, null, 8, ["label"])
|
|
115
117
|
]),
|
|
116
|
-
|
|
117
|
-
_(
|
|
118
|
+
o("a", be, [
|
|
119
|
+
_(V, {
|
|
118
120
|
label: x(l)("inventory.common.proPlan.callUs"),
|
|
119
121
|
"prepend-icon": "call"
|
|
120
122
|
}, null, 8, ["label"])
|
|
@@ -127,19 +129,19 @@ const ue = {
|
|
|
127
129
|
}), we = { class: "flex items-center gap-2" }, Se = { class: "text-xs text-gray-400 font-normal" }, Fe = { class: "flex flex-col gap-3" }, Re = { class: "max-h-[480px] flex flex-col gap-1" }, Ie = { class: "font-mono text-xs text-gray-700 break-all min-w-0" }, ke = {
|
|
128
130
|
key: 0,
|
|
129
131
|
class: "inline-flex items-center gap-1 text-xs font-medium text-green-700 bg-green-50 px-2 py-0.5 rounded-full"
|
|
130
|
-
},
|
|
132
|
+
}, Ne = {
|
|
131
133
|
key: 1,
|
|
132
134
|
class: "inline-flex items-center gap-1 text-xs font-medium text-red-700 bg-red-50 px-2 py-0.5 rounded-full"
|
|
133
|
-
},
|
|
135
|
+
}, Pe = {
|
|
134
136
|
key: 2,
|
|
135
137
|
class: "inline-flex items-center gap-1 text-xs font-medium text-gray-500 bg-gray-100 px-2 py-0.5 rounded-full"
|
|
136
|
-
},
|
|
138
|
+
}, Ae = {
|
|
137
139
|
key: 0,
|
|
138
140
|
class: "text-center text-sm text-gray-400 py-4"
|
|
139
|
-
},
|
|
141
|
+
}, Ee = /* @__PURE__ */ P({
|
|
140
142
|
__name: "FmFeatureFlagDialog",
|
|
141
143
|
setup(p) {
|
|
142
|
-
const t = k(!1),
|
|
144
|
+
const t = k(!1), c = k(""), i = y(() => {
|
|
143
145
|
const { getFlagValue: a } = ee();
|
|
144
146
|
return Object.values(te).map((e) => {
|
|
145
147
|
const l = a(e, (f) => f === "true");
|
|
@@ -149,15 +151,15 @@ const ue = {
|
|
|
149
151
|
};
|
|
150
152
|
});
|
|
151
153
|
}), r = y(() => {
|
|
152
|
-
const a =
|
|
154
|
+
const a = c.value.toLowerCase();
|
|
153
155
|
return a ? i.value.filter((e) => e.name.toLowerCase().includes(a)) : i.value;
|
|
154
|
-
}),
|
|
156
|
+
}), d = y(() => {
|
|
155
157
|
const a = i.value.filter((f) => f.enabled === !0).length, e = i.value.filter((f) => f.enabled === !1).length, l = i.value.filter((f) => f.enabled === null).length;
|
|
156
158
|
return { enabled: a, disabled: e, unknown: l, total: i.value.length };
|
|
157
159
|
});
|
|
158
160
|
return (a, e) => {
|
|
159
|
-
const l =
|
|
160
|
-
return m(),
|
|
161
|
+
const l = w("FmButton"), f = w("FmSpacer"), n = w("FmDialog");
|
|
162
|
+
return m(), L(n, {
|
|
161
163
|
modelValue: t.value,
|
|
162
164
|
"onUpdate:modelValue": e[2] || (e[2] = (s) => t.value = s),
|
|
163
165
|
overlay: !0
|
|
@@ -174,9 +176,9 @@ const ue = {
|
|
|
174
176
|
})
|
|
175
177
|
]),
|
|
176
178
|
"dialog-header": R(() => [
|
|
177
|
-
|
|
178
|
-
e[3] || (e[3] =
|
|
179
|
-
|
|
179
|
+
o("div", we, [
|
|
180
|
+
e[3] || (e[3] = o("span", null, "Feature Flags", -1)),
|
|
181
|
+
o("span", Se, b(d.value.enabled) + " enabled · " + b(d.value.disabled) + " disabled · " + b(d.value.unknown) + " unknown ", 1)
|
|
180
182
|
])
|
|
181
183
|
]),
|
|
182
184
|
"dialog-footer": R(() => [
|
|
@@ -190,33 +192,33 @@ const ue = {
|
|
|
190
192
|
})
|
|
191
193
|
]),
|
|
192
194
|
default: R(() => [
|
|
193
|
-
|
|
194
|
-
O(
|
|
195
|
-
"onUpdate:modelValue": e[0] || (e[0] = (s) =>
|
|
195
|
+
o("div", Fe, [
|
|
196
|
+
O(o("input", {
|
|
197
|
+
"onUpdate:modelValue": e[0] || (e[0] = (s) => c.value = s),
|
|
196
198
|
type: "text",
|
|
197
199
|
placeholder: "Search flags...",
|
|
198
200
|
class: "w-full px-3 py-2 text-sm border border-gray-300 rounded-md focus:outline-none focus:ring-1 focus:ring-blue-500"
|
|
199
201
|
}, null, 512), [
|
|
200
|
-
[j,
|
|
202
|
+
[j, c.value]
|
|
201
203
|
]),
|
|
202
|
-
|
|
204
|
+
o("div", Re, [
|
|
203
205
|
(m(!0), g(q, null, z(r.value, (s) => (m(), g("div", {
|
|
204
206
|
key: s.name,
|
|
205
207
|
class: "flex items-start justify-between gap-2 px-3 py-2 rounded-md hover:bg-gray-50 text-sm"
|
|
206
208
|
}, [
|
|
207
|
-
|
|
209
|
+
o("span", Ie, b(s.name), 1),
|
|
208
210
|
s.enabled === !0 ? (m(), g("span", ke, e[4] || (e[4] = [
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
]))) : s.enabled === !1 ? (m(), g("span",
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
]))) : (m(), g("span",
|
|
215
|
-
|
|
216
|
-
|
|
211
|
+
o("span", { class: "w-1.5 h-1.5 rounded-full bg-green-500" }, null, -1),
|
|
212
|
+
B(" Enabled ")
|
|
213
|
+
]))) : s.enabled === !1 ? (m(), g("span", Ne, e[5] || (e[5] = [
|
|
214
|
+
o("span", { class: "w-1.5 h-1.5 rounded-full bg-red-500" }, null, -1),
|
|
215
|
+
B(" Disabled ")
|
|
216
|
+
]))) : (m(), g("span", Pe, e[6] || (e[6] = [
|
|
217
|
+
o("span", { class: "w-1.5 h-1.5 rounded-full bg-gray-400" }, null, -1),
|
|
218
|
+
B(" Unknown ")
|
|
217
219
|
])))
|
|
218
220
|
]))), 128)),
|
|
219
|
-
r.value.length === 0 ? (m(), g("div",
|
|
221
|
+
r.value.length === 0 ? (m(), g("div", Ae, ' No flags matching "' + b(c.value) + '" ', 1)) : U("", !0)
|
|
220
222
|
])
|
|
221
223
|
])
|
|
222
224
|
]),
|
|
@@ -224,46 +226,46 @@ const ue = {
|
|
|
224
226
|
}, 8, ["modelValue"]);
|
|
225
227
|
};
|
|
226
228
|
}
|
|
227
|
-
}),
|
|
229
|
+
}), Be = { class: "h-full flex flex-col overflow-auto py-16 gap-2" }, Le = /* @__PURE__ */ P({
|
|
228
230
|
__name: "NavigationTab",
|
|
229
231
|
setup(p) {
|
|
230
|
-
const t = Y(),
|
|
231
|
-
|
|
232
|
-
(
|
|
232
|
+
const t = Y(), c = T(), i = C(), r = ne(), { menuItems: d } = D();
|
|
233
|
+
N([() => i.currentBusiness.value, () => t.name], ([n, s]) => {
|
|
234
|
+
(n == null ? void 0 : n.menuVersion) === "v3" && (s === S.INGREDIENTS || s === S.RECIPE || s === S.UNIT) && c.push({ name: S.STOCK });
|
|
233
235
|
});
|
|
234
236
|
const a = y({
|
|
235
237
|
get() {
|
|
236
238
|
if (t.name)
|
|
237
239
|
return String(t.name);
|
|
238
240
|
},
|
|
239
|
-
set(
|
|
240
|
-
|
|
241
|
+
set(n) {
|
|
242
|
+
n && c.push({ name: n });
|
|
241
243
|
}
|
|
242
244
|
}), e = y(
|
|
243
245
|
() => {
|
|
244
|
-
var
|
|
245
|
-
return `NavigationTab.${(
|
|
246
|
+
var n;
|
|
247
|
+
return `NavigationTab.${(n = i.currentBusiness.value) == null ? void 0 : n._id}`;
|
|
246
248
|
}
|
|
247
249
|
), l = k(!1), f = y({
|
|
248
250
|
get() {
|
|
249
251
|
return l.value;
|
|
250
252
|
},
|
|
251
|
-
set(
|
|
252
|
-
l.value =
|
|
253
|
+
set(n) {
|
|
254
|
+
l.value = n, n || r.setItem(e.value, "true");
|
|
253
255
|
}
|
|
254
256
|
});
|
|
255
|
-
return
|
|
257
|
+
return N([() => e.value], () => {
|
|
256
258
|
l.value = !1, setTimeout(() => {
|
|
257
259
|
f.value = !r.getItem(e.value);
|
|
258
260
|
}, 2e3);
|
|
259
|
-
}), (
|
|
260
|
-
const
|
|
261
|
-
return m(), g("div",
|
|
262
|
-
_(
|
|
263
|
-
_(
|
|
261
|
+
}), (n, s) => {
|
|
262
|
+
const A = w("FmCollapsibleTabs");
|
|
263
|
+
return m(), g("div", Be, [
|
|
264
|
+
_(Ee),
|
|
265
|
+
_(A, {
|
|
264
266
|
modelValue: a.value,
|
|
265
|
-
"onUpdate:modelValue": s[0] || (s[0] = (
|
|
266
|
-
items: x(
|
|
267
|
+
"onUpdate:modelValue": s[0] || (s[0] = (E) => a.value = E),
|
|
268
|
+
items: x(d)
|
|
267
269
|
}, null, 8, ["modelValue", "items"])
|
|
268
270
|
]);
|
|
269
271
|
};
|
|
@@ -278,30 +280,30 @@ typeof Promise.withResolvers > "u" && (Promise.withResolvers = () => {
|
|
|
278
280
|
typeof Promise.prototype.delayed > "u" && (Promise.prototype.delayed = async function(p) {
|
|
279
281
|
return await new Promise((t) => setTimeout(t, p)), Promise.resolve(this);
|
|
280
282
|
});
|
|
281
|
-
const qe = /* @__PURE__ */
|
|
283
|
+
const qe = /* @__PURE__ */ P({
|
|
282
284
|
__name: "App",
|
|
283
285
|
setup(p) {
|
|
284
|
-
const t =
|
|
286
|
+
const t = C(), c = re(), i = W();
|
|
285
287
|
$(() => {
|
|
286
288
|
if (window.location.href.includes("print-preview")) {
|
|
287
289
|
t.setEmbedded(!0), document.body.classList.add("print-mode");
|
|
288
290
|
return;
|
|
289
291
|
}
|
|
290
|
-
t.registerSidebarComponent(
|
|
292
|
+
t.registerSidebarComponent(Le), c.initGoogleMap(i.appApi.googleMap).catch(() => {
|
|
291
293
|
console.error("Google map cannot be loaded");
|
|
292
294
|
});
|
|
293
|
-
}),
|
|
295
|
+
}), N([() => t.currentCountry.value], () => {
|
|
294
296
|
r();
|
|
295
297
|
});
|
|
296
298
|
async function r() {
|
|
297
|
-
var
|
|
299
|
+
var d;
|
|
298
300
|
try {
|
|
299
|
-
await t.readBusinesses(), t.currentBusiness.value = (
|
|
301
|
+
await t.readBusinesses(), t.currentBusiness.value = (d = t.businesses.value) == null ? void 0 : d.find((a) => a);
|
|
300
302
|
} catch (a) {
|
|
301
303
|
console.error("error when trying to reset businesses:", a);
|
|
302
304
|
}
|
|
303
305
|
}
|
|
304
|
-
return (
|
|
306
|
+
return (d, a) => (m(), L(he));
|
|
305
307
|
}
|
|
306
308
|
});
|
|
307
309
|
export {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as ce, ref as y, watch as de, computed as c, resolveComponent as fe, openBlock as x, createBlock as Z, unref as a, withCtx as T, createElementVNode as p, normalizeClass as ve, createVNode as u, normalizeStyle as he, toDisplayString as _e, createElementBlock as De, createCommentVNode as ge, Teleport as ye, mergeProps as be, isRef as Re } from "vue";
|
|
2
|
-
import { u as Oe, V as b } from "./app-
|
|
3
|
-
import { a as Se, _ as Pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { a as xe, P as w, b as Te, _ as we, c as ke } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { b as I } from "./date2-
|
|
2
|
+
import { u as Oe, V as b } from "./app-vSI7o64L.js";
|
|
3
|
+
import { a as Se, _ as Pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DtdLaxj1.js";
|
|
4
|
+
import { a as xe, P as w, b as Te, _ as we, c as ke } from "./TransferDetails.vue_vue_type_script_setup_true_lang-CQHdJM5b.js";
|
|
5
|
+
import { b as I } from "./date2-Bl0d_33c.js";
|
|
6
6
|
import { u as qe, _ as Ve } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-sUxHOj47.js";
|
|
7
7
|
import { _ as Ce, F as R } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
8
8
|
import { useBreakpoints as Ne } from "@feedmepos/ui-library";
|
|
9
9
|
import { useI18n as Ae } from "@feedmepos/mf-common";
|
|
10
10
|
import { P as Me, J as Fe } from "./app-DiX-EfV6.js";
|
|
11
|
-
import { u as Le } from "./netsuite-
|
|
12
|
-
import { f as $e } from "./predefined-templates-
|
|
13
|
-
import "./inventory-core-dart.default-
|
|
11
|
+
import { u as Le } from "./netsuite-CNSrwmDK.js";
|
|
12
|
+
import { f as $e } from "./predefined-templates-CnAEkEQx.js";
|
|
13
|
+
import "./inventory-core-dart.default-C4oYtkAS.js";
|
|
14
14
|
const ze = { class: "flex flex-col py-8" }, Ee = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ue = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Ye = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, He = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as C, ref as t, onMounted as M, onUnmounted as F, watch as x, resolveComponent as l, openBlock as i, createElementBlock as c, createBlock as I, withCtx as R, createVNode as a, createCommentVNode as z, createElementVNode as P } from "vue";
|
|
2
|
-
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { a as L, ao as S } from "./app-
|
|
2
|
+
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bwg3EPGp.js";
|
|
3
|
+
import { a as L, ao as S } from "./app-vSI7o64L.js";
|
|
4
4
|
const U = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex justify-end gap-8 items-center"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as S, computed as r, ref as l, onMounted as U, onUnmounted as V, resolveComponent as E, openBlock as p, createElementBlock as f, createVNode as u, createElementVNode as k } from "vue";
|
|
2
|
-
import { a as M } from "./FmMultiselectDialog-
|
|
3
|
-
import { a as x, ao as z } from "./app-
|
|
2
|
+
import { a as M } from "./FmMultiselectDialog-whugZ2H4.js";
|
|
3
|
+
import { a as x, ao as z } from "./app-vSI7o64L.js";
|
|
4
4
|
const F = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex flex-col gap-16"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as x, ref as r, provide as C, computed as g, resolveComponent as h, openBlock as l, createElementBlock as u, createStaticVNode as F, Fragment as L, renderList as I, createElementVNode as p, toDisplayString as v, createVNode as w, withModifiers as N, onMounted as E, onUnmounted as z, createBlock as M } from "vue";
|
|
2
|
-
import { F as b, a as P, ao as R } from "./app-
|
|
3
|
-
import "./dayjs.min-
|
|
2
|
+
import { F as b, a as P, ao as R } from "./app-vSI7o64L.js";
|
|
3
|
+
import "./dayjs.min-C2tfHKCc.js";
|
|
4
4
|
import "@feedmepos/ui-library";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import "@feedmepos/mf-common";
|
|
7
7
|
import "./app-DiX-EfV6.js";
|
|
8
|
-
import "./lodash-
|
|
8
|
+
import "./lodash-CJDbt6zN.js";
|
|
9
9
|
const U = { class: "" }, D = ["onClick"], O = { class: "flex-grow-0 flex-shrink-0 basis-5/12 py-8 pl-8" }, V = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, S = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, $ = { class: "flex-grow-0 flex-shrink-0 basis-1/12 py-4" }, T = /* @__PURE__ */ x({
|
|
10
10
|
__name: "binding-ui",
|
|
11
11
|
props: {
|
|
@@ -2,25 +2,25 @@ import { defineComponent as je, ref as H, computed as V, onMounted as mt, resolv
|
|
|
2
2
|
import { u as on, _ as sn } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-sUxHOj47.js";
|
|
3
3
|
import { useCoreStore as Ut, useI18n as at } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as ze, useDialog as rn, components as _e, useProxiedModel as Pt, useBreakpoints as ln } from "@feedmepos/ui-library";
|
|
5
|
-
import { m as cn, u as Oe, L as se, w as ee, q as Vt, s as Be, M as De, B as Te, c as un, a as pt, j as dn } from "./app-
|
|
5
|
+
import { m as cn, u as Oe, L as se, w as ee, q as Vt, s as Be, M as De, B as Te, c as un, a as pt, j as dn } from "./app-vSI7o64L.js";
|
|
6
6
|
import { defineStore as Mt, storeToRefs as mn } from "pinia";
|
|
7
|
-
import { b as tt, e as Nt, f as fn, a as Ae } from "./date2-
|
|
8
|
-
import { R as pn } from "./rules-
|
|
9
|
-
import { e as vt, a as dt, t as Et, c as Le, l as Lt, m as zt, j as Ot, k as Ht, o as ne } from "./number-
|
|
10
|
-
import { b as vn, d as yn } from "./xlsx.util-
|
|
11
|
-
import { u as gn, a as bn } from "./useSseClient-
|
|
12
|
-
import { u as ot } from "./stock-
|
|
7
|
+
import { b as tt, e as Nt, f as fn, a as Ae } from "./date2-Bl0d_33c.js";
|
|
8
|
+
import { R as pn } from "./rules-Bji3egEM.js";
|
|
9
|
+
import { e as vt, a as dt, t as Et, c as Le, l as Lt, m as zt, j as Ot, k as Ht, o as ne } from "./number-AWapL9Jq.js";
|
|
10
|
+
import { b as vn, d as yn } from "./xlsx.util-D6kwayGS.js";
|
|
11
|
+
import { u as gn, a as bn } from "./useSseClient-DlcA3RSF.js";
|
|
12
|
+
import { u as ot } from "./stock-CobZZaou.js";
|
|
13
13
|
import { D as Tt, R as Ve } from "./row-action.enum-DQ9bJ_uv.js";
|
|
14
14
|
import { c as hn } from "./component-kqxARxvM.js";
|
|
15
|
-
import { f as _n } from "./format-time-from-id-
|
|
16
|
-
import { f as kn } from "./recalculationUtils-
|
|
17
|
-
import { _ as wn } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
15
|
+
import { f as _n } from "./format-time-from-id-rL8zKj9R.js";
|
|
16
|
+
import { f as kn } from "./recalculationUtils-B5chj8Yr.js";
|
|
17
|
+
import { _ as wn } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DtdLaxj1.js";
|
|
18
18
|
import { _ as xn } from "./empty-placeholder-B0QU467o.js";
|
|
19
19
|
import { F as ct } from "./FmAdminBadge-DjnBAgyv.js";
|
|
20
|
-
import { u as Dn } from "./vue-i18n-
|
|
21
|
-
import { F as An } from "./decimal-
|
|
22
|
-
import { r as Cn, u as Xe, w as Sn } from "./xlsx-
|
|
23
|
-
import { d as $n } from "./dayjs.min-
|
|
20
|
+
import { u as Dn } from "./vue-i18n-efULw9Mj.js";
|
|
21
|
+
import { F as An } from "./decimal-ysEl72HE.js";
|
|
22
|
+
import { r as Cn, u as Xe, w as Sn } from "./xlsx-N71KISwc.js";
|
|
23
|
+
import { d as $n } from "./dayjs.min-C2tfHKCc.js";
|
|
24
24
|
import { F as Fn } from "./FmDroppableField-J0xUsOTV.js";
|
|
25
25
|
import { _ as In } from "./FmConfirmationButton.vue_vue_type_script_setup_true_lang-DLrMEGFR.js";
|
|
26
26
|
import { _ as Bn, F as Je } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as ne, ref as g, computed as D, watch as de, resolveComponent as w, openBlock as n, createElementBlock as p, createBlock as M, withModifiers as ue, createCommentVNode as b, createVNode as _, withCtx as T, createElementVNode as o, toDisplayString as l, unref as i, Fragment as z, createTextVNode as Z, renderList as le, normalizeClass as me, h as X, Teleport as pe } from "vue";
|
|
2
2
|
import { _ as ve } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-sUxHOj47.js";
|
|
3
3
|
import { useI18n as se, useCoreStore as ge } from "@feedmepos/mf-common";
|
|
4
|
-
import { E as ie, B as P, a as he, u as _e } from "./app-
|
|
4
|
+
import { E as ie, B as P, a as he, u as _e } from "./app-vSI7o64L.js";
|
|
5
5
|
import { F as re } from "./FmAdminBadge-DjnBAgyv.js";
|
|
6
|
-
import { _ as be } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as be } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DtdLaxj1.js";
|
|
7
7
|
import { useSnackbar as ce, useDialog as ke } from "@feedmepos/ui-library";
|
|
8
|
-
import { u as fe } from "./stock-
|
|
9
|
-
import { g as ye, f as xe } from "./recalculationUtils-
|
|
10
|
-
import { _ as De } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { u as fe } from "./stock-CobZZaou.js";
|
|
9
|
+
import { g as ye, f as xe } from "./recalculationUtils-B5chj8Yr.js";
|
|
10
|
+
import { _ as De } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-CBfZKWMS.js";
|
|
11
11
|
const we = { class: "fm-typo-en-heading-lg-600" }, Se = { class: "flex flex-col gap-16" }, Ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ve = { class: "flex flex-col gap-8" }, $e = { class: "fm-typo-en-body-md-600" }, Ae = { class: "flex flex-col gap-8" }, Fe = { class: "fm-typo-en-body-md-600" }, Re = { class: "flex items-center gap-8 mb-8" }, Ie = {
|
|
12
12
|
key: 2,
|
|
13
13
|
class: "text-red-500 text-sm mt-2"
|
|
@@ -4,24 +4,24 @@ import { useI18n as W, useCoreStore as de } from "@feedmepos/mf-common";
|
|
|
4
4
|
import { useDialog as pe, useDialogChild as Ze, useSnackbar as ce, FmButtonVariant as oe, components as Y, FmAdvancedSort as et, useProxiedModel as tt, useBreakpoints as nt } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as Ve, storeToRefs as Ne } from "pinia";
|
|
6
6
|
import { F as G } from "./form-mode.enum-BKiNVH6A.js";
|
|
7
|
-
import { a as me } from "./closing-template-
|
|
8
|
-
import { u as fe, c as Ue, a as ve, l as ot } from "./app-
|
|
9
|
-
import { t as re, a as ge, d as ye, s as Le, r as st } from "./xlsx.util-
|
|
7
|
+
import { a as me } from "./closing-template-DVI1UstK.js";
|
|
8
|
+
import { u as fe, c as Ue, a as ve, l as ot } from "./app-vSI7o64L.js";
|
|
9
|
+
import { t as re, a as ge, d as ye, s as Le, r as st } from "./xlsx.util-D6kwayGS.js";
|
|
10
10
|
import { F as lt } from "./FmDroppableField-J0xUsOTV.js";
|
|
11
|
-
import { f as Be, a as le } from "./date2-
|
|
11
|
+
import { f as Be, a as le } from "./date2-Bl0d_33c.js";
|
|
12
12
|
import { D as se, R as z } from "./row-action.enum-DQ9bJ_uv.js";
|
|
13
13
|
import { c as at } from "./component-kqxARxvM.js";
|
|
14
|
-
import { f as rt } from "./format-time-from-id-
|
|
15
|
-
import { _ as it } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { u as ct } from "./netsuite-
|
|
17
|
-
import { u as mt } from "./duplicate-template-
|
|
18
|
-
import { _ as ut } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
19
|
-
import { R as dt, A as pt } from "./rules-
|
|
20
|
-
import { u as ft } from "./use-ingredient-select-dialog-
|
|
21
|
-
import { d as vt } from "./defineDeepModel-
|
|
14
|
+
import { f as rt } from "./format-time-from-id-rL8zKj9R.js";
|
|
15
|
+
import { _ as it } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CdJrATDm.js";
|
|
16
|
+
import { u as ct } from "./netsuite-CNSrwmDK.js";
|
|
17
|
+
import { u as mt } from "./duplicate-template-DefSuGTM.js";
|
|
18
|
+
import { _ as ut } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DtdLaxj1.js";
|
|
19
|
+
import { R as dt, A as pt } from "./rules-Bji3egEM.js";
|
|
20
|
+
import { u as ft } from "./use-ingredient-select-dialog-CoyT4NI0.js";
|
|
21
|
+
import { d as vt } from "./defineDeepModel-Bue1KSYu.js";
|
|
22
22
|
import { F as X, _ as ze } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
23
|
-
import { u as gt } from "./use-template-enabled-locations-
|
|
24
|
-
import { _ as yt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-
|
|
23
|
+
import { u as gt } from "./use-template-enabled-locations-D4AkRbcD.js";
|
|
24
|
+
import { _ as yt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-Bmu1ilka.js";
|
|
25
25
|
import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
26
26
|
const ue = Ve(
|
|
27
27
|
"closingTemplateTable",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as p, computed as f, watchEffect as d, resolveComponent as n, openBlock as _, createElementBlock as v, createVNode as o, createElementVNode as c } from "vue";
|
|
2
2
|
import { useRouter as g } from "vue-router";
|
|
3
3
|
import { useCoreStore as x } from "@feedmepos/mf-common";
|
|
4
|
-
import { u as S } from "./useNavigationMenu-
|
|
5
|
-
import { u as y } from "./feature-
|
|
4
|
+
import { u as S } from "./useNavigationMenu-CUanWPd_.js";
|
|
5
|
+
import { u as y } from "./feature-Ble30e7u.js";
|
|
6
6
|
const C = { class: "flex flex-col items-center w-full h-full gap-24" }, V = /* @__PURE__ */ p({
|
|
7
7
|
__name: "DefaultView",
|
|
8
8
|
setup(F) {
|
package/dist/{DeliveryOrderPrintPreview-pG1sNFnn.js → DeliveryOrderPrintPreview-Cpxujtv1.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as x, computed as g, ref as h, onMounted as _, openBlock as i, createElementBlock as u, createElementVNode as t, createTextVNode as n, toDisplayString as l, createCommentVNode as d, Fragment as o, renderList as p, normalizeClass as c } from "vue";
|
|
2
2
|
import { useRoute as w } from "vue-router";
|
|
3
|
-
import { P as b } from "./app-
|
|
4
|
-
import { L as k } from "./lz-string-
|
|
3
|
+
import { P as b } from "./app-vSI7o64L.js";
|
|
4
|
+
import { L as k } from "./lz-string-DGI7OOd0.js";
|
|
5
5
|
import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const N = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "sub-header" }, C = ["src"], D = { style: { "padding-left": "10px" } }, O = { class: "address" }, R = { class: "text-right" }, S = {
|
|
7
7
|
key: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as g, mergeModels as I, useModel as z, computed as h, ref as _, resolveComponent as n, openBlock as t, createElementBlock as f, normalizeStyle as B, createElementVNode as F, createVNode as N, withCtx as E, createBlock as s, createCommentVNode as k, Fragment as S, renderList as R, unref as r } from "vue";
|
|
2
|
-
import { z as u } from "./app-
|
|
3
|
-
import { F as T } from "./FmMultiselectDialog-
|
|
2
|
+
import { z as u } from "./app-vSI7o64L.js";
|
|
3
|
+
import { F as T } from "./FmMultiselectDialog-whugZ2H4.js";
|
|
4
4
|
const q = { class: "overflow-y-auto h-full pb-8" }, L = /* @__PURE__ */ g({
|
|
5
5
|
__name: "FmFilterableMenuOptions",
|
|
6
6
|
props: /* @__PURE__ */ I({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as S, computed as w, ref as P, resolveComponent as h, openBlock as n, createElementBlock as p, createVNode as x, withCtx as $, createElementVNode as b, Fragment as V, createTextVNode as R, toDisplayString as D, unref as r, createBlock as v, createCommentVNode as k, renderList as N, watch as O, mergeModels as H, useModel as I, renderSlot as W, normalizeClass as A } from "vue";
|
|
2
2
|
import { useCoreStore as q, useI18n as Q } from "@feedmepos/mf-common";
|
|
3
|
-
import { u as G } from "./app-
|
|
4
|
-
import { b as T } from "./date2-
|
|
3
|
+
import { u as G } from "./app-vSI7o64L.js";
|
|
4
|
+
import { b as T } from "./date2-Bl0d_33c.js";
|
|
5
5
|
import { useBreakpoints as J } from "@feedmepos/ui-library";
|
|
6
6
|
import { u as K } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-sUxHOj47.js";
|
|
7
7
|
import { D as z } from "./app-DiX-EfV6.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineStore as p } from "pinia";
|
|
2
2
|
import { useDialog as y } from "@feedmepos/ui-library";
|
|
3
3
|
import { useI18n as v } from "@feedmepos/mf-common";
|
|
4
|
-
import { a } from "./FmMultiselectDialog-
|
|
4
|
+
import { a } from "./FmMultiselectDialog-whugZ2H4.js";
|
|
5
5
|
import { h as S } from "vue";
|
|
6
6
|
const w = p("inventoryMultiSelectDialog", () => {
|
|
7
7
|
const l = y(), { t: n } = v();
|
|
@@ -3,8 +3,8 @@ var Pe = (F, i, l) => i in F ? He(F, i, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var ve = (F, i, l) => Pe(F, typeof i != "symbol" ? i + "" : i, l);
|
|
4
4
|
import { defineComponent as be, computed as x, ref as $, watch as ge, openBlock as d, createElementBlock as f, normalizeStyle as z, Fragment as V, renderList as O, renderSlot as ke, createCommentVNode as D, useSlots as Oe, onMounted as Ue, onUnmounted as Ee, reactive as ee, resolveComponent as T, createElementVNode as B, createVNode as k, createTextVNode as Ke, toDisplayString as P, unref as L, createSlots as je, withCtx as w, createBlock as I, resolveDynamicComponent as pe, normalizeClass as fe, withModifiers as Ne, Transition as ze } from "vue";
|
|
5
5
|
import { useDialogChild as Ge } from "@feedmepos/ui-library";
|
|
6
|
-
import { z as he } from "./app-
|
|
7
|
-
import { d as Je } from "./index-
|
|
6
|
+
import { z as he } from "./app-vSI7o64L.js";
|
|
7
|
+
import { d as Je } from "./index-Bqizeiw2.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { useI18n as Re } from "@feedmepos/mf-common";
|
|
10
10
|
import { P as We, J as ye, D as Qe } from "./app-DiX-EfV6.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as ie, mergeModels as W, useModel as le, computed as v, ref as B, watch as E, onBeforeUnmount as ae, inject as ue, resolveComponent as b, openBlock as d, createElementBlock as y, createElementVNode as u, createVNode as h, withCtx as F, renderSlot as G, normalizeClass as j, toDisplayString as _, withDirectives as re, vModelText as me, createCommentVNode as I, createTextVNode as ce, createBlock as U, Fragment as de, renderList as pe } from "vue";
|
|
2
|
-
import { l as fe } from "./lodash-
|
|
3
|
-
import { w as D } from "./app-
|
|
4
|
-
import { g as O, c as ve, a as M, t as be, e as ye, m as he, b as Me, u as ge } from "./number-
|
|
5
|
-
import { I as R, a as xe } from "./rules-
|
|
2
|
+
import { l as fe } from "./lodash-CJDbt6zN.js";
|
|
3
|
+
import { w as D } from "./app-vSI7o64L.js";
|
|
4
|
+
import { g as O, c as ve, a as M, t as be, e as ye, m as he, b as Me, u as ge } from "./number-AWapL9Jq.js";
|
|
5
|
+
import { I as R, a as xe } from "./rules-Bji3egEM.js";
|
|
6
6
|
import "@feedmepos/ui-library";
|
|
7
7
|
function H() {
|
|
8
8
|
return {
|