@feedmepos/mf-inventory-portal 0.0.22-dev.2 → 0.0.22-dev.21

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 (81) hide show
  1. package/dist/App.vue.d.ts +2 -0
  2. package/dist/{ApprovalView-D7WEr35k.js → ApprovalView-CCYykhrK.js} +14 -14
  3. package/dist/{BindingsDialog-C-3uO6pD.js → BindingsDialog-33VV_AST.js} +1 -1
  4. package/dist/{BindingsPicker-B3tGisCE.js → BindingsPicker-BKu4vN8J.js} +8 -8
  5. package/dist/{BindingsTable-CPtiH3vj.js → BindingsTable-Dd0h5gDf.js} +1 -1
  6. package/dist/ClosingTemplateView-BhevjTLl.js +1067 -0
  7. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-ohHZLOuR.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-3gp56NNJ.js} +14 -16
  8. package/dist/{IngredientsView-D-EKGLq9.js → IngredientsView-DckIH9eR.js} +5 -6
  9. package/dist/{IntegrationView-BVAO_vch.js → IntegrationView-BqQ4jRIp.js} +2 -2
  10. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CJYmB7Ct.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Vi0q_bDz.js} +1 -1
  11. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BxkM-SOw.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BIL8LWRz.js} +1 -1
  12. package/dist/{PurchaseOrderPrintPreview-CP-mK62z.js → PurchaseOrderPrintPreview-Ct7daTTa.js} +1 -1
  13. package/dist/{ReceiveRequestView-x8WTvuDk.js → ReceiveRequestView-B4wHTogG.js} +25 -26
  14. package/dist/RecipeView-DuE4cXLz.js +590 -0
  15. package/dist/Standalone.vue.d.ts +2 -0
  16. package/dist/{StockView-SyWxT4Ee.js → StockView-Bn9v2Ix8.js} +602 -585
  17. package/dist/{SupplierView-a0HAZJau.js → SupplierView-C8rqHSOV.js} +37 -37
  18. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CStnY5Zh.js +851 -0
  19. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-DRKiv_t8.js +1511 -0
  20. package/dist/TransferTemplateView-RM6Y-WL4.js +1209 -0
  21. package/dist/{UnitView-B3c7W5lw.js → UnitView-BXISVrop.js} +4 -4
  22. package/dist/{WarehouseView-DDV-yslF.js → WarehouseView-B055eB90.js} +18 -18
  23. package/dist/api/closing-template.d.ts +14 -0
  24. package/dist/api/inventory.d.ts +5 -7
  25. package/dist/api/netsuite.d.ts +46 -0
  26. package/dist/api/purchase-order-template.d.ts +0 -4
  27. package/dist/{app-DURkcZal.js → app-9algzyce.js} +16045 -15403
  28. package/dist/app.d.ts +6 -0
  29. package/dist/app.js +2 -2
  30. package/dist/components/FmMinMaxInputRules.d.ts +2 -0
  31. package/dist/components/FmUnitInputRules.d.ts +2 -0
  32. package/dist/{decimal-BGJlFDm8.js → decimal-CMuMGm4y.js} +1 -1
  33. package/dist/{defineDeepModel-pATZSiCT.js → defineDeepModel-CjPowyho.js} +1 -1
  34. package/dist/extensions/promises.d.ts +14 -0
  35. package/dist/{format-time-from-id-BCAuJEq2.js → format-time-from-id-DNKcbBFm.js} +1 -1
  36. package/dist/helper/date2.d.ts +1 -0
  37. package/dist/helper/rules.d.ts +7 -0
  38. package/dist/helper/rules.spec.d.ts +1 -0
  39. package/dist/{id-to-date-CVHmTOJk.js → id-to-date-C6W4aVdr.js} +1 -1
  40. package/dist/purchase-order-transaction-type-CscRvNAR.js +680 -0
  41. package/dist/stores/api.d.ts +1 -0
  42. package/dist/stores/feature.d.ts +0 -1
  43. package/dist/stores/helper/core-store-proxy.d.ts +3 -0
  44. package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
  45. package/dist/stores/inventory.d.ts +7 -0
  46. package/dist/stores/location.d.ts +24 -42
  47. package/dist/stores/netsuite.d.ts +56 -0
  48. package/dist/stores/route.d.ts +0 -5
  49. package/dist/stores/warehouse.d.ts +4 -7
  50. package/dist/style.css +1 -1
  51. package/dist/{supplier-DmBbGAwf.js → supplier-BiCX3dpL.js} +1 -1
  52. package/dist/tsconfig.app.tsbuildinfo +1 -1
  53. package/dist/use-template-enabled-locations-2-Dtg2qOTm.js +85 -0
  54. package/dist/views/closing-template/components/closing-template-publish/ClosingTemplatePublish.vue.d.ts +6 -0
  55. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +276 -84
  56. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +341 -85
  57. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
  58. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +916 -0
  59. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
  60. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +788 -152
  61. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +800 -164
  62. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +13 -0
  63. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +4 -7
  64. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +2 -2
  65. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1285 -109
  66. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +399 -993
  67. package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +345 -0
  68. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -14
  69. package/dist/{xlsx-1DLm6bBD.js → xlsx-fKJqx2Qc.js} +1 -1
  70. package/dist/{xlsx.util-DLtch7r5.js → xlsx.util-LOnzE3KS.js} +2 -2
  71. package/package.json +5 -5
  72. package/dist/ClosingTemplateView-Df0lgpjS.js +0 -928
  73. package/dist/RecipeView-BysIWI1W.js +0 -581
  74. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-ckp8gcT_.js +0 -740
  75. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-BSvpuWY9.js +0 -1409
  76. package/dist/TransferTemplateView-BGi6zd6d.js +0 -1350
  77. package/dist/array-ClJzD_Lt.js +0 -30
  78. package/dist/layout/InventoryLayout.vue.d.ts +0 -2
  79. package/dist/layout/layout-routes.d.ts +0 -6
  80. package/dist/purchase-order-transaction-type-DvSpCSXr.js +0 -712
  81. package/dist/use-template-enabled-locations-BiuOdu1M.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-DURkcZal.js";
1
+ import { au as n, _ as r, av as e, as as o, at as t, u as i } from "./app-9algzyce.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,
@@ -1,4 +1,6 @@
1
1
  import type { FmMinMaxInputModel } from './FmMinMaxInputProps';
2
+ import type { FdoDecimal } from '@feedmepos/core/entity';
2
3
  export declare function FmMinMaxRequired(): (model?: FmMinMaxInputModel) => true | "Required";
3
4
  /** Both `min` and `max` are inclusive */
4
5
  export declare function FmMinMaxBoundary(min: number, max: number): (model?: FmMinMaxInputModel) => string | true;
6
+ export declare function FmMinMaxMultipleOf(decimal: FdoDecimal): (model?: FmMinMaxInputModel) => string | true;
@@ -1,8 +1,10 @@
1
1
  import type { FmGroupModelValue } from './FmUnitInputProps';
2
2
  import type { ValidationResult } from '@feedmepos/ui-library';
3
+ import type { FdoDecimal } from '@feedmepos/core/entity';
3
4
  export declare function FmUnitInputAmountIsNumberRule(): (value: FmGroupModelValue) => true | "Must be a number";
4
5
  export declare function FmUnitInputAmountAtLeastRule(minimum: number): (value: FmGroupModelValue) => string | true;
5
6
  export declare function FmUnitInputAmountMoreThanRule(minimum: number): (value: FmGroupModelValue) => string | true;
6
7
  export declare function FmUnitInputAmountAtMostRule(maximum: number): (value: FmGroupModelValue) => string | true;
7
8
  export declare function FmUnitInputMaxPrecisionRule(unit: FdoInventoryUnit, applyAmountRule?: boolean): (value: any) => ValidationResult;
8
9
  export declare function FmUnitInputMaxPrecisionRule(precision: number, applyAmountRule?: boolean): (value: any) => ValidationResult;
10
+ export declare function FmUnitInputAmountMultipleOf(decimal: FdoDecimal): (value: FmGroupModelValue) => ValidationResult;
@@ -1,4 +1,4 @@
1
- import "./app-DURkcZal.js";
1
+ import "./app-9algzyce.js";
2
2
  function m(a) {
3
3
  function t(o, n = !0) {
4
4
  const e = Math.round(Math.log10(o));
@@ -1,4 +1,4 @@
1
- import { c as d, ag as i } from "./app-DURkcZal.js";
1
+ import { c as d, ak as i } from "./app-9algzyce.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;
@@ -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-DURkcZal.js";
1
+ import { al as n } from "./app-9algzyce.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}`;
@@ -1,6 +1,7 @@
1
1
  import type { ValidationResult } from 'node_modules/@feedmepos/ui-library/dist/composables/useValidation';
2
2
  import { type AdjustmentAmount } from './number';
3
3
  import type { ISelectItem } from '@feedmepos/ui-library';
4
+ import type { FdoDecimal } from '@feedmepos/core/entity';
4
5
  export declare function Required(): (val: string) => true | "Required";
5
6
  export declare function isAdjustmentAmount(val: any): val is AdjustmentAmount;
6
7
  export declare function AtLeast(amount: number | AdjustmentAmount, message?: string | ((current: number) => string)): (val: any) => string | true;
@@ -20,3 +21,9 @@ export declare function MaximumPrecision(unit: FdoInventoryUnit, measurement?: F
20
21
  };
21
22
  export declare function MaximumPrecisionLiteral(precision: number, message?: string | ((precision: number) => string)): (val: string) => string | true;
22
23
  export declare function Unique(pool: ISelectItem[], current?: string, message?: (item: ISelectItem) => string): (value: any) => string | true;
24
+ export declare function MultipleOf(n: number): {
25
+ (val: any): ValidationResult;
26
+ };
27
+ export declare function MultipleOf(n: FdoDecimal): {
28
+ (val: any): ValidationResult;
29
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,4 @@
1
- import { u as s, a as i } from "./xlsx-1DLm6bBD.js";
1
+ import { u as s, a as i } from "./xlsx-fKJqx2Qc.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
  }