@feedmepos/mf-report 5.8.2 → 5.9.0-beta.0

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 (37) hide show
  1. package/dist/{App-C6VF9T5V.js → App-CQsY_29Q.js} +35 -36
  2. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-w7lSYFth.js +180 -0
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-B0_QlxYu.js → Default.vue_vue_type_script_setup_true_lang-DeKEY6-a.js} +2 -2
  4. package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-Dc0etyos.js +1447 -0
  5. package/dist/{InsightView-BQlzh0ue.js → InsightView-DmM_alRs.js} +7 -8
  6. package/dist/Integration-CAX-hbPd.js +5222 -0
  7. package/dist/Integrations-DRYSVJuG.js +338 -0
  8. package/dist/{Layout-RhBG3zKc.js → Layout-CDCrzjoH.js} +1 -1
  9. package/dist/MenuTab.vue_vue_type_script_setup_true_lang-DNxXgTX4.js +342 -0
  10. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-BdzurgE4.js → NavigationTab.vue_vue_type_script_setup_true_lang-DpFJ_jYh.js} +1078 -1080
  11. package/dist/NoData.vue_vue_type_script_setup_true_lang-DGTWa4E5.js +38 -0
  12. package/dist/{OverviewView-Boq9rgbj.js → OverviewView-DeGcbroH.js} +5 -5
  13. package/dist/{Report-C7GvAhoG.js → Report-Do9-H4EW.js} +4 -4
  14. package/dist/ReportEditor-D4bnl00E.js +968 -0
  15. package/dist/{ReportView-DMLyspIY.js → ReportView-Cz6U-DNK.js} +7 -7
  16. package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-Dq9vY9mj.js +110 -0
  17. package/dist/{Setting-CLBZdtvx.js → Setting-DIAFop5l.js} +26 -23
  18. package/dist/TileEditor-DGhgxgTD.js +3080 -0
  19. package/dist/{TransitionFade-D3megUTB.js → TransitionFade-DmQjTWuM.js} +207 -203
  20. package/dist/app.js +59 -19
  21. package/dist/helper-CPPrXQSs.js +75 -0
  22. package/dist/style.css +1 -1
  23. package/dist/{v4-Bi2F4URu.js → v4-ZW3e7y3R.js} +1955 -1844
  24. package/dist/{global-loader-CEOgl5uZ.js → vue-i18n-CbAseuRE.js} +2058 -1977
  25. package/package.json +1 -1
  26. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-CpakO4U-.js +0 -162
  27. package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-BO_HTvjY.js +0 -1417
  28. package/dist/Integration-CB31rvSG.js +0 -4751
  29. package/dist/Integrations-DGlzyZMR.js +0 -334
  30. package/dist/MenuTab.vue_vue_type_script_setup_true_lang-DsY5W3k7.js +0 -101
  31. package/dist/NoData.vue_vue_type_script_setup_true_lang-DZJxcekm.js +0 -31
  32. package/dist/ReportEditor-CwzONBLC.js +0 -621
  33. package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-C23-eIYF.js +0 -104
  34. package/dist/TileEditor-CtVM3IbI.js +0 -3016
  35. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  36. package/dist/index-CH1WFv_s.js +0 -147
  37. package/dist/report-schema-C3sI223M.js +0 -31
package/dist/app.js CHANGED
@@ -458,12 +458,21 @@ const a = {
458
458
  },
459
459
  filter: {
460
460
  Filter: "Filter",
461
+ displayName: "Display name",
462
+ search: "Search for filter",
463
+ selectAll: "Select all",
461
464
  description: "Filter special value from the schema",
462
465
  add: "Add filter",
463
466
  AddToReportView: "Add to @:report.common.report view",
464
467
  advance: "Advance",
465
468
  dataFormula: "Data source formula",
466
- timeFormatter: "Time Formatter"
469
+ timeFormatter: "Time Formatter",
470
+ globalFilter: "Global filter",
471
+ addGlobalFilter: "Add global filter",
472
+ noWidget: "No widgets available for this schema",
473
+ applyWidget: "Apply to specific widget",
474
+ invalidSchema: "Invalid schema",
475
+ invalidDimension: "Invalid dimension"
467
476
  },
468
477
  metric: {
469
478
  Metric: "Metric",
@@ -524,7 +533,8 @@ const a = {
524
533
  showX: "Show X",
525
534
  showY: "Show Y",
526
535
  showGrid: "Show Grid",
527
- showTick: "Show Tick"
536
+ showTick: "Show Tick",
537
+ showTitle: "Show Title"
528
538
  },
529
539
  legend: {
530
540
  showLegend: "Show Legend",
@@ -1574,12 +1584,21 @@ const a = {
1574
1584
  },
1575
1585
  filter: {
1576
1586
  Filter: "筛选",
1587
+ displayName: "显示名称",
1588
+ search: "搜索筛选器",
1589
+ selectAll: "全选",
1577
1590
  description: "筛选特殊值从@:report.section.schema.title",
1578
1591
  add: "添加筛选",
1579
1592
  AddToReportView: "添加到@:{'report.common.report'}视图",
1580
1593
  advance: "高级",
1581
1594
  dataFormula: "数据源公式",
1582
- timeFormatter: "时间格式"
1595
+ timeFormatter: "时间格式",
1596
+ globalFilter: "全局筛选",
1597
+ addGlobalFilter: "添加全局筛选器",
1598
+ noWidget: "此数据结构没有可用的小组件",
1599
+ applyWidget: "应用于指定小组件",
1600
+ invalidSchema: "无效的结构",
1601
+ invalidDimension: "无效的维度"
1583
1602
  },
1584
1603
  metric: {
1585
1604
  Metric: "指标",
@@ -1640,7 +1659,8 @@ const a = {
1640
1659
  showX: "显示X轴",
1641
1660
  showY: "显示Y轴",
1642
1661
  showGrid: "显示网格",
1643
- showTick: "显示刻度"
1662
+ showTick: "显示刻度",
1663
+ showTitle: "显示标题"
1644
1664
  },
1645
1665
  legend: {
1646
1666
  showLegend: "显示图例",
@@ -2691,12 +2711,21 @@ const a = {
2691
2711
  },
2692
2712
  filter: {
2693
2713
  Filter: "ตัวกรอง",
2714
+ displayName: "ชื่อที่แสดง",
2715
+ search: "ค้นหาตัวกรอง",
2716
+ selectAll: "เลือกทั้งหมด",
2694
2717
  description: "กรองค่าพิเศษจากสคีมา",
2695
2718
  add: "เพิ่มตัวกรอง",
2696
2719
  advance: "ขั้นสูง",
2697
2720
  AddToReportView: "เพิ่มไปยังมุมมองรายงาน",
2698
2721
  dataFormula: "สูตรข้อมูล",
2699
- timeFormatter: "รูปแบบเวลา"
2722
+ timeFormatter: "รูปแบบเวลา",
2723
+ globalFilter: "ตัวกรองรวม",
2724
+ addGlobalFilter: "เพิ่มตัวกรองทั่วไป",
2725
+ noWidget: "ไม่มีวิดเจ็ตสำหรับสคีมานี้",
2726
+ applyWidget: "ใช้กับวิดเจ็ตที่ระบุ",
2727
+ invalidSchema: "สคีมาไม่ถูกต้อง",
2728
+ invalidDimension: "มิติไม่ถูกต้อง"
2700
2729
  },
2701
2730
  metric: {
2702
2731
  Metric: "เมตริก",
@@ -2757,7 +2786,8 @@ const a = {
2757
2786
  showX: "แสดงแกน X",
2758
2787
  showY: "แสดงแกน Y",
2759
2788
  showGrid: "แสดงกริด",
2760
- showTick: "แสดงติ๊ก"
2789
+ showTick: "แสดงติ๊ก",
2790
+ showTitle: "แสดงชื่อ"
2761
2791
  },
2762
2792
  legend: {
2763
2793
  showLegend: "แสดงตำนาน",
@@ -3798,12 +3828,21 @@ const a = {
3798
3828
  },
3799
3829
  filter: {
3800
3830
  Filter: "篩選",
3831
+ displayName: "顯示名稱",
3832
+ search: "搜尋篩選器",
3833
+ selectAll: "全選",
3801
3834
  description: "篩選特殊值從@:report.section.schema.title",
3802
3835
  add: "添加篩選",
3803
3836
  AddToReportView: "添加到@:{'report.common.report'}視圖",
3804
3837
  advance: "高級",
3805
3838
  dataFormula: "數據源公式",
3806
- timeFormatter: "時間格式"
3839
+ timeFormatter: "時間格式",
3840
+ globalFilter: "全局篩選",
3841
+ addGlobalFilter: "新增全域篩選器",
3842
+ noWidget: "此資料結構沒有可用的小元件",
3843
+ applyWidget: "套用至指定小元件",
3844
+ invalidSchema: "無效的結構",
3845
+ invalidDimension: "無效的維度"
3807
3846
  },
3808
3847
  metric: {
3809
3848
  Metric: "指標",
@@ -3864,7 +3903,8 @@ const a = {
3864
3903
  showX: "顯示X軸",
3865
3904
  showY: "顯示Y軸",
3866
3905
  showGrid: "顯示網格",
3867
- showTick: "顯示刻度"
3906
+ showTick: "顯示刻度",
3907
+ showTitle: "顯示標題"
3868
3908
  },
3869
3909
  legend: {
3870
3910
  showLegend: "顯示圖例",
@@ -4465,51 +4505,51 @@ const a = {
4465
4505
  path: "/overview",
4466
4506
  alias: ["/"],
4467
4507
  name: "overview",
4468
- component: () => import("./OverviewView-Boq9rgbj.js")
4508
+ component: () => import("./OverviewView-DeGcbroH.js")
4469
4509
  },
4470
4510
  {
4471
4511
  path: "/report",
4472
4512
  name: "reports",
4473
- component: () => import("./Report-C7GvAhoG.js")
4513
+ component: () => import("./Report-Do9-H4EW.js")
4474
4514
  },
4475
4515
  {
4476
4516
  path: "/insights",
4477
4517
  name: "insights",
4478
- component: () => import("./InsightView-BQlzh0ue.js")
4518
+ component: () => import("./InsightView-DmM_alRs.js")
4479
4519
  },
4480
4520
  {
4481
4521
  path: "/report-view",
4482
4522
  name: "reportView",
4483
- component: () => import("./ReportView-DMLyspIY.js")
4523
+ component: () => import("./ReportView-Cz6U-DNK.js")
4484
4524
  },
4485
4525
  {
4486
4526
  path: "/report-editor",
4487
4527
  name: "reportEditor",
4488
- component: () => import("./ReportEditor-CwzONBLC.js")
4528
+ component: () => import("./ReportEditor-D4bnl00E.js")
4489
4529
  },
4490
4530
  {
4491
4531
  path: "/report-editor/tile-editor",
4492
4532
  name: "tileEditor",
4493
- component: () => import("./TileEditor-CtVM3IbI.js")
4533
+ component: () => import("./TileEditor-DGhgxgTD.js")
4494
4534
  },
4495
4535
  {
4496
4536
  path: "/setting",
4497
4537
  name: "setting",
4498
- component: () => import("./Setting-CLBZdtvx.js")
4538
+ component: () => import("./Setting-DIAFop5l.js")
4499
4539
  },
4500
4540
  {
4501
4541
  path: "/integration",
4502
- component: () => import("./Layout-RhBG3zKc.js"),
4542
+ component: () => import("./Layout-CDCrzjoH.js"),
4503
4543
  children: [
4504
4544
  {
4505
4545
  name: "integrations",
4506
4546
  path: "",
4507
- component: () => import("./Integrations-DGlzyZMR.js")
4547
+ component: () => import("./Integrations-DRYSVJuG.js")
4508
4548
  },
4509
4549
  {
4510
4550
  name: "integration",
4511
4551
  path: "/integration/:id",
4512
- component: () => import("./Integration-CB31rvSG.js")
4552
+ component: () => import("./Integration-CAX-hbPd.js")
4513
4553
  }
4514
4554
  ]
4515
4555
  },
@@ -4533,7 +4573,7 @@ const u = {
4533
4573
  "zh-CN": m,
4534
4574
  "th-TH": c,
4535
4575
  "zh-Hant": p
4536
- }, h = e(() => import("./App-C6VF9T5V.js"));
4576
+ }, h = e(() => import("./App-CQsY_29Q.js"));
4537
4577
  export {
4538
4578
  h as FmApp,
4539
4579
  u as i18nMessages,
@@ -0,0 +1,75 @@
1
+ import { d } from "./vue-i18n-CbAseuRE.js";
2
+ var u = /* @__PURE__ */ ((e) => (e.Year = "YEAR", e.Month = "MONTH", e.Week = "WEEK", e.Day = "DAY", e))(u || {});
3
+ function c(e, a = 100) {
4
+ let r = null;
5
+ const t = function(...n) {
6
+ return r && clearTimeout(r), new Promise((s) => {
7
+ r = setTimeout(() => {
8
+ r = null;
9
+ const l = e(...n);
10
+ s(l);
11
+ }, a);
12
+ });
13
+ };
14
+ return t.cancel = () => {
15
+ r && (clearTimeout(r), r = null);
16
+ }, t;
17
+ }
18
+ function y() {
19
+ return [...Array(12).keys()].map((e) => d().month(e).format("MMM"));
20
+ }
21
+ function f(e, a, r = "") {
22
+ switch (e.type) {
23
+ case u.Day:
24
+ return a("report.schedule.everyDay");
25
+ case u.Week: {
26
+ let t = `${a("report.schedule.everyWeek")} `;
27
+ const n = [
28
+ a("report.days.sunday"),
29
+ a("report.days.monday"),
30
+ a("report.days.tuesday"),
31
+ a("report.days.wednesday"),
32
+ a("report.days.thursday"),
33
+ a("report.days.friday"),
34
+ a("report.days.saturday")
35
+ ];
36
+ if (e.days)
37
+ for (let s = 0; s < e.days.length; s++)
38
+ t = t + n[e.days[s]] + (s !== e.days.length - 1 ? "," : "");
39
+ return t;
40
+ }
41
+ case u.Month: {
42
+ let t = `${a("report.schedule.everyMonth")} `;
43
+ return e.days && (t = t + e.days.join(",")), t;
44
+ }
45
+ case u.Year: {
46
+ if (!e.months && !e.days)
47
+ return a("report.schedule.customDate");
48
+ let t = `${a("report.schedule.everyYear")} `;
49
+ if (e.months) {
50
+ const n = y();
51
+ t = t + e.months.map((s) => n[s - 1]).join(",");
52
+ }
53
+ return e.months && e.days && (t = t + ` ${a("report.common.and")} `), e.days && (t = t + e.days.join(",")), t;
54
+ }
55
+ default:
56
+ return r;
57
+ }
58
+ }
59
+ function m(e = {
60
+ startDate: null,
61
+ endDate: null,
62
+ locale: "en-US"
63
+ }) {
64
+ if (!e.startDate || !e.endDate)
65
+ return "No comparison";
66
+ let a = d().subtract(1, "day").endOf("day"), r = d().endOf("day");
67
+ return e.startDate && (a = d(e.startDate).locale(e.locale)), e.endDate && (r = d(e.endDate).locale(e.locale)), a.format("YYYY") !== r.format("YYYY") ? `${a.format("DD MMM YYYY")} - ${r.format("DD MMM YYYY")}` : `${a.format("DD MMM")} - ${r.format("DD MMM YYYY")}`;
68
+ }
69
+ export {
70
+ u as C,
71
+ c as a,
72
+ f as b,
73
+ m as d,
74
+ y as g
75
+ };
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .circular{padding:0;width:var(--chart-width);height:var(--chart-height)}.circular .grow{height:100%}.sparkline{margin:0;padding:0}.sparkline .grow{height:50px;flex-grow:0}.scrollbar-hide-table>div{scrollbar-width:thin}.bar-chart{padding:0;width:var(--chart-width);height:var(--chart-height)}.bar-chart .grow{height:100%}.bar-chart .flex-col{gap:0}.line-chart{padding:0 0 8px;width:var(--chart-width);height:var(--chart-height)}.line-chart .grow{height:100%}.line-chart .flex-col{gap:0}.card-container[data-v-1284dd51]{overflow-y:auto;overflow-x:hidden}.show-pin{visibility:hidden}.row:hover .show-pin{visibility:visible}.icon-btn{border-radius:100%}.overlay{background:#0006;position:absolute;top:0;left:0;height:100vh;width:100vw}.side-panel{position:fixed;right:0;top:0;height:100%;background:#fff}.fade-enter-active,.fade-leave-active{transition:opacity .2s ease}.fade-enter-from,.fade-leave-to{opacity:0}.slide-enter-active,.slide-leave-active{transition:all .3s ease-out}.slide-enter-from,.slide-leave-to{transform:translate(100%)}.selected-widget[data-v-7c1916a3]{background-color:#fff4e6;border-color:#ff7823}.slide-fade-enter-active[data-v-f83598f1],.slide-fade-leave-active[data-v-f83598f1]{transition:all .3s ease-in-out}.slide-fade-enter-from[data-v-f83598f1],.slide-fade-leave-to[data-v-f83598f1]{transform:translateY(-50px);opacity:0}.slide-fade-right-enter-active[data-v-a98ca9bc],.slide-fade-right-leave-active[data-v-a98ca9bc]{transition:all .3s ease-in-out}.slide-fade-right-enter-from[data-v-a98ca9bc],.slide-fade-right-leave-to[data-v-a98ca9bc]{position:absolute;transform:translate(-50px);opacity:.4}.slide-fade-left-enter-active[data-v-a98ca9bc]{transition-delay:.3s;transition:all .3s ease-in-out}.slide-fade-left-leave-active[data-v-a98ca9bc]{transition:all .3s ease-in-out}.slide-fade-left-enter-from[data-v-a98ca9bc],.slide-fade-left-leave-to[data-v-a98ca9bc]{position:absolute;transform:translate(-50px);opacity:.1}.toggleEditResize{border:2px dashed #3b82f6!important;position:relative}th:hover,td:hover{cursor:default}.col-resize-handle{position:absolute;top:0;right:0;width:6px;height:100%;cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:10}.highlight-hover-col,.highlight-col{border-right:2px solid #3b82f6!important}.row-resize-handle{position:absolute;bottom:0;left:0;width:100%;height:6px;cursor:row-resize;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:10}.highlight-hover-row,.highlight-row{border-bottom:2px solid #3b82f6!important}.fm-top-sheet{height:100%}.integration-card[data-v-8133bb2c]{height:140px;width:140px;padding:0}.integration-card .logo-card[data-v-8133bb2c]{width:100%;padding:24px;background:#fff}.integration-card .title-card[data-v-8133bb2c]{height:36px;color:#fff}.scrollbar-hide::-webkit-scrollbar{display:none}.scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}
1
+ .circular{padding:0;width:var(--chart-width);height:var(--chart-height)}.circular .grow{height:100%}.sparkline{margin:0;padding:0}.sparkline .grow{height:50px;flex-grow:0}.scrollbar-hide-table>div{scrollbar-width:thin}.bar-chart{padding:0;width:var(--chart-width);height:var(--chart-height)}.bar-chart .grow{height:100%}.bar-chart .flex-col{gap:0}.line-chart{padding:0 0 8px;width:var(--chart-width);height:var(--chart-height)}.line-chart .grow{height:100%}.line-chart .flex-col{gap:0}.card-container[data-v-1284dd51]{overflow-y:auto;overflow-x:hidden}.show-pin{visibility:hidden}.row:hover .show-pin{visibility:visible}.icon-btn{border-radius:100%}.overlay{background:#0006;position:absolute;top:0;left:0;height:100vh;width:100vw}.side-panel{position:fixed;right:0;top:0;height:100%;background:#fff}.fade-enter-active,.fade-leave-active{transition:opacity .2s ease}.fade-enter-from,.fade-leave-to{opacity:0}.slide-enter-active,.slide-leave-active{transition:all .3s ease-out}.slide-enter-from,.slide-leave-to{transform:translate(100%)}.selected-widget[data-v-7c1916a3]{background-color:#fff4e6;border-color:#ff7823}.slide-fade-enter-active[data-v-fa67a3a4],.slide-fade-leave-active[data-v-fa67a3a4]{transition:all .3s ease-in-out}.slide-fade-enter-from[data-v-fa67a3a4],.slide-fade-leave-to[data-v-fa67a3a4]{transform:translateY(-50px);opacity:0}.slide-fade-right-enter-active[data-v-a98ca9bc],.slide-fade-right-leave-active[data-v-a98ca9bc]{transition:all .3s ease-in-out}.slide-fade-right-enter-from[data-v-a98ca9bc],.slide-fade-right-leave-to[data-v-a98ca9bc]{position:absolute;transform:translate(-50px);opacity:.4}.slide-fade-left-enter-active[data-v-a98ca9bc]{transition-delay:.3s;transition:all .3s ease-in-out}.slide-fade-left-leave-active[data-v-a98ca9bc]{transition:all .3s ease-in-out}.slide-fade-left-enter-from[data-v-a98ca9bc],.slide-fade-left-leave-to[data-v-a98ca9bc]{position:absolute;transform:translate(-50px);opacity:.1}.toggleEditResize{border:2px dashed #3b82f6!important;position:relative}th:hover,td:hover{cursor:default}.col-resize-handle{position:absolute;top:0;right:0;width:6px;height:100%;cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:10}.highlight-hover-col,.highlight-col{border-right:2px solid #3b82f6!important}.row-resize-handle{position:absolute;bottom:0;left:0;width:100%;height:6px;cursor:row-resize;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:10}.highlight-hover-row,.highlight-row{border-bottom:2px solid #3b82f6!important}.fm-top-sheet{height:100%}.integration-card[data-v-59676fe3]{height:140px;width:140px;padding:0}.integration-card .logo-card[data-v-59676fe3]{width:100%;padding:24px;background:#fff}.integration-card .title-card[data-v-59676fe3]{height:36px;color:#fff}.scrollbar-hide::-webkit-scrollbar{display:none}.scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}