@feedmepos/mf-inventory-portal 1.8.0-dev.7 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/dist/App-BPdZMhM8.js +1445 -0
  2. package/dist/{ApprovalView-1Y_jh_UJ.js → ApprovalView-UzjSuZ2L.js} +26 -25
  3. package/dist/{BindingsDialog-VMvTLguN.js → BindingsDialog-Cb6WRlKq.js} +2 -2
  4. package/dist/{BindingsPicker-KNRM5rMU.js → BindingsPicker-CtD4U4lv.js} +2 -2
  5. package/dist/{BindingsTable-CSyNlNCL.js → BindingsTable-CX-3403K.js} +10 -10
  6. package/dist/BulkReceiveRequestPage-CUq1Lmww.js +2839 -0
  7. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DQuI04Yj.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-C5cA-lGH.js} +1 -1
  8. package/dist/{ClosingDraftView-A2pJuhIb.js → ClosingDraftView-Ca_SvdWQ.js} +748 -746
  9. package/dist/ClosingHistoryView-DzkeJYoe.js +769 -0
  10. package/dist/{ClosingTemplateView-DpkNCyoB.js → ClosingTemplateView-DSrelbso.js} +22 -21
  11. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DOpIDvsy.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-BuOuXPy1.js} +1 -1
  12. package/dist/{DefaultView-B4UuAqYu.js → DefaultView-Dw-7Y8vD.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-w0YcNH3F.js → DeliveryOrderPrintPreview-C5qJsv_O.js} +15 -15
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-BimIEHsW.js → EmailDialog.vue_vue_type_script_setup_true_lang-D8od7aKT.js} +10075 -9949
  15. package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-ChekXW32.js +48 -0
  16. package/dist/FeatureCapabilityGate-C-IM5_7n.js +82 -0
  17. package/dist/FeaturePageGate.vue_vue_type_script_setup_true_lang-DEDU1XUC.js +189 -0
  18. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang--54VR4oB.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-B861gqIJ.js} +1 -1
  19. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B7j4ZSOe.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Ckli_nZx.js} +2 -2
  20. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D_y8VcCI.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BEjFoMJJ.js} +2 -2
  21. package/dist/{FmMultiselectDialog-DMA5eR0C.js → FmMultiselectDialog-CShFKSIW.js} +2 -2
  22. package/dist/{FmMultiselectDialog-BnZInvgp.js → FmMultiselectDialog-Ci-6NMsV.js} +2 -2
  23. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BXTUsnwN.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Dkx5vVap.js} +105 -99
  24. package/dist/ImportView-7ij7RUHI.js +1540 -0
  25. package/dist/{IngredientsView-C4-8qNGD.js → IngredientsView-fIPtTyFD.js} +685 -688
  26. package/dist/{IntegrationExplorerView-D3leld2Z.js → IntegrationExplorerView-DLYT4T-I.js} +1537 -1620
  27. package/dist/IntegrationPlatformView-CwywuK_y.js +13385 -0
  28. package/dist/{IntegrationView-BhRzry3g.js → IntegrationView-DnyVHXge.js} +2380 -2340
  29. package/dist/{InventoryBindingForm-ewAgZ6e-.js → InventoryBindingForm-BBs8v7CL.js} +1 -1
  30. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bpo7Yv9A.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang--pI5wz_M.js} +134 -134
  31. package/dist/{InventoryBindingSummary-e67GzHYr.js → InventoryBindingSummary-CwIrQ8lG.js} +1 -1
  32. package/dist/JsonViewer.vue_vue_type_script_setup_true_lang-C_hg75l0.js +25 -0
  33. package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DJSbskyn.js +79 -0
  34. package/dist/PlanTierBadge.vue_vue_type_script_setup_true_lang-CM3gtYZo.js +19 -0
  35. package/dist/PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-0F-yOcPC.js +79 -0
  36. package/dist/PremiumUpgradePage.vue_vue_type_script_setup_true_lang-DGAxPOEh.js +58 -0
  37. package/dist/ProductionRunDetailPage-C_WC4qfP.js +2317 -0
  38. package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-7u0HQH67.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-BIkoMOM2.js} +3051 -3161
  39. package/dist/ProductionRunPage-DuzVrjbZ.js +954 -0
  40. package/dist/{PublishView-BXA3k8Cp.js → PublishView-BVg44yke.js} +3 -3
  41. package/dist/{PurchaseOrderPrintPreview-DRugr4BU.js → PurchaseOrderPrintPreview-CNx6unyj.js} +17 -17
  42. package/dist/{ReceiveRequestView-CeJs9NTD.js → ReceiveRequestView-DeNrYOUt.js} +17 -16
  43. package/dist/RecipeView-De3pLsPR.js +3272 -0
  44. package/dist/SettingsView-B5ud0KtI.js +1005 -0
  45. package/dist/StockView-4N3NRjY8.js +3003 -0
  46. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Ckw1_xIc.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DvlRRKdt.js} +1 -1
  47. package/dist/{SupplierView-DH9u6e2M.js → SupplierView-fC9oe5nu.js} +304 -301
  48. package/dist/{SurchargeView-BPVEpc0f.js → SurchargeView-H6rv7u8A.js} +7 -7
  49. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-BRwxKmwb.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DFdrmR2Z.js} +2 -2
  50. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-gJQQKKAC.js +71 -0
  51. package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BivHE94R.js +332 -0
  52. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Df01LqHp.js +4953 -0
  53. package/dist/TransferTemplateView-CVUnofkI.js +2347 -0
  54. package/dist/{UnitCostHistoryView-06rIaX_M.js → UnitCostHistoryView-DjD2WAFI.js} +4 -4
  55. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-C2zidBrl.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CE0zHU6c.js} +4 -4
  56. package/dist/{UnitView-Xk_F9SYG.js → UnitView-DCfsbE8e.js} +111 -106
  57. package/dist/{WarehouseView-bmpLmpcX.js → WarehouseView-BCebmbcj.js} +12 -11
  58. package/dist/{WastageTemplateView-CWV1pFxM.js → WastageTemplateView-BXYNMBun.js} +19 -18
  59. package/dist/api/bill.d.ts +4 -2
  60. package/dist/api/bill.spec.d.ts +1 -0
  61. package/dist/api/closing.d.ts +1 -0
  62. package/dist/api/feature-flags.d.ts +2 -0
  63. package/dist/api/integration-sync-log.d.ts +0 -13
  64. package/dist/api/inventory.d.ts +9 -9
  65. package/dist/api/netsuite-explorer.d.ts +1 -0
  66. package/dist/api/stock.d.ts +1 -1
  67. package/dist/{app-CURawLhs.js → app-VtVYHCDF.js} +9785 -9546
  68. package/dist/app.d.ts +151 -14
  69. package/dist/app.js +1 -1
  70. package/dist/bulk-edit-simulation.helper-Nd6CtWGf.js +178 -0
  71. package/dist/{closing-template-q_KGB4jO.js → closing-template-LCe0U9w9.js} +4 -4
  72. package/dist/components/FeatureCapabilityGate.spec.d.ts +1 -0
  73. package/dist/components/FeatureCapabilityGate.vue.d.ts +5 -0
  74. package/dist/components/FeatureGateLayout.vue.d.ts +11 -0
  75. package/dist/components/FeaturePageGate.spec.d.ts +1 -0
  76. package/dist/components/FeaturePageGate.vue.d.ts +34 -0
  77. package/dist/components/FmAdminCollapsiblePanel.vue.d.ts +1 -1
  78. package/dist/components/FmDroppableField.vue.d.ts +1 -1
  79. package/dist/components/FmInventoryTableToolbar.vue.d.ts +2 -2
  80. package/dist/components/FmUnitInputProps.d.ts +1 -0
  81. package/dist/components/FmUnitInputRules.d.ts +1 -1
  82. package/dist/components/HrmPermissionGuard.vue.d.ts +1 -1
  83. package/dist/components/MultiLocationSelector.vue.d.ts +6 -6
  84. package/dist/components/NumberPrecisionInput.spec.d.ts +1 -0
  85. package/dist/components/PremiumUpgradePage.vue.d.ts +2 -0
  86. package/dist/components/TemplatePublishDialog.d.ts +2 -0
  87. package/dist/components/TemplatePublishDialog.spec.d.ts +1 -0
  88. package/dist/composable/defineApi.d.ts +1 -1
  89. package/dist/{date2-3kdweNLp.js → date2-Cfb6DXM4.js} +1 -1
  90. package/dist/{dayjs.min-DHE73-wM.js → dayjs.min-BOndKK7B.js} +1 -1
  91. package/dist/{decimal-CAnQe2Ib.js → decimal-nbuisP61.js} +2 -2
  92. package/dist/{defineDeepModel-CctS67Do.js → defineDeepModel-DKySrdwp.js} +5 -5
  93. package/dist/{duplicate-template-Jk2V2Ezg.js → duplicate-template-BxcKb3Jp.js} +1 -1
  94. package/dist/{feature-D9n0IC0c.js → feature-VDUlSvM1.js} +452 -354
  95. package/dist/feature-flags/core.d.ts +1 -0
  96. package/dist/feature-flags/vue.d.ts +22 -1
  97. package/dist/feature-flags/vue.spec.d.ts +1 -0
  98. package/dist/{format-time-from-id-Bmzpbg-8.js → format-time-from-id-CfVH4LZ_.js} +1 -1
  99. package/dist/{format-unit-display-CVg4Bl5L.js → format-unit-display-BjTeAtgS.js} +209 -208
  100. package/dist/helper/country.spec.d.ts +1 -0
  101. package/dist/helper/menu-usage-module.d.ts +2 -1
  102. package/dist/helper/number.d.ts +5 -1
  103. package/dist/helper/rules.d.ts +1 -1
  104. package/dist/{id-to-date-DPCcxufP.js → id-to-date-Jr9SlHLO.js} +1 -1
  105. package/dist/{import-export.helper-bmGZwUBB.js → import-export.helper-FT9Wbigh.js} +17 -17
  106. package/dist/{index-zCBA-X6R.js → index-BV9b3Ulp.js} +2234 -2163
  107. package/dist/{index-yt6MlAFG.js → index-By5-VjVg.js} +1 -1
  108. package/dist/{JsonViewer.vue_vue_type_script_setup_true_lang-ig2zSXAB.js → index-C25C1Dg7.js} +1074 -1066
  109. package/dist/{index-CFNNQo-7.js → index-DXHVgUHU.js} +3 -3
  110. package/dist/index-eGvSlWMU.js +1892 -0
  111. package/dist/layout/SingleColumnLayout.vue.d.ts +1 -1
  112. package/dist/{lz-string-CqlY9MC2.js → lz-string-BAzqO9xf.js} +1 -1
  113. package/dist/menu-usage-module-Bq_KLsO4.js +74 -0
  114. package/dist/{netsuite-DudeltN_.js → netsuite-BhGuduqd.js} +254 -263
  115. package/dist/netsuite-explorer-9Qj7qAum.js +79 -0
  116. package/dist/{predefined-templates-DT32p04n.js → predefined-templates-BlRafgnc.js} +1 -1
  117. package/dist/production-run-list-DR1WsaBR.js +61 -0
  118. package/dist/{purchase-order-template-LaRpWA04.js → purchase-order-template-By_Zxu1b.js} +1 -1
  119. package/dist/{recalculationUtils-BYN393eE.js → recalculationUtils-VsBar7jB.js} +1 -1
  120. package/dist/router/name.d.ts +2 -1
  121. package/dist/{row-action.enum-BiP5wkT6.js → row-action.enum-76yLYmPA.js} +1 -1
  122. package/dist/rules-fOcvgt4t.js +243 -0
  123. package/dist/{stock-B9XerL9c.js → stock-C-dQaxY2.js} +1 -1
  124. package/dist/stock-Dh0KXA1P.js +78 -0
  125. package/dist/stores/feature.d.ts +31 -2
  126. package/dist/stores/feature.load-state.spec.d.ts +1 -0
  127. package/dist/stores/integration/netsuite.d.ts +2 -2
  128. package/dist/stores/inventory.no-location.spec.d.ts +1 -0
  129. package/dist/stores/location.d.ts +42 -42
  130. package/dist/stores/supplier.d.ts +48 -48
  131. package/dist/stores/warehouse.d.ts +2 -2
  132. package/dist/style.css +1 -1
  133. package/dist/{supplier-dpHijd2E.js → supplier-XHHHN8vZ.js} +2 -2
  134. package/dist/{surcharge-BZ4STY5J.js → surcharge-0-oBiYoF.js} +1 -1
  135. package/dist/tsconfig.app.tsbuildinfo +1 -1
  136. package/dist/{uom-rules-Da5Lngvp.js → uom-rules-DrRuSFgM.js} +1 -1
  137. package/dist/{use-ingredient-select-dialog-C3YsT5l-.js → use-ingredient-select-dialog-mQ7aQChK.js} +2 -2
  138. package/dist/{use-inventory-binding-dialog-BSsyrcGe.js → use-inventory-binding-dialog-5Wu0ItnH.js} +2 -2
  139. package/dist/{use-template-enabled-locations-BmJUzSUm.js → use-template-enabled-locations-CgpPMl8g.js} +2 -2
  140. package/dist/{use-transfer-locations-frEk_aBH.js → use-transfer-locations-DZ6B7eMT.js} +14 -14
  141. package/dist/{useHrmPermission-Cyjm0y9a.js → useHrmPermission-BaGxz4EV.js} +1 -1
  142. package/dist/{useNavigationMenu-CnTsOF9T.js → useNavigationMenu-CyP39v3U.js} +50 -49
  143. package/dist/{useSseClient-D_7o9nuf.js → useSseClient-CaD4MVg0.js} +1 -1
  144. package/dist/views/adjustment-template/wastage-template/actions.d.ts +36 -36
  145. package/dist/views/adjustment-template/wastage-template/table.d.ts +36 -36
  146. package/dist/views/changelog/composables/use-snapshot-diff.d.ts +2 -2
  147. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +6 -6
  148. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +12 -12
  149. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +6 -6
  150. package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +3 -3
  151. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +19 -19
  152. package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -1
  153. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +45 -45
  154. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +36 -36
  155. package/dist/views/import/helper/submit-rows.d.ts +1 -1
  156. package/dist/views/ingredients/components/inventory-binding/recipe-amount-validation.spec.d.ts +1 -0
  157. package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +3 -1
  158. package/dist/views/integration/IntegrationPlatformView.vue.d.ts +24 -0
  159. package/dist/views/integration/components/IntegrationCard.vue.d.ts +3 -3
  160. package/dist/views/integration/components/Synergy/importFn.spec.d.ts +1 -0
  161. package/dist/views/integration/components/Xilnex/importFn.spec.d.ts +1 -0
  162. package/dist/views/integration/components/netsuite/business/AddLocationDialog.vue.d.ts +36 -36
  163. package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +24 -24
  164. package/dist/views/integration/helper/opening-balance.d.ts +22 -0
  165. package/dist/views/integration/helper/opening-balance.spec.d.ts +1 -0
  166. package/dist/views/production-run/ProductionRunDetailPage.spec.d.ts +1 -0
  167. package/dist/views/{integration/components/IntegrationSyncLogTab.vue.d.ts → production-run/ProductionRunDetailPage.vue.d.ts} +2 -2
  168. package/dist/views/production-run/ProductionRunPage.vue.d.ts +2 -0
  169. package/dist/views/production-run/features/detail/ProductionRunItemsTable.vue.d.ts +2 -2
  170. package/dist/views/production-run/features/detail/ProductionRunOverviewTab.vue.d.ts +4 -4
  171. package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +19 -9
  172. package/dist/views/production-run/features/lifecycle/CancelRunDialog.vue.d.ts +4 -4
  173. package/dist/views/production-run/features/lifecycle/CloseRunDialog.vue.d.ts +4 -4
  174. package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.vue.d.ts +14 -14
  175. package/dist/views/production-run/features/lifecycle/TargetReachedDialog.vue.d.ts +4 -4
  176. package/dist/views/production-run/features/planning/ProductionRunFormDialog.vue.d.ts +4 -4
  177. package/dist/views/production-run/features/planning/ProductionRunPlanner.vue.d.ts +1 -1
  178. package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.d.ts +6 -6
  179. package/dist/views/production-run/shared/helpers/production-run-navigation.d.ts +0 -1
  180. package/dist/views/production-run/shared/model/production-run-list.d.ts +1 -1
  181. package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.vue.d.ts +1 -1
  182. package/dist/views/production-run/shared/ui/ProductionRunInfoText.vue.d.ts +1 -1
  183. package/dist/views/production-run/shared/ui/ProductionRunScrollHint.vue.d.ts +2 -2
  184. package/dist/views/production-run/shared/ui/ProductionRunTextarea.vue.d.ts +3 -3
  185. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +5 -5
  186. package/dist/views/receive-request/composables/netsuite-order-label.d.ts +11 -0
  187. package/dist/views/receive-request/composables/netsuite-order-label.spec.d.ts +1 -0
  188. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +6 -6
  189. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +48 -48
  190. package/dist/views/receive-request/composables/use-receive-request-form.spec.d.ts +1 -0
  191. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +42 -42
  192. package/dist/views/receive-request/import/export.spec.d.ts +1 -0
  193. package/dist/views/receive-request-bulk/BulkReceiveRequestPage.vue.d.ts +2 -0
  194. package/dist/views/receive-request-bulk/components/CreateTransferWizard.spec.d.ts +1 -0
  195. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +54 -54
  196. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.readiness.spec.d.ts +1 -0
  197. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +8 -8
  198. package/dist/views/recipe/components/recipe-bulk-editor/components/ModificationCard.spec.d.ts +1 -0
  199. package/dist/views/recipe/helper/import-recipe.d.ts +30 -0
  200. package/dist/views/recipe/helper/import-recipe.spec.d.ts +1 -0
  201. package/dist/views/settings/PlanLicenseDisplay.spec.d.ts +1 -0
  202. package/dist/views/settings/PlanLicenseDisplay.vue.d.ts +2 -0
  203. package/dist/views/stock/components/StockRecordCard.spec.d.ts +1 -0
  204. package/dist/views/stock/components/StockRecordCard.vue.d.ts +19 -865
  205. package/dist/views/stock/components/dialog/AmendAdjustmentForm.spec.d.ts +1 -0
  206. package/dist/views/stock/components/dialog/BillInventoryInfoDialog.spec.d.ts +1 -0
  207. package/dist/views/stock/components/dialog/BillInventoryInfoDialog.vue.d.ts +36 -0
  208. package/dist/views/stock/components/dialog/ConvertSkuDialog.spec.d.ts +1 -0
  209. package/dist/views/stock/composables/use-last-closing-summary.d.ts +4 -0
  210. package/dist/views/stock/composables/use-last-closing-summary.spec.d.ts +1 -0
  211. package/dist/views/supplier/components/SupplierForm.vue.d.ts +4 -4
  212. package/dist/views/supplier/composables/use-supplier-table.d.ts +2 -2
  213. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +8 -8
  214. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +4 -4
  215. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.spec.d.ts +1 -0
  216. package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +24 -24
  217. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -48
  218. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -48
  219. package/dist/views/transfer-template/helpers/template-item.error.helper.spec.d.ts +1 -0
  220. package/dist/views/unit/composables/use-unit-form.spec.d.ts +1 -0
  221. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +4 -4
  222. package/dist/{FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-BBkF9lOE.js → vue-KHCpiw_e.js} +106 -108
  223. package/dist/{vue-i18n-DwAcG7yc.js → vue-i18n-D6btLtve.js} +422 -422
  224. package/dist/{xlsx.util-C7S-uyqm.js → xlsx.util-Dr5i_LBa.js} +2 -2
  225. package/package.json +71 -66
  226. package/dist/App-Bo29Nwt0.js +0 -1537
  227. package/dist/BulkReceiveRequestView-vOeHbWM_.js +0 -2656
  228. package/dist/ClosingHistoryView-woRmvmYT.js +0 -761
  229. package/dist/ImportView-C7Hah7MM.js +0 -1291
  230. package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CKEzy2Uo.js +0 -72
  231. package/dist/ProductionRunDetailView-Ct7kr5Ht.js +0 -2312
  232. package/dist/ProductionRunView-odWyBZGx.js +0 -930
  233. package/dist/RecipeView-BH0REMB3.js +0 -3428
  234. package/dist/SettingsView-Dc27wyk-.js +0 -977
  235. package/dist/StockView-DrHLzosW.js +0 -2616
  236. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js +0 -84
  237. package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BpiePSmo.js +0 -299
  238. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DOQGPKiv.js +0 -4820
  239. package/dist/TransferTemplateView-CEVRsKL7.js +0 -2326
  240. package/dist/menu-usage-module-BdjYEk3s.js +0 -57
  241. package/dist/number-BoePMDs8.js +0 -138
  242. package/dist/rules-CQT0uAAo.js +0 -98
  243. package/dist/stock-CVybjhUm.js +0 -75
  244. package/dist/views/integration/composables/use-integration-sync-log.d.ts +0 -45
package/dist/app.d.ts CHANGED
@@ -128,6 +128,7 @@ export declare const i18nMessages: {
128
128
  menu: string;
129
129
  sku: string;
130
130
  recipe: string;
131
+ productionRun: string;
131
132
  };
132
133
  };
133
134
  business: string;
@@ -174,6 +175,18 @@ export declare const i18nMessages: {
174
175
  basicInformation: string;
175
176
  code: string;
176
177
  validationErrors: string;
178
+ warnings: string;
179
+ recipeChanges: {
180
+ title: string;
181
+ item: string;
182
+ qtyBefore: string;
183
+ qtyAfter: string;
184
+ extraBefore: string;
185
+ extraAfter: string;
186
+ added: string;
187
+ changed: string;
188
+ same: string;
189
+ };
177
190
  rawData: string;
178
191
  errorType: string;
179
192
  errorMessage: string;
@@ -369,8 +382,9 @@ export declare const i18nMessages: {
369
382
  totalReceive: string;
370
383
  totalConvert: string;
371
384
  totalDamage: string;
372
- openingBalance: string;
373
- lastStockBalance: string;
385
+ firstAdjustmentBalance: string;
386
+ lastAdjustmentBalance: string;
387
+ lastClosingBalance: string;
374
388
  };
375
389
  loading: string;
376
390
  noRecords: string;
@@ -379,6 +393,7 @@ export declare const i18nMessages: {
379
393
  estimatedValueTooltip: string;
380
394
  costSold: string;
381
395
  costSoldTooltip: string;
396
+ debug: string;
382
397
  };
383
398
  error: {
384
399
  title: string;
@@ -393,6 +408,14 @@ export declare const i18nMessages: {
393
408
  bill: string;
394
409
  backdate: string;
395
410
  createdBy: string;
411
+ billNotFound: string;
412
+ billItem: string;
413
+ billQuantity: string;
414
+ billStockChange: string;
415
+ billItemNoLongerExists: string;
416
+ closeBill: string;
417
+ selectedAdjustment: string;
418
+ selectedAdjustmentHint: string;
396
419
  };
397
420
  stock_adjustment: {
398
421
  title: string;
@@ -1186,6 +1209,18 @@ export declare const i18nMessages: {
1186
1209
  notAvailable: string;
1187
1210
  };
1188
1211
  autoCalculated: string;
1212
+ costTooltip: {
1213
+ sourceSupplier: string;
1214
+ sourceSku: string;
1215
+ cost: string;
1216
+ costMeasurement: string;
1217
+ baseUnit: string;
1218
+ costPerBaseUnit: string;
1219
+ costPerBaseUnitNoMeasurement: string;
1220
+ selected: string;
1221
+ total: string;
1222
+ measurementWarning: string;
1223
+ };
1189
1224
  table: {
1190
1225
  Code: string;
1191
1226
  Name: string;
@@ -2696,6 +2731,7 @@ export declare const i18nMessages: {
2696
2731
  menu: string;
2697
2732
  sku: string;
2698
2733
  recipe: string;
2734
+ productionRun: string;
2699
2735
  };
2700
2736
  };
2701
2737
  business: string;
@@ -2742,6 +2778,18 @@ export declare const i18nMessages: {
2742
2778
  basicInformation: string;
2743
2779
  code: string;
2744
2780
  validationErrors: string;
2781
+ warnings: string;
2782
+ recipeChanges: {
2783
+ title: string;
2784
+ item: string;
2785
+ qtyBefore: string;
2786
+ qtyAfter: string;
2787
+ extraBefore: string;
2788
+ extraAfter: string;
2789
+ added: string;
2790
+ changed: string;
2791
+ same: string;
2792
+ };
2745
2793
  rawData: string;
2746
2794
  errorType: string;
2747
2795
  errorMessage: string;
@@ -2937,8 +2985,9 @@ export declare const i18nMessages: {
2937
2985
  totalReceive: string;
2938
2986
  totalConvert: string;
2939
2987
  totalDamage: string;
2940
- openingBalance: string;
2941
- lastStockBalance: string;
2988
+ firstAdjustmentBalance: string;
2989
+ lastAdjustmentBalance: string;
2990
+ lastClosingBalance: string;
2942
2991
  };
2943
2992
  loading: string;
2944
2993
  noRecords: string;
@@ -2961,6 +3010,14 @@ export declare const i18nMessages: {
2961
3010
  bill: string;
2962
3011
  backdate: string;
2963
3012
  createdBy: string;
3013
+ billNotFound: string;
3014
+ billItem: string;
3015
+ billQuantity: string;
3016
+ billStockChange: string;
3017
+ billItemNoLongerExists: string;
3018
+ closeBill: string;
3019
+ selectedAdjustment: string;
3020
+ selectedAdjustmentHint: string;
2964
3021
  };
2965
3022
  stock_adjustment: {
2966
3023
  title: string;
@@ -3754,6 +3811,18 @@ export declare const i18nMessages: {
3754
3811
  notAvailable: string;
3755
3812
  };
3756
3813
  autoCalculated: string;
3814
+ costTooltip: {
3815
+ sourceSupplier: string;
3816
+ sourceSku: string;
3817
+ cost: string;
3818
+ costMeasurement: string;
3819
+ baseUnit: string;
3820
+ costPerBaseUnit: string;
3821
+ costPerBaseUnitNoMeasurement: string;
3822
+ selected: string;
3823
+ total: string;
3824
+ measurementWarning: string;
3825
+ };
3757
3826
  table: {
3758
3827
  Code: string;
3759
3828
  Name: string;
@@ -5264,6 +5333,7 @@ export declare const i18nMessages: {
5264
5333
  menu: string;
5265
5334
  sku: string;
5266
5335
  recipe: string;
5336
+ productionRun: string;
5267
5337
  };
5268
5338
  };
5269
5339
  business: string;
@@ -5310,6 +5380,18 @@ export declare const i18nMessages: {
5310
5380
  basicInformation: string;
5311
5381
  code: string;
5312
5382
  validationErrors: string;
5383
+ warnings: string;
5384
+ recipeChanges: {
5385
+ title: string;
5386
+ item: string;
5387
+ qtyBefore: string;
5388
+ qtyAfter: string;
5389
+ extraBefore: string;
5390
+ extraAfter: string;
5391
+ added: string;
5392
+ changed: string;
5393
+ same: string;
5394
+ };
5313
5395
  rawData: string;
5314
5396
  errorType: string;
5315
5397
  errorMessage: string;
@@ -5505,8 +5587,9 @@ export declare const i18nMessages: {
5505
5587
  totalReceive: string;
5506
5588
  totalConvert: string;
5507
5589
  totalDamage: string;
5508
- openingBalance: string;
5509
- lastStockBalance: string;
5590
+ firstAdjustmentBalance: string;
5591
+ lastAdjustmentBalance: string;
5592
+ lastClosingBalance: string;
5510
5593
  };
5511
5594
  loading: string;
5512
5595
  noRecords: string;
@@ -5529,6 +5612,14 @@ export declare const i18nMessages: {
5529
5612
  bill: string;
5530
5613
  backdate: string;
5531
5614
  createdBy: string;
5615
+ billNotFound: string;
5616
+ billItem: string;
5617
+ billQuantity: string;
5618
+ billStockChange: string;
5619
+ billItemNoLongerExists: string;
5620
+ closeBill: string;
5621
+ selectedAdjustment: string;
5622
+ selectedAdjustmentHint: string;
5532
5623
  };
5533
5624
  stock_adjustment: {
5534
5625
  title: string;
@@ -6322,6 +6413,18 @@ export declare const i18nMessages: {
6322
6413
  notAvailable: string;
6323
6414
  };
6324
6415
  autoCalculated: string;
6416
+ costTooltip: {
6417
+ sourceSupplier: string;
6418
+ sourceSku: string;
6419
+ cost: string;
6420
+ costMeasurement: string;
6421
+ baseUnit: string;
6422
+ costPerBaseUnit: string;
6423
+ costPerBaseUnitNoMeasurement: string;
6424
+ selected: string;
6425
+ total: string;
6426
+ measurementWarning: string;
6427
+ };
6325
6428
  table: {
6326
6429
  Code: string;
6327
6430
  Name: string;
@@ -7832,6 +7935,7 @@ export declare const i18nMessages: {
7832
7935
  menu: string;
7833
7936
  sku: string;
7834
7937
  recipe: string;
7938
+ productionRun: string;
7835
7939
  };
7836
7940
  };
7837
7941
  business: string;
@@ -7878,6 +7982,18 @@ export declare const i18nMessages: {
7878
7982
  basicInformation: string;
7879
7983
  code: string;
7880
7984
  validationErrors: string;
7985
+ warnings: string;
7986
+ recipeChanges: {
7987
+ title: string;
7988
+ item: string;
7989
+ qtyBefore: string;
7990
+ qtyAfter: string;
7991
+ extraBefore: string;
7992
+ extraAfter: string;
7993
+ added: string;
7994
+ changed: string;
7995
+ same: string;
7996
+ };
7881
7997
  rawData: string;
7882
7998
  errorType: string;
7883
7999
  errorMessage: string;
@@ -8073,8 +8189,9 @@ export declare const i18nMessages: {
8073
8189
  totalReceive: string;
8074
8190
  totalConvert: string;
8075
8191
  totalDamage: string;
8076
- openingBalance: string;
8077
- lastStockBalance: string;
8192
+ firstAdjustmentBalance: string;
8193
+ lastAdjustmentBalance: string;
8194
+ lastClosingBalance: string;
8078
8195
  };
8079
8196
  loading: string;
8080
8197
  noRecords: string;
@@ -8097,6 +8214,14 @@ export declare const i18nMessages: {
8097
8214
  bill: string;
8098
8215
  backdate: string;
8099
8216
  createdBy: string;
8217
+ billNotFound: string;
8218
+ billItem: string;
8219
+ billQuantity: string;
8220
+ billStockChange: string;
8221
+ billItemNoLongerExists: string;
8222
+ closeBill: string;
8223
+ selectedAdjustment: string;
8224
+ selectedAdjustmentHint: string;
8100
8225
  };
8101
8226
  stock_adjustment: {
8102
8227
  title: string;
@@ -8890,6 +9015,18 @@ export declare const i18nMessages: {
8890
9015
  notAvailable: string;
8891
9016
  };
8892
9017
  autoCalculated: string;
9018
+ costTooltip: {
9019
+ sourceSupplier: string;
9020
+ sourceSku: string;
9021
+ cost: string;
9022
+ costMeasurement: string;
9023
+ baseUnit: string;
9024
+ costPerBaseUnit: string;
9025
+ costPerBaseUnitNoMeasurement: string;
9026
+ selected: string;
9027
+ total: string;
9028
+ measurementWarning: string;
9029
+ };
8893
9030
  table: {
8894
9031
  Code: string;
8895
9032
  Name: string;
@@ -10277,6 +10414,9 @@ export declare const i18nMessages: {
10277
10414
  export { routers } from './router/shared';
10278
10415
  export declare const FmApp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10279
10416
  export declare const InventoryBindingForm: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
10417
+ disabled: {
10418
+ type: import("vue").PropType<boolean>;
10419
+ };
10280
10420
  id: {
10281
10421
  type: import("vue").PropType<string>;
10282
10422
  };
@@ -10310,9 +10450,6 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
10310
10450
  readonly: {
10311
10451
  type: import("vue").PropType<boolean>;
10312
10452
  };
10313
- disabled: {
10314
- type: import("vue").PropType<boolean>;
10315
- };
10316
10453
  modelValue: {
10317
10454
  type: import("vue").PropType<{
10318
10455
  measurement?: {
@@ -10376,6 +10513,9 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
10376
10513
  }[]) => void;
10377
10514
  "click:pick-inventory-bindings": (type: "RECIPE" | "SKU" | "SKU_GROUP") => void;
10378
10515
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
10516
+ disabled: {
10517
+ type: import("vue").PropType<boolean>;
10518
+ };
10379
10519
  id: {
10380
10520
  type: import("vue").PropType<string>;
10381
10521
  };
@@ -10409,9 +10549,6 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
10409
10549
  readonly: {
10410
10550
  type: import("vue").PropType<boolean>;
10411
10551
  };
10412
- disabled: {
10413
- type: import("vue").PropType<boolean>;
10414
- };
10415
10552
  modelValue: {
10416
10553
  type: import("vue").PropType<{
10417
10554
  measurement?: {
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { aD as s, aE as e, aF as o, aC as t, ad as i, a as m } from "./app-CURawLhs.js";
2
+ import { aF as s, aG as e, aH as o, aE as t, af as i, a as m } from "./app-VtVYHCDF.js";
3
3
  export {
4
4
  s as FmApp,
5
5
  e as InventoryBindingForm,
@@ -0,0 +1,178 @@
1
+ import { F as y } from "./decimal-nbuisP61.js";
2
+ import { F as m } from "./app-VtVYHCDF.js";
3
+ function h(n, a, t) {
4
+ const i = [];
5
+ for (const o of n)
6
+ if (o.type === m.enum.SKU)
7
+ i.push({ ...o, recipeIds: [...a] });
8
+ else if (o.type === m.enum.RECIPE) {
9
+ const e = t[o.id];
10
+ e && !a.has(o.id) && i.push(
11
+ ...h(e.contains, /* @__PURE__ */ new Set([...a, o.id]), t)
12
+ );
13
+ }
14
+ return i;
15
+ }
16
+ function k(n, a) {
17
+ return y.equal(n, a);
18
+ }
19
+ function c(n) {
20
+ if (n == null) return null;
21
+ const a = n.$and, t = n.$or;
22
+ return Array.isArray(a) && a.length === 0 || Array.isArray(t) && t.length === 0 || Object.keys(n).length === 0 ? null : JSON.stringify(n);
23
+ }
24
+ function p(n) {
25
+ const a = (n ?? []).map((t) => ({
26
+ _id: t._id,
27
+ trackingMeasurement: t.trackingMeasurement ?? null,
28
+ priority: t.priority ?? null,
29
+ default: t.default ?? null
30
+ })).sort((t, i) => t._id.localeCompare(i._id));
31
+ return JSON.stringify(a);
32
+ }
33
+ function g(n) {
34
+ return n.measurement ? y.multiplyDecimal(n.amount, n.measurement.conversion) : n.amount;
35
+ }
36
+ function f(n, a) {
37
+ var o, e;
38
+ if (n.type !== a.type || n.id !== a.id || !k(g(n), g(a))) return !1;
39
+ const t = ((o = n.measurement) == null ? void 0 : o.id) ?? null, i = ((e = a.measurement) == null ? void 0 : e.id) ?? null;
40
+ return !(t !== i || c(n.rules) !== c(a.rules) || p(n.alternatives) !== p(a.alternatives));
41
+ }
42
+ function b(n, a) {
43
+ return n.type === a.type && n.id === a.id;
44
+ }
45
+ function E(n, a) {
46
+ const t = [];
47
+ let i = [...n.contains];
48
+ for (const e of a)
49
+ switch (e.type) {
50
+ case "remove-binding": {
51
+ const r = i.findIndex(
52
+ (s) => s.type === e.target.type && s.id === e.target.id
53
+ );
54
+ r === -1 ? t.push({ change: e, outcome: "ignored", reason: "Source binding not found in target" }) : (i = [...i.slice(0, r), ...i.slice(r + 1)], t.push({ change: e, outcome: "applied" }));
55
+ break;
56
+ }
57
+ case "add-binding": {
58
+ if (i.find((d) => f(d, e.binding))) {
59
+ t.push({ change: e, outcome: "already-satisfied", reason: "Exact binding already present" });
60
+ break;
61
+ }
62
+ if (i.find((d) => b(d, e.binding))) {
63
+ t.push({ change: e, outcome: "blocked", reason: "A similar but non-exact binding already exists" });
64
+ break;
65
+ }
66
+ if (n.version === "v2" && e.binding.type === "RECIPE") {
67
+ t.push({ change: e, outcome: "blocked", reason: "Cannot add RECIPE binding to a V2 recipe" });
68
+ break;
69
+ }
70
+ if (n.version !== "v2" && (e.binding.alternatives ?? []).length > 0) {
71
+ t.push({ change: e, outcome: "blocked", reason: "Cannot add a binding with alternatives to a non-V2 recipe" });
72
+ break;
73
+ }
74
+ i = [...i, e.binding], t.push({ change: e, outcome: "applied" });
75
+ break;
76
+ }
77
+ case "replace-binding": {
78
+ const r = i.findIndex(
79
+ (l) => l.type === e.from.type && l.id === e.from.id
80
+ ), s = i.find((l) => f(l, e.to)), d = i.find((l, u) => u !== r && b(l, e.to) && !f(l, e.to));
81
+ if (r === -1) {
82
+ s ? t.push({ change: e, outcome: "already-satisfied", reason: "Target already has exact replacement" }) : t.push({ change: e, outcome: "ignored", reason: "Source binding not found in target" });
83
+ break;
84
+ }
85
+ if (n.version === "v2" && e.to.type === "RECIPE") {
86
+ t.push({ change: e, outcome: "blocked", reason: "Cannot add RECIPE binding to a V2 recipe" });
87
+ break;
88
+ }
89
+ if (n.version !== "v2" && (e.to.alternatives ?? []).length > 0) {
90
+ t.push({ change: e, outcome: "blocked", reason: "Cannot apply a binding with alternatives to a non-V2 recipe" });
91
+ break;
92
+ }
93
+ if (d) {
94
+ t.push({ change: e, outcome: "blocked", reason: "A similar but non-exact replacement binding already exists" });
95
+ break;
96
+ }
97
+ s ? (i = [...i.slice(0, r), ...i.slice(r + 1)], t.push({ change: e, outcome: "applied", reason: "Source removed; replacement already present" })) : (i = [
98
+ ...i.slice(0, r),
99
+ e.to,
100
+ ...i.slice(r + 1)
101
+ ], t.push({ change: e, outcome: "applied" }));
102
+ break;
103
+ }
104
+ case "update-binding-rule": {
105
+ const r = i.findIndex(
106
+ (u) => u.type === e.target.type && u.id === e.target.id
107
+ );
108
+ if (r === -1) {
109
+ t.push({ change: e, outcome: "ignored", reason: "Binding not found in target" });
110
+ break;
111
+ }
112
+ const s = i[r], d = s.rules ?? null, l = e.rule ?? null;
113
+ if (c(d) === c(l)) {
114
+ t.push({ change: e, outcome: "already-satisfied", reason: "Rule already matches" });
115
+ break;
116
+ }
117
+ i = [
118
+ ...i.slice(0, r),
119
+ { ...s, rules: l },
120
+ ...i.slice(r + 1)
121
+ ], t.push({ change: e, outcome: "applied" });
122
+ break;
123
+ }
124
+ case "update-alternatives": {
125
+ if (n.version !== "v2") {
126
+ t.push({ change: e, outcome: "blocked", reason: "Cannot update alternatives on a non-V2 recipe" });
127
+ break;
128
+ }
129
+ const r = i.findIndex(
130
+ (u) => u.type === e.target.type && u.id === e.target.id
131
+ );
132
+ if (r === -1) {
133
+ t.push({ change: e, outcome: "ignored", reason: "Binding not found in target" });
134
+ break;
135
+ }
136
+ const s = i[r], d = p(s.alternatives), l = p(e.alternatives);
137
+ if (d === l) {
138
+ t.push({ change: e, outcome: "already-satisfied", reason: "Alternatives already match" });
139
+ break;
140
+ }
141
+ i = [
142
+ ...i.slice(0, r),
143
+ { ...s, alternatives: e.alternatives },
144
+ ...i.slice(r + 1)
145
+ ], t.push({ change: e, outcome: "applied" });
146
+ break;
147
+ }
148
+ }
149
+ return { projected: { ...n, contains: i }, results: t };
150
+ }
151
+ function C(n) {
152
+ switch (n.type) {
153
+ case "add-binding":
154
+ return n.binding.id !== "";
155
+ case "remove-binding":
156
+ return n.target.id !== "";
157
+ case "replace-binding":
158
+ return n.from.id !== "" && n.to.id !== "";
159
+ case "update-binding-rule":
160
+ return n.target.id !== "";
161
+ case "update-alternatives":
162
+ return n.target.id !== "";
163
+ }
164
+ }
165
+ function I(n) {
166
+ if (n.length === 0) return "no-applicable-changes";
167
+ let a = 0, t = 0, i = 0, o = 0;
168
+ for (const e of n)
169
+ e.outcome === "applied" ? a++ : e.outcome === "blocked" ? t++ : e.outcome === "ignored" ? i++ : e.outcome === "already-satisfied" && o++;
170
+ return t > 0 && a === 0 ? "blocked" : o === n.length ? "already-satisfied" : a > 0 && (i > 0 || t > 0) ? "partially-ignored" : a > 0 ? "will-update" : "no-applicable-changes";
171
+ }
172
+ export {
173
+ I as d,
174
+ h as f,
175
+ C as i,
176
+ c as n,
177
+ E as s
178
+ };
@@ -1,6 +1,6 @@
1
- import { d as u } from "./app-CURawLhs.js";
1
+ import { d as u } from "./app-VtVYHCDF.js";
2
2
  import { useCoreStore as m } from "@feedmepos/mf-common";
3
- const i = u((s, a) => {
3
+ const p = u((s, a) => {
4
4
  function r() {
5
5
  var n;
6
6
  return `business_${((n = m().currentBusiness.value) == null ? void 0 : n._id) ?? ""}`;
@@ -87,7 +87,7 @@ const i = u((s, a) => {
87
87
  },
88
88
  async publishSingleDoc(e, t) {
89
89
  const n = r(), o = `${s.inventoryBackendUrl}/${n}/closing-template/publish/${e}`;
90
- return a.post(o, { locationDbNames: t });
90
+ return a.post(o, { locationDbNames: t }, void 0, 6e5);
91
91
  },
92
92
  async unpublishSingleDoc(e, t) {
93
93
  const n = r(), o = `${s.inventoryBackendUrl}/${n}/closing-template/unpublish/${e}`;
@@ -145,5 +145,5 @@ const i = u((s, a) => {
145
145
  });
146
146
  export {
147
147
  $ as a,
148
- i as u
148
+ p as u
149
149
  };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,13 +1,18 @@
1
1
  import type { FeatureResult } from '@/feature-flags/core';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
3
  featureKey: string;
4
+ compact?: boolean | undefined;
5
+ showLockedContent?: boolean | undefined;
4
6
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
7
  locked: (result: FeatureResult) => void;
6
8
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
9
  featureKey: string;
10
+ compact?: boolean | undefined;
11
+ showLockedContent?: boolean | undefined;
8
12
  }>>> & Readonly<{
9
13
  onLocked?: ((result: FeatureResult) => any) | undefined;
10
14
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
15
+ locked?(_: {}): any;
11
16
  default?(_: {}): any;
12
17
  }>;
13
18
  export default _default;
@@ -0,0 +1,11 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
2
+ title?(_: {}): any;
3
+ default?(_: {}): any;
4
+ actions?(_: {}): any;
5
+ }>;
6
+ export default _default;
7
+ type __VLS_WithTemplateSlots<T, S> = T & {
8
+ new (): {
9
+ $slots: S;
10
+ };
11
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,34 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ featureKey: string;
3
+ /**
4
+ * For pages that switch the current location themselves (e.g. the bulk page
5
+ * sets it per PO or wizard step): once entered, the page stays mounted while
6
+ * the next location's flags load, and leaves only on a confirmed off or error.
7
+ */
8
+ keepAcrossLocations?: boolean | undefined;
9
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
+ featureKey: string;
11
+ /**
12
+ * For pages that switch the current location themselves (e.g. the bulk page
13
+ * sets it per PO or wizard step): once entered, the page stays mounted while
14
+ * the next location's flags load, and leaves only on a confirmed off or error.
15
+ */
16
+ keepAcrossLocations?: boolean | undefined;
17
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
18
+ default?(_: {}): any;
19
+ }>;
20
+ export default _default;
21
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
+ type __VLS_TypePropsToRuntimeProps<T> = {
23
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
24
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
+ } : {
26
+ type: import('vue').PropType<T[K]>;
27
+ required: true;
28
+ };
29
+ };
30
+ type __VLS_WithTemplateSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -19,8 +19,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
19
19
  contentClass: undefined;
20
20
  }>>> & Readonly<{}>, {
21
21
  title: string;
22
- contentClass: string;
23
22
  class: string;
23
+ contentClass: string;
24
24
  selectable: boolean;
25
25
  open: boolean;
26
26
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
@@ -45,8 +45,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
45
45
  reason: string[];
46
46
  }[]) => any) | undefined;
47
47
  }>, {
48
- disabled: boolean;
49
48
  label: string;
49
+ disabled: boolean;
50
50
  accept: string;
51
51
  maxFileSize: number;
52
52
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<FmDroppableFieldSlots> & FmDroppableFieldSlots>;
@@ -61,7 +61,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
61
61
  type: import("vue").PropType<{
62
62
  type: "string" | "number" | "date";
63
63
  key: string;
64
- entity: "restaurant" | "item";
64
+ entity: "item" | "restaurant";
65
65
  values?: string[] | undefined;
66
66
  options?: {
67
67
  value: string;
@@ -118,7 +118,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
118
118
  type: import("vue").PropType<{
119
119
  type: "string" | "number" | "date";
120
120
  key: string;
121
- entity: "restaurant" | "item";
121
+ entity: "item" | "restaurant";
122
122
  values?: string[] | undefined;
123
123
  options?: {
124
124
  value: string;
@@ -17,6 +17,7 @@ export interface FmUnitInputProps extends FmTextFieldWithoutModelValue {
17
17
  stepper?: FdoDecimal | null;
18
18
  /** Publish v-model immediately; notifications remain debounced. */
19
19
  immediateModelUpdate?: boolean;
20
+ showMeasurementConversion?: boolean;
20
21
  }
21
22
  export interface FmUnitInputEvents {
22
23
  (event: 'update:amount', amount: string): void;
@@ -1,7 +1,7 @@
1
1
  import type { FmGroupModelValue } from './FmUnitInputProps';
2
2
  import type { ValidationResult } from '@feedmepos/ui-library';
3
3
  import type { FdoDecimal } from '@feedmepos/core/entity';
4
- export declare function FmUnitInputAmountIsNumberRule(): (value: FmGroupModelValue) => true | "Must be a number";
4
+ export declare function FmUnitInputAmountIsNumberRule(): (value: FmGroupModelValue) => true | "Number has too many digits" | "Must be a number";
5
5
  export declare function FmUnitInputAmountAtLeastRule(minimum: number): (value: FmGroupModelValue) => string | true;
6
6
  export declare function FmUnitInputAmountMoreThanRule(minimum: number): (value: FmGroupModelValue) => string | true;
7
7
  export declare function FmUnitInputAmountAtMostRule(maximum: number): (value: FmGroupModelValue) => string | true;