@feedmepos/mf-transaction 0.0.38 → 0.0.40
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-DkyrES4B.js → App-DuAkcPbf.js} +1 -1
- package/dist/{Receipt-B2A8gsNe.js → Receipt-BE-oLTGy.js} +19599 -19291
- package/dist/{app-DoKAcABk.js → app-BgDY8Ckx.js} +82 -20
- package/dist/app.js +1 -1
- package/dist/apps/mf-transaction/src/app.d.ts +62 -0
- package/dist/apps/mf-transaction/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{config-BqEw_1Kt.js → config-Cs3h7EOy.js} +4641 -4641
- package/dist/{index.es-CBH60W16.js → index.es-DmSNOB9X.js} +385 -385
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ref as d, watch as s, nextTick as l, onMounted as v, onBeforeUnmount as h, defineComponent as m, computed as
|
|
2
|
-
import { useBreakpoints as
|
|
3
|
-
function
|
|
1
|
+
import { ref as d, watch as s, nextTick as l, onMounted as v, onBeforeUnmount as h, defineComponent as m, computed as b, openBlock as f, createElementBlock as x, normalizeStyle as y, renderSlot as P, resolveComponent as I, createBlock as w, withCtx as _, createElementVNode as R, createVNode as g, defineAsyncComponent as C } from "vue";
|
|
2
|
+
import { useBreakpoints as D } from "@feedmepos/ui-library";
|
|
3
|
+
function E(e, i) {
|
|
4
4
|
const r = d({ top: 0, bottom: 0, left: 0, right: 0 });
|
|
5
5
|
function t() {
|
|
6
6
|
if (e.value) {
|
|
@@ -26,17 +26,17 @@ function D(e, i) {
|
|
|
26
26
|
const F = /* @__PURE__ */ m({
|
|
27
27
|
__name: "FullWrapper",
|
|
28
28
|
setup(e) {
|
|
29
|
-
const i =
|
|
29
|
+
const i = D(), r = d(null), t = E(r), o = b(() => {
|
|
30
30
|
var c;
|
|
31
31
|
const a = i.isAtMost("sm") ? 56 : 0;
|
|
32
32
|
return {
|
|
33
33
|
height: `calc(100dvh - ${((c = t.value) == null ? void 0 : c.top) + 24 + a}px)`
|
|
34
34
|
};
|
|
35
35
|
});
|
|
36
|
-
return (n, a) => (f(),
|
|
36
|
+
return (n, a) => (f(), x("div", {
|
|
37
37
|
ref_key: "wrapper",
|
|
38
38
|
ref: r,
|
|
39
|
-
style:
|
|
39
|
+
style: y(o.value)
|
|
40
40
|
}, [
|
|
41
41
|
P(n.$slots, "default")
|
|
42
42
|
], 4));
|
|
@@ -45,8 +45,8 @@ const F = /* @__PURE__ */ m({
|
|
|
45
45
|
__name: "PageLoading",
|
|
46
46
|
setup(e) {
|
|
47
47
|
return (i, r) => {
|
|
48
|
-
const t =
|
|
49
|
-
return f(),
|
|
48
|
+
const t = I("FmCircularProgress");
|
|
49
|
+
return f(), w(F, null, {
|
|
50
50
|
default: _(() => [
|
|
51
51
|
R("div", N, [
|
|
52
52
|
g(t, { size: "xl" })
|
|
@@ -59,7 +59,7 @@ const F = /* @__PURE__ */ m({
|
|
|
59
59
|
}), u = (e) => C({
|
|
60
60
|
loader: e,
|
|
61
61
|
loadingComponent: S
|
|
62
|
-
}),
|
|
62
|
+
}), z = {
|
|
63
63
|
title: "Transaction",
|
|
64
64
|
receipt: {
|
|
65
65
|
title: "Receipt",
|
|
@@ -118,8 +118,8 @@ const F = /* @__PURE__ */ m({
|
|
|
118
118
|
fullSizePreview: "Full size preview"
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
},
|
|
122
|
-
transaction:
|
|
121
|
+
}, k = {
|
|
122
|
+
transaction: z
|
|
123
123
|
}, T = {
|
|
124
124
|
title: "ธุรกรรม",
|
|
125
125
|
receipt: {
|
|
@@ -239,8 +239,69 @@ const F = /* @__PURE__ */ m({
|
|
|
239
239
|
fullSizePreview: "全屏预览"
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
|
-
},
|
|
242
|
+
}, $ = {
|
|
243
243
|
transaction: M
|
|
244
|
+
}, B = {
|
|
245
|
+
title: "交易",
|
|
246
|
+
receipt: {
|
|
247
|
+
title: "收據",
|
|
248
|
+
actions: {
|
|
249
|
+
viewDetails: "查看詳情",
|
|
250
|
+
refreshPayment: "刷新支付"
|
|
251
|
+
},
|
|
252
|
+
export: {
|
|
253
|
+
pdf: "導出為 PDF",
|
|
254
|
+
excel: "導出為 Excel",
|
|
255
|
+
noReceipts: "沒有收據可導出",
|
|
256
|
+
success: "收據已導出",
|
|
257
|
+
export: "導出"
|
|
258
|
+
},
|
|
259
|
+
columns: {
|
|
260
|
+
receipt: "收據",
|
|
261
|
+
table: "桌號",
|
|
262
|
+
paymentMethod: "支付方式",
|
|
263
|
+
createdAt: "創建時間",
|
|
264
|
+
completed: "完成",
|
|
265
|
+
status: "狀態",
|
|
266
|
+
total: "總計"
|
|
267
|
+
},
|
|
268
|
+
search: {
|
|
269
|
+
placeholder: "搜索收據"
|
|
270
|
+
},
|
|
271
|
+
labels: {
|
|
272
|
+
receipt: "收據: {seqNumber}"
|
|
273
|
+
},
|
|
274
|
+
detail: {
|
|
275
|
+
title: "收據詳情",
|
|
276
|
+
tabs: {
|
|
277
|
+
receipt: "收據",
|
|
278
|
+
activity: "活動",
|
|
279
|
+
orderRecords: "訂單記錄",
|
|
280
|
+
transaction: "交易記錄"
|
|
281
|
+
},
|
|
282
|
+
footer: {
|
|
283
|
+
creditInfo: "積分信息",
|
|
284
|
+
memberInfo: "會員信息",
|
|
285
|
+
feedmeDeliveryInfo: "Feedme 配送信息",
|
|
286
|
+
deliveryInfo: "配送信息",
|
|
287
|
+
pickupInfo: "自取信息"
|
|
288
|
+
},
|
|
289
|
+
preview: {
|
|
290
|
+
title: "POS 收據"
|
|
291
|
+
},
|
|
292
|
+
orderId: "訂單 {slot}",
|
|
293
|
+
invoiceNo: "發票號",
|
|
294
|
+
date: "日期",
|
|
295
|
+
cashier: "收銀員",
|
|
296
|
+
tablePax: "桌號",
|
|
297
|
+
total: "總計"
|
|
298
|
+
},
|
|
299
|
+
preview: {
|
|
300
|
+
fullSizePreview: "全屏預覽"
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}, O = {
|
|
304
|
+
transaction: B
|
|
244
305
|
}, p = "$transaction-receipt", L = [
|
|
245
306
|
{
|
|
246
307
|
path: "/",
|
|
@@ -249,16 +310,17 @@ const F = /* @__PURE__ */ m({
|
|
|
249
310
|
{
|
|
250
311
|
path: "/receipt",
|
|
251
312
|
name: p,
|
|
252
|
-
component: u(() => import("./Receipt-
|
|
313
|
+
component: u(() => import("./Receipt-BE-oLTGy.js").then((e) => e.R))
|
|
253
314
|
}
|
|
254
|
-
],
|
|
255
|
-
"en-US":
|
|
256
|
-
"zh-CN":
|
|
257
|
-
"th-TH": A
|
|
258
|
-
|
|
315
|
+
], U = {
|
|
316
|
+
"en-US": k,
|
|
317
|
+
"zh-CN": $,
|
|
318
|
+
"th-TH": A,
|
|
319
|
+
"zh-Hant": O
|
|
320
|
+
}, V = u(() => import("./App-DuAkcPbf.js"));
|
|
259
321
|
export {
|
|
260
|
-
|
|
322
|
+
V as F,
|
|
261
323
|
F as _,
|
|
262
|
-
|
|
324
|
+
U as i,
|
|
263
325
|
L as r
|
|
264
326
|
};
|
package/dist/app.js
CHANGED
|
@@ -186,6 +186,68 @@ export declare const i18nMessages: {
|
|
|
186
186
|
};
|
|
187
187
|
};
|
|
188
188
|
};
|
|
189
|
+
"zh-Hant": {
|
|
190
|
+
transaction: {
|
|
191
|
+
title: string;
|
|
192
|
+
receipt: {
|
|
193
|
+
title: string;
|
|
194
|
+
actions: {
|
|
195
|
+
viewDetails: string;
|
|
196
|
+
refreshPayment: string;
|
|
197
|
+
};
|
|
198
|
+
export: {
|
|
199
|
+
pdf: string;
|
|
200
|
+
excel: string;
|
|
201
|
+
noReceipts: string;
|
|
202
|
+
success: string;
|
|
203
|
+
export: string;
|
|
204
|
+
};
|
|
205
|
+
columns: {
|
|
206
|
+
receipt: string;
|
|
207
|
+
table: string;
|
|
208
|
+
paymentMethod: string;
|
|
209
|
+
createdAt: string;
|
|
210
|
+
completed: string;
|
|
211
|
+
status: string;
|
|
212
|
+
total: string;
|
|
213
|
+
};
|
|
214
|
+
search: {
|
|
215
|
+
placeholder: string;
|
|
216
|
+
};
|
|
217
|
+
labels: {
|
|
218
|
+
receipt: string;
|
|
219
|
+
};
|
|
220
|
+
detail: {
|
|
221
|
+
title: string;
|
|
222
|
+
tabs: {
|
|
223
|
+
receipt: string;
|
|
224
|
+
activity: string;
|
|
225
|
+
orderRecords: string;
|
|
226
|
+
transaction: string;
|
|
227
|
+
};
|
|
228
|
+
footer: {
|
|
229
|
+
creditInfo: string;
|
|
230
|
+
memberInfo: string;
|
|
231
|
+
feedmeDeliveryInfo: string;
|
|
232
|
+
deliveryInfo: string;
|
|
233
|
+
pickupInfo: string;
|
|
234
|
+
};
|
|
235
|
+
preview: {
|
|
236
|
+
title: string;
|
|
237
|
+
};
|
|
238
|
+
orderId: string;
|
|
239
|
+
invoiceNo: string;
|
|
240
|
+
date: string;
|
|
241
|
+
cashier: string;
|
|
242
|
+
tablePax: string;
|
|
243
|
+
total: string;
|
|
244
|
+
};
|
|
245
|
+
preview: {
|
|
246
|
+
fullSizePreview: string;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
};
|
|
189
251
|
};
|
|
190
252
|
export declare const FmApp: any;
|
|
191
253
|
export { routers } from "@/router/shared";
|