@feedmepos/mf-order-setting 0.0.93 → 0.0.94
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/{DisplaySystemView-BMRCs7o8.js → DisplaySystemView-Doh1JUoe.js} +3 -3
- package/dist/{KioskDevicesView-BCZOqou3.js → KioskDevicesView-DvUq9eFa.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-4wFO9co5.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-Ce-CHsOK.js} +3 -3
- package/dist/{KioskSettingView-DIvpRwFV.js → KioskSettingView-Ba1sLolg.js} +3 -3
- package/dist/{KioskView-w4txC9m2.js → KioskView-CeKSWYbI.js} +5 -5
- package/dist/{OrderSettingsView-BPuBA2QC.js → OrderSettingsView-CdxkPS_V.js} +17715 -17601
- package/dist/{app-xZAaURng.js → app-BQ0W0_dt.js} +289 -241
- package/dist/app.js +1 -1
- package/dist/{featureFlag-Cbj0uMaM.js → featureFlag-C4gAe_F4.js} +1 -1
- package/dist/frontend/mf-order/src/api/native-app/index.d.ts +2 -0
- package/dist/frontend/mf-order/src/app.d.ts +48 -0
- package/dist/frontend/mf-order/src/main.d.ts +48 -0
- package/dist/frontend/mf-order/src/views/order-settings/components/push-availability.d.ts +13 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-BAFwfvqv.js → index-BFJ4YEfL.js} +2 -2
- package/dist/{index-BxQKdXyN.js → index-CGiJXVU3.js} +1 -1
- package/dist/{index-Cipbdi6i.js → index-DSB009Br.js} +1 -1
- package/dist/{order.dto-yLICIGDQ.js → order.dto-CUp8zhQC.js} +18 -18
- package/dist/package/entity/order-platform/tng/tng-menu.do.d.ts +74 -74
- package/package.json +1 -1
- package/src/api/native-app/index.ts +26 -0
- package/src/api/native-app/native-app.spec.ts +42 -0
- package/src/locales/en-US.json +12 -0
- package/src/locales/ja-JP.json +12 -0
- package/src/locales/th-TH.json +12 -0
- package/src/locales/zh-CN.json +12 -0
- package/src/views/order-settings/components/NotifyChannelEditor.spec.ts +184 -0
- package/src/views/order-settings/components/NotifyChannelEditor.vue +84 -5
- package/src/views/order-settings/components/push-availability.spec.ts +59 -0
- package/src/views/order-settings/components/push-availability.ts +78 -0
- package/src/views/order-settings/queue/QueueSetting.vue +7 -0
- package/src/views/order-settings/sms/SmsSetting.vue +11 -0
package/dist/app.js
CHANGED
|
@@ -2,7 +2,7 @@ var le = Object.defineProperty;
|
|
|
2
2
|
var ue = (S, c, v) => c in S ? le(S, c, { enumerable: !0, configurable: !0, writable: !0, value: v }) : S[c] = v;
|
|
3
3
|
var ot = (S, c, v) => ue(S, typeof c != "symbol" ? c + "" : c, v);
|
|
4
4
|
import { readonly as Pt, ref as Ut } from "vue";
|
|
5
|
-
import { c as st } from "./app-
|
|
5
|
+
import { c as st } from "./app-BQ0W0_dt.js";
|
|
6
6
|
const _e = (S, c) => {
|
|
7
7
|
const v = S.__vccOpts || S;
|
|
8
8
|
for (const [d, s] of c)
|
|
@@ -506,6 +506,18 @@ export declare const i18nMessages: {
|
|
|
506
506
|
hint: string;
|
|
507
507
|
add: string;
|
|
508
508
|
pushNote: string;
|
|
509
|
+
pushInRoute: string;
|
|
510
|
+
pushAvailability: {
|
|
511
|
+
checking: string;
|
|
512
|
+
requiresNativeApp: string;
|
|
513
|
+
unavailable: string;
|
|
514
|
+
contactSales: string;
|
|
515
|
+
dialogMessage: string;
|
|
516
|
+
retry: string;
|
|
517
|
+
removePush: string;
|
|
518
|
+
removeBeforeSave: string;
|
|
519
|
+
close: string;
|
|
520
|
+
};
|
|
509
521
|
alongside: string;
|
|
510
522
|
everyone: string;
|
|
511
523
|
member: string;
|
|
@@ -1669,6 +1681,18 @@ export declare const i18nMessages: {
|
|
|
1669
1681
|
hint: string;
|
|
1670
1682
|
add: string;
|
|
1671
1683
|
pushNote: string;
|
|
1684
|
+
pushInRoute: string;
|
|
1685
|
+
pushAvailability: {
|
|
1686
|
+
checking: string;
|
|
1687
|
+
requiresNativeApp: string;
|
|
1688
|
+
unavailable: string;
|
|
1689
|
+
contactSales: string;
|
|
1690
|
+
dialogMessage: string;
|
|
1691
|
+
retry: string;
|
|
1692
|
+
removePush: string;
|
|
1693
|
+
removeBeforeSave: string;
|
|
1694
|
+
close: string;
|
|
1695
|
+
};
|
|
1672
1696
|
alongside: string;
|
|
1673
1697
|
everyone: string;
|
|
1674
1698
|
member: string;
|
|
@@ -2810,6 +2834,18 @@ export declare const i18nMessages: {
|
|
|
2810
2834
|
hint: string;
|
|
2811
2835
|
add: string;
|
|
2812
2836
|
pushNote: string;
|
|
2837
|
+
pushInRoute: string;
|
|
2838
|
+
pushAvailability: {
|
|
2839
|
+
checking: string;
|
|
2840
|
+
requiresNativeApp: string;
|
|
2841
|
+
unavailable: string;
|
|
2842
|
+
contactSales: string;
|
|
2843
|
+
dialogMessage: string;
|
|
2844
|
+
retry: string;
|
|
2845
|
+
removePush: string;
|
|
2846
|
+
removeBeforeSave: string;
|
|
2847
|
+
close: string;
|
|
2848
|
+
};
|
|
2813
2849
|
alongside: string;
|
|
2814
2850
|
everyone: string;
|
|
2815
2851
|
member: string;
|
|
@@ -3694,6 +3730,18 @@ export declare const i18nMessages: {
|
|
|
3694
3730
|
hint: string;
|
|
3695
3731
|
add: string;
|
|
3696
3732
|
pushNote: string;
|
|
3733
|
+
pushInRoute: string;
|
|
3734
|
+
pushAvailability: {
|
|
3735
|
+
checking: string;
|
|
3736
|
+
requiresNativeApp: string;
|
|
3737
|
+
unavailable: string;
|
|
3738
|
+
contactSales: string;
|
|
3739
|
+
dialogMessage: string;
|
|
3740
|
+
retry: string;
|
|
3741
|
+
removePush: string;
|
|
3742
|
+
removeBeforeSave: string;
|
|
3743
|
+
close: string;
|
|
3744
|
+
};
|
|
3697
3745
|
alongside: string;
|
|
3698
3746
|
everyone: string;
|
|
3699
3747
|
member: string;
|
|
@@ -505,6 +505,18 @@ export declare const i18nMessages: {
|
|
|
505
505
|
hint: string;
|
|
506
506
|
add: string;
|
|
507
507
|
pushNote: string;
|
|
508
|
+
pushInRoute: string;
|
|
509
|
+
pushAvailability: {
|
|
510
|
+
checking: string;
|
|
511
|
+
requiresNativeApp: string;
|
|
512
|
+
unavailable: string;
|
|
513
|
+
contactSales: string;
|
|
514
|
+
dialogMessage: string;
|
|
515
|
+
retry: string;
|
|
516
|
+
removePush: string;
|
|
517
|
+
removeBeforeSave: string;
|
|
518
|
+
close: string;
|
|
519
|
+
};
|
|
508
520
|
alongside: string;
|
|
509
521
|
everyone: string;
|
|
510
522
|
member: string;
|
|
@@ -1668,6 +1680,18 @@ export declare const i18nMessages: {
|
|
|
1668
1680
|
hint: string;
|
|
1669
1681
|
add: string;
|
|
1670
1682
|
pushNote: string;
|
|
1683
|
+
pushInRoute: string;
|
|
1684
|
+
pushAvailability: {
|
|
1685
|
+
checking: string;
|
|
1686
|
+
requiresNativeApp: string;
|
|
1687
|
+
unavailable: string;
|
|
1688
|
+
contactSales: string;
|
|
1689
|
+
dialogMessage: string;
|
|
1690
|
+
retry: string;
|
|
1691
|
+
removePush: string;
|
|
1692
|
+
removeBeforeSave: string;
|
|
1693
|
+
close: string;
|
|
1694
|
+
};
|
|
1671
1695
|
alongside: string;
|
|
1672
1696
|
everyone: string;
|
|
1673
1697
|
member: string;
|
|
@@ -2809,6 +2833,18 @@ export declare const i18nMessages: {
|
|
|
2809
2833
|
hint: string;
|
|
2810
2834
|
add: string;
|
|
2811
2835
|
pushNote: string;
|
|
2836
|
+
pushInRoute: string;
|
|
2837
|
+
pushAvailability: {
|
|
2838
|
+
checking: string;
|
|
2839
|
+
requiresNativeApp: string;
|
|
2840
|
+
unavailable: string;
|
|
2841
|
+
contactSales: string;
|
|
2842
|
+
dialogMessage: string;
|
|
2843
|
+
retry: string;
|
|
2844
|
+
removePush: string;
|
|
2845
|
+
removeBeforeSave: string;
|
|
2846
|
+
close: string;
|
|
2847
|
+
};
|
|
2812
2848
|
alongside: string;
|
|
2813
2849
|
everyone: string;
|
|
2814
2850
|
member: string;
|
|
@@ -3693,6 +3729,18 @@ export declare const i18nMessages: {
|
|
|
3693
3729
|
hint: string;
|
|
3694
3730
|
add: string;
|
|
3695
3731
|
pushNote: string;
|
|
3732
|
+
pushInRoute: string;
|
|
3733
|
+
pushAvailability: {
|
|
3734
|
+
checking: string;
|
|
3735
|
+
requiresNativeApp: string;
|
|
3736
|
+
unavailable: string;
|
|
3737
|
+
contactSales: string;
|
|
3738
|
+
dialogMessage: string;
|
|
3739
|
+
retry: string;
|
|
3740
|
+
removePush: string;
|
|
3741
|
+
removeBeforeSave: string;
|
|
3742
|
+
close: string;
|
|
3743
|
+
};
|
|
3696
3744
|
alongside: string;
|
|
3697
3745
|
everyone: string;
|
|
3698
3746
|
member: string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { F_ORDER_NOTIFY_CHANNEL } from '@entity';
|
|
2
|
+
export type PushAvailability = 'checking' | 'native' | 'non-native' | 'failed';
|
|
3
|
+
/**
|
|
4
|
+
* A stored push may not be saved again until the business is known to have a
|
|
5
|
+
* native app. Like Connect, "still checking" and "check failed" block too.
|
|
6
|
+
*/
|
|
7
|
+
export declare function pushBlocked(channels: F_ORDER_NOTIFY_CHANNEL[] | null | undefined, availability: PushAvailability): boolean;
|
|
8
|
+
export declare function usePushAvailability(): {
|
|
9
|
+
availability: import("vue").ComputedRef<PushAvailability>;
|
|
10
|
+
retry: () => void;
|
|
11
|
+
};
|
|
12
|
+
/** Tests only: forget every answer. */
|
|
13
|
+
export declare function resetPushAvailability(): void;
|