@feedmepos/mf-inventory-portal 0.0.22-dev.1 → 0.0.22-dev.11

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 (77) hide show
  1. package/dist/App.vue.d.ts +2 -0
  2. package/dist/{ApprovalView-CtH8I01g.js → ApprovalView-D0WHopPL.js} +19 -19
  3. package/dist/{BindingsDialog-DFrk_fyd.js → BindingsDialog-Ddv46-I4.js} +1 -1
  4. package/dist/{BindingsPicker-400gISaV.js → BindingsPicker-CbNehOQo.js} +19 -19
  5. package/dist/{BindingsTable-CnFKI6iP.js → BindingsTable-C-z5jzGu.js} +1 -1
  6. package/dist/ClosingTemplateView-Bs59bML_.js +1067 -0
  7. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B9RU_arW.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CGIfL24N.js} +13 -15
  8. package/dist/{IngredientsView-CRTAgKJz.js → IngredientsView-Bk0U9IrL.js} +5 -6
  9. package/dist/{IntegrationView-CNFTKqjk.js → IntegrationView-hEv2Fe67.js} +2 -2
  10. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-VkiVLx1K.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-ButZx6Cm.js} +1 -1
  11. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DkZrgqyr.js → PremiumBadge.vue_vue_type_script_setup_true_lang-D1WcEO5R.js} +1 -1
  12. package/dist/{PurchaseOrderPrintPreview-CJli-_Vn.js → PurchaseOrderPrintPreview-wJLaWy-I.js} +1 -1
  13. package/dist/{ReceiveRequestView-DV_GDzJG.js → ReceiveRequestView-CT7_gSPj.js} +15 -16
  14. package/dist/{RecipeView-CTm_7oNG.js → RecipeView-smOk18iy.js} +3 -3
  15. package/dist/{StockView-DtHT2ulM.js → StockView-CE00jzyG.js} +8 -9
  16. package/dist/{SupplierView-B9A5R2Vm.js → SupplierView-D346tx42.js} +37 -37
  17. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-ixxW-kNE.js +762 -0
  18. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-Cf9TVjj7.js +1505 -0
  19. package/dist/TransferTemplateView-Cz6Hlmtm.js +1262 -0
  20. package/dist/{UnitView-BL-jtVuZ.js → UnitView-BdEvCjCv.js} +4 -4
  21. package/dist/WarehouseView-CtqTSV9B.js +1017 -0
  22. package/dist/api/closing-template.d.ts +14 -0
  23. package/dist/api/inventory.d.ts +5 -7
  24. package/dist/api/netsuite.d.ts +46 -0
  25. package/dist/api/purchase-order-template.d.ts +0 -4
  26. package/dist/{app-C-z1MfF6.js → app-BbLqKVBN.js} +15757 -15397
  27. package/dist/app.d.ts +6 -0
  28. package/dist/app.js +2 -2
  29. package/dist/components/FmMultiselectDialogProps.d.ts +1 -0
  30. package/dist/components/VirtualScroll.vue.d.ts +47 -0
  31. package/dist/{decimal-DZz-_lgE.js → decimal-BXH34eZD.js} +1 -1
  32. package/dist/{defineDeepModel-7VQajdPt.js → defineDeepModel-CN2db5nM.js} +4 -4
  33. package/dist/extensions/promises.d.ts +14 -0
  34. package/dist/{format-time-from-id-9XFszs1J.js → format-time-from-id-mDqFHPw7.js} +1 -1
  35. package/dist/helper/date2.d.ts +1 -0
  36. package/dist/helper/rules.d.ts +1 -0
  37. package/dist/{id-to-date-Bkue77uI.js → id-to-date-CRXORa4v.js} +1 -1
  38. package/dist/purchase-order-transaction-type-DHsIlV8_.js +676 -0
  39. package/dist/stores/api.d.ts +1 -0
  40. package/dist/stores/feature.d.ts +0 -1
  41. package/dist/stores/helper/core-store-proxy.d.ts +3 -0
  42. package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
  43. package/dist/stores/inventory.d.ts +7 -0
  44. package/dist/stores/location.d.ts +24 -42
  45. package/dist/stores/netsuite.d.ts +56 -0
  46. package/dist/stores/route.d.ts +0 -5
  47. package/dist/stores/warehouse.d.ts +4 -7
  48. package/dist/style.css +1 -1
  49. package/dist/{supplier-C6YWXF2Y.js → supplier-DTKB6s-P.js} +1 -1
  50. package/dist/tsconfig.app.tsbuildinfo +1 -1
  51. package/dist/use-template-enabled-locations-2-BVp9gXZX.js +85 -0
  52. package/dist/views/closing-template/components/closing-template-publish/ClosingTemplatePublish.vue.d.ts +6 -0
  53. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +276 -84
  54. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +341 -85
  55. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +14 -0
  56. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +42 -0
  57. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +42 -0
  58. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +13 -0
  59. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +4 -7
  60. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +2 -2
  61. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +132 -84
  62. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +44 -1014
  63. package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +251 -0
  64. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -14
  65. package/dist/{xlsx-Dl6dAHFx.js → xlsx-CZubj3Ki.js} +1 -1
  66. package/dist/{xlsx.util-C1tUhDb8.js → xlsx.util-DjhsRAqO.js} +2 -2
  67. package/package.json +7 -7
  68. package/dist/ClosingTemplateView--8m8cua_.js +0 -919
  69. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-mUNCQTNw.js +0 -740
  70. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-BwkUuXqj.js +0 -1428
  71. package/dist/TransferTemplateView-DnyenkGu.js +0 -1349
  72. package/dist/WarehouseView-BkUv1792.js +0 -1056
  73. package/dist/array-ClJzD_Lt.js +0 -30
  74. package/dist/layout/InventoryLayout.vue.d.ts +0 -2
  75. package/dist/layout/layout-routes.d.ts +0 -6
  76. package/dist/purchase-order-transaction-type-DHzMBgFs.js +0 -712
  77. package/dist/use-template-enabled-locations-CFCfbaOd.js +0 -57
package/dist/app.d.ts CHANGED
@@ -405,6 +405,9 @@ export declare const i18nMessages: {
405
405
  subtitle: string;
406
406
  error: string;
407
407
  };
408
+ netsuite: {
409
+ subsidiary: string;
410
+ };
408
411
  items: {
409
412
  title: string;
410
413
  addItem: string;
@@ -1108,6 +1111,9 @@ export declare const i18nMessages: {
1108
1111
  subtitle: string;
1109
1112
  error: string;
1110
1113
  };
1114
+ netsuite: {
1115
+ subsidiary: string;
1116
+ };
1111
1117
  items: {
1112
1118
  title: string;
1113
1119
  addItem: string;
package/dist/app.js CHANGED
@@ -1,6 +1,6 @@
1
- import { ap as s, _ as r, aq as e, an as o, ao as t, u as i } from "./app-C-z1MfF6.js";
1
+ import { ar as n, _ as r, as as e, ap as o, aq as t, u as i } from "./app-BbLqKVBN.js";
2
2
  export {
3
- s as FmApp,
3
+ n as FmApp,
4
4
  r as InventoryBindingForm,
5
5
  e as InventoryBindingSummary,
6
6
  o as i18nMessages,
@@ -23,6 +23,7 @@ export interface FmMultiselectDialogProps {
23
23
  width?: number | undefined;
24
24
  noShadow?: boolean;
25
25
  loading?: boolean;
26
+ virtualScroll?: boolean;
26
27
  }
27
28
  export interface FmMultiselectDialogEvents {
28
29
  (event: 'update:modelValue', mv: any): void;
@@ -0,0 +1,47 @@
1
+ import { type VNode } from 'vue';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
+ itemHeight: number;
4
+ length: number;
5
+ scrollTop: number;
6
+ prerender: number;
7
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ "changed:minHeight": (minHeight: number) => void;
9
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
+ itemHeight: number;
11
+ length: number;
12
+ scrollTop: number;
13
+ prerender: number;
14
+ }>>> & Readonly<{
15
+ "onChanged:minHeight"?: ((minHeight: number) => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
17
+ default(props: {
18
+ index: number;
19
+ getItem<T>(options: T[]): T;
20
+ key: number;
21
+ }): VNode<import("vue").RendererNode, import("vue").RendererElement, {
22
+ [key: string]: any;
23
+ }>[];
24
+ }> & {
25
+ default(props: {
26
+ index: number;
27
+ getItem<T>(options: T[]): T;
28
+ key: number;
29
+ }): VNode<import("vue").RendererNode, import("vue").RendererElement, {
30
+ [key: string]: any;
31
+ }>[];
32
+ }>;
33
+ export default _default;
34
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
35
+ type __VLS_TypePropsToRuntimeProps<T> = {
36
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
37
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
38
+ } : {
39
+ type: import('vue').PropType<T[K]>;
40
+ required: true;
41
+ };
42
+ };
43
+ type __VLS_WithTemplateSlots<T, S> = T & {
44
+ new (): {
45
+ $slots: S;
46
+ };
47
+ };
@@ -1,4 +1,4 @@
1
- import "./app-C-z1MfF6.js";
1
+ import "./app-BbLqKVBN.js";
2
2
  function m(a) {
3
3
  function t(o, n = !0) {
4
4
  const e = Math.round(Math.log10(o));
@@ -1,11 +1,11 @@
1
- import { c as d, ag as i } from "./app-C-z1MfF6.js";
1
+ import { c as p, ai as d } from "./app-BbLqKVBN.js";
2
2
  import { getCurrentInstance as r, reactive as m, watch as u } from "vue";
3
3
  function b(e = "modelValue") {
4
4
  var o, n;
5
5
  const s = ((o = r()) == null ? void 0 : o.props) ?? {}, a = ((n = r()) == null ? void 0 : n.emit) ?? (() => {
6
- }), t = m(d(s[e] ?? {})), c = `update:${i(e)}`;
7
- return u(t, (p) => {
8
- a(c, p);
6
+ }), t = m(p(s[e] ?? {})), c = `update:${d(e)}`;
7
+ return u(t, (i) => {
8
+ a(c, i);
9
9
  }), t;
10
10
  }
11
11
  export {
@@ -0,0 +1,14 @@
1
+ declare global {
2
+ interface PromiseConstructor {
3
+ withResolvers<T>(): {
4
+ promise: Promise<T>;
5
+ resolve: (value: T | PromiseLike<T>) => void;
6
+ reject: (reason?: unknown) => void;
7
+ };
8
+ }
9
+ interface Promise<T> {
10
+ /** Delays promise return by milliseconds */
11
+ delayed(milli: number): Promise<T>;
12
+ }
13
+ }
14
+ export {};
@@ -1,4 +1,4 @@
1
- import { a6 as n } from "./app-C-z1MfF6.js";
1
+ import { a7 as n } from "./app-BbLqKVBN.js";
2
2
  function d(r) {
3
3
  const t = a(r);
4
4
  return t === null ? "" : n(t);
@@ -1,4 +1,5 @@
1
1
  import type { DateRange } from 'node_modules/@feedmepos/ui-library/dist/components/form/calendar/date-range-picker/common';
2
+ export declare function formatDateToDDMMMYYYYHHMMAMPM(date: Date | string): string;
2
3
  export declare function formatDateToDDMMMYYYY(date: Date): string;
3
4
  export declare function formatDateToHHMMAMPM(date: Date): string;
4
5
  export declare function formatDateToYYYYMMM(date: Date, separator?: string): `${string}-${string}-${string}`;
@@ -20,3 +20,4 @@ export declare function MaximumPrecision(unit: FdoInventoryUnit, measurement?: F
20
20
  };
21
21
  export declare function MaximumPrecisionLiteral(precision: number, message?: string | ((precision: number) => string)): (val: string) => string | true;
22
22
  export declare function Unique(pool: ISelectItem[], current?: string, message?: (item: ISelectItem) => string): (value: any) => string | true;
23
+ export declare function MultipleOf(n: number): (value: any) => string | true;
@@ -1,4 +1,4 @@
1
- import { u as s, a as i } from "./xlsx-Dl6dAHFx.js";
1
+ import { u as s, a as i } from "./xlsx-CZubj3Ki.js";
2
2
  function c(t, e) {
3
3
  return e.map((n) => typeof n.selector == "function" ? n.selector(t) : t[n.selector]);
4
4
  }