@feedmepos/mf-inventory-portal 1.0.15-dev.2 → 1.0.15-dev.4

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 (57) hide show
  1. package/dist/{App-CgxrN-aD.js → App-C2-uZBjX.js} +2 -2
  2. package/dist/ApprovalView-BYSG24mC.js +213 -0
  3. package/dist/{BindingsDialog-B_ZMDl-b.js → BindingsDialog-BVgAl7QB.js} +2 -2
  4. package/dist/{BindingsPicker-B84BG8zT.js → BindingsPicker-CTqO6MTh.js} +1 -1
  5. package/dist/{BindingsTable-DrvoykYc.js → BindingsTable-DAkGh7yD.js} +1 -1
  6. package/dist/{ClosingDraftView-Ds9sI2Eg.js → ClosingDraftView-CJe3za1B.js} +41 -41
  7. package/dist/{ClosingTemplateView-BhZ1OXkD.js → ClosingTemplateView-CzuyG1NM.js} +2 -2
  8. package/dist/{DeliveryOrderPrintPreview-Yuxf-jCh.js → DeliveryOrderPrintPreview-DC-S5Jkp.js} +1 -1
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-D6ktiUO5.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BIR8hIIx.js} +43 -43
  10. package/dist/{FmMultiselectDialog-4lVsA2Rn.js → FmMultiselectDialog-CyhyAmUf.js} +1 -1
  11. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-XmTRSHn_.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DbASoXHB.js} +57 -57
  12. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-B3PvtR0j.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BNcVcxkw.js} +1 -1
  13. package/dist/IngredientGroupView-CoVSqi7W.js +977 -0
  14. package/dist/IngredientsView-auG4thna.js +1778 -0
  15. package/dist/{IntegrationView-BnrCkjWt.js → IntegrationView-BCGzax4k.js} +5 -5
  16. package/dist/{InventoryBindingForm-uyHh2TI_.js → InventoryBindingForm-BlpwH-je.js} +1 -1
  17. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CECDj9Pw.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DJxy3D57.js} +46 -46
  18. package/dist/{InventoryBindingSummary-DyHCqgIe.js → InventoryBindingSummary-B1dzBf4n.js} +1 -1
  19. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Dx2lMf6h.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BqxFQWOu.js} +1 -1
  20. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BCX3vlmU.js → PremiumBadge.vue_vue_type_script_setup_true_lang-COUgrdWW.js} +15 -15
  21. package/dist/{PublishView-BVGyY6nn.js → PublishView-DRiyZ8D8.js} +13 -13
  22. package/dist/{PurchaseOrderPrintPreview-pbYIFiOG.js → PurchaseOrderPrintPreview-DQjCaQ1U.js} +4 -4
  23. package/dist/ReceiveRequestView-B88Nfuck.js +2576 -0
  24. package/dist/{RecipeView-DcgoCf4g.js → RecipeView-B-PR_bJO.js} +4 -4
  25. package/dist/{StockView-zO2uL662.js → StockView-DWZ9OiPc.js} +108 -108
  26. package/dist/{SupplierView-I5bqiX_2.js → SupplierView-BXLJkj_P.js} +37 -37
  27. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-GMAU4wTt.js +2090 -0
  28. package/dist/{TransferTemplateView-BDOt17yc.js → TransferTemplateView-BU4CJAi6.js} +149 -149
  29. package/dist/{UnitView-BVY5S6-3.js → UnitView-6Z2MUNL0.js} +32 -32
  30. package/dist/{WarehouseView-m6MKrtYq.js → WarehouseView-TVrrr6uJ.js} +26 -26
  31. package/dist/api/inventory.d.ts +12 -0
  32. package/dist/{app-DtICLubM.js → app-BFIrvTDw.js} +33844 -25682
  33. package/dist/app.d.ts +1 -0
  34. package/dist/app.js +5 -5
  35. package/dist/components/FmInventoryTableToolbar.vue.d.ts +36 -0
  36. package/dist/{decimal-C1dAcCf3.js → decimal-wpLnNWZL.js} +1 -1
  37. package/dist/{feature-Y7qzvbl4.js → feature-BvpauT6E.js} +79 -79
  38. package/dist/{format-unit-display-CPqfS4vp.js → format-unit-display-BbK1Rcd3.js} +48 -48
  39. package/dist/helper/rules.d.ts +1 -1
  40. package/dist/{index-DIEdSG3y.js → index-C2nfh-Rm.js} +1 -1
  41. package/dist/{index-0qsqwB0T.js → index-DI7DUbNm.js} +4 -4
  42. package/dist/{stock-CowNp_xM.js → stock-DkHVa1PB.js} +1 -1
  43. package/dist/stores/inventory.d.ts +16 -0
  44. package/dist/{supplier-JVTTlQNL.js → supplier-BiJ-_4RN.js} +2 -2
  45. package/dist/tsconfig.app.tsbuildinfo +1 -1
  46. package/dist/{use-ingredient-select-dialog-Df59lld2.js → use-ingredient-select-dialog-Bkt9TvKm.js} +5 -5
  47. package/dist/{use-inventory-binding-dialog-Bxxb93Kz.js → use-inventory-binding-dialog-ClzflO2S.js} +1 -1
  48. package/dist/views/ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts +4 -0
  49. package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +5 -0
  50. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +12 -0
  51. package/dist/{vue-i18n-DJOdRwc3.js → vue-i18n-Bvbu7J8Z.js} +153 -153
  52. package/package.json +4 -4
  53. package/dist/ApprovalView-DNGhkVc9.js +0 -147
  54. package/dist/IngredientGroupView-usK9stxT.js +0 -8779
  55. package/dist/IngredientsView-DPx8Z2zo.js +0 -1749
  56. package/dist/ReceiveRequestView-DZAgH2_u.js +0 -2516
  57. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-NyQg_yR9.js +0 -2020
package/dist/app.d.ts CHANGED
@@ -401,6 +401,7 @@ export declare const i18nMessages: {
401
401
  defaultRule: {
402
402
  title: string;
403
403
  description: string;
404
+ defaultCheckbox: string;
404
405
  };
405
406
  rules: {
406
407
  title: string;
package/dist/app.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import "vue";
2
- import { bf as e, bg as a, bh as o, be as i, bi as t, a as m } from "./app-DtICLubM.js";
2
+ import { bj as a, bk as e, bl as o, bi as i, bm as m, a as t } from "./app-BFIrvTDw.js";
3
3
  export {
4
- e as FmApp,
5
- a as InventoryBindingForm,
4
+ a as FmApp,
5
+ e as InventoryBindingForm,
6
6
  o as InventoryBindingSummary,
7
7
  i as i18nMessages,
8
- t as routers,
9
- m as useInventoryStore
8
+ m as routers,
9
+ t as useInventoryStore
10
10
  };
@@ -6,12 +6,20 @@ export interface FmInventoryTableToolbarProps {
6
6
  dateRangeQuery?: boolean;
7
7
  changeLocation?: boolean;
8
8
  searchable?: boolean;
9
+ filterable?: boolean;
10
+ filterAttributes?: RuleAttribute[];
9
11
  actions?: FmInventoryTableToolbarAction[];
10
12
  usingBusinessHelperText?: string;
11
13
  showBusiness?: boolean;
12
14
  }
13
15
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
14
16
  search: import("vue").PropType<string>;
17
+ filter: import("vue").PropType<{
18
+ value: string | number | boolean | (string | number | boolean)[];
19
+ type: "string" | "number" | "date";
20
+ operator: "$eq" | "$ne" | "$gt" | "$gte" | "$lt" | "$lte" | "$in" | "$nin" | "$regex" | "$contains" | "$startsWith" | "$endsWith" | "$between";
21
+ property: string;
22
+ } | import("@feedmepos/custom-attributes").FdoRuleGroup | null>;
15
23
  dateRange: import("vue").PropType<{
16
24
  startDate: string;
17
25
  endDate: string;
@@ -25,6 +33,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
25
33
  searchable: {
26
34
  type: import("vue").PropType<boolean>;
27
35
  };
36
+ filterable: {
37
+ type: import("vue").PropType<boolean>;
38
+ };
39
+ filterAttributes: {
40
+ type: import("vue").PropType<{
41
+ type: "string" | "number" | "date";
42
+ key: string;
43
+ entity: "restaurant" | "item";
44
+ values?: string[] | undefined;
45
+ }[]>;
46
+ };
28
47
  actions: {
29
48
  type: import("vue").PropType<FmInventoryTableToolbarAction[]>;
30
49
  };
@@ -36,6 +55,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
36
55
  };
37
56
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
38
57
  search: import("vue").PropType<string>;
58
+ filter: import("vue").PropType<{
59
+ value: string | number | boolean | (string | number | boolean)[];
60
+ type: "string" | "number" | "date";
61
+ operator: "$eq" | "$ne" | "$gt" | "$gte" | "$lt" | "$lte" | "$in" | "$nin" | "$regex" | "$contains" | "$startsWith" | "$endsWith" | "$between";
62
+ property: string;
63
+ } | import("@feedmepos/custom-attributes").FdoRuleGroup | null>;
39
64
  dateRange: import("vue").PropType<{
40
65
  startDate: string;
41
66
  endDate: string;
@@ -49,6 +74,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
49
74
  searchable: {
50
75
  type: import("vue").PropType<boolean>;
51
76
  };
77
+ filterable: {
78
+ type: import("vue").PropType<boolean>;
79
+ };
80
+ filterAttributes: {
81
+ type: import("vue").PropType<{
82
+ type: "string" | "number" | "date";
83
+ key: string;
84
+ entity: "restaurant" | "item";
85
+ values?: string[] | undefined;
86
+ }[]>;
87
+ };
52
88
  actions: {
53
89
  type: import("vue").PropType<FmInventoryTableToolbarAction[]>;
54
90
  };
@@ -1,4 +1,4 @@
1
- import "./app-DtICLubM.js";
1
+ import "./app-BFIrvTDw.js";
2
2
  function m(a) {
3
3
  function t(o, n = !0) {
4
4
  const e = Math.round(Math.log10(o));