@feedmepos/mf-order-setting 0.0.96 → 0.0.97

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 (34) hide show
  1. package/dist/{DisplaySystemView-BH8SkCOF.js → DisplaySystemView-CxzAm858.js} +4 -4
  2. package/dist/{FoodCourtInvitationsView-3cA0Z-5m.js → FoodCourtInvitationsView-6IJ_90WH.js} +3 -3
  3. package/dist/{FoodCourtOrderSettingsView-DysrLZJD.js → FoodCourtOrderSettingsView-tuN-AjyH.js} +1 -1
  4. package/dist/{FoodCourtOrdersView-CbZqHIXO.js → FoodCourtOrdersView-BZDV86qZ.js} +3 -3
  5. package/dist/{FoodCourtStallsView-CTZzPUQ6.js → FoodCourtStallsView-C81eYjyf.js} +2 -2
  6. package/dist/{FoodCourtStatusView-C71y7ghx.js → FoodCourtStatusView-CIzXFmpX.js} +1 -1
  7. package/dist/{KioskDevicesView-BJpbuSzp.js → KioskDevicesView-B9_5ynuL.js} +1 -1
  8. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-CQFpwn28.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-Bbvhl393.js} +5 -5
  9. package/dist/{KioskSettingView-CJxhMf7N.js → KioskSettingView-BgAH6D4b.js} +3 -3
  10. package/dist/{KioskView-BZsdRID1.js → KioskView-bVLcdUIs.js} +6 -6
  11. package/dist/{OrderSettingsView-gnyXaJjf.js → OrderSettingsView-DFCvkYlF.js} +14891 -14867
  12. package/dist/{app-CeEFBB-w.js → app-CXM7Y8ue.js} +923 -919
  13. package/dist/app.js +1 -1
  14. package/dist/{dayjs.min-zBHHlxAP.js → dayjs.min-BL2ytaWE.js} +1 -1
  15. package/dist/{featureFlag-BTY_R78k.js → featureFlag-DG1avUtJ.js} +1 -1
  16. package/dist/frontend/mf-order/src/app.d.ts +12 -8
  17. package/dist/frontend/mf-order/src/main.d.ts +12 -8
  18. package/dist/frontend/mf-order/src/views/order-settings/queue/auto-cancel-minutes.d.ts +9 -0
  19. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  20. package/dist/{index-D5nv3ncu.js → index-Bkqum66F.js} +2 -2
  21. package/dist/{index-601eG3_R.js → index-BzCugL7s.js} +1 -1
  22. package/dist/{index-BtudnkMi.js → index-C10eL5h0.js} +1 -1
  23. package/dist/{index-DLDihONy.js → index-C6PdYrNb.js} +1 -1
  24. package/dist/{index-CGiWgTn1.js → index-CqjGIBhA.js} +4 -4
  25. package/dist/{index-BeBZTUcq.js → index-DNaVtem4.js} +1 -1
  26. package/dist/{order.dto-JM_fmWnQ.js → order.dto-BVxGQISl.js} +2 -2
  27. package/package.json +1 -1
  28. package/src/locales/en-US.json +3 -2
  29. package/src/locales/ja-JP.json +3 -2
  30. package/src/locales/th-TH.json +3 -2
  31. package/src/locales/zh-CN.json +3 -2
  32. package/src/views/order-settings/queue/QueueSetting.vue +47 -17
  33. package/src/views/order-settings/queue/auto-cancel-minutes.spec.ts +44 -0
  34. package/src/views/order-settings/queue/auto-cancel-minutes.ts +20 -0
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as e, x as r, y as o } from "./app-CeEFBB-w.js";
1
+ import { _ as e, x as r, y as o } from "./app-CXM7Y8ue.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { c as R, g as K } from "./app-CeEFBB-w.js";
1
+ import { c as R, g as K } from "./app-CXM7Y8ue.js";
2
2
  var N = { exports: {} }, E;
3
3
  function X() {
4
4
  return E || (E = 1, function(V, et) {
@@ -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-CeEFBB-w.js";
5
+ import { c as st } from "./app-CXM7Y8ue.js";
6
6
  const _e = (S, c) => {
7
7
  const v = S.__vccOpts || S;
8
8
  for (const [d, s] of c)
@@ -292,8 +292,9 @@ export declare const i18nMessages: {
292
292
  externalCatalogRequired: string;
293
293
  auto: string;
294
294
  autoCalledLimit: string;
295
- autoCancelCalledMinutes: string;
296
- autoCancelCalledMinutesHint: string;
295
+ autoCancelCalledMinutesRule: string;
296
+ autoCancelCalledQueue: string;
297
+ autoCancelCalledQueueDescription: string;
297
298
  autoCloseBill: string;
298
299
  autoCloseBillSublabel: string;
299
300
  autoIntegration: string;
@@ -1986,8 +1987,9 @@ export declare const i18nMessages: {
1986
1987
  queueSettings: string;
1987
1988
  enableQueueOrder: string;
1988
1989
  autoCalledLimit: string;
1989
- autoCancelCalledMinutes: string;
1990
- autoCancelCalledMinutesHint: string;
1990
+ autoCancelCalledMinutesRule: string;
1991
+ autoCancelCalledQueue: string;
1992
+ autoCancelCalledQueueDescription: string;
1991
1993
  duration: string;
1992
1994
  disableRemoteQueue: string;
1993
1995
  allowOverrideQueueCode: string;
@@ -3334,8 +3336,9 @@ export declare const i18nMessages: {
3334
3336
  queueSettings: string;
3335
3337
  enableQueueOrder: string;
3336
3338
  autoCalledLimit: string;
3337
- autoCancelCalledMinutes: string;
3338
- autoCancelCalledMinutesHint: string;
3339
+ autoCancelCalledMinutesRule: string;
3340
+ autoCancelCalledQueue: string;
3341
+ autoCancelCalledQueueDescription: string;
3339
3342
  duration: string;
3340
3343
  disableRemoteQueue: string;
3341
3344
  allowOverrideQueueCode: string;
@@ -4417,8 +4420,9 @@ export declare const i18nMessages: {
4417
4420
  queueSettings: string;
4418
4421
  enableQueueOrder: string;
4419
4422
  autoCalledLimit: string;
4420
- autoCancelCalledMinutes: string;
4421
- autoCancelCalledMinutesHint: string;
4423
+ autoCancelCalledMinutesRule: string;
4424
+ autoCancelCalledQueue: string;
4425
+ autoCancelCalledQueueDescription: string;
4422
4426
  duration: string;
4423
4427
  disableRemoteQueue: string;
4424
4428
  allowOverrideQueueCode: string;
@@ -291,8 +291,9 @@ export declare const i18nMessages: {
291
291
  externalCatalogRequired: string;
292
292
  auto: string;
293
293
  autoCalledLimit: string;
294
- autoCancelCalledMinutes: string;
295
- autoCancelCalledMinutesHint: string;
294
+ autoCancelCalledMinutesRule: string;
295
+ autoCancelCalledQueue: string;
296
+ autoCancelCalledQueueDescription: string;
296
297
  autoCloseBill: string;
297
298
  autoCloseBillSublabel: string;
298
299
  autoIntegration: string;
@@ -1985,8 +1986,9 @@ export declare const i18nMessages: {
1985
1986
  queueSettings: string;
1986
1987
  enableQueueOrder: string;
1987
1988
  autoCalledLimit: string;
1988
- autoCancelCalledMinutes: string;
1989
- autoCancelCalledMinutesHint: string;
1989
+ autoCancelCalledMinutesRule: string;
1990
+ autoCancelCalledQueue: string;
1991
+ autoCancelCalledQueueDescription: string;
1990
1992
  duration: string;
1991
1993
  disableRemoteQueue: string;
1992
1994
  allowOverrideQueueCode: string;
@@ -3333,8 +3335,9 @@ export declare const i18nMessages: {
3333
3335
  queueSettings: string;
3334
3336
  enableQueueOrder: string;
3335
3337
  autoCalledLimit: string;
3336
- autoCancelCalledMinutes: string;
3337
- autoCancelCalledMinutesHint: string;
3338
+ autoCancelCalledMinutesRule: string;
3339
+ autoCancelCalledQueue: string;
3340
+ autoCancelCalledQueueDescription: string;
3338
3341
  duration: string;
3339
3342
  disableRemoteQueue: string;
3340
3343
  allowOverrideQueueCode: string;
@@ -4416,8 +4419,9 @@ export declare const i18nMessages: {
4416
4419
  queueSettings: string;
4417
4420
  enableQueueOrder: string;
4418
4421
  autoCalledLimit: string;
4419
- autoCancelCalledMinutes: string;
4420
- autoCancelCalledMinutesHint: string;
4422
+ autoCancelCalledMinutesRule: string;
4423
+ autoCancelCalledQueue: string;
4424
+ autoCancelCalledQueueDescription: string;
4421
4425
  duration: string;
4422
4426
  disableRemoteQueue: string;
4423
4427
  allowOverrideQueueCode: string;
@@ -0,0 +1,9 @@
1
+ /** Minutes a fresh auto-cancel starts at: Gepuklah's calls are usually seated within an hour (ITS-002481). */
2
+ export declare const AUTO_CANCEL_DEFAULT_MINUTES = 60;
3
+ /** The range queue-backend's timer takes: at least a minute, at most a day. */
4
+ export declare const AUTO_CANCEL_MIN_MINUTES = 1;
5
+ export declare const AUTO_CANCEL_MAX_MINUTES = 1440;
6
+ /** On when a positive number of minutes is stored; 0, null and absent all mean off, as on the server. */
7
+ export declare function isAutoCancelOn(minutes: number | null | undefined): boolean;
8
+ /** Whether `minutes` can be saved while auto-cancel is on: a whole number from 1 to 1440. */
9
+ export declare function isAutoCancelMinutesValid(minutes: number | null | undefined): boolean;