@feedmepos/mf-inventory-portal 1.7.0-dev.9 → 1.7.1-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/dist/{App-DqkccxFd.js → App-B_ja37tB.js} +5 -5
  2. package/dist/ApprovalView-_wG6KeZl.js +249 -0
  3. package/dist/{BindingsDialog-CXBQwYIz.js → BindingsDialog-0IRWCLTc.js} +2 -2
  4. package/dist/{BindingsPicker-BfHSReUF.js → BindingsPicker-DCISa6Fx.js} +2 -2
  5. package/dist/{BindingsTable-CHxIsdzV.js → BindingsTable-B3CmHp97.js} +3 -3
  6. package/dist/BulkReceiveRequestView-Dmqm65c9.js +2025 -0
  7. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BfN7GDOL.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-D4Nd89xp.js} +1 -1
  8. package/dist/{ClosingDraftView-BJQgyPTs.js → ClosingDraftView-DDWU93p0.js} +21 -21
  9. package/dist/{ClosingHistoryView-CLhL3Xfc.js → ClosingHistoryView-KdmhszIO.js} +7 -7
  10. package/dist/ClosingTemplateView-CQRujMB9.js +2346 -0
  11. package/dist/ConnectedBusinessView-Cu2QnRN9.js +533 -0
  12. package/dist/{DefaultView-BQ0Y_nGt.js → DefaultView-QAEDG6pS.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-DHDu2E0L.js → DeliveryOrderPrintPreview-B08SSOCX.js} +2 -2
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-Dqy7-a53.js → EmailDialog.vue_vue_type_script_setup_true_lang-DdzV_fzq.js} +13245 -13063
  15. package/dist/{FmAdminBadge-DlplQOHb.js → FmAdminBadge-DH_2w13D.js} +8 -8
  16. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BeoDswK2.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CmH3uhTZ.js} +1 -1
  17. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dzqh8pM9.js +84 -0
  18. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Bq1UiREV.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Df-yCfRe.js} +4 -4
  19. package/dist/{FmMultiselectDialog-BhDa1RwT.js → FmMultiselectDialog-DpPyNOpJ.js} +1 -1
  20. package/dist/{FmMultiselectDialog-CorNT8gl.js → FmMultiselectDialog-QEs0yct_.js} +2 -2
  21. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DYIDe_N1.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D8-IQUtA.js} +121 -119
  22. package/dist/{ImportView-C57uYZRr.js → ImportView-8qlgZSTO.js} +8 -8
  23. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-B96kvgzW.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CGWRbAF2.js} +1 -1
  24. package/dist/{IngredientGroupView-CwhJuG3d.js → IngredientGroupView-BI9SlKfz.js} +6 -6
  25. package/dist/{IngredientsView-oC9fFDvT.js → IngredientsView-1naUkKAi.js} +17 -17
  26. package/dist/{IntegrationExplorerView-4QvHjDRJ.js → IntegrationExplorerView-C6kyLz3y.js} +5 -5
  27. package/dist/{IntegrationView-D-DT3YJs.js → IntegrationView-DrmxLdlk.js} +15 -15
  28. package/dist/{InventoryBindingForm-CYw_09Za.js → InventoryBindingForm-CPNAgZkD.js} +1 -1
  29. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-urLsGkKG.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-sz_VtHRr.js} +5 -5
  30. package/dist/{InventoryBindingSummary-CgqWRDNo.js → InventoryBindingSummary-Cu98L10w.js} +1 -1
  31. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DLUlL05A.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-g2PDNQx-.js} +1 -1
  32. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-3m70pVwB.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BZEa61go.js} +1 -1
  33. package/dist/{ProductionView--WPitDlY.js → ProductionView-D8dxypqA.js} +8 -8
  34. package/dist/{PublishView-D0kB5NQ2.js → PublishView-C82UwIoz.js} +4 -4
  35. package/dist/{PurchaseOrderPrintPreview-B1M-Moro.js → PurchaseOrderPrintPreview-CP40tEma.js} +2 -2
  36. package/dist/ReceiveRequestView-DDo0Pb0J.js +514 -0
  37. package/dist/{RecipeView-C49tT8Cr.js → RecipeView-DB1DJQp7.js} +18 -18
  38. package/dist/{SettingsView-Dt7a_Nkx.js → SettingsView-DsS62lxW.js} +6 -6
  39. package/dist/{SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js → SingleColumnLayout.vue_vue_type_script_setup_true_lang-DWsPvPE1.js} +1 -1
  40. package/dist/{StockView-CNzq9TSj.js → StockView-gcf7RCZz.js} +23 -23
  41. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Cx-XCR_k.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-nXqFCKic.js} +1 -1
  42. package/dist/{SupplierView-7EbI5cfk.js → SupplierView-BIANlKLE.js} +13 -13
  43. package/dist/{SurchargeView-BbfzwuAB.js → SurchargeView-kRzaixM5.js} +7 -7
  44. package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-QMUVuthC.js +211 -0
  45. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-nO9sybW-.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BceIOuBq.js} +2 -2
  46. package/dist/TransferDetailsV3.vue_vue_type_script_setup_true_lang-DYAzxoHE.js +5991 -0
  47. package/dist/{TransferTemplateView-Bz5W7dh5.js → TransferTemplateView-Bq68Vh7t.js} +21 -21
  48. package/dist/{UnitCostHistoryView-5wAtW09L.js → UnitCostHistoryView-d0oLssyZ.js} +6 -6
  49. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-Ze6egaj8.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CLOotG6K.js} +4 -4
  50. package/dist/{UnitView-Mp8CL-lp.js → UnitView-BHfm2IE4.js} +8 -8
  51. package/dist/{WarehouseView-DRkIDq76.js → WarehouseView-CorSYwm6.js} +6 -6
  52. package/dist/{WastageTemplateView-CRLaJJnu.js → WastageTemplateView-CtYZwiRW.js} +15 -15
  53. package/dist/api/connected-business-mapping.d.ts +25 -0
  54. package/dist/api/purchase-order.d.ts +35 -1
  55. package/dist/{app-VqA3hs6t.js → app-37NZKFUI.js} +5557 -5192
  56. package/dist/app.d.ts +88 -0
  57. package/dist/app.js +1 -1
  58. package/dist/{closing-template-CdSV_waS.js → closing-template-C0dl45x2.js} +1 -1
  59. package/dist/components/FmFilterableMenuOptions.vue.d.ts +11 -2
  60. package/dist/connected-business-mapping-ywgqqyMr.js +37 -0
  61. package/dist/{date2-ybHWeys0.js → date2-r4KgBCs9.js} +1 -1
  62. package/dist/{dayjs.min-vhlHpfOd.js → dayjs.min-BKUldDi9.js} +1 -1
  63. package/dist/{decimal-BWaV7aqI.js → decimal-Cgmw6HIY.js} +2 -2
  64. package/dist/{defineDeepModel-Dh55Rpy6.js → defineDeepModel-DXLwZWst.js} +1 -1
  65. package/dist/{duplicate-template-BX4CtnXP.js → duplicate-template-DDA4QWPl.js} +1 -1
  66. package/dist/feature-B4BoCy_k.js +1548 -0
  67. package/dist/{format-time-from-id-CcnUAvw3.js → format-time-from-id-Dhjn5QgH.js} +1 -1
  68. package/dist/{format-unit-display-CpfisOsO.js → format-unit-display-g95-VuYJ.js} +12 -12
  69. package/dist/{import-export.helper-DkxUoI70.js → import-export.helper-DsZFPPqj.js} +6 -6
  70. package/dist/{index-CDTURjdV.js → index-B9WjF3Ox.js} +1 -1
  71. package/dist/{index-BWP_Oz85.js → index-C207KsUh.js} +3 -3
  72. package/dist/{index-C2-NacLA.js → index-D3Bmmx66.js} +1 -1
  73. package/dist/{inventory-core-dart.default-CCuIh47-.js → inventory-core-dart.default-NpD15h63.js} +7104 -5555
  74. package/dist/{jszip.min-CGd5HPaQ.js → jszip.min-B52cHzHI.js} +2 -2
  75. package/dist/{lz-string-DaTOnDE7.js → lz-string-CItFpr5-.js} +1 -1
  76. package/dist/{netsuite-Bv8m4JOq.js → netsuite-R_NkLn5t.js} +2 -2
  77. package/dist/{number-Blpf0ylx.js → number-BkC_lelq.js} +3 -3
  78. package/dist/{predefined-templates-CH1yqXrS.js → predefined-templates-CVT54o4V.js} +1 -1
  79. package/dist/{purchase-order-template-Hzi2jg5i.js → purchase-order-template-DvqAncB2.js} +1 -1
  80. package/dist/{recalculationUtils-Bg_M-poT.js → recalculationUtils-Cak1mo4o.js} +1 -1
  81. package/dist/router/name.d.ts +1 -0
  82. package/dist/{rules-CyLofMuT.js → rules--cnFg-PI.js} +2 -2
  83. package/dist/{stock-DfNx3w-V.js → stock-BLYAJxMj.js} +1 -1
  84. package/dist/{stock-vaSdMe5e.js → stock-DvquSog3.js} +3 -3
  85. package/dist/stores/feature.d.ts +2 -0
  86. package/dist/style.css +1 -1
  87. package/dist/{supplier-DPLDqUXZ.js → supplier-C5X8p_vd.js} +2 -2
  88. package/dist/{surcharge-0-XdT9aW.js → surcharge-CLkpleoW.js} +1 -1
  89. package/dist/tsconfig.app.tsbuildinfo +1 -1
  90. package/dist/{uom-rules-CbYmI74H.js → uom-rules-CykFo_pB.js} +1 -1
  91. package/dist/{use-ingredient-select-dialog-g1T1s6nQ.js → use-ingredient-select-dialog-DlxWMkAI.js} +2 -2
  92. package/dist/{use-inventory-binding-dialog-B0AniKhu.js → use-inventory-binding-dialog-DnWDyziu.js} +2 -2
  93. package/dist/{use-template-enabled-locations-DRkN8eSx.js → use-template-enabled-locations-SRgcWLO4.js} +2 -2
  94. package/dist/{use-transfer-locations-BG1GERbt.js → use-transfer-locations-D4f4Ib1r.js} +2 -2
  95. package/dist/{useHrmPermission-CUPAhcDP.js → useHrmPermission-lAc6ZHVZ.js} +1 -1
  96. package/dist/{useNavigationMenu-D2onvhoK.js → useNavigationMenu-CeN7TEwe.js} +59 -49
  97. package/dist/{useSseClient-DvQsSC57.js → useSseClient-C6ndlLpA.js} +1 -1
  98. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-search.d.ts +6 -0
  99. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-search.spec.d.ts +1 -0
  100. package/dist/views/connected-business/ConnectedBusinessMappingPanel.vue.d.ts +25 -0
  101. package/dist/views/connected-business/ConnectedBusinessView.vue.d.ts +2 -0
  102. package/dist/views/receive-request/components/CreateTransferChoice.vue.d.ts +27 -0
  103. package/dist/views/receive-request/components/transfer-details/TransferDetailsV3.vue.d.ts +18 -0
  104. package/dist/views/receive-request/components/transfer-dialog/TransferDialogProps.d.ts +1 -0
  105. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
  106. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +102 -2
  107. package/dist/views/receive-request/composables/fn.d.ts +2 -1
  108. package/dist/views/receive-request/composables/fn.spec.d.ts +1 -0
  109. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +119 -3
  110. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +642 -13
  111. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +720 -14
  112. package/dist/views/receive-request/helper/po-version.d.ts +6 -0
  113. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +524 -10
  114. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +102 -2
  115. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +4 -0
  116. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +8 -0
  117. package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +12 -0
  118. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +24 -0
  119. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +24 -0
  120. package/dist/{vue-i18n-CwNxhUsM.js → vue-i18n-DDqVG60p.js} +291 -291
  121. package/dist/{xlsx.util-dMHkd6XK.js → xlsx.util-BzQcPwvM.js} +2 -2
  122. package/package.json +3 -3
  123. package/dist/ApprovalView-CpeNbbnJ.js +0 -242
  124. package/dist/BulkReceiveRequestView-BFFeVxQF.js +0 -2011
  125. package/dist/ClosingTemplateView-DikY2_9d.js +0 -2270
  126. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B9CWp_AG.js +0 -76
  127. package/dist/ReceiveRequestView-B1NWO9ih.js +0 -345
  128. package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-CT0KDVR4.js +0 -178
  129. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DxSXLCtP.js +0 -4660
  130. package/dist/feature-_v_0Btg8.js +0 -1136
package/dist/app.d.ts CHANGED
@@ -1199,6 +1199,7 @@ export declare const i18nMessages: {
1199
1199
  approveRequest: string;
1200
1200
  rejectRequest: string;
1201
1201
  processRequest: string;
1202
+ createFulfillment: string;
1202
1203
  receiveStock: string;
1203
1204
  completeReceive: string;
1204
1205
  closeRequest: string;
@@ -1217,6 +1218,21 @@ export declare const i18nMessages: {
1217
1218
  message: string;
1218
1219
  };
1219
1220
  };
1221
+ createDialog: {
1222
+ title: string;
1223
+ subtitle: string;
1224
+ source: string;
1225
+ myLocations: string;
1226
+ anotherBusiness: string;
1227
+ howToStart: string;
1228
+ template: string;
1229
+ templateDesc: string;
1230
+ templateExternalDisabled: string;
1231
+ blank: string;
1232
+ blankDesc: string;
1233
+ outletToOutletOnly: string;
1234
+ locationToLocationOnly: string;
1235
+ };
1220
1236
  update: {
1221
1237
  title: string;
1222
1238
  success: string;
@@ -1454,6 +1470,12 @@ export declare const i18nMessages: {
1454
1470
  status: string;
1455
1471
  };
1456
1472
  };
1473
+ connectedBusiness: {
1474
+ title: string;
1475
+ };
1476
+ businessNetwork: {
1477
+ title: string;
1478
+ };
1457
1479
  supplier: {
1458
1480
  title: string;
1459
1481
  delivery: {
@@ -2757,6 +2779,7 @@ export declare const i18nMessages: {
2757
2779
  approveRequest: string;
2758
2780
  rejectRequest: string;
2759
2781
  processRequest: string;
2782
+ createFulfillment: string;
2760
2783
  receiveStock: string;
2761
2784
  completeReceive: string;
2762
2785
  closeRequest: string;
@@ -2775,6 +2798,21 @@ export declare const i18nMessages: {
2775
2798
  message: string;
2776
2799
  };
2777
2800
  };
2801
+ createDialog: {
2802
+ title: string;
2803
+ subtitle: string;
2804
+ source: string;
2805
+ myLocations: string;
2806
+ anotherBusiness: string;
2807
+ howToStart: string;
2808
+ template: string;
2809
+ templateDesc: string;
2810
+ templateExternalDisabled: string;
2811
+ blank: string;
2812
+ blankDesc: string;
2813
+ outletToOutletOnly: string;
2814
+ locationToLocationOnly: string;
2815
+ };
2778
2816
  update: {
2779
2817
  title: string;
2780
2818
  success: string;
@@ -3012,6 +3050,12 @@ export declare const i18nMessages: {
3012
3050
  status: string;
3013
3051
  };
3014
3052
  };
3053
+ connectedBusiness: {
3054
+ title: string;
3055
+ };
3056
+ businessNetwork: {
3057
+ title: string;
3058
+ };
3015
3059
  supplier: {
3016
3060
  title: string;
3017
3061
  delivery: {
@@ -4318,6 +4362,7 @@ export declare const i18nMessages: {
4318
4362
  approveRequest: string;
4319
4363
  rejectRequest: string;
4320
4364
  processRequest: string;
4365
+ createFulfillment: string;
4321
4366
  receiveStock: string;
4322
4367
  completeReceive: string;
4323
4368
  closeRequest: string;
@@ -4336,6 +4381,21 @@ export declare const i18nMessages: {
4336
4381
  message: string;
4337
4382
  };
4338
4383
  };
4384
+ createDialog: {
4385
+ title: string;
4386
+ subtitle: string;
4387
+ source: string;
4388
+ myLocations: string;
4389
+ anotherBusiness: string;
4390
+ howToStart: string;
4391
+ template: string;
4392
+ templateDesc: string;
4393
+ templateExternalDisabled: string;
4394
+ blank: string;
4395
+ blankDesc: string;
4396
+ outletToOutletOnly: string;
4397
+ locationToLocationOnly: string;
4398
+ };
4339
4399
  update: {
4340
4400
  title: string;
4341
4401
  success: string;
@@ -4573,6 +4633,12 @@ export declare const i18nMessages: {
4573
4633
  status: string;
4574
4634
  };
4575
4635
  };
4636
+ connectedBusiness: {
4637
+ title: string;
4638
+ };
4639
+ businessNetwork: {
4640
+ title: string;
4641
+ };
4576
4642
  supplier: {
4577
4643
  title: string;
4578
4644
  delivery: {
@@ -5875,6 +5941,7 @@ export declare const i18nMessages: {
5875
5941
  approveRequest: string;
5876
5942
  rejectRequest: string;
5877
5943
  processRequest: string;
5944
+ createFulfillment: string;
5878
5945
  receiveStock: string;
5879
5946
  completeReceive: string;
5880
5947
  closeRequest: string;
@@ -5893,6 +5960,21 @@ export declare const i18nMessages: {
5893
5960
  message: string;
5894
5961
  };
5895
5962
  };
5963
+ createDialog: {
5964
+ title: string;
5965
+ subtitle: string;
5966
+ source: string;
5967
+ myLocations: string;
5968
+ anotherBusiness: string;
5969
+ howToStart: string;
5970
+ template: string;
5971
+ templateDesc: string;
5972
+ templateExternalDisabled: string;
5973
+ blank: string;
5974
+ blankDesc: string;
5975
+ outletToOutletOnly: string;
5976
+ locationToLocationOnly: string;
5977
+ };
5896
5978
  update: {
5897
5979
  title: string;
5898
5980
  success: string;
@@ -6130,6 +6212,12 @@ export declare const i18nMessages: {
6130
6212
  status: string;
6131
6213
  };
6132
6214
  };
6215
+ connectedBusiness: {
6216
+ title: string;
6217
+ };
6218
+ businessNetwork: {
6219
+ title: string;
6220
+ };
6133
6221
  supplier: {
6134
6222
  title: string;
6135
6223
  delivery: {
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { az as s, aA as e, aB as o, ay as t, a6 as i, a as m } from "./app-VqA3hs6t.js";
2
+ import { aA as s, aB as e, aC as o, az as t, a9 as i, a as m } from "./app-37NZKFUI.js";
3
3
  export {
4
4
  s as FmApp,
5
5
  e as InventoryBindingForm,
@@ -1,4 +1,4 @@
1
- import { m as u } from "./app-VqA3hs6t.js";
1
+ import { m as u } from "./app-37NZKFUI.js";
2
2
  import { useCoreStore as m } from "@feedmepos/mf-common";
3
3
  const i = u((s, a) => {
4
4
  function r() {
@@ -1,6 +1,6 @@
1
1
  import type { ISelectItem } from '@feedmepos/ui-library';
2
2
  import FuzzySearch from 'fuzzy-search';
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  search: import("vue").PropType<string>;
5
5
  modelValue: {
6
6
  type: import("vue").PropType<any>;
@@ -50,5 +50,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
50
50
  options: {
51
51
  type: import("vue").PropType<FuzzySearch.Options>;
52
52
  };
53
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
53
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
54
+ "item-prefix"?(_: {
55
+ option: ISelectItem;
56
+ }): any;
57
+ }>;
54
58
  export default _default;
59
+ type __VLS_WithTemplateSlots<T, S> = T & {
60
+ new (): {
61
+ $slots: S;
62
+ };
63
+ };
@@ -0,0 +1,37 @@
1
+ import { m as i } from "./app-37NZKFUI.js";
2
+ import { useCoreStore as u } from "@feedmepos/mf-common";
3
+ const $ = i((t, r) => {
4
+ const a = u();
5
+ return {
6
+ async browse() {
7
+ var n;
8
+ const s = ((n = a.currentBusiness.value) == null ? void 0 : n._id) ?? "", e = `${t.inventoryBackendUrl}/${s}/connected-business-mapping`;
9
+ return await r.get(e);
10
+ },
11
+ /** Locations under a linked connected business, used as the transfer source. */
12
+ async browseLocations(s) {
13
+ const e = `${t.inventoryBackendUrl}/${s}/inventory-locations`;
14
+ return await r.get(e);
15
+ },
16
+ /** The partner connected business's catalog SKUs (with their units). */
17
+ async browseSkus(s) {
18
+ const e = `${t.inventoryBackendUrl}/business_${s}`, n = await r.get(e);
19
+ return (n == null ? void 0 : n.sku) ?? [];
20
+ },
21
+ /** Admin-only (enforced server-side). */
22
+ async create(s) {
23
+ var o;
24
+ const e = ((o = a.currentBusiness.value) == null ? void 0 : o._id) ?? "", n = `${t.inventoryBackendUrl}/${e}/connected-business-mapping`;
25
+ return await r.post(n, s);
26
+ },
27
+ /** Admin-only (enforced server-side). */
28
+ async update(s, e) {
29
+ var c;
30
+ const n = ((c = a.currentBusiness.value) == null ? void 0 : c._id) ?? "", o = `${t.inventoryBackendUrl}/${n}/connected-business-mapping/${s}`;
31
+ return await r.put(o, e);
32
+ }
33
+ };
34
+ });
35
+ export {
36
+ $ as u
37
+ };
@@ -1,4 +1,4 @@
1
- import { d as l } from "./dayjs.min-vhlHpfOd.js";
1
+ import { d as l } from "./dayjs.min-BKUldDi9.js";
2
2
  const T = new Intl.DateTimeFormat("en-US", {
3
3
  year: "numeric",
4
4
  month: "2-digit",
@@ -1,4 +1,4 @@
1
- import { y as Q, Y as K } from "./app-VqA3hs6t.js";
1
+ import { y as Q, Y as K } from "./app-37NZKFUI.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, k) {
@@ -1,5 +1,5 @@
1
- import "./dayjs.min-vhlHpfOd.js";
2
- import "./app-VqA3hs6t.js";
1
+ import "./dayjs.min-BKUldDi9.js";
2
+ import "./app-37NZKFUI.js";
3
3
  function m(a) {
4
4
  function t(o, n = !0) {
5
5
  const e = Math.round(Math.log10(o));
@@ -1,4 +1,4 @@
1
- import { c as a, a3 as u } from "./app-VqA3hs6t.js";
1
+ import { c as a, a6 as u } from "./app-37NZKFUI.js";
2
2
  import { getCurrentInstance as d, reactive as l, watch as o } from "vue";
3
3
  function g(i = "modelValue", e) {
4
4
  var n, c;
@@ -1,4 +1,4 @@
1
- import { m as p } from "./app-VqA3hs6t.js";
1
+ import { m as p } from "./app-37NZKFUI.js";
2
2
  import { useCoreStore as c } from "@feedmepos/mf-common";
3
3
  const u = p((s, n) => {
4
4
  function o() {