@feedmepos/mf-inventory-portal 0.0.22-dev.45 → 0.0.22-dev.47
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.
- package/dist/{ApprovalView-D802I6qa.js → ApprovalView-DvaKP7j9.js} +3 -3
- package/dist/{BindingsDialog-BY4eeO80.js → BindingsDialog-DuJMVo61.js} +4 -4
- package/dist/{BindingsPicker-BS3Gx-vu.js → BindingsPicker-BoYwB6U_.js} +11 -11
- package/dist/{BindingsTable-B0Ubv4If.js → BindingsTable-CWpUfeKm.js} +4 -4
- package/dist/ClosingTemplateView-Cn96MJVP.js +1812 -0
- package/dist/{FmDroppableField-42Sf5Kw4.js → FmDroppableField-Dlrwk4gA.js} +13 -13
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C6aC-NQY.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CCGydCsm.js} +3 -3
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BNzxPsXv.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DVMieqhn.js} +1 -1
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DDjgq37P.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CTK65n8v.js} +7 -7
- package/dist/IngredientGroupView-VNG5Q8ou.js +608 -0
- package/dist/{IngredientsView-BIravTM5.js → IngredientsView-C_rbIOCU.js} +5 -5
- package/dist/{IntegrationView-ClkjyBMU.js → IntegrationView-OKyiv2vc.js} +2 -2
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CbHnBl9-.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-bEu-8q1N.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DPdSdnYc.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CDM7DSyn.js} +2 -2
- package/dist/{PurchaseOrderPrintPreview-DK3cdRy_.js → PurchaseOrderPrintPreview-BSyXdhQo.js} +3 -3
- package/dist/{ReceiveRequestView-BEJENItS.js → ReceiveRequestView-C4t8Kkn6.js} +10 -10
- package/dist/{RecipeView-CKkVM0RF.js → RecipeView-BnmwgxnO.js} +22 -22
- package/dist/{StockView-Cuf2TpKY.js → StockView-wKpLuCbC.js} +5 -5
- package/dist/{SupplierView-BeYelTFE.js → SupplierView-CZ23V9tf.js} +781 -2324
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CmasVafU.js → TransferDetails.vue_vue_type_script_setup_true_lang-Cxm7P4nU.js} +53 -53
- package/dist/{TransferTemplateView-C2mT9X3X.js → TransferTemplateView-DAqSN1NH.js} +8 -8
- package/dist/{UnitView-Bjt1e1Ny.js → UnitView-UhJoXWMf.js} +4 -4
- package/dist/{WarehouseView-BiBEPMuq.js → WarehouseView-C-DGIBdE.js} +14 -14
- package/dist/api/inventory.d.ts +210 -6
- package/dist/{app-Be_W1QTm.js → app-pFcheyXr.js} +26797 -26576
- package/dist/app.d.ts +3 -0
- package/dist/app.js +1 -1
- package/dist/components/FmMultiselectDialogProps.d.ts +0 -2
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +5 -5
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +2 -2
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +2 -2
- package/dist/{decimal-CN1x5KmH.js → decimal-CY3TbMUy.js} +1 -1
- package/dist/{defineDeepModel-DZtwdE6s.js → defineDeepModel-CWIF7Cxg.js} +1 -1
- package/dist/extensions/array.d.ts +1 -0
- package/dist/{format-time-from-id-Xl-UgWBG.js → format-time-from-id-CSntAOsD.js} +1 -1
- package/dist/{format-unit-display-CGWN9PmG.js → format-unit-display-BHIBhwk3.js} +49 -49
- package/dist/router/name.d.ts +1 -0
- package/dist/stores/inventory.d.ts +217 -10
- package/dist/stores/netsuite.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-DYWP_v1f.js → supplier-142vtn2Q.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-template-enabled-locations-2-UESI1K-k.js → use-template-enabled-locations-2-DUR98xi2.js} +1 -1
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +12 -12
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +12 -12
- package/dist/views/ingredient-group/IngredientGroupView.vue.d.ts +3 -0
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +31 -0
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +12 -0
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +20 -0
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +12 -0
- package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +24 -0
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +215 -0
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +2 -2
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +5 -5
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
- package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +2 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +23 -17
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -1
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +33 -24
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +33 -24
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -2
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -2
- package/dist/views/supplier/helpers/import-export.helper.d.ts +1 -1
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +1 -1
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +12 -12
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +12 -12
- package/dist/{xlsx-db3pdB_Q.js → xlsx-ChOXd9sY.js} +1 -1
- package/dist/{xlsx.util-G4B1eDpi.js → xlsx.util-BYVL7Paj.js} +1 -1
- package/package.json +2 -2
- package/dist/ClosingTemplateView-yEkqNfX2.js +0 -1768
|
@@ -62,7 +62,7 @@ export declare function useInventoryStore(): {
|
|
|
62
62
|
precision: number;
|
|
63
63
|
};
|
|
64
64
|
} | null | undefined;
|
|
65
|
-
type: "RECIPE" | "SKU";
|
|
65
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
66
66
|
amount: {
|
|
67
67
|
amount: number;
|
|
68
68
|
precision: number;
|
|
@@ -124,7 +124,7 @@ export declare function useInventoryStore(): {
|
|
|
124
124
|
precision: number;
|
|
125
125
|
};
|
|
126
126
|
} | null | undefined;
|
|
127
|
-
type: "RECIPE" | "SKU";
|
|
127
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
128
128
|
amount: {
|
|
129
129
|
amount: number;
|
|
130
130
|
precision: number;
|
|
@@ -132,6 +132,74 @@ export declare function useInventoryStore(): {
|
|
|
132
132
|
id: string;
|
|
133
133
|
}[];
|
|
134
134
|
}[] | null | undefined;
|
|
135
|
+
skuGroup?: {
|
|
136
|
+
ref?: string | null | undefined;
|
|
137
|
+
unit: {
|
|
138
|
+
_id: string;
|
|
139
|
+
name: string;
|
|
140
|
+
abbrev: string;
|
|
141
|
+
precision: number;
|
|
142
|
+
measurements: {
|
|
143
|
+
id: string;
|
|
144
|
+
name: string;
|
|
145
|
+
abbrev: string;
|
|
146
|
+
conversion: {
|
|
147
|
+
amount: number;
|
|
148
|
+
precision: number;
|
|
149
|
+
};
|
|
150
|
+
}[];
|
|
151
|
+
};
|
|
152
|
+
_id: string;
|
|
153
|
+
name: string;
|
|
154
|
+
skus: {
|
|
155
|
+
trackingMeasurement?: string | null | undefined;
|
|
156
|
+
convert?: {
|
|
157
|
+
measurement?: string | null | undefined;
|
|
158
|
+
inventoryBindings?: {
|
|
159
|
+
measurement?: {
|
|
160
|
+
id: string;
|
|
161
|
+
name: string;
|
|
162
|
+
abbrev: string;
|
|
163
|
+
conversion: {
|
|
164
|
+
amount: number;
|
|
165
|
+
precision: number;
|
|
166
|
+
};
|
|
167
|
+
} | null | undefined;
|
|
168
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
169
|
+
amount: {
|
|
170
|
+
amount: number;
|
|
171
|
+
precision: number;
|
|
172
|
+
};
|
|
173
|
+
id: string;
|
|
174
|
+
}[] | null | undefined;
|
|
175
|
+
} | null | undefined;
|
|
176
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
177
|
+
defaultCost?: {
|
|
178
|
+
measurement?: {
|
|
179
|
+
id: string;
|
|
180
|
+
name: string;
|
|
181
|
+
abbrev: string;
|
|
182
|
+
conversion: {
|
|
183
|
+
amount: number;
|
|
184
|
+
precision: number;
|
|
185
|
+
};
|
|
186
|
+
} | null | undefined;
|
|
187
|
+
costPerUnit: {
|
|
188
|
+
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";
|
|
189
|
+
amount: number;
|
|
190
|
+
precision: number;
|
|
191
|
+
};
|
|
192
|
+
} | null | undefined;
|
|
193
|
+
thresholds?: {
|
|
194
|
+
low: number;
|
|
195
|
+
mid: number;
|
|
196
|
+
} | null | undefined;
|
|
197
|
+
operationalGroup?: string | null | undefined;
|
|
198
|
+
code: string;
|
|
199
|
+
_id: string;
|
|
200
|
+
name: string;
|
|
201
|
+
}[];
|
|
202
|
+
}[] | null | undefined;
|
|
135
203
|
updatedAt?: string | null | undefined;
|
|
136
204
|
_id: string;
|
|
137
205
|
} & {
|
|
@@ -767,7 +835,7 @@ export declare function useInventoryStore(): {
|
|
|
767
835
|
precision: number;
|
|
768
836
|
};
|
|
769
837
|
} | null | undefined;
|
|
770
|
-
type: "RECIPE" | "SKU";
|
|
838
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
771
839
|
amount: {
|
|
772
840
|
amount: number;
|
|
773
841
|
precision: number;
|
|
@@ -829,7 +897,7 @@ export declare function useInventoryStore(): {
|
|
|
829
897
|
precision: number;
|
|
830
898
|
};
|
|
831
899
|
} | null | undefined;
|
|
832
|
-
type: "RECIPE" | "SKU";
|
|
900
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
833
901
|
amount: {
|
|
834
902
|
amount: number;
|
|
835
903
|
precision: number;
|
|
@@ -837,6 +905,74 @@ export declare function useInventoryStore(): {
|
|
|
837
905
|
id: string;
|
|
838
906
|
}[];
|
|
839
907
|
}[] | null | undefined;
|
|
908
|
+
skuGroup?: {
|
|
909
|
+
ref?: string | null | undefined;
|
|
910
|
+
unit: {
|
|
911
|
+
_id: string;
|
|
912
|
+
name: string;
|
|
913
|
+
abbrev: string;
|
|
914
|
+
precision: number;
|
|
915
|
+
measurements: {
|
|
916
|
+
id: string;
|
|
917
|
+
name: string;
|
|
918
|
+
abbrev: string;
|
|
919
|
+
conversion: {
|
|
920
|
+
amount: number;
|
|
921
|
+
precision: number;
|
|
922
|
+
};
|
|
923
|
+
}[];
|
|
924
|
+
};
|
|
925
|
+
_id: string;
|
|
926
|
+
name: string;
|
|
927
|
+
skus: {
|
|
928
|
+
trackingMeasurement?: string | null | undefined;
|
|
929
|
+
convert?: {
|
|
930
|
+
measurement?: string | null | undefined;
|
|
931
|
+
inventoryBindings?: {
|
|
932
|
+
measurement?: {
|
|
933
|
+
id: string;
|
|
934
|
+
name: string;
|
|
935
|
+
abbrev: string;
|
|
936
|
+
conversion: {
|
|
937
|
+
amount: number;
|
|
938
|
+
precision: number;
|
|
939
|
+
};
|
|
940
|
+
} | null | undefined;
|
|
941
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
942
|
+
amount: {
|
|
943
|
+
amount: number;
|
|
944
|
+
precision: number;
|
|
945
|
+
};
|
|
946
|
+
id: string;
|
|
947
|
+
}[] | null | undefined;
|
|
948
|
+
} | null | undefined;
|
|
949
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
950
|
+
defaultCost?: {
|
|
951
|
+
measurement?: {
|
|
952
|
+
id: string;
|
|
953
|
+
name: string;
|
|
954
|
+
abbrev: string;
|
|
955
|
+
conversion: {
|
|
956
|
+
amount: number;
|
|
957
|
+
precision: number;
|
|
958
|
+
};
|
|
959
|
+
} | null | undefined;
|
|
960
|
+
costPerUnit: {
|
|
961
|
+
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";
|
|
962
|
+
amount: number;
|
|
963
|
+
precision: number;
|
|
964
|
+
};
|
|
965
|
+
} | null | undefined;
|
|
966
|
+
thresholds?: {
|
|
967
|
+
low: number;
|
|
968
|
+
mid: number;
|
|
969
|
+
} | null | undefined;
|
|
970
|
+
operationalGroup?: string | null | undefined;
|
|
971
|
+
code: string;
|
|
972
|
+
_id: string;
|
|
973
|
+
name: string;
|
|
974
|
+
}[];
|
|
975
|
+
}[] | null | undefined;
|
|
840
976
|
updatedAt?: string | null | undefined;
|
|
841
977
|
_id: string;
|
|
842
978
|
_rev: string;
|
|
@@ -1828,7 +1964,6 @@ export declare function useInventoryStore(): {
|
|
|
1828
1964
|
passcode: string;
|
|
1829
1965
|
} | null | undefined;
|
|
1830
1966
|
_id?: string | undefined;
|
|
1831
|
-
adjustmentIds?: string[] | undefined;
|
|
1832
1967
|
skus?: {
|
|
1833
1968
|
costs?: {
|
|
1834
1969
|
adjustmentId?: string | null | undefined;
|
|
@@ -1868,6 +2003,7 @@ export declare function useInventoryStore(): {
|
|
|
1868
2003
|
};
|
|
1869
2004
|
id: string;
|
|
1870
2005
|
}[] | undefined;
|
|
2006
|
+
adjustmentIds?: string[] | undefined;
|
|
1871
2007
|
} | null;
|
|
1872
2008
|
};
|
|
1873
2009
|
readonly units: {
|
|
@@ -1913,7 +2049,7 @@ export declare function useInventoryStore(): {
|
|
|
1913
2049
|
precision: number;
|
|
1914
2050
|
};
|
|
1915
2051
|
} | null | undefined;
|
|
1916
|
-
type: "RECIPE" | "SKU";
|
|
2052
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1917
2053
|
amount: {
|
|
1918
2054
|
amount: number;
|
|
1919
2055
|
precision: number;
|
|
@@ -1934,7 +2070,7 @@ export declare function useInventoryStore(): {
|
|
|
1934
2070
|
precision: number;
|
|
1935
2071
|
};
|
|
1936
2072
|
} | null | undefined;
|
|
1937
|
-
type: "RECIPE" | "SKU";
|
|
2073
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1938
2074
|
amount: {
|
|
1939
2075
|
amount: number;
|
|
1940
2076
|
precision: number;
|
|
@@ -1956,7 +2092,7 @@ export declare function useInventoryStore(): {
|
|
|
1956
2092
|
precision: number;
|
|
1957
2093
|
};
|
|
1958
2094
|
} | null | undefined;
|
|
1959
|
-
type: "RECIPE" | "SKU";
|
|
2095
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1960
2096
|
amount: {
|
|
1961
2097
|
amount: number;
|
|
1962
2098
|
precision: number;
|
|
@@ -2019,7 +2155,7 @@ export declare function useInventoryStore(): {
|
|
|
2019
2155
|
precision: number;
|
|
2020
2156
|
};
|
|
2021
2157
|
} | null | undefined;
|
|
2022
|
-
type: "RECIPE" | "SKU";
|
|
2158
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2023
2159
|
amount: {
|
|
2024
2160
|
amount: number;
|
|
2025
2161
|
precision: number;
|
|
@@ -2082,7 +2218,7 @@ export declare function useInventoryStore(): {
|
|
|
2082
2218
|
precision: number;
|
|
2083
2219
|
};
|
|
2084
2220
|
} | null | undefined;
|
|
2085
|
-
type: "RECIPE" | "SKU";
|
|
2221
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2086
2222
|
amount: {
|
|
2087
2223
|
amount: number;
|
|
2088
2224
|
precision: number;
|
|
@@ -2131,6 +2267,74 @@ export declare function useInventoryStore(): {
|
|
|
2131
2267
|
_id: string;
|
|
2132
2268
|
name: string;
|
|
2133
2269
|
}>;
|
|
2270
|
+
readonly skuGroups: {
|
|
2271
|
+
ref?: string | null | undefined;
|
|
2272
|
+
unit: {
|
|
2273
|
+
_id: string;
|
|
2274
|
+
name: string;
|
|
2275
|
+
abbrev: string;
|
|
2276
|
+
precision: number;
|
|
2277
|
+
measurements: {
|
|
2278
|
+
id: string;
|
|
2279
|
+
name: string;
|
|
2280
|
+
abbrev: string;
|
|
2281
|
+
conversion: {
|
|
2282
|
+
amount: number;
|
|
2283
|
+
precision: number;
|
|
2284
|
+
};
|
|
2285
|
+
}[];
|
|
2286
|
+
};
|
|
2287
|
+
_id: string;
|
|
2288
|
+
name: string;
|
|
2289
|
+
skus: {
|
|
2290
|
+
trackingMeasurement?: string | null | undefined;
|
|
2291
|
+
convert?: {
|
|
2292
|
+
measurement?: string | null | undefined;
|
|
2293
|
+
inventoryBindings?: {
|
|
2294
|
+
measurement?: {
|
|
2295
|
+
id: string;
|
|
2296
|
+
name: string;
|
|
2297
|
+
abbrev: string;
|
|
2298
|
+
conversion: {
|
|
2299
|
+
amount: number;
|
|
2300
|
+
precision: number;
|
|
2301
|
+
};
|
|
2302
|
+
} | null | undefined;
|
|
2303
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2304
|
+
amount: {
|
|
2305
|
+
amount: number;
|
|
2306
|
+
precision: number;
|
|
2307
|
+
};
|
|
2308
|
+
id: string;
|
|
2309
|
+
}[] | null | undefined;
|
|
2310
|
+
} | null | undefined;
|
|
2311
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2312
|
+
defaultCost?: {
|
|
2313
|
+
measurement?: {
|
|
2314
|
+
id: string;
|
|
2315
|
+
name: string;
|
|
2316
|
+
abbrev: string;
|
|
2317
|
+
conversion: {
|
|
2318
|
+
amount: number;
|
|
2319
|
+
precision: number;
|
|
2320
|
+
};
|
|
2321
|
+
} | null | undefined;
|
|
2322
|
+
costPerUnit: {
|
|
2323
|
+
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";
|
|
2324
|
+
amount: number;
|
|
2325
|
+
precision: number;
|
|
2326
|
+
};
|
|
2327
|
+
} | null | undefined;
|
|
2328
|
+
thresholds?: {
|
|
2329
|
+
low: number;
|
|
2330
|
+
mid: number;
|
|
2331
|
+
} | null | undefined;
|
|
2332
|
+
operationalGroup?: string | null | undefined;
|
|
2333
|
+
code: string;
|
|
2334
|
+
_id: string;
|
|
2335
|
+
name: string;
|
|
2336
|
+
}[];
|
|
2337
|
+
}[];
|
|
2134
2338
|
init(): Promise<void>;
|
|
2135
2339
|
readClosing(): Promise<void>;
|
|
2136
2340
|
getAffectedMenu(id: string): Promise<BindedWithRecipeId[]>;
|
|
@@ -2150,4 +2354,7 @@ export declare function useInventoryStore(): {
|
|
|
2150
2354
|
updateSku(sku: FdoInventorySku): Promise<void>;
|
|
2151
2355
|
importSkus(skus: Omit<FdtoBulkSkuRequest, '_rev'>): Promise<void>;
|
|
2152
2356
|
deleteSku({ _id }: FdoInventorySku): Promise<void>;
|
|
2357
|
+
createSkuGroup(skuGroup: CreateType<FdoInventorySkuGroup>): Promise<void>;
|
|
2358
|
+
updateSkuGroup(skuGroup: FdoInventorySkuGroup): Promise<void>;
|
|
2359
|
+
deleteSkuGroup({ _id }: FdoInventorySkuGroup): Promise<void>;
|
|
2153
2360
|
};
|
|
@@ -52,6 +52,8 @@ export declare function useNetSuiteStore(): {
|
|
|
52
52
|
}[];
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
+
readonly netSuiteItemIdToSkuId: Map<unknown, [string, ...string[]]>;
|
|
56
|
+
readonly netSuiteMeasurementIdToMeasurementId: Map<unknown, [string, ...string[]]>;
|
|
55
57
|
getNetSuiteLocation(locationId: string): FdoNetSuiteLocation | undefined;
|
|
56
58
|
getLocationSubsidiary(netSuiteLocationId?: string | null): {
|
|
57
59
|
id: string | undefined;
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.v-enter-active[data-v-
|
|
1
|
+
.v-enter-active[data-v-0fe980e2],.v-leave-active[data-v-0fe980e2]{transition:opacity .1s ease}.v-enter-from[data-v-0fe980e2],.v-leave-to[data-v-0fe980e2]{opacity:0}.fm-status-badge{font-size:.875rem;font-weight:600;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;border-radius:8px;display:flex;align-items:center;padding-left:8px;padding-right:8px;height:22px}.fm-status-badge-draft{background-color:var(--fm-color-neutral-gray-100);color:var(--fm-color-neutral-gray-500)}.fm-status-badge-receiving{background-color:var(--fm-color-system-blue-100);color:var(--fm-color-system-blue-400)}.fm-status-badge-cancel{background-color:var(--fm-color-system-red-100);color:var(--fm-color-system-red-400)}.fm-status-badge-complete{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-status-badge-processing,.fm-status-badge-requesting{background-color:var(--fm-color-system-orange-100);color:var(--fm-color-system-orange-400)}.fm-status-badge-transfer-info,.fm-status-badge-info-secondary{background-color:var(--fm-color-system-blue-100);color:var(--fm-color-system-blue-400)}.fm-status-badge-success-secondary{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fade-enter-active,.fade-leave-active{transition:opacity .5s ease}.fade-enter-from,.fade-leave-to{opacity:0}.fade-enter-active[data-v-50dae672],.fade-leave-active[data-v-50dae672]{transition:opacity .25s ease}.fade-enter[data-v-50dae672],.fade-leave-to[data-v-50dae672]{opacity:0}.fm-forecast-notification-low{background-color:var(--fm-color-system-red-100);color:var(--fm-color-system-red-400)}.fm-forecast-notification-mid{background-color:var(--fm-color-system-orange-100);color:var(--fm-color-system-orange-400)}.fm-forecast-notification-high{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-forecast-notification-indicator{display:inline-block;height:12px;width:12px;border-radius:9999px}.fm-forecast-notification-indicator-low{background-color:var(--fm-color-system-red-400)}.fm-forecast-notification-indicator-mid{background-color:var(--fm-color-system-orange-400)}.fm-forecast-notification-indicator-high{background-color:var(--fm-color-system-green-400)}.fm-droppable-field[data-v-e121b2c1]{display:flex;flex-direction:column;gap:4px}.fm-droppable-field__container[data-v-e121b2c1]{position:relative;background-color:var(--fm-color-neutral-white);padding:12px;border-radius:8px;border-width:2px;border-style:dashed;border-color:var(--fm-color-neutral-gray-300);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.fm-droppable-field__container--disabled[data-v-e121b2c1]{cursor:not-allowed;color:var(--fm-color-neutral-gray-200);border-color:var(--fm-color-neutral-gray-200)}.fm-droppable-field__container--dragging[data-v-e121b2c1]{border-color:var(--fm-color-primary)}.fm-droppable-field__container--invalid[data-v-e121b2c1]{border-color:var(--fm-color-system-red-300)}.fm-droppable-field__container[data-v-e121b2c1]:hover:not(.fm-droppable-field__container--disabled){border-color:var(--fm-color-neutral-gray-400)}.fm-droppable-field__input[data-v-e121b2c1]{cursor:pointer;opacity:0;position:absolute;top:0;left:0;height:100%;width:100%}.fm-droppable-field__input[data-v-e121b2c1]:disabled{display:none;cursor:not-allowed}.map-button[data-v-272f5e8b]{border-top-width:1px;border-top-color:var(--fm-color-neutral-gray-200);color:var(--fm-color-neutral-gray-400);padding:.2rem 1rem;border-radius:8px}table[data-v-92a03d5c]{width:100%;border-spacing:unset;line-height:inherit}table td[data-v-92a03d5c],table th[data-v-92a03d5c]{padding:3px 5px;vertical-align:top}hr[data-v-92a03d5c]{border-collapse:unset;background:#888;height:2px;border:0px}.text-left[data-v-92a03d5c]{text-align:left}.text-right[data-v-92a03d5c]{text-align:right}.purchase-box[data-v-92a03d5c]{max-width:800px;margin:auto;padding:30px;border:1px solid #eee;box-shadow:0 0 10px #00000026;font-size:16px;line-height:1.5;font-family:Helvetica Neue,Helvetica,Helvetica,Arial,sans-serif;color:#555}.title[data-v-92a03d5c]{padding-bottom:0;font-size:30px;color:#333}.header[data-v-92a03d5c]{font-weight:600;color:#333}.sub-header[data-v-92a03d5c]{font-size:18px;color:#333}.caption[data-v-92a03d5c]{font-size:14px;color:#666}.address[data-v-92a03d5c]{font-size:16px;line-height:1.2;color:#666}.purchase-body[data-v-92a03d5c]{margin-top:30px}.item-header[data-v-92a03d5c]{border:0px;background:#ccc;color:#444}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as m, i as u, h as y, Z as b, $ as v } from "./app-pFcheyXr.js";
|
|
2
2
|
import { useCoreStore as c } from "@feedmepos/mf-common";
|
|
3
3
|
import { defineStore as w } from "pinia";
|
|
4
4
|
import { ref as l, computed as d } from "vue";
|