@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.
- package/dist/App.vue.d.ts +2 -0
- package/dist/Entry.vue.d.ts +2 -0
- package/dist/api/accounting/index.d.ts +5 -0
- package/dist/api/business-config/index.d.ts +4 -0
- package/dist/api/categories/index.d.ts +2 -0
- package/dist/api/index.d.ts +26 -0
- package/dist/api/reports/index.d.ts +9 -0
- package/dist/api/scheduler/index.d.ts +6 -0
- package/dist/api/schemas/index.d.ts +2 -0
- package/dist/api/widget/index.d.ts +4 -0
- package/dist/app.d.ts +2 -0
- package/dist/app.js +107942 -111242
- package/dist/components/AddReportDialog.vue.d.ts +20 -0
- package/dist/components/BaseDialog.vue.d.ts +49 -0
- package/dist/components/Dialog.vue.d.ts +2 -0
- package/dist/components/DownloadDialog.vue.d.ts +12 -0
- package/dist/components/HeaderTab.vue.d.ts +10 -0
- package/dist/components/MenuTab.vue.d.ts +14 -0
- package/dist/components/NavigationTab.vue.d.ts +2 -0
- package/dist/components/NoData.vue.d.ts +39 -0
- package/dist/components/accounting/AccountingExportDialog.vue.d.ts +23 -0
- package/dist/components/accounting/api-integration/Bukku.vue.d.ts +19 -0
- package/dist/components/accounting/api-integration/NetSuite.vue.d.ts +19 -0
- package/dist/components/accounting/setting-exporter/index.d.ts +23 -0
- package/dist/components/accounting/setting-exporter/type.d.ts +53 -0
- package/dist/components/filter/Filter.vue.d.ts +2 -0
- package/dist/components/filter/FilterChip.vue.d.ts +32 -0
- package/dist/components/report/CustomReport.vue.d.ts +2 -0
- package/dist/components/report-editor-tab/ReportEditorTab.vue.d.ts +27 -0
- package/dist/components/report-editor-tab/ReportEditorTabDesktop.vue.d.ts +19 -0
- package/dist/components/report-editor-tab/ReportEditorTabHeader.vue.d.ts +20 -0
- package/dist/components/report-editor-tab/ReportEditorTabMobile.vue.d.ts +19 -0
- package/dist/components/schedule/CustomDate.vue.d.ts +25 -0
- package/dist/components/schedule/ManualSend.vue.d.ts +29 -0
- package/dist/components/schedule/Schedule.vue.d.ts +12 -0
- package/dist/components/schedule/ScheduleCard.vue.d.ts +16 -0
- package/dist/components/schedule/ScheduleEdit.vue.d.ts +29 -0
- package/dist/components/tile-editor-tab/TileEditorTab.vue.d.ts +27 -0
- package/dist/components/tile-editor-tab/TileEditorTabDesktop.vue.d.ts +19 -0
- package/dist/components/tile-editor-tab/TileEditorTabHeader.vue.d.ts +20 -0
- package/dist/components/tile-editor-tab/TileEditorTabMobile.vue.d.ts +19 -0
- package/dist/components/tile-editor-tab/datasource.d.ts +14 -0
- package/dist/components/tile-editor-tab/dialogs/SchemaDialog.vue.d.ts +24 -0
- package/dist/components/tile-editor-tab/filter.input.d.ts +32 -0
- package/dist/components/tile-editor-tab/layouts/Section.vue.d.ts +10 -0
- package/dist/components/tile-editor-tab/section/ConditionSection.vue.d.ts +33 -0
- package/dist/components/tile-editor-tab/section/Datasource.vue.d.ts +54 -0
- package/dist/components/tile-editor-tab/section/DimensionSection.vue.d.ts +54 -0
- package/dist/components/tile-editor-tab/section/FilterSection.vue.d.ts +18 -0
- package/dist/components/tile-editor-tab/section/FilterValueInput.vue.d.ts +24 -0
- package/dist/components/tile-editor-tab/section/LimitSection.vue.d.ts +12 -0
- package/dist/components/tile-editor-tab/section/MetricSection.vue.d.ts +49 -0
- package/dist/components/tile-editor-tab/section/SchemaSection.vue.d.ts +33 -0
- package/dist/components/tile-editor-tab/section/SortSection.vue.d.ts +18 -0
- package/dist/components/tile-editor-tab/select/SelectComponent.vue.d.ts +42 -0
- package/dist/components/tile-editor-tab/tile.d.ts +5 -0
- package/dist/components/transition/TransitionFade.vue.d.ts +20 -0
- package/dist/components/widget/DynamicWidget.vue.d.ts +36 -0
- package/dist/components/widget/WidgetBarchart.vue.d.ts +20 -0
- package/dist/components/widget/WidgetCircular.vue.d.ts +20 -0
- package/dist/components/widget/WidgetDialog.vue.d.ts +19 -0
- package/dist/components/widget/WidgetLinechart.vue.d.ts +20 -0
- package/dist/components/widget/WidgetScorecard.vue.d.ts +20 -0
- package/dist/components/widget/WidgetSpacer.vue.d.ts +2 -0
- package/dist/components/widget/WidgetStackBarChart.vue.d.ts +20 -0
- package/dist/components/widget/WidgetStackLineChart.vue.d.ts +20 -0
- package/dist/components/widget/WidgetTable.vue.d.ts +20 -0
- package/dist/components/widget/widget.d.ts +38 -0
- package/dist/layouts/Default.vue.d.ts +9 -0
- package/dist/layouts/FullScreen.vue.d.ts +9 -0
- package/dist/main.d.ts +2 -0
- package/dist/router/index.d.ts +2 -0
- package/dist/router/shared.d.ts +2 -0
- package/dist/stores/accounting.d.ts +7 -0
- package/dist/stores/counter.d.ts +13 -0
- package/dist/stores/global-loader.d.ts +10 -0
- package/dist/stores/message-dialog.d.ts +31 -0
- package/dist/stores/query.d.ts +19 -0
- package/dist/stores/report-filters.d.ts +154 -0
- package/dist/stores/report-schedule.d.ts +161 -0
- package/dist/stores/report-schema.d.ts +79 -0
- package/dist/stores/report.d.ts +2754 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -0
- package/dist/types/business.d.ts +46 -0
- package/dist/types/index.d.ts +24 -0
- package/dist/types/report.d.ts +170 -0
- package/dist/types/schedule.d.ts +29 -0
- package/dist/types/schema.d.ts +54 -0
- package/dist/types/widget.d.ts +98 -0
- package/dist/utils/calculated-grid.d.ts +3 -0
- package/dist/utils/component-key.d.ts +1 -0
- package/dist/utils/helper.d.ts +12 -0
- package/dist/utils/local-storage.d.ts +15 -0
- package/dist/utils/logger.d.ts +1 -0
- package/dist/utils/update-row-column-config.d.ts +13 -0
- package/dist/views/InsightView.vue.d.ts +2 -0
- package/dist/views/overview/OverviewView.vue.d.ts +2 -0
- package/dist/views/report/Report.vue.d.ts +2 -0
- package/dist/views/report-editor/ReportEditor.vue.d.ts +2 -0
- package/dist/views/report-editor/ReportEditorDesktop.vue.d.ts +28 -0
- package/dist/views/report-editor/ReportEditorMobile.vue.d.ts +28 -0
- package/dist/views/report-view/ReportView.vue.d.ts +2 -0
- package/dist/views/tile-editor/TileEditor.vue.d.ts +2 -0
- package/dist/views/tile-editor/TileEditorDesktop.vue.d.ts +39 -0
- package/dist/views/tile-editor/TileEditorMobile.vue.d.ts +39 -0
- package/package.json +7 -9
- package/extra_packages/query-engine/LICENSE +0 -1749
- package/extra_packages/query-engine/README.md +0 -11
- package/extra_packages/query-engine/package.json +0 -1
- package/extra_packages/query-engine/query-engine-dart.dart.js +0 -15531
- package/extra_packages/query-engine/query-engine-dart.default.js +0 -4
- package/extra_packages/report-v4/LICENSE +0 -3107
- package/extra_packages/report-v4/README.md +0 -11
- package/extra_packages/report-v4/package.json +0 -1
- package/extra_packages/report-v4/report-v4-dart.dart.js +0 -12692
- package/extra_packages/report-v4/report-v4-dart.default.js +0 -4
|
@@ -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,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,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