@feedmepos/mf-inventory-portal 0.0.25-dev.2 → 0.0.25-dev.21

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 (115) hide show
  1. package/dist/App-D6WBVERc.js +278 -0
  2. package/dist/ApprovalView-BIBoagE8.js +146 -0
  3. package/dist/{BindingsDialog-qeGh3ND8.js → BindingsDialog-DHRRkK1Z.js} +6 -6
  4. package/dist/{BindingsPicker-SfiA8fmD.js → BindingsPicker-DohvMDDF.js} +3 -3
  5. package/dist/{BindingsTable-BjW-eJr6.js → BindingsTable-C_JwU9ei.js} +6 -6
  6. package/dist/ClosingDraftView-BBebhUj-.js +1308 -0
  7. package/dist/ClosingTemplateView-CXRN19-D.js +1859 -0
  8. package/dist/FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js +34 -0
  9. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BJufUQNE.js +215 -0
  10. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-5rldKjyh.js → FmUnitInput.vue_vue_type_script_setup_true_lang-C5Xk19jY.js} +52 -52
  11. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-7HNI82u-.js +51 -0
  12. package/dist/{IngredientGroupView-CGyyFyvj.js → IngredientGroupView-l2bAc1Kj.js} +1 -1
  13. package/dist/{IngredientsView-BLKk-VxQ.js → IngredientsView-zDXt7KEx.js} +394 -382
  14. package/dist/{IntegrationView-C6gwvZ9b.js → IntegrationView-BYnlAPrP.js} +660 -623
  15. package/dist/{InventoryBindingForm-BB3ZN3Lx.js → InventoryBindingForm-BuweG4Vl.js} +1 -1
  16. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-PT7Quw7j.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DgxN0U4N.js} +99 -99
  17. package/dist/{InventoryBindingSummary-yr0oie3c.js → InventoryBindingSummary-BpEo0JsK.js} +1 -1
  18. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DjJGUE9a.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CcjzkzCt.js} +1 -1
  19. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-O1mYRa5W.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Ej20iSHA.js} +15 -15
  20. package/dist/PublishView-DCZ0zIaP.js +222 -0
  21. package/dist/{PurchaseOrderPrintPreview-Q_9-KVNj.js → PurchaseOrderPrintPreview-Cag7UEvz.js} +1 -1
  22. package/dist/ReceiveRequestView-ChIJGA98.js +2319 -0
  23. package/dist/{RecipeView-DBfugmRY.js → RecipeView-bBshe0eF.js} +32 -31
  24. package/dist/{index-CgspzSQi.js → StockView-D6-oKpAC.js} +3577 -1764
  25. package/dist/{SupplierView-BQViPyfj.js → SupplierView-dyIcGp9Q.js} +12 -11
  26. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-C_7wbQow.js +1771 -0
  27. package/dist/TransferTemplateView-D2rxV0k_.js +1660 -0
  28. package/dist/{UnitView-CrbFeWaB.js → UnitView-DVS5Az5c.js} +14 -14
  29. package/dist/{WarehouseView-Dy5GljxY.js → WarehouseView-CR03TpnA.js} +332 -314
  30. package/dist/api/closing-draft.d.ts +1 -0
  31. package/dist/api/inventory.d.ts +9 -6
  32. package/dist/api/purchase-order.d.ts +2 -1
  33. package/dist/{app-D0O4wr2X.js → app-oV9ISfFL.js} +28343 -28141
  34. package/dist/app.js +1 -1
  35. package/dist/components/FmAutocompleteTextField.vue.d.ts +31 -0
  36. package/dist/components/FmCustomAttribute.vue.d.ts +3 -8
  37. package/dist/components/FmLockableField.vue.d.ts +3 -0
  38. package/dist/components/FmMultiselectDialog.d.ts +46 -0
  39. package/dist/components/FmMultiselectDialog.vue.d.ts +20 -3
  40. package/dist/components/FmMultiselectDialogProps.d.ts +2 -0
  41. package/dist/components/MountListener.vue.d.ts +15 -0
  42. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +1 -1
  43. package/dist/components/shell/inventory/binding-ui.vue.d.ts +1 -1
  44. package/dist/{decimal-CPGmj9BT.js → decimal-C7zgfr5G.js} +1 -1
  45. package/dist/feature-CDQQ-mV9.js +1003 -0
  46. package/dist/{format-unit-display-CMM6DZJj.js → format-unit-display-CVBzrNQ4.js} +334 -327
  47. package/dist/helper/fuzzy.d.ts +10 -0
  48. package/dist/index-0VS4cuk3.js +35546 -0
  49. package/dist/{stock-9nTT4Amy.js → stock-BIP_NIK_.js} +3 -3
  50. package/dist/stores/feature.d.ts +4 -7
  51. package/dist/stores/integration/netsuite.d.ts +5 -0
  52. package/dist/stores/inventory.d.ts +135 -8
  53. package/dist/stores/location.d.ts +100 -0
  54. package/dist/stores/warehouse.d.ts +1 -0
  55. package/dist/style.css +1 -1
  56. package/dist/{supplier-CH4EwBZM.js → supplier-DUQ2VSMg.js} +1 -1
  57. package/dist/tsconfig.app.tsbuildinfo +1 -1
  58. package/dist/use-ingredient-select-dialog-VkU5_Aaj.js +51 -0
  59. package/dist/{use-inventory-binding-dialog-Dli3xtq4.js → use-inventory-binding-dialog-BXp0z3v_.js} +1 -1
  60. package/dist/views/adjustment-template/wastage-template/actions.d.ts +24 -0
  61. package/dist/views/adjustment-template/wastage-template/table.d.ts +24 -0
  62. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +8 -4
  63. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +4 -1
  64. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +48 -24
  65. package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +1 -1
  66. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -1
  67. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +36 -12
  68. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +36 -12
  69. package/dist/views/dev/components/AutocompleteTextField.vue.d.ts +2 -0
  70. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +3 -3
  71. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
  72. package/dist/views/ingredients/composables/use-ingredient-select-dialog.d.ts +16 -0
  73. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
  74. package/dist/views/receive-request/components/netsuite/NetSuiteProps.d.ts +2 -0
  75. package/dist/views/receive-request/components/transfer-details/TransferDetails.vue.d.ts +1387 -0
  76. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +5 -1
  77. package/dist/views/receive-request/components/transfer-dialog/TransferDialogProps.d.ts +3 -0
  78. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -2
  79. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +48 -2
  80. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +490 -2
  81. package/dist/views/receive-request/components/transfer-form/components/TransferSubItemTable.vue.d.ts +72 -0
  82. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +25 -2
  83. package/dist/views/receive-request/components/transfer-form/helpers/calculate-sub-item-total.helper.d.ts +4 -0
  84. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +693 -35
  85. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +684 -35
  86. package/dist/views/receive-request/helper/po-to-po-template.util.d.ts +1 -0
  87. package/dist/views/receive-request/helper/print-po.d.ts +9 -2
  88. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -2
  89. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItem.vue.d.ts +270 -2
  90. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +286 -0
  91. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateSubItem.vue.d.ts +74 -0
  92. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateSubItemTable.vue.d.ts +92 -0
  93. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +8 -0
  94. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +1 -0
  95. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +36 -2
  96. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +456 -12
  97. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +456 -12
  98. package/dist/views/transfer-template/helpers/location-to-po-supplier.util.d.ts +75 -0
  99. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +2 -0
  100. package/dist/{vue-i18n-BcYt8MNZ.js → vue-i18n-CCd5_SRR.js} +212 -212
  101. package/package.json +3 -3
  102. package/dist/App-oKNdl2la.js +0 -276
  103. package/dist/ApprovalView-hDGkcBDy.js +0 -138
  104. package/dist/ClosingDraftView-CEeeL7W4.js +0 -1225
  105. package/dist/ClosingTemplateView-CkS9e0MV.js +0 -1819
  106. package/dist/FmCustomAttribute.vue_vue_type_script_setup_true_lang-CIBSvY0s.js +0 -142
  107. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dg_7ELeT.js +0 -286
  108. package/dist/PublishView-ByXdmuJL.js +0 -192
  109. package/dist/ReceiveRequestView-CApg7LGM.js +0 -1876
  110. package/dist/StockView-D6o_oUlz.js +0 -1817
  111. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-D2skLe2M.js +0 -1327
  112. package/dist/TransferTemplateView-DVesObTd.js +0 -1284
  113. package/dist/components/FmCustomAttribute2.vue.d.ts +0 -18
  114. package/dist/index-P5iEcRw3.js +0 -29202
  115. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +0 -2628
@@ -0,0 +1,51 @@
1
+ import { defineStore as y } from "pinia";
2
+ import { a as S, H as b } from "./app-oV9ISfFL.js";
3
+ import { useDialog as A } from "@feedmepos/ui-library";
4
+ import { useI18n as I } from "@feedmepos/mf-common";
5
+ const h = y(
6
+ "ingredientSelectDialog",
7
+ function() {
8
+ const { t: s } = I(), n = S(), m = A();
9
+ async function a(l, u) {
10
+ const p = n.skus, g = u ?? ((t) => n.skuByCode[t]), d = p.map(
11
+ (t) => {
12
+ var e, o, i, c;
13
+ return {
14
+ label: t.name,
15
+ sublabel: t.code,
16
+ value: t._id,
17
+ searchKeys: (e = t.customAttributes) != null && e.tag ? [(o = t.customAttributes) == null ? void 0 : o.tag] : void 0,
18
+ tags: (i = t.customAttributes) != null && i.tag ? [(c = t.customAttributes) == null ? void 0 : c.tag] : void 0
19
+ };
20
+ }
21
+ ), f = l, { promise: v, resolve: r } = Promise.withResolvers();
22
+ return m.open({
23
+ title: s("inventory.transfer.form.items.selectItem"),
24
+ closeButton: !0,
25
+ contentComponent: b,
26
+ contentComponentProps: {
27
+ modelValue: f,
28
+ items: d,
29
+ virtualScroll: !0,
30
+ onClose: () => r(null)
31
+ },
32
+ primaryActions: {
33
+ text: s("common.confirm"),
34
+ close: !0
35
+ },
36
+ secondaryActions: {
37
+ text: s("common.close"),
38
+ close: !0,
39
+ variant: "tertiary"
40
+ }
41
+ }).onPrimary((t) => {
42
+ const e = t.map((o) => g(o));
43
+ r(e);
44
+ }), v;
45
+ }
46
+ return { promptSelectIngredients: a };
47
+ }
48
+ );
49
+ export {
50
+ h as u
51
+ };
@@ -1,4 +1,4 @@
1
- import { a as g, J as y } from "./app-D0O4wr2X.js";
1
+ import { a as g, H as y } from "./app-oV9ISfFL.js";
2
2
  import { useDialog as C } from "@feedmepos/ui-library";
3
3
  function P() {
4
4
  const c = g(), u = C();
@@ -36,6 +36,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
36
36
  acceptRequest: boolean;
37
37
  dbName: string;
38
38
  doc: {
39
+ customAttributes?: Record<string, any> | null | undefined;
39
40
  _id: string;
40
41
  businessId: string;
41
42
  profile: {
@@ -117,6 +118,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
117
118
  };
118
119
  };
119
120
  }[] | null | undefined;
121
+ locationTags?: string[] | null | undefined;
120
122
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
121
123
  _id: string;
122
124
  items: {
@@ -145,6 +147,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
145
147
  acceptRequest: boolean;
146
148
  dbName: string;
147
149
  doc: {
150
+ customAttributes?: Record<string, any> | null | undefined;
148
151
  _id: string;
149
152
  businessId: string;
150
153
  profile: {
@@ -226,6 +229,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
226
229
  };
227
230
  };
228
231
  }[] | null | undefined;
232
+ locationTags?: string[] | null | undefined;
229
233
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
230
234
  _id: string;
231
235
  items: {
@@ -254,6 +258,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
254
258
  acceptRequest: boolean;
255
259
  dbName: string;
256
260
  doc: {
261
+ customAttributes?: Record<string, any> | null | undefined;
257
262
  _id: string;
258
263
  businessId: string;
259
264
  profile: {
@@ -335,6 +340,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
335
340
  };
336
341
  };
337
342
  }[] | null | undefined;
343
+ locationTags?: string[] | null | undefined;
338
344
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
339
345
  _id: string;
340
346
  items: {
@@ -362,6 +368,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
362
368
  acceptRequest: boolean;
363
369
  dbName: string;
364
370
  doc: {
371
+ customAttributes?: Record<string, any> | null | undefined;
365
372
  _id: string;
366
373
  businessId: string;
367
374
  profile: {
@@ -443,6 +450,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
443
450
  };
444
451
  };
445
452
  }[] | null | undefined;
453
+ locationTags?: string[] | null | undefined;
446
454
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
447
455
  _id: string;
448
456
  items: {
@@ -489,6 +497,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
489
497
  acceptRequest: boolean;
490
498
  dbName: string;
491
499
  doc: {
500
+ customAttributes?: Record<string, any> | null | undefined;
492
501
  _id: string;
493
502
  businessId: string;
494
503
  profile: {
@@ -570,6 +579,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
570
579
  };
571
580
  };
572
581
  }[] | null | undefined;
582
+ locationTags?: string[] | null | undefined;
573
583
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
574
584
  _id: string;
575
585
  items: {
@@ -598,6 +608,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
598
608
  acceptRequest: boolean;
599
609
  dbName: string;
600
610
  doc: {
611
+ customAttributes?: Record<string, any> | null | undefined;
601
612
  _id: string;
602
613
  businessId: string;
603
614
  profile: {
@@ -679,6 +690,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
679
690
  };
680
691
  };
681
692
  }[] | null | undefined;
693
+ locationTags?: string[] | null | undefined;
682
694
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
683
695
  _id: string;
684
696
  items: {
@@ -707,6 +719,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
707
719
  acceptRequest: boolean;
708
720
  dbName: string;
709
721
  doc: {
722
+ customAttributes?: Record<string, any> | null | undefined;
710
723
  _id: string;
711
724
  businessId: string;
712
725
  profile: {
@@ -788,6 +801,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
788
801
  };
789
802
  };
790
803
  }[] | null | undefined;
804
+ locationTags?: string[] | null | undefined;
791
805
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
792
806
  _id: string;
793
807
  items: {
@@ -815,6 +829,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
815
829
  acceptRequest: boolean;
816
830
  dbName: string;
817
831
  doc: {
832
+ customAttributes?: Record<string, any> | null | undefined;
818
833
  _id: string;
819
834
  businessId: string;
820
835
  profile: {
@@ -896,6 +911,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
896
911
  };
897
912
  };
898
913
  }[] | null | undefined;
914
+ locationTags?: string[] | null | undefined;
899
915
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
900
916
  _id: string;
901
917
  items: {
@@ -942,6 +958,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
942
958
  acceptRequest: boolean;
943
959
  dbName: string;
944
960
  doc: {
961
+ customAttributes?: Record<string, any> | null | undefined;
945
962
  _id: string;
946
963
  businessId: string;
947
964
  profile: {
@@ -1023,6 +1040,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1023
1040
  };
1024
1041
  };
1025
1042
  }[] | null | undefined;
1043
+ locationTags?: string[] | null | undefined;
1026
1044
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
1027
1045
  _id: string;
1028
1046
  items: {
@@ -1051,6 +1069,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1051
1069
  acceptRequest: boolean;
1052
1070
  dbName: string;
1053
1071
  doc: {
1072
+ customAttributes?: Record<string, any> | null | undefined;
1054
1073
  _id: string;
1055
1074
  businessId: string;
1056
1075
  profile: {
@@ -1132,6 +1151,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1132
1151
  };
1133
1152
  };
1134
1153
  }[] | null | undefined;
1154
+ locationTags?: string[] | null | undefined;
1135
1155
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
1136
1156
  _id: string;
1137
1157
  items: {
@@ -1160,6 +1180,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1160
1180
  acceptRequest: boolean;
1161
1181
  dbName: string;
1162
1182
  doc: {
1183
+ customAttributes?: Record<string, any> | null | undefined;
1163
1184
  _id: string;
1164
1185
  businessId: string;
1165
1186
  profile: {
@@ -1241,6 +1262,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1241
1262
  };
1242
1263
  };
1243
1264
  }[] | null | undefined;
1265
+ locationTags?: string[] | null | undefined;
1244
1266
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
1245
1267
  _id: string;
1246
1268
  items: {
@@ -1268,6 +1290,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1268
1290
  acceptRequest: boolean;
1269
1291
  dbName: string;
1270
1292
  doc: {
1293
+ customAttributes?: Record<string, any> | null | undefined;
1271
1294
  _id: string;
1272
1295
  businessId: string;
1273
1296
  profile: {
@@ -1349,6 +1372,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1349
1372
  };
1350
1373
  };
1351
1374
  }[] | null | undefined;
1375
+ locationTags?: string[] | null | undefined;
1352
1376
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
1353
1377
  _id: string;
1354
1378
  items: {
@@ -14,6 +14,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
14
14
  acceptRequest: boolean;
15
15
  dbName: string;
16
16
  doc: {
17
+ customAttributes?: Record<string, any> | null | undefined;
17
18
  _id: string;
18
19
  businessId: string;
19
20
  profile: {
@@ -95,6 +96,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
95
96
  };
96
97
  };
97
98
  }[] | null | undefined;
99
+ locationTags?: string[] | null | undefined;
98
100
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
99
101
  _id: string;
100
102
  items: {
@@ -139,6 +141,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
139
141
  acceptRequest: boolean;
140
142
  dbName: string;
141
143
  doc: {
144
+ customAttributes?: Record<string, any> | null | undefined;
142
145
  _id: string;
143
146
  businessId: string;
144
147
  profile: {
@@ -220,6 +223,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
220
223
  };
221
224
  };
222
225
  }[] | null | undefined;
226
+ locationTags?: string[] | null | undefined;
223
227
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
224
228
  _id: string;
225
229
  items: {
@@ -242,6 +246,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
242
246
  acceptRequest: boolean;
243
247
  dbName: string;
244
248
  doc: {
249
+ customAttributes?: Record<string, any> | null | undefined;
245
250
  _id: string;
246
251
  businessId: string;
247
252
  profile: {
@@ -323,6 +328,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
323
328
  };
324
329
  };
325
330
  }[] | null | undefined;
331
+ locationTags?: string[] | null | undefined;
326
332
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
327
333
  _id: string;
328
334
  items: {
@@ -345,6 +351,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
345
351
  acceptRequest: boolean;
346
352
  dbName: string;
347
353
  doc: {
354
+ customAttributes?: Record<string, any> | null | undefined;
348
355
  _id: string;
349
356
  businessId: string;
350
357
  profile: {
@@ -426,6 +433,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
426
433
  };
427
434
  };
428
435
  }[] | null | undefined;
436
+ locationTags?: string[] | null | undefined;
429
437
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
430
438
  _id: string;
431
439
  items: {
@@ -463,6 +471,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
463
471
  acceptRequest: boolean;
464
472
  dbName: string;
465
473
  doc: {
474
+ customAttributes?: Record<string, any> | null | undefined;
466
475
  _id: string;
467
476
  businessId: string;
468
477
  profile: {
@@ -544,6 +553,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
544
553
  };
545
554
  };
546
555
  }[] | null | undefined;
556
+ locationTags?: string[] | null | undefined;
547
557
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
548
558
  _id: string;
549
559
  items: {
@@ -588,6 +598,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
588
598
  acceptRequest: boolean;
589
599
  dbName: string;
590
600
  doc: {
601
+ customAttributes?: Record<string, any> | null | undefined;
591
602
  _id: string;
592
603
  businessId: string;
593
604
  profile: {
@@ -669,6 +680,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
669
680
  };
670
681
  };
671
682
  }[] | null | undefined;
683
+ locationTags?: string[] | null | undefined;
672
684
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
673
685
  _id: string;
674
686
  items: {
@@ -691,6 +703,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
691
703
  acceptRequest: boolean;
692
704
  dbName: string;
693
705
  doc: {
706
+ customAttributes?: Record<string, any> | null | undefined;
694
707
  _id: string;
695
708
  businessId: string;
696
709
  profile: {
@@ -772,6 +785,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
772
785
  };
773
786
  };
774
787
  }[] | null | undefined;
788
+ locationTags?: string[] | null | undefined;
775
789
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
776
790
  _id: string;
777
791
  items: {
@@ -794,6 +808,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
794
808
  acceptRequest: boolean;
795
809
  dbName: string;
796
810
  doc: {
811
+ customAttributes?: Record<string, any> | null | undefined;
797
812
  _id: string;
798
813
  businessId: string;
799
814
  profile: {
@@ -875,6 +890,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
875
890
  };
876
891
  };
877
892
  }[] | null | undefined;
893
+ locationTags?: string[] | null | undefined;
878
894
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
879
895
  _id: string;
880
896
  items: {
@@ -912,6 +928,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
912
928
  acceptRequest: boolean;
913
929
  dbName: string;
914
930
  doc: {
931
+ customAttributes?: Record<string, any> | null | undefined;
915
932
  _id: string;
916
933
  businessId: string;
917
934
  profile: {
@@ -993,6 +1010,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
993
1010
  };
994
1011
  };
995
1012
  }[] | null | undefined;
1013
+ locationTags?: string[] | null | undefined;
996
1014
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
997
1015
  _id: string;
998
1016
  items: {
@@ -1037,6 +1055,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
1037
1055
  acceptRequest: boolean;
1038
1056
  dbName: string;
1039
1057
  doc: {
1058
+ customAttributes?: Record<string, any> | null | undefined;
1040
1059
  _id: string;
1041
1060
  businessId: string;
1042
1061
  profile: {
@@ -1118,6 +1137,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
1118
1137
  };
1119
1138
  };
1120
1139
  }[] | null | undefined;
1140
+ locationTags?: string[] | null | undefined;
1121
1141
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
1122
1142
  _id: string;
1123
1143
  items: {
@@ -1140,6 +1160,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
1140
1160
  acceptRequest: boolean;
1141
1161
  dbName: string;
1142
1162
  doc: {
1163
+ customAttributes?: Record<string, any> | null | undefined;
1143
1164
  _id: string;
1144
1165
  businessId: string;
1145
1166
  profile: {
@@ -1221,6 +1242,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
1221
1242
  };
1222
1243
  };
1223
1244
  }[] | null | undefined;
1245
+ locationTags?: string[] | null | undefined;
1224
1246
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
1225
1247
  _id: string;
1226
1248
  items: {
@@ -1243,6 +1265,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
1243
1265
  acceptRequest: boolean;
1244
1266
  dbName: string;
1245
1267
  doc: {
1268
+ customAttributes?: Record<string, any> | null | undefined;
1246
1269
  _id: string;
1247
1270
  businessId: string;
1248
1271
  profile: {
@@ -1324,6 +1347,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
1324
1347
  };
1325
1348
  };
1326
1349
  }[] | null | undefined;
1350
+ locationTags?: string[] | null | undefined;
1327
1351
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
1328
1352
  _id: string;
1329
1353
  items: {
@@ -23,6 +23,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
23
23
  negativeStockItems?: {
24
24
  remark?: string | null | undefined;
25
25
  sku: {
26
+ customAttributes?: Record<string, any> | null | undefined;
26
27
  trackingMeasurement?: string | null | undefined;
27
28
  convert?: {
28
29
  measurement?: string | null | undefined;
@@ -66,7 +67,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
66
67
  low: number;
67
68
  mid: number;
68
69
  } | null | undefined;
69
- customAttributes?: Record<string, any> | null | undefined;
70
70
  unit: {
71
71
  _id: string;
72
72
  name: string;
@@ -111,6 +111,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
111
111
  items: {
112
112
  remark?: string | null | undefined;
113
113
  sku: {
114
+ customAttributes?: Record<string, any> | null | undefined;
114
115
  trackingMeasurement?: string | null | undefined;
115
116
  convert?: {
116
117
  measurement?: string | null | undefined;
@@ -154,7 +155,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
154
155
  low: number;
155
156
  mid: number;
156
157
  } | null | undefined;
157
- customAttributes?: Record<string, any> | null | undefined;
158
158
  unit: {
159
159
  _id: string;
160
160
  name: string;
@@ -214,6 +214,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
214
214
  acceptRequest: boolean;
215
215
  dbName: string;
216
216
  doc: {
217
+ customAttributes?: Record<string, any> | null | undefined;
217
218
  _id: string;
218
219
  businessId: string;
219
220
  profile: {
@@ -295,6 +296,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
295
296
  };
296
297
  };
297
298
  }[] | null | undefined;
299
+ locationTags?: string[] | null | undefined;
298
300
  updatedBy?: {
299
301
  name: string;
300
302
  id: string;
@@ -334,6 +336,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
334
336
  negativeStockItems?: {
335
337
  remark?: string | null | undefined;
336
338
  sku: {
339
+ customAttributes?: Record<string, any> | null | undefined;
337
340
  trackingMeasurement?: string | null | undefined;
338
341
  convert?: {
339
342
  measurement?: string | null | undefined;
@@ -377,7 +380,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
377
380
  low: number;
378
381
  mid: number;
379
382
  } | null | undefined;
380
- customAttributes?: Record<string, any> | null | undefined;
381
383
  unit: {
382
384
  _id: string;
383
385
  name: string;
@@ -422,6 +424,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
422
424
  items: {
423
425
  remark?: string | null | undefined;
424
426
  sku: {
427
+ customAttributes?: Record<string, any> | null | undefined;
425
428
  trackingMeasurement?: string | null | undefined;
426
429
  convert?: {
427
430
  measurement?: string | null | undefined;
@@ -465,7 +468,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
465
468
  low: number;
466
469
  mid: number;
467
470
  } | null | undefined;
468
- customAttributes?: Record<string, any> | null | undefined;
469
471
  unit: {
470
472
  _id: string;
471
473
  name: string;
@@ -525,6 +527,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
525
527
  acceptRequest: boolean;
526
528
  dbName: string;
527
529
  doc: {
530
+ customAttributes?: Record<string, any> | null | undefined;
528
531
  _id: string;
529
532
  businessId: string;
530
533
  profile: {
@@ -606,6 +609,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
606
609
  };
607
610
  };
608
611
  }[] | null | undefined;
612
+ locationTags?: string[] | null | undefined;
609
613
  updatedBy?: {
610
614
  name: string;
611
615
  id: string;
@@ -3,6 +3,7 @@ export declare const useClosingDraftActions: import("pinia").StoreDefinition<"cl
3
3
  closeDraftDialog: () => void;
4
4
  approveDraft: (draft: FdoClosingDraft, onFinished?: Function) => void;
5
5
  rejectDraft: (draft: FdoClosingDraft, onFinished?: Function) => void;
6
+ syncDraft: (draft: FdoClosingDraft, onFinished?: Function) => Promise<void>;
6
7
  exportDraft: (draft: FdoClosingDraft, skuBalances?: FdoSkuBalance[]) => Promise<void>;
7
8
  viewClosingDraftShow: import("vue").Ref<boolean, boolean>;
8
9
  viewClosingDraftProps: import("vue").Ref<any, any>;
@@ -11,6 +12,7 @@ export declare const useClosingDraftActions: import("pinia").StoreDefinition<"cl
11
12
  closeDraftDialog: () => void;
12
13
  approveDraft: (draft: FdoClosingDraft, onFinished?: Function) => void;
13
14
  rejectDraft: (draft: FdoClosingDraft, onFinished?: Function) => void;
15
+ syncDraft: (draft: FdoClosingDraft, onFinished?: Function) => Promise<void>;
14
16
  exportDraft: (draft: FdoClosingDraft, skuBalances?: FdoSkuBalance[]) => Promise<void>;
15
17
  viewClosingDraftShow: import("vue").Ref<boolean, boolean>;
16
18
  viewClosingDraftProps: import("vue").Ref<any, any>;
@@ -19,7 +21,8 @@ export declare const useClosingDraftActions: import("pinia").StoreDefinition<"cl
19
21
  closeDraftDialog: () => void;
20
22
  approveDraft: (draft: FdoClosingDraft, onFinished?: Function) => void;
21
23
  rejectDraft: (draft: FdoClosingDraft, onFinished?: Function) => void;
24
+ syncDraft: (draft: FdoClosingDraft, onFinished?: Function) => Promise<void>;
22
25
  exportDraft: (draft: FdoClosingDraft, skuBalances?: FdoSkuBalance[]) => Promise<void>;
23
26
  viewClosingDraftShow: import("vue").Ref<boolean, boolean>;
24
27
  viewClosingDraftProps: import("vue").Ref<any, any>;
25
- }, "approveDraft" | "rejectDraft" | "viewDraft" | "closeDraftDialog" | "exportDraft">>;
28
+ }, "approveDraft" | "rejectDraft" | "viewDraft" | "closeDraftDialog" | "syncDraft" | "exportDraft">>;