@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,20 @@
|
|
|
1
|
+
interface CustomReport {
|
|
2
|
+
name: string;
|
|
3
|
+
accountExport?: boolean;
|
|
4
|
+
}
|
|
5
|
+
interface PresetList {
|
|
6
|
+
[key: string]: CustomReport[];
|
|
7
|
+
}
|
|
8
|
+
export declare const presetList: PresetList;
|
|
9
|
+
declare const _default: import("vue").DefineComponent<{
|
|
10
|
+
modelValue: {
|
|
11
|
+
required: true;
|
|
12
|
+
type: import('vue').PropType<boolean>;
|
|
13
|
+
};
|
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
modelValue: {
|
|
16
|
+
required: true;
|
|
17
|
+
type: import('vue').PropType<boolean>;
|
|
18
|
+
};
|
|
19
|
+
}>>, {}, {}>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
required: true;
|
|
4
|
+
type: import("vue").PropType<boolean>;
|
|
5
|
+
};
|
|
6
|
+
title: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
primaryButtonLabel: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
secondaryButtonLabel: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
[x: string]: (...args: unknown[]) => void;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
modelValue: {
|
|
22
|
+
required: true;
|
|
23
|
+
type: import("vue").PropType<boolean>;
|
|
24
|
+
};
|
|
25
|
+
title: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
primaryButtonLabel: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
secondaryButtonLabel: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
}>>, {
|
|
38
|
+
title: string;
|
|
39
|
+
primaryButtonLabel: string;
|
|
40
|
+
secondaryButtonLabel: string;
|
|
41
|
+
}, {}>, {
|
|
42
|
+
content?(_: {}): any;
|
|
43
|
+
}>;
|
|
44
|
+
export default _default;
|
|
45
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
46
|
+
new (): {
|
|
47
|
+
$slots: S;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
required: true;
|
|
4
|
+
type: import("vue").PropType<boolean>;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
modelValue: {
|
|
8
|
+
required: true;
|
|
9
|
+
type: import("vue").PropType<boolean>;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}, {}>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
title?(_: {}): any;
|
|
3
|
+
button?(_: {}): any;
|
|
4
|
+
}>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
|
+
new (): {
|
|
8
|
+
$slots: S;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface ButtonProps {
|
|
2
|
+
icon: string;
|
|
3
|
+
size?: "md" | "lg";
|
|
4
|
+
variant?: "primary" | "secondary" | "tertiary" | "destructive" | "plain" | "fab";
|
|
5
|
+
onClick?(): void;
|
|
6
|
+
label?: string;
|
|
7
|
+
prependIcon?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import("vue").DefineComponent<{
|
|
10
|
+
modelValue: import("vue").PropType<ButtonProps[]>;
|
|
11
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
modelValue: import("vue").PropType<ButtonProps[]>;
|
|
13
|
+
}>>, {}, {}>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
interface NoDataProps {
|
|
2
|
+
title?: string;
|
|
3
|
+
subTitle?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<NoDataProps>, {
|
|
6
|
+
title: string;
|
|
7
|
+
subTitle: string;
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<NoDataProps>, {
|
|
9
|
+
title: string;
|
|
10
|
+
subTitle: string;
|
|
11
|
+
}>>>, {
|
|
12
|
+
title: string;
|
|
13
|
+
subTitle: string;
|
|
14
|
+
}, {}>, {
|
|
15
|
+
menu?(_: {}): any;
|
|
16
|
+
}>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: import('vue').PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
type __VLS_WithDefaults<P, D> = {
|
|
28
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
|
+
default: D[K];
|
|
30
|
+
}> : P[K];
|
|
31
|
+
};
|
|
32
|
+
type __VLS_Prettify<T> = {
|
|
33
|
+
[K in keyof T]: T[K];
|
|
34
|
+
} & {};
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
required: true;
|
|
5
|
+
type: PropType<boolean>;
|
|
6
|
+
};
|
|
7
|
+
reportId: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: null;
|
|
10
|
+
};
|
|
11
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
modelValue: {
|
|
13
|
+
required: true;
|
|
14
|
+
type: PropType<boolean>;
|
|
15
|
+
};
|
|
16
|
+
reportId: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: null;
|
|
19
|
+
};
|
|
20
|
+
}>>, {
|
|
21
|
+
reportId: string;
|
|
22
|
+
}, {}>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import type { Location } from "@/stores/report-filters";
|
|
3
|
+
import type { BukkuAccountingIntegration } from "../setting-exporter/type";
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
modelValue: PropType<BukkuAccountingIntegration>;
|
|
6
|
+
locations: {
|
|
7
|
+
type: PropType<Location[]>;
|
|
8
|
+
default: () => never[];
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
modelValue: PropType<BukkuAccountingIntegration>;
|
|
12
|
+
locations: {
|
|
13
|
+
type: PropType<Location[]>;
|
|
14
|
+
default: () => never[];
|
|
15
|
+
};
|
|
16
|
+
}>>, {
|
|
17
|
+
locations: Location[];
|
|
18
|
+
}, {}>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import type { Location } from "@/stores/report-filters";
|
|
3
|
+
import type { NetSuiteAccountingIntegration } from "../setting-exporter/type";
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
modelValue: PropType<NetSuiteAccountingIntegration>;
|
|
6
|
+
locations: {
|
|
7
|
+
type: PropType<Location[]>;
|
|
8
|
+
default: () => never[];
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
modelValue: PropType<NetSuiteAccountingIntegration>;
|
|
12
|
+
locations: {
|
|
13
|
+
type: PropType<Location[]>;
|
|
14
|
+
default: () => never[];
|
|
15
|
+
};
|
|
16
|
+
}>>, {
|
|
17
|
+
locations: Location[];
|
|
18
|
+
}, {}>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type WorkBook } from "xlsx";
|
|
2
|
+
import { AccountingType, type AccountingIntegration, type AccountingSetting, type SettingMapping } from "./type";
|
|
3
|
+
export declare class AccountingSettingExporter {
|
|
4
|
+
type: AccountingType;
|
|
5
|
+
protected mapping?: {
|
|
6
|
+
[key: string]: string[][];
|
|
7
|
+
};
|
|
8
|
+
formattedMapping?: SettingMapping;
|
|
9
|
+
integration?: AccountingIntegration;
|
|
10
|
+
constructor(json: AccountingSetting);
|
|
11
|
+
get setting(): AccountingSetting;
|
|
12
|
+
get isValid(): boolean;
|
|
13
|
+
private formatSettingValues;
|
|
14
|
+
private formatJsonMapping;
|
|
15
|
+
setMappingWorkbook(workbook: WorkBook): void;
|
|
16
|
+
setMappingJson(json: {
|
|
17
|
+
[key: string]: string[][];
|
|
18
|
+
}): void;
|
|
19
|
+
downloadSetting(): Promise<void>;
|
|
20
|
+
private initIntegration;
|
|
21
|
+
private mappingWorkbookToJson;
|
|
22
|
+
private mappingJsonToWorkbook;
|
|
23
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { Time } from "@/types/schedule";
|
|
2
|
+
export interface MappingCondition {
|
|
3
|
+
key: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
interface MappingValue {
|
|
7
|
+
conditions: MappingCondition[];
|
|
8
|
+
value: string;
|
|
9
|
+
}
|
|
10
|
+
export type IdMapping = {
|
|
11
|
+
[id: string]: MappingValue[];
|
|
12
|
+
};
|
|
13
|
+
export type SettingMapping = {
|
|
14
|
+
[sheet: string]: IdMapping;
|
|
15
|
+
};
|
|
16
|
+
export declare enum AccountingType {
|
|
17
|
+
NetSuite = "NetSuite",
|
|
18
|
+
AutoCount = "AutoCount",
|
|
19
|
+
SQL = "SQL",
|
|
20
|
+
Bukku = "Bukku"
|
|
21
|
+
}
|
|
22
|
+
export interface BaseAccountingIntegration {
|
|
23
|
+
enable: boolean;
|
|
24
|
+
locationIds: string[];
|
|
25
|
+
closeSaleTime: Time;
|
|
26
|
+
triggerTime: Time;
|
|
27
|
+
triggeredAt: string;
|
|
28
|
+
dayOfDelay: number;
|
|
29
|
+
}
|
|
30
|
+
export interface NetSuiteAccountingIntegration extends BaseAccountingIntegration {
|
|
31
|
+
account: string;
|
|
32
|
+
consumer: {
|
|
33
|
+
key: string;
|
|
34
|
+
secret: string;
|
|
35
|
+
};
|
|
36
|
+
token: {
|
|
37
|
+
key: string;
|
|
38
|
+
secret: string;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export interface BukkuAccountingIntegration extends BaseAccountingIntegration {
|
|
42
|
+
subdomain: string;
|
|
43
|
+
token: string;
|
|
44
|
+
}
|
|
45
|
+
export type AccountingIntegration = BaseAccountingIntegration | NetSuiteAccountingIntegration | BukkuAccountingIntegration | undefined;
|
|
46
|
+
export interface AccountingSetting {
|
|
47
|
+
type: AccountingType;
|
|
48
|
+
mapping: {
|
|
49
|
+
[key: string]: string[][];
|
|
50
|
+
};
|
|
51
|
+
integration?: AccountingIntegration;
|
|
52
|
+
}
|
|
53
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
label: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
leftIcon: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
rightIcon: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
label: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
leftIcon: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
rightIcon: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}>>, {
|
|
28
|
+
label: string;
|
|
29
|
+
rightIcon: string;
|
|
30
|
+
leftIcon: string;
|
|
31
|
+
}, {}>;
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Report } from "@/types/report";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
required: true;
|
|
5
|
+
type: import("vue").PropType<Report>;
|
|
6
|
+
};
|
|
7
|
+
hideConfiguration: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
hideConfiguration: (value: boolean) => void;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
modelValue: {
|
|
15
|
+
required: true;
|
|
16
|
+
type: import("vue").PropType<Report>;
|
|
17
|
+
};
|
|
18
|
+
hideConfiguration: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
}>> & {
|
|
23
|
+
onHideConfiguration?: ((value: boolean) => any) | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
hideConfiguration: boolean;
|
|
26
|
+
}, {}>;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
required: true;
|
|
4
|
+
type: import("vue").PropType<any>;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
modelValue: {
|
|
8
|
+
required: true;
|
|
9
|
+
type: import("vue").PropType<any>;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}, {}>, {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
required: true;
|
|
4
|
+
type: import("vue").PropType<boolean>;
|
|
5
|
+
};
|
|
6
|
+
icon: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
modelValue: {
|
|
12
|
+
required: true;
|
|
13
|
+
type: import("vue").PropType<boolean>;
|
|
14
|
+
};
|
|
15
|
+
icon: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
}>>, {}, {}>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
required: true;
|
|
4
|
+
type: import("vue").PropType<any>;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
modelValue: {
|
|
8
|
+
required: true;
|
|
9
|
+
type: import("vue").PropType<any>;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}, {}>, {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type CycleOption } from "@/types/schedule";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
required: true;
|
|
5
|
+
type: import("vue").PropType<CycleOption>;
|
|
6
|
+
};
|
|
7
|
+
isOpen: {
|
|
8
|
+
type: import("vue").PropType<boolean>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
isOpen: (value: boolean) => void;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
modelValue: {
|
|
15
|
+
required: true;
|
|
16
|
+
type: import("vue").PropType<CycleOption>;
|
|
17
|
+
};
|
|
18
|
+
isOpen: {
|
|
19
|
+
type: import("vue").PropType<boolean>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
}>> & {
|
|
23
|
+
onIsOpen?: ((value: boolean) => any) | undefined;
|
|
24
|
+
}, {}, {}>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import { type Schedule } from "@/types/schedule";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
isOpen: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
schedule: {
|
|
9
|
+
type: PropType<Schedule>;
|
|
10
|
+
default: () => Schedule;
|
|
11
|
+
};
|
|
12
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
isOpen: (value: boolean) => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
isOpen: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
schedule: {
|
|
20
|
+
type: PropType<Schedule>;
|
|
21
|
+
default: () => Schedule;
|
|
22
|
+
};
|
|
23
|
+
}>> & {
|
|
24
|
+
onIsOpen?: ((value: boolean) => any) | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
schedule: Schedule;
|
|
27
|
+
isOpen: boolean;
|
|
28
|
+
}, {}>;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
required: true;
|
|
4
|
+
type: import("vue").PropType<boolean>;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
modelValue: {
|
|
8
|
+
required: true;
|
|
9
|
+
type: import("vue").PropType<boolean>;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}, {}>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type Schedule } from "@/types/schedule";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
schedule: Schedule;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
schedule: Schedule;
|
|
6
|
+
}>>>, {}, {}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import { type Schedule } from "@/types/schedule";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
isOpen: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
schedule: {
|
|
9
|
+
type: PropType<Schedule>;
|
|
10
|
+
default: () => Schedule;
|
|
11
|
+
};
|
|
12
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
isOpen: (value: boolean) => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
isOpen: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
schedule: {
|
|
20
|
+
type: PropType<Schedule>;
|
|
21
|
+
default: () => Schedule;
|
|
22
|
+
};
|
|
23
|
+
}>> & {
|
|
24
|
+
onIsOpen?: ((value: boolean) => any) | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
schedule: Schedule;
|
|
27
|
+
isOpen: boolean;
|
|
28
|
+
}, {}>;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type ReportTile } from "@/types/report";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
required: true;
|
|
5
|
+
type: import("vue").PropType<ReportTile>;
|
|
6
|
+
};
|
|
7
|
+
hideConfiguration: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
hideConfiguration: (value: boolean) => void;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
modelValue: {
|
|
15
|
+
required: true;
|
|
16
|
+
type: import("vue").PropType<ReportTile>;
|
|
17
|
+
};
|
|
18
|
+
hideConfiguration: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
}>> & {
|
|
23
|
+
onHideConfiguration?: ((value: boolean) => any) | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
hideConfiguration: boolean;
|
|
26
|
+
}, {}>;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
required: true;
|
|
4
|
+
type: import("vue").PropType<any>;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
modelValue: {
|
|
8
|
+
required: true;
|
|
9
|
+
type: import("vue").PropType<any>;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}, {}>, {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
required: true;
|
|
4
|
+
type: import("vue").PropType<boolean>;
|
|
5
|
+
};
|
|
6
|
+
icon: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
modelValue: {
|
|
12
|
+
required: true;
|
|
13
|
+
type: import("vue").PropType<boolean>;
|
|
14
|
+
};
|
|
15
|
+
icon: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
}>>, {}, {}>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
required: true;
|
|
4
|
+
type: import("vue").PropType<any>;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
modelValue: {
|
|
8
|
+
required: true;
|
|
9
|
+
type: import("vue").PropType<any>;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}, {}>, {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { WidgetType } from "@/types/report";
|
|
2
|
+
export interface DatasourceSectionConfig {
|
|
3
|
+
type: WidgetType;
|
|
4
|
+
maxDimension: number | null;
|
|
5
|
+
maxMetric: number | null;
|
|
6
|
+
hasBreakdownDimension: boolean;
|
|
7
|
+
canTranspose: boolean;
|
|
8
|
+
canRollup: boolean;
|
|
9
|
+
showRollupPosition: boolean;
|
|
10
|
+
canSearch: boolean;
|
|
11
|
+
hasLabel: boolean;
|
|
12
|
+
isDrillConfigurable: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const datasourceSectionConfigs: DatasourceSectionConfig[];
|