@feedmepos/mf-inventory-portal 1.3.7-dev.2 → 1.3.7
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-Bt9_9LW3.js → App-D1-fT3jF.js} +3 -3
- package/dist/ApprovalView-0FbsslVD.js +226 -0
- package/dist/{BindingsDialog-lLNdP2RG.js → BindingsDialog-DeavyPY-.js} +5 -5
- package/dist/{BindingsPicker-BwxdoHu-.js → BindingsPicker-BGzhKq8G.js} +3 -3
- package/dist/{BindingsTable-C8cf9nV_.js → BindingsTable-Dr9hWkE1.js} +5 -5
- package/dist/{ClosingDraftView-CHB815at.js → ClosingDraftView-6gwWEWWB.js} +57 -57
- package/dist/{ClosingHistoryView-BQS52wLi.js → ClosingHistoryView-D4rNnlsq.js} +4 -4
- package/dist/{ClosingTemplateView-7o5xDvYi.js → ClosingTemplateView-DxCLH1GH.js} +16 -16
- package/dist/{DeliveryOrderPrintPreview-DBWYDmhP.js → DeliveryOrderPrintPreview-D-XeZX-z.js} +17 -17
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-hX9rZGHP.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DeoaPLQm.js} +14 -14
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DLo83JRe.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BMhSHZ3Z.js} +2 -2
- package/dist/{FmMultiselectDialog-CX6Q05kY.js → FmMultiselectDialog-BQZmTWDb.js} +2 -2
- package/dist/{FmMultiselectDialog-eZLmEoMJ.js → FmMultiselectDialog-DJFi54mG.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-CNP7o7p-.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DAivpdPp.js} +4 -4
- package/dist/{ImportView-5F1k_NOx.js → ImportView-DPQY0ELT.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-COyKYsPf.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DeVYXEzb.js} +1 -1
- package/dist/{IngredientGroupView-1kwOZDub.js → IngredientGroupView-5AuPbMDz.js} +7 -7
- package/dist/{IngredientsView-L50oDR5B.js → IngredientsView-qMotWYnL.js} +17 -17
- package/dist/{IntegrationView-CwBluyeW.js → IntegrationView-CVdwhNTA.js} +13 -13
- package/dist/{InventoryBindingForm-28KU0Y69.js → InventoryBindingForm-B5KUYKIu.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DAxmcGtJ.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-pbyMU879.js} +5 -5
- package/dist/{InventoryBindingSummary-hjZLd6je.js → InventoryBindingSummary-Bm3A2kmC.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-GqT3S9zo.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-NnoVkA8W.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-6jv1aHW-.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Dp4gFbs5.js} +1 -1
- package/dist/PublishView-DOIiAeDK.js +208 -0
- package/dist/{PurchaseOrderPrintPreview-C_AaZuFs.js → PurchaseOrderPrintPreview-BE-8EJFv.js} +12 -12
- package/dist/ReceiveRequestView-ur3OeHuv.js +2802 -0
- package/dist/{RecipeView-B39YtOhH.js → RecipeView-CM-BrVSe.js} +21 -22
- package/dist/{StockView-DGO3Xf6j.js → StockView-DDqlms0m.js} +20 -21
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-b6jr57r-.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CcQ6bBWG.js} +1 -1
- package/dist/{SupplierView-Bfo4AYFs.js → SupplierView-CM2PrtHi.js} +14 -14
- package/dist/{SurchargeView-CPuDx3I8.js → SurchargeView-q2NfASMH.js} +8 -8
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-EmbaZT8X.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-BbZQZQTQ.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CMWRgrTV.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Bp3joqMK.js} +67 -60
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-GhRFdMoW.js +3521 -0
- package/dist/{TransferTemplateView-DH1BkbUP.js → TransferTemplateView-B26H_T9Q.js} +19 -20
- package/dist/{UnitCostHistoryView-DonGH8na.js → UnitCostHistoryView-BzumRVdx.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-CW3kofME.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CfWpv2Mv.js} +4 -4
- package/dist/{UnitView-CFBdZjSP.js → UnitView-Cxfg--TU.js} +9 -9
- package/dist/{WarehouseView-gdd1ou_Y.js → WarehouseView-CvoafTrd.js} +7 -7
- package/dist/{WastageTemplateView-BoMqb-zR.js → WastageTemplateView-Bqd4Wp3d.js} +16 -16
- package/dist/{app-QEDlYnlN.js → app-CrrDFeMj.js} +4557 -4711
- package/dist/app.d.ts +0 -32
- package/dist/app.js +2 -2
- package/dist/{closing-template-CbHN15AQ.js → closing-template-Ew74NLQj.js} +1 -1
- package/dist/{component-kqxARxvM.js → component-DpCUABT3.js} +21 -30
- package/dist/components/row-action.enum.d.ts +0 -3
- package/dist/{date2-Z-I7Kd_W.js → date2-Bklbk2g-.js} +4 -4
- package/dist/{dayjs.min-D4CmdyEZ.js → dayjs.min-B463GIlc.js} +1 -1
- package/dist/{decimal-C-T875Hm.js → decimal-Dm2vbfDq.js} +2 -2
- package/dist/defineDeepModel-SD5OUepJ.js +19 -0
- package/dist/{duplicate-template-CmTg7BGs.js → duplicate-template-CR79OmLy.js} +1 -1
- package/dist/{export-B1VAPZRx.js → export-CQJcxfPC.js} +1 -1
- package/dist/{inventory-core-dart.default-ugZJdof5.js → feature-CZHvliez.js} +1395 -322
- package/dist/{format-time-from-id-DZ_PAFci.js → format-time-from-id-61ydd8RS.js} +1 -1
- package/dist/{format-unit-display-DlODRa7k.js → format-unit-display-BLtW28yU.js} +13 -13
- package/dist/{import-export.helper-DVCiPtHv.js → import-export.helper-uhFwjH6X.js} +6 -6
- package/dist/{index-rghVMuZK.js → index-CouegIcG.js} +1 -1
- package/dist/{index-BHqcJDf6.js → index-Dx5HvWR_.js} +1 -1
- package/dist/{index-BZxwdVW1.js → index-uA6bkf1x.js} +3 -3
- package/dist/{lodash-CgDY9U7s.js → lodash-CjyamSgJ.js} +1 -1
- package/dist/{lz-string-DNoTxtCy.js → lz-string-BbZdMrTL.js} +1 -1
- package/dist/{netsuite-B64xGIt5.js → netsuite-2v3F8ILe.js} +9 -60
- package/dist/{number-Bqy4-9rV.js → number-BYbxsJHr.js} +3 -3
- package/dist/{purchase-order-template-BxowjjVQ.js → purchase-order-template-s1AiueV_.js} +1 -1
- package/dist/router/name.d.ts +0 -2
- package/dist/{row-action.enum-Co_O4qD9.js → row-action.enum-BcW_L_nE.js} +3 -11
- package/dist/{rules-BkK6oJzC.js → rules-C7L-LFOd.js} +2 -2
- package/dist/{stock-lXNLY2TO.js → stock-CvYOcgWb.js} +3 -3
- package/dist/{stock-CedueOcQ.js → stock-D2s88pz1.js} +1 -1
- package/dist/stores/feature.d.ts +0 -2
- package/dist/stores/integration/netsuite.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-BxEW6DYL.js → supplier-DmobM7mD.js} +2 -2
- package/dist/{surcharge-_zxlHhpJ.js → surcharge-BdZOVfi0.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-BQFTqO6q.js → use-ingredient-select-dialog-BUCJBHjV.js} +2 -2
- package/dist/{use-inventory-binding-dialog-BnJKIhqC.js → use-inventory-binding-dialog-DiN1hBIm.js} +2 -2
- package/dist/{use-template-enabled-locations-2-Ch5vC3Ux.js → use-template-enabled-locations-CmH6I2cy.js} +33 -21
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +21 -21
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +21 -21
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +129 -129
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +150 -154
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +7 -93
- package/dist/vue-i18n-D0Q6LFcu.js +2365 -0
- package/dist/{xlsx-BlvEsbYy.js → xlsx-D4PML26z.js} +398 -398
- package/dist/{xlsx.util-B4ae3AUU.js → xlsx.util-BWLcCmO_.js} +1 -1
- package/package.json +3 -8
- package/dist/ApprovalView-BAFatrEE.js +0 -241
- package/dist/IntegrationExplorerView-BVJ3qSYS.js +0 -22254
- package/dist/PublishView-kBqlO98G.js +0 -234
- package/dist/ReceiveRequestView-sebwwuaH.js +0 -2817
- package/dist/SettingsView-CFoKuaMo.js +0 -695
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-_5fogvJl.js +0 -3790
- package/dist/api/integration-sync-log.d.ts +0 -47
- package/dist/api/netsuite-explorer.d.ts +0 -51
- package/dist/defineDeepModel-Ds_lq_kg.js +0 -19
- package/dist/feature-_WJViVjR.js +0 -1081
- package/dist/modules/print-template/api/print-template.d.ts +0 -29
- package/dist/modules/print-template/components/BlockConfigPanel.vue.d.ts +0 -19
- package/dist/modules/print-template/components/CustomPrintTemplatePreview.vue.d.ts +0 -25
- package/dist/modules/print-template/components/PrintTemplateEditorDialog.vue.d.ts +0 -45
- package/dist/modules/print-template/components/TemplatePreview.vue.d.ts +0 -22
- package/dist/modules/print-template/composables/print-po-with-template.d.ts +0 -25
- package/dist/modules/print-template/definitions/block-definitions.d.ts +0 -88
- package/dist/modules/print-template/definitions/predefined-templates.d.ts +0 -22
- package/dist/modules/print-template/definitions/template-renderer.d.ts +0 -17
- package/dist/modules/print-template/index.d.ts +0 -11
- package/dist/modules/print-template/store/print-template.d.ts +0 -170
- package/dist/modules/print-template/types/print-data.d.ts +0 -52
- package/dist/modules/print-template/utils/sanitize-html.d.ts +0 -32
- package/dist/predefined-templates-B5qmOdnZ.js +0 -4542
- package/dist/views/integration/components/IntegrationSyncLogTab.vue.d.ts +0 -15
- package/dist/views/integration/composables/use-integration-sync-log.d.ts +0 -45
- package/dist/views/integration-explorer/IntegrationExplorerView.vue.d.ts +0 -2
- package/dist/views/integration-explorer/composables/use-explorer-tab.d.ts +0 -126
- package/dist/views/integration-explorer/netsuite/ExplorerRecordSyncLog.vue.d.ts +0 -17
- package/dist/views/integration-explorer/netsuite/ExplorerRecordToolbar.vue.d.ts +0 -201
- package/dist/views/integration-explorer/netsuite/ExplorerSystemNote.vue.d.ts +0 -15
- package/dist/views/integration-explorer/netsuite/JsonViewer.vue.d.ts +0 -15
- package/dist/views/integration-explorer/netsuite/NetSuiteExplorerView.vue.d.ts +0 -2
- package/dist/views/integration-explorer/netsuite/inventoryTransfer/InventoryTransferSideSheet.vue.d.ts +0 -7
- package/dist/views/integration-explorer/netsuite/inventoryTransfer/InventoryTransferView.vue.d.ts +0 -39
- package/dist/views/integration-explorer/netsuite/items/AssemblyItemSideSheet.vue.d.ts +0 -7
- package/dist/views/integration-explorer/netsuite/items/InventoryItemSideSheet.vue.d.ts +0 -7
- package/dist/views/integration-explorer/netsuite/items/ItemsView.vue.d.ts +0 -2
- package/dist/views/integration-explorer/netsuite/items/ServiceItemSideSheet.vue.d.ts +0 -7
- package/dist/views/integration-explorer/netsuite/orders/ExplorerOrderDetailSideSheet.vue.d.ts +0 -7
- package/dist/views/integration-explorer/netsuite/orders/OrdersView.vue.d.ts +0 -39
- package/dist/views/integration-explorer/netsuite/orders/PurchaseOrderSideSheet.vue.d.ts +0 -7
- package/dist/views/integration-explorer/netsuite/orders/SyncNetsuiteButton.vue.d.ts +0 -29
- package/dist/views/integration-explorer/netsuite/orders/TransferOrderSideSheet.vue.d.ts +0 -7
- package/dist/views/settings/SettingsView.vue.d.ts +0 -2
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +0 -13
- package/dist/vue-i18n-taYcBeKI.js +0 -2365
|
@@ -2,15 +2,15 @@ import { defineComponent as De, ref as F, computed as J, watch as ze, resolveCom
|
|
|
2
2
|
import { u as Ve, _ as ke } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CkPuJQWF.js";
|
|
3
3
|
import { useCoreStore as Re, useI18n as je } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as We, useSnackbar as Oe, useDialog as Le, useBreakpoints as Je } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as Xe } from "./feature-
|
|
6
|
-
import { a as ie } from "./app-
|
|
7
|
-
import "./dayjs.min-
|
|
5
|
+
import { u as Xe } from "./feature-CZHvliez.js";
|
|
6
|
+
import { a as ie } from "./app-CrrDFeMj.js";
|
|
7
|
+
import "./dayjs.min-B463GIlc.js";
|
|
8
8
|
import "./app-DiX-EfV6.js";
|
|
9
9
|
import "./FmAdminBadge-BOEV93D3.js";
|
|
10
|
-
import { s as He, a as qe, d as Qe, t as Ce, r as Ye } from "./xlsx.util-
|
|
11
|
-
import { s as Ze, g as et, b as tt, d as Fe } from "./import-export.helper-
|
|
10
|
+
import { s as He, a as qe, d as Qe, t as Ce, r as Ye } from "./xlsx.util-BWLcCmO_.js";
|
|
11
|
+
import { s as Ze, g as et, b as tt, d as Fe } from "./import-export.helper-uhFwjH6X.js";
|
|
12
12
|
import { r as nt } from "./random-CSbEbElR.js";
|
|
13
|
-
import { c as Ae, a as pe } from "./number-
|
|
13
|
+
import { c as Ae, a as pe } from "./number-BYbxsJHr.js";
|
|
14
14
|
import { F as ot } from "./FmDroppableField-J0xUsOTV.js";
|
|
15
15
|
function Ee() {
|
|
16
16
|
return `measurement_${(/* @__PURE__ */ new Date()).toISOString()}_${nt()}`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as s, createElementBlock as n, createElementVNode as r, toDisplayString as o, unref as l, Fragment as d, renderList as x } from "vue";
|
|
2
|
-
import { a, e as y } from "./number-
|
|
2
|
+
import { a, e as y } from "./number-BYbxsJHr.js";
|
|
3
3
|
import { useI18n as _ } from "@feedmepos/mf-common";
|
|
4
4
|
const v = { class: "flex flex-col" }, g = { class: "flex flex-row fm-typo-en-body-md-600 bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary h-48 items-center" }, h = { class: "flex-1 py-8 px-16" }, b = {
|
|
5
5
|
class: "flex-0 py-8 px-16",
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { ref as A, computed as G, h as C, defineComponent as j, watch as re, resolveComponent as R, openBlock as F, createElementBlock as B, createVNode as b, unref as i, createElementVNode as c, toDisplayString as $, createBlock as M, withCtx as T, Fragment as pe, renderList as ve, createTextVNode as ye, createCommentVNode as se, isRef as ge, normalizeClass as _e, normalizeStyle as be, createSlots as ke, Teleport as xe, normalizeProps as he, guardReactiveProps as we } from "vue";
|
|
2
|
-
import { a as P, c as L, j as oe, u as Re } from "./app-
|
|
2
|
+
import { a as P, c as L, j as oe, u as Re } from "./app-CrrDFeMj.js";
|
|
3
3
|
import { useDialog as Ie, useSnackbar as Y, components as U, useProxiedModel as Se, useBreakpoints as Fe } from "@feedmepos/ui-library";
|
|
4
4
|
import { F as S } from "./form-mode.enum-BKiNVH6A.js";
|
|
5
5
|
import { useI18n as z, useCoreStore as Ge } from "@feedmepos/mf-common";
|
|
6
6
|
import { defineStore as ue, storeToRefs as ae } from "pinia";
|
|
7
|
-
import { D as ie, R as K } from "./row-action.enum-
|
|
8
|
-
import { c as Ve } from "./component-
|
|
7
|
+
import { D as ie, R as K } from "./row-action.enum-BcW_L_nE.js";
|
|
8
|
+
import { c as Ve } from "./component-DpCUABT3.js";
|
|
9
9
|
import { u as Ce, _ as De } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CkPuJQWF.js";
|
|
10
10
|
import { _ as Ae, F as le } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
11
|
-
import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { d as de } from "./defineDeepModel-
|
|
13
|
-
import { I as Te, A as Ee, U as Me, R as ce } from "./rules-
|
|
11
|
+
import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BMhSHZ3Z.js";
|
|
12
|
+
import { d as de } from "./defineDeepModel-SD5OUepJ.js";
|
|
13
|
+
import { I as Te, A as Ee, U as Me, R as ce } from "./rules-C7L-LFOd.js";
|
|
14
14
|
import { L as Ue, P as Be, D as Le } from "./app-DiX-EfV6.js";
|
|
15
|
-
import { u as Pe } from "./FmMultiselectDialog-
|
|
15
|
+
import { u as Pe } from "./FmMultiselectDialog-DJFi54mG.js";
|
|
16
16
|
import { r as me } from "./random-CSbEbElR.js";
|
|
17
17
|
import { u as ze, R as Ne } from "./usePromise-CbVUCxhj.js";
|
|
18
18
|
const H = ue(
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { ref as B, defineComponent as pe, computed as b, resolveComponent as C, openBlock as c, createElementBlock as T, Fragment as X, unref as l, createVNode as s, withModifiers as Bt, createCommentVNode as L, withCtx as g, createElementVNode as n, toDisplayString as F, normalizeClass as te, renderList as ue, createBlock as O, h as Q, renderSlot as xe, createSlots as He, createTextVNode as Ye, mergeModels as dt, onMounted as Dt, watch as Tt, useModel as Ot, isRef as ut, normalizeStyle as Nt, Teleport as ct, normalizeProps as zt, guardReactiveProps as Lt } from "vue";
|
|
2
|
-
import { a as Ce, c as wt, S as jt, d as mt, e as pt, f as Wt, h as vt, i as ft, j as yt, k as gt, u as qt, l as Ht } from "./app-
|
|
2
|
+
import { a as Ce, c as wt, S as jt, d as mt, e as pt, f as Wt, h as vt, i as ft, j as yt, k as gt, u as qt, l as Ht } from "./app-CrrDFeMj.js";
|
|
3
3
|
import { useDialog as Ge, useSnackbar as Fe, components as Oe, useProxiedModel as bt, useDialogChild as Yt, useBreakpoints as Gt } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as Kt, _ as Jt } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { F as q } from "./form-mode.enum-BKiNVH6A.js";
|
|
6
6
|
import { useI18n as ve, useCoreStore as Ke } from "@feedmepos/mf-common";
|
|
7
7
|
import { defineStore as Zt, storeToRefs as Qt } from "pinia";
|
|
8
|
-
import { D as ht, R as Me } from "./row-action.enum-
|
|
9
|
-
import { c as Xt } from "./component-
|
|
10
|
-
import { u as Ae, _ as en } from "./netsuite-
|
|
8
|
+
import { D as ht, R as Me } from "./row-action.enum-BcW_L_nE.js";
|
|
9
|
+
import { c as Xt } from "./component-DpCUABT3.js";
|
|
10
|
+
import { u as Ae, _ as en } from "./netsuite-2v3F8ILe.js";
|
|
11
11
|
import { F as Re } from "./FmAdminBadge-BOEV93D3.js";
|
|
12
12
|
import { u as tn, _ as nn } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CkPuJQWF.js";
|
|
13
|
-
import { A as Pe, R as Ne, U as on, M as ln } from "./rules-
|
|
14
|
-
import { g as an, _ as ze, S as Le, a as sn } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { _ as rn } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { _ as je } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { u as Vt } from "./feature-
|
|
18
|
-
import { a as dn, t as un, g as cn } from "./number-
|
|
13
|
+
import { A as Pe, R as Ne, U as on, M as ln } from "./rules-C7L-LFOd.js";
|
|
14
|
+
import { g as an, _ as ze, S as Le, a as sn } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CcQ6bBWG.js";
|
|
15
|
+
import { _ as rn } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-pbyMU879.js";
|
|
16
|
+
import { _ as je } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-DeVYXEzb.js";
|
|
17
|
+
import { u as Vt } from "./feature-CZHvliez.js";
|
|
18
|
+
import { a as dn, t as un, g as cn } from "./number-BYbxsJHr.js";
|
|
19
19
|
import { _ as he } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
20
|
-
import { d as Ue, g as mn, e as pn, a as vn } from "./import-export.helper-
|
|
20
|
+
import { d as Ue, g as mn, e as pn, a as vn } from "./import-export.helper-uhFwjH6X.js";
|
|
21
21
|
import { _ as fn } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
|
|
22
|
-
import { F as yn, a as We } from "./FmMultiselectDialog-
|
|
23
|
-
import { u as It } from "./purchase-order-template-
|
|
24
|
-
import { u as St, a as Ct } from "./closing-template-
|
|
22
|
+
import { F as yn, a as We } from "./FmMultiselectDialog-BQZmTWDb.js";
|
|
23
|
+
import { u as It } from "./purchase-order-template-s1AiueV_.js";
|
|
24
|
+
import { u as St, a as Ct } from "./closing-template-Ew74NLQj.js";
|
|
25
25
|
import { _ as gn, F as _t } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
26
|
-
import { r as bn } from "./xlsx.util-
|
|
26
|
+
import { r as bn } from "./xlsx.util-BWLcCmO_.js";
|
|
27
27
|
import { F as hn } from "./FmDroppableField-J0xUsOTV.js";
|
|
28
|
-
import { _ as _n } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
29
|
-
import { u as xn } from "./FmMultiselectDialog-
|
|
28
|
+
import { _ as _n } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BMhSHZ3Z.js";
|
|
29
|
+
import { u as xn } from "./FmMultiselectDialog-DJFi54mG.js";
|
|
30
30
|
import { P as kn, J as Tn } from "./app-DiX-EfV6.js";
|
|
31
31
|
const qe = Zt("ingredientForm", function() {
|
|
32
32
|
const r = Ge(), k = Fe(), d = Ce(), h = B(!1), { t: I } = ve(), E = B();
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { defineComponent as P, mergeModels as Ye, useModel as ke, onMounted as ie, ref as L, computed as O, resolveComponent as F, openBlock as x, createElementBlock as E, createElementVNode as l, toDisplayString as R, unref as V, createVNode as A, createBlock as H, withCtx as N, Fragment as Y, renderList as ee, normalizeClass as q, normalizeStyle as Qe, createSlots as oe, createCommentVNode as j, withModifiers as Je, reactive as Fe, watch as Ce, isRef as re, Teleport as pe, h as k, createTextVNode as K, watchEffect as Ke } from "vue";
|
|
2
2
|
import { E as qe } from "./empty-placeholder-wf6-BWE8.js";
|
|
3
|
-
import { A as Ge, B as Ze, c as ae, u as se, C as We, a as ce, N as ge, D as Ae, E as $, y as ne, G as Be, H as Ve, v as fe } from "./app-
|
|
3
|
+
import { A as Ge, B as Ze, c as ae, u as se, C as We, a as ce, N as ge, D as Ae, E as $, y as ne, G as Be, H as Ve, v as fe } from "./app-CrrDFeMj.js";
|
|
4
4
|
import { useDialogChild as $e, useDialog as be, useProxiedModel as ue, useSnackbar as G, useBreakpoints as _e, components as J } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as et } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CkPuJQWF.js";
|
|
6
6
|
import { useI18n as Z, useCoreStore as le } from "@feedmepos/mf-common";
|
|
7
|
-
import { _ as tt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { u as nt, a as st, b as ot, c as at } from "./index-
|
|
9
|
-
import { u as te, a as me } from "./netsuite-
|
|
10
|
-
import { b as lt, a as it } from "./FmMultiselectDialog-
|
|
11
|
-
import { R as rt } from "./rules-
|
|
7
|
+
import { _ as tt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BMhSHZ3Z.js";
|
|
8
|
+
import { u as nt, a as st, b as ot, c as at } from "./index-uA6bkf1x.js";
|
|
9
|
+
import { u as te, a as me } from "./netsuite-2v3F8ILe.js";
|
|
10
|
+
import { b as lt, a as it } from "./FmMultiselectDialog-BQZmTWDb.js";
|
|
11
|
+
import { R as rt } from "./rules-C7L-LFOd.js";
|
|
12
12
|
import { P as Ee, J as Ne, D as Le } from "./app-DiX-EfV6.js";
|
|
13
|
-
import { u as ut } from "./supplier-
|
|
14
|
-
import { u as ve } from "./vue-i18n-
|
|
15
|
-
import { _ as dt, a as ct } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { a as mt } from "./number-
|
|
17
|
-
import { a as he, f as De } from "./date2-
|
|
13
|
+
import { u as ut } from "./supplier-DmobM7mD.js";
|
|
14
|
+
import { u as ve } from "./vue-i18n-D0Q6LFcu.js";
|
|
15
|
+
import { _ as dt, a as ct } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-DAivpdPp.js";
|
|
16
|
+
import { a as mt } from "./number-BYbxsJHr.js";
|
|
17
|
+
import { a as he, f as De } from "./date2-Bklbk2g-.js";
|
|
18
18
|
import { F as Te } from "./FmAdminBadge-BOEV93D3.js";
|
|
19
|
-
import { u as Re } from "./feature-
|
|
19
|
+
import { u as Re } from "./feature-CZHvliez.js";
|
|
20
20
|
import { F as Oe } from "./FmDroppableField-J0xUsOTV.js";
|
|
21
|
-
import { r as Me, u as ze } from "./xlsx-
|
|
21
|
+
import { r as Me, u as ze } from "./xlsx-D4PML26z.js";
|
|
22
22
|
const ft = "data:image/svg+xml,%3csvg%20width='200'%20height='101'%20viewBox='0%200%20200%20101'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M98.9161%2038.4456V24.1772H108.527V27.1988H102.12V30.2202H107.347V32.7382H102.12V38.4456H98.9161Z'%20fill='%235D5359'/%3e%3cpath%20d='M110.382%2031.2276C110.382%2027.5345%20113.249%2024.1772%20117.127%2024.1772C121.174%2024.1772%20123.872%2027.7024%20123.872%2031.3953C123.872%2035.0884%20121.005%2038.6133%20117.127%2038.6133C113.08%2038.4456%20110.382%2034.9204%20110.382%2031.2276ZM117.127%2035.5919C119.487%2035.5919%20120.499%2033.4096%20120.499%2031.2276C120.499%2029.0452%20119.319%2027.0309%20117.127%2027.0309C114.935%2027.0309%20113.754%2029.213%20113.754%2031.2276C113.754%2033.5776%20114.935%2035.5919%20117.127%2035.5919Z'%20fill='%235D5359'/%3e%3cpath%20d='M126.232%2031.2276C126.232%2027.5345%20129.099%2024.1772%20132.977%2024.1772C137.024%2024.1772%20139.722%2027.7024%20139.722%2031.3953C139.722%2035.0884%20136.855%2038.6133%20132.977%2038.6133C128.93%2038.4456%20126.232%2034.9204%20126.232%2031.2276ZM132.977%2035.5919C135.337%2035.5919%20136.349%2033.4096%20136.349%2031.2276C136.349%2029.0452%20135.169%2027.0309%20132.977%2027.0309C130.785%2027.0309%20129.604%2029.213%20129.604%2031.2276C129.604%2033.5776%20130.785%2035.5919%20132.977%2035.5919Z'%20fill='%235D5359'/%3e%3cpath%20d='M142.926%2038.4455V24.345H148.153C152.874%2024.345%20155.235%2027.5343%20155.235%2031.3952C155.235%2035.5918%20152.368%2038.4455%20148.153%2038.4455H142.926ZM148.153%2027.0308H146.129V35.4238H148.153C150.513%2035.4238%20151.862%2033.5775%20151.862%2031.2272C151.862%2028.8773%20150.513%2027.0308%20148.153%2027.0308Z'%20fill='%235D5359'/%3e%3cpath%20d='M110.045%2057.5607V49.1676L107.009%2055.2107H105.324L102.12%2049.1676V57.5607H98.9161V43.4604H102.457L106.167%2050.8465L109.876%2043.4604H113.417V57.5607H110.045Z'%20fill='%235D5359'/%3e%3cpath%20d='M115.947%2057.5607L121.342%2043.4604H124.04L129.436%2057.5607H125.895L124.715%2054.3716H120.331L119.319%2057.5607H115.947ZM122.691%2046.9856L121.005%2052.1893H124.378L122.691%2046.9856Z'%20fill='%235D5359'/%3e%3cpath%20d='M131.965%2057.5607V43.4604H138.373C141.07%2043.4604%20142.925%2045.8105%20142.925%2048.1605C142.925%2049.8393%20142.082%2051.5179%20140.565%2052.1893L143.768%2057.393H140.059L137.192%2052.8607H135V57.393H131.965V57.5607ZM135.169%2050.175H138.204C139.047%2050.175%20139.553%2049.3356%20139.553%2048.1605C139.553%2046.9856%20138.71%2046.3142%20138.035%2046.3142H135.169V50.175Z'%20fill='%235D5359'/%3e%3cpath%20d='M146.635%2057.5607V43.4604H150.007V49.8393L155.403%2043.4604H158.776L153.548%2049.6713L159.281%2057.5607H155.74L151.693%2051.5179L150.007%2053.3642V57.5607H146.635Z'%20fill='%235D5359'/%3e%3cpath%20d='M171.422%2054.7073V57.5607H161.474V43.4604H171.253V46.3142H164.677V48.9999H170.242V51.6856H164.677V54.7073H171.422Z'%20fill='%235D5359'/%3e%3cpath%20d='M185.417%2046.3142H181.202V57.5607H177.829V46.3142H173.614V43.4604H185.417V46.3142Z'%20fill='%235D5359'/%3e%3cpath%20d='M111.057%2062.5967V76.6973H107.853V70.9898H102.12V76.6973H98.9161V62.5967H102.12V68.1361H107.853V62.5967H111.057Z'%20fill='%235D5359'/%3e%3cpath%20d='M124.04%2069.815V62.5967H127.244V69.815C127.244%2073.6758%20125.389%2076.865%20121.005%2076.865C116.453%2076.865%20114.766%2073.5078%20114.766%2069.815V62.5967H117.97V69.815C117.97%2071.997%20118.813%2074.0115%20121.005%2074.0115C123.366%2074.0115%20124.04%2071.997%20124.04%2069.815Z'%20fill='%235D5359'/%3e%3cpath%20d='M138.036%2076.6973H131.122V62.5967H139.047C141.071%2062.5967%20142.251%2064.4433%20142.251%2066.2898C142.251%2067.6327%20141.576%2068.9755%20140.228%2069.4793C141.914%2069.9827%20142.926%2071.1578%20142.926%2073.1721C142.757%2075.5221%20140.733%2076.6973%20138.036%2076.6973ZM134.326%2065.4504V68.3041H137.53C138.204%2068.3041%20138.879%2067.8004%20138.879%2066.7933C138.879%2065.7861%20138.373%2065.2827%20137.698%2065.2827H134.326V65.4504ZM138.204%2070.8221H134.494V73.8435H138.204C139.047%2073.8435%20139.722%2073.1721%20139.722%2072.3327C139.553%2071.6613%20138.879%2070.8221%20138.204%2070.8221Z'%20fill='%235D5359'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M73.4753%2051.4994C78.7281%2050.5396%2082.8911%2046.4891%2083.9954%2041.3137L84.1232%2040.7134L83.9445%2040.1256C80.5804%2029.066%2071.9945%2020.2704%2061.0373%2016.5726C57.4%2015.3451%2053.5046%2014.6804%2049.458%2014.6804C45.4112%2014.6804%2041.5158%2015.3451%2037.8784%2016.5726C26.9214%2020.2704%2018.3354%2029.066%2014.9712%2040.1256L14.7924%2040.7134L14.9206%2041.3137C16.0247%2046.4891%2020.1875%2050.5396%2025.4405%2051.4994V58.8839H14.4183C14.6758%2059.9557%2014.9818%2061.0088%2015.3337%2062.0411C20.1553%2076.1811%2033.6083%2086.3619%2049.458%2086.3619C65.3074%2086.3619%2078.7606%2076.1811%2083.5822%2062.0411C83.9342%2061.0088%2084.2399%2059.9557%2084.4974%2058.8839H73.4753V51.4994ZM41.0517%2020.5973V38.5742C41.0517%2043.1931%2044.8155%2046.9371%2049.458%2046.9371C54.1005%2046.9371%2057.8641%2043.1931%2057.8641%2038.5742V20.5973C55.1919%2019.856%2052.3732%2019.4592%2049.458%2019.4592C46.5428%2019.4592%2043.7241%2019.856%2041.0517%2020.5973ZM62.6675%2022.3673V38.5742C62.6675%2043.1931%2066.431%2046.9371%2071.0735%2046.9371C74.9051%2046.9371%2078.1425%2044.3848%2079.1528%2040.8942C76.4672%2032.6902%2070.4379%2025.9824%2062.6675%2022.3673ZM60.2658%2046.1322C57.8753%2049.5094%2053.9255%2051.7159%2049.458%2051.7159C44.9902%2051.7159%2041.0408%2049.5094%2038.65%2046.1322C36.6982%2048.8894%2033.7074%2050.8662%2030.2439%2051.4994V58.8839H68.6718V51.4994C65.2083%2050.8662%2062.2175%2048.8894%2060.2658%2046.1322ZM21.1583%2063.6628C26.1349%2074.2514%2036.9382%2081.5834%2049.458%2081.5834C61.9776%2081.5834%2072.781%2074.2514%2077.7574%2063.6628H21.1583ZM36.2482%2038.5742V22.3673C28.4779%2025.9824%2022.4486%2032.6902%2019.7631%2040.8942C20.7733%2044.3848%2024.0106%2046.9371%2027.8422%2046.9371C32.4847%2046.9371%2036.2482%2043.1931%2036.2482%2038.5742Z'%20fill='%23FFC35D'/%3e%3c/svg%3e";
|
|
23
23
|
var je = { exports: {} };
|
|
24
24
|
(function(_, h) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as ne, computed as g, reactive as oe, resolveComponent as B, openBlock as a, createElementBlock as y, createVNode as m, withCtx as k, createElementVNode as n, toDisplayString as p, unref as i, createBlock as I, createCommentVNode as v, Fragment as E, renderList as C, nextTick as te } from "vue";
|
|
2
|
-
import { a as le, w as ie, x as se, F as de } from "./app-
|
|
3
|
-
import { a as h, c as re } from "./number-
|
|
4
|
-
import { u as ae } from "./use-inventory-binding-dialog-
|
|
5
|
-
import { b as D, c as G } from "./rules-
|
|
6
|
-
import { _ as ue, c as me, d as ce } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { a as le, w as ie, x as se, F as de } from "./app-CrrDFeMj.js";
|
|
3
|
+
import { a as h, c as re } from "./number-BYbxsJHr.js";
|
|
4
|
+
import { u as ae } from "./use-inventory-binding-dialog-DiN1hBIm.js";
|
|
5
|
+
import { b as D, c as G } from "./rules-C7L-LFOd.js";
|
|
6
|
+
import { _ as ue, c as me, d as ce } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-DAivpdPp.js";
|
|
7
7
|
import { useI18n as pe } from "@feedmepos/mf-common";
|
|
8
8
|
const ye = { class: "flex flex-col gap-24" }, fe = { class: "flex flex-col gap-16" }, ve = { class: "flex items-center" }, be = { class: "flex-1 fm-typo-en-title-sm-600" }, _e = { 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" }, xe = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, he = { class: "flex flex-col w-full border-b border-fm-color-neutral-gray-100" }, Ve = {
|
|
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-CrrDFeMj.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-BYbxsJHr.js";
|
|
3
3
|
const _ = ["value", "disabled"], C = /* @__PURE__ */ V({
|
|
4
4
|
__name: "NumberPrecisionInput",
|
|
5
5
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as F, u as f } from "./app-
|
|
1
|
+
import { o as F, u as f } from "./app-CrrDFeMj.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) => {
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { defineComponent as D, ref as A, computed as i, watch as H, resolveComponent as u, openBlock as S, createBlock as I, unref as c, createSlots as Y, withCtx as h, createElementVNode as N, normalizeClass as $, createVNode as m, normalizeStyle as U, Teleport as q, h as p } from "vue";
|
|
2
|
+
import { u as E, a as K, z as j } from "./app-CrrDFeMj.js";
|
|
3
|
+
import { u as G, _ as J } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CkPuJQWF.js";
|
|
4
|
+
import { useBreakpoints as O, useDialog as Q, useSnackbar as R, components as x } from "@feedmepos/ui-library";
|
|
5
|
+
import { u as X } from "./vue-i18n-D0Q6LFcu.js";
|
|
6
|
+
import { a as C } from "./date2-Bklbk2g-.js";
|
|
7
|
+
const ie = /* @__PURE__ */ D({
|
|
8
|
+
__name: "PublishView",
|
|
9
|
+
setup(Z) {
|
|
10
|
+
const { t } = X(), { breakpoints: f } = O(), n = E(), g = K(), w = j(), s = A(!1), l = i(() => g.state.inventory.updatedAt ? g.state.inventory.updatedAt : null), k = G(), _ = Q(), F = R(), M = i(() => n.locationsWithInventory), d = i(() => f.value.xs || f.value.sm), L = i(() => d.value ? 10 : 20);
|
|
11
|
+
H(
|
|
12
|
+
() => n._locations,
|
|
13
|
+
async () => {
|
|
14
|
+
var e;
|
|
15
|
+
s.value = !0, (!n._locationWithInventory || ((e = n._locationWithInventory) == null ? void 0 : e.length) === 0) && await n.readLocationsWithInventory(), s.value = !1;
|
|
16
|
+
},
|
|
17
|
+
{ immediate: !0 }
|
|
18
|
+
// Optional: triggers the watcher immediately on mount
|
|
19
|
+
);
|
|
20
|
+
const P = i(() => [
|
|
21
|
+
{
|
|
22
|
+
label: t("inventory.common.refresh"),
|
|
23
|
+
value: "refresh",
|
|
24
|
+
isPrimary: !1
|
|
25
|
+
},
|
|
26
|
+
{ label: t("inventory.publish.actions.publishAll"), value: "publish", isPrimary: !0 }
|
|
27
|
+
]);
|
|
28
|
+
async function V(e) {
|
|
29
|
+
switch (e) {
|
|
30
|
+
case "publish":
|
|
31
|
+
_.open({
|
|
32
|
+
title: t("inventory.common.publish"),
|
|
33
|
+
message: "Are you sure you want to publish to all locations?",
|
|
34
|
+
primaryActions: { text: t("inventory.common.publish"), close: !0 },
|
|
35
|
+
secondaryActions: { text: "Cancel", close: !0 }
|
|
36
|
+
}).onPrimary(async () => {
|
|
37
|
+
await w.publishAllInventory(), await n.readLocationsWithInventory();
|
|
38
|
+
});
|
|
39
|
+
break;
|
|
40
|
+
case "refresh":
|
|
41
|
+
s.value = !0, await n.readLocationsWithInventory(), s.value = !1;
|
|
42
|
+
break;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
const y = A(!1), z = [
|
|
46
|
+
{
|
|
47
|
+
value: "publish",
|
|
48
|
+
label: t("inventory.publish.actions.publishAll")
|
|
49
|
+
}
|
|
50
|
+
];
|
|
51
|
+
function B(e) {
|
|
52
|
+
switch (y.value = !1, e) {
|
|
53
|
+
case "publish":
|
|
54
|
+
console.log("publish all");
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
const W = [
|
|
58
|
+
{
|
|
59
|
+
id: "type",
|
|
60
|
+
header: () => t("inventory.publish.columns.type"),
|
|
61
|
+
enableSorting: !0,
|
|
62
|
+
cell(e) {
|
|
63
|
+
return p(x.FmChip, {
|
|
64
|
+
color: "primary",
|
|
65
|
+
label: e.row.original.type
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
accessorKey: "name",
|
|
71
|
+
header: () => t("inventory.publish.columns.location"),
|
|
72
|
+
enableSorting: !0,
|
|
73
|
+
size: 300
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
id: "version",
|
|
77
|
+
header: () => t("inventory.publish.columns.version"),
|
|
78
|
+
enableSorting: !0,
|
|
79
|
+
cell(e) {
|
|
80
|
+
var o, a;
|
|
81
|
+
return (o = e.row.original.inventory) != null && o.updatedAt ? C((a = e.row.original.inventory) == null ? void 0 : a.updatedAt) : "";
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
id: "status",
|
|
86
|
+
header: () => t("inventory.publish.columns.status"),
|
|
87
|
+
enableSorting: !0,
|
|
88
|
+
cell(e) {
|
|
89
|
+
var r;
|
|
90
|
+
if (!l.value)
|
|
91
|
+
return "";
|
|
92
|
+
const o = ((r = e.row.original.inventory) == null ? void 0 : r.updatedAt) == l.value, a = e.row.original.dbName, v = e.row.original.type === "warehouse";
|
|
93
|
+
return p(
|
|
94
|
+
"div",
|
|
95
|
+
{
|
|
96
|
+
class: "flex items-center gap-8"
|
|
97
|
+
},
|
|
98
|
+
[
|
|
99
|
+
p(
|
|
100
|
+
"div",
|
|
101
|
+
{
|
|
102
|
+
class: [
|
|
103
|
+
"fm-status-badge",
|
|
104
|
+
o ? "fm-status-badge-success-secondary" : "fm-status-badge-info-secondary"
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
t(o ? "inventory.publish.status.published" : "inventory.publish.status.outdated")
|
|
108
|
+
),
|
|
109
|
+
!o && !v ? p(x.FmButton, {
|
|
110
|
+
class: "tertiary",
|
|
111
|
+
variant: "secondary",
|
|
112
|
+
icon: "sync",
|
|
113
|
+
onClick: () => {
|
|
114
|
+
_.open({
|
|
115
|
+
title: t("inventory.common.publish"),
|
|
116
|
+
message: `Are you sure you want to publish this location "${e.row.original.name}"?`,
|
|
117
|
+
primaryActions: { text: t("inventory.common.publish"), close: !0 },
|
|
118
|
+
secondaryActions: { text: "Cancel", close: !0 }
|
|
119
|
+
}).onPrimary(async () => {
|
|
120
|
+
await w.publishInventory(a.split("_")[1]), await n.readLocations(), F.open({ message: "Publish request submitted", type: "success" });
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
}) : null
|
|
124
|
+
]
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
// {
|
|
129
|
+
// id: 'action',
|
|
130
|
+
// header: '',
|
|
131
|
+
// cell(props) {
|
|
132
|
+
// return createContextMenuComponents(
|
|
133
|
+
// [DefaultRowActions[RowActionEnum.Edit], DefaultRowActions[RowActionEnum.Delete]],
|
|
134
|
+
// (action) => {
|
|
135
|
+
// onActionMenu(action, props.row.original)
|
|
136
|
+
// }
|
|
137
|
+
// )
|
|
138
|
+
// },
|
|
139
|
+
// enableSorting: false,
|
|
140
|
+
// size: 40,
|
|
141
|
+
// meta: {
|
|
142
|
+
// cellClass: '',
|
|
143
|
+
// headerClass: ''
|
|
144
|
+
// }
|
|
145
|
+
// }
|
|
146
|
+
];
|
|
147
|
+
return (e, o) => {
|
|
148
|
+
const a = u("FmChip"), v = u("FmTable"), r = u("FmCollapsibleTabs"), T = u("FmBottomSheet");
|
|
149
|
+
return S(), I(J, {
|
|
150
|
+
title: c(t)("inventory.publish.title"),
|
|
151
|
+
actions: P.value,
|
|
152
|
+
"onClick:action": V
|
|
153
|
+
}, Y({
|
|
154
|
+
default: h(() => [
|
|
155
|
+
N("div", {
|
|
156
|
+
class: $([
|
|
157
|
+
"flex flex-col gap-8 max-h-full",
|
|
158
|
+
{
|
|
159
|
+
"p-0": d.value,
|
|
160
|
+
"px-24 ": !d.value
|
|
161
|
+
}
|
|
162
|
+
])
|
|
163
|
+
}, [
|
|
164
|
+
m(v, {
|
|
165
|
+
style: U(c(k).tableHeight),
|
|
166
|
+
"column-defs": W,
|
|
167
|
+
"row-data": M.value,
|
|
168
|
+
loading: !c(n)._currentLocation || s.value,
|
|
169
|
+
"loading-text": "Loading",
|
|
170
|
+
"page-size": L.value
|
|
171
|
+
}, null, 8, ["style", "row-data", "loading", "page-size"])
|
|
172
|
+
], 2),
|
|
173
|
+
(S(), I(q, { to: "body" }, [
|
|
174
|
+
m(T, {
|
|
175
|
+
"dismiss-away": "",
|
|
176
|
+
modelValue: y.value,
|
|
177
|
+
"onUpdate:modelValue": o[1] || (o[1] = (b) => y.value = b)
|
|
178
|
+
}, {
|
|
179
|
+
default: h(() => [
|
|
180
|
+
m(r, {
|
|
181
|
+
class: "pb-8",
|
|
182
|
+
items: z,
|
|
183
|
+
"onUpdate:modelValue": o[0] || (o[0] = (b) => B(b))
|
|
184
|
+
})
|
|
185
|
+
]),
|
|
186
|
+
_: 1
|
|
187
|
+
}, 8, ["modelValue"])
|
|
188
|
+
]))
|
|
189
|
+
]),
|
|
190
|
+
_: 2
|
|
191
|
+
}, [
|
|
192
|
+
l.value ? {
|
|
193
|
+
name: "headerInfo",
|
|
194
|
+
fn: h(() => [
|
|
195
|
+
m(a, {
|
|
196
|
+
variant: "info",
|
|
197
|
+
label: `Latest: ${c(C)(l.value)}`
|
|
198
|
+
}, null, 8, ["label"])
|
|
199
|
+
]),
|
|
200
|
+
key: "0"
|
|
201
|
+
} : void 0
|
|
202
|
+
]), 1032, ["title", "actions"]);
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
});
|
|
206
|
+
export {
|
|
207
|
+
ie as default
|
|
208
|
+
};
|
package/dist/{PurchaseOrderPrintPreview-C_AaZuFs.js → PurchaseOrderPrintPreview-BE-8EJFv.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
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 {
|
|
4
|
-
import { L as C } from "./lz-string-
|
|
3
|
+
import { O as y } from "./app-CrrDFeMj.js";
|
|
4
|
+
import { L as C } from "./lz-string-BbZdMrTL.js";
|
|
5
5
|
import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "title" },
|
|
6
|
+
const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "title" }, O = { class: "text-right" }, P = { class: "header" }, D = { class: "sub-header" }, S = { class: "caption" }, F = { class: "address" }, T = { class: "text-right" }, L = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "sub-header"
|
|
9
|
-
}, U = { class: "sub-header" }, q = { class: "address" }, I = { class: "purchase-body" }, V = { class: "text-left" }, B = { class: "text-left" }, H = { class: "text-right" }, M = { class: "text-right" },
|
|
9
|
+
}, U = { class: "sub-header" }, q = { class: "address" }, I = { class: "purchase-body" }, V = { class: "text-left" }, B = { class: "text-left" }, H = { class: "text-right" }, M = { class: "text-right" }, z = { class: "text-right" }, J = { style: { "padding-top": "30px" } }, Q = { valign: "bottom" }, Z = { class: "header" }, j = { class: "caption" }, G = {
|
|
10
10
|
class: "text-left",
|
|
11
11
|
style: { width: "20%" }
|
|
12
12
|
}, K = { class: "text-left" }, W = {
|
|
@@ -31,7 +31,7 @@ const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "tit
|
|
|
31
31
|
if (!c)
|
|
32
32
|
throw new Error("Failed to decompress print data. Please try printing again.");
|
|
33
33
|
const s = f(JSON.parse(c));
|
|
34
|
-
return g(
|
|
34
|
+
return g(() => {
|
|
35
35
|
setTimeout(() => window.print(), 500);
|
|
36
36
|
}), (et, l) => (n(), o("div", R, [
|
|
37
37
|
t("table", null, [
|
|
@@ -43,8 +43,8 @@ const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "tit
|
|
|
43
43
|
style: w({ color: _.value })
|
|
44
44
|
}, e(s.value.status), 5)
|
|
45
45
|
]),
|
|
46
|
-
t("td",
|
|
47
|
-
t("div",
|
|
46
|
+
t("td", O, [
|
|
47
|
+
t("div", P, "ORD #" + e(s.value.orderNumber), 1),
|
|
48
48
|
t("div", null, e(s.value.createdAt), 1)
|
|
49
49
|
])
|
|
50
50
|
])
|
|
@@ -54,7 +54,7 @@ const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "tit
|
|
|
54
54
|
t("tr", null, [
|
|
55
55
|
t("td", null, [
|
|
56
56
|
l[4] || (l[4] = t("div", { class: "header" }, "Supplier", -1)),
|
|
57
|
-
t("div",
|
|
57
|
+
t("div", D, e(s.value.supplier.name), 1),
|
|
58
58
|
t("div", S, e(s.value.supplier.registrationNumber), 1),
|
|
59
59
|
t("div", F, [
|
|
60
60
|
u(e(s.value.supplier.line1), 1),
|
|
@@ -117,14 +117,14 @@ const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "tit
|
|
|
117
117
|
t("td", B, e(r.description), 1),
|
|
118
118
|
t("td", H, e(r.quantity), 1),
|
|
119
119
|
t("td", M, e(r.unit), 1),
|
|
120
|
-
t("td",
|
|
120
|
+
t("td", z, e(r.cost ? r.cost : "N/A"), 1)
|
|
121
121
|
]))), 128))
|
|
122
122
|
])
|
|
123
123
|
])
|
|
124
124
|
]),
|
|
125
125
|
l[14] || (l[14] = t("hr", null, null, -1)),
|
|
126
126
|
t("div", null, "Remark: " + e(s.value.remark), 1),
|
|
127
|
-
t("div",
|
|
127
|
+
t("div", J, [
|
|
128
128
|
l[11] || (l[11] = t("hr", null, null, -1)),
|
|
129
129
|
l[12] || (l[12] = u(" Delivery History: ")),
|
|
130
130
|
(n(!0), o(i, null, p(s.value.deliveryOrders, (r, a) => (n(), o("div", {
|
|
@@ -132,7 +132,7 @@ const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "tit
|
|
|
132
132
|
style: { padding: "10px 30px" }
|
|
133
133
|
}, [
|
|
134
134
|
t("table", null, [
|
|
135
|
-
t("tr",
|
|
135
|
+
t("tr", Q, [
|
|
136
136
|
t("td", null, [
|
|
137
137
|
t("div", Z, "Ref: " + e(r.ref), 1),
|
|
138
138
|
t("div", j, e(r.createdAt), 1),
|
|
@@ -156,7 +156,7 @@ const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "tit
|
|
|
156
156
|
])
|
|
157
157
|
]));
|
|
158
158
|
}
|
|
159
|
-
}), ut = /* @__PURE__ */ N(Y, [["__scopeId", "data-v-
|
|
159
|
+
}), ut = /* @__PURE__ */ N(Y, [["__scopeId", "data-v-f8661275"]]);
|
|
160
160
|
export {
|
|
161
161
|
ut as default
|
|
162
162
|
};
|