@feedmepos/mf-inventory-portal 0.0.25-dev.23 → 0.0.25-dev.25

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 (53) hide show
  1. package/dist/{App-BpouQv6g.js → App-HeVEh7Ep.js} +2 -2
  2. package/dist/{ApprovalView-zKceWuqg.js → ApprovalView-DeSqFweb.js} +2 -2
  3. package/dist/{BindingsDialog-8cCHlgzr.js → BindingsDialog-CY1ik2CL.js} +2 -2
  4. package/dist/{BindingsPicker-Dh4Hv3td.js → BindingsPicker-OVu70GxT.js} +1 -1
  5. package/dist/{BindingsTable-DakosyVV.js → BindingsTable-DOaxNXxz.js} +1 -1
  6. package/dist/{ClosingDraftView-BrX8I8MB.js → ClosingDraftView-DOtFF2qU.js} +2 -2
  7. package/dist/{ClosingTemplateView-Ca3J-qQ-.js → ClosingTemplateView-DpGmKrFQ.js} +2 -2
  8. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BO2YZ2VJ.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-D-BMsC_F.js} +3 -3
  9. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-SWTCOnJ9.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Cln7TklQ.js} +1 -1
  10. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-B7n03ova.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DIr84vbq.js} +1 -1
  11. package/dist/{IngredientGroupView-BaWnW5iB.js → IngredientGroupView-BbLrghMh.js} +1 -1
  12. package/dist/{IngredientsView-Dk1fRrJS.js → IngredientsView-BKM9qEIF.js} +4 -4
  13. package/dist/{IntegrationView-f95k4Sro.js → IntegrationView-pOKL4-cR.js} +1 -1
  14. package/dist/{InventoryBindingForm-CQ_hf--f.js → InventoryBindingForm-B4dvCfrN.js} +1 -1
  15. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-D2njCVwo.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CUs-QqLE.js} +3 -3
  16. package/dist/{InventoryBindingSummary-DpyGu-QA.js → InventoryBindingSummary-CumZse8_.js} +1 -1
  17. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DWA0FZIF.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CyaByq34.js} +1 -1
  18. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-C1rp-t32.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Gi_l3b1b.js} +1 -1
  19. package/dist/{PublishView-BEmw7Cvg.js → PublishView-BgG9ZgIk.js} +2 -2
  20. package/dist/{PurchaseOrderPrintPreview-DgRHyUbj.js → PurchaseOrderPrintPreview-DpfzZA_2.js} +1 -1
  21. package/dist/ReceiveRequestView-D4AGH_9X.js +2882 -0
  22. package/dist/{RecipeView-BBTNekLY.js → RecipeView-b7_VWiF5.js} +3 -3
  23. package/dist/{StockView-BDp38gwV.js → StockView-CpmdtdaM.js} +7 -7
  24. package/dist/{SupplierView-DPuo3-Ai.js → SupplierView-kP-VHXxg.js} +4 -4
  25. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-D7tCWaWG.js +1822 -0
  26. package/dist/{TransferTemplateView-7KZ-ITn_.js → TransferTemplateView-6VYptKLp.js} +7 -7
  27. package/dist/{UnitView-BZ4dsN0S.js → UnitView-0dwGJtEa.js} +3 -3
  28. package/dist/{WarehouseView-BzMsepvq.js → WarehouseView-B_gJu93_.js} +1 -1
  29. package/dist/api/netsuite.d.ts +1 -0
  30. package/dist/api/purchase-order.d.ts +1 -0
  31. package/dist/{app-Bk7jf9eq.js → app-B7LBcQjr.js} +2475 -2461
  32. package/dist/app.js +1 -1
  33. package/dist/{decimal-dztcLRIl.js → decimal-BHxWezZv.js} +1 -1
  34. package/dist/{feature-CA2bkHM2.js → feature-CXTyyrJi.js} +1 -1
  35. package/dist/{format-unit-display-Dk23-Lk4.js → format-unit-display-DS7raCkE.js} +2 -2
  36. package/dist/{index-DHWNJM3r.js → index-53e38Cw1.js} +2 -2
  37. package/dist/{stock-DxWRUKuk.js → stock-DWv8TBvu.js} +1 -1
  38. package/dist/stores/integration/netsuite.d.ts +1 -0
  39. package/dist/style.css +1 -1
  40. package/dist/{supplier-kP0mKbdR.js → supplier-CXCmtqBP.js} +1 -1
  41. package/dist/tsconfig.app.tsbuildinfo +1 -1
  42. package/dist/{use-ingredient-select-dialog-CcowSH0B.js → use-ingredient-select-dialog-CthF_SeI.js} +1 -1
  43. package/dist/{use-inventory-binding-dialog-BuTRDGfP.js → use-inventory-binding-dialog-KvvkwQAC.js} +1 -1
  44. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +3 -0
  45. package/dist/views/receive-request/import/XilnexImportDialog.vue.d.ts +22 -0
  46. package/dist/views/receive-request/import/XilnexImportForm.vue.d.ts +17 -0
  47. package/dist/views/receive-request/import/XilnexResult.vue.d.ts +17 -0
  48. package/dist/views/receive-request/import/export.d.ts +14 -0
  49. package/dist/views/receive-request/import/props.d.ts +7 -0
  50. package/dist/{vue-i18n-D8QaqjU5.js → vue-i18n-CmPwC7G-.js} +209 -209
  51. package/package.json +1 -1
  52. package/dist/ReceiveRequestView-CD04SJNf.js +0 -2315
  53. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DE4xQTOV.js +0 -1795
@@ -1,5 +1,5 @@
1
1
  import { defineStore as y } from "pinia";
2
- import { a as S, H as b } from "./app-Bk7jf9eq.js";
2
+ import { a as S, H as b } from "./app-B7LBcQjr.js";
3
3
  import { useDialog as A } from "@feedmepos/ui-library";
4
4
  import { useI18n as I } from "@feedmepos/mf-common";
5
5
  const h = y(
@@ -1,4 +1,4 @@
1
- import { a as g, H as y } from "./app-Bk7jf9eq.js";
1
+ import { a as g, H as y } from "./app-B7LBcQjr.js";
2
2
  import { useDialog as C } from "@feedmepos/ui-library";
3
3
  function P() {
4
4
  const c = g(), u = C();
@@ -2,6 +2,7 @@ import type { DateRange } from 'node_modules/@feedmepos/ui-library/dist/componen
2
2
  import type { TransferDialogProps } from '../components/transfer-dialog/TransferDialogProps';
3
3
  import type { TransferDetailsProps } from '../components/transfer-details/TransferDetailsProps';
4
4
  import type { RevisionIdMeta } from '@feedmepos/inventory-core';
5
+ import type { XilnexImportDialogProps } from '../import/props';
5
6
  export declare enum PO_SCOPE {
6
7
  RECEIVE_REQUEST = "receive/request",
7
8
  APPROVAL = "approval"
@@ -4278,5 +4279,7 @@ export declare function useReceiveRequestForm(scope: PO_SCOPE, initialDateRange?
4278
4279
  }): Promise<void>;
4279
4280
  (po: FdoPurchaseOrder, operation: 'confirmDraft' | 'submitRequest' | 'cancelDraft' | 'approveRequest' | 'processRequest' | 'rejectRequest' | 'completeReceive', transferToDbName?: string): Promise<void>;
4280
4281
  };
4282
+ xilnexImportDialogProps: import("vue").Ref<XilnexImportDialogProps | undefined, XilnexImportDialogProps | undefined>;
4283
+ promptUploadTransferDialog: () => Promise<void>;
4281
4284
  };
4282
4285
  export type ReceiveRequestFormComposable = ReturnType<typeof useReceiveRequestForm>;
@@ -0,0 +1,22 @@
1
+ import type { XilnexImportDialogProps } from './props';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<XilnexImportDialogProps>>, {
3
+ validateInputs: () => void;
4
+ resetInputsValidation: () => void;
5
+ resetInputs: () => void;
6
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:show": (show: boolean) => void;
8
+ submitted: () => void;
9
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<XilnexImportDialogProps>>> & Readonly<{
10
+ "onUpdate:show"?: ((show: boolean) => any) | undefined;
11
+ onSubmitted?: (() => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
+ export default _default;
14
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
+ type __VLS_TypePropsToRuntimeProps<T> = {
16
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
17
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
+ } : {
19
+ type: import('vue').PropType<T[K]>;
20
+ required: true;
21
+ };
22
+ };
@@ -0,0 +1,17 @@
1
+ export interface XilnexImportCreateResult {
2
+ type: 'create';
3
+ poItems: FdoPurchaseOrderItem[];
4
+ excelSheetName: string;
5
+ errors: string[];
6
+ }
7
+ export type XilnexImportResult = {
8
+ invalidExcel: boolean;
9
+ invalidExcelMessage?: string;
10
+ importCreateResult: XilnexImportCreateResult[];
11
+ };
12
+ declare const _default: import("vue").DefineComponent<{}, {
13
+ validateInputs: () => void;
14
+ resetInputsValidation: () => void;
15
+ resetInputs: () => void;
16
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
17
+ export default _default;
@@ -0,0 +1,17 @@
1
+ export interface AdjustmentTemplateImportItemProps {
2
+ type: 'create' | 'update';
3
+ name: string;
4
+ items?: FdoPurchaseOrderItem[] | null | undefined;
5
+ errors: string[];
6
+ }
7
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AdjustmentTemplateImportItemProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AdjustmentTemplateImportItemProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ export default _default;
9
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
+ type __VLS_TypePropsToRuntimeProps<T> = {
11
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
12
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
+ } : {
14
+ type: import('vue').PropType<T[K]>;
15
+ required: true;
16
+ };
17
+ };
@@ -0,0 +1,14 @@
1
+ import type { WorkBook, WorkSheet } from 'xlsx';
2
+ import type { XilnexImportResult } from './XilnexImportForm.vue';
3
+ interface XilnexItemRow {
4
+ item_name: string;
5
+ 'transfer_quantity(uom)': string;
6
+ uom: string;
7
+ scanned_code: string;
8
+ }
9
+ export declare function worksheetToItemRow(sheet: WorkSheet): Array<{
10
+ index: number;
11
+ data: XilnexItemRow;
12
+ }>;
13
+ export declare function getItemToCreate(workbook: WorkBook): XilnexImportResult;
14
+ export {};
@@ -0,0 +1,7 @@
1
+ export interface XilnexImportDialogProps {
2
+ show?: boolean;
3
+ }
4
+ export interface XilnexImportDialogEvents {
5
+ (event: 'update:show', show: boolean): void;
6
+ (event: 'submitted'): void;
7
+ }