@feedmepos/mf-inventory-portal 1.5.12 → 1.6.0-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.
Files changed (133) hide show
  1. package/dist/{App-DBEmTaMX.js → App-BWiKiRD2.js} +4 -4
  2. package/dist/{ApprovalView-BvzIwH1r.js → ApprovalView-TFet-Rht.js} +7 -7
  3. package/dist/{BindingsDialog-DnqHoU0Y.js → BindingsDialog-ByO16R7B.js} +2 -2
  4. package/dist/{BindingsPicker-Bjpj0zdJ.js → BindingsPicker-BzeipJDM.js} +2 -2
  5. package/dist/{BindingsTable-S5Nqq4Qv.js → BindingsTable-CATRwDGx.js} +3 -3
  6. package/dist/ClosingDraftView-Bilo3C7N.js +4318 -0
  7. package/dist/{ClosingHistoryView-B2ccrB2K.js → ClosingHistoryView-DJEhuzBh.js} +5 -5
  8. package/dist/ClosingTemplateView-DTS__1eO.js +2221 -0
  9. package/dist/{DefaultView-DQhLe6LE.js → DefaultView-Dpwvllot.js} +2 -2
  10. package/dist/{DeliveryOrderPrintPreview-Cup9mzpO.js → DeliveryOrderPrintPreview-BZ-BDWlS.js} +2 -2
  11. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DuZFuSbw.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BMJVOiL_.js} +2 -2
  12. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DoPyc0aE.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-QvgQwP6t.js} +2 -2
  13. package/dist/{FmMultiselectDialog-Cwazmlw3.js → FmMultiselectDialog-B1rAOXTC.js} +2 -2
  14. package/dist/{FmMultiselectDialog-DnuUrW7h.js → FmMultiselectDialog-W0_FfMmH.js} +1 -1
  15. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BMzzUsa4.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DNpKzzVC.js} +5 -5
  16. package/dist/{ImportView-CXtrdABV.js → ImportView-B_3OeL5b.js} +6 -6
  17. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Cfp95IvX.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CdNdnCp-.js} +1 -1
  18. package/dist/{IngredientGroupView-Bm-2yK8J.js → IngredientGroupView-B_v-UNeR.js} +5 -5
  19. package/dist/{IngredientsView-Bo8w9LSr.js → IngredientsView-DTXevc-8.js} +15 -15
  20. package/dist/{IntegrationExplorerView-DUqQ64CE.js → IntegrationExplorerView-C6JUipFs.js} +352 -352
  21. package/dist/IntegrationView-DX4hhKYv.js +5100 -0
  22. package/dist/{InventoryBindingForm-DWJRCTf8.js → InventoryBindingForm-BpNKhiGF.js} +1 -1
  23. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DH-xUQ5m.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BWy-YpCv.js} +5 -5
  24. package/dist/{InventoryBindingSummary-DSwCvTnu.js → InventoryBindingSummary-BL4AkZY3.js} +1 -1
  25. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-KDWRZCxm.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DURnZteR.js} +1 -1
  26. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Wuv2teWn.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BR0Hc9cL.js} +1 -1
  27. package/dist/{PublishView-BSahQbqy.js → PublishView-CELngZXP.js} +3 -3
  28. package/dist/{PurchaseOrderPrintPreview-C8umjCEU.js → PurchaseOrderPrintPreview-HCGMQWdo.js} +2 -2
  29. package/dist/{ReceiveRequestView-Bf5dAcun.js → ReceiveRequestView-DfrpsGeI.js} +26 -26
  30. package/dist/{RecipeView-wU9u23Zp.js → RecipeView-DCrrdrhp.js} +1104 -1117
  31. package/dist/{SettingsView-C5Uc6h0A.js → SettingsView-CHoDkUIF.js} +4 -4
  32. package/dist/{StockView-QF68mXtU.js → StockView-DlP1-pbq.js} +19 -19
  33. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Cgw8EDXb.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-NZcNoQ6u.js} +1 -1
  34. package/dist/{SupplierView-xBONJSsg.js → SupplierView-DqQbgLqh.js} +12 -12
  35. package/dist/{SurchargeView-BK8aNKZl.js → SurchargeView-CtlXOPJ3.js} +6 -6
  36. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-tsuedeNl.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-BRrHPAJj.js} +2 -2
  37. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BXVa7pt5.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Bw3UN_Zn.js} +1 -1
  38. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CVRD5iri.js → TransferDetails.vue_vue_type_script_setup_true_lang-atZZPJBf.js} +20 -20
  39. package/dist/TransferTemplateView-Dl0k38tD.js +2327 -0
  40. package/dist/{UnitCostHistoryView-BS0nrbkD.js → UnitCostHistoryView-Dh-yAgvG.js} +4 -4
  41. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-CeD0qWRC.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-FqnqY9bU.js} +5 -5
  42. package/dist/{UnitView-DsKX7DM0.js → UnitView-D5Zvz2xm.js} +7 -7
  43. package/dist/{WarehouseView-DRZaGu80.js → WarehouseView-s5g9AQq5.js} +5 -5
  44. package/dist/{WastageTemplateView-CtMSWKFj.js → WastageTemplateView-XzJSsB29.js} +14 -14
  45. package/dist/api/closing-draft.d.ts +6 -0
  46. package/dist/api/codemax.d.ts +11 -0
  47. package/dist/api/inventory.d.ts +1 -0
  48. package/dist/api/netsuite.d.ts +5 -4
  49. package/dist/api/surcharge.d.ts +1 -0
  50. package/dist/{app-DYMYQwvV.js → app-D-l9FM2n.js} +15762 -13683
  51. package/dist/app.d.ts +288 -0
  52. package/dist/app.js +1 -1
  53. package/dist/{closing-template-Cxsa4j_W.js → closing-template-C56_2aLc.js} +1 -1
  54. package/dist/{date2-BdXL0GG5.js → date2-CRMgo5NH.js} +1 -1
  55. package/dist/{dayjs.min-LoBFKjU2.js → dayjs.min-9bo3vPqj.js} +1 -1
  56. package/dist/{decimal-BFFta-yv.js → decimal-CsE7mms2.js} +2 -2
  57. package/dist/{defineDeepModel-CCZ3fqXQ.js → defineDeepModel-DDX70CM6.js} +1 -1
  58. package/dist/{duplicate-template-C2Qho2Ig.js → duplicate-template-BrEOP-1V.js} +1 -1
  59. package/dist/{feature-Dt5ZFkZR.js → feature-Bl6yUhw_.js} +2 -2
  60. package/dist/{format-time-from-id-LqoWbcB4.js → format-time-from-id-BuMdYlM9.js} +1 -1
  61. package/dist/format-unit-display-CMfuvGP6.js +1432 -0
  62. package/dist/{import-export.helper-DogBd6aS.js → import-export.helper-C9F9d-rh.js} +6 -6
  63. package/dist/{index-IMHyRNdu.js → index-BcOtIfdU.js} +1 -1
  64. package/dist/index-BdSVteJV.js +257 -0
  65. package/dist/{index-D0xsiYLO.js → index-cbmIhZ6F.js} +1 -1
  66. package/dist/{inventory-core-dart.default-BkcD7c_a.js → inventory-core-dart.default-DewosGoK.js} +1 -1
  67. package/dist/{lz-string-CgecKowu.js → lz-string-Ye-dLAix.js} +1 -1
  68. package/dist/modules/print-template/api/print-template.d.ts +1 -0
  69. package/dist/{netsuite-9qEVrdMv.js → netsuite-Dyw1JtQL.js} +2 -2
  70. package/dist/{number-DSMFbPf0.js → number-YiCgPFTE.js} +3 -3
  71. package/dist/{predefined-templates-OZoiOUoA.js → predefined-templates-B0Eto9Jx.js} +1 -1
  72. package/dist/{purchase-order-template-CUee1L_x.js → purchase-order-template-zHPLRQDQ.js} +1 -1
  73. package/dist/{recalculationUtils-CPcCUHIm.js → recalculationUtils-DZLZlctO.js} +1 -1
  74. package/dist/{rules-CMNaUkUU.js → rules-BsVkaxL5.js} +2 -2
  75. package/dist/{stock-BOaUT0Y3.js → stock-DlQopDTl.js} +1 -1
  76. package/dist/stores/api.d.ts +1 -0
  77. package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
  78. package/dist/stores/integration/codemax.d.ts +432 -0
  79. package/dist/stores/integration/index.d.ts +4 -1
  80. package/dist/{supplier-BAbQZL7x.js → supplier-UPX_1aFs.js} +2 -2
  81. package/dist/{surcharge-C5tQ0vs0.js → surcharge-DO3-kAit.js} +1 -1
  82. package/dist/tsconfig.app.tsbuildinfo +1 -1
  83. package/dist/{uom-rules-CSmRb5Ds.js → uom-rules-DbhFLCUC.js} +1 -1
  84. package/dist/{use-ingredient-select-dialog-B9XYlxjA.js → use-ingredient-select-dialog-BASkk3-u.js} +16 -16
  85. package/dist/{use-inventory-binding-dialog-BzIb4yxm.js → use-inventory-binding-dialog-DTc48xUU.js} +2 -2
  86. package/dist/use-template-enabled-locations-gwYjb6_p.js +132 -0
  87. package/dist/{use-transfer-locations-Di5ozOgU.js → use-transfer-locations-BJ0xIECi.js} +2 -2
  88. package/dist/{useHrmPermission-N8GPw9P_.js → useHrmPermission-G4mfvYF8.js} +1 -1
  89. package/dist/{useNavigationMenu-BLnGMLsm.js → useNavigationMenu-Be-99JmQ.js} +2 -2
  90. package/dist/{useSseClient-BQtJfryY.js → useSseClient-D1h38l_K.js} +3 -3
  91. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +800 -0
  92. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +40 -0
  93. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupAction.vue.d.ts +21 -0
  94. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupCard.vue.d.ts +20 -0
  95. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +823 -0
  96. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupGrid.vue.d.ts +20 -0
  97. package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +10 -0
  98. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +1400 -133
  99. package/dist/views/closing-draft/helpers/closing-draft-summary.helper.d.ts +11 -0
  100. package/dist/views/closing-draft/helpers/closing-group-detail.helper.d.ts +68 -0
  101. package/dist/views/closing-draft/helpers/closing-group-status.helper.d.ts +6 -0
  102. package/dist/views/closing-draft/helpers/closing-groups.helper.d.ts +28 -0
  103. package/dist/views/closing-draft/helpers/merge-closing-draft-items.helper.d.ts +9 -0
  104. package/dist/views/closing-template/components/closing-template-form/components/ClosingTemplateGroupsEditor.vue.d.ts +31 -0
  105. package/dist/views/closing-template/components/closing-template-form/components/ClosingTemplateItem.vue.d.ts +164 -7
  106. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +24 -88
  107. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +108 -0
  108. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +108 -0
  109. package/dist/views/ingredients/composables/use-ingredient-select-dialog.d.ts +3 -3
  110. package/dist/views/integration/Codemax.vue.d.ts +2 -0
  111. package/dist/views/integration/components/ApplyProductCodemax.vue.d.ts +341 -0
  112. package/dist/views/integration/components/ApplyProductDialogCodemax.vue.d.ts +298 -0
  113. package/dist/views/integration/components/ApplyProductDialogPropsCodemax.d.ts +17 -0
  114. package/dist/views/integration/components/CodemaxDialog.vue.d.ts +519 -0
  115. package/dist/views/recipe/composables/use-recipe-bulk-editor.d.ts +3 -3
  116. package/dist/views/transfer-template/components/template-item-bulk-editor/TemplateItemBulkEditorDialog.vue.d.ts +2 -0
  117. package/dist/views/transfer-template/components/template-item-bulk-editor/TemplateItemBulkEditorStep1.vue.d.ts +2 -0
  118. package/dist/views/transfer-template/components/template-item-bulk-editor/TemplateItemBulkEditorStep2.vue.d.ts +8 -0
  119. package/dist/views/transfer-template/components/template-item-bulk-editor/TemplateItemBulkEditorStep3.vue.d.ts +2 -0
  120. package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +3225 -0
  121. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +4 -1
  122. package/dist/views/transfer-template/helpers/template-item-bulk-editor-export.d.ts +9 -0
  123. package/dist/{vue-i18n-DR8I1LQH.js → vue-i18n-fX3C6wjd.js} +306 -306
  124. package/dist/{xlsx-D5-Cqx-l.js → xlsx-BsL1DoEA.js} +1 -1
  125. package/dist/{xlsx.util-DEdsfN6W.js → xlsx.util-D_XTOHMv.js} +3 -3
  126. package/package.json +4 -4
  127. package/dist/ClosingDraftView-Y074sSoz.js +0 -3343
  128. package/dist/ClosingTemplateView-BcvKBWVJ.js +0 -2077
  129. package/dist/IntegrationView-CtkbKPzC.js +0 -4586
  130. package/dist/TransferTemplateView-Cm4evaK3.js +0 -1564
  131. package/dist/format-unit-display-CWqmpVa_.js +0 -1268
  132. package/dist/index-2DNXazDV.js +0 -164
  133. package/dist/use-template-enabled-locations-V5iE0ywc.js +0 -146
@@ -0,0 +1,823 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ show: boolean;
3
+ group?: {
4
+ stockSnapshot?: {
5
+ closing?: {
6
+ costBalances?: {
7
+ adjustmentId?: string | null | undefined;
8
+ amount: {
9
+ amount: number;
10
+ precision: number;
11
+ };
12
+ cost: {
13
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
14
+ amount: number;
15
+ precision: number;
16
+ };
17
+ }[] | null | undefined;
18
+ id: string;
19
+ createdAt: string;
20
+ balance: {
21
+ amount: number;
22
+ precision: number;
23
+ };
24
+ } | null | undefined;
25
+ weightedAverage?: {
26
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
27
+ amount: number;
28
+ precision: number;
29
+ } | null | undefined;
30
+ costs?: {
31
+ adjustmentId?: string | null | undefined;
32
+ amount: {
33
+ amount: number;
34
+ precision: number;
35
+ };
36
+ cost: {
37
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
38
+ amount: number;
39
+ precision: number;
40
+ };
41
+ }[] | null | undefined;
42
+ id: string;
43
+ balance: {
44
+ amount: number;
45
+ precision: number;
46
+ };
47
+ }[] | null | undefined;
48
+ _rev?: string | null | undefined;
49
+ remark?: string | null | undefined;
50
+ effectiveAt?: string | null | undefined;
51
+ adjustmentSnapshot?: {
52
+ skuId: string;
53
+ adjustmentsByType: Partial<Record<"RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE", {
54
+ amount: number;
55
+ precision: number;
56
+ }>>;
57
+ }[] | null | undefined;
58
+ opening?: {
59
+ skuId: string;
60
+ balance: {
61
+ amount: number;
62
+ precision: number;
63
+ };
64
+ }[] | null | undefined;
65
+ approvedAt?: string | null | undefined;
66
+ approvedBy?: {
67
+ name: string;
68
+ id: string;
69
+ } | null | undefined;
70
+ approveRemark?: string | null | undefined;
71
+ rejectionHistory?: {
72
+ rejectedAt: string;
73
+ rejectedBy: {
74
+ name: string;
75
+ id: string;
76
+ };
77
+ rejectRemark: string;
78
+ }[] | null | undefined;
79
+ closingAdjustmentId?: string | null | undefined;
80
+ closingId?: string | null | undefined;
81
+ negativeStockItems?: {
82
+ remark?: string | null | undefined;
83
+ sku: {
84
+ trackingMeasurement?: string | null | undefined;
85
+ isInactive?: boolean | null | undefined;
86
+ convert?: {
87
+ measurement?: string | null | undefined;
88
+ inventoryBindings?: {
89
+ measurement?: {
90
+ name: string;
91
+ id: string;
92
+ abbrev: string;
93
+ conversion: {
94
+ amount: number;
95
+ precision: number;
96
+ };
97
+ } | null | undefined;
98
+ rules?: Record<string, any> | null | undefined;
99
+ alternatives?: {
100
+ default?: boolean | null | undefined;
101
+ trackingMeasurement?: string | null | undefined;
102
+ priority?: number | null | undefined;
103
+ _id: string;
104
+ }[] | null | undefined;
105
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
106
+ amount: {
107
+ amount: number;
108
+ precision: number;
109
+ };
110
+ id: string;
111
+ }[] | null | undefined;
112
+ } | null | undefined;
113
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
114
+ defaultCost?: {
115
+ measurement?: {
116
+ name: string;
117
+ id: string;
118
+ abbrev: string;
119
+ conversion: {
120
+ amount: number;
121
+ precision: number;
122
+ };
123
+ } | null | undefined;
124
+ costPerUnit: {
125
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
126
+ amount: number;
127
+ precision: number;
128
+ };
129
+ } | null | undefined;
130
+ operationalGroup?: string | null | undefined;
131
+ thresholds?: {
132
+ low: number;
133
+ mid: number;
134
+ } | null | undefined;
135
+ customAttributes?: Record<string, any> | null | undefined;
136
+ unit: {
137
+ _id: string;
138
+ name: string;
139
+ abbrev: string;
140
+ precision: number;
141
+ measurements: {
142
+ name: string;
143
+ id: string;
144
+ abbrev: string;
145
+ conversion: {
146
+ amount: number;
147
+ precision: number;
148
+ };
149
+ }[];
150
+ };
151
+ code: string;
152
+ _id: string;
153
+ name: string;
154
+ };
155
+ baseAmount: {
156
+ amount: number;
157
+ precision: number;
158
+ };
159
+ measurementsAmounts: {
160
+ measurement: {
161
+ name: string;
162
+ id: string;
163
+ abbrev: string;
164
+ conversion: {
165
+ amount: number;
166
+ precision: number;
167
+ };
168
+ };
169
+ amount: {
170
+ amount: number;
171
+ precision: number;
172
+ };
173
+ }[];
174
+ }[] | null | undefined;
175
+ activityLogs?: {
176
+ remark?: string | null | undefined;
177
+ action: "approveDraft" | "rejectDraft" | "markAsFailed";
178
+ performedAt: string;
179
+ performedBy: {
180
+ name: string;
181
+ id: string;
182
+ };
183
+ }[] | null | undefined;
184
+ status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
185
+ _id: string;
186
+ updatedAt: string;
187
+ createdAt: string;
188
+ items: {
189
+ remark?: string | null | undefined;
190
+ sku: {
191
+ trackingMeasurement?: string | null | undefined;
192
+ isInactive?: boolean | null | undefined;
193
+ convert?: {
194
+ measurement?: string | null | undefined;
195
+ inventoryBindings?: {
196
+ measurement?: {
197
+ name: string;
198
+ id: string;
199
+ abbrev: string;
200
+ conversion: {
201
+ amount: number;
202
+ precision: number;
203
+ };
204
+ } | null | undefined;
205
+ rules?: Record<string, any> | null | undefined;
206
+ alternatives?: {
207
+ default?: boolean | null | undefined;
208
+ trackingMeasurement?: string | null | undefined;
209
+ priority?: number | null | undefined;
210
+ _id: string;
211
+ }[] | null | undefined;
212
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
213
+ amount: {
214
+ amount: number;
215
+ precision: number;
216
+ };
217
+ id: string;
218
+ }[] | null | undefined;
219
+ } | null | undefined;
220
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
221
+ defaultCost?: {
222
+ measurement?: {
223
+ name: string;
224
+ id: string;
225
+ abbrev: string;
226
+ conversion: {
227
+ amount: number;
228
+ precision: number;
229
+ };
230
+ } | null | undefined;
231
+ costPerUnit: {
232
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
233
+ amount: number;
234
+ precision: number;
235
+ };
236
+ } | null | undefined;
237
+ operationalGroup?: string | null | undefined;
238
+ thresholds?: {
239
+ low: number;
240
+ mid: number;
241
+ } | null | undefined;
242
+ customAttributes?: Record<string, any> | null | undefined;
243
+ unit: {
244
+ _id: string;
245
+ name: string;
246
+ abbrev: string;
247
+ precision: number;
248
+ measurements: {
249
+ name: string;
250
+ id: string;
251
+ abbrev: string;
252
+ conversion: {
253
+ amount: number;
254
+ precision: number;
255
+ };
256
+ }[];
257
+ };
258
+ code: string;
259
+ _id: string;
260
+ name: string;
261
+ };
262
+ baseAmount: {
263
+ amount: number;
264
+ precision: number;
265
+ };
266
+ measurementsAmounts: {
267
+ measurement: {
268
+ name: string;
269
+ id: string;
270
+ abbrev: string;
271
+ conversion: {
272
+ amount: number;
273
+ precision: number;
274
+ };
275
+ };
276
+ amount: {
277
+ amount: number;
278
+ precision: number;
279
+ };
280
+ }[];
281
+ }[];
282
+ updatedBy: {
283
+ name: string;
284
+ id: string;
285
+ };
286
+ createdBy: {
287
+ name: string;
288
+ id: string;
289
+ };
290
+ parentId: string;
291
+ usingTemplates: {
292
+ _rev?: string | null | undefined;
293
+ updatedAt?: string | null | undefined;
294
+ ref?: string | null | undefined;
295
+ locations?: {
296
+ inventory?: {
297
+ _id: string;
298
+ updatedAt: string;
299
+ } | null | undefined;
300
+ type: "restaurant" | "warehouse";
301
+ name: string;
302
+ acceptRequest: boolean;
303
+ dbName: string;
304
+ doc: {
305
+ _id: string;
306
+ businessId: string;
307
+ profile: {
308
+ code?: string | null | undefined;
309
+ url?: string | null | undefined;
310
+ description?: string | null | undefined;
311
+ _id?: string | null | undefined;
312
+ legalName?: string | null | undefined;
313
+ sstRegNo?: string | null | undefined;
314
+ discovery?: boolean | null | undefined;
315
+ coverPhoto?: string | null | undefined;
316
+ thumbnailPhoto?: string | null | undefined;
317
+ photos?: string[] | null | undefined;
318
+ operatingHours?: {
319
+ 0: {
320
+ hours: {
321
+ end: string;
322
+ start: string;
323
+ }[];
324
+ enable: boolean;
325
+ };
326
+ 2: {
327
+ hours: {
328
+ end: string;
329
+ start: string;
330
+ }[];
331
+ enable: boolean;
332
+ };
333
+ 1: {
334
+ hours: {
335
+ end: string;
336
+ start: string;
337
+ }[];
338
+ enable: boolean;
339
+ };
340
+ 3: {
341
+ hours: {
342
+ end: string;
343
+ start: string;
344
+ }[];
345
+ enable: boolean;
346
+ };
347
+ 4: {
348
+ hours: {
349
+ end: string;
350
+ start: string;
351
+ }[];
352
+ enable: boolean;
353
+ };
354
+ 5: {
355
+ hours: {
356
+ end: string;
357
+ start: string;
358
+ }[];
359
+ enable: boolean;
360
+ };
361
+ 6: {
362
+ hours: {
363
+ end: string;
364
+ start: string;
365
+ }[];
366
+ enable: boolean;
367
+ };
368
+ } | null | undefined;
369
+ tags?: string[] | null | undefined;
370
+ name: string;
371
+ address: {
372
+ coordinates?: number[] | null | undefined;
373
+ line2?: string | null | undefined;
374
+ state: string;
375
+ country: string;
376
+ line1: string;
377
+ city: string;
378
+ postcode: string;
379
+ };
380
+ email: string;
381
+ phoneNo: string;
382
+ regNo: string;
383
+ };
384
+ };
385
+ }[] | null | undefined;
386
+ updatedBy?: {
387
+ name: string;
388
+ id: string;
389
+ } | null | undefined;
390
+ groups?: {
391
+ name: string;
392
+ id: string;
393
+ items: {
394
+ disabledMeasurements?: string[] | null | undefined;
395
+ position?: number | null | undefined;
396
+ skuId: string;
397
+ }[];
398
+ }[] | null | undefined;
399
+ _id: string;
400
+ name: string;
401
+ }[];
402
+ } | undefined;
403
+ parentName?: string | undefined;
404
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
405
+ updated: () => void;
406
+ "update:show": (args_0: boolean) => void;
407
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
408
+ show: boolean;
409
+ group?: {
410
+ stockSnapshot?: {
411
+ closing?: {
412
+ costBalances?: {
413
+ adjustmentId?: string | null | undefined;
414
+ amount: {
415
+ amount: number;
416
+ precision: number;
417
+ };
418
+ cost: {
419
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
420
+ amount: number;
421
+ precision: number;
422
+ };
423
+ }[] | null | undefined;
424
+ id: string;
425
+ createdAt: string;
426
+ balance: {
427
+ amount: number;
428
+ precision: number;
429
+ };
430
+ } | null | undefined;
431
+ weightedAverage?: {
432
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
433
+ amount: number;
434
+ precision: number;
435
+ } | null | undefined;
436
+ costs?: {
437
+ adjustmentId?: string | null | undefined;
438
+ amount: {
439
+ amount: number;
440
+ precision: number;
441
+ };
442
+ cost: {
443
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
444
+ amount: number;
445
+ precision: number;
446
+ };
447
+ }[] | null | undefined;
448
+ id: string;
449
+ balance: {
450
+ amount: number;
451
+ precision: number;
452
+ };
453
+ }[] | null | undefined;
454
+ _rev?: string | null | undefined;
455
+ remark?: string | null | undefined;
456
+ effectiveAt?: string | null | undefined;
457
+ adjustmentSnapshot?: {
458
+ skuId: string;
459
+ adjustmentsByType: Partial<Record<"RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE", {
460
+ amount: number;
461
+ precision: number;
462
+ }>>;
463
+ }[] | null | undefined;
464
+ opening?: {
465
+ skuId: string;
466
+ balance: {
467
+ amount: number;
468
+ precision: number;
469
+ };
470
+ }[] | null | undefined;
471
+ approvedAt?: string | null | undefined;
472
+ approvedBy?: {
473
+ name: string;
474
+ id: string;
475
+ } | null | undefined;
476
+ approveRemark?: string | null | undefined;
477
+ rejectionHistory?: {
478
+ rejectedAt: string;
479
+ rejectedBy: {
480
+ name: string;
481
+ id: string;
482
+ };
483
+ rejectRemark: string;
484
+ }[] | null | undefined;
485
+ closingAdjustmentId?: string | null | undefined;
486
+ closingId?: string | null | undefined;
487
+ negativeStockItems?: {
488
+ remark?: string | null | undefined;
489
+ sku: {
490
+ trackingMeasurement?: string | null | undefined;
491
+ isInactive?: boolean | null | undefined;
492
+ convert?: {
493
+ measurement?: string | null | undefined;
494
+ inventoryBindings?: {
495
+ measurement?: {
496
+ name: string;
497
+ id: string;
498
+ abbrev: string;
499
+ conversion: {
500
+ amount: number;
501
+ precision: number;
502
+ };
503
+ } | null | undefined;
504
+ rules?: Record<string, any> | null | undefined;
505
+ alternatives?: {
506
+ default?: boolean | null | undefined;
507
+ trackingMeasurement?: string | null | undefined;
508
+ priority?: number | null | undefined;
509
+ _id: string;
510
+ }[] | null | undefined;
511
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
512
+ amount: {
513
+ amount: number;
514
+ precision: number;
515
+ };
516
+ id: string;
517
+ }[] | null | undefined;
518
+ } | null | undefined;
519
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
520
+ defaultCost?: {
521
+ measurement?: {
522
+ name: string;
523
+ id: string;
524
+ abbrev: string;
525
+ conversion: {
526
+ amount: number;
527
+ precision: number;
528
+ };
529
+ } | null | undefined;
530
+ costPerUnit: {
531
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
532
+ amount: number;
533
+ precision: number;
534
+ };
535
+ } | null | undefined;
536
+ operationalGroup?: string | null | undefined;
537
+ thresholds?: {
538
+ low: number;
539
+ mid: number;
540
+ } | null | undefined;
541
+ customAttributes?: Record<string, any> | null | undefined;
542
+ unit: {
543
+ _id: string;
544
+ name: string;
545
+ abbrev: string;
546
+ precision: number;
547
+ measurements: {
548
+ name: string;
549
+ id: string;
550
+ abbrev: string;
551
+ conversion: {
552
+ amount: number;
553
+ precision: number;
554
+ };
555
+ }[];
556
+ };
557
+ code: string;
558
+ _id: string;
559
+ name: string;
560
+ };
561
+ baseAmount: {
562
+ amount: number;
563
+ precision: number;
564
+ };
565
+ measurementsAmounts: {
566
+ measurement: {
567
+ name: string;
568
+ id: string;
569
+ abbrev: string;
570
+ conversion: {
571
+ amount: number;
572
+ precision: number;
573
+ };
574
+ };
575
+ amount: {
576
+ amount: number;
577
+ precision: number;
578
+ };
579
+ }[];
580
+ }[] | null | undefined;
581
+ activityLogs?: {
582
+ remark?: string | null | undefined;
583
+ action: "approveDraft" | "rejectDraft" | "markAsFailed";
584
+ performedAt: string;
585
+ performedBy: {
586
+ name: string;
587
+ id: string;
588
+ };
589
+ }[] | null | undefined;
590
+ status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
591
+ _id: string;
592
+ updatedAt: string;
593
+ createdAt: string;
594
+ items: {
595
+ remark?: string | null | undefined;
596
+ sku: {
597
+ trackingMeasurement?: string | null | undefined;
598
+ isInactive?: boolean | null | undefined;
599
+ convert?: {
600
+ measurement?: string | null | undefined;
601
+ inventoryBindings?: {
602
+ measurement?: {
603
+ name: string;
604
+ id: string;
605
+ abbrev: string;
606
+ conversion: {
607
+ amount: number;
608
+ precision: number;
609
+ };
610
+ } | null | undefined;
611
+ rules?: Record<string, any> | null | undefined;
612
+ alternatives?: {
613
+ default?: boolean | null | undefined;
614
+ trackingMeasurement?: string | null | undefined;
615
+ priority?: number | null | undefined;
616
+ _id: string;
617
+ }[] | null | undefined;
618
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
619
+ amount: {
620
+ amount: number;
621
+ precision: number;
622
+ };
623
+ id: string;
624
+ }[] | null | undefined;
625
+ } | null | undefined;
626
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
627
+ defaultCost?: {
628
+ measurement?: {
629
+ name: string;
630
+ id: string;
631
+ abbrev: string;
632
+ conversion: {
633
+ amount: number;
634
+ precision: number;
635
+ };
636
+ } | null | undefined;
637
+ costPerUnit: {
638
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
639
+ amount: number;
640
+ precision: number;
641
+ };
642
+ } | null | undefined;
643
+ operationalGroup?: string | null | undefined;
644
+ thresholds?: {
645
+ low: number;
646
+ mid: number;
647
+ } | null | undefined;
648
+ customAttributes?: Record<string, any> | null | undefined;
649
+ unit: {
650
+ _id: string;
651
+ name: string;
652
+ abbrev: string;
653
+ precision: number;
654
+ measurements: {
655
+ name: string;
656
+ id: string;
657
+ abbrev: string;
658
+ conversion: {
659
+ amount: number;
660
+ precision: number;
661
+ };
662
+ }[];
663
+ };
664
+ code: string;
665
+ _id: string;
666
+ name: string;
667
+ };
668
+ baseAmount: {
669
+ amount: number;
670
+ precision: number;
671
+ };
672
+ measurementsAmounts: {
673
+ measurement: {
674
+ name: string;
675
+ id: string;
676
+ abbrev: string;
677
+ conversion: {
678
+ amount: number;
679
+ precision: number;
680
+ };
681
+ };
682
+ amount: {
683
+ amount: number;
684
+ precision: number;
685
+ };
686
+ }[];
687
+ }[];
688
+ updatedBy: {
689
+ name: string;
690
+ id: string;
691
+ };
692
+ createdBy: {
693
+ name: string;
694
+ id: string;
695
+ };
696
+ parentId: string;
697
+ usingTemplates: {
698
+ _rev?: string | null | undefined;
699
+ updatedAt?: string | null | undefined;
700
+ ref?: string | null | undefined;
701
+ locations?: {
702
+ inventory?: {
703
+ _id: string;
704
+ updatedAt: string;
705
+ } | null | undefined;
706
+ type: "restaurant" | "warehouse";
707
+ name: string;
708
+ acceptRequest: boolean;
709
+ dbName: string;
710
+ doc: {
711
+ _id: string;
712
+ businessId: string;
713
+ profile: {
714
+ code?: string | null | undefined;
715
+ url?: string | null | undefined;
716
+ description?: string | null | undefined;
717
+ _id?: string | null | undefined;
718
+ legalName?: string | null | undefined;
719
+ sstRegNo?: string | null | undefined;
720
+ discovery?: boolean | null | undefined;
721
+ coverPhoto?: string | null | undefined;
722
+ thumbnailPhoto?: string | null | undefined;
723
+ photos?: string[] | null | undefined;
724
+ operatingHours?: {
725
+ 0: {
726
+ hours: {
727
+ end: string;
728
+ start: string;
729
+ }[];
730
+ enable: boolean;
731
+ };
732
+ 2: {
733
+ hours: {
734
+ end: string;
735
+ start: string;
736
+ }[];
737
+ enable: boolean;
738
+ };
739
+ 1: {
740
+ hours: {
741
+ end: string;
742
+ start: string;
743
+ }[];
744
+ enable: boolean;
745
+ };
746
+ 3: {
747
+ hours: {
748
+ end: string;
749
+ start: string;
750
+ }[];
751
+ enable: boolean;
752
+ };
753
+ 4: {
754
+ hours: {
755
+ end: string;
756
+ start: string;
757
+ }[];
758
+ enable: boolean;
759
+ };
760
+ 5: {
761
+ hours: {
762
+ end: string;
763
+ start: string;
764
+ }[];
765
+ enable: boolean;
766
+ };
767
+ 6: {
768
+ hours: {
769
+ end: string;
770
+ start: string;
771
+ }[];
772
+ enable: boolean;
773
+ };
774
+ } | null | undefined;
775
+ tags?: string[] | null | undefined;
776
+ name: string;
777
+ address: {
778
+ coordinates?: number[] | null | undefined;
779
+ line2?: string | null | undefined;
780
+ state: string;
781
+ country: string;
782
+ line1: string;
783
+ city: string;
784
+ postcode: string;
785
+ };
786
+ email: string;
787
+ phoneNo: string;
788
+ regNo: string;
789
+ };
790
+ };
791
+ }[] | null | undefined;
792
+ updatedBy?: {
793
+ name: string;
794
+ id: string;
795
+ } | null | undefined;
796
+ groups?: {
797
+ name: string;
798
+ id: string;
799
+ items: {
800
+ disabledMeasurements?: string[] | null | undefined;
801
+ position?: number | null | undefined;
802
+ skuId: string;
803
+ }[];
804
+ }[] | null | undefined;
805
+ _id: string;
806
+ name: string;
807
+ }[];
808
+ } | undefined;
809
+ parentName?: string | undefined;
810
+ }>>> & Readonly<{
811
+ onUpdated?: (() => any) | undefined;
812
+ "onUpdate:show"?: ((args_0: boolean) => any) | undefined;
813
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
814
+ export default _default;
815
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
816
+ type __VLS_TypePropsToRuntimeProps<T> = {
817
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
818
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
819
+ } : {
820
+ type: import('vue').PropType<T[K]>;
821
+ required: true;
822
+ };
823
+ };