@feedmepos/mf-inventory-portal 1.7.0-dev.4 → 1.7.0-dev.6

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 (95) hide show
  1. package/dist/{App-DeC2navf.js → App-NlIy4RUv.js} +4 -4
  2. package/dist/{ApprovalView-Ll3yriHn.js → ApprovalView-E7y0ueFH.js} +8 -8
  3. package/dist/{BindingsDialog-Cv4Zu2F0.js → BindingsDialog-BNApImJz.js} +2 -2
  4. package/dist/{BindingsPicker-DKFERJrm.js → BindingsPicker-DRWs430b.js} +2 -2
  5. package/dist/{BindingsTable-DYDYjCUR.js → BindingsTable-BC1TgKaN.js} +3 -3
  6. package/dist/{BulkReceiveRequestView-CKfleSRf.js → BulkReceiveRequestView-3XmccTDH.js} +19 -19
  7. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DxWi3ZtP.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DW71yYOY.js} +1 -1
  8. package/dist/{ClosingDraftView-BYZqPzZs.js → ClosingDraftView-DUv-k-RN.js} +15 -15
  9. package/dist/{ClosingHistoryView-BcR4b3Kj.js → ClosingHistoryView-CGb32hip.js} +5 -5
  10. package/dist/{ClosingTemplateView-g31G_LG5.js → ClosingTemplateView-DtxeqHgX.js} +14 -14
  11. package/dist/{DefaultView-DBkHvTP8.js → DefaultView-vIumMOKt.js} +2 -2
  12. package/dist/{DeliveryOrderPrintPreview-ucBFXY9y.js → DeliveryOrderPrintPreview-DhLgl3uz.js} +2 -2
  13. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-CpVW3gmZ.js → EmailDialog.vue_vue_type_script_setup_true_lang-Cn2ub5XB.js} +23 -23
  14. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BIz6_9Xp.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-OReBYvpY.js} +1 -1
  15. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-NSY8nxCB.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CNkXEMRd.js} +2 -2
  16. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B1_hJbXI.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DiyqG-gq.js} +2 -2
  17. package/dist/{FmMultiselectDialog-ygX4I3P5.js → FmMultiselectDialog-BKUDjNe8.js} +2 -2
  18. package/dist/{FmMultiselectDialog-Bx9ge3I3.js → FmMultiselectDialog-Ckl1Yv9A.js} +1 -1
  19. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-C9H3UdZI.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D-dqtdHm.js} +5 -5
  20. package/dist/{ImportView-DScz2ZpL.js → ImportView-B2dZLlIQ.js} +6 -6
  21. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DTge-l1N.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CZN7bMba.js} +1 -1
  22. package/dist/{IngredientGroupView-CvacPz_b.js → IngredientGroupView-B8uTaewu.js} +5 -5
  23. package/dist/{IngredientsView-Cxy6Y5CE.js → IngredientsView-0pIpqaYP.js} +15 -15
  24. package/dist/{IntegrationExplorerView-DbbXB3cI.js → IntegrationExplorerView-m340FRkF.js} +4 -4
  25. package/dist/{IntegrationView-Bnm4WJtL.js → IntegrationView-CR63stDu.js} +13 -13
  26. package/dist/{InventoryBindingForm-CDrRxrjd.js → InventoryBindingForm-DxwGujF1.js} +1 -1
  27. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BumG-qV9.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CuXUsDzD.js} +5 -5
  28. package/dist/{InventoryBindingSummary-DhxePtL1.js → InventoryBindingSummary-BZC8PmSy.js} +1 -1
  29. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BzRKEF5I.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DUQxKXKO.js} +1 -1
  30. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-B0sZMJqU.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DhabkmeS.js} +1 -1
  31. package/dist/ProductionView-DGK7ari8.js +1441 -0
  32. package/dist/{PublishView-BfG3HqBC.js → PublishView-C2WdbS4L.js} +3 -3
  33. package/dist/{PurchaseOrderPrintPreview-DVZk61SY.js → PurchaseOrderPrintPreview-DbB68sX0.js} +2 -2
  34. package/dist/{ReceiveRequestView-Ox94M7qd.js → ReceiveRequestView-zAUq0Ssz.js} +13 -13
  35. package/dist/{RecipeView-B1IWEZEL.js → RecipeView-C5w_pUXR.js} +17 -17
  36. package/dist/{SettingsView-CZz5gesU.js → SettingsView-DLRcCvk4.js} +4 -4
  37. package/dist/{StockView-CwTYN5n8.js → StockView-BaH1vKcT.js} +21 -21
  38. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BhFbyg9o.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-weKIvp8F.js} +1 -1
  39. package/dist/{SupplierView-BrSr4RQo.js → SupplierView-DrviX9XY.js} +12 -12
  40. package/dist/{SurchargeView-DE1yKmfx.js → SurchargeView-PeKEls1Z.js} +6 -6
  41. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-BzFbPVRq.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Czkd0qqw.js} +2 -2
  42. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Dirb3Jjy.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-B01wr4F8.js} +1 -1
  43. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CzwBPxiw.js → TransferDetails.vue_vue_type_script_setup_true_lang-Dqz1eFSJ.js} +20 -20
  44. package/dist/{TransferTemplateView-CrMMfGjb.js → TransferTemplateView-wN2nr_0X.js} +20 -20
  45. package/dist/{UnitCostHistoryView-TBYo9W_v.js → UnitCostHistoryView-DGTYxbvj.js} +4 -4
  46. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-CEU07ccr.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-B6krURPH.js} +4 -4
  47. package/dist/{UnitView-CkUH58Re.js → UnitView-C8SM9fQP.js} +7 -7
  48. package/dist/{WarehouseView-TQs1zSrZ.js → WarehouseView-DhOlmE3U.js} +5 -5
  49. package/dist/{WastageTemplateView-DepTfy2-.js → WastageTemplateView-CM4eTx0N.js} +14 -14
  50. package/dist/api/production.d.ts +1 -0
  51. package/dist/{app-BADmO-Lf.js → app-pfHbU1WT.js} +24 -20
  52. package/dist/app.js +1 -1
  53. package/dist/{closing-template-BpijH2dK.js → closing-template-C6Vx5eWA.js} +1 -1
  54. package/dist/{date2-BevjhMmS.js → date2-C-n9LpKa.js} +1 -1
  55. package/dist/{dayjs.min-DU3Yr_Sk.js → dayjs.min-Bu4_8gM9.js} +1 -1
  56. package/dist/{decimal-CJ70-7L1.js → decimal-C2_Vh-I3.js} +2 -2
  57. package/dist/{defineDeepModel-Un9Q04-U.js → defineDeepModel-CXP9xlO9.js} +1 -1
  58. package/dist/{duplicate-template-Cd_YEZjZ.js → duplicate-template-XPmYbOJ9.js} +1 -1
  59. package/dist/{feature-CbwWizJX.js → feature-CLk0uPEH.js} +2 -2
  60. package/dist/{format-time-from-id-B5bym9BQ.js → format-time-from-id-G5QRBa84.js} +1 -1
  61. package/dist/{format-unit-display-C9TPOE_p.js → format-unit-display-IIqavf90.js} +12 -12
  62. package/dist/{import-export.helper-CiByfBED.js → import-export.helper-BO_uqwp4.js} +6 -6
  63. package/dist/{index-Tf7nxkN3.js → index-Ce3fiDvd.js} +1 -1
  64. package/dist/{index-CpcQJ8GC.js → index-Dcm54ldM.js} +1 -1
  65. package/dist/{index-CaMknkKB.js → index-DnpSJzwo.js} +3 -3
  66. package/dist/{inventory-core-dart.default-Xq6qVKEI.js → inventory-core-dart.default-INsUG73Y.js} +387 -358
  67. package/dist/{jszip.min-CNl-bp9D.js → jszip.min-D3KgBOLH.js} +2 -2
  68. package/dist/{lz-string-ChW-PBkH.js → lz-string-BWhXP-Xc.js} +1 -1
  69. package/dist/{netsuite-BxdcBZoa.js → netsuite-DzOrZBvA.js} +2 -2
  70. package/dist/{number-CRlNzH0c.js → number-VpMHWJsJ.js} +3 -3
  71. package/dist/{predefined-templates-BhaRlTSB.js → predefined-templates-BvnvUI_F.js} +1 -1
  72. package/dist/{purchase-order-template-pM5d7gKu.js → purchase-order-template-CJh4_Q3H.js} +1 -1
  73. package/dist/{recalculationUtils-BJfI7ElS.js → recalculationUtils-BTvAwC7J.js} +1 -1
  74. package/dist/{rules-DG7U9LrL.js → rules-LPO_v5Zr.js} +2 -2
  75. package/dist/{stock-wVR-PVvS.js → stock-CqpYPWHj.js} +3 -3
  76. package/dist/{stock-zJ7efxNX.js → stock-DCHhwIaC.js} +1 -1
  77. package/dist/{supplier-CQyPFktd.js → supplier-CZEJx5mC.js} +2 -2
  78. package/dist/{surcharge-DX0uxjvH.js → surcharge-BbTuG_a2.js} +1 -1
  79. package/dist/tsconfig.app.tsbuildinfo +1 -1
  80. package/dist/{uom-rules-DzR-BIq3.js → uom-rules-Cu4fXhZ2.js} +1 -1
  81. package/dist/{use-ingredient-select-dialog-D4ZjczeJ.js → use-ingredient-select-dialog-D6ETW66d.js} +2 -2
  82. package/dist/{use-inventory-binding-dialog-PifwZwan.js → use-inventory-binding-dialog-D_b729Po.js} +2 -2
  83. package/dist/{use-template-enabled-locations-CpCyaYsy.js → use-template-enabled-locations-DeR8DY64.js} +2 -2
  84. package/dist/{use-transfer-locations-LFsALgy0.js → use-transfer-locations-DysOG_1c.js} +2 -2
  85. package/dist/{useHrmPermission-7RZnNkv0.js → useHrmPermission-BDMnFbDK.js} +1 -1
  86. package/dist/{useNavigationMenu-i3flgXzG.js → useNavigationMenu-CjoofsrC.js} +2 -2
  87. package/dist/{useSseClient-CuDr35_b.js → useSseClient-B7hHgXIn.js} +1 -1
  88. package/dist/views/production/ProductionCompletionDialog.vue.d.ts +4 -0
  89. package/dist/views/production/ProductionDetailSheet.vue.d.ts +4 -0
  90. package/dist/views/production/ProductionDuplicateDialog.vue.d.ts +6 -4
  91. package/dist/views/production/ProductionPrepareBuilder.vue.d.ts +278 -2
  92. package/dist/{vue-i18n-B3Ixo0mN.js → vue-i18n-kLRqcyG8.js} +304 -304
  93. package/dist/{xlsx.util-7bNNr06Q.js → xlsx.util-1F6O_wmm.js} +2 -2
  94. package/package.json +3 -3
  95. package/dist/ProductionView-CrS63atf.js +0 -1330
@@ -1,5 +1,5 @@
1
1
  import { computed as o } from "vue";
2
- import { u } from "./netsuite-BxdcBZoa.js";
2
+ import { u } from "./netsuite-DzOrZBvA.js";
3
3
  function i(e) {
4
4
  const t = (n) => !!n && n.toLocaleLowerCase().includes("inactive");
5
5
  return t(e.name) || t(e.abbrev);
@@ -1,6 +1,6 @@
1
1
  import { defineStore as S } from "pinia";
2
- import { a as b } from "./app-BADmO-Lf.js";
3
- import { a as A } from "./FmMultiselectDialog-ygX4I3P5.js";
2
+ import { a as b } from "./app-pfHbU1WT.js";
3
+ import { a as A } from "./FmMultiselectDialog-BKUDjNe8.js";
4
4
  import { useDialog as I } from "@feedmepos/ui-library";
5
5
  import { useI18n as D } from "@feedmepos/mf-common";
6
6
  const w = S(
@@ -1,5 +1,5 @@
1
- import { a as g } from "./FmMultiselectDialog-ygX4I3P5.js";
2
- import { a as P } from "./app-BADmO-Lf.js";
1
+ import { a as g } from "./FmMultiselectDialog-BKUDjNe8.js";
2
+ import { a as P } from "./app-pfHbU1WT.js";
3
3
  import { useDialog as E } from "@feedmepos/ui-library";
4
4
  function A() {
5
5
  const u = P(), _ = E();
@@ -1,5 +1,5 @@
1
- import { a as A } from "./FmMultiselectDialog-ygX4I3P5.js";
2
- import { u as S } from "./app-BADmO-Lf.js";
1
+ import { a as A } from "./FmMultiselectDialog-BKUDjNe8.js";
2
+ import { u as S } from "./app-pfHbU1WT.js";
3
3
  import { useI18n as w, useCoreStore as i, useCustomAttributes as _ } from "@feedmepos/mf-common";
4
4
  import { useDialog as C, components as p } from "@feedmepos/ui-library";
5
5
  import { computed as r, h as c } from "vue";
@@ -1,5 +1,5 @@
1
- import { u as g, r as l, W as w, Z as R } from "./app-BADmO-Lf.js";
2
- import { u as E } from "./supplier-CQyPFktd.js";
1
+ import { u as g, r as l, W as w, Z as R } from "./app-pfHbU1WT.js";
2
+ import { u as E } from "./supplier-CZEJx5mC.js";
3
3
  import { computed as u } from "vue";
4
4
  function d(n) {
5
5
  const c = R.safeParse(n);
@@ -1,5 +1,5 @@
1
1
  import { computed as p, toValue as o } from "vue";
2
- import { a4 as n } from "./app-BADmO-Lf.js";
2
+ import { a4 as n } from "./app-pfHbU1WT.js";
3
3
  import { useCoreStore as c } from "@feedmepos/mf-common";
4
4
  function g(t, i = "all") {
5
5
  const m = c();
@@ -1,7 +1,7 @@
1
1
  import { computed as T } from "vue";
2
- import { b as P, R as e, a5 as O, a6 as b, a4 as A } from "./app-BADmO-Lf.js";
2
+ import { b as P, R as e, a5 as O, a6 as b, a4 as A } from "./app-pfHbU1WT.js";
3
3
  import { useCoreStore as C, useI18n as U } from "@feedmepos/mf-common";
4
- import { u as _ } from "./feature-CbwWizJX.js";
4
+ import { u as _ } from "./feature-CLk0uPEH.js";
5
5
  const L = b.reduce(
6
6
  (s, E) => {
7
7
  var i;
@@ -1,4 +1,4 @@
1
- import { m as se } from "./app-BADmO-Lf.js";
1
+ import { m as se } from "./app-pfHbU1WT.js";
2
2
  import { useCoreStore as ne } from "@feedmepos/mf-common";
3
3
  const re = se((e, t) => ({
4
4
  getSubscribeUrl(s, r, a) {
@@ -1,6 +1,7 @@
1
1
  import type { WithRev } from '@/api/type';
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
3
  batch: WithRev<FdoProductionBatch>;
4
+ open?: boolean | undefined;
4
5
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
6
  submitted: (items: {
6
7
  skuId: string;
@@ -9,8 +10,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
9
10
  precision: number;
10
11
  };
11
12
  }[]) => void;
13
+ "update:open": (value: boolean) => void;
12
14
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
13
15
  batch: WithRev<FdoProductionBatch>;
16
+ open?: boolean | undefined;
14
17
  }>>> & Readonly<{
15
18
  onSubmitted?: ((items: {
16
19
  skuId: string;
@@ -19,6 +22,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
19
22
  precision: number;
20
23
  };
21
24
  }[]) => any) | undefined;
25
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
22
26
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
23
27
  export default _default;
24
28
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -12,11 +12,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
12
12
  }[] | undefined) => void;
13
13
  cancel: (reason: string) => void;
14
14
  close: () => void;
15
+ "close-production": () => void;
16
+ edit: () => void;
15
17
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
16
18
  batch: WithRev<FdoProductionBatch>;
17
19
  }>>> & Readonly<{
18
20
  onCancel?: ((reason: string) => any) | undefined;
19
21
  onClose?: (() => any) | undefined;
22
+ onEdit?: (() => any) | undefined;
20
23
  onRequest?: (() => any) | undefined;
21
24
  onComplete?: ((items?: {
22
25
  skuId: string;
@@ -25,6 +28,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
25
28
  precision: number;
26
29
  };
27
30
  }[] | undefined) => any) | undefined;
31
+ "onClose-production"?: (() => any) | undefined;
28
32
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
29
33
  export default _default;
30
34
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
13
13
  } | null | undefined;
14
14
  activityLogs?: {
15
15
  remark?: string | null | undefined;
16
- action: "cancel" | "create" | "update" | "request" | "complete";
16
+ action: "cancel" | "close" | "create" | "update" | "request" | "complete";
17
17
  performedAt: string;
18
18
  performedBy: {
19
19
  name: string;
@@ -40,7 +40,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
40
40
  }[] | null | undefined;
41
41
  cancelledAt?: string | null | undefined;
42
42
  cancelReason?: string | null | undefined;
43
- status: "completed" | "cancelled" | "draft" | "requested";
43
+ closedAt?: string | null | undefined;
44
+ status: "DRAFT" | "REQUESTING" | "COMPLETE" | "CANCEL" | "CLOSE";
44
45
  _id: string;
45
46
  createdAt: string;
46
47
  items: {
@@ -147,7 +148,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
147
148
  } | null | undefined;
148
149
  activityLogs?: {
149
150
  remark?: string | null | undefined;
150
- action: "cancel" | "create" | "update" | "request" | "complete";
151
+ action: "cancel" | "close" | "create" | "update" | "request" | "complete";
151
152
  performedAt: string;
152
153
  performedBy: {
153
154
  name: string;
@@ -174,7 +175,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
174
175
  }[] | null | undefined;
175
176
  cancelledAt?: string | null | undefined;
176
177
  cancelReason?: string | null | undefined;
177
- status: "completed" | "cancelled" | "draft" | "requested";
178
+ closedAt?: string | null | undefined;
179
+ status: "DRAFT" | "REQUESTING" | "COMPLETE" | "CANCEL" | "CLOSE";
178
180
  _id: string;
179
181
  createdAt: string;
180
182
  items: {
@@ -1,6 +1,282 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ import type { WithRev } from '@/api/type';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
+ batch?: WithRev<{
4
+ name?: string | null | undefined;
5
+ _rev?: string | null | undefined;
6
+ completedAt?: string | null | undefined;
7
+ remark?: string | null | undefined;
8
+ createdBy?: {
9
+ name: string;
10
+ id: string;
11
+ } | null | undefined;
12
+ activityLogs?: {
13
+ remark?: string | null | undefined;
14
+ action: "cancel" | "close" | "create" | "update" | "request" | "complete";
15
+ performedAt: string;
16
+ performedBy: {
17
+ name: string;
18
+ id: string;
19
+ };
20
+ }[] | null | undefined;
21
+ batchNo?: string | null | undefined;
22
+ completions?: {
23
+ remark?: string | null | undefined;
24
+ adjustmentId: string;
25
+ id: string;
26
+ completedAt: string;
27
+ items: {
28
+ skuId: string;
29
+ amount: {
30
+ amount: number;
31
+ precision: number;
32
+ };
33
+ }[];
34
+ completedBy: {
35
+ name: string;
36
+ id: string;
37
+ };
38
+ }[] | null | undefined;
39
+ cancelledAt?: string | null | undefined;
40
+ cancelReason?: string | null | undefined;
41
+ closedAt?: string | null | undefined;
42
+ status: "DRAFT" | "REQUESTING" | "COMPLETE" | "CANCEL" | "CLOSE";
43
+ _id: string;
44
+ createdAt: string;
45
+ items: {
46
+ measurement?: {
47
+ name: string;
48
+ id: string;
49
+ abbrev: string;
50
+ conversion: {
51
+ amount: number;
52
+ precision: number;
53
+ };
54
+ } | null | undefined;
55
+ sku: {
56
+ trackingMeasurement?: string | null | undefined;
57
+ isInactive?: boolean | null | undefined;
58
+ convert?: {
59
+ measurement?: string | null | undefined;
60
+ inventoryBindings?: {
61
+ measurement?: {
62
+ name: string;
63
+ id: string;
64
+ abbrev: string;
65
+ conversion: {
66
+ amount: number;
67
+ precision: number;
68
+ };
69
+ } | null | undefined;
70
+ rules?: Record<string, any> | null | undefined;
71
+ alternatives?: {
72
+ default?: boolean | null | undefined;
73
+ trackingMeasurement?: string | null | undefined;
74
+ priority?: number | null | undefined;
75
+ _id: string;
76
+ }[] | null | undefined;
77
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
78
+ amount: {
79
+ amount: number;
80
+ precision: number;
81
+ };
82
+ id: string;
83
+ }[] | null | undefined;
84
+ } | null | undefined;
85
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
86
+ defaultCost?: {
87
+ measurement?: {
88
+ name: string;
89
+ id: string;
90
+ abbrev: string;
91
+ conversion: {
92
+ amount: number;
93
+ precision: number;
94
+ };
95
+ } | null | undefined;
96
+ costPerUnit: {
97
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
98
+ amount: number;
99
+ precision: number;
100
+ };
101
+ } | null | undefined;
102
+ operationalGroup?: string | null | undefined;
103
+ thresholds?: {
104
+ low: number;
105
+ mid: number;
106
+ } | null | undefined;
107
+ customAttributes?: Record<string, any> | null | undefined;
108
+ unit: {
109
+ _id: string;
110
+ name: string;
111
+ abbrev: string;
112
+ precision: number;
113
+ measurements: {
114
+ name: string;
115
+ id: string;
116
+ abbrev: string;
117
+ conversion: {
118
+ amount: number;
119
+ precision: number;
120
+ };
121
+ }[];
122
+ };
123
+ code: string;
124
+ _id: string;
125
+ name: string;
126
+ };
127
+ skuId: string;
128
+ amount: {
129
+ amount: number;
130
+ precision: number;
131
+ };
132
+ id: string;
133
+ }[];
134
+ }> | undefined;
135
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
136
  created: () => void;
3
- }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
137
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
138
+ batch?: WithRev<{
139
+ name?: string | null | undefined;
140
+ _rev?: string | null | undefined;
141
+ completedAt?: string | null | undefined;
142
+ remark?: string | null | undefined;
143
+ createdBy?: {
144
+ name: string;
145
+ id: string;
146
+ } | null | undefined;
147
+ activityLogs?: {
148
+ remark?: string | null | undefined;
149
+ action: "cancel" | "close" | "create" | "update" | "request" | "complete";
150
+ performedAt: string;
151
+ performedBy: {
152
+ name: string;
153
+ id: string;
154
+ };
155
+ }[] | null | undefined;
156
+ batchNo?: string | null | undefined;
157
+ completions?: {
158
+ remark?: string | null | undefined;
159
+ adjustmentId: string;
160
+ id: string;
161
+ completedAt: string;
162
+ items: {
163
+ skuId: string;
164
+ amount: {
165
+ amount: number;
166
+ precision: number;
167
+ };
168
+ }[];
169
+ completedBy: {
170
+ name: string;
171
+ id: string;
172
+ };
173
+ }[] | null | undefined;
174
+ cancelledAt?: string | null | undefined;
175
+ cancelReason?: string | null | undefined;
176
+ closedAt?: string | null | undefined;
177
+ status: "DRAFT" | "REQUESTING" | "COMPLETE" | "CANCEL" | "CLOSE";
178
+ _id: string;
179
+ createdAt: string;
180
+ items: {
181
+ measurement?: {
182
+ name: string;
183
+ id: string;
184
+ abbrev: string;
185
+ conversion: {
186
+ amount: number;
187
+ precision: number;
188
+ };
189
+ } | null | undefined;
190
+ sku: {
191
+ trackingMeasurement?: string | null | undefined;
192
+ isInactive?: boolean | null | undefined;
193
+ convert?: {
194
+ measurement?: string | null | undefined;
195
+ inventoryBindings?: {
196
+ measurement?: {
197
+ name: string;
198
+ id: string;
199
+ abbrev: string;
200
+ conversion: {
201
+ amount: number;
202
+ precision: number;
203
+ };
204
+ } | null | undefined;
205
+ rules?: Record<string, any> | null | undefined;
206
+ alternatives?: {
207
+ default?: boolean | null | undefined;
208
+ trackingMeasurement?: string | null | undefined;
209
+ priority?: number | null | undefined;
210
+ _id: string;
211
+ }[] | null | undefined;
212
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
213
+ amount: {
214
+ amount: number;
215
+ precision: number;
216
+ };
217
+ id: string;
218
+ }[] | null | undefined;
219
+ } | null | undefined;
220
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
221
+ defaultCost?: {
222
+ measurement?: {
223
+ name: string;
224
+ id: string;
225
+ abbrev: string;
226
+ conversion: {
227
+ amount: number;
228
+ precision: number;
229
+ };
230
+ } | null | undefined;
231
+ costPerUnit: {
232
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
233
+ amount: number;
234
+ precision: number;
235
+ };
236
+ } | null | undefined;
237
+ operationalGroup?: string | null | undefined;
238
+ thresholds?: {
239
+ low: number;
240
+ mid: number;
241
+ } | null | undefined;
242
+ customAttributes?: Record<string, any> | null | undefined;
243
+ unit: {
244
+ _id: string;
245
+ name: string;
246
+ abbrev: string;
247
+ precision: number;
248
+ measurements: {
249
+ name: string;
250
+ id: string;
251
+ abbrev: string;
252
+ conversion: {
253
+ amount: number;
254
+ precision: number;
255
+ };
256
+ }[];
257
+ };
258
+ code: string;
259
+ _id: string;
260
+ name: string;
261
+ };
262
+ skuId: string;
263
+ amount: {
264
+ amount: number;
265
+ precision: number;
266
+ };
267
+ id: string;
268
+ }[];
269
+ }> | undefined;
270
+ }>>> & Readonly<{
4
271
  onCreated?: (() => any) | undefined;
5
272
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
273
  export default _default;
274
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
275
+ type __VLS_TypePropsToRuntimeProps<T> = {
276
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
277
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
278
+ } : {
279
+ type: import('vue').PropType<T[K]>;
280
+ required: true;
281
+ };
282
+ };