@feedmepos/mf-inventory-portal 1.0.9 → 1.0.10-dev.2

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 (107) hide show
  1. package/dist/{App-RT4bBubX.js → App-COPx00z6.js} +50 -49
  2. package/dist/{ApprovalView-BgOWHNMD.js → ApprovalView-DEtUW_BD.js} +24 -24
  3. package/dist/{BindingsDialog-Dip74zuT.js → BindingsDialog-8WUk3Dv3.js} +2 -2
  4. package/dist/{BindingsPicker-DMQXwEn4.js → BindingsPicker-D8ABQZWj.js} +7 -7
  5. package/dist/{BindingsTable-Czz32F7d.js → BindingsTable-E4ObCYZW.js} +5 -5
  6. package/dist/{ClosingDraftView-Ps4DgRNG.js → ClosingDraftView-BuwTXzoD.js} +499 -498
  7. package/dist/{ClosingTemplateView-EjVLgUCH.js → ClosingTemplateView-Dwlu2WDi.js} +10 -10
  8. package/dist/{DeliveryOrderPrintPreview-C52aY34D.js → DeliveryOrderPrintPreview-CZQP0ZBf.js} +1 -1
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-MSqPw_6t.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CIpktJ_p.js} +32 -32
  10. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DbN_e9U8.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BAsfttD3.js} +51 -51
  11. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DHuB4hRb.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BtLdE9Qw.js} +1 -1
  12. package/dist/{IngredientGroupView-CRTjNc-p.js → IngredientGroupView-DKncarkj.js} +11 -11
  13. package/dist/{IngredientsView-CuLOu_v9.js → IngredientsView-DJhR4pNL.js} +15 -14
  14. package/dist/IntegrationView-DbehNBiT.js +10361 -0
  15. package/dist/{InventoryBindingForm-C1NfSdOs.js → InventoryBindingForm-CakKTaAx.js} +1 -1
  16. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BJ7h3Nr6.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-qrYebXqE.js} +94 -89
  17. package/dist/{InventoryBindingSummary-CFjSwhxA.js → InventoryBindingSummary-ax4kqODn.js} +1 -1
  18. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B73N8AvB.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BD8iRcNk.js} +1 -1
  19. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-rve3vJhu.js → PremiumBadge.vue_vue_type_script_setup_true_lang-D13DAIwe.js} +10 -10
  20. package/dist/{PublishView-Bj0JawUb.js → PublishView-BMQzmmkT.js} +12 -12
  21. package/dist/{PurchaseOrderPrintPreview-DCAZVrDM.js → PurchaseOrderPrintPreview-CdbxZWLq.js} +4 -4
  22. package/dist/{ReceiveRequestView-B_bWd1hC.js → ReceiveRequestView-Blxchs0k.js} +53 -52
  23. package/dist/RecipeView-Bnigp2lS.js +8493 -0
  24. package/dist/{StockView-CsZ2hfAY.js → StockView-B4p6XQPR.js} +73 -72
  25. package/dist/{SupplierView-BUaouKYm.js → SupplierView-ojORzTSY.js} +12 -11
  26. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-G478rFCP.js +1894 -0
  27. package/dist/{TransferTemplateView-Rq7N13OR.js → TransferTemplateView-DTN23wTJ.js} +291 -290
  28. package/dist/{UnitView-C9j2RjtY.js → UnitView-w-bUgjIw.js} +23 -23
  29. package/dist/{WarehouseView-Ct6TWKej.js → WarehouseView-cJ7u4vTr.js} +26 -26
  30. package/dist/api/bill.d.ts +2 -2
  31. package/dist/api/food-market-hub.d.ts +1 -1
  32. package/dist/api/inventory.d.ts +110 -44
  33. package/dist/api/netsuite.d.ts +191 -8
  34. package/dist/api/purchase-order.d.ts +5 -1
  35. package/dist/{app-Cryb1Kx8.js → app-DtLEhFCD.js} +19871 -19809
  36. package/dist/app.d.ts +7 -7
  37. package/dist/app.js +2 -2
  38. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +30 -8
  39. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +2 -2
  40. package/dist/components/shell/inventory/binding-ui.vue.d.ts +27 -5
  41. package/dist/composable/usePromise.d.ts +41 -0
  42. package/dist/{decimal-Ko0ukH7B.js → decimal-D0mDm48J.js} +1 -1
  43. package/dist/feature-GZEf4CLT.js +17427 -0
  44. package/dist/{format-unit-display-C1sTywhb.js → format-unit-display-Dl7kbJn1.js} +60 -60
  45. package/dist/{index-BAyyesj2.js → index-BglOiNaU.js} +7 -6
  46. package/dist/{index-WgH7CKAS.js → index-DKLr1Nm9.js} +1 -1
  47. package/dist/main.d.ts +1 -0
  48. package/dist/{stock-BVCXjojk.js → stock-V0Qm2pTD.js} +3 -3
  49. package/dist/stores/feature.d.ts +3 -20
  50. package/dist/stores/integration/foodmarkethub.d.ts +1 -1
  51. package/dist/stores/integration/netsuite.d.ts +22 -7
  52. package/dist/stores/inventory.d.ts +132 -44
  53. package/dist/stores/location.d.ts +137 -137
  54. package/dist/{supplier-Brxhm840.js → supplier-DK4PWcz4.js} +4 -4
  55. package/dist/tsconfig.app.tsbuildinfo +1 -1
  56. package/dist/{use-ingredient-select-dialog-DCAYNC6e.js → use-ingredient-select-dialog-BfJ-qHni.js} +1 -1
  57. package/dist/{use-inventory-binding-dialog-TYwx9mzF.js → use-inventory-binding-dialog-C5IYjwW5.js} +1 -1
  58. package/dist/views/adjustment-template/wastage-template/actions.d.ts +228 -228
  59. package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +2 -2
  60. package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +1 -1
  61. package/dist/views/adjustment-template/wastage-template/table.d.ts +234 -234
  62. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +140 -136
  63. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +420 -408
  64. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +4 -4
  65. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +252 -252
  66. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +252 -252
  67. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +12 -12
  68. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +2 -2
  69. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +8 -8
  70. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +3 -3
  71. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +4 -4
  72. package/dist/views/integration/components/ApplyProduct.vue.d.ts +2 -2
  73. package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +2 -2
  74. package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +2 -2
  75. package/dist/views/integration/components/netsuite/InventoryTransfer.vue.d.ts +48 -0
  76. package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +180 -0
  77. package/dist/views/integration/components/netsuite/NetSuiteSideSheet.vue.d.ts +24 -0
  78. package/dist/views/integration/components/netsuite/NetSuiteSideSheetProps.d.ts +8 -0
  79. package/dist/views/integration/components/netsuite/{AddLocationDialog.vue.d.ts → business/AddLocationDialog.vue.d.ts} +204 -204
  80. package/dist/views/integration/components/netsuite/{LocationConfigurationDialog.vue.d.ts → business/BusinessNetSuiteSideSheet.vue.d.ts} +3 -3
  81. package/dist/views/integration/components/netsuite/{LocationConfigurationDialogProps.d.ts → business/BusinessNetSuiteSideSheetProps.d.ts} +1 -5
  82. package/dist/views/integration/components/netsuite/{NetSuiteLocationField.vue.d.ts → business/NetSuiteLocationField.vue.d.ts} +11 -9
  83. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +665 -637
  84. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +22 -22
  85. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +44 -44
  86. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +11 -11
  87. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +614 -0
  88. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1190 -1142
  89. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1192 -1144
  90. package/dist/views/receive-request/constants/po-action-to-ui-style.d.ts +6 -0
  91. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +46 -2
  92. package/dist/views/recipe/components/recipe-override-form-field/RecipeOverrideFormField.vue.d.ts +61 -0
  93. package/dist/views/recipe/composables/use-recipe-overrides-form-field.d.ts +10 -0
  94. package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
  95. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +14 -14
  96. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +22 -22
  97. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +17 -17
  98. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +11 -11
  99. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +805 -805
  100. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +805 -805
  101. package/dist/views/transfer-template/composables/useTransferTemplateHelper.d.ts +33 -33
  102. package/dist/vue-i18n-3LoKMrMa.js +2365 -0
  103. package/package.json +8 -5
  104. package/dist/IntegrationView-DXxwE0z8.js +0 -2148
  105. package/dist/RecipeView-m7aSOTrT.js +0 -616
  106. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DqImAdxA.js +0 -1746
  107. package/dist/vue-i18n-B-kKlljK.js +0 -2365
@@ -4,6 +4,8 @@ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"i
4
4
  loading: import("vue").Ref<boolean, boolean>;
5
5
  columnDefs: import("vue").ComputedRef<ColumnDef<{
6
6
  ref?: string | null | undefined;
7
+ _id: string;
8
+ name: string;
7
9
  unit: {
8
10
  _id: string;
9
11
  name: string;
@@ -19,8 +21,6 @@ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"i
19
21
  };
20
22
  }[];
21
23
  };
22
- _id: string;
23
- name: string;
24
24
  skus: {
25
25
  trackingMeasurement?: string | null | undefined;
26
26
  convert?: {
@@ -35,12 +35,12 @@ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"i
35
35
  precision: number;
36
36
  };
37
37
  } | null | undefined;
38
+ id: string;
38
39
  type: "RECIPE" | "SKU" | "SKU_GROUP";
39
40
  amount: {
40
41
  amount: number;
41
42
  precision: number;
42
43
  };
43
- id: string;
44
44
  }[] | null | undefined;
45
45
  } | null | undefined;
46
46
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -66,9 +66,9 @@ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"i
66
66
  mid: number;
67
67
  } | null | undefined;
68
68
  customAttributes?: Record<string, any> | null | undefined;
69
- code: string;
70
69
  _id: string;
71
70
  name: string;
71
+ code: string;
72
72
  }[];
73
73
  }>[]>;
74
74
  }, "loading">>, Pick<{
@@ -76,6 +76,8 @@ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"i
76
76
  loading: import("vue").Ref<boolean, boolean>;
77
77
  columnDefs: import("vue").ComputedRef<ColumnDef<{
78
78
  ref?: string | null | undefined;
79
+ _id: string;
80
+ name: string;
79
81
  unit: {
80
82
  _id: string;
81
83
  name: string;
@@ -91,8 +93,6 @@ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"i
91
93
  };
92
94
  }[];
93
95
  };
94
- _id: string;
95
- name: string;
96
96
  skus: {
97
97
  trackingMeasurement?: string | null | undefined;
98
98
  convert?: {
@@ -107,12 +107,12 @@ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"i
107
107
  precision: number;
108
108
  };
109
109
  } | null | undefined;
110
+ id: string;
110
111
  type: "RECIPE" | "SKU" | "SKU_GROUP";
111
112
  amount: {
112
113
  amount: number;
113
114
  precision: number;
114
115
  };
115
- id: string;
116
116
  }[] | null | undefined;
117
117
  } | null | undefined;
118
118
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -138,9 +138,9 @@ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"i
138
138
  mid: number;
139
139
  } | null | undefined;
140
140
  customAttributes?: Record<string, any> | null | undefined;
141
- code: string;
142
141
  _id: string;
143
142
  name: string;
143
+ code: string;
144
144
  }[];
145
145
  }>[]>;
146
146
  }, "columnDefs">, Pick<{
@@ -148,6 +148,8 @@ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"i
148
148
  loading: import("vue").Ref<boolean, boolean>;
149
149
  columnDefs: import("vue").ComputedRef<ColumnDef<{
150
150
  ref?: string | null | undefined;
151
+ _id: string;
152
+ name: string;
151
153
  unit: {
152
154
  _id: string;
153
155
  name: string;
@@ -163,8 +165,6 @@ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"i
163
165
  };
164
166
  }[];
165
167
  };
166
- _id: string;
167
- name: string;
168
168
  skus: {
169
169
  trackingMeasurement?: string | null | undefined;
170
170
  convert?: {
@@ -179,12 +179,12 @@ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"i
179
179
  precision: number;
180
180
  };
181
181
  } | null | undefined;
182
+ id: string;
182
183
  type: "RECIPE" | "SKU" | "SKU_GROUP";
183
184
  amount: {
184
185
  amount: number;
185
186
  precision: number;
186
187
  };
187
- id: string;
188
188
  }[] | null | undefined;
189
189
  } | null | undefined;
190
190
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -210,9 +210,9 @@ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"i
210
210
  mid: number;
211
211
  } | null | undefined;
212
212
  customAttributes?: Record<string, any> | null | undefined;
213
- code: string;
214
213
  _id: string;
215
214
  name: string;
215
+ code: string;
216
216
  }[];
217
217
  }>[]>;
218
218
  }, "fetchIngredientGroups">>;
@@ -12,12 +12,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
12
12
  precision: number;
13
13
  };
14
14
  } | null | undefined;
15
+ id: string;
15
16
  type: "RECIPE" | "SKU" | "SKU_GROUP";
16
17
  amount: {
17
18
  amount: number;
18
19
  precision: number;
19
20
  };
20
- id: string;
21
21
  }[] | null | undefined;
22
22
  } | null | undefined) => void;
23
23
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ConvertFormProps>>> & Readonly<{
@@ -33,12 +33,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
33
33
  precision: number;
34
34
  };
35
35
  } | null | undefined;
36
+ id: string;
36
37
  type: "RECIPE" | "SKU" | "SKU_GROUP";
37
38
  amount: {
38
39
  amount: number;
39
40
  precision: number;
40
41
  };
41
- id: string;
42
42
  }[] | null | undefined;
43
43
  } | null | undefined) => any) | undefined;
44
44
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -18,12 +18,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
18
18
  precision: number;
19
19
  };
20
20
  } | null | undefined;
21
+ id: string;
21
22
  type: "RECIPE" | "SKU" | "SKU_GROUP";
22
23
  amount: {
23
24
  amount: number;
24
25
  precision: number;
25
26
  };
26
- id: string;
27
27
  }[] | null | undefined;
28
28
  } | null | undefined;
29
29
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -49,6 +49,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
49
49
  mid: number;
50
50
  } | null | undefined;
51
51
  customAttributes?: Record<string, any> | null | undefined;
52
+ _id: string;
53
+ name: string;
54
+ code: string;
52
55
  unit: {
53
56
  _id: string;
54
57
  name: string;
@@ -64,9 +67,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
64
67
  };
65
68
  }[];
66
69
  };
67
- code: string;
68
- _id: string;
69
- name: string;
70
70
  }) => void;
71
71
  "click:submit": () => void;
72
72
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<IngredientFormProps>>> & Readonly<{
@@ -84,12 +84,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
84
84
  precision: number;
85
85
  };
86
86
  } | null | undefined;
87
+ id: string;
87
88
  type: "RECIPE" | "SKU" | "SKU_GROUP";
88
89
  amount: {
89
90
  amount: number;
90
91
  precision: number;
91
92
  };
92
- id: string;
93
93
  }[] | null | undefined;
94
94
  } | null | undefined;
95
95
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -115,6 +115,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
115
115
  mid: number;
116
116
  } | null | undefined;
117
117
  customAttributes?: Record<string, any> | null | undefined;
118
+ _id: string;
119
+ name: string;
120
+ code: string;
118
121
  unit: {
119
122
  _id: string;
120
123
  name: string;
@@ -130,9 +133,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
130
133
  };
131
134
  }[];
132
135
  };
133
- code: string;
134
- _id: string;
135
- name: string;
136
136
  }) => any) | undefined;
137
137
  "onClick:submit"?: (() => any) | undefined;
138
138
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -22,12 +22,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
22
22
  precision: number;
23
23
  };
24
24
  } | null | undefined;
25
+ id: string;
25
26
  type: "RECIPE" | "SKU" | "SKU_GROUP";
26
27
  amount: {
27
28
  amount: number;
28
29
  precision: number;
29
30
  };
30
- id: string;
31
31
  }[]) => void;
32
32
  "click:pick-inventory-bindings": (type: "RECIPE" | "SKU" | "SKU_GROUP") => void;
33
33
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InventoryBindingFormProps>, {
@@ -44,12 +44,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
44
44
  precision: number;
45
45
  };
46
46
  } | null | undefined;
47
+ id: string;
47
48
  type: "RECIPE" | "SKU" | "SKU_GROUP";
48
49
  amount: {
49
50
  amount: number;
50
51
  precision: number;
51
52
  };
52
- id: string;
53
53
  }[]) => any) | undefined;
54
54
  "onClick:pick-inventory-bindings"?: ((type: "RECIPE" | "SKU" | "SKU_GROUP") => any) | undefined;
55
55
  }>, {
@@ -63,12 +63,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
63
63
  precision: number;
64
64
  };
65
65
  } | null | undefined;
66
+ id: string;
66
67
  type: "RECIPE" | "SKU" | "SKU_GROUP";
67
68
  amount: {
68
69
  amount: number;
69
70
  precision: number;
70
71
  };
71
- id: string;
72
72
  }[];
73
73
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
74
74
  export default _default;
@@ -14,12 +14,12 @@ export declare function useIngredientTable(): {
14
14
  precision: number;
15
15
  };
16
16
  } | null | undefined;
17
+ id: string;
17
18
  type: "RECIPE" | "SKU" | "SKU_GROUP";
18
19
  amount: {
19
20
  amount: number;
20
21
  precision: number;
21
22
  };
22
- id: string;
23
23
  }[] | null | undefined;
24
24
  } | null | undefined;
25
25
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -45,6 +45,9 @@ export declare function useIngredientTable(): {
45
45
  mid: number;
46
46
  } | null | undefined;
47
47
  customAttributes?: Record<string, any> | null | undefined;
48
+ _id: string;
49
+ name: string;
50
+ code: string;
48
51
  unit: {
49
52
  _id: string;
50
53
  name: string;
@@ -60,8 +63,5 @@ export declare function useIngredientTable(): {
60
63
  };
61
64
  }[];
62
65
  };
63
- code: string;
64
- _id: string;
65
- name: string;
66
66
  }>[];
67
67
  };
@@ -7,8 +7,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
7
7
  bindings: {
8
8
  type: PropType<{
9
9
  combinationKey?: string | null | undefined;
10
- code: string;
11
10
  productId: string;
11
+ code: string;
12
12
  }[]>;
13
13
  required: true;
14
14
  };
@@ -156,8 +156,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
156
156
  bindings: {
157
157
  type: PropType<{
158
158
  combinationKey?: string | null | undefined;
159
- code: string;
160
159
  productId: string;
160
+ code: string;
161
161
  }[]>;
162
162
  required: true;
163
163
  };
@@ -10,8 +10,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
10
10
  enable: boolean;
11
11
  bindings: {
12
12
  combinationKey?: string | null | undefined;
13
- code: string;
14
13
  productId: string;
14
+ code: string;
15
15
  }[];
16
16
  modifiers: {
17
17
  code: string;
@@ -49,8 +49,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
49
49
  enable: boolean;
50
50
  bindings: {
51
51
  combinationKey?: string | null | undefined;
52
- code: string;
53
52
  productId: string;
53
+ code: string;
54
54
  }[];
55
55
  modifiers: {
56
56
  code: string;
@@ -10,8 +10,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
10
10
  enable: boolean;
11
11
  bindings: {
12
12
  combinationKey?: string | null | undefined;
13
- code: string;
14
13
  productId: string;
14
+ code: string;
15
15
  }[];
16
16
  modifiers: {
17
17
  code: string;
@@ -49,8 +49,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
49
49
  enable: boolean;
50
50
  bindings: {
51
51
  combinationKey?: string | null | undefined;
52
- code: string;
53
52
  productId: string;
53
+ code: string;
54
54
  }[];
55
55
  modifiers: {
56
56
  code: string;
@@ -0,0 +1,48 @@
1
+ import { NSDtoLocationSuiteQLOption } from '@feedmepos/netsuite-core';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ nsLocations: NSDtoLocationSuiteQLOption[];
4
+ currentLocationSetting?: {
5
+ id: string;
6
+ name: string;
7
+ type: "restaurant" | "warehouse";
8
+ netSuiteId: string;
9
+ subsidiaryId: string;
10
+ } | undefined;
11
+ currentLocationSubsidiary: {
12
+ id?: string;
13
+ name: string;
14
+ fullName: string;
15
+ };
16
+ }>, {}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
17
+ nsLocations: NSDtoLocationSuiteQLOption[];
18
+ currentLocationSetting?: {
19
+ id: string;
20
+ name: string;
21
+ type: "restaurant" | "warehouse";
22
+ netSuiteId: string;
23
+ subsidiaryId: string;
24
+ } | undefined;
25
+ currentLocationSubsidiary: {
26
+ id?: string;
27
+ name: string;
28
+ fullName: string;
29
+ };
30
+ }>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
31
+ export default _default;
32
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
+ type __VLS_TypePropsToRuntimeProps<T> = {
34
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
35
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
36
+ } : {
37
+ type: import('vue').PropType<T[K]>;
38
+ required: true;
39
+ };
40
+ };
41
+ type __VLS_WithDefaults<P, D> = {
42
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
43
+ default: D[K];
44
+ }> : P[K];
45
+ };
46
+ type __VLS_Prettify<T> = {
47
+ [K in keyof T]: T[K];
48
+ } & {};
@@ -0,0 +1,180 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ modelValue: import("vue").PropType<{
3
+ id?: string | null | undefined;
4
+ measurement?: {
5
+ id: string;
6
+ name: string;
7
+ abbrev: string;
8
+ conversion: {
9
+ amount: number;
10
+ precision: number;
11
+ };
12
+ } | null | undefined;
13
+ externalId?: string | null | undefined;
14
+ totalCost?: {
15
+ 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";
16
+ amount: number;
17
+ precision: number;
18
+ } | null | undefined;
19
+ quantity: {
20
+ amount: number;
21
+ precision: number;
22
+ };
23
+ name: string;
24
+ code: string;
25
+ sku: {
26
+ trackingMeasurement?: string | null | undefined;
27
+ convert?: {
28
+ measurement?: string | null | undefined;
29
+ inventoryBindings?: {
30
+ measurement?: {
31
+ id: string;
32
+ name: string;
33
+ abbrev: string;
34
+ conversion: {
35
+ amount: number;
36
+ precision: number;
37
+ };
38
+ } | null | undefined;
39
+ id: string;
40
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
41
+ amount: {
42
+ amount: number;
43
+ precision: number;
44
+ };
45
+ }[] | null | undefined;
46
+ } | null | undefined;
47
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
48
+ defaultCost?: {
49
+ measurement?: {
50
+ id: string;
51
+ name: string;
52
+ abbrev: string;
53
+ conversion: {
54
+ amount: number;
55
+ precision: number;
56
+ };
57
+ } | null | undefined;
58
+ costPerUnit: {
59
+ 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";
60
+ amount: number;
61
+ precision: number;
62
+ };
63
+ } | null | undefined;
64
+ operationalGroup?: string | null | undefined;
65
+ thresholds?: {
66
+ low: number;
67
+ mid: number;
68
+ } | null | undefined;
69
+ customAttributes?: Record<string, any> | null | undefined;
70
+ _id: string;
71
+ name: string;
72
+ code: string;
73
+ unit: {
74
+ _id: string;
75
+ name: string;
76
+ abbrev: string;
77
+ precision: number;
78
+ measurements: {
79
+ id: string;
80
+ name: string;
81
+ abbrev: string;
82
+ conversion: {
83
+ amount: number;
84
+ precision: number;
85
+ };
86
+ }[];
87
+ };
88
+ };
89
+ }[]>;
90
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
91
+ modelValue: import("vue").PropType<{
92
+ id?: string | null | undefined;
93
+ measurement?: {
94
+ id: string;
95
+ name: string;
96
+ abbrev: string;
97
+ conversion: {
98
+ amount: number;
99
+ precision: number;
100
+ };
101
+ } | null | undefined;
102
+ externalId?: string | null | undefined;
103
+ totalCost?: {
104
+ 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";
105
+ amount: number;
106
+ precision: number;
107
+ } | null | undefined;
108
+ quantity: {
109
+ amount: number;
110
+ precision: number;
111
+ };
112
+ name: string;
113
+ code: string;
114
+ sku: {
115
+ trackingMeasurement?: string | null | undefined;
116
+ convert?: {
117
+ measurement?: string | null | undefined;
118
+ inventoryBindings?: {
119
+ measurement?: {
120
+ id: string;
121
+ name: string;
122
+ abbrev: string;
123
+ conversion: {
124
+ amount: number;
125
+ precision: number;
126
+ };
127
+ } | null | undefined;
128
+ id: string;
129
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
130
+ amount: {
131
+ amount: number;
132
+ precision: number;
133
+ };
134
+ }[] | null | undefined;
135
+ } | null | undefined;
136
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
137
+ defaultCost?: {
138
+ measurement?: {
139
+ id: string;
140
+ name: string;
141
+ abbrev: string;
142
+ conversion: {
143
+ amount: number;
144
+ precision: number;
145
+ };
146
+ } | null | undefined;
147
+ costPerUnit: {
148
+ 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";
149
+ amount: number;
150
+ precision: number;
151
+ };
152
+ } | null | undefined;
153
+ operationalGroup?: string | null | undefined;
154
+ thresholds?: {
155
+ low: number;
156
+ mid: number;
157
+ } | null | undefined;
158
+ customAttributes?: Record<string, any> | null | undefined;
159
+ _id: string;
160
+ name: string;
161
+ code: string;
162
+ unit: {
163
+ _id: string;
164
+ name: string;
165
+ abbrev: string;
166
+ precision: number;
167
+ measurements: {
168
+ id: string;
169
+ name: string;
170
+ abbrev: string;
171
+ conversion: {
172
+ amount: number;
173
+ precision: number;
174
+ };
175
+ }[];
176
+ };
177
+ };
178
+ }[]>;
179
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
180
+ export default _default;
@@ -0,0 +1,24 @@
1
+ import type { NetSuiteSideSheetProps } from './NetSuiteSideSheetProps';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<NetSuiteSideSheetProps>, {}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ "update:show": (show: boolean) => void;
4
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<NetSuiteSideSheetProps>, {}>>> & Readonly<{
5
+ "onUpdate:show"?: ((show: boolean) => any) | undefined;
6
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ export default _default;
8
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ type __VLS_TypePropsToRuntimeProps<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
17
+ type __VLS_WithDefaults<P, D> = {
18
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
19
+ default: D[K];
20
+ }> : P[K];
21
+ };
22
+ type __VLS_Prettify<T> = {
23
+ [K in keyof T]: T[K];
24
+ } & {};
@@ -0,0 +1,8 @@
1
+ export interface NetSuiteSideSheetProps {
2
+ nsLocations: Array<NSDtoLocationSuiteQLOption>;
3
+ show?: boolean;
4
+ loading?: boolean;
5
+ }
6
+ export interface NetSuiteSideSheetEvents {
7
+ (event: 'update:show', show: boolean): void;
8
+ }