@feedmepos/mf-report 5.21.21 → 5.21.22

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 (19) hide show
  1. package/dist/{App-B7fFqqwq.js → App-DZ3HhJKH.js} +3 -3
  2. package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-C83DEzrp.js → BaseDialog.vue_vue_type_script_setup_true_lang-CnCFX1Cy.js} +2 -2
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-D92YVuhu.js → Default.vue_vue_type_script_setup_true_lang-CNeKCjDW.js} +1 -1
  4. package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-MZ4U7iLX.js → FilterSelector.vue_vue_type_script_setup_true_lang-BMx7tOtZ.js} +121 -121
  5. package/dist/{InsightView-BOQTMg97.js → InsightView-D1CpIEsq.js} +2 -2
  6. package/dist/{Layout-wF45_J-D.js → Layout-C6UYMnHF.js} +1 -1
  7. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-BihZAGGq.js → MenuTab.vue_vue_type_script_setup_true_lang-CwqcSiyi.js} +3 -3
  8. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-Dl1yJJzh.js → NavigationTab.vue_vue_type_script_setup_true_lang-Df-6pRpd.js} +1 -1
  9. package/dist/{OverviewView-CJtDx82s.js → OverviewView-BZNGKxWW.js} +4 -4
  10. package/dist/{Report-B-FPQEWW.js → Report-CQQqMJGY.js} +2 -2
  11. package/dist/{ReportEditor-DTZolrEZ.js → ReportEditor-BhdJ6wyM.js} +3 -3
  12. package/dist/{ReportView-LcQ1cADg.js → ReportView-8k_9MNip.js} +5 -5
  13. package/dist/{Setting-DIQOPxWh.js → Setting-dC3iUZYd.js} +2 -2
  14. package/dist/{TileEditor-CeZfIiHu.js → TileEditor-CS65HkRc.js} +739 -727
  15. package/dist/{TransitionFade-CrOThVuD.js → TransitionFade-5WYqlTMU.js} +2 -2
  16. package/dist/app.js +9 -9
  17. package/dist/assets/{formatChartData.worker-B07P_JTj.js → formatChartData.worker-BxpediKG.js} +1 -1
  18. package/dist/assets/{processTableData.worker-D4nIiACG.js → processTableData.worker-93fLL2HJ.js} +1 -1
  19. package/package.json +1 -1
@@ -2,8 +2,8 @@ import { defineComponent as ee, resolveComponent as U, createBlock as te, openBl
2
2
  import { detectLocale as E, useCoreStore as T } from "@feedmepos/mf-common";
3
3
  import { u as Le, d as i, a as _e, b as X, c as we, e as be, f as Ce, s as ke, g as Ee } from "./vue-i18n-D1iec8Wy.js";
4
4
  import { storeToRefs as q } from "pinia";
5
- import { u as Y, a as Ne, b as Be } from "./BaseDialog.vue_vue_type_script_setup_true_lang-C83DEzrp.js";
6
- import { _ as Fe, u as $e } from "./NavigationTab.vue_vue_type_script_setup_true_lang-Dl1yJJzh.js";
5
+ import { u as Y, a as Ne, b as Be } from "./BaseDialog.vue_vue_type_script_setup_true_lang-CnCFX1Cy.js";
6
+ import { _ as Fe, u as $e } from "./NavigationTab.vue_vue_type_script_setup_true_lang-Df-6pRpd.js";
7
7
  import { u as Z } from "./message-dialog-UoMWOnil.js";
8
8
  import { useRoute as xe, useRouter as Je } from "vue-router";
9
9
  const Ae = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Te = /* @__PURE__ */ ee({
@@ -99,7 +99,7 @@ const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
99
99
  }), Re(() => {
100
100
  g(Fe);
101
101
  }), ae(() => {
102
- console.log("5.21.21", !0), window.addEventListener("message", Q), window.addEventListener("message", j);
102
+ console.log("5.21.22", !0), window.addEventListener("message", Q), window.addEventListener("message", j);
103
103
  });
104
104
  const I = Ne(), V = $e(), n = X();
105
105
  qe(() => {
@@ -8677,7 +8677,7 @@ Arguments: [` + D + "]";
8677
8677
  }, t.inventoryAdjustmentSkuSchema_closure.prototype = {
8678
8678
  call$1(n) {
8679
8679
  var e = null, r = "locationId", i = "inventoryAdjustmentId", u = "fromBalance", o = "toBalance", s = "unitPrecision", l = "unitName", D = "unitAbbrev", d = "amountCost", c = "fromBalanceCost", p = "toBalanceCost", y = "trackingAmount", g = "trackingUnitName", m = "trackingUnitAbbrev", h = "conversion", A = "customAttributes", b = "defaultCostPerUnit";
8680
- return t._setArrayType([t.Field_Field$string(e, !1, "ID", "id", "_id", e, n), t.Field_Field$string(e, !0, e, "docId", "_docId", e, n), t.Field_Field$string(e, !1, "Restaurant ID", "restaurantId", "_restaurantId", e, n), t.Field_Field$string(e, !1, "Warehouse ID", "warehouseId", "_warehouseId", e, n), t.Field_Field$timestamp(e, !1, "Time", "createdAt", "_createdAt", e, n), t.Field_Field$timestamp(e, !0, e, "publishedAt", "_publishedAt", e, n), t.Field_Field$string(e, !1, "Location ID", r, r, e, n), t.Field_Field$string(e, !1, "Inventory Adjustment ID", i, i, e, n), t.Field_Field$numeric(e, !1, "Amount", "amount", "amount", e, n), t.Field_Field$numeric("IF(@amount>=0, @amount, 0)", !1, "In", "in", e, E.CASE_Wax3e, n), t.Field_Field$numeric("IF(@amount<0, @amount, 0)", !1, "Out", "out", e, E.CASE_Wax3c, n), t.Field_Field$string(e, !1, "Remark", "remark", "remark", e, n), t.Field_Field$string(e, !1, "Type", "type", "type", e, n), t.Field_Field$numeric(e, !1, "From balance", u, u, e, n), t.Field_Field$numeric(e, !1, "To balance", o, o, e, n), t.Field_Field$string(e, !1, "Name", "name", "name", e, n), t.Field_Field$string(e, !1, "Code", "code", "code", e, n), t.Field_Field$string(e, !1, "Unit ID", "unitId", "unitId", e, n), t.Field_Field$string(e, !1, "Unit Precision", s, s, e, n), t.Field_Field$string(e, !1, "SKU ID", "skuId", "skuId", e, n), t.Field_Field$string(e, !1, "Unit", l, l, e, n), t.Field_Field$string(e, !1, "Unit abbrev.", D, D, e, n), t.Field_Field$numeric(e, !1, "Amount cost", d, d, "case when @amount<0 then -@amount_cost else @amount_cost end", n), t.Field_Field$numeric(e, !1, "From balance cost", c, c, e, n), t.Field_Field$numeric(e, !1, "To balance cost", p, p, e, n), t.Field_Field$string(e, !1, "Name (unit)", "nameUnit", e, "concat(@name,' (',@unit_abbrev,')')", n), t.Field_Field$numeric(e, !1, "Daily consumption", "dailyConsumption", e, "(sum(@amount) filter (where type in ('SALES','DAMAGE')) over (partition by @name)/(EXTRACT(DAY FROM (!end - !start))+1))", n), t.Field_Field$numeric(e, !1, "Days outstanding", "daysOutstanding", e, "-(last_value(@to_balance) over (partition by @name order by @created_at asc ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING)/(sum(@amount) filter (where type in ('SALES','DAMAGE')) over (partition by @name)/(EXTRACT(DAY FROM (!end - !start))+1)))", n), t.Field_Field$numeric(e, !1, "Tracking amount", y, y, e, n), t.Field_Field$string(e, !1, "Tracking unit", g, g, e, n), t.Field_Field$string(e, !1, "Tracking unit abbrev.", m, m, e, n), t.Field_Field$numeric(e, !1, "Conversion", h, h, e, n), t.Field_Field$string(e, !1, "Custom attributes", A, A, e, n), t.Field_Field$string(e, !1, "Ref", "ref", "ref", e, n), t.Field_Field$numeric(e, !1, "Default unit cost", b, b, e, n), t.Field_Field$bool(e, !1, "From closing template", "fromClosingTemplate", e, "((select 1 from closing_draft_skus where closing_adjustment_id = @inventory_adjustment_id and sku_id = @sku_id limit 1) is not null)", n)], $.JSArray_Field);
8680
+ return t._setArrayType([t.Field_Field$string(e, !1, "ID", "id", "_id", e, n), t.Field_Field$string(e, !0, e, "docId", "_docId", e, n), t.Field_Field$string(e, !1, "Restaurant ID", "restaurantId", "_restaurantId", e, n), t.Field_Field$string(e, !1, "Warehouse ID", "warehouseId", "_warehouseId", e, n), t.Field_Field$timestamp(e, !1, "Time", "createdAt", "_createdAt", e, n), t.Field_Field$timestamp(e, !0, e, "publishedAt", "_publishedAt", e, n), t.Field_Field$string(e, !1, "Location ID", r, r, e, n), t.Field_Field$string(e, !1, "Inventory Adjustment ID", i, i, e, n), t.Field_Field$numeric(e, !1, "Amount", "amount", "amount", e, n), t.Field_Field$numeric("IF(@amount>=0, @amount, 0)", !1, "In", "in", e, E.CASE_Wax3e, n), t.Field_Field$numeric("IF(@amount<0, @amount, 0)", !1, "Out", "out", e, E.CASE_Wax3c, n), t.Field_Field$string(e, !1, "Remark", "remark", "remark", e, n), t.Field_Field$string(e, !1, "Type", "type", "type", e, n), t.Field_Field$numeric(e, !1, "From balance", u, u, e, n), t.Field_Field$numeric(e, !1, "To balance", o, o, e, n), t.Field_Field$string(e, !1, "Name", "name", "name", e, n), t.Field_Field$string(e, !1, "Code", "code", "code", e, n), t.Field_Field$string(e, !1, "Unit ID", "unitId", "unitId", e, n), t.Field_Field$string(e, !1, "Unit Precision", s, s, e, n), t.Field_Field$string(e, !1, "SKU ID", "skuId", "skuId", e, n), t.Field_Field$string(e, !1, "Unit", l, l, e, n), t.Field_Field$string(e, !1, "Unit abbrev.", D, D, e, n), t.Field_Field$numeric(e, !1, "Amount cost", d, d, "case when @amount<0 then -@amount_cost else @amount_cost end", n), t.Field_Field$numeric(e, !1, "From balance cost", c, c, e, n), t.Field_Field$numeric(e, !1, "To balance cost", p, p, e, n), t.Field_Field$string(e, !1, "Name (unit)", "nameUnit", e, "concat(@name,' (',@unit_abbrev,')')", n), t.Field_Field$numeric(e, !1, "Daily consumption", "dailyConsumption", e, "(sum(@amount) filter (where type in ('SALES','DAMAGE')) over (partition by @name)/(EXTRACT(DAY FROM (!end - !start))+1))", n), t.Field_Field$numeric(e, !1, "Days outstanding", "daysOutstanding", e, "-(last_value(@to_balance) over (partition by @name order by @created_at asc ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING)/(sum(@amount) filter (where type in ('SALES','DAMAGE')) over (partition by @name)/(EXTRACT(DAY FROM (!end - !start))+1)))", n), t.Field_Field$numeric(e, !1, "Tracking amount", y, y, e, n), t.Field_Field$string(e, !1, "Tracking unit", g, g, e, n), t.Field_Field$string(e, !1, "Tracking unit abbrev.", m, m, e, n), t.Field_Field$numeric(e, !1, "Conversion", h, h, e, n), t.Field_Field$string(e, !1, "Custom attributes", A, A, e, n), t.Field_Field$string(e, !1, "Ref", "ref", "ref", e, n), t.Field_Field$numeric(e, !1, "Default unit cost", b, b, e, n), t.Field_Field$bool(e, !1, "From closing template", "fromClosingTemplate", e, "((select 1 from closing_draft_skus where closing_adjustment_id = @inventory_adjustment_id and sku_id = @sku_id limit 1) is not null)", n), t.Field_Field$numeric(e, !1, "Default cost", "defaultCost", e, "@default_cost_per_unit*@amount", n)], $.JSArray_Field);
8681
8681
  },
8682
8682
  $signature: 0
8683
8683
  }, t.inventoryAdjustmentSkuSchema_closure0.prototype = {
@@ -19378,7 +19378,7 @@ const v0 = {
19378
19378
  };
19379
19379
  });
19380
19380
  var me = /* @__PURE__ */ ((T) => (T.generating = "GENERATING", T.completed = "COMPLETED", T.failed = "FAILED", T.canceled = "CANCELLED", T))(me || {});
19381
- const yt = "/assets/formatChartData.worker-B07P_JTj.js", Y0 = /* @__PURE__ */ new Map();
19381
+ const yt = "/assets/formatChartData.worker-BxpediKG.js", Y0 = /* @__PURE__ */ new Map();
19382
19382
  function ae(T) {
19383
19383
  return new Worker(T, { type: "module" });
19384
19384
  }
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, computed as f, resolveComponent as p, createElementBlock as s, openBlock as t, normalizeStyle as n, normalizeClass as d, unref as e, createBlock as y, createCommentVNode as _, createVNode as h, createElementVNode as k, toDisplayString as g, renderSlot as x } from "vue";
2
- import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-Dl1yJJzh.js";
2
+ import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-Df-6pRpd.js";
3
3
  import { useBreakpoints as b } from "@feedmepos/ui-library";
4
4
  import { storeToRefs as C } from "pinia";
5
5
  import { u as q, f as w } from "./vue-i18n-D1iec8Wy.js";