@feedmepos/mf-transaction 0.0.5-beta → 0.0.7-beta
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-qQeAwVLL.js +167825 -0
- package/dist/app.js +1 -1
- package/dist/{src → apps/mf-transaction/src}/App.vue.d.ts +1 -1
- package/dist/{src → apps/mf-transaction/src}/Entry.vue.d.ts +1 -1
- package/dist/{src → apps/mf-transaction/src}/api/role/index.d.ts +1 -1
- package/dist/{src → apps/mf-transaction/src}/api/team/index.d.ts +2 -2
- package/dist/{src → apps/mf-transaction/src}/api/timesheet/index.d.ts +1 -1
- package/dist/{src → apps/mf-transaction/src}/api/transaction/index.d.ts +5 -3
- package/dist/{src → apps/mf-transaction/src}/components/AppForm.vue.d.ts +5 -5
- package/dist/{src → apps/mf-transaction/src}/components/CheckboxInput.vue.d.ts +6 -6
- package/dist/apps/mf-transaction/src/components/FilterDialog.vue.d.ts +13 -0
- package/dist/{src → apps/mf-transaction/src}/components/Navigator.vue.d.ts +1 -1
- package/dist/apps/mf-transaction/src/components/RestaurantSelector.vue.d.ts +6 -0
- package/dist/{src → apps/mf-transaction/src}/views/online/OnlineTransaction.vue.d.ts +1 -1
- package/dist/{src → apps/mf-transaction/src}/views/online/PaymentTable.vue.d.ts +15 -6
- package/dist/{src → apps/mf-transaction/src}/views/online/SettlementTable.vue.d.ts +8 -8
- package/dist/{src → apps/mf-transaction/src}/views/online/detail/FmSettlement.vue.d.ts +6 -6
- package/dist/{src → apps/mf-transaction/src}/views/online/detail/RmsSettlement.vue.d.ts +3 -3
- package/dist/{src → apps/mf-transaction/src}/views/online/detail/SettlementDetail.vue.d.ts +2 -2
- package/dist/{src → apps/mf-transaction/src}/views/receipt/ExportReceipt.vue.d.ts +3 -3
- package/dist/{src → apps/mf-transaction/src}/views/receipt/Receipt.vue.d.ts +1 -1
- package/dist/{src → apps/mf-transaction/src}/views/receipt/detail/ReceiptDetail.vue.d.ts +4 -4
- package/dist/apps/mf-transaction/src/views/receipt/detail/activity/ReceiptActivities.vue.d.ts +14 -0
- package/dist/apps/mf-transaction/src/views/receipt/detail/info/InfoBasic.vue.d.ts +20 -0
- package/dist/{src → apps/mf-transaction/src}/views/receipt/detail/info/InfoRow.vue.d.ts +4 -4
- package/dist/apps/mf-transaction/src/views/receipt/detail/info/ReceiptInfo.vue.d.ts +14 -0
- package/dist/apps/mf-transaction/src/views/receipt/detail/info/ReceiptItem.vue.d.ts +14 -0
- package/dist/apps/mf-transaction/src/views/receipt/detail/info/ReceiptPreview.vue.d.ts +14 -0
- package/dist/{src → apps/mf-transaction/src}/views/receipt/detail/info/ReceiptSubItem.vue.d.ts +4 -4
- package/dist/apps/mf-transaction/src/views/receipt/detail/item/ReceiptGroupItem.vue.d.ts +14 -0
- package/dist/{src → apps/mf-transaction/src}/views/receipt/receipt.d.ts +5 -5
- package/dist/apps/mf-transaction/tsconfig.app.tsbuildinfo +1 -0
- package/dist/{index.es-JoRL4qNk.js → index.es-Dh44S0bc.js} +913 -913
- package/dist/packages/shared/src/api/index.d.ts +3 -0
- package/dist/packages/shared/src/api/public.d.ts +5 -0
- package/dist/packages/shared/src/components/button/ResponsiveFabButton.vue.d.ts +12 -0
- package/dist/packages/shared/src/components/dialog/ConfirmActionDialog.vue.d.ts +30 -0
- package/dist/packages/shared/src/components/form/FormLabel.vue.d.ts +33 -0
- package/dist/packages/shared/src/components/form/ImageDropField.vue.d.ts +46 -0
- package/dist/packages/shared/src/components/form/RestaurantSelector.vue.d.ts +28 -0
- package/dist/packages/shared/src/components/form/RestaurantSelectorMultiple.vue.d.ts +22 -0
- package/dist/packages/shared/src/components/info/InfoBasic.vue.d.ts +20 -0
- package/dist/packages/shared/src/components/info/Summary.vue.d.ts +19 -0
- package/dist/packages/shared/src/components/info/TextChip.vue.d.ts +15 -0
- package/dist/packages/shared/src/components/layout/FormColumn.vue.d.ts +21 -0
- package/dist/packages/shared/src/components/layout/FormItem.vue.d.ts +21 -0
- package/dist/packages/shared/src/components/layout/FormRow.vue.d.ts +9 -0
- package/dist/packages/shared/src/components/layout/FormSection.vue.d.ts +24 -0
- package/dist/packages/shared/src/components/layout/FullScreenForm.vue.d.ts +45 -0
- package/dist/packages/shared/src/components/layout/FullWrapper.vue.d.ts +9 -0
- package/dist/packages/shared/src/components/layout/HorizontalSplitter.vue.d.ts +2 -0
- package/dist/packages/shared/src/components/layout/Indent.vue.d.ts +9 -0
- package/dist/packages/shared/src/components/layout/PageLayout.vue.d.ts +24 -0
- package/dist/packages/shared/src/components/map/GoogleMap.vue.d.ts +79 -0
- package/dist/packages/shared/src/components/menu/BottomSheetMenu.vue.d.ts +9 -0
- package/dist/packages/shared/src/components/menu/BottomSheetMenuItem.vue.d.ts +17 -0
- package/dist/packages/shared/src/components/menu/ResponsiveContextMenu.vue.d.ts +22 -0
- package/dist/packages/shared/src/components/types.d.ts +95 -0
- package/dist/packages/shared/src/composable/clipboard.d.ts +3 -0
- package/dist/packages/shared/src/composable/elementPosition.d.ts +17 -0
- package/dist/packages/shared/src/composable/filterSelector.d.ts +12 -0
- package/dist/packages/shared/src/composable/loading.d.ts +29 -0
- package/dist/packages/shared/src/feature/featureMinVersion.d.ts +34 -0
- package/dist/packages/shared/src/helpers/actionButton.d.ts +8 -0
- package/dist/packages/shared/src/helpers/contextMenu.d.ts +13 -0
- package/dist/packages/shared/src/helpers/createComponent.d.ts +7 -0
- package/dist/packages/shared/src/helpers/createForm.d.ts +2 -0
- package/dist/packages/shared/src/helpers/iteration.d.ts +11 -0
- package/dist/packages/shared/src/helpers/map.d.ts +370 -0
- package/dist/packages/shared/src/helpers/object.d.ts +6 -0
- package/dist/packages/shared/src/helpers/rules.d.ts +1 -0
- package/dist/packages/shared/src/stores/app.d.ts +207 -0
- package/dist/packages/shared/src/types/types.d.ts +5 -0
- package/dist/style.css +1 -1
- package/package.json +5 -4
- package/dist/app-De8rdDAe.js +0 -144269
- package/dist/src/components/FilterDialog.vue.d.ts +0 -13
- package/dist/src/components/RestaurantSelector.vue.d.ts +0 -6
- package/dist/src/helpers/rule.d.ts +0 -29
- package/dist/src/stores/employee.d.ts +0 -539
- package/dist/src/stores/role.d.ts +0 -205
- package/dist/src/stores/timesheet.d.ts +0 -253
- package/dist/src/types/employee.d.ts +0 -29
- package/dist/src/types/permission.d.ts +0 -68
- package/dist/src/types/role.d.ts +0 -37
- package/dist/src/types/team.d.ts +0 -47
- package/dist/src/types/timesheet.d.ts +0 -16
- package/dist/src/views/receipt/detail/activity/ReceiptActivities.vue.d.ts +0 -14
- package/dist/src/views/receipt/detail/info/InfoBasic.vue.d.ts +0 -20
- package/dist/src/views/receipt/detail/info/ReceiptInfo.vue.d.ts +0 -14
- package/dist/src/views/receipt/detail/info/ReceiptItem.vue.d.ts +0 -14
- package/dist/src/views/receipt/detail/info/ReceiptPreview.vue.d.ts +0 -14
- package/dist/src/views/receipt/detail/item/ReceiptGroupItem.vue.d.ts +0 -14
- package/dist/src/views/team/TeamMemberList.vue.d.ts +0 -2
- package/dist/src/views/team/components/AddMemberForm.vue.d.ts +0 -40
- package/dist/src/views/team/components/PortalPermissionEditor.vue.d.ts +0 -38
- package/dist/src/views/team/components/PortalUserSearcher.vue.d.ts +0 -40
- package/dist/src/views/team/components/TeamMemberBasePermission.vue.d.ts +0 -36
- package/dist/src/views/team/components/TeamMemberConditionPermission.vue.d.ts +0 -50
- package/dist/src/views/team/components/TeamMemberMasterUser.vue.d.ts +0 -836
- package/dist/src/views/team/components/TeamMemberRolePermission.vue.d.ts +0 -46
- package/dist/tsconfig.app.tsbuildinfo +0 -1
- /package/dist/{src → apps/mf-transaction/src}/api/bill/index.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/api/employee/index.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/api/index.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/api/inventory/index.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/api/payment/index.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/api/user/index.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/app.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/composables/dateRange.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/composables/message.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/helpers/component.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/helpers/createComponent.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/helpers/createForm.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/helpers/export.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/helpers/idToDate.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/helpers/iteration.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/helpers/random.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/helpers/string.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/helpers/time.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/helpers/utils.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/main.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/router/index.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/router/shared.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/types/restaurant.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/types/transaction.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/views/online/settlement.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/views/receipt/form.d.ts +0 -0
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import type { FdoPublicSetting } from "@feedmepos/core/entity";
|
|
2
|
+
export type PublicSettingApi = FdoPublicSetting & {
|
|
3
|
+
aiSettings: {
|
|
4
|
+
remy: {
|
|
5
|
+
enable: boolean;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
interface AppState {
|
|
10
|
+
loadingQueue: LoadingQueue[];
|
|
11
|
+
publicSetting: PublicSettingApi;
|
|
12
|
+
}
|
|
13
|
+
interface LoadingQueue {
|
|
14
|
+
id: string;
|
|
15
|
+
isGlobal: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare const useAppStore: import("pinia").StoreDefinition<"portal-app-store", AppState, {}, {
|
|
18
|
+
addLoadingQueues(queues: LoadingQueue[]): void;
|
|
19
|
+
clearLoadingQueue(): void;
|
|
20
|
+
resolveQueues(queueIds: string[]): void;
|
|
21
|
+
promise<F extends (...args: any[]) => any>(callback: F, isGlobal?: boolean): Promise<ReturnType<F>>;
|
|
22
|
+
getPublicSetting(): Promise<{
|
|
23
|
+
delivery: {
|
|
24
|
+
feedMe: {
|
|
25
|
+
operatingHours?: {
|
|
26
|
+
0: {
|
|
27
|
+
hours: {
|
|
28
|
+
end: string;
|
|
29
|
+
start: string;
|
|
30
|
+
}[];
|
|
31
|
+
enable: boolean;
|
|
32
|
+
};
|
|
33
|
+
2: {
|
|
34
|
+
hours: {
|
|
35
|
+
end: string;
|
|
36
|
+
start: string;
|
|
37
|
+
}[];
|
|
38
|
+
enable: boolean;
|
|
39
|
+
};
|
|
40
|
+
1: {
|
|
41
|
+
hours: {
|
|
42
|
+
end: string;
|
|
43
|
+
start: string;
|
|
44
|
+
}[];
|
|
45
|
+
enable: boolean;
|
|
46
|
+
};
|
|
47
|
+
3: {
|
|
48
|
+
hours: {
|
|
49
|
+
end: string;
|
|
50
|
+
start: string;
|
|
51
|
+
}[];
|
|
52
|
+
enable: boolean;
|
|
53
|
+
};
|
|
54
|
+
4: {
|
|
55
|
+
hours: {
|
|
56
|
+
end: string;
|
|
57
|
+
start: string;
|
|
58
|
+
}[];
|
|
59
|
+
enable: boolean;
|
|
60
|
+
};
|
|
61
|
+
5: {
|
|
62
|
+
hours: {
|
|
63
|
+
end: string;
|
|
64
|
+
start: string;
|
|
65
|
+
}[];
|
|
66
|
+
enable: boolean;
|
|
67
|
+
};
|
|
68
|
+
6: {
|
|
69
|
+
hours: {
|
|
70
|
+
end: string;
|
|
71
|
+
start: string;
|
|
72
|
+
}[];
|
|
73
|
+
enable: boolean;
|
|
74
|
+
};
|
|
75
|
+
} | null | undefined;
|
|
76
|
+
maxDistance: number;
|
|
77
|
+
enable: boolean;
|
|
78
|
+
areas: {
|
|
79
|
+
polygon: number[][];
|
|
80
|
+
}[];
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
assets: {
|
|
84
|
+
groups: {
|
|
85
|
+
key: "pos";
|
|
86
|
+
assets: {
|
|
87
|
+
type: "image" | "lottie";
|
|
88
|
+
key: "activeMascotDark" | "activeMascotLight" | "inactiveMascotDark" | "inactiveMascotLight" | "odsMascot";
|
|
89
|
+
path: string;
|
|
90
|
+
files: {
|
|
91
|
+
url: string;
|
|
92
|
+
createdAt: string;
|
|
93
|
+
config: {
|
|
94
|
+
useWhen: {
|
|
95
|
+
end: string;
|
|
96
|
+
start: string;
|
|
97
|
+
};
|
|
98
|
+
recurring: boolean;
|
|
99
|
+
};
|
|
100
|
+
lastUpdate: string;
|
|
101
|
+
}[];
|
|
102
|
+
}[];
|
|
103
|
+
}[];
|
|
104
|
+
};
|
|
105
|
+
sms: {
|
|
106
|
+
firebase: boolean;
|
|
107
|
+
};
|
|
108
|
+
aiSettings: {
|
|
109
|
+
remy: {
|
|
110
|
+
enable: boolean;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}>;
|
|
114
|
+
updatePublicSetting(setting: Partial<FdoPublicSetting>): Promise<{
|
|
115
|
+
delivery: {
|
|
116
|
+
feedMe: {
|
|
117
|
+
operatingHours?: {
|
|
118
|
+
0: {
|
|
119
|
+
hours: {
|
|
120
|
+
end: string;
|
|
121
|
+
start: string;
|
|
122
|
+
}[];
|
|
123
|
+
enable: boolean;
|
|
124
|
+
};
|
|
125
|
+
2: {
|
|
126
|
+
hours: {
|
|
127
|
+
end: string;
|
|
128
|
+
start: string;
|
|
129
|
+
}[];
|
|
130
|
+
enable: boolean;
|
|
131
|
+
};
|
|
132
|
+
1: {
|
|
133
|
+
hours: {
|
|
134
|
+
end: string;
|
|
135
|
+
start: string;
|
|
136
|
+
}[];
|
|
137
|
+
enable: boolean;
|
|
138
|
+
};
|
|
139
|
+
3: {
|
|
140
|
+
hours: {
|
|
141
|
+
end: string;
|
|
142
|
+
start: string;
|
|
143
|
+
}[];
|
|
144
|
+
enable: boolean;
|
|
145
|
+
};
|
|
146
|
+
4: {
|
|
147
|
+
hours: {
|
|
148
|
+
end: string;
|
|
149
|
+
start: string;
|
|
150
|
+
}[];
|
|
151
|
+
enable: boolean;
|
|
152
|
+
};
|
|
153
|
+
5: {
|
|
154
|
+
hours: {
|
|
155
|
+
end: string;
|
|
156
|
+
start: string;
|
|
157
|
+
}[];
|
|
158
|
+
enable: boolean;
|
|
159
|
+
};
|
|
160
|
+
6: {
|
|
161
|
+
hours: {
|
|
162
|
+
end: string;
|
|
163
|
+
start: string;
|
|
164
|
+
}[];
|
|
165
|
+
enable: boolean;
|
|
166
|
+
};
|
|
167
|
+
} | null | undefined;
|
|
168
|
+
maxDistance: number;
|
|
169
|
+
enable: boolean;
|
|
170
|
+
areas: {
|
|
171
|
+
polygon: number[][];
|
|
172
|
+
}[];
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
assets: {
|
|
176
|
+
groups: {
|
|
177
|
+
key: "pos";
|
|
178
|
+
assets: {
|
|
179
|
+
type: "image" | "lottie";
|
|
180
|
+
key: "activeMascotDark" | "activeMascotLight" | "inactiveMascotDark" | "inactiveMascotLight" | "odsMascot";
|
|
181
|
+
path: string;
|
|
182
|
+
files: {
|
|
183
|
+
url: string;
|
|
184
|
+
createdAt: string;
|
|
185
|
+
config: {
|
|
186
|
+
useWhen: {
|
|
187
|
+
end: string;
|
|
188
|
+
start: string;
|
|
189
|
+
};
|
|
190
|
+
recurring: boolean;
|
|
191
|
+
};
|
|
192
|
+
lastUpdate: string;
|
|
193
|
+
}[];
|
|
194
|
+
}[];
|
|
195
|
+
}[];
|
|
196
|
+
};
|
|
197
|
+
sms: {
|
|
198
|
+
firebase: boolean;
|
|
199
|
+
};
|
|
200
|
+
aiSettings: {
|
|
201
|
+
remy: {
|
|
202
|
+
enable: boolean;
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
}>;
|
|
206
|
+
}>;
|
|
207
|
+
export {};
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.fade-enter-from[data-v-
|
|
1
|
+
.fade-enter-from[data-v-c4170ff3]{opacity:0}.fade-enter-to[data-v-c4170ff3],.fade-leave-from[data-v-c4170ff3]{opacity:1}.fade-leave-to[data-v-c4170ff3]{opacity:0}.fade-enter-active[data-v-c4170ff3],.fade-leave-active[data-v-c4170ff3]{transition:opacity .3s}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-transaction",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7-beta",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
12
|
"import": "./dist/app.js",
|
|
13
|
-
"types": "./dist/src/app.d.ts"
|
|
13
|
+
"types": "./dist/apps/mf-transaction/src/app.d.ts"
|
|
14
14
|
},
|
|
15
15
|
"./style": "./dist/style.css"
|
|
16
16
|
},
|
|
@@ -37,10 +37,11 @@
|
|
|
37
37
|
"purge:prod": "curl https://purge.jsdelivr.net/npm/@feedmepos/mf-team@latest/dist/app.js"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@feedmepos/
|
|
40
|
+
"@feedmepos/ui-library": "^1.2.50",
|
|
41
|
+
"@feedmepos/core": "^2.12.10",
|
|
41
42
|
"@feedmepos/core-dart": "^0.2.6",
|
|
42
43
|
"@feedmepos/mf-common": "workspace:^",
|
|
43
|
-
"@feedmepos/print": "file:../../core-
|
|
44
|
+
"@feedmepos/print": "file:../../core-legacy-0.1.tar.gz",
|
|
44
45
|
"@feedmepos/payment-model": "0.0.12",
|
|
45
46
|
"@vitejs/plugin-vue-jsx": "^4.0.0",
|
|
46
47
|
"axios": "^1.6.2",
|