@feedmepos/mf-report 5.0.13-beta.0 → 5.0.14-rc.2

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 (116) hide show
  1. package/dist/App.vue.d.ts +2 -0
  2. package/dist/Entry.vue.d.ts +2 -0
  3. package/dist/api/accounting/index.d.ts +5 -0
  4. package/dist/api/business-config/index.d.ts +4 -0
  5. package/dist/api/categories/index.d.ts +2 -0
  6. package/dist/api/index.d.ts +26 -0
  7. package/dist/api/reports/index.d.ts +9 -0
  8. package/dist/api/scheduler/index.d.ts +6 -0
  9. package/dist/api/schemas/index.d.ts +2 -0
  10. package/dist/api/widget/index.d.ts +4 -0
  11. package/dist/app.d.ts +2 -0
  12. package/dist/app.js +107942 -111242
  13. package/dist/components/AddReportDialog.vue.d.ts +20 -0
  14. package/dist/components/BaseDialog.vue.d.ts +49 -0
  15. package/dist/components/Dialog.vue.d.ts +2 -0
  16. package/dist/components/DownloadDialog.vue.d.ts +12 -0
  17. package/dist/components/HeaderTab.vue.d.ts +10 -0
  18. package/dist/components/MenuTab.vue.d.ts +14 -0
  19. package/dist/components/NavigationTab.vue.d.ts +2 -0
  20. package/dist/components/NoData.vue.d.ts +39 -0
  21. package/dist/components/accounting/AccountingExportDialog.vue.d.ts +23 -0
  22. package/dist/components/accounting/api-integration/Bukku.vue.d.ts +19 -0
  23. package/dist/components/accounting/api-integration/NetSuite.vue.d.ts +19 -0
  24. package/dist/components/accounting/setting-exporter/index.d.ts +23 -0
  25. package/dist/components/accounting/setting-exporter/type.d.ts +53 -0
  26. package/dist/components/filter/Filter.vue.d.ts +2 -0
  27. package/dist/components/filter/FilterChip.vue.d.ts +32 -0
  28. package/dist/components/report/CustomReport.vue.d.ts +2 -0
  29. package/dist/components/report-editor-tab/ReportEditorTab.vue.d.ts +27 -0
  30. package/dist/components/report-editor-tab/ReportEditorTabDesktop.vue.d.ts +19 -0
  31. package/dist/components/report-editor-tab/ReportEditorTabHeader.vue.d.ts +20 -0
  32. package/dist/components/report-editor-tab/ReportEditorTabMobile.vue.d.ts +19 -0
  33. package/dist/components/schedule/CustomDate.vue.d.ts +25 -0
  34. package/dist/components/schedule/ManualSend.vue.d.ts +29 -0
  35. package/dist/components/schedule/Schedule.vue.d.ts +12 -0
  36. package/dist/components/schedule/ScheduleCard.vue.d.ts +16 -0
  37. package/dist/components/schedule/ScheduleEdit.vue.d.ts +29 -0
  38. package/dist/components/tile-editor-tab/TileEditorTab.vue.d.ts +27 -0
  39. package/dist/components/tile-editor-tab/TileEditorTabDesktop.vue.d.ts +19 -0
  40. package/dist/components/tile-editor-tab/TileEditorTabHeader.vue.d.ts +20 -0
  41. package/dist/components/tile-editor-tab/TileEditorTabMobile.vue.d.ts +19 -0
  42. package/dist/components/tile-editor-tab/datasource.d.ts +14 -0
  43. package/dist/components/tile-editor-tab/dialogs/SchemaDialog.vue.d.ts +24 -0
  44. package/dist/components/tile-editor-tab/filter.input.d.ts +32 -0
  45. package/dist/components/tile-editor-tab/layouts/Section.vue.d.ts +10 -0
  46. package/dist/components/tile-editor-tab/section/ConditionSection.vue.d.ts +33 -0
  47. package/dist/components/tile-editor-tab/section/Datasource.vue.d.ts +54 -0
  48. package/dist/components/tile-editor-tab/section/DimensionSection.vue.d.ts +54 -0
  49. package/dist/components/tile-editor-tab/section/FilterSection.vue.d.ts +18 -0
  50. package/dist/components/tile-editor-tab/section/FilterValueInput.vue.d.ts +24 -0
  51. package/dist/components/tile-editor-tab/section/LimitSection.vue.d.ts +12 -0
  52. package/dist/components/tile-editor-tab/section/MetricSection.vue.d.ts +49 -0
  53. package/dist/components/tile-editor-tab/section/SchemaSection.vue.d.ts +33 -0
  54. package/dist/components/tile-editor-tab/section/SortSection.vue.d.ts +18 -0
  55. package/dist/components/tile-editor-tab/select/SelectComponent.vue.d.ts +42 -0
  56. package/dist/components/tile-editor-tab/tile.d.ts +5 -0
  57. package/dist/components/transition/TransitionFade.vue.d.ts +20 -0
  58. package/dist/components/widget/DynamicWidget.vue.d.ts +36 -0
  59. package/dist/components/widget/WidgetBarchart.vue.d.ts +20 -0
  60. package/dist/components/widget/WidgetCircular.vue.d.ts +20 -0
  61. package/dist/components/widget/WidgetDialog.vue.d.ts +19 -0
  62. package/dist/components/widget/WidgetLinechart.vue.d.ts +20 -0
  63. package/dist/components/widget/WidgetScorecard.vue.d.ts +20 -0
  64. package/dist/components/widget/WidgetSpacer.vue.d.ts +2 -0
  65. package/dist/components/widget/WidgetStackBarChart.vue.d.ts +20 -0
  66. package/dist/components/widget/WidgetStackLineChart.vue.d.ts +20 -0
  67. package/dist/components/widget/WidgetTable.vue.d.ts +20 -0
  68. package/dist/components/widget/widget.d.ts +38 -0
  69. package/dist/layouts/Default.vue.d.ts +9 -0
  70. package/dist/layouts/FullScreen.vue.d.ts +9 -0
  71. package/dist/main.d.ts +2 -0
  72. package/dist/router/index.d.ts +2 -0
  73. package/dist/router/shared.d.ts +2 -0
  74. package/dist/stores/accounting.d.ts +7 -0
  75. package/dist/stores/counter.d.ts +13 -0
  76. package/dist/stores/global-loader.d.ts +10 -0
  77. package/dist/stores/message-dialog.d.ts +31 -0
  78. package/dist/stores/query.d.ts +19 -0
  79. package/dist/stores/report-filters.d.ts +154 -0
  80. package/dist/stores/report-schedule.d.ts +161 -0
  81. package/dist/stores/report-schema.d.ts +79 -0
  82. package/dist/stores/report.d.ts +2754 -0
  83. package/dist/tsconfig.app.tsbuildinfo +1 -0
  84. package/dist/types/business.d.ts +46 -0
  85. package/dist/types/index.d.ts +24 -0
  86. package/dist/types/report.d.ts +170 -0
  87. package/dist/types/schedule.d.ts +29 -0
  88. package/dist/types/schema.d.ts +54 -0
  89. package/dist/types/widget.d.ts +98 -0
  90. package/dist/utils/calculated-grid.d.ts +3 -0
  91. package/dist/utils/component-key.d.ts +1 -0
  92. package/dist/utils/helper.d.ts +12 -0
  93. package/dist/utils/local-storage.d.ts +15 -0
  94. package/dist/utils/logger.d.ts +1 -0
  95. package/dist/utils/update-row-column-config.d.ts +13 -0
  96. package/dist/views/InsightView.vue.d.ts +2 -0
  97. package/dist/views/overview/OverviewView.vue.d.ts +2 -0
  98. package/dist/views/report/Report.vue.d.ts +2 -0
  99. package/dist/views/report-editor/ReportEditor.vue.d.ts +2 -0
  100. package/dist/views/report-editor/ReportEditorDesktop.vue.d.ts +28 -0
  101. package/dist/views/report-editor/ReportEditorMobile.vue.d.ts +28 -0
  102. package/dist/views/report-view/ReportView.vue.d.ts +2 -0
  103. package/dist/views/tile-editor/TileEditor.vue.d.ts +2 -0
  104. package/dist/views/tile-editor/TileEditorDesktop.vue.d.ts +39 -0
  105. package/dist/views/tile-editor/TileEditorMobile.vue.d.ts +39 -0
  106. package/package.json +7 -9
  107. package/extra_packages/query-engine/LICENSE +0 -1749
  108. package/extra_packages/query-engine/README.md +0 -11
  109. package/extra_packages/query-engine/package.json +0 -1
  110. package/extra_packages/query-engine/query-engine-dart.dart.js +0 -15531
  111. package/extra_packages/query-engine/query-engine-dart.default.js +0 -4
  112. package/extra_packages/report-v4/LICENSE +0 -3107
  113. package/extra_packages/report-v4/README.md +0 -11
  114. package/extra_packages/report-v4/package.json +0 -1
  115. package/extra_packages/report-v4/report-v4-dart.dart.js +0 -12692
  116. package/extra_packages/report-v4/report-v4-dart.default.js +0 -4
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import type { AccountingSetting } from "@/components/accounting/setting-exporter/type";
2
+ export declare function getAccountingSetting(reportId: string): Promise<AccountingSetting>;
3
+ export declare function updateAccountingSetting(reportId: string, accountingSetting: AccountingSetting): Promise<AccountingSetting>;
4
+ export declare function triggerAccountingApi(reportId: string): Promise<void>;
5
+ export declare function downloadAccountingFiles(reportId: string, rounding: boolean): Promise<null | undefined>;
@@ -0,0 +1,4 @@
1
+ import type { Business, Restaurant, Warehouse } from "@/types/business";
2
+ export declare const getRestaurantOptions: () => Promise<Restaurant[]>;
3
+ export declare const getWareHouseOptions: () => Promise<Warehouse[]>;
4
+ export declare const getBusinessOptions: () => Promise<Business[]>;
@@ -0,0 +1,2 @@
1
+ import type { Category } from "@/types/report";
2
+ export declare const getCategories: () => Promise<Category[]>;
@@ -0,0 +1,26 @@
1
+ import { type AxiosRequestConfig, type AxiosResponse } from "axios";
2
+ /**
3
+ * Description : Axios to external Apis
4
+ * Here we handle all type of request and respones
5
+ * We can add stuff during the request or respones , or after the request or responses
6
+ */
7
+ export declare enum FetchType {
8
+ Get = "get",
9
+ Post = "post",
10
+ Put = "put",
11
+ Delete = "delete"
12
+ }
13
+ export interface FetchConfig {
14
+ fetchType: FetchType;
15
+ url: string;
16
+ requestConfig?: AxiosRequestConfig;
17
+ data?: Record<string, any>;
18
+ }
19
+ declare class AxiosClient {
20
+ private instances;
21
+ constructor();
22
+ rawFetch: <T>(config: FetchConfig) => Promise<AxiosResponse<T, any>>;
23
+ fetch: <T>(config: FetchConfig) => Promise<T>;
24
+ }
25
+ export declare const axiosClient: AxiosClient;
26
+ export {};
@@ -0,0 +1,9 @@
1
+ import { type Report, type ReportConfig } from "@/types/report";
2
+ export declare const getReports: () => Promise<Report[]>;
3
+ export declare const updateReports: (reports: Report[]) => Promise<Report[]>;
4
+ export declare const updateReport: (report: Report) => Promise<Report>;
5
+ export declare const createReport: (report: Report) => Promise<Report>;
6
+ export declare const removeReport: (report: Report) => Promise<Report>;
7
+ export declare const updateDefaultReport: (id: string) => Promise<void>;
8
+ export declare const getOverviewReport: () => Promise<Report>;
9
+ export declare const getReportConfig: () => Promise<ReportConfig>;
@@ -0,0 +1,6 @@
1
+ import type { Schedule } from "@/types/schedule";
2
+ export declare const getSchedules: () => Promise<Schedule[]>;
3
+ export declare const createSchedules: (schedule: Schedule) => Promise<string>;
4
+ export declare const updateSchedule: (schedule: Schedule) => Promise<string>;
5
+ export declare const removeSchedule: (schedule: Schedule) => Promise<string>;
6
+ export declare const sendEmail: (id: string, emailList: string[], date: string[]) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ import { type Schema } from "@/types/schema";
2
+ export declare const getSchema: () => Promise<Schema[]>;
@@ -0,0 +1,4 @@
1
+ import { ReportType, type ReportWidget } from "@/types/report";
2
+ import { type QueryWidgetResponse } from "@/types/widget";
3
+ export declare const queryWidget: (widget: ReportWidget) => Promise<QueryWidgetResponse>;
4
+ export declare const downloadWidgetsFile: (reportType: ReportType, index?: number) => Promise<void>;
package/dist/app.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default as FmApp } from "./App.vue";
2
+ export { routers } from "@/router/shared";