@feedmepos/mf-order-setting 0.0.101 → 0.0.102
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-B0OFPhT_.js → DisplaySystemView-jnt6letY.js} +4 -4
- package/dist/{FoodCourtInvitationsView-B334lj_D.js → FoodCourtInvitationsView-DoynqFWB.js} +4 -4
- package/dist/{FoodCourtOrderSettingsView-DEYQ6O7B.js → FoodCourtOrderSettingsView-DYZLhTHy.js} +1 -1
- package/dist/{FoodCourtOrdersView-kt9JfcJs.js → FoodCourtOrdersView-CAPOycT3.js} +3 -3
- package/dist/{FoodCourtStallsView-ptDjHESk.js → FoodCourtStallsView-CRMTt5BB.js} +2 -2
- package/dist/{FoodCourtStatusView-CjNnTpE5.js → FoodCourtStatusView-C-b-eI-8.js} +1 -1
- package/dist/{KioskDevicesView-BQhgFAGI.js → KioskDevicesView-B0U9JxRl.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-Dt3ShVeD.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-V3ai4FVI.js} +5 -5
- package/dist/{KioskSettingView-BUXtHLZR.js → KioskSettingView-rdom_aS8.js} +3 -3
- package/dist/{KioskView-5qVlW-kC.js → KioskView-DOON9zR6.js} +6 -6
- package/dist/{OrderSettingsView-BI9fe4ks.js → OrderSettingsView-BBCnekaj.js} +1300 -1302
- package/dist/{RestaurantSelector.vue_vue_type_script_setup_true_lang-BXLhWx3Z.js → RestaurantSelector.vue_vue_type_script_setup_true_lang-DjoTyV6m.js} +1 -1
- package/dist/{app-DCKPiyKq.js → app-Dvk30CIa.js} +11 -11
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-D7WjNGf-.js → dayjs.min-DUFHhM7O.js} +1 -1
- package/dist/{featureFlag-Dr-_Iams.js → featureFlag-BvcirzHS.js} +1 -1
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-DuWgIluk.js → index-C4n5H7t3.js} +1 -1
- package/dist/{index-cDKD4gwv.js → index-C5n6lil6.js} +2 -2
- package/dist/{index-4UdKsfrs.js → index-CGxCWKHB.js} +4 -4
- package/dist/{index-DWbgaGih.js → index-CW4VlFWz.js} +1 -1
- package/dist/{index-DKUkKt64.js → index-CaHG3M7C.js} +1 -1
- package/dist/{index-DctLjb3F.js → index-ILnighyU.js} +1 -1
- package/dist/{order.dto-CGpR_O3X.js → order.dto-Cb_gh3iB.js} +2 -2
- package/package.json +1 -1
- package/src/views/order-settings/reservation/ReservationSetting.vue +702 -715
- package/src/views/order-settings/reservation/reservation-pos-note.spec.ts +2 -2
|
@@ -4,7 +4,7 @@ import { describe, expect, it } from 'vitest'
|
|
|
4
4
|
|
|
5
5
|
import { RESERVATION_MIN_POS_VERSION } from '../dine-in/reservation-pos'
|
|
6
6
|
|
|
7
|
-
// ITS-002856: the Reservation tab says, above "
|
|
7
|
+
// ITS-002856: the Reservation tab says, above "Online booking", that reservations need
|
|
8
8
|
// POS v8 8.0.2 or later on the Main POS, in the warning style of the time-based rule note.
|
|
9
9
|
const page = readFileSync(resolve(__dirname, 'ReservationSetting.vue'), 'utf8')
|
|
10
10
|
const locales = ['en-US', 'ja-JP', 'th-TH', 'zh-CN'].map((name) => ({
|
|
@@ -26,7 +26,7 @@ describe('ITS-002856: the reservation POS note', () => {
|
|
|
26
26
|
it('sits above the switch as a warning, with the shared minimum version', () => {
|
|
27
27
|
const note = page.indexOf("t('order.reservationNeedsPosV8', { min: RESERVATION_MIN_POS_VERSION })")
|
|
28
28
|
expect(note).toBeGreaterThan(-1)
|
|
29
|
-
expect(note).toBeLessThan(page.indexOf("'
|
|
29
|
+
expect(note).toBeLessThan(page.indexOf("'Online booking'"))
|
|
30
30
|
expect(page.slice(page.lastIndexOf('<FmHelperText', note), note)).toContain(":state=\"'warning'\"")
|
|
31
31
|
})
|
|
32
32
|
|