@feedmepos/mf-inventory-portal 1.8.0-dev.0 → 1.8.0-dev.10

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 (247) hide show
  1. package/dist/App-BjFIh5km.js +1466 -0
  2. package/dist/{ApprovalView-BK6E_3Cw.js → ApprovalView-CauRuf64.js} +26 -25
  3. package/dist/{BindingsDialog-BAVPQ_Eq.js → BindingsDialog-U-tzIfGX.js} +2 -2
  4. package/dist/{BindingsPicker-bAuDX7Af.js → BindingsPicker-CV_oghtz.js} +2 -2
  5. package/dist/{BindingsTable-LGlvV0lt.js → BindingsTable-TKSQxAxV.js} +4 -4
  6. package/dist/{BulkReceiveRequestView-CQf7FYos.js → BulkReceiveRequestView-Cyeq26qc.js} +21 -21
  7. package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BpJhboKU.js +151 -0
  8. package/dist/{ClosingDraftView-DH7iYiE9.js → ClosingDraftView-UqeHsxyJ.js} +748 -746
  9. package/dist/ClosingHistoryView-Cr6cQq6j.js +769 -0
  10. package/dist/{ClosingTemplateView-D532GNTn.js → ClosingTemplateView-DZ0Mdc87.js} +303 -291
  11. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CvqZGcvX.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-C-OsCTxZ.js} +1 -1
  12. package/dist/{DefaultView-DqqXJVba.js → DefaultView-DQKHG5Jl.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-DkHNDEKP.js → DeliveryOrderPrintPreview-Z_kBbMMO.js} +2 -2
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-Cyj3ka37.js → EmailDialog.vue_vue_type_script_setup_true_lang-Ce6Ly9pT.js} +6228 -6216
  15. package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-BUYI8koH.js +47 -0
  16. package/dist/FeatureCapabilityGate-DOn2IVJb.js +74 -0
  17. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BCuhx2cN.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BJuo4lEh.js} +1 -1
  18. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CDNqm_9N.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DZxz5hbo.js} +2 -2
  19. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CiBhz5sq.js +120 -0
  20. package/dist/FmMultiselectDialog-Bx9cLdYs.js +123 -0
  21. package/dist/{FmMultiselectDialog-eH3nO3P3.js → FmMultiselectDialog-DvaWLGY5.js} +2 -2
  22. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BCIkEl75.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D6f1M96D.js} +72 -73
  23. package/dist/ImportView-1-cjN7ay.js +1290 -0
  24. package/dist/{IngredientsView-DtDtzaMt.js → IngredientsView-JfKlUU2E.js} +656 -649
  25. package/dist/{IntegrationExplorerView-C4lYc_LH.js → IntegrationExplorerView-uElgWH8i.js} +602 -614
  26. package/dist/IntegrationPlatformView-g2dU5SG6.js +13061 -0
  27. package/dist/{IntegrationView-Bx5VdV5l.js → IntegrationView-B9g888K4.js} +2956 -2922
  28. package/dist/{InventoryBindingForm-DKa1DwYs.js → InventoryBindingForm-DfGOKZWg.js} +1 -1
  29. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CNjTdNL7.js +472 -0
  30. package/dist/{InventoryBindingSummary-CNqwcsrX.js → InventoryBindingSummary-CSii8B2X.js} +1 -1
  31. package/dist/JsonViewer.vue_vue_type_script_setup_true_lang-C_hg75l0.js +25 -0
  32. package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D_Xk4SOH.js +79 -0
  33. package/dist/PlanTierBadge.vue_vue_type_script_setup_true_lang-DJvfMOND.js +274 -0
  34. package/dist/PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-Bdjm0Y4w.js +79 -0
  35. package/dist/ProductionRunDetailView-HgH2Wp99.js +2312 -0
  36. package/dist/{production-run-prepare-sheet-aQOcxgaC.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-C88pjV2s.js} +11039 -3661
  37. package/dist/ProductionRunView-BkvQHeCP.js +931 -0
  38. package/dist/{PublishView-D0oSoJ5a.js → PublishView-CIei_T5e.js} +3 -3
  39. package/dist/{PurchaseOrderPrintPreview-CE-l4mvB.js → PurchaseOrderPrintPreview-Wmv7676h.js} +2 -2
  40. package/dist/{ReceiveRequestView-B2z8Ji0e.js → ReceiveRequestView-MqOIpIDB.js} +15 -15
  41. package/dist/RecipeView-WzXJX4JU.js +3440 -0
  42. package/dist/SettingsView-1YlgjyzB.js +1032 -0
  43. package/dist/StockView-C-dIRXPv.js +2651 -0
  44. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BTh5E4Tt.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CewKTZzy.js} +1 -1
  45. package/dist/{SupplierView-qqhUQ-SY.js → SupplierView-53rHhQ63.js} +577 -571
  46. package/dist/{SurchargeView-B0TYUfqY.js → SurchargeView-DuJb5EUn.js} +7 -7
  47. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-tfMHi9Yv.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-C_YmC-ZX.js} +2 -2
  48. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-gJQQKKAC.js +71 -0
  49. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Dxc-jNte.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CyQujMzv.js} +1 -1
  50. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BX36zWMb.js → TransferDetails.vue_vue_type_script_setup_true_lang-CMwqjlb0.js} +1722 -1672
  51. package/dist/TransferTemplateView-B6OGfKQr.js +2343 -0
  52. package/dist/{UnitCostHistoryView-xdRSkjD7.js → UnitCostHistoryView-BVlq4BNG.js} +4 -4
  53. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-BT2v1gZv.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CULJEeCU.js} +4 -4
  54. package/dist/{UnitView-p-V_TMMo.js → UnitView-AuIJokVF.js} +84 -84
  55. package/dist/{WarehouseView-BOGYcUHH.js → WarehouseView-Cjv8S1ov.js} +194 -189
  56. package/dist/{WastageTemplateView-CiifZMq6.js → WastageTemplateView-mxSTzVSZ.js} +19 -18
  57. package/dist/api/bill.d.ts +144 -88
  58. package/dist/api/feature-flags.d.ts +12 -0
  59. package/dist/api/food-market-hub.d.ts +2 -2
  60. package/dist/api/integration-sync-log.d.ts +0 -13
  61. package/dist/api/inventory.d.ts +9 -9
  62. package/dist/api/license.d.ts +8 -0
  63. package/dist/{app-CGcDbrt8.js → app-OztWApio.js} +27841 -28064
  64. package/dist/app.d.ts +36 -150
  65. package/dist/app.js +1 -1
  66. package/dist/{closing-template-B4lQetjU.js → closing-template-DIxXDgZQ.js} +1 -1
  67. package/dist/components/ChangeLocationComponent.vue.d.ts +21 -14
  68. package/dist/components/DeprecateSoonWarningDialog.vue.d.ts +22 -0
  69. package/dist/components/FeatureCapabilityBadge.vue.d.ts +29 -0
  70. package/dist/components/FeatureCapabilityGate.vue.d.ts +29 -0
  71. package/dist/components/FmUnitInputRules.d.ts +1 -1
  72. package/dist/components/MultiLocationSelector.vue.d.ts +6 -6
  73. package/dist/components/{PreviewBadge.vue.d.ts → PlanTierBadge.vue.d.ts} +5 -13
  74. package/dist/components/PlanUpgradeDialog.vue.d.ts +30 -0
  75. package/dist/composable/useNavigationMenu.d.ts +2 -1
  76. package/dist/{date2-CHOcS7LX.js → date2-BTzYzk-x.js} +1 -1
  77. package/dist/{dayjs.min-DrqpmBJQ.js → dayjs.min-BIg6CfC4.js} +1 -1
  78. package/dist/{decimal-BJ-B2ZXz.js → decimal-B34w3X7O.js} +2 -2
  79. package/dist/{defineDeepModel-DLlTW3xL.js → defineDeepModel-CrZAv12u.js} +1 -1
  80. package/dist/{duplicate-template-Dyz7iXqd.js → duplicate-template-BKVPhi40.js} +1 -1
  81. package/dist/{inventory-core-dart.default-DGI40oFz.js → feature-BUVZ_ab3.js} +766 -398
  82. package/dist/feature-flags/core.d.ts +28 -0
  83. package/dist/feature-flags/navigation-capabilities.d.ts +23 -0
  84. package/dist/feature-flags/navigation-capabilities.spec.d.ts +1 -0
  85. package/dist/feature-flags/plan-tier.d.ts +6 -0
  86. package/dist/feature-flags/plan-tier.spec.d.ts +1 -0
  87. package/dist/feature-flags/portal-feature-catalog.d.ts +19 -0
  88. package/dist/feature-flags/portal-feature-catalog.spec.d.ts +1 -0
  89. package/dist/feature-flags/vue.d.ts +16 -0
  90. package/dist/feature-flags/vue.spec.d.ts +1 -0
  91. package/dist/{format-time-from-id-DBFdt14U.js → format-time-from-id-DGLxhRFH.js} +1 -1
  92. package/dist/{format-unit-display-BXCWhtXb.js → format-unit-display-BhudItCc.js} +118 -119
  93. package/dist/helper/menu-usage-module.d.ts +1 -1
  94. package/dist/helper/number.d.ts +5 -1
  95. package/dist/helper/rules.d.ts +1 -1
  96. package/dist/id-to-date-BfwadWDS.js +67 -0
  97. package/dist/{import-export.helper-BgaADwYQ.js → import-export.helper-BdQ_d-fT.js} +16 -17
  98. package/dist/{index-BT-a2SOP.js → index-BTNI4XZ2.js} +1 -1
  99. package/dist/{index-BS5wlvV_.js → index-B_hoeQNL.js} +3 -3
  100. package/dist/{JsonViewer.vue_vue_type_script_setup_true_lang-ig2zSXAB.js → index-C25C1Dg7.js} +1074 -1066
  101. package/dist/{index-CqgYx0tx.js → index-CCvxPS3E.js} +1 -1
  102. package/dist/index-eGvSlWMU.js +1892 -0
  103. package/dist/{lz-string-CRDgHWib.js → lz-string-CVEGZpSC.js} +1 -1
  104. package/dist/{netsuite-CaILEA4R.js → netsuite-DEhdSyBn.js} +9 -3
  105. package/dist/{predefined-templates-CTLn4dgR.js → predefined-templates-BTdQl7jj.js} +1 -1
  106. package/dist/{purchase-order-template-CE4_gQyK.js → purchase-order-template-DfMmpsrJ.js} +1 -1
  107. package/dist/{recalculationUtils-DoBJhZjA.js → recalculationUtils-Ds9Jcg0l.js} +1 -1
  108. package/dist/router/name.d.ts +2 -3
  109. package/dist/{row-action.enum-ncgDYAjP.js → row-action.enum-B2Y5YFbc.js} +2 -2
  110. package/dist/rules-D01xYhgI.js +238 -0
  111. package/dist/{stock-WxsPiRKa.js → stock-D3kBNq3e.js} +1 -1
  112. package/dist/stock-DyTC4Teu.js +74 -0
  113. package/dist/stores/feature.d.ts +20 -2
  114. package/dist/stores/integration/codemax.d.ts +2 -2
  115. package/dist/stores/integration/foodmarkethub.d.ts +2 -2
  116. package/dist/stores/integration/netsuite.d.ts +2 -2
  117. package/dist/stores/inventory.d.ts +0 -47
  118. package/dist/stores/inventory.no-location.spec.d.ts +1 -0
  119. package/dist/stores/location.d.ts +42 -42
  120. package/dist/stores/supplier.d.ts +49 -49
  121. package/dist/stores/warehouse.d.ts +3 -2
  122. package/dist/style.css +1 -1
  123. package/dist/{supplier-DbdPWPj7.js → supplier-DaidezrO.js} +2 -2
  124. package/dist/{surcharge-BsvY29nN.js → surcharge-C-PFvvlU.js} +1 -1
  125. package/dist/tsconfig.app.tsbuildinfo +1 -1
  126. package/dist/{uom-rules-dxyRNetA.js → uom-rules-Un5bhcrm.js} +1 -1
  127. package/dist/{use-ingredient-select-dialog-eYM-6q4s.js → use-ingredient-select-dialog-DV_hkAt9.js} +2 -2
  128. package/dist/use-inventory-binding-dialog-CTceyFrg.js +113 -0
  129. package/dist/{use-template-enabled-locations-C0o5r4_0.js → use-template-enabled-locations-DGqw8tvz.js} +2 -2
  130. package/dist/{use-transfer-locations-CC35SlyA.js → use-transfer-locations-DgtKajec.js} +2 -2
  131. package/dist/{useHrmPermission-DxzYJX4n.js → useHrmPermission-BMpZlah6.js} +1 -1
  132. package/dist/useNavigationMenu-D0NtXAnB.js +346 -0
  133. package/dist/{useSseClient-ml-_A-4u.js → useSseClient-CHZZxy7Z.js} +1 -1
  134. package/dist/views/adjustment-template/wastage-template/actions.d.ts +36 -36
  135. package/dist/views/adjustment-template/wastage-template/table.d.ts +36 -36
  136. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +6 -6
  137. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +12 -12
  138. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +6 -6
  139. package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +3 -3
  140. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +18 -18
  141. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +45 -45
  142. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +36 -36
  143. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +0 -1
  144. package/dist/views/ingredients/components/inventory-binding/composables/use-inventory-binding-dialog.d.ts +0 -1
  145. package/dist/views/ingredients/components/inventory-binding/recipe-amount-validation.spec.d.ts +1 -0
  146. package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +0 -1
  147. package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +0 -1
  148. package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +1 -1
  149. package/dist/{components/PremiumBadge.vue.d.ts → views/integration/IntegrationPlatformView.vue.d.ts} +11 -13
  150. package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +4 -4
  151. package/dist/views/integration/components/ApplyProductDialogCodemax.vue.d.ts +4 -4
  152. package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +4 -4
  153. package/dist/views/integration/components/CodemaxDialog.vue.d.ts +4 -4
  154. package/dist/views/integration/components/IntegrationCard.vue.d.ts +38 -0
  155. package/dist/views/integration/components/Synergy/importFn.spec.d.ts +1 -0
  156. package/dist/views/integration/components/Xilnex/importFn.spec.d.ts +1 -0
  157. package/dist/views/integration/components/netsuite/business/AddLocationDialog.vue.d.ts +36 -36
  158. package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +24 -24
  159. package/dist/views/integration/helper/opening-balance.d.ts +22 -0
  160. package/dist/views/integration/helper/opening-balance.spec.d.ts +1 -0
  161. package/dist/views/production-run/features/detail/ProductionRunDetailTabs.spec.d.ts +1 -0
  162. package/dist/views/production-run/features/detail/{ProductionRunTabs.vue.d.ts → ProductionRunDetailTabs.vue.d.ts} +4 -8
  163. package/dist/views/production-run/features/detail/ProductionRunOverviewTab.vue.d.ts +2 -2
  164. package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +4 -4
  165. package/dist/views/production-run/features/lifecycle/CancelRunDialog.vue.d.ts +2 -2
  166. package/dist/views/production-run/features/lifecycle/CloseRunDialog.vue.d.ts +2 -2
  167. package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.vue.d.ts +11 -11
  168. package/dist/views/production-run/features/lifecycle/TargetReachedDialog.vue.d.ts +2 -2
  169. package/dist/views/production-run/features/planning/ProductionRunFormDialog.vue.d.ts +2 -2
  170. package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.d.ts +3 -3
  171. package/dist/views/production-run/features/prepare/production-run-prepare-sheet.d.ts +0 -9
  172. package/dist/views/production-run/shared/helpers/production-run-navigation.d.ts +0 -2
  173. package/dist/views/production-run/shared/model/production-run-list.d.ts +0 -1
  174. package/dist/views/production-run/shared/ui/ProductionRunScrollHint.vue.d.ts +10 -0
  175. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +5 -5
  176. package/dist/views/receive-request/composables/netsuite-order-label.d.ts +11 -0
  177. package/dist/views/receive-request/composables/netsuite-order-label.spec.d.ts +1 -0
  178. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +6 -6
  179. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +48 -48
  180. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +42 -42
  181. package/dist/views/receive-request/import/export.spec.d.ts +1 -0
  182. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +42 -42
  183. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +8 -8
  184. package/dist/views/recipe/components/recipe-bulk-editor/components/ModificationCard.spec.d.ts +1 -0
  185. package/dist/views/recipe/helper/bulk-edit-simulation.helper.d.ts +0 -1
  186. package/dist/views/recipe/helper/import-recipe.d.ts +2 -2
  187. package/dist/views/recipe/helper/import-recipe.spec.d.ts +1 -0
  188. package/dist/views/settings/PlanLicenseDisplay.spec.d.ts +1 -0
  189. package/dist/views/{integration/components/IntegrationSyncLogTab.vue.d.ts → settings/PlanLicenseDisplay.vue.d.ts} +2 -2
  190. package/dist/views/stock/components/StockRecordCard.vue.d.ts +72 -44
  191. package/dist/views/stock/components/dialog/AmendAdjustmentForm.spec.d.ts +1 -0
  192. package/dist/views/stock/components/dialog/ConvertSkuDialog.spec.d.ts +1 -0
  193. package/dist/views/supplier/components/SupplierForm.vue.d.ts +4 -4
  194. package/dist/views/supplier/composables/use-supplier-table.d.ts +2 -2
  195. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +8 -8
  196. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +4 -4
  197. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.spec.d.ts +1 -0
  198. package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +24 -24
  199. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -48
  200. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -48
  201. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +6 -4
  202. package/dist/{vue-i18n-DYapak10.js → vue-i18n-mXrQUZTi.js} +235 -235
  203. package/dist/{xlsx.util-DrElrKDx.js → xlsx.util-CKx0NYTq.js} +2 -2
  204. package/package.json +72 -67
  205. package/dist/App-CBS1Tqpl.js +0 -1476
  206. package/dist/ClosingHistoryView-3z17ZJzK.js +0 -761
  207. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CB50Gqot.js +0 -243
  208. package/dist/FmMultiselectDialog-7xh6h5AX.js +0 -77
  209. package/dist/ImportView-C3Fc0e_X.js +0 -1302
  210. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-6naVJEke.js +0 -51
  211. package/dist/IngredientGroupView-DA1buE1C.js +0 -985
  212. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-tEKGPtHZ.js +0 -563
  213. package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cbg0j7Jz.js +0 -72
  214. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-Btrg9HNc.js +0 -93
  215. package/dist/PreviewBadge.vue_vue_type_script_setup_true_lang-DX2MJqL4.js +0 -29
  216. package/dist/ProductionRunDetailView-DYeSPsIY.js +0 -2284
  217. package/dist/ProductionRunPreparePrintView-DJOejqOC.js +0 -34
  218. package/dist/ProductionRunTabs.vue_vue_type_script_setup_true_lang-JKMI-vVw.js +0 -7543
  219. package/dist/ProductionRunView-Cg3aYOg9.js +0 -911
  220. package/dist/RecipeView-DC0p9RKL.js +0 -3625
  221. package/dist/SettingsView-DaKfCVY5.js +0 -698
  222. package/dist/StockView-DdweBRFv.js +0 -2612
  223. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js +0 -84
  224. package/dist/TransferTemplateView-CSXcAB3-.js +0 -2327
  225. package/dist/feature-DtpSrELx.js +0 -1136
  226. package/dist/number-DE6ovaTs.js +0 -138
  227. package/dist/random-CSbEbElR.js +0 -10
  228. package/dist/rules-CkaU7yFU.js +0 -98
  229. package/dist/stock-B3Q9e174.js +0 -75
  230. package/dist/use-inventory-binding-dialog-CCV1iieA.js +0 -152
  231. package/dist/useNavigationMenu-IKam6CEf.js +0 -172
  232. package/dist/usePromise-CbVUCxhj.js +0 -29
  233. package/dist/views/ingredient-group/IngredientGroupView.vue.d.ts +0 -3
  234. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +0 -31
  235. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +0 -10
  236. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +0 -21
  237. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +0 -12
  238. package/dist/views/ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts +0 -37
  239. package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +0 -24
  240. package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +0 -31
  241. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +0 -77
  242. package/dist/views/integration/composables/use-integration-sync-log.d.ts +0 -45
  243. /package/dist/components/{FmFeatureFlagDialog.vue.d.ts → DeprecateSoonPill.vue.d.ts} +0 -0
  244. /package/dist/{views/production-run/ProductionRunPreparePrintView.spec.d.ts → components/FeatureCapabilityGate.spec.d.ts} +0 -0
  245. /package/dist/{views/production-run/features/detail/ProductionRunTabs.spec.d.ts → components/NumberPrecisionInput.spec.d.ts} +0 -0
  246. /package/dist/{views/production-run/features/prepare/production-run-prepare-sheet-cleanup.spec.d.ts → feature-flags/core.spec.d.ts} +0 -0
  247. /package/dist/views/{production-run/ProductionRunPreparePrintView.vue.d.ts → settings/FeatureFlagView.vue.d.ts} +0 -0
@@ -0,0 +1,274 @@
1
+ import { computed as n, unref as p, defineComponent as m, resolveComponent as d, createBlock as y, createCommentVNode as b, openBlock as f } from "vue";
2
+ import { u as i } from "./feature-BUVZ_ab3.js";
3
+ import { useCoreStore as _ } from "@feedmepos/mf-common";
4
+ import { u as v } from "./app-OztWApio.js";
5
+ function K(e) {
6
+ return e;
7
+ }
8
+ function k(e, a) {
9
+ var s;
10
+ const t = e.release ?? { stage: "ga" }, r = !((s = e.flagKeys) != null && s.length) || e.flagKeys.some(a.isFlagOn), o = t.stage === "ga" || t.stage === "beta", l = r && o, g = r ? t.stage === "off" ? "This feature is not currently available." : void 0 : `Requires the ${e.minimumTier} plan.`;
11
+ return {
12
+ enabled: l,
13
+ disabled: !l,
14
+ stage: t.stage,
15
+ eligible: o,
16
+ reason: g
17
+ };
18
+ }
19
+ function h({
20
+ key: e,
21
+ category: a,
22
+ flagKeys: t
23
+ }) {
24
+ return {
25
+ key: e,
26
+ minimumTier: a === "premium" ? "premium" : "standard",
27
+ release: { stage: a === "beta" ? "beta" : "ga" },
28
+ flagKeys: t
29
+ };
30
+ }
31
+ const P = [
32
+ {
33
+ key: "total-cost",
34
+ label: "Costing",
35
+ category: "premium",
36
+ flagKeys: ["inventory_pos_costing"],
37
+ controls: "Stock, ingredient, supplier, purchase-order, and template cost UI."
38
+ },
39
+ {
40
+ key: "unit-cost",
41
+ label: "Costing",
42
+ category: "premium",
43
+ flagKeys: ["inventory_pos_costing"],
44
+ controls: "Unit Cost History and recalculation dialog."
45
+ },
46
+ {
47
+ key: "wastage-template",
48
+ label: "Wastage Template",
49
+ category: "premium",
50
+ flagKeys: ["inventory_pos_adjust_v2_wastage"],
51
+ controls: "Wastage navigation, templates, and ingredient template links."
52
+ },
53
+ {
54
+ key: "purchase-order-template",
55
+ label: "Purchase-Order Template",
56
+ category: "premium",
57
+ flagKeys: ["inventory_portal_must_use_transfer_template"],
58
+ controls: "Template navigation, forms, and ingredient template links."
59
+ },
60
+ {
61
+ key: "closing-template",
62
+ label: "Closing Template",
63
+ category: "premium",
64
+ flagKeys: ["inventory_pos_closing_v2"],
65
+ controls: "Closing Template, Closing Draft, and ingredient template links."
66
+ },
67
+ {
68
+ key: "production-runs",
69
+ label: "Production Runs",
70
+ category: "beta",
71
+ controls: "Production navigation, routes, and detail view."
72
+ },
73
+ {
74
+ key: "bulk-receive-transfer",
75
+ label: "Bulk Receive / Transfer",
76
+ category: "beta",
77
+ controls: "Purchase / Transfer in (New) navigation and bulk receive page."
78
+ },
79
+ {
80
+ key: "surcharge",
81
+ label: "Surcharge",
82
+ category: "beta",
83
+ controls: "Surcharge navigation and management page."
84
+ },
85
+ {
86
+ key: "bulk-import",
87
+ label: "Bulk Import",
88
+ category: "beta",
89
+ controls: "Import navigation and import page."
90
+ },
91
+ {
92
+ key: "custom-po-cost",
93
+ label: "Custom PO Cost",
94
+ category: "premium",
95
+ flagKeys: ["inventory_purchase_order_custom_cost"],
96
+ controls: "Delivery-order create/edit cost override controls."
97
+ },
98
+ {
99
+ key: "po-cost-edit",
100
+ label: "PO Cost Edit",
101
+ category: "premium",
102
+ flagKeys: ["inventory_purchase_order_cost_edit"],
103
+ controls: "Purchase/transfer item cost editing."
104
+ },
105
+ {
106
+ key: "po-price-adjustment",
107
+ label: "PO Price Adjustment",
108
+ category: "premium",
109
+ flagKeys: ["inventory_purchase_order_price_adjustment"],
110
+ controls: "Purchase-order price-adjustment editor and list."
111
+ },
112
+ {
113
+ key: "backdated-po",
114
+ label: "Backdated PO",
115
+ category: "premium",
116
+ flagKeys: ["inventory_purchase_order_backdate", "inventory_backdate_receive"],
117
+ controls: "Purchase/transfer date controls and list columns."
118
+ },
119
+ {
120
+ key: "po-email",
121
+ label: "PO Email",
122
+ category: "beta",
123
+ controls: "Purchase-order email actions."
124
+ },
125
+ {
126
+ key: "print-templates",
127
+ label: "Print Templates",
128
+ category: "beta",
129
+ controls: "Custom purchase-order print actions."
130
+ },
131
+ {
132
+ key: "recipe-v2",
133
+ label: "Recipe V2",
134
+ category: "beta",
135
+ controls: "Recipe V2 fields and alternatives controls."
136
+ },
137
+ {
138
+ key: "recipe-bulk-edit",
139
+ label: "Recipe Bulk Edit",
140
+ category: "beta",
141
+ controls: "Recipe bulk-editor action and dialog."
142
+ },
143
+ {
144
+ key: "supplier-preparation-time",
145
+ label: "Supplier Preparation Time",
146
+ category: "beta",
147
+ controls: "Supplier and warehouse preparation-time fields."
148
+ },
149
+ {
150
+ key: "xilnex-transfer-note",
151
+ label: "Xilnex Transfer Note",
152
+ category: "beta",
153
+ controls: "Purchase/transfer columns and Xilnex upload actions."
154
+ },
155
+ {
156
+ key: "purchase-order-v2",
157
+ label: "Purchase-Order V2 / Operate V2",
158
+ category: "premium",
159
+ flagKeys: ["inventory_portal_purchase_order_v2"],
160
+ controls: "All Premium plans use the new purchase-order workflow."
161
+ },
162
+ {
163
+ key: "transfer-fulfillment",
164
+ label: "Transfer Fulfillment",
165
+ category: "beta",
166
+ controls: "Transfer form fulfillment behavior."
167
+ },
168
+ {
169
+ key: "po-workflow-completion",
170
+ label: "PO Workflow Completion",
171
+ category: "beta",
172
+ controls: "Mark-as-completed purchase-order action."
173
+ },
174
+ {
175
+ key: "opening-migration",
176
+ label: "Xilnex / Synergy Opening Migration",
177
+ category: "beta",
178
+ controls: "Xilnex and Synergy migration views."
179
+ },
180
+ {
181
+ key: "netsuite-transfer-out",
182
+ label: "NetSuite Transfer Out",
183
+ category: "beta",
184
+ controls: "NetSuite integration transfer-out functionality."
185
+ },
186
+ {
187
+ key: "delivery-order-write",
188
+ label: "Delivery-Order Write",
189
+ category: "beta",
190
+ controls: "Delivery-order create/write UI."
191
+ },
192
+ {
193
+ key: "custom-attributes",
194
+ label: "Custom Attributes",
195
+ category: "standard",
196
+ controls: "Inventory custom-attribute controls."
197
+ },
198
+ {
199
+ key: "legacy-receiving",
200
+ label: "Legacy Warehouse / Manual Receiving",
201
+ category: "standard",
202
+ deprecateSoon: !0,
203
+ controls: "Legacy receive-flow behavior."
204
+ }
205
+ ], c = P.map(
206
+ (e) => ({ ...e, definition: h(e) })
207
+ );
208
+ function F(e) {
209
+ return c.find((a) => a.key === e);
210
+ }
211
+ function x(e) {
212
+ return c.filter((a) => {
213
+ var t;
214
+ return (t = a.flagKeys) == null ? void 0 : t.includes(e);
215
+ });
216
+ }
217
+ function u(e, a) {
218
+ return a === "inventory_portal_must_use_transfer_template" ? e.enablePoTemplate : e.isFlagOn(a);
219
+ }
220
+ function B(e) {
221
+ const a = C(), t = n(() => {
222
+ const r = p(e);
223
+ return r ? k(r, a.value) : { enabled: !0, disabled: !1, stage: "ga", eligible: !0 };
224
+ });
225
+ return {
226
+ result: t,
227
+ enabled: n(() => t.value.enabled),
228
+ disabled: n(() => t.value.disabled),
229
+ stage: n(() => t.value.stage),
230
+ eligible: n(() => t.value.eligible),
231
+ reason: n(() => t.value.reason)
232
+ };
233
+ }
234
+ function C() {
235
+ const e = i(), a = _(), t = v();
236
+ return n(() => {
237
+ var r, o;
238
+ return {
239
+ isFlagOn: (l) => u(e, l),
240
+ businessId: (r = a.currentBusiness.value) == null ? void 0 : r._id,
241
+ locationId: (o = t._currentLocation) == null ? void 0 : o.doc._id
242
+ };
243
+ });
244
+ }
245
+ function R(e) {
246
+ var r;
247
+ const a = i();
248
+ return (((r = F(e ?? "")) == null ? void 0 : r.flagKeys) ?? []).some((o) => u(a, o));
249
+ }
250
+ const I = /* @__PURE__ */ m({
251
+ __name: "PlanTierBadge",
252
+ props: {
253
+ tier: {}
254
+ },
255
+ setup(e) {
256
+ return (a, t) => {
257
+ const r = d("FmPill");
258
+ return a.tier === "premium" ? (f(), y(r, {
259
+ key: 0,
260
+ variant: "premium"
261
+ })) : b("", !0);
262
+ };
263
+ }
264
+ });
265
+ export {
266
+ I as _,
267
+ x as a,
268
+ B as b,
269
+ K as d,
270
+ k as e,
271
+ F as g,
272
+ R as i,
273
+ C as u
274
+ };
@@ -0,0 +1,79 @@
1
+ import { defineComponent as B, mergeModels as C, useModel as N, computed as u, resolveComponent as d, createBlock as U, openBlock as o, withCtx as c, createElementVNode as a, createElementBlock as r, createCommentVNode as g, Fragment as h, createTextVNode as k, toDisplayString as l, createVNode as i } from "vue";
2
+ import { _ as w } from "./PlanTierBadge.vue_vue_type_script_setup_true_lang-DJvfMOND.js";
3
+ const D = { class: "flex items-center gap-8" }, M = { class: "flex flex-col gap-12 text-fm-color-typo-secondary" }, S = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary" }, $ = { class: "fm-typo-en-body-sm-400" }, E = {
4
+ key: 0,
5
+ class: "fm-typo-en-body-sm-400"
6
+ }, q = {
7
+ key: 0,
8
+ href: "https://feedme.ai/product/inventory/features?tab=plans_%26_prices",
9
+ target: "_blank",
10
+ rel: "noopener"
11
+ }, P = /* @__PURE__ */ B({
12
+ __name: "PlanUpgradeDialog",
13
+ props: /* @__PURE__ */ C({
14
+ capability: {},
15
+ result: {}
16
+ }, {
17
+ modelValue: { type: Boolean, required: !0 },
18
+ modelModifiers: {}
19
+ }),
20
+ emits: ["update:modelValue"],
21
+ setup(y) {
22
+ const f = y, m = N(y, "modelValue"), p = u(() => {
23
+ var e;
24
+ return ((e = f.capability) == null ? void 0 : e.tier) ?? "premium";
25
+ }), n = u(() => {
26
+ var e;
27
+ return ((e = f.result) == null ? void 0 : e.stage) === "off";
28
+ }), V = u(() => n.value ? "Feature unavailable" : `Upgrade to ${p.value} plan`);
29
+ return (e, s) => {
30
+ const x = d("FmSpacer"), _ = d("FmButton"), F = d("FmDialog");
31
+ return o(), U(F, {
32
+ modelValue: m.value,
33
+ "onUpdate:modelValue": s[1] || (s[1] = (t) => m.value = t),
34
+ overlay: !0,
35
+ "close-button": "",
36
+ dismissAway: "",
37
+ "max-width": "520px"
38
+ }, {
39
+ "dialog-header": c(() => [
40
+ a("div", D, [
41
+ a("span", null, l(V.value), 1),
42
+ i(w, { tier: p.value }, null, 8, ["tier"])
43
+ ])
44
+ ]),
45
+ "dialog-footer": c(() => [
46
+ i(x, { class: "sm:hidden xs:hidden" }),
47
+ i(_, {
48
+ variant: "tertiary",
49
+ label: "Not now",
50
+ onClick: s[0] || (s[0] = (t) => m.value = !1)
51
+ }),
52
+ n.value ? g("", !0) : (o(), r("a", q, [
53
+ i(_, { label: "Compare plans" })
54
+ ]))
55
+ ]),
56
+ default: c(() => {
57
+ var t, v, b;
58
+ return [
59
+ a("div", M, [
60
+ a("p", S, [
61
+ n.value ? (o(), r(h, { key: 0 }, [
62
+ k(l((t = e.result) == null ? void 0 : t.reason), 1)
63
+ ], 64)) : (o(), r(h, { key: 1 }, [
64
+ k(l((v = e.capability) == null ? void 0 : v.module) + " is available on the " + l(p.value) + " plan. ", 1)
65
+ ], 64))
66
+ ]),
67
+ a("p", $, l((b = e.capability) == null ? void 0 : b.description), 1),
68
+ n.value ? g("", !0) : (o(), r("p", E, " Upgrade your plan to unlock this functionality for your business. "))
69
+ ])
70
+ ];
71
+ }),
72
+ _: 1
73
+ }, 8, ["modelValue"]);
74
+ };
75
+ }
76
+ });
77
+ export {
78
+ P as _
79
+ };