@feedmepos/mf-payment 1.0.0 → 1.0.1-beta.1

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 (98) hide show
  1. package/README.md +11 -1
  2. package/dist/{AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js → AutoCopyCell.vue_vue_type_script_setup_true_lang-CdmfrBoW.js} +8 -9
  3. package/dist/DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js +31 -0
  4. package/dist/PDFViewer-xrBtzrlR.js +22426 -0
  5. package/dist/{PayoutAccount-Dc1CYQ0W.js → PayoutAccount-CyVXI1Sx.js} +93 -83
  6. package/dist/{PayoutAccount-DZaKHWcy.js → PayoutAccount-DGUnImHC.js} +259 -258
  7. package/dist/{PayoutAccountSetting-BzmNuLFj.js → PayoutAccountSetting-BbtOFbsd.js} +161 -183
  8. package/dist/Restaurant-ewsvVw3P.js +262 -0
  9. package/dist/RestaurantSetting-BboKM1iG.js +389 -0
  10. package/dist/SelectAll.vue_vue_type_script_setup_true_lang-DA4rs3tk.js +42 -0
  11. package/dist/{Settlement-Bx3zAkIw.js → Settlement-DsJlFpCC.js} +41 -43
  12. package/dist/Settlement-Hr7jN3EL.js +145 -0
  13. package/dist/{SettlementTransactions-D_SVuKyR.js → SettlementTransactions-BncoGGQ3.js} +10 -10
  14. package/dist/{SettlementTransactions-AaYyTH96.js → SettlementTransactions-Bz9ZVYfq.js} +41 -41
  15. package/dist/{Terminal-68OQnhM3.js → Terminal-D-U0BVTe.js} +117 -103
  16. package/dist/TerminalSetting-JD3sbXOB.js +387 -0
  17. package/dist/TerminalTransaction-B5iY_F-3.js +261 -0
  18. package/dist/TerminalTransaction-DHmD5x8e.js +485 -0
  19. package/dist/{Transaction-a1VfiCP_.js → Transaction-BedQtv8p.js} +125 -127
  20. package/dist/Transaction-DA_TB9zD.js +238 -0
  21. package/dist/api/restaurant/index.d.ts +6 -0
  22. package/dist/{app-C9FRsUfb.js → app-CpyZU23J.js} +315 -285
  23. package/dist/app.js +1 -1
  24. package/dist/{assets-Bji7O2YD.js → assets-8c19wXSV.js} +22 -21
  25. package/dist/components/AdminLayout.vue.d.ts +8 -13
  26. package/dist/components/AutoCopyCell.vue.d.ts +3 -4
  27. package/dist/components/DateRangePicker.vue.d.ts +13 -0
  28. package/dist/components/Layout.vue.d.ts +8 -13
  29. package/dist/components/PDFViewer.vue.d.ts +1 -1
  30. package/dist/components/PagingTable/FmTableSelection.vue.d.ts +13 -0
  31. package/dist/components/PagingTable/index.vue.d.ts +48 -0
  32. package/dist/components/RouteCell.vue.d.ts +5 -6
  33. package/dist/components/SelectAll.vue.d.ts +57 -0
  34. package/dist/helpers/idToDate.d.ts +1 -1
  35. package/dist/{index-Bt_OgDYn.js → index-1fXAFo2E.js} +32176 -32166
  36. package/dist/index-BIXuzGa9.js +19 -0
  37. package/dist/{index-DBfZnaV1.js → index-Cb1zVhcH.js} +1 -1
  38. package/dist/{index-DSuZG0l6.js → index-DEpszFWF.js} +1 -1
  39. package/dist/{index-DjDGwRX8.js → index-DdJrUqkm.js} +1 -1
  40. package/dist/{index-CLYePgWW.js → index-DeU3Qyca.js} +1 -1
  41. package/dist/{index-_0TroOJr.js → index-DoAIw4wM.js} +1 -1
  42. package/dist/index-DsLFmVsY.js +28 -0
  43. package/dist/{index.vue_vue_type_script_setup_true_lang-Jlcg1hAB.js → index.vue_vue_type_script_setup_true_lang-GT2x04Bn.js} +64 -61
  44. package/dist/package.json +2 -2
  45. package/dist/{payout-account-BWcq7OJy.js → payout-account-BbheLTUt.js} +2 -2
  46. package/dist/router/index.d.ts +1 -0
  47. package/dist/stores/iframe.d.ts +1 -1
  48. package/dist/stores/payoutAccount.d.ts +1 -1
  49. package/dist/{transaction-DqrhM5jB.js → transaction-W49zE8RL.js} +26 -16
  50. package/dist/tsconfig.app.tsbuildinfo +1 -1
  51. package/dist/views/admin/payout-account/cell/Bank.vue.d.ts +3 -5
  52. package/dist/views/admin/payout-account/cell/IsActive.vue.d.ts +3 -5
  53. package/dist/views/admin/payout-account/cell/PersonInCharge.vue.d.ts +3 -5
  54. package/dist/views/admin/payout-account/cell/RateInput.vue.d.ts +3 -5
  55. package/dist/views/admin/payout-account/cell/Status.vue.d.ts +3 -5
  56. package/dist/views/admin/payout-account/cell/TPlusInput.vue.d.ts +3 -5
  57. package/dist/views/admin/restaurant/Restaurant.vue.d.ts +2 -0
  58. package/dist/views/admin/restaurant/RestaurantSetting.vue.d.ts +12 -0
  59. package/dist/views/admin/restaurant/cell/IsActive.vue.d.ts +7 -0
  60. package/dist/views/admin/restaurant/tabs/PaymentGateway.vue.d.ts +803 -0
  61. package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +56 -0
  62. package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +50 -0
  63. package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +52 -0
  64. package/dist/views/admin/settlement/cell/Actions.vue.d.ts +4 -6
  65. package/dist/views/admin/settlement/cell/Gateway.vue.d.ts +3 -5
  66. package/dist/views/admin/settlement/cell/Method.vue.d.ts +3 -5
  67. package/dist/views/admin/settlement/cell/Status.vue.d.ts +3 -5
  68. package/dist/views/admin/terminal/TerminalBindCodeDialog.vue.d.ts +1 -1
  69. package/dist/views/admin/terminal/cell/Actions.vue.d.ts +7 -79
  70. package/dist/views/admin/terminal/cell/ID.vue.d.ts +3 -5
  71. package/dist/views/admin/terminal-transaction/cell/Actions.vue.d.ts +3 -4
  72. package/dist/views/admin/terminal-transaction/cell/Gateway.vue.d.ts +3 -5
  73. package/dist/views/admin/terminal-transaction/cell/Status.vue.d.ts +3 -5
  74. package/dist/views/admin/terminal-transaction/cell/Timestamp.vue.d.ts +7 -0
  75. package/dist/views/admin/transaction/cell/Actions.vue.d.ts +3 -4
  76. package/dist/views/admin/transaction/cell/Gateway.vue.d.ts +3 -5
  77. package/dist/views/admin/transaction/cell/Method.vue.d.ts +3 -5
  78. package/dist/views/admin/transaction/cell/Status.vue.d.ts +3 -5
  79. package/dist/views/payout-account/cell/Bank.vue.d.ts +3 -5
  80. package/dist/views/payout-account/cell/IsActive.vue.d.ts +3 -5
  81. package/dist/views/payout-account/cell/PersonInCharge.vue.d.ts +3 -5
  82. package/dist/views/payout-account/cell/Status.vue.d.ts +3 -5
  83. package/dist/views/settlement/cell/Actions.vue.d.ts +4 -6
  84. package/dist/views/settlement/cell/Gateway.vue.d.ts +3 -5
  85. package/dist/views/settlement/cell/Method.vue.d.ts +3 -5
  86. package/dist/views/settlement/cell/Status.vue.d.ts +3 -5
  87. package/dist/views/terminal-transaction/cell/Gateway.vue.d.ts +3 -5
  88. package/dist/views/terminal-transaction/cell/Status.vue.d.ts +3 -5
  89. package/dist/views/transaction/cell/Gateway.vue.d.ts +3 -5
  90. package/dist/views/transaction/cell/Method.vue.d.ts +3 -5
  91. package/dist/views/transaction/cell/Status.vue.d.ts +3 -5
  92. package/package.json +2 -2
  93. package/dist/PDFViewer-CjH_C1uT.js +0 -21792
  94. package/dist/Settlement-mwnO-iYH.js +0 -150
  95. package/dist/TerminalSetting-DEFim0xg.js +0 -379
  96. package/dist/TerminalTransaction-CQjNdffr.js +0 -426
  97. package/dist/TerminalTransaction-ClihmWOJ.js +0 -250
  98. package/dist/Transaction-68L7JzIk.js +0 -242
@@ -1,21 +1,16 @@
1
1
  import { type FmPageHeadAction } from '@feedmepos/ui-library';
2
+ type __VLS_Props = {
3
+ loading: boolean;
4
+ title: string;
5
+ onBack?: () => void;
6
+ businessFilter?: boolean;
7
+ restaurantFilter?: boolean;
8
+ };
2
9
  export type LayoutAction = {
3
10
  label: string;
4
11
  fn: () => void;
5
12
  } & Omit<FmPageHeadAction, 'value'>;
6
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
7
- loading: boolean;
8
- title: string;
9
- onBack?: (() => void) | undefined;
10
- businessFilter?: boolean | undefined;
11
- restaurantFilter?: boolean | undefined;
12
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
13
- loading: boolean;
14
- title: string;
15
- onBack?: (() => void) | undefined;
16
- businessFilter?: boolean | undefined;
17
- restaurantFilter?: boolean | undefined;
18
- }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
13
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
19
14
  default?(_: {}): any;
20
15
  }>;
21
16
  export default _default;
@@ -1,6 +1,5 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ type __VLS_Props = {
2
2
  data: string;
3
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
4
- data: string;
5
- }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
3
+ };
4
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
6
5
  export default _default;
@@ -0,0 +1,13 @@
1
+ type DateRange = {
2
+ startDate: string;
3
+ endDate: string;
4
+ };
5
+ type __VLS_PublicProps = {
6
+ modelValue: DateRange;
7
+ };
8
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:modelValue": (value: DateRange) => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
11
+ "onUpdate:modelValue"?: ((value: DateRange) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ export default _default;
@@ -1,21 +1,16 @@
1
1
  import { type FmPageHeadAction } from '@feedmepos/ui-library';
2
+ type __VLS_Props = {
3
+ loading: boolean;
4
+ title: string;
5
+ description?: string;
6
+ onBack?: () => void;
7
+ actions?: LayoutAction[];
8
+ };
2
9
  export type LayoutAction = {
3
10
  label: string;
4
11
  fn: () => void;
5
12
  } & Omit<FmPageHeadAction, 'value'>;
6
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
7
- loading: boolean;
8
- title: string;
9
- description?: string | undefined;
10
- onBack?: (() => void) | undefined;
11
- actions?: LayoutAction[] | undefined;
12
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
13
- loading: boolean;
14
- title: string;
15
- description?: string | undefined;
16
- onBack?: (() => void) | undefined;
17
- actions?: LayoutAction[] | undefined;
18
- }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
13
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
19
14
  default?(_: {}): any;
20
15
  }>;
21
16
  export default _default;
@@ -14,7 +14,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
14
14
  height: {
15
15
  type: NumberConstructor;
16
16
  };
17
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
17
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>, {
18
18
  "top-right"?(_: {}): any;
19
19
  }>;
20
20
  export default _default;
@@ -0,0 +1,13 @@
1
+ export interface FmTableSelectionProps {
2
+ value: number;
3
+ items: {
4
+ label: string;
5
+ value: number;
6
+ }[];
7
+ }
8
+ declare const _default: import("vue").DefineComponent<FmTableSelectionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
+ "update:modelValue": (value: number) => any;
10
+ }, string, import("vue").PublicProps, Readonly<FmTableSelectionProps> & Readonly<{
11
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ export default _default;
@@ -0,0 +1,48 @@
1
+ import { type ColumnDef } from '@feedmepos/ui-library';
2
+ import type { PaginatedResponse } from '@/api/pagination';
3
+ export type PagingTableController = {
4
+ /**
5
+ * Reset pagination and all loaded data, and perform load for first page data
6
+ */
7
+ reset: () => {};
8
+ };
9
+ declare const _default: <T extends unknown, R extends unknown>(__VLS_props: {
10
+ readonly "onRow-click"?: ((data: T) => any) | undefined;
11
+ readonly columnDefs: ColumnDef<R>[];
12
+ readonly rowsDefs: (a: T) => R;
13
+ readonly paginate: (limit: number, page: number) => Promise<PaginatedResponse<T>>;
14
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
15
+ attrs: any;
16
+ slots: {};
17
+ emit: (event: 'row-click', data: T) => any;
18
+ } | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<PagingTableController>) => void) | undefined, __VLS_setup?: Promise<{
19
+ props: {
20
+ readonly "onRow-click"?: ((data: T) => any) | undefined;
21
+ readonly columnDefs: ColumnDef<R>[];
22
+ readonly rowsDefs: (a: T) => R;
23
+ readonly paginate: (limit: number, page: number) => Promise<PaginatedResponse<T>>;
24
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
25
+ expose(exposed: import("vue").ShallowUnwrapRef<PagingTableController>): void;
26
+ attrs: any;
27
+ slots: {};
28
+ emit: (event: 'row-click', data: T) => any;
29
+ }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
30
+ [key: string]: any;
31
+ }> & {
32
+ __ctx?: {
33
+ props: {
34
+ readonly "onRow-click"?: ((data: T) => any) | undefined;
35
+ readonly columnDefs: ColumnDef<R>[];
36
+ readonly rowsDefs: (a: T) => R;
37
+ readonly paginate: (limit: number, page: number) => Promise<PaginatedResponse<T>>;
38
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
39
+ expose(exposed: import("vue").ShallowUnwrapRef<PagingTableController>): void;
40
+ attrs: any;
41
+ slots: {};
42
+ emit: (event: 'row-click', data: T) => any;
43
+ } | undefined;
44
+ };
45
+ export default _default;
46
+ type __VLS_PrettifyLocal<T> = {
47
+ [K in keyof T]: T[K];
48
+ } & {};
@@ -1,8 +1,7 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ import { type RouteLocationRaw } from 'vue-router';
2
+ type __VLS_Props = {
2
3
  data: string;
3
- route: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
4
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
5
- data: string;
6
- route: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
7
- }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
4
+ route: RouteLocationRaw;
5
+ };
6
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
8
7
  export default _default;
@@ -0,0 +1,57 @@
1
+ import { type ISelectItem } from '@feedmepos/ui-library';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ label: {
4
+ type: StringConstructor;
5
+ };
6
+ items: {
7
+ type: {
8
+ (arrayLength: number): ISelectItem[];
9
+ (...items: ISelectItem[]): ISelectItem[];
10
+ new (arrayLength: number): ISelectItem[];
11
+ new (...items: ISelectItem[]): ISelectItem[];
12
+ isArray(arg: any): arg is any[];
13
+ readonly prototype: any[];
14
+ from<T>(arrayLike: ArrayLike<T>): T[];
15
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
16
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
17
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
18
+ of<T_4>(...items: T_4[]): T_4[];
19
+ readonly [Symbol.species]: ArrayConstructor;
20
+ };
21
+ required: true;
22
+ };
23
+ modelValue: {
24
+ type: import("vue").PropType<any[]>;
25
+ required: true;
26
+ };
27
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
+ "update:modelValue": (value: any[]) => any;
29
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
+ label: {
31
+ type: StringConstructor;
32
+ };
33
+ items: {
34
+ type: {
35
+ (arrayLength: number): ISelectItem[];
36
+ (...items: ISelectItem[]): ISelectItem[];
37
+ new (arrayLength: number): ISelectItem[];
38
+ new (...items: ISelectItem[]): ISelectItem[];
39
+ isArray(arg: any): arg is any[];
40
+ readonly prototype: any[];
41
+ from<T>(arrayLike: ArrayLike<T>): T[];
42
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
43
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
44
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
45
+ of<T_4>(...items: T_4[]): T_4[];
46
+ readonly [Symbol.species]: ArrayConstructor;
47
+ };
48
+ required: true;
49
+ };
50
+ modelValue: {
51
+ type: import("vue").PropType<any[]>;
52
+ required: true;
53
+ };
54
+ }>> & Readonly<{
55
+ "onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
56
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
57
+ export default _default;
@@ -1 +1 @@
1
- export default function idToDate(id: any): string | null;
1
+ export default function idToDate(id: any): Date | null;