@feedmepos/mf-report 5.1.5 → 5.3.5
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 +1 -1
- package/dist/Entry.vue.d.ts +1 -1
- package/dist/api/accounting/index.d.ts +4 -5
- package/dist/api/feedback/index.d.ts +2 -0
- package/dist/api/integration/index.d.ts +22 -0
- package/dist/api/integration/type.d.ts +201 -0
- package/dist/api/widget/index.d.ts +1 -1
- package/dist/app.js +43697 -40018
- package/dist/components/AddReportDialog.vue.d.ts +3 -3
- package/dist/components/BaseDialog.vue.d.ts +4 -6
- package/dist/components/Dialog.vue.d.ts +1 -1
- package/dist/components/DownloadDialog.vue.d.ts +3 -3
- package/dist/components/HeaderTab.vue.d.ts +1 -1
- package/dist/components/MenuTab.vue.d.ts +3 -3
- package/dist/components/NavigationTab.vue.d.ts +1 -1
- package/dist/components/NoData.vue.d.ts +4 -4
- package/dist/components/SelectComponent.vue.d.ts +4 -4
- package/dist/components/accounting/AccountingExportDialog.vue.d.ts +6 -7
- package/dist/components/accounting/Footer.vue.d.ts +40 -0
- package/dist/components/accounting/api-integration/Bukku.vue.d.ts +4 -4
- package/dist/components/accounting/api-integration/NetSuite.vue.d.ts +4 -4
- package/dist/components/accounting/api-integration/Xero.vue.d.ts +4 -4
- package/dist/components/accounting/setting-exporter/type.d.ts +118 -5
- package/dist/{views/xero/Xero.vue.d.ts → components/dialog/OverviewFeedback.vue.d.ts} +1 -1
- package/dist/components/filter/DateRangeSelect.vue.d.ts +4 -4
- package/dist/components/filter/Filter.vue.d.ts +1 -1
- package/dist/components/filter/FilterChip.vue.d.ts +5 -5
- package/dist/components/filter/LocationSelect.vue.d.ts +4 -4
- package/dist/components/filter/TimeRangeSelect.vue.d.ts +4 -4
- package/dist/components/report/CompareRangeSetting.vue.d.ts +3 -3
- package/dist/components/report/DateRangeSetting.vue.d.ts +3 -3
- package/dist/components/report/ReportHour.vue.d.ts +3 -3
- package/dist/components/report-editor-tab/ReportEditorTab.vue.d.ts +5 -5
- package/dist/components/report-editor-tab/ReportEditorTabDesktop.vue.d.ts +3 -3
- package/dist/components/report-editor-tab/ReportEditorTabHeader.vue.d.ts +3 -3
- package/dist/components/report-editor-tab/ReportEditorTabMobile.vue.d.ts +3 -3
- package/dist/components/schedule/CustomDate.vue.d.ts +4 -4
- package/dist/components/schedule/ManualSend.vue.d.ts +5 -5
- package/dist/components/schedule/Schedule.vue.d.ts +3 -3
- package/dist/components/schedule/ScheduleCard.vue.d.ts +3 -3
- package/dist/components/schedule/ScheduleEdit.vue.d.ts +5 -5
- package/dist/components/stepper/FmStep.vue.d.ts +64 -0
- package/dist/components/stepper/FmStepHeader.vue.d.ts +48 -0
- package/dist/components/stepper/FmStepper.vue.d.ts +37 -0
- package/dist/components/stepper/stepper.d.ts +6 -0
- package/dist/components/tile-editor-tab/TileEditorTab.vue.d.ts +5 -5
- package/dist/components/tile-editor-tab/TileEditorTabDesktop.vue.d.ts +3 -3
- package/dist/components/tile-editor-tab/TileEditorTabHeader.vue.d.ts +3 -3
- package/dist/components/tile-editor-tab/TileEditorTabMobile.vue.d.ts +3 -3
- package/dist/components/tile-editor-tab/dialogs/SchemaDialog.vue.d.ts +4 -4
- package/dist/components/tile-editor-tab/layouts/Section.vue.d.ts +1 -1
- package/dist/components/tile-editor-tab/section/ConditionSection.vue.d.ts +4 -4
- package/dist/components/tile-editor-tab/section/Datasource.vue.d.ts +4 -6
- package/dist/components/tile-editor-tab/section/DimensionSection.vue.d.ts +4 -4
- package/dist/components/tile-editor-tab/section/FilterSection.vue.d.ts +4 -4
- package/dist/components/tile-editor-tab/section/FilterValueInput.vue.d.ts +4 -4
- package/dist/components/tile-editor-tab/section/LimitSection.vue.d.ts +3 -3
- package/dist/components/tile-editor-tab/section/MetricSection.vue.d.ts +5 -5
- package/dist/components/tile-editor-tab/section/SchemaSection.vue.d.ts +4 -4
- package/dist/components/tile-editor-tab/section/SortSection.vue.d.ts +4 -4
- package/dist/components/transition/TransitionFade.vue.d.ts +3 -3
- package/dist/components/widget/DynamicWidget.vue.d.ts +4 -4
- package/dist/components/widget/WidgetBarchart.vue.d.ts +3 -3
- package/dist/components/widget/WidgetCircular.vue.d.ts +3 -3
- package/dist/components/widget/WidgetDialog.vue.d.ts +4 -4
- package/dist/components/widget/WidgetLinechart.vue.d.ts +3 -3
- package/dist/components/widget/WidgetScorecard.vue.d.ts +3 -3
- package/dist/components/widget/WidgetSpacer.vue.d.ts +1 -1
- package/dist/components/widget/WidgetStackBarChart.vue.d.ts +3 -3
- package/dist/components/widget/WidgetStackLineChart.vue.d.ts +3 -3
- package/dist/components/widget/WidgetTable.vue.d.ts +3 -3
- package/dist/components/widget/WidgetTypeList.vue.d.ts +4 -4
- package/dist/components/widget/widget.d.ts +1 -1
- package/dist/layouts/Default.vue.d.ts +1 -1
- package/dist/layouts/FullScreen.vue.d.ts +1 -1
- package/dist/stores/accounting.d.ts +1315 -6
- package/dist/stores/counter.d.ts +5 -5
- package/dist/stores/global-loader.d.ts +2 -2
- package/dist/stores/integration.d.ts +1499 -0
- package/dist/stores/message-dialog.d.ts +11 -11
- package/dist/stores/navigation.d.ts +77 -13
- package/dist/stores/query.d.ts +11 -11
- package/dist/stores/report-filters.d.ts +127 -5
- package/dist/stores/report-schedule.d.ts +71 -5
- package/dist/stores/report-schema.d.ts +66 -2
- package/dist/stores/report.d.ts +729 -50
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/types/business.d.ts +6 -0
- package/dist/types/feedback.d.ts +8 -0
- package/dist/utils/helper.d.ts +1 -1
- package/dist/views/insight/CarouselCard.vue.d.ts +33 -0
- package/dist/views/insight/InsightCard.vue.d.ts +5 -5
- package/dist/views/insight/InsightView.vue.d.ts +1 -1
- package/dist/views/insight/LineChart.vue.d.ts +4 -4
- package/dist/views/insight/SidePanel.vue.d.ts +4 -4
- package/dist/views/insight/SparkIcon.vue.d.ts +13 -4
- package/dist/views/insight/insight.d.ts +1 -1
- package/dist/views/integration/AddIntegrationDialog.vue.d.ts +8 -0
- package/dist/views/integration/DownloadDialog.vue.d.ts +28 -0
- package/dist/views/integration/Integration.vue.d.ts +2 -0
- package/dist/views/integration/Integrations.vue.d.ts +2 -0
- package/dist/views/integration/Layout.vue.d.ts +2 -0
- package/dist/views/integration/MappingField.vue.d.ts +55 -0
- package/dist/views/integration/autocount/AutoCount.vue.d.ts +7 -0
- package/dist/views/integration/autocount/Preview.vue.d.ts +13 -0
- package/dist/views/integration/autocount/Setting.vue.d.ts +13 -0
- package/dist/views/integration/bukku/Bukku.vue.d.ts +7 -0
- package/dist/views/integration/bukku/Preview.vue.d.ts +13 -0
- package/dist/views/integration/bukku/Setting.vue.d.ts +13 -0
- package/dist/views/integration/iflexi-hrms/IFlexiHRMS.vue.d.ts +7 -0
- package/dist/views/integration/iflexi-hrms/Preview.vue.d.ts +13 -0
- package/dist/views/integration/iflexi-hrms/Setting.vue.d.ts +13 -0
- package/dist/views/integration/sql/Preview.vue.d.ts +50 -0
- package/dist/views/integration/sql/SQL.vue.d.ts +7 -0
- package/dist/views/integration/sql/Setting.vue.d.ts +13 -0
- package/dist/views/integration/xero/Callback.vue.d.ts +2 -0
- package/dist/views/integration/xero/Preview.vue.d.ts +13 -0
- package/dist/views/integration/xero/Setting.vue.d.ts +13 -0
- package/dist/views/integration/xero/Xero.vue.d.ts +7 -0
- package/dist/views/integration/xero/XeroRedirect.vue.d.ts +2 -0
- package/dist/views/overview/OverviewView.vue.d.ts +1 -1
- package/dist/views/report/Report.vue.d.ts +1 -1
- package/dist/views/report-editor/ReportEditor.vue.d.ts +1 -1
- package/dist/views/report-editor/ReportEditorDesktop.vue.d.ts +4 -4
- package/dist/views/report-editor/ReportEditorMobile.vue.d.ts +4 -4
- package/dist/views/report-view/ReportView.vue.d.ts +1 -1
- package/dist/views/setting/Setting.vue.d.ts +1 -1
- package/dist/views/tile-editor/TileEditor.vue.d.ts +1 -1
- package/dist/views/tile-editor/TileEditorDesktop.vue.d.ts +5 -5
- package/dist/views/tile-editor/TileEditorMobile.vue.d.ts +5 -5
- package/package.json +6 -4
|
@@ -6,15 +6,15 @@ interface PresetList {
|
|
|
6
6
|
[key: string]: CustomReport[];
|
|
7
7
|
}
|
|
8
8
|
export declare const presetList: PresetList;
|
|
9
|
-
declare const _default: import("vue").DefineComponent<{
|
|
9
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
10
|
modelValue: {
|
|
11
11
|
required: true;
|
|
12
12
|
type: import('vue').PropType<boolean>;
|
|
13
13
|
};
|
|
14
|
-
}
|
|
14
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
modelValue: {
|
|
16
16
|
required: true;
|
|
17
17
|
type: import('vue').PropType<boolean>;
|
|
18
18
|
};
|
|
19
|
-
}
|
|
19
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
20
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
modelValue: {
|
|
3
3
|
required: true;
|
|
4
4
|
type: import("vue").PropType<boolean>;
|
|
@@ -15,9 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
15
15
|
type: StringConstructor;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
|
-
}
|
|
19
|
-
[x: string]: (...args: unknown[]) => void;
|
|
20
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
19
|
modelValue: {
|
|
22
20
|
required: true;
|
|
23
21
|
type: import("vue").PropType<boolean>;
|
|
@@ -34,11 +32,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
34
32
|
type: StringConstructor;
|
|
35
33
|
default: string;
|
|
36
34
|
};
|
|
37
|
-
}
|
|
35
|
+
}>> & Readonly<{}>, {
|
|
38
36
|
title: string;
|
|
39
37
|
primaryButtonLabel: string;
|
|
40
38
|
secondaryButtonLabel: string;
|
|
41
|
-
}, {}>, {
|
|
39
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
42
40
|
content?(_: {}): any;
|
|
43
41
|
}>;
|
|
44
42
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
modelValue: {
|
|
3
3
|
required: true;
|
|
4
4
|
type: import("vue").PropType<boolean>;
|
|
5
5
|
};
|
|
6
|
-
}
|
|
6
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
7
|
modelValue: {
|
|
8
8
|
required: true;
|
|
9
9
|
type: import("vue").PropType<boolean>;
|
|
10
10
|
};
|
|
11
|
-
}
|
|
11
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
2
2
|
title?(_: {}): any;
|
|
3
3
|
button?(_: {}): any;
|
|
4
4
|
}>;
|
|
@@ -6,9 +6,9 @@ export interface ButtonProps {
|
|
|
6
6
|
label?: string;
|
|
7
7
|
prependIcon?: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: import("vue").DefineComponent<{
|
|
9
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
10
|
modelValue: import("vue").PropType<ButtonProps[]>;
|
|
11
|
-
}
|
|
11
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
12
|
modelValue: import("vue").PropType<ButtonProps[]>;
|
|
13
|
-
}
|
|
13
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
14
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -2,16 +2,16 @@ interface NoDataProps {
|
|
|
2
2
|
title?: string;
|
|
3
3
|
subTitle?: string;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<NoDataProps>, {
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<NoDataProps>, {
|
|
6
6
|
title: string;
|
|
7
7
|
subTitle: string;
|
|
8
|
-
}
|
|
8
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<NoDataProps>, {
|
|
9
9
|
title: string;
|
|
10
10
|
subTitle: string;
|
|
11
|
-
}
|
|
11
|
+
}>>> & Readonly<{}>, {
|
|
12
12
|
title: string;
|
|
13
13
|
subTitle: string;
|
|
14
|
-
}, {}>, {
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
15
15
|
menu?(_: {}): any;
|
|
16
16
|
}>;
|
|
17
17
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ISelectItem } from "@feedmepos/ui-library";
|
|
2
2
|
import { type PropType } from "vue";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
modelValue: {
|
|
5
5
|
required: true;
|
|
6
6
|
type: PropType<any>;
|
|
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
type: BooleanConstructor;
|
|
22
22
|
default: boolean;
|
|
23
23
|
};
|
|
24
|
-
}
|
|
24
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
25
|
modelValue: {
|
|
26
26
|
required: true;
|
|
27
27
|
type: PropType<any>;
|
|
@@ -42,10 +42,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
42
|
type: BooleanConstructor;
|
|
43
43
|
default: boolean;
|
|
44
44
|
};
|
|
45
|
-
}
|
|
45
|
+
}>> & Readonly<{}>, {
|
|
46
46
|
label: string;
|
|
47
47
|
items: ISelectItem[];
|
|
48
48
|
placeHolder: string;
|
|
49
49
|
disableSearch: boolean;
|
|
50
|
-
}, {}>;
|
|
50
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
51
51
|
export default _default;
|
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
2
|
modelValue: {
|
|
4
3
|
required: true;
|
|
5
|
-
type: PropType<boolean>;
|
|
4
|
+
type: import("vue").PropType<boolean>;
|
|
6
5
|
};
|
|
7
6
|
reportId: {
|
|
8
7
|
type: StringConstructor;
|
|
9
8
|
default: null;
|
|
10
9
|
};
|
|
11
|
-
}
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
11
|
modelValue: {
|
|
13
12
|
required: true;
|
|
14
|
-
type: PropType<boolean>;
|
|
13
|
+
type: import("vue").PropType<boolean>;
|
|
15
14
|
};
|
|
16
15
|
reportId: {
|
|
17
16
|
type: StringConstructor;
|
|
18
17
|
default: null;
|
|
19
18
|
};
|
|
20
|
-
}
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
21
20
|
reportId: string;
|
|
22
|
-
}, {}>;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
22
|
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type FmButtonVariant } from "@feedmepos/ui-library";
|
|
2
|
+
import type { PropType } from "vue";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
buttons: {
|
|
5
|
+
type: PropType<{
|
|
6
|
+
variant: FmButtonVariant;
|
|
7
|
+
onClick: () => void;
|
|
8
|
+
label: string;
|
|
9
|
+
hide?: boolean | undefined;
|
|
10
|
+
}[]>;
|
|
11
|
+
default: () => never[];
|
|
12
|
+
};
|
|
13
|
+
isLoading: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
buttons: {
|
|
19
|
+
type: PropType<{
|
|
20
|
+
variant: FmButtonVariant;
|
|
21
|
+
onClick: () => void;
|
|
22
|
+
label: string;
|
|
23
|
+
hide?: boolean | undefined;
|
|
24
|
+
}[]>;
|
|
25
|
+
default: () => never[];
|
|
26
|
+
};
|
|
27
|
+
isLoading: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
}>> & Readonly<{}>, {
|
|
32
|
+
isLoading: boolean;
|
|
33
|
+
buttons: {
|
|
34
|
+
variant: FmButtonVariant;
|
|
35
|
+
onClick: () => void;
|
|
36
|
+
label: string;
|
|
37
|
+
hide?: boolean | undefined;
|
|
38
|
+
}[];
|
|
39
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
40
|
+
export default _default;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { type PropType } from "vue";
|
|
2
2
|
import type { Location } from "@/stores/report-filters";
|
|
3
3
|
import type { BukkuAccountingIntegration } from "../setting-exporter/type";
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
modelValue: PropType<BukkuAccountingIntegration>;
|
|
6
6
|
locations: {
|
|
7
7
|
type: PropType<Location[]>;
|
|
8
8
|
default: () => never[];
|
|
9
9
|
};
|
|
10
|
-
}
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
11
|
modelValue: PropType<BukkuAccountingIntegration>;
|
|
12
12
|
locations: {
|
|
13
13
|
type: PropType<Location[]>;
|
|
14
14
|
default: () => never[];
|
|
15
15
|
};
|
|
16
|
-
}
|
|
16
|
+
}>> & Readonly<{}>, {
|
|
17
17
|
locations: Location[];
|
|
18
|
-
}, {}>;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
19
|
export default _default;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { type PropType } from "vue";
|
|
2
2
|
import type { Location } from "@/stores/report-filters";
|
|
3
3
|
import type { NetSuiteAccountingIntegration } from "../setting-exporter/type";
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
modelValue: PropType<NetSuiteAccountingIntegration>;
|
|
6
6
|
locations: {
|
|
7
7
|
type: PropType<Location[]>;
|
|
8
8
|
default: () => never[];
|
|
9
9
|
};
|
|
10
|
-
}
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
11
|
modelValue: PropType<NetSuiteAccountingIntegration>;
|
|
12
12
|
locations: {
|
|
13
13
|
type: PropType<Location[]>;
|
|
14
14
|
default: () => never[];
|
|
15
15
|
};
|
|
16
|
-
}
|
|
16
|
+
}>> & Readonly<{}>, {
|
|
17
17
|
locations: Location[];
|
|
18
|
-
}, {}>;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
19
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PropType } from "vue";
|
|
2
2
|
import type { Location } from "@/stores/report-filters";
|
|
3
3
|
import type { XeroAccountingIntegration } from "../setting-exporter/type";
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
modelValue: PropType<XeroAccountingIntegration>;
|
|
6
6
|
locations: {
|
|
7
7
|
type: PropType<Location[]>;
|
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
type: StringConstructor;
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
|
-
}
|
|
14
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
modelValue: PropType<XeroAccountingIntegration>;
|
|
16
16
|
locations: {
|
|
17
17
|
type: PropType<Location[]>;
|
|
@@ -21,8 +21,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
type: StringConstructor;
|
|
22
22
|
default: string;
|
|
23
23
|
};
|
|
24
|
-
}
|
|
24
|
+
}>> & Readonly<{}>, {
|
|
25
25
|
locations: Location[];
|
|
26
26
|
reportId: string;
|
|
27
|
-
}, {}>;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
28
28
|
export default _default;
|
|
@@ -25,7 +25,7 @@ export interface BaseAccountingIntegration {
|
|
|
25
25
|
locationIds: string[];
|
|
26
26
|
closeSaleTime: Time;
|
|
27
27
|
triggerTime: Time;
|
|
28
|
-
triggeredAt
|
|
28
|
+
triggeredAt?: string;
|
|
29
29
|
dayOfDelay: number;
|
|
30
30
|
}
|
|
31
31
|
export interface NetSuiteAccountingIntegration extends BaseAccountingIntegration {
|
|
@@ -39,19 +39,132 @@ export interface NetSuiteAccountingIntegration extends BaseAccountingIntegration
|
|
|
39
39
|
secret: string;
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
+
interface Mapping {
|
|
43
|
+
key: string;
|
|
44
|
+
name: string;
|
|
45
|
+
}
|
|
46
|
+
interface XeroStaticMapping {
|
|
47
|
+
xero: Mapping;
|
|
48
|
+
}
|
|
49
|
+
interface XeroDynamicMapping {
|
|
50
|
+
feedme: Mapping;
|
|
51
|
+
xero: Mapping;
|
|
52
|
+
}
|
|
53
|
+
interface XeroItemMapping {
|
|
54
|
+
feedme: Mapping;
|
|
55
|
+
xero: Mapping;
|
|
56
|
+
xeroTax?: Mapping;
|
|
57
|
+
}
|
|
42
58
|
export interface BukkuAccountingIntegration extends BaseAccountingIntegration {
|
|
43
59
|
subdomain: string;
|
|
44
60
|
token: string;
|
|
61
|
+
type: "CASH" | "CREDIT";
|
|
62
|
+
grouping: AccountingGrouping;
|
|
63
|
+
mappings?: {
|
|
64
|
+
invoiceDocNo: string;
|
|
65
|
+
creditNoteDocNo: string;
|
|
66
|
+
paymentDocNo: string;
|
|
67
|
+
refundDocNo: string;
|
|
68
|
+
contact: {
|
|
69
|
+
account: string;
|
|
70
|
+
accountName: string;
|
|
71
|
+
};
|
|
72
|
+
rounding: {
|
|
73
|
+
account: string;
|
|
74
|
+
accountName: string;
|
|
75
|
+
};
|
|
76
|
+
taxes: {
|
|
77
|
+
key: string;
|
|
78
|
+
account: string;
|
|
79
|
+
}[];
|
|
80
|
+
items: {
|
|
81
|
+
key: string;
|
|
82
|
+
account: string;
|
|
83
|
+
accountName: string;
|
|
84
|
+
}[];
|
|
85
|
+
payments: {
|
|
86
|
+
key: string;
|
|
87
|
+
account: string;
|
|
88
|
+
accountName: string;
|
|
89
|
+
method: string;
|
|
90
|
+
skip: boolean;
|
|
91
|
+
}[];
|
|
92
|
+
charges: {
|
|
93
|
+
key: string;
|
|
94
|
+
account: string;
|
|
95
|
+
accountName: string;
|
|
96
|
+
}[];
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
export declare enum AccountingGrouping {
|
|
100
|
+
BY_DAY = "BY_DAY",
|
|
101
|
+
BY_DAY_ITEM = "BY_DAY_ITEM",
|
|
102
|
+
BY_DAY_CATEGORY = "BY_DAY_CATEGORY",
|
|
103
|
+
BY_DAY_SEPARATE_PAYMENT = "BY_DAY_SEPARATE_PAYMENT",
|
|
104
|
+
BY_INVOICE = "BY_INVOICE"
|
|
105
|
+
}
|
|
106
|
+
export interface AutoCountAccountingIntegration extends BaseAccountingIntegration {
|
|
107
|
+
subdomain: string;
|
|
108
|
+
token: string;
|
|
109
|
+
grouping: AccountingGrouping;
|
|
110
|
+
mappings?: {
|
|
111
|
+
description: string;
|
|
112
|
+
debtor: string;
|
|
113
|
+
project: string;
|
|
114
|
+
invoiceDocNo: string;
|
|
115
|
+
creditNoteDocNo: string;
|
|
116
|
+
paymentDocNo: string;
|
|
117
|
+
refundDocNo: string;
|
|
118
|
+
rounding: {
|
|
119
|
+
account: string;
|
|
120
|
+
description: string;
|
|
121
|
+
};
|
|
122
|
+
taxes: {
|
|
123
|
+
key: string;
|
|
124
|
+
account: string;
|
|
125
|
+
}[];
|
|
126
|
+
charges: {
|
|
127
|
+
key: string;
|
|
128
|
+
account: string;
|
|
129
|
+
description: string;
|
|
130
|
+
}[];
|
|
131
|
+
items: {
|
|
132
|
+
key: string;
|
|
133
|
+
account: string;
|
|
134
|
+
description: string;
|
|
135
|
+
}[];
|
|
136
|
+
payments: {
|
|
137
|
+
key: string;
|
|
138
|
+
account: string;
|
|
139
|
+
}[];
|
|
140
|
+
};
|
|
45
141
|
}
|
|
46
142
|
export interface XeroAccountingIntegration extends BaseAccountingIntegration {
|
|
47
|
-
refreshToken
|
|
143
|
+
refreshToken?: string;
|
|
144
|
+
accessToken?: string;
|
|
145
|
+
tenant: {
|
|
146
|
+
id: string;
|
|
147
|
+
name: string;
|
|
148
|
+
};
|
|
149
|
+
discountItem?: boolean;
|
|
150
|
+
mappings: {
|
|
151
|
+
contact: XeroStaticMapping;
|
|
152
|
+
rounding: XeroStaticMapping;
|
|
153
|
+
discount: XeroStaticMapping;
|
|
154
|
+
items: XeroItemMapping[];
|
|
155
|
+
charges: XeroDynamicMapping[];
|
|
156
|
+
payments: XeroDynamicMapping[];
|
|
157
|
+
};
|
|
48
158
|
}
|
|
49
|
-
export type AccountingIntegration = BaseAccountingIntegration | NetSuiteAccountingIntegration | BukkuAccountingIntegration | XeroAccountingIntegration | undefined;
|
|
50
|
-
export interface AccountingSetting {
|
|
159
|
+
export type AccountingIntegration = BaseAccountingIntegration | NetSuiteAccountingIntegration | BukkuAccountingIntegration | XeroAccountingIntegration | AutoCountAccountingIntegration | undefined;
|
|
160
|
+
export interface AccountingSetting<T = AccountingIntegration> {
|
|
161
|
+
_id?: string;
|
|
51
162
|
type: AccountingType;
|
|
163
|
+
name?: string;
|
|
164
|
+
reportId?: string;
|
|
52
165
|
mapping: {
|
|
53
166
|
[key: string]: string[][];
|
|
54
167
|
};
|
|
55
|
-
integration?:
|
|
168
|
+
integration?: T;
|
|
56
169
|
}
|
|
57
170
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type DatePredefinedRange } from "@/stores/report-filters";
|
|
2
2
|
import { type PropType } from "vue";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
compareType: PropType<any>;
|
|
5
5
|
dateRange: PropType<any>;
|
|
6
6
|
compareDateRange: PropType<any>;
|
|
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
type: PropType<DatePredefinedRange[]>;
|
|
13
13
|
default: () => DatePredefinedRange[];
|
|
14
14
|
};
|
|
15
|
-
}
|
|
15
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
16
|
compareType: PropType<any>;
|
|
17
17
|
dateRange: PropType<any>;
|
|
18
18
|
compareDateRange: PropType<any>;
|
|
@@ -24,8 +24,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
type: PropType<DatePredefinedRange[]>;
|
|
25
25
|
default: () => DatePredefinedRange[];
|
|
26
26
|
};
|
|
27
|
-
}
|
|
27
|
+
}>> & Readonly<{}>, {
|
|
28
28
|
compare: boolean;
|
|
29
29
|
datePredefinedRanges: DatePredefinedRange[];
|
|
30
|
-
}, {}>;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
31
31
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
label: {
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
default: string;
|
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
type: StringConstructor;
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
|
-
}
|
|
14
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
label: {
|
|
16
16
|
type: StringConstructor;
|
|
17
17
|
default: string;
|
|
@@ -24,9 +24,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
type: StringConstructor;
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
27
|
-
}
|
|
27
|
+
}>> & Readonly<{}>, {
|
|
28
28
|
label: string;
|
|
29
|
-
leftIcon: string;
|
|
30
29
|
rightIcon: string;
|
|
31
|
-
|
|
30
|
+
leftIcon: string;
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
32
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type PropType } from "vue";
|
|
2
2
|
import { type Location } from "@/stores/report-filters";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
modelValue: PropType<any>;
|
|
5
5
|
options: {
|
|
6
6
|
type: PropType<Location[]>;
|
|
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
type: StringConstructor;
|
|
11
11
|
default: string;
|
|
12
12
|
};
|
|
13
|
-
}
|
|
13
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
14
|
modelValue: PropType<any>;
|
|
15
15
|
options: {
|
|
16
16
|
type: PropType<Location[]>;
|
|
@@ -20,8 +20,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
type: StringConstructor;
|
|
21
21
|
default: string;
|
|
22
22
|
};
|
|
23
|
-
}
|
|
23
|
+
}>> & Readonly<{}>, {
|
|
24
24
|
label: string;
|
|
25
25
|
options: Location[];
|
|
26
|
-
}, {}>;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
27
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type PropType } from "vue";
|
|
2
2
|
import type { ReportHourType } from "@/types/setting";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
modelValue: PropType<any>;
|
|
5
5
|
defaultDateRange: {
|
|
6
6
|
type: PropType<ReportHourType[]>;
|
|
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
};
|
|
18
18
|
}[];
|
|
19
19
|
};
|
|
20
|
-
}
|
|
20
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
modelValue: PropType<any>;
|
|
22
22
|
defaultDateRange: {
|
|
23
23
|
type: PropType<ReportHourType[]>;
|
|
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
34
|
};
|
|
35
35
|
}[];
|
|
36
36
|
};
|
|
37
|
-
}
|
|
37
|
+
}>> & Readonly<{}>, {
|
|
38
38
|
defaultDateRange: ReportHourType[];
|
|
39
|
-
}, {}>;
|
|
39
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
40
40
|
export default _default;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
modelValue: {
|
|
3
3
|
required: true;
|
|
4
4
|
type: import("vue").PropType<any>;
|
|
5
5
|
};
|
|
6
|
-
}
|
|
6
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
7
|
modelValue: {
|
|
8
8
|
required: true;
|
|
9
9
|
type: import("vue").PropType<any>;
|
|
10
10
|
};
|
|
11
|
-
}
|
|
11
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { DateRangeSettingType } from "@/types/setting";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
modelValue: {
|
|
4
4
|
required: true;
|
|
5
5
|
type: import("vue").PropType<DateRangeSettingType>;
|
|
6
6
|
};
|
|
7
|
-
}
|
|
7
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
8
|
modelValue: {
|
|
9
9
|
required: true;
|
|
10
10
|
type: import("vue").PropType<DateRangeSettingType>;
|
|
11
11
|
};
|
|
12
|
-
}
|
|
12
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
13
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { ReportHourType } from "@/types/setting";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
modelValue: {
|
|
4
4
|
required: true;
|
|
5
5
|
type: import("vue").PropType<ReportHourType[]>;
|
|
6
6
|
};
|
|
7
|
-
}
|
|
7
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
8
|
modelValue: {
|
|
9
9
|
required: true;
|
|
10
10
|
type: import("vue").PropType<ReportHourType[]>;
|
|
11
11
|
};
|
|
12
|
-
}
|
|
12
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
13
|
export default _default;
|