@feedmepos/mf-inventory-portal 1.8.0-dev.4 → 1.8.0-dev.5

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 (129) hide show
  1. package/dist/{App-FeJnwZme.js → App-DEbWEOwe.js} +609 -558
  2. package/dist/{ApprovalView-Eo-cGWyA.js → ApprovalView-BEnYHIlU.js} +9 -9
  3. package/dist/{BindingsDialog-DkjuXydb.js → BindingsDialog-CJVkMoBS.js} +2 -2
  4. package/dist/{BindingsPicker-DUOQcOlj.js → BindingsPicker-CX9o-xdQ.js} +2 -2
  5. package/dist/{BindingsTable-CoDdU5xh.js → BindingsTable-Cil4LJ7l.js} +4 -4
  6. package/dist/{BulkReceiveRequestView-BGh8fbEX.js → BulkReceiveRequestView-DYEc2jPw.js} +19 -19
  7. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CStISRqy.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DoAv2mHA.js} +1 -1
  8. package/dist/{ClosingDraftView-Cwnhrv5P.js → ClosingDraftView-Bz94Iejf.js} +20 -20
  9. package/dist/{ClosingHistoryView-oHf77Lal.js → ClosingHistoryView-B479Y-mH.js} +5 -5
  10. package/dist/{ClosingTemplateView-1P8J1vAn.js → ClosingTemplateView-F_nx43n6.js} +18 -18
  11. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-BuEPaqQK.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DddYGHxQ.js} +1 -1
  12. package/dist/{DefaultView-3Z8aVFSU.js → DefaultView-CkZOl0ov.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-uT_e3Suw.js → DeliveryOrderPrintPreview-BJEpwAX6.js} +2 -2
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-BCgnXxEi.js → EmailDialog.vue_vue_type_script_setup_true_lang-BW988AoC.js} +23 -23
  15. package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-Izn-hTjK.js +297 -0
  16. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BlKpGdCx.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CoUWxHlj.js} +1 -1
  17. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DKkxn1J-.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Ci81xTbl.js} +2 -2
  18. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-dOXDST-E.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CnaHTAUZ.js} +2 -2
  19. package/dist/{FmMultiselectDialog-DRxZAkcu.js → FmMultiselectDialog-BE8BlO6_.js} +2 -2
  20. package/dist/FmMultiselectDialog-COKgBmPZ.js +123 -0
  21. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DRSzQqVJ.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BQHd3NjM.js} +6 -6
  22. package/dist/ImportView-Crb_yrNb.js +1291 -0
  23. package/dist/{IngredientsView-N9U7tdI_.js → IngredientsView-lDypeR4c.js} +34 -35
  24. package/dist/{IntegrationExplorerView-CjmeGQ14.js → IntegrationExplorerView-DgOFGj7H.js} +4 -4
  25. package/dist/{IntegrationView-DAdpmuxx.js → IntegrationView-0sbjINo5.js} +973 -974
  26. package/dist/{InventoryBindingForm-CAj3MurI.js → InventoryBindingForm-BhyrjIXJ.js} +1 -1
  27. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-KCz_BQ6T.js +472 -0
  28. package/dist/{InventoryBindingSummary-B-1OBUdw.js → InventoryBindingSummary-CsfNKd1r.js} +1 -1
  29. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CUYYEuW3.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C32OoIBz.js} +1 -1
  30. package/dist/{ProductionRunDetailView-eFvl8-By.js → ProductionRunDetailView-BxbDtGMo.js} +4 -4
  31. package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-DaC7e4qS.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-BdJVvwSP.js} +9 -9
  32. package/dist/{ProductionRunView-C_NJJKLr.js → ProductionRunView-CJhNEIzT.js} +3 -3
  33. package/dist/{PublishView-BglAEkzU.js → PublishView-vkt6-D6P.js} +3 -3
  34. package/dist/{PurchaseOrderPrintPreview-BTF9ikpQ.js → PurchaseOrderPrintPreview-25dHfVKp.js} +2 -2
  35. package/dist/{ReceiveRequestView-BUvehG10.js → ReceiveRequestView-BO4Z2dZu.js} +13 -13
  36. package/dist/RecipeView-B_AE7QQv.js +3428 -0
  37. package/dist/{SettingsView-DRR86cHo.js → SettingsView-qTUvQCuu.js} +164 -168
  38. package/dist/{StockView-D1oEnbZp.js → StockView-yh6qkYUS.js} +267 -267
  39. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CxU92-io.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Cn_fx9qG.js} +1 -1
  40. package/dist/{SupplierView-D68wz0-g.js → SupplierView-Dqzu1Bvh.js} +14 -14
  41. package/dist/{SurchargeView-Cw9rTw2h.js → SurchargeView-CDosn36c.js} +7 -7
  42. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-Az-a1Dsp.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DZ3Gdlp9.js} +2 -2
  43. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-C-sxbacO.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CWoh2FqQ.js} +1 -1
  44. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CsHfLaCv.js → TransferDetails.vue_vue_type_script_setup_true_lang-BtjKnIwf.js} +690 -666
  45. package/dist/{TransferTemplateView-CHPJMjYC.js → TransferTemplateView-fDZcC9i4.js} +20 -20
  46. package/dist/{UnitCostHistoryView-DM8OzWhe.js → UnitCostHistoryView-CmTTIXAp.js} +4 -4
  47. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DpwK5mFH.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-DZihCM0T.js} +4 -4
  48. package/dist/{UnitView-90uR-ZzQ.js → UnitView-BTx59sFK.js} +8 -8
  49. package/dist/{WarehouseView-Bulg6Vac.js → WarehouseView-BIFe08FJ.js} +8 -8
  50. package/dist/{WastageTemplateView-BmAHnnwm.js → WastageTemplateView-B_oJqm0_.js} +15 -15
  51. package/dist/api/feature-flags.d.ts +2 -0
  52. package/dist/api/license.d.ts +0 -2
  53. package/dist/{app-Ccdgbe4f.js → app-DyEvx3Em.js} +1628 -1817
  54. package/dist/app.d.ts +0 -150
  55. package/dist/app.js +1 -1
  56. package/dist/{closing-template-DuBZxoXx.js → closing-template-FgcLy4RT.js} +1 -1
  57. package/dist/{date2-IBrLdtni.js → date2-Rv4IwT9a.js} +1 -1
  58. package/dist/{dayjs.min-DEkq-Hpp.js → dayjs.min-DOq1QM_M.js} +1 -1
  59. package/dist/{decimal-g6jRdlSk.js → decimal-7vA05AaD.js} +2 -2
  60. package/dist/{defineDeepModel-P5a5Ffpn.js → defineDeepModel-22Md2SKY.js} +1 -1
  61. package/dist/{duplicate-template-Do8s80ei.js → duplicate-template-D2tjCY7C.js} +1 -1
  62. package/dist/{feature-ChVm5JED.js → feature-BMTKl6PK.js} +1999 -3092
  63. package/dist/feature-flags/portal-feature-catalog.d.ts +0 -2
  64. package/dist/{format-time-from-id-BgbBOII7.js → format-time-from-id-DXhm_Ji1.js} +1 -1
  65. package/dist/{format-unit-display-hSXy2iu6.js → format-unit-display-DxWLjFPz.js} +13 -13
  66. package/dist/helper/menu-usage-module.d.ts +1 -1
  67. package/dist/{id-to-date-DlGYysU8.js → id-to-date-VKlOL3mN.js} +1 -1
  68. package/dist/{import-export.helper-LrZhiz2W.js → import-export.helper-BiF5aKUp.js} +6 -6
  69. package/dist/{index-BTNJ1fk2.js → index-DEl_gZn0.js} +3 -3
  70. package/dist/{index-DsOmtywr.js → index-DdtsVAcv.js} +1 -1
  71. package/dist/{index-DCiNwlw2.js → index-DoBWE4Ci.js} +1 -1
  72. package/dist/{lz-string-DRuyjE9G.js → lz-string-BwQj8QRN.js} +1 -1
  73. package/dist/{netsuite-B6y8GZCP.js → netsuite-s1S33-lP.js} +2 -2
  74. package/dist/{number-Besn-1-5.js → number-BmKjsNrc.js} +3 -3
  75. package/dist/{predefined-templates-D92mN_2S.js → predefined-templates-BZ2KqNix.js} +1 -1
  76. package/dist/{purchase-order-template-hvq2pfWx.js → purchase-order-template-CINU4my1.js} +1 -1
  77. package/dist/{recalculationUtils-BlZR5O2G.js → recalculationUtils-R5tFu_ts.js} +1 -1
  78. package/dist/router/name.d.ts +0 -1
  79. package/dist/{row-action.enum-R2bi3eAv.js → row-action.enum-ePO-Py0V.js} +1 -1
  80. package/dist/{rules-DzwoRKUS.js → rules-BZrZVzw7.js} +2 -2
  81. package/dist/{stock-Cq37EARQ.js → stock-C2HOKq0k.js} +8 -8
  82. package/dist/{stock-oJqnUrtt.js → stock-Ce1UvAZ3.js} +1 -1
  83. package/dist/stores/feature.d.ts +9 -9
  84. package/dist/stores/inventory.d.ts +0 -47
  85. package/dist/stores/supplier.d.ts +1 -1
  86. package/dist/style.css +1 -1
  87. package/dist/{supplier-DtdwvcPr.js → supplier-DgT66emI.js} +2 -2
  88. package/dist/{surcharge-CjdJGIsM.js → surcharge-CsVMuzPM.js} +1 -1
  89. package/dist/tsconfig.app.tsbuildinfo +1 -1
  90. package/dist/{uom-rules-BqPn_GoZ.js → uom-rules-CR1XukyM.js} +1 -1
  91. package/dist/{use-ingredient-select-dialog-0hRCj6Fu.js → use-ingredient-select-dialog-CJkG4hEX.js} +2 -2
  92. package/dist/use-inventory-binding-dialog-B36kPj4V.js +113 -0
  93. package/dist/{use-template-enabled-locations-8ZfTj4YB.js → use-template-enabled-locations-Boa9QLPV.js} +2 -2
  94. package/dist/{use-transfer-locations-BGS1EBEt.js → use-transfer-locations-BxOygSUg.js} +2 -2
  95. package/dist/{useHrmPermission-BcQ2KPD-.js → useHrmPermission-DLHAqbLV.js} +1 -1
  96. package/dist/{useNavigationMenu-DImtns81.js → useNavigationMenu-D6abZMGz.js} +65 -74
  97. package/dist/{useSseClient-DPSFFVci.js → useSseClient-C7pff-EW.js} +1 -1
  98. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +0 -1
  99. package/dist/views/ingredients/components/inventory-binding/composables/use-inventory-binding-dialog.d.ts +0 -1
  100. package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +0 -1
  101. package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +0 -1
  102. package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +1 -1
  103. package/dist/views/integration/components/IntegrationCard.vue.d.ts +3 -3
  104. package/dist/views/recipe/helper/bulk-edit-simulation.helper.d.ts +0 -1
  105. package/dist/views/recipe/helper/import-recipe.d.ts +2 -2
  106. package/dist/{vue-i18n-DTyGIjTI.js → vue-i18n-CpOOFhVU.js} +219 -219
  107. package/dist/{xlsx.util-CK9Lnq3Q.js → xlsx.util-xwI5tVz6.js} +2 -2
  108. package/package.json +4 -4
  109. package/dist/DeprecateSoonWarningDialog.vue_vue_type_script_setup_true_lang-D_vmtZDZ.js +0 -58
  110. package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-D-RzUmqA.js +0 -81
  111. package/dist/FmMultiselectDialog-C8uYx8rr.js +0 -77
  112. package/dist/ImportView-Qigtf3ik.js +0 -1302
  113. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-B8PJeYrP.js +0 -51
  114. package/dist/IngredientGroupView-RNYZLkQu.js +0 -1000
  115. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-3pYuu62C.js +0 -563
  116. package/dist/RecipeView-DO5-jgwh.js +0 -3624
  117. package/dist/feature-flags/premium-flags.spec.d.ts +0 -1
  118. package/dist/random-CSbEbElR.js +0 -10
  119. package/dist/use-inventory-binding-dialog-BLRcIC1u.js +0 -152
  120. package/dist/usePromise-CbVUCxhj.js +0 -29
  121. package/dist/views/ingredient-group/IngredientGroupView.vue.d.ts +0 -3
  122. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +0 -31
  123. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +0 -10
  124. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +0 -21
  125. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +0 -12
  126. package/dist/views/ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts +0 -37
  127. package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +0 -24
  128. package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +0 -31
  129. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +0 -77
@@ -15,7 +15,5 @@ export interface PortalFeatureCatalogueEntry {
15
15
  definition?: FeatureDefinition;
16
16
  }
17
17
  export declare const portalFeatureCatalogue: readonly PortalFeatureCatalogueEntry[];
18
- /** Flags a Premium plan switches on, regardless of their rollout state. */
19
- export declare const PREMIUM_FLAG_KEYS: ReadonlySet<string>;
20
18
  export declare function getPortalFeature(key: string): PortalFeatureCatalogueEntry | undefined;
21
19
  export declare function getPortalFeatureForFlag(flagKey: string): PortalFeatureCatalogueEntry | undefined;
@@ -1,4 +1,4 @@
1
- import { h as n } from "./date2-IBrLdtni.js";
1
+ import { h as n } from "./date2-Rv4IwT9a.js";
2
2
  function d(r) {
3
3
  const t = a(r);
4
4
  return t === null ? "" : n(t);
@@ -1,24 +1,24 @@
1
1
  import { components as ce, useDialogChild as Pe, useSnackbar as de, useDialog as Me, FmButtonVariant as te } from "@feedmepos/ui-library";
2
2
  import { defineStore as pe } from "pinia";
3
3
  import { F as xe } from "./form-mode.enum-BKiNVH6A.js";
4
- import { u as fe } from "./purchase-order-template-hvq2pfWx.js";
4
+ import { u as fe } from "./purchase-order-template-CINU4my1.js";
5
5
  import { ref as I, h as oe, defineComponent as ye, resolveComponent as W, createElementBlock as F, openBlock as O, createElementVNode as N, createCommentVNode as J, normalizeClass as Z, createTextVNode as Be, toDisplayString as q, unref as B, createVNode as z, withCtx as me, Fragment as Y, renderList as ae, onMounted as Le, computed as H, watch as Qe, createSlots as Ue, createBlock as re } from "vue";
6
- import { a as X, c as ve, r as L, u as ie, m as qe, k as _e, s as Ve, R as we } from "./app-Ccdgbe4f.js";
6
+ import { a as X, c as ve, r as L, u as ie, m as qe, k as _e, s as Ve, R as we } from "./app-DyEvx3Em.js";
7
7
  import { useRouter as He } from "vue-router";
8
- import { a as ze } from "./FmMultiselectDialog-DRxZAkcu.js";
9
- import { D as ne, R as U } from "./row-action.enum-R2bi3eAv.js";
8
+ import { a as ze } from "./FmMultiselectDialog-BE8BlO6_.js";
9
+ import { D as ne, R as U } from "./row-action.enum-ePO-Py0V.js";
10
10
  import { c as je } from "./component-BmLAdDiY.js";
11
- import { f as Ye } from "./format-time-from-id-BgbBOII7.js";
11
+ import { f as Ye } from "./format-time-from-id-DXhm_Ji1.js";
12
12
  import { useI18n as he, useCoreStore as Ie } from "@feedmepos/mf-common";
13
- import { t as K, a as Ce, d as Oe, s as Ae, r as Ke } from "./xlsx.util-CK9Lnq3Q.js";
13
+ import { t as K, a as Ce, d as Oe, s as Ae, r as Ke } from "./xlsx.util-xwI5tVz6.js";
14
14
  import { F as Ge } from "./FmDroppableField-J0tG_U3w.js";
15
- import { a as G, c as We, t as se, g as ue } from "./number-Besn-1-5.js";
16
- import { f as Je } from "./date2-IBrLdtni.js";
17
- import { u as ge } from "./supplier-DtdwvcPr.js";
18
- import { a as Ze, B as Xe } from "./rules-DzwoRKUS.js";
19
- import { u as Te } from "./netsuite-B6y8GZCP.js";
20
- import { u as et } from "./duplicate-template-Do8s80ei.js";
21
- import { u as tt } from "./vue-i18n-DTyGIjTI.js";
15
+ import { a as G, c as We, t as se, g as ue } from "./number-BmKjsNrc.js";
16
+ import { f as Je } from "./date2-Rv4IwT9a.js";
17
+ import { u as ge } from "./supplier-DgT66emI.js";
18
+ import { a as Ze, B as Xe } from "./rules-BZrZVzw7.js";
19
+ import { u as Te } from "./netsuite-s1S33-lP.js";
20
+ import { u as et } from "./duplicate-template-D2tjCY7C.js";
21
+ import { u as tt } from "./vue-i18n-CpOOFhVU.js";
22
22
  function De(n) {
23
23
  const e = X(), o = n.sku, d = e.skuById[o._id];
24
24
  if (d.unit._id !== o.unit._id) return !0;
@@ -1,4 +1,4 @@
1
- export type ModuleKey = 'item' | 'variant' | 'group' | 'catalog' | 'menu' | 'sku' | 'recipe' | 'skuGroup';
1
+ export type ModuleKey = 'item' | 'variant' | 'group' | 'catalog' | 'menu' | 'sku' | 'recipe';
2
2
  export declare function moduleFromPath(path: string): ModuleKey;
3
3
  export type UsageChainSegment = {
4
4
  itemName: string;
@@ -1,4 +1,4 @@
1
- import { d as p, u as F } from "./app-Ccdgbe4f.js";
1
+ import { d as p, u as F } from "./app-DyEvx3Em.js";
2
2
  import { useCoreStore as y } from "@feedmepos/mf-common";
3
3
  import { ref as v } from "vue";
4
4
  const l = p((e, r) => {
@@ -1,10 +1,10 @@
1
- import { a as w, t as H, f as T } from "./number-Besn-1-5.js";
2
- import { u as P } from "./feature-ChVm5JED.js";
1
+ import { a as w, t as H, f as T } from "./number-BmKjsNrc.js";
2
+ import { u as P } from "./feature-BMTKl6PK.js";
3
3
  import { useCoreStore as y } from "@feedmepos/mf-common";
4
- import { a as g, g as k, m as j, e as S } from "./app-Ccdgbe4f.js";
5
- import { b as N, d as $, s as I } from "./xlsx.util-CK9Lnq3Q.js";
6
- import { f as _ } from "./date2-IBrLdtni.js";
7
- import { I as O } from "./rules-DzwoRKUS.js";
4
+ import { a as g, g as k, m as j, e as S } from "./app-DyEvx3Em.js";
5
+ import { b as N, d as $, s as I } from "./xlsx.util-xwI5tVz6.js";
6
+ import { f as _ } from "./date2-Rv4IwT9a.js";
7
+ import { I as O } from "./rules-BZrZVzw7.js";
8
8
  function U() {
9
9
  return {
10
10
  low: 6,
@@ -1,9 +1,9 @@
1
1
  import { ref as v, computed as f } from "vue";
2
- import { u as w } from "./netsuite-B6y8GZCP.js";
3
- import { A as L, a as p, u as y, d as k, G as h } from "./app-Ccdgbe4f.js";
2
+ import { u as w } from "./netsuite-s1S33-lP.js";
3
+ import { A as L, a as p, u as y, d as k, G as h } from "./app-DyEvx3Em.js";
4
4
  import { useSnackbar as B } from "@feedmepos/ui-library";
5
5
  import { useCoreStore as E } from "@feedmepos/mf-common";
6
- import { u as S } from "./feature-ChVm5JED.js";
6
+ import { u as S } from "./feature-BMTKl6PK.js";
7
7
  function C() {
8
8
  return {
9
9
  setting: {
@@ -1,4 +1,4 @@
1
- import { y as h } from "./app-Ccdgbe4f.js";
1
+ import { y as h } from "./app-DyEvx3Em.js";
2
2
  var a = { exports: {} };
3
3
  function x(r, s = 100, u = {}) {
4
4
  if (typeof r != "function")
@@ -1,4 +1,4 @@
1
- import { y as L, aw as V, ax as je, ay as X, ap as Bl, a1 as Ar, az as Te, aA as Yt, aB as Wt } from "./app-Ccdgbe4f.js";
1
+ import { y as L, aw as V, ax as je, ay as X, aq as Bl, a1 as Ar, az as Te, aA as Yt, aB as Wt } from "./app-DyEvx3Em.js";
2
2
  import { d as wl, _ as zl } from "./dinero-DMLEtkS9.js";
3
3
  function Ul(t, e) {
4
4
  for (var r = 0; r < e.length; r++) {
@@ -1,4 +1,4 @@
1
- import { y as O } from "./app-Ccdgbe4f.js";
1
+ import { y as O } from "./app-DyEvx3Em.js";
2
2
  var j = { exports: {} };
3
3
  (function(_) {
4
4
  var S = function() {
@@ -1,8 +1,8 @@
1
- import { y as s_, a1 as vi, D as i, ae as u_, af as o_, ag as a_, ah as c_, ai as Ti, aj as d_, C as at, ak as bi, a0 as Ys, al as ru, am as nc, an as Oe, ao as Le, N as De, w as oe, ap as Er, B as Bt, aq as Js, Z as Ye, e as zn, ar as ic, as as l_, at as f_, au as m_, a3 as su, a9 as p_, d as g_, j as h_, s as Wa, a as __, u as Ei } from "./app-Ccdgbe4f.js";
1
+ import { y as s_, a1 as vi, D as i, af as u_, ag as o_, ah as a_, ai as c_, aj as Ti, ak as d_, C as at, al as bi, a0 as Ys, am as ru, an as nc, ao as Oe, ap as Le, N as De, w as oe, aq as Er, B as Bt, ar as Js, Z as Ye, e as zn, as as ic, at as l_, au as f_, av as m_, a3 as su, a9 as p_, d as g_, j as h_, s as Wa, a as __, u as Ei } from "./app-DyEvx3Em.js";
2
2
  import { useCoreStore as Cn } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as I_ } from "@feedmepos/ui-library";
4
4
  import { defineComponent as y_, ref as Zs, computed as An, resolveComponent as Kn, createBlock as zs, openBlock as _t, withCtx as ut, createElementVNode as ge, createElementBlock as Qt, createVNode as At, createTextVNode as ot, toDisplayString as Ue, Fragment as vr, createCommentVNode as Dn, renderList as v_, unref as qa, h as E_ } from "vue";
5
- import { u as b_ } from "./feature-ChVm5JED.js";
5
+ import { u as b_ } from "./feature-BMTKl6PK.js";
6
6
  var br = { exports: {} };
7
7
  /**
8
8
  * @license
@@ -1,6 +1,6 @@
1
- import { w as o } from "./app-Ccdgbe4f.js";
2
- import { F as l } from "./decimal-g6jRdlSk.js";
3
- import "./dayjs.min-DEkq-Hpp.js";
1
+ import { w as o } from "./app-DyEvx3Em.js";
2
+ import { F as l } from "./decimal-7vA05AaD.js";
3
+ import "./dayjs.min-DOq1QM_M.js";
4
4
  function g(n, t) {
5
5
  return o.convertPrecision({
6
6
  value: n,
@@ -1,4 +1,4 @@
1
- import { d as qn, j as Wn, y as zn } from "./app-Ccdgbe4f.js";
1
+ import { d as qn, j as Wn, y as zn } from "./app-DyEvx3Em.js";
2
2
  import { defineStore as Vn } from "pinia";
3
3
  import { ref as mt, computed as Kn } from "vue";
4
4
  import { useCoreStore as Yn } from "@feedmepos/mf-common";
@@ -1,4 +1,4 @@
1
- import { d as s } from "./app-Ccdgbe4f.js";
1
+ import { d as s } from "./app-DyEvx3Em.js";
2
2
  import { useCoreStore as c } from "@feedmepos/mf-common";
3
3
  const u = s((n, a) => {
4
4
  function o() {
@@ -1,4 +1,4 @@
1
- import { B as p } from "./app-Ccdgbe4f.js";
1
+ import { B as p } from "./app-DyEvx3Em.js";
2
2
  function l(s) {
3
3
  return Math.floor(s.getTime() / 1e3) * 1e3;
4
4
  }
@@ -1,7 +1,6 @@
1
1
  export declare enum RouteName {
2
2
  LOADING = "DEFAULT",
3
3
  INGREDIENTS = "INGREDIENTS",
4
- INGREDIENT_GROUP = "INGREDIENT_GROUP",
5
4
  RECIPE = "RECIPE",
6
5
  UNIT = "UNIT",
7
6
  STOCK = "STOCK",
@@ -1,5 +1,5 @@
1
1
  import { h as r } from "vue";
2
- import { a as o } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-D-RzUmqA.js";
2
+ import { a as o } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-Izn-hTjK.js";
3
3
  var e = /* @__PURE__ */ ((t) => (t.Add = "Add", t.Create = "Create", t.Print = "Print", t.PrintCustom = "PrintCustom", t.PrintPdf = "PrintPdf", t.Export = "Export", t.Update = "Update", t.Details = "Details", t.Edit = "Edit", t.Delete = "Delete", t.Publish = "Publish", t.Duplicate = "Duplicate", t.Email = "Email", t))(e || {});
4
4
  const i = {
5
5
  Add: {
@@ -1,5 +1,5 @@
1
- import { c as f, a as u, g as d, b as m } from "./number-Besn-1-5.js";
2
- import { c as b, d as p } from "./date2-IBrLdtni.js";
1
+ import { c as f, a as u, g as d, b as m } from "./number-BmKjsNrc.js";
2
+ import { c as b, d as p } from "./date2-Rv4IwT9a.js";
3
3
  function M() {
4
4
  return function(e) {
5
5
  return !!e || "Required";
@@ -1,7 +1,7 @@
1
- import { u as i } from "./stock-oJqnUrtt.js";
2
- import { a as s, Y as p } from "./app-Ccdgbe4f.js";
3
- import { computed as k, ref as B } from "vue";
4
- import { c as d } from "./number-Besn-1-5.js";
1
+ import { u as i } from "./stock-Ce1UvAZ3.js";
2
+ import { a as s, Y as p } from "./app-DyEvx3Em.js";
3
+ import { computed as B, ref as d } from "vue";
4
+ import { c as k } from "./number-BmKjsNrc.js";
5
5
  function m() {
6
6
  return {
7
7
  stockBalance: {
@@ -11,13 +11,13 @@ function m() {
11
11
  productBalance: []
12
12
  };
13
13
  }
14
- const v = d(0), f = {
14
+ const v = k(0), f = {
15
15
  id: "",
16
16
  balance: v,
17
17
  closing: null,
18
18
  costs: null
19
- }, n = B(m()), w = () => {
20
- const r = s(), u = k(() => {
19
+ }, n = d(m()), w = () => {
20
+ const r = s(), u = B(() => {
21
21
  var a;
22
22
  const o = (a = n.value.stockBalance.skus) == null ? void 0 : a.groupBy((t) => t.id), e = (t) => {
23
23
  var c;
@@ -51,7 +51,7 @@ const v = d(0), f = {
51
51
  const o = s(), e = p({
52
52
  recipes: o.recipes,
53
53
  skus: o.skus,
54
- skuGroups: o.skuGroups,
54
+ skuGroups: [],
55
55
  inventoryBindingMapping: {},
56
56
  stockBalance: this.stockBalance
57
57
  // silent: true
@@ -1,4 +1,4 @@
1
- import { d as m, u as $ } from "./app-Ccdgbe4f.js";
1
+ import { d as m, u as $ } from "./app-DyEvx3Em.js";
2
2
  import { useCoreStore as B } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as y } from "@feedmepos/ui-library";
4
4
  const N = m((r, a) => {
@@ -1,10 +1,9 @@
1
- import { type InventoryPlanTier } from '@/feature-flags/plan-tier';
2
- import { type InventoryLicensePlan, type WarehouseLicense } from '@/api/license';
1
+ import { type WarehouseLicense } from '@/api/license';
2
+ import { type LocationFeatureFlag } from '@/api/feature-flags';
3
3
  export { InventoryFeatureFlags } from '@feedmepos/inventory-core-2';
4
4
  export interface FeatureState {
5
5
  isLoaded: boolean;
6
- planTier: InventoryPlanTier;
7
- inventoryPlan: InventoryLicensePlan;
6
+ flags: LocationFeatureFlag[];
8
7
  warehouseQuota: WarehouseLicense[];
9
8
  enableTotalCost: boolean;
10
9
  enableBackdatePo: boolean;
@@ -15,7 +14,6 @@ export interface FeatureState {
15
14
  enablePoTemplate: boolean;
16
15
  enableClosingTemplate: boolean;
17
16
  enableWastageTemplate: boolean;
18
- enableIngredientGroup: boolean;
19
17
  mustUsePoTemplate: boolean;
20
18
  mustUseDefaultCost?: boolean;
21
19
  businessSupplierOnly: boolean;
@@ -68,18 +66,20 @@ export declare const useFeatureStore: () => {
68
66
  /** @deprecated TODO: remove */
69
67
  readonly manualReceive: boolean;
70
68
  readonly isLoaded: boolean;
71
- readonly planTier: "lite" | "standard" | "premium";
72
- readonly inventoryPlan: InventoryLicensePlan;
69
+ readonly flags: {
70
+ name: string;
71
+ enabled: boolean;
72
+ beta: boolean;
73
+ value?: string | number | boolean | null | undefined;
74
+ }[];
73
75
  readonly warehouseQuota: {
74
76
  id: string;
75
77
  expiredAt: string;
76
78
  }[];
77
- hasPlanTier(minimum: InventoryPlanTier): boolean;
78
79
  isFlagOn(flag: string): boolean;
79
80
  readonly enablePoTemplate: boolean;
80
81
  readonly enableClosingTemplate: boolean;
81
82
  readonly enableWastageTemplate: boolean;
82
- readonly enableIngredientGroup: boolean;
83
83
  readonly mustUsePoTemplate: boolean;
84
84
  readonly businessSupplierOnly: boolean;
85
85
  readonly enableXilnexTransferNote: boolean;
@@ -2497,50 +2497,6 @@ export declare function useInventoryStore(): {
2497
2497
  }>;
2498
2498
  readonly skuBindingFlattenCache: Record<string, FlattenInventoryBindingResult>;
2499
2499
  readonly recipeBindingFlattenCache: Record<string, FlattenInventoryBindingResult>;
2500
- readonly skuGroups: {
2501
- rules?: {
2502
- rule?: any;
2503
- _id: string;
2504
- name: string;
2505
- skuRefs: {
2506
- default?: boolean | null | undefined;
2507
- trackingMeasurement?: string | null | undefined;
2508
- priority?: number | null | undefined;
2509
- _id: string;
2510
- }[];
2511
- }[] | null | undefined;
2512
- ref?: string | null | undefined;
2513
- defaultSkuRefs?: {
2514
- default?: boolean | null | undefined;
2515
- trackingMeasurement?: string | null | undefined;
2516
- priority?: number | null | undefined;
2517
- _id: string;
2518
- }[] | null | undefined;
2519
- _id: string;
2520
- name: string;
2521
- }[];
2522
- readonly skuGroupById: Record<string, {
2523
- rules?: {
2524
- rule?: any;
2525
- _id: string;
2526
- name: string;
2527
- skuRefs: {
2528
- default?: boolean | null | undefined;
2529
- trackingMeasurement?: string | null | undefined;
2530
- priority?: number | null | undefined;
2531
- _id: string;
2532
- }[];
2533
- }[] | null | undefined;
2534
- ref?: string | null | undefined;
2535
- defaultSkuRefs?: {
2536
- default?: boolean | null | undefined;
2537
- trackingMeasurement?: string | null | undefined;
2538
- priority?: number | null | undefined;
2539
- _id: string;
2540
- }[] | null | undefined;
2541
- _id: string;
2542
- name: string;
2543
- }>;
2544
2500
  readonly skuTags: Map<unknown, [{
2545
2501
  trackingMeasurement?: string | null | undefined;
2546
2502
  isInactive?: boolean | null | undefined;
@@ -2713,7 +2669,4 @@ export declare function useInventoryStore(): {
2713
2669
  importRecipes(recipes: Omit<FdtoBulkRecipeRequest, '_rev'>): Promise<any>;
2714
2670
  importSkus(skus: Omit<FdtoBulkSkuRequest, '_rev'>): Promise<any>;
2715
2671
  deleteSku({ _id }: FdoInventorySku): Promise<void>;
2716
- createSkuGroup(skuGroup: CreateType<FdoInventorySkuGroup>): Promise<void>;
2717
- updateSkuGroup(skuGroup: FdoInventorySkuGroup): Promise<void>;
2718
- deleteSkuGroup({ _id }: FdoInventorySkuGroup): Promise<void>;
2719
2672
  };
@@ -998,4 +998,4 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
998
998
  registrationNumber: string;
999
999
  };
1000
1000
  }>;
1001
- }, "init" | "readSuppliers" | "createSupplier" | "updateSupplier" | "deleteSupplier" | "importSuppliers">>;
1001
+ }, "readSuppliers" | "createSupplier" | "updateSupplier" | "deleteSupplier" | "importSuppliers" | "init">>;
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .fm-admin-badge[data-v-309cdb5a]{pointer-events:none;opacity:.9;display:flex;align-items:center;justify-content:center;border-radius:360px;--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.fm-forecast-notification-low{background-color:var(--fm-color-system-red-100);color:var(--fm-color-system-red-400)}.fm-forecast-notification-mid{background-color:var(--fm-color-system-orange-100);color:var(--fm-color-system-orange-400)}.fm-forecast-notification-high{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-forecast-notification-indicator{display:inline-block;height:12px;width:12px;border-radius:9999px}.fm-forecast-notification-indicator-low{background-color:var(--fm-color-system-red-400)}.fm-forecast-notification-indicator-mid{background-color:var(--fm-color-system-orange-400)}.fm-forecast-notification-indicator-high{background-color:var(--fm-color-system-green-400)}.fade-enter-active,.fade-leave-active{transition:opacity .5s ease}.fade-enter-from,.fade-leave-to{opacity:0}.fade-enter-active[data-v-96ed5cb2],.fade-leave-active[data-v-96ed5cb2]{transition:opacity .25s ease}.fade-enter[data-v-96ed5cb2],.fade-leave-to[data-v-96ed5cb2]{opacity:0}.fm-droppable-field[data-v-2937afd0]{display:flex;flex-direction:column;gap:4px}.fm-droppable-field__container[data-v-2937afd0]{position:relative;background-color:var(--fm-color-neutral-white);padding:12px;border-radius:8px;border-width:2px;border-style:dashed;border-color:var(--fm-color-neutral-gray-300);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.fm-droppable-field__container--disabled[data-v-2937afd0]{cursor:not-allowed;color:var(--fm-color-neutral-gray-200);border-color:var(--fm-color-neutral-gray-200)}.fm-droppable-field__container--dragging[data-v-2937afd0]{border-color:var(--fm-color-primary)}.fm-droppable-field__container--invalid[data-v-2937afd0]{border-color:var(--fm-color-system-red-300)}.fm-droppable-field__container[data-v-2937afd0]:hover:not(.fm-droppable-field__container--disabled){border-color:var(--fm-color-neutral-gray-400)}.fm-droppable-field__input[data-v-2937afd0]{cursor:pointer;opacity:0;position:absolute;top:0;left:0;height:100%;width:100%}.fm-droppable-field__input[data-v-2937afd0]:disabled{display:none;cursor:not-allowed}.map-button[data-v-272f5e8b]{border-top-width:1px;border-top-color:var(--fm-color-neutral-gray-200);color:var(--fm-color-neutral-gray-400);padding:.2rem 1rem;border-radius:8px}.color-input[data-v-840687bf]::-webkit-color-swatch-wrapper{padding:2px}.color-input[data-v-840687bf]::-webkit-color-swatch{border:none;border-radius:2px}.production-run-dialog>.fm-dialog--header>.h-48{display:none}.production-run-dialog{border-radius:8px!important}.production-run-dialog>.fm-dialog--header{padding:16px 20px}.production-run-dialog>.fm-dialog--content{padding:0 20px}.production-run-dialog-content--full-bleed{margin-inline:-20px}.production-run-dialog-empty-state{padding-block:32px}.production-run-dialog-notice{margin-inline:-20px;padding-inline:20px}.production-run-dialog-content--confirmation>.production-run-dialog-notice,.production-run-dialog-content--compact-confirmation>.production-run-dialog-notice{margin-inline:-24px;padding-inline:24px}.production-run-dialog>.fm-dialog--footer{border-top:1px solid var(--fm-color-neutral-gray-200);padding:16px 20px}.production-run-dialog--footer-dividerless>.fm-dialog--footer{border-top:0}.production-run-dialog--confirmation>.fm-dialog--header{padding:24px 24px 16px}.production-run-dialog--confirmation>.fm-dialog--content{padding-inline:24px}.production-run-dialog--confirmation>.fm-dialog--footer{border-top:0;padding:16px 24px 24px}.production-run-dialog--compact-confirmation>.fm-dialog--header{padding:24px 24px 0}.production-run-dialog--compact-confirmation>.fm-dialog--content{padding:8px 24px 0}.production-run-dialog--compact-confirmation>.fm-dialog--footer{border-top:0;padding:24px}.production-run-dialog--compact-confirmation .production-run-dialog-title{line-height:18px}.production-run-dialog--compact-confirmation>.fm-dialog--footer .fm-btn{min-height:40px}.production-run-dialog--compact-confirmation>.fm-dialog--footer .fm-btn>.label{font-size:14px;line-height:18px}@media (max-width: 647px){.production-run-dialog--mobile-inset{width:calc(100vw - 32px)!important;max-width:calc(100vw - 32px)!important}.production-run-dialog>.fm-dialog--footer .production-run-dialog-footer{flex-direction:column-reverse;align-items:stretch}.production-run-dialog>.fm-dialog--footer .production-run-dialog-footer>.fm-btn{width:100%}.production-run-dialog>.fm-dialog--footer .production-run-dialog-footer>:not(.fm-btn){display:flex;width:100%;flex-direction:column-reverse;align-items:stretch}.production-run-dialog>.fm-dialog--footer .production-run-dialog-footer>:not(.fm-btn)>.fm-btn{width:100%}}.production-run-help-popover[data-v-2a4757ff] .fm-popover{display:flex}.production-run-scroll-hint[data-v-98199553]{background-image:linear-gradient(to top,var(--production-run-scroll-hint-surface),color-mix(in srgb,var(--production-run-scroll-hint-surface) 85%,transparent),transparent)}.production-run-scroll-hint--primary[data-v-98199553]{--production-run-scroll-hint-surface: var(--fm-color-neutral-white)}.production-run-scroll-hint--neutral[data-v-98199553]{--production-run-scroll-hint-surface: var(--fm-color-neutral-gray-100)}.production-run-ingredient-tree[data-v-400c08fa]{container:production-run-ingredient-rail / inline-size}.production-run-ingredient-refresh-compact[data-v-400c08fa]{display:none}.production-run-ingredient-action-button[data-v-400c08fa] .fm-icon{width:12px!important;height:12px!important;font-size:12px;line-height:12px}.production-run-ingredient-action-button[data-v-400c08fa] .label{font-size:12px;font-weight:400;line-height:16px}@container production-run-ingredient-rail (max-width: 360px){.production-run-ingredient-refresh-full[data-v-400c08fa]{display:none}.production-run-ingredient-refresh-compact[data-v-400c08fa]{display:inline}}.production-run-instructions-body--collapsed[data-v-6dbba01c]{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4}.production-run-bindings-container[data-v-a14a8899]{container:production-run-bindings / inline-size}.production-run-bindings-list[data-v-a14a8899]{grid-template-columns:minmax(0,1fr)}@container production-run-bindings (min-width: 560px){.production-run-bindings-list[data-v-a14a8899]{grid-template-columns:repeat(2,minmax(0,1fr))}}.production-run-unit-input[data-v-cd754b9b] .fm-field{height:40px;min-height:40px}.production-run-unit-input--compact[data-v-cd754b9b] .fm-field{height:36px;min-height:36px}.production-run-unit-input--compact[data-v-cd754b9b] .fm-text-field--input{font-size:14px;line-height:20px}@media (max-width: 647px){.production-run-unit-input__conversion-placeholder[data-v-cd754b9b]{display:none}}.production-run-plan-readonly-table[data-v-82a3d14a]{min-width:40rem}.production-run-plan-readonly-scroll[data-v-82a3d14a]{container-type:inline-size}.production-run-plan-readonly-bindings-cell[data-v-82a3d14a]{padding:0}.production-run-plan-readonly-bindings-sticky[data-v-82a3d14a]{position:sticky;left:0;width:100cqi}.production-run-plan-readonly-metric-column[data-v-82a3d14a]{width:144px}@media (max-width: 647px){.production-run-plan-readonly-metric-column[data-v-82a3d14a]{width:96px}.production-run-plan-readonly-table[data-v-82a3d14a] :is(th,td){padding-right:8px;padding-left:8px}.production-run-plan-header[data-v-82a3d14a]{min-height:84px;padding:12px 16px}.production-run-plan-row[data-v-82a3d14a]{min-height:164px;grid-template-columns:minmax(0,1fr) auto;align-items:start;padding:12px 16px}.production-run-plan-identity[data-v-82a3d14a]{display:contents}.production-run-plan-item-name[data-v-82a3d14a]{grid-column:1;grid-row:1;align-self:center}.production-run-plan-disclosure[data-v-82a3d14a]{grid-column:1 / -1;grid-row:4}.production-run-plan-stock[data-v-82a3d14a]{grid-column:1 / -1;grid-row:2;height:auto;flex-direction:column;align-items:flex-start;gap:4px;justify-self:start;margin-top:0;padding:0}.production-run-plan-quantity[data-v-82a3d14a]{grid-column:1 / -1;grid-row:3;padding:0}.production-run-plan-remove[data-v-82a3d14a]{grid-column:2;grid-row:1;align-self:center;margin-top:0}.production-run-plan-bindings-expanded-list[data-v-82a3d14a]{grid-template-columns:minmax(0,1fr)}}@media (min-width: 360px) and (max-width: 647px){.production-run-plan-header[data-v-82a3d14a]{min-height:56px;flex-wrap:nowrap}}@media (max-width: 359px){.production-run-empty-state[data-v-82a3d14a]{padding-right:8px;padding-left:8px}.production-run-plan-header[data-v-82a3d14a]{display:grid;grid-template-columns:1fr auto}.production-run-plan-header>h3[data-v-82a3d14a]{grid-column:1 / -1}.production-run-plan-actions[data-v-82a3d14a]{grid-column:2;justify-self:end}}.production-run-side-sheet.fm-side-sheet{min-width:0!important;border-radius:0!important;padding:0!important}.production-run-side-sheet.fm-side-sheet>:first-child{border-bottom:1px solid var(--fm-color-neutral-gray-100);padding:16px 24px}.production-run-side-sheet.fm-side-sheet>:nth-child(2){flex:1 1 0%;height:auto;min-height:0;overflow:hidden;padding:0}.production-run-side-sheet.fm-side-sheet>:last-child:not(:nth-child(2)){border-top:1px solid var(--fm-color-neutral-gray-100);padding:16px 24px}.production-run-side-sheet-content{padding:16px 24px}@media (min-width: 648px){.production-run-side-sheet-content{padding-inline:40px}.production-run-side-sheet.fm-side-sheet>:last-child:not(:nth-child(2)){padding-inline:36px}}.production-run-textarea[data-v-aef9376e] .fm-textarea__container{min-height:44px;height:auto}.production-run-textarea--one-row[data-v-aef9376e] .fm-textarea--input{height:24px;line-height:24px}.production-run-textarea--one-row[data-v-aef9376e] .fm-textarea__container{min-height:44px;height:auto;padding-block:9px!important}.production-run-textarea--one-row[data-v-aef9376e] .fm-textarea__container--focused{padding-block:8px!important}.production-run-textarea--without-helper[data-v-aef9376e] .fm-textarea__container+.flex{display:none}.production-run-textarea[data-v-aef9376e] .fm-textarea--input{resize:vertical}.production-run-textarea--invalid[data-v-aef9376e] .fm-textarea__container{border:2px solid var(--fm-color-system-red-300)!important}.production-run-textarea--invalid.production-run-textarea--one-row[data-v-aef9376e] .fm-textarea__container{padding-block:8px!important}.production-run-compact-banner[data-v-41f2a2ec]>.w-4{width:2px}.production-run-compact-banner[data-v-41f2a2ec]>.grow{padding:8px 12px}.production-run-compact-banner[data-v-41f2a2ec] .fm-typo-en-body-md-400{margin-top:2px;font-size:12px;line-height:16px}.production-run-selection-checkbox--label-visually-hidden[data-v-5a513899] .fm-checkbox__label-container{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.production-run-selection-checkbox[data-v-5a513899] .fm-checkbox__input--btn{width:20px;height:20px;border-radius:9999px}.production-run-source-option[data-v-efa6dfdc]{align-items:flex-start;padding:12px;width:100%}.production-run-duplicate-footer--items[data-v-efa6dfdc]{display:grid;grid-template-columns:repeat(3,max-content);min-width:0;max-width:100%}@media (max-width: 647px){.production-run-duplicate-footer--items[data-v-efa6dfdc] .fm-btn{min-width:0;min-height:44px}.production-run-duplicate-dialog{width:calc(100vw - 32px)!important;min-width:0!important;max-width:calc(100vw - 32px)!important}.production-run-duplicate-dialog>.fm-dialog--header,.production-run-duplicate-dialog>.fm-dialog--footer{padding-inline:20px}.production-run-duplicate-dialog>.fm-dialog--content{padding-inline:20px}.production-run-duplicate-dialog .production-run-dialog-content--full-bleed{margin-inline:-20px}}@media (max-width: 359px){.production-run-duplicate-body[data-v-efa6dfdc]{height:calc(100dvh - 200px)}.production-run-duplicate-item-list[data-v-efa6dfdc]{flex:1 1 0%}.production-run-duplicate-footer[data-v-efa6dfdc]{gap:4px}}.production-run-name[data-v-f82497e3] .fm-field--invalid{border:2px solid var(--fm-color-system-red-300)!important}.production-run-name[data-v-f82497e3] .fm-field{min-height:44px;height:44px}.production-run-form-content[data-v-f82497e3]{padding:16px 40px}@media (max-width: 639px){.production-run-form-content[data-v-f82497e3]{padding:16px 24px}}@media (max-width: 647px){.production-run-form-footer[data-v-f82497e3]{flex-direction:column;align-items:stretch;gap:8px}.production-run-form-primary-actions[data-v-f82497e3]{width:100%;flex-direction:column-reverse;order:1}.production-run-form-primary-actions[data-v-f82497e3]>*,.production-run-form-cancel[data-v-f82497e3]{width:100%}.production-run-form-cancel[data-v-f82497e3]{order:2}}.production-run-shortage-acknowledgement[data-v-f23208eb] .fm-checkbox__label-container>*{font-size:14px;line-height:20px}.production-run-prepare-sheet-page[data-v-c0301efb]{box-shadow:0 0 10px #00000026}@media (min-width: 648px){.production-run-prepare-sheet-page[data-v-c0301efb]{padding:40px 36px}.production-run-prepare-sheet-instructions[data-v-c0301efb]{margin-top:24px}.production-run-prepare-sheet-ingredients[data-v-c0301efb]{margin-top:28px}.production-run-prepare-sheet-remarks[data-v-c0301efb]{margin-top:32px}.production-run-prepare-sheet-signoff[data-v-c0301efb]{margin-top:24px}}@media print{.production-run-prepare-sheet-page[data-v-c0301efb]{border-radius:0;box-shadow:none;padding:40px 36px}.production-run-prepare-sheet-instructions[data-v-c0301efb]{margin-top:24px}.production-run-prepare-sheet-ingredients[data-v-c0301efb]{margin-top:28px}.production-run-prepare-sheet-remarks[data-v-c0301efb]{margin-top:32px}.production-run-prepare-sheet-signoff[data-v-c0301efb]{margin-top:24px}}@media (min-width: 648px){.production-run-prepare-sheet-canvas[data-v-72bcc35c]{padding:32px}}.production-run-prepare-sheet-print-root{position:fixed;top:0;left:-10000px;width:210mm;background:#fff;pointer-events:none}@media print{html:has(>body.production-run-prepare-sheet-printing),body.production-run-prepare-sheet-printing{height:auto!important;min-height:0!important;overflow:visible!important}body.production-run-prepare-sheet-printing>*:not(.production-run-prepare-sheet-print-root){display:none!important}body.production-run-prepare-sheet-printing>.production-run-prepare-sheet-print-root{position:static;display:block;width:auto;background:#fff;pointer-events:auto}}@media (min-width: 1248px){.prepare-preview-layout[data-v-9fad0161]{grid-template-columns:3fr 2fr}}@media (max-width: 647px){.prepare-items-columns[data-v-9fad0161]{display:none}.prepare-item-main-row[data-v-9fad0161]{grid-template-columns:minmax(0,1fr);align-items:start}.prepare-item-identity[data-v-9fad0161]{display:contents}.prepare-item-identity-copy[data-v-9fad0161]{order:1;padding-inline:16px}[data-requested-quantity][data-v-9fad0161]{order:2;grid-column:1 / -1;height:auto;flex-direction:column;align-items:flex-start;gap:2px;justify-self:stretch;justify-content:flex-start;padding-inline:16px;text-align:left}.prepare-item-quantities[data-v-9fad0161]{order:3;grid-column:1 / -1;align-items:stretch;padding-inline:16px}.prepare-item-bindings-summary[data-v-9fad0161]{order:4;grid-column:1 / -1;padding-inline:16px}.prepare-item-mobile-label[data-v-9fad0161]{display:inline}.prepare-footer[data-v-9fad0161]{flex-direction:column-reverse;align-items:stretch;justify-content:flex-start}.prepare-footer-actions[data-v-9fad0161]{width:100%;flex-direction:column-reverse}.prepare-footer[data-v-9fad0161] .fm-btn{width:100%}}.record-output-produced-at-label[data-v-b7549dde]{font-size:16px;font-weight:600;line-height:24px}.record-output-old-date-title[data-v-b7549dde]{font-size:14px;font-weight:600;line-height:20px}.record-output-old-date-detail[data-v-b7549dde]{font-size:14px;font-weight:400;line-height:20px}.record-output-produced-at-date[data-v-b7549dde] .flex.flex-col.gap-8,.record-output-produced-at-time[data-v-b7549dde] .flex.flex-col.gap-8{gap:0}@media (min-width: 648px){.record-output-produced-at-row[data-v-b7549dde]{flex-direction:row;align-items:flex-end}.record-output-produced-at-date[data-v-b7549dde]{width:192px}.record-output-produced-at-time[data-v-b7549dde]{width:144px}}@media (min-width: 1024px){.record-output-details-grid[data-v-b7549dde]{grid-template-columns:28rem minmax(0,1fr)}}.production-run-wastage-remark[data-v-23aff1e4] .fm-field--invalid{border:2px solid var(--fm-color-system-red-300)!important}.production-run-record-output-sheet .record-output-worksheet-title{font-size:16px;font-weight:600;line-height:24px}.production-run-record-output-sheet .record-output-worksheet-header{min-height:56px;padding:12px 16px}.production-run-record-output-sheet .record-output-wastage-field .fm-typo-en-body-lg-600{color:var(--fm-color-neutral-gray-400);font-size:.75rem;font-weight:400;line-height:1rem;letter-spacing:.02em;text-decoration-line:none}.production-run-record-output-sheet .record-output-wastage-field .fm-field{height:36px;min-height:36px}.production-run-record-output-sheet .record-output-wastage-field .fm-typo-en-body-lg-400,.production-run-record-output-sheet .record-output-wastage-field .fm-text-field--input{font-size:14px;line-height:18px}.production-run-record-output-sheet .record-output-wastage-remove.fm-btn{width:32px;height:32px;padding:4px}.production-run-record-output-sheet .record-output-wastage-actions>.fm-btn{max-width:100%}.production-run-record-output-sheet .record-output-wastage-actions>.fm-btn .label{display:block;overflow-wrap:anywhere;white-space:normal;-webkit-line-clamp:unset}@media (max-width: 647px){.production-run-record-output-sheet .record-output-footer{flex-direction:column-reverse;align-items:stretch}.production-run-record-output-sheet .record-output-footer>.fm-btn{width:100%;margin-left:0}}@media (min-width: 648px){.production-run-record-output-sheet .record-output-content{padding-inline:40px}}@media (min-width: 960px){.production-run-record-output-sheet .record-output-content{overflow-y:hidden}.production-run-record-output-sheet .record-output-form-scroll{min-height:0;flex:1 1 0%;overflow-y:auto;padding-right:4px}.production-run-record-output-sheet .record-output-column-headers{display:grid;grid-template-columns:minmax(0,1fr) 144px 144px 208px 40px;-moz-column-gap:0;column-gap:0;padding-inline:0}.production-run-record-output-sheet .record-output-column-headers>:first-child{padding-inline:16px}.production-run-record-output-sheet .record-output-column-headers>:nth-child(2),.production-run-record-output-sheet .record-output-column-headers>:nth-child(3),.production-run-record-output-sheet .record-output-column-headers>:nth-child(4){padding-inline:8px}.production-run-record-output-sheet .record-output-item-row{min-height:80px;grid-template-columns:minmax(0,1fr) 144px 144px 208px 40px;align-items:start;-moz-column-gap:0;column-gap:0;padding-inline:0}.production-run-record-output-sheet .record-output-item-name-cell{padding-inline:16px}.production-run-record-output-sheet .record-output-metric-cell,.production-run-record-output-sheet .record-output-quantity-cell{padding-inline:8px}.production-run-record-output-sheet .record-output-item-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.production-run-record-output-sheet .record-output-item-metrics{display:contents}.production-run-record-output-sheet .record-output-metric-to-produce{grid-column-start:2;grid-row-start:1}.production-run-record-output-sheet .record-output-metric-remaining{grid-column-start:3;grid-row-start:1}.production-run-record-output-sheet .record-output-inline-label{display:none}.production-run-record-output-sheet .record-output-metric-value{display:flex;height:36px;align-items:center;justify-content:center}.production-run-record-output-sheet .record-output-control-line{display:flex;height:36px;align-items:center}.production-run-record-output-sheet .record-output-quantity-cell{grid-column:4 / span 1;grid-row-start:1}.production-run-record-output-sheet .record-output-wastage-status-cell{grid-column:1 / span 1;grid-row-start:1;align-self:end;padding-inline:16px}.production-run-record-output-sheet .record-output-exclude{grid-column-start:5}}@media (min-width: 1024px){.production-run-record-output-sheet{--production-run-wastage-columns: minmax(10rem, 1.4fr) minmax(9rem, .8fr) minmax(10rem, 1fr) minmax(12rem, 1.4fr) 40px}.production-run-record-output-sheet .record-output-wastage-headings,.production-run-record-output-sheet .record-output-wastage-row{grid-template-columns:var(--production-run-wastage-columns)}.production-run-record-output-sheet .record-output-wastage-headings{display:grid}.production-run-record-output-sheet .record-output-wastage-row{align-items:start}.production-run-record-output-sheet .record-output-wastage-field .fm-typo-en-body-lg-600{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}}[data-v-4d06048a] .production-run-name-tooltip-reference{min-width:0;width:100%;justify-content:flex-start}.production-run-table[data-v-53484757] table{table-layout:fixed}.production-run-table[data-v-53484757] thead{position:static}.production-run-table[data-v-53484757] thead th{position:sticky;top:0;z-index:2;background:var(--fm-color-neutral-gray-100)}.production-run-table[data-v-53484757] tbody tr,.production-run-mobile-row[data-v-53484757]{position:relative}[data-v-53484757] .production-run-row-link:focus-visible{outline:2px solid currentColor;outline-offset:-2px}@media (min-width: 1024px){.production-run-table[data-v-53484757] tbody tr{height:52px}}@media (max-width: 647px){[data-testid=production-run-header-layout][data-v-9715608c]{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;-moz-column-gap:8px;column-gap:8px}[data-testid=production-run-header-copy][data-v-9715608c]{grid-column:1;grid-row:1}[data-testid=production-run-header-actions][data-v-9715608c]{grid-column:2;grid-row:1;justify-self:end}}.production-run-preparing-row>td[data-v-b5fad4a9],.production-run-preparing-row>td>span[data-v-b5fad4a9]{line-height:20px}.production-run-table-header>th[data-v-b5fad4a9]{font-weight:600}.production-run-items-scroll[data-v-b5fad4a9]{container-type:inline-size}.production-run-items-bindings-cell[data-v-b5fad4a9]{padding:0}.production-run-items-bindings-sticky[data-v-b5fad4a9]{position:sticky;left:0;width:100cqi}@media (min-width: 1248px){.production-run-review-layout[data-v-844d1a9b]{grid-template-columns:3fr 2fr}}.ingredient-ledger[data-v-2a6f6173]{table-layout:fixed;border-collapse:collapse}.production-run-activity-history[data-v-ea0bca54]{width:19px!important;height:19px!important;font-size:19px!important}.production-run-activity-check[data-v-ea0bca54]{width:14px!important;height:14px!important;font-size:14px!important}@media (min-width: 1248px){.production-run-requested-layout[data-v-ff35cbd5]{grid-template-columns:3fr 2fr}}.production-run-detail-content[data-v-997605a2]{padding:24px}@media (max-width: 639px){.production-run-detail-content[data-v-997605a2]{padding:24px 16px 16px}}table[data-v-e6ef7057]{width:100%;border-spacing:unset;line-height:inherit}table td[data-v-e6ef7057],table th[data-v-e6ef7057]{padding:3px 5px;vertical-align:top}hr[data-v-e6ef7057]{border-collapse:unset;background:#888;height:2px;border:0px}.text-left[data-v-e6ef7057]{text-align:left}.text-right[data-v-e6ef7057]{text-align:right}.purchase-box[data-v-e6ef7057]{max-width:800px;margin:auto;padding:30px;border:1px solid #eee;box-shadow:0 0 10px #00000026;font-size:16px;line-height:1.5;font-family:Helvetica Neue,Helvetica,Helvetica,Arial,sans-serif;color:#555}.title[data-v-e6ef7057]{padding-bottom:0;font-size:30px;color:#333}.header[data-v-e6ef7057]{font-weight:600;color:#333}.sub-header[data-v-e6ef7057]{font-size:18px;color:#333}.caption[data-v-e6ef7057]{font-size:14px;color:#666}.address[data-v-e6ef7057]{font-size:16px;line-height:1.2;color:#666}.purchase-body[data-v-e6ef7057]{margin-top:30px}.item-header[data-v-e6ef7057]{border:0px;background:#ccc;color:#444}table[data-v-516391ec]{width:100%;border-spacing:unset;line-height:inherit}table td[data-v-516391ec],table th[data-v-516391ec]{padding:3px 5px;vertical-align:top}hr[data-v-516391ec]{border-collapse:unset;background:#888;height:2px;border:0px}.text-left[data-v-516391ec]{text-align:left}.text-right[data-v-516391ec]{text-align:right}.purchase-box[data-v-516391ec]{max-width:800px;margin:auto;padding:30px;border:1px solid #eee;box-shadow:0 0 10px #00000026;font-size:16px;line-height:1.5;font-family:Helvetica Neue,Helvetica,Helvetica,Arial,sans-serif;color:#555}.title[data-v-516391ec]{padding-bottom:0;font-size:32px;color:#333}.subtitle[data-v-516391ec]{padding-bottom:0;font-size:25px;color:#333}.header[data-v-516391ec]{font-weight:600;color:#333}.sub-header[data-v-516391ec]{font-size:18px;color:#333}.caption[data-v-516391ec]{font-size:14px;color:#666}.address[data-v-516391ec]{font-size:14px;line-height:1.2;color:#666}.purchase-body[data-v-516391ec]{margin-top:30px}.item-header[data-v-516391ec]{border:0px;background:#ccc;color:#444}.logo[data-v-516391ec]{max-width:100%;height:100px;-o-object-fit:contain;object-fit:contain}img[data-v-516391ec]{width:100px;height:100px;-o-object-fit:contain;object-fit:contain}[data-v-ae9bd171] tr:has([data-deleted]){background-color:var(--fm-color-system-red-100)}[data-v-ae9bd171] tr:has([data-deleted]) td{color:var(--fm-color-system-red-400)}.fm-status-badge{font-size:.875rem;font-weight:600;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;border-radius:8px;display:flex;align-items:center;padding-left:8px;padding-right:8px;min-height:24px}.fm-status-badge-draft,.fm-status-badge-pending_approval{background-color:var(--fm-color-neutral-gray-100);color:var(--fm-color-neutral-gray-500)}.fm-status-badge-receiving,.fm-status-badge-partial_received{background-color:var(--fm-color-system-blue-100);color:var(--fm-color-system-blue-400)}.fm-status-badge-cancel{background-color:var(--fm-color-system-red-100);color:var(--fm-color-system-red-400)}.fm-status-badge-close,.fm-status-badge-complete{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-status-badge-processing,.fm-status-badge-requesting{background-color:var(--fm-color-system-orange-100);color:var(--fm-color-system-orange-400)}.fm-status-badge-transfer-info,.fm-status-badge-info-secondary{background-color:var(--fm-color-system-blue-100);color:var(--fm-color-system-blue-400)}.fm-status-badge-success-secondary{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-status-badge-error{border-width:2px;--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}@media print{html,body.print-mode,body.print-mode .overflow-auto,body.print-mode .app-content{height:auto!important;overflow:visible!important}}
1
+ .fm-admin-badge[data-v-309cdb5a]{pointer-events:none;opacity:.9;display:flex;align-items:center;justify-content:center;border-radius:360px;--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.fm-forecast-notification-low{background-color:var(--fm-color-system-red-100);color:var(--fm-color-system-red-400)}.fm-forecast-notification-mid{background-color:var(--fm-color-system-orange-100);color:var(--fm-color-system-orange-400)}.fm-forecast-notification-high{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-forecast-notification-indicator{display:inline-block;height:12px;width:12px;border-radius:9999px}.fm-forecast-notification-indicator-low{background-color:var(--fm-color-system-red-400)}.fm-forecast-notification-indicator-mid{background-color:var(--fm-color-system-orange-400)}.fm-forecast-notification-indicator-high{background-color:var(--fm-color-system-green-400)}.fade-enter-active,.fade-leave-active{transition:opacity .5s ease}.fade-enter-from,.fade-leave-to{opacity:0}.fade-enter-active[data-v-96ed5cb2],.fade-leave-active[data-v-96ed5cb2]{transition:opacity .25s ease}.fade-enter[data-v-96ed5cb2],.fade-leave-to[data-v-96ed5cb2]{opacity:0}.fm-droppable-field[data-v-2937afd0]{display:flex;flex-direction:column;gap:4px}.fm-droppable-field__container[data-v-2937afd0]{position:relative;background-color:var(--fm-color-neutral-white);padding:12px;border-radius:8px;border-width:2px;border-style:dashed;border-color:var(--fm-color-neutral-gray-300);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.fm-droppable-field__container--disabled[data-v-2937afd0]{cursor:not-allowed;color:var(--fm-color-neutral-gray-200);border-color:var(--fm-color-neutral-gray-200)}.fm-droppable-field__container--dragging[data-v-2937afd0]{border-color:var(--fm-color-primary)}.fm-droppable-field__container--invalid[data-v-2937afd0]{border-color:var(--fm-color-system-red-300)}.fm-droppable-field__container[data-v-2937afd0]:hover:not(.fm-droppable-field__container--disabled){border-color:var(--fm-color-neutral-gray-400)}.fm-droppable-field__input[data-v-2937afd0]{cursor:pointer;opacity:0;position:absolute;top:0;left:0;height:100%;width:100%}.fm-droppable-field__input[data-v-2937afd0]:disabled{display:none;cursor:not-allowed}.map-button[data-v-272f5e8b]{border-top-width:1px;border-top-color:var(--fm-color-neutral-gray-200);color:var(--fm-color-neutral-gray-400);padding:.2rem 1rem;border-radius:8px}.color-input[data-v-840687bf]::-webkit-color-swatch-wrapper{padding:2px}.color-input[data-v-840687bf]::-webkit-color-swatch{border:none;border-radius:2px}.production-run-dialog>.fm-dialog--header>.h-48{display:none}.production-run-dialog{border-radius:8px!important}.production-run-dialog>.fm-dialog--header{padding:16px 20px}.production-run-dialog>.fm-dialog--content{padding:0 20px}.production-run-dialog-content--full-bleed{margin-inline:-20px}.production-run-dialog-empty-state{padding-block:32px}.production-run-dialog-notice{margin-inline:-20px;padding-inline:20px}.production-run-dialog-content--confirmation>.production-run-dialog-notice,.production-run-dialog-content--compact-confirmation>.production-run-dialog-notice{margin-inline:-24px;padding-inline:24px}.production-run-dialog>.fm-dialog--footer{border-top:1px solid var(--fm-color-neutral-gray-200);padding:16px 20px}.production-run-dialog--footer-dividerless>.fm-dialog--footer{border-top:0}.production-run-dialog--confirmation>.fm-dialog--header{padding:24px 24px 16px}.production-run-dialog--confirmation>.fm-dialog--content{padding-inline:24px}.production-run-dialog--confirmation>.fm-dialog--footer{border-top:0;padding:16px 24px 24px}.production-run-dialog--compact-confirmation>.fm-dialog--header{padding:24px 24px 0}.production-run-dialog--compact-confirmation>.fm-dialog--content{padding:8px 24px 0}.production-run-dialog--compact-confirmation>.fm-dialog--footer{border-top:0;padding:24px}.production-run-dialog--compact-confirmation .production-run-dialog-title{line-height:18px}.production-run-dialog--compact-confirmation>.fm-dialog--footer .fm-btn{min-height:40px}.production-run-dialog--compact-confirmation>.fm-dialog--footer .fm-btn>.label{font-size:14px;line-height:18px}@media (max-width: 647px){.production-run-dialog--mobile-inset{width:calc(100vw - 32px)!important;max-width:calc(100vw - 32px)!important}.production-run-dialog>.fm-dialog--footer .production-run-dialog-footer{flex-direction:column-reverse;align-items:stretch}.production-run-dialog>.fm-dialog--footer .production-run-dialog-footer>.fm-btn{width:100%}.production-run-dialog>.fm-dialog--footer .production-run-dialog-footer>:not(.fm-btn){display:flex;width:100%;flex-direction:column-reverse;align-items:stretch}.production-run-dialog>.fm-dialog--footer .production-run-dialog-footer>:not(.fm-btn)>.fm-btn{width:100%}}.production-run-help-popover[data-v-2a4757ff] .fm-popover{display:flex}.production-run-scroll-hint[data-v-98199553]{background-image:linear-gradient(to top,var(--production-run-scroll-hint-surface),color-mix(in srgb,var(--production-run-scroll-hint-surface) 85%,transparent),transparent)}.production-run-scroll-hint--primary[data-v-98199553]{--production-run-scroll-hint-surface: var(--fm-color-neutral-white)}.production-run-scroll-hint--neutral[data-v-98199553]{--production-run-scroll-hint-surface: var(--fm-color-neutral-gray-100)}.production-run-ingredient-tree[data-v-400c08fa]{container:production-run-ingredient-rail / inline-size}.production-run-ingredient-refresh-compact[data-v-400c08fa]{display:none}.production-run-ingredient-action-button[data-v-400c08fa] .fm-icon{width:12px!important;height:12px!important;font-size:12px;line-height:12px}.production-run-ingredient-action-button[data-v-400c08fa] .label{font-size:12px;font-weight:400;line-height:16px}@container production-run-ingredient-rail (max-width: 360px){.production-run-ingredient-refresh-full[data-v-400c08fa]{display:none}.production-run-ingredient-refresh-compact[data-v-400c08fa]{display:inline}}.production-run-instructions-body--collapsed[data-v-6dbba01c]{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4}.production-run-bindings-container[data-v-a14a8899]{container:production-run-bindings / inline-size}.production-run-bindings-list[data-v-a14a8899]{grid-template-columns:minmax(0,1fr)}@container production-run-bindings (min-width: 560px){.production-run-bindings-list[data-v-a14a8899]{grid-template-columns:repeat(2,minmax(0,1fr))}}.production-run-unit-input[data-v-cd754b9b] .fm-field{height:40px;min-height:40px}.production-run-unit-input--compact[data-v-cd754b9b] .fm-field{height:36px;min-height:36px}.production-run-unit-input--compact[data-v-cd754b9b] .fm-text-field--input{font-size:14px;line-height:20px}@media (max-width: 647px){.production-run-unit-input__conversion-placeholder[data-v-cd754b9b]{display:none}}.production-run-plan-readonly-table[data-v-82a3d14a]{min-width:40rem}.production-run-plan-readonly-scroll[data-v-82a3d14a]{container-type:inline-size}.production-run-plan-readonly-bindings-cell[data-v-82a3d14a]{padding:0}.production-run-plan-readonly-bindings-sticky[data-v-82a3d14a]{position:sticky;left:0;width:100cqi}.production-run-plan-readonly-metric-column[data-v-82a3d14a]{width:144px}@media (max-width: 647px){.production-run-plan-readonly-metric-column[data-v-82a3d14a]{width:96px}.production-run-plan-readonly-table[data-v-82a3d14a] :is(th,td){padding-right:8px;padding-left:8px}.production-run-plan-header[data-v-82a3d14a]{min-height:84px;padding:12px 16px}.production-run-plan-row[data-v-82a3d14a]{min-height:164px;grid-template-columns:minmax(0,1fr) auto;align-items:start;padding:12px 16px}.production-run-plan-identity[data-v-82a3d14a]{display:contents}.production-run-plan-item-name[data-v-82a3d14a]{grid-column:1;grid-row:1;align-self:center}.production-run-plan-disclosure[data-v-82a3d14a]{grid-column:1 / -1;grid-row:4}.production-run-plan-stock[data-v-82a3d14a]{grid-column:1 / -1;grid-row:2;height:auto;flex-direction:column;align-items:flex-start;gap:4px;justify-self:start;margin-top:0;padding:0}.production-run-plan-quantity[data-v-82a3d14a]{grid-column:1 / -1;grid-row:3;padding:0}.production-run-plan-remove[data-v-82a3d14a]{grid-column:2;grid-row:1;align-self:center;margin-top:0}.production-run-plan-bindings-expanded-list[data-v-82a3d14a]{grid-template-columns:minmax(0,1fr)}}@media (min-width: 360px) and (max-width: 647px){.production-run-plan-header[data-v-82a3d14a]{min-height:56px;flex-wrap:nowrap}}@media (max-width: 359px){.production-run-empty-state[data-v-82a3d14a]{padding-right:8px;padding-left:8px}.production-run-plan-header[data-v-82a3d14a]{display:grid;grid-template-columns:1fr auto}.production-run-plan-header>h3[data-v-82a3d14a]{grid-column:1 / -1}.production-run-plan-actions[data-v-82a3d14a]{grid-column:2;justify-self:end}}.production-run-side-sheet.fm-side-sheet{min-width:0!important;border-radius:0!important;padding:0!important}.production-run-side-sheet.fm-side-sheet>:first-child{border-bottom:1px solid var(--fm-color-neutral-gray-100);padding:16px 24px}.production-run-side-sheet.fm-side-sheet>:nth-child(2){flex:1 1 0%;height:auto;min-height:0;overflow:hidden;padding:0}.production-run-side-sheet.fm-side-sheet>:last-child:not(:nth-child(2)){border-top:1px solid var(--fm-color-neutral-gray-100);padding:16px 24px}.production-run-side-sheet-content{padding:16px 24px}@media (min-width: 648px){.production-run-side-sheet-content{padding-inline:40px}.production-run-side-sheet.fm-side-sheet>:last-child:not(:nth-child(2)){padding-inline:36px}}.production-run-textarea[data-v-aef9376e] .fm-textarea__container{min-height:44px;height:auto}.production-run-textarea--one-row[data-v-aef9376e] .fm-textarea--input{height:24px;line-height:24px}.production-run-textarea--one-row[data-v-aef9376e] .fm-textarea__container{min-height:44px;height:auto;padding-block:9px!important}.production-run-textarea--one-row[data-v-aef9376e] .fm-textarea__container--focused{padding-block:8px!important}.production-run-textarea--without-helper[data-v-aef9376e] .fm-textarea__container+.flex{display:none}.production-run-textarea[data-v-aef9376e] .fm-textarea--input{resize:vertical}.production-run-textarea--invalid[data-v-aef9376e] .fm-textarea__container{border:2px solid var(--fm-color-system-red-300)!important}.production-run-textarea--invalid.production-run-textarea--one-row[data-v-aef9376e] .fm-textarea__container{padding-block:8px!important}.production-run-compact-banner[data-v-41f2a2ec]>.w-4{width:2px}.production-run-compact-banner[data-v-41f2a2ec]>.grow{padding:8px 12px}.production-run-compact-banner[data-v-41f2a2ec] .fm-typo-en-body-md-400{margin-top:2px;font-size:12px;line-height:16px}.production-run-selection-checkbox--label-visually-hidden[data-v-5a513899] .fm-checkbox__label-container{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.production-run-selection-checkbox[data-v-5a513899] .fm-checkbox__input--btn{width:20px;height:20px;border-radius:9999px}.production-run-source-option[data-v-efa6dfdc]{align-items:flex-start;padding:12px;width:100%}.production-run-duplicate-footer--items[data-v-efa6dfdc]{display:grid;grid-template-columns:repeat(3,max-content);min-width:0;max-width:100%}@media (max-width: 647px){.production-run-duplicate-footer--items[data-v-efa6dfdc] .fm-btn{min-width:0;min-height:44px}.production-run-duplicate-dialog{width:calc(100vw - 32px)!important;min-width:0!important;max-width:calc(100vw - 32px)!important}.production-run-duplicate-dialog>.fm-dialog--header,.production-run-duplicate-dialog>.fm-dialog--footer{padding-inline:20px}.production-run-duplicate-dialog>.fm-dialog--content{padding-inline:20px}.production-run-duplicate-dialog .production-run-dialog-content--full-bleed{margin-inline:-20px}}@media (max-width: 359px){.production-run-duplicate-body[data-v-efa6dfdc]{height:calc(100dvh - 200px)}.production-run-duplicate-item-list[data-v-efa6dfdc]{flex:1 1 0%}.production-run-duplicate-footer[data-v-efa6dfdc]{gap:4px}}.production-run-name[data-v-f82497e3] .fm-field--invalid{border:2px solid var(--fm-color-system-red-300)!important}.production-run-name[data-v-f82497e3] .fm-field{min-height:44px;height:44px}.production-run-form-content[data-v-f82497e3]{padding:16px 40px}@media (max-width: 639px){.production-run-form-content[data-v-f82497e3]{padding:16px 24px}}@media (max-width: 647px){.production-run-form-footer[data-v-f82497e3]{flex-direction:column;align-items:stretch;gap:8px}.production-run-form-primary-actions[data-v-f82497e3]{width:100%;flex-direction:column-reverse;order:1}.production-run-form-primary-actions[data-v-f82497e3]>*,.production-run-form-cancel[data-v-f82497e3]{width:100%}.production-run-form-cancel[data-v-f82497e3]{order:2}}.production-run-shortage-acknowledgement[data-v-f23208eb] .fm-checkbox__label-container>*{font-size:14px;line-height:20px}.production-run-prepare-sheet-page[data-v-c0301efb]{box-shadow:0 0 10px #00000026}@media (min-width: 648px){.production-run-prepare-sheet-page[data-v-c0301efb]{padding:40px 36px}.production-run-prepare-sheet-instructions[data-v-c0301efb]{margin-top:24px}.production-run-prepare-sheet-ingredients[data-v-c0301efb]{margin-top:28px}.production-run-prepare-sheet-remarks[data-v-c0301efb]{margin-top:32px}.production-run-prepare-sheet-signoff[data-v-c0301efb]{margin-top:24px}}@media print{.production-run-prepare-sheet-page[data-v-c0301efb]{border-radius:0;box-shadow:none;padding:40px 36px}.production-run-prepare-sheet-instructions[data-v-c0301efb]{margin-top:24px}.production-run-prepare-sheet-ingredients[data-v-c0301efb]{margin-top:28px}.production-run-prepare-sheet-remarks[data-v-c0301efb]{margin-top:32px}.production-run-prepare-sheet-signoff[data-v-c0301efb]{margin-top:24px}}@media (min-width: 648px){.production-run-prepare-sheet-canvas[data-v-72bcc35c]{padding:32px}}.production-run-prepare-sheet-print-root{position:fixed;top:0;left:-10000px;width:210mm;background:#fff;pointer-events:none}@media print{html:has(>body.production-run-prepare-sheet-printing),body.production-run-prepare-sheet-printing{height:auto!important;min-height:0!important;overflow:visible!important}body.production-run-prepare-sheet-printing>*:not(.production-run-prepare-sheet-print-root){display:none!important}body.production-run-prepare-sheet-printing>.production-run-prepare-sheet-print-root{position:static;display:block;width:auto;background:#fff;pointer-events:auto}}@media (min-width: 1248px){.prepare-preview-layout[data-v-9fad0161]{grid-template-columns:3fr 2fr}}@media (max-width: 647px){.prepare-items-columns[data-v-9fad0161]{display:none}.prepare-item-main-row[data-v-9fad0161]{grid-template-columns:minmax(0,1fr);align-items:start}.prepare-item-identity[data-v-9fad0161]{display:contents}.prepare-item-identity-copy[data-v-9fad0161]{order:1;padding-inline:16px}[data-requested-quantity][data-v-9fad0161]{order:2;grid-column:1 / -1;height:auto;flex-direction:column;align-items:flex-start;gap:2px;justify-self:stretch;justify-content:flex-start;padding-inline:16px;text-align:left}.prepare-item-quantities[data-v-9fad0161]{order:3;grid-column:1 / -1;align-items:stretch;padding-inline:16px}.prepare-item-bindings-summary[data-v-9fad0161]{order:4;grid-column:1 / -1;padding-inline:16px}.prepare-item-mobile-label[data-v-9fad0161]{display:inline}.prepare-footer[data-v-9fad0161]{flex-direction:column-reverse;align-items:stretch;justify-content:flex-start}.prepare-footer-actions[data-v-9fad0161]{width:100%;flex-direction:column-reverse}.prepare-footer[data-v-9fad0161] .fm-btn{width:100%}}.record-output-produced-at-label[data-v-b7549dde]{font-size:16px;font-weight:600;line-height:24px}.record-output-old-date-title[data-v-b7549dde]{font-size:14px;font-weight:600;line-height:20px}.record-output-old-date-detail[data-v-b7549dde]{font-size:14px;font-weight:400;line-height:20px}.record-output-produced-at-date[data-v-b7549dde] .flex.flex-col.gap-8,.record-output-produced-at-time[data-v-b7549dde] .flex.flex-col.gap-8{gap:0}@media (min-width: 648px){.record-output-produced-at-row[data-v-b7549dde]{flex-direction:row;align-items:flex-end}.record-output-produced-at-date[data-v-b7549dde]{width:192px}.record-output-produced-at-time[data-v-b7549dde]{width:144px}}@media (min-width: 1024px){.record-output-details-grid[data-v-b7549dde]{grid-template-columns:28rem minmax(0,1fr)}}.production-run-wastage-remark[data-v-23aff1e4] .fm-field--invalid{border:2px solid var(--fm-color-system-red-300)!important}.production-run-record-output-sheet .record-output-worksheet-title{font-size:16px;font-weight:600;line-height:24px}.production-run-record-output-sheet .record-output-worksheet-header{min-height:56px;padding:12px 16px}.production-run-record-output-sheet .record-output-wastage-field .fm-typo-en-body-lg-600{color:var(--fm-color-neutral-gray-400);font-size:.75rem;font-weight:400;line-height:1rem;letter-spacing:.02em;text-decoration-line:none}.production-run-record-output-sheet .record-output-wastage-field .fm-field{height:36px;min-height:36px}.production-run-record-output-sheet .record-output-wastage-field .fm-typo-en-body-lg-400,.production-run-record-output-sheet .record-output-wastage-field .fm-text-field--input{font-size:14px;line-height:18px}.production-run-record-output-sheet .record-output-wastage-remove.fm-btn{width:32px;height:32px;padding:4px}.production-run-record-output-sheet .record-output-wastage-actions>.fm-btn{max-width:100%}.production-run-record-output-sheet .record-output-wastage-actions>.fm-btn .label{display:block;overflow-wrap:anywhere;white-space:normal;-webkit-line-clamp:unset}@media (max-width: 647px){.production-run-record-output-sheet .record-output-footer{flex-direction:column-reverse;align-items:stretch}.production-run-record-output-sheet .record-output-footer>.fm-btn{width:100%;margin-left:0}}@media (min-width: 648px){.production-run-record-output-sheet .record-output-content{padding-inline:40px}}@media (min-width: 960px){.production-run-record-output-sheet .record-output-content{overflow-y:hidden}.production-run-record-output-sheet .record-output-form-scroll{min-height:0;flex:1 1 0%;overflow-y:auto;padding-right:4px}.production-run-record-output-sheet .record-output-column-headers{display:grid;grid-template-columns:minmax(0,1fr) 144px 144px 208px 40px;-moz-column-gap:0;column-gap:0;padding-inline:0}.production-run-record-output-sheet .record-output-column-headers>:first-child{padding-inline:16px}.production-run-record-output-sheet .record-output-column-headers>:nth-child(2),.production-run-record-output-sheet .record-output-column-headers>:nth-child(3),.production-run-record-output-sheet .record-output-column-headers>:nth-child(4){padding-inline:8px}.production-run-record-output-sheet .record-output-item-row{min-height:80px;grid-template-columns:minmax(0,1fr) 144px 144px 208px 40px;align-items:start;-moz-column-gap:0;column-gap:0;padding-inline:0}.production-run-record-output-sheet .record-output-item-name-cell{padding-inline:16px}.production-run-record-output-sheet .record-output-metric-cell,.production-run-record-output-sheet .record-output-quantity-cell{padding-inline:8px}.production-run-record-output-sheet .record-output-item-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.production-run-record-output-sheet .record-output-item-metrics{display:contents}.production-run-record-output-sheet .record-output-metric-to-produce{grid-column-start:2;grid-row-start:1}.production-run-record-output-sheet .record-output-metric-remaining{grid-column-start:3;grid-row-start:1}.production-run-record-output-sheet .record-output-inline-label{display:none}.production-run-record-output-sheet .record-output-metric-value{display:flex;height:36px;align-items:center;justify-content:center}.production-run-record-output-sheet .record-output-control-line{display:flex;height:36px;align-items:center}.production-run-record-output-sheet .record-output-quantity-cell{grid-column:4 / span 1;grid-row-start:1}.production-run-record-output-sheet .record-output-wastage-status-cell{grid-column:1 / span 1;grid-row-start:1;align-self:end;padding-inline:16px}.production-run-record-output-sheet .record-output-exclude{grid-column-start:5}}@media (min-width: 1024px){.production-run-record-output-sheet{--production-run-wastage-columns: minmax(10rem, 1.4fr) minmax(9rem, .8fr) minmax(10rem, 1fr) minmax(12rem, 1.4fr) 40px}.production-run-record-output-sheet .record-output-wastage-headings,.production-run-record-output-sheet .record-output-wastage-row{grid-template-columns:var(--production-run-wastage-columns)}.production-run-record-output-sheet .record-output-wastage-headings{display:grid}.production-run-record-output-sheet .record-output-wastage-row{align-items:start}.production-run-record-output-sheet .record-output-wastage-field .fm-typo-en-body-lg-600{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}}[data-v-4d06048a] .production-run-name-tooltip-reference{min-width:0;width:100%;justify-content:flex-start}.production-run-table[data-v-53484757] table{table-layout:fixed}.production-run-table[data-v-53484757] thead{position:static}.production-run-table[data-v-53484757] thead th{position:sticky;top:0;z-index:2;background:var(--fm-color-neutral-gray-100)}.production-run-table[data-v-53484757] tbody tr,.production-run-mobile-row[data-v-53484757]{position:relative}[data-v-53484757] .production-run-row-link:focus-visible{outline:2px solid currentColor;outline-offset:-2px}@media (min-width: 1024px){.production-run-table[data-v-53484757] tbody tr{height:52px}}@media (max-width: 647px){[data-testid=production-run-header-layout][data-v-9715608c]{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;-moz-column-gap:8px;column-gap:8px}[data-testid=production-run-header-copy][data-v-9715608c]{grid-column:1;grid-row:1}[data-testid=production-run-header-actions][data-v-9715608c]{grid-column:2;grid-row:1;justify-self:end}}.production-run-preparing-row>td[data-v-b5fad4a9],.production-run-preparing-row>td>span[data-v-b5fad4a9]{line-height:20px}.production-run-table-header>th[data-v-b5fad4a9]{font-weight:600}.production-run-items-scroll[data-v-b5fad4a9]{container-type:inline-size}.production-run-items-bindings-cell[data-v-b5fad4a9]{padding:0}.production-run-items-bindings-sticky[data-v-b5fad4a9]{position:sticky;left:0;width:100cqi}@media (min-width: 1248px){.production-run-review-layout[data-v-844d1a9b]{grid-template-columns:3fr 2fr}}.ingredient-ledger[data-v-2a6f6173]{table-layout:fixed;border-collapse:collapse}.production-run-activity-history[data-v-ea0bca54]{width:19px!important;height:19px!important;font-size:19px!important}.production-run-activity-check[data-v-ea0bca54]{width:14px!important;height:14px!important;font-size:14px!important}@media (min-width: 1248px){.production-run-requested-layout[data-v-ff35cbd5]{grid-template-columns:3fr 2fr}}.production-run-detail-content[data-v-997605a2]{padding:24px}@media (max-width: 639px){.production-run-detail-content[data-v-997605a2]{padding:24px 16px 16px}}table[data-v-e6ef7057]{width:100%;border-spacing:unset;line-height:inherit}table td[data-v-e6ef7057],table th[data-v-e6ef7057]{padding:3px 5px;vertical-align:top}hr[data-v-e6ef7057]{border-collapse:unset;background:#888;height:2px;border:0px}.text-left[data-v-e6ef7057]{text-align:left}.text-right[data-v-e6ef7057]{text-align:right}.purchase-box[data-v-e6ef7057]{max-width:800px;margin:auto;padding:30px;border:1px solid #eee;box-shadow:0 0 10px #00000026;font-size:16px;line-height:1.5;font-family:Helvetica Neue,Helvetica,Helvetica,Arial,sans-serif;color:#555}.title[data-v-e6ef7057]{padding-bottom:0;font-size:30px;color:#333}.header[data-v-e6ef7057]{font-weight:600;color:#333}.sub-header[data-v-e6ef7057]{font-size:18px;color:#333}.caption[data-v-e6ef7057]{font-size:14px;color:#666}.address[data-v-e6ef7057]{font-size:16px;line-height:1.2;color:#666}.purchase-body[data-v-e6ef7057]{margin-top:30px}.item-header[data-v-e6ef7057]{border:0px;background:#ccc;color:#444}table[data-v-516391ec]{width:100%;border-spacing:unset;line-height:inherit}table td[data-v-516391ec],table th[data-v-516391ec]{padding:3px 5px;vertical-align:top}hr[data-v-516391ec]{border-collapse:unset;background:#888;height:2px;border:0px}.text-left[data-v-516391ec]{text-align:left}.text-right[data-v-516391ec]{text-align:right}.purchase-box[data-v-516391ec]{max-width:800px;margin:auto;padding:30px;border:1px solid #eee;box-shadow:0 0 10px #00000026;font-size:16px;line-height:1.5;font-family:Helvetica Neue,Helvetica,Helvetica,Arial,sans-serif;color:#555}.title[data-v-516391ec]{padding-bottom:0;font-size:32px;color:#333}.subtitle[data-v-516391ec]{padding-bottom:0;font-size:25px;color:#333}.header[data-v-516391ec]{font-weight:600;color:#333}.sub-header[data-v-516391ec]{font-size:18px;color:#333}.caption[data-v-516391ec]{font-size:14px;color:#666}.address[data-v-516391ec]{font-size:14px;line-height:1.2;color:#666}.purchase-body[data-v-516391ec]{margin-top:30px}.item-header[data-v-516391ec]{border:0px;background:#ccc;color:#444}.logo[data-v-516391ec]{max-width:100%;height:100px;-o-object-fit:contain;object-fit:contain}img[data-v-516391ec]{width:100px;height:100px;-o-object-fit:contain;object-fit:contain}[data-v-07c5a952] tr:has([data-deleted]){background-color:var(--fm-color-system-red-100)}[data-v-07c5a952] tr:has([data-deleted]) td{color:var(--fm-color-system-red-400)}.fm-status-badge{font-size:.875rem;font-weight:600;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;border-radius:8px;display:flex;align-items:center;padding-left:8px;padding-right:8px;min-height:24px}.fm-status-badge-draft,.fm-status-badge-pending_approval{background-color:var(--fm-color-neutral-gray-100);color:var(--fm-color-neutral-gray-500)}.fm-status-badge-receiving,.fm-status-badge-partial_received{background-color:var(--fm-color-system-blue-100);color:var(--fm-color-system-blue-400)}.fm-status-badge-cancel{background-color:var(--fm-color-system-red-100);color:var(--fm-color-system-red-400)}.fm-status-badge-close,.fm-status-badge-complete{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-status-badge-processing,.fm-status-badge-requesting{background-color:var(--fm-color-system-orange-100);color:var(--fm-color-system-orange-400)}.fm-status-badge-transfer-info,.fm-status-badge-info-secondary{background-color:var(--fm-color-system-blue-100);color:var(--fm-color-system-blue-400)}.fm-status-badge-success-secondary{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-status-badge-error{border-width:2px;--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}@media print{html,body.print-mode,body.print-mode .overflow-auto,body.print-mode .app-content{height:auto!important;overflow:visible!important}}
@@ -1,5 +1,5 @@
1
- import { d as b, u, m as v, n as w, o as $ } from "./app-Ccdgbe4f.js";
2
- import { u as S } from "./feature-ChVm5JED.js";
1
+ import { d as b, u, m as v, n as w, o as $ } from "./app-DyEvx3Em.js";
2
+ import { u as S } from "./feature-BMTKl6PK.js";
3
3
  import { useCoreStore as c } from "@feedmepos/mf-common";
4
4
  import { defineStore as f } from "pinia";
5
5
  import { ref as l, computed as d } from "vue";
@@ -1,5 +1,5 @@
1
1
  import { ref as d } from "vue";
2
- import { d as w, j as g } from "./app-Ccdgbe4f.js";
2
+ import { d as w, j as g } from "./app-DyEvx3Em.js";
3
3
  import { useCoreStore as h } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as y } from "@feedmepos/ui-library";
5
5
  const p = w((s, r) => {