@feedmepos/mf-inventory-portal 1.7.9-dev.1 → 1.7.9-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App-BYCW0L94.js +1403 -0
- package/dist/{ApprovalView-DpkYimTU.js → ApprovalView-pmI_SFo7.js} +9 -9
- package/dist/{BindingsDialog-9MteMW5_.js → BindingsDialog-D902flPr.js} +2 -2
- package/dist/{BindingsPicker-C3R1Iaci.js → BindingsPicker-JEKsY59b.js} +2 -2
- package/dist/{BindingsTable-yWS4vjmz.js → BindingsTable-DqlzOIxF.js} +4 -4
- package/dist/{BulkReceiveRequestView-MYLE3mXl.js → BulkReceiveRequestView-Chw7ma2k.js} +19 -19
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DrehE0r3.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-Cct8Ko19.js} +1 -1
- package/dist/{ClosingDraftView-BO0eUpk7.js → ClosingDraftView-D1ymRsd2.js} +19 -19
- package/dist/{ClosingHistoryView-1Gu4B0qB.js → ClosingHistoryView-5yr_itIV.js} +5 -5
- package/dist/{ClosingTemplateView-CvAn5afN.js → ClosingTemplateView-MDl5Zq-g.js} +16 -16
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CwWbC1oH.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-BcG0gWV4.js} +1 -1
- package/dist/{DefaultView-DeXxhLsq.js → DefaultView-dOfbL3iF.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-Bilzn1WS.js → DeliveryOrderPrintPreview-BfVgQOx8.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-C5xp1ceO.js → EmailDialog.vue_vue_type_script_setup_true_lang-DHspOJQW.js} +23 -23
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DL5i2-tq.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-B7NLu0us.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bq36-nnH.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C0nunKjx.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D2l0nTi_.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CMst9tkA.js} +2 -2
- package/dist/{FmMultiselectDialog-COp24wS3.js → FmMultiselectDialog-BjBx94pY.js} +1 -1
- package/dist/{FmMultiselectDialog-CKQ1eFVZ.js → FmMultiselectDialog-Dt54hvqw.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-CN4ENCPZ.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DtG9Ieo_.js} +6 -6
- package/dist/{ImportView-CB3qjhvy.js → ImportView-CdZN8k_Y.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CBxUyjH8.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-iCpYEneM.js} +1 -1
- package/dist/{IngredientGroupView-DuY6Gw5V.js → IngredientGroupView-BBVS1mKn.js} +5 -5
- package/dist/{IngredientsView-DxzyJE_h.js → IngredientsView-BGOaAUzR.js} +15 -15
- package/dist/{IntegrationExplorerView-Ma59NTHM.js → IntegrationExplorerView-UUBCmqdR.js} +4 -4
- package/dist/{IntegrationView-SBMEO_e9.js → IntegrationView-B2YowH-i.js} +14 -14
- package/dist/{InventoryBindingForm-CBFJRVNH.js → InventoryBindingForm-kDx6Mvhn.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-B-nEFGKA.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-C8bktmYH.js} +5 -5
- package/dist/{InventoryBindingSummary-c5g-35nq.js → InventoryBindingSummary-DJrBTa8_.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DEtNW2wJ.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DHk9uEAP.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BInLhmxe.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Dx1VktdW.js} +1 -1
- package/dist/{ProductionView-BlhsrkXW.js → ProductionView-CxUcsRBP.js} +7 -7
- package/dist/{PublishView-bMEZSiVN.js → PublishView-DtP-Ms7q.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-HvIFszQX.js → PurchaseOrderPrintPreview-C_qC2KF5.js} +2 -2
- package/dist/{ReceiveRequestView-jwXYj2Wy.js → ReceiveRequestView-Dy3BpqsP.js} +14 -14
- package/dist/{RecipeView-DKd5h85n.js → RecipeView-DeR7pqj8.js} +17 -17
- package/dist/{SettingsView-BqELMK6p.js → SettingsView-C7ZXmatO.js} +4 -4
- package/dist/{StockView-6xDfuSnV.js → StockView-wFLnNSRr.js} +21 -21
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CBUZIEA5.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Fxh3-Nqi.js} +1 -1
- package/dist/{SupplierView-BwMl9JFO.js → SupplierView-CeTDNDDK.js} +12 -12
- package/dist/{SurchargeView-AGXGqhxy.js → SurchargeView-BQJnCdPA.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-DQSq3UGp.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-D1zxuH66.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BBUG8N2w.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BFkh3Ubb.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BMrGsD-f.js → TransferDetails.vue_vue_type_script_setup_true_lang-CZVDhXNz.js} +20 -20
- package/dist/{TransferTemplateView-DJYXlxpw.js → TransferTemplateView-XaI2T5fa.js} +20 -20
- package/dist/{UnitCostHistoryView-DRgWgXhB.js → UnitCostHistoryView-DTNW7-mk.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-CR8a6DkX.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-vRsEjVJc.js} +4 -4
- package/dist/{UnitView-mWUCF13E.js → UnitView-DXnyzkj3.js} +7 -7
- package/dist/{WarehouseView-DY4_bxzS.js → WarehouseView-iEHFgIqh.js} +5 -5
- package/dist/{WastageTemplateView-D4YFC_zj.js → WastageTemplateView-CGDUCPbr.js} +14 -14
- package/dist/api/changelog.d.ts +69 -1
- package/dist/{app-DCSH6Br7.js → app-BIXJtvvD.js} +31 -23
- package/dist/app.d.ts +16 -8
- package/dist/app.js +1 -1
- package/dist/{closing-template-knrmn7Jq.js → closing-template-CLY-r6Cf.js} +1 -1
- package/dist/{date2-m9Qq52B4.js → date2-DbYQycSa.js} +1 -1
- package/dist/{dayjs.min-BX2fRC46.js → dayjs.min-Dv7-fEed.js} +1 -1
- package/dist/{decimal-pgdYbjfw.js → decimal-B8YR17QC.js} +2 -2
- package/dist/{defineDeepModel-C5kt7Waa.js → defineDeepModel-C5ncgNxj.js} +1 -1
- package/dist/{duplicate-template-B74iiBzz.js → duplicate-template-CAlG1nzV.js} +1 -1
- package/dist/{feature-CfkazbcV.js → feature-BLSNLI5y.js} +2 -2
- package/dist/{format-time-from-id-C1AIz8rq.js → format-time-from-id-D5DcWpHS.js} +1 -1
- package/dist/{format-unit-display-A-G-IaSa.js → format-unit-display-Ch97dVXx.js} +12 -12
- package/dist/{import-export.helper-Dx6UODpr.js → import-export.helper-CvUFSOa1.js} +6 -6
- package/dist/{index-CiQiwzTH.js → index-Bk8DOv4n.js} +1 -1
- package/dist/{index-uk9CA-G3.js → index-CXzVUrJS.js} +3 -3
- package/dist/{index-DjKTLy_K.js → index-rRPErzP4.js} +1 -1
- package/dist/{inventory-core-dart.default-CMAgxo1z.js → inventory-core-dart.default-Cj7CxnpK.js} +1 -1
- package/dist/{lz-string-DZI7eVks.js → lz-string-DWkGPESZ.js} +1 -1
- package/dist/{netsuite-CoajVOCj.js → netsuite-Cn0y1rH3.js} +2 -2
- package/dist/{number-qzibfxtV.js → number-CxbQxQwj.js} +3 -3
- package/dist/{predefined-templates-Bi2KN0S0.js → predefined-templates-CrSoG3R9.js} +1 -1
- package/dist/{purchase-order-template-q60hgvfd.js → purchase-order-template-BmQQnrEl.js} +1 -1
- package/dist/{recalculationUtils-ThdsSQXA.js → recalculationUtils-CSnowXma.js} +1 -1
- package/dist/{rules-DkRl1mdI.js → rules-CurdOAcA.js} +2 -2
- package/dist/{stock-CfGnNgNm.js → stock-BdDR_L8p.js} +1 -1
- package/dist/{stock-CDBl371n.js → stock-BiqEgcgU.js} +3 -3
- package/dist/style.css +1 -1
- package/dist/{supplier-m95t74cw.js → supplier-CsjbmP_P.js} +2 -2
- package/dist/{surcharge-D0KNDUtM.js → surcharge--kBjIIst.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-DoC_viYg.js → uom-rules-D8UPS06O.js} +1 -1
- package/dist/{use-ingredient-select-dialog-DUDA6jkc.js → use-ingredient-select-dialog-BZdrpLOE.js} +2 -2
- package/dist/{use-inventory-binding-dialog-DyZVwYRw.js → use-inventory-binding-dialog-CkNxixT2.js} +2 -2
- package/dist/{use-template-enabled-locations-DU6ebPLW.js → use-template-enabled-locations-Dkl1_1F-.js} +2 -2
- package/dist/{use-transfer-locations-i4WVdQfZ.js → use-transfer-locations-Bmj4zTJj.js} +2 -2
- package/dist/{useHrmPermission-D4dofQF9.js → useHrmPermission-DcBe_-Q6.js} +1 -1
- package/dist/{useNavigationMenu-BwZoEiX3.js → useNavigationMenu-CsRbtAc7.js} +2 -2
- package/dist/{useSseClient-vOXEoq_d.js → useSseClient-hl2SQF5b.js} +1 -1
- package/dist/views/changelog/components/ChangelogPanel.spec.d.ts +1 -0
- package/dist/views/changelog/components/ChangelogPanel.vue.d.ts +2 -0
- package/dist/views/changelog/composables/use-changelog.d.ts +54 -2
- package/dist/views/changelog/composables/use-inventory-record-commits.d.ts +97 -0
- package/dist/views/changelog/composables/use-inventory-record-commits.spec.d.ts +1 -0
- package/dist/views/changelog/composables/use-snapshot-diff.d.ts +29 -0
- package/dist/views/changelog/composables/use-snapshot-diff.spec.d.ts +1 -0
- package/dist/views/changelog/composables/value-tree.d.ts +14 -0
- package/dist/views/changelog/composables/value-tree.spec.d.ts +1 -0
- package/dist/{vue-i18n-CV9ieqUG.js → vue-i18n-yL99yI4f.js} +258 -258
- package/dist/{xlsx.util-CfgV0r9W.js → xlsx.util-B8azJxkS.js} +2 -2
- package/package.json +4 -4
- package/dist/App-DEdkuDaS.js +0 -1155
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { defineComponent as re, onMounted as Ce, computed as M, ref as H, watch as Oe, inject as bt, resolveComponent as E, createElementBlock as V, openBlock as S, createElementVNode as t, createVNode as u, withCtx as P, renderSlot as Qe, withDirectives as je, normalizeClass as te, vModelText as He, reactive as ht, h as K, createCommentVNode as j, toDisplayString as w, unref as e, Fragment as ne, normalizeStyle as Te, renderList as fe, createBlock as oe, mergeProps as Ve, createTextVNode as ie, mergeModels as We, useModel as _t, isRef as Xe, withModifiers as gt, Teleport as xt, normalizeProps as kt, guardReactiveProps as $t } from "vue";
|
|
2
2
|
import { u as Ft, _ as wt } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
3
3
|
import { useI18n as ce, useCoreStore as St } from "@feedmepos/mf-common";
|
|
4
|
-
import { f as It, t as Tt, u as $e, g as Ct, a as Ye, b as Ot } from "./format-unit-display-
|
|
4
|
+
import { f as It, t as Tt, u as $e, g as Ct, a as Ye, b as Ot } from "./format-unit-display-Ch97dVXx.js";
|
|
5
5
|
import { R as Ge } from "./row-action.enum-ncgDYAjP.js";
|
|
6
|
-
import { a as Fe, q as Vt, r as ee, u as et, s as Mt, k as ge } from "./app-
|
|
7
|
-
import { _ as Et } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { a as Fe, q as Vt, r as ee, u as et, s as Mt, k as ge } from "./app-BIXJtvvD.js";
|
|
7
|
+
import { _ as Et } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CMst9tkA.js";
|
|
8
8
|
import { components as ue, useSnackbar as Dt, useProxiedModel as tt, useDialog as At, useBreakpoints as qt } from "@feedmepos/ui-library";
|
|
9
9
|
import { defineStore as Rt, storeToRefs as Ke } from "pinia";
|
|
10
10
|
import { F as me } from "./form-mode.enum-BKiNVH6A.js";
|
|
11
|
-
import { I as Bt, a as Ut, R as ye, A as xe, M as ot } from "./rules-
|
|
12
|
-
import { u as Se, t as Ze, b as Pt, n as Nt, a as z, g as de, c as pe, d as Lt } from "./number-
|
|
13
|
-
import { d as st } from "./defineDeepModel-
|
|
14
|
-
import { _ as lt, F as nt, a as at, b as rt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { u as ke } from "./feature-
|
|
16
|
-
import { u as Me, _ as zt } from "./netsuite-
|
|
17
|
-
import { F as Ie } from "./inventory-core-dart.default-
|
|
18
|
-
import { u as Qt } from "./supplier-
|
|
19
|
-
import { u as jt } from "./use-ingredient-select-dialog-
|
|
11
|
+
import { I as Bt, a as Ut, R as ye, A as xe, M as ot } from "./rules-CurdOAcA.js";
|
|
12
|
+
import { u as Se, t as Ze, b as Pt, n as Nt, a as z, g as de, c as pe, d as Lt } from "./number-CxbQxQwj.js";
|
|
13
|
+
import { d as st } from "./defineDeepModel-C5ncgNxj.js";
|
|
14
|
+
import { _ as lt, F as nt, a as at, b as rt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-DtG9Ieo_.js";
|
|
15
|
+
import { u as ke } from "./feature-BLSNLI5y.js";
|
|
16
|
+
import { u as Me, _ as zt } from "./netsuite-Cn0y1rH3.js";
|
|
17
|
+
import { F as Ie } from "./inventory-core-dart.default-Cj7CxnpK.js";
|
|
18
|
+
import { u as Qt } from "./supplier-CsjbmP_P.js";
|
|
19
|
+
import { u as jt } from "./use-ingredient-select-dialog-BZdrpLOE.js";
|
|
20
20
|
import { F as le, _ as it } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
21
|
-
import { u as Ht } from "./use-template-enabled-locations-
|
|
22
|
-
import { u as Wt } from "./use-transfer-locations-
|
|
23
|
-
import { _ as dt } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-
|
|
24
|
-
import { u as Yt } from "./purchase-order-template-
|
|
21
|
+
import { u as Ht } from "./use-template-enabled-locations-Dkl1_1F-.js";
|
|
22
|
+
import { u as Wt } from "./use-transfer-locations-Bmj4zTJj.js";
|
|
23
|
+
import { _ as dt } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C0nunKjx.js";
|
|
24
|
+
import { u as Yt } from "./purchase-order-template-BmQQnrEl.js";
|
|
25
25
|
import { _ as Gt } from "./FmConfirmationButton.vue_vue_type_script_setup_true_lang-Vg8U7WMZ.js";
|
|
26
|
-
import { f as Kt } from "./format-time-from-id-
|
|
27
|
-
import { f as ut } from "./date2-
|
|
28
|
-
import { u as we } from "./vue-i18n-
|
|
29
|
-
import { t as Zt, a as Jt, d as Xt } from "./xlsx.util-
|
|
26
|
+
import { f as Kt } from "./format-time-from-id-D5DcWpHS.js";
|
|
27
|
+
import { f as ut } from "./date2-DbYQycSa.js";
|
|
28
|
+
import { u as we } from "./vue-i18n-yL99yI4f.js";
|
|
29
|
+
import { t as Zt, a as Jt, d as Xt } from "./xlsx.util-B8azJxkS.js";
|
|
30
30
|
const eo = { class: "flex flex-col" }, to = { class: "flex flex-col" }, oo = { class: "flex-1" }, so = { class: "flex items-center" }, lo = { class: "flex-1" }, no = { class: "flex-1" }, mt = /* @__PURE__ */ re({
|
|
31
31
|
__name: "FmMinMaxInput",
|
|
32
32
|
props: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ref as x, defineComponent as Q, computed as h, resolveComponent as U, createElementBlock as _, openBlock as d, createVNode as g, withModifiers as se, withCtx as $, createElementVNode as t, createCommentVNode as L, toDisplayString as a, unref as r, Fragment as O, createBlock as M, createTextVNode as H, renderList as ne, normalizeClass as E, normalizeStyle as ae, Teleport as X } from "vue";
|
|
2
2
|
import { u as le, _ as re } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
3
|
-
import { d as ie, u as J, a as Z } from "./app-
|
|
3
|
+
import { d as ie, u as J, a as Z } from "./app-BIXJtvvD.js";
|
|
4
4
|
import { useSnackbar as q, useBreakpoints as ce } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as ue } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as ue } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CMst9tkA.js";
|
|
6
6
|
import { useCoreStore as ee, useI18n as te } from "@feedmepos/mf-common";
|
|
7
|
-
import { c as Y } from "./date2-
|
|
8
|
-
import { d as j } from "./number-
|
|
7
|
+
import { c as Y } from "./date2-DbYQycSa.js";
|
|
8
|
+
import { d as j } from "./number-CxbQxQwj.js";
|
|
9
9
|
import { F as de } from "./FmAdminBadge-DlplQOHb.js";
|
|
10
10
|
import { P as me, J as fe } from "./app-C39bYJmq.js";
|
|
11
11
|
const oe = ie((D, C) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as U, ref as _, computed as g, resolveComponent as p, createBlock as v, openBlock as f, withCtx as b, createElementBlock as F, Fragment as h, renderList as E, createElementVNode as k, normalizeClass as I, createVNode as $, toDisplayString as N, unref as x } from "vue";
|
|
2
|
-
import { g as m } from "./decimal-
|
|
3
|
-
import { d as w } from "./dayjs.min-
|
|
4
|
-
import { u as d, e as B, w as L } from "./xlsx.util-
|
|
5
|
-
import { u as Y } from "./app-
|
|
2
|
+
import { g as m } from "./decimal-B8YR17QC.js";
|
|
3
|
+
import { d as w } from "./dayjs.min-Dv7-fEed.js";
|
|
4
|
+
import { u as d, e as B, w as L } from "./xlsx.util-B8azJxkS.js";
|
|
5
|
+
import { u as Y } from "./app-BIXJtvvD.js";
|
|
6
6
|
function O(a, o) {
|
|
7
7
|
return o.map((t) => typeof t.selector == "function" ? t.selector(a) : a[t.selector]);
|
|
8
8
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as O, computed as b, createElementBlock as C, openBlock as f, createElementVNode as s, createCommentVNode as J, Fragment as K, renderList as G, toDisplayString as h, ref as I, watch as ne, resolveComponent as $, createBlock as T, withCtx as A, createVNode as y, unref as i, isRef as le, normalizeClass as me, normalizeStyle as ce, Teleport as pe, normalizeProps as ve, guardReactiveProps as fe } from "vue";
|
|
2
|
-
import { a as W, S as ye, c as ie, w as be, j as se, u as ge } from "./app-
|
|
2
|
+
import { a as W, S as ye, c as ie, w as be, j as se, u as ge } from "./app-BIXJtvvD.js";
|
|
3
3
|
import { useDialog as ue, useSnackbar as Z, useProxiedModel as ae, useBreakpoints as xe } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as _e, _ as he, m as Ve } from "./menu-usage-module-BdjYEk3s.js";
|
|
5
5
|
import { F as w } from "./form-mode.enum-BKiNVH6A.js";
|
|
@@ -8,13 +8,13 @@ import { D as re, R as q } from "./row-action.enum-ncgDYAjP.js";
|
|
|
8
8
|
import { c as Ce } from "./component-BmLAdDiY.js";
|
|
9
9
|
import { useI18n as Y } from "@feedmepos/mf-common";
|
|
10
10
|
import { u as Se, _ as Fe } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
11
|
-
import { R as H, A as ke, c as Ee } from "./rules-
|
|
12
|
-
import { a as Q, c as $e } from "./number-
|
|
13
|
-
import { F as Ie } from "./decimal-
|
|
14
|
-
import { _ as Ae } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { R as H, A as ke, c as Ee } from "./rules-CurdOAcA.js";
|
|
12
|
+
import { a as Q, c as $e } from "./number-CxbQxQwj.js";
|
|
13
|
+
import { F as Ie } from "./decimal-B8YR17QC.js";
|
|
14
|
+
import { _ as Ae } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DHk9uEAP.js";
|
|
15
15
|
import { _ as De, F as Re } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
16
|
-
import { _ as Me } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { u as Pe } from "./netsuite-
|
|
16
|
+
import { _ as Me } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CMst9tkA.js";
|
|
17
|
+
import { u as Pe } from "./netsuite-Cn0y1rH3.js";
|
|
18
18
|
const Te = { class: "flex flex-col gap-8" }, Be = {
|
|
19
19
|
key: 0,
|
|
20
20
|
class: "flex flex-col"
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { ref as W, defineComponent as j, watch as ee, onMounted as te, onUnmounted as $e, createElementBlock as q, openBlock as R, toRaw as ge, reactive as Se, createElementVNode as b, createVNode as V, toDisplayString as N, unref as n, resolveComponent as L, createBlock as O, createCommentVNode as ae, createSlots as Te, withCtx as B, createTextVNode as Ae, renderSlot as De, computed as F, isRef as we, normalizeClass as We, normalizeStyle as Re } from "vue";
|
|
2
|
-
import { d as Pe, n as Ue, o as Ee, c as z, p as Ne, S as Le, u as Ie } from "./app-
|
|
2
|
+
import { d as Pe, n as Ue, o as Ee, c as z, p as Ne, S as Le, u as Ie } from "./app-BIXJtvvD.js";
|
|
3
3
|
import { useCoreStore as Ce, useI18n as G } from "@feedmepos/mf-common";
|
|
4
4
|
import { D as Ve, R as J } from "./row-action.enum-ncgDYAjP.js";
|
|
5
5
|
import { c as Be } from "./component-BmLAdDiY.js";
|
|
6
6
|
import { u as qe, _ as ze } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
7
7
|
import { F as E } from "./form-mode.enum-BKiNVH6A.js";
|
|
8
8
|
import { useDialogChild as Oe, useDialog as Me, useSnackbar as le, useProxiedModel as oe, useBreakpoints as je } from "@feedmepos/ui-library";
|
|
9
|
-
import { R as I } from "./rules-
|
|
9
|
+
import { R as I } from "./rules-CurdOAcA.js";
|
|
10
10
|
import { c as Fe, u as se, g as Ge } from "./googlemap-D9vA7GsS.js";
|
|
11
|
-
import { d as Ke } from "./index-
|
|
11
|
+
import { d as Ke } from "./index-rRPErzP4.js";
|
|
12
12
|
import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
import { _ as Ye } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-CG1m-B2p.js";
|
|
14
|
-
import { u as Ze } from "./feature-
|
|
14
|
+
import { u as Ze } from "./feature-BLSNLI5y.js";
|
|
15
15
|
import { _ as Je, F as Q } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
16
|
-
import { _ as Qe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
16
|
+
import { _ as Qe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CMst9tkA.js";
|
|
17
17
|
const X = Pe((y, v) => {
|
|
18
18
|
const h = Ce();
|
|
19
19
|
return {
|
|
@@ -2,26 +2,26 @@ import { ref as D, h as P, defineComponent as Y, resolveComponent as M, createEl
|
|
|
2
2
|
import { u as at, _ as ot } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
3
3
|
import { useI18n as G, useCoreStore as Be } from "@feedmepos/mf-common";
|
|
4
4
|
import { D as le, R as B } from "./row-action.enum-ncgDYAjP.js";
|
|
5
|
-
import { _ as st } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as st } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CMst9tkA.js";
|
|
6
6
|
import { useDialog as X, useDialogChild as lt, useSnackbar as ce, FmButtonVariant as q, components as W, useProxiedModel as ze, useBreakpoints as rt } from "@feedmepos/ui-library";
|
|
7
7
|
import { defineStore as Oe, storeToRefs as We } from "pinia";
|
|
8
8
|
import { _ as it, F as re } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
9
|
-
import { u as he, c as He, a as Z, J as N, m as ut, E as fe, K as me } from "./app-
|
|
9
|
+
import { u as he, c as He, a as Z, J as N, m as ut, E as fe, K as me } from "./app-BIXJtvvD.js";
|
|
10
10
|
import { F as J } from "./form-mode.enum-BKiNVH6A.js";
|
|
11
11
|
import { c as ct } from "./component-BmLAdDiY.js";
|
|
12
|
-
import { f as mt } from "./format-time-from-id-
|
|
13
|
-
import { u as de } from "./closing-template-
|
|
14
|
-
import { _ as Pe } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { t as ve, a as Ke, d as Ye, s as Ge, r as dt } from "./xlsx.util-
|
|
16
|
-
import { f as pt, b as ft } from "./date2-
|
|
17
|
-
import { u as vt } from "./netsuite-
|
|
12
|
+
import { f as mt } from "./format-time-from-id-D5DcWpHS.js";
|
|
13
|
+
import { u as de } from "./closing-template-CLY-r6Cf.js";
|
|
14
|
+
import { _ as Pe } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BFkh3Ubb.js";
|
|
15
|
+
import { t as ve, a as Ke, d as Ye, s as Ge, r as dt } from "./xlsx.util-B8azJxkS.js";
|
|
16
|
+
import { f as pt, b as ft } from "./date2-DbYQycSa.js";
|
|
17
|
+
import { u as vt } from "./netsuite-Cn0y1rH3.js";
|
|
18
18
|
import { F as yt } from "./FmDroppableField-J0tG_U3w.js";
|
|
19
|
-
import { u as ht } from "./duplicate-template-
|
|
20
|
-
import { A as gt, R as Je } from "./rules-
|
|
21
|
-
import { d as bt } from "./defineDeepModel-
|
|
22
|
-
import { u as _t } from "./use-template-enabled-locations-
|
|
23
|
-
import { a as xt } from "./FmMultiselectDialog-
|
|
24
|
-
import { _ as wt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-
|
|
19
|
+
import { u as ht } from "./duplicate-template-CAlG1nzV.js";
|
|
20
|
+
import { A as gt, R as Je } from "./rules-CurdOAcA.js";
|
|
21
|
+
import { d as bt } from "./defineDeepModel-C5ncgNxj.js";
|
|
22
|
+
import { u as _t } from "./use-template-enabled-locations-Dkl1_1F-.js";
|
|
23
|
+
import { a as xt } from "./FmMultiselectDialog-Dt54hvqw.js";
|
|
24
|
+
import { _ as wt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-D1zxuH66.js";
|
|
25
25
|
import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
26
26
|
const ee = Oe(
|
|
27
27
|
"wastageTable",
|
package/dist/api/changelog.d.ts
CHANGED
|
@@ -4,6 +4,53 @@ export interface BrowsableChangelogDomain {
|
|
|
4
4
|
domain: string;
|
|
5
5
|
labelKey: string;
|
|
6
6
|
}
|
|
7
|
+
/** A resolved value tree the server attaches to a change's from/to when explain=1 (mirrors kit's ValueNode). */
|
|
8
|
+
export interface ValueNode {
|
|
9
|
+
label?: string;
|
|
10
|
+
value?: string;
|
|
11
|
+
display?: string;
|
|
12
|
+
list?: boolean;
|
|
13
|
+
bookkeeping?: boolean;
|
|
14
|
+
kids?: ValueNode[];
|
|
15
|
+
}
|
|
16
|
+
/** The `schema` query param for explain=1 — field-trail labels/identity, mirroring kit httpapi's explainOptions. */
|
|
17
|
+
export interface ExplainSchema {
|
|
18
|
+
array_keys?: Record<string, string>;
|
|
19
|
+
identity_fields?: string[];
|
|
20
|
+
name_fields?: string[];
|
|
21
|
+
ignored_fields?: string[];
|
|
22
|
+
names?: Record<string, string>;
|
|
23
|
+
label_keys?: {
|
|
24
|
+
prefix: string;
|
|
25
|
+
fields: string[];
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Domain-agnostic explain schema for domains without their own: keyed-array
|
|
30
|
+
* pairing falls back to `_id`/`id`, and field labels reuse the inventory i18n
|
|
31
|
+
* keys — consistent with the differ, whose label resolver is registered once
|
|
32
|
+
* app-wide, so stored human paths already use these keys in every domain.
|
|
33
|
+
*/
|
|
34
|
+
export declare const DEFAULT_EXPLAIN_SCHEMA: ExplainSchema;
|
|
35
|
+
/**
|
|
36
|
+
* Inventory domain's explain schema: the default plus the nested-array
|
|
37
|
+
* identity declarations the `_id`/`id` fallback can't express, and the same
|
|
38
|
+
* field labels the differ already translates (LABELED_FIELDS,
|
|
39
|
+
* apps/inventory-backend/src/inventory/changelog-labels.ts) so a resolved
|
|
40
|
+
* value tree's field labels go through the same i18n keys as field-level diffs.
|
|
41
|
+
*/
|
|
42
|
+
export declare const INVENTORY_EXPLAIN_SCHEMA: ExplainSchema;
|
|
43
|
+
/** The keyed-array element a kit-dialect change sits inside (mirrors kit's Element). */
|
|
44
|
+
export interface ChangelogElement {
|
|
45
|
+
trail?: string[];
|
|
46
|
+
name?: string;
|
|
47
|
+
id?: string;
|
|
48
|
+
}
|
|
49
|
+
/** Resolved display names for id-valued from/to (mirrors kit's Display). */
|
|
50
|
+
export interface ChangelogDisplay {
|
|
51
|
+
from?: string;
|
|
52
|
+
to?: string;
|
|
53
|
+
}
|
|
7
54
|
/** One diff line within a commit (mirrors the changelog server's Change). */
|
|
8
55
|
export interface ChangelogChange {
|
|
9
56
|
at?: string;
|
|
@@ -12,6 +59,14 @@ export interface ChangelogChange {
|
|
|
12
59
|
kind: string;
|
|
13
60
|
from?: string;
|
|
14
61
|
to?: string;
|
|
62
|
+
from_value?: ValueNode;
|
|
63
|
+
to_value?: ValueNode;
|
|
64
|
+
/** kit-dialect only: human label trail of the changed field, relative to element when set. */
|
|
65
|
+
field?: string[];
|
|
66
|
+
/** kit-dialect only: set when the change sits inside a keyed array element. */
|
|
67
|
+
element?: ChangelogElement;
|
|
68
|
+
/** kit-dialect only: resolved display names when from/to are known ids. */
|
|
69
|
+
display?: ChangelogDisplay;
|
|
15
70
|
}
|
|
16
71
|
/** One sealed commit for a record (the server's CommitEnvelope). */
|
|
17
72
|
export interface ChangelogCommit {
|
|
@@ -23,13 +78,19 @@ export interface ChangelogCommit {
|
|
|
23
78
|
message?: string;
|
|
24
79
|
changes: ChangelogChange[];
|
|
25
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* True when an API call rejected with a 409 — the backend's changelog/state
|
|
83
|
+
* passthrough answers this way when the document's history has any pre-kit
|
|
84
|
+
* (legacy-dialect) commit, since kit's state replay cannot fold those.
|
|
85
|
+
*/
|
|
86
|
+
export declare function isStateConflict(error: unknown): boolean;
|
|
26
87
|
export declare const useChangelogApi: () => {
|
|
27
88
|
/**
|
|
28
89
|
* Commits for one record. recordId is the changelog docId, `${dbName}/${id}`.
|
|
29
90
|
* The dbName scopes the (access-checked) backend route; only the bare id is
|
|
30
91
|
* sent — the backend rebuilds the docId server-side.
|
|
31
92
|
*/
|
|
32
|
-
getRecordChangelog(recordId: string, limit?: number): Promise<ChangelogCommit[]>;
|
|
93
|
+
getRecordChangelog(recordId: string, limit?: number, explain?: ExplainSchema): Promise<ChangelogCommit[]>;
|
|
33
94
|
/**
|
|
34
95
|
* Purchase orders in a date range, each with when it last changed. The
|
|
35
96
|
* backend joins the orders to their newest commit, so no ids travel and the
|
|
@@ -42,6 +103,13 @@ export declare const useChangelogApi: () => {
|
|
|
42
103
|
* reject is recorded against the group document, not its parent.
|
|
43
104
|
*/
|
|
44
105
|
listClosingDrafts(dbName: string, start: string, end: string): Promise<FdtoChangeLog[]>;
|
|
106
|
+
/**
|
|
107
|
+
* A kit-dialect record's whole document, at HEAD or as of (and including)
|
|
108
|
+
* commit `at`. Same dbName/id split as getRecordChangelog. Rejects with a
|
|
109
|
+
* 409 (see isStateConflict) when the record's history predates the kit
|
|
110
|
+
* write path — the backend passthrough for kit httpapi's GET /api/state.
|
|
111
|
+
*/
|
|
112
|
+
getState(dbName: string, docId: string, at?: string): Promise<Record<string, unknown>>;
|
|
45
113
|
/**
|
|
46
114
|
* The domains the browser lists generically, declared in
|
|
47
115
|
* changelog-domains-pkg and served by the backend — a new browsable domain
|