@feedmepos/mf-inventory-portal 1.6.0-dev.7 → 1.6.1-dev.0
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-CfPro_9C.js → App-CL5dPCEj.js} +4 -4
- package/dist/{ApprovalView-DSN8Po9S.js → ApprovalView-DKJibNlK.js} +7 -7
- package/dist/{BindingsDialog-Bnuqm3nG.js → BindingsDialog-DLJXu8Dw.js} +2 -2
- package/dist/{BindingsPicker-Dd4REc66.js → BindingsPicker-CW6Tk9JI.js} +2 -2
- package/dist/{BindingsTable-C-HtmMpH.js → BindingsTable-3JJEAQz3.js} +3 -3
- package/dist/{ClosingDraftView-CTtxiXwh.js → ClosingDraftView-DVoWnPTQ.js} +27 -28
- package/dist/{ClosingHistoryView-cvmoaHAt.js → ClosingHistoryView-qWjIbBsX.js} +5 -5
- package/dist/{ClosingTemplateView-BBxNHF64.js → ClosingTemplateView-C3Hf510z.js} +14 -14
- package/dist/{DefaultView-CsqggsmN.js → DefaultView-wBhT3ag9.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-DKEmN4tO.js → DeliveryOrderPrintPreview-VnG9wrNu.js} +2 -2
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CLMHR5Fy.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C4pvSYN-.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-24Qj9QM3.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Bkh9LvJQ.js} +2 -2
- package/dist/{FmMultiselectDialog-DXBkITTj.js → FmMultiselectDialog-C7P1UET0.js} +2 -2
- package/dist/{FmMultiselectDialog-C70WEGrm.js → FmMultiselectDialog-Dru64kWF.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-B8QH4-MU.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BklBxBGT.js} +5 -5
- package/dist/{ImportView-BNS7vOnx.js → ImportView-C9w-sF5E.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CGoVzY_5.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BuphGYe2.js} +1 -1
- package/dist/{IngredientGroupView-Db80oGZN.js → IngredientGroupView-BZqXPr_n.js} +21 -21
- package/dist/{IngredientsView-q6E2tmIN.js → IngredientsView-DgTPgkN9.js} +17 -17
- package/dist/{IntegrationExplorerView-4pyt5Z5K.js → IntegrationExplorerView-B8U3LTtj.js} +5 -5
- package/dist/IntegrationView-QyHxizvF.js +5791 -0
- package/dist/{InventoryBindingForm-D-j7xlaq.js → InventoryBindingForm-NRwFwJt5.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BPMTYItR.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-C-If3KBe.js} +5 -5
- package/dist/{InventoryBindingSummary-BS9rFFE5.js → InventoryBindingSummary-DqI3M6jQ.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DvtFGe3C.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Xt_1oU-z.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-54yXqcN9.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DFYTlv_K.js} +1 -1
- package/dist/{PublishView-xnFv__ui.js → PublishView-2ytn8EUo.js} +61 -56
- package/dist/{PurchaseOrderPrintPreview-CMMBoIGC.js → PurchaseOrderPrintPreview-Bqim_q38.js} +2 -2
- package/dist/{ReceiveRequestView-BR2e1bFZ.js → ReceiveRequestView-DIPZCXxV.js} +738 -738
- package/dist/{RecipeView-CHnyBJ0f.js → RecipeView-Bs326Ew3.js} +17 -17
- package/dist/{SettingsView-Cf6T5YmG.js → SettingsView-frX_dI_K.js} +4 -4
- package/dist/{StockView-Cv5M6SI4.js → StockView-Us8Wx8y_.js} +19 -19
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BdJfkEW-.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Du8BI_cZ.js} +1 -1
- package/dist/{SupplierView-Bm3pUwbz.js → SupplierView-8dnHAbK3.js} +12 -12
- package/dist/{SurchargeView-CvxmTW8L.js → SurchargeView-CfqjYiBs.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-Dohtj-Y_.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-_03vSZ4W.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DBWoc7Cq.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CAb7UWFP.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BvQoNFyl.js → TransferDetails.vue_vue_type_script_setup_true_lang-B58A7dWI.js} +179 -179
- package/dist/{TransferTemplateView-DwslyLh7.js → TransferTemplateView-CI84cmV5.js} +20 -20
- package/dist/{UnitCostHistoryView-DyYMqFXw.js → UnitCostHistoryView-DXolsbDT.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-BiVS-xuv.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-Bpoawj7B.js} +10 -11
- package/dist/{UnitView-DWS3MozP.js → UnitView-DT3fcagF.js} +7 -7
- package/dist/{WarehouseView-BWO6YSsg.js → WarehouseView-C1BHChSJ.js} +5 -5
- package/dist/{WastageTemplateView-BtCHJ60X.js → WastageTemplateView-Bc5CZJ58.js} +14 -14
- package/dist/{app-BS8Y8XB1.js → app-DpMCzQql.js} +228 -23
- package/dist/app.d.ts +205 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-Dnukh28P.js → closing-template-CaFX19g1.js} +1 -1
- package/dist/{date2-DOWGtN_k.js → date2-DBsUy1HH.js} +1 -1
- package/dist/{dayjs.min-D3dSrhTX.js → dayjs.min-BVKjPmJE.js} +1 -1
- package/dist/{decimal-Bk_LcBc8.js → decimal-DKl2dUd0.js} +2 -2
- package/dist/{defineDeepModel-s_J1LoEM.js → defineDeepModel-YeHxg9wN.js} +1 -1
- package/dist/{duplicate-template-BTf1Xhvo.js → duplicate-template-Dyx4X380.js} +1 -1
- package/dist/{feature-DDV6dfk3.js → feature-ltFu24H8.js} +2 -2
- package/dist/{format-time-from-id-Q4wzJvY5.js → format-time-from-id-D3lPFiqA.js} +1 -1
- package/dist/{format-unit-display-B8tTISaS.js → format-unit-display-CD8C9YZc.js} +12 -12
- package/dist/{import-export.helper-BK3vn2Ss.js → import-export.helper-BJ5Lz4Gg.js} +6 -6
- package/dist/{index-CY7iF8Ji.js → index-B8xTUvTH.js} +1 -1
- package/dist/{index-C74Cmjq-.js → index-JOemzj27.js} +1 -1
- package/dist/{index-fQ54arbf.js → index-TQKBiFuU.js} +3 -3
- package/dist/{inventory-core-dart.default-Dl166D_R.js → inventory-core-dart.default-Xz0fuxVn.js} +355 -328
- package/dist/{lz-string-wIxbEJut.js → lz-string-DAdPi3YY.js} +1 -1
- package/dist/{netsuite-BeD5zM7r.js → netsuite-qr2wHoV5.js} +1570 -1509
- package/dist/{number-B5DVgaWM.js → number-xgIylzEb.js} +3 -3
- package/dist/{predefined-templates-DZNPHq12.js → predefined-templates-j5MqD37J.js} +1 -1
- package/dist/{purchase-order-template-aR89SUGU.js → purchase-order-template-CglLUVxv.js} +1 -1
- package/dist/{recalculationUtils-DjE7iLEk.js → recalculationUtils-O8dnzyPD.js} +1 -1
- package/dist/{rules-C_1llraF.js → rules-BPu-CBAX.js} +2 -2
- package/dist/{stock-DzPtGhtF.js → stock-VM7b7_Km.js} +1 -1
- package/dist/{supplier-Bln8QZF9.js → supplier-W00UQBDk.js} +2 -2
- package/dist/{surcharge-Czr01eFJ.js → surcharge-CUUDBYUf.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-DGZ_Y5qW.js → uom-rules-D6eW0fAO.js} +1 -1
- package/dist/{use-ingredient-select-dialog-Bo31tZwb.js → use-ingredient-select-dialog-Cd700UkI.js} +2 -2
- package/dist/{use-inventory-binding-dialog-Cs0ag6eH.js → use-inventory-binding-dialog-Cf8wC8AI.js} +2 -2
- package/dist/{use-template-enabled-locations-Dz7i898A.js → use-template-enabled-locations-D1AVostH.js} +2 -2
- package/dist/{use-transfer-locations-DGKaXjGH.js → use-transfer-locations-uOi6cGul.js} +2 -2
- package/dist/{useHrmPermission-YMieTr4z.js → useHrmPermission-DEu2Lyei.js} +1 -1
- package/dist/{useNavigationMenu-CR9b-9EU.js → useNavigationMenu-DuIGSnMd.js} +2 -2
- package/dist/{useSseClient-D5xvMgqf.js → useSseClient-D1uc8ZIc.js} +3 -3
- package/dist/views/integration/components/binding-import/BindingImportPreview.vue.d.ts +22 -0
- package/dist/views/integration/components/binding-import/ImportBindings.vue.d.ts +444 -0
- package/dist/views/integration/helper/binding-import/configs/codemax.d.ts +3 -0
- package/dist/views/integration/helper/binding-import/configs/codemax.spec.d.ts +1 -0
- package/dist/views/integration/helper/binding-import/configs/food-market-hub.d.ts +3 -0
- package/dist/views/integration/helper/binding-import/configs/food-market-hub.spec.d.ts +1 -0
- package/dist/views/integration/helper/binding-import/core.d.ts +43 -0
- package/dist/views/integration/helper/binding-import/types.d.ts +100 -0
- package/dist/{vue-i18n-CPBfs8-Q.js → vue-i18n-DElpxFA8.js} +321 -321
- package/dist/{xlsx-9rrE89GF.js → xlsx.util-Cm8s0ZJD.js} +2511 -2414
- package/package.json +3 -3
- package/dist/IntegrationView-BnZlrLP_.js +0 -5100
- package/dist/xlsx.util-Dt_h5XF4.js +0 -101
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as oe, computed as x, reactive as te, resolveComponent as B, openBlock as d, createElementBlock as c, createVNode as u, withCtx as I, createElementVNode as n, toDisplayString as p, unref as i, createBlock as w, createCommentVNode as v, Fragment as U, renderList as G, nextTick as le } from "vue";
|
|
2
|
-
import { a as ie, t as se, v as de, F as re } from "./app-
|
|
3
|
-
import { a as h, c as ae } from "./number-
|
|
4
|
-
import { u as ue } from "./use-inventory-binding-dialog-
|
|
5
|
-
import { b as $, c as A } from "./rules-
|
|
6
|
-
import { _ as me, c as ce, d as pe } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { a as ie, t as se, v as de, F as re } from "./app-DpMCzQql.js";
|
|
3
|
+
import { a as h, c as ae } from "./number-xgIylzEb.js";
|
|
4
|
+
import { u as ue } from "./use-inventory-binding-dialog-Cf8wC8AI.js";
|
|
5
|
+
import { b as $, c as A } from "./rules-BPu-CBAX.js";
|
|
6
|
+
import { _ as me, c as ce, d as pe } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BklBxBGT.js";
|
|
7
7
|
import { useI18n as ye } from "@feedmepos/mf-common";
|
|
8
8
|
const fe = { class: "flex flex-col gap-24" }, ve = { class: "flex flex-col gap-16" }, be = { class: "flex items-center" }, _e = { class: "flex-1 fm-typo-en-title-sm-600" }, xe = { class: "flex flex-col" }, ge = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, he = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, Ve = { class: "flex flex-col w-full border-b border-fm-color-neutral-gray-100" }, ke = {
|
|
9
9
|
class: "flex items-center",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, resolveComponent as m, openBlock as c, createBlock as d, h as g } from "vue";
|
|
2
2
|
import { useI18n as p } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as u } from "@feedmepos/ui-library";
|
|
4
|
-
import { F as r } from "./app-
|
|
4
|
+
import { F as r } from "./app-DpMCzQql.js";
|
|
5
5
|
const w = /* @__PURE__ */ l({
|
|
6
6
|
__name: "InventoryBindingSummary",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as V, computed as w, ref as h, watch as u, resolveComponent as i, openBlock as F, createBlock as g, withCtx as d, createVNode as A, createElementVNode as k, normalizeClass as K } from "vue";
|
|
2
|
-
import { c as s } from "./number-
|
|
2
|
+
import { c as s } from "./number-xgIylzEb.js";
|
|
3
3
|
const _ = ["value", "disabled"], C = /* @__PURE__ */ V({
|
|
4
4
|
__name: "NumberPrecisionInput",
|
|
5
5
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as F, u as f } from "./app-
|
|
1
|
+
import { m as F, u as f } from "./app-DpMCzQql.js";
|
|
2
2
|
import { useCoreStore as v } from "@feedmepos/mf-common";
|
|
3
3
|
import { ref as _, defineComponent as h, resolveComponent as l, openBlock as y, createElementBlock as g, renderSlot as k, createVNode as p, withCtx as S } from "vue";
|
|
4
4
|
const m = F((e, t) => {
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { defineComponent as D, ref as A, computed as
|
|
2
|
-
import { u as E, a as K, x as j } from "./app-
|
|
1
|
+
import { defineComponent as D, ref as A, computed as s, watch as H, resolveComponent as c, openBlock as S, createBlock as x, unref as l, createSlots as Y, withCtx as h, createElementVNode as N, normalizeClass as U, createVNode as m, normalizeStyle as $, Teleport as q, h as p } from "vue";
|
|
2
|
+
import { u as E, a as K, x as j } from "./app-DpMCzQql.js";
|
|
3
3
|
import { u as G, _ as J } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DGlWE5I8.js";
|
|
4
4
|
import { useBreakpoints as O, useDialog as Q, useSnackbar as R, components as I } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as X } from "./vue-i18n-
|
|
6
|
-
import { a as
|
|
7
|
-
const
|
|
5
|
+
import { u as X } from "./vue-i18n-DElpxFA8.js";
|
|
6
|
+
import { a as k } from "./date2-DBsUy1HH.js";
|
|
7
|
+
const se = /* @__PURE__ */ D({
|
|
8
8
|
__name: "PublishView",
|
|
9
9
|
setup(Z) {
|
|
10
|
-
const { t } = X(), { breakpoints: f } = O(), n = E(), g = K(), w = j(),
|
|
10
|
+
const { t: e } = X(), { breakpoints: f } = O(), n = E(), g = K(), w = j(), i = A(!1), r = s(() => g.state.inventory.updatedAt ? g.state.inventory.updatedAt : null), C = G(), _ = Q(), F = R(), M = s(() => n.locationsWithInventory), d = s(() => f.value.xs || f.value.sm), L = s(() => d.value ? 10 : 20);
|
|
11
11
|
H(
|
|
12
12
|
() => n._locations,
|
|
13
13
|
async () => {
|
|
14
|
-
var
|
|
15
|
-
|
|
14
|
+
var t;
|
|
15
|
+
i.value = !0, (!n._locationWithInventory || ((t = n._locationWithInventory) == null ? void 0 : t.length) === 0) && await n.readLocationsWithInventory(), i.value = !1;
|
|
16
16
|
},
|
|
17
17
|
{ immediate: !0 }
|
|
18
18
|
// Optional: triggers the watcher immediately on mount
|
|
19
19
|
);
|
|
20
|
-
const P =
|
|
20
|
+
const P = s(() => [
|
|
21
21
|
{
|
|
22
|
-
label:
|
|
22
|
+
label: e("inventory.common.refresh"),
|
|
23
23
|
value: "refresh",
|
|
24
24
|
isPrimary: !1
|
|
25
25
|
},
|
|
26
|
-
{ label:
|
|
26
|
+
{ label: e("inventory.publish.actions.publishAll"), value: "publish", isPrimary: !0 }
|
|
27
27
|
]);
|
|
28
|
-
async function V(
|
|
29
|
-
switch (
|
|
28
|
+
async function V(t) {
|
|
29
|
+
switch (t) {
|
|
30
30
|
case "publish":
|
|
31
31
|
_.open({
|
|
32
|
-
title:
|
|
33
|
-
message: "
|
|
34
|
-
primaryActions: { text:
|
|
35
|
-
secondaryActions: { text: "
|
|
32
|
+
title: e("inventory.publish.confirm.title"),
|
|
33
|
+
message: e("inventory.publish.confirm.publishAll"),
|
|
34
|
+
primaryActions: { text: e("inventory.publish.confirm.confirm"), close: !0 },
|
|
35
|
+
secondaryActions: { text: e("inventory.common.cancel"), close: !0 }
|
|
36
36
|
}).onPrimary(async () => {
|
|
37
37
|
await w.publishAllInventory(), await n.readLocationsWithInventory();
|
|
38
38
|
});
|
|
39
39
|
break;
|
|
40
40
|
case "refresh":
|
|
41
|
-
|
|
41
|
+
i.value = !0, await n.readLocationsWithInventory(), i.value = !1;
|
|
42
42
|
break;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
const
|
|
45
|
+
const v = A(!1), B = [
|
|
46
46
|
{
|
|
47
47
|
value: "publish",
|
|
48
|
-
label:
|
|
48
|
+
label: e("inventory.publish.actions.publishAll")
|
|
49
49
|
}
|
|
50
50
|
];
|
|
51
|
-
function W(
|
|
52
|
-
switch (
|
|
51
|
+
function W(t) {
|
|
52
|
+
switch (v.value = !1, t) {
|
|
53
53
|
case "publish":
|
|
54
54
|
console.log("publish all");
|
|
55
55
|
}
|
|
@@ -57,39 +57,39 @@ const ie = /* @__PURE__ */ D({
|
|
|
57
57
|
const z = [
|
|
58
58
|
{
|
|
59
59
|
id: "type",
|
|
60
|
-
header: () =>
|
|
60
|
+
header: () => e("inventory.publish.columns.type"),
|
|
61
61
|
enableSorting: !0,
|
|
62
|
-
cell(
|
|
62
|
+
cell(t) {
|
|
63
63
|
return p(I.FmChip, {
|
|
64
64
|
color: "primary",
|
|
65
|
-
label:
|
|
65
|
+
label: t.row.original.type
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
accessorKey: "name",
|
|
71
|
-
header: () =>
|
|
71
|
+
header: () => e("inventory.publish.columns.location"),
|
|
72
72
|
enableSorting: !0,
|
|
73
73
|
size: 300
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
id: "version",
|
|
77
|
-
header: () =>
|
|
77
|
+
header: () => e("inventory.publish.columns.version"),
|
|
78
78
|
enableSorting: !0,
|
|
79
|
-
cell(
|
|
79
|
+
cell(t) {
|
|
80
80
|
var o, a;
|
|
81
|
-
return (o =
|
|
81
|
+
return (o = t.row.original.inventory) != null && o.updatedAt ? k((a = t.row.original.inventory) == null ? void 0 : a.updatedAt) : "";
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
id: "status",
|
|
86
|
-
header: () =>
|
|
86
|
+
header: () => e("inventory.publish.columns.status"),
|
|
87
87
|
enableSorting: !0,
|
|
88
|
-
cell(
|
|
89
|
-
var
|
|
90
|
-
if (!
|
|
88
|
+
cell(t) {
|
|
89
|
+
var u;
|
|
90
|
+
if (!r.value)
|
|
91
91
|
return "";
|
|
92
|
-
const o = ((
|
|
92
|
+
const o = ((u = t.row.original.inventory) == null ? void 0 : u.updatedAt) == r.value, a = t.row.original.dbName, y = t.row.original.type === "warehouse";
|
|
93
93
|
return p(
|
|
94
94
|
"div",
|
|
95
95
|
{
|
|
@@ -104,20 +104,25 @@ const ie = /* @__PURE__ */ D({
|
|
|
104
104
|
o ? "fm-status-badge-success-secondary" : "fm-status-badge-info-secondary"
|
|
105
105
|
]
|
|
106
106
|
},
|
|
107
|
-
|
|
107
|
+
e(o ? "inventory.publish.status.published" : "inventory.publish.status.outdated")
|
|
108
108
|
),
|
|
109
|
-
!o && !
|
|
109
|
+
!o && !y ? p(I.FmButton, {
|
|
110
110
|
class: "tertiary",
|
|
111
111
|
variant: "secondary",
|
|
112
112
|
icon: "sync",
|
|
113
113
|
onClick: () => {
|
|
114
114
|
_.open({
|
|
115
|
-
title:
|
|
116
|
-
message:
|
|
117
|
-
|
|
118
|
-
|
|
115
|
+
title: e("inventory.publish.confirm.title"),
|
|
116
|
+
message: e("inventory.publish.confirm.publishLocation", {
|
|
117
|
+
name: t.row.original.name
|
|
118
|
+
}),
|
|
119
|
+
primaryActions: { text: e("inventory.publish.confirm.confirm"), close: !0 },
|
|
120
|
+
secondaryActions: { text: e("inventory.common.cancel"), close: !0 }
|
|
119
121
|
}).onPrimary(async () => {
|
|
120
|
-
await w.publishInventory(a.split("_")[1]), await n.readLocations(), F.open({
|
|
122
|
+
await w.publishInventory(a.split("_")[1]), await n.readLocations(), F.open({
|
|
123
|
+
message: e("inventory.publish.confirm.requestSubmitted"),
|
|
124
|
+
type: "success"
|
|
125
|
+
});
|
|
121
126
|
});
|
|
122
127
|
}
|
|
123
128
|
}) : null
|
|
@@ -144,16 +149,16 @@ const ie = /* @__PURE__ */ D({
|
|
|
144
149
|
// }
|
|
145
150
|
// }
|
|
146
151
|
];
|
|
147
|
-
return (
|
|
148
|
-
const a =
|
|
152
|
+
return (t, o) => {
|
|
153
|
+
const a = c("FmChip"), y = c("FmTable"), u = c("FmCollapsibleTabs"), T = c("FmBottomSheet");
|
|
149
154
|
return S(), x(J, {
|
|
150
|
-
title:
|
|
155
|
+
title: l(e)("inventory.publish.title"),
|
|
151
156
|
actions: P.value,
|
|
152
157
|
"onClick:action": V
|
|
153
158
|
}, Y({
|
|
154
159
|
default: h(() => [
|
|
155
160
|
N("div", {
|
|
156
|
-
class:
|
|
161
|
+
class: U([
|
|
157
162
|
"flex flex-col gap-8 max-h-full",
|
|
158
163
|
{
|
|
159
164
|
"p-0": d.value,
|
|
@@ -161,23 +166,23 @@ const ie = /* @__PURE__ */ D({
|
|
|
161
166
|
}
|
|
162
167
|
])
|
|
163
168
|
}, [
|
|
164
|
-
m(
|
|
165
|
-
style:
|
|
169
|
+
m(y, {
|
|
170
|
+
style: $(l(C).tableHeight),
|
|
166
171
|
"column-defs": z,
|
|
167
172
|
"row-data": M.value,
|
|
168
|
-
loading: !
|
|
169
|
-
"loading-text": "
|
|
173
|
+
loading: !l(n)._currentLocation || i.value,
|
|
174
|
+
"loading-text": l(e)("inventory.common.loading"),
|
|
170
175
|
"page-size": L.value
|
|
171
|
-
}, null, 8, ["style", "row-data", "loading", "page-size"])
|
|
176
|
+
}, null, 8, ["style", "row-data", "loading", "loading-text", "page-size"])
|
|
172
177
|
], 2),
|
|
173
178
|
(S(), x(q, { to: "body" }, [
|
|
174
179
|
m(T, {
|
|
175
180
|
"dismiss-away": "",
|
|
176
|
-
modelValue:
|
|
177
|
-
"onUpdate:modelValue": o[1] || (o[1] = (b) =>
|
|
181
|
+
modelValue: v.value,
|
|
182
|
+
"onUpdate:modelValue": o[1] || (o[1] = (b) => v.value = b)
|
|
178
183
|
}, {
|
|
179
184
|
default: h(() => [
|
|
180
|
-
m(
|
|
185
|
+
m(u, {
|
|
181
186
|
class: "pb-8",
|
|
182
187
|
items: B,
|
|
183
188
|
"onUpdate:modelValue": o[0] || (o[0] = (b) => W(b))
|
|
@@ -189,12 +194,12 @@ const ie = /* @__PURE__ */ D({
|
|
|
189
194
|
]),
|
|
190
195
|
_: 2
|
|
191
196
|
}, [
|
|
192
|
-
|
|
197
|
+
r.value ? {
|
|
193
198
|
name: "headerInfo",
|
|
194
199
|
fn: h(() => [
|
|
195
200
|
m(a, {
|
|
196
201
|
variant: "info",
|
|
197
|
-
label: `Latest: ${
|
|
202
|
+
label: `Latest: ${l(k)(r.value)}`
|
|
198
203
|
}, null, 8, ["label"])
|
|
199
204
|
]),
|
|
200
205
|
key: "0"
|
|
@@ -204,5 +209,5 @@ const ie = /* @__PURE__ */ D({
|
|
|
204
209
|
}
|
|
205
210
|
});
|
|
206
211
|
export {
|
|
207
|
-
|
|
212
|
+
se as default
|
|
208
213
|
};
|
package/dist/{PurchaseOrderPrintPreview-CMMBoIGC.js → PurchaseOrderPrintPreview-Bqim_q38.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as b, computed as x, ref as f, onMounted as g, openBlock as n, createElementBlock as o, createElementVNode as t, toDisplayString as e, normalizeStyle as w, createTextVNode as u, Fragment as i, createCommentVNode as v, renderList as p } from "vue";
|
|
2
2
|
import { useRoute as k } from "vue-router";
|
|
3
|
-
import { Q as y } from "./app-
|
|
4
|
-
import { L as C } from "./lz-string-
|
|
3
|
+
import { Q as y } from "./app-DpMCzQql.js";
|
|
4
|
+
import { L as C } from "./lz-string-DAdPi3YY.js";
|
|
5
5
|
import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "title" }, P = { class: "text-right" }, D = { class: "header" }, O = { class: "sub-header" }, S = { class: "caption" }, F = { class: "address" }, T = { class: "text-right" }, L = {
|
|
7
7
|
key: 0,
|